[2026-08-19 00:00:11] local.INFO: TCP Data received {"connection_id":157254,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:00:11] local.INFO: Processing buffer {"connection_id":157254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:00:11] local.INFO: IMEI packet received {"connection_id":157254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":157254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:00:16] local.INFO: TCP Data received {"connection_id":157254,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:00:16] local.INFO: Processing buffer {"connection_id":157254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:00:16] local.INFO: IMEI packet received {"connection_id":157254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":157254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:00:17] local.INFO: TCP Data received {"connection_id":157254,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01620f5f0012cdf0f00072856b8000600902f..."} 
[2026-08-19 00:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01620f5f0012cdf0f00072856b8000600902f..."} 
[2026-08-19 00:00:17] local.INFO: Processing buffer {"connection_id":157254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01620f5f0012cdf0f00072856b8000600902f..."} 
[2026-08-19 00:00:17] local.INFO: Packet analysis {"connection_id":157254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01620"} 
[2026-08-19 00:00:17] local.INFO: Extracted packet for processing {"connection_id":157254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01620"} 
[2026-08-19 00:00:17] local.INFO: GPS Element Parsed {"raw_longitude":752815872,"raw_latitude":120084152,"longitude_deg":75.2815872,"latitude_deg":12.0084152,"altitude":6,"angle":144,"satellites":47,"speed":31,"hex_longitude":"2cdf0f00","hex_latitude":"072856b8","is_valid_coordinates":true} 
[2026-08-19 00:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457491876608001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384842203731591168,"note":"Value kept but may cause issues"} 
[2026-08-19 00:00:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2379448684880039936,"note":"Value kept but may cause issues"} 
[2026-08-19 00:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787077654000,"timestamp_ms":1787077654000,"timestamp_seconds":1787077654,"priority":1,"record_length":96,"hex_timestamp":"000001a01620f5f0"} 
[2026-08-19 00:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:00: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-08-19 00:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 00:00:17] 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-08-19 00:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457491876608001,"66":27376,"54":206,"83":40960,"24":31,"16":384842203731591168,"44":-2379448684880039936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-08-19 00:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457491876608001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:00:17] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-19 00:00:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-19 00:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384842203731591168,"km_value":384842203731591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:00:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2379448684880039936,"description":"Unknown IO ID 44"} 
[2026-08-19 00:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457491876608001,"power":27376,"unknown_54":206,"unknown_83":40960,"ignition":31,"odometer":null,"unknown_44":-2379448684880039936}} 
[2026-08-19 00:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":157254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:00:17] local.INFO: GPS data processed {"connection_id":157254,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:00:17] local.INFO: Acknowledgment sent {"connection_id":157254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:00:17] local.INFO: TCP Data received {"connection_id":157254,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0162124d0012cdf2480072837e8000600912e..."} 
[2026-08-19 00:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162124d0012cdf2480072837e8000600912e..."} 
[2026-08-19 00:00:17] local.INFO: Processing buffer {"connection_id":157254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162124d0012cdf2480072837e8000600912e..."} 
[2026-08-19 00:00:17] local.INFO: Packet analysis {"connection_id":157254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01621"} 
[2026-08-19 00:00:17] local.INFO: Extracted packet for processing {"connection_id":157254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01621"} 
[2026-08-19 00:00:17] local.INFO: GPS Element Parsed {"raw_longitude":752821376,"raw_latitude":120076264,"longitude_deg":75.2821376,"latitude_deg":12.0076264,"altitude":6,"angle":145,"satellites":46,"speed":31,"hex_longitude":"2cdf2480","hex_latitude":"072837e8","is_valid_coordinates":true} 
[2026-08-19 00:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457491879424001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384842667588059136,"note":"Value kept but may cause issues"} 
[2026-08-19 00:00:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2373678447859419136,"note":"Value kept but may cause issues"} 
[2026-08-19 00:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787077666000,"timestamp_ms":1787077666000,"timestamp_seconds":1787077666,"priority":1,"record_length":96,"hex_timestamp":"000001a0162124d0"} 
[2026-08-19 00:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:00: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-08-19 00:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 00:00:17] 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-08-19 00:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457491879424001,"66":27365,"54":206,"83":40960,"24":31,"16":384842667588059136,"44":-2373678447859419136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-08-19 00:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457491879424001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:00:17] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-19 00:00:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-08-19 00:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384842667588059136,"km_value":384842667588059.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:00:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2373678447859419136,"description":"Unknown IO ID 44"} 
[2026-08-19 00:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457491879424001,"power":27365,"unknown_54":206,"unknown_83":40960,"ignition":31,"odometer":null,"unknown_44":-2373678447859419136}} 
[2026-08-19 00:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":157254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:00:17] local.INFO: GPS data processed {"connection_id":157254,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:00:17] local.INFO: Acknowledgment sent {"connection_id":157254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:00:59] local.INFO: TCP Data received {"connection_id":157617,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:00:59] local.INFO: Processing buffer {"connection_id":157617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:00:59] local.INFO: IMEI packet received {"connection_id":157617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":157617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:01:01] local.INFO: TCP Data received {"connection_id":157617,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:01:01] local.INFO: Processing buffer {"connection_id":157617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:01:01] local.INFO: IMEI packet received {"connection_id":157617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":157617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:01:05] local.INFO: TCP Data received {"connection_id":157617,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:01:05] local.INFO: Processing buffer {"connection_id":157617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:01:05] local.INFO: IMEI packet received {"connection_id":157617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":157617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:01:06] local.INFO: TCP Data received {"connection_id":157617,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016232488012ce033800726e7c8000800832d..."} 
[2026-08-19 00:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016232488012ce033800726e7c8000800832d..."} 
[2026-08-19 00:01:06] local.INFO: Processing buffer {"connection_id":157617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016232488012ce033800726e7c8000800832d..."} 
[2026-08-19 00:01:06] local.INFO: Packet analysis {"connection_id":157617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01623"} 
[2026-08-19 00:01:06] local.INFO: Extracted packet for processing {"connection_id":157617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01623"} 
[2026-08-19 00:01:06] local.INFO: GPS Element Parsed {"raw_longitude":752890752,"raw_latitude":119990216,"longitude_deg":75.2890752,"latitude_deg":11.9990216,"altitude":8,"angle":131,"satellites":45,"speed":36,"hex_longitude":"2ce03380","hex_latitude":"0726e7c8","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457491913984001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384847989052538880,"note":"Value kept but may cause issues"} 
[2026-08-19 00:01:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2296695041751617536,"note":"Value kept but may cause issues"} 
[2026-08-19 00:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787077797000,"timestamp_ms":1787077797000,"timestamp_seconds":1787077797,"priority":1,"record_length":96,"hex_timestamp":"000001a016232488"} 
[2026-08-19 00:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:01: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-08-19 00:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 00:01:06] 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-08-19 00: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-08-19 00:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457491913984001,"66":27213,"151":206,"83":43008,"24":36,"16":384847989052538880,"44":-2296695041751617536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-08-19 00:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457491913984001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:01:06] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-19 00:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384847989052538880,"km_value":384847989052538.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:01:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2296695041751617536,"description":"Unknown IO ID 44"} 
[2026-08-19 00:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457491913984001,"power":27213,"unknown_151":206,"unknown_83":43008,"ignition":36,"odometer":null,"unknown_44":-2296695041751617536}} 
[2026-08-19 00:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":157617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:01:06] local.INFO: GPS data processed {"connection_id":157617,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:01:06] local.INFO: Acknowledgment sent {"connection_id":157617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:01:37] local.INFO: TCP Data received {"connection_id":157617,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016233040012ce03c400726e1f8000800772d..."} 
[2026-08-19 00:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016233040012ce03c400726e1f8000800772d..."} 
[2026-08-19 00:01:37] local.INFO: Processing buffer {"connection_id":157617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016233040012ce03c400726e1f8000800772d..."} 
[2026-08-19 00:01:37] local.INFO: Packet analysis {"connection_id":157617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01623"} 
[2026-08-19 00:01:37] local.INFO: Extracted packet for processing {"connection_id":157617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01623"} 
[2026-08-19 00:01:37] local.INFO: GPS Element Parsed {"raw_longitude":752892992,"raw_latitude":119988728,"longitude_deg":75.2892992,"latitude_deg":11.9988728,"altitude":8,"angle":119,"satellites":45,"speed":32,"hex_longitude":"2ce03c40","hex_latitude":"0726e1f8","is_valid_coordinates":true} 
[2026-08-19 00:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457491916032001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384848117901557760,"note":"Value kept but may cause issues"} 
[2026-08-19 00:01:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2291347017195599872,"note":"Value kept but may cause issues"} 
[2026-08-19 00:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787077800000,"timestamp_ms":1787077800000,"timestamp_seconds":1787077800,"priority":1,"record_length":96,"hex_timestamp":"000001a016233040"} 
[2026-08-19 00:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 00:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 00:01:37] 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-08-19 00:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457491916032001,"66":27234,"151":206,"83":43008,"24":32,"16":384848117901557760,"44":-2291347017195599872},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-08-19 00:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457491916032001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:01:37] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-19 00:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384848117901557760,"km_value":384848117901557.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:01:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2291347017195599872,"description":"Unknown IO ID 44"} 
[2026-08-19 00:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457491916032001,"power":27234,"unknown_151":206,"unknown_83":43008,"ignition":32,"odometer":null,"unknown_44":-2291347017195599872}} 
[2026-08-19 00:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":157617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:01:37] local.INFO: GPS data processed {"connection_id":157617,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:01:37] local.INFO: Acknowledgment sent {"connection_id":157617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:01:58] local.INFO: TCP Data received {"connection_id":157255,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:01:58] local.INFO: Processing buffer {"connection_id":157255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:01:58] local.INFO: IMEI packet received {"connection_id":157255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":157255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:02:01] local.INFO: TCP Data received {"connection_id":157255,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:02:01] local.INFO: Processing buffer {"connection_id":157255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:02:01] local.INFO: IMEI packet received {"connection_id":157255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":157255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:02:06] local.INFO: TCP Data received {"connection_id":157255,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:02:06] local.INFO: Processing buffer {"connection_id":157255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:02:06] local.INFO: IMEI packet received {"connection_id":157255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":157255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:02:07] local.INFO: TCP Data received {"connection_id":157255,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0162347b0012ce04d800726dab00008006b2d..."} 
[2026-08-19 00:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162347b0012ce04d800726dab00008006b2d..."} 
[2026-08-19 00:02:07] local.INFO: Processing buffer {"connection_id":157255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162347b0012ce04d800726dab00008006b2d..."} 
[2026-08-19 00:02:07] local.INFO: Packet analysis {"connection_id":157255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01623"} 
[2026-08-19 00:02:07] local.INFO: Extracted packet for processing {"connection_id":157255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01623"} 
[2026-08-19 00:02:07] local.INFO: GPS Element Parsed {"raw_longitude":752897408,"raw_latitude":119986864,"longitude_deg":75.2897408,"latitude_deg":11.9986864,"altitude":8,"angle":107,"satellites":45,"speed":31,"hex_longitude":"2ce04d80","hex_latitude":"0726dab0","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457491916800001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384848345534824448,"note":"Value kept but may cause issues"} 
[2026-08-19 00:02:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2288884111149762560,"note":"Value kept but may cause issues"} 
[2026-08-19 00:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787077806000,"timestamp_ms":1787077806000,"timestamp_seconds":1787077806,"priority":1,"record_length":96,"hex_timestamp":"000001a0162347b0"} 
[2026-08-19 00:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 00:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 00:02:07] 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-08-19 00: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-08-19 00:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457491916800001,"66":27343,"151":206,"83":43008,"24":31,"16":384848345534824448,"44":-2288884111149762560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-08-19 00:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457491916800001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:02:07] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-19 00:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384848345534824448,"km_value":384848345534824.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:02:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2288884111149762560,"description":"Unknown IO ID 44"} 
[2026-08-19 00:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457491916800001,"power":27343,"unknown_151":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-2288884111149762560}} 
[2026-08-19 00:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":157255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:02:07] local.INFO: GPS data processed {"connection_id":157255,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:02:07] local.INFO: Acknowledgment sent {"connection_id":157255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:02:38] local.INFO: TCP Data received {"connection_id":157255,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016235750012ce059800726d8880007005e2d..."} 
[2026-08-19 00:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016235750012ce059800726d8880007005e2d..."} 
[2026-08-19 00:02:38] local.INFO: Processing buffer {"connection_id":157255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016235750012ce059800726d8880007005e2d..."} 
[2026-08-19 00:02:38] local.INFO: Packet analysis {"connection_id":157255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01623"} 
[2026-08-19 00:02:38] local.INFO: Extracted packet for processing {"connection_id":157255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01623"} 
[2026-08-19 00:02:38] local.INFO: GPS Element Parsed {"raw_longitude":752900480,"raw_latitude":119986312,"longitude_deg":75.290048,"latitude_deg":11.9986312,"altitude":7,"angle":94,"satellites":45,"speed":30,"hex_longitude":"2ce05980","hex_latitude":"0726d888","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457491918336001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384848491563712512,"note":"Value kept but may cause issues"} 
[2026-08-19 00:02:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2284028667801980928,"note":"Value kept but may cause issues"} 
[2026-08-19 00:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787077810000,"timestamp_ms":1787077810000,"timestamp_seconds":1787077810,"priority":1,"record_length":96,"hex_timestamp":"000001a016235750"} 
[2026-08-19 00:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:02: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-08-19 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 00:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00: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-08-19 00:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457491918336001,"66":27245,"151":206,"83":43008,"24":30,"16":384848491563712512,"44":-2284028667801980928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-08-19 00:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457491918336001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:02:38] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-19 00:02:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384848491563712512,"km_value":384848491563712.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:02:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2284028667801980928,"description":"Unknown IO ID 44"} 
[2026-08-19 00:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457491918336001,"power":27245,"unknown_151":206,"unknown_83":43008,"ignition":30,"odometer":null,"unknown_44":-2284028667801980928}} 
[2026-08-19 00:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":157255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:02:38] local.INFO: GPS data processed {"connection_id":157255,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:02:38] local.INFO: Acknowledgment sent {"connection_id":157255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:03:01] local.INFO: TCP Data received {"connection_id":159800,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:03:01] local.INFO: Processing buffer {"connection_id":159800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:03:01] local.INFO: IMEI packet received {"connection_id":159800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":159800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:03:06] local.INFO: TCP Data received {"connection_id":159800,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:03:06] local.INFO: Processing buffer {"connection_id":159800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:03:06] local.INFO: IMEI packet received {"connection_id":159800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":159800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:03:07] local.INFO: TCP Data received {"connection_id":159800,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016238248012ce07d000726d7500007005e2d..."} 
[2026-08-19 00:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016238248012ce07d000726d7500007005e2d..."} 
[2026-08-19 00:03:07] local.INFO: Processing buffer {"connection_id":159800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016238248012ce07d000726d7500007005e2d..."} 
[2026-08-19 00:03:07] local.INFO: Packet analysis {"connection_id":159800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01623"} 
[2026-08-19 00:03:07] local.INFO: Extracted packet for processing {"connection_id":159800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01623"} 
[2026-08-19 00:03:07] local.INFO: GPS Element Parsed {"raw_longitude":752909568,"raw_latitude":119986000,"longitude_deg":75.2909568,"latitude_deg":11.9986,"altitude":7,"angle":94,"satellites":45,"speed":34,"hex_longitude":"2ce07d00","hex_latitude":"0726d750","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457491919360001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384848925355409408,"note":"Value kept but may cause issues"} 
[2026-08-19 00:03:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2280650968081594368,"note":"Value kept but may cause issues"} 
[2026-08-19 00:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787077821000,"timestamp_ms":1787077821000,"timestamp_seconds":1787077821,"priority":1,"record_length":96,"hex_timestamp":"000001a016238248"} 
[2026-08-19 00:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 00:03:07] 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-08-19 00: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-08-19 00:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457491919360001,"66":27213,"151":206,"83":43008,"24":34,"16":384848925355409408,"44":-2280650968081594368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-08-19 00:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457491919360001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:03:07] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-19 00:03:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384848925355409408,"km_value":384848925355409.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:03:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2280650968081594368,"description":"Unknown IO ID 44"} 
[2026-08-19 00:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457491919360001,"power":27213,"unknown_151":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-2280650968081594368}} 
[2026-08-19 00:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":159800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:03:07] local.INFO: GPS data processed {"connection_id":159800,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:03:07] local.INFO: Acknowledgment sent {"connection_id":159800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:03:38] local.INFO: TCP Data received {"connection_id":159800,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016255320012ce1b1c0072654280008006d2c..."} 
[2026-08-19 00:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016255320012ce1b1c0072654280008006d2c..."} 
[2026-08-19 00:03:38] local.INFO: Processing buffer {"connection_id":159800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016255320012ce1b1c0072654280008006d2c..."} 
[2026-08-19 00:03:38] local.INFO: Packet analysis {"connection_id":159800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01625"} 
[2026-08-19 00:03:38] local.INFO: Extracted packet for processing {"connection_id":159800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01625"} 
[2026-08-19 00:03:38] local.INFO: GPS Element Parsed {"raw_longitude":752988608,"raw_latitude":119952424,"longitude_deg":75.2988608,"latitude_deg":11.9952424,"altitude":8,"angle":109,"satellites":44,"speed":21,"hex_longitude":"2ce1b1c0","hex_latitude":"07265428","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457491948800001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384853057113948160,"note":"Value kept but may cause issues"} 
[2026-08-19 00:03:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2192760406611331072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787077940000,"timestamp_ms":1787077940000,"timestamp_seconds":1787077940,"priority":1,"record_length":96,"hex_timestamp":"000001a016255320"} 
[2026-08-19 00:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00: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-08-19 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 00:03:38] 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-08-19 00: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-08-19 00:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457491948800001,"66":27321,"149":206,"83":43008,"24":21,"16":384853057113948160,"44":-2192760406611331072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-08-19 00:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457491948800001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:03:38] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-19 00:03:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384853057113948160,"km_value":384853057113948.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:03:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2192760406611331072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457491948800001,"power":27321,"unknown_149":206,"unknown_83":43008,"ignition":21,"odometer":null,"unknown_44":-2192760406611331072}} 
[2026-08-19 00:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":159800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:03:38] local.INFO: GPS data processed {"connection_id":159800,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:03:38] local.INFO: Acknowledgment sent {"connection_id":159800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:04:01] local.INFO: TCP Data received {"connection_id":159801,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:04:01] local.INFO: Processing buffer {"connection_id":159801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:04:01] local.INFO: IMEI packet received {"connection_id":159801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":159801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:04:06] local.INFO: TCP Data received {"connection_id":159801,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:04:06] local.INFO: Processing buffer {"connection_id":159801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:04:06] local.INFO: IMEI packet received {"connection_id":159801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":159801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:04:07] local.INFO: TCP Data received {"connection_id":159801,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0162591a0012ce1d58007264a88000800672c..."} 
[2026-08-19 00:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162591a0012ce1d58007264a88000800672c..."} 
[2026-08-19 00:04:07] local.INFO: Processing buffer {"connection_id":159801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162591a0012ce1d58007264a88000800672c..."} 
[2026-08-19 00:04:07] local.INFO: Packet analysis {"connection_id":159801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01625"} 
[2026-08-19 00:04:07] local.INFO: Extracted packet for processing {"connection_id":159801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01625"} 
[2026-08-19 00:04:07] local.INFO: GPS Element Parsed {"raw_longitude":752997760,"raw_latitude":119949960,"longitude_deg":75.299776,"latitude_deg":11.994996,"altitude":8,"angle":103,"satellites":44,"speed":19,"hex_longitude":"2ce1d580","hex_latitude":"07264a88","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457491952640001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384853508085514240,"note":"Value kept but may cause issues"} 
[2026-08-19 00:04:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2183753207357626368,"note":"Value kept but may cause issues"} 
[2026-08-19 00:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787077956000,"timestamp_ms":1787077956000,"timestamp_seconds":1787077956,"priority":1,"record_length":96,"hex_timestamp":"000001a0162591a0"} 
[2026-08-19 00:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:04: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-08-19 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 00:04:07] 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-08-19 00: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-08-19 00:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457491952640001,"66":27234,"149":206,"83":43008,"24":19,"16":384853508085514240,"44":-2183753207357626368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-08-19 00:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457491952640001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:04:07] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-19 00:04:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384853508085514240,"km_value":384853508085514.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:04:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2183753207357626368,"description":"Unknown IO ID 44"} 
[2026-08-19 00:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457491952640001,"power":27234,"unknown_149":206,"unknown_83":43008,"ignition":19,"odometer":null,"unknown_44":-2183753207357626368}} 
[2026-08-19 00:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":159801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:04:07] local.INFO: GPS data processed {"connection_id":159801,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:04:07] local.INFO: Acknowledgment sent {"connection_id":159801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:04:39] local.INFO: TCP Data received {"connection_id":159801,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01625c850012ce1f98007263fb00009006c2c..."} 
[2026-08-19 00:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01625c850012ce1f98007263fb00009006c2c..."} 
[2026-08-19 00:04:39] local.INFO: Processing buffer {"connection_id":159801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01625c850012ce1f98007263fb00009006c2c..."} 
[2026-08-19 00:04:39] local.INFO: Packet analysis {"connection_id":159801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01625"} 
[2026-08-19 00:04:39] local.INFO: Extracted packet for processing {"connection_id":159801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01625"} 
[2026-08-19 00:04:39] local.INFO: GPS Element Parsed {"raw_longitude":753006976,"raw_latitude":119947184,"longitude_deg":75.3006976,"latitude_deg":11.9947184,"altitude":9,"angle":108,"satellites":44,"speed":29,"hex_longitude":"2ce1f980","hex_latitude":"07263fb0","is_valid_coordinates":true} 
[2026-08-19 00:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457491956736001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384853967647014912,"note":"Value kept but may cause issues"} 
[2026-08-19 00:04:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2173690476940851200,"note":"Value kept but may cause issues"} 
[2026-08-19 00:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787077970000,"timestamp_ms":1787077970000,"timestamp_seconds":1787077970,"priority":1,"record_length":96,"hex_timestamp":"000001a01625c850"} 
[2026-08-19 00:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 00:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 00:04:39] 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-08-19 00:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457491956736001,"66":26789,"149":206,"83":43008,"24":29,"16":384853967647014912,"44":-2173690476940851200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-08-19 00:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457491956736001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:04:39] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-19 00:04:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384853967647014912,"km_value":384853967647014.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:04:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2173690476940851200,"description":"Unknown IO ID 44"} 
[2026-08-19 00:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457491956736001,"power":26789,"unknown_149":206,"unknown_83":43008,"ignition":29,"odometer":null,"unknown_44":-2173690476940851200}} 
[2026-08-19 00:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":159801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:04:39] local.INFO: GPS data processed {"connection_id":159801,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:04:39] local.INFO: Acknowledgment sent {"connection_id":159801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:05:01] local.INFO: TCP Data received {"connection_id":158516,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:05:01] local.INFO: Processing buffer {"connection_id":158516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:05:01] local.INFO: IMEI packet received {"connection_id":158516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":158516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:05:03] local.INFO: TCP Data received {"connection_id":158516,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:05:03] local.INFO: Processing buffer {"connection_id":158516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:05:03] local.INFO: IMEI packet received {"connection_id":158516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":158516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:05:06] local.INFO: TCP Data received {"connection_id":158516,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:05:06] local.INFO: Processing buffer {"connection_id":158516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:05:06] local.INFO: IMEI packet received {"connection_id":158516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":158516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:05:07] local.INFO: TCP Data received {"connection_id":158516,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01625fb18012ce21b8007263538000a006e2d..."} 
[2026-08-19 00:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01625fb18012ce21b8007263538000a006e2d..."} 
[2026-08-19 00:05:07] local.INFO: Processing buffer {"connection_id":158516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01625fb18012ce21b8007263538000a006e2d..."} 
[2026-08-19 00:05:07] local.INFO: Packet analysis {"connection_id":158516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01625"} 
[2026-08-19 00:05:07] local.INFO: Extracted packet for processing {"connection_id":158516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01625"} 
[2026-08-19 00:05:07] local.INFO: GPS Element Parsed {"raw_longitude":753015680,"raw_latitude":119944504,"longitude_deg":75.301568,"latitude_deg":11.9944504,"altitude":10,"angle":110,"satellites":45,"speed":27,"hex_longitude":"2ce21b80","hex_latitude":"07263538","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457491960320001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384854401438711808,"note":"Value kept but may cause issues"} 
[2026-08-19 00:05:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2163557377779978240,"note":"Value kept but may cause issues"} 
[2026-08-19 00:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787077983000,"timestamp_ms":1787077983000,"timestamp_seconds":1787077983,"priority":1,"record_length":96,"hex_timestamp":"000001a01625fb18"} 
[2026-08-19 00:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 00: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":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-08-19 00:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00: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-08-19 00:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457491960320001,"66":27267,"149":206,"83":43008,"24":27,"16":384854401438711808,"44":-2163557377779978240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-08-19 00:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457491960320001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:05:07] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-19 00:05:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384854401438711808,"km_value":384854401438711.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:05:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2163557377779978240,"description":"Unknown IO ID 44"} 
[2026-08-19 00:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457491960320001,"power":27267,"unknown_149":206,"unknown_83":43008,"ignition":27,"odometer":null,"unknown_44":-2163557377779978240}} 
[2026-08-19 00:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":158516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:05:07] local.INFO: GPS data processed {"connection_id":158516,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:05:07] local.INFO: Acknowledgment sent {"connection_id":158516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:05:38] local.INFO: TCP Data received {"connection_id":158516,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016262de0012ce23e4007262a80000b006e2b..."} 
[2026-08-19 00:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016262de0012ce23e4007262a80000b006e2b..."} 
[2026-08-19 00:05:38] local.INFO: Processing buffer {"connection_id":158516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016262de0012ce23e4007262a80000b006e2b..."} 
[2026-08-19 00:05:38] local.INFO: Packet analysis {"connection_id":158516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01626"} 
[2026-08-19 00:05:38] local.INFO: Extracted packet for processing {"connection_id":158516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01626"} 
[2026-08-19 00:05:38] local.INFO: GPS Element Parsed {"raw_longitude":753024576,"raw_latitude":119941760,"longitude_deg":75.3024576,"latitude_deg":11.994176,"altitude":11,"angle":110,"satellites":43,"speed":29,"hex_longitude":"2ce23e40","hex_latitude":"07262a80","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457491963648001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384854843820343296,"note":"Value kept but may cause issues"} 
[2026-08-19 00:05:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2153987228572502016,"note":"Value kept but may cause issues"} 
[2026-08-19 00:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787077996000,"timestamp_ms":1787077996000,"timestamp_seconds":1787077996,"priority":1,"record_length":96,"hex_timestamp":"000001a016262de0"} 
[2026-08-19 00:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:05: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-08-19 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 00:05:38] 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-08-19 00: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-08-19 00:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457491963648001,"66":27321,"149":206,"83":43008,"24":29,"16":384854843820343296,"44":-2153987228572502016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-08-19 00:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457491963648001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:05:38] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-19 00:05:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384854843820343296,"km_value":384854843820343.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:05:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2153987228572502016,"description":"Unknown IO ID 44"} 
[2026-08-19 00:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457491963648001,"power":27321,"unknown_149":206,"unknown_83":43008,"ignition":29,"odometer":null,"unknown_44":-2153987228572502016}} 
[2026-08-19 00:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":158516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:05:38] local.INFO: GPS data processed {"connection_id":158516,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:05:38] local.INFO: Acknowledgment sent {"connection_id":158516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:06:01] local.INFO: TCP Data received {"connection_id":157256,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:06:01] local.INFO: Processing buffer {"connection_id":157256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:06:01] local.INFO: IMEI packet received {"connection_id":157256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":157256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:06:06] local.INFO: TCP Data received {"connection_id":157256,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:06:06] local.INFO: Processing buffer {"connection_id":157256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:06:06] local.INFO: IMEI packet received {"connection_id":157256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":157256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:06:07] local.INFO: TCP Data received {"connection_id":157256,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0162660a8012ce26180072620180009006d2b..."} 
[2026-08-19 00:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162660a8012ce26180072620180009006d2b..."} 
[2026-08-19 00:06:07] local.INFO: Processing buffer {"connection_id":157256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162660a8012ce26180072620180009006d2b..."} 
[2026-08-19 00:06:07] local.INFO: Packet analysis {"connection_id":157256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01626"} 
[2026-08-19 00:06:07] local.INFO: Extracted packet for processing {"connection_id":157256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01626"} 
[2026-08-19 00:06:07] local.INFO: GPS Element Parsed {"raw_longitude":753033600,"raw_latitude":119939096,"longitude_deg":75.30336,"latitude_deg":11.9939096,"altitude":9,"angle":109,"satellites":43,"speed":30,"hex_longitude":"2ce26180","hex_latitude":"07262018","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457491966976001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384855290496942080,"note":"Value kept but may cause issues"} 
[2026-08-19 00:06:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2144205973132509184,"note":"Value kept but may cause issues"} 
[2026-08-19 00:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787078009000,"timestamp_ms":1787078009000,"timestamp_seconds":1787078009,"priority":1,"record_length":96,"hex_timestamp":"000001a0162660a8"} 
[2026-08-19 00:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 00:06:07] 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-08-19 00: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-08-19 00:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457491966976001,"66":27332,"149":206,"83":43008,"24":30,"16":384855290496942080,"44":-2144205973132509184},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-08-19 00:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457491966976001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:06:07] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-19 00:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384855290496942080,"km_value":384855290496942.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:06:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2144205973132509184,"description":"Unknown IO ID 44"} 
[2026-08-19 00:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457491966976001,"power":27332,"unknown_149":206,"unknown_83":43008,"ignition":30,"odometer":null,"unknown_44":-2144205973132509184}} 
[2026-08-19 00:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":157256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:06:07] local.INFO: GPS data processed {"connection_id":157256,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:06:07] local.INFO: Acknowledgment sent {"connection_id":157256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:06:38] local.INFO: TCP Data received {"connection_id":157256,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016269370012ce28540072614a80007006c2b..."} 
[2026-08-19 00:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016269370012ce28540072614a80007006c2b..."} 
[2026-08-19 00:06:38] local.INFO: Processing buffer {"connection_id":157256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016269370012ce28540072614a80007006c2b..."} 
[2026-08-19 00:06:38] local.INFO: Packet analysis {"connection_id":157256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01626"} 
[2026-08-19 00:06:38] local.INFO: Extracted packet for processing {"connection_id":157256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01626"} 
[2026-08-19 00:06:38] local.INFO: GPS Element Parsed {"raw_longitude":753042752,"raw_latitude":119936168,"longitude_deg":75.3042752,"latitude_deg":11.9936168,"altitude":7,"angle":108,"satellites":43,"speed":25,"hex_longitude":"2ce28540","hex_latitude":"072614a8","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457491970304001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384855750058442752,"note":"Value kept but may cause issues"} 
[2026-08-19 00:06:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2134283980204140544,"note":"Value kept but may cause issues"} 
[2026-08-19 00:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787078022000,"timestamp_ms":1787078022000,"timestamp_seconds":1787078022,"priority":1,"record_length":96,"hex_timestamp":"000001a016269370"} 
[2026-08-19 00:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 00:06:38] 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-08-19 00: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-08-19 00:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457491970304001,"66":27343,"87":206,"83":43008,"24":25,"16":384855750058442752,"44":-2134283980204140544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-08-19 00:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457491970304001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:06:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 00:06:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384855750058442752,"km_value":384855750058442.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:06:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2134283980204140544,"description":"Unknown IO ID 44"} 
[2026-08-19 00:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457491970304001,"power":27343,"unknown_87":206,"unknown_83":43008,"ignition":25,"odometer":null,"unknown_44":-2134283980204140544}} 
[2026-08-19 00:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":157256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:06:38] local.INFO: GPS data processed {"connection_id":157256,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:06:38] local.INFO: Acknowledgment sent {"connection_id":157256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:07:01] local.INFO: TCP Data received {"connection_id":157618,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:07:01] local.INFO: Processing buffer {"connection_id":157618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:07:01] local.INFO: IMEI packet received {"connection_id":157618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":157618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:07:06] local.INFO: TCP Data received {"connection_id":157618,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:07:06] local.INFO: Processing buffer {"connection_id":157618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:07:06] local.INFO: IMEI packet received {"connection_id":157618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":157618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:07:07] local.INFO: TCP Data received {"connection_id":157618,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01626ca20012ce2a780072609000007006e2d..."} 
[2026-08-19 00:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01626ca20012ce2a780072609000007006e2d..."} 
[2026-08-19 00:07:07] local.INFO: Processing buffer {"connection_id":157618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01626ca20012ce2a780072609000007006e2d..."} 
[2026-08-19 00:07:07] local.INFO: Packet analysis {"connection_id":157618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01626"} 
[2026-08-19 00:07:07] local.INFO: Extracted packet for processing {"connection_id":157618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01626"} 
[2026-08-19 00:07:07] local.INFO: GPS Element Parsed {"raw_longitude":753051520,"raw_latitude":119933184,"longitude_deg":75.305152,"latitude_deg":11.9933184,"altitude":7,"angle":110,"satellites":45,"speed":30,"hex_longitude":"2ce2a780","hex_latitude":"07260900","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457491973632001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384856188145106944,"note":"Value kept but may cause issues"} 
[2026-08-19 00:07:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2124221249787484160,"note":"Value kept but may cause issues"} 
[2026-08-19 00:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787078036000,"timestamp_ms":1787078036000,"timestamp_seconds":1787078036,"priority":1,"record_length":96,"hex_timestamp":"000001a01626ca20"} 
[2026-08-19 00:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:07: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-08-19 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 00:07:07] 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-08-19 00: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-08-19 00:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457491973632001,"66":27267,"87":206,"83":43008,"24":30,"16":384856188145106944,"44":-2124221249787484160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-08-19 00:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457491973632001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:07:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 00:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384856188145106944,"km_value":384856188145106.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:07:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2124221249787484160,"description":"Unknown IO ID 44"} 
[2026-08-19 00:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457491973632001,"power":27267,"unknown_87":206,"unknown_83":43008,"ignition":30,"odometer":null,"unknown_44":-2124221249787484160}} 
[2026-08-19 00:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":157618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:07:07] local.INFO: GPS data processed {"connection_id":157618,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:07:07] local.INFO: Acknowledgment sent {"connection_id":157618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:07:38] local.INFO: TCP Data received {"connection_id":157618,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01626fce8012ce2ca800725fbf8000900732a..."} 
[2026-08-19 00:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01626fce8012ce2ca800725fbf8000900732a..."} 
[2026-08-19 00:07:38] local.INFO: Processing buffer {"connection_id":157618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01626fce8012ce2ca800725fbf8000900732a..."} 
[2026-08-19 00:07:38] local.INFO: Packet analysis {"connection_id":157618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01626"} 
[2026-08-19 00:07:38] local.INFO: Extracted packet for processing {"connection_id":157618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01626"} 
[2026-08-19 00:07:38] local.INFO: GPS Element Parsed {"raw_longitude":753060480,"raw_latitude":119929848,"longitude_deg":75.306048,"latitude_deg":11.9929848,"altitude":9,"angle":115,"satellites":42,"speed":27,"hex_longitude":"2ce2ca80","hex_latitude":"0725fbf8","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457491977216001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384856643411640320,"note":"Value kept but may cause issues"} 
[2026-08-19 00:07:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2114580731835908096,"note":"Value kept but may cause issues"} 
[2026-08-19 00:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787078049000,"timestamp_ms":1787078049000,"timestamp_seconds":1787078049,"priority":1,"record_length":96,"hex_timestamp":"000001a01626fce8"} 
[2026-08-19 00:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:07: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-08-19 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 00:07:38] 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-08-19 00: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-08-19 00:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457491977216001,"66":27332,"87":206,"83":43008,"24":27,"16":384856643411640320,"44":-2114580731835908096},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-08-19 00:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457491977216001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:07:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 00:07:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384856643411640320,"km_value":384856643411640.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:07:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2114580731835908096,"description":"Unknown IO ID 44"} 
[2026-08-19 00:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457491977216001,"power":27332,"unknown_87":206,"unknown_83":43008,"ignition":27,"odometer":null,"unknown_44":-2114580731835908096}} 
[2026-08-19 00:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":157618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:07:38] local.INFO: GPS data processed {"connection_id":157618,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:07:38] local.INFO: Acknowledgment sent {"connection_id":157618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:08:07] local.INFO: TCP Data received {"connection_id":158517,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:08:07] local.INFO: Processing buffer {"connection_id":158517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:08:07] local.INFO: IMEI packet received {"connection_id":158517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":158517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:08:10] local.INFO: TCP Data received {"connection_id":158517,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:08:10] local.INFO: Processing buffer {"connection_id":158517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:08:10] local.INFO: IMEI packet received {"connection_id":158517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":158517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:08:20] local.INFO: TCP Data received {"connection_id":158517,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016296618012ce3b1000724e0600010008d2e..."} 
[2026-08-19 00:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016296618012ce3b1000724e0600010008d2e..."} 
[2026-08-19 00:08:20] local.INFO: Processing buffer {"connection_id":158517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016296618012ce3b1000724e0600010008d2e..."} 
[2026-08-19 00:08:20] local.INFO: Packet analysis {"connection_id":158517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01629"} 
[2026-08-19 00:08:20] local.INFO: Extracted packet for processing {"connection_id":158517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01629"} 
[2026-08-19 00:08:20] local.INFO: GPS Element Parsed {"raw_longitude":753119488,"raw_latitude":119857248,"longitude_deg":75.3119488,"latitude_deg":11.9857248,"altitude":16,"angle":141,"satellites":46,"speed":28,"hex_longitude":"2ce3b100","hex_latitude":"0724e060","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492017664001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384861178897104896,"note":"Value kept but may cause issues"} 
[2026-08-19 00:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2046534156233736192,"note":"Value kept but may cause issues"} 
[2026-08-19 00:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787078207000,"timestamp_ms":1787078207000,"timestamp_seconds":1787078207,"priority":1,"record_length":96,"hex_timestamp":"000001a016296618"} 
[2026-08-19 00:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:08: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-08-19 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 00:08:20] 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-08-19 00: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-08-19 00:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492017664001,"66":27213,"86":206,"83":43008,"24":28,"16":384861178897104896,"44":-2046534156233736192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,44]} 
[2026-08-19 00:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492017664001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:08:20] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-19 00:08:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384861178897104896,"km_value":384861178897104.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2046534156233736192,"description":"Unknown IO ID 44"} 
[2026-08-19 00:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492017664001,"power":27213,"unknown_86":206,"unknown_83":43008,"ignition":28,"odometer":null,"unknown_44":-2046534156233736192}} 
[2026-08-19 00:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":158517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:08:20] local.INFO: GPS data processed {"connection_id":158517,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:08:20] local.INFO: Acknowledgment sent {"connection_id":158517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:08:21] local.INFO: TCP Data received {"connection_id":158517,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0162998e0012ce3c9400724c3a00010008d2f..."} 
[2026-08-19 00:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162998e0012ce3c9400724c3a00010008d2f..."} 
[2026-08-19 00:08:21] local.INFO: Processing buffer {"connection_id":158517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162998e0012ce3c9400724c3a00010008d2f..."} 
[2026-08-19 00:08:21] local.INFO: Packet analysis {"connection_id":158517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01629"} 
[2026-08-19 00:08:21] local.INFO: Extracted packet for processing {"connection_id":158517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01629"} 
[2026-08-19 00:08:21] local.INFO: GPS Element Parsed {"raw_longitude":753125696,"raw_latitude":119849888,"longitude_deg":75.3125696,"latitude_deg":11.9849888,"altitude":16,"angle":141,"satellites":47,"speed":28,"hex_longitude":"2ce3c940","hex_latitude":"0724c3a0","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492020992001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384861642753572864,"note":"Value kept but may cause issues"} 
[2026-08-19 00:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2039849125538668544,"note":"Value kept but may cause issues"} 
[2026-08-19 00:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787078220000,"timestamp_ms":1787078220000,"timestamp_seconds":1787078220,"priority":1,"record_length":96,"hex_timestamp":"000001a0162998e0"} 
[2026-08-19 00:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:08: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-08-19 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 00:08:21] 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-08-19 00: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-08-19 00:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":158517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":158517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":158517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492020992001,"66":27213,"86":206,"83":43008,"24":28,"16":384861642753572864,"44":-2039849125538668544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,44]} 
[2026-08-19 00:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492020992001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:08:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-19 00:08:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384861642753572864,"km_value":384861642753572.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:08:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2039849125538668544,"description":"Unknown IO ID 44"} 
[2026-08-19 00:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492020992001,"power":27213,"unknown_86":206,"unknown_83":43008,"ignition":28,"odometer":null,"unknown_44":-2039849125538668544}} 
[2026-08-19 00:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":158517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:08:21] local.INFO: GPS data processed {"connection_id":158517,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:08:21] local.INFO: Acknowledgment sent {"connection_id":158517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:09:01] local.INFO: TCP Data received {"connection_id":159802,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:09:01] local.INFO: Processing buffer {"connection_id":159802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:09:01] local.INFO: IMEI packet received {"connection_id":159802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":159802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:09:01] local.INFO: TCP Data received {"connection_id":159802,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:09:01] local.INFO: Processing buffer {"connection_id":159802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:09:01] local.INFO: IMEI packet received {"connection_id":159802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":159802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:09:06] local.INFO: TCP Data received {"connection_id":159802,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:09:06] local.INFO: Processing buffer {"connection_id":159802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:09:06] local.INFO: IMEI packet received {"connection_id":159802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":159802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:09:07] local.INFO: TCP Data received {"connection_id":159802,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01629d760012ce3dfc00724a8c8000e008d2e..."} 
[2026-08-19 00:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01629d760012ce3dfc00724a8c8000e008d2e..."} 
[2026-08-19 00:09:07] local.INFO: Processing buffer {"connection_id":159802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01629d760012ce3dfc00724a8c8000e008d2e..."} 
[2026-08-19 00:09:07] local.INFO: Packet analysis {"connection_id":159802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01629"} 
[2026-08-19 00:09:07] local.INFO: Extracted packet for processing {"connection_id":159802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01629"} 
[2026-08-19 00:09:07] local.INFO: GPS Element Parsed {"raw_longitude":753131456,"raw_latitude":119843016,"longitude_deg":75.3131456,"latitude_deg":11.9843016,"altitude":14,"angle":141,"satellites":46,"speed":19,"hex_longitude":"2ce3dfc0","hex_latitude":"0724a8c8","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492024320001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384862076545269760,"note":"Value kept but may cause issues"} 
[2026-08-19 00:09:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2033023357355319296,"note":"Value kept but may cause issues"} 
[2026-08-19 00:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787078236000,"timestamp_ms":1787078236000,"timestamp_seconds":1787078236,"priority":1,"record_length":96,"hex_timestamp":"000001a01629d760"} 
[2026-08-19 00:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:09: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-08-19 00:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 00:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00: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-08-19 00:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492024320001,"66":27310,"86":206,"83":43008,"24":19,"16":384862076545269760,"44":-2033023357355319296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,44]} 
[2026-08-19 00:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492024320001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:09:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-19 00:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384862076545269760,"km_value":384862076545269.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:09:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2033023357355319296,"description":"Unknown IO ID 44"} 
[2026-08-19 00:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492024320001,"power":27310,"unknown_86":206,"unknown_83":43008,"ignition":19,"odometer":null,"unknown_44":-2033023357355319296}} 
[2026-08-19 00:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":159802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:09:07] local.INFO: GPS data processed {"connection_id":159802,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:09:07] local.INFO: Acknowledgment sent {"connection_id":159802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:09:38] local.INFO: TCP Data received {"connection_id":159802,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0162a15e0012ce3f6c007248cb0000e008c2d..."} 
[2026-08-19 00:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162a15e0012ce3f6c007248cb0000e008c2d..."} 
[2026-08-19 00:09:38] local.INFO: Processing buffer {"connection_id":159802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162a15e0012ce3f6c007248cb0000e008c2d..."} 
[2026-08-19 00:09:38] local.INFO: Packet analysis {"connection_id":159802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162a"} 
[2026-08-19 00:09:38] local.INFO: Extracted packet for processing {"connection_id":159802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162a"} 
[2026-08-19 00:09:38] local.INFO: GPS Element Parsed {"raw_longitude":753137344,"raw_latitude":119835824,"longitude_deg":75.3137344,"latitude_deg":11.9835824,"altitude":14,"angle":140,"satellites":45,"speed":25,"hex_longitude":"2ce3f6c0","hex_latitude":"07248cb0","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492028416001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384862523221868544,"note":"Value kept but may cause issues"} 
[2026-08-19 00:09:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2026690170381088768,"note":"Value kept but may cause issues"} 
[2026-08-19 00:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787078252000,"timestamp_ms":1787078252000,"timestamp_seconds":1787078252,"priority":1,"record_length":96,"hex_timestamp":"000001a0162a15e0"} 
[2026-08-19 00:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:09: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-08-19 00: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 00:09:38] 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-08-19 00: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-08-19 00:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492028416001,"66":27321,"86":206,"83":43008,"24":25,"16":384862523221868544,"44":-2026690170381088768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,44]} 
[2026-08-19 00:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492028416001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:09:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-19 00:09:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384862523221868544,"km_value":384862523221868.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:09:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2026690170381088768,"description":"Unknown IO ID 44"} 
[2026-08-19 00:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492028416001,"power":27321,"unknown_86":206,"unknown_83":43008,"ignition":25,"odometer":null,"unknown_44":-2026690170381088768}} 
[2026-08-19 00:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":159802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:09:38] local.INFO: GPS data processed {"connection_id":159802,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:09:38] local.INFO: Acknowledgment sent {"connection_id":159802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:10:01] local.INFO: TCP Data received {"connection_id":157257,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:10:01] local.INFO: Processing buffer {"connection_id":157257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:10:01] local.INFO: IMEI packet received {"connection_id":157257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":157257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:10:06] local.INFO: TCP Data received {"connection_id":157257,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:10:06] local.INFO: Processing buffer {"connection_id":157257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:10:06] local.INFO: IMEI packet received {"connection_id":157257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":157257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:10:07] local.INFO: TCP Data received {"connection_id":157257,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0162a48a8012ce40e4007247208001000882d..."} 
[2026-08-19 00:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162a48a8012ce40e4007247208001000882d..."} 
[2026-08-19 00:10:07] local.INFO: Processing buffer {"connection_id":157257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162a48a8012ce40e4007247208001000882d..."} 
[2026-08-19 00:10:07] local.INFO: Packet analysis {"connection_id":157257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162a"} 
[2026-08-19 00:10:07] local.INFO: Extracted packet for processing {"connection_id":157257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162a"} 
[2026-08-19 00:10:07] local.INFO: GPS Element Parsed {"raw_longitude":753143360,"raw_latitude":119829000,"longitude_deg":75.314336,"latitude_deg":11.9829,"altitude":16,"angle":136,"satellites":45,"speed":27,"hex_longitude":"2ce40e40","hex_latitude":"07247208","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492032512001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384862957013565440,"note":"Value kept but may cause issues"} 
[2026-08-19 00:10:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2020216245918584832,"note":"Value kept but may cause issues"} 
[2026-08-19 00:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787078265000,"timestamp_ms":1787078265000,"timestamp_seconds":1787078265,"priority":1,"record_length":96,"hex_timestamp":"000001a0162a48a8"} 
[2026-08-19 00:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00: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-08-19 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 00:10:07] 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-08-19 00: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-08-19 00:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492032512001,"66":27213,"8":206,"83":43008,"24":27,"16":384862957013565440,"44":-2020216245918584832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492032512001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:10:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:10:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384862957013565440,"km_value":384862957013565.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:10:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2020216245918584832,"description":"Unknown IO ID 44"} 
[2026-08-19 00:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492032512001,"power":27213,"unknown_8":206,"unknown_83":43008,"ignition":27,"odometer":null,"unknown_44":-2020216245918584832}} 
[2026-08-19 00:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":157257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:10:07] local.INFO: GPS data processed {"connection_id":157257,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:10:07] local.INFO: Acknowledgment sent {"connection_id":157257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:10:38] local.INFO: TCP Data received {"connection_id":157257,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0162a7b70012ce4224007245790001200932d..."} 
[2026-08-19 00:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162a7b70012ce4224007245790001200932d..."} 
[2026-08-19 00:10:38] local.INFO: Processing buffer {"connection_id":157257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162a7b70012ce4224007245790001200932d..."} 
[2026-08-19 00:10:38] local.INFO: Packet analysis {"connection_id":157257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162a"} 
[2026-08-19 00:10:38] local.INFO: Extracted packet for processing {"connection_id":157257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162a"} 
[2026-08-19 00:10:38] local.INFO: GPS Element Parsed {"raw_longitude":753148480,"raw_latitude":119822224,"longitude_deg":75.314848,"latitude_deg":11.9822224,"altitude":18,"angle":147,"satellites":45,"speed":21,"hex_longitude":"2ce42240","hex_latitude":"07245790","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492035840001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863369330425856,"note":"Value kept but may cause issues"} 
[2026-08-19 00:10:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2013601583967631360,"note":"Value kept but may cause issues"} 
[2026-08-19 00:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787078278000,"timestamp_ms":1787078278000,"timestamp_seconds":1787078278,"priority":1,"record_length":96,"hex_timestamp":"000001a0162a7b70"} 
[2026-08-19 00:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:10: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-08-19 00:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 00:10:38] 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-08-19 00: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-08-19 00:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492035840001,"66":27343,"8":206,"83":43008,"24":21,"16":384863369330425856,"44":-2013601583967631360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492035840001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:10:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:10:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863369330425856,"km_value":384863369330425.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:10:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2013601583967631360,"description":"Unknown IO ID 44"} 
[2026-08-19 00:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492035840001,"power":27343,"unknown_8":206,"unknown_83":43008,"ignition":21,"odometer":null,"unknown_44":-2013601583967631360}} 
[2026-08-19 00:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":157257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:10:38] local.INFO: GPS data processed {"connection_id":157257,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:10:38] local.INFO: Acknowledgment sent {"connection_id":157257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:11:01] local.INFO: TCP Data received {"connection_id":157619,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:11:01] local.INFO: Processing buffer {"connection_id":157619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:11:01] local.INFO: IMEI packet received {"connection_id":157619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":157619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:11:06] local.INFO: TCP Data received {"connection_id":157619,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:11:06] local.INFO: Processing buffer {"connection_id":157619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:11:06] local.INFO: IMEI packet received {"connection_id":157619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":157619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:11:07] local.INFO: TCP Data received {"connection_id":157619,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0162ab9f0012ce437c007243a38000f008b30..."} 
[2026-08-19 00:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162ab9f0012ce437c007243a38000f008b30..."} 
[2026-08-19 00:11:07] local.INFO: Processing buffer {"connection_id":157619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162ab9f0012ce437c007243a38000f008b30..."} 
[2026-08-19 00:11:07] local.INFO: Packet analysis {"connection_id":157619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162a"} 
[2026-08-19 00:11:07] local.INFO: Extracted packet for processing {"connection_id":157619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162a"} 
[2026-08-19 00:11:07] local.INFO: GPS Element Parsed {"raw_longitude":753153984,"raw_latitude":119814712,"longitude_deg":75.3153984,"latitude_deg":11.9814712,"altitude":15,"angle":139,"satellites":48,"speed":16,"hex_longitude":"2ce437c0","hex_latitude":"07243a38","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492039168001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863816007024640,"note":"Value kept but may cause issues"} 
[2026-08-19 00:11:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2007972084435152896,"note":"Value kept but may cause issues"} 
[2026-08-19 00:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787078294000,"timestamp_ms":1787078294000,"timestamp_seconds":1787078294,"priority":1,"record_length":96,"hex_timestamp":"000001a0162ab9f0"} 
[2026-08-19 00:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:11: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-08-19 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 00:11:07] 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-08-19 00: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-08-19 00:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492039168001,"66":27843,"8":206,"83":43008,"24":16,"16":384863816007024640,"44":-2007972084435152896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492039168001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:11:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:11:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863816007024640,"km_value":384863816007024.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:11:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2007972084435152896,"description":"Unknown IO ID 44"} 
[2026-08-19 00:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492039168001,"power":27843,"unknown_8":206,"unknown_83":43008,"ignition":16,"odometer":null,"unknown_44":-2007972084435152896}} 
[2026-08-19 00:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":157619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:11:07] local.INFO: GPS data processed {"connection_id":157619,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:11:07] local.INFO: Acknowledgment sent {"connection_id":157619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:11:38] local.INFO: TCP Data received {"connection_id":157619,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0162add18012ce4420007242d70000f008c2d..."} 
[2026-08-19 00:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162add18012ce4420007242d70000f008c2d..."} 
[2026-08-19 00:11:38] local.INFO: Processing buffer {"connection_id":157619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162add18012ce4420007242d70000f008c2d..."} 
[2026-08-19 00:11:38] local.INFO: Packet analysis {"connection_id":157619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162a"} 
[2026-08-19 00:11:38] local.INFO: Extracted packet for processing {"connection_id":157619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162a"} 
[2026-08-19 00:11:38] local.INFO: GPS Element Parsed {"raw_longitude":753156608,"raw_latitude":119811440,"longitude_deg":75.3156608,"latitude_deg":11.981144,"altitude":15,"angle":140,"satellites":45,"speed":24,"hex_longitude":"2ce44200","hex_latitude":"07242d70","is_valid_coordinates":true} 
[2026-08-19 00:11:38] 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-08-19 00:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492043264001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:11:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2001920372437796864,"note":"Value kept but may cause issues"} 
[2026-08-19 00:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787078303000,"timestamp_ms":1787078303000,"timestamp_seconds":1787078303,"priority":1,"record_length":96,"hex_timestamp":"000001a0162add18"} 
[2026-08-19 00:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 00:11:38] 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-08-19 00: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-08-19 00:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492043264001,"66":27843,"8":206,"83":43008,"24":24,"16":384863987805716480,"44":-2001920372437796864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492043264001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:11:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:11:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:11:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2001920372437796864,"description":"Unknown IO ID 44"} 
[2026-08-19 00:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492043264001,"power":27843,"unknown_8":206,"unknown_83":43008,"ignition":24,"odometer":null,"unknown_44":-2001920372437796864}} 
[2026-08-19 00:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":157619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:11:38] local.INFO: GPS data processed {"connection_id":157619,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:11:38] local.INFO: Acknowledgment sent {"connection_id":157619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:12:01] local.INFO: TCP Data received {"connection_id":157258,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:12:01] local.INFO: Processing buffer {"connection_id":157258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:12:01] local.INFO: IMEI packet received {"connection_id":157258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":157258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:12:06] local.INFO: TCP Data received {"connection_id":157258,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:12:06] local.INFO: Processing buffer {"connection_id":157258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:12:06] local.INFO: IMEI packet received {"connection_id":157258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":157258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:12:07] local.INFO: TCP Data received {"connection_id":157258,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0162add18012ce4420007242d70000f008c2d..."} 
[2026-08-19 00:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162add18012ce4420007242d70000f008c2d..."} 
[2026-08-19 00:12:07] local.INFO: Processing buffer {"connection_id":157258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162add18012ce4420007242d70000f008c2d..."} 
[2026-08-19 00:12:07] local.INFO: Packet analysis {"connection_id":157258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162a"} 
[2026-08-19 00:12:07] local.INFO: Extracted packet for processing {"connection_id":157258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162a"} 
[2026-08-19 00:12:07] local.INFO: GPS Element Parsed {"raw_longitude":753156608,"raw_latitude":119811440,"longitude_deg":75.3156608,"latitude_deg":11.981144,"altitude":15,"angle":140,"satellites":45,"speed":24,"hex_longitude":"2ce44200","hex_latitude":"07242d70","is_valid_coordinates":true} 
[2026-08-19 00:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492043264001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:12:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2001920372437796864,"note":"Value kept but may cause issues"} 
[2026-08-19 00:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787078303000,"timestamp_ms":1787078303000,"timestamp_seconds":1787078303,"priority":1,"record_length":96,"hex_timestamp":"000001a0162add18"} 
[2026-08-19 00:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 00:12:07] 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-08-19 00: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-08-19 00:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492043264001,"66":27843,"8":206,"83":43008,"24":24,"16":384863987805716480,"44":-2001920372437796864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492043264001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:12:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:12:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2001920372437796864,"description":"Unknown IO ID 44"} 
[2026-08-19 00:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492043264001,"power":27843,"unknown_8":206,"unknown_83":43008,"ignition":24,"odometer":null,"unknown_44":-2001920372437796864}} 
[2026-08-19 00:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":157258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:12:07] local.INFO: GPS data processed {"connection_id":157258,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:12:07] local.INFO: Acknowledgment sent {"connection_id":157258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:12:38] local.INFO: TCP Data received {"connection_id":157258,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0162add18012ce4420007242d70000f008c2d..."} 
[2026-08-19 00:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162add18012ce4420007242d70000f008c2d..."} 
[2026-08-19 00:12:38] local.INFO: Processing buffer {"connection_id":157258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162add18012ce4420007242d70000f008c2d..."} 
[2026-08-19 00:12:38] local.INFO: Packet analysis {"connection_id":157258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162a"} 
[2026-08-19 00:12:38] local.INFO: Extracted packet for processing {"connection_id":157258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162a"} 
[2026-08-19 00:12:38] local.INFO: GPS Element Parsed {"raw_longitude":753156608,"raw_latitude":119811440,"longitude_deg":75.3156608,"latitude_deg":11.981144,"altitude":15,"angle":140,"satellites":45,"speed":24,"hex_longitude":"2ce44200","hex_latitude":"07242d70","is_valid_coordinates":true} 
[2026-08-19 00:12:38] 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-08-19 00:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492043264001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:12:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2001920372437796864,"note":"Value kept but may cause issues"} 
[2026-08-19 00:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787078303000,"timestamp_ms":1787078303000,"timestamp_seconds":1787078303,"priority":1,"record_length":96,"hex_timestamp":"000001a0162add18"} 
[2026-08-19 00:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 00:12:38] 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-08-19 00: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-08-19 00:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492043264001,"66":27843,"8":206,"83":43008,"24":24,"16":384863987805716480,"44":-2001920372437796864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492043264001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:12:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:12:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:12:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2001920372437796864,"description":"Unknown IO ID 44"} 
[2026-08-19 00:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492043264001,"power":27843,"unknown_8":206,"unknown_83":43008,"ignition":24,"odometer":null,"unknown_44":-2001920372437796864}} 
[2026-08-19 00:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":157258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:12:38] local.INFO: GPS data processed {"connection_id":157258,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:12:38] local.INFO: Acknowledgment sent {"connection_id":157258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:13:06] local.INFO: TCP Data received {"connection_id":159803,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:13:06] local.INFO: Processing buffer {"connection_id":159803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:13:06] local.INFO: IMEI packet received {"connection_id":159803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":159803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:13:11] local.INFO: TCP Data received {"connection_id":159803,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:13:11] local.INFO: Processing buffer {"connection_id":159803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:13:11] local.INFO: IMEI packet received {"connection_id":159803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":159803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:13:12] local.INFO: TCP Data received {"connection_id":159803,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0162add18012ce4420007242d70000f008c2d..."} 
[2026-08-19 00:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162add18012ce4420007242d70000f008c2d..."} 
[2026-08-19 00:13:12] local.INFO: Processing buffer {"connection_id":159803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162add18012ce4420007242d70000f008c2d..."} 
[2026-08-19 00:13:12] local.INFO: Packet analysis {"connection_id":159803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162a"} 
[2026-08-19 00:13:12] local.INFO: Extracted packet for processing {"connection_id":159803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162a"} 
[2026-08-19 00:13:12] local.INFO: GPS Element Parsed {"raw_longitude":753156608,"raw_latitude":119811440,"longitude_deg":75.3156608,"latitude_deg":11.981144,"altitude":15,"angle":140,"satellites":45,"speed":24,"hex_longitude":"2ce44200","hex_latitude":"07242d70","is_valid_coordinates":true} 
[2026-08-19 00:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492043264001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:13:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2001920372437796864,"note":"Value kept but may cause issues"} 
[2026-08-19 00:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787078303000,"timestamp_ms":1787078303000,"timestamp_seconds":1787078303,"priority":1,"record_length":96,"hex_timestamp":"000001a0162add18"} 
[2026-08-19 00:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 00:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 00:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492043264001,"66":27843,"8":206,"83":43008,"24":24,"16":384863987805716480,"44":-2001920372437796864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492043264001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:13:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:13:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:13:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2001920372437796864,"description":"Unknown IO ID 44"} 
[2026-08-19 00:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492043264001,"power":27843,"unknown_8":206,"unknown_83":43008,"ignition":24,"odometer":null,"unknown_44":-2001920372437796864}} 
[2026-08-19 00:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":159803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:13:12] local.INFO: GPS data processed {"connection_id":159803,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:13:12] local.INFO: Acknowledgment sent {"connection_id":159803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:13:16] local.INFO: TCP Data received {"connection_id":159803,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0162add18012ce4420007242d70000f008c2d..."} 
[2026-08-19 00:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162add18012ce4420007242d70000f008c2d..."} 
[2026-08-19 00:13:16] local.INFO: Processing buffer {"connection_id":159803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162add18012ce4420007242d70000f008c2d..."} 
[2026-08-19 00:13:16] local.INFO: Packet analysis {"connection_id":159803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162a"} 
[2026-08-19 00:13:16] local.INFO: Extracted packet for processing {"connection_id":159803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162a"} 
[2026-08-19 00:13:16] local.INFO: GPS Element Parsed {"raw_longitude":753156608,"raw_latitude":119811440,"longitude_deg":75.3156608,"latitude_deg":11.981144,"altitude":15,"angle":140,"satellites":45,"speed":24,"hex_longitude":"2ce44200","hex_latitude":"07242d70","is_valid_coordinates":true} 
[2026-08-19 00:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492043264001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:13:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2001920372437796864,"note":"Value kept but may cause issues"} 
[2026-08-19 00:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787078303000,"timestamp_ms":1787078303000,"timestamp_seconds":1787078303,"priority":1,"record_length":96,"hex_timestamp":"000001a0162add18"} 
[2026-08-19 00:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:13: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-08-19 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 00:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00: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-08-19 00:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492043264001,"66":27843,"8":206,"83":43008,"24":24,"16":384863987805716480,"44":-2001920372437796864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492043264001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:13:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:13:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:13:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2001920372437796864,"description":"Unknown IO ID 44"} 
[2026-08-19 00:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492043264001,"power":27843,"unknown_8":206,"unknown_83":43008,"ignition":24,"odometer":null,"unknown_44":-2001920372437796864}} 
[2026-08-19 00:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":159803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:13:16] local.INFO: GPS data processed {"connection_id":159803,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:13:16] local.INFO: Acknowledgment sent {"connection_id":159803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:14:01] local.INFO: TCP Data received {"connection_id":159804,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:14:01] local.INFO: Processing buffer {"connection_id":159804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:14:01] local.INFO: IMEI packet received {"connection_id":159804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":159804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:14:02] local.INFO: TCP Data received {"connection_id":159804,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:14:02] local.INFO: Processing buffer {"connection_id":159804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:14:02] local.INFO: IMEI packet received {"connection_id":159804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":159804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:14:06] local.INFO: TCP Data received {"connection_id":159804,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:14:06] local.INFO: Processing buffer {"connection_id":159804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:14:06] local.INFO: IMEI packet received {"connection_id":159804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":159804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:14:07] local.INFO: TCP Data received {"connection_id":159804,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:14:07] local.INFO: Processing buffer {"connection_id":159804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:14:07] local.INFO: Packet analysis {"connection_id":159804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:14:07] local.INFO: Extracted packet for processing {"connection_id":159804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:14:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":48,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492045568001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:14:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1999035253927350272,"note":"Value kept but may cause issues"} 
[2026-08-19 00:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787078604000,"timestamp_ms":1787078604000,"timestamp_seconds":1787078604,"priority":1,"record_length":96,"hex_timestamp":"000001a0162f74e0"} 
[2026-08-19 00:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:14: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-08-19 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 00:14:07] 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-08-19 00: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-08-19 00:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492045568001,"66":26169,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1999035253927350272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492045568001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:14:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:14:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1999035253927350272,"description":"Unknown IO ID 44"} 
[2026-08-19 00:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492045568001,"power":26169,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1999035253927350272}} 
[2026-08-19 00:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":159804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:14:07] local.INFO: GPS data processed {"connection_id":159804,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:14:07] local.INFO: Acknowledgment sent {"connection_id":159804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:14:11] local.INFO: TCP Data received {"connection_id":159804,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:14:11] local.INFO: Processing buffer {"connection_id":159804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:14:11] local.INFO: Packet analysis {"connection_id":159804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:14:11] local.INFO: Extracted packet for processing {"connection_id":159804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:14:11] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":48,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492045568001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:14:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1999035253927350272,"note":"Value kept but may cause issues"} 
[2026-08-19 00:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787078604000,"timestamp_ms":1787078604000,"timestamp_seconds":1787078604,"priority":1,"record_length":96,"hex_timestamp":"000001a0162f74e0"} 
[2026-08-19 00:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 00:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492045568001,"66":26169,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1999035253927350272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492045568001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:14:11] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:14:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1999035253927350272,"description":"Unknown IO ID 44"} 
[2026-08-19 00:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492045568001,"power":26169,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1999035253927350272}} 
[2026-08-19 00:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":159804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:14:11] local.INFO: GPS data processed {"connection_id":159804,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:14:11] local.INFO: Acknowledgment sent {"connection_id":159804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:14:42] local.INFO: TCP Data received {"connection_id":159804,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:14:42] local.INFO: Processing buffer {"connection_id":159804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:14:42] local.INFO: Packet analysis {"connection_id":159804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:14:42] local.INFO: Extracted packet for processing {"connection_id":159804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:14:42] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":48,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492045568001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:14:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1999035253927350272,"note":"Value kept but may cause issues"} 
[2026-08-19 00:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787078604000,"timestamp_ms":1787078604000,"timestamp_seconds":1787078604,"priority":1,"record_length":96,"hex_timestamp":"000001a0162f74e0"} 
[2026-08-19 00:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 00:14:42] 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-08-19 00: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-08-19 00:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492045568001,"66":26169,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1999035253927350272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492045568001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:14:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:14:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:14:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1999035253927350272,"description":"Unknown IO ID 44"} 
[2026-08-19 00:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492045568001,"power":26169,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1999035253927350272}} 
[2026-08-19 00:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":159804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:14:42] local.INFO: GPS data processed {"connection_id":159804,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:14:42] local.INFO: Acknowledgment sent {"connection_id":159804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:15:01] local.INFO: TCP Data received {"connection_id":157620,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:15:01] local.INFO: Processing buffer {"connection_id":157620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:15:01] local.INFO: IMEI packet received {"connection_id":157620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":157620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:15:06] local.INFO: TCP Data received {"connection_id":157620,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:15:06] local.INFO: Processing buffer {"connection_id":157620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:15:06] local.INFO: IMEI packet received {"connection_id":157620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":157620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:15:07] local.INFO: TCP Data received {"connection_id":157620,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:15:07] local.INFO: Processing buffer {"connection_id":157620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:15:07] local.INFO: Packet analysis {"connection_id":157620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:15:07] local.INFO: Extracted packet for processing {"connection_id":157620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:15:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":48,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492045568001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:15:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1999035253927350272,"note":"Value kept but may cause issues"} 
[2026-08-19 00:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787078604000,"timestamp_ms":1787078604000,"timestamp_seconds":1787078604,"priority":1,"record_length":96,"hex_timestamp":"000001a0162f74e0"} 
[2026-08-19 00:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:15: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-08-19 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 00:15:07] 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-08-19 00: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-08-19 00:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492045568001,"66":26169,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1999035253927350272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492045568001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:15:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:15:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1999035253927350272,"description":"Unknown IO ID 44"} 
[2026-08-19 00:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492045568001,"power":26169,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1999035253927350272}} 
[2026-08-19 00:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":157620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:15:07] local.INFO: GPS data processed {"connection_id":157620,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:15:07] local.INFO: Acknowledgment sent {"connection_id":157620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:15:38] local.INFO: TCP Data received {"connection_id":157620,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:15:38] local.INFO: Processing buffer {"connection_id":157620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:15:38] local.INFO: Packet analysis {"connection_id":157620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:15:38] local.INFO: Extracted packet for processing {"connection_id":157620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:15:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":48,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492045568001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:15:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1999035253927350272,"note":"Value kept but may cause issues"} 
[2026-08-19 00:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787078604000,"timestamp_ms":1787078604000,"timestamp_seconds":1787078604,"priority":1,"record_length":96,"hex_timestamp":"000001a0162f74e0"} 
[2026-08-19 00:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 00:15:38] 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-08-19 00: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-08-19 00:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492045568001,"66":26169,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1999035253927350272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492045568001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:15:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:15:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:15:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1999035253927350272,"description":"Unknown IO ID 44"} 
[2026-08-19 00:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492045568001,"power":26169,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1999035253927350272}} 
[2026-08-19 00:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":157620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:15:38] local.INFO: GPS data processed {"connection_id":157620,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:15:38] local.INFO: Acknowledgment sent {"connection_id":157620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:16:01] local.INFO: TCP Data received {"connection_id":157259,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:16:01] local.INFO: Processing buffer {"connection_id":157259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:16:01] local.INFO: IMEI packet received {"connection_id":157259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":157259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:16:06] local.INFO: TCP Data received {"connection_id":157259,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:16:06] local.INFO: Processing buffer {"connection_id":157259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:16:06] local.INFO: IMEI packet received {"connection_id":157259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":157259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:16:07] local.INFO: TCP Data received {"connection_id":157259,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:16:07] local.INFO: Processing buffer {"connection_id":157259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:16:07] local.INFO: Packet analysis {"connection_id":157259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:16:07] local.INFO: Extracted packet for processing {"connection_id":157259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:16:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":48,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492045568001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:16:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1999035253927350272,"note":"Value kept but may cause issues"} 
[2026-08-19 00:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787078604000,"timestamp_ms":1787078604000,"timestamp_seconds":1787078604,"priority":1,"record_length":96,"hex_timestamp":"000001a0162f74e0"} 
[2026-08-19 00:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:16: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-08-19 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 00:16:07] 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-08-19 00: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-08-19 00:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492045568001,"66":26169,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1999035253927350272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492045568001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:16:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:16:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1999035253927350272,"description":"Unknown IO ID 44"} 
[2026-08-19 00:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492045568001,"power":26169,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1999035253927350272}} 
[2026-08-19 00:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":157259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:16:07] local.INFO: GPS data processed {"connection_id":157259,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:16:07] local.INFO: Acknowledgment sent {"connection_id":157259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:16:38] local.INFO: TCP Data received {"connection_id":157259,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:16:38] local.INFO: Processing buffer {"connection_id":157259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:16:38] local.INFO: Packet analysis {"connection_id":157259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:16:38] local.INFO: Extracted packet for processing {"connection_id":157259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:16:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":48,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492045568001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:16:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1999035253927350272,"note":"Value kept but may cause issues"} 
[2026-08-19 00:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787078604000,"timestamp_ms":1787078604000,"timestamp_seconds":1787078604,"priority":1,"record_length":96,"hex_timestamp":"000001a0162f74e0"} 
[2026-08-19 00:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 00:16:38] 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-08-19 00:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492045568001,"66":26169,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1999035253927350272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492045568001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:16:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:16:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:16:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1999035253927350272,"description":"Unknown IO ID 44"} 
[2026-08-19 00:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492045568001,"power":26169,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1999035253927350272}} 
[2026-08-19 00:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":157259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:16:38] local.INFO: GPS data processed {"connection_id":157259,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:16:38] local.INFO: Acknowledgment sent {"connection_id":157259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:17:06] local.INFO: TCP Data received {"connection_id":158518,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:17:06] local.INFO: Processing buffer {"connection_id":158518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:17:06] local.INFO: IMEI packet received {"connection_id":158518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":158518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:17:11] local.INFO: TCP Data received {"connection_id":158518,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:17:11] local.INFO: Processing buffer {"connection_id":158518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:17:11] local.INFO: IMEI packet received {"connection_id":158518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":158518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:17:12] local.INFO: TCP Data received {"connection_id":158518,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:17:12] local.INFO: Processing buffer {"connection_id":158518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:17:12] local.INFO: Packet analysis {"connection_id":158518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:17:12] local.INFO: Extracted packet for processing {"connection_id":158518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:17:12] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":48,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492045568001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1999035253927350272,"note":"Value kept but may cause issues"} 
[2026-08-19 00:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787078604000,"timestamp_ms":1787078604000,"timestamp_seconds":1787078604,"priority":1,"record_length":96,"hex_timestamp":"000001a0162f74e0"} 
[2026-08-19 00:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 00:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492045568001,"66":26169,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1999035253927350272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492045568001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:17:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:17:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1999035253927350272,"description":"Unknown IO ID 44"} 
[2026-08-19 00:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492045568001,"power":26169,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1999035253927350272}} 
[2026-08-19 00:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":158518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:17:12] local.INFO: GPS data processed {"connection_id":158518,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:17:12] local.INFO: Acknowledgment sent {"connection_id":158518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:17:16] local.INFO: TCP Data received {"connection_id":158518,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:17:16] local.INFO: Processing buffer {"connection_id":158518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:17:16] local.INFO: Packet analysis {"connection_id":158518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:17:16] local.INFO: Extracted packet for processing {"connection_id":158518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:17:16] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":48,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492045568001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:17:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1999035253927350272,"note":"Value kept but may cause issues"} 
[2026-08-19 00:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787078604000,"timestamp_ms":1787078604000,"timestamp_seconds":1787078604,"priority":1,"record_length":96,"hex_timestamp":"000001a0162f74e0"} 
[2026-08-19 00:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:17: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-08-19 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 00:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00: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-08-19 00:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492045568001,"66":26169,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1999035253927350272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492045568001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:17:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:17:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:17:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1999035253927350272,"description":"Unknown IO ID 44"} 
[2026-08-19 00:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492045568001,"power":26169,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1999035253927350272}} 
[2026-08-19 00:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":158518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:17:16] local.INFO: GPS data processed {"connection_id":158518,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:17:16] local.INFO: Acknowledgment sent {"connection_id":158518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:18:01] local.INFO: TCP Data received {"connection_id":159805,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:18:01] local.INFO: Processing buffer {"connection_id":159805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:18:01] local.INFO: IMEI packet received {"connection_id":159805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":159805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:18:06] local.INFO: TCP Data received {"connection_id":159805,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:18:06] local.INFO: Processing buffer {"connection_id":159805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:18:06] local.INFO: IMEI packet received {"connection_id":159805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":159805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:18:07] local.INFO: TCP Data received {"connection_id":159805,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:18:07] local.INFO: Processing buffer {"connection_id":159805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:18:07] local.INFO: Packet analysis {"connection_id":159805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:18:07] local.INFO: Extracted packet for processing {"connection_id":159805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:18:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":48,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492045568001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:18:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1999035253927350272,"note":"Value kept but may cause issues"} 
[2026-08-19 00:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787078604000,"timestamp_ms":1787078604000,"timestamp_seconds":1787078604,"priority":1,"record_length":96,"hex_timestamp":"000001a0162f74e0"} 
[2026-08-19 00:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:18: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-08-19 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 00:18:07] 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-08-19 00: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-08-19 00:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492045568001,"66":26169,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1999035253927350272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492045568001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:18:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:18:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1999035253927350272,"description":"Unknown IO ID 44"} 
[2026-08-19 00:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492045568001,"power":26169,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1999035253927350272}} 
[2026-08-19 00:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":159805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:18:07] local.INFO: GPS data processed {"connection_id":159805,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:18:07] local.INFO: Acknowledgment sent {"connection_id":159805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:18:38] local.INFO: TCP Data received {"connection_id":159805,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:18:38] local.INFO: Processing buffer {"connection_id":159805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0162f74e0012ce45a0007241840000e008b30..."} 
[2026-08-19 00:18:38] local.INFO: Packet analysis {"connection_id":159805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:18:38] local.INFO: Extracted packet for processing {"connection_id":159805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0162f"} 
[2026-08-19 00:18:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":48,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492045568001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:18:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1999035253927350272,"note":"Value kept but may cause issues"} 
[2026-08-19 00:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787078604000,"timestamp_ms":1787078604000,"timestamp_seconds":1787078604,"priority":1,"record_length":96,"hex_timestamp":"000001a0162f74e0"} 
[2026-08-19 00:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 00:18:38] 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-08-19 00: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-08-19 00:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492045568001,"66":26169,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1999035253927350272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492045568001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:18:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:18:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:18:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1999035253927350272,"description":"Unknown IO ID 44"} 
[2026-08-19 00:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492045568001,"power":26169,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1999035253927350272}} 
[2026-08-19 00:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":159805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:18:38] local.INFO: GPS data processed {"connection_id":159805,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:18:38] local.INFO: Acknowledgment sent {"connection_id":159805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:19:01] local.INFO: TCP Data received {"connection_id":157621,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:19:01] local.INFO: Processing buffer {"connection_id":157621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:19:01] local.INFO: IMEI packet received {"connection_id":157621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":157621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:19:03] local.INFO: TCP Data received {"connection_id":157621,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:19:03] local.INFO: Processing buffer {"connection_id":157621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:19:03] local.INFO: IMEI packet received {"connection_id":157621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":157621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:19:03] local.INFO: TCP Data received {"connection_id":157621,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:19:03] local.INFO: Processing buffer {"connection_id":157621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:19:03] local.INFO: Packet analysis {"connection_id":157621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:19:03] local.INFO: Extracted packet for processing {"connection_id":157621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:19:03] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492122624001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:19:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787078905000,"timestamp_ms":1787078905000,"timestamp_seconds":1787078905,"priority":1,"record_length":96,"hex_timestamp":"000001a016340ca8"} 
[2026-08-19 00:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-19 00:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00: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-08-19 00:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":157621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":157621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":157621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492122624001,"66":26082,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492122624001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:19:03] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:19:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492122624001,"power":26082,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":157621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:19:03] local.INFO: GPS data processed {"connection_id":157621,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:19:03] local.INFO: Acknowledgment sent {"connection_id":157621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:19:35] local.INFO: TCP Data received {"connection_id":157621,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:19:35] local.INFO: Processing buffer {"connection_id":157621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:19:35] local.INFO: Packet analysis {"connection_id":157621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:19:35] local.INFO: Extracted packet for processing {"connection_id":157621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:19:35] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492122624001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:19:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787078905000,"timestamp_ms":1787078905000,"timestamp_seconds":1787078905,"priority":1,"record_length":96,"hex_timestamp":"000001a016340ca8"} 
[2026-08-19 00:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-19 00:19:35] 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-08-19 00: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-08-19 00:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":157621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":157621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":157621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492122624001,"66":26082,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492122624001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:19:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:19:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:19:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492122624001,"power":26082,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":157621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:19:35] local.INFO: GPS data processed {"connection_id":157621,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:19:35] local.INFO: Acknowledgment sent {"connection_id":157621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:20:01] local.INFO: TCP Data received {"connection_id":157260,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:20:01] local.INFO: Processing buffer {"connection_id":157260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:20:01] local.INFO: IMEI packet received {"connection_id":157260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":157260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:20:06] local.INFO: TCP Data received {"connection_id":157260,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:20:06] local.INFO: Processing buffer {"connection_id":157260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:20:06] local.INFO: IMEI packet received {"connection_id":157260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":157260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:20:07] local.INFO: TCP Data received {"connection_id":157260,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:20:07] local.INFO: Processing buffer {"connection_id":157260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:20:07] local.INFO: Packet analysis {"connection_id":157260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:20:07] local.INFO: Extracted packet for processing {"connection_id":157260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:20:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492122624001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:20:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787078905000,"timestamp_ms":1787078905000,"timestamp_seconds":1787078905,"priority":1,"record_length":96,"hex_timestamp":"000001a016340ca8"} 
[2026-08-19 00:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-19 00:20:07] 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-08-19 00:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492122624001,"66":26082,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492122624001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:20:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:20:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492122624001,"power":26082,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":157260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:20:07] local.INFO: GPS data processed {"connection_id":157260,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:20:07] local.INFO: Acknowledgment sent {"connection_id":157260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:20:38] local.INFO: TCP Data received {"connection_id":157260,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:20:38] local.INFO: Processing buffer {"connection_id":157260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:20:38] local.INFO: Packet analysis {"connection_id":157260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:20:38] local.INFO: Extracted packet for processing {"connection_id":157260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:20:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492122624001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:20:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787078905000,"timestamp_ms":1787078905000,"timestamp_seconds":1787078905,"priority":1,"record_length":96,"hex_timestamp":"000001a016340ca8"} 
[2026-08-19 00:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-19 00:20:38] 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-08-19 00: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-08-19 00:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492122624001,"66":26082,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492122624001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:20:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:20:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:20:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492122624001,"power":26082,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":157260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:20:38] local.INFO: GPS data processed {"connection_id":157260,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:20:38] local.INFO: Acknowledgment sent {"connection_id":157260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:21:01] local.INFO: TCP Data received {"connection_id":157622,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:21:01] local.INFO: Processing buffer {"connection_id":157622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:21:01] local.INFO: IMEI packet received {"connection_id":157622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":157622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:21:06] local.INFO: TCP Data received {"connection_id":157622,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:21:06] local.INFO: Processing buffer {"connection_id":157622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:21:06] local.INFO: IMEI packet received {"connection_id":157622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":157622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:21:07] local.INFO: TCP Data received {"connection_id":157622,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:21:07] local.INFO: Processing buffer {"connection_id":157622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:21:07] local.INFO: Packet analysis {"connection_id":157622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:21:07] local.INFO: Extracted packet for processing {"connection_id":157622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:21:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492122624001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:21:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787078905000,"timestamp_ms":1787078905000,"timestamp_seconds":1787078905,"priority":1,"record_length":96,"hex_timestamp":"000001a016340ca8"} 
[2026-08-19 00:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-19 00:21:07] 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-08-19 00: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-08-19 00:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492122624001,"66":26082,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492122624001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:21:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:21:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492122624001,"power":26082,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":157622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:21:07] local.INFO: GPS data processed {"connection_id":157622,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:21:07] local.INFO: Acknowledgment sent {"connection_id":157622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:21:38] local.INFO: TCP Data received {"connection_id":157622,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:21:38] local.INFO: Processing buffer {"connection_id":157622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:21:38] local.INFO: Packet analysis {"connection_id":157622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:21:38] local.INFO: Extracted packet for processing {"connection_id":157622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:21:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492122624001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:21:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787078905000,"timestamp_ms":1787078905000,"timestamp_seconds":1787078905,"priority":1,"record_length":96,"hex_timestamp":"000001a016340ca8"} 
[2026-08-19 00:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-19 00:21:38] 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-08-19 00: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-08-19 00:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492122624001,"66":26082,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492122624001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:21:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:21:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492122624001,"power":26082,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":157622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:21:38] local.INFO: GPS data processed {"connection_id":157622,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:21:38] local.INFO: Acknowledgment sent {"connection_id":157622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:22:06] local.INFO: TCP Data received {"connection_id":157623,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:22:06] local.INFO: Processing buffer {"connection_id":157623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:22:06] local.INFO: IMEI packet received {"connection_id":157623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":157623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:22:11] local.INFO: TCP Data received {"connection_id":157623,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:22:11] local.INFO: Processing buffer {"connection_id":157623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:22:11] local.INFO: IMEI packet received {"connection_id":157623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":157623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:22:12] local.INFO: TCP Data received {"connection_id":157623,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:22:12] local.INFO: Processing buffer {"connection_id":157623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:22:12] local.INFO: Packet analysis {"connection_id":157623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:22:12] local.INFO: Extracted packet for processing {"connection_id":157623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:22:12] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492122624001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:22:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787078905000,"timestamp_ms":1787078905000,"timestamp_seconds":1787078905,"priority":1,"record_length":96,"hex_timestamp":"000001a016340ca8"} 
[2026-08-19 00:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:22:12] 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-08-19 00:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-19 00:22:12] 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-08-19 00:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492122624001,"66":26082,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492122624001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:22:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:22:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:22:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492122624001,"power":26082,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":157623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:22:12] local.INFO: GPS data processed {"connection_id":157623,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:22:12] local.INFO: Acknowledgment sent {"connection_id":157623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:22:43] local.INFO: TCP Data received {"connection_id":157623,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:22:43] local.INFO: Processing buffer {"connection_id":157623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:22:43] local.INFO: Packet analysis {"connection_id":157623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:22:43] local.INFO: Extracted packet for processing {"connection_id":157623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:22:43] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492122624001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:22:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787078905000,"timestamp_ms":1787078905000,"timestamp_seconds":1787078905,"priority":1,"record_length":96,"hex_timestamp":"000001a016340ca8"} 
[2026-08-19 00:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:22:43] 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-08-19 00: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-19 00:22:43] 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-08-19 00: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-08-19 00:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492122624001,"66":26082,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492122624001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:22:43] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:22:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:22:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492122624001,"power":26082,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":157623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:22:43] local.INFO: GPS data processed {"connection_id":157623,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:22:43] local.INFO: Acknowledgment sent {"connection_id":157623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:23:01] local.INFO: TCP Data received {"connection_id":158519,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:23:01] local.INFO: Processing buffer {"connection_id":158519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:23:01] local.INFO: IMEI packet received {"connection_id":158519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":158519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:23:06] local.INFO: TCP Data received {"connection_id":158519,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:23:06] local.INFO: Processing buffer {"connection_id":158519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:23:06] local.INFO: IMEI packet received {"connection_id":158519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":158519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:23:07] local.INFO: TCP Data received {"connection_id":158519,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:23:07] local.INFO: Processing buffer {"connection_id":158519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:23:07] local.INFO: Packet analysis {"connection_id":158519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:23:07] local.INFO: Extracted packet for processing {"connection_id":158519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:23:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492122624001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:23:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787078905000,"timestamp_ms":1787078905000,"timestamp_seconds":1787078905,"priority":1,"record_length":96,"hex_timestamp":"000001a016340ca8"} 
[2026-08-19 00:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-19 00:23:07] 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-08-19 00: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-08-19 00:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492122624001,"66":26082,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492122624001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:23:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:23:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492122624001,"power":26082,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":158519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:23:07] local.INFO: GPS data processed {"connection_id":158519,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:23:07] local.INFO: Acknowledgment sent {"connection_id":158519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:23:38] local.INFO: TCP Data received {"connection_id":158519,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:23:38] local.INFO: Processing buffer {"connection_id":158519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016340ca8012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:23:38] local.INFO: Packet analysis {"connection_id":158519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:23:38] local.INFO: Extracted packet for processing {"connection_id":158519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01634"} 
[2026-08-19 00:23:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492122624001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:23:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787078905000,"timestamp_ms":1787078905000,"timestamp_seconds":1787078905,"priority":1,"record_length":96,"hex_timestamp":"000001a016340ca8"} 
[2026-08-19 00:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-08-19 00:23:38] 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-08-19 00: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-08-19 00:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492122624001,"66":26082,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492122624001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:23:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:23:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:23:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492122624001,"power":26082,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":158519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:23:38] local.INFO: GPS data processed {"connection_id":158519,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:23:38] local.INFO: Acknowledgment sent {"connection_id":158519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:24:01] local.INFO: TCP Data received {"connection_id":159806,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:24:01] local.INFO: Processing buffer {"connection_id":159806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:24:01] local.INFO: IMEI packet received {"connection_id":159806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":159806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:24:04] local.INFO: TCP Data received {"connection_id":159806,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:24:04] local.INFO: Processing buffer {"connection_id":159806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:24:04] local.INFO: IMEI packet received {"connection_id":159806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":159806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:24:05] local.INFO: TCP Data received {"connection_id":159806,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:24:05] local.INFO: Processing buffer {"connection_id":159806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:24:05] local.INFO: Packet analysis {"connection_id":159806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:24:05] local.INFO: Extracted packet for processing {"connection_id":159806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:24:05] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492199680001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:24:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787079206000,"timestamp_ms":1787079206000,"timestamp_seconds":1787079206,"priority":1,"record_length":96,"hex_timestamp":"000001a01638a470"} 
[2026-08-19 00:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:24: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-08-19 00: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-19 00:24: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-08-19 00:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492199680001,"66":26006,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492199680001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:24:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:24:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492199680001,"power":26006,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":159806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:24:05] local.INFO: GPS data processed {"connection_id":159806,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:24:05] local.INFO: Acknowledgment sent {"connection_id":159806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:24:36] local.INFO: TCP Data received {"connection_id":159806,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:24:36] local.INFO: Processing buffer {"connection_id":159806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:24:36] local.INFO: Packet analysis {"connection_id":159806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:24:36] local.INFO: Extracted packet for processing {"connection_id":159806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:24:36] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492199680001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:24:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787079206000,"timestamp_ms":1787079206000,"timestamp_seconds":1787079206,"priority":1,"record_length":96,"hex_timestamp":"000001a01638a470"} 
[2026-08-19 00:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-19 00:24:36] 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-08-19 00:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492199680001,"66":26006,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492199680001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:24:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:24:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492199680001,"power":26006,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":159806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:24:36] local.INFO: GPS data processed {"connection_id":159806,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:24:36] local.INFO: Acknowledgment sent {"connection_id":159806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:25:01] local.INFO: TCP Data received {"connection_id":157261,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:25:01] local.INFO: Processing buffer {"connection_id":157261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:25:01] local.INFO: IMEI packet received {"connection_id":157261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":157261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:25:06] local.INFO: TCP Data received {"connection_id":157261,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:25:06] local.INFO: Processing buffer {"connection_id":157261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:25:06] local.INFO: IMEI packet received {"connection_id":157261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":157261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:25:07] local.INFO: TCP Data received {"connection_id":157261,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:25:07] local.INFO: Processing buffer {"connection_id":157261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:25:07] local.INFO: Packet analysis {"connection_id":157261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:25:07] local.INFO: Extracted packet for processing {"connection_id":157261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:25:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492199680001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:25:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787079206000,"timestamp_ms":1787079206000,"timestamp_seconds":1787079206,"priority":1,"record_length":96,"hex_timestamp":"000001a01638a470"} 
[2026-08-19 00:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-19 00:25:07] 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-08-19 00: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-08-19 00:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492199680001,"66":26006,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492199680001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:25:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:25:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492199680001,"power":26006,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":157261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:25:07] local.INFO: GPS data processed {"connection_id":157261,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:25:07] local.INFO: Acknowledgment sent {"connection_id":157261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:25:38] local.INFO: TCP Data received {"connection_id":157261,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:25:38] local.INFO: Processing buffer {"connection_id":157261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:25:38] local.INFO: Packet analysis {"connection_id":157261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:25:38] local.INFO: Extracted packet for processing {"connection_id":157261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:25:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492199680001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:25:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787079206000,"timestamp_ms":1787079206000,"timestamp_seconds":1787079206,"priority":1,"record_length":96,"hex_timestamp":"000001a01638a470"} 
[2026-08-19 00:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-19 00:25:38] 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-08-19 00: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-08-19 00:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492199680001,"66":26006,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492199680001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:25:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:25:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:25:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492199680001,"power":26006,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":157261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:25:38] local.INFO: GPS data processed {"connection_id":157261,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:25:38] local.INFO: Acknowledgment sent {"connection_id":157261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:26:06] local.INFO: TCP Data received {"connection_id":158520,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:26:06] local.INFO: Processing buffer {"connection_id":158520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:26:06] local.INFO: IMEI packet received {"connection_id":158520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":158520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:26:11] local.INFO: TCP Data received {"connection_id":158520,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:26:11] local.INFO: Processing buffer {"connection_id":158520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:26:11] local.INFO: IMEI packet received {"connection_id":158520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":158520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:26:12] local.INFO: TCP Data received {"connection_id":158520,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:26:12] local.INFO: Processing buffer {"connection_id":158520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:26:12] local.INFO: Packet analysis {"connection_id":158520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:26:12] local.INFO: Extracted packet for processing {"connection_id":158520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:26:12] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492199680001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:26:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787079206000,"timestamp_ms":1787079206000,"timestamp_seconds":1787079206,"priority":1,"record_length":96,"hex_timestamp":"000001a01638a470"} 
[2026-08-19 00:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:26:12] 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-08-19 00:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-19 00:26:12] 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-08-19 00:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492199680001,"66":26006,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492199680001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:26:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:26:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:26:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492199680001,"power":26006,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":158520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:26:12] local.INFO: GPS data processed {"connection_id":158520,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:26:12] local.INFO: Acknowledgment sent {"connection_id":158520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:26:16] local.INFO: TCP Data received {"connection_id":158520,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:26:16] local.INFO: Processing buffer {"connection_id":158520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:26:16] local.INFO: Packet analysis {"connection_id":158520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:26:16] local.INFO: Extracted packet for processing {"connection_id":158520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:26:16] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492199680001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:26:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787079206000,"timestamp_ms":1787079206000,"timestamp_seconds":1787079206,"priority":1,"record_length":96,"hex_timestamp":"000001a01638a470"} 
[2026-08-19 00:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:26:16] 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-08-19 00: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-19 00:26:16] 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-08-19 00: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-08-19 00:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492199680001,"66":26006,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492199680001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:26:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:26:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:26:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492199680001,"power":26006,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":158520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:26:16] local.INFO: GPS data processed {"connection_id":158520,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:26:16] local.INFO: Acknowledgment sent {"connection_id":158520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:27:01] local.INFO: TCP Data received {"connection_id":157262,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:27:01] local.INFO: Processing buffer {"connection_id":157262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:27:01] local.INFO: IMEI packet received {"connection_id":157262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":157262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:27:06] local.INFO: TCP Data received {"connection_id":157262,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:27:06] local.INFO: Processing buffer {"connection_id":157262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:27:06] local.INFO: IMEI packet received {"connection_id":157262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":157262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:27:07] local.INFO: TCP Data received {"connection_id":157262,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:27:07] local.INFO: Processing buffer {"connection_id":157262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:27:07] local.INFO: Packet analysis {"connection_id":157262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:27:07] local.INFO: Extracted packet for processing {"connection_id":157262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:27:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492199680001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:27:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787079206000,"timestamp_ms":1787079206000,"timestamp_seconds":1787079206,"priority":1,"record_length":96,"hex_timestamp":"000001a01638a470"} 
[2026-08-19 00:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-19 00:27:07] 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-08-19 00:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492199680001,"66":26006,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492199680001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:27:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:27:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:27:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492199680001,"power":26006,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":157262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:27:07] local.INFO: GPS data processed {"connection_id":157262,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:27:07] local.INFO: Acknowledgment sent {"connection_id":157262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:27:38] local.INFO: TCP Data received {"connection_id":157262,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:27:38] local.INFO: Processing buffer {"connection_id":157262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:27:38] local.INFO: Packet analysis {"connection_id":157262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:27:38] local.INFO: Extracted packet for processing {"connection_id":157262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:27:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492199680001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:27:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787079206000,"timestamp_ms":1787079206000,"timestamp_seconds":1787079206,"priority":1,"record_length":96,"hex_timestamp":"000001a01638a470"} 
[2026-08-19 00:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-19 00:27:38] 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-08-19 00:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492199680001,"66":26006,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492199680001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:27:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:27:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:27:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492199680001,"power":26006,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":157262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:27:38] local.INFO: GPS data processed {"connection_id":157262,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:27:38] local.INFO: Acknowledgment sent {"connection_id":157262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:28:01] local.INFO: TCP Data received {"connection_id":159807,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:28:01] local.INFO: Processing buffer {"connection_id":159807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:28:01] local.INFO: IMEI packet received {"connection_id":159807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":159807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:28:06] local.INFO: TCP Data received {"connection_id":159807,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:28:06] local.INFO: Processing buffer {"connection_id":159807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:28:06] local.INFO: IMEI packet received {"connection_id":159807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":159807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:28:07] local.INFO: TCP Data received {"connection_id":159807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:28:07] local.INFO: Processing buffer {"connection_id":159807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:28:07] local.INFO: Packet analysis {"connection_id":159807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:28:07] local.INFO: Extracted packet for processing {"connection_id":159807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:28:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492199680001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:28:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787079206000,"timestamp_ms":1787079206000,"timestamp_seconds":1787079206,"priority":1,"record_length":96,"hex_timestamp":"000001a01638a470"} 
[2026-08-19 00:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-19 00:28:07] 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-08-19 00: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-08-19 00:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492199680001,"66":26006,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492199680001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:28:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:28:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492199680001,"power":26006,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":159807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:28:07] local.INFO: GPS data processed {"connection_id":159807,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:28:07] local.INFO: Acknowledgment sent {"connection_id":159807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:28:38] local.INFO: TCP Data received {"connection_id":159807,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:28:38] local.INFO: Processing buffer {"connection_id":159807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01638a470012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:28:38] local.INFO: Packet analysis {"connection_id":159807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:28:38] local.INFO: Extracted packet for processing {"connection_id":159807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01638"} 
[2026-08-19 00:28:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492199680001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:28:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787079206000,"timestamp_ms":1787079206000,"timestamp_seconds":1787079206,"priority":1,"record_length":96,"hex_timestamp":"000001a01638a470"} 
[2026-08-19 00:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-19 00:28:38] 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-08-19 00: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-08-19 00:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492199680001,"66":26006,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492199680001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:28:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:28:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:28:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492199680001,"power":26006,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":159807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:28:38] local.INFO: GPS data processed {"connection_id":159807,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:28:38] local.INFO: Acknowledgment sent {"connection_id":159807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:29:01] local.INFO: TCP Data received {"connection_id":158521,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:29:01] local.INFO: Processing buffer {"connection_id":158521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:29:01] local.INFO: IMEI packet received {"connection_id":158521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":158521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:29:05] local.INFO: TCP Data received {"connection_id":158521,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:29:05] local.INFO: Processing buffer {"connection_id":158521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:29:05] local.INFO: IMEI packet received {"connection_id":158521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":158521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:29:06] local.INFO: TCP Data received {"connection_id":158521,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:29:06] local.INFO: Processing buffer {"connection_id":158521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:29:06] local.INFO: Packet analysis {"connection_id":158521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:29:06] local.INFO: Extracted packet for processing {"connection_id":158521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:29:06] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492276736001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:29:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787079507000,"timestamp_ms":1787079507000,"timestamp_seconds":1787079507,"priority":1,"record_length":96,"hex_timestamp":"000001a0163d3c38"} 
[2026-08-19 00:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 00:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00: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-08-19 00:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492276736001,"66":25952,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492276736001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:29:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:29:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492276736001,"power":25952,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":158521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:29:06] local.INFO: GPS data processed {"connection_id":158521,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:29:06] local.INFO: Acknowledgment sent {"connection_id":158521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:29:37] local.INFO: TCP Data received {"connection_id":158521,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:29:37] local.INFO: Processing buffer {"connection_id":158521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:29:37] local.INFO: Packet analysis {"connection_id":158521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:29:37] local.INFO: Extracted packet for processing {"connection_id":158521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:29:37] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492276736001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:29:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787079507000,"timestamp_ms":1787079507000,"timestamp_seconds":1787079507,"priority":1,"record_length":96,"hex_timestamp":"000001a0163d3c38"} 
[2026-08-19 00:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:29: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-08-19 00: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 00:29:37] 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-08-19 00: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-08-19 00:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492276736001,"66":25952,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492276736001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:29:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:29:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:29:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492276736001,"power":25952,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":158521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:29:37] local.INFO: GPS data processed {"connection_id":158521,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:29:37] local.INFO: Acknowledgment sent {"connection_id":158521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:30:06] local.INFO: TCP Data received {"connection_id":158522,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:30:06] local.INFO: Processing buffer {"connection_id":158522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:30:06] local.INFO: IMEI packet received {"connection_id":158522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":158522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:30:11] local.INFO: TCP Data received {"connection_id":158522,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:30:11] local.INFO: Processing buffer {"connection_id":158522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:30:11] local.INFO: IMEI packet received {"connection_id":158522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":158522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:30:12] local.INFO: TCP Data received {"connection_id":158522,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:30:12] local.INFO: Processing buffer {"connection_id":158522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:30:12] local.INFO: Packet analysis {"connection_id":158522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:30:12] local.INFO: Extracted packet for processing {"connection_id":158522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:30:12] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492276736001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:30:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787079507000,"timestamp_ms":1787079507000,"timestamp_seconds":1787079507,"priority":1,"record_length":96,"hex_timestamp":"000001a0163d3c38"} 
[2026-08-19 00:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 00:30:12] 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-08-19 00:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492276736001,"66":25952,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492276736001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:30:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:30:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:30:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492276736001,"power":25952,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":158522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:30:12] local.INFO: GPS data processed {"connection_id":158522,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:30:12] local.INFO: Acknowledgment sent {"connection_id":158522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:30:16] local.INFO: TCP Data received {"connection_id":158522,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:30:16] local.INFO: Processing buffer {"connection_id":158522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:30:16] local.INFO: Packet analysis {"connection_id":158522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:30:16] local.INFO: Extracted packet for processing {"connection_id":158522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:30:16] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492276736001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:30:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787079507000,"timestamp_ms":1787079507000,"timestamp_seconds":1787079507,"priority":1,"record_length":96,"hex_timestamp":"000001a0163d3c38"} 
[2026-08-19 00:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:30: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-08-19 00: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 00:30:16] 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-08-19 00: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-08-19 00:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492276736001,"66":25952,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492276736001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:30:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:30:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:30:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492276736001,"power":25952,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":158522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:30:16] local.INFO: GPS data processed {"connection_id":158522,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:30:16] local.INFO: Acknowledgment sent {"connection_id":158522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:31:01] local.INFO: TCP Data received {"connection_id":157263,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:31:01] local.INFO: Processing buffer {"connection_id":157263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:31:01] local.INFO: IMEI packet received {"connection_id":157263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":157263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:31:06] local.INFO: TCP Data received {"connection_id":157263,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:31:06] local.INFO: Processing buffer {"connection_id":157263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:31:06] local.INFO: IMEI packet received {"connection_id":157263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":157263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:31:07] local.INFO: TCP Data received {"connection_id":157263,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:31:07] local.INFO: Processing buffer {"connection_id":157263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:31:07] local.INFO: Packet analysis {"connection_id":157263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:31:07] local.INFO: Extracted packet for processing {"connection_id":157263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:31:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492276736001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:31:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787079507000,"timestamp_ms":1787079507000,"timestamp_seconds":1787079507,"priority":1,"record_length":96,"hex_timestamp":"000001a0163d3c38"} 
[2026-08-19 00:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:31: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-08-19 00:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 00:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492276736001,"66":25952,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492276736001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:31:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:31:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:31:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492276736001,"power":25952,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":157263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:31:07] local.INFO: GPS data processed {"connection_id":157263,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:31:07] local.INFO: Acknowledgment sent {"connection_id":157263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:31:38] local.INFO: TCP Data received {"connection_id":157263,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:31:38] local.INFO: Processing buffer {"connection_id":157263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:31:38] local.INFO: Packet analysis {"connection_id":157263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:31:38] local.INFO: Extracted packet for processing {"connection_id":157263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:31:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492276736001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:31:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787079507000,"timestamp_ms":1787079507000,"timestamp_seconds":1787079507,"priority":1,"record_length":96,"hex_timestamp":"000001a0163d3c38"} 
[2026-08-19 00:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 00:31:38] 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-08-19 00: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-08-19 00:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492276736001,"66":25952,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492276736001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:31:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:31:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:31:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492276736001,"power":25952,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":157263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:31:38] local.INFO: GPS data processed {"connection_id":157263,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:31:38] local.INFO: Acknowledgment sent {"connection_id":157263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:32:01] local.INFO: TCP Data received {"connection_id":159808,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:32:01] local.INFO: Processing buffer {"connection_id":159808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:32:01] local.INFO: IMEI packet received {"connection_id":159808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":159808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:32:06] local.INFO: TCP Data received {"connection_id":159808,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:32:06] local.INFO: Processing buffer {"connection_id":159808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:32:06] local.INFO: IMEI packet received {"connection_id":159808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":159808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:32:07] local.INFO: TCP Data received {"connection_id":159808,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:32:07] local.INFO: Processing buffer {"connection_id":159808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:32:07] local.INFO: Packet analysis {"connection_id":159808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:32:07] local.INFO: Extracted packet for processing {"connection_id":159808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:32:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492276736001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:32:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787079507000,"timestamp_ms":1787079507000,"timestamp_seconds":1787079507,"priority":1,"record_length":96,"hex_timestamp":"000001a0163d3c38"} 
[2026-08-19 00:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:32: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-08-19 00: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 00:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00: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-08-19 00:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492276736001,"66":25952,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492276736001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:32:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:32:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492276736001,"power":25952,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":159808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:32:07] local.INFO: GPS data processed {"connection_id":159808,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:32:07] local.INFO: Acknowledgment sent {"connection_id":159808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:32:38] local.INFO: TCP Data received {"connection_id":159808,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:32:38] local.INFO: Processing buffer {"connection_id":159808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:32:38] local.INFO: Packet analysis {"connection_id":159808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:32:38] local.INFO: Extracted packet for processing {"connection_id":159808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:32:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492276736001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:32:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787079507000,"timestamp_ms":1787079507000,"timestamp_seconds":1787079507,"priority":1,"record_length":96,"hex_timestamp":"000001a0163d3c38"} 
[2026-08-19 00:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 00:32:38] 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-08-19 00: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-08-19 00:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492276736001,"66":25952,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492276736001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:32:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:32:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:32:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492276736001,"power":25952,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":159808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:32:38] local.INFO: GPS data processed {"connection_id":159808,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:32:38] local.INFO: Acknowledgment sent {"connection_id":159808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:33:01] local.INFO: TCP Data received {"connection_id":158523,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:33:01] local.INFO: Processing buffer {"connection_id":158523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:33:01] local.INFO: IMEI packet received {"connection_id":158523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":158523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:33:06] local.INFO: TCP Data received {"connection_id":158523,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:33:06] local.INFO: Processing buffer {"connection_id":158523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:33:06] local.INFO: IMEI packet received {"connection_id":158523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":158523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:33:07] local.INFO: TCP Data received {"connection_id":158523,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:33:07] local.INFO: Processing buffer {"connection_id":158523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:33:07] local.INFO: Packet analysis {"connection_id":158523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:33:07] local.INFO: Extracted packet for processing {"connection_id":158523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:33:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492276736001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:33:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787079507000,"timestamp_ms":1787079507000,"timestamp_seconds":1787079507,"priority":1,"record_length":96,"hex_timestamp":"000001a0163d3c38"} 
[2026-08-19 00:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:33: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-08-19 00: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 00:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00: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-08-19 00:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492276736001,"66":25952,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492276736001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:33:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:33:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:33:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492276736001,"power":25952,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":158523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:33:07] local.INFO: GPS data processed {"connection_id":158523,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:33:07] local.INFO: Acknowledgment sent {"connection_id":158523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:33:38] local.INFO: TCP Data received {"connection_id":158523,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:33:38] local.INFO: Processing buffer {"connection_id":158523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0163d3c38012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:33:38] local.INFO: Packet analysis {"connection_id":158523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:33:38] local.INFO: Extracted packet for processing {"connection_id":158523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0163d"} 
[2026-08-19 00:33:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492276736001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:33:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787079507000,"timestamp_ms":1787079507000,"timestamp_seconds":1787079507,"priority":1,"record_length":96,"hex_timestamp":"000001a0163d3c38"} 
[2026-08-19 00:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 00:33:38] 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-08-19 00: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-08-19 00:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492276736001,"66":25952,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492276736001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:33:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:33:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492276736001,"power":25952,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":158523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:33:38] local.INFO: GPS data processed {"connection_id":158523,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:33:38] local.INFO: Acknowledgment sent {"connection_id":158523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:34:01] local.INFO: TCP Data received {"connection_id":159809,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:34:01] local.INFO: Processing buffer {"connection_id":159809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:34:01] local.INFO: IMEI packet received {"connection_id":159809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":159809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:34:06] local.INFO: TCP Data received {"connection_id":159809,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:34:06] local.INFO: Processing buffer {"connection_id":159809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:34:06] local.INFO: IMEI packet received {"connection_id":159809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":159809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:34:07] local.INFO: TCP Data received {"connection_id":159809,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:34:07] local.INFO: Processing buffer {"connection_id":159809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:34:07] local.INFO: Packet analysis {"connection_id":159809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:34:07] local.INFO: Extracted packet for processing {"connection_id":159809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:34:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492353792001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:34:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787079808000,"timestamp_ms":1787079808000,"timestamp_seconds":1787079808,"priority":1,"record_length":96,"hex_timestamp":"000001a01641d400"} 
[2026-08-19 00:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 00:34:07] 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-08-19 00: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-08-19 00:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492353792001,"66":25875,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492353792001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:34:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:34:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:34:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492353792001,"power":25875,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":159809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:34:07] local.INFO: GPS data processed {"connection_id":159809,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:34:07] local.INFO: Acknowledgment sent {"connection_id":159809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:34:38] local.INFO: TCP Data received {"connection_id":159809,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:34:38] local.INFO: Processing buffer {"connection_id":159809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:34:38] local.INFO: Packet analysis {"connection_id":159809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:34:38] local.INFO: Extracted packet for processing {"connection_id":159809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:34:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492353792001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:34:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787079808000,"timestamp_ms":1787079808000,"timestamp_seconds":1787079808,"priority":1,"record_length":96,"hex_timestamp":"000001a01641d400"} 
[2026-08-19 00:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 00:34:38] 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-08-19 00: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-08-19 00:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492353792001,"66":25875,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492353792001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:34:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:34:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:34:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492353792001,"power":25875,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":159809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:34:38] local.INFO: GPS data processed {"connection_id":159809,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:34:38] local.INFO: Acknowledgment sent {"connection_id":159809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:35:01] local.INFO: TCP Data received {"connection_id":158524,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:35:01] local.INFO: Processing buffer {"connection_id":158524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:35:01] local.INFO: IMEI packet received {"connection_id":158524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":158524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:35:06] local.INFO: TCP Data received {"connection_id":158524,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:35:06] local.INFO: Processing buffer {"connection_id":158524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:35:06] local.INFO: IMEI packet received {"connection_id":158524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":158524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:35:07] local.INFO: TCP Data received {"connection_id":158524,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:35:07] local.INFO: Processing buffer {"connection_id":158524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:35:07] local.INFO: Packet analysis {"connection_id":158524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:35:07] local.INFO: Extracted packet for processing {"connection_id":158524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:35:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492353792001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:35:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787079808000,"timestamp_ms":1787079808000,"timestamp_seconds":1787079808,"priority":1,"record_length":96,"hex_timestamp":"000001a01641d400"} 
[2026-08-19 00:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 00:35:07] 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-08-19 00: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-08-19 00:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492353792001,"66":25875,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492353792001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:35:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:35:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:35:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492353792001,"power":25875,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":158524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:35:07] local.INFO: GPS data processed {"connection_id":158524,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:35:07] local.INFO: Acknowledgment sent {"connection_id":158524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:35:38] local.INFO: TCP Data received {"connection_id":158524,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:35:38] local.INFO: Processing buffer {"connection_id":158524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:35:38] local.INFO: Packet analysis {"connection_id":158524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:35:38] local.INFO: Extracted packet for processing {"connection_id":158524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:35:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492353792001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:35:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787079808000,"timestamp_ms":1787079808000,"timestamp_seconds":1787079808,"priority":1,"record_length":96,"hex_timestamp":"000001a01641d400"} 
[2026-08-19 00:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 00:35:38] 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-08-19 00: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-08-19 00:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492353792001,"66":25875,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492353792001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:35:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:35:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:35:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492353792001,"power":25875,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":158524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:35:38] local.INFO: GPS data processed {"connection_id":158524,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:35:38] local.INFO: Acknowledgment sent {"connection_id":158524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:36:01] local.INFO: TCP Data received {"connection_id":157264,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:36:01] local.INFO: Processing buffer {"connection_id":157264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:36:01] local.INFO: IMEI packet received {"connection_id":157264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":157264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:36:06] local.INFO: TCP Data received {"connection_id":157264,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:36:06] local.INFO: Processing buffer {"connection_id":157264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:36:06] local.INFO: IMEI packet received {"connection_id":157264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":157264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:36:07] local.INFO: TCP Data received {"connection_id":157264,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:36:07] local.INFO: Processing buffer {"connection_id":157264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:36:07] local.INFO: Packet analysis {"connection_id":157264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:36:07] local.INFO: Extracted packet for processing {"connection_id":157264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:36:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492353792001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:36:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787079808000,"timestamp_ms":1787079808000,"timestamp_seconds":1787079808,"priority":1,"record_length":96,"hex_timestamp":"000001a01641d400"} 
[2026-08-19 00:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 00:36:07] 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-08-19 00: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-08-19 00:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492353792001,"66":25875,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492353792001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:36:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:36:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492353792001,"power":25875,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":157264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:36:07] local.INFO: GPS data processed {"connection_id":157264,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:36:07] local.INFO: Acknowledgment sent {"connection_id":157264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:36:39] local.INFO: TCP Data received {"connection_id":157264,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:36:39] local.INFO: Processing buffer {"connection_id":157264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:36:39] local.INFO: Packet analysis {"connection_id":157264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:36:39] local.INFO: Extracted packet for processing {"connection_id":157264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:36:39] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492353792001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:36:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787079808000,"timestamp_ms":1787079808000,"timestamp_seconds":1787079808,"priority":1,"record_length":96,"hex_timestamp":"000001a01641d400"} 
[2026-08-19 00:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 00:36:39] 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-08-19 00:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492353792001,"66":25875,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492353792001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:36:39] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:36:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:36:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492353792001,"power":25875,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":157264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:36:39] local.INFO: GPS data processed {"connection_id":157264,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:36:39] local.INFO: Acknowledgment sent {"connection_id":157264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:37:01] local.INFO: TCP Data received {"connection_id":159810,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:37:01] local.INFO: Processing buffer {"connection_id":159810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:37:01] local.INFO: IMEI packet received {"connection_id":159810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":159810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:37:06] local.INFO: TCP Data received {"connection_id":159810,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:37:06] local.INFO: Processing buffer {"connection_id":159810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:37:06] local.INFO: IMEI packet received {"connection_id":159810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":159810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:37:07] local.INFO: TCP Data received {"connection_id":159810,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:37:07] local.INFO: Processing buffer {"connection_id":159810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:37:07] local.INFO: Packet analysis {"connection_id":159810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:37:07] local.INFO: Extracted packet for processing {"connection_id":159810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:37:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492353792001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:37:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787079808000,"timestamp_ms":1787079808000,"timestamp_seconds":1787079808,"priority":1,"record_length":96,"hex_timestamp":"000001a01641d400"} 
[2026-08-19 00:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 00:37:07] 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-08-19 00: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-08-19 00:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492353792001,"66":25875,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492353792001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:37:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:37:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492353792001,"power":25875,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":159810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:37:07] local.INFO: GPS data processed {"connection_id":159810,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:37:07] local.INFO: Acknowledgment sent {"connection_id":159810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:37:38] local.INFO: TCP Data received {"connection_id":159810,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:37:38] local.INFO: Processing buffer {"connection_id":159810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:37:38] local.INFO: Packet analysis {"connection_id":159810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:37:38] local.INFO: Extracted packet for processing {"connection_id":159810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:37:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492353792001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:37:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787079808000,"timestamp_ms":1787079808000,"timestamp_seconds":1787079808,"priority":1,"record_length":96,"hex_timestamp":"000001a01641d400"} 
[2026-08-19 00:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 00:37:38] 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-08-19 00:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492353792001,"66":25875,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492353792001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:37:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:37:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:37:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492353792001,"power":25875,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":159810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:37:38] local.INFO: GPS data processed {"connection_id":159810,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:37:38] local.INFO: Acknowledgment sent {"connection_id":159810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:38:01] local.INFO: TCP Data received {"connection_id":158525,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:38:01] local.INFO: Processing buffer {"connection_id":158525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:38:01] local.INFO: IMEI packet received {"connection_id":158525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":158525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:38:06] local.INFO: TCP Data received {"connection_id":158525,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:38:06] local.INFO: Processing buffer {"connection_id":158525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:38:06] local.INFO: IMEI packet received {"connection_id":158525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":158525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:38:07] local.INFO: TCP Data received {"connection_id":158525,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:38:07] local.INFO: Processing buffer {"connection_id":158525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:38:07] local.INFO: Packet analysis {"connection_id":158525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:38:07] local.INFO: Extracted packet for processing {"connection_id":158525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:38:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492353792001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:38:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787079808000,"timestamp_ms":1787079808000,"timestamp_seconds":1787079808,"priority":1,"record_length":96,"hex_timestamp":"000001a01641d400"} 
[2026-08-19 00:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 00:38:07] 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-08-19 00: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-08-19 00:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492353792001,"66":25875,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492353792001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:38:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:38:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492353792001,"power":25875,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":158525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:38:07] local.INFO: GPS data processed {"connection_id":158525,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:38:07] local.INFO: Acknowledgment sent {"connection_id":158525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:38:38] local.INFO: TCP Data received {"connection_id":158525,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:38:38] local.INFO: Processing buffer {"connection_id":158525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01641d400012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:38:38] local.INFO: Packet analysis {"connection_id":158525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:38:38] local.INFO: Extracted packet for processing {"connection_id":158525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01641"} 
[2026-08-19 00:38:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492353792001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:38:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787079808000,"timestamp_ms":1787079808000,"timestamp_seconds":1787079808,"priority":1,"record_length":96,"hex_timestamp":"000001a01641d400"} 
[2026-08-19 00:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 00:38:38] 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-08-19 00: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-08-19 00:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492353792001,"66":25875,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492353792001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:38:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:38:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:38:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492353792001,"power":25875,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":158525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:38:38] local.INFO: GPS data processed {"connection_id":158525,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:38:38] local.INFO: Acknowledgment sent {"connection_id":158525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:39:06] local.INFO: TCP Data received {"connection_id":158526,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:39:06] local.INFO: Processing buffer {"connection_id":158526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:39:06] local.INFO: IMEI packet received {"connection_id":158526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":158526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:39:07] local.INFO: TCP Data received {"connection_id":158526,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:39:07] local.INFO: Processing buffer {"connection_id":158526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:39:07] local.INFO: IMEI packet received {"connection_id":158526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":158526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:39:07] local.INFO: TCP Data received {"connection_id":158526,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:39:07] local.INFO: Processing buffer {"connection_id":158526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:39:07] local.INFO: Packet analysis {"connection_id":158526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:39:07] local.INFO: Extracted packet for processing {"connection_id":158526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:39:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":47,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492430848001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:39:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787080109000,"timestamp_ms":1787080109000,"timestamp_seconds":1787080109,"priority":1,"record_length":96,"hex_timestamp":"000001a016466bc8"} 
[2026-08-19 00:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:39: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-08-19 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 00:39:07] 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-08-19 00: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-08-19 00:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492430848001,"66":25843,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492430848001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:39:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:39:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492430848001,"power":25843,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":158526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:39:07] local.INFO: GPS data processed {"connection_id":158526,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:39:07] local.INFO: Acknowledgment sent {"connection_id":158526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:39:11] local.INFO: TCP Data received {"connection_id":158526,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:39:11] local.INFO: Processing buffer {"connection_id":158526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:39:11] local.INFO: Packet analysis {"connection_id":158526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:39:11] local.INFO: Extracted packet for processing {"connection_id":158526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:39:11] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":47,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492430848001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:39:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787080109000,"timestamp_ms":1787080109000,"timestamp_seconds":1787080109,"priority":1,"record_length":96,"hex_timestamp":"000001a016466bc8"} 
[2026-08-19 00:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 00:39:11] 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-08-19 00: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-08-19 00:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492430848001,"66":25843,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492430848001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:39:11] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:39:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492430848001,"power":25843,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":158526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:39:11] local.INFO: GPS data processed {"connection_id":158526,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:39:11] local.INFO: Acknowledgment sent {"connection_id":158526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:39:42] local.INFO: TCP Data received {"connection_id":158526,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:39:42] local.INFO: Processing buffer {"connection_id":158526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:39:42] local.INFO: Packet analysis {"connection_id":158526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:39:42] local.INFO: Extracted packet for processing {"connection_id":158526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:39:42] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":47,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492430848001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787080109000,"timestamp_ms":1787080109000,"timestamp_seconds":1787080109,"priority":1,"record_length":96,"hex_timestamp":"000001a016466bc8"} 
[2026-08-19 00:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 00:39:42] 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-08-19 00:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492430848001,"66":25843,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492430848001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:39:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:39:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:39:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492430848001,"power":25843,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":158526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:39:42] local.INFO: GPS data processed {"connection_id":158526,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:39:42] local.INFO: Acknowledgment sent {"connection_id":158526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:40:01] local.INFO: TCP Data received {"connection_id":159811,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:40:01] local.INFO: Processing buffer {"connection_id":159811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:40:01] local.INFO: IMEI packet received {"connection_id":159811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":159811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:40:06] local.INFO: TCP Data received {"connection_id":159811,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:40:06] local.INFO: Processing buffer {"connection_id":159811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:40:06] local.INFO: IMEI packet received {"connection_id":159811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":159811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:40:07] local.INFO: TCP Data received {"connection_id":159811,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:40:07] local.INFO: Processing buffer {"connection_id":159811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:40:07] local.INFO: Packet analysis {"connection_id":159811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:40:07] local.INFO: Extracted packet for processing {"connection_id":159811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:40:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":47,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492430848001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:40:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787080109000,"timestamp_ms":1787080109000,"timestamp_seconds":1787080109,"priority":1,"record_length":96,"hex_timestamp":"000001a016466bc8"} 
[2026-08-19 00:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:40: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-08-19 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 00:40:07] 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-08-19 00: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-08-19 00:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492430848001,"66":25843,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492430848001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:40:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:40:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492430848001,"power":25843,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":159811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:40:07] local.INFO: GPS data processed {"connection_id":159811,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:40:07] local.INFO: Acknowledgment sent {"connection_id":159811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:40:38] local.INFO: TCP Data received {"connection_id":159811,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:40:38] local.INFO: Processing buffer {"connection_id":159811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:40:38] local.INFO: Packet analysis {"connection_id":159811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:40:38] local.INFO: Extracted packet for processing {"connection_id":159811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:40:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":47,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492430848001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:40:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787080109000,"timestamp_ms":1787080109000,"timestamp_seconds":1787080109,"priority":1,"record_length":96,"hex_timestamp":"000001a016466bc8"} 
[2026-08-19 00:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 00:40:38] 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-08-19 00:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492430848001,"66":25843,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492430848001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:40:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:40:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:40:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492430848001,"power":25843,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":159811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:40:38] local.INFO: GPS data processed {"connection_id":159811,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:40:38] local.INFO: Acknowledgment sent {"connection_id":159811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:41:01] local.INFO: TCP Data received {"connection_id":158527,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:41:01] local.INFO: Processing buffer {"connection_id":158527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:41:01] local.INFO: IMEI packet received {"connection_id":158527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":158527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:41:06] local.INFO: TCP Data received {"connection_id":158527,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:41:06] local.INFO: Processing buffer {"connection_id":158527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:41:06] local.INFO: IMEI packet received {"connection_id":158527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":158527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:41:07] local.INFO: TCP Data received {"connection_id":158527,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:41:07] local.INFO: Processing buffer {"connection_id":158527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:41:07] local.INFO: Packet analysis {"connection_id":158527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:41:07] local.INFO: Extracted packet for processing {"connection_id":158527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:41:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":47,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492430848001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:41:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787080109000,"timestamp_ms":1787080109000,"timestamp_seconds":1787080109,"priority":1,"record_length":96,"hex_timestamp":"000001a016466bc8"} 
[2026-08-19 00:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:41: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-08-19 00:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 00:41:07] 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-08-19 00:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492430848001,"66":25843,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492430848001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:41:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:41:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:41:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492430848001,"power":25843,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":158527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:41:07] local.INFO: GPS data processed {"connection_id":158527,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:41:07] local.INFO: Acknowledgment sent {"connection_id":158527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:41:38] local.INFO: TCP Data received {"connection_id":158527,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:41:38] local.INFO: Processing buffer {"connection_id":158527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:41:38] local.INFO: Packet analysis {"connection_id":158527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:41:38] local.INFO: Extracted packet for processing {"connection_id":158527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:41:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":47,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492430848001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:41:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787080109000,"timestamp_ms":1787080109000,"timestamp_seconds":1787080109,"priority":1,"record_length":96,"hex_timestamp":"000001a016466bc8"} 
[2026-08-19 00:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 00:41:38] 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-08-19 00: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-08-19 00:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492430848001,"66":25843,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492430848001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:41:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:41:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492430848001,"power":25843,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":158527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:41:38] local.INFO: GPS data processed {"connection_id":158527,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:41:38] local.INFO: Acknowledgment sent {"connection_id":158527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:42:01] local.INFO: TCP Data received {"connection_id":157624,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:42:01] local.INFO: Processing buffer {"connection_id":157624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:42:01] local.INFO: IMEI packet received {"connection_id":157624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":157624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:42:06] local.INFO: TCP Data received {"connection_id":157624,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:42:06] local.INFO: Processing buffer {"connection_id":157624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:42:06] local.INFO: IMEI packet received {"connection_id":157624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":157624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:42:07] local.INFO: TCP Data received {"connection_id":157624,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:42:07] local.INFO: Processing buffer {"connection_id":157624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:42:07] local.INFO: Packet analysis {"connection_id":157624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:42:07] local.INFO: Extracted packet for processing {"connection_id":157624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:42:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":47,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492430848001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:42:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787080109000,"timestamp_ms":1787080109000,"timestamp_seconds":1787080109,"priority":1,"record_length":96,"hex_timestamp":"000001a016466bc8"} 
[2026-08-19 00:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:42: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-08-19 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 00:42:07] 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-08-19 00: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-08-19 00:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492430848001,"66":25843,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492430848001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:42:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:42:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:42:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492430848001,"power":25843,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":157624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:42:07] local.INFO: GPS data processed {"connection_id":157624,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:42:07] local.INFO: Acknowledgment sent {"connection_id":157624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:42:38] local.INFO: TCP Data received {"connection_id":157624,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:42:38] local.INFO: Processing buffer {"connection_id":157624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:42:38] local.INFO: Packet analysis {"connection_id":157624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:42:38] local.INFO: Extracted packet for processing {"connection_id":157624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:42:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":47,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492430848001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:42:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787080109000,"timestamp_ms":1787080109000,"timestamp_seconds":1787080109,"priority":1,"record_length":96,"hex_timestamp":"000001a016466bc8"} 
[2026-08-19 00:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 00:42:38] 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-08-19 00: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-08-19 00:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492430848001,"66":25843,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492430848001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:42:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:42:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:42:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492430848001,"power":25843,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":157624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:42:38] local.INFO: GPS data processed {"connection_id":157624,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:42:38] local.INFO: Acknowledgment sent {"connection_id":157624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:43:06] local.INFO: TCP Data received {"connection_id":157625,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:43:06] local.INFO: Processing buffer {"connection_id":157625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:43:06] local.INFO: IMEI packet received {"connection_id":157625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":157625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:43:11] local.INFO: TCP Data received {"connection_id":157625,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:43:11] local.INFO: Processing buffer {"connection_id":157625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:43:11] local.INFO: IMEI packet received {"connection_id":157625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":157625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:43:12] local.INFO: TCP Data received {"connection_id":157625,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:43:12] local.INFO: Processing buffer {"connection_id":157625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:43:12] local.INFO: Packet analysis {"connection_id":157625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:43:12] local.INFO: Extracted packet for processing {"connection_id":157625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:43:12] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":47,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492430848001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:43:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787080109000,"timestamp_ms":1787080109000,"timestamp_seconds":1787080109,"priority":1,"record_length":96,"hex_timestamp":"000001a016466bc8"} 
[2026-08-19 00:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 00:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492430848001,"66":25843,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492430848001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:43:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:43:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:43:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492430848001,"power":25843,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":157625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:43:12] local.INFO: GPS data processed {"connection_id":157625,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:43:12] local.INFO: Acknowledgment sent {"connection_id":157625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:43:16] local.INFO: TCP Data received {"connection_id":157625,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:43:16] local.INFO: Processing buffer {"connection_id":157625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:43:16] local.INFO: Packet analysis {"connection_id":157625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:43:16] local.INFO: Extracted packet for processing {"connection_id":157625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:43:16] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":47,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492430848001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:43:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787080109000,"timestamp_ms":1787080109000,"timestamp_seconds":1787080109,"priority":1,"record_length":96,"hex_timestamp":"000001a016466bc8"} 
[2026-08-19 00:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:43: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-08-19 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 00:43:16] 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-08-19 00: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-08-19 00:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492430848001,"66":25843,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492430848001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:43:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:43:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:43:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492430848001,"power":25843,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":157625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:43:16] local.INFO: GPS data processed {"connection_id":157625,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:43:16] local.INFO: Acknowledgment sent {"connection_id":157625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:44:01] local.INFO: TCP Data received {"connection_id":159812,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:44:01] local.INFO: Processing buffer {"connection_id":159812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:44:01] local.INFO: IMEI packet received {"connection_id":159812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":159812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:44:06] local.INFO: TCP Data received {"connection_id":159812,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:44:06] local.INFO: Processing buffer {"connection_id":159812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:44:06] local.INFO: IMEI packet received {"connection_id":159812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":159812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:44:07] local.INFO: TCP Data received {"connection_id":159812,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:44:07] local.INFO: Processing buffer {"connection_id":159812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016466bc8012ce45a0007241840000e008b2f..."} 
[2026-08-19 00:44:07] local.INFO: Packet analysis {"connection_id":159812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:44:07] local.INFO: Extracted packet for processing {"connection_id":159812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01646"} 
[2026-08-19 00:44:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":47,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492430848001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:44:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787080109000,"timestamp_ms":1787080109000,"timestamp_seconds":1787080109,"priority":1,"record_length":96,"hex_timestamp":"000001a016466bc8"} 
[2026-08-19 00:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:44: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-08-19 00: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 00:44:07] 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-08-19 00: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-08-19 00:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492430848001,"66":25843,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492430848001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:44:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:44:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492430848001,"power":25843,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":159812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:44:07] local.INFO: GPS data processed {"connection_id":159812,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:44:07] local.INFO: Acknowledgment sent {"connection_id":159812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:44:38] local.INFO: TCP Data received {"connection_id":159812,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:44:38] local.INFO: Processing buffer {"connection_id":159812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:44:38] local.INFO: Packet analysis {"connection_id":159812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:44:38] local.INFO: Extracted packet for processing {"connection_id":159812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:44:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492507904001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:44:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787080410000,"timestamp_ms":1787080410000,"timestamp_seconds":1787080410,"priority":1,"record_length":96,"hex_timestamp":"000001a0164b0390"} 
[2026-08-19 00:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-19 00:44:38] 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-08-19 00: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-08-19 00:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492507904001,"66":25299,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492507904001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:44:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:44:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:44:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492507904001,"power":25299,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":159812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:44:38] local.INFO: GPS data processed {"connection_id":159812,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:44:38] local.INFO: Acknowledgment sent {"connection_id":159812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:45:01] local.INFO: TCP Data received {"connection_id":159813,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:45:01] local.INFO: Processing buffer {"connection_id":159813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:45:01] local.INFO: IMEI packet received {"connection_id":159813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":159813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:45:06] local.INFO: TCP Data received {"connection_id":159813,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:45:06] local.INFO: Processing buffer {"connection_id":159813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:45:06] local.INFO: IMEI packet received {"connection_id":159813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":159813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:45:07] local.INFO: TCP Data received {"connection_id":159813,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:45:07] local.INFO: Processing buffer {"connection_id":159813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:45:07] local.INFO: Packet analysis {"connection_id":159813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:45:07] local.INFO: Extracted packet for processing {"connection_id":159813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:45:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492507904001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:45:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787080410000,"timestamp_ms":1787080410000,"timestamp_seconds":1787080410,"priority":1,"record_length":96,"hex_timestamp":"000001a0164b0390"} 
[2026-08-19 00:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-19 00:45:07] 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-08-19 00:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492507904001,"66":25299,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492507904001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:45:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:45:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492507904001,"power":25299,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":159813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:45:07] local.INFO: GPS data processed {"connection_id":159813,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:45:07] local.INFO: Acknowledgment sent {"connection_id":159813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:45:38] local.INFO: TCP Data received {"connection_id":159813,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:45:38] local.INFO: Processing buffer {"connection_id":159813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:45:38] local.INFO: Packet analysis {"connection_id":159813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:45:38] local.INFO: Extracted packet for processing {"connection_id":159813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:45:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492507904001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:45:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787080410000,"timestamp_ms":1787080410000,"timestamp_seconds":1787080410,"priority":1,"record_length":96,"hex_timestamp":"000001a0164b0390"} 
[2026-08-19 00:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-19 00:45:38] 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-08-19 00:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492507904001,"66":25299,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492507904001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:45:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:45:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492507904001,"power":25299,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":159813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:45:38] local.INFO: GPS data processed {"connection_id":159813,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:45:38] local.INFO: Acknowledgment sent {"connection_id":159813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:46:00] local.INFO: TCP Data received {"connection_id":157626,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:46:00] local.INFO: Processing buffer {"connection_id":157626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:46:00] local.INFO: IMEI packet received {"connection_id":157626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":157626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:46:06] local.INFO: TCP Data received {"connection_id":157626,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:46:06] local.INFO: Processing buffer {"connection_id":157626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:46:06] local.INFO: IMEI packet received {"connection_id":157626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":157626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:46:07] local.INFO: TCP Data received {"connection_id":157626,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:46:07] local.INFO: Processing buffer {"connection_id":157626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:46:07] local.INFO: Packet analysis {"connection_id":157626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:46:07] local.INFO: Extracted packet for processing {"connection_id":157626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:46:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492507904001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:46:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787080410000,"timestamp_ms":1787080410000,"timestamp_seconds":1787080410,"priority":1,"record_length":96,"hex_timestamp":"000001a0164b0390"} 
[2026-08-19 00:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-19 00:46:07] 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-08-19 00: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-08-19 00:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492507904001,"66":25299,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492507904001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:46:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:46:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492507904001,"power":25299,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":157626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:46:07] local.INFO: GPS data processed {"connection_id":157626,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:46:07] local.INFO: Acknowledgment sent {"connection_id":157626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:46:38] local.INFO: TCP Data received {"connection_id":157626,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:46:38] local.INFO: Processing buffer {"connection_id":157626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:46:38] local.INFO: Packet analysis {"connection_id":157626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:46:38] local.INFO: Extracted packet for processing {"connection_id":157626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:46:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492507904001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:46:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787080410000,"timestamp_ms":1787080410000,"timestamp_seconds":1787080410,"priority":1,"record_length":96,"hex_timestamp":"000001a0164b0390"} 
[2026-08-19 00:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-19 00:46:38] 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-08-19 00: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-08-19 00:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492507904001,"66":25299,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492507904001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:46:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:46:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:46:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492507904001,"power":25299,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":157626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:46:38] local.INFO: GPS data processed {"connection_id":157626,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:46:38] local.INFO: Acknowledgment sent {"connection_id":157626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:47:06] local.INFO: TCP Data received {"connection_id":159814,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:47:06] local.INFO: Processing buffer {"connection_id":159814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:47:06] local.INFO: IMEI packet received {"connection_id":159814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":159814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:47:11] local.INFO: TCP Data received {"connection_id":159814,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:47:11] local.INFO: Processing buffer {"connection_id":159814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:47:11] local.INFO: IMEI packet received {"connection_id":159814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":159814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:47:12] local.INFO: TCP Data received {"connection_id":159814,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:47:12] local.INFO: Processing buffer {"connection_id":159814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:47:12] local.INFO: Packet analysis {"connection_id":159814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:47:12] local.INFO: Extracted packet for processing {"connection_id":159814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:47:12] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492507904001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:47:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787080410000,"timestamp_ms":1787080410000,"timestamp_seconds":1787080410,"priority":1,"record_length":96,"hex_timestamp":"000001a0164b0390"} 
[2026-08-19 00:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:47:12] 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-08-19 00:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-19 00:47:12] 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-08-19 00:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492507904001,"66":25299,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492507904001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:47:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:47:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:47:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492507904001,"power":25299,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":159814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:47:12] local.INFO: GPS data processed {"connection_id":159814,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:47:12] local.INFO: Acknowledgment sent {"connection_id":159814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:47:16] local.INFO: TCP Data received {"connection_id":159814,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:47:16] local.INFO: Processing buffer {"connection_id":159814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:47:16] local.INFO: Packet analysis {"connection_id":159814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:47:16] local.INFO: Extracted packet for processing {"connection_id":159814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:47:16] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492507904001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:47:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787080410000,"timestamp_ms":1787080410000,"timestamp_seconds":1787080410,"priority":1,"record_length":96,"hex_timestamp":"000001a0164b0390"} 
[2026-08-19 00:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:47:16] 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-08-19 00: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-19 00:47:16] 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-08-19 00: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-08-19 00:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492507904001,"66":25299,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492507904001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:47:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:47:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:47:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492507904001,"power":25299,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":159814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:47:16] local.INFO: GPS data processed {"connection_id":159814,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:47:16] local.INFO: Acknowledgment sent {"connection_id":159814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:48:01] local.INFO: TCP Data received {"connection_id":159815,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:48:01] local.INFO: Processing buffer {"connection_id":159815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:48:01] local.INFO: IMEI packet received {"connection_id":159815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":159815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:48:06] local.INFO: TCP Data received {"connection_id":159815,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:48:06] local.INFO: Processing buffer {"connection_id":159815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:48:06] local.INFO: IMEI packet received {"connection_id":159815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":159815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:48:07] local.INFO: TCP Data received {"connection_id":159815,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:48:07] local.INFO: Processing buffer {"connection_id":159815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:48:07] local.INFO: Packet analysis {"connection_id":159815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:48:07] local.INFO: Extracted packet for processing {"connection_id":159815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:48:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492507904001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:48:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787080410000,"timestamp_ms":1787080410000,"timestamp_seconds":1787080410,"priority":1,"record_length":96,"hex_timestamp":"000001a0164b0390"} 
[2026-08-19 00:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-19 00:48:07] 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-08-19 00: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-08-19 00:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492507904001,"66":25299,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492507904001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:48:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:48:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492507904001,"power":25299,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":159815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:48:07] local.INFO: GPS data processed {"connection_id":159815,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:48:07] local.INFO: Acknowledgment sent {"connection_id":159815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:48:38] local.INFO: TCP Data received {"connection_id":159815,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:48:38] local.INFO: Processing buffer {"connection_id":159815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:48:38] local.INFO: Packet analysis {"connection_id":159815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:48:38] local.INFO: Extracted packet for processing {"connection_id":159815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:48:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492507904001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:48:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787080410000,"timestamp_ms":1787080410000,"timestamp_seconds":1787080410,"priority":1,"record_length":96,"hex_timestamp":"000001a0164b0390"} 
[2026-08-19 00:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-19 00:48:38] 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-08-19 00: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-08-19 00:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492507904001,"66":25299,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492507904001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:48:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:48:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:48:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492507904001,"power":25299,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":159815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:48:38] local.INFO: GPS data processed {"connection_id":159815,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:48:38] local.INFO: Acknowledgment sent {"connection_id":159815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:49:01] local.INFO: TCP Data received {"connection_id":158528,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:49:01] local.INFO: Processing buffer {"connection_id":158528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:49:01] local.INFO: IMEI packet received {"connection_id":158528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":158528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:49:06] local.INFO: TCP Data received {"connection_id":158528,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:49:06] local.INFO: Processing buffer {"connection_id":158528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:49:06] local.INFO: IMEI packet received {"connection_id":158528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":158528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:49:07] local.INFO: TCP Data received {"connection_id":158528,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:49:07] local.INFO: Processing buffer {"connection_id":158528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164b0390012ce45a0007241840000e008b2c..."} 
[2026-08-19 00:49:07] local.INFO: Packet analysis {"connection_id":158528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:49:07] local.INFO: Extracted packet for processing {"connection_id":158528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164b"} 
[2026-08-19 00:49:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":44,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492507904001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:49:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787080410000,"timestamp_ms":1787080410000,"timestamp_seconds":1787080410,"priority":1,"record_length":96,"hex_timestamp":"000001a0164b0390"} 
[2026-08-19 00:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-19 00:49:07] 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-08-19 00: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-08-19 00:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492507904001,"66":25299,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492507904001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:49:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:49:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:49:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492507904001,"power":25299,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":158528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:49:07] local.INFO: GPS data processed {"connection_id":158528,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:49:07] local.INFO: Acknowledgment sent {"connection_id":158528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:49:38] local.INFO: TCP Data received {"connection_id":158528,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:49:38] local.INFO: Processing buffer {"connection_id":158528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:49:38] local.INFO: Packet analysis {"connection_id":158528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:49:38] local.INFO: Extracted packet for processing {"connection_id":158528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:49:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":45,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492584960001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:49:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787080711000,"timestamp_ms":1787080711000,"timestamp_seconds":1787080711,"priority":1,"record_length":96,"hex_timestamp":"000001a0164f9b58"} 
[2026-08-19 00:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-19 00:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492584960001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492584960001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:49:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:49:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:49:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492584960001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":158528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:49:38] local.INFO: GPS data processed {"connection_id":158528,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:49:38] local.INFO: Acknowledgment sent {"connection_id":158528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:50:00] local.INFO: TCP Data received {"connection_id":158529,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:50:00] local.INFO: Processing buffer {"connection_id":158529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:50:00] local.INFO: IMEI packet received {"connection_id":158529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":158529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:50:06] local.INFO: TCP Data received {"connection_id":158529,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:50:06] local.INFO: Processing buffer {"connection_id":158529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:50:06] local.INFO: IMEI packet received {"connection_id":158529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":158529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:50:07] local.INFO: TCP Data received {"connection_id":158529,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:50:07] local.INFO: Processing buffer {"connection_id":158529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:50:07] local.INFO: Packet analysis {"connection_id":158529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:50:07] local.INFO: Extracted packet for processing {"connection_id":158529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:50:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":45,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492584960001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:50:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787080711000,"timestamp_ms":1787080711000,"timestamp_seconds":1787080711,"priority":1,"record_length":96,"hex_timestamp":"000001a0164f9b58"} 
[2026-08-19 00:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-19 00:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492584960001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492584960001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:50:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:50:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492584960001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":158529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:50:07] local.INFO: GPS data processed {"connection_id":158529,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:50:07] local.INFO: Acknowledgment sent {"connection_id":158529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:50:38] local.INFO: TCP Data received {"connection_id":158529,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:50:38] local.INFO: Processing buffer {"connection_id":158529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:50:38] local.INFO: Packet analysis {"connection_id":158529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:50:38] local.INFO: Extracted packet for processing {"connection_id":158529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:50:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":45,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492584960001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:50:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787080711000,"timestamp_ms":1787080711000,"timestamp_seconds":1787080711,"priority":1,"record_length":96,"hex_timestamp":"000001a0164f9b58"} 
[2026-08-19 00:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-19 00:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00: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-08-19 00:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492584960001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492584960001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:50:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:50:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492584960001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":158529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:50:38] local.INFO: GPS data processed {"connection_id":158529,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:50:38] local.INFO: Acknowledgment sent {"connection_id":158529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:51:01] local.INFO: TCP Data received {"connection_id":157627,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:51:01] local.INFO: Processing buffer {"connection_id":157627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:51:01] local.INFO: IMEI packet received {"connection_id":157627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":157627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:51:06] local.INFO: TCP Data received {"connection_id":157627,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:51:06] local.INFO: Processing buffer {"connection_id":157627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:51:06] local.INFO: IMEI packet received {"connection_id":157627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":157627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:51:07] local.INFO: TCP Data received {"connection_id":157627,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:51:07] local.INFO: Processing buffer {"connection_id":157627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:51:07] local.INFO: Packet analysis {"connection_id":157627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:51:07] local.INFO: Extracted packet for processing {"connection_id":157627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:51:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":45,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492584960001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:51:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787080711000,"timestamp_ms":1787080711000,"timestamp_seconds":1787080711,"priority":1,"record_length":96,"hex_timestamp":"000001a0164f9b58"} 
[2026-08-19 00:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-19 00:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00: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-08-19 00:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492584960001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492584960001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:51:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:51:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492584960001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":157627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:51:07] local.INFO: GPS data processed {"connection_id":157627,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:51:07] local.INFO: Acknowledgment sent {"connection_id":157627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:51:38] local.INFO: TCP Data received {"connection_id":157627,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:51:38] local.INFO: Processing buffer {"connection_id":157627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:51:38] local.INFO: Packet analysis {"connection_id":157627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:51:38] local.INFO: Extracted packet for processing {"connection_id":157627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:51:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":45,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492584960001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:51:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787080711000,"timestamp_ms":1787080711000,"timestamp_seconds":1787080711,"priority":1,"record_length":96,"hex_timestamp":"000001a0164f9b58"} 
[2026-08-19 00:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-19 00:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00: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-08-19 00:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492584960001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492584960001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:51:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:51:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:51:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492584960001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":157627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:51:38] local.INFO: GPS data processed {"connection_id":157627,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:51:38] local.INFO: Acknowledgment sent {"connection_id":157627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:52:06] local.INFO: TCP Data received {"connection_id":159816,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:52:06] local.INFO: Processing buffer {"connection_id":159816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:52:06] local.INFO: IMEI packet received {"connection_id":159816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":159816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:52:11] local.INFO: TCP Data received {"connection_id":159816,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:52:11] local.INFO: Processing buffer {"connection_id":159816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:52:11] local.INFO: IMEI packet received {"connection_id":159816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":159816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:52:12] local.INFO: TCP Data received {"connection_id":159816,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:52:12] local.INFO: Processing buffer {"connection_id":159816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:52:12] local.INFO: Packet analysis {"connection_id":159816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:52:12] local.INFO: Extracted packet for processing {"connection_id":159816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:52:12] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":45,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492584960001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:52:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787080711000,"timestamp_ms":1787080711000,"timestamp_seconds":1787080711,"priority":1,"record_length":96,"hex_timestamp":"000001a0164f9b58"} 
[2026-08-19 00:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:52:12] 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-08-19 00:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-19 00:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492584960001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492584960001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:52:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:52:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:52:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492584960001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":159816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:52:12] local.INFO: GPS data processed {"connection_id":159816,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:52:12] local.INFO: Acknowledgment sent {"connection_id":159816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:52:16] local.INFO: TCP Data received {"connection_id":159816,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:52:16] local.INFO: Processing buffer {"connection_id":159816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:52:16] local.INFO: Packet analysis {"connection_id":159816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:52:16] local.INFO: Extracted packet for processing {"connection_id":159816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:52:16] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":45,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492584960001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:52:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787080711000,"timestamp_ms":1787080711000,"timestamp_seconds":1787080711,"priority":1,"record_length":96,"hex_timestamp":"000001a0164f9b58"} 
[2026-08-19 00:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:52:16] 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-08-19 00:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-19 00:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492584960001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492584960001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:52:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:52:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:52:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492584960001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":159816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:52:16] local.INFO: GPS data processed {"connection_id":159816,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:52:16] local.INFO: Acknowledgment sent {"connection_id":159816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:53:01] local.INFO: TCP Data received {"connection_id":157628,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:53:01] local.INFO: Processing buffer {"connection_id":157628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:53:01] local.INFO: IMEI packet received {"connection_id":157628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":157628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:53:06] local.INFO: TCP Data received {"connection_id":157628,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:53:06] local.INFO: Processing buffer {"connection_id":157628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:53:06] local.INFO: IMEI packet received {"connection_id":157628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":157628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:53:07] local.INFO: TCP Data received {"connection_id":157628,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:53:07] local.INFO: Processing buffer {"connection_id":157628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:53:07] local.INFO: Packet analysis {"connection_id":157628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:53:07] local.INFO: Extracted packet for processing {"connection_id":157628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:53:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":45,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492584960001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:53:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787080711000,"timestamp_ms":1787080711000,"timestamp_seconds":1787080711,"priority":1,"record_length":96,"hex_timestamp":"000001a0164f9b58"} 
[2026-08-19 00:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-19 00:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492584960001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492584960001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:53:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:53:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492584960001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":157628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:53:07] local.INFO: GPS data processed {"connection_id":157628,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:53:07] local.INFO: Acknowledgment sent {"connection_id":157628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:53:38] local.INFO: TCP Data received {"connection_id":157628,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:53:38] local.INFO: Processing buffer {"connection_id":157628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:53:38] local.INFO: Packet analysis {"connection_id":157628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:53:38] local.INFO: Extracted packet for processing {"connection_id":157628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:53:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":45,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492584960001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:53:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787080711000,"timestamp_ms":1787080711000,"timestamp_seconds":1787080711,"priority":1,"record_length":96,"hex_timestamp":"000001a0164f9b58"} 
[2026-08-19 00:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-19 00:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492584960001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492584960001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:53:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:53:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:53:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492584960001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":157628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:53:38] local.INFO: GPS data processed {"connection_id":157628,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:53:38] local.INFO: Acknowledgment sent {"connection_id":157628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:54:01] local.INFO: TCP Data received {"connection_id":157629,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:54:01] local.INFO: Processing buffer {"connection_id":157629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:54:01] local.INFO: IMEI packet received {"connection_id":157629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":157629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:54:06] local.INFO: TCP Data received {"connection_id":157629,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:54:06] local.INFO: Processing buffer {"connection_id":157629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:54:06] local.INFO: IMEI packet received {"connection_id":157629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":157629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:54:07] local.INFO: TCP Data received {"connection_id":157629,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:54:07] local.INFO: Processing buffer {"connection_id":157629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0164f9b58012ce45a0007241840000e008b2d..."} 
[2026-08-19 00:54:07] local.INFO: Packet analysis {"connection_id":157629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:54:07] local.INFO: Extracted packet for processing {"connection_id":157629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0164f"} 
[2026-08-19 00:54:07] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":45,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492584960001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:54:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787080711000,"timestamp_ms":1787080711000,"timestamp_seconds":1787080711,"priority":1,"record_length":96,"hex_timestamp":"000001a0164f9b58"} 
[2026-08-19 00:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-19 00:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492584960001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492584960001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:54:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:54:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492584960001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":157629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:54:07] local.INFO: GPS data processed {"connection_id":157629,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:54:07] local.INFO: Acknowledgment sent {"connection_id":157629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:54:38] local.INFO: TCP Data received {"connection_id":157629,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a016543320012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016543320012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:54:38] local.INFO: Processing buffer {"connection_id":157629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016543320012ce45a0007241840000e008b2e..."} 
[2026-08-19 00:54:38] local.INFO: Packet analysis {"connection_id":157629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:54:38] local.INFO: Extracted packet for processing {"connection_id":157629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:54:38] local.INFO: GPS Element Parsed {"raw_longitude":753162752,"raw_latitude":119806016,"longitude_deg":75.3162752,"latitude_deg":11.9806016,"altitude":14,"angle":139,"satellites":46,"speed":0,"hex_longitude":"2ce45a00","hex_latitude":"07241840","is_valid_coordinates":true} 
[2026-08-19 00:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492662016001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:54:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787081012000,"timestamp_ms":1787081012000,"timestamp_seconds":1787081012,"priority":1,"record_length":96,"hex_timestamp":"000001a016543320"} 
[2026-08-19 00:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 00:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492662016001,"66":25712,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492662016001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:54:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:54:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:54:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492662016001,"power":25712,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":157629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:54:38] local.INFO: GPS data processed {"connection_id":157629,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:54:38] local.INFO: Acknowledgment sent {"connection_id":157629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:55:06] local.INFO: TCP Data received {"connection_id":159817,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:55:06] local.INFO: Processing buffer {"connection_id":159817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:55:06] local.INFO: IMEI packet received {"connection_id":159817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":159817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:55:11] local.INFO: TCP Data received {"connection_id":159817,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:55:11] local.INFO: Processing buffer {"connection_id":159817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:55:11] local.INFO: IMEI packet received {"connection_id":159817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":159817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:55:12] local.INFO: TCP Data received {"connection_id":159817,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:55:12] local.INFO: Processing buffer {"connection_id":159817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:55:12] local.INFO: Packet analysis {"connection_id":159817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:55:12] local.INFO: Extracted packet for processing {"connection_id":159817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:55:12] local.INFO: GPS Element Parsed {"raw_longitude":753162816,"raw_latitude":119805400,"longitude_deg":75.3162816,"latitude_deg":11.98054,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45a40","hex_latitude":"072415d8","is_valid_coordinates":true} 
[2026-08-19 00:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492739072001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787081064000,"timestamp_ms":1787081064000,"timestamp_seconds":1787081064,"priority":1,"record_length":96,"hex_timestamp":"000001a01654fe40"} 
[2026-08-19 00:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:55:12] 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-08-19 00:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 00:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492739072001,"66":25734,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492739072001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:55:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:55:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492739072001,"power":25734,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":159817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:55:12] local.INFO: GPS data processed {"connection_id":159817,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:55:12] local.INFO: Acknowledgment sent {"connection_id":159817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:55:44] local.INFO: TCP Data received {"connection_id":159817,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:55:44] local.INFO: Processing buffer {"connection_id":159817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:55:44] local.INFO: Packet analysis {"connection_id":159817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:55:44] local.INFO: Extracted packet for processing {"connection_id":159817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:55:44] local.INFO: GPS Element Parsed {"raw_longitude":753162816,"raw_latitude":119805400,"longitude_deg":75.3162816,"latitude_deg":11.98054,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45a40","hex_latitude":"072415d8","is_valid_coordinates":true} 
[2026-08-19 00:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492739072001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:55:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787081064000,"timestamp_ms":1787081064000,"timestamp_seconds":1787081064,"priority":1,"record_length":96,"hex_timestamp":"000001a01654fe40"} 
[2026-08-19 00:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 00:55:44] 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-08-19 00:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492739072001,"66":25734,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492739072001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:55:44] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:55:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:55:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492739072001,"power":25734,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":159817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:55:44] local.INFO: GPS data processed {"connection_id":159817,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:55:44] local.INFO: Acknowledgment sent {"connection_id":159817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:56:00] local.INFO: TCP Data received {"connection_id":159818,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:56:00] local.INFO: Processing buffer {"connection_id":159818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:56:00] local.INFO: IMEI packet received {"connection_id":159818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":159818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:56:06] local.INFO: TCP Data received {"connection_id":159818,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:56:06] local.INFO: Processing buffer {"connection_id":159818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:56:06] local.INFO: IMEI packet received {"connection_id":159818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":159818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:56:07] local.INFO: TCP Data received {"connection_id":159818,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:56:07] local.INFO: Processing buffer {"connection_id":159818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:56:07] local.INFO: Packet analysis {"connection_id":159818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:56:07] local.INFO: Extracted packet for processing {"connection_id":159818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:56:07] local.INFO: GPS Element Parsed {"raw_longitude":753162816,"raw_latitude":119805400,"longitude_deg":75.3162816,"latitude_deg":11.98054,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45a40","hex_latitude":"072415d8","is_valid_coordinates":true} 
[2026-08-19 00:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492739072001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:56:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787081064000,"timestamp_ms":1787081064000,"timestamp_seconds":1787081064,"priority":1,"record_length":96,"hex_timestamp":"000001a01654fe40"} 
[2026-08-19 00:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 00:56:07] 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-08-19 00:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492739072001,"66":25734,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492739072001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:56:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:56:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492739072001,"power":25734,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":159818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:56:07] local.INFO: GPS data processed {"connection_id":159818,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:56:07] local.INFO: Acknowledgment sent {"connection_id":159818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:56:38] local.INFO: TCP Data received {"connection_id":159818,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:56:38] local.INFO: Processing buffer {"connection_id":159818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:56:38] local.INFO: Packet analysis {"connection_id":159818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:56:38] local.INFO: Extracted packet for processing {"connection_id":159818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:56:38] local.INFO: GPS Element Parsed {"raw_longitude":753162816,"raw_latitude":119805400,"longitude_deg":75.3162816,"latitude_deg":11.98054,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45a40","hex_latitude":"072415d8","is_valid_coordinates":true} 
[2026-08-19 00:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492739072001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:56:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787081064000,"timestamp_ms":1787081064000,"timestamp_seconds":1787081064,"priority":1,"record_length":96,"hex_timestamp":"000001a01654fe40"} 
[2026-08-19 00:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 00:56:38] 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-08-19 00:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492739072001,"66":25734,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492739072001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:56:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:56:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:56:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492739072001,"power":25734,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":159818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:56:38] local.INFO: GPS data processed {"connection_id":159818,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:56:38] local.INFO: Acknowledgment sent {"connection_id":159818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:57:06] local.INFO: TCP Data received {"connection_id":159819,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:57:06] local.INFO: Processing buffer {"connection_id":159819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:57:06] local.INFO: IMEI packet received {"connection_id":159819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":159819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:57:11] local.INFO: TCP Data received {"connection_id":159819,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:57:11] local.INFO: Processing buffer {"connection_id":159819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:57:11] local.INFO: IMEI packet received {"connection_id":159819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":159819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:57:12] local.INFO: TCP Data received {"connection_id":159819,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:57:12] local.INFO: Processing buffer {"connection_id":159819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:57:12] local.INFO: Packet analysis {"connection_id":159819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:57:12] local.INFO: Extracted packet for processing {"connection_id":159819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:57:12] local.INFO: GPS Element Parsed {"raw_longitude":753162816,"raw_latitude":119805400,"longitude_deg":75.3162816,"latitude_deg":11.98054,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45a40","hex_latitude":"072415d8","is_valid_coordinates":true} 
[2026-08-19 00:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492739072001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:57:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787081064000,"timestamp_ms":1787081064000,"timestamp_seconds":1787081064,"priority":1,"record_length":96,"hex_timestamp":"000001a01654fe40"} 
[2026-08-19 00:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:57:12] 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-08-19 00:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 00:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 00:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492739072001,"66":25734,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492739072001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:57:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:57:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:57:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492739072001,"power":25734,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":159819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:57:12] local.INFO: GPS data processed {"connection_id":159819,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:57:12] local.INFO: Acknowledgment sent {"connection_id":159819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:57:16] local.INFO: TCP Data received {"connection_id":159819,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:57:16] local.INFO: Processing buffer {"connection_id":159819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:57:16] local.INFO: Packet analysis {"connection_id":159819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:57:16] local.INFO: Extracted packet for processing {"connection_id":159819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:57:16] local.INFO: GPS Element Parsed {"raw_longitude":753162816,"raw_latitude":119805400,"longitude_deg":75.3162816,"latitude_deg":11.98054,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45a40","hex_latitude":"072415d8","is_valid_coordinates":true} 
[2026-08-19 00:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492739072001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:57:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787081064000,"timestamp_ms":1787081064000,"timestamp_seconds":1787081064,"priority":1,"record_length":96,"hex_timestamp":"000001a01654fe40"} 
[2026-08-19 00:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:57:16] 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-08-19 00:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 00:57:16] 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-08-19 00:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492739072001,"66":25734,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492739072001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:57:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:57:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:57:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492739072001,"power":25734,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":159819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:57:16] local.INFO: GPS data processed {"connection_id":159819,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:57:16] local.INFO: Acknowledgment sent {"connection_id":159819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:58:01] local.INFO: TCP Data received {"connection_id":157630,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:58:01] local.INFO: Processing buffer {"connection_id":157630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:58:01] local.INFO: IMEI packet received {"connection_id":157630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":157630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:58:06] local.INFO: TCP Data received {"connection_id":157630,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:58:06] local.INFO: Processing buffer {"connection_id":157630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:58:06] local.INFO: IMEI packet received {"connection_id":157630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":157630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:58:07] local.INFO: TCP Data received {"connection_id":157630,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:58:07] local.INFO: Processing buffer {"connection_id":157630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:58:07] local.INFO: Packet analysis {"connection_id":157630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:58:07] local.INFO: Extracted packet for processing {"connection_id":157630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:58:07] local.INFO: GPS Element Parsed {"raw_longitude":753162816,"raw_latitude":119805400,"longitude_deg":75.3162816,"latitude_deg":11.98054,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45a40","hex_latitude":"072415d8","is_valid_coordinates":true} 
[2026-08-19 00:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 00:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492739072001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:58:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787081064000,"timestamp_ms":1787081064000,"timestamp_seconds":1787081064,"priority":1,"record_length":96,"hex_timestamp":"000001a01654fe40"} 
[2026-08-19 00:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 00:58:07] 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-08-19 00:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 00:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492739072001,"66":25734,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492739072001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:58:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:58:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:58:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492739072001,"power":25734,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":157630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:58:07] local.INFO: GPS data processed {"connection_id":157630,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:58:07] local.INFO: Acknowledgment sent {"connection_id":157630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:58:38] local.INFO: TCP Data received {"connection_id":157630,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:58:38] local.INFO: Processing buffer {"connection_id":157630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:58:38] local.INFO: Packet analysis {"connection_id":157630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:58:38] local.INFO: Extracted packet for processing {"connection_id":157630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:58:38] local.INFO: GPS Element Parsed {"raw_longitude":753162816,"raw_latitude":119805400,"longitude_deg":75.3162816,"latitude_deg":11.98054,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45a40","hex_latitude":"072415d8","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492739072001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:58:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787081064000,"timestamp_ms":1787081064000,"timestamp_seconds":1787081064,"priority":1,"record_length":96,"hex_timestamp":"000001a01654fe40"} 
[2026-08-19 00:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 00:58:38] 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-08-19 00: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-08-19 00:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492739072001,"66":25734,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492739072001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:58:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:58:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:58:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492739072001,"power":25734,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":157630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:58:38] local.INFO: GPS data processed {"connection_id":157630,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:58:38] local.INFO: Acknowledgment sent {"connection_id":157630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:59:01] local.INFO: TCP Data received {"connection_id":157265,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:59:01] local.INFO: Processing buffer {"connection_id":157265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:59:01] local.INFO: IMEI packet received {"connection_id":157265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 00:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":157265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 00:59:06] local.INFO: TCP Data received {"connection_id":157265,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:59:06] local.INFO: Processing buffer {"connection_id":157265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 00:59:06] local.INFO: IMEI packet received {"connection_id":157265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 00:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":157265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 00:59:07] local.INFO: TCP Data received {"connection_id":157265,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:59:07] local.INFO: Processing buffer {"connection_id":157265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:59:07] local.INFO: Packet analysis {"connection_id":157265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:59:07] local.INFO: Extracted packet for processing {"connection_id":157265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:59:07] local.INFO: GPS Element Parsed {"raw_longitude":753162816,"raw_latitude":119805400,"longitude_deg":75.3162816,"latitude_deg":11.98054,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45a40","hex_latitude":"072415d8","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492739072001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:59:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787081064000,"timestamp_ms":1787081064000,"timestamp_seconds":1787081064,"priority":1,"record_length":96,"hex_timestamp":"000001a01654fe40"} 
[2026-08-19 00:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 00:59:07] 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-08-19 00: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-08-19 00:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492739072001,"66":25734,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492739072001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:59:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:59:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492739072001,"power":25734,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":157265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:59:07] local.INFO: GPS data processed {"connection_id":157265,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:59:07] local.INFO: Acknowledgment sent {"connection_id":157265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 00:59:38] local.INFO: TCP Data received {"connection_id":157265,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:59:38] local.INFO: Processing buffer {"connection_id":157265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01654fe40012ce45a40072415d8000e007d2e..."} 
[2026-08-19 00:59:38] local.INFO: Packet analysis {"connection_id":157265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:59:38] local.INFO: Extracted packet for processing {"connection_id":157265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01654"} 
[2026-08-19 00:59:38] local.INFO: GPS Element Parsed {"raw_longitude":753162816,"raw_latitude":119805400,"longitude_deg":75.3162816,"latitude_deg":11.98054,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45a40","hex_latitude":"072415d8","is_valid_coordinates":true} 
[2026-08-19 00: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-08-19 00:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492739072001,"note":"Value kept but may cause issues"} 
[2026-08-19 00:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 00:59:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992279854487683072,"note":"Value kept but may cause issues"} 
[2026-08-19 00:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 00:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787081064000,"timestamp_ms":1787081064000,"timestamp_seconds":1787081064,"priority":1,"record_length":96,"hex_timestamp":"000001a01654fe40"} 
[2026-08-19 00:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 00:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 00: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 00:59:38] 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-08-19 00: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-08-19 00:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 00:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 00:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 00:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 00:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 00:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 00:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 00:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492739072001,"66":25734,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992279854487683072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 00:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 00:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 00:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492739072001,"description":"Unknown IO ID 0"} 
[2026-08-19 00:59:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 00:59:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 00:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 00:59:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992279854487683072,"description":"Unknown IO ID 44"} 
[2026-08-19 00:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492739072001,"power":25734,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992279854487683072}} 
[2026-08-19 00:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":157265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 00:59:38] local.INFO: GPS data processed {"connection_id":157265,"processed":1,"errors":0,"total":1} 
[2026-08-19 00:59:38] local.INFO: Acknowledgment sent {"connection_id":157265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:00:01] local.INFO: TCP Data received {"connection_id":158530,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:00:01] local.INFO: Processing buffer {"connection_id":158530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:00:01] local.INFO: IMEI packet received {"connection_id":158530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":158530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:00:03] local.INFO: TCP Data received {"connection_id":158530,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:00:03] local.INFO: Processing buffer {"connection_id":158530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:00:03] local.INFO: IMEI packet received {"connection_id":158530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":158530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:00:06] local.INFO: TCP Data received {"connection_id":158530,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:00:06] local.INFO: Processing buffer {"connection_id":158530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:00:06] local.INFO: IMEI packet received {"connection_id":158530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":158530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:00:07] local.INFO: TCP Data received {"connection_id":158530,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:00:07] local.INFO: Processing buffer {"connection_id":158530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:00:07] local.INFO: Packet analysis {"connection_id":158530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:00:07] local.INFO: Extracted packet for processing {"connection_id":158530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:00:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492752384001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:00:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992209485743663104,"note":"Value kept but may cause issues"} 
[2026-08-19 01:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787081365000,"timestamp_ms":1787081365000,"timestamp_seconds":1787081365,"priority":1,"record_length":96,"hex_timestamp":"000001a016599608"} 
[2026-08-19 01:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 01:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492752384001,"66":25615,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992209485743663104},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492752384001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:00:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:00:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992209485743663104,"description":"Unknown IO ID 44"} 
[2026-08-19 01:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492752384001,"power":25615,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992209485743663104}} 
[2026-08-19 01:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":158530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:00:07] local.INFO: GPS data processed {"connection_id":158530,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:00:07] local.INFO: Acknowledgment sent {"connection_id":158530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:00:11] local.INFO: TCP Data received {"connection_id":158530,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:00:11] local.INFO: Processing buffer {"connection_id":158530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:00:11] local.INFO: Packet analysis {"connection_id":158530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:00:11] local.INFO: Extracted packet for processing {"connection_id":158530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:00:11] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492752384001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:00:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992209485743663104,"note":"Value kept but may cause issues"} 
[2026-08-19 01:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787081365000,"timestamp_ms":1787081365000,"timestamp_seconds":1787081365,"priority":1,"record_length":96,"hex_timestamp":"000001a016599608"} 
[2026-08-19 01:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:00:11] 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-08-19 01:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 01:00:11] 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-08-19 01: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-08-19 01:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492752384001,"66":25615,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992209485743663104},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492752384001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:00:11] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:00:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:00:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992209485743663104,"description":"Unknown IO ID 44"} 
[2026-08-19 01:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492752384001,"power":25615,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992209485743663104}} 
[2026-08-19 01:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":158530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:00:11] local.INFO: GPS data processed {"connection_id":158530,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:00:11] local.INFO: Acknowledgment sent {"connection_id":158530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:00:42] local.INFO: TCP Data received {"connection_id":158530,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:00:42] local.INFO: Processing buffer {"connection_id":158530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:00:42] local.INFO: Packet analysis {"connection_id":158530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:00:42] local.INFO: Extracted packet for processing {"connection_id":158530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:00:42] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492752384001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992209485743663104,"note":"Value kept but may cause issues"} 
[2026-08-19 01:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787081365000,"timestamp_ms":1787081365000,"timestamp_seconds":1787081365,"priority":1,"record_length":96,"hex_timestamp":"000001a016599608"} 
[2026-08-19 01:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:00:42] 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-08-19 01:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 01:00:42] 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-08-19 01:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492752384001,"66":25615,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992209485743663104},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492752384001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:00:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:00:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992209485743663104,"description":"Unknown IO ID 44"} 
[2026-08-19 01:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492752384001,"power":25615,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992209485743663104}} 
[2026-08-19 01:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":158530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:00:42] local.INFO: GPS data processed {"connection_id":158530,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:00:42] local.INFO: Acknowledgment sent {"connection_id":158530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:01:00] local.INFO: TCP Data received {"connection_id":158531,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:01:00] local.INFO: Processing buffer {"connection_id":158531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:01:00] local.INFO: IMEI packet received {"connection_id":158531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":158531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:01:06] local.INFO: TCP Data received {"connection_id":158531,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:01:06] local.INFO: Processing buffer {"connection_id":158531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:01:06] local.INFO: IMEI packet received {"connection_id":158531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":158531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:01:07] local.INFO: TCP Data received {"connection_id":158531,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:01:07] local.INFO: Processing buffer {"connection_id":158531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:01:07] local.INFO: Packet analysis {"connection_id":158531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:01:07] local.INFO: Extracted packet for processing {"connection_id":158531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:01:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492752384001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:01:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992209485743663104,"note":"Value kept but may cause issues"} 
[2026-08-19 01:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787081365000,"timestamp_ms":1787081365000,"timestamp_seconds":1787081365,"priority":1,"record_length":96,"hex_timestamp":"000001a016599608"} 
[2026-08-19 01:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 01:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492752384001,"66":25615,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992209485743663104},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492752384001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:01:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:01:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992209485743663104,"description":"Unknown IO ID 44"} 
[2026-08-19 01:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492752384001,"power":25615,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992209485743663104}} 
[2026-08-19 01:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":158531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:01:07] local.INFO: GPS data processed {"connection_id":158531,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:01:07] local.INFO: Acknowledgment sent {"connection_id":158531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:01:38] local.INFO: TCP Data received {"connection_id":158531,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:01:38] local.INFO: Processing buffer {"connection_id":158531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:01:38] local.INFO: Packet analysis {"connection_id":158531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:01:38] local.INFO: Extracted packet for processing {"connection_id":158531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:01:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492752384001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:01:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992209485743663104,"note":"Value kept but may cause issues"} 
[2026-08-19 01:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787081365000,"timestamp_ms":1787081365000,"timestamp_seconds":1787081365,"priority":1,"record_length":96,"hex_timestamp":"000001a016599608"} 
[2026-08-19 01:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 01:01:38] 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-08-19 01:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492752384001,"66":25615,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992209485743663104},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492752384001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:01:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:01:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:01:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992209485743663104,"description":"Unknown IO ID 44"} 
[2026-08-19 01:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492752384001,"power":25615,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992209485743663104}} 
[2026-08-19 01:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":158531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:01:38] local.INFO: GPS data processed {"connection_id":158531,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:01:38] local.INFO: Acknowledgment sent {"connection_id":158531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:02:06] local.INFO: TCP Data received {"connection_id":157631,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:02:06] local.INFO: Processing buffer {"connection_id":157631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:02:06] local.INFO: IMEI packet received {"connection_id":157631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":157631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:02:11] local.INFO: TCP Data received {"connection_id":157631,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:02:11] local.INFO: Processing buffer {"connection_id":157631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:02:11] local.INFO: IMEI packet received {"connection_id":157631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":157631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:02:12] local.INFO: TCP Data received {"connection_id":157631,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:02:12] local.INFO: Processing buffer {"connection_id":157631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:02:12] local.INFO: Packet analysis {"connection_id":157631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:02:12] local.INFO: Extracted packet for processing {"connection_id":157631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:02:12] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492752384001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:02:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992209485743663104,"note":"Value kept but may cause issues"} 
[2026-08-19 01:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787081365000,"timestamp_ms":1787081365000,"timestamp_seconds":1787081365,"priority":1,"record_length":96,"hex_timestamp":"000001a016599608"} 
[2026-08-19 01:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:02:12] 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-08-19 01:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 01:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492752384001,"66":25615,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992209485743663104},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492752384001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:02:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:02:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:02:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992209485743663104,"description":"Unknown IO ID 44"} 
[2026-08-19 01:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492752384001,"power":25615,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992209485743663104}} 
[2026-08-19 01:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":157631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:02:12] local.INFO: GPS data processed {"connection_id":157631,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:02:12] local.INFO: Acknowledgment sent {"connection_id":157631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:02:43] local.INFO: TCP Data received {"connection_id":157631,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:02:43] local.INFO: Processing buffer {"connection_id":157631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:02:43] local.INFO: Packet analysis {"connection_id":157631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:02:43] local.INFO: Extracted packet for processing {"connection_id":157631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:02:43] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492752384001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:02:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992209485743663104,"note":"Value kept but may cause issues"} 
[2026-08-19 01:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787081365000,"timestamp_ms":1787081365000,"timestamp_seconds":1787081365,"priority":1,"record_length":96,"hex_timestamp":"000001a016599608"} 
[2026-08-19 01:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:02:43] 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-08-19 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 01:02:43] 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-08-19 01: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-08-19 01:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492752384001,"66":25615,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992209485743663104},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492752384001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:02:43] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:02:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:02:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992209485743663104,"description":"Unknown IO ID 44"} 
[2026-08-19 01:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492752384001,"power":25615,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992209485743663104}} 
[2026-08-19 01:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":157631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:02:43] local.INFO: GPS data processed {"connection_id":157631,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:02:43] local.INFO: Acknowledgment sent {"connection_id":157631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:03:01] local.INFO: TCP Data received {"connection_id":157632,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:03:01] local.INFO: Processing buffer {"connection_id":157632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:03:01] local.INFO: IMEI packet received {"connection_id":157632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":157632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:03:06] local.INFO: TCP Data received {"connection_id":157632,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:03:06] local.INFO: Processing buffer {"connection_id":157632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:03:06] local.INFO: IMEI packet received {"connection_id":157632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":157632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:03:07] local.INFO: TCP Data received {"connection_id":157632,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:03:07] local.INFO: Processing buffer {"connection_id":157632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:03:07] local.INFO: Packet analysis {"connection_id":157632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:03:07] local.INFO: Extracted packet for processing {"connection_id":157632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:03:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492752384001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:03:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992209485743663104,"note":"Value kept but may cause issues"} 
[2026-08-19 01:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787081365000,"timestamp_ms":1787081365000,"timestamp_seconds":1787081365,"priority":1,"record_length":96,"hex_timestamp":"000001a016599608"} 
[2026-08-19 01:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 01:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492752384001,"66":25615,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992209485743663104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492752384001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:03:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:03:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:03:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992209485743663104,"description":"Unknown IO ID 44"} 
[2026-08-19 01:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492752384001,"power":25615,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992209485743663104}} 
[2026-08-19 01:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":157632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:03:07] local.INFO: GPS data processed {"connection_id":157632,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:03:07] local.INFO: Acknowledgment sent {"connection_id":157632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:03:38] local.INFO: TCP Data received {"connection_id":157632,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:03:38] local.INFO: Processing buffer {"connection_id":157632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:03:38] local.INFO: Packet analysis {"connection_id":157632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:03:38] local.INFO: Extracted packet for processing {"connection_id":157632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:03:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492752384001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:03:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992209485743663104,"note":"Value kept but may cause issues"} 
[2026-08-19 01:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787081365000,"timestamp_ms":1787081365000,"timestamp_seconds":1787081365,"priority":1,"record_length":96,"hex_timestamp":"000001a016599608"} 
[2026-08-19 01:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 01:03:38] 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-08-19 01: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-08-19 01:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492752384001,"66":25615,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992209485743663104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492752384001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:03:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:03:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:03:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992209485743663104,"description":"Unknown IO ID 44"} 
[2026-08-19 01:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492752384001,"power":25615,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992209485743663104}} 
[2026-08-19 01:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":157632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:03:38] local.INFO: GPS data processed {"connection_id":157632,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:03:38] local.INFO: Acknowledgment sent {"connection_id":157632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:04:00] local.INFO: TCP Data received {"connection_id":158532,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:04:00] local.INFO: Processing buffer {"connection_id":158532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:04:00] local.INFO: IMEI packet received {"connection_id":158532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":158532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:04:06] local.INFO: TCP Data received {"connection_id":158532,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:04:06] local.INFO: Processing buffer {"connection_id":158532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:04:06] local.INFO: IMEI packet received {"connection_id":158532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":158532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:04:07] local.INFO: TCP Data received {"connection_id":158532,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:04:07] local.INFO: Processing buffer {"connection_id":158532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:04:07] local.INFO: Packet analysis {"connection_id":158532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:04:07] local.INFO: Extracted packet for processing {"connection_id":158532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:04:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492752384001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:04:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992209485743663104,"note":"Value kept but may cause issues"} 
[2026-08-19 01:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787081365000,"timestamp_ms":1787081365000,"timestamp_seconds":1787081365,"priority":1,"record_length":96,"hex_timestamp":"000001a016599608"} 
[2026-08-19 01:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 01:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492752384001,"66":25615,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992209485743663104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492752384001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:04:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:04:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:04:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992209485743663104,"description":"Unknown IO ID 44"} 
[2026-08-19 01:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492752384001,"power":25615,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992209485743663104}} 
[2026-08-19 01:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":158532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:04:07] local.INFO: GPS data processed {"connection_id":158532,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:04:07] local.INFO: Acknowledgment sent {"connection_id":158532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:04:38] local.INFO: TCP Data received {"connection_id":158532,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:04:38] local.INFO: Processing buffer {"connection_id":158532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016599608012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:04:38] local.INFO: Packet analysis {"connection_id":158532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:04:38] local.INFO: Extracted packet for processing {"connection_id":158532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01659"} 
[2026-08-19 01:04:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492752384001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:04:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992209485743663104,"note":"Value kept but may cause issues"} 
[2026-08-19 01:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787081365000,"timestamp_ms":1787081365000,"timestamp_seconds":1787081365,"priority":1,"record_length":96,"hex_timestamp":"000001a016599608"} 
[2026-08-19 01:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 01:04:38] 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-08-19 01:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492752384001,"66":25615,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992209485743663104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492752384001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:04:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:04:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:04:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992209485743663104,"description":"Unknown IO ID 44"} 
[2026-08-19 01:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492752384001,"power":25615,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992209485743663104}} 
[2026-08-19 01:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":158532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:04:38] local.INFO: GPS data processed {"connection_id":158532,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:04:38] local.INFO: Acknowledgment sent {"connection_id":158532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:05:00] local.INFO: TCP Data received {"connection_id":157633,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:05:00] local.INFO: Processing buffer {"connection_id":157633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:05:00] local.INFO: IMEI packet received {"connection_id":157633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":157633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:05:04] local.INFO: TCP Data received {"connection_id":157633,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:05:04] local.INFO: Processing buffer {"connection_id":157633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:05:04] local.INFO: IMEI packet received {"connection_id":157633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":157633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:05:05] local.INFO: TCP Data received {"connection_id":157633,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:05:05] local.INFO: Processing buffer {"connection_id":157633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:05:05] local.INFO: IMEI packet received {"connection_id":157633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":157633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:05:06] local.INFO: TCP Data received {"connection_id":157633,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:05:06] local.INFO: Processing buffer {"connection_id":157633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:05:06] local.INFO: Packet analysis {"connection_id":157633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:05:06] local.INFO: Extracted packet for processing {"connection_id":157633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:05:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492829440001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:05:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787081666000,"timestamp_ms":1787081666000,"timestamp_seconds":1787081666,"priority":1,"record_length":96,"hex_timestamp":"000001a0165e2dd0"} 
[2026-08-19 01:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 01:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492829440001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492829440001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:05:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:05:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492829440001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":157633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:05:07] local.INFO: GPS data processed {"connection_id":157633,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:05:07] local.INFO: Acknowledgment sent {"connection_id":157633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:05:38] local.INFO: TCP Data received {"connection_id":157633,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:05:38] local.INFO: Processing buffer {"connection_id":157633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:05:38] local.INFO: Packet analysis {"connection_id":157633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:05:38] local.INFO: Extracted packet for processing {"connection_id":157633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:05:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492829440001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:05:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787081666000,"timestamp_ms":1787081666000,"timestamp_seconds":1787081666,"priority":1,"record_length":96,"hex_timestamp":"000001a0165e2dd0"} 
[2026-08-19 01:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 01:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492829440001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492829440001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:05:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:05:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:05:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492829440001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":157633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:05:38] local.INFO: GPS data processed {"connection_id":157633,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:05:38] local.INFO: Acknowledgment sent {"connection_id":157633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:06:01] local.INFO: TCP Data received {"connection_id":158533,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:06:01] local.INFO: Processing buffer {"connection_id":158533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:06:01] local.INFO: IMEI packet received {"connection_id":158533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":158533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:06:06] local.INFO: TCP Data received {"connection_id":158533,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:06:06] local.INFO: Processing buffer {"connection_id":158533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:06:06] local.INFO: IMEI packet received {"connection_id":158533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":158533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:06:07] local.INFO: TCP Data received {"connection_id":158533,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:06:07] local.INFO: Processing buffer {"connection_id":158533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:06:07] local.INFO: Packet analysis {"connection_id":158533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:06:07] local.INFO: Extracted packet for processing {"connection_id":158533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:06:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492829440001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:06:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787081666000,"timestamp_ms":1787081666000,"timestamp_seconds":1787081666,"priority":1,"record_length":96,"hex_timestamp":"000001a0165e2dd0"} 
[2026-08-19 01:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:06: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-08-19 01:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 01:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492829440001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492829440001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:06:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:06:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492829440001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":158533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:06:07] local.INFO: GPS data processed {"connection_id":158533,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:06:07] local.INFO: Acknowledgment sent {"connection_id":158533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:06:38] local.INFO: TCP Data received {"connection_id":158533,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:06:38] local.INFO: Processing buffer {"connection_id":158533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:06:38] local.INFO: Packet analysis {"connection_id":158533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:06:38] local.INFO: Extracted packet for processing {"connection_id":158533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:06:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492829440001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:06:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787081666000,"timestamp_ms":1787081666000,"timestamp_seconds":1787081666,"priority":1,"record_length":96,"hex_timestamp":"000001a0165e2dd0"} 
[2026-08-19 01:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 01:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492829440001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492829440001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:06:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:06:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:06:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492829440001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":158533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:06:38] local.INFO: GPS data processed {"connection_id":158533,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:06:38] local.INFO: Acknowledgment sent {"connection_id":158533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:07:01] local.INFO: TCP Data received {"connection_id":157634,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:07:01] local.INFO: Processing buffer {"connection_id":157634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:07:01] local.INFO: IMEI packet received {"connection_id":157634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":157634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:07:06] local.INFO: TCP Data received {"connection_id":157634,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:07:06] local.INFO: Processing buffer {"connection_id":157634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:07:06] local.INFO: IMEI packet received {"connection_id":157634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":157634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:07:07] local.INFO: TCP Data received {"connection_id":157634,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:07:07] local.INFO: Processing buffer {"connection_id":157634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:07:07] local.INFO: Packet analysis {"connection_id":157634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:07:07] local.INFO: Extracted packet for processing {"connection_id":157634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:07:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492829440001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:07:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787081666000,"timestamp_ms":1787081666000,"timestamp_seconds":1787081666,"priority":1,"record_length":96,"hex_timestamp":"000001a0165e2dd0"} 
[2026-08-19 01:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:07: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-08-19 01:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 01:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492829440001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492829440001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:07:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:07:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492829440001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":157634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:07:07] local.INFO: GPS data processed {"connection_id":157634,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:07:07] local.INFO: Acknowledgment sent {"connection_id":157634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:07:38] local.INFO: TCP Data received {"connection_id":157634,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:07:38] local.INFO: Processing buffer {"connection_id":157634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:07:38] local.INFO: Packet analysis {"connection_id":157634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:07:38] local.INFO: Extracted packet for processing {"connection_id":157634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:07:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492829440001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:07:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787081666000,"timestamp_ms":1787081666000,"timestamp_seconds":1787081666,"priority":1,"record_length":96,"hex_timestamp":"000001a0165e2dd0"} 
[2026-08-19 01:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 01:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492829440001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492829440001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:07:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:07:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:07:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492829440001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":157634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:07:38] local.INFO: GPS data processed {"connection_id":157634,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:07:38] local.INFO: Acknowledgment sent {"connection_id":157634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:08:01] local.INFO: TCP Data received {"connection_id":157266,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:08:01] local.INFO: Processing buffer {"connection_id":157266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:08:01] local.INFO: IMEI packet received {"connection_id":157266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":157266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:08:06] local.INFO: TCP Data received {"connection_id":157266,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:08:06] local.INFO: Processing buffer {"connection_id":157266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:08:06] local.INFO: IMEI packet received {"connection_id":157266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":157266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:08:07] local.INFO: TCP Data received {"connection_id":157266,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:08:07] local.INFO: Processing buffer {"connection_id":157266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:08:07] local.INFO: Packet analysis {"connection_id":157266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:08:07] local.INFO: Extracted packet for processing {"connection_id":157266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:08:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492829440001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:08:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787081666000,"timestamp_ms":1787081666000,"timestamp_seconds":1787081666,"priority":1,"record_length":96,"hex_timestamp":"000001a0165e2dd0"} 
[2026-08-19 01:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:08: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-08-19 01:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 01:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492829440001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492829440001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:08:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:08:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492829440001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":157266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:08:07] local.INFO: GPS data processed {"connection_id":157266,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:08:07] local.INFO: Acknowledgment sent {"connection_id":157266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:08:39] local.INFO: TCP Data received {"connection_id":157266,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:08:39] local.INFO: Processing buffer {"connection_id":157266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:08:39] local.INFO: Packet analysis {"connection_id":157266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:08:39] local.INFO: Extracted packet for processing {"connection_id":157266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:08:39] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492829440001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:08:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787081666000,"timestamp_ms":1787081666000,"timestamp_seconds":1787081666,"priority":1,"record_length":96,"hex_timestamp":"000001a0165e2dd0"} 
[2026-08-19 01:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 01:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492829440001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492829440001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:08:39] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:08:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:08:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492829440001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":157266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:08:39] local.INFO: GPS data processed {"connection_id":157266,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:08:39] local.INFO: Acknowledgment sent {"connection_id":157266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:09:00] local.INFO: TCP Data received {"connection_id":159820,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:09:00] local.INFO: Processing buffer {"connection_id":159820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:09:00] local.INFO: IMEI packet received {"connection_id":159820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":159820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:09:06] local.INFO: TCP Data received {"connection_id":159820,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:09:06] local.INFO: Processing buffer {"connection_id":159820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:09:06] local.INFO: IMEI packet received {"connection_id":159820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":159820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:09:07] local.INFO: TCP Data received {"connection_id":159820,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:09:07] local.INFO: Processing buffer {"connection_id":159820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:09:07] local.INFO: Packet analysis {"connection_id":159820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:09:07] local.INFO: Extracted packet for processing {"connection_id":159820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:09:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492829440001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:09:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787081666000,"timestamp_ms":1787081666000,"timestamp_seconds":1787081666,"priority":1,"record_length":96,"hex_timestamp":"000001a0165e2dd0"} 
[2026-08-19 01:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:09: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-08-19 01:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 01:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492829440001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492829440001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:09:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:09:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492829440001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":159820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:09:07] local.INFO: GPS data processed {"connection_id":159820,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:09:07] local.INFO: Acknowledgment sent {"connection_id":159820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:09:38] local.INFO: TCP Data received {"connection_id":159820,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:09:38] local.INFO: Processing buffer {"connection_id":159820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0165e2dd0012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:09:38] local.INFO: Packet analysis {"connection_id":159820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:09:38] local.INFO: Extracted packet for processing {"connection_id":159820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0165e"} 
[2026-08-19 01:09:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492829440001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:09:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787081666000,"timestamp_ms":1787081666000,"timestamp_seconds":1787081666,"priority":1,"record_length":96,"hex_timestamp":"000001a0165e2dd0"} 
[2026-08-19 01:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 01:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492829440001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492829440001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:09:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:09:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:09:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492829440001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":159820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:09:38] local.INFO: GPS data processed {"connection_id":159820,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:09:38] local.INFO: Acknowledgment sent {"connection_id":159820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:10:00] local.INFO: TCP Data received {"connection_id":157635,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:10:00] local.INFO: Processing buffer {"connection_id":157635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:10:00] local.INFO: IMEI packet received {"connection_id":157635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":157635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:10:05] local.INFO: TCP Data received {"connection_id":157635,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:10:05] local.INFO: Processing buffer {"connection_id":157635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:10:05] local.INFO: IMEI packet received {"connection_id":157635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":157635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:10:05] local.INFO: TCP Data received {"connection_id":157635,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:10:05] local.INFO: Processing buffer {"connection_id":157635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:10:05] local.INFO: IMEI packet received {"connection_id":157635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":157635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:10:06] local.INFO: TCP Data received {"connection_id":157635,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:10:06] local.INFO: Processing buffer {"connection_id":157635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:10:06] local.INFO: Packet analysis {"connection_id":157635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:10:06] local.INFO: Extracted packet for processing {"connection_id":157635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:10:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492906496001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:10:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787081967000,"timestamp_ms":1787081967000,"timestamp_seconds":1787081967,"priority":1,"record_length":96,"hex_timestamp":"000001a01662c598"} 
[2026-08-19 01:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492906496001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492906496001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:10:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:10:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492906496001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":157635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:10:06] local.INFO: GPS data processed {"connection_id":157635,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:10:06] local.INFO: Acknowledgment sent {"connection_id":157635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:10:11] local.INFO: TCP Data received {"connection_id":157635,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:10:11] local.INFO: Processing buffer {"connection_id":157635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:10:11] local.INFO: Packet analysis {"connection_id":157635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:10:11] local.INFO: Extracted packet for processing {"connection_id":157635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:10:11] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492906496001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:10:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787081967000,"timestamp_ms":1787081967000,"timestamp_seconds":1787081967,"priority":1,"record_length":96,"hex_timestamp":"000001a01662c598"} 
[2026-08-19 01:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492906496001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492906496001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:10:11] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:10:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492906496001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":157635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:10:11] local.INFO: GPS data processed {"connection_id":157635,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:10:11] local.INFO: Acknowledgment sent {"connection_id":157635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:10:42] local.INFO: TCP Data received {"connection_id":157635,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:10:42] local.INFO: Processing buffer {"connection_id":157635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:10:42] local.INFO: Packet analysis {"connection_id":157635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:10:42] local.INFO: Extracted packet for processing {"connection_id":157635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:10:42] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492906496001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787081967000,"timestamp_ms":1787081967000,"timestamp_seconds":1787081967,"priority":1,"record_length":96,"hex_timestamp":"000001a01662c598"} 
[2026-08-19 01:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492906496001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492906496001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:10:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492906496001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":157635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:10:42] local.INFO: GPS data processed {"connection_id":157635,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:10:42] local.INFO: Acknowledgment sent {"connection_id":157635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:11:01] local.INFO: TCP Data received {"connection_id":158534,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:11:01] local.INFO: Processing buffer {"connection_id":158534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:11:01] local.INFO: IMEI packet received {"connection_id":158534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":158534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:11:06] local.INFO: TCP Data received {"connection_id":158534,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:11:06] local.INFO: Processing buffer {"connection_id":158534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:11:06] local.INFO: IMEI packet received {"connection_id":158534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":158534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:11:07] local.INFO: TCP Data received {"connection_id":158534,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:11:07] local.INFO: Processing buffer {"connection_id":158534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:11:07] local.INFO: Packet analysis {"connection_id":158534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:11:07] local.INFO: Extracted packet for processing {"connection_id":158534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:11:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492906496001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:11:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787081967000,"timestamp_ms":1787081967000,"timestamp_seconds":1787081967,"priority":1,"record_length":96,"hex_timestamp":"000001a01662c598"} 
[2026-08-19 01:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:11: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-08-19 01:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:11: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-08-19 01:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492906496001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492906496001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:11:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:11:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:11:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492906496001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":158534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:11:07] local.INFO: GPS data processed {"connection_id":158534,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:11:07] local.INFO: Acknowledgment sent {"connection_id":158534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:11:38] local.INFO: TCP Data received {"connection_id":158534,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:11:38] local.INFO: Processing buffer {"connection_id":158534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:11:38] local.INFO: Packet analysis {"connection_id":158534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:11:38] local.INFO: Extracted packet for processing {"connection_id":158534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:11:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492906496001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:11:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787081967000,"timestamp_ms":1787081967000,"timestamp_seconds":1787081967,"priority":1,"record_length":96,"hex_timestamp":"000001a01662c598"} 
[2026-08-19 01:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492906496001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492906496001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:11:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:11:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:11:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492906496001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":158534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:11:38] local.INFO: GPS data processed {"connection_id":158534,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:11:38] local.INFO: Acknowledgment sent {"connection_id":158534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:12:01] local.INFO: TCP Data received {"connection_id":158535,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:12:01] local.INFO: Processing buffer {"connection_id":158535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:12:01] local.INFO: IMEI packet received {"connection_id":158535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":158535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:12:06] local.INFO: TCP Data received {"connection_id":158535,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:12:06] local.INFO: Processing buffer {"connection_id":158535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:12:06] local.INFO: IMEI packet received {"connection_id":158535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":158535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:12:07] local.INFO: TCP Data received {"connection_id":158535,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:12:07] local.INFO: Processing buffer {"connection_id":158535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:12:07] local.INFO: Packet analysis {"connection_id":158535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:12:07] local.INFO: Extracted packet for processing {"connection_id":158535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:12:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492906496001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:12:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787081967000,"timestamp_ms":1787081967000,"timestamp_seconds":1787081967,"priority":1,"record_length":96,"hex_timestamp":"000001a01662c598"} 
[2026-08-19 01:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01: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-08-19 01: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-08-19 01: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-08-19 01: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-08-19 01:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492906496001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492906496001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:12:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:12:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492906496001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":158535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:12:07] local.INFO: GPS data processed {"connection_id":158535,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:12:07] local.INFO: Acknowledgment sent {"connection_id":158535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:12:38] local.INFO: TCP Data received {"connection_id":158535,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:12:38] local.INFO: Processing buffer {"connection_id":158535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:12:38] local.INFO: Packet analysis {"connection_id":158535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:12:38] local.INFO: Extracted packet for processing {"connection_id":158535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:12:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492906496001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:12:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787081967000,"timestamp_ms":1787081967000,"timestamp_seconds":1787081967,"priority":1,"record_length":96,"hex_timestamp":"000001a01662c598"} 
[2026-08-19 01:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492906496001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492906496001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:12:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:12:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:12:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492906496001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":158535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:12:38] local.INFO: GPS data processed {"connection_id":158535,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:12:38] local.INFO: Acknowledgment sent {"connection_id":158535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:13:00] local.INFO: TCP Data received {"connection_id":157636,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:13:00] local.INFO: Processing buffer {"connection_id":157636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:13:00] local.INFO: IMEI packet received {"connection_id":157636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":157636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:13:06] local.INFO: TCP Data received {"connection_id":157636,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:13:06] local.INFO: Processing buffer {"connection_id":157636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:13:06] local.INFO: IMEI packet received {"connection_id":157636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":157636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:13:07] local.INFO: TCP Data received {"connection_id":157636,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:13:07] local.INFO: Processing buffer {"connection_id":157636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:13:07] local.INFO: Packet analysis {"connection_id":157636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:13:07] local.INFO: Extracted packet for processing {"connection_id":157636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:13:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492906496001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:13:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787081967000,"timestamp_ms":1787081967000,"timestamp_seconds":1787081967,"priority":1,"record_length":96,"hex_timestamp":"000001a01662c598"} 
[2026-08-19 01:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:13: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-08-19 01:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:13: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-08-19 01:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492906496001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492906496001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:13:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:13:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492906496001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":157636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:13:07] local.INFO: GPS data processed {"connection_id":157636,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:13:07] local.INFO: Acknowledgment sent {"connection_id":157636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:13:39] local.INFO: TCP Data received {"connection_id":157636,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:13:39] local.INFO: Processing buffer {"connection_id":157636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:13:39] local.INFO: Packet analysis {"connection_id":157636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:13:39] local.INFO: Extracted packet for processing {"connection_id":157636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:13:39] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492906496001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:13:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787081967000,"timestamp_ms":1787081967000,"timestamp_seconds":1787081967,"priority":1,"record_length":96,"hex_timestamp":"000001a01662c598"} 
[2026-08-19 01:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492906496001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492906496001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:13:39] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:13:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:13:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492906496001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":157636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:13:39] local.INFO: GPS data processed {"connection_id":157636,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:13:39] local.INFO: Acknowledgment sent {"connection_id":157636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:14:00] local.INFO: TCP Data received {"connection_id":157267,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:14:00] local.INFO: Processing buffer {"connection_id":157267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:14:00] local.INFO: IMEI packet received {"connection_id":157267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":157267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:14:06] local.INFO: TCP Data received {"connection_id":157267,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:14:06] local.INFO: Processing buffer {"connection_id":157267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:14:06] local.INFO: IMEI packet received {"connection_id":157267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":157267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:14:07] local.INFO: TCP Data received {"connection_id":157267,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:14:07] local.INFO: Processing buffer {"connection_id":157267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:14:07] local.INFO: Packet analysis {"connection_id":157267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:14:07] local.INFO: Extracted packet for processing {"connection_id":157267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:14:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492906496001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:14:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787081967000,"timestamp_ms":1787081967000,"timestamp_seconds":1787081967,"priority":1,"record_length":96,"hex_timestamp":"000001a01662c598"} 
[2026-08-19 01:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:14: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-08-19 01:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:14: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-08-19 01: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-08-19 01:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492906496001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492906496001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:14:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:14:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492906496001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":157267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:14:07] local.INFO: GPS data processed {"connection_id":157267,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:14:07] local.INFO: Acknowledgment sent {"connection_id":157267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:14:38] local.INFO: TCP Data received {"connection_id":157267,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:14:38] local.INFO: Processing buffer {"connection_id":157267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01662c598012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:14:38] local.INFO: Packet analysis {"connection_id":157267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:14:38] local.INFO: Extracted packet for processing {"connection_id":157267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01662"} 
[2026-08-19 01:14:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492906496001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:14:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787081967000,"timestamp_ms":1787081967000,"timestamp_seconds":1787081967,"priority":1,"record_length":96,"hex_timestamp":"000001a01662c598"} 
[2026-08-19 01:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492906496001,"66":25702,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492906496001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:14:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:14:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:14:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492906496001,"power":25702,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":157267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:14:38] local.INFO: GPS data processed {"connection_id":157267,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:14:38] local.INFO: Acknowledgment sent {"connection_id":157267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:15:06] local.INFO: TCP Data received {"connection_id":158536,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:15:06] local.INFO: Processing buffer {"connection_id":158536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:15:06] local.INFO: IMEI packet received {"connection_id":158536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":158536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:15:06] local.INFO: TCP Data received {"connection_id":158536,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:15:06] local.INFO: Processing buffer {"connection_id":158536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:15:06] local.INFO: IMEI packet received {"connection_id":158536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":158536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:15:11] local.INFO: TCP Data received {"connection_id":158536,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:15:11] local.INFO: Processing buffer {"connection_id":158536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:15:11] local.INFO: IMEI packet received {"connection_id":158536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":158536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:15:12] local.INFO: TCP Data received {"connection_id":158536,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:15:12] local.INFO: Processing buffer {"connection_id":158536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:15:12] local.INFO: Packet analysis {"connection_id":158536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:15:12] local.INFO: Extracted packet for processing {"connection_id":158536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:15:12] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492983552001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:15:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787082268000,"timestamp_ms":1787082268000,"timestamp_seconds":1787082268,"priority":1,"record_length":96,"hex_timestamp":"000001a016675d60"} 
[2026-08-19 01:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492983552001,"66":25647,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492983552001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:15:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:15:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:15:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492983552001,"power":25647,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":158536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:15:12] local.INFO: GPS data processed {"connection_id":158536,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:15:12] local.INFO: Acknowledgment sent {"connection_id":158536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:15:16] local.INFO: TCP Data received {"connection_id":158536,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:15:16] local.INFO: Processing buffer {"connection_id":158536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:15:16] local.INFO: Packet analysis {"connection_id":158536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:15:16] local.INFO: Extracted packet for processing {"connection_id":158536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:15:16] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492983552001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:15:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787082268000,"timestamp_ms":1787082268000,"timestamp_seconds":1787082268,"priority":1,"record_length":96,"hex_timestamp":"000001a016675d60"} 
[2026-08-19 01:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:15: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-08-19 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:15: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-08-19 01: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-08-19 01:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492983552001,"66":25647,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492983552001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:15:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:15:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:15:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492983552001,"power":25647,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":158536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:15:16] local.INFO: GPS data processed {"connection_id":158536,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:15:16] local.INFO: Acknowledgment sent {"connection_id":158536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:16:01] local.INFO: TCP Data received {"connection_id":159821,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:16:01] local.INFO: Processing buffer {"connection_id":159821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:16:01] local.INFO: IMEI packet received {"connection_id":159821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":159821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:16:06] local.INFO: TCP Data received {"connection_id":159821,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:16:06] local.INFO: Processing buffer {"connection_id":159821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:16:06] local.INFO: IMEI packet received {"connection_id":159821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":159821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:16:07] local.INFO: TCP Data received {"connection_id":159821,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:16:07] local.INFO: Processing buffer {"connection_id":159821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:16:07] local.INFO: Packet analysis {"connection_id":159821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:16:07] local.INFO: Extracted packet for processing {"connection_id":159821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:16:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492983552001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:16:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787082268000,"timestamp_ms":1787082268000,"timestamp_seconds":1787082268,"priority":1,"record_length":96,"hex_timestamp":"000001a016675d60"} 
[2026-08-19 01:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:16: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-08-19 01:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:16: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-08-19 01: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-08-19 01:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492983552001,"66":25647,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492983552001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:16:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:16:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492983552001,"power":25647,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":159821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:16:07] local.INFO: GPS data processed {"connection_id":159821,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:16:07] local.INFO: Acknowledgment sent {"connection_id":159821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:16:38] local.INFO: TCP Data received {"connection_id":159821,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:16:38] local.INFO: Processing buffer {"connection_id":159821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:16:38] local.INFO: Packet analysis {"connection_id":159821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:16:38] local.INFO: Extracted packet for processing {"connection_id":159821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:16:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492983552001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:16:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787082268000,"timestamp_ms":1787082268000,"timestamp_seconds":1787082268,"priority":1,"record_length":96,"hex_timestamp":"000001a016675d60"} 
[2026-08-19 01:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492983552001,"66":25647,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492983552001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:16:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:16:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:16:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492983552001,"power":25647,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":159821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:16:38] local.INFO: GPS data processed {"connection_id":159821,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:16:38] local.INFO: Acknowledgment sent {"connection_id":159821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:17:01] local.INFO: TCP Data received {"connection_id":157268,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:17:01] local.INFO: Processing buffer {"connection_id":157268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:17:01] local.INFO: IMEI packet received {"connection_id":157268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":157268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:17:06] local.INFO: TCP Data received {"connection_id":157268,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:17:06] local.INFO: Processing buffer {"connection_id":157268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:17:06] local.INFO: IMEI packet received {"connection_id":157268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":157268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:17:07] local.INFO: TCP Data received {"connection_id":157268,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:17:07] local.INFO: Processing buffer {"connection_id":157268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:17:07] local.INFO: Packet analysis {"connection_id":157268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:17:07] local.INFO: Extracted packet for processing {"connection_id":157268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:17:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492983552001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:17:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787082268000,"timestamp_ms":1787082268000,"timestamp_seconds":1787082268,"priority":1,"record_length":96,"hex_timestamp":"000001a016675d60"} 
[2026-08-19 01:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:17: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-08-19 01:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:17: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-08-19 01:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492983552001,"66":25647,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492983552001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:17:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:17:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492983552001,"power":25647,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":157268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:17:07] local.INFO: GPS data processed {"connection_id":157268,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:17:07] local.INFO: Acknowledgment sent {"connection_id":157268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:17:38] local.INFO: TCP Data received {"connection_id":157268,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:17:38] local.INFO: Processing buffer {"connection_id":157268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:17:38] local.INFO: Packet analysis {"connection_id":157268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:17:38] local.INFO: Extracted packet for processing {"connection_id":157268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:17:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492983552001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:17:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787082268000,"timestamp_ms":1787082268000,"timestamp_seconds":1787082268,"priority":1,"record_length":96,"hex_timestamp":"000001a016675d60"} 
[2026-08-19 01:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492983552001,"66":25647,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492983552001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:17:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:17:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:17:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492983552001,"power":25647,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":157268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:17:38] local.INFO: GPS data processed {"connection_id":157268,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:17:38] local.INFO: Acknowledgment sent {"connection_id":157268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:18:00] local.INFO: TCP Data received {"connection_id":159822,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:18:00] local.INFO: Processing buffer {"connection_id":159822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:18:00] local.INFO: IMEI packet received {"connection_id":159822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":159822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:18:06] local.INFO: TCP Data received {"connection_id":159822,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:18:06] local.INFO: Processing buffer {"connection_id":159822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:18:06] local.INFO: IMEI packet received {"connection_id":159822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":159822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:18:08] local.INFO: TCP Data received {"connection_id":159822,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:18:08] local.INFO: Processing buffer {"connection_id":159822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:18:08] local.INFO: Packet analysis {"connection_id":159822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:18:08] local.INFO: Extracted packet for processing {"connection_id":159822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:18:08] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492983552001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:18:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787082268000,"timestamp_ms":1787082268000,"timestamp_seconds":1787082268,"priority":1,"record_length":96,"hex_timestamp":"000001a016675d60"} 
[2026-08-19 01:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:18: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-08-19 01:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:18: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-08-19 01: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-08-19 01:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492983552001,"66":25647,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492983552001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:18:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:18:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:18:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492983552001,"power":25647,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":159822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:18:08] local.INFO: GPS data processed {"connection_id":159822,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:18:08] local.INFO: Acknowledgment sent {"connection_id":159822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:18:40] local.INFO: TCP Data received {"connection_id":159822,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:18:40] local.INFO: Processing buffer {"connection_id":159822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:18:40] local.INFO: Packet analysis {"connection_id":159822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:18:40] local.INFO: Extracted packet for processing {"connection_id":159822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:18:40] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492983552001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:18:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787082268000,"timestamp_ms":1787082268000,"timestamp_seconds":1787082268,"priority":1,"record_length":96,"hex_timestamp":"000001a016675d60"} 
[2026-08-19 01:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492983552001,"66":25647,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492983552001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:18:40] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:18:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:18:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492983552001,"power":25647,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":159822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:18:40] local.INFO: GPS data processed {"connection_id":159822,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:18:40] local.INFO: Acknowledgment sent {"connection_id":159822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:19:00] local.INFO: TCP Data received {"connection_id":157269,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:19:00] local.INFO: Processing buffer {"connection_id":157269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:19:00] local.INFO: IMEI packet received {"connection_id":157269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":157269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:19:06] local.INFO: TCP Data received {"connection_id":157269,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:19:06] local.INFO: Processing buffer {"connection_id":157269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:19:06] local.INFO: IMEI packet received {"connection_id":157269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":157269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:19:07] local.INFO: TCP Data received {"connection_id":157269,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:19:07] local.INFO: Processing buffer {"connection_id":157269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:19:07] local.INFO: Packet analysis {"connection_id":157269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:19:07] local.INFO: Extracted packet for processing {"connection_id":157269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:19:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492983552001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:19:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787082268000,"timestamp_ms":1787082268000,"timestamp_seconds":1787082268,"priority":1,"record_length":96,"hex_timestamp":"000001a016675d60"} 
[2026-08-19 01:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:19: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-08-19 01:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:19: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-08-19 01: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-08-19 01:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492983552001,"66":25647,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492983552001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:19:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:19:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492983552001,"power":25647,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":157269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:19:07] local.INFO: GPS data processed {"connection_id":157269,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:19:07] local.INFO: Acknowledgment sent {"connection_id":157269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:19:38] local.INFO: TCP Data received {"connection_id":157269,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:19:38] local.INFO: Processing buffer {"connection_id":157269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016675d60012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:19:38] local.INFO: Packet analysis {"connection_id":157269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:19:38] local.INFO: Extracted packet for processing {"connection_id":157269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01667"} 
[2026-08-19 01:19:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457492983552001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:19:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787082268000,"timestamp_ms":1787082268000,"timestamp_seconds":1787082268,"priority":1,"record_length":96,"hex_timestamp":"000001a016675d60"} 
[2026-08-19 01:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 01:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457492983552001,"66":25647,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457492983552001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:19:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:19:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:19:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457492983552001,"power":25647,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":157269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:19:38] local.INFO: GPS data processed {"connection_id":157269,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:19:38] local.INFO: Acknowledgment sent {"connection_id":157269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:20:06] local.INFO: TCP Data received {"connection_id":159823,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:20:06] local.INFO: Processing buffer {"connection_id":159823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:20:06] local.INFO: IMEI packet received {"connection_id":159823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":159823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:20:06] local.INFO: TCP Data received {"connection_id":159823,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:20:06] local.INFO: Processing buffer {"connection_id":159823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:20:06] local.INFO: IMEI packet received {"connection_id":159823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":159823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:20:07] local.INFO: TCP Data received {"connection_id":159823,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:20:07] local.INFO: Processing buffer {"connection_id":159823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:20:07] local.INFO: Packet analysis {"connection_id":159823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:20:07] local.INFO: Extracted packet for processing {"connection_id":159823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:20:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493060608001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:20:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787082569000,"timestamp_ms":1787082569000,"timestamp_seconds":1787082569,"priority":1,"record_length":96,"hex_timestamp":"000001a0166bf528"} 
[2026-08-19 01:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:20: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-08-19 01:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 01:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493060608001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493060608001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:20:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:20:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493060608001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":159823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:20:07] local.INFO: GPS data processed {"connection_id":159823,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:20:07] local.INFO: Acknowledgment sent {"connection_id":159823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:20:11] local.INFO: TCP Data received {"connection_id":159823,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:20:11] local.INFO: Processing buffer {"connection_id":159823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:20:11] local.INFO: Packet analysis {"connection_id":159823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:20:11] local.INFO: Extracted packet for processing {"connection_id":159823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:20:11] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493060608001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:20:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787082569000,"timestamp_ms":1787082569000,"timestamp_seconds":1787082569,"priority":1,"record_length":96,"hex_timestamp":"000001a0166bf528"} 
[2026-08-19 01:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 01:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493060608001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493060608001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:20:11] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:20:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493060608001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":159823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:20:11] local.INFO: GPS data processed {"connection_id":159823,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:20:11] local.INFO: Acknowledgment sent {"connection_id":159823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:20:42] local.INFO: TCP Data received {"connection_id":159823,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:20:42] local.INFO: Processing buffer {"connection_id":159823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:20:42] local.INFO: Packet analysis {"connection_id":159823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:20:42] local.INFO: Extracted packet for processing {"connection_id":159823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:20:42] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493060608001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:20:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787082569000,"timestamp_ms":1787082569000,"timestamp_seconds":1787082569,"priority":1,"record_length":96,"hex_timestamp":"000001a0166bf528"} 
[2026-08-19 01:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 01:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493060608001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493060608001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:20:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:20:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493060608001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":159823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:20:42] local.INFO: GPS data processed {"connection_id":159823,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:20:42] local.INFO: Acknowledgment sent {"connection_id":159823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:21:01] local.INFO: TCP Data received {"connection_id":157270,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:21:01] local.INFO: Processing buffer {"connection_id":157270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:21:01] local.INFO: IMEI packet received {"connection_id":157270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":157270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:21:06] local.INFO: TCP Data received {"connection_id":157270,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:21:06] local.INFO: Processing buffer {"connection_id":157270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:21:06] local.INFO: IMEI packet received {"connection_id":157270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":157270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:21:07] local.INFO: TCP Data received {"connection_id":157270,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:21:07] local.INFO: Processing buffer {"connection_id":157270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:21:07] local.INFO: Packet analysis {"connection_id":157270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:21:07] local.INFO: Extracted packet for processing {"connection_id":157270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:21:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493060608001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:21:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787082569000,"timestamp_ms":1787082569000,"timestamp_seconds":1787082569,"priority":1,"record_length":96,"hex_timestamp":"000001a0166bf528"} 
[2026-08-19 01:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:21: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-08-19 01:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 01:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493060608001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493060608001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:21:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:21:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493060608001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":157270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:21:07] local.INFO: GPS data processed {"connection_id":157270,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:21:07] local.INFO: Acknowledgment sent {"connection_id":157270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:21:38] local.INFO: TCP Data received {"connection_id":157270,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:21:38] local.INFO: Processing buffer {"connection_id":157270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:21:38] local.INFO: Packet analysis {"connection_id":157270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:21:38] local.INFO: Extracted packet for processing {"connection_id":157270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:21:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493060608001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:21:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787082569000,"timestamp_ms":1787082569000,"timestamp_seconds":1787082569,"priority":1,"record_length":96,"hex_timestamp":"000001a0166bf528"} 
[2026-08-19 01:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 01:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493060608001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493060608001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:21:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:21:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493060608001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":157270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:21:38] local.INFO: GPS data processed {"connection_id":157270,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:21:38] local.INFO: Acknowledgment sent {"connection_id":157270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:22:00] local.INFO: TCP Data received {"connection_id":157271,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:22:00] local.INFO: Processing buffer {"connection_id":157271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:22:00] local.INFO: IMEI packet received {"connection_id":157271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":157271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:22:06] local.INFO: TCP Data received {"connection_id":157271,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:22:06] local.INFO: Processing buffer {"connection_id":157271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:22:06] local.INFO: IMEI packet received {"connection_id":157271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":157271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:22:07] local.INFO: TCP Data received {"connection_id":157271,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:22:07] local.INFO: Processing buffer {"connection_id":157271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:22:07] local.INFO: Packet analysis {"connection_id":157271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:22:07] local.INFO: Extracted packet for processing {"connection_id":157271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:22:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493060608001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:22:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787082569000,"timestamp_ms":1787082569000,"timestamp_seconds":1787082569,"priority":1,"record_length":96,"hex_timestamp":"000001a0166bf528"} 
[2026-08-19 01:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:22: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-08-19 01:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 01:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493060608001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493060608001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:22:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:22:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493060608001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":157271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:22:07] local.INFO: GPS data processed {"connection_id":157271,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:22:07] local.INFO: Acknowledgment sent {"connection_id":157271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:22:38] local.INFO: TCP Data received {"connection_id":157271,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:22:38] local.INFO: Processing buffer {"connection_id":157271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:22:38] local.INFO: Packet analysis {"connection_id":157271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:22:38] local.INFO: Extracted packet for processing {"connection_id":157271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:22:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493060608001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:22:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787082569000,"timestamp_ms":1787082569000,"timestamp_seconds":1787082569,"priority":1,"record_length":96,"hex_timestamp":"000001a0166bf528"} 
[2026-08-19 01:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 01:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493060608001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493060608001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:22:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:22:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:22:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493060608001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":157271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:22:38] local.INFO: GPS data processed {"connection_id":157271,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:22:38] local.INFO: Acknowledgment sent {"connection_id":157271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:23:00] local.INFO: TCP Data received {"connection_id":157272,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:23:00] local.INFO: Processing buffer {"connection_id":157272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:23:00] local.INFO: IMEI packet received {"connection_id":157272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":157272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:23:06] local.INFO: TCP Data received {"connection_id":157272,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:23:06] local.INFO: Processing buffer {"connection_id":157272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:23:06] local.INFO: IMEI packet received {"connection_id":157272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":157272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:23:07] local.INFO: TCP Data received {"connection_id":157272,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:23:07] local.INFO: Processing buffer {"connection_id":157272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:23:07] local.INFO: Packet analysis {"connection_id":157272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:23:07] local.INFO: Extracted packet for processing {"connection_id":157272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:23:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493060608001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:23:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787082569000,"timestamp_ms":1787082569000,"timestamp_seconds":1787082569,"priority":1,"record_length":96,"hex_timestamp":"000001a0166bf528"} 
[2026-08-19 01:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:23: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-08-19 01:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 01:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493060608001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493060608001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:23:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:23:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493060608001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":157272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:23:07] local.INFO: GPS data processed {"connection_id":157272,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:23:07] local.INFO: Acknowledgment sent {"connection_id":157272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:23:38] local.INFO: TCP Data received {"connection_id":157272,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:23:38] local.INFO: Processing buffer {"connection_id":157272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:23:38] local.INFO: Packet analysis {"connection_id":157272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:23:38] local.INFO: Extracted packet for processing {"connection_id":157272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:23:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493060608001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:23:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787082569000,"timestamp_ms":1787082569000,"timestamp_seconds":1787082569,"priority":1,"record_length":96,"hex_timestamp":"000001a0166bf528"} 
[2026-08-19 01:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 01:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493060608001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493060608001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:23:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:23:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:23:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493060608001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":157272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:23:38] local.INFO: GPS data processed {"connection_id":157272,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:23:38] local.INFO: Acknowledgment sent {"connection_id":157272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:24:06] local.INFO: TCP Data received {"connection_id":158537,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:24:06] local.INFO: Processing buffer {"connection_id":158537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:24:06] local.INFO: IMEI packet received {"connection_id":158537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":158537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:24:11] local.INFO: TCP Data received {"connection_id":158537,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:24:11] local.INFO: Processing buffer {"connection_id":158537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:24:11] local.INFO: IMEI packet received {"connection_id":158537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":158537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:24:12] local.INFO: TCP Data received {"connection_id":158537,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:24:12] local.INFO: Processing buffer {"connection_id":158537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:24:12] local.INFO: Packet analysis {"connection_id":158537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:24:12] local.INFO: Extracted packet for processing {"connection_id":158537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:24:12] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493060608001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787082569000,"timestamp_ms":1787082569000,"timestamp_seconds":1787082569,"priority":1,"record_length":96,"hex_timestamp":"000001a0166bf528"} 
[2026-08-19 01:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 01:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493060608001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493060608001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:24:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:24:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493060608001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":158537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:24:12] local.INFO: GPS data processed {"connection_id":158537,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:24:12] local.INFO: Acknowledgment sent {"connection_id":158537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:24:16] local.INFO: TCP Data received {"connection_id":158537,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:24:16] local.INFO: Processing buffer {"connection_id":158537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:24:16] local.INFO: Packet analysis {"connection_id":158537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:24:16] local.INFO: Extracted packet for processing {"connection_id":158537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:24:16] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493060608001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:24:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787082569000,"timestamp_ms":1787082569000,"timestamp_seconds":1787082569,"priority":1,"record_length":96,"hex_timestamp":"000001a0166bf528"} 
[2026-08-19 01:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:24: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-08-19 01: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 01:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493060608001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493060608001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:24:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:24:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:24:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493060608001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":158537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:24:16] local.INFO: GPS data processed {"connection_id":158537,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:24:16] local.INFO: Acknowledgment sent {"connection_id":158537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:25:01] local.INFO: TCP Data received {"connection_id":157637,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:25:01] local.INFO: Processing buffer {"connection_id":157637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:25:01] local.INFO: IMEI packet received {"connection_id":157637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":157637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:25:06] local.INFO: TCP Data received {"connection_id":157637,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:25:06] local.INFO: Processing buffer {"connection_id":157637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:25:06] local.INFO: IMEI packet received {"connection_id":157637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":157637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:25:06] local.INFO: TCP Data received {"connection_id":157637,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:25:06] local.INFO: Processing buffer {"connection_id":157637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0166bf528012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:25:06] local.INFO: Packet analysis {"connection_id":157637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:25:06] local.INFO: Extracted packet for processing {"connection_id":157637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0166b"} 
[2026-08-19 01:25:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493060608001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:25:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787082569000,"timestamp_ms":1787082569000,"timestamp_seconds":1787082569,"priority":1,"record_length":96,"hex_timestamp":"000001a0166bf528"} 
[2026-08-19 01:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 01:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493060608001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493060608001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:25:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:25:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493060608001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":157637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:25:07] local.INFO: GPS data processed {"connection_id":157637,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:25:07] local.INFO: Acknowledgment sent {"connection_id":157637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:25:37] local.INFO: TCP Data received {"connection_id":157637,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:25:37] local.INFO: Processing buffer {"connection_id":157637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:25:37] local.INFO: Packet analysis {"connection_id":157637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:25:37] local.INFO: Extracted packet for processing {"connection_id":157637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:25:37] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493137664001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:25:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787082870000,"timestamp_ms":1787082870000,"timestamp_seconds":1787082870,"priority":1,"record_length":96,"hex_timestamp":"000001a016708cf0"} 
[2026-08-19 01:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493137664001,"66":24897,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493137664001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:25:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:25:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493137664001,"power":24897,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":157637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:25:38] local.INFO: GPS data processed {"connection_id":157637,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:25:38] local.INFO: Acknowledgment sent {"connection_id":157637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:26:01] local.INFO: TCP Data received {"connection_id":158538,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:26:01] local.INFO: Processing buffer {"connection_id":158538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:26:01] local.INFO: IMEI packet received {"connection_id":158538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":158538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:26:06] local.INFO: TCP Data received {"connection_id":158538,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:26:06] local.INFO: Processing buffer {"connection_id":158538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:26:06] local.INFO: IMEI packet received {"connection_id":158538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":158538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:26:06] local.INFO: TCP Data received {"connection_id":158538,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:26:06] local.INFO: Processing buffer {"connection_id":158538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:26:06] local.INFO: Packet analysis {"connection_id":158538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:26:06] local.INFO: Extracted packet for processing {"connection_id":158538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:26:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493137664001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:26:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787082870000,"timestamp_ms":1787082870000,"timestamp_seconds":1787082870,"priority":1,"record_length":96,"hex_timestamp":"000001a016708cf0"} 
[2026-08-19 01:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493137664001,"66":24897,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493137664001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:26:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:26:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493137664001,"power":24897,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":158538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:26:06] local.INFO: GPS data processed {"connection_id":158538,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:26:06] local.INFO: Acknowledgment sent {"connection_id":158538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:26:38] local.INFO: TCP Data received {"connection_id":158538,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:26:38] local.INFO: Processing buffer {"connection_id":158538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:26:38] local.INFO: Packet analysis {"connection_id":158538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:26:38] local.INFO: Extracted packet for processing {"connection_id":158538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:26:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493137664001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:26:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787082870000,"timestamp_ms":1787082870000,"timestamp_seconds":1787082870,"priority":1,"record_length":96,"hex_timestamp":"000001a016708cf0"} 
[2026-08-19 01:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493137664001,"66":24897,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493137664001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:26:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:26:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493137664001,"power":24897,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":158538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:26:38] local.INFO: GPS data processed {"connection_id":158538,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:26:38] local.INFO: Acknowledgment sent {"connection_id":158538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:27:00] local.INFO: TCP Data received {"connection_id":159824,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:27:00] local.INFO: Processing buffer {"connection_id":159824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:27:00] local.INFO: IMEI packet received {"connection_id":159824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":159824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:27:06] local.INFO: TCP Data received {"connection_id":159824,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:27:06] local.INFO: Processing buffer {"connection_id":159824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:27:06] local.INFO: IMEI packet received {"connection_id":159824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":159824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:27:07] local.INFO: TCP Data received {"connection_id":159824,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:27:07] local.INFO: Processing buffer {"connection_id":159824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:27:07] local.INFO: Packet analysis {"connection_id":159824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:27:07] local.INFO: Extracted packet for processing {"connection_id":159824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:27:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493137664001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:27:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787082870000,"timestamp_ms":1787082870000,"timestamp_seconds":1787082870,"priority":1,"record_length":96,"hex_timestamp":"000001a016708cf0"} 
[2026-08-19 01:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:27: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-08-19 01:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493137664001,"66":24897,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493137664001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:27:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:27:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:27:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493137664001,"power":24897,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":159824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:27:07] local.INFO: GPS data processed {"connection_id":159824,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:27:07] local.INFO: Acknowledgment sent {"connection_id":159824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:27:38] local.INFO: TCP Data received {"connection_id":159824,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:27:38] local.INFO: Processing buffer {"connection_id":159824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:27:38] local.INFO: Packet analysis {"connection_id":159824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:27:38] local.INFO: Extracted packet for processing {"connection_id":159824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:27:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493137664001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:27:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787082870000,"timestamp_ms":1787082870000,"timestamp_seconds":1787082870,"priority":1,"record_length":96,"hex_timestamp":"000001a016708cf0"} 
[2026-08-19 01:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493137664001,"66":24897,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493137664001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:27:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:27:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:27:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493137664001,"power":24897,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":159824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:27:38] local.INFO: GPS data processed {"connection_id":159824,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:27:38] local.INFO: Acknowledgment sent {"connection_id":159824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:28:00] local.INFO: TCP Data received {"connection_id":157273,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:28:00] local.INFO: Processing buffer {"connection_id":157273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:28:00] local.INFO: IMEI packet received {"connection_id":157273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":157273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:28:06] local.INFO: TCP Data received {"connection_id":157273,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:28:06] local.INFO: Processing buffer {"connection_id":157273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:28:06] local.INFO: IMEI packet received {"connection_id":157273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":157273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:28:06] local.INFO: TCP Data received {"connection_id":157273,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:28:06] local.INFO: Processing buffer {"connection_id":157273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:28:06] local.INFO: Packet analysis {"connection_id":157273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:28:06] local.INFO: Extracted packet for processing {"connection_id":157273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:28:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493137664001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:28:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787082870000,"timestamp_ms":1787082870000,"timestamp_seconds":1787082870,"priority":1,"record_length":96,"hex_timestamp":"000001a016708cf0"} 
[2026-08-19 01:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493137664001,"66":24897,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493137664001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:28:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:28:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493137664001,"power":24897,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":157273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:28:07] local.INFO: GPS data processed {"connection_id":157273,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:28:07] local.INFO: Acknowledgment sent {"connection_id":157273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:28:38] local.INFO: TCP Data received {"connection_id":157273,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:28:38] local.INFO: Processing buffer {"connection_id":157273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:28:38] local.INFO: Packet analysis {"connection_id":157273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:28:38] local.INFO: Extracted packet for processing {"connection_id":157273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:28:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493137664001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:28:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787082870000,"timestamp_ms":1787082870000,"timestamp_seconds":1787082870,"priority":1,"record_length":96,"hex_timestamp":"000001a016708cf0"} 
[2026-08-19 01:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493137664001,"66":24897,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493137664001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:28:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:28:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:28:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493137664001,"power":24897,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":157273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:28:38] local.INFO: GPS data processed {"connection_id":157273,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:28:38] local.INFO: Acknowledgment sent {"connection_id":157273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:29:06] local.INFO: TCP Data received {"connection_id":157638,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:29:06] local.INFO: Processing buffer {"connection_id":157638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:29:06] local.INFO: IMEI packet received {"connection_id":157638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":157638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:29:11] local.INFO: TCP Data received {"connection_id":157638,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:29:11] local.INFO: Processing buffer {"connection_id":157638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:29:11] local.INFO: IMEI packet received {"connection_id":157638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":157638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:29:12] local.INFO: TCP Data received {"connection_id":157638,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:29:12] local.INFO: Processing buffer {"connection_id":157638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:29:12] local.INFO: Packet analysis {"connection_id":157638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:29:12] local.INFO: Extracted packet for processing {"connection_id":157638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:29:12] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493137664001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:29:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787082870000,"timestamp_ms":1787082870000,"timestamp_seconds":1787082870,"priority":1,"record_length":96,"hex_timestamp":"000001a016708cf0"} 
[2026-08-19 01:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:29: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-08-19 01:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493137664001,"66":24897,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493137664001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:29:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:29:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:29:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493137664001,"power":24897,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":157638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:29:12] local.INFO: GPS data processed {"connection_id":157638,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:29:12] local.INFO: Acknowledgment sent {"connection_id":157638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:29:17] local.INFO: TCP Data received {"connection_id":157638,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:29:17] local.INFO: Processing buffer {"connection_id":157638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:29:17] local.INFO: Packet analysis {"connection_id":157638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:29:17] local.INFO: Extracted packet for processing {"connection_id":157638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:29:17] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493137664001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:29:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787082870000,"timestamp_ms":1787082870000,"timestamp_seconds":1787082870,"priority":1,"record_length":96,"hex_timestamp":"000001a016708cf0"} 
[2026-08-19 01:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:29: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-08-19 01:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493137664001,"66":24897,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493137664001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:29:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:29:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:29:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493137664001,"power":24897,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":157638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:29:17] local.INFO: GPS data processed {"connection_id":157638,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:29:17] local.INFO: Acknowledgment sent {"connection_id":157638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:30:01] local.INFO: TCP Data received {"connection_id":157274,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:30:01] local.INFO: Processing buffer {"connection_id":157274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:30:01] local.INFO: IMEI packet received {"connection_id":157274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":157274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:30:06] local.INFO: TCP Data received {"connection_id":157274,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:30:06] local.INFO: Processing buffer {"connection_id":157274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:30:06] local.INFO: IMEI packet received {"connection_id":157274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":157274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:30:07] local.INFO: TCP Data received {"connection_id":157274,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:30:07] local.INFO: Processing buffer {"connection_id":157274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016708cf0012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:30:07] local.INFO: Packet analysis {"connection_id":157274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:30:07] local.INFO: Extracted packet for processing {"connection_id":157274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01670"} 
[2026-08-19 01:30:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493137664001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:30:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787082870000,"timestamp_ms":1787082870000,"timestamp_seconds":1787082870,"priority":1,"record_length":96,"hex_timestamp":"000001a016708cf0"} 
[2026-08-19 01:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:30: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-08-19 01:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493137664001,"66":24897,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493137664001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:30:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:30:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493137664001,"power":24897,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":157274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:30:07] local.INFO: GPS data processed {"connection_id":157274,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:30:07] local.INFO: Acknowledgment sent {"connection_id":157274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:30:38] local.INFO: TCP Data received {"connection_id":157274,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:30:38] local.INFO: Processing buffer {"connection_id":157274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:30:38] local.INFO: Packet analysis {"connection_id":157274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:30:38] local.INFO: Extracted packet for processing {"connection_id":157274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:30:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493214720001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:30:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787083171000,"timestamp_ms":1787083171000,"timestamp_seconds":1787083171,"priority":1,"record_length":96,"hex_timestamp":"000001a0167524b8"} 
[2026-08-19 01:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-19 01:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493214720001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493214720001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:30:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:30:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:30:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493214720001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":157274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:30:38] local.INFO: GPS data processed {"connection_id":157274,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:30:38] local.INFO: Acknowledgment sent {"connection_id":157274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:31:00] local.INFO: TCP Data received {"connection_id":158539,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:31:00] local.INFO: Processing buffer {"connection_id":158539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:31:00] local.INFO: IMEI packet received {"connection_id":158539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":158539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:31:06] local.INFO: TCP Data received {"connection_id":158539,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:31:06] local.INFO: Processing buffer {"connection_id":158539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:31:06] local.INFO: IMEI packet received {"connection_id":158539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":158539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:31:06] local.INFO: TCP Data received {"connection_id":158539,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:31:06] local.INFO: Processing buffer {"connection_id":158539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:31:06] local.INFO: Packet analysis {"connection_id":158539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:31:06] local.INFO: Extracted packet for processing {"connection_id":158539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:31:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493214720001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:31:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787083171000,"timestamp_ms":1787083171000,"timestamp_seconds":1787083171,"priority":1,"record_length":96,"hex_timestamp":"000001a0167524b8"} 
[2026-08-19 01:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-19 01:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493214720001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493214720001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:31:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:31:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493214720001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":158539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:31:07] local.INFO: GPS data processed {"connection_id":158539,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:31:07] local.INFO: Acknowledgment sent {"connection_id":158539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:31:38] local.INFO: TCP Data received {"connection_id":158539,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:31:38] local.INFO: Processing buffer {"connection_id":158539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:31:38] local.INFO: Packet analysis {"connection_id":158539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:31:38] local.INFO: Extracted packet for processing {"connection_id":158539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:31:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493214720001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:31:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787083171000,"timestamp_ms":1787083171000,"timestamp_seconds":1787083171,"priority":1,"record_length":96,"hex_timestamp":"000001a0167524b8"} 
[2026-08-19 01:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-19 01:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493214720001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493214720001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:31:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:31:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:31:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493214720001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":158539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:31:38] local.INFO: GPS data processed {"connection_id":158539,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:31:38] local.INFO: Acknowledgment sent {"connection_id":158539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:32:00] local.INFO: TCP Data received {"connection_id":158540,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:32:00] local.INFO: Processing buffer {"connection_id":158540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:32:00] local.INFO: IMEI packet received {"connection_id":158540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":158540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:32:06] local.INFO: TCP Data received {"connection_id":158540,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:32:06] local.INFO: Processing buffer {"connection_id":158540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:32:06] local.INFO: IMEI packet received {"connection_id":158540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":158540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:32:07] local.INFO: TCP Data received {"connection_id":158540,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:32:07] local.INFO: Processing buffer {"connection_id":158540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:32:07] local.INFO: Packet analysis {"connection_id":158540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:32:07] local.INFO: Extracted packet for processing {"connection_id":158540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:32:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493214720001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:32:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787083171000,"timestamp_ms":1787083171000,"timestamp_seconds":1787083171,"priority":1,"record_length":96,"hex_timestamp":"000001a0167524b8"} 
[2026-08-19 01:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:32: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-08-19 01:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-19 01:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493214720001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493214720001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:32:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:32:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493214720001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":158540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:32:07] local.INFO: GPS data processed {"connection_id":158540,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:32:07] local.INFO: Acknowledgment sent {"connection_id":158540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:32:38] local.INFO: TCP Data received {"connection_id":158540,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:32:38] local.INFO: Processing buffer {"connection_id":158540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:32:38] local.INFO: Packet analysis {"connection_id":158540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:32:38] local.INFO: Extracted packet for processing {"connection_id":158540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:32:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493214720001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:32:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787083171000,"timestamp_ms":1787083171000,"timestamp_seconds":1787083171,"priority":1,"record_length":96,"hex_timestamp":"000001a0167524b8"} 
[2026-08-19 01:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-19 01:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493214720001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493214720001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:32:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:32:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:32:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493214720001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":158540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:32:38] local.INFO: GPS data processed {"connection_id":158540,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:32:38] local.INFO: Acknowledgment sent {"connection_id":158540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:33:06] local.INFO: TCP Data received {"connection_id":157275,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:33:06] local.INFO: Processing buffer {"connection_id":157275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:33:06] local.INFO: IMEI packet received {"connection_id":157275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":157275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:33:11] local.INFO: TCP Data received {"connection_id":157275,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:33:11] local.INFO: Processing buffer {"connection_id":157275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:33:11] local.INFO: IMEI packet received {"connection_id":157275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":157275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:33:12] local.INFO: TCP Data received {"connection_id":157275,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:33:12] local.INFO: Processing buffer {"connection_id":157275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:33:12] local.INFO: Packet analysis {"connection_id":157275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:33:12] local.INFO: Extracted packet for processing {"connection_id":157275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:33:12] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493214720001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:33:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787083171000,"timestamp_ms":1787083171000,"timestamp_seconds":1787083171,"priority":1,"record_length":96,"hex_timestamp":"000001a0167524b8"} 
[2026-08-19 01:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-19 01:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493214720001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493214720001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:33:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:33:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:33:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493214720001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":157275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:33:12] local.INFO: GPS data processed {"connection_id":157275,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:33:12] local.INFO: Acknowledgment sent {"connection_id":157275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:33:16] local.INFO: TCP Data received {"connection_id":157275,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:33:16] local.INFO: Processing buffer {"connection_id":157275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:33:16] local.INFO: Packet analysis {"connection_id":157275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:33:16] local.INFO: Extracted packet for processing {"connection_id":157275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:33:16] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493214720001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:33:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787083171000,"timestamp_ms":1787083171000,"timestamp_seconds":1787083171,"priority":1,"record_length":96,"hex_timestamp":"000001a0167524b8"} 
[2026-08-19 01:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:33: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-08-19 01:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-19 01:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493214720001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493214720001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:33:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:33:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:33:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493214720001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":157275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:33:16] local.INFO: GPS data processed {"connection_id":157275,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:33:16] local.INFO: Acknowledgment sent {"connection_id":157275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:34:01] local.INFO: TCP Data received {"connection_id":159825,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:34:01] local.INFO: Processing buffer {"connection_id":159825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:34:01] local.INFO: IMEI packet received {"connection_id":159825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":159825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:34:06] local.INFO: TCP Data received {"connection_id":159825,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:34:06] local.INFO: Processing buffer {"connection_id":159825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:34:06] local.INFO: IMEI packet received {"connection_id":159825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":159825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:34:07] local.INFO: TCP Data received {"connection_id":159825,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:34:07] local.INFO: Processing buffer {"connection_id":159825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:34:07] local.INFO: Packet analysis {"connection_id":159825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:34:07] local.INFO: Extracted packet for processing {"connection_id":159825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:34:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493214720001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:34:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787083171000,"timestamp_ms":1787083171000,"timestamp_seconds":1787083171,"priority":1,"record_length":96,"hex_timestamp":"000001a0167524b8"} 
[2026-08-19 01:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:34: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-08-19 01: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-19 01:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493214720001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493214720001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:34:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:34:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:34:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493214720001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":159825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:34:07] local.INFO: GPS data processed {"connection_id":159825,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:34:07] local.INFO: Acknowledgment sent {"connection_id":159825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:34:38] local.INFO: TCP Data received {"connection_id":159825,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:34:38] local.INFO: Processing buffer {"connection_id":159825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:34:38] local.INFO: Packet analysis {"connection_id":159825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:34:38] local.INFO: Extracted packet for processing {"connection_id":159825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:34:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493214720001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:34:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787083171000,"timestamp_ms":1787083171000,"timestamp_seconds":1787083171,"priority":1,"record_length":96,"hex_timestamp":"000001a0167524b8"} 
[2026-08-19 01:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-19 01:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493214720001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493214720001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:34:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:34:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:34:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493214720001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":159825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:34:38] local.INFO: GPS data processed {"connection_id":159825,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:34:38] local.INFO: Acknowledgment sent {"connection_id":159825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:35:01] local.INFO: TCP Data received {"connection_id":157276,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:35:01] local.INFO: Processing buffer {"connection_id":157276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:35:01] local.INFO: IMEI packet received {"connection_id":157276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":157276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:35:06] local.INFO: TCP Data received {"connection_id":157276,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:35:06] local.INFO: Processing buffer {"connection_id":157276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:35:06] local.INFO: IMEI packet received {"connection_id":157276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":157276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:35:07] local.INFO: TCP Data received {"connection_id":157276,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:35:07] local.INFO: Processing buffer {"connection_id":157276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167524b8012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:35:07] local.INFO: Packet analysis {"connection_id":157276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:35:07] local.INFO: Extracted packet for processing {"connection_id":157276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01675"} 
[2026-08-19 01:35:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493214720001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:35:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787083171000,"timestamp_ms":1787083171000,"timestamp_seconds":1787083171,"priority":1,"record_length":96,"hex_timestamp":"000001a0167524b8"} 
[2026-08-19 01:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:35: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-08-19 01:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-19 01:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493214720001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493214720001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:35:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:35:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:35:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493214720001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":157276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:35:07] local.INFO: GPS data processed {"connection_id":157276,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:35:07] local.INFO: Acknowledgment sent {"connection_id":157276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:35:38] local.INFO: TCP Data received {"connection_id":157276,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:35:38] local.INFO: Processing buffer {"connection_id":157276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:35:38] local.INFO: Packet analysis {"connection_id":157276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:35:38] local.INFO: Extracted packet for processing {"connection_id":157276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:35:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493291776001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:35:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787083472000,"timestamp_ms":1787083472000,"timestamp_seconds":1787083472,"priority":1,"record_length":96,"hex_timestamp":"000001a01679bc80"} 
[2026-08-19 01:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 01:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493291776001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493291776001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:35:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:35:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:35:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493291776001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":157276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:35:38] local.INFO: GPS data processed {"connection_id":157276,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:35:38] local.INFO: Acknowledgment sent {"connection_id":157276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:36:00] local.INFO: TCP Data received {"connection_id":159826,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:36:00] local.INFO: Processing buffer {"connection_id":159826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:36:00] local.INFO: IMEI packet received {"connection_id":159826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":159826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:36:06] local.INFO: TCP Data received {"connection_id":159826,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:36:06] local.INFO: Processing buffer {"connection_id":159826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:36:06] local.INFO: IMEI packet received {"connection_id":159826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":159826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:36:07] local.INFO: TCP Data received {"connection_id":159826,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:36:07] local.INFO: Processing buffer {"connection_id":159826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:36:07] local.INFO: Packet analysis {"connection_id":159826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:36:07] local.INFO: Extracted packet for processing {"connection_id":159826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:36:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493291776001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:36:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787083472000,"timestamp_ms":1787083472000,"timestamp_seconds":1787083472,"priority":1,"record_length":96,"hex_timestamp":"000001a01679bc80"} 
[2026-08-19 01:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:36: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-08-19 01:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 01:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493291776001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493291776001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:36:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:36:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493291776001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":159826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:36:07] local.INFO: GPS data processed {"connection_id":159826,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:36:07] local.INFO: Acknowledgment sent {"connection_id":159826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:36:38] local.INFO: TCP Data received {"connection_id":159826,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:36:38] local.INFO: Processing buffer {"connection_id":159826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:36:38] local.INFO: Packet analysis {"connection_id":159826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:36:38] local.INFO: Extracted packet for processing {"connection_id":159826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:36:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493291776001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:36:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787083472000,"timestamp_ms":1787083472000,"timestamp_seconds":1787083472,"priority":1,"record_length":96,"hex_timestamp":"000001a01679bc80"} 
[2026-08-19 01:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 01:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493291776001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493291776001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:36:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:36:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493291776001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":159826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:36:38] local.INFO: GPS data processed {"connection_id":159826,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:36:38] local.INFO: Acknowledgment sent {"connection_id":159826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:37:00] local.INFO: TCP Data received {"connection_id":157277,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:37:00] local.INFO: Processing buffer {"connection_id":157277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:37:00] local.INFO: IMEI packet received {"connection_id":157277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":157277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:37:06] local.INFO: TCP Data received {"connection_id":157277,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:37:06] local.INFO: Processing buffer {"connection_id":157277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:37:06] local.INFO: IMEI packet received {"connection_id":157277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":157277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:37:07] local.INFO: TCP Data received {"connection_id":157277,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:37:07] local.INFO: Processing buffer {"connection_id":157277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:37:07] local.INFO: Packet analysis {"connection_id":157277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:37:07] local.INFO: Extracted packet for processing {"connection_id":157277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:37:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493291776001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:37:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787083472000,"timestamp_ms":1787083472000,"timestamp_seconds":1787083472,"priority":1,"record_length":96,"hex_timestamp":"000001a01679bc80"} 
[2026-08-19 01:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:37: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-08-19 01:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 01:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493291776001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493291776001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:37:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:37:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493291776001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":157277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:37:07] local.INFO: GPS data processed {"connection_id":157277,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:37:07] local.INFO: Acknowledgment sent {"connection_id":157277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:37:38] local.INFO: TCP Data received {"connection_id":157277,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:37:38] local.INFO: Processing buffer {"connection_id":157277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:37:38] local.INFO: Packet analysis {"connection_id":157277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:37:38] local.INFO: Extracted packet for processing {"connection_id":157277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:37:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493291776001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:37:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787083472000,"timestamp_ms":1787083472000,"timestamp_seconds":1787083472,"priority":1,"record_length":96,"hex_timestamp":"000001a01679bc80"} 
[2026-08-19 01:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 01:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493291776001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493291776001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:37:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:37:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:37:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493291776001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":157277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:37:38] local.INFO: GPS data processed {"connection_id":157277,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:37:38] local.INFO: Acknowledgment sent {"connection_id":157277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:38:06] local.INFO: TCP Data received {"connection_id":157278,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:38:06] local.INFO: Processing buffer {"connection_id":157278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:38:06] local.INFO: IMEI packet received {"connection_id":157278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":157278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:38:11] local.INFO: TCP Data received {"connection_id":157278,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:38:11] local.INFO: Processing buffer {"connection_id":157278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:38:11] local.INFO: IMEI packet received {"connection_id":157278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":157278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:38:12] local.INFO: TCP Data received {"connection_id":157278,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:38:12] local.INFO: Processing buffer {"connection_id":157278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:38:12] local.INFO: Packet analysis {"connection_id":157278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:38:12] local.INFO: Extracted packet for processing {"connection_id":157278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:38:12] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493291776001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:38:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787083472000,"timestamp_ms":1787083472000,"timestamp_seconds":1787083472,"priority":1,"record_length":96,"hex_timestamp":"000001a01679bc80"} 
[2026-08-19 01:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 01:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493291776001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493291776001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:38:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:38:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493291776001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":157278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:38:12] local.INFO: GPS data processed {"connection_id":157278,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:38:12] local.INFO: Acknowledgment sent {"connection_id":157278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:38:16] local.INFO: TCP Data received {"connection_id":157278,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:38:16] local.INFO: Processing buffer {"connection_id":157278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:38:16] local.INFO: Packet analysis {"connection_id":157278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:38:16] local.INFO: Extracted packet for processing {"connection_id":157278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:38:16] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493291776001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:38:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787083472000,"timestamp_ms":1787083472000,"timestamp_seconds":1787083472,"priority":1,"record_length":96,"hex_timestamp":"000001a01679bc80"} 
[2026-08-19 01:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 01:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493291776001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493291776001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:38:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:38:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:38:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493291776001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":157278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:38:16] local.INFO: GPS data processed {"connection_id":157278,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:38:16] local.INFO: Acknowledgment sent {"connection_id":157278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:39:01] local.INFO: TCP Data received {"connection_id":159827,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:39:01] local.INFO: Processing buffer {"connection_id":159827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:39:01] local.INFO: IMEI packet received {"connection_id":159827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":159827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:39:06] local.INFO: TCP Data received {"connection_id":159827,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:39:06] local.INFO: Processing buffer {"connection_id":159827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:39:06] local.INFO: IMEI packet received {"connection_id":159827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":159827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:39:07] local.INFO: TCP Data received {"connection_id":159827,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:39:07] local.INFO: Processing buffer {"connection_id":159827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:39:07] local.INFO: Packet analysis {"connection_id":159827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:39:07] local.INFO: Extracted packet for processing {"connection_id":159827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:39:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493291776001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:39:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787083472000,"timestamp_ms":1787083472000,"timestamp_seconds":1787083472,"priority":1,"record_length":96,"hex_timestamp":"000001a01679bc80"} 
[2026-08-19 01:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:39: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-08-19 01:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 01:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493291776001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493291776001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:39:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:39:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493291776001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":159827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:39:07] local.INFO: GPS data processed {"connection_id":159827,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:39:07] local.INFO: Acknowledgment sent {"connection_id":159827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:39:38] local.INFO: TCP Data received {"connection_id":159827,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:39:38] local.INFO: Processing buffer {"connection_id":159827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:39:38] local.INFO: Packet analysis {"connection_id":159827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:39:38] local.INFO: Extracted packet for processing {"connection_id":159827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:39:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493291776001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:39:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787083472000,"timestamp_ms":1787083472000,"timestamp_seconds":1787083472,"priority":1,"record_length":96,"hex_timestamp":"000001a01679bc80"} 
[2026-08-19 01:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 01:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493291776001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493291776001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:39:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:39:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:39:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493291776001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":159827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:39:38] local.INFO: GPS data processed {"connection_id":159827,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:39:38] local.INFO: Acknowledgment sent {"connection_id":159827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:40:01] local.INFO: TCP Data received {"connection_id":157639,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:40:01] local.INFO: Processing buffer {"connection_id":157639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:40:01] local.INFO: IMEI packet received {"connection_id":157639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":157639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:40:06] local.INFO: TCP Data received {"connection_id":157639,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:40:06] local.INFO: Processing buffer {"connection_id":157639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:40:06] local.INFO: IMEI packet received {"connection_id":157639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":157639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:40:07] local.INFO: TCP Data received {"connection_id":157639,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:40:07] local.INFO: Processing buffer {"connection_id":157639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01679bc80012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:40:07] local.INFO: Packet analysis {"connection_id":157639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:40:07] local.INFO: Extracted packet for processing {"connection_id":157639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01679"} 
[2026-08-19 01:40:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493291776001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:40:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787083472000,"timestamp_ms":1787083472000,"timestamp_seconds":1787083472,"priority":1,"record_length":96,"hex_timestamp":"000001a01679bc80"} 
[2026-08-19 01:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:40: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-08-19 01:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 01:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493291776001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493291776001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:40:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:40:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493291776001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":157639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:40:07] local.INFO: GPS data processed {"connection_id":157639,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:40:07] local.INFO: Acknowledgment sent {"connection_id":157639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:40:37] local.INFO: TCP Data received {"connection_id":157639,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:40:37] local.INFO: Processing buffer {"connection_id":157639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:40:37] local.INFO: Packet analysis {"connection_id":157639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:40:37] local.INFO: Extracted packet for processing {"connection_id":157639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:40:37] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493368832001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:40:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787083773000,"timestamp_ms":1787083773000,"timestamp_seconds":1787083773,"priority":1,"record_length":96,"hex_timestamp":"000001a0167e5448"} 
[2026-08-19 01:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:40: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-08-19 01:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 01:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493368832001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493368832001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:40:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:40:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493368832001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":157639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:40:37] local.INFO: GPS data processed {"connection_id":157639,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:40:37] local.INFO: Acknowledgment sent {"connection_id":157639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:40:55] local.INFO: TCP Data received {"connection_id":158541,"ip":"5.61.209.224","data_length":211,"data_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-08-19 01:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158541,"packet_length":211,"packet_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-08-19 01:40:55] local.INFO: Processing buffer {"connection_id":158541,"buffer_length":211,"buffer_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-08-19 01:40:55] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":158541,"buffer_length":211,"first_bytes_hex":"474554202f2e2e2532462e2e2532462e"} 
[2026-08-19 01:41:00] local.INFO: TCP Data received {"connection_id":157640,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:41:00] local.INFO: Processing buffer {"connection_id":157640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:41:00] local.INFO: IMEI packet received {"connection_id":157640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":157640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:41:06] local.INFO: TCP Data received {"connection_id":157640,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:41:06] local.INFO: Processing buffer {"connection_id":157640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:41:06] local.INFO: IMEI packet received {"connection_id":157640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":157640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:41:07] local.INFO: TCP Data received {"connection_id":157640,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:41:07] local.INFO: Processing buffer {"connection_id":157640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:41:07] local.INFO: Packet analysis {"connection_id":157640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:41:07] local.INFO: Extracted packet for processing {"connection_id":157640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:41:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493368832001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:41:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787083773000,"timestamp_ms":1787083773000,"timestamp_seconds":1787083773,"priority":1,"record_length":96,"hex_timestamp":"000001a0167e5448"} 
[2026-08-19 01:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:41: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-08-19 01:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 01:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493368832001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493368832001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:41:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:41:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:41:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493368832001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":157640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:41:07] local.INFO: GPS data processed {"connection_id":157640,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:41:07] local.INFO: Acknowledgment sent {"connection_id":157640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:41:38] local.INFO: TCP Data received {"connection_id":157640,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:41:38] local.INFO: Processing buffer {"connection_id":157640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:41:38] local.INFO: Packet analysis {"connection_id":157640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:41:38] local.INFO: Extracted packet for processing {"connection_id":157640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:41:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493368832001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:41:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787083773000,"timestamp_ms":1787083773000,"timestamp_seconds":1787083773,"priority":1,"record_length":96,"hex_timestamp":"000001a0167e5448"} 
[2026-08-19 01:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 01:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493368832001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493368832001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:41:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:41:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493368832001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":157640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:41:38] local.INFO: GPS data processed {"connection_id":157640,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:41:38] local.INFO: Acknowledgment sent {"connection_id":157640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:42:06] local.INFO: TCP Data received {"connection_id":157641,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:42:06] local.INFO: Processing buffer {"connection_id":157641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:42:06] local.INFO: IMEI packet received {"connection_id":157641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":157641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:42:11] local.INFO: TCP Data received {"connection_id":157641,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:42:11] local.INFO: Processing buffer {"connection_id":157641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:42:11] local.INFO: IMEI packet received {"connection_id":157641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":157641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:42:12] local.INFO: TCP Data received {"connection_id":157641,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:42:12] local.INFO: Processing buffer {"connection_id":157641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:42:12] local.INFO: Packet analysis {"connection_id":157641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:42:12] local.INFO: Extracted packet for processing {"connection_id":157641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:42:12] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493368832001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:42:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787083773000,"timestamp_ms":1787083773000,"timestamp_seconds":1787083773,"priority":1,"record_length":96,"hex_timestamp":"000001a0167e5448"} 
[2026-08-19 01:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 01:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493368832001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493368832001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:42:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:42:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:42:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493368832001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":157641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:42:12] local.INFO: GPS data processed {"connection_id":157641,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:42:12] local.INFO: Acknowledgment sent {"connection_id":157641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:42:16] local.INFO: TCP Data received {"connection_id":157641,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:42:16] local.INFO: Processing buffer {"connection_id":157641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:42:16] local.INFO: Packet analysis {"connection_id":157641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:42:16] local.INFO: Extracted packet for processing {"connection_id":157641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:42:16] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493368832001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:42:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787083773000,"timestamp_ms":1787083773000,"timestamp_seconds":1787083773,"priority":1,"record_length":96,"hex_timestamp":"000001a0167e5448"} 
[2026-08-19 01:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 01:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493368832001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493368832001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:42:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:42:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:42:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493368832001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":157641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:42:16] local.INFO: GPS data processed {"connection_id":157641,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:42:16] local.INFO: Acknowledgment sent {"connection_id":157641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:43:01] local.INFO: TCP Data received {"connection_id":158542,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:43:01] local.INFO: Processing buffer {"connection_id":158542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:43:01] local.INFO: IMEI packet received {"connection_id":158542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":158542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:43:06] local.INFO: TCP Data received {"connection_id":158542,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:43:06] local.INFO: Processing buffer {"connection_id":158542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:43:06] local.INFO: IMEI packet received {"connection_id":158542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":158542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:43:07] local.INFO: TCP Data received {"connection_id":158542,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:43:07] local.INFO: Processing buffer {"connection_id":158542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:43:07] local.INFO: Packet analysis {"connection_id":158542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:43:07] local.INFO: Extracted packet for processing {"connection_id":158542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:43:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493368832001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:43:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787083773000,"timestamp_ms":1787083773000,"timestamp_seconds":1787083773,"priority":1,"record_length":96,"hex_timestamp":"000001a0167e5448"} 
[2026-08-19 01:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:43: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-08-19 01:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 01:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493368832001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493368832001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:43:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:43:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493368832001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":158542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:43:07] local.INFO: GPS data processed {"connection_id":158542,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:43:07] local.INFO: Acknowledgment sent {"connection_id":158542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:43:38] local.INFO: TCP Data received {"connection_id":158542,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:43:38] local.INFO: Processing buffer {"connection_id":158542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:43:38] local.INFO: Packet analysis {"connection_id":158542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:43:38] local.INFO: Extracted packet for processing {"connection_id":158542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:43:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493368832001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:43:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787083773000,"timestamp_ms":1787083773000,"timestamp_seconds":1787083773,"priority":1,"record_length":96,"hex_timestamp":"000001a0167e5448"} 
[2026-08-19 01:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 01:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493368832001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493368832001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:43:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:43:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:43:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493368832001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":158542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:43:38] local.INFO: GPS data processed {"connection_id":158542,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:43:38] local.INFO: Acknowledgment sent {"connection_id":158542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:44:01] local.INFO: TCP Data received {"connection_id":158543,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:44:01] local.INFO: Processing buffer {"connection_id":158543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:44:01] local.INFO: IMEI packet received {"connection_id":158543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":158543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:44:06] local.INFO: TCP Data received {"connection_id":158543,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:44:06] local.INFO: Processing buffer {"connection_id":158543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:44:06] local.INFO: IMEI packet received {"connection_id":158543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":158543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:44:07] local.INFO: TCP Data received {"connection_id":158543,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:44:07] local.INFO: Processing buffer {"connection_id":158543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:44:07] local.INFO: Packet analysis {"connection_id":158543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:44:07] local.INFO: Extracted packet for processing {"connection_id":158543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:44:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493368832001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:44:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787083773000,"timestamp_ms":1787083773000,"timestamp_seconds":1787083773,"priority":1,"record_length":96,"hex_timestamp":"000001a0167e5448"} 
[2026-08-19 01:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:44: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-08-19 01:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 01:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493368832001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493368832001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:44:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:44:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493368832001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":158543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:44:07] local.INFO: GPS data processed {"connection_id":158543,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:44:07] local.INFO: Acknowledgment sent {"connection_id":158543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:44:38] local.INFO: TCP Data received {"connection_id":158543,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:44:38] local.INFO: Processing buffer {"connection_id":158543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:44:38] local.INFO: Packet analysis {"connection_id":158543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:44:38] local.INFO: Extracted packet for processing {"connection_id":158543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:44:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493368832001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:44:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787083773000,"timestamp_ms":1787083773000,"timestamp_seconds":1787083773,"priority":1,"record_length":96,"hex_timestamp":"000001a0167e5448"} 
[2026-08-19 01:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 01:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493368832001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493368832001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:44:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:44:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:44:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493368832001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":158543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:44:38] local.INFO: GPS data processed {"connection_id":158543,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:44:38] local.INFO: Acknowledgment sent {"connection_id":158543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:45:01] local.INFO: TCP Data received {"connection_id":157642,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:45:01] local.INFO: Processing buffer {"connection_id":157642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:45:01] local.INFO: IMEI packet received {"connection_id":157642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":157642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:45:06] local.INFO: TCP Data received {"connection_id":157642,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:45:06] local.INFO: Processing buffer {"connection_id":157642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:45:06] local.INFO: IMEI packet received {"connection_id":157642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":157642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:45:07] local.INFO: TCP Data received {"connection_id":157642,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:45:07] local.INFO: Processing buffer {"connection_id":157642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0167e5448012ce45d00072415a0000e007d2b..."} 
[2026-08-19 01:45:07] local.INFO: Packet analysis {"connection_id":157642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:45:07] local.INFO: Extracted packet for processing {"connection_id":157642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0167e"} 
[2026-08-19 01:45:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493368832001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:45:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787083773000,"timestamp_ms":1787083773000,"timestamp_seconds":1787083773,"priority":1,"record_length":96,"hex_timestamp":"000001a0167e5448"} 
[2026-08-19 01:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:45: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-08-19 01:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 01:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493368832001,"66":25625,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493368832001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:45:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:45:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493368832001,"power":25625,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":157642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:45:07] local.INFO: GPS data processed {"connection_id":157642,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:45:07] local.INFO: Acknowledgment sent {"connection_id":157642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:45:38] local.INFO: TCP Data received {"connection_id":157642,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:45:38] local.INFO: Processing buffer {"connection_id":157642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:45:38] local.INFO: Packet analysis {"connection_id":157642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:45:38] local.INFO: Extracted packet for processing {"connection_id":157642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:45:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493445888001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:45:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787084074000,"timestamp_ms":1787084074000,"timestamp_seconds":1787084074,"priority":1,"record_length":96,"hex_timestamp":"000001a01682ec10"} 
[2026-08-19 01:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493445888001,"66":25604,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493445888001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:45:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:45:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493445888001,"power":25604,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":157642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:45:38] local.INFO: GPS data processed {"connection_id":157642,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:45:38] local.INFO: Acknowledgment sent {"connection_id":157642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:46:01] local.INFO: TCP Data received {"connection_id":157643,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:46:01] local.INFO: Processing buffer {"connection_id":157643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:46:01] local.INFO: IMEI packet received {"connection_id":157643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":157643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:46:06] local.INFO: TCP Data received {"connection_id":157643,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:46:06] local.INFO: Processing buffer {"connection_id":157643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:46:06] local.INFO: IMEI packet received {"connection_id":157643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":157643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:46:07] local.INFO: TCP Data received {"connection_id":157643,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:46:07] local.INFO: Processing buffer {"connection_id":157643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:46:07] local.INFO: Packet analysis {"connection_id":157643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:46:07] local.INFO: Extracted packet for processing {"connection_id":157643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:46:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493445888001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:46:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787084074000,"timestamp_ms":1787084074000,"timestamp_seconds":1787084074,"priority":1,"record_length":96,"hex_timestamp":"000001a01682ec10"} 
[2026-08-19 01:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:46: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-08-19 01:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493445888001,"66":25604,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493445888001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:46:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:46:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493445888001,"power":25604,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":157643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:46:07] local.INFO: GPS data processed {"connection_id":157643,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:46:07] local.INFO: Acknowledgment sent {"connection_id":157643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:46:38] local.INFO: TCP Data received {"connection_id":157643,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:46:38] local.INFO: Processing buffer {"connection_id":157643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:46:38] local.INFO: Packet analysis {"connection_id":157643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:46:38] local.INFO: Extracted packet for processing {"connection_id":157643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:46:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493445888001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:46:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787084074000,"timestamp_ms":1787084074000,"timestamp_seconds":1787084074,"priority":1,"record_length":96,"hex_timestamp":"000001a01682ec10"} 
[2026-08-19 01:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493445888001,"66":25604,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493445888001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:46:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:46:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:46:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493445888001,"power":25604,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":157643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:46:38] local.INFO: GPS data processed {"connection_id":157643,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:46:38] local.INFO: Acknowledgment sent {"connection_id":157643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:47:01] local.INFO: TCP Data received {"connection_id":159828,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:47:01] local.INFO: Processing buffer {"connection_id":159828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:47:01] local.INFO: IMEI packet received {"connection_id":159828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":159828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:47:06] local.INFO: TCP Data received {"connection_id":159828,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:47:06] local.INFO: Processing buffer {"connection_id":159828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:47:06] local.INFO: IMEI packet received {"connection_id":159828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":159828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:47:07] local.INFO: TCP Data received {"connection_id":159828,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:47:07] local.INFO: Processing buffer {"connection_id":159828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:47:07] local.INFO: Packet analysis {"connection_id":159828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:47:07] local.INFO: Extracted packet for processing {"connection_id":159828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:47:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493445888001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:47:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787084074000,"timestamp_ms":1787084074000,"timestamp_seconds":1787084074,"priority":1,"record_length":96,"hex_timestamp":"000001a01682ec10"} 
[2026-08-19 01:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:47: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-08-19 01:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493445888001,"66":25604,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493445888001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:47:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:47:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493445888001,"power":25604,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":159828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:47:07] local.INFO: GPS data processed {"connection_id":159828,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:47:07] local.INFO: Acknowledgment sent {"connection_id":159828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:47:38] local.INFO: TCP Data received {"connection_id":159828,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:47:38] local.INFO: Processing buffer {"connection_id":159828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:47:38] local.INFO: Packet analysis {"connection_id":159828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:47:38] local.INFO: Extracted packet for processing {"connection_id":159828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:47:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493445888001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:47:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787084074000,"timestamp_ms":1787084074000,"timestamp_seconds":1787084074,"priority":1,"record_length":96,"hex_timestamp":"000001a01682ec10"} 
[2026-08-19 01:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493445888001,"66":25604,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493445888001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:47:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:47:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:47:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493445888001,"power":25604,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":159828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:47:38] local.INFO: GPS data processed {"connection_id":159828,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:47:38] local.INFO: Acknowledgment sent {"connection_id":159828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:47:46] local.INFO: TCP Data received {"connection_id":157279,"ip":"45.33.90.118","data_length":207,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-19 01:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157279,"packet_length":207,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-19 01:47:46] local.INFO: Processing buffer {"connection_id":157279,"buffer_length":207,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-19 01:47:46] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":157279,"buffer_length":207,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-08-19 01:47:46] local.INFO: TCP Data received {"connection_id":158544,"ip":"45.33.90.118","data_length":128,"data_hex":"160301007b0100007703035bd9d3595e87b3e580e9fa4dd09bb292589f6fff90..."} 
[2026-08-19 01:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158544,"packet_length":128,"packet_hex":"160301007b0100007703035bd9d3595e87b3e580e9fa4dd09bb292589f6fff90..."} 
[2026-08-19 01:47:46] local.INFO: Processing buffer {"connection_id":158544,"buffer_length":128,"buffer_hex":"160301007b0100007703035bd9d3595e87b3e580e9fa4dd09bb292589f6fff90..."} 
[2026-08-19 01:47:46] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":158544,"buffer_length":128,"first_bytes_hex":"160301007b0100007703035bd9d3595e"} 
[2026-08-19 01:47:46] local.INFO: TCP Data received {"connection_id":158544,"ip":"45.33.90.118","data_length":7,"data_hex":"15030100020216..."} 
[2026-08-19 01:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158544,"packet_length":7,"packet_hex":"15030100020216..."} 
[2026-08-19 01:47:46] local.INFO: Processing buffer {"connection_id":158544,"buffer_length":7,"buffer_hex":"15030100020216..."} 
[2026-08-19 01:48:01] local.INFO: TCP Data received {"connection_id":159829,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:48:01] local.INFO: Processing buffer {"connection_id":159829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:48:01] local.INFO: IMEI packet received {"connection_id":159829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":159829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:48:06] local.INFO: TCP Data received {"connection_id":159829,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:48:06] local.INFO: Processing buffer {"connection_id":159829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:48:06] local.INFO: IMEI packet received {"connection_id":159829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":159829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:48:07] local.INFO: TCP Data received {"connection_id":159829,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:48:07] local.INFO: Processing buffer {"connection_id":159829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:48:07] local.INFO: Packet analysis {"connection_id":159829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:48:07] local.INFO: Extracted packet for processing {"connection_id":159829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:48:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493445888001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:48:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787084074000,"timestamp_ms":1787084074000,"timestamp_seconds":1787084074,"priority":1,"record_length":96,"hex_timestamp":"000001a01682ec10"} 
[2026-08-19 01:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:48: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-08-19 01:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493445888001,"66":25604,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493445888001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:48:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:48:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493445888001,"power":25604,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":159829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:48:07] local.INFO: GPS data processed {"connection_id":159829,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:48:07] local.INFO: Acknowledgment sent {"connection_id":159829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:48:38] local.INFO: TCP Data received {"connection_id":159829,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:48:38] local.INFO: Processing buffer {"connection_id":159829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:48:38] local.INFO: Packet analysis {"connection_id":159829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:48:38] local.INFO: Extracted packet for processing {"connection_id":159829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:48:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493445888001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:48:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787084074000,"timestamp_ms":1787084074000,"timestamp_seconds":1787084074,"priority":1,"record_length":96,"hex_timestamp":"000001a01682ec10"} 
[2026-08-19 01:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493445888001,"66":25604,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493445888001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:48:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:48:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:48:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493445888001,"power":25604,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":159829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:48:38] local.INFO: GPS data processed {"connection_id":159829,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:48:38] local.INFO: Acknowledgment sent {"connection_id":159829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:49:00] local.INFO: TCP Data received {"connection_id":158545,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:49:00] local.INFO: Processing buffer {"connection_id":158545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:49:00] local.INFO: IMEI packet received {"connection_id":158545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":158545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:49:06] local.INFO: TCP Data received {"connection_id":158545,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:49:06] local.INFO: Processing buffer {"connection_id":158545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:49:06] local.INFO: IMEI packet received {"connection_id":158545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":158545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:49:07] local.INFO: TCP Data received {"connection_id":158545,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:49:07] local.INFO: Processing buffer {"connection_id":158545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:49:07] local.INFO: Packet analysis {"connection_id":158545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:49:07] local.INFO: Extracted packet for processing {"connection_id":158545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:49:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493445888001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:49:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787084074000,"timestamp_ms":1787084074000,"timestamp_seconds":1787084074,"priority":1,"record_length":96,"hex_timestamp":"000001a01682ec10"} 
[2026-08-19 01:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:49: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-08-19 01:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493445888001,"66":25604,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493445888001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:49:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:49:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:49:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493445888001,"power":25604,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":158545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:49:07] local.INFO: GPS data processed {"connection_id":158545,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:49:07] local.INFO: Acknowledgment sent {"connection_id":158545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:49:38] local.INFO: TCP Data received {"connection_id":158545,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:49:38] local.INFO: Processing buffer {"connection_id":158545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:49:38] local.INFO: Packet analysis {"connection_id":158545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:49:38] local.INFO: Extracted packet for processing {"connection_id":158545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:49:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493445888001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:49:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787084074000,"timestamp_ms":1787084074000,"timestamp_seconds":1787084074,"priority":1,"record_length":96,"hex_timestamp":"000001a01682ec10"} 
[2026-08-19 01:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493445888001,"66":25604,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493445888001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:49:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:49:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:49:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493445888001,"power":25604,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":158545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:49:38] local.INFO: GPS data processed {"connection_id":158545,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:49:38] local.INFO: Acknowledgment sent {"connection_id":158545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:50:06] local.INFO: TCP Data received {"connection_id":158546,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:50:06] local.INFO: Processing buffer {"connection_id":158546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:50:06] local.INFO: IMEI packet received {"connection_id":158546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":158546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:50:11] local.INFO: TCP Data received {"connection_id":158546,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:50:11] local.INFO: Processing buffer {"connection_id":158546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:50:11] local.INFO: IMEI packet received {"connection_id":158546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":158546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:50:11] local.INFO: TCP Data received {"connection_id":158546,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:50:11] local.INFO: Processing buffer {"connection_id":158546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01682ec10012ce45d00072415a0000e007d2c..."} 
[2026-08-19 01:50:11] local.INFO: Packet analysis {"connection_id":158546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:50:11] local.INFO: Extracted packet for processing {"connection_id":158546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01682"} 
[2026-08-19 01:50:11] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493445888001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:50:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787084074000,"timestamp_ms":1787084074000,"timestamp_seconds":1787084074,"priority":1,"record_length":96,"hex_timestamp":"000001a01682ec10"} 
[2026-08-19 01:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 01:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493445888001,"66":25604,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493445888001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:50:11] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:50:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:50:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493445888001,"power":25604,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":158546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:50:11] local.INFO: GPS data processed {"connection_id":158546,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:50:11] local.INFO: Acknowledgment sent {"connection_id":158546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:50:13] local.INFO: TCP Data received {"connection_id":158546,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:50:13] local.INFO: Processing buffer {"connection_id":158546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:50:13] local.INFO: Packet analysis {"connection_id":158546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:50:13] local.INFO: Extracted packet for processing {"connection_id":158546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:50:13] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493522944001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:50:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787084375000,"timestamp_ms":1787084375000,"timestamp_seconds":1787084375,"priority":1,"record_length":96,"hex_timestamp":"000001a0168783d8"} 
[2026-08-19 01:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:50: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-08-19 01:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 01:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493522944001,"66":25180,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493522944001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:50:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:50:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:50:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493522944001,"power":25180,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":158546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:50:13] local.INFO: GPS data processed {"connection_id":158546,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:50:13] local.INFO: Acknowledgment sent {"connection_id":158546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:50:44] local.INFO: TCP Data received {"connection_id":158546,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:50:44] local.INFO: Processing buffer {"connection_id":158546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:50:44] local.INFO: Packet analysis {"connection_id":158546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:50:44] local.INFO: Extracted packet for processing {"connection_id":158546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:50:44] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493522944001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:50:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787084375000,"timestamp_ms":1787084375000,"timestamp_seconds":1787084375,"priority":1,"record_length":96,"hex_timestamp":"000001a0168783d8"} 
[2026-08-19 01:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:50: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-08-19 01:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 01:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493522944001,"66":25180,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493522944001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:50:44] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:50:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:50:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493522944001,"power":25180,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":158546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:50:44] local.INFO: GPS data processed {"connection_id":158546,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:50:44] local.INFO: Acknowledgment sent {"connection_id":158546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:51:01] local.INFO: TCP Data received {"connection_id":157280,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:51:01] local.INFO: Processing buffer {"connection_id":157280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:51:01] local.INFO: IMEI packet received {"connection_id":157280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":157280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:51:06] local.INFO: TCP Data received {"connection_id":157280,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:51:06] local.INFO: Processing buffer {"connection_id":157280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:51:06] local.INFO: IMEI packet received {"connection_id":157280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":157280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:51:07] local.INFO: TCP Data received {"connection_id":157280,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:51:07] local.INFO: Processing buffer {"connection_id":157280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:51:07] local.INFO: Packet analysis {"connection_id":157280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:51:07] local.INFO: Extracted packet for processing {"connection_id":157280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:51:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493522944001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:51:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787084375000,"timestamp_ms":1787084375000,"timestamp_seconds":1787084375,"priority":1,"record_length":96,"hex_timestamp":"000001a0168783d8"} 
[2026-08-19 01:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:51: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-08-19 01:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 01:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493522944001,"66":25180,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493522944001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:51:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:51:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493522944001,"power":25180,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":157280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:51:07] local.INFO: GPS data processed {"connection_id":157280,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:51:07] local.INFO: Acknowledgment sent {"connection_id":157280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:51:38] local.INFO: TCP Data received {"connection_id":157280,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:51:38] local.INFO: Processing buffer {"connection_id":157280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:51:38] local.INFO: Packet analysis {"connection_id":157280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:51:38] local.INFO: Extracted packet for processing {"connection_id":157280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:51:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493522944001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:51:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787084375000,"timestamp_ms":1787084375000,"timestamp_seconds":1787084375,"priority":1,"record_length":96,"hex_timestamp":"000001a0168783d8"} 
[2026-08-19 01:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 01:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493522944001,"66":25180,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493522944001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:51:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:51:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:51:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493522944001,"power":25180,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":157280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:51:38] local.INFO: GPS data processed {"connection_id":157280,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:51:38] local.INFO: Acknowledgment sent {"connection_id":157280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:52:01] local.INFO: TCP Data received {"connection_id":158547,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:52:01] local.INFO: Processing buffer {"connection_id":158547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:52:01] local.INFO: IMEI packet received {"connection_id":158547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":158547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:52:07] local.INFO: TCP Data received {"connection_id":158547,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:52:07] local.INFO: Processing buffer {"connection_id":158547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:52:07] local.INFO: IMEI packet received {"connection_id":158547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":158547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:52:07] local.INFO: TCP Data received {"connection_id":158547,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:52:07] local.INFO: Processing buffer {"connection_id":158547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:52:07] local.INFO: Packet analysis {"connection_id":158547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:52:07] local.INFO: Extracted packet for processing {"connection_id":158547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:52:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493522944001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:52:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787084375000,"timestamp_ms":1787084375000,"timestamp_seconds":1787084375,"priority":1,"record_length":96,"hex_timestamp":"000001a0168783d8"} 
[2026-08-19 01:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:52: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-08-19 01:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 01:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493522944001,"66":25180,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493522944001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:52:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:52:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493522944001,"power":25180,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":158547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:52:07] local.INFO: GPS data processed {"connection_id":158547,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:52:07] local.INFO: Acknowledgment sent {"connection_id":158547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:52:33] local.INFO: TCP Data received {"connection_id":159830,"ip":"150.107.36.82","data_length":182,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-19 01:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159830,"packet_length":182,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-19 01:52:33] local.INFO: Processing buffer {"connection_id":159830,"buffer_length":182,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-19 01:52:33] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":159830,"buffer_length":182,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-08-19 01:52:33] local.INFO: TCP Data received {"connection_id":159831,"ip":"150.107.36.82","data_length":1453,"data_hex":"16030105a8010005a40303304618ef79ea52ced15a4eb8e4d2421ac117a0bd39..."} 
[2026-08-19 01:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159831,"packet_length":1453,"packet_hex":"16030105a8010005a40303304618ef79ea52ced15a4eb8e4d2421ac117a0bd39..."} 
[2026-08-19 01:52:33] local.INFO: Processing buffer {"connection_id":159831,"buffer_length":1453,"buffer_hex":"16030105a8010005a40303304618ef79ea52ced15a4eb8e4d2421ac117a0bd39..."} 
[2026-08-19 01:52:33] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":159831,"buffer_length":1453,"first_bytes_hex":"16030105a8010005a40303304618ef79"} 
[2026-08-19 01:52:38] local.INFO: TCP Data received {"connection_id":158547,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:52:38] local.INFO: Processing buffer {"connection_id":158547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:52:38] local.INFO: Packet analysis {"connection_id":158547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:52:38] local.INFO: Extracted packet for processing {"connection_id":158547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:52:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493522944001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:52:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787084375000,"timestamp_ms":1787084375000,"timestamp_seconds":1787084375,"priority":1,"record_length":96,"hex_timestamp":"000001a0168783d8"} 
[2026-08-19 01:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 01:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493522944001,"66":25180,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493522944001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:52:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:52:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:52:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493522944001,"power":25180,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":158547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:52:38] local.INFO: GPS data processed {"connection_id":158547,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:52:38] local.INFO: Acknowledgment sent {"connection_id":158547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:53:00] local.INFO: TCP Data received {"connection_id":159832,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:53:00] local.INFO: Processing buffer {"connection_id":159832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:53:00] local.INFO: IMEI packet received {"connection_id":159832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":159832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:53:06] local.INFO: TCP Data received {"connection_id":159832,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:53:06] local.INFO: Processing buffer {"connection_id":159832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:53:06] local.INFO: IMEI packet received {"connection_id":159832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":159832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:53:07] local.INFO: TCP Data received {"connection_id":159832,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:53:07] local.INFO: Processing buffer {"connection_id":159832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:53:07] local.INFO: Packet analysis {"connection_id":159832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:53:07] local.INFO: Extracted packet for processing {"connection_id":159832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:53:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493522944001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:53:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787084375000,"timestamp_ms":1787084375000,"timestamp_seconds":1787084375,"priority":1,"record_length":96,"hex_timestamp":"000001a0168783d8"} 
[2026-08-19 01:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:53: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-08-19 01:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 01:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493522944001,"66":25180,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493522944001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:53:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:53:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493522944001,"power":25180,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":159832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:53:07] local.INFO: GPS data processed {"connection_id":159832,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:53:07] local.INFO: Acknowledgment sent {"connection_id":159832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:53:38] local.INFO: TCP Data received {"connection_id":159832,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:53:38] local.INFO: Processing buffer {"connection_id":159832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:53:38] local.INFO: Packet analysis {"connection_id":159832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:53:38] local.INFO: Extracted packet for processing {"connection_id":159832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:53:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493522944001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:53:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787084375000,"timestamp_ms":1787084375000,"timestamp_seconds":1787084375,"priority":1,"record_length":96,"hex_timestamp":"000001a0168783d8"} 
[2026-08-19 01:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 01:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493522944001,"66":25180,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493522944001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:53:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:53:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:53:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493522944001,"power":25180,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":159832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:53:38] local.INFO: GPS data processed {"connection_id":159832,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:53:38] local.INFO: Acknowledgment sent {"connection_id":159832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:54:00] local.INFO: TCP Data received {"connection_id":157644,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:54:00] local.INFO: Processing buffer {"connection_id":157644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:54:00] local.INFO: IMEI packet received {"connection_id":157644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":157644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:54:06] local.INFO: TCP Data received {"connection_id":157644,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:54:06] local.INFO: Processing buffer {"connection_id":157644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:54:06] local.INFO: IMEI packet received {"connection_id":157644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":157644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:54:07] local.INFO: TCP Data received {"connection_id":157644,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:54:07] local.INFO: Processing buffer {"connection_id":157644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:54:07] local.INFO: Packet analysis {"connection_id":157644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:54:07] local.INFO: Extracted packet for processing {"connection_id":157644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:54:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493522944001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:54:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787084375000,"timestamp_ms":1787084375000,"timestamp_seconds":1787084375,"priority":1,"record_length":96,"hex_timestamp":"000001a0168783d8"} 
[2026-08-19 01:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:54: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-08-19 01:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 01:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493522944001,"66":25180,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493522944001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:54:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:54:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493522944001,"power":25180,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":157644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:54:07] local.INFO: GPS data processed {"connection_id":157644,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:54:07] local.INFO: Acknowledgment sent {"connection_id":157644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:54:38] local.INFO: TCP Data received {"connection_id":157644,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:54:38] local.INFO: Processing buffer {"connection_id":157644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:54:38] local.INFO: Packet analysis {"connection_id":157644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:54:38] local.INFO: Extracted packet for processing {"connection_id":157644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:54:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493522944001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:54:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787084375000,"timestamp_ms":1787084375000,"timestamp_seconds":1787084375,"priority":1,"record_length":96,"hex_timestamp":"000001a0168783d8"} 
[2026-08-19 01:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 01:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493522944001,"66":25180,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493522944001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:54:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:54:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:54:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493522944001,"power":25180,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":157644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:54:38] local.INFO: GPS data processed {"connection_id":157644,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:54:38] local.INFO: Acknowledgment sent {"connection_id":157644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:55:06] local.INFO: TCP Data received {"connection_id":158548,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:55:06] local.INFO: Processing buffer {"connection_id":158548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:55:06] local.INFO: IMEI packet received {"connection_id":158548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":158548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:55:11] local.INFO: TCP Data received {"connection_id":158548,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:55:11] local.INFO: Processing buffer {"connection_id":158548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:55:11] local.INFO: IMEI packet received {"connection_id":158548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":158548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:55:12] local.INFO: TCP Data received {"connection_id":158548,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:55:12] local.INFO: Processing buffer {"connection_id":158548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168783d8012ce45d00072415a0000e007d2e..."} 
[2026-08-19 01:55:12] local.INFO: Packet analysis {"connection_id":158548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:55:12] local.INFO: Extracted packet for processing {"connection_id":158548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01687"} 
[2026-08-19 01:55:12] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":46,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493522944001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787084375000,"timestamp_ms":1787084375000,"timestamp_seconds":1787084375,"priority":1,"record_length":96,"hex_timestamp":"000001a0168783d8"} 
[2026-08-19 01:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 01:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493522944001,"66":25180,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493522944001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:55:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:55:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493522944001,"power":25180,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":158548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:55:12] local.INFO: GPS data processed {"connection_id":158548,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:55:12] local.INFO: Acknowledgment sent {"connection_id":158548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:55:15] local.INFO: TCP Data received {"connection_id":158548,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:55:15] local.INFO: Processing buffer {"connection_id":158548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:55:15] local.INFO: Packet analysis {"connection_id":158548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:55:15] local.INFO: Extracted packet for processing {"connection_id":158548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:55:15] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493600000001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:55:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787084676000,"timestamp_ms":1787084676000,"timestamp_seconds":1787084676,"priority":1,"record_length":96,"hex_timestamp":"000001a0168c1ba0"} 
[2026-08-19 01:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 01:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493600000001,"66":25538,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493600000001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:55:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:55:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:55:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493600000001,"power":25538,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":158548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:55:15] local.INFO: GPS data processed {"connection_id":158548,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:55:15] local.INFO: Acknowledgment sent {"connection_id":158548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:55:46] local.INFO: TCP Data received {"connection_id":158548,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:55:46] local.INFO: Processing buffer {"connection_id":158548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:55:46] local.INFO: Packet analysis {"connection_id":158548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:55:46] local.INFO: Extracted packet for processing {"connection_id":158548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:55:46] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493600000001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:55:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787084676000,"timestamp_ms":1787084676000,"timestamp_seconds":1787084676,"priority":1,"record_length":96,"hex_timestamp":"000001a0168c1ba0"} 
[2026-08-19 01:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01: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-08-19 01:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 01:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493600000001,"66":25538,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493600000001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:55:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:55:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:55:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493600000001,"power":25538,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":158548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:55:46] local.INFO: GPS data processed {"connection_id":158548,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:55:46] local.INFO: Acknowledgment sent {"connection_id":158548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:56:01] local.INFO: TCP Data received {"connection_id":157281,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:56:01] local.INFO: Processing buffer {"connection_id":157281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:56:01] local.INFO: IMEI packet received {"connection_id":157281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":157281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:56:06] local.INFO: TCP Data received {"connection_id":157281,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:56:06] local.INFO: Processing buffer {"connection_id":157281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:56:06] local.INFO: IMEI packet received {"connection_id":157281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":157281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:56:07] local.INFO: TCP Data received {"connection_id":157281,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:56:07] local.INFO: Processing buffer {"connection_id":157281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:56:07] local.INFO: Packet analysis {"connection_id":157281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:56:07] local.INFO: Extracted packet for processing {"connection_id":157281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:56:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493600000001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:56:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787084676000,"timestamp_ms":1787084676000,"timestamp_seconds":1787084676,"priority":1,"record_length":96,"hex_timestamp":"000001a0168c1ba0"} 
[2026-08-19 01:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:56: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-08-19 01:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 01:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493600000001,"66":25538,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493600000001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:56:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:56:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493600000001,"power":25538,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":157281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:56:07] local.INFO: GPS data processed {"connection_id":157281,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:56:07] local.INFO: Acknowledgment sent {"connection_id":157281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:56:38] local.INFO: TCP Data received {"connection_id":157281,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:56:38] local.INFO: Processing buffer {"connection_id":157281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:56:38] local.INFO: Packet analysis {"connection_id":157281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:56:38] local.INFO: Extracted packet for processing {"connection_id":157281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:56:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493600000001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:56:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787084676000,"timestamp_ms":1787084676000,"timestamp_seconds":1787084676,"priority":1,"record_length":96,"hex_timestamp":"000001a0168c1ba0"} 
[2026-08-19 01:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 01:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493600000001,"66":25538,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493600000001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:56:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:56:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:56:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493600000001,"power":25538,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":157281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:56:38] local.INFO: GPS data processed {"connection_id":157281,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:56:38] local.INFO: Acknowledgment sent {"connection_id":157281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:57:00] local.INFO: TCP Data received {"connection_id":157282,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:57:00] local.INFO: Processing buffer {"connection_id":157282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:57:00] local.INFO: IMEI packet received {"connection_id":157282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":157282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:57:06] local.INFO: TCP Data received {"connection_id":157282,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:57:06] local.INFO: Processing buffer {"connection_id":157282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:57:06] local.INFO: IMEI packet received {"connection_id":157282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":157282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:57:06] local.INFO: TCP Data received {"connection_id":157282,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:57:06] local.INFO: Processing buffer {"connection_id":157282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:57:06] local.INFO: Packet analysis {"connection_id":157282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:57:06] local.INFO: Extracted packet for processing {"connection_id":157282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:57:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493600000001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:57:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787084676000,"timestamp_ms":1787084676000,"timestamp_seconds":1787084676,"priority":1,"record_length":96,"hex_timestamp":"000001a0168c1ba0"} 
[2026-08-19 01:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 01:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493600000001,"66":25538,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493600000001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:57:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:57:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493600000001,"power":25538,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":157282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:57:06] local.INFO: GPS data processed {"connection_id":157282,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:57:06] local.INFO: Acknowledgment sent {"connection_id":157282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:57:38] local.INFO: TCP Data received {"connection_id":157282,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:57:38] local.INFO: Processing buffer {"connection_id":157282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:57:38] local.INFO: Packet analysis {"connection_id":157282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:57:38] local.INFO: Extracted packet for processing {"connection_id":157282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:57:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493600000001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:57:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787084676000,"timestamp_ms":1787084676000,"timestamp_seconds":1787084676,"priority":1,"record_length":96,"hex_timestamp":"000001a0168c1ba0"} 
[2026-08-19 01:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 01:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493600000001,"66":25538,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493600000001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:57:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:57:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:57:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493600000001,"power":25538,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":157282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:57:38] local.INFO: GPS data processed {"connection_id":157282,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:57:38] local.INFO: Acknowledgment sent {"connection_id":157282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:58:00] local.INFO: TCP Data received {"connection_id":159833,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:58:00] local.INFO: Processing buffer {"connection_id":159833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:58:00] local.INFO: IMEI packet received {"connection_id":159833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":159833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:58:06] local.INFO: TCP Data received {"connection_id":159833,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:58:06] local.INFO: Processing buffer {"connection_id":159833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:58:06] local.INFO: IMEI packet received {"connection_id":159833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":159833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:58:06] local.INFO: TCP Data received {"connection_id":159833,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:58:06] local.INFO: Processing buffer {"connection_id":159833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:58:06] local.INFO: Packet analysis {"connection_id":159833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:58:06] local.INFO: Extracted packet for processing {"connection_id":159833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:58:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01: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-08-19 01:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493600000001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:58:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787084676000,"timestamp_ms":1787084676000,"timestamp_seconds":1787084676,"priority":1,"record_length":96,"hex_timestamp":"000001a0168c1ba0"} 
[2026-08-19 01:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 01:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01: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-08-19 01:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493600000001,"66":25538,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493600000001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:58:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:58:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493600000001,"power":25538,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":159833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:58:06] local.INFO: GPS data processed {"connection_id":159833,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:58:06] local.INFO: Acknowledgment sent {"connection_id":159833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:58:38] local.INFO: TCP Data received {"connection_id":159833,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:58:38] local.INFO: Processing buffer {"connection_id":159833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:58:38] local.INFO: Packet analysis {"connection_id":159833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:58:38] local.INFO: Extracted packet for processing {"connection_id":159833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:58:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493600000001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:58:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787084676000,"timestamp_ms":1787084676000,"timestamp_seconds":1787084676,"priority":1,"record_length":96,"hex_timestamp":"000001a0168c1ba0"} 
[2026-08-19 01:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 01:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 01:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493600000001,"66":25538,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493600000001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:58:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:58:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:58:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493600000001,"power":25538,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":159833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:58:38] local.INFO: GPS data processed {"connection_id":159833,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:58:38] local.INFO: Acknowledgment sent {"connection_id":159833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:59:06] local.INFO: TCP Data received {"connection_id":158549,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:59:06] local.INFO: Processing buffer {"connection_id":158549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:59:06] local.INFO: IMEI packet received {"connection_id":158549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 01:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":158549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 01:59:11] local.INFO: TCP Data received {"connection_id":158549,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:59:11] local.INFO: Processing buffer {"connection_id":158549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 01:59:11] local.INFO: IMEI packet received {"connection_id":158549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 01:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":158549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 01:59:11] local.INFO: TCP Data received {"connection_id":158549,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:59:11] local.INFO: Processing buffer {"connection_id":158549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:59:11] local.INFO: Packet analysis {"connection_id":158549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:59:11] local.INFO: Extracted packet for processing {"connection_id":158549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:59:11] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493600000001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787084676000,"timestamp_ms":1787084676000,"timestamp_seconds":1787084676,"priority":1,"record_length":96,"hex_timestamp":"000001a0168c1ba0"} 
[2026-08-19 01:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:59: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-08-19 01:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 01:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493600000001,"66":25538,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493600000001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:59:11] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:59:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493600000001,"power":25538,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":158549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:59:11] local.INFO: GPS data processed {"connection_id":158549,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:59:11] local.INFO: Acknowledgment sent {"connection_id":158549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 01:59:16] local.INFO: TCP Data received {"connection_id":158549,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:59:16] local.INFO: Processing buffer {"connection_id":158549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 01:59:16] local.INFO: Packet analysis {"connection_id":158549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:59:16] local.INFO: Extracted packet for processing {"connection_id":158549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 01:59:16] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 01:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 01:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493600000001,"note":"Value kept but may cause issues"} 
[2026-08-19 01:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 01:59:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 01:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 01:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787084676000,"timestamp_ms":1787084676000,"timestamp_seconds":1787084676,"priority":1,"record_length":96,"hex_timestamp":"000001a0168c1ba0"} 
[2026-08-19 01:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 01:59: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-08-19 01:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 01:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 01:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 01:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 01:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 01:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 01:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 01:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 01:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 01:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 01:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493600000001,"66":25538,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 01:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 01:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 01:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493600000001,"description":"Unknown IO ID 0"} 
[2026-08-19 01:59:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 01:59:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 01:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 01:59:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 01:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493600000001,"power":25538,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 01:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":158549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 01:59:16] local.INFO: GPS data processed {"connection_id":158549,"processed":1,"errors":0,"total":1} 
[2026-08-19 01:59:16] local.INFO: Acknowledgment sent {"connection_id":158549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:00:01] local.INFO: TCP Data received {"connection_id":159834,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:00:01] local.INFO: Processing buffer {"connection_id":159834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:00:01] local.INFO: IMEI packet received {"connection_id":159834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":159834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:00:08] local.INFO: TCP Data received {"connection_id":159834,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:00:08] local.INFO: Processing buffer {"connection_id":159834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:00:08] local.INFO: IMEI packet received {"connection_id":159834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":159834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:00:09] local.INFO: TCP Data received {"connection_id":159834,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:00:09] local.INFO: Processing buffer {"connection_id":159834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0168c1ba0012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:00:09] local.INFO: Packet analysis {"connection_id":159834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 02:00:09] local.INFO: Extracted packet for processing {"connection_id":159834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0168c"} 
[2026-08-19 02:00:09] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493600000001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:00:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787084676000,"timestamp_ms":1787084676000,"timestamp_seconds":1787084676,"priority":1,"record_length":96,"hex_timestamp":"000001a0168c1ba0"} 
[2026-08-19 02:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 02:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493600000001,"66":25538,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493600000001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:00:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:00:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:00:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493600000001,"power":25538,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":159834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:00:09] local.INFO: GPS data processed {"connection_id":159834,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:00:09] local.INFO: Acknowledgment sent {"connection_id":159834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:00:40] local.INFO: TCP Data received {"connection_id":159834,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:00:40] local.INFO: Processing buffer {"connection_id":159834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:00:40] local.INFO: Packet analysis {"connection_id":159834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:00:40] local.INFO: Extracted packet for processing {"connection_id":159834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:00:40] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493677056001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:00:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787084977000,"timestamp_ms":1787084977000,"timestamp_seconds":1787084977,"priority":1,"record_length":96,"hex_timestamp":"000001a01690b368"} 
[2026-08-19 02:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:00: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-08-19 02:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 02:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493677056001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493677056001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:00:40] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:00:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:00:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493677056001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":159834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:00:40] local.INFO: GPS data processed {"connection_id":159834,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:00:40] local.INFO: Acknowledgment sent {"connection_id":159834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:01:00] local.INFO: TCP Data received {"connection_id":158550,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:01:00] local.INFO: Processing buffer {"connection_id":158550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:01:00] local.INFO: IMEI packet received {"connection_id":158550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":158550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:01:06] local.INFO: TCP Data received {"connection_id":158550,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:01:06] local.INFO: Processing buffer {"connection_id":158550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:01:06] local.INFO: IMEI packet received {"connection_id":158550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":158550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:01:06] local.INFO: TCP Data received {"connection_id":158550,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:01:06] local.INFO: Processing buffer {"connection_id":158550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:01:06] local.INFO: Packet analysis {"connection_id":158550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:01:06] local.INFO: Extracted packet for processing {"connection_id":158550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:01:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493677056001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:01:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787084977000,"timestamp_ms":1787084977000,"timestamp_seconds":1787084977,"priority":1,"record_length":96,"hex_timestamp":"000001a01690b368"} 
[2026-08-19 02:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 02:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493677056001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493677056001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:01:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:01:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493677056001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":158550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:01:06] local.INFO: GPS data processed {"connection_id":158550,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:01:06] local.INFO: Acknowledgment sent {"connection_id":158550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:01:37] local.INFO: TCP Data received {"connection_id":158550,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:01:37] local.INFO: Processing buffer {"connection_id":158550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:01:37] local.INFO: Packet analysis {"connection_id":158550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:01:37] local.INFO: Extracted packet for processing {"connection_id":158550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:01:37] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493677056001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:01:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787084977000,"timestamp_ms":1787084977000,"timestamp_seconds":1787084977,"priority":1,"record_length":96,"hex_timestamp":"000001a01690b368"} 
[2026-08-19 02:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 02:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493677056001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493677056001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:01:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:01:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493677056001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":158550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:01:38] local.INFO: GPS data processed {"connection_id":158550,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:01:38] local.INFO: Acknowledgment sent {"connection_id":158550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:02:00] local.INFO: TCP Data received {"connection_id":157645,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:02:00] local.INFO: Processing buffer {"connection_id":157645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:02:00] local.INFO: IMEI packet received {"connection_id":157645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":157645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:02:06] local.INFO: TCP Data received {"connection_id":157645,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:02:06] local.INFO: Processing buffer {"connection_id":157645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:02:06] local.INFO: IMEI packet received {"connection_id":157645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":157645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:02:07] local.INFO: TCP Data received {"connection_id":157645,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:02:07] local.INFO: Processing buffer {"connection_id":157645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:02:07] local.INFO: Packet analysis {"connection_id":157645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:02:07] local.INFO: Extracted packet for processing {"connection_id":157645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:02:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493677056001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:02:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787084977000,"timestamp_ms":1787084977000,"timestamp_seconds":1787084977,"priority":1,"record_length":96,"hex_timestamp":"000001a01690b368"} 
[2026-08-19 02:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:02: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-08-19 02:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 02:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493677056001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493677056001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:02:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:02:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493677056001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":157645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:02:07] local.INFO: GPS data processed {"connection_id":157645,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:02:07] local.INFO: Acknowledgment sent {"connection_id":157645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:02:38] local.INFO: TCP Data received {"connection_id":157645,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:02:38] local.INFO: Processing buffer {"connection_id":157645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:02:38] local.INFO: Packet analysis {"connection_id":157645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:02:38] local.INFO: Extracted packet for processing {"connection_id":157645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:02:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493677056001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:02:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787084977000,"timestamp_ms":1787084977000,"timestamp_seconds":1787084977,"priority":1,"record_length":96,"hex_timestamp":"000001a01690b368"} 
[2026-08-19 02:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 02:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493677056001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493677056001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:02:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:02:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:02:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493677056001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":157645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:02:38] local.INFO: GPS data processed {"connection_id":157645,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:02:38] local.INFO: Acknowledgment sent {"connection_id":157645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:03:06] local.INFO: TCP Data received {"connection_id":157283,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:03:06] local.INFO: Processing buffer {"connection_id":157283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:03:06] local.INFO: IMEI packet received {"connection_id":157283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":157283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:03:11] local.INFO: TCP Data received {"connection_id":157283,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:03:11] local.INFO: Processing buffer {"connection_id":157283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:03:11] local.INFO: IMEI packet received {"connection_id":157283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":157283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:03:12] local.INFO: TCP Data received {"connection_id":157283,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:03:12] local.INFO: Processing buffer {"connection_id":157283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:03:12] local.INFO: Packet analysis {"connection_id":157283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:03:12] local.INFO: Extracted packet for processing {"connection_id":157283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:03:12] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493677056001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787084977000,"timestamp_ms":1787084977000,"timestamp_seconds":1787084977,"priority":1,"record_length":96,"hex_timestamp":"000001a01690b368"} 
[2026-08-19 02:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:03: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-08-19 02:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 02:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493677056001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493677056001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:03:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:03:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493677056001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":157283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:03:12] local.INFO: GPS data processed {"connection_id":157283,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:03:12] local.INFO: Acknowledgment sent {"connection_id":157283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:03:16] local.INFO: TCP Data received {"connection_id":157283,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:03:16] local.INFO: Processing buffer {"connection_id":157283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:03:16] local.INFO: Packet analysis {"connection_id":157283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:03:16] local.INFO: Extracted packet for processing {"connection_id":157283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:03:16] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493677056001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:03:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787084977000,"timestamp_ms":1787084977000,"timestamp_seconds":1787084977,"priority":1,"record_length":96,"hex_timestamp":"000001a01690b368"} 
[2026-08-19 02:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:03: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-08-19 02: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 02:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493677056001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493677056001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:03:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:03:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:03:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493677056001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":157283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:03:16] local.INFO: GPS data processed {"connection_id":157283,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:03:16] local.INFO: Acknowledgment sent {"connection_id":157283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:04:01] local.INFO: TCP Data received {"connection_id":157646,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:04:01] local.INFO: Processing buffer {"connection_id":157646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:04:01] local.INFO: IMEI packet received {"connection_id":157646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":157646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:04:06] local.INFO: TCP Data received {"connection_id":157646,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:04:06] local.INFO: Processing buffer {"connection_id":157646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:04:06] local.INFO: IMEI packet received {"connection_id":157646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":157646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:04:06] local.INFO: TCP Data received {"connection_id":157646,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:04:06] local.INFO: Processing buffer {"connection_id":157646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:04:06] local.INFO: Packet analysis {"connection_id":157646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:04:06] local.INFO: Extracted packet for processing {"connection_id":157646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:04:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493677056001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:04:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787084977000,"timestamp_ms":1787084977000,"timestamp_seconds":1787084977,"priority":1,"record_length":96,"hex_timestamp":"000001a01690b368"} 
[2026-08-19 02:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 02:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493677056001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493677056001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:04:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:04:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493677056001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":157646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:04:06] local.INFO: GPS data processed {"connection_id":157646,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:04:06] local.INFO: Acknowledgment sent {"connection_id":157646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:04:38] local.INFO: TCP Data received {"connection_id":157646,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:04:38] local.INFO: Processing buffer {"connection_id":157646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:04:38] local.INFO: Packet analysis {"connection_id":157646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:04:38] local.INFO: Extracted packet for processing {"connection_id":157646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:04:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493677056001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:04:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787084977000,"timestamp_ms":1787084977000,"timestamp_seconds":1787084977,"priority":1,"record_length":96,"hex_timestamp":"000001a01690b368"} 
[2026-08-19 02:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 02:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493677056001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493677056001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:04:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:04:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:04:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493677056001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":157646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:04:38] local.INFO: GPS data processed {"connection_id":157646,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:04:38] local.INFO: Acknowledgment sent {"connection_id":157646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:05:01] local.INFO: TCP Data received {"connection_id":157284,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:05:01] local.INFO: Processing buffer {"connection_id":157284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:05:01] local.INFO: IMEI packet received {"connection_id":157284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":157284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:05:06] local.INFO: TCP Data received {"connection_id":157284,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:05:06] local.INFO: Processing buffer {"connection_id":157284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:05:06] local.INFO: IMEI packet received {"connection_id":157284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":157284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:05:06] local.INFO: TCP Data received {"connection_id":157284,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:05:06] local.INFO: Processing buffer {"connection_id":157284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01690b368012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:05:06] local.INFO: Packet analysis {"connection_id":157284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:05:06] local.INFO: Extracted packet for processing {"connection_id":157284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01690"} 
[2026-08-19 02:05:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493677056001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:05:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787084977000,"timestamp_ms":1787084977000,"timestamp_seconds":1787084977,"priority":1,"record_length":96,"hex_timestamp":"000001a01690b368"} 
[2026-08-19 02:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 02:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493677056001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493677056001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:05:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:05:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493677056001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":157284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:05:06] local.INFO: GPS data processed {"connection_id":157284,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:05:06] local.INFO: Acknowledgment sent {"connection_id":157284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:05:37] local.INFO: TCP Data received {"connection_id":157284,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:05:37] local.INFO: Processing buffer {"connection_id":157284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:05:37] local.INFO: Packet analysis {"connection_id":157284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:05:37] local.INFO: Extracted packet for processing {"connection_id":157284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:05:37] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493754112001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:05:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787085278000,"timestamp_ms":1787085278000,"timestamp_seconds":1787085278,"priority":1,"record_length":96,"hex_timestamp":"000001a016954b30"} 
[2026-08-19 02:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493754112001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493754112001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:05:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:05:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493754112001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":157284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:05:37] local.INFO: GPS data processed {"connection_id":157284,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:05:37] local.INFO: Acknowledgment sent {"connection_id":157284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:06:00] local.INFO: TCP Data received {"connection_id":159835,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:06:00] local.INFO: Processing buffer {"connection_id":159835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:06:00] local.INFO: IMEI packet received {"connection_id":159835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":159835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:06:06] local.INFO: TCP Data received {"connection_id":159835,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:06:06] local.INFO: Processing buffer {"connection_id":159835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:06:06] local.INFO: IMEI packet received {"connection_id":159835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":159835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:06:07] local.INFO: TCP Data received {"connection_id":159835,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:06:07] local.INFO: Processing buffer {"connection_id":159835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:06:07] local.INFO: Packet analysis {"connection_id":159835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:06:07] local.INFO: Extracted packet for processing {"connection_id":159835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:06:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493754112001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:06:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787085278000,"timestamp_ms":1787085278000,"timestamp_seconds":1787085278,"priority":1,"record_length":96,"hex_timestamp":"000001a016954b30"} 
[2026-08-19 02:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:06: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-08-19 02:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493754112001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493754112001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:06:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:06:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493754112001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":159835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:06:07] local.INFO: GPS data processed {"connection_id":159835,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:06:07] local.INFO: Acknowledgment sent {"connection_id":159835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:06:38] local.INFO: TCP Data received {"connection_id":159835,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:06:38] local.INFO: Processing buffer {"connection_id":159835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:06:38] local.INFO: Packet analysis {"connection_id":159835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:06:38] local.INFO: Extracted packet for processing {"connection_id":159835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:06:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493754112001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:06:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787085278000,"timestamp_ms":1787085278000,"timestamp_seconds":1787085278,"priority":1,"record_length":96,"hex_timestamp":"000001a016954b30"} 
[2026-08-19 02:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493754112001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493754112001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:06:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:06:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:06:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493754112001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":159835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:06:38] local.INFO: GPS data processed {"connection_id":159835,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:06:38] local.INFO: Acknowledgment sent {"connection_id":159835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:07:06] local.INFO: TCP Data received {"connection_id":158552,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:07:06] local.INFO: Processing buffer {"connection_id":158552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:07:06] local.INFO: IMEI packet received {"connection_id":158552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":158552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:07:11] local.INFO: TCP Data received {"connection_id":158552,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:07:11] local.INFO: Processing buffer {"connection_id":158552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:07:11] local.INFO: IMEI packet received {"connection_id":158552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":158552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:07:11] local.INFO: TCP Data received {"connection_id":158552,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:07:11] local.INFO: Processing buffer {"connection_id":158552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:07:11] local.INFO: Packet analysis {"connection_id":158552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:07:11] local.INFO: Extracted packet for processing {"connection_id":158552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:07:11] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493754112001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787085278000,"timestamp_ms":1787085278000,"timestamp_seconds":1787085278,"priority":1,"record_length":96,"hex_timestamp":"000001a016954b30"} 
[2026-08-19 02:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:07: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-08-19 02:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493754112001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493754112001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:07:11] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:07:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493754112001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":158552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:07:11] local.INFO: GPS data processed {"connection_id":158552,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:07:11] local.INFO: Acknowledgment sent {"connection_id":158552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:07:17] local.INFO: TCP Data received {"connection_id":158552,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:07:17] local.INFO: Processing buffer {"connection_id":158552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:07:17] local.INFO: Packet analysis {"connection_id":158552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:07:17] local.INFO: Extracted packet for processing {"connection_id":158552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:07:17] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493754112001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:07:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787085278000,"timestamp_ms":1787085278000,"timestamp_seconds":1787085278,"priority":1,"record_length":96,"hex_timestamp":"000001a016954b30"} 
[2026-08-19 02:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:07: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-08-19 02: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:07:17] 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-08-19 02: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-08-19 02:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493754112001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493754112001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:07:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:07:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:07:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493754112001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":158552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:07:17] local.INFO: GPS data processed {"connection_id":158552,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:07:17] local.INFO: Acknowledgment sent {"connection_id":158552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:08:01] local.INFO: TCP Data received {"connection_id":157285,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:08:01] local.INFO: Processing buffer {"connection_id":157285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:08:01] local.INFO: IMEI packet received {"connection_id":157285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":157285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:08:06] local.INFO: TCP Data received {"connection_id":157285,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:08:06] local.INFO: Processing buffer {"connection_id":157285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:08:06] local.INFO: IMEI packet received {"connection_id":157285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":157285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:08:06] local.INFO: TCP Data received {"connection_id":157285,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:08:06] local.INFO: Processing buffer {"connection_id":157285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:08:06] local.INFO: Packet analysis {"connection_id":157285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:08:06] local.INFO: Extracted packet for processing {"connection_id":157285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:08:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493754112001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:08:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787085278000,"timestamp_ms":1787085278000,"timestamp_seconds":1787085278,"priority":1,"record_length":96,"hex_timestamp":"000001a016954b30"} 
[2026-08-19 02:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493754112001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493754112001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:08:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:08:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493754112001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":157285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:08:06] local.INFO: GPS data processed {"connection_id":157285,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:08:06] local.INFO: Acknowledgment sent {"connection_id":157285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:08:38] local.INFO: TCP Data received {"connection_id":157285,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:08:38] local.INFO: Processing buffer {"connection_id":157285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:08:38] local.INFO: Packet analysis {"connection_id":157285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:08:38] local.INFO: Extracted packet for processing {"connection_id":157285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:08:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493754112001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:08:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787085278000,"timestamp_ms":1787085278000,"timestamp_seconds":1787085278,"priority":1,"record_length":96,"hex_timestamp":"000001a016954b30"} 
[2026-08-19 02:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493754112001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493754112001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:08:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:08:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:08:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493754112001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":157285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:08:38] local.INFO: GPS data processed {"connection_id":157285,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:08:38] local.INFO: Acknowledgment sent {"connection_id":157285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:09:01] local.INFO: TCP Data received {"connection_id":157647,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:09:01] local.INFO: Processing buffer {"connection_id":157647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:09:01] local.INFO: IMEI packet received {"connection_id":157647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":157647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:09:06] local.INFO: TCP Data received {"connection_id":157647,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:09:06] local.INFO: Processing buffer {"connection_id":157647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:09:06] local.INFO: IMEI packet received {"connection_id":157647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":157647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:09:07] local.INFO: TCP Data received {"connection_id":157647,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:09:07] local.INFO: Processing buffer {"connection_id":157647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:09:07] local.INFO: Packet analysis {"connection_id":157647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:09:07] local.INFO: Extracted packet for processing {"connection_id":157647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:09:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493754112001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:09:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787085278000,"timestamp_ms":1787085278000,"timestamp_seconds":1787085278,"priority":1,"record_length":96,"hex_timestamp":"000001a016954b30"} 
[2026-08-19 02:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:09: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-08-19 02:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493754112001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493754112001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:09:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:09:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493754112001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":157647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:09:07] local.INFO: GPS data processed {"connection_id":157647,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:09:07] local.INFO: Acknowledgment sent {"connection_id":157647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:09:38] local.INFO: TCP Data received {"connection_id":157647,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:09:38] local.INFO: Processing buffer {"connection_id":157647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:09:38] local.INFO: Packet analysis {"connection_id":157647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:09:38] local.INFO: Extracted packet for processing {"connection_id":157647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:09:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493754112001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:09:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787085278000,"timestamp_ms":1787085278000,"timestamp_seconds":1787085278,"priority":1,"record_length":96,"hex_timestamp":"000001a016954b30"} 
[2026-08-19 02:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493754112001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493754112001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:09:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:09:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:09:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493754112001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":157647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:09:38] local.INFO: GPS data processed {"connection_id":157647,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:09:38] local.INFO: Acknowledgment sent {"connection_id":157647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:10:00] local.INFO: TCP Data received {"connection_id":157648,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:10:00] local.INFO: Processing buffer {"connection_id":157648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:10:00] local.INFO: IMEI packet received {"connection_id":157648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":157648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:10:06] local.INFO: TCP Data received {"connection_id":157648,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:10:06] local.INFO: Processing buffer {"connection_id":157648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:10:06] local.INFO: IMEI packet received {"connection_id":157648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":157648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:10:07] local.INFO: TCP Data received {"connection_id":157648,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:10:07] local.INFO: Processing buffer {"connection_id":157648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016954b30012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:10:07] local.INFO: Packet analysis {"connection_id":157648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:10:07] local.INFO: Extracted packet for processing {"connection_id":157648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01695"} 
[2026-08-19 02:10:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493754112001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:10:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787085278000,"timestamp_ms":1787085278000,"timestamp_seconds":1787085278,"priority":1,"record_length":96,"hex_timestamp":"000001a016954b30"} 
[2026-08-19 02:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:10: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-08-19 02:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493754112001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493754112001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:10:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:10:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:10:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493754112001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":157648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:10:07] local.INFO: GPS data processed {"connection_id":157648,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:10:07] local.INFO: Acknowledgment sent {"connection_id":157648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:10:37] local.INFO: TCP Data received {"connection_id":157648,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:10:37] local.INFO: Processing buffer {"connection_id":157648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:10:37] local.INFO: Packet analysis {"connection_id":157648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:10:37] local.INFO: Extracted packet for processing {"connection_id":157648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:10:37] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493831168001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:10:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787085579000,"timestamp_ms":1787085579000,"timestamp_seconds":1787085579,"priority":1,"record_length":96,"hex_timestamp":"000001a01699e2f8"} 
[2026-08-19 02:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 02:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493831168001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493831168001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:10:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:10:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493831168001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":157648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:10:37] local.INFO: GPS data processed {"connection_id":157648,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:10:37] local.INFO: Acknowledgment sent {"connection_id":157648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:11:01] local.INFO: TCP Data received {"connection_id":157286,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:11:01] local.INFO: Processing buffer {"connection_id":157286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:11:01] local.INFO: IMEI packet received {"connection_id":157286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":157286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:11:06] local.INFO: TCP Data received {"connection_id":157286,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:11:06] local.INFO: Processing buffer {"connection_id":157286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:11:06] local.INFO: IMEI packet received {"connection_id":157286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":157286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:11:06] local.INFO: TCP Data received {"connection_id":157286,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:11:06] local.INFO: Processing buffer {"connection_id":157286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:11:06] local.INFO: Packet analysis {"connection_id":157286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:11:06] local.INFO: Extracted packet for processing {"connection_id":157286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:11:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493831168001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:11:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787085579000,"timestamp_ms":1787085579000,"timestamp_seconds":1787085579,"priority":1,"record_length":96,"hex_timestamp":"000001a01699e2f8"} 
[2026-08-19 02:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 02:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493831168001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493831168001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:11:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:11:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493831168001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":157286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:11:06] local.INFO: GPS data processed {"connection_id":157286,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:11:06] local.INFO: Acknowledgment sent {"connection_id":157286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:11:38] local.INFO: TCP Data received {"connection_id":157286,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:11:38] local.INFO: Processing buffer {"connection_id":157286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:11:38] local.INFO: Packet analysis {"connection_id":157286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:11:38] local.INFO: Extracted packet for processing {"connection_id":157286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:11:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493831168001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:11:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787085579000,"timestamp_ms":1787085579000,"timestamp_seconds":1787085579,"priority":1,"record_length":96,"hex_timestamp":"000001a01699e2f8"} 
[2026-08-19 02:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 02:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493831168001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493831168001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:11:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:11:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:11:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493831168001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":157286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:11:38] local.INFO: GPS data processed {"connection_id":157286,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:11:38] local.INFO: Acknowledgment sent {"connection_id":157286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:12:01] local.INFO: TCP Data received {"connection_id":157287,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:12:01] local.INFO: Processing buffer {"connection_id":157287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:12:01] local.INFO: IMEI packet received {"connection_id":157287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":157287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:12:06] local.INFO: TCP Data received {"connection_id":157287,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:12:06] local.INFO: Processing buffer {"connection_id":157287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:12:06] local.INFO: IMEI packet received {"connection_id":157287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":157287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:12:06] local.INFO: TCP Data received {"connection_id":157287,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:12:06] local.INFO: Processing buffer {"connection_id":157287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:12:06] local.INFO: Packet analysis {"connection_id":157287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:12:06] local.INFO: Extracted packet for processing {"connection_id":157287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:12:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493831168001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:12:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787085579000,"timestamp_ms":1787085579000,"timestamp_seconds":1787085579,"priority":1,"record_length":96,"hex_timestamp":"000001a01699e2f8"} 
[2026-08-19 02:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 02:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493831168001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493831168001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:12:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:12:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493831168001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":157287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:12:07] local.INFO: GPS data processed {"connection_id":157287,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:12:07] local.INFO: Acknowledgment sent {"connection_id":157287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:12:38] local.INFO: TCP Data received {"connection_id":157287,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:12:38] local.INFO: Processing buffer {"connection_id":157287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:12:38] local.INFO: Packet analysis {"connection_id":157287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:12:38] local.INFO: Extracted packet for processing {"connection_id":157287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:12:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493831168001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:12:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787085579000,"timestamp_ms":1787085579000,"timestamp_seconds":1787085579,"priority":1,"record_length":96,"hex_timestamp":"000001a01699e2f8"} 
[2026-08-19 02:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 02:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493831168001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493831168001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:12:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:12:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:12:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493831168001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":157287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:12:38] local.INFO: GPS data processed {"connection_id":157287,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:12:38] local.INFO: Acknowledgment sent {"connection_id":157287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:13:01] local.INFO: TCP Data received {"connection_id":158553,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:13:01] local.INFO: Processing buffer {"connection_id":158553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:13:01] local.INFO: IMEI packet received {"connection_id":158553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":158553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:13:06] local.INFO: TCP Data received {"connection_id":158553,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:13:06] local.INFO: Processing buffer {"connection_id":158553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:13:06] local.INFO: IMEI packet received {"connection_id":158553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":158553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:13:06] local.INFO: TCP Data received {"connection_id":158553,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:13:06] local.INFO: Processing buffer {"connection_id":158553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:13:06] local.INFO: Packet analysis {"connection_id":158553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:13:06] local.INFO: Extracted packet for processing {"connection_id":158553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:13:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493831168001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:13:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787085579000,"timestamp_ms":1787085579000,"timestamp_seconds":1787085579,"priority":1,"record_length":96,"hex_timestamp":"000001a01699e2f8"} 
[2026-08-19 02:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 02:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493831168001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493831168001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:13:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:13:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493831168001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":158553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:13:06] local.INFO: GPS data processed {"connection_id":158553,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:13:06] local.INFO: Acknowledgment sent {"connection_id":158553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:13:38] local.INFO: TCP Data received {"connection_id":158553,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:13:38] local.INFO: Processing buffer {"connection_id":158553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:13:38] local.INFO: Packet analysis {"connection_id":158553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:13:38] local.INFO: Extracted packet for processing {"connection_id":158553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:13:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493831168001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:13:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787085579000,"timestamp_ms":1787085579000,"timestamp_seconds":1787085579,"priority":1,"record_length":96,"hex_timestamp":"000001a01699e2f8"} 
[2026-08-19 02:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 02:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493831168001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493831168001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:13:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:13:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:13:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493831168001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":158553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:13:38] local.INFO: GPS data processed {"connection_id":158553,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:13:38] local.INFO: Acknowledgment sent {"connection_id":158553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:14:00] local.INFO: TCP Data received {"connection_id":157288,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:14:00] local.INFO: Processing buffer {"connection_id":157288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:14:00] local.INFO: IMEI packet received {"connection_id":157288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":157288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:14:06] local.INFO: TCP Data received {"connection_id":157288,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:14:06] local.INFO: Processing buffer {"connection_id":157288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:14:06] local.INFO: IMEI packet received {"connection_id":157288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":157288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:14:06] local.INFO: TCP Data received {"connection_id":157288,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:14:06] local.INFO: Processing buffer {"connection_id":157288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:14:06] local.INFO: Packet analysis {"connection_id":157288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:14:06] local.INFO: Extracted packet for processing {"connection_id":157288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:14:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493831168001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:14:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787085579000,"timestamp_ms":1787085579000,"timestamp_seconds":1787085579,"priority":1,"record_length":96,"hex_timestamp":"000001a01699e2f8"} 
[2026-08-19 02:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 02:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493831168001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493831168001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:14:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:14:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493831168001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":157288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:14:06] local.INFO: GPS data processed {"connection_id":157288,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:14:06] local.INFO: Acknowledgment sent {"connection_id":157288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:14:37] local.INFO: TCP Data received {"connection_id":157288,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:14:37] local.INFO: Processing buffer {"connection_id":157288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:14:37] local.INFO: Packet analysis {"connection_id":157288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:14:37] local.INFO: Extracted packet for processing {"connection_id":157288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:14:37] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493831168001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:14:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787085579000,"timestamp_ms":1787085579000,"timestamp_seconds":1787085579,"priority":1,"record_length":96,"hex_timestamp":"000001a01699e2f8"} 
[2026-08-19 02:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 02:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493831168001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493831168001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:14:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:14:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493831168001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":157288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:14:37] local.INFO: GPS data processed {"connection_id":157288,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:14:37] local.INFO: Acknowledgment sent {"connection_id":157288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:15:00] local.INFO: TCP Data received {"connection_id":157649,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:15:00] local.INFO: Processing buffer {"connection_id":157649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:15:00] local.INFO: IMEI packet received {"connection_id":157649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":157649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:15:06] local.INFO: TCP Data received {"connection_id":157649,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:15:06] local.INFO: Processing buffer {"connection_id":157649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:15:06] local.INFO: IMEI packet received {"connection_id":157649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":157649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:15:06] local.INFO: TCP Data received {"connection_id":157649,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:15:06] local.INFO: Processing buffer {"connection_id":157649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01699e2f8012ce45d00072415a0000e007d2c..."} 
[2026-08-19 02:15:06] local.INFO: Packet analysis {"connection_id":157649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:15:06] local.INFO: Extracted packet for processing {"connection_id":157649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01699"} 
[2026-08-19 02:15:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":44,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493831168001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:15:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787085579000,"timestamp_ms":1787085579000,"timestamp_seconds":1787085579,"priority":1,"record_length":96,"hex_timestamp":"000001a01699e2f8"} 
[2026-08-19 02:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 02:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493831168001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493831168001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:15:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:15:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493831168001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":157649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:15:07] local.INFO: GPS data processed {"connection_id":157649,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:15:07] local.INFO: Acknowledgment sent {"connection_id":157649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:15:37] local.INFO: TCP Data received {"connection_id":157649,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:15:37] local.INFO: Processing buffer {"connection_id":157649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:15:37] local.INFO: Packet analysis {"connection_id":157649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:15:37] local.INFO: Extracted packet for processing {"connection_id":157649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:15:37] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":42,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493908224001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787085880000,"timestamp_ms":1787085880000,"timestamp_seconds":1787085880,"priority":1,"record_length":96,"hex_timestamp":"000001a0169e7ac0"} 
[2026-08-19 02:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493908224001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493908224001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:15:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493908224001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":157649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:15:37] local.INFO: GPS data processed {"connection_id":157649,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:15:37] local.INFO: Acknowledgment sent {"connection_id":157649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:16:01] local.INFO: TCP Data received {"connection_id":159836,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:16:01] local.INFO: Processing buffer {"connection_id":159836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:16:01] local.INFO: IMEI packet received {"connection_id":159836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":159836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:16:06] local.INFO: TCP Data received {"connection_id":159836,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:16:06] local.INFO: Processing buffer {"connection_id":159836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:16:06] local.INFO: IMEI packet received {"connection_id":159836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":159836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:16:06] local.INFO: TCP Data received {"connection_id":159836,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:16:06] local.INFO: Processing buffer {"connection_id":159836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:16:06] local.INFO: Packet analysis {"connection_id":159836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:16:06] local.INFO: Extracted packet for processing {"connection_id":159836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:16:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":42,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493908224001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:16:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787085880000,"timestamp_ms":1787085880000,"timestamp_seconds":1787085880,"priority":1,"record_length":96,"hex_timestamp":"000001a0169e7ac0"} 
[2026-08-19 02:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493908224001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493908224001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:16:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:16:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493908224001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":159836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:16:06] local.INFO: GPS data processed {"connection_id":159836,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:16:06] local.INFO: Acknowledgment sent {"connection_id":159836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:16:38] local.INFO: TCP Data received {"connection_id":159836,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:16:38] local.INFO: Processing buffer {"connection_id":159836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:16:38] local.INFO: Packet analysis {"connection_id":159836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:16:38] local.INFO: Extracted packet for processing {"connection_id":159836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:16:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":42,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493908224001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:16:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787085880000,"timestamp_ms":1787085880000,"timestamp_seconds":1787085880,"priority":1,"record_length":96,"hex_timestamp":"000001a0169e7ac0"} 
[2026-08-19 02:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493908224001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493908224001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:16:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:16:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:16:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493908224001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":159836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:16:38] local.INFO: GPS data processed {"connection_id":159836,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:16:38] local.INFO: Acknowledgment sent {"connection_id":159836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:17:01] local.INFO: TCP Data received {"connection_id":157650,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:17:01] local.INFO: Processing buffer {"connection_id":157650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:17:01] local.INFO: IMEI packet received {"connection_id":157650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":157650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:17:06] local.INFO: TCP Data received {"connection_id":157650,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:17:06] local.INFO: Processing buffer {"connection_id":157650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:17:06] local.INFO: IMEI packet received {"connection_id":157650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":157650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:17:06] local.INFO: TCP Data received {"connection_id":157650,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:17:06] local.INFO: Processing buffer {"connection_id":157650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:17:06] local.INFO: Packet analysis {"connection_id":157650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:17:06] local.INFO: Extracted packet for processing {"connection_id":157650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:17:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":42,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493908224001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:17:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787085880000,"timestamp_ms":1787085880000,"timestamp_seconds":1787085880,"priority":1,"record_length":96,"hex_timestamp":"000001a0169e7ac0"} 
[2026-08-19 02:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493908224001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493908224001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:17:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:17:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493908224001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":157650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:17:06] local.INFO: GPS data processed {"connection_id":157650,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:17:06] local.INFO: Acknowledgment sent {"connection_id":157650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:17:37] local.INFO: TCP Data received {"connection_id":157650,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:17:37] local.INFO: Processing buffer {"connection_id":157650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:17:37] local.INFO: Packet analysis {"connection_id":157650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:17:37] local.INFO: Extracted packet for processing {"connection_id":157650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:17:37] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":42,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493908224001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:17:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787085880000,"timestamp_ms":1787085880000,"timestamp_seconds":1787085880,"priority":1,"record_length":96,"hex_timestamp":"000001a0169e7ac0"} 
[2026-08-19 02:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493908224001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493908224001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:17:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:17:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493908224001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":157650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:17:37] local.INFO: GPS data processed {"connection_id":157650,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:17:37] local.INFO: Acknowledgment sent {"connection_id":157650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:18:01] local.INFO: TCP Data received {"connection_id":159837,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:18:01] local.INFO: Processing buffer {"connection_id":159837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:18:01] local.INFO: IMEI packet received {"connection_id":159837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":159837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:18:06] local.INFO: TCP Data received {"connection_id":159837,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:18:06] local.INFO: Processing buffer {"connection_id":159837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:18:06] local.INFO: IMEI packet received {"connection_id":159837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":159837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:18:07] local.INFO: TCP Data received {"connection_id":159837,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:18:07] local.INFO: Processing buffer {"connection_id":159837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:18:07] local.INFO: Packet analysis {"connection_id":159837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:18:07] local.INFO: Extracted packet for processing {"connection_id":159837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:18:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":42,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493908224001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:18:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787085880000,"timestamp_ms":1787085880000,"timestamp_seconds":1787085880,"priority":1,"record_length":96,"hex_timestamp":"000001a0169e7ac0"} 
[2026-08-19 02:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:18: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-08-19 02:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493908224001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493908224001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:18:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:18:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493908224001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":159837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:18:07] local.INFO: GPS data processed {"connection_id":159837,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:18:07] local.INFO: Acknowledgment sent {"connection_id":159837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:18:38] local.INFO: TCP Data received {"connection_id":159837,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:18:38] local.INFO: Processing buffer {"connection_id":159837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:18:38] local.INFO: Packet analysis {"connection_id":159837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:18:38] local.INFO: Extracted packet for processing {"connection_id":159837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:18:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":42,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493908224001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:18:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787085880000,"timestamp_ms":1787085880000,"timestamp_seconds":1787085880,"priority":1,"record_length":96,"hex_timestamp":"000001a0169e7ac0"} 
[2026-08-19 02:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493908224001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493908224001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:18:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:18:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:18:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493908224001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":159837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:18:38] local.INFO: GPS data processed {"connection_id":159837,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:18:38] local.INFO: Acknowledgment sent {"connection_id":159837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:19:00] local.INFO: TCP Data received {"connection_id":158554,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:19:00] local.INFO: Processing buffer {"connection_id":158554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:19:00] local.INFO: IMEI packet received {"connection_id":158554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":158554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:19:06] local.INFO: TCP Data received {"connection_id":158554,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:19:06] local.INFO: Processing buffer {"connection_id":158554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:19:06] local.INFO: IMEI packet received {"connection_id":158554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":158554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:19:06] local.INFO: TCP Data received {"connection_id":158554,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:19:06] local.INFO: Processing buffer {"connection_id":158554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:19:06] local.INFO: Packet analysis {"connection_id":158554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:19:06] local.INFO: Extracted packet for processing {"connection_id":158554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:19:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":42,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493908224001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:19:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787085880000,"timestamp_ms":1787085880000,"timestamp_seconds":1787085880,"priority":1,"record_length":96,"hex_timestamp":"000001a0169e7ac0"} 
[2026-08-19 02:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493908224001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493908224001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:19:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:19:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493908224001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":158554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:19:06] local.INFO: GPS data processed {"connection_id":158554,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:19:06] local.INFO: Acknowledgment sent {"connection_id":158554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:19:38] local.INFO: TCP Data received {"connection_id":158554,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:19:38] local.INFO: Processing buffer {"connection_id":158554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:19:38] local.INFO: Packet analysis {"connection_id":158554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:19:38] local.INFO: Extracted packet for processing {"connection_id":158554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:19:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":42,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493908224001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:19:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787085880000,"timestamp_ms":1787085880000,"timestamp_seconds":1787085880,"priority":1,"record_length":96,"hex_timestamp":"000001a0169e7ac0"} 
[2026-08-19 02:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493908224001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493908224001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:19:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:19:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:19:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493908224001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":158554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:19:38] local.INFO: GPS data processed {"connection_id":158554,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:19:38] local.INFO: Acknowledgment sent {"connection_id":158554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:20:00] local.INFO: TCP Data received {"connection_id":157289,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:20:00] local.INFO: Processing buffer {"connection_id":157289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:20:00] local.INFO: IMEI packet received {"connection_id":157289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":157289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:20:06] local.INFO: TCP Data received {"connection_id":157289,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:20:06] local.INFO: Processing buffer {"connection_id":157289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:20:06] local.INFO: IMEI packet received {"connection_id":157289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":157289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:20:06] local.INFO: TCP Data received {"connection_id":157289,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:20:06] local.INFO: Processing buffer {"connection_id":157289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0169e7ac0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:20:06] local.INFO: Packet analysis {"connection_id":157289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:20:06] local.INFO: Extracted packet for processing {"connection_id":157289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0169e"} 
[2026-08-19 02:20:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":42,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493908224001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:20:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787085880000,"timestamp_ms":1787085880000,"timestamp_seconds":1787085880,"priority":1,"record_length":96,"hex_timestamp":"000001a0169e7ac0"} 
[2026-08-19 02:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493908224001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493908224001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:20:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:20:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493908224001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":157289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:20:06] local.INFO: GPS data processed {"connection_id":157289,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:20:06] local.INFO: Acknowledgment sent {"connection_id":157289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:20:37] local.INFO: TCP Data received {"connection_id":157289,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:20:37] local.INFO: Processing buffer {"connection_id":157289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:20:37] local.INFO: Packet analysis {"connection_id":157289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:20:37] local.INFO: Extracted packet for processing {"connection_id":157289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:20:37] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493985280001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:20:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787086181000,"timestamp_ms":1787086181000,"timestamp_seconds":1787086181,"priority":1,"record_length":96,"hex_timestamp":"000001a016a31288"} 
[2026-08-19 02:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493985280001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493985280001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:20:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:20:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493985280001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":157289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:20:37] local.INFO: GPS data processed {"connection_id":157289,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:20:37] local.INFO: Acknowledgment sent {"connection_id":157289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:21:01] local.INFO: TCP Data received {"connection_id":159838,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:21:01] local.INFO: Processing buffer {"connection_id":159838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:21:01] local.INFO: IMEI packet received {"connection_id":159838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":159838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:21:06] local.INFO: TCP Data received {"connection_id":159838,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:21:06] local.INFO: Processing buffer {"connection_id":159838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:21:06] local.INFO: IMEI packet received {"connection_id":159838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":159838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:21:07] local.INFO: TCP Data received {"connection_id":159838,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:21:07] local.INFO: Processing buffer {"connection_id":159838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:21:07] local.INFO: Packet analysis {"connection_id":159838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:21:07] local.INFO: Extracted packet for processing {"connection_id":159838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:21:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493985280001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:21:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787086181000,"timestamp_ms":1787086181000,"timestamp_seconds":1787086181,"priority":1,"record_length":96,"hex_timestamp":"000001a016a31288"} 
[2026-08-19 02:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:21: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-08-19 02:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493985280001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493985280001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:21:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:21:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493985280001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":159838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:21:07] local.INFO: GPS data processed {"connection_id":159838,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:21:07] local.INFO: Acknowledgment sent {"connection_id":159838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:21:38] local.INFO: TCP Data received {"connection_id":159838,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:21:38] local.INFO: Processing buffer {"connection_id":159838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:21:38] local.INFO: Packet analysis {"connection_id":159838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:21:38] local.INFO: Extracted packet for processing {"connection_id":159838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:21:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493985280001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:21:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787086181000,"timestamp_ms":1787086181000,"timestamp_seconds":1787086181,"priority":1,"record_length":96,"hex_timestamp":"000001a016a31288"} 
[2026-08-19 02:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493985280001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493985280001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:21:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:21:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493985280001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":159838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:21:38] local.INFO: GPS data processed {"connection_id":159838,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:21:38] local.INFO: Acknowledgment sent {"connection_id":159838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:22:01] local.INFO: TCP Data received {"connection_id":157651,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:22:01] local.INFO: Processing buffer {"connection_id":157651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:22:01] local.INFO: IMEI packet received {"connection_id":157651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":157651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:22:06] local.INFO: TCP Data received {"connection_id":157651,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:22:06] local.INFO: Processing buffer {"connection_id":157651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:22:06] local.INFO: IMEI packet received {"connection_id":157651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":157651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:22:06] local.INFO: TCP Data received {"connection_id":157651,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:22:06] local.INFO: Processing buffer {"connection_id":157651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:22:06] local.INFO: Packet analysis {"connection_id":157651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:22:06] local.INFO: Extracted packet for processing {"connection_id":157651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:22:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493985280001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:22:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787086181000,"timestamp_ms":1787086181000,"timestamp_seconds":1787086181,"priority":1,"record_length":96,"hex_timestamp":"000001a016a31288"} 
[2026-08-19 02:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493985280001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493985280001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:22:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:22:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493985280001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":157651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:22:06] local.INFO: GPS data processed {"connection_id":157651,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:22:06] local.INFO: Acknowledgment sent {"connection_id":157651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:22:37] local.INFO: TCP Data received {"connection_id":157651,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:22:37] local.INFO: Processing buffer {"connection_id":157651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:22:37] local.INFO: Packet analysis {"connection_id":157651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:22:37] local.INFO: Extracted packet for processing {"connection_id":157651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:22:37] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493985280001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:22:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787086181000,"timestamp_ms":1787086181000,"timestamp_seconds":1787086181,"priority":1,"record_length":96,"hex_timestamp":"000001a016a31288"} 
[2026-08-19 02:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493985280001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493985280001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:22:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:22:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493985280001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":157651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:22:37] local.INFO: GPS data processed {"connection_id":157651,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:22:37] local.INFO: Acknowledgment sent {"connection_id":157651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:23:00] local.INFO: TCP Data received {"connection_id":158555,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:23:00] local.INFO: Processing buffer {"connection_id":158555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:23:00] local.INFO: IMEI packet received {"connection_id":158555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":158555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:23:06] local.INFO: TCP Data received {"connection_id":158555,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:23:06] local.INFO: Processing buffer {"connection_id":158555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:23:06] local.INFO: IMEI packet received {"connection_id":158555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":158555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:23:06] local.INFO: TCP Data received {"connection_id":158555,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:23:06] local.INFO: Processing buffer {"connection_id":158555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:23:06] local.INFO: Packet analysis {"connection_id":158555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:23:06] local.INFO: Extracted packet for processing {"connection_id":158555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:23:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493985280001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:23:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787086181000,"timestamp_ms":1787086181000,"timestamp_seconds":1787086181,"priority":1,"record_length":96,"hex_timestamp":"000001a016a31288"} 
[2026-08-19 02:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493985280001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493985280001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:23:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:23:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493985280001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":158555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:23:06] local.INFO: GPS data processed {"connection_id":158555,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:23:06] local.INFO: Acknowledgment sent {"connection_id":158555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:23:37] local.INFO: TCP Data received {"connection_id":158555,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:23:37] local.INFO: Processing buffer {"connection_id":158555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:23:37] local.INFO: Packet analysis {"connection_id":158555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:23:37] local.INFO: Extracted packet for processing {"connection_id":158555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:23:37] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493985280001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:23:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787086181000,"timestamp_ms":1787086181000,"timestamp_seconds":1787086181,"priority":1,"record_length":96,"hex_timestamp":"000001a016a31288"} 
[2026-08-19 02:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493985280001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493985280001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:23:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:23:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493985280001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":158555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:23:38] local.INFO: GPS data processed {"connection_id":158555,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:23:38] local.INFO: Acknowledgment sent {"connection_id":158555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:24:00] local.INFO: TCP Data received {"connection_id":159839,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:24:00] local.INFO: Processing buffer {"connection_id":159839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:24:00] local.INFO: IMEI packet received {"connection_id":159839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":159839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:24:06] local.INFO: TCP Data received {"connection_id":159839,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:24:06] local.INFO: Processing buffer {"connection_id":159839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:24:06] local.INFO: IMEI packet received {"connection_id":159839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":159839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:24:06] local.INFO: TCP Data received {"connection_id":159839,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:24:06] local.INFO: Processing buffer {"connection_id":159839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:24:06] local.INFO: Packet analysis {"connection_id":159839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:24:06] local.INFO: Extracted packet for processing {"connection_id":159839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:24:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493985280001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:24:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787086181000,"timestamp_ms":1787086181000,"timestamp_seconds":1787086181,"priority":1,"record_length":96,"hex_timestamp":"000001a016a31288"} 
[2026-08-19 02:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493985280001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493985280001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:24:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:24:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493985280001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":159839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:24:06] local.INFO: GPS data processed {"connection_id":159839,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:24:06] local.INFO: Acknowledgment sent {"connection_id":159839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:24:38] local.INFO: TCP Data received {"connection_id":159839,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:24:38] local.INFO: Processing buffer {"connection_id":159839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:24:38] local.INFO: Packet analysis {"connection_id":159839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:24:38] local.INFO: Extracted packet for processing {"connection_id":159839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:24:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493985280001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:24:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787086181000,"timestamp_ms":1787086181000,"timestamp_seconds":1787086181,"priority":1,"record_length":96,"hex_timestamp":"000001a016a31288"} 
[2026-08-19 02:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493985280001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493985280001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:24:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:24:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:24:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493985280001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":159839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:24:38] local.INFO: GPS data processed {"connection_id":159839,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:24:38] local.INFO: Acknowledgment sent {"connection_id":159839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:25:06] local.INFO: TCP Data received {"connection_id":158556,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:25:06] local.INFO: Processing buffer {"connection_id":158556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:25:06] local.INFO: IMEI packet received {"connection_id":158556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":158556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:25:11] local.INFO: TCP Data received {"connection_id":158556,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:25:11] local.INFO: Processing buffer {"connection_id":158556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:25:11] local.INFO: IMEI packet received {"connection_id":158556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":158556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:25:11] local.INFO: TCP Data received {"connection_id":158556,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:25:11] local.INFO: Processing buffer {"connection_id":158556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:25:11] local.INFO: Packet analysis {"connection_id":158556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:25:11] local.INFO: Extracted packet for processing {"connection_id":158556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:25:11] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493985280001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:25:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787086181000,"timestamp_ms":1787086181000,"timestamp_seconds":1787086181,"priority":1,"record_length":96,"hex_timestamp":"000001a016a31288"} 
[2026-08-19 02:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:25: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-08-19 02:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493985280001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493985280001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:25:11] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:25:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493985280001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":158556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:25:11] local.INFO: GPS data processed {"connection_id":158556,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:25:11] local.INFO: Acknowledgment sent {"connection_id":158556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:25:17] local.INFO: TCP Data received {"connection_id":158556,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:25:17] local.INFO: Processing buffer {"connection_id":158556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a31288012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:25:17] local.INFO: Packet analysis {"connection_id":158556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:25:17] local.INFO: Extracted packet for processing {"connection_id":158556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a3"} 
[2026-08-19 02:25:17] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457493985280001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:25:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787086181000,"timestamp_ms":1787086181000,"timestamp_seconds":1787086181,"priority":1,"record_length":96,"hex_timestamp":"000001a016a31288"} 
[2026-08-19 02:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:25: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-08-19 02:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:25:17] 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-08-19 02:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457493985280001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457493985280001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:25:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:25:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:25:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457493985280001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":158556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:25:17] local.INFO: GPS data processed {"connection_id":158556,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:25:17] local.INFO: Acknowledgment sent {"connection_id":158556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:26:01] local.INFO: TCP Data received {"connection_id":157652,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:26:01] local.INFO: Processing buffer {"connection_id":157652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:26:01] local.INFO: IMEI packet received {"connection_id":157652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":157652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:26:06] local.INFO: TCP Data received {"connection_id":157652,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:26:06] local.INFO: Processing buffer {"connection_id":157652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:26:06] local.INFO: IMEI packet received {"connection_id":157652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":157652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:26:06] local.INFO: TCP Data received {"connection_id":157652,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:26:06] local.INFO: Processing buffer {"connection_id":157652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:26:06] local.INFO: Packet analysis {"connection_id":157652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a7"} 
[2026-08-19 02:26:06] local.INFO: Extracted packet for processing {"connection_id":157652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a7"} 
[2026-08-19 02:26:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494062336001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:26:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787086482000,"timestamp_ms":1787086482000,"timestamp_seconds":1787086482,"priority":1,"record_length":96,"hex_timestamp":"000001a016a7aa50"} 
[2026-08-19 02:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494062336001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494062336001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:26:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:26:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494062336001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":157652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:26:06] local.INFO: GPS data processed {"connection_id":157652,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:26:06] local.INFO: Acknowledgment sent {"connection_id":157652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:26:38] local.INFO: TCP Data received {"connection_id":157652,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:26:38] local.INFO: Processing buffer {"connection_id":157652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:26:38] local.INFO: Packet analysis {"connection_id":157652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a7"} 
[2026-08-19 02:26:38] local.INFO: Extracted packet for processing {"connection_id":157652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a7"} 
[2026-08-19 02:26:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494062336001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:26:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787086482000,"timestamp_ms":1787086482000,"timestamp_seconds":1787086482,"priority":1,"record_length":96,"hex_timestamp":"000001a016a7aa50"} 
[2026-08-19 02:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494062336001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494062336001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:26:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:26:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494062336001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":157652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:26:38] local.INFO: GPS data processed {"connection_id":157652,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:26:38] local.INFO: Acknowledgment sent {"connection_id":157652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:27:01] local.INFO: TCP Data received {"connection_id":157290,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:27:01] local.INFO: Processing buffer {"connection_id":157290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:27:01] local.INFO: IMEI packet received {"connection_id":157290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":157290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:27:06] local.INFO: TCP Data received {"connection_id":157290,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:27:06] local.INFO: Processing buffer {"connection_id":157290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:27:06] local.INFO: IMEI packet received {"connection_id":157290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":157290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:27:08] local.INFO: TCP Data received {"connection_id":157290,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:27:08] local.INFO: Processing buffer {"connection_id":157290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:27:08] local.INFO: Packet analysis {"connection_id":157290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a7"} 
[2026-08-19 02:27:08] local.INFO: Extracted packet for processing {"connection_id":157290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a7"} 
[2026-08-19 02:27:08] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494062336001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:27:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787086482000,"timestamp_ms":1787086482000,"timestamp_seconds":1787086482,"priority":1,"record_length":96,"hex_timestamp":"000001a016a7aa50"} 
[2026-08-19 02:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":157290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":157290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":157290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494062336001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494062336001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:27:08] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:27:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:27:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494062336001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":157290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:27:08] local.INFO: GPS data processed {"connection_id":157290,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:27:08] local.INFO: Acknowledgment sent {"connection_id":157290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:27:39] local.INFO: TCP Data received {"connection_id":157290,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:27:39] local.INFO: Processing buffer {"connection_id":157290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:27:39] local.INFO: Packet analysis {"connection_id":157290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a7"} 
[2026-08-19 02:27:39] local.INFO: Extracted packet for processing {"connection_id":157290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a7"} 
[2026-08-19 02:27:39] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494062336001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:27:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787086482000,"timestamp_ms":1787086482000,"timestamp_seconds":1787086482,"priority":1,"record_length":96,"hex_timestamp":"000001a016a7aa50"} 
[2026-08-19 02:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:27: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-08-19 02:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494062336001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494062336001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:27:39] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:27:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:27:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494062336001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":157290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:27:39] local.INFO: GPS data processed {"connection_id":157290,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:27:39] local.INFO: Acknowledgment sent {"connection_id":157290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:28:00] local.INFO: TCP Data received {"connection_id":157291,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:28:00] local.INFO: Processing buffer {"connection_id":157291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:28:00] local.INFO: IMEI packet received {"connection_id":157291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":157291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:28:06] local.INFO: TCP Data received {"connection_id":157291,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:28:06] local.INFO: Processing buffer {"connection_id":157291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:28:06] local.INFO: IMEI packet received {"connection_id":157291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":157291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:28:06] local.INFO: TCP Data received {"connection_id":157291,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:28:06] local.INFO: Processing buffer {"connection_id":157291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:28:06] local.INFO: Packet analysis {"connection_id":157291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a7"} 
[2026-08-19 02:28:06] local.INFO: Extracted packet for processing {"connection_id":157291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a7"} 
[2026-08-19 02:28:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494062336001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:28:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787086482000,"timestamp_ms":1787086482000,"timestamp_seconds":1787086482,"priority":1,"record_length":96,"hex_timestamp":"000001a016a7aa50"} 
[2026-08-19 02:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494062336001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494062336001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:28:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:28:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494062336001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":157291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:28:06] local.INFO: GPS data processed {"connection_id":157291,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:28:06] local.INFO: Acknowledgment sent {"connection_id":157291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:28:38] local.INFO: TCP Data received {"connection_id":157291,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:28:38] local.INFO: Processing buffer {"connection_id":157291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:28:38] local.INFO: Packet analysis {"connection_id":157291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a7"} 
[2026-08-19 02:28:38] local.INFO: Extracted packet for processing {"connection_id":157291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a7"} 
[2026-08-19 02:28:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494062336001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:28:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787086482000,"timestamp_ms":1787086482000,"timestamp_seconds":1787086482,"priority":1,"record_length":96,"hex_timestamp":"000001a016a7aa50"} 
[2026-08-19 02:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494062336001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494062336001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:28:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:28:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:28:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494062336001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":157291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:28:38] local.INFO: GPS data processed {"connection_id":157291,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:28:38] local.INFO: Acknowledgment sent {"connection_id":157291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:29:06] local.INFO: TCP Data received {"connection_id":157653,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:29:06] local.INFO: Processing buffer {"connection_id":157653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:29:06] local.INFO: IMEI packet received {"connection_id":157653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":157653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:29:11] local.INFO: TCP Data received {"connection_id":157653,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:29:11] local.INFO: Processing buffer {"connection_id":157653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:29:11] local.INFO: IMEI packet received {"connection_id":157653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":157653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:29:11] local.INFO: TCP Data received {"connection_id":157653,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:29:11] local.INFO: Processing buffer {"connection_id":157653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:29:11] local.INFO: Packet analysis {"connection_id":157653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a7"} 
[2026-08-19 02:29:11] local.INFO: Extracted packet for processing {"connection_id":157653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a7"} 
[2026-08-19 02:29:11] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494062336001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787086482000,"timestamp_ms":1787086482000,"timestamp_seconds":1787086482,"priority":1,"record_length":96,"hex_timestamp":"000001a016a7aa50"} 
[2026-08-19 02:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:29: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-08-19 02:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494062336001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494062336001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:29:11] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494062336001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":157653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:29:11] local.INFO: GPS data processed {"connection_id":157653,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:29:11] local.INFO: Acknowledgment sent {"connection_id":157653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:29:16] local.INFO: TCP Data received {"connection_id":157653,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:29:16] local.INFO: Processing buffer {"connection_id":157653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:29:16] local.INFO: Packet analysis {"connection_id":157653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a7"} 
[2026-08-19 02:29:16] local.INFO: Extracted packet for processing {"connection_id":157653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a7"} 
[2026-08-19 02:29:16] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494062336001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:29:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787086482000,"timestamp_ms":1787086482000,"timestamp_seconds":1787086482,"priority":1,"record_length":96,"hex_timestamp":"000001a016a7aa50"} 
[2026-08-19 02:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:29: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-08-19 02: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:29:16] 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-08-19 02: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-08-19 02:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494062336001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494062336001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:29:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:29:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:29:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494062336001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":157653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:29:16] local.INFO: GPS data processed {"connection_id":157653,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:29:16] local.INFO: Acknowledgment sent {"connection_id":157653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:30:01] local.INFO: TCP Data received {"connection_id":157292,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:30:01] local.INFO: Processing buffer {"connection_id":157292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:30:01] local.INFO: IMEI packet received {"connection_id":157292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":157292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:30:06] local.INFO: TCP Data received {"connection_id":157292,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:30:06] local.INFO: Processing buffer {"connection_id":157292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:30:06] local.INFO: IMEI packet received {"connection_id":157292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":157292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:30:06] local.INFO: TCP Data received {"connection_id":157292,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:30:06] local.INFO: Processing buffer {"connection_id":157292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016a7aa50012ce45d00072415a0000e007d2b..."} 
[2026-08-19 02:30:06] local.INFO: Packet analysis {"connection_id":157292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016a7"} 
[2026-08-19 02:30:06] local.INFO: Extracted packet for processing {"connection_id":157292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016a7"} 
[2026-08-19 02:30:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":43,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494062336001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:30:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787086482000,"timestamp_ms":1787086482000,"timestamp_seconds":1787086482,"priority":1,"record_length":96,"hex_timestamp":"000001a016a7aa50"} 
[2026-08-19 02:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494062336001,"66":25549,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494062336001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:30:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:30:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494062336001,"power":25549,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":157292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:30:06] local.INFO: GPS data processed {"connection_id":157292,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:30:06] local.INFO: Acknowledgment sent {"connection_id":157292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:30:37] local.INFO: TCP Data received {"connection_id":157292,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:30:37] local.INFO: Processing buffer {"connection_id":157292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:30:37] local.INFO: Packet analysis {"connection_id":157292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ac"} 
[2026-08-19 02:30:37] local.INFO: Extracted packet for processing {"connection_id":157292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ac"} 
[2026-08-19 02:30:37] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494139392001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:30:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787086783000,"timestamp_ms":1787086783000,"timestamp_seconds":1787086783,"priority":1,"record_length":96,"hex_timestamp":"000001a016ac4218"} 
[2026-08-19 02:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 02:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494139392001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494139392001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:30:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:30:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494139392001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":157292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:30:37] local.INFO: GPS data processed {"connection_id":157292,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:30:37] local.INFO: Acknowledgment sent {"connection_id":157292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:31:00] local.INFO: TCP Data received {"connection_id":157654,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:31:00] local.INFO: Processing buffer {"connection_id":157654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:31:00] local.INFO: IMEI packet received {"connection_id":157654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":157654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:31:06] local.INFO: TCP Data received {"connection_id":157654,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:31:06] local.INFO: Processing buffer {"connection_id":157654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:31:06] local.INFO: IMEI packet received {"connection_id":157654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":157654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:31:06] local.INFO: TCP Data received {"connection_id":157654,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:31:06] local.INFO: Processing buffer {"connection_id":157654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:31:06] local.INFO: Packet analysis {"connection_id":157654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ac"} 
[2026-08-19 02:31:06] local.INFO: Extracted packet for processing {"connection_id":157654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ac"} 
[2026-08-19 02:31:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494139392001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:31:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787086783000,"timestamp_ms":1787086783000,"timestamp_seconds":1787086783,"priority":1,"record_length":96,"hex_timestamp":"000001a016ac4218"} 
[2026-08-19 02:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 02:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494139392001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494139392001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:31:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:31:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494139392001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":157654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:31:06] local.INFO: GPS data processed {"connection_id":157654,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:31:06] local.INFO: Acknowledgment sent {"connection_id":157654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:31:39] local.INFO: TCP Data received {"connection_id":157654,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:31:39] local.INFO: Processing buffer {"connection_id":157654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:31:39] local.INFO: Packet analysis {"connection_id":157654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ac"} 
[2026-08-19 02:31:39] local.INFO: Extracted packet for processing {"connection_id":157654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ac"} 
[2026-08-19 02:31:39] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494139392001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:31:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787086783000,"timestamp_ms":1787086783000,"timestamp_seconds":1787086783,"priority":1,"record_length":96,"hex_timestamp":"000001a016ac4218"} 
[2026-08-19 02:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 02:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494139392001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494139392001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:31:39] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:31:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:31:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494139392001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":157654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:31:39] local.INFO: GPS data processed {"connection_id":157654,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:31:39] local.INFO: Acknowledgment sent {"connection_id":157654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:32:00] local.INFO: TCP Data received {"connection_id":157293,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:32:00] local.INFO: Processing buffer {"connection_id":157293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:32:00] local.INFO: IMEI packet received {"connection_id":157293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":157293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:32:06] local.INFO: TCP Data received {"connection_id":157293,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:32:06] local.INFO: Processing buffer {"connection_id":157293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:32:06] local.INFO: IMEI packet received {"connection_id":157293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":157293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:32:07] local.INFO: TCP Data received {"connection_id":157293,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:32:07] local.INFO: Processing buffer {"connection_id":157293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:32:07] local.INFO: Packet analysis {"connection_id":157293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ac"} 
[2026-08-19 02:32:07] local.INFO: Extracted packet for processing {"connection_id":157293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ac"} 
[2026-08-19 02:32:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494139392001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:32:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787086783000,"timestamp_ms":1787086783000,"timestamp_seconds":1787086783,"priority":1,"record_length":96,"hex_timestamp":"000001a016ac4218"} 
[2026-08-19 02:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:32: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-08-19 02:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 02:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494139392001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494139392001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:32:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:32:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494139392001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":157293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:32:07] local.INFO: GPS data processed {"connection_id":157293,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:32:07] local.INFO: Acknowledgment sent {"connection_id":157293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:32:38] local.INFO: TCP Data received {"connection_id":157293,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:32:38] local.INFO: Processing buffer {"connection_id":157293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:32:38] local.INFO: Packet analysis {"connection_id":157293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ac"} 
[2026-08-19 02:32:38] local.INFO: Extracted packet for processing {"connection_id":157293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ac"} 
[2026-08-19 02:32:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494139392001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:32:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787086783000,"timestamp_ms":1787086783000,"timestamp_seconds":1787086783,"priority":1,"record_length":96,"hex_timestamp":"000001a016ac4218"} 
[2026-08-19 02:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 02:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494139392001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494139392001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:32:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:32:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:32:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494139392001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":157293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:32:38] local.INFO: GPS data processed {"connection_id":157293,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:32:38] local.INFO: Acknowledgment sent {"connection_id":157293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:33:06] local.INFO: TCP Data received {"connection_id":157655,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:33:06] local.INFO: Processing buffer {"connection_id":157655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:33:06] local.INFO: IMEI packet received {"connection_id":157655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":157655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:33:11] local.INFO: TCP Data received {"connection_id":157655,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:33:11] local.INFO: Processing buffer {"connection_id":157655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:33:11] local.INFO: IMEI packet received {"connection_id":157655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":157655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:33:11] local.INFO: TCP Data received {"connection_id":157655,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:33:11] local.INFO: Processing buffer {"connection_id":157655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:33:11] local.INFO: Packet analysis {"connection_id":157655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ac"} 
[2026-08-19 02:33:11] local.INFO: Extracted packet for processing {"connection_id":157655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ac"} 
[2026-08-19 02:33:11] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494139392001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787086783000,"timestamp_ms":1787086783000,"timestamp_seconds":1787086783,"priority":1,"record_length":96,"hex_timestamp":"000001a016ac4218"} 
[2026-08-19 02:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:33: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-08-19 02:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 02:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494139392001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494139392001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:33:11] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:33:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494139392001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":157655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:33:11] local.INFO: GPS data processed {"connection_id":157655,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:33:11] local.INFO: Acknowledgment sent {"connection_id":157655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:33:16] local.INFO: TCP Data received {"connection_id":157655,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:33:16] local.INFO: Processing buffer {"connection_id":157655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:33:16] local.INFO: Packet analysis {"connection_id":157655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ac"} 
[2026-08-19 02:33:16] local.INFO: Extracted packet for processing {"connection_id":157655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ac"} 
[2026-08-19 02:33:16] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494139392001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:33:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787086783000,"timestamp_ms":1787086783000,"timestamp_seconds":1787086783,"priority":1,"record_length":96,"hex_timestamp":"000001a016ac4218"} 
[2026-08-19 02:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:33: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-08-19 02:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 02:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494139392001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494139392001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:33:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:33:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:33:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494139392001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":157655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:33:16] local.INFO: GPS data processed {"connection_id":157655,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:33:16] local.INFO: Acknowledgment sent {"connection_id":157655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:34:01] local.INFO: TCP Data received {"connection_id":159840,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:34:01] local.INFO: Processing buffer {"connection_id":159840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:34:01] local.INFO: IMEI packet received {"connection_id":159840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":159840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:34:06] local.INFO: TCP Data received {"connection_id":159840,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:34:06] local.INFO: Processing buffer {"connection_id":159840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:34:06] local.INFO: IMEI packet received {"connection_id":159840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":159840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:34:07] local.INFO: TCP Data received {"connection_id":159840,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:34:07] local.INFO: Processing buffer {"connection_id":159840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:34:07] local.INFO: Packet analysis {"connection_id":159840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ac"} 
[2026-08-19 02:34:07] local.INFO: Extracted packet for processing {"connection_id":159840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ac"} 
[2026-08-19 02:34:07] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494139392001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:34:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787086783000,"timestamp_ms":1787086783000,"timestamp_seconds":1787086783,"priority":1,"record_length":96,"hex_timestamp":"000001a016ac4218"} 
[2026-08-19 02:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:34: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-08-19 02:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 02:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494139392001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494139392001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:34:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:34:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:34:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494139392001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":159840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:34:07] local.INFO: GPS data processed {"connection_id":159840,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:34:07] local.INFO: Acknowledgment sent {"connection_id":159840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:34:38] local.INFO: TCP Data received {"connection_id":159840,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:34:38] local.INFO: Processing buffer {"connection_id":159840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016ac4218012ce45d00072415a0000e007d2d..."} 
[2026-08-19 02:34:38] local.INFO: Packet analysis {"connection_id":159840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ac"} 
[2026-08-19 02:34:38] local.INFO: Extracted packet for processing {"connection_id":159840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ac"} 
[2026-08-19 02:34:38] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":45,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494139392001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:34:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787086783000,"timestamp_ms":1787086783000,"timestamp_seconds":1787086783,"priority":1,"record_length":96,"hex_timestamp":"000001a016ac4218"} 
[2026-08-19 02:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 02:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494139392001,"66":25593,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494139392001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:34:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:34:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:34:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494139392001,"power":25593,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":159840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:34:38] local.INFO: GPS data processed {"connection_id":159840,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:34:38] local.INFO: Acknowledgment sent {"connection_id":159840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:35:00] local.INFO: TCP Data received {"connection_id":159841,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:35:00] local.INFO: Processing buffer {"connection_id":159841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:35:00] local.INFO: IMEI packet received {"connection_id":159841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":159841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:35:05] local.INFO: TCP Data received {"connection_id":159841,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:35:05] local.INFO: Processing buffer {"connection_id":159841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:35:05] local.INFO: IMEI packet received {"connection_id":159841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":159841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:35:06] local.INFO: TCP Data received {"connection_id":159841,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b03da0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b03da0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:35:06] local.INFO: Processing buffer {"connection_id":159841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016b03da0012ce45d00072415a0000e007d2a..."} 
[2026-08-19 02:35:06] local.INFO: Packet analysis {"connection_id":159841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b0"} 
[2026-08-19 02:35:06] local.INFO: Extracted packet for processing {"connection_id":159841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b0"} 
[2026-08-19 02:35:06] local.INFO: GPS Element Parsed {"raw_longitude":753163520,"raw_latitude":119805344,"longitude_deg":75.316352,"latitude_deg":11.9805344,"altitude":14,"angle":125,"satellites":42,"speed":0,"hex_longitude":"2ce45d00","hex_latitude":"072415a0","is_valid_coordinates":true} 
[2026-08-19 02:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494216448001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:35:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787087044000,"timestamp_ms":1787087044000,"timestamp_seconds":1787087044,"priority":1,"record_length":96,"hex_timestamp":"000001a016b03da0"} 
[2026-08-19 02:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 02:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 02:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494216448001,"66":25582,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494216448001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:35:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:35:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494216448001,"power":25582,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":159841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:35:06] local.INFO: GPS data processed {"connection_id":159841,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:35:06] local.INFO: Acknowledgment sent {"connection_id":159841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:35:37] local.INFO: TCP Data received {"connection_id":159841,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b09f48012ce45a40072415d8000e007d27..."} 
[2026-08-19 02:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b09f48012ce45a40072415d8000e007d27..."} 
[2026-08-19 02:35:37] local.INFO: Processing buffer {"connection_id":159841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016b09f48012ce45a40072415d8000e007d27..."} 
[2026-08-19 02:35:37] local.INFO: Packet analysis {"connection_id":159841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b0"} 
[2026-08-19 02:35:37] local.INFO: Extracted packet for processing {"connection_id":159841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b0"} 
[2026-08-19 02:35:37] local.INFO: GPS Element Parsed {"raw_longitude":753162816,"raw_latitude":119805400,"longitude_deg":75.3162816,"latitude_deg":11.98054,"altitude":14,"angle":125,"satellites":39,"speed":0,"hex_longitude":"2ce45a40","hex_latitude":"072415d8","is_valid_coordinates":true} 
[2026-08-19 02:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494283264001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:35:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1991435429557723136,"note":"Value kept but may cause issues"} 
[2026-08-19 02:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787087069000,"timestamp_ms":1787087069000,"timestamp_seconds":1787087069,"priority":1,"record_length":96,"hex_timestamp":"000001a016b09f48"} 
[2026-08-19 02:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 02:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 02:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494283264001,"66":27234,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1991435429557723136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494283264001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:35:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:35:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1991435429557723136,"description":"Unknown IO ID 44"} 
[2026-08-19 02:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494283264001,"power":27234,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1991435429557723136}} 
[2026-08-19 02:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":159841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:35:37] local.INFO: GPS data processed {"connection_id":159841,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:35:37] local.INFO: Acknowledgment sent {"connection_id":159841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:36:00] local.INFO: TCP Data received {"connection_id":158557,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:36:00] local.INFO: Processing buffer {"connection_id":158557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:36:00] local.INFO: IMEI packet received {"connection_id":158557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":158557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:36:05] local.INFO: TCP Data received {"connection_id":158557,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:36:05] local.INFO: Processing buffer {"connection_id":158557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:36:05] local.INFO: IMEI packet received {"connection_id":158557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":158557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:36:06] local.INFO: TCP Data received {"connection_id":158557,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b0f150012ce45a40072415d8000e007d27..."} 
[2026-08-19 02:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b0f150012ce45a40072415d8000e007d27..."} 
[2026-08-19 02:36:06] local.INFO: Processing buffer {"connection_id":158557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016b0f150012ce45a40072415d8000e007d27..."} 
[2026-08-19 02:36:06] local.INFO: Packet analysis {"connection_id":158557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b0"} 
[2026-08-19 02:36:06] local.INFO: Extracted packet for processing {"connection_id":158557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b0"} 
[2026-08-19 02:36:06] local.INFO: GPS Element Parsed {"raw_longitude":753162816,"raw_latitude":119805400,"longitude_deg":75.3162816,"latitude_deg":11.98054,"altitude":14,"angle":125,"satellites":39,"speed":0,"hex_longitude":"2ce45a40","hex_latitude":"072415d8","is_valid_coordinates":true} 
[2026-08-19 02:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494289664001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384863987805716480,"note":"Value kept but may cause issues"} 
[2026-08-19 02:36:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992209485743663104,"note":"Value kept but may cause issues"} 
[2026-08-19 02:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787087090000,"timestamp_ms":1787087090000,"timestamp_seconds":1787087090,"priority":1,"record_length":96,"hex_timestamp":"000001a016b0f150"} 
[2026-08-19 02:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:36: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-08-19 02:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 02:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494289664001,"66":27397,"8":206,"83":43008,"24":0,"16":384863987805716480,"44":-1992209485743663104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,44]} 
[2026-08-19 02:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494289664001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:36:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 02:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384863987805716480,"km_value":384863987805716.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:36:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992209485743663104,"description":"Unknown IO ID 44"} 
[2026-08-19 02:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494289664001,"power":27397,"unknown_8":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1992209485743663104}} 
[2026-08-19 02:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":158557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:36:06] local.INFO: GPS data processed {"connection_id":158557,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:36:06] local.INFO: Acknowledgment sent {"connection_id":158557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:36:37] local.INFO: TCP Data received {"connection_id":158557,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b10ca8012ce45ac007241310000b00c32a..."} 
[2026-08-19 02:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b10ca8012ce45ac007241310000b00c32a..."} 
[2026-08-19 02:36:37] local.INFO: Processing buffer {"connection_id":158557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016b10ca8012ce45ac007241310000b00c32a..."} 
[2026-08-19 02:36:37] local.INFO: Packet analysis {"connection_id":158557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b1"} 
[2026-08-19 02:36:37] local.INFO: Extracted packet for processing {"connection_id":158557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b1"} 
[2026-08-19 02:36:37] local.INFO: GPS Element Parsed {"raw_longitude":753162944,"raw_latitude":119804688,"longitude_deg":75.3162944,"latitude_deg":11.9804688,"altitude":11,"angle":195,"satellites":42,"speed":2,"hex_longitude":"2ce45ac0","hex_latitude":"07241310","is_valid_coordinates":true} 
[2026-08-19 02:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494295040001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384864022165454848,"note":"Value kept but may cause issues"} 
[2026-08-19 02:36:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992209485743663104,"note":"Value kept but may cause issues"} 
[2026-08-19 02:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787087097000,"timestamp_ms":1787087097000,"timestamp_seconds":1787087097,"priority":1,"record_length":96,"hex_timestamp":"000001a016b10ca8"} 
[2026-08-19 02:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 02:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 02:36:37] 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-08-19 02:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494295040001,"66":27332,"89":206,"83":43008,"24":2,"16":384864022165454848,"44":-1992209485743663104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-19 02:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494295040001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:36:37] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-19 02:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384864022165454848,"km_value":384864022165454.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:36:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992209485743663104,"description":"Unknown IO ID 44"} 
[2026-08-19 02:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494295040001,"power":27332,"unknown_89":206,"unknown_83":43008,"ignition":2,"odometer":null,"unknown_44":-1992209485743663104}} 
[2026-08-19 02:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":158557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:36:37] local.INFO: GPS data processed {"connection_id":158557,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:36:37] local.INFO: Acknowledgment sent {"connection_id":158557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:37:05] local.INFO: TCP Data received {"connection_id":159842,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:37:05] local.INFO: Processing buffer {"connection_id":159842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:37:05] local.INFO: IMEI packet received {"connection_id":159842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":159842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:37:06] local.INFO: TCP Data received {"connection_id":159842,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:37:06] local.INFO: Processing buffer {"connection_id":159842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:37:06] local.INFO: IMEI packet received {"connection_id":159842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":159842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:37:07] local.INFO: TCP Data received {"connection_id":159842,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b133b8012ce45a4007241248000a009429..."} 
[2026-08-19 02:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b133b8012ce45a4007241248000a009429..."} 
[2026-08-19 02:37:07] local.INFO: Processing buffer {"connection_id":159842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016b133b8012ce45a4007241248000a009429..."} 
[2026-08-19 02:37:07] local.INFO: Packet analysis {"connection_id":159842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b1"} 
[2026-08-19 02:37:07] local.INFO: Extracted packet for processing {"connection_id":159842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b1"} 
[2026-08-19 02:37:07] local.INFO: GPS Element Parsed {"raw_longitude":753162816,"raw_latitude":119804488,"longitude_deg":75.3162816,"latitude_deg":11.9804488,"altitude":10,"angle":148,"satellites":41,"speed":5,"hex_longitude":"2ce45a40","hex_latitude":"07241248","is_valid_coordinates":true} 
[2026-08-19 02:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494296832001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384864035050356736,"note":"Value kept but may cause issues"} 
[2026-08-19 02:37:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992068748255490048,"note":"Value kept but may cause issues"} 
[2026-08-19 02:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787087107000,"timestamp_ms":1787087107000,"timestamp_seconds":1787087107,"priority":1,"record_length":96,"hex_timestamp":"000001a016b133b8"} 
[2026-08-19 02:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 02:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 02:37:07] 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-08-19 02:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494296832001,"66":27300,"89":206,"83":43008,"24":5,"16":384864035050356736,"44":-1992068748255490048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-08-19 02:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494296832001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:37:07] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-19 02:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384864035050356736,"km_value":384864035050356.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:37:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992068748255490048,"description":"Unknown IO ID 44"} 
[2026-08-19 02:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494296832001,"power":27300,"unknown_89":206,"unknown_83":43008,"ignition":5,"odometer":null,"unknown_44":-1992068748255490048}} 
[2026-08-19 02:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":159842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:37:07] local.INFO: GPS data processed {"connection_id":159842,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:37:07] local.INFO: Acknowledgment sent {"connection_id":159842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:37:38] local.INFO: TCP Data received {"connection_id":159842,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b29b18012ce5340007232cb80006008d27..."} 
[2026-08-19 02:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b29b18012ce5340007232cb80006008d27..."} 
[2026-08-19 02:37:38] local.INFO: Processing buffer {"connection_id":159842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016b29b18012ce5340007232cb80006008d27..."} 
[2026-08-19 02:37:38] local.INFO: Packet analysis {"connection_id":159842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b2"} 
[2026-08-19 02:37:38] local.INFO: Extracted packet for processing {"connection_id":159842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b2"} 
[2026-08-19 02:37:38] local.INFO: GPS Element Parsed {"raw_longitude":753218560,"raw_latitude":119745720,"longitude_deg":75.321856,"latitude_deg":11.974572,"altitude":6,"angle":141,"satellites":39,"speed":37,"hex_longitude":"2ce53400","hex_latitude":"07232cb8","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494320384001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384867969240399872,"note":"Value kept but may cause issues"} 
[2026-08-19 02:37:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937462602786996224,"note":"Value kept but may cause issues"} 
[2026-08-19 02:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787087199000,"timestamp_ms":1787087199000,"timestamp_seconds":1787087199,"priority":1,"record_length":96,"hex_timestamp":"000001a016b29b18"} 
[2026-08-19 02:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 02:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494320384001,"66":27365,"73":206,"83":43008,"24":37,"16":384867969240399872,"44":-1937462602786996224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-08-19 02:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494320384001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:37:38] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-19 02:37:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384867969240399872,"km_value":384867969240399.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:37:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937462602786996224,"description":"Unknown IO ID 44"} 
[2026-08-19 02:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494320384001,"power":27365,"unknown_73":206,"unknown_83":43008,"ignition":37,"odometer":null,"unknown_44":-1937462602786996224}} 
[2026-08-19 02:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":159842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:37:38] local.INFO: GPS data processed {"connection_id":159842,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:37:38] local.INFO: Acknowledgment sent {"connection_id":159842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:38:00] local.INFO: TCP Data received {"connection_id":157294,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:38:00] local.INFO: Processing buffer {"connection_id":157294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:38:00] local.INFO: IMEI packet received {"connection_id":157294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":157294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:38:01] local.INFO: TCP Data received {"connection_id":157294,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:38:01] local.INFO: Processing buffer {"connection_id":157294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:38:01] local.INFO: IMEI packet received {"connection_id":157294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":157294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:38:05] local.INFO: TCP Data received {"connection_id":157294,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:38:05] local.INFO: Processing buffer {"connection_id":157294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:38:05] local.INFO: IMEI packet received {"connection_id":157294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":157294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:38:06] local.INFO: TCP Data received {"connection_id":157294,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b2be40012ce548c0072310500005009228..."} 
[2026-08-19 02:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b2be40012ce548c0072310500005009228..."} 
[2026-08-19 02:38:06] local.INFO: Processing buffer {"connection_id":157294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016b2be40012ce548c0072310500005009228..."} 
[2026-08-19 02:38:06] local.INFO: Packet analysis {"connection_id":157294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b2"} 
[2026-08-19 02:38:06] local.INFO: Extracted packet for processing {"connection_id":157294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b2"} 
[2026-08-19 02:38:06] local.INFO: GPS Element Parsed {"raw_longitude":753223872,"raw_latitude":119738448,"longitude_deg":75.3223872,"latitude_deg":11.9738448,"altitude":5,"angle":146,"satellites":40,"speed":41,"hex_longitude":"2ce548c0","hex_latitude":"07231050","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494322944001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384868403032096768,"note":"Value kept but may cause issues"} 
[2026-08-19 02:38:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1930918309580195840,"note":"Value kept but may cause issues"} 
[2026-08-19 02:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787087208000,"timestamp_ms":1787087208000,"timestamp_seconds":1787087208,"priority":1,"record_length":96,"hex_timestamp":"000001a016b2be40"} 
[2026-08-19 02:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 02:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494322944001,"66":27332,"73":206,"83":43008,"24":41,"16":384868403032096768,"44":-1930918309580195840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-08-19 02:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494322944001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:38:06] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-19 02:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384868403032096768,"km_value":384868403032096.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:38:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1930918309580195840,"description":"Unknown IO ID 44"} 
[2026-08-19 02:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494322944001,"power":27332,"unknown_73":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-1930918309580195840}} 
[2026-08-19 02:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":157294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:38:06] local.INFO: GPS data processed {"connection_id":157294,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:38:06] local.INFO: Acknowledgment sent {"connection_id":157294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:38:37] local.INFO: TCP Data received {"connection_id":157294,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b2e168012ce55bc00722ef480005009927..."} 
[2026-08-19 02:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b2e168012ce55bc00722ef480005009927..."} 
[2026-08-19 02:38:37] local.INFO: Processing buffer {"connection_id":157294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016b2e168012ce55bc00722ef480005009927..."} 
[2026-08-19 02:38:37] local.INFO: Packet analysis {"connection_id":157294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b2"} 
[2026-08-19 02:38:37] local.INFO: Extracted packet for processing {"connection_id":157294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b2"} 
[2026-08-19 02:38:37] local.INFO: GPS Element Parsed {"raw_longitude":753228736,"raw_latitude":119729992,"longitude_deg":75.3228736,"latitude_deg":11.9729992,"altitude":5,"angle":153,"satellites":39,"speed":44,"hex_longitude":"2ce55bc0","hex_latitude":"0722ef48","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494325248001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384868875478499328,"note":"Value kept but may cause issues"} 
[2026-08-19 02:38:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1925077703815311360,"note":"Value kept but may cause issues"} 
[2026-08-19 02:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787087217000,"timestamp_ms":1787087217000,"timestamp_seconds":1787087217,"priority":1,"record_length":96,"hex_timestamp":"000001a016b2e168"} 
[2026-08-19 02:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 02:38:37] 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-08-19 02: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-08-19 02:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494325248001,"66":27300,"73":206,"83":43008,"24":44,"16":384868875478499328,"44":-1925077703815311360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-08-19 02:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494325248001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:38:37] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-19 02:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384868875478499328,"km_value":384868875478499.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:38:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1925077703815311360,"description":"Unknown IO ID 44"} 
[2026-08-19 02:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494325248001,"power":27300,"unknown_73":206,"unknown_83":43008,"ignition":44,"odometer":null,"unknown_44":-1925077703815311360}} 
[2026-08-19 02:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":157294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:38:37] local.INFO: GPS data processed {"connection_id":157294,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:38:37] local.INFO: Acknowledgment sent {"connection_id":157294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:39:00] local.INFO: TCP Data received {"connection_id":157295,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:39:00] local.INFO: Processing buffer {"connection_id":157295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:39:00] local.INFO: IMEI packet received {"connection_id":157295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":157295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:39:05] local.INFO: TCP Data received {"connection_id":157295,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:39:05] local.INFO: Processing buffer {"connection_id":157295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:39:05] local.INFO: IMEI packet received {"connection_id":157295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":157295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:39:21] local.INFO: TCP Data received {"connection_id":157295,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b300a8012ce56bc00722cf300005009727..."} 
[2026-08-19 02:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b300a8012ce56bc00722cf300005009727..."} 
[2026-08-19 02:39:21] local.INFO: Processing buffer {"connection_id":157295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016b300a8012ce56bc00722cf300005009727..."} 
[2026-08-19 02:39:21] local.INFO: Packet analysis {"connection_id":157295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b3"} 
[2026-08-19 02:39:21] local.INFO: Extracted packet for processing {"connection_id":157295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b3"} 
[2026-08-19 02:39:21] local.INFO: GPS Element Parsed {"raw_longitude":753232832,"raw_latitude":119721776,"longitude_deg":75.3232832,"latitude_deg":11.9721776,"altitude":5,"angle":151,"satellites":39,"speed":45,"hex_longitude":"2ce56bc0","hex_latitude":"0722cf30","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494327552001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384869317860130816,"note":"Value kept but may cause issues"} 
[2026-08-19 02:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1919729679259973632,"note":"Value kept but may cause issues"} 
[2026-08-19 02:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787087225000,"timestamp_ms":1787087225000,"timestamp_seconds":1787087225,"priority":1,"record_length":96,"hex_timestamp":"000001a016b300a8"} 
[2026-08-19 02:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:39: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-08-19 02: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 02:39:21] 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-08-19 02: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-08-19 02:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":157295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":157295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":157295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494327552001,"66":27343,"73":206,"83":43008,"24":45,"16":384869317860130816,"44":-1919729679259973632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-08-19 02:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494327552001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:39:21] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-19 02:39:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384869317860130816,"km_value":384869317860130.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1919729679259973632,"description":"Unknown IO ID 44"} 
[2026-08-19 02:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494327552001,"power":27343,"unknown_73":206,"unknown_83":43008,"ignition":45,"odometer":null,"unknown_44":-1919729679259973632}} 
[2026-08-19 02:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":157295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:39:21] local.INFO: GPS data processed {"connection_id":157295,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:39:21] local.INFO: Acknowledgment sent {"connection_id":157295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:40:10] local.INFO: TCP Data received {"connection_id":159843,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:40:10] local.INFO: Processing buffer {"connection_id":159843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:40:10] local.INFO: IMEI packet received {"connection_id":159843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":159843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:40:11] local.INFO: TCP Data received {"connection_id":159843,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:40:11] local.INFO: Processing buffer {"connection_id":159843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:40:11] local.INFO: IMEI packet received {"connection_id":159843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":159843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:40:16] local.INFO: TCP Data received {"connection_id":159843,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:40:16] local.INFO: Processing buffer {"connection_id":159843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:40:16] local.INFO: IMEI packet received {"connection_id":159843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":159843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:40:16] local.INFO: TCP Data received {"connection_id":159843,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b4a688012ce69100072150f80008009328..."} 
[2026-08-19 02:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b4a688012ce69100072150f80008009328..."} 
[2026-08-19 02:40:16] local.INFO: Processing buffer {"connection_id":159843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016b4a688012ce69100072150f80008009328..."} 
[2026-08-19 02:40:16] local.INFO: Packet analysis {"connection_id":159843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b4"} 
[2026-08-19 02:40:16] local.INFO: Extracted packet for processing {"connection_id":159843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b4"} 
[2026-08-19 02:40:16] local.INFO: GPS Element Parsed {"raw_longitude":753307904,"raw_latitude":119623928,"longitude_deg":75.3307904,"latitude_deg":11.9623928,"altitude":8,"angle":147,"satellites":40,"speed":47,"hex_longitude":"2ce69100","hex_latitude":"072150f8","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494355200001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384875257799901184,"note":"Value kept but may cause issues"} 
[2026-08-19 02:40:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1838664885992472576,"note":"Value kept but may cause issues"} 
[2026-08-19 02:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787087333000,"timestamp_ms":1787087333000,"timestamp_seconds":1787087333,"priority":1,"record_length":96,"hex_timestamp":"000001a016b4a688"} 
[2026-08-19 02:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:40: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-08-19 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 02:40:16] 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-08-19 02: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-08-19 02:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494355200001,"66":27332,"67":206,"83":43008,"24":47,"16":384875257799901184,"44":-1838664885992472576},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-08-19 02:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494355200001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:40:16] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 02:40:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384875257799901184,"km_value":384875257799901.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:40:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1838664885992472576,"description":"Unknown IO ID 44"} 
[2026-08-19 02:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494355200001,"power":27332,"unknown_67":206,"unknown_83":43008,"ignition":47,"odometer":null,"unknown_44":-1838664885992472576}} 
[2026-08-19 02:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":159843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:40:16] local.INFO: GPS data processed {"connection_id":159843,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:40:16] local.INFO: Acknowledgment sent {"connection_id":159843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:41:00] local.INFO: TCP Data received {"connection_id":158558,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:41:00] local.INFO: Processing buffer {"connection_id":158558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:41:00] local.INFO: IMEI packet received {"connection_id":158558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":158558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:41:02] local.INFO: TCP Data received {"connection_id":158558,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 02:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158558,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 02:41:02] local.INFO: Processing buffer {"connection_id":158558,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 02:41:02] local.INFO: IMEI packet received {"connection_id":158558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":158558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:41:06] local.INFO: TCP Data received {"connection_id":158558,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:41:06] local.INFO: Processing buffer {"connection_id":158558,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 02:41:06] local.INFO: IMEI packet received {"connection_id":158558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":158558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:41:07] local.INFO: TCP Data received {"connection_id":158558,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b5e2f0012ce7564007201aa80006009f2a..."} 
[2026-08-19 02:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b5e2f0012ce7564007201aa80006009f2a..."} 
[2026-08-19 02:41:07] local.INFO: Processing buffer {"connection_id":158558,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a016..."} 
[2026-08-19 02:41:07] local.INFO: IMEI packet received {"connection_id":158558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":158558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:41:10] local.INFO: TCP Data received {"connection_id":158558,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b60618012ce76640071ff8b80007009329..."} 
[2026-08-19 02:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b60618012ce76640071ff8b80007009329..."} 
[2026-08-19 02:41:10] local.INFO: Processing buffer {"connection_id":158558,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a016b5e2f0012ce7564007201aa80006009f2a..."} 
[2026-08-19 02:41:10] local.INFO: Packet analysis {"connection_id":158558,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a016b5"} 
[2026-08-19 02:41:10] local.INFO: Extracted packet for processing {"connection_id":158558,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b5"} 
[2026-08-19 02:41:10] local.INFO: GPS Element Parsed {"raw_longitude":753358400,"raw_latitude":119544488,"longitude_deg":75.33584,"latitude_deg":11.9544488,"altitude":6,"angle":159,"satellites":42,"speed":43,"hex_longitude":"2ce75640","hex_latitude":"07201aa8","is_valid_coordinates":true} 
[2026-08-19 02:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494375680001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384879827645104128,"note":"Value kept but may cause issues"} 
[2026-08-19 02:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1780540303321612288,"note":"Value kept but may cause issues"} 
[2026-08-19 02:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787087414000,"timestamp_ms":1787087414000,"timestamp_seconds":1787087414,"priority":1,"record_length":96,"hex_timestamp":"000001a016b5e2f0"} 
[2026-08-19 02:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:41: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-08-19 02:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 02:41:10] 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-08-19 02:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494375680001,"66":27267,"145":206,"83":43008,"24":43,"16":384879827645104128,"44":-1780540303321612288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-08-19 02:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494375680001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:41:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-19 02:41:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384879827645104128,"km_value":384879827645104.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1780540303321612288,"description":"Unknown IO ID 44"} 
[2026-08-19 02:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494375680001,"power":27267,"unknown_145":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-1780540303321612288}} 
[2026-08-19 02:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":158558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:41:10] local.INFO: GPS data processed {"connection_id":158558,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:41:10] local.INFO: Acknowledgment sent {"connection_id":158558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:41:10] local.INFO: Packet analysis {"connection_id":158558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b6"} 
[2026-08-19 02:41:10] local.INFO: Extracted packet for processing {"connection_id":158558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b6"} 
[2026-08-19 02:41:10] local.INFO: GPS Element Parsed {"raw_longitude":753362496,"raw_latitude":119535800,"longitude_deg":75.3362496,"latitude_deg":11.95358,"altitude":7,"angle":147,"satellites":41,"speed":40,"hex_longitude":"2ce76640","hex_latitude":"071ff8b8","is_valid_coordinates":true} 
[2026-08-19 02:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494377984001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384880291501572096,"note":"Value kept but may cause issues"} 
[2026-08-19 02:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1777162603603515392,"note":"Value kept but may cause issues"} 
[2026-08-19 02:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787087423000,"timestamp_ms":1787087423000,"timestamp_seconds":1787087423,"priority":1,"record_length":96,"hex_timestamp":"000001a016b60618"} 
[2026-08-19 02:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:41: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-08-19 02:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 02:41:10] 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-08-19 02:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494377984001,"66":27267,"145":206,"83":43008,"24":40,"16":384880291501572096,"44":-1777162603603515392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-08-19 02:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494377984001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:41:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-19 02:41:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384880291501572096,"km_value":384880291501572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1777162603603515392,"description":"Unknown IO ID 44"} 
[2026-08-19 02:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494377984001,"power":27267,"unknown_145":206,"unknown_83":43008,"ignition":40,"odometer":null,"unknown_44":-1777162603603515392}} 
[2026-08-19 02:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":158558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:41:10] local.INFO: GPS data processed {"connection_id":158558,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:41:10] local.INFO: Acknowledgment sent {"connection_id":158558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:41:11] local.INFO: TCP Data received {"connection_id":158558,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b60618012ce76640071ff8b80007009329..."} 
[2026-08-19 02:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b60618012ce76640071ff8b80007009329..."} 
[2026-08-19 02:41:11] local.INFO: Processing buffer {"connection_id":158558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016b60618012ce76640071ff8b80007009329..."} 
[2026-08-19 02:41:11] local.INFO: Packet analysis {"connection_id":158558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b6"} 
[2026-08-19 02:41:11] local.INFO: Extracted packet for processing {"connection_id":158558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b6"} 
[2026-08-19 02:41:11] local.INFO: GPS Element Parsed {"raw_longitude":753362496,"raw_latitude":119535800,"longitude_deg":75.3362496,"latitude_deg":11.95358,"altitude":7,"angle":147,"satellites":41,"speed":40,"hex_longitude":"2ce76640","hex_latitude":"071ff8b8","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494380288001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384880291501572096,"note":"Value kept but may cause issues"} 
[2026-08-19 02:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1772659003978369024,"note":"Value kept but may cause issues"} 
[2026-08-19 02:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787087423000,"timestamp_ms":1787087423000,"timestamp_seconds":1787087423,"priority":1,"record_length":96,"hex_timestamp":"000001a016b60618"} 
[2026-08-19 02:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 02:41:11] 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-08-19 02: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-08-19 02:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494380288001,"66":27267,"145":206,"83":43008,"24":40,"16":384880291501572096,"44":-1772659003978369024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-08-19 02:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494380288001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:41:11] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-19 02:41:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384880291501572096,"km_value":384880291501572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1772659003978369024,"description":"Unknown IO ID 44"} 
[2026-08-19 02:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494380288001,"power":27267,"unknown_145":206,"unknown_83":43008,"ignition":40,"odometer":null,"unknown_44":-1772659003978369024}} 
[2026-08-19 02:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":158558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:41:11] local.INFO: GPS data processed {"connection_id":158558,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:41:11] local.INFO: Acknowledgment sent {"connection_id":158558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:41:42] local.INFO: TCP Data received {"connection_id":158558,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b62940012ce77a80071fda200008009129..."} 
[2026-08-19 02:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b62940012ce77a80071fda200008009129..."} 
[2026-08-19 02:41:42] local.INFO: Processing buffer {"connection_id":158558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016b62940012ce77a80071fda200008009129..."} 
[2026-08-19 02:41:42] local.INFO: Packet analysis {"connection_id":158558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b6"} 
[2026-08-19 02:41:42] local.INFO: Extracted packet for processing {"connection_id":158558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b6"} 
[2026-08-19 02:41:42] local.INFO: GPS Element Parsed {"raw_longitude":753367680,"raw_latitude":119527968,"longitude_deg":75.336768,"latitude_deg":11.9527968,"altitude":8,"angle":145,"satellites":41,"speed":41,"hex_longitude":"2ce77a80","hex_latitude":"071fda20","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494380288001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384880746768105472,"note":"Value kept but may cause issues"} 
[2026-08-19 02:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1772659003978369024,"note":"Value kept but may cause issues"} 
[2026-08-19 02:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787087432000,"timestamp_ms":1787087432000,"timestamp_seconds":1787087432,"priority":1,"record_length":96,"hex_timestamp":"000001a016b62940"} 
[2026-08-19 02:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 02:41:42] 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-08-19 02: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-08-19 02:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494380288001,"66":27343,"145":206,"83":43008,"24":41,"16":384880746768105472,"44":-1772659003978369024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-08-19 02:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494380288001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:41:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-19 02:41:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384880746768105472,"km_value":384880746768105.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1772659003978369024,"description":"Unknown IO ID 44"} 
[2026-08-19 02:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494380288001,"power":27343,"unknown_145":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-1772659003978369024}} 
[2026-08-19 02:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":158558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:41:42] local.INFO: GPS data processed {"connection_id":158558,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:41:42] local.INFO: Acknowledgment sent {"connection_id":158558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:42:01] local.INFO: TCP Data received {"connection_id":157656,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:42:01] local.INFO: Processing buffer {"connection_id":157656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:42:01] local.INFO: IMEI packet received {"connection_id":157656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":157656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:42:06] local.INFO: TCP Data received {"connection_id":157656,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:42:06] local.INFO: Processing buffer {"connection_id":157656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:42:06] local.INFO: IMEI packet received {"connection_id":157656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":157656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:42:21] local.INFO: TCP Data received {"connection_id":157656,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:42:21] local.INFO: Processing buffer {"connection_id":157656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:42:21] local.INFO: IMEI packet received {"connection_id":157656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":157656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:42:22] local.INFO: TCP Data received {"connection_id":157656,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b64c68012ce78f00071fbab80007009829..."} 
[2026-08-19 02:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b64c68012ce78f00071fbab80007009829..."} 
[2026-08-19 02:42:22] local.INFO: Processing buffer {"connection_id":157656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016b64c68012ce78f00071fbab80007009829..."} 
[2026-08-19 02:42:22] local.INFO: Packet analysis {"connection_id":157656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b6"} 
[2026-08-19 02:42:22] local.INFO: Extracted packet for processing {"connection_id":157656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b6"} 
[2026-08-19 02:42:22] local.INFO: GPS Element Parsed {"raw_longitude":753372928,"raw_latitude":119519928,"longitude_deg":75.3372928,"latitude_deg":11.9519928,"altitude":7,"angle":152,"satellites":41,"speed":42,"hex_longitude":"2ce78f00","hex_latitude":"071fbab8","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494382592001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384881210624573440,"note":"Value kept but may cause issues"} 
[2026-08-19 02:42:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1766959135701983232,"note":"Value kept but may cause issues"} 
[2026-08-19 02:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787087441000,"timestamp_ms":1787087441000,"timestamp_seconds":1787087441,"priority":1,"record_length":96,"hex_timestamp":"000001a016b64c68"} 
[2026-08-19 02:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:42: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-08-19 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 02:42:22] 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-08-19 02: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-08-19 02:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":157656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":157656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":157656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494382592001,"66":27213,"144":206,"83":43008,"24":42,"16":384881210624573440,"44":-1766959135701983232},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-08-19 02:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494382592001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:42:22] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-19 02:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384881210624573440,"km_value":384881210624573.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:42:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1766959135701983232,"description":"Unknown IO ID 44"} 
[2026-08-19 02:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494382592001,"power":27213,"unknown_144":206,"unknown_83":43008,"ignition":42,"odometer":null,"unknown_44":-1766959135701983232}} 
[2026-08-19 02:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":157656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:42:22] local.INFO: GPS data processed {"connection_id":157656,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:42:22] local.INFO: Acknowledgment sent {"connection_id":157656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:42:22] local.INFO: TCP Data received {"connection_id":157656,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b66ba8012ce7a200071f9f100006008b28..."} 
[2026-08-19 02:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b66ba8012ce7a200071f9f100006008b28..."} 
[2026-08-19 02:42:22] local.INFO: Processing buffer {"connection_id":157656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016b66ba8012ce7a200071f9f100006008b28..."} 
[2026-08-19 02:42:22] local.INFO: Packet analysis {"connection_id":157656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b6"} 
[2026-08-19 02:42:22] local.INFO: Extracted packet for processing {"connection_id":157656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b6"} 
[2026-08-19 02:42:22] local.INFO: GPS Element Parsed {"raw_longitude":753377792,"raw_latitude":119512848,"longitude_deg":75.3377792,"latitude_deg":11.9512848,"altitude":6,"angle":139,"satellites":40,"speed":42,"hex_longitude":"2ce7a200","hex_latitude":"071f9f10","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494384896001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384881622941433856,"note":"Value kept but may cause issues"} 
[2026-08-19 02:42:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1761188898681473024,"note":"Value kept but may cause issues"} 
[2026-08-19 02:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787087449000,"timestamp_ms":1787087449000,"timestamp_seconds":1787087449,"priority":1,"record_length":96,"hex_timestamp":"000001a016b66ba8"} 
[2026-08-19 02:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:42: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-08-19 02: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 02:42:22] 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-08-19 02: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-08-19 02:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":157656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":157656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":157656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494384896001,"66":27223,"95":206,"83":43008,"24":42,"16":384881622941433856,"44":-1761188898681473024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-08-19 02:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494384896001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:42:22] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 02:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384881622941433856,"km_value":384881622941433.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:42:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1761188898681473024,"description":"Unknown IO ID 44"} 
[2026-08-19 02:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494384896001,"power":27223,"unknown_95":206,"unknown_83":43008,"ignition":42,"odometer":null,"unknown_44":-1761188898681473024}} 
[2026-08-19 02:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":157656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:42:22] local.INFO: GPS data processed {"connection_id":157656,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:42:22] local.INFO: Acknowledgment sent {"connection_id":157656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:42:59] local.INFO: TCP Data received {"connection_id":157296,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:42:59] local.INFO: Processing buffer {"connection_id":157296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:42:59] local.INFO: IMEI packet received {"connection_id":157296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":157296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:43:00] local.INFO: TCP Data received {"connection_id":157296,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:43:00] local.INFO: Processing buffer {"connection_id":157296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:43:00] local.INFO: IMEI packet received {"connection_id":157296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":157296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:43:06] local.INFO: TCP Data received {"connection_id":157296,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:43:06] local.INFO: Processing buffer {"connection_id":157296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:43:06] local.INFO: IMEI packet received {"connection_id":157296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":157296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:43:06] local.INFO: TCP Data received {"connection_id":157296,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b68700012ce7b7c0071f8b180006007e29..."} 
[2026-08-19 02:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b68700012ce7b7c0071f8b180006007e29..."} 
[2026-08-19 02:43:06] local.INFO: Processing buffer {"connection_id":157296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016b68700012ce7b7c0071f8b180006007e29..."} 
[2026-08-19 02:43:06] local.INFO: Packet analysis {"connection_id":157296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b6"} 
[2026-08-19 02:43:06] local.INFO: Extracted packet for processing {"connection_id":157296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b6"} 
[2026-08-19 02:43:06] local.INFO: GPS Element Parsed {"raw_longitude":753383360,"raw_latitude":119507736,"longitude_deg":75.338336,"latitude_deg":11.9507736,"altitude":6,"angle":126,"satellites":41,"speed":43,"hex_longitude":"2ce7b7c0","hex_latitude":"071f8b18","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494386944001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384881983718686720,"note":"Value kept but may cause issues"} 
[2026-08-19 02:43:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1755840874125783040,"note":"Value kept but may cause issues"} 
[2026-08-19 02:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787087456000,"timestamp_ms":1787087456000,"timestamp_seconds":1787087456,"priority":1,"record_length":96,"hex_timestamp":"000001a016b68700"} 
[2026-08-19 02:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 02: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-19 02:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 02: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-08-19 02:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494386944001,"66":27321,"95":206,"83":43008,"24":43,"16":384881983718686720,"44":-1755840874125783040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-08-19 02:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494386944001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:43:06] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 02:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384881983718686720,"km_value":384881983718686.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:43:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1755840874125783040,"description":"Unknown IO ID 44"} 
[2026-08-19 02:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494386944001,"power":27321,"unknown_95":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-1755840874125783040}} 
[2026-08-19 02:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":157296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:43:06] local.INFO: GPS data processed {"connection_id":157296,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:43:06] local.INFO: Acknowledgment sent {"connection_id":157296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:43:37] local.INFO: TCP Data received {"connection_id":157296,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b81570012ce89800071e33a80008007a28..."} 
[2026-08-19 02:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b81570012ce89800071e33a80008007a28..."} 
[2026-08-19 02:43:37] local.INFO: Processing buffer {"connection_id":157296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016b81570012ce89800071e33a80008007a28..."} 
[2026-08-19 02:43:37] local.INFO: Packet analysis {"connection_id":157296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b8"} 
[2026-08-19 02:43:37] local.INFO: Extracted packet for processing {"connection_id":157296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b8"} 
[2026-08-19 02:43:37] local.INFO: GPS Element Parsed {"raw_longitude":753440768,"raw_latitude":119419816,"longitude_deg":75.3440768,"latitude_deg":11.9419816,"altitude":8,"angle":122,"satellites":40,"speed":47,"hex_longitude":"2ce89800","hex_latitude":"071e33a8","is_valid_coordinates":true} 
[2026-08-19 02:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494414080001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384887137679441920,"note":"Value kept but may cause issues"} 
[2026-08-19 02:43:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1689764623366141952,"note":"Value kept but may cause issues"} 
[2026-08-19 02:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787087558000,"timestamp_ms":1787087558000,"timestamp_seconds":1787087558,"priority":1,"record_length":96,"hex_timestamp":"000001a016b81570"} 
[2026-08-19 02:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 02:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 02:43:37] 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-08-19 02:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494414080001,"66":27376,"111":206,"83":43008,"24":47,"16":384887137679441920,"44":-1689764623366141952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-08-19 02:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494414080001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:43:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 02:43:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384887137679441920,"km_value":384887137679441.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:43:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1689764623366141952,"description":"Unknown IO ID 44"} 
[2026-08-19 02:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494414080001,"power":27376,"unknown_111":206,"unknown_83":43008,"ignition":47,"odometer":null,"unknown_44":-1689764623366141952}} 
[2026-08-19 02:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":157296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:43:37] local.INFO: GPS data processed {"connection_id":157296,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:43:37] local.INFO: Acknowledgment sent {"connection_id":157296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:44:05] local.INFO: TCP Data received {"connection_id":158559,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:44:05] local.INFO: Processing buffer {"connection_id":158559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:44:05] local.INFO: IMEI packet received {"connection_id":158559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":158559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:44:10] local.INFO: TCP Data received {"connection_id":158559,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:44:10] local.INFO: Processing buffer {"connection_id":158559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:44:10] local.INFO: IMEI packet received {"connection_id":158559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":158559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:44:11] local.INFO: TCP Data received {"connection_id":158559,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b834b0012ce8b700071e1e28000e007d29..."} 
[2026-08-19 02:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b834b0012ce8b700071e1e28000e007d29..."} 
[2026-08-19 02:44:11] local.INFO: Processing buffer {"connection_id":158559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016b834b0012ce8b700071e1e28000e007d29..."} 
[2026-08-19 02:44:11] local.INFO: Packet analysis {"connection_id":158559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b8"} 
[2026-08-19 02:44:11] local.INFO: Extracted packet for processing {"connection_id":158559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b8"} 
[2026-08-19 02:44:11] local.INFO: GPS Element Parsed {"raw_longitude":753448704,"raw_latitude":119414312,"longitude_deg":75.3448704,"latitude_deg":11.9414312,"altitude":14,"angle":125,"satellites":41,"speed":44,"hex_longitude":"2ce8b700","hex_latitude":"071e1e28","is_valid_coordinates":true} 
[2026-08-19 02:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494414848001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384887601535909888,"note":"Value kept but may cause issues"} 
[2026-08-19 02:44:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1686598029878777856,"note":"Value kept but may cause issues"} 
[2026-08-19 02:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787087566000,"timestamp_ms":1787087566000,"timestamp_seconds":1787087566,"priority":1,"record_length":96,"hex_timestamp":"000001a016b834b0"} 
[2026-08-19 02:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 02:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 02:44:11] 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-08-19 02:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494414848001,"66":27365,"111":206,"83":43008,"24":44,"16":384887601535909888,"44":-1686598029878777856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-08-19 02:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494414848001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:44:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 02:44:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384887601535909888,"km_value":384887601535909.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:44:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1686598029878777856,"description":"Unknown IO ID 44"} 
[2026-08-19 02:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494414848001,"power":27365,"unknown_111":206,"unknown_83":43008,"ignition":44,"odometer":null,"unknown_44":-1686598029878777856}} 
[2026-08-19 02:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":158559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:44:11] local.INFO: GPS data processed {"connection_id":158559,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:44:11] local.INFO: Acknowledgment sent {"connection_id":158559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:44:42] local.INFO: TCP Data received {"connection_id":158559,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016b857d8012ce8d600071e0ba0001000762b..."} 
[2026-08-19 02:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016b857d8012ce8d600071e0ba0001000762b..."} 
[2026-08-19 02:44:42] local.INFO: Processing buffer {"connection_id":158559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016b857d8012ce8d600071e0ba0001000762b..."} 
[2026-08-19 02:44:42] local.INFO: Packet analysis {"connection_id":158559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016b8"} 
[2026-08-19 02:44:42] local.INFO: Extracted packet for processing {"connection_id":158559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016b8"} 
[2026-08-19 02:44:42] local.INFO: GPS Element Parsed {"raw_longitude":753456640,"raw_latitude":119409568,"longitude_deg":75.345664,"latitude_deg":11.9409568,"altitude":16,"angle":118,"satellites":43,"speed":37,"hex_longitude":"2ce8d600","hex_latitude":"071e0ba0","is_valid_coordinates":true} 
[2026-08-19 02:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494416896001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384888039622574080,"note":"Value kept but may cause issues"} 
[2026-08-19 02:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1677872305602156544,"note":"Value kept but may cause issues"} 
[2026-08-19 02:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787087575000,"timestamp_ms":1787087575000,"timestamp_seconds":1787087575,"priority":1,"record_length":96,"hex_timestamp":"000001a016b857d8"} 
[2026-08-19 02:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 02:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 02:44:42] 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-08-19 02:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494416896001,"66":27267,"111":206,"83":43008,"24":37,"16":384888039622574080,"44":-1677872305602156544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-08-19 02:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494416896001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:44:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 02:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-08-19 02:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384888039622574080,"km_value":384888039622574.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:44:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1677872305602156544,"description":"Unknown IO ID 44"} 
[2026-08-19 02:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494416896001,"power":27267,"unknown_111":206,"unknown_83":43008,"ignition":37,"odometer":null,"unknown_44":-1677872305602156544}} 
[2026-08-19 02:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":158559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:44:42] local.INFO: GPS data processed {"connection_id":158559,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:44:42] local.INFO: Acknowledgment sent {"connection_id":158559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:45:37] local.INFO: TCP Data received {"connection_id":157657,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:45:37] local.INFO: Processing buffer {"connection_id":157657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:45:37] local.INFO: IMEI packet received {"connection_id":157657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":157657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:45:39] local.INFO: TCP Data received {"connection_id":157657,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:45:39] local.INFO: Processing buffer {"connection_id":157657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:45:39] local.INFO: IMEI packet received {"connection_id":157657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":157657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:45:40] local.INFO: TCP Data received {"connection_id":157657,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:45:40] local.INFO: Processing buffer {"connection_id":157657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:45:40] local.INFO: IMEI packet received {"connection_id":157657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":157657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:46:20] local.INFO: TCP Data received {"connection_id":157658,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:46:20] local.INFO: Processing buffer {"connection_id":157658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:46:20] local.INFO: IMEI packet received {"connection_id":157658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":157658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:51:22] local.INFO: TCP Data received {"connection_id":158563,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:51:22] local.INFO: Processing buffer {"connection_id":158563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:51:22] local.INFO: IMEI packet received {"connection_id":158563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":158563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:51:23] local.INFO: TCP Data received {"connection_id":158563,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016beb8a8012ceb5800071a1aa8001b007528..."} 
[2026-08-19 02:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016beb8a8012ceb5800071a1aa8001b007528..."} 
[2026-08-19 02:51:23] local.INFO: Processing buffer {"connection_id":158563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016beb8a8012ceb5800071a1aa8001b007528..."} 
[2026-08-19 02:51:23] local.INFO: Packet analysis {"connection_id":158563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016be"} 
[2026-08-19 02:51:23] local.INFO: Extracted packet for processing {"connection_id":158563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016be"} 
[2026-08-19 02:51:23] local.INFO: GPS Element Parsed {"raw_longitude":753620992,"raw_latitude":119151272,"longitude_deg":75.3620992,"latitude_deg":11.9151272,"altitude":27,"angle":117,"satellites":40,"speed":28,"hex_longitude":"2ceb5800","hex_latitude":"071a1aa8","is_valid_coordinates":true} 
[2026-08-19 02:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494523136001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384904974678622208,"note":"Value kept but may cause issues"} 
[2026-08-19 02:51:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1497728320573612032,"note":"Value kept but may cause issues"} 
[2026-08-19 02:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787087993000,"timestamp_ms":1787087993000,"timestamp_seconds":1787087993,"priority":1,"record_length":96,"hex_timestamp":"000001a016beb8a8"} 
[2026-08-19 02:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:51: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-08-19 02:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 02:51:23] 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-08-19 02:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494523136001,"66":27376,"135":206,"83":41216,"24":28,"16":384904974678622208,"44":-1497728320573612032},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-08-19 02:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494523136001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:51:23] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-19 02:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-19 02:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384904974678622208,"km_value":384904974678622.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:51:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1497728320573612032,"description":"Unknown IO ID 44"} 
[2026-08-19 02:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494523136001,"power":27376,"unknown_135":206,"unknown_83":41216,"ignition":28,"odometer":null,"unknown_44":-1497728320573612032}} 
[2026-08-19 02:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":158563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:51:23] local.INFO: GPS data processed {"connection_id":158563,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:51:23] local.INFO: Acknowledgment sent {"connection_id":158563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:52:00] local.INFO: TCP Data received {"connection_id":157660,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:52:00] local.INFO: Processing buffer {"connection_id":157660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:52:00] local.INFO: IMEI packet received {"connection_id":157660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":157660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:52:06] local.INFO: TCP Data received {"connection_id":157660,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:52:06] local.INFO: Processing buffer {"connection_id":157660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:52:06] local.INFO: IMEI packet received {"connection_id":157660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":157660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:52:07] local.INFO: TCP Data received {"connection_id":157660,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016bfce00012cebed8007193170001e007728..."} 
[2026-08-19 02:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016bfce00012cebed8007193170001e007728..."} 
[2026-08-19 02:52:07] local.INFO: Processing buffer {"connection_id":157660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016bfce00012cebed8007193170001e007728..."} 
[2026-08-19 02:52:07] local.INFO: Packet analysis {"connection_id":157660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016bf"} 
[2026-08-19 02:52:07] local.INFO: Extracted packet for processing {"connection_id":157660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016bf"} 
[2026-08-19 02:52:07] local.INFO: GPS Element Parsed {"raw_longitude":753659264,"raw_latitude":119091568,"longitude_deg":75.3659264,"latitude_deg":11.9091568,"altitude":30,"angle":119,"satellites":40,"speed":40,"hex_longitude":"2cebed80","hex_latitude":"07193170","is_valid_coordinates":true} 
[2026-08-19 02:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494543616001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384908445012197376,"note":"Value kept but may cause issues"} 
[2026-08-19 02:52:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1449103518362654720,"note":"Value kept but may cause issues"} 
[2026-08-19 02:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787088064000,"timestamp_ms":1787088064000,"timestamp_seconds":1787088064,"priority":1,"record_length":96,"hex_timestamp":"000001a016bfce00"} 
[2026-08-19 02:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:52: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-08-19 02:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 02:52:07] 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-08-19 02:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494543616001,"66":27321,"138":206,"83":41216,"24":40,"16":384908445012197376,"44":-1449103518362654720},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-08-19 02:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494543616001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:52:07] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-19 02:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-19 02:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384908445012197376,"km_value":384908445012197.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:52:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1449103518362654720,"description":"Unknown IO ID 44"} 
[2026-08-19 02:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494543616001,"power":27321,"unknown_138":206,"unknown_83":41216,"ignition":40,"odometer":null,"unknown_44":-1449103518362654720}} 
[2026-08-19 02:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":157660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:52:07] local.INFO: GPS data processed {"connection_id":157660,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:52:07] local.INFO: Acknowledgment sent {"connection_id":157660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:52:38] local.INFO: TCP Data received {"connection_id":157660,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a016bfed40012cec0a40071922a8001e008628..."} 
[2026-08-19 02:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016bfed40012cec0a40071922a8001e008628..."} 
[2026-08-19 02:52:38] local.INFO: Processing buffer {"connection_id":157660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016bfed40012cec0a40071922a8001e008628..."} 
[2026-08-19 02:52:38] local.INFO: Packet analysis {"connection_id":157660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016bf"} 
[2026-08-19 02:52:38] local.INFO: Extracted packet for processing {"connection_id":157660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016bf"} 
[2026-08-19 02:52:38] local.INFO: GPS Element Parsed {"raw_longitude":753666624,"raw_latitude":119087784,"longitude_deg":75.3666624,"latitude_deg":11.9087784,"altitude":30,"angle":134,"satellites":40,"speed":41,"hex_longitude":"2cec0a40","hex_latitude":"071922a8","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494544384001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384908844444155904,"note":"Value kept but may cause issues"} 
[2026-08-19 02:52:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1446359137340264448,"note":"Value kept but may cause issues"} 
[2026-08-19 02:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787088072000,"timestamp_ms":1787088072000,"timestamp_seconds":1787088072,"priority":1,"record_length":96,"hex_timestamp":"000001a016bfed40"} 
[2026-08-19 02:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:52: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-08-19 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 02:52:38] 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-08-19 02: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-08-19 02:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494544384001,"66":27332,"138":206,"83":41216,"24":41,"16":384908844444155904,"44":-1446359137340264448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-08-19 02:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494544384001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:52:38] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-08-19 02:52:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-19 02:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384908844444155904,"km_value":384908844444155.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:52:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1446359137340264448,"description":"Unknown IO ID 44"} 
[2026-08-19 02:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494544384001,"power":27332,"unknown_138":206,"unknown_83":41216,"ignition":41,"odometer":null,"unknown_44":-1446359137340264448}} 
[2026-08-19 02:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":157660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:52:38] local.INFO: GPS data processed {"connection_id":157660,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:52:38] local.INFO: Acknowledgment sent {"connection_id":157660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:53:36] local.INFO: TCP Data received {"connection_id":157661,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:53:36] local.INFO: Processing buffer {"connection_id":157661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:53:36] local.INFO: IMEI packet received {"connection_id":157661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":157661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:53:47] local.INFO: TCP Data received {"connection_id":157661,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:53:47] local.INFO: Processing buffer {"connection_id":157661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:53:47] local.INFO: IMEI packet received {"connection_id":157661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 02:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":157661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 02:54:04] local.INFO: TCP Data received {"connection_id":158564,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:54:04] local.INFO: Processing buffer {"connection_id":158564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:54:04] local.INFO: IMEI packet received {"connection_id":158564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":158564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:59:06] local.INFO: TCP Data received {"connection_id":157663,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:59:06] local.INFO: Processing buffer {"connection_id":157663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 02:59:06] local.INFO: IMEI packet received {"connection_id":157663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 02:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":157663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 02:59:07] local.INFO: TCP Data received {"connection_id":157663,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016c60ba8012ced5e000713eea8001b006829..."} 
[2026-08-19 02:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016c60ba8012ced5e000713eea8001b006829..."} 
[2026-08-19 02:59:07] local.INFO: Processing buffer {"connection_id":157663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016c60ba8012ced5e000713eea8001b006829..."} 
[2026-08-19 02:59:07] local.INFO: Packet analysis {"connection_id":157663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016c6"} 
[2026-08-19 02:59:07] local.INFO: Extracted packet for processing {"connection_id":157663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016c6"} 
[2026-08-19 02:59:07] local.INFO: GPS Element Parsed {"raw_longitude":753753600,"raw_latitude":118746792,"longitude_deg":75.37536,"latitude_deg":11.8746792,"altitude":27,"angle":104,"satellites":41,"speed":36,"hex_longitude":"2ced5e00","hex_latitude":"0713eea8","is_valid_coordinates":true} 
[2026-08-19 02:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 02:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494646528001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384926999270916096,"note":"Value kept but may cause issues"} 
[2026-08-19 02:59:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1352276126462355456,"note":"Value kept but may cause issues"} 
[2026-08-19 02:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787088473000,"timestamp_ms":1787088473000,"timestamp_seconds":1787088473,"priority":1,"record_length":96,"hex_timestamp":"000001a016c60ba8"} 
[2026-08-19 02:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 02:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 02:59:07] 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-08-19 02:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 02:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 02:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494646528001,"66":27245,"196":206,"83":41216,"24":36,"16":384926999270916096,"44":-1352276126462355456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-08-19 02:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494646528001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:59:07] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-19 02:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-19 02:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384926999270916096,"km_value":384926999270916.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:59:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1352276126462355456,"description":"Unknown IO ID 44"} 
[2026-08-19 02:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494646528001,"power":27245,"unknown_196":206,"unknown_83":41216,"ignition":36,"odometer":null,"unknown_44":-1352276126462355456}} 
[2026-08-19 02:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":157663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:59:07] local.INFO: GPS data processed {"connection_id":157663,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:59:07] local.INFO: Acknowledgment sent {"connection_id":157663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 02:59:39] local.INFO: TCP Data received {"connection_id":157663,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016c62ae8012ced7a000713e8f8001e005d26..."} 
[2026-08-19 02:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016c62ae8012ced7a000713e8f8001e005d26..."} 
[2026-08-19 02:59:39] local.INFO: Processing buffer {"connection_id":157663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016c62ae8012ced7a000713e8f8001e005d26..."} 
[2026-08-19 02:59:39] local.INFO: Packet analysis {"connection_id":157663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016c6"} 
[2026-08-19 02:59:39] local.INFO: Extracted packet for processing {"connection_id":157663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016c6"} 
[2026-08-19 02:59:39] local.INFO: GPS Element Parsed {"raw_longitude":753760768,"raw_latitude":118745336,"longitude_deg":75.3760768,"latitude_deg":11.8745336,"altitude":30,"angle":93,"satellites":38,"speed":33,"hex_longitude":"2ced7a00","hex_latitude":"0713e8f8","is_valid_coordinates":true} 
[2026-08-19 02: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-08-19 02:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494649088001,"note":"Value kept but may cause issues"} 
[2026-08-19 02:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384927347163267072,"note":"Value kept but may cause issues"} 
[2026-08-19 02:59:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1342635608510650368,"note":"Value kept but may cause issues"} 
[2026-08-19 02:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 02:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787088481000,"timestamp_ms":1787088481000,"timestamp_seconds":1787088481,"priority":1,"record_length":96,"hex_timestamp":"000001a016c62ae8"} 
[2026-08-19 02:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 02:59: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-08-19 02: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 02:59:39] 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-08-19 02: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-08-19 02:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 02:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 02:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 02:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 02:59:39] 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-08-19 02:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 02:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 02:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494649088001,"66":27321,"196":206,"83":41216,"24":33,"16":384927347163267072,"44":-1342635608510650368},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-08-19 02:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 02:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 02:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494649088001,"description":"Unknown IO ID 0"} 
[2026-08-19 02:59:39] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-19 02:59:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-19 02:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384927347163267072,"km_value":384927347163267.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 02:59:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1342635608510650368,"description":"Unknown IO ID 44"} 
[2026-08-19 02:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494649088001,"power":27321,"unknown_196":206,"unknown_83":41216,"ignition":33,"odometer":null,"unknown_44":-1342635608510650368}} 
[2026-08-19 02:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":157663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 02:59:39] local.INFO: GPS data processed {"connection_id":157663,"processed":1,"errors":0,"total":1} 
[2026-08-19 02:59:39] local.INFO: Acknowledgment sent {"connection_id":157663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:00:00] local.INFO: TCP Data received {"connection_id":157664,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:00:00] local.INFO: Processing buffer {"connection_id":157664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:00:00] local.INFO: IMEI packet received {"connection_id":157664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":157664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:00:02] local.INFO: TCP Data received {"connection_id":157664,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:00:02] local.INFO: Processing buffer {"connection_id":157664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:00:02] local.INFO: IMEI packet received {"connection_id":157664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":157664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:00:04] local.INFO: TCP Data received {"connection_id":157664,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:00:04] local.INFO: Processing buffer {"connection_id":157664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:00:04] local.INFO: IMEI packet received {"connection_id":157664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":157664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:00:05] local.INFO: TCP Data received {"connection_id":157664,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:00:05] local.INFO: Processing buffer {"connection_id":157664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:00:05] local.INFO: IMEI packet received {"connection_id":157664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":157664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:00:06] local.INFO: TCP Data received {"connection_id":157664,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016c655e0012ced9f000713e8880022005e28..."} 
[2026-08-19 03:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016c655e0012ced9f000713e8880022005e28..."} 
[2026-08-19 03:00:06] local.INFO: Processing buffer {"connection_id":157664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016c655e0012ced9f000713e8880022005e28..."} 
[2026-08-19 03:00:06] local.INFO: Packet analysis {"connection_id":157664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016c6"} 
[2026-08-19 03:00:06] local.INFO: Extracted packet for processing {"connection_id":157664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016c6"} 
[2026-08-19 03:00:06] local.INFO: GPS Element Parsed {"raw_longitude":753770240,"raw_latitude":118745224,"longitude_deg":75.377024,"latitude_deg":11.8745224,"altitude":34,"angle":94,"satellites":40,"speed":35,"hex_longitude":"2ced9f00","hex_latitude":"0713e888","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494651136001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384927798134833152,"note":"Value kept but may cause issues"} 
[2026-08-19 03:00:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1334754309163124736,"note":"Value kept but may cause issues"} 
[2026-08-19 03:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787088492000,"timestamp_ms":1787088492000,"timestamp_seconds":1787088492,"priority":1,"record_length":96,"hex_timestamp":"000001a016c655e0"} 
[2026-08-19 03:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:00: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-08-19 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 03:00:06] 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-08-19 03: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-08-19 03:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:00:06] 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-08-19 03:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494651136001,"66":27300,"196":206,"83":41216,"24":35,"16":384927798134833152,"44":-1334754309163124736},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-08-19 03:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494651136001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:00:06] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-19 03:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-19 03:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384927798134833152,"km_value":384927798134833.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:00:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1334754309163124736,"description":"Unknown IO ID 44"} 
[2026-08-19 03:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494651136001,"power":27300,"unknown_196":206,"unknown_83":41216,"ignition":35,"odometer":null,"unknown_44":-1334754309163124736}} 
[2026-08-19 03:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":157664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:00:06] local.INFO: GPS data processed {"connection_id":157664,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:00:06] local.INFO: Acknowledgment sent {"connection_id":157664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:00:21] local.INFO: TCP Data received {"connection_id":157664,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016c67cf0012cedc5400713e7000022005b28..."} 
[2026-08-19 03:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016c67cf0012cedc5400713e7000022005b28..."} 
[2026-08-19 03:00:21] local.INFO: Processing buffer {"connection_id":157664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016c67cf0012cedc5400713e7000022005b28..."} 
[2026-08-19 03:00:21] local.INFO: Packet analysis {"connection_id":157664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016c6"} 
[2026-08-19 03:00:21] local.INFO: Extracted packet for processing {"connection_id":157664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016c6"} 
[2026-08-19 03:00:21] local.INFO: GPS Element Parsed {"raw_longitude":753780032,"raw_latitude":118744832,"longitude_deg":75.3780032,"latitude_deg":11.8744832,"altitude":34,"angle":91,"satellites":40,"speed":40,"hex_longitude":"2cedc540","hex_latitude":"0713e700","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494653952001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384928261991301120,"note":"Value kept but may cause issues"} 
[2026-08-19 03:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1324339735024859136,"note":"Value kept but may cause issues"} 
[2026-08-19 03:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787088502000,"timestamp_ms":1787088502000,"timestamp_seconds":1787088502,"priority":1,"record_length":96,"hex_timestamp":"000001a016c67cf0"} 
[2026-08-19 03:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 03:00:21] 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-08-19 03: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-08-19 03:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":157664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":157664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":157664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:00: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-08-19 03:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494653952001,"66":27300,"194":206,"83":41216,"24":40,"16":384928261991301120,"44":-1324339735024859136},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-08-19 03:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494653952001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:00:21] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-19 03:00:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-08-19 03:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384928261991301120,"km_value":384928261991301.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1324339735024859136,"description":"Unknown IO ID 44"} 
[2026-08-19 03:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494653952001,"power":27300,"unknown_194":206,"unknown_83":41216,"ignition":40,"odometer":null,"unknown_44":-1324339735024859136}} 
[2026-08-19 03:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":157664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:00:21] local.INFO: GPS data processed {"connection_id":157664,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:00:21] local.INFO: Acknowledgment sent {"connection_id":157664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:00:58] local.INFO: TCP Data received {"connection_id":159847,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:00:58] local.INFO: Processing buffer {"connection_id":159847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:00:58] local.INFO: IMEI packet received {"connection_id":159847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":159847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:01:00] local.INFO: TCP Data received {"connection_id":159847,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:01:00] local.INFO: Processing buffer {"connection_id":159847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:01:00] local.INFO: IMEI packet received {"connection_id":159847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":159847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:01:01] local.INFO: TCP Data received {"connection_id":159847,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:01:01] local.INFO: Processing buffer {"connection_id":159847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:01:01] local.INFO: IMEI packet received {"connection_id":159847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":159847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:01:06] local.INFO: TCP Data received {"connection_id":159847,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:01:06] local.INFO: Processing buffer {"connection_id":159847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:01:06] local.INFO: IMEI packet received {"connection_id":159847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":159847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:01:09] local.INFO: TCP Data received {"connection_id":159847,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016c7f7d8012cef60400713d5300023005c29..."} 
[2026-08-19 03:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016c7f7d8012cef60400713d5300023005c29..."} 
[2026-08-19 03:01:09] local.INFO: Processing buffer {"connection_id":159847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016c7f7d8012cef60400713d5300023005c29..."} 
[2026-08-19 03:01:09] local.INFO: Packet analysis {"connection_id":159847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016c7"} 
[2026-08-19 03:01:09] local.INFO: Extracted packet for processing {"connection_id":159847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016c7"} 
[2026-08-19 03:01:09] local.INFO: GPS Element Parsed {"raw_longitude":753885248,"raw_latitude":118740272,"longitude_deg":75.3885248,"latitude_deg":11.8740272,"altitude":35,"angle":92,"satellites":41,"speed":44,"hex_longitude":"2cef6040","hex_latitude":"0713d530","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494679296001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384933282808070144,"note":"Value kept but may cause issues"} 
[2026-08-19 03:01:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1208090569644511232,"note":"Value kept but may cause issues"} 
[2026-08-19 03:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787088599000,"timestamp_ms":1787088599000,"timestamp_seconds":1787088599,"priority":1,"record_length":96,"hex_timestamp":"000001a016c7f7d8"} 
[2026-08-19 03:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:01: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-08-19 03: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 03:01:09] 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-08-19 03: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-08-19 03:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:01:09] 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-08-19 03:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494679296001,"66":27332,"180":206,"83":41472,"24":44,"16":384933282808070144,"44":-1208090569644511232},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-08-19 03:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494679296001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:01:09] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-19 03:01:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384933282808070144,"km_value":384933282808070.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:01:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1208090569644511232,"description":"Unknown IO ID 44"} 
[2026-08-19 03:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494679296001,"power":27332,"unknown_180":206,"unknown_83":41472,"ignition":44,"odometer":null,"unknown_44":-1208090569644511232}} 
[2026-08-19 03:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":159847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:01:09] local.INFO: GPS data processed {"connection_id":159847,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:01:09] local.INFO: Acknowledgment sent {"connection_id":159847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:01:44] local.INFO: TCP Data received {"connection_id":159847,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016c80778012cef71000713d3180025006927..."} 
[2026-08-19 03:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016c80778012cef71000713d3180025006927..."} 
[2026-08-19 03:01:44] local.INFO: Processing buffer {"connection_id":159847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016c80778012cef71000713d3180025006927..."} 
[2026-08-19 03:01:44] local.INFO: Packet analysis {"connection_id":159847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016c8"} 
[2026-08-19 03:01:44] local.INFO: Extracted packet for processing {"connection_id":159847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016c8"} 
[2026-08-19 03:01:44] local.INFO: GPS Element Parsed {"raw_longitude":753889536,"raw_latitude":118739736,"longitude_deg":75.3889536,"latitude_deg":11.8739736,"altitude":37,"angle":105,"satellites":39,"speed":40,"hex_longitude":"2cef7100","hex_latitude":"0713d318","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494681344001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384933484671533056,"note":"Value kept but may cause issues"} 
[2026-08-19 03:01:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1197887101738864640,"note":"Value kept but may cause issues"} 
[2026-08-19 03:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787088603000,"timestamp_ms":1787088603000,"timestamp_seconds":1787088603,"priority":1,"record_length":96,"hex_timestamp":"000001a016c80778"} 
[2026-08-19 03:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:01: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-08-19 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 03:01:44] 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-08-19 03:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494681344001,"66":27332,"180":206,"83":41472,"24":40,"16":384933484671533056,"44":-1197887101738864640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-08-19 03:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494681344001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:01:44] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-19 03:01:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384933484671533056,"km_value":384933484671533.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:01:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1197887101738864640,"description":"Unknown IO ID 44"} 
[2026-08-19 03:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494681344001,"power":27332,"unknown_180":206,"unknown_83":41472,"ignition":40,"odometer":null,"unknown_44":-1197887101738864640}} 
[2026-08-19 03:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":159847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:01:44] local.INFO: GPS data processed {"connection_id":159847,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:01:44] local.INFO: Acknowledgment sent {"connection_id":159847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:02:00] local.INFO: TCP Data received {"connection_id":157297,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:02:00] local.INFO: Processing buffer {"connection_id":157297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:02:00] local.INFO: IMEI packet received {"connection_id":157297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":157297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:02:06] local.INFO: TCP Data received {"connection_id":157297,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:02:06] local.INFO: Processing buffer {"connection_id":157297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:02:06] local.INFO: IMEI packet received {"connection_id":157297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":157297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:02:06] local.INFO: TCP Data received {"connection_id":157297,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016c8edf0012cf0520007136c400025006629..."} 
[2026-08-19 03:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016c8edf0012cf0520007136c400025006629..."} 
[2026-08-19 03:02:06] local.INFO: Processing buffer {"connection_id":157297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016c8edf0012cf0520007136c400025006629..."} 
[2026-08-19 03:02:06] local.INFO: Packet analysis {"connection_id":157297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016c8"} 
[2026-08-19 03:02:06] local.INFO: Extracted packet for processing {"connection_id":157297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016c8"} 
[2026-08-19 03:02:06] local.INFO: GPS Element Parsed {"raw_longitude":753947136,"raw_latitude":118713408,"longitude_deg":75.3947136,"latitude_deg":11.8713408,"altitude":37,"angle":102,"satellites":41,"speed":35,"hex_longitude":"2cf05200","hex_latitude":"07136c40","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494695424001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384936564163084288,"note":"Value kept but may cause issues"} 
[2026-08-19 03:02:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1137792194217486336,"note":"Value kept but may cause issues"} 
[2026-08-19 03:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787088662000,"timestamp_ms":1787088662000,"timestamp_seconds":1787088662,"priority":1,"record_length":96,"hex_timestamp":"000001a016c8edf0"} 
[2026-08-19 03:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:02: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-08-19 03:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 03:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:02:06] 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-08-19 03:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494695424001,"66":27267,"220":206,"83":41472,"24":35,"16":384936564163084288,"44":-1137792194217486336},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,83,24,16,44]} 
[2026-08-19 03:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494695424001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:02:06] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-19 03:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384936564163084288,"km_value":384936564163084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:02:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1137792194217486336,"description":"Unknown IO ID 44"} 
[2026-08-19 03:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494695424001,"power":27267,"unknown_220":206,"unknown_83":41472,"ignition":35,"odometer":null,"unknown_44":-1137792194217486336}} 
[2026-08-19 03:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":157297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:02:06] local.INFO: GPS data processed {"connection_id":157297,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:02:06] local.INFO: Acknowledgment sent {"connection_id":157297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:02:38] local.INFO: TCP Data received {"connection_id":157297,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016c90948012cf06b40071369780026005929..."} 
[2026-08-19 03:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016c90948012cf06b40071369780026005929..."} 
[2026-08-19 03:02:38] local.INFO: Processing buffer {"connection_id":157297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016c90948012cf06b40071369780026005929..."} 
[2026-08-19 03:02:38] local.INFO: Packet analysis {"connection_id":157297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016c9"} 
[2026-08-19 03:02:38] local.INFO: Extracted packet for processing {"connection_id":157297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016c9"} 
[2026-08-19 03:02:38] local.INFO: GPS Element Parsed {"raw_longitude":753953600,"raw_latitude":118712696,"longitude_deg":75.39536,"latitude_deg":11.8712696,"altitude":38,"angle":89,"satellites":41,"speed":33,"hex_longitude":"2cf06b40","hex_latitude":"07136978","is_valid_coordinates":true} 
[2026-08-19 03:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494697472001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384936873400729600,"note":"Value kept but may cause issues"} 
[2026-08-19 03:02:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1129840526125940736,"note":"Value kept but may cause issues"} 
[2026-08-19 03:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787088669000,"timestamp_ms":1787088669000,"timestamp_seconds":1787088669,"priority":1,"record_length":96,"hex_timestamp":"000001a016c90948"} 
[2026-08-19 03:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 03:02:38] 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-08-19 03:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:02:38] 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-08-19 03:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494697472001,"66":27267,"220":206,"83":41472,"24":33,"16":384936873400729600,"44":-1129840526125940736},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,83,24,16,44]} 
[2026-08-19 03:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494697472001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:02:38] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-19 03:02:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384936873400729600,"km_value":384936873400729.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:02:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1129840526125940736,"description":"Unknown IO ID 44"} 
[2026-08-19 03:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494697472001,"power":27267,"unknown_220":206,"unknown_83":41472,"ignition":33,"odometer":null,"unknown_44":-1129840526125940736}} 
[2026-08-19 03:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":157297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:02:38] local.INFO: GPS data processed {"connection_id":157297,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:02:38] local.INFO: Acknowledgment sent {"connection_id":157297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:03:00] local.INFO: TCP Data received {"connection_id":158565,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:03:00] local.INFO: Processing buffer {"connection_id":158565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:03:00] local.INFO: IMEI packet received {"connection_id":158565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":158565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:03:06] local.INFO: TCP Data received {"connection_id":158565,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:03:06] local.INFO: Processing buffer {"connection_id":158565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:03:06] local.INFO: IMEI packet received {"connection_id":158565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":158565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:03:07] local.INFO: TCP Data received {"connection_id":158565,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016c91118012cf0714007136a400026004e28..."} 
[2026-08-19 03:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016c91118012cf0714007136a400026004e28..."} 
[2026-08-19 03:03:07] local.INFO: Processing buffer {"connection_id":158565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016c91118012cf0714007136a400026004e28..."} 
[2026-08-19 03:03:07] local.INFO: Packet analysis {"connection_id":158565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016c9"} 
[2026-08-19 03:03:07] local.INFO: Extracted packet for processing {"connection_id":158565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016c9"} 
[2026-08-19 03:03:07] local.INFO: GPS Element Parsed {"raw_longitude":753955136,"raw_latitude":118712896,"longitude_deg":75.3955136,"latitude_deg":11.8712896,"altitude":38,"angle":78,"satellites":40,"speed":28,"hex_longitude":"2cf07140","hex_latitude":"07136a40","is_valid_coordinates":true} 
[2026-08-19 03:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494699264001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384936946415173632,"note":"Value kept but may cause issues"} 
[2026-08-19 03:03:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1122733282964178944,"note":"Value kept but may cause issues"} 
[2026-08-19 03:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787088671000,"timestamp_ms":1787088671000,"timestamp_seconds":1787088671,"priority":1,"record_length":96,"hex_timestamp":"000001a016c91118"} 
[2026-08-19 03:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:03: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-08-19 03:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 03:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494699264001,"66":27321,"219":206,"83":41472,"24":28,"16":384936946415173632,"44":-1122733282964178944},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-08-19 03:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494699264001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:03:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-19 03:03:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384936946415173632,"km_value":384936946415173.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:03:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1122733282964178944,"description":"Unknown IO ID 44"} 
[2026-08-19 03:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494699264001,"power":27321,"unknown_219":206,"unknown_83":41472,"ignition":28,"odometer":null,"unknown_44":-1122733282964178944}} 
[2026-08-19 03:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":158565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:03:07] local.INFO: GPS data processed {"connection_id":158565,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:03:07] local.INFO: Acknowledgment sent {"connection_id":158565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:03:38] local.INFO: TCP Data received {"connection_id":158565,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016ca64f0012cf18280071327380013008028..."} 
[2026-08-19 03:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016ca64f0012cf18280071327380013008028..."} 
[2026-08-19 03:03:38] local.INFO: Processing buffer {"connection_id":158565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016ca64f0012cf18280071327380013008028..."} 
[2026-08-19 03:03:38] local.INFO: Packet analysis {"connection_id":158565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ca"} 
[2026-08-19 03:03:38] local.INFO: Extracted packet for processing {"connection_id":158565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ca"} 
[2026-08-19 03:03:38] local.INFO: GPS Element Parsed {"raw_longitude":754025088,"raw_latitude":118695736,"longitude_deg":75.4025088,"latitude_deg":11.8695736,"altitude":19,"angle":128,"satellites":40,"speed":34,"hex_longitude":"2cf18280","hex_latitude":"07132738","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494719744001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384940640087048192,"note":"Value kept but may cause issues"} 
[2026-08-19 03:03:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1052153432556695552,"note":"Value kept but may cause issues"} 
[2026-08-19 03:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787088758000,"timestamp_ms":1787088758000,"timestamp_seconds":1787088758,"priority":1,"record_length":96,"hex_timestamp":"000001a016ca64f0"} 
[2026-08-19 03:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 03:03:38] 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-08-19 03: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-08-19 03:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:03:38] 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-08-19 03:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494719744001,"66":27376,"23":206,"83":41472,"24":34,"16":384940640087048192,"44":-1052153432556695552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-08-19 03:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494719744001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:03:38] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 03:03:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384940640087048192,"km_value":384940640087048.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:03:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1052153432556695552,"description":"Unknown IO ID 44"} 
[2026-08-19 03:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494719744001,"power":27376,"unknown_23":206,"unknown_83":41472,"ignition":34,"odometer":null,"unknown_44":-1052153432556695552}} 
[2026-08-19 03:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":158565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:03:38] local.INFO: GPS data processed {"connection_id":158565,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:03:38] local.INFO: Acknowledgment sent {"connection_id":158565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:04:03] local.INFO: TCP Data received {"connection_id":158566,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:04:03] local.INFO: Processing buffer {"connection_id":158566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:04:03] local.INFO: IMEI packet received {"connection_id":158566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":158566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:04:04] local.INFO: TCP Data received {"connection_id":158566,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:04:04] local.INFO: Processing buffer {"connection_id":158566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:04:04] local.INFO: IMEI packet received {"connection_id":158566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":158566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:04:05] local.INFO: TCP Data received {"connection_id":158566,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:04:05] local.INFO: Processing buffer {"connection_id":158566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:04:05] local.INFO: IMEI packet received {"connection_id":158566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":158566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:04:06] local.INFO: TCP Data received {"connection_id":158566,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:04:06] local.INFO: Processing buffer {"connection_id":158566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:04:06] local.INFO: IMEI packet received {"connection_id":158566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":158566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:09:09] local.INFO: TCP Data received {"connection_id":157667,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:09:09] local.INFO: Processing buffer {"connection_id":157667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:09:09] local.INFO: IMEI packet received {"connection_id":157667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":157667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:09:09] local.INFO: TCP Data received {"connection_id":157667,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016ce9728012cf3f040071113d80011008828..."} 
[2026-08-19 03:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016ce9728012cf3f040071113d80011008828..."} 
[2026-08-19 03:09:09] local.INFO: Processing buffer {"connection_id":157667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016ce9728012cf3f040071113d80011008828..."} 
[2026-08-19 03:09:09] local.INFO: Packet analysis {"connection_id":157667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ce"} 
[2026-08-19 03:09:09] local.INFO: Extracted packet for processing {"connection_id":157667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ce"} 
[2026-08-19 03:09:09] local.INFO: GPS Element Parsed {"raw_longitude":754184256,"raw_latitude":118559704,"longitude_deg":75.4184256,"latitude_deg":11.8559704,"altitude":17,"angle":136,"satellites":40,"speed":22,"hex_longitude":"2cf3f040","hex_latitude":"071113d8","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494791680001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384950776209866752,"note":"Value kept but may cause issues"} 
[2026-08-19 03:09:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-870320597637736448,"note":"Value kept but may cause issues"} 
[2026-08-19 03:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787089033000,"timestamp_ms":1787089033000,"timestamp_seconds":1787089033,"priority":1,"record_length":96,"hex_timestamp":"000001a016ce9728"} 
[2026-08-19 03:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:09: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-08-19 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 03:09:09] 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-08-19 03: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-08-19 03:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:09:09] 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-08-19 03:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494791680001,"66":27137,"232":206,"83":41472,"24":22,"16":384950776209866752,"44":-870320597637736448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-08-19 03:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494791680001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:09:09] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 03:09:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384950776209866752,"km_value":384950776209866.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:09:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-870320597637736448,"description":"Unknown IO ID 44"} 
[2026-08-19 03:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494791680001,"power":27137,"unknown_232":206,"unknown_83":41472,"ignition":22,"odometer":null,"unknown_44":-870320597637736448}} 
[2026-08-19 03:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":157667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:09:09] local.INFO: GPS data processed {"connection_id":157667,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:09:09] local.INFO: Acknowledgment sent {"connection_id":157667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:09:40] local.INFO: TCP Data received {"connection_id":157667,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016cecdd8012cf40b800710fb080015008526..."} 
[2026-08-19 03:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016cecdd8012cf40b800710fb080015008526..."} 
[2026-08-19 03:09:40] local.INFO: Processing buffer {"connection_id":157667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016cecdd8012cf40b800710fb080015008526..."} 
[2026-08-19 03:09:40] local.INFO: Packet analysis {"connection_id":157667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ce"} 
[2026-08-19 03:09:40] local.INFO: Extracted packet for processing {"connection_id":157667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ce"} 
[2026-08-19 03:09:40] local.INFO: GPS Element Parsed {"raw_longitude":754191232,"raw_latitude":118553352,"longitude_deg":75.4191232,"latitude_deg":11.8553352,"altitude":21,"angle":133,"satellites":38,"speed":29,"hex_longitude":"2cf40b80","hex_latitude":"0710fb08","is_valid_coordinates":true} 
[2026-08-19 03:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494792448001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384951227181432832,"note":"Value kept but may cause issues"} 
[2026-08-19 03:09:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-869124328987043840,"note":"Value kept but may cause issues"} 
[2026-08-19 03:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787089047000,"timestamp_ms":1787089047000,"timestamp_seconds":1787089047,"priority":1,"record_length":96,"hex_timestamp":"000001a016cecdd8"} 
[2026-08-19 03:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-08-19 03:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494792448001,"66":27332,"232":206,"83":41472,"24":29,"16":384951227181432832,"44":-869124328987043840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-08-19 03:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494792448001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:09:40] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 03:09:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384951227181432832,"km_value":384951227181432.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:09:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-869124328987043840,"description":"Unknown IO ID 44"} 
[2026-08-19 03:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494792448001,"power":27332,"unknown_232":206,"unknown_83":41472,"ignition":29,"odometer":null,"unknown_44":-869124328987043840}} 
[2026-08-19 03:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":157667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:09:40] local.INFO: GPS data processed {"connection_id":157667,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:09:40] local.INFO: Acknowledgment sent {"connection_id":157667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:10:01] local.INFO: TCP Data received {"connection_id":159849,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:10:01] local.INFO: Processing buffer {"connection_id":159849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:10:01] local.INFO: IMEI packet received {"connection_id":159849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":159849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:10:06] local.INFO: TCP Data received {"connection_id":159849,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:10:06] local.INFO: Processing buffer {"connection_id":159849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:10:06] local.INFO: IMEI packet received {"connection_id":159849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":159849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:10:07] local.INFO: TCP Data received {"connection_id":159849,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016cf1fe0012cf41e800710e9000019008826..."} 
[2026-08-19 03:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016cf1fe0012cf41e800710e9000019008826..."} 
[2026-08-19 03:10:07] local.INFO: Processing buffer {"connection_id":159849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016cf1fe0012cf41e800710e9000019008826..."} 
[2026-08-19 03:10:07] local.INFO: Packet analysis {"connection_id":159849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016cf"} 
[2026-08-19 03:10:07] local.INFO: Extracted packet for processing {"connection_id":159849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016cf"} 
[2026-08-19 03:10:07] local.INFO: GPS Element Parsed {"raw_longitude":754196096,"raw_latitude":118548736,"longitude_deg":75.4196096,"latitude_deg":11.8548736,"altitude":25,"angle":136,"satellites":38,"speed":0,"hex_longitude":"2cf41e80","hex_latitude":"0710e900","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494796032001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384951553598947328,"note":"Value kept but may cause issues"} 
[2026-08-19 03:10:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-861454135873304576,"note":"Value kept but may cause issues"} 
[2026-08-19 03:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787089068000,"timestamp_ms":1787089068000,"timestamp_seconds":1787089068,"priority":1,"record_length":96,"hex_timestamp":"000001a016cf1fe0"} 
[2026-08-19 03:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 03:10:07] 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-08-19 03: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-08-19 03:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494796032001,"66":27169,"232":206,"83":41472,"24":0,"16":384951553598947328,"44":-861454135873304576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-08-19 03:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494796032001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:10:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 03:10:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384951553598947328,"km_value":384951553598947.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:10:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-861454135873304576,"description":"Unknown IO ID 44"} 
[2026-08-19 03:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494796032001,"power":27169,"unknown_232":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-861454135873304576}} 
[2026-08-19 03:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":159849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:10:07] local.INFO: GPS data processed {"connection_id":159849,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:10:07] local.INFO: Acknowledgment sent {"connection_id":159849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:10:37] local.INFO: TCP Data received {"connection_id":159849,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016cf71e8012cf41e800710e9000019008827..."} 
[2026-08-19 03:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016cf71e8012cf41e800710e9000019008827..."} 
[2026-08-19 03:10:37] local.INFO: Processing buffer {"connection_id":159849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016cf71e8012cf41e800710e9000019008827..."} 
[2026-08-19 03:10:37] local.INFO: Packet analysis {"connection_id":159849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016cf"} 
[2026-08-19 03:10:37] local.INFO: Extracted packet for processing {"connection_id":159849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016cf"} 
[2026-08-19 03:10:37] local.INFO: GPS Element Parsed {"raw_longitude":754196096,"raw_latitude":118548736,"longitude_deg":75.4196096,"latitude_deg":11.8548736,"altitude":25,"angle":136,"satellites":39,"speed":0,"hex_longitude":"2cf41e80","hex_latitude":"0710e900","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494801408001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384951553598947328,"note":"Value kept but may cause issues"} 
[2026-08-19 03:10:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-856106111316983808,"note":"Value kept but may cause issues"} 
[2026-08-19 03:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787089089000,"timestamp_ms":1787089089000,"timestamp_seconds":1787089089,"priority":1,"record_length":96,"hex_timestamp":"000001a016cf71e8"} 
[2026-08-19 03:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-19 03:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494801408001,"66":27343,"232":206,"83":41472,"24":0,"16":384951553598947328,"44":-856106111316983808},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-08-19 03:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494801408001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:10:37] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 03:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384951553598947328,"km_value":384951553598947.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:10:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-856106111316983808,"description":"Unknown IO ID 44"} 
[2026-08-19 03:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494801408001,"power":27343,"unknown_232":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-856106111316983808}} 
[2026-08-19 03:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":159849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:10:37] local.INFO: GPS data processed {"connection_id":159849,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:10:37] local.INFO: Acknowledgment sent {"connection_id":159849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:11:00] local.INFO: TCP Data received {"connection_id":157298,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:11:00] local.INFO: Processing buffer {"connection_id":157298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:11:00] local.INFO: IMEI packet received {"connection_id":157298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":157298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:11:05] local.INFO: TCP Data received {"connection_id":157298,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:11:05] local.INFO: Processing buffer {"connection_id":157298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:11:05] local.INFO: IMEI packet received {"connection_id":157298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":157298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:11:06] local.INFO: TCP Data received {"connection_id":157298,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016cfc3f0012cf41e800710e9000019008828..."} 
[2026-08-19 03:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016cfc3f0012cf41e800710e9000019008828..."} 
[2026-08-19 03:11:06] local.INFO: Processing buffer {"connection_id":157298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016cfc3f0012cf41e800710e9000019008828..."} 
[2026-08-19 03:11:06] local.INFO: Packet analysis {"connection_id":157298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016cf"} 
[2026-08-19 03:11:06] local.INFO: Extracted packet for processing {"connection_id":157298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016cf"} 
[2026-08-19 03:11:06] local.INFO: GPS Element Parsed {"raw_longitude":754196096,"raw_latitude":118548736,"longitude_deg":75.4196096,"latitude_deg":11.8548736,"altitude":25,"angle":136,"satellites":40,"speed":0,"hex_longitude":"2cf41e80","hex_latitude":"0710e900","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494806784001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384951553598947328,"note":"Value kept but may cause issues"} 
[2026-08-19 03:11:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-856106111316983808,"note":"Value kept but may cause issues"} 
[2026-08-19 03:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787089110000,"timestamp_ms":1787089110000,"timestamp_seconds":1787089110,"priority":1,"record_length":96,"hex_timestamp":"000001a016cfc3f0"} 
[2026-08-19 03:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:11: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-08-19 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 03:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:11:06] 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-08-19 03:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494806784001,"66":27300,"232":206,"83":41472,"24":0,"16":384951553598947328,"44":-856106111316983808},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-08-19 03:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494806784001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:11:06] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 03:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384951553598947328,"km_value":384951553598947.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:11:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-856106111316983808,"description":"Unknown IO ID 44"} 
[2026-08-19 03:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494806784001,"power":27300,"unknown_232":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-856106111316983808}} 
[2026-08-19 03:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":157298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:11:06] local.INFO: GPS data processed {"connection_id":157298,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:11:06] local.INFO: Acknowledgment sent {"connection_id":157298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:11:37] local.INFO: TCP Data received {"connection_id":157298,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d015f8012cf420000710e6d8001900882a..."} 
[2026-08-19 03:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d015f8012cf420000710e6d8001900882a..."} 
[2026-08-19 03:11:37] local.INFO: Processing buffer {"connection_id":157298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d015f8012cf420000710e6d8001900882a..."} 
[2026-08-19 03:11:37] local.INFO: Packet analysis {"connection_id":157298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d0"} 
[2026-08-19 03:11:37] local.INFO: Extracted packet for processing {"connection_id":157298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d0"} 
[2026-08-19 03:11:37] local.INFO: GPS Element Parsed {"raw_longitude":754196480,"raw_latitude":118548184,"longitude_deg":75.419648,"latitude_deg":11.8548184,"altitude":25,"angle":136,"satellites":42,"speed":0,"hex_longitude":"2cf42000","hex_latitude":"0710e6d8","is_valid_coordinates":true} 
[2026-08-19 03:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494812160001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384951583663718400,"note":"Value kept but may cause issues"} 
[2026-08-19 03:11:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-856106111316983808,"note":"Value kept but may cause issues"} 
[2026-08-19 03:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787089131000,"timestamp_ms":1787089131000,"timestamp_seconds":1787089131,"priority":1,"record_length":96,"hex_timestamp":"000001a016d015f8"} 
[2026-08-19 03:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 03:11:37] 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-08-19 03:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494812160001,"66":27213,"232":206,"83":41472,"24":0,"16":384951583663718400,"44":-856106111316983808},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-08-19 03:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494812160001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:11:37] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 03:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384951583663718400,"km_value":384951583663718.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:11:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-856106111316983808,"description":"Unknown IO ID 44"} 
[2026-08-19 03:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494812160001,"power":27213,"unknown_232":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-856106111316983808}} 
[2026-08-19 03:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":157298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:11:37] local.INFO: GPS data processed {"connection_id":157298,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:11:37] local.INFO: Acknowledgment sent {"connection_id":157298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:12:00] local.INFO: TCP Data received {"connection_id":157299,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:12:00] local.INFO: Processing buffer {"connection_id":157299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:12:00] local.INFO: IMEI packet received {"connection_id":157299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":157299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:12:05] local.INFO: TCP Data received {"connection_id":157299,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:12:05] local.INFO: Processing buffer {"connection_id":157299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:12:05] local.INFO: IMEI packet received {"connection_id":157299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":157299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:12:06] local.INFO: TCP Data received {"connection_id":157299,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d06800012cf427800710dfd0001b00832a..."} 
[2026-08-19 03:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d06800012cf427800710dfd0001b00832a..."} 
[2026-08-19 03:12:06] local.INFO: Processing buffer {"connection_id":157299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d06800012cf427800710dfd0001b00832a..."} 
[2026-08-19 03:12:06] local.INFO: Packet analysis {"connection_id":157299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d0"} 
[2026-08-19 03:12:06] local.INFO: Extracted packet for processing {"connection_id":157299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d0"} 
[2026-08-19 03:12:06] local.INFO: GPS Element Parsed {"raw_longitude":754198400,"raw_latitude":118546384,"longitude_deg":75.41984,"latitude_deg":11.8546384,"altitude":27,"angle":131,"satellites":42,"speed":4,"hex_longitude":"2cf42780","hex_latitude":"0710dfd0","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494817536001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384951712512737280,"note":"Value kept but may cause issues"} 
[2026-08-19 03:12:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-855683898852059136,"note":"Value kept but may cause issues"} 
[2026-08-19 03:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787089152000,"timestamp_ms":1787089152000,"timestamp_seconds":1787089152,"priority":1,"record_length":96,"hex_timestamp":"000001a016d06800"} 
[2026-08-19 03:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 03:12:06] 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-08-19 03: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-08-19 03:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:12:06] 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-08-19 03:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494817536001,"66":27376,"232":206,"83":41472,"24":4,"16":384951712512737280,"44":-855683898852059136},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-08-19 03:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494817536001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:12:06] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 03:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384951712512737280,"km_value":384951712512737.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:12:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-855683898852059136,"description":"Unknown IO ID 44"} 
[2026-08-19 03:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494817536001,"power":27376,"unknown_232":206,"unknown_83":41472,"ignition":4,"odometer":null,"unknown_44":-855683898852059136}} 
[2026-08-19 03:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":157299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:12:07] local.INFO: GPS data processed {"connection_id":157299,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:12:07] local.INFO: Acknowledgment sent {"connection_id":157299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:12:37] local.INFO: TCP Data received {"connection_id":157299,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d0ba08012cf42c400710db78001a00832b..."} 
[2026-08-19 03:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d0ba08012cf42c400710db78001a00832b..."} 
[2026-08-19 03:12:37] local.INFO: Processing buffer {"connection_id":157299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d0ba08012cf42c400710db78001a00832b..."} 
[2026-08-19 03:12:37] local.INFO: Packet analysis {"connection_id":157299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d0"} 
[2026-08-19 03:12:37] local.INFO: Extracted packet for processing {"connection_id":157299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d0"} 
[2026-08-19 03:12:37] local.INFO: GPS Element Parsed {"raw_longitude":754199616,"raw_latitude":118545272,"longitude_deg":75.4199616,"latitude_deg":11.8545272,"altitude":26,"angle":131,"satellites":43,"speed":0,"hex_longitude":"2cf42c40","hex_latitude":"0710db78","is_valid_coordinates":true} 
[2026-08-19 03:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494822912001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384951794117115904,"note":"Value kept but may cause issues"} 
[2026-08-19 03:12:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-853572836527190016,"note":"Value kept but may cause issues"} 
[2026-08-19 03:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787089173000,"timestamp_ms":1787089173000,"timestamp_seconds":1787089173,"priority":1,"record_length":96,"hex_timestamp":"000001a016d0ba08"} 
[2026-08-19 03:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 03:12:37] 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-08-19 03:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494822912001,"66":27300,"215":206,"83":41472,"24":0,"16":384951794117115904,"44":-853572836527190016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-08-19 03:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494822912001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:12:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-19 03:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384951794117115904,"km_value":384951794117115.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:12:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-853572836527190016,"description":"Unknown IO ID 44"} 
[2026-08-19 03:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494822912001,"power":27300,"unknown_215":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-853572836527190016}} 
[2026-08-19 03:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":157299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:12:38] local.INFO: GPS data processed {"connection_id":157299,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:12:38] local.INFO: Acknowledgment sent {"connection_id":157299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:13:05] local.INFO: TCP Data received {"connection_id":157300,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:13:05] local.INFO: Processing buffer {"connection_id":157300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:13:05] local.INFO: IMEI packet received {"connection_id":157300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":157300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:13:09] local.INFO: TCP Data received {"connection_id":157300,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:13:09] local.INFO: Processing buffer {"connection_id":157300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:13:09] local.INFO: IMEI packet received {"connection_id":157300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":157300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:13:10] local.INFO: TCP Data received {"connection_id":157300,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d10c10012cf434000710d4c8001c00852a..."} 
[2026-08-19 03:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d10c10012cf434000710d4c8001c00852a..."} 
[2026-08-19 03:13:10] local.INFO: Processing buffer {"connection_id":157300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d10c10012cf434000710d4c8001c00852a..."} 
[2026-08-19 03:13:10] local.INFO: Packet analysis {"connection_id":157300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d1"} 
[2026-08-19 03:13:10] local.INFO: Extracted packet for processing {"connection_id":157300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d1"} 
[2026-08-19 03:13:10] local.INFO: GPS Element Parsed {"raw_longitude":754201600,"raw_latitude":118543560,"longitude_deg":75.42016,"latitude_deg":11.854356,"altitude":28,"angle":133,"satellites":42,"speed":4,"hex_longitude":"2cf43400","hex_latitude":"0710d4c8","is_valid_coordinates":true} 
[2026-08-19 03:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494828288001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384951922966134784,"note":"Value kept but may cause issues"} 
[2026-08-19 03:13:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-852235830388099072,"note":"Value kept but may cause issues"} 
[2026-08-19 03:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787089194000,"timestamp_ms":1787089194000,"timestamp_seconds":1787089194,"priority":1,"record_length":96,"hex_timestamp":"000001a016d10c10"} 
[2026-08-19 03:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 03:13:10] 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-08-19 03:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494828288001,"66":27397,"215":206,"83":41472,"24":4,"16":384951922966134784,"44":-852235830388099072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-08-19 03:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494828288001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:13:10] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-19 03:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384951922966134784,"km_value":384951922966134.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:13:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-852235830388099072,"description":"Unknown IO ID 44"} 
[2026-08-19 03:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494828288001,"power":27397,"unknown_215":206,"unknown_83":41472,"ignition":4,"odometer":null,"unknown_44":-852235830388099072}} 
[2026-08-19 03:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":157300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:13:10] local.INFO: GPS data processed {"connection_id":157300,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:13:10] local.INFO: Acknowledgment sent {"connection_id":157300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:13:11] local.INFO: TCP Data received {"connection_id":157300,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d15e18012cf43f000710c9e8001b00842b..."} 
[2026-08-19 03:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d15e18012cf43f000710c9e8001b00842b..."} 
[2026-08-19 03:13:11] local.INFO: Processing buffer {"connection_id":157300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d15e18012cf43f000710c9e8001b00842b..."} 
[2026-08-19 03:13:11] local.INFO: Packet analysis {"connection_id":157300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d1"} 
[2026-08-19 03:13:11] local.INFO: Extracted packet for processing {"connection_id":157300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d1"} 
[2026-08-19 03:13:11] local.INFO: GPS Element Parsed {"raw_longitude":754204416,"raw_latitude":118540776,"longitude_deg":75.4204416,"latitude_deg":11.8540776,"altitude":27,"angle":132,"satellites":43,"speed":4,"hex_longitude":"2cf43f00","hex_latitude":"0710c9e8","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494833664001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384952116239663104,"note":"Value kept but may cause issues"} 
[2026-08-19 03:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-850054399319029760,"note":"Value kept but may cause issues"} 
[2026-08-19 03:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787089215000,"timestamp_ms":1787089215000,"timestamp_seconds":1787089215,"priority":1,"record_length":96,"hex_timestamp":"000001a016d15e18"} 
[2026-08-19 03:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 03:13:11] 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-08-19 03: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-08-19 03:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494833664001,"66":27213,"215":206,"83":41472,"24":4,"16":384952116239663104,"44":-850054399319029760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-08-19 03:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494833664001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:13:11] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-19 03:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384952116239663104,"km_value":384952116239663.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-850054399319029760,"description":"Unknown IO ID 44"} 
[2026-08-19 03:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494833664001,"power":27213,"unknown_215":206,"unknown_83":41472,"ignition":4,"odometer":null,"unknown_44":-850054399319029760}} 
[2026-08-19 03:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":157300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:13:11] local.INFO: GPS data processed {"connection_id":157300,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:13:11] local.INFO: Acknowledgment sent {"connection_id":157300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:13:42] local.INFO: TCP Data received {"connection_id":157300,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d3a420012cf4e44007103da0001c00812c..."} 
[2026-08-19 03:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d3a420012cf4e44007103da0001c00812c..."} 
[2026-08-19 03:13:42] local.INFO: Processing buffer {"connection_id":157300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d3a420012cf4e44007103da0001c00812c..."} 
[2026-08-19 03:13:42] local.INFO: Packet analysis {"connection_id":157300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d3"} 
[2026-08-19 03:13:42] local.INFO: Extracted packet for processing {"connection_id":157300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d3"} 
[2026-08-19 03:13:42] local.INFO: GPS Element Parsed {"raw_longitude":754246720,"raw_latitude":118504864,"longitude_deg":75.424672,"latitude_deg":11.8504864,"altitude":28,"angle":129,"satellites":44,"speed":31,"hex_longitude":"2cf4e440","hex_latitude":"07103da0","is_valid_coordinates":true} 
[2026-08-19 03:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494875392001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384954800594223104,"note":"Value kept but may cause issues"} 
[2026-08-19 03:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-803611028170852352,"note":"Value kept but may cause issues"} 
[2026-08-19 03:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787089364000,"timestamp_ms":1787089364000,"timestamp_seconds":1787089364,"priority":1,"record_length":96,"hex_timestamp":"000001a016d3a420"} 
[2026-08-19 03:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:13:42] 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-08-19 03:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 03:13:42] 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-08-19 03:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494875392001,"66":27300,"3":206,"83":41472,"24":31,"16":384954800594223104,"44":-803611028170852352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-08-19 03:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494875392001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:13:42] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-19 03:13:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384954800594223104,"km_value":384954800594223.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-803611028170852352,"description":"Unknown IO ID 44"} 
[2026-08-19 03:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494875392001,"power":27300,"unknown_3":206,"unknown_83":41472,"ignition":31,"odometer":null,"unknown_44":-803611028170852352}} 
[2026-08-19 03:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":157300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:13:42] local.INFO: GPS data processed {"connection_id":157300,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:13:42] local.INFO: Acknowledgment sent {"connection_id":157300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:14:01] local.INFO: TCP Data received {"connection_id":158569,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:14:01] local.INFO: Processing buffer {"connection_id":158569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:14:01] local.INFO: IMEI packet received {"connection_id":158569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":158569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:14:01] local.INFO: TCP Data received {"connection_id":158569,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:14:01] local.INFO: Processing buffer {"connection_id":158569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:14:01] local.INFO: IMEI packet received {"connection_id":158569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":158569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:14:06] local.INFO: TCP Data received {"connection_id":158569,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:14:06] local.INFO: Processing buffer {"connection_id":158569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:14:06] local.INFO: IMEI packet received {"connection_id":158569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":158569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:14:07] local.INFO: TCP Data received {"connection_id":158569,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d3d300012cf50280071029d8001800722e..."} 
[2026-08-19 03:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d3d300012cf50280071029d8001800722e..."} 
[2026-08-19 03:14:07] local.INFO: Processing buffer {"connection_id":158569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d3d300012cf50280071029d8001800722e..."} 
[2026-08-19 03:14:07] local.INFO: Packet analysis {"connection_id":158569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d3"} 
[2026-08-19 03:14:07] local.INFO: Extracted packet for processing {"connection_id":158569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d3"} 
[2026-08-19 03:14:07] local.INFO: GPS Element Parsed {"raw_longitude":754254464,"raw_latitude":118499800,"longitude_deg":75.4254464,"latitude_deg":11.84998,"altitude":24,"angle":114,"satellites":46,"speed":25,"hex_longitude":"2cf50280","hex_latitude":"071029d8","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494877184001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384955242975854592,"note":"Value kept but may cause issues"} 
[2026-08-19 03:14:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-800444434683682816,"note":"Value kept but may cause issues"} 
[2026-08-19 03:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787089376000,"timestamp_ms":1787089376000,"timestamp_seconds":1787089376,"priority":1,"record_length":96,"hex_timestamp":"000001a016d3d300"} 
[2026-08-19 03:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:14: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-08-19 03: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 03:14:07] 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-08-19 03: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-08-19 03:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494877184001,"66":27332,"3":206,"83":41472,"24":25,"16":384955242975854592,"44":-800444434683682816},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-08-19 03:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494877184001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:14:07] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-19 03:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384955242975854592,"km_value":384955242975854.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:14:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-800444434683682816,"description":"Unknown IO ID 44"} 
[2026-08-19 03:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494877184001,"power":27332,"unknown_3":206,"unknown_83":41472,"ignition":25,"odometer":null,"unknown_44":-800444434683682816}} 
[2026-08-19 03:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":158569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:14:07] local.INFO: GPS data processed {"connection_id":158569,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:14:07] local.INFO: Acknowledgment sent {"connection_id":158569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:14:11] local.INFO: TCP Data received {"connection_id":158569,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d3d300012cf50280071029d8001800722e..."} 
[2026-08-19 03:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d3d300012cf50280071029d8001800722e..."} 
[2026-08-19 03:14:11] local.INFO: Processing buffer {"connection_id":158569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d3d300012cf50280071029d8001800722e..."} 
[2026-08-19 03:14:11] local.INFO: Packet analysis {"connection_id":158569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d3"} 
[2026-08-19 03:14:11] local.INFO: Extracted packet for processing {"connection_id":158569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d3"} 
[2026-08-19 03:14:11] local.INFO: GPS Element Parsed {"raw_longitude":754254464,"raw_latitude":118499800,"longitude_deg":75.4254464,"latitude_deg":11.84998,"altitude":24,"angle":114,"satellites":46,"speed":25,"hex_longitude":"2cf50280","hex_latitude":"071029d8","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494880256001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384955242975854592,"note":"Value kept but may cause issues"} 
[2026-08-19 03:14:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-791929816639481856,"note":"Value kept but may cause issues"} 
[2026-08-19 03:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787089376000,"timestamp_ms":1787089376000,"timestamp_seconds":1787089376,"priority":1,"record_length":96,"hex_timestamp":"000001a016d3d300"} 
[2026-08-19 03:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 03:14:11] 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-08-19 03: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-08-19 03:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494880256001,"66":27332,"3":206,"83":41472,"24":25,"16":384955242975854592,"44":-791929816639481856},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-08-19 03:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494880256001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:14:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-19 03:14:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384955242975854592,"km_value":384955242975854.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-791929816639481856,"description":"Unknown IO ID 44"} 
[2026-08-19 03:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494880256001,"power":27332,"unknown_3":206,"unknown_83":41472,"ignition":25,"odometer":null,"unknown_44":-791929816639481856}} 
[2026-08-19 03:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":158569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:14:11] local.INFO: GPS data processed {"connection_id":158569,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:14:11] local.INFO: Acknowledgment sent {"connection_id":158569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:14:42] local.INFO: TCP Data received {"connection_id":158569,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d409b0012cf523c007101b10001500762d..."} 
[2026-08-19 03:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d409b0012cf523c007101b10001500762d..."} 
[2026-08-19 03:14:42] local.INFO: Processing buffer {"connection_id":158569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d409b0012cf523c007101b10001500762d..."} 
[2026-08-19 03:14:42] local.INFO: Packet analysis {"connection_id":158569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d4"} 
[2026-08-19 03:14:42] local.INFO: Extracted packet for processing {"connection_id":158569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d4"} 
[2026-08-19 03:14:42] local.INFO: GPS Element Parsed {"raw_longitude":754262976,"raw_latitude":118496016,"longitude_deg":75.4262976,"latitude_deg":11.8496016,"altitude":21,"angle":118,"satellites":45,"speed":31,"hex_longitude":"2cf523c0","hex_latitude":"07101b10","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494880256001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384955689652453376,"note":"Value kept but may cause issues"} 
[2026-08-19 03:14:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-791929816639481856,"note":"Value kept but may cause issues"} 
[2026-08-19 03:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787089390000,"timestamp_ms":1787089390000,"timestamp_seconds":1787089390,"priority":1,"record_length":96,"hex_timestamp":"000001a016d409b0"} 
[2026-08-19 03:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 03:14:42] 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-08-19 03: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-08-19 03:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494880256001,"66":27213,"3":206,"83":41472,"24":31,"16":384955689652453376,"44":-791929816639481856},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-08-19 03:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494880256001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:14:42] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-19 03:14:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384955689652453376,"km_value":384955689652453.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:14:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-791929816639481856,"description":"Unknown IO ID 44"} 
[2026-08-19 03:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494880256001,"power":27213,"unknown_3":206,"unknown_83":41472,"ignition":31,"odometer":null,"unknown_44":-791929816639481856}} 
[2026-08-19 03:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":158569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:14:42] local.INFO: GPS data processed {"connection_id":158569,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:14:42] local.INFO: Acknowledgment sent {"connection_id":158569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:15:00] local.INFO: TCP Data received {"connection_id":157301,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:15:00] local.INFO: Processing buffer {"connection_id":157301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:15:00] local.INFO: IMEI packet received {"connection_id":157301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":157301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:15:03] local.INFO: TCP Data received {"connection_id":157301,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:15:03] local.INFO: Processing buffer {"connection_id":157301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:15:03] local.INFO: IMEI packet received {"connection_id":157301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":157301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:15:06] local.INFO: TCP Data received {"connection_id":157301,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:15:06] local.INFO: Processing buffer {"connection_id":157301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:15:06] local.INFO: IMEI packet received {"connection_id":157301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":157301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:15:06] local.INFO: TCP Data received {"connection_id":157301,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d43890012cf5438007100b40001500732e..."} 
[2026-08-19 03:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d43890012cf5438007100b40001500732e..."} 
[2026-08-19 03:15:06] local.INFO: Processing buffer {"connection_id":157301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d43890012cf5438007100b40001500732e..."} 
[2026-08-19 03:15:06] local.INFO: Packet analysis {"connection_id":157301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d4"} 
[2026-08-19 03:15:06] local.INFO: Extracted packet for processing {"connection_id":157301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d4"} 
[2026-08-19 03:15:06] local.INFO: GPS Element Parsed {"raw_longitude":754271104,"raw_latitude":118491968,"longitude_deg":75.4271104,"latitude_deg":11.8491968,"altitude":21,"angle":115,"satellites":46,"speed":29,"hex_longitude":"2cf54380","hex_latitude":"07100b40","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494883840001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384956119149182976,"note":"Value kept but may cause issues"} 
[2026-08-19 03:15:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-782570773664821248,"note":"Value kept but may cause issues"} 
[2026-08-19 03:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787089402000,"timestamp_ms":1787089402000,"timestamp_seconds":1787089402,"priority":1,"record_length":96,"hex_timestamp":"000001a016d43890"} 
[2026-08-19 03:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 03:15:06] 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-08-19 03: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-08-19 03:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:15:06] 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-08-19 03:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494883840001,"66":27180,"2":206,"83":41472,"24":29,"16":384956119149182976,"44":-782570773664821248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,83,24,16,44]} 
[2026-08-19 03:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494883840001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384956119149182976,"km_value":384956119149183.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:15:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-782570773664821248,"description":"Unknown IO ID 44"} 
[2026-08-19 03:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494883840001,"power":27180,"power_alt":206,"unknown_83":41472,"ignition":29,"odometer":null,"unknown_44":-782570773664821248}} 
[2026-08-19 03:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":157301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:15:06] local.INFO: GPS data processed {"connection_id":157301,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:15:06] local.INFO: Acknowledgment sent {"connection_id":157301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:15:10] local.INFO: TCP Data received {"connection_id":157301,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d45fa0012cf56140070ff9b80014007f2e..."} 
[2026-08-19 03:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d45fa0012cf56140070ff9b80014007f2e..."} 
[2026-08-19 03:15:10] local.INFO: Processing buffer {"connection_id":157301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d45fa0012cf56140070ff9b80014007f2e..."} 
[2026-08-19 03:15:10] local.INFO: Packet analysis {"connection_id":157301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d4"} 
[2026-08-19 03:15:10] local.INFO: Extracted packet for processing {"connection_id":157301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d4"} 
[2026-08-19 03:15:10] local.INFO: GPS Element Parsed {"raw_longitude":754278720,"raw_latitude":118487480,"longitude_deg":75.427872,"latitude_deg":11.848748,"altitude":20,"angle":127,"satellites":46,"speed":37,"hex_longitude":"2cf56140","hex_latitude":"070ff9b8","is_valid_coordinates":true} 
[2026-08-19 03:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494886912001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384956544350945280,"note":"Value kept but may cause issues"} 
[2026-08-19 03:15:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-773633943155294208,"note":"Value kept but may cause issues"} 
[2026-08-19 03:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787089412000,"timestamp_ms":1787089412000,"timestamp_seconds":1787089412,"priority":1,"record_length":96,"hex_timestamp":"000001a016d45fa0"} 
[2026-08-19 03:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-19 03:15:10] 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-08-19 03:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494886912001,"66":27343,"2":206,"83":41472,"24":37,"16":384956544350945280,"44":-773633943155294208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,83,24,16,44]} 
[2026-08-19 03:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494886912001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:15:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-08-19 03:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384956544350945280,"km_value":384956544350945.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:15:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-773633943155294208,"description":"Unknown IO ID 44"} 
[2026-08-19 03:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494886912001,"power":27343,"power_alt":206,"unknown_83":41472,"ignition":37,"odometer":null,"unknown_44":-773633943155294208}} 
[2026-08-19 03:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":157301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:15:10] local.INFO: GPS data processed {"connection_id":157301,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:15:10] local.INFO: Acknowledgment sent {"connection_id":157301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:15:41] local.INFO: TCP Data received {"connection_id":157301,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d56d28012cf58dc0070eace0000900a22e..."} 
[2026-08-19 03:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d56d28012cf58dc0070eace0000900a22e..."} 
[2026-08-19 03:15:41] local.INFO: Processing buffer {"connection_id":157301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d56d28012cf58dc0070eace0000900a22e..."} 
[2026-08-19 03:15:41] local.INFO: Packet analysis {"connection_id":157301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d5"} 
[2026-08-19 03:15:41] local.INFO: Extracted packet for processing {"connection_id":157301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d5"} 
[2026-08-19 03:15:41] local.INFO: GPS Element Parsed {"raw_longitude":754290112,"raw_latitude":118402272,"longitude_deg":75.4290112,"latitude_deg":11.8402272,"altitude":9,"angle":162,"satellites":46,"speed":25,"hex_longitude":"2cf58dc0","hex_latitude":"070eace0","is_valid_coordinates":true} 
[2026-08-19 03:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494904576001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384960908037718016,"note":"Value kept but may cause issues"} 
[2026-08-19 03:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-756604707085012992,"note":"Value kept but may cause issues"} 
[2026-08-19 03:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787089481000,"timestamp_ms":1787089481000,"timestamp_seconds":1787089481,"priority":1,"record_length":96,"hex_timestamp":"000001a016d56d28"} 
[2026-08-19 03:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 03:15:41] 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-08-19 03:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494904576001,"66":27310,"39":206,"83":41728,"24":25,"16":384960908037718016,"44":-756604707085012992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-08-19 03:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494904576001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:15:41] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 03:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384960908037718016,"km_value":384960908037718.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-756604707085012992,"description":"Unknown IO ID 44"} 
[2026-08-19 03:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494904576001,"power":27310,"unknown_39":206,"unknown_83":41728,"ignition":25,"odometer":null,"unknown_44":-756604707085012992}} 
[2026-08-19 03:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":157301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:15:41] local.INFO: GPS data processed {"connection_id":157301,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:15:41] local.INFO: Acknowledgment sent {"connection_id":157301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:16:00] local.INFO: TCP Data received {"connection_id":157668,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:16:00] local.INFO: Processing buffer {"connection_id":157668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:16:00] local.INFO: IMEI packet received {"connection_id":157668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":157668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:16:03] local.INFO: TCP Data received {"connection_id":157668,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:16:03] local.INFO: Processing buffer {"connection_id":157668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:16:03] local.INFO: IMEI packet received {"connection_id":157668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":157668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:16:06] local.INFO: TCP Data received {"connection_id":157668,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:16:06] local.INFO: Processing buffer {"connection_id":157668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:16:06] local.INFO: IMEI packet received {"connection_id":157668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":157668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:16:06] local.INFO: TCP Data received {"connection_id":157668,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d59820012cf599c0070e8a600009009f30..."} 
[2026-08-19 03:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d59820012cf599c0070e8a600009009f30..."} 
[2026-08-19 03:16:06] local.INFO: Processing buffer {"connection_id":157668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d59820012cf599c0070e8a600009009f30..."} 
[2026-08-19 03:16:06] local.INFO: Packet analysis {"connection_id":157668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d5"} 
[2026-08-19 03:16:06] local.INFO: Extracted packet for processing {"connection_id":157668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d5"} 
[2026-08-19 03:16:06] local.INFO: GPS Element Parsed {"raw_longitude":754293184,"raw_latitude":118393440,"longitude_deg":75.4293184,"latitude_deg":11.839344,"altitude":9,"angle":159,"satellites":48,"speed":40,"hex_longitude":"2cf599c0","hex_latitude":"070e8a60","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494907136001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384961363304251392,"note":"Value kept but may cause issues"} 
[2026-08-19 03:16:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-752734426157490176,"note":"Value kept but may cause issues"} 
[2026-08-19 03:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787089492000,"timestamp_ms":1787089492000,"timestamp_seconds":1787089492,"priority":1,"record_length":96,"hex_timestamp":"000001a016d59820"} 
[2026-08-19 03:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 03:16:06] 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-08-19 03: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-08-19 03:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:16:06] 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-08-19 03:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494907136001,"66":27332,"39":206,"83":41728,"24":40,"16":384961363304251392,"44":-752734426157490176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-08-19 03:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494907136001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:16:06] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 03:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384961363304251392,"km_value":384961363304251.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:16:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-752734426157490176,"description":"Unknown IO ID 44"} 
[2026-08-19 03:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494907136001,"power":27332,"unknown_39":206,"unknown_83":41728,"ignition":40,"odometer":null,"unknown_44":-752734426157490176}} 
[2026-08-19 03:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":157668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:16:06] local.INFO: GPS data processed {"connection_id":157668,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:16:06] local.INFO: Acknowledgment sent {"connection_id":157668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:16:37] local.INFO: TCP Data received {"connection_id":157668,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d5b760012cf5a680070e68200009009f2f..."} 
[2026-08-19 03:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d5b760012cf5a680070e68200009009f2f..."} 
[2026-08-19 03:16:37] local.INFO: Processing buffer {"connection_id":157668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d5b760012cf5a680070e68200009009f2f..."} 
[2026-08-19 03:16:37] local.INFO: Packet analysis {"connection_id":157668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d5"} 
[2026-08-19 03:16:37] local.INFO: Extracted packet for processing {"connection_id":157668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d5"} 
[2026-08-19 03:16:37] local.INFO: GPS Element Parsed {"raw_longitude":754296448,"raw_latitude":118384672,"longitude_deg":75.4296448,"latitude_deg":11.8384672,"altitude":9,"angle":159,"satellites":47,"speed":50,"hex_longitude":"2cf5a680","hex_latitude":"070e6820","is_valid_coordinates":true} 
[2026-08-19 03:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494909952001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384961814275817472,"note":"Value kept but may cause issues"} 
[2026-08-19 03:16:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-749356726439223296,"note":"Value kept but may cause issues"} 
[2026-08-19 03:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787089500000,"timestamp_ms":1787089500000,"timestamp_seconds":1787089500,"priority":1,"record_length":96,"hex_timestamp":"000001a016d5b760"} 
[2026-08-19 03:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:16: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-08-19 03:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 03:16:37] 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-08-19 03:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494909952001,"66":27343,"39":206,"83":41728,"24":50,"16":384961814275817472,"44":-749356726439223296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-08-19 03:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494909952001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:16:37] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 03:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384961814275817472,"km_value":384961814275817.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:16:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-749356726439223296,"description":"Unknown IO ID 44"} 
[2026-08-19 03:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494909952001,"power":27343,"unknown_39":206,"unknown_83":41728,"ignition":50,"odometer":null,"unknown_44":-749356726439223296}} 
[2026-08-19 03:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":157668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:16:37] local.INFO: GPS data processed {"connection_id":157668,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:16:37] local.INFO: Acknowledgment sent {"connection_id":157668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:17:00] local.INFO: TCP Data received {"connection_id":159850,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:17:00] local.INFO: Processing buffer {"connection_id":159850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:17:00] local.INFO: IMEI packet received {"connection_id":159850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":159850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:17:01] local.INFO: TCP Data received {"connection_id":159850,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:17:01] local.INFO: Processing buffer {"connection_id":159850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:17:01] local.INFO: IMEI packet received {"connection_id":159850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":159850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:17:05] local.INFO: TCP Data received {"connection_id":159850,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:17:05] local.INFO: Processing buffer {"connection_id":159850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:17:05] local.INFO: IMEI packet received {"connection_id":159850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":159850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:17:06] local.INFO: TCP Data received {"connection_id":159850,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d5d6a0012cf5b340070e44e80008009e2e..."} 
[2026-08-19 03:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d5d6a0012cf5b340070e44e80008009e2e..."} 
[2026-08-19 03:17:06] local.INFO: Processing buffer {"connection_id":159850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d5d6a0012cf5b340070e44e80008009e2e..."} 
[2026-08-19 03:17:06] local.INFO: Packet analysis {"connection_id":159850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d5"} 
[2026-08-19 03:17:06] local.INFO: Extracted packet for processing {"connection_id":159850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d5"} 
[2026-08-19 03:17:06] local.INFO: GPS Element Parsed {"raw_longitude":754299712,"raw_latitude":118375656,"longitude_deg":75.4299712,"latitude_deg":11.8375656,"altitude":8,"angle":158,"satellites":46,"speed":46,"hex_longitude":"2cf5b340","hex_latitude":"070e44e8","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494912000001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384962278132285440,"note":"Value kept but may cause issues"} 
[2026-08-19 03:17:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-745767920488407040,"note":"Value kept but may cause issues"} 
[2026-08-19 03:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787089508000,"timestamp_ms":1787089508000,"timestamp_seconds":1787089508,"priority":1,"record_length":96,"hex_timestamp":"000001a016d5d6a0"} 
[2026-08-19 03:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:17: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-08-19 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 03:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:17:06] 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-08-19 03:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494912000001,"66":27397,"39":206,"83":41728,"24":46,"16":384962278132285440,"44":-745767920488407040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-08-19 03:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494912000001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:17:06] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 03:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384962278132285440,"km_value":384962278132285.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:17:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-745767920488407040,"description":"Unknown IO ID 44"} 
[2026-08-19 03:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494912000001,"power":27397,"unknown_39":206,"unknown_83":41728,"ignition":46,"odometer":null,"unknown_44":-745767920488407040}} 
[2026-08-19 03:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":159850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:17:06] local.INFO: GPS data processed {"connection_id":159850,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:17:06] local.INFO: Acknowledgment sent {"connection_id":159850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:17:40] local.INFO: TCP Data received {"connection_id":159850,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d741e8012cf62080070c57b8000800ae2e..."} 
[2026-08-19 03:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d741e8012cf62080070c57b8000800ae2e..."} 
[2026-08-19 03:17:40] local.INFO: Processing buffer {"connection_id":159850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d741e8012cf62080070c57b8000800ae2e..."} 
[2026-08-19 03:17:40] local.INFO: Packet analysis {"connection_id":159850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d7"} 
[2026-08-19 03:17:40] local.INFO: Extracted packet for processing {"connection_id":159850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d7"} 
[2026-08-19 03:17:40] local.INFO: GPS Element Parsed {"raw_longitude":754327680,"raw_latitude":118249400,"longitude_deg":75.432768,"latitude_deg":11.82494,"altitude":8,"angle":174,"satellites":46,"speed":59,"hex_longitude":"2cf62080","hex_latitude":"070c57b8","is_valid_coordinates":true} 
[2026-08-19 03:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494936320001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384968621798981632,"note":"Value kept but may cause issues"} 
[2026-08-19 03:17:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-711850185827112960,"note":"Value kept but may cause issues"} 
[2026-08-19 03:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787089601000,"timestamp_ms":1787089601000,"timestamp_seconds":1787089601,"priority":1,"record_length":96,"hex_timestamp":"000001a016d741e8"} 
[2026-08-19 03:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 03:17:40] 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-08-19 03:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494936320001,"66":27213,"177":206,"83":41728,"24":59,"16":384968621798981632,"44":-711850185827112960},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-08-19 03:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494936320001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:17:40] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 03:17:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384968621798981632,"km_value":384968621798981.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:17:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-711850185827112960,"description":"Unknown IO ID 44"} 
[2026-08-19 03:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494936320001,"power":27213,"unknown_177":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-711850185827112960}} 
[2026-08-19 03:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":159850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:17:40] local.INFO: GPS data processed {"connection_id":159850,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:17:40] local.INFO: Acknowledgment sent {"connection_id":159850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:18:10] local.INFO: TCP Data received {"connection_id":157669,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:18:10] local.INFO: Processing buffer {"connection_id":157669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:18:10] local.INFO: IMEI packet received {"connection_id":157669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":157669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:18:10] local.INFO: TCP Data received {"connection_id":157669,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:18:10] local.INFO: Processing buffer {"connection_id":157669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:18:10] local.INFO: IMEI packet received {"connection_id":157669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":157669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:18:15] local.INFO: TCP Data received {"connection_id":157669,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:18:16] local.INFO: Processing buffer {"connection_id":157669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:18:16] local.INFO: IMEI packet received {"connection_id":157669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":157669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:18:16] local.INFO: TCP Data received {"connection_id":157669,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d75958012cf626c0070c3570000900a42e..."} 
[2026-08-19 03:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d75958012cf626c0070c3570000900a42e..."} 
[2026-08-19 03:18:16] local.INFO: Processing buffer {"connection_id":157669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d75958012cf626c0070c3570000900a42e..."} 
[2026-08-19 03:18:16] local.INFO: Packet analysis {"connection_id":157669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d7"} 
[2026-08-19 03:18:16] local.INFO: Extracted packet for processing {"connection_id":157669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d7"} 
[2026-08-19 03:18:16] local.INFO: GPS Element Parsed {"raw_longitude":754329280,"raw_latitude":118240624,"longitude_deg":75.432928,"latitude_deg":11.8240624,"altitude":9,"angle":164,"satellites":46,"speed":58,"hex_longitude":"2cf626c0","hex_latitude":"070c3570","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494937856001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384969051295711232,"note":"Value kept but may cause issues"} 
[2026-08-19 03:18:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-711427973364336640,"note":"Value kept but may cause issues"} 
[2026-08-19 03:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787089607000,"timestamp_ms":1787089607000,"timestamp_seconds":1787089607,"priority":1,"record_length":96,"hex_timestamp":"000001a016d75958"} 
[2026-08-19 03:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:18: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-08-19 03: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 03:18:16] 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-08-19 03: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-08-19 03:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494937856001,"66":27463,"177":206,"83":41728,"24":58,"16":384969051295711232,"44":-711427973364336640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-08-19 03:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494937856001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:18:16] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 03:18:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384969051295711232,"km_value":384969051295711.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:18:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-711427973364336640,"description":"Unknown IO ID 44"} 
[2026-08-19 03:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494937856001,"power":27463,"unknown_177":206,"unknown_83":41728,"ignition":58,"odometer":null,"unknown_44":-711427973364336640}} 
[2026-08-19 03:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":157669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:18:16] local.INFO: GPS data processed {"connection_id":157669,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:18:16] local.INFO: Acknowledgment sent {"connection_id":157669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:19:00] local.INFO: TCP Data received {"connection_id":157670,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:19:00] local.INFO: Processing buffer {"connection_id":157670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:19:00] local.INFO: IMEI packet received {"connection_id":157670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":157670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:19:00] local.INFO: TCP Data received {"connection_id":157670,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:19:00] local.INFO: Processing buffer {"connection_id":157670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:19:00] local.INFO: IMEI packet received {"connection_id":157670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":157670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:19:05] local.INFO: TCP Data received {"connection_id":157670,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:19:05] local.INFO: Processing buffer {"connection_id":157670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:19:05] local.INFO: IMEI packet received {"connection_id":157670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":157670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:19:06] local.INFO: TCP Data received {"connection_id":157670,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d774b0012cf634c0070c0fe0000b009e2e..."} 
[2026-08-19 03:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d774b0012cf634c0070c0fe0000b009e2e..."} 
[2026-08-19 03:19:06] local.INFO: Processing buffer {"connection_id":157670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d774b0012cf634c0070c0fe0000b009e2e..."} 
[2026-08-19 03:19:06] local.INFO: Packet analysis {"connection_id":157670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d7"} 
[2026-08-19 03:19:06] local.INFO: Extracted packet for processing {"connection_id":157670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d7"} 
[2026-08-19 03:19:06] local.INFO: GPS Element Parsed {"raw_longitude":754332864,"raw_latitude":118231008,"longitude_deg":75.4332864,"latitude_deg":11.8231008,"altitude":11,"angle":158,"satellites":46,"speed":57,"hex_longitude":"2cf634c0","hex_latitude":"070c0fe0","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494939392001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384969549511917568,"note":"Value kept but may cause issues"} 
[2026-08-19 03:19:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-709668754762141696,"note":"Value kept but may cause issues"} 
[2026-08-19 03:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787089614000,"timestamp_ms":1787089614000,"timestamp_seconds":1787089614,"priority":1,"record_length":96,"hex_timestamp":"000001a016d774b0"} 
[2026-08-19 03:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 03:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:19:06] 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-08-19 03:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494939392001,"66":27332,"177":206,"83":41728,"24":57,"16":384969549511917568,"44":-709668754762141696},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-08-19 03:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494939392001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:19:06] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 03:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384969549511917568,"km_value":384969549511917.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:19:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-709668754762141696,"description":"Unknown IO ID 44"} 
[2026-08-19 03:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494939392001,"power":27332,"unknown_177":206,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-709668754762141696}} 
[2026-08-19 03:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":157670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:19:06] local.INFO: GPS data processed {"connection_id":157670,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:19:06] local.INFO: Acknowledgment sent {"connection_id":157670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:19:37] local.INFO: TCP Data received {"connection_id":157670,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d92260012cf73c00070a59e0000c008d2d..."} 
[2026-08-19 03:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d92260012cf73c00070a59e0000c008d2d..."} 
[2026-08-19 03:19:37] local.INFO: Processing buffer {"connection_id":157670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d92260012cf73c00070a59e0000c008d2d..."} 
[2026-08-19 03:19:37] local.INFO: Packet analysis {"connection_id":157670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d9"} 
[2026-08-19 03:19:37] local.INFO: Extracted packet for processing {"connection_id":157670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d9"} 
[2026-08-19 03:19:37] local.INFO: GPS Element Parsed {"raw_longitude":754400256,"raw_latitude":118118880,"longitude_deg":75.4400256,"latitude_deg":11.811888,"altitude":12,"angle":141,"satellites":45,"speed":55,"hex_longitude":"2cf73c00","hex_latitude":"070a59e0","is_valid_coordinates":true} 
[2026-08-19 03:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494967552001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384975910358482944,"note":"Value kept but may cause issues"} 
[2026-08-19 03:19:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-638244479451097088,"note":"Value kept but may cause issues"} 
[2026-08-19 03:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787089724000,"timestamp_ms":1787089724000,"timestamp_seconds":1787089724,"priority":1,"record_length":96,"hex_timestamp":"000001a016d92260"} 
[2026-08-19 03:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 03:19:37] 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-08-19 03:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494967552001,"66":27332,"31":206,"83":41728,"24":55,"16":384975910358482944,"44":-638244479451097088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-08-19 03:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494967552001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:19:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-19 03:19:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384975910358482944,"km_value":384975910358482.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:19:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-638244479451097088,"description":"Unknown IO ID 44"} 
[2026-08-19 03:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494967552001,"power":27332,"unknown_31":206,"unknown_83":41728,"ignition":55,"odometer":null,"unknown_44":-638244479451097088}} 
[2026-08-19 03:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":157670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:19:37] local.INFO: GPS data processed {"connection_id":157670,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:19:37] local.INFO: Acknowledgment sent {"connection_id":157670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:20:01] local.INFO: TCP Data received {"connection_id":159851,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:20:01] local.INFO: Processing buffer {"connection_id":159851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:20:01] local.INFO: IMEI packet received {"connection_id":159851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":159851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:20:05] local.INFO: TCP Data received {"connection_id":159851,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:20:05] local.INFO: Processing buffer {"connection_id":159851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:20:05] local.INFO: IMEI packet received {"connection_id":159851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":159851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:20:09] local.INFO: TCP Data received {"connection_id":159851,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:20:09] local.INFO: Processing buffer {"connection_id":159851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:20:09] local.INFO: IMEI packet received {"connection_id":159851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":159851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:20:10] local.INFO: TCP Data received {"connection_id":159851,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d93db8012cf75540070a3b68000b008b2d..."} 
[2026-08-19 03:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d93db8012cf75540070a3b68000b008b2d..."} 
[2026-08-19 03:20:10] local.INFO: Processing buffer {"connection_id":159851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d93db8012cf75540070a3b68000b008b2d..."} 
[2026-08-19 03:20:10] local.INFO: Packet analysis {"connection_id":159851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d9"} 
[2026-08-19 03:20:10] local.INFO: Extracted packet for processing {"connection_id":159851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d9"} 
[2026-08-19 03:20:10] local.INFO: GPS Element Parsed {"raw_longitude":754406720,"raw_latitude":118111080,"longitude_deg":75.440672,"latitude_deg":11.811108,"altitude":11,"angle":139,"satellites":45,"speed":58,"hex_longitude":"2cf75540","hex_latitude":"070a3b68","is_valid_coordinates":true} 
[2026-08-19 03:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494969344001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384976395689787392,"note":"Value kept but may cause issues"} 
[2026-08-19 03:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-631629817500278784,"note":"Value kept but may cause issues"} 
[2026-08-19 03:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787089731000,"timestamp_ms":1787089731000,"timestamp_seconds":1787089731,"priority":1,"record_length":96,"hex_timestamp":"000001a016d93db8"} 
[2026-08-19 03:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:20: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-08-19 03:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 03:20:10] 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-08-19 03:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494969344001,"66":27267,"31":206,"83":41728,"24":58,"16":384976395689787392,"44":-631629817500278784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-08-19 03:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494969344001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:20:10] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-19 03:20:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384976395689787392,"km_value":384976395689787.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-631629817500278784,"description":"Unknown IO ID 44"} 
[2026-08-19 03:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494969344001,"power":27267,"unknown_31":206,"unknown_83":41728,"ignition":58,"odometer":null,"unknown_44":-631629817500278784}} 
[2026-08-19 03:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":159851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:20:10] local.INFO: GPS data processed {"connection_id":159851,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:20:10] local.INFO: Acknowledgment sent {"connection_id":159851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:20:11] local.INFO: TCP Data received {"connection_id":159851,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d95528012cf76c00070a2040000b008c2c..."} 
[2026-08-19 03:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d95528012cf76c00070a2040000b008c2c..."} 
[2026-08-19 03:20:11] local.INFO: Processing buffer {"connection_id":159851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d95528012cf76c00070a2040000b008c2c..."} 
[2026-08-19 03:20:11] local.INFO: Packet analysis {"connection_id":159851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d9"} 
[2026-08-19 03:20:11] local.INFO: Extracted packet for processing {"connection_id":159851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d9"} 
[2026-08-19 03:20:11] local.INFO: GPS Element Parsed {"raw_longitude":754412544,"raw_latitude":118104128,"longitude_deg":75.4412544,"latitude_deg":11.8104128,"altitude":11,"angle":140,"satellites":44,"speed":60,"hex_longitude":"2cf76c00","hex_latitude":"070a2040","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494971136001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384976833776451584,"note":"Value kept but may cause issues"} 
[2026-08-19 03:20:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-624522574340331520,"note":"Value kept but may cause issues"} 
[2026-08-19 03:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787089737000,"timestamp_ms":1787089737000,"timestamp_seconds":1787089737,"priority":1,"record_length":96,"hex_timestamp":"000001a016d95528"} 
[2026-08-19 03:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:20: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-08-19 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 03:20:11] 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-08-19 03: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-08-19 03:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494971136001,"66":27300,"31":206,"83":41728,"24":60,"16":384976833776451584,"44":-624522574340331520},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-08-19 03:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494971136001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:20:11] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-19 03:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384976833776451584,"km_value":384976833776451.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:20:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-624522574340331520,"description":"Unknown IO ID 44"} 
[2026-08-19 03:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494971136001,"power":27300,"unknown_31":206,"unknown_83":41728,"ignition":60,"odometer":null,"unknown_44":-624522574340331520}} 
[2026-08-19 03:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":159851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:20:11] local.INFO: GPS data processed {"connection_id":159851,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:20:11] local.INFO: Acknowledgment sent {"connection_id":159851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:20:41] local.INFO: TCP Data received {"connection_id":159851,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d96c98012cf78300070a05400009008a2d..."} 
[2026-08-19 03:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d96c98012cf78300070a05400009008a2d..."} 
[2026-08-19 03:20:41] local.INFO: Processing buffer {"connection_id":159851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d96c98012cf78300070a05400009008a2d..."} 
[2026-08-19 03:20:41] local.INFO: Packet analysis {"connection_id":159851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d9"} 
[2026-08-19 03:20:41] local.INFO: Extracted packet for processing {"connection_id":159851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d9"} 
[2026-08-19 03:20:41] local.INFO: GPS Element Parsed {"raw_longitude":754418432,"raw_latitude":118097216,"longitude_deg":75.4418432,"latitude_deg":11.8097216,"altitude":9,"angle":138,"satellites":45,"speed":59,"hex_longitude":"2cf78300","hex_latitude":"070a0540","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494972672001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384977267568148480,"note":"Value kept but may cause issues"} 
[2026-08-19 03:20:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-618119018621943808,"note":"Value kept but may cause issues"} 
[2026-08-19 03:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787089743000,"timestamp_ms":1787089743000,"timestamp_seconds":1787089743,"priority":1,"record_length":96,"hex_timestamp":"000001a016d96c98"} 
[2026-08-19 03:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:20: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-08-19 03: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 03:20:41] 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-08-19 03: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-08-19 03:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494972672001,"66":27343,"31":206,"83":41728,"24":59,"16":384977267568148480,"44":-618119018621943808},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-08-19 03:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494972672001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:20:41] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-19 03:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384977267568148480,"km_value":384977267568148.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:20:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-618119018621943808,"description":"Unknown IO ID 44"} 
[2026-08-19 03:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494972672001,"power":27343,"unknown_31":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-618119018621943808}} 
[2026-08-19 03:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":159851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:20:41] local.INFO: GPS data processed {"connection_id":159851,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:20:41] local.INFO: Acknowledgment sent {"connection_id":159851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:20:59] local.INFO: TCP Data received {"connection_id":158570,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:20:59] local.INFO: Processing buffer {"connection_id":158570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:20:59] local.INFO: IMEI packet received {"connection_id":158570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":158570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:21:00] local.INFO: TCP Data received {"connection_id":158570,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:21:00] local.INFO: Processing buffer {"connection_id":158570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:21:00] local.INFO: IMEI packet received {"connection_id":158570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":158570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:21:05] local.INFO: TCP Data received {"connection_id":158570,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:21:05] local.INFO: Processing buffer {"connection_id":158570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:21:05] local.INFO: IMEI packet received {"connection_id":158570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":158570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:21:06] local.INFO: TCP Data received {"connection_id":158570,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016d98408012cf79b000709eb00000800892b..."} 
[2026-08-19 03:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016d98408012cf79b000709eb00000800892b..."} 
[2026-08-19 03:21:06] local.INFO: Processing buffer {"connection_id":158570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016d98408012cf79b000709eb00000800892b..."} 
[2026-08-19 03:21:06] local.INFO: Packet analysis {"connection_id":158570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016d9"} 
[2026-08-19 03:21:06] local.INFO: Extracted packet for processing {"connection_id":158570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016d9"} 
[2026-08-19 03:21:06] local.INFO: GPS Element Parsed {"raw_longitude":754424576,"raw_latitude":118090496,"longitude_deg":75.4424576,"latitude_deg":11.8090496,"altitude":8,"angle":137,"satellites":43,"speed":59,"hex_longitude":"2cf79b00","hex_latitude":"0709eb00","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494974208001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384977705654812672,"note":"Value kept but may cause issues"} 
[2026-08-19 03:21:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-611645094159368192,"note":"Value kept but may cause issues"} 
[2026-08-19 03:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787089749000,"timestamp_ms":1787089749000,"timestamp_seconds":1787089749,"priority":1,"record_length":96,"hex_timestamp":"000001a016d98408"} 
[2026-08-19 03:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 03:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:21:06] 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-08-19 03:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494974208001,"66":27234,"31":206,"83":41728,"24":59,"16":384977705654812672,"44":-611645094159368192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-08-19 03:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494974208001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:21:06] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-19 03:21:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384977705654812672,"km_value":384977705654812.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:21:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-611645094159368192,"description":"Unknown IO ID 44"} 
[2026-08-19 03:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494974208001,"power":27234,"unknown_31":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-611645094159368192}} 
[2026-08-19 03:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":158570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:21:06] local.INFO: GPS data processed {"connection_id":158570,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:21:06] local.INFO: Acknowledgment sent {"connection_id":158570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:21:39] local.INFO: TCP Data received {"connection_id":158570,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016daeb68012cf8bc4007084ef00009008f2d..."} 
[2026-08-19 03:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016daeb68012cf8bc4007084ef00009008f2d..."} 
[2026-08-19 03:21:39] local.INFO: Processing buffer {"connection_id":158570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016daeb68012cf8bc4007084ef00009008f2d..."} 
[2026-08-19 03:21:39] local.INFO: Packet analysis {"connection_id":158570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016da"} 
[2026-08-19 03:21:39] local.INFO: Extracted packet for processing {"connection_id":158570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016da"} 
[2026-08-19 03:21:39] local.INFO: GPS Element Parsed {"raw_longitude":754498624,"raw_latitude":117985008,"longitude_deg":75.4498624,"latitude_deg":11.7985008,"altitude":9,"angle":143,"satellites":45,"speed":60,"hex_longitude":"2cf8bc40","hex_latitude":"07084ef0","is_valid_coordinates":true} 
[2026-08-19 03:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494997760001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384983959127195648,"note":"Value kept but may cause issues"} 
[2026-08-19 03:21:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-529454400986736640,"note":"Value kept but may cause issues"} 
[2026-08-19 03:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787089841000,"timestamp_ms":1787089841000,"timestamp_seconds":1787089841,"priority":1,"record_length":96,"hex_timestamp":"000001a016daeb68"} 
[2026-08-19 03:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 03:21:39] 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-08-19 03:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:21:39] 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-08-19 03:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494997760001,"66":27126,"197":206,"83":41728,"24":60,"16":384983959127195648,"44":-529454400986736640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-08-19 03:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494997760001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:21:39] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-19 03:21:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384983959127195648,"km_value":384983959127195.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:21:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-529454400986736640,"description":"Unknown IO ID 44"} 
[2026-08-19 03:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494997760001,"power":27126,"unknown_197":206,"unknown_83":41728,"ignition":60,"odometer":null,"unknown_44":-529454400986736640}} 
[2026-08-19 03:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":158570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:21:39] local.INFO: GPS data processed {"connection_id":158570,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:21:39] local.INFO: Acknowledgment sent {"connection_id":158570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:21:59] local.INFO: TCP Data received {"connection_id":159852,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:21:59] local.INFO: Processing buffer {"connection_id":159852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:21:59] local.INFO: IMEI packet received {"connection_id":159852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":159852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:22:00] local.INFO: TCP Data received {"connection_id":159852,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:22:00] local.INFO: Processing buffer {"connection_id":159852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:22:00] local.INFO: IMEI packet received {"connection_id":159852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":159852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:22:05] local.INFO: TCP Data received {"connection_id":159852,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:22:05] local.INFO: Processing buffer {"connection_id":159852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:22:05] local.INFO: IMEI packet received {"connection_id":159852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":159852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:22:06] local.INFO: TCP Data received {"connection_id":159852,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016db02d8012cf8d14007083240000a00902d..."} 
[2026-08-19 03:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016db02d8012cf8d14007083240000a00902d..."} 
[2026-08-19 03:22:06] local.INFO: Processing buffer {"connection_id":159852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016db02d8012cf8d14007083240000a00902d..."} 
[2026-08-19 03:22:06] local.INFO: Packet analysis {"connection_id":159852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016db"} 
[2026-08-19 03:22:06] local.INFO: Extracted packet for processing {"connection_id":159852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016db"} 
[2026-08-19 03:22:06] local.INFO: GPS Element Parsed {"raw_longitude":754504000,"raw_latitude":117977664,"longitude_deg":75.4504,"latitude_deg":11.7977664,"altitude":10,"angle":144,"satellites":45,"speed":58,"hex_longitude":"2cf8d140","hex_latitude":"07083240","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457494999296001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384984397213859840,"note":"Value kept but may cause issues"} 
[2026-08-19 03:22:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-523473057733480448,"note":"Value kept but may cause issues"} 
[2026-08-19 03:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787089847000,"timestamp_ms":1787089847000,"timestamp_seconds":1787089847,"priority":1,"record_length":96,"hex_timestamp":"000001a016db02d8"} 
[2026-08-19 03:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-19 03:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:22:06] 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-08-19 03:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457494999296001,"66":27213,"197":206,"83":41728,"24":58,"16":384984397213859840,"44":-523473057733480448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-08-19 03:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457494999296001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:22:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-19 03:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384984397213859840,"km_value":384984397213859.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:22:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-523473057733480448,"description":"Unknown IO ID 44"} 
[2026-08-19 03:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457494999296001,"power":27213,"unknown_197":206,"unknown_83":41728,"ignition":58,"odometer":null,"unknown_44":-523473057733480448}} 
[2026-08-19 03:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":159852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:22:06] local.INFO: GPS data processed {"connection_id":159852,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:22:06] local.INFO: Acknowledgment sent {"connection_id":159852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:22:37] local.INFO: TCP Data received {"connection_id":159852,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016db1e30012cf8e74007081200000c00912c..."} 
[2026-08-19 03:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016db1e30012cf8e74007081200000c00912c..."} 
[2026-08-19 03:22:37] local.INFO: Processing buffer {"connection_id":159852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016db1e30012cf8e74007081200000c00912c..."} 
[2026-08-19 03:22:37] local.INFO: Packet analysis {"connection_id":159852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016db"} 
[2026-08-19 03:22:37] local.INFO: Extracted packet for processing {"connection_id":159852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016db"} 
[2026-08-19 03:22:37] local.INFO: GPS Element Parsed {"raw_longitude":754509632,"raw_latitude":117969408,"longitude_deg":75.4509632,"latitude_deg":11.7969408,"altitude":12,"angle":145,"satellites":44,"speed":54,"hex_longitude":"2cf8e740","hex_latitude":"07081200","is_valid_coordinates":true} 
[2026-08-19 03:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495000832001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384984882545164288,"note":"Value kept but may cause issues"} 
[2026-08-19 03:22:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-517562083224436736,"note":"Value kept but may cause issues"} 
[2026-08-19 03:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787089854000,"timestamp_ms":1787089854000,"timestamp_seconds":1787089854,"priority":1,"record_length":96,"hex_timestamp":"000001a016db1e30"} 
[2026-08-19 03:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:22: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-08-19 03:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 03:22:37] 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-08-19 03:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495000832001,"66":27321,"197":206,"83":41728,"24":54,"16":384984882545164288,"44":-517562083224436736},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-08-19 03:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495000832001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:22:37] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-19 03:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384984882545164288,"km_value":384984882545164.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:22:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-517562083224436736,"description":"Unknown IO ID 44"} 
[2026-08-19 03:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495000832001,"power":27321,"unknown_197":206,"unknown_83":41728,"ignition":54,"odometer":null,"unknown_44":-517562083224436736}} 
[2026-08-19 03:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":159852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:22:37] local.INFO: GPS data processed {"connection_id":159852,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:22:37] local.INFO: Acknowledgment sent {"connection_id":159852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:22:59] local.INFO: TCP Data received {"connection_id":158571,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:22:59] local.INFO: Processing buffer {"connection_id":158571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:22:59] local.INFO: IMEI packet received {"connection_id":158571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":158571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:23:00] local.INFO: TCP Data received {"connection_id":158571,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:23:00] local.INFO: Processing buffer {"connection_id":158571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:23:00] local.INFO: IMEI packet received {"connection_id":158571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":158571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:23:05] local.INFO: TCP Data received {"connection_id":158571,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:23:05] local.INFO: Processing buffer {"connection_id":158571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:23:05] local.INFO: IMEI packet received {"connection_id":158571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":158571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:23:06] local.INFO: TCP Data received {"connection_id":158571,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016dc2fa0012cf9b5400706cb88000d00772e..."} 
[2026-08-19 03:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016dc2fa0012cf9b5400706cb88000d00772e..."} 
[2026-08-19 03:23:06] local.INFO: Processing buffer {"connection_id":158571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016dc2fa0012cf9b5400706cb88000d00772e..."} 
[2026-08-19 03:23:06] local.INFO: Packet analysis {"connection_id":158571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016dc"} 
[2026-08-19 03:23:06] local.INFO: Extracted packet for processing {"connection_id":158571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016dc"} 
[2026-08-19 03:23:06] local.INFO: GPS Element Parsed {"raw_longitude":754562368,"raw_latitude":117885832,"longitude_deg":75.4562368,"latitude_deg":11.7885832,"altitude":13,"angle":119,"satellites":46,"speed":57,"hex_longitude":"2cf9b540","hex_latitude":"0706cb88","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495019520001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384989710088404992,"note":"Value kept but may cause issues"} 
[2026-08-19 03:23:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-458593075626194944,"note":"Value kept but may cause issues"} 
[2026-08-19 03:23:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 03:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787089924000,"timestamp_ms":1787089924000,"timestamp_seconds":1787089924,"priority":1,"record_length":96,"hex_timestamp":"000001a016dc2fa0"} 
[2026-08-19 03:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 03:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:23:06] 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-08-19 03:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495019520001,"66":27213,"83":41728,"24":57,"16":384989710088404992,"44":-458593075626194944},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-08-19 03:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495019520001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384989710088404992,"km_value":384989710088405.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:23:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-458593075626194944,"description":"Unknown IO ID 44"} 
[2026-08-19 03:23:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457495019520001,"power":27213,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-458593075626194944}} 
[2026-08-19 03:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":158571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:23:06] local.INFO: GPS data processed {"connection_id":158571,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:23:06] local.INFO: Acknowledgment sent {"connection_id":158571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:23:37] local.INFO: TCP Data received {"connection_id":158571,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016dc4328012cf9d0000706bfa0000b006b2e..."} 
[2026-08-19 03:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016dc4328012cf9d0000706bfa0000b006b2e..."} 
[2026-08-19 03:23:37] local.INFO: Processing buffer {"connection_id":158571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016dc4328012cf9d0000706bfa0000b006b2e..."} 
[2026-08-19 03:23:37] local.INFO: Packet analysis {"connection_id":158571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016dc"} 
[2026-08-19 03:23:37] local.INFO: Extracted packet for processing {"connection_id":158571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016dc"} 
[2026-08-19 03:23:37] local.INFO: GPS Element Parsed {"raw_longitude":754569216,"raw_latitude":117882784,"longitude_deg":75.4569216,"latitude_deg":11.7882784,"altitude":11,"angle":107,"satellites":46,"speed":59,"hex_longitude":"2cf9d000","hex_latitude":"0706bfa0","is_valid_coordinates":true} 
[2026-08-19 03:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495020544001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384990070865657856,"note":"Value kept but may cause issues"} 
[2026-08-19 03:23:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-453385788557916160,"note":"Value kept but may cause issues"} 
[2026-08-19 03:23:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 03:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787089929000,"timestamp_ms":1787089929000,"timestamp_seconds":1787089929,"priority":1,"record_length":96,"hex_timestamp":"000001a016dc4328"} 
[2026-08-19 03:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:23: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-08-19 03:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 03:23:37] 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-08-19 03:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495020544001,"66":27158,"83":41728,"24":59,"16":384990070865657856,"44":-453385788557916160},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-08-19 03:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495020544001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384990070865657856,"km_value":384990070865657.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:23:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-453385788557916160,"description":"Unknown IO ID 44"} 
[2026-08-19 03:23:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457495020544001,"power":27158,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-453385788557916160}} 
[2026-08-19 03:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":158571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:23:37] local.INFO: GPS data processed {"connection_id":158571,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:23:37] local.INFO: Acknowledgment sent {"connection_id":158571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:24:00] local.INFO: TCP Data received {"connection_id":157302,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:24:00] local.INFO: Processing buffer {"connection_id":157302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:24:00] local.INFO: IMEI packet received {"connection_id":157302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":157302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:24:01] local.INFO: TCP Data received {"connection_id":157302,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:24:01] local.INFO: Processing buffer {"connection_id":157302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:24:01] local.INFO: IMEI packet received {"connection_id":157302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":157302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:24:05] local.INFO: TCP Data received {"connection_id":157302,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:24:05] local.INFO: Processing buffer {"connection_id":157302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:24:05] local.INFO: IMEI packet received {"connection_id":157302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":157302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:24:06] local.INFO: TCP Data received {"connection_id":157302,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016dc5a98012cf9f2c00706b808000800622e..."} 
[2026-08-19 03:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016dc5a98012cf9f2c00706b808000800622e..."} 
[2026-08-19 03:24:06] local.INFO: Processing buffer {"connection_id":157302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016dc5a98012cf9f2c00706b808000800622e..."} 
[2026-08-19 03:24:06] local.INFO: Packet analysis {"connection_id":157302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016dc"} 
[2026-08-19 03:24:06] local.INFO: Extracted packet for processing {"connection_id":157302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016dc"} 
[2026-08-19 03:24:06] local.INFO: GPS Element Parsed {"raw_longitude":754578112,"raw_latitude":117880840,"longitude_deg":75.4578112,"latitude_deg":11.788084,"altitude":8,"angle":98,"satellites":46,"speed":60,"hex_longitude":"2cf9f2c0","hex_latitude":"0706b808","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495021824001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384990500362387456,"note":"Value kept but may cause issues"} 
[2026-08-19 03:24:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-445856332931686400,"note":"Value kept but may cause issues"} 
[2026-08-19 03:24:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 03:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787089935000,"timestamp_ms":1787089935000,"timestamp_seconds":1787089935,"priority":1,"record_length":96,"hex_timestamp":"000001a016dc5a98"} 
[2026-08-19 03:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:24: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-08-19 03: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-19 03:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:24:06] 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-08-19 03:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495021824001,"66":27332,"83":41728,"24":60,"16":384990500362387456,"44":-445856332931686400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-08-19 03:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495021824001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384990500362387456,"km_value":384990500362387.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:24:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-445856332931686400,"description":"Unknown IO ID 44"} 
[2026-08-19 03:24:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457495021824001,"power":27332,"unknown_83":41728,"ignition":60,"odometer":null,"unknown_44":-445856332931686400}} 
[2026-08-19 03:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":157302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:24:06] local.INFO: GPS data processed {"connection_id":157302,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:24:06] local.INFO: Acknowledgment sent {"connection_id":157302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:24:43] local.INFO: TCP Data received {"connection_id":157302,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016ddb640012cfbd8c007068610000b005f30..."} 
[2026-08-19 03:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016ddb640012cfbd8c007068610000b005f30..."} 
[2026-08-19 03:24:43] local.INFO: Processing buffer {"connection_id":157302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016ddb640012cfbd8c007068610000b005f30..."} 
[2026-08-19 03:24:43] local.INFO: Packet analysis {"connection_id":157302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016dd"} 
[2026-08-19 03:24:43] local.INFO: Extracted packet for processing {"connection_id":157302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016dd"} 
[2026-08-19 03:24:43] local.INFO: GPS Element Parsed {"raw_longitude":754702528,"raw_latitude":117868048,"longitude_deg":75.4702528,"latitude_deg":11.7868048,"altitude":11,"angle":95,"satellites":48,"speed":59,"hex_longitude":"2cfbd8c0","hex_latitude":"07068610","is_valid_coordinates":true} 
[2026-08-19 03:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495044352001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384996440302157824,"note":"Value kept but may cause issues"} 
[2026-08-19 03:24:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-310466869137383424,"note":"Value kept but may cause issues"} 
[2026-08-19 03:24:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 03:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787090024000,"timestamp_ms":1787090024000,"timestamp_seconds":1787090024,"priority":1,"record_length":96,"hex_timestamp":"000001a016ddb640"} 
[2026-08-19 03:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 03:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495044352001,"66":27332,"83":41728,"24":59,"16":384996440302157824,"44":-310466869137383424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-08-19 03:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495044352001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:24:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384996440302157824,"km_value":384996440302157.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:24:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-310466869137383424,"description":"Unknown IO ID 44"} 
[2026-08-19 03:24:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457495044352001,"power":27332,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-310466869137383424}} 
[2026-08-19 03:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":157302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:24:43] local.INFO: GPS data processed {"connection_id":157302,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:24:43] local.INFO: Acknowledgment sent {"connection_id":157302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:25:00] local.INFO: TCP Data received {"connection_id":157671,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:25:00] local.INFO: Processing buffer {"connection_id":157671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:25:00] local.INFO: IMEI packet received {"connection_id":157671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":157671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:25:04] local.INFO: TCP Data received {"connection_id":157671,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:25:04] local.INFO: Processing buffer {"connection_id":157671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:25:04] local.INFO: IMEI packet received {"connection_id":157671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":157671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:25:05] local.INFO: TCP Data received {"connection_id":157671,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:25:05] local.INFO: Processing buffer {"connection_id":157671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:25:05] local.INFO: IMEI packet received {"connection_id":157671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":157671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:25:09] local.INFO: TCP Data received {"connection_id":157671,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016ddcdb0012cfbfcc0070682e00009005e30..."} 
[2026-08-19 03:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016ddcdb0012cfbfcc0070682e00009005e30..."} 
[2026-08-19 03:25:09] local.INFO: Processing buffer {"connection_id":157671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016ddcdb0012cfbfcc0070682e00009005e30..."} 
[2026-08-19 03:25:09] local.INFO: Packet analysis {"connection_id":157671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016dd"} 
[2026-08-19 03:25:09] local.INFO: Extracted packet for processing {"connection_id":157671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016dd"} 
[2026-08-19 03:25:09] local.INFO: GPS Element Parsed {"raw_longitude":754711744,"raw_latitude":117867232,"longitude_deg":75.4711744,"latitude_deg":11.7867232,"altitude":9,"angle":94,"satellites":48,"speed":61,"hex_longitude":"2cfbfcc0","hex_latitude":"070682e0","is_valid_coordinates":true} 
[2026-08-19 03:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495046144001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384996878388822016,"note":"Value kept but may cause issues"} 
[2026-08-19 03:25:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-299278238813384704,"note":"Value kept but may cause issues"} 
[2026-08-19 03:25:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 03:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787090030000,"timestamp_ms":1787090030000,"timestamp_seconds":1787090030,"priority":1,"record_length":96,"hex_timestamp":"000001a016ddcdb0"} 
[2026-08-19 03:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:25: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-08-19 03:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 03:25:09] 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-08-19 03:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:25:09] 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-08-19 03:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495046144001,"66":27104,"83":41728,"24":61,"16":384996878388822016,"44":-299278238813384704},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-08-19 03:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495046144001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:25:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384996878388822016,"km_value":384996878388822.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:25:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-299278238813384704,"description":"Unknown IO ID 44"} 
[2026-08-19 03:25:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457495046144001,"power":27104,"unknown_83":41728,"ignition":61,"odometer":null,"unknown_44":-299278238813384704}} 
[2026-08-19 03:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":157671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:25:09] local.INFO: GPS data processed {"connection_id":157671,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:25:09] local.INFO: Acknowledgment sent {"connection_id":157671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:25:52] local.INFO: TCP Data received {"connection_id":157671,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016dde520012cfc208007067fa80008005f30..."} 
[2026-08-19 03:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016dde520012cfc208007067fa80008005f30..."} 
[2026-08-19 03:25:52] local.INFO: Processing buffer {"connection_id":157671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016dde520012cfc208007067fa80008005f30..."} 
[2026-08-19 03:25:52] local.INFO: Packet analysis {"connection_id":157671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016dd"} 
[2026-08-19 03:25:52] local.INFO: Extracted packet for processing {"connection_id":157671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016dd"} 
[2026-08-19 03:25:52] local.INFO: GPS Element Parsed {"raw_longitude":754720896,"raw_latitude":117866408,"longitude_deg":75.4720896,"latitude_deg":11.7866408,"altitude":8,"angle":95,"satellites":48,"speed":59,"hex_longitude":"2cfc2080","hex_latitude":"07067fa8","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495047680001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384997316475486208,"note":"Value kept but may cause issues"} 
[2026-08-19 03:25:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-289145139652009984,"note":"Value kept but may cause issues"} 
[2026-08-19 03:25:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 03:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787090036000,"timestamp_ms":1787090036000,"timestamp_seconds":1787090036,"priority":1,"record_length":96,"hex_timestamp":"000001a016dde520"} 
[2026-08-19 03:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 03:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":157671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":157671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":157671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:25:52] 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-08-19 03:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495047680001,"66":27321,"83":41728,"24":59,"16":384997316475486208,"44":-289145139652009984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-08-19 03:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495047680001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:25:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384997316475486208,"km_value":384997316475486.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:25:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-289145139652009984,"description":"Unknown IO ID 44"} 
[2026-08-19 03:25:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457495047680001,"power":27321,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-289145139652009984}} 
[2026-08-19 03:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":157671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:25:52] local.INFO: GPS data processed {"connection_id":157671,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:25:52] local.INFO: Acknowledgment sent {"connection_id":157671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:26:00] local.INFO: TCP Data received {"connection_id":159853,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:26:00] local.INFO: Processing buffer {"connection_id":159853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:26:00] local.INFO: IMEI packet received {"connection_id":159853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":159853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:26:01] local.INFO: TCP Data received {"connection_id":159853,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:26:01] local.INFO: Processing buffer {"connection_id":159853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:26:01] local.INFO: IMEI packet received {"connection_id":159853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":159853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:26:05] local.INFO: TCP Data received {"connection_id":159853,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:26:05] local.INFO: Processing buffer {"connection_id":159853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:26:05] local.INFO: IMEI packet received {"connection_id":159853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":159853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:26:06] local.INFO: TCP Data received {"connection_id":159853,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016de0078012cfc480007067998000900642f..."} 
[2026-08-19 03:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016de0078012cfc480007067998000900642f..."} 
[2026-08-19 03:26:06] local.INFO: Processing buffer {"connection_id":159853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016de0078012cfc480007067998000900642f..."} 
[2026-08-19 03:26:06] local.INFO: Packet analysis {"connection_id":159853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016de"} 
[2026-08-19 03:26:06] local.INFO: Extracted packet for processing {"connection_id":159853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016de"} 
[2026-08-19 03:26:06] local.INFO: GPS Element Parsed {"raw_longitude":754731008,"raw_latitude":117864856,"longitude_deg":75.4731008,"latitude_deg":11.7864856,"altitude":9,"angle":100,"satellites":47,"speed":54,"hex_longitude":"2cfc4800","hex_latitude":"07067998","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495049216001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":384997797511823360,"note":"Value kept but may cause issues"} 
[2026-08-19 03:26:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-279082409234814976,"note":"Value kept but may cause issues"} 
[2026-08-19 03:26:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 03:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787090043000,"timestamp_ms":1787090043000,"timestamp_seconds":1787090043,"priority":1,"record_length":96,"hex_timestamp":"000001a016de0078"} 
[2026-08-19 03:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:26: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-08-19 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 03:26:06] 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-08-19 03: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-08-19 03:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:26:06] 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-08-19 03:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495049216001,"66":27267,"83":41728,"24":54,"16":384997797511823360,"44":-279082409234814976},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-08-19 03:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495049216001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-19 03:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":384997797511823360,"km_value":384997797511823.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:26:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-279082409234814976,"description":"Unknown IO ID 44"} 
[2026-08-19 03:26:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457495049216001,"power":27267,"unknown_83":41728,"ignition":54,"odometer":null,"unknown_44":-279082409234814976}} 
[2026-08-19 03:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":159853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:26:06] local.INFO: GPS data processed {"connection_id":159853,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:26:06] local.INFO: Acknowledgment sent {"connection_id":159853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:26:37] local.INFO: TCP Data received {"connection_id":159853,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016df7778012cfdd28007055ff0000e008331..."} 
[2026-08-19 03:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016df7778012cfdd28007055ff0000e008331..."} 
[2026-08-19 03:26:37] local.INFO: Processing buffer {"connection_id":159853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016df7778012cfdd28007055ff0000e008331..."} 
[2026-08-19 03:26:37] local.INFO: Packet analysis {"connection_id":159853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016df"} 
[2026-08-19 03:26:37] local.INFO: Extracted packet for processing {"connection_id":159853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016df"} 
[2026-08-19 03:26:37] local.INFO: GPS Element Parsed {"raw_longitude":754832000,"raw_latitude":117792752,"longitude_deg":75.4832,"latitude_deg":11.7792752,"altitude":14,"angle":131,"satellites":49,"speed":48,"hex_longitude":"2cfdd280","hex_latitude":"07055ff0","is_valid_coordinates":true} 
[2026-08-19 03:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495073536001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385003806171070464,"note":"Value kept but may cause issues"} 
[2026-08-19 03:26:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-164944306195849216,"note":"Value kept but may cause issues"} 
[2026-08-19 03:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787090139000,"timestamp_ms":1787090139000,"timestamp_seconds":1787090139,"priority":1,"record_length":96,"hex_timestamp":"000001a016df7778"} 
[2026-08-19 03:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 03:26:37] 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-08-19 03:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495073536001,"66":27321,"213":206,"94":10240,"24":48,"16":385003806171070464,"44":-164944306195849216},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-08-19 03:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495073536001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:26:37] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-19 03:26:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 03:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385003806171070464,"km_value":385003806171070.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:26:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-164944306195849216,"description":"Unknown IO ID 44"} 
[2026-08-19 03:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495073536001,"power":27321,"unknown_213":206,"unknown_94":10240,"ignition":48,"odometer":null,"unknown_44":-164944306195849216}} 
[2026-08-19 03:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":159853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:26:37] local.INFO: GPS data processed {"connection_id":159853,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:26:37] local.INFO: Acknowledgment sent {"connection_id":159853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:27:01] local.INFO: TCP Data received {"connection_id":157303,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:27:01] local.INFO: Processing buffer {"connection_id":157303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:27:01] local.INFO: IMEI packet received {"connection_id":157303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":157303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:27:05] local.INFO: TCP Data received {"connection_id":157303,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:27:05] local.INFO: Processing buffer {"connection_id":157303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:27:05] local.INFO: IMEI packet received {"connection_id":157303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":157303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:27:10] local.INFO: TCP Data received {"connection_id":157303,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:27:10] local.INFO: Processing buffer {"connection_id":157303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:27:10] local.INFO: IMEI packet received {"connection_id":157303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":157303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:27:11] local.INFO: TCP Data received {"connection_id":157303,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016df96b8012cfdefc007054690000e008330..."} 
[2026-08-19 03:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016df96b8012cfdefc007054690000e008330..."} 
[2026-08-19 03:27:11] local.INFO: Processing buffer {"connection_id":157303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016df96b8012cfdefc007054690000e008330..."} 
[2026-08-19 03:27:11] local.INFO: Packet analysis {"connection_id":157303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016df"} 
[2026-08-19 03:27:11] local.INFO: Extracted packet for processing {"connection_id":157303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016df"} 
[2026-08-19 03:27:11] local.INFO: GPS Element Parsed {"raw_longitude":754839488,"raw_latitude":117786256,"longitude_deg":75.4839488,"latitude_deg":11.7786256,"altitude":14,"angle":131,"satellites":48,"speed":49,"hex_longitude":"2cfdefc0","hex_latitude":"07054690","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495075584001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385004278617473024,"note":"Value kept but may cause issues"} 
[2026-08-19 03:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-156922269361246208,"note":"Value kept but may cause issues"} 
[2026-08-19 03:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787090147000,"timestamp_ms":1787090147000,"timestamp_seconds":1787090147,"priority":1,"record_length":96,"hex_timestamp":"000001a016df96b8"} 
[2026-08-19 03:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:27: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-08-19 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 03:27:11] 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-08-19 03:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495075584001,"66":26430,"213":206,"94":10240,"24":49,"16":385004278617473024,"44":-156922269361246208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-08-19 03:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495075584001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:27:11] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-19 03:27:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 03:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385004278617473024,"km_value":385004278617473.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-156922269361246208,"description":"Unknown IO ID 44"} 
[2026-08-19 03:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495075584001,"power":26430,"unknown_213":206,"unknown_94":10240,"ignition":49,"odometer":null,"unknown_44":-156922269361246208}} 
[2026-08-19 03:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":157303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:27:11] local.INFO: GPS data processed {"connection_id":157303,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:27:11] local.INFO: Acknowledgment sent {"connection_id":157303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:27:42] local.INFO: TCP Data received {"connection_id":157303,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016dfb210012cfe0a4007052fa0000d008331..."} 
[2026-08-19 03:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016dfb210012cfe0a4007052fa0000d008331..."} 
[2026-08-19 03:27:42] local.INFO: Processing buffer {"connection_id":157303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016dfb210012cfe0a4007052fa0000d008331..."} 
[2026-08-19 03:27:42] local.INFO: Packet analysis {"connection_id":157303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016df"} 
[2026-08-19 03:27:42] local.INFO: Extracted packet for processing {"connection_id":157303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016df"} 
[2026-08-19 03:27:42] local.INFO: GPS Element Parsed {"raw_longitude":754846272,"raw_latitude":117780384,"longitude_deg":75.4846272,"latitude_deg":11.7780384,"altitude":13,"angle":131,"satellites":49,"speed":52,"hex_longitude":"2cfe0a40","hex_latitude":"07052fa0","is_valid_coordinates":true} 
[2026-08-19 03:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495077632001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385004708114202624,"note":"Value kept but may cause issues"} 
[2026-08-19 03:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-148689126294122496,"note":"Value kept but may cause issues"} 
[2026-08-19 03:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787090154000,"timestamp_ms":1787090154000,"timestamp_seconds":1787090154,"priority":1,"record_length":96,"hex_timestamp":"000001a016dfb210"} 
[2026-08-19 03:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:27:42] 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-08-19 03:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 03:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495077632001,"66":27321,"213":206,"94":10240,"24":52,"16":385004708114202624,"44":-148689126294122496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-08-19 03:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495077632001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:27:42] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-19 03:27:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 03:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385004708114202624,"km_value":385004708114202.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-148689126294122496,"description":"Unknown IO ID 44"} 
[2026-08-19 03:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495077632001,"power":27321,"unknown_213":206,"unknown_94":10240,"ignition":52,"odometer":null,"unknown_44":-148689126294122496}} 
[2026-08-19 03:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":157303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:27:42] local.INFO: GPS data processed {"connection_id":157303,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:27:42] local.INFO: Acknowledgment sent {"connection_id":157303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:27:59] local.INFO: TCP Data received {"connection_id":158572,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:27:59] local.INFO: Processing buffer {"connection_id":158572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:27:59] local.INFO: IMEI packet received {"connection_id":158572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":158572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:28:00] local.INFO: TCP Data received {"connection_id":158572,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:28:00] local.INFO: Processing buffer {"connection_id":158572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:28:00] local.INFO: IMEI packet received {"connection_id":158572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":158572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:28:05] local.INFO: TCP Data received {"connection_id":158572,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:28:05] local.INFO: Processing buffer {"connection_id":158572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:28:05] local.INFO: IMEI packet received {"connection_id":158572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":158572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:28:06] local.INFO: TCP Data received {"connection_id":158572,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016dfcd68012cfe260007051750000b008330..."} 
[2026-08-19 03:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016dfcd68012cfe260007051750000b008330..."} 
[2026-08-19 03:28:06] local.INFO: Processing buffer {"connection_id":158572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016dfcd68012cfe260007051750000b008330..."} 
[2026-08-19 03:28:06] local.INFO: Packet analysis {"connection_id":158572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016df"} 
[2026-08-19 03:28:06] local.INFO: Extracted packet for processing {"connection_id":158572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016df"} 
[2026-08-19 03:28:06] local.INFO: GPS Element Parsed {"raw_longitude":754853376,"raw_latitude":117774160,"longitude_deg":75.4853376,"latitude_deg":11.777416,"altitude":11,"angle":131,"satellites":48,"speed":53,"hex_longitude":"2cfe2600","hex_latitude":"07051750","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495079424001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385005163380736000,"note":"Value kept but may cause issues"} 
[2026-08-19 03:28:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-141230039412793344,"note":"Value kept but may cause issues"} 
[2026-08-19 03:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787090161000,"timestamp_ms":1787090161000,"timestamp_seconds":1787090161,"priority":1,"record_length":96,"hex_timestamp":"000001a016dfcd68"} 
[2026-08-19 03:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:28: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-08-19 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 03:28:06] 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-08-19 03: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-08-19 03:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:28:06] 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-08-19 03:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495079424001,"66":27267,"213":206,"94":10240,"24":53,"16":385005163380736000,"44":-141230039412793344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-08-19 03:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495079424001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:28:06] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-19 03:28:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 03:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385005163380736000,"km_value":385005163380736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:28:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-141230039412793344,"description":"Unknown IO ID 44"} 
[2026-08-19 03:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495079424001,"power":27267,"unknown_213":206,"unknown_94":10240,"ignition":53,"odometer":null,"unknown_44":-141230039412793344}} 
[2026-08-19 03:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":158572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:28:06] local.INFO: GPS data processed {"connection_id":158572,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:28:06] local.INFO: Acknowledgment sent {"connection_id":158572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:28:37] local.INFO: TCP Data received {"connection_id":158572,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016dfe8c0012cfe42400704ff580009008131..."} 
[2026-08-19 03:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016dfe8c0012cfe42400704ff580009008131..."} 
[2026-08-19 03:28:37] local.INFO: Processing buffer {"connection_id":158572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016dfe8c0012cfe42400704ff580009008131..."} 
[2026-08-19 03:28:37] local.INFO: Packet analysis {"connection_id":158572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016df"} 
[2026-08-19 03:28:37] local.INFO: Extracted packet for processing {"connection_id":158572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016df"} 
[2026-08-19 03:28:37] local.INFO: GPS Element Parsed {"raw_longitude":754860608,"raw_latitude":117768024,"longitude_deg":75.4860608,"latitude_deg":11.7768024,"altitude":9,"angle":129,"satellites":49,"speed":53,"hex_longitude":"2cfe4240","hex_latitude":"0704ff58","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495081216001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385005618647269376,"note":"Value kept but may cause issues"} 
[2026-08-19 03:28:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-133419108810665984,"note":"Value kept but may cause issues"} 
[2026-08-19 03:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787090168000,"timestamp_ms":1787090168000,"timestamp_seconds":1787090168,"priority":1,"record_length":96,"hex_timestamp":"000001a016dfe8c0"} 
[2026-08-19 03:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:28: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-08-19 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 03:28:37] 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-08-19 03: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-08-19 03:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495081216001,"66":27093,"213":206,"94":10240,"24":53,"16":385005618647269376,"44":-133419108810665984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-08-19 03:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495081216001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:28:37] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-19 03:28:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 03:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385005618647269376,"km_value":385005618647269.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:28:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-133419108810665984,"description":"Unknown IO ID 44"} 
[2026-08-19 03:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495081216001,"power":27093,"unknown_213":206,"unknown_94":10240,"ignition":53,"odometer":null,"unknown_44":-133419108810665984}} 
[2026-08-19 03:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":158572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:28:37] local.INFO: GPS data processed {"connection_id":158572,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:28:37] local.INFO: Acknowledgment sent {"connection_id":158572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:29:00] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:29:00] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:29:00] local.INFO: IMEI packet received {"connection_id":159854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":159854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:29:03] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:29:03] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:29:03] local.INFO: IMEI packet received {"connection_id":159854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":159854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:29:05] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:29:05] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:29:05] local.INFO: IMEI packet received {"connection_id":159854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":159854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:29:06] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e19a58012cff948007042900000c006f2d..."} 
[2026-08-19 03:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e19a58012cff948007042900000c006f2d..."} 
[2026-08-19 03:29:06] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e19a58012cff948007042900000c006f2d..."} 
[2026-08-19 03:29:06] local.INFO: Packet analysis {"connection_id":159854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e1"} 
[2026-08-19 03:29:06] local.INFO: Extracted packet for processing {"connection_id":159854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e1"} 
[2026-08-19 03:29:06] local.INFO: GPS Element Parsed {"raw_longitude":754947200,"raw_latitude":117713152,"longitude_deg":75.49472,"latitude_deg":11.7713152,"altitude":12,"angle":111,"satellites":45,"speed":36,"hex_longitude":"2cff9480","hex_latitude":"07042900","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495107072001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385010562154627072,"note":"Value kept but may cause issues"} 
[2026-08-19 03:29:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-40250891534067712,"note":"Value kept but may cause issues"} 
[2026-08-19 03:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787090279000,"timestamp_ms":1787090279000,"timestamp_seconds":1787090279,"priority":1,"record_length":96,"hex_timestamp":"000001a016e19a58"} 
[2026-08-19 03:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 03:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:29:06] 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-08-19 03:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495107072001,"66":27071,"91":206,"94":10240,"24":36,"16":385010562154627072,"44":-40250891534067712},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,94,24,16,44]} 
[2026-08-19 03:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495107072001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:29:06] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-19 03:29:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 03:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385010562154627072,"km_value":385010562154627.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:29:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-40250891534067712,"description":"Unknown IO ID 44"} 
[2026-08-19 03:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495107072001,"power":27071,"unknown_91":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_44":-40250891534067712}} 
[2026-08-19 03:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":159854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:29:06] local.INFO: GPS data processed {"connection_id":159854,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:29:06] local.INFO: Acknowledgment sent {"connection_id":159854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:29:11] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e1bd80012cffb58007041cb8000b006e30..."} 
[2026-08-19 03:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e1bd80012cffb58007041cb8000b006e30..."} 
[2026-08-19 03:29:11] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e1bd80012cffb58007041cb8000b006e30..."} 
[2026-08-19 03:29:11] local.INFO: Packet analysis {"connection_id":159854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e1"} 
[2026-08-19 03:29:11] local.INFO: Extracted packet for processing {"connection_id":159854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e1"} 
[2026-08-19 03:29:11] local.INFO: GPS Element Parsed {"raw_longitude":754955648,"raw_latitude":117710008,"longitude_deg":75.4955648,"latitude_deg":11.7710008,"altitude":11,"angle":110,"satellites":48,"speed":42,"hex_longitude":"2cffb580","hex_latitude":"07041cb8","is_valid_coordinates":true} 
[2026-08-19 03:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495111424001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385010991651356672,"note":"Value kept but may cause issues"} 
[2026-08-19 03:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-30258529861828608,"note":"Value kept but may cause issues"} 
[2026-08-19 03:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787090288000,"timestamp_ms":1787090288000,"timestamp_seconds":1787090288,"priority":1,"record_length":96,"hex_timestamp":"000001a016e1bd80"} 
[2026-08-19 03:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-19 03:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495111424001,"66":27234,"89":206,"94":10240,"24":42,"16":385010991651356672,"44":-30258529861828608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,44]} 
[2026-08-19 03:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495111424001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:29:11] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-19 03:29:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 03:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385010991651356672,"km_value":385010991651356.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-30258529861828608,"description":"Unknown IO ID 44"} 
[2026-08-19 03:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495111424001,"power":27234,"unknown_89":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_44":-30258529861828608}} 
[2026-08-19 03:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":159854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:29:11] local.INFO: GPS data processed {"connection_id":159854,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:29:11] local.INFO: Acknowledgment sent {"connection_id":159854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:29:44] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e1dcc0012cffd70007041040000b006d2c..."} 
[2026-08-19 03:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e1dcc0012cffd70007041040000b006d2c..."} 
[2026-08-19 03:29:44] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e1dcc0012cffd70007041040000b006d2c..."} 
[2026-08-19 03:29:44] local.INFO: Packet analysis {"connection_id":159854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e1"} 
[2026-08-19 03:29:44] local.INFO: Extracted packet for processing {"connection_id":159854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e1"} 
[2026-08-19 03:29:44] local.INFO: GPS Element Parsed {"raw_longitude":754964224,"raw_latitude":117706816,"longitude_deg":75.4964224,"latitude_deg":11.7706816,"altitude":11,"angle":109,"satellites":44,"speed":46,"hex_longitude":"2cffd700","hex_latitude":"07041040","is_valid_coordinates":true} 
[2026-08-19 03:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495113728001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385011425443053568,"note":"Value kept but may cause issues"} 
[2026-08-19 03:29:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-20969855631181824,"note":"Value kept but may cause issues"} 
[2026-08-19 03:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787090296000,"timestamp_ms":1787090296000,"timestamp_seconds":1787090296,"priority":1,"record_length":96,"hex_timestamp":"000001a016e1dcc0"} 
[2026-08-19 03:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 03:29:44] 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-08-19 03:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495113728001,"66":27300,"89":206,"94":10240,"24":46,"16":385011425443053568,"44":-20969855631181824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,44]} 
[2026-08-19 03:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495113728001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:29:44] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-19 03:29:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 03:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385011425443053568,"km_value":385011425443053.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:29:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-20969855631181824,"description":"Unknown IO ID 44"} 
[2026-08-19 03:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495113728001,"power":27300,"unknown_89":206,"unknown_94":10240,"ignition":46,"odometer":null,"unknown_44":-20969855631181824}} 
[2026-08-19 03:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":159854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:29:44] local.INFO: GPS data processed {"connection_id":159854,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:29:44] local.INFO: Acknowledgment sent {"connection_id":159854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:30:04] local.INFO: TCP Data received {"connection_id":157672,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:30:04] local.INFO: Processing buffer {"connection_id":157672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:30:04] local.INFO: IMEI packet received {"connection_id":157672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":157672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:30:15] local.INFO: TCP Data received {"connection_id":157672,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 03:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157672,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 03:30:15] local.INFO: Processing buffer {"connection_id":157672,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 03:30:15] local.INFO: IMEI packet received {"connection_id":157672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":157672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:30:17] local.INFO: TCP Data received {"connection_id":157672,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e1fc00012cfffb0007040310000b006e2f..."} 
[2026-08-19 03:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e1fc00012cfffb0007040310000b006e2f..."} 
[2026-08-19 03:30:17] local.INFO: Processing buffer {"connection_id":157672,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a016..."} 
[2026-08-19 03:30:17] local.INFO: IMEI packet received {"connection_id":157672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":157672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:30:17] local.INFO: TCP Data received {"connection_id":157672,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e21b40012d0020400703f578000b006e30..."} 
[2026-08-19 03:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e21b40012d0020400703f578000b006e30..."} 
[2026-08-19 03:30:17] local.INFO: Processing buffer {"connection_id":157672,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a016e1fc00012cfffb0007040310000b006e2f..."} 
[2026-08-19 03:30:17] local.INFO: Packet analysis {"connection_id":157672,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a016e1"} 
[2026-08-19 03:30:17] local.INFO: Extracted packet for processing {"connection_id":157672,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e1"} 
[2026-08-19 03:30:17] local.INFO: GPS Element Parsed {"raw_longitude":754973440,"raw_latitude":117703440,"longitude_deg":75.497344,"latitude_deg":11.770344,"altitude":11,"angle":110,"satellites":47,"speed":49,"hex_longitude":"2cfffb00","hex_latitude":"07040310","is_valid_coordinates":true} 
[2026-08-19 03:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495115776001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385011893594488832,"note":"Value kept but may cause issues"} 
[2026-08-19 03:30:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-11540443912192000,"note":"Value kept but may cause issues"} 
[2026-08-19 03:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787090304000,"timestamp_ms":1787090304000,"timestamp_seconds":1787090304,"priority":1,"record_length":96,"hex_timestamp":"000001a016e1fc00"} 
[2026-08-19 03:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:30: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-08-19 03:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 03:30:17] 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-08-19 03:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:30: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-08-19 03:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495115776001,"66":26267,"89":206,"94":10240,"24":49,"16":385011893594488832,"44":-11540443912192000},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,44]} 
[2026-08-19 03:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495115776001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:30:17] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-19 03:30:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 03:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385011893594488832,"km_value":385011893594488.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:30:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-11540443912192000,"description":"Unknown IO ID 44"} 
[2026-08-19 03:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495115776001,"power":26267,"unknown_89":206,"unknown_94":10240,"ignition":49,"odometer":null,"unknown_44":-11540443912192000}} 
[2026-08-19 03:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":157672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:30:17] local.INFO: GPS data processed {"connection_id":157672,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:30:17] local.INFO: Acknowledgment sent {"connection_id":157672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:30:17] local.INFO: Packet analysis {"connection_id":157672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e2"} 
[2026-08-19 03:30:17] local.INFO: Extracted packet for processing {"connection_id":157672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e2"} 
[2026-08-19 03:30:17] local.INFO: GPS Element Parsed {"raw_longitude":754982976,"raw_latitude":117699960,"longitude_deg":75.4982976,"latitude_deg":11.769996,"altitude":11,"angle":110,"satellites":48,"speed":50,"hex_longitude":"2d002040","hex_latitude":"0703f578","is_valid_coordinates":true} 
[2026-08-19 03:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495117824001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385012374630825984,"note":"Value kept but may cause issues"} 
[2026-08-19 03:30:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407344751472640,"note":"Value kept but may cause issues"} 
[2026-08-19 03:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787090312000,"timestamp_ms":1787090312000,"timestamp_seconds":1787090312,"priority":1,"record_length":96,"hex_timestamp":"000001a016e21b40"} 
[2026-08-19 03:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:30: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-08-19 03:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-19 03:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:30: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-08-19 03:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495117824001,"66":27332,"89":206,"94":10240,"24":50,"16":385012374630825984,"44":-1407344751472640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,44]} 
[2026-08-19 03:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495117824001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:30:17] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-19 03:30:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 03:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385012374630825984,"km_value":385012374630826.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:30:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407344751472640,"description":"Unknown IO ID 44"} 
[2026-08-19 03:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495117824001,"power":27332,"unknown_89":206,"unknown_94":10240,"ignition":50,"odometer":null,"unknown_44":-1407344751472640}} 
[2026-08-19 03:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":157672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:30:17] local.INFO: GPS data processed {"connection_id":157672,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:30:17] local.INFO: Acknowledgment sent {"connection_id":157672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:30:18] local.INFO: TCP Data received {"connection_id":157672,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e23a80012d0045800703e790000c006e30..."} 
[2026-08-19 03:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e23a80012d0045800703e790000c006e30..."} 
[2026-08-19 03:30:18] local.INFO: Processing buffer {"connection_id":157672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e23a80012d0045800703e790000c006e30..."} 
[2026-08-19 03:30:18] local.INFO: Packet analysis {"connection_id":157672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e2"} 
[2026-08-19 03:30:18] local.INFO: Extracted packet for processing {"connection_id":157672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e2"} 
[2026-08-19 03:30:18] local.INFO: GPS Element Parsed {"raw_longitude":754992512,"raw_latitude":117696400,"longitude_deg":75.4992512,"latitude_deg":11.76964,"altitude":12,"angle":110,"satellites":48,"speed":49,"hex_longitude":"2d004580","hex_latitude":"0703e790","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495119872001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385012859962130432,"note":"Value kept but may cause issues"} 
[2026-08-19 03:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9077598130108416,"note":"Value kept but may cause issues"} 
[2026-08-19 03:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787090320000,"timestamp_ms":1787090320000,"timestamp_seconds":1787090320,"priority":1,"record_length":96,"hex_timestamp":"000001a016e23a80"} 
[2026-08-19 03:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:30: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-08-19 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 03:30:18] 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-08-19 03: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-08-19 03:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:30: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-08-19 03:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495119872001,"66":27300,"89":206,"94":10240,"24":49,"16":385012859962130432,"45":9077598130108416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,45]} 
[2026-08-19 03:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495119872001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:30:18] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-19 03:30:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 03:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385012859962130432,"km_value":385012859962130.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9077598130108416,"description":"Unknown IO ID 45"} 
[2026-08-19 03:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495119872001,"power":27300,"unknown_89":206,"unknown_94":10240,"ignition":49,"odometer":null,"unknown_45":9077598130108416}} 
[2026-08-19 03:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":157672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:30:18] local.INFO: GPS data processed {"connection_id":157672,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:30:18] local.INFO: Acknowledgment sent {"connection_id":157672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:31:00] local.INFO: TCP Data received {"connection_id":159855,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:31:00] local.INFO: Processing buffer {"connection_id":159855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:31:00] local.INFO: IMEI packet received {"connection_id":159855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":159855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:31:05] local.INFO: TCP Data received {"connection_id":159855,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:31:05] local.INFO: Processing buffer {"connection_id":159855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:31:05] local.INFO: IMEI packet received {"connection_id":159855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":159855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:31:06] local.INFO: TCP Data received {"connection_id":159855,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e259c0012d0068c00703daa0000f006d30..."} 
[2026-08-19 03:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e259c0012d0068c00703daa0000f006d30..."} 
[2026-08-19 03:31:06] local.INFO: Processing buffer {"connection_id":159855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e259c0012d0068c00703daa0000f006d30..."} 
[2026-08-19 03:31:06] local.INFO: Packet analysis {"connection_id":159855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e2"} 
[2026-08-19 03:31:06] local.INFO: Extracted packet for processing {"connection_id":159855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e2"} 
[2026-08-19 03:31:06] local.INFO: GPS Element Parsed {"raw_longitude":755001536,"raw_latitude":117693088,"longitude_deg":75.5001536,"latitude_deg":11.7693088,"altitude":15,"angle":109,"satellites":48,"speed":45,"hex_longitude":"2d0068c0","hex_latitude":"0703daa0","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495121920001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385013315228663808,"note":"Value kept but may cause issues"} 
[2026-08-19 03:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":19562541011668992,"note":"Value kept but may cause issues"} 
[2026-08-19 03:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787090328000,"timestamp_ms":1787090328000,"timestamp_seconds":1787090328,"priority":1,"record_length":96,"hex_timestamp":"000001a016e259c0"} 
[2026-08-19 03:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:31: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-08-19 03: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 03:31:06] 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-08-19 03: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-08-19 03:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:31:06] 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-08-19 03:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495121920001,"66":27234,"89":206,"94":10240,"24":45,"16":385013315228663808,"45":19562541011668992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,45]} 
[2026-08-19 03:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495121920001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:31:06] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-19 03:31:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 03:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385013315228663808,"km_value":385013315228663.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":19562541011668992,"description":"Unknown IO ID 45"} 
[2026-08-19 03:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495121920001,"power":27234,"unknown_89":206,"unknown_94":10240,"ignition":45,"odometer":null,"unknown_45":19562541011668992}} 
[2026-08-19 03:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":159855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:31:06] local.INFO: GPS data processed {"connection_id":159855,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:31:06] local.INFO: Acknowledgment sent {"connection_id":159855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:31:37] local.INFO: TCP Data received {"connection_id":159855,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e478b8012d0240c007025090000c00a131..."} 
[2026-08-19 03:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e478b8012d0240c007025090000c00a131..."} 
[2026-08-19 03:31:37] local.INFO: Processing buffer {"connection_id":159855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e478b8012d0240c007025090000c00a131..."} 
[2026-08-19 03:31:37] local.INFO: Packet analysis {"connection_id":159855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e4"} 
[2026-08-19 03:31:37] local.INFO: Extracted packet for processing {"connection_id":159855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e4"} 
[2026-08-19 03:31:37] local.INFO: GPS Element Parsed {"raw_longitude":755122368,"raw_latitude":117592208,"longitude_deg":75.5122368,"latitude_deg":11.7592208,"altitude":12,"angle":161,"satellites":49,"speed":48,"hex_longitude":"2d0240c0","hex_latitude":"07025090","is_valid_coordinates":true} 
[2026-08-19 03:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495157504001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385018129887002624,"note":"Value kept but may cause issues"} 
[2026-08-19 03:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":158963023203262464,"note":"Value kept but may cause issues"} 
[2026-08-19 03:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787090467000,"timestamp_ms":1787090467000,"timestamp_seconds":1787090467,"priority":1,"record_length":96,"hex_timestamp":"000001a016e478b8"} 
[2026-08-19 03:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 03:31:37] 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-08-19 03:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495157504001,"66":27365,"154":206,"94":10240,"24":48,"16":385018129887002624,"45":158963023203262464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,94,24,16,45]} 
[2026-08-19 03:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495157504001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:31:37] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 03:31:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 03:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385018129887002624,"km_value":385018129887002.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":158963023203262464,"description":"Unknown IO ID 45"} 
[2026-08-19 03:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495157504001,"power":27365,"unknown_154":206,"unknown_94":10240,"ignition":48,"odometer":null,"unknown_45":158963023203262464}} 
[2026-08-19 03:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":159855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:31:37] local.INFO: GPS data processed {"connection_id":159855,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:31:37] local.INFO: Acknowledgment sent {"connection_id":159855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:32:00] local.INFO: TCP Data received {"connection_id":157673,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:32:00] local.INFO: Processing buffer {"connection_id":157673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:32:00] local.INFO: IMEI packet received {"connection_id":157673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":157673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:32:05] local.INFO: TCP Data received {"connection_id":157673,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:32:05] local.INFO: Processing buffer {"connection_id":157673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:32:05] local.INFO: IMEI packet received {"connection_id":157673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":157673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:32:06] local.INFO: TCP Data received {"connection_id":157673,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:32:06] local.INFO: Processing buffer {"connection_id":157673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:32:06] local.INFO: IMEI packet received {"connection_id":157673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":157673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:32:17] local.INFO: TCP Data received {"connection_id":157673,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:32:17] local.INFO: Processing buffer {"connection_id":157673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:32:17] local.INFO: IMEI packet received {"connection_id":157673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":157673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:32:19] local.INFO: TCP Data received {"connection_id":157673,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e497f8012d024c8007022d40000b00a131..."} 
[2026-08-19 03:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e497f8012d024c8007022d40000b00a131..."} 
[2026-08-19 03:32:19] local.INFO: Processing buffer {"connection_id":157673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e497f8012d024c8007022d40000b00a131..."} 
[2026-08-19 03:32:19] local.INFO: Packet analysis {"connection_id":157673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e4"} 
[2026-08-19 03:32:19] local.INFO: Extracted packet for processing {"connection_id":157673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e4"} 
[2026-08-19 03:32:19] local.INFO: GPS Element Parsed {"raw_longitude":755125376,"raw_latitude":117583168,"longitude_deg":75.5125376,"latitude_deg":11.7583168,"altitude":11,"angle":161,"satellites":49,"speed":46,"hex_longitude":"2d024c80","hex_latitude":"07022d40","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495159552001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385018589448503296,"note":"Value kept but may cause issues"} 
[2026-08-19 03:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":162340722921476096,"note":"Value kept but may cause issues"} 
[2026-08-19 03:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787090475000,"timestamp_ms":1787090475000,"timestamp_seconds":1787090475,"priority":1,"record_length":96,"hex_timestamp":"000001a016e497f8"} 
[2026-08-19 03:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:32: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-08-19 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 03:32:19] 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-08-19 03: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-08-19 03:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:32: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-08-19 03:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495159552001,"66":27234,"154":206,"94":10240,"24":46,"16":385018589448503296,"45":162340722921476096},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,94,24,16,45]} 
[2026-08-19 03:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495159552001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:32:19] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 03:32:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 03:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385018589448503296,"km_value":385018589448503.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":162340722921476096,"description":"Unknown IO ID 45"} 
[2026-08-19 03:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495159552001,"power":27234,"unknown_154":206,"unknown_94":10240,"ignition":46,"odometer":null,"unknown_45":162340722921476096}} 
[2026-08-19 03:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":157673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:32:19] local.INFO: GPS data processed {"connection_id":157673,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:32:19] local.INFO: Acknowledgment sent {"connection_id":157673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:32:20] local.INFO: TCP Data received {"connection_id":157673,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e4b738012d025840070208f8000a00a230..."} 
[2026-08-19 03:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e4b738012d025840070208f8000a00a230..."} 
[2026-08-19 03:32:20] local.INFO: Processing buffer {"connection_id":157673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e4b738012d025840070208f8000a00a230..."} 
[2026-08-19 03:32:20] local.INFO: Packet analysis {"connection_id":157673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e4"} 
[2026-08-19 03:32:20] local.INFO: Extracted packet for processing {"connection_id":157673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e4"} 
[2026-08-19 03:32:20] local.INFO: GPS Element Parsed {"raw_longitude":755128384,"raw_latitude":117573880,"longitude_deg":75.5128384,"latitude_deg":11.757388,"altitude":10,"angle":162,"satellites":48,"speed":50,"hex_longitude":"2d025840","hex_latitude":"070208f8","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495161600001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385019061894905856,"note":"Value kept but may cause issues"} 
[2026-08-19 03:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":165648053895512064,"note":"Value kept but may cause issues"} 
[2026-08-19 03:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787090483000,"timestamp_ms":1787090483000,"timestamp_seconds":1787090483,"priority":1,"record_length":96,"hex_timestamp":"000001a016e4b738"} 
[2026-08-19 03:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:32: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-08-19 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 03:32:20] 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-08-19 03: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-08-19 03:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:32: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-08-19 03:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495161600001,"66":27213,"154":206,"94":10240,"24":50,"16":385019061894905856,"45":165648053895512064},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,94,24,16,45]} 
[2026-08-19 03:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495161600001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:32:20] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 03:32:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 03:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385019061894905856,"km_value":385019061894905.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":165648053895512064,"description":"Unknown IO ID 45"} 
[2026-08-19 03:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495161600001,"power":27213,"unknown_154":206,"unknown_94":10240,"ignition":50,"odometer":null,"unknown_45":165648053895512064}} 
[2026-08-19 03:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":157673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:32:20] local.INFO: GPS data processed {"connection_id":157673,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:32:20] local.INFO: Acknowledgment sent {"connection_id":157673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:32:58] local.INFO: TCP Data received {"connection_id":158573,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:32:58] local.INFO: Processing buffer {"connection_id":158573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:32:58] local.INFO: IMEI packet received {"connection_id":158573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":158573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:33:01] local.INFO: TCP Data received {"connection_id":158573,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:33:01] local.INFO: Processing buffer {"connection_id":158573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:33:01] local.INFO: IMEI packet received {"connection_id":158573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":158573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:33:05] local.INFO: TCP Data received {"connection_id":158573,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:33:05] local.INFO: Processing buffer {"connection_id":158573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:33:05] local.INFO: IMEI packet received {"connection_id":158573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":158573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:33:06] local.INFO: TCP Data received {"connection_id":158573,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e4d290012d0263000701e7c0000900a131..."} 
[2026-08-19 03:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e4d290012d0263000701e7c0000900a131..."} 
[2026-08-19 03:33:06] local.INFO: Processing buffer {"connection_id":158573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e4d290012d0263000701e7c0000900a131..."} 
[2026-08-19 03:33:06] local.INFO: Packet analysis {"connection_id":158573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e4"} 
[2026-08-19 03:33:06] local.INFO: Extracted packet for processing {"connection_id":158573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e4"} 
[2026-08-19 03:33:06] local.INFO: GPS Element Parsed {"raw_longitude":755131136,"raw_latitude":117565376,"longitude_deg":75.5131136,"latitude_deg":11.7565376,"altitude":9,"angle":161,"satellites":49,"speed":51,"hex_longitude":"2d026300","hex_latitude":"0701e7c0","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495163648001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385019495686602752,"note":"Value kept but may cause issues"} 
[2026-08-19 03:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":168955384869484544,"note":"Value kept but may cause issues"} 
[2026-08-19 03:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787090490000,"timestamp_ms":1787090490000,"timestamp_seconds":1787090490,"priority":1,"record_length":96,"hex_timestamp":"000001a016e4d290"} 
[2026-08-19 03:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 03:33:06] 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-08-19 03: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-08-19 03:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:33:06] 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-08-19 03:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495163648001,"66":27321,"154":206,"94":10240,"24":51,"16":385019495686602752,"45":168955384869484544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,94,24,16,45]} 
[2026-08-19 03:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495163648001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:33:06] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 03:33:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 03:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385019495686602752,"km_value":385019495686602.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":168955384869484544,"description":"Unknown IO ID 45"} 
[2026-08-19 03:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495163648001,"power":27321,"unknown_154":206,"unknown_94":10240,"ignition":51,"odometer":null,"unknown_45":168955384869484544}} 
[2026-08-19 03:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":158573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:33:06] local.INFO: GPS data processed {"connection_id":158573,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:33:06] local.INFO: Acknowledgment sent {"connection_id":158573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:33:37] local.INFO: TCP Data received {"connection_id":158573,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e616c8012d02e30007006390000a00a331..."} 
[2026-08-19 03:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e616c8012d02e30007006390000a00a331..."} 
[2026-08-19 03:33:37] local.INFO: Processing buffer {"connection_id":158573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e616c8012d02e30007006390000a00a331..."} 
[2026-08-19 03:33:37] local.INFO: Packet analysis {"connection_id":158573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e6"} 
[2026-08-19 03:33:37] local.INFO: Extracted packet for processing {"connection_id":158573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e6"} 
[2026-08-19 03:33:37] local.INFO: GPS Element Parsed {"raw_longitude":755163904,"raw_latitude":117466000,"longitude_deg":75.5163904,"latitude_deg":11.7466,"altitude":10,"angle":163,"satellites":49,"speed":49,"hex_longitude":"2d02e300","hex_latitude":"07006390","is_valid_coordinates":true} 
[2026-08-19 03:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495184640001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385024559453044736,"note":"Value kept but may cause issues"} 
[2026-08-19 03:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":204702706886567936,"note":"Value kept but may cause issues"} 
[2026-08-19 03:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787090573000,"timestamp_ms":1787090573000,"timestamp_seconds":1787090573,"priority":1,"record_length":96,"hex_timestamp":"000001a016e616c8"} 
[2026-08-19 03:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 03:33:37] 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-08-19 03: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-08-19 03:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495184640001,"66":27245,"79":206,"94":11008,"24":49,"16":385024559453044736,"45":204702706886567936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-08-19 03:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495184640001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:33:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-19 03:33:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385024559453044736,"km_value":385024559453044.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":204702706886567936,"description":"Unknown IO ID 45"} 
[2026-08-19 03:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495184640001,"power":27245,"unknown_79":206,"unknown_94":11008,"ignition":49,"odometer":null,"unknown_45":204702706886567936}} 
[2026-08-19 03:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":158573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:33:37] local.INFO: GPS data processed {"connection_id":158573,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:33:37] local.INFO: Acknowledgment sent {"connection_id":158573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:34:01] local.INFO: TCP Data received {"connection_id":157674,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:34:01] local.INFO: Processing buffer {"connection_id":157674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:34:01] local.INFO: IMEI packet received {"connection_id":157674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":157674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:34:01] local.INFO: TCP Data received {"connection_id":157674,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:34:01] local.INFO: Processing buffer {"connection_id":157674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:34:01] local.INFO: IMEI packet received {"connection_id":157674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":157674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:34:05] local.INFO: TCP Data received {"connection_id":157674,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:34:05] local.INFO: Processing buffer {"connection_id":157674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:34:05] local.INFO: IMEI packet received {"connection_id":157674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":157674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:34:06] local.INFO: TCP Data received {"connection_id":157674,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e63608012d02ee0007003dc8000b00a332..."} 
[2026-08-19 03:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e63608012d02ee0007003dc8000b00a332..."} 
[2026-08-19 03:34:06] local.INFO: Processing buffer {"connection_id":157674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e63608012d02ee0007003dc8000b00a332..."} 
[2026-08-19 03:34:06] local.INFO: Packet analysis {"connection_id":157674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e6"} 
[2026-08-19 03:34:06] local.INFO: Extracted packet for processing {"connection_id":157674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e6"} 
[2026-08-19 03:34:06] local.INFO: GPS Element Parsed {"raw_longitude":755166720,"raw_latitude":117456328,"longitude_deg":75.516672,"latitude_deg":11.7456328,"altitude":11,"angle":163,"satellites":50,"speed":50,"hex_longitude":"2d02ee00","hex_latitude":"07003dc8","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495186688001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":208010037860470784,"note":"Value kept but may cause issues"} 
[2026-08-19 03:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385025049079316480,"note":"Value kept but may cause issues"} 
[2026-08-19 03:34:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 03:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787090581000,"timestamp_ms":1787090581000,"timestamp_seconds":1787090581,"priority":1,"record_length":96,"hex_timestamp":"000001a016e63608"} 
[2026-08-19 03:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 03:34:06] 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-08-19 03: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-08-19 03:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:34:06] 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-08-19 03:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495186688001,"66":27223,"45":208010037860470784,"94":11008,"24":50,"16":385025049079316480},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,94,24,16]} 
[2026-08-19 03:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495186688001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":208010037860470784,"description":"Unknown IO ID 45"} 
[2026-08-19 03:34:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385025049079316480,"km_value":385025049079316.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:34:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457495186688001,"power":27223,"unknown_45":208010037860470784,"unknown_94":11008,"ignition":50,"odometer":null}} 
[2026-08-19 03:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":157674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:34:06] local.INFO: GPS data processed {"connection_id":157674,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:34:06] local.INFO: Acknowledgment sent {"connection_id":157674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:34:37] local.INFO: TCP Data received {"connection_id":157674,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e65548012d02f9c007001888000b00a22d..."} 
[2026-08-19 03:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e65548012d02f9c007001888000b00a22d..."} 
[2026-08-19 03:34:37] local.INFO: Processing buffer {"connection_id":157674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e65548012d02f9c007001888000b00a22d..."} 
[2026-08-19 03:34:37] local.INFO: Packet analysis {"connection_id":157674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e6"} 
[2026-08-19 03:34:37] local.INFO: Extracted packet for processing {"connection_id":157674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e6"} 
[2026-08-19 03:34:37] local.INFO: GPS Element Parsed {"raw_longitude":755169728,"raw_latitude":117446792,"longitude_deg":75.5169728,"latitude_deg":11.7446792,"altitude":11,"angle":162,"satellites":45,"speed":49,"hex_longitude":"2d02f9c0","hex_latitude":"07001888","is_valid_coordinates":true} 
[2026-08-19 03:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495188736001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":211106262601811968,"note":"Value kept but may cause issues"} 
[2026-08-19 03:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385025534410620928,"note":"Value kept but may cause issues"} 
[2026-08-19 03:34:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 03:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787090589000,"timestamp_ms":1787090589000,"timestamp_seconds":1787090589,"priority":1,"record_length":96,"hex_timestamp":"000001a016e65548"} 
[2026-08-19 03:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-19 03:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495188736001,"66":27343,"45":211106262601811968,"94":11008,"24":49,"16":385025534410620928},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,94,24,16]} 
[2026-08-19 03:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495188736001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":211106262601811968,"description":"Unknown IO ID 45"} 
[2026-08-19 03:34:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385025534410620928,"km_value":385025534410620.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:34:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457495188736001,"power":27343,"unknown_45":211106262601811968,"unknown_94":11008,"ignition":49,"odometer":null}} 
[2026-08-19 03:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":157674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:34:37] local.INFO: GPS data processed {"connection_id":157674,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:34:37] local.INFO: Acknowledgment sent {"connection_id":157674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:34:59] local.INFO: TCP Data received {"connection_id":157304,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:34:59] local.INFO: Processing buffer {"connection_id":157304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:34:59] local.INFO: IMEI packet received {"connection_id":157304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":157304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:35:00] local.INFO: TCP Data received {"connection_id":157304,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:35:00] local.INFO: Processing buffer {"connection_id":157304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:35:00] local.INFO: IMEI packet received {"connection_id":157304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":157304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:35:05] local.INFO: TCP Data received {"connection_id":157304,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:35:05] local.INFO: Processing buffer {"connection_id":157304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:35:05] local.INFO: IMEI packet received {"connection_id":157304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":157304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:35:06] local.INFO: TCP Data received {"connection_id":157304,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e67488012d03050006fff440000d00a128..."} 
[2026-08-19 03:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e67488012d03050006fff440000d00a128..."} 
[2026-08-19 03:35:06] local.INFO: Processing buffer {"connection_id":157304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e67488012d03050006fff440000d00a128..."} 
[2026-08-19 03:35:06] local.INFO: Packet analysis {"connection_id":157304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e6"} 
[2026-08-19 03:35:06] local.INFO: Extracted packet for processing {"connection_id":157304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e6"} 
[2026-08-19 03:35:06] local.INFO: GPS Element Parsed {"raw_longitude":755172608,"raw_latitude":117437504,"longitude_deg":75.5172608,"latitude_deg":11.7437504,"altitude":13,"angle":161,"satellites":40,"speed":47,"hex_longitude":"2d030500","hex_latitude":"06fff440","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495190784001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":214413593575720960,"note":"Value kept but may cause issues"} 
[2026-08-19 03:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385026002562056192,"note":"Value kept but may cause issues"} 
[2026-08-19 03:35:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 03:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787090597000,"timestamp_ms":1787090597000,"timestamp_seconds":1787090597,"priority":1,"record_length":96,"hex_timestamp":"000001a016e67488"} 
[2026-08-19 03:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 03:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:35:06] 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-08-19 03:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495190784001,"66":27321,"45":214413593575720960,"94":11008,"24":47,"16":385026002562056192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,94,24,16]} 
[2026-08-19 03:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495190784001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":214413593575720960,"description":"Unknown IO ID 45"} 
[2026-08-19 03:35:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385026002562056192,"km_value":385026002562056.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:35:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457495190784001,"power":27321,"unknown_45":214413593575720960,"unknown_94":11008,"ignition":47,"odometer":null}} 
[2026-08-19 03:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":157304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:35:06] local.INFO: GPS data processed {"connection_id":157304,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:35:06] local.INFO: Acknowledgment sent {"connection_id":157304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:35:37] local.INFO: TCP Data received {"connection_id":157304,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e7c478012d04214006fef300000d00632e..."} 
[2026-08-19 03:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e7c478012d04214006fef300000d00632e..."} 
[2026-08-19 03:35:37] local.INFO: Processing buffer {"connection_id":157304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e7c478012d04214006fef300000d00632e..."} 
[2026-08-19 03:35:37] local.INFO: Packet analysis {"connection_id":157304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e7"} 
[2026-08-19 03:35:37] local.INFO: Extracted packet for processing {"connection_id":157304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e7"} 
[2026-08-19 03:35:37] local.INFO: GPS Element Parsed {"raw_longitude":755245376,"raw_latitude":117371648,"longitude_deg":75.5245376,"latitude_deg":11.7371648,"altitude":13,"angle":99,"satellites":46,"speed":49,"hex_longitude":"2d042140","hex_latitude":"06fef300","is_valid_coordinates":true} 
[2026-08-19 03:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495212800001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385031066328498176,"note":"Value kept but may cause issues"} 
[2026-08-19 03:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":286682293827350528,"note":"Value kept but may cause issues"} 
[2026-08-19 03:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787090683000,"timestamp_ms":1787090683000,"timestamp_seconds":1787090683,"priority":1,"record_length":96,"hex_timestamp":"000001a016e7c478"} 
[2026-08-19 03:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:35: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-08-19 03:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-08-19 03:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495212800001,"66":26147,"209":206,"94":11008,"24":49,"16":385031066328498176,"45":286682293827350528},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,94,24,16,45]} 
[2026-08-19 03:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495212800001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:35:37] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 03:35:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385031066328498176,"km_value":385031066328498.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":286682293827350528,"description":"Unknown IO ID 45"} 
[2026-08-19 03:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495212800001,"power":26147,"unknown_209":206,"unknown_94":11008,"ignition":49,"odometer":null,"unknown_45":286682293827350528}} 
[2026-08-19 03:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":157304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:35:37] local.INFO: GPS data processed {"connection_id":157304,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:35:37] local.INFO: Acknowledgment sent {"connection_id":157304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:36:00] local.INFO: TCP Data received {"connection_id":157305,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:36:00] local.INFO: Processing buffer {"connection_id":157305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:36:00] local.INFO: IMEI packet received {"connection_id":157305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":157305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:36:05] local.INFO: TCP Data received {"connection_id":157305,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:36:05] local.INFO: Processing buffer {"connection_id":157305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:36:05] local.INFO: IMEI packet received {"connection_id":157305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":157305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:36:06] local.INFO: TCP Data received {"connection_id":157305,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e7e3b8012d0446c006feed38000f006233..."} 
[2026-08-19 03:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e7e3b8012d0446c006feed38000f006233..."} 
[2026-08-19 03:36:06] local.INFO: Processing buffer {"connection_id":157305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e7e3b8012d0446c006feed38000f006233..."} 
[2026-08-19 03:36:06] local.INFO: Packet analysis {"connection_id":157305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e7"} 
[2026-08-19 03:36:06] local.INFO: Extracted packet for processing {"connection_id":157305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e7"} 
[2026-08-19 03:36:06] local.INFO: GPS Element Parsed {"raw_longitude":755254976,"raw_latitude":117370168,"longitude_deg":75.5254976,"latitude_deg":11.7370168,"altitude":15,"angle":98,"satellites":51,"speed":46,"hex_longitude":"2d0446c0","hex_latitude":"06feed38","is_valid_coordinates":true} 
[2026-08-19 03:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495214848001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385031530184966144,"note":"Value kept but may cause issues"} 
[2026-08-19 03:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":297589449174482944,"note":"Value kept but may cause issues"} 
[2026-08-19 03:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787090691000,"timestamp_ms":1787090691000,"timestamp_seconds":1787090691,"priority":1,"record_length":96,"hex_timestamp":"000001a016e7e3b8"} 
[2026-08-19 03:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 03:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:36:06] 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-08-19 03:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495214848001,"66":27137,"209":206,"94":11008,"24":46,"16":385031530184966144,"45":297589449174482944},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,94,24,16,45]} 
[2026-08-19 03:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495214848001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:36:06] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 03:36:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385031530184966144,"km_value":385031530184966.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":297589449174482944,"description":"Unknown IO ID 45"} 
[2026-08-19 03:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495214848001,"power":27137,"unknown_209":206,"unknown_94":11008,"ignition":46,"odometer":null,"unknown_45":297589449174482944}} 
[2026-08-19 03:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":157305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:36:06] local.INFO: GPS data processed {"connection_id":157305,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:36:06] local.INFO: Acknowledgment sent {"connection_id":157305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:36:38] local.INFO: TCP Data received {"connection_id":157305,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e802f8012d046c0006fee7180010006233..."} 
[2026-08-19 03:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e802f8012d046c0006fee7180010006233..."} 
[2026-08-19 03:36:38] local.INFO: Processing buffer {"connection_id":157305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e802f8012d046c0006fee7180010006233..."} 
[2026-08-19 03:36:38] local.INFO: Packet analysis {"connection_id":157305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e8"} 
[2026-08-19 03:36:38] local.INFO: Extracted packet for processing {"connection_id":157305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e8"} 
[2026-08-19 03:36:38] local.INFO: GPS Element Parsed {"raw_longitude":755264512,"raw_latitude":117368600,"longitude_deg":75.5264512,"latitude_deg":11.73686,"altitude":16,"angle":98,"satellites":51,"speed":47,"hex_longitude":"2d046c00","hex_latitude":"06fee718","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495216896001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385031989746466816,"note":"Value kept but may cause issues"} 
[2026-08-19 03:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":308144760800753664,"note":"Value kept but may cause issues"} 
[2026-08-19 03:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787090699000,"timestamp_ms":1787090699000,"timestamp_seconds":1787090699,"priority":1,"record_length":96,"hex_timestamp":"000001a016e802f8"} 
[2026-08-19 03:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:36: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-08-19 03: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-08-19 03:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:36:38] 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-08-19 03:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495216896001,"66":27234,"209":206,"94":11008,"24":47,"16":385031989746466816,"45":308144760800753664},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,94,24,16,45]} 
[2026-08-19 03:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495216896001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:36:38] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 03:36:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385031989746466816,"km_value":385031989746466.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":308144760800753664,"description":"Unknown IO ID 45"} 
[2026-08-19 03:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495216896001,"power":27234,"unknown_209":206,"unknown_94":11008,"ignition":47,"odometer":null,"unknown_45":308144760800753664}} 
[2026-08-19 03:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":157305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:36:38] local.INFO: GPS data processed {"connection_id":157305,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:36:38] local.INFO: Acknowledgment sent {"connection_id":157305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:37:05] local.INFO: TCP Data received {"connection_id":157675,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:37:05] local.INFO: Processing buffer {"connection_id":157675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:37:05] local.INFO: IMEI packet received {"connection_id":157675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":157675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:37:09] local.INFO: TCP Data received {"connection_id":157675,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:37:09] local.INFO: Processing buffer {"connection_id":157675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:37:09] local.INFO: IMEI packet received {"connection_id":157675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":157675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:37:14] local.INFO: TCP Data received {"connection_id":157675,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e82238012d0492c006fee138000f006233..."} 
[2026-08-19 03:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e82238012d0492c006fee138000f006233..."} 
[2026-08-19 03:37:14] local.INFO: Processing buffer {"connection_id":157675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e82238012d0492c006fee138000f006233..."} 
[2026-08-19 03:37:14] local.INFO: Packet analysis {"connection_id":157675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e8"} 
[2026-08-19 03:37:14] local.INFO: Extracted packet for processing {"connection_id":157675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e8"} 
[2026-08-19 03:37:14] local.INFO: GPS Element Parsed {"raw_longitude":755274432,"raw_latitude":117367096,"longitude_deg":75.5274432,"latitude_deg":11.7367096,"altitude":15,"angle":98,"satellites":51,"speed":51,"hex_longitude":"2d0492c0","hex_latitude":"06fee138","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495218944001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385032466487836672,"note":"Value kept but may cause issues"} 
[2026-08-19 03:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":318629703682824192,"note":"Value kept but may cause issues"} 
[2026-08-19 03:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787090707000,"timestamp_ms":1787090707000,"timestamp_seconds":1787090707,"priority":1,"record_length":96,"hex_timestamp":"000001a016e82238"} 
[2026-08-19 03:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:37: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-08-19 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 03:37:14] 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-08-19 03: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-08-19 03:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:37:14] 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-08-19 03:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495218944001,"66":27310,"209":206,"94":11008,"24":51,"16":385032466487836672,"45":318629703682824192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,94,24,16,45]} 
[2026-08-19 03:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495218944001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:37:14] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 03:37:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385032466487836672,"km_value":385032466487836.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":318629703682824192,"description":"Unknown IO ID 45"} 
[2026-08-19 03:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495218944001,"power":27310,"unknown_209":206,"unknown_94":11008,"ignition":51,"odometer":null,"unknown_45":318629703682824192}} 
[2026-08-19 03:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":157675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:37:14] local.INFO: GPS data processed {"connection_id":157675,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:37:14] local.INFO: Acknowledgment sent {"connection_id":157675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:37:49] local.INFO: TCP Data received {"connection_id":157675,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e9a4f0012d0610c006fe1a98001a008e32..."} 
[2026-08-19 03:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e9a4f0012d0610c006fe1a98001a008e32..."} 
[2026-08-19 03:37:49] local.INFO: Processing buffer {"connection_id":157675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e9a4f0012d0610c006fe1a98001a008e32..."} 
[2026-08-19 03:37:49] local.INFO: Packet analysis {"connection_id":157675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e9"} 
[2026-08-19 03:37:49] local.INFO: Extracted packet for processing {"connection_id":157675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e9"} 
[2026-08-19 03:37:49] local.INFO: GPS Element Parsed {"raw_longitude":755372224,"raw_latitude":117316248,"longitude_deg":75.5372224,"latitude_deg":11.7316248,"altitude":26,"angle":142,"satellites":50,"speed":45,"hex_longitude":"2d0610c0","hex_latitude":"06fe1a98","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495244288001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385038015585583104,"note":"Value kept but may cause issues"} 
[2026-08-19 03:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":430797481890500608,"note":"Value kept but may cause issues"} 
[2026-08-19 03:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787090806000,"timestamp_ms":1787090806000,"timestamp_seconds":1787090806,"priority":1,"record_length":96,"hex_timestamp":"000001a016e9a4f0"} 
[2026-08-19 03:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:37: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-08-19 03: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-19 03:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":157675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":157675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":157675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:37: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-08-19 03:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495244288001,"66":27267,"208":206,"94":11008,"24":45,"16":385038015585583104,"45":430797481890500608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-08-19 03:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495244288001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:37:49] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 03:37:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385038015585583104,"km_value":385038015585583.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":430797481890500608,"description":"Unknown IO ID 45"} 
[2026-08-19 03:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495244288001,"power":27267,"unknown_208":206,"unknown_94":11008,"ignition":45,"odometer":null,"unknown_45":430797481890500608}} 
[2026-08-19 03:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":157675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:37:49] local.INFO: GPS data processed {"connection_id":157675,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:37:49] local.INFO: Acknowledgment sent {"connection_id":157675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:38:00] local.INFO: TCP Data received {"connection_id":157306,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:38:00] local.INFO: Processing buffer {"connection_id":157306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:38:00] local.INFO: IMEI packet received {"connection_id":157306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":157306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:38:05] local.INFO: TCP Data received {"connection_id":157306,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:38:05] local.INFO: Processing buffer {"connection_id":157306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:38:05] local.INFO: IMEI packet received {"connection_id":157306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":157306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:38:06] local.INFO: TCP Data received {"connection_id":157306,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e9c818012d06284006fdfd98001a008c31..."} 
[2026-08-19 03:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e9c818012d06284006fdfd98001a008c31..."} 
[2026-08-19 03:38:06] local.INFO: Processing buffer {"connection_id":157306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e9c818012d06284006fdfd98001a008c31..."} 
[2026-08-19 03:38:06] local.INFO: Packet analysis {"connection_id":157306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e9"} 
[2026-08-19 03:38:06] local.INFO: Extracted packet for processing {"connection_id":157306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e9"} 
[2026-08-19 03:38:06] local.INFO: GPS Element Parsed {"raw_longitude":755378240,"raw_latitude":117308824,"longitude_deg":75.537824,"latitude_deg":11.7308824,"altitude":26,"angle":140,"satellites":49,"speed":39,"hex_longitude":"2d062840","hex_latitude":"06fdfd98","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495246336001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385038475147083776,"note":"Value kept but may cause issues"} 
[2026-08-19 03:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":437060300120430592,"note":"Value kept but may cause issues"} 
[2026-08-19 03:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787090815000,"timestamp_ms":1787090815000,"timestamp_seconds":1787090815,"priority":1,"record_length":96,"hex_timestamp":"000001a016e9c818"} 
[2026-08-19 03:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 03:38:06] 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-08-19 03: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-08-19 03:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:38:06] 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-08-19 03:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495246336001,"66":27245,"208":206,"94":11008,"24":39,"16":385038475147083776,"45":437060300120430592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-08-19 03:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495246336001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:38:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 03:38:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385038475147083776,"km_value":385038475147083.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":437060300120430592,"description":"Unknown IO ID 45"} 
[2026-08-19 03:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495246336001,"power":27245,"unknown_208":206,"unknown_94":11008,"ignition":39,"odometer":null,"unknown_45":437060300120430592}} 
[2026-08-19 03:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":157306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:38:06] local.INFO: GPS data processed {"connection_id":157306,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:38:06] local.INFO: Acknowledgment sent {"connection_id":157306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:38:37] local.INFO: TCP Data received {"connection_id":157306,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016e9ef28012d063f4006fde140001b008d2e..."} 
[2026-08-19 03:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016e9ef28012d063f4006fde140001b008d2e..."} 
[2026-08-19 03:38:37] local.INFO: Processing buffer {"connection_id":157306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016e9ef28012d063f4006fde140001b008d2e..."} 
[2026-08-19 03:38:37] local.INFO: Packet analysis {"connection_id":157306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016e9"} 
[2026-08-19 03:38:37] local.INFO: Extracted packet for processing {"connection_id":157306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016e9"} 
[2026-08-19 03:38:37] local.INFO: GPS Element Parsed {"raw_longitude":755384128,"raw_latitude":117301568,"longitude_deg":75.5384128,"latitude_deg":11.7301568,"altitude":27,"angle":141,"satellites":46,"speed":35,"hex_longitude":"2d063f40","hex_latitude":"06fde140","is_valid_coordinates":true} 
[2026-08-19 03:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495248640001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385038926118649856,"note":"Value kept but may cause issues"} 
[2026-08-19 03:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":443674962071230464,"note":"Value kept but may cause issues"} 
[2026-08-19 03:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787090825000,"timestamp_ms":1787090825000,"timestamp_seconds":1787090825,"priority":1,"record_length":96,"hex_timestamp":"000001a016e9ef28"} 
[2026-08-19 03:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:38: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-08-19 03:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 03:38:37] 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-08-19 03:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495248640001,"66":27213,"208":206,"94":11008,"24":35,"16":385038926118649856,"45":443674962071230464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-08-19 03:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495248640001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:38:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 03:38:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385038926118649856,"km_value":385038926118649.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":443674962071230464,"description":"Unknown IO ID 45"} 
[2026-08-19 03:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495248640001,"power":27213,"unknown_208":206,"unknown_94":11008,"ignition":35,"odometer":null,"unknown_45":443674962071230464}} 
[2026-08-19 03:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":157306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:38:37] local.INFO: GPS data processed {"connection_id":157306,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:38:37] local.INFO: Acknowledgment sent {"connection_id":157306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:39:02] local.INFO: TCP Data received {"connection_id":158574,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:39:02] local.INFO: Processing buffer {"connection_id":158574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:39:02] local.INFO: IMEI packet received {"connection_id":158574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":158574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:39:04] local.INFO: TCP Data received {"connection_id":158574,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:39:04] local.INFO: Processing buffer {"connection_id":158574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:39:04] local.INFO: IMEI packet received {"connection_id":158574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":158574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:39:05] local.INFO: TCP Data received {"connection_id":158574,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016ea1638012d06574006fdc738001b008b2a..."} 
[2026-08-19 03:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016ea1638012d06574006fdc738001b008b2a..."} 
[2026-08-19 03:39:05] local.INFO: Processing buffer {"connection_id":158574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016ea1638012d06574006fdc738001b008b2a..."} 
[2026-08-19 03:39:05] local.INFO: Packet analysis {"connection_id":158574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ea"} 
[2026-08-19 03:39:05] local.INFO: Extracted packet for processing {"connection_id":158574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ea"} 
[2026-08-19 03:39:05] local.INFO: GPS Element Parsed {"raw_longitude":755390272,"raw_latitude":117294904,"longitude_deg":75.5390272,"latitude_deg":11.7294904,"altitude":27,"angle":139,"satellites":42,"speed":34,"hex_longitude":"2d065740","hex_latitude":"06fdc738","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495251200001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385039359910346752,"note":"Value kept but may cause issues"} 
[2026-08-19 03:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":450148886533718016,"note":"Value kept but may cause issues"} 
[2026-08-19 03:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787090835000,"timestamp_ms":1787090835000,"timestamp_seconds":1787090835,"priority":1,"record_length":96,"hex_timestamp":"000001a016ea1638"} 
[2026-08-19 03:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 03:39:05] 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-08-19 03: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-08-19 03:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495251200001,"66":27365,"208":206,"94":11008,"24":34,"16":385039359910346752,"45":450148886533718016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-08-19 03:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495251200001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:39:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 03:39:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385039359910346752,"km_value":385039359910346.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":450148886533718016,"description":"Unknown IO ID 45"} 
[2026-08-19 03:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495251200001,"power":27365,"unknown_208":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":450148886533718016}} 
[2026-08-19 03:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":158574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:39:05] local.INFO: GPS data processed {"connection_id":158574,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:39:05] local.INFO: Acknowledgment sent {"connection_id":158574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:39:06] local.INFO: TCP Data received {"connection_id":158574,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016ea4900012d066e8006fdabc00015008d2e..."} 
[2026-08-19 03:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016ea4900012d066e8006fdabc00015008d2e..."} 
[2026-08-19 03:39:06] local.INFO: Processing buffer {"connection_id":158574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016ea4900012d066e8006fdabc00015008d2e..."} 
[2026-08-19 03:39:06] local.INFO: Packet analysis {"connection_id":158574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ea"} 
[2026-08-19 03:39:06] local.INFO: Extracted packet for processing {"connection_id":158574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ea"} 
[2026-08-19 03:39:06] local.INFO: GPS Element Parsed {"raw_longitude":755396224,"raw_latitude":117287872,"longitude_deg":75.5396224,"latitude_deg":11.7287872,"altitude":21,"angle":141,"satellites":46,"speed":17,"hex_longitude":"2d066e80","hex_latitude":"06fdabc0","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495253760001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385039802291978240,"note":"Value kept but may cause issues"} 
[2026-08-19 03:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":456904285973067776,"note":"Value kept but may cause issues"} 
[2026-08-19 03:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787090848000,"timestamp_ms":1787090848000,"timestamp_seconds":1787090848,"priority":1,"record_length":96,"hex_timestamp":"000001a016ea4900"} 
[2026-08-19 03:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 03:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:39:06] 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-08-19 03:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495253760001,"66":27180,"232":206,"94":11008,"24":17,"16":385039802291978240,"45":456904285973067776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-08-19 03:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495253760001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:39:06] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 03:39:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385039802291978240,"km_value":385039802291978.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":456904285973067776,"description":"Unknown IO ID 45"} 
[2026-08-19 03:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495253760001,"power":27180,"unknown_232":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":456904285973067776}} 
[2026-08-19 03:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":158574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:39:06] local.INFO: GPS data processed {"connection_id":158574,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:39:06] local.INFO: Acknowledgment sent {"connection_id":158574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:39:37] local.INFO: TCP Data received {"connection_id":158574,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016ea9b08012d067e8006fd98100013008d30..."} 
[2026-08-19 03:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016ea9b08012d067e8006fd98100013008d30..."} 
[2026-08-19 03:39:37] local.INFO: Processing buffer {"connection_id":158574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016ea9b08012d067e8006fd98100013008d30..."} 
[2026-08-19 03:39:37] local.INFO: Packet analysis {"connection_id":158574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ea"} 
[2026-08-19 03:39:37] local.INFO: Extracted packet for processing {"connection_id":158574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ea"} 
[2026-08-19 03:39:37] local.INFO: GPS Element Parsed {"raw_longitude":755400320,"raw_latitude":117282832,"longitude_deg":75.540032,"latitude_deg":11.7282832,"altitude":19,"angle":141,"satellites":48,"speed":28,"hex_longitude":"2d067e80","hex_latitude":"06fd9810","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495257088001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385040115824590848,"note":"Value kept but may cause issues"} 
[2026-08-19 03:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":463448579179790336,"note":"Value kept but may cause issues"} 
[2026-08-19 03:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787090869000,"timestamp_ms":1787090869000,"timestamp_seconds":1787090869,"priority":1,"record_length":96,"hex_timestamp":"000001a016ea9b08"} 
[2026-08-19 03:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-19 03:39:37] 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-08-19 03: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-08-19 03:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495257088001,"66":27137,"232":206,"94":11008,"24":28,"16":385040115824590848,"45":463448579179790336},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-08-19 03:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495257088001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:39:37] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 03:39:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385040115824590848,"km_value":385040115824590.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":463448579179790336,"description":"Unknown IO ID 45"} 
[2026-08-19 03:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495257088001,"power":27137,"unknown_232":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":463448579179790336}} 
[2026-08-19 03:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":158574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:39:37] local.INFO: GPS data processed {"connection_id":158574,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:39:37] local.INFO: Acknowledgment sent {"connection_id":158574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:39:58] local.INFO: TCP Data received {"connection_id":159856,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:39:58] local.INFO: Processing buffer {"connection_id":159856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:39:58] local.INFO: IMEI packet received {"connection_id":159856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":159856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:40:00] local.INFO: TCP Data received {"connection_id":159856,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:40:00] local.INFO: Processing buffer {"connection_id":159856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:40:00] local.INFO: IMEI packet received {"connection_id":159856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":159856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:40:05] local.INFO: TCP Data received {"connection_id":159856,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:40:05] local.INFO: Processing buffer {"connection_id":159856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:40:05] local.INFO: IMEI packet received {"connection_id":159856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":159856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:40:06] local.INFO: TCP Data received {"connection_id":159856,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016eac218012d06970006fd7a680011008d2d..."} 
[2026-08-19 03:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016eac218012d06970006fd7a680011008d2d..."} 
[2026-08-19 03:40:06] local.INFO: Processing buffer {"connection_id":159856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016eac218012d06970006fd7a680011008d2d..."} 
[2026-08-19 03:40:06] local.INFO: Packet analysis {"connection_id":159856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ea"} 
[2026-08-19 03:40:06] local.INFO: Extracted packet for processing {"connection_id":159856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ea"} 
[2026-08-19 03:40:06] local.INFO: GPS Element Parsed {"raw_longitude":755406592,"raw_latitude":117275240,"longitude_deg":75.5406592,"latitude_deg":11.727524,"altitude":17,"angle":141,"satellites":45,"speed":43,"hex_longitude":"2d069700","hex_latitude":"06fd7a68","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495262464001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385040588270993408,"note":"Value kept but may cause issues"} 
[2026-08-19 03:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":467952178805870592,"note":"Value kept but may cause issues"} 
[2026-08-19 03:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787090879000,"timestamp_ms":1787090879000,"timestamp_seconds":1787090879,"priority":1,"record_length":96,"hex_timestamp":"000001a016eac218"} 
[2026-08-19 03:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-08-19 03:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:40:06] 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-08-19 03:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495262464001,"66":27115,"232":206,"94":11008,"24":43,"16":385040588270993408,"45":467952178805870592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-08-19 03:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495262464001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:40:06] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 03:40:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385040588270993408,"km_value":385040588270993.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":467952178805870592,"description":"Unknown IO ID 45"} 
[2026-08-19 03:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495262464001,"power":27115,"unknown_232":206,"unknown_94":11008,"ignition":43,"odometer":null,"unknown_45":467952178805870592}} 
[2026-08-19 03:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":159856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:40:06] local.INFO: GPS data processed {"connection_id":159856,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:40:06] local.INFO: Acknowledgment sent {"connection_id":159856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:40:37] local.INFO: TCP Data received {"connection_id":159856,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016eae540012d06adc006fd5eb00017008c2a..."} 
[2026-08-19 03:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016eae540012d06adc006fd5eb00017008c2a..."} 
[2026-08-19 03:40:37] local.INFO: Processing buffer {"connection_id":159856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016eae540012d06adc006fd5eb00017008c2a..."} 
[2026-08-19 03:40:37] local.INFO: Packet analysis {"connection_id":159856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ea"} 
[2026-08-19 03:40:37] local.INFO: Extracted packet for processing {"connection_id":159856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ea"} 
[2026-08-19 03:40:37] local.INFO: GPS Element Parsed {"raw_longitude":755412416,"raw_latitude":117268144,"longitude_deg":75.5412416,"latitude_deg":11.7268144,"altitude":23,"angle":140,"satellites":42,"speed":38,"hex_longitude":"2d06adc0","hex_latitude":"06fd5eb0","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495265024001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385041030652624896,"note":"Value kept but may cause issues"} 
[2026-08-19 03:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":474848315733338112,"note":"Value kept but may cause issues"} 
[2026-08-19 03:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787090888000,"timestamp_ms":1787090888000,"timestamp_seconds":1787090888,"priority":1,"record_length":96,"hex_timestamp":"000001a016eae540"} 
[2026-08-19 03:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-19 03:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495265024001,"66":27234,"232":206,"94":11008,"24":38,"16":385041030652624896,"45":474848315733338112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-08-19 03:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495265024001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:40:37] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 03:40:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385041030652624896,"km_value":385041030652624.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":474848315733338112,"description":"Unknown IO ID 45"} 
[2026-08-19 03:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495265024001,"power":27234,"unknown_232":206,"unknown_94":11008,"ignition":38,"odometer":null,"unknown_45":474848315733338112}} 
[2026-08-19 03:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":159856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:40:37] local.INFO: GPS data processed {"connection_id":159856,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:40:37] local.INFO: Acknowledgment sent {"connection_id":159856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:41:00] local.INFO: TCP Data received {"connection_id":157307,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:41:00] local.INFO: Processing buffer {"connection_id":157307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:41:00] local.INFO: IMEI packet received {"connection_id":157307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":157307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:41:01] local.INFO: TCP Data received {"connection_id":157307,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:41:01] local.INFO: Processing buffer {"connection_id":157307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:41:01] local.INFO: IMEI packet received {"connection_id":157307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":157307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:41:05] local.INFO: TCP Data received {"connection_id":157307,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:41:05] local.INFO: Processing buffer {"connection_id":157307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:41:05] local.INFO: IMEI packet received {"connection_id":157307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":157307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:41:06] local.INFO: TCP Data received {"connection_id":157307,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016eb0868012d06c48006fd42280014008c2c..."} 
[2026-08-19 03:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016eb0868012d06c48006fd42280014008c2c..."} 
[2026-08-19 03:41:06] local.INFO: Processing buffer {"connection_id":157307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016eb0868012d06c48006fd42280014008c2c..."} 
[2026-08-19 03:41:06] local.INFO: Packet analysis {"connection_id":157307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016eb"} 
[2026-08-19 03:41:06] local.INFO: Extracted packet for processing {"connection_id":157307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016eb"} 
[2026-08-19 03:41:06] local.INFO: GPS Element Parsed {"raw_longitude":755418240,"raw_latitude":117260840,"longitude_deg":75.541824,"latitude_deg":11.726084,"altitude":20,"angle":140,"satellites":44,"speed":42,"hex_longitude":"2d06c480","hex_latitude":"06fd4228","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495267328001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385041481624190976,"note":"Value kept but may cause issues"} 
[2026-08-19 03:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":481251871451688960,"note":"Value kept but may cause issues"} 
[2026-08-19 03:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787090897000,"timestamp_ms":1787090897000,"timestamp_seconds":1787090897,"priority":1,"record_length":96,"hex_timestamp":"000001a016eb0868"} 
[2026-08-19 03:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 03:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:41:06] 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-08-19 03:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495267328001,"66":27234,"232":206,"94":11008,"24":42,"16":385041481624190976,"45":481251871451688960},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-08-19 03:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495267328001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:41:06] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 03:41:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385041481624190976,"km_value":385041481624191.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":481251871451688960,"description":"Unknown IO ID 45"} 
[2026-08-19 03:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495267328001,"power":27234,"unknown_232":206,"unknown_94":11008,"ignition":42,"odometer":null,"unknown_45":481251871451688960}} 
[2026-08-19 03:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":157307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:41:06] local.INFO: GPS data processed {"connection_id":157307,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:41:06] local.INFO: Acknowledgment sent {"connection_id":157307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:41:39] local.INFO: TCP Data received {"connection_id":157307,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016eb2b90012d06dd0006fd24680010008d30..."} 
[2026-08-19 03:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016eb2b90012d06dd0006fd24680010008d30..."} 
[2026-08-19 03:41:39] local.INFO: Processing buffer {"connection_id":157307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016eb2b90012d06dd0006fd24680010008d30..."} 
[2026-08-19 03:41:39] local.INFO: Packet analysis {"connection_id":157307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016eb"} 
[2026-08-19 03:41:39] local.INFO: Extracted packet for processing {"connection_id":157307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016eb"} 
[2026-08-19 03:41:39] local.INFO: GPS Element Parsed {"raw_longitude":755424512,"raw_latitude":117253224,"longitude_deg":75.5424512,"latitude_deg":11.7253224,"altitude":16,"angle":141,"satellites":48,"speed":44,"hex_longitude":"2d06dd00","hex_latitude":"06fd2468","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495269632001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385041954070593536,"note":"Value kept but may cause issues"} 
[2026-08-19 03:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":487655427169986560,"note":"Value kept but may cause issues"} 
[2026-08-19 03:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787090906000,"timestamp_ms":1787090906000,"timestamp_seconds":1787090906,"priority":1,"record_length":96,"hex_timestamp":"000001a016eb2b90"} 
[2026-08-19 03:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 03:41:39] 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-08-19 03: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-08-19 03:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:41:39] 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-08-19 03:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495269632001,"66":27365,"232":206,"94":11008,"24":44,"16":385041954070593536,"45":487655427169986560},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-08-19 03:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495269632001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:41:39] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 03:41:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385041954070593536,"km_value":385041954070593.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":487655427169986560,"description":"Unknown IO ID 45"} 
[2026-08-19 03:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495269632001,"power":27365,"unknown_232":206,"unknown_94":11008,"ignition":44,"odometer":null,"unknown_45":487655427169986560}} 
[2026-08-19 03:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":157307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:41:39] local.INFO: GPS data processed {"connection_id":157307,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:41:39] local.INFO: Acknowledgment sent {"connection_id":157307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:42:00] local.INFO: TCP Data received {"connection_id":157676,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:42:00] local.INFO: Processing buffer {"connection_id":157676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:42:00] local.INFO: IMEI packet received {"connection_id":157676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":157676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:42:05] local.INFO: TCP Data received {"connection_id":157676,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:42:05] local.INFO: Processing buffer {"connection_id":157676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:42:05] local.INFO: IMEI packet received {"connection_id":157676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":157676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:42:06] local.INFO: TCP Data received {"connection_id":157676,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016eb4eb8012d06f34006fd0938000e008c2f..."} 
[2026-08-19 03:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016eb4eb8012d06f34006fd0938000e008c2f..."} 
[2026-08-19 03:42:06] local.INFO: Processing buffer {"connection_id":157676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016eb4eb8012d06f34006fd0938000e008c2f..."} 
[2026-08-19 03:42:06] local.INFO: Packet analysis {"connection_id":157676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016eb"} 
[2026-08-19 03:42:06] local.INFO: Extracted packet for processing {"connection_id":157676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016eb"} 
[2026-08-19 03:42:06] local.INFO: GPS Element Parsed {"raw_longitude":755430208,"raw_latitude":117246264,"longitude_deg":75.5430208,"latitude_deg":11.7246264,"altitude":14,"angle":140,"satellites":47,"speed":36,"hex_longitude":"2d06f340","hex_latitude":"06fd0938","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495271936001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385042387862290432,"note":"Value kept but may cause issues"} 
[2026-08-19 03:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":494551564097447936,"note":"Value kept but may cause issues"} 
[2026-08-19 03:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787090915000,"timestamp_ms":1787090915000,"timestamp_seconds":1787090915,"priority":1,"record_length":96,"hex_timestamp":"000001a016eb4eb8"} 
[2026-08-19 03:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 03:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:42:06] 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-08-19 03:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495271936001,"66":27332,"232":206,"94":11008,"24":36,"16":385042387862290432,"45":494551564097447936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-08-19 03:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495271936001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:42:06] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 03:42:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385042387862290432,"km_value":385042387862290.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":494551564097447936,"description":"Unknown IO ID 45"} 
[2026-08-19 03:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495271936001,"power":27332,"unknown_232":206,"unknown_94":11008,"ignition":36,"odometer":null,"unknown_45":494551564097447936}} 
[2026-08-19 03:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":157676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:42:06] local.INFO: GPS data processed {"connection_id":157676,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:42:06] local.INFO: Acknowledgment sent {"connection_id":157676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:42:38] local.INFO: TCP Data received {"connection_id":157676,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016eb75c8012d070cc006fceb80000a008c2c..."} 
[2026-08-19 03:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016eb75c8012d070cc006fceb80000a008c2c..."} 
[2026-08-19 03:42:38] local.INFO: Processing buffer {"connection_id":157676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016eb75c8012d070cc006fceb80000a008c2c..."} 
[2026-08-19 03:42:38] local.INFO: Packet analysis {"connection_id":157676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016eb"} 
[2026-08-19 03:42:38] local.INFO: Extracted packet for processing {"connection_id":157676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016eb"} 
[2026-08-19 03:42:38] local.INFO: GPS Element Parsed {"raw_longitude":755436736,"raw_latitude":117238656,"longitude_deg":75.5436736,"latitude_deg":11.7238656,"altitude":10,"angle":140,"satellites":44,"speed":41,"hex_longitude":"2d070cc0","hex_latitude":"06fceb80","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495274240001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385042868898627584,"note":"Value kept but may cause issues"} 
[2026-08-19 03:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":500814382327478272,"note":"Value kept but may cause issues"} 
[2026-08-19 03:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787090925000,"timestamp_ms":1787090925000,"timestamp_seconds":1787090925,"priority":1,"record_length":96,"hex_timestamp":"000001a016eb75c8"} 
[2026-08-19 03:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 03:42:38] 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-08-19 03: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-08-19 03:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:42:38] 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-08-19 03:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495274240001,"66":27245,"232":206,"94":11008,"24":41,"16":385042868898627584,"45":500814382327478272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-08-19 03:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495274240001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:42:38] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 03:42:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385042868898627584,"km_value":385042868898627.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":500814382327478272,"description":"Unknown IO ID 45"} 
[2026-08-19 03:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495274240001,"power":27245,"unknown_232":206,"unknown_94":11008,"ignition":41,"odometer":null,"unknown_45":500814382327478272}} 
[2026-08-19 03:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":157676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:42:38] local.INFO: GPS data processed {"connection_id":157676,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:42:38] local.INFO: Acknowledgment sent {"connection_id":157676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:43:05] local.INFO: TCP Data received {"connection_id":158575,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:43:05] local.INFO: Processing buffer {"connection_id":158575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:43:05] local.INFO: IMEI packet received {"connection_id":158575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":158575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:43:10] local.INFO: TCP Data received {"connection_id":158575,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:43:10] local.INFO: Processing buffer {"connection_id":158575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:43:10] local.INFO: IMEI packet received {"connection_id":158575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":158575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:43:11] local.INFO: TCP Data received {"connection_id":158575,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016ee5810012d07edc006fbe430000c008c30..."} 
[2026-08-19 03:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016ee5810012d07edc006fbe430000c008c30..."} 
[2026-08-19 03:43:11] local.INFO: Processing buffer {"connection_id":158575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016ee5810012d07edc006fbe430000c008c30..."} 
[2026-08-19 03:43:11] local.INFO: Packet analysis {"connection_id":158575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ee"} 
[2026-08-19 03:43:11] local.INFO: Extracted packet for processing {"connection_id":158575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ee"} 
[2026-08-19 03:43:11] local.INFO: GPS Element Parsed {"raw_longitude":755494336,"raw_latitude":117171248,"longitude_deg":75.5494336,"latitude_deg":11.7171248,"altitude":12,"angle":140,"satellites":48,"speed":28,"hex_longitude":"2d07edc0","hex_latitude":"06fbe430","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495321856001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385047138096119808,"note":"Value kept but may cause issues"} 
[2026-08-19 03:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564568464535107584,"note":"Value kept but may cause issues"} 
[2026-08-19 03:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787091114000,"timestamp_ms":1787091114000,"timestamp_seconds":1787091114,"priority":1,"record_length":96,"hex_timestamp":"000001a016ee5810"} 
[2026-08-19 03:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 03:43:11] 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-08-19 03: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-08-19 03:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495321856001,"66":27321,"169":206,"94":11008,"24":28,"16":385047138096119808,"45":564568464535107584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-08-19 03:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495321856001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:43:11] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-19 03:43:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385047138096119808,"km_value":385047138096119.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":564568464535107584,"description":"Unknown IO ID 45"} 
[2026-08-19 03:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495321856001,"power":27321,"unknown_169":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":564568464535107584}} 
[2026-08-19 03:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":158575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:43:11] local.INFO: GPS data processed {"connection_id":158575,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:43:11] local.INFO: Acknowledgment sent {"connection_id":158575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:43:43] local.INFO: TCP Data received {"connection_id":158575,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016ee8ad8012d0805c006fbc6d80009008f31..."} 
[2026-08-19 03:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016ee8ad8012d0805c006fbc6d80009008f31..."} 
[2026-08-19 03:43:43] local.INFO: Processing buffer {"connection_id":158575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016ee8ad8012d0805c006fbc6d80009008f31..."} 
[2026-08-19 03:43:43] local.INFO: Packet analysis {"connection_id":158575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ee"} 
[2026-08-19 03:43:43] local.INFO: Extracted packet for processing {"connection_id":158575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016ee"} 
[2026-08-19 03:43:43] local.INFO: GPS Element Parsed {"raw_longitude":755500480,"raw_latitude":117163736,"longitude_deg":75.550048,"latitude_deg":11.7163736,"altitude":9,"angle":143,"satellites":49,"speed":31,"hex_longitude":"2d0805c0","hex_latitude":"06fbc6d8","is_valid_coordinates":true} 
[2026-08-19 03:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495325184001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385047606247555072,"note":"Value kept but may cause issues"} 
[2026-08-19 03:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":571323863974293504,"note":"Value kept but may cause issues"} 
[2026-08-19 03:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787091127000,"timestamp_ms":1787091127000,"timestamp_seconds":1787091127,"priority":1,"record_length":96,"hex_timestamp":"000001a016ee8ad8"} 
[2026-08-19 03:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 03:43:43] 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-08-19 03:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495325184001,"66":27267,"169":206,"94":11008,"24":31,"16":385047606247555072,"45":571323863974293504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-08-19 03:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495325184001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:43:43] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-19 03:43:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385047606247555072,"km_value":385047606247555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":571323863974293504,"description":"Unknown IO ID 45"} 
[2026-08-19 03:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495325184001,"power":27267,"unknown_169":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":571323863974293504}} 
[2026-08-19 03:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":158575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:43:43] local.INFO: GPS data processed {"connection_id":158575,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:43:43] local.INFO: Acknowledgment sent {"connection_id":158575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:44:01] local.INFO: TCP Data received {"connection_id":157308,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:44:01] local.INFO: Processing buffer {"connection_id":157308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:44:01] local.INFO: IMEI packet received {"connection_id":157308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":157308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:44:12] local.INFO: TCP Data received {"connection_id":157308,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 03:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157308,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 03:44:12] local.INFO: Processing buffer {"connection_id":157308,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 03:44:12] local.INFO: IMEI packet received {"connection_id":157308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":157308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:44:56] local.INFO: TCP Data received {"connection_id":157308,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016eeb9b8012d0818c006fba8280009009831..."} 
[2026-08-19 03:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016eeb9b8012d0818c006fba8280009009831..."} 
[2026-08-19 03:44:56] local.INFO: Processing buffer {"connection_id":157308,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a016..."} 
[2026-08-19 03:44:56] local.INFO: IMEI packet received {"connection_id":157308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":157308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:44:57] local.INFO: TCP Data received {"connection_id":157308,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f005c0012d084a0006fa6660000d00bb33..."} 
[2026-08-19 03:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f005c0012d084a0006fa6660000d00bb33..."} 
[2026-08-19 03:44:57] local.INFO: Processing buffer {"connection_id":157308,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a016eeb9b8012d0818c006fba8280009009831..."} 
[2026-08-19 03:44:57] local.INFO: Packet analysis {"connection_id":157308,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a016ee"} 
[2026-08-19 03:44:57] local.INFO: Extracted packet for processing {"connection_id":157308,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016ee"} 
[2026-08-19 03:44:57] local.INFO: GPS Element Parsed {"raw_longitude":755505344,"raw_latitude":117155880,"longitude_deg":75.5505344,"latitude_deg":11.715588,"altitude":9,"angle":152,"satellites":49,"speed":32,"hex_longitude":"2d0818c0","hex_latitude":"06fba828","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495328512001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385048052924153856,"note":"Value kept but may cause issues"} 
[2026-08-19 03:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":578079263413426176,"note":"Value kept but may cause issues"} 
[2026-08-19 03:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787091139000,"timestamp_ms":1787091139000,"timestamp_seconds":1787091139,"priority":1,"record_length":96,"hex_timestamp":"000001a016eeb9b8"} 
[2026-08-19 03:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:44:57] 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-08-19 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 03:44:57] 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-08-19 03: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-08-19 03:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:44:57] 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-08-19 03:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495328512001,"66":27300,"169":206,"94":11008,"24":32,"16":385048052924153856,"45":578079263413426176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-08-19 03:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495328512001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:44:57] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-19 03:44:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385048052924153856,"km_value":385048052924153.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":578079263413426176,"description":"Unknown IO ID 45"} 
[2026-08-19 03:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495328512001,"power":27300,"unknown_169":206,"unknown_94":11008,"ignition":32,"odometer":null,"unknown_45":578079263413426176}} 
[2026-08-19 03:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":157308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:44:57] local.INFO: GPS data processed {"connection_id":157308,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:44:57] local.INFO: Acknowledgment sent {"connection_id":157308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:44:57] local.INFO: Packet analysis {"connection_id":157308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f0"} 
[2026-08-19 03:44:57] local.INFO: Extracted packet for processing {"connection_id":157308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f0"} 
[2026-08-19 03:44:57] local.INFO: GPS Element Parsed {"raw_longitude":755517952,"raw_latitude":117073504,"longitude_deg":75.5517952,"latitude_deg":11.7073504,"altitude":13,"angle":187,"satellites":51,"speed":55,"hex_longitude":"2d084a00","hex_latitude":"06fa6660","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495351552001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385052137438052352,"note":"Value kept but may cause issues"} 
[2026-08-19 03:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":598275092971833344,"note":"Value kept but may cause issues"} 
[2026-08-19 03:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787091224000,"timestamp_ms":1787091224000,"timestamp_seconds":1787091224,"priority":1,"record_length":96,"hex_timestamp":"000001a016f005c0"} 
[2026-08-19 03:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:44: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-08-19 03: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-08-19 03:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:44:57] 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-08-19 03:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495351552001,"66":27104,"33":206,"80":6400,"24":55,"16":385052137438052352,"45":598275092971833344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,80,24,16,45]} 
[2026-08-19 03:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495351552001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:44:57] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-19 03:44:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385052137438052352,"km_value":385052137438052.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":598275092971833344,"description":"Unknown IO ID 45"} 
[2026-08-19 03:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495351552001,"power":27104,"unknown_33":206,"unknown_80":6400,"ignition":55,"odometer":null,"unknown_45":598275092971833344}} 
[2026-08-19 03:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":157308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:44:57] local.INFO: GPS data processed {"connection_id":157308,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:44:57] local.INFO: Acknowledgment sent {"connection_id":157308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:45:00] local.INFO: TCP Data received {"connection_id":157677,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:45:00] local.INFO: Processing buffer {"connection_id":157677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:45:00] local.INFO: IMEI packet received {"connection_id":157677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":157677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:45:00] local.INFO: TCP Data received {"connection_id":157677,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:45:00] local.INFO: Processing buffer {"connection_id":157677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:45:00] local.INFO: IMEI packet received {"connection_id":157677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":157677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:45:03] local.INFO: TCP Data received {"connection_id":157677,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:45:03] local.INFO: Processing buffer {"connection_id":157677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:45:03] local.INFO: IMEI packet received {"connection_id":157677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":157677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:45:06] local.INFO: TCP Data received {"connection_id":157677,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:45:06] local.INFO: Processing buffer {"connection_id":157677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:45:06] local.INFO: IMEI packet received {"connection_id":157677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":157677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:45:06] local.INFO: TCP Data received {"connection_id":157677,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f02118012d0843c006fa4120000d00bf34..."} 
[2026-08-19 03:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f02118012d0843c006fa4120000d00bf34..."} 
[2026-08-19 03:45:06] local.INFO: Processing buffer {"connection_id":157677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f02118012d0843c006fa4120000d00bf34..."} 
[2026-08-19 03:45:06] local.INFO: Packet analysis {"connection_id":157677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f0"} 
[2026-08-19 03:45:06] local.INFO: Extracted packet for processing {"connection_id":157677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f0"} 
[2026-08-19 03:45:06] local.INFO: GPS Element Parsed {"raw_longitude":755516352,"raw_latitude":117063968,"longitude_deg":75.5516352,"latitude_deg":11.7063968,"altitude":13,"angle":191,"satellites":52,"speed":54,"hex_longitude":"2d0843c0","hex_latitude":"06fa4120","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495353344001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385052605589487616,"note":"Value kept but may cause issues"} 
[2026-08-19 03:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":597289930550829056,"note":"Value kept but may cause issues"} 
[2026-08-19 03:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787091231000,"timestamp_ms":1787091231000,"timestamp_seconds":1787091231,"priority":1,"record_length":96,"hex_timestamp":"000001a016f02118"} 
[2026-08-19 03:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:45: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-08-19 03: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 03:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:45:06] 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-08-19 03:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495353344001,"66":27908,"33":206,"80":6400,"24":54,"16":385052605589487616,"45":597289930550829056},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,80,24,16,45]} 
[2026-08-19 03:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495353344001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:45:06] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-19 03:45:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385052605589487616,"km_value":385052605589487.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":597289930550829056,"description":"Unknown IO ID 45"} 
[2026-08-19 03:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495353344001,"power":27908,"unknown_33":206,"unknown_80":6400,"ignition":54,"odometer":null,"unknown_45":597289930550829056}} 
[2026-08-19 03:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":157677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:45:06] local.INFO: GPS data processed {"connection_id":157677,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:45:06] local.INFO: Acknowledgment sent {"connection_id":157677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:45:11] local.INFO: TCP Data received {"connection_id":157677,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f03c70012d083ac006fa1d50000d00c234..."} 
[2026-08-19 03:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f03c70012d083ac006fa1d50000d00c234..."} 
[2026-08-19 03:45:11] local.INFO: Processing buffer {"connection_id":157677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f03c70012d083ac006fa1d50000d00c234..."} 
[2026-08-19 03:45:11] local.INFO: Packet analysis {"connection_id":157677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f0"} 
[2026-08-19 03:45:11] local.INFO: Extracted packet for processing {"connection_id":157677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f0"} 
[2026-08-19 03:45:11] local.INFO: GPS Element Parsed {"raw_longitude":755514048,"raw_latitude":117054800,"longitude_deg":75.5514048,"latitude_deg":11.70548,"altitude":13,"angle":194,"satellites":52,"speed":52,"hex_longitude":"2d083ac0","hex_latitude":"06fa1d50","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495355136001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385053065150988288,"note":"Value kept but may cause issues"} 
[2026-08-19 03:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":595530711943946240,"note":"Value kept but may cause issues"} 
[2026-08-19 03:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787091238000,"timestamp_ms":1787091238000,"timestamp_seconds":1787091238,"priority":1,"record_length":96,"hex_timestamp":"000001a016f03c70"} 
[2026-08-19 03:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 03:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495355136001,"66":27691,"33":206,"80":6400,"24":52,"16":385053065150988288,"45":595530711943946240},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,80,24,16,45]} 
[2026-08-19 03:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495355136001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:45:11] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-19 03:45:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385053065150988288,"km_value":385053065150988.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":595530711943946240,"description":"Unknown IO ID 45"} 
[2026-08-19 03:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495355136001,"power":27691,"unknown_33":206,"unknown_80":6400,"ignition":52,"odometer":null,"unknown_45":595530711943946240}} 
[2026-08-19 03:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":157677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:45:11] local.INFO: GPS data processed {"connection_id":157677,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:45:11] local.INFO: Acknowledgment sent {"connection_id":157677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:45:43] local.INFO: TCP Data received {"connection_id":157677,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f057c8012d08310006f9faa8000d00c534..."} 
[2026-08-19 03:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f057c8012d08310006f9faa8000d00c534..."} 
[2026-08-19 03:45:43] local.INFO: Processing buffer {"connection_id":157677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f057c8012d08310006f9faa8000d00c534..."} 
[2026-08-19 03:45:43] local.INFO: Packet analysis {"connection_id":157677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f0"} 
[2026-08-19 03:45:43] local.INFO: Extracted packet for processing {"connection_id":157677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f0"} 
[2026-08-19 03:45:43] local.INFO: GPS Element Parsed {"raw_longitude":755511552,"raw_latitude":117045928,"longitude_deg":75.5511552,"latitude_deg":11.7045928,"altitude":13,"angle":197,"satellites":52,"speed":51,"hex_longitude":"2d083100","hex_latitude":"06f9faa8","is_valid_coordinates":true} 
[2026-08-19 03:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495356928001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385053511827587072,"note":"Value kept but may cause issues"} 
[2026-08-19 03:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":592997437151203328,"note":"Value kept but may cause issues"} 
[2026-08-19 03:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787091245000,"timestamp_ms":1787091245000,"timestamp_seconds":1787091245,"priority":1,"record_length":96,"hex_timestamp":"000001a016f057c8"} 
[2026-08-19 03:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-19 03:45:43] 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-08-19 03:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495356928001,"66":27767,"33":206,"80":6400,"24":51,"16":385053511827587072,"45":592997437151203328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,80,24,16,45]} 
[2026-08-19 03:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495356928001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:45:43] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-19 03:45:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385053511827587072,"km_value":385053511827587.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":592997437151203328,"description":"Unknown IO ID 45"} 
[2026-08-19 03:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495356928001,"power":27767,"unknown_33":206,"unknown_80":6400,"ignition":51,"odometer":null,"unknown_45":592997437151203328}} 
[2026-08-19 03:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":157677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:45:43] local.INFO: GPS data processed {"connection_id":157677,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:45:43] local.INFO: Acknowledgment sent {"connection_id":157677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:46:00] local.INFO: TCP Data received {"connection_id":158576,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:46:00] local.INFO: Processing buffer {"connection_id":158576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:46:00] local.INFO: IMEI packet received {"connection_id":158576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":158576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:46:06] local.INFO: TCP Data received {"connection_id":158576,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:46:06] local.INFO: Processing buffer {"connection_id":158576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:46:06] local.INFO: IMEI packet received {"connection_id":158576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":158576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:46:08] local.INFO: TCP Data received {"connection_id":158576,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f07708012d08260006f9d738000e00c434..."} 
[2026-08-19 03:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f07708012d08260006f9d738000e00c434..."} 
[2026-08-19 03:46:08] local.INFO: Processing buffer {"connection_id":158576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f07708012d08260006f9d738000e00c434..."} 
[2026-08-19 03:46:08] local.INFO: Packet analysis {"connection_id":158576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f0"} 
[2026-08-19 03:46:08] local.INFO: Extracted packet for processing {"connection_id":158576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f0"} 
[2026-08-19 03:46:08] local.INFO: GPS Element Parsed {"raw_longitude":755508736,"raw_latitude":117036856,"longitude_deg":75.5508736,"latitude_deg":11.7036856,"altitude":14,"angle":196,"satellites":52,"speed":40,"hex_longitude":"2d082600","hex_latitude":"06f9d738","is_valid_coordinates":true} 
[2026-08-19 03:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495358720001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385053971389087744,"note":"Value kept but may cause issues"} 
[2026-08-19 03:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":590253056126003200,"note":"Value kept but may cause issues"} 
[2026-08-19 03:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787091253000,"timestamp_ms":1787091253000,"timestamp_seconds":1787091253,"priority":1,"record_length":96,"hex_timestamp":"000001a016f07708"} 
[2026-08-19 03:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:46: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-08-19 03:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 03:46:08] 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-08-19 03:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":158576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":158576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":158576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:46:08] 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-08-19 03:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495358720001,"66":27908,"33":206,"80":6400,"24":40,"16":385053971389087744,"45":590253056126003200},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,80,24,16,45]} 
[2026-08-19 03:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495358720001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:46:08] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-19 03:46:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385053971389087744,"km_value":385053971389087.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":590253056126003200,"description":"Unknown IO ID 45"} 
[2026-08-19 03:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495358720001,"power":27908,"unknown_33":206,"unknown_80":6400,"ignition":40,"odometer":null,"unknown_45":590253056126003200}} 
[2026-08-19 03:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":158576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:46:08] local.INFO: GPS data processed {"connection_id":158576,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:46:08] local.INFO: Acknowledgment sent {"connection_id":158576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:46:43] local.INFO: TCP Data received {"connection_id":158576,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f09a30012d08204006f9c048000d00b734..."} 
[2026-08-19 03:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f09a30012d08204006f9c048000d00b734..."} 
[2026-08-19 03:46:43] local.INFO: Processing buffer {"connection_id":158576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f09a30012d08204006f9c048000d00b734..."} 
[2026-08-19 03:46:43] local.INFO: Packet analysis {"connection_id":158576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f0"} 
[2026-08-19 03:46:43] local.INFO: Extracted packet for processing {"connection_id":158576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f0"} 
[2026-08-19 03:46:43] local.INFO: GPS Element Parsed {"raw_longitude":755507264,"raw_latitude":117030984,"longitude_deg":75.5507264,"latitude_deg":11.7030984,"altitude":13,"angle":183,"satellites":52,"speed":16,"hex_longitude":"2d082040","hex_latitude":"06f9c048","is_valid_coordinates":true} 
[2026-08-19 03:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495360768001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385054263446863872,"note":"Value kept but may cause issues"} 
[2026-08-19 03:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":587156831379863552,"note":"Value kept but may cause issues"} 
[2026-08-19 03:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787091262000,"timestamp_ms":1787091262000,"timestamp_seconds":1787091262,"priority":1,"record_length":96,"hex_timestamp":"000001a016f09a30"} 
[2026-08-19 03:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:46: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-08-19 03:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 03:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495360768001,"66":27169,"218":206,"94":11008,"24":16,"16":385054263446863872,"45":587156831379863552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,94,24,16,45]} 
[2026-08-19 03:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495360768001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:46:43] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-19 03:46:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385054263446863872,"km_value":385054263446863.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":587156831379863552,"description":"Unknown IO ID 45"} 
[2026-08-19 03:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495360768001,"power":27169,"unknown_218":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":587156831379863552}} 
[2026-08-19 03:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":158576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:46:43] local.INFO: GPS data processed {"connection_id":158576,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:46:43] local.INFO: Acknowledgment sent {"connection_id":158576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:47:09] local.INFO: TCP Data received {"connection_id":157309,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:47:09] local.INFO: Processing buffer {"connection_id":157309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:47:09] local.INFO: IMEI packet received {"connection_id":157309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":157309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:47:10] local.INFO: TCP Data received {"connection_id":157309,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:47:10] local.INFO: Processing buffer {"connection_id":157309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:47:10] local.INFO: IMEI packet received {"connection_id":157309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":157309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:47:15] local.INFO: TCP Data received {"connection_id":157309,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:47:15] local.INFO: Processing buffer {"connection_id":157309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:47:15] local.INFO: IMEI packet received {"connection_id":157309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":157309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:47:16] local.INFO: TCP Data received {"connection_id":157309,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f0a200012d08200006f9bd78000d00c532..."} 
[2026-08-19 03:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f0a200012d08200006f9bd78000d00c532..."} 
[2026-08-19 03:47:16] local.INFO: Processing buffer {"connection_id":157309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f0a200012d08200006f9bd78000d00c532..."} 
[2026-08-19 03:47:16] local.INFO: Packet analysis {"connection_id":157309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f0"} 
[2026-08-19 03:47:16] local.INFO: Extracted packet for processing {"connection_id":157309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f0"} 
[2026-08-19 03:47:16] local.INFO: GPS Element Parsed {"raw_longitude":755507200,"raw_latitude":117030264,"longitude_deg":75.55072,"latitude_deg":11.7030264,"altitude":13,"angle":197,"satellites":50,"speed":11,"hex_longitude":"2d082000","hex_latitude":"06f9bd78","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495363072001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385054297806602240,"note":"Value kept but may cause issues"} 
[2026-08-19 03:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":585538350262274048,"note":"Value kept but may cause issues"} 
[2026-08-19 03:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787091264000,"timestamp_ms":1787091264000,"timestamp_seconds":1787091264,"priority":1,"record_length":96,"hex_timestamp":"000001a016f0a200"} 
[2026-08-19 03:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-19 03:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495363072001,"66":27908,"218":206,"94":11008,"24":11,"16":385054297806602240,"45":585538350262274048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,94,24,16,45]} 
[2026-08-19 03:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495363072001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:47:16] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-19 03:47:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 03:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385054297806602240,"km_value":385054297806602.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":585538350262274048,"description":"Unknown IO ID 45"} 
[2026-08-19 03:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495363072001,"power":27908,"unknown_218":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":585538350262274048}} 
[2026-08-19 03:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":157309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:47:16] local.INFO: GPS data processed {"connection_id":157309,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:47:16] local.INFO: Acknowledgment sent {"connection_id":157309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:48:02] local.INFO: TCP Data received {"connection_id":157310,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:48:02] local.INFO: Processing buffer {"connection_id":157310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:48:02] local.INFO: IMEI packet received {"connection_id":157310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":157310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:48:03] local.INFO: TCP Data received {"connection_id":157310,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:48:03] local.INFO: Processing buffer {"connection_id":157310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:48:03] local.INFO: IMEI packet received {"connection_id":157310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":157310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:48:06] local.INFO: TCP Data received {"connection_id":157310,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:48:06] local.INFO: Processing buffer {"connection_id":157310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:48:06] local.INFO: IMEI packet received {"connection_id":157310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":157310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:48:06] local.INFO: TCP Data received {"connection_id":157310,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f2ccb0012d07c78006f8bc20001500c533..."} 
[2026-08-19 03:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f2ccb0012d07c78006f8bc20001500c533..."} 
[2026-08-19 03:48:06] local.INFO: Processing buffer {"connection_id":157310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f2ccb0012d07c78006f8bc20001500c533..."} 
[2026-08-19 03:48:06] local.INFO: Packet analysis {"connection_id":157310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f2"} 
[2026-08-19 03:48:06] local.INFO: Extracted packet for processing {"connection_id":157310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f2"} 
[2026-08-19 03:48:06] local.INFO: GPS Element Parsed {"raw_longitude":755484544,"raw_latitude":116964384,"longitude_deg":75.5484544,"latitude_deg":11.6964384,"altitude":21,"angle":197,"satellites":51,"speed":49,"hex_longitude":"2d07c780","hex_latitude":"06f8bc20","is_valid_coordinates":true} 
[2026-08-19 03:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495397888001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385057669355929600,"note":"Value kept but may cause issues"} 
[2026-08-19 03:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":563935145785126912,"note":"Value kept but may cause issues"} 
[2026-08-19 03:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787091406000,"timestamp_ms":1787091406000,"timestamp_seconds":1787091406,"priority":1,"record_length":96,"hex_timestamp":"000001a016f2ccb0"} 
[2026-08-19 03:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03: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-08-19 03:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 03:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:48:06] 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-08-19 03:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495397888001,"66":26930,"41":206,"80":6400,"24":49,"16":385057669355929600,"45":563935145785126912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,80,24,16,45]} 
[2026-08-19 03:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495397888001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:48:06] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-19 03:48:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385057669355929600,"km_value":385057669355929.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":563935145785126912,"description":"Unknown IO ID 45"} 
[2026-08-19 03:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495397888001,"power":26930,"unknown_41":206,"unknown_80":6400,"ignition":49,"odometer":null,"unknown_45":563935145785126912}} 
[2026-08-19 03:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":157310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:48:06] local.INFO: GPS data processed {"connection_id":157310,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:48:06] local.INFO: Acknowledgment sent {"connection_id":157310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:48:08] local.INFO: TCP Data received {"connection_id":157310,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f2ebf0012d07bb8006f89690001600c534..."} 
[2026-08-19 03:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f2ebf0012d07bb8006f89690001600c534..."} 
[2026-08-19 03:48:08] local.INFO: Processing buffer {"connection_id":157310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f2ebf0012d07bb8006f89690001600c534..."} 
[2026-08-19 03:48:08] local.INFO: Packet analysis {"connection_id":157310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f2"} 
[2026-08-19 03:48:08] local.INFO: Extracted packet for processing {"connection_id":157310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f2"} 
[2026-08-19 03:48:08] local.INFO: GPS Element Parsed {"raw_longitude":755481472,"raw_latitude":116954768,"longitude_deg":75.5481472,"latitude_deg":11.6954768,"altitude":22,"angle":197,"satellites":52,"speed":51,"hex_longitude":"2d07bb80","hex_latitude":"06f89690","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495399936001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385058158982201344,"note":"Value kept but may cause issues"} 
[2026-08-19 03:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":560557446062153728,"note":"Value kept but may cause issues"} 
[2026-08-19 03:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787091414000,"timestamp_ms":1787091414000,"timestamp_seconds":1787091414,"priority":1,"record_length":96,"hex_timestamp":"000001a016f2ebf0"} 
[2026-08-19 03:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:48: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-08-19 03: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-19 03:48:08] 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-08-19 03: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-08-19 03:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":157310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":157310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":157310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:48:08] 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-08-19 03:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495399936001,"66":27321,"41":206,"80":6400,"24":51,"16":385058158982201344,"45":560557446062153728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,80,24,16,45]} 
[2026-08-19 03:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495399936001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:48:08] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-19 03:48:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385058158982201344,"km_value":385058158982201.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":560557446062153728,"description":"Unknown IO ID 45"} 
[2026-08-19 03:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495399936001,"power":27321,"unknown_41":206,"unknown_80":6400,"ignition":51,"odometer":null,"unknown_45":560557446062153728}} 
[2026-08-19 03:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":157310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:48:08] local.INFO: GPS data processed {"connection_id":157310,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:48:08] local.INFO: Acknowledgment sent {"connection_id":157310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:48:38] local.INFO: TCP Data received {"connection_id":157310,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f30748012d07b18006f873f8001600c334..."} 
[2026-08-19 03:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f30748012d07b18006f873f8001600c334..."} 
[2026-08-19 03:48:38] local.INFO: Processing buffer {"connection_id":157310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f30748012d07b18006f873f8001600c334..."} 
[2026-08-19 03:48:38] local.INFO: Packet analysis {"connection_id":157310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f3"} 
[2026-08-19 03:48:38] local.INFO: Extracted packet for processing {"connection_id":157310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f3"} 
[2026-08-19 03:48:38] local.INFO: GPS Element Parsed {"raw_longitude":755478912,"raw_latitude":116945912,"longitude_deg":75.5478912,"latitude_deg":11.6945912,"altitude":22,"angle":195,"satellites":52,"speed":53,"hex_longitude":"2d07b180","hex_latitude":"06f873f8","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495401984001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385058605658800128,"note":"Value kept but may cause issues"} 
[2026-08-19 03:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":557179746339164160,"note":"Value kept but may cause issues"} 
[2026-08-19 03:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787091421000,"timestamp_ms":1787091421000,"timestamp_seconds":1787091421,"priority":1,"record_length":96,"hex_timestamp":"000001a016f30748"} 
[2026-08-19 03:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:48: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-08-19 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 03:48:38] 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-08-19 03: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-08-19 03:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:48:38] 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-08-19 03:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495401984001,"66":27289,"41":206,"80":6400,"24":53,"16":385058605658800128,"45":557179746339164160},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,80,24,16,45]} 
[2026-08-19 03:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495401984001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:48:38] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-19 03:48:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385058605658800128,"km_value":385058605658800.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":557179746339164160,"description":"Unknown IO ID 45"} 
[2026-08-19 03:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495401984001,"power":27289,"unknown_41":206,"unknown_80":6400,"ignition":53,"odometer":null,"unknown_45":557179746339164160}} 
[2026-08-19 03:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":157310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:48:38] local.INFO: GPS data processed {"connection_id":157310,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:48:38] local.INFO: Acknowledgment sent {"connection_id":157310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:48:58] local.INFO: TCP Data received {"connection_id":157678,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:48:58] local.INFO: Processing buffer {"connection_id":157678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:48:58] local.INFO: IMEI packet received {"connection_id":157678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":157678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:49:00] local.INFO: TCP Data received {"connection_id":157678,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:49:00] local.INFO: Processing buffer {"connection_id":157678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:49:00] local.INFO: IMEI packet received {"connection_id":157678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":157678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:49:05] local.INFO: TCP Data received {"connection_id":157678,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:49:05] local.INFO: Processing buffer {"connection_id":157678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:49:05] local.INFO: IMEI packet received {"connection_id":157678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":157678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:49:06] local.INFO: TCP Data received {"connection_id":157678,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f322a0012d07a74006f85010001700c334..."} 
[2026-08-19 03:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f322a0012d07a74006f85010001700c334..."} 
[2026-08-19 03:49:06] local.INFO: Processing buffer {"connection_id":157678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f322a0012d07a74006f85010001700c334..."} 
[2026-08-19 03:49:06] local.INFO: Packet analysis {"connection_id":157678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f3"} 
[2026-08-19 03:49:06] local.INFO: Extracted packet for processing {"connection_id":157678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f3"} 
[2026-08-19 03:49:06] local.INFO: GPS Element Parsed {"raw_longitude":755476288,"raw_latitude":116936720,"longitude_deg":75.5476288,"latitude_deg":11.693672,"altitude":23,"angle":195,"satellites":52,"speed":54,"hex_longitude":"2d07a740","hex_latitude":"06f85010","is_valid_coordinates":true} 
[2026-08-19 03:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495403776001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385059069515268096,"note":"Value kept but may cause issues"} 
[2026-08-19 03:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":554364996569790464,"note":"Value kept but may cause issues"} 
[2026-08-19 03:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787091428000,"timestamp_ms":1787091428000,"timestamp_seconds":1787091428,"priority":1,"record_length":96,"hex_timestamp":"000001a016f322a0"} 
[2026-08-19 03:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-19 03:49:06] 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-08-19 03:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:49:06] 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-08-19 03:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495403776001,"66":27234,"41":206,"80":6400,"24":54,"16":385059069515268096,"45":554364996569790464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,80,24,16,45]} 
[2026-08-19 03:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495403776001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:49:06] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-19 03:49:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385059069515268096,"km_value":385059069515268.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":554364996569790464,"description":"Unknown IO ID 45"} 
[2026-08-19 03:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495403776001,"power":27234,"unknown_41":206,"unknown_80":6400,"ignition":54,"odometer":null,"unknown_45":554364996569790464}} 
[2026-08-19 03:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":157678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:49:06] local.INFO: GPS data processed {"connection_id":157678,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:49:06] local.INFO: Acknowledgment sent {"connection_id":157678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:49:38] local.INFO: TCP Data received {"connection_id":157678,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f48de8012d07b84006f68488000e008d34..."} 
[2026-08-19 03:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f48de8012d07b84006f68488000e008d34..."} 
[2026-08-19 03:49:38] local.INFO: Processing buffer {"connection_id":157678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f48de8012d07b84006f68488000e008d34..."} 
[2026-08-19 03:49:38] local.INFO: Packet analysis {"connection_id":157678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f4"} 
[2026-08-19 03:49:38] local.INFO: Extracted packet for processing {"connection_id":157678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f4"} 
[2026-08-19 03:49:38] local.INFO: GPS Element Parsed {"raw_longitude":755480640,"raw_latitude":116819080,"longitude_deg":75.548064,"latitude_deg":11.681908,"altitude":14,"angle":141,"satellites":52,"speed":57,"hex_longitude":"2d07b840","hex_latitude":"06f68488","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495427584001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385065305807781888,"note":"Value kept but may cause issues"} 
[2026-08-19 03:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":549087340726005760,"note":"Value kept but may cause issues"} 
[2026-08-19 03:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787091521000,"timestamp_ms":1787091521000,"timestamp_seconds":1787091521,"priority":1,"record_length":96,"hex_timestamp":"000001a016f48de8"} 
[2026-08-19 03:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:49: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-08-19 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 03:49:38] 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-08-19 03: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-08-19 03:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:49:38] 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-08-19 03:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495427584001,"66":27310,"13":206,"80":6400,"24":57,"16":385065305807781888,"45":549087340726005760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,80,24,16,45]} 
[2026-08-19 03:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495427584001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:49:38] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-19 03:49:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385065305807781888,"km_value":385065305807781.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":549087340726005760,"description":"Unknown IO ID 45"} 
[2026-08-19 03:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495427584001,"power":27310,"unknown_13":206,"unknown_80":6400,"ignition":57,"odometer":null,"unknown_45":549087340726005760}} 
[2026-08-19 03:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":157678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:49:38] local.INFO: GPS data processed {"connection_id":157678,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:49:38] local.INFO: Acknowledgment sent {"connection_id":157678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:50:00] local.INFO: TCP Data received {"connection_id":157311,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:50:00] local.INFO: Processing buffer {"connection_id":157311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:50:00] local.INFO: IMEI packet received {"connection_id":157311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":157311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:50:05] local.INFO: TCP Data received {"connection_id":157311,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:50:05] local.INFO: Processing buffer {"connection_id":157311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:50:05] local.INFO: IMEI packet received {"connection_id":157311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":157311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:50:07] local.INFO: TCP Data received {"connection_id":157311,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f4a940012d07cfc006f66778000c008d34..."} 
[2026-08-19 03:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f4a940012d07cfc006f66778000c008d34..."} 
[2026-08-19 03:50:07] local.INFO: Processing buffer {"connection_id":157311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f4a940012d07cfc006f66778000c008d34..."} 
[2026-08-19 03:50:07] local.INFO: Packet analysis {"connection_id":157311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f4"} 
[2026-08-19 03:50:07] local.INFO: Extracted packet for processing {"connection_id":157311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f4"} 
[2026-08-19 03:50:07] local.INFO: GPS Element Parsed {"raw_longitude":755486656,"raw_latitude":116811640,"longitude_deg":75.5486656,"latitude_deg":11.681164,"altitude":12,"angle":141,"satellites":52,"speed":49,"hex_longitude":"2d07cfc0","hex_latitude":"06f66778","is_valid_coordinates":true} 
[2026-08-19 03:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495429376001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385065765369282560,"note":"Value kept but may cause issues"} 
[2026-08-19 03:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":556264952630118400,"note":"Value kept but may cause issues"} 
[2026-08-19 03:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787091528000,"timestamp_ms":1787091528000,"timestamp_seconds":1787091528,"priority":1,"record_length":96,"hex_timestamp":"000001a016f4a940"} 
[2026-08-19 03:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 03:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495429376001,"66":27376,"13":206,"80":6400,"24":49,"16":385065765369282560,"45":556264952630118400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,80,24,16,45]} 
[2026-08-19 03:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495429376001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:50:07] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-19 03:50:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385065765369282560,"km_value":385065765369282.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":556264952630118400,"description":"Unknown IO ID 45"} 
[2026-08-19 03:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495429376001,"power":27376,"unknown_13":206,"unknown_80":6400,"ignition":49,"odometer":null,"unknown_45":556264952630118400}} 
[2026-08-19 03:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":157311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:50:07] local.INFO: GPS data processed {"connection_id":157311,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:50:07] local.INFO: Acknowledgment sent {"connection_id":157311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:50:38] local.INFO: TCP Data received {"connection_id":157311,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f4c880012d07e64006f64c50000d008a33..."} 
[2026-08-19 03:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f4c880012d07e64006f64c50000d008a33..."} 
[2026-08-19 03:50:38] local.INFO: Processing buffer {"connection_id":157311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f4c880012d07e64006f64c50000d008a33..."} 
[2026-08-19 03:50:38] local.INFO: Packet analysis {"connection_id":157311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f4"} 
[2026-08-19 03:50:38] local.INFO: Extracted packet for processing {"connection_id":157311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f4"} 
[2026-08-19 03:50:38] local.INFO: GPS Element Parsed {"raw_longitude":755492416,"raw_latitude":116804688,"longitude_deg":75.5492416,"latitude_deg":11.6804688,"altitude":13,"angle":138,"satellites":51,"speed":37,"hex_longitude":"2d07e640","hex_latitude":"06f64c50","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495431168001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385066199160979456,"note":"Value kept but may cause issues"} 
[2026-08-19 03:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":562879614580914176,"note":"Value kept but may cause issues"} 
[2026-08-19 03:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787091536000,"timestamp_ms":1787091536000,"timestamp_seconds":1787091536,"priority":1,"record_length":96,"hex_timestamp":"000001a016f4c880"} 
[2026-08-19 03:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 03:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:50:38] 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-08-19 03:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495431168001,"66":27234,"13":206,"80":6400,"24":37,"16":385066199160979456,"45":562879614580914176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,80,24,16,45]} 
[2026-08-19 03:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495431168001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:50:38] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-19 03:50:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385066199160979456,"km_value":385066199160979.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":562879614580914176,"description":"Unknown IO ID 45"} 
[2026-08-19 03:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495431168001,"power":27234,"unknown_13":206,"unknown_80":6400,"ignition":37,"odometer":null,"unknown_45":562879614580914176}} 
[2026-08-19 03:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":157311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:50:38] local.INFO: GPS data processed {"connection_id":157311,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:50:38] local.INFO: Acknowledgment sent {"connection_id":157311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:51:00] local.INFO: TCP Data received {"connection_id":157679,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:51:00] local.INFO: Processing buffer {"connection_id":157679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:51:00] local.INFO: IMEI packet received {"connection_id":157679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":157679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:51:01] local.INFO: TCP Data received {"connection_id":157679,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:51:01] local.INFO: Processing buffer {"connection_id":157679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:51:01] local.INFO: IMEI packet received {"connection_id":157679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":157679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:51:05] local.INFO: TCP Data received {"connection_id":157679,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:51:05] local.INFO: Processing buffer {"connection_id":157679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:51:05] local.INFO: IMEI packet received {"connection_id":157679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":157679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:51:06] local.INFO: TCP Data received {"connection_id":157679,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f4f760012d07ff4006f63330000c008c32..."} 
[2026-08-19 03:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f4f760012d07ff4006f63330000c008c32..."} 
[2026-08-19 03:51:06] local.INFO: Processing buffer {"connection_id":157679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f4f760012d07ff4006f63330000c008c32..."} 
[2026-08-19 03:51:06] local.INFO: Packet analysis {"connection_id":157679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f4"} 
[2026-08-19 03:51:06] local.INFO: Extracted packet for processing {"connection_id":157679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f4"} 
[2026-08-19 03:51:06] local.INFO: GPS Element Parsed {"raw_longitude":755498816,"raw_latitude":116798256,"longitude_deg":75.5498816,"latitude_deg":11.6798256,"altitude":12,"angle":140,"satellites":50,"speed":30,"hex_longitude":"2d07ff40","hex_latitude":"06f63330","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495433216001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385066632952676352,"note":"Value kept but may cause issues"} 
[2026-08-19 03:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":569212801555124224,"note":"Value kept but may cause issues"} 
[2026-08-19 03:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787091548000,"timestamp_ms":1787091548000,"timestamp_seconds":1787091548,"priority":1,"record_length":96,"hex_timestamp":"000001a016f4f760"} 
[2026-08-19 03:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 03:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:51:06] 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-08-19 03:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495433216001,"66":27321,"13":206,"80":6400,"24":30,"16":385066632952676352,"45":569212801555124224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,80,24,16,45]} 
[2026-08-19 03:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495433216001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:51:06] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-19 03:51:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385066632952676352,"km_value":385066632952676.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":569212801555124224,"description":"Unknown IO ID 45"} 
[2026-08-19 03:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495433216001,"power":27321,"unknown_13":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":569212801555124224}} 
[2026-08-19 03:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":157679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:51:06] local.INFO: GPS data processed {"connection_id":157679,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:51:06] local.INFO: Acknowledgment sent {"connection_id":157679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:51:40] local.INFO: TCP Data received {"connection_id":157679,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f656f0012d08b1c006f54a78000c009e34..."} 
[2026-08-19 03:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f656f0012d08b1c006f54a78000c009e34..."} 
[2026-08-19 03:51:40] local.INFO: Processing buffer {"connection_id":157679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f656f0012d08b1c006f54a78000c009e34..."} 
[2026-08-19 03:51:40] local.INFO: Packet analysis {"connection_id":157679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f6"} 
[2026-08-19 03:51:40] local.INFO: Extracted packet for processing {"connection_id":157679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f6"} 
[2026-08-19 03:51:40] local.INFO: GPS Element Parsed {"raw_longitude":755544512,"raw_latitude":116738680,"longitude_deg":75.5544512,"latitude_deg":11.673868,"altitude":12,"angle":158,"satellites":52,"speed":20,"hex_longitude":"2d08b1c0","hex_latitude":"06f54a78","is_valid_coordinates":true} 
[2026-08-19 03:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495457536001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385070257905074176,"note":"Value kept but may cause issues"} 
[2026-08-19 03:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":623396734556215296,"note":"Value kept but may cause issues"} 
[2026-08-19 03:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787091638000,"timestamp_ms":1787091638000,"timestamp_seconds":1787091638,"priority":1,"record_length":96,"hex_timestamp":"000001a016f656f0"} 
[2026-08-19 03:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 03:51:40] 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-08-19 03:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495457536001,"66":27169,"12":206,"80":6400,"24":20,"16":385070257905074176,"45":623396734556215296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-08-19 03:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495457536001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:51:40] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 03:51:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385070257905074176,"km_value":385070257905074.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":623396734556215296,"description":"Unknown IO ID 45"} 
[2026-08-19 03:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495457536001,"power":27169,"unknown_12":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":623396734556215296}} 
[2026-08-19 03:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":157679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:51:40] local.INFO: GPS data processed {"connection_id":157679,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:51:40] local.INFO: Acknowledgment sent {"connection_id":157679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:52:29] local.INFO: TCP Data received {"connection_id":159857,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:52:29] local.INFO: Processing buffer {"connection_id":159857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:52:29] local.INFO: IMEI packet received {"connection_id":159857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":159857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:52:30] local.INFO: TCP Data received {"connection_id":159857,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 03:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159857,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 03:52:30] local.INFO: Processing buffer {"connection_id":159857,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 03:52:30] local.INFO: IMEI packet received {"connection_id":159857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":159857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:52:31] local.INFO: TCP Data received {"connection_id":159857,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f66e60012d08b58006f53fc0000c009133..."} 
[2026-08-19 03:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f66e60012d08b58006f53fc0000c009133..."} 
[2026-08-19 03:52:31] local.INFO: Processing buffer {"connection_id":159857,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a016..."} 
[2026-08-19 03:52:31] local.INFO: IMEI packet received {"connection_id":159857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":159857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:52:32] local.INFO: TCP Data received {"connection_id":159857,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f69958012d08cb0006f522b8000c008e34..."} 
[2026-08-19 03:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f69958012d08cb0006f522b8000c008e34..."} 
[2026-08-19 03:52:32] local.INFO: Processing buffer {"connection_id":159857,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a016f66e60012d08b58006f53fc0000c009133..."} 
[2026-08-19 03:52:32] local.INFO: Packet analysis {"connection_id":159857,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a016f6"} 
[2026-08-19 03:52:32] local.INFO: Extracted packet for processing {"connection_id":159857,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f6"} 
[2026-08-19 03:52:32] local.INFO: GPS Element Parsed {"raw_longitude":755545472,"raw_latitude":116735936,"longitude_deg":75.5545472,"latitude_deg":11.6735936,"altitude":12,"angle":145,"satellites":51,"speed":25,"hex_longitude":"2d08b580","hex_latitude":"06f53fc0","is_valid_coordinates":true} 
[2026-08-19 03:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495459328001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385070399638994944,"note":"Value kept but may cause issues"} 
[2026-08-19 03:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":626492959298844672,"note":"Value kept but may cause issues"} 
[2026-08-19 03:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787091644000,"timestamp_ms":1787091644000,"timestamp_seconds":1787091644,"priority":1,"record_length":96,"hex_timestamp":"000001a016f66e60"} 
[2026-08-19 03:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:52: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-08-19 03:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-19 03:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495459328001,"66":27213,"12":206,"80":6400,"24":25,"16":385070399638994944,"45":626492959298844672},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-08-19 03:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495459328001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:52:32] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 03:52:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385070399638994944,"km_value":385070399638994.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":626492959298844672,"description":"Unknown IO ID 45"} 
[2026-08-19 03:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495459328001,"power":27213,"unknown_12":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":626492959298844672}} 
[2026-08-19 03:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":159857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:52:32] local.INFO: GPS data processed {"connection_id":159857,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:52:32] local.INFO: Acknowledgment sent {"connection_id":159857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:52:32] local.INFO: Packet analysis {"connection_id":159857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f6"} 
[2026-08-19 03:52:32] local.INFO: Extracted packet for processing {"connection_id":159857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f6"} 
[2026-08-19 03:52:32] local.INFO: GPS Element Parsed {"raw_longitude":755550976,"raw_latitude":116728504,"longitude_deg":75.5550976,"latitude_deg":11.6728504,"altitude":12,"angle":142,"satellites":52,"speed":37,"hex_longitude":"2d08cb00","hex_latitude":"06f522b8","is_valid_coordinates":true} 
[2026-08-19 03:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495460864001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385070846315593728,"note":"Value kept but may cause issues"} 
[2026-08-19 03:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":627548490460807168,"note":"Value kept but may cause issues"} 
[2026-08-19 03:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787091655000,"timestamp_ms":1787091655000,"timestamp_seconds":1787091655,"priority":1,"record_length":96,"hex_timestamp":"000001a016f69958"} 
[2026-08-19 03:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:52: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-08-19 03:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 03:52:32] 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-08-19 03:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495460864001,"66":27343,"12":206,"80":6400,"24":37,"16":385070846315593728,"45":627548490460807168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-08-19 03:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495460864001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:52:32] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 03:52:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385070846315593728,"km_value":385070846315593.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":627548490460807168,"description":"Unknown IO ID 45"} 
[2026-08-19 03:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495460864001,"power":27343,"unknown_12":206,"unknown_80":6400,"ignition":37,"odometer":null,"unknown_45":627548490460807168}} 
[2026-08-19 03:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":159857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:52:32] local.INFO: GPS data processed {"connection_id":159857,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:52:32] local.INFO: Acknowledgment sent {"connection_id":159857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:52:33] local.INFO: TCP Data received {"connection_id":159857,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f6c838012d08de8006f50c90000d008234..."} 
[2026-08-19 03:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f6c838012d08de8006f50c90000d008234..."} 
[2026-08-19 03:52:33] local.INFO: Processing buffer {"connection_id":159857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f6c838012d08de8006f50c90000d008234..."} 
[2026-08-19 03:52:33] local.INFO: Packet analysis {"connection_id":159857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f6"} 
[2026-08-19 03:52:33] local.INFO: Extracted packet for processing {"connection_id":159857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f6"} 
[2026-08-19 03:52:33] local.INFO: GPS Element Parsed {"raw_longitude":755555968,"raw_latitude":116722832,"longitude_deg":75.5555968,"latitude_deg":11.6722832,"altitude":13,"angle":130,"satellites":52,"speed":21,"hex_longitude":"2d08de80","hex_latitude":"06f50c90","is_valid_coordinates":true} 
[2026-08-19 03:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495463680001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385071207092846592,"note":"Value kept but may cause issues"} 
[2026-08-19 03:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":633600202458183680,"note":"Value kept but may cause issues"} 
[2026-08-19 03:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787091667000,"timestamp_ms":1787091667000,"timestamp_seconds":1787091667,"priority":1,"record_length":96,"hex_timestamp":"000001a016f6c838"} 
[2026-08-19 03:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:52: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-08-19 03:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 03:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:52:33] 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-08-19 03:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495463680001,"66":27158,"12":206,"80":6400,"24":21,"16":385071207092846592,"45":633600202458183680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-08-19 03:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495463680001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:52:33] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 03:52:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385071207092846592,"km_value":385071207092846.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":633600202458183680,"description":"Unknown IO ID 45"} 
[2026-08-19 03:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495463680001,"power":27158,"unknown_12":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":633600202458183680}} 
[2026-08-19 03:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":159857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:52:33] local.INFO: GPS data processed {"connection_id":159857,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:52:33] local.INFO: Acknowledgment sent {"connection_id":159857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:53:00] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:53:00] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:53:00] local.INFO: IMEI packet received {"connection_id":159858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":159858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:53:02] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:53:02] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:53:02] local.INFO: IMEI packet received {"connection_id":159858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":159858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:53:03] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f6f330012d08f40006f4fba8000c007135..."} 
[2026-08-19 03:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f6f330012d08f40006f4fba8000c007135..."} 
[2026-08-19 03:53:03] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f6f330012d08f40006f4fba8000c007135..."} 
[2026-08-19 03:53:03] local.INFO: Packet analysis {"connection_id":159858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f6"} 
[2026-08-19 03:53:03] local.INFO: Extracted packet for processing {"connection_id":159858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f6"} 
[2026-08-19 03:53:03] local.INFO: GPS Element Parsed {"raw_longitude":755561472,"raw_latitude":116718504,"longitude_deg":75.5561472,"latitude_deg":11.6718504,"altitude":12,"angle":113,"satellites":53,"speed":26,"hex_longitude":"2d08f400","hex_latitude":"06f4fba8","is_valid_coordinates":true} 
[2026-08-19 03:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495466752001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385071546395262976,"note":"Value kept but may cause issues"} 
[2026-08-19 03:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":639088964502589440,"note":"Value kept but may cause issues"} 
[2026-08-19 03:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787091678000,"timestamp_ms":1787091678000,"timestamp_seconds":1787091678,"priority":1,"record_length":96,"hex_timestamp":"000001a016f6f330"} 
[2026-08-19 03:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-19 03:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495466752001,"66":27137,"12":206,"80":6400,"24":26,"16":385071546395262976,"45":639088964502589440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-08-19 03:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495466752001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:53:03] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 03:53:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385071546395262976,"km_value":385071546395263.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":639088964502589440,"description":"Unknown IO ID 45"} 
[2026-08-19 03:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495466752001,"power":27137,"unknown_12":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":639088964502589440}} 
[2026-08-19 03:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":159858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:53:03] local.INFO: GPS data processed {"connection_id":159858,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:53:03] local.INFO: Acknowledgment sent {"connection_id":159858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:53:34] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f6fee8012d08fb0006f4f840000c007d34..."} 
[2026-08-19 03:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f6fee8012d08fb0006f4f840000c007d34..."} 
[2026-08-19 03:53:34] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f6fee8012d08fb0006f4f840000c007d34..."} 
[2026-08-19 03:53:34] local.INFO: Packet analysis {"connection_id":159858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f6"} 
[2026-08-19 03:53:34] local.INFO: Extracted packet for processing {"connection_id":159858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f6"} 
[2026-08-19 03:53:34] local.INFO: GPS Element Parsed {"raw_longitude":755563264,"raw_latitude":116717632,"longitude_deg":75.5563264,"latitude_deg":11.6717632,"altitude":12,"angle":125,"satellites":52,"speed":28,"hex_longitude":"2d08fb00","hex_latitude":"06f4f840","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495469568001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385071640884543488,"note":"Value kept but may cause issues"} 
[2026-08-19 03:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":645140676500760576,"note":"Value kept but may cause issues"} 
[2026-08-19 03:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787091681000,"timestamp_ms":1787091681000,"timestamp_seconds":1787091681,"priority":1,"record_length":96,"hex_timestamp":"000001a016f6fee8"} 
[2026-08-19 03:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-08-19 03:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495469568001,"66":27343,"12":206,"80":6400,"24":28,"16":385071640884543488,"45":645140676500760576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-08-19 03:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495469568001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:53:34] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 03:53:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385071640884543488,"km_value":385071640884543.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":645140676500760576,"description":"Unknown IO ID 45"} 
[2026-08-19 03:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495469568001,"power":27343,"unknown_12":206,"unknown_80":6400,"ignition":28,"odometer":null,"unknown_45":645140676500760576}} 
[2026-08-19 03:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":159858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:53:34] local.INFO: GPS data processed {"connection_id":159858,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:53:34] local.INFO: Acknowledgment sent {"connection_id":159858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:54:00] local.INFO: TCP Data received {"connection_id":159859,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:54:00] local.INFO: Processing buffer {"connection_id":159859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:54:00] local.INFO: IMEI packet received {"connection_id":159859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":159859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:54:05] local.INFO: TCP Data received {"connection_id":159859,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:54:05] local.INFO: Processing buffer {"connection_id":159859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:54:05] local.INFO: IMEI packet received {"connection_id":159859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":159859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:54:07] local.INFO: TCP Data received {"connection_id":159859,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f706b8012d08ff8006f4f440000c008933..."} 
[2026-08-19 03:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f706b8012d08ff8006f4f440000c008933..."} 
[2026-08-19 03:54:07] local.INFO: Processing buffer {"connection_id":159859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f706b8012d08ff8006f4f440000c008933..."} 
[2026-08-19 03:54:07] local.INFO: Packet analysis {"connection_id":159859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f7"} 
[2026-08-19 03:54:07] local.INFO: Extracted packet for processing {"connection_id":159859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f7"} 
[2026-08-19 03:54:07] local.INFO: GPS Element Parsed {"raw_longitude":755564416,"raw_latitude":116716608,"longitude_deg":75.5564416,"latitude_deg":11.6716608,"altitude":12,"angle":137,"satellites":51,"speed":31,"hex_longitude":"2d08ff80","hex_latitude":"06f4f440","is_valid_coordinates":true} 
[2026-08-19 03:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495470336001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385071713898987520,"note":"Value kept but may cause issues"} 
[2026-08-19 03:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":647111001337511936,"note":"Value kept but may cause issues"} 
[2026-08-19 03:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787091683000,"timestamp_ms":1787091683000,"timestamp_seconds":1787091683,"priority":1,"record_length":96,"hex_timestamp":"000001a016f706b8"} 
[2026-08-19 03:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 03:54:07] 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-08-19 03:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495470336001,"66":27300,"12":206,"80":6400,"24":31,"16":385071713898987520,"45":647111001337511936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-08-19 03:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495470336001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:54:07] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 03:54:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385071713898987520,"km_value":385071713898987.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":647111001337511936,"description":"Unknown IO ID 45"} 
[2026-08-19 03:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495470336001,"power":27300,"unknown_12":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":647111001337511936}} 
[2026-08-19 03:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":159859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:54:07] local.INFO: GPS data processed {"connection_id":159859,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:54:07] local.INFO: Acknowledgment sent {"connection_id":159859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:54:38] local.INFO: TCP Data received {"connection_id":159859,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f92d80012d09a3c006f33198001500a22c..."} 
[2026-08-19 03:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f92d80012d09a3c006f33198001500a22c..."} 
[2026-08-19 03:54:38] local.INFO: Processing buffer {"connection_id":159859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f92d80012d09a3c006f33198001500a22c..."} 
[2026-08-19 03:54:38] local.INFO: Packet analysis {"connection_id":159859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f9"} 
[2026-08-19 03:54:38] local.INFO: Extracted packet for processing {"connection_id":159859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f9"} 
[2026-08-19 03:54:38] local.INFO: GPS Element Parsed {"raw_longitude":755606464,"raw_latitude":116601240,"longitude_deg":75.5606464,"latitude_deg":11.660124,"altitude":21,"angle":162,"satellites":44,"speed":35,"hex_longitude":"2d09a3c0","hex_latitude":"06f33198","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495505664001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385077761212940288,"note":"Value kept but may cause issues"} 
[2026-08-19 03:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":693272897489500160,"note":"Value kept but may cause issues"} 
[2026-08-19 03:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787091824000,"timestamp_ms":1787091824000,"timestamp_seconds":1787091824,"priority":1,"record_length":96,"hex_timestamp":"000001a016f92d80"} 
[2026-08-19 03:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:54: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-08-19 03: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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-19 03:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:54:38] 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-08-19 03:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495505664001,"66":27234,"82":206,"80":6400,"24":35,"16":385077761212940288,"45":693272897489500160},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-08-19 03:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495505664001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:54:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-19 03:54:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385077761212940288,"km_value":385077761212940.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":693272897489500160,"description":"Unknown IO ID 45"} 
[2026-08-19 03:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495505664001,"power":27234,"unknown_82":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":693272897489500160}} 
[2026-08-19 03:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":159859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:54:38] local.INFO: GPS data processed {"connection_id":159859,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:54:38] local.INFO: Acknowledgment sent {"connection_id":159859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:55:00] local.INFO: TCP Data received {"connection_id":158577,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:55:00] local.INFO: Processing buffer {"connection_id":158577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:55:00] local.INFO: IMEI packet received {"connection_id":158577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":158577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:55:01] local.INFO: TCP Data received {"connection_id":158577,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:55:01] local.INFO: Processing buffer {"connection_id":158577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:55:01] local.INFO: IMEI packet received {"connection_id":158577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":158577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:55:05] local.INFO: TCP Data received {"connection_id":158577,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:55:05] local.INFO: Processing buffer {"connection_id":158577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:55:05] local.INFO: IMEI packet received {"connection_id":158577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":158577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:55:06] local.INFO: TCP Data received {"connection_id":158577,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f93938012d09a5c006f32738001500ad2f..."} 
[2026-08-19 03:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f93938012d09a5c006f32738001500ad2f..."} 
[2026-08-19 03:55:06] local.INFO: Processing buffer {"connection_id":158577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f93938012d09a5c006f32738001500ad2f..."} 
[2026-08-19 03:55:06] local.INFO: Packet analysis {"connection_id":158577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f9"} 
[2026-08-19 03:55:06] local.INFO: Extracted packet for processing {"connection_id":158577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f9"} 
[2026-08-19 03:55:06] local.INFO: GPS Element Parsed {"raw_longitude":755606976,"raw_latitude":116598584,"longitude_deg":75.5606976,"latitude_deg":11.6598584,"altitude":21,"angle":173,"satellites":47,"speed":36,"hex_longitude":"2d09a5c0","hex_latitude":"06f32738","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495506944001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385077894356926464,"note":"Value kept but may cause issues"} 
[2026-08-19 03:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":694609903627638784,"note":"Value kept but may cause issues"} 
[2026-08-19 03:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787091827000,"timestamp_ms":1787091827000,"timestamp_seconds":1787091827,"priority":1,"record_length":96,"hex_timestamp":"000001a016f93938"} 
[2026-08-19 03:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 03:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:55:06] 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-08-19 03:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495506944001,"66":27234,"82":206,"80":6400,"24":36,"16":385077894356926464,"45":694609903627638784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-08-19 03:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495506944001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:55:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-19 03:55:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385077894356926464,"km_value":385077894356926.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":694609903627638784,"description":"Unknown IO ID 45"} 
[2026-08-19 03:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495506944001,"power":27234,"unknown_82":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":694609903627638784}} 
[2026-08-19 03:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":158577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:55:06] local.INFO: GPS data processed {"connection_id":158577,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:55:06] local.INFO: Acknowledgment sent {"connection_id":158577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:55:38] local.INFO: TCP Data received {"connection_id":158577,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f95c60012d09aa0006f30388001400af2f..."} 
[2026-08-19 03:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f95c60012d09aa0006f30388001400af2f..."} 
[2026-08-19 03:55:38] local.INFO: Processing buffer {"connection_id":158577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f95c60012d09aa0006f30388001400af2f..."} 
[2026-08-19 03:55:38] local.INFO: Packet analysis {"connection_id":158577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f9"} 
[2026-08-19 03:55:38] local.INFO: Extracted packet for processing {"connection_id":158577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f9"} 
[2026-08-19 03:55:38] local.INFO: GPS Element Parsed {"raw_longitude":755608064,"raw_latitude":116589448,"longitude_deg":75.5608064,"latitude_deg":11.6589448,"altitude":20,"angle":175,"satellites":47,"speed":41,"hex_longitude":"2d09aa00","hex_latitude":"06f30388","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495507712001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385078341033525248,"note":"Value kept but may cause issues"} 
[2026-08-19 03:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":695172853580380160,"note":"Value kept but may cause issues"} 
[2026-08-19 03:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787091836000,"timestamp_ms":1787091836000,"timestamp_seconds":1787091836,"priority":1,"record_length":96,"hex_timestamp":"000001a016f95c60"} 
[2026-08-19 03:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:55: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-08-19 03: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 03:55:38] 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-08-19 03:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:55:38] 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-08-19 03:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495507712001,"66":27332,"82":206,"80":6400,"24":41,"16":385078341033525248,"45":695172853580380160},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-08-19 03:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495507712001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:55:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-19 03:55:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385078341033525248,"km_value":385078341033525.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":695172853580380160,"description":"Unknown IO ID 45"} 
[2026-08-19 03:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495507712001,"power":27332,"unknown_82":206,"unknown_80":6400,"ignition":41,"odometer":null,"unknown_45":695172853580380160}} 
[2026-08-19 03:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":158577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:55:38] local.INFO: GPS data processed {"connection_id":158577,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:55:38] local.INFO: Acknowledgment sent {"connection_id":158577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:56:01] local.INFO: TCP Data received {"connection_id":157312,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:56:01] local.INFO: Processing buffer {"connection_id":157312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:56:01] local.INFO: IMEI packet received {"connection_id":157312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":157312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:56:05] local.INFO: TCP Data received {"connection_id":157312,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:56:05] local.INFO: Processing buffer {"connection_id":157312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:56:05] local.INFO: IMEI packet received {"connection_id":157312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":157312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:56:06] local.INFO: TCP Data received {"connection_id":157312,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f98370012d09ad4006f2e060001200ad30..."} 
[2026-08-19 03:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f98370012d09ad4006f2e060001200ad30..."} 
[2026-08-19 03:56:06] local.INFO: Processing buffer {"connection_id":157312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f98370012d09ad4006f2e060001200ad30..."} 
[2026-08-19 03:56:06] local.INFO: Packet analysis {"connection_id":157312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f9"} 
[2026-08-19 03:56:06] local.INFO: Extracted packet for processing {"connection_id":157312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f9"} 
[2026-08-19 03:56:06] local.INFO: GPS Element Parsed {"raw_longitude":755608896,"raw_latitude":116580448,"longitude_deg":75.5608896,"latitude_deg":11.6580448,"altitude":18,"angle":173,"satellites":48,"speed":35,"hex_longitude":"2d09ad40","hex_latitude":"06f2e060","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495510016001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385078779120189440,"note":"Value kept but may cause issues"} 
[2026-08-19 03:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":696369122229061632,"note":"Value kept but may cause issues"} 
[2026-08-19 03:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787091846000,"timestamp_ms":1787091846000,"timestamp_seconds":1787091846,"priority":1,"record_length":96,"hex_timestamp":"000001a016f98370"} 
[2026-08-19 03:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03: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-08-19 03:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 03:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:56:06] 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-08-19 03:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495510016001,"66":27267,"82":206,"80":6400,"24":35,"16":385078779120189440,"45":696369122229061632},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-08-19 03:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495510016001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:56:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-19 03:56:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385078779120189440,"km_value":385078779120189.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":696369122229061632,"description":"Unknown IO ID 45"} 
[2026-08-19 03:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495510016001,"power":27267,"unknown_82":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":696369122229061632}} 
[2026-08-19 03:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":157312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:56:06] local.INFO: GPS data processed {"connection_id":157312,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:56:06] local.INFO: Acknowledgment sent {"connection_id":157312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:56:37] local.INFO: TCP Data received {"connection_id":157312,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f9aa80012d09b1c006f2bd50000f009f32..."} 
[2026-08-19 03:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f9aa80012d09b1c006f2bd50000f009f32..."} 
[2026-08-19 03:56:37] local.INFO: Processing buffer {"connection_id":157312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f9aa80012d09b1c006f2bd50000f009f32..."} 
[2026-08-19 03:56:37] local.INFO: Packet analysis {"connection_id":157312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f9"} 
[2026-08-19 03:56:37] local.INFO: Extracted packet for processing {"connection_id":157312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f9"} 
[2026-08-19 03:56:37] local.INFO: GPS Element Parsed {"raw_longitude":755610048,"raw_latitude":116571472,"longitude_deg":75.5610048,"latitude_deg":11.6571472,"altitude":15,"angle":159,"satellites":50,"speed":25,"hex_longitude":"2d09b1c0","hex_latitude":"06f2bd50","is_valid_coordinates":true} 
[2026-08-19 03:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495512576001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385079217206853632,"note":"Value kept but may cause issues"} 
[2026-08-19 03:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697283915901067264,"note":"Value kept but may cause issues"} 
[2026-08-19 03:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787091856000,"timestamp_ms":1787091856000,"timestamp_seconds":1787091856,"priority":1,"record_length":96,"hex_timestamp":"000001a016f9aa80"} 
[2026-08-19 03:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:56: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-08-19 03:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 03:56:37] 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-08-19 03:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495512576001,"66":27267,"113":206,"80":6400,"24":25,"16":385079217206853632,"45":697283915901067264},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-19 03:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495512576001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:56:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-19 03:56:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385079217206853632,"km_value":385079217206853.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":697283915901067264,"description":"Unknown IO ID 45"} 
[2026-08-19 03:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495512576001,"power":27267,"unknown_113":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":697283915901067264}} 
[2026-08-19 03:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":157312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:56:37] local.INFO: GPS data processed {"connection_id":157312,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:56:37] local.INFO: Acknowledgment sent {"connection_id":157312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:57:00] local.INFO: TCP Data received {"connection_id":157680,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:57:00] local.INFO: Processing buffer {"connection_id":157680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:57:00] local.INFO: IMEI packet received {"connection_id":157680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":157680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:57:05] local.INFO: TCP Data received {"connection_id":157680,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:57:05] local.INFO: Processing buffer {"connection_id":157680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:57:05] local.INFO: IMEI packet received {"connection_id":157680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":157680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:57:06] local.INFO: TCP Data received {"connection_id":157680,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016f9aa80012d09b1c006f2bd50000f009f32..."} 
[2026-08-19 03:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016f9aa80012d09b1c006f2bd50000f009f32..."} 
[2026-08-19 03:57:06] local.INFO: Processing buffer {"connection_id":157680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016f9aa80012d09b1c006f2bd50000f009f32..."} 
[2026-08-19 03:57:06] local.INFO: Packet analysis {"connection_id":157680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016f9"} 
[2026-08-19 03:57:06] local.INFO: Extracted packet for processing {"connection_id":157680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016f9"} 
[2026-08-19 03:57:06] local.INFO: GPS Element Parsed {"raw_longitude":755610048,"raw_latitude":116571472,"longitude_deg":75.5610048,"latitude_deg":11.6571472,"altitude":15,"angle":159,"satellites":50,"speed":25,"hex_longitude":"2d09b1c0","hex_latitude":"06f2bd50","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495515136001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385079217206853632,"note":"Value kept but may cause issues"} 
[2026-08-19 03:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":698550553293967360,"note":"Value kept but may cause issues"} 
[2026-08-19 03:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787091856000,"timestamp_ms":1787091856000,"timestamp_seconds":1787091856,"priority":1,"record_length":96,"hex_timestamp":"000001a016f9aa80"} 
[2026-08-19 03:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03: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-08-19 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 03:57:06] 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-08-19 03: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-08-19 03:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:57:06] 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-08-19 03:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495515136001,"66":27267,"113":206,"80":6400,"24":25,"16":385079217206853632,"45":698550553293967360},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-19 03:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495515136001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:57:06] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-19 03:57:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385079217206853632,"km_value":385079217206853.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":698550553293967360,"description":"Unknown IO ID 45"} 
[2026-08-19 03:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495515136001,"power":27267,"unknown_113":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":698550553293967360}} 
[2026-08-19 03:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":157680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:57:06] local.INFO: GPS data processed {"connection_id":157680,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:57:06] local.INFO: Acknowledgment sent {"connection_id":157680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:57:42] local.INFO: TCP Data received {"connection_id":157680,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016fbb208012d0a164006f19d98000e007f33..."} 
[2026-08-19 03:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016fbb208012d0a164006f19d98000e007f33..."} 
[2026-08-19 03:57:42] local.INFO: Processing buffer {"connection_id":157680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016fbb208012d0a164006f19d98000e007f33..."} 
[2026-08-19 03:57:42] local.INFO: Packet analysis {"connection_id":157680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016fb"} 
[2026-08-19 03:57:42] local.INFO: Extracted packet for processing {"connection_id":157680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016fb"} 
[2026-08-19 03:57:42] local.INFO: GPS Element Parsed {"raw_longitude":755635776,"raw_latitude":116497816,"longitude_deg":75.5635776,"latitude_deg":11.6497816,"altitude":14,"angle":127,"satellites":51,"speed":24,"hex_longitude":"2d0a1640","hex_latitude":"06f19d98","is_valid_coordinates":true} 
[2026-08-19 03:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495549184001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385083044022714368,"note":"Value kept but may cause issues"} 
[2026-08-19 03:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":726838788434532352,"note":"Value kept but may cause issues"} 
[2026-08-19 03:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787091989000,"timestamp_ms":1787091989000,"timestamp_seconds":1787091989,"priority":1,"record_length":96,"hex_timestamp":"000001a016fbb208"} 
[2026-08-19 03:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:57:42] 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-08-19 03:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 03:57:42] 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-08-19 03:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495549184001,"66":27332,"113":206,"80":6400,"24":24,"16":385083044022714368,"45":726838788434532352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-19 03:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495549184001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:57:42] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-19 03:57:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385083044022714368,"km_value":385083044022714.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":726838788434532352,"description":"Unknown IO ID 45"} 
[2026-08-19 03:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495549184001,"power":27332,"unknown_113":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":726838788434532352}} 
[2026-08-19 03:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":157680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:57:42] local.INFO: GPS data processed {"connection_id":157680,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:57:42] local.INFO: Acknowledgment sent {"connection_id":157680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:58:00] local.INFO: TCP Data received {"connection_id":158578,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:58:00] local.INFO: Processing buffer {"connection_id":158578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:58:00] local.INFO: IMEI packet received {"connection_id":158578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":158578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:58:00] local.INFO: TCP Data received {"connection_id":158578,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:58:00] local.INFO: Processing buffer {"connection_id":158578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:58:00] local.INFO: IMEI packet received {"connection_id":158578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":158578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:58:05] local.INFO: TCP Data received {"connection_id":158578,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:58:05] local.INFO: Processing buffer {"connection_id":158578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:58:05] local.INFO: IMEI packet received {"connection_id":158578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":158578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:58:06] local.INFO: TCP Data received {"connection_id":158578,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016fbe4d0012d0a328006f188e80010007c33..."} 
[2026-08-19 03:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016fbe4d0012d0a328006f188e80010007c33..."} 
[2026-08-19 03:58:06] local.INFO: Processing buffer {"connection_id":158578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016fbe4d0012d0a328006f188e80010007c33..."} 
[2026-08-19 03:58:06] local.INFO: Packet analysis {"connection_id":158578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016fb"} 
[2026-08-19 03:58:06] local.INFO: Extracted packet for processing {"connection_id":158578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016fb"} 
[2026-08-19 03:58:06] local.INFO: GPS Element Parsed {"raw_longitude":755643008,"raw_latitude":116492520,"longitude_deg":75.5643008,"latitude_deg":11.649252,"altitude":16,"angle":124,"satellites":51,"speed":30,"hex_longitude":"2d0a3280","hex_latitude":"06f188e8","is_valid_coordinates":true} 
[2026-08-19 03: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-08-19 03:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495549184001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385083473519443968,"note":"Value kept but may cause issues"} 
[2026-08-19 03:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":726838788434532352,"note":"Value kept but may cause issues"} 
[2026-08-19 03:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787092002000,"timestamp_ms":1787092002000,"timestamp_seconds":1787092002,"priority":1,"record_length":96,"hex_timestamp":"000001a016fbe4d0"} 
[2026-08-19 03:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:58: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-08-19 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 03:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03: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-08-19 03:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:58:06] 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-08-19 03:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495549184001,"66":26452,"113":206,"80":6400,"24":30,"16":385083473519443968,"45":726838788434532352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-19 03:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495549184001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:58:06] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-19 03:58:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385083473519443968,"km_value":385083473519443.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":726838788434532352,"description":"Unknown IO ID 45"} 
[2026-08-19 03:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495549184001,"power":26452,"unknown_113":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":726838788434532352}} 
[2026-08-19 03:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":158578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:58:06] local.INFO: GPS data processed {"connection_id":158578,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:58:06] local.INFO: Acknowledgment sent {"connection_id":158578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:58:37] local.INFO: TCP Data received {"connection_id":158578,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a016fc13b0012d0a51c006f174500012007a2f..."} 
[2026-08-19 03:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a016fc13b0012d0a51c006f174500012007a2f..."} 
[2026-08-19 03:58:37] local.INFO: Processing buffer {"connection_id":158578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a016fc13b0012d0a51c006f174500012007a2f..."} 
[2026-08-19 03:58:37] local.INFO: Packet analysis {"connection_id":158578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a016fc"} 
[2026-08-19 03:58:37] local.INFO: Extracted packet for processing {"connection_id":158578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a016fc"} 
[2026-08-19 03:58:37] local.INFO: GPS Element Parsed {"raw_longitude":755651008,"raw_latitude":116487248,"longitude_deg":75.5651008,"latitude_deg":11.6487248,"altitude":18,"angle":122,"satellites":47,"speed":29,"hex_longitude":"2d0a51c0","hex_latitude":"06f17450","is_valid_coordinates":true} 
[2026-08-19 03:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 03:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495552512001,"note":"Value kept but may cause issues"} 
[2026-08-19 03:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385083933080944640,"note":"Value kept but may cause issues"} 
[2026-08-19 03:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":734790456525252608,"note":"Value kept but may cause issues"} 
[2026-08-19 03:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 03:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787092014000,"timestamp_ms":1787092014000,"timestamp_seconds":1787092014,"priority":1,"record_length":96,"hex_timestamp":"000001a016fc13b0"} 
[2026-08-19 03:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 03:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 03:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 03:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 03:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 03:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 03:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 03:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 03:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 03:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 03:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 03:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 03:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495552512001,"66":27180,"111":206,"80":6400,"24":29,"16":385083933080944640,"45":734790456525252608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-08-19 03:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 03:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 03:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495552512001,"description":"Unknown IO ID 0"} 
[2026-08-19 03:58:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 03:58:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 03:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385083933080944640,"km_value":385083933080944.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 03:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":734790456525252608,"description":"Unknown IO ID 45"} 
[2026-08-19 03:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495552512001,"power":27180,"unknown_111":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":734790456525252608}} 
[2026-08-19 03:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":158578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 03:58:37] local.INFO: GPS data processed {"connection_id":158578,"processed":1,"errors":0,"total":1} 
[2026-08-19 03:58:37] local.INFO: Acknowledgment sent {"connection_id":158578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 03:59:01] local.INFO: TCP Data received {"connection_id":158579,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:59:01] local.INFO: Processing buffer {"connection_id":158579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:59:01] local.INFO: IMEI packet received {"connection_id":158579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 03:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":158579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 03:59:02] local.INFO: TCP Data received {"connection_id":158579,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:59:02] local.INFO: Processing buffer {"connection_id":158579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:59:02] local.INFO: IMEI packet received {"connection_id":158579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":158579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:59:03] local.INFO: TCP Data received {"connection_id":158579,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:59:03] local.INFO: Processing buffer {"connection_id":158579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:59:03] local.INFO: IMEI packet received {"connection_id":158579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":158579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 03:59:04] local.INFO: TCP Data received {"connection_id":158579,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:59:04] local.INFO: Processing buffer {"connection_id":158579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 03:59:04] local.INFO: IMEI packet received {"connection_id":158579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 03:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":158579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:04:05] local.INFO: TCP Data received {"connection_id":157314,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:04:05] local.INFO: Processing buffer {"connection_id":157314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:04:05] local.INFO: IMEI packet received {"connection_id":157314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":157314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:04:06] local.INFO: TCP Data received {"connection_id":157314,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01700a3a8012d0c308006ee23c0000e009534..."} 
[2026-08-19 04:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01700a3a8012d0c308006ee23c0000e009534..."} 
[2026-08-19 04:04:06] local.INFO: Processing buffer {"connection_id":157314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01700a3a8012d0c308006ee23c0000e009534..."} 
[2026-08-19 04:04:06] local.INFO: Packet analysis {"connection_id":157314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01700"} 
[2026-08-19 04:04:06] local.INFO: Extracted packet for processing {"connection_id":157314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01700"} 
[2026-08-19 04:04:06] local.INFO: GPS Element Parsed {"raw_longitude":755773568,"raw_latitude":116270016,"longitude_deg":75.5773568,"latitude_deg":11.6270016,"altitude":14,"angle":149,"satellites":52,"speed":26,"hex_longitude":"2d0c3080","hex_latitude":"06ee23c0","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495628288001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385096495860285440,"note":"Value kept but may cause issues"} 
[2026-08-19 04:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873135407523557376,"note":"Value kept but may cause issues"} 
[2026-08-19 04:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787092313000,"timestamp_ms":1787092313000,"timestamp_seconds":1787092313,"priority":1,"record_length":96,"hex_timestamp":"000001a01700a3a8"} 
[2026-08-19 04:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04: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-08-19 04:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 04:04:06] 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-08-19 04: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-08-19 04:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:04:06] 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-08-19 04:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495628288001,"66":27343,"156":206,"80":6400,"24":26,"16":385096495860285440,"45":873135407523557376},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-08-19 04:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495628288001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:04:06] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 04:04:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 04:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385096495860285440,"km_value":385096495860285.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":873135407523557376,"description":"Unknown IO ID 45"} 
[2026-08-19 04:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495628288001,"power":27343,"unknown_156":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":873135407523557376}} 
[2026-08-19 04:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":157314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:04:06] local.INFO: GPS data processed {"connection_id":157314,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:04:06] local.INFO: Acknowledgment sent {"connection_id":157314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:04:37] local.INFO: TCP Data received {"connection_id":157314,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0170245a0012d0c500006ecfdf0000a00ce35..."} 
[2026-08-19 04:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0170245a0012d0c500006ecfdf0000a00ce35..."} 
[2026-08-19 04:04:37] local.INFO: Processing buffer {"connection_id":157314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0170245a0012d0c500006ecfdf0000a00ce35..."} 
[2026-08-19 04:04:37] local.INFO: Packet analysis {"connection_id":157314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01702"} 
[2026-08-19 04:04:37] local.INFO: Extracted packet for processing {"connection_id":157314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01702"} 
[2026-08-19 04:04:37] local.INFO: GPS Element Parsed {"raw_longitude":755781632,"raw_latitude":116194800,"longitude_deg":75.5781632,"latitude_deg":11.61948,"altitude":10,"angle":206,"satellites":53,"speed":17,"hex_longitude":"2d0c5000","hex_latitude":"06ecfdf0","is_valid_coordinates":true} 
[2026-08-19 04:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495659008001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385100365625819136,"note":"Value kept but may cause issues"} 
[2026-08-19 04:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887701737547261952,"note":"Value kept but may cause issues"} 
[2026-08-19 04:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787092420000,"timestamp_ms":1787092420000,"timestamp_seconds":1787092420,"priority":1,"record_length":96,"hex_timestamp":"000001a0170245a0"} 
[2026-08-19 04:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 04:04:37] 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-08-19 04:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495659008001,"66":27300,"49":206,"80":6400,"24":17,"16":385100365625819136,"45":887701737547261952},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-08-19 04:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495659008001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:04:37] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-19 04:04:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 04:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385100365625819136,"km_value":385100365625819.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":887701737547261952,"description":"Unknown IO ID 45"} 
[2026-08-19 04:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495659008001,"power":27300,"unknown_49":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":887701737547261952}} 
[2026-08-19 04:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":157314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:04:37] local.INFO: GPS data processed {"connection_id":157314,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:04:37] local.INFO: Acknowledgment sent {"connection_id":157314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:04:59] local.INFO: TCP Data received {"connection_id":157683,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:04:59] local.INFO: Processing buffer {"connection_id":157683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:04:59] local.INFO: IMEI packet received {"connection_id":157683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":157683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:05:00] local.INFO: TCP Data received {"connection_id":157683,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:05:00] local.INFO: Processing buffer {"connection_id":157683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:05:00] local.INFO: IMEI packet received {"connection_id":157683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":157683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:05:03] local.INFO: TCP Data received {"connection_id":157683,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:05:03] local.INFO: Processing buffer {"connection_id":157683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:05:03] local.INFO: IMEI packet received {"connection_id":157683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":157683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:05:06] local.INFO: TCP Data received {"connection_id":157683,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:05:06] local.INFO: Processing buffer {"connection_id":157683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:05:06] local.INFO: IMEI packet received {"connection_id":157683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":157683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:05:07] local.INFO: TCP Data received {"connection_id":157683,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017024d70012d0c4ec006ecfa70000b00bc34..."} 
[2026-08-19 04:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017024d70012d0c4ec006ecfa70000b00bc34..."} 
[2026-08-19 04:05:07] local.INFO: Processing buffer {"connection_id":157683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017024d70012d0c4ec006ecfa70000b00bc34..."} 
[2026-08-19 04:05:07] local.INFO: Packet analysis {"connection_id":157683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01702"} 
[2026-08-19 04:05:07] local.INFO: Extracted packet for processing {"connection_id":157683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01702"} 
[2026-08-19 04:05:07] local.INFO: GPS Element Parsed {"raw_longitude":755781312,"raw_latitude":116193904,"longitude_deg":75.5781312,"latitude_deg":11.6193904,"altitude":11,"angle":188,"satellites":52,"speed":19,"hex_longitude":"2d0c4ec0","hex_latitude":"06ecfa70","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495659520001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385100408575492096,"note":"Value kept but may cause issues"} 
[2026-08-19 04:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887209156337856512,"note":"Value kept but may cause issues"} 
[2026-08-19 04:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787092422000,"timestamp_ms":1787092422000,"timestamp_seconds":1787092422,"priority":1,"record_length":96,"hex_timestamp":"000001a017024d70"} 
[2026-08-19 04:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:05: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-08-19 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 04:05:07] 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-08-19 04: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-08-19 04:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495659520001,"66":26180,"49":206,"80":6400,"24":19,"16":385100408575492096,"45":887209156337856512},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-08-19 04:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495659520001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:05:07] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-19 04:05:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 04:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385100408575492096,"km_value":385100408575492.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":887209156337856512,"description":"Unknown IO ID 45"} 
[2026-08-19 04:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495659520001,"power":26180,"unknown_49":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":887209156337856512}} 
[2026-08-19 04:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":157683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:05:07] local.INFO: GPS data processed {"connection_id":157683,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:05:07] local.INFO: Acknowledgment sent {"connection_id":157683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:05:12] local.INFO: TCP Data received {"connection_id":157683,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017028420012d0c49c006ecd5b8000c00bc34..."} 
[2026-08-19 04:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017028420012d0c49c006ecd5b8000c00bc34..."} 
[2026-08-19 04:05:12] local.INFO: Processing buffer {"connection_id":157683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017028420012d0c49c006ecd5b8000c00bc34..."} 
[2026-08-19 04:05:12] local.INFO: Packet analysis {"connection_id":157683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01702"} 
[2026-08-19 04:05:12] local.INFO: Extracted packet for processing {"connection_id":157683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01702"} 
[2026-08-19 04:05:12] local.INFO: GPS Element Parsed {"raw_longitude":755780032,"raw_latitude":116184504,"longitude_deg":75.5780032,"latitude_deg":11.6184504,"altitude":12,"angle":188,"satellites":52,"speed":35,"hex_longitude":"2d0c49c0","hex_latitude":"06ecd5b8","is_valid_coordinates":true} 
[2026-08-19 04:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495660032001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385100872431960064,"note":"Value kept but may cause issues"} 
[2026-08-19 04:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886857312616738816,"note":"Value kept but may cause issues"} 
[2026-08-19 04:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787092436000,"timestamp_ms":1787092436000,"timestamp_seconds":1787092436,"priority":1,"record_length":96,"hex_timestamp":"000001a017028420"} 
[2026-08-19 04:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-19 04:05:12] 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-08-19 04:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495660032001,"66":27365,"49":206,"80":6400,"24":35,"16":385100872431960064,"45":886857312616738816},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-08-19 04:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495660032001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:05:12] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-19 04:05:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 04:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385100872431960064,"km_value":385100872431960.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":886857312616738816,"description":"Unknown IO ID 45"} 
[2026-08-19 04:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495660032001,"power":27365,"unknown_49":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":886857312616738816}} 
[2026-08-19 04:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":157683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:05:12] local.INFO: GPS data processed {"connection_id":157683,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:05:12] local.INFO: Acknowledgment sent {"connection_id":157683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:05:44] local.INFO: TCP Data received {"connection_id":157683,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01702ab30012d0c454006ecb1f8000e00b535..."} 
[2026-08-19 04:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01702ab30012d0c454006ecb1f8000e00b535..."} 
[2026-08-19 04:05:44] local.INFO: Processing buffer {"connection_id":157683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01702ab30012d0c454006ecb1f8000e00b535..."} 
[2026-08-19 04:05:44] local.INFO: Packet analysis {"connection_id":157683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01702"} 
[2026-08-19 04:05:44] local.INFO: Extracted packet for processing {"connection_id":157683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01702"} 
[2026-08-19 04:05:44] local.INFO: GPS Element Parsed {"raw_longitude":755778880,"raw_latitude":116175352,"longitude_deg":75.577888,"latitude_deg":11.6175352,"altitude":14,"angle":181,"satellites":53,"speed":31,"hex_longitude":"2d0c4540","hex_latitude":"06ecb1f8","is_valid_coordinates":true} 
[2026-08-19 04:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495663616001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385101319108558848,"note":"Value kept but may cause issues"} 
[2026-08-19 04:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885449937730779136,"note":"Value kept but may cause issues"} 
[2026-08-19 04:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787092446000,"timestamp_ms":1787092446000,"timestamp_seconds":1787092446,"priority":1,"record_length":96,"hex_timestamp":"000001a01702ab30"} 
[2026-08-19 04:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 04:05:44] 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-08-19 04:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495663616001,"66":27310,"49":206,"80":6400,"24":31,"16":385101319108558848,"45":885449937730779136},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-08-19 04:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495663616001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:05:44] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-19 04:05:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 04:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385101319108558848,"km_value":385101319108558.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":885449937730779136,"description":"Unknown IO ID 45"} 
[2026-08-19 04:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495663616001,"power":27310,"unknown_49":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":885449937730779136}} 
[2026-08-19 04:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":157683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:05:44] local.INFO: GPS data processed {"connection_id":157683,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:05:44] local.INFO: Acknowledgment sent {"connection_id":157683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:06:00] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:06:00] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:06:00] local.INFO: IMEI packet received {"connection_id":159860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":159860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:06:01] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:06:01] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:06:01] local.INFO: IMEI packet received {"connection_id":159860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":159860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:06:05] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:06:05] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:06:05] local.INFO: IMEI packet received {"connection_id":159860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":159860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:06:07] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01702e1e0012d0c474006ec8ec8000d00ac34..."} 
[2026-08-19 04:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01702e1e0012d0c474006ec8ec8000d00ac34..."} 
[2026-08-19 04:06:07] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01702e1e0012d0c474006ec8ec8000d00ac34..."} 
[2026-08-19 04:06:07] local.INFO: Packet analysis {"connection_id":159860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01702"} 
[2026-08-19 04:06:07] local.INFO: Extracted packet for processing {"connection_id":159860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01702"} 
[2026-08-19 04:06:07] local.INFO: GPS Element Parsed {"raw_longitude":755779392,"raw_latitude":116166344,"longitude_deg":75.5779392,"latitude_deg":11.6166344,"altitude":13,"angle":172,"satellites":52,"speed":26,"hex_longitude":"2d0c4740","hex_latitude":"06ec8ec8","is_valid_coordinates":true} 
[2026-08-19 04:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495666176001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385101757195223040,"note":"Value kept but may cause issues"} 
[2026-08-19 04:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884183300333238272,"note":"Value kept but may cause issues"} 
[2026-08-19 04:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787092460000,"timestamp_ms":1787092460000,"timestamp_seconds":1787092460,"priority":1,"record_length":96,"hex_timestamp":"000001a01702e1e0"} 
[2026-08-19 04:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:06: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-08-19 04:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 04:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495666176001,"66":27234,"49":206,"80":6400,"24":26,"16":385101757195223040,"45":884183300333238272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-08-19 04:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495666176001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:06:07] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-19 04:06:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 04:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385101757195223040,"km_value":385101757195223.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":884183300333238272,"description":"Unknown IO ID 45"} 
[2026-08-19 04:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495666176001,"power":27234,"unknown_49":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":884183300333238272}} 
[2026-08-19 04:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":159860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:06:07] local.INFO: GPS data processed {"connection_id":159860,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:06:07] local.INFO: Acknowledgment sent {"connection_id":159860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:06:39] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01702f180012d0c480006ec8538000e00b734..."} 
[2026-08-19 04:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01702f180012d0c480006ec8538000e00b734..."} 
[2026-08-19 04:06:39] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01702f180012d0c480006ec8538000e00b734..."} 
[2026-08-19 04:06:39] local.INFO: Packet analysis {"connection_id":159860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01702"} 
[2026-08-19 04:06:39] local.INFO: Extracted packet for processing {"connection_id":159860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01702"} 
[2026-08-19 04:06:39] local.INFO: GPS Element Parsed {"raw_longitude":755779584,"raw_latitude":116163896,"longitude_deg":75.5779584,"latitude_deg":11.6163896,"altitude":14,"angle":183,"satellites":52,"speed":23,"hex_longitude":"2d0c4800","hex_latitude":"06ec8538","is_valid_coordinates":true} 
[2026-08-19 04:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495669760001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385101877454307328,"note":"Value kept but may cause issues"} 
[2026-08-19 04:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884746250284353536,"note":"Value kept but may cause issues"} 
[2026-08-19 04:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787092464000,"timestamp_ms":1787092464000,"timestamp_seconds":1787092464,"priority":1,"record_length":96,"hex_timestamp":"000001a01702f180"} 
[2026-08-19 04:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 04:06:39] 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-08-19 04:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:06:39] 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-08-19 04:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495669760001,"66":27213,"49":206,"80":6400,"24":23,"16":385101877454307328,"45":884746250284353536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-08-19 04:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495669760001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:06:39] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-19 04:06:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 04:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385101877454307328,"km_value":385101877454307.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":884746250284353536,"description":"Unknown IO ID 45"} 
[2026-08-19 04:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495669760001,"power":27213,"unknown_49":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":884746250284353536}} 
[2026-08-19 04:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":159860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:06:39] local.INFO: GPS data processed {"connection_id":159860,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:06:39] local.INFO: Acknowledgment sent {"connection_id":159860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:07:00] local.INFO: TCP Data received {"connection_id":158581,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:07:00] local.INFO: Processing buffer {"connection_id":158581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:07:00] local.INFO: IMEI packet received {"connection_id":158581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":158581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:07:01] local.INFO: TCP Data received {"connection_id":158581,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:07:01] local.INFO: Processing buffer {"connection_id":158581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:07:01] local.INFO: IMEI packet received {"connection_id":158581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":158581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:07:03] local.INFO: TCP Data received {"connection_id":158581,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:07:03] local.INFO: Processing buffer {"connection_id":158581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:07:03] local.INFO: IMEI packet received {"connection_id":158581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":158581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:07:03] local.INFO: TCP Data received {"connection_id":158581,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:07:03] local.INFO: Processing buffer {"connection_id":158581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:07:03] local.INFO: IMEI packet received {"connection_id":158581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":158581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:12:06] local.INFO: TCP Data received {"connection_id":158582,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:12:06] local.INFO: Processing buffer {"connection_id":158582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:12:06] local.INFO: IMEI packet received {"connection_id":158582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":158582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:12:10] local.INFO: TCP Data received {"connection_id":158582,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:12:10] local.INFO: Processing buffer {"connection_id":158582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:12:10] local.INFO: IMEI packet received {"connection_id":158582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":158582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:12:11] local.INFO: TCP Data received {"connection_id":158582,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017083cf8012d0e1f4006e95e380015008630..."} 
[2026-08-19 04:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017083cf8012d0e1f4006e95e380015008630..."} 
[2026-08-19 04:12:11] local.INFO: Processing buffer {"connection_id":158582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017083cf8012d0e1f4006e95e380015008630..."} 
[2026-08-19 04:12:11] local.INFO: Packet analysis {"connection_id":158582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01708"} 
[2026-08-19 04:12:11] local.INFO: Extracted packet for processing {"connection_id":158582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01708"} 
[2026-08-19 04:12:11] local.INFO: GPS Element Parsed {"raw_longitude":755900224,"raw_latitude":115957304,"longitude_deg":75.5900224,"latitude_deg":11.5957304,"altitude":21,"angle":134,"satellites":48,"speed":20,"hex_longitude":"2d0e1f40","hex_latitude":"06e95e38","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495755776001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385114204010446848,"note":"Value kept but may cause issues"} 
[2026-08-19 04:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010495196077944832,"note":"Value kept but may cause issues"} 
[2026-08-19 04:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787092811000,"timestamp_ms":1787092811000,"timestamp_seconds":1787092811,"priority":1,"record_length":96,"hex_timestamp":"000001a017083cf8"} 
[2026-08-19 04:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:12: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-08-19 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 04:12:11] 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-08-19 04: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-08-19 04:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495755776001,"66":27343,"242":206,"80":6400,"24":20,"16":385114204010446848,"45":1010495196077944832},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,80,24,16,45]} 
[2026-08-19 04:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495755776001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:12:11] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-19 04:12:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 04:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385114204010446848,"km_value":385114204010446.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010495196077944832,"description":"Unknown IO ID 45"} 
[2026-08-19 04:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495755776001,"power":27343,"unknown_242":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":1010495196077944832}} 
[2026-08-19 04:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":158582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:12:11] local.INFO: GPS data processed {"connection_id":158582,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:12:11] local.INFO: Acknowledgment sent {"connection_id":158582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:12:12] local.INFO: TCP Data received {"connection_id":158582,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017085c38012d0e2b4006e953500017009530..."} 
[2026-08-19 04:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017085c38012d0e2b4006e953500017009530..."} 
[2026-08-19 04:12:12] local.INFO: Processing buffer {"connection_id":158582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017085c38012d0e2b4006e953500017009530..."} 
[2026-08-19 04:12:12] local.INFO: Packet analysis {"connection_id":158582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01708"} 
[2026-08-19 04:12:12] local.INFO: Extracted packet for processing {"connection_id":158582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01708"} 
[2026-08-19 04:12:12] local.INFO: GPS Element Parsed {"raw_longitude":755903296,"raw_latitude":115954512,"longitude_deg":75.5903296,"latitude_deg":11.5954512,"altitude":23,"angle":149,"satellites":48,"speed":9,"hex_longitude":"2d0e2b40","hex_latitude":"06e95350","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495759616001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385114405873909760,"note":"Value kept but may cause issues"} 
[2026-08-19 04:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1017602439238268928,"note":"Value kept but may cause issues"} 
[2026-08-19 04:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787092819000,"timestamp_ms":1787092819000,"timestamp_seconds":1787092819,"priority":1,"record_length":96,"hex_timestamp":"000001a017085c38"} 
[2026-08-19 04:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 04:12:12] 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-08-19 04: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-08-19 04:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495759616001,"66":27343,"242":206,"80":6400,"24":9,"16":385114405873909760,"45":1017602439238268928},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,80,24,16,45]} 
[2026-08-19 04:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495759616001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:12:12] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-19 04:12:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 04:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385114405873909760,"km_value":385114405873909.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1017602439238268928,"description":"Unknown IO ID 45"} 
[2026-08-19 04:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495759616001,"power":27343,"unknown_242":206,"unknown_80":6400,"ignition":9,"odometer":null,"unknown_45":1017602439238268928}} 
[2026-08-19 04:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":158582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:12:12] local.INFO: GPS data processed {"connection_id":158582,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:12:12] local.INFO: Acknowledgment sent {"connection_id":158582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:12:43] local.INFO: TCP Data received {"connection_id":158582,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017086020012d0e2c0006e95278001600a02f..."} 
[2026-08-19 04:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017086020012d0e2c0006e95278001600a02f..."} 
[2026-08-19 04:12:43] local.INFO: Processing buffer {"connection_id":158582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017086020012d0e2c0006e95278001600a02f..."} 
[2026-08-19 04:12:43] local.INFO: Packet analysis {"connection_id":158582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01708"} 
[2026-08-19 04:12:43] local.INFO: Extracted packet for processing {"connection_id":158582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01708"} 
[2026-08-19 04:12:43] local.INFO: GPS Element Parsed {"raw_longitude":755903488,"raw_latitude":115954296,"longitude_deg":75.5903488,"latitude_deg":11.5954296,"altitude":22,"angle":160,"satellites":47,"speed":11,"hex_longitude":"2d0e2c00","hex_latitude":"06e95278","is_valid_coordinates":true} 
[2026-08-19 04:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495761664001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385114418758811648,"note":"Value kept but may cause issues"} 
[2026-08-19 04:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020980138958082048,"note":"Value kept but may cause issues"} 
[2026-08-19 04:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787092820000,"timestamp_ms":1787092820000,"timestamp_seconds":1787092820,"priority":1,"record_length":96,"hex_timestamp":"000001a017086020"} 
[2026-08-19 04:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 04:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495761664001,"66":27343,"242":206,"80":6400,"24":11,"16":385114418758811648,"45":1020980138958082048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,80,24,16,45]} 
[2026-08-19 04:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495761664001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:12:43] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-19 04:12:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 04:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385114418758811648,"km_value":385114418758811.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020980138958082048,"description":"Unknown IO ID 45"} 
[2026-08-19 04:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495761664001,"power":27343,"unknown_242":206,"unknown_80":6400,"ignition":11,"odometer":null,"unknown_45":1020980138958082048}} 
[2026-08-19 04:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":158582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:12:43] local.INFO: GPS data processed {"connection_id":158582,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:12:43] local.INFO: Acknowledgment sent {"connection_id":158582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:13:00] local.INFO: TCP Data received {"connection_id":157315,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:13:00] local.INFO: Processing buffer {"connection_id":157315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:13:00] local.INFO: IMEI packet received {"connection_id":157315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":157315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:13:01] local.INFO: TCP Data received {"connection_id":157315,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:13:01] local.INFO: Processing buffer {"connection_id":157315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:13:01] local.INFO: IMEI packet received {"connection_id":157315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":157315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:13:03] local.INFO: TCP Data received {"connection_id":157315,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:13:03] local.INFO: Processing buffer {"connection_id":157315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:13:03] local.INFO: IMEI packet received {"connection_id":157315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":157315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:13:04] local.INFO: TCP Data received {"connection_id":157315,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:13:04] local.INFO: Processing buffer {"connection_id":157315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:13:04] local.INFO: IMEI packet received {"connection_id":157315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":157315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:18:05] local.INFO: TCP Data received {"connection_id":157687,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:18:05] local.INFO: Processing buffer {"connection_id":157687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:18:05] local.INFO: IMEI packet received {"connection_id":157687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":157687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:18:06] local.INFO: TCP Data received {"connection_id":157687,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0170e0188012d10cf4006e54d40000e00b431..."} 
[2026-08-19 04:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0170e0188012d10cf4006e54d40000e00b431..."} 
[2026-08-19 04:18:06] local.INFO: Processing buffer {"connection_id":157687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0170e0188012d10cf4006e54d40000e00b431..."} 
[2026-08-19 04:18:06] local.INFO: Packet analysis {"connection_id":157687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0170e"} 
[2026-08-19 04:18:06] local.INFO: Extracted packet for processing {"connection_id":157687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0170e"} 
[2026-08-19 04:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756076352,"raw_latitude":115690816,"longitude_deg":75.6076352,"latitude_deg":11.5690816,"altitude":14,"angle":180,"satellites":49,"speed":47,"hex_longitude":"2d10cf40","hex_latitude":"06e54d40","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495854336001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385130636555321344,"note":"Value kept but may cause issues"} 
[2026-08-19 04:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1211397960637681664,"note":"Value kept but may cause issues"} 
[2026-08-19 04:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787093189000,"timestamp_ms":1787093189000,"timestamp_seconds":1787093189,"priority":1,"record_length":96,"hex_timestamp":"000001a0170e0188"} 
[2026-08-19 04:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:18: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-08-19 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 04:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04: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-08-19 04:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:18:06] 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-08-19 04:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495854336001,"66":27267,"245":206,"80":6400,"24":47,"16":385130636555321344,"45":1211397960637681664},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-08-19 04:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495854336001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:18:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 04:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385130636555321344,"km_value":385130636555321.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1211397960637681664,"description":"Unknown IO ID 45"} 
[2026-08-19 04:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495854336001,"power":27267,"geofence_id":206,"unknown_80":6400,"ignition":47,"odometer":null,"unknown_45":1211397960637681664}} 
[2026-08-19 04:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":157687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:18:06] local.INFO: GPS data processed {"connection_id":157687,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:18:06] local.INFO: Acknowledgment sent {"connection_id":157687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:18:37] local.INFO: TCP Data received {"connection_id":157687,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0170e20c8012d10d1c006e527e0000e00a932..."} 
[2026-08-19 04:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0170e20c8012d10d1c006e527e0000e00a932..."} 
[2026-08-19 04:18:37] local.INFO: Processing buffer {"connection_id":157687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0170e20c8012d10d1c006e527e0000e00a932..."} 
[2026-08-19 04:18:37] local.INFO: Packet analysis {"connection_id":157687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0170e"} 
[2026-08-19 04:18:37] local.INFO: Extracted packet for processing {"connection_id":157687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0170e"} 
[2026-08-19 04:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756076992,"raw_latitude":115681248,"longitude_deg":75.6076992,"latitude_deg":11.5681248,"altitude":14,"angle":169,"satellites":50,"speed":47,"hex_longitude":"2d10d1c0","hex_latitude":"06e527e0","is_valid_coordinates":true} 
[2026-08-19 04:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495856384001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385131100411789312,"note":"Value kept but may cause issues"} 
[2026-08-19 04:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1211257223146979328,"note":"Value kept but may cause issues"} 
[2026-08-19 04:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787093197000,"timestamp_ms":1787093197000,"timestamp_seconds":1787093197,"priority":1,"record_length":96,"hex_timestamp":"000001a0170e20c8"} 
[2026-08-19 04:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:18: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-08-19 04:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 04:18:37] 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-08-19 04:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495856384001,"66":27332,"110":206,"81":20480,"24":47,"16":385131100411789312,"45":1211257223146979328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-08-19 04:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495856384001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:18:37] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 04:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385131100411789312,"km_value":385131100411789.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1211257223146979328,"description":"Unknown IO ID 45"} 
[2026-08-19 04:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495856384001,"power":27332,"unknown_110":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1211257223146979328}} 
[2026-08-19 04:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":157687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:18:37] local.INFO: GPS data processed {"connection_id":157687,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:18:37] local.INFO: Acknowledgment sent {"connection_id":157687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:19:00] local.INFO: TCP Data received {"connection_id":158584,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:19:00] local.INFO: Processing buffer {"connection_id":158584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:19:00] local.INFO: IMEI packet received {"connection_id":158584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":158584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:19:05] local.INFO: TCP Data received {"connection_id":158584,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:19:05] local.INFO: Processing buffer {"connection_id":158584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:19:05] local.INFO: IMEI packet received {"connection_id":158584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":158584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:19:06] local.INFO: TCP Data received {"connection_id":158584,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0170f68e8012d1155c006e40050000500ad32..."} 
[2026-08-19 04:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0170f68e8012d1155c006e40050000500ad32..."} 
[2026-08-19 04:19:06] local.INFO: Processing buffer {"connection_id":158584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0170f68e8012d1155c006e40050000500ad32..."} 
[2026-08-19 04:19:06] local.INFO: Packet analysis {"connection_id":158584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0170f"} 
[2026-08-19 04:19:06] local.INFO: Extracted packet for processing {"connection_id":158584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0170f"} 
[2026-08-19 04:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756110784,"raw_latitude":115605584,"longitude_deg":75.6110784,"latitude_deg":11.5605584,"altitude":5,"angle":173,"satellites":50,"speed":26,"hex_longitude":"2d1155c0","hex_latitude":"06e40050","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495874816001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385135129091112960,"note":"Value kept but may cause issues"} 
[2026-08-19 04:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1246441595216195584,"note":"Value kept but may cause issues"} 
[2026-08-19 04:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787093281000,"timestamp_ms":1787093281000,"timestamp_seconds":1787093281,"priority":1,"record_length":96,"hex_timestamp":"000001a0170f68e8"} 
[2026-08-19 04:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-19 04:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04: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-08-19 04:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:19:06] 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-08-19 04:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495874816001,"66":27213,"111":206,"81":20480,"24":26,"16":385135129091112960,"45":1246441595216195584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-08-19 04:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495874816001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:19:06] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 04:19:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385135129091112960,"km_value":385135129091112.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1246441595216195584,"description":"Unknown IO ID 45"} 
[2026-08-19 04:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495874816001,"power":27213,"unknown_111":206,"unknown_81":20480,"ignition":26,"odometer":null,"unknown_45":1246441595216195584}} 
[2026-08-19 04:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":158584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:19:06] local.INFO: GPS data processed {"connection_id":158584,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:19:06] local.INFO: Acknowledgment sent {"connection_id":158584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:19:37] local.INFO: TCP Data received {"connection_id":158584,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0170f68e8012d1155c006e40050000500ad32..."} 
[2026-08-19 04:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0170f68e8012d1155c006e40050000500ad32..."} 
[2026-08-19 04:19:37] local.INFO: Processing buffer {"connection_id":158584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0170f68e8012d1155c006e40050000500ad32..."} 
[2026-08-19 04:19:37] local.INFO: Packet analysis {"connection_id":158584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0170f"} 
[2026-08-19 04:19:37] local.INFO: Extracted packet for processing {"connection_id":158584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0170f"} 
[2026-08-19 04:19:37] local.INFO: GPS Element Parsed {"raw_longitude":756110784,"raw_latitude":115605584,"longitude_deg":75.6110784,"latitude_deg":11.5605584,"altitude":5,"angle":173,"satellites":50,"speed":26,"hex_longitude":"2d1155c0","hex_latitude":"06e40050","is_valid_coordinates":true} 
[2026-08-19 04:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495879936001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385135129091112960,"note":"Value kept but may cause issues"} 
[2026-08-19 04:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1249115607492743168,"note":"Value kept but may cause issues"} 
[2026-08-19 04:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787093281000,"timestamp_ms":1787093281000,"timestamp_seconds":1787093281,"priority":1,"record_length":96,"hex_timestamp":"000001a0170f68e8"} 
[2026-08-19 04:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 04:19:37] 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-08-19 04:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495879936001,"66":27213,"111":206,"81":20480,"24":26,"16":385135129091112960,"45":1249115607492743168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-08-19 04:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495879936001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:19:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 04:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385135129091112960,"km_value":385135129091112.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1249115607492743168,"description":"Unknown IO ID 45"} 
[2026-08-19 04:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495879936001,"power":27213,"unknown_111":206,"unknown_81":20480,"ignition":26,"odometer":null,"unknown_45":1249115607492743168}} 
[2026-08-19 04:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":158584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:19:37] local.INFO: GPS data processed {"connection_id":158584,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:19:37] local.INFO: Acknowledgment sent {"connection_id":158584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:20:00] local.INFO: TCP Data received {"connection_id":157688,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:20:00] local.INFO: Processing buffer {"connection_id":157688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:20:00] local.INFO: IMEI packet received {"connection_id":157688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":157688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:20:06] local.INFO: TCP Data received {"connection_id":157688,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:20:06] local.INFO: Processing buffer {"connection_id":157688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:20:06] local.INFO: IMEI packet received {"connection_id":157688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":157688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:20:06] local.INFO: TCP Data received {"connection_id":157688,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0170f97c8012d115ac006e3dbe8000500ad2e..."} 
[2026-08-19 04:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0170f97c8012d115ac006e3dbe8000500ad2e..."} 
[2026-08-19 04:20:06] local.INFO: Processing buffer {"connection_id":157688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0170f97c8012d115ac006e3dbe8000500ad2e..."} 
[2026-08-19 04:20:06] local.INFO: Packet analysis {"connection_id":157688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0170f"} 
[2026-08-19 04:20:06] local.INFO: Extracted packet for processing {"connection_id":157688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0170f"} 
[2026-08-19 04:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756112064,"raw_latitude":115596264,"longitude_deg":75.6112064,"latitude_deg":11.5596264,"altitude":5,"angle":173,"satellites":46,"speed":30,"hex_longitude":"2d115ac0","hex_latitude":"06e3dbe8","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495879936001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385135588652613632,"note":"Value kept but may cause issues"} 
[2026-08-19 04:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1249115607492743168,"note":"Value kept but may cause issues"} 
[2026-08-19 04:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787093293000,"timestamp_ms":1787093293000,"timestamp_seconds":1787093293,"priority":1,"record_length":96,"hex_timestamp":"000001a0170f97c8"} 
[2026-08-19 04:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:20: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-08-19 04: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 04:20:06] 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-08-19 04: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-08-19 04:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:20:06] 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-08-19 04:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495879936001,"66":27321,"111":206,"81":20480,"24":30,"16":385135588652613632,"45":1249115607492743168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-08-19 04:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495879936001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:20:06] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 04:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385135588652613632,"km_value":385135588652613.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1249115607492743168,"description":"Unknown IO ID 45"} 
[2026-08-19 04:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495879936001,"power":27321,"unknown_111":206,"unknown_81":20480,"ignition":30,"odometer":null,"unknown_45":1249115607492743168}} 
[2026-08-19 04:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":157688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:20:06] local.INFO: GPS data processed {"connection_id":157688,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:20:06] local.INFO: Acknowledgment sent {"connection_id":157688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:20:41] local.INFO: TCP Data received {"connection_id":157688,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0170fe5e8012d115f0006e3b938000600ae2d..."} 
[2026-08-19 04:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0170fe5e8012d115f0006e3b938000600ae2d..."} 
[2026-08-19 04:20:41] local.INFO: Processing buffer {"connection_id":157688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0170fe5e8012d115f0006e3b938000600ae2d..."} 
[2026-08-19 04:20:41] local.INFO: Packet analysis {"connection_id":157688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0170f"} 
[2026-08-19 04:20:41] local.INFO: Extracted packet for processing {"connection_id":157688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0170f"} 
[2026-08-19 04:20:41] local.INFO: GPS Element Parsed {"raw_longitude":756113152,"raw_latitude":115587384,"longitude_deg":75.6113152,"latitude_deg":11.5587384,"altitude":6,"angle":174,"satellites":45,"speed":24,"hex_longitude":"2d115f00","hex_latitude":"06e3b938","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495883008001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385136022444310528,"note":"Value kept but may cause issues"} 
[2026-08-19 04:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1250522982373910528,"note":"Value kept but may cause issues"} 
[2026-08-19 04:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787093313000,"timestamp_ms":1787093313000,"timestamp_seconds":1787093313,"priority":1,"record_length":96,"hex_timestamp":"000001a0170fe5e8"} 
[2026-08-19 04:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 04:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04: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-08-19 04:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495883008001,"66":27267,"111":206,"81":20480,"24":24,"16":385136022444310528,"45":1250522982373910528},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-08-19 04:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495883008001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:20:41] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 04:20:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385136022444310528,"km_value":385136022444310.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1250522982373910528,"description":"Unknown IO ID 45"} 
[2026-08-19 04:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495883008001,"power":27267,"unknown_111":206,"unknown_81":20480,"ignition":24,"odometer":null,"unknown_45":1250522982373910528}} 
[2026-08-19 04:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":157688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:20:41] local.INFO: GPS data processed {"connection_id":157688,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:20:41] local.INFO: Acknowledgment sent {"connection_id":157688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:21:05] local.INFO: TCP Data received {"connection_id":158585,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:21:05] local.INFO: Processing buffer {"connection_id":158585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:21:05] local.INFO: IMEI packet received {"connection_id":158585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":158585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:21:10] local.INFO: TCP Data received {"connection_id":158585,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:21:10] local.INFO: Processing buffer {"connection_id":158585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:21:10] local.INFO: IMEI packet received {"connection_id":158585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":158585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:21:12] local.INFO: TCP Data received {"connection_id":158585,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017102080012d11614006e39548000900af2e..."} 
[2026-08-19 04:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017102080012d11614006e39548000900af2e..."} 
[2026-08-19 04:21:12] local.INFO: Processing buffer {"connection_id":158585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017102080012d11614006e39548000900af2e..."} 
[2026-08-19 04:21:12] local.INFO: Packet analysis {"connection_id":158585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01710"} 
[2026-08-19 04:21:12] local.INFO: Extracted packet for processing {"connection_id":158585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01710"} 
[2026-08-19 04:21:12] local.INFO: GPS Element Parsed {"raw_longitude":756113728,"raw_latitude":115578184,"longitude_deg":75.6113728,"latitude_deg":11.5578184,"altitude":9,"angle":175,"satellites":46,"speed":21,"hex_longitude":"2d116140","hex_latitude":"06e39548","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495888128001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385136469120909312,"note":"Value kept but may cause issues"} 
[2026-08-19 04:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1251719251022657536,"note":"Value kept but may cause issues"} 
[2026-08-19 04:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787093328000,"timestamp_ms":1787093328000,"timestamp_seconds":1787093328,"priority":1,"record_length":96,"hex_timestamp":"000001a017102080"} 
[2026-08-19 04:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 04:21:12] 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-08-19 04: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-08-19 04:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495888128001,"66":27223,"111":206,"81":20480,"24":21,"16":385136469120909312,"45":1251719251022657536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-08-19 04:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495888128001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:21:12] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 04:21:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385136469120909312,"km_value":385136469120909.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1251719251022657536,"description":"Unknown IO ID 45"} 
[2026-08-19 04:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495888128001,"power":27223,"unknown_111":206,"unknown_81":20480,"ignition":21,"odometer":null,"unknown_45":1251719251022657536}} 
[2026-08-19 04:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":158585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:21:12] local.INFO: GPS data processed {"connection_id":158585,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:21:12] local.INFO: Acknowledgment sent {"connection_id":158585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:21:16] local.INFO: TCP Data received {"connection_id":158585,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171062e8012d11644006e37130000d00af2e..."} 
[2026-08-19 04:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171062e8012d11644006e37130000d00af2e..."} 
[2026-08-19 04:21:16] local.INFO: Processing buffer {"connection_id":158585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171062e8012d11644006e37130000d00af2e..."} 
[2026-08-19 04:21:16] local.INFO: Packet analysis {"connection_id":158585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01710"} 
[2026-08-19 04:21:16] local.INFO: Extracted packet for processing {"connection_id":158585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01710"} 
[2026-08-19 04:21:16] local.INFO: GPS Element Parsed {"raw_longitude":756114496,"raw_latitude":115568944,"longitude_deg":75.6114496,"latitude_deg":11.5568944,"altitude":13,"angle":175,"satellites":46,"speed":25,"hex_longitude":"2d116440","hex_latitude":"06e37130","is_valid_coordinates":true} 
[2026-08-19 04:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495891968001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385136920092475392,"note":"Value kept but may cause issues"} 
[2026-08-19 04:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1252352569717901312,"note":"Value kept but may cause issues"} 
[2026-08-19 04:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787093345000,"timestamp_ms":1787093345000,"timestamp_seconds":1787093345,"priority":1,"record_length":96,"hex_timestamp":"000001a0171062e8"} 
[2026-08-19 04:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-19 04:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495891968001,"66":27300,"111":206,"81":20480,"24":25,"16":385136920092475392,"45":1252352569717901312},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-08-19 04:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495891968001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:21:16] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 04:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385136920092475392,"km_value":385136920092475.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1252352569717901312,"description":"Unknown IO ID 45"} 
[2026-08-19 04:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495891968001,"power":27300,"unknown_111":206,"unknown_81":20480,"ignition":25,"odometer":null,"unknown_45":1252352569717901312}} 
[2026-08-19 04:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":158585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:21:16] local.INFO: GPS data processed {"connection_id":158585,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:21:16] local.INFO: Acknowledgment sent {"connection_id":158585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:22:00] local.INFO: TCP Data received {"connection_id":157689,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:22:00] local.INFO: Processing buffer {"connection_id":157689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:22:00] local.INFO: IMEI packet received {"connection_id":157689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":157689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:22:01] local.INFO: TCP Data received {"connection_id":157689,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:22:01] local.INFO: Processing buffer {"connection_id":157689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:22:01] local.INFO: IMEI packet received {"connection_id":157689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":157689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:22:02] local.INFO: TCP Data received {"connection_id":157689,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017121c50012d11894006e1e400000700ab2d..."} 
[2026-08-19 04:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017121c50012d11894006e1e400000700ab2d..."} 
[2026-08-19 04:22:02] local.INFO: Processing buffer {"connection_id":157689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017121c50012d11894006e1e400000700ab2d..."} 
[2026-08-19 04:22:02] local.INFO: Packet analysis {"connection_id":157689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01712"} 
[2026-08-19 04:22:02] local.INFO: Extracted packet for processing {"connection_id":157689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01712"} 
[2026-08-19 04:22:02] local.INFO: GPS Element Parsed {"raw_longitude":756123968,"raw_latitude":115467264,"longitude_deg":75.6123968,"latitude_deg":11.5467264,"altitude":7,"angle":171,"satellites":45,"speed":47,"hex_longitude":"2d118940","hex_latitude":"06e1e400","is_valid_coordinates":true} 
[2026-08-19 04:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495922944001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385141932319309824,"note":"Value kept but may cause issues"} 
[2026-08-19 04:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1262344931365255168,"note":"Value kept but may cause issues"} 
[2026-08-19 04:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787093458000,"timestamp_ms":1787093458000,"timestamp_seconds":1787093458,"priority":1,"record_length":96,"hex_timestamp":"000001a017121c50"} 
[2026-08-19 04:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 04:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":157689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":157689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":157689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495922944001,"66":27289,"154":206,"81":20480,"24":47,"16":385141932319309824,"45":1262344931365255168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,81,24,16,45]} 
[2026-08-19 04:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495922944001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:22:02] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 04:22:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385141932319309824,"km_value":385141932319309.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1262344931365255168,"description":"Unknown IO ID 45"} 
[2026-08-19 04:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495922944001,"power":27289,"unknown_154":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1262344931365255168}} 
[2026-08-19 04:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":157689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:22:02] local.INFO: GPS data processed {"connection_id":157689,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:22:02] local.INFO: Acknowledgment sent {"connection_id":157689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:22:33] local.INFO: TCP Data received {"connection_id":157689,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017123b90012d118f0006e1bef8000900aa2d..."} 
[2026-08-19 04:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017123b90012d118f0006e1bef8000900aa2d..."} 
[2026-08-19 04:22:33] local.INFO: Processing buffer {"connection_id":157689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017123b90012d118f0006e1bef8000900aa2d..."} 
[2026-08-19 04:22:33] local.INFO: Packet analysis {"connection_id":157689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01712"} 
[2026-08-19 04:22:33] local.INFO: Extracted packet for processing {"connection_id":157689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01712"} 
[2026-08-19 04:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756125440,"raw_latitude":115457784,"longitude_deg":75.612544,"latitude_deg":11.5457784,"altitude":9,"angle":170,"satellites":45,"speed":47,"hex_longitude":"2d118f00","hex_latitude":"06e1bef8","is_valid_coordinates":true} 
[2026-08-19 04:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495925248001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385142396175777792,"note":"Value kept but may cause issues"} 
[2026-08-19 04:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1263611568757932032,"note":"Value kept but may cause issues"} 
[2026-08-19 04:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787093466000,"timestamp_ms":1787093466000,"timestamp_seconds":1787093466,"priority":1,"record_length":96,"hex_timestamp":"000001a017123b90"} 
[2026-08-19 04:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:22: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-08-19 04:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-19 04:22:33] 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-08-19 04:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":157689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":157689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":157689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:22:33] 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-08-19 04:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495925248001,"66":27267,"154":206,"81":20480,"24":47,"16":385142396175777792,"45":1263611568757932032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,81,24,16,45]} 
[2026-08-19 04:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495925248001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:22:33] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 04:22:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385142396175777792,"km_value":385142396175777.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1263611568757932032,"description":"Unknown IO ID 45"} 
[2026-08-19 04:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495925248001,"power":27267,"unknown_154":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1263611568757932032}} 
[2026-08-19 04:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":157689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:22:33] local.INFO: GPS data processed {"connection_id":157689,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:22:33] local.INFO: Acknowledgment sent {"connection_id":157689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:22:57] local.INFO: TCP Data received {"connection_id":157690,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:22:57] local.INFO: Processing buffer {"connection_id":157690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:22:57] local.INFO: IMEI packet received {"connection_id":157690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":157690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:23:00] local.INFO: TCP Data received {"connection_id":157690,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:23:00] local.INFO: Processing buffer {"connection_id":157690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:23:00] local.INFO: IMEI packet received {"connection_id":157690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":157690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:23:05] local.INFO: TCP Data received {"connection_id":157690,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:23:05] local.INFO: Processing buffer {"connection_id":157690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:23:05] local.INFO: IMEI packet received {"connection_id":157690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":157690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:23:07] local.INFO: TCP Data received {"connection_id":157690,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017125ad0012d11948006e199b8000900a92f..."} 
[2026-08-19 04:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017125ad0012d11948006e199b8000900a92f..."} 
[2026-08-19 04:23:07] local.INFO: Processing buffer {"connection_id":157690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017125ad0012d11948006e199b8000900a92f..."} 
[2026-08-19 04:23:07] local.INFO: Packet analysis {"connection_id":157690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01712"} 
[2026-08-19 04:23:07] local.INFO: Extracted packet for processing {"connection_id":157690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01712"} 
[2026-08-19 04:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756126848,"raw_latitude":115448248,"longitude_deg":75.6126848,"latitude_deg":11.5448248,"altitude":9,"angle":169,"satellites":47,"speed":47,"hex_longitude":"2d119480","hex_latitude":"06e199b8","is_valid_coordinates":true} 
[2026-08-19 04:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495927296001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385142864327213056,"note":"Value kept but may cause issues"} 
[2026-08-19 04:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1265230049871591424,"note":"Value kept but may cause issues"} 
[2026-08-19 04:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787093474000,"timestamp_ms":1787093474000,"timestamp_seconds":1787093474,"priority":1,"record_length":96,"hex_timestamp":"000001a017125ad0"} 
[2026-08-19 04:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 04:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495927296001,"66":27245,"154":206,"81":20480,"24":47,"16":385142864327213056,"45":1265230049871591424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,81,24,16,45]} 
[2026-08-19 04:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495927296001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:23:07] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 04:23:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385142864327213056,"km_value":385142864327213.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1265230049871591424,"description":"Unknown IO ID 45"} 
[2026-08-19 04:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495927296001,"power":27245,"unknown_154":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1265230049871591424}} 
[2026-08-19 04:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":157690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:23:07] local.INFO: GPS data processed {"connection_id":157690,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:23:07] local.INFO: Acknowledgment sent {"connection_id":157690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:23:38] local.INFO: TCP Data received {"connection_id":157690,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017127df8012d119d4006e17618000800a12f..."} 
[2026-08-19 04:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017127df8012d119d4006e17618000800a12f..."} 
[2026-08-19 04:23:38] local.INFO: Processing buffer {"connection_id":157690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017127df8012d119d4006e17618000800a12f..."} 
[2026-08-19 04:23:38] local.INFO: Packet analysis {"connection_id":157690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01712"} 
[2026-08-19 04:23:38] local.INFO: Extracted packet for processing {"connection_id":157690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01712"} 
[2026-08-19 04:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756129088,"raw_latitude":115439128,"longitude_deg":75.6129088,"latitude_deg":11.5439128,"altitude":8,"angle":161,"satellites":47,"speed":27,"hex_longitude":"2d119d40","hex_latitude":"06e17618","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495929344001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385143319593746432,"note":"Value kept but may cause issues"} 
[2026-08-19 04:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1266778162241058816,"note":"Value kept but may cause issues"} 
[2026-08-19 04:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787093483000,"timestamp_ms":1787093483000,"timestamp_seconds":1787093483,"priority":1,"record_length":96,"hex_timestamp":"000001a017127df8"} 
[2026-08-19 04:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:23: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-08-19 04: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 04:23:38] 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-08-19 04: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-08-19 04:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:23:38] 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-08-19 04:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495929344001,"66":27267,"154":206,"81":20480,"24":27,"16":385143319593746432,"45":1266778162241058816},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,81,24,16,45]} 
[2026-08-19 04:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495929344001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:23:38] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 04:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385143319593746432,"km_value":385143319593746.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1266778162241058816,"description":"Unknown IO ID 45"} 
[2026-08-19 04:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495929344001,"power":27267,"unknown_154":206,"unknown_81":20480,"ignition":27,"odometer":null,"unknown_45":1266778162241058816}} 
[2026-08-19 04:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":157690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:23:38] local.INFO: GPS data processed {"connection_id":157690,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:23:38] local.INFO: Acknowledgment sent {"connection_id":157690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:24:00] local.INFO: TCP Data received {"connection_id":157319,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:24:00] local.INFO: Processing buffer {"connection_id":157319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:24:00] local.INFO: IMEI packet received {"connection_id":157319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":157319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:24:05] local.INFO: TCP Data received {"connection_id":157319,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:24:05] local.INFO: Processing buffer {"connection_id":157319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:24:05] local.INFO: IMEI packet received {"connection_id":157319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":157319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:24:06] local.INFO: TCP Data received {"connection_id":157319,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01712d000012d11a90006e157500007009f2f..."} 
[2026-08-19 04:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01712d000012d11a90006e157500007009f2f..."} 
[2026-08-19 04:24:06] local.INFO: Processing buffer {"connection_id":157319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01712d000012d11a90006e157500007009f2f..."} 
[2026-08-19 04:24:06] local.INFO: Packet analysis {"connection_id":157319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01712"} 
[2026-08-19 04:24:06] local.INFO: Extracted packet for processing {"connection_id":157319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01712"} 
[2026-08-19 04:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756132096,"raw_latitude":115431248,"longitude_deg":75.6132096,"latitude_deg":11.5431248,"altitude":7,"angle":159,"satellites":47,"speed":11,"hex_longitude":"2d11a900","hex_latitude":"06e15750","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495931648001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385143727615639552,"note":"Value kept but may cause issues"} 
[2026-08-19 04:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1269241068284942336,"note":"Value kept but may cause issues"} 
[2026-08-19 04:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787093504000,"timestamp_ms":1787093504000,"timestamp_seconds":1787093504,"priority":1,"record_length":96,"hex_timestamp":"000001a01712d000"} 
[2026-08-19 04:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:24: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-08-19 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 04:24:06] 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-08-19 04: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-08-19 04:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:24:06] 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-08-19 04:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495931648001,"66":27213,"154":206,"81":20480,"24":11,"16":385143727615639552,"45":1269241068284942336},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,81,24,16,45]} 
[2026-08-19 04:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495931648001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:24:06] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 04:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385143727615639552,"km_value":385143727615639.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1269241068284942336,"description":"Unknown IO ID 45"} 
[2026-08-19 04:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495931648001,"power":27213,"unknown_154":206,"unknown_81":20480,"ignition":11,"odometer":null,"unknown_45":1269241068284942336}} 
[2026-08-19 04:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":157319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:24:06] local.INFO: GPS data processed {"connection_id":157319,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:24:06] local.INFO: Acknowledgment sent {"connection_id":157319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:24:38] local.INFO: TCP Data received {"connection_id":157319,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017130a98012d11b78006e134480007009f31..."} 
[2026-08-19 04:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017130a98012d11b78006e134480007009f31..."} 
[2026-08-19 04:24:38] local.INFO: Processing buffer {"connection_id":157319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017130a98012d11b78006e134480007009f31..."} 
[2026-08-19 04:24:38] local.INFO: Packet analysis {"connection_id":157319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01713"} 
[2026-08-19 04:24:38] local.INFO: Extracted packet for processing {"connection_id":157319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01713"} 
[2026-08-19 04:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756135808,"raw_latitude":115422280,"longitude_deg":75.6135808,"latitude_deg":11.542228,"altitude":7,"angle":159,"satellites":49,"speed":35,"hex_longitude":"2d11b780","hex_latitude":"06e13448","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495937024001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385144200062042112,"note":"Value kept but may cause issues"} 
[2026-08-19 04:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1272548399259275264,"note":"Value kept but may cause issues"} 
[2026-08-19 04:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787093519000,"timestamp_ms":1787093519000,"timestamp_seconds":1787093519,"priority":1,"record_length":96,"hex_timestamp":"000001a017130a98"} 
[2026-08-19 04:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:24: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-08-19 04: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 04:24:38] 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-08-19 04: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-08-19 04:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:24:38] 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-08-19 04:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495937024001,"66":27321,"98":206,"81":20480,"24":35,"16":385144200062042112,"45":1272548399259275264},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-08-19 04:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495937024001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:24:38] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-19 04:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385144200062042112,"km_value":385144200062042.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1272548399259275264,"description":"Unknown IO ID 45"} 
[2026-08-19 04:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495937024001,"power":27321,"unknown_98":206,"unknown_81":20480,"ignition":35,"odometer":null,"unknown_45":1272548399259275264}} 
[2026-08-19 04:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":157319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:24:38] local.INFO: GPS data processed {"connection_id":157319,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:24:38] local.INFO: Acknowledgment sent {"connection_id":157319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:25:00] local.INFO: TCP Data received {"connection_id":158586,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:25:00] local.INFO: Processing buffer {"connection_id":158586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:25:00] local.INFO: IMEI packet received {"connection_id":158586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":158586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:25:01] local.INFO: TCP Data received {"connection_id":158586,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:25:01] local.INFO: Processing buffer {"connection_id":158586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:25:01] local.INFO: IMEI packet received {"connection_id":158586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":158586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:25:05] local.INFO: TCP Data received {"connection_id":158586,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:25:05] local.INFO: Processing buffer {"connection_id":158586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:25:05] local.INFO: IMEI packet received {"connection_id":158586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":158586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:25:06] local.INFO: TCP Data received {"connection_id":158586,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01714df58012d120fc006dfaee8000b00ab2f..."} 
[2026-08-19 04:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01714df58012d120fc006dfaee8000b00ab2f..."} 
[2026-08-19 04:25:06] local.INFO: Processing buffer {"connection_id":158586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01714df58012d120fc006dfaee8000b00ab2f..."} 
[2026-08-19 04:25:06] local.INFO: Packet analysis {"connection_id":158586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01714"} 
[2026-08-19 04:25:06] local.INFO: Extracted packet for processing {"connection_id":158586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01714"} 
[2026-08-19 04:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756158400,"raw_latitude":115322600,"longitude_deg":75.61584,"latitude_deg":11.53226,"altitude":11,"angle":171,"satellites":47,"speed":31,"hex_longitude":"2d120fc0","hex_latitude":"06dfaee8","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495969024001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385149165044236288,"note":"Value kept but may cause issues"} 
[2026-08-19 04:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1299921840718813184,"note":"Value kept but may cause issues"} 
[2026-08-19 04:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787093639000,"timestamp_ms":1787093639000,"timestamp_seconds":1787093639,"priority":1,"record_length":96,"hex_timestamp":"000001a01714df58"} 
[2026-08-19 04:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 04:25:06] 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-08-19 04:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:25:06] 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-08-19 04:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495969024001,"66":27310,"232":206,"81":20480,"24":31,"16":385149165044236288,"45":1299921840718813184},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-08-19 04:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495969024001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:25:06] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 04:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385149165044236288,"km_value":385149165044236.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1299921840718813184,"description":"Unknown IO ID 45"} 
[2026-08-19 04:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495969024001,"power":27310,"unknown_232":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1299921840718813184}} 
[2026-08-19 04:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":158586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:25:06] local.INFO: GPS data processed {"connection_id":158586,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:25:06] local.INFO: Acknowledgment sent {"connection_id":158586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:25:42] local.INFO: TCP Data received {"connection_id":158586,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017150e38012d12150006df8b68000a00ab2f..."} 
[2026-08-19 04:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017150e38012d12150006df8b68000a00ab2f..."} 
[2026-08-19 04:25:42] local.INFO: Processing buffer {"connection_id":158586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017150e38012d12150006df8b68000a00ab2f..."} 
[2026-08-19 04:25:42] local.INFO: Packet analysis {"connection_id":158586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01715"} 
[2026-08-19 04:25:42] local.INFO: Extracted packet for processing {"connection_id":158586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01715"} 
[2026-08-19 04:25:42] local.INFO: GPS Element Parsed {"raw_longitude":756159744,"raw_latitude":115313512,"longitude_deg":75.6159744,"latitude_deg":11.5313512,"altitude":10,"angle":171,"satellites":47,"speed":30,"hex_longitude":"2d121500","hex_latitude":"06df8b68","is_valid_coordinates":true} 
[2026-08-19 04:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495971584001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385149611720835072,"note":"Value kept but may cause issues"} 
[2026-08-19 04:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1301469953088481280,"note":"Value kept but may cause issues"} 
[2026-08-19 04:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787093651000,"timestamp_ms":1787093651000,"timestamp_seconds":1787093651,"priority":1,"record_length":96,"hex_timestamp":"000001a017150e38"} 
[2026-08-19 04:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 04:25:42] 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-08-19 04:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495971584001,"66":27300,"232":206,"81":20480,"24":30,"16":385149611720835072,"45":1301469953088481280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-08-19 04:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495971584001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:25:42] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 04:25:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385149611720835072,"km_value":385149611720835.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1301469953088481280,"description":"Unknown IO ID 45"} 
[2026-08-19 04:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495971584001,"power":27300,"unknown_232":206,"unknown_81":20480,"ignition":30,"odometer":null,"unknown_45":1301469953088481280}} 
[2026-08-19 04:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":158586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:25:42] local.INFO: GPS data processed {"connection_id":158586,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:25:42] local.INFO: Acknowledgment sent {"connection_id":158586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:26:00] local.INFO: TCP Data received {"connection_id":157691,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:26:00] local.INFO: Processing buffer {"connection_id":157691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:26:00] local.INFO: IMEI packet received {"connection_id":157691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":157691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:26:05] local.INFO: TCP Data received {"connection_id":157691,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:26:05] local.INFO: Processing buffer {"connection_id":157691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:26:05] local.INFO: IMEI packet received {"connection_id":157691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":157691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:26:06] local.INFO: TCP Data received {"connection_id":157691,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017153d18012d121b8006df6938000b00a931..."} 
[2026-08-19 04:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017153d18012d121b8006df6938000b00a931..."} 
[2026-08-19 04:26:06] local.INFO: Processing buffer {"connection_id":157691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017153d18012d121b8006df6938000b00a931..."} 
[2026-08-19 04:26:06] local.INFO: Packet analysis {"connection_id":157691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01715"} 
[2026-08-19 04:26:06] local.INFO: Extracted packet for processing {"connection_id":157691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01715"} 
[2026-08-19 04:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756161408,"raw_latitude":115304760,"longitude_deg":75.6161408,"latitude_deg":11.530476,"altitude":11,"angle":169,"satellites":49,"speed":29,"hex_longitude":"2d121b80","hex_latitude":"06df6938","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495974656001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385150045512531968,"note":"Value kept but may cause issues"} 
[2026-08-19 04:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1302947696713885696,"note":"Value kept but may cause issues"} 
[2026-08-19 04:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787093663000,"timestamp_ms":1787093663000,"timestamp_seconds":1787093663,"priority":1,"record_length":96,"hex_timestamp":"000001a017153d18"} 
[2026-08-19 04:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:26: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-08-19 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 04:26:06] 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-08-19 04: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-08-19 04:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:26:06] 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-08-19 04:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495974656001,"66":27213,"232":206,"81":20480,"24":29,"16":385150045512531968,"45":1302947696713885696},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-08-19 04:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495974656001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:26:06] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 04:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385150045512531968,"km_value":385150045512531.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1302947696713885696,"description":"Unknown IO ID 45"} 
[2026-08-19 04:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495974656001,"power":27213,"unknown_232":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":1302947696713885696}} 
[2026-08-19 04:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":157691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:26:06] local.INFO: GPS data processed {"connection_id":157691,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:26:06] local.INFO: Acknowledgment sent {"connection_id":157691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:26:43] local.INFO: TCP Data received {"connection_id":157691,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017156fe0012d12230006df4630000b00b22e..."} 
[2026-08-19 04:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017156fe0012d12230006df4630000b00b22e..."} 
[2026-08-19 04:26:43] local.INFO: Processing buffer {"connection_id":157691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017156fe0012d12230006df4630000b00b22e..."} 
[2026-08-19 04:26:43] local.INFO: Packet analysis {"connection_id":157691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01715"} 
[2026-08-19 04:26:43] local.INFO: Extracted packet for processing {"connection_id":157691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01715"} 
[2026-08-19 04:26:43] local.INFO: GPS Element Parsed {"raw_longitude":756163328,"raw_latitude":115295792,"longitude_deg":75.6163328,"latitude_deg":11.5295792,"altitude":11,"angle":178,"satellites":46,"speed":26,"hex_longitude":"2d122300","hex_latitude":"06df4630","is_valid_coordinates":true} 
[2026-08-19 04:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495977728001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385150487894163456,"note":"Value kept but may cause issues"} 
[2026-08-19 04:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1304777284060264448,"note":"Value kept but may cause issues"} 
[2026-08-19 04:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787093676000,"timestamp_ms":1787093676000,"timestamp_seconds":1787093676,"priority":1,"record_length":96,"hex_timestamp":"000001a017156fe0"} 
[2026-08-19 04:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:26: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-08-19 04:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 04:26:43] 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-08-19 04:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495977728001,"66":27234,"232":206,"81":20480,"24":26,"16":385150487894163456,"45":1304777284060264448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-08-19 04:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495977728001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:26:43] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-08-19 04:26:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385150487894163456,"km_value":385150487894163.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1304777284060264448,"description":"Unknown IO ID 45"} 
[2026-08-19 04:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495977728001,"power":27234,"unknown_232":206,"unknown_81":20480,"ignition":26,"odometer":null,"unknown_45":1304777284060264448}} 
[2026-08-19 04:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":157691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:26:43] local.INFO: GPS data processed {"connection_id":157691,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:26:43] local.INFO: Acknowledgment sent {"connection_id":157691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:27:00] local.INFO: TCP Data received {"connection_id":157320,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:27:00] local.INFO: Processing buffer {"connection_id":157320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:27:00] local.INFO: IMEI packet received {"connection_id":157320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":157320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:27:05] local.INFO: TCP Data received {"connection_id":157320,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:27:05] local.INFO: Processing buffer {"connection_id":157320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:27:05] local.INFO: IMEI packet received {"connection_id":157320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":157320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:27:06] local.INFO: TCP Data received {"connection_id":157320,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017159ec0012d12274006df23e8000a00a830..."} 
[2026-08-19 04:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017159ec0012d12274006df23e8000a00a830..."} 
[2026-08-19 04:27:06] local.INFO: Processing buffer {"connection_id":157320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017159ec0012d12274006df23e8000a00a830..."} 
[2026-08-19 04:27:06] local.INFO: Packet analysis {"connection_id":157320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01715"} 
[2026-08-19 04:27:06] local.INFO: Extracted packet for processing {"connection_id":157320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01715"} 
[2026-08-19 04:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756164416,"raw_latitude":115287016,"longitude_deg":75.6164416,"latitude_deg":11.5287016,"altitude":10,"angle":168,"satellites":48,"speed":38,"hex_longitude":"2d122740","hex_latitude":"06df23e8","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457495981056001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385150921685860352,"note":"Value kept but may cause issues"} 
[2026-08-19 04:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1306888346383298560,"note":"Value kept but may cause issues"} 
[2026-08-19 04:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787093688000,"timestamp_ms":1787093688000,"timestamp_seconds":1787093688,"priority":1,"record_length":96,"hex_timestamp":"000001a017159ec0"} 
[2026-08-19 04:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:27: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-08-19 04: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 04:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04: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-08-19 04:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:27:06] 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-08-19 04:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457495981056001,"66":27365,"231":206,"81":20480,"24":38,"16":385150921685860352,"45":1306888346383298560},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-08-19 04:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457495981056001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:27:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-19 04:27:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385150921685860352,"km_value":385150921685860.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1306888346383298560,"description":"Unknown IO ID 45"} 
[2026-08-19 04:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457495981056001,"power":27365,"unknown_231":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1306888346383298560}} 
[2026-08-19 04:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":157320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:27:06] local.INFO: GPS data processed {"connection_id":157320,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:27:06] local.INFO: Acknowledgment sent {"connection_id":157320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:27:37] local.INFO: TCP Data received {"connection_id":157320,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017175c10012d12700006ddca78000a00ac32..."} 
[2026-08-19 04:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017175c10012d12700006ddca78000a00ac32..."} 
[2026-08-19 04:27:37] local.INFO: Processing buffer {"connection_id":157320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017175c10012d12700006ddca78000a00ac32..."} 
[2026-08-19 04:27:37] local.INFO: Packet analysis {"connection_id":157320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01717"} 
[2026-08-19 04:27:37] local.INFO: Extracted packet for processing {"connection_id":157320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01717"} 
[2026-08-19 04:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756183040,"raw_latitude":115198584,"longitude_deg":75.618304,"latitude_deg":11.5198584,"altitude":10,"angle":172,"satellites":50,"speed":61,"hex_longitude":"2d127000","hex_latitude":"06ddca78","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496011776001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385155319732371456,"note":"Value kept but may cause issues"} 
[2026-08-19 04:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1327858232125630464,"note":"Value kept but may cause issues"} 
[2026-08-19 04:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787093802000,"timestamp_ms":1787093802000,"timestamp_seconds":1787093802,"priority":1,"record_length":96,"hex_timestamp":"000001a017175c10"} 
[2026-08-19 04:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 04:27:37] 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-08-19 04: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-08-19 04:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496011776001,"66":27376,"67":206,"81":20480,"24":61,"16":385155319732371456,"45":1327858232125630464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-08-19 04:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496011776001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:27:38] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 04:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385155319732371456,"km_value":385155319732371.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1327858232125630464,"description":"Unknown IO ID 45"} 
[2026-08-19 04:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496011776001,"power":27376,"unknown_67":206,"unknown_81":20480,"ignition":61,"odometer":null,"unknown_45":1327858232125630464}} 
[2026-08-19 04:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":157320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:27:38] local.INFO: GPS data processed {"connection_id":157320,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:27:38] local.INFO: Acknowledgment sent {"connection_id":157320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:28:05] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:28:05] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:28:05] local.INFO: IMEI packet received {"connection_id":159862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":159862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:28:06] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:28:06] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:28:06] local.INFO: IMEI packet received {"connection_id":159862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":159862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:28:10] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:28:10] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:28:10] local.INFO: IMEI packet received {"connection_id":159862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":159862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:28:11] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017176bb0012d12750006ddb308000a00a132..."} 
[2026-08-19 04:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017176bb0012d12750006ddb308000a00a132..."} 
[2026-08-19 04:28:11] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017176bb0012d12750006ddb308000a00a132..."} 
[2026-08-19 04:28:11] local.INFO: Packet analysis {"connection_id":159862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01717"} 
[2026-08-19 04:28:11] local.INFO: Extracted packet for processing {"connection_id":159862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01717"} 
[2026-08-19 04:28:11] local.INFO: GPS Element Parsed {"raw_longitude":756184320,"raw_latitude":115192584,"longitude_deg":75.618432,"latitude_deg":11.5192584,"altitude":10,"angle":161,"satellites":50,"speed":59,"hex_longitude":"2d127500","hex_latitude":"06ddb308","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496013312001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385155616085114880,"note":"Value kept but may cause issues"} 
[2026-08-19 04:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1328561919565133824,"note":"Value kept but may cause issues"} 
[2026-08-19 04:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787093806000,"timestamp_ms":1787093806000,"timestamp_seconds":1787093806,"priority":1,"record_length":96,"hex_timestamp":"000001a017176bb0"} 
[2026-08-19 04:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 04:28:11] 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-08-19 04: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-08-19 04:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496013312001,"66":27321,"67":206,"81":20480,"24":59,"16":385155616085114880,"45":1328561919565133824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-08-19 04:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496013312001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:28:11] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 04:28:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385155616085114880,"km_value":385155616085114.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1328561919565133824,"description":"Unknown IO ID 45"} 
[2026-08-19 04:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496013312001,"power":27321,"unknown_67":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1328561919565133824}} 
[2026-08-19 04:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":159862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:28:11] local.INFO: GPS data processed {"connection_id":159862,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:28:11] local.INFO: Acknowledgment sent {"connection_id":159862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:28:12] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017178320012d12834006dd9368000b009732..."} 
[2026-08-19 04:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017178320012d12834006dd9368000b009732..."} 
[2026-08-19 04:28:12] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017178320012d12834006dd9368000b009732..."} 
[2026-08-19 04:28:12] local.INFO: Packet analysis {"connection_id":159862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01717"} 
[2026-08-19 04:28:12] local.INFO: Extracted packet for processing {"connection_id":159862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01717"} 
[2026-08-19 04:28:12] local.INFO: GPS Element Parsed {"raw_longitude":756187968,"raw_latitude":115184488,"longitude_deg":75.6187968,"latitude_deg":11.5184488,"altitude":11,"angle":151,"satellites":50,"speed":57,"hex_longitude":"2d128340","hex_latitude":"06dd9368","is_valid_coordinates":true} 
[2026-08-19 04:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496014336001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385156049876811776,"note":"Value kept but may cause issues"} 
[2026-08-19 04:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1329969294447151104,"note":"Value kept but may cause issues"} 
[2026-08-19 04:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787093812000,"timestamp_ms":1787093812000,"timestamp_seconds":1787093812,"priority":1,"record_length":96,"hex_timestamp":"000001a017178320"} 
[2026-08-19 04:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 04:28:12] 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-08-19 04:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496014336001,"66":27332,"67":206,"81":20480,"24":57,"16":385156049876811776,"45":1329969294447151104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-08-19 04:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496014336001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:28:12] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 04:28:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385156049876811776,"km_value":385156049876811.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1329969294447151104,"description":"Unknown IO ID 45"} 
[2026-08-19 04:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496014336001,"power":27332,"unknown_67":206,"unknown_81":20480,"ignition":57,"odometer":null,"unknown_45":1329969294447151104}} 
[2026-08-19 04:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":159862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:28:12] local.INFO: GPS data processed {"connection_id":159862,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:28:12] local.INFO: Acknowledgment sent {"connection_id":159862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:28:16] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017179e78012d1296c006dd7120000d009632..."} 
[2026-08-19 04:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017179e78012d1296c006dd7120000d009632..."} 
[2026-08-19 04:28:16] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017179e78012d1296c006dd7120000d009632..."} 
[2026-08-19 04:28:16] local.INFO: Packet analysis {"connection_id":159862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01717"} 
[2026-08-19 04:28:16] local.INFO: Extracted packet for processing {"connection_id":159862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01717"} 
[2026-08-19 04:28:16] local.INFO: GPS Element Parsed {"raw_longitude":756192960,"raw_latitude":115175712,"longitude_deg":75.619296,"latitude_deg":11.5175712,"altitude":13,"angle":150,"satellites":50,"speed":56,"hex_longitude":"2d1296c0","hex_latitude":"06dd7120","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496015872001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385156535208116224,"note":"Value kept but may cause issues"} 
[2026-08-19 04:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1333980312863205376,"note":"Value kept but may cause issues"} 
[2026-08-19 04:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787093819000,"timestamp_ms":1787093819000,"timestamp_seconds":1787093819,"priority":1,"record_length":96,"hex_timestamp":"000001a017179e78"} 
[2026-08-19 04:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:28: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-08-19 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 04:28:16] 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-08-19 04: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-08-19 04:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496015872001,"66":27463,"67":206,"81":20480,"24":56,"16":385156535208116224,"45":1333980312863205376},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-08-19 04:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496015872001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:28:16] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 04:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385156535208116224,"km_value":385156535208116.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1333980312863205376,"description":"Unknown IO ID 45"} 
[2026-08-19 04:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496015872001,"power":27463,"unknown_67":206,"unknown_81":20480,"ignition":56,"odometer":null,"unknown_45":1333980312863205376}} 
[2026-08-19 04:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":159862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:28:16] local.INFO: GPS data processed {"connection_id":159862,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:28:16] local.INFO: Acknowledgment sent {"connection_id":159862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:29:00] local.INFO: TCP Data received {"connection_id":158587,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:29:00] local.INFO: Processing buffer {"connection_id":158587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:29:00] local.INFO: IMEI packet received {"connection_id":158587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":158587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:29:04] local.INFO: TCP Data received {"connection_id":158587,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:29:04] local.INFO: Processing buffer {"connection_id":158587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:29:04] local.INFO: IMEI packet received {"connection_id":158587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":158587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:29:05] local.INFO: TCP Data received {"connection_id":158587,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01718b7b8012d13544006dc01980007009d30..."} 
[2026-08-19 04:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01718b7b8012d13544006dc01980007009d30..."} 
[2026-08-19 04:29:05] local.INFO: Processing buffer {"connection_id":158587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01718b7b8012d13544006dc01980007009d30..."} 
[2026-08-19 04:29:05] local.INFO: Packet analysis {"connection_id":158587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01718"} 
[2026-08-19 04:29:05] local.INFO: Extracted packet for processing {"connection_id":158587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01718"} 
[2026-08-19 04:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756241472,"raw_latitude":115081624,"longitude_deg":75.6241472,"latitude_deg":11.5081624,"altitude":7,"angle":157,"satellites":48,"speed":58,"hex_longitude":"2d135440","hex_latitude":"06dc0198","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496034560001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385161659104100352,"note":"Value kept but may cause issues"} 
[2026-08-19 04:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1388797564553375744,"note":"Value kept but may cause issues"} 
[2026-08-19 04:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787093891000,"timestamp_ms":1787093891000,"timestamp_seconds":1787093891,"priority":1,"record_length":96,"hex_timestamp":"000001a01718b7b8"} 
[2026-08-19 04:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:29: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-08-19 04: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 04:29:05] 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-08-19 04: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-08-19 04:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496034560001,"66":27158,"152":206,"81":20480,"24":58,"16":385161659104100352,"45":1388797564553375744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-08-19 04:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496034560001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:29:05] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-19 04:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385161659104100352,"km_value":385161659104100.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1388797564553375744,"description":"Unknown IO ID 45"} 
[2026-08-19 04:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496034560001,"power":27158,"unknown_152":206,"unknown_81":20480,"ignition":58,"odometer":null,"unknown_45":1388797564553375744}} 
[2026-08-19 04:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":158587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:29:05] local.INFO: GPS data processed {"connection_id":158587,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:29:05] local.INFO: Acknowledgment sent {"connection_id":158587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:29:35] local.INFO: TCP Data received {"connection_id":158587,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01718d310012d13640006dbdcc0000a009f31..."} 
[2026-08-19 04:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01718d310012d13640006dbdcc0000a009f31..."} 
[2026-08-19 04:29:35] local.INFO: Processing buffer {"connection_id":158587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01718d310012d13640006dbdcc0000a009f31..."} 
[2026-08-19 04:29:35] local.INFO: Packet analysis {"connection_id":158587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01718"} 
[2026-08-19 04:29:35] local.INFO: Extracted packet for processing {"connection_id":158587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01718"} 
[2026-08-19 04:29:35] local.INFO: GPS Element Parsed {"raw_longitude":756245504,"raw_latitude":115072192,"longitude_deg":75.6245504,"latitude_deg":11.5072192,"altitude":10,"angle":159,"satellites":49,"speed":57,"hex_longitude":"2d136400","hex_latitude":"06dbdcc0","is_valid_coordinates":true} 
[2026-08-19 04:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496036096001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385162153025339392,"note":"Value kept but may cause issues"} 
[2026-08-19 04:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1392808582969399296,"note":"Value kept but may cause issues"} 
[2026-08-19 04:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787093898000,"timestamp_ms":1787093898000,"timestamp_seconds":1787093898,"priority":1,"record_length":96,"hex_timestamp":"000001a01718d310"} 
[2026-08-19 04:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:29: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-08-19 04:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-19 04:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:29:35] 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-08-19 04:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496036096001,"66":27332,"152":206,"81":20480,"24":57,"16":385162153025339392,"45":1392808582969399296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-08-19 04:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496036096001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:29:35] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-19 04:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385162153025339392,"km_value":385162153025339.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1392808582969399296,"description":"Unknown IO ID 45"} 
[2026-08-19 04:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496036096001,"power":27332,"unknown_152":206,"unknown_81":20480,"ignition":57,"odometer":null,"unknown_45":1392808582969399296}} 
[2026-08-19 04:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":158587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:29:35] local.INFO: GPS data processed {"connection_id":158587,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:29:35] local.INFO: Acknowledgment sent {"connection_id":158587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:29:59] local.INFO: TCP Data received {"connection_id":159863,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:29:59] local.INFO: Processing buffer {"connection_id":159863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:29:59] local.INFO: IMEI packet received {"connection_id":159863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":159863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:30:00] local.INFO: TCP Data received {"connection_id":159863,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:30:00] local.INFO: Processing buffer {"connection_id":159863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:30:00] local.INFO: IMEI packet received {"connection_id":159863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":159863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:30:05] local.INFO: TCP Data received {"connection_id":159863,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:30:05] local.INFO: Processing buffer {"connection_id":159863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:30:05] local.INFO: IMEI packet received {"connection_id":159863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":159863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:30:06] local.INFO: TCP Data received {"connection_id":159863,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01718ee68012d13700006dbb6e0000a00a431..."} 
[2026-08-19 04:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01718ee68012d13700006dbb6e0000a00a431..."} 
[2026-08-19 04:30:06] local.INFO: Processing buffer {"connection_id":159863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01718ee68012d13700006dbb6e0000a00a431..."} 
[2026-08-19 04:30:06] local.INFO: Packet analysis {"connection_id":159863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01718"} 
[2026-08-19 04:30:06] local.INFO: Extracted packet for processing {"connection_id":159863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01718"} 
[2026-08-19 04:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756248576,"raw_latitude":115062496,"longitude_deg":75.6248576,"latitude_deg":11.5062496,"altitude":10,"angle":164,"satellites":49,"speed":60,"hex_longitude":"2d137000","hex_latitude":"06dbb6e0","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496037888001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385162646946578432,"note":"Value kept but may cause issues"} 
[2026-08-19 04:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1397241813850177536,"note":"Value kept but may cause issues"} 
[2026-08-19 04:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787093905000,"timestamp_ms":1787093905000,"timestamp_seconds":1787093905,"priority":1,"record_length":96,"hex_timestamp":"000001a01718ee68"} 
[2026-08-19 04:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 04:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04: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-08-19 04:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:30:06] 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-08-19 04:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496037888001,"66":27289,"152":206,"81":20480,"24":60,"16":385162646946578432,"45":1397241813850177536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-08-19 04:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496037888001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:30:06] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-19 04:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385162646946578432,"km_value":385162646946578.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1397241813850177536,"description":"Unknown IO ID 45"} 
[2026-08-19 04:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496037888001,"power":27289,"unknown_152":206,"unknown_81":20480,"ignition":60,"odometer":null,"unknown_45":1397241813850177536}} 
[2026-08-19 04:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":159863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:30:06] local.INFO: GPS data processed {"connection_id":159863,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:30:06] local.INFO: Acknowledgment sent {"connection_id":159863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:30:37] local.INFO: TCP Data received {"connection_id":159863,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171a1b30012d13cf4006da29a0000e00b132..."} 
[2026-08-19 04:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171a1b30012d13cf4006da29a0000e00b132..."} 
[2026-08-19 04:30:37] local.INFO: Processing buffer {"connection_id":159863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171a1b30012d13cf4006da29a0000e00b132..."} 
[2026-08-19 04:30:37] local.INFO: Packet analysis {"connection_id":159863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0171a"} 
[2026-08-19 04:30:37] local.INFO: Extracted packet for processing {"connection_id":159863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0171a"} 
[2026-08-19 04:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756272960,"raw_latitude":114960800,"longitude_deg":75.627296,"latitude_deg":11.49608,"altitude":14,"angle":177,"satellites":50,"speed":56,"hex_longitude":"2d13cf40","hex_latitude":"06da29a0","is_valid_coordinates":true} 
[2026-08-19 04:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496057600001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385167762252627968,"note":"Value kept but may cause issues"} 
[2026-08-19 04:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1426585580146319360,"note":"Value kept but may cause issues"} 
[2026-08-19 04:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787093982000,"timestamp_ms":1787093982000,"timestamp_seconds":1787093982,"priority":1,"record_length":96,"hex_timestamp":"000001a0171a1b30"} 
[2026-08-19 04:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:30: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-08-19 04:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 04:30:37] 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-08-19 04:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496057600001,"66":27245,"88":206,"81":20480,"24":56,"16":385167762252627968,"45":1426585580146319360},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-08-19 04:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496057600001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:30:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-08-19 04:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385167762252627968,"km_value":385167762252627.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1426585580146319360,"description":"Unknown IO ID 45"} 
[2026-08-19 04:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496057600001,"power":27245,"unknown_88":206,"unknown_81":20480,"ignition":56,"odometer":null,"unknown_45":1426585580146319360}} 
[2026-08-19 04:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":159863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:30:37] local.INFO: GPS data processed {"connection_id":159863,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:30:37] local.INFO: Acknowledgment sent {"connection_id":159863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:31:01] local.INFO: TCP Data received {"connection_id":159864,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:31:01] local.INFO: Processing buffer {"connection_id":159864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:31:01] local.INFO: IMEI packet received {"connection_id":159864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":159864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:31:03] local.INFO: TCP Data received {"connection_id":159864,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:31:03] local.INFO: Processing buffer {"connection_id":159864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:31:03] local.INFO: IMEI packet received {"connection_id":159864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":159864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:31:04] local.INFO: TCP Data received {"connection_id":159864,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171a3688012d13d14006da02b8000d00b132..."} 
[2026-08-19 04:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171a3688012d13d14006da02b8000d00b132..."} 
[2026-08-19 04:31:04] local.INFO: Processing buffer {"connection_id":159864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171a3688012d13d14006da02b8000d00b132..."} 
[2026-08-19 04:31:04] local.INFO: Packet analysis {"connection_id":159864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0171a"} 
[2026-08-19 04:31:04] local.INFO: Extracted packet for processing {"connection_id":159864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0171a"} 
[2026-08-19 04:31:04] local.INFO: GPS Element Parsed {"raw_longitude":756273472,"raw_latitude":114950840,"longitude_deg":75.6273472,"latitude_deg":11.495084,"altitude":13,"angle":177,"satellites":50,"speed":57,"hex_longitude":"2d13d140","hex_latitude":"06da02b8","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496059392001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385168243288965120,"note":"Value kept but may cause issues"} 
[2026-08-19 04:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1427430005073879040,"note":"Value kept but may cause issues"} 
[2026-08-19 04:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787093989000,"timestamp_ms":1787093989000,"timestamp_seconds":1787093989,"priority":1,"record_length":96,"hex_timestamp":"000001a0171a3688"} 
[2026-08-19 04:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:31: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-08-19 04: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 04:31:04] 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-08-19 04: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-08-19 04:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496059392001,"66":27234,"88":206,"81":20480,"24":57,"16":385168243288965120,"45":1427430005073879040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-08-19 04:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496059392001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:31:04] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-08-19 04:31:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385168243288965120,"km_value":385168243288965.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1427430005073879040,"description":"Unknown IO ID 45"} 
[2026-08-19 04:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496059392001,"power":27234,"unknown_88":206,"unknown_81":20480,"ignition":57,"odometer":null,"unknown_45":1427430005073879040}} 
[2026-08-19 04:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":159864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:31:04] local.INFO: GPS data processed {"connection_id":159864,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:31:04] local.INFO: Acknowledgment sent {"connection_id":159864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:31:35] local.INFO: TCP Data received {"connection_id":159864,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171a4df8012d13d3c006d9df40000b00b131..."} 
[2026-08-19 04:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171a4df8012d13d3c006d9df40000b00b131..."} 
[2026-08-19 04:31:35] local.INFO: Processing buffer {"connection_id":159864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171a4df8012d13d3c006d9df40000b00b131..."} 
[2026-08-19 04:31:35] local.INFO: Packet analysis {"connection_id":159864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0171a"} 
[2026-08-19 04:31:35] local.INFO: Extracted packet for processing {"connection_id":159864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0171a"} 
[2026-08-19 04:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756274112,"raw_latitude":114941760,"longitude_deg":75.6274112,"latitude_deg":11.494176,"altitude":11,"angle":177,"satellites":49,"speed":61,"hex_longitude":"2d13d3c0","hex_latitude":"06d9df40","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496061184001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385168685670596608,"note":"Value kept but may cause issues"} 
[2026-08-19 04:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1427992955024750592,"note":"Value kept but may cause issues"} 
[2026-08-19 04:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787093995000,"timestamp_ms":1787093995000,"timestamp_seconds":1787093995,"priority":1,"record_length":96,"hex_timestamp":"000001a0171a4df8"} 
[2026-08-19 04:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:31: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-08-19 04: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 04:31:35] 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-08-19 04: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-08-19 04:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:31:35] 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-08-19 04:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496061184001,"66":27321,"89":206,"81":20480,"24":61,"16":385168685670596608,"45":1427992955024750592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,81,24,16,45]} 
[2026-08-19 04:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496061184001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:31:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-19 04:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385168685670596608,"km_value":385168685670596.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1427992955024750592,"description":"Unknown IO ID 45"} 
[2026-08-19 04:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496061184001,"power":27321,"unknown_89":206,"unknown_81":20480,"ignition":61,"odometer":null,"unknown_45":1427992955024750592}} 
[2026-08-19 04:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":159864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:31:35] local.INFO: GPS data processed {"connection_id":159864,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:31:35] local.INFO: Acknowledgment sent {"connection_id":159864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:32:00] local.INFO: TCP Data received {"connection_id":158588,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:32:00] local.INFO: Processing buffer {"connection_id":158588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:32:00] local.INFO: IMEI packet received {"connection_id":158588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":158588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:32:04] local.INFO: TCP Data received {"connection_id":158588,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:32:04] local.INFO: Processing buffer {"connection_id":158588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:32:04] local.INFO: IMEI packet received {"connection_id":158588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":158588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:32:06] local.INFO: TCP Data received {"connection_id":158588,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171b6738012d14290006d8b150000f00a032..."} 
[2026-08-19 04:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171b6738012d14290006d8b150000f00a032..."} 
[2026-08-19 04:32:06] local.INFO: Processing buffer {"connection_id":158588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171b6738012d14290006d8b150000f00a032..."} 
[2026-08-19 04:32:06] local.INFO: Packet analysis {"connection_id":158588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0171b"} 
[2026-08-19 04:32:06] local.INFO: Extracted packet for processing {"connection_id":158588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0171b"} 
[2026-08-19 04:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756295936,"raw_latitude":114864464,"longitude_deg":75.6295936,"latitude_deg":11.4864464,"altitude":15,"angle":160,"satellites":50,"speed":18,"hex_longitude":"2d142900","hex_latitude":"06d8b150","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496081152001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385172692875083776,"note":"Value kept but may cause issues"} 
[2026-08-19 04:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1452692384208998400,"note":"Value kept but may cause issues"} 
[2026-08-19 04:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787094067000,"timestamp_ms":1787094067000,"timestamp_seconds":1787094067,"priority":1,"record_length":96,"hex_timestamp":"000001a0171b6738"} 
[2026-08-19 04:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:32: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-08-19 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 04:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04: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-08-19 04:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:32:06] 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-08-19 04:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496081152001,"66":27332,"184":206,"81":20480,"24":18,"16":385172692875083776,"45":1452692384208998400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-08-19 04:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496081152001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:32:06] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-19 04:32:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385172692875083776,"km_value":385172692875083.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1452692384208998400,"description":"Unknown IO ID 45"} 
[2026-08-19 04:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496081152001,"power":27332,"unknown_184":206,"unknown_81":20480,"ignition":18,"odometer":null,"unknown_45":1452692384208998400}} 
[2026-08-19 04:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":158588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:32:06] local.INFO: GPS data processed {"connection_id":158588,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:32:06] local.INFO: Acknowledgment sent {"connection_id":158588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:32:38] local.INFO: TCP Data received {"connection_id":158588,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171b9230012d14370006d89150000e009b32..."} 
[2026-08-19 04:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171b9230012d14370006d89150000e009b32..."} 
[2026-08-19 04:32:38] local.INFO: Processing buffer {"connection_id":158588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171b9230012d14370006d89150000e009b32..."} 
[2026-08-19 04:32:38] local.INFO: Packet analysis {"connection_id":158588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0171b"} 
[2026-08-19 04:32:38] local.INFO: Extracted packet for processing {"connection_id":158588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0171b"} 
[2026-08-19 04:32:38] local.INFO: GPS Element Parsed {"raw_longitude":756299520,"raw_latitude":114856272,"longitude_deg":75.629952,"latitude_deg":11.4856272,"altitude":14,"angle":155,"satellites":50,"speed":41,"hex_longitude":"2d143700","hex_latitude":"06d89150","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496081152001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385173126666780672,"note":"Value kept but may cause issues"} 
[2026-08-19 04:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1452692384208998400,"note":"Value kept but may cause issues"} 
[2026-08-19 04:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787094078000,"timestamp_ms":1787094078000,"timestamp_seconds":1787094078,"priority":1,"record_length":96,"hex_timestamp":"000001a0171b9230"} 
[2026-08-19 04:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:32: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-08-19 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 04:32:38] 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-08-19 04: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-08-19 04:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:32:38] 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-08-19 04:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496081152001,"66":27343,"184":206,"81":20480,"24":41,"16":385173126666780672,"45":1452692384208998400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-08-19 04:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496081152001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:32:38] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-19 04:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385173126666780672,"km_value":385173126666780.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1452692384208998400,"description":"Unknown IO ID 45"} 
[2026-08-19 04:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496081152001,"power":27343,"unknown_184":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1452692384208998400}} 
[2026-08-19 04:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":158588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:32:38] local.INFO: GPS data processed {"connection_id":158588,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:32:38] local.INFO: Acknowledgment sent {"connection_id":158588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:33:00] local.INFO: TCP Data received {"connection_id":157692,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:33:00] local.INFO: Processing buffer {"connection_id":157692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:33:00] local.INFO: IMEI packet received {"connection_id":157692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":157692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:33:01] local.INFO: TCP Data received {"connection_id":157692,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:33:01] local.INFO: Processing buffer {"connection_id":157692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:33:01] local.INFO: IMEI packet received {"connection_id":157692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":157692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:33:05] local.INFO: TCP Data received {"connection_id":157692,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:33:05] local.INFO: Processing buffer {"connection_id":157692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:33:05] local.INFO: IMEI packet received {"connection_id":157692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":157692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:33:06] local.INFO: TCP Data received {"connection_id":157692,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171bb170012d14464006d87098000e009a32..."} 
[2026-08-19 04:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171bb170012d14464006d87098000e009a32..."} 
[2026-08-19 04:33:06] local.INFO: Processing buffer {"connection_id":157692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171bb170012d14464006d87098000e009a32..."} 
[2026-08-19 04:33:06] local.INFO: Packet analysis {"connection_id":157692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0171b"} 
[2026-08-19 04:33:06] local.INFO: Extracted packet for processing {"connection_id":157692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0171b"} 
[2026-08-19 04:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756303424,"raw_latitude":114847896,"longitude_deg":75.6303424,"latitude_deg":11.4847896,"altitude":14,"angle":154,"satellites":50,"speed":49,"hex_longitude":"2d144640","hex_latitude":"06d87098","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496083968001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385173569048412160,"note":"Value kept but may cause issues"} 
[2026-08-19 04:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1456633033880850432,"note":"Value kept but may cause issues"} 
[2026-08-19 04:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787094086000,"timestamp_ms":1787094086000,"timestamp_seconds":1787094086,"priority":1,"record_length":96,"hex_timestamp":"000001a0171bb170"} 
[2026-08-19 04:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:33: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-08-19 04:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 04:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04: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-08-19 04:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:33:06] 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-08-19 04:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496083968001,"66":27289,"46":206,"81":20480,"24":49,"16":385173569048412160,"45":1456633033880850432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-19 04:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496083968001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:33:06] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-19 04:33:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385173569048412160,"km_value":385173569048412.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1456633033880850432,"description":"Unknown IO ID 45"} 
[2026-08-19 04:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496083968001,"power":27289,"unknown_46":206,"unknown_81":20480,"ignition":49,"odometer":null,"unknown_45":1456633033880850432}} 
[2026-08-19 04:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":157692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:33:06] local.INFO: GPS data processed {"connection_id":157692,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:33:06] local.INFO: Acknowledgment sent {"connection_id":157692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:33:37] local.INFO: TCP Data received {"connection_id":157692,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171bccc8012d14574006d850e0000e009332..."} 
[2026-08-19 04:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171bccc8012d14574006d850e0000e009332..."} 
[2026-08-19 04:33:37] local.INFO: Processing buffer {"connection_id":157692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171bccc8012d14574006d850e0000e009332..."} 
[2026-08-19 04:33:37] local.INFO: Packet analysis {"connection_id":157692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0171b"} 
[2026-08-19 04:33:37] local.INFO: Extracted packet for processing {"connection_id":157692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0171b"} 
[2026-08-19 04:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756307776,"raw_latitude":114839776,"longitude_deg":75.6307776,"latitude_deg":11.4839776,"altitude":14,"angle":147,"satellites":50,"speed":54,"hex_longitude":"2d145740","hex_latitude":"06d850e0","is_valid_coordinates":true} 
[2026-08-19 04:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496086016001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385174015725010944,"note":"Value kept but may cause issues"} 
[2026-08-19 04:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1460925527273543680,"note":"Value kept but may cause issues"} 
[2026-08-19 04:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787094093000,"timestamp_ms":1787094093000,"timestamp_seconds":1787094093,"priority":1,"record_length":96,"hex_timestamp":"000001a0171bccc8"} 
[2026-08-19 04:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:33: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-08-19 04: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-19 04:33:37] 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-08-19 04: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-08-19 04:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496086016001,"66":27267,"46":206,"81":20480,"24":54,"16":385174015725010944,"45":1460925527273543680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-19 04:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496086016001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:33:37] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-19 04:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385174015725010944,"km_value":385174015725010.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1460925527273543680,"description":"Unknown IO ID 45"} 
[2026-08-19 04:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496086016001,"power":27267,"unknown_46":206,"unknown_81":20480,"ignition":54,"odometer":null,"unknown_45":1460925527273543680}} 
[2026-08-19 04:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":157692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:33:38] local.INFO: GPS data processed {"connection_id":157692,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:33:38] local.INFO: Acknowledgment sent {"connection_id":157692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:34:00] local.INFO: TCP Data received {"connection_id":158589,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:34:00] local.INFO: Processing buffer {"connection_id":158589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:34:00] local.INFO: IMEI packet received {"connection_id":158589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":158589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:34:05] local.INFO: TCP Data received {"connection_id":158589,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:34:05] local.INFO: Processing buffer {"connection_id":158589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:34:05] local.INFO: IMEI packet received {"connection_id":158589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":158589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:34:05] local.INFO: TCP Data received {"connection_id":158589,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:34:05] local.INFO: Processing buffer {"connection_id":158589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:34:05] local.INFO: IMEI packet received {"connection_id":158589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":158589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:34:06] local.INFO: TCP Data received {"connection_id":158589,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171d2c58012d1573c006d72900000a008730..."} 
[2026-08-19 04:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171d2c58012d1573c006d72900000a008730..."} 
[2026-08-19 04:34:06] local.INFO: Processing buffer {"connection_id":158589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171d2c58012d1573c006d72900000a008730..."} 
[2026-08-19 04:34:06] local.INFO: Packet analysis {"connection_id":158589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0171d"} 
[2026-08-19 04:34:06] local.INFO: Extracted packet for processing {"connection_id":158589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0171d"} 
[2026-08-19 04:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756380608,"raw_latitude":114764032,"longitude_deg":75.6380608,"latitude_deg":11.4764032,"altitude":10,"angle":135,"satellites":48,"speed":37,"hex_longitude":"2d1573c0","hex_latitude":"06d72900","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496108288001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385179066606551040,"note":"Value kept but may cause issues"} 
[2026-08-19 04:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1539034833290944512,"note":"Value kept but may cause issues"} 
[2026-08-19 04:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787094183000,"timestamp_ms":1787094183000,"timestamp_seconds":1787094183,"priority":1,"record_length":96,"hex_timestamp":"000001a0171d2c58"} 
[2026-08-19 04:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:34: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-08-19 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 04:34:06] 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-08-19 04: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-08-19 04:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:34:06] 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-08-19 04:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496108288001,"66":27234,"46":206,"81":20480,"24":37,"16":385179066606551040,"45":1539034833290944512},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-19 04:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496108288001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:34:06] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-19 04:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385179066606551040,"km_value":385179066606551.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1539034833290944512,"description":"Unknown IO ID 45"} 
[2026-08-19 04:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496108288001,"power":27234,"unknown_46":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":1539034833290944512}} 
[2026-08-19 04:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":158589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:34:06] local.INFO: GPS data processed {"connection_id":158589,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:34:06] local.INFO: Acknowledgment sent {"connection_id":158589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:34:07] local.INFO: TCP Data received {"connection_id":158589,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171d5368012d158e8006d71020000c00832e..."} 
[2026-08-19 04:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171d5368012d158e8006d71020000c00832e..."} 
[2026-08-19 04:34:07] local.INFO: Processing buffer {"connection_id":158589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171d5368012d158e8006d71020000c00832e..."} 
[2026-08-19 04:34:07] local.INFO: Packet analysis {"connection_id":158589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0171d"} 
[2026-08-19 04:34:07] local.INFO: Extracted packet for processing {"connection_id":158589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0171d"} 
[2026-08-19 04:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756387456,"raw_latitude":114757664,"longitude_deg":75.6387456,"latitude_deg":11.4757664,"altitude":12,"angle":131,"satellites":46,"speed":38,"hex_longitude":"2d158e80","hex_latitude":"06d71020","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496110848001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385179517578117120,"note":"Value kept but may cause issues"} 
[2026-08-19 04:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1545790232730337280,"note":"Value kept but may cause issues"} 
[2026-08-19 04:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787094193000,"timestamp_ms":1787094193000,"timestamp_seconds":1787094193,"priority":1,"record_length":96,"hex_timestamp":"000001a0171d5368"} 
[2026-08-19 04:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 04:34:07] 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-08-19 04: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-08-19 04:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496110848001,"66":27484,"46":206,"81":20480,"24":38,"16":385179517578117120,"45":1545790232730337280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-19 04:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496110848001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:34:07] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-19 04:34:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385179517578117120,"km_value":385179517578117.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1545790232730337280,"description":"Unknown IO ID 45"} 
[2026-08-19 04:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496110848001,"power":27484,"unknown_46":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1545790232730337280}} 
[2026-08-19 04:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":158589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:34:07] local.INFO: GPS data processed {"connection_id":158589,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:34:07] local.INFO: Acknowledgment sent {"connection_id":158589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:34:39] local.INFO: TCP Data received {"connection_id":158589,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171d7e60012d15a90006d6fbf8000b00752d..."} 
[2026-08-19 04:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171d7e60012d15a90006d6fbf8000b00752d..."} 
[2026-08-19 04:34:39] local.INFO: Processing buffer {"connection_id":158589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171d7e60012d15a90006d6fbf8000b00752d..."} 
[2026-08-19 04:34:39] local.INFO: Packet analysis {"connection_id":158589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0171d"} 
[2026-08-19 04:34:39] local.INFO: Extracted packet for processing {"connection_id":158589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0171d"} 
[2026-08-19 04:34:39] local.INFO: GPS Element Parsed {"raw_longitude":756394240,"raw_latitude":114752504,"longitude_deg":75.639424,"latitude_deg":11.4752504,"altitude":11,"angle":117,"satellites":45,"speed":12,"hex_longitude":"2d15a900","hex_latitude":"06d6fbf8","is_valid_coordinates":true} 
[2026-08-19 04:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496113408001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385179925600010240,"note":"Value kept but may cause issues"} 
[2026-08-19 04:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1553319688355717120,"note":"Value kept but may cause issues"} 
[2026-08-19 04:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787094204000,"timestamp_ms":1787094204000,"timestamp_seconds":1787094204,"priority":1,"record_length":96,"hex_timestamp":"000001a0171d7e60"} 
[2026-08-19 04:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 04:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:34:39] 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-08-19 04:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496113408001,"66":27234,"46":206,"81":20480,"24":12,"16":385179925600010240,"45":1553319688355717120},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-19 04:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496113408001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:34:39] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-19 04:34:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385179925600010240,"km_value":385179925600010.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1553319688355717120,"description":"Unknown IO ID 45"} 
[2026-08-19 04:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496113408001,"power":27234,"unknown_46":206,"unknown_81":20480,"ignition":12,"odometer":null,"unknown_45":1553319688355717120}} 
[2026-08-19 04:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":158589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:34:39] local.INFO: GPS data processed {"connection_id":158589,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:34:39] local.INFO: Acknowledgment sent {"connection_id":158589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:35:03] local.INFO: TCP Data received {"connection_id":157321,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:35:03] local.INFO: Processing buffer {"connection_id":157321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:35:03] local.INFO: IMEI packet received {"connection_id":157321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":157321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:35:04] local.INFO: TCP Data received {"connection_id":157321,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:35:04] local.INFO: Processing buffer {"connection_id":157321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:35:04] local.INFO: IMEI packet received {"connection_id":157321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":157321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:35:05] local.INFO: TCP Data received {"connection_id":157321,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:35:05] local.INFO: Processing buffer {"connection_id":157321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:35:05] local.INFO: IMEI packet received {"connection_id":157321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":157321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:35:06] local.INFO: TCP Data received {"connection_id":157321,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171dff48012d15b18006d6e258000e009f32..."} 
[2026-08-19 04:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171dff48012d15b18006d6e258000e009f32..."} 
[2026-08-19 04:35:06] local.INFO: Processing buffer {"connection_id":157321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171dff48012d15b18006d6e258000e009f32..."} 
[2026-08-19 04:35:06] local.INFO: Packet analysis {"connection_id":157321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0171d"} 
[2026-08-19 04:35:06] local.INFO: Extracted packet for processing {"connection_id":157321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0171d"} 
[2026-08-19 04:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756396416,"raw_latitude":114745944,"longitude_deg":75.6396416,"latitude_deg":11.4745944,"altitude":14,"angle":159,"satellites":50,"speed":9,"hex_longitude":"2d15b180","hex_latitude":"06d6e258","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496124160001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385180320737001472,"note":"Value kept but may cause issues"} 
[2026-08-19 04:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562889837560987648,"note":"Value kept but may cause issues"} 
[2026-08-19 04:35:06] 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-08-19 04:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787094237000,"timestamp_ms":1787094237000,"timestamp_seconds":1787094237,"priority":1,"record_length":96,"hex_timestamp":"000001a0171dff48"} 
[2026-08-19 04:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:35: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-08-19 04: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 04:35:06] 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-08-19 04: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-08-19 04:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:35:06] 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-08-19 04:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496124160001,"66":27321,"44":206,"81":20480,"24":9,"16":385180320737001472,"45":1562889837560987648},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-19 04:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496124160001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:35:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-19 04:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385180320737001472,"km_value":385180320737001.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562889837560987648,"description":"Unknown IO ID 45"} 
[2026-08-19 04:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496124160001,"power":27321,"unknown_44":206,"unknown_81":20480,"ignition":9,"odometer":null,"unknown_45":1562889837560987648}} 
[2026-08-19 04:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":157321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:35:06] local.INFO: GPS data processed {"connection_id":157321,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:35:06] local.INFO: Acknowledgment sent {"connection_id":157321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:35:11] local.INFO: TCP Data received {"connection_id":157321,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171e3210012d15b84006d6cb60000f009132..."} 
[2026-08-19 04:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171e3210012d15b84006d6cb60000f009132..."} 
[2026-08-19 04:35:11] local.INFO: Processing buffer {"connection_id":157321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171e3210012d15b84006d6cb60000f009132..."} 
[2026-08-19 04:35:11] local.INFO: Packet analysis {"connection_id":157321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0171e"} 
[2026-08-19 04:35:11] local.INFO: Extracted packet for processing {"connection_id":157321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0171e"} 
[2026-08-19 04:35:11] local.INFO: GPS Element Parsed {"raw_longitude":756398144,"raw_latitude":114740064,"longitude_deg":75.6398144,"latitude_deg":11.4740064,"altitude":15,"angle":145,"satellites":50,"speed":29,"hex_longitude":"2d15b840","hex_latitude":"06d6cb60","is_valid_coordinates":true} 
[2026-08-19 04:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496124672001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385180617089744896,"note":"Value kept but may cause issues"} 
[2026-08-19 04:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1563171312537589760,"note":"Value kept but may cause issues"} 
[2026-08-19 04:35:11] 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-08-19 04:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787094250000,"timestamp_ms":1787094250000,"timestamp_seconds":1787094250,"priority":1,"record_length":96,"hex_timestamp":"000001a0171e3210"} 
[2026-08-19 04:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:35: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-08-19 04:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 04:35:11] 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-08-19 04:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496124672001,"66":27234,"44":206,"81":20480,"24":29,"16":385180617089744896,"45":1563171312537589760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-19 04:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496124672001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:35:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-19 04:35:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385180617089744896,"km_value":385180617089744.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1563171312537589760,"description":"Unknown IO ID 45"} 
[2026-08-19 04:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496124672001,"power":27234,"unknown_44":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":1563171312537589760}} 
[2026-08-19 04:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":157321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:35:11] local.INFO: GPS data processed {"connection_id":157321,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:35:11] local.INFO: Acknowledgment sent {"connection_id":157321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:35:42] local.INFO: TCP Data received {"connection_id":157321,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171e39e0012d15bc8006d6c6a8000f008232..."} 
[2026-08-19 04:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171e39e0012d15bc8006d6c6a8000f008232..."} 
[2026-08-19 04:35:42] local.INFO: Processing buffer {"connection_id":157321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171e39e0012d15bc8006d6c6a8000f008232..."} 
[2026-08-19 04:35:42] local.INFO: Packet analysis {"connection_id":157321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0171e"} 
[2026-08-19 04:35:42] local.INFO: Extracted packet for processing {"connection_id":157321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0171e"} 
[2026-08-19 04:35:42] local.INFO: GPS Element Parsed {"raw_longitude":756399232,"raw_latitude":114738856,"longitude_deg":75.6399232,"latitude_deg":11.4738856,"altitude":15,"angle":130,"satellites":50,"speed":33,"hex_longitude":"2d15bc80","hex_latitude":"06d6c6a8","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496128000001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385180694399156224,"note":"Value kept but may cause issues"} 
[2026-08-19 04:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1565071268628881408,"note":"Value kept but may cause issues"} 
[2026-08-19 04:35:42] 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-08-19 04:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787094252000,"timestamp_ms":1787094252000,"timestamp_seconds":1787094252,"priority":1,"record_length":96,"hex_timestamp":"000001a0171e39e0"} 
[2026-08-19 04:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:35:42] 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-08-19 04: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 04:35:42] 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-08-19 04: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-08-19 04:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496128000001,"66":27234,"44":206,"81":20480,"24":33,"16":385180694399156224,"45":1565071268628881408},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-19 04:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496128000001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-19 04:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385180694399156224,"km_value":385180694399156.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1565071268628881408,"description":"Unknown IO ID 45"} 
[2026-08-19 04:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496128000001,"power":27234,"unknown_44":206,"unknown_81":20480,"ignition":33,"odometer":null,"unknown_45":1565071268628881408}} 
[2026-08-19 04:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":157321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:35:42] local.INFO: GPS data processed {"connection_id":157321,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:35:42] local.INFO: Acknowledgment sent {"connection_id":157321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:36:02] local.INFO: TCP Data received {"connection_id":157693,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:36:02] local.INFO: Processing buffer {"connection_id":157693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:36:02] local.INFO: IMEI packet received {"connection_id":157693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":157693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:36:02] local.INFO: TCP Data received {"connection_id":157693,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:36:02] local.INFO: Processing buffer {"connection_id":157693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:36:02] local.INFO: IMEI packet received {"connection_id":157693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":157693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:36:05] local.INFO: TCP Data received {"connection_id":157693,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:36:05] local.INFO: Processing buffer {"connection_id":157693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:36:05] local.INFO: IMEI packet received {"connection_id":157693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":157693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:36:06] local.INFO: TCP Data received {"connection_id":157693,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171e4980012d15c8c006d6be80000e007731..."} 
[2026-08-19 04:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171e4980012d15c8c006d6be80000e007731..."} 
[2026-08-19 04:36:06] local.INFO: Processing buffer {"connection_id":157693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171e4980012d15c8c006d6be80000e007731..."} 
[2026-08-19 04:36:06] local.INFO: Packet analysis {"connection_id":157693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0171e"} 
[2026-08-19 04:36:06] local.INFO: Extracted packet for processing {"connection_id":157693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0171e"} 
[2026-08-19 04:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756402368,"raw_latitude":114736768,"longitude_deg":75.6402368,"latitude_deg":11.4736768,"altitude":14,"angle":119,"satellites":49,"speed":38,"hex_longitude":"2d15c8c0","hex_latitude":"06d6be80","is_valid_coordinates":true} 
[2026-08-19 04:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496128512001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385180874787782656,"note":"Value kept but may cause issues"} 
[2026-08-19 04:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1566267537279592448,"note":"Value kept but may cause issues"} 
[2026-08-19 04:36:06] 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-08-19 04:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787094256000,"timestamp_ms":1787094256000,"timestamp_seconds":1787094256,"priority":1,"record_length":96,"hex_timestamp":"000001a0171e4980"} 
[2026-08-19 04:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 04:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:36:06] 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-08-19 04:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496128512001,"66":27300,"44":206,"81":20480,"24":38,"16":385180874787782656,"45":1566267537279592448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-19 04:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496128512001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:36:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-19 04:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385180874787782656,"km_value":385180874787782.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1566267537279592448,"description":"Unknown IO ID 45"} 
[2026-08-19 04:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496128512001,"power":27300,"unknown_44":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1566267537279592448}} 
[2026-08-19 04:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":157693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:36:06] local.INFO: GPS data processed {"connection_id":157693,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:36:06] local.INFO: Acknowledgment sent {"connection_id":157693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:36:11] local.INFO: TCP Data received {"connection_id":157693,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171e7090012d15e84006d6ae70000f007432..."} 
[2026-08-19 04:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171e7090012d15e84006d6ae70000f007432..."} 
[2026-08-19 04:36:11] local.INFO: Processing buffer {"connection_id":157693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171e7090012d15e84006d6ae70000f007432..."} 
[2026-08-19 04:36:11] local.INFO: Packet analysis {"connection_id":157693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0171e"} 
[2026-08-19 04:36:11] local.INFO: Extracted packet for processing {"connection_id":157693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0171e"} 
[2026-08-19 04:36:11] local.INFO: GPS Element Parsed {"raw_longitude":756410432,"raw_latitude":114732656,"longitude_deg":75.6410432,"latitude_deg":11.4732656,"altitude":15,"angle":116,"satellites":50,"speed":34,"hex_longitude":"2d15e840","hex_latitude":"06d6ae70","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496129536001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385181308579479552,"note":"Value kept but may cause issues"} 
[2026-08-19 04:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1569715605743763456,"note":"Value kept but may cause issues"} 
[2026-08-19 04:36:11] 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-08-19 04:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787094266000,"timestamp_ms":1787094266000,"timestamp_seconds":1787094266,"priority":1,"record_length":96,"hex_timestamp":"000001a0171e7090"} 
[2026-08-19 04:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:36: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-08-19 04:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 04:36:11] 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-08-19 04: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-08-19 04:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496129536001,"66":27234,"44":206,"81":20480,"24":34,"16":385181308579479552,"45":1569715605743763456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-19 04:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496129536001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:36:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-19 04:36:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385181308579479552,"km_value":385181308579479.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1569715605743763456,"description":"Unknown IO ID 45"} 
[2026-08-19 04:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496129536001,"power":27234,"unknown_44":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":1569715605743763456}} 
[2026-08-19 04:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":157693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:36:11] local.INFO: GPS data processed {"connection_id":157693,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:36:11] local.INFO: Acknowledgment sent {"connection_id":157693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:36:43] local.INFO: TCP Data received {"connection_id":157693,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171e9b88012d16080006d69dc80011007932..."} 
[2026-08-19 04:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171e9b88012d16080006d69dc80011007932..."} 
[2026-08-19 04:36:43] local.INFO: Processing buffer {"connection_id":157693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171e9b88012d16080006d69dc80011007932..."} 
[2026-08-19 04:36:43] local.INFO: Packet analysis {"connection_id":157693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0171e"} 
[2026-08-19 04:36:43] local.INFO: Extracted packet for processing {"connection_id":157693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0171e"} 
[2026-08-19 04:36:43] local.INFO: GPS Element Parsed {"raw_longitude":756418560,"raw_latitude":114728392,"longitude_deg":75.641856,"latitude_deg":11.4728392,"altitude":17,"angle":121,"satellites":50,"speed":29,"hex_longitude":"2d160800","hex_latitude":"06d69dc8","is_valid_coordinates":true} 
[2026-08-19 04:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496132096001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385181746666143744,"note":"Value kept but may cause issues"} 
[2026-08-19 04:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1578582067509096448,"note":"Value kept but may cause issues"} 
[2026-08-19 04:36:43] 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-08-19 04:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787094277000,"timestamp_ms":1787094277000,"timestamp_seconds":1787094277,"priority":1,"record_length":96,"hex_timestamp":"000001a0171e9b88"} 
[2026-08-19 04:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 04:36:43] 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-08-19 04:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496132096001,"66":27332,"44":206,"81":20480,"24":29,"16":385181746666143744,"45":1578582067509096448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-19 04:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496132096001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:36:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-19 04:36:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385181746666143744,"km_value":385181746666143.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1578582067509096448,"description":"Unknown IO ID 45"} 
[2026-08-19 04:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496132096001,"power":27332,"unknown_44":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":1578582067509096448}} 
[2026-08-19 04:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":157693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:36:43] local.INFO: GPS data processed {"connection_id":157693,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:36:43] local.INFO: Acknowledgment sent {"connection_id":157693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:37:02] local.INFO: TCP Data received {"connection_id":157694,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:37:02] local.INFO: Processing buffer {"connection_id":157694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:37:02] local.INFO: IMEI packet received {"connection_id":157694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":157694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:37:03] local.INFO: TCP Data received {"connection_id":157694,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:37:03] local.INFO: Processing buffer {"connection_id":157694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:37:03] local.INFO: IMEI packet received {"connection_id":157694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":157694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:37:05] local.INFO: TCP Data received {"connection_id":157694,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:37:05] local.INFO: Processing buffer {"connection_id":157694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:37:05] local.INFO: IMEI packet received {"connection_id":157694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":157694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:37:08] local.INFO: TCP Data received {"connection_id":157694,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171ebeb0012d161b0006d68fe80014008532..."} 
[2026-08-19 04:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171ebeb0012d161b0006d68fe80014008532..."} 
[2026-08-19 04:37:08] local.INFO: Processing buffer {"connection_id":157694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171ebeb0012d161b0006d68fe80014008532..."} 
[2026-08-19 04:37:08] local.INFO: Packet analysis {"connection_id":157694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0171e"} 
[2026-08-19 04:37:08] local.INFO: Extracted packet for processing {"connection_id":157694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0171e"} 
[2026-08-19 04:37:08] local.INFO: GPS Element Parsed {"raw_longitude":756423424,"raw_latitude":114724840,"longitude_deg":75.6423424,"latitude_deg":11.472484,"altitude":20,"angle":133,"satellites":50,"speed":23,"hex_longitude":"2d161b00","hex_latitude":"06d68fe8","is_valid_coordinates":true} 
[2026-08-19 04:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496134912001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385182034428952576,"note":"Value kept but may cause issues"} 
[2026-08-19 04:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1587518898018568192,"note":"Value kept but may cause issues"} 
[2026-08-19 04:37:08] 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-08-19 04:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787094286000,"timestamp_ms":1787094286000,"timestamp_seconds":1787094286,"priority":1,"record_length":96,"hex_timestamp":"000001a0171ebeb0"} 
[2026-08-19 04:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:37: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-08-19 04:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 04:37:08] 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-08-19 04:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":157694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":157694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":157694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:37:08] 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-08-19 04:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496134912001,"66":27321,"44":206,"81":20480,"24":23,"16":385182034428952576,"45":1587518898018568192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-19 04:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496134912001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:37:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-19 04:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385182034428952576,"km_value":385182034428952.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1587518898018568192,"description":"Unknown IO ID 45"} 
[2026-08-19 04:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496134912001,"power":27321,"unknown_44":206,"unknown_81":20480,"ignition":23,"odometer":null,"unknown_45":1587518898018568192}} 
[2026-08-19 04:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":157694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:37:08] local.INFO: GPS data processed {"connection_id":157694,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:37:08] local.INFO: Acknowledgment sent {"connection_id":157694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:37:11] local.INFO: TCP Data received {"connection_id":157694,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0171ef560012d16380006d679a80012007832..."} 
[2026-08-19 04:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0171ef560012d16380006d679a80012007832..."} 
[2026-08-19 04:37:11] local.INFO: Processing buffer {"connection_id":157694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0171ef560012d16380006d679a80012007832..."} 
[2026-08-19 04:37:11] local.INFO: Packet analysis {"connection_id":157694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0171e"} 
[2026-08-19 04:37:11] local.INFO: Extracted packet for processing {"connection_id":157694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0171e"} 
[2026-08-19 04:37:11] local.INFO: GPS Element Parsed {"raw_longitude":756430848,"raw_latitude":114719144,"longitude_deg":75.6430848,"latitude_deg":11.4719144,"altitude":18,"angle":120,"satellites":50,"speed":27,"hex_longitude":"2d163800","hex_latitude":"06d679a8","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496137216001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385182481105551360,"note":"Value kept but may cause issues"} 
[2026-08-19 04:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1592866922575161344,"note":"Value kept but may cause issues"} 
[2026-08-19 04:37:11] 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-08-19 04:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787094300000,"timestamp_ms":1787094300000,"timestamp_seconds":1787094300,"priority":1,"record_length":96,"hex_timestamp":"000001a0171ef560"} 
[2026-08-19 04:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:37: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-08-19 04: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 04:37:11] 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-08-19 04: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-08-19 04:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496137216001,"66":27300,"44":206,"81":20480,"24":27,"16":385182481105551360,"45":1592866922575161344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-19 04:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496137216001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:37:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-19 04:37:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385182481105551360,"km_value":385182481105551.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1592866922575161344,"description":"Unknown IO ID 45"} 
[2026-08-19 04:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496137216001,"power":27300,"unknown_44":206,"unknown_81":20480,"ignition":27,"odometer":null,"unknown_45":1592866922575161344}} 
[2026-08-19 04:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":157694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:37:11] local.INFO: GPS data processed {"connection_id":157694,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:37:11] local.INFO: Acknowledgment sent {"connection_id":157694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:37:46] local.INFO: TCP Data received {"connection_id":157694,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017208f88012d17bdc006d62fe80008006830..."} 
[2026-08-19 04:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017208f88012d17bdc006d62fe80008006830..."} 
[2026-08-19 04:37:46] local.INFO: Processing buffer {"connection_id":157694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017208f88012d17bdc006d62fe80008006830..."} 
[2026-08-19 04:37:46] local.INFO: Packet analysis {"connection_id":157694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01720"} 
[2026-08-19 04:37:46] local.INFO: Extracted packet for processing {"connection_id":157694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01720"} 
[2026-08-19 04:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756530624,"raw_latitude":114700264,"longitude_deg":75.6530624,"latitude_deg":11.4700264,"altitude":8,"angle":104,"satellites":48,"speed":60,"hex_longitude":"2d17bdc0","hex_latitude":"06d62fe8","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496166144001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385187330123628544,"note":"Value kept but may cause issues"} 
[2026-08-19 04:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1700953313626267648,"note":"Value kept but may cause issues"} 
[2026-08-19 04:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787094405000,"timestamp_ms":1787094405000,"timestamp_seconds":1787094405,"priority":1,"record_length":96,"hex_timestamp":"000001a017208f88"} 
[2026-08-19 04:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:37:46] 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-08-19 04: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 04:37:46] 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-08-19 04: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-08-19 04:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:37: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-08-19 04:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496166144001,"66":27213,"160":206,"81":20480,"24":60,"16":385187330123628544,"45":1700953313626267648},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-08-19 04:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496166144001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:37:46] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-19 04:37:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385187330123628544,"km_value":385187330123628.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1700953313626267648,"description":"Unknown IO ID 45"} 
[2026-08-19 04:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496166144001,"power":27213,"unknown_160":206,"unknown_81":20480,"ignition":60,"odometer":null,"unknown_45":1700953313626267648}} 
[2026-08-19 04:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":157694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:37:46] local.INFO: GPS data processed {"connection_id":157694,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:37:46] local.INFO: Acknowledgment sent {"connection_id":157694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:38:01] local.INFO: TCP Data received {"connection_id":157322,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:38:01] local.INFO: Processing buffer {"connection_id":157322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:38:01] local.INFO: IMEI packet received {"connection_id":157322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":157322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:38:05] local.INFO: TCP Data received {"connection_id":157322,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:38:05] local.INFO: Processing buffer {"connection_id":157322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:38:05] local.INFO: IMEI packet received {"connection_id":157322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":157322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:38:06] local.INFO: TCP Data received {"connection_id":157322,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01720aae0012d17e34006d625c80008006a30..."} 
[2026-08-19 04:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01720aae0012d17e34006d625c80008006a30..."} 
[2026-08-19 04:38:06] local.INFO: Processing buffer {"connection_id":157322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01720aae0012d17e34006d625c80008006a30..."} 
[2026-08-19 04:38:06] local.INFO: Packet analysis {"connection_id":157322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01720"} 
[2026-08-19 04:38:06] local.INFO: Extracted packet for processing {"connection_id":157322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01720"} 
[2026-08-19 04:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756540224,"raw_latitude":114697672,"longitude_deg":75.6540224,"latitude_deg":11.4697672,"altitude":8,"angle":106,"satellites":48,"speed":50,"hex_longitude":"2d17e340","hex_latitude":"06d625c8","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496167680001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385187806864998400,"note":"Value kept but may cause issues"} 
[2026-08-19 04:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710734569066457088,"note":"Value kept but may cause issues"} 
[2026-08-19 04:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787094412000,"timestamp_ms":1787094412000,"timestamp_seconds":1787094412,"priority":1,"record_length":96,"hex_timestamp":"000001a01720aae0"} 
[2026-08-19 04:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:38: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-08-19 04: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 04:38:06] 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-08-19 04: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-08-19 04:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:38:06] 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-08-19 04:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496167680001,"66":27310,"160":206,"81":20480,"24":50,"16":385187806864998400,"45":1710734569066457088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-08-19 04:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496167680001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:38:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-19 04:38:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385187806864998400,"km_value":385187806864998.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710734569066457088,"description":"Unknown IO ID 45"} 
[2026-08-19 04:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496167680001,"power":27310,"unknown_160":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":1710734569066457088}} 
[2026-08-19 04:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":157322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:38:06] local.INFO: GPS data processed {"connection_id":157322,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:38:06] local.INFO: Acknowledgment sent {"connection_id":157322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:38:37] local.INFO: TCP Data received {"connection_id":157322,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01720ca20012d18090006d61b180008006932..."} 
[2026-08-19 04:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01720ca20012d18090006d61b180008006932..."} 
[2026-08-19 04:38:37] local.INFO: Processing buffer {"connection_id":157322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01720ca20012d18090006d61b180008006932..."} 
[2026-08-19 04:38:37] local.INFO: Packet analysis {"connection_id":157322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01720"} 
[2026-08-19 04:38:37] local.INFO: Extracted packet for processing {"connection_id":157322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01720"} 
[2026-08-19 04:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756549888,"raw_latitude":114694936,"longitude_deg":75.6549888,"latitude_deg":11.4694936,"altitude":8,"angle":105,"satellites":50,"speed":45,"hex_longitude":"2d180900","hex_latitude":"06d61b18","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496169472001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385188283606368256,"note":"Value kept but may cause issues"} 
[2026-08-19 04:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1721289880692443136,"note":"Value kept but may cause issues"} 
[2026-08-19 04:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787094420000,"timestamp_ms":1787094420000,"timestamp_seconds":1787094420,"priority":1,"record_length":96,"hex_timestamp":"000001a01720ca20"} 
[2026-08-19 04:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:38: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-08-19 04: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 04:38:37] 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-08-19 04: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-08-19 04:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496169472001,"66":27245,"160":206,"81":20480,"24":45,"16":385188283606368256,"45":1721289880692443136},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-08-19 04:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496169472001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:38:37] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-19 04:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385188283606368256,"km_value":385188283606368.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1721289880692443136,"description":"Unknown IO ID 45"} 
[2026-08-19 04:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496169472001,"power":27245,"unknown_160":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1721289880692443136}} 
[2026-08-19 04:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":157322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:38:37] local.INFO: GPS data processed {"connection_id":157322,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:38:37] local.INFO: Acknowledgment sent {"connection_id":157322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:39:10] local.INFO: TCP Data received {"connection_id":157695,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:39:10] local.INFO: Processing buffer {"connection_id":157695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:39:10] local.INFO: IMEI packet received {"connection_id":157695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":157695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:39:11] local.INFO: TCP Data received {"connection_id":157695,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:39:11] local.INFO: Processing buffer {"connection_id":157695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:39:11] local.INFO: IMEI packet received {"connection_id":157695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":157695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:39:15] local.INFO: TCP Data received {"connection_id":157695,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:39:15] local.INFO: Processing buffer {"connection_id":157695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:39:15] local.INFO: IMEI packet received {"connection_id":157695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":157695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:39:16] local.INFO: TCP Data received {"connection_id":157695,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01721fad0012d19234006d5e6a80008006931..."} 
[2026-08-19 04:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01721fad0012d19234006d5e6a80008006931..."} 
[2026-08-19 04:39:16] local.INFO: Processing buffer {"connection_id":157695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01721fad0012d19234006d5e6a80008006931..."} 
[2026-08-19 04:39:16] local.INFO: Packet analysis {"connection_id":157695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01721"} 
[2026-08-19 04:39:16] local.INFO: Extracted packet for processing {"connection_id":157695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01721"} 
[2026-08-19 04:39:16] local.INFO: GPS Element Parsed {"raw_longitude":756622144,"raw_latitude":114681512,"longitude_deg":75.6622144,"latitude_deg":11.4681512,"altitude":8,"angle":105,"satellites":49,"speed":44,"hex_longitude":"2d192340","hex_latitude":"06d5e6a8","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496188928001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385191899968831488,"note":"Value kept but may cause issues"} 
[2026-08-19 04:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800736192865701888,"note":"Value kept but may cause issues"} 
[2026-08-19 04:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787094498000,"timestamp_ms":1787094498000,"timestamp_seconds":1787094498,"priority":1,"record_length":96,"hex_timestamp":"000001a01721fad0"} 
[2026-08-19 04:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 04:39:16] 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-08-19 04: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-08-19 04:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496188928001,"66":27234,"159":206,"81":20480,"24":44,"16":385191899968831488,"45":1800736192865701888},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-08-19 04:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496188928001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:39:16] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-19 04:39:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385191899968831488,"km_value":385191899968831.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800736192865701888,"description":"Unknown IO ID 45"} 
[2026-08-19 04:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496188928001,"power":27234,"unknown_159":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":1800736192865701888}} 
[2026-08-19 04:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":157695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:39:17] local.INFO: GPS data processed {"connection_id":157695,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:39:17] local.INFO: Acknowledgment sent {"connection_id":157695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:40:05] local.INFO: TCP Data received {"connection_id":157696,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:40:05] local.INFO: Processing buffer {"connection_id":157696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:40:05] local.INFO: IMEI packet received {"connection_id":157696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":157696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:40:06] local.INFO: TCP Data received {"connection_id":157696,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:40:06] local.INFO: Processing buffer {"connection_id":157696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:40:06] local.INFO: IMEI packet received {"connection_id":157696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":157696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:40:10] local.INFO: TCP Data received {"connection_id":157696,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:40:10] local.INFO: Processing buffer {"connection_id":157696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:40:10] local.INFO: IMEI packet received {"connection_id":157696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":157696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:40:11] local.INFO: TCP Data received {"connection_id":157696,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017221a10012d19498006d5de300009006431..."} 
[2026-08-19 04:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017221a10012d19498006d5de300009006431..."} 
[2026-08-19 04:40:11] local.INFO: Processing buffer {"connection_id":157696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017221a10012d19498006d5de300009006431..."} 
[2026-08-19 04:40:11] local.INFO: Packet analysis {"connection_id":157696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01722"} 
[2026-08-19 04:40:11] local.INFO: Extracted packet for processing {"connection_id":157696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01722"} 
[2026-08-19 04:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756631936,"raw_latitude":114679344,"longitude_deg":75.6631936,"latitude_deg":11.4679344,"altitude":9,"angle":100,"satellites":49,"speed":52,"hex_longitude":"2d194980","hex_latitude":"06d5de30","is_valid_coordinates":true} 
[2026-08-19 04:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496191488001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385192376710201344,"note":"Value kept but may cause issues"} 
[2026-08-19 04:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811361873235716096,"note":"Value kept but may cause issues"} 
[2026-08-19 04:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787094506000,"timestamp_ms":1787094506000,"timestamp_seconds":1787094506,"priority":1,"record_length":96,"hex_timestamp":"000001a017221a10"} 
[2026-08-19 04:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:40: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-08-19 04:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 04:40:11] 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-08-19 04:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496191488001,"66":27332,"159":206,"81":20480,"24":52,"16":385192376710201344,"45":1811361873235716096},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-08-19 04:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496191488001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:40:11] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-19 04:40:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385192376710201344,"km_value":385192376710201.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811361873235716096,"description":"Unknown IO ID 45"} 
[2026-08-19 04:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496191488001,"power":27332,"unknown_159":206,"unknown_81":20480,"ignition":52,"odometer":null,"unknown_45":1811361873235716096}} 
[2026-08-19 04:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":157696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:40:11] local.INFO: GPS data processed {"connection_id":157696,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:40:11] local.INFO: Acknowledgment sent {"connection_id":157696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:40:46] local.INFO: TCP Data received {"connection_id":157696,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017235a60012d1aca4006d51818000800782e..."} 
[2026-08-19 04:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017235a60012d1aca4006d51818000800782e..."} 
[2026-08-19 04:40:46] local.INFO: Processing buffer {"connection_id":157696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017235a60012d1aca4006d51818000800782e..."} 
[2026-08-19 04:40:46] local.INFO: Packet analysis {"connection_id":157696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01723"} 
[2026-08-19 04:40:46] local.INFO: Extracted packet for processing {"connection_id":157696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01723"} 
[2026-08-19 04:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756730432,"raw_latitude":114628632,"longitude_deg":75.6730432,"latitude_deg":11.4628632,"altitude":8,"angle":120,"satellites":46,"speed":49,"hex_longitude":"2d1aca40","hex_latitude":"06d51818","is_valid_coordinates":true} 
[2026-08-19 04:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496212736001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385197702469648384,"note":"Value kept but may cause issues"} 
[2026-08-19 04:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1921700064093855744,"note":"Value kept but may cause issues"} 
[2026-08-19 04:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787094588000,"timestamp_ms":1787094588000,"timestamp_seconds":1787094588,"priority":1,"record_length":96,"hex_timestamp":"000001a017235a60"} 
[2026-08-19 04:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:40:46] 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-08-19 04:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 04:40:46] 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-08-19 04:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:40: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-08-19 04:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496212736001,"66":27245,"244":206,"81":20480,"24":49,"16":385197702469648384,"45":1921700064093855744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-08-19 04:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496212736001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:40:46] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-19 04:40:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385197702469648384,"km_value":385197702469648.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1921700064093855744,"description":"Unknown IO ID 45"} 
[2026-08-19 04:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496212736001,"power":27245,"unknown_244":206,"unknown_81":20480,"ignition":49,"odometer":null,"unknown_45":1921700064093855744}} 
[2026-08-19 04:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":157696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:40:47] local.INFO: GPS data processed {"connection_id":157696,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:40:47] local.INFO: Acknowledgment sent {"connection_id":157696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:40:58] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:40:58] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:40:58] local.INFO: IMEI packet received {"connection_id":159865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":159865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:41:00] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:41:00] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:41:00] local.INFO: IMEI packet received {"connection_id":159865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":159865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:41:00] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:41:00] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:41:00] local.INFO: IMEI packet received {"connection_id":159865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":159865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:41:05] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:41:05] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:41:05] local.INFO: IMEI packet received {"connection_id":159865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":159865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:41:06] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0172375b8012d1ae9c006d506d0000a00762e..."} 
[2026-08-19 04:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0172375b8012d1ae9c006d506d0000a00762e..."} 
[2026-08-19 04:41:06] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0172375b8012d1ae9c006d506d0000a00762e..."} 
[2026-08-19 04:41:06] local.INFO: Packet analysis {"connection_id":159865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01723"} 
[2026-08-19 04:41:06] local.INFO: Extracted packet for processing {"connection_id":159865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01723"} 
[2026-08-19 04:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756738496,"raw_latitude":114624208,"longitude_deg":75.6738496,"latitude_deg":11.4624208,"altitude":10,"angle":118,"satellites":46,"speed":51,"hex_longitude":"2d1ae9c0","hex_latitude":"06d506d0","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496214528001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385198144851279872,"note":"Value kept but may cause issues"} 
[2026-08-19 04:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1930425788370786304,"note":"Value kept but may cause issues"} 
[2026-08-19 04:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787094595000,"timestamp_ms":1787094595000,"timestamp_seconds":1787094595,"priority":1,"record_length":96,"hex_timestamp":"000001a0172375b8"} 
[2026-08-19 04:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:41: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-08-19 04: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 04:41:06] 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-08-19 04: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-08-19 04:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:41:06] 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-08-19 04:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496214528001,"66":27310,"244":206,"81":20480,"24":51,"16":385198144851279872,"45":1930425788370786304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-08-19 04:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496214528001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:41:06] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-19 04:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385198144851279872,"km_value":385198144851279.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1930425788370786304,"description":"Unknown IO ID 45"} 
[2026-08-19 04:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496214528001,"power":27310,"unknown_244":206,"unknown_81":20480,"ignition":51,"odometer":null,"unknown_45":1930425788370786304}} 
[2026-08-19 04:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":159865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:41:06] local.INFO: GPS data processed {"connection_id":159865,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:41:06] local.INFO: Acknowledgment sent {"connection_id":159865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:41:37] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017239110012d1b08c006d4f3a0000c00792f..."} 
[2026-08-19 04:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017239110012d1b08c006d4f3a0000c00792f..."} 
[2026-08-19 04:41:37] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017239110012d1b08c006d4f3a0000c00792f..."} 
[2026-08-19 04:41:37] local.INFO: Packet analysis {"connection_id":159865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01723"} 
[2026-08-19 04:41:37] local.INFO: Extracted packet for processing {"connection_id":159865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01723"} 
[2026-08-19 04:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756746432,"raw_latitude":114619296,"longitude_deg":75.6746432,"latitude_deg":11.4619296,"altitude":12,"angle":121,"satellites":47,"speed":52,"hex_longitude":"2d1b08c0","hex_latitude":"06d4f3a0","is_valid_coordinates":true} 
[2026-08-19 04:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496216320001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385198587232911360,"note":"Value kept but may cause issues"} 
[2026-08-19 04:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939292250136039424,"note":"Value kept but may cause issues"} 
[2026-08-19 04:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787094602000,"timestamp_ms":1787094602000,"timestamp_seconds":1787094602,"priority":1,"record_length":96,"hex_timestamp":"000001a017239110"} 
[2026-08-19 04:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:41: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-08-19 04:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 04:41:37] 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-08-19 04:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496216320001,"66":27300,"244":206,"81":20480,"24":52,"16":385198587232911360,"45":1939292250136039424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-08-19 04:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496216320001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:41:37] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-19 04:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385198587232911360,"km_value":385198587232911.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939292250136039424,"description":"Unknown IO ID 45"} 
[2026-08-19 04:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496216320001,"power":27300,"unknown_244":206,"unknown_81":20480,"ignition":52,"odometer":null,"unknown_45":1939292250136039424}} 
[2026-08-19 04:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":159865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:41:37] local.INFO: GPS data processed {"connection_id":159865,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:41:37] local.INFO: Acknowledgment sent {"connection_id":159865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:42:05] local.INFO: TCP Data received {"connection_id":158590,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:42:05] local.INFO: Processing buffer {"connection_id":158590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:42:05] local.INFO: IMEI packet received {"connection_id":158590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":158590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:42:10] local.INFO: TCP Data received {"connection_id":158590,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:42:10] local.INFO: Processing buffer {"connection_id":158590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:42:10] local.INFO: IMEI packet received {"connection_id":158590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":158590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:42:11] local.INFO: TCP Data received {"connection_id":158590,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017248340012d1bf94006d456f0000d009031..."} 
[2026-08-19 04:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017248340012d1bf94006d456f0000d009031..."} 
[2026-08-19 04:42:11] local.INFO: Processing buffer {"connection_id":158590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017248340012d1bf94006d456f0000d009031..."} 
[2026-08-19 04:42:11] local.INFO: Packet analysis {"connection_id":158590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01724"} 
[2026-08-19 04:42:11] local.INFO: Extracted packet for processing {"connection_id":158590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01724"} 
[2026-08-19 04:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756808000,"raw_latitude":114579184,"longitude_deg":75.6808,"latitude_deg":11.4579184,"altitude":13,"angle":144,"satellites":49,"speed":42,"hex_longitude":"2d1bf940","hex_latitude":"06d456f0","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496231680001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385202233660145664,"note":"Value kept but may cause issues"} 
[2026-08-19 04:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2011631319141251072,"note":"Value kept but may cause issues"} 
[2026-08-19 04:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787094664000,"timestamp_ms":1787094664000,"timestamp_seconds":1787094664,"priority":1,"record_length":96,"hex_timestamp":"000001a017248340"} 
[2026-08-19 04:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:42: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-08-19 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 04:42:11] 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-08-19 04: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-08-19 04:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496231680001,"66":27267,"14":206,"81":20480,"24":42,"16":385202233660145664,"45":2011631319141251072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,81,24,16,45]} 
[2026-08-19 04:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496231680001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:42:11] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-19 04:42:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385202233660145664,"km_value":385202233660145.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2011631319141251072,"description":"Unknown IO ID 45"} 
[2026-08-19 04:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496231680001,"power":27267,"unknown_14":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":2011631319141251072}} 
[2026-08-19 04:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":158590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:42:11] local.INFO: GPS data processed {"connection_id":158590,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:42:11] local.INFO: Acknowledgment sent {"connection_id":158590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:42:42] local.INFO: TCP Data received {"connection_id":158590,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017248b10012d1bff4006d45090000d008432..."} 
[2026-08-19 04:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017248b10012d1bff4006d45090000d008432..."} 
[2026-08-19 04:42:42] local.INFO: Processing buffer {"connection_id":158590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017248b10012d1bff4006d45090000d008432..."} 
[2026-08-19 04:42:42] local.INFO: Packet analysis {"connection_id":158590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01724"} 
[2026-08-19 04:42:42] local.INFO: Extracted packet for processing {"connection_id":158590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01724"} 
[2026-08-19 04:42:42] local.INFO: GPS Element Parsed {"raw_longitude":756809536,"raw_latitude":114577552,"longitude_deg":75.6809536,"latitude_deg":11.4577552,"altitude":13,"angle":132,"satellites":50,"speed":45,"hex_longitude":"2d1bff40","hex_latitude":"06d45090","is_valid_coordinates":true} 
[2026-08-19 04:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496233984001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385202341034328064,"note":"Value kept but may cause issues"} 
[2026-08-19 04:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2015712706301456384,"note":"Value kept but may cause issues"} 
[2026-08-19 04:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787094666000,"timestamp_ms":1787094666000,"timestamp_seconds":1787094666,"priority":1,"record_length":96,"hex_timestamp":"000001a017248b10"} 
[2026-08-19 04:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 04:42:42] 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-08-19 04:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496233984001,"66":27310,"12":206,"81":20480,"24":45,"16":385202341034328064,"45":2015712706301456384},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,81,24,16,45]} 
[2026-08-19 04:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496233984001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:42:42] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 04:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385202341034328064,"km_value":385202341034328.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2015712706301456384,"description":"Unknown IO ID 45"} 
[2026-08-19 04:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496233984001,"power":27310,"unknown_12":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":2015712706301456384}} 
[2026-08-19 04:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":158590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:42:42] local.INFO: GPS data processed {"connection_id":158590,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:42:42] local.INFO: Acknowledgment sent {"connection_id":158590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:43:05] local.INFO: TCP Data received {"connection_id":157323,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:43:05] local.INFO: Processing buffer {"connection_id":157323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:43:05] local.INFO: IMEI packet received {"connection_id":157323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":157323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:43:10] local.INFO: TCP Data received {"connection_id":157323,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:43:10] local.INFO: Processing buffer {"connection_id":157323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:43:10] local.INFO: IMEI packet received {"connection_id":157323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":157323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:43:11] local.INFO: TCP Data received {"connection_id":157323,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017257188012d1cb3c006d38a90000d00982f..."} 
[2026-08-19 04:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017257188012d1cb3c006d38a90000d00982f..."} 
[2026-08-19 04:43:11] local.INFO: Processing buffer {"connection_id":157323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017257188012d1cb3c006d38a90000d00982f..."} 
[2026-08-19 04:43:11] local.INFO: Packet analysis {"connection_id":157323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01725"} 
[2026-08-19 04:43:11] local.INFO: Extracted packet for processing {"connection_id":157323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01725"} 
[2026-08-19 04:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756855744,"raw_latitude":114526864,"longitude_deg":75.6855744,"latitude_deg":11.4526864,"altitude":13,"angle":152,"satellites":47,"speed":45,"hex_longitude":"2d1cb3c0","hex_latitude":"06d38a90","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496247552001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385205785598099456,"note":"Value kept but may cause issues"} 
[2026-08-19 04:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2064126402284589056,"note":"Value kept but may cause issues"} 
[2026-08-19 04:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787094725000,"timestamp_ms":1787094725000,"timestamp_seconds":1787094725,"priority":1,"record_length":96,"hex_timestamp":"000001a017257188"} 
[2026-08-19 04:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:43: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-08-19 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 04:43:11] 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-08-19 04: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-08-19 04:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496247552001,"66":27104,"82":206,"81":20480,"24":45,"16":385205785598099456,"45":2064126402284589056},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-19 04:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496247552001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:43:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-19 04:43:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385205785598099456,"km_value":385205785598099.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2064126402284589056,"description":"Unknown IO ID 45"} 
[2026-08-19 04:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496247552001,"power":27104,"unknown_82":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":2064126402284589056}} 
[2026-08-19 04:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":157323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:43:11] local.INFO: GPS data processed {"connection_id":157323,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:43:11] local.INFO: Acknowledgment sent {"connection_id":157323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:43:51] local.INFO: TCP Data received {"connection_id":157323,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017258510012d1cbe4006d37a48000e008d2f..."} 
[2026-08-19 04:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017258510012d1cbe4006d37a48000e008d2f..."} 
[2026-08-19 04:43:51] local.INFO: Processing buffer {"connection_id":157323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017258510012d1cbe4006d37a48000e008d2f..."} 
[2026-08-19 04:43:51] local.INFO: Packet analysis {"connection_id":157323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01725"} 
[2026-08-19 04:43:51] local.INFO: Extracted packet for processing {"connection_id":157323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01725"} 
[2026-08-19 04:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756858432,"raw_latitude":114522696,"longitude_deg":75.6858432,"latitude_deg":11.4522696,"altitude":14,"angle":141,"satellites":47,"speed":32,"hex_longitude":"2d1cbe40","hex_latitude":"06d37a48","is_valid_coordinates":true} 
[2026-08-19 04:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496249600001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385206026116268032,"note":"Value kept but may cause issues"} 
[2026-08-19 04:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2068207789444599808,"note":"Value kept but may cause issues"} 
[2026-08-19 04:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787094730000,"timestamp_ms":1787094730000,"timestamp_seconds":1787094730,"priority":1,"record_length":96,"hex_timestamp":"000001a017258510"} 
[2026-08-19 04:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:43: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-08-19 04:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 04:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:43: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-08-19 04:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496249600001,"66":27300,"82":206,"81":20480,"24":32,"16":385206026116268032,"45":2068207789444599808},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-19 04:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496249600001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:43:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-19 04:43:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385206026116268032,"km_value":385206026116268.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2068207789444599808,"description":"Unknown IO ID 45"} 
[2026-08-19 04:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496249600001,"power":27300,"unknown_82":206,"unknown_81":20480,"ignition":32,"odometer":null,"unknown_45":2068207789444599808}} 
[2026-08-19 04:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":157323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:43:51] local.INFO: GPS data processed {"connection_id":157323,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:43:51] local.INFO: Acknowledgment sent {"connection_id":157323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:44:00] local.INFO: TCP Data received {"connection_id":158591,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:44:00] local.INFO: Processing buffer {"connection_id":158591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:44:00] local.INFO: IMEI packet received {"connection_id":158591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":158591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:44:02] local.INFO: TCP Data received {"connection_id":158591,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:44:02] local.INFO: Processing buffer {"connection_id":158591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:44:02] local.INFO: IMEI packet received {"connection_id":158591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":158591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:44:06] local.INFO: TCP Data received {"connection_id":158591,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:44:06] local.INFO: Processing buffer {"connection_id":158591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:44:06] local.INFO: IMEI packet received {"connection_id":158591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":158591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:44:07] local.INFO: TCP Data received {"connection_id":158591,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01725b008012d1cd68006d35e80000e00892e..."} 
[2026-08-19 04:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01725b008012d1cd68006d35e80000e00892e..."} 
[2026-08-19 04:44:07] local.INFO: Processing buffer {"connection_id":158591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01725b008012d1cd68006d35e80000e00892e..."} 
[2026-08-19 04:44:07] local.INFO: Packet analysis {"connection_id":158591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01725"} 
[2026-08-19 04:44:07] local.INFO: Extracted packet for processing {"connection_id":158591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01725"} 
[2026-08-19 04:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756864640,"raw_latitude":114515584,"longitude_deg":75.686464,"latitude_deg":11.4515584,"altitude":14,"angle":137,"satellites":46,"speed":39,"hex_longitude":"2d1cd680","hex_latitude":"06d35e80","is_valid_coordinates":true} 
[2026-08-19 04:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496250880001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385206481382801408,"note":"Value kept but may cause issues"} 
[2026-08-19 04:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2071163276698994688,"note":"Value kept but may cause issues"} 
[2026-08-19 04:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787094741000,"timestamp_ms":1787094741000,"timestamp_seconds":1787094741,"priority":1,"record_length":96,"hex_timestamp":"000001a01725b008"} 
[2026-08-19 04:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:44: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-08-19 04:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 04:44:07] 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-08-19 04:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496250880001,"66":27213,"82":206,"81":20480,"24":39,"16":385206481382801408,"45":2071163276698994688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-19 04:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496250880001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:44:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-19 04:44:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385206481382801408,"km_value":385206481382801.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2071163276698994688,"description":"Unknown IO ID 45"} 
[2026-08-19 04:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496250880001,"power":27213,"unknown_82":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":2071163276698994688}} 
[2026-08-19 04:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":158591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:44:07] local.INFO: GPS data processed {"connection_id":158591,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:44:07] local.INFO: Acknowledgment sent {"connection_id":158591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:44:38] local.INFO: TCP Data received {"connection_id":158591,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01725db00012d1cef0006d34550000e008b30..."} 
[2026-08-19 04:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01725db00012d1cef0006d34550000e008b30..."} 
[2026-08-19 04:44:38] local.INFO: Processing buffer {"connection_id":158591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01725db00012d1cef0006d34550000e008b30..."} 
[2026-08-19 04:44:38] local.INFO: Packet analysis {"connection_id":158591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01725"} 
[2026-08-19 04:44:38] local.INFO: Extracted packet for processing {"connection_id":158591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01725"} 
[2026-08-19 04:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756870912,"raw_latitude":114509136,"longitude_deg":75.6870912,"latitude_deg":11.4509136,"altitude":14,"angle":139,"satellites":48,"speed":26,"hex_longitude":"2d1cef00","hex_latitude":"06d34550","is_valid_coordinates":true} 
[2026-08-19 04:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496253696001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385206910879531008,"note":"Value kept but may cause issues"} 
[2026-08-19 04:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2077989044882407424,"note":"Value kept but may cause issues"} 
[2026-08-19 04:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787094752000,"timestamp_ms":1787094752000,"timestamp_seconds":1787094752,"priority":1,"record_length":96,"hex_timestamp":"000001a01725db00"} 
[2026-08-19 04:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:44: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-08-19 04:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 04:44:38] 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-08-19 04:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:44:38] 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-08-19 04:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496253696001,"66":27321,"82":206,"81":20480,"24":26,"16":385206910879531008,"45":2077989044882407424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-19 04:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496253696001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:44:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-19 04:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385206910879531008,"km_value":385206910879531.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2077989044882407424,"description":"Unknown IO ID 45"} 
[2026-08-19 04:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496253696001,"power":27321,"unknown_82":206,"unknown_81":20480,"ignition":26,"odometer":null,"unknown_45":2077989044882407424}} 
[2026-08-19 04:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":158591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:44:38] local.INFO: GPS data processed {"connection_id":158591,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:44:38] local.INFO: Acknowledgment sent {"connection_id":158591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:45:00] local.INFO: TCP Data received {"connection_id":157697,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:45:00] local.INFO: Processing buffer {"connection_id":157697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:45:00] local.INFO: IMEI packet received {"connection_id":157697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":157697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:45:05] local.INFO: TCP Data received {"connection_id":157697,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:45:05] local.INFO: Processing buffer {"connection_id":157697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:45:05] local.INFO: IMEI packet received {"connection_id":157697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":157697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:45:07] local.INFO: TCP Data received {"connection_id":157697,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017272320012d1dc4c006d20d20000d008531..."} 
[2026-08-19 04:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017272320012d1dc4c006d20d20000d008531..."} 
[2026-08-19 04:45:07] local.INFO: Processing buffer {"connection_id":157697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017272320012d1dc4c006d20d20000d008531..."} 
[2026-08-19 04:45:07] local.INFO: Packet analysis {"connection_id":157697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01727"} 
[2026-08-19 04:45:07] local.INFO: Extracted packet for processing {"connection_id":157697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01727"} 
[2026-08-19 04:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756925632,"raw_latitude":114429216,"longitude_deg":75.6925632,"latitude_deg":11.4429216,"altitude":13,"angle":133,"satellites":49,"speed":33,"hex_longitude":"2d1dc4c0","hex_latitude":"06d20d20","is_valid_coordinates":true} 
[2026-08-19 04:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496275200001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385211635343556608,"note":"Value kept but may cause issues"} 
[2026-08-19 04:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2137028421227014144,"note":"Value kept but may cause issues"} 
[2026-08-19 04:45:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,81,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 04:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787094836000,"timestamp_ms":1787094836000,"timestamp_seconds":1787094836,"priority":1,"record_length":96,"hex_timestamp":"000001a017272320"} 
[2026-08-19 04:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 04:45:07] 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-08-19 04:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496275200001,"66":27397,"16":385211635343556608,"81":20480,"24":33,"45":2137028421227014144},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,81,24,45]} 
[2026-08-19 04:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496275200001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385211635343556608,"km_value":385211635343556.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:45:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2137028421227014144,"description":"Unknown IO ID 45"} 
[2026-08-19 04:45:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457496275200001,"power":27397,"odometer":null,"unknown_81":20480,"ignition":33,"unknown_45":2137028421227014144}} 
[2026-08-19 04:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":157697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:45:07] local.INFO: GPS data processed {"connection_id":157697,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:45:07] local.INFO: Acknowledgment sent {"connection_id":157697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:45:43] local.INFO: TCP Data received {"connection_id":157697,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017275db8012d1ddf0006d1f508000d008232..."} 
[2026-08-19 04:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017275db8012d1ddf0006d1f508000d008232..."} 
[2026-08-19 04:45:43] local.INFO: Processing buffer {"connection_id":157697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017275db8012d1ddf0006d1f508000d008232..."} 
[2026-08-19 04:45:43] local.INFO: Packet analysis {"connection_id":157697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01727"} 
[2026-08-19 04:45:43] local.INFO: Extracted packet for processing {"connection_id":157697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01727"} 
[2026-08-19 04:45:43] local.INFO: GPS Element Parsed {"raw_longitude":756932352,"raw_latitude":114423048,"longitude_deg":75.6932352,"latitude_deg":11.4423048,"altitude":13,"angle":130,"satellites":50,"speed":21,"hex_longitude":"2d1ddf00","hex_latitude":"06d1f508","is_valid_coordinates":true} 
[2026-08-19 04:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496278016001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385212073430220800,"note":"Value kept but may cause issues"} 
[2026-08-19 04:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2145050458061611008,"note":"Value kept but may cause issues"} 
[2026-08-19 04:45:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,81,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 04:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787094851000,"timestamp_ms":1787094851000,"timestamp_seconds":1787094851,"priority":1,"record_length":96,"hex_timestamp":"000001a017275db8"} 
[2026-08-19 04:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 04:45:43] 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-08-19 04:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496278016001,"66":27300,"16":385212073430220800,"81":20480,"24":21,"45":2145050458061611008},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,81,24,45]} 
[2026-08-19 04:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496278016001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385212073430220800,"km_value":385212073430220.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:45:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2145050458061611008,"description":"Unknown IO ID 45"} 
[2026-08-19 04:45:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457496278016001,"power":27300,"odometer":null,"unknown_81":20480,"ignition":21,"unknown_45":2145050458061611008}} 
[2026-08-19 04:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":157697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:45:43] local.INFO: GPS data processed {"connection_id":157697,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:45:43] local.INFO: Acknowledgment sent {"connection_id":157697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:46:00] local.INFO: TCP Data received {"connection_id":159866,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:46:00] local.INFO: Processing buffer {"connection_id":159866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:46:00] local.INFO: IMEI packet received {"connection_id":159866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":159866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:46:03] local.INFO: TCP Data received {"connection_id":159866,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:46:03] local.INFO: Processing buffer {"connection_id":159866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:46:03] local.INFO: IMEI packet received {"connection_id":159866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":159866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:46:05] local.INFO: TCP Data received {"connection_id":159866,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:46:05] local.INFO: Processing buffer {"connection_id":159866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:46:05] local.INFO: IMEI packet received {"connection_id":159866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":159866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:46:06] local.INFO: TCP Data received {"connection_id":159866,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017277cf8012d1dec8006d1e780000d008f32..."} 
[2026-08-19 04:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017277cf8012d1dec8006d1e780000d008f32..."} 
[2026-08-19 04:46:06] local.INFO: Processing buffer {"connection_id":159866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017277cf8012d1dec8006d1e780000d008f32..."} 
[2026-08-19 04:46:06] local.INFO: Packet analysis {"connection_id":159866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01727"} 
[2026-08-19 04:46:06] local.INFO: Extracted packet for processing {"connection_id":159866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01727"} 
[2026-08-19 04:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756935808,"raw_latitude":114419584,"longitude_deg":75.6935808,"latitude_deg":11.4419584,"altitude":13,"angle":143,"satellites":50,"speed":28,"hex_longitude":"2d1dec80","hex_latitude":"06d1e780","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496281856001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385212309653422080,"note":"Value kept but may cause issues"} 
[2026-08-19 04:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2152439176198686720,"note":"Value kept but may cause issues"} 
[2026-08-19 04:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787094859000,"timestamp_ms":1787094859000,"timestamp_seconds":1787094859,"priority":1,"record_length":96,"hex_timestamp":"000001a017277cf8"} 
[2026-08-19 04:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04: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-08-19 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 04:46:06] 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-08-19 04: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-08-19 04:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:46:06] 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-08-19 04:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496281856001,"66":27310,"140":206,"81":20480,"24":28,"16":385212309653422080,"45":2152439176198686720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-08-19 04:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496281856001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:46:06] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-19 04:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385212309653422080,"km_value":385212309653422.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2152439176198686720,"description":"Unknown IO ID 45"} 
[2026-08-19 04:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496281856001,"power":27310,"unknown_140":206,"unknown_81":20480,"ignition":28,"odometer":null,"unknown_45":2152439176198686720}} 
[2026-08-19 04:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":159866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:46:06] local.INFO: GPS data processed {"connection_id":159866,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:46:06] local.INFO: Acknowledgment sent {"connection_id":159866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:46:36] local.INFO: TCP Data received {"connection_id":159866,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01727b790012d1e010006d1ca40000f008a31..."} 
[2026-08-19 04:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01727b790012d1e010006d1ca40000f008a31..."} 
[2026-08-19 04:46:36] local.INFO: Processing buffer {"connection_id":159866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01727b790012d1e010006d1ca40000f008a31..."} 
[2026-08-19 04:46:36] local.INFO: Packet analysis {"connection_id":159866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01727"} 
[2026-08-19 04:46:36] local.INFO: Extracted packet for processing {"connection_id":159866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01727"} 
[2026-08-19 04:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756941056,"raw_latitude":114412096,"longitude_deg":75.6941056,"latitude_deg":11.4412096,"altitude":15,"angle":138,"satellites":49,"speed":14,"hex_longitude":"2d1e0100","hex_latitude":"06d1ca40","is_valid_coordinates":true} 
[2026-08-19 04:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496283904001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385212752035053568,"note":"Value kept but may cause issues"} 
[2026-08-19 04:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2156239088383393792,"note":"Value kept but may cause issues"} 
[2026-08-19 04:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787094874000,"timestamp_ms":1787094874000,"timestamp_seconds":1787094874,"priority":1,"record_length":96,"hex_timestamp":"000001a01727b790"} 
[2026-08-19 04:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 04:46:36] 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-08-19 04:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:46:36] 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-08-19 04:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496283904001,"66":27180,"140":206,"81":20480,"24":14,"16":385212752035053568,"45":2156239088383393792},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-08-19 04:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496283904001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:46:36] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-19 04:46:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 04:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385212752035053568,"km_value":385212752035053.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2156239088383393792,"description":"Unknown IO ID 45"} 
[2026-08-19 04:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496283904001,"power":27180,"unknown_140":206,"unknown_81":20480,"ignition":14,"odometer":null,"unknown_45":2156239088383393792}} 
[2026-08-19 04:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":159866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:46:36] local.INFO: GPS data processed {"connection_id":159866,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:46:36] local.INFO: Acknowledgment sent {"connection_id":159866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:47:05] local.INFO: TCP Data received {"connection_id":157324,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:47:05] local.INFO: Processing buffer {"connection_id":157324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:47:05] local.INFO: IMEI packet received {"connection_id":157324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":157324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:47:06] local.INFO: TCP Data received {"connection_id":157324,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:47:06] local.INFO: Processing buffer {"connection_id":157324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:47:06] local.INFO: IMEI packet received {"connection_id":157324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":157324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:47:07] local.INFO: TCP Data received {"connection_id":157324,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017293278012d1ed10006d082d00010009430..."} 
[2026-08-19 04:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017293278012d1ed10006d082d00010009430..."} 
[2026-08-19 04:47:07] local.INFO: Processing buffer {"connection_id":157324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017293278012d1ed10006d082d00010009430..."} 
[2026-08-19 04:47:07] local.INFO: Packet analysis {"connection_id":157324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01729"} 
[2026-08-19 04:47:07] local.INFO: Extracted packet for processing {"connection_id":157324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01729"} 
[2026-08-19 04:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756994304,"raw_latitude":114328272,"longitude_deg":75.6994304,"latitude_deg":11.4328272,"altitude":16,"angle":148,"satellites":48,"speed":49,"hex_longitude":"2d1ed100","hex_latitude":"06d082d0","is_valid_coordinates":true} 
[2026-08-19 04:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496310784001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385217553808490496,"note":"Value kept but may cause issues"} 
[2026-08-19 04:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2215137727238750208,"note":"Value kept but may cause issues"} 
[2026-08-19 04:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787094971000,"timestamp_ms":1787094971000,"timestamp_seconds":1787094971,"priority":1,"record_length":96,"hex_timestamp":"000001a017293278"} 
[2026-08-19 04:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:47: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-08-19 04:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 04:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496310784001,"66":27517,"153":206,"81":22528,"24":49,"16":385217553808490496,"45":2215137727238750208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-08-19 04:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496310784001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:47:07] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 04:47:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385217553808490496,"km_value":385217553808490.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2215137727238750208,"description":"Unknown IO ID 45"} 
[2026-08-19 04:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496310784001,"power":27517,"unknown_153":206,"unknown_81":22528,"ignition":49,"odometer":null,"unknown_45":2215137727238750208}} 
[2026-08-19 04:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":157324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:47:07] local.INFO: GPS data processed {"connection_id":157324,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:47:07] local.INFO: Acknowledgment sent {"connection_id":157324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:47:39] local.INFO: TCP Data received {"connection_id":157324,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0172951b8012d1ee44006d063b0000f009430..."} 
[2026-08-19 04:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0172951b8012d1ee44006d063b0000f009430..."} 
[2026-08-19 04:47:39] local.INFO: Processing buffer {"connection_id":157324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0172951b8012d1ee44006d063b0000f009430..."} 
[2026-08-19 04:47:39] local.INFO: Packet analysis {"connection_id":157324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01729"} 
[2026-08-19 04:47:39] local.INFO: Extracted packet for processing {"connection_id":157324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01729"} 
[2026-08-19 04:47:39] local.INFO: GPS Element Parsed {"raw_longitude":756999232,"raw_latitude":114320304,"longitude_deg":75.6999232,"latitude_deg":11.4320304,"altitude":15,"angle":148,"satellites":48,"speed":45,"hex_longitude":"2d1ee440","hex_latitude":"06d063b0","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496312576001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385218004780056576,"note":"Value kept but may cause issues"} 
[2026-08-19 04:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2220556120538402816,"note":"Value kept but may cause issues"} 
[2026-08-19 04:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787094979000,"timestamp_ms":1787094979000,"timestamp_seconds":1787094979,"priority":1,"record_length":96,"hex_timestamp":"000001a0172951b8"} 
[2026-08-19 04:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 04:47:39] 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-08-19 04: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-08-19 04:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:47:39] 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-08-19 04:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496312576001,"66":27300,"152":206,"81":22528,"24":45,"16":385218004780056576,"45":2220556120538402816},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-08-19 04:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496312576001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:47:39] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-19 04:47:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385218004780056576,"km_value":385218004780056.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2220556120538402816,"description":"Unknown IO ID 45"} 
[2026-08-19 04:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496312576001,"power":27300,"unknown_152":206,"unknown_81":22528,"ignition":45,"odometer":null,"unknown_45":2220556120538402816}} 
[2026-08-19 04:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":157324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:47:40] local.INFO: GPS data processed {"connection_id":157324,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:47:40] local.INFO: Acknowledgment sent {"connection_id":157324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:48:00] local.INFO: TCP Data received {"connection_id":159867,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:48:00] local.INFO: Processing buffer {"connection_id":159867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:48:00] local.INFO: IMEI packet received {"connection_id":159867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":159867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:48:02] local.INFO: TCP Data received {"connection_id":159867,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:48:02] local.INFO: Processing buffer {"connection_id":159867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:48:02] local.INFO: IMEI packet received {"connection_id":159867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":159867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:48:05] local.INFO: TCP Data received {"connection_id":159867,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:48:05] local.INFO: Processing buffer {"connection_id":159867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:48:05] local.INFO: IMEI packet received {"connection_id":159867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":159867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:48:06] local.INFO: TCP Data received {"connection_id":159867,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0172974e0012d1ef80006d046b8000f009130..."} 
[2026-08-19 04:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0172974e0012d1ef80006d046b8000f009130..."} 
[2026-08-19 04:48:06] local.INFO: Processing buffer {"connection_id":159867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0172974e0012d1ef80006d046b8000f009130..."} 
[2026-08-19 04:48:06] local.INFO: Packet analysis {"connection_id":159867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01729"} 
[2026-08-19 04:48:06] local.INFO: Extracted packet for processing {"connection_id":159867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01729"} 
[2026-08-19 04:48:06] local.INFO: GPS Element Parsed {"raw_longitude":757004288,"raw_latitude":114312888,"longitude_deg":75.7004288,"latitude_deg":11.4312888,"altitude":15,"angle":145,"satellites":48,"speed":32,"hex_longitude":"2d1ef800","hex_latitude":"06d046b8","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496314624001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385218438571753472,"note":"Value kept but may cause issues"} 
[2026-08-19 04:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2225974513838043136,"note":"Value kept but may cause issues"} 
[2026-08-19 04:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787094988000,"timestamp_ms":1787094988000,"timestamp_seconds":1787094988,"priority":1,"record_length":96,"hex_timestamp":"000001a0172974e0"} 
[2026-08-19 04:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04: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-08-19 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 04:48:06] 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-08-19 04: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-08-19 04:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:48:06] 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-08-19 04:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496314624001,"66":27267,"152":206,"81":22528,"24":32,"16":385218438571753472,"45":2225974513838043136},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-08-19 04:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496314624001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:48:06] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-19 04:48:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385218438571753472,"km_value":385218438571753.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2225974513838043136,"description":"Unknown IO ID 45"} 
[2026-08-19 04:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496314624001,"power":27267,"unknown_152":206,"unknown_81":22528,"ignition":32,"odometer":null,"unknown_45":2225974513838043136}} 
[2026-08-19 04:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":159867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:48:06] local.INFO: GPS data processed {"connection_id":159867,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:48:06] local.INFO: Acknowledgment sent {"connection_id":159867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:48:10] local.INFO: TCP Data received {"connection_id":159867,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017299fd8012d1f0cc006d02818000d00942f..."} 
[2026-08-19 04:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017299fd8012d1f0cc006d02818000d00942f..."} 
[2026-08-19 04:48:10] local.INFO: Processing buffer {"connection_id":159867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017299fd8012d1f0cc006d02818000d00942f..."} 
[2026-08-19 04:48:10] local.INFO: Packet analysis {"connection_id":159867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01729"} 
[2026-08-19 04:48:10] local.INFO: Extracted packet for processing {"connection_id":159867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01729"} 
[2026-08-19 04:48:10] local.INFO: GPS Element Parsed {"raw_longitude":757009600,"raw_latitude":114305048,"longitude_deg":75.70096,"latitude_deg":11.4305048,"altitude":13,"angle":148,"satellites":47,"speed":35,"hex_longitude":"2d1f0cc0","hex_latitude":"06d02818","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496316928001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385218893838286848,"note":"Value kept but may cause issues"} 
[2026-08-19 04:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2231533644626180096,"note":"Value kept but may cause issues"} 
[2026-08-19 04:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787094999000,"timestamp_ms":1787094999000,"timestamp_seconds":1787094999,"priority":1,"record_length":96,"hex_timestamp":"000001a017299fd8"} 
[2026-08-19 04:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:48: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-08-19 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 04:48:10] 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-08-19 04: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-08-19 04:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496316928001,"66":27213,"152":206,"81":22528,"24":35,"16":385218893838286848,"45":2231533644626180096},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-08-19 04:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496316928001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:48:10] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-19 04:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385218893838286848,"km_value":385218893838286.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2231533644626180096,"description":"Unknown IO ID 45"} 
[2026-08-19 04:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496316928001,"power":27213,"unknown_152":206,"unknown_81":22528,"ignition":35,"odometer":null,"unknown_45":2231533644626180096}} 
[2026-08-19 04:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":159867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:48:10] local.INFO: GPS data processed {"connection_id":159867,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:48:10] local.INFO: Acknowledgment sent {"connection_id":159867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:48:40] local.INFO: TCP Data received {"connection_id":159867,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01729ceb8012d1f204006d00920000e00932f..."} 
[2026-08-19 04:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01729ceb8012d1f204006d00920000e00932f..."} 
[2026-08-19 04:48:40] local.INFO: Processing buffer {"connection_id":159867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01729ceb8012d1f204006d00920000e00932f..."} 
[2026-08-19 04:48:40] local.INFO: Packet analysis {"connection_id":159867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01729"} 
[2026-08-19 04:48:40] local.INFO: Extracted packet for processing {"connection_id":159867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01729"} 
[2026-08-19 04:48:40] local.INFO: GPS Element Parsed {"raw_longitude":757014592,"raw_latitude":114297120,"longitude_deg":75.7014592,"latitude_deg":11.429712,"altitude":14,"angle":147,"satellites":47,"speed":23,"hex_longitude":"2d1f2040","hex_latitude":"06d00920","is_valid_coordinates":true} 
[2026-08-19 04:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496319744001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385219349104820224,"note":"Value kept but may cause issues"} 
[2026-08-19 04:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2237374250390919168,"note":"Value kept but may cause issues"} 
[2026-08-19 04:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787095011000,"timestamp_ms":1787095011000,"timestamp_seconds":1787095011,"priority":1,"record_length":96,"hex_timestamp":"000001a01729ceb8"} 
[2026-08-19 04:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 04:48:40] 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-08-19 04:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496319744001,"66":27213,"152":206,"81":22528,"24":23,"16":385219349104820224,"45":2237374250390919168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-08-19 04:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496319744001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:48:40] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-19 04:48:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385219349104820224,"km_value":385219349104820.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2237374250390919168,"description":"Unknown IO ID 45"} 
[2026-08-19 04:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496319744001,"power":27213,"unknown_152":206,"unknown_81":22528,"ignition":23,"odometer":null,"unknown_45":2237374250390919168}} 
[2026-08-19 04:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":159867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:48:40] local.INFO: GPS data processed {"connection_id":159867,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:48:40] local.INFO: Acknowledgment sent {"connection_id":159867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:49:00] local.INFO: TCP Data received {"connection_id":158592,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:49:00] local.INFO: Processing buffer {"connection_id":158592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:49:00] local.INFO: IMEI packet received {"connection_id":158592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":158592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:49:03] local.INFO: TCP Data received {"connection_id":158592,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:49:03] local.INFO: Processing buffer {"connection_id":158592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:49:03] local.INFO: IMEI packet received {"connection_id":158592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":158592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:49:05] local.INFO: TCP Data received {"connection_id":158592,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:49:05] local.INFO: Processing buffer {"connection_id":158592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:49:05] local.INFO: IMEI packet received {"connection_id":158592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":158592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:49:06] local.INFO: TCP Data received {"connection_id":158592,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01729f9b0012d1f358006cfeb280010008f30..."} 
[2026-08-19 04:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01729f9b0012d1f358006cfeb280010008f30..."} 
[2026-08-19 04:49:06] local.INFO: Processing buffer {"connection_id":158592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01729f9b0012d1f358006cfeb280010008f30..."} 
[2026-08-19 04:49:06] local.INFO: Packet analysis {"connection_id":158592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01729"} 
[2026-08-19 04:49:06] local.INFO: Extracted packet for processing {"connection_id":158592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01729"} 
[2026-08-19 04:49:06] local.INFO: GPS Element Parsed {"raw_longitude":757020032,"raw_latitude":114289448,"longitude_deg":75.7020032,"latitude_deg":11.4289448,"altitude":16,"angle":143,"satellites":48,"speed":38,"hex_longitude":"2d1f3580","hex_latitude":"06cfeb28","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496322816001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385219800076386304,"note":"Value kept but may cause issues"} 
[2026-08-19 04:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2242863012434747392,"note":"Value kept but may cause issues"} 
[2026-08-19 04:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787095022000,"timestamp_ms":1787095022000,"timestamp_seconds":1787095022,"priority":1,"record_length":96,"hex_timestamp":"000001a01729f9b0"} 
[2026-08-19 04:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:49: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-08-19 04: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 04:49:06] 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-08-19 04: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-08-19 04:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:49:06] 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-08-19 04:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496322816001,"66":26941,"152":206,"81":22528,"24":38,"16":385219800076386304,"45":2242863012434747392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-08-19 04:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496322816001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:49:06] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-19 04:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385219800076386304,"km_value":385219800076386.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2242863012434747392,"description":"Unknown IO ID 45"} 
[2026-08-19 04:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496322816001,"power":26941,"unknown_152":206,"unknown_81":22528,"ignition":38,"odometer":null,"unknown_45":2242863012434747392}} 
[2026-08-19 04:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":158592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:49:06] local.INFO: GPS data processed {"connection_id":158592,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:49:06] local.INFO: Acknowledgment sent {"connection_id":158592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:49:11] local.INFO: TCP Data received {"connection_id":158592,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0172a1cd8012d1f49c006cfce10000f00922f..."} 
[2026-08-19 04:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0172a1cd8012d1f49c006cfce10000f00922f..."} 
[2026-08-19 04:49:11] local.INFO: Processing buffer {"connection_id":158592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0172a1cd8012d1f49c006cfce10000f00922f..."} 
[2026-08-19 04:49:11] local.INFO: Packet analysis {"connection_id":158592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0172a"} 
[2026-08-19 04:49:11] local.INFO: Extracted packet for processing {"connection_id":158592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0172a"} 
[2026-08-19 04:49:11] local.INFO: GPS Element Parsed {"raw_longitude":757025216,"raw_latitude":114282000,"longitude_deg":75.7025216,"latitude_deg":11.4282,"altitude":15,"angle":146,"satellites":47,"speed":40,"hex_longitude":"2d1f49c0","hex_latitude":"06cfce10","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496325632001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385220238163050496,"note":"Value kept but may cause issues"} 
[2026-08-19 04:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2248844355687884800,"note":"Value kept but may cause issues"} 
[2026-08-19 04:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787095031000,"timestamp_ms":1787095031000,"timestamp_seconds":1787095031,"priority":1,"record_length":96,"hex_timestamp":"000001a0172a1cd8"} 
[2026-08-19 04:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04: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":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-08-19 04:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04: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-08-19 04:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496325632001,"66":27223,"79":206,"81":22528,"24":40,"16":385220238163050496,"45":2248844355687884800},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-08-19 04:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496325632001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:49:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-19 04:49:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385220238163050496,"km_value":385220238163050.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2248844355687884800,"description":"Unknown IO ID 45"} 
[2026-08-19 04:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496325632001,"power":27223,"unknown_79":206,"unknown_81":22528,"ignition":40,"odometer":null,"unknown_45":2248844355687884800}} 
[2026-08-19 04:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":158592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:49:11] local.INFO: GPS data processed {"connection_id":158592,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:49:11] local.INFO: Acknowledgment sent {"connection_id":158592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:49:43] local.INFO: TCP Data received {"connection_id":158592,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0172a3c18012d1f5f0006cfb110000f008d30..."} 
[2026-08-19 04:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0172a3c18012d1f5f0006cfb110000f008d30..."} 
[2026-08-19 04:49:43] local.INFO: Processing buffer {"connection_id":158592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0172a3c18012d1f5f0006cfb110000f008d30..."} 
[2026-08-19 04:49:43] local.INFO: Packet analysis {"connection_id":158592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0172a"} 
[2026-08-19 04:49:43] local.INFO: Extracted packet for processing {"connection_id":158592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0172a"} 
[2026-08-19 04:49:43] local.INFO: GPS Element Parsed {"raw_longitude":757030656,"raw_latitude":114274576,"longitude_deg":75.7030656,"latitude_deg":11.4274576,"altitude":15,"angle":141,"satellites":48,"speed":46,"hex_longitude":"2d1f5f00","hex_latitude":"06cfb110","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496327936001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385220680544681984,"note":"Value kept but may cause issues"} 
[2026-08-19 04:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2254544223964368896,"note":"Value kept but may cause issues"} 
[2026-08-19 04:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787095039000,"timestamp_ms":1787095039000,"timestamp_seconds":1787095039,"priority":1,"record_length":96,"hex_timestamp":"000001a0172a3c18"} 
[2026-08-19 04:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-19 04:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04: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-08-19 04:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496327936001,"66":27234,"79":206,"81":22528,"24":46,"16":385220680544681984,"45":2254544223964368896},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-08-19 04:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496327936001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:49:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-19 04:49:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385220680544681984,"km_value":385220680544682.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2254544223964368896,"description":"Unknown IO ID 45"} 
[2026-08-19 04:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496327936001,"power":27234,"unknown_79":206,"unknown_81":22528,"ignition":46,"odometer":null,"unknown_45":2254544223964368896}} 
[2026-08-19 04:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":158592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:49:43] local.INFO: GPS data processed {"connection_id":158592,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:49:43] local.INFO: Acknowledgment sent {"connection_id":158592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:50:00] local.INFO: TCP Data received {"connection_id":157325,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:50:00] local.INFO: Processing buffer {"connection_id":157325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:50:00] local.INFO: IMEI packet received {"connection_id":157325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":157325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:50:01] local.INFO: TCP Data received {"connection_id":157325,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:50:01] local.INFO: Processing buffer {"connection_id":157325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:50:01] local.INFO: IMEI packet received {"connection_id":157325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":157325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:50:05] local.INFO: TCP Data received {"connection_id":157325,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:50:05] local.INFO: Processing buffer {"connection_id":157325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:50:05] local.INFO: IMEI packet received {"connection_id":157325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":157325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:50:07] local.INFO: TCP Data received {"connection_id":157325,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0172be1f8012d209d0006cefa680008006e30..."} 
[2026-08-19 04:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0172be1f8012d209d0006cefa680008006e30..."} 
[2026-08-19 04:50:07] local.INFO: Processing buffer {"connection_id":157325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0172be1f8012d209d0006cefa680008006e30..."} 
[2026-08-19 04:50:07] local.INFO: Packet analysis {"connection_id":157325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0172b"} 
[2026-08-19 04:50:07] local.INFO: Extracted packet for processing {"connection_id":157325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0172b"} 
[2026-08-19 04:50:07] local.INFO: GPS Element Parsed {"raw_longitude":757112064,"raw_latitude":114227816,"longitude_deg":75.7112064,"latitude_deg":11.4227816,"altitude":8,"angle":110,"satellites":48,"speed":19,"hex_longitude":"2d209d00","hex_latitude":"06cefa68","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496355584001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385225194555310080,"note":"Value kept but may cause issues"} 
[2026-08-19 04:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2345601378917105664,"note":"Value kept but may cause issues"} 
[2026-08-19 04:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787095147000,"timestamp_ms":1787095147000,"timestamp_seconds":1787095147,"priority":1,"record_length":96,"hex_timestamp":"000001a0172be1f8"} 
[2026-08-19 04:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:50: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-08-19 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 04:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04: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-08-19 04:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496355584001,"66":27321,"61":206,"81":22528,"24":19,"16":385225194555310080,"45":2345601378917105664},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-08-19 04:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496355584001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:50:07] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-19 04:50:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385225194555310080,"km_value":385225194555310.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2345601378917105664,"description":"Unknown IO ID 45"} 
[2026-08-19 04:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496355584001,"power":27321,"unknown_61":206,"unknown_81":22528,"ignition":19,"odometer":null,"unknown_45":2345601378917105664}} 
[2026-08-19 04:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":157325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:50:07] local.INFO: GPS data processed {"connection_id":157325,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:50:07] local.INFO: Acknowledgment sent {"connection_id":157325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:50:43] local.INFO: TCP Data received {"connection_id":157325,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0172be9c8012d20a04006cef998000800622f..."} 
[2026-08-19 04:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0172be9c8012d20a04006cef998000800622f..."} 
[2026-08-19 04:50:43] local.INFO: Processing buffer {"connection_id":157325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0172be9c8012d20a04006cef998000800622f..."} 
[2026-08-19 04:50:43] local.INFO: Packet analysis {"connection_id":157325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0172b"} 
[2026-08-19 04:50:43] local.INFO: Extracted packet for processing {"connection_id":157325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0172b"} 
[2026-08-19 04:50:43] local.INFO: GPS Element Parsed {"raw_longitude":757112896,"raw_latitude":114227608,"longitude_deg":75.7112896,"latitude_deg":11.4227608,"altitude":8,"angle":98,"satellites":47,"speed":14,"hex_longitude":"2d20a040","hex_latitude":"06cef998","is_valid_coordinates":true} 
[2026-08-19 04:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496357632001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385225237504983040,"note":"Value kept but may cause issues"} 
[2026-08-19 04:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2350034609799587840,"note":"Value kept but may cause issues"} 
[2026-08-19 04:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787095149000,"timestamp_ms":1787095149000,"timestamp_seconds":1787095149,"priority":1,"record_length":96,"hex_timestamp":"000001a0172be9c8"} 
[2026-08-19 04:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:50: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-08-19 04:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 04:50:43] 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-08-19 04:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496357632001,"66":26767,"61":206,"81":22528,"24":14,"16":385225237504983040,"45":2350034609799587840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-08-19 04:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496357632001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:50:43] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-19 04:50:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385225237504983040,"km_value":385225237504983.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2350034609799587840,"description":"Unknown IO ID 45"} 
[2026-08-19 04:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496357632001,"power":26767,"unknown_61":206,"unknown_81":22528,"ignition":14,"odometer":null,"unknown_45":2350034609799587840}} 
[2026-08-19 04:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":157325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:50:43] local.INFO: GPS data processed {"connection_id":157325,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:50:43] local.INFO: Acknowledgment sent {"connection_id":157325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:51:05] local.INFO: TCP Data received {"connection_id":157326,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:51:05] local.INFO: Processing buffer {"connection_id":157326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:51:05] local.INFO: IMEI packet received {"connection_id":157326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":157326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:51:09] local.INFO: TCP Data received {"connection_id":157326,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:51:09] local.INFO: Processing buffer {"connection_id":157326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:51:09] local.INFO: IMEI packet received {"connection_id":157326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":157326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:51:10] local.INFO: TCP Data received {"connection_id":157326,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0172cc0a0012d20cd8006ce9f30000c00ab2e..."} 
[2026-08-19 04:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0172cc0a0012d20cd8006ce9f30000c00ab2e..."} 
[2026-08-19 04:51:10] local.INFO: Processing buffer {"connection_id":157326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0172cc0a0012d20cd8006ce9f30000c00ab2e..."} 
[2026-08-19 04:51:10] local.INFO: Packet analysis {"connection_id":157326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0172c"} 
[2026-08-19 04:51:10] local.INFO: Extracted packet for processing {"connection_id":157326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0172c"} 
[2026-08-19 04:51:10] local.INFO: GPS Element Parsed {"raw_longitude":757124480,"raw_latitude":114204464,"longitude_deg":75.712448,"latitude_deg":11.4204464,"altitude":12,"angle":171,"satellites":46,"speed":33,"hex_longitude":"2d20cd80","hex_latitude":"06ce9f30","is_valid_coordinates":true} 
[2026-08-19 04:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496369152001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385226599009615872,"note":"Value kept but may cause issues"} 
[2026-08-19 04:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2362700983747907584,"note":"Value kept but may cause issues"} 
[2026-08-19 04:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787095204000,"timestamp_ms":1787095204000,"timestamp_seconds":1787095204,"priority":1,"record_length":96,"hex_timestamp":"000001a0172cc0a0"} 
[2026-08-19 04:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:51: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-08-19 04:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 04:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496369152001,"66":27300,"60":206,"81":22528,"24":33,"16":385226599009615872,"45":2362700983747907584},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-08-19 04:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496369152001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:51:10] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-19 04:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385226599009615872,"km_value":385226599009615.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2362700983747907584,"description":"Unknown IO ID 45"} 
[2026-08-19 04:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496369152001,"power":27300,"unknown_60":206,"unknown_81":22528,"ignition":33,"odometer":null,"unknown_45":2362700983747907584}} 
[2026-08-19 04:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":157326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:51:10] local.INFO: GPS data processed {"connection_id":157326,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:51:10] local.INFO: Acknowledgment sent {"connection_id":157326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:51:11] local.INFO: TCP Data received {"connection_id":157326,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0172ceb98012d20d34006ce7b10000c00b12d..."} 
[2026-08-19 04:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0172ceb98012d20d34006ce7b10000c00b12d..."} 
[2026-08-19 04:51:11] local.INFO: Processing buffer {"connection_id":157326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0172ceb98012d20d34006ce7b10000c00b12d..."} 
[2026-08-19 04:51:11] local.INFO: Packet analysis {"connection_id":157326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0172c"} 
[2026-08-19 04:51:11] local.INFO: Extracted packet for processing {"connection_id":157326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0172c"} 
[2026-08-19 04:51:11] local.INFO: GPS Element Parsed {"raw_longitude":757125952,"raw_latitude":114195216,"longitude_deg":75.7125952,"latitude_deg":11.4195216,"altitude":12,"angle":177,"satellites":45,"speed":30,"hex_longitude":"2d20d340","hex_latitude":"06ce7b10","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496372224001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385227054276149248,"note":"Value kept but may cause issues"} 
[2026-08-19 04:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2363686146164076544,"note":"Value kept but may cause issues"} 
[2026-08-19 04:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787095215000,"timestamp_ms":1787095215000,"timestamp_seconds":1787095215,"priority":1,"record_length":96,"hex_timestamp":"000001a0172ceb98"} 
[2026-08-19 04:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 04:51:11] 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-08-19 04: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-08-19 04:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496372224001,"66":27213,"60":206,"81":22528,"24":30,"16":385227054276149248,"45":2363686146164076544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-08-19 04:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496372224001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:51:11] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-19 04:51:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385227054276149248,"km_value":385227054276149.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2363686146164076544,"description":"Unknown IO ID 45"} 
[2026-08-19 04:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496372224001,"power":27213,"unknown_60":206,"unknown_81":22528,"ignition":30,"odometer":null,"unknown_45":2363686146164076544}} 
[2026-08-19 04:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":157326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:51:11] local.INFO: GPS data processed {"connection_id":157326,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:51:11] local.INFO: Acknowledgment sent {"connection_id":157326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:51:42] local.INFO: TCP Data received {"connection_id":157326,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0172d2a18012d20d50006ce5768000900ab30..."} 
[2026-08-19 04:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0172d2a18012d20d50006ce5768000900ab30..."} 
[2026-08-19 04:51:42] local.INFO: Processing buffer {"connection_id":157326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0172d2a18012d20d50006ce5768000900ab30..."} 
[2026-08-19 04:51:42] local.INFO: Packet analysis {"connection_id":157326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0172d"} 
[2026-08-19 04:51:42] local.INFO: Extracted packet for processing {"connection_id":157326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0172d"} 
[2026-08-19 04:51:42] local.INFO: GPS Element Parsed {"raw_longitude":757126400,"raw_latitude":114186088,"longitude_deg":75.71264,"latitude_deg":11.4186088,"altitude":9,"angle":171,"satellites":48,"speed":22,"hex_longitude":"2d20d500","hex_latitude":"06ce5768","is_valid_coordinates":true} 
[2026-08-19 04:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496375040001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385227500952748032,"note":"Value kept but may cause issues"} 
[2026-08-19 04:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2365304627277795328,"note":"Value kept but may cause issues"} 
[2026-08-19 04:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787095231000,"timestamp_ms":1787095231000,"timestamp_seconds":1787095231,"priority":1,"record_length":96,"hex_timestamp":"000001a0172d2a18"} 
[2026-08-19 04:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:51:42] 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-08-19 04:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 04:51:42] 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-08-19 04:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496375040001,"66":27321,"60":206,"81":22528,"24":22,"16":385227500952748032,"45":2365304627277795328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-08-19 04:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496375040001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:51:42] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-19 04:51:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385227500952748032,"km_value":385227500952748.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2365304627277795328,"description":"Unknown IO ID 45"} 
[2026-08-19 04:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496375040001,"power":27321,"unknown_60":206,"unknown_81":22528,"ignition":22,"odometer":null,"unknown_45":2365304627277795328}} 
[2026-08-19 04:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":157326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:51:42] local.INFO: GPS data processed {"connection_id":157326,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:51:42] local.INFO: Acknowledgment sent {"connection_id":157326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:52:00] local.INFO: TCP Data received {"connection_id":159868,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:52:00] local.INFO: Processing buffer {"connection_id":159868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:52:00] local.INFO: IMEI packet received {"connection_id":159868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":159868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:52:05] local.INFO: TCP Data received {"connection_id":159868,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:52:05] local.INFO: Processing buffer {"connection_id":159868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:52:05] local.INFO: IMEI packet received {"connection_id":159868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":159868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:52:07] local.INFO: TCP Data received {"connection_id":159868,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0172d5128012d20d9c006ce44e00009009f30..."} 
[2026-08-19 04:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0172d5128012d20d9c006ce44e00009009f30..."} 
[2026-08-19 04:52:07] local.INFO: Processing buffer {"connection_id":159868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0172d5128012d20d9c006ce44e00009009f30..."} 
[2026-08-19 04:52:07] local.INFO: Packet analysis {"connection_id":159868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0172d"} 
[2026-08-19 04:52:07] local.INFO: Extracted packet for processing {"connection_id":159868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0172d"} 
[2026-08-19 04:52:07] local.INFO: GPS Element Parsed {"raw_longitude":757127616,"raw_latitude":114181344,"longitude_deg":75.7127616,"latitude_deg":11.4181344,"altitude":9,"angle":159,"satellites":48,"speed":15,"hex_longitude":"2d20d9c0","hex_latitude":"06ce44e0","is_valid_coordinates":true} 
[2026-08-19 04:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496379136001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385227737175949312,"note":"Value kept but may cause issues"} 
[2026-08-19 04:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2365797208484702208,"note":"Value kept but may cause issues"} 
[2026-08-19 04:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787095241000,"timestamp_ms":1787095241000,"timestamp_seconds":1787095241,"priority":1,"record_length":96,"hex_timestamp":"000001a0172d5128"} 
[2026-08-19 04:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:52: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-08-19 04:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 04:52:07] 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-08-19 04:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496379136001,"66":27343,"60":206,"81":22528,"24":15,"16":385227737175949312,"45":2365797208484702208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-08-19 04:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496379136001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:52:07] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-19 04:52:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385227737175949312,"km_value":385227737175949.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2365797208484702208,"description":"Unknown IO ID 45"} 
[2026-08-19 04:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496379136001,"power":27343,"unknown_60":206,"unknown_81":22528,"ignition":15,"odometer":null,"unknown_45":2365797208484702208}} 
[2026-08-19 04:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":159868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:52:07] local.INFO: GPS data processed {"connection_id":159868,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:52:07] local.INFO: Acknowledgment sent {"connection_id":159868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:52:09] local.INFO: TCP Data received {"connection_id":159868,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0172d9778012d20e94006ce2508000a00972f..."} 
[2026-08-19 04:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0172d9778012d20e94006ce2508000a00972f..."} 
[2026-08-19 04:52:09] local.INFO: Processing buffer {"connection_id":159868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0172d9778012d20e94006ce2508000a00972f..."} 
[2026-08-19 04:52:09] local.INFO: Packet analysis {"connection_id":159868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0172d"} 
[2026-08-19 04:52:09] local.INFO: Extracted packet for processing {"connection_id":159868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0172d"} 
[2026-08-19 04:52:09] local.INFO: GPS Element Parsed {"raw_longitude":757131584,"raw_latitude":114173192,"longitude_deg":75.7131584,"latitude_deg":11.4173192,"altitude":10,"angle":151,"satellites":47,"speed":20,"hex_longitude":"2d20e940","hex_latitude":"06ce2508","is_valid_coordinates":true} 
[2026-08-19 04:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496381696001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385228175262613504,"note":"Value kept but may cause issues"} 
[2026-08-19 04:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2367134214622863360,"note":"Value kept but may cause issues"} 
[2026-08-19 04:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787095259000,"timestamp_ms":1787095259000,"timestamp_seconds":1787095259,"priority":1,"record_length":96,"hex_timestamp":"000001a0172d9778"} 
[2026-08-19 04:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:52: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-08-19 04:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 04:52:09] 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-08-19 04:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:52:09] 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-08-19 04:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496381696001,"66":27343,"60":206,"81":22528,"24":20,"16":385228175262613504,"45":2367134214622863360},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-08-19 04:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496381696001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:52:09] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-19 04:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385228175262613504,"km_value":385228175262613.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2367134214622863360,"description":"Unknown IO ID 45"} 
[2026-08-19 04:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496381696001,"power":27343,"unknown_60":206,"unknown_81":22528,"ignition":20,"odometer":null,"unknown_45":2367134214622863360}} 
[2026-08-19 04:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":159868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:52:09] local.INFO: GPS data processed {"connection_id":159868,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:52:09] local.INFO: Acknowledgment sent {"connection_id":159868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:52:41] local.INFO: TCP Data received {"connection_id":159868,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0172dd5f8012d20fc0006ce0490000a00962e..."} 
[2026-08-19 04:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0172dd5f8012d20fc0006ce0490000a00962e..."} 
[2026-08-19 04:52:41] local.INFO: Processing buffer {"connection_id":159868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0172dd5f8012d20fc0006ce0490000a00962e..."} 
[2026-08-19 04:52:41] local.INFO: Packet analysis {"connection_id":159868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0172d"} 
[2026-08-19 04:52:41] local.INFO: Extracted packet for processing {"connection_id":159868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0172d"} 
[2026-08-19 04:52:41] local.INFO: GPS Element Parsed {"raw_longitude":757136384,"raw_latitude":114164880,"longitude_deg":75.7136384,"latitude_deg":11.416488,"altitude":10,"angle":150,"satellites":46,"speed":31,"hex_longitude":"2d20fc00","hex_latitude":"06ce0490","is_valid_coordinates":true} 
[2026-08-19 04:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496386304001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385228639119081472,"note":"Value kept but may cause issues"} 
[2026-08-19 04:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2371497076759791616,"note":"Value kept but may cause issues"} 
[2026-08-19 04:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787095275000,"timestamp_ms":1787095275000,"timestamp_seconds":1787095275,"priority":1,"record_length":96,"hex_timestamp":"000001a0172dd5f8"} 
[2026-08-19 04:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 04:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496386304001,"66":27365,"169":206,"81":22528,"24":31,"16":385228639119081472,"45":2371497076759791616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,81,24,16,45]} 
[2026-08-19 04:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496386304001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:52:41] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-19 04:52:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385228639119081472,"km_value":385228639119081.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2371497076759791616,"description":"Unknown IO ID 45"} 
[2026-08-19 04:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496386304001,"power":27365,"unknown_169":206,"unknown_81":22528,"ignition":31,"odometer":null,"unknown_45":2371497076759791616}} 
[2026-08-19 04:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":159868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:52:41] local.INFO: GPS data processed {"connection_id":159868,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:52:41] local.INFO: Acknowledgment sent {"connection_id":159868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:53:00] local.INFO: TCP Data received {"connection_id":157698,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:53:00] local.INFO: Processing buffer {"connection_id":157698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:53:00] local.INFO: IMEI packet received {"connection_id":157698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":157698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:53:03] local.INFO: TCP Data received {"connection_id":157698,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:53:03] local.INFO: Processing buffer {"connection_id":157698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:53:03] local.INFO: IMEI packet received {"connection_id":157698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":157698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:53:04] local.INFO: TCP Data received {"connection_id":157698,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0172e00f0012d210f0006cde3f8000900962e..."} 
[2026-08-19 04:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0172e00f0012d210f0006cde3f8000900962e..."} 
[2026-08-19 04:53:04] local.INFO: Processing buffer {"connection_id":157698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0172e00f0012d210f0006cde3f8000900962e..."} 
[2026-08-19 04:53:04] local.INFO: Packet analysis {"connection_id":157698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0172e"} 
[2026-08-19 04:53:04] local.INFO: Extracted packet for processing {"connection_id":157698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0172e"} 
[2026-08-19 04:53:04] local.INFO: GPS Element Parsed {"raw_longitude":757141248,"raw_latitude":114156536,"longitude_deg":75.7141248,"latitude_deg":11.4156536,"altitude":9,"angle":150,"satellites":46,"speed":33,"hex_longitude":"2d210f00","hex_latitude":"06cde3f8","is_valid_coordinates":true} 
[2026-08-19 04:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496390400001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385229107270516736,"note":"Value kept but may cause issues"} 
[2026-08-19 04:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2376774732570988544,"note":"Value kept but may cause issues"} 
[2026-08-19 04:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787095286000,"timestamp_ms":1787095286000,"timestamp_seconds":1787095286,"priority":1,"record_length":96,"hex_timestamp":"000001a0172e00f0"} 
[2026-08-19 04:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:53: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-08-19 04:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 04:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496390400001,"66":27300,"169":206,"81":22528,"24":33,"16":385229107270516736,"45":2376774732570988544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,81,24,16,45]} 
[2026-08-19 04:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496390400001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:53:04] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-19 04:53:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385229107270516736,"km_value":385229107270516.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2376774732570988544,"description":"Unknown IO ID 45"} 
[2026-08-19 04:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496390400001,"power":27300,"unknown_169":206,"unknown_81":22528,"ignition":33,"odometer":null,"unknown_45":2376774732570988544}} 
[2026-08-19 04:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":157698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:53:04] local.INFO: GPS data processed {"connection_id":157698,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:53:04] local.INFO: Acknowledgment sent {"connection_id":157698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:53:36] local.INFO: TCP Data received {"connection_id":157698,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0172e2be8012d21178006cdd4a8000900a62e..."} 
[2026-08-19 04:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0172e2be8012d21178006cdd4a8000900a62e..."} 
[2026-08-19 04:53:36] local.INFO: Processing buffer {"connection_id":157698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0172e2be8012d21178006cdd4a8000900a62e..."} 
[2026-08-19 04:53:36] local.INFO: Packet analysis {"connection_id":157698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0172e"} 
[2026-08-19 04:53:36] local.INFO: Extracted packet for processing {"connection_id":157698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0172e"} 
[2026-08-19 04:53:36] local.INFO: GPS Element Parsed {"raw_longitude":757143424,"raw_latitude":114152616,"longitude_deg":75.7143424,"latitude_deg":11.4152616,"altitude":9,"angle":166,"satellites":46,"speed":14,"hex_longitude":"2d211780","hex_latitude":"06cdd4a8","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496393216001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385229326313848832,"note":"Value kept but may cause issues"} 
[2026-08-19 04:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2382122757126354944,"note":"Value kept but may cause issues"} 
[2026-08-19 04:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787095297000,"timestamp_ms":1787095297000,"timestamp_seconds":1787095297,"priority":1,"record_length":96,"hex_timestamp":"000001a0172e2be8"} 
[2026-08-19 04:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 04:53:36] 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-08-19 04:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:53:36] 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-08-19 04:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496393216001,"66":27213,"169":206,"81":22528,"24":14,"16":385229326313848832,"45":2382122757126354944},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,81,24,16,45]} 
[2026-08-19 04:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496393216001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:53:36] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-19 04:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385229326313848832,"km_value":385229326313848.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2382122757126354944,"description":"Unknown IO ID 45"} 
[2026-08-19 04:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496393216001,"power":27213,"unknown_169":206,"unknown_81":22528,"ignition":14,"odometer":null,"unknown_45":2382122757126354944}} 
[2026-08-19 04:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":157698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:53:36] local.INFO: GPS data processed {"connection_id":157698,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:53:36] local.INFO: Acknowledgment sent {"connection_id":157698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:54:00] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:54:00] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:54:00] local.INFO: IMEI packet received {"connection_id":159869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":159869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:54:03] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:54:03] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:54:03] local.INFO: IMEI packet received {"connection_id":159869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":159869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:54:04] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0172f50e0012d21c4c006ccc7b0000600ac2f..."} 
[2026-08-19 04:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0172f50e0012d21c4c006ccc7b0000600ac2f..."} 
[2026-08-19 04:54:04] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0172f50e0012d21c4c006ccc7b0000600ac2f..."} 
[2026-08-19 04:54:04] local.INFO: Packet analysis {"connection_id":159869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0172f"} 
[2026-08-19 04:54:04] local.INFO: Extracted packet for processing {"connection_id":159869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0172f"} 
[2026-08-19 04:54:04] local.INFO: GPS Element Parsed {"raw_longitude":757187776,"raw_latitude":114083760,"longitude_deg":75.7187776,"latitude_deg":11.408376,"altitude":6,"angle":172,"satellites":47,"speed":55,"hex_longitude":"2d21c4c0","hex_latitude":"06ccc7b0","is_valid_coordinates":true} 
[2026-08-19 04:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496413440001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385233354993172480,"note":"Value kept but may cause issues"} 
[2026-08-19 04:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2431451246778699776,"note":"Value kept but may cause issues"} 
[2026-08-19 04:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787095372000,"timestamp_ms":1787095372000,"timestamp_seconds":1787095372,"priority":1,"record_length":96,"hex_timestamp":"000001a0172f50e0"} 
[2026-08-19 04:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:54: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-08-19 04:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 04:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496413440001,"66":27365,"181":206,"81":22528,"24":55,"16":385233354993172480,"45":2431451246778699776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-08-19 04:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496413440001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:54:04] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-19 04:54:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385233354993172480,"km_value":385233354993172.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2431451246778699776,"description":"Unknown IO ID 45"} 
[2026-08-19 04:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496413440001,"power":27365,"unknown_181":206,"unknown_81":22528,"ignition":55,"odometer":null,"unknown_45":2431451246778699776}} 
[2026-08-19 04:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":159869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:54:04] local.INFO: GPS data processed {"connection_id":159869,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:54:04] local.INFO: Acknowledgment sent {"connection_id":159869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:54:35] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0172f6c38012d21cbc006cca2d0000600a32f..."} 
[2026-08-19 04:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0172f6c38012d21cbc006cca2d0000600a32f..."} 
[2026-08-19 04:54:35] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0172f6c38012d21cbc006cca2d0000600a32f..."} 
[2026-08-19 04:54:35] local.INFO: Packet analysis {"connection_id":159869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0172f"} 
[2026-08-19 04:54:35] local.INFO: Extracted packet for processing {"connection_id":159869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0172f"} 
[2026-08-19 04:54:35] local.INFO: GPS Element Parsed {"raw_longitude":757189568,"raw_latitude":114074320,"longitude_deg":75.7189568,"latitude_deg":11.407432,"altitude":6,"angle":163,"satellites":47,"speed":53,"hex_longitude":"2d21cbc0","hex_latitude":"06cca2d0","is_valid_coordinates":true} 
[2026-08-19 04:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496415232001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385233818849640448,"note":"Value kept but may cause issues"} 
[2026-08-19 04:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2433280834124886016,"note":"Value kept but may cause issues"} 
[2026-08-19 04:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787095379000,"timestamp_ms":1787095379000,"timestamp_seconds":1787095379,"priority":1,"record_length":96,"hex_timestamp":"000001a0172f6c38"} 
[2026-08-19 04:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 04:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:54:35] 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-08-19 04:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496415232001,"66":27267,"181":206,"81":22528,"24":53,"16":385233818849640448,"45":2433280834124886016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-08-19 04:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496415232001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:54:35] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-19 04:54:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385233818849640448,"km_value":385233818849640.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2433280834124886016,"description":"Unknown IO ID 45"} 
[2026-08-19 04:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496415232001,"power":27267,"unknown_181":206,"unknown_81":22528,"ignition":53,"odometer":null,"unknown_45":2433280834124886016}} 
[2026-08-19 04:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":159869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:54:35] local.INFO: GPS data processed {"connection_id":159869,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:54:35] local.INFO: Acknowledgment sent {"connection_id":159869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:54:59] local.INFO: TCP Data received {"connection_id":158593,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:54:59] local.INFO: Processing buffer {"connection_id":158593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:54:59] local.INFO: IMEI packet received {"connection_id":158593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":158593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:55:00] local.INFO: TCP Data received {"connection_id":158593,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:55:00] local.INFO: Processing buffer {"connection_id":158593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:55:00] local.INFO: IMEI packet received {"connection_id":158593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":158593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:55:05] local.INFO: TCP Data received {"connection_id":158593,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:55:05] local.INFO: Processing buffer {"connection_id":158593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:55:05] local.INFO: IMEI packet received {"connection_id":158593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":158593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:55:06] local.INFO: TCP Data received {"connection_id":158593,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0172f8790012d21d98006cc80600006009931..."} 
[2026-08-19 04:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0172f8790012d21d98006cc80600006009931..."} 
[2026-08-19 04:55:06] local.INFO: Processing buffer {"connection_id":158593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0172f8790012d21d98006cc80600006009931..."} 
[2026-08-19 04:55:06] local.INFO: Packet analysis {"connection_id":158593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0172f"} 
[2026-08-19 04:55:06] local.INFO: Extracted packet for processing {"connection_id":158593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0172f"} 
[2026-08-19 04:55:06] local.INFO: GPS Element Parsed {"raw_longitude":757193088,"raw_latitude":114065504,"longitude_deg":75.7193088,"latitude_deg":11.4065504,"altitude":6,"angle":153,"satellites":49,"speed":51,"hex_longitude":"2d21d980","hex_latitude":"06cc8060","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496417024001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385234278411141120,"note":"Value kept but may cause issues"} 
[2026-08-19 04:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2435251158959443968,"note":"Value kept but may cause issues"} 
[2026-08-19 04:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787095386000,"timestamp_ms":1787095386000,"timestamp_seconds":1787095386,"priority":1,"record_length":96,"hex_timestamp":"000001a0172f8790"} 
[2026-08-19 04:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:55: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-08-19 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 04:55:06] 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-08-19 04: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-08-19 04:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:55:06] 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-08-19 04:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496417024001,"66":27376,"181":206,"81":22528,"24":51,"16":385234278411141120,"45":2435251158959443968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-08-19 04:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496417024001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:55:06] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-19 04:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385234278411141120,"km_value":385234278411141.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2435251158959443968,"description":"Unknown IO ID 45"} 
[2026-08-19 04:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496417024001,"power":27376,"unknown_181":206,"unknown_81":22528,"ignition":51,"odometer":null,"unknown_45":2435251158959443968}} 
[2026-08-19 04:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":158593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:55:06] local.INFO: GPS data processed {"connection_id":158593,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:55:06] local.INFO: Acknowledgment sent {"connection_id":158593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:55:37] local.INFO: TCP Data received {"connection_id":158593,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01730f6c0012d22dd0006caf4a0000e00a532..."} 
[2026-08-19 04:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01730f6c0012d22dd0006caf4a0000e00a532..."} 
[2026-08-19 04:55:37] local.INFO: Processing buffer {"connection_id":158593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01730f6c0012d22dd0006caf4a0000e00a532..."} 
[2026-08-19 04:55:37] local.INFO: Packet analysis {"connection_id":158593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01730"} 
[2026-08-19 04:55:37] local.INFO: Extracted packet for processing {"connection_id":158593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01730"} 
[2026-08-19 04:55:37] local.INFO: GPS Element Parsed {"raw_longitude":757259520,"raw_latitude":113964192,"longitude_deg":75.725952,"latitude_deg":11.3964192,"altitude":14,"angle":165,"satellites":50,"speed":57,"hex_longitude":"2d22dd00","hex_latitude":"06caf4a0","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496441088001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385240209760976896,"note":"Value kept but may cause issues"} 
[2026-08-19 04:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2509138340320339968,"note":"Value kept but may cause issues"} 
[2026-08-19 04:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787095480000,"timestamp_ms":1787095480000,"timestamp_seconds":1787095480,"priority":1,"record_length":96,"hex_timestamp":"000001a01730f6c0"} 
[2026-08-19 04:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 04:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04: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-08-19 04:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496441088001,"66":27397,"47":206,"81":22528,"24":57,"16":385240209760976896,"45":2509138340320339968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-08-19 04:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496441088001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:55:37] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-19 04:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385240209760976896,"km_value":385240209760976.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2509138340320339968,"description":"Unknown IO ID 45"} 
[2026-08-19 04:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496441088001,"power":27397,"unknown_47":206,"unknown_81":22528,"ignition":57,"odometer":null,"unknown_45":2509138340320339968}} 
[2026-08-19 04:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":158593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:55:37] local.INFO: GPS data processed {"connection_id":158593,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:55:37] local.INFO: Acknowledgment sent {"connection_id":158593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:55:58] local.INFO: TCP Data received {"connection_id":157327,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:55:58] local.INFO: Processing buffer {"connection_id":157327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:55:58] local.INFO: IMEI packet received {"connection_id":157327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":157327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:56:00] local.INFO: TCP Data received {"connection_id":157327,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:56:00] local.INFO: Processing buffer {"connection_id":157327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:56:00] local.INFO: IMEI packet received {"connection_id":157327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":157327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:56:04] local.INFO: TCP Data received {"connection_id":157327,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:56:04] local.INFO: Processing buffer {"connection_id":157327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:56:04] local.INFO: IMEI packet received {"connection_id":157327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":157327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:56:06] local.INFO: TCP Data received {"connection_id":157327,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017311218012d22e80006caceb8001100a232..."} 
[2026-08-19 04:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017311218012d22e80006caceb8001100a232..."} 
[2026-08-19 04:56:06] local.INFO: Processing buffer {"connection_id":157327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017311218012d22e80006caceb8001100a232..."} 
[2026-08-19 04:56:06] local.INFO: Packet analysis {"connection_id":157327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01731"} 
[2026-08-19 04:56:06] local.INFO: Extracted packet for processing {"connection_id":157327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01731"} 
[2026-08-19 04:56:06] local.INFO: GPS Element Parsed {"raw_longitude":757262336,"raw_latitude":113954488,"longitude_deg":75.7262336,"latitude_deg":11.3954488,"altitude":17,"angle":162,"satellites":50,"speed":56,"hex_longitude":"2d22e800","hex_latitude":"06caceb8","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496442880001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385240699387248640,"note":"Value kept but may cause issues"} 
[2026-08-19 04:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2512164196317437952,"note":"Value kept but may cause issues"} 
[2026-08-19 04:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787095487000,"timestamp_ms":1787095487000,"timestamp_seconds":1787095487,"priority":1,"record_length":96,"hex_timestamp":"000001a017311218"} 
[2026-08-19 04:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04: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-08-19 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 04:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04: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-08-19 04:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:56:06] 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-08-19 04:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496442880001,"66":27343,"47":206,"81":22528,"24":56,"16":385240699387248640,"45":2512164196317437952},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-08-19 04:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496442880001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:56:06] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-19 04:56:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385240699387248640,"km_value":385240699387248.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2512164196317437952,"description":"Unknown IO ID 45"} 
[2026-08-19 04:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496442880001,"power":27343,"unknown_47":206,"unknown_81":22528,"ignition":56,"odometer":null,"unknown_45":2512164196317437952}} 
[2026-08-19 04:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":157327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:56:06] local.INFO: GPS data processed {"connection_id":157327,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:56:06] local.INFO: Acknowledgment sent {"connection_id":157327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:56:40] local.INFO: TCP Data received {"connection_id":157327,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01731fc78012d23ee8006ca0df8000b008430..."} 
[2026-08-19 04:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01731fc78012d23ee8006ca0df8000b008430..."} 
[2026-08-19 04:56:40] local.INFO: Processing buffer {"connection_id":157327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01731fc78012d23ee8006ca0df8000b008430..."} 
[2026-08-19 04:56:40] local.INFO: Packet analysis {"connection_id":157327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01731"} 
[2026-08-19 04:56:40] local.INFO: Extracted packet for processing {"connection_id":157327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01731"} 
[2026-08-19 04:56:40] local.INFO: GPS Element Parsed {"raw_longitude":757329536,"raw_latitude":113905144,"longitude_deg":75.7329536,"latitude_deg":11.3905144,"altitude":11,"angle":132,"satellites":48,"speed":59,"hex_longitude":"2d23ee80","hex_latitude":"06ca0df8","is_valid_coordinates":true} 
[2026-08-19 04:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496458752001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385244929930035200,"note":"Value kept but may cause issues"} 
[2026-08-19 04:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2582462571736915968,"note":"Value kept but may cause issues"} 
[2026-08-19 04:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787095547000,"timestamp_ms":1787095547000,"timestamp_seconds":1787095547,"priority":1,"record_length":96,"hex_timestamp":"000001a01731fc78"} 
[2026-08-19 04:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 04:56:40] 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-08-19 04:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496458752001,"66":27321,"47":206,"81":22528,"24":59,"16":385244929930035200,"45":2582462571736915968},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-08-19 04:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496458752001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:56:40] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-19 04:56:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385244929930035200,"km_value":385244929930035.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2582462571736915968,"description":"Unknown IO ID 45"} 
[2026-08-19 04:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496458752001,"power":27321,"unknown_47":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2582462571736915968}} 
[2026-08-19 04:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":157327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:56:40] local.INFO: GPS data processed {"connection_id":157327,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:56:40] local.INFO: Acknowledgment sent {"connection_id":157327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:57:05] local.INFO: TCP Data received {"connection_id":157699,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:57:05] local.INFO: Processing buffer {"connection_id":157699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:57:05] local.INFO: IMEI packet received {"connection_id":157699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":157699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:57:10] local.INFO: TCP Data received {"connection_id":157699,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:57:10] local.INFO: Processing buffer {"connection_id":157699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:57:10] local.INFO: IMEI packet received {"connection_id":157699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":157699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:57:11] local.INFO: TCP Data received {"connection_id":157699,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017320c18012d23fe8006c9fca8000b008f32..."} 
[2026-08-19 04:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017320c18012d23fe8006c9fca8000b008f32..."} 
[2026-08-19 04:57:11] local.INFO: Processing buffer {"connection_id":157699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017320c18012d23fe8006c9fca8000b008f32..."} 
[2026-08-19 04:57:11] local.INFO: Packet analysis {"connection_id":157699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01732"} 
[2026-08-19 04:57:11] local.INFO: Extracted packet for processing {"connection_id":157699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01732"} 
[2026-08-19 04:57:11] local.INFO: GPS Element Parsed {"raw_longitude":757333632,"raw_latitude":113900712,"longitude_deg":75.7333632,"latitude_deg":11.3900712,"altitude":11,"angle":143,"satellites":50,"speed":59,"hex_longitude":"2d23fe80","hex_latitude":"06c9fca8","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496460032001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385245217692844032,"note":"Value kept but may cause issues"} 
[2026-08-19 04:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2589147602432686080,"note":"Value kept but may cause issues"} 
[2026-08-19 04:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787095551000,"timestamp_ms":1787095551000,"timestamp_seconds":1787095551,"priority":1,"record_length":96,"hex_timestamp":"000001a017320c18"} 
[2026-08-19 04:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:57: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-08-19 04: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 04:57:11] 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-08-19 04:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496460032001,"66":27245,"47":206,"81":22528,"24":59,"16":385245217692844032,"45":2589147602432686080},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-08-19 04:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496460032001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:57:11] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-19 04:57:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385245217692844032,"km_value":385245217692844.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2589147602432686080,"description":"Unknown IO ID 45"} 
[2026-08-19 04:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496460032001,"power":27245,"unknown_47":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2589147602432686080}} 
[2026-08-19 04:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":157699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:57:11] local.INFO: GPS data processed {"connection_id":157699,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:57:11] local.INFO: Acknowledgment sent {"connection_id":157699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:57:42] local.INFO: TCP Data received {"connection_id":157699,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017321fa0012d240d4006c9e3900009009b32..."} 
[2026-08-19 04:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017321fa0012d240d4006c9e3900009009b32..."} 
[2026-08-19 04:57:42] local.INFO: Processing buffer {"connection_id":157699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017321fa0012d240d4006c9e3900009009b32..."} 
[2026-08-19 04:57:42] local.INFO: Packet analysis {"connection_id":157699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01732"} 
[2026-08-19 04:57:42] local.INFO: Extracted packet for processing {"connection_id":157699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01732"} 
[2026-08-19 04:57:42] local.INFO: GPS Element Parsed {"raw_longitude":757337408,"raw_latitude":113894288,"longitude_deg":75.7337408,"latitude_deg":11.3894288,"altitude":9,"angle":155,"satellites":50,"speed":59,"hex_longitude":"2d240d40","hex_latitude":"06c9e390","is_valid_coordinates":true} 
[2026-08-19 04:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496461056001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2593651202058921984,"note":"Value kept but may cause issues"} 
[2026-08-19 04:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385245578470096896,"note":"Value kept but may cause issues"} 
[2026-08-19 04:57:42] 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-08-19 04:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787095556000,"timestamp_ms":1787095556000,"timestamp_seconds":1787095556,"priority":1,"record_length":96,"hex_timestamp":"000001a017321fa0"} 
[2026-08-19 04:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 04:57:42] 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-08-19 04:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496461056001,"66":27267,"45":2593651202058921984,"81":22528,"24":59,"16":385245578470096896},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-08-19 04:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496461056001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2593651202058921984,"description":"Unknown IO ID 45"} 
[2026-08-19 04:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385245578470096896,"km_value":385245578470096.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:57:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457496461056001,"power":27267,"unknown_45":2593651202058921984,"unknown_81":22528,"ignition":59,"odometer":null}} 
[2026-08-19 04:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":157699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:57:42] local.INFO: GPS data processed {"connection_id":157699,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:57:42] local.INFO: Acknowledgment sent {"connection_id":157699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:58:00] local.INFO: TCP Data received {"connection_id":159870,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:58:00] local.INFO: Processing buffer {"connection_id":159870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:58:00] local.INFO: IMEI packet received {"connection_id":159870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":159870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:58:01] local.INFO: TCP Data received {"connection_id":159870,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:58:01] local.INFO: Processing buffer {"connection_id":159870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:58:01] local.INFO: IMEI packet received {"connection_id":159870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":159870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:58:05] local.INFO: TCP Data received {"connection_id":159870,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:58:05] local.INFO: Processing buffer {"connection_id":159870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:58:05] local.INFO: IMEI packet received {"connection_id":159870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":159870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:58:06] local.INFO: TCP Data received {"connection_id":159870,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017332d28012d24a00006c8a788000d009c31..."} 
[2026-08-19 04:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017332d28012d24a00006c8a788000d009c31..."} 
[2026-08-19 04:58:06] local.INFO: Processing buffer {"connection_id":159870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017332d28012d24a00006c8a788000d009c31..."} 
[2026-08-19 04:58:06] local.INFO: Packet analysis {"connection_id":159870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01733"} 
[2026-08-19 04:58:06] local.INFO: Extracted packet for processing {"connection_id":159870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01733"} 
[2026-08-19 04:58:06] local.INFO: GPS Element Parsed {"raw_longitude":757374976,"raw_latitude":113813384,"longitude_deg":75.7374976,"latitude_deg":11.3813384,"altitude":13,"angle":156,"satellites":49,"speed":61,"hex_longitude":"2d24a000","hex_latitude":"06c8a788","is_valid_coordinates":true} 
[2026-08-19 04: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-08-19 04:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496480000001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385249959336738816,"note":"Value kept but may cause issues"} 
[2026-08-19 04:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2639109410775336960,"note":"Value kept but may cause issues"} 
[2026-08-19 04:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787095625000,"timestamp_ms":1787095625000,"timestamp_seconds":1787095625,"priority":1,"record_length":96,"hex_timestamp":"000001a017332d28"} 
[2026-08-19 04:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-19 04:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04: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-08-19 04:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:58:06] 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-08-19 04:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496480000001,"66":27050,"79":206,"81":22528,"24":61,"16":385249959336738816,"45":2639109410775336960},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-08-19 04:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496480000001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:58:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-19 04:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385249959336738816,"km_value":385249959336738.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2639109410775336960,"description":"Unknown IO ID 45"} 
[2026-08-19 04:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496480000001,"power":27050,"unknown_79":206,"unknown_81":22528,"ignition":61,"odometer":null,"unknown_45":2639109410775336960}} 
[2026-08-19 04:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":159870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:58:06] local.INFO: GPS data processed {"connection_id":159870,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:58:06] local.INFO: Acknowledgment sent {"connection_id":159870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:58:37] local.INFO: TCP Data received {"connection_id":159870,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017334498012d24ad8006c88530000a00a031..."} 
[2026-08-19 04:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017334498012d24ad8006c88530000a00a031..."} 
[2026-08-19 04:58:37] local.INFO: Processing buffer {"connection_id":159870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017334498012d24ad8006c88530000a00a031..."} 
[2026-08-19 04:58:37] local.INFO: Packet analysis {"connection_id":159870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01733"} 
[2026-08-19 04:58:37] local.INFO: Extracted packet for processing {"connection_id":159870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01733"} 
[2026-08-19 04:58:37] local.INFO: GPS Element Parsed {"raw_longitude":757378432,"raw_latitude":113804592,"longitude_deg":75.7378432,"latitude_deg":11.3804592,"altitude":10,"angle":160,"satellites":49,"speed":62,"hex_longitude":"2d24ad80","hex_latitude":"06c88530","is_valid_coordinates":true} 
[2026-08-19 04:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496480000001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385250414603272192,"note":"Value kept but may cause issues"} 
[2026-08-19 04:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2639109410775336960,"note":"Value kept but may cause issues"} 
[2026-08-19 04:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787095631000,"timestamp_ms":1787095631000,"timestamp_seconds":1787095631,"priority":1,"record_length":96,"hex_timestamp":"000001a017334498"} 
[2026-08-19 04:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 04:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-19 04:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 04:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496480000001,"66":27267,"79":206,"81":22528,"24":62,"16":385250414603272192,"45":2639109410775336960},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-08-19 04:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496480000001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:58:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-19 04:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385250414603272192,"km_value":385250414603272.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2639109410775336960,"description":"Unknown IO ID 45"} 
[2026-08-19 04:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496480000001,"power":27267,"unknown_79":206,"unknown_81":22528,"ignition":62,"odometer":null,"unknown_45":2639109410775336960}} 
[2026-08-19 04:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":159870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:58:37] local.INFO: GPS data processed {"connection_id":159870,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:58:37] local.INFO: Acknowledgment sent {"connection_id":159870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:59:00] local.INFO: TCP Data received {"connection_id":159871,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:59:00] local.INFO: Processing buffer {"connection_id":159871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:59:00] local.INFO: IMEI packet received {"connection_id":159871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 04:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":159871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 04:59:03] local.INFO: TCP Data received {"connection_id":159871,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:59:03] local.INFO: Processing buffer {"connection_id":159871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:59:04] local.INFO: IMEI packet received {"connection_id":159871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":159871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:59:05] local.INFO: TCP Data received {"connection_id":159871,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:59:05] local.INFO: Processing buffer {"connection_id":159871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 04:59:05] local.INFO: IMEI packet received {"connection_id":159871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 04:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":159871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 04:59:13] local.INFO: TCP Data received {"connection_id":159871,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017335c08012d24ba4006c861f0000700a131..."} 
[2026-08-19 04:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017335c08012d24ba4006c861f0000700a131..."} 
[2026-08-19 04:59:13] local.INFO: Processing buffer {"connection_id":159871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017335c08012d24ba4006c861f0000700a131..."} 
[2026-08-19 04:59:13] local.INFO: Packet analysis {"connection_id":159871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01733"} 
[2026-08-19 04:59:13] local.INFO: Extracted packet for processing {"connection_id":159871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01733"} 
[2026-08-19 04:59:13] local.INFO: GPS Element Parsed {"raw_longitude":757381696,"raw_latitude":113795568,"longitude_deg":75.7381696,"latitude_deg":11.3795568,"altitude":7,"angle":161,"satellites":49,"speed":63,"hex_longitude":"2d24ba40","hex_latitude":"06c861f0","is_valid_coordinates":true} 
[2026-08-19 04:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496481536001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385250878459740160,"note":"Value kept but may cause issues"} 
[2026-08-19 04:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2642909322958680064,"note":"Value kept but may cause issues"} 
[2026-08-19 04:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787095637000,"timestamp_ms":1787095637000,"timestamp_seconds":1787095637,"priority":1,"record_length":96,"hex_timestamp":"000001a017335c08"} 
[2026-08-19 04:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:59: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-08-19 04:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 04:59:13] 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-08-19 04:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 04:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496481536001,"66":27234,"79":206,"81":22528,"24":63,"16":385250878459740160,"45":2642909322958680064},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-08-19 04:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496481536001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:59:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-19 04:59:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385250878459740160,"km_value":385250878459740.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2642909322958680064,"description":"Unknown IO ID 45"} 
[2026-08-19 04:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496481536001,"power":27234,"unknown_79":206,"unknown_81":22528,"ignition":63,"odometer":null,"unknown_45":2642909322958680064}} 
[2026-08-19 04:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":159871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:59:13] local.INFO: GPS data processed {"connection_id":159871,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:59:13] local.INFO: Acknowledgment sent {"connection_id":159871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 04:59:30] local.INFO: TCP Data received {"connection_id":159871,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017337378012d24c60006c83f80000600a130..."} 
[2026-08-19 04:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017337378012d24c60006c83f80000600a130..."} 
[2026-08-19 04:59:30] local.INFO: Processing buffer {"connection_id":159871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017337378012d24c60006c83f80000600a130..."} 
[2026-08-19 04:59:30] local.INFO: Packet analysis {"connection_id":159871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01733"} 
[2026-08-19 04:59:30] local.INFO: Extracted packet for processing {"connection_id":159871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01733"} 
[2026-08-19 04:59:30] local.INFO: GPS Element Parsed {"raw_longitude":757384704,"raw_latitude":113786752,"longitude_deg":75.7384704,"latitude_deg":11.3786752,"altitude":6,"angle":161,"satellites":48,"speed":60,"hex_longitude":"2d24c600","hex_latitude":"06c83f80","is_valid_coordinates":true} 
[2026-08-19 04:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 04:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496483072001,"note":"Value kept but may cause issues"} 
[2026-08-19 04:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385251329431306240,"note":"Value kept but may cause issues"} 
[2026-08-19 04:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2646498128909430784,"note":"Value kept but may cause issues"} 
[2026-08-19 04:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 04:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787095643000,"timestamp_ms":1787095643000,"timestamp_seconds":1787095643,"priority":1,"record_length":96,"hex_timestamp":"000001a017337378"} 
[2026-08-19 04:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 04:59: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-08-19 04:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 04:59:30] 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-08-19 04:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 04:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 04:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 04:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 04:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 04:59:30] 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-08-19 04:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 04:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 04:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496483072001,"66":27093,"79":206,"81":22528,"24":60,"16":385251329431306240,"45":2646498128909430784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-08-19 04:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 04:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 04:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496483072001,"description":"Unknown IO ID 0"} 
[2026-08-19 04:59:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-19 04:59:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 04:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385251329431306240,"km_value":385251329431306.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 04:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2646498128909430784,"description":"Unknown IO ID 45"} 
[2026-08-19 04:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496483072001,"power":27093,"unknown_79":206,"unknown_81":22528,"ignition":60,"odometer":null,"unknown_45":2646498128909430784}} 
[2026-08-19 04:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":159871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 04:59:30] local.INFO: GPS data processed {"connection_id":159871,"processed":1,"errors":0,"total":1} 
[2026-08-19 04:59:30] local.INFO: Acknowledgment sent {"connection_id":159871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:00:00] local.INFO: TCP Data received {"connection_id":157328,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:00:00] local.INFO: Processing buffer {"connection_id":157328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:00:00] local.INFO: IMEI packet received {"connection_id":157328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":157328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:00:04] local.INFO: TCP Data received {"connection_id":157328,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:00:04] local.INFO: Processing buffer {"connection_id":157328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:00:04] local.INFO: IMEI packet received {"connection_id":157328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":157328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:00:05] local.INFO: TCP Data received {"connection_id":157328,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01734cb38012d25644006c680d00009009731..."} 
[2026-08-19 05:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01734cb38012d25644006c680d00009009731..."} 
[2026-08-19 05:00:05] local.INFO: Processing buffer {"connection_id":157328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01734cb38012d25644006c680d00009009731..."} 
[2026-08-19 05:00:05] local.INFO: Packet analysis {"connection_id":157328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01734"} 
[2026-08-19 05:00:05] local.INFO: Extracted packet for processing {"connection_id":157328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01734"} 
[2026-08-19 05:00:05] local.INFO: GPS Element Parsed {"raw_longitude":757425216,"raw_latitude":113672400,"longitude_deg":75.7425216,"latitude_deg":11.36724,"altitude":9,"angle":151,"satellites":49,"speed":55,"hex_longitude":"2d256440","hex_latitude":"06c680d0","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496505344001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385257265076109312,"note":"Value kept but may cause issues"} 
[2026-08-19 05:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2689071219107612672,"note":"Value kept but may cause issues"} 
[2026-08-19 05:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787095731000,"timestamp_ms":1787095731000,"timestamp_seconds":1787095731,"priority":1,"record_length":96,"hex_timestamp":"000001a01734cb38"} 
[2026-08-19 05:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 05:00:05] 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-08-19 05: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-08-19 05:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496505344001,"66":27213,"98":206,"81":20992,"24":55,"16":385257265076109312,"45":2689071219107612672},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-08-19 05:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496505344001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:00:05] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-19 05:00:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385257265076109312,"km_value":385257265076109.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2689071219107612672,"description":"Unknown IO ID 45"} 
[2026-08-19 05:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496505344001,"power":27213,"unknown_98":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":2689071219107612672}} 
[2026-08-19 05:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":157328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:00:05] local.INFO: GPS data processed {"connection_id":157328,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:00:05] local.INFO: Acknowledgment sent {"connection_id":157328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:00:36] local.INFO: TCP Data received {"connection_id":157328,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01734e690012d2576c006c65f48000a009731..."} 
[2026-08-19 05:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01734e690012d2576c006c65f48000a009731..."} 
[2026-08-19 05:00:36] local.INFO: Processing buffer {"connection_id":157328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01734e690012d2576c006c65f48000a009731..."} 
[2026-08-19 05:00:36] local.INFO: Packet analysis {"connection_id":157328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01734"} 
[2026-08-19 05:00:36] local.INFO: Extracted packet for processing {"connection_id":157328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01734"} 
[2026-08-19 05:00:36] local.INFO: GPS Element Parsed {"raw_longitude":757429952,"raw_latitude":113663816,"longitude_deg":75.7429952,"latitude_deg":11.3663816,"altitude":10,"angle":151,"satellites":49,"speed":55,"hex_longitude":"2d2576c0","hex_latitude":"06c65f48","is_valid_coordinates":true} 
[2026-08-19 05:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496507136001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385257737522511872,"note":"Value kept but may cause issues"} 
[2026-08-19 05:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2694348874918711296,"note":"Value kept but may cause issues"} 
[2026-08-19 05:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787095738000,"timestamp_ms":1787095738000,"timestamp_seconds":1787095738,"priority":1,"record_length":96,"hex_timestamp":"000001a01734e690"} 
[2026-08-19 05:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:00: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-08-19 05:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 05:00:36] 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-08-19 05:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:00:36] 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-08-19 05:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496507136001,"66":27267,"85":206,"81":20992,"24":55,"16":385257737522511872,"45":2694348874918711296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-08-19 05:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496507136001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-19 05:00:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385257737522511872,"km_value":385257737522511.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2694348874918711296,"description":"Unknown IO ID 45"} 
[2026-08-19 05:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496507136001,"power":27267,"unknown_85":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":2694348874918711296}} 
[2026-08-19 05:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":157328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:00:36] local.INFO: GPS data processed {"connection_id":157328,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:00:36] local.INFO: Acknowledgment sent {"connection_id":157328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:01:00] local.INFO: TCP Data received {"connection_id":157700,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:01:00] local.INFO: Processing buffer {"connection_id":157700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:01:00] local.INFO: IMEI packet received {"connection_id":157700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":157700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:01:05] local.INFO: TCP Data received {"connection_id":157700,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:01:05] local.INFO: Processing buffer {"connection_id":157700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:01:05] local.INFO: IMEI packet received {"connection_id":157700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":157700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:01:06] local.INFO: TCP Data received {"connection_id":157700,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0173501e8012d25890006c63d78000b009832..."} 
[2026-08-19 05:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0173501e8012d25890006c63d78000b009832..."} 
[2026-08-19 05:01:06] local.INFO: Processing buffer {"connection_id":157700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0173501e8012d25890006c63d78000b009832..."} 
[2026-08-19 05:01:06] local.INFO: Packet analysis {"connection_id":157700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01735"} 
[2026-08-19 05:01:06] local.INFO: Extracted packet for processing {"connection_id":157700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01735"} 
[2026-08-19 05:01:06] local.INFO: GPS Element Parsed {"raw_longitude":757434624,"raw_latitude":113655160,"longitude_deg":75.7434624,"latitude_deg":11.365516,"altitude":11,"angle":152,"satellites":50,"speed":55,"hex_longitude":"2d258900","hex_latitude":"06c63d78","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496508928001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385258209968914432,"note":"Value kept but may cause issues"} 
[2026-08-19 05:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2699556161985660928,"note":"Value kept but may cause issues"} 
[2026-08-19 05:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787095745000,"timestamp_ms":1787095745000,"timestamp_seconds":1787095745,"priority":1,"record_length":96,"hex_timestamp":"000001a0173501e8"} 
[2026-08-19 05:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:01: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-08-19 05:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 05:01:06] 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-08-19 05: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-08-19 05:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:01:06] 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-08-19 05:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496508928001,"66":27321,"85":206,"81":20992,"24":55,"16":385258209968914432,"45":2699556161985660928},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-08-19 05:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496508928001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-19 05:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385258209968914432,"km_value":385258209968914.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2699556161985660928,"description":"Unknown IO ID 45"} 
[2026-08-19 05:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496508928001,"power":27321,"unknown_85":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":2699556161985660928}} 
[2026-08-19 05:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":157700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:01:06] local.INFO: GPS data processed {"connection_id":157700,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:01:06] local.INFO: Acknowledgment sent {"connection_id":157700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:01:37] local.INFO: TCP Data received {"connection_id":157700,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017366d30012d26660006c517e0000a008a32..."} 
[2026-08-19 05:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017366d30012d26660006c517e0000a008a32..."} 
[2026-08-19 05:01:37] local.INFO: Processing buffer {"connection_id":157700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017366d30012d26660006c517e0000a008a32..."} 
[2026-08-19 05:01:37] local.INFO: Packet analysis {"connection_id":157700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01736"} 
[2026-08-19 05:01:37] local.INFO: Extracted packet for processing {"connection_id":157700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01736"} 
[2026-08-19 05:01:37] local.INFO: GPS Element Parsed {"raw_longitude":757491200,"raw_latitude":113580000,"longitude_deg":75.74912,"latitude_deg":11.358,"altitude":10,"angle":138,"satellites":50,"speed":39,"hex_longitude":"2d266600","hex_latitude":"06c517e0","is_valid_coordinates":true} 
[2026-08-19 05:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496532224001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385262754044313600,"note":"Value kept but may cause issues"} 
[2026-08-19 05:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2759862175726360576,"note":"Value kept but may cause issues"} 
[2026-08-19 05:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787095838000,"timestamp_ms":1787095838000,"timestamp_seconds":1787095838,"priority":1,"record_length":96,"hex_timestamp":"000001a017366d30"} 
[2026-08-19 05:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-19 05:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496532224001,"66":27300,"231":206,"81":20992,"24":39,"16":385262754044313600,"45":2759862175726360576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-08-19 05:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496532224001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:01:37] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-19 05:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385262754044313600,"km_value":385262754044313.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2759862175726360576,"description":"Unknown IO ID 45"} 
[2026-08-19 05:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496532224001,"power":27300,"unknown_231":206,"unknown_81":20992,"ignition":39,"odometer":null,"unknown_45":2759862175726360576}} 
[2026-08-19 05:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":157700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:01:37] local.INFO: GPS data processed {"connection_id":157700,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:01:37] local.INFO: Acknowledgment sent {"connection_id":157700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:02:00] local.INFO: TCP Data received {"connection_id":159872,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:02:00] local.INFO: Processing buffer {"connection_id":159872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:02:00] local.INFO: IMEI packet received {"connection_id":159872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":159872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:02:10] local.INFO: TCP Data received {"connection_id":159872,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:02:10] local.INFO: Processing buffer {"connection_id":159872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:02:10] local.INFO: IMEI packet received {"connection_id":159872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":159872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:02:12] local.INFO: TCP Data received {"connection_id":159872,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017369440012d2680c006c4fcc8000b008931..."} 
[2026-08-19 05:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017369440012d2680c006c4fcc8000b008931..."} 
[2026-08-19 05:02:12] local.INFO: Processing buffer {"connection_id":159872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017369440012d2680c006c4fcc8000b008931..."} 
[2026-08-19 05:02:12] local.INFO: Packet analysis {"connection_id":159872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01736"} 
[2026-08-19 05:02:12] local.INFO: Extracted packet for processing {"connection_id":159872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01736"} 
[2026-08-19 05:02:12] local.INFO: GPS Element Parsed {"raw_longitude":757498048,"raw_latitude":113573064,"longitude_deg":75.7498048,"latitude_deg":11.3573064,"altitude":11,"angle":137,"satellites":49,"speed":43,"hex_longitude":"2d2680c0","hex_latitude":"06c4fcc8","is_valid_coordinates":true} 
[2026-08-19 05:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496534528001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385263217900781568,"note":"Value kept but may cause issues"} 
[2026-08-19 05:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2766899050142228480,"note":"Value kept but may cause issues"} 
[2026-08-19 05:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787095848000,"timestamp_ms":1787095848000,"timestamp_seconds":1787095848,"priority":1,"record_length":96,"hex_timestamp":"000001a017369440"} 
[2026-08-19 05:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 05:02:12] 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-08-19 05:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496534528001,"66":27245,"231":206,"81":20992,"24":43,"16":385263217900781568,"45":2766899050142228480},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-08-19 05:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496534528001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:02:12] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-19 05:02:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385263217900781568,"km_value":385263217900781.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2766899050142228480,"description":"Unknown IO ID 45"} 
[2026-08-19 05:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496534528001,"power":27245,"unknown_231":206,"unknown_81":20992,"ignition":43,"odometer":null,"unknown_45":2766899050142228480}} 
[2026-08-19 05:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":159872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:02:12] local.INFO: GPS data processed {"connection_id":159872,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:02:12] local.INFO: Acknowledgment sent {"connection_id":159872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:02:55] local.INFO: TCP Data received {"connection_id":159872,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01736b380012d269a8006c4dfb8000a008b32..."} 
[2026-08-19 05:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01736b380012d269a8006c4dfb8000a008b32..."} 
[2026-08-19 05:02:55] local.INFO: Processing buffer {"connection_id":159872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01736b380012d269a8006c4dfb8000a008b32..."} 
[2026-08-19 05:02:55] local.INFO: Packet analysis {"connection_id":159872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01736"} 
[2026-08-19 05:02:55] local.INFO: Extracted packet for processing {"connection_id":159872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01736"} 
[2026-08-19 05:02:55] local.INFO: GPS Element Parsed {"raw_longitude":757504640,"raw_latitude":113565624,"longitude_deg":75.750464,"latitude_deg":11.3565624,"altitude":10,"angle":139,"satellites":50,"speed":54,"hex_longitude":"2d269a80","hex_latitude":"06c4dfb8","is_valid_coordinates":true} 
[2026-08-19 05:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496537088001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385263698937118720,"note":"Value kept but may cause issues"} 
[2026-08-19 05:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2774428505767462912,"note":"Value kept but may cause issues"} 
[2026-08-19 05:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787095856000,"timestamp_ms":1787095856000,"timestamp_seconds":1787095856,"priority":1,"record_length":96,"hex_timestamp":"000001a01736b380"} 
[2026-08-19 05:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 05:02:55] 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-08-19 05:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:02:55] 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-08-19 05:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496537088001,"66":27332,"231":206,"81":20992,"24":54,"16":385263698937118720,"45":2774428505767462912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-08-19 05:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496537088001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:02:55] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-19 05:02:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385263698937118720,"km_value":385263698937118.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2774428505767462912,"description":"Unknown IO ID 45"} 
[2026-08-19 05:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496537088001,"power":27332,"unknown_231":206,"unknown_81":20992,"ignition":54,"odometer":null,"unknown_45":2774428505767462912}} 
[2026-08-19 05:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":159872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:02:55] local.INFO: GPS data processed {"connection_id":159872,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:02:55] local.INFO: Acknowledgment sent {"connection_id":159872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:03:01] local.INFO: TCP Data received {"connection_id":157701,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:03:01] local.INFO: Processing buffer {"connection_id":157701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:03:01] local.INFO: IMEI packet received {"connection_id":157701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":157701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:03:05] local.INFO: TCP Data received {"connection_id":157701,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:03:05] local.INFO: Processing buffer {"connection_id":157701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:03:05] local.INFO: IMEI packet received {"connection_id":157701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":157701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:03:07] local.INFO: TCP Data received {"connection_id":157701,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:03:07] local.INFO: Processing buffer {"connection_id":157701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:03:07] local.INFO: IMEI packet received {"connection_id":157701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":157701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:03:08] local.INFO: TCP Data received {"connection_id":157701,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01737c108012d2758c006c37fd00011009a33..."} 
[2026-08-19 05:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01737c108012d2758c006c37fd00011009a33..."} 
[2026-08-19 05:03:08] local.INFO: Processing buffer {"connection_id":157701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01737c108012d2758c006c37fd00011009a33..."} 
[2026-08-19 05:03:08] local.INFO: Packet analysis {"connection_id":157701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01737"} 
[2026-08-19 05:03:08] local.INFO: Extracted packet for processing {"connection_id":157701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01737"} 
[2026-08-19 05:03:08] local.INFO: GPS Element Parsed {"raw_longitude":757553344,"raw_latitude":113475536,"longitude_deg":75.7553344,"latitude_deg":11.3475536,"altitude":17,"angle":154,"satellites":51,"speed":59,"hex_longitude":"2d2758c0","hex_latitude":"06c37fd0","is_valid_coordinates":true} 
[2026-08-19 05:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496555264001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385268663919312896,"note":"Value kept but may cause issues"} 
[2026-08-19 05:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2830934607319248896,"note":"Value kept but may cause issues"} 
[2026-08-19 05:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787095925000,"timestamp_ms":1787095925000,"timestamp_seconds":1787095925,"priority":1,"record_length":96,"hex_timestamp":"000001a01737c108"} 
[2026-08-19 05:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:03: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-08-19 05:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 05:03:08] 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-08-19 05:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":157701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":157701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":157701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:03:08] 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-08-19 05:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496555264001,"66":27234,"230":206,"81":20992,"24":59,"16":385268663919312896,"45":2830934607319248896},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-08-19 05:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496555264001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:03:08] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-19 05:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385268663919312896,"km_value":385268663919312.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2830934607319248896,"description":"Unknown IO ID 45"} 
[2026-08-19 05:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496555264001,"power":27234,"unknown_230":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2830934607319248896}} 
[2026-08-19 05:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":157701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:03:08] local.INFO: GPS data processed {"connection_id":157701,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:03:08] local.INFO: Acknowledgment sent {"connection_id":157701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:03:39] local.INFO: TCP Data received {"connection_id":157701,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01737d878012d27684006c36010000f009a30..."} 
[2026-08-19 05:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01737d878012d27684006c36010000f009a30..."} 
[2026-08-19 05:03:39] local.INFO: Processing buffer {"connection_id":157701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01737d878012d27684006c36010000f009a30..."} 
[2026-08-19 05:03:39] local.INFO: Packet analysis {"connection_id":157701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01737"} 
[2026-08-19 05:03:39] local.INFO: Extracted packet for processing {"connection_id":157701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01737"} 
[2026-08-19 05:03:39] local.INFO: GPS Element Parsed {"raw_longitude":757557312,"raw_latitude":113467408,"longitude_deg":75.7557312,"latitude_deg":11.3467408,"altitude":15,"angle":154,"satellites":48,"speed":59,"hex_longitude":"2d276840","hex_latitude":"06c36010","is_valid_coordinates":true} 
[2026-08-19 05:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496556800001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385269102005977088,"note":"Value kept but may cause issues"} 
[2026-08-19 05:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2835227100711997440,"note":"Value kept but may cause issues"} 
[2026-08-19 05:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787095931000,"timestamp_ms":1787095931000,"timestamp_seconds":1787095931,"priority":1,"record_length":96,"hex_timestamp":"000001a01737d878"} 
[2026-08-19 05:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 05:03:39] 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-08-19 05:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:03:39] 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-08-19 05:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496556800001,"66":27115,"230":206,"81":20992,"24":59,"16":385269102005977088,"45":2835227100711997440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-08-19 05:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496556800001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:03:39] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-19 05:03:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385269102005977088,"km_value":385269102005977.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2835227100711997440,"description":"Unknown IO ID 45"} 
[2026-08-19 05:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496556800001,"power":27115,"unknown_230":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2835227100711997440}} 
[2026-08-19 05:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":157701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:03:39] local.INFO: GPS data processed {"connection_id":157701,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:03:39] local.INFO: Acknowledgment sent {"connection_id":157701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:04:00] local.INFO: TCP Data received {"connection_id":159873,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:04:00] local.INFO: Processing buffer {"connection_id":159873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:04:00] local.INFO: IMEI packet received {"connection_id":159873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":159873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:04:02] local.INFO: TCP Data received {"connection_id":159873,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:04:02] local.INFO: Processing buffer {"connection_id":159873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:04:02] local.INFO: IMEI packet received {"connection_id":159873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":159873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:04:05] local.INFO: TCP Data received {"connection_id":159873,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:04:05] local.INFO: Processing buffer {"connection_id":159873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:04:05] local.INFO: IMEI packet received {"connection_id":159873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":159873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:04:06] local.INFO: TCP Data received {"connection_id":159873,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01737efe8012d27770006c33fe8000e009b31..."} 
[2026-08-19 05:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01737efe8012d27770006c33fe8000e009b31..."} 
[2026-08-19 05:04:06] local.INFO: Processing buffer {"connection_id":159873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01737efe8012d27770006c33fe8000e009b31..."} 
[2026-08-19 05:04:06] local.INFO: Packet analysis {"connection_id":159873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01737"} 
[2026-08-19 05:04:06] local.INFO: Extracted packet for processing {"connection_id":159873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01737"} 
[2026-08-19 05:04:06] local.INFO: GPS Element Parsed {"raw_longitude":757561088,"raw_latitude":113459176,"longitude_deg":75.7561088,"latitude_deg":11.3459176,"altitude":14,"angle":155,"satellites":49,"speed":59,"hex_longitude":"2d277700","hex_latitude":"06c33fe8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496558336001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385269540092641280,"note":"Value kept but may cause issues"} 
[2026-08-19 05:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2839589962848931840,"note":"Value kept but may cause issues"} 
[2026-08-19 05:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787095937000,"timestamp_ms":1787095937000,"timestamp_seconds":1787095937,"priority":1,"record_length":96,"hex_timestamp":"000001a01737efe8"} 
[2026-08-19 05:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-19 05:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:04:06] 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-08-19 05:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496558336001,"66":27267,"230":206,"81":20992,"24":59,"16":385269540092641280,"45":2839589962848931840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-08-19 05:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496558336001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:04:06] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-19 05:04:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385269540092641280,"km_value":385269540092641.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2839589962848931840,"description":"Unknown IO ID 45"} 
[2026-08-19 05:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496558336001,"power":27267,"unknown_230":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2839589962848931840}} 
[2026-08-19 05:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":159873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:04:06] local.INFO: GPS data processed {"connection_id":159873,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:04:06] local.INFO: Acknowledgment sent {"connection_id":159873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:04:37] local.INFO: TCP Data received {"connection_id":159873,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017392c50012d28464006c1ce900011008532..."} 
[2026-08-19 05:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017392c50012d28464006c1ce900011008532..."} 
[2026-08-19 05:04:37] local.INFO: Processing buffer {"connection_id":159873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017392c50012d28464006c1ce900011008532..."} 
[2026-08-19 05:04:37] local.INFO: Packet analysis {"connection_id":159873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01739"} 
[2026-08-19 05:04:37] local.INFO: Extracted packet for processing {"connection_id":159873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01739"} 
[2026-08-19 05:04:37] local.INFO: GPS Element Parsed {"raw_longitude":757614144,"raw_latitude":113364624,"longitude_deg":75.7614144,"latitude_deg":11.3364624,"altitude":17,"angle":133,"satellites":50,"speed":52,"hex_longitude":"2d284640","hex_latitude":"06c1ce90","is_valid_coordinates":true} 
[2026-08-19 05:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496578816001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385274818607448064,"note":"Value kept but may cause issues"} 
[2026-08-19 05:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2894759058259607552,"note":"Value kept but may cause issues"} 
[2026-08-19 05:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787096018000,"timestamp_ms":1787096018000,"timestamp_seconds":1787096018,"priority":1,"record_length":96,"hex_timestamp":"000001a017392c50"} 
[2026-08-19 05:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 05:04:37] 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-08-19 05:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496578816001,"66":27365,"179":206,"81":20992,"24":52,"16":385274818607448064,"45":2894759058259607552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-08-19 05:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496578816001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:04:37] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-19 05:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385274818607448064,"km_value":385274818607448.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2894759058259607552,"description":"Unknown IO ID 45"} 
[2026-08-19 05:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496578816001,"power":27365,"unknown_179":206,"unknown_81":20992,"ignition":52,"odometer":null,"unknown_45":2894759058259607552}} 
[2026-08-19 05:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":159873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:04:37] local.INFO: GPS data processed {"connection_id":159873,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:04:37] local.INFO: Acknowledgment sent {"connection_id":159873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:05:00] local.INFO: TCP Data received {"connection_id":157702,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:05:00] local.INFO: Processing buffer {"connection_id":157702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:05:00] local.INFO: IMEI packet received {"connection_id":157702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":157702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:05:01] local.INFO: TCP Data received {"connection_id":157702,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:05:01] local.INFO: Processing buffer {"connection_id":157702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:05:01] local.INFO: IMEI packet received {"connection_id":157702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":157702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:05:05] local.INFO: TCP Data received {"connection_id":157702,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:05:05] local.INFO: Processing buffer {"connection_id":157702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:05:05] local.INFO: IMEI packet received {"connection_id":157702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":157702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:05:06] local.INFO: TCP Data received {"connection_id":157702,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0173947a8012d285fc006c1b4a00013008831..."} 
[2026-08-19 05:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0173947a8012d285fc006c1b4a00013008831..."} 
[2026-08-19 05:05:06] local.INFO: Processing buffer {"connection_id":157702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0173947a8012d285fc006c1b4a00013008831..."} 
[2026-08-19 05:05:06] local.INFO: Packet analysis {"connection_id":157702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01739"} 
[2026-08-19 05:05:06] local.INFO: Extracted packet for processing {"connection_id":157702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01739"} 
[2026-08-19 05:05:06] local.INFO: GPS Element Parsed {"raw_longitude":757620672,"raw_latitude":113357984,"longitude_deg":75.7620672,"latitude_deg":11.3357984,"altitude":19,"angle":136,"satellites":49,"speed":52,"hex_longitude":"2d285fc0","hex_latitude":"06c1b4a0","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496580608001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385275265284046848,"note":"Value kept but may cause issues"} 
[2026-08-19 05:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2902077407652384768,"note":"Value kept but may cause issues"} 
[2026-08-19 05:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787096025000,"timestamp_ms":1787096025000,"timestamp_seconds":1787096025,"priority":1,"record_length":96,"hex_timestamp":"000001a0173947a8"} 
[2026-08-19 05:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 05:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:05:06] 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-08-19 05:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496580608001,"66":27397,"179":206,"81":20992,"24":52,"16":385275265284046848,"45":2902077407652384768},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-08-19 05:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496580608001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:05:06] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-19 05:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385275265284046848,"km_value":385275265284046.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2902077407652384768,"description":"Unknown IO ID 45"} 
[2026-08-19 05:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496580608001,"power":27397,"unknown_179":206,"unknown_81":20992,"ignition":52,"odometer":null,"unknown_45":2902077407652384768}} 
[2026-08-19 05:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":157702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:05:06] local.INFO: GPS data processed {"connection_id":157702,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:05:06] local.INFO: Acknowledgment sent {"connection_id":157702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:05:37] local.INFO: TCP Data received {"connection_id":157702,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017396300012d2879c006c199500014008932..."} 
[2026-08-19 05:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017396300012d2879c006c199500014008932..."} 
[2026-08-19 05:05:37] local.INFO: Processing buffer {"connection_id":157702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017396300012d2879c006c199500014008932..."} 
[2026-08-19 05:05:37] local.INFO: Packet analysis {"connection_id":157702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01739"} 
[2026-08-19 05:05:37] local.INFO: Extracted packet for processing {"connection_id":157702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01739"} 
[2026-08-19 05:05:37] local.INFO: GPS Element Parsed {"raw_longitude":757627328,"raw_latitude":113350992,"longitude_deg":75.7627328,"latitude_deg":11.3350992,"altitude":20,"angle":137,"satellites":50,"speed":56,"hex_longitude":"2d2879c0","hex_latitude":"06c19950","is_valid_coordinates":true} 
[2026-08-19 05:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496582400001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385275729140514816,"note":"Value kept but may cause issues"} 
[2026-08-19 05:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2909255019556806656,"note":"Value kept but may cause issues"} 
[2026-08-19 05:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787096032000,"timestamp_ms":1787096032000,"timestamp_seconds":1787096032,"priority":1,"record_length":96,"hex_timestamp":"000001a017396300"} 
[2026-08-19 05:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 05:05:37] 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-08-19 05:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496582400001,"66":27376,"179":206,"81":20992,"24":56,"16":385275729140514816,"45":2909255019556806656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-08-19 05:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496582400001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:05:37] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-19 05:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385275729140514816,"km_value":385275729140514.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2909255019556806656,"description":"Unknown IO ID 45"} 
[2026-08-19 05:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496582400001,"power":27376,"unknown_179":206,"unknown_81":20992,"ignition":56,"odometer":null,"unknown_45":2909255019556806656}} 
[2026-08-19 05:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":157702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:05:37] local.INFO: GPS data processed {"connection_id":157702,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:05:37] local.INFO: Acknowledgment sent {"connection_id":157702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:06:05] local.INFO: TCP Data received {"connection_id":158594,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:06:05] local.INFO: Processing buffer {"connection_id":158594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:06:05] local.INFO: IMEI packet received {"connection_id":158594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":158594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:06:05] local.INFO: TCP Data received {"connection_id":158594,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:06:05] local.INFO: Processing buffer {"connection_id":158594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:06:05] local.INFO: IMEI packet received {"connection_id":158594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":158594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:06:10] local.INFO: TCP Data received {"connection_id":158594,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:06:10] local.INFO: Processing buffer {"connection_id":158594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:06:10] local.INFO: IMEI packet received {"connection_id":158594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":158594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:06:11] local.INFO: TCP Data received {"connection_id":158594,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0173a7088012d29978006c07cd80008008632..."} 
[2026-08-19 05:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0173a7088012d29978006c07cd80008008632..."} 
[2026-08-19 05:06:11] local.INFO: Processing buffer {"connection_id":158594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0173a7088012d29978006c07cd80008008632..."} 
[2026-08-19 05:06:11] local.INFO: Packet analysis {"connection_id":158594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0173a"} 
[2026-08-19 05:06:11] local.INFO: Extracted packet for processing {"connection_id":158594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0173a"} 
[2026-08-19 05:06:11] local.INFO: GPS Element Parsed {"raw_longitude":757700480,"raw_latitude":113278168,"longitude_deg":75.770048,"latitude_deg":11.3278168,"altitude":8,"angle":134,"satellites":50,"speed":57,"hex_longitude":"2d299780","hex_latitude":"06c07cd8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496600064001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385280689827741696,"note":"Value kept but may cause issues"} 
[2026-08-19 05:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2988560594226335744,"note":"Value kept but may cause issues"} 
[2026-08-19 05:06:11] 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-08-19 05:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787096101000,"timestamp_ms":1787096101000,"timestamp_seconds":1787096101,"priority":1,"record_length":96,"hex_timestamp":"000001a0173a7088"} 
[2026-08-19 05:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:06: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-08-19 05: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 05:06:11] 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-08-19 05: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-08-19 05:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496600064001,"66":27365,"32":206,"81":20992,"24":57,"16":385280689827741696,"45":2988560594226335744},"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-08-19 05:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496600064001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:06:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 05:06:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385280689827741696,"km_value":385280689827741.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2988560594226335744,"description":"Unknown IO ID 45"} 
[2026-08-19 05:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496600064001,"power":27365,"unknown_32":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":2988560594226335744}} 
[2026-08-19 05:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":158594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:06:11] local.INFO: GPS data processed {"connection_id":158594,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:06:11] local.INFO: Acknowledgment sent {"connection_id":158594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:06:12] local.INFO: TCP Data received {"connection_id":158594,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0173a8be0012d29b08006c05e900009009233..."} 
[2026-08-19 05:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0173a8be0012d29b08006c05e900009009233..."} 
[2026-08-19 05:06:12] local.INFO: Processing buffer {"connection_id":158594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0173a8be0012d29b08006c05e900009009233..."} 
[2026-08-19 05:06:12] local.INFO: Packet analysis {"connection_id":158594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0173a"} 
[2026-08-19 05:06:12] local.INFO: Extracted packet for processing {"connection_id":158594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0173a"} 
[2026-08-19 05:06:12] local.INFO: GPS Element Parsed {"raw_longitude":757706880,"raw_latitude":113270416,"longitude_deg":75.770688,"latitude_deg":11.3270416,"altitude":9,"angle":146,"satellites":51,"speed":57,"hex_longitude":"2d29b080","hex_latitude":"06c05e90","is_valid_coordinates":true} 
[2026-08-19 05:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496601856001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385281170864078848,"note":"Value kept but may cause issues"} 
[2026-08-19 05:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2997004843525920768,"note":"Value kept but may cause issues"} 
[2026-08-19 05:06:12] 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-08-19 05:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787096108000,"timestamp_ms":1787096108000,"timestamp_seconds":1787096108,"priority":1,"record_length":96,"hex_timestamp":"000001a0173a8be0"} 
[2026-08-19 05:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 05:06:12] 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-08-19 05:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496601856001,"66":26604,"32":206,"81":20992,"24":57,"16":385281170864078848,"45":2997004843525920768},"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-08-19 05:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496601856001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:06:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 05:06:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385281170864078848,"km_value":385281170864078.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2997004843525920768,"description":"Unknown IO ID 45"} 
[2026-08-19 05:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496601856001,"power":26604,"unknown_32":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":2997004843525920768}} 
[2026-08-19 05:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":158594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:06:12] local.INFO: GPS data processed {"connection_id":158594,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:06:12] local.INFO: Acknowledgment sent {"connection_id":158594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:06:15] local.INFO: TCP Data received {"connection_id":158594,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0173a8be0012d29b08006c05e900009009233..."} 
[2026-08-19 05:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0173a8be0012d29b08006c05e900009009233..."} 
[2026-08-19 05:06:15] local.INFO: Processing buffer {"connection_id":158594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0173a8be0012d29b08006c05e900009009233..."} 
[2026-08-19 05:06:15] local.INFO: Packet analysis {"connection_id":158594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0173a"} 
[2026-08-19 05:06:15] local.INFO: Extracted packet for processing {"connection_id":158594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0173a"} 
[2026-08-19 05:06:15] local.INFO: GPS Element Parsed {"raw_longitude":757706880,"raw_latitude":113270416,"longitude_deg":75.770688,"latitude_deg":11.3270416,"altitude":9,"angle":146,"satellites":51,"speed":57,"hex_longitude":"2d29b080","hex_latitude":"06c05e90","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496603648001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385281170864078848,"note":"Value kept but may cause issues"} 
[2026-08-19 05:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3004041717941702656,"note":"Value kept but may cause issues"} 
[2026-08-19 05:06:15] 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-08-19 05:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787096108000,"timestamp_ms":1787096108000,"timestamp_seconds":1787096108,"priority":1,"record_length":96,"hex_timestamp":"000001a0173a8be0"} 
[2026-08-19 05:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:06: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-08-19 05: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-08-19 05:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496603648001,"66":26604,"32":206,"81":20992,"24":57,"16":385281170864078848,"45":3004041717941702656},"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-08-19 05:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496603648001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:06:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 05:06:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385281170864078848,"km_value":385281170864078.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3004041717941702656,"description":"Unknown IO ID 45"} 
[2026-08-19 05:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496603648001,"power":26604,"unknown_32":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":3004041717941702656}} 
[2026-08-19 05:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":158594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:06:15] local.INFO: GPS data processed {"connection_id":158594,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:06:15] local.INFO: Acknowledgment sent {"connection_id":158594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:07:00] local.INFO: TCP Data received {"connection_id":157329,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:07:00] local.INFO: Processing buffer {"connection_id":157329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:07:00] local.INFO: IMEI packet received {"connection_id":157329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":157329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:07:04] local.INFO: TCP Data received {"connection_id":157329,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:07:04] local.INFO: Processing buffer {"connection_id":157329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:07:04] local.INFO: IMEI packet received {"connection_id":157329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":157329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:07:07] local.INFO: TCP Data received {"connection_id":157329,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0173aa738012d29c64006c03d280009009333..."} 
[2026-08-19 05:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0173aa738012d29c64006c03d280009009333..."} 
[2026-08-19 05:07:07] local.INFO: Processing buffer {"connection_id":157329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0173aa738012d29c64006c03d280009009333..."} 
[2026-08-19 05:07:07] local.INFO: Packet analysis {"connection_id":157329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0173a"} 
[2026-08-19 05:07:07] local.INFO: Extracted packet for processing {"connection_id":157329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0173a"} 
[2026-08-19 05:07:07] local.INFO: GPS Element Parsed {"raw_longitude":757712448,"raw_latitude":113261864,"longitude_deg":75.7712448,"latitude_deg":11.3261864,"altitude":9,"angle":147,"satellites":51,"speed":58,"hex_longitude":"2d29c640","hex_latitude":"06c03d28","is_valid_coordinates":true} 
[2026-08-19 05:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496603648001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385281664785317888,"note":"Value kept but may cause issues"} 
[2026-08-19 05:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3004041717941702656,"note":"Value kept but may cause issues"} 
[2026-08-19 05:07:07] 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-08-19 05:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787096115000,"timestamp_ms":1787096115000,"timestamp_seconds":1787096115,"priority":1,"record_length":96,"hex_timestamp":"000001a0173aa738"} 
[2026-08-19 05:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-08-19 05:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496603648001,"66":27321,"32":206,"81":20992,"24":58,"16":385281664785317888,"45":3004041717941702656},"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-08-19 05:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496603648001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:07:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 05:07:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385281664785317888,"km_value":385281664785317.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3004041717941702656,"description":"Unknown IO ID 45"} 
[2026-08-19 05:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496603648001,"power":27321,"unknown_32":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":3004041717941702656}} 
[2026-08-19 05:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":157329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:07:07] local.INFO: GPS data processed {"connection_id":157329,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:07:07] local.INFO: Acknowledgment sent {"connection_id":157329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:07:08] local.INFO: TCP Data received {"connection_id":157329,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0173abea8012d29d98006c01fc00008009332..."} 
[2026-08-19 05:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0173abea8012d29d98006c01fc00008009332..."} 
[2026-08-19 05:07:08] local.INFO: Processing buffer {"connection_id":157329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0173abea8012d29d98006c01fc00008009332..."} 
[2026-08-19 05:07:08] local.INFO: Packet analysis {"connection_id":157329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0173a"} 
[2026-08-19 05:07:08] local.INFO: Extracted packet for processing {"connection_id":157329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0173a"} 
[2026-08-19 05:07:08] local.INFO: GPS Element Parsed {"raw_longitude":757717376,"raw_latitude":113254336,"longitude_deg":75.7717376,"latitude_deg":11.3254336,"altitude":8,"angle":147,"satellites":50,"speed":60,"hex_longitude":"2d29d980","hex_latitude":"06c01fc0","is_valid_coordinates":true} 
[2026-08-19 05:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496605440001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385282098577014784,"note":"Value kept but may cause issues"} 
[2026-08-19 05:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3010163798682970112,"note":"Value kept but may cause issues"} 
[2026-08-19 05:07: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-08-19 05:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787096121000,"timestamp_ms":1787096121000,"timestamp_seconds":1787096121,"priority":1,"record_length":96,"hex_timestamp":"000001a0173abea8"} 
[2026-08-19 05:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:07: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-08-19 05:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 05:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":157329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":157329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":157329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:07:08] 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-08-19 05:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496605440001,"66":27310,"73":206,"81":20992,"24":60,"16":385282098577014784,"45":3010163798682970112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-08-19 05:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496605440001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:07:08] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-19 05:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385282098577014784,"km_value":385282098577014.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3010163798682970112,"description":"Unknown IO ID 45"} 
[2026-08-19 05:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496605440001,"power":27310,"unknown_73":206,"unknown_81":20992,"ignition":60,"odometer":null,"unknown_45":3010163798682970112}} 
[2026-08-19 05:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":157329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:07:08] local.INFO: GPS data processed {"connection_id":157329,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:07:08] local.INFO: Acknowledgment sent {"connection_id":157329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:07:41] local.INFO: TCP Data received {"connection_id":157329,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0173c06c8012d2b02c006bea7f00007008e33..."} 
[2026-08-19 05:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0173c06c8012d2b02c006bea7f00007008e33..."} 
[2026-08-19 05:07:41] local.INFO: Processing buffer {"connection_id":157329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0173c06c8012d2b02c006bea7f00007008e33..."} 
[2026-08-19 05:07:41] local.INFO: Packet analysis {"connection_id":157329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0173c"} 
[2026-08-19 05:07:41] local.INFO: Extracted packet for processing {"connection_id":157329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0173c"} 
[2026-08-19 05:07:41] local.INFO: GPS Element Parsed {"raw_longitude":757793472,"raw_latitude":113158128,"longitude_deg":75.7793472,"latitude_deg":11.3158128,"altitude":7,"angle":142,"satellites":51,"speed":57,"hex_longitude":"2d2b02c0","hex_latitude":"06bea7f0","is_valid_coordinates":true} 
[2026-08-19 05:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496626688001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385288004157046784,"note":"Value kept but may cause issues"} 
[2026-08-19 05:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3092354491857965056,"note":"Value kept but may cause issues"} 
[2026-08-19 05:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787096205000,"timestamp_ms":1787096205000,"timestamp_seconds":1787096205,"priority":1,"record_length":96,"hex_timestamp":"000001a0173c06c8"} 
[2026-08-19 05:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 05:07:41] 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-08-19 05:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496626688001,"66":27343,"125":206,"81":20992,"24":57,"16":385288004157046784,"45":3092354491857965056},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-08-19 05:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496626688001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:07:41] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-19 05:07:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385288004157046784,"km_value":385288004157046.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3092354491857965056,"description":"Unknown IO ID 45"} 
[2026-08-19 05:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496626688001,"power":27343,"unknown_125":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":3092354491857965056}} 
[2026-08-19 05:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":157329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:07:41] local.INFO: GPS data processed {"connection_id":157329,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:07:41] local.INFO: Acknowledgment sent {"connection_id":157329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:08:10] local.INFO: TCP Data received {"connection_id":157330,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:08:10] local.INFO: Processing buffer {"connection_id":157330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:08:10] local.INFO: IMEI packet received {"connection_id":157330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":157330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:08:12] local.INFO: TCP Data received {"connection_id":157330,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:08:12] local.INFO: Processing buffer {"connection_id":157330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:08:12] local.INFO: IMEI packet received {"connection_id":157330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":157330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:08:15] local.INFO: TCP Data received {"connection_id":157330,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:08:15] local.INFO: Processing buffer {"connection_id":157330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:08:15] local.INFO: IMEI packet received {"connection_id":157330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":157330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:08:20] local.INFO: TCP Data received {"connection_id":157330,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0173c2220012d2b1a0006be89380007008f32..."} 
[2026-08-19 05:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0173c2220012d2b1a0006be89380007008f32..."} 
[2026-08-19 05:08:20] local.INFO: Processing buffer {"connection_id":157330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0173c2220012d2b1a0006be89380007008f32..."} 
[2026-08-19 05:08:20] local.INFO: Packet analysis {"connection_id":157330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0173c"} 
[2026-08-19 05:08:20] local.INFO: Extracted packet for processing {"connection_id":157330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0173c"} 
[2026-08-19 05:08:20] local.INFO: GPS Element Parsed {"raw_longitude":757799424,"raw_latitude":113150264,"longitude_deg":75.7799424,"latitude_deg":11.3150264,"altitude":7,"angle":143,"satellites":50,"speed":54,"hex_longitude":"2d2b1a00","hex_latitude":"06be8938","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496628480001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385288476603449344,"note":"Value kept but may cause issues"} 
[2026-08-19 05:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3099250628785336320,"note":"Value kept but may cause issues"} 
[2026-08-19 05:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787096212000,"timestamp_ms":1787096212000,"timestamp_seconds":1787096212,"priority":1,"record_length":96,"hex_timestamp":"000001a0173c2220"} 
[2026-08-19 05:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:08: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-08-19 05: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 05:08:20] 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-08-19 05: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-08-19 05:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:08: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-08-19 05:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496628480001,"66":27376,"125":206,"81":20992,"24":54,"16":385288476603449344,"45":3099250628785336320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-08-19 05:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496628480001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:08:20] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-19 05:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385288476603449344,"km_value":385288476603449.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3099250628785336320,"description":"Unknown IO ID 45"} 
[2026-08-19 05:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496628480001,"power":27376,"unknown_125":206,"unknown_81":20992,"ignition":54,"odometer":null,"unknown_45":3099250628785336320}} 
[2026-08-19 05:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":157330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:08:20] local.INFO: GPS data processed {"connection_id":157330,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:08:20] local.INFO: Acknowledgment sent {"connection_id":157330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:09:05] local.INFO: TCP Data received {"connection_id":158595,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:09:05] local.INFO: Processing buffer {"connection_id":158595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:09:05] local.INFO: IMEI packet received {"connection_id":158595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":158595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:09:09] local.INFO: TCP Data received {"connection_id":158595,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:09:09] local.INFO: Processing buffer {"connection_id":158595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:09:09] local.INFO: IMEI packet received {"connection_id":158595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":158595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:09:10] local.INFO: TCP Data received {"connection_id":158595,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:09:10] local.INFO: Processing buffer {"connection_id":158595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:09:10] local.INFO: IMEI packet received {"connection_id":158595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":158595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:09:15] local.INFO: TCP Data received {"connection_id":158595,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:09:15] local.INFO: Processing buffer {"connection_id":158595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:09:15] local.INFO: IMEI packet received {"connection_id":158595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":158595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:09:16] local.INFO: TCP Data received {"connection_id":158595,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0173d52d0012d2c214006bd5cb80011007d2e..."} 
[2026-08-19 05:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0173d52d0012d2c214006bd5cb80011007d2e..."} 
[2026-08-19 05:09:16] local.INFO: Processing buffer {"connection_id":158595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0173d52d0012d2c214006bd5cb80011007d2e..."} 
[2026-08-19 05:09:16] local.INFO: Packet analysis {"connection_id":158595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0173d"} 
[2026-08-19 05:09:16] local.INFO: Extracted packet for processing {"connection_id":158595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0173d"} 
[2026-08-19 05:09:16] local.INFO: GPS Element Parsed {"raw_longitude":757866816,"raw_latitude":113073336,"longitude_deg":75.7866816,"latitude_deg":11.3073336,"altitude":17,"angle":125,"satellites":46,"speed":51,"hex_longitude":"2d2c2140","hex_latitude":"06bd5cb8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496648448001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385293407225905152,"note":"Value kept but may cause issues"} 
[2026-08-19 05:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3172152647733172224,"note":"Value kept but may cause issues"} 
[2026-08-19 05:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787096290000,"timestamp_ms":1787096290000,"timestamp_seconds":1787096290,"priority":1,"record_length":96,"hex_timestamp":"000001a0173d52d0"} 
[2026-08-19 05:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 05:09:16] 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-08-19 05: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-08-19 05:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496648448001,"66":27397,"141":206,"81":20992,"24":51,"16":385293407225905152,"45":3172152647733172224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-08-19 05:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496648448001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:09:16] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-19 05:09:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385293407225905152,"km_value":385293407225905.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3172152647733172224,"description":"Unknown IO ID 45"} 
[2026-08-19 05:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496648448001,"power":27397,"unknown_141":206,"unknown_81":20992,"ignition":51,"odometer":null,"unknown_45":3172152647733172224}} 
[2026-08-19 05:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":158595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:09:16] local.INFO: GPS data processed {"connection_id":158595,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:09:16] local.INFO: Acknowledgment sent {"connection_id":158595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:10:01] local.INFO: TCP Data received {"connection_id":159874,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:10:01] local.INFO: Processing buffer {"connection_id":159874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:10:01] local.INFO: IMEI packet received {"connection_id":159874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":159874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:10:03] local.INFO: TCP Data received {"connection_id":159874,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:10:03] local.INFO: Processing buffer {"connection_id":159874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:10:03] local.INFO: IMEI packet received {"connection_id":159874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":159874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:10:06] local.INFO: TCP Data received {"connection_id":159874,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0173d6e28012d2c3d4006bd47a0001200832f..."} 
[2026-08-19 05:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0173d6e28012d2c3d4006bd47a0001200832f..."} 
[2026-08-19 05:10:06] local.INFO: Processing buffer {"connection_id":159874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0173d6e28012d2c3d4006bd47a0001200832f..."} 
[2026-08-19 05:10:06] local.INFO: Packet analysis {"connection_id":159874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0173d"} 
[2026-08-19 05:10:06] local.INFO: Extracted packet for processing {"connection_id":159874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0173d"} 
[2026-08-19 05:10:06] local.INFO: GPS Element Parsed {"raw_longitude":757873984,"raw_latitude":113067936,"longitude_deg":75.7873984,"latitude_deg":11.3067936,"altitude":18,"angle":131,"satellites":47,"speed":51,"hex_longitude":"2d2c3d40","hex_latitude":"06bd47a0","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496650240001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385293841017602048,"note":"Value kept but may cause issues"} 
[2026-08-19 05:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3179893209591232512,"note":"Value kept but may cause issues"} 
[2026-08-19 05:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787096297000,"timestamp_ms":1787096297000,"timestamp_seconds":1787096297,"priority":1,"record_length":96,"hex_timestamp":"000001a0173d6e28"} 
[2026-08-19 05:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 05:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:10:06] 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-08-19 05:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496650240001,"66":27365,"141":206,"81":20992,"24":51,"16":385293841017602048,"45":3179893209591232512},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-08-19 05:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496650240001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:10:06] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-19 05:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385293841017602048,"km_value":385293841017602.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3179893209591232512,"description":"Unknown IO ID 45"} 
[2026-08-19 05:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496650240001,"power":27365,"unknown_141":206,"unknown_81":20992,"ignition":51,"odometer":null,"unknown_45":3179893209591232512}} 
[2026-08-19 05:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":159874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:10:06] local.INFO: GPS data processed {"connection_id":159874,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:10:06] local.INFO: Acknowledgment sent {"connection_id":159874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:10:37] local.INFO: TCP Data received {"connection_id":159874,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0173eae78012d2d688006bbf7c8000e008a32..."} 
[2026-08-19 05:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0173eae78012d2d688006bbf7c8000e008a32..."} 
[2026-08-19 05:10:37] local.INFO: Processing buffer {"connection_id":159874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0173eae78012d2d688006bbf7c8000e008a32..."} 
[2026-08-19 05:10:37] local.INFO: Packet analysis {"connection_id":159874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0173e"} 
[2026-08-19 05:10:37] local.INFO: Extracted packet for processing {"connection_id":159874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0173e"} 
[2026-08-19 05:10:37] local.INFO: GPS Element Parsed {"raw_longitude":757950592,"raw_latitude":112981960,"longitude_deg":75.7950592,"latitude_deg":11.298196,"altitude":14,"angle":138,"satellites":50,"speed":53,"hex_longitude":"2d2d6880","hex_latitude":"06bbf7c8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496671232001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385299377230446592,"note":"Value kept but may cause issues"} 
[2026-08-19 05:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3265039390024650752,"note":"Value kept but may cause issues"} 
[2026-08-19 05:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787096379000,"timestamp_ms":1787096379000,"timestamp_seconds":1787096379,"priority":1,"record_length":96,"hex_timestamp":"000001a0173eae78"} 
[2026-08-19 05:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 05:10:37] 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-08-19 05: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-08-19 05:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496671232001,"66":27300,"223":206,"81":20992,"24":53,"16":385299377230446592,"45":3265039390024650752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,81,24,16,45]} 
[2026-08-19 05:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496671232001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:10:37] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-19 05:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385299377230446592,"km_value":385299377230446.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3265039390024650752,"description":"Unknown IO ID 45"} 
[2026-08-19 05:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496671232001,"power":27300,"unknown_223":206,"unknown_81":20992,"ignition":53,"odometer":null,"unknown_45":3265039390024650752}} 
[2026-08-19 05:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":159874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:10:37] local.INFO: GPS data processed {"connection_id":159874,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:10:37] local.INFO: Acknowledgment sent {"connection_id":159874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:11:01] local.INFO: TCP Data received {"connection_id":157703,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:11:01] local.INFO: Processing buffer {"connection_id":157703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:11:01] local.INFO: IMEI packet received {"connection_id":157703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":157703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:11:04] local.INFO: TCP Data received {"connection_id":157703,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:11:04] local.INFO: Processing buffer {"connection_id":157703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:11:04] local.INFO: IMEI packet received {"connection_id":157703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":157703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:11:05] local.INFO: TCP Data received {"connection_id":157703,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0173ec9d0012d2d810006bbdce0000e008b31..."} 
[2026-08-19 05:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0173ec9d0012d2d810006bbdce0000e008b31..."} 
[2026-08-19 05:11:05] local.INFO: Processing buffer {"connection_id":157703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0173ec9d0012d2d810006bbdce0000e008b31..."} 
[2026-08-19 05:11:05] local.INFO: Packet analysis {"connection_id":157703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0173e"} 
[2026-08-19 05:11:05] local.INFO: Extracted packet for processing {"connection_id":157703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0173e"} 
[2026-08-19 05:11:05] local.INFO: GPS Element Parsed {"raw_longitude":757956864,"raw_latitude":112975072,"longitude_deg":75.7956864,"latitude_deg":11.2975072,"altitude":14,"angle":139,"satellites":49,"speed":51,"hex_longitude":"2d2d8100","hex_latitude":"06bbdce0","is_valid_coordinates":true} 
[2026-08-19 05:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496673024001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385299823907045376,"note":"Value kept but may cause issues"} 
[2026-08-19 05:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3272005895696402432,"note":"Value kept but may cause issues"} 
[2026-08-19 05:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787096386000,"timestamp_ms":1787096386000,"timestamp_seconds":1787096386,"priority":1,"record_length":96,"hex_timestamp":"000001a0173ec9d0"} 
[2026-08-19 05:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:11: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-08-19 05:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 05:11:05] 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-08-19 05:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496673024001,"66":27332,"223":206,"81":20992,"24":51,"16":385299823907045376,"45":3272005895696402432},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,81,24,16,45]} 
[2026-08-19 05:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496673024001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:11:05] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-19 05:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 05:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385299823907045376,"km_value":385299823907045.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3272005895696402432,"description":"Unknown IO ID 45"} 
[2026-08-19 05:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496673024001,"power":27332,"unknown_223":206,"unknown_81":20992,"ignition":51,"odometer":null,"unknown_45":3272005895696402432}} 
[2026-08-19 05:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":157703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:11:05] local.INFO: GPS data processed {"connection_id":157703,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:11:05] local.INFO: Acknowledgment sent {"connection_id":157703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:11:51] local.INFO: TCP Data received {"connection_id":157703,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0173ee528012d2d980006bbc270000f008a32..."} 
[2026-08-19 05:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0173ee528012d2d980006bbc270000f008a32..."} 
[2026-08-19 05:11:51] local.INFO: Processing buffer {"connection_id":157703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0173ee528012d2d980006bbc270000f008a32..."} 
[2026-08-19 05:11:51] local.INFO: Packet analysis {"connection_id":157703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0173e"} 
[2026-08-19 05:11:51] local.INFO: Extracted packet for processing {"connection_id":157703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0173e"} 
[2026-08-19 05:11:51] local.INFO: GPS Element Parsed {"raw_longitude":757962752,"raw_latitude":112968304,"longitude_deg":75.7962752,"latitude_deg":11.2968304,"altitude":15,"angle":138,"satellites":50,"speed":51,"hex_longitude":"2d2d9800","hex_latitude":"06bbc270","is_valid_coordinates":true} 
[2026-08-19 05:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496674816001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385300253403774976,"note":"Value kept but may cause issues"} 
[2026-08-19 05:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3278902032624050176,"note":"Value kept but may cause issues"} 
[2026-08-19 05:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787096393000,"timestamp_ms":1787096393000,"timestamp_seconds":1787096393,"priority":1,"record_length":96,"hex_timestamp":"000001a0173ee528"} 
[2026-08-19 05:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:11: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-08-19 05:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 05:11:51] 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-08-19 05:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:11: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-08-19 05:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496674816001,"66":27365,"1":206,"81":21760,"24":51,"16":385300253403774976,"45":3278902032624050176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,81,24,16,45]} 
[2026-08-19 05:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496674816001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:11:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-08-19 05:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385300253403774976,"km_value":385300253403775.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3278902032624050176,"description":"Unknown IO ID 45"} 
[2026-08-19 05:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496674816001,"power":27365,"imei":206,"unknown_81":21760,"ignition":51,"odometer":null,"unknown_45":3278902032624050176}} 
[2026-08-19 05:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":157703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:11:51] local.INFO: GPS data processed {"connection_id":157703,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:11:51] local.INFO: Acknowledgment sent {"connection_id":157703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:12:05] local.INFO: TCP Data received {"connection_id":158596,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:12:05] local.INFO: Processing buffer {"connection_id":158596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:12:05] local.INFO: IMEI packet received {"connection_id":158596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":158596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:12:07] local.INFO: TCP Data received {"connection_id":158596,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:12:07] local.INFO: Processing buffer {"connection_id":158596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:12:07] local.INFO: IMEI packet received {"connection_id":158596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":158596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:12:11] local.INFO: TCP Data received {"connection_id":158596,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:12:11] local.INFO: Processing buffer {"connection_id":158596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:12:11] local.INFO: IMEI packet received {"connection_id":158596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":158596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:12:13] local.INFO: TCP Data received {"connection_id":158596,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0173feec8012d2e3e0006ba6b300016009930..."} 
[2026-08-19 05:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0173feec8012d2e3e0006ba6b300016009930..."} 
[2026-08-19 05:12:13] local.INFO: Processing buffer {"connection_id":158596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0173feec8012d2e3e0006ba6b300016009930..."} 
[2026-08-19 05:12:13] local.INFO: Packet analysis {"connection_id":158596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0173f"} 
[2026-08-19 05:12:13] local.INFO: Extracted packet for processing {"connection_id":158596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0173f"} 
[2026-08-19 05:12:13] local.INFO: GPS Element Parsed {"raw_longitude":758005248,"raw_latitude":112880432,"longitude_deg":75.8005248,"latitude_deg":11.2880432,"altitude":22,"angle":153,"satellites":48,"speed":53,"hex_longitude":"2d2e3e00","hex_latitude":"06ba6b30","is_valid_coordinates":true} 
[2026-08-19 05:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496692224001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385304977867800576,"note":"Value kept but may cause issues"} 
[2026-08-19 05:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3327737941061314560,"note":"Value kept but may cause issues"} 
[2026-08-19 05:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787096461000,"timestamp_ms":1787096461000,"timestamp_seconds":1787096461,"priority":1,"record_length":96,"hex_timestamp":"000001a0173feec8"} 
[2026-08-19 05:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:12: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-08-19 05:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 05:12:13] 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-08-19 05:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496692224001,"66":27234,"1":206,"81":21760,"24":53,"16":385304977867800576,"45":3327737941061314560},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,81,24,16,45]} 
[2026-08-19 05:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496692224001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:12:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-08-19 05:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385304977867800576,"km_value":385304977867800.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3327737941061314560,"description":"Unknown IO ID 45"} 
[2026-08-19 05:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496692224001,"power":27234,"imei":206,"unknown_81":21760,"ignition":53,"odometer":null,"unknown_45":3327737941061314560}} 
[2026-08-19 05:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":158596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:12:13] local.INFO: GPS data processed {"connection_id":158596,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:12:13] local.INFO: Acknowledgment sent {"connection_id":158596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:12:45] local.INFO: TCP Data received {"connection_id":158596,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017400a20012d2e4f4006ba49980018009831..."} 
[2026-08-19 05:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017400a20012d2e4f4006ba49980018009831..."} 
[2026-08-19 05:12:45] local.INFO: Processing buffer {"connection_id":158596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017400a20012d2e4f4006ba49980018009831..."} 
[2026-08-19 05:12:45] local.INFO: Packet analysis {"connection_id":158596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01740"} 
[2026-08-19 05:12:45] local.INFO: Extracted packet for processing {"connection_id":158596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01740"} 
[2026-08-19 05:12:45] local.INFO: GPS Element Parsed {"raw_longitude":758009664,"raw_latitude":112871832,"longitude_deg":75.8009664,"latitude_deg":11.2871832,"altitude":24,"angle":152,"satellites":49,"speed":55,"hex_longitude":"2d2e4f40","hex_latitude":"06ba4998","is_valid_coordinates":true} 
[2026-08-19 05:12: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-08-19 05:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496694016001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385305446019235840,"note":"Value kept but may cause issues"} 
[2026-08-19 05:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3332100803198136320,"note":"Value kept but may cause issues"} 
[2026-08-19 05:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787096468000,"timestamp_ms":1787096468000,"timestamp_seconds":1787096468,"priority":1,"record_length":96,"hex_timestamp":"000001a017400a20"} 
[2026-08-19 05:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:12: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-08-19 05:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 05:12:45] 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-08-19 05:12: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-08-19 05:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:12:45] 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-08-19 05:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496694016001,"66":27463,"1":206,"81":21760,"24":55,"16":385305446019235840,"45":3332100803198136320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,81,24,16,45]} 
[2026-08-19 05:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496694016001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:12:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-08-19 05:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385305446019235840,"km_value":385305446019235.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3332100803198136320,"description":"Unknown IO ID 45"} 
[2026-08-19 05:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496694016001,"power":27463,"imei":206,"unknown_81":21760,"ignition":55,"odometer":null,"unknown_45":3332100803198136320}} 
[2026-08-19 05:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":158596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:12:45] local.INFO: GPS data processed {"connection_id":158596,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:12:45] local.INFO: Acknowledgment sent {"connection_id":158596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:13:00] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:13:00] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:13:00] local.INFO: IMEI packet received {"connection_id":159875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":159875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:13:03] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:13:03] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:13:03] local.INFO: IMEI packet received {"connection_id":159875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":159875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:13:05] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:13:05] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:13:05] local.INFO: IMEI packet received {"connection_id":159875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":159875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:13:06] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017402578012d2e5e0006ba2680001a009e2d..."} 
[2026-08-19 05:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017402578012d2e5e0006ba2680001a009e2d..."} 
[2026-08-19 05:13:06] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017402578012d2e5e0006ba2680001a009e2d..."} 
[2026-08-19 05:13:06] local.INFO: Packet analysis {"connection_id":159875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01740"} 
[2026-08-19 05:13:06] local.INFO: Extracted packet for processing {"connection_id":159875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01740"} 
[2026-08-19 05:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758013440,"raw_latitude":112862848,"longitude_deg":75.801344,"latitude_deg":11.2862848,"altitude":26,"angle":158,"satellites":45,"speed":54,"hex_longitude":"2d2e5e00","hex_latitude":"06ba2680","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496695808001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385305918465638400,"note":"Value kept but may cause issues"} 
[2026-08-19 05:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3336956246544193536,"note":"Value kept but may cause issues"} 
[2026-08-19 05:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787096475000,"timestamp_ms":1787096475000,"timestamp_seconds":1787096475,"priority":1,"record_length":96,"hex_timestamp":"000001a017402578"} 
[2026-08-19 05:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 05:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:13:06] 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-08-19 05:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496695808001,"66":27397,"230":206,"81":23552,"24":54,"16":385305918465638400,"45":3336956246544193536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-08-19 05:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496695808001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:13:06] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-19 05:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385305918465638400,"km_value":385305918465638.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3336956246544193536,"description":"Unknown IO ID 45"} 
[2026-08-19 05:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496695808001,"power":27397,"unknown_230":206,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3336956246544193536}} 
[2026-08-19 05:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":159875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:13:06] local.INFO: GPS data processed {"connection_id":159875,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:13:06] local.INFO: Acknowledgment sent {"connection_id":159875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:13:37] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017416d98012d2f490006b877d80007009632..."} 
[2026-08-19 05:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017416d98012d2f490006b877d80007009632..."} 
[2026-08-19 05:13:37] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017416d98012d2f490006b877d80007009632..."} 
[2026-08-19 05:13:37] local.INFO: Packet analysis {"connection_id":159875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01741"} 
[2026-08-19 05:13:37] local.INFO: Extracted packet for processing {"connection_id":159875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01741"} 
[2026-08-19 05:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758073600,"raw_latitude":112752600,"longitude_deg":75.80736,"latitude_deg":11.27526,"altitude":7,"angle":150,"satellites":50,"speed":57,"hex_longitude":"2d2f4900","hex_latitude":"06b877d8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496717312001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385311991549394944,"note":"Value kept but may cause issues"} 
[2026-08-19 05:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3401343647438465024,"note":"Value kept but may cause issues"} 
[2026-08-19 05:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787096559000,"timestamp_ms":1787096559000,"timestamp_seconds":1787096559,"priority":1,"record_length":96,"hex_timestamp":"000001a017416d98"} 
[2026-08-19 05:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 05:13:37] 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-08-19 05: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-08-19 05:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496717312001,"66":27267,"230":206,"81":23552,"24":57,"16":385311991549394944,"45":3401343647438465024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-08-19 05:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496717312001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:13:37] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-19 05:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385311991549394944,"km_value":385311991549394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3401343647438465024,"description":"Unknown IO ID 45"} 
[2026-08-19 05:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496717312001,"power":27267,"unknown_230":206,"unknown_81":23552,"ignition":57,"odometer":null,"unknown_45":3401343647438465024}} 
[2026-08-19 05:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":159875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:13:37] local.INFO: GPS data processed {"connection_id":159875,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:13:37] local.INFO: Acknowledgment sent {"connection_id":159875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:14:05] local.INFO: TCP Data received {"connection_id":157704,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:14:05] local.INFO: Processing buffer {"connection_id":157704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:14:05] local.INFO: IMEI packet received {"connection_id":157704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":157704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:14:07] local.INFO: TCP Data received {"connection_id":157704,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:14:07] local.INFO: Processing buffer {"connection_id":157704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:14:07] local.INFO: IMEI packet received {"connection_id":157704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":157704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:14:23] local.INFO: TCP Data received {"connection_id":157704,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:14:23] local.INFO: Processing buffer {"connection_id":157704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:14:23] local.INFO: IMEI packet received {"connection_id":157704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":157704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:14:24] local.INFO: TCP Data received {"connection_id":157704,"ip":"42.106.6.36","data_length":1348,"data_hex":"000000000000030f8e0a000001a0174188f0012d2f5b0006b854f00009009a33..."} 
[2026-08-19 05:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157704,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a0174188f0012d2f5b0006b854f00009009a33..."} 
[2026-08-19 05:14:24] local.INFO: Processing buffer {"connection_id":157704,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a0174188f0012d2f5b0006b854f00009009a33..."} 
[2026-08-19 05:14:24] local.INFO: Packet analysis {"connection_id":157704,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a01741"} 
[2026-08-19 05:14:24] local.INFO: Extracted packet for processing {"connection_id":157704,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a01741"} 
[2026-08-19 05:14:24] local.INFO: GPS Element Parsed {"raw_longitude":758078208,"raw_latitude":112743664,"longitude_deg":75.8078208,"latitude_deg":11.2743664,"altitude":9,"angle":154,"satellites":51,"speed":57,"hex_longitude":"2d2f5b00","hex_latitude":"06b854f0","is_valid_coordinates":true} 
[2026-08-19 05:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496719104001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385312476880699392,"note":"Value kept but may cause issues"} 
[2026-08-19 05:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3407254621947156480,"note":"Value kept but may cause issues"} 
[2026-08-19 05:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787096566000,"timestamp_ms":1787096566000,"timestamp_seconds":1787096566,"priority":1,"record_length":96,"hex_timestamp":"000001a0174188f0"} 
[2026-08-19 05:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:14:24] 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-08-19 05:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 05:14:24] 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-08-19 05:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":157704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":157704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":157704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:14:24] 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-08-19 05:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496719104001,"66":27321,"230":206,"81":23552,"24":57,"16":385312476880699392,"45":3407254621947156480},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-08-19 05:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496719104001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:14:24] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-19 05:14:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385312476880699392,"km_value":385312476880699.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3407254621947156480,"description":"Unknown IO ID 45"} 
[2026-08-19 05:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496719104001,"power":27321,"unknown_230":206,"unknown_81":23552,"ignition":57,"odometer":null,"unknown_45":3407254621947156480}} 
[2026-08-19 05:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":157704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:14:24] local.INFO: GPS data processed {"connection_id":157704,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:14:24] local.INFO: Acknowledgment sent {"connection_id":157704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:14:24] local.INFO: Packet analysis {"connection_id":157704,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a01741"} 
[2026-08-19 05:14:24] local.INFO: Incomplete packet, waiting for more data {"connection_id":157704,"needed":795,"available":553} 
[2026-08-19 05:14:25] local.INFO: TCP Data received {"connection_id":157704,"ip":"42.106.6.36","data_length":1037,"data_hex":"000000000001a01740ecb0012d2ee50006b91ad0000b009630003f0000000a00..."} 
[2026-08-19 05:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157704,"packet_length":1037,"packet_hex":"000000000001a01740ecb0012d2ee50006b91ad0000b009630003f0000000a00..."} 
[2026-08-19 05:14:25] local.INFO: Processing buffer {"connection_id":157704,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a01741a448012d2f6c0006b830800008009b31..."} 
[2026-08-19 05:14:25] local.INFO: Packet analysis {"connection_id":157704,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a01741"} 
[2026-08-19 05:14:25] local.INFO: Extracted packet for processing {"connection_id":157704,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01741"} 
[2026-08-19 05:14:25] local.INFO: GPS Element Parsed {"raw_longitude":758082560,"raw_latitude":112734336,"longitude_deg":75.808256,"latitude_deg":11.2734336,"altitude":8,"angle":155,"satellites":49,"speed":59,"hex_longitude":"2d2f6c00","hex_latitude":"06b83080","is_valid_coordinates":true} 
[2026-08-19 05:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496720896001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385312975096905728,"note":"Value kept but may cause issues"} 
[2026-08-19 05:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3412321171525660672,"note":"Value kept but may cause issues"} 
[2026-08-19 05:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787096573000,"timestamp_ms":1787096573000,"timestamp_seconds":1787096573,"priority":1,"record_length":96,"hex_timestamp":"000001a01741a448"} 
[2026-08-19 05:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:14: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-08-19 05:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 05:14:25] 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-08-19 05:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":157704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":157704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":157704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:14: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-08-19 05:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496720896001,"66":27234,"230":206,"81":23552,"24":59,"16":385312975096905728,"45":3412321171525660672},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-08-19 05:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496720896001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:14:25] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-19 05:14:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385312975096905728,"km_value":385312975096905.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3412321171525660672,"description":"Unknown IO ID 45"} 
[2026-08-19 05:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496720896001,"power":27234,"unknown_230":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3412321171525660672}} 
[2026-08-19 05:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":157704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:14:25] local.INFO: GPS data processed {"connection_id":157704,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:14:25] local.INFO: Acknowledgment sent {"connection_id":157704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:14:25] local.INFO: Packet analysis {"connection_id":157704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01741"} 
[2026-08-19 05:14:25] local.INFO: Extracted packet for processing {"connection_id":157704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01741"} 
[2026-08-19 05:14:25] local.INFO: GPS Element Parsed {"raw_longitude":758086400,"raw_latitude":112726120,"longitude_deg":75.80864,"latitude_deg":11.272612,"altitude":8,"angle":155,"satellites":51,"speed":60,"hex_longitude":"2d2f7b00","hex_latitude":"06b81068","is_valid_coordinates":true} 
[2026-08-19 05:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496722688001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385313413183569920,"note":"Value kept but may cause issues"} 
[2026-08-19 05:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3417106246127353856,"note":"Value kept but may cause issues"} 
[2026-08-19 05:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787096579000,"timestamp_ms":1787096579000,"timestamp_seconds":1787096579,"priority":1,"record_length":96,"hex_timestamp":"000001a01741bbb8"} 
[2026-08-19 05:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:14:25] 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-08-19 05:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 05:14:25] 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-08-19 05:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":157704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":157704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":157704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:14: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-08-19 05:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496722688001,"66":27267,"52":206,"81":23552,"24":60,"16":385313413183569920,"45":3417106246127353856},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,81,24,16,45]} 
[2026-08-19 05:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496722688001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:14:25] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-19 05:14:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385313413183569920,"km_value":385313413183569.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3417106246127353856,"description":"Unknown IO ID 45"} 
[2026-08-19 05:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496722688001,"power":27267,"unknown_52":206,"unknown_81":23552,"ignition":60,"odometer":null,"unknown_45":3417106246127353856}} 
[2026-08-19 05:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":157704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:14:25] local.INFO: GPS data processed {"connection_id":157704,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:14:25] local.INFO: Acknowledgment sent {"connection_id":157704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:15:01] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:15:01] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:15:01] local.INFO: IMEI packet received {"connection_id":159876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":159876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:15:04] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:15:04] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:15:04] local.INFO: IMEI packet received {"connection_id":159876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":159876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:15:05] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:15:05] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:15:05] local.INFO: IMEI packet received {"connection_id":159876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":159876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:15:06] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01742cd28012d30288006b6bd90000f006e30..."} 
[2026-08-19 05:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01742cd28012d30288006b6bd90000f006e30..."} 
[2026-08-19 05:15:06] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01742cd28012d30288006b6bd90000f006e30..."} 
[2026-08-19 05:15:06] local.INFO: Packet analysis {"connection_id":159876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01742"} 
[2026-08-19 05:15:06] local.INFO: Extracted packet for processing {"connection_id":159876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01742"} 
[2026-08-19 05:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758130816,"raw_latitude":112639376,"longitude_deg":75.8130816,"latitude_deg":11.2639376,"altitude":15,"angle":110,"satellites":48,"speed":61,"hex_longitude":"2d302880","hex_latitude":"06b6bd90","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496740608001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385318287971450880,"note":"Value kept but may cause issues"} 
[2026-08-19 05:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3461227448703477760,"note":"Value kept but may cause issues"} 
[2026-08-19 05:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787096649000,"timestamp_ms":1787096649000,"timestamp_seconds":1787096649,"priority":1,"record_length":96,"hex_timestamp":"000001a01742cd28"} 
[2026-08-19 05:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 05:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:15:06] 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-08-19 05:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496740608001,"66":26930,"201":206,"81":23552,"24":61,"16":385318287971450880,"45":3461227448703477760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-08-19 05:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496740608001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:15:06] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-19 05:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385318287971450880,"km_value":385318287971450.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3461227448703477760,"description":"Unknown IO ID 45"} 
[2026-08-19 05:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496740608001,"power":26930,"unknown_201":206,"unknown_81":23552,"ignition":61,"odometer":null,"unknown_45":3461227448703477760}} 
[2026-08-19 05:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":159876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:15:06] local.INFO: GPS data processed {"connection_id":159876,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:15:06] local.INFO: Acknowledgment sent {"connection_id":159876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:15:07] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01742cd28012d30288006b6bd90000f006e30..."} 
[2026-08-19 05:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01742cd28012d30288006b6bd90000f006e30..."} 
[2026-08-19 05:15:07] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01742cd28012d30288006b6bd90000f006e30..."} 
[2026-08-19 05:15:07] local.INFO: Packet analysis {"connection_id":159876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01742"} 
[2026-08-19 05:15:07] local.INFO: Extracted packet for processing {"connection_id":159876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01742"} 
[2026-08-19 05:15:07] local.INFO: GPS Element Parsed {"raw_longitude":758130816,"raw_latitude":112639376,"longitude_deg":75.8130816,"latitude_deg":11.2639376,"altitude":15,"angle":110,"satellites":48,"speed":61,"hex_longitude":"2d302880","hex_latitude":"06b6bd90","is_valid_coordinates":true} 
[2026-08-19 05:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496742144001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385318287971450880,"note":"Value kept but may cause issues"} 
[2026-08-19 05:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3470164279213002752,"note":"Value kept but may cause issues"} 
[2026-08-19 05:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787096649000,"timestamp_ms":1787096649000,"timestamp_seconds":1787096649,"priority":1,"record_length":96,"hex_timestamp":"000001a01742cd28"} 
[2026-08-19 05:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:15: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-08-19 05:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-19 05:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496742144001,"66":26930,"201":206,"81":23552,"24":61,"16":385318287971450880,"45":3470164279213002752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-08-19 05:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496742144001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:15:07] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-19 05:15:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385318287971450880,"km_value":385318287971450.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3470164279213002752,"description":"Unknown IO ID 45"} 
[2026-08-19 05:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496742144001,"power":26930,"unknown_201":206,"unknown_81":23552,"ignition":61,"odometer":null,"unknown_45":3470164279213002752}} 
[2026-08-19 05:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":159876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:15:07] local.INFO: GPS data processed {"connection_id":159876,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:15:07] local.INFO: Acknowledgment sent {"connection_id":159876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:15:10] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01742e498012d304b0006b6b430000c006431..."} 
[2026-08-19 05:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01742e498012d304b0006b6b430000c006431..."} 
[2026-08-19 05:15:10] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01742e498012d304b0006b6b430000c006431..."} 
[2026-08-19 05:15:10] local.INFO: Packet analysis {"connection_id":159876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01742"} 
[2026-08-19 05:15:10] local.INFO: Extracted packet for processing {"connection_id":159876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01742"} 
[2026-08-19 05:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758139648,"raw_latitude":112636976,"longitude_deg":75.8139648,"latitude_deg":11.2636976,"altitude":12,"angle":100,"satellites":49,"speed":60,"hex_longitude":"2d304b00","hex_latitude":"06b6b430","is_valid_coordinates":true} 
[2026-08-19 05:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496742144001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385318721763147776,"note":"Value kept but may cause issues"} 
[2026-08-19 05:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3470164279213002752,"note":"Value kept but may cause issues"} 
[2026-08-19 05:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787096655000,"timestamp_ms":1787096655000,"timestamp_seconds":1787096655,"priority":1,"record_length":96,"hex_timestamp":"000001a01742e498"} 
[2026-08-19 05:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-19 05:15:10] 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-08-19 05:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496742144001,"66":27321,"201":206,"81":23552,"24":60,"16":385318721763147776,"45":3470164279213002752},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-08-19 05:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496742144001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:15:10] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-19 05:15:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385318721763147776,"km_value":385318721763147.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3470164279213002752,"description":"Unknown IO ID 45"} 
[2026-08-19 05:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496742144001,"power":27321,"unknown_201":206,"unknown_81":23552,"ignition":60,"odometer":null,"unknown_45":3470164279213002752}} 
[2026-08-19 05:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":159876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:15:11] local.INFO: GPS data processed {"connection_id":159876,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:15:11] local.INFO: Acknowledgment sent {"connection_id":159876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:15:42] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01742fc08012d306dc006b6ad88000d006530..."} 
[2026-08-19 05:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01742fc08012d306dc006b6ad88000d006530..."} 
[2026-08-19 05:15:42] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01742fc08012d306dc006b6ad88000d006530..."} 
[2026-08-19 05:15:42] local.INFO: Packet analysis {"connection_id":159876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01742"} 
[2026-08-19 05:15:42] local.INFO: Extracted packet for processing {"connection_id":159876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01742"} 
[2026-08-19 05:15:42] local.INFO: GPS Element Parsed {"raw_longitude":758148544,"raw_latitude":112635272,"longitude_deg":75.8148544,"latitude_deg":11.2635272,"altitude":13,"angle":101,"satellites":48,"speed":58,"hex_longitude":"2d306dc0","hex_latitude":"06b6ad88","is_valid_coordinates":true} 
[2026-08-19 05:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496743680001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385319155554844672,"note":"Value kept but may cause issues"} 
[2026-08-19 05:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3479875165908905984,"note":"Value kept but may cause issues"} 
[2026-08-19 05:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787096661000,"timestamp_ms":1787096661000,"timestamp_seconds":1787096661,"priority":1,"record_length":96,"hex_timestamp":"000001a01742fc08"} 
[2026-08-19 05:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 05:15:42] 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-08-19 05:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496743680001,"66":27267,"201":206,"81":23552,"24":58,"16":385319155554844672,"45":3479875165908905984},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-08-19 05:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496743680001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:15:42] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-19 05:15:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385319155554844672,"km_value":385319155554844.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3479875165908905984,"description":"Unknown IO ID 45"} 
[2026-08-19 05:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496743680001,"power":27267,"unknown_201":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3479875165908905984}} 
[2026-08-19 05:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":159876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:15:42] local.INFO: GPS data processed {"connection_id":159876,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:15:42] local.INFO: Acknowledgment sent {"connection_id":159876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:16:01] local.INFO: TCP Data received {"connection_id":158597,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:16:01] local.INFO: Processing buffer {"connection_id":158597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:16:01] local.INFO: IMEI packet received {"connection_id":158597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":158597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:16:02] local.INFO: TCP Data received {"connection_id":158597,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:16:02] local.INFO: Processing buffer {"connection_id":158597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:16:02] local.INFO: IMEI packet received {"connection_id":158597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":158597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:16:05] local.INFO: TCP Data received {"connection_id":158597,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:16:05] local.INFO: Processing buffer {"connection_id":158597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:16:05] local.INFO: IMEI packet received {"connection_id":158597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":158597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:16:07] local.INFO: TCP Data received {"connection_id":158597,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017431760012d30960006b6a5b0000e00642f..."} 
[2026-08-19 05:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017431760012d30960006b6a5b0000e00642f..."} 
[2026-08-19 05:16:07] local.INFO: Processing buffer {"connection_id":158597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017431760012d30960006b6a5b0000e00642f..."} 
[2026-08-19 05:16:07] local.INFO: Packet analysis {"connection_id":158597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01743"} 
[2026-08-19 05:16:07] local.INFO: Extracted packet for processing {"connection_id":158597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01743"} 
[2026-08-19 05:16:07] local.INFO: GPS Element Parsed {"raw_longitude":758158848,"raw_latitude":112633264,"longitude_deg":75.8158848,"latitude_deg":11.2633264,"altitude":14,"angle":100,"satellites":47,"speed":58,"hex_longitude":"2d309600","hex_latitude":"06b6a5b0","is_valid_coordinates":true} 
[2026-08-19 05:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496745216001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:16:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385319653771051008,"note":"Value kept but may cause issues"} 
[2026-08-19 05:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3489656421349165056,"note":"Value kept but may cause issues"} 
[2026-08-19 05:16: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-08-19 05:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787096668000,"timestamp_ms":1787096668000,"timestamp_seconds":1787096668,"priority":1,"record_length":96,"hex_timestamp":"000001a017431760"} 
[2026-08-19 05:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 05:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496745216001,"66":27213,"200":0,"81":23552,"24":58,"16":385319653771051008,"45":3489656421349165056},"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-08-19 05:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496745216001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:16:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385319653771051008,"km_value":385319653771051.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3489656421349165056,"description":"Unknown IO ID 45"} 
[2026-08-19 05:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496745216001,"power":27213,"gsm_signal":0,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3489656421349165056}} 
[2026-08-19 05:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":158597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:16:07] local.INFO: GPS data processed {"connection_id":158597,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:16:07] local.INFO: Acknowledgment sent {"connection_id":158597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:16:42] local.INFO: TCP Data received {"connection_id":158597,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017443c58012d31b2c006b59c30000b00912f..."} 
[2026-08-19 05:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017443c58012d31b2c006b59c30000b00912f..."} 
[2026-08-19 05:16:42] local.INFO: Processing buffer {"connection_id":158597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017443c58012d31b2c006b59c30000b00912f..."} 
[2026-08-19 05:16:42] local.INFO: Packet analysis {"connection_id":158597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01744"} 
[2026-08-19 05:16:42] local.INFO: Extracted packet for processing {"connection_id":158597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01744"} 
[2026-08-19 05:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758231744,"raw_latitude":112565296,"longitude_deg":75.8231744,"latitude_deg":11.2565296,"altitude":11,"angle":145,"satellites":47,"speed":59,"hex_longitude":"2d31b2c0","hex_latitude":"06b59c30","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496764672001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385324696062656512,"note":"Value kept but may cause issues"} 
[2026-08-19 05:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3575647026718312448,"note":"Value kept but may cause issues"} 
[2026-08-19 05:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787096743000,"timestamp_ms":1787096743000,"timestamp_seconds":1787096743,"priority":1,"record_length":96,"hex_timestamp":"000001a017443c58"} 
[2026-08-19 05:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:16:42] 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-08-19 05: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 05:16:42] 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-08-19 05: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-08-19 05:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496764672001,"66":27234,"170":206,"81":23552,"24":59,"16":385324696062656512,"45":3575647026718312448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-08-19 05:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496764672001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:16:42] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-19 05:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385324696062656512,"km_value":385324696062656.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3575647026718312448,"description":"Unknown IO ID 45"} 
[2026-08-19 05:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496764672001,"power":27234,"unknown_170":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3575647026718312448}} 
[2026-08-19 05:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":158597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:16:42] local.INFO: GPS data processed {"connection_id":158597,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:16:42] local.INFO: Acknowledgment sent {"connection_id":158597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:17:00] local.INFO: TCP Data received {"connection_id":159877,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:17:00] local.INFO: Processing buffer {"connection_id":159877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:17:00] local.INFO: IMEI packet received {"connection_id":159877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":159877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:17:03] local.INFO: TCP Data received {"connection_id":159877,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:17:03] local.INFO: Processing buffer {"connection_id":159877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:17:03] local.INFO: IMEI packet received {"connection_id":159877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":159877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:17:06] local.INFO: TCP Data received {"connection_id":159877,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:17:06] local.INFO: Processing buffer {"connection_id":159877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:17:06] local.INFO: IMEI packet received {"connection_id":159877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":159877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:17:08] local.INFO: TCP Data received {"connection_id":159877,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0174457b0012d31cb4006b57cc0000a008b2d..."} 
[2026-08-19 05:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0174457b0012d31cb4006b57cc0000a008b2d..."} 
[2026-08-19 05:17:08] local.INFO: Processing buffer {"connection_id":159877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0174457b0012d31cb4006b57cc0000a008b2d..."} 
[2026-08-19 05:17:08] local.INFO: Packet analysis {"connection_id":159877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01744"} 
[2026-08-19 05:17:08] local.INFO: Extracted packet for processing {"connection_id":159877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01744"} 
[2026-08-19 05:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758238016,"raw_latitude":112557248,"longitude_deg":75.8238016,"latitude_deg":11.2557248,"altitude":10,"angle":139,"satellites":45,"speed":57,"hex_longitude":"2d31cb40","hex_latitude":"06b57cc0","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496766208001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385325189983895552,"note":"Value kept but may cause issues"} 
[2026-08-19 05:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3581135788762214400,"note":"Value kept but may cause issues"} 
[2026-08-19 05:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787096750000,"timestamp_ms":1787096750000,"timestamp_seconds":1787096750,"priority":1,"record_length":96,"hex_timestamp":"000001a0174457b0"} 
[2026-08-19 05:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:17: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-08-19 05: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 05:17:08] 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-08-19 05: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-08-19 05:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:17:08] 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-08-19 05:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496766208001,"66":27267,"178":206,"81":23552,"24":57,"16":385325189983895552,"45":3581135788762214400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,81,24,16,45]} 
[2026-08-19 05:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496766208001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:17:08] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-19 05:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385325189983895552,"km_value":385325189983895.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3581135788762214400,"description":"Unknown IO ID 45"} 
[2026-08-19 05:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496766208001,"power":27267,"unknown_178":206,"unknown_81":23552,"ignition":57,"odometer":null,"unknown_45":3581135788762214400}} 
[2026-08-19 05:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":159877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:17:08] local.INFO: GPS data processed {"connection_id":159877,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:17:08] local.INFO: Acknowledgment sent {"connection_id":159877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:17:40] local.INFO: TCP Data received {"connection_id":159877,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017447308012d31e60006b55fb8000a00872b..."} 
[2026-08-19 05:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017447308012d31e60006b55fb8000a00872b..."} 
[2026-08-19 05:17:40] local.INFO: Processing buffer {"connection_id":159877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017447308012d31e60006b55fb8000a00872b..."} 
[2026-08-19 05:17:40] local.INFO: Packet analysis {"connection_id":159877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01744"} 
[2026-08-19 05:17:40] local.INFO: Extracted packet for processing {"connection_id":159877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01744"} 
[2026-08-19 05:17:40] local.INFO: GPS Element Parsed {"raw_longitude":758244864,"raw_latitude":112549816,"longitude_deg":75.8244864,"latitude_deg":11.2549816,"altitude":10,"angle":135,"satellites":43,"speed":57,"hex_longitude":"2d31e600","hex_latitude":"06b55fb8","is_valid_coordinates":true} 
[2026-08-19 05:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496768000001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385325675315200000,"note":"Value kept but may cause issues"} 
[2026-08-19 05:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3588031925689565184,"note":"Value kept but may cause issues"} 
[2026-08-19 05:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787096757000,"timestamp_ms":1787096757000,"timestamp_seconds":1787096757,"priority":1,"record_length":96,"hex_timestamp":"000001a017447308"} 
[2026-08-19 05:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 05:17:40] 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-08-19 05:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496768000001,"66":27332,"178":206,"81":23552,"24":57,"16":385325675315200000,"45":3588031925689565184},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,81,24,16,45]} 
[2026-08-19 05:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496768000001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:17:40] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-19 05:17:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385325675315200000,"km_value":385325675315200,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3588031925689565184,"description":"Unknown IO ID 45"} 
[2026-08-19 05:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496768000001,"power":27332,"unknown_178":206,"unknown_81":23552,"ignition":57,"odometer":null,"unknown_45":3588031925689565184}} 
[2026-08-19 05:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":159877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:17:40] local.INFO: GPS data processed {"connection_id":159877,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:17:40] local.INFO: Acknowledgment sent {"connection_id":159877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:18:02] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:18:02] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:18:02] local.INFO: IMEI packet received {"connection_id":159878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":159878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:18:06] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:18:06] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:18:06] local.INFO: IMEI packet received {"connection_id":159878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":159878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:18:10] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:18:10] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:18:10] local.INFO: IMEI packet received {"connection_id":159878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":159878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:18:11] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017459800012d335a0006b493700012007633..."} 
[2026-08-19 05:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017459800012d335a0006b493700012007633..."} 
[2026-08-19 05:18:11] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017459800012d335a0006b493700012007633..."} 
[2026-08-19 05:18:11] local.INFO: Packet analysis {"connection_id":159878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01745"} 
[2026-08-19 05:18:11] local.INFO: Extracted packet for processing {"connection_id":159878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01745"} 
[2026-08-19 05:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758340096,"raw_latitude":112497520,"longitude_deg":75.8340096,"latitude_deg":11.249752,"altitude":18,"angle":118,"satellites":51,"speed":58,"hex_longitude":"2d335a00","hex_latitude":"06b49370","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496787456001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385330893700464640,"note":"Value kept but may cause issues"} 
[2026-08-19 05:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3691333242128097280,"note":"Value kept but may cause issues"} 
[2026-08-19 05:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787096832000,"timestamp_ms":1787096832000,"timestamp_seconds":1787096832,"priority":1,"record_length":96,"hex_timestamp":"000001a017459800"} 
[2026-08-19 05:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:18: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-08-19 05: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 05:18:11] 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-08-19 05: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-08-19 05:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496787456001,"66":27332,"227":206,"81":23552,"24":58,"16":385330893700464640,"45":3691333242128097280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-08-19 05:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496787456001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:18:11] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-19 05:18:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385330893700464640,"km_value":385330893700464.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3691333242128097280,"description":"Unknown IO ID 45"} 
[2026-08-19 05:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496787456001,"power":27332,"unknown_227":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3691333242128097280}} 
[2026-08-19 05:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":159878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:18:11] local.INFO: GPS data processed {"connection_id":159878,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:18:11] local.INFO: Acknowledgment sent {"connection_id":159878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:18:17] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01745af70012d33768006b480600011008230..."} 
[2026-08-19 05:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01745af70012d33768006b480600011008230..."} 
[2026-08-19 05:18:17] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01745af70012d33768006b480600011008230..."} 
[2026-08-19 05:18:17] local.INFO: Packet analysis {"connection_id":159878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01745"} 
[2026-08-19 05:18:17] local.INFO: Extracted packet for processing {"connection_id":159878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01745"} 
[2026-08-19 05:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758347392,"raw_latitude":112492640,"longitude_deg":75.8347392,"latitude_deg":11.249264,"altitude":17,"angle":130,"satellites":48,"speed":57,"hex_longitude":"2d337680","hex_latitude":"06b48060","is_valid_coordinates":true} 
[2026-08-19 05:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496788992001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385331314607259648,"note":"Value kept but may cause issues"} 
[2026-08-19 05:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3700270072637648896,"note":"Value kept but may cause issues"} 
[2026-08-19 05:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787096838000,"timestamp_ms":1787096838000,"timestamp_seconds":1787096838,"priority":1,"record_length":96,"hex_timestamp":"000001a01745af70"} 
[2026-08-19 05:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 05:18:17] 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-08-19 05:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:18: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-08-19 05:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496788992001,"66":27321,"227":206,"81":23552,"24":57,"16":385331314607259648,"45":3700270072637648896},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-08-19 05:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496788992001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:18:17] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-08-19 05:18:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385331314607259648,"km_value":385331314607259.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3700270072637648896,"description":"Unknown IO ID 45"} 
[2026-08-19 05:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496788992001,"power":27321,"unknown_227":206,"unknown_81":23552,"ignition":57,"odometer":null,"unknown_45":3700270072637648896}} 
[2026-08-19 05:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":159878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:18:17] local.INFO: GPS data processed {"connection_id":159878,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:18:17] local.INFO: Acknowledgment sent {"connection_id":159878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:18:58] local.INFO: TCP Data received {"connection_id":157331,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:18:58] local.INFO: Processing buffer {"connection_id":157331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:18:58] local.INFO: IMEI packet received {"connection_id":157331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":157331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:18:58] local.INFO: TCP Data received {"connection_id":157331,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:18:58] local.INFO: Processing buffer {"connection_id":157331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:18:58] local.INFO: IMEI packet received {"connection_id":157331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":157331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:19:00] local.INFO: TCP Data received {"connection_id":157331,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:19:00] local.INFO: Processing buffer {"connection_id":157331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:19:00] local.INFO: IMEI packet received {"connection_id":157331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":157331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:19:04] local.INFO: TCP Data received {"connection_id":157331,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:19:04] local.INFO: Processing buffer {"connection_id":157331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:19:04] local.INFO: IMEI packet received {"connection_id":157331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":157331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:19:05] local.INFO: TCP Data received {"connection_id":157331,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017468a30012d33c9c006b358b0001200982b..."} 
[2026-08-19 05:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017468a30012d33c9c006b358b0001200982b..."} 
[2026-08-19 05:19:05] local.INFO: Processing buffer {"connection_id":157331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017468a30012d33c9c006b358b0001200982b..."} 
[2026-08-19 05:19:05] local.INFO: Packet analysis {"connection_id":157331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01746"} 
[2026-08-19 05:19:05] local.INFO: Extracted packet for processing {"connection_id":157331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01746"} 
[2026-08-19 05:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758368704,"raw_latitude":112416944,"longitude_deg":75.8368704,"latitude_deg":11.2416944,"altitude":18,"angle":152,"satellites":43,"speed":58,"hex_longitude":"2d33c9c0","hex_latitude":"06b358b0","is_valid_coordinates":true} 
[2026-08-19 05:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496804864001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385335283157041152,"note":"Value kept but may cause issues"} 
[2026-08-19 05:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3731724901264437248,"note":"Value kept but may cause issues"} 
[2026-08-19 05:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787096894000,"timestamp_ms":1787096894000,"timestamp_seconds":1787096894,"priority":1,"record_length":96,"hex_timestamp":"000001a017468a30"} 
[2026-08-19 05:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:19: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-08-19 05:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 05:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496804864001,"66":27397,"223":206,"81":23552,"24":58,"16":385335283157041152,"45":3731724901264437248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,81,24,16,45]} 
[2026-08-19 05:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496804864001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:19:05] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-19 05:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385335283157041152,"km_value":385335283157041.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3731724901264437248,"description":"Unknown IO ID 45"} 
[2026-08-19 05:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496804864001,"power":27397,"unknown_223":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3731724901264437248}} 
[2026-08-19 05:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":157331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:19:05] local.INFO: GPS data processed {"connection_id":157331,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:19:05] local.INFO: Acknowledgment sent {"connection_id":157331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:19:36] local.INFO: TCP Data received {"connection_id":157331,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01746a1a0012d33de0006b33c080011008a2e..."} 
[2026-08-19 05:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01746a1a0012d33de0006b33c080011008a2e..."} 
[2026-08-19 05:19:36] local.INFO: Processing buffer {"connection_id":157331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01746a1a0012d33de0006b33c080011008a2e..."} 
[2026-08-19 05:19:36] local.INFO: Packet analysis {"connection_id":157331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01746"} 
[2026-08-19 05:19:36] local.INFO: Extracted packet for processing {"connection_id":157331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01746"} 
[2026-08-19 05:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758373888,"raw_latitude":112409608,"longitude_deg":75.8373888,"latitude_deg":11.2409608,"altitude":17,"angle":138,"satellites":46,"speed":59,"hex_longitude":"2d33de00","hex_latitude":"06b33c08","is_valid_coordinates":true} 
[2026-08-19 05:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496804864001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385335712653770752,"note":"Value kept but may cause issues"} 
[2026-08-19 05:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3731724901264437248,"note":"Value kept but may cause issues"} 
[2026-08-19 05:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787096900000,"timestamp_ms":1787096900000,"timestamp_seconds":1787096900,"priority":1,"record_length":96,"hex_timestamp":"000001a01746a1a0"} 
[2026-08-19 05:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 05:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:19:36] 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-08-19 05:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496804864001,"66":27332,"223":206,"81":23552,"24":59,"16":385335712653770752,"45":3731724901264437248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,81,24,16,45]} 
[2026-08-19 05:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496804864001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:19:36] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-19 05:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385335712653770752,"km_value":385335712653770.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3731724901264437248,"description":"Unknown IO ID 45"} 
[2026-08-19 05:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496804864001,"power":27332,"unknown_223":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3731724901264437248}} 
[2026-08-19 05:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":157331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:19:36] local.INFO: GPS data processed {"connection_id":157331,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:19:36] local.INFO: Acknowledgment sent {"connection_id":157331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:20:00] local.INFO: TCP Data received {"connection_id":158598,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:20:00] local.INFO: Processing buffer {"connection_id":158598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:20:00] local.INFO: IMEI packet received {"connection_id":158598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":158598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:20:03] local.INFO: TCP Data received {"connection_id":158598,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:20:03] local.INFO: Processing buffer {"connection_id":158598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:20:03] local.INFO: IMEI packet received {"connection_id":158598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":158598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:20:05] local.INFO: TCP Data received {"connection_id":158598,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:20:05] local.INFO: Processing buffer {"connection_id":158598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:20:05] local.INFO: IMEI packet received {"connection_id":158598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":158598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:20:05] local.INFO: TCP Data received {"connection_id":158598,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01746a1a0012d33de0006b33c080011008a2e..."} 
[2026-08-19 05:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01746a1a0012d33de0006b33c080011008a2e..."} 
[2026-08-19 05:20:05] local.INFO: Processing buffer {"connection_id":158598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01746a1a0012d33de0006b33c080011008a2e..."} 
[2026-08-19 05:20:05] local.INFO: Packet analysis {"connection_id":158598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01746"} 
[2026-08-19 05:20:05] local.INFO: Extracted packet for processing {"connection_id":158598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01746"} 
[2026-08-19 05:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758373888,"raw_latitude":112409608,"longitude_deg":75.8373888,"latitude_deg":11.2409608,"altitude":17,"angle":138,"satellites":46,"speed":59,"hex_longitude":"2d33de00","hex_latitude":"06b33c08","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496806400001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385335712653770752,"note":"Value kept but may cause issues"} 
[2026-08-19 05:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3737424769540950016,"note":"Value kept but may cause issues"} 
[2026-08-19 05:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787096900000,"timestamp_ms":1787096900000,"timestamp_seconds":1787096900,"priority":1,"record_length":96,"hex_timestamp":"000001a01746a1a0"} 
[2026-08-19 05:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:20: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-08-19 05: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 05:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496806400001,"66":27332,"223":206,"81":23552,"24":59,"16":385335712653770752,"45":3737424769540950016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,81,24,16,45]} 
[2026-08-19 05:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496806400001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:20:05] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-19 05:20:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385335712653770752,"km_value":385335712653770.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3737424769540950016,"description":"Unknown IO ID 45"} 
[2026-08-19 05:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496806400001,"power":27332,"unknown_223":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3737424769540950016}} 
[2026-08-19 05:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":158598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:20:06] local.INFO: GPS data processed {"connection_id":158598,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:20:06] local.INFO: Acknowledgment sent {"connection_id":158598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:20:37] local.INFO: TCP Data received {"connection_id":158598,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01746b910012d33f70006b324c00010007f2e..."} 
[2026-08-19 05:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01746b910012d33f70006b324c00010007f2e..."} 
[2026-08-19 05:20:37] local.INFO: Processing buffer {"connection_id":158598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01746b910012d33f70006b324c00010007f2e..."} 
[2026-08-19 05:20:37] local.INFO: Packet analysis {"connection_id":158598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01746"} 
[2026-08-19 05:20:37] local.INFO: Extracted packet for processing {"connection_id":158598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01746"} 
[2026-08-19 05:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758380288,"raw_latitude":112403648,"longitude_deg":75.8380288,"latitude_deg":11.2403648,"altitude":16,"angle":127,"satellites":46,"speed":51,"hex_longitude":"2d33f700","hex_latitude":"06b324c0","is_valid_coordinates":true} 
[2026-08-19 05:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496806400001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385336133560565760,"note":"Value kept but may cause issues"} 
[2026-08-19 05:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3737424769540950016,"note":"Value kept but may cause issues"} 
[2026-08-19 05:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787096906000,"timestamp_ms":1787096906000,"timestamp_seconds":1787096906,"priority":1,"record_length":96,"hex_timestamp":"000001a01746b910"} 
[2026-08-19 05:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 05:20:37] 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-08-19 05:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496806400001,"66":27332,"223":206,"81":23552,"24":51,"16":385336133560565760,"45":3737424769540950016},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,81,24,16,45]} 
[2026-08-19 05:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496806400001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:20:37] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-19 05:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385336133560565760,"km_value":385336133560565.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3737424769540950016,"description":"Unknown IO ID 45"} 
[2026-08-19 05:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496806400001,"power":27332,"unknown_223":206,"unknown_81":23552,"ignition":51,"odometer":null,"unknown_45":3737424769540950016}} 
[2026-08-19 05:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":158598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:20:37] local.INFO: GPS data processed {"connection_id":158598,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:20:37] local.INFO: Acknowledgment sent {"connection_id":158598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:21:00] local.INFO: TCP Data received {"connection_id":159879,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:21:00] local.INFO: Processing buffer {"connection_id":159879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:21:00] local.INFO: IMEI packet received {"connection_id":159879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":159879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:21:05] local.INFO: TCP Data received {"connection_id":159879,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:21:05] local.INFO: Processing buffer {"connection_id":159879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:21:05] local.INFO: IMEI packet received {"connection_id":159879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":159879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:21:05] local.INFO: TCP Data received {"connection_id":159879,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:21:05] local.INFO: Processing buffer {"connection_id":159879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:21:05] local.INFO: IMEI packet received {"connection_id":159879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":159879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:21:08] local.INFO: TCP Data received {"connection_id":159879,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01746efc0012d34148006b30f700010007f32..."} 
[2026-08-19 05:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01746efc0012d34148006b30f700010007f32..."} 
[2026-08-19 05:21:08] local.INFO: Processing buffer {"connection_id":159879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01746efc0012d34148006b30f700010007f32..."} 
[2026-08-19 05:21:08] local.INFO: Packet analysis {"connection_id":159879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01746"} 
[2026-08-19 05:21:08] local.INFO: Extracted packet for processing {"connection_id":159879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01746"} 
[2026-08-19 05:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758387840,"raw_latitude":112398192,"longitude_deg":75.838784,"latitude_deg":11.2398192,"altitude":16,"angle":127,"satellites":50,"speed":14,"hex_longitude":"2d341480","hex_latitude":"06b30f70","is_valid_coordinates":true} 
[2026-08-19 05:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496807936001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385336580237164544,"note":"Value kept but may cause issues"} 
[2026-08-19 05:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3744461643957190656,"note":"Value kept but may cause issues"} 
[2026-08-19 05:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787096920000,"timestamp_ms":1787096920000,"timestamp_seconds":1787096920,"priority":1,"record_length":96,"hex_timestamp":"000001a01746efc0"} 
[2026-08-19 05:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:21: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-08-19 05:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 05:21:08] 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-08-19 05:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:21:08] 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-08-19 05:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496807936001,"66":27343,"224":206,"81":23552,"24":14,"16":385336580237164544,"45":3744461643957190656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-08-19 05:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496807936001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:21:08] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-19 05:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385336580237164544,"km_value":385336580237164.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3744461643957190656,"description":"Unknown IO ID 45"} 
[2026-08-19 05:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496807936001,"power":27343,"unknown_224":206,"unknown_81":23552,"ignition":14,"odometer":null,"unknown_45":3744461643957190656}} 
[2026-08-19 05:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":159879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:21:08] local.INFO: GPS data processed {"connection_id":159879,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:21:08] local.INFO: Acknowledgment sent {"connection_id":159879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:21:11] local.INFO: TCP Data received {"connection_id":159879,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0174741c8012d3422c006b306000010007c33..."} 
[2026-08-19 05:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0174741c8012d3422c006b306000010007c33..."} 
[2026-08-19 05:21:11] local.INFO: Processing buffer {"connection_id":159879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0174741c8012d3422c006b306000010007c33..."} 
[2026-08-19 05:21:11] local.INFO: Packet analysis {"connection_id":159879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01747"} 
[2026-08-19 05:21:11] local.INFO: Extracted packet for processing {"connection_id":159879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01747"} 
[2026-08-19 05:21:11] local.INFO: GPS Element Parsed {"raw_longitude":758391488,"raw_latitude":112395776,"longitude_deg":75.8391488,"latitude_deg":11.2395776,"altitude":16,"angle":124,"satellites":51,"speed":12,"hex_longitude":"2d3422c0","hex_latitude":"06b30600","is_valid_coordinates":true} 
[2026-08-19 05:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496811520001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385336799280496640,"note":"Value kept but may cause issues"} 
[2026-08-19 05:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3752765155768758272,"note":"Value kept but may cause issues"} 
[2026-08-19 05:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787096941000,"timestamp_ms":1787096941000,"timestamp_seconds":1787096941,"priority":1,"record_length":96,"hex_timestamp":"000001a0174741c8"} 
[2026-08-19 05:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:21: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-08-19 05:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 05:21:11] 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-08-19 05:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496811520001,"66":27321,"224":206,"81":23552,"24":12,"16":385336799280496640,"45":3752765155768758272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-08-19 05:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496811520001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:21:11] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-19 05:21:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385336799280496640,"km_value":385336799280496.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3752765155768758272,"description":"Unknown IO ID 45"} 
[2026-08-19 05:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496811520001,"power":27321,"unknown_224":206,"unknown_81":23552,"ignition":12,"odometer":null,"unknown_45":3752765155768758272}} 
[2026-08-19 05:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":159879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:21:11] local.INFO: GPS data processed {"connection_id":159879,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:21:11] local.INFO: Acknowledgment sent {"connection_id":159879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:21:43] local.INFO: TCP Data received {"connection_id":159879,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01748dbf0012d35854006b21cd80009007b30..."} 
[2026-08-19 05:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01748dbf0012d35854006b21cd80009007b30..."} 
[2026-08-19 05:21:43] local.INFO: Processing buffer {"connection_id":159879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01748dbf0012d35854006b21cd80009007b30..."} 
[2026-08-19 05:21:43] local.INFO: Packet analysis {"connection_id":159879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01748"} 
[2026-08-19 05:21:43] local.INFO: Extracted packet for processing {"connection_id":159879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01748"} 
[2026-08-19 05:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758482240,"raw_latitude":112336088,"longitude_deg":75.848224,"latitude_deg":11.2336088,"altitude":9,"angle":123,"satellites":48,"speed":59,"hex_longitude":"2d358540","hex_latitude":"06b21cd8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496842240001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385342000485892096,"note":"Value kept but may cause issues"} 
[2026-08-19 05:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3847974066626490368,"note":"Value kept but may cause issues"} 
[2026-08-19 05:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787097046000,"timestamp_ms":1787097046000,"timestamp_seconds":1787097046,"priority":1,"record_length":96,"hex_timestamp":"000001a01748dbf0"} 
[2026-08-19 05:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 05:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496842240001,"66":27376,"221":206,"81":23552,"24":59,"16":385342000485892096,"45":3847974066626490368},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-08-19 05:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496842240001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:21:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-19 05:21:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385342000485892096,"km_value":385342000485892.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3847974066626490368,"description":"Unknown IO ID 45"} 
[2026-08-19 05:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496842240001,"power":27376,"unknown_221":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3847974066626490368}} 
[2026-08-19 05:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":159879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:21:43] local.INFO: GPS data processed {"connection_id":159879,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:21:43] local.INFO: Acknowledgment sent {"connection_id":159879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:22:02] local.INFO: TCP Data received {"connection_id":157332,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:22:02] local.INFO: Processing buffer {"connection_id":157332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:22:02] local.INFO: IMEI packet received {"connection_id":157332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":157332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:22:10] local.INFO: TCP Data received {"connection_id":157332,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:22:10] local.INFO: Processing buffer {"connection_id":157332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:22:10] local.INFO: IMEI packet received {"connection_id":157332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":157332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:22:11] local.INFO: TCP Data received {"connection_id":157332,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:22:11] local.INFO: Processing buffer {"connection_id":157332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:22:11] local.INFO: IMEI packet received {"connection_id":157332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":157332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:22:11] local.INFO: TCP Data received {"connection_id":157332,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01748f360012d35a30006b209e0000a007b30..."} 
[2026-08-19 05:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01748f360012d35a30006b209e0000a007b30..."} 
[2026-08-19 05:22:11] local.INFO: Processing buffer {"connection_id":157332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01748f360012d35a30006b209e0000a007b30..."} 
[2026-08-19 05:22:11] local.INFO: Packet analysis {"connection_id":157332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01748"} 
[2026-08-19 05:22:11] local.INFO: Extracted packet for processing {"connection_id":157332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01748"} 
[2026-08-19 05:22:11] local.INFO: GPS Element Parsed {"raw_longitude":758489856,"raw_latitude":112331232,"longitude_deg":75.8489856,"latitude_deg":11.2331232,"altitude":10,"angle":123,"satellites":48,"speed":58,"hex_longitude":"2d35a300","hex_latitude":"06b209e0","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496843776001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385342434277588992,"note":"Value kept but may cause issues"} 
[2026-08-19 05:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3856559053414914048,"note":"Value kept but may cause issues"} 
[2026-08-19 05:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787097052000,"timestamp_ms":1787097052000,"timestamp_seconds":1787097052,"priority":1,"record_length":96,"hex_timestamp":"000001a01748f360"} 
[2026-08-19 05:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 05:22:11] 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-08-19 05: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-08-19 05:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496843776001,"66":27332,"221":206,"81":23552,"24":58,"16":385342434277588992,"45":3856559053414914048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-08-19 05:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496843776001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:22:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-19 05:22:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385342434277588992,"km_value":385342434277589.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3856559053414914048,"description":"Unknown IO ID 45"} 
[2026-08-19 05:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496843776001,"power":27332,"unknown_221":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3856559053414914048}} 
[2026-08-19 05:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":157332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:22:11] local.INFO: GPS data processed {"connection_id":157332,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:22:11] local.INFO: Acknowledgment sent {"connection_id":157332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:22:12] local.INFO: TCP Data received {"connection_id":157332,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017490eb8012d35c50006b1f3d8000d007b2f..."} 
[2026-08-19 05:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017490eb8012d35c50006b1f3d8000d007b2f..."} 
[2026-08-19 05:22:12] local.INFO: Processing buffer {"connection_id":157332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017490eb8012d35c50006b1f3d8000d007b2f..."} 
[2026-08-19 05:22:12] local.INFO: Packet analysis {"connection_id":157332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01749"} 
[2026-08-19 05:22:12] local.INFO: Extracted packet for processing {"connection_id":157332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01749"} 
[2026-08-19 05:22:12] local.INFO: GPS Element Parsed {"raw_longitude":758498560,"raw_latitude":112325592,"longitude_deg":75.849856,"latitude_deg":11.2325592,"altitude":13,"angle":123,"satellites":47,"speed":58,"hex_longitude":"2d35c500","hex_latitude":"06b1f3d8","is_valid_coordinates":true} 
[2026-08-19 05:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496845312001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385342928198828032,"note":"Value kept but may cause issues"} 
[2026-08-19 05:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3864932933970812928,"note":"Value kept but may cause issues"} 
[2026-08-19 05:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787097059000,"timestamp_ms":1787097059000,"timestamp_seconds":1787097059,"priority":1,"record_length":96,"hex_timestamp":"000001a017490eb8"} 
[2026-08-19 05:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 05:22:12] 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-08-19 05:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496845312001,"66":27397,"221":206,"81":23552,"24":58,"16":385342928198828032,"45":3864932933970812928},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-08-19 05:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496845312001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:22:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-19 05:22:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385342928198828032,"km_value":385342928198828.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3864932933970812928,"description":"Unknown IO ID 45"} 
[2026-08-19 05:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496845312001,"power":27397,"unknown_221":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3864932933970812928}} 
[2026-08-19 05:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":157332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:22:12] local.INFO: GPS data processed {"connection_id":157332,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:22:12] local.INFO: Acknowledgment sent {"connection_id":157332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:22:43] local.INFO: TCP Data received {"connection_id":157332,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017492a10012d35e60006b1dd880010007e32..."} 
[2026-08-19 05:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017492a10012d35e60006b1dd880010007e32..."} 
[2026-08-19 05:22:43] local.INFO: Processing buffer {"connection_id":157332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017492a10012d35e60006b1dd880010007e32..."} 
[2026-08-19 05:22:43] local.INFO: Packet analysis {"connection_id":157332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01749"} 
[2026-08-19 05:22:43] local.INFO: Extracted packet for processing {"connection_id":157332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01749"} 
[2026-08-19 05:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758507008,"raw_latitude":112319880,"longitude_deg":75.8507008,"latitude_deg":11.231988,"altitude":16,"angle":126,"satellites":50,"speed":56,"hex_longitude":"2d35e600","hex_latitude":"06b1dd88","is_valid_coordinates":true} 
[2026-08-19 05:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496847104001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385343417825099776,"note":"Value kept but may cause issues"} 
[2026-08-19 05:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3874503083177531392,"note":"Value kept but may cause issues"} 
[2026-08-19 05:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787097066000,"timestamp_ms":1787097066000,"timestamp_seconds":1787097066,"priority":1,"record_length":96,"hex_timestamp":"000001a017492a10"} 
[2026-08-19 05:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 05:22:43] 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-08-19 05:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496847104001,"66":27234,"222":206,"81":23552,"24":56,"16":385343417825099776,"45":3874503083177531392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-08-19 05:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496847104001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:22:43] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-08-19 05:22:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385343417825099776,"km_value":385343417825099.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3874503083177531392,"description":"Unknown IO ID 45"} 
[2026-08-19 05:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496847104001,"power":27234,"unknown_222":206,"unknown_81":23552,"ignition":56,"odometer":null,"unknown_45":3874503083177531392}} 
[2026-08-19 05:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":157332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:22:43] local.INFO: GPS data processed {"connection_id":157332,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:22:43] local.INFO: Acknowledgment sent {"connection_id":157332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:23:00] local.INFO: TCP Data received {"connection_id":157705,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:23:00] local.INFO: Processing buffer {"connection_id":157705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:23:00] local.INFO: IMEI packet received {"connection_id":157705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":157705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:23:01] local.INFO: TCP Data received {"connection_id":157705,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:23:01] local.INFO: Processing buffer {"connection_id":157705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:23:01] local.INFO: IMEI packet received {"connection_id":157705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":157705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:23:05] local.INFO: TCP Data received {"connection_id":157705,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:23:05] local.INFO: Processing buffer {"connection_id":157705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:23:05] local.INFO: IMEI packet received {"connection_id":157705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":157705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:23:06] local.INFO: TCP Data received {"connection_id":157705,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017494180012d35fd8006b1c7300012008b31..."} 
[2026-08-19 05:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017494180012d35fd8006b1c7300012008b31..."} 
[2026-08-19 05:23:06] local.INFO: Processing buffer {"connection_id":157705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017494180012d35fd8006b1c7300012008b31..."} 
[2026-08-19 05:23:06] local.INFO: Packet analysis {"connection_id":157705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01749"} 
[2026-08-19 05:23:06] local.INFO: Extracted packet for processing {"connection_id":157705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01749"} 
[2026-08-19 05:23:06] local.INFO: GPS Element Parsed {"raw_longitude":758513024,"raw_latitude":112314160,"longitude_deg":75.8513024,"latitude_deg":11.231416,"altitude":18,"angle":139,"satellites":49,"speed":55,"hex_longitude":"2d35fd80","hex_latitude":"06b1c730","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496848896001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385343817257058304,"note":"Value kept but may cause issues"} 
[2026-08-19 05:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3883791757407520768,"note":"Value kept but may cause issues"} 
[2026-08-19 05:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787097072000,"timestamp_ms":1787097072000,"timestamp_seconds":1787097072,"priority":1,"record_length":96,"hex_timestamp":"000001a017494180"} 
[2026-08-19 05:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 05:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:23:06] 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-08-19 05:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496848896001,"66":27463,"222":206,"81":23552,"24":55,"16":385343817257058304,"45":3883791757407520768},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-08-19 05:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496848896001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:23:06] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-08-19 05:23:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385343817257058304,"km_value":385343817257058.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3883791757407520768,"description":"Unknown IO ID 45"} 
[2026-08-19 05:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496848896001,"power":27463,"unknown_222":206,"unknown_81":23552,"ignition":55,"odometer":null,"unknown_45":3883791757407520768}} 
[2026-08-19 05:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":157705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:23:06] local.INFO: GPS data processed {"connection_id":157705,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:23:06] local.INFO: Acknowledgment sent {"connection_id":157705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:23:07] local.INFO: TCP Data received {"connection_id":157705,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017495508012d360d4006b1b0b80012009732..."} 
[2026-08-19 05:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017495508012d360d4006b1b0b80012009732..."} 
[2026-08-19 05:23:07] local.INFO: Processing buffer {"connection_id":157705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017495508012d360d4006b1b0b80012009732..."} 
[2026-08-19 05:23:07] local.INFO: Packet analysis {"connection_id":157705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01749"} 
[2026-08-19 05:23:07] local.INFO: Extracted packet for processing {"connection_id":157705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01749"} 
[2026-08-19 05:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758517056,"raw_latitude":112308408,"longitude_deg":75.8517056,"latitude_deg":11.2308408,"altitude":18,"angle":151,"satellites":50,"speed":56,"hex_longitude":"2d360d40","hex_latitude":"06b1b0b8","is_valid_coordinates":true} 
[2026-08-19 05:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496850432001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385344156559474688,"note":"Value kept but may cause issues"} 
[2026-08-19 05:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3890406419358756864,"note":"Value kept but may cause issues"} 
[2026-08-19 05:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787097077000,"timestamp_ms":1787097077000,"timestamp_seconds":1787097077,"priority":1,"record_length":96,"hex_timestamp":"000001a017495508"} 
[2026-08-19 05:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:23: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-08-19 05:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 05:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496850432001,"66":27321,"222":206,"81":23552,"24":56,"16":385344156559474688,"45":3890406419358756864},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-08-19 05:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496850432001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:23:07] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-08-19 05:23:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385344156559474688,"km_value":385344156559474.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3890406419358756864,"description":"Unknown IO ID 45"} 
[2026-08-19 05:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496850432001,"power":27321,"unknown_222":206,"unknown_81":23552,"ignition":56,"odometer":null,"unknown_45":3890406419358756864}} 
[2026-08-19 05:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":157705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:23:07] local.INFO: GPS data processed {"connection_id":157705,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:23:07] local.INFO: Acknowledgment sent {"connection_id":157705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:23:39] local.INFO: TCP Data received {"connection_id":157705,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0174a9d28012d36cbc006aff958000f009b32..."} 
[2026-08-19 05:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0174a9d28012d36cbc006aff958000f009b32..."} 
[2026-08-19 05:23:39] local.INFO: Processing buffer {"connection_id":157705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0174a9d28012d36cbc006aff958000f009b32..."} 
[2026-08-19 05:23:39] local.INFO: Packet analysis {"connection_id":157705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0174a"} 
[2026-08-19 05:23:39] local.INFO: Extracted packet for processing {"connection_id":157705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0174a"} 
[2026-08-19 05:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758565824,"raw_latitude":112195928,"longitude_deg":75.8565824,"latitude_deg":11.2195928,"altitude":15,"angle":155,"satellites":50,"speed":56,"hex_longitude":"2d36cbc0","hex_latitude":"06aff958","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496871424001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385350083614343168,"note":"Value kept but may cause issues"} 
[2026-08-19 05:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3943816296161699840,"note":"Value kept but may cause issues"} 
[2026-08-19 05:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787097161000,"timestamp_ms":1787097161000,"timestamp_seconds":1787097161,"priority":1,"record_length":96,"hex_timestamp":"000001a0174a9d28"} 
[2026-08-19 05:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 05:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:23:39] 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-08-19 05:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496871424001,"66":27245,"85":206,"81":23552,"24":56,"16":385350083614343168,"45":3943816296161699840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-08-19 05:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496871424001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-19 05:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385350083614343168,"km_value":385350083614343.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3943816296161699840,"description":"Unknown IO ID 45"} 
[2026-08-19 05:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496871424001,"power":27245,"unknown_85":206,"unknown_81":23552,"ignition":56,"odometer":null,"unknown_45":3943816296161699840}} 
[2026-08-19 05:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":157705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:23:39] local.INFO: GPS data processed {"connection_id":157705,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:23:39] local.INFO: Acknowledgment sent {"connection_id":157705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:24:01] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:24:01] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:24:01] local.INFO: IMEI packet received {"connection_id":159880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":159880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:24:01] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:24:01] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:24:01] local.INFO: IMEI packet received {"connection_id":159880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":159880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:24:05] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:24:05] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:24:05] local.INFO: IMEI packet received {"connection_id":159880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":159880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:24:07] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0174ab880012d36dc8006afd6580010009b31..."} 
[2026-08-19 05:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0174ab880012d36dc8006afd6580010009b31..."} 
[2026-08-19 05:24:07] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0174ab880012d36dc8006afd6580010009b31..."} 
[2026-08-19 05:24:07] local.INFO: Packet analysis {"connection_id":159880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0174a"} 
[2026-08-19 05:24:07] local.INFO: Extracted packet for processing {"connection_id":159880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0174a"} 
[2026-08-19 05:24:07] local.INFO: GPS Element Parsed {"raw_longitude":758570112,"raw_latitude":112186968,"longitude_deg":75.8570112,"latitude_deg":11.2186968,"altitude":16,"angle":155,"satellites":49,"speed":55,"hex_longitude":"2d36dc80","hex_latitude":"06afd658","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496873216001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385350564650680320,"note":"Value kept but may cause issues"} 
[2026-08-19 05:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3948460633275062272,"note":"Value kept but may cause issues"} 
[2026-08-19 05:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787097168000,"timestamp_ms":1787097168000,"timestamp_seconds":1787097168,"priority":1,"record_length":96,"hex_timestamp":"000001a0174ab880"} 
[2026-08-19 05:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 05:24:07] 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-08-19 05: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-08-19 05:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496873216001,"66":27234,"85":206,"81":23552,"24":55,"16":385350564650680320,"45":3948460633275062272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-08-19 05:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496873216001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:24:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-19 05:24:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385350564650680320,"km_value":385350564650680.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3948460633275062272,"description":"Unknown IO ID 45"} 
[2026-08-19 05:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496873216001,"power":27234,"unknown_85":206,"unknown_81":23552,"ignition":55,"odometer":null,"unknown_45":3948460633275062272}} 
[2026-08-19 05:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":159880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:24:07] local.INFO: GPS data processed {"connection_id":159880,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:24:07] local.INFO: Acknowledgment sent {"connection_id":159880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:24:38] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0174ad3d8012d36eb4006afb3680011009d31..."} 
[2026-08-19 05:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0174ad3d8012d36eb4006afb3680011009d31..."} 
[2026-08-19 05:24:38] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0174ad3d8012d36eb4006afb3680011009d31..."} 
[2026-08-19 05:24:38] local.INFO: Packet analysis {"connection_id":159880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0174a"} 
[2026-08-19 05:24:38] local.INFO: Extracted packet for processing {"connection_id":159880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0174a"} 
[2026-08-19 05:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758573888,"raw_latitude":112178024,"longitude_deg":75.8573888,"latitude_deg":11.2178024,"altitude":17,"angle":157,"satellites":49,"speed":54,"hex_longitude":"2d36eb40","hex_latitude":"06afb368","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496875008001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385351032802115584,"note":"Value kept but may cause issues"} 
[2026-08-19 05:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3953175339132672000,"note":"Value kept but may cause issues"} 
[2026-08-19 05:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787097175000,"timestamp_ms":1787097175000,"timestamp_seconds":1787097175,"priority":1,"record_length":96,"hex_timestamp":"000001a0174ad3d8"} 
[2026-08-19 05:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:24: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-08-19 05: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 05:24:38] 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-08-19 05: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-08-19 05:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:24:38] 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-08-19 05:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496875008001,"66":27310,"85":206,"81":23552,"24":54,"16":385351032802115584,"45":3953175339132672000},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-08-19 05:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496875008001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:24:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-19 05:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 05:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385351032802115584,"km_value":385351032802115.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3953175339132672000,"description":"Unknown IO ID 45"} 
[2026-08-19 05:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496875008001,"power":27310,"unknown_85":206,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3953175339132672000}} 
[2026-08-19 05:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":159880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:24:38] local.INFO: GPS data processed {"connection_id":159880,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:24:38] local.INFO: Acknowledgment sent {"connection_id":159880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:25:00] local.INFO: TCP Data received {"connection_id":158599,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:25:00] local.INFO: Processing buffer {"connection_id":158599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:25:00] local.INFO: IMEI packet received {"connection_id":158599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":158599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:25:03] local.INFO: TCP Data received {"connection_id":158599,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:25:03] local.INFO: Processing buffer {"connection_id":158599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:25:03] local.INFO: IMEI packet received {"connection_id":158599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":158599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:25:05] local.INFO: TCP Data received {"connection_id":158599,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:25:05] local.INFO: Processing buffer {"connection_id":158599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:25:05] local.INFO: IMEI packet received {"connection_id":158599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":158599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:25:06] local.INFO: TCP Data received {"connection_id":158599,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0174bf100012d37b10006ae5188000900932f..."} 
[2026-08-19 05:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0174bf100012d37b10006ae5188000900932f..."} 
[2026-08-19 05:25:06] local.INFO: Processing buffer {"connection_id":158599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0174bf100012d37b10006ae5188000900932f..."} 
[2026-08-19 05:25:06] local.INFO: Packet analysis {"connection_id":158599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0174b"} 
[2026-08-19 05:25:06] local.INFO: Extracted packet for processing {"connection_id":158599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0174b"} 
[2026-08-19 05:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758624512,"raw_latitude":112087432,"longitude_deg":75.8624512,"latitude_deg":11.2087432,"altitude":9,"angle":147,"satellites":47,"speed":52,"hex_longitude":"2d37b100","hex_latitude":"06ae5188","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496893696001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385356053618884608,"note":"Value kept but may cause issues"} 
[2026-08-19 05:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4007288903381891072,"note":"Value kept but may cause issues"} 
[2026-08-19 05:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787097248000,"timestamp_ms":1787097248000,"timestamp_seconds":1787097248,"priority":1,"record_length":96,"hex_timestamp":"000001a0174bf100"} 
[2026-08-19 05:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 05:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:25:06] 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-08-19 05:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496893696001,"66":27365,"6":206,"81":49664,"24":52,"16":385356053618884608,"45":4007288903381891072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-08-19 05:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496893696001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:25:06] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-19 05:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-19 05:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385356053618884608,"km_value":385356053618884.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4007288903381891072,"description":"Unknown IO ID 45"} 
[2026-08-19 05:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496893696001,"power":27365,"unknown_6":206,"unknown_81":49664,"ignition":52,"odometer":null,"unknown_45":4007288903381891072}} 
[2026-08-19 05:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":158599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:25:06] local.INFO: GPS data processed {"connection_id":158599,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:25:06] local.INFO: Acknowledgment sent {"connection_id":158599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:25:41] local.INFO: TCP Data received {"connection_id":158599,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0174c1040012d37c58006ae3060000a009430..."} 
[2026-08-19 05:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0174c1040012d37c58006ae3060000a009430..."} 
[2026-08-19 05:25:41] local.INFO: Processing buffer {"connection_id":158599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0174c1040012d37c58006ae3060000a009430..."} 
[2026-08-19 05:25:41] local.INFO: Packet analysis {"connection_id":158599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0174c"} 
[2026-08-19 05:25:41] local.INFO: Extracted packet for processing {"connection_id":158599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0174c"} 
[2026-08-19 05:25:41] local.INFO: GPS Element Parsed {"raw_longitude":758629760,"raw_latitude":112078944,"longitude_deg":75.862976,"latitude_deg":11.2078944,"altitude":10,"angle":148,"satellites":48,"speed":46,"hex_longitude":"2d37c580","hex_latitude":"06ae3060","is_valid_coordinates":true} 
[2026-08-19 05:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496895488001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385356534655221760,"note":"Value kept but may cause issues"} 
[2026-08-19 05:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4012988771658205184,"note":"Value kept but may cause issues"} 
[2026-08-19 05:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787097256000,"timestamp_ms":1787097256000,"timestamp_seconds":1787097256,"priority":1,"record_length":96,"hex_timestamp":"000001a0174c1040"} 
[2026-08-19 05:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 05:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496895488001,"66":27332,"6":206,"81":49664,"24":46,"16":385356534655221760,"45":4012988771658205184},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-08-19 05:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496895488001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:25:41] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-19 05:25:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-19 05:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385356534655221760,"km_value":385356534655221.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4012988771658205184,"description":"Unknown IO ID 45"} 
[2026-08-19 05:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496895488001,"power":27332,"unknown_6":206,"unknown_81":49664,"ignition":46,"odometer":null,"unknown_45":4012988771658205184}} 
[2026-08-19 05:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":158599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:25:41] local.INFO: GPS data processed {"connection_id":158599,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:25:41] local.INFO: Acknowledgment sent {"connection_id":158599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:26:05] local.INFO: TCP Data received {"connection_id":157706,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:26:05] local.INFO: Processing buffer {"connection_id":157706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:26:05] local.INFO: IMEI packet received {"connection_id":157706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":157706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:26:06] local.INFO: TCP Data received {"connection_id":157706,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:26:06] local.INFO: Processing buffer {"connection_id":157706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:26:06] local.INFO: IMEI packet received {"connection_id":157706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":157706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:26:10] local.INFO: TCP Data received {"connection_id":157706,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:26:10] local.INFO: Processing buffer {"connection_id":157706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:26:10] local.INFO: IMEI packet received {"connection_id":157706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":157706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:26:11] local.INFO: TCP Data received {"connection_id":157706,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0174c2f80012d37d7c006ae1190000b009d32..."} 
[2026-08-19 05:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0174c2f80012d37d7c006ae1190000b009d32..."} 
[2026-08-19 05:26:11] local.INFO: Processing buffer {"connection_id":157706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0174c2f80012d37d7c006ae1190000b009d32..."} 
[2026-08-19 05:26:11] local.INFO: Packet analysis {"connection_id":157706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0174c"} 
[2026-08-19 05:26:11] local.INFO: Extracted packet for processing {"connection_id":157706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0174c"} 
[2026-08-19 05:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758634432,"raw_latitude":112071056,"longitude_deg":75.8634432,"latitude_deg":11.2071056,"altitude":11,"angle":157,"satellites":50,"speed":42,"hex_longitude":"2d37d7c0","hex_latitude":"06ae1190","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496897536001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385356977036853248,"note":"Value kept but may cause issues"} 
[2026-08-19 05:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4018759008678600704,"note":"Value kept but may cause issues"} 
[2026-08-19 05:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787097264000,"timestamp_ms":1787097264000,"timestamp_seconds":1787097264,"priority":1,"record_length":96,"hex_timestamp":"000001a0174c2f80"} 
[2026-08-19 05:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:26: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-08-19 05: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 05:26:11] 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-08-19 05: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-08-19 05:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496897536001,"66":27223,"6":206,"81":49664,"24":42,"16":385356977036853248,"45":4018759008678600704},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-08-19 05:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496897536001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:26:11] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-19 05:26:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-19 05:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385356977036853248,"km_value":385356977036853.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4018759008678600704,"description":"Unknown IO ID 45"} 
[2026-08-19 05:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496897536001,"power":27223,"unknown_6":206,"unknown_81":49664,"ignition":42,"odometer":null,"unknown_45":4018759008678600704}} 
[2026-08-19 05:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":157706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:26:11] local.INFO: GPS data processed {"connection_id":157706,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:26:11] local.INFO: Acknowledgment sent {"connection_id":157706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:26:12] local.INFO: TCP Data received {"connection_id":157706,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0174c52a8012d37eac006adf020000b009330..."} 
[2026-08-19 05:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0174c52a8012d37eac006adf020000b009330..."} 
[2026-08-19 05:26:12] local.INFO: Processing buffer {"connection_id":157706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0174c52a8012d37eac006adf020000b009330..."} 
[2026-08-19 05:26:12] local.INFO: Packet analysis {"connection_id":157706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0174c"} 
[2026-08-19 05:26:12] local.INFO: Extracted packet for processing {"connection_id":157706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0174c"} 
[2026-08-19 05:26:12] local.INFO: GPS Element Parsed {"raw_longitude":758639296,"raw_latitude":112062496,"longitude_deg":75.8639296,"latitude_deg":11.2062496,"altitude":11,"angle":147,"satellites":48,"speed":46,"hex_longitude":"2d37eac0","hex_latitude":"06adf020","is_valid_coordinates":true} 
[2026-08-19 05:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496899584001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385357453778223104,"note":"Value kept but may cause issues"} 
[2026-08-19 05:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4023895927001550848,"note":"Value kept but may cause issues"} 
[2026-08-19 05:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787097273000,"timestamp_ms":1787097273000,"timestamp_seconds":1787097273,"priority":1,"record_length":96,"hex_timestamp":"000001a0174c52a8"} 
[2026-08-19 05:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-19 05:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496899584001,"66":27397,"185":206,"81":49664,"24":46,"16":385357453778223104,"45":4023895927001550848},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-08-19 05:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496899584001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:26:12] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-19 05:26:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-19 05:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385357453778223104,"km_value":385357453778223.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4023895927001550848,"description":"Unknown IO ID 45"} 
[2026-08-19 05:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496899584001,"power":27397,"unknown_185":206,"unknown_81":49664,"ignition":46,"odometer":null,"unknown_45":4023895927001550848}} 
[2026-08-19 05:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":157706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:26:12] local.INFO: GPS data processed {"connection_id":157706,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:26:12] local.INFO: Acknowledgment sent {"connection_id":157706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:27:00] local.INFO: TCP Data received {"connection_id":157333,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:27:00] local.INFO: Processing buffer {"connection_id":157333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:27:00] local.INFO: IMEI packet received {"connection_id":157333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":157333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:27:01] local.INFO: TCP Data received {"connection_id":157333,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:27:01] local.INFO: Processing buffer {"connection_id":157333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:27:01] local.INFO: IMEI packet received {"connection_id":157333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":157333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:27:05] local.INFO: TCP Data received {"connection_id":157333,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:27:05] local.INFO: Processing buffer {"connection_id":157333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:27:05] local.INFO: IMEI packet received {"connection_id":157333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":157333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:27:07] local.INFO: TCP Data received {"connection_id":157333,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0174d8740012d38870006ac7c48000900a432..."} 
[2026-08-19 05:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0174d8740012d38870006ac7c48000900a432..."} 
[2026-08-19 05:27:07] local.INFO: Processing buffer {"connection_id":157333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0174d8740012d38870006ac7c48000900a432..."} 
[2026-08-19 05:27:07] local.INFO: Packet analysis {"connection_id":157333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0174d"} 
[2026-08-19 05:27:07] local.INFO: Extracted packet for processing {"connection_id":157333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0174d"} 
[2026-08-19 05:27:07] local.INFO: GPS Element Parsed {"raw_longitude":758679296,"raw_latitude":111967304,"longitude_deg":75.8679296,"latitude_deg":11.1967304,"altitude":9,"angle":164,"satellites":50,"speed":58,"hex_longitude":"2d388700","hex_latitude":"06ac7c48","is_valid_coordinates":true} 
[2026-08-19 05:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496920576001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385362504659763200,"note":"Value kept but may cause issues"} 
[2026-08-19 05:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4070620773111173120,"note":"Value kept but may cause issues"} 
[2026-08-19 05:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787097352000,"timestamp_ms":1787097352000,"timestamp_seconds":1787097352,"priority":1,"record_length":96,"hex_timestamp":"000001a0174d8740"} 
[2026-08-19 05:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:27: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-08-19 05:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 05:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496920576001,"66":27365,"164":206,"81":23296,"24":58,"16":385362504659763200,"45":4070620773111173120},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,81,24,16,45]} 
[2026-08-19 05:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496920576001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:27:07] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-19 05:27:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385362504659763200,"km_value":385362504659763.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4070620773111173120,"description":"Unknown IO ID 45"} 
[2026-08-19 05:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496920576001,"power":27365,"unknown_164":206,"unknown_81":23296,"ignition":58,"odometer":null,"unknown_45":4070620773111173120}} 
[2026-08-19 05:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":157333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:27:07] local.INFO: GPS data processed {"connection_id":157333,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:27:07] local.INFO: Acknowledgment sent {"connection_id":157333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:27:39] local.INFO: TCP Data received {"connection_id":157333,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0174d9eb0012d388fc006ac5aa0000800a532..."} 
[2026-08-19 05:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0174d9eb0012d388fc006ac5aa0000800a532..."} 
[2026-08-19 05:27:39] local.INFO: Processing buffer {"connection_id":157333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0174d9eb0012d388fc006ac5aa0000800a532..."} 
[2026-08-19 05:27:39] local.INFO: Packet analysis {"connection_id":157333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0174d"} 
[2026-08-19 05:27:39] local.INFO: Extracted packet for processing {"connection_id":157333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0174d"} 
[2026-08-19 05:27:39] local.INFO: GPS Element Parsed {"raw_longitude":758681536,"raw_latitude":111958688,"longitude_deg":75.8681536,"latitude_deg":11.1958688,"altitude":8,"angle":165,"satellites":50,"speed":59,"hex_longitude":"2d388fc0","hex_latitude":"06ac5aa0","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496922112001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385362934156492800,"note":"Value kept but may cause issues"} 
[2026-08-19 05:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4073224416643532800,"note":"Value kept but may cause issues"} 
[2026-08-19 05:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787097358000,"timestamp_ms":1787097358000,"timestamp_seconds":1787097358,"priority":1,"record_length":96,"hex_timestamp":"000001a0174d9eb0"} 
[2026-08-19 05:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 05:27:39] 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-08-19 05: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-08-19 05:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:27:39] 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-08-19 05:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496922112001,"66":27300,"164":206,"81":23296,"24":59,"16":385362934156492800,"45":4073224416643532800},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,81,24,16,45]} 
[2026-08-19 05:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496922112001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:27:39] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-19 05:27:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385362934156492800,"km_value":385362934156492.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4073224416643532800,"description":"Unknown IO ID 45"} 
[2026-08-19 05:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496922112001,"power":27300,"unknown_164":206,"unknown_81":23296,"ignition":59,"odometer":null,"unknown_45":4073224416643532800}} 
[2026-08-19 05:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":157333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:27:39] local.INFO: GPS data processed {"connection_id":157333,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:27:39] local.INFO: Acknowledgment sent {"connection_id":157333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:28:00] local.INFO: TCP Data received {"connection_id":157334,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:28:00] local.INFO: Processing buffer {"connection_id":157334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:28:00] local.INFO: IMEI packet received {"connection_id":157334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":157334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:28:05] local.INFO: TCP Data received {"connection_id":157334,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:28:05] local.INFO: Processing buffer {"connection_id":157334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:28:05] local.INFO: IMEI packet received {"connection_id":157334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":157334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:28:06] local.INFO: TCP Data received {"connection_id":157334,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0174eac38012d38f78006aadac8000900a431..."} 
[2026-08-19 05:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0174eac38012d38f78006aadac8000900a431..."} 
[2026-08-19 05:28:06] local.INFO: Processing buffer {"connection_id":157334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0174eac38012d38f78006aadac8000900a431..."} 
[2026-08-19 05:28:06] local.INFO: Packet analysis {"connection_id":157334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0174e"} 
[2026-08-19 05:28:06] local.INFO: Extracted packet for processing {"connection_id":157334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0174e"} 
[2026-08-19 05:28:06] local.INFO: GPS Element Parsed {"raw_longitude":758708096,"raw_latitude":111860424,"longitude_deg":75.8708096,"latitude_deg":11.1860424,"altitude":9,"angle":164,"satellites":49,"speed":57,"hex_longitude":"2d38f780","hex_latitude":"06aadac8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496939520001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385367864778948608,"note":"Value kept but may cause issues"} 
[2026-08-19 05:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4102075601731457024,"note":"Value kept but may cause issues"} 
[2026-08-19 05:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787097427000,"timestamp_ms":1787097427000,"timestamp_seconds":1787097427,"priority":1,"record_length":96,"hex_timestamp":"000001a0174eac38"} 
[2026-08-19 05:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 05:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:28:06] 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-08-19 05:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496939520001,"66":27343,"163":206,"81":23296,"24":57,"16":385367864778948608,"45":4102075601731457024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-08-19 05:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496939520001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:28:06] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 05:28:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385367864778948608,"km_value":385367864778948.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4102075601731457024,"description":"Unknown IO ID 45"} 
[2026-08-19 05:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496939520001,"power":27343,"unknown_163":206,"unknown_81":23296,"ignition":57,"odometer":null,"unknown_45":4102075601731457024}} 
[2026-08-19 05:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":157334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:28:06] local.INFO: GPS data processed {"connection_id":157334,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:28:06] local.INFO: Acknowledgment sent {"connection_id":157334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:28:41] local.INFO: TCP Data received {"connection_id":157334,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0174ec790012d39018006aab4b0000900a532..."} 
[2026-08-19 05:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0174ec790012d39018006aab4b0000900a532..."} 
[2026-08-19 05:28:41] local.INFO: Processing buffer {"connection_id":157334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0174ec790012d39018006aab4b0000900a532..."} 
[2026-08-19 05:28:41] local.INFO: Packet analysis {"connection_id":157334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0174e"} 
[2026-08-19 05:28:41] local.INFO: Extracted packet for processing {"connection_id":157334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0174e"} 
[2026-08-19 05:28:41] local.INFO: GPS Element Parsed {"raw_longitude":758710656,"raw_latitude":111850672,"longitude_deg":75.8710656,"latitude_deg":11.1850672,"altitude":9,"angle":165,"satellites":50,"speed":56,"hex_longitude":"2d390180","hex_latitude":"06aab4b0","is_valid_coordinates":true} 
[2026-08-19 05:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496941312001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385368350110253056,"note":"Value kept but may cause issues"} 
[2026-08-19 05:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4104890351496120320,"note":"Value kept but may cause issues"} 
[2026-08-19 05:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787097434000,"timestamp_ms":1787097434000,"timestamp_seconds":1787097434,"priority":1,"record_length":96,"hex_timestamp":"000001a0174ec790"} 
[2026-08-19 05:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 05:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496941312001,"66":27115,"163":206,"81":23296,"24":56,"16":385368350110253056,"45":4104890351496120320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-08-19 05:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496941312001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:28:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 05:28:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385368350110253056,"km_value":385368350110253.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4104890351496120320,"description":"Unknown IO ID 45"} 
[2026-08-19 05:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496941312001,"power":27115,"unknown_163":206,"unknown_81":23296,"ignition":56,"odometer":null,"unknown_45":4104890351496120320}} 
[2026-08-19 05:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":157334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:28:41] local.INFO: GPS data processed {"connection_id":157334,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:28:41] local.INFO: Acknowledgment sent {"connection_id":157334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:29:02] local.INFO: TCP Data received {"connection_id":158600,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:29:02] local.INFO: Processing buffer {"connection_id":158600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:29:02] local.INFO: IMEI packet received {"connection_id":158600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":158600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:29:06] local.INFO: TCP Data received {"connection_id":158600,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:29:06] local.INFO: Processing buffer {"connection_id":158600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:29:06] local.INFO: IMEI packet received {"connection_id":158600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":158600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:29:19] local.INFO: TCP Data received {"connection_id":158600,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:29:19] local.INFO: Processing buffer {"connection_id":158600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:29:19] local.INFO: IMEI packet received {"connection_id":158600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":158600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:29:21] local.INFO: TCP Data received {"connection_id":158600,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0174ee2e8012d390b8006aa8f48000900a530..."} 
[2026-08-19 05:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0174ee2e8012d390b8006aa8f48000900a530..."} 
[2026-08-19 05:29:21] local.INFO: Processing buffer {"connection_id":158600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0174ee2e8012d390b8006aa8f48000900a530..."} 
[2026-08-19 05:29:21] local.INFO: Packet analysis {"connection_id":158600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0174e"} 
[2026-08-19 05:29:21] local.INFO: Extracted packet for processing {"connection_id":158600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0174e"} 
[2026-08-19 05:29:21] local.INFO: GPS Element Parsed {"raw_longitude":758713216,"raw_latitude":111841096,"longitude_deg":75.8713216,"latitude_deg":11.1841096,"altitude":9,"angle":165,"satellites":48,"speed":55,"hex_longitude":"2d390b80","hex_latitude":"06aa8f48","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496943104001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385368831146590208,"note":"Value kept but may cause issues"} 
[2026-08-19 05:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4107705101260730368,"note":"Value kept but may cause issues"} 
[2026-08-19 05:29:21] 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-08-19 05:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787097441000,"timestamp_ms":1787097441000,"timestamp_seconds":1787097441,"priority":1,"record_length":96,"hex_timestamp":"000001a0174ee2e8"} 
[2026-08-19 05:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:29: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-08-19 05: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-19 05:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":158600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":158600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":158600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:29: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-08-19 05:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496943104001,"66":27310,"44":206,"81":23296,"24":55,"16":385368831146590208,"45":4107705101260730368},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-19 05:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496943104001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-19 05:29:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385368831146590208,"km_value":385368831146590.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4107705101260730368,"description":"Unknown IO ID 45"} 
[2026-08-19 05:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496943104001,"power":27310,"unknown_44":206,"unknown_81":23296,"ignition":55,"odometer":null,"unknown_45":4107705101260730368}} 
[2026-08-19 05:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":158600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:29:21] local.INFO: GPS data processed {"connection_id":158600,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:29:21] local.INFO: Acknowledgment sent {"connection_id":158600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:29:22] local.INFO: TCP Data received {"connection_id":158600,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017501780012d39620006a94f38000800de2e..."} 
[2026-08-19 05:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017501780012d39620006a94f38000800de2e..."} 
[2026-08-19 05:29:22] local.INFO: Processing buffer {"connection_id":158600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017501780012d39620006a94f38000800de2e..."} 
[2026-08-19 05:29:22] local.INFO: Packet analysis {"connection_id":158600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01750"} 
[2026-08-19 05:29:22] local.INFO: Extracted packet for processing {"connection_id":158600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01750"} 
[2026-08-19 05:29:22] local.INFO: GPS Element Parsed {"raw_longitude":758735360,"raw_latitude":111759160,"longitude_deg":75.873536,"latitude_deg":11.175916,"altitude":8,"angle":222,"satellites":46,"speed":14,"hex_longitude":"2d396200","hex_latitude":"06a94f38","is_valid_coordinates":true} 
[2026-08-19 05:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496964864001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4135078542722486272,"note":"Value kept but may cause issues"} 
[2026-08-19 05:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385372954315194368,"note":"Value kept but may cause issues"} 
[2026-08-19 05:29:22] 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-08-19 05:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787097520000,"timestamp_ms":1787097520000,"timestamp_seconds":1787097520,"priority":1,"record_length":96,"hex_timestamp":"000001a017501780"} 
[2026-08-19 05:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:29: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-08-19 05:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 05:29:22] 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-08-19 05:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496964864001,"66":27245,"45":4135078542722486272,"81":23296,"24":14,"16":385372954315194368},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-08-19 05:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496964864001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4135078542722486272,"description":"Unknown IO ID 45"} 
[2026-08-19 05:29:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385372954315194368,"km_value":385372954315194.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:29:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457496964864001,"power":27245,"unknown_45":4135078542722486272,"unknown_81":23296,"ignition":14,"odometer":null}} 
[2026-08-19 05:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":158600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:29:22] local.INFO: GPS data processed {"connection_id":158600,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:29:22] local.INFO: Acknowledgment sent {"connection_id":158600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:30:00] local.INFO: TCP Data received {"connection_id":157707,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:30:00] local.INFO: Processing buffer {"connection_id":157707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:30:00] local.INFO: IMEI packet received {"connection_id":157707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":157707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:30:00] local.INFO: TCP Data received {"connection_id":157707,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:30:00] local.INFO: Processing buffer {"connection_id":157707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:30:00] local.INFO: IMEI packet received {"connection_id":157707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":157707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:30:05] local.INFO: TCP Data received {"connection_id":157707,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:30:05] local.INFO: Processing buffer {"connection_id":157707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:30:05] local.INFO: IMEI packet received {"connection_id":157707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":157707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:30:06] local.INFO: TCP Data received {"connection_id":157707,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017501b68012d39610006a94e90000900ef2f..."} 
[2026-08-19 05:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017501b68012d39610006a94e90000900ef2f..."} 
[2026-08-19 05:30:06] local.INFO: Processing buffer {"connection_id":157707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017501b68012d39610006a94e90000900ef2f..."} 
[2026-08-19 05:30:06] local.INFO: Packet analysis {"connection_id":157707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01750"} 
[2026-08-19 05:30:06] local.INFO: Extracted packet for processing {"connection_id":157707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01750"} 
[2026-08-19 05:30:06] local.INFO: GPS Element Parsed {"raw_longitude":758735104,"raw_latitude":111758992,"longitude_deg":75.8735104,"latitude_deg":11.1758992,"altitude":9,"angle":239,"satellites":47,"speed":13,"hex_longitude":"2d396100","hex_latitude":"06a94e90","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496965120001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4134867436489881600,"note":"Value kept but may cause issues"} 
[2026-08-19 05:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385372967200096256,"note":"Value kept but may cause issues"} 
[2026-08-19 05:30:06] 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-08-19 05:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787097521000,"timestamp_ms":1787097521000,"timestamp_seconds":1787097521,"priority":1,"record_length":96,"hex_timestamp":"000001a017501b68"} 
[2026-08-19 05:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 05:30:06] 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-08-19 05: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-08-19 05:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:30:06] 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-08-19 05:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496965120001,"66":27321,"45":4134867436489881600,"81":23296,"24":13,"16":385372967200096256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-08-19 05:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496965120001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4134867436489881600,"description":"Unknown IO ID 45"} 
[2026-08-19 05:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385372967200096256,"km_value":385372967200096.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:30:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457496965120001,"power":27321,"unknown_45":4134867436489881600,"unknown_81":23296,"ignition":13,"odometer":null}} 
[2026-08-19 05:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":157707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:30:06] local.INFO: GPS data processed {"connection_id":157707,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:30:06] local.INFO: Acknowledgment sent {"connection_id":157707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:30:39] local.INFO: TCP Data received {"connection_id":157707,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017501f50012d39600006a94e58000901002f..."} 
[2026-08-19 05:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017501f50012d39600006a94e58000901002f..."} 
[2026-08-19 05:30:39] local.INFO: Processing buffer {"connection_id":157707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017501f50012d39600006a94e58000901002f..."} 
[2026-08-19 05:30:39] local.INFO: Packet analysis {"connection_id":157707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01750"} 
[2026-08-19 05:30:39] local.INFO: Extracted packet for processing {"connection_id":157707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01750"} 
[2026-08-19 05:30:39] local.INFO: GPS Element Parsed {"raw_longitude":758734848,"raw_latitude":111758936,"longitude_deg":75.8734848,"latitude_deg":11.1758936,"altitude":9,"angle":256,"satellites":47,"speed":12,"hex_longitude":"2d396000","hex_latitude":"06a94e58","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496965376001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4134585961513127936,"note":"Value kept but may cause issues"} 
[2026-08-19 05:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385372984379965440,"note":"Value kept but may cause issues"} 
[2026-08-19 05:30:39] 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-08-19 05:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787097522000,"timestamp_ms":1787097522000,"timestamp_seconds":1787097522,"priority":1,"record_length":96,"hex_timestamp":"000001a017501f50"} 
[2026-08-19 05:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:30: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-08-19 05: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 05:30:39] 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-08-19 05: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-08-19 05:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:30:39] 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-08-19 05:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496965376001,"66":27321,"45":4134585961513127936,"81":23296,"24":12,"16":385372984379965440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-08-19 05:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496965376001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4134585961513127936,"description":"Unknown IO ID 45"} 
[2026-08-19 05:30:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385372984379965440,"km_value":385372984379965.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:30:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457496965376001,"power":27321,"unknown_45":4134585961513127936,"unknown_81":23296,"ignition":12,"odometer":null}} 
[2026-08-19 05:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":157707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:30:39] local.INFO: GPS data processed {"connection_id":157707,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:30:39] local.INFO: Acknowledgment sent {"connection_id":157707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:30:59] local.INFO: TCP Data received {"connection_id":159881,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:30:59] local.INFO: Processing buffer {"connection_id":159881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:30:59] local.INFO: IMEI packet received {"connection_id":159881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":159881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:31:00] local.INFO: TCP Data received {"connection_id":159881,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:31:00] local.INFO: Processing buffer {"connection_id":159881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:31:00] local.INFO: IMEI packet received {"connection_id":159881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":159881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:31:05] local.INFO: TCP Data received {"connection_id":159881,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:31:05] local.INFO: Processing buffer {"connection_id":159881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:31:05] local.INFO: IMEI packet received {"connection_id":159881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":159881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:31:06] local.INFO: TCP Data received {"connection_id":159881,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017502338012d395ec006a94ee0000901172d..."} 
[2026-08-19 05:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017502338012d395ec006a94ee0000901172d..."} 
[2026-08-19 05:31:06] local.INFO: Processing buffer {"connection_id":159881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017502338012d395ec006a94ee0000901172d..."} 
[2026-08-19 05:31:06] local.INFO: Packet analysis {"connection_id":159881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01750"} 
[2026-08-19 05:31:06] local.INFO: Extracted packet for processing {"connection_id":159881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01750"} 
[2026-08-19 05:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758734528,"raw_latitude":111759072,"longitude_deg":75.8734528,"latitude_deg":11.1759072,"altitude":9,"angle":279,"satellites":45,"speed":13,"hex_longitude":"2d395ec0","hex_latitude":"06a94ee0","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496965632001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4134304486536402944,"note":"Value kept but may cause issues"} 
[2026-08-19 05:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385373001559834624,"note":"Value kept but may cause issues"} 
[2026-08-19 05:31:06] 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-08-19 05:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787097523000,"timestamp_ms":1787097523000,"timestamp_seconds":1787097523,"priority":1,"record_length":96,"hex_timestamp":"000001a017502338"} 
[2026-08-19 05:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:31: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-08-19 05: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 05:31:06] 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-08-19 05: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-08-19 05:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:31:06] 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-08-19 05:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496965632001,"66":27245,"45":4134304486536402944,"81":23296,"24":13,"16":385373001559834624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-08-19 05:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496965632001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4134304486536402944,"description":"Unknown IO ID 45"} 
[2026-08-19 05:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385373001559834624,"km_value":385373001559834.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:31:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457496965632001,"power":27245,"unknown_45":4134304486536402944,"unknown_81":23296,"ignition":13,"odometer":null}} 
[2026-08-19 05:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":159881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:31:06] local.INFO: GPS data processed {"connection_id":159881,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:31:06] local.INFO: Acknowledgment sent {"connection_id":159881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:31:38] local.INFO: TCP Data received {"connection_id":159881,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01751ec40012d37d08006a99360000b01062f..."} 
[2026-08-19 05:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01751ec40012d37d08006a99360000b01062f..."} 
[2026-08-19 05:31:38] local.INFO: Processing buffer {"connection_id":159881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01751ec40012d37d08006a99360000b01062f..."} 
[2026-08-19 05:31:38] local.INFO: Packet analysis {"connection_id":159881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01751"} 
[2026-08-19 05:31:38] local.INFO: Extracted packet for processing {"connection_id":159881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01751"} 
[2026-08-19 05:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758632576,"raw_latitude":111776608,"longitude_deg":75.8632576,"latitude_deg":11.1776608,"altitude":11,"angle":262,"satellites":47,"speed":40,"hex_longitude":"2d37d080","hex_latitude":"06a99360","is_valid_coordinates":true} 
[2026-08-19 05:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496993536001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385377970836996096,"note":"Value kept but may cause issues"} 
[2026-08-19 05:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4031988332506820608,"note":"Value kept but may cause issues"} 
[2026-08-19 05:31:38] 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-08-19 05:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787097640000,"timestamp_ms":1787097640000,"timestamp_seconds":1787097640,"priority":1,"record_length":96,"hex_timestamp":"000001a01751ec40"} 
[2026-08-19 05:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:31: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-08-19 05:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 05:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:31:38] 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-08-19 05:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496993536001,"66":27376,"77":206,"81":23296,"24":40,"16":385377970836996096,"45":4031988332506820608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-08-19 05:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496993536001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:31:38] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-19 05:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385377970836996096,"km_value":385377970836996.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4031988332506820608,"description":"Unknown IO ID 45"} 
[2026-08-19 05:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496993536001,"power":27376,"unknown_77":206,"unknown_81":23296,"ignition":40,"odometer":null,"unknown_45":4031988332506820608}} 
[2026-08-19 05:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":159881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:31:38] local.INFO: GPS data processed {"connection_id":159881,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:31:38] local.INFO: Acknowledgment sent {"connection_id":159881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:32:06] local.INFO: TCP Data received {"connection_id":157335,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:32:06] local.INFO: Processing buffer {"connection_id":157335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:32:06] local.INFO: IMEI packet received {"connection_id":157335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":157335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:32:12] local.INFO: TCP Data received {"connection_id":157335,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:32:12] local.INFO: Processing buffer {"connection_id":157335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:32:12] local.INFO: IMEI packet received {"connection_id":157335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":157335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:32:15] local.INFO: TCP Data received {"connection_id":157335,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:32:15] local.INFO: Processing buffer {"connection_id":157335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:32:15] local.INFO: IMEI packet received {"connection_id":157335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":157335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:32:55] local.INFO: TCP Data received {"connection_id":157335,"ip":"42.106.6.36","data_length":1348,"data_hex":"000000000000030f8e0a000001a017520f68012d37ac4006a99020000b010b30..."} 
[2026-08-19 05:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157335,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a017520f68012d37ac4006a99020000b010b30..."} 
[2026-08-19 05:32:55] local.INFO: Processing buffer {"connection_id":157335,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a017520f68012d37ac4006a99020000b010b30..."} 
[2026-08-19 05:32:55] local.INFO: Packet analysis {"connection_id":157335,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a01752"} 
[2026-08-19 05:32:55] local.INFO: Extracted packet for processing {"connection_id":157335,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a01752"} 
[2026-08-19 05:32:55] local.INFO: GPS Element Parsed {"raw_longitude":758623296,"raw_latitude":111775776,"longitude_deg":75.8623296,"latitude_deg":11.1775776,"altitude":11,"angle":267,"satellites":48,"speed":38,"hex_longitude":"2d37ac40","hex_latitude":"06a99020","is_valid_coordinates":true} 
[2026-08-19 05:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457496995840001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385378417513594880,"note":"Value kept but may cause issues"} 
[2026-08-19 05:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4021855233345019904,"note":"Value kept but may cause issues"} 
[2026-08-19 05:32:55] 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-08-19 05:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787097649000,"timestamp_ms":1787097649000,"timestamp_seconds":1787097649,"priority":1,"record_length":96,"hex_timestamp":"000001a017520f68"} 
[2026-08-19 05:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:32: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-08-19 05:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 05:32:55] 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-08-19 05:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":157335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":157335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":157335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:32:55] 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-08-19 05:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457496995840001,"66":27332,"77":206,"81":23296,"24":38,"16":385378417513594880,"45":4021855233345019904},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-08-19 05:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457496995840001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:32:55] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-19 05:32:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385378417513594880,"km_value":385378417513594.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4021855233345019904,"description":"Unknown IO ID 45"} 
[2026-08-19 05:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457496995840001,"power":27332,"unknown_77":206,"unknown_81":23296,"ignition":38,"odometer":null,"unknown_45":4021855233345019904}} 
[2026-08-19 05:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":157335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:32:55] local.INFO: GPS data processed {"connection_id":157335,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:32:55] local.INFO: Acknowledgment sent {"connection_id":157335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:32:55] local.INFO: Packet analysis {"connection_id":157335,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a01752"} 
[2026-08-19 05:32:55] local.INFO: Incomplete packet, waiting for more data {"connection_id":157335,"needed":795,"available":553} 
[2026-08-19 05:33:00] local.INFO: TCP Data received {"connection_id":157708,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:33:00] local.INFO: Processing buffer {"connection_id":157708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:33:00] local.INFO: IMEI packet received {"connection_id":157708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":157708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:33:04] local.INFO: TCP Data received {"connection_id":157708,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:33:04] local.INFO: Processing buffer {"connection_id":157708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:33:04] local.INFO: IMEI packet received {"connection_id":157708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":157708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:33:06] local.INFO: TCP Data received {"connection_id":157708,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017527cc8012d373bc006a98f40000901182e..."} 
[2026-08-19 05:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017527cc8012d373bc006a98f40000901182e..."} 
[2026-08-19 05:33:06] local.INFO: Processing buffer {"connection_id":157708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017527cc8012d373bc006a98f40000901182e..."} 
[2026-08-19 05:33:06] local.INFO: Packet analysis {"connection_id":157708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01752"} 
[2026-08-19 05:33:06] local.INFO: Extracted packet for processing {"connection_id":157708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01752"} 
[2026-08-19 05:33:06] local.INFO: GPS Element Parsed {"raw_longitude":758594496,"raw_latitude":111775552,"longitude_deg":75.8594496,"latitude_deg":11.1775552,"altitude":9,"angle":280,"satellites":46,"speed":37,"hex_longitude":"2d373bc0","hex_latitude":"06a98f40","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497002752001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385379791903129600,"note":"Value kept but may cause issues"} 
[2026-08-19 05:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3990892985906245632,"note":"Value kept but may cause issues"} 
[2026-08-19 05:33:06] 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-08-19 05:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787097677000,"timestamp_ms":1787097677000,"timestamp_seconds":1787097677,"priority":1,"record_length":96,"hex_timestamp":"000001a017527cc8"} 
[2026-08-19 05:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:33: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-08-19 05:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 05:33:06] 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-08-19 05: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-08-19 05:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:33:06] 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-08-19 05:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497002752001,"66":27343,"77":206,"81":23296,"24":37,"16":385379791903129600,"45":3990892985906245632},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-08-19 05:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497002752001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:33:06] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-19 05:33:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385379791903129600,"km_value":385379791903129.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3990892985906245632,"description":"Unknown IO ID 45"} 
[2026-08-19 05:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497002752001,"power":27343,"unknown_77":206,"unknown_81":23296,"ignition":37,"odometer":null,"unknown_45":3990892985906245632}} 
[2026-08-19 05:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":157708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:33:06] local.INFO: GPS data processed {"connection_id":157708,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:33:06] local.INFO: Acknowledgment sent {"connection_id":157708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:33:07] local.INFO: TCP Data received {"connection_id":157708,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01752a3d8012d37178006a995f0000801172b..."} 
[2026-08-19 05:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01752a3d8012d37178006a995f0000801172b..."} 
[2026-08-19 05:33:07] local.INFO: Processing buffer {"connection_id":157708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01752a3d8012d37178006a995f0000801172b..."} 
[2026-08-19 05:33:07] local.INFO: Packet analysis {"connection_id":157708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01752"} 
[2026-08-19 05:33:07] local.INFO: Extracted packet for processing {"connection_id":157708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01752"} 
[2026-08-19 05:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758585216,"raw_latitude":111777264,"longitude_deg":75.8585216,"latitude_deg":11.1777264,"altitude":8,"angle":279,"satellites":43,"speed":36,"hex_longitude":"2d371780","hex_latitude":"06a995f0","is_valid_coordinates":true} 
[2026-08-19 05:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497005312001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385380242874695680,"note":"Value kept but may cause issues"} 
[2026-08-19 05:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3979985830559039488,"note":"Value kept but may cause issues"} 
[2026-08-19 05:33:07] 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-08-19 05:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787097687000,"timestamp_ms":1787097687000,"timestamp_seconds":1787097687,"priority":1,"record_length":96,"hex_timestamp":"000001a01752a3d8"} 
[2026-08-19 05:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 05:33:07] 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-08-19 05:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497005312001,"66":27300,"77":206,"81":23296,"24":36,"16":385380242874695680,"45":3979985830559039488},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-08-19 05:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497005312001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:33:07] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-19 05:33:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385380242874695680,"km_value":385380242874695.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3979985830559039488,"description":"Unknown IO ID 45"} 
[2026-08-19 05:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497005312001,"power":27300,"unknown_77":206,"unknown_81":23296,"ignition":36,"odometer":null,"unknown_45":3979985830559039488}} 
[2026-08-19 05:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":157708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:33:07] local.INFO: GPS data processed {"connection_id":157708,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:33:07] local.INFO: Acknowledgment sent {"connection_id":157708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:33:38] local.INFO: TCP Data received {"connection_id":157708,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01752cae8012d36f44006a99ca8000801192d..."} 
[2026-08-19 05:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01752cae8012d36f44006a99ca8000801192d..."} 
[2026-08-19 05:33:38] local.INFO: Processing buffer {"connection_id":157708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01752cae8012d36f44006a99ca8000801192d..."} 
[2026-08-19 05:33:38] local.INFO: Packet analysis {"connection_id":157708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01752"} 
[2026-08-19 05:33:38] local.INFO: Extracted packet for processing {"connection_id":157708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01752"} 
[2026-08-19 05:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758576192,"raw_latitude":111778984,"longitude_deg":75.8576192,"latitude_deg":11.1778984,"altitude":8,"angle":281,"satellites":45,"speed":37,"hex_longitude":"2d36f440","hex_latitude":"06a99ca8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497007872001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385380680961359872,"note":"Value kept but may cause issues"} 
[2026-08-19 05:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3969782362653716480,"note":"Value kept but may cause issues"} 
[2026-08-19 05:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787097697000,"timestamp_ms":1787097697000,"timestamp_seconds":1787097697,"priority":1,"record_length":96,"hex_timestamp":"000001a01752cae8"} 
[2026-08-19 05:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 05:33:38] 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-08-19 05: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-08-19 05:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:33:38] 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-08-19 05:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497007872001,"66":27332,"78":206,"81":23296,"24":37,"16":385380680961359872,"45":3969782362653716480},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-08-19 05:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497007872001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:33:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-19 05:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385380680961359872,"km_value":385380680961359.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3969782362653716480,"description":"Unknown IO ID 45"} 
[2026-08-19 05:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497007872001,"power":27332,"unknown_78":206,"unknown_81":23296,"ignition":37,"odometer":null,"unknown_45":3969782362653716480}} 
[2026-08-19 05:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":157708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:33:38] local.INFO: GPS data processed {"connection_id":157708,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:33:38] local.INFO: Acknowledgment sent {"connection_id":157708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:33:59] local.INFO: TCP Data received {"connection_id":158601,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:33:59] local.INFO: Processing buffer {"connection_id":158601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:33:59] local.INFO: IMEI packet received {"connection_id":158601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":158601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:34:00] local.INFO: TCP Data received {"connection_id":158601,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:34:00] local.INFO: Processing buffer {"connection_id":158601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:34:00] local.INFO: IMEI packet received {"connection_id":158601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":158601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:34:05] local.INFO: TCP Data received {"connection_id":158601,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:34:05] local.INFO: Processing buffer {"connection_id":158601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:34:05] local.INFO: IMEI packet received {"connection_id":158601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":158601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:34:09] local.INFO: TCP Data received {"connection_id":158601,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0175416f0012d35bec006aa1d98000501242d..."} 
[2026-08-19 05:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175416f0012d35bec006aa1d98000501242d..."} 
[2026-08-19 05:34:09] local.INFO: Processing buffer {"connection_id":158601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175416f0012d35bec006aa1d98000501242d..."} 
[2026-08-19 05:34:09] local.INFO: Packet analysis {"connection_id":158601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01754"} 
[2026-08-19 05:34:09] local.INFO: Extracted packet for processing {"connection_id":158601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01754"} 
[2026-08-19 05:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758496960,"raw_latitude":111811992,"longitude_deg":75.849696,"latitude_deg":11.1811992,"altitude":5,"angle":292,"satellites":45,"speed":41,"hex_longitude":"2d35bec0","hex_latitude":"06aa1d98","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497029888001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385384812719898624,"note":"Value kept but may cause issues"} 
[2026-08-19 05:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3882454751137198080,"note":"Value kept but may cause issues"} 
[2026-08-19 05:34:09] 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-08-19 05:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787097782000,"timestamp_ms":1787097782000,"timestamp_seconds":1787097782,"priority":1,"record_length":96,"hex_timestamp":"000001a0175416f0"} 
[2026-08-19 05:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:34: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-08-19 05: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 05:34:09] 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-08-19 05: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-08-19 05:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":158601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":158601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":158601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:34:09] 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-08-19 05:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497029888001,"66":27234,"96":206,"81":23296,"24":41,"16":385384812719898624,"45":3882454751137198080},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-08-19 05:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497029888001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:34:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 05:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385384812719898624,"km_value":385384812719898.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3882454751137198080,"description":"Unknown IO ID 45"} 
[2026-08-19 05:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497029888001,"power":27234,"unknown_96":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":3882454751137198080}} 
[2026-08-19 05:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":158601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:34:09] local.INFO: GPS data processed {"connection_id":158601,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:34:09] local.INFO: Acknowledgment sent {"connection_id":158601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:34:41] local.INFO: TCP Data received {"connection_id":158601,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017543a18012d359d0006aa2bc0000501252f..."} 
[2026-08-19 05:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017543a18012d359d0006aa2bc0000501252f..."} 
[2026-08-19 05:34:41] local.INFO: Processing buffer {"connection_id":158601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017543a18012d359d0006aa2bc0000501252f..."} 
[2026-08-19 05:34:41] local.INFO: Packet analysis {"connection_id":158601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01754"} 
[2026-08-19 05:34:41] local.INFO: Extracted packet for processing {"connection_id":158601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01754"} 
[2026-08-19 05:34:41] local.INFO: GPS Element Parsed {"raw_longitude":758488320,"raw_latitude":111815616,"longitude_deg":75.848832,"latitude_deg":11.1815616,"altitude":5,"angle":293,"satellites":47,"speed":38,"hex_longitude":"2d359d00","hex_latitude":"06aa2bc0","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497032192001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385385259396497408,"note":"Value kept but may cause issues"} 
[2026-08-19 05:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3872743864441608192,"note":"Value kept but may cause issues"} 
[2026-08-19 05:34:41] 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-08-19 05:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787097791000,"timestamp_ms":1787097791000,"timestamp_seconds":1787097791,"priority":1,"record_length":96,"hex_timestamp":"000001a017543a18"} 
[2026-08-19 05:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 05:34:41] 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-08-19 05: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-08-19 05:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497032192001,"66":27267,"96":206,"81":23296,"24":38,"16":385385259396497408,"45":3872743864441608192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-08-19 05:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497032192001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:34:41] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 05:34:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385385259396497408,"km_value":385385259396497.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3872743864441608192,"description":"Unknown IO ID 45"} 
[2026-08-19 05:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497032192001,"power":27267,"unknown_96":206,"unknown_81":23296,"ignition":38,"odometer":null,"unknown_45":3872743864441608192}} 
[2026-08-19 05:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":158601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:34:41] local.INFO: GPS data processed {"connection_id":158601,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:34:41] local.INFO: Acknowledgment sent {"connection_id":158601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:35:00] local.INFO: TCP Data received {"connection_id":158602,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:35:00] local.INFO: Processing buffer {"connection_id":158602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:35:00] local.INFO: IMEI packet received {"connection_id":158602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":158602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:35:05] local.INFO: TCP Data received {"connection_id":158602,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:35:05] local.INFO: Processing buffer {"connection_id":158602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:35:05] local.INFO: IMEI packet received {"connection_id":158602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":158602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:35:06] local.INFO: TCP Data received {"connection_id":158602,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017546128012d357b4006aa3a18000501232d..."} 
[2026-08-19 05:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017546128012d357b4006aa3a18000501232d..."} 
[2026-08-19 05:35:06] local.INFO: Processing buffer {"connection_id":158602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017546128012d357b4006aa3a18000501232d..."} 
[2026-08-19 05:35:06] local.INFO: Packet analysis {"connection_id":158602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01754"} 
[2026-08-19 05:35:06] local.INFO: Extracted packet for processing {"connection_id":158602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01754"} 
[2026-08-19 05:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758479680,"raw_latitude":111819288,"longitude_deg":75.847968,"latitude_deg":11.1819288,"altitude":5,"angle":291,"satellites":45,"speed":35,"hex_longitude":"2d357b40","hex_latitude":"06aa3a18","is_valid_coordinates":true} 
[2026-08-19 05:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497034496001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385385706073096192,"note":"Value kept but may cause issues"} 
[2026-08-19 05:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3863244083978551296,"note":"Value kept but may cause issues"} 
[2026-08-19 05:35:06] 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-08-19 05:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787097801000,"timestamp_ms":1787097801000,"timestamp_seconds":1787097801,"priority":1,"record_length":96,"hex_timestamp":"000001a017546128"} 
[2026-08-19 05:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 05:35:06] 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-08-19 05:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:35:06] 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-08-19 05:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497034496001,"66":27397,"96":206,"81":23296,"24":35,"16":385385706073096192,"45":3863244083978551296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-08-19 05:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497034496001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:35:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 05:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385385706073096192,"km_value":385385706073096.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3863244083978551296,"description":"Unknown IO ID 45"} 
[2026-08-19 05:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497034496001,"power":27397,"unknown_96":206,"unknown_81":23296,"ignition":35,"odometer":null,"unknown_45":3863244083978551296}} 
[2026-08-19 05:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":158602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:35:06] local.INFO: GPS data processed {"connection_id":158602,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:35:06] local.INFO: Acknowledgment sent {"connection_id":158602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:35:38] local.INFO: TCP Data received {"connection_id":158602,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017557a68012d34c54006aa5428000800ce2d..."} 
[2026-08-19 05:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017557a68012d34c54006aa5428000800ce2d..."} 
[2026-08-19 05:35:38] local.INFO: Processing buffer {"connection_id":158602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017557a68012d34c54006aa5428000800ce2d..."} 
[2026-08-19 05:35:38] local.INFO: Packet analysis {"connection_id":158602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01755"} 
[2026-08-19 05:35:38] local.INFO: Extracted packet for processing {"connection_id":158602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01755"} 
[2026-08-19 05:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825960,"longitude_deg":75.8433088,"latitude_deg":11.182596,"altitude":8,"angle":206,"satellites":45,"speed":14,"hex_longitude":"2d34c540","hex_latitude":"06aa5428","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497055232001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388072600076288,"note":"Value kept but may cause issues"} 
[2026-08-19 05:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963988494336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787097873000,"timestamp_ms":1787097873000,"timestamp_seconds":1787097873,"priority":1,"record_length":96,"hex_timestamp":"000001a017557a68"} 
[2026-08-19 05:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 05:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:35:38] 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-08-19 05:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497055232001,"66":27484,"97":206,"81":23296,"24":14,"16":385388072600076288,"45":3802726963988494336},"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-08-19 05:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497055232001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388072600076288,"km_value":385388072600076.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963988494336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497055232001,"power":27484,"unknown_97":206,"unknown_81":23296,"ignition":14,"odometer":null,"unknown_45":3802726963988494336}} 
[2026-08-19 05:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":158602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:35:38] local.INFO: GPS data processed {"connection_id":158602,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:35:38] local.INFO: Acknowledgment sent {"connection_id":158602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:36:00] local.INFO: TCP Data received {"connection_id":157336,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:36:00] local.INFO: Processing buffer {"connection_id":157336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:36:00] local.INFO: IMEI packet received {"connection_id":157336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":157336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:36:05] local.INFO: TCP Data received {"connection_id":157336,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:36:05] local.INFO: Processing buffer {"connection_id":157336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:36:05] local.INFO: IMEI packet received {"connection_id":157336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":157336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:36:06] local.INFO: TCP Data received {"connection_id":157336,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017557e50012d34c50006aa52e8000800b52d..."} 
[2026-08-19 05:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017557e50012d34c50006aa52e8000800b52d..."} 
[2026-08-19 05:36:06] local.INFO: Processing buffer {"connection_id":157336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017557e50012d34c50006aa52e8000800b52d..."} 
[2026-08-19 05:36:06] local.INFO: Packet analysis {"connection_id":157336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01755"} 
[2026-08-19 05:36:06] local.INFO: Extracted packet for processing {"connection_id":157336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01755"} 
[2026-08-19 05:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825640,"longitude_deg":75.8433024,"latitude_deg":11.182564,"altitude":8,"angle":181,"satellites":45,"speed":11,"hex_longitude":"2d34c500","hex_latitude":"06aa52e8","is_valid_coordinates":true} 
[2026-08-19 05:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497055488001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388085484978176,"note":"Value kept but may cause issues"} 
[2026-08-19 05:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755875328,"note":"Value kept but may cause issues"} 
[2026-08-19 05:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787097874000,"timestamp_ms":1787097874000,"timestamp_seconds":1787097874,"priority":1,"record_length":96,"hex_timestamp":"000001a017557e50"} 
[2026-08-19 05:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 05:36:06] 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-08-19 05:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:36:06] 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-08-19 05:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497055488001,"66":27484,"97":206,"81":23296,"24":11,"16":385388085484978176,"45":3802515857755875328},"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-08-19 05:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497055488001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:36:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388085484978176,"km_value":385388085484978.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755875328,"description":"Unknown IO ID 45"} 
[2026-08-19 05:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497055488001,"power":27484,"unknown_97":206,"unknown_81":23296,"ignition":11,"odometer":null,"unknown_45":3802515857755875328}} 
[2026-08-19 05:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":157336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:36:06] local.INFO: GPS data processed {"connection_id":157336,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:36:06] local.INFO: Acknowledgment sent {"connection_id":157336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:36:38] local.INFO: TCP Data received {"connection_id":157336,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01755d058012d34c54006aa50d8000800aa31..."} 
[2026-08-19 05:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01755d058012d34c54006aa50d8000800aa31..."} 
[2026-08-19 05:36:38] local.INFO: Processing buffer {"connection_id":157336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01755d058012d34c54006aa50d8000800aa31..."} 
[2026-08-19 05:36:38] local.INFO: Packet analysis {"connection_id":157336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01755"} 
[2026-08-19 05:36:38] local.INFO: Extracted packet for processing {"connection_id":157336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01755"} 
[2026-08-19 05:36:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825112,"longitude_deg":75.8433088,"latitude_deg":11.1825112,"altitude":8,"angle":170,"satellites":49,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa50d8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497055744001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388111254781952,"note":"Value kept but may cause issues"} 
[2026-08-19 05:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011615744,"note":"Value kept but may cause issues"} 
[2026-08-19 05:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787097895000,"timestamp_ms":1787097895000,"timestamp_seconds":1787097895,"priority":1,"record_length":96,"hex_timestamp":"000001a01755d058"} 
[2026-08-19 05:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 05:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:36:38] 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-08-19 05:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497055744001,"66":27908,"97":206,"81":23296,"24":0,"16":385388111254781952,"45":3802445489011615744},"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-08-19 05:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497055744001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:36:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:36:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388111254781952,"km_value":385388111254781.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011615744,"description":"Unknown IO ID 45"} 
[2026-08-19 05:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497055744001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011615744}} 
[2026-08-19 05:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":157336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:36:38] local.INFO: GPS data processed {"connection_id":157336,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:36:38] local.INFO: Acknowledgment sent {"connection_id":157336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:37:00] local.INFO: TCP Data received {"connection_id":157709,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:37:00] local.INFO: Processing buffer {"connection_id":157709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:37:00] local.INFO: IMEI packet received {"connection_id":157709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":157709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:37:05] local.INFO: TCP Data received {"connection_id":157709,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:37:05] local.INFO: Processing buffer {"connection_id":157709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:37:05] local.INFO: IMEI packet received {"connection_id":157709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":157709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:37:07] local.INFO: TCP Data received {"connection_id":157709,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a01755fb50012d34c54006aa4bd0000a00bb31..."} 
[2026-08-19 05:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01755fb50012d34c54006aa4bd0000a00bb31..."} 
[2026-08-19 05:37:07] local.INFO: Processing buffer {"connection_id":157709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01755fb50012d34c54006aa4bd0000a00bb31..."} 
[2026-08-19 05:37:07] local.INFO: Packet analysis {"connection_id":157709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01755"} 
[2026-08-19 05:37:07] local.INFO: Extracted packet for processing {"connection_id":157709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01755"} 
[2026-08-19 05:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823824,"longitude_deg":75.8433088,"latitude_deg":11.1823824,"altitude":10,"angle":187,"satellites":49,"speed":5,"hex_longitude":"2d34c540","hex_latitude":"06aa4bd0","is_valid_coordinates":true} 
[2026-08-19 05:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497061120001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388175679291392,"note":"Value kept but may cause issues"} 
[2026-08-19 05:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755658240,"note":"Value kept but may cause issues"} 
[2026-08-19 05:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787097906000,"timestamp_ms":1787097906000,"timestamp_seconds":1787097906,"priority":1,"record_length":96,"hex_timestamp":"000001a01755fb50"} 
[2026-08-19 05:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 05:37:07] 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-08-19 05:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:37:07] 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-08-19 05:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497061120001,"66":27843,"97":206,"81":23296,"24":5,"16":385388175679291392,"45":3802515857755658240},"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-08-19 05:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497061120001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:37:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388175679291392,"km_value":385388175679291.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755658240,"description":"Unknown IO ID 45"} 
[2026-08-19 05:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497061120001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3802515857755658240}} 
[2026-08-19 05:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":157709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:37:07] local.INFO: GPS data processed {"connection_id":157709,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:37:07] local.INFO: Acknowledgment sent {"connection_id":157709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:37:38] local.INFO: TCP Data received {"connection_id":157709,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a01755ff38012d34c54006aa4b40000a00c730..."} 
[2026-08-19 05:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01755ff38012d34c54006aa4b40000a00c730..."} 
[2026-08-19 05:37:38] local.INFO: Processing buffer {"connection_id":157709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01755ff38012d34c54006aa4b40000a00c730..."} 
[2026-08-19 05:37:38] local.INFO: Packet analysis {"connection_id":157709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01755"} 
[2026-08-19 05:37:38] local.INFO: Extracted packet for processing {"connection_id":157709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01755"} 
[2026-08-19 05:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823680,"longitude_deg":75.8433088,"latitude_deg":11.182368,"altitude":10,"angle":199,"satellites":48,"speed":5,"hex_longitude":"2d34c540","hex_latitude":"06aa4b40","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497063936001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388184269225984,"note":"Value kept but may cause issues"} 
[2026-08-19 05:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755328512,"note":"Value kept but may cause issues"} 
[2026-08-19 05:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787097907000,"timestamp_ms":1787097907000,"timestamp_seconds":1787097907,"priority":1,"record_length":96,"hex_timestamp":"000001a01755ff38"} 
[2026-08-19 05:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 05:37:38] 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-08-19 05: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-08-19 05:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497063936001,"66":27832,"97":206,"81":23296,"24":5,"16":385388184269225984,"45":3802515857755328512},"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-08-19 05:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497063936001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:37:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388184269225984,"km_value":385388184269226.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755328512,"description":"Unknown IO ID 45"} 
[2026-08-19 05:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497063936001,"power":27832,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3802515857755328512}} 
[2026-08-19 05:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":157709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:37:38] local.INFO: GPS data processed {"connection_id":157709,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:37:38] local.INFO: Acknowledgment sent {"connection_id":157709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:38:00] local.INFO: TCP Data received {"connection_id":158603,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:38:00] local.INFO: Processing buffer {"connection_id":158603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:38:00] local.INFO: IMEI packet received {"connection_id":158603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":158603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:38:05] local.INFO: TCP Data received {"connection_id":158603,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:38:05] local.INFO: Processing buffer {"connection_id":158603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:38:05] local.INFO: IMEI packet received {"connection_id":158603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":158603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:38:06] local.INFO: TCP Data received {"connection_id":158603,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a017560320012d34c50006aa4ab0000a00da2f..."} 
[2026-08-19 05:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017560320012d34c50006aa4ab0000a00da2f..."} 
[2026-08-19 05:38:06] local.INFO: Processing buffer {"connection_id":158603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017560320012d34c50006aa4ab0000a00da2f..."} 
[2026-08-19 05:38:06] local.INFO: Packet analysis {"connection_id":158603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01756"} 
[2026-08-19 05:38:06] local.INFO: Extracted packet for processing {"connection_id":158603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01756"} 
[2026-08-19 05:38:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111823536,"longitude_deg":75.8433024,"latitude_deg":11.1823536,"altitude":10,"angle":218,"satellites":47,"speed":6,"hex_longitude":"2d34c500","hex_latitude":"06aa4ab0","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497064192001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388188564193280,"note":"Value kept but may cause issues"} 
[2026-08-19 05:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755291648,"note":"Value kept but may cause issues"} 
[2026-08-19 05:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787097908000,"timestamp_ms":1787097908000,"timestamp_seconds":1787097908,"priority":1,"record_length":96,"hex_timestamp":"000001a017560320"} 
[2026-08-19 05:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 05:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:38:06] 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-08-19 05:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497064192001,"66":27832,"97":206,"81":23296,"24":6,"16":385388188564193280,"45":3802515857755291648},"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-08-19 05:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497064192001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:38:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:38:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388188564193280,"km_value":385388188564193.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755291648,"description":"Unknown IO ID 45"} 
[2026-08-19 05:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497064192001,"power":27832,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3802515857755291648}} 
[2026-08-19 05:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":158603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:38:06] local.INFO: GPS data processed {"connection_id":158603,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:38:06] local.INFO: Acknowledgment sent {"connection_id":158603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:38:38] local.INFO: TCP Data received {"connection_id":158603,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a017560708012d34c44006aa4a40000a00e530..."} 
[2026-08-19 05:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017560708012d34c44006aa4a40000a00e530..."} 
[2026-08-19 05:38:38] local.INFO: Processing buffer {"connection_id":158603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017560708012d34c44006aa4a40000a00e530..."} 
[2026-08-19 05:38:38] local.INFO: Packet analysis {"connection_id":158603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01756"} 
[2026-08-19 05:38:38] local.INFO: Extracted packet for processing {"connection_id":158603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01756"} 
[2026-08-19 05:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111823424,"longitude_deg":75.8432832,"latitude_deg":11.1823424,"altitude":10,"angle":229,"satellites":48,"speed":5,"hex_longitude":"2d34c440","hex_latitude":"06aa4a40","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497064448001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388201449095168,"note":"Value kept but may cause issues"} 
[2026-08-19 05:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011077120,"note":"Value kept but may cause issues"} 
[2026-08-19 05:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787097909000,"timestamp_ms":1787097909000,"timestamp_seconds":1787097909,"priority":1,"record_length":96,"hex_timestamp":"000001a017560708"} 
[2026-08-19 05:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 05:38:38] 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-08-19 05: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-08-19 05:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497064448001,"66":27843,"97":206,"81":23296,"24":5,"16":385388201449095168,"45":3802445489011077120},"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-08-19 05:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497064448001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388201449095168,"km_value":385388201449095.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011077120,"description":"Unknown IO ID 45"} 
[2026-08-19 05:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497064448001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3802445489011077120}} 
[2026-08-19 05:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":158603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:38:38] local.INFO: GPS data processed {"connection_id":158603,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:38:38] local.INFO: Acknowledgment sent {"connection_id":158603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:39:05] local.INFO: TCP Data received {"connection_id":157337,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:39:05] local.INFO: Processing buffer {"connection_id":157337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:39:05] local.INFO: IMEI packet received {"connection_id":157337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":157337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:39:10] local.INFO: TCP Data received {"connection_id":157337,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:39:10] local.INFO: Processing buffer {"connection_id":157337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:39:10] local.INFO: IMEI packet received {"connection_id":157337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":157337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:39:11] local.INFO: TCP Data received {"connection_id":157337,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a017560ed8012d34c30006aa4990000a00fc2e..."} 
[2026-08-19 05:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017560ed8012d34c30006aa4990000a00fc2e..."} 
[2026-08-19 05:39:11] local.INFO: Processing buffer {"connection_id":157337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017560ed8012d34c30006aa4990000a00fc2e..."} 
[2026-08-19 05:39:11] local.INFO: Packet analysis {"connection_id":157337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01756"} 
[2026-08-19 05:39:11] local.INFO: Extracted packet for processing {"connection_id":157337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01756"} 
[2026-08-19 05:39:11] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111823248,"longitude_deg":75.8432512,"latitude_deg":11.1823248,"altitude":10,"angle":252,"satellites":46,"speed":6,"hex_longitude":"2d34c300","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497064704001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388214333997056,"note":"Value kept but may cause issues"} 
[2026-08-19 05:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778515456,"note":"Value kept but may cause issues"} 
[2026-08-19 05:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787097911000,"timestamp_ms":1787097911000,"timestamp_seconds":1787097911,"priority":1,"record_length":96,"hex_timestamp":"000001a017560ed8"} 
[2026-08-19 05:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 05:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497064704001,"66":27865,"97":206,"81":23296,"24":6,"16":385388214333997056,"45":3802234382778515456},"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-08-19 05:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497064704001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:39:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:39:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388214333997056,"km_value":385388214333997.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778515456,"description":"Unknown IO ID 45"} 
[2026-08-19 05:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497064704001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3802234382778515456}} 
[2026-08-19 05:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":157337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:39:11] local.INFO: GPS data processed {"connection_id":157337,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:39:11] local.INFO: Acknowledgment sent {"connection_id":157337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:39:43] local.INFO: TCP Data received {"connection_id":157337,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0175612c0012d34c28006aa4968000a010a2f..."} 
[2026-08-19 05:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175612c0012d34c28006aa4968000a010a2f..."} 
[2026-08-19 05:39:43] local.INFO: Processing buffer {"connection_id":157337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175612c0012d34c28006aa4968000a010a2f..."} 
[2026-08-19 05:39:43] local.INFO: Packet analysis {"connection_id":157337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01756"} 
[2026-08-19 05:39:43] local.INFO: Extracted packet for processing {"connection_id":157337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01756"} 
[2026-08-19 05:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758432384,"raw_latitude":111823208,"longitude_deg":75.8432384,"latitude_deg":11.1823208,"altitude":10,"angle":266,"satellites":47,"speed":6,"hex_longitude":"2d34c280","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-08-19 05:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497065216001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388222923931648,"note":"Value kept but may cause issues"} 
[2026-08-19 05:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057582080,"note":"Value kept but may cause issues"} 
[2026-08-19 05:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787097912000,"timestamp_ms":1787097912000,"timestamp_seconds":1787097912,"priority":1,"record_length":96,"hex_timestamp":"000001a0175612c0"} 
[2026-08-19 05:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 05:39:43] 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-08-19 05:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497065216001,"66":27865,"97":206,"81":23296,"24":6,"16":385388222923931648,"45":3801882539057582080},"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-08-19 05:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497065216001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:39:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:39:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388222923931648,"km_value":385388222923931.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057582080,"description":"Unknown IO ID 45"} 
[2026-08-19 05:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497065216001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3801882539057582080}} 
[2026-08-19 05:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":157337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:39:43] local.INFO: GPS data processed {"connection_id":157337,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:39:43] local.INFO: Acknowledgment sent {"connection_id":157337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:40:00] local.INFO: TCP Data received {"connection_id":157711,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:40:00] local.INFO: Processing buffer {"connection_id":157711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:40:00] local.INFO: IMEI packet received {"connection_id":157711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":157711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:40:05] local.INFO: TCP Data received {"connection_id":157711,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:40:05] local.INFO: Processing buffer {"connection_id":157711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:40:05] local.INFO: IMEI packet received {"connection_id":157711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":157711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:40:08] local.INFO: TCP Data received {"connection_id":157711,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0175616a8012d34c20006aa4970000a011b2f..."} 
[2026-08-19 05:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175616a8012d34c20006aa4970000a011b2f..."} 
[2026-08-19 05:40:08] local.INFO: Processing buffer {"connection_id":157711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175616a8012d34c20006aa4970000a011b2f..."} 
[2026-08-19 05:40:08] local.INFO: Packet analysis {"connection_id":157711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01756"} 
[2026-08-19 05:40:08] local.INFO: Extracted packet for processing {"connection_id":157711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01756"} 
[2026-08-19 05:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111823216,"longitude_deg":75.8432256,"latitude_deg":11.1823216,"altitude":10,"angle":283,"satellites":47,"speed":6,"hex_longitude":"2d34c200","hex_latitude":"06aa4970","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497065472001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388231513866240,"note":"Value kept but may cause issues"} 
[2026-08-19 05:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801569216512,"note":"Value kept but may cause issues"} 
[2026-08-19 05:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787097913000,"timestamp_ms":1787097913000,"timestamp_seconds":1787097913,"priority":1,"record_length":96,"hex_timestamp":"000001a0175616a8"} 
[2026-08-19 05:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05: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-08-19 05: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 05:40: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-08-19 05: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-08-19 05:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":157711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":157711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":157711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:40:08] 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-08-19 05:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497065472001,"66":27843,"97":206,"81":23296,"24":6,"16":385388231513866240,"45":3801741801569216512},"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-08-19 05:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497065472001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:40:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388231513866240,"km_value":385388231513866.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801569216512,"description":"Unknown IO ID 45"} 
[2026-08-19 05:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497065472001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3801741801569216512}} 
[2026-08-19 05:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":157711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:40:08] local.INFO: GPS data processed {"connection_id":157711,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:40:08] local.INFO: Acknowledgment sent {"connection_id":157711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:40:39] local.INFO: TCP Data received {"connection_id":157711,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a017561a90012d34c14006aa4990000a01122f..."} 
[2026-08-19 05:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017561a90012d34c14006aa4990000a01122f..."} 
[2026-08-19 05:40:39] local.INFO: Processing buffer {"connection_id":157711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017561a90012d34c14006aa4990000a01122f..."} 
[2026-08-19 05:40:39] local.INFO: Packet analysis {"connection_id":157711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01756"} 
[2026-08-19 05:40:39] local.INFO: Extracted packet for processing {"connection_id":157711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01756"} 
[2026-08-19 05:40:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111823248,"longitude_deg":75.8432064,"latitude_deg":11.1823248,"altitude":10,"angle":274,"satellites":47,"speed":5,"hex_longitude":"2d34c140","hex_latitude":"06aa4990","is_valid_coordinates":true} 
[2026-08-19 05:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497065728001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080863232,"note":"Value kept but may cause issues"} 
[2026-08-19 05:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787097914000,"timestamp_ms":1787097914000,"timestamp_seconds":1787097914,"priority":1,"record_length":96,"hex_timestamp":"000001a017561a90"} 
[2026-08-19 05:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 05: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 05:40:39] 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-08-19 05: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-08-19 05:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:40:39] 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-08-19 05:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497065728001,"66":27843,"97":206,"81":23296,"24":5,"16":385388240103800832,"45":3801601064080863232},"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-08-19 05:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497065728001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:40:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:40:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080863232,"description":"Unknown IO ID 45"} 
[2026-08-19 05:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497065728001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3801601064080863232}} 
[2026-08-19 05:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":157711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:40:39] local.INFO: GPS data processed {"connection_id":157711,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:40:39] local.INFO: Acknowledgment sent {"connection_id":157711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:41:00] local.INFO: TCP Data received {"connection_id":157712,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:41:00] local.INFO: Processing buffer {"connection_id":157712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:41:00] local.INFO: IMEI packet received {"connection_id":157712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":157712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:41:05] local.INFO: TCP Data received {"connection_id":157712,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:41:05] local.INFO: Processing buffer {"connection_id":157712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:41:05] local.INFO: IMEI packet received {"connection_id":157712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":157712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:41:06] local.INFO: TCP Data received {"connection_id":157712,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:41:06] local.INFO: Processing buffer {"connection_id":157712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:41:06] local.INFO: Packet analysis {"connection_id":157712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:41:06] local.INFO: Extracted packet for processing {"connection_id":157712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497065984001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848338432,"note":"Value kept but may cause issues"} 
[2026-08-19 05:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787098218000,"timestamp_ms":1787098218000,"timestamp_seconds":1787098218,"priority":1,"record_length":96,"hex_timestamp":"000001a0175abe10"} 
[2026-08-19 05:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 05:41:06] 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-08-19 05: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-08-19 05:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:41:06] 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-08-19 05:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497065984001,"66":26408,"97":206,"81":23296,"24":0,"16":385388240103800832,"45":3801389957848338432},"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-08-19 05:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497065984001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:41:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848338432,"description":"Unknown IO ID 45"} 
[2026-08-19 05:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497065984001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848338432}} 
[2026-08-19 05:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":157712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:41:06] local.INFO: GPS data processed {"connection_id":157712,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:41:06] local.INFO: Acknowledgment sent {"connection_id":157712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:41:37] local.INFO: TCP Data received {"connection_id":157712,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:41:37] local.INFO: Processing buffer {"connection_id":157712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:41:37] local.INFO: Packet analysis {"connection_id":157712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:41:37] local.INFO: Extracted packet for processing {"connection_id":157712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497065984001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848338432,"note":"Value kept but may cause issues"} 
[2026-08-19 05:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787098218000,"timestamp_ms":1787098218000,"timestamp_seconds":1787098218,"priority":1,"record_length":96,"hex_timestamp":"000001a0175abe10"} 
[2026-08-19 05:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 05:41:37] 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-08-19 05:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:41:37] 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-08-19 05:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497065984001,"66":26408,"97":206,"81":23296,"24":0,"16":385388240103800832,"45":3801389957848338432},"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-08-19 05:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497065984001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848338432,"description":"Unknown IO ID 45"} 
[2026-08-19 05:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497065984001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848338432}} 
[2026-08-19 05:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":157712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:41:37] local.INFO: GPS data processed {"connection_id":157712,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:41:37] local.INFO: Acknowledgment sent {"connection_id":157712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:42:00] local.INFO: TCP Data received {"connection_id":157713,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:42:00] local.INFO: Processing buffer {"connection_id":157713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:42:00] local.INFO: IMEI packet received {"connection_id":157713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":157713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:42:05] local.INFO: TCP Data received {"connection_id":157713,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:42:05] local.INFO: Processing buffer {"connection_id":157713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:42:05] local.INFO: IMEI packet received {"connection_id":157713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":157713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:42:07] local.INFO: TCP Data received {"connection_id":157713,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:42:07] local.INFO: Processing buffer {"connection_id":157713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:42:07] local.INFO: Packet analysis {"connection_id":157713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:42:07] local.INFO: Extracted packet for processing {"connection_id":157713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:42:07] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497065984001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848338432,"note":"Value kept but may cause issues"} 
[2026-08-19 05:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787098218000,"timestamp_ms":1787098218000,"timestamp_seconds":1787098218,"priority":1,"record_length":96,"hex_timestamp":"000001a0175abe10"} 
[2026-08-19 05:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 05:42:07] 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-08-19 05:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:42:07] 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-08-19 05:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497065984001,"66":26408,"97":206,"81":23296,"24":0,"16":385388240103800832,"45":3801389957848338432},"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-08-19 05:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497065984001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:42:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:42:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848338432,"description":"Unknown IO ID 45"} 
[2026-08-19 05:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497065984001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848338432}} 
[2026-08-19 05:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":157713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:42:07] local.INFO: GPS data processed {"connection_id":157713,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:42:07] local.INFO: Acknowledgment sent {"connection_id":157713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:42:38] local.INFO: TCP Data received {"connection_id":157713,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:42:38] local.INFO: Processing buffer {"connection_id":157713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:42:38] local.INFO: Packet analysis {"connection_id":157713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:42:38] local.INFO: Extracted packet for processing {"connection_id":157713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:42:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497065984001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848338432,"note":"Value kept but may cause issues"} 
[2026-08-19 05:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787098218000,"timestamp_ms":1787098218000,"timestamp_seconds":1787098218,"priority":1,"record_length":96,"hex_timestamp":"000001a0175abe10"} 
[2026-08-19 05:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 05:42:38] 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-08-19 05: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-08-19 05:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497065984001,"66":26408,"97":206,"81":23296,"24":0,"16":385388240103800832,"45":3801389957848338432},"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-08-19 05:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497065984001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:42:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:42:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848338432,"description":"Unknown IO ID 45"} 
[2026-08-19 05:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497065984001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848338432}} 
[2026-08-19 05:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":157713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:42:38] local.INFO: GPS data processed {"connection_id":157713,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:42:38] local.INFO: Acknowledgment sent {"connection_id":157713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:43:05] local.INFO: TCP Data received {"connection_id":159883,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:43:05] local.INFO: Processing buffer {"connection_id":159883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:43:05] local.INFO: IMEI packet received {"connection_id":159883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":159883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:43:06] local.INFO: TCP Data received {"connection_id":159883,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:43:06] local.INFO: Processing buffer {"connection_id":159883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:43:06] local.INFO: Packet analysis {"connection_id":159883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:43:06] local.INFO: Extracted packet for processing {"connection_id":159883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:43:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497065984001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848338432,"note":"Value kept but may cause issues"} 
[2026-08-19 05:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787098218000,"timestamp_ms":1787098218000,"timestamp_seconds":1787098218,"priority":1,"record_length":96,"hex_timestamp":"000001a0175abe10"} 
[2026-08-19 05:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 05:43:06] 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-08-19 05: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-08-19 05:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:43:06] 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-08-19 05:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497065984001,"66":26408,"97":206,"81":23296,"24":0,"16":385388240103800832,"45":3801389957848338432},"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-08-19 05:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497065984001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:43:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:43:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848338432,"description":"Unknown IO ID 45"} 
[2026-08-19 05:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497065984001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848338432}} 
[2026-08-19 05:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":159883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:43:06] local.INFO: GPS data processed {"connection_id":159883,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:43:06] local.INFO: Acknowledgment sent {"connection_id":159883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:43:37] local.INFO: TCP Data received {"connection_id":159883,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:43:37] local.INFO: Processing buffer {"connection_id":159883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:43:37] local.INFO: Packet analysis {"connection_id":159883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:43:37] local.INFO: Extracted packet for processing {"connection_id":159883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497065984001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848338432,"note":"Value kept but may cause issues"} 
[2026-08-19 05:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787098218000,"timestamp_ms":1787098218000,"timestamp_seconds":1787098218,"priority":1,"record_length":96,"hex_timestamp":"000001a0175abe10"} 
[2026-08-19 05:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 05:43:37] 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-08-19 05:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:43:37] 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-08-19 05:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497065984001,"66":26408,"97":206,"81":23296,"24":0,"16":385388240103800832,"45":3801389957848338432},"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-08-19 05:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497065984001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848338432,"description":"Unknown IO ID 45"} 
[2026-08-19 05:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497065984001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848338432}} 
[2026-08-19 05:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":159883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:43:37] local.INFO: GPS data processed {"connection_id":159883,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:43:37] local.INFO: Acknowledgment sent {"connection_id":159883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:44:00] local.INFO: TCP Data received {"connection_id":157338,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:44:00] local.INFO: Processing buffer {"connection_id":157338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:44:00] local.INFO: IMEI packet received {"connection_id":157338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":157338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:44:05] local.INFO: TCP Data received {"connection_id":157338,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:44:05] local.INFO: Processing buffer {"connection_id":157338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:44:05] local.INFO: IMEI packet received {"connection_id":157338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":157338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:44:06] local.INFO: TCP Data received {"connection_id":157338,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:44:06] local.INFO: Processing buffer {"connection_id":157338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:44:06] local.INFO: Packet analysis {"connection_id":157338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:44:06] local.INFO: Extracted packet for processing {"connection_id":157338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497065984001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848338432,"note":"Value kept but may cause issues"} 
[2026-08-19 05:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787098218000,"timestamp_ms":1787098218000,"timestamp_seconds":1787098218,"priority":1,"record_length":96,"hex_timestamp":"000001a0175abe10"} 
[2026-08-19 05:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 05:44:06] 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-08-19 05: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-08-19 05:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:44:06] 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-08-19 05:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497065984001,"66":26408,"97":206,"81":23296,"24":0,"16":385388240103800832,"45":3801389957848338432},"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-08-19 05:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497065984001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848338432,"description":"Unknown IO ID 45"} 
[2026-08-19 05:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497065984001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848338432}} 
[2026-08-19 05:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":157338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:44:06] local.INFO: GPS data processed {"connection_id":157338,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:44:06] local.INFO: Acknowledgment sent {"connection_id":157338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:44:37] local.INFO: TCP Data received {"connection_id":157338,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:44:37] local.INFO: Processing buffer {"connection_id":157338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:44:37] local.INFO: Packet analysis {"connection_id":157338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:44:37] local.INFO: Extracted packet for processing {"connection_id":157338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497065984001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848338432,"note":"Value kept but may cause issues"} 
[2026-08-19 05:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787098218000,"timestamp_ms":1787098218000,"timestamp_seconds":1787098218,"priority":1,"record_length":96,"hex_timestamp":"000001a0175abe10"} 
[2026-08-19 05:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 05:44:37] 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-08-19 05:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:44:37] 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-08-19 05:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497065984001,"66":26408,"97":206,"81":23296,"24":0,"16":385388240103800832,"45":3801389957848338432},"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-08-19 05:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497065984001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:44:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848338432,"description":"Unknown IO ID 45"} 
[2026-08-19 05:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497065984001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848338432}} 
[2026-08-19 05:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":157338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:44:37] local.INFO: GPS data processed {"connection_id":157338,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:44:37] local.INFO: Acknowledgment sent {"connection_id":157338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:45:00] local.INFO: TCP Data received {"connection_id":158604,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:45:00] local.INFO: Processing buffer {"connection_id":158604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:45:00] local.INFO: IMEI packet received {"connection_id":158604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":158604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:45:05] local.INFO: TCP Data received {"connection_id":158604,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:45:05] local.INFO: Processing buffer {"connection_id":158604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:45:05] local.INFO: IMEI packet received {"connection_id":158604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":158604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:45:06] local.INFO: TCP Data received {"connection_id":158604,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:45:06] local.INFO: Processing buffer {"connection_id":158604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:45:06] local.INFO: Packet analysis {"connection_id":158604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:45:06] local.INFO: Extracted packet for processing {"connection_id":158604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:45:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497065984001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848338432,"note":"Value kept but may cause issues"} 
[2026-08-19 05:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787098218000,"timestamp_ms":1787098218000,"timestamp_seconds":1787098218,"priority":1,"record_length":96,"hex_timestamp":"000001a0175abe10"} 
[2026-08-19 05:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 05:45:06] 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-08-19 05: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-08-19 05:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:45:06] 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-08-19 05:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497065984001,"66":26408,"97":206,"81":23296,"24":0,"16":385388240103800832,"45":3801389957848338432},"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-08-19 05:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497065984001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:45:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:45:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848338432,"description":"Unknown IO ID 45"} 
[2026-08-19 05:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497065984001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848338432}} 
[2026-08-19 05:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":158604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:45:06] local.INFO: GPS data processed {"connection_id":158604,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:45:06] local.INFO: Acknowledgment sent {"connection_id":158604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:45:37] local.INFO: TCP Data received {"connection_id":158604,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:45:37] local.INFO: Processing buffer {"connection_id":158604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175abe10012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:45:37] local.INFO: Packet analysis {"connection_id":158604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:45:37] local.INFO: Extracted packet for processing {"connection_id":158604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175a"} 
[2026-08-19 05:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497065984001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848338432,"note":"Value kept but may cause issues"} 
[2026-08-19 05:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 05:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787098218000,"timestamp_ms":1787098218000,"timestamp_seconds":1787098218,"priority":1,"record_length":96,"hex_timestamp":"000001a0175abe10"} 
[2026-08-19 05:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 05:45:37] 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-08-19 05:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:45:37] 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-08-19 05:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497065984001,"66":26408,"97":206,"81":23296,"24":0,"16":385388240103800832,"45":3801389957848338432},"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-08-19 05:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497065984001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 05:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848338432,"description":"Unknown IO ID 45"} 
[2026-08-19 05:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497065984001,"power":26408,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848338432}} 
[2026-08-19 05:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":158604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:45:37] local.INFO: GPS data processed {"connection_id":158604,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:45:37] local.INFO: Acknowledgment sent {"connection_id":158604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:46:00] local.INFO: TCP Data received {"connection_id":157339,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:46:00] local.INFO: Processing buffer {"connection_id":157339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:46:00] local.INFO: IMEI packet received {"connection_id":157339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":157339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:46:05] local.INFO: TCP Data received {"connection_id":157339,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:46:05] local.INFO: Processing buffer {"connection_id":157339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:46:05] local.INFO: IMEI packet received {"connection_id":157339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":157339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:46:06] local.INFO: TCP Data received {"connection_id":157339,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:46:06] local.INFO: Processing buffer {"connection_id":157339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:46:06] local.INFO: Packet analysis {"connection_id":157339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:46:06] local.INFO: Extracted packet for processing {"connection_id":157339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497143808001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:46:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:46:06] 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-08-19 05:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787098519000,"timestamp_ms":1787098519000,"timestamp_seconds":1787098519,"priority":1,"record_length":96,"hex_timestamp":"000001a0175f55d8"} 
[2026-08-19 05:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 05:46:06] 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-08-19 05: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-08-19 05:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:46:06] 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-08-19 05:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497143808001,"66":26115,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497143808001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497143808001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":157339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:46:06] local.INFO: GPS data processed {"connection_id":157339,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:46:06] local.INFO: Acknowledgment sent {"connection_id":157339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:46:37] local.INFO: TCP Data received {"connection_id":157339,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:46:37] local.INFO: Processing buffer {"connection_id":157339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:46:37] local.INFO: Packet analysis {"connection_id":157339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:46:37] local.INFO: Extracted packet for processing {"connection_id":157339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497143808001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:46:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:46:37] 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-08-19 05:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787098519000,"timestamp_ms":1787098519000,"timestamp_seconds":1787098519,"priority":1,"record_length":96,"hex_timestamp":"000001a0175f55d8"} 
[2026-08-19 05:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 05:46:37] 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-08-19 05: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-08-19 05:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:46:37] 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-08-19 05:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497143808001,"66":26115,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497143808001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497143808001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":157339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:46:37] local.INFO: GPS data processed {"connection_id":157339,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:46:37] local.INFO: Acknowledgment sent {"connection_id":157339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:47:00] local.INFO: TCP Data received {"connection_id":159884,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:47:00] local.INFO: Processing buffer {"connection_id":159884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:47:00] local.INFO: IMEI packet received {"connection_id":159884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":159884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:47:05] local.INFO: TCP Data received {"connection_id":159884,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:47:05] local.INFO: Processing buffer {"connection_id":159884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:47:05] local.INFO: IMEI packet received {"connection_id":159884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":159884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:47:06] local.INFO: TCP Data received {"connection_id":159884,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:47:06] local.INFO: Processing buffer {"connection_id":159884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:47:06] local.INFO: Packet analysis {"connection_id":159884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:47:06] local.INFO: Extracted packet for processing {"connection_id":159884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:47:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497143808001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:47:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:47:06] 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-08-19 05:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787098519000,"timestamp_ms":1787098519000,"timestamp_seconds":1787098519,"priority":1,"record_length":96,"hex_timestamp":"000001a0175f55d8"} 
[2026-08-19 05:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 05:47:06] 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-08-19 05:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:47:06] 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-08-19 05:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497143808001,"66":26115,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497143808001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:47:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497143808001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":159884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:47:06] local.INFO: GPS data processed {"connection_id":159884,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:47:06] local.INFO: Acknowledgment sent {"connection_id":159884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:47:38] local.INFO: TCP Data received {"connection_id":159884,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:47:38] local.INFO: Processing buffer {"connection_id":159884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:47:38] local.INFO: Packet analysis {"connection_id":159884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:47:38] local.INFO: Extracted packet for processing {"connection_id":159884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497143808001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:47:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:47:38] 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-08-19 05:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787098519000,"timestamp_ms":1787098519000,"timestamp_seconds":1787098519,"priority":1,"record_length":96,"hex_timestamp":"000001a0175f55d8"} 
[2026-08-19 05:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 05:47:38] 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-08-19 05: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-08-19 05:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:47:38] 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-08-19 05:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497143808001,"66":26115,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497143808001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497143808001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":159884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:47:38] local.INFO: GPS data processed {"connection_id":159884,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:47:38] local.INFO: Acknowledgment sent {"connection_id":159884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:48:05] local.INFO: TCP Data received {"connection_id":157714,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:48:05] local.INFO: Processing buffer {"connection_id":157714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:48:05] local.INFO: IMEI packet received {"connection_id":157714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":157714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:48:10] local.INFO: TCP Data received {"connection_id":157714,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:48:10] local.INFO: Processing buffer {"connection_id":157714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:48:10] local.INFO: IMEI packet received {"connection_id":157714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":157714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:48:11] local.INFO: TCP Data received {"connection_id":157714,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:48:11] local.INFO: Processing buffer {"connection_id":157714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:48:11] local.INFO: Packet analysis {"connection_id":157714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:48:11] local.INFO: Extracted packet for processing {"connection_id":157714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:48:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497143808001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:48:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:48:11] 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-08-19 05:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787098519000,"timestamp_ms":1787098519000,"timestamp_seconds":1787098519,"priority":1,"record_length":96,"hex_timestamp":"000001a0175f55d8"} 
[2026-08-19 05:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:48:11] 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-08-19 05: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 05:48:11] 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-08-19 05: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-08-19 05:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497143808001,"66":26115,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497143808001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:48:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497143808001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":157714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:48:11] local.INFO: GPS data processed {"connection_id":157714,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:48:11] local.INFO: Acknowledgment sent {"connection_id":157714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:48:15] local.INFO: TCP Data received {"connection_id":157714,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:48:15] local.INFO: Processing buffer {"connection_id":157714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:48:15] local.INFO: Packet analysis {"connection_id":157714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:48:15] local.INFO: Extracted packet for processing {"connection_id":157714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:48:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497143808001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:48:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:48:15] 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-08-19 05:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787098519000,"timestamp_ms":1787098519000,"timestamp_seconds":1787098519,"priority":1,"record_length":96,"hex_timestamp":"000001a0175f55d8"} 
[2026-08-19 05:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:48:15] 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-08-19 05:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 05:48:15] 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-08-19 05:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497143808001,"66":26115,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497143808001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497143808001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":157714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:48:16] local.INFO: GPS data processed {"connection_id":157714,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:48:16] local.INFO: Acknowledgment sent {"connection_id":157714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:49:00] local.INFO: TCP Data received {"connection_id":158605,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:49:00] local.INFO: Processing buffer {"connection_id":158605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:49:00] local.INFO: IMEI packet received {"connection_id":158605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":158605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:49:05] local.INFO: TCP Data received {"connection_id":158605,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:49:05] local.INFO: Processing buffer {"connection_id":158605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:49:05] local.INFO: IMEI packet received {"connection_id":158605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":158605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:49:07] local.INFO: TCP Data received {"connection_id":158605,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:49:07] local.INFO: Processing buffer {"connection_id":158605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:49:07] local.INFO: Packet analysis {"connection_id":158605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:49:07] local.INFO: Extracted packet for processing {"connection_id":158605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:49:07] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497143808001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:49:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:49: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-08-19 05:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787098519000,"timestamp_ms":1787098519000,"timestamp_seconds":1787098519,"priority":1,"record_length":96,"hex_timestamp":"000001a0175f55d8"} 
[2026-08-19 05:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 05:49:07] 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-08-19 05: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-08-19 05:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:49:07] 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-08-19 05:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497143808001,"66":26115,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497143808001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:49:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497143808001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":158605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:49:07] local.INFO: GPS data processed {"connection_id":158605,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:49:07] local.INFO: Acknowledgment sent {"connection_id":158605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:49:38] local.INFO: TCP Data received {"connection_id":158605,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:49:38] local.INFO: Processing buffer {"connection_id":158605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:49:38] local.INFO: Packet analysis {"connection_id":158605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:49:38] local.INFO: Extracted packet for processing {"connection_id":158605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497143808001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:49:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:49:38] 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-08-19 05:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787098519000,"timestamp_ms":1787098519000,"timestamp_seconds":1787098519,"priority":1,"record_length":96,"hex_timestamp":"000001a0175f55d8"} 
[2026-08-19 05:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 05:49:38] 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-08-19 05: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-08-19 05:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:49:38] 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-08-19 05:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497143808001,"66":26115,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497143808001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497143808001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":158605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:49:38] local.INFO: GPS data processed {"connection_id":158605,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:49:38] local.INFO: Acknowledgment sent {"connection_id":158605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:50:00] local.INFO: TCP Data received {"connection_id":159885,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:50:00] local.INFO: Processing buffer {"connection_id":159885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:50:00] local.INFO: IMEI packet received {"connection_id":159885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":159885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:50:05] local.INFO: TCP Data received {"connection_id":159885,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:50:05] local.INFO: Processing buffer {"connection_id":159885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:50:05] local.INFO: IMEI packet received {"connection_id":159885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":159885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:50:06] local.INFO: TCP Data received {"connection_id":159885,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:50:06] local.INFO: Processing buffer {"connection_id":159885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:50:06] local.INFO: Packet analysis {"connection_id":159885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:50:06] local.INFO: Extracted packet for processing {"connection_id":159885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497143808001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:50:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:50:06] 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-08-19 05:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787098519000,"timestamp_ms":1787098519000,"timestamp_seconds":1787098519,"priority":1,"record_length":96,"hex_timestamp":"000001a0175f55d8"} 
[2026-08-19 05:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 05:50:06] 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-08-19 05:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:50:06] 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-08-19 05:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497143808001,"66":26115,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497143808001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:50:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497143808001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":159885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:50:06] local.INFO: GPS data processed {"connection_id":159885,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:50:06] local.INFO: Acknowledgment sent {"connection_id":159885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:50:37] local.INFO: TCP Data received {"connection_id":159885,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:50:37] local.INFO: Processing buffer {"connection_id":159885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0175f55d8012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:50:37] local.INFO: Packet analysis {"connection_id":159885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:50:37] local.INFO: Extracted packet for processing {"connection_id":159885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0175f"} 
[2026-08-19 05:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497143808001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:50:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:50:37] 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-08-19 05:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787098519000,"timestamp_ms":1787098519000,"timestamp_seconds":1787098519,"priority":1,"record_length":96,"hex_timestamp":"000001a0175f55d8"} 
[2026-08-19 05:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 05:50:37] 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-08-19 05: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-08-19 05:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:50:37] 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-08-19 05:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497143808001,"66":26115,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497143808001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497143808001,"power":26115,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":159885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:50:37] local.INFO: GPS data processed {"connection_id":159885,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:50:37] local.INFO: Acknowledgment sent {"connection_id":159885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:51:00] local.INFO: TCP Data received {"connection_id":158606,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:51:00] local.INFO: Processing buffer {"connection_id":158606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:51:00] local.INFO: IMEI packet received {"connection_id":158606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":158606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:51:05] local.INFO: TCP Data received {"connection_id":158606,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:51:05] local.INFO: Processing buffer {"connection_id":158606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:51:05] local.INFO: IMEI packet received {"connection_id":158606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":158606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:51:06] local.INFO: TCP Data received {"connection_id":158606,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:51:06] local.INFO: Processing buffer {"connection_id":158606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:51:06] local.INFO: Packet analysis {"connection_id":158606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:51:06] local.INFO: Extracted packet for processing {"connection_id":158606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497220864001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:51:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:51:06] 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-08-19 05:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787098820000,"timestamp_ms":1787098820000,"timestamp_seconds":1787098820,"priority":1,"record_length":96,"hex_timestamp":"000001a01763eda0"} 
[2026-08-19 05:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 05:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:51:06] 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-08-19 05:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497220864001,"66":26028,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497220864001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497220864001,"power":26028,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":158606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:51:06] local.INFO: GPS data processed {"connection_id":158606,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:51:06] local.INFO: Acknowledgment sent {"connection_id":158606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:51:41] local.INFO: TCP Data received {"connection_id":158606,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:51:41] local.INFO: Processing buffer {"connection_id":158606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:51:41] local.INFO: Packet analysis {"connection_id":158606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:51:41] local.INFO: Extracted packet for processing {"connection_id":158606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:51:41] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497220864001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:51:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:51: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-08-19 05:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787098820000,"timestamp_ms":1787098820000,"timestamp_seconds":1787098820,"priority":1,"record_length":96,"hex_timestamp":"000001a01763eda0"} 
[2026-08-19 05:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:51: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-08-19 05:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 05:51: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-08-19 05:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497220864001,"66":26028,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497220864001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:51:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497220864001,"power":26028,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":158606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:51:41] local.INFO: GPS data processed {"connection_id":158606,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:51:41] local.INFO: Acknowledgment sent {"connection_id":158606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:52:05] local.INFO: TCP Data received {"connection_id":159886,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:52:05] local.INFO: Processing buffer {"connection_id":159886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:52:05] local.INFO: IMEI packet received {"connection_id":159886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":159886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:52:10] local.INFO: TCP Data received {"connection_id":159886,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:52:10] local.INFO: Processing buffer {"connection_id":159886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:52:10] local.INFO: IMEI packet received {"connection_id":159886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":159886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:52:11] local.INFO: TCP Data received {"connection_id":159886,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:52:11] local.INFO: Processing buffer {"connection_id":159886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:52:11] local.INFO: Packet analysis {"connection_id":159886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:52:11] local.INFO: Extracted packet for processing {"connection_id":159886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:52:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497220864001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:52:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:52:11] 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-08-19 05:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787098820000,"timestamp_ms":1787098820000,"timestamp_seconds":1787098820,"priority":1,"record_length":96,"hex_timestamp":"000001a01763eda0"} 
[2026-08-19 05:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 05:52:11] 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-08-19 05: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-08-19 05:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497220864001,"66":26028,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497220864001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:52:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497220864001,"power":26028,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":159886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:52:11] local.INFO: GPS data processed {"connection_id":159886,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:52:11] local.INFO: Acknowledgment sent {"connection_id":159886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:52:16] local.INFO: TCP Data received {"connection_id":159886,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:52:16] local.INFO: Processing buffer {"connection_id":159886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:52:16] local.INFO: Packet analysis {"connection_id":159886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:52:16] local.INFO: Extracted packet for processing {"connection_id":159886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497220864001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:52:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:52: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-08-19 05:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787098820000,"timestamp_ms":1787098820000,"timestamp_seconds":1787098820,"priority":1,"record_length":96,"hex_timestamp":"000001a01763eda0"} 
[2026-08-19 05:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:52: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-08-19 05: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 05:52:16] 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-08-19 05: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-08-19 05:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497220864001,"66":26028,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497220864001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:52:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497220864001,"power":26028,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":159886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:52:16] local.INFO: GPS data processed {"connection_id":159886,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:52:16] local.INFO: Acknowledgment sent {"connection_id":159886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:53:00] local.INFO: TCP Data received {"connection_id":158607,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:53:00] local.INFO: Processing buffer {"connection_id":158607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:53:00] local.INFO: IMEI packet received {"connection_id":158607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":158607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:53:05] local.INFO: TCP Data received {"connection_id":158607,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:53:05] local.INFO: Processing buffer {"connection_id":158607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:53:05] local.INFO: IMEI packet received {"connection_id":158607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":158607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:53:06] local.INFO: TCP Data received {"connection_id":158607,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:53:06] local.INFO: Processing buffer {"connection_id":158607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:53:06] local.INFO: Packet analysis {"connection_id":158607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:53:06] local.INFO: Extracted packet for processing {"connection_id":158607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:53:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497220864001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:53:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:53:06] 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-08-19 05:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787098820000,"timestamp_ms":1787098820000,"timestamp_seconds":1787098820,"priority":1,"record_length":96,"hex_timestamp":"000001a01763eda0"} 
[2026-08-19 05:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 05:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:53:06] 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-08-19 05:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497220864001,"66":26028,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497220864001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:53:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497220864001,"power":26028,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":158607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:53:06] local.INFO: GPS data processed {"connection_id":158607,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:53:06] local.INFO: Acknowledgment sent {"connection_id":158607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:53:38] local.INFO: TCP Data received {"connection_id":158607,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:53:38] local.INFO: Processing buffer {"connection_id":158607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:53:38] local.INFO: Packet analysis {"connection_id":158607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:53:38] local.INFO: Extracted packet for processing {"connection_id":158607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497220864001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:53:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:53:38] 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-08-19 05:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787098820000,"timestamp_ms":1787098820000,"timestamp_seconds":1787098820,"priority":1,"record_length":96,"hex_timestamp":"000001a01763eda0"} 
[2026-08-19 05:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 05:53:38] 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-08-19 05: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-08-19 05:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:53:38] 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-08-19 05:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497220864001,"66":26028,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497220864001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497220864001,"power":26028,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":158607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:53:38] local.INFO: GPS data processed {"connection_id":158607,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:53:38] local.INFO: Acknowledgment sent {"connection_id":158607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:54:00] local.INFO: TCP Data received {"connection_id":157715,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:54:00] local.INFO: Processing buffer {"connection_id":157715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:54:00] local.INFO: IMEI packet received {"connection_id":157715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":157715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:54:05] local.INFO: TCP Data received {"connection_id":157715,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:54:05] local.INFO: Processing buffer {"connection_id":157715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:54:05] local.INFO: IMEI packet received {"connection_id":157715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":157715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:54:07] local.INFO: TCP Data received {"connection_id":157715,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:54:07] local.INFO: Processing buffer {"connection_id":157715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:54:07] local.INFO: Packet analysis {"connection_id":157715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:54:07] local.INFO: Extracted packet for processing {"connection_id":157715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:54:07] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497220864001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:54:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:54: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-08-19 05:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787098820000,"timestamp_ms":1787098820000,"timestamp_seconds":1787098820,"priority":1,"record_length":96,"hex_timestamp":"000001a01763eda0"} 
[2026-08-19 05:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:54: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-08-19 05: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 05:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:54:07] 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-08-19 05:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497220864001,"66":26028,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497220864001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:54:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497220864001,"power":26028,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":157715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:54:07] local.INFO: GPS data processed {"connection_id":157715,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:54:07] local.INFO: Acknowledgment sent {"connection_id":157715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:54:38] local.INFO: TCP Data received {"connection_id":157715,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:54:38] local.INFO: Processing buffer {"connection_id":157715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:54:38] local.INFO: Packet analysis {"connection_id":157715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:54:38] local.INFO: Extracted packet for processing {"connection_id":157715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497220864001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:54:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:54:38] 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-08-19 05:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787098820000,"timestamp_ms":1787098820000,"timestamp_seconds":1787098820,"priority":1,"record_length":96,"hex_timestamp":"000001a01763eda0"} 
[2026-08-19 05:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 05:54:38] 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-08-19 05: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-08-19 05:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:54:38] 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-08-19 05:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497220864001,"66":26028,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497220864001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497220864001,"power":26028,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":157715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:54:38] local.INFO: GPS data processed {"connection_id":157715,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:54:38] local.INFO: Acknowledgment sent {"connection_id":157715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:55:00] local.INFO: TCP Data received {"connection_id":159887,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:55:00] local.INFO: Processing buffer {"connection_id":159887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:55:00] local.INFO: IMEI packet received {"connection_id":159887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":159887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:55:05] local.INFO: TCP Data received {"connection_id":159887,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:55:05] local.INFO: Processing buffer {"connection_id":159887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:55:05] local.INFO: IMEI packet received {"connection_id":159887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":159887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:55:06] local.INFO: TCP Data received {"connection_id":159887,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:55:06] local.INFO: Processing buffer {"connection_id":159887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:55:06] local.INFO: Packet analysis {"connection_id":159887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:55:06] local.INFO: Extracted packet for processing {"connection_id":159887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:55:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497220864001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:55:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:55:06] 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-08-19 05:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787098820000,"timestamp_ms":1787098820000,"timestamp_seconds":1787098820,"priority":1,"record_length":96,"hex_timestamp":"000001a01763eda0"} 
[2026-08-19 05:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 05:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:55:06] 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-08-19 05:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497220864001,"66":26028,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497220864001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497220864001,"power":26028,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":159887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:55:06] local.INFO: GPS data processed {"connection_id":159887,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:55:06] local.INFO: Acknowledgment sent {"connection_id":159887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:55:38] local.INFO: TCP Data received {"connection_id":159887,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:55:38] local.INFO: Processing buffer {"connection_id":159887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01763eda0012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:55:38] local.INFO: Packet analysis {"connection_id":159887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:55:38] local.INFO: Extracted packet for processing {"connection_id":159887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01763"} 
[2026-08-19 05:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497220864001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:55:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:55:38] 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-08-19 05:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787098820000,"timestamp_ms":1787098820000,"timestamp_seconds":1787098820,"priority":1,"record_length":96,"hex_timestamp":"000001a01763eda0"} 
[2026-08-19 05:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 05:55:38] 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-08-19 05:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:55:38] 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-08-19 05:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497220864001,"66":26028,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497220864001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497220864001,"power":26028,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":159887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:55:38] local.INFO: GPS data processed {"connection_id":159887,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:55:38] local.INFO: Acknowledgment sent {"connection_id":159887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:55:59] local.INFO: TCP Data received {"connection_id":157340,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:55:59] local.INFO: Processing buffer {"connection_id":157340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:55:59] local.INFO: IMEI packet received {"connection_id":157340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":157340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:56:00] local.INFO: TCP Data received {"connection_id":157340,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:56:00] local.INFO: Processing buffer {"connection_id":157340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:56:00] local.INFO: IMEI packet received {"connection_id":157340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":157340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:56:05] local.INFO: TCP Data received {"connection_id":157340,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:56:05] local.INFO: Processing buffer {"connection_id":157340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:56:05] local.INFO: IMEI packet received {"connection_id":157340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":157340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:56:06] local.INFO: TCP Data received {"connection_id":157340,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:56:06] local.INFO: Processing buffer {"connection_id":157340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:56:06] local.INFO: Packet analysis {"connection_id":157340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 05:56:06] local.INFO: Extracted packet for processing {"connection_id":157340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 05:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497297920001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:56:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:56:06] 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-08-19 05:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787099121000,"timestamp_ms":1787099121000,"timestamp_seconds":1787099121,"priority":1,"record_length":96,"hex_timestamp":"000001a017688568"} 
[2026-08-19 05:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 05:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:56:06] 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-08-19 05:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497297920001,"66":25941,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497297920001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:56:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497297920001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":157340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:56:06] local.INFO: GPS data processed {"connection_id":157340,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:56:06] local.INFO: Acknowledgment sent {"connection_id":157340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:56:37] local.INFO: TCP Data received {"connection_id":157340,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:56:37] local.INFO: Processing buffer {"connection_id":157340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:56:37] local.INFO: Packet analysis {"connection_id":157340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 05:56:37] local.INFO: Extracted packet for processing {"connection_id":157340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 05:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497297920001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:56:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:56:37] 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-08-19 05:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787099121000,"timestamp_ms":1787099121000,"timestamp_seconds":1787099121,"priority":1,"record_length":96,"hex_timestamp":"000001a017688568"} 
[2026-08-19 05:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:56: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-08-19 05:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 05:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:56:37] 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-08-19 05:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497297920001,"66":25941,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497297920001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497297920001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":157340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":662999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:56:37] local.INFO: GPS data processed {"connection_id":157340,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:56:37] local.INFO: Acknowledgment sent {"connection_id":157340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:57:05] local.INFO: TCP Data received {"connection_id":159888,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:57:05] local.INFO: Processing buffer {"connection_id":159888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:57:05] local.INFO: IMEI packet received {"connection_id":159888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":159888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:57:10] local.INFO: TCP Data received {"connection_id":159888,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:57:10] local.INFO: Processing buffer {"connection_id":159888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:57:10] local.INFO: IMEI packet received {"connection_id":159888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":159888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:57:11] local.INFO: TCP Data received {"connection_id":159888,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:57:11] local.INFO: Processing buffer {"connection_id":159888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:57:11] local.INFO: Packet analysis {"connection_id":159888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 05:57:11] local.INFO: Extracted packet for processing {"connection_id":159888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 05:57:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497297920001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:57:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:57:11] 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-08-19 05:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787099121000,"timestamp_ms":1787099121000,"timestamp_seconds":1787099121,"priority":1,"record_length":96,"hex_timestamp":"000001a017688568"} 
[2026-08-19 05:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 05:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497297920001,"66":25941,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497297920001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:57:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497297920001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":159888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:57:11] local.INFO: GPS data processed {"connection_id":159888,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:57:11] local.INFO: Acknowledgment sent {"connection_id":159888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:57:16] local.INFO: TCP Data received {"connection_id":159888,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:57:16] local.INFO: Processing buffer {"connection_id":159888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:57:16] local.INFO: Packet analysis {"connection_id":159888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 05:57:16] local.INFO: Extracted packet for processing {"connection_id":159888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 05:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497297920001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:57:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:57: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-08-19 05:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787099121000,"timestamp_ms":1787099121000,"timestamp_seconds":1787099121,"priority":1,"record_length":96,"hex_timestamp":"000001a017688568"} 
[2026-08-19 05:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:57: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-08-19 05:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 05:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497297920001,"66":25941,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497297920001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497297920001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":159888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:57:16] local.INFO: GPS data processed {"connection_id":159888,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:57:16] local.INFO: Acknowledgment sent {"connection_id":159888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:58:00] local.INFO: TCP Data received {"connection_id":157716,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:58:00] local.INFO: Processing buffer {"connection_id":157716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:58:00] local.INFO: IMEI packet received {"connection_id":157716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":157716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:58:05] local.INFO: TCP Data received {"connection_id":157716,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:58:05] local.INFO: Processing buffer {"connection_id":157716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:58:05] local.INFO: IMEI packet received {"connection_id":157716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":157716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:58:06] local.INFO: TCP Data received {"connection_id":157716,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:58:06] local.INFO: Processing buffer {"connection_id":157716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:58:06] local.INFO: Packet analysis {"connection_id":157716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 05:58:06] local.INFO: Extracted packet for processing {"connection_id":157716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 05:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497297920001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:58:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:58:06] 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-08-19 05:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787099121000,"timestamp_ms":1787099121000,"timestamp_seconds":1787099121,"priority":1,"record_length":96,"hex_timestamp":"000001a017688568"} 
[2026-08-19 05:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 05:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:58:06] 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-08-19 05:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497297920001,"66":25941,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497297920001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497297920001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":157716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:58:06] local.INFO: GPS data processed {"connection_id":157716,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:58:06] local.INFO: Acknowledgment sent {"connection_id":157716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:58:11] local.INFO: TCP Data received {"connection_id":157716,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:58:11] local.INFO: Processing buffer {"connection_id":157716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:58:11] local.INFO: Packet analysis {"connection_id":157716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 05:58:11] local.INFO: Extracted packet for processing {"connection_id":157716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 05:58:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497297920001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:58:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:58:11] 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-08-19 05:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787099121000,"timestamp_ms":1787099121000,"timestamp_seconds":1787099121,"priority":1,"record_length":96,"hex_timestamp":"000001a017688568"} 
[2026-08-19 05:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 05:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497297920001,"66":25941,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497297920001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:58:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497297920001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":157716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:58:11] local.INFO: GPS data processed {"connection_id":157716,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:58:11] local.INFO: Acknowledgment sent {"connection_id":157716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:58:42] local.INFO: TCP Data received {"connection_id":157716,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:58:42] local.INFO: Processing buffer {"connection_id":157716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:58:42] local.INFO: Packet analysis {"connection_id":157716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 05:58:42] local.INFO: Extracted packet for processing {"connection_id":157716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 05:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05: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-08-19 05:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497297920001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:58:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:58:42] 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-08-19 05:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787099121000,"timestamp_ms":1787099121000,"timestamp_seconds":1787099121,"priority":1,"record_length":96,"hex_timestamp":"000001a017688568"} 
[2026-08-19 05:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 05:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05: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-08-19 05:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 05:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497297920001,"66":25941,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497297920001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497297920001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":157716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:58:42] local.INFO: GPS data processed {"connection_id":157716,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:58:42] local.INFO: Acknowledgment sent {"connection_id":157716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:59:00] local.INFO: TCP Data received {"connection_id":157717,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:59:00] local.INFO: Processing buffer {"connection_id":157717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:59:00] local.INFO: IMEI packet received {"connection_id":157717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 05:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":157717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 05:59:05] local.INFO: TCP Data received {"connection_id":157717,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:59:05] local.INFO: Processing buffer {"connection_id":157717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 05:59:05] local.INFO: IMEI packet received {"connection_id":157717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 05:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":157717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 05:59:06] local.INFO: TCP Data received {"connection_id":157717,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:59:06] local.INFO: Processing buffer {"connection_id":157717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:59:06] local.INFO: Packet analysis {"connection_id":157717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 05:59:06] local.INFO: Extracted packet for processing {"connection_id":157717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 05:59:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497297920001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:59:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:59:06] 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-08-19 05:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787099121000,"timestamp_ms":1787099121000,"timestamp_seconds":1787099121,"priority":1,"record_length":96,"hex_timestamp":"000001a017688568"} 
[2026-08-19 05:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 05:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 05:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:59:06] 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-08-19 05:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497297920001,"66":25941,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497297920001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:59:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497297920001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":157717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:59:06] local.INFO: GPS data processed {"connection_id":157717,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:59:06] local.INFO: Acknowledgment sent {"connection_id":157717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 05:59:37] local.INFO: TCP Data received {"connection_id":157717,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:59:37] local.INFO: Processing buffer {"connection_id":157717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 05:59:37] local.INFO: Packet analysis {"connection_id":157717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 05:59:37] local.INFO: Extracted packet for processing {"connection_id":157717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 05:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 05:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 05:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497297920001,"note":"Value kept but may cause issues"} 
[2026-08-19 05:59:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 05:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 05:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 05:59:37] 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-08-19 05:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787099121000,"timestamp_ms":1787099121000,"timestamp_seconds":1787099121,"priority":1,"record_length":96,"hex_timestamp":"000001a017688568"} 
[2026-08-19 05:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 05:59: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-08-19 05:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 05:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 05:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 05:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 05:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 05:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 05:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 05:59:37] 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-08-19 05:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 05:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 05:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497297920001,"66":25941,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 05:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 05:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 05:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497297920001,"description":"Unknown IO ID 0"} 
[2026-08-19 05:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 05:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 05:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 05:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497297920001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 05:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":157717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 05:59:37] local.INFO: GPS data processed {"connection_id":157717,"processed":1,"errors":0,"total":1} 
[2026-08-19 05:59:37] local.INFO: Acknowledgment sent {"connection_id":157717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:00:03] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:00:03] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:00:03] local.INFO: IMEI packet received {"connection_id":159889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":159889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:00:05] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:00:05] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:00:05] local.INFO: IMEI packet received {"connection_id":159889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":159889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:00:06] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:00:06] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:00:06] local.INFO: Packet analysis {"connection_id":159889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 06:00:06] local.INFO: Extracted packet for processing {"connection_id":159889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 06:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497297920001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:00:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:00:06] 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-08-19 06:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787099121000,"timestamp_ms":1787099121000,"timestamp_seconds":1787099121,"priority":1,"record_length":96,"hex_timestamp":"000001a017688568"} 
[2026-08-19 06:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 06:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:00:06] 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-08-19 06:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497297920001,"66":25941,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497297920001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497297920001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":159889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:00:06] local.INFO: GPS data processed {"connection_id":159889,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:00:06] local.INFO: Acknowledgment sent {"connection_id":159889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:00:11] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:00:11] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:00:11] local.INFO: Packet analysis {"connection_id":159889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 06:00:11] local.INFO: Extracted packet for processing {"connection_id":159889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 06:00:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497297920001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:00:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:00:11] 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-08-19 06:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787099121000,"timestamp_ms":1787099121000,"timestamp_seconds":1787099121,"priority":1,"record_length":96,"hex_timestamp":"000001a017688568"} 
[2026-08-19 06:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 06:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497297920001,"66":25941,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497297920001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:00:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497297920001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":159889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:00:11] local.INFO: GPS data processed {"connection_id":159889,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:00:11] local.INFO: Acknowledgment sent {"connection_id":159889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:00:42] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:00:42] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017688568012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:00:42] local.INFO: Packet analysis {"connection_id":159889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 06:00:42] local.INFO: Extracted packet for processing {"connection_id":159889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01768"} 
[2026-08-19 06:00:42] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497297920001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:00:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:00:42] 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-08-19 06:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787099121000,"timestamp_ms":1787099121000,"timestamp_seconds":1787099121,"priority":1,"record_length":96,"hex_timestamp":"000001a017688568"} 
[2026-08-19 06:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 06:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497297920001,"66":25941,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497297920001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:00:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497297920001,"power":25941,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":159889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:00:42] local.INFO: GPS data processed {"connection_id":159889,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:00:42] local.INFO: Acknowledgment sent {"connection_id":159889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:01:00] local.INFO: TCP Data received {"connection_id":159890,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:01:00] local.INFO: Processing buffer {"connection_id":159890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:01:00] local.INFO: IMEI packet received {"connection_id":159890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":159890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:01:01] local.INFO: TCP Data received {"connection_id":159890,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:01:01] local.INFO: Processing buffer {"connection_id":159890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:01:01] local.INFO: IMEI packet received {"connection_id":159890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":159890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:01:05] local.INFO: TCP Data received {"connection_id":159890,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:01:05] local.INFO: Processing buffer {"connection_id":159890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:01:05] local.INFO: IMEI packet received {"connection_id":159890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":159890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:01:06] local.INFO: TCP Data received {"connection_id":159890,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:01:06] local.INFO: Processing buffer {"connection_id":159890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:01:06] local.INFO: Packet analysis {"connection_id":159890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:01:06] local.INFO: Extracted packet for processing {"connection_id":159890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:01:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497374976001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:01:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:01:06] 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-08-19 06:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787099422000,"timestamp_ms":1787099422000,"timestamp_seconds":1787099422,"priority":1,"record_length":96,"hex_timestamp":"000001a0176d1d30"} 
[2026-08-19 06:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 06:01:06] 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-08-19 06: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-08-19 06:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:01:06] 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-08-19 06:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497374976001,"66":25875,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497374976001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497374976001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":159890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:01:06] local.INFO: GPS data processed {"connection_id":159890,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:01:06] local.INFO: Acknowledgment sent {"connection_id":159890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:01:38] local.INFO: TCP Data received {"connection_id":159890,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:01:38] local.INFO: Processing buffer {"connection_id":159890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:01:38] local.INFO: Packet analysis {"connection_id":159890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:01:38] local.INFO: Extracted packet for processing {"connection_id":159890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497374976001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:01:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:01:38] 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-08-19 06:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787099422000,"timestamp_ms":1787099422000,"timestamp_seconds":1787099422,"priority":1,"record_length":96,"hex_timestamp":"000001a0176d1d30"} 
[2026-08-19 06:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 06:01:38] 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-08-19 06: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-08-19 06:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:01:38] 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-08-19 06:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497374976001,"66":25875,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497374976001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497374976001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":159890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:01:38] local.INFO: GPS data processed {"connection_id":159890,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:01:38] local.INFO: Acknowledgment sent {"connection_id":159890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:02:05] local.INFO: TCP Data received {"connection_id":159891,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:02:05] local.INFO: Processing buffer {"connection_id":159891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:02:05] local.INFO: IMEI packet received {"connection_id":159891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":159891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:02:10] local.INFO: TCP Data received {"connection_id":159891,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:02:10] local.INFO: Processing buffer {"connection_id":159891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:02:10] local.INFO: IMEI packet received {"connection_id":159891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":159891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:02:13] local.INFO: TCP Data received {"connection_id":159891,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:02:13] local.INFO: Processing buffer {"connection_id":159891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:02:13] local.INFO: Packet analysis {"connection_id":159891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:02:13] local.INFO: Extracted packet for processing {"connection_id":159891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:02:13] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497374976001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:02:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:02:13] 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-08-19 06:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787099422000,"timestamp_ms":1787099422000,"timestamp_seconds":1787099422,"priority":1,"record_length":96,"hex_timestamp":"000001a0176d1d30"} 
[2026-08-19 06:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:02: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-08-19 06: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 06:02:13] 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-08-19 06: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-08-19 06:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497374976001,"66":25875,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497374976001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:02:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497374976001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":159891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:02:13] local.INFO: GPS data processed {"connection_id":159891,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:02:13] local.INFO: Acknowledgment sent {"connection_id":159891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:02:16] local.INFO: TCP Data received {"connection_id":159891,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:02:16] local.INFO: Processing buffer {"connection_id":159891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:02:16] local.INFO: Packet analysis {"connection_id":159891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:02:16] local.INFO: Extracted packet for processing {"connection_id":159891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497374976001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:02:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:02: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-08-19 06:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787099422000,"timestamp_ms":1787099422000,"timestamp_seconds":1787099422,"priority":1,"record_length":96,"hex_timestamp":"000001a0176d1d30"} 
[2026-08-19 06:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:02: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-08-19 06:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 06:02:16] 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-08-19 06:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497374976001,"66":25875,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497374976001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497374976001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":159891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:02:16] local.INFO: GPS data processed {"connection_id":159891,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:02:16] local.INFO: Acknowledgment sent {"connection_id":159891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:03:00] local.INFO: TCP Data received {"connection_id":157341,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:03:00] local.INFO: Processing buffer {"connection_id":157341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:03:00] local.INFO: IMEI packet received {"connection_id":157341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":157341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:03:05] local.INFO: TCP Data received {"connection_id":157341,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:03:05] local.INFO: Processing buffer {"connection_id":157341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:03:05] local.INFO: IMEI packet received {"connection_id":157341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":157341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:03:06] local.INFO: TCP Data received {"connection_id":157341,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:03:06] local.INFO: Processing buffer {"connection_id":157341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:03:06] local.INFO: Packet analysis {"connection_id":157341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:03:06] local.INFO: Extracted packet for processing {"connection_id":157341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497374976001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:03:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:03:06] 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-08-19 06:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787099422000,"timestamp_ms":1787099422000,"timestamp_seconds":1787099422,"priority":1,"record_length":96,"hex_timestamp":"000001a0176d1d30"} 
[2026-08-19 06:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 06:03:06] 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-08-19 06: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-08-19 06:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:03:06] 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-08-19 06:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497374976001,"66":25875,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497374976001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497374976001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":157341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:03:06] local.INFO: GPS data processed {"connection_id":157341,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:03:06] local.INFO: Acknowledgment sent {"connection_id":157341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:03:37] local.INFO: TCP Data received {"connection_id":157341,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:03:37] local.INFO: Processing buffer {"connection_id":157341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:03:37] local.INFO: Packet analysis {"connection_id":157341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:03:37] local.INFO: Extracted packet for processing {"connection_id":157341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497374976001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:03:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:03:37] 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-08-19 06:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787099422000,"timestamp_ms":1787099422000,"timestamp_seconds":1787099422,"priority":1,"record_length":96,"hex_timestamp":"000001a0176d1d30"} 
[2026-08-19 06:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:03: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-08-19 06:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 06:03:37] 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-08-19 06:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:03:37] 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-08-19 06:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497374976001,"66":25875,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497374976001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497374976001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":157341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:03:37] local.INFO: GPS data processed {"connection_id":157341,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:03:37] local.INFO: Acknowledgment sent {"connection_id":157341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:04:00] local.INFO: TCP Data received {"connection_id":157342,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:04:00] local.INFO: Processing buffer {"connection_id":157342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:04:00] local.INFO: IMEI packet received {"connection_id":157342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":157342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:04:05] local.INFO: TCP Data received {"connection_id":157342,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:04:05] local.INFO: Processing buffer {"connection_id":157342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:04:05] local.INFO: IMEI packet received {"connection_id":157342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":157342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:04:06] local.INFO: TCP Data received {"connection_id":157342,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:04:06] local.INFO: Processing buffer {"connection_id":157342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:04:06] local.INFO: Packet analysis {"connection_id":157342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:04:06] local.INFO: Extracted packet for processing {"connection_id":157342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:04:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497374976001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:04:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:04:06] 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-08-19 06:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787099422000,"timestamp_ms":1787099422000,"timestamp_seconds":1787099422,"priority":1,"record_length":96,"hex_timestamp":"000001a0176d1d30"} 
[2026-08-19 06:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 06:04:06] 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-08-19 06: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-08-19 06:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:04:06] 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-08-19 06:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497374976001,"66":25875,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497374976001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:04:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497374976001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":157342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:04:06] local.INFO: GPS data processed {"connection_id":157342,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:04:06] local.INFO: Acknowledgment sent {"connection_id":157342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:04:38] local.INFO: TCP Data received {"connection_id":157342,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:04:38] local.INFO: Processing buffer {"connection_id":157342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:04:38] local.INFO: Packet analysis {"connection_id":157342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:04:38] local.INFO: Extracted packet for processing {"connection_id":157342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497374976001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:04:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:04:38] 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-08-19 06:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787099422000,"timestamp_ms":1787099422000,"timestamp_seconds":1787099422,"priority":1,"record_length":96,"hex_timestamp":"000001a0176d1d30"} 
[2026-08-19 06:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 06:04:38] 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-08-19 06: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-08-19 06:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:04:38] 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-08-19 06:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497374976001,"66":25875,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497374976001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497374976001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":157342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:04:38] local.INFO: GPS data processed {"connection_id":157342,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:04:38] local.INFO: Acknowledgment sent {"connection_id":157342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:05:01] local.INFO: TCP Data received {"connection_id":158608,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:05:01] local.INFO: Processing buffer {"connection_id":158608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:05:01] local.INFO: IMEI packet received {"connection_id":158608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":158608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:05:05] local.INFO: TCP Data received {"connection_id":158608,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:05:05] local.INFO: Processing buffer {"connection_id":158608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:05:05] local.INFO: IMEI packet received {"connection_id":158608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":158608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:05:06] local.INFO: TCP Data received {"connection_id":158608,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:05:06] local.INFO: Processing buffer {"connection_id":158608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:05:06] local.INFO: Packet analysis {"connection_id":158608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:05:06] local.INFO: Extracted packet for processing {"connection_id":158608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:05:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497374976001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:05:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:05:06] 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-08-19 06:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787099422000,"timestamp_ms":1787099422000,"timestamp_seconds":1787099422,"priority":1,"record_length":96,"hex_timestamp":"000001a0176d1d30"} 
[2026-08-19 06:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 06:05:06] 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-08-19 06: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-08-19 06:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:05:06] 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-08-19 06:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497374976001,"66":25875,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497374976001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497374976001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":158608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:05:06] local.INFO: GPS data processed {"connection_id":158608,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:05:06] local.INFO: Acknowledgment sent {"connection_id":158608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:05:38] local.INFO: TCP Data received {"connection_id":158608,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:05:38] local.INFO: Processing buffer {"connection_id":158608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0176d1d30012d34c18006aa49b8000901122e..."} 
[2026-08-19 06:05:38] local.INFO: Packet analysis {"connection_id":158608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:05:38] local.INFO: Extracted packet for processing {"connection_id":158608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0176d"} 
[2026-08-19 06:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497374976001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:05:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:05:38] 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-08-19 06:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787099422000,"timestamp_ms":1787099422000,"timestamp_seconds":1787099422,"priority":1,"record_length":96,"hex_timestamp":"000001a0176d1d30"} 
[2026-08-19 06:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 06:05:38] 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-08-19 06: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-08-19 06:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:05:38] 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-08-19 06:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497374976001,"66":25875,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497374976001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497374976001,"power":25875,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":158608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:05:38] local.INFO: GPS data processed {"connection_id":158608,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:05:38] local.INFO: Acknowledgment sent {"connection_id":158608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:06:00] local.INFO: TCP Data received {"connection_id":157718,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:06:00] local.INFO: Processing buffer {"connection_id":157718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:06:00] local.INFO: IMEI packet received {"connection_id":157718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":157718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:06:01] local.INFO: TCP Data received {"connection_id":157718,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:06:01] local.INFO: Processing buffer {"connection_id":157718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:06:01] local.INFO: IMEI packet received {"connection_id":157718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":157718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:06:05] local.INFO: TCP Data received {"connection_id":157718,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:06:05] local.INFO: Processing buffer {"connection_id":157718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:06:05] local.INFO: IMEI packet received {"connection_id":157718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":157718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:06:06] local.INFO: TCP Data received {"connection_id":157718,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:06:06] local.INFO: Processing buffer {"connection_id":157718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:06:06] local.INFO: Packet analysis {"connection_id":157718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:06:06] local.INFO: Extracted packet for processing {"connection_id":157718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:06:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497452032001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:06:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:06:06] 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-08-19 06:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787099723000,"timestamp_ms":1787099723000,"timestamp_seconds":1787099723,"priority":1,"record_length":96,"hex_timestamp":"000001a01771b4f8"} 
[2026-08-19 06:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 06:06:06] 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-08-19 06: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-08-19 06:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:06:06] 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-08-19 06:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497452032001,"66":25832,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497452032001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:06:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497452032001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":157718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:06:06] local.INFO: GPS data processed {"connection_id":157718,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:06:06] local.INFO: Acknowledgment sent {"connection_id":157718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:06:38] local.INFO: TCP Data received {"connection_id":157718,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:06:38] local.INFO: Processing buffer {"connection_id":157718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:06:38] local.INFO: Packet analysis {"connection_id":157718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:06:38] local.INFO: Extracted packet for processing {"connection_id":157718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497452032001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:06:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:06:38] 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-08-19 06:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787099723000,"timestamp_ms":1787099723000,"timestamp_seconds":1787099723,"priority":1,"record_length":96,"hex_timestamp":"000001a01771b4f8"} 
[2026-08-19 06:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 06:06:38] 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-08-19 06: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-08-19 06:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:06:38] 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-08-19 06:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497452032001,"66":25832,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497452032001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497452032001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":157718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:06:38] local.INFO: GPS data processed {"connection_id":157718,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:06:38] local.INFO: Acknowledgment sent {"connection_id":157718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:07:00] local.INFO: TCP Data received {"connection_id":159892,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:07:00] local.INFO: Processing buffer {"connection_id":159892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:07:00] local.INFO: IMEI packet received {"connection_id":159892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":159892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:07:05] local.INFO: TCP Data received {"connection_id":159892,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:07:05] local.INFO: Processing buffer {"connection_id":159892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:07:05] local.INFO: IMEI packet received {"connection_id":159892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":159892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:07:06] local.INFO: TCP Data received {"connection_id":159892,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:07:06] local.INFO: Processing buffer {"connection_id":159892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:07:06] local.INFO: Packet analysis {"connection_id":159892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:07:06] local.INFO: Extracted packet for processing {"connection_id":159892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:07:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497452032001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:07:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:07:06] 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-08-19 06:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787099723000,"timestamp_ms":1787099723000,"timestamp_seconds":1787099723,"priority":1,"record_length":96,"hex_timestamp":"000001a01771b4f8"} 
[2026-08-19 06:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 06:07:06] 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-08-19 06: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-08-19 06:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:07:06] 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-08-19 06:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497452032001,"66":25832,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497452032001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:07:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497452032001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":159892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:07:06] local.INFO: GPS data processed {"connection_id":159892,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:07:06] local.INFO: Acknowledgment sent {"connection_id":159892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:07:37] local.INFO: TCP Data received {"connection_id":159892,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:07:37] local.INFO: Processing buffer {"connection_id":159892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:07:37] local.INFO: Packet analysis {"connection_id":159892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:07:37] local.INFO: Extracted packet for processing {"connection_id":159892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497452032001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:07:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:07:37] 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-08-19 06:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787099723000,"timestamp_ms":1787099723000,"timestamp_seconds":1787099723,"priority":1,"record_length":96,"hex_timestamp":"000001a01771b4f8"} 
[2026-08-19 06:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:07: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-08-19 06:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 06:07:37] 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-08-19 06:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497452032001,"66":25832,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497452032001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497452032001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":159892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:07:38] local.INFO: GPS data processed {"connection_id":159892,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:07:38] local.INFO: Acknowledgment sent {"connection_id":159892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:08:05] local.INFO: TCP Data received {"connection_id":157719,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:08:05] local.INFO: Processing buffer {"connection_id":157719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:08:05] local.INFO: IMEI packet received {"connection_id":157719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":157719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:08:10] local.INFO: TCP Data received {"connection_id":157719,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:08:10] local.INFO: Processing buffer {"connection_id":157719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:08:10] local.INFO: IMEI packet received {"connection_id":157719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":157719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:08:12] local.INFO: TCP Data received {"connection_id":157719,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:08:12] local.INFO: Processing buffer {"connection_id":157719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:08:12] local.INFO: Packet analysis {"connection_id":157719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:08:12] local.INFO: Extracted packet for processing {"connection_id":157719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:08:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497452032001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:08:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:08:12] 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-08-19 06:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787099723000,"timestamp_ms":1787099723000,"timestamp_seconds":1787099723,"priority":1,"record_length":96,"hex_timestamp":"000001a01771b4f8"} 
[2026-08-19 06:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 06:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497452032001,"66":25832,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497452032001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:08:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497452032001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":157719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:08:12] local.INFO: GPS data processed {"connection_id":157719,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:08:12] local.INFO: Acknowledgment sent {"connection_id":157719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:08:16] local.INFO: TCP Data received {"connection_id":157719,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:08:16] local.INFO: Processing buffer {"connection_id":157719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:08:16] local.INFO: Packet analysis {"connection_id":157719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:08:16] local.INFO: Extracted packet for processing {"connection_id":157719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497452032001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:08:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:08: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-08-19 06:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787099723000,"timestamp_ms":1787099723000,"timestamp_seconds":1787099723,"priority":1,"record_length":96,"hex_timestamp":"000001a01771b4f8"} 
[2026-08-19 06:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:08: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-08-19 06:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 06:08:16] 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-08-19 06:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497452032001,"66":25832,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497452032001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497452032001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":157719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:08:16] local.INFO: GPS data processed {"connection_id":157719,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:08:16] local.INFO: Acknowledgment sent {"connection_id":157719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:09:00] local.INFO: TCP Data received {"connection_id":159893,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:09:00] local.INFO: Processing buffer {"connection_id":159893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:09:00] local.INFO: IMEI packet received {"connection_id":159893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":159893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:09:05] local.INFO: TCP Data received {"connection_id":159893,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:09:05] local.INFO: Processing buffer {"connection_id":159893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:09:05] local.INFO: IMEI packet received {"connection_id":159893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":159893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:09:06] local.INFO: TCP Data received {"connection_id":159893,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:09:06] local.INFO: Processing buffer {"connection_id":159893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:09:06] local.INFO: Packet analysis {"connection_id":159893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:09:06] local.INFO: Extracted packet for processing {"connection_id":159893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497452032001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:09:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:09:06] 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-08-19 06:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787099723000,"timestamp_ms":1787099723000,"timestamp_seconds":1787099723,"priority":1,"record_length":96,"hex_timestamp":"000001a01771b4f8"} 
[2026-08-19 06:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 06:09:06] 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-08-19 06: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-08-19 06:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:09:06] 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-08-19 06:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497452032001,"66":25832,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497452032001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497452032001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":159893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:09:06] local.INFO: GPS data processed {"connection_id":159893,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:09:06] local.INFO: Acknowledgment sent {"connection_id":159893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:09:42] local.INFO: TCP Data received {"connection_id":159893,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:09:42] local.INFO: Processing buffer {"connection_id":159893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:09:42] local.INFO: Packet analysis {"connection_id":159893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:09:42] local.INFO: Extracted packet for processing {"connection_id":159893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:09:42] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497452032001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:09:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:09:42] 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-08-19 06:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787099723000,"timestamp_ms":1787099723000,"timestamp_seconds":1787099723,"priority":1,"record_length":96,"hex_timestamp":"000001a01771b4f8"} 
[2026-08-19 06:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 06:09:42] 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-08-19 06:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497452032001,"66":25832,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497452032001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:09:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497452032001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":159893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:09:42] local.INFO: GPS data processed {"connection_id":159893,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:09:42] local.INFO: Acknowledgment sent {"connection_id":159893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:10:00] local.INFO: TCP Data received {"connection_id":159894,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:10:00] local.INFO: Processing buffer {"connection_id":159894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:10:00] local.INFO: IMEI packet received {"connection_id":159894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":159894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:10:05] local.INFO: TCP Data received {"connection_id":159894,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:10:05] local.INFO: Processing buffer {"connection_id":159894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:10:05] local.INFO: IMEI packet received {"connection_id":159894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":159894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:10:06] local.INFO: TCP Data received {"connection_id":159894,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:10:06] local.INFO: Processing buffer {"connection_id":159894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:10:06] local.INFO: Packet analysis {"connection_id":159894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:10:06] local.INFO: Extracted packet for processing {"connection_id":159894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497452032001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:10:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:10:06] 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-08-19 06:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787099723000,"timestamp_ms":1787099723000,"timestamp_seconds":1787099723,"priority":1,"record_length":96,"hex_timestamp":"000001a01771b4f8"} 
[2026-08-19 06:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 06:10:06] 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-08-19 06: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-08-19 06:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:10:06] 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-08-19 06:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497452032001,"66":25832,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497452032001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497452032001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":159894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:10:06] local.INFO: GPS data processed {"connection_id":159894,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:10:06] local.INFO: Acknowledgment sent {"connection_id":159894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:10:38] local.INFO: TCP Data received {"connection_id":159894,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:10:38] local.INFO: Processing buffer {"connection_id":159894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01771b4f8012d34c18006aa49b8000901122f..."} 
[2026-08-19 06:10:38] local.INFO: Packet analysis {"connection_id":159894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:10:38] local.INFO: Extracted packet for processing {"connection_id":159894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01771"} 
[2026-08-19 06:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497452032001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:10:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:10:38] 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-08-19 06:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787099723000,"timestamp_ms":1787099723000,"timestamp_seconds":1787099723,"priority":1,"record_length":96,"hex_timestamp":"000001a01771b4f8"} 
[2026-08-19 06:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 06:10:38] 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-08-19 06: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-08-19 06:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497452032001,"66":25832,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497452032001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497452032001,"power":25832,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":159894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:10:38] local.INFO: GPS data processed {"connection_id":159894,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:10:38] local.INFO: Acknowledgment sent {"connection_id":159894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:11:00] local.INFO: TCP Data received {"connection_id":158609,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:11:00] local.INFO: Processing buffer {"connection_id":158609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:11:00] local.INFO: IMEI packet received {"connection_id":158609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":158609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:11:02] local.INFO: TCP Data received {"connection_id":158609,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:11:02] local.INFO: Processing buffer {"connection_id":158609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:11:02] local.INFO: IMEI packet received {"connection_id":158609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":158609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:11:05] local.INFO: TCP Data received {"connection_id":158609,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:11:05] local.INFO: Processing buffer {"connection_id":158609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:11:05] local.INFO: IMEI packet received {"connection_id":158609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":158609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:11:06] local.INFO: TCP Data received {"connection_id":158609,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:11:06] local.INFO: Processing buffer {"connection_id":158609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:11:06] local.INFO: Packet analysis {"connection_id":158609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:11:06] local.INFO: Extracted packet for processing {"connection_id":158609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497529088001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:11:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:11:06] 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-08-19 06:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787100024000,"timestamp_ms":1787100024000,"timestamp_seconds":1787100024,"priority":1,"record_length":96,"hex_timestamp":"000001a017764cc0"} 
[2026-08-19 06:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 06:11:06] 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-08-19 06: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-08-19 06:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497529088001,"66":25756,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497529088001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497529088001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":158609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:11:06] local.INFO: GPS data processed {"connection_id":158609,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:11:06] local.INFO: Acknowledgment sent {"connection_id":158609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:11:37] local.INFO: TCP Data received {"connection_id":158609,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:11:37] local.INFO: Processing buffer {"connection_id":158609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:11:37] local.INFO: Packet analysis {"connection_id":158609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:11:37] local.INFO: Extracted packet for processing {"connection_id":158609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497529088001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:11:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:11:37] 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-08-19 06:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787100024000,"timestamp_ms":1787100024000,"timestamp_seconds":1787100024,"priority":1,"record_length":96,"hex_timestamp":"000001a017764cc0"} 
[2026-08-19 06:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 06:11:37] 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-08-19 06:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497529088001,"66":25756,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497529088001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497529088001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":158609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:11:37] local.INFO: GPS data processed {"connection_id":158609,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:11:37] local.INFO: Acknowledgment sent {"connection_id":158609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:12:00] local.INFO: TCP Data received {"connection_id":157343,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:12:00] local.INFO: Processing buffer {"connection_id":157343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:12:00] local.INFO: IMEI packet received {"connection_id":157343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":157343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:12:05] local.INFO: TCP Data received {"connection_id":157343,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:12:05] local.INFO: Processing buffer {"connection_id":157343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:12:05] local.INFO: IMEI packet received {"connection_id":157343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":157343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:12:06] local.INFO: TCP Data received {"connection_id":157343,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:12:06] local.INFO: Processing buffer {"connection_id":157343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:12:06] local.INFO: Packet analysis {"connection_id":157343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:12:06] local.INFO: Extracted packet for processing {"connection_id":157343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:12:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497529088001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:12:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:12:06] 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-08-19 06:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787100024000,"timestamp_ms":1787100024000,"timestamp_seconds":1787100024,"priority":1,"record_length":96,"hex_timestamp":"000001a017764cc0"} 
[2026-08-19 06:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 06:12:06] 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-08-19 06: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-08-19 06:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:12:06] 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-08-19 06:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497529088001,"66":25756,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497529088001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:12:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497529088001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":157343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:12:06] local.INFO: GPS data processed {"connection_id":157343,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:12:06] local.INFO: Acknowledgment sent {"connection_id":157343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:12:38] local.INFO: TCP Data received {"connection_id":157343,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:12:38] local.INFO: Processing buffer {"connection_id":157343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:12:38] local.INFO: Packet analysis {"connection_id":157343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:12:38] local.INFO: Extracted packet for processing {"connection_id":157343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497529088001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:12:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:12:38] 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-08-19 06:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787100024000,"timestamp_ms":1787100024000,"timestamp_seconds":1787100024,"priority":1,"record_length":96,"hex_timestamp":"000001a017764cc0"} 
[2026-08-19 06:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 06:12:38] 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-08-19 06: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-08-19 06:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:12:38] 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-08-19 06:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497529088001,"66":25756,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497529088001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497529088001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":157343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:12:38] local.INFO: GPS data processed {"connection_id":157343,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:12:38] local.INFO: Acknowledgment sent {"connection_id":157343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:13:05] local.INFO: TCP Data received {"connection_id":158610,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:13:05] local.INFO: Processing buffer {"connection_id":158610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:13:05] local.INFO: IMEI packet received {"connection_id":158610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":158610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:13:10] local.INFO: TCP Data received {"connection_id":158610,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:13:10] local.INFO: Processing buffer {"connection_id":158610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:13:10] local.INFO: IMEI packet received {"connection_id":158610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":158610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:13:11] local.INFO: TCP Data received {"connection_id":158610,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:13:11] local.INFO: Processing buffer {"connection_id":158610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:13:11] local.INFO: Packet analysis {"connection_id":158610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:13:11] local.INFO: Extracted packet for processing {"connection_id":158610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:13:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497529088001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:13:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:13:11] 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-08-19 06:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787100024000,"timestamp_ms":1787100024000,"timestamp_seconds":1787100024,"priority":1,"record_length":96,"hex_timestamp":"000001a017764cc0"} 
[2026-08-19 06:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:13:11] 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-08-19 06: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 06:13:11] 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-08-19 06: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-08-19 06:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497529088001,"66":25756,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497529088001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:13:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497529088001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":158610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:13:11] local.INFO: GPS data processed {"connection_id":158610,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:13:11] local.INFO: Acknowledgment sent {"connection_id":158610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:13:16] local.INFO: TCP Data received {"connection_id":158610,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:13:16] local.INFO: Processing buffer {"connection_id":158610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:13:16] local.INFO: Packet analysis {"connection_id":158610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:13:16] local.INFO: Extracted packet for processing {"connection_id":158610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497529088001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:13:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:13: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-08-19 06:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787100024000,"timestamp_ms":1787100024000,"timestamp_seconds":1787100024,"priority":1,"record_length":96,"hex_timestamp":"000001a017764cc0"} 
[2026-08-19 06:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:13:16] 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-08-19 06: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 06:13:16] 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-08-19 06: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-08-19 06:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497529088001,"66":25756,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497529088001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497529088001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":158610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:13:16] local.INFO: GPS data processed {"connection_id":158610,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:13:16] local.INFO: Acknowledgment sent {"connection_id":158610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:14:00] local.INFO: TCP Data received {"connection_id":157344,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:14:00] local.INFO: Processing buffer {"connection_id":157344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:14:00] local.INFO: IMEI packet received {"connection_id":157344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":157344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:14:05] local.INFO: TCP Data received {"connection_id":157344,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:14:05] local.INFO: Processing buffer {"connection_id":157344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:14:05] local.INFO: IMEI packet received {"connection_id":157344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":157344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:14:06] local.INFO: TCP Data received {"connection_id":157344,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:14:06] local.INFO: Processing buffer {"connection_id":157344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:14:06] local.INFO: Packet analysis {"connection_id":157344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:14:06] local.INFO: Extracted packet for processing {"connection_id":157344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:14:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497529088001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:14:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:14:06] 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-08-19 06:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787100024000,"timestamp_ms":1787100024000,"timestamp_seconds":1787100024,"priority":1,"record_length":96,"hex_timestamp":"000001a017764cc0"} 
[2026-08-19 06:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 06:14:06] 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-08-19 06:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:14:06] 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-08-19 06:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497529088001,"66":25756,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497529088001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:14:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497529088001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":157344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:14:06] local.INFO: GPS data processed {"connection_id":157344,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:14:06] local.INFO: Acknowledgment sent {"connection_id":157344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:14:38] local.INFO: TCP Data received {"connection_id":157344,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:14:38] local.INFO: Processing buffer {"connection_id":157344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:14:38] local.INFO: Packet analysis {"connection_id":157344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:14:38] local.INFO: Extracted packet for processing {"connection_id":157344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497529088001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:14:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:14:38] 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-08-19 06:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787100024000,"timestamp_ms":1787100024000,"timestamp_seconds":1787100024,"priority":1,"record_length":96,"hex_timestamp":"000001a017764cc0"} 
[2026-08-19 06:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 06:14:38] 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-08-19 06: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-08-19 06:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:14:38] 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-08-19 06:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497529088001,"66":25756,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497529088001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497529088001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":157344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:14:38] local.INFO: GPS data processed {"connection_id":157344,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:14:38] local.INFO: Acknowledgment sent {"connection_id":157344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:15:00] local.INFO: TCP Data received {"connection_id":157345,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:15:00] local.INFO: Processing buffer {"connection_id":157345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:15:00] local.INFO: IMEI packet received {"connection_id":157345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":157345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:15:05] local.INFO: TCP Data received {"connection_id":157345,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:15:05] local.INFO: Processing buffer {"connection_id":157345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:15:05] local.INFO: IMEI packet received {"connection_id":157345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":157345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:15:06] local.INFO: TCP Data received {"connection_id":157345,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:15:06] local.INFO: Processing buffer {"connection_id":157345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:15:06] local.INFO: Packet analysis {"connection_id":157345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:15:06] local.INFO: Extracted packet for processing {"connection_id":157345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497529088001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:15:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:15:06] 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-08-19 06:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787100024000,"timestamp_ms":1787100024000,"timestamp_seconds":1787100024,"priority":1,"record_length":96,"hex_timestamp":"000001a017764cc0"} 
[2026-08-19 06:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 06:15:06] 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-08-19 06:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497529088001,"66":25756,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497529088001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497529088001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":157345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:15:06] local.INFO: GPS data processed {"connection_id":157345,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:15:06] local.INFO: Acknowledgment sent {"connection_id":157345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:15:38] local.INFO: TCP Data received {"connection_id":157345,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:15:38] local.INFO: Processing buffer {"connection_id":157345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017764cc0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:15:38] local.INFO: Packet analysis {"connection_id":157345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:15:38] local.INFO: Extracted packet for processing {"connection_id":157345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01776"} 
[2026-08-19 06:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497529088001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:15:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:15:38] 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-08-19 06:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787100024000,"timestamp_ms":1787100024000,"timestamp_seconds":1787100024,"priority":1,"record_length":96,"hex_timestamp":"000001a017764cc0"} 
[2026-08-19 06:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 06:15:38] 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-08-19 06: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-08-19 06:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:15:38] 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-08-19 06:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497529088001,"66":25756,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497529088001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497529088001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":157345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:15:38] local.INFO: GPS data processed {"connection_id":157345,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:15:38] local.INFO: Acknowledgment sent {"connection_id":157345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:16:00] local.INFO: TCP Data received {"connection_id":157720,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:16:00] local.INFO: Processing buffer {"connection_id":157720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:16:00] local.INFO: IMEI packet received {"connection_id":157720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":157720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:16:03] local.INFO: TCP Data received {"connection_id":157720,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:16:03] local.INFO: Processing buffer {"connection_id":157720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:16:03] local.INFO: IMEI packet received {"connection_id":157720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":157720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:16:04] local.INFO: TCP Data received {"connection_id":157720,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:16:04] local.INFO: Processing buffer {"connection_id":157720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:16:04] local.INFO: Packet analysis {"connection_id":157720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:16:04] local.INFO: Extracted packet for processing {"connection_id":157720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497606144001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:16:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:16: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-08-19 06:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787100325000,"timestamp_ms":1787100325000,"timestamp_seconds":1787100325,"priority":1,"record_length":96,"hex_timestamp":"000001a0177ae488"} 
[2026-08-19 06:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:16: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-08-19 06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 06:16:04] 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-08-19 06: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-08-19 06:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497606144001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497606144001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497606144001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":157720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:16:04] local.INFO: GPS data processed {"connection_id":157720,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:16:04] local.INFO: Acknowledgment sent {"connection_id":157720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:16:35] local.INFO: TCP Data received {"connection_id":157720,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:16:35] local.INFO: Processing buffer {"connection_id":157720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:16:35] local.INFO: Packet analysis {"connection_id":157720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:16:35] local.INFO: Extracted packet for processing {"connection_id":157720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497606144001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:16:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:16:35] 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-08-19 06:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787100325000,"timestamp_ms":1787100325000,"timestamp_seconds":1787100325,"priority":1,"record_length":96,"hex_timestamp":"000001a0177ae488"} 
[2026-08-19 06:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 06:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":157720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":157720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":157720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:16:35] 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-08-19 06:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497606144001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497606144001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:16:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497606144001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":157720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:16:35] local.INFO: GPS data processed {"connection_id":157720,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:16:35] local.INFO: Acknowledgment sent {"connection_id":157720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:17:00] local.INFO: TCP Data received {"connection_id":158611,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:17:00] local.INFO: Processing buffer {"connection_id":158611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:17:00] local.INFO: IMEI packet received {"connection_id":158611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":158611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:17:05] local.INFO: TCP Data received {"connection_id":158611,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:17:05] local.INFO: Processing buffer {"connection_id":158611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:17:05] local.INFO: IMEI packet received {"connection_id":158611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":158611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:17:06] local.INFO: TCP Data received {"connection_id":158611,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:17:06] local.INFO: Processing buffer {"connection_id":158611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:17:06] local.INFO: Packet analysis {"connection_id":158611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:17:06] local.INFO: Extracted packet for processing {"connection_id":158611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497606144001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:17:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:17:06] 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-08-19 06:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787100325000,"timestamp_ms":1787100325000,"timestamp_seconds":1787100325,"priority":1,"record_length":96,"hex_timestamp":"000001a0177ae488"} 
[2026-08-19 06:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 06:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:17:06] 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-08-19 06:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497606144001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497606144001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:17:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497606144001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":158611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:17:06] local.INFO: GPS data processed {"connection_id":158611,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:17:06] local.INFO: Acknowledgment sent {"connection_id":158611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:17:37] local.INFO: TCP Data received {"connection_id":158611,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:17:37] local.INFO: Processing buffer {"connection_id":158611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:17:37] local.INFO: Packet analysis {"connection_id":158611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:17:37] local.INFO: Extracted packet for processing {"connection_id":158611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497606144001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:17:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:17:37] 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-08-19 06:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787100325000,"timestamp_ms":1787100325000,"timestamp_seconds":1787100325,"priority":1,"record_length":96,"hex_timestamp":"000001a0177ae488"} 
[2026-08-19 06:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:17: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-08-19 06:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 06:17:37] 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-08-19 06:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:17:37] 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-08-19 06:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497606144001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497606144001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497606144001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":158611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:17:37] local.INFO: GPS data processed {"connection_id":158611,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:17:37] local.INFO: Acknowledgment sent {"connection_id":158611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:18:05] local.INFO: TCP Data received {"connection_id":157721,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:18:05] local.INFO: Processing buffer {"connection_id":157721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:18:05] local.INFO: IMEI packet received {"connection_id":157721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":157721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:18:10] local.INFO: TCP Data received {"connection_id":157721,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:18:10] local.INFO: Processing buffer {"connection_id":157721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:18:10] local.INFO: IMEI packet received {"connection_id":157721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":157721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:18:11] local.INFO: TCP Data received {"connection_id":157721,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:18:11] local.INFO: Processing buffer {"connection_id":157721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:18:11] local.INFO: Packet analysis {"connection_id":157721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:18:11] local.INFO: Extracted packet for processing {"connection_id":157721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497606144001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:18:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:18:11] 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-08-19 06:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787100325000,"timestamp_ms":1787100325000,"timestamp_seconds":1787100325,"priority":1,"record_length":96,"hex_timestamp":"000001a0177ae488"} 
[2026-08-19 06:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 06:18:11] 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-08-19 06: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-08-19 06:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497606144001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497606144001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:18:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497606144001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":157721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:18:11] local.INFO: GPS data processed {"connection_id":157721,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:18:11] local.INFO: Acknowledgment sent {"connection_id":157721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:18:15] local.INFO: TCP Data received {"connection_id":157721,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:18:15] local.INFO: Processing buffer {"connection_id":157721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:18:15] local.INFO: Packet analysis {"connection_id":157721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:18:15] local.INFO: Extracted packet for processing {"connection_id":157721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497606144001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:18:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:18:15] 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-08-19 06:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787100325000,"timestamp_ms":1787100325000,"timestamp_seconds":1787100325,"priority":1,"record_length":96,"hex_timestamp":"000001a0177ae488"} 
[2026-08-19 06:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 06:18:15] 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-08-19 06:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497606144001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497606144001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497606144001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":157721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:18:15] local.INFO: GPS data processed {"connection_id":157721,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:18:15] local.INFO: Acknowledgment sent {"connection_id":157721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:19:00] local.INFO: TCP Data received {"connection_id":157346,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:19:00] local.INFO: Processing buffer {"connection_id":157346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:19:00] local.INFO: IMEI packet received {"connection_id":157346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":157346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:19:05] local.INFO: TCP Data received {"connection_id":157346,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:19:05] local.INFO: Processing buffer {"connection_id":157346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:19:05] local.INFO: IMEI packet received {"connection_id":157346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":157346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:19:06] local.INFO: TCP Data received {"connection_id":157346,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:19:06] local.INFO: Processing buffer {"connection_id":157346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:19:06] local.INFO: Packet analysis {"connection_id":157346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:19:06] local.INFO: Extracted packet for processing {"connection_id":157346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:19:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497606144001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:19:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:19:06] 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-08-19 06:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787100325000,"timestamp_ms":1787100325000,"timestamp_seconds":1787100325,"priority":1,"record_length":96,"hex_timestamp":"000001a0177ae488"} 
[2026-08-19 06:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 06:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497606144001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497606144001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:19:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497606144001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":157346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:19:06] local.INFO: GPS data processed {"connection_id":157346,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:19:06] local.INFO: Acknowledgment sent {"connection_id":157346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:19:37] local.INFO: TCP Data received {"connection_id":157346,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:19:37] local.INFO: Processing buffer {"connection_id":157346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:19:37] local.INFO: Packet analysis {"connection_id":157346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:19:37] local.INFO: Extracted packet for processing {"connection_id":157346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497606144001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:19:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:19:37] 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-08-19 06:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787100325000,"timestamp_ms":1787100325000,"timestamp_seconds":1787100325,"priority":1,"record_length":96,"hex_timestamp":"000001a0177ae488"} 
[2026-08-19 06:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:19: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-08-19 06:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 06:19:37] 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-08-19 06:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497606144001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497606144001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497606144001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":157346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:19:37] local.INFO: GPS data processed {"connection_id":157346,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:19:37] local.INFO: Acknowledgment sent {"connection_id":157346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:20:00] local.INFO: TCP Data received {"connection_id":157722,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:20:00] local.INFO: Processing buffer {"connection_id":157722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:20:00] local.INFO: IMEI packet received {"connection_id":157722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":157722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:20:05] local.INFO: TCP Data received {"connection_id":157722,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:20:05] local.INFO: Processing buffer {"connection_id":157722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:20:05] local.INFO: IMEI packet received {"connection_id":157722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":157722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:20:13] local.INFO: TCP Data received {"connection_id":157722,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:20:13] local.INFO: Processing buffer {"connection_id":157722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:20:13] local.INFO: Packet analysis {"connection_id":157722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:20:13] local.INFO: Extracted packet for processing {"connection_id":157722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:20:13] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497606144001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:20:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:20:13] 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-08-19 06:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787100325000,"timestamp_ms":1787100325000,"timestamp_seconds":1787100325,"priority":1,"record_length":96,"hex_timestamp":"000001a0177ae488"} 
[2026-08-19 06:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:20: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-08-19 06:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 06:20:13] 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-08-19 06:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:20:13] 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-08-19 06:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497606144001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497606144001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:20:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497606144001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":157722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:20:13] local.INFO: GPS data processed {"connection_id":157722,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:20:13] local.INFO: Acknowledgment sent {"connection_id":157722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:20:47] local.INFO: TCP Data received {"connection_id":157722,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:20:47] local.INFO: Processing buffer {"connection_id":157722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177ae488012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:20:47] local.INFO: Packet analysis {"connection_id":157722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:20:47] local.INFO: Extracted packet for processing {"connection_id":157722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177a"} 
[2026-08-19 06:20:47] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497606144001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:20:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06: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-08-19 06:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787100325000,"timestamp_ms":1787100325000,"timestamp_seconds":1787100325,"priority":1,"record_length":96,"hex_timestamp":"000001a0177ae488"} 
[2026-08-19 06:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06: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-08-19 06: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":156,"data_length":795,"current_offset":136} 
[2026-08-19 06:20:47] 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-08-19 06: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-08-19 06:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:20: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-08-19 06:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497606144001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497606144001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:20:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497606144001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":157722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:20:47] local.INFO: GPS data processed {"connection_id":157722,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:20:47] local.INFO: Acknowledgment sent {"connection_id":157722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:21:00] local.INFO: TCP Data received {"connection_id":157347,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:21:00] local.INFO: Processing buffer {"connection_id":157347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:21:00] local.INFO: IMEI packet received {"connection_id":157347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":157347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:21:04] local.INFO: TCP Data received {"connection_id":157347,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:21:04] local.INFO: Processing buffer {"connection_id":157347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:21:04] local.INFO: IMEI packet received {"connection_id":157347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":157347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:21:05] local.INFO: TCP Data received {"connection_id":157347,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:21:05] local.INFO: Processing buffer {"connection_id":157347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:21:05] local.INFO: Packet analysis {"connection_id":157347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:21:05] local.INFO: Extracted packet for processing {"connection_id":157347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:21:05] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497683200001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:21:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:21:05] 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-08-19 06:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787100626000,"timestamp_ms":1787100626000,"timestamp_seconds":1787100626,"priority":1,"record_length":96,"hex_timestamp":"000001a0177f7c50"} 
[2026-08-19 06:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:21:05] 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-08-19 06:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497683200001,"66":25734,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497683200001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:21:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497683200001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":157347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:21:05] local.INFO: GPS data processed {"connection_id":157347,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:21:05] local.INFO: Acknowledgment sent {"connection_id":157347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:21:36] local.INFO: TCP Data received {"connection_id":157347,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:21:36] local.INFO: Processing buffer {"connection_id":157347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:21:36] local.INFO: Packet analysis {"connection_id":157347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:21:36] local.INFO: Extracted packet for processing {"connection_id":157347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497683200001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:21:36] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:21:36] 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-08-19 06:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787100626000,"timestamp_ms":1787100626000,"timestamp_seconds":1787100626,"priority":1,"record_length":96,"hex_timestamp":"000001a0177f7c50"} 
[2026-08-19 06:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:21:36] 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-08-19 06: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-08-19 06:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497683200001,"66":25734,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497683200001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:21:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497683200001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":157347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:21:36] local.INFO: GPS data processed {"connection_id":157347,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:21:36] local.INFO: Acknowledgment sent {"connection_id":157347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:22:00] local.INFO: TCP Data received {"connection_id":157348,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:22:00] local.INFO: Processing buffer {"connection_id":157348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:22:00] local.INFO: IMEI packet received {"connection_id":157348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":157348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:22:05] local.INFO: TCP Data received {"connection_id":157348,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:22:05] local.INFO: Processing buffer {"connection_id":157348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:22:05] local.INFO: IMEI packet received {"connection_id":157348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":157348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:22:06] local.INFO: TCP Data received {"connection_id":157348,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:22:06] local.INFO: Processing buffer {"connection_id":157348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:22:06] local.INFO: Packet analysis {"connection_id":157348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:22:06] local.INFO: Extracted packet for processing {"connection_id":157348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497683200001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:22:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:22:06] 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-08-19 06:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787100626000,"timestamp_ms":1787100626000,"timestamp_seconds":1787100626,"priority":1,"record_length":96,"hex_timestamp":"000001a0177f7c50"} 
[2026-08-19 06:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:22:06] 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-08-19 06:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:22:06] 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-08-19 06:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497683200001,"66":25734,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497683200001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497683200001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":157348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:22:06] local.INFO: GPS data processed {"connection_id":157348,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:22:06] local.INFO: Acknowledgment sent {"connection_id":157348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:22:37] local.INFO: TCP Data received {"connection_id":157348,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:22:37] local.INFO: Processing buffer {"connection_id":157348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:22:37] local.INFO: Packet analysis {"connection_id":157348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:22:37] local.INFO: Extracted packet for processing {"connection_id":157348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497683200001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:22:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:22:37] 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-08-19 06:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787100626000,"timestamp_ms":1787100626000,"timestamp_seconds":1787100626,"priority":1,"record_length":96,"hex_timestamp":"000001a0177f7c50"} 
[2026-08-19 06:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:22: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-08-19 06: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:22: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-08-19 06: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-08-19 06:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497683200001,"66":25734,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497683200001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497683200001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":157348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:22:37] local.INFO: GPS data processed {"connection_id":157348,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:22:37] local.INFO: Acknowledgment sent {"connection_id":157348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:23:05] local.INFO: TCP Data received {"connection_id":159895,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:23:05] local.INFO: Processing buffer {"connection_id":159895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:23:05] local.INFO: IMEI packet received {"connection_id":159895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":159895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:23:10] local.INFO: TCP Data received {"connection_id":159895,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:23:10] local.INFO: Processing buffer {"connection_id":159895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:23:10] local.INFO: IMEI packet received {"connection_id":159895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":159895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:23:11] local.INFO: TCP Data received {"connection_id":159895,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:23:11] local.INFO: Processing buffer {"connection_id":159895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:23:11] local.INFO: Packet analysis {"connection_id":159895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:23:11] local.INFO: Extracted packet for processing {"connection_id":159895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:23:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497683200001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:23:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:23:11] 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-08-19 06:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787100626000,"timestamp_ms":1787100626000,"timestamp_seconds":1787100626,"priority":1,"record_length":96,"hex_timestamp":"000001a0177f7c50"} 
[2026-08-19 06:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:23:11] 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-08-19 06:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497683200001,"66":25734,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497683200001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:23:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497683200001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":159895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:23:11] local.INFO: GPS data processed {"connection_id":159895,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:23:11] local.INFO: Acknowledgment sent {"connection_id":159895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:23:16] local.INFO: TCP Data received {"connection_id":159895,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:23:16] local.INFO: Processing buffer {"connection_id":159895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:23:16] local.INFO: Packet analysis {"connection_id":159895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:23:16] local.INFO: Extracted packet for processing {"connection_id":159895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497683200001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:23:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:23: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-08-19 06:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787100626000,"timestamp_ms":1787100626000,"timestamp_seconds":1787100626,"priority":1,"record_length":96,"hex_timestamp":"000001a0177f7c50"} 
[2026-08-19 06:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:23: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-08-19 06: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:23:16] 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-08-19 06: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-08-19 06:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497683200001,"66":25734,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497683200001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497683200001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":159895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:23:16] local.INFO: GPS data processed {"connection_id":159895,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:23:16] local.INFO: Acknowledgment sent {"connection_id":159895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:24:00] local.INFO: TCP Data received {"connection_id":157723,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:24:00] local.INFO: Processing buffer {"connection_id":157723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:24:00] local.INFO: IMEI packet received {"connection_id":157723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":157723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:24:05] local.INFO: TCP Data received {"connection_id":157723,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:24:05] local.INFO: Processing buffer {"connection_id":157723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:24:05] local.INFO: IMEI packet received {"connection_id":157723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":157723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:24:06] local.INFO: TCP Data received {"connection_id":157723,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:24:06] local.INFO: Processing buffer {"connection_id":157723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:24:06] local.INFO: Packet analysis {"connection_id":157723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:24:06] local.INFO: Extracted packet for processing {"connection_id":157723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497683200001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:24:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:24:06] 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-08-19 06:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787100626000,"timestamp_ms":1787100626000,"timestamp_seconds":1787100626,"priority":1,"record_length":96,"hex_timestamp":"000001a0177f7c50"} 
[2026-08-19 06:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:24:06] 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-08-19 06: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-08-19 06:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:24:06] 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-08-19 06:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497683200001,"66":25734,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497683200001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497683200001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":157723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:24:06] local.INFO: GPS data processed {"connection_id":157723,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:24:06] local.INFO: Acknowledgment sent {"connection_id":157723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:24:38] local.INFO: TCP Data received {"connection_id":157723,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:24:38] local.INFO: Processing buffer {"connection_id":157723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:24:38] local.INFO: Packet analysis {"connection_id":157723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:24:38] local.INFO: Extracted packet for processing {"connection_id":157723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497683200001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:24:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:24:38] 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-08-19 06:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787100626000,"timestamp_ms":1787100626000,"timestamp_seconds":1787100626,"priority":1,"record_length":96,"hex_timestamp":"000001a0177f7c50"} 
[2026-08-19 06:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:24:38] 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-08-19 06: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-08-19 06:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:24:38] 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-08-19 06:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497683200001,"66":25734,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497683200001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497683200001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":157723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:24:38] local.INFO: GPS data processed {"connection_id":157723,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:24:38] local.INFO: Acknowledgment sent {"connection_id":157723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:25:00] local.INFO: TCP Data received {"connection_id":159896,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:25:00] local.INFO: Processing buffer {"connection_id":159896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:25:00] local.INFO: IMEI packet received {"connection_id":159896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":159896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:25:05] local.INFO: TCP Data received {"connection_id":159896,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:25:05] local.INFO: Processing buffer {"connection_id":159896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:25:05] local.INFO: IMEI packet received {"connection_id":159896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":159896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:25:06] local.INFO: TCP Data received {"connection_id":159896,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:25:06] local.INFO: Processing buffer {"connection_id":159896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:25:06] local.INFO: Packet analysis {"connection_id":159896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:25:06] local.INFO: Extracted packet for processing {"connection_id":159896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497683200001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:25:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:25:06] 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-08-19 06:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787100626000,"timestamp_ms":1787100626000,"timestamp_seconds":1787100626,"priority":1,"record_length":96,"hex_timestamp":"000001a0177f7c50"} 
[2026-08-19 06:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:25:06] 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-08-19 06:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497683200001,"66":25734,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497683200001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497683200001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":159896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:25:06] local.INFO: GPS data processed {"connection_id":159896,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:25:06] local.INFO: Acknowledgment sent {"connection_id":159896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:25:38] local.INFO: TCP Data received {"connection_id":159896,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:25:38] local.INFO: Processing buffer {"connection_id":159896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0177f7c50012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:25:38] local.INFO: Packet analysis {"connection_id":159896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:25:38] local.INFO: Extracted packet for processing {"connection_id":159896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0177f"} 
[2026-08-19 06:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497683200001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:25:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:25:38] 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-08-19 06:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787100626000,"timestamp_ms":1787100626000,"timestamp_seconds":1787100626,"priority":1,"record_length":96,"hex_timestamp":"000001a0177f7c50"} 
[2026-08-19 06:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:25:38] 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-08-19 06: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-08-19 06:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:25:38] 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-08-19 06:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497683200001,"66":25734,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497683200001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497683200001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":159896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:25:38] local.INFO: GPS data processed {"connection_id":159896,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:25:38] local.INFO: Acknowledgment sent {"connection_id":159896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:26:00] local.INFO: TCP Data received {"connection_id":157724,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:26:00] local.INFO: Processing buffer {"connection_id":157724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:26:00] local.INFO: IMEI packet received {"connection_id":157724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":157724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:26:05] local.INFO: TCP Data received {"connection_id":157724,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:26:05] local.INFO: Processing buffer {"connection_id":157724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:26:05] local.INFO: IMEI packet received {"connection_id":157724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":157724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:26:06] local.INFO: TCP Data received {"connection_id":157724,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:26:06] local.INFO: Processing buffer {"connection_id":157724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:26:06] local.INFO: Packet analysis {"connection_id":157724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:26:06] local.INFO: Extracted packet for processing {"connection_id":157724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497760256001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:26:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:26:06] 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-08-19 06:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787100927000,"timestamp_ms":1787100927000,"timestamp_seconds":1787100927,"priority":1,"record_length":96,"hex_timestamp":"000001a017841418"} 
[2026-08-19 06:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 06:26:06] 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-08-19 06: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-08-19 06:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497760256001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497760256001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497760256001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":157724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:26:06] local.INFO: GPS data processed {"connection_id":157724,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:26:06] local.INFO: Acknowledgment sent {"connection_id":157724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:26:37] local.INFO: TCP Data received {"connection_id":157724,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:26:37] local.INFO: Processing buffer {"connection_id":157724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:26:37] local.INFO: Packet analysis {"connection_id":157724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:26:37] local.INFO: Extracted packet for processing {"connection_id":157724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497760256001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:26:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:26:37] 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-08-19 06:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787100927000,"timestamp_ms":1787100927000,"timestamp_seconds":1787100927,"priority":1,"record_length":96,"hex_timestamp":"000001a017841418"} 
[2026-08-19 06:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:26: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-08-19 06:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 06:26:37] 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-08-19 06:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497760256001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497760256001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497760256001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":157724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:26:37] local.INFO: GPS data processed {"connection_id":157724,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:26:37] local.INFO: Acknowledgment sent {"connection_id":157724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:27:00] local.INFO: TCP Data received {"connection_id":158612,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:27:00] local.INFO: Processing buffer {"connection_id":158612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:27:00] local.INFO: IMEI packet received {"connection_id":158612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":158612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:27:05] local.INFO: TCP Data received {"connection_id":158612,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:27:05] local.INFO: Processing buffer {"connection_id":158612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:27:05] local.INFO: IMEI packet received {"connection_id":158612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":158612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:27:06] local.INFO: TCP Data received {"connection_id":158612,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:27:06] local.INFO: Processing buffer {"connection_id":158612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:27:06] local.INFO: Packet analysis {"connection_id":158612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:27:06] local.INFO: Extracted packet for processing {"connection_id":158612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:27:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497760256001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:27:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:27:06] 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-08-19 06:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787100927000,"timestamp_ms":1787100927000,"timestamp_seconds":1787100927,"priority":1,"record_length":96,"hex_timestamp":"000001a017841418"} 
[2026-08-19 06:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 06:27:06] 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-08-19 06: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-08-19 06:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497760256001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497760256001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:27:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497760256001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":158612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:27:06] local.INFO: GPS data processed {"connection_id":158612,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:27:06] local.INFO: Acknowledgment sent {"connection_id":158612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:27:37] local.INFO: TCP Data received {"connection_id":158612,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:27:37] local.INFO: Processing buffer {"connection_id":158612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:27:37] local.INFO: Packet analysis {"connection_id":158612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:27:37] local.INFO: Extracted packet for processing {"connection_id":158612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497760256001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:27:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:27:37] 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-08-19 06:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787100927000,"timestamp_ms":1787100927000,"timestamp_seconds":1787100927,"priority":1,"record_length":96,"hex_timestamp":"000001a017841418"} 
[2026-08-19 06:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:27: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-08-19 06: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 06:27:37] 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-08-19 06: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-08-19 06:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497760256001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497760256001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497760256001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":158612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:27:37] local.INFO: GPS data processed {"connection_id":158612,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:27:37] local.INFO: Acknowledgment sent {"connection_id":158612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:28:05] local.INFO: TCP Data received {"connection_id":158613,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:28:05] local.INFO: Processing buffer {"connection_id":158613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:28:05] local.INFO: IMEI packet received {"connection_id":158613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":158613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:28:10] local.INFO: TCP Data received {"connection_id":158613,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:28:10] local.INFO: Processing buffer {"connection_id":158613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:28:10] local.INFO: IMEI packet received {"connection_id":158613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":158613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:28:11] local.INFO: TCP Data received {"connection_id":158613,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:28:11] local.INFO: Processing buffer {"connection_id":158613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:28:11] local.INFO: Packet analysis {"connection_id":158613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:28:11] local.INFO: Extracted packet for processing {"connection_id":158613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497760256001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:28:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:28:11] 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-08-19 06:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787100927000,"timestamp_ms":1787100927000,"timestamp_seconds":1787100927,"priority":1,"record_length":96,"hex_timestamp":"000001a017841418"} 
[2026-08-19 06:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 06:28:11] 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-08-19 06: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-08-19 06:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497760256001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497760256001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:28:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497760256001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":158613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:28:11] local.INFO: GPS data processed {"connection_id":158613,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:28:11] local.INFO: Acknowledgment sent {"connection_id":158613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:28:15] local.INFO: TCP Data received {"connection_id":158613,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:28:15] local.INFO: Processing buffer {"connection_id":158613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:28:15] local.INFO: Packet analysis {"connection_id":158613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:28:15] local.INFO: Extracted packet for processing {"connection_id":158613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497760256001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:28:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:28:15] 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-08-19 06:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787100927000,"timestamp_ms":1787100927000,"timestamp_seconds":1787100927,"priority":1,"record_length":96,"hex_timestamp":"000001a017841418"} 
[2026-08-19 06:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 06:28:15] 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-08-19 06:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497760256001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497760256001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497760256001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":158613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:28:15] local.INFO: GPS data processed {"connection_id":158613,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:28:15] local.INFO: Acknowledgment sent {"connection_id":158613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:29:00] local.INFO: TCP Data received {"connection_id":157725,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:29:00] local.INFO: Processing buffer {"connection_id":157725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:29:00] local.INFO: IMEI packet received {"connection_id":157725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":157725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:29:05] local.INFO: TCP Data received {"connection_id":157725,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:29:05] local.INFO: Processing buffer {"connection_id":157725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:29:05] local.INFO: IMEI packet received {"connection_id":157725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":157725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:29:06] local.INFO: TCP Data received {"connection_id":157725,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:29:06] local.INFO: Processing buffer {"connection_id":157725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:29:06] local.INFO: Packet analysis {"connection_id":157725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:29:06] local.INFO: Extracted packet for processing {"connection_id":157725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:29:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497760256001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:29:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:29:06] 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-08-19 06:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787100927000,"timestamp_ms":1787100927000,"timestamp_seconds":1787100927,"priority":1,"record_length":96,"hex_timestamp":"000001a017841418"} 
[2026-08-19 06:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 06:29:06] 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-08-19 06: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-08-19 06:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:29:06] 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-08-19 06:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497760256001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497760256001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:29:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497760256001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":157725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:29:06] local.INFO: GPS data processed {"connection_id":157725,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:29:06] local.INFO: Acknowledgment sent {"connection_id":157725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:29:37] local.INFO: TCP Data received {"connection_id":157725,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:29:37] local.INFO: Processing buffer {"connection_id":157725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:29:37] local.INFO: Packet analysis {"connection_id":157725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:29:37] local.INFO: Extracted packet for processing {"connection_id":157725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497760256001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:29:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:29:37] 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-08-19 06:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787100927000,"timestamp_ms":1787100927000,"timestamp_seconds":1787100927,"priority":1,"record_length":96,"hex_timestamp":"000001a017841418"} 
[2026-08-19 06:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:29: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-08-19 06: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 06:29:37] 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-08-19 06: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-08-19 06:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497760256001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497760256001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497760256001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":157725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:29:37] local.INFO: GPS data processed {"connection_id":157725,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:29:37] local.INFO: Acknowledgment sent {"connection_id":157725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:30:00] local.INFO: TCP Data received {"connection_id":158614,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:30:00] local.INFO: Processing buffer {"connection_id":158614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:30:00] local.INFO: IMEI packet received {"connection_id":158614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":158614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:30:05] local.INFO: TCP Data received {"connection_id":158614,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:30:05] local.INFO: Processing buffer {"connection_id":158614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:30:05] local.INFO: IMEI packet received {"connection_id":158614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":158614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:30:06] local.INFO: TCP Data received {"connection_id":158614,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:30:06] local.INFO: Processing buffer {"connection_id":158614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:30:06] local.INFO: Packet analysis {"connection_id":158614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:30:06] local.INFO: Extracted packet for processing {"connection_id":158614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:30:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497760256001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:30:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:30:06] 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-08-19 06:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787100927000,"timestamp_ms":1787100927000,"timestamp_seconds":1787100927,"priority":1,"record_length":96,"hex_timestamp":"000001a017841418"} 
[2026-08-19 06:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 06:30:06] 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-08-19 06: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-08-19 06:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:30:06] 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-08-19 06:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497760256001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497760256001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497760256001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":158614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:30:06] local.INFO: GPS data processed {"connection_id":158614,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:30:06] local.INFO: Acknowledgment sent {"connection_id":158614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:30:38] local.INFO: TCP Data received {"connection_id":158614,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:30:38] local.INFO: Processing buffer {"connection_id":158614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:30:38] local.INFO: Packet analysis {"connection_id":158614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:30:38] local.INFO: Extracted packet for processing {"connection_id":158614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497760256001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:30:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:30:38] 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-08-19 06:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787100927000,"timestamp_ms":1787100927000,"timestamp_seconds":1787100927,"priority":1,"record_length":96,"hex_timestamp":"000001a017841418"} 
[2026-08-19 06:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 06:30:38] 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-08-19 06: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-08-19 06:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:30:38] 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-08-19 06:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497760256001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497760256001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497760256001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":158614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:30:38] local.INFO: GPS data processed {"connection_id":158614,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:30:38] local.INFO: Acknowledgment sent {"connection_id":158614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:31:00] local.INFO: TCP Data received {"connection_id":157726,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:31:00] local.INFO: Processing buffer {"connection_id":157726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:31:00] local.INFO: IMEI packet received {"connection_id":157726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":157726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:31:05] local.INFO: TCP Data received {"connection_id":157726,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:31:05] local.INFO: Processing buffer {"connection_id":157726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:31:05] local.INFO: IMEI packet received {"connection_id":157726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":157726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:31:06] local.INFO: TCP Data received {"connection_id":157726,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:31:06] local.INFO: Processing buffer {"connection_id":157726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017841418012d34c18006aa49b80009011230..."} 
[2026-08-19 06:31:06] local.INFO: Packet analysis {"connection_id":157726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:31:06] local.INFO: Extracted packet for processing {"connection_id":157726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01784"} 
[2026-08-19 06:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497760256001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:31:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:31:06] 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-08-19 06:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787100927000,"timestamp_ms":1787100927000,"timestamp_seconds":1787100927,"priority":1,"record_length":96,"hex_timestamp":"000001a017841418"} 
[2026-08-19 06:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 06:31:06] 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-08-19 06: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-08-19 06:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:31:06] 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-08-19 06:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497760256001,"66":25712,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497760256001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497760256001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":157726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:31:06] local.INFO: GPS data processed {"connection_id":157726,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:31:06] local.INFO: Acknowledgment sent {"connection_id":157726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:31:38] local.INFO: TCP Data received {"connection_id":157726,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:31:38] local.INFO: Processing buffer {"connection_id":157726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:31:38] local.INFO: Packet analysis {"connection_id":157726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:31:38] local.INFO: Extracted packet for processing {"connection_id":157726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497837312001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:31:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:31:38] 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-08-19 06:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787101228000,"timestamp_ms":1787101228000,"timestamp_seconds":1787101228,"priority":1,"record_length":96,"hex_timestamp":"000001a01788abe0"} 
[2026-08-19 06:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:31:38] 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-08-19 06:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:31:38] 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-08-19 06:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497837312001,"66":25702,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497837312001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497837312001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":157726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:31:38] local.INFO: GPS data processed {"connection_id":157726,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:31:38] local.INFO: Acknowledgment sent {"connection_id":157726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:32:00] local.INFO: TCP Data received {"connection_id":157727,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:32:00] local.INFO: Processing buffer {"connection_id":157727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:32:00] local.INFO: IMEI packet received {"connection_id":157727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":157727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:32:05] local.INFO: TCP Data received {"connection_id":157727,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:32:05] local.INFO: Processing buffer {"connection_id":157727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:32:05] local.INFO: IMEI packet received {"connection_id":157727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":157727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:32:06] local.INFO: TCP Data received {"connection_id":157727,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:32:06] local.INFO: Processing buffer {"connection_id":157727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:32:06] local.INFO: Packet analysis {"connection_id":157727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:32:06] local.INFO: Extracted packet for processing {"connection_id":157727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:32:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497837312001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:32:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:32:06] 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-08-19 06:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787101228000,"timestamp_ms":1787101228000,"timestamp_seconds":1787101228,"priority":1,"record_length":96,"hex_timestamp":"000001a01788abe0"} 
[2026-08-19 06:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:32:06] 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-08-19 06:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:32:06] 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-08-19 06:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497837312001,"66":25702,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497837312001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:32:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497837312001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":157727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:32:06] local.INFO: GPS data processed {"connection_id":157727,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:32:06] local.INFO: Acknowledgment sent {"connection_id":157727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:32:37] local.INFO: TCP Data received {"connection_id":157727,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:32:37] local.INFO: Processing buffer {"connection_id":157727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:32:37] local.INFO: Packet analysis {"connection_id":157727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:32:37] local.INFO: Extracted packet for processing {"connection_id":157727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497837312001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:32:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:32:37] 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-08-19 06:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787101228000,"timestamp_ms":1787101228000,"timestamp_seconds":1787101228,"priority":1,"record_length":96,"hex_timestamp":"000001a01788abe0"} 
[2026-08-19 06:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:32: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-08-19 06: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:32: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-08-19 06: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-08-19 06:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:32: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-08-19 06:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497837312001,"66":25702,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497837312001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497837312001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":157727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:32:37] local.INFO: GPS data processed {"connection_id":157727,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:32:37] local.INFO: Acknowledgment sent {"connection_id":157727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:33:05] local.INFO: TCP Data received {"connection_id":157728,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:33:05] local.INFO: Processing buffer {"connection_id":157728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:33:05] local.INFO: IMEI packet received {"connection_id":157728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":157728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:33:10] local.INFO: TCP Data received {"connection_id":157728,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:33:10] local.INFO: Processing buffer {"connection_id":157728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:33:10] local.INFO: IMEI packet received {"connection_id":157728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":157728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:33:11] local.INFO: TCP Data received {"connection_id":157728,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:33:11] local.INFO: Processing buffer {"connection_id":157728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:33:11] local.INFO: Packet analysis {"connection_id":157728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:33:11] local.INFO: Extracted packet for processing {"connection_id":157728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497837312001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:33:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:33:11] 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-08-19 06:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787101228000,"timestamp_ms":1787101228000,"timestamp_seconds":1787101228,"priority":1,"record_length":96,"hex_timestamp":"000001a01788abe0"} 
[2026-08-19 06:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:33:11] 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-08-19 06:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497837312001,"66":25702,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497837312001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:33:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497837312001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":157728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:33:11] local.INFO: GPS data processed {"connection_id":157728,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:33:11] local.INFO: Acknowledgment sent {"connection_id":157728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:33:16] local.INFO: TCP Data received {"connection_id":157728,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:33:16] local.INFO: Processing buffer {"connection_id":157728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:33:16] local.INFO: Packet analysis {"connection_id":157728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:33:16] local.INFO: Extracted packet for processing {"connection_id":157728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497837312001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:33:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:33: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-08-19 06:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787101228000,"timestamp_ms":1787101228000,"timestamp_seconds":1787101228,"priority":1,"record_length":96,"hex_timestamp":"000001a01788abe0"} 
[2026-08-19 06:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:33: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-08-19 06:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:33:16] 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-08-19 06:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497837312001,"66":25702,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497837312001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497837312001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":157728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:33:16] local.INFO: GPS data processed {"connection_id":157728,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:33:16] local.INFO: Acknowledgment sent {"connection_id":157728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:34:00] local.INFO: TCP Data received {"connection_id":159897,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:34:00] local.INFO: Processing buffer {"connection_id":159897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:34:00] local.INFO: IMEI packet received {"connection_id":159897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":159897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:34:05] local.INFO: TCP Data received {"connection_id":159897,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:34:05] local.INFO: Processing buffer {"connection_id":159897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:34:05] local.INFO: IMEI packet received {"connection_id":159897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":159897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:34:06] local.INFO: TCP Data received {"connection_id":159897,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:34:06] local.INFO: Processing buffer {"connection_id":159897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:34:06] local.INFO: Packet analysis {"connection_id":159897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:34:06] local.INFO: Extracted packet for processing {"connection_id":159897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:34:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497837312001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:34:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:34:06] 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-08-19 06:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787101228000,"timestamp_ms":1787101228000,"timestamp_seconds":1787101228,"priority":1,"record_length":96,"hex_timestamp":"000001a01788abe0"} 
[2026-08-19 06:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:34:06] 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-08-19 06:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:34:06] 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-08-19 06:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497837312001,"66":25702,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497837312001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:34:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497837312001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":159897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:34:06] local.INFO: GPS data processed {"connection_id":159897,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:34:06] local.INFO: Acknowledgment sent {"connection_id":159897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:34:37] local.INFO: TCP Data received {"connection_id":159897,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:34:37] local.INFO: Processing buffer {"connection_id":159897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:34:37] local.INFO: Packet analysis {"connection_id":159897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:34:37] local.INFO: Extracted packet for processing {"connection_id":159897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497837312001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:34:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:34:37] 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-08-19 06:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787101228000,"timestamp_ms":1787101228000,"timestamp_seconds":1787101228,"priority":1,"record_length":96,"hex_timestamp":"000001a01788abe0"} 
[2026-08-19 06:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:34: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-08-19 06:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:34: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-08-19 06: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-08-19 06:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497837312001,"66":25702,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497837312001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497837312001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":159897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:34:37] local.INFO: GPS data processed {"connection_id":159897,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:34:37] local.INFO: Acknowledgment sent {"connection_id":159897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:35:01] local.INFO: TCP Data received {"connection_id":159898,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:35:01] local.INFO: Processing buffer {"connection_id":159898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:35:01] local.INFO: IMEI packet received {"connection_id":159898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":159898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:35:05] local.INFO: TCP Data received {"connection_id":159898,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:35:05] local.INFO: Processing buffer {"connection_id":159898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:35:05] local.INFO: IMEI packet received {"connection_id":159898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":159898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:35:06] local.INFO: TCP Data received {"connection_id":159898,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:35:06] local.INFO: Processing buffer {"connection_id":159898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:35:06] local.INFO: Packet analysis {"connection_id":159898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:35:06] local.INFO: Extracted packet for processing {"connection_id":159898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497837312001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:35:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:35:06] 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-08-19 06:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787101228000,"timestamp_ms":1787101228000,"timestamp_seconds":1787101228,"priority":1,"record_length":96,"hex_timestamp":"000001a01788abe0"} 
[2026-08-19 06:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:35:06] 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-08-19 06:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:35:06] 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-08-19 06:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497837312001,"66":25702,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497837312001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497837312001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":159898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:35:06] local.INFO: GPS data processed {"connection_id":159898,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:35:06] local.INFO: Acknowledgment sent {"connection_id":159898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:35:38] local.INFO: TCP Data received {"connection_id":159898,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:35:38] local.INFO: Processing buffer {"connection_id":159898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:35:38] local.INFO: Packet analysis {"connection_id":159898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:35:38] local.INFO: Extracted packet for processing {"connection_id":159898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497837312001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:35:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:35:38] 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-08-19 06:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787101228000,"timestamp_ms":1787101228000,"timestamp_seconds":1787101228,"priority":1,"record_length":96,"hex_timestamp":"000001a01788abe0"} 
[2026-08-19 06:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:35:38] 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-08-19 06: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-08-19 06:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497837312001,"66":25702,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497837312001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497837312001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":159898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:35:38] local.INFO: GPS data processed {"connection_id":159898,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:35:38] local.INFO: Acknowledgment sent {"connection_id":159898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:36:00] local.INFO: TCP Data received {"connection_id":158615,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:36:00] local.INFO: Processing buffer {"connection_id":158615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:36:00] local.INFO: IMEI packet received {"connection_id":158615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":158615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:36:05] local.INFO: TCP Data received {"connection_id":158615,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:36:05] local.INFO: Processing buffer {"connection_id":158615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:36:05] local.INFO: IMEI packet received {"connection_id":158615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":158615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:36:06] local.INFO: TCP Data received {"connection_id":158615,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:36:06] local.INFO: Processing buffer {"connection_id":158615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01788abe0012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:36:06] local.INFO: Packet analysis {"connection_id":158615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:36:06] local.INFO: Extracted packet for processing {"connection_id":158615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01788"} 
[2026-08-19 06:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497837312001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:36:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:36:06] 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-08-19 06:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787101228000,"timestamp_ms":1787101228000,"timestamp_seconds":1787101228,"priority":1,"record_length":96,"hex_timestamp":"000001a01788abe0"} 
[2026-08-19 06:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 06:36:06] 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-08-19 06:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:36:06] 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-08-19 06:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497837312001,"66":25702,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497837312001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497837312001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":158615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:36:06] local.INFO: GPS data processed {"connection_id":158615,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:36:06] local.INFO: Acknowledgment sent {"connection_id":158615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:36:37] local.INFO: TCP Data received {"connection_id":158615,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:36:37] local.INFO: Processing buffer {"connection_id":158615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:36:37] local.INFO: Packet analysis {"connection_id":158615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:36:37] local.INFO: Extracted packet for processing {"connection_id":158615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497914368001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:36:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:36:37] 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-08-19 06:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787101529000,"timestamp_ms":1787101529000,"timestamp_seconds":1787101529,"priority":1,"record_length":96,"hex_timestamp":"000001a0178d43a8"} 
[2026-08-19 06:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:36: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-08-19 06:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 06:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:36:37] 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-08-19 06:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497914368001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497914368001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497914368001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":158615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:36:37] local.INFO: GPS data processed {"connection_id":158615,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:36:37] local.INFO: Acknowledgment sent {"connection_id":158615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:37:05] local.INFO: TCP Data received {"connection_id":159899,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:37:05] local.INFO: Processing buffer {"connection_id":159899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:37:05] local.INFO: IMEI packet received {"connection_id":159899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":159899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:37:10] local.INFO: TCP Data received {"connection_id":159899,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:37:10] local.INFO: Processing buffer {"connection_id":159899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:37:10] local.INFO: IMEI packet received {"connection_id":159899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":159899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:37:11] local.INFO: TCP Data received {"connection_id":159899,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:37:11] local.INFO: Processing buffer {"connection_id":159899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:37:11] local.INFO: Packet analysis {"connection_id":159899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:37:11] local.INFO: Extracted packet for processing {"connection_id":159899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497914368001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:37:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:37:11] 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-08-19 06:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787101529000,"timestamp_ms":1787101529000,"timestamp_seconds":1787101529,"priority":1,"record_length":96,"hex_timestamp":"000001a0178d43a8"} 
[2026-08-19 06:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 06:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497914368001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497914368001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:37:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497914368001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":159899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:37:11] local.INFO: GPS data processed {"connection_id":159899,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:37:11] local.INFO: Acknowledgment sent {"connection_id":159899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:37:16] local.INFO: TCP Data received {"connection_id":159899,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:37:16] local.INFO: Processing buffer {"connection_id":159899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:37:16] local.INFO: Packet analysis {"connection_id":159899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:37:16] local.INFO: Extracted packet for processing {"connection_id":159899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497914368001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:37:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:37: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-08-19 06:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787101529000,"timestamp_ms":1787101529000,"timestamp_seconds":1787101529,"priority":1,"record_length":96,"hex_timestamp":"000001a0178d43a8"} 
[2026-08-19 06:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:37: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-08-19 06:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 06:37: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-08-19 06:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497914368001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497914368001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497914368001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":159899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:37:16] local.INFO: GPS data processed {"connection_id":159899,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:37:16] local.INFO: Acknowledgment sent {"connection_id":159899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:38:00] local.INFO: TCP Data received {"connection_id":158616,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:38:00] local.INFO: Processing buffer {"connection_id":158616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:38:00] local.INFO: IMEI packet received {"connection_id":158616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":158616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:38:05] local.INFO: TCP Data received {"connection_id":158616,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:38:05] local.INFO: Processing buffer {"connection_id":158616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:38:05] local.INFO: IMEI packet received {"connection_id":158616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":158616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:38:06] local.INFO: TCP Data received {"connection_id":158616,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:38:06] local.INFO: Processing buffer {"connection_id":158616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:38:06] local.INFO: Packet analysis {"connection_id":158616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:38:06] local.INFO: Extracted packet for processing {"connection_id":158616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:38:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497914368001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:38:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:38:06] 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-08-19 06:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787101529000,"timestamp_ms":1787101529000,"timestamp_seconds":1787101529,"priority":1,"record_length":96,"hex_timestamp":"000001a0178d43a8"} 
[2026-08-19 06:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 06:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497914368001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497914368001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:38:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497914368001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":158616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:38:06] local.INFO: GPS data processed {"connection_id":158616,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:38:06] local.INFO: Acknowledgment sent {"connection_id":158616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:38:11] local.INFO: TCP Data received {"connection_id":158616,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:38:11] local.INFO: Processing buffer {"connection_id":158616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:38:11] local.INFO: Packet analysis {"connection_id":158616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:38:11] local.INFO: Extracted packet for processing {"connection_id":158616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497914368001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:38:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:38:11] 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-08-19 06:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787101529000,"timestamp_ms":1787101529000,"timestamp_seconds":1787101529,"priority":1,"record_length":96,"hex_timestamp":"000001a0178d43a8"} 
[2026-08-19 06:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 06:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497914368001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497914368001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:38:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497914368001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":158616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:38:11] local.INFO: GPS data processed {"connection_id":158616,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:38:11] local.INFO: Acknowledgment sent {"connection_id":158616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:38:41] local.INFO: TCP Data received {"connection_id":158616,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:38:41] local.INFO: Processing buffer {"connection_id":158616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:38:41] local.INFO: Packet analysis {"connection_id":158616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:38:41] local.INFO: Extracted packet for processing {"connection_id":158616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:38:41] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497914368001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:38:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:38: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-08-19 06:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787101529000,"timestamp_ms":1787101529000,"timestamp_seconds":1787101529,"priority":1,"record_length":96,"hex_timestamp":"000001a0178d43a8"} 
[2026-08-19 06:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:38: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-08-19 06:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 06:38: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-08-19 06:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497914368001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497914368001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:38:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497914368001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":158616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:38:41] local.INFO: GPS data processed {"connection_id":158616,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:38:41] local.INFO: Acknowledgment sent {"connection_id":158616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:39:00] local.INFO: TCP Data received {"connection_id":159900,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:39:00] local.INFO: Processing buffer {"connection_id":159900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:39:00] local.INFO: IMEI packet received {"connection_id":159900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":159900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:39:05] local.INFO: TCP Data received {"connection_id":159900,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:39:05] local.INFO: Processing buffer {"connection_id":159900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:39:05] local.INFO: IMEI packet received {"connection_id":159900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":159900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:39:06] local.INFO: TCP Data received {"connection_id":159900,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:39:06] local.INFO: Processing buffer {"connection_id":159900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:39:06] local.INFO: Packet analysis {"connection_id":159900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:39:06] local.INFO: Extracted packet for processing {"connection_id":159900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497914368001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:39:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:39:06] 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-08-19 06:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787101529000,"timestamp_ms":1787101529000,"timestamp_seconds":1787101529,"priority":1,"record_length":96,"hex_timestamp":"000001a0178d43a8"} 
[2026-08-19 06:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 06:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497914368001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497914368001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497914368001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":159900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:39:06] local.INFO: GPS data processed {"connection_id":159900,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:39:06] local.INFO: Acknowledgment sent {"connection_id":159900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:39:37] local.INFO: TCP Data received {"connection_id":159900,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:39:37] local.INFO: Processing buffer {"connection_id":159900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:39:37] local.INFO: Packet analysis {"connection_id":159900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:39:37] local.INFO: Extracted packet for processing {"connection_id":159900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497914368001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:39:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:39:37] 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-08-19 06:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787101529000,"timestamp_ms":1787101529000,"timestamp_seconds":1787101529,"priority":1,"record_length":96,"hex_timestamp":"000001a0178d43a8"} 
[2026-08-19 06:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:39: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-08-19 06:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 06:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497914368001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497914368001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497914368001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":159900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:39:37] local.INFO: GPS data processed {"connection_id":159900,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:39:37] local.INFO: Acknowledgment sent {"connection_id":159900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:40:00] local.INFO: TCP Data received {"connection_id":158617,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:40:00] local.INFO: Processing buffer {"connection_id":158617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:40:00] local.INFO: IMEI packet received {"connection_id":158617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":158617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:40:05] local.INFO: TCP Data received {"connection_id":158617,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:40:05] local.INFO: Processing buffer {"connection_id":158617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:40:05] local.INFO: IMEI packet received {"connection_id":158617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":158617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:40:07] local.INFO: TCP Data received {"connection_id":158617,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:40:07] local.INFO: Processing buffer {"connection_id":158617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:40:07] local.INFO: Packet analysis {"connection_id":158617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:40:07] local.INFO: Extracted packet for processing {"connection_id":158617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497914368001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:40:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:40: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-08-19 06:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787101529000,"timestamp_ms":1787101529000,"timestamp_seconds":1787101529,"priority":1,"record_length":96,"hex_timestamp":"000001a0178d43a8"} 
[2026-08-19 06:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:40: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-08-19 06:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 06:40: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-08-19 06:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:40: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-08-19 06:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497914368001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497914368001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:40:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497914368001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":158617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:40:07] local.INFO: GPS data processed {"connection_id":158617,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:40:07] local.INFO: Acknowledgment sent {"connection_id":158617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:40:37] local.INFO: TCP Data received {"connection_id":158617,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:40:37] local.INFO: Processing buffer {"connection_id":158617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:40:37] local.INFO: Packet analysis {"connection_id":158617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:40:37] local.INFO: Extracted packet for processing {"connection_id":158617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497914368001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:40:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:40:37] 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-08-19 06:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787101529000,"timestamp_ms":1787101529000,"timestamp_seconds":1787101529,"priority":1,"record_length":96,"hex_timestamp":"000001a0178d43a8"} 
[2026-08-19 06:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:40: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-08-19 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 06:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497914368001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497914368001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497914368001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":158617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:40:38] local.INFO: GPS data processed {"connection_id":158617,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:40:38] local.INFO: Acknowledgment sent {"connection_id":158617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:41:00] local.INFO: TCP Data received {"connection_id":157349,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:41:00] local.INFO: Processing buffer {"connection_id":157349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:41:00] local.INFO: IMEI packet received {"connection_id":157349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":157349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:41:05] local.INFO: TCP Data received {"connection_id":157349,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:41:05] local.INFO: Processing buffer {"connection_id":157349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:41:05] local.INFO: IMEI packet received {"connection_id":157349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":157349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:41:06] local.INFO: TCP Data received {"connection_id":157349,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:41:06] local.INFO: Processing buffer {"connection_id":157349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0178d43a8012d34c18006aa49b8000901122a..."} 
[2026-08-19 06:41:06] local.INFO: Packet analysis {"connection_id":157349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:41:06] local.INFO: Extracted packet for processing {"connection_id":157349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0178d"} 
[2026-08-19 06:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497914368001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:41:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:41:06] 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-08-19 06:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787101529000,"timestamp_ms":1787101529000,"timestamp_seconds":1787101529,"priority":1,"record_length":96,"hex_timestamp":"000001a0178d43a8"} 
[2026-08-19 06:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 06:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497914368001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497914368001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497914368001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":157349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:41:06] local.INFO: GPS data processed {"connection_id":157349,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:41:06] local.INFO: Acknowledgment sent {"connection_id":157349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:41:37] local.INFO: TCP Data received {"connection_id":157349,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:41:37] local.INFO: Processing buffer {"connection_id":157349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:41:37] local.INFO: Packet analysis {"connection_id":157349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:41:37] local.INFO: Extracted packet for processing {"connection_id":157349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497991424001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:41:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:41:37] 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-08-19 06:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787101830000,"timestamp_ms":1787101830000,"timestamp_seconds":1787101830,"priority":1,"record_length":96,"hex_timestamp":"000001a01791db70"} 
[2026-08-19 06:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:41: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-08-19 06:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 06:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497991424001,"66":25680,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497991424001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497991424001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":157349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:41:37] local.INFO: GPS data processed {"connection_id":157349,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:41:37] local.INFO: Acknowledgment sent {"connection_id":157349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:42:00] local.INFO: TCP Data received {"connection_id":159901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:42:00] local.INFO: Processing buffer {"connection_id":159901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:42:00] local.INFO: IMEI packet received {"connection_id":159901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":159901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:42:05] local.INFO: TCP Data received {"connection_id":159901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:42:05] local.INFO: Processing buffer {"connection_id":159901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:42:05] local.INFO: IMEI packet received {"connection_id":159901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":159901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:42:06] local.INFO: TCP Data received {"connection_id":159901,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:42:06] local.INFO: Processing buffer {"connection_id":159901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:42:06] local.INFO: Packet analysis {"connection_id":159901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:42:06] local.INFO: Extracted packet for processing {"connection_id":159901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:42:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497991424001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:42:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:42:06] 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-08-19 06:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787101830000,"timestamp_ms":1787101830000,"timestamp_seconds":1787101830,"priority":1,"record_length":96,"hex_timestamp":"000001a01791db70"} 
[2026-08-19 06:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 06:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497991424001,"66":25680,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497991424001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:42:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497991424001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":159901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:42:06] local.INFO: GPS data processed {"connection_id":159901,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:42:06] local.INFO: Acknowledgment sent {"connection_id":159901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:42:37] local.INFO: TCP Data received {"connection_id":159901,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:42:37] local.INFO: Processing buffer {"connection_id":159901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:42:37] local.INFO: Packet analysis {"connection_id":159901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:42:37] local.INFO: Extracted packet for processing {"connection_id":159901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497991424001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:42:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:42:37] 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-08-19 06:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787101830000,"timestamp_ms":1787101830000,"timestamp_seconds":1787101830,"priority":1,"record_length":96,"hex_timestamp":"000001a01791db70"} 
[2026-08-19 06:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:42: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-08-19 06:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 06:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497991424001,"66":25680,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497991424001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497991424001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":159901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:42:37] local.INFO: GPS data processed {"connection_id":159901,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:42:37] local.INFO: Acknowledgment sent {"connection_id":159901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:43:00] local.INFO: TCP Data received {"connection_id":157350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:43:00] local.INFO: Processing buffer {"connection_id":157350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:43:00] local.INFO: IMEI packet received {"connection_id":157350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":157350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:43:05] local.INFO: TCP Data received {"connection_id":157350,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:43:05] local.INFO: Processing buffer {"connection_id":157350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:43:05] local.INFO: IMEI packet received {"connection_id":157350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":157350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:43:06] local.INFO: TCP Data received {"connection_id":157350,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:43:06] local.INFO: Processing buffer {"connection_id":157350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:43:06] local.INFO: Packet analysis {"connection_id":157350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:43:06] local.INFO: Extracted packet for processing {"connection_id":157350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:43:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497991424001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:43:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:43:06] 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-08-19 06:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787101830000,"timestamp_ms":1787101830000,"timestamp_seconds":1787101830,"priority":1,"record_length":96,"hex_timestamp":"000001a01791db70"} 
[2026-08-19 06:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 06:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497991424001,"66":25680,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497991424001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:43:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497991424001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":157350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:43:06] local.INFO: GPS data processed {"connection_id":157350,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:43:06] local.INFO: Acknowledgment sent {"connection_id":157350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:43:37] local.INFO: TCP Data received {"connection_id":157350,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:43:37] local.INFO: Processing buffer {"connection_id":157350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:43:37] local.INFO: Packet analysis {"connection_id":157350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:43:37] local.INFO: Extracted packet for processing {"connection_id":157350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497991424001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:43:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:43:37] 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-08-19 06:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787101830000,"timestamp_ms":1787101830000,"timestamp_seconds":1787101830,"priority":1,"record_length":96,"hex_timestamp":"000001a01791db70"} 
[2026-08-19 06:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:43: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-08-19 06:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 06:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497991424001,"66":25680,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497991424001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497991424001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":157350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:43:37] local.INFO: GPS data processed {"connection_id":157350,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:43:37] local.INFO: Acknowledgment sent {"connection_id":157350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:44:00] local.INFO: TCP Data received {"connection_id":158618,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:44:00] local.INFO: Processing buffer {"connection_id":158618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:44:00] local.INFO: IMEI packet received {"connection_id":158618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":158618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:44:05] local.INFO: TCP Data received {"connection_id":158618,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:44:05] local.INFO: Processing buffer {"connection_id":158618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:44:05] local.INFO: IMEI packet received {"connection_id":158618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":158618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:44:06] local.INFO: TCP Data received {"connection_id":158618,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:44:06] local.INFO: Processing buffer {"connection_id":158618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:44:06] local.INFO: Packet analysis {"connection_id":158618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:44:06] local.INFO: Extracted packet for processing {"connection_id":158618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497991424001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:44:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:44:06] 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-08-19 06:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787101830000,"timestamp_ms":1787101830000,"timestamp_seconds":1787101830,"priority":1,"record_length":96,"hex_timestamp":"000001a01791db70"} 
[2026-08-19 06:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 06:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497991424001,"66":25680,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497991424001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497991424001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":158618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:44:06] local.INFO: GPS data processed {"connection_id":158618,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:44:06] local.INFO: Acknowledgment sent {"connection_id":158618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:44:37] local.INFO: TCP Data received {"connection_id":158618,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:44:37] local.INFO: Processing buffer {"connection_id":158618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:44:37] local.INFO: Packet analysis {"connection_id":158618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:44:37] local.INFO: Extracted packet for processing {"connection_id":158618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497991424001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:44:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:44:37] 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-08-19 06:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787101830000,"timestamp_ms":1787101830000,"timestamp_seconds":1787101830,"priority":1,"record_length":96,"hex_timestamp":"000001a01791db70"} 
[2026-08-19 06:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:44: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-08-19 06:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 06:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497991424001,"66":25680,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497991424001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497991424001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":158618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:44:37] local.INFO: GPS data processed {"connection_id":158618,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:44:37] local.INFO: Acknowledgment sent {"connection_id":158618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:45:05] local.INFO: TCP Data received {"connection_id":159902,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:45:05] local.INFO: Processing buffer {"connection_id":159902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:45:05] local.INFO: IMEI packet received {"connection_id":159902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":159902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:45:10] local.INFO: TCP Data received {"connection_id":159902,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:45:10] local.INFO: Processing buffer {"connection_id":159902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:45:10] local.INFO: IMEI packet received {"connection_id":159902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":159902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:45:11] local.INFO: TCP Data received {"connection_id":159902,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:45:11] local.INFO: Processing buffer {"connection_id":159902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:45:11] local.INFO: Packet analysis {"connection_id":159902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:45:11] local.INFO: Extracted packet for processing {"connection_id":159902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:45:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497991424001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:45:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:45:11] 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-08-19 06:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787101830000,"timestamp_ms":1787101830000,"timestamp_seconds":1787101830,"priority":1,"record_length":96,"hex_timestamp":"000001a01791db70"} 
[2026-08-19 06:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 06:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497991424001,"66":25680,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497991424001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:45:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497991424001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":159902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:45:11] local.INFO: GPS data processed {"connection_id":159902,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:45:11] local.INFO: Acknowledgment sent {"connection_id":159902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:45:15] local.INFO: TCP Data received {"connection_id":159902,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:45:15] local.INFO: Processing buffer {"connection_id":159902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:45:15] local.INFO: Packet analysis {"connection_id":159902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:45:15] local.INFO: Extracted packet for processing {"connection_id":159902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497991424001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:45:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:45:15] 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-08-19 06:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787101830000,"timestamp_ms":1787101830000,"timestamp_seconds":1787101830,"priority":1,"record_length":96,"hex_timestamp":"000001a01791db70"} 
[2026-08-19 06:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 06:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":159902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":159902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497991424001,"66":25680,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497991424001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497991424001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":159902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:45:15] local.INFO: GPS data processed {"connection_id":159902,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:45:15] local.INFO: Acknowledgment sent {"connection_id":159902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:46:00] local.INFO: TCP Data received {"connection_id":157729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:46:00] local.INFO: Processing buffer {"connection_id":157729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:46:00] local.INFO: IMEI packet received {"connection_id":157729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":157729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:46:05] local.INFO: TCP Data received {"connection_id":157729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:46:05] local.INFO: Processing buffer {"connection_id":157729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:46:05] local.INFO: IMEI packet received {"connection_id":157729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":157729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:46:06] local.INFO: TCP Data received {"connection_id":157729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:46:06] local.INFO: Processing buffer {"connection_id":157729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01791db70012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:46:06] local.INFO: Packet analysis {"connection_id":157729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:46:06] local.INFO: Extracted packet for processing {"connection_id":157729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01791"} 
[2026-08-19 06:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457497991424001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:46:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:46:06] 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-08-19 06:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787101830000,"timestamp_ms":1787101830000,"timestamp_seconds":1787101830,"priority":1,"record_length":96,"hex_timestamp":"000001a01791db70"} 
[2026-08-19 06:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 06:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457497991424001,"66":25680,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457497991424001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457497991424001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":157729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:46:06] local.INFO: GPS data processed {"connection_id":157729,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:46:06] local.INFO: Acknowledgment sent {"connection_id":157729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:46:37] local.INFO: TCP Data received {"connection_id":157729,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:46:37] local.INFO: Processing buffer {"connection_id":157729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:46:37] local.INFO: Packet analysis {"connection_id":157729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01796"} 
[2026-08-19 06:46:37] local.INFO: Extracted packet for processing {"connection_id":157729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01796"} 
[2026-08-19 06:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498068480001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:46:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:46:37] 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-08-19 06:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787102131000,"timestamp_ms":1787102131000,"timestamp_seconds":1787102131,"priority":1,"record_length":96,"hex_timestamp":"000001a017967338"} 
[2026-08-19 06:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:46: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-08-19 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 06:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498068480001,"66":25538,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498068480001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498068480001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":157729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:46:37] local.INFO: GPS data processed {"connection_id":157729,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:46:37] local.INFO: Acknowledgment sent {"connection_id":157729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:47:00] local.INFO: TCP Data received {"connection_id":157730,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:47:00] local.INFO: Processing buffer {"connection_id":157730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:47:00] local.INFO: IMEI packet received {"connection_id":157730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":157730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:47:05] local.INFO: TCP Data received {"connection_id":157730,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:47:05] local.INFO: Processing buffer {"connection_id":157730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:47:05] local.INFO: IMEI packet received {"connection_id":157730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":157730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:47:06] local.INFO: TCP Data received {"connection_id":157730,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:47:06] local.INFO: Processing buffer {"connection_id":157730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:47:06] local.INFO: Packet analysis {"connection_id":157730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01796"} 
[2026-08-19 06:47:06] local.INFO: Extracted packet for processing {"connection_id":157730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01796"} 
[2026-08-19 06:47:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498068480001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:47:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:47:06] 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-08-19 06:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787102131000,"timestamp_ms":1787102131000,"timestamp_seconds":1787102131,"priority":1,"record_length":96,"hex_timestamp":"000001a017967338"} 
[2026-08-19 06:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 06:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498068480001,"66":25538,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498068480001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:47:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498068480001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":157730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:47:06] local.INFO: GPS data processed {"connection_id":157730,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:47:06] local.INFO: Acknowledgment sent {"connection_id":157730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:47:38] local.INFO: TCP Data received {"connection_id":157730,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:47:38] local.INFO: Processing buffer {"connection_id":157730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:47:38] local.INFO: Packet analysis {"connection_id":157730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01796"} 
[2026-08-19 06:47:38] local.INFO: Extracted packet for processing {"connection_id":157730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01796"} 
[2026-08-19 06:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498068480001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:47:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:47:38] 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-08-19 06:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787102131000,"timestamp_ms":1787102131000,"timestamp_seconds":1787102131,"priority":1,"record_length":96,"hex_timestamp":"000001a017967338"} 
[2026-08-19 06:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 06:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498068480001,"66":25538,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498068480001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498068480001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":157730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:47:38] local.INFO: GPS data processed {"connection_id":157730,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:47:38] local.INFO: Acknowledgment sent {"connection_id":157730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:48:00] local.INFO: TCP Data received {"connection_id":159903,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:48:00] local.INFO: Processing buffer {"connection_id":159903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:48:00] local.INFO: IMEI packet received {"connection_id":159903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":159903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:48:05] local.INFO: TCP Data received {"connection_id":159903,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:48:05] local.INFO: Processing buffer {"connection_id":159903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:48:05] local.INFO: IMEI packet received {"connection_id":159903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":159903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:48:06] local.INFO: TCP Data received {"connection_id":159903,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:48:06] local.INFO: Processing buffer {"connection_id":159903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:48:06] local.INFO: Packet analysis {"connection_id":159903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01796"} 
[2026-08-19 06:48:06] local.INFO: Extracted packet for processing {"connection_id":159903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01796"} 
[2026-08-19 06:48:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498068480001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:48:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:48:06] 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-08-19 06:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787102131000,"timestamp_ms":1787102131000,"timestamp_seconds":1787102131,"priority":1,"record_length":96,"hex_timestamp":"000001a017967338"} 
[2026-08-19 06:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 06:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:48:06] 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-08-19 06:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498068480001,"66":25538,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498068480001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:48:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498068480001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":159903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:48:06] local.INFO: GPS data processed {"connection_id":159903,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:48:06] local.INFO: Acknowledgment sent {"connection_id":159903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:48:38] local.INFO: TCP Data received {"connection_id":159903,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:48:38] local.INFO: Processing buffer {"connection_id":159903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:48:38] local.INFO: Packet analysis {"connection_id":159903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01796"} 
[2026-08-19 06:48:38] local.INFO: Extracted packet for processing {"connection_id":159903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01796"} 
[2026-08-19 06:48:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498068480001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:48:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:48:38] 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-08-19 06:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787102131000,"timestamp_ms":1787102131000,"timestamp_seconds":1787102131,"priority":1,"record_length":96,"hex_timestamp":"000001a017967338"} 
[2026-08-19 06:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 06:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498068480001,"66":25538,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498068480001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498068480001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":159903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:48:38] local.INFO: GPS data processed {"connection_id":159903,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:48:38] local.INFO: Acknowledgment sent {"connection_id":159903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:49:00] local.INFO: TCP Data received {"connection_id":157351,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:49:00] local.INFO: Processing buffer {"connection_id":157351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:49:00] local.INFO: IMEI packet received {"connection_id":157351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":157351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:49:05] local.INFO: TCP Data received {"connection_id":157351,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:49:05] local.INFO: Processing buffer {"connection_id":157351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:49:05] local.INFO: IMEI packet received {"connection_id":157351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":157351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:49:06] local.INFO: TCP Data received {"connection_id":157351,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:49:06] local.INFO: Processing buffer {"connection_id":157351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:49:06] local.INFO: Packet analysis {"connection_id":157351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01796"} 
[2026-08-19 06:49:06] local.INFO: Extracted packet for processing {"connection_id":157351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01796"} 
[2026-08-19 06:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498068480001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:49:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:49:06] 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-08-19 06:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787102131000,"timestamp_ms":1787102131000,"timestamp_seconds":1787102131,"priority":1,"record_length":96,"hex_timestamp":"000001a017967338"} 
[2026-08-19 06:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 06:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498068480001,"66":25538,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498068480001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498068480001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":157351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:49:06] local.INFO: GPS data processed {"connection_id":157351,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:49:06] local.INFO: Acknowledgment sent {"connection_id":157351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:49:37] local.INFO: TCP Data received {"connection_id":157351,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:49:37] local.INFO: Processing buffer {"connection_id":157351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:49:37] local.INFO: Packet analysis {"connection_id":157351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01796"} 
[2026-08-19 06:49:37] local.INFO: Extracted packet for processing {"connection_id":157351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01796"} 
[2026-08-19 06:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498068480001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:49:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:49:37] 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-08-19 06:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787102131000,"timestamp_ms":1787102131000,"timestamp_seconds":1787102131,"priority":1,"record_length":96,"hex_timestamp":"000001a017967338"} 
[2026-08-19 06:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:49: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-08-19 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 06:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:49:37] 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-08-19 06:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498068480001,"66":25538,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498068480001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498068480001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":157351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:49:37] local.INFO: GPS data processed {"connection_id":157351,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:49:37] local.INFO: Acknowledgment sent {"connection_id":157351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:50:00] local.INFO: TCP Data received {"connection_id":157731,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:50:00] local.INFO: Processing buffer {"connection_id":157731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:50:00] local.INFO: IMEI packet received {"connection_id":157731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":157731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:50:05] local.INFO: TCP Data received {"connection_id":157731,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:50:05] local.INFO: Processing buffer {"connection_id":157731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:50:05] local.INFO: IMEI packet received {"connection_id":157731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":157731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:50:06] local.INFO: TCP Data received {"connection_id":157731,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:50:06] local.INFO: Processing buffer {"connection_id":157731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:50:06] local.INFO: Packet analysis {"connection_id":157731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01796"} 
[2026-08-19 06:50:06] local.INFO: Extracted packet for processing {"connection_id":157731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01796"} 
[2026-08-19 06:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498068480001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:50:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:50:06] 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-08-19 06:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787102131000,"timestamp_ms":1787102131000,"timestamp_seconds":1787102131,"priority":1,"record_length":96,"hex_timestamp":"000001a017967338"} 
[2026-08-19 06:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 06:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:50:06] 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-08-19 06:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498068480001,"66":25538,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498068480001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:50:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498068480001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":157731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:50:06] local.INFO: GPS data processed {"connection_id":157731,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:50:06] local.INFO: Acknowledgment sent {"connection_id":157731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:50:09] local.INFO: TCP Data received {"connection_id":157352,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:50:09] local.INFO: Processing buffer {"connection_id":157352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:50:09] local.INFO: IMEI packet received {"connection_id":157352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 06:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":157352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:50:10] local.INFO: TCP Data received {"connection_id":157352,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:50:10] local.INFO: Processing buffer {"connection_id":157352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:50:10] local.INFO: IMEI packet received {"connection_id":157352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 06:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":157352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:50:14] local.INFO: TCP Data received {"connection_id":157352,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:50:14] local.INFO: Processing buffer {"connection_id":157352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:50:14] local.INFO: IMEI packet received {"connection_id":157352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 06:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":157352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:50:15] local.INFO: TCP Data received {"connection_id":157352,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-19 06:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157352,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-19 06:50:15] local.INFO: Processing buffer {"connection_id":157352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-19 06:50:15] local.INFO: Packet analysis {"connection_id":157352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-19 06:50:15] local.INFO: Extracted packet for processing {"connection_id":157352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-19 06:50: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-08-19 06:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120498932441677824,"note":"Value kept but may cause issues"} 
[2026-08-19 06:50:15] 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-08-19 06:50:15] 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-08-19 06:50:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-19 06:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157352,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157352,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-19 06:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157352,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-19 06:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-19 06:50:15] local.WARNING: DEBUG: No valid data to process  
[2026-08-19 06:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":157352,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-19 06:50:15] local.ERROR: GPS data processing failed {"connection_id":157352,"error":"No valid data to process"} 
[2026-08-19 06:50:15] local.INFO: Acknowledgment sent {"connection_id":157352,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-19 06:50:38] local.INFO: TCP Data received {"connection_id":157731,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:50:38] local.INFO: Processing buffer {"connection_id":157731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017967338012d34c18006aa49b8000901122b..."} 
[2026-08-19 06:50:38] local.INFO: Packet analysis {"connection_id":157731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01796"} 
[2026-08-19 06:50:38] local.INFO: Extracted packet for processing {"connection_id":157731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01796"} 
[2026-08-19 06:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498068480001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:50:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:50:38] 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-08-19 06:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787102131000,"timestamp_ms":1787102131000,"timestamp_seconds":1787102131,"priority":1,"record_length":96,"hex_timestamp":"000001a017967338"} 
[2026-08-19 06:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 06:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:50:38] 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-08-19 06:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498068480001,"66":25538,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498068480001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498068480001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":157731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:50:38] local.INFO: GPS data processed {"connection_id":157731,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:50:38] local.INFO: Acknowledgment sent {"connection_id":157731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:50:45] local.INFO: TCP Data received {"connection_id":157352,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0179adc20012d7e398005d34850000c00000a..."} 
[2026-08-19 06:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179adc20012d7e398005d34850000c00000a..."} 
[2026-08-19 06:50:45] local.INFO: Processing buffer {"connection_id":157352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179adc20012d7e398005d34850000c00000a..."} 
[2026-08-19 06:50:45] local.INFO: Packet analysis {"connection_id":157352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179a"} 
[2026-08-19 06:50:45] local.INFO: Extracted packet for processing {"connection_id":157352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179a"} 
[2026-08-19 06:50:45] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97732688,"longitude_deg":76.3246976,"latitude_deg":9.7732688,"altitude":12,"angle":0,"satellites":10,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34850","is_valid_coordinates":true} 
[2026-08-19 06:50:45] 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-08-19 06:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120498932441677824,"note":"Value kept but may cause issues"} 
[2026-08-19 06:50:45] 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-08-19 06:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787102420000,"timestamp_ms":1787102420000,"timestamp_seconds":1787102420,"priority":1,"record_length":96,"hex_timestamp":"000001a0179adc20"} 
[2026-08-19 06:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:50:45] 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-08-19 06:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-19 06:50:45] 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-08-19 06:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":11754,"109":206,"85":15104,"24":0,"16":120498932441677824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-08-19 06:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-19 06:50:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 06:50:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120498932441677824,"km_value":120498932441677.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:50:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":11754,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-19 06:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":157352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:50:45] local.INFO: GPS data processed {"connection_id":157352,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:50:45] local.INFO: Acknowledgment sent {"connection_id":157352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:51:05] local.INFO: TCP Data received {"connection_id":159904,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:51:05] local.INFO: Processing buffer {"connection_id":159904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:51:05] local.INFO: IMEI packet received {"connection_id":159904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":159904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:51:10] local.INFO: TCP Data received {"connection_id":159904,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:51:10] local.INFO: Processing buffer {"connection_id":159904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:51:10] local.INFO: IMEI packet received {"connection_id":159904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":159904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:51:11] local.INFO: TCP Data received {"connection_id":159904,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:51:11] local.INFO: Processing buffer {"connection_id":159904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:51:11] local.INFO: Packet analysis {"connection_id":159904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:51:11] local.INFO: Extracted packet for processing {"connection_id":159904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:51:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498145536001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:51:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:51:11] 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-08-19 06:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787102432000,"timestamp_ms":1787102432000,"timestamp_seconds":1787102432,"priority":1,"record_length":96,"hex_timestamp":"000001a0179b0b00"} 
[2026-08-19 06:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 06:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498145536001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498145536001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:51:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498145536001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":159904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:51:11] local.INFO: GPS data processed {"connection_id":159904,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:51:11] local.INFO: Acknowledgment sent {"connection_id":159904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:51:12] local.INFO: TCP Data received {"connection_id":159904,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:51:12] local.INFO: Processing buffer {"connection_id":159904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:51:12] local.INFO: Packet analysis {"connection_id":159904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:51:12] local.INFO: Extracted packet for processing {"connection_id":159904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:51:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498145536001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:51:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:51:12] 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-08-19 06:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787102432000,"timestamp_ms":1787102432000,"timestamp_seconds":1787102432,"priority":1,"record_length":96,"hex_timestamp":"000001a0179b0b00"} 
[2026-08-19 06:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 06:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498145536001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498145536001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:51:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498145536001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":159904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:51:12] local.INFO: GPS data processed {"connection_id":159904,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:51:12] local.INFO: Acknowledgment sent {"connection_id":159904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:51:16] local.INFO: TCP Data received {"connection_id":157352,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0179afb60012d7e37c005d34ad0000a00000e..."} 
[2026-08-19 06:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179afb60012d7e37c005d34ad0000a00000e..."} 
[2026-08-19 06:51:16] local.INFO: Processing buffer {"connection_id":157352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179afb60012d7e37c005d34ad0000a00000e..."} 
[2026-08-19 06:51:16] local.INFO: Packet analysis {"connection_id":157352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179a"} 
[2026-08-19 06:51:16] local.INFO: Extracted packet for processing {"connection_id":157352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179a"} 
[2026-08-19 06:51:16] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97733328,"longitude_deg":76.3246528,"latitude_deg":9.7733328,"altitude":10,"angle":0,"satellites":14,"speed":0,"hex_longitude":"2d7e37c0","hex_latitude":"05d34ad0","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498219520001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120498966801416192,"note":"Value kept but may cause issues"} 
[2026-08-19 06:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959350784,"note":"Value kept but may cause issues"} 
[2026-08-19 06:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 06:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787102428000,"timestamp_ms":1787102428000,"timestamp_seconds":1787102428,"priority":1,"record_length":96,"hex_timestamp":"000001a0179afb60"} 
[2026-08-19 06:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:51:16] 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-08-19 06: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":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-19 06:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2529,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498219520001,"66":11721,"109":206,"85":15104,"24":0,"16":120498966801416192,"45":9095441684959350784},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 06:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498219520001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:51:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 06:51:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120498966801416192,"km_value":120498966801416.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959350784,"description":"Unknown IO ID 45"} 
[2026-08-19 06:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498219520001,"power":11721,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959350784}} 
[2026-08-19 06:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":157352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:51:16] local.INFO: GPS data processed {"connection_id":157352,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:51:16] local.INFO: Acknowledgment sent {"connection_id":157352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:51:43] local.INFO: TCP Data received {"connection_id":159904,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:51:43] local.INFO: Processing buffer {"connection_id":159904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:51:43] local.INFO: Packet analysis {"connection_id":159904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:51:43] local.INFO: Extracted packet for processing {"connection_id":159904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:51:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498145536001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:51:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:51:43] 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-08-19 06:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787102432000,"timestamp_ms":1787102432000,"timestamp_seconds":1787102432,"priority":1,"record_length":96,"hex_timestamp":"000001a0179b0b00"} 
[2026-08-19 06:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 06:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498145536001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498145536001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:51:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498145536001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":159904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:51:43] local.INFO: GPS data processed {"connection_id":159904,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:51:43] local.INFO: Acknowledgment sent {"connection_id":159904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:51:47] local.INFO: TCP Data received {"connection_id":157352,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0179bbeb0012d7e388005d359c8000a006610..."} 
[2026-08-19 06:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179bbeb0012d7e388005d359c8000a006610..."} 
[2026-08-19 06:51:47] local.INFO: Processing buffer {"connection_id":157352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179bbeb0012d7e388005d359c8000a006610..."} 
[2026-08-19 06:51:47] local.INFO: Packet analysis {"connection_id":157352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:51:47] local.INFO: Extracted packet for processing {"connection_id":157352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:51:47] local.INFO: GPS Element Parsed {"raw_longitude":763246720,"raw_latitude":97737160,"longitude_deg":76.324672,"latitude_deg":9.773716,"altitude":10,"angle":102,"satellites":16,"speed":2,"hex_longitude":"2d7e3880","hex_latitude":"05d359c8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498233600001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120499288923963392,"note":"Value kept but may cause issues"} 
[2026-08-19 06:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260030353408,"note":"Value kept but may cause issues"} 
[2026-08-19 06:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 06:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787102478000,"timestamp_ms":1787102478000,"timestamp_seconds":1787102478,"priority":1,"record_length":96,"hex_timestamp":"000001a0179bbeb0"} 
[2026-08-19 06:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 06: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 06:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498233600001,"66":11711,"109":206,"85":15104,"24":2,"16":120499288923963392,"45":9094597260030353408},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 06:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498233600001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:51:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 06:51:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120499288923963392,"km_value":120499288923963.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260030353408,"description":"Unknown IO ID 45"} 
[2026-08-19 06:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498233600001,"power":11711,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9094597260030353408}} 
[2026-08-19 06:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":157352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:51:47] local.INFO: GPS data processed {"connection_id":157352,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:51:47] local.INFO: Acknowledgment sent {"connection_id":157352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:52:00] local.INFO: TCP Data received {"connection_id":158619,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:52:00] local.INFO: Processing buffer {"connection_id":158619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:52:00] local.INFO: IMEI packet received {"connection_id":158619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":158619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:52:05] local.INFO: TCP Data received {"connection_id":158619,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:52:05] local.INFO: Processing buffer {"connection_id":158619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:52:05] local.INFO: IMEI packet received {"connection_id":158619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":158619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:52:06] local.INFO: TCP Data received {"connection_id":158619,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:52:06] local.INFO: Processing buffer {"connection_id":158619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:52:06] local.INFO: Packet analysis {"connection_id":158619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:52:06] local.INFO: Extracted packet for processing {"connection_id":158619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:52:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498145536001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:52:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:52:06] 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-08-19 06:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787102432000,"timestamp_ms":1787102432000,"timestamp_seconds":1787102432,"priority":1,"record_length":96,"hex_timestamp":"000001a0179b0b00"} 
[2026-08-19 06:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 06:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:52:06] 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-08-19 06:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498145536001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498145536001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:52:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498145536001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":158619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:52:06] local.INFO: GPS data processed {"connection_id":158619,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:52:06] local.INFO: Acknowledgment sent {"connection_id":158619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:52:18] local.INFO: TCP Data received {"connection_id":157352,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0179bf178012d7e3e0005d358c0000a007710..."} 
[2026-08-19 06:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179bf178012d7e3e0005d358c0000a007710..."} 
[2026-08-19 06:52:18] local.INFO: Processing buffer {"connection_id":157352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179bf178012d7e3e0005d358c0000a007710..."} 
[2026-08-19 06:52:18] local.INFO: Packet analysis {"connection_id":157352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:52:18] local.INFO: Extracted packet for processing {"connection_id":157352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:52:18] local.INFO: GPS Element Parsed {"raw_longitude":763248128,"raw_latitude":97736896,"longitude_deg":76.3248128,"latitude_deg":9.7736896,"altitude":10,"angle":119,"satellites":16,"speed":6,"hex_longitude":"2d7e3e00","hex_latitude":"05d358c0","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498234368001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120499361938407424,"note":"Value kept but may cause issues"} 
[2026-08-19 06:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209983784960,"note":"Value kept but may cause issues"} 
[2026-08-19 06:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 06:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787102491000,"timestamp_ms":1787102491000,"timestamp_seconds":1787102491,"priority":1,"record_length":96,"hex_timestamp":"000001a0179bf178"} 
[2026-08-19 06:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 06: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-19 06:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498234368001,"66":11634,"109":206,"85":15104,"24":6,"16":120499361938407424,"45":9095160209983784960},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 06:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498234368001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:52:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 06:52:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120499361938407424,"km_value":120499361938407.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209983784960,"description":"Unknown IO ID 45"} 
[2026-08-19 06:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498234368001,"power":11634,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9095160209983784960}} 
[2026-08-19 06:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":157352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:52:18] local.INFO: GPS data processed {"connection_id":157352,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:52:18] local.INFO: Acknowledgment sent {"connection_id":157352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:52:38] local.INFO: TCP Data received {"connection_id":158619,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:52:38] local.INFO: Processing buffer {"connection_id":158619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:52:38] local.INFO: Packet analysis {"connection_id":158619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:52:38] local.INFO: Extracted packet for processing {"connection_id":158619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498145536001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:52:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:52:38] 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-08-19 06:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787102432000,"timestamp_ms":1787102432000,"timestamp_seconds":1787102432,"priority":1,"record_length":96,"hex_timestamp":"000001a0179b0b00"} 
[2026-08-19 06:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 06:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:52:38] 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-08-19 06:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498145536001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498145536001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498145536001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":158619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:52:38] local.INFO: GPS data processed {"connection_id":158619,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:52:38] local.INFO: Acknowledgment sent {"connection_id":158619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:52:49] local.INFO: TCP Data received {"connection_id":157352,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0179bf560012d7e3e4005d358a0000a006a10..."} 
[2026-08-19 06:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179bf560012d7e3e4005d358a0000a006a10..."} 
[2026-08-19 06:52:49] local.INFO: Processing buffer {"connection_id":157352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179bf560012d7e3e4005d358a0000a006a10..."} 
[2026-08-19 06:52:49] local.INFO: Packet analysis {"connection_id":157352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:52:49] local.INFO: Extracted packet for processing {"connection_id":157352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:52:49] local.INFO: GPS Element Parsed {"raw_longitude":763248192,"raw_latitude":97736864,"longitude_deg":76.3248192,"latitude_deg":9.7736864,"altitude":10,"angle":106,"satellites":16,"speed":3,"hex_longitude":"2d7e3e40","hex_latitude":"05d358a0","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498237696001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120499366233374720,"note":"Value kept but may cause issues"} 
[2026-08-19 06:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096708322355625984,"note":"Value kept but may cause issues"} 
[2026-08-19 06:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 06:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787102492000,"timestamp_ms":1787102492000,"timestamp_seconds":1787102492,"priority":1,"record_length":96,"hex_timestamp":"000001a0179bf560"} 
[2026-08-19 06:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 06: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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 06:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":157352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":157352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":157352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498237696001,"66":11634,"109":206,"85":15104,"24":3,"16":120499366233374720,"45":9096708322355625984},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 06:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498237696001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:52:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 06:52:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120499366233374720,"km_value":120499366233374.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096708322355625984,"description":"Unknown IO ID 45"} 
[2026-08-19 06:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498237696001,"power":11634,"unknown_109":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9096708322355625984}} 
[2026-08-19 06:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":157352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:52:49] local.INFO: GPS data processed {"connection_id":157352,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:52:49] local.INFO: Acknowledgment sent {"connection_id":157352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:53:00] local.INFO: TCP Data received {"connection_id":157732,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:53:00] local.INFO: Processing buffer {"connection_id":157732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:53:00] local.INFO: IMEI packet received {"connection_id":157732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":157732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:53:05] local.INFO: TCP Data received {"connection_id":157732,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:53:05] local.INFO: Processing buffer {"connection_id":157732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:53:05] local.INFO: IMEI packet received {"connection_id":157732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":157732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:53:06] local.INFO: TCP Data received {"connection_id":157732,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:53:06] local.INFO: Processing buffer {"connection_id":157732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:53:06] local.INFO: Packet analysis {"connection_id":157732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:53:06] local.INFO: Extracted packet for processing {"connection_id":157732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:53:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498145536001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:53:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:53:06] 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-08-19 06:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787102432000,"timestamp_ms":1787102432000,"timestamp_seconds":1787102432,"priority":1,"record_length":96,"hex_timestamp":"000001a0179b0b00"} 
[2026-08-19 06:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 06:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498145536001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498145536001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:53:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498145536001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":157732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:53:06] local.INFO: GPS data processed {"connection_id":157732,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:53:06] local.INFO: Acknowledgment sent {"connection_id":157732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:53:20] local.INFO: TCP Data received {"connection_id":157352,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0179c4380012d7e3f0005d358d80009007210..."} 
[2026-08-19 06:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179c4380012d7e3f0005d358d80009007210..."} 
[2026-08-19 06:53:20] local.INFO: Processing buffer {"connection_id":157352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179c4380012d7e3f0005d358d80009007210..."} 
[2026-08-19 06:53:20] local.INFO: Packet analysis {"connection_id":157352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179c"} 
[2026-08-19 06:53:20] local.INFO: Extracted packet for processing {"connection_id":157352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179c"} 
[2026-08-19 06:53:20] local.INFO: GPS Element Parsed {"raw_longitude":763248384,"raw_latitude":97736920,"longitude_deg":76.3248384,"latitude_deg":9.773692,"altitude":9,"angle":114,"satellites":16,"speed":0,"hex_longitude":"2d7e3f00","hex_latitude":"05d358d8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 06:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498237952001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120499387708211200,"note":"Value kept but may cause issues"} 
[2026-08-19 06:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096778691099795456,"note":"Value kept but may cause issues"} 
[2026-08-19 06:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 06:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787102512000,"timestamp_ms":1787102512000,"timestamp_seconds":1787102512,"priority":1,"record_length":96,"hex_timestamp":"000001a0179c4380"} 
[2026-08-19 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-08-19 06:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 06:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 06:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498237952001,"66":11776,"109":206,"85":15104,"24":0,"16":120499387708211200,"45":9096778691099795456},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 06:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498237952001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:53:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 06:53:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120499387708211200,"km_value":120499387708211.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096778691099795456,"description":"Unknown IO ID 45"} 
[2026-08-19 06:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498237952001,"power":11776,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096778691099795456}} 
[2026-08-19 06:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":157352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:53:20] local.INFO: GPS data processed {"connection_id":157352,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:53:20] local.INFO: Acknowledgment sent {"connection_id":157352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:53:51] local.INFO: TCP Data received {"connection_id":157352,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0179dc638012d7e5f0005d34d60000600a118..."} 
[2026-08-19 06:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179dc638012d7e5f0005d34d60000600a118..."} 
[2026-08-19 06:53:51] local.INFO: Processing buffer {"connection_id":157352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179dc638012d7e5f0005d34d60000600a118..."} 
[2026-08-19 06:53:51] local.INFO: Packet analysis {"connection_id":157352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179d"} 
[2026-08-19 06:53:51] local.INFO: Extracted packet for processing {"connection_id":157352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179d"} 
[2026-08-19 06:53:51] local.INFO: GPS Element Parsed {"raw_longitude":763256576,"raw_latitude":97733984,"longitude_deg":76.3256576,"latitude_deg":9.7733984,"altitude":6,"angle":161,"satellites":24,"speed":17,"hex_longitude":"2d7e5f00","hex_latitude":"05d34d60","is_valid_coordinates":true} 
[2026-08-19 06:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498267904001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120499877334482944,"note":"Value kept but may cause issues"} 
[2026-08-19 06:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105715521609820160,"note":"Value kept but may cause issues"} 
[2026-08-19 06:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 06:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787102611000,"timestamp_ms":1787102611000,"timestamp_seconds":1787102611,"priority":1,"record_length":96,"hex_timestamp":"000001a0179dc638"} 
[2026-08-19 06:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 06:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 06:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498267904001,"66":13428,"109":206,"85":15104,"24":17,"16":120499877334482944,"45":9105715521609820160},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 06:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498267904001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:53:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 06:53:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120499877334482944,"km_value":120499877334482.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105715521609820160,"description":"Unknown IO ID 45"} 
[2026-08-19 06:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498267904001,"power":13428,"unknown_109":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9105715521609820160}} 
[2026-08-19 06:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":157352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:53:51] local.INFO: GPS data processed {"connection_id":157352,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:53:51] local.INFO: Acknowledgment sent {"connection_id":157352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:53:55] local.INFO: TCP Data received {"connection_id":157733,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:53:55] local.INFO: Processing buffer {"connection_id":157733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:53:55] local.INFO: IMEI packet received {"connection_id":157733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":157733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:54:00] local.INFO: TCP Data received {"connection_id":157733,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:54:00] local.INFO: Processing buffer {"connection_id":157733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:54:00] local.INFO: IMEI packet received {"connection_id":157733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":157733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:54:02] local.INFO: TCP Data received {"connection_id":157733,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:54:02] local.INFO: Processing buffer {"connection_id":157733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:54:02] local.INFO: Packet analysis {"connection_id":157733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:54:02] local.INFO: Extracted packet for processing {"connection_id":157733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:54:02] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498145536001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:54:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:54: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-08-19 06:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787102432000,"timestamp_ms":1787102432000,"timestamp_seconds":1787102432,"priority":1,"record_length":96,"hex_timestamp":"000001a0179b0b00"} 
[2026-08-19 06:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 06:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":157733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":157733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":157733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:54:02] 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-08-19 06:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498145536001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498145536001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:54:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498145536001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":157733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:54:02] local.INFO: GPS data processed {"connection_id":157733,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:54:02] local.INFO: Acknowledgment sent {"connection_id":157733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:54:22] local.INFO: TCP Data received {"connection_id":157352,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0179dce08012d7e600005d349f0000500af18..."} 
[2026-08-19 06:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179dce08012d7e600005d349f0000500af18..."} 
[2026-08-19 06:54:22] local.INFO: Processing buffer {"connection_id":157352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179dce08012d7e600005d349f0000500af18..."} 
[2026-08-19 06:54:22] local.INFO: Packet analysis {"connection_id":157352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179d"} 
[2026-08-19 06:54:22] local.INFO: Extracted packet for processing {"connection_id":157352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179d"} 
[2026-08-19 06:54:22] local.INFO: GPS Element Parsed {"raw_longitude":763256832,"raw_latitude":97733104,"longitude_deg":76.3256832,"latitude_deg":9.7733104,"altitude":5,"angle":175,"satellites":24,"speed":18,"hex_longitude":"2d7e6000","hex_latitude":"05d349f0","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498268416001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120499920284155904,"note":"Value kept but may cause issues"} 
[2026-08-19 06:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105996996586332160,"note":"Value kept but may cause issues"} 
[2026-08-19 06:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 06:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787102613000,"timestamp_ms":1787102613000,"timestamp_seconds":1787102613,"priority":1,"record_length":96,"hex_timestamp":"000001a0179dce08"} 
[2026-08-19 06:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 06: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-19 06:54:22] 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-08-19 06: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-08-19 06:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":157352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":157352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":157352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498268416001,"66":13515,"109":206,"85":15104,"24":18,"16":120499920284155904,"45":9105996996586332160},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 06:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498268416001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:54:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 06:54:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120499920284155904,"km_value":120499920284155.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105996996586332160,"description":"Unknown IO ID 45"} 
[2026-08-19 06:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498268416001,"power":13515,"unknown_109":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9105996996586332160}} 
[2026-08-19 06:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":157352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:54:22] local.INFO: GPS data processed {"connection_id":157352,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:54:22] local.INFO: Acknowledgment sent {"connection_id":157352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:54:34] local.INFO: TCP Data received {"connection_id":157733,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:54:34] local.INFO: Processing buffer {"connection_id":157733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:54:34] local.INFO: Packet analysis {"connection_id":157733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:54:34] local.INFO: Extracted packet for processing {"connection_id":157733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498145536001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:54:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:54:34] 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-08-19 06:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787102432000,"timestamp_ms":1787102432000,"timestamp_seconds":1787102432,"priority":1,"record_length":96,"hex_timestamp":"000001a0179b0b00"} 
[2026-08-19 06:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 06:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":157733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":157733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":157733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498145536001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498145536001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:54:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498145536001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":157733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:54:34] local.INFO: GPS data processed {"connection_id":157733,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:54:34] local.INFO: Acknowledgment sent {"connection_id":157733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:54:49] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:54:49] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:54:49] local.INFO: IMEI packet received {"connection_id":159905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 06:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":159905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:54:57] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:54:57] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:54:57] local.INFO: IMEI packet received {"connection_id":159905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 06:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":159905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:55:02] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0179e04b8012d7e630005d32760000600b118..."} 
[2026-08-19 06:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179e04b8012d7e630005d32760000600b118..."} 
[2026-08-19 06:55:02] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179e04b8012d7e630005d32760000600b118..."} 
[2026-08-19 06:55:02] local.INFO: Packet analysis {"connection_id":159905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179e"} 
[2026-08-19 06:55:02] local.INFO: Extracted packet for processing {"connection_id":159905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179e"} 
[2026-08-19 06:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763257600,"raw_latitude":97724256,"longitude_deg":76.32576,"latitude_deg":9.7724256,"altitude":6,"angle":177,"satellites":24,"speed":26,"hex_longitude":"2d7e6300","hex_latitude":"05d32760","is_valid_coordinates":true} 
[2026-08-19 06:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498268928001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120500354075852800,"note":"Value kept but may cause issues"} 
[2026-08-19 06:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106278471562817536,"note":"Value kept but may cause issues"} 
[2026-08-19 06:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 06:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787102627000,"timestamp_ms":1787102627000,"timestamp_seconds":1787102627,"priority":1,"record_length":96,"hex_timestamp":"000001a0179e04b8"} 
[2026-08-19 06:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:55:02] 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-08-19 06:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-19 06:55:02] 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-08-19 06:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498268928001,"66":13602,"109":206,"85":15104,"24":26,"16":120500354075852800,"45":9106278471562817536},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 06:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498268928001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:55:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 06:55:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120500354075852800,"km_value":120500354075852.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106278471562817536,"description":"Unknown IO ID 45"} 
[2026-08-19 06:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498268928001,"power":13602,"unknown_109":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9106278471562817536}} 
[2026-08-19 06:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":159905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:55:02] local.INFO: GPS data processed {"connection_id":159905,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:55:02] local.INFO: Acknowledgment sent {"connection_id":159905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:55:03] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0179e52d8012d7e648005d31408000500b219..."} 
[2026-08-19 06:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179e52d8012d7e648005d31408000500b219..."} 
[2026-08-19 06:55:03] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179e52d8012d7e648005d31408000500b219..."} 
[2026-08-19 06:55:03] local.INFO: Packet analysis {"connection_id":159905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179e"} 
[2026-08-19 06:55:03] local.INFO: Extracted packet for processing {"connection_id":159905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179e"} 
[2026-08-19 06:55:03] local.INFO: GPS Element Parsed {"raw_longitude":763257984,"raw_latitude":97719304,"longitude_deg":76.3257984,"latitude_deg":9.7719304,"altitude":5,"angle":178,"satellites":25,"speed":0,"hex_longitude":"2d7e6480","hex_latitude":"05d31408","is_valid_coordinates":true} 
[2026-08-19 06:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498272512001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120500598888988672,"note":"Value kept but may cause issues"} 
[2026-08-19 06:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107122896490684416,"note":"Value kept but may cause issues"} 
[2026-08-19 06:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 06:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787102647000,"timestamp_ms":1787102647000,"timestamp_seconds":1787102647,"priority":1,"record_length":96,"hex_timestamp":"000001a0179e52d8"} 
[2026-08-19 06:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:55:03] 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-08-19 06:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-19 06:55:03] 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-08-19 06:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498272512001,"66":13341,"109":206,"85":15104,"24":0,"16":120500598888988672,"45":9107122896490684416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 06:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498272512001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:55:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 06:55:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120500598888988672,"km_value":120500598888988.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107122896490684416,"description":"Unknown IO ID 45"} 
[2026-08-19 06:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498272512001,"power":13341,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9107122896490684416}} 
[2026-08-19 06:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":159905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:55:03] local.INFO: GPS data processed {"connection_id":159905,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:55:03] local.INFO: Acknowledgment sent {"connection_id":159905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:55:05] local.INFO: TCP Data received {"connection_id":158620,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:55:05] local.INFO: Processing buffer {"connection_id":158620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:55:05] local.INFO: IMEI packet received {"connection_id":158620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":158620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:55:10] local.INFO: TCP Data received {"connection_id":158620,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:55:10] local.INFO: Processing buffer {"connection_id":158620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:55:10] local.INFO: IMEI packet received {"connection_id":158620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":158620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:55:11] local.INFO: TCP Data received {"connection_id":158620,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:55:11] local.INFO: Processing buffer {"connection_id":158620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:55:11] local.INFO: Packet analysis {"connection_id":158620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:55:11] local.INFO: Extracted packet for processing {"connection_id":158620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:55:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498145536001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:55:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:55:11] 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-08-19 06:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787102432000,"timestamp_ms":1787102432000,"timestamp_seconds":1787102432,"priority":1,"record_length":96,"hex_timestamp":"000001a0179b0b00"} 
[2026-08-19 06:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 06:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498145536001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498145536001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:55:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498145536001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":158620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:55:11] local.INFO: GPS data processed {"connection_id":158620,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:55:11] local.INFO: Acknowledgment sent {"connection_id":158620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:55:15] local.INFO: TCP Data received {"connection_id":158620,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:55:15] local.INFO: Processing buffer {"connection_id":158620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:55:15] local.INFO: Packet analysis {"connection_id":158620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:55:15] local.INFO: Extracted packet for processing {"connection_id":158620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:55:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498145536001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:55:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:55:15] 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-08-19 06:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787102432000,"timestamp_ms":1787102432000,"timestamp_seconds":1787102432,"priority":1,"record_length":96,"hex_timestamp":"000001a0179b0b00"} 
[2026-08-19 06:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 06:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498145536001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498145536001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:55:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498145536001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":158620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:55:15] local.INFO: GPS data processed {"connection_id":158620,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:55:15] local.INFO: Acknowledgment sent {"connection_id":158620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:55:35] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0179e5aa8012d7e644005d31328000500c51a..."} 
[2026-08-19 06:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179e5aa8012d7e644005d31328000500c51a..."} 
[2026-08-19 06:55:35] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179e5aa8012d7e644005d31328000500c51a..."} 
[2026-08-19 06:55:35] local.INFO: Packet analysis {"connection_id":159905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179e"} 
[2026-08-19 06:55:35] local.INFO: Extracted packet for processing {"connection_id":159905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179e"} 
[2026-08-19 06:55:35] local.INFO: GPS Element Parsed {"raw_longitude":763257920,"raw_latitude":97719080,"longitude_deg":76.325792,"latitude_deg":9.771908,"altitude":5,"angle":197,"satellites":26,"speed":3,"hex_longitude":"2d7e6440","hex_latitude":"05d31328","is_valid_coordinates":true} 
[2026-08-19 06:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498277632001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120500607478923264,"note":"Value kept but may cause issues"} 
[2026-08-19 06:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107545108954482688,"note":"Value kept but may cause issues"} 
[2026-08-19 06:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 06:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787102649000,"timestamp_ms":1787102649000,"timestamp_seconds":1787102649,"priority":1,"record_length":96,"hex_timestamp":"000001a0179e5aa8"} 
[2026-08-19 06:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:55:35] 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-08-19 06:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 06:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498277632001,"66":13428,"109":206,"85":15104,"24":3,"16":120500607478923264,"45":9107545108954482688},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 06:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498277632001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:55:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 06:55:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120500607478923264,"km_value":120500607478923.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107545108954482688,"description":"Unknown IO ID 45"} 
[2026-08-19 06:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498277632001,"power":13428,"unknown_109":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9107545108954482688}} 
[2026-08-19 06:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":159905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:55:35] local.INFO: GPS data processed {"connection_id":159905,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:55:35] local.INFO: Acknowledgment sent {"connection_id":159905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:56:00] local.INFO: TCP Data received {"connection_id":158621,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:56:00] local.INFO: Processing buffer {"connection_id":158621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:56:00] local.INFO: IMEI packet received {"connection_id":158621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":158621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:56:05] local.INFO: TCP Data received {"connection_id":158621,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:56:05] local.INFO: Processing buffer {"connection_id":158621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:56:05] local.INFO: IMEI packet received {"connection_id":158621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":158621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:56:06] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0179fc9d8012d7f0d8005d338c80004002a1b..."} 
[2026-08-19 06:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179fc9d8012d7f0d8005d338c80004002a1b..."} 
[2026-08-19 06:56:06] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179fc9d8012d7f0d8005d338c80004002a1b..."} 
[2026-08-19 06:56:06] local.INFO: Packet analysis {"connection_id":159905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 06:56:06] local.INFO: Extracted packet for processing {"connection_id":159905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 06:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763301248,"raw_latitude":97728712,"longitude_deg":76.3301248,"latitude_deg":9.7728712,"altitude":4,"angle":42,"satellites":27,"speed":18,"hex_longitude":"2d7f0d80","hex_latitude":"05d338c8","is_valid_coordinates":true} 
[2026-08-19 06:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498300928001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120502982595837952,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9153566267648788480,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 06:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787102743000,"timestamp_ms":1787102743000,"timestamp_seconds":1787102743,"priority":1,"record_length":96,"hex_timestamp":"000001a0179fc9d8"} 
[2026-08-19 06:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:56: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-08-19 06:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 06:56:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:06] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13454701,"corrected_to":0} 
[2026-08-19 06:56:06] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2668005377,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:06] local.WARNING: Large IO value detected {"io_id":211,"raw_value":560698175087254272,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-19 06:56:06] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2281778558,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:06] local.WARNING: Large IO value detected {"io_id":171,"raw_value":2147865375,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3540842496,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:06] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:06] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-4595922124824018939,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:06] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,109,85,24,241,157,16,28,160,170,45,192,50,3,27,10,66,112,64,47,2,61,1,240,247,227,23,211,4,113,205,25,6,171,239,52,172,5,84,158],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":247,"original":13454701,"validated":0},{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-19 06:56:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216232271706521600,"timestamp_seconds":216232271706521.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 06:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498300928001,"66":13493,"109":206,"85":15104,"24":18,"16":120502982595837952,"45":9153566267648788480},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 06:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498300928001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:56:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 06:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120502982595837952,"km_value":120502982595837.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9153566267648788480,"description":"Unknown IO ID 45"} 
[2026-08-19 06:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498300928001,"power":13493,"unknown_109":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9153566267648788480}} 
[2026-08-19 06:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":159905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:56:06] local.INFO: GPS data processed {"connection_id":159905,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:56:06] local.INFO: Acknowledgment sent {"connection_id":159905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:56:06] local.INFO: TCP Data received {"connection_id":158621,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:56:06] local.INFO: Processing buffer {"connection_id":158621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:56:06] local.INFO: Packet analysis {"connection_id":158621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:56:06] local.INFO: Extracted packet for processing {"connection_id":158621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498145536001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:06] 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-08-19 06:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787102432000,"timestamp_ms":1787102432000,"timestamp_seconds":1787102432,"priority":1,"record_length":96,"hex_timestamp":"000001a0179b0b00"} 
[2026-08-19 06:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 06:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498145536001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498145536001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:56:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498145536001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":158621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:56:06] local.INFO: GPS data processed {"connection_id":158621,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:56:06] local.INFO: Acknowledgment sent {"connection_id":158621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:56:11] local.INFO: TCP Data received {"connection_id":158621,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:56:11] local.INFO: Processing buffer {"connection_id":158621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179b0b00012d34c18006aa49b8000901122d..."} 
[2026-08-19 06:56:11] local.INFO: Packet analysis {"connection_id":158621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:56:11] local.INFO: Extracted packet for processing {"connection_id":158621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179b"} 
[2026-08-19 06:56:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498145536001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:11] 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-08-19 06:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787102432000,"timestamp_ms":1787102432000,"timestamp_seconds":1787102432,"priority":1,"record_length":96,"hex_timestamp":"000001a0179b0b00"} 
[2026-08-19 06:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 06:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498145536001,"66":25647,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498145536001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:56:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498145536001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":158621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:56:11] local.INFO: GPS data processed {"connection_id":158621,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:56:11] local.INFO: Acknowledgment sent {"connection_id":158621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:56:42] local.INFO: TCP Data received {"connection_id":158621,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:56:42] local.INFO: Processing buffer {"connection_id":158621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:56:42] local.INFO: Packet analysis {"connection_id":158621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 06:56:42] local.INFO: Extracted packet for processing {"connection_id":158621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 06:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498222592001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:56:42] 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-08-19 06:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787102733000,"timestamp_ms":1787102733000,"timestamp_seconds":1787102733,"priority":1,"record_length":96,"hex_timestamp":"000001a0179fa2c8"} 
[2026-08-19 06:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 06:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498222592001,"66":25604,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498222592001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:56:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498222592001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":158621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:56:42] local.INFO: GPS data processed {"connection_id":158621,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:56:42] local.INFO: Acknowledgment sent {"connection_id":158621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:57:00] local.INFO: TCP Data received {"connection_id":157734,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:57:00] local.INFO: Processing buffer {"connection_id":157734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:57:00] local.INFO: IMEI packet received {"connection_id":157734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":157734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:57:04] local.INFO: TCP Data received {"connection_id":159906,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:57:04] local.INFO: Processing buffer {"connection_id":159906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:57:04] local.INFO: IMEI packet received {"connection_id":159906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 06:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":159906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:57:05] local.INFO: TCP Data received {"connection_id":157734,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:57:05] local.INFO: Processing buffer {"connection_id":157734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:57:05] local.INFO: IMEI packet received {"connection_id":157734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":157734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:57:06] local.INFO: TCP Data received {"connection_id":159906,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:57:06] local.INFO: Processing buffer {"connection_id":159906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:57:06] local.INFO: IMEI packet received {"connection_id":159906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 06:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":159906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:57:06] local.INFO: TCP Data received {"connection_id":157734,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:57:06] local.INFO: Processing buffer {"connection_id":157734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:57:06] local.INFO: Packet analysis {"connection_id":157734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 06:57:06] local.INFO: Extracted packet for processing {"connection_id":157734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 06:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498222592001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:06] 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-08-19 06:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787102733000,"timestamp_ms":1787102733000,"timestamp_seconds":1787102733,"priority":1,"record_length":96,"hex_timestamp":"000001a0179fa2c8"} 
[2026-08-19 06:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 06:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498222592001,"66":25604,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498222592001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498222592001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":157734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:57:06] local.INFO: GPS data processed {"connection_id":157734,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:57:06] local.INFO: Acknowledgment sent {"connection_id":157734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:57:12] local.INFO: TCP Data received {"connection_id":159906,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:57:12] local.INFO: Processing buffer {"connection_id":159906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:57:12] local.INFO: IMEI packet received {"connection_id":159906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 06:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":159906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:57:27] local.INFO: TCP Data received {"connection_id":159906,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a00088012d7f240005d353d80003001e1c..."} 
[2026-08-19 06:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a00088012d7f240005d353d80003001e1c..."} 
[2026-08-19 06:57:27] local.INFO: Processing buffer {"connection_id":159906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a00088012d7f240005d353d80003001e1c..."} 
[2026-08-19 06:57:27] local.INFO: Packet analysis {"connection_id":159906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a0"} 
[2026-08-19 06:57:27] local.INFO: Extracted packet for processing {"connection_id":159906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a0"} 
[2026-08-19 06:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763307008,"raw_latitude":97735640,"longitude_deg":76.3307008,"latitude_deg":9.773564,"altitude":3,"angle":30,"satellites":28,"speed":30,"hex_longitude":"2d7f2400","hex_latitude":"05d353d8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498302208001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120503420682502144,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155114380020992000,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:27] 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-08-19 06:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787102757000,"timestamp_ms":1787102757000,"timestamp_seconds":1787102757,"priority":1,"record_length":96,"hex_timestamp":"000001a017a00088"} 
[2026-08-19 06:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:57:27] 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-08-19 06: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-19 06:57:27] 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-08-19 06: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-08-19 06:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498302208001,"66":13319,"167":206,"85":15104,"24":30,"16":120503420682502144,"45":9155114380020992000},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-19 06:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498302208001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:57:27] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 06:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120503420682502144,"km_value":120503420682502.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155114380020992000,"description":"Unknown IO ID 45"} 
[2026-08-19 06:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498302208001,"power":13319,"unknown_167":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9155114380020992000}} 
[2026-08-19 06:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":159906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:57:27] local.INFO: GPS data processed {"connection_id":159906,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:57:27] local.INFO: Acknowledgment sent {"connection_id":159906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:57:28] local.INFO: TCP Data received {"connection_id":159906,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a00088012d7f240005d353d80003001e1c..."} 
[2026-08-19 06:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a00088012d7f240005d353d80003001e1c..."} 
[2026-08-19 06:57:28] local.INFO: Processing buffer {"connection_id":159906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a00088012d7f240005d353d80003001e1c..."} 
[2026-08-19 06:57:28] local.INFO: Packet analysis {"connection_id":159906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a0"} 
[2026-08-19 06:57:28] local.INFO: Extracted packet for processing {"connection_id":159906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a0"} 
[2026-08-19 06:57:28] local.INFO: GPS Element Parsed {"raw_longitude":763307008,"raw_latitude":97735640,"longitude_deg":76.3307008,"latitude_deg":9.773564,"altitude":3,"angle":30,"satellites":28,"speed":30,"hex_longitude":"2d7f2400","hex_latitude":"05d353d8","is_valid_coordinates":true} 
[2026-08-19 06:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498305792001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120503420682502144,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161447566998755328,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:28] 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-08-19 06:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787102757000,"timestamp_ms":1787102757000,"timestamp_seconds":1787102757,"priority":1,"record_length":96,"hex_timestamp":"000001a017a00088"} 
[2026-08-19 06:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 06:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 06:57:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:28] local.WARNING: Large IO value detected {"io_id":28,"raw_value":3019898880,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:28] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024909,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:28] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2674917377,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:28] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2251799813690366720,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-19 06:57:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3542040576,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:28] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":470627455970541573,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:28] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,167,85,24,241,157,16,29,160,201,45,128,56,4,27,10,66,109,28,182,52,3,170,192,1,240,214,227,23,211,113,205,25,61,206,239,2,172,5,7,159],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-19 06:57:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216205887723667456,"timestamp_seconds":216205887723667.47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 06:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498305792001,"66":13319,"167":206,"85":15104,"24":30,"16":120503420682502144,"45":9161447566998755328},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-19 06:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498305792001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:57:28] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 06:57:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120503420682502144,"km_value":120503420682502.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161447566998755328,"description":"Unknown IO ID 45"} 
[2026-08-19 06:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498305792001,"power":13319,"unknown_167":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9161447566998755328}} 
[2026-08-19 06:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":159906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:57:28] local.INFO: GPS data processed {"connection_id":159906,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:57:28] local.INFO: Acknowledgment sent {"connection_id":159906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:57:38] local.INFO: TCP Data received {"connection_id":157734,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:57:38] local.INFO: Processing buffer {"connection_id":157734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:57:38] local.INFO: Packet analysis {"connection_id":157734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 06:57:38] local.INFO: Extracted packet for processing {"connection_id":157734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 06:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498222592001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:38] 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-08-19 06:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787102733000,"timestamp_ms":1787102733000,"timestamp_seconds":1787102733,"priority":1,"record_length":96,"hex_timestamp":"000001a0179fa2c8"} 
[2026-08-19 06:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 06:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:57:38] 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-08-19 06:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498222592001,"66":25604,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-19 06:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498222592001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498222592001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":157734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:57:38] local.INFO: GPS data processed {"connection_id":157734,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:57:38] local.INFO: Acknowledgment sent {"connection_id":157734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:57:46] local.INFO: TCP Data received {"connection_id":157735,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:57:46] local.INFO: Processing buffer {"connection_id":157735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:57:46] local.INFO: IMEI packet received {"connection_id":157735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 06:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":157735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:57:49] local.INFO: TCP Data received {"connection_id":157735,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:57:49] local.INFO: Processing buffer {"connection_id":157735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:57:49] local.INFO: IMEI packet received {"connection_id":157735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 06:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":157735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:57:54] local.INFO: TCP Data received {"connection_id":157735,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:57:54] local.INFO: Processing buffer {"connection_id":157735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:57:54] local.INFO: IMEI packet received {"connection_id":157735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 06:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":157735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:57:55] local.INFO: TCP Data received {"connection_id":157735,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a02f68012d7f368005d37340000300231d..."} 
[2026-08-19 06:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a02f68012d7f368005d37340000300231d..."} 
[2026-08-19 06:57:55] local.INFO: Processing buffer {"connection_id":157735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a02f68012d7f368005d37340000300231d..."} 
[2026-08-19 06:57:55] local.INFO: Packet analysis {"connection_id":157735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a0"} 
[2026-08-19 06:57:55] local.INFO: Extracted packet for processing {"connection_id":157735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a0"} 
[2026-08-19 06:57:55] local.INFO: GPS Element Parsed {"raw_longitude":763311744,"raw_latitude":97743680,"longitude_deg":76.3311744,"latitude_deg":9.774368,"altitude":3,"angle":35,"satellites":29,"speed":28,"hex_longitude":"2d7f3680","hex_latitude":"05d37340","is_valid_coordinates":true} 
[2026-08-19 06:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498305792001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120503871654068224,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161447566998755328,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:55] 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-08-19 06:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787102769000,"timestamp_ms":1787102769000,"timestamp_seconds":1787102769,"priority":1,"record_length":96,"hex_timestamp":"000001a017a02f68"} 
[2026-08-19 06:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 06:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 06:57:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:55] local.WARNING: Large IO value detected {"io_id":28,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:55] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2678757377,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:55] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2251799813690366720,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-19 06:57:55] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2499857741,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3542532096,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:55] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57787500785980731,"corrected_to":0} 
[2026-08-19 06:57:55] local.WARNING: Large IO value detected {"io_id":159,"raw_value":470627455970541573,"note":"Value kept but may cause issues"} 
[2026-08-19 06:57:55] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,167,85,24,241,157,16,29,160,45,83,3,28,10,66,201,128,56,4,27,109,182,1,240,7,227,23,211,113,205,12,112,32,239,52,2,172,5,26,247,159],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":247,"original":57787500785980731,"validated":0}]} 
[2026-08-19 06:57:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216205887723667456,"timestamp_seconds":216205887723667.47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 06:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":157735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":157735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":157735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498305792001,"66":13504,"167":206,"85":15104,"24":28,"16":120503871654068224,"45":9161447566998755328},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-19 06:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498305792001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:57:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 06:57:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120503871654068224,"km_value":120503871654068.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161447566998755328,"description":"Unknown IO ID 45"} 
[2026-08-19 06:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498305792001,"power":13504,"unknown_167":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9161447566998755328}} 
[2026-08-19 06:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":157735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:57:55] local.INFO: GPS data processed {"connection_id":157735,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:57:55] local.INFO: Acknowledgment sent {"connection_id":157735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:58:00] local.INFO: TCP Data received {"connection_id":157353,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:58:00] local.INFO: Processing buffer {"connection_id":157353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:58:00] local.INFO: IMEI packet received {"connection_id":157353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":157353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:58:05] local.INFO: TCP Data received {"connection_id":157353,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:58:05] local.INFO: Processing buffer {"connection_id":157353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:58:05] local.INFO: IMEI packet received {"connection_id":157353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":157353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:58:06] local.INFO: TCP Data received {"connection_id":157353,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:58:06] local.INFO: Processing buffer {"connection_id":157353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:58:06] local.INFO: Packet analysis {"connection_id":157353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 06:58:06] local.INFO: Extracted packet for processing {"connection_id":157353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 06:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498222592001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:58:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:58:06] 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-08-19 06:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787102733000,"timestamp_ms":1787102733000,"timestamp_seconds":1787102733,"priority":1,"record_length":96,"hex_timestamp":"000001a0179fa2c8"} 
[2026-08-19 06:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 06:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:58:06] 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-08-19 06:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498222592001,"66":25604,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498222592001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498222592001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":157353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:58:06] local.INFO: GPS data processed {"connection_id":157353,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:58:06] local.INFO: Acknowledgment sent {"connection_id":157353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:58:25] local.INFO: TCP Data received {"connection_id":157735,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a1e8d0012d80444005d383680006007122..."} 
[2026-08-19 06:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a1e8d0012d80444005d383680006007122..."} 
[2026-08-19 06:58:25] local.INFO: Processing buffer {"connection_id":157735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a1e8d0012d80444005d383680006007122..."} 
[2026-08-19 06:58:25] local.INFO: Packet analysis {"connection_id":157735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a1"} 
[2026-08-19 06:58:25] local.INFO: Extracted packet for processing {"connection_id":157735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a1"} 
[2026-08-19 06:58:25] local.INFO: GPS Element Parsed {"raw_longitude":763380800,"raw_latitude":97747816,"longitude_deg":76.33808,"latitude_deg":9.7747816,"altitude":6,"angle":113,"satellites":34,"speed":19,"hex_longitude":"2d804440","hex_latitude":"05d38368","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498337536001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120507427886989312,"note":"Value kept but may cause issues"} 
[2026-08-19 06:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204583557135835136,"note":"Value kept but may cause issues"} 
[2026-08-19 06:58:25] 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-08-19 06:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787102882000,"timestamp_ms":1787102882000,"timestamp_seconds":1787102882,"priority":1,"record_length":96,"hex_timestamp":"000001a017a1e8d0"} 
[2026-08-19 06:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:58:25] 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-08-19 06: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-19 06:58:25] 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-08-19 06: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-08-19 06:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":157735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":157735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":157735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498337536001,"66":13624,"167":206,"85":15104,"24":19,"16":120507427886989312,"45":-9204583557135835136},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-19 06:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498337536001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:58:25] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 06:58:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120507427886989312,"km_value":120507427886989.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204583557135835136,"description":"Unknown IO ID 45"} 
[2026-08-19 06:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498337536001,"power":13624,"unknown_167":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9204583557135835136}} 
[2026-08-19 06:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":157735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:58:26] local.INFO: GPS data processed {"connection_id":157735,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:58:26] local.INFO: Acknowledgment sent {"connection_id":157735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:58:37] local.INFO: TCP Data received {"connection_id":157353,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:58:37] local.INFO: Processing buffer {"connection_id":157353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:58:37] local.INFO: Packet analysis {"connection_id":157353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 06:58:37] local.INFO: Extracted packet for processing {"connection_id":157353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 06:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498222592001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:58:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:58:37] 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-08-19 06:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787102733000,"timestamp_ms":1787102733000,"timestamp_seconds":1787102733,"priority":1,"record_length":96,"hex_timestamp":"000001a0179fa2c8"} 
[2026-08-19 06:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:58: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-08-19 06:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 06:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498222592001,"66":25604,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498222592001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498222592001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":157353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:58:37] local.INFO: GPS data processed {"connection_id":157353,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:58:37] local.INFO: Acknowledgment sent {"connection_id":157353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:58:49] local.INFO: TCP Data received {"connection_id":159907,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:58:49] local.INFO: Processing buffer {"connection_id":159907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:58:49] local.INFO: IMEI packet received {"connection_id":159907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 06:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":159907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:58:49] local.INFO: TCP Data received {"connection_id":159907,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:58:49] local.INFO: Processing buffer {"connection_id":159907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:58:49] local.INFO: IMEI packet received {"connection_id":159907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 06:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":159907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:58:54] local.INFO: TCP Data received {"connection_id":159907,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:58:54] local.INFO: Processing buffer {"connection_id":159907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:58:54] local.INFO: IMEI packet received {"connection_id":159907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 06:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":159907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:58:55] local.INFO: TCP Data received {"connection_id":159907,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a1f0a0012d80484005d382700005005e22..."} 
[2026-08-19 06:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a1f0a0012d80484005d382700005005e22..."} 
[2026-08-19 06:58:55] local.INFO: Processing buffer {"connection_id":159907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a1f0a0012d80484005d382700005005e22..."} 
[2026-08-19 06:58:55] local.INFO: Packet analysis {"connection_id":159907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a1"} 
[2026-08-19 06:58:55] local.INFO: Extracted packet for processing {"connection_id":159907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a1"} 
[2026-08-19 06:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763381824,"raw_latitude":97747568,"longitude_deg":76.3381824,"latitude_deg":9.7747568,"altitude":5,"angle":94,"satellites":34,"speed":21,"hex_longitude":"2d804840","hex_latitude":"05d38270","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498337792001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120507479426596864,"note":"Value kept but may cause issues"} 
[2026-08-19 06:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204161344670832640,"note":"Value kept but may cause issues"} 
[2026-08-19 06:58:55] 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-08-19 06:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787102884000,"timestamp_ms":1787102884000,"timestamp_seconds":1787102884,"priority":1,"record_length":96,"hex_timestamp":"000001a017a1f0a0"} 
[2026-08-19 06:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 06: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-19 06:58:55] 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-08-19 06: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-08-19 06:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498337792001,"66":13406,"167":206,"85":15104,"24":21,"16":120507479426596864,"45":-9204161344670832640},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-19 06:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498337792001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:58:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 06:58:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120507479426596864,"km_value":120507479426596.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204161344670832640,"description":"Unknown IO ID 45"} 
[2026-08-19 06:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498337792001,"power":13406,"unknown_167":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9204161344670832640}} 
[2026-08-19 06:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":159907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:58:55] local.INFO: GPS data processed {"connection_id":159907,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:58:55] local.INFO: Acknowledgment sent {"connection_id":159907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:59:00] local.INFO: TCP Data received {"connection_id":157354,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:59:00] local.INFO: Processing buffer {"connection_id":157354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:59:00] local.INFO: IMEI packet received {"connection_id":157354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 06:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":157354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:59:06] local.INFO: TCP Data received {"connection_id":157354,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:59:06] local.INFO: Processing buffer {"connection_id":157354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 06:59:06] local.INFO: IMEI packet received {"connection_id":157354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 06:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":157354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:59:07] local.INFO: TCP Data received {"connection_id":157354,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:59:07] local.INFO: Processing buffer {"connection_id":157354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:59:07] local.INFO: Packet analysis {"connection_id":157354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 06:59:07] local.INFO: Extracted packet for processing {"connection_id":157354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 06:59:07] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 06:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498222592001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:59:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:59: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-08-19 06:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787102733000,"timestamp_ms":1787102733000,"timestamp_seconds":1787102733,"priority":1,"record_length":96,"hex_timestamp":"000001a0179fa2c8"} 
[2026-08-19 06:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:59: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-08-19 06:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 06:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 06:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:59:07] 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-08-19 06:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498222592001,"66":25604,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498222592001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:59:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498222592001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":157354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:59:07] local.INFO: GPS data processed {"connection_id":157354,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:59:07] local.INFO: Acknowledgment sent {"connection_id":157354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:59:26] local.INFO: TCP Data received {"connection_id":159907,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a22750012d806e0005d37ea80004005d20..."} 
[2026-08-19 06:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a22750012d806e0005d37ea80004005d20..."} 
[2026-08-19 06:59:26] local.INFO: Processing buffer {"connection_id":159907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a22750012d806e0005d37ea80004005d20..."} 
[2026-08-19 06:59:26] local.INFO: Packet analysis {"connection_id":159907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a2"} 
[2026-08-19 06:59:26] local.INFO: Extracted packet for processing {"connection_id":159907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a2"} 
[2026-08-19 06:59:26] local.INFO: GPS Element Parsed {"raw_longitude":763391488,"raw_latitude":97746600,"longitude_deg":76.3391488,"latitude_deg":9.77466,"altitude":4,"angle":93,"satellites":32,"speed":34,"hex_longitude":"2d806e00","hex_latitude":"05d37ea8","is_valid_coordinates":true} 
[2026-08-19 06:59: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-08-19 06:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498338304001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120507943283064832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203035444764053504,"note":"Value kept but may cause issues"} 
[2026-08-19 06:59:26] 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-08-19 06:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787102898000,"timestamp_ms":1787102898000,"timestamp_seconds":1787102898,"priority":1,"record_length":96,"hex_timestamp":"000001a017a22750"} 
[2026-08-19 06:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:59: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-08-19 06:59: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":94,"data_length":795,"current_offset":136} 
[2026-08-19 06:59:26] 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-08-19 06:59: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-08-19 06:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498338304001,"66":13656,"167":206,"85":15104,"24":34,"16":120507943283064832,"45":-9203035444764053504},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-19 06:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498338304001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:59:26] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 06:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120507943283064832,"km_value":120507943283064.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203035444764053504,"description":"Unknown IO ID 45"} 
[2026-08-19 06:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498338304001,"power":13656,"unknown_167":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9203035444764053504}} 
[2026-08-19 06:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":159907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:59:26] local.INFO: GPS data processed {"connection_id":159907,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:59:26] local.INFO: Acknowledgment sent {"connection_id":159907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:59:38] local.INFO: TCP Data received {"connection_id":157354,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:59:38] local.INFO: Processing buffer {"connection_id":157354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 06:59:38] local.INFO: Packet analysis {"connection_id":157354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 06:59:38] local.INFO: Extracted packet for processing {"connection_id":157354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 06:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498222592001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:59:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 06:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 06:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 06:59:38] 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-08-19 06:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787102733000,"timestamp_ms":1787102733000,"timestamp_seconds":1787102733,"priority":1,"record_length":96,"hex_timestamp":"000001a0179fa2c8"} 
[2026-08-19 06:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 06:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 06: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-08-19 06:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 06:59:38] 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-08-19 06:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 06:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 06:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498222592001,"66":25604,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 06:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 06:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 06:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498222592001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 06:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 06:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498222592001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 06:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":157354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:59:38] local.INFO: GPS data processed {"connection_id":157354,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:59:38] local.INFO: Acknowledgment sent {"connection_id":157354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 06:59:49] local.INFO: TCP Data received {"connection_id":157736,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:59:49] local.INFO: Processing buffer {"connection_id":157736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:59:49] local.INFO: IMEI packet received {"connection_id":157736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 06:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":157736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 06:59:54] local.INFO: TCP Data received {"connection_id":157736,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:59:54] local.INFO: Processing buffer {"connection_id":157736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 06:59:54] local.INFO: IMEI packet received {"connection_id":157736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 06:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":157736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 06:59:55] local.INFO: TCP Data received {"connection_id":157736,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a25630012d808c4005d37be80005007422..."} 
[2026-08-19 06:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a25630012d808c4005d37be80005007422..."} 
[2026-08-19 06:59:55] local.INFO: Processing buffer {"connection_id":157736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a25630012d808c4005d37be80005007422..."} 
[2026-08-19 06:59:55] local.INFO: Packet analysis {"connection_id":157736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a2"} 
[2026-08-19 06:59:55] local.INFO: Extracted packet for processing {"connection_id":157736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a2"} 
[2026-08-19 06:59:55] local.INFO: GPS Element Parsed {"raw_longitude":763399232,"raw_latitude":97745896,"longitude_deg":76.3399232,"latitude_deg":9.7745896,"altitude":5,"angle":116,"satellites":34,"speed":8,"hex_longitude":"2d808c40","hex_latitude":"05d37be8","is_valid_coordinates":true} 
[2026-08-19 06: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-08-19 06:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498341888001,"note":"Value kept but may cause issues"} 
[2026-08-19 06:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120508312650252288,"note":"Value kept but may cause issues"} 
[2026-08-19 06:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192409764393474048,"note":"Value kept but may cause issues"} 
[2026-08-19 06:59:55] 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-08-19 06:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787102910000,"timestamp_ms":1787102910000,"timestamp_seconds":1787102910,"priority":1,"record_length":96,"hex_timestamp":"000001a017a25630"} 
[2026-08-19 06:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 06:59:55] 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-08-19 06: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-19 06:59:55] 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-08-19 06: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-08-19 06:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 06:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 06:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":157736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 06:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":157736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":157736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 06:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 06:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 06:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 06:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498341888001,"66":13406,"167":206,"85":15104,"24":8,"16":120508312650252288,"45":-9192409764393474048},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-19 06:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 06:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 06:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498341888001,"description":"Unknown IO ID 0"} 
[2026-08-19 06:59:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 06:59:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 06:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120508312650252288,"km_value":120508312650252.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 06:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192409764393474048,"description":"Unknown IO ID 45"} 
[2026-08-19 06:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498341888001,"power":13406,"unknown_167":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9192409764393474048}} 
[2026-08-19 06:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":157736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 06:59:55] local.INFO: GPS data processed {"connection_id":157736,"processed":1,"errors":0,"total":1} 
[2026-08-19 06:59:55] local.INFO: Acknowledgment sent {"connection_id":157736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:00:05] local.INFO: TCP Data received {"connection_id":158622,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:00:05] local.INFO: Processing buffer {"connection_id":158622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:00:05] local.INFO: IMEI packet received {"connection_id":158622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":158622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:00:10] local.INFO: TCP Data received {"connection_id":158622,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:00:10] local.INFO: Processing buffer {"connection_id":158622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:00:10] local.INFO: IMEI packet received {"connection_id":158622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":158622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:00:11] local.INFO: TCP Data received {"connection_id":158622,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 07:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 07:00:11] local.INFO: Processing buffer {"connection_id":158622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 07:00:11] local.INFO: Packet analysis {"connection_id":158622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 07:00:11] local.INFO: Extracted packet for processing {"connection_id":158622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 07:00:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498222592001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 07:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:11] 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-08-19 07:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787102733000,"timestamp_ms":1787102733000,"timestamp_seconds":1787102733,"priority":1,"record_length":96,"hex_timestamp":"000001a0179fa2c8"} 
[2026-08-19 07:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 07:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498222592001,"66":25604,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 07:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498222592001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:00:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 07:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498222592001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 07:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":158622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:00:11] local.INFO: GPS data processed {"connection_id":158622,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:00:11] local.INFO: Acknowledgment sent {"connection_id":158622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:00:15] local.INFO: TCP Data received {"connection_id":158622,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 07:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 07:00:15] local.INFO: Processing buffer {"connection_id":158622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0179fa2c8012d34c18006aa49b8000901122c..."} 
[2026-08-19 07:00:15] local.INFO: Packet analysis {"connection_id":158622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 07:00:15] local.INFO: Extracted packet for processing {"connection_id":158622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0179f"} 
[2026-08-19 07:00:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498222592001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 07:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:15] 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-08-19 07:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787102733000,"timestamp_ms":1787102733000,"timestamp_seconds":1787102733,"priority":1,"record_length":96,"hex_timestamp":"000001a0179fa2c8"} 
[2026-08-19 07:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 07:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498222592001,"66":25604,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 07:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498222592001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:00:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 07:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498222592001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 07:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":158622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:00:15] local.INFO: GPS data processed {"connection_id":158622,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:00:15] local.INFO: Acknowledgment sent {"connection_id":158622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:00:26] local.INFO: TCP Data received {"connection_id":157736,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a3dcd0012d80c90005d2f3080007008c22..."} 
[2026-08-19 07:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a3dcd0012d80c90005d2f3080007008c22..."} 
[2026-08-19 07:00:26] local.INFO: Processing buffer {"connection_id":157736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a3dcd0012d80c90005d2f3080007008c22..."} 
[2026-08-19 07:00:26] local.INFO: Packet analysis {"connection_id":157736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a3"} 
[2026-08-19 07:00:26] local.INFO: Extracted packet for processing {"connection_id":157736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a3"} 
[2026-08-19 07:00:26] local.INFO: GPS Element Parsed {"raw_longitude":763414784,"raw_latitude":97710856,"longitude_deg":76.3414784,"latitude_deg":9.7710856,"altitude":7,"angle":140,"satellites":34,"speed":24,"hex_longitude":"2d80c900","hex_latitude":"05d2f308","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498370048001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120510653407428608,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9167991810172774400,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:26] 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-08-19 07:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787103010000,"timestamp_ms":1787103010000,"timestamp_seconds":1787103010,"priority":1,"record_length":96,"hex_timestamp":"000001a017a3dcd0"} 
[2026-08-19 07:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 07:00:26] 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-08-19 07: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-08-19 07:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498370048001,"66":12819,"167":206,"85":15104,"24":24,"16":120510653407428608,"45":-9167991810172774400},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-19 07:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498370048001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:00:26] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 07:00:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120510653407428608,"km_value":120510653407428.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9167991810172774400,"description":"Unknown IO ID 45"} 
[2026-08-19 07:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498370048001,"power":12819,"unknown_167":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9167991810172774400}} 
[2026-08-19 07:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":157736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:00:26] local.INFO: GPS data processed {"connection_id":157736,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:00:26] local.INFO: Acknowledgment sent {"connection_id":157736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:00:49] local.INFO: TCP Data received {"connection_id":159908,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:00:49] local.INFO: Processing buffer {"connection_id":159908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:00:49] local.INFO: IMEI packet received {"connection_id":159908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":159908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:00:49] local.INFO: TCP Data received {"connection_id":159908,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:00:49] local.INFO: Processing buffer {"connection_id":159908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:00:49] local.INFO: IMEI packet received {"connection_id":159908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":159908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:00:51] local.INFO: TCP Data received {"connection_id":159908,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:00:51] local.INFO: Processing buffer {"connection_id":159908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:00:51] local.INFO: IMEI packet received {"connection_id":159908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":159908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:00:54] local.INFO: TCP Data received {"connection_id":159908,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:00:54] local.INFO: Processing buffer {"connection_id":159908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:00:54] local.INFO: IMEI packet received {"connection_id":159908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":159908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:00:55] local.INFO: TCP Data received {"connection_id":159908,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a3e0b8012d80c9c005d2f0f00007009d22..."} 
[2026-08-19 07:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a3e0b8012d80c9c005d2f0f00007009d22..."} 
[2026-08-19 07:00:55] local.INFO: Processing buffer {"connection_id":159908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a3e0b8012d80c9c005d2f0f00007009d22..."} 
[2026-08-19 07:00:55] local.INFO: Packet analysis {"connection_id":159908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a3"} 
[2026-08-19 07:00:55] local.INFO: Extracted packet for processing {"connection_id":159908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a3"} 
[2026-08-19 07:00:55] local.INFO: GPS Element Parsed {"raw_longitude":763414976,"raw_latitude":97710320,"longitude_deg":76.3414976,"latitude_deg":9.771032,"altitude":7,"angle":157,"satellites":34,"speed":24,"hex_longitude":"2d80c9c0","hex_latitude":"05d2f0f0","is_valid_coordinates":true} 
[2026-08-19 07:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498370560001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120510683472199680,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9166795541521954816,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:55] 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-08-19 07:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787103011000,"timestamp_ms":1787103011000,"timestamp_seconds":1787103011,"priority":1,"record_length":96,"hex_timestamp":"000001a017a3e0b8"} 
[2026-08-19 07:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:00:55] 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-08-19 07:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 07:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2158559237,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:55] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":6144,"corrected_to":0} 
[2026-08-19 07:00:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:55] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505438465687552,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:55] local.WARNING: Large IO value detected {"io_id":23,"raw_value":-6657894744846195264,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:55] local.WARNING: Large IO value detected {"io_id":210,"raw_value":4195352582,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:55] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4539892311479615744,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6438176256109641704,"corrected_to":0} 
[2026-08-19 07:00:55] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84865417369473796,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:55] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182109450535168,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:55] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629273915608661,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3241413055107517406,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:55] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:55] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195206400,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:55] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2252573478230272,"note":"Value kept but may cause issues"} 
[2026-08-19 07:00:55] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,167,85,24,241,157,16,35,160,213,45,192,246,6,34,10,66,181,248,177,1,240,7,227,23,210,4,113,205,20,170,104,239,52,2,172,5,21,59,98,69,48],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":246,"original":6144,"validated":0},{"io_id":205,"original":-6438176256109641704,"validated":0}]} 
[2026-08-19 07:00:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504557235923845120,"timestamp_seconds":504557235923845.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 07:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498370560001,"66":13428,"167":206,"85":15104,"24":24,"16":120510683472199680,"45":-9166795541521954816},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-19 07:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498370560001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:00:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 07:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120510683472199680,"km_value":120510683472199.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9166795541521954816,"description":"Unknown IO ID 45"} 
[2026-08-19 07:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498370560001,"power":13428,"unknown_167":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9166795541521954816}} 
[2026-08-19 07:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":159908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:00:55] local.INFO: GPS data processed {"connection_id":159908,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:00:55] local.INFO: Acknowledgment sent {"connection_id":159908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:00:58] local.INFO: TCP Data received {"connection_id":157737,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:00:58] local.INFO: Processing buffer {"connection_id":157737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:00:58] local.INFO: IMEI packet received {"connection_id":157737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":157737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:01:00] local.INFO: TCP Data received {"connection_id":157737,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:01:00] local.INFO: Processing buffer {"connection_id":157737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:01:00] local.INFO: IMEI packet received {"connection_id":157737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":157737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:01:05] local.INFO: TCP Data received {"connection_id":157737,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:01:05] local.INFO: Processing buffer {"connection_id":157737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:01:05] local.INFO: IMEI packet received {"connection_id":157737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":157737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:01:09] local.INFO: TCP Data received {"connection_id":157737,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a017a403e0012d34c18006aa49b8000901122d..."} 
[2026-08-19 07:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a403e0012d34c18006aa49b8000901122d..."} 
[2026-08-19 07:01:09] local.INFO: Processing buffer {"connection_id":157737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a403e0012d34c18006aa49b8000901122d..."} 
[2026-08-19 07:01:09] local.INFO: Packet analysis {"connection_id":157737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a4"} 
[2026-08-19 07:01:09] local.INFO: Extracted packet for processing {"connection_id":157737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a4"} 
[2026-08-19 07:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823288,"longitude_deg":75.8432128,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 07:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498299648001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:01:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 07:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 07:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 07:01:09] 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-08-19 07:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787103020000,"timestamp_ms":1787103020000,"timestamp_seconds":1787103020,"priority":1,"record_length":96,"hex_timestamp":"000001a017a403e0"} 
[2026-08-19 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-08-19 07:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 07:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 07:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498299648001,"66":25625,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 07:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498299648001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 07:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498299648001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 07:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":157737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:01:09] local.INFO: GPS data processed {"connection_id":157737,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:01:09] local.INFO: Acknowledgment sent {"connection_id":157737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:01:26] local.INFO: TCP Data received {"connection_id":159908,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a4f610012d811b8005d266c80000009122..."} 
[2026-08-19 07:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a4f610012d811b8005d266c80000009122..."} 
[2026-08-19 07:01:26] local.INFO: Processing buffer {"connection_id":159908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a4f610012d811b8005d266c80000009122..."} 
[2026-08-19 07:01:26] local.INFO: Packet analysis {"connection_id":159908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a4"} 
[2026-08-19 07:01:26] local.INFO: Extracted packet for processing {"connection_id":159908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a4"} 
[2026-08-19 07:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763435904,"raw_latitude":97674952,"longitude_deg":76.3435904,"latitude_deg":9.7674952,"altitude":0,"angle":145,"satellites":34,"speed":23,"hex_longitude":"2d811b80","hex_latitude":"05d266c8","is_valid_coordinates":true} 
[2026-08-19 07:01: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-08-19 07:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498388736001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120512981279703040,"note":"Value kept but may cause issues"} 
[2026-08-19 07:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143996068417468416,"note":"Value kept but may cause issues"} 
[2026-08-19 07:01:26] 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-08-19 07:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787103082000,"timestamp_ms":1787103082000,"timestamp_seconds":1787103082,"priority":1,"record_length":96,"hex_timestamp":"000001a017a4f610"} 
[2026-08-19 07:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 07:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:01: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-08-19 07:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498388736001,"66":13363,"208":206,"85":15104,"24":23,"16":120512981279703040,"45":-9143996068417468416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 07:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498388736001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:01:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 07:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120512981279703040,"km_value":120512981279703.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143996068417468416,"description":"Unknown IO ID 45"} 
[2026-08-19 07:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498388736001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9143996068417468416}} 
[2026-08-19 07:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":159908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:01:26] local.INFO: GPS data processed {"connection_id":159908,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:01:26] local.INFO: Acknowledgment sent {"connection_id":159908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:01:40] local.INFO: TCP Data received {"connection_id":157737,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a017a45db8012d34c04006aa49b8000901122d..."} 
[2026-08-19 07:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a45db8012d34c04006aa49b8000901122d..."} 
[2026-08-19 07:01:41] local.INFO: Processing buffer {"connection_id":157737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a45db8012d34c04006aa49b8000901122d..."} 
[2026-08-19 07:01:41] local.INFO: Packet analysis {"connection_id":157737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a4"} 
[2026-08-19 07:01:41] local.INFO: Extracted packet for processing {"connection_id":157737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a4"} 
[2026-08-19 07:01:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111823288,"longitude_deg":75.8431808,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 07:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498373120001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:01:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 07:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 07:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592526336,"note":"Value kept but may cause issues"} 
[2026-08-19 07:01: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-08-19 07:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787103043000,"timestamp_ms":1787103043000,"timestamp_seconds":1787103043,"priority":1,"record_length":96,"hex_timestamp":"000001a017a45db8"} 
[2026-08-19 07:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 07:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498373120001,"66":27800,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801460326592526336},"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-08-19 07:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498373120001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:01:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592526336,"description":"Unknown IO ID 45"} 
[2026-08-19 07:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498373120001,"power":27800,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592526336}} 
[2026-08-19 07:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":157737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:01:41] local.INFO: GPS data processed {"connection_id":157737,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:01:41] local.INFO: Acknowledgment sent {"connection_id":157737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:01:49] local.INFO: TCP Data received {"connection_id":157355,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:01:49] local.INFO: Processing buffer {"connection_id":157355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:01:49] local.INFO: IMEI packet received {"connection_id":157355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":157355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:01:49] local.INFO: TCP Data received {"connection_id":157355,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:01:49] local.INFO: Processing buffer {"connection_id":157355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:01:49] local.INFO: IMEI packet received {"connection_id":157355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":157355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:01:52] local.INFO: TCP Data received {"connection_id":157355,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:01:52] local.INFO: Processing buffer {"connection_id":157355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:01:52] local.INFO: IMEI packet received {"connection_id":157355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":157355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:01:54] local.INFO: TCP Data received {"connection_id":157355,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:01:54] local.INFO: Processing buffer {"connection_id":157355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:01:54] local.INFO: IMEI packet received {"connection_id":157355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":157355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:01:54] local.INFO: TCP Data received {"connection_id":157355,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a4f9f8012d811c0005d26470000000a222..."} 
[2026-08-19 07:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a4f9f8012d811c0005d26470000000a222..."} 
[2026-08-19 07:01:54] local.INFO: Processing buffer {"connection_id":157355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a4f9f8012d811c0005d26470000000a222..."} 
[2026-08-19 07:01:54] local.INFO: Packet analysis {"connection_id":157355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a4"} 
[2026-08-19 07:01:54] local.INFO: Extracted packet for processing {"connection_id":157355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a4"} 
[2026-08-19 07:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763436032,"raw_latitude":97674352,"longitude_deg":76.3436032,"latitude_deg":9.7674352,"altitude":0,"angle":162,"satellites":34,"speed":24,"hex_longitude":"2d811c00","hex_latitude":"05d26470","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498388992001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120513011344474112,"note":"Value kept but may cause issues"} 
[2026-08-19 07:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143573855952517120,"note":"Value kept but may cause issues"} 
[2026-08-19 07:01:54] 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-08-19 07:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787103083000,"timestamp_ms":1787103083000,"timestamp_seconds":1787103083,"priority":1,"record_length":96,"hex_timestamp":"000001a017a4f9f8"} 
[2026-08-19 07:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:01:54] 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-08-19 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 07:01:54] 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-08-19 07: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-08-19 07:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":157355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":157355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":157355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498388992001,"66":13363,"208":206,"85":15104,"24":24,"16":120513011344474112,"45":-9143573855952517120},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 07:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498388992001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:01:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 07:01:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120513011344474112,"km_value":120513011344474.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143573855952517120,"description":"Unknown IO ID 45"} 
[2026-08-19 07:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498388992001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9143573855952517120}} 
[2026-08-19 07:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":157355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:01:54] local.INFO: GPS data processed {"connection_id":157355,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:01:54] local.INFO: Acknowledgment sent {"connection_id":157355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:02:00] local.INFO: TCP Data received {"connection_id":157356,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:02:00] local.INFO: Processing buffer {"connection_id":157356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:02:00] local.INFO: IMEI packet received {"connection_id":157356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":157356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:02:06] local.INFO: TCP Data received {"connection_id":157356,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:02:06] local.INFO: Processing buffer {"connection_id":157356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:02:06] local.INFO: IMEI packet received {"connection_id":157356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":157356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:02:07] local.INFO: TCP Data received {"connection_id":157356,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a017a4afc0012d34c04006aa49b8000901122a..."} 
[2026-08-19 07:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a4afc0012d34c04006aa49b8000901122a..."} 
[2026-08-19 07:02:07] local.INFO: Processing buffer {"connection_id":157356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a4afc0012d34c04006aa49b8000901122a..."} 
[2026-08-19 07:02:07] local.INFO: Packet analysis {"connection_id":157356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a4"} 
[2026-08-19 07:02:07] local.INFO: Extracted packet for processing {"connection_id":157356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a4"} 
[2026-08-19 07:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111823288,"longitude_deg":75.8431808,"latitude_deg":11.1823288,"altitude":9,"angle":274,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa49b8","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498379008001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:02:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 07:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388240103800832,"note":"Value kept but may cause issues"} 
[2026-08-19 07:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871638016,"note":"Value kept but may cause issues"} 
[2026-08-19 07:02: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-08-19 07:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787103064000,"timestamp_ms":1787103064000,"timestamp_seconds":1787103064,"priority":1,"record_length":96,"hex_timestamp":"000001a017a4afc0"} 
[2026-08-19 07:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 07:02:07] 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-08-19 07: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-08-19 07:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:02:07] 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-08-19 07:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498379008001,"66":27919,"200":0,"81":23296,"24":0,"16":385388240103800832,"45":3801108482871638016},"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-08-19 07:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498379008001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:02:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388240103800832,"km_value":385388240103800.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871638016,"description":"Unknown IO ID 45"} 
[2026-08-19 07:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498379008001,"power":27919,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871638016}} 
[2026-08-19 07:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":157356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:02:07] local.INFO: GPS data processed {"connection_id":157356,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:02:07] local.INFO: Acknowledgment sent {"connection_id":157356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:02:25] local.INFO: TCP Data received {"connection_id":157355,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a5dc88012d81128005d18bf80000008422..."} 
[2026-08-19 07:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a5dc88012d81128005d18bf80000008422..."} 
[2026-08-19 07:02:25] local.INFO: Processing buffer {"connection_id":157355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a5dc88012d81128005d18bf80000008422..."} 
[2026-08-19 07:02:25] local.INFO: Packet analysis {"connection_id":157355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a5"} 
[2026-08-19 07:02:25] local.INFO: Extracted packet for processing {"connection_id":157355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a5"} 
[2026-08-19 07:02:25] local.INFO: GPS Element Parsed {"raw_longitude":763433600,"raw_latitude":97618936,"longitude_deg":76.34336,"latitude_deg":9.7618936,"altitude":0,"angle":132,"satellites":34,"speed":11,"hex_longitude":"2d811280","hex_latitude":"05d18bf8","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498403840001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120515734353739776,"note":"Value kept but may cause issues"} 
[2026-08-19 07:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146247868245549056,"note":"Value kept but may cause issues"} 
[2026-08-19 07:02: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-08-19 07:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787103141000,"timestamp_ms":1787103141000,"timestamp_seconds":1787103141,"priority":1,"record_length":96,"hex_timestamp":"000001a017a5dc88"} 
[2026-08-19 07:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 07:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163734281591,"note":"Value kept but may cause issues"} 
[2026-08-19 07:02:25] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399468,"note":"Value kept but may cause issues"} 
[2026-08-19 07:02:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 07:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2165669893,"note":"Value kept but may cause issues"} 
[2026-08-19 07:02:25] local.WARNING: Large IO value detected {"io_id":39,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-08-19 07:02:25] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4152360960,"note":"Value kept but may cause issues"} 
[2026-08-19 07:02:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-08-19 07:02:25] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070455,"note":"Value kept but may cause issues"} 
[2026-08-19 07:02:25] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3087084929,"note":"Value kept but may cause issues"} 
[2026-08-19 07:02:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3525148672,"note":"Value kept but may cause issues"} 
[2026-08-19 07:02:25] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,208,85,24,241,157,16,40,160,181,45,128,167,35,10,66,161,192,183,39,122,1,240,7,227,23,209,4,113,205,51,87,96,239,2,172,5,44],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-08-19 07:02:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":168371308724224,"timestamp_seconds":168371308724.224,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 07:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":157355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":157355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":157355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498403840001,"66":13319,"208":206,"85":15104,"24":11,"16":120515734353739776,"45":-9146247868245549056},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 07:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498403840001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:02:25] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 07:02:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120515734353739776,"km_value":120515734353739.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146247868245549056,"description":"Unknown IO ID 45"} 
[2026-08-19 07:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498403840001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9146247868245549056}} 
[2026-08-19 07:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":157355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:02:25] local.INFO: GPS data processed {"connection_id":157355,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:02:25] local.INFO: Acknowledgment sent {"connection_id":157355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:02:38] local.INFO: TCP Data received {"connection_id":157356,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a017a4e670012d34bf4006aa4a48000e01442c..."} 
[2026-08-19 07:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a4e670012d34bf4006aa4a48000e01442c..."} 
[2026-08-19 07:02:38] local.INFO: Processing buffer {"connection_id":157356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a4e670012d34bf4006aa4a48000e01442c..."} 
[2026-08-19 07:02:38] local.INFO: Packet analysis {"connection_id":157356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a4"} 
[2026-08-19 07:02:38] local.INFO: Extracted packet for processing {"connection_id":157356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a4"} 
[2026-08-19 07:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111823432,"longitude_deg":75.8431552,"latitude_deg":11.1823432,"altitude":14,"angle":324,"satellites":44,"speed":1,"hex_longitude":"2d34bf40","hex_latitude":"06aa4a48","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498384384001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:02:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 07:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388252988702720,"note":"Value kept but may cause issues"} 
[2026-08-19 07:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871638016,"note":"Value kept but may cause issues"} 
[2026-08-19 07:02:38] 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-08-19 07:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787103078000,"timestamp_ms":1787103078000,"timestamp_seconds":1787103078,"priority":1,"record_length":96,"hex_timestamp":"000001a017a4e670"} 
[2026-08-19 07:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 07:02:38] 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-08-19 07: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-08-19 07:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:02:38] 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-08-19 07:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498384384001,"66":28006,"200":0,"81":23296,"24":1,"16":385388252988702720,"45":3801108482871638016},"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-08-19 07:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498384384001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388252988702720,"km_value":385388252988702.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871638016,"description":"Unknown IO ID 45"} 
[2026-08-19 07:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498384384001,"power":28006,"gsm_signal":0,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3801108482871638016}} 
[2026-08-19 07:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":157356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:02:38] local.INFO: GPS data processed {"connection_id":157356,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:02:38] local.INFO: Acknowledgment sent {"connection_id":157356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:02:53] local.INFO: TCP Data received {"connection_id":159909,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:02:53] local.INFO: Processing buffer {"connection_id":159909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:02:53] local.INFO: IMEI packet received {"connection_id":159909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":159909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:02:54] local.INFO: TCP Data received {"connection_id":159909,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:02:54] local.INFO: Processing buffer {"connection_id":159909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:02:54] local.INFO: IMEI packet received {"connection_id":159909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":159909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:02:59] local.INFO: TCP Data received {"connection_id":159909,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:02:59] local.INFO: Processing buffer {"connection_id":159909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:02:59] local.INFO: IMEI packet received {"connection_id":159909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":159909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:02:59] local.INFO: TCP Data received {"connection_id":157357,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:02:59] local.INFO: Processing buffer {"connection_id":157357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:02:59] local.INFO: IMEI packet received {"connection_id":157357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":157357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:03:00] local.INFO: TCP Data received {"connection_id":157357,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:03:00] local.INFO: Processing buffer {"connection_id":157357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:03:00] local.INFO: IMEI packet received {"connection_id":157357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":157357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:03:00] local.INFO: TCP Data received {"connection_id":159909,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a5e070012d8113c005d18b600000007222..."} 
[2026-08-19 07:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a5e070012d8113c005d18b600000007222..."} 
[2026-08-19 07:03:00] local.INFO: Processing buffer {"connection_id":159909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a5e070012d8113c005d18b600000007222..."} 
[2026-08-19 07:03:00] local.INFO: Packet analysis {"connection_id":159909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a5"} 
[2026-08-19 07:03:00] local.INFO: Extracted packet for processing {"connection_id":159909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a5"} 
[2026-08-19 07:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763433920,"raw_latitude":97618784,"longitude_deg":76.343392,"latitude_deg":9.7618784,"altitude":0,"angle":114,"satellites":34,"speed":12,"hex_longitude":"2d8113c0","hex_latitude":"05d18b60","is_valid_coordinates":true} 
[2026-08-19 07:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498404096001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120515751533608960,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146107130757253120,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03: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-08-19 07:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787103142000,"timestamp_ms":1787103142000,"timestamp_seconds":1787103142,"priority":1,"record_length":96,"hex_timestamp":"000001a017a5e070"} 
[2026-08-19 07:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 07:03:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2165440517,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:00] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:00] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2776293377,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:00] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3662675968,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-08-19 07:03:00] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2147865079,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3523633152,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:00] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57834105476109627,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:00] local.WARNING: Large IO value detected {"io_id":165,"raw_value":4913428488411807749,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:00] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2125699024129630976,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:00] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,208,85,24,241,157,16,40,160,216,45,140,34,10,66,181,128,167,35,161,192,1,240,227,39,23,209,4,113,205,46,99,21,239,52,2,172,5,48,166,165,210],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-08-19 07:03:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":145281564475392,"timestamp_seconds":145281564475.392,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 07:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498404096001,"66":13319,"208":206,"85":15104,"24":12,"16":120515751533608960,"45":-9146107130757253120},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 07:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498404096001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:03:00] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 07:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120515751533608960,"km_value":120515751533608.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146107130757253120,"description":"Unknown IO ID 45"} 
[2026-08-19 07:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498404096001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9146107130757253120}} 
[2026-08-19 07:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":159909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:03:00] local.INFO: GPS data processed {"connection_id":159909,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:03:00] local.INFO: Acknowledgment sent {"connection_id":159909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:03:04] local.INFO: TCP Data received {"connection_id":159909,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a5e458012d81150005d18b300000005d22..."} 
[2026-08-19 07:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a5e458012d81150005d18b300000005d22..."} 
[2026-08-19 07:03:04] local.INFO: Processing buffer {"connection_id":159909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a5e458012d81150005d18b300000005d22..."} 
[2026-08-19 07:03:04] local.INFO: Packet analysis {"connection_id":159909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a5"} 
[2026-08-19 07:03:04] local.INFO: Extracted packet for processing {"connection_id":159909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a5"} 
[2026-08-19 07:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763434240,"raw_latitude":97618736,"longitude_deg":76.343424,"latitude_deg":9.7618736,"altitude":0,"angle":93,"satellites":34,"speed":12,"hex_longitude":"2d811500","hex_latitude":"05d18b30","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498404352001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120515768713478144,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145755287036403712,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03: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-08-19 07:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787103143000,"timestamp_ms":1787103143000,"timestamp_seconds":1787103143,"priority":1,"record_length":96,"hex_timestamp":"000001a017a5e458"} 
[2026-08-19 07:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:03: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-08-19 07:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 07:03:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2165293061,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:04] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2778853377,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:04] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3078094848,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-08-19 07:03:04] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3758173569,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3522658304,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:04] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57834105476109627,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:04] local.WARNING: Large IO value detected {"io_id":165,"raw_value":6320803371965415429,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:04] local.WARNING: Large IO value detected {"io_id":210,"raw_value":459367162003399424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:04] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,208,85,24,241,157,16,40,160,220,45,128,139,34,10,66,216,140,181,1,240,199,227,23,209,4,113,205,30,122,18,80,35,239,52,2,172,5,51,62,165,210],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-08-19 07:03:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":125490355240960,"timestamp_seconds":125490355240.96,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 07:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498404352001,"66":13319,"208":206,"85":15104,"24":12,"16":120515768713478144,"45":-9145755287036403712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 07:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498404352001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:03:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 07:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120515768713478144,"km_value":120515768713478.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145755287036403712,"description":"Unknown IO ID 45"} 
[2026-08-19 07:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498404352001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9145755287036403712}} 
[2026-08-19 07:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":159909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:03:04] local.INFO: GPS data processed {"connection_id":159909,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:03:04] local.INFO: Acknowledgment sent {"connection_id":159909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:03:05] local.INFO: TCP Data received {"connection_id":157357,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:03:05] local.INFO: Processing buffer {"connection_id":157357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:03:05] local.INFO: IMEI packet received {"connection_id":157357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":157357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:03:06] local.INFO: TCP Data received {"connection_id":157357,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a017a59a20012d34c38006aa47e8000f00972b..."} 
[2026-08-19 07:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a59a20012d34c38006aa47e8000f00972b..."} 
[2026-08-19 07:03:06] local.INFO: Processing buffer {"connection_id":157357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a59a20012d34c38006aa47e8000f00972b..."} 
[2026-08-19 07:03:06] local.INFO: Packet analysis {"connection_id":157357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a5"} 
[2026-08-19 07:03:06] local.INFO: Extracted packet for processing {"connection_id":157357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a5"} 
[2026-08-19 07:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111822824,"longitude_deg":75.843264,"latitude_deg":11.1822824,"altitude":15,"angle":151,"satellites":43,"speed":3,"hex_longitude":"2d34c380","hex_latitude":"06aa47e8","is_valid_coordinates":true} 
[2026-08-19 07:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498398464001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 07:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388347477983232,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170313371648,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:06] 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-08-19 07:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787103124000,"timestamp_ms":1787103124000,"timestamp_seconds":1787103124,"priority":1,"record_length":96,"hex_timestamp":"000001a017a59a20"} 
[2026-08-19 07:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 07:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498398464001,"66":27767,"200":0,"81":23296,"24":3,"16":385388347477983232,"45":3801812170313371648},"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-08-19 07:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498398464001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388347477983232,"km_value":385388347477983.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170313371648,"description":"Unknown IO ID 45"} 
[2026-08-19 07:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498398464001,"power":27767,"gsm_signal":0,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3801812170313371648}} 
[2026-08-19 07:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":157357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:03:06] local.INFO: GPS data processed {"connection_id":157357,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:03:06] local.INFO: Acknowledgment sent {"connection_id":157357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:03:37] local.INFO: TCP Data received {"connection_id":157357,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a017a59e08012d34c38006aa4790000f00a329..."} 
[2026-08-19 07:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a59e08012d34c38006aa4790000f00a329..."} 
[2026-08-19 07:03:37] local.INFO: Processing buffer {"connection_id":157357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a59e08012d34c38006aa4790000f00a329..."} 
[2026-08-19 07:03:37] local.INFO: Packet analysis {"connection_id":157357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a5"} 
[2026-08-19 07:03:37] local.INFO: Extracted packet for processing {"connection_id":157357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a5"} 
[2026-08-19 07:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111822736,"longitude_deg":75.843264,"latitude_deg":11.1822736,"altitude":15,"angle":163,"satellites":41,"speed":3,"hex_longitude":"2d34c380","hex_latitude":"06aa4790","is_valid_coordinates":true} 
[2026-08-19 07:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498399744001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-19 07:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388351772950528,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545828864,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:37] 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-08-19 07:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787103125000,"timestamp_ms":1787103125000,"timestamp_seconds":1787103125,"priority":1,"record_length":96,"hex_timestamp":"000001a017a59e08"} 
[2026-08-19 07:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 07:03:37] 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-08-19 07:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:03:37] 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-08-19 07:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498399744001,"66":27865,"200":0,"81":23296,"24":3,"16":385388351772950528,"45":3802023276545828864},"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-08-19 07:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498399744001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388351772950528,"km_value":385388351772950.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545828864,"description":"Unknown IO ID 45"} 
[2026-08-19 07:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498399744001,"power":27865,"gsm_signal":0,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802023276545828864}} 
[2026-08-19 07:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":157357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:03:37] local.INFO: GPS data processed {"connection_id":157357,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:03:37] local.INFO: Acknowledgment sent {"connection_id":157357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:03:50] local.INFO: TCP Data received {"connection_id":159910,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:03:50] local.INFO: Processing buffer {"connection_id":159910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:03:50] local.INFO: IMEI packet received {"connection_id":159910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":159910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:03:54] local.INFO: TCP Data received {"connection_id":159910,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:03:54] local.INFO: Processing buffer {"connection_id":159910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:03:54] local.INFO: IMEI packet received {"connection_id":159910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":159910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:03:55] local.INFO: TCP Data received {"connection_id":159910,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a61720012d813b0005d187a00000006621..."} 
[2026-08-19 07:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a61720012d813b0005d187a00000006621..."} 
[2026-08-19 07:03:55] local.INFO: Processing buffer {"connection_id":159910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a61720012d813b0005d187a00000006621..."} 
[2026-08-19 07:03:55] local.INFO: Packet analysis {"connection_id":159910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:03:55] local.INFO: Extracted packet for processing {"connection_id":159910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763443968,"raw_latitude":97617824,"longitude_deg":76.3443968,"latitude_deg":9.7617824,"altitude":0,"angle":102,"satellites":33,"speed":38,"hex_longitude":"2d813b00","hex_latitude":"05d187a0","is_valid_coordinates":true} 
[2026-08-19 07:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498404608001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120516236864913408,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145403443315527680,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:55] 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-08-19 07:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787103156000,"timestamp_ms":1787103156000,"timestamp_seconds":1787103156,"priority":1,"record_length":96,"hex_timestamp":"000001a017a61720"} 
[2026-08-19 07:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 07:03:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2165276677,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:55] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2780133377,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:55] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-612489549309861120,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-08-19 07:03:55] local.WARNING: Large IO value detected {"io_id":161,"raw_value":4026609025,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:55] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3221606839,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:55] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728695,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3520745472,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:55] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57834105476109627,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:55] local.WARNING: Large IO value detected {"io_id":165,"raw_value":7165228302097285125,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:55] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,208,85,24,241,157,16,40,160,224,45,192,139,34,10,66,220,128,216,1,240,3,227,23,209,4,113,205,36,161,15,120,35,239,52,2,172,5,46,7,165],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-08-19 07:03:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":102400611057664,"timestamp_seconds":102400611057.664,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 07:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498404608001,"66":13091,"208":206,"85":15104,"24":38,"16":120516236864913408,"45":-9145403443315527680},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 07:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498404608001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:03:55] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 07:03:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120516236864913408,"km_value":120516236864913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145403443315527680,"description":"Unknown IO ID 45"} 
[2026-08-19 07:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498404608001,"power":13091,"unknown_208":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9145403443315527680}} 
[2026-08-19 07:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":159910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:03:55] local.INFO: GPS data processed {"connection_id":159910,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:03:55] local.INFO: Acknowledgment sent {"connection_id":159910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:03:57] local.INFO: TCP Data received {"connection_id":159910,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a651b8012d815c8005d183600000005923..."} 
[2026-08-19 07:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a651b8012d815c8005d183600000005923..."} 
[2026-08-19 07:03:57] local.INFO: Processing buffer {"connection_id":159910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a651b8012d815c8005d183600000005923..."} 
[2026-08-19 07:03:57] local.INFO: Packet analysis {"connection_id":159910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:03:57] local.INFO: Extracted packet for processing {"connection_id":159910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:03:57] local.INFO: GPS Element Parsed {"raw_longitude":763452544,"raw_latitude":97616736,"longitude_deg":76.3452544,"latitude_deg":9.7616736,"altitude":0,"angle":89,"satellites":35,"speed":23,"hex_longitude":"2d815c80","hex_latitude":"05d18360","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498407936001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120516649181773824,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9134707394200756224,"note":"Value kept but may cause issues"} 
[2026-08-19 07:03: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-08-19 07:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787103171000,"timestamp_ms":1787103171000,"timestamp_seconds":1787103171,"priority":1,"record_length":96,"hex_timestamp":"000001a017a651b8"} 
[2026-08-19 07:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 07:03:57] 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-08-19 07: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-08-19 07:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498407936001,"66":12385,"208":206,"85":15104,"24":23,"16":120516649181773824,"45":-9134707394200756224},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 07:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498407936001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:03:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 07:03:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120516649181773824,"km_value":120516649181773.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9134707394200756224,"description":"Unknown IO ID 45"} 
[2026-08-19 07:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498407936001,"power":12385,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9134707394200756224}} 
[2026-08-19 07:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":159910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:03:57] local.INFO: GPS data processed {"connection_id":159910,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:03:57] local.INFO: Acknowledgment sent {"connection_id":159910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:04:00] local.INFO: TCP Data received {"connection_id":157358,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:04:00] local.INFO: Processing buffer {"connection_id":157358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:04:00] local.INFO: IMEI packet received {"connection_id":157358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":157358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:04:05] local.INFO: TCP Data received {"connection_id":157358,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:04:05] local.INFO: Processing buffer {"connection_id":157358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:04:05] local.INFO: IMEI packet received {"connection_id":157358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":157358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:04:06] local.INFO: TCP Data received {"connection_id":157358,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a017a678c8012d34c18006aa40380009000c2d..."} 
[2026-08-19 07:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a678c8012d34c18006aa40380009000c2d..."} 
[2026-08-19 07:04:06] local.INFO: Processing buffer {"connection_id":157358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a678c8012d34c18006aa40380009000c2d..."} 
[2026-08-19 07:04:06] local.INFO: Packet analysis {"connection_id":157358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:04:06] local.INFO: Extracted packet for processing {"connection_id":157358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:04:06] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111820856,"longitude_deg":75.8432128,"latitude_deg":11.1820856,"altitude":9,"angle":12,"satellites":45,"speed":2,"hex_longitude":"2d34c180","hex_latitude":"06aa4038","is_valid_coordinates":true} 
[2026-08-19 07:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498414080001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388493506871296,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591889408,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787103181000,"timestamp_ms":1787103181000,"timestamp_seconds":1787103181,"priority":1,"record_length":96,"hex_timestamp":"000001a017a678c8"} 
[2026-08-19 07:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 07:04:06] 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-08-19 07:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498414080001,"66":27691,"97":206,"81":23296,"24":2,"16":385388493506871296,"45":3801460326591889408},"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-08-19 07:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498414080001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:04:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:04:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388493506871296,"km_value":385388493506871.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591889408,"description":"Unknown IO ID 45"} 
[2026-08-19 07:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498414080001,"power":27691,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3801460326591889408}} 
[2026-08-19 07:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":157358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:04:06] local.INFO: GPS data processed {"connection_id":157358,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:04:06] local.INFO: Acknowledgment sent {"connection_id":157358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:04:28] local.INFO: TCP Data received {"connection_id":159910,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a78a38012d8204c005d17ab80004005e23..."} 
[2026-08-19 07:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a78a38012d8204c005d17ab80004005e23..."} 
[2026-08-19 07:04:28] local.INFO: Processing buffer {"connection_id":159910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a78a38012d8204c005d17ab80004005e23..."} 
[2026-08-19 07:04:28] local.INFO: Packet analysis {"connection_id":159910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a7"} 
[2026-08-19 07:04:28] local.INFO: Extracted packet for processing {"connection_id":159910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a7"} 
[2026-08-19 07:04:28] local.INFO: GPS Element Parsed {"raw_longitude":763495616,"raw_latitude":97614520,"longitude_deg":76.3495616,"latitude_deg":9.761452,"altitude":4,"angle":94,"satellites":35,"speed":36,"hex_longitude":"2d8204c0","hex_latitude":"05d17ab8","is_valid_coordinates":true} 
[2026-08-19 07:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498429952001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120518783780519936,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9088123285555970048,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:28] 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-08-19 07:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787103251000,"timestamp_ms":1787103251000,"timestamp_seconds":1787103251,"priority":1,"record_length":96,"hex_timestamp":"000001a017a78a38"} 
[2026-08-19 07:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 07:04:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:28] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2176401413,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3515392000,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:28] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2801893377,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:28] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-8511803295724395776,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-08-19 07:04:28] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2281778561,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:28] local.WARNING: Large IO value detected {"io_id":149,"raw_value":3221606788,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:28] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391991,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:28] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57834105476109627,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:28] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-4676986918066290683,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:28] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,63,85,24,241,157,16,42,160,95,45,124,5,35,10,66,83,128,4,75,192,1,240,117,227,23,209,113,205,26,214,149,208,239,51,2,172,28,84,166],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-08-19 07:04:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360393673632055296,"timestamp_seconds":360393673632055.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 07:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498429952001,"66":13015,"65":206,"85":15104,"24":36,"16":120518783780519936,"45":-9088123285555970048},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-19 07:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498429952001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:04:28] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-19 07:04:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120518783780519936,"km_value":120518783780519.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9088123285555970048,"description":"Unknown IO ID 45"} 
[2026-08-19 07:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498429952001,"power":13015,"unknown_65":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9088123285555970048}} 
[2026-08-19 07:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":159910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:04:28] local.INFO: GPS data processed {"connection_id":159910,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:04:28] local.INFO: Acknowledgment sent {"connection_id":159910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:04:37] local.INFO: TCP Data received {"connection_id":157358,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a017a67cb0012d34c20006aa40580009001b2c..."} 
[2026-08-19 07:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a67cb0012d34c20006aa40580009001b2c..."} 
[2026-08-19 07:04:37] local.INFO: Processing buffer {"connection_id":157358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a67cb0012d34c20006aa40580009001b2c..."} 
[2026-08-19 07:04:37] local.INFO: Packet analysis {"connection_id":157358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:04:37] local.INFO: Extracted packet for processing {"connection_id":157358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820888,"longitude_deg":75.8432256,"latitude_deg":11.1820888,"altitude":9,"angle":27,"satellites":44,"speed":1,"hex_longitude":"2d34c200","hex_latitude":"06aa4058","is_valid_coordinates":true} 
[2026-08-19 07:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498414336001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388497801838592,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326591903744,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787103182000,"timestamp_ms":1787103182000,"timestamp_seconds":1787103182,"priority":1,"record_length":96,"hex_timestamp":"000001a017a67cb0"} 
[2026-08-19 07:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-19 07:04:37] 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-08-19 07:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:04:37] 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-08-19 07:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498414336001,"66":27691,"97":206,"81":23296,"24":1,"16":385388497801838592,"45":3801460326591903744},"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-08-19 07:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498414336001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388497801838592,"km_value":385388497801838.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326591903744,"description":"Unknown IO ID 45"} 
[2026-08-19 07:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498414336001,"power":27691,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3801460326591903744}} 
[2026-08-19 07:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":157358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:04:37] local.INFO: GPS data processed {"connection_id":157358,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:04:37] local.INFO: Acknowledgment sent {"connection_id":157358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:04:49] local.INFO: TCP Data received {"connection_id":157738,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:04:49] local.INFO: Processing buffer {"connection_id":157738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:04:49] local.INFO: IMEI packet received {"connection_id":157738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":157738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:04:54] local.INFO: TCP Data received {"connection_id":157738,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157738,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:04:54] local.INFO: Processing buffer {"connection_id":157738,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:04:54] local.INFO: IMEI packet received {"connection_id":157738,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":157738,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:04:55] local.INFO: TCP Data received {"connection_id":157738,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a79208012d820c4005d179580003006a23..."} 
[2026-08-19 07:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a79208012d820c4005d179580003006a23..."} 
[2026-08-19 07:04:55] local.INFO: Processing buffer {"connection_id":157738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a79208012d820c4005d179580003006a23..."} 
[2026-08-19 07:04:55] local.INFO: Packet analysis {"connection_id":157738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a7"} 
[2026-08-19 07:04:55] local.INFO: Extracted packet for processing {"connection_id":157738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a7"} 
[2026-08-19 07:04:55] local.INFO: GPS Element Parsed {"raw_longitude":763497536,"raw_latitude":97614168,"longitude_deg":76.3497536,"latitude_deg":9.7614168,"altitude":3,"angle":106,"satellites":35,"speed":39,"hex_longitude":"2d820c40","hex_latitude":"05d17958","is_valid_coordinates":true} 
[2026-08-19 07:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498432256001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120518873974833152,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9077919817650227200,"note":"Value kept but may cause issues"} 
[2026-08-19 07:04:55] 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-08-19 07:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787103253000,"timestamp_ms":1787103253000,"timestamp_seconds":1787103253,"priority":1,"record_length":96,"hex_timestamp":"000001a017a79208"} 
[2026-08-19 07:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 07:04:55] 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-08-19 07:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":157738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":157738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":157738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498432256001,"66":13200,"65":206,"85":15104,"24":39,"16":120518873974833152,"45":-9077919817650227200},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-19 07:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498432256001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:04:55] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-19 07:04:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120518873974833152,"km_value":120518873974833.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9077919817650227200,"description":"Unknown IO ID 45"} 
[2026-08-19 07:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498432256001,"power":13200,"unknown_65":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9077919817650227200}} 
[2026-08-19 07:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":157738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:04:55] local.INFO: GPS data processed {"connection_id":157738,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:04:55] local.INFO: Acknowledgment sent {"connection_id":157738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:05:00] local.INFO: TCP Data received {"connection_id":159911,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:05:00] local.INFO: Processing buffer {"connection_id":159911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:05:00] local.INFO: IMEI packet received {"connection_id":159911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":159911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:05:05] local.INFO: TCP Data received {"connection_id":159911,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:05:05] local.INFO: Processing buffer {"connection_id":159911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:05:05] local.INFO: IMEI packet received {"connection_id":159911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":159911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:05:08] local.INFO: TCP Data received {"connection_id":159911,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a017a68868012d34c20006aa40b0000900102c..."} 
[2026-08-19 07:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a68868012d34c20006aa40b0000900102c..."} 
[2026-08-19 07:05:08] local.INFO: Processing buffer {"connection_id":159911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a68868012d34c20006aa40b0000900102c..."} 
[2026-08-19 07:05:08] local.INFO: Packet analysis {"connection_id":159911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:05:08] local.INFO: Extracted packet for processing {"connection_id":159911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111820976,"longitude_deg":75.8432256,"latitude_deg":11.1820976,"altitude":9,"angle":16,"satellites":44,"speed":0,"hex_longitude":"2d34c200","hex_latitude":"06aa40b0","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498414592001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388502096805888,"note":"Value kept but may cause issues"} 
[2026-08-19 07:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080267264,"note":"Value kept but may cause issues"} 
[2026-08-19 07:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787103185000,"timestamp_ms":1787103185000,"timestamp_seconds":1787103185,"priority":1,"record_length":96,"hex_timestamp":"000001a017a68868"} 
[2026-08-19 07:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:05: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-08-19 07: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-19 07:05:08] 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-08-19 07: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-08-19 07:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:05:08] 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-08-19 07:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498414592001,"66":27930,"97":206,"81":23296,"24":0,"16":385388502096805888,"45":3801601064080267264},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498414592001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:05:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388502096805888,"km_value":385388502096805.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080267264,"description":"Unknown IO ID 45"} 
[2026-08-19 07:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498414592001,"power":27930,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801601064080267264}} 
[2026-08-19 07:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":159911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:05:08] local.INFO: GPS data processed {"connection_id":159911,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:05:08] local.INFO: Acknowledgment sent {"connection_id":159911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:05:26] local.INFO: TCP Data received {"connection_id":157738,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a84d88012d829a4005d162e0000c005a23..."} 
[2026-08-19 07:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a84d88012d829a4005d162e0000c005a23..."} 
[2026-08-19 07:05:26] local.INFO: Processing buffer {"connection_id":157738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a84d88012d829a4005d162e0000c005a23..."} 
[2026-08-19 07:05:26] local.INFO: Packet analysis {"connection_id":157738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a8"} 
[2026-08-19 07:05:26] local.INFO: Extracted packet for processing {"connection_id":157738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a8"} 
[2026-08-19 07:05:26] local.INFO: GPS Element Parsed {"raw_longitude":763533888,"raw_latitude":97608416,"longitude_deg":76.3533888,"latitude_deg":9.7608416,"altitude":12,"angle":90,"satellites":35,"speed":16,"hex_longitude":"2d829a40","hex_latitude":"05d162e0","is_valid_coordinates":true} 
[2026-08-19 07:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498444800001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120520716515803136,"note":"Value kept but may cause issues"} 
[2026-08-19 07:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036261521098604544,"note":"Value kept but may cause issues"} 
[2026-08-19 07:05:26] 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-08-19 07:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787103301000,"timestamp_ms":1787103301000,"timestamp_seconds":1787103301,"priority":1,"record_length":96,"hex_timestamp":"000001a017a84d88"} 
[2026-08-19 07:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-19 07:05:26] 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-08-19 07:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157738,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498444800001,"66":13428,"64":206,"85":15104,"24":16,"16":120520716515803136,"45":-9036261521098604544},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-19 07:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498444800001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:05:26] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-19 07:05:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120520716515803136,"km_value":120520716515803.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036261521098604544,"description":"Unknown IO ID 45"} 
[2026-08-19 07:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498444800001,"power":13428,"unknown_64":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9036261521098604544}} 
[2026-08-19 07:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":157738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:05:26] local.INFO: GPS data processed {"connection_id":157738,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:05:26] local.INFO: Acknowledgment sent {"connection_id":157738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:05:39] local.INFO: TCP Data received {"connection_id":159911,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a017a69808012d34c24006aa41180009002f2b..."} 
[2026-08-19 07:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a69808012d34c24006aa41180009002f2b..."} 
[2026-08-19 07:05:39] local.INFO: Processing buffer {"connection_id":159911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a69808012d34c24006aa41180009002f2b..."} 
[2026-08-19 07:05:39] local.INFO: Packet analysis {"connection_id":159911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:05:39] local.INFO: Extracted packet for processing {"connection_id":159911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:05:39] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111821080,"longitude_deg":75.843232,"latitude_deg":11.182108,"altitude":9,"angle":47,"satellites":43,"speed":2,"hex_longitude":"2d34c240","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498415360001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388506391773184,"note":"Value kept but may cause issues"} 
[2026-08-19 07:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080289792,"note":"Value kept but may cause issues"} 
[2026-08-19 07:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787103189000,"timestamp_ms":1787103189000,"timestamp_seconds":1787103189,"priority":1,"record_length":96,"hex_timestamp":"000001a017a69808"} 
[2026-08-19 07:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 07:05:39] 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-08-19 07: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-08-19 07:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:05:39] 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-08-19 07:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498415360001,"66":27876,"97":206,"81":23296,"24":2,"16":385388506391773184,"45":3801601064080289792},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498415360001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:05:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:05:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388506391773184,"km_value":385388506391773.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080289792,"description":"Unknown IO ID 45"} 
[2026-08-19 07:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498415360001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3801601064080289792}} 
[2026-08-19 07:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":159911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:05:39] local.INFO: GPS data processed {"connection_id":159911,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:05:39] local.INFO: Acknowledgment sent {"connection_id":159911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:05:50] local.INFO: TCP Data received {"connection_id":157739,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:05:50] local.INFO: Processing buffer {"connection_id":157739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:05:50] local.INFO: IMEI packet received {"connection_id":157739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":157739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:05:54] local.INFO: TCP Data received {"connection_id":157739,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:05:54] local.INFO: Processing buffer {"connection_id":157739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:05:54] local.INFO: IMEI packet received {"connection_id":157739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":157739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:05:55] local.INFO: TCP Data received {"connection_id":157739,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a87498012d82b9c005d16028000b006523..."} 
[2026-08-19 07:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a87498012d82b9c005d16028000b006523..."} 
[2026-08-19 07:05:55] local.INFO: Processing buffer {"connection_id":157739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a87498012d82b9c005d16028000b006523..."} 
[2026-08-19 07:05:55] local.INFO: Packet analysis {"connection_id":157739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a8"} 
[2026-08-19 07:05:55] local.INFO: Extracted packet for processing {"connection_id":157739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a8"} 
[2026-08-19 07:05:55] local.INFO: GPS Element Parsed {"raw_longitude":763541952,"raw_latitude":97607720,"longitude_deg":76.3541952,"latitude_deg":9.760772,"altitude":11,"angle":101,"satellites":35,"speed":40,"hex_longitude":"2d82b9c0","hex_latitude":"05d16028","is_valid_coordinates":true} 
[2026-08-19 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-08-19 07:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498445056001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120521107357827072,"note":"Value kept but may cause issues"} 
[2026-08-19 07:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035839308633546752,"note":"Value kept but may cause issues"} 
[2026-08-19 07:05:55] 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-08-19 07:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787103311000,"timestamp_ms":1787103311000,"timestamp_seconds":1787103311,"priority":1,"record_length":96,"hex_timestamp":"000001a017a87498"} 
[2026-08-19 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-08-19 07:05: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-08-19 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-19 07:05:55] 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-08-19 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-08-19 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-08-19 07:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":157739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":157739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":157739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498445056001,"66":13656,"64":206,"85":15104,"24":40,"16":120521107357827072,"45":-9035839308633546752},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-19 07:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498445056001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:05:55] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-19 07:05:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120521107357827072,"km_value":120521107357827.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035839308633546752,"description":"Unknown IO ID 45"} 
[2026-08-19 07:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498445056001,"power":13656,"unknown_64":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9035839308633546752}} 
[2026-08-19 07:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":157739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:05:55] local.INFO: GPS data processed {"connection_id":157739,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:05:55] local.INFO: Acknowledgment sent {"connection_id":157739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:06:05] local.INFO: TCP Data received {"connection_id":158623,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:06:05] local.INFO: Processing buffer {"connection_id":158623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:06:05] local.INFO: IMEI packet received {"connection_id":158623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":158623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:06:10] local.INFO: TCP Data received {"connection_id":158623,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:06:10] local.INFO: Processing buffer {"connection_id":158623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:06:10] local.INFO: IMEI packet received {"connection_id":158623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":158623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:06:11] local.INFO: TCP Data received {"connection_id":158623,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017a6a3c0012d34c28006aa41200009005c2b..."} 
[2026-08-19 07:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a6a3c0012d34c28006aa41200009005c2b..."} 
[2026-08-19 07:06:11] local.INFO: Processing buffer {"connection_id":158623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a6a3c0012d34c28006aa41200009005c2b..."} 
[2026-08-19 07:06:11] local.INFO: Packet analysis {"connection_id":158623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:06:11] local.INFO: Extracted packet for processing {"connection_id":158623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:06:11] local.INFO: GPS Element Parsed {"raw_longitude":758432384,"raw_latitude":111821088,"longitude_deg":75.8432384,"latitude_deg":11.1821088,"altitude":9,"angle":92,"satellites":43,"speed":0,"hex_longitude":"2d34c280","hex_latitude":"06aa4120","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498416384001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388510686740480,"note":"Value kept but may cause issues"} 
[2026-08-19 07:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824494080,"note":"Value kept but may cause issues"} 
[2026-08-19 07:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787103192000,"timestamp_ms":1787103192000,"timestamp_seconds":1787103192,"priority":1,"record_length":96,"hex_timestamp":"000001a017a6a3c0"} 
[2026-08-19 07:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:06: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-08-19 07: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 07:06:11] 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-08-19 07: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-08-19 07:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498416384001,"66":27767,"97":206,"81":23296,"24":0,"16":385388510686740480,"45":3801671432824494080},"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-08-19 07:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498416384001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:06:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:06:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388510686740480,"km_value":385388510686740.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824494080,"description":"Unknown IO ID 45"} 
[2026-08-19 07:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498416384001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801671432824494080}} 
[2026-08-19 07:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":158623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:06:11] local.INFO: GPS data processed {"connection_id":158623,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:06:11] local.INFO: Acknowledgment sent {"connection_id":158623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:06:15] local.INFO: TCP Data received {"connection_id":158623,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017a6a7a8012d34c2c006aa41100009006c2c..."} 
[2026-08-19 07:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a6a7a8012d34c2c006aa41100009006c2c..."} 
[2026-08-19 07:06:15] local.INFO: Processing buffer {"connection_id":158623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a6a7a8012d34c2c006aa41100009006c2c..."} 
[2026-08-19 07:06:15] local.INFO: Packet analysis {"connection_id":158623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:06:15] local.INFO: Extracted packet for processing {"connection_id":158623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:06:15] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111821072,"longitude_deg":75.8432448,"latitude_deg":11.1821072,"altitude":9,"angle":108,"satellites":44,"speed":2,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4110","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498417152001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388514981707776,"note":"Value kept but may cause issues"} 
[2026-08-19 07:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568673792,"note":"Value kept but may cause issues"} 
[2026-08-19 07:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787103193000,"timestamp_ms":1787103193000,"timestamp_seconds":1787103193,"priority":1,"record_length":96,"hex_timestamp":"000001a017a6a7a8"} 
[2026-08-19 07:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:06: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-08-19 07:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 07:06:16] 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-08-19 07:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498417152001,"66":27974,"97":206,"81":23296,"24":2,"16":385388514981707776,"45":3801741801568673792},"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-08-19 07:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498417152001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:06:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:06:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388514981707776,"km_value":385388514981707.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568673792,"description":"Unknown IO ID 45"} 
[2026-08-19 07:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498417152001,"power":27974,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3801741801568673792}} 
[2026-08-19 07:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":158623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:06:16] local.INFO: GPS data processed {"connection_id":158623,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:06:16] local.INFO: Acknowledgment sent {"connection_id":158623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:06:26] local.INFO: TCP Data received {"connection_id":157739,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017a893d8012d82de0005d159c8000b006123..."} 
[2026-08-19 07:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a893d8012d82de0005d159c8000b006123..."} 
[2026-08-19 07:06:26] local.INFO: Processing buffer {"connection_id":157739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a893d8012d82de0005d159c8000b006123..."} 
[2026-08-19 07:06:26] local.INFO: Packet analysis {"connection_id":157739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a8"} 
[2026-08-19 07:06:26] local.INFO: Extracted packet for processing {"connection_id":157739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a8"} 
[2026-08-19 07:06:26] local.INFO: GPS Element Parsed {"raw_longitude":763551232,"raw_latitude":97606088,"longitude_deg":76.3551232,"latitude_deg":9.7606088,"altitude":11,"angle":97,"satellites":35,"speed":50,"hex_longitude":"2d82de00","hex_latitude":"05d159c8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 07:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498447616001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120521558329393152,"note":"Value kept but may cause issues"} 
[2026-08-19 07:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026972846867339264,"note":"Value kept but may cause issues"} 
[2026-08-19 07:06:26] 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-08-19 07:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787103319000,"timestamp_ms":1787103319000,"timestamp_seconds":1787103319,"priority":1,"record_length":96,"hex_timestamp":"000001a017a893d8"} 
[2026-08-19 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-08-19 07:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-19 07:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 07:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498447616001,"66":13493,"64":206,"85":15104,"24":50,"16":120521558329393152,"45":-9026972846867339264},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-19 07:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498447616001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:06:26] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-19 07:06:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120521558329393152,"km_value":120521558329393.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026972846867339264,"description":"Unknown IO ID 45"} 
[2026-08-19 07:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498447616001,"power":13493,"unknown_64":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":-9026972846867339264}} 
[2026-08-19 07:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":157739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:06:27] local.INFO: GPS data processed {"connection_id":157739,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:06:27] local.INFO: Acknowledgment sent {"connection_id":157739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:07:00] local.INFO: TCP Data received {"connection_id":157359,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:07:00] local.INFO: Processing buffer {"connection_id":157359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:07:00] local.INFO: IMEI packet received {"connection_id":157359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":157359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:07:05] local.INFO: TCP Data received {"connection_id":157359,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:07:05] local.INFO: Processing buffer {"connection_id":157359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:07:05] local.INFO: IMEI packet received {"connection_id":157359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":157359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:07:06] local.INFO: TCP Data received {"connection_id":157359,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017a6b360012d34c38006aa40f00009007a2a..."} 
[2026-08-19 07:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a6b360012d34c38006aa40f00009007a2a..."} 
[2026-08-19 07:07:06] local.INFO: Processing buffer {"connection_id":157359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a6b360012d34c38006aa40f00009007a2a..."} 
[2026-08-19 07:07:06] local.INFO: Packet analysis {"connection_id":157359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:07:06] local.INFO: Extracted packet for processing {"connection_id":157359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:07:06] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821040,"longitude_deg":75.843264,"latitude_deg":11.182104,"altitude":9,"angle":122,"satellites":42,"speed":2,"hex_longitude":"2d34c380","hex_latitude":"06aa40f0","is_valid_coordinates":true} 
[2026-08-19 07:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498417408001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388523571642368,"note":"Value kept but may cause issues"} 
[2026-08-19 07:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170312847360,"note":"Value kept but may cause issues"} 
[2026-08-19 07:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787103196000,"timestamp_ms":1787103196000,"timestamp_seconds":1787103196,"priority":1,"record_length":96,"hex_timestamp":"000001a017a6b360"} 
[2026-08-19 07:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 07:07:06] 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-08-19 07:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:07:06] 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-08-19 07:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498417408001,"66":27745,"97":206,"81":23296,"24":2,"16":385388523571642368,"45":3801812170312847360},"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-08-19 07:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498417408001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:07:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:07:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388523571642368,"km_value":385388523571642.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170312847360,"description":"Unknown IO ID 45"} 
[2026-08-19 07:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498417408001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3801812170312847360}} 
[2026-08-19 07:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":157359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:07:06] local.INFO: GPS data processed {"connection_id":157359,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:07:06] local.INFO: Acknowledgment sent {"connection_id":157359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:07:24] local.INFO: TCP Data received {"connection_id":158624,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:07:24] local.INFO: Processing buffer {"connection_id":158624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:07:24] local.INFO: IMEI packet received {"connection_id":158624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":158624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:07:29] local.INFO: TCP Data received {"connection_id":158624,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:07:29] local.INFO: Processing buffer {"connection_id":158624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:07:29] local.INFO: IMEI packet received {"connection_id":158624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":158624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:07:30] local.INFO: TCP Data received {"connection_id":158624,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a017aa1e60012d83348005d153e0000a000320..."} 
[2026-08-19 07:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017aa1e60012d83348005d153e0000a000320..."} 
[2026-08-19 07:07:30] local.INFO: Processing buffer {"connection_id":158624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017aa1e60012d83348005d153e0000a000320..."} 
[2026-08-19 07:07:30] local.INFO: Packet analysis {"connection_id":158624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017aa"} 
[2026-08-19 07:07:30] local.INFO: Extracted packet for processing {"connection_id":158624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017aa"} 
[2026-08-19 07:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604576,"longitude_deg":76.3573376,"latitude_deg":9.7604576,"altitude":10,"angle":3,"satellites":32,"speed":0,"hex_longitude":"2d833480","hex_latitude":"05d153e0","is_valid_coordinates":true} 
[2026-08-19 07:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498475520001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120522722265530368,"note":"Value kept but may cause issues"} 
[2026-08-19 07:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476911104,"note":"Value kept but may cause issues"} 
[2026-08-19 07:07: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-08-19 07:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787103420000,"timestamp_ms":1787103420000,"timestamp_seconds":1787103420,"priority":1,"record_length":96,"hex_timestamp":"000001a017aa1e60"} 
[2026-08-19 07:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:07: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-08-19 07:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-19 07:07: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-08-19 07:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":158624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":158624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":158624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:07: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-08-19 07:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498475520001,"66":13722,"221":206,"85":15104,"24":0,"16":120522722265530368,"45":-8992421793476911104},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-08-19 07:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498475520001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:07:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-19 07:07:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120522722265530368,"km_value":120522722265530.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476911104,"description":"Unknown IO ID 45"} 
[2026-08-19 07:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498475520001,"power":13722,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476911104}} 
[2026-08-19 07:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":158624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:07:30] local.INFO: GPS data processed {"connection_id":158624,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:07:30] local.INFO: Acknowledgment sent {"connection_id":158624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:07:38] local.INFO: TCP Data received {"connection_id":157359,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017a6b748012d34c3c006aa40e0000900672b..."} 
[2026-08-19 07:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a6b748012d34c3c006aa40e0000900672b..."} 
[2026-08-19 07:07:38] local.INFO: Processing buffer {"connection_id":157359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a6b748012d34c3c006aa40e0000900672b..."} 
[2026-08-19 07:07:38] local.INFO: Packet analysis {"connection_id":157359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:07:38] local.INFO: Extracted packet for processing {"connection_id":157359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821024,"longitude_deg":75.8432704,"latitude_deg":11.1821024,"altitude":9,"angle":103,"satellites":43,"speed":2,"hex_longitude":"2d34c3c0","hex_latitude":"06aa40e0","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498418176001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388527866609664,"note":"Value kept but may cause issues"} 
[2026-08-19 07:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545372160,"note":"Value kept but may cause issues"} 
[2026-08-19 07:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787103197000,"timestamp_ms":1787103197000,"timestamp_seconds":1787103197,"priority":1,"record_length":96,"hex_timestamp":"000001a017a6b748"} 
[2026-08-19 07:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:07: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-08-19 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 07:07:38] 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-08-19 07: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-08-19 07:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:07:38] 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-08-19 07:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498418176001,"66":27974,"97":206,"81":23296,"24":2,"16":385388527866609664,"45":3802023276545372160},"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-08-19 07:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498418176001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:07:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:07:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388527866609664,"km_value":385388527866609.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545372160,"description":"Unknown IO ID 45"} 
[2026-08-19 07:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498418176001,"power":27974,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802023276545372160}} 
[2026-08-19 07:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":157359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:07:38] local.INFO: GPS data processed {"connection_id":157359,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:07:38] local.INFO: Acknowledgment sent {"connection_id":157359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:08:00] local.INFO: TCP Data received {"connection_id":157740,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:08:00] local.INFO: Processing buffer {"connection_id":157740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:08:00] local.INFO: IMEI packet received {"connection_id":157740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":157740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:08:04] local.INFO: TCP Data received {"connection_id":159912,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:08:04] local.INFO: Processing buffer {"connection_id":159912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:08:04] local.INFO: IMEI packet received {"connection_id":159912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":159912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:08:05] local.INFO: TCP Data received {"connection_id":157740,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:08:05] local.INFO: Processing buffer {"connection_id":157740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:08:05] local.INFO: IMEI packet received {"connection_id":157740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":157740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:08:06] local.INFO: TCP Data received {"connection_id":157740,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a017a6c300012d34c44006aa40d8000900592a..."} 
[2026-08-19 07:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a6c300012d34c44006aa40d8000900592a..."} 
[2026-08-19 07:08:06] local.INFO: Processing buffer {"connection_id":157740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a6c300012d34c44006aa40d8000900592a..."} 
[2026-08-19 07:08:06] local.INFO: Packet analysis {"connection_id":157740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:08:06] local.INFO: Extracted packet for processing {"connection_id":157740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:08:06] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111821016,"longitude_deg":75.8432832,"latitude_deg":11.1821016,"altitude":9,"angle":89,"satellites":42,"speed":2,"hex_longitude":"2d34c440","hex_latitude":"06aa40d8","is_valid_coordinates":true} 
[2026-08-19 07:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498418432001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388532161576960,"note":"Value kept but may cause issues"} 
[2026-08-19 07:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289545728,"note":"Value kept but may cause issues"} 
[2026-08-19 07:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787103200000,"timestamp_ms":1787103200000,"timestamp_seconds":1787103200,"priority":1,"record_length":96,"hex_timestamp":"000001a017a6c300"} 
[2026-08-19 07:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 07:08:06] 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-08-19 07:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498418432001,"66":27865,"97":206,"81":23296,"24":2,"16":385388532161576960,"45":3802093645289545728},"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-08-19 07:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498418432001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:08:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:08:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388532161576960,"km_value":385388532161576.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289545728,"description":"Unknown IO ID 45"} 
[2026-08-19 07:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498418432001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802093645289545728}} 
[2026-08-19 07:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":157740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:08:06] local.INFO: GPS data processed {"connection_id":157740,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:08:06] local.INFO: Acknowledgment sent {"connection_id":157740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:08:09] local.INFO: TCP Data received {"connection_id":159912,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:08:09] local.INFO: Processing buffer {"connection_id":159912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:08:09] local.INFO: IMEI packet received {"connection_id":159912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":159912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:08:09] local.INFO: TCP Data received {"connection_id":159912,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a017aa2e00012d83348005d153e0000a000322..."} 
[2026-08-19 07:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017aa2e00012d83348005d153e0000a000322..."} 
[2026-08-19 07:08:09] local.INFO: Processing buffer {"connection_id":159912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017aa2e00012d83348005d153e0000a000322..."} 
[2026-08-19 07:08:09] local.INFO: Packet analysis {"connection_id":159912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017aa"} 
[2026-08-19 07:08:09] local.INFO: Extracted packet for processing {"connection_id":159912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017aa"} 
[2026-08-19 07:08:09] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604576,"longitude_deg":76.3573376,"latitude_deg":9.7604576,"altitude":10,"angle":3,"satellites":34,"speed":0,"hex_longitude":"2d833480","hex_latitude":"05d153e0","is_valid_coordinates":true} 
[2026-08-19 07:08: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-08-19 07:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498475520001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120522722265530368,"note":"Value kept but may cause issues"} 
[2026-08-19 07:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476911104,"note":"Value kept but may cause issues"} 
[2026-08-19 07:08:09] 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-08-19 07:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787103424000,"timestamp_ms":1787103424000,"timestamp_seconds":1787103424,"priority":1,"record_length":96,"hex_timestamp":"000001a017aa2e00"} 
[2026-08-19 07:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:08: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-08-19 07:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-19 07:08:09] 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-08-19 07:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:08: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-08-19 07:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498475520001,"66":5231,"111":206,"85":15104,"24":0,"16":120522722265530368,"45":-8992421793476911104},"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-08-19 07:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498475520001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:08:09] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 07:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120522722265530368,"km_value":120522722265530.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476911104,"description":"Unknown IO ID 45"} 
[2026-08-19 07:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498475520001,"power":5231,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476911104}} 
[2026-08-19 07:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":159912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:08:09] local.INFO: GPS data processed {"connection_id":159912,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:08:09] local.INFO: Acknowledgment sent {"connection_id":159912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:08:38] local.INFO: TCP Data received {"connection_id":157740,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a017a6da70012d34c48006aa40e00009005929..."} 
[2026-08-19 07:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a6da70012d34c48006aa40e00009005929..."} 
[2026-08-19 07:08:38] local.INFO: Processing buffer {"connection_id":157740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a6da70012d34c48006aa40e00009005929..."} 
[2026-08-19 07:08:38] local.INFO: Packet analysis {"connection_id":157740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:08:38] local.INFO: Extracted packet for processing {"connection_id":157740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111821024,"longitude_deg":75.8432896,"latitude_deg":11.1821024,"altitude":9,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa40e0","is_valid_coordinates":true} 
[2026-08-19 07:08:38] 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-08-19 07:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498419200001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777899008,"note":"Value kept but may cause issues"} 
[2026-08-19 07:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787103206000,"timestamp_ms":1787103206000,"timestamp_seconds":1787103206,"priority":1,"record_length":96,"hex_timestamp":"000001a017a6da70"} 
[2026-08-19 07:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:08: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-08-19 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 07:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:08:38] 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-08-19 07:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498419200001,"66":27800,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802234382777899008},"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-08-19 07:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498419200001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:08:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777899008,"description":"Unknown IO ID 45"} 
[2026-08-19 07:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498419200001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777899008}} 
[2026-08-19 07:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":157740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:08:38] local.INFO: GPS data processed {"connection_id":157740,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:08:38] local.INFO: Acknowledgment sent {"connection_id":157740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:08:49] local.INFO: TCP Data received {"connection_id":157741,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:08:49] local.INFO: Processing buffer {"connection_id":157741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:08:49] local.INFO: IMEI packet received {"connection_id":157741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":157741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:08:54] local.INFO: TCP Data received {"connection_id":157741,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:08:54] local.INFO: Processing buffer {"connection_id":157741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:08:54] local.INFO: IMEI packet received {"connection_id":157741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":157741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:08:54] local.INFO: TCP Data received {"connection_id":157741,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a017aa2e00012d83348005d153e0000a000322..."} 
[2026-08-19 07:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017aa2e00012d83348005d153e0000a000322..."} 
[2026-08-19 07:08:54] local.INFO: Processing buffer {"connection_id":157741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017aa2e00012d83348005d153e0000a000322..."} 
[2026-08-19 07:08:54] local.INFO: Packet analysis {"connection_id":157741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017aa"} 
[2026-08-19 07:08:54] local.INFO: Extracted packet for processing {"connection_id":157741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017aa"} 
[2026-08-19 07:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604576,"longitude_deg":76.3573376,"latitude_deg":9.7604576,"altitude":10,"angle":3,"satellites":34,"speed":0,"hex_longitude":"2d833480","hex_latitude":"05d153e0","is_valid_coordinates":true} 
[2026-08-19 07:08:54] 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-08-19 07:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498476544001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120522722265530368,"note":"Value kept but may cause issues"} 
[2026-08-19 07:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476911104,"note":"Value kept but may cause issues"} 
[2026-08-19 07:08:54] 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-08-19 07:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787103424000,"timestamp_ms":1787103424000,"timestamp_seconds":1787103424,"priority":1,"record_length":96,"hex_timestamp":"000001a017aa2e00"} 
[2026-08-19 07:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:08:54] 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-08-19 07: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":20,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-19 07:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1297,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":157741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":157741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":157741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498476544001,"66":5231,"111":206,"85":15104,"24":0,"16":120522722265530368,"45":-8992421793476911104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 07:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498476544001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:08:54] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 07:08:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120522722265530368,"km_value":120522722265530.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476911104,"description":"Unknown IO ID 45"} 
[2026-08-19 07:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498476544001,"power":5231,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476911104}} 
[2026-08-19 07:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":157741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:08:54] local.INFO: GPS data processed {"connection_id":157741,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:08:54] local.INFO: Acknowledgment sent {"connection_id":157741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:09:00] local.INFO: TCP Data received {"connection_id":158625,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:09:00] local.INFO: Processing buffer {"connection_id":158625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:09:00] local.INFO: IMEI packet received {"connection_id":158625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":158625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:09:05] local.INFO: TCP Data received {"connection_id":158625,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:09:05] local.INFO: Processing buffer {"connection_id":158625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:09:05] local.INFO: IMEI packet received {"connection_id":158625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":158625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:09:06] local.INFO: TCP Data received {"connection_id":158625,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a017a6da70012d34c48006aa40e00009005929..."} 
[2026-08-19 07:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017a6da70012d34c48006aa40e00009005929..."} 
[2026-08-19 07:09:06] local.INFO: Processing buffer {"connection_id":158625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017a6da70012d34c48006aa40e00009005929..."} 
[2026-08-19 07:09:06] local.INFO: Packet analysis {"connection_id":158625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:09:06] local.INFO: Extracted packet for processing {"connection_id":158625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017a6"} 
[2026-08-19 07:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111821024,"longitude_deg":75.8432896,"latitude_deg":11.1821024,"altitude":9,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa40e0","is_valid_coordinates":true} 
[2026-08-19 07:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498419200001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777899008,"note":"Value kept but may cause issues"} 
[2026-08-19 07:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787103206000,"timestamp_ms":1787103206000,"timestamp_seconds":1787103206,"priority":1,"record_length":96,"hex_timestamp":"000001a017a6da70"} 
[2026-08-19 07:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 07:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:09:06] 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-08-19 07:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498419200001,"66":27800,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802234382777899008},"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-08-19 07:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498419200001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777899008,"description":"Unknown IO ID 45"} 
[2026-08-19 07:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498419200001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777899008}} 
[2026-08-19 07:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":158625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:09:06] local.INFO: GPS data processed {"connection_id":158625,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:09:06] local.INFO: Acknowledgment sent {"connection_id":158625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:09:25] local.INFO: TCP Data received {"connection_id":157741,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a017aa2e00012d83348005d153e0000a000322..."} 
[2026-08-19 07:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017aa2e00012d83348005d153e0000a000322..."} 
[2026-08-19 07:09:25] local.INFO: Processing buffer {"connection_id":157741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017aa2e00012d83348005d153e0000a000322..."} 
[2026-08-19 07:09:25] local.INFO: Packet analysis {"connection_id":157741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017aa"} 
[2026-08-19 07:09:25] local.INFO: Extracted packet for processing {"connection_id":157741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017aa"} 
[2026-08-19 07:09:25] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604576,"longitude_deg":76.3573376,"latitude_deg":9.7604576,"altitude":10,"angle":3,"satellites":34,"speed":0,"hex_longitude":"2d833480","hex_latitude":"05d153e0","is_valid_coordinates":true} 
[2026-08-19 07:09:25] 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-08-19 07:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498476544001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120522722265530368,"note":"Value kept but may cause issues"} 
[2026-08-19 07:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476911104,"note":"Value kept but may cause issues"} 
[2026-08-19 07:09:25] 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-08-19 07:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787103424000,"timestamp_ms":1787103424000,"timestamp_seconds":1787103424,"priority":1,"record_length":96,"hex_timestamp":"000001a017aa2e00"} 
[2026-08-19 07:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:09:25] 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-08-19 07:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-19 07:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1297,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":157741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":157741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":157741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498476544001,"66":5231,"111":206,"85":15104,"24":0,"16":120522722265530368,"45":-8992421793476911104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 07:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498476544001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:09:25] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 07:09:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120522722265530368,"km_value":120522722265530.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476911104,"description":"Unknown IO ID 45"} 
[2026-08-19 07:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498476544001,"power":5231,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476911104}} 
[2026-08-19 07:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":157741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:09:25] local.INFO: GPS data processed {"connection_id":157741,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:09:25] local.INFO: Acknowledgment sent {"connection_id":157741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:09:37] local.INFO: TCP Data received {"connection_id":158625,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:09:37] local.INFO: Processing buffer {"connection_id":158625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:09:37] local.INFO: Packet analysis {"connection_id":158625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:09:37] local.INFO: Extracted packet for processing {"connection_id":158625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498420736001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522078720,"note":"Value kept but may cause issues"} 
[2026-08-19 07:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787103508000,"timestamp_ms":1787103508000,"timestamp_seconds":1787103508,"priority":1,"record_length":96,"hex_timestamp":"000001a017ab7620"} 
[2026-08-19 07:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 07:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:09:37] 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-08-19 07:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498420736001,"66":26517,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802304751522078720},"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-08-19 07:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498420736001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522078720,"description":"Unknown IO ID 45"} 
[2026-08-19 07:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498420736001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522078720}} 
[2026-08-19 07:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":158625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:09:37] local.INFO: GPS data processed {"connection_id":158625,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:09:37] local.INFO: Acknowledgment sent {"connection_id":158625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:09:54] local.INFO: TCP Data received {"connection_id":159913,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:09:54] local.INFO: Processing buffer {"connection_id":159913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:09:54] local.INFO: IMEI packet received {"connection_id":159913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":159913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:09:59] local.INFO: TCP Data received {"connection_id":159913,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:09:59] local.INFO: Processing buffer {"connection_id":159913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:09:59] local.INFO: IMEI packet received {"connection_id":159913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":159913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:10:00] local.INFO: TCP Data received {"connection_id":159913,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a017aa2e00012d83348005d153e0000a000322..."} 
[2026-08-19 07:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017aa2e00012d83348005d153e0000a000322..."} 
[2026-08-19 07:10:00] local.INFO: Processing buffer {"connection_id":159913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017aa2e00012d83348005d153e0000a000322..."} 
[2026-08-19 07:10:00] local.INFO: Packet analysis {"connection_id":159913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017aa"} 
[2026-08-19 07:10:00] local.INFO: Extracted packet for processing {"connection_id":159913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017aa"} 
[2026-08-19 07:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604576,"longitude_deg":76.3573376,"latitude_deg":9.7604576,"altitude":10,"angle":3,"satellites":34,"speed":0,"hex_longitude":"2d833480","hex_latitude":"05d153e0","is_valid_coordinates":true} 
[2026-08-19 07:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498476544001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120522722265530368,"note":"Value kept but may cause issues"} 
[2026-08-19 07:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476911104,"note":"Value kept but may cause issues"} 
[2026-08-19 07:10:00] 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-08-19 07:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787103424000,"timestamp_ms":1787103424000,"timestamp_seconds":1787103424,"priority":1,"record_length":96,"hex_timestamp":"000001a017aa2e00"} 
[2026-08-19 07:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-19 07:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1297,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498476544001,"66":5231,"111":206,"85":15104,"24":0,"16":120522722265530368,"45":-8992421793476911104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 07:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498476544001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:10:00] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 07:10:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120522722265530368,"km_value":120522722265530.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476911104,"description":"Unknown IO ID 45"} 
[2026-08-19 07:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498476544001,"power":5231,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476911104}} 
[2026-08-19 07:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":159913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:10:00] local.INFO: GPS data processed {"connection_id":159913,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:10:00] local.INFO: Acknowledgment sent {"connection_id":159913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:10:00] local.INFO: TCP Data received {"connection_id":158626,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:10:00] local.INFO: Processing buffer {"connection_id":158626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:10:00] local.INFO: IMEI packet received {"connection_id":158626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":158626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:10:04] local.INFO: TCP Data received {"connection_id":159913,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a017aa2e00012d83348005d153e0000a000322..."} 
[2026-08-19 07:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017aa2e00012d83348005d153e0000a000322..."} 
[2026-08-19 07:10:04] local.INFO: Processing buffer {"connection_id":159913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017aa2e00012d83348005d153e0000a000322..."} 
[2026-08-19 07:10:04] local.INFO: Packet analysis {"connection_id":159913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017aa"} 
[2026-08-19 07:10:04] local.INFO: Extracted packet for processing {"connection_id":159913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017aa"} 
[2026-08-19 07:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604576,"longitude_deg":76.3573376,"latitude_deg":9.7604576,"altitude":10,"angle":3,"satellites":34,"speed":0,"hex_longitude":"2d833480","hex_latitude":"05d153e0","is_valid_coordinates":true} 
[2026-08-19 07:10:04] 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-08-19 07:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498476544001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120522722265530368,"note":"Value kept but may cause issues"} 
[2026-08-19 07:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476911104,"note":"Value kept but may cause issues"} 
[2026-08-19 07:10:04] 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-08-19 07:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787103424000,"timestamp_ms":1787103424000,"timestamp_seconds":1787103424,"priority":1,"record_length":96,"hex_timestamp":"000001a017aa2e00"} 
[2026-08-19 07:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-19 07:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1297,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498476544001,"66":5231,"111":206,"85":15104,"24":0,"16":120522722265530368,"45":-8992421793476911104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 07:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498476544001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:10:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 07:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120522722265530368,"km_value":120522722265530.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476911104,"description":"Unknown IO ID 45"} 
[2026-08-19 07:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498476544001,"power":5231,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476911104}} 
[2026-08-19 07:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":159913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:10:04] local.INFO: GPS data processed {"connection_id":159913,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:10:04] local.INFO: Acknowledgment sent {"connection_id":159913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:10:05] local.INFO: TCP Data received {"connection_id":158626,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:10:05] local.INFO: Processing buffer {"connection_id":158626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:10:05] local.INFO: IMEI packet received {"connection_id":158626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":158626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:10:06] local.INFO: TCP Data received {"connection_id":158626,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:10:06] local.INFO: Processing buffer {"connection_id":158626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:10:06] local.INFO: Packet analysis {"connection_id":158626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:10:06] local.INFO: Extracted packet for processing {"connection_id":158626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498420736001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522078720,"note":"Value kept but may cause issues"} 
[2026-08-19 07:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787103508000,"timestamp_ms":1787103508000,"timestamp_seconds":1787103508,"priority":1,"record_length":96,"hex_timestamp":"000001a017ab7620"} 
[2026-08-19 07:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 07:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:10:06] 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-08-19 07:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498420736001,"66":26517,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802304751522078720},"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-08-19 07:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498420736001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522078720,"description":"Unknown IO ID 45"} 
[2026-08-19 07:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498420736001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522078720}} 
[2026-08-19 07:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":158626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:10:06] local.INFO: GPS data processed {"connection_id":158626,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:10:06] local.INFO: Acknowledgment sent {"connection_id":158626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:10:37] local.INFO: TCP Data received {"connection_id":158626,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:10:37] local.INFO: Processing buffer {"connection_id":158626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:10:37] local.INFO: Packet analysis {"connection_id":158626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:10:37] local.INFO: Extracted packet for processing {"connection_id":158626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498420736001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522078720,"note":"Value kept but may cause issues"} 
[2026-08-19 07:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787103508000,"timestamp_ms":1787103508000,"timestamp_seconds":1787103508,"priority":1,"record_length":96,"hex_timestamp":"000001a017ab7620"} 
[2026-08-19 07:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 07:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:10:37] 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-08-19 07:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498420736001,"66":26517,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802304751522078720},"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-08-19 07:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498420736001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522078720,"description":"Unknown IO ID 45"} 
[2026-08-19 07:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498420736001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522078720}} 
[2026-08-19 07:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":158626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:10:37] local.INFO: GPS data processed {"connection_id":158626,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:10:37] local.INFO: Acknowledgment sent {"connection_id":158626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:10:49] local.INFO: TCP Data received {"connection_id":157360,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:10:49] local.INFO: Processing buffer {"connection_id":157360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:10:49] local.INFO: IMEI packet received {"connection_id":157360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":157360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:10:55] local.INFO: TCP Data received {"connection_id":157360,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:10:55] local.INFO: Processing buffer {"connection_id":157360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:10:55] local.INFO: IMEI packet received {"connection_id":157360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":157360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:10:56] local.INFO: TCP Data received {"connection_id":157360,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a017aa2e00012d83348005d153e0000a000322..."} 
[2026-08-19 07:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017aa2e00012d83348005d153e0000a000322..."} 
[2026-08-19 07:10:56] local.INFO: Processing buffer {"connection_id":157360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017aa2e00012d83348005d153e0000a000322..."} 
[2026-08-19 07:10:56] local.INFO: Packet analysis {"connection_id":157360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017aa"} 
[2026-08-19 07:10:56] local.INFO: Extracted packet for processing {"connection_id":157360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017aa"} 
[2026-08-19 07:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763573376,"raw_latitude":97604576,"longitude_deg":76.3573376,"latitude_deg":9.7604576,"altitude":10,"angle":3,"satellites":34,"speed":0,"hex_longitude":"2d833480","hex_latitude":"05d153e0","is_valid_coordinates":true} 
[2026-08-19 07:10:56] 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-08-19 07:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498476544001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120522722265530368,"note":"Value kept but may cause issues"} 
[2026-08-19 07:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992421793476911104,"note":"Value kept but may cause issues"} 
[2026-08-19 07:10:56] 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-08-19 07:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787103424000,"timestamp_ms":1787103424000,"timestamp_seconds":1787103424,"priority":1,"record_length":96,"hex_timestamp":"000001a017aa2e00"} 
[2026-08-19 07:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-19 07:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1297,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":157360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":157360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":157360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498476544001,"66":5231,"111":206,"85":15104,"24":0,"16":120522722265530368,"45":-8992421793476911104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 07:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498476544001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:10:56] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 07:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120522722265530368,"km_value":120522722265530.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992421793476911104,"description":"Unknown IO ID 45"} 
[2026-08-19 07:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498476544001,"power":5231,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992421793476911104}} 
[2026-08-19 07:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":157360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:10:56] local.INFO: GPS data processed {"connection_id":157360,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:10:56] local.INFO: Acknowledgment sent {"connection_id":157360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:11:05] local.INFO: TCP Data received {"connection_id":157361,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:11:05] local.INFO: Processing buffer {"connection_id":157361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:11:05] local.INFO: IMEI packet received {"connection_id":157361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":157361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:11:10] local.INFO: TCP Data received {"connection_id":157361,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:11:10] local.INFO: Processing buffer {"connection_id":157361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:11:10] local.INFO: IMEI packet received {"connection_id":157361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":157361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:11:11] local.INFO: TCP Data received {"connection_id":157361,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:11:11] local.INFO: Processing buffer {"connection_id":157361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:11:11] local.INFO: Packet analysis {"connection_id":157361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:11:11] local.INFO: Extracted packet for processing {"connection_id":157361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:11:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498420736001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522078720,"note":"Value kept but may cause issues"} 
[2026-08-19 07:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787103508000,"timestamp_ms":1787103508000,"timestamp_seconds":1787103508,"priority":1,"record_length":96,"hex_timestamp":"000001a017ab7620"} 
[2026-08-19 07:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 07:11: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-08-19 07: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-08-19 07:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498420736001,"66":26517,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802304751522078720},"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-08-19 07:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498420736001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:11:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:11:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522078720,"description":"Unknown IO ID 45"} 
[2026-08-19 07:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498420736001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522078720}} 
[2026-08-19 07:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":157361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:11:11] local.INFO: GPS data processed {"connection_id":157361,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:11:11] local.INFO: Acknowledgment sent {"connection_id":157361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:11:43] local.INFO: TCP Data received {"connection_id":157361,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:11:43] local.INFO: Processing buffer {"connection_id":157361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:11:43] local.INFO: Packet analysis {"connection_id":157361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:11:43] local.INFO: Extracted packet for processing {"connection_id":157361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498420736001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522078720,"note":"Value kept but may cause issues"} 
[2026-08-19 07:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787103508000,"timestamp_ms":1787103508000,"timestamp_seconds":1787103508,"priority":1,"record_length":96,"hex_timestamp":"000001a017ab7620"} 
[2026-08-19 07:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 07:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498420736001,"66":26517,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802304751522078720},"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-08-19 07:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498420736001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:11:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:11:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522078720,"description":"Unknown IO ID 45"} 
[2026-08-19 07:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498420736001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522078720}} 
[2026-08-19 07:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":157361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:11:43] local.INFO: GPS data processed {"connection_id":157361,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:11:43] local.INFO: Acknowledgment sent {"connection_id":157361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:12:00] local.INFO: TCP Data received {"connection_id":158627,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:12:00] local.INFO: Processing buffer {"connection_id":158627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:12:00] local.INFO: IMEI packet received {"connection_id":158627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":158627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:12:05] local.INFO: TCP Data received {"connection_id":158627,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:12:05] local.INFO: Processing buffer {"connection_id":158627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:12:05] local.INFO: IMEI packet received {"connection_id":158627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":158627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:12:07] local.INFO: TCP Data received {"connection_id":158627,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:12:07] local.INFO: Processing buffer {"connection_id":158627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:12:07] local.INFO: Packet analysis {"connection_id":158627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:12:07] local.INFO: Extracted packet for processing {"connection_id":158627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498420736001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522078720,"note":"Value kept but may cause issues"} 
[2026-08-19 07:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787103508000,"timestamp_ms":1787103508000,"timestamp_seconds":1787103508,"priority":1,"record_length":96,"hex_timestamp":"000001a017ab7620"} 
[2026-08-19 07:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 07:12:07] 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-08-19 07: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-08-19 07:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:12:07] 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-08-19 07:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498420736001,"66":26517,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802304751522078720},"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-08-19 07:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498420736001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:12:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:12:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522078720,"description":"Unknown IO ID 45"} 
[2026-08-19 07:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498420736001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522078720}} 
[2026-08-19 07:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":158627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:12:07] local.INFO: GPS data processed {"connection_id":158627,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:12:07] local.INFO: Acknowledgment sent {"connection_id":158627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:12:38] local.INFO: TCP Data received {"connection_id":158627,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:12:38] local.INFO: Processing buffer {"connection_id":158627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:12:38] local.INFO: Packet analysis {"connection_id":158627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:12:38] local.INFO: Extracted packet for processing {"connection_id":158627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498420736001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522078720,"note":"Value kept but may cause issues"} 
[2026-08-19 07:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787103508000,"timestamp_ms":1787103508000,"timestamp_seconds":1787103508,"priority":1,"record_length":96,"hex_timestamp":"000001a017ab7620"} 
[2026-08-19 07:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 07:12:38] 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-08-19 07: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-08-19 07:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:12:38] 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-08-19 07:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498420736001,"66":26517,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802304751522078720},"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-08-19 07:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498420736001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:12:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522078720,"description":"Unknown IO ID 45"} 
[2026-08-19 07:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498420736001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522078720}} 
[2026-08-19 07:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":158627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:12:38] local.INFO: GPS data processed {"connection_id":158627,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:12:38] local.INFO: Acknowledgment sent {"connection_id":158627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:13:01] local.INFO: TCP Data received {"connection_id":159914,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:13:01] local.INFO: Processing buffer {"connection_id":159914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:13:01] local.INFO: IMEI packet received {"connection_id":159914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":159914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:13:05] local.INFO: TCP Data received {"connection_id":159914,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:13:05] local.INFO: Processing buffer {"connection_id":159914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:13:05] local.INFO: IMEI packet received {"connection_id":159914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":159914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:13:06] local.INFO: TCP Data received {"connection_id":159914,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:13:06] local.INFO: Processing buffer {"connection_id":159914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:13:06] local.INFO: Packet analysis {"connection_id":159914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:13:06] local.INFO: Extracted packet for processing {"connection_id":159914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498420736001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522078720,"note":"Value kept but may cause issues"} 
[2026-08-19 07:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787103508000,"timestamp_ms":1787103508000,"timestamp_seconds":1787103508,"priority":1,"record_length":96,"hex_timestamp":"000001a017ab7620"} 
[2026-08-19 07:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 07:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:13:06] 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-08-19 07:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498420736001,"66":26517,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802304751522078720},"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-08-19 07:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498420736001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:13:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522078720,"description":"Unknown IO ID 45"} 
[2026-08-19 07:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498420736001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522078720}} 
[2026-08-19 07:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":159914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:13:06] local.INFO: GPS data processed {"connection_id":159914,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:13:06] local.INFO: Acknowledgment sent {"connection_id":159914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:13:39] local.INFO: TCP Data received {"connection_id":159914,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:13:39] local.INFO: Processing buffer {"connection_id":159914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:13:39] local.INFO: Packet analysis {"connection_id":159914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:13:39] local.INFO: Extracted packet for processing {"connection_id":159914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:13:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498420736001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522078720,"note":"Value kept but may cause issues"} 
[2026-08-19 07:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787103508000,"timestamp_ms":1787103508000,"timestamp_seconds":1787103508,"priority":1,"record_length":96,"hex_timestamp":"000001a017ab7620"} 
[2026-08-19 07:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:13: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-08-19 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 07:13:39] 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-08-19 07: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-08-19 07:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:13:39] 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-08-19 07:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498420736001,"66":26517,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802304751522078720},"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-08-19 07:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498420736001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:13:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:13:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522078720,"description":"Unknown IO ID 45"} 
[2026-08-19 07:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498420736001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522078720}} 
[2026-08-19 07:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":159914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:13:39] local.INFO: GPS data processed {"connection_id":159914,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:13:39] local.INFO: Acknowledgment sent {"connection_id":159914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:14:00] local.INFO: TCP Data received {"connection_id":157362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:14:00] local.INFO: Processing buffer {"connection_id":157362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:14:00] local.INFO: IMEI packet received {"connection_id":157362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":157362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:14:05] local.INFO: TCP Data received {"connection_id":157362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:14:05] local.INFO: Processing buffer {"connection_id":157362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:14:05] local.INFO: IMEI packet received {"connection_id":157362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":157362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:14:06] local.INFO: TCP Data received {"connection_id":157362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:14:06] local.INFO: Processing buffer {"connection_id":157362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ab7620012d34c50006aa4078000900592a..."} 
[2026-08-19 07:14:06] local.INFO: Packet analysis {"connection_id":157362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:14:06] local.INFO: Extracted packet for processing {"connection_id":157362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ab"} 
[2026-08-19 07:14:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498420736001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522078720,"note":"Value kept but may cause issues"} 
[2026-08-19 07:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787103508000,"timestamp_ms":1787103508000,"timestamp_seconds":1787103508,"priority":1,"record_length":96,"hex_timestamp":"000001a017ab7620"} 
[2026-08-19 07:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 07:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498420736001,"66":26517,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802304751522078720},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498420736001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:14:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:14:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522078720,"description":"Unknown IO ID 45"} 
[2026-08-19 07:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498420736001,"power":26517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522078720}} 
[2026-08-19 07:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":157362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:14:06] local.INFO: GPS data processed {"connection_id":157362,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:14:06] local.INFO: Acknowledgment sent {"connection_id":157362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:14:07] local.INFO: TCP Data received {"connection_id":157362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:14:07] local.INFO: Processing buffer {"connection_id":157362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:14:07] local.INFO: Packet analysis {"connection_id":157362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:14:07] local.INFO: Extracted packet for processing {"connection_id":157362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498498048001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787103809000,"timestamp_ms":1787103809000,"timestamp_seconds":1787103809,"priority":1,"record_length":96,"hex_timestamp":"000001a017b00de8"} 
[2026-08-19 07:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-19 07:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:14: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-08-19 07:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498498048001,"66":26234,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498498048001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:14:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:14:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498498048001,"power":26234,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":157362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:14:07] local.INFO: GPS data processed {"connection_id":157362,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:14:07] local.INFO: Acknowledgment sent {"connection_id":157362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:14:38] local.INFO: TCP Data received {"connection_id":157362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:14:38] local.INFO: Processing buffer {"connection_id":157362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:14:38] local.INFO: Packet analysis {"connection_id":157362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:14:38] local.INFO: Extracted packet for processing {"connection_id":157362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498498048001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787103809000,"timestamp_ms":1787103809000,"timestamp_seconds":1787103809,"priority":1,"record_length":96,"hex_timestamp":"000001a017b00de8"} 
[2026-08-19 07:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-19 07:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498498048001,"66":26234,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498498048001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:14:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498498048001,"power":26234,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":157362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:14:38] local.INFO: GPS data processed {"connection_id":157362,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:14:38] local.INFO: Acknowledgment sent {"connection_id":157362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:14:51] local.INFO: TCP Data received {"connection_id":158628,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:14:51] local.INFO: Processing buffer {"connection_id":158628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:14:51] local.INFO: IMEI packet received {"connection_id":158628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":158628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:14:55] local.INFO: TCP Data received {"connection_id":158628,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158628,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:14:55] local.INFO: Processing buffer {"connection_id":158628,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:14:55] local.INFO: IMEI packet received {"connection_id":158628,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":158628,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:14:56] local.INFO: TCP Data received {"connection_id":158628,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017b0b9c8012d82964005d1f2800007016622..."} 
[2026-08-19 07:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b0b9c8012d82964005d1f2800007016622..."} 
[2026-08-19 07:14:56] local.INFO: Processing buffer {"connection_id":158628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b0b9c8012d82964005d1f2800007016622..."} 
[2026-08-19 07:14:56] local.INFO: Packet analysis {"connection_id":158628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:14:56] local.INFO: Extracted packet for processing {"connection_id":158628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763532864,"raw_latitude":97645184,"longitude_deg":76.3532864,"latitude_deg":9.7645184,"altitude":7,"angle":358,"satellites":34,"speed":31,"hex_longitude":"2d829640","hex_latitude":"05d1f280","is_valid_coordinates":true} 
[2026-08-19 07:14:56] 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-08-19 07:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120525372260352000,"note":"Value kept but may cause issues"} 
[2026-08-19 07:14:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,63,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 07:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787103853000,"timestamp_ms":1787103853000,"timestamp_seconds":1787103853,"priority":1,"record_length":96,"hex_timestamp":"000001a017b0b9c8"} 
[2026-08-19 07:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:14:56] 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-08-19 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 07:14:56] 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-08-19 07: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-08-19 07:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":158628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":158628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":158628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:14:56] 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-08-19 07:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13363,"63":206,"85":15104,"24":31,"16":120525372260352000},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16]} 
[2026-08-19 07:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-19 07:14:56] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-19 07:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120525372260352000,"km_value":120525372260352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:14:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13363,"unknown_63":206,"unknown_85":15104,"ignition":31,"odometer":null}} 
[2026-08-19 07:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":158628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:14:56] local.INFO: GPS data processed {"connection_id":158628,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:14:56] local.INFO: Acknowledgment sent {"connection_id":158628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:15:00] local.INFO: TCP Data received {"connection_id":159915,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:15:00] local.INFO: Processing buffer {"connection_id":159915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:15:00] local.INFO: IMEI packet received {"connection_id":159915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":159915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:15:05] local.INFO: TCP Data received {"connection_id":159915,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:15:05] local.INFO: Processing buffer {"connection_id":159915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:15:05] local.INFO: IMEI packet received {"connection_id":159915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":159915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:15:06] local.INFO: TCP Data received {"connection_id":159915,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:15:06] local.INFO: Processing buffer {"connection_id":159915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:15:06] local.INFO: Packet analysis {"connection_id":159915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:15:06] local.INFO: Extracted packet for processing {"connection_id":159915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498498048001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787103809000,"timestamp_ms":1787103809000,"timestamp_seconds":1787103809,"priority":1,"record_length":96,"hex_timestamp":"000001a017b00de8"} 
[2026-08-19 07:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-19 07:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498498048001,"66":26234,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498498048001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:15:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498498048001,"power":26234,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":159915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:15:06] local.INFO: GPS data processed {"connection_id":159915,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:15:06] local.INFO: Acknowledgment sent {"connection_id":159915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:15:28] local.INFO: TCP Data received {"connection_id":158628,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017b0d520012d8295c005d205c00005016623..."} 
[2026-08-19 07:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b0d520012d8295c005d205c00005016623..."} 
[2026-08-19 07:15:28] local.INFO: Processing buffer {"connection_id":158628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b0d520012d8295c005d205c00005016623..."} 
[2026-08-19 07:15:28] local.INFO: Packet analysis {"connection_id":158628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:15:28] local.INFO: Extracted packet for processing {"connection_id":158628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:15:28] local.INFO: GPS Element Parsed {"raw_longitude":763532736,"raw_latitude":97650112,"longitude_deg":76.3532736,"latitude_deg":9.7650112,"altitude":5,"angle":358,"satellites":35,"speed":27,"hex_longitude":"2d8295c0","hex_latitude":"05d205c0","is_valid_coordinates":true} 
[2026-08-19 07:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498586368001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120525612778520576,"note":"Value kept but may cause issues"} 
[2026-08-19 07:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208530976768,"note":"Value kept but may cause issues"} 
[2026-08-19 07:15:28] 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-08-19 07:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787103860000,"timestamp_ms":1787103860000,"timestamp_seconds":1787103860,"priority":1,"record_length":96,"hex_timestamp":"000001a017b0d520"} 
[2026-08-19 07:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 07:15:28] 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-08-19 07:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":158628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":158628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":158628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:15:28] 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-08-19 07:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498586368001,"66":13504,"63":206,"85":15104,"24":27,"16":120525612778520576,"45":-9036965208530976768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-19 07:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498586368001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:15:28] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-19 07:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120525612778520576,"km_value":120525612778520.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208530976768,"description":"Unknown IO ID 45"} 
[2026-08-19 07:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498586368001,"power":13504,"unknown_63":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9036965208530976768}} 
[2026-08-19 07:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":158628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:15:28] local.INFO: GPS data processed {"connection_id":158628,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:15:28] local.INFO: Acknowledgment sent {"connection_id":158628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:15:37] local.INFO: TCP Data received {"connection_id":159915,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:15:37] local.INFO: Processing buffer {"connection_id":159915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:15:37] local.INFO: Packet analysis {"connection_id":159915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:15:37] local.INFO: Extracted packet for processing {"connection_id":159915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498498048001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787103809000,"timestamp_ms":1787103809000,"timestamp_seconds":1787103809,"priority":1,"record_length":96,"hex_timestamp":"000001a017b00de8"} 
[2026-08-19 07:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-19 07:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498498048001,"66":26234,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498498048001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498498048001,"power":26234,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":159915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:15:37] local.INFO: GPS data processed {"connection_id":159915,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:15:37] local.INFO: Acknowledgment sent {"connection_id":159915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:15:59] local.INFO: TCP Data received {"connection_id":158628,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017b107e8012d82950005d229b80006000025..."} 
[2026-08-19 07:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b107e8012d82950005d229b80006000025..."} 
[2026-08-19 07:15:59] local.INFO: Processing buffer {"connection_id":158628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b107e8012d82950005d229b80006000025..."} 
[2026-08-19 07:15:59] local.INFO: Packet analysis {"connection_id":158628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b1"} 
[2026-08-19 07:15:59] local.INFO: Extracted packet for processing {"connection_id":158628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b1"} 
[2026-08-19 07:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763532544,"raw_latitude":97659320,"longitude_deg":76.3532544,"latitude_deg":9.765932,"altitude":6,"angle":0,"satellites":37,"speed":29,"hex_longitude":"2d829500","hex_latitude":"05d229b8","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498588160001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120526059455119360,"note":"Value kept but may cause issues"} 
[2026-08-19 07:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037105946018070528,"note":"Value kept but may cause issues"} 
[2026-08-19 07:15:59] 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-08-19 07:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787103873000,"timestamp_ms":1787103873000,"timestamp_seconds":1787103873,"priority":1,"record_length":96,"hex_timestamp":"000001a017b107e8"} 
[2026-08-19 07:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-19 07:15: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-08-19 07: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-08-19 07:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":158628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":158628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":158628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:15:59] 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-08-19 07:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498588160001,"66":13406,"63":206,"85":15104,"24":29,"16":120526059455119360,"45":-9037105946018070528},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-19 07:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498588160001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:15:59] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-19 07:15:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120526059455119360,"km_value":120526059455119.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037105946018070528,"description":"Unknown IO ID 45"} 
[2026-08-19 07:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498588160001,"power":13406,"unknown_63":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9037105946018070528}} 
[2026-08-19 07:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":158628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:15:59] local.INFO: GPS data processed {"connection_id":158628,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:15:59] local.INFO: Acknowledgment sent {"connection_id":158628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:16:05] local.INFO: TCP Data received {"connection_id":159916,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:16:05] local.INFO: Processing buffer {"connection_id":159916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:16:05] local.INFO: IMEI packet received {"connection_id":159916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":159916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:16:10] local.INFO: TCP Data received {"connection_id":159916,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:16:10] local.INFO: Processing buffer {"connection_id":159916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:16:10] local.INFO: IMEI packet received {"connection_id":159916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":159916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:16:11] local.INFO: TCP Data received {"connection_id":159916,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:16:11] local.INFO: Processing buffer {"connection_id":159916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:16:11] local.INFO: Packet analysis {"connection_id":159916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:16:11] local.INFO: Extracted packet for processing {"connection_id":159916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:16:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498498048001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787103809000,"timestamp_ms":1787103809000,"timestamp_seconds":1787103809,"priority":1,"record_length":96,"hex_timestamp":"000001a017b00de8"} 
[2026-08-19 07:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:16:11] 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-08-19 07: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-19 07:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498498048001,"66":26234,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498498048001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:16:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:16:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498498048001,"power":26234,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":159916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:16:11] local.INFO: GPS data processed {"connection_id":159916,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:16:11] local.INFO: Acknowledgment sent {"connection_id":159916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:16:15] local.INFO: TCP Data received {"connection_id":159916,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:16:15] local.INFO: Processing buffer {"connection_id":159916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:16:15] local.INFO: Packet analysis {"connection_id":159916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:16:15] local.INFO: Extracted packet for processing {"connection_id":159916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498498048001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787103809000,"timestamp_ms":1787103809000,"timestamp_seconds":1787103809,"priority":1,"record_length":96,"hex_timestamp":"000001a017b00de8"} 
[2026-08-19 07:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:16:15] 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-08-19 07:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-19 07:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":159916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":159916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498498048001,"66":26234,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498498048001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:16:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498498048001,"power":26234,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":159916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:16:15] local.INFO: GPS data processed {"connection_id":159916,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:16:15] local.INFO: Acknowledgment sent {"connection_id":159916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:16:31] local.INFO: TCP Data received {"connection_id":158628,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017b136c8012d8296c005d24ce00007016625..."} 
[2026-08-19 07:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b136c8012d8296c005d24ce00007016625..."} 
[2026-08-19 07:16:31] local.INFO: Processing buffer {"connection_id":158628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b136c8012d8296c005d24ce00007016625..."} 
[2026-08-19 07:16:31] local.INFO: Packet analysis {"connection_id":158628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b1"} 
[2026-08-19 07:16:31] local.INFO: Extracted packet for processing {"connection_id":158628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b1"} 
[2026-08-19 07:16:31] local.INFO: GPS Element Parsed {"raw_longitude":763532992,"raw_latitude":97668320,"longitude_deg":76.3532992,"latitude_deg":9.766832,"altitude":7,"angle":358,"satellites":37,"speed":30,"hex_longitude":"2d8296c0","hex_latitude":"05d24ce0","is_valid_coordinates":true} 
[2026-08-19 07:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498591488001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120526497541783552,"note":"Value kept but may cause issues"} 
[2026-08-19 07:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037317052248246272,"note":"Value kept but may cause issues"} 
[2026-08-19 07:16:31] 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-08-19 07:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787103885000,"timestamp_ms":1787103885000,"timestamp_seconds":1787103885,"priority":1,"record_length":96,"hex_timestamp":"000001a017b136c8"} 
[2026-08-19 07:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-19 07:16: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-08-19 07:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":158628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":158628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":158628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:16:31] 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-08-19 07:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498591488001,"66":13319,"63":206,"85":15104,"24":30,"16":120526497541783552,"45":-9037317052248246272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-19 07:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498591488001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:16:31] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-19 07:16:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120526497541783552,"km_value":120526497541783.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037317052248246272,"description":"Unknown IO ID 45"} 
[2026-08-19 07:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498591488001,"power":13319,"unknown_63":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9037317052248246272}} 
[2026-08-19 07:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":158628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:16:31] local.INFO: GPS data processed {"connection_id":158628,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:16:31] local.INFO: Acknowledgment sent {"connection_id":158628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:17:00] local.INFO: TCP Data received {"connection_id":158629,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:17:00] local.INFO: Processing buffer {"connection_id":158629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:17:00] local.INFO: IMEI packet received {"connection_id":158629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":158629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:17:02] local.INFO: TCP Data received {"connection_id":158628,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017b2dca8012d827dc005d34b900009010625..."} 
[2026-08-19 07:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b2dca8012d827dc005d34b900009010625..."} 
[2026-08-19 07:17:02] local.INFO: Processing buffer {"connection_id":158628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b2dca8012d827dc005d34b900009010625..."} 
[2026-08-19 07:17:02] local.INFO: Packet analysis {"connection_id":158628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b2"} 
[2026-08-19 07:17:02] local.INFO: Extracted packet for processing {"connection_id":158628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b2"} 
[2026-08-19 07:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763526592,"raw_latitude":97733520,"longitude_deg":76.3526592,"latitude_deg":9.773352,"altitude":9,"angle":262,"satellites":37,"speed":10,"hex_longitude":"2d827dc0","hex_latitude":"05d34b90","is_valid_coordinates":true} 
[2026-08-19 07:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498621952001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120529705882353664,"note":"Value kept but may cause issues"} 
[2026-08-19 07:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043579870461061120,"note":"Value kept but may cause issues"} 
[2026-08-19 07:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787103993000,"timestamp_ms":1787103993000,"timestamp_seconds":1787103993,"priority":1,"record_length":96,"hex_timestamp":"000001a017b2dca8"} 
[2026-08-19 07:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-19 07:17:02] 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-08-19 07:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":158628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":158628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":158628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:17:02] 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-08-19 07:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498621952001,"66":13254,"67":206,"85":15104,"24":10,"16":120529705882353664,"45":-9043579870461061120},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-19 07:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498621952001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:17:02] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 07:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120529705882353664,"km_value":120529705882353.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043579870461061120,"description":"Unknown IO ID 45"} 
[2026-08-19 07:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498621952001,"power":13254,"unknown_67":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9043579870461061120}} 
[2026-08-19 07:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":158628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:17:02] local.INFO: GPS data processed {"connection_id":158628,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:17:02] local.INFO: Acknowledgment sent {"connection_id":158628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:17:05] local.INFO: TCP Data received {"connection_id":158629,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:17:05] local.INFO: Processing buffer {"connection_id":158629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:17:05] local.INFO: IMEI packet received {"connection_id":158629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":158629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:17:06] local.INFO: TCP Data received {"connection_id":158629,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:17:06] local.INFO: Processing buffer {"connection_id":158629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:17:06] local.INFO: Packet analysis {"connection_id":158629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:17:06] local.INFO: Extracted packet for processing {"connection_id":158629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498498048001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787103809000,"timestamp_ms":1787103809000,"timestamp_seconds":1787103809,"priority":1,"record_length":96,"hex_timestamp":"000001a017b00de8"} 
[2026-08-19 07:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-19 07:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498498048001,"66":26234,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498498048001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:17:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:17:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498498048001,"power":26234,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":158629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:17:06] local.INFO: GPS data processed {"connection_id":158629,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:17:06] local.INFO: Acknowledgment sent {"connection_id":158629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:17:33] local.INFO: TCP Data received {"connection_id":158628,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017b30b88012d8259c005d34498000a010525..."} 
[2026-08-19 07:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b30b88012d8259c005d34498000a010525..."} 
[2026-08-19 07:17:33] local.INFO: Processing buffer {"connection_id":158628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b30b88012d8259c005d34498000a010525..."} 
[2026-08-19 07:17:33] local.INFO: Packet analysis {"connection_id":158628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b3"} 
[2026-08-19 07:17:33] local.INFO: Extracted packet for processing {"connection_id":158628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b3"} 
[2026-08-19 07:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763517376,"raw_latitude":97731736,"longitude_deg":76.3517376,"latitude_deg":9.7731736,"altitude":10,"angle":261,"satellites":37,"speed":44,"hex_longitude":"2d8259c0","hex_latitude":"05d34498","is_valid_coordinates":true} 
[2026-08-19 07:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498622208001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120530156853919744,"note":"Value kept but may cause issues"} 
[2026-08-19 07:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043861345437773824,"note":"Value kept but may cause issues"} 
[2026-08-19 07:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787104005000,"timestamp_ms":1787104005000,"timestamp_seconds":1787104005,"priority":1,"record_length":96,"hex_timestamp":"000001a017b30b88"} 
[2026-08-19 07:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-19 07:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:17:33] 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-08-19 07:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498622208001,"66":13298,"67":206,"85":15104,"24":44,"16":120530156853919744,"45":-9043861345437773824},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-19 07:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498622208001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:17:33] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 07:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120530156853919744,"km_value":120530156853919.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043861345437773824,"description":"Unknown IO ID 45"} 
[2026-08-19 07:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498622208001,"power":13298,"unknown_67":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9043861345437773824}} 
[2026-08-19 07:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":158628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:17:33] local.INFO: GPS data processed {"connection_id":158628,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:17:33] local.INFO: Acknowledgment sent {"connection_id":158628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:17:38] local.INFO: TCP Data received {"connection_id":158629,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:17:39] local.INFO: Processing buffer {"connection_id":158629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:17:39] local.INFO: Packet analysis {"connection_id":158629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:17:39] local.INFO: Extracted packet for processing {"connection_id":158629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:17:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498498048001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787103809000,"timestamp_ms":1787103809000,"timestamp_seconds":1787103809,"priority":1,"record_length":96,"hex_timestamp":"000001a017b00de8"} 
[2026-08-19 07:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-19 07:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498498048001,"66":26234,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498498048001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:17:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:17:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498498048001,"power":26234,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":158629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:17:39] local.INFO: GPS data processed {"connection_id":158629,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:17:39] local.INFO: Acknowledgment sent {"connection_id":158629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:18:00] local.INFO: TCP Data received {"connection_id":157742,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:18:00] local.INFO: Processing buffer {"connection_id":157742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:18:00] local.INFO: IMEI packet received {"connection_id":157742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":157742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:18:04] local.INFO: TCP Data received {"connection_id":158628,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017b40588012d81b1c005d385580005014b25..."} 
[2026-08-19 07:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b40588012d81b1c005d385580005014b25..."} 
[2026-08-19 07:18:04] local.INFO: Processing buffer {"connection_id":158628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b40588012d81b1c005d385580005014b25..."} 
[2026-08-19 07:18:04] local.INFO: Packet analysis {"connection_id":158628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:18:04] local.INFO: Extracted packet for processing {"connection_id":158628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:18:04] local.INFO: GPS Element Parsed {"raw_longitude":763474368,"raw_latitude":97748312,"longitude_deg":76.3474368,"latitude_deg":9.7748312,"altitude":5,"angle":331,"satellites":37,"speed":32,"hex_longitude":"2d81b1c0","hex_latitude":"05d38558","is_valid_coordinates":true} 
[2026-08-19 07:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498641408001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120532866978283520,"note":"Value kept but may cause issues"} 
[2026-08-19 07:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100789659473897472,"note":"Value kept but may cause issues"} 
[2026-08-19 07:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787104069000,"timestamp_ms":1787104069000,"timestamp_seconds":1787104069,"priority":1,"record_length":96,"hex_timestamp":"000001a017b40588"} 
[2026-08-19 07:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:18: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-08-19 07:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 07:18:04] 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-08-19 07:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:18:04] 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-08-19 07:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498641408001,"66":13124,"67":206,"85":15104,"24":32,"16":120532866978283520,"45":-9100789659473897472},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-19 07:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498641408001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:18:04] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 07:18:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120532866978283520,"km_value":120532866978283.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100789659473897472,"description":"Unknown IO ID 45"} 
[2026-08-19 07:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498641408001,"power":13124,"unknown_67":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9100789659473897472}} 
[2026-08-19 07:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":158628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:18:04] local.INFO: GPS data processed {"connection_id":158628,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:18:04] local.INFO: Acknowledgment sent {"connection_id":158628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:18:05] local.INFO: TCP Data received {"connection_id":157742,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:18:05] local.INFO: Processing buffer {"connection_id":157742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:18:05] local.INFO: IMEI packet received {"connection_id":157742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":157742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:18:06] local.INFO: TCP Data received {"connection_id":157742,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:18:06] local.INFO: Processing buffer {"connection_id":157742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:18:06] local.INFO: Packet analysis {"connection_id":157742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:18:06] local.INFO: Extracted packet for processing {"connection_id":157742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:18:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498498048001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787103809000,"timestamp_ms":1787103809000,"timestamp_seconds":1787103809,"priority":1,"record_length":96,"hex_timestamp":"000001a017b00de8"} 
[2026-08-19 07:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-19 07:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498498048001,"66":26234,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498498048001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:18:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:18:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498498048001,"power":26234,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":157742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:18:06] local.INFO: GPS data processed {"connection_id":157742,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:18:06] local.INFO: Acknowledgment sent {"connection_id":157742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:18:37] local.INFO: TCP Data received {"connection_id":157742,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:18:37] local.INFO: Processing buffer {"connection_id":157742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:18:37] local.INFO: Packet analysis {"connection_id":157742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:18:37] local.INFO: Extracted packet for processing {"connection_id":157742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498498048001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787103809000,"timestamp_ms":1787103809000,"timestamp_seconds":1787103809,"priority":1,"record_length":96,"hex_timestamp":"000001a017b00de8"} 
[2026-08-19 07:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-19 07:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498498048001,"66":26234,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498498048001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498498048001,"power":26234,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":157742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:18:37] local.INFO: GPS data processed {"connection_id":157742,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:18:37] local.INFO: Acknowledgment sent {"connection_id":157742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:18:51] local.INFO: TCP Data received {"connection_id":158628,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017b4bd20012d819d8005d440600007015a25..."} 
[2026-08-19 07:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b4bd20012d819d8005d440600007015a25..."} 
[2026-08-19 07:18:51] local.INFO: Processing buffer {"connection_id":158628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b4bd20012d819d8005d440600007015a25..."} 
[2026-08-19 07:18:51] local.INFO: Packet analysis {"connection_id":158628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:18:51] local.INFO: Extracted packet for processing {"connection_id":158628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:18:51] local.INFO: GPS Element Parsed {"raw_longitude":763469184,"raw_latitude":97796192,"longitude_deg":76.3469184,"latitude_deg":9.7796192,"altitude":7,"angle":346,"satellites":37,"speed":42,"hex_longitude":"2d819d80","hex_latitude":"05d44060","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498652416001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120535259275067392,"note":"Value kept but may cause issues"} 
[2026-08-19 07:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9104659940392347648,"note":"Value kept but may cause issues"} 
[2026-08-19 07:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787104116000,"timestamp_ms":1787104116000,"timestamp_seconds":1787104116,"priority":1,"record_length":96,"hex_timestamp":"000001a017b4bd20"} 
[2026-08-19 07:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 07:18:51] 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-08-19 07: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-08-19 07:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":158628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":158628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":158628,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:18:51] 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-08-19 07:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498652416001,"66":13254,"166":206,"85":15104,"24":42,"16":120535259275067392,"45":-9104659940392347648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-19 07:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498652416001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:18:51] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-19 07:18:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120535259275067392,"km_value":120535259275067.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9104659940392347648,"description":"Unknown IO ID 45"} 
[2026-08-19 07:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498652416001,"power":13254,"unknown_166":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9104659940392347648}} 
[2026-08-19 07:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":158628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:18:51] local.INFO: GPS data processed {"connection_id":158628,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:18:51] local.INFO: Acknowledgment sent {"connection_id":158628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:19:00] local.INFO: TCP Data received {"connection_id":158630,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:19:00] local.INFO: Processing buffer {"connection_id":158630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:19:00] local.INFO: IMEI packet received {"connection_id":158630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":158630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:19:05] local.INFO: TCP Data received {"connection_id":158630,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:19:05] local.INFO: Processing buffer {"connection_id":158630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:19:05] local.INFO: IMEI packet received {"connection_id":158630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":158630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:19:06] local.INFO: TCP Data received {"connection_id":158630,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:19:06] local.INFO: Processing buffer {"connection_id":158630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b00de8012d34c50006aa4078000900592a..."} 
[2026-08-19 07:19:06] local.INFO: Packet analysis {"connection_id":158630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:19:06] local.INFO: Extracted packet for processing {"connection_id":158630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b0"} 
[2026-08-19 07:19:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498498048001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787103809000,"timestamp_ms":1787103809000,"timestamp_seconds":1787103809,"priority":1,"record_length":96,"hex_timestamp":"000001a017b00de8"} 
[2026-08-19 07:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-19 07:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498498048001,"66":26234,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498498048001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:19:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:19:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498498048001,"power":26234,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":158630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:19:06] local.INFO: GPS data processed {"connection_id":158630,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:19:06] local.INFO: Acknowledgment sent {"connection_id":158630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:19:20] local.INFO: TCP Data received {"connection_id":157743,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:19:20] local.INFO: Processing buffer {"connection_id":157743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:19:20] local.INFO: IMEI packet received {"connection_id":157743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":157743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:19:26] local.INFO: TCP Data received {"connection_id":157743,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:19:26] local.INFO: Processing buffer {"connection_id":157743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:19:26] local.INFO: IMEI packet received {"connection_id":157743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":157743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:19:26] local.INFO: TCP Data received {"connection_id":157743,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017b54da8012d81c14005d4beb00008002625..."} 
[2026-08-19 07:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b54da8012d81c14005d4beb00008002625..."} 
[2026-08-19 07:19:26] local.INFO: Processing buffer {"connection_id":157743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b54da8012d81c14005d4beb00008002625..."} 
[2026-08-19 07:19:26] local.INFO: Packet analysis {"connection_id":157743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b5"} 
[2026-08-19 07:19:26] local.INFO: Extracted packet for processing {"connection_id":157743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b5"} 
[2026-08-19 07:19:26] local.INFO: GPS Element Parsed {"raw_longitude":763478336,"raw_latitude":97828528,"longitude_deg":76.3478336,"latitude_deg":9.7828528,"altitude":8,"angle":38,"satellites":37,"speed":26,"hex_longitude":"2d81c140","hex_latitude":"05d4beb0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 07:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498662912001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120537196305317888,"note":"Value kept but may cause issues"} 
[2026-08-19 07:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097411959732787200,"note":"Value kept but may cause issues"} 
[2026-08-19 07:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787104153000,"timestamp_ms":1787104153000,"timestamp_seconds":1787104153,"priority":1,"record_length":96,"hex_timestamp":"000001a017b54da8"} 
[2026-08-19 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-08-19 07:19: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-08-19 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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-19 07:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 07:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:19:26] 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-08-19 07:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498662912001,"66":13091,"166":206,"85":15104,"24":26,"16":120537196305317888,"45":-9097411959732787200},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-19 07:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498662912001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:19:26] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-19 07:19:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120537196305317888,"km_value":120537196305317.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097411959732787200,"description":"Unknown IO ID 45"} 
[2026-08-19 07:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498662912001,"power":13091,"unknown_166":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9097411959732787200}} 
[2026-08-19 07:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":157743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:19:26] local.INFO: GPS data processed {"connection_id":157743,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:19:26] local.INFO: Acknowledgment sent {"connection_id":157743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:19:38] local.INFO: TCP Data received {"connection_id":158630,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:19:38] local.INFO: Processing buffer {"connection_id":158630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:19:38] local.INFO: Packet analysis {"connection_id":158630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:19:38] local.INFO: Extracted packet for processing {"connection_id":158630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498575104001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787104110000,"timestamp_ms":1787104110000,"timestamp_seconds":1787104110,"priority":1,"record_length":96,"hex_timestamp":"000001a017b4a5b0"} 
[2026-08-19 07:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-19 07:19:38] 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-08-19 07: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-08-19 07:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498575104001,"66":26039,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498575104001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:19:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498575104001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":158630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:19:38] local.INFO: GPS data processed {"connection_id":158630,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:19:38] local.INFO: Acknowledgment sent {"connection_id":158630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:19:57] local.INFO: TCP Data received {"connection_id":157743,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017b55190012d81c20005d4c1580009001425..."} 
[2026-08-19 07:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b55190012d81c20005d4c1580009001425..."} 
[2026-08-19 07:19:57] local.INFO: Processing buffer {"connection_id":157743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b55190012d81c20005d4c1580009001425..."} 
[2026-08-19 07:19:57] local.INFO: Packet analysis {"connection_id":157743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b5"} 
[2026-08-19 07:19:57] local.INFO: Extracted packet for processing {"connection_id":157743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b5"} 
[2026-08-19 07:19:57] local.INFO: GPS Element Parsed {"raw_longitude":763478528,"raw_latitude":97829208,"longitude_deg":76.3478528,"latitude_deg":9.7829208,"altitude":9,"angle":20,"satellites":37,"speed":27,"hex_longitude":"2d81c200","hex_latitude":"05d4c158","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498663168001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120537230665056256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096919378523410432,"note":"Value kept but may cause issues"} 
[2026-08-19 07:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787104154000,"timestamp_ms":1787104154000,"timestamp_seconds":1787104154,"priority":1,"record_length":96,"hex_timestamp":"000001a017b55190"} 
[2026-08-19 07:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 07:19:57] 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-08-19 07: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-08-19 07:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:19:57] 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-08-19 07:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498663168001,"66":13091,"166":206,"85":15104,"24":27,"16":120537230665056256,"45":-9096919378523410432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-19 07:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498663168001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:19:57] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-19 07:19:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120537230665056256,"km_value":120537230665056.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096919378523410432,"description":"Unknown IO ID 45"} 
[2026-08-19 07:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498663168001,"power":13091,"unknown_166":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9096919378523410432}} 
[2026-08-19 07:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":157743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:19:57] local.INFO: GPS data processed {"connection_id":157743,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:19:57] local.INFO: Acknowledgment sent {"connection_id":157743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:20:00] local.INFO: TCP Data received {"connection_id":159917,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:20:00] local.INFO: Processing buffer {"connection_id":159917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:20:00] local.INFO: IMEI packet received {"connection_id":159917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":159917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:20:05] local.INFO: TCP Data received {"connection_id":159917,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:20:05] local.INFO: Processing buffer {"connection_id":159917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:20:05] local.INFO: IMEI packet received {"connection_id":159917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":159917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:20:07] local.INFO: TCP Data received {"connection_id":159917,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:20:07] local.INFO: Processing buffer {"connection_id":159917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:20:07] local.INFO: Packet analysis {"connection_id":159917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:20:07] local.INFO: Extracted packet for processing {"connection_id":159917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:20:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498575104001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787104110000,"timestamp_ms":1787104110000,"timestamp_seconds":1787104110,"priority":1,"record_length":96,"hex_timestamp":"000001a017b4a5b0"} 
[2026-08-19 07:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-19 07:20:07] 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-08-19 07: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-08-19 07:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:20: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-08-19 07:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498575104001,"66":26039,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498575104001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:20:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:20:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498575104001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":159917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:20:07] local.INFO: GPS data processed {"connection_id":159917,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:20:07] local.INFO: Acknowledgment sent {"connection_id":159917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:20:28] local.INFO: TCP Data received {"connection_id":157743,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017b55578012d81c24005d4c4a00008000825..."} 
[2026-08-19 07:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b55578012d81c24005d4c4a00008000825..."} 
[2026-08-19 07:20:28] local.INFO: Processing buffer {"connection_id":157743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b55578012d81c24005d4c4a00008000825..."} 
[2026-08-19 07:20:28] local.INFO: Packet analysis {"connection_id":157743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b5"} 
[2026-08-19 07:20:28] local.INFO: Extracted packet for processing {"connection_id":157743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b5"} 
[2026-08-19 07:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763478592,"raw_latitude":97830048,"longitude_deg":76.3478592,"latitude_deg":9.7830048,"altitude":8,"angle":8,"satellites":37,"speed":32,"hex_longitude":"2d81c240","hex_latitude":"05d4c4a0","is_valid_coordinates":true} 
[2026-08-19 07:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498663424001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120537273614729216,"note":"Value kept but may cause issues"} 
[2026-08-19 07:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096708272290703360,"note":"Value kept but may cause issues"} 
[2026-08-19 07:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787104155000,"timestamp_ms":1787104155000,"timestamp_seconds":1787104155,"priority":1,"record_length":96,"hex_timestamp":"000001a017b55578"} 
[2026-08-19 07:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 07:20:28] 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-08-19 07:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":157743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":157743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":157743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:20:28] 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-08-19 07:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498663424001,"66":13178,"166":206,"85":15104,"24":32,"16":120537273614729216,"45":-9096708272290703360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-19 07:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498663424001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:20:28] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-19 07:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120537273614729216,"km_value":120537273614729.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096708272290703360,"description":"Unknown IO ID 45"} 
[2026-08-19 07:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498663424001,"power":13178,"unknown_166":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9096708272290703360}} 
[2026-08-19 07:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":157743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:20:28] local.INFO: GPS data processed {"connection_id":157743,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:20:28] local.INFO: Acknowledgment sent {"connection_id":157743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:20:38] local.INFO: TCP Data received {"connection_id":159917,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:20:38] local.INFO: Processing buffer {"connection_id":159917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:20:38] local.INFO: Packet analysis {"connection_id":159917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:20:38] local.INFO: Extracted packet for processing {"connection_id":159917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498575104001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787104110000,"timestamp_ms":1787104110000,"timestamp_seconds":1787104110,"priority":1,"record_length":96,"hex_timestamp":"000001a017b4a5b0"} 
[2026-08-19 07:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-19 07:20:38] 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-08-19 07: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-08-19 07:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498575104001,"66":26039,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498575104001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498575104001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":159917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:20:38] local.INFO: GPS data processed {"connection_id":159917,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:20:38] local.INFO: Acknowledgment sent {"connection_id":159917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:20:59] local.INFO: TCP Data received {"connection_id":157743,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017b6dc18012d81ffc005d5d0700006007423..."} 
[2026-08-19 07:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b6dc18012d81ffc005d5d0700006007423..."} 
[2026-08-19 07:20:59] local.INFO: Processing buffer {"connection_id":157743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b6dc18012d81ffc005d5d0700006007423..."} 
[2026-08-19 07:20:59] local.INFO: Packet analysis {"connection_id":157743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b6"} 
[2026-08-19 07:20:59] local.INFO: Extracted packet for processing {"connection_id":157743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b6"} 
[2026-08-19 07:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763494336,"raw_latitude":97898608,"longitude_deg":76.3494336,"latitude_deg":9.7898608,"altitude":6,"angle":116,"satellites":35,"speed":20,"hex_longitude":"2d81ffc0","hex_latitude":"05d5d070","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498689024001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120541439733006336,"note":"Value kept but may cause issues"} 
[2026-08-19 07:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9079819773670254592,"note":"Value kept but may cause issues"} 
[2026-08-19 07:20: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-08-19 07:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787104255000,"timestamp_ms":1787104255000,"timestamp_seconds":1787104255,"priority":1,"record_length":96,"hex_timestamp":"000001a017b6dc18"} 
[2026-08-19 07:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:20: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-08-19 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 07:20: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-08-19 07: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-08-19 07:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":157743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":157743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":157743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:20:59] 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-08-19 07:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498689024001,"66":13243,"165":206,"85":15104,"24":20,"16":120541439733006336,"45":-9079819773670254592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-08-19 07:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498689024001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:20:59] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 07:20:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120541439733006336,"km_value":120541439733006.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9079819773670254592,"description":"Unknown IO ID 45"} 
[2026-08-19 07:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498689024001,"power":13243,"unknown_165":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9079819773670254592}} 
[2026-08-19 07:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":157743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:20:59] local.INFO: GPS data processed {"connection_id":157743,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:20:59] local.INFO: Acknowledgment sent {"connection_id":157743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:21:00] local.INFO: TCP Data received {"connection_id":157744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:21:00] local.INFO: Processing buffer {"connection_id":157744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:21:00] local.INFO: IMEI packet received {"connection_id":157744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":157744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:21:05] local.INFO: TCP Data received {"connection_id":157744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:21:05] local.INFO: Processing buffer {"connection_id":157744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:21:05] local.INFO: IMEI packet received {"connection_id":157744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":157744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:21:06] local.INFO: TCP Data received {"connection_id":157744,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:21:06] local.INFO: Processing buffer {"connection_id":157744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:21:06] local.INFO: Packet analysis {"connection_id":157744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:21:06] local.INFO: Extracted packet for processing {"connection_id":157744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:21:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498575104001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787104110000,"timestamp_ms":1787104110000,"timestamp_seconds":1787104110,"priority":1,"record_length":96,"hex_timestamp":"000001a017b4a5b0"} 
[2026-08-19 07:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-19 07:21:06] 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-08-19 07: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-08-19 07:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498575104001,"66":26039,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498575104001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:21:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:21:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498575104001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":157744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:21:06] local.INFO: GPS data processed {"connection_id":157744,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:21:06] local.INFO: Acknowledgment sent {"connection_id":157744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:21:37] local.INFO: TCP Data received {"connection_id":157744,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:21:37] local.INFO: Processing buffer {"connection_id":157744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:21:37] local.INFO: Packet analysis {"connection_id":157744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:21:37] local.INFO: Extracted packet for processing {"connection_id":157744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498575104001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787104110000,"timestamp_ms":1787104110000,"timestamp_seconds":1787104110,"priority":1,"record_length":96,"hex_timestamp":"000001a017b4a5b0"} 
[2026-08-19 07:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-19 07:21:37] 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-08-19 07: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-08-19 07:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498575104001,"66":26039,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498575104001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:21:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498575104001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":157744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:21:37] local.INFO: GPS data processed {"connection_id":157744,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:21:37] local.INFO: Acknowledgment sent {"connection_id":157744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:21:57] local.INFO: TCP Data received {"connection_id":159918,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:21:57] local.INFO: Processing buffer {"connection_id":159918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:21:57] local.INFO: IMEI packet received {"connection_id":159918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":159918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:21:59] local.INFO: TCP Data received {"connection_id":159918,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:21:59] local.INFO: Processing buffer {"connection_id":159918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:21:59] local.INFO: IMEI packet received {"connection_id":159918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":159918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:22:05] local.INFO: TCP Data received {"connection_id":158631,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:22:05] local.INFO: Processing buffer {"connection_id":158631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:22:05] local.INFO: IMEI packet received {"connection_id":158631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":158631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:22:10] local.INFO: TCP Data received {"connection_id":158631,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:22:10] local.INFO: Processing buffer {"connection_id":158631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:22:10] local.INFO: IMEI packet received {"connection_id":158631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":158631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:22:11] local.INFO: TCP Data received {"connection_id":158631,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:22:11] local.INFO: Processing buffer {"connection_id":158631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:22:11] local.INFO: Packet analysis {"connection_id":158631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:22:11] local.INFO: Extracted packet for processing {"connection_id":158631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:22:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498575104001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787104110000,"timestamp_ms":1787104110000,"timestamp_seconds":1787104110,"priority":1,"record_length":96,"hex_timestamp":"000001a017b4a5b0"} 
[2026-08-19 07:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-19 07:22:11] 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-08-19 07:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498575104001,"66":26039,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498575104001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:22:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:22:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498575104001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":158631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:22:11] local.INFO: GPS data processed {"connection_id":158631,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:22:11] local.INFO: Acknowledgment sent {"connection_id":158631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:22:16] local.INFO: TCP Data received {"connection_id":157745,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:22:16] local.INFO: Processing buffer {"connection_id":157745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:22:16] local.INFO: IMEI packet received {"connection_id":157745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":157745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:22:19] local.INFO: TCP Data received {"connection_id":157745,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:22:19] local.INFO: Processing buffer {"connection_id":157745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:22:19] local.INFO: IMEI packet received {"connection_id":157745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":157745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:22:21] local.INFO: TCP Data received {"connection_id":158631,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:22:21] local.INFO: Processing buffer {"connection_id":158631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:22:21] local.INFO: Packet analysis {"connection_id":158631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:22:21] local.INFO: Extracted packet for processing {"connection_id":158631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 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-08-19 07:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498575104001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 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-08-19 07:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787104110000,"timestamp_ms":1787104110000,"timestamp_seconds":1787104110,"priority":1,"record_length":96,"hex_timestamp":"000001a017b4a5b0"} 
[2026-08-19 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-08-19 07:22: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-08-19 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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-19 07:22: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-08-19 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-08-19 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-08-19 07:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":158631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":158631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":158631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07: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-08-19 07:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498575104001,"66":26039,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498575104001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:22:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498575104001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":158631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:22:21] local.INFO: GPS data processed {"connection_id":158631,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:22:21] local.INFO: Acknowledgment sent {"connection_id":158631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:23:00] local.INFO: TCP Data received {"connection_id":157363,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:23:00] local.INFO: Processing buffer {"connection_id":157363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:23:00] local.INFO: IMEI packet received {"connection_id":157363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":157363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:23:05] local.INFO: TCP Data received {"connection_id":157363,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:23:05] local.INFO: Processing buffer {"connection_id":157363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:23:05] local.INFO: IMEI packet received {"connection_id":157363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":157363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:23:06] local.INFO: TCP Data received {"connection_id":157363,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:23:06] local.INFO: Processing buffer {"connection_id":157363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:23:06] local.INFO: Packet analysis {"connection_id":157363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:23:06] local.INFO: Extracted packet for processing {"connection_id":157363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:23:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498575104001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787104110000,"timestamp_ms":1787104110000,"timestamp_seconds":1787104110,"priority":1,"record_length":96,"hex_timestamp":"000001a017b4a5b0"} 
[2026-08-19 07:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-19 07:23:06] 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-08-19 07:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498575104001,"66":26039,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498575104001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:23:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:23:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498575104001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":157363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:23:06] local.INFO: GPS data processed {"connection_id":157363,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:23:06] local.INFO: Acknowledgment sent {"connection_id":157363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:23:39] local.INFO: TCP Data received {"connection_id":157363,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:23:39] local.INFO: Processing buffer {"connection_id":157363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:23:39] local.INFO: Packet analysis {"connection_id":157363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:23:39] local.INFO: Extracted packet for processing {"connection_id":157363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498575104001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787104110000,"timestamp_ms":1787104110000,"timestamp_seconds":1787104110,"priority":1,"record_length":96,"hex_timestamp":"000001a017b4a5b0"} 
[2026-08-19 07:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:23: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-08-19 07: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":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-19 07:23:39] 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-08-19 07: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-08-19 07:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498575104001,"66":26039,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498575104001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:23:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498575104001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":157363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:23:39] local.INFO: GPS data processed {"connection_id":157363,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:23:39] local.INFO: Acknowledgment sent {"connection_id":157363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:24:00] local.INFO: TCP Data received {"connection_id":159920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:24:00] local.INFO: Processing buffer {"connection_id":159920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:24:00] local.INFO: IMEI packet received {"connection_id":159920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":159920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:24:05] local.INFO: TCP Data received {"connection_id":159920,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:24:05] local.INFO: Processing buffer {"connection_id":159920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:24:05] local.INFO: IMEI packet received {"connection_id":159920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":159920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:24:06] local.INFO: TCP Data received {"connection_id":159920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:24:06] local.INFO: Processing buffer {"connection_id":159920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b4a5b0012d34c50006aa40780009005929..."} 
[2026-08-19 07:24:06] local.INFO: Packet analysis {"connection_id":159920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:24:06] local.INFO: Extracted packet for processing {"connection_id":159920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b4"} 
[2026-08-19 07:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498575104001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787104110000,"timestamp_ms":1787104110000,"timestamp_seconds":1787104110,"priority":1,"record_length":96,"hex_timestamp":"000001a017b4a5b0"} 
[2026-08-19 07:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-19 07:24:06] 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-08-19 07:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498575104001,"66":26039,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498575104001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498575104001,"power":26039,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":159920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:24:06] local.INFO: GPS data processed {"connection_id":159920,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:24:06] local.INFO: Acknowledgment sent {"connection_id":159920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:24:37] local.INFO: TCP Data received {"connection_id":159920,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:24:37] local.INFO: Processing buffer {"connection_id":159920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:24:37] local.INFO: Packet analysis {"connection_id":159920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:24:37] local.INFO: Extracted packet for processing {"connection_id":159920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498652160001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787104411000,"timestamp_ms":1787104411000,"timestamp_seconds":1787104411,"priority":1,"record_length":96,"hex_timestamp":"000001a017b93d78"} 
[2026-08-19 07:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 07:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498652160001,"66":25952,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498652160001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498652160001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":159920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:24:37] local.INFO: GPS data processed {"connection_id":159920,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:24:37] local.INFO: Acknowledgment sent {"connection_id":159920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:25:00] local.INFO: TCP Data received {"connection_id":157365,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:25:00] local.INFO: Processing buffer {"connection_id":157365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:25:00] local.INFO: IMEI packet received {"connection_id":157365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":157365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:25:05] local.INFO: TCP Data received {"connection_id":157365,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:25:05] local.INFO: Processing buffer {"connection_id":157365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:25:05] local.INFO: IMEI packet received {"connection_id":157365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":157365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:25:06] local.INFO: TCP Data received {"connection_id":157365,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:25:06] local.INFO: Processing buffer {"connection_id":157365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:25:06] local.INFO: Packet analysis {"connection_id":157365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:25:06] local.INFO: Extracted packet for processing {"connection_id":157365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498652160001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787104411000,"timestamp_ms":1787104411000,"timestamp_seconds":1787104411,"priority":1,"record_length":96,"hex_timestamp":"000001a017b93d78"} 
[2026-08-19 07:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 07:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498652160001,"66":25952,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498652160001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:25:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498652160001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":157365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:25:06] local.INFO: GPS data processed {"connection_id":157365,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:25:06] local.INFO: Acknowledgment sent {"connection_id":157365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:25:37] local.INFO: TCP Data received {"connection_id":157365,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:25:37] local.INFO: Processing buffer {"connection_id":157365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:25:37] local.INFO: Packet analysis {"connection_id":157365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:25:37] local.INFO: Extracted packet for processing {"connection_id":157365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498652160001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787104411000,"timestamp_ms":1787104411000,"timestamp_seconds":1787104411,"priority":1,"record_length":96,"hex_timestamp":"000001a017b93d78"} 
[2026-08-19 07:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 07:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498652160001,"66":25952,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498652160001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498652160001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":157365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:25:37] local.INFO: GPS data processed {"connection_id":157365,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:25:37] local.INFO: Acknowledgment sent {"connection_id":157365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:26:00] local.INFO: TCP Data received {"connection_id":157366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:26:00] local.INFO: Processing buffer {"connection_id":157366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:26:00] local.INFO: IMEI packet received {"connection_id":157366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":157366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:26:05] local.INFO: TCP Data received {"connection_id":157366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:26:05] local.INFO: Processing buffer {"connection_id":157366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:26:05] local.INFO: IMEI packet received {"connection_id":157366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":157366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:26:06] local.INFO: TCP Data received {"connection_id":157366,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:26:06] local.INFO: Processing buffer {"connection_id":157366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:26:06] local.INFO: Packet analysis {"connection_id":157366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:26:06] local.INFO: Extracted packet for processing {"connection_id":157366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498652160001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787104411000,"timestamp_ms":1787104411000,"timestamp_seconds":1787104411,"priority":1,"record_length":96,"hex_timestamp":"000001a017b93d78"} 
[2026-08-19 07:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 07:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498652160001,"66":25952,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498652160001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:26:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498652160001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":157366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:26:06] local.INFO: GPS data processed {"connection_id":157366,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:26:06] local.INFO: Acknowledgment sent {"connection_id":157366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:26:38] local.INFO: TCP Data received {"connection_id":157366,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:26:38] local.INFO: Processing buffer {"connection_id":157366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:26:38] local.INFO: Packet analysis {"connection_id":157366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:26:38] local.INFO: Extracted packet for processing {"connection_id":157366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498652160001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787104411000,"timestamp_ms":1787104411000,"timestamp_seconds":1787104411,"priority":1,"record_length":96,"hex_timestamp":"000001a017b93d78"} 
[2026-08-19 07:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 07:26:38] 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-08-19 07: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-08-19 07:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498652160001,"66":25952,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498652160001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:26:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498652160001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":157366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:26:38] local.INFO: GPS data processed {"connection_id":157366,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:26:38] local.INFO: Acknowledgment sent {"connection_id":157366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:27:00] local.INFO: TCP Data received {"connection_id":159921,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:27:00] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:27:00] local.INFO: IMEI packet received {"connection_id":159921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":159921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:27:12] local.INFO: TCP Data received {"connection_id":159921,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:27:12] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:27:12] local.INFO: IMEI packet received {"connection_id":159921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":159921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:27:13] local.INFO: TCP Data received {"connection_id":159921,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:27:13] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:27:13] local.INFO: Packet analysis {"connection_id":159921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:27:13] local.INFO: Extracted packet for processing {"connection_id":159921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:27:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498652160001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787104411000,"timestamp_ms":1787104411000,"timestamp_seconds":1787104411,"priority":1,"record_length":96,"hex_timestamp":"000001a017b93d78"} 
[2026-08-19 07:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 07:27:13] 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-08-19 07:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498652160001,"66":25952,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498652160001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:27:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:27:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498652160001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":159921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:27:13] local.INFO: GPS data processed {"connection_id":159921,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:27:13] local.INFO: Acknowledgment sent {"connection_id":159921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:27:26] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:27:26] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:27:26] local.INFO: IMEI packet received {"connection_id":159922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":159922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:27:26] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:27:26] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:27:26] local.INFO: IMEI packet received {"connection_id":159922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":159922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:27:30] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:27:30] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:27:30] local.INFO: IMEI packet received {"connection_id":159922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":159922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:27:31] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017bb8b50012d829fc005d7e6500006016526..."} 
[2026-08-19 07:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bb8b50012d829fc005d7e6500006016526..."} 
[2026-08-19 07:27:31] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bb8b50012d829fc005d7e6500006016526..."} 
[2026-08-19 07:27:31] local.INFO: Packet analysis {"connection_id":159922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bb"} 
[2026-08-19 07:27:31] local.INFO: Extracted packet for processing {"connection_id":159922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bb"} 
[2026-08-19 07:27:31] local.INFO: GPS Element Parsed {"raw_longitude":763535296,"raw_latitude":98035280,"longitude_deg":76.3535296,"latitude_deg":9.803528,"altitude":6,"angle":357,"satellites":38,"speed":44,"hex_longitude":"2d829fc0","hex_latitude":"05d7e650","is_valid_coordinates":true} 
[2026-08-19 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-08-19 07:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498765824001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120550287365636096,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033868983689750528,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:31] 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-08-19 07:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787104562000,"timestamp_ms":1787104562000,"timestamp_seconds":1787104562,"priority":1,"record_length":96,"hex_timestamp":"000001a017bb8b50"} 
[2026-08-19 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-08-19 07:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 07:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167928585638,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:31] local.WARNING: Large IO value detected {"io_id":155,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2192179205,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3612217344,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:31] local.WARNING: Large IO value detected {"io_id":23,"raw_value":3133157377,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795176142,"corrected_to":0} 
[2026-08-19 07:27:31] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847718,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:31] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,155,85,24,241,157,16,71,160,76,45,153,6,38,10,66,70,37,192,114,5,242,1,240,122,227,23,215,4,113,205,110,170,35,239,49,2,172],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2795176142,"validated":0}]} 
[2026-08-19 07:27:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504795851423612928,"timestamp_seconds":504795851423612.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 07:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:27:31] 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-08-19 07:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498765824001,"66":13135,"155":206,"85":15104,"24":44,"16":120550287365636096,"45":-9033868983689750528},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-19 07:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498765824001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:27:31] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 07:27:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120550287365636096,"km_value":120550287365636.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033868983689750528,"description":"Unknown IO ID 45"} 
[2026-08-19 07:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498765824001,"power":13135,"unknown_155":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9033868983689750528}} 
[2026-08-19 07:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":159922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:27:31] local.INFO: GPS data processed {"connection_id":159922,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:27:31] local.INFO: Acknowledgment sent {"connection_id":159922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:27:35] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017bbaa90012d829e4005d80a380006016628..."} 
[2026-08-19 07:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bbaa90012d829e4005d80a380006016628..."} 
[2026-08-19 07:27:35] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bbaa90012d829e4005d80a380006016628..."} 
[2026-08-19 07:27:35] local.INFO: Packet analysis {"connection_id":159922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bb"} 
[2026-08-19 07:27:35] local.INFO: Extracted packet for processing {"connection_id":159922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bb"} 
[2026-08-19 07:27:35] local.INFO: GPS Element Parsed {"raw_longitude":763534912,"raw_latitude":98044472,"longitude_deg":76.3534912,"latitude_deg":9.8044472,"altitude":6,"angle":358,"satellites":40,"speed":44,"hex_longitude":"2d829e40","hex_latitude":"05d80a38","is_valid_coordinates":true} 
[2026-08-19 07:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498767872001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120550734042234880,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034291196152360960,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:35] 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-08-19 07:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787104570000,"timestamp_ms":1787104570000,"timestamp_seconds":1787104570,"priority":1,"record_length":96,"hex_timestamp":"000001a017bbaa90"} 
[2026-08-19 07:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:27: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-08-19 07:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 07:27:35] 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-08-19 07:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:27:35] 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-08-19 07:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498767872001,"66":13254,"155":206,"85":15104,"24":44,"16":120550734042234880,"45":-9034291196152360960},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-19 07:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498767872001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:27:35] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 07:27:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120550734042234880,"km_value":120550734042234.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034291196152360960,"description":"Unknown IO ID 45"} 
[2026-08-19 07:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498767872001,"power":13254,"unknown_155":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9034291196152360960}} 
[2026-08-19 07:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":159922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:27:35] local.INFO: GPS data processed {"connection_id":159922,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:27:35] local.INFO: Acknowledgment sent {"connection_id":159922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:27:44] local.INFO: TCP Data received {"connection_id":159921,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:27:44] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:27:44] local.INFO: Packet analysis {"connection_id":159921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:27:44] local.INFO: Extracted packet for processing {"connection_id":159921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498652160001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787104411000,"timestamp_ms":1787104411000,"timestamp_seconds":1787104411,"priority":1,"record_length":96,"hex_timestamp":"000001a017b93d78"} 
[2026-08-19 07:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 07:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498652160001,"66":25952,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498652160001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:27:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498652160001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":159921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:27:44] local.INFO: GPS data processed {"connection_id":159921,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:27:44] local.INFO: Acknowledgment sent {"connection_id":159921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:28:05] local.INFO: TCP Data received {"connection_id":158634,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:28:05] local.INFO: Processing buffer {"connection_id":158634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:28:05] local.INFO: IMEI packet received {"connection_id":158634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":158634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:28:10] local.INFO: TCP Data received {"connection_id":158634,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:28:10] local.INFO: Processing buffer {"connection_id":158634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:28:10] local.INFO: IMEI packet received {"connection_id":158634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":158634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:28:11] local.INFO: TCP Data received {"connection_id":158634,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:28:11] local.INFO: Processing buffer {"connection_id":158634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:28:11] local.INFO: Packet analysis {"connection_id":158634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:28:11] local.INFO: Extracted packet for processing {"connection_id":158634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498652160001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787104411000,"timestamp_ms":1787104411000,"timestamp_seconds":1787104411,"priority":1,"record_length":96,"hex_timestamp":"000001a017b93d78"} 
[2026-08-19 07:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 07:28:11] 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-08-19 07: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-08-19 07:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498652160001,"66":25952,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498652160001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:28:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:28:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498652160001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":158634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:28:11] local.INFO: GPS data processed {"connection_id":158634,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:28:11] local.INFO: Acknowledgment sent {"connection_id":158634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:28:16] local.INFO: TCP Data received {"connection_id":158634,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:28:16] local.INFO: Processing buffer {"connection_id":158634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:28:16] local.INFO: Packet analysis {"connection_id":158634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:28:16] local.INFO: Extracted packet for processing {"connection_id":158634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498652160001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787104411000,"timestamp_ms":1787104411000,"timestamp_seconds":1787104411,"priority":1,"record_length":96,"hex_timestamp":"000001a017b93d78"} 
[2026-08-19 07:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 07:28:16] 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-08-19 07: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-08-19 07:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498652160001,"66":25952,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498652160001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498652160001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":158634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:28:16] local.INFO: GPS data processed {"connection_id":158634,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:28:16] local.INFO: Acknowledgment sent {"connection_id":158634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:28:20] local.INFO: TCP Data received {"connection_id":157367,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:28:20] local.INFO: Processing buffer {"connection_id":157367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:28:20] local.INFO: IMEI packet received {"connection_id":157367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":157367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:28:25] local.INFO: TCP Data received {"connection_id":157367,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:28:25] local.INFO: Processing buffer {"connection_id":157367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:28:25] local.INFO: IMEI packet received {"connection_id":157367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":157367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:28:26] local.INFO: TCP Data received {"connection_id":157367,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017bd2190012d826d4005d944c80008015427..."} 
[2026-08-19 07:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bd2190012d826d4005d944c80008015427..."} 
[2026-08-19 07:28:26] local.INFO: Processing buffer {"connection_id":157367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bd2190012d826d4005d944c80008015427..."} 
[2026-08-19 07:28:26] local.INFO: Packet analysis {"connection_id":157367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:28:26] local.INFO: Extracted packet for processing {"connection_id":157367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:28:26] local.INFO: GPS Element Parsed {"raw_longitude":763522368,"raw_latitude":98125000,"longitude_deg":76.3522368,"latitude_deg":9.8125,"altitude":8,"angle":340,"satellites":39,"speed":49,"hex_longitude":"2d826d40","hex_latitude":"05d944c8","is_valid_coordinates":true} 
[2026-08-19 07:28: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-08-19 07:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498792448001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120554741246722048,"note":"Value kept but may cause issues"} 
[2026-08-19 07:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044565032781703168,"note":"Value kept but may cause issues"} 
[2026-08-19 07:28:26] 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-08-19 07:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787104666000,"timestamp_ms":1787104666000,"timestamp_seconds":1787104666,"priority":1,"record_length":96,"hex_timestamp":"000001a017bd2190"} 
[2026-08-19 07:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 07:28:26] 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-08-19 07:28: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-08-19 07:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:28:26] 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-08-19 07:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498792448001,"66":13124,"47":206,"85":15104,"24":49,"16":120554741246722048,"45":-9044565032781703168},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-19 07:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498792448001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:28:26] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-19 07:28:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120554741246722048,"km_value":120554741246722.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044565032781703168,"description":"Unknown IO ID 45"} 
[2026-08-19 07:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498792448001,"power":13124,"unknown_47":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-9044565032781703168}} 
[2026-08-19 07:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":157367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:28:26] local.INFO: GPS data processed {"connection_id":157367,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:28:26] local.INFO: Acknowledgment sent {"connection_id":157367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:28:27] local.INFO: TCP Data received {"connection_id":157367,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017bd3ce8012d82608005d967780008015525..."} 
[2026-08-19 07:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bd3ce8012d82608005d967780008015525..."} 
[2026-08-19 07:28:27] local.INFO: Processing buffer {"connection_id":157367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bd3ce8012d82608005d967780008015525..."} 
[2026-08-19 07:28:27] local.INFO: Packet analysis {"connection_id":157367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:28:27] local.INFO: Extracted packet for processing {"connection_id":157367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:28:27] local.INFO: GPS Element Parsed {"raw_longitude":763519104,"raw_latitude":98133880,"longitude_deg":76.3519104,"latitude_deg":9.813388,"altitude":8,"angle":341,"satellites":37,"speed":55,"hex_longitude":"2d826080","hex_latitude":"05d96778","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498794496001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120555200808222720,"note":"Value kept but may cause issues"} 
[2026-08-19 07:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9048505682453280768,"note":"Value kept but may cause issues"} 
[2026-08-19 07:28:27] 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-08-19 07:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787104673000,"timestamp_ms":1787104673000,"timestamp_seconds":1787104673,"priority":1,"record_length":96,"hex_timestamp":"000001a017bd3ce8"} 
[2026-08-19 07:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-19 07:28:27] 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-08-19 07: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-08-19 07:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:28:27] 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-08-19 07:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498794496001,"66":13243,"47":206,"85":15104,"24":55,"16":120555200808222720,"45":-9048505682453280768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-19 07:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498794496001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:28:27] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-19 07:28:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120555200808222720,"km_value":120555200808222.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9048505682453280768,"description":"Unknown IO ID 45"} 
[2026-08-19 07:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498794496001,"power":13243,"unknown_47":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":-9048505682453280768}} 
[2026-08-19 07:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":157367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:28:27] local.INFO: GPS data processed {"connection_id":157367,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:28:27] local.INFO: Acknowledgment sent {"connection_id":157367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:29:01] local.INFO: TCP Data received {"connection_id":159923,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:29:01] local.INFO: Processing buffer {"connection_id":159923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:29:01] local.INFO: IMEI packet received {"connection_id":159923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":159923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:29:03] local.INFO: TCP Data received {"connection_id":157367,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017bd5840012d8257c005d98af80007015c27..."} 
[2026-08-19 07:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bd5840012d8257c005d98af80007015c27..."} 
[2026-08-19 07:29:03] local.INFO: Processing buffer {"connection_id":157367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bd5840012d8257c005d98af80007015c27..."} 
[2026-08-19 07:29:03] local.INFO: Packet analysis {"connection_id":157367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:29:03] local.INFO: Extracted packet for processing {"connection_id":157367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:29:03] local.INFO: GPS Element Parsed {"raw_longitude":763516864,"raw_latitude":98142968,"longitude_deg":76.3516864,"latitude_deg":9.8142968,"altitude":7,"angle":348,"satellites":39,"speed":53,"hex_longitude":"2d8257c0","hex_latitude":"05d98af8","is_valid_coordinates":true} 
[2026-08-19 07:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498796288001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120555656074756096,"note":"Value kept but may cause issues"} 
[2026-08-19 07:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9052094488404068352,"note":"Value kept but may cause issues"} 
[2026-08-19 07:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787104680000,"timestamp_ms":1787104680000,"timestamp_seconds":1787104680,"priority":1,"record_length":96,"hex_timestamp":"000001a017bd5840"} 
[2026-08-19 07:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:29: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-08-19 07:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 07:29: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-08-19 07:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":157367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":157367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":157367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:29:03] 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-08-19 07:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498796288001,"66":13222,"70":206,"85":15104,"24":53,"16":120555656074756096,"45":-9052094488404068352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,85,24,16,45]} 
[2026-08-19 07:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498796288001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:29:03] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-19 07:29:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120555656074756096,"km_value":120555656074756.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9052094488404068352,"description":"Unknown IO ID 45"} 
[2026-08-19 07:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498796288001,"power":13222,"unknown_70":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":-9052094488404068352}} 
[2026-08-19 07:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":157367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:29:03] local.INFO: GPS data processed {"connection_id":157367,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:29:03] local.INFO: Acknowledgment sent {"connection_id":157367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:29:05] local.INFO: TCP Data received {"connection_id":159923,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:29:05] local.INFO: Processing buffer {"connection_id":159923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:29:05] local.INFO: IMEI packet received {"connection_id":159923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":159923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:29:06] local.INFO: TCP Data received {"connection_id":159923,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:29:06] local.INFO: Processing buffer {"connection_id":159923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:29:06] local.INFO: Packet analysis {"connection_id":159923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:29:06] local.INFO: Extracted packet for processing {"connection_id":159923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:29:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498652160001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787104411000,"timestamp_ms":1787104411000,"timestamp_seconds":1787104411,"priority":1,"record_length":96,"hex_timestamp":"000001a017b93d78"} 
[2026-08-19 07:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 07:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498652160001,"66":25952,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498652160001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:29:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:29:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498652160001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":159923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:29:06] local.INFO: GPS data processed {"connection_id":159923,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:29:06] local.INFO: Acknowledgment sent {"connection_id":159923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:29:10] local.INFO: TCP Data received {"connection_id":159923,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:29:10] local.INFO: Processing buffer {"connection_id":159923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017b93d78012d34c50006aa40780009005928..."} 
[2026-08-19 07:29:10] local.INFO: Packet analysis {"connection_id":159923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:29:10] local.INFO: Extracted packet for processing {"connection_id":159923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017b9"} 
[2026-08-19 07:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498652160001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787104411000,"timestamp_ms":1787104411000,"timestamp_seconds":1787104411,"priority":1,"record_length":96,"hex_timestamp":"000001a017b93d78"} 
[2026-08-19 07:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 07:29:10] 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-08-19 07: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-08-19 07:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498652160001,"66":25952,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498652160001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:29:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:29:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498652160001,"power":25952,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":159923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:29:10] local.INFO: GPS data processed {"connection_id":159923,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:29:10] local.INFO: Acknowledgment sent {"connection_id":159923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:29:20] local.INFO: TCP Data received {"connection_id":158635,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:29:20] local.INFO: Processing buffer {"connection_id":158635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:29:20] local.INFO: IMEI packet received {"connection_id":158635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":158635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:29:24] local.INFO: TCP Data received {"connection_id":158635,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:29:24] local.INFO: Processing buffer {"connection_id":158635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:29:24] local.INFO: IMEI packet received {"connection_id":158635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":158635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:29:24] local.INFO: TCP Data received {"connection_id":158635,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017be69b0012d82184005da8ea00006011927..."} 
[2026-08-19 07:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017be69b0012d82184005da8ea00006011927..."} 
[2026-08-19 07:29:24] local.INFO: Processing buffer {"connection_id":158635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017be69b0012d82184005da8ea00006011927..."} 
[2026-08-19 07:29:24] local.INFO: Packet analysis {"connection_id":158635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017be"} 
[2026-08-19 07:29:24] local.INFO: Extracted packet for processing {"connection_id":158635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017be"} 
[2026-08-19 07:29:24] local.INFO: GPS Element Parsed {"raw_longitude":763500608,"raw_latitude":98209440,"longitude_deg":76.3500608,"latitude_deg":9.820944,"altitude":6,"angle":281,"satellites":39,"speed":21,"hex_longitude":"2d821840","hex_latitude":"05da8ea0","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498815744001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120559006149246976,"note":"Value kept but may cause issues"} 
[2026-08-19 07:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9071868105498681344,"note":"Value kept but may cause issues"} 
[2026-08-19 07:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787104750000,"timestamp_ms":1787104750000,"timestamp_seconds":1787104750,"priority":1,"record_length":96,"hex_timestamp":"000001a017be69b0"} 
[2026-08-19 07:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:29:24] 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-08-19 07: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-19 07:29:24] 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-08-19 07: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-08-19 07:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:29:24] 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-08-19 07:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498815744001,"66":13363,"70":206,"85":15104,"24":21,"16":120559006149246976,"45":-9071868105498681344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,85,24,16,45]} 
[2026-08-19 07:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498815744001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:29:24] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-19 07:29:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120559006149246976,"km_value":120559006149246.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9071868105498681344,"description":"Unknown IO ID 45"} 
[2026-08-19 07:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498815744001,"power":13363,"unknown_70":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9071868105498681344}} 
[2026-08-19 07:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":158635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:29:24] local.INFO: GPS data processed {"connection_id":158635,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:29:24] local.INFO: Acknowledgment sent {"connection_id":158635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:29:41] local.INFO: TCP Data received {"connection_id":159923,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:29:41] local.INFO: Processing buffer {"connection_id":159923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:29:41] local.INFO: Packet analysis {"connection_id":159923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:29:41] local.INFO: Extracted packet for processing {"connection_id":159923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:29:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498729216001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787104712000,"timestamp_ms":1787104712000,"timestamp_seconds":1787104712,"priority":1,"record_length":96,"hex_timestamp":"000001a017bdd540"} 
[2026-08-19 07:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 07:29:41] 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-08-19 07:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498729216001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498729216001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:29:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:29:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498729216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":159923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:29:41] local.INFO: GPS data processed {"connection_id":159923,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:29:41] local.INFO: Acknowledgment sent {"connection_id":159923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:29:55] local.INFO: TCP Data received {"connection_id":158635,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017be6d98012d82160005da8ea00006010c28..."} 
[2026-08-19 07:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017be6d98012d82160005da8ea00006010c28..."} 
[2026-08-19 07:29:55] local.INFO: Processing buffer {"connection_id":158635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017be6d98012d82160005da8ea00006010c28..."} 
[2026-08-19 07:29:55] local.INFO: Packet analysis {"connection_id":158635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017be"} 
[2026-08-19 07:29:55] local.INFO: Extracted packet for processing {"connection_id":158635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017be"} 
[2026-08-19 07:29:55] local.INFO: GPS Element Parsed {"raw_longitude":763500032,"raw_latitude":98209440,"longitude_deg":76.3500032,"latitude_deg":9.820944,"altitude":6,"angle":268,"satellites":40,"speed":24,"hex_longitude":"2d821600","hex_latitude":"05da8ea0","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498816000001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120559031919050752,"note":"Value kept but may cause issues"} 
[2026-08-19 07:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9072431055452069888,"note":"Value kept but may cause issues"} 
[2026-08-19 07:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787104751000,"timestamp_ms":1787104751000,"timestamp_seconds":1787104751,"priority":1,"record_length":96,"hex_timestamp":"000001a017be6d98"} 
[2026-08-19 07:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 07:29:55] 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-08-19 07: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-08-19 07:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:29:55] 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-08-19 07:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498816000001,"66":13363,"70":206,"85":15104,"24":24,"16":120559031919050752,"45":-9072431055452069888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,85,24,16,45]} 
[2026-08-19 07:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498816000001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:29:55] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-19 07:29:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120559031919050752,"km_value":120559031919050.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9072431055452069888,"description":"Unknown IO ID 45"} 
[2026-08-19 07:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498816000001,"power":13363,"unknown_70":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9072431055452069888}} 
[2026-08-19 07:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":158635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:29:55] local.INFO: GPS data processed {"connection_id":158635,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:29:55] local.INFO: Acknowledgment sent {"connection_id":158635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:30:00] local.INFO: TCP Data received {"connection_id":157746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:30:00] local.INFO: Processing buffer {"connection_id":157746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:30:00] local.INFO: IMEI packet received {"connection_id":157746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":157746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:30:05] local.INFO: TCP Data received {"connection_id":157746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:30:05] local.INFO: Processing buffer {"connection_id":157746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:30:05] local.INFO: IMEI packet received {"connection_id":157746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":157746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:30:06] local.INFO: TCP Data received {"connection_id":157746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:30:06] local.INFO: Processing buffer {"connection_id":157746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:30:06] local.INFO: Packet analysis {"connection_id":157746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:30:06] local.INFO: Extracted packet for processing {"connection_id":157746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:30:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498729216001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787104712000,"timestamp_ms":1787104712000,"timestamp_seconds":1787104712,"priority":1,"record_length":96,"hex_timestamp":"000001a017bdd540"} 
[2026-08-19 07:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 07:30:06] 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-08-19 07: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-08-19 07:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498729216001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498729216001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:30:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498729216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":157746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:30:06] local.INFO: GPS data processed {"connection_id":157746,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:30:06] local.INFO: Acknowledgment sent {"connection_id":157746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:30:21] local.INFO: TCP Data received {"connection_id":159924,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:30:21] local.INFO: Processing buffer {"connection_id":159924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:30:21] local.INFO: IMEI packet received {"connection_id":159924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":159924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:30:22] local.INFO: TCP Data received {"connection_id":159924,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:30:22] local.INFO: Processing buffer {"connection_id":159924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:30:22] local.INFO: IMEI packet received {"connection_id":159924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":159924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:30:25] local.INFO: TCP Data received {"connection_id":159924,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:30:25] local.INFO: Processing buffer {"connection_id":159924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:30:25] local.INFO: IMEI packet received {"connection_id":159924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":159924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:30:27] local.INFO: TCP Data received {"connection_id":159924,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017bf38b8012d8162c005da8ea80004015d27..."} 
[2026-08-19 07:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bf38b8012d8162c005da8ea80004015d27..."} 
[2026-08-19 07:30:27] local.INFO: Processing buffer {"connection_id":159924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bf38b8012d8162c005da8ea80004015d27..."} 
[2026-08-19 07:30:27] local.INFO: Packet analysis {"connection_id":159924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bf"} 
[2026-08-19 07:30:27] local.INFO: Extracted packet for processing {"connection_id":159924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bf"} 
[2026-08-19 07:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763454144,"raw_latitude":98209448,"longitude_deg":76.3454144,"latitude_deg":9.8209448,"altitude":4,"angle":349,"satellites":39,"speed":32,"hex_longitude":"2d8162c0","hex_latitude":"05da8ea8","is_valid_coordinates":true} 
[2026-08-19 07:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498829312001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120561402740998144,"note":"Value kept but may cause issues"} 
[2026-08-19 07:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123378026236913664,"note":"Value kept but may cause issues"} 
[2026-08-19 07:30:27] 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-08-19 07:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787104803000,"timestamp_ms":1787104803000,"timestamp_seconds":1787104803,"priority":1,"record_length":96,"hex_timestamp":"000001a017bf38b8"} 
[2026-08-19 07:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:30:27] 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-08-19 07:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-19 07:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:30:27] 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-08-19 07:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498829312001,"66":12906,"71":206,"85":15104,"24":32,"16":120561402740998144,"45":-9123378026236913664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-19 07:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498829312001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:30:27] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-19 07:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120561402740998144,"km_value":120561402740998.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123378026236913664,"description":"Unknown IO ID 45"} 
[2026-08-19 07:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498829312001,"power":12906,"unknown_71":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9123378026236913664}} 
[2026-08-19 07:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":159924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:30:27] local.INFO: GPS data processed {"connection_id":159924,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:30:27] local.INFO: Acknowledgment sent {"connection_id":159924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:30:29] local.INFO: TCP Data received {"connection_id":159924,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017bf4858012d815e8005da9e380005015026..."} 
[2026-08-19 07:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bf4858012d815e8005da9e380005015026..."} 
[2026-08-19 07:30:29] local.INFO: Processing buffer {"connection_id":159924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bf4858012d815e8005da9e380005015026..."} 
[2026-08-19 07:30:29] local.INFO: Packet analysis {"connection_id":159924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bf"} 
[2026-08-19 07:30:29] local.INFO: Extracted packet for processing {"connection_id":159924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bf"} 
[2026-08-19 07:30:29] local.INFO: GPS Element Parsed {"raw_longitude":763453056,"raw_latitude":98213432,"longitude_deg":76.3453056,"latitude_deg":9.8213432,"altitude":5,"angle":336,"satellites":38,"speed":40,"hex_longitude":"2d815e80","hex_latitude":"05da9e38","is_valid_coordinates":true} 
[2026-08-19 07:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498829568001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120561604604461056,"note":"Value kept but may cause issues"} 
[2026-08-19 07:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123518763725051904,"note":"Value kept but may cause issues"} 
[2026-08-19 07:30:29] 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-08-19 07:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787104807000,"timestamp_ms":1787104807000,"timestamp_seconds":1787104807,"priority":1,"record_length":96,"hex_timestamp":"000001a017bf4858"} 
[2026-08-19 07:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-19 07:30:29] 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-08-19 07:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:30:29] 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-08-19 07:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498829568001,"66":13341,"71":206,"85":15104,"24":40,"16":120561604604461056,"45":-9123518763725051904},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-19 07:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498829568001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:30:29] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-19 07:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120561604604461056,"km_value":120561604604461.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123518763725051904,"description":"Unknown IO ID 45"} 
[2026-08-19 07:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498829568001,"power":13341,"unknown_71":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9123518763725051904}} 
[2026-08-19 07:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":159924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:30:30] local.INFO: GPS data processed {"connection_id":159924,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:30:30] local.INFO: Acknowledgment sent {"connection_id":159924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:30:37] local.INFO: TCP Data received {"connection_id":157746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:30:37] local.INFO: Processing buffer {"connection_id":157746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:30:37] local.INFO: Packet analysis {"connection_id":157746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:30:37] local.INFO: Extracted packet for processing {"connection_id":157746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498729216001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:30: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-08-19 07:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787104712000,"timestamp_ms":1787104712000,"timestamp_seconds":1787104712,"priority":1,"record_length":96,"hex_timestamp":"000001a017bdd540"} 
[2026-08-19 07:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 07:30:37] 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-08-19 07: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-08-19 07:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498729216001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498729216001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498729216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":157746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:30:37] local.INFO: GPS data processed {"connection_id":157746,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:30:37] local.INFO: Acknowledgment sent {"connection_id":157746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:31:00] local.INFO: TCP Data received {"connection_id":157747,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:31:00] local.INFO: Processing buffer {"connection_id":157747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:31:00] local.INFO: IMEI packet received {"connection_id":157747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":157747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:31:02] local.INFO: TCP Data received {"connection_id":159924,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017bf6798012d8151c005dabff80005015026..."} 
[2026-08-19 07:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bf6798012d8151c005dabff80005015026..."} 
[2026-08-19 07:31:02] local.INFO: Processing buffer {"connection_id":159924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bf6798012d8151c005dabff80005015026..."} 
[2026-08-19 07:31:02] local.INFO: Packet analysis {"connection_id":159924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bf"} 
[2026-08-19 07:31:02] local.INFO: Extracted packet for processing {"connection_id":159924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bf"} 
[2026-08-19 07:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763449792,"raw_latitude":98222072,"longitude_deg":76.3449792,"latitude_deg":9.8222072,"altitude":5,"angle":336,"satellites":38,"speed":46,"hex_longitude":"2d8151c0","hex_latitude":"05dabff8","is_valid_coordinates":true} 
[2026-08-19 07:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498830592001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120562051281059840,"note":"Value kept but may cause issues"} 
[2026-08-19 07:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9124715032375052288,"note":"Value kept but may cause issues"} 
[2026-08-19 07:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787104815000,"timestamp_ms":1787104815000,"timestamp_seconds":1787104815,"priority":1,"record_length":96,"hex_timestamp":"000001a017bf6798"} 
[2026-08-19 07:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 07:31:02] 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-08-19 07:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:31:02] 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-08-19 07:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498830592001,"66":13341,"71":206,"85":15104,"24":46,"16":120562051281059840,"45":-9124715032375052288},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-19 07:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498830592001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:31:02] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-19 07:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120562051281059840,"km_value":120562051281059.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9124715032375052288,"description":"Unknown IO ID 45"} 
[2026-08-19 07:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498830592001,"power":13341,"unknown_71":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9124715032375052288}} 
[2026-08-19 07:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":159924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:31:02] local.INFO: GPS data processed {"connection_id":159924,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:31:02] local.INFO: Acknowledgment sent {"connection_id":159924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:31:05] local.INFO: TCP Data received {"connection_id":157747,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:31:05] local.INFO: Processing buffer {"connection_id":157747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:31:05] local.INFO: IMEI packet received {"connection_id":157747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":157747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:31:06] local.INFO: TCP Data received {"connection_id":157747,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:31:06] local.INFO: Processing buffer {"connection_id":157747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:31:06] local.INFO: Packet analysis {"connection_id":157747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:31:06] local.INFO: Extracted packet for processing {"connection_id":157747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498729216001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787104712000,"timestamp_ms":1787104712000,"timestamp_seconds":1787104712,"priority":1,"record_length":96,"hex_timestamp":"000001a017bdd540"} 
[2026-08-19 07:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 07:31:06] 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-08-19 07:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498729216001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498729216001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:31:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498729216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":157747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:31:06] local.INFO: GPS data processed {"connection_id":157747,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:31:06] local.INFO: Acknowledgment sent {"connection_id":157747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:31:20] local.INFO: TCP Data received {"connection_id":157368,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:31:20] local.INFO: Processing buffer {"connection_id":157368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:31:20] local.INFO: IMEI packet received {"connection_id":157368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":157368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:31:21] local.INFO: TCP Data received {"connection_id":157368,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:31:21] local.INFO: Processing buffer {"connection_id":157368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:31:21] local.INFO: IMEI packet received {"connection_id":157368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":157368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:31:25] local.INFO: TCP Data received {"connection_id":157368,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:31:25] local.INFO: Processing buffer {"connection_id":157368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:31:25] local.INFO: IMEI packet received {"connection_id":157368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":157368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:31:26] local.INFO: TCP Data received {"connection_id":157368,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017bf7738012d814bc005dad2000005015c28..."} 
[2026-08-19 07:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bf7738012d814bc005dad2000005015c28..."} 
[2026-08-19 07:31:26] local.INFO: Processing buffer {"connection_id":157368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bf7738012d814bc005dad2000005015c28..."} 
[2026-08-19 07:31:26] local.INFO: Packet analysis {"connection_id":157368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bf"} 
[2026-08-19 07:31:26] local.INFO: Extracted packet for processing {"connection_id":157368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bf"} 
[2026-08-19 07:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763448256,"raw_latitude":98226688,"longitude_deg":76.3448256,"latitude_deg":9.8226688,"altitude":5,"angle":348,"satellites":40,"speed":47,"hex_longitude":"2d814bc0","hex_latitude":"05dad200","is_valid_coordinates":true} 
[2026-08-19 07:31: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-08-19 07:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498832640001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120562287504261120,"note":"Value kept but may cause issues"} 
[2026-08-19 07:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9128303838325901312,"note":"Value kept but may cause issues"} 
[2026-08-19 07:31:26] 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-08-19 07:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787104819000,"timestamp_ms":1787104819000,"timestamp_seconds":1787104819,"priority":1,"record_length":96,"hex_timestamp":"000001a017bf7738"} 
[2026-08-19 07:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:31: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":29,"data_length":795,"current_offset":136} 
[2026-08-19 07:31:26] 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-08-19 07:31: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-08-19 07:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:31:26] 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-08-19 07:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498832640001,"66":13178,"71":206,"85":15104,"24":47,"16":120562287504261120,"45":-9128303838325901312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-19 07:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498832640001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:31:26] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-19 07:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120562287504261120,"km_value":120562287504261.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9128303838325901312,"description":"Unknown IO ID 45"} 
[2026-08-19 07:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498832640001,"power":13178,"unknown_71":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9128303838325901312}} 
[2026-08-19 07:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":157368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:31:26] local.INFO: GPS data processed {"connection_id":157368,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:31:26] local.INFO: Acknowledgment sent {"connection_id":157368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:31:38] local.INFO: TCP Data received {"connection_id":157747,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:31:38] local.INFO: Processing buffer {"connection_id":157747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:31:38] local.INFO: Packet analysis {"connection_id":157747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:31:38] local.INFO: Extracted packet for processing {"connection_id":157747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498729216001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787104712000,"timestamp_ms":1787104712000,"timestamp_seconds":1787104712,"priority":1,"record_length":96,"hex_timestamp":"000001a017bdd540"} 
[2026-08-19 07:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 07:31:38] 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-08-19 07:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498729216001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498729216001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498729216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":157747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:31:38] local.INFO: GPS data processed {"connection_id":157747,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:31:38] local.INFO: Acknowledgment sent {"connection_id":157747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:31:57] local.INFO: TCP Data received {"connection_id":157368,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c0b788012d80b00005dc04900007015224..."} 
[2026-08-19 07:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c0b788012d80b00005dc04900007015224..."} 
[2026-08-19 07:31:57] local.INFO: Processing buffer {"connection_id":157368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c0b788012d80b00005dc04900007015224..."} 
[2026-08-19 07:31:57] local.INFO: Packet analysis {"connection_id":157368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c0"} 
[2026-08-19 07:31:57] local.INFO: Extracted packet for processing {"connection_id":157368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c0"} 
[2026-08-19 07:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763408384,"raw_latitude":98305168,"longitude_deg":76.3408384,"latitude_deg":9.8305168,"altitude":7,"angle":338,"satellites":36,"speed":53,"hex_longitude":"2d80b000","hex_latitude":"05dc0490","is_valid_coordinates":true} 
[2026-08-19 07:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498852864001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120566591061491712,"note":"Value kept but may cause issues"} 
[2026-08-19 07:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9170032503604191232,"note":"Value kept but may cause issues"} 
[2026-08-19 07:31:57] 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-08-19 07:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787104901000,"timestamp_ms":1787104901000,"timestamp_seconds":1787104901,"priority":1,"record_length":96,"hex_timestamp":"000001a017c0b788"} 
[2026-08-19 07:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:31: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-08-19 07:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 07:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:31:57] 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-08-19 07:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498852864001,"66":13189,"154":206,"85":15104,"24":53,"16":120566591061491712,"45":-9170032503604191232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-19 07:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498852864001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:31:57] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 07:31:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120566591061491712,"km_value":120566591061491.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9170032503604191232,"description":"Unknown IO ID 45"} 
[2026-08-19 07:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498852864001,"power":13189,"unknown_154":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":-9170032503604191232}} 
[2026-08-19 07:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":157368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:31:57] local.INFO: GPS data processed {"connection_id":157368,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:31:57] local.INFO: Acknowledgment sent {"connection_id":157368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:32:00] local.INFO: TCP Data received {"connection_id":157369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:32:00] local.INFO: Processing buffer {"connection_id":157369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:32:00] local.INFO: IMEI packet received {"connection_id":157369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":157369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:32:05] local.INFO: TCP Data received {"connection_id":157369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:32:05] local.INFO: Processing buffer {"connection_id":157369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:32:05] local.INFO: IMEI packet received {"connection_id":157369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":157369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:32:07] local.INFO: TCP Data received {"connection_id":157369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:32:07] local.INFO: Processing buffer {"connection_id":157369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:32:07] local.INFO: Packet analysis {"connection_id":157369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:32:07] local.INFO: Extracted packet for processing {"connection_id":157369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498729216001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787104712000,"timestamp_ms":1787104712000,"timestamp_seconds":1787104712,"priority":1,"record_length":96,"hex_timestamp":"000001a017bdd540"} 
[2026-08-19 07:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 07:32:07] 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-08-19 07: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-08-19 07:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498729216001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498729216001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:32:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498729216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":157369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:32:07] local.INFO: GPS data processed {"connection_id":157369,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:32:07] local.INFO: Acknowledgment sent {"connection_id":157369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:32:21] local.INFO: TCP Data received {"connection_id":158636,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:32:21] local.INFO: Processing buffer {"connection_id":158636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:32:21] local.INFO: IMEI packet received {"connection_id":158636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":158636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:32:25] local.INFO: TCP Data received {"connection_id":158636,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:32:25] local.INFO: Processing buffer {"connection_id":158636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:32:25] local.INFO: IMEI packet received {"connection_id":158636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":158636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:32:26] local.INFO: TCP Data received {"connection_id":158636,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c0d2e0012d80a08005dc27d80008015224..."} 
[2026-08-19 07:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c0d2e0012d80a08005dc27d80008015224..."} 
[2026-08-19 07:32:26] local.INFO: Processing buffer {"connection_id":158636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c0d2e0012d80a08005dc27d80008015224..."} 
[2026-08-19 07:32:26] local.INFO: Packet analysis {"connection_id":158636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c0"} 
[2026-08-19 07:32:26] local.INFO: Extracted packet for processing {"connection_id":158636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c0"} 
[2026-08-19 07:32:26] local.INFO: GPS Element Parsed {"raw_longitude":763404416,"raw_latitude":98314200,"longitude_deg":76.3404416,"latitude_deg":9.83142,"altitude":8,"angle":338,"satellites":36,"speed":57,"hex_longitude":"2d80a080","hex_latitude":"05dc27d8","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498854656001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120567067802861568,"note":"Value kept but may cause issues"} 
[2026-08-19 07:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9173832415787577344,"note":"Value kept but may cause issues"} 
[2026-08-19 07:32:26] 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-08-19 07:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787104908000,"timestamp_ms":1787104908000,"timestamp_seconds":1787104908,"priority":1,"record_length":96,"hex_timestamp":"000001a017c0d2e0"} 
[2026-08-19 07:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-19 07:32:26] 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-08-19 07: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-08-19 07:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:32:26] 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-08-19 07:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498854656001,"66":13091,"154":206,"85":15104,"24":57,"16":120567067802861568,"45":-9173832415787577344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-19 07:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498854656001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:32:26] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 07:32:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120567067802861568,"km_value":120567067802861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9173832415787577344,"description":"Unknown IO ID 45"} 
[2026-08-19 07:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498854656001,"power":13091,"unknown_154":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":-9173832415787577344}} 
[2026-08-19 07:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":158636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:32:26] local.INFO: GPS data processed {"connection_id":158636,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:32:26] local.INFO: Acknowledgment sent {"connection_id":158636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:32:38] local.INFO: TCP Data received {"connection_id":157369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:32:38] local.INFO: Processing buffer {"connection_id":157369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:32:38] local.INFO: Packet analysis {"connection_id":157369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:32:38] local.INFO: Extracted packet for processing {"connection_id":157369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498729216001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787104712000,"timestamp_ms":1787104712000,"timestamp_seconds":1787104712,"priority":1,"record_length":96,"hex_timestamp":"000001a017bdd540"} 
[2026-08-19 07:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 07:32:38] 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-08-19 07: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-08-19 07:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498729216001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498729216001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498729216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":157369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:32:38] local.INFO: GPS data processed {"connection_id":157369,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:32:38] local.INFO: Acknowledgment sent {"connection_id":157369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:32:57] local.INFO: TCP Data received {"connection_id":158636,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c0ee38012d8092c005dc4bc0000a014a24..."} 
[2026-08-19 07:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c0ee38012d8092c005dc4bc0000a014a24..."} 
[2026-08-19 07:32:57] local.INFO: Processing buffer {"connection_id":158636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c0ee38012d8092c005dc4bc0000a014a24..."} 
[2026-08-19 07:32:57] local.INFO: Packet analysis {"connection_id":158636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c0"} 
[2026-08-19 07:32:57] local.INFO: Extracted packet for processing {"connection_id":158636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c0"} 
[2026-08-19 07:32:57] local.INFO: GPS Element Parsed {"raw_longitude":763400896,"raw_latitude":98323392,"longitude_deg":76.3400896,"latitude_deg":9.8323392,"altitude":10,"angle":330,"satellites":36,"speed":53,"hex_longitude":"2d8092c0","hex_latitude":"05dc4bc0","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498856448001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120567544544231424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9178195277924280320,"note":"Value kept but may cause issues"} 
[2026-08-19 07:32:57] 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-08-19 07:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787104915000,"timestamp_ms":1787104915000,"timestamp_seconds":1787104915,"priority":1,"record_length":96,"hex_timestamp":"000001a017c0ee38"} 
[2026-08-19 07:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:32: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-08-19 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 07:32:57] 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-08-19 07: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-08-19 07:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":158636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":158636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":158636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:32:57] 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-08-19 07:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498856448001,"66":13178,"154":206,"85":15104,"24":53,"16":120567544544231424,"45":-9178195277924280320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-19 07:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498856448001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:32:57] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 07:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120567544544231424,"km_value":120567544544231.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9178195277924280320,"description":"Unknown IO ID 45"} 
[2026-08-19 07:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498856448001,"power":13178,"unknown_154":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":-9178195277924280320}} 
[2026-08-19 07:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":158636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:32:57] local.INFO: GPS data processed {"connection_id":158636,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:32:57] local.INFO: Acknowledgment sent {"connection_id":158636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:33:00] local.INFO: TCP Data received {"connection_id":158637,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:33:00] local.INFO: Processing buffer {"connection_id":158637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:33:00] local.INFO: IMEI packet received {"connection_id":158637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":158637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:33:05] local.INFO: TCP Data received {"connection_id":158637,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:33:05] local.INFO: Processing buffer {"connection_id":158637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:33:05] local.INFO: IMEI packet received {"connection_id":158637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":158637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:33:06] local.INFO: TCP Data received {"connection_id":158637,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:33:06] local.INFO: Processing buffer {"connection_id":158637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:33:06] local.INFO: Packet analysis {"connection_id":158637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:33:06] local.INFO: Extracted packet for processing {"connection_id":158637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:33:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498729216001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787104712000,"timestamp_ms":1787104712000,"timestamp_seconds":1787104712,"priority":1,"record_length":96,"hex_timestamp":"000001a017bdd540"} 
[2026-08-19 07:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 07:33:06] 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-08-19 07: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-08-19 07:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498729216001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498729216001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:33:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:33:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498729216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":158637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:33:06] local.INFO: GPS data processed {"connection_id":158637,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:33:06] local.INFO: Acknowledgment sent {"connection_id":158637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:33:20] local.INFO: TCP Data received {"connection_id":157748,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:33:20] local.INFO: Processing buffer {"connection_id":157748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:33:20] local.INFO: IMEI packet received {"connection_id":157748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":157748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:33:26] local.INFO: TCP Data received {"connection_id":157748,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:33:26] local.INFO: Processing buffer {"connection_id":157748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:33:26] local.INFO: IMEI packet received {"connection_id":157748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":157748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:33:26] local.INFO: TCP Data received {"connection_id":157748,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c20390012d7ff30005dc8fe0000a00ff25..."} 
[2026-08-19 07:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c20390012d7ff30005dc8fe0000a00ff25..."} 
[2026-08-19 07:33:26] local.INFO: Processing buffer {"connection_id":157748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c20390012d7ff30005dc8fe0000a00ff25..."} 
[2026-08-19 07:33:26] local.INFO: Packet analysis {"connection_id":157748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:33:26] local.INFO: Extracted packet for processing {"connection_id":157748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:33:26] local.INFO: GPS Element Parsed {"raw_longitude":763360000,"raw_latitude":98340832,"longitude_deg":76.336,"latitude_deg":9.8340832,"altitude":10,"angle":255,"satellites":37,"speed":42,"hex_longitude":"2d7ff300","hex_latitude":"05dc8fe0","is_valid_coordinates":true} 
[2026-08-19 07:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498874112001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120570267553497088,"note":"Value kept but may cause issues"} 
[2026-08-19 07:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9216475874749569024,"note":"Value kept but may cause issues"} 
[2026-08-19 07:33:26] 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-08-19 07:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787104986000,"timestamp_ms":1787104986000,"timestamp_seconds":1787104986,"priority":1,"record_length":96,"hex_timestamp":"000001a017c20390"} 
[2026-08-19 07:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 07:33:26] 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-08-19 07:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:33:26] 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-08-19 07:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498874112001,"66":13222,"251":206,"85":15104,"24":42,"16":120570267553497088,"45":-9216475874749569024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-19 07:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498874112001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:33:26] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-19 07:33:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120570267553497088,"km_value":120570267553497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9216475874749569024,"description":"Unknown IO ID 45"} 
[2026-08-19 07:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498874112001,"power":13222,"unknown_251":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9216475874749569024}} 
[2026-08-19 07:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":157748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:33:26] local.INFO: GPS data processed {"connection_id":157748,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:33:26] local.INFO: Acknowledgment sent {"connection_id":157748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:33:38] local.INFO: TCP Data received {"connection_id":158637,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:33:38] local.INFO: Processing buffer {"connection_id":158637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:33:38] local.INFO: Packet analysis {"connection_id":158637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:33:38] local.INFO: Extracted packet for processing {"connection_id":158637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498729216001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787104712000,"timestamp_ms":1787104712000,"timestamp_seconds":1787104712,"priority":1,"record_length":96,"hex_timestamp":"000001a017bdd540"} 
[2026-08-19 07:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 07:33:38] 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-08-19 07: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-08-19 07:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498729216001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498729216001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498729216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":158637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:33:38] local.INFO: GPS data processed {"connection_id":158637,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:33:38] local.INFO: Acknowledgment sent {"connection_id":158637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:34:04] local.INFO: TCP Data received {"connection_id":157748,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c226b8012d7fcf0005dc8718000b010025..."} 
[2026-08-19 07:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c226b8012d7fcf0005dc8718000b010025..."} 
[2026-08-19 07:34:04] local.INFO: Processing buffer {"connection_id":157748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c226b8012d7fcf0005dc8718000b010025..."} 
[2026-08-19 07:34:04] local.INFO: Packet analysis {"connection_id":157748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:34:04] local.INFO: Extracted packet for processing {"connection_id":157748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:34:04] local.INFO: GPS Element Parsed {"raw_longitude":763350784,"raw_latitude":98338584,"longitude_deg":76.3350784,"latitude_deg":9.8338584,"altitude":11,"angle":256,"satellites":37,"speed":43,"hex_longitude":"2d7fcf00","hex_latitude":"05dc8718","is_valid_coordinates":true} 
[2026-08-19 07:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498876416001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120570722820030464,"note":"Value kept but may cause issues"} 
[2026-08-19 07:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9219712887332790272,"note":"Value kept but may cause issues"} 
[2026-08-19 07:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787104995000,"timestamp_ms":1787104995000,"timestamp_seconds":1787104995,"priority":1,"record_length":96,"hex_timestamp":"000001a017c226b8"} 
[2026-08-19 07:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:34: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-08-19 07:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 07:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:34:04] 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-08-19 07:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498876416001,"66":13048,"251":206,"85":15104,"24":43,"16":120570722820030464,"45":9219712887332790272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-19 07:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498876416001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:34:04] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-19 07:34:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120570722820030464,"km_value":120570722820030.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9219712887332790272,"description":"Unknown IO ID 45"} 
[2026-08-19 07:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498876416001,"power":13048,"unknown_251":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9219712887332790272}} 
[2026-08-19 07:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":157748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:34:04] local.INFO: GPS data processed {"connection_id":157748,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:34:04] local.INFO: Acknowledgment sent {"connection_id":157748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:34:05] local.INFO: TCP Data received {"connection_id":157370,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:34:05] local.INFO: Processing buffer {"connection_id":157370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:34:05] local.INFO: IMEI packet received {"connection_id":157370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":157370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:34:10] local.INFO: TCP Data received {"connection_id":157370,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:34:10] local.INFO: Processing buffer {"connection_id":157370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:34:10] local.INFO: IMEI packet received {"connection_id":157370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":157370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:34:11] local.INFO: TCP Data received {"connection_id":157370,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:34:11] local.INFO: Processing buffer {"connection_id":157370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017bdd540012d34c50006aa40780009005924..."} 
[2026-08-19 07:34:11] local.INFO: Packet analysis {"connection_id":157370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:34:11] local.INFO: Extracted packet for processing {"connection_id":157370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017bd"} 
[2026-08-19 07:34:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498729216001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787104712000,"timestamp_ms":1787104712000,"timestamp_seconds":1787104712,"priority":1,"record_length":96,"hex_timestamp":"000001a017bdd540"} 
[2026-08-19 07:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 07:34:11] 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-08-19 07: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-08-19 07:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498729216001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498729216001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:34:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:34:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498729216001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":157370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:34:11] local.INFO: GPS data processed {"connection_id":157370,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:34:11] local.INFO: Acknowledgment sent {"connection_id":157370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:34:12] local.INFO: TCP Data received {"connection_id":157370,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:34:12] local.INFO: Processing buffer {"connection_id":157370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:34:12] local.INFO: Packet analysis {"connection_id":157370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:34:12] local.INFO: Extracted packet for processing {"connection_id":157370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:34:12] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498806272001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787105013000,"timestamp_ms":1787105013000,"timestamp_seconds":1787105013,"priority":1,"record_length":96,"hex_timestamp":"000001a017c26d08"} 
[2026-08-19 07:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:34:12] 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-08-19 07:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 07:34:12] 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-08-19 07:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498806272001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498806272001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:34:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:34:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498806272001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":157370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:34:12] local.INFO: GPS data processed {"connection_id":157370,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:34:12] local.INFO: Acknowledgment sent {"connection_id":157370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:34:20] local.INFO: TCP Data received {"connection_id":157749,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:34:20] local.INFO: Processing buffer {"connection_id":157749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:34:20] local.INFO: IMEI packet received {"connection_id":157749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":157749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:34:28] local.INFO: TCP Data received {"connection_id":157749,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:34:28] local.INFO: Processing buffer {"connection_id":157749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:34:28] local.INFO: IMEI packet received {"connection_id":157749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":157749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:34:37] local.INFO: TCP Data received {"connection_id":157749,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c2b740012d7f754005dcd8900008015625..."} 
[2026-08-19 07:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c2b740012d7f754005dcd8900008015625..."} 
[2026-08-19 07:34:37] local.INFO: Processing buffer {"connection_id":157749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c2b740012d7f754005dcd8900008015625..."} 
[2026-08-19 07:34:37] local.INFO: Packet analysis {"connection_id":157749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:34:37] local.INFO: Extracted packet for processing {"connection_id":157749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763327808,"raw_latitude":98359440,"longitude_deg":76.3327808,"latitude_deg":9.835944,"altitude":8,"angle":342,"satellites":37,"speed":42,"hex_longitude":"2d7f7540","hex_latitude":"05dcd890","is_valid_coordinates":true} 
[2026-08-19 07:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498887680001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120572578245902336,"note":"Value kept but may cause issues"} 
[2026-08-19 07:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9185161833945825280,"note":"Value kept but may cause issues"} 
[2026-08-19 07:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787105032000,"timestamp_ms":1787105032000,"timestamp_seconds":1787105032,"priority":1,"record_length":96,"hex_timestamp":"000001a017c2b740"} 
[2026-08-19 07:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:34: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-08-19 07:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 07:34: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-08-19 07:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07: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-08-19 07:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498887680001,"66":12982,"53":206,"85":15104,"24":42,"16":120572578245902336,"45":9185161833945825280},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-19 07:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498887680001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:34:37] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-19 07:34:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120572578245902336,"km_value":120572578245902.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9185161833945825280,"description":"Unknown IO ID 45"} 
[2026-08-19 07:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498887680001,"power":12982,"unknown_53":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9185161833945825280}} 
[2026-08-19 07:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":157749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:34:37] local.INFO: GPS data processed {"connection_id":157749,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:34:37] local.INFO: Acknowledgment sent {"connection_id":157749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:34:43] local.INFO: TCP Data received {"connection_id":157370,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:34:43] local.INFO: Processing buffer {"connection_id":157370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:34:43] local.INFO: Packet analysis {"connection_id":157370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:34:43] local.INFO: Extracted packet for processing {"connection_id":157370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:34:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498806272001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787105013000,"timestamp_ms":1787105013000,"timestamp_seconds":1787105013,"priority":1,"record_length":96,"hex_timestamp":"000001a017c26d08"} 
[2026-08-19 07:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:34:43] 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-08-19 07:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 07:34:43] 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-08-19 07:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498806272001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498806272001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:34:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:34:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498806272001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":157370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:34:43] local.INFO: GPS data processed {"connection_id":157370,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:34:43] local.INFO: Acknowledgment sent {"connection_id":157370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:35:00] local.INFO: TCP Data received {"connection_id":159925,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:35:00] local.INFO: Processing buffer {"connection_id":159925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:35:00] local.INFO: IMEI packet received {"connection_id":159925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":159925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:35:05] local.INFO: TCP Data received {"connection_id":159925,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:35:05] local.INFO: Processing buffer {"connection_id":159925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:35:05] local.INFO: IMEI packet received {"connection_id":159925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":159925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:35:06] local.INFO: TCP Data received {"connection_id":159925,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:35:06] local.INFO: Processing buffer {"connection_id":159925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:35:06] local.INFO: Packet analysis {"connection_id":159925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:35:06] local.INFO: Extracted packet for processing {"connection_id":159925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:35:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498806272001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787105013000,"timestamp_ms":1787105013000,"timestamp_seconds":1787105013,"priority":1,"record_length":96,"hex_timestamp":"000001a017c26d08"} 
[2026-08-19 07:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 07:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498806272001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498806272001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:35:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:35:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498806272001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":159925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:35:06] local.INFO: GPS data processed {"connection_id":159925,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:35:06] local.INFO: Acknowledgment sent {"connection_id":159925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:35:25] local.INFO: TCP Data received {"connection_id":157371,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:35:25] local.INFO: Processing buffer {"connection_id":157371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:35:25] local.INFO: IMEI packet received {"connection_id":157371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":157371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:35:25] local.INFO: TCP Data received {"connection_id":157371,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:35:25] local.INFO: Processing buffer {"connection_id":157371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:35:25] local.INFO: IMEI packet received {"connection_id":157371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":157371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:35:30] local.INFO: TCP Data received {"connection_id":157371,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:35:30] local.INFO: Processing buffer {"connection_id":157371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:35:30] local.INFO: IMEI packet received {"connection_id":157371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":157371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:35:31] local.INFO: TCP Data received {"connection_id":157371,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c39db8012d7f2dc005ddc8400005014c24..."} 
[2026-08-19 07:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c39db8012d7f2dc005ddc8400005014c24..."} 
[2026-08-19 07:35:31] local.INFO: Processing buffer {"connection_id":157371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c39db8012d7f2dc005ddc8400005014c24..."} 
[2026-08-19 07:35:31] local.INFO: Packet analysis {"connection_id":157371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c3"} 
[2026-08-19 07:35:31] local.INFO: Extracted packet for processing {"connection_id":157371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c3"} 
[2026-08-19 07:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763309504,"raw_latitude":98420800,"longitude_deg":76.3309504,"latitude_deg":9.84208,"altitude":5,"angle":332,"satellites":36,"speed":42,"hex_longitude":"2d7f2dc0","hex_latitude":"05ddc840","is_valid_coordinates":true} 
[2026-08-19 07:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498903296001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120575726456930304,"note":"Value kept but may cause issues"} 
[2026-08-19 07:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164191948197085184,"note":"Value kept but may cause issues"} 
[2026-08-19 07:35:31] 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-08-19 07:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787105091000,"timestamp_ms":1787105091000,"timestamp_seconds":1787105091,"priority":1,"record_length":96,"hex_timestamp":"000001a017c39db8"} 
[2026-08-19 07:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-19 07:35: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-08-19 07:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":157371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":157371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":157371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:35:31] 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-08-19 07:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498903296001,"66":13189,"111":206,"85":15104,"24":42,"16":120575726456930304,"45":9164191948197085184},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 07:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498903296001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:35:31] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 07:35:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120575726456930304,"km_value":120575726456930.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164191948197085184,"description":"Unknown IO ID 45"} 
[2026-08-19 07:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498903296001,"power":13189,"unknown_111":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9164191948197085184}} 
[2026-08-19 07:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":157371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:35:31] local.INFO: GPS data processed {"connection_id":157371,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:35:31] local.INFO: Acknowledgment sent {"connection_id":157371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:35:36] local.INFO: TCP Data received {"connection_id":157371,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c3a588012d7f290005ddcf480005014025..."} 
[2026-08-19 07:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c3a588012d7f290005ddcf480005014025..."} 
[2026-08-19 07:35:36] local.INFO: Processing buffer {"connection_id":157371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c3a588012d7f290005ddcf480005014025..."} 
[2026-08-19 07:35:36] local.INFO: Packet analysis {"connection_id":157371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c3"} 
[2026-08-19 07:35:36] local.INFO: Extracted packet for processing {"connection_id":157371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c3"} 
[2026-08-19 07:35:36] local.INFO: GPS Element Parsed {"raw_longitude":763308288,"raw_latitude":98422600,"longitude_deg":76.3308288,"latitude_deg":9.84226,"altitude":5,"angle":320,"satellites":37,"speed":45,"hex_longitude":"2d7f2900","hex_latitude":"05ddcf48","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498903296001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120575829536145408,"note":"Value kept but may cause issues"} 
[2026-08-19 07:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164191948197085184,"note":"Value kept but may cause issues"} 
[2026-08-19 07:35:36] 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-08-19 07:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787105093000,"timestamp_ms":1787105093000,"timestamp_seconds":1787105093,"priority":1,"record_length":96,"hex_timestamp":"000001a017c3a588"} 
[2026-08-19 07:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-19 07:35:36] 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-08-19 07: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-08-19 07:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:35:36] 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-08-19 07:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498903296001,"66":13276,"111":206,"85":15104,"24":45,"16":120575829536145408,"45":9164191948197085184},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 07:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498903296001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:35:36] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 07:35:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120575829536145408,"km_value":120575829536145.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164191948197085184,"description":"Unknown IO ID 45"} 
[2026-08-19 07:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498903296001,"power":13276,"unknown_111":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9164191948197085184}} 
[2026-08-19 07:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":157371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:35:36] local.INFO: GPS data processed {"connection_id":157371,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:35:36] local.INFO: Acknowledgment sent {"connection_id":157371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:35:37] local.INFO: TCP Data received {"connection_id":159925,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:35:37] local.INFO: Processing buffer {"connection_id":159925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:35:37] local.INFO: Packet analysis {"connection_id":159925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:35:37] local.INFO: Extracted packet for processing {"connection_id":159925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498806272001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787105013000,"timestamp_ms":1787105013000,"timestamp_seconds":1787105013,"priority":1,"record_length":96,"hex_timestamp":"000001a017c26d08"} 
[2026-08-19 07:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 07:35:37] 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-08-19 07:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498806272001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498806272001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498806272001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":159925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:35:37] local.INFO: GPS data processed {"connection_id":159925,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:35:37] local.INFO: Acknowledgment sent {"connection_id":159925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:36:00] local.INFO: TCP Data received {"connection_id":157372,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:36:00] local.INFO: Processing buffer {"connection_id":157372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:36:00] local.INFO: IMEI packet received {"connection_id":157372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":157372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:36:05] local.INFO: TCP Data received {"connection_id":157372,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:36:05] local.INFO: Processing buffer {"connection_id":157372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:36:05] local.INFO: IMEI packet received {"connection_id":157372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":157372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:36:06] local.INFO: TCP Data received {"connection_id":157372,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:36:06] local.INFO: Processing buffer {"connection_id":157372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:36:06] local.INFO: Packet analysis {"connection_id":157372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:36:06] local.INFO: Extracted packet for processing {"connection_id":157372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498806272001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787105013000,"timestamp_ms":1787105013000,"timestamp_seconds":1787105013,"priority":1,"record_length":96,"hex_timestamp":"000001a017c26d08"} 
[2026-08-19 07:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 07:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498806272001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498806272001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:36:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498806272001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":157372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:36:06] local.INFO: GPS data processed {"connection_id":157372,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:36:06] local.INFO: Acknowledgment sent {"connection_id":157372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:36:21] local.INFO: TCP Data received {"connection_id":159926,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:36:21] local.INFO: Processing buffer {"connection_id":159926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:36:21] local.INFO: IMEI packet received {"connection_id":159926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":159926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:36:22] local.INFO: TCP Data received {"connection_id":159926,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:36:22] local.INFO: Processing buffer {"connection_id":159926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:36:22] local.INFO: IMEI packet received {"connection_id":159926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":159926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:36:23] local.INFO: TCP Data received {"connection_id":159926,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c3b910012d7f1b0005dde2580006014b24..."} 
[2026-08-19 07:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c3b910012d7f1b0005dde2580006014b24..."} 
[2026-08-19 07:36:23] local.INFO: Processing buffer {"connection_id":159926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c3b910012d7f1b0005dde2580006014b24..."} 
[2026-08-19 07:36:23] local.INFO: Packet analysis {"connection_id":159926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c3"} 
[2026-08-19 07:36:23] local.INFO: Extracted packet for processing {"connection_id":159926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c3"} 
[2026-08-19 07:36:23] local.INFO: GPS Element Parsed {"raw_longitude":763304704,"raw_latitude":98427480,"longitude_deg":76.3304704,"latitude_deg":9.842748,"altitude":6,"angle":331,"satellites":36,"speed":49,"hex_longitude":"2d7f1b00","hex_latitude":"05dde258","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498903808001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120576121593921536,"note":"Value kept but may cause issues"} 
[2026-08-19 07:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162854942058170368,"note":"Value kept but may cause issues"} 
[2026-08-19 07:36:23] 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-08-19 07:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787105098000,"timestamp_ms":1787105098000,"timestamp_seconds":1787105098,"priority":1,"record_length":96,"hex_timestamp":"000001a017c3b910"} 
[2026-08-19 07:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-19 07:36:23] 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-08-19 07: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-08-19 07:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:36:23] 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-08-19 07:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498903808001,"66":12906,"111":206,"85":15104,"24":49,"16":120576121593921536,"45":9162854942058170368},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 07:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498903808001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:36:23] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 07:36:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120576121593921536,"km_value":120576121593921.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162854942058170368,"description":"Unknown IO ID 45"} 
[2026-08-19 07:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498903808001,"power":12906,"unknown_111":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9162854942058170368}} 
[2026-08-19 07:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":159926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:36:23] local.INFO: GPS data processed {"connection_id":159926,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:36:23] local.INFO: Acknowledgment sent {"connection_id":159926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:36:37] local.INFO: TCP Data received {"connection_id":157372,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:36:37] local.INFO: Processing buffer {"connection_id":157372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:36:37] local.INFO: Packet analysis {"connection_id":157372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:36:37] local.INFO: Extracted packet for processing {"connection_id":157372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498806272001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787105013000,"timestamp_ms":1787105013000,"timestamp_seconds":1787105013,"priority":1,"record_length":96,"hex_timestamp":"000001a017c26d08"} 
[2026-08-19 07:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 07:36:37] 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-08-19 07:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498806272001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498806272001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498806272001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":157372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:36:37] local.INFO: GPS data processed {"connection_id":157372,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:36:37] local.INFO: Acknowledgment sent {"connection_id":157372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:36:54] local.INFO: TCP Data received {"connection_id":159926,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c54398012d7ec64005def4800007014824..."} 
[2026-08-19 07:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c54398012d7ec64005def4800007014824..."} 
[2026-08-19 07:36:54] local.INFO: Processing buffer {"connection_id":159926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c54398012d7ec64005def4800007014824..."} 
[2026-08-19 07:36:54] local.INFO: Packet analysis {"connection_id":159926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c5"} 
[2026-08-19 07:36:54] local.INFO: Extracted packet for processing {"connection_id":159926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c5"} 
[2026-08-19 07:36:54] local.INFO: GPS Element Parsed {"raw_longitude":763283008,"raw_latitude":98497664,"longitude_deg":76.3283008,"latitude_deg":9.8497664,"altitude":7,"angle":328,"satellites":36,"speed":38,"hex_longitude":"2d7ec640","hex_latitude":"05def480","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498930432001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120579712186580992,"note":"Value kept but may cause issues"} 
[2026-08-19 07:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136044450545248256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:36:54] 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-08-19 07:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787105199000,"timestamp_ms":1787105199000,"timestamp_seconds":1787105199,"priority":1,"record_length":96,"hex_timestamp":"000001a017c54398"} 
[2026-08-19 07:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 07:36:54] 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-08-19 07: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-08-19 07:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:36:54] 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-08-19 07:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498930432001,"66":12798,"205":206,"85":15104,"24":38,"16":120579712186580992,"45":9136044450545248256},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-19 07:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498930432001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:36:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120579712186580992,"km_value":120579712186580.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136044450545248256,"description":"Unknown IO ID 45"} 
[2026-08-19 07:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498930432001,"power":12798,"cell_id":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9136044450545248256}} 
[2026-08-19 07:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":159926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:36:54] local.INFO: GPS data processed {"connection_id":159926,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:36:54] local.INFO: Acknowledgment sent {"connection_id":159926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:37:00] local.INFO: TCP Data received {"connection_id":157750,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:37:00] local.INFO: Processing buffer {"connection_id":157750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:37:00] local.INFO: IMEI packet received {"connection_id":157750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":157750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:37:05] local.INFO: TCP Data received {"connection_id":157750,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:37:05] local.INFO: Processing buffer {"connection_id":157750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:37:05] local.INFO: IMEI packet received {"connection_id":157750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":157750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:37:06] local.INFO: TCP Data received {"connection_id":157750,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:37:06] local.INFO: Processing buffer {"connection_id":157750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:37:06] local.INFO: Packet analysis {"connection_id":157750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:37:06] local.INFO: Extracted packet for processing {"connection_id":157750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498806272001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787105013000,"timestamp_ms":1787105013000,"timestamp_seconds":1787105013,"priority":1,"record_length":96,"hex_timestamp":"000001a017c26d08"} 
[2026-08-19 07:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 07:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498806272001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498806272001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498806272001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":157750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:37:06] local.INFO: GPS data processed {"connection_id":157750,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:37:06] local.INFO: Acknowledgment sent {"connection_id":157750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:37:20] local.INFO: TCP Data received {"connection_id":158638,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:37:20] local.INFO: Processing buffer {"connection_id":158638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:37:20] local.INFO: IMEI packet received {"connection_id":158638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":158638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:37:25] local.INFO: TCP Data received {"connection_id":158638,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:37:25] local.INFO: Processing buffer {"connection_id":158638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:37:25] local.INFO: IMEI packet received {"connection_id":158638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":158638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:37:26] local.INFO: TCP Data received {"connection_id":158638,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c562d8012d7eb28005df0bb80009013925..."} 
[2026-08-19 07:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c562d8012d7eb28005df0bb80009013925..."} 
[2026-08-19 07:37:26] local.INFO: Processing buffer {"connection_id":158638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c562d8012d7eb28005df0bb80009013925..."} 
[2026-08-19 07:37:26] local.INFO: Packet analysis {"connection_id":158638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c5"} 
[2026-08-19 07:37:26] local.INFO: Extracted packet for processing {"connection_id":158638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c5"} 
[2026-08-19 07:37:26] local.INFO: GPS Element Parsed {"raw_longitude":763277952,"raw_latitude":98503608,"longitude_deg":76.3277952,"latitude_deg":9.8503608,"altitude":9,"angle":313,"satellites":37,"speed":38,"hex_longitude":"2d7eb280","hex_latitude":"05df0bb8","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498930944001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120580085848735744,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135059288127209472,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37:26] 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-08-19 07:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787105207000,"timestamp_ms":1787105207000,"timestamp_seconds":1787105207,"priority":1,"record_length":96,"hex_timestamp":"000001a017c562d8"} 
[2026-08-19 07:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-19 07:37:26] 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-08-19 07: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-08-19 07:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:37:26] 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-08-19 07:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498930944001,"66":13319,"205":206,"85":15104,"24":38,"16":120580085848735744,"45":9135059288127209472},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-19 07:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498930944001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:37:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120580085848735744,"km_value":120580085848735.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135059288127209472,"description":"Unknown IO ID 45"} 
[2026-08-19 07:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498930944001,"power":13319,"cell_id":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9135059288127209472}} 
[2026-08-19 07:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":158638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:37:26] local.INFO: GPS data processed {"connection_id":158638,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:37:26] local.INFO: Acknowledgment sent {"connection_id":158638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:37:37] local.INFO: TCP Data received {"connection_id":157750,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:37:37] local.INFO: Processing buffer {"connection_id":157750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:37:37] local.INFO: Packet analysis {"connection_id":157750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:37:37] local.INFO: Extracted packet for processing {"connection_id":157750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498806272001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37: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-08-19 07:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787105013000,"timestamp_ms":1787105013000,"timestamp_seconds":1787105013,"priority":1,"record_length":96,"hex_timestamp":"000001a017c26d08"} 
[2026-08-19 07:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 07:37:37] 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-08-19 07:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498806272001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498806272001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:37:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498806272001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":157750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:37:37] local.INFO: GPS data processed {"connection_id":157750,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:37:37] local.INFO: Acknowledgment sent {"connection_id":157750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:37:58] local.INFO: TCP Data received {"connection_id":158638,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c57660012d7ea5c005df1a680009014624..."} 
[2026-08-19 07:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c57660012d7ea5c005df1a680009014624..."} 
[2026-08-19 07:37:58] local.INFO: Processing buffer {"connection_id":158638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c57660012d7ea5c005df1a680009014624..."} 
[2026-08-19 07:37:58] local.INFO: Packet analysis {"connection_id":158638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c5"} 
[2026-08-19 07:37:58] local.INFO: Extracted packet for processing {"connection_id":158638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c5"} 
[2026-08-19 07:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763274688,"raw_latitude":98507368,"longitude_deg":76.3274688,"latitude_deg":9.8507368,"altitude":9,"angle":326,"satellites":36,"speed":41,"hex_longitude":"2d7ea5c0","hex_latitude":"05df1a68","is_valid_coordinates":true} 
[2026-08-19 07:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498932992001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120580326366904320,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129500157338695680,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37:58] 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-08-19 07:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787105212000,"timestamp_ms":1787105212000,"timestamp_seconds":1787105212,"priority":1,"record_length":96,"hex_timestamp":"000001a017c57660"} 
[2026-08-19 07:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 07:37:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37:58] local.WARNING: Large IO value detected {"io_id":23,"raw_value":3306213377,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37:58] local.WARNING: Large IO value detected {"io_id":222,"raw_value":7356630025691800832,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3733342208,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37:58] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57787466426242363,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37:58] local.WARNING: Large IO value detected {"io_id":196,"raw_value":-8640154590195793915,"note":"Value kept but may cause issues"} 
[2026-08-19 07:37:58] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,205,85,24,241,157,16,98,160,67,45,64,244,7,36,10,66,59,192,237,8,48,1,240,150,227,23,222,4,113,253,211,96,39,239,50,2,172,5,11,166,196],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[]} 
[2026-08-19 07:37:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648862652397125632,"timestamp_seconds":648862652397125.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 07:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":158638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":158638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":158638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:37:58] 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-08-19 07:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498932992001,"66":13341,"205":206,"85":15104,"24":41,"16":120580326366904320,"45":9129500157338695680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-19 07:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498932992001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:37:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120580326366904320,"km_value":120580326366904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129500157338695680,"description":"Unknown IO ID 45"} 
[2026-08-19 07:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498932992001,"power":13341,"cell_id":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9129500157338695680}} 
[2026-08-19 07:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":158638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:37:58] local.INFO: GPS data processed {"connection_id":158638,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:37:58] local.INFO: Acknowledgment sent {"connection_id":158638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:38:00] local.INFO: TCP Data received {"connection_id":158639,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:38:00] local.INFO: Processing buffer {"connection_id":158639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:38:00] local.INFO: IMEI packet received {"connection_id":158639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":158639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:38:05] local.INFO: TCP Data received {"connection_id":158639,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:38:05] local.INFO: Processing buffer {"connection_id":158639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:38:05] local.INFO: IMEI packet received {"connection_id":158639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":158639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:38:08] local.INFO: TCP Data received {"connection_id":158639,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:38:08] local.INFO: Processing buffer {"connection_id":158639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:38:08] local.INFO: Packet analysis {"connection_id":158639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:38:08] local.INFO: Extracted packet for processing {"connection_id":158639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498806272001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787105013000,"timestamp_ms":1787105013000,"timestamp_seconds":1787105013,"priority":1,"record_length":96,"hex_timestamp":"000001a017c26d08"} 
[2026-08-19 07:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 07:38:08] 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-08-19 07: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-08-19 07:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":158639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":158639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":158639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498806272001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498806272001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498806272001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":158639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:38:08] local.INFO: GPS data processed {"connection_id":158639,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:38:08] local.INFO: Acknowledgment sent {"connection_id":158639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:38:21] local.INFO: TCP Data received {"connection_id":157751,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:38:21] local.INFO: Processing buffer {"connection_id":157751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:38:21] local.INFO: IMEI packet received {"connection_id":157751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":157751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:38:21] local.INFO: TCP Data received {"connection_id":157751,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:38:21] local.INFO: Processing buffer {"connection_id":157751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:38:21] local.INFO: IMEI packet received {"connection_id":157751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":157751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:38:25] local.INFO: TCP Data received {"connection_id":157751,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:38:25] local.INFO: Processing buffer {"connection_id":157751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:38:25] local.INFO: IMEI packet received {"connection_id":157751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":157751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:38:26] local.INFO: TCP Data received {"connection_id":157751,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c59988012d7e948005df3de8000b014c27..."} 
[2026-08-19 07:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c59988012d7e948005df3de8000b014c27..."} 
[2026-08-19 07:38:26] local.INFO: Processing buffer {"connection_id":157751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c59988012d7e948005df3de8000b014c27..."} 
[2026-08-19 07:38:26] local.INFO: Packet analysis {"connection_id":157751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c5"} 
[2026-08-19 07:38:26] local.INFO: Extracted packet for processing {"connection_id":157751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c5"} 
[2026-08-19 07:38:26] local.INFO: GPS Element Parsed {"raw_longitude":763270272,"raw_latitude":98516456,"longitude_deg":76.3270272,"latitude_deg":9.8516456,"altitude":11,"angle":332,"satellites":39,"speed":50,"hex_longitude":"2d7e9480","hex_latitude":"05df3de8","is_valid_coordinates":true} 
[2026-08-19 07:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498934272001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120580815993176064,"note":"Value kept but may cause issues"} 
[2026-08-19 07:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125911351386597376,"note":"Value kept but may cause issues"} 
[2026-08-19 07:38:26] 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-08-19 07:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787105221000,"timestamp_ms":1787105221000,"timestamp_seconds":1787105221,"priority":1,"record_length":96,"hex_timestamp":"000001a017c59988"} 
[2026-08-19 07:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 07:38:26] 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-08-19 07:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:38:26] 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-08-19 07:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498934272001,"66":12765,"206":206,"85":15104,"24":50,"16":120580815993176064,"45":9125911351386597376},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-08-19 07:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498934272001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:38:26] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-19 07:38:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120580815993176064,"km_value":120580815993176.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125911351386597376,"description":"Unknown IO ID 45"} 
[2026-08-19 07:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498934272001,"power":12765,"unknown_206":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9125911351386597376}} 
[2026-08-19 07:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":157751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:38:26] local.INFO: GPS data processed {"connection_id":157751,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:38:26] local.INFO: Acknowledgment sent {"connection_id":157751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:38:39] local.INFO: TCP Data received {"connection_id":158639,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:38:39] local.INFO: Processing buffer {"connection_id":158639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:38:39] local.INFO: Packet analysis {"connection_id":158639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:38:39] local.INFO: Extracted packet for processing {"connection_id":158639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:38:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498806272001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787105013000,"timestamp_ms":1787105013000,"timestamp_seconds":1787105013,"priority":1,"record_length":96,"hex_timestamp":"000001a017c26d08"} 
[2026-08-19 07:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 07:38:39] 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-08-19 07: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-08-19 07:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498806272001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498806272001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:38:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:38:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498806272001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":158639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:38:39] local.INFO: GPS data processed {"connection_id":158639,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:38:39] local.INFO: Acknowledgment sent {"connection_id":158639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:38:57] local.INFO: TCP Data received {"connection_id":157751,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c74350012d7e114005e0f4f00005016325..."} 
[2026-08-19 07:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c74350012d7e114005e0f4f00005016325..."} 
[2026-08-19 07:38:57] local.INFO: Processing buffer {"connection_id":157751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c74350012d7e114005e0f4f00005016325..."} 
[2026-08-19 07:38:57] local.INFO: Packet analysis {"connection_id":157751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:38:57] local.INFO: Extracted packet for processing {"connection_id":157751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763236672,"raw_latitude":98628848,"longitude_deg":76.3236672,"latitude_deg":9.8628848,"altitude":5,"angle":355,"satellites":37,"speed":42,"hex_longitude":"2d7e1140","hex_latitude":"05e0f4f0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 07:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498961920001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120586639968829440,"note":"Value kept but may cause issues"} 
[2026-08-19 07:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083690104908640256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:38:57] 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-08-19 07:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787105330000,"timestamp_ms":1787105330000,"timestamp_seconds":1787105330,"priority":1,"record_length":96,"hex_timestamp":"000001a017c74350"} 
[2026-08-19 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-08-19 07:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-19 07:38:57] 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-08-19 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-08-19 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-08-19 07:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:38:57] 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-08-19 07:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498961920001,"66":13135,"105":206,"85":15104,"24":42,"16":120586639968829440,"45":9083690104908640256},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-19 07:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498961920001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:38:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 07:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120586639968829440,"km_value":120586639968829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083690104908640256,"description":"Unknown IO ID 45"} 
[2026-08-19 07:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498961920001,"power":13135,"unknown_105":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9083690104908640256}} 
[2026-08-19 07:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":157751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:38:57] local.INFO: GPS data processed {"connection_id":157751,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:38:57] local.INFO: Acknowledgment sent {"connection_id":157751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:39:00] local.INFO: TCP Data received {"connection_id":159927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:39:00] local.INFO: Processing buffer {"connection_id":159927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:39:00] local.INFO: IMEI packet received {"connection_id":159927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":159927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:39:05] local.INFO: TCP Data received {"connection_id":159927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:39:05] local.INFO: Processing buffer {"connection_id":159927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:39:05] local.INFO: IMEI packet received {"connection_id":159927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":159927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:39:06] local.INFO: TCP Data received {"connection_id":159927,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:39:06] local.INFO: Processing buffer {"connection_id":159927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c26d08012d34c50006aa4078000900592b..."} 
[2026-08-19 07:39:06] local.INFO: Packet analysis {"connection_id":159927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:39:06] local.INFO: Extracted packet for processing {"connection_id":159927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c2"} 
[2026-08-19 07:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498806272001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787105013000,"timestamp_ms":1787105013000,"timestamp_seconds":1787105013,"priority":1,"record_length":96,"hex_timestamp":"000001a017c26d08"} 
[2026-08-19 07:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 07:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498806272001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498806272001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:39:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498806272001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":159927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:39:06] local.INFO: GPS data processed {"connection_id":159927,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:39:06] local.INFO: Acknowledgment sent {"connection_id":159927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:39:20] local.INFO: TCP Data received {"connection_id":157752,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:39:20] local.INFO: Processing buffer {"connection_id":157752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:39:20] local.INFO: IMEI packet received {"connection_id":157752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":157752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:39:23] local.INFO: TCP Data received {"connection_id":157752,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:39:23] local.INFO: Processing buffer {"connection_id":157752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:39:23] local.INFO: IMEI packet received {"connection_id":157752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":157752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:39:25] local.INFO: TCP Data received {"connection_id":157752,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:39:25] local.INFO: Processing buffer {"connection_id":157752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:39:25] local.INFO: IMEI packet received {"connection_id":157752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":157752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:39:26] local.INFO: TCP Data received {"connection_id":157752,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c74350012d7e114005e0f4f00005016325..."} 
[2026-08-19 07:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c74350012d7e114005e0f4f00005016325..."} 
[2026-08-19 07:39:26] local.INFO: Processing buffer {"connection_id":157752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c74350012d7e114005e0f4f00005016325..."} 
[2026-08-19 07:39:26] local.INFO: Packet analysis {"connection_id":157752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:39:26] local.INFO: Extracted packet for processing {"connection_id":157752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:39:26] local.INFO: GPS Element Parsed {"raw_longitude":763236672,"raw_latitude":98628848,"longitude_deg":76.3236672,"latitude_deg":9.8628848,"altitude":5,"angle":355,"satellites":37,"speed":42,"hex_longitude":"2d7e1140","hex_latitude":"05e0f4f0","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498964480001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120586639968829440,"note":"Value kept but may cause issues"} 
[2026-08-19 07:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084112317376163840,"note":"Value kept but may cause issues"} 
[2026-08-19 07:39:26] 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-08-19 07:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787105330000,"timestamp_ms":1787105330000,"timestamp_seconds":1787105330,"priority":1,"record_length":96,"hex_timestamp":"000001a017c74350"} 
[2026-08-19 07:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 07:39:26] 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-08-19 07: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-08-19 07:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:39:26] 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-08-19 07:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498964480001,"66":13135,"105":206,"85":15104,"24":42,"16":120586639968829440,"45":9084112317376163840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-19 07:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498964480001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:39:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 07:39:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120586639968829440,"km_value":120586639968829.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084112317376163840,"description":"Unknown IO ID 45"} 
[2026-08-19 07:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498964480001,"power":13135,"unknown_105":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9084112317376163840}} 
[2026-08-19 07:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":157752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:39:26] local.INFO: GPS data processed {"connection_id":157752,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:39:26] local.INFO: Acknowledgment sent {"connection_id":157752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:39:37] local.INFO: TCP Data received {"connection_id":159927,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:39:37] local.INFO: Processing buffer {"connection_id":159927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:39:37] local.INFO: Packet analysis {"connection_id":159927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:39:37] local.INFO: Extracted packet for processing {"connection_id":159927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":14,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498883328001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787105314000,"timestamp_ms":1787105314000,"timestamp_seconds":1787105314,"priority":1,"record_length":96,"hex_timestamp":"000001a017c704d0"} 
[2026-08-19 07:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 07:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498883328001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498883328001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498883328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":159927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:39:37] local.INFO: GPS data processed {"connection_id":159927,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:39:37] local.INFO: Acknowledgment sent {"connection_id":159927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:39:58] local.INFO: TCP Data received {"connection_id":157752,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c80a88012d7e2a0005e1c6c80005000c24..."} 
[2026-08-19 07:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c80a88012d7e2a0005e1c6c80005000c24..."} 
[2026-08-19 07:39:58] local.INFO: Processing buffer {"connection_id":157752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c80a88012d7e2a0005e1c6c80005000c24..."} 
[2026-08-19 07:39:58] local.INFO: Packet analysis {"connection_id":157752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c8"} 
[2026-08-19 07:39:58] local.INFO: Extracted packet for processing {"connection_id":157752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c8"} 
[2026-08-19 07:39:58] local.INFO: GPS Element Parsed {"raw_longitude":763243008,"raw_latitude":98682568,"longitude_deg":76.3243008,"latitude_deg":9.8682568,"altitude":5,"angle":12,"satellites":36,"speed":41,"hex_longitude":"2d7e2a00","hex_latitude":"05e1c6c8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 07:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498976000001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120589341503258624,"note":"Value kept but may cause issues"} 
[2026-08-19 07:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087912229574174720,"note":"Value kept but may cause issues"} 
[2026-08-19 07:39:58] 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-08-19 07:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787105381000,"timestamp_ms":1787105381000,"timestamp_seconds":1787105381,"priority":1,"record_length":96,"hex_timestamp":"000001a017c80a88"} 
[2026-08-19 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-08-19 07:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":198,"data_length":795,"current_offset":136} 
[2026-08-19 07:39: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-08-19 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-08-19 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-08-19 07:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:39:58] 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-08-19 07:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498976000001,"66":13276,"105":206,"85":15104,"24":41,"16":120589341503258624,"45":9087912229574174720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-19 07:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498976000001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:39:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 07:39:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120589341503258624,"km_value":120589341503258.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087912229574174720,"description":"Unknown IO ID 45"} 
[2026-08-19 07:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498976000001,"power":13276,"unknown_105":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9087912229574174720}} 
[2026-08-19 07:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":157752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:39:58] local.INFO: GPS data processed {"connection_id":157752,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:39:58] local.INFO: Acknowledgment sent {"connection_id":157752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:40:00] local.INFO: TCP Data received {"connection_id":157753,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:40:00] local.INFO: Processing buffer {"connection_id":157753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:40:00] local.INFO: IMEI packet received {"connection_id":157753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":157753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:40:05] local.INFO: TCP Data received {"connection_id":157753,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:40:05] local.INFO: Processing buffer {"connection_id":157753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:40:05] local.INFO: IMEI packet received {"connection_id":157753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":157753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:40:06] local.INFO: TCP Data received {"connection_id":157753,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:40:06] local.INFO: Processing buffer {"connection_id":157753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:40:06] local.INFO: Packet analysis {"connection_id":157753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:40:06] local.INFO: Extracted packet for processing {"connection_id":157753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":14,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498883328001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787105314000,"timestamp_ms":1787105314000,"timestamp_seconds":1787105314,"priority":1,"record_length":96,"hex_timestamp":"000001a017c704d0"} 
[2026-08-19 07:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 07:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498883328001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498883328001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498883328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":157753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:40:06] local.INFO: GPS data processed {"connection_id":157753,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:40:06] local.INFO: Acknowledgment sent {"connection_id":157753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:40:20] local.INFO: TCP Data received {"connection_id":157373,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:40:20] local.INFO: Processing buffer {"connection_id":157373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:40:20] local.INFO: IMEI packet received {"connection_id":157373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":157373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:40:21] local.INFO: TCP Data received {"connection_id":157373,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:40:21] local.INFO: Processing buffer {"connection_id":157373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:40:21] local.INFO: IMEI packet received {"connection_id":157373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":157373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:40:25] local.INFO: TCP Data received {"connection_id":157373,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:40:25] local.INFO: Processing buffer {"connection_id":157373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:40:25] local.INFO: IMEI packet received {"connection_id":157373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":157373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:40:26] local.INFO: TCP Data received {"connection_id":157373,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c81640012d7e2b0005e1d3780005000024..."} 
[2026-08-19 07:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c81640012d7e2b0005e1d3780005000024..."} 
[2026-08-19 07:40:26] local.INFO: Processing buffer {"connection_id":157373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c81640012d7e2b0005e1d3780005000024..."} 
[2026-08-19 07:40:26] local.INFO: Packet analysis {"connection_id":157373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c8"} 
[2026-08-19 07:40:26] local.INFO: Extracted packet for processing {"connection_id":157373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c8"} 
[2026-08-19 07:40:26] local.INFO: GPS Element Parsed {"raw_longitude":763243264,"raw_latitude":98685816,"longitude_deg":76.3243264,"latitude_deg":9.8685816,"altitude":5,"angle":0,"satellites":36,"speed":43,"hex_longitude":"2d7e2b00","hex_latitude":"05e1d378","is_valid_coordinates":true} 
[2026-08-19 07:40: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-08-19 07:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498977536001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120589500417048576,"note":"Value kept but may cause issues"} 
[2026-08-19 07:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091078823063504896,"note":"Value kept but may cause issues"} 
[2026-08-19 07:40:26] 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-08-19 07:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787105384000,"timestamp_ms":1787105384000,"timestamp_seconds":1787105384,"priority":1,"record_length":96,"hex_timestamp":"000001a017c81640"} 
[2026-08-19 07:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-19 07:40:26] 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-08-19 07:40: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-08-19 07:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:40:26] 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-08-19 07:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498977536001,"66":13374,"105":206,"85":15104,"24":43,"16":120589500417048576,"45":9091078823063504896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-19 07:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498977536001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:40:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 07:40:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120589500417048576,"km_value":120589500417048.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091078823063504896,"description":"Unknown IO ID 45"} 
[2026-08-19 07:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498977536001,"power":13374,"unknown_105":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9091078823063504896}} 
[2026-08-19 07:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":157373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:40:26] local.INFO: GPS data processed {"connection_id":157373,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:40:26] local.INFO: Acknowledgment sent {"connection_id":157373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:40:37] local.INFO: TCP Data received {"connection_id":157753,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:40:37] local.INFO: Processing buffer {"connection_id":157753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:40:37] local.INFO: Packet analysis {"connection_id":157753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:40:37] local.INFO: Extracted packet for processing {"connection_id":157753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":14,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498883328001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787105314000,"timestamp_ms":1787105314000,"timestamp_seconds":1787105314,"priority":1,"record_length":96,"hex_timestamp":"000001a017c704d0"} 
[2026-08-19 07:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 07:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498883328001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 07:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498883328001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498883328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":157753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:40:37] local.INFO: GPS data processed {"connection_id":157753,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:40:37] local.INFO: Acknowledgment sent {"connection_id":157753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:40:57] local.INFO: TCP Data received {"connection_id":157373,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c8f4e8012d7dd40005e200e0000700f525..."} 
[2026-08-19 07:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c8f4e8012d7dd40005e200e0000700f525..."} 
[2026-08-19 07:40:57] local.INFO: Processing buffer {"connection_id":157373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c8f4e8012d7dd40005e200e0000700f525..."} 
[2026-08-19 07:40:57] local.INFO: Packet analysis {"connection_id":157373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c8"} 
[2026-08-19 07:40:57] local.INFO: Extracted packet for processing {"connection_id":157373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c8"} 
[2026-08-19 07:40:57] local.INFO: GPS Element Parsed {"raw_longitude":763220992,"raw_latitude":98697440,"longitude_deg":76.3220992,"latitude_deg":9.869744,"altitude":7,"angle":245,"satellites":37,"speed":43,"hex_longitude":"2d7dd400","hex_latitude":"05e200e0","is_valid_coordinates":true} 
[2026-08-19 07:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498990336001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120591312893247488,"note":"Value kept but may cause issues"} 
[2026-08-19 07:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9076723599256094720,"note":"Value kept but may cause issues"} 
[2026-08-19 07:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787105441000,"timestamp_ms":1787105441000,"timestamp_seconds":1787105441,"priority":1,"record_length":96,"hex_timestamp":"000001a017c8f4e8"} 
[2026-08-19 07:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-19 07:40:57] 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-08-19 07:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:40:57] 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-08-19 07:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498990336001,"66":13341,"61":206,"85":15104,"24":43,"16":120591312893247488,"45":9076723599256094720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-19 07:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498990336001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:40:57] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-19 07:40:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120591312893247488,"km_value":120591312893247.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9076723599256094720,"description":"Unknown IO ID 45"} 
[2026-08-19 07:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498990336001,"power":13341,"unknown_61":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9076723599256094720}} 
[2026-08-19 07:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":157373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:40:57] local.INFO: GPS data processed {"connection_id":157373,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:40:57] local.INFO: Acknowledgment sent {"connection_id":157373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:41:00] local.INFO: TCP Data received {"connection_id":157374,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:41:00] local.INFO: Processing buffer {"connection_id":157374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:41:00] local.INFO: IMEI packet received {"connection_id":157374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":157374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:41:05] local.INFO: TCP Data received {"connection_id":157374,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:41:05] local.INFO: Processing buffer {"connection_id":157374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:41:05] local.INFO: IMEI packet received {"connection_id":157374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":157374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:41:06] local.INFO: TCP Data received {"connection_id":157374,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:41:06] local.INFO: Processing buffer {"connection_id":157374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:41:06] local.INFO: Packet analysis {"connection_id":157374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:41:06] local.INFO: Extracted packet for processing {"connection_id":157374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":14,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498883328001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787105314000,"timestamp_ms":1787105314000,"timestamp_seconds":1787105314,"priority":1,"record_length":96,"hex_timestamp":"000001a017c704d0"} 
[2026-08-19 07:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 07:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498883328001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498883328001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:41:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498883328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":157374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:41:06] local.INFO: GPS data processed {"connection_id":157374,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:41:06] local.INFO: Acknowledgment sent {"connection_id":157374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:41:25] local.INFO: TCP Data received {"connection_id":157375,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157375,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:41:25] local.INFO: Processing buffer {"connection_id":157375,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:41:25] local.INFO: IMEI packet received {"connection_id":157375,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":157375,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:41:26] local.INFO: TCP Data received {"connection_id":157375,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157375,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:41:26] local.INFO: Processing buffer {"connection_id":157375,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:41:26] local.INFO: IMEI packet received {"connection_id":157375,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":157375,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:41:27] local.INFO: TCP Data received {"connection_id":157375,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c90488012d7dc30005e1fb880007010726..."} 
[2026-08-19 07:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c90488012d7dc30005e1fb880007010726..."} 
[2026-08-19 07:41:27] local.INFO: Processing buffer {"connection_id":157375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c90488012d7dc30005e1fb880007010726..."} 
[2026-08-19 07:41:27] local.INFO: Packet analysis {"connection_id":157375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c9"} 
[2026-08-19 07:41:27] local.INFO: Extracted packet for processing {"connection_id":157375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c9"} 
[2026-08-19 07:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763216640,"raw_latitude":98696072,"longitude_deg":76.321664,"latitude_deg":9.8696072,"altitude":7,"angle":263,"satellites":38,"speed":44,"hex_longitude":"2d7dc300","hex_latitude":"05e1fb88","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498992896001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120591531936579584,"note":"Value kept but may cause issues"} 
[2026-08-19 07:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9066871975070195712,"note":"Value kept but may cause issues"} 
[2026-08-19 07:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787105445000,"timestamp_ms":1787105445000,"timestamp_seconds":1787105445,"priority":1,"record_length":96,"hex_timestamp":"000001a017c90488"} 
[2026-08-19 07:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 07:41: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-08-19 07: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-08-19 07:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:41:27] 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-08-19 07:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498992896001,"66":13091,"61":206,"85":15104,"24":44,"16":120591531936579584,"45":9066871975070195712},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-19 07:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498992896001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:41:27] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-19 07:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120591531936579584,"km_value":120591531936579.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9066871975070195712,"description":"Unknown IO ID 45"} 
[2026-08-19 07:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498992896001,"power":13091,"unknown_61":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9066871975070195712}} 
[2026-08-19 07:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":157375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:41:27] local.INFO: GPS data processed {"connection_id":157375,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:41:27] local.INFO: Acknowledgment sent {"connection_id":157375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:41:30] local.INFO: TCP Data received {"connection_id":157375,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c90c58012d7dba0005e1fbd00008011327..."} 
[2026-08-19 07:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c90c58012d7dba0005e1fbd00008011327..."} 
[2026-08-19 07:41:30] local.INFO: Processing buffer {"connection_id":157375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c90c58012d7dba0005e1fbd00008011327..."} 
[2026-08-19 07:41:30] local.INFO: Packet analysis {"connection_id":157375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c9"} 
[2026-08-19 07:41:30] local.INFO: Extracted packet for processing {"connection_id":157375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c9"} 
[2026-08-19 07:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763214336,"raw_latitude":98696144,"longitude_deg":76.3214336,"latitude_deg":9.8696144,"altitude":8,"angle":275,"satellites":39,"speed":44,"hex_longitude":"2d7dba00","hex_latitude":"05e1fbd0","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498993920001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120591639310761984,"note":"Value kept but may cause issues"} 
[2026-08-19 07:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062086900465764352,"note":"Value kept but may cause issues"} 
[2026-08-19 07:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787105447000,"timestamp_ms":1787105447000,"timestamp_seconds":1787105447,"priority":1,"record_length":96,"hex_timestamp":"000001a017c90c58"} 
[2026-08-19 07:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:41: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-08-19 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 07:41:30] 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-08-19 07: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-08-19 07:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":157375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":157375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":157375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:41:30] 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-08-19 07:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498993920001,"66":12982,"61":206,"85":15104,"24":44,"16":120591639310761984,"45":9062086900465764352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-19 07:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498993920001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:41:30] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-19 07:41:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120591639310761984,"km_value":120591639310761.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062086900465764352,"description":"Unknown IO ID 45"} 
[2026-08-19 07:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498993920001,"power":12982,"unknown_61":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9062086900465764352}} 
[2026-08-19 07:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":157375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:41:31] local.INFO: GPS data processed {"connection_id":157375,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:41:31] local.INFO: Acknowledgment sent {"connection_id":157375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:41:37] local.INFO: TCP Data received {"connection_id":157374,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:41:37] local.INFO: Processing buffer {"connection_id":157374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:41:37] local.INFO: Packet analysis {"connection_id":157374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:41:37] local.INFO: Extracted packet for processing {"connection_id":157374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":14,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498883328001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787105314000,"timestamp_ms":1787105314000,"timestamp_seconds":1787105314,"priority":1,"record_length":96,"hex_timestamp":"000001a017c704d0"} 
[2026-08-19 07:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 07:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498883328001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498883328001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498883328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":157374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:41:37] local.INFO: GPS data processed {"connection_id":157374,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:41:37] local.INFO: Acknowledgment sent {"connection_id":157374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:42:00] local.INFO: TCP Data received {"connection_id":157754,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:42:00] local.INFO: Processing buffer {"connection_id":157754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:42:00] local.INFO: IMEI packet received {"connection_id":157754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":157754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:42:02] local.INFO: TCP Data received {"connection_id":157375,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c93750012d7d960005e20040000b011026..."} 
[2026-08-19 07:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c93750012d7d960005e20040000b011026..."} 
[2026-08-19 07:42:02] local.INFO: Processing buffer {"connection_id":157375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c93750012d7d960005e20040000b011026..."} 
[2026-08-19 07:42:02] local.INFO: Packet analysis {"connection_id":157375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c9"} 
[2026-08-19 07:42:02] local.INFO: Extracted packet for processing {"connection_id":157375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c9"} 
[2026-08-19 07:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763205120,"raw_latitude":98697280,"longitude_deg":76.320512,"latitude_deg":9.869728,"altitude":11,"angle":272,"satellites":38,"speed":19,"hex_longitude":"2d7d9600","hex_latitude":"05e20040","is_valid_coordinates":true} 
[2026-08-19 07:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498994432001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120592085987360768,"note":"Value kept but may cause issues"} 
[2026-08-19 07:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9059553625675386880,"note":"Value kept but may cause issues"} 
[2026-08-19 07:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787105458000,"timestamp_ms":1787105458000,"timestamp_seconds":1787105458,"priority":1,"record_length":96,"hex_timestamp":"000001a017c93750"} 
[2026-08-19 07:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-19 07:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":157375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":157375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":157375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:42:02] 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-08-19 07:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498994432001,"66":13178,"61":206,"85":15104,"24":19,"16":120592085987360768,"45":9059553625675386880},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-19 07:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498994432001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:42:02] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-19 07:42:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120592085987360768,"km_value":120592085987360.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9059553625675386880,"description":"Unknown IO ID 45"} 
[2026-08-19 07:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498994432001,"power":13178,"unknown_61":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9059553625675386880}} 
[2026-08-19 07:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":157375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:42:02] local.INFO: GPS data processed {"connection_id":157375,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:42:02] local.INFO: Acknowledgment sent {"connection_id":157375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:42:05] local.INFO: TCP Data received {"connection_id":157754,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:42:05] local.INFO: Processing buffer {"connection_id":157754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:42:05] local.INFO: IMEI packet received {"connection_id":157754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":157754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:42:06] local.INFO: TCP Data received {"connection_id":157754,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:42:06] local.INFO: Processing buffer {"connection_id":157754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:42:06] local.INFO: Packet analysis {"connection_id":157754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:42:06] local.INFO: Extracted packet for processing {"connection_id":157754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:42:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":14,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498883328001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787105314000,"timestamp_ms":1787105314000,"timestamp_seconds":1787105314,"priority":1,"record_length":96,"hex_timestamp":"000001a017c704d0"} 
[2026-08-19 07:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 07:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498883328001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498883328001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:42:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:42:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498883328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":157754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:42:06] local.INFO: GPS data processed {"connection_id":157754,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:42:06] local.INFO: Acknowledgment sent {"connection_id":157754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:42:20] local.INFO: TCP Data received {"connection_id":158640,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:42:20] local.INFO: Processing buffer {"connection_id":158640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:42:20] local.INFO: IMEI packet received {"connection_id":158640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":158640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:42:25] local.INFO: TCP Data received {"connection_id":158640,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:42:25] local.INFO: Processing buffer {"connection_id":158640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:42:25] local.INFO: IMEI packet received {"connection_id":158640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":158640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:42:26] local.INFO: TCP Data received {"connection_id":158640,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c975d0012d7d70c005e203c0000c011527..."} 
[2026-08-19 07:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c975d0012d7d70c005e203c0000c011527..."} 
[2026-08-19 07:42:26] local.INFO: Processing buffer {"connection_id":158640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c975d0012d7d70c005e203c0000c011527..."} 
[2026-08-19 07:42:26] local.INFO: Packet analysis {"connection_id":158640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c9"} 
[2026-08-19 07:42:26] local.INFO: Extracted packet for processing {"connection_id":158640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c9"} 
[2026-08-19 07:42:26] local.INFO: GPS Element Parsed {"raw_longitude":763195584,"raw_latitude":98698176,"longitude_deg":76.3195584,"latitude_deg":9.8698176,"altitude":12,"angle":277,"satellites":39,"speed":30,"hex_longitude":"2d7d70c0","hex_latitude":"05e203c0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 07:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498997248001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120592545548861440,"note":"Value kept but may cause issues"} 
[2026-08-19 07:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9049420526514094080,"note":"Value kept but may cause issues"} 
[2026-08-19 07:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787105474000,"timestamp_ms":1787105474000,"timestamp_seconds":1787105474,"priority":1,"record_length":96,"hex_timestamp":"000001a017c975d0"} 
[2026-08-19 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-08-19 07:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-19 07:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 07:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:42:26] 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-08-19 07:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498997248001,"66":13178,"61":206,"85":15104,"24":30,"16":120592545548861440,"45":9049420526514094080},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-19 07:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498997248001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:42:26] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-19 07:42:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120592545548861440,"km_value":120592545548861.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9049420526514094080,"description":"Unknown IO ID 45"} 
[2026-08-19 07:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498997248001,"power":13178,"unknown_61":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9049420526514094080}} 
[2026-08-19 07:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":158640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:42:26] local.INFO: GPS data processed {"connection_id":158640,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:42:26] local.INFO: Acknowledgment sent {"connection_id":158640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:42:37] local.INFO: TCP Data received {"connection_id":157754,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:42:37] local.INFO: Processing buffer {"connection_id":157754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:42:37] local.INFO: Packet analysis {"connection_id":157754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:42:37] local.INFO: Extracted packet for processing {"connection_id":157754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":14,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498883328001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787105314000,"timestamp_ms":1787105314000,"timestamp_seconds":1787105314,"priority":1,"record_length":96,"hex_timestamp":"000001a017c704d0"} 
[2026-08-19 07:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 07:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:42:37] 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-08-19 07:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498883328001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498883328001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498883328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":157754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:42:37] local.INFO: GPS data processed {"connection_id":157754,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:42:37] local.INFO: Acknowledgment sent {"connection_id":157754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:42:57] local.INFO: TCP Data received {"connection_id":158640,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017c9a0c8012d7d4ac005e205b8000c011227..."} 
[2026-08-19 07:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c9a0c8012d7d4ac005e205b8000c011227..."} 
[2026-08-19 07:42:57] local.INFO: Processing buffer {"connection_id":158640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c9a0c8012d7d4ac005e205b8000c011227..."} 
[2026-08-19 07:42:57] local.INFO: Packet analysis {"connection_id":158640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c9"} 
[2026-08-19 07:42:57] local.INFO: Extracted packet for processing {"connection_id":158640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c9"} 
[2026-08-19 07:42:57] local.INFO: GPS Element Parsed {"raw_longitude":763185856,"raw_latitude":98698680,"longitude_deg":76.3185856,"latitude_deg":9.869868,"altitude":12,"angle":274,"satellites":39,"speed":31,"hex_longitude":"2d7d4ac0","hex_latitude":"05e205b8","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499001344001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120593005110362112,"note":"Value kept but may cause issues"} 
[2026-08-19 07:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9038935583631851520,"note":"Value kept but may cause issues"} 
[2026-08-19 07:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787105485000,"timestamp_ms":1787105485000,"timestamp_seconds":1787105485,"priority":1,"record_length":96,"hex_timestamp":"000001a017c9a0c8"} 
[2026-08-19 07:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-19 07:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":158640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":158640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":158640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:42:57] 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-08-19 07:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499001344001,"66":12885,"61":206,"85":15104,"24":31,"16":120593005110362112,"45":9038935583631851520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-19 07:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499001344001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:42:57] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-19 07:42:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120593005110362112,"km_value":120593005110362.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9038935583631851520,"description":"Unknown IO ID 45"} 
[2026-08-19 07:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499001344001,"power":12885,"unknown_61":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9038935583631851520}} 
[2026-08-19 07:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":158640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:42:57] local.INFO: GPS data processed {"connection_id":158640,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:42:57] local.INFO: Acknowledgment sent {"connection_id":158640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:43:00] local.INFO: TCP Data received {"connection_id":157755,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:43:00] local.INFO: Processing buffer {"connection_id":157755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:43:00] local.INFO: IMEI packet received {"connection_id":157755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":157755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:43:05] local.INFO: TCP Data received {"connection_id":157755,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:43:05] local.INFO: Processing buffer {"connection_id":157755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:43:05] local.INFO: IMEI packet received {"connection_id":157755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":157755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:43:06] local.INFO: TCP Data received {"connection_id":157755,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:43:06] local.INFO: Processing buffer {"connection_id":157755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:43:06] local.INFO: Packet analysis {"connection_id":157755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:43:06] local.INFO: Extracted packet for processing {"connection_id":157755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:43:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":14,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498883328001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787105314000,"timestamp_ms":1787105314000,"timestamp_seconds":1787105314,"priority":1,"record_length":96,"hex_timestamp":"000001a017c704d0"} 
[2026-08-19 07:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 07:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498883328001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498883328001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:43:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:43:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498883328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":157755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:43:06] local.INFO: GPS data processed {"connection_id":157755,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:43:06] local.INFO: Acknowledgment sent {"connection_id":157755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:43:20] local.INFO: TCP Data received {"connection_id":157376,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:43:20] local.INFO: Processing buffer {"connection_id":157376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:43:20] local.INFO: IMEI packet received {"connection_id":157376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":157376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:43:25] local.INFO: TCP Data received {"connection_id":157376,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:43:25] local.INFO: Processing buffer {"connection_id":157376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:43:25] local.INFO: IMEI packet received {"connection_id":157376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":157376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:43:27] local.INFO: TCP Data received {"connection_id":157376,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017cb0c10012d7c5d4005e20e40000400d727..."} 
[2026-08-19 07:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cb0c10012d7c5d4005e20e40000400d727..."} 
[2026-08-19 07:43:27] local.INFO: Processing buffer {"connection_id":157376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cb0c10012d7c5d4005e20e40000400d727..."} 
[2026-08-19 07:43:27] local.INFO: Packet analysis {"connection_id":157376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:43:27] local.INFO: Extracted packet for processing {"connection_id":157376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763125056,"raw_latitude":98700864,"longitude_deg":76.3125056,"latitude_deg":9.8700864,"altitude":4,"angle":215,"satellites":39,"speed":12,"hex_longitude":"2d7c5d40","hex_latitude":"05e20e40","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499027456001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120595960047861760,"note":"Value kept but may cause issues"} 
[2026-08-19 07:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961741071269756928,"note":"Value kept but may cause issues"} 
[2026-08-19 07:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787105578000,"timestamp_ms":1787105578000,"timestamp_seconds":1787105578,"priority":1,"record_length":96,"hex_timestamp":"000001a017cb0c10"} 
[2026-08-19 07:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-19 07:43:27] 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-08-19 07: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-08-19 07:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:43:27] 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-08-19 07:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499027456001,"66":13298,"61":206,"85":15104,"24":12,"16":120595960047861760,"45":8961741071269756928},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-19 07:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499027456001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:43:27] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-19 07:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120595960047861760,"km_value":120595960047861.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961741071269756928,"description":"Unknown IO ID 45"} 
[2026-08-19 07:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499027456001,"power":13298,"unknown_61":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8961741071269756928}} 
[2026-08-19 07:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":157376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:43:27] local.INFO: GPS data processed {"connection_id":157376,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:43:27] local.INFO: Acknowledgment sent {"connection_id":157376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:43:38] local.INFO: TCP Data received {"connection_id":157755,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:43:38] local.INFO: Processing buffer {"connection_id":157755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:43:38] local.INFO: Packet analysis {"connection_id":157755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:43:38] local.INFO: Extracted packet for processing {"connection_id":157755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":14,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498883328001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787105314000,"timestamp_ms":1787105314000,"timestamp_seconds":1787105314,"priority":1,"record_length":96,"hex_timestamp":"000001a017c704d0"} 
[2026-08-19 07:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 07:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:43:38] 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-08-19 07:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498883328001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498883328001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:43:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498883328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":157755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:43:38] local.INFO: GPS data processed {"connection_id":157755,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:43:38] local.INFO: Acknowledgment sent {"connection_id":157755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:43:58] local.INFO: TCP Data received {"connection_id":157376,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017cb13e0012d7c5c4005e20be0000400c828..."} 
[2026-08-19 07:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cb13e0012d7c5c4005e20be0000400c828..."} 
[2026-08-19 07:43:58] local.INFO: Processing buffer {"connection_id":157376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cb13e0012d7c5c4005e20be0000400c828..."} 
[2026-08-19 07:43:58] local.INFO: Packet analysis {"connection_id":157376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:43:58] local.INFO: Extracted packet for processing {"connection_id":157376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763124800,"raw_latitude":98700256,"longitude_deg":76.31248,"latitude_deg":9.8700256,"altitude":4,"angle":200,"satellites":40,"speed":13,"hex_longitude":"2d7c5c40","hex_latitude":"05e20be0","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499027968001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120595994407600128,"note":"Value kept but may cause issues"} 
[2026-08-19 07:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961389227548753920,"note":"Value kept but may cause issues"} 
[2026-08-19 07:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787105580000,"timestamp_ms":1787105580000,"timestamp_seconds":1787105580,"priority":1,"record_length":96,"hex_timestamp":"000001a017cb13e0"} 
[2026-08-19 07:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-19 07:43:58] 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-08-19 07: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-08-19 07:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:43:58] 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-08-19 07:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499027968001,"66":13135,"61":206,"85":15104,"24":13,"16":120595994407600128,"45":8961389227548753920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-19 07:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499027968001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:43:58] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-19 07:43:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120595994407600128,"km_value":120595994407600.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961389227548753920,"description":"Unknown IO ID 45"} 
[2026-08-19 07:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499027968001,"power":13135,"unknown_61":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8961389227548753920}} 
[2026-08-19 07:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":157376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:43:58] local.INFO: GPS data processed {"connection_id":157376,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:43:58] local.INFO: Acknowledgment sent {"connection_id":157376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:44:00] local.INFO: TCP Data received {"connection_id":158641,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:44:00] local.INFO: Processing buffer {"connection_id":158641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:44:00] local.INFO: IMEI packet received {"connection_id":158641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":158641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:44:05] local.INFO: TCP Data received {"connection_id":158641,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:44:05] local.INFO: Processing buffer {"connection_id":158641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:44:05] local.INFO: IMEI packet received {"connection_id":158641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":158641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:44:06] local.INFO: TCP Data received {"connection_id":158641,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:44:06] local.INFO: Processing buffer {"connection_id":158641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017c704d0012d34c50006aa4078000e005929..."} 
[2026-08-19 07:44:06] local.INFO: Packet analysis {"connection_id":158641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:44:06] local.INFO: Extracted packet for processing {"connection_id":158641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017c7"} 
[2026-08-19 07:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":14,"angle":89,"satellites":41,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498883328001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787105314000,"timestamp_ms":1787105314000,"timestamp_seconds":1787105314,"priority":1,"record_length":96,"hex_timestamp":"000001a017c704d0"} 
[2026-08-19 07:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 07:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498883328001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498883328001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498883328001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":158641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:44:06] local.INFO: GPS data processed {"connection_id":158641,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:44:06] local.INFO: Acknowledgment sent {"connection_id":158641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:44:23] local.INFO: TCP Data received {"connection_id":158642,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:44:23] local.INFO: Processing buffer {"connection_id":158642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:44:23] local.INFO: IMEI packet received {"connection_id":158642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":158642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:44:25] local.INFO: TCP Data received {"connection_id":158642,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:44:25] local.INFO: Processing buffer {"connection_id":158642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:44:25] local.INFO: IMEI packet received {"connection_id":158642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":158642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:44:26] local.INFO: TCP Data received {"connection_id":158642,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017cb3708012d7c56c005e20198000300d629..."} 
[2026-08-19 07:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cb3708012d7c56c005e20198000300d629..."} 
[2026-08-19 07:44:26] local.INFO: Processing buffer {"connection_id":158642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cb3708012d7c56c005e20198000300d629..."} 
[2026-08-19 07:44:26] local.INFO: Packet analysis {"connection_id":158642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:44:26] local.INFO: Extracted packet for processing {"connection_id":158642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:44:26] local.INFO: GPS Element Parsed {"raw_longitude":763123392,"raw_latitude":98697624,"longitude_deg":76.3123392,"latitude_deg":9.8697624,"altitude":3,"angle":214,"satellites":41,"speed":17,"hex_longitude":"2d7c56c0","hex_latitude":"05e20198","is_valid_coordinates":true} 
[2026-08-19 07:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499028480001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120596136141520896,"note":"Value kept but may cause issues"} 
[2026-08-19 07:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961107752571887616,"note":"Value kept but may cause issues"} 
[2026-08-19 07:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787105589000,"timestamp_ms":1787105589000,"timestamp_seconds":1787105589,"priority":1,"record_length":96,"hex_timestamp":"000001a017cb3708"} 
[2026-08-19 07:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 07:44:26] 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-08-19 07:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":158642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":158642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":158642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:44:27] 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-08-19 07:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499028480001,"66":13276,"61":206,"85":15104,"24":17,"16":120596136141520896,"45":8961107752571887616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-19 07:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499028480001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:44:27] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-19 07:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120596136141520896,"km_value":120596136141520.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961107752571887616,"description":"Unknown IO ID 45"} 
[2026-08-19 07:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499028480001,"power":13276,"unknown_61":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8961107752571887616}} 
[2026-08-19 07:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":158642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:44:27] local.INFO: GPS data processed {"connection_id":158642,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:44:27] local.INFO: Acknowledgment sent {"connection_id":158642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:44:31] local.INFO: TCP Data received {"connection_id":158642,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017cb4a90012d7c528005e1fb68000300e328..."} 
[2026-08-19 07:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cb4a90012d7c528005e1fb68000300e328..."} 
[2026-08-19 07:44:31] local.INFO: Processing buffer {"connection_id":158642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cb4a90012d7c528005e1fb68000300e328..."} 
[2026-08-19 07:44:31] local.INFO: Packet analysis {"connection_id":158642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:44:31] local.INFO: Extracted packet for processing {"connection_id":158642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763122304,"raw_latitude":98696040,"longitude_deg":76.3122304,"latitude_deg":9.869604,"altitude":3,"angle":227,"satellites":40,"speed":11,"hex_longitude":"2d7c5280","hex_latitude":"05e1fb68","is_valid_coordinates":true} 
[2026-08-19 07:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499030784001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120596230630801408,"note":"Value kept but may cause issues"} 
[2026-08-19 07:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959559640199305216,"note":"Value kept but may cause issues"} 
[2026-08-19 07:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787105594000,"timestamp_ms":1787105594000,"timestamp_seconds":1787105594,"priority":1,"record_length":96,"hex_timestamp":"000001a017cb4a90"} 
[2026-08-19 07:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:44:31] 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-08-19 07:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-19 07:44:31] 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-08-19 07:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":158642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":158642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":158642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:44:31] 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-08-19 07:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499030784001,"66":13254,"61":206,"85":15104,"24":11,"16":120596230630801408,"45":8959559640199305216},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-19 07:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499030784001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:44:32] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-19 07:44:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120596230630801408,"km_value":120596230630801.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959559640199305216,"description":"Unknown IO ID 45"} 
[2026-08-19 07:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499030784001,"power":13254,"unknown_61":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8959559640199305216}} 
[2026-08-19 07:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":158642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:44:32] local.INFO: GPS data processed {"connection_id":158642,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:44:32] local.INFO: Acknowledgment sent {"connection_id":158642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:44:37] local.INFO: TCP Data received {"connection_id":158641,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:44:37] local.INFO: Processing buffer {"connection_id":158641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:44:37] local.INFO: Packet analysis {"connection_id":158641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:44:37] local.INFO: Extracted packet for processing {"connection_id":158641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498960384001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787105615000,"timestamp_ms":1787105615000,"timestamp_seconds":1787105615,"priority":1,"record_length":96,"hex_timestamp":"000001a017cb9c98"} 
[2026-08-19 07:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498960384001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498960384001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:44:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498960384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":158641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:44:37] local.INFO: GPS data processed {"connection_id":158641,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:44:37] local.INFO: Acknowledgment sent {"connection_id":158641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:45:00] local.INFO: TCP Data received {"connection_id":157377,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:45:00] local.INFO: Processing buffer {"connection_id":157377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:45:00] local.INFO: IMEI packet received {"connection_id":157377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":157377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:45:03] local.INFO: TCP Data received {"connection_id":158642,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017ccc578012d7bd2c005e1dc18000701002a..."} 
[2026-08-19 07:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ccc578012d7bd2c005e1dc18000701002a..."} 
[2026-08-19 07:45:03] local.INFO: Processing buffer {"connection_id":158642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ccc578012d7bd2c005e1dc18000701002a..."} 
[2026-08-19 07:45:03] local.INFO: Packet analysis {"connection_id":158642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cc"} 
[2026-08-19 07:45:03] local.INFO: Extracted packet for processing {"connection_id":158642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cc"} 
[2026-08-19 07:45:03] local.INFO: GPS Element Parsed {"raw_longitude":763089600,"raw_latitude":98688024,"longitude_deg":76.30896,"latitude_deg":9.8688024,"altitude":7,"angle":256,"satellites":42,"speed":17,"hex_longitude":"2d7bd2c0","hex_latitude":"05e1dc18","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499056384001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120597974387523584,"note":"Value kept but may cause issues"} 
[2026-08-19 07:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923390105689567232,"note":"Value kept but may cause issues"} 
[2026-08-19 07:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787105691000,"timestamp_ms":1787105691000,"timestamp_seconds":1787105691,"priority":1,"record_length":96,"hex_timestamp":"000001a017ccc578"} 
[2026-08-19 07:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:45: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-08-19 07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 07:45:03] 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-08-19 07: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-08-19 07:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":158642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":158642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":158642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:45:03] 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-08-19 07:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499056384001,"66":12917,"216":206,"85":15104,"24":17,"16":120597974387523584,"45":8923390105689567232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-19 07:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499056384001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:45:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-19 07:45:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120597974387523584,"km_value":120597974387523.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923390105689567232,"description":"Unknown IO ID 45"} 
[2026-08-19 07:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499056384001,"power":12917,"unknown_216":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8923390105689567232}} 
[2026-08-19 07:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":158642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:45:03] local.INFO: GPS data processed {"connection_id":158642,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:45:03] local.INFO: Acknowledgment sent {"connection_id":158642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:45:05] local.INFO: TCP Data received {"connection_id":157377,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:45:05] local.INFO: Processing buffer {"connection_id":157377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:45:05] local.INFO: IMEI packet received {"connection_id":157377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":157377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:45:20] local.INFO: TCP Data received {"connection_id":158643,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:45:20] local.INFO: Processing buffer {"connection_id":158643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:45:20] local.INFO: IMEI packet received {"connection_id":158643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":158643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:45:23] local.INFO: TCP Data received {"connection_id":158643,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:45:23] local.INFO: Processing buffer {"connection_id":158643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:45:23] local.INFO: IMEI packet received {"connection_id":158643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":158643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:45:23] local.INFO: TCP Data received {"connection_id":158643,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:45:23] local.INFO: Processing buffer {"connection_id":158643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:45:23] local.INFO: IMEI packet received {"connection_id":158643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":158643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:45:24] local.INFO: TCP Data received {"connection_id":158643,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:45:24] local.INFO: Processing buffer {"connection_id":158643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:45:24] local.INFO: IMEI packet received {"connection_id":158643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":158643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:45:25] local.INFO: TCP Data received {"connection_id":158643,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017ccc960012d7bd10005e1db70000700f22a..."} 
[2026-08-19 07:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ccc960012d7bd10005e1db70000700f22a..."} 
[2026-08-19 07:45:25] local.INFO: Processing buffer {"connection_id":158643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ccc960012d7bd10005e1db70000700f22a..."} 
[2026-08-19 07:45:25] local.INFO: Packet analysis {"connection_id":158643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cc"} 
[2026-08-19 07:45:25] local.INFO: Extracted packet for processing {"connection_id":158643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cc"} 
[2026-08-19 07:45:25] local.INFO: GPS Element Parsed {"raw_longitude":763089152,"raw_latitude":98687856,"longitude_deg":76.3089152,"latitude_deg":9.8687856,"altitude":7,"angle":242,"satellites":42,"speed":16,"hex_longitude":"2d7bd100","hex_latitude":"05e1db70","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499056896001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120597995862360064,"note":"Value kept but may cause issues"} 
[2026-08-19 07:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922404943271041024,"note":"Value kept but may cause issues"} 
[2026-08-19 07:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787105692000,"timestamp_ms":1787105692000,"timestamp_seconds":1787105692,"priority":1,"record_length":96,"hex_timestamp":"000001a017ccc960"} 
[2026-08-19 07:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:45:25] 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-08-19 07: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 07:45:25] 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-08-19 07: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-08-19 07:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":158643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":158643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":158643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:45:25] 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-08-19 07:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499056896001,"66":12917,"216":206,"85":15104,"24":16,"16":120597995862360064,"45":8922404943271041024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-19 07:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499056896001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:45:25] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-19 07:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120597995862360064,"km_value":120597995862360.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922404943271041024,"description":"Unknown IO ID 45"} 
[2026-08-19 07:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499056896001,"power":12917,"unknown_216":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8922404943271041024}} 
[2026-08-19 07:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":158643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:45:25] local.INFO: GPS data processed {"connection_id":158643,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:45:25] local.INFO: Acknowledgment sent {"connection_id":158643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:45:44] local.INFO: TCP Data received {"connection_id":157377,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:45:44] local.INFO: Processing buffer {"connection_id":157377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:45:44] local.INFO: Packet analysis {"connection_id":157377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:45:44] local.INFO: Extracted packet for processing {"connection_id":157377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498960384001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787105615000,"timestamp_ms":1787105615000,"timestamp_seconds":1787105615,"priority":1,"record_length":96,"hex_timestamp":"000001a017cb9c98"} 
[2026-08-19 07:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:45: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-08-19 07: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-08-19 07:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498960384001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498960384001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498960384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":157377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:45:44] local.INFO: GPS data processed {"connection_id":157377,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:45:44] local.INFO: Acknowledgment sent {"connection_id":157377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:45:56] local.INFO: TCP Data received {"connection_id":158643,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017ccd518012d7bcdc005e1d8f0000500e12a..."} 
[2026-08-19 07:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ccd518012d7bcdc005e1d8f0000500e12a..."} 
[2026-08-19 07:45:56] local.INFO: Processing buffer {"connection_id":158643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ccd518012d7bcdc005e1d8f0000500e12a..."} 
[2026-08-19 07:45:56] local.INFO: Packet analysis {"connection_id":158643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cc"} 
[2026-08-19 07:45:56] local.INFO: Extracted packet for processing {"connection_id":158643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cc"} 
[2026-08-19 07:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763088320,"raw_latitude":98687216,"longitude_deg":76.308832,"latitude_deg":9.8687216,"altitude":5,"angle":225,"satellites":42,"speed":8,"hex_longitude":"2d7bcdc0","hex_latitude":"05e1d8f0","is_valid_coordinates":true} 
[2026-08-19 07:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499057152001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120598047401967616,"note":"Value kept but may cause issues"} 
[2026-08-19 07:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921912362061754368,"note":"Value kept but may cause issues"} 
[2026-08-19 07:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787105695000,"timestamp_ms":1787105695000,"timestamp_seconds":1787105695,"priority":1,"record_length":96,"hex_timestamp":"000001a017ccd518"} 
[2026-08-19 07:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:45:56] 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-08-19 07:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 07:45: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-08-19 07:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":158643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":158643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":158643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:45:56] 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-08-19 07:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499057152001,"66":13102,"216":206,"85":15104,"24":8,"16":120598047401967616,"45":8921912362061754368},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-19 07:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499057152001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:45:56] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-19 07:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120598047401967616,"km_value":120598047401967.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921912362061754368,"description":"Unknown IO ID 45"} 
[2026-08-19 07:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499057152001,"power":13102,"unknown_216":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8921912362061754368}} 
[2026-08-19 07:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":158643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:45:56] local.INFO: GPS data processed {"connection_id":158643,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:45:56] local.INFO: Acknowledgment sent {"connection_id":158643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:46:00] local.INFO: TCP Data received {"connection_id":159928,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:46:00] local.INFO: Processing buffer {"connection_id":159928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:46:00] local.INFO: IMEI packet received {"connection_id":159928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":159928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:46:05] local.INFO: TCP Data received {"connection_id":159928,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:46:05] local.INFO: Processing buffer {"connection_id":159928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:46:05] local.INFO: IMEI packet received {"connection_id":159928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":159928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:46:06] local.INFO: TCP Data received {"connection_id":159928,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:46:06] local.INFO: Processing buffer {"connection_id":159928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:46:06] local.INFO: Packet analysis {"connection_id":159928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:46:06] local.INFO: Extracted packet for processing {"connection_id":159928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498960384001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787105615000,"timestamp_ms":1787105615000,"timestamp_seconds":1787105615,"priority":1,"record_length":96,"hex_timestamp":"000001a017cb9c98"} 
[2026-08-19 07:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498960384001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498960384001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:46:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498960384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":159928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:46:06] local.INFO: GPS data processed {"connection_id":159928,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:46:06] local.INFO: Acknowledgment sent {"connection_id":159928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:46:20] local.INFO: TCP Data received {"connection_id":157756,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:46:20] local.INFO: Processing buffer {"connection_id":157756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:46:20] local.INFO: IMEI packet received {"connection_id":157756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":157756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:46:25] local.INFO: TCP Data received {"connection_id":157756,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:46:25] local.INFO: Processing buffer {"connection_id":157756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:46:25] local.INFO: IMEI packet received {"connection_id":157756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":157756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:46:26] local.INFO: TCP Data received {"connection_id":157756,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017cde688012d7b3fc005e1aa58000b00c726..."} 
[2026-08-19 07:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cde688012d7b3fc005e1aa58000b00c726..."} 
[2026-08-19 07:46:26] local.INFO: Processing buffer {"connection_id":157756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cde688012d7b3fc005e1aa58000b00c726..."} 
[2026-08-19 07:46:26] local.INFO: Packet analysis {"connection_id":157756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cd"} 
[2026-08-19 07:46:26] local.INFO: Extracted packet for processing {"connection_id":157756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cd"} 
[2026-08-19 07:46:26] local.INFO: GPS Element Parsed {"raw_longitude":763051968,"raw_latitude":98675288,"longitude_deg":76.3051968,"latitude_deg":9.8675288,"altitude":11,"angle":199,"satellites":38,"speed":12,"hex_longitude":"2d7b3fc0","hex_latitude":"05e1aa58","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499075584001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881239227923922944,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120599937187577856,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:26] 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-08-19 07:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787105765000,"timestamp_ms":1787105765000,"timestamp_seconds":1787105765,"priority":1,"record_length":96,"hex_timestamp":"000001a017cde688"} 
[2026-08-19 07:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 07:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861262,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":58077557095399456,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:26] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:26] local.WARNING: Large IO value detected {"io_id":23,"raw_value":3447781377,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:26] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3044016134,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-08-19 07:46:26] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2281778555,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3787370496,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:26] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,45,85,24,241,157,16,116,160,222,172,10,38,66,218,128,173,187,64,1,240,117,227,23,225,4,113,205,25,105,135,104,37,239,52,2,5,6,32],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-08-19 07:46:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792866794091708416,"timestamp_seconds":792866794091708.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 07:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:46:26] 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-08-19 07:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499075584001,"66":13319,"45":8881239227923922944,"85":15104,"24":12,"16":120599937187577856},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-19 07:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499075584001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881239227923922944,"description":"Unknown IO ID 45"} 
[2026-08-19 07:46:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120599937187577856,"km_value":120599937187577.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:46:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457499075584001,"power":13319,"unknown_45":8881239227923922944,"unknown_85":15104,"ignition":12,"odometer":null}} 
[2026-08-19 07:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":157756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:46:26] local.INFO: GPS data processed {"connection_id":157756,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:46:26] local.INFO: Acknowledgment sent {"connection_id":157756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:46:38] local.INFO: TCP Data received {"connection_id":159928,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:46:38] local.INFO: Processing buffer {"connection_id":159928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:46:38] local.INFO: Packet analysis {"connection_id":159928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:46:38] local.INFO: Extracted packet for processing {"connection_id":159928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498960384001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787105615000,"timestamp_ms":1787105615000,"timestamp_seconds":1787105615,"priority":1,"record_length":96,"hex_timestamp":"000001a017cb9c98"} 
[2026-08-19 07:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:46:38] 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-08-19 07:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498960384001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498960384001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498960384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":159928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:46:38] local.INFO: GPS data processed {"connection_id":159928,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:46:38] local.INFO: Acknowledgment sent {"connection_id":159928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:46:57] local.INFO: TCP Data received {"connection_id":157756,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017cdea70012d7b3fc005e1a8f8000c00b726..."} 
[2026-08-19 07:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cdea70012d7b3fc005e1a8f8000c00b726..."} 
[2026-08-19 07:46:57] local.INFO: Processing buffer {"connection_id":157756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cdea70012d7b3fc005e1a8f8000c00b726..."} 
[2026-08-19 07:46:57] local.INFO: Packet analysis {"connection_id":157756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cd"} 
[2026-08-19 07:46:57] local.INFO: Extracted packet for processing {"connection_id":157756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cd"} 
[2026-08-19 07:46:57] local.INFO: GPS Element Parsed {"raw_longitude":763051968,"raw_latitude":98674936,"longitude_deg":76.3051968,"latitude_deg":9.8674936,"altitude":12,"angle":183,"satellites":38,"speed":14,"hex_longitude":"2d7b3fc0","hex_latitude":"05e1a8f8","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499075840001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881028121691314176,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120599954367447040,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:57] 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-08-19 07:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787105766000,"timestamp_ms":1787105766000,"timestamp_seconds":1787105766,"priority":1,"record_length":96,"hex_timestamp":"000001a017cdea70"} 
[2026-08-19 07:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07: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-08-19 07:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 07:46:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":4160826747,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:57] local.WARNING: Large IO value detected {"io_id":116,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:57] local.WARNING: Large IO value detected {"io_id":23,"raw_value":3451621377,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:57] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-4706261584815184384,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4789579498568138757,"corrected_to":0} 
[2026-08-19 07:46:57] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2147869109,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:57] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-08-19 07:46:57] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,45,85,24,241,157,16,117,160,226,128,171,11,38,10,66,116,222,172,218,1,240,63,227,23,225,4,113,205,27,119,112,37,239,52,2,5,28,62],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":4789579498568138757,"validated":0}]} 
[2026-08-19 07:46:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792852500440678400,"timestamp_seconds":792852500440678.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 07:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:46:57] 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-08-19 07:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499075840001,"66":13319,"45":8881028121691314176,"85":15104,"24":14,"16":120599954367447040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-19 07:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499075840001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881028121691314176,"description":"Unknown IO ID 45"} 
[2026-08-19 07:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120599954367447040,"km_value":120599954367447.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:46:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457499075840001,"power":13319,"unknown_45":8881028121691314176,"unknown_85":15104,"ignition":14,"odometer":null}} 
[2026-08-19 07:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":157756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:46:57] local.INFO: GPS data processed {"connection_id":157756,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:46:57] local.INFO: Acknowledgment sent {"connection_id":157756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:47:00] local.INFO: TCP Data received {"connection_id":157378,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:47:00] local.INFO: Processing buffer {"connection_id":157378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:47:00] local.INFO: IMEI packet received {"connection_id":157378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":157378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:47:05] local.INFO: TCP Data received {"connection_id":157378,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:47:05] local.INFO: Processing buffer {"connection_id":157378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:47:05] local.INFO: IMEI packet received {"connection_id":157378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":157378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:47:06] local.INFO: TCP Data received {"connection_id":157378,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:47:06] local.INFO: Processing buffer {"connection_id":157378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:47:06] local.INFO: Packet analysis {"connection_id":157378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:47:06] local.INFO: Extracted packet for processing {"connection_id":157378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:47:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498960384001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787105615000,"timestamp_ms":1787105615000,"timestamp_seconds":1787105615,"priority":1,"record_length":96,"hex_timestamp":"000001a017cb9c98"} 
[2026-08-19 07:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498960384001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498960384001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:47:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:47:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498960384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":157378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:47:06] local.INFO: GPS data processed {"connection_id":157378,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:47:06] local.INFO: Acknowledgment sent {"connection_id":157378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:47:26] local.INFO: TCP Data received {"connection_id":159929,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:47:26] local.INFO: Processing buffer {"connection_id":159929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:47:26] local.INFO: IMEI packet received {"connection_id":159929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":159929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:47:26] local.INFO: TCP Data received {"connection_id":159929,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:47:26] local.INFO: Processing buffer {"connection_id":159929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:47:26] local.INFO: IMEI packet received {"connection_id":159929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":159929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:47:30] local.INFO: TCP Data received {"connection_id":159929,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:47:30] local.INFO: Processing buffer {"connection_id":159929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:47:30] local.INFO: IMEI packet received {"connection_id":159929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":159929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:47:31] local.INFO: TCP Data received {"connection_id":159929,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017cedca0012d7b470005e15f300008012d23..."} 
[2026-08-19 07:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cedca0012d7b470005e15f300008012d23..."} 
[2026-08-19 07:47:31] local.INFO: Processing buffer {"connection_id":159929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cedca0012d7b470005e15f300008012d23..."} 
[2026-08-19 07:47:31] local.INFO: Packet analysis {"connection_id":159929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ce"} 
[2026-08-19 07:47:31] local.INFO: Extracted packet for processing {"connection_id":159929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ce"} 
[2026-08-19 07:47:31] local.INFO: GPS Element Parsed {"raw_longitude":763053824,"raw_latitude":98656048,"longitude_deg":76.3053824,"latitude_deg":9.8656048,"altitude":8,"angle":301,"satellites":35,"speed":6,"hex_longitude":"2d7b4700","hex_latitude":"05e15f30","is_valid_coordinates":true} 
[2026-08-19 07:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499091712001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883279921500055552,"note":"Value kept but may cause issues"} 
[2026-08-19 07:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120600937914957824,"note":"Value kept but may cause issues"} 
[2026-08-19 07:47:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 07:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787105828000,"timestamp_ms":1787105828000,"timestamp_seconds":1787105828,"priority":1,"record_length":96,"hex_timestamp":"000001a017cedca0"} 
[2026-08-19 07:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:47:31] 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-08-19 07:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 07:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:47:31] 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-08-19 07:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499091712001,"66":13243,"45":8883279921500055552,"85":15104,"24":6,"16":120600937914957824},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-19 07:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499091712001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883279921500055552,"description":"Unknown IO ID 45"} 
[2026-08-19 07:47:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120600937914957824,"km_value":120600937914957.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:47:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457499091712001,"power":13243,"unknown_45":8883279921500055552,"unknown_85":15104,"ignition":6,"odometer":null}} 
[2026-08-19 07:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":159929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:47:31] local.INFO: GPS data processed {"connection_id":159929,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:47:31] local.INFO: Acknowledgment sent {"connection_id":159929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:47:34] local.INFO: TCP Data received {"connection_id":159929,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017cee088012d7b468005e15fc80008014424..."} 
[2026-08-19 07:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cee088012d7b468005e15fc80008014424..."} 
[2026-08-19 07:47:34] local.INFO: Processing buffer {"connection_id":159929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cee088012d7b468005e15fc80008014424..."} 
[2026-08-19 07:47:34] local.INFO: Packet analysis {"connection_id":159929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ce"} 
[2026-08-19 07:47:34] local.INFO: Extracted packet for processing {"connection_id":159929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ce"} 
[2026-08-19 07:47:34] local.INFO: GPS Element Parsed {"raw_longitude":763053696,"raw_latitude":98656200,"longitude_deg":76.3053696,"latitude_deg":9.86562,"altitude":8,"angle":324,"satellites":36,"speed":10,"hex_longitude":"2d7b4680","hex_latitude":"05e15fc8","is_valid_coordinates":true} 
[2026-08-19 07:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499091968001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883068815267540992,"note":"Value kept but may cause issues"} 
[2026-08-19 07:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120600950799859712,"note":"Value kept but may cause issues"} 
[2026-08-19 07:47:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 07:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787105829000,"timestamp_ms":1787105829000,"timestamp_seconds":1787105829,"priority":1,"record_length":96,"hex_timestamp":"000001a017cee088"} 
[2026-08-19 07:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:47: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-08-19 07:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 07:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499091968001,"66":13276,"45":8883068815267540992,"85":15104,"24":10,"16":120600950799859712},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-19 07:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499091968001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883068815267540992,"description":"Unknown IO ID 45"} 
[2026-08-19 07:47:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120600950799859712,"km_value":120600950799859.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:47:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457499091968001,"power":13276,"unknown_45":8883068815267540992,"unknown_85":15104,"ignition":10,"odometer":null}} 
[2026-08-19 07:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":159929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:47:34] local.INFO: GPS data processed {"connection_id":159929,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:47:34] local.INFO: Acknowledgment sent {"connection_id":159929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:47:37] local.INFO: TCP Data received {"connection_id":157378,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:47:37] local.INFO: Processing buffer {"connection_id":157378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:47:37] local.INFO: Packet analysis {"connection_id":157378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:47:37] local.INFO: Extracted packet for processing {"connection_id":157378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498960384001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787105615000,"timestamp_ms":1787105615000,"timestamp_seconds":1787105615,"priority":1,"record_length":96,"hex_timestamp":"000001a017cb9c98"} 
[2026-08-19 07:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498960384001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498960384001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:47:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498960384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":157378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:47:37] local.INFO: GPS data processed {"connection_id":157378,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:47:37] local.INFO: Acknowledgment sent {"connection_id":157378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:48:00] local.INFO: TCP Data received {"connection_id":158644,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:48:00] local.INFO: Processing buffer {"connection_id":158644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:48:00] local.INFO: IMEI packet received {"connection_id":158644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":158644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:48:05] local.INFO: TCP Data received {"connection_id":159929,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017cee470012d7b45c005e160b00009015625..."} 
[2026-08-19 07:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cee470012d7b45c005e160b00009015625..."} 
[2026-08-19 07:48:05] local.INFO: Processing buffer {"connection_id":159929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cee470012d7b45c005e160b00009015625..."} 
[2026-08-19 07:48:05] local.INFO: Packet analysis {"connection_id":159929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ce"} 
[2026-08-19 07:48:05] local.INFO: Extracted packet for processing {"connection_id":159929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ce"} 
[2026-08-19 07:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763053504,"raw_latitude":98656432,"longitude_deg":76.3053504,"latitude_deg":9.8656432,"altitude":9,"angle":342,"satellites":37,"speed":12,"hex_longitude":"2d7b45c0","hex_latitude":"05e160b0","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499092224001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882928077779224576,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120600963684761600,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 07:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787105830000,"timestamp_ms":1787105830000,"timestamp_seconds":1787105830,"priority":1,"record_length":96,"hex_timestamp":"000001a017cee470"} 
[2026-08-19 07:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-19 07:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499092224001,"66":13298,"45":8882928077779224576,"85":15104,"24":12,"16":120600963684761600},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-19 07:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499092224001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882928077779224576,"description":"Unknown IO ID 45"} 
[2026-08-19 07:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120600963684761600,"km_value":120600963684761.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:48:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457499092224001,"power":13298,"unknown_45":8882928077779224576,"unknown_85":15104,"ignition":12,"odometer":null}} 
[2026-08-19 07:48:05] local.INFO: TCP Data received {"connection_id":158644,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:48:05] local.INFO: Processing buffer {"connection_id":158644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:48:05] local.INFO: IMEI packet received {"connection_id":158644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":158644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":159929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:48:05] local.INFO: GPS data processed {"connection_id":159929,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:48:05] local.INFO: Acknowledgment sent {"connection_id":159929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:48:09] local.INFO: TCP Data received {"connection_id":158644,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:48:09] local.INFO: Processing buffer {"connection_id":158644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:48:09] local.INFO: Packet analysis {"connection_id":158644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:48:09] local.INFO: Extracted packet for processing {"connection_id":158644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498960384001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787105615000,"timestamp_ms":1787105615000,"timestamp_seconds":1787105615,"priority":1,"record_length":96,"hex_timestamp":"000001a017cb9c98"} 
[2026-08-19 07:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:48:09] 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-08-19 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":158644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":158644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":158644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498960384001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498960384001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:48:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:48:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498960384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":158644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:48:09] local.INFO: GPS data processed {"connection_id":158644,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:48:09] local.INFO: Acknowledgment sent {"connection_id":158644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:48:21] local.INFO: TCP Data received {"connection_id":157379,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:48:21] local.INFO: Processing buffer {"connection_id":157379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:48:21] local.INFO: IMEI packet received {"connection_id":157379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":157379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:48:21] local.INFO: TCP Data received {"connection_id":157379,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:48:21] local.INFO: Processing buffer {"connection_id":157379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:48:21] local.INFO: IMEI packet received {"connection_id":157379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":157379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:48:25] local.INFO: TCP Data received {"connection_id":157379,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:48:25] local.INFO: Processing buffer {"connection_id":157379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:48:25] local.INFO: IMEI packet received {"connection_id":157379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":157379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:48:26] local.INFO: TCP Data received {"connection_id":157379,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017cf1b20012d7b3f4005e181080007016620..."} 
[2026-08-19 07:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cf1b20012d7b3f4005e181080007016620..."} 
[2026-08-19 07:48:26] local.INFO: Processing buffer {"connection_id":157379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cf1b20012d7b3f4005e181080007016620..."} 
[2026-08-19 07:48:26] local.INFO: Packet analysis {"connection_id":157379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cf"} 
[2026-08-19 07:48:26] local.INFO: Extracted packet for processing {"connection_id":157379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cf"} 
[2026-08-19 07:48:26] local.INFO: GPS Element Parsed {"raw_longitude":763051840,"raw_latitude":98664712,"longitude_deg":76.305184,"latitude_deg":9.8664712,"altitude":7,"angle":358,"satellites":32,"speed":23,"hex_longitude":"2d7b3f40","hex_latitude":"05e18108","is_valid_coordinates":true} 
[2026-08-19 07:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499092480001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882716971546750976,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120601376001622016,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:26] 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-08-19 07:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787105844000,"timestamp_ms":1787105844000,"timestamp_seconds":1787105844,"priority":1,"record_length":96,"hex_timestamp":"000001a017cf1b20"} 
[2026-08-19 07:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-19 07:48:26] 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-08-19 07:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:48:26] 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-08-19 07:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499092480001,"66":13319,"45":8882716971546750976,"85":15104,"24":23,"16":120601376001622016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-19 07:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499092480001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882716971546750976,"description":"Unknown IO ID 45"} 
[2026-08-19 07:48:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120601376001622016,"km_value":120601376001622.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:48:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457499092480001,"power":13319,"unknown_45":8882716971546750976,"unknown_85":15104,"ignition":23,"odometer":null}} 
[2026-08-19 07:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":157379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:48:26] local.INFO: GPS data processed {"connection_id":157379,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:48:26] local.INFO: Acknowledgment sent {"connection_id":157379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:48:44] local.INFO: TCP Data received {"connection_id":158644,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:48:44] local.INFO: Processing buffer {"connection_id":158644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:48:44] local.INFO: Packet analysis {"connection_id":158644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:48:44] local.INFO: Extracted packet for processing {"connection_id":158644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498960384001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787105615000,"timestamp_ms":1787105615000,"timestamp_seconds":1787105615,"priority":1,"record_length":96,"hex_timestamp":"000001a017cb9c98"} 
[2026-08-19 07:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498960384001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498960384001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:48:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498960384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":158644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:48:44] local.INFO: GPS data processed {"connection_id":158644,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:48:44] local.INFO: Acknowledgment sent {"connection_id":158644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:48:57] local.INFO: TCP Data received {"connection_id":157379,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017cf3a60012d7b3e4005e18c08000601591f..."} 
[2026-08-19 07:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cf3a60012d7b3e4005e18c08000601591f..."} 
[2026-08-19 07:48:57] local.INFO: Processing buffer {"connection_id":157379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cf3a60012d7b3e4005e18c08000601591f..."} 
[2026-08-19 07:48:57] local.INFO: Packet analysis {"connection_id":157379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cf"} 
[2026-08-19 07:48:57] local.INFO: Extracted packet for processing {"connection_id":157379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cf"} 
[2026-08-19 07:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763051584,"raw_latitude":98667528,"longitude_deg":76.3051584,"latitude_deg":9.8667528,"altitude":6,"angle":345,"satellites":31,"speed":7,"hex_longitude":"2d7b3e40","hex_latitude":"05e18c08","is_valid_coordinates":true} 
[2026-08-19 07:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499096064001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880887384200251392,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120601513440575488,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:57] 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-08-19 07:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787105852000,"timestamp_ms":1787105852000,"timestamp_seconds":1787105852,"priority":1,"record_length":96,"hex_timestamp":"000001a017cf3a60"} 
[2026-08-19 07:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 07:48:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:57] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:57] local.WARNING: Large IO value detected {"io_id":23,"raw_value":3470309377,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:57] local.WARNING: Large IO value detected {"io_id":225,"raw_value":6838716068534362624,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-08-19 07:48:57] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3489738107,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:57] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2147869022,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:57] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070414,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3781087232,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:57] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:57] local.WARNING: Large IO value detected {"io_id":206,"raw_value":-3956410977791426555,"note":"Value kept but may cause issues"} 
[2026-08-19 07:48:57] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,45,85,24,241,157,16,118,160,228,192,96,9,37,10,66,117,224,128,95,8,36,220,1,240,187,227,23,225,4,113,205,6,212,72,35,239,51,2,172,5,166,206],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-08-19 07:48:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504796920868700160,"timestamp_seconds":504796920868700.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 07:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:48:57] 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-08-19 07:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499096064001,"66":13515,"45":8880887384200251392,"85":15104,"24":7,"16":120601513440575488},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-19 07:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499096064001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880887384200251392,"description":"Unknown IO ID 45"} 
[2026-08-19 07:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120601513440575488,"km_value":120601513440575.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:48:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457499096064001,"power":13515,"unknown_45":8880887384200251392,"unknown_85":15104,"ignition":7,"odometer":null}} 
[2026-08-19 07:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":157379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:48:57] local.INFO: GPS data processed {"connection_id":157379,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:48:57] local.INFO: Acknowledgment sent {"connection_id":157379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:49:00] local.INFO: TCP Data received {"connection_id":157757,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:49:00] local.INFO: Processing buffer {"connection_id":157757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:49:00] local.INFO: IMEI packet received {"connection_id":157757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":157757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:49:05] local.INFO: TCP Data received {"connection_id":157757,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:49:05] local.INFO: Processing buffer {"connection_id":157757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:49:05] local.INFO: IMEI packet received {"connection_id":157757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":157757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:49:06] local.INFO: TCP Data received {"connection_id":157757,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:49:06] local.INFO: Processing buffer {"connection_id":157757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cb9c98012d34c50006aa40780009005927..."} 
[2026-08-19 07:49:06] local.INFO: Packet analysis {"connection_id":157757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:49:06] local.INFO: Extracted packet for processing {"connection_id":157757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cb"} 
[2026-08-19 07:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457498960384001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787105615000,"timestamp_ms":1787105615000,"timestamp_seconds":1787105615,"priority":1,"record_length":96,"hex_timestamp":"000001a017cb9c98"} 
[2026-08-19 07:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457498960384001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457498960384001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:49:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457498960384001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":157757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:49:06] local.INFO: GPS data processed {"connection_id":157757,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:49:06] local.INFO: Acknowledgment sent {"connection_id":157757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:49:18] local.INFO: TCP Data received {"connection_id":159930,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:49:18] local.INFO: Processing buffer {"connection_id":159930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:49:18] local.INFO: IMEI packet received {"connection_id":159930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":159930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:49:20] local.INFO: TCP Data received {"connection_id":159930,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:49:20] local.INFO: Processing buffer {"connection_id":159930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:49:20] local.INFO: IMEI packet received {"connection_id":159930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":159930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:49:25] local.INFO: TCP Data received {"connection_id":159930,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:49:25] local.INFO: Processing buffer {"connection_id":159930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:49:25] local.INFO: IMEI packet received {"connection_id":159930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":159930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:49:27] local.INFO: TCP Data received {"connection_id":159930,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017cf4a00012d7b3d8005e19150000501671c..."} 
[2026-08-19 07:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017cf4a00012d7b3d8005e19150000501671c..."} 
[2026-08-19 07:49:27] local.INFO: Processing buffer {"connection_id":159930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017cf4a00012d7b3d8005e19150000501671c..."} 
[2026-08-19 07:49:27] local.INFO: Packet analysis {"connection_id":159930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017cf"} 
[2026-08-19 07:49:27] local.INFO: Extracted packet for processing {"connection_id":159930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017cf"} 
[2026-08-19 07:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763051392,"raw_latitude":98668880,"longitude_deg":76.3051392,"latitude_deg":9.866888,"altitude":5,"angle":359,"satellites":28,"speed":19,"hex_longitude":"2d7b3d80","hex_latitude":"05e19150","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499098112001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880605909224261632,"note":"Value kept but may cause issues"} 
[2026-08-19 07:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120601577865084928,"note":"Value kept but may cause issues"} 
[2026-08-19 07:49:27] 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-08-19 07:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787105856000,"timestamp_ms":1787105856000,"timestamp_seconds":1787105856,"priority":1,"record_length":96,"hex_timestamp":"000001a017cf4a00"} 
[2026-08-19 07:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-19 07:49:27] 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-08-19 07: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-08-19 07:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:49:27] 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-08-19 07:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499098112001,"66":13406,"45":8880605909224261632,"85":15104,"24":19,"16":120601577865084928},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-19 07:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499098112001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880605909224261632,"description":"Unknown IO ID 45"} 
[2026-08-19 07:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120601577865084928,"km_value":120601577865084.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:49:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457499098112001,"power":13406,"unknown_45":8880605909224261632,"unknown_85":15104,"ignition":19,"odometer":null}} 
[2026-08-19 07:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":159930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:49:27] local.INFO: GPS data processed {"connection_id":159930,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:49:27] local.INFO: Acknowledgment sent {"connection_id":159930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:49:38] local.INFO: TCP Data received {"connection_id":157757,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:49:38] local.INFO: Processing buffer {"connection_id":157757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:49:38] local.INFO: Packet analysis {"connection_id":157757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:49:38] local.INFO: Extracted packet for processing {"connection_id":157757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499037440001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787105916000,"timestamp_ms":1787105916000,"timestamp_seconds":1787105916,"priority":1,"record_length":96,"hex_timestamp":"000001a017d03460"} 
[2026-08-19 07:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:49:38] 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-08-19 07:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499037440001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499037440001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:49:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499037440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":157757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:49:38] local.INFO: GPS data processed {"connection_id":157757,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:49:38] local.INFO: Acknowledgment sent {"connection_id":157757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:49:59] local.INFO: TCP Data received {"connection_id":159930,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d10368012d7b0bc005e313380000000213..."} 
[2026-08-19 07:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d10368012d7b0bc005e313380000000213..."} 
[2026-08-19 07:49:59] local.INFO: Processing buffer {"connection_id":159930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d10368012d7b0bc005e313380000000213..."} 
[2026-08-19 07:49:59] local.INFO: Packet analysis {"connection_id":159930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d1"} 
[2026-08-19 07:49:59] local.INFO: Extracted packet for processing {"connection_id":159930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d1"} 
[2026-08-19 07:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763038656,"raw_latitude":98767672,"longitude_deg":76.3038656,"latitude_deg":9.8767672,"altitude":0,"angle":2,"satellites":19,"speed":9,"hex_longitude":"2d7b0bc0","hex_latitude":"05e31338","is_valid_coordinates":true} 
[2026-08-19 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-08-19 07:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499124992001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120606413998260224,"note":"Value kept but may cause issues"} 
[2026-08-19 07:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867306216598728704,"note":"Value kept but may cause issues"} 
[2026-08-19 07:49: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-08-19 07:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787105969000,"timestamp_ms":1787105969000,"timestamp_seconds":1787105969,"priority":1,"record_length":96,"hex_timestamp":"000001a017d10368"} 
[2026-08-19 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-08-19 07:49: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-08-19 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-19 07:49:59] 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-08-19 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-08-19 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-08-19 07:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:49:59] 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-08-19 07:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499124992001,"66":13091,"207":206,"85":15104,"24":9,"16":120606413998260224,"45":8867306216598728704},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-19 07:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499124992001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:49:59] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-19 07:49:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120606413998260224,"km_value":120606413998260.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867306216598728704,"description":"Unknown IO ID 45"} 
[2026-08-19 07:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499124992001,"power":13091,"unknown_207":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8867306216598728704}} 
[2026-08-19 07:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":159930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:49:59] local.INFO: GPS data processed {"connection_id":159930,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:49:59] local.INFO: Acknowledgment sent {"connection_id":159930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:50:00] local.INFO: TCP Data received {"connection_id":157380,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:50:00] local.INFO: Processing buffer {"connection_id":157380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:50:00] local.INFO: IMEI packet received {"connection_id":157380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":157380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:50:05] local.INFO: TCP Data received {"connection_id":157380,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:50:05] local.INFO: Processing buffer {"connection_id":157380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:50:05] local.INFO: IMEI packet received {"connection_id":157380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":157380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:50:06] local.INFO: TCP Data received {"connection_id":157380,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:50:06] local.INFO: Processing buffer {"connection_id":157380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:50:06] local.INFO: Packet analysis {"connection_id":157380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:50:06] local.INFO: Extracted packet for processing {"connection_id":157380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:50:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499037440001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787105916000,"timestamp_ms":1787105916000,"timestamp_seconds":1787105916,"priority":1,"record_length":96,"hex_timestamp":"000001a017d03460"} 
[2026-08-19 07:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:50:06] 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-08-19 07:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499037440001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499037440001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:50:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:50:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499037440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":157380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:50:06] local.INFO: GPS data processed {"connection_id":157380,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:50:06] local.INFO: Acknowledgment sent {"connection_id":157380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:50:19] local.INFO: TCP Data received {"connection_id":159931,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:50:19] local.INFO: Processing buffer {"connection_id":159931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:50:19] local.INFO: IMEI packet received {"connection_id":159931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":159931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:50:20] local.INFO: TCP Data received {"connection_id":159931,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:50:20] local.INFO: Processing buffer {"connection_id":159931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:50:20] local.INFO: IMEI packet received {"connection_id":159931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":159931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:50:25] local.INFO: TCP Data received {"connection_id":159931,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:50:25] local.INFO: Processing buffer {"connection_id":159931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:50:25] local.INFO: IMEI packet received {"connection_id":159931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":159931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:50:27] local.INFO: TCP Data received {"connection_id":159931,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d10750012d7b0b4005e313f80000016013..."} 
[2026-08-19 07:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d10750012d7b0b4005e313f80000016013..."} 
[2026-08-19 07:50:27] local.INFO: Processing buffer {"connection_id":159931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d10750012d7b0b4005e313f80000016013..."} 
[2026-08-19 07:50:27] local.INFO: Packet analysis {"connection_id":159931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d1"} 
[2026-08-19 07:50:27] local.INFO: Extracted packet for processing {"connection_id":159931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d1"} 
[2026-08-19 07:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763038528,"raw_latitude":98767864,"longitude_deg":76.3038528,"latitude_deg":9.8767864,"altitude":0,"angle":352,"satellites":19,"speed":9,"hex_longitude":"2d7b0b40","hex_latitude":"05e313f8","is_valid_coordinates":true} 
[2026-08-19 07:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499128064001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120606422588194816,"note":"Value kept but may cause issues"} 
[2026-08-19 07:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866391422926010368,"note":"Value kept but may cause issues"} 
[2026-08-19 07:50:27] 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-08-19 07:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787105970000,"timestamp_ms":1787105970000,"timestamp_seconds":1787105970,"priority":1,"record_length":96,"hex_timestamp":"000001a017d10750"} 
[2026-08-19 07:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 07:50:27] 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-08-19 07:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:50:27] 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-08-19 07:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499128064001,"66":13091,"207":206,"85":15104,"24":9,"16":120606422588194816,"45":8866391422926010368},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-19 07:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499128064001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:50:27] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-19 07:50:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120606422588194816,"km_value":120606422588194.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866391422926010368,"description":"Unknown IO ID 45"} 
[2026-08-19 07:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499128064001,"power":13091,"unknown_207":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8866391422926010368}} 
[2026-08-19 07:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":159931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:50:27] local.INFO: GPS data processed {"connection_id":159931,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:50:27] local.INFO: Acknowledgment sent {"connection_id":159931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:50:40] local.INFO: TCP Data received {"connection_id":157380,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:50:40] local.INFO: Processing buffer {"connection_id":157380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:50:40] local.INFO: Packet analysis {"connection_id":157380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:50:40] local.INFO: Extracted packet for processing {"connection_id":157380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:50:40] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499037440001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787105916000,"timestamp_ms":1787105916000,"timestamp_seconds":1787105916,"priority":1,"record_length":96,"hex_timestamp":"000001a017d03460"} 
[2026-08-19 07:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:50:40] 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-08-19 07:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499037440001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499037440001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:50:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:50:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499037440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":157380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:50:40] local.INFO: GPS data processed {"connection_id":157380,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:50:40] local.INFO: Acknowledgment sent {"connection_id":157380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:50:59] local.INFO: TCP Data received {"connection_id":159931,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d14da0012d7b064005e337d0000000011a..."} 
[2026-08-19 07:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d14da0012d7b064005e337d0000000011a..."} 
[2026-08-19 07:50:59] local.INFO: Processing buffer {"connection_id":159931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d14da0012d7b064005e337d0000000011a..."} 
[2026-08-19 07:50:59] local.INFO: Packet analysis {"connection_id":159931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d1"} 
[2026-08-19 07:50:59] local.INFO: Extracted packet for processing {"connection_id":159931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d1"} 
[2026-08-19 07:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763037248,"raw_latitude":98777040,"longitude_deg":76.3037248,"latitude_deg":9.877704,"altitude":0,"angle":1,"satellites":26,"speed":22,"hex_longitude":"2d7b0640","hex_latitude":"05e337d0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 07:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499128320001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120606873559760896,"note":"Value kept but may cause issues"} 
[2026-08-19 07:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866250685437704192,"note":"Value kept but may cause issues"} 
[2026-08-19 07:50: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-08-19 07:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787105988000,"timestamp_ms":1787105988000,"timestamp_seconds":1787105988,"priority":1,"record_length":96,"hex_timestamp":"000001a017d14da0"} 
[2026-08-19 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-08-19 07:50: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-08-19 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 07:50:59] 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-08-19 07: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-08-19 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-08-19 07:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:50:59] 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-08-19 07:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499128320001,"66":12504,"208":206,"85":15104,"24":22,"16":120606873559760896,"45":8866250685437704192},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 07:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499128320001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:50:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 07:50:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120606873559760896,"km_value":120606873559760.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866250685437704192,"description":"Unknown IO ID 45"} 
[2026-08-19 07:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499128320001,"power":12504,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8866250685437704192}} 
[2026-08-19 07:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":159931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:50:59] local.INFO: GPS data processed {"connection_id":159931,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:50:59] local.INFO: Acknowledgment sent {"connection_id":159931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:51:00] local.INFO: TCP Data received {"connection_id":158645,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:51:00] local.INFO: Processing buffer {"connection_id":158645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:51:00] local.INFO: IMEI packet received {"connection_id":158645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":158645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:51:05] local.INFO: TCP Data received {"connection_id":158645,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:51:05] local.INFO: Processing buffer {"connection_id":158645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:51:05] local.INFO: IMEI packet received {"connection_id":158645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":158645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:51:06] local.INFO: TCP Data received {"connection_id":158645,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:51:06] local.INFO: Processing buffer {"connection_id":158645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:51:06] local.INFO: Packet analysis {"connection_id":158645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:51:06] local.INFO: Extracted packet for processing {"connection_id":158645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:51:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499037440001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787105916000,"timestamp_ms":1787105916000,"timestamp_seconds":1787105916,"priority":1,"record_length":96,"hex_timestamp":"000001a017d03460"} 
[2026-08-19 07:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:51:06] 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-08-19 07:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499037440001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499037440001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:51:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:51:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499037440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":158645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:51:06] local.INFO: GPS data processed {"connection_id":158645,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:51:06] local.INFO: Acknowledgment sent {"connection_id":158645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:51:20] local.INFO: TCP Data received {"connection_id":157758,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:51:20] local.INFO: Processing buffer {"connection_id":157758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:51:20] local.INFO: IMEI packet received {"connection_id":157758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":157758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:51:26] local.INFO: TCP Data received {"connection_id":157758,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:51:26] local.INFO: Processing buffer {"connection_id":157758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:51:26] local.INFO: IMEI packet received {"connection_id":157758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":157758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:51:27] local.INFO: TCP Data received {"connection_id":157758,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d17c80012d7b064005e34ae80000015921..."} 
[2026-08-19 07:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d17c80012d7b064005e34ae80000015921..."} 
[2026-08-19 07:51:27] local.INFO: Processing buffer {"connection_id":157758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d17c80012d7b064005e34ae80000015921..."} 
[2026-08-19 07:51:27] local.INFO: Packet analysis {"connection_id":157758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d1"} 
[2026-08-19 07:51:27] local.INFO: Extracted packet for processing {"connection_id":157758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d1"} 
[2026-08-19 07:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763037248,"raw_latitude":98781928,"longitude_deg":76.3037248,"latitude_deg":9.8781928,"altitude":0,"angle":345,"satellites":33,"speed":18,"hex_longitude":"2d7b0640","hex_latitude":"05e34ae8","is_valid_coordinates":true} 
[2026-08-19 07:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499132928001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120607114077929472,"note":"Value kept but may cause issues"} 
[2026-08-19 07:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864843310556499968,"note":"Value kept but may cause issues"} 
[2026-08-19 07:51:27] 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-08-19 07:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787106000000,"timestamp_ms":1787106000000,"timestamp_seconds":1787106000,"priority":1,"record_length":96,"hex_timestamp":"000001a017d17c80"} 
[2026-08-19 07:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 07:51:27] 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-08-19 07:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:51:27] 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-08-19 07:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499132928001,"66":13439,"208":206,"85":15104,"24":18,"16":120607114077929472,"45":8864843310556499968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 07:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499132928001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:51:27] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 07:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120607114077929472,"km_value":120607114077929.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864843310556499968,"description":"Unknown IO ID 45"} 
[2026-08-19 07:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499132928001,"power":13439,"unknown_208":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8864843310556499968}} 
[2026-08-19 07:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":157758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:51:27] local.INFO: GPS data processed {"connection_id":157758,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:51:27] local.INFO: Acknowledgment sent {"connection_id":157758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:51:37] local.INFO: TCP Data received {"connection_id":158645,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:51:37] local.INFO: Processing buffer {"connection_id":158645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:51:37] local.INFO: Packet analysis {"connection_id":158645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:51:37] local.INFO: Extracted packet for processing {"connection_id":158645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499037440001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787105916000,"timestamp_ms":1787105916000,"timestamp_seconds":1787105916,"priority":1,"record_length":96,"hex_timestamp":"000001a017d03460"} 
[2026-08-19 07:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499037440001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499037440001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499037440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":158645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:51:37] local.INFO: GPS data processed {"connection_id":158645,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:51:37] local.INFO: Acknowledgment sent {"connection_id":158645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:51:58] local.INFO: TCP Data received {"connection_id":157758,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d1bee8012d7afac005e36ca80006015723..."} 
[2026-08-19 07:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d1bee8012d7afac005e36ca80006015723..."} 
[2026-08-19 07:51:58] local.INFO: Processing buffer {"connection_id":157758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d1bee8012d7afac005e36ca80006015723..."} 
[2026-08-19 07:51:58] local.INFO: Packet analysis {"connection_id":157758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d1"} 
[2026-08-19 07:51:58] local.INFO: Extracted packet for processing {"connection_id":157758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d1"} 
[2026-08-19 07:51:58] local.INFO: GPS Element Parsed {"raw_longitude":763034304,"raw_latitude":98790568,"longitude_deg":76.3034304,"latitude_deg":9.8790568,"altitude":6,"angle":343,"satellites":35,"speed":21,"hex_longitude":"2d7afac0","hex_latitude":"05e36ca8","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499136000001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120607556459560960,"note":"Value kept but may cause issues"} 
[2026-08-19 07:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864843310557751296,"note":"Value kept but may cause issues"} 
[2026-08-19 07:51: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-08-19 07:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787106017000,"timestamp_ms":1787106017000,"timestamp_seconds":1787106017,"priority":1,"record_length":96,"hex_timestamp":"000001a017d1bee8"} 
[2026-08-19 07:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:51:58] 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-08-19 07: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-19 07:51:58] 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-08-19 07: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-08-19 07:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157758,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:51:58] 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-08-19 07:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499136000001,"66":13363,"208":206,"85":15104,"24":21,"16":120607556459560960,"45":8864843310557751296},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 07:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499136000001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:51:58] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 07:51:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120607556459560960,"km_value":120607556459560.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864843310557751296,"description":"Unknown IO ID 45"} 
[2026-08-19 07:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499136000001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8864843310557751296}} 
[2026-08-19 07:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":157758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:51:58] local.INFO: GPS data processed {"connection_id":157758,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:51:58] local.INFO: Acknowledgment sent {"connection_id":157758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:52:00] local.INFO: TCP Data received {"connection_id":159932,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:52:00] local.INFO: Processing buffer {"connection_id":159932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:52:00] local.INFO: IMEI packet received {"connection_id":159932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":159932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:52:05] local.INFO: TCP Data received {"connection_id":159932,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:52:05] local.INFO: Processing buffer {"connection_id":159932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:52:05] local.INFO: IMEI packet received {"connection_id":159932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":159932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:52:06] local.INFO: TCP Data received {"connection_id":159932,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:52:06] local.INFO: Processing buffer {"connection_id":159932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:52:06] local.INFO: Packet analysis {"connection_id":159932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:52:06] local.INFO: Extracted packet for processing {"connection_id":159932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:52:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499037440001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787105916000,"timestamp_ms":1787105916000,"timestamp_seconds":1787105916,"priority":1,"record_length":96,"hex_timestamp":"000001a017d03460"} 
[2026-08-19 07:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:52:06] 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-08-19 07:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499037440001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499037440001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:52:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:52:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499037440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":159932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:52:07] local.INFO: GPS data processed {"connection_id":159932,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:52:07] local.INFO: Acknowledgment sent {"connection_id":159932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:52:20] local.INFO: TCP Data received {"connection_id":158646,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:52:20] local.INFO: Processing buffer {"connection_id":158646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:52:20] local.INFO: IMEI packet received {"connection_id":158646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":158646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:52:20] local.INFO: TCP Data received {"connection_id":158646,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:52:20] local.INFO: Processing buffer {"connection_id":158646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:52:20] local.INFO: IMEI packet received {"connection_id":158646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":158646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:52:38] local.INFO: TCP Data received {"connection_id":159932,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:52:38] local.INFO: Processing buffer {"connection_id":159932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:52:38] local.INFO: Packet analysis {"connection_id":159932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:52:38] local.INFO: Extracted packet for processing {"connection_id":159932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499037440001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787105916000,"timestamp_ms":1787105916000,"timestamp_seconds":1787105916,"priority":1,"record_length":96,"hex_timestamp":"000001a017d03460"} 
[2026-08-19 07:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:52:38] 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-08-19 07:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499037440001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499037440001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499037440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":159932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:52:38] local.INFO: GPS data processed {"connection_id":159932,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:52:38] local.INFO: Acknowledgment sent {"connection_id":159932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:52:40] local.INFO: TCP Data received {"connection_id":158646,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:52:40] local.INFO: Processing buffer {"connection_id":158646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:52:40] local.INFO: IMEI packet received {"connection_id":158646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":158646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:52:42] local.INFO: TCP Data received {"connection_id":158646,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d34588012d7aac0005e430c0000a013326..."} 
[2026-08-19 07:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d34588012d7aac0005e430c0000a013326..."} 
[2026-08-19 07:52:42] local.INFO: Processing buffer {"connection_id":158646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d34588012d7aac0005e430c0000a013326..."} 
[2026-08-19 07:52:42] local.INFO: Packet analysis {"connection_id":158646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d3"} 
[2026-08-19 07:52:42] local.INFO: Extracted packet for processing {"connection_id":158646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d3"} 
[2026-08-19 07:52:42] local.INFO: GPS Element Parsed {"raw_longitude":763014144,"raw_latitude":98840768,"longitude_deg":76.3014144,"latitude_deg":9.8840768,"altitude":10,"angle":307,"satellites":38,"speed":13,"hex_longitude":"2d7aac00","hex_latitude":"05e430c0","is_valid_coordinates":true} 
[2026-08-19 07:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499165696001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120610236519153664,"note":"Value kept but may cause issues"} 
[2026-08-19 07:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839721668901332992,"note":"Value kept but may cause issues"} 
[2026-08-19 07:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787106117000,"timestamp_ms":1787106117000,"timestamp_seconds":1787106117,"priority":1,"record_length":96,"hex_timestamp":"000001a017d34588"} 
[2026-08-19 07:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:52: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-08-19 07:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 07:52: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-08-19 07:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:52:42] 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-08-19 07:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499165696001,"66":12950,"208":206,"85":15104,"24":13,"16":120610236519153664,"45":8839721668901332992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 07:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499165696001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:52:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 07:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120610236519153664,"km_value":120610236519153.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839721668901332992,"description":"Unknown IO ID 45"} 
[2026-08-19 07:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499165696001,"power":12950,"unknown_208":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8839721668901332992}} 
[2026-08-19 07:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":158646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:52:42] local.INFO: GPS data processed {"connection_id":158646,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:52:42] local.INFO: Acknowledgment sent {"connection_id":158646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:53:00] local.INFO: TCP Data received {"connection_id":158647,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:53:00] local.INFO: Processing buffer {"connection_id":158647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:53:00] local.INFO: IMEI packet received {"connection_id":158647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":158647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:53:05] local.INFO: TCP Data received {"connection_id":158647,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:53:05] local.INFO: Processing buffer {"connection_id":158647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:53:05] local.INFO: IMEI packet received {"connection_id":158647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":158647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:53:07] local.INFO: TCP Data received {"connection_id":158647,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:53:07] local.INFO: Processing buffer {"connection_id":158647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:53:07] local.INFO: Packet analysis {"connection_id":158647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:53:07] local.INFO: Extracted packet for processing {"connection_id":158647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:53:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499037440001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787105916000,"timestamp_ms":1787105916000,"timestamp_seconds":1787105916,"priority":1,"record_length":96,"hex_timestamp":"000001a017d03460"} 
[2026-08-19 07:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:53: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-08-19 07:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:53:07] 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-08-19 07:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499037440001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499037440001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:53:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:53:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499037440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":158647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:53:07] local.INFO: GPS data processed {"connection_id":158647,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:53:07] local.INFO: Acknowledgment sent {"connection_id":158647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:53:29] local.INFO: TCP Data received {"connection_id":157759,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:53:29] local.INFO: Processing buffer {"connection_id":157759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:53:29] local.INFO: IMEI packet received {"connection_id":157759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":157759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:53:34] local.INFO: TCP Data received {"connection_id":157759,"ip":"42.109.136.8","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-19 07:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157759,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-19 07:53:34] local.INFO: Processing buffer {"connection_id":157759,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-19 07:53:34] local.INFO: IMEI packet received {"connection_id":157759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":157759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:53:35] local.INFO: TCP Data received {"connection_id":157759,"ip":"42.109.136.8","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a017..."} 
[2026-08-19 07:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157759,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a017..."} 
[2026-08-19 07:53:35] local.INFO: Processing buffer {"connection_id":157759,"buffer_length":829,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-19 07:53:35] local.INFO: IMEI packet received {"connection_id":157759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":157759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:53:36] local.INFO: TCP Data received {"connection_id":157759,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d39790012d7a6f8005e460380008013424..."} 
[2026-08-19 07:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d39790012d7a6f8005e460380008013424..."} 
[2026-08-19 07:53:36] local.INFO: Processing buffer {"connection_id":157759,"buffer_length":1607,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a017..."} 
[2026-08-19 07:53:36] local.INFO: IMEI packet received {"connection_id":157759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":157759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:53:37] local.INFO: TCP Data received {"connection_id":157759,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d3b2e8012d7a618005e469800006011524..."} 
[2026-08-19 07:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d3b2e8012d7a618005e469800006011524..."} 
[2026-08-19 07:53:37] local.INFO: Processing buffer {"connection_id":157759,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a017d37850012d7a8d4005e44948000a013625..."} 
[2026-08-19 07:53:37] local.INFO: Packet analysis {"connection_id":157759,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a017d3"} 
[2026-08-19 07:53:37] local.INFO: Extracted packet for processing {"connection_id":157759,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a017d3"} 
[2026-08-19 07:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763006272,"raw_latitude":98847048,"longitude_deg":76.3006272,"latitude_deg":9.8847048,"altitude":10,"angle":310,"satellites":37,"speed":43,"hex_longitude":"2d7a8d40","hex_latitude":"05e44948","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499165952001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120610717555490816,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839440193924677632,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53: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-08-19 07:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787106130000,"timestamp_ms":1787106130000,"timestamp_seconds":1787106130,"priority":1,"record_length":96,"hex_timestamp":"000001a017d37850"} 
[2026-08-19 07:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:53: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-08-19 07: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 07:53: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-08-19 07: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-08-19 07:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:53: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-08-19 07:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499165952001,"66":12689,"208":206,"85":15104,"24":43,"16":120610717555490816,"45":8839440193924677632},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 07:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499165952001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:53:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 07:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120610717555490816,"km_value":120610717555490.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839440193924677632,"description":"Unknown IO ID 45"} 
[2026-08-19 07:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499165952001,"power":12689,"unknown_208":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8839440193924677632}} 
[2026-08-19 07:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":157759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:53:37] local.INFO: GPS data processed {"connection_id":157759,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:53:37] local.INFO: Acknowledgment sent {"connection_id":157759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:53:37] local.INFO: Packet analysis {"connection_id":157759,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a017d3"} 
[2026-08-19 07:53:37] local.INFO: Extracted packet for processing {"connection_id":157759,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d3"} 
[2026-08-19 07:53:37] local.INFO: GPS Element Parsed {"raw_longitude":762998656,"raw_latitude":98852920,"longitude_deg":76.2998656,"latitude_deg":9.885292,"altitude":8,"angle":308,"satellites":36,"speed":41,"hex_longitude":"2d7a6f80","hex_latitude":"05e46038","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499169280001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120611181411958784,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830784838392432640,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53: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-08-19 07:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787106138000,"timestamp_ms":1787106138000,"timestamp_seconds":1787106138,"priority":1,"record_length":96,"hex_timestamp":"000001a017d39790"} 
[2026-08-19 07:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:53: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-08-19 07: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 07:53: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-08-19 07: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-08-19 07:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:53: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-08-19 07:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499169280001,"66":12254,"208":206,"85":15104,"24":41,"16":120611181411958784,"45":8830784838392432640},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 07:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499169280001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:53:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 07:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120611181411958784,"km_value":120611181411958.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830784838392432640,"description":"Unknown IO ID 45"} 
[2026-08-19 07:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499169280001,"power":12254,"unknown_208":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8830784838392432640}} 
[2026-08-19 07:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":157759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:53:37] local.INFO: GPS data processed {"connection_id":157759,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:53:37] local.INFO: Acknowledgment sent {"connection_id":157759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:53:37] local.INFO: Packet analysis {"connection_id":157759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d3"} 
[2026-08-19 07:53:37] local.INFO: Extracted packet for processing {"connection_id":157759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d3"} 
[2026-08-19 07:53:37] local.INFO: GPS Element Parsed {"raw_longitude":762995072,"raw_latitude":98855296,"longitude_deg":76.2995072,"latitude_deg":9.8855296,"altitude":6,"angle":277,"satellites":36,"speed":10,"hex_longitude":"2d7a6180","hex_latitude":"05e46980","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499171328001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120611391865356288,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822410957836793856,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53: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-08-19 07:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787106145000,"timestamp_ms":1787106145000,"timestamp_seconds":1787106145,"priority":1,"record_length":96,"hex_timestamp":"000001a017d3b2e8"} 
[2026-08-19 07:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:53: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-08-19 07: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-19 07:53:37] 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-08-19 07: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-08-19 07:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:53: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-08-19 07:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499171328001,"66":13037,"208":206,"85":15104,"24":10,"16":120611391865356288,"45":8822410957836793856},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 07:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499171328001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:53:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 07:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120611391865356288,"km_value":120611391865356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822410957836793856,"description":"Unknown IO ID 45"} 
[2026-08-19 07:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499171328001,"power":13037,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8822410957836793856}} 
[2026-08-19 07:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":157759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:53:37] local.INFO: GPS data processed {"connection_id":157759,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:53:37] local.INFO: Acknowledgment sent {"connection_id":157759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:53:38] local.INFO: TCP Data received {"connection_id":157759,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d3b6d0012d7a610005e46900000600fb24..."} 
[2026-08-19 07:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d3b6d0012d7a610005e46900000600fb24..."} 
[2026-08-19 07:53:38] local.INFO: Processing buffer {"connection_id":157759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d3b6d0012d7a610005e46900000600fb24..."} 
[2026-08-19 07:53:38] local.INFO: Packet analysis {"connection_id":157759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d3"} 
[2026-08-19 07:53:38] local.INFO: Extracted packet for processing {"connection_id":157759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d3"} 
[2026-08-19 07:53:38] local.INFO: GPS Element Parsed {"raw_longitude":762994944,"raw_latitude":98855168,"longitude_deg":76.2994944,"latitude_deg":9.8855168,"altitude":6,"angle":251,"satellites":36,"speed":8,"hex_longitude":"2d7a6100","hex_latitude":"05e46900","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499173120001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120611400455290880,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818470308163452928,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787106146000,"timestamp_ms":1787106146000,"timestamp_seconds":1787106146,"priority":1,"record_length":96,"hex_timestamp":"000001a017d3b6d0"} 
[2026-08-19 07:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:53: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-08-19 07: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-19 07:53: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-08-19 07: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-08-19 07:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:53: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-08-19 07:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499173120001,"66":13037,"208":206,"85":15104,"24":8,"16":120611400455290880,"45":8818470308163452928},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 07:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499173120001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:53:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 07:53:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120611400455290880,"km_value":120611400455290.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818470308163452928,"description":"Unknown IO ID 45"} 
[2026-08-19 07:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499173120001,"power":13037,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8818470308163452928}} 
[2026-08-19 07:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":157759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:53:38] local.INFO: GPS data processed {"connection_id":157759,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:53:38] local.INFO: Acknowledgment sent {"connection_id":157759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:53:38] local.INFO: TCP Data received {"connection_id":158647,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:53:38] local.INFO: Processing buffer {"connection_id":158647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:53:38] local.INFO: Packet analysis {"connection_id":158647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:53:38] local.INFO: Extracted packet for processing {"connection_id":158647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499037440001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787105916000,"timestamp_ms":1787105916000,"timestamp_seconds":1787105916,"priority":1,"record_length":96,"hex_timestamp":"000001a017d03460"} 
[2026-08-19 07:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:53:38] 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-08-19 07:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499037440001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499037440001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499037440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":158647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:53:38] local.INFO: GPS data processed {"connection_id":158647,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:53:38] local.INFO: Acknowledgment sent {"connection_id":158647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:53:41] local.INFO: TCP Data received {"connection_id":157759,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d404f0012d7a420005e45e300007010224..."} 
[2026-08-19 07:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d404f0012d7a420005e45e300007010224..."} 
[2026-08-19 07:53:41] local.INFO: Processing buffer {"connection_id":157759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d404f0012d7a420005e45e300007010224..."} 
[2026-08-19 07:53:41] local.INFO: Packet analysis {"connection_id":157759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:53:41] local.INFO: Extracted packet for processing {"connection_id":157759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:53:41] local.INFO: GPS Element Parsed {"raw_longitude":762987008,"raw_latitude":98852400,"longitude_deg":76.2987008,"latitude_deg":9.88524,"altitude":7,"angle":258,"satellites":36,"speed":9,"hex_longitude":"2d7a4200","hex_latitude":"05e45e30","is_valid_coordinates":true} 
[2026-08-19 07:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499173376001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120611804182216704,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818329570675064832,"note":"Value kept but may cause issues"} 
[2026-08-19 07:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787106166000,"timestamp_ms":1787106166000,"timestamp_seconds":1787106166,"priority":1,"record_length":96,"hex_timestamp":"000001a017d404f0"} 
[2026-08-19 07:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-19 07:53:41] 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-08-19 07:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:53:41] 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-08-19 07:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499173376001,"66":12982,"208":206,"85":15104,"24":9,"16":120611804182216704,"45":8818329570675064832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 07:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499173376001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:53:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 07:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 07:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120611804182216704,"km_value":120611804182216.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818329570675064832,"description":"Unknown IO ID 45"} 
[2026-08-19 07:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499173376001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8818329570675064832}} 
[2026-08-19 07:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":157759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:53:41] local.INFO: GPS data processed {"connection_id":157759,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:53:41] local.INFO: Acknowledgment sent {"connection_id":157759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:54:00] local.INFO: TCP Data received {"connection_id":159933,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:54:00] local.INFO: Processing buffer {"connection_id":159933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:54:00] local.INFO: IMEI packet received {"connection_id":159933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":159933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:54:05] local.INFO: TCP Data received {"connection_id":159933,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:54:05] local.INFO: Processing buffer {"connection_id":159933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:54:05] local.INFO: IMEI packet received {"connection_id":159933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":159933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:54:06] local.INFO: TCP Data received {"connection_id":159933,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:54:06] local.INFO: Processing buffer {"connection_id":159933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d03460012d34c50006aa40780009005920..."} 
[2026-08-19 07:54:06] local.INFO: Packet analysis {"connection_id":159933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:54:06] local.INFO: Extracted packet for processing {"connection_id":159933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d0"} 
[2026-08-19 07:54:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499037440001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787105916000,"timestamp_ms":1787105916000,"timestamp_seconds":1787105916,"priority":1,"record_length":96,"hex_timestamp":"000001a017d03460"} 
[2026-08-19 07:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 07:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499037440001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499037440001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:54:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:54:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499037440001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":159933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:54:06] local.INFO: GPS data processed {"connection_id":159933,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:54:06] local.INFO: Acknowledgment sent {"connection_id":159933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:54:20] local.INFO: TCP Data received {"connection_id":157760,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:54:20] local.INFO: Processing buffer {"connection_id":157760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:54:20] local.INFO: IMEI packet received {"connection_id":157760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":157760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:54:25] local.INFO: TCP Data received {"connection_id":157760,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:54:25] local.INFO: Processing buffer {"connection_id":157760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:54:25] local.INFO: IMEI packet received {"connection_id":157760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":157760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:54:26] local.INFO: TCP Data received {"connection_id":157760,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d456f8012d7a3ec005e45d18000a010124..."} 
[2026-08-19 07:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d456f8012d7a3ec005e45d18000a010124..."} 
[2026-08-19 07:54:26] local.INFO: Processing buffer {"connection_id":157760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d456f8012d7a3ec005e45d18000a010124..."} 
[2026-08-19 07:54:26] local.INFO: Packet analysis {"connection_id":157760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:54:26] local.INFO: Extracted packet for processing {"connection_id":157760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:54:26] local.INFO: GPS Element Parsed {"raw_longitude":762986176,"raw_latitude":98852120,"longitude_deg":76.2986176,"latitude_deg":9.885212,"altitude":10,"angle":257,"satellites":36,"speed":0,"hex_longitude":"2d7a3ec0","hex_latitude":"05e45d18","is_valid_coordinates":true} 
[2026-08-19 07:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499178496001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120611855721824256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809603846396325888,"note":"Value kept but may cause issues"} 
[2026-08-19 07:54:26] 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-08-19 07:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787106187000,"timestamp_ms":1787106187000,"timestamp_seconds":1787106187,"priority":1,"record_length":96,"hex_timestamp":"000001a017d456f8"} 
[2026-08-19 07:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-19 07:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:54:26] 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-08-19 07:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499178496001,"66":12841,"95":206,"87":13824,"24":0,"16":120611855721824256,"45":8809603846396325888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-19 07:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499178496001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:54:26] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 07:54:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 07:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120611855721824256,"km_value":120611855721824.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809603846396325888,"description":"Unknown IO ID 45"} 
[2026-08-19 07:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499178496001,"power":12841,"unknown_95":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8809603846396325888}} 
[2026-08-19 07:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":157760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:54:26] local.INFO: GPS data processed {"connection_id":157760,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:54:26] local.INFO: Acknowledgment sent {"connection_id":157760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:54:37] local.INFO: TCP Data received {"connection_id":159933,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:54:37] local.INFO: Processing buffer {"connection_id":159933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:54:37] local.INFO: Packet analysis {"connection_id":159933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:54:37] local.INFO: Extracted packet for processing {"connection_id":159933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499114496001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787106217000,"timestamp_ms":1787106217000,"timestamp_seconds":1787106217,"priority":1,"record_length":96,"hex_timestamp":"000001a017d4cc28"} 
[2026-08-19 07:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 07:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:54:37] 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-08-19 07:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499114496001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499114496001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:54:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499114496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":159933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:54:37] local.INFO: GPS data processed {"connection_id":159933,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:54:37] local.INFO: Acknowledgment sent {"connection_id":159933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:54:58] local.INFO: TCP Data received {"connection_id":157760,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d54540012d7a150005e466300009010c25..."} 
[2026-08-19 07:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d54540012d7a150005e466300009010c25..."} 
[2026-08-19 07:54:58] local.INFO: Processing buffer {"connection_id":157760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d54540012d7a150005e466300009010c25..."} 
[2026-08-19 07:54:58] local.INFO: Packet analysis {"connection_id":157760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d5"} 
[2026-08-19 07:54:58] local.INFO: Extracted packet for processing {"connection_id":157760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d5"} 
[2026-08-19 07:54:58] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":98854448,"longitude_deg":76.2975488,"latitude_deg":9.8854448,"altitude":9,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05e46630","is_valid_coordinates":true} 
[2026-08-19 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-08-19 07:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499194112001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120612465607180288,"note":"Value kept but may cause issues"} 
[2026-08-19 07:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799611484723736576,"note":"Value kept but may cause issues"} 
[2026-08-19 07:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787106248000,"timestamp_ms":1787106248000,"timestamp_seconds":1787106248,"priority":1,"record_length":96,"hex_timestamp":"000001a017d54540"} 
[2026-08-19 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-08-19 07:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-19 07:54: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-08-19 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-08-19 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-08-19 07:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:54:58] 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-08-19 07:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499194112001,"66":13428,"102":206,"87":12288,"24":0,"16":120612465607180288,"45":8799611484723736576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 07:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499194112001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:54:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 07:54:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 07:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120612465607180288,"km_value":120612465607180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799611484723736576,"description":"Unknown IO ID 45"} 
[2026-08-19 07:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499194112001,"power":13428,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799611484723736576}} 
[2026-08-19 07:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":157760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:54:58] local.INFO: GPS data processed {"connection_id":157760,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:54:58] local.INFO: Acknowledgment sent {"connection_id":157760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:55:00] local.INFO: TCP Data received {"connection_id":157761,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:55:00] local.INFO: Processing buffer {"connection_id":157761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:55:00] local.INFO: IMEI packet received {"connection_id":157761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":157761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:55:05] local.INFO: TCP Data received {"connection_id":157761,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:55:05] local.INFO: Processing buffer {"connection_id":157761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:55:05] local.INFO: IMEI packet received {"connection_id":157761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":157761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:55:06] local.INFO: TCP Data received {"connection_id":157761,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:55:06] local.INFO: Processing buffer {"connection_id":157761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:55:06] local.INFO: Packet analysis {"connection_id":157761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:55:06] local.INFO: Extracted packet for processing {"connection_id":157761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:55:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499114496001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787106217000,"timestamp_ms":1787106217000,"timestamp_seconds":1787106217,"priority":1,"record_length":96,"hex_timestamp":"000001a017d4cc28"} 
[2026-08-19 07:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 07:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499114496001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499114496001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:55:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499114496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":157761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:55:06] local.INFO: GPS data processed {"connection_id":157761,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:55:06] local.INFO: Acknowledgment sent {"connection_id":157761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:55:21] local.INFO: TCP Data received {"connection_id":159934,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:55:21] local.INFO: Processing buffer {"connection_id":159934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:55:21] local.INFO: IMEI packet received {"connection_id":159934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":159934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:55:25] local.INFO: TCP Data received {"connection_id":159934,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:55:25] local.INFO: Processing buffer {"connection_id":159934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:55:25] local.INFO: IMEI packet received {"connection_id":159934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":159934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:55:26] local.INFO: TCP Data received {"connection_id":159934,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d59748012d7a150005e466300009010c26..."} 
[2026-08-19 07:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d59748012d7a150005e466300009010c26..."} 
[2026-08-19 07:55:26] local.INFO: Processing buffer {"connection_id":159934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d59748012d7a150005e466300009010c26..."} 
[2026-08-19 07:55:26] local.INFO: Packet analysis {"connection_id":159934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d5"} 
[2026-08-19 07:55:26] local.INFO: Extracted packet for processing {"connection_id":159934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d5"} 
[2026-08-19 07:55:26] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":98854448,"longitude_deg":76.2975488,"latitude_deg":9.8854448,"altitude":9,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05e46630","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499199488001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120612465607180288,"note":"Value kept but may cause issues"} 
[2026-08-19 07:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472444870656,"note":"Value kept but may cause issues"} 
[2026-08-19 07:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787106269000,"timestamp_ms":1787106269000,"timestamp_seconds":1787106269,"priority":1,"record_length":96,"hex_timestamp":"000001a017d59748"} 
[2026-08-19 07:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-19 07:55: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-08-19 07: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-08-19 07:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:55:26] 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-08-19 07:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499199488001,"66":13656,"102":206,"87":12288,"24":0,"16":120612465607180288,"45":8796937472444870656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 07:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499199488001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:55:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 07:55:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 07:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120612465607180288,"km_value":120612465607180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472444870656,"description":"Unknown IO ID 45"} 
[2026-08-19 07:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499199488001,"power":13656,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796937472444870656}} 
[2026-08-19 07:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":159934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:55:26] local.INFO: GPS data processed {"connection_id":159934,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:55:26] local.INFO: Acknowledgment sent {"connection_id":159934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:55:31] local.INFO: TCP Data received {"connection_id":159934,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d5e950012d7a150005e466300009010c28..."} 
[2026-08-19 07:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d5e950012d7a150005e466300009010c28..."} 
[2026-08-19 07:55:31] local.INFO: Processing buffer {"connection_id":159934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d5e950012d7a150005e466300009010c28..."} 
[2026-08-19 07:55:31] local.INFO: Packet analysis {"connection_id":159934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d5"} 
[2026-08-19 07:55:31] local.INFO: Extracted packet for processing {"connection_id":159934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d5"} 
[2026-08-19 07:55:31] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":98854448,"longitude_deg":76.2975488,"latitude_deg":9.8854448,"altitude":9,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05e46630","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499204864001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120612465607180288,"note":"Value kept but may cause issues"} 
[2026-08-19 07:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472444870656,"note":"Value kept but may cause issues"} 
[2026-08-19 07:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787106290000,"timestamp_ms":1787106290000,"timestamp_seconds":1787106290,"priority":1,"record_length":96,"hex_timestamp":"000001a017d5e950"} 
[2026-08-19 07:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":88,"data_length":795,"current_offset":136} 
[2026-08-19 07:55: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-08-19 07: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-08-19 07:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:55:31] 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-08-19 07:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499204864001,"66":13450,"102":206,"87":12288,"24":0,"16":120612465607180288,"45":8796937472444870656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 07:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499204864001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:55:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 07:55:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 07:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120612465607180288,"km_value":120612465607180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472444870656,"description":"Unknown IO ID 45"} 
[2026-08-19 07:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499204864001,"power":13450,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796937472444870656}} 
[2026-08-19 07:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":159934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:55:31] local.INFO: GPS data processed {"connection_id":159934,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:55:31] local.INFO: Acknowledgment sent {"connection_id":159934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:55:37] local.INFO: TCP Data received {"connection_id":157761,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:55:37] local.INFO: Processing buffer {"connection_id":157761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:55:37] local.INFO: Packet analysis {"connection_id":157761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:55:37] local.INFO: Extracted packet for processing {"connection_id":157761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499114496001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787106217000,"timestamp_ms":1787106217000,"timestamp_seconds":1787106217,"priority":1,"record_length":96,"hex_timestamp":"000001a017d4cc28"} 
[2026-08-19 07:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 07:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499114496001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499114496001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499114496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":157761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:55:37] local.INFO: GPS data processed {"connection_id":157761,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:55:37] local.INFO: Acknowledgment sent {"connection_id":157761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:56:00] local.INFO: TCP Data received {"connection_id":157381,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:56:00] local.INFO: Processing buffer {"connection_id":157381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:56:00] local.INFO: IMEI packet received {"connection_id":157381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":157381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:56:02] local.INFO: TCP Data received {"connection_id":159934,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d63b58012d7a150005e466300009010c27..."} 
[2026-08-19 07:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d63b58012d7a150005e466300009010c27..."} 
[2026-08-19 07:56:02] local.INFO: Processing buffer {"connection_id":159934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d63b58012d7a150005e466300009010c27..."} 
[2026-08-19 07:56:02] local.INFO: Packet analysis {"connection_id":159934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d6"} 
[2026-08-19 07:56:02] local.INFO: Extracted packet for processing {"connection_id":159934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d6"} 
[2026-08-19 07:56:02] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":98854448,"longitude_deg":76.2975488,"latitude_deg":9.8854448,"altitude":9,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05e46630","is_valid_coordinates":true} 
[2026-08-19 07:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499210240001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120612465607180288,"note":"Value kept but may cause issues"} 
[2026-08-19 07:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472444870656,"note":"Value kept but may cause issues"} 
[2026-08-19 07:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787106311000,"timestamp_ms":1787106311000,"timestamp_seconds":1787106311,"priority":1,"record_length":96,"hex_timestamp":"000001a017d63b58"} 
[2026-08-19 07:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-19 07:56:02] 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-08-19 07:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:56:02] 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-08-19 07:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499210240001,"66":13559,"102":206,"87":12288,"24":0,"16":120612465607180288,"45":8796937472444870656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 07:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499210240001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:56:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 07:56:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 07:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120612465607180288,"km_value":120612465607180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472444870656,"description":"Unknown IO ID 45"} 
[2026-08-19 07:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499210240001,"power":13559,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796937472444870656}} 
[2026-08-19 07:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":159934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:56:02] local.INFO: GPS data processed {"connection_id":159934,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:56:02] local.INFO: Acknowledgment sent {"connection_id":159934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:56:05] local.INFO: TCP Data received {"connection_id":157381,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:56:05] local.INFO: Processing buffer {"connection_id":157381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:56:05] local.INFO: IMEI packet received {"connection_id":157381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":157381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:56:06] local.INFO: TCP Data received {"connection_id":157381,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:56:06] local.INFO: Processing buffer {"connection_id":157381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:56:06] local.INFO: Packet analysis {"connection_id":157381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:56:06] local.INFO: Extracted packet for processing {"connection_id":157381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499114496001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787106217000,"timestamp_ms":1787106217000,"timestamp_seconds":1787106217,"priority":1,"record_length":96,"hex_timestamp":"000001a017d4cc28"} 
[2026-08-19 07:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 07:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499114496001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499114496001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:56:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:56:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499114496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":157381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:56:06] local.INFO: GPS data processed {"connection_id":157381,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:56:06] local.INFO: Acknowledgment sent {"connection_id":157381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:56:20] local.INFO: TCP Data received {"connection_id":157762,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:56:20] local.INFO: Processing buffer {"connection_id":157762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:56:20] local.INFO: IMEI packet received {"connection_id":157762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":157762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:56:27] local.INFO: TCP Data received {"connection_id":157762,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:56:27] local.INFO: Processing buffer {"connection_id":157762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:56:27] local.INFO: IMEI packet received {"connection_id":157762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":157762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:56:29] local.INFO: TCP Data received {"connection_id":157762,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d68d60012d7a150005e466300009010c27..."} 
[2026-08-19 07:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d68d60012d7a150005e466300009010c27..."} 
[2026-08-19 07:56:29] local.INFO: Processing buffer {"connection_id":157762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d68d60012d7a150005e466300009010c27..."} 
[2026-08-19 07:56:29] local.INFO: Packet analysis {"connection_id":157762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d6"} 
[2026-08-19 07:56:29] local.INFO: Extracted packet for processing {"connection_id":157762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d6"} 
[2026-08-19 07:56:29] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":98854448,"longitude_deg":76.2975488,"latitude_deg":9.8854448,"altitude":9,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05e46630","is_valid_coordinates":true} 
[2026-08-19 07:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499215616001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120612465607180288,"note":"Value kept but may cause issues"} 
[2026-08-19 07:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472444870656,"note":"Value kept but may cause issues"} 
[2026-08-19 07:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787106332000,"timestamp_ms":1787106332000,"timestamp_seconds":1787106332,"priority":1,"record_length":96,"hex_timestamp":"000001a017d68d60"} 
[2026-08-19 07:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:56:29] 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-08-19 07:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-19 07:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":157762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":157762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":157762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:56:29] 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-08-19 07:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499215616001,"66":13461,"102":206,"87":12288,"24":0,"16":120612465607180288,"45":8796937472444870656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 07:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499215616001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:56:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 07:56:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 07:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120612465607180288,"km_value":120612465607180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472444870656,"description":"Unknown IO ID 45"} 
[2026-08-19 07:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499215616001,"power":13461,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796937472444870656}} 
[2026-08-19 07:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":157762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:56:29] local.INFO: GPS data processed {"connection_id":157762,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:56:29] local.INFO: Acknowledgment sent {"connection_id":157762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:56:37] local.INFO: TCP Data received {"connection_id":157381,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:56:37] local.INFO: Processing buffer {"connection_id":157381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:56:37] local.INFO: Packet analysis {"connection_id":157381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:56:37] local.INFO: Extracted packet for processing {"connection_id":157381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499114496001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787106217000,"timestamp_ms":1787106217000,"timestamp_seconds":1787106217,"priority":1,"record_length":96,"hex_timestamp":"000001a017d4cc28"} 
[2026-08-19 07:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 07:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499114496001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499114496001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499114496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":157381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:56:37] local.INFO: GPS data processed {"connection_id":157381,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:56:37] local.INFO: Acknowledgment sent {"connection_id":157381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:57:00] local.INFO: TCP Data received {"connection_id":158648,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:57:00] local.INFO: Processing buffer {"connection_id":158648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:57:00] local.INFO: IMEI packet received {"connection_id":158648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":158648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:57:00] local.INFO: TCP Data received {"connection_id":157762,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d6df68012d7a150005e466300009010c27..."} 
[2026-08-19 07:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d6df68012d7a150005e466300009010c27..."} 
[2026-08-19 07:57:00] local.INFO: Processing buffer {"connection_id":157762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d6df68012d7a150005e466300009010c27..."} 
[2026-08-19 07:57:00] local.INFO: Packet analysis {"connection_id":157762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d6"} 
[2026-08-19 07:57:00] local.INFO: Extracted packet for processing {"connection_id":157762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d6"} 
[2026-08-19 07:57:00] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":98854448,"longitude_deg":76.2975488,"latitude_deg":9.8854448,"altitude":9,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05e46630","is_valid_coordinates":true} 
[2026-08-19 07:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499220992001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120612465607180288,"note":"Value kept but may cause issues"} 
[2026-08-19 07:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472444870656,"note":"Value kept but may cause issues"} 
[2026-08-19 07:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787106353000,"timestamp_ms":1787106353000,"timestamp_seconds":1787106353,"priority":1,"record_length":96,"hex_timestamp":"000001a017d6df68"} 
[2026-08-19 07:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-19 07:57:00] 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-08-19 07:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":157762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":157762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":157762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:57:00] 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-08-19 07:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499220992001,"66":13624,"102":206,"87":12288,"24":0,"16":120612465607180288,"45":8796937472444870656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 07:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499220992001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:57:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 07:57:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 07:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120612465607180288,"km_value":120612465607180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472444870656,"description":"Unknown IO ID 45"} 
[2026-08-19 07:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499220992001,"power":13624,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796937472444870656}} 
[2026-08-19 07:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":157762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:57:00] local.INFO: GPS data processed {"connection_id":157762,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:57:00] local.INFO: Acknowledgment sent {"connection_id":157762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:57:05] local.INFO: TCP Data received {"connection_id":158648,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:57:05] local.INFO: Processing buffer {"connection_id":158648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:57:05] local.INFO: IMEI packet received {"connection_id":158648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":158648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:57:06] local.INFO: TCP Data received {"connection_id":158648,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:57:06] local.INFO: Processing buffer {"connection_id":158648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:57:06] local.INFO: Packet analysis {"connection_id":158648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:57:06] local.INFO: Extracted packet for processing {"connection_id":158648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499114496001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787106217000,"timestamp_ms":1787106217000,"timestamp_seconds":1787106217,"priority":1,"record_length":96,"hex_timestamp":"000001a017d4cc28"} 
[2026-08-19 07:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 07:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499114496001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499114496001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:57:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499114496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":158648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:57:06] local.INFO: GPS data processed {"connection_id":158648,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:57:06] local.INFO: Acknowledgment sent {"connection_id":158648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:57:18] local.INFO: TCP Data received {"connection_id":157763,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:57:18] local.INFO: Processing buffer {"connection_id":157763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:57:18] local.INFO: IMEI packet received {"connection_id":157763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":157763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:57:20] local.INFO: TCP Data received {"connection_id":157763,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:57:20] local.INFO: Processing buffer {"connection_id":157763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:57:20] local.INFO: IMEI packet received {"connection_id":157763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":157763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:57:25] local.INFO: TCP Data received {"connection_id":157763,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:57:25] local.INFO: Processing buffer {"connection_id":157763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:57:25] local.INFO: IMEI packet received {"connection_id":157763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":157763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:57:26] local.INFO: TCP Data received {"connection_id":157763,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d73170012d7a150005e466300009010c28..."} 
[2026-08-19 07:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d73170012d7a150005e466300009010c28..."} 
[2026-08-19 07:57:26] local.INFO: Processing buffer {"connection_id":157763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d73170012d7a150005e466300009010c28..."} 
[2026-08-19 07:57:26] local.INFO: Packet analysis {"connection_id":157763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d7"} 
[2026-08-19 07:57:26] local.INFO: Extracted packet for processing {"connection_id":157763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d7"} 
[2026-08-19 07:57:26] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":98854448,"longitude_deg":76.2975488,"latitude_deg":9.8854448,"altitude":9,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05e46630","is_valid_coordinates":true} 
[2026-08-19 07:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499226368001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120612465607180288,"note":"Value kept but may cause issues"} 
[2026-08-19 07:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472444870656,"note":"Value kept but may cause issues"} 
[2026-08-19 07:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787106374000,"timestamp_ms":1787106374000,"timestamp_seconds":1787106374,"priority":1,"record_length":96,"hex_timestamp":"000001a017d73170"} 
[2026-08-19 07:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:57:26] 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-08-19 07:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-19 07:57:26] 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-08-19 07:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:57:26] 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-08-19 07:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499226368001,"66":13396,"102":206,"87":12288,"24":0,"16":120612465607180288,"45":8796937472444870656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 07:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499226368001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:57:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 07:57:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 07:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120612465607180288,"km_value":120612465607180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472444870656,"description":"Unknown IO ID 45"} 
[2026-08-19 07:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499226368001,"power":13396,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796937472444870656}} 
[2026-08-19 07:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":157763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:57:26] local.INFO: GPS data processed {"connection_id":157763,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:57:26] local.INFO: Acknowledgment sent {"connection_id":157763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:57:37] local.INFO: TCP Data received {"connection_id":158648,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:57:37] local.INFO: Processing buffer {"connection_id":158648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:57:37] local.INFO: Packet analysis {"connection_id":158648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:57:37] local.INFO: Extracted packet for processing {"connection_id":158648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499114496001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787106217000,"timestamp_ms":1787106217000,"timestamp_seconds":1787106217,"priority":1,"record_length":96,"hex_timestamp":"000001a017d4cc28"} 
[2026-08-19 07:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 07:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499114496001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499114496001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:57:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499114496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":158648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:57:37] local.INFO: GPS data processed {"connection_id":158648,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:57:37] local.INFO: Acknowledgment sent {"connection_id":158648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:57:58] local.INFO: TCP Data received {"connection_id":157763,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d78378012d7a150005e466300009010c26..."} 
[2026-08-19 07:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d78378012d7a150005e466300009010c26..."} 
[2026-08-19 07:57:58] local.INFO: Processing buffer {"connection_id":157763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d78378012d7a150005e466300009010c26..."} 
[2026-08-19 07:57:58] local.INFO: Packet analysis {"connection_id":157763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d7"} 
[2026-08-19 07:57:58] local.INFO: Extracted packet for processing {"connection_id":157763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d7"} 
[2026-08-19 07:57:58] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":98854448,"longitude_deg":76.2975488,"latitude_deg":9.8854448,"altitude":9,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05e46630","is_valid_coordinates":true} 
[2026-08-19 07:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499231744001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120612465607180288,"note":"Value kept but may cause issues"} 
[2026-08-19 07:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472444870656,"note":"Value kept but may cause issues"} 
[2026-08-19 07:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787106395000,"timestamp_ms":1787106395000,"timestamp_seconds":1787106395,"priority":1,"record_length":96,"hex_timestamp":"000001a017d78378"} 
[2026-08-19 07:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 07:57:58] 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-08-19 07:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:57:58] 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-08-19 07:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499231744001,"66":13656,"102":206,"87":12288,"24":0,"16":120612465607180288,"45":8796937472444870656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 07:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499231744001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:57:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 07:57:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 07:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120612465607180288,"km_value":120612465607180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472444870656,"description":"Unknown IO ID 45"} 
[2026-08-19 07:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499231744001,"power":13656,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796937472444870656}} 
[2026-08-19 07:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":157763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663368,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:57:58] local.INFO: GPS data processed {"connection_id":157763,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:57:58] local.INFO: Acknowledgment sent {"connection_id":157763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:58:00] local.INFO: TCP Data received {"connection_id":159935,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:58:00] local.INFO: Processing buffer {"connection_id":159935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:58:00] local.INFO: IMEI packet received {"connection_id":159935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":159935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:58:05] local.INFO: TCP Data received {"connection_id":159935,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:58:05] local.INFO: Processing buffer {"connection_id":159935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:58:05] local.INFO: IMEI packet received {"connection_id":159935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":159935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:58:06] local.INFO: TCP Data received {"connection_id":159935,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:58:06] local.INFO: Processing buffer {"connection_id":159935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:58:06] local.INFO: Packet analysis {"connection_id":159935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:58:06] local.INFO: Extracted packet for processing {"connection_id":159935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499114496001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787106217000,"timestamp_ms":1787106217000,"timestamp_seconds":1787106217,"priority":1,"record_length":96,"hex_timestamp":"000001a017d4cc28"} 
[2026-08-19 07:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 07:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:58:06] 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-08-19 07:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499114496001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499114496001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:58:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499114496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":159935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:58:06] local.INFO: GPS data processed {"connection_id":159935,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:58:06] local.INFO: Acknowledgment sent {"connection_id":159935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:58:20] local.INFO: TCP Data received {"connection_id":157382,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157382,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:58:20] local.INFO: Processing buffer {"connection_id":157382,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:58:20] local.INFO: IMEI packet received {"connection_id":157382,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":157382,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:58:21] local.INFO: TCP Data received {"connection_id":157382,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157382,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:58:21] local.INFO: Processing buffer {"connection_id":157382,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:58:21] local.INFO: IMEI packet received {"connection_id":157382,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":157382,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:58:25] local.INFO: TCP Data received {"connection_id":157382,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157382,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:58:25] local.INFO: Processing buffer {"connection_id":157382,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:58:25] local.INFO: IMEI packet received {"connection_id":157382,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":157382,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:58:26] local.INFO: TCP Data received {"connection_id":157382,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d7d580012d7a150005e466300009010c28..."} 
[2026-08-19 07:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d7d580012d7a150005e466300009010c28..."} 
[2026-08-19 07:58:26] local.INFO: Processing buffer {"connection_id":157382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d7d580012d7a150005e466300009010c28..."} 
[2026-08-19 07:58:26] local.INFO: Packet analysis {"connection_id":157382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d7"} 
[2026-08-19 07:58:26] local.INFO: Extracted packet for processing {"connection_id":157382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d7"} 
[2026-08-19 07:58:26] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":98854448,"longitude_deg":76.2975488,"latitude_deg":9.8854448,"altitude":9,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05e46630","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499237120001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120612465607180288,"note":"Value kept but may cause issues"} 
[2026-08-19 07:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472444870656,"note":"Value kept but may cause issues"} 
[2026-08-19 07:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787106416000,"timestamp_ms":1787106416000,"timestamp_seconds":1787106416,"priority":1,"record_length":96,"hex_timestamp":"000001a017d7d580"} 
[2026-08-19 07:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-19 07:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:58:26] 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-08-19 07:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499237120001,"66":13624,"102":206,"87":12288,"24":0,"16":120612465607180288,"45":8796937472444870656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 07:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499237120001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:58:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 07:58:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 07:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120612465607180288,"km_value":120612465607180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472444870656,"description":"Unknown IO ID 45"} 
[2026-08-19 07:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499237120001,"power":13624,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796937472444870656}} 
[2026-08-19 07:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":157382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:58:26] local.INFO: GPS data processed {"connection_id":157382,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:58:26] local.INFO: Acknowledgment sent {"connection_id":157382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:58:37] local.INFO: TCP Data received {"connection_id":159935,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:58:37] local.INFO: Processing buffer {"connection_id":159935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:58:37] local.INFO: Packet analysis {"connection_id":159935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:58:37] local.INFO: Extracted packet for processing {"connection_id":159935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499114496001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787106217000,"timestamp_ms":1787106217000,"timestamp_seconds":1787106217,"priority":1,"record_length":96,"hex_timestamp":"000001a017d4cc28"} 
[2026-08-19 07:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 07:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:58:37] 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-08-19 07:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499114496001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499114496001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:58:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499114496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":159935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:58:37] local.INFO: GPS data processed {"connection_id":159935,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:58:37] local.INFO: Acknowledgment sent {"connection_id":159935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:58:57] local.INFO: TCP Data received {"connection_id":157382,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d82788012d7a150005e466300009010c27..."} 
[2026-08-19 07:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d82788012d7a150005e466300009010c27..."} 
[2026-08-19 07:58:57] local.INFO: Processing buffer {"connection_id":157382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d82788012d7a150005e466300009010c27..."} 
[2026-08-19 07:58:57] local.INFO: Packet analysis {"connection_id":157382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d8"} 
[2026-08-19 07:58:57] local.INFO: Extracted packet for processing {"connection_id":157382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d8"} 
[2026-08-19 07:58:57] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":98854448,"longitude_deg":76.2975488,"latitude_deg":9.8854448,"altitude":9,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05e46630","is_valid_coordinates":true} 
[2026-08-19 07:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499242496001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120612465607180288,"note":"Value kept but may cause issues"} 
[2026-08-19 07:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472444870656,"note":"Value kept but may cause issues"} 
[2026-08-19 07:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787106437000,"timestamp_ms":1787106437000,"timestamp_seconds":1787106437,"priority":1,"record_length":96,"hex_timestamp":"000001a017d82788"} 
[2026-08-19 07:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-19 07:58:57] 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-08-19 07:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:58:57] 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-08-19 07:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499242496001,"66":13363,"102":206,"87":12288,"24":0,"16":120612465607180288,"45":8796937472444870656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 07:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499242496001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:58:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 07:58:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 07:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120612465607180288,"km_value":120612465607180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472444870656,"description":"Unknown IO ID 45"} 
[2026-08-19 07:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499242496001,"power":13363,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796937472444870656}} 
[2026-08-19 07:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":157382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:58:57] local.INFO: GPS data processed {"connection_id":157382,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:58:57] local.INFO: Acknowledgment sent {"connection_id":157382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:59:00] local.INFO: TCP Data received {"connection_id":158649,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:59:00] local.INFO: Processing buffer {"connection_id":158649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:59:00] local.INFO: IMEI packet received {"connection_id":158649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 07:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":158649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:59:05] local.INFO: TCP Data received {"connection_id":158649,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:59:05] local.INFO: Processing buffer {"connection_id":158649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 07:59:05] local.INFO: IMEI packet received {"connection_id":158649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 07:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":158649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:59:06] local.INFO: TCP Data received {"connection_id":158649,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:59:06] local.INFO: Processing buffer {"connection_id":158649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d4cc28012d34c50006aa40780009005928..."} 
[2026-08-19 07:59:06] local.INFO: Packet analysis {"connection_id":158649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:59:06] local.INFO: Extracted packet for processing {"connection_id":158649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d4"} 
[2026-08-19 07:59:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499114496001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787106217000,"timestamp_ms":1787106217000,"timestamp_seconds":1787106217,"priority":1,"record_length":96,"hex_timestamp":"000001a017d4cc28"} 
[2026-08-19 07:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 07:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499114496001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499114496001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:59:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:59:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499114496001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":158649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:59:06] local.INFO: GPS data processed {"connection_id":158649,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:59:06] local.INFO: Acknowledgment sent {"connection_id":158649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:59:20] local.INFO: TCP Data received {"connection_id":159936,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:59:20] local.INFO: Processing buffer {"connection_id":159936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:59:20] local.INFO: IMEI packet received {"connection_id":159936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 07:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":159936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 07:59:24] local.INFO: TCP Data received {"connection_id":159936,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:59:24] local.INFO: Processing buffer {"connection_id":159936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 07:59:24] local.INFO: IMEI packet received {"connection_id":159936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 07:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":159936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 07:59:25] local.INFO: TCP Data received {"connection_id":159936,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d87990012d7a150005e466300009010c27..."} 
[2026-08-19 07:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d87990012d7a150005e466300009010c27..."} 
[2026-08-19 07:59:25] local.INFO: Processing buffer {"connection_id":159936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d87990012d7a150005e466300009010c27..."} 
[2026-08-19 07:59:25] local.INFO: Packet analysis {"connection_id":159936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d8"} 
[2026-08-19 07:59:25] local.INFO: Extracted packet for processing {"connection_id":159936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d8"} 
[2026-08-19 07:59:25] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":98854448,"longitude_deg":76.2975488,"latitude_deg":9.8854448,"altitude":9,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05e46630","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499247872001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120612465607180288,"note":"Value kept but may cause issues"} 
[2026-08-19 07:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472444870656,"note":"Value kept but may cause issues"} 
[2026-08-19 07:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787106458000,"timestamp_ms":1787106458000,"timestamp_seconds":1787106458,"priority":1,"record_length":96,"hex_timestamp":"000001a017d87990"} 
[2026-08-19 07:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 07:59:25] 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-08-19 07: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-08-19 07:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:59:25] 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-08-19 07:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499247872001,"66":13765,"102":206,"87":12288,"24":0,"16":120612465607180288,"45":8796937472444870656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 07:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499247872001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:59:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 07:59:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 07:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120612465607180288,"km_value":120612465607180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472444870656,"description":"Unknown IO ID 45"} 
[2026-08-19 07:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499247872001,"power":13765,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796937472444870656}} 
[2026-08-19 07:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":159936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:59:25] local.INFO: GPS data processed {"connection_id":159936,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:59:25] local.INFO: Acknowledgment sent {"connection_id":159936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:59:38] local.INFO: TCP Data received {"connection_id":158649,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 07:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 07:59:38] local.INFO: Processing buffer {"connection_id":158649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 07:59:38] local.INFO: Packet analysis {"connection_id":158649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 07:59:38] local.INFO: Extracted packet for processing {"connection_id":158649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 07:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 07: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-08-19 07:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499191552001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 07:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 07:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787106518000,"timestamp_ms":1787106518000,"timestamp_seconds":1787106518,"priority":1,"record_length":96,"hex_timestamp":"000001a017d963f0"} 
[2026-08-19 07:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 07:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 07: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-08-19 07:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 07:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 07:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 07:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 07:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499191552001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 07:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 07:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 07:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499191552001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 07:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 07:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 07:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499191552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 07:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":158649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:59:38] local.INFO: GPS data processed {"connection_id":158649,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:59:38] local.INFO: Acknowledgment sent {"connection_id":158649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 07:59:57] local.INFO: TCP Data received {"connection_id":159936,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d8cb98012d7a150005e466300009010c28..."} 
[2026-08-19 07:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d8cb98012d7a150005e466300009010c28..."} 
[2026-08-19 07:59:57] local.INFO: Processing buffer {"connection_id":159936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d8cb98012d7a150005e466300009010c28..."} 
[2026-08-19 07:59:57] local.INFO: Packet analysis {"connection_id":159936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d8"} 
[2026-08-19 07:59:57] local.INFO: Extracted packet for processing {"connection_id":159936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d8"} 
[2026-08-19 07:59:57] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":98854448,"longitude_deg":76.2975488,"latitude_deg":9.8854448,"altitude":9,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05e46630","is_valid_coordinates":true} 
[2026-08-19 07:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 07:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499253248001,"note":"Value kept but may cause issues"} 
[2026-08-19 07:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120612465607180288,"note":"Value kept but may cause issues"} 
[2026-08-19 07:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472444870656,"note":"Value kept but may cause issues"} 
[2026-08-19 07:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 07:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787106479000,"timestamp_ms":1787106479000,"timestamp_seconds":1787106479,"priority":1,"record_length":96,"hex_timestamp":"000001a017d8cb98"} 
[2026-08-19 07:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 07:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 07:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-08-19 07:59:57] 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-08-19 07:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 07:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 07:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 07:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 07:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 07:59:57] 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-08-19 07:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 07:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 07:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499253248001,"66":13493,"102":206,"87":12288,"24":0,"16":120612465607180288,"45":8796937472444870656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 07:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 07:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 07:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499253248001,"description":"Unknown IO ID 0"} 
[2026-08-19 07:59:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 07:59:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 07:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120612465607180288,"km_value":120612465607180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 07:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472444870656,"description":"Unknown IO ID 45"} 
[2026-08-19 07:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499253248001,"power":13493,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796937472444870656}} 
[2026-08-19 07:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":159936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 07:59:57] local.INFO: GPS data processed {"connection_id":159936,"processed":1,"errors":0,"total":1} 
[2026-08-19 07:59:57] local.INFO: Acknowledgment sent {"connection_id":159936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:00:00] local.INFO: TCP Data received {"connection_id":157383,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:00:00] local.INFO: Processing buffer {"connection_id":157383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:00:00] local.INFO: IMEI packet received {"connection_id":157383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":157383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:00:06] local.INFO: TCP Data received {"connection_id":157383,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:00:06] local.INFO: Processing buffer {"connection_id":157383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:00:06] local.INFO: IMEI packet received {"connection_id":157383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":157383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:00:07] local.INFO: TCP Data received {"connection_id":157383,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:00:07] local.INFO: Processing buffer {"connection_id":157383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:00:07] local.INFO: Packet analysis {"connection_id":157383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:00:07] local.INFO: Extracted packet for processing {"connection_id":157383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499191552001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787106518000,"timestamp_ms":1787106518000,"timestamp_seconds":1787106518,"priority":1,"record_length":96,"hex_timestamp":"000001a017d963f0"} 
[2026-08-19 08:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 08:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:00:07] 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-08-19 08:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499191552001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499191552001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:00:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:00:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499191552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":157383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:00:07] local.INFO: GPS data processed {"connection_id":157383,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:00:07] local.INFO: Acknowledgment sent {"connection_id":157383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:00:20] local.INFO: TCP Data received {"connection_id":158650,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:00:20] local.INFO: Processing buffer {"connection_id":158650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:00:20] local.INFO: IMEI packet received {"connection_id":158650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":158650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:00:25] local.INFO: TCP Data received {"connection_id":158650,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:00:25] local.INFO: Processing buffer {"connection_id":158650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:00:25] local.INFO: IMEI packet received {"connection_id":158650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":158650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:00:26] local.INFO: TCP Data received {"connection_id":158650,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d91da0012d7a150005e466300009010c29..."} 
[2026-08-19 08:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d91da0012d7a150005e466300009010c29..."} 
[2026-08-19 08:00:26] local.INFO: Processing buffer {"connection_id":158650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d91da0012d7a150005e466300009010c29..."} 
[2026-08-19 08:00:26] local.INFO: Packet analysis {"connection_id":158650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:00:26] local.INFO: Extracted packet for processing {"connection_id":158650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:00:26] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":98854448,"longitude_deg":76.2975488,"latitude_deg":9.8854448,"altitude":9,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05e46630","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499258624001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120612465607180288,"note":"Value kept but may cause issues"} 
[2026-08-19 08:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472444870656,"note":"Value kept but may cause issues"} 
[2026-08-19 08:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787106500000,"timestamp_ms":1787106500000,"timestamp_seconds":1787106500,"priority":1,"record_length":96,"hex_timestamp":"000001a017d91da0"} 
[2026-08-19 08:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-19 08:00:26] 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-08-19 08: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-08-19 08:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:00:26] 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-08-19 08:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499258624001,"66":13656,"102":206,"87":12288,"24":0,"16":120612465607180288,"45":8796937472444870656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 08:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499258624001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:00:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 08:00:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120612465607180288,"km_value":120612465607180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472444870656,"description":"Unknown IO ID 45"} 
[2026-08-19 08:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499258624001,"power":13656,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796937472444870656}} 
[2026-08-19 08:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":158650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:00:26] local.INFO: GPS data processed {"connection_id":158650,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:00:26] local.INFO: Acknowledgment sent {"connection_id":158650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:00:38] local.INFO: TCP Data received {"connection_id":157383,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:00:38] local.INFO: Processing buffer {"connection_id":157383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:00:38] local.INFO: Packet analysis {"connection_id":157383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:00:38] local.INFO: Extracted packet for processing {"connection_id":157383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499191552001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787106518000,"timestamp_ms":1787106518000,"timestamp_seconds":1787106518,"priority":1,"record_length":96,"hex_timestamp":"000001a017d963f0"} 
[2026-08-19 08:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 08:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:00:38] 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-08-19 08:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499191552001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499191552001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:00:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499191552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":157383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:00:38] local.INFO: GPS data processed {"connection_id":157383,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:00:38] local.INFO: Acknowledgment sent {"connection_id":157383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:00:57] local.INFO: TCP Data received {"connection_id":158650,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017d96fa8012d7a150005e466300009010c27..."} 
[2026-08-19 08:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d96fa8012d7a150005e466300009010c27..."} 
[2026-08-19 08:00:57] local.INFO: Processing buffer {"connection_id":158650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d96fa8012d7a150005e466300009010c27..."} 
[2026-08-19 08:00:57] local.INFO: Packet analysis {"connection_id":158650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:00:57] local.INFO: Extracted packet for processing {"connection_id":158650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:00:57] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":98854448,"longitude_deg":76.2975488,"latitude_deg":9.8854448,"altitude":9,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d7a1500","hex_latitude":"05e46630","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499264000001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120612465607180288,"note":"Value kept but may cause issues"} 
[2026-08-19 08:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472444870656,"note":"Value kept but may cause issues"} 
[2026-08-19 08:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787106521000,"timestamp_ms":1787106521000,"timestamp_seconds":1787106521,"priority":1,"record_length":96,"hex_timestamp":"000001a017d96fa8"} 
[2026-08-19 08:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-19 08:00:57] 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-08-19 08: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-08-19 08:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":158650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":158650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":158650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:00:57] 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-08-19 08:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499264000001,"66":13646,"102":206,"87":12288,"24":0,"16":120612465607180288,"45":8796937472444870656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 08:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499264000001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:00:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 08:00:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120612465607180288,"km_value":120612465607180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472444870656,"description":"Unknown IO ID 45"} 
[2026-08-19 08:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499264000001,"power":13646,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8796937472444870656}} 
[2026-08-19 08:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":158650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:00:58] local.INFO: GPS data processed {"connection_id":158650,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:00:58] local.INFO: Acknowledgment sent {"connection_id":158650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:01:01] local.INFO: TCP Data received {"connection_id":157764,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:01:01] local.INFO: Processing buffer {"connection_id":157764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:01:01] local.INFO: IMEI packet received {"connection_id":157764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":157764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:01:05] local.INFO: TCP Data received {"connection_id":157764,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:01:05] local.INFO: Processing buffer {"connection_id":157764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:01:05] local.INFO: IMEI packet received {"connection_id":157764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":157764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:01:06] local.INFO: TCP Data received {"connection_id":157764,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:01:06] local.INFO: Processing buffer {"connection_id":157764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:01:06] local.INFO: Packet analysis {"connection_id":157764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:01:06] local.INFO: Extracted packet for processing {"connection_id":157764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:01:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499191552001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787106518000,"timestamp_ms":1787106518000,"timestamp_seconds":1787106518,"priority":1,"record_length":96,"hex_timestamp":"000001a017d963f0"} 
[2026-08-19 08:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 08:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:01:06] 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-08-19 08:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499191552001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499191552001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:01:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499191552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":157764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:01:06] local.INFO: GPS data processed {"connection_id":157764,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:01:06] local.INFO: Acknowledgment sent {"connection_id":157764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:01:20] local.INFO: TCP Data received {"connection_id":157384,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:01:20] local.INFO: Processing buffer {"connection_id":157384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:01:20] local.INFO: IMEI packet received {"connection_id":157384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":157384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:01:26] local.INFO: TCP Data received {"connection_id":157384,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:01:26] local.INFO: Processing buffer {"connection_id":157384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:01:26] local.INFO: IMEI packet received {"connection_id":157384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":157384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:01:27] local.INFO: TCP Data received {"connection_id":157384,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017db9670012d79d30005e45f68000a000f29..."} 
[2026-08-19 08:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017db9670012d79d30005e45f68000a000f29..."} 
[2026-08-19 08:01:27] local.INFO: Processing buffer {"connection_id":157384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017db9670012d79d30005e45f68000a000f29..."} 
[2026-08-19 08:01:27] local.INFO: Packet analysis {"connection_id":157384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017db"} 
[2026-08-19 08:01:27] local.INFO: Extracted packet for processing {"connection_id":157384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017db"} 
[2026-08-19 08:01:27] local.INFO: GPS Element Parsed {"raw_longitude":762958592,"raw_latitude":98852712,"longitude_deg":76.2958592,"latitude_deg":9.8852712,"altitude":10,"angle":15,"satellites":41,"speed":3,"hex_longitude":"2d79d300","hex_latitude":"05e45f68","is_valid_coordinates":true} 
[2026-08-19 08:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499300608001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120613346075475968,"note":"Value kept but may cause issues"} 
[2026-08-19 08:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778360123981623296,"note":"Value kept but may cause issues"} 
[2026-08-19 08:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787106662000,"timestamp_ms":1787106662000,"timestamp_seconds":1787106662,"priority":1,"record_length":96,"hex_timestamp":"000001a017db9670"} 
[2026-08-19 08:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:01:27] 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-08-19 08:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-19 08:01:27] 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-08-19 08:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:01:27] 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-08-19 08:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499300608001,"66":13624,"102":206,"87":12288,"24":3,"16":120613346075475968,"45":8778360123981623296},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 08:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499300608001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:01:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 08:01:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120613346075475968,"km_value":120613346075475.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778360123981623296,"description":"Unknown IO ID 45"} 
[2026-08-19 08:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499300608001,"power":13624,"unknown_102":206,"unknown_87":12288,"ignition":3,"odometer":null,"unknown_45":8778360123981623296}} 
[2026-08-19 08:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":157384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:01:27] local.INFO: GPS data processed {"connection_id":157384,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:01:27] local.INFO: Acknowledgment sent {"connection_id":157384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:01:38] local.INFO: TCP Data received {"connection_id":157764,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:01:38] local.INFO: Processing buffer {"connection_id":157764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:01:38] local.INFO: Packet analysis {"connection_id":157764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:01:38] local.INFO: Extracted packet for processing {"connection_id":157764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499191552001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787106518000,"timestamp_ms":1787106518000,"timestamp_seconds":1787106518,"priority":1,"record_length":96,"hex_timestamp":"000001a017d963f0"} 
[2026-08-19 08:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 08:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:01:38] 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-08-19 08:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499191552001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499191552001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:01:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499191552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":157764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:01:38] local.INFO: GPS data processed {"connection_id":157764,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:01:38] local.INFO: Acknowledgment sent {"connection_id":157764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:01:58] local.INFO: TCP Data received {"connection_id":157384,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017db9e40012d79d3c005e46000000a003527..."} 
[2026-08-19 08:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017db9e40012d79d3c005e46000000a003527..."} 
[2026-08-19 08:01:58] local.INFO: Processing buffer {"connection_id":157384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017db9e40012d79d3c005e46000000a003527..."} 
[2026-08-19 08:01:58] local.INFO: Packet analysis {"connection_id":157384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017db"} 
[2026-08-19 08:01:58] local.INFO: Extracted packet for processing {"connection_id":157384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017db"} 
[2026-08-19 08:01:58] local.INFO: GPS Element Parsed {"raw_longitude":762958784,"raw_latitude":98852864,"longitude_deg":76.2958784,"latitude_deg":9.8852864,"altitude":10,"angle":53,"satellites":39,"speed":4,"hex_longitude":"2d79d3c0","hex_latitude":"05e46000","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499305472001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120613358960377856,"note":"Value kept but may cause issues"} 
[2026-08-19 08:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778360123981522944,"note":"Value kept but may cause issues"} 
[2026-08-19 08:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787106664000,"timestamp_ms":1787106664000,"timestamp_seconds":1787106664,"priority":1,"record_length":96,"hex_timestamp":"000001a017db9e40"} 
[2026-08-19 08:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:01:58] 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-08-19 08:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-19 08:01:58] 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-08-19 08: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-08-19 08:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:01:58] 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-08-19 08:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499305472001,"66":13374,"102":206,"87":12288,"24":4,"16":120613358960377856,"45":8778360123981522944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 08:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499305472001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:01:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 08:01:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120613358960377856,"km_value":120613358960377.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778360123981522944,"description":"Unknown IO ID 45"} 
[2026-08-19 08:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499305472001,"power":13374,"unknown_102":206,"unknown_87":12288,"ignition":4,"odometer":null,"unknown_45":8778360123981522944}} 
[2026-08-19 08:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":157384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:01:58] local.INFO: GPS data processed {"connection_id":157384,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:01:58] local.INFO: Acknowledgment sent {"connection_id":157384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:02:00] local.INFO: TCP Data received {"connection_id":159937,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:02:00] local.INFO: Processing buffer {"connection_id":159937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:02:00] local.INFO: IMEI packet received {"connection_id":159937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":159937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:02:05] local.INFO: TCP Data received {"connection_id":159937,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:02:05] local.INFO: Processing buffer {"connection_id":159937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:02:05] local.INFO: IMEI packet received {"connection_id":159937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":159937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:02:07] local.INFO: TCP Data received {"connection_id":159937,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:02:07] local.INFO: Processing buffer {"connection_id":159937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:02:07] local.INFO: Packet analysis {"connection_id":159937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:02:07] local.INFO: Extracted packet for processing {"connection_id":159937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499191552001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787106518000,"timestamp_ms":1787106518000,"timestamp_seconds":1787106518,"priority":1,"record_length":96,"hex_timestamp":"000001a017d963f0"} 
[2026-08-19 08:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 08:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:02:07] 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-08-19 08:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499191552001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499191552001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:02:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:02:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499191552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":159937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:02:07] local.INFO: GPS data processed {"connection_id":159937,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:02:07] local.INFO: Acknowledgment sent {"connection_id":159937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:02:26] local.INFO: TCP Data received {"connection_id":157765,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:02:26] local.INFO: Processing buffer {"connection_id":157765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:02:26] local.INFO: IMEI packet received {"connection_id":157765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":157765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:02:31] local.INFO: TCP Data received {"connection_id":157765,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157765,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:02:31] local.INFO: Processing buffer {"connection_id":157765,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:02:31] local.INFO: IMEI packet received {"connection_id":157765,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":157765,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:02:31] local.INFO: TCP Data received {"connection_id":157765,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a017dba228012d79d40005e46040000a004528..."} 
[2026-08-19 08:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017dba228012d79d40005e46040000a004528..."} 
[2026-08-19 08:02:31] local.INFO: Processing buffer {"connection_id":157765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017dba228012d79d40005e46040000a004528..."} 
[2026-08-19 08:02:31] local.INFO: Packet analysis {"connection_id":157765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017db"} 
[2026-08-19 08:02:31] local.INFO: Extracted packet for processing {"connection_id":157765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017db"} 
[2026-08-19 08:02:31] local.INFO: GPS Element Parsed {"raw_longitude":762958848,"raw_latitude":98852928,"longitude_deg":76.2958848,"latitude_deg":9.8852928,"altitude":10,"angle":69,"satellites":40,"speed":4,"hex_longitude":"2d79d400","hex_latitude":"05e46040","is_valid_coordinates":true} 
[2026-08-19 08:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499305984001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120613363255345152,"note":"Value kept but may cause issues"} 
[2026-08-19 08:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778571230214094848,"note":"Value kept but may cause issues"} 
[2026-08-19 08:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787106665000,"timestamp_ms":1787106665000,"timestamp_seconds":1787106665,"priority":1,"record_length":96,"hex_timestamp":"000001a017dba228"} 
[2026-08-19 08:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:02: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-08-19 08:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 08:02: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-08-19 08:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":157765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":157765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":157765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:02:31] 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-08-19 08:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499305984001,"66":13374,"102":206,"87":12288,"24":4,"16":120613363255345152,"45":8778571230214094848},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 08:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499305984001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:02:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 08:02:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120613363255345152,"km_value":120613363255345.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778571230214094848,"description":"Unknown IO ID 45"} 
[2026-08-19 08:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499305984001,"power":13374,"unknown_102":206,"unknown_87":12288,"ignition":4,"odometer":null,"unknown_45":8778571230214094848}} 
[2026-08-19 08:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":157765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:02:32] local.INFO: GPS data processed {"connection_id":157765,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:02:32] local.INFO: Acknowledgment sent {"connection_id":157765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:02:37] local.INFO: TCP Data received {"connection_id":157765,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a017dba610012d79d44005e46060000b005a28..."} 
[2026-08-19 08:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017dba610012d79d44005e46060000b005a28..."} 
[2026-08-19 08:02:37] local.INFO: Processing buffer {"connection_id":157765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017dba610012d79d44005e46060000b005a28..."} 
[2026-08-19 08:02:37] local.INFO: Packet analysis {"connection_id":157765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017db"} 
[2026-08-19 08:02:37] local.INFO: Extracted packet for processing {"connection_id":157765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017db"} 
[2026-08-19 08:02:37] local.INFO: GPS Element Parsed {"raw_longitude":762958912,"raw_latitude":98852960,"longitude_deg":76.2958912,"latitude_deg":9.885296,"altitude":11,"angle":90,"satellites":40,"speed":3,"hex_longitude":"2d79d440","hex_latitude":"05e46060","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499306240001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120613367550312448,"note":"Value kept but may cause issues"} 
[2026-08-19 08:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778641598958288896,"note":"Value kept but may cause issues"} 
[2026-08-19 08:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787106666000,"timestamp_ms":1787106666000,"timestamp_seconds":1787106666,"priority":1,"record_length":96,"hex_timestamp":"000001a017dba610"} 
[2026-08-19 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-08-19 08:02: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-08-19 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 08:02:37] 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-08-19 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-08-19 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-08-19 08:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157765,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:02:37] 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-08-19 08:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499306240001,"66":13450,"102":206,"87":12288,"24":3,"16":120613367550312448,"45":8778641598958288896},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 08:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499306240001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:02:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 08:02:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120613367550312448,"km_value":120613367550312.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778641598958288896,"description":"Unknown IO ID 45"} 
[2026-08-19 08:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499306240001,"power":13450,"unknown_102":206,"unknown_87":12288,"ignition":3,"odometer":null,"unknown_45":8778641598958288896}} 
[2026-08-19 08:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":157765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:02:37] local.INFO: GPS data processed {"connection_id":157765,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:02:37] local.INFO: Acknowledgment sent {"connection_id":157765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:02:38] local.INFO: TCP Data received {"connection_id":159937,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:02:38] local.INFO: Processing buffer {"connection_id":159937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:02:38] local.INFO: Packet analysis {"connection_id":159937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:02:38] local.INFO: Extracted packet for processing {"connection_id":159937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499191552001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787106518000,"timestamp_ms":1787106518000,"timestamp_seconds":1787106518,"priority":1,"record_length":96,"hex_timestamp":"000001a017d963f0"} 
[2026-08-19 08:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 08:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:02:38] 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-08-19 08:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499191552001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499191552001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:02:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499191552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":159937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:02:38] local.INFO: GPS data processed {"connection_id":159937,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:02:38] local.INFO: Acknowledgment sent {"connection_id":159937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:03:00] local.INFO: TCP Data received {"connection_id":158651,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:03:00] local.INFO: Processing buffer {"connection_id":158651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:03:00] local.INFO: IMEI packet received {"connection_id":158651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":158651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:03:05] local.INFO: TCP Data received {"connection_id":158651,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:03:05] local.INFO: Processing buffer {"connection_id":158651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:03:05] local.INFO: IMEI packet received {"connection_id":158651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":158651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:03:10] local.INFO: TCP Data received {"connection_id":158651,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:03:10] local.INFO: Processing buffer {"connection_id":158651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:03:10] local.INFO: Packet analysis {"connection_id":158651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:03:10] local.INFO: Extracted packet for processing {"connection_id":158651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499191552001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787106518000,"timestamp_ms":1787106518000,"timestamp_seconds":1787106518,"priority":1,"record_length":96,"hex_timestamp":"000001a017d963f0"} 
[2026-08-19 08:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 08:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499191552001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499191552001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:03:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499191552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":158651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:03:10] local.INFO: GPS data processed {"connection_id":158651,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:03:10] local.INFO: Acknowledgment sent {"connection_id":158651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:03:20] local.INFO: TCP Data received {"connection_id":159938,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:03:20] local.INFO: Processing buffer {"connection_id":159938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:03:20] local.INFO: IMEI packet received {"connection_id":159938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":159938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:03:25] local.INFO: TCP Data received {"connection_id":159938,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:03:25] local.INFO: Processing buffer {"connection_id":159938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:03:25] local.INFO: IMEI packet received {"connection_id":159938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":159938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:03:26] local.INFO: TCP Data received {"connection_id":159938,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017dbec60012d79d44005e46200000d007128..."} 
[2026-08-19 08:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017dbec60012d79d44005e46200000d007128..."} 
[2026-08-19 08:03:26] local.INFO: Processing buffer {"connection_id":159938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017dbec60012d79d44005e46200000d007128..."} 
[2026-08-19 08:03:26] local.INFO: Packet analysis {"connection_id":159938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017db"} 
[2026-08-19 08:03:26] local.INFO: Extracted packet for processing {"connection_id":159938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017db"} 
[2026-08-19 08:03:26] local.INFO: GPS Element Parsed {"raw_longitude":762958912,"raw_latitude":98853376,"longitude_deg":76.2958912,"latitude_deg":9.8853376,"altitude":13,"angle":113,"satellites":40,"speed":2,"hex_longitude":"2d79d440","hex_latitude":"05e46200","is_valid_coordinates":true} 
[2026-08-19 08:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499306496001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120613389025148928,"note":"Value kept but may cause issues"} 
[2026-08-19 08:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778711967702474752,"note":"Value kept but may cause issues"} 
[2026-08-19 08:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787106684000,"timestamp_ms":1787106684000,"timestamp_seconds":1787106684,"priority":1,"record_length":96,"hex_timestamp":"000001a017dbec60"} 
[2026-08-19 08:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:03:26] 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-08-19 08:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-19 08:03:26] 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-08-19 08:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:03:26] 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-08-19 08:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499306496001,"66":13526,"102":206,"87":12288,"24":2,"16":120613389025148928,"45":8778711967702474752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 08:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499306496001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:03:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 08:03:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120613389025148928,"km_value":120613389025148.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778711967702474752,"description":"Unknown IO ID 45"} 
[2026-08-19 08:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499306496001,"power":13526,"unknown_102":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8778711967702474752}} 
[2026-08-19 08:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":159938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:03:26] local.INFO: GPS data processed {"connection_id":159938,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:03:26] local.INFO: Acknowledgment sent {"connection_id":159938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:03:41] local.INFO: TCP Data received {"connection_id":158651,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:03:41] local.INFO: Processing buffer {"connection_id":158651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:03:41] local.INFO: Packet analysis {"connection_id":158651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:03:41] local.INFO: Extracted packet for processing {"connection_id":158651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:03:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499191552001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787106518000,"timestamp_ms":1787106518000,"timestamp_seconds":1787106518,"priority":1,"record_length":96,"hex_timestamp":"000001a017d963f0"} 
[2026-08-19 08:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 08:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499191552001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499191552001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:03:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:03:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499191552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":158651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:03:41] local.INFO: GPS data processed {"connection_id":158651,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:03:41] local.INFO: Acknowledgment sent {"connection_id":158651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:03:58] local.INFO: TCP Data received {"connection_id":159938,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017dc0ba0012d79d44005e46228000c011a28..."} 
[2026-08-19 08:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017dc0ba0012d79d44005e46228000c011a28..."} 
[2026-08-19 08:03:58] local.INFO: Processing buffer {"connection_id":159938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017dc0ba0012d79d44005e46228000c011a28..."} 
[2026-08-19 08:03:58] local.INFO: Packet analysis {"connection_id":159938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017dc"} 
[2026-08-19 08:03:58] local.INFO: Extracted packet for processing {"connection_id":159938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017dc"} 
[2026-08-19 08:03:58] local.INFO: GPS Element Parsed {"raw_longitude":762958912,"raw_latitude":98853416,"longitude_deg":76.2958912,"latitude_deg":9.8853416,"altitude":12,"angle":282,"satellites":40,"speed":2,"hex_longitude":"2d79d440","hex_latitude":"05e46228","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499311104001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120613406205018112,"note":"Value kept but may cause issues"} 
[2026-08-19 08:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778711967702581248,"note":"Value kept but may cause issues"} 
[2026-08-19 08:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787106692000,"timestamp_ms":1787106692000,"timestamp_seconds":1787106692,"priority":1,"record_length":96,"hex_timestamp":"000001a017dc0ba0"} 
[2026-08-19 08:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:03:58] 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-08-19 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-19 08:03:58] 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-08-19 08: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-08-19 08:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:03:58] 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-08-19 08:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499311104001,"66":13559,"102":206,"87":12288,"24":2,"16":120613406205018112,"45":8778711967702581248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 08:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499311104001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:03:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 08:03:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120613406205018112,"km_value":120613406205018.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778711967702581248,"description":"Unknown IO ID 45"} 
[2026-08-19 08:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499311104001,"power":13559,"unknown_102":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8778711967702581248}} 
[2026-08-19 08:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":159938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:03:58] local.INFO: GPS data processed {"connection_id":159938,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:03:58] local.INFO: Acknowledgment sent {"connection_id":159938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:04:00] local.INFO: TCP Data received {"connection_id":157766,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:04:00] local.INFO: Processing buffer {"connection_id":157766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:04:00] local.INFO: IMEI packet received {"connection_id":157766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":157766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:04:05] local.INFO: TCP Data received {"connection_id":157766,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:04:05] local.INFO: Processing buffer {"connection_id":157766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:04:05] local.INFO: IMEI packet received {"connection_id":157766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":157766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:04:06] local.INFO: TCP Data received {"connection_id":157766,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:04:06] local.INFO: Processing buffer {"connection_id":157766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017d963f0012d34c50006aa40780009005927..."} 
[2026-08-19 08:04:06] local.INFO: Packet analysis {"connection_id":157766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:04:06] local.INFO: Extracted packet for processing {"connection_id":157766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017d9"} 
[2026-08-19 08:04:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499191552001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787106518000,"timestamp_ms":1787106518000,"timestamp_seconds":1787106518,"priority":1,"record_length":96,"hex_timestamp":"000001a017d963f0"} 
[2026-08-19 08:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 08:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499191552001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499191552001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:04:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:04:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499191552001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":157766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:04:06] local.INFO: GPS data processed {"connection_id":157766,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:04:06] local.INFO: Acknowledgment sent {"connection_id":157766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:04:20] local.INFO: TCP Data received {"connection_id":157385,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:04:20] local.INFO: Processing buffer {"connection_id":157385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:04:20] local.INFO: IMEI packet received {"connection_id":157385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":157385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:04:27] local.INFO: TCP Data received {"connection_id":157385,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:04:27] local.INFO: Processing buffer {"connection_id":157385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:04:27] local.INFO: IMEI packet received {"connection_id":157385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":157385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:04:28] local.INFO: TCP Data received {"connection_id":157385,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017dc2ae0012d79d34005e462d8000c012b28..."} 
[2026-08-19 08:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017dc2ae0012d79d34005e462d8000c012b28..."} 
[2026-08-19 08:04:28] local.INFO: Processing buffer {"connection_id":157385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017dc2ae0012d79d34005e462d8000c012b28..."} 
[2026-08-19 08:04:28] local.INFO: Packet analysis {"connection_id":157385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017dc"} 
[2026-08-19 08:04:28] local.INFO: Extracted packet for processing {"connection_id":157385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017dc"} 
[2026-08-19 08:04:28] local.INFO: GPS Element Parsed {"raw_longitude":762958656,"raw_latitude":98853592,"longitude_deg":76.2958656,"latitude_deg":9.8853592,"altitude":12,"angle":299,"satellites":40,"speed":2,"hex_longitude":"2d79d340","hex_latitude":"05e462d8","is_valid_coordinates":true} 
[2026-08-19 08:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499313152001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120613423384887296,"note":"Value kept but may cause issues"} 
[2026-08-19 08:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778711967702591488,"note":"Value kept but may cause issues"} 
[2026-08-19 08:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787106700000,"timestamp_ms":1787106700000,"timestamp_seconds":1787106700,"priority":1,"record_length":96,"hex_timestamp":"000001a017dc2ae0"} 
[2026-08-19 08:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:04:28] 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-08-19 08:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-19 08:04:28] 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-08-19 08:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":157385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":157385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":157385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:04:28] 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-08-19 08:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499313152001,"66":13374,"102":206,"87":12288,"24":2,"16":120613423384887296,"45":8778711967702591488},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 08:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499313152001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:04:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 08:04:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120613423384887296,"km_value":120613423384887.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778711967702591488,"description":"Unknown IO ID 45"} 
[2026-08-19 08:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499313152001,"power":13374,"unknown_102":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8778711967702591488}} 
[2026-08-19 08:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":157385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:04:28] local.INFO: GPS data processed {"connection_id":157385,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:04:28] local.INFO: Acknowledgment sent {"connection_id":157385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:04:37] local.INFO: TCP Data received {"connection_id":157766,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:04:37] local.INFO: Processing buffer {"connection_id":157766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:04:37] local.INFO: Packet analysis {"connection_id":157766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:04:37] local.INFO: Extracted packet for processing {"connection_id":157766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499268608001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787106819000,"timestamp_ms":1787106819000,"timestamp_seconds":1787106819,"priority":1,"record_length":96,"hex_timestamp":"000001a017ddfbb8"} 
[2026-08-19 08:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:04: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-08-19 08:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499268608001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499268608001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499268608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":157766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:04:37] local.INFO: GPS data processed {"connection_id":157766,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:04:37] local.INFO: Acknowledgment sent {"connection_id":157766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:04:59] local.INFO: TCP Data received {"connection_id":157385,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017dc2ec8012d79d34005e46300000c014228..."} 
[2026-08-19 08:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017dc2ec8012d79d34005e46300000c014228..."} 
[2026-08-19 08:04:59] local.INFO: Processing buffer {"connection_id":157385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017dc2ec8012d79d34005e46300000c014228..."} 
[2026-08-19 08:04:59] local.INFO: Packet analysis {"connection_id":157385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017dc"} 
[2026-08-19 08:04:59] local.INFO: Extracted packet for processing {"connection_id":157385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017dc"} 
[2026-08-19 08:04:59] local.INFO: GPS Element Parsed {"raw_longitude":762958656,"raw_latitude":98853632,"longitude_deg":76.2958656,"latitude_deg":9.8853632,"altitude":12,"angle":322,"satellites":40,"speed":2,"hex_longitude":"2d79d340","hex_latitude":"05e46300","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499315200001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120613423384887296,"note":"Value kept but may cause issues"} 
[2026-08-19 08:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778430492725925888,"note":"Value kept but may cause issues"} 
[2026-08-19 08:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787106701000,"timestamp_ms":1787106701000,"timestamp_seconds":1787106701,"priority":1,"record_length":96,"hex_timestamp":"000001a017dc2ec8"} 
[2026-08-19 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-08-19 08:04:59] 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-08-19 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 08:04: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-08-19 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-08-19 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-08-19 08:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":157385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":157385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":157385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:04:59] 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-08-19 08:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499315200001,"66":13515,"102":206,"87":12288,"24":2,"16":120613423384887296,"45":8778430492725925888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 08:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499315200001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:04:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 08:04:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120613423384887296,"km_value":120613423384887.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778430492725925888,"description":"Unknown IO ID 45"} 
[2026-08-19 08:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499315200001,"power":13515,"unknown_102":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8778430492725925888}} 
[2026-08-19 08:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":157385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:04:59] local.INFO: GPS data processed {"connection_id":157385,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:04:59] local.INFO: Acknowledgment sent {"connection_id":157385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:05:00] local.INFO: TCP Data received {"connection_id":158652,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:05:00] local.INFO: Processing buffer {"connection_id":158652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:05:00] local.INFO: IMEI packet received {"connection_id":158652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":158652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:05:05] local.INFO: TCP Data received {"connection_id":158652,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:05:05] local.INFO: Processing buffer {"connection_id":158652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:05:05] local.INFO: IMEI packet received {"connection_id":158652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":158652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:05:07] local.INFO: TCP Data received {"connection_id":158652,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:05:07] local.INFO: Processing buffer {"connection_id":158652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:05:07] local.INFO: Packet analysis {"connection_id":158652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:05:07] local.INFO: Extracted packet for processing {"connection_id":158652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499268608001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787106819000,"timestamp_ms":1787106819000,"timestamp_seconds":1787106819,"priority":1,"record_length":96,"hex_timestamp":"000001a017ddfbb8"} 
[2026-08-19 08:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:05: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-08-19 08:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:05:07] 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-08-19 08:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499268608001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499268608001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:05:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:05:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499268608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":158652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:05:07] local.INFO: GPS data processed {"connection_id":158652,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:05:07] local.INFO: Acknowledgment sent {"connection_id":158652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:05:20] local.INFO: TCP Data received {"connection_id":157386,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:05:20] local.INFO: Processing buffer {"connection_id":157386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:05:20] local.INFO: IMEI packet received {"connection_id":157386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":157386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:05:25] local.INFO: TCP Data received {"connection_id":157386,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:05:25] local.INFO: Processing buffer {"connection_id":157386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:05:25] local.INFO: IMEI packet received {"connection_id":157386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":157386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:05:26] local.INFO: TCP Data received {"connection_id":157386,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017dc3e68012d79d30005e463a8000c015028..."} 
[2026-08-19 08:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017dc3e68012d79d30005e463a8000c015028..."} 
[2026-08-19 08:05:26] local.INFO: Processing buffer {"connection_id":157386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017dc3e68012d79d30005e463a8000c015028..."} 
[2026-08-19 08:05:26] local.INFO: Packet analysis {"connection_id":157386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017dc"} 
[2026-08-19 08:05:26] local.INFO: Extracted packet for processing {"connection_id":157386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017dc"} 
[2026-08-19 08:05:26] local.INFO: GPS Element Parsed {"raw_longitude":762958592,"raw_latitude":98853800,"longitude_deg":76.2958592,"latitude_deg":9.88538,"altitude":12,"angle":336,"satellites":40,"speed":2,"hex_longitude":"2d79d300","hex_latitude":"05e463a8","is_valid_coordinates":true} 
[2026-08-19 08:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499315456001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120613436269789184,"note":"Value kept but may cause issues"} 
[2026-08-19 08:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778430492725936128,"note":"Value kept but may cause issues"} 
[2026-08-19 08:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787106705000,"timestamp_ms":1787106705000,"timestamp_seconds":1787106705,"priority":1,"record_length":96,"hex_timestamp":"000001a017dc3e68"} 
[2026-08-19 08:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:05:26] 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-08-19 08:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-19 08:05:26] 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-08-19 08:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:05:26] 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-08-19 08:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499315456001,"66":13363,"102":206,"87":12288,"24":2,"16":120613436269789184,"45":8778430492725936128},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 08:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499315456001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:05:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 08:05:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120613436269789184,"km_value":120613436269789.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778430492725936128,"description":"Unknown IO ID 45"} 
[2026-08-19 08:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499315456001,"power":13363,"unknown_102":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8778430492725936128}} 
[2026-08-19 08:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":157386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:05:26] local.INFO: GPS data processed {"connection_id":157386,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:05:26] local.INFO: Acknowledgment sent {"connection_id":157386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:05:39] local.INFO: TCP Data received {"connection_id":158652,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:05:39] local.INFO: Processing buffer {"connection_id":158652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:05:39] local.INFO: Packet analysis {"connection_id":158652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:05:39] local.INFO: Extracted packet for processing {"connection_id":158652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:05:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499268608001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787106819000,"timestamp_ms":1787106819000,"timestamp_seconds":1787106819,"priority":1,"record_length":96,"hex_timestamp":"000001a017ddfbb8"} 
[2026-08-19 08:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:05:39] 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-08-19 08:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499268608001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499268608001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:05:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:05:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499268608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":158652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:05:39] local.INFO: GPS data processed {"connection_id":158652,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:05:39] local.INFO: Acknowledgment sent {"connection_id":158652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:05:57] local.INFO: TCP Data received {"connection_id":157386,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017dc4638012d79d30005e463b0000c015027..."} 
[2026-08-19 08:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017dc4638012d79d30005e463b0000c015027..."} 
[2026-08-19 08:05:57] local.INFO: Processing buffer {"connection_id":157386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017dc4638012d79d30005e463b0000c015027..."} 
[2026-08-19 08:05:57] local.INFO: Packet analysis {"connection_id":157386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017dc"} 
[2026-08-19 08:05:57] local.INFO: Extracted packet for processing {"connection_id":157386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017dc"} 
[2026-08-19 08:05:57] local.INFO: GPS Element Parsed {"raw_longitude":762958592,"raw_latitude":98853808,"longitude_deg":76.2958592,"latitude_deg":9.8853808,"altitude":12,"angle":336,"satellites":39,"speed":0,"hex_longitude":"2d79d300","hex_latitude":"05e463b0","is_valid_coordinates":true} 
[2026-08-19 08:05: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-08-19 08:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499316480001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120613436269789184,"note":"Value kept but may cause issues"} 
[2026-08-19 08:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778360123981801472,"note":"Value kept but may cause issues"} 
[2026-08-19 08:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787106707000,"timestamp_ms":1787106707000,"timestamp_seconds":1787106707,"priority":1,"record_length":96,"hex_timestamp":"000001a017dc4638"} 
[2026-08-19 08:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:05:57] 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-08-19 08:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 08:05:57] 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-08-19 08:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:05:57] 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-08-19 08:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499316480001,"66":13515,"102":206,"87":12288,"24":0,"16":120613436269789184,"45":8778360123981801472},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 08:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499316480001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:05:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 08:05:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120613436269789184,"km_value":120613436269789.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778360123981801472,"description":"Unknown IO ID 45"} 
[2026-08-19 08:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499316480001,"power":13515,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778360123981801472}} 
[2026-08-19 08:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":157386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:05:58] local.INFO: GPS data processed {"connection_id":157386,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:05:58] local.INFO: Acknowledgment sent {"connection_id":157386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:06:00] local.INFO: TCP Data received {"connection_id":157767,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:06:00] local.INFO: Processing buffer {"connection_id":157767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:06:00] local.INFO: IMEI packet received {"connection_id":157767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":157767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:06:05] local.INFO: TCP Data received {"connection_id":157767,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:06:05] local.INFO: Processing buffer {"connection_id":157767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:06:05] local.INFO: IMEI packet received {"connection_id":157767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":157767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:06:06] local.INFO: TCP Data received {"connection_id":157767,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:06:06] local.INFO: Processing buffer {"connection_id":157767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:06:06] local.INFO: Packet analysis {"connection_id":157767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:06:06] local.INFO: Extracted packet for processing {"connection_id":157767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:06:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499268608001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787106819000,"timestamp_ms":1787106819000,"timestamp_seconds":1787106819,"priority":1,"record_length":96,"hex_timestamp":"000001a017ddfbb8"} 
[2026-08-19 08:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499268608001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499268608001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:06:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:06:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499268608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":157767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:06:06] local.INFO: GPS data processed {"connection_id":157767,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:06:06] local.INFO: Acknowledgment sent {"connection_id":157767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:06:25] local.INFO: TCP Data received {"connection_id":159939,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:06:25] local.INFO: Processing buffer {"connection_id":159939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:06:25] local.INFO: IMEI packet received {"connection_id":159939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":159939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:06:30] local.INFO: TCP Data received {"connection_id":159939,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:06:30] local.INFO: Processing buffer {"connection_id":159939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:06:30] local.INFO: IMEI packet received {"connection_id":159939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":159939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:06:31] local.INFO: TCP Data received {"connection_id":159939,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017dc4638012d79d30005e463b0000c015027..."} 
[2026-08-19 08:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017dc4638012d79d30005e463b0000c015027..."} 
[2026-08-19 08:06:31] local.INFO: Processing buffer {"connection_id":159939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017dc4638012d79d30005e463b0000c015027..."} 
[2026-08-19 08:06:31] local.INFO: Packet analysis {"connection_id":159939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017dc"} 
[2026-08-19 08:06:31] local.INFO: Extracted packet for processing {"connection_id":159939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017dc"} 
[2026-08-19 08:06:31] local.INFO: GPS Element Parsed {"raw_longitude":762958592,"raw_latitude":98853808,"longitude_deg":76.2958592,"latitude_deg":9.8853808,"altitude":12,"angle":336,"satellites":39,"speed":0,"hex_longitude":"2d79d300","hex_latitude":"05e463b0","is_valid_coordinates":true} 
[2026-08-19 08:06:31] 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-08-19 08:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499316992001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120613436269789184,"note":"Value kept but may cause issues"} 
[2026-08-19 08:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778360123981803520,"note":"Value kept but may cause issues"} 
[2026-08-19 08:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787106707000,"timestamp_ms":1787106707000,"timestamp_seconds":1787106707,"priority":1,"record_length":96,"hex_timestamp":"000001a017dc4638"} 
[2026-08-19 08:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-19 08:06:31] 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-08-19 08:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:06:31] 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-08-19 08:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499316992001,"66":13515,"102":206,"87":12288,"24":0,"16":120613436269789184,"45":8778360123981803520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 08:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499316992001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:06:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 08:06:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120613436269789184,"km_value":120613436269789.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778360123981803520,"description":"Unknown IO ID 45"} 
[2026-08-19 08:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499316992001,"power":13515,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778360123981803520}} 
[2026-08-19 08:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":159939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:06:31] local.INFO: GPS data processed {"connection_id":159939,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:06:31] local.INFO: Acknowledgment sent {"connection_id":159939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:06:32] local.INFO: TCP Data received {"connection_id":159939,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017dc6190012d79d34005e463b8000c015028..."} 
[2026-08-19 08:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017dc6190012d79d34005e463b8000c015028..."} 
[2026-08-19 08:06:33] local.INFO: Processing buffer {"connection_id":159939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017dc6190012d79d34005e463b8000c015028..."} 
[2026-08-19 08:06:33] local.INFO: Packet analysis {"connection_id":159939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017dc"} 
[2026-08-19 08:06:33] local.INFO: Extracted packet for processing {"connection_id":159939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017dc"} 
[2026-08-19 08:06:33] local.INFO: GPS Element Parsed {"raw_longitude":762958656,"raw_latitude":98853816,"longitude_deg":76.2958656,"latitude_deg":9.8853816,"altitude":12,"angle":336,"satellites":40,"speed":0,"hex_longitude":"2d79d340","hex_latitude":"05e463b8","is_valid_coordinates":true} 
[2026-08-19 08:06:33] 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-08-19 08:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499316992001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120613436269789184,"note":"Value kept but may cause issues"} 
[2026-08-19 08:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778360123981803520,"note":"Value kept but may cause issues"} 
[2026-08-19 08:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787106714000,"timestamp_ms":1787106714000,"timestamp_seconds":1787106714,"priority":1,"record_length":96,"hex_timestamp":"000001a017dc6190"} 
[2026-08-19 08:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-19 08:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:06:33] 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-08-19 08:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499316992001,"66":13450,"102":206,"87":12288,"24":0,"16":120613436269789184,"45":8778360123981803520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 08:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499316992001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:06:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 08:06:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120613436269789184,"km_value":120613436269789.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778360123981803520,"description":"Unknown IO ID 45"} 
[2026-08-19 08:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499316992001,"power":13450,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778360123981803520}} 
[2026-08-19 08:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":159939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:06:33] local.INFO: GPS data processed {"connection_id":159939,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:06:33] local.INFO: Acknowledgment sent {"connection_id":159939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:06:38] local.INFO: TCP Data received {"connection_id":157767,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:06:38] local.INFO: Processing buffer {"connection_id":157767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:06:38] local.INFO: Packet analysis {"connection_id":157767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:06:38] local.INFO: Extracted packet for processing {"connection_id":157767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499268608001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787106819000,"timestamp_ms":1787106819000,"timestamp_seconds":1787106819,"priority":1,"record_length":96,"hex_timestamp":"000001a017ddfbb8"} 
[2026-08-19 08:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499268608001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499268608001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:06:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499268608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":157767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:06:38] local.INFO: GPS data processed {"connection_id":157767,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:06:38] local.INFO: Acknowledgment sent {"connection_id":157767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:07:00] local.INFO: TCP Data received {"connection_id":157768,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:07:00] local.INFO: Processing buffer {"connection_id":157768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:07:00] local.INFO: IMEI packet received {"connection_id":157768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":157768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:07:04] local.INFO: TCP Data received {"connection_id":159939,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017dc6190012d79d34005e463b8000c015028..."} 
[2026-08-19 08:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017dc6190012d79d34005e463b8000c015028..."} 
[2026-08-19 08:07:04] local.INFO: Processing buffer {"connection_id":159939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017dc6190012d79d34005e463b8000c015028..."} 
[2026-08-19 08:07:04] local.INFO: Packet analysis {"connection_id":159939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017dc"} 
[2026-08-19 08:07:04] local.INFO: Extracted packet for processing {"connection_id":159939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017dc"} 
[2026-08-19 08:07:04] local.INFO: GPS Element Parsed {"raw_longitude":762958656,"raw_latitude":98853816,"longitude_deg":76.2958656,"latitude_deg":9.8853816,"altitude":12,"angle":336,"satellites":40,"speed":0,"hex_longitude":"2d79d340","hex_latitude":"05e463b8","is_valid_coordinates":true} 
[2026-08-19 08:07:04] 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-08-19 08:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499318784001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120613436269789184,"note":"Value kept but may cause issues"} 
[2026-08-19 08:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778430492725983232,"note":"Value kept but may cause issues"} 
[2026-08-19 08:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787106714000,"timestamp_ms":1787106714000,"timestamp_seconds":1787106714,"priority":1,"record_length":96,"hex_timestamp":"000001a017dc6190"} 
[2026-08-19 08:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-19 08:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:07:04] 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-08-19 08:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499318784001,"66":13450,"102":206,"87":12288,"24":0,"16":120613436269789184,"45":8778430492725983232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 08:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499318784001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:07:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 08:07:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120613436269789184,"km_value":120613436269789.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778430492725983232,"description":"Unknown IO ID 45"} 
[2026-08-19 08:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499318784001,"power":13450,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8778430492725983232}} 
[2026-08-19 08:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":159939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:07:04] local.INFO: GPS data processed {"connection_id":159939,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:07:04] local.INFO: Acknowledgment sent {"connection_id":159939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:07:05] local.INFO: TCP Data received {"connection_id":157768,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:07:05] local.INFO: Processing buffer {"connection_id":157768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:07:05] local.INFO: IMEI packet received {"connection_id":157768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":157768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:07:13] local.INFO: TCP Data received {"connection_id":157768,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:07:13] local.INFO: Processing buffer {"connection_id":157768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:07:13] local.INFO: Packet analysis {"connection_id":157768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:07:13] local.INFO: Extracted packet for processing {"connection_id":157768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:07:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499268608001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787106819000,"timestamp_ms":1787106819000,"timestamp_seconds":1787106819,"priority":1,"record_length":96,"hex_timestamp":"000001a017ddfbb8"} 
[2026-08-19 08:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:07: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-08-19 08:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499268608001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499268608001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:07:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:07:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499268608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":157768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:07:13] local.INFO: GPS data processed {"connection_id":157768,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:07:13] local.INFO: Acknowledgment sent {"connection_id":157768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:07:20] local.INFO: TCP Data received {"connection_id":159940,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:07:20] local.INFO: Processing buffer {"connection_id":159940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:07:20] local.INFO: IMEI packet received {"connection_id":159940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":159940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:07:25] local.INFO: TCP Data received {"connection_id":159940,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:07:25] local.INFO: Processing buffer {"connection_id":159940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:07:25] local.INFO: IMEI packet received {"connection_id":159940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":159940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:07:29] local.INFO: TCP Data received {"connection_id":159940,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e108f8012d79d98005e461b8000d00572b..."} 
[2026-08-19 08:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e108f8012d79d98005e461b8000d00572b..."} 
[2026-08-19 08:07:29] local.INFO: Processing buffer {"connection_id":159940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e108f8012d79d98005e461b8000d00572b..."} 
[2026-08-19 08:07:29] local.INFO: Packet analysis {"connection_id":159940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e1"} 
[2026-08-19 08:07:29] local.INFO: Extracted packet for processing {"connection_id":159940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e1"} 
[2026-08-19 08:07:29] local.INFO: GPS Element Parsed {"raw_longitude":762960256,"raw_latitude":98853304,"longitude_deg":76.2960256,"latitude_deg":9.8853304,"altitude":13,"angle":87,"satellites":43,"speed":0,"hex_longitude":"2d79d980","hex_latitude":"05e461b8","is_valid_coordinates":true} 
[2026-08-19 08:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499391488001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120613526464102400,"note":"Value kept but may cause issues"} 
[2026-08-19 08:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8779978605097752576,"note":"Value kept but may cause issues"} 
[2026-08-19 08:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787107019000,"timestamp_ms":1787107019000,"timestamp_seconds":1787107019,"priority":1,"record_length":96,"hex_timestamp":"000001a017e108f8"} 
[2026-08-19 08:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-19 08:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:07:29] 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-08-19 08:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499391488001,"66":11743,"102":206,"87":12288,"24":0,"16":120613526464102400,"45":8779978605097752576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 08:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499391488001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:07:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 08:07:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120613526464102400,"km_value":120613526464102.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8779978605097752576,"description":"Unknown IO ID 45"} 
[2026-08-19 08:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499391488001,"power":11743,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8779978605097752576}} 
[2026-08-19 08:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":159940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:07:29] local.INFO: GPS data processed {"connection_id":159940,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:07:29] local.INFO: Acknowledgment sent {"connection_id":159940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:07:45] local.INFO: TCP Data received {"connection_id":157768,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:07:45] local.INFO: Processing buffer {"connection_id":157768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:07:45] local.INFO: Packet analysis {"connection_id":157768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:07:45] local.INFO: Extracted packet for processing {"connection_id":157768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499268608001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:07: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-08-19 08:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787106819000,"timestamp_ms":1787106819000,"timestamp_seconds":1787106819,"priority":1,"record_length":96,"hex_timestamp":"000001a017ddfbb8"} 
[2026-08-19 08:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499268608001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499268608001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:07:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499268608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":157768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:07:45] local.INFO: GPS data processed {"connection_id":157768,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:07:45] local.INFO: Acknowledgment sent {"connection_id":157768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:07:59] local.INFO: TCP Data received {"connection_id":159940,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e14b60012d79da4005e46290000f004829..."} 
[2026-08-19 08:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e14b60012d79da4005e46290000f004829..."} 
[2026-08-19 08:07:59] local.INFO: Processing buffer {"connection_id":159940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e14b60012d79da4005e46290000f004829..."} 
[2026-08-19 08:07:59] local.INFO: Packet analysis {"connection_id":159940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e1"} 
[2026-08-19 08:07:59] local.INFO: Extracted packet for processing {"connection_id":159940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e1"} 
[2026-08-19 08:07:59] local.INFO: GPS Element Parsed {"raw_longitude":762960448,"raw_latitude":98853520,"longitude_deg":76.2960448,"latitude_deg":9.885352,"altitude":15,"angle":72,"satellites":41,"speed":2,"hex_longitude":"2d79da40","hex_latitude":"05e46290","is_valid_coordinates":true} 
[2026-08-19 08:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499396864001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120613539349004288,"note":"Value kept but may cause issues"} 
[2026-08-19 08:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780189711330293760,"note":"Value kept but may cause issues"} 
[2026-08-19 08:07: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-08-19 08:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787107036000,"timestamp_ms":1787107036000,"timestamp_seconds":1787107036,"priority":1,"record_length":96,"hex_timestamp":"000001a017e14b60"} 
[2026-08-19 08:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:07: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-08-19 08:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-19 08:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:07:59] 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-08-19 08:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499396864001,"66":11743,"145":206,"87":12288,"24":2,"16":120613539349004288,"45":8780189711330293760},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-19 08:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499396864001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:07:59] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-19 08:07:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120613539349004288,"km_value":120613539349004.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780189711330293760,"description":"Unknown IO ID 45"} 
[2026-08-19 08:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499396864001,"power":11743,"unknown_145":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8780189711330293760}} 
[2026-08-19 08:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":159940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:07:59] local.INFO: GPS data processed {"connection_id":159940,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:07:59] local.INFO: Acknowledgment sent {"connection_id":159940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:08:00] local.INFO: TCP Data received {"connection_id":157387,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:08:00] local.INFO: Processing buffer {"connection_id":157387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:08:00] local.INFO: IMEI packet received {"connection_id":157387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":157387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:08:05] local.INFO: TCP Data received {"connection_id":157387,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:08:05] local.INFO: Processing buffer {"connection_id":157387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:08:05] local.INFO: IMEI packet received {"connection_id":157387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":157387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:08:06] local.INFO: TCP Data received {"connection_id":157387,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:08:06] local.INFO: Processing buffer {"connection_id":157387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:08:06] local.INFO: Packet analysis {"connection_id":157387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:08:06] local.INFO: Extracted packet for processing {"connection_id":157387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:08:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499268608001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787106819000,"timestamp_ms":1787106819000,"timestamp_seconds":1787106819,"priority":1,"record_length":96,"hex_timestamp":"000001a017ddfbb8"} 
[2026-08-19 08:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:08:06] 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-08-19 08:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499268608001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499268608001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:08:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:08:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499268608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":157387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:08:06] local.INFO: GPS data processed {"connection_id":157387,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:08:06] local.INFO: Acknowledgment sent {"connection_id":157387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:08:20] local.INFO: TCP Data received {"connection_id":157769,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:08:20] local.INFO: Processing buffer {"connection_id":157769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:08:20] local.INFO: IMEI packet received {"connection_id":157769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":157769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:08:23] local.INFO: TCP Data received {"connection_id":157769,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:08:23] local.INFO: Processing buffer {"connection_id":157769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:08:23] local.INFO: IMEI packet received {"connection_id":157769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":157769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:08:25] local.INFO: TCP Data received {"connection_id":157769,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:08:25] local.INFO: Processing buffer {"connection_id":157769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:08:25] local.INFO: IMEI packet received {"connection_id":157769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":157769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:08:26] local.INFO: TCP Data received {"connection_id":157769,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e21a68012d7a2f4005e45e10000d00632b..."} 
[2026-08-19 08:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e21a68012d7a2f4005e45e10000d00632b..."} 
[2026-08-19 08:08:26] local.INFO: Processing buffer {"connection_id":157769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e21a68012d7a2f4005e45e10000d00632b..."} 
[2026-08-19 08:08:26] local.INFO: Packet analysis {"connection_id":157769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:08:26] local.INFO: Extracted packet for processing {"connection_id":157769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:08:26] local.INFO: GPS Element Parsed {"raw_longitude":762982208,"raw_latitude":98852368,"longitude_deg":76.2982208,"latitude_deg":9.8852368,"altitude":13,"angle":99,"satellites":43,"speed":15,"hex_longitude":"2d7a2f40","hex_latitude":"05e45e10","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499414528001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120614664630435840,"note":"Value kept but may cause issues"} 
[2026-08-19 08:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803903978117951488,"note":"Value kept but may cause issues"} 
[2026-08-19 08:08:26] 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-08-19 08:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787107089000,"timestamp_ms":1787107089000,"timestamp_seconds":1787107089,"priority":1,"record_length":96,"hex_timestamp":"000001a017e21a68"} 
[2026-08-19 08:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 08:08:26] 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-08-19 08: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-08-19 08:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:08:26] 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-08-19 08:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499414528001,"66":12906,"145":206,"87":12288,"24":15,"16":120614664630435840,"45":8803903978117951488},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-19 08:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499414528001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:08:26] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-19 08:08:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120614664630435840,"km_value":120614664630435.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803903978117951488,"description":"Unknown IO ID 45"} 
[2026-08-19 08:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499414528001,"power":12906,"unknown_145":206,"unknown_87":12288,"ignition":15,"odometer":null,"unknown_45":8803903978117951488}} 
[2026-08-19 08:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":157769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:08:26] local.INFO: GPS data processed {"connection_id":157769,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:08:26] local.INFO: Acknowledgment sent {"connection_id":157769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:08:37] local.INFO: TCP Data received {"connection_id":157387,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:08:37] local.INFO: Processing buffer {"connection_id":157387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:08:37] local.INFO: Packet analysis {"connection_id":157387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:08:38] local.INFO: Extracted packet for processing {"connection_id":157387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499268608001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787106819000,"timestamp_ms":1787106819000,"timestamp_seconds":1787106819,"priority":1,"record_length":96,"hex_timestamp":"000001a017ddfbb8"} 
[2026-08-19 08:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:08:38] 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-08-19 08:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499268608001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499268608001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:08:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499268608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":157387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:08:38] local.INFO: GPS data processed {"connection_id":157387,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:08:38] local.INFO: Acknowledgment sent {"connection_id":157387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:08:57] local.INFO: TCP Data received {"connection_id":157769,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e21e50012d7a308005e45e00000e00582b..."} 
[2026-08-19 08:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e21e50012d7a308005e45e00000e00582b..."} 
[2026-08-19 08:08:57] local.INFO: Processing buffer {"connection_id":157769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e21e50012d7a308005e45e00000e00582b..."} 
[2026-08-19 08:08:57] local.INFO: Packet analysis {"connection_id":157769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:08:57] local.INFO: Extracted packet for processing {"connection_id":157769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:08:57] local.INFO: GPS Element Parsed {"raw_longitude":762982528,"raw_latitude":98852352,"longitude_deg":76.2982528,"latitude_deg":9.8852352,"altitude":14,"angle":88,"satellites":43,"speed":18,"hex_longitude":"2d7a3080","hex_latitude":"05e45e00","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499414784001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120614681810305024,"note":"Value kept but may cause issues"} 
[2026-08-19 08:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804326190582992896,"note":"Value kept but may cause issues"} 
[2026-08-19 08:08:57] 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-08-19 08:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787107090000,"timestamp_ms":1787107090000,"timestamp_seconds":1787107090,"priority":1,"record_length":96,"hex_timestamp":"000001a017e21e50"} 
[2026-08-19 08:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-19 08:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:08:57] 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-08-19 08:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499414784001,"66":12906,"145":206,"87":12288,"24":18,"16":120614681810305024,"45":8804326190582992896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-19 08:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499414784001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:08:57] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-19 08:08:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120614681810305024,"km_value":120614681810305.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804326190582992896,"description":"Unknown IO ID 45"} 
[2026-08-19 08:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499414784001,"power":12906,"unknown_145":206,"unknown_87":12288,"ignition":18,"odometer":null,"unknown_45":8804326190582992896}} 
[2026-08-19 08:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":157769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:08:57] local.INFO: GPS data processed {"connection_id":157769,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:08:57] local.INFO: Acknowledgment sent {"connection_id":157769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:09:00] local.INFO: TCP Data received {"connection_id":159941,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:09:00] local.INFO: Processing buffer {"connection_id":159941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:09:00] local.INFO: IMEI packet received {"connection_id":159941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":159941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:09:05] local.INFO: TCP Data received {"connection_id":159941,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:09:05] local.INFO: Processing buffer {"connection_id":159941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:09:05] local.INFO: IMEI packet received {"connection_id":159941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":159941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:09:06] local.INFO: TCP Data received {"connection_id":159941,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:09:06] local.INFO: Processing buffer {"connection_id":159941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ddfbb8012d34c50006aa40780009005925..."} 
[2026-08-19 08:09:06] local.INFO: Packet analysis {"connection_id":159941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:09:06] local.INFO: Extracted packet for processing {"connection_id":159941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017dd"} 
[2026-08-19 08:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499268608001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787106819000,"timestamp_ms":1787106819000,"timestamp_seconds":1787106819,"priority":1,"record_length":96,"hex_timestamp":"000001a017ddfbb8"} 
[2026-08-19 08:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499268608001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499268608001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499268608001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":159941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:09:06] local.INFO: GPS data processed {"connection_id":159941,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:09:06] local.INFO: Acknowledgment sent {"connection_id":159941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:09:25] local.INFO: TCP Data received {"connection_id":158653,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:09:25] local.INFO: Processing buffer {"connection_id":158653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:09:25] local.INFO: IMEI packet received {"connection_id":158653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":158653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:09:31] local.INFO: TCP Data received {"connection_id":158653,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:09:31] local.INFO: Processing buffer {"connection_id":158653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:09:31] local.INFO: IMEI packet received {"connection_id":158653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":158653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:09:33] local.INFO: TCP Data received {"connection_id":158653,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e24d30012d7a458005e461e0000f004b2b..."} 
[2026-08-19 08:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e24d30012d7a458005e461e0000f004b2b..."} 
[2026-08-19 08:09:33] local.INFO: Processing buffer {"connection_id":158653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e24d30012d7a458005e461e0000f004b2b..."} 
[2026-08-19 08:09:33] local.INFO: Packet analysis {"connection_id":158653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:09:33] local.INFO: Extracted packet for processing {"connection_id":158653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:09:33] local.INFO: GPS Element Parsed {"raw_longitude":762987904,"raw_latitude":98853344,"longitude_deg":76.2987904,"latitude_deg":9.8853344,"altitude":15,"angle":75,"satellites":43,"speed":12,"hex_longitude":"2d7a4580","hex_latitude":"05e461e0","is_valid_coordinates":true} 
[2026-08-19 08:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499415040001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120614943803310080,"note":"Value kept but may cause issues"} 
[2026-08-19 08:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804678034303877120,"note":"Value kept but may cause issues"} 
[2026-08-19 08:09:33] 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-08-19 08:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787107102000,"timestamp_ms":1787107102000,"timestamp_seconds":1787107102,"priority":1,"record_length":96,"hex_timestamp":"000001a017e24d30"} 
[2026-08-19 08:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:09:33] 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-08-19 08:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-19 08:09:33] 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-08-19 08:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:09:33] 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-08-19 08:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499415040001,"66":13091,"145":206,"87":12288,"24":12,"16":120614943803310080,"45":8804678034303877120},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-08-19 08:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499415040001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:09:33] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-19 08:09:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120614943803310080,"km_value":120614943803310.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804678034303877120,"description":"Unknown IO ID 45"} 
[2026-08-19 08:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499415040001,"power":13091,"unknown_145":206,"unknown_87":12288,"ignition":12,"odometer":null,"unknown_45":8804678034303877120}} 
[2026-08-19 08:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":158653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:09:33] local.INFO: GPS data processed {"connection_id":158653,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:09:33] local.INFO: Acknowledgment sent {"connection_id":158653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:09:37] local.INFO: TCP Data received {"connection_id":159941,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:09:37] local.INFO: Processing buffer {"connection_id":159941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:09:37] local.INFO: Packet analysis {"connection_id":159941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:09:37] local.INFO: Extracted packet for processing {"connection_id":159941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499345664001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787107120000,"timestamp_ms":1787107120000,"timestamp_seconds":1787107120,"priority":1,"record_length":96,"hex_timestamp":"000001a017e29380"} 
[2026-08-19 08:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:09: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-08-19 08:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499345664001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499345664001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499345664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":159941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:09:38] local.INFO: GPS data processed {"connection_id":159941,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:09:38] local.INFO: Acknowledgment sent {"connection_id":159941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:10:00] local.INFO: TCP Data received {"connection_id":158654,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:10:00] local.INFO: Processing buffer {"connection_id":158654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:10:00] local.INFO: IMEI packet received {"connection_id":158654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":158654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:10:05] local.INFO: TCP Data received {"connection_id":158654,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:10:05] local.INFO: Processing buffer {"connection_id":158654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:10:05] local.INFO: IMEI packet received {"connection_id":158654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":158654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:10:06] local.INFO: TCP Data received {"connection_id":158654,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:10:06] local.INFO: Processing buffer {"connection_id":158654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:10:06] local.INFO: Packet analysis {"connection_id":158654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:10:06] local.INFO: Extracted packet for processing {"connection_id":158654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499345664001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787107120000,"timestamp_ms":1787107120000,"timestamp_seconds":1787107120,"priority":1,"record_length":96,"hex_timestamp":"000001a017e29380"} 
[2026-08-19 08:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:10:06] 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-08-19 08:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499345664001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499345664001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:10:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499345664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":158654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:10:06] local.INFO: GPS data processed {"connection_id":158654,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:10:06] local.INFO: Acknowledgment sent {"connection_id":158654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:10:09] local.INFO: TCP Data received {"connection_id":158653,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e27828012d7a5a4005e46a100016003e2b..."} 
[2026-08-19 08:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e27828012d7a5a4005e46a100016003e2b..."} 
[2026-08-19 08:10:09] local.INFO: Processing buffer {"connection_id":158653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e27828012d7a5a4005e46a100016003e2b..."} 
[2026-08-19 08:10:09] local.INFO: Packet analysis {"connection_id":158653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:10:09] local.INFO: Extracted packet for processing {"connection_id":158653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:10:09] local.INFO: GPS Element Parsed {"raw_longitude":762993216,"raw_latitude":98855440,"longitude_deg":76.2993216,"latitude_deg":9.885544,"altitude":22,"angle":62,"satellites":43,"speed":20,"hex_longitude":"2d7a5a40","hex_latitude":"05e46a10","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499418112001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120615218681217024,"note":"Value kept but may cause issues"} 
[2026-08-19 08:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810589008815054848,"note":"Value kept but may cause issues"} 
[2026-08-19 08:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787107113000,"timestamp_ms":1787107113000,"timestamp_seconds":1787107113,"priority":1,"record_length":96,"hex_timestamp":"000001a017e27828"} 
[2026-08-19 08:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:10: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-08-19 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 08:10:09] 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-08-19 08: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-08-19 08:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":158653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":158653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":158653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:10:09] 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-08-19 08:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499418112001,"66":13037,"102":206,"87":12288,"24":20,"16":120615218681217024,"45":8810589008815054848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 08:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499418112001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:10:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 08:10:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120615218681217024,"km_value":120615218681217.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810589008815054848,"description":"Unknown IO ID 45"} 
[2026-08-19 08:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499418112001,"power":13037,"unknown_102":206,"unknown_87":12288,"ignition":20,"odometer":null,"unknown_45":8810589008815054848}} 
[2026-08-19 08:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":158653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:10:09] local.INFO: GPS data processed {"connection_id":158653,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:10:09] local.INFO: Acknowledgment sent {"connection_id":158653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:10:20] local.INFO: TCP Data received {"connection_id":157388,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157388,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:10:20] local.INFO: Processing buffer {"connection_id":157388,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:10:20] local.INFO: IMEI packet received {"connection_id":157388,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":157388,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:10:26] local.INFO: TCP Data received {"connection_id":157388,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157388,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:10:26] local.INFO: Processing buffer {"connection_id":157388,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:10:26] local.INFO: IMEI packet received {"connection_id":157388,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":157388,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:10:30] local.INFO: TCP Data received {"connection_id":157388,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e2ca30012d7a610005e46c98001a00452b..."} 
[2026-08-19 08:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e2ca30012d7a610005e46c98001a00452b..."} 
[2026-08-19 08:10:30] local.INFO: Processing buffer {"connection_id":157388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e2ca30012d7a610005e46c98001a00452b..."} 
[2026-08-19 08:10:30] local.INFO: Packet analysis {"connection_id":157388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:10:30] local.INFO: Extracted packet for processing {"connection_id":157388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:10:30] local.INFO: GPS Element Parsed {"raw_longitude":762994944,"raw_latitude":98856088,"longitude_deg":76.2994944,"latitude_deg":9.8856088,"altitude":26,"angle":69,"satellites":43,"speed":0,"hex_longitude":"2d7a6100","hex_latitude":"05e46c98","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499420928001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120615304580562944,"note":"Value kept but may cause issues"} 
[2026-08-19 08:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816429614582337536,"note":"Value kept but may cause issues"} 
[2026-08-19 08:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787107134000,"timestamp_ms":1787107134000,"timestamp_seconds":1787107134,"priority":1,"record_length":96,"hex_timestamp":"000001a017e2ca30"} 
[2026-08-19 08:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:10: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-08-19 08: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-19 08:10:30] 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-08-19 08: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-08-19 08:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":157388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":157388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":157388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:10:30] 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-08-19 08:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499420928001,"66":12678,"102":206,"87":12288,"24":0,"16":120615304580562944,"45":8816429614582337536},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-19 08:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499420928001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:10:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 08:10:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 08:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120615304580562944,"km_value":120615304580562.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816429614582337536,"description":"Unknown IO ID 45"} 
[2026-08-19 08:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499420928001,"power":12678,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8816429614582337536}} 
[2026-08-19 08:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":157388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:10:30] local.INFO: GPS data processed {"connection_id":157388,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:10:30] local.INFO: Acknowledgment sent {"connection_id":157388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:10:38] local.INFO: TCP Data received {"connection_id":158654,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:10:38] local.INFO: Processing buffer {"connection_id":158654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:10:38] local.INFO: Packet analysis {"connection_id":158654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:10:38] local.INFO: Extracted packet for processing {"connection_id":158654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499345664001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787107120000,"timestamp_ms":1787107120000,"timestamp_seconds":1787107120,"priority":1,"record_length":96,"hex_timestamp":"000001a017e29380"} 
[2026-08-19 08:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499345664001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499345664001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499345664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":158654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:10:38] local.INFO: GPS data processed {"connection_id":158654,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:10:38] local.INFO: Acknowledgment sent {"connection_id":158654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:11:00] local.INFO: TCP Data received {"connection_id":159942,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:11:00] local.INFO: Processing buffer {"connection_id":159942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:11:00] local.INFO: IMEI packet received {"connection_id":159942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":159942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:11:02] local.INFO: TCP Data received {"connection_id":157388,"ip":"42.109.136.8","data_length":93,"data_hex":"00000000000000518e01000001a017e402b0012d7aeb0005e3a660000600a12b..."} 
[2026-08-19 08:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157388,"packet_length":93,"packet_hex":"00000000000000518e01000001a017e402b0012d7aeb0005e3a660000600a12b..."} 
[2026-08-19 08:11:02] local.INFO: Processing buffer {"connection_id":157388,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a017e402b0012d7aeb0005e3a660000600a12b..."} 
[2026-08-19 08:11:02] local.INFO: Packet analysis {"connection_id":157388,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a017e4"} 
[2026-08-19 08:11:02] local.INFO: Extracted packet for processing {"connection_id":157388,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a017e4"} 
[2026-08-19 08:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763030272,"raw_latitude":98805344,"longitude_deg":76.3030272,"latitude_deg":9.8805344,"altitude":6,"angle":161,"satellites":43,"speed":22,"hex_longitude":"2d7aeb00","hex_latitude":"05e3a660","is_valid_coordinates":true} 
[2026-08-19 08:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-19 08:11:02] 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-08-19 08:11:02] 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-08-19 08:11:02] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:11:02] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-19 08:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":157388,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-19 08:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":157388,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-19 08:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":157388,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-19 08:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-19 08:11:02] local.WARNING: DEBUG: No valid data to process  
[2026-08-19 08:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":157388,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-19 08:11:02] local.ERROR: GPS data processing failed {"connection_id":157388,"error":"No valid data to process"} 
[2026-08-19 08:11:02] local.INFO: Acknowledgment sent {"connection_id":157388,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-19 08:11:05] local.INFO: TCP Data received {"connection_id":159942,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:11:05] local.INFO: Processing buffer {"connection_id":159942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:11:05] local.INFO: IMEI packet received {"connection_id":159942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":159942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:11:06] local.INFO: TCP Data received {"connection_id":159942,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:11:06] local.INFO: Processing buffer {"connection_id":159942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:11:06] local.INFO: Packet analysis {"connection_id":159942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:11:06] local.INFO: Extracted packet for processing {"connection_id":159942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499345664001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787107120000,"timestamp_ms":1787107120000,"timestamp_seconds":1787107120,"priority":1,"record_length":96,"hex_timestamp":"000001a017e29380"} 
[2026-08-19 08:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:11:06] 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-08-19 08:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499345664001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499345664001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:11:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499345664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":159942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:11:06] local.INFO: GPS data processed {"connection_id":159942,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:11:06] local.INFO: Acknowledgment sent {"connection_id":159942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:11:20] local.INFO: TCP Data received {"connection_id":157389,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:11:20] local.INFO: Processing buffer {"connection_id":157389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:11:20] local.INFO: IMEI packet received {"connection_id":157389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":157389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:11:23] local.INFO: TCP Data received {"connection_id":157389,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:11:23] local.INFO: Processing buffer {"connection_id":157389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:11:23] local.INFO: IMEI packet received {"connection_id":157389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":157389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:11:26] local.INFO: TCP Data received {"connection_id":157389,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:11:26] local.INFO: Processing buffer {"connection_id":157389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:11:26] local.INFO: IMEI packet received {"connection_id":157389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":157389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:11:28] local.INFO: TCP Data received {"connection_id":157389,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e450d0012d7af08005e393700009009b2b..."} 
[2026-08-19 08:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e450d0012d7af08005e393700009009b2b..."} 
[2026-08-19 08:11:28] local.INFO: Processing buffer {"connection_id":157389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e450d0012d7af08005e393700009009b2b..."} 
[2026-08-19 08:11:28] local.INFO: Packet analysis {"connection_id":157389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e4"} 
[2026-08-19 08:11:28] local.INFO: Extracted packet for processing {"connection_id":157389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e4"} 
[2026-08-19 08:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763031680,"raw_latitude":98800496,"longitude_deg":76.303168,"latitude_deg":9.8800496,"altitude":9,"angle":155,"satellites":43,"speed":10,"hex_longitude":"2d7af080","hex_latitude":"05e39370","is_valid_coordinates":true} 
[2026-08-19 08:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499446784001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120618684719824896,"note":"Value kept but may cause issues"} 
[2026-08-19 08:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857173117448380416,"note":"Value kept but may cause issues"} 
[2026-08-19 08:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787107234000,"timestamp_ms":1787107234000,"timestamp_seconds":1787107234,"priority":1,"record_length":96,"hex_timestamp":"000001a017e450d0"} 
[2026-08-19 08:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 08:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303164103380319,"note":"Value kept but may cause issues"} 
[2026-08-19 08:11:28] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399478,"note":"Value kept but may cause issues"} 
[2026-08-19 08:11:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 08:11:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":6144,"corrected_to":0} 
[2026-08-19 08:11:28] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2701131776,"note":"Value kept but may cause issues"} 
[2026-08-19 08:11:28] local.WARNING: Large IO value detected {"io_id":23,"raw_value":3816165377,"note":"Value kept but may cause issues"} 
[2026-08-19 08:11:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-19 08:11:28] local.WARNING: Large IO value detected {"io_id":82,"raw_value":3892391290,"note":"Value kept but may cause issues"} 
[2026-08-19 08:11:28] local.WARNING: Large IO value detected {"io_id":187,"raw_value":3221611555,"note":"Value kept but may cause issues"} 
[2026-08-19 08:11:28] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2219442176,"note":"Value kept but may cause issues"} 
[2026-08-19 08:11:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3829243904,"note":"Value kept but may cause issues"} 
[2026-08-19 08:11:28] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,208,85,24,241,157,16,133,160,211,45,64,200,6,42,10,66,168,233,8,125,1,240,62,227,132,23,228,4,113,205,25,82,187,41,239,51,2,172,5,19,54],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":200,"original":6144,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-19 08:11:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432522770284675072,"timestamp_seconds":432522770284675.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 08:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":157389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":157389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":157389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:11:28] 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-08-19 08:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499446784001,"66":13298,"208":206,"85":15104,"24":10,"16":120618684719824896,"45":8857173117448380416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499446784001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:11:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120618684719824896,"km_value":120618684719824.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857173117448380416,"description":"Unknown IO ID 45"} 
[2026-08-19 08:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499446784001,"power":13298,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8857173117448380416}} 
[2026-08-19 08:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":157389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:11:28] local.INFO: GPS data processed {"connection_id":157389,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:11:28] local.INFO: Acknowledgment sent {"connection_id":157389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:11:38] local.INFO: TCP Data received {"connection_id":159942,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:11:38] local.INFO: Processing buffer {"connection_id":159942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:11:38] local.INFO: Packet analysis {"connection_id":159942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:11:38] local.INFO: Extracted packet for processing {"connection_id":159942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499345664001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787107120000,"timestamp_ms":1787107120000,"timestamp_seconds":1787107120,"priority":1,"record_length":96,"hex_timestamp":"000001a017e29380"} 
[2026-08-19 08:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:11:38] 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-08-19 08:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499345664001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499345664001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:11:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499345664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":159942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:11:38] local.INFO: GPS data processed {"connection_id":159942,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:11:38] local.INFO: Acknowledgment sent {"connection_id":159942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:12:00] local.INFO: TCP Data received {"connection_id":157390,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:12:00] local.INFO: Processing buffer {"connection_id":157390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:12:00] local.INFO: IMEI packet received {"connection_id":157390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":157390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:12:00] local.INFO: TCP Data received {"connection_id":157389,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e49ef0012d7afb4005e37270000800a52b..."} 
[2026-08-19 08:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e49ef0012d7afb4005e37270000800a52b..."} 
[2026-08-19 08:12:00] local.INFO: Processing buffer {"connection_id":157389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e49ef0012d7afb4005e37270000800a52b..."} 
[2026-08-19 08:12:00] local.INFO: Packet analysis {"connection_id":157389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e4"} 
[2026-08-19 08:12:00] local.INFO: Extracted packet for processing {"connection_id":157389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e4"} 
[2026-08-19 08:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763034432,"raw_latitude":98792048,"longitude_deg":76.3034432,"latitude_deg":9.8792048,"altitude":8,"angle":165,"satellites":43,"speed":31,"hex_longitude":"2d7afb40","hex_latitude":"05e37270","is_valid_coordinates":true} 
[2026-08-19 08:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499451904001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120619118511521792,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858721229819047936,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12: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-08-19 08:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787107254000,"timestamp_ms":1787107254000,"timestamp_seconds":1787107254,"priority":1,"record_length":96,"hex_timestamp":"000001a017e49ef0"} 
[2026-08-19 08:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-19 08:12:00] 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-08-19 08:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":157389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":157389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":157389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:12:00] 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-08-19 08:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499451904001,"66":13319,"208":206,"85":15104,"24":31,"16":120619118511521792,"45":8858721229819047936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499451904001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:12:00] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120619118511521792,"km_value":120619118511521.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858721229819047936,"description":"Unknown IO ID 45"} 
[2026-08-19 08:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499451904001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8858721229819047936}} 
[2026-08-19 08:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":157389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:12:00] local.INFO: GPS data processed {"connection_id":157389,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:12:00] local.INFO: Acknowledgment sent {"connection_id":157389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:12:05] local.INFO: TCP Data received {"connection_id":157390,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:12:05] local.INFO: Processing buffer {"connection_id":157390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:12:05] local.INFO: IMEI packet received {"connection_id":157390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":157390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:12:09] local.INFO: TCP Data received {"connection_id":157390,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:12:09] local.INFO: Processing buffer {"connection_id":157390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:12:09] local.INFO: Packet analysis {"connection_id":157390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:12:09] local.INFO: Extracted packet for processing {"connection_id":157390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499345664001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787107120000,"timestamp_ms":1787107120000,"timestamp_seconds":1787107120,"priority":1,"record_length":96,"hex_timestamp":"000001a017e29380"} 
[2026-08-19 08:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499345664001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499345664001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:12:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499345664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":157390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:12:09] local.INFO: GPS data processed {"connection_id":157390,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:12:09] local.INFO: Acknowledgment sent {"connection_id":157390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:12:25] local.INFO: TCP Data received {"connection_id":158655,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:12:25] local.INFO: Processing buffer {"connection_id":158655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:12:25] local.INFO: IMEI packet received {"connection_id":158655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":158655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:12:25] local.INFO: TCP Data received {"connection_id":158655,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:12:25] local.INFO: Processing buffer {"connection_id":158655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:12:25] local.INFO: IMEI packet received {"connection_id":158655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":158655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:12:30] local.INFO: TCP Data received {"connection_id":158655,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:12:30] local.INFO: Processing buffer {"connection_id":158655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:12:30] local.INFO: IMEI packet received {"connection_id":158655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":158655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:12:32] local.INFO: TCP Data received {"connection_id":158655,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e4ba48012d7b030005e35c78000900992a..."} 
[2026-08-19 08:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e4ba48012d7b030005e35c78000900992a..."} 
[2026-08-19 08:12:32] local.INFO: Processing buffer {"connection_id":158655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e4ba48012d7b030005e35c78000900992a..."} 
[2026-08-19 08:12:32] local.INFO: Packet analysis {"connection_id":158655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e4"} 
[2026-08-19 08:12:32] local.INFO: Extracted packet for processing {"connection_id":158655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e4"} 
[2026-08-19 08:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763036416,"raw_latitude":98786424,"longitude_deg":76.3036416,"latitude_deg":9.8786424,"altitude":9,"angle":153,"satellites":42,"speed":34,"hex_longitude":"2d7b0300","hex_latitude":"05e35c78","is_valid_coordinates":true} 
[2026-08-19 08:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499457024001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120619406274330624,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861747085816524800,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12: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-08-19 08:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787107261000,"timestamp_ms":1787107261000,"timestamp_seconds":1787107261,"priority":1,"record_length":96,"hex_timestamp":"000001a017e4ba48"} 
[2026-08-19 08:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 08:12:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:32] local.WARNING: Large IO value detected {"io_id":227,"raw_value":5974026200551243781,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:32] local.WARNING: Large IO value detected {"io_id":23,"raw_value":3819493377,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-19 08:12:32] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3758173562,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:32] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2225143808,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3826388992,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:32] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:32] local.WARNING: Large IO value detected {"io_id":228,"raw_value":2589569850171402496,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:32] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,208,85,24,241,157,16,134,160,80,45,128,147,9,43,10,66,2,166,6,133,211,64,1,240,227,23,4,113,205,33,125,207,41,239,52,172,5,14,25,138,228],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-19 08:12:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576642356407631872,"timestamp_seconds":576642356407631.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 08:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:12:32] 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-08-19 08:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499457024001,"66":13330,"208":206,"85":15104,"24":34,"16":120619406274330624,"45":8861747085816524800},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499457024001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:12:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120619406274330624,"km_value":120619406274330.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861747085816524800,"description":"Unknown IO ID 45"} 
[2026-08-19 08:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499457024001,"power":13330,"unknown_208":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8861747085816524800}} 
[2026-08-19 08:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":158655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:12:32] local.INFO: GPS data processed {"connection_id":158655,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:12:32] local.INFO: Acknowledgment sent {"connection_id":158655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:12:41] local.INFO: TCP Data received {"connection_id":157390,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:12:41] local.INFO: Processing buffer {"connection_id":157390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:12:41] local.INFO: Packet analysis {"connection_id":157390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:12:41] local.INFO: Extracted packet for processing {"connection_id":157390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:12:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499345664001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787107120000,"timestamp_ms":1787107120000,"timestamp_seconds":1787107120,"priority":1,"record_length":96,"hex_timestamp":"000001a017e29380"} 
[2026-08-19 08:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:12: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-08-19 08:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499345664001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499345664001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:12:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:12:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499345664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":157390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:12:41] local.INFO: GPS data processed {"connection_id":157390,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:12:41] local.INFO: Acknowledgment sent {"connection_id":157390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:13:00] local.INFO: TCP Data received {"connection_id":158656,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:13:00] local.INFO: Processing buffer {"connection_id":158656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:13:00] local.INFO: IMEI packet received {"connection_id":158656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":158656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:13:05] local.INFO: TCP Data received {"connection_id":158656,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:13:05] local.INFO: Processing buffer {"connection_id":158656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:13:05] local.INFO: IMEI packet received {"connection_id":158656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":158656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:13:06] local.INFO: TCP Data received {"connection_id":158655,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e50c50012d7b07c005e352b00008009227..."} 
[2026-08-19 08:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e50c50012d7b07c005e352b00008009227..."} 
[2026-08-19 08:13:06] local.INFO: Processing buffer {"connection_id":158655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e50c50012d7b07c005e352b00008009227..."} 
[2026-08-19 08:13:06] local.INFO: Packet analysis {"connection_id":158655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e5"} 
[2026-08-19 08:13:06] local.INFO: Extracted packet for processing {"connection_id":158655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e5"} 
[2026-08-19 08:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763037632,"raw_latitude":98783920,"longitude_deg":76.3037632,"latitude_deg":9.878392,"altitude":8,"angle":146,"satellites":39,"speed":0,"hex_longitude":"2d7b07c0","hex_latitude":"05e352b0","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499458816001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120619543713284096,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863928516884592640,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13: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-08-19 08:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787107282000,"timestamp_ms":1787107282000,"timestamp_seconds":1787107282,"priority":1,"record_length":96,"hex_timestamp":"000001a017e50c50"} 
[2026-08-19 08:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:13: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-08-19 08: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277138112272409584,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":227,"raw_value":8507300990948278277,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3556769792,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":23,"raw_value":3822309377,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":168,"raw_value":3623955834,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2231959552,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3826057216,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":228,"raw_value":1301540352449324800,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":25,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":95,"raw_value":-3458537648363137024,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,208,85,24,241,157,16,134,160,158,45,64,114,8,43,10,66,80,128,147,9,2,1,240,3,227,133,23,4,113,205,33,168,215,216,42,239,52,172,5,13,29,62,228,25,95],"length":626,"final_offset":756,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-19 08:13:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648686752011255808,"timestamp_seconds":648686752011255.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 08:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:13: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-08-19 08:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499458816001,"66":13406,"208":206,"85":15104,"24":0,"16":120619543713284096,"45":8863928516884592640},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499458816001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:13:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:13:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120619543713284096,"km_value":120619543713284.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863928516884592640,"description":"Unknown IO ID 45"} 
[2026-08-19 08:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499458816001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8863928516884592640}} 
[2026-08-19 08:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":158655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:13:06] local.INFO: GPS data processed {"connection_id":158655,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:13:06] local.INFO: Acknowledgment sent {"connection_id":158655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:13:06] local.INFO: TCP Data received {"connection_id":158656,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:13:06] local.INFO: Processing buffer {"connection_id":158656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:13:06] local.INFO: Packet analysis {"connection_id":158656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:13:06] local.INFO: Extracted packet for processing {"connection_id":158656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499345664001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787107120000,"timestamp_ms":1787107120000,"timestamp_seconds":1787107120,"priority":1,"record_length":96,"hex_timestamp":"000001a017e29380"} 
[2026-08-19 08:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:13:06] 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-08-19 08:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499345664001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499345664001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:13:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499345664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":158656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:13:06] local.INFO: GPS data processed {"connection_id":158656,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:13:06] local.INFO: Acknowledgment sent {"connection_id":158656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:13:21] local.INFO: TCP Data received {"connection_id":158657,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:13:21] local.INFO: Processing buffer {"connection_id":158657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:13:21] local.INFO: IMEI packet received {"connection_id":158657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":158657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:13:22] local.INFO: TCP Data received {"connection_id":158657,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:13:22] local.INFO: Processing buffer {"connection_id":158657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:13:22] local.INFO: IMEI packet received {"connection_id":158657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":158657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:13:23] local.INFO: TCP Data received {"connection_id":158657,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158657,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:13:23] local.INFO: Processing buffer {"connection_id":158657,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:13:23] local.INFO: IMEI packet received {"connection_id":158657,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":158657,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:13:25] local.INFO: TCP Data received {"connection_id":158657,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e55e58012d7b07c005e352b00008009229..."} 
[2026-08-19 08:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e55e58012d7b07c005e352b00008009229..."} 
[2026-08-19 08:13:25] local.INFO: Processing buffer {"connection_id":158657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e55e58012d7b07c005e352b00008009229..."} 
[2026-08-19 08:13:25] local.INFO: Packet analysis {"connection_id":158657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e5"} 
[2026-08-19 08:13:25] local.INFO: Extracted packet for processing {"connection_id":158657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e5"} 
[2026-08-19 08:13:25] local.INFO: GPS Element Parsed {"raw_longitude":763037632,"raw_latitude":98783920,"longitude_deg":76.3037632,"latitude_deg":9.878392,"altitude":8,"angle":146,"satellites":41,"speed":0,"hex_longitude":"2d7b07c0","hex_latitude":"05e352b0","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499464192001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120619543713284096,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865265523023327232,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13: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-08-19 08:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787107303000,"timestamp_ms":1787107303000,"timestamp_seconds":1787107303,"priority":1,"record_length":96,"hex_timestamp":"000001a017e55e58"} 
[2026-08-19 08:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-19 08:13:25] 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-08-19 08: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-08-19 08:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":158657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":158657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":158657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:13:25] 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-08-19 08:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499464192001,"66":13472,"208":206,"85":15104,"24":0,"16":120619543713284096,"45":8865265523023327232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499464192001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:13:25] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:13:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120619543713284096,"km_value":120619543713284.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865265523023327232,"description":"Unknown IO ID 45"} 
[2026-08-19 08:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499464192001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8865265523023327232}} 
[2026-08-19 08:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":158657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:13:25] local.INFO: GPS data processed {"connection_id":158657,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:13:25] local.INFO: Acknowledgment sent {"connection_id":158657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:13:26] local.INFO: TCP Data received {"connection_id":158657,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e56df8012d7b08c005e350a0000900a529..."} 
[2026-08-19 08:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e56df8012d7b08c005e350a0000900a529..."} 
[2026-08-19 08:13:26] local.INFO: Processing buffer {"connection_id":158657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e56df8012d7b08c005e350a0000900a529..."} 
[2026-08-19 08:13:26] local.INFO: Packet analysis {"connection_id":158657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e5"} 
[2026-08-19 08:13:26] local.INFO: Extracted packet for processing {"connection_id":158657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e5"} 
[2026-08-19 08:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763037888,"raw_latitude":98783392,"longitude_deg":76.3037888,"latitude_deg":9.8783392,"altitude":9,"angle":165,"satellites":41,"speed":7,"hex_longitude":"2d7b08c0","hex_latitude":"05e350a0","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499469568001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120619573778055168,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865265523023327232,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:26] 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-08-19 08:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787107307000,"timestamp_ms":1787107307000,"timestamp_seconds":1787107307,"priority":1,"record_length":96,"hex_timestamp":"000001a017e56df8"} 
[2026-08-19 08:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-19 08:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:13:26] 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-08-19 08:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499469568001,"66":13439,"208":206,"85":15104,"24":7,"16":120619573778055168,"45":8865265523023327232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499469568001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:13:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:13:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120619573778055168,"km_value":120619573778055.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865265523023327232,"description":"Unknown IO ID 45"} 
[2026-08-19 08:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499469568001,"power":13439,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8865265523023327232}} 
[2026-08-19 08:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":158657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:13:26] local.INFO: GPS data processed {"connection_id":158657,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:13:26] local.INFO: Acknowledgment sent {"connection_id":158657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:13:37] local.INFO: TCP Data received {"connection_id":158656,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:13:37] local.INFO: Processing buffer {"connection_id":158656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:13:37] local.INFO: Packet analysis {"connection_id":158656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:13:37] local.INFO: Extracted packet for processing {"connection_id":158656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499345664001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13: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-08-19 08:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787107120000,"timestamp_ms":1787107120000,"timestamp_seconds":1787107120,"priority":1,"record_length":96,"hex_timestamp":"000001a017e29380"} 
[2026-08-19 08:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:13: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-08-19 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499345664001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499345664001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499345664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":158656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:13:37] local.INFO: GPS data processed {"connection_id":158656,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:13:37] local.INFO: Acknowledgment sent {"connection_id":158656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:13:57] local.INFO: TCP Data received {"connection_id":158657,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e5c000012d7b0e4005e33780000900ab28..."} 
[2026-08-19 08:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e5c000012d7b0e4005e33780000900ab28..."} 
[2026-08-19 08:13:57] local.INFO: Processing buffer {"connection_id":158657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e5c000012d7b0e4005e33780000900ab28..."} 
[2026-08-19 08:13:57] local.INFO: Packet analysis {"connection_id":158657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e5"} 
[2026-08-19 08:13:57] local.INFO: Extracted packet for processing {"connection_id":158657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e5"} 
[2026-08-19 08:13:57] local.INFO: GPS Element Parsed {"raw_longitude":763039296,"raw_latitude":98776960,"longitude_deg":76.3039296,"latitude_deg":9.877696,"altitude":9,"angle":171,"satellites":40,"speed":7,"hex_longitude":"2d7b0e40","hex_latitude":"05e33780","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499470592001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120619895900602368,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865546997999902720,"note":"Value kept but may cause issues"} 
[2026-08-19 08:13: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-08-19 08:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787107328000,"timestamp_ms":1787107328000,"timestamp_seconds":1787107328,"priority":1,"record_length":96,"hex_timestamp":"000001a017e5c000"} 
[2026-08-19 08:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:13:57] 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-08-19 08: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-19 08:13:57] 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-08-19 08: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-08-19 08:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":158657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":158657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":158657,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:13:57] 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-08-19 08:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499470592001,"66":13037,"208":206,"85":15104,"24":7,"16":120619895900602368,"45":8865546997999902720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499470592001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:13:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:13:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120619895900602368,"km_value":120619895900602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865546997999902720,"description":"Unknown IO ID 45"} 
[2026-08-19 08:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499470592001,"power":13037,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8865546997999902720}} 
[2026-08-19 08:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":158657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:13:57] local.INFO: GPS data processed {"connection_id":158657,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:13:57] local.INFO: Acknowledgment sent {"connection_id":158657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:14:00] local.INFO: TCP Data received {"connection_id":157770,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:14:00] local.INFO: Processing buffer {"connection_id":157770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:14:00] local.INFO: IMEI packet received {"connection_id":157770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":157770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:14:05] local.INFO: TCP Data received {"connection_id":157770,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:14:05] local.INFO: Processing buffer {"connection_id":157770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:14:05] local.INFO: IMEI packet received {"connection_id":157770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":157770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:14:06] local.INFO: TCP Data received {"connection_id":157770,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:14:06] local.INFO: Processing buffer {"connection_id":157770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e29380012d34c50006aa40780009005927..."} 
[2026-08-19 08:14:06] local.INFO: Packet analysis {"connection_id":157770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:14:06] local.INFO: Extracted packet for processing {"connection_id":157770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e2"} 
[2026-08-19 08:14:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":9,"angle":89,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499345664001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787107120000,"timestamp_ms":1787107120000,"timestamp_seconds":1787107120,"priority":1,"record_length":96,"hex_timestamp":"000001a017e29380"} 
[2026-08-19 08:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499345664001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499345664001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:14:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:14:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499345664001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":157770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:14:06] local.INFO: GPS data processed {"connection_id":157770,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:14:06] local.INFO: Acknowledgment sent {"connection_id":157770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:14:21] local.INFO: TCP Data received {"connection_id":157771,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:14:21] local.INFO: Processing buffer {"connection_id":157771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:14:21] local.INFO: IMEI packet received {"connection_id":157771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":157771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:14:25] local.INFO: TCP Data received {"connection_id":157771,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:14:25] local.INFO: Processing buffer {"connection_id":157771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:14:25] local.INFO: IMEI packet received {"connection_id":157771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":157771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:14:26] local.INFO: TCP Data received {"connection_id":157771,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e73ae8012d7b1c4005e2ef98000400a821..."} 
[2026-08-19 08:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e73ae8012d7b1c4005e2ef98000400a821..."} 
[2026-08-19 08:14:26] local.INFO: Processing buffer {"connection_id":157771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e73ae8012d7b1c4005e2ef98000400a821..."} 
[2026-08-19 08:14:26] local.INFO: Packet analysis {"connection_id":157771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:14:26] local.INFO: Extracted packet for processing {"connection_id":157771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:14:26] local.INFO: GPS Element Parsed {"raw_longitude":763042880,"raw_latitude":98758552,"longitude_deg":76.304288,"latitude_deg":9.8758552,"altitude":4,"angle":168,"satellites":33,"speed":29,"hex_longitude":"2d7b1c40","hex_latitude":"05e2ef98","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499495424001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120620832203472896,"note":"Value kept but may cause issues"} 
[2026-08-19 08:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869206172692998144,"note":"Value kept but may cause issues"} 
[2026-08-19 08:14:26] 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-08-19 08:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787107425000,"timestamp_ms":1787107425000,"timestamp_seconds":1787107425,"priority":1,"record_length":96,"hex_timestamp":"000001a017e73ae8"} 
[2026-08-19 08:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-19 08:14:26] 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-08-19 08: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-08-19 08:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:14:26] 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-08-19 08:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499495424001,"66":13559,"208":206,"85":15104,"24":29,"16":120620832203472896,"45":8869206172692998144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499495424001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:14:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:14:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120620832203472896,"km_value":120620832203472.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869206172692998144,"description":"Unknown IO ID 45"} 
[2026-08-19 08:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499495424001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8869206172692998144}} 
[2026-08-19 08:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":157771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:14:26] local.INFO: GPS data processed {"connection_id":157771,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:14:26] local.INFO: Acknowledgment sent {"connection_id":157771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:14:37] local.INFO: TCP Data received {"connection_id":157770,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:14:37] local.INFO: Processing buffer {"connection_id":157770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:14:37] local.INFO: Packet analysis {"connection_id":157770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:14:37] local.INFO: Extracted packet for processing {"connection_id":157770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499422720001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787107421000,"timestamp_ms":1787107421000,"timestamp_seconds":1787107421,"priority":1,"record_length":96,"hex_timestamp":"000001a017e72b48"} 
[2026-08-19 08:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:14: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-08-19 08:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499422720001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499422720001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499422720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":157770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:14:37] local.INFO: GPS data processed {"connection_id":157770,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:14:37] local.INFO: Acknowledgment sent {"connection_id":157770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:14:59] local.INFO: TCP Data received {"connection_id":157771,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e765e0012d7b228005e2cc90000300a820..."} 
[2026-08-19 08:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e765e0012d7b228005e2cc90000300a820..."} 
[2026-08-19 08:14:59] local.INFO: Processing buffer {"connection_id":157771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e765e0012d7b228005e2cc90000300a820..."} 
[2026-08-19 08:14:59] local.INFO: Packet analysis {"connection_id":157771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:14:59] local.INFO: Extracted packet for processing {"connection_id":157771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763044480,"raw_latitude":98749584,"longitude_deg":76.304448,"latitude_deg":9.8749584,"altitude":3,"angle":168,"satellites":32,"speed":32,"hex_longitude":"2d7b2280","hex_latitude":"05e2cc90","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499500800001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120621274585104384,"note":"Value kept but may cause issues"} 
[2026-08-19 08:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871035760039401472,"note":"Value kept but may cause issues"} 
[2026-08-19 08:14: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-08-19 08:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787107436000,"timestamp_ms":1787107436000,"timestamp_seconds":1787107436,"priority":1,"record_length":96,"hex_timestamp":"000001a017e765e0"} 
[2026-08-19 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-08-19 08:14: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-08-19 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-19 08:14: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-08-19 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-08-19 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-08-19 08:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":157771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":157771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":157771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:14:59] 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-08-19 08:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499500800001,"66":13493,"208":206,"85":15104,"24":32,"16":120621274585104384,"45":8871035760039401472},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499500800001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:14:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:14:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120621274585104384,"km_value":120621274585104.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871035760039401472,"description":"Unknown IO ID 45"} 
[2026-08-19 08:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499500800001,"power":13493,"unknown_208":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8871035760039401472}} 
[2026-08-19 08:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":157771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:14:59] local.INFO: GPS data processed {"connection_id":157771,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:14:59] local.INFO: Acknowledgment sent {"connection_id":157771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:15:00] local.INFO: TCP Data received {"connection_id":158658,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:15:00] local.INFO: Processing buffer {"connection_id":158658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:15:00] local.INFO: IMEI packet received {"connection_id":158658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":158658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:15:05] local.INFO: TCP Data received {"connection_id":158658,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:15:05] local.INFO: Processing buffer {"connection_id":158658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:15:05] local.INFO: IMEI packet received {"connection_id":158658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":158658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:15:10] local.INFO: TCP Data received {"connection_id":158658,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:15:10] local.INFO: Processing buffer {"connection_id":158658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:15:10] local.INFO: Packet analysis {"connection_id":158658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:15:10] local.INFO: Extracted packet for processing {"connection_id":158658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499422720001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787107421000,"timestamp_ms":1787107421000,"timestamp_seconds":1787107421,"priority":1,"record_length":96,"hex_timestamp":"000001a017e72b48"} 
[2026-08-19 08:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499422720001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499422720001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:15:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499422720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":158658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:15:10] local.INFO: GPS data processed {"connection_id":158658,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:15:10] local.INFO: Acknowledgment sent {"connection_id":158658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:15:21] local.INFO: TCP Data received {"connection_id":157772,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:15:21] local.INFO: Processing buffer {"connection_id":157772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:15:21] local.INFO: IMEI packet received {"connection_id":157772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":157772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:15:22] local.INFO: TCP Data received {"connection_id":157772,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:15:22] local.INFO: Processing buffer {"connection_id":157772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:15:22] local.INFO: IMEI packet received {"connection_id":157772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":157772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:15:25] local.INFO: TCP Data received {"connection_id":157772,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:15:25] local.INFO: Processing buffer {"connection_id":157772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:15:25] local.INFO: IMEI packet received {"connection_id":157772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":157772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:15:26] local.INFO: TCP Data received {"connection_id":157772,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e790d8012d7b254005e2a888000300a621..."} 
[2026-08-19 08:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e790d8012d7b254005e2a888000300a621..."} 
[2026-08-19 08:15:26] local.INFO: Processing buffer {"connection_id":157772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e790d8012d7b254005e2a888000300a621..."} 
[2026-08-19 08:15:26] local.INFO: Packet analysis {"connection_id":157772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:15:26] local.INFO: Extracted packet for processing {"connection_id":157772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:15:26] local.INFO: GPS Element Parsed {"raw_longitude":763045184,"raw_latitude":98740360,"longitude_deg":76.3045184,"latitude_deg":9.874036,"altitude":3,"angle":166,"satellites":33,"speed":20,"hex_longitude":"2d7b2540","hex_latitude":"05e2a888","is_valid_coordinates":true} 
[2026-08-19 08:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499503616001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120621725556670464,"note":"Value kept but may cause issues"} 
[2026-08-19 08:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872794978641547264,"note":"Value kept but may cause issues"} 
[2026-08-19 08:15:26] 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-08-19 08:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787107447000,"timestamp_ms":1787107447000,"timestamp_seconds":1787107447,"priority":1,"record_length":96,"hex_timestamp":"000001a017e790d8"} 
[2026-08-19 08:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:15:26] 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-08-19 08:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-19 08:15:26] 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-08-19 08:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:15:26] 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-08-19 08:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499503616001,"66":12613,"207":206,"85":15104,"24":20,"16":120621725556670464,"45":8872794978641547264},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-19 08:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499503616001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:15:26] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-19 08:15:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120621725556670464,"km_value":120621725556670.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872794978641547264,"description":"Unknown IO ID 45"} 
[2026-08-19 08:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499503616001,"power":12613,"unknown_207":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8872794978641547264}} 
[2026-08-19 08:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":157772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:15:26] local.INFO: GPS data processed {"connection_id":157772,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:15:26] local.INFO: Acknowledgment sent {"connection_id":157772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:15:41] local.INFO: TCP Data received {"connection_id":158658,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:15:41] local.INFO: Processing buffer {"connection_id":158658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:15:41] local.INFO: Packet analysis {"connection_id":158658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:15:41] local.INFO: Extracted packet for processing {"connection_id":158658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:15:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499422720001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787107421000,"timestamp_ms":1787107421000,"timestamp_seconds":1787107421,"priority":1,"record_length":96,"hex_timestamp":"000001a017e72b48"} 
[2026-08-19 08:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:15: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-08-19 08:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499422720001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499422720001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:15:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:15:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499422720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":158658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:15:42] local.INFO: GPS data processed {"connection_id":158658,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:15:42] local.INFO: Acknowledgment sent {"connection_id":158658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:15:58] local.INFO: TCP Data received {"connection_id":157772,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e8d510012d7b168005e2c9500003016122..."} 
[2026-08-19 08:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e8d510012d7b168005e2c9500003016122..."} 
[2026-08-19 08:15:58] local.INFO: Processing buffer {"connection_id":157772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e8d510012d7b168005e2c9500003016122..."} 
[2026-08-19 08:15:58] local.INFO: Packet analysis {"connection_id":157772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e8"} 
[2026-08-19 08:15:58] local.INFO: Extracted packet for processing {"connection_id":157772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e8"} 
[2026-08-19 08:15:58] local.INFO: GPS Element Parsed {"raw_longitude":763041408,"raw_latitude":98748752,"longitude_deg":76.3041408,"latitude_deg":9.8748752,"altitude":3,"angle":353,"satellites":34,"speed":33,"hex_longitude":"2d7b1680","hex_latitude":"05e2c950","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499524864001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120622812183396352,"note":"Value kept but may cause issues"} 
[2026-08-19 08:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870895022546204672,"note":"Value kept but may cause issues"} 
[2026-08-19 08:15:58] 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-08-19 08:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787107530000,"timestamp_ms":1787107530000,"timestamp_seconds":1787107530,"priority":1,"record_length":96,"hex_timestamp":"000001a017e8d510"} 
[2026-08-19 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-08-19 08:15:58] 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-08-19 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-19 08:15:58] 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-08-19 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-08-19 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-08-19 08:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:15:58] 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-08-19 08:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499524864001,"66":13580,"207":206,"85":15104,"24":33,"16":120622812183396352,"45":8870895022546204672},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-19 08:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499524864001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:15:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-19 08:15:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120622812183396352,"km_value":120622812183396.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870895022546204672,"description":"Unknown IO ID 45"} 
[2026-08-19 08:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499524864001,"power":13580,"unknown_207":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8870895022546204672}} 
[2026-08-19 08:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":157772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:15:58] local.INFO: GPS data processed {"connection_id":157772,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:15:58] local.INFO: Acknowledgment sent {"connection_id":157772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:16:00] local.INFO: TCP Data received {"connection_id":157773,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:16:00] local.INFO: Processing buffer {"connection_id":157773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:16:00] local.INFO: IMEI packet received {"connection_id":157773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":157773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:16:05] local.INFO: TCP Data received {"connection_id":157773,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:16:05] local.INFO: Processing buffer {"connection_id":157773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:16:05] local.INFO: IMEI packet received {"connection_id":157773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":157773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:16:15] local.INFO: TCP Data received {"connection_id":157773,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:16:15] local.INFO: Processing buffer {"connection_id":157773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:16:15] local.INFO: Packet analysis {"connection_id":157773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:16:15] local.INFO: Extracted packet for processing {"connection_id":157773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499422720001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787107421000,"timestamp_ms":1787107421000,"timestamp_seconds":1787107421,"priority":1,"record_length":96,"hex_timestamp":"000001a017e72b48"} 
[2026-08-19 08:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499422720001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499422720001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:16:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499422720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":157773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:16:15] local.INFO: GPS data processed {"connection_id":157773,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:16:15] local.INFO: Acknowledgment sent {"connection_id":157773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:16:20] local.INFO: TCP Data received {"connection_id":157391,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:16:20] local.INFO: Processing buffer {"connection_id":157391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:16:20] local.INFO: IMEI packet received {"connection_id":157391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":157391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:16:21] local.INFO: TCP Data received {"connection_id":157391,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:16:21] local.INFO: Processing buffer {"connection_id":157391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:16:21] local.INFO: IMEI packet received {"connection_id":157391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":157391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:16:25] local.INFO: TCP Data received {"connection_id":157391,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:16:25] local.INFO: Processing buffer {"connection_id":157391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:16:25] local.INFO: IMEI packet received {"connection_id":157391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":157391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:16:27] local.INFO: TCP Data received {"connection_id":157391,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e903f0012d7b114005e2ee00000301631a..."} 
[2026-08-19 08:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e903f0012d7b114005e2ee00000301631a..."} 
[2026-08-19 08:16:27] local.INFO: Processing buffer {"connection_id":157391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e903f0012d7b114005e2ee00000301631a..."} 
[2026-08-19 08:16:27] local.INFO: Packet analysis {"connection_id":157391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e9"} 
[2026-08-19 08:16:27] local.INFO: Extracted packet for processing {"connection_id":157391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e9"} 
[2026-08-19 08:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763040064,"raw_latitude":98758144,"longitude_deg":76.3040064,"latitude_deg":9.8758144,"altitude":3,"angle":355,"satellites":26,"speed":27,"hex_longitude":"2d7b1140","hex_latitude":"05e2ee00","is_valid_coordinates":true} 
[2026-08-19 08:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499527680001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120623271744897024,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869417278920806400,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:27] 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-08-19 08:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787107542000,"timestamp_ms":1787107542000,"timestamp_seconds":1787107542,"priority":1,"record_length":96,"hex_timestamp":"000001a017e903f0"} 
[2026-08-19 08:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:16:27] 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-08-19 08:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 08:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623305,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:27] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2846281435243347971,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6014252737632403456,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:27] local.WARNING: Large IO value detected {"io_id":23,"raw_value":3899365377,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:27] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2418540547,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634462951464911,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-08-19 08:16:27] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3758173563,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:27] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:27] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2300706816,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3801227264,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:27] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648292534962827691,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:27] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755455275761905,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:27] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,207,85,24,241,157,16,137,160,170,45,192,165,3,37,10,66,131,64,145,39,123,128,1,240,227,23,226,4,113,205,95,35,38,239,50,2,172,5,11,52,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0}]} 
[2026-08-19 08:16:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216561055749439488,"timestamp_seconds":216561055749439.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 08:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:16:27] 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-08-19 08:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499527680001,"66":13363,"207":206,"85":15104,"24":27,"16":120623271744897024,"45":8869417278920806400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-19 08:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499527680001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:16:27] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-19 08:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120623271744897024,"km_value":120623271744897.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869417278920806400,"description":"Unknown IO ID 45"} 
[2026-08-19 08:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499527680001,"power":13363,"unknown_207":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8869417278920806400}} 
[2026-08-19 08:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":157391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:16:27] local.INFO: GPS data processed {"connection_id":157391,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:16:27] local.INFO: Acknowledgment sent {"connection_id":157391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:16:58] local.INFO: TCP Data received {"connection_id":157391,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e92330012d7b0f4005e2fdc0000200061a..."} 
[2026-08-19 08:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e92330012d7b0f4005e2fdc0000200061a..."} 
[2026-08-19 08:16:58] local.INFO: Processing buffer {"connection_id":157391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e92330012d7b0f4005e2fdc0000200061a..."} 
[2026-08-19 08:16:58] local.INFO: Packet analysis {"connection_id":157391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e9"} 
[2026-08-19 08:16:58] local.INFO: Extracted packet for processing {"connection_id":157391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e9"} 
[2026-08-19 08:16:58] local.INFO: GPS Element Parsed {"raw_longitude":763039552,"raw_latitude":98762176,"longitude_deg":76.3039552,"latitude_deg":9.8762176,"altitude":2,"angle":6,"satellites":26,"speed":8,"hex_longitude":"2d7b0f40","hex_latitude":"05e2fdc0","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499530752001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120623469313392640,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867939535295479808,"note":"Value kept but may cause issues"} 
[2026-08-19 08:16:58] 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-08-19 08:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787107550000,"timestamp_ms":1787107550000,"timestamp_seconds":1787107550,"priority":1,"record_length":96,"hex_timestamp":"000001a017e92330"} 
[2026-08-19 08:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:16:58] 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-08-19 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 08:16:58] 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-08-19 08: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-08-19 08:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:16:58] 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-08-19 08:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499530752001,"66":13428,"207":206,"85":15104,"24":8,"16":120623469313392640,"45":8867939535295479808},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-19 08:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499530752001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:16:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-19 08:16:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120623469313392640,"km_value":120623469313392.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867939535295479808,"description":"Unknown IO ID 45"} 
[2026-08-19 08:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499530752001,"power":13428,"unknown_207":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8867939535295479808}} 
[2026-08-19 08:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":157391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:16:58] local.INFO: GPS data processed {"connection_id":157391,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:16:58] local.INFO: Acknowledgment sent {"connection_id":157391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:17:00] local.INFO: TCP Data received {"connection_id":159943,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:17:00] local.INFO: Processing buffer {"connection_id":159943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:17:00] local.INFO: IMEI packet received {"connection_id":159943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":159943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:17:08] local.INFO: TCP Data received {"connection_id":159943,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:17:08] local.INFO: Processing buffer {"connection_id":159943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:17:08] local.INFO: IMEI packet received {"connection_id":159943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":159943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:17:09] local.INFO: TCP Data received {"connection_id":159943,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:17:09] local.INFO: Processing buffer {"connection_id":159943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:17:09] local.INFO: Packet analysis {"connection_id":159943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:17:09] local.INFO: Extracted packet for processing {"connection_id":159943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499422720001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787107421000,"timestamp_ms":1787107421000,"timestamp_seconds":1787107421,"priority":1,"record_length":96,"hex_timestamp":"000001a017e72b48"} 
[2026-08-19 08:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:17:09] 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-08-19 08:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499422720001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499422720001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:17:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499422720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":159943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:17:09] local.INFO: GPS data processed {"connection_id":159943,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:17:09] local.INFO: Acknowledgment sent {"connection_id":159943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:17:20] local.INFO: TCP Data received {"connection_id":158659,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:17:20] local.INFO: Processing buffer {"connection_id":158659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:17:20] local.INFO: IMEI packet received {"connection_id":158659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":158659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:17:26] local.INFO: TCP Data received {"connection_id":158659,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:17:26] local.INFO: Processing buffer {"connection_id":158659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:17:26] local.INFO: IMEI packet received {"connection_id":158659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":158659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:17:30] local.INFO: TCP Data received {"connection_id":158659,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e94a40012d7b0f0005e2fe380001015d1a..."} 
[2026-08-19 08:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e94a40012d7b0f0005e2fe380001015d1a..."} 
[2026-08-19 08:17:30] local.INFO: Processing buffer {"connection_id":158659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e94a40012d7b0f0005e2fe380001015d1a..."} 
[2026-08-19 08:17:30] local.INFO: Packet analysis {"connection_id":158659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e9"} 
[2026-08-19 08:17:30] local.INFO: Extracted packet for processing {"connection_id":158659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e9"} 
[2026-08-19 08:17:30] local.INFO: GPS Element Parsed {"raw_longitude":763039488,"raw_latitude":98762296,"longitude_deg":76.3039488,"latitude_deg":9.8762296,"altitude":1,"angle":349,"satellites":26,"speed":8,"hex_longitude":"2d7b0f00","hex_latitude":"05e2fe38","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499532800001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120623507968098304,"note":"Value kept but may cause issues"} 
[2026-08-19 08:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867376585343090688,"note":"Value kept but may cause issues"} 
[2026-08-19 08:17:30] 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-08-19 08:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787107560000,"timestamp_ms":1787107560000,"timestamp_seconds":1787107560,"priority":1,"record_length":96,"hex_timestamp":"000001a017e94a40"} 
[2026-08-19 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-08-19 08:17:30] 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-08-19 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-19 08:17: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-08-19 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-08-19 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-08-19 08:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":158659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":158659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":158659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:17:30] 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-08-19 08:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499532800001,"66":13428,"207":206,"85":15104,"24":8,"16":120623507968098304,"45":8867376585343090688},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-19 08:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499532800001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:17:30] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-19 08:17:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120623507968098304,"km_value":120623507968098.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867376585343090688,"description":"Unknown IO ID 45"} 
[2026-08-19 08:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499532800001,"power":13428,"unknown_207":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8867376585343090688}} 
[2026-08-19 08:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":158659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:17:30] local.INFO: GPS data processed {"connection_id":158659,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:17:30] local.INFO: Acknowledgment sent {"connection_id":158659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:17:43] local.INFO: TCP Data received {"connection_id":159943,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:17:43] local.INFO: Processing buffer {"connection_id":159943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:17:43] local.INFO: Packet analysis {"connection_id":159943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:17:43] local.INFO: Extracted packet for processing {"connection_id":159943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499422720001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787107421000,"timestamp_ms":1787107421000,"timestamp_seconds":1787107421,"priority":1,"record_length":96,"hex_timestamp":"000001a017e72b48"} 
[2026-08-19 08:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499422720001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499422720001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:17:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:17:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499422720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":159943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:17:44] local.INFO: GPS data processed {"connection_id":159943,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:17:44] local.INFO: Acknowledgment sent {"connection_id":159943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:18:00] local.INFO: TCP Data received {"connection_id":159944,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:18:00] local.INFO: Processing buffer {"connection_id":159944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:18:00] local.INFO: IMEI packet received {"connection_id":159944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":159944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:18:01] local.INFO: TCP Data received {"connection_id":158659,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e984d8012d7b0cc005e30958000100041b..."} 
[2026-08-19 08:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e984d8012d7b0cc005e30958000100041b..."} 
[2026-08-19 08:18:01] local.INFO: Processing buffer {"connection_id":158659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e984d8012d7b0cc005e30958000100041b..."} 
[2026-08-19 08:18:01] local.INFO: Packet analysis {"connection_id":158659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e9"} 
[2026-08-19 08:18:01] local.INFO: Extracted packet for processing {"connection_id":158659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e9"} 
[2026-08-19 08:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98765144,"longitude_deg":76.3038912,"latitude_deg":9.8765144,"altitude":1,"angle":4,"satellites":27,"speed":1,"hex_longitude":"2d7b0cc0","hex_latitude":"05e30958","is_valid_coordinates":true} 
[2026-08-19 08:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499535360001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120623653996986368,"note":"Value kept but may cause issues"} 
[2026-08-19 08:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867306216598943744,"note":"Value kept but may cause issues"} 
[2026-08-19 08:18:01] 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-08-19 08:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787107575000,"timestamp_ms":1787107575000,"timestamp_seconds":1787107575,"priority":1,"record_length":96,"hex_timestamp":"000001a017e984d8"} 
[2026-08-19 08:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-19 08:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":158659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":158659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":158659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:18:01] 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-08-19 08:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499535360001,"66":13396,"207":206,"85":15104,"24":1,"16":120623653996986368,"45":8867306216598943744},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-19 08:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499535360001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:18:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-19 08:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120623653996986368,"km_value":120623653996986.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867306216598943744,"description":"Unknown IO ID 45"} 
[2026-08-19 08:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499535360001,"power":13396,"unknown_207":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8867306216598943744}} 
[2026-08-19 08:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":158659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:18:01] local.INFO: GPS data processed {"connection_id":158659,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:18:01] local.INFO: Acknowledgment sent {"connection_id":158659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:18:05] local.INFO: TCP Data received {"connection_id":159944,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:18:05] local.INFO: Processing buffer {"connection_id":159944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:18:05] local.INFO: IMEI packet received {"connection_id":159944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":159944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:18:12] local.INFO: TCP Data received {"connection_id":159944,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:18:12] local.INFO: Processing buffer {"connection_id":159944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:18:12] local.INFO: Packet analysis {"connection_id":159944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:18:12] local.INFO: Extracted packet for processing {"connection_id":159944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:18:12] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499422720001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787107421000,"timestamp_ms":1787107421000,"timestamp_seconds":1787107421,"priority":1,"record_length":96,"hex_timestamp":"000001a017e72b48"} 
[2026-08-19 08:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499422720001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499422720001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:18:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:18:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499422720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":159944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:18:12] local.INFO: GPS data processed {"connection_id":159944,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:18:12] local.INFO: Acknowledgment sent {"connection_id":159944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:18:20] local.INFO: TCP Data received {"connection_id":157774,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:18:20] local.INFO: Processing buffer {"connection_id":157774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:18:20] local.INFO: IMEI packet received {"connection_id":157774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":157774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:18:22] local.INFO: TCP Data received {"connection_id":157774,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:18:22] local.INFO: Processing buffer {"connection_id":157774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:18:22] local.INFO: IMEI packet received {"connection_id":157774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":157774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:18:27] local.INFO: TCP Data received {"connection_id":157774,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:18:27] local.INFO: Processing buffer {"connection_id":157774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:18:27] local.INFO: IMEI packet received {"connection_id":157774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":157774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:18:29] local.INFO: TCP Data received {"connection_id":157774,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e99478012d7b0c8005e30ce0000101611c..."} 
[2026-08-19 08:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e99478012d7b0c8005e30ce0000101611c..."} 
[2026-08-19 08:18:29] local.INFO: Processing buffer {"connection_id":157774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e99478012d7b0c8005e30ce0000101611c..."} 
[2026-08-19 08:18:29] local.INFO: Packet analysis {"connection_id":157774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e9"} 
[2026-08-19 08:18:29] local.INFO: Extracted packet for processing {"connection_id":157774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e9"} 
[2026-08-19 08:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98766048,"longitude_deg":76.3038848,"latitude_deg":9.8766048,"altitude":1,"angle":353,"satellites":28,"speed":12,"hex_longitude":"2d7b0c80","hex_latitude":"05e30ce0","is_valid_coordinates":true} 
[2026-08-19 08:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499539200001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120623696946659328,"note":"Value kept but may cause issues"} 
[2026-08-19 08:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897902073856,"note":"Value kept but may cause issues"} 
[2026-08-19 08:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787107579000,"timestamp_ms":1787107579000,"timestamp_seconds":1787107579,"priority":1,"record_length":96,"hex_timestamp":"000001a017e99478"} 
[2026-08-19 08:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 08:18:29] 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-08-19 08:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":157774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":157774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":157774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:18:29] 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-08-19 08:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499539200001,"66":13656,"208":206,"85":15104,"24":12,"16":120623696946659328,"45":8866672897902073856},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499539200001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:18:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120623696946659328,"km_value":120623696946659.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897902073856,"description":"Unknown IO ID 45"} 
[2026-08-19 08:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499539200001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8866672897902073856}} 
[2026-08-19 08:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":157774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:18:29] local.INFO: GPS data processed {"connection_id":157774,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:18:29] local.INFO: Acknowledgment sent {"connection_id":157774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:18:45] local.INFO: TCP Data received {"connection_id":159944,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:18:45] local.INFO: Processing buffer {"connection_id":159944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:18:45] local.INFO: Packet analysis {"connection_id":159944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:18:45] local.INFO: Extracted packet for processing {"connection_id":159944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499422720001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787107421000,"timestamp_ms":1787107421000,"timestamp_seconds":1787107421,"priority":1,"record_length":96,"hex_timestamp":"000001a017e72b48"} 
[2026-08-19 08:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:18:45] 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-08-19 08:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499422720001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499422720001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:18:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499422720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":159944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:18:45] local.INFO: GPS data processed {"connection_id":159944,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:18:45] local.INFO: Acknowledgment sent {"connection_id":159944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:19:00] local.INFO: TCP Data received {"connection_id":158660,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:19:00] local.INFO: Processing buffer {"connection_id":158660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:19:00] local.INFO: IMEI packet received {"connection_id":158660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":158660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:19:00] local.INFO: TCP Data received {"connection_id":157774,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017e9c740012d7b07c005e33088000201671b..."} 
[2026-08-19 08:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e9c740012d7b07c005e33088000201671b..."} 
[2026-08-19 08:19:00] local.INFO: Processing buffer {"connection_id":157774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e9c740012d7b07c005e33088000201671b..."} 
[2026-08-19 08:19:00] local.INFO: Packet analysis {"connection_id":157774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e9"} 
[2026-08-19 08:19:00] local.INFO: Extracted packet for processing {"connection_id":157774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e9"} 
[2026-08-19 08:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763037632,"raw_latitude":98775176,"longitude_deg":76.3037632,"latitude_deg":9.8775176,"altitude":2,"angle":359,"satellites":27,"speed":28,"hex_longitude":"2d7b07c0","hex_latitude":"05e33088","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499540224001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120624143623258112,"note":"Value kept but may cause issues"} 
[2026-08-19 08:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529158127616,"note":"Value kept but may cause issues"} 
[2026-08-19 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-08-19 08:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787107592000,"timestamp_ms":1787107592000,"timestamp_seconds":1787107592,"priority":1,"record_length":96,"hex_timestamp":"000001a017e9c740"} 
[2026-08-19 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-08-19 08:19:00] 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-08-19 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-19 08:19: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-08-19 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-08-19 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-08-19 08:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":157774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":157774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":157774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:19:00] 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-08-19 08:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499540224001,"66":13559,"208":206,"85":15104,"24":28,"16":120624143623258112,"45":8866602529158127616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499540224001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:19:00] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120624143623258112,"km_value":120624143623258.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529158127616,"description":"Unknown IO ID 45"} 
[2026-08-19 08:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499540224001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8866602529158127616}} 
[2026-08-19 08:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":157774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:19:00] local.INFO: GPS data processed {"connection_id":157774,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:19:00] local.INFO: Acknowledgment sent {"connection_id":157774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:19:05] local.INFO: TCP Data received {"connection_id":158660,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:19:05] local.INFO: Processing buffer {"connection_id":158660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:19:05] local.INFO: IMEI packet received {"connection_id":158660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":158660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:19:08] local.INFO: TCP Data received {"connection_id":158660,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:19:08] local.INFO: Processing buffer {"connection_id":158660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017e72b48012d34c50006aa40780006005925..."} 
[2026-08-19 08:19:08] local.INFO: Packet analysis {"connection_id":158660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:19:08] local.INFO: Extracted packet for processing {"connection_id":158660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017e7"} 
[2026-08-19 08:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499422720001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787107421000,"timestamp_ms":1787107421000,"timestamp_seconds":1787107421,"priority":1,"record_length":96,"hex_timestamp":"000001a017e72b48"} 
[2026-08-19 08:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:19: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-08-19 08:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 08:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":158660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":158660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":158660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:19:08] 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-08-19 08:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499422720001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499422720001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:19:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499422720001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":158660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:19:08] local.INFO: GPS data processed {"connection_id":158660,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:19:08] local.INFO: Acknowledgment sent {"connection_id":158660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:19:25] local.INFO: TCP Data received {"connection_id":157392,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:19:25] local.INFO: Processing buffer {"connection_id":157392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:19:25] local.INFO: IMEI packet received {"connection_id":157392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":157392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:19:31] local.INFO: TCP Data received {"connection_id":157392,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:19:31] local.INFO: Processing buffer {"connection_id":157392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:19:31] local.INFO: IMEI packet received {"connection_id":157392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":157392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:19:32] local.INFO: TCP Data received {"connection_id":157392,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017ec20d0012d7accc005e410300005013e25..."} 
[2026-08-19 08:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ec20d0012d7accc005e410300005013e25..."} 
[2026-08-19 08:19:32] local.INFO: Processing buffer {"connection_id":157392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ec20d0012d7accc005e410300005013e25..."} 
[2026-08-19 08:19:32] local.INFO: Packet analysis {"connection_id":157392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ec"} 
[2026-08-19 08:19:32] local.INFO: Extracted packet for processing {"connection_id":157392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ec"} 
[2026-08-19 08:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763022528,"raw_latitude":98832432,"longitude_deg":76.3022528,"latitude_deg":9.8832432,"altitude":5,"angle":318,"satellites":37,"speed":8,"hex_longitude":"2d7accc0","hex_latitude":"05e41030","is_valid_coordinates":true} 
[2026-08-19 08:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499582464001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120627047021150208,"note":"Value kept but may cause issues"} 
[2026-08-19 08:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848939974386434048,"note":"Value kept but may cause issues"} 
[2026-08-19 08:19: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-08-19 08:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787107746000,"timestamp_ms":1787107746000,"timestamp_seconds":1787107746,"priority":1,"record_length":96,"hex_timestamp":"000001a017ec20d0"} 
[2026-08-19 08:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:19: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-08-19 08:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-19 08:19:32] 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-08-19 08:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":157392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":157392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":157392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:19:32] 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-08-19 08:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499582464001,"66":13472,"208":206,"85":15104,"24":8,"16":120627047021150208,"45":8848939974386434048},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499582464001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:19:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120627047021150208,"km_value":120627047021150.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848939974386434048,"description":"Unknown IO ID 45"} 
[2026-08-19 08:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499582464001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8848939974386434048}} 
[2026-08-19 08:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":157392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:19:32] local.INFO: GPS data processed {"connection_id":157392,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:19:32] local.INFO: Acknowledgment sent {"connection_id":157392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:19:40] local.INFO: TCP Data received {"connection_id":158660,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:19:40] local.INFO: Processing buffer {"connection_id":158660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:19:40] local.INFO: Packet analysis {"connection_id":158660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:19:40] local.INFO: Extracted packet for processing {"connection_id":158660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:19:40] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499499776001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787107722000,"timestamp_ms":1787107722000,"timestamp_seconds":1787107722,"priority":1,"record_length":96,"hex_timestamp":"000001a017ebc310"} 
[2026-08-19 08:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:19:40] 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-08-19 08:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499499776001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499499776001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:19:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:19:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499499776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":158660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:19:40] local.INFO: GPS data processed {"connection_id":158660,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:19:40] local.INFO: Acknowledgment sent {"connection_id":158660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:20:00] local.INFO: TCP Data received {"connection_id":158661,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:20:00] local.INFO: Processing buffer {"connection_id":158661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:20:00] local.INFO: IMEI packet received {"connection_id":158661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":158661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:20:04] local.INFO: TCP Data received {"connection_id":157392,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017ec2c88012d7acb4005e411200005011a25..."} 
[2026-08-19 08:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ec2c88012d7acb4005e411200005011a25..."} 
[2026-08-19 08:20:04] local.INFO: Processing buffer {"connection_id":157392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ec2c88012d7acb4005e411200005011a25..."} 
[2026-08-19 08:20:04] local.INFO: Packet analysis {"connection_id":157392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ec"} 
[2026-08-19 08:20:04] local.INFO: Extracted packet for processing {"connection_id":157392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ec"} 
[2026-08-19 08:20:04] local.INFO: GPS Element Parsed {"raw_longitude":763022144,"raw_latitude":98832672,"longitude_deg":76.3022144,"latitude_deg":9.8832672,"altitude":5,"angle":282,"satellites":37,"speed":5,"hex_longitude":"2d7acb40","hex_latitude":"05e41120","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499582976001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120627068495986688,"note":"Value kept but may cause issues"} 
[2026-08-19 08:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848658499409817600,"note":"Value kept but may cause issues"} 
[2026-08-19 08:20: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-08-19 08:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787107749000,"timestamp_ms":1787107749000,"timestamp_seconds":1787107749,"priority":1,"record_length":96,"hex_timestamp":"000001a017ec2c88"} 
[2026-08-19 08:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:20: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-08-19 08: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-19 08:20: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-08-19 08: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-08-19 08:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:20:04] 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-08-19 08:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499582976001,"66":12765,"208":206,"85":15104,"24":5,"16":120627068495986688,"45":8848658499409817600},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499582976001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:20:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:20:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120627068495986688,"km_value":120627068495986.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848658499409817600,"description":"Unknown IO ID 45"} 
[2026-08-19 08:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499582976001,"power":12765,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8848658499409817600}} 
[2026-08-19 08:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":157392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:20:04] local.INFO: GPS data processed {"connection_id":157392,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:20:04] local.INFO: Acknowledgment sent {"connection_id":157392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:20:05] local.INFO: TCP Data received {"connection_id":158661,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:20:05] local.INFO: Processing buffer {"connection_id":158661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:20:05] local.INFO: IMEI packet received {"connection_id":158661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":158661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:20:06] local.INFO: TCP Data received {"connection_id":158661,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:20:06] local.INFO: Processing buffer {"connection_id":158661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:20:06] local.INFO: Packet analysis {"connection_id":158661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:20:06] local.INFO: Extracted packet for processing {"connection_id":158661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499499776001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787107722000,"timestamp_ms":1787107722000,"timestamp_seconds":1787107722,"priority":1,"record_length":96,"hex_timestamp":"000001a017ebc310"} 
[2026-08-19 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-08-19 08:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 08:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:20:06] 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-08-19 08:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499499776001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499499776001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:20:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499499776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":158661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:20:06] local.INFO: GPS data processed {"connection_id":158661,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:20:06] local.INFO: Acknowledgment sent {"connection_id":158661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:20:20] local.INFO: TCP Data received {"connection_id":159945,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:20:20] local.INFO: Processing buffer {"connection_id":159945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:20:20] local.INFO: IMEI packet received {"connection_id":159945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":159945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:20:26] local.INFO: TCP Data received {"connection_id":159945,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:20:26] local.INFO: Processing buffer {"connection_id":159945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:20:26] local.INFO: IMEI packet received {"connection_id":159945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":159945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:20:28] local.INFO: TCP Data received {"connection_id":159945,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017ec3070012d7acac005e411280005010a25..."} 
[2026-08-19 08:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ec3070012d7acac005e411280005010a25..."} 
[2026-08-19 08:20:28] local.INFO: Processing buffer {"connection_id":159945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ec3070012d7acac005e411280005010a25..."} 
[2026-08-19 08:20:28] local.INFO: Packet analysis {"connection_id":159945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ec"} 
[2026-08-19 08:20:28] local.INFO: Extracted packet for processing {"connection_id":159945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ec"} 
[2026-08-19 08:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763022016,"raw_latitude":98832680,"longitude_deg":76.3022016,"latitude_deg":9.883268,"altitude":5,"angle":266,"satellites":37,"speed":7,"hex_longitude":"2d7acac0","hex_latitude":"05e41128","is_valid_coordinates":true} 
[2026-08-19 08:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499583744001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120627072790953984,"note":"Value kept but may cause issues"} 
[2026-08-19 08:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848236286944813056,"note":"Value kept but may cause issues"} 
[2026-08-19 08:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787107750000,"timestamp_ms":1787107750000,"timestamp_seconds":1787107750,"priority":1,"record_length":96,"hex_timestamp":"000001a017ec3070"} 
[2026-08-19 08:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:20:28] 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-08-19 08:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-19 08:20:28] 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-08-19 08:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:20:28] 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-08-19 08:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499583744001,"66":12765,"208":206,"85":15104,"24":7,"16":120627072790953984,"45":8848236286944813056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499583744001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:20:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120627072790953984,"km_value":120627072790953.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848236286944813056,"description":"Unknown IO ID 45"} 
[2026-08-19 08:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499583744001,"power":12765,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8848236286944813056}} 
[2026-08-19 08:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":159945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:20:28] local.INFO: GPS data processed {"connection_id":159945,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:20:28] local.INFO: Acknowledgment sent {"connection_id":159945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:20:38] local.INFO: TCP Data received {"connection_id":158661,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:20:38] local.INFO: Processing buffer {"connection_id":158661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:20:38] local.INFO: Packet analysis {"connection_id":158661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:20:38] local.INFO: Extracted packet for processing {"connection_id":158661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499499776001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787107722000,"timestamp_ms":1787107722000,"timestamp_seconds":1787107722,"priority":1,"record_length":96,"hex_timestamp":"000001a017ebc310"} 
[2026-08-19 08:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:20:38] 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-08-19 08:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499499776001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499499776001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499499776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":158661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:20:38] local.INFO: GPS data processed {"connection_id":158661,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:20:38] local.INFO: Acknowledgment sent {"connection_id":158661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:21:00] local.INFO: TCP Data received {"connection_id":157393,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:21:00] local.INFO: Processing buffer {"connection_id":157393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:21:00] local.INFO: IMEI packet received {"connection_id":157393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":157393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:21:00] local.INFO: TCP Data received {"connection_id":159945,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017ec7aa8012d7aa64005e40b980003010126..."} 
[2026-08-19 08:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ec7aa8012d7aa64005e40b980003010126..."} 
[2026-08-19 08:21:00] local.INFO: Processing buffer {"connection_id":159945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ec7aa8012d7aa64005e40b980003010126..."} 
[2026-08-19 08:21:00] local.INFO: Packet analysis {"connection_id":159945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ec"} 
[2026-08-19 08:21:00] local.INFO: Extracted packet for processing {"connection_id":159945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ec"} 
[2026-08-19 08:21:00] local.INFO: GPS Element Parsed {"raw_longitude":763012672,"raw_latitude":98831256,"longitude_deg":76.3012672,"latitude_deg":9.8831256,"altitude":3,"angle":257,"satellites":38,"speed":18,"hex_longitude":"2d7aa640","hex_latitude":"05e40b98","is_valid_coordinates":true} 
[2026-08-19 08:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499584000001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120627523762520064,"note":"Value kept but may cause issues"} 
[2026-08-19 08:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848095549456459776,"note":"Value kept but may cause issues"} 
[2026-08-19 08:21: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-08-19 08:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787107769000,"timestamp_ms":1787107769000,"timestamp_seconds":1787107769,"priority":1,"record_length":96,"hex_timestamp":"000001a017ec7aa8"} 
[2026-08-19 08:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:21: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-08-19 08:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-19 08:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:21:00] 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-08-19 08:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499584000001,"66":13472,"208":206,"85":15104,"24":18,"16":120627523762520064,"45":8848095549456459776},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499584000001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:21:00] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:21:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120627523762520064,"km_value":120627523762520.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848095549456459776,"description":"Unknown IO ID 45"} 
[2026-08-19 08:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499584000001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8848095549456459776}} 
[2026-08-19 08:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":159945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:21:00] local.INFO: GPS data processed {"connection_id":159945,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:21:00] local.INFO: Acknowledgment sent {"connection_id":159945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:21:05] local.INFO: TCP Data received {"connection_id":157393,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:21:05] local.INFO: Processing buffer {"connection_id":157393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:21:05] local.INFO: IMEI packet received {"connection_id":157393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":157393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:21:06] local.INFO: TCP Data received {"connection_id":157393,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:21:06] local.INFO: Processing buffer {"connection_id":157393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:21:06] local.INFO: Packet analysis {"connection_id":157393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:21:06] local.INFO: Extracted packet for processing {"connection_id":157393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:21:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499499776001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787107722000,"timestamp_ms":1787107722000,"timestamp_seconds":1787107722,"priority":1,"record_length":96,"hex_timestamp":"000001a017ebc310"} 
[2026-08-19 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-08-19 08:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 08:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499499776001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499499776001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:21:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:21:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499499776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":157393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:21:06] local.INFO: GPS data processed {"connection_id":157393,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:21:06] local.INFO: Acknowledgment sent {"connection_id":157393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:21:20] local.INFO: TCP Data received {"connection_id":159946,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:21:20] local.INFO: Processing buffer {"connection_id":159946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:21:20] local.INFO: IMEI packet received {"connection_id":159946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":159946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:21:24] local.INFO: TCP Data received {"connection_id":159946,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:21:24] local.INFO: Processing buffer {"connection_id":159946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:21:24] local.INFO: IMEI packet received {"connection_id":159946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":159946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:21:25] local.INFO: TCP Data received {"connection_id":159946,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:21:25] local.INFO: Processing buffer {"connection_id":159946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:21:25] local.INFO: IMEI packet received {"connection_id":159946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":159946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:21:28] local.INFO: TCP Data received {"connection_id":159946,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017edde20012d7ab00005e40c900000004724..."} 
[2026-08-19 08:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017edde20012d7ab00005e40c900000004724..."} 
[2026-08-19 08:21:28] local.INFO: Processing buffer {"connection_id":159946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017edde20012d7ab00005e40c900000004724..."} 
[2026-08-19 08:21:28] local.INFO: Packet analysis {"connection_id":159946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ed"} 
[2026-08-19 08:21:28] local.INFO: Extracted packet for processing {"connection_id":159946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ed"} 
[2026-08-19 08:21:28] local.INFO: GPS Element Parsed {"raw_longitude":763015168,"raw_latitude":98831504,"longitude_deg":76.3015168,"latitude_deg":9.8831504,"altitude":0,"angle":71,"satellites":36,"speed":8,"hex_longitude":"2d7ab000","hex_latitude":"05e40c90","is_valid_coordinates":true} 
[2026-08-19 08:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499611648001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120627888834740224,"note":"Value kept but may cause issues"} 
[2026-08-19 08:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840143881364064256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787107860000,"timestamp_ms":1787107860000,"timestamp_seconds":1787107860,"priority":1,"record_length":96,"hex_timestamp":"000001a017edde20"} 
[2026-08-19 08:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:21:28] 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-08-19 08:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-19 08:21:28] 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-08-19 08:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:21:28] 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-08-19 08:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499611648001,"66":13374,"208":206,"85":15104,"24":8,"16":120627888834740224,"45":8840143881364064256},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499611648001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:21:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:21:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120627888834740224,"km_value":120627888834740.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840143881364064256,"description":"Unknown IO ID 45"} 
[2026-08-19 08:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499611648001,"power":13374,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8840143881364064256}} 
[2026-08-19 08:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":159946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:21:28] local.INFO: GPS data processed {"connection_id":159946,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:21:28] local.INFO: Acknowledgment sent {"connection_id":159946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:21:34] local.INFO: TCP Data received {"connection_id":157394,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:21:34] local.INFO: Processing buffer {"connection_id":157394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:21:34] local.INFO: IMEI packet received {"connection_id":157394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":157394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:21:35] local.INFO: TCP Data received {"connection_id":157394,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:21:35] local.INFO: Processing buffer {"connection_id":157394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:21:35] local.INFO: IMEI packet received {"connection_id":157394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":157394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:21:37] local.INFO: TCP Data received {"connection_id":157393,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:21:37] local.INFO: Processing buffer {"connection_id":157393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:21:37] local.INFO: Packet analysis {"connection_id":157393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:21:37] local.INFO: Extracted packet for processing {"connection_id":157393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499499776001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787107722000,"timestamp_ms":1787107722000,"timestamp_seconds":1787107722,"priority":1,"record_length":96,"hex_timestamp":"000001a017ebc310"} 
[2026-08-19 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-08-19 08:21: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-08-19 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 08:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499499776001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499499776001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:21:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:21:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499499776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":157393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:21:37] local.INFO: GPS data processed {"connection_id":157393,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:21:37] local.INFO: Acknowledgment sent {"connection_id":157393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:21:41] local.INFO: TCP Data received {"connection_id":157394,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:21:41] local.INFO: Processing buffer {"connection_id":157394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:21:41] local.INFO: IMEI packet received {"connection_id":157394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":157394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:21:42] local.INFO: TCP Data received {"connection_id":157394,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-19 08:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157394,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-19 08:21:42] local.INFO: Processing buffer {"connection_id":157394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-19 08:21:42] local.INFO: Packet analysis {"connection_id":157394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-19 08:21:42] local.INFO: Extracted packet for processing {"connection_id":157394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-19 08:21:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 08:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28707939363586048,"note":"Value kept but may cause issues"} 
[2026-08-19 08:21:42] 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-08-19 08:21:42] 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-08-19 08:21:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-19 08:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157394,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157394,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-19 08:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157394,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-19 08:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-19 08:21:42] local.WARNING: DEBUG: No valid data to process  
[2026-08-19 08:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":157394,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-19 08:21:42] local.ERROR: GPS data processing failed {"connection_id":157394,"error":"No valid data to process"} 
[2026-08-19 08:21:42] local.INFO: Acknowledgment sent {"connection_id":157394,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-19 08:21:59] local.INFO: TCP Data received {"connection_id":159946,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017ede5f0012d7ab20005e40d000001005524..."} 
[2026-08-19 08:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ede5f0012d7ab20005e40d000001005524..."} 
[2026-08-19 08:21:59] local.INFO: Processing buffer {"connection_id":159946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ede5f0012d7ab20005e40d000001005524..."} 
[2026-08-19 08:21:59] local.INFO: Packet analysis {"connection_id":159946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ed"} 
[2026-08-19 08:21:59] local.INFO: Extracted packet for processing {"connection_id":159946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ed"} 
[2026-08-19 08:21:59] local.INFO: GPS Element Parsed {"raw_longitude":763015680,"raw_latitude":98831616,"longitude_deg":76.301568,"latitude_deg":9.8831616,"altitude":1,"angle":85,"satellites":36,"speed":12,"hex_longitude":"2d7ab200","hex_latitude":"05e40d00","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499612160001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120627914604544000,"note":"Value kept but may cause issues"} 
[2026-08-19 08:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840566093829148672,"note":"Value kept but may cause issues"} 
[2026-08-19 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-08-19 08:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787107862000,"timestamp_ms":1787107862000,"timestamp_seconds":1787107862,"priority":1,"record_length":96,"hex_timestamp":"000001a017ede5f0"} 
[2026-08-19 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-08-19 08:21: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-08-19 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 08:21: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-08-19 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-08-19 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-08-19 08:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:21:59] 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-08-19 08:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499612160001,"66":13374,"208":206,"85":15104,"24":12,"16":120627914604544000,"45":8840566093829148672},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499612160001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:21:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:21:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120627914604544000,"km_value":120627914604544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840566093829148672,"description":"Unknown IO ID 45"} 
[2026-08-19 08:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499612160001,"power":13374,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8840566093829148672}} 
[2026-08-19 08:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":159946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:21:59] local.INFO: GPS data processed {"connection_id":159946,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:21:59] local.INFO: Acknowledgment sent {"connection_id":159946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:22:00] local.INFO: TCP Data received {"connection_id":157775,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:22:00] local.INFO: Processing buffer {"connection_id":157775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:22:00] local.INFO: IMEI packet received {"connection_id":157775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":157775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:22:05] local.INFO: TCP Data received {"connection_id":157775,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:22:05] local.INFO: Processing buffer {"connection_id":157775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:22:05] local.INFO: IMEI packet received {"connection_id":157775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":157775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:22:06] local.INFO: TCP Data received {"connection_id":157775,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:22:06] local.INFO: Processing buffer {"connection_id":157775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:22:06] local.INFO: Packet analysis {"connection_id":157775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:22:06] local.INFO: Extracted packet for processing {"connection_id":157775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499499776001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787107722000,"timestamp_ms":1787107722000,"timestamp_seconds":1787107722,"priority":1,"record_length":96,"hex_timestamp":"000001a017ebc310"} 
[2026-08-19 08:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499499776001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 08:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499499776001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499499776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":157775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:22:06] local.INFO: GPS data processed {"connection_id":157775,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:22:06] local.INFO: Acknowledgment sent {"connection_id":157775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:22:13] local.INFO: TCP Data received {"connection_id":157394,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-19 08:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157394,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-19 08:22:13] local.INFO: Processing buffer {"connection_id":157394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-19 08:22:13] local.INFO: Packet analysis {"connection_id":157394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-19 08:22:13] local.INFO: Extracted packet for processing {"connection_id":157394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-19 08:22: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-08-19 08:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28707939363586048,"note":"Value kept but may cause issues"} 
[2026-08-19 08:22: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-08-19 08:22:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 08:22:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-19 08:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157394,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157394,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-19 08:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157394,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-19 08:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-19 08:22:13] local.WARNING: DEBUG: No valid data to process  
[2026-08-19 08:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":157394,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-19 08:22:13] local.ERROR: GPS data processing failed {"connection_id":157394,"error":"No valid data to process"} 
[2026-08-19 08:22:13] local.INFO: Acknowledgment sent {"connection_id":157394,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-19 08:22:26] local.INFO: TCP Data received {"connection_id":158662,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:22:26] local.INFO: Processing buffer {"connection_id":158662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:22:26] local.INFO: IMEI packet received {"connection_id":158662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":158662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:22:30] local.INFO: TCP Data received {"connection_id":158662,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:22:30] local.INFO: Processing buffer {"connection_id":158662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:22:30] local.INFO: IMEI packet received {"connection_id":158662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":158662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:22:31] local.INFO: TCP Data received {"connection_id":158662,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017ee3410012d7aca0005e411380004005025..."} 
[2026-08-19 08:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ee3410012d7aca0005e411380004005025..."} 
[2026-08-19 08:22:31] local.INFO: Processing buffer {"connection_id":158662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ee3410012d7aca0005e411380004005025..."} 
[2026-08-19 08:22:31] local.INFO: Packet analysis {"connection_id":158662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ee"} 
[2026-08-19 08:22:31] local.INFO: Extracted packet for processing {"connection_id":158662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ee"} 
[2026-08-19 08:22:31] local.INFO: GPS Element Parsed {"raw_longitude":763021824,"raw_latitude":98832696,"longitude_deg":76.3021824,"latitude_deg":9.8832696,"altitude":4,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d7aca00","hex_latitude":"05e41138","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499612672001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120628219547222016,"note":"Value kept but may cause issues"} 
[2026-08-19 08:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841129043782598656,"note":"Value kept but may cause issues"} 
[2026-08-19 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-08-19 08:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787107882000,"timestamp_ms":1787107882000,"timestamp_seconds":1787107882,"priority":1,"record_length":96,"hex_timestamp":"000001a017ee3410"} 
[2026-08-19 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-08-19 08:22: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-08-19 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":62,"data_length":795,"current_offset":136} 
[2026-08-19 08:22: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-08-19 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-08-19 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-08-19 08:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":158662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":158662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":158662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:22:31] 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-08-19 08:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499612672001,"66":12906,"208":206,"85":15104,"24":0,"16":120628219547222016,"45":8841129043782598656},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499612672001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:22:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:22:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120628219547222016,"km_value":120628219547222.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841129043782598656,"description":"Unknown IO ID 45"} 
[2026-08-19 08:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499612672001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8841129043782598656}} 
[2026-08-19 08:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":158662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:22:31] local.INFO: GPS data processed {"connection_id":158662,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:22:31] local.INFO: Acknowledgment sent {"connection_id":158662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:22:32] local.INFO: TCP Data received {"connection_id":158662,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017ee5350012d7acb0005e411080005006027..."} 
[2026-08-19 08:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ee5350012d7acb0005e411080005006027..."} 
[2026-08-19 08:22:32] local.INFO: Processing buffer {"connection_id":158662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ee5350012d7acb0005e411080005006027..."} 
[2026-08-19 08:22:32] local.INFO: Packet analysis {"connection_id":158662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ee"} 
[2026-08-19 08:22:32] local.INFO: Extracted packet for processing {"connection_id":158662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ee"} 
[2026-08-19 08:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763022080,"raw_latitude":98832648,"longitude_deg":76.302208,"latitude_deg":9.8832648,"altitude":5,"angle":96,"satellites":39,"speed":3,"hex_longitude":"2d7acb00","hex_latitude":"05e41108","is_valid_coordinates":true} 
[2026-08-19 08:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499617792001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120628228137156608,"note":"Value kept but may cause issues"} 
[2026-08-19 08:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847884443223930880,"note":"Value kept but may cause issues"} 
[2026-08-19 08:22: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-08-19 08:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787107890000,"timestamp_ms":1787107890000,"timestamp_seconds":1787107890,"priority":1,"record_length":96,"hex_timestamp":"000001a017ee5350"} 
[2026-08-19 08:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:22: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-08-19 08:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-19 08:22:32] 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-08-19 08:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:22:32] 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-08-19 08:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499617792001,"66":13504,"208":206,"85":15104,"24":3,"16":120628228137156608,"45":8847884443223930880},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499617792001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:22:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120628228137156608,"km_value":120628228137156.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847884443223930880,"description":"Unknown IO ID 45"} 
[2026-08-19 08:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499617792001,"power":13504,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8847884443223930880}} 
[2026-08-19 08:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":158662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:22:32] local.INFO: GPS data processed {"connection_id":158662,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:22:32] local.INFO: Acknowledgment sent {"connection_id":158662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:22:37] local.INFO: TCP Data received {"connection_id":157775,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:22:37] local.INFO: Processing buffer {"connection_id":157775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:22:37] local.INFO: Packet analysis {"connection_id":157775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:22:37] local.INFO: Extracted packet for processing {"connection_id":157775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499499776001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787107722000,"timestamp_ms":1787107722000,"timestamp_seconds":1787107722,"priority":1,"record_length":96,"hex_timestamp":"000001a017ebc310"} 
[2026-08-19 08:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:22: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-08-19 08:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499499776001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 08:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499499776001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:22:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499499776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":157775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:22:37] local.INFO: GPS data processed {"connection_id":157775,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:22:37] local.INFO: Acknowledgment sent {"connection_id":157775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:22:43] local.INFO: TCP Data received {"connection_id":157394,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-08-19 08:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-08-19 08:22:43] local.INFO: Processing buffer {"connection_id":157394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-08-19 08:22:43] local.INFO: Packet analysis {"connection_id":157394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-19 08:22:43] local.INFO: Extracted packet for processing {"connection_id":157394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-19 08:22:43] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28707939363586048,"note":"Value kept but may cause issues"} 
[2026-08-19 08:22:43] 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-08-19 08:22:43] 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-08-19 08:22:43] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-19 08:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157394,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157394,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-19 08:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157394,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-19 08:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-19 08:22:43] local.WARNING: DEBUG: No valid data to process  
[2026-08-19 08:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":157394,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-19 08:22:43] local.ERROR: GPS data processing failed {"connection_id":157394,"error":"No valid data to process"} 
[2026-08-19 08:22:43] local.INFO: Acknowledgment sent {"connection_id":157394,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-19 08:23:00] local.INFO: TCP Data received {"connection_id":158663,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:23:00] local.INFO: Processing buffer {"connection_id":158663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:23:00] local.INFO: IMEI packet received {"connection_id":158663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":158663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:23:04] local.INFO: TCP Data received {"connection_id":158662,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017ee5738012d7acc0005e410c00005006c27..."} 
[2026-08-19 08:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ee5738012d7acc0005e410c00005006c27..."} 
[2026-08-19 08:23:04] local.INFO: Processing buffer {"connection_id":158662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ee5738012d7acc0005e410c00005006c27..."} 
[2026-08-19 08:23:04] local.INFO: Packet analysis {"connection_id":158662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ee"} 
[2026-08-19 08:23:04] local.INFO: Extracted packet for processing {"connection_id":158662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ee"} 
[2026-08-19 08:23:04] local.INFO: GPS Element Parsed {"raw_longitude":763022336,"raw_latitude":98832576,"longitude_deg":76.3022336,"latitude_deg":9.8832576,"altitude":5,"angle":108,"satellites":39,"speed":5,"hex_longitude":"2d7acc00","hex_latitude":"05e410c0","is_valid_coordinates":true} 
[2026-08-19 08:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499619840001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120628241022058496,"note":"Value kept but may cause issues"} 
[2026-08-19 08:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848165918200629248,"note":"Value kept but may cause issues"} 
[2026-08-19 08:23: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-08-19 08:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787107891000,"timestamp_ms":1787107891000,"timestamp_seconds":1787107891,"priority":1,"record_length":96,"hex_timestamp":"000001a017ee5738"} 
[2026-08-19 08:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:23: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-08-19 08:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-19 08:23:04] 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-08-19 08:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:23:04] 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-08-19 08:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499619840001,"66":13200,"208":206,"85":15104,"24":5,"16":120628241022058496,"45":8848165918200629248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499619840001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:23:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:23:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120628241022058496,"km_value":120628241022058.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848165918200629248,"description":"Unknown IO ID 45"} 
[2026-08-19 08:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499619840001,"power":13200,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8848165918200629248}} 
[2026-08-19 08:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":158662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:23:04] local.INFO: GPS data processed {"connection_id":158662,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:23:04] local.INFO: Acknowledgment sent {"connection_id":158662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:23:05] local.INFO: TCP Data received {"connection_id":158663,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:23:05] local.INFO: Processing buffer {"connection_id":158663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:23:05] local.INFO: IMEI packet received {"connection_id":158663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":158663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:23:05] local.INFO: TCP Data received {"connection_id":158663,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:23:05] local.INFO: Processing buffer {"connection_id":158663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:23:05] local.INFO: Packet analysis {"connection_id":158663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:23:05] local.INFO: Extracted packet for processing {"connection_id":158663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499499776001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787107722000,"timestamp_ms":1787107722000,"timestamp_seconds":1787107722,"priority":1,"record_length":96,"hex_timestamp":"000001a017ebc310"} 
[2026-08-19 08:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:23: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-08-19 08:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499499776001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 08:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499499776001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:23:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:23:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499499776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":158663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:23:05] local.INFO: GPS data processed {"connection_id":158663,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:23:05] local.INFO: Acknowledgment sent {"connection_id":158663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:23:15] local.INFO: TCP Data received {"connection_id":157394,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-08-19 08:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157394,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-08-19 08:23:15] local.INFO: Processing buffer {"connection_id":157394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-08-19 08:23:15] local.INFO: Packet analysis {"connection_id":157394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-19 08:23:15] local.INFO: Extracted packet for processing {"connection_id":157394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-19 08:23: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-08-19 08:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28707939363586048,"note":"Value kept but may cause issues"} 
[2026-08-19 08:23:15] 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-08-19 08:23:15] 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-08-19 08:23:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-19 08:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157394,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157394,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-19 08:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157394,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-19 08:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-19 08:23:15] local.WARNING: DEBUG: No valid data to process  
[2026-08-19 08:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":157394,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-19 08:23:15] local.ERROR: GPS data processing failed {"connection_id":157394,"error":"No valid data to process"} 
[2026-08-19 08:23:15] local.INFO: Acknowledgment sent {"connection_id":157394,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-19 08:23:16] local.INFO: TCP Data received {"connection_id":157776,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:23:16] local.INFO: Processing buffer {"connection_id":157776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:23:16] local.INFO: IMEI packet received {"connection_id":157776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":157776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:23:20] local.INFO: TCP Data received {"connection_id":157776,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:23:20] local.INFO: Processing buffer {"connection_id":157776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:23:20] local.INFO: IMEI packet received {"connection_id":157776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":157776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:23:25] local.INFO: TCP Data received {"connection_id":157776,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:23:25] local.INFO: Processing buffer {"connection_id":157776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:23:25] local.INFO: IMEI packet received {"connection_id":157776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":157776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:23:27] local.INFO: TCP Data received {"connection_id":157776,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017efd9f0012d7b080005e354d80009008827..."} 
[2026-08-19 08:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017efd9f0012d7b080005e354d80009008827..."} 
[2026-08-19 08:23:27] local.INFO: Processing buffer {"connection_id":157776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017efd9f0012d7b080005e354d80009008827..."} 
[2026-08-19 08:23:27] local.INFO: Packet analysis {"connection_id":157776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ef"} 
[2026-08-19 08:23:27] local.INFO: Extracted packet for processing {"connection_id":157776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ef"} 
[2026-08-19 08:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763037696,"raw_latitude":98784472,"longitude_deg":76.3037696,"latitude_deg":9.8784472,"altitude":9,"angle":136,"satellites":39,"speed":18,"hex_longitude":"2d7b0800","hex_latitude":"05e354d8","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499644416001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120630702038319104,"note":"Value kept but may cause issues"} 
[2026-08-19 08:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254372927488,"note":"Value kept but may cause issues"} 
[2026-08-19 08:23:27] 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-08-19 08:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787107990000,"timestamp_ms":1787107990000,"timestamp_seconds":1787107990,"priority":1,"record_length":96,"hex_timestamp":"000001a017efd9f0"} 
[2026-08-19 08:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:23:27] 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-08-19 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 08:23:27] 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-08-19 08: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-08-19 08:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:23:27] 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-08-19 08:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499644416001,"66":13363,"208":206,"85":15104,"24":18,"16":120630702038319104,"45":8864069254372927488},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499644416001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:23:27] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:23:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120630702038319104,"km_value":120630702038319.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254372927488,"description":"Unknown IO ID 45"} 
[2026-08-19 08:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499644416001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8864069254372927488}} 
[2026-08-19 08:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":157776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:23:27] local.INFO: GPS data processed {"connection_id":157776,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:23:27] local.INFO: Acknowledgment sent {"connection_id":157776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:23:37] local.INFO: TCP Data received {"connection_id":158663,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:23:37] local.INFO: Processing buffer {"connection_id":158663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:23:37] local.INFO: Packet analysis {"connection_id":158663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:23:37] local.INFO: Extracted packet for processing {"connection_id":158663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499499776001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787107722000,"timestamp_ms":1787107722000,"timestamp_seconds":1787107722,"priority":1,"record_length":96,"hex_timestamp":"000001a017ebc310"} 
[2026-08-19 08:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:23: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-08-19 08:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499499776001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 08:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499499776001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:23:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:23:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499499776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":158663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:23:37] local.INFO: GPS data processed {"connection_id":158663,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:23:37] local.INFO: Acknowledgment sent {"connection_id":158663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:23:46] local.INFO: TCP Data received {"connection_id":157394,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017efab100100000000000000000000000000..."} 
[2026-08-19 08:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017efab100100000000000000000000000000..."} 
[2026-08-19 08:23:46] local.INFO: Processing buffer {"connection_id":157394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017efab100100000000000000000000000000..."} 
[2026-08-19 08:23:46] local.INFO: Packet analysis {"connection_id":157394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ef"} 
[2026-08-19 08:23:46] local.INFO: Extracted packet for processing {"connection_id":157394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ef"} 
[2026-08-19 08:23:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28707939363586048,"note":"Value kept but may cause issues"} 
[2026-08-19 08:23:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 08:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787107978000,"timestamp_ms":1787107978000,"timestamp_seconds":1787107978,"priority":1,"record_length":96,"hex_timestamp":"000001a017efab10"} 
[2026-08-19 08:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:23:46] 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-08-19 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-19 08:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":157394,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 08:23:46] local.INFO: GPS data processed {"connection_id":157394,"processed":0,"errors":0,"total":1} 
[2026-08-19 08:23:46] local.INFO: Acknowledgment sent {"connection_id":157394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:23:58] local.INFO: TCP Data received {"connection_id":157776,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017efddd8012d7b094005e353d00009007b27..."} 
[2026-08-19 08:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017efddd8012d7b094005e353d00009007b27..."} 
[2026-08-19 08:23:58] local.INFO: Processing buffer {"connection_id":157776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017efddd8012d7b094005e353d00009007b27..."} 
[2026-08-19 08:23:58] local.INFO: Packet analysis {"connection_id":157776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ef"} 
[2026-08-19 08:23:58] local.INFO: Extracted packet for processing {"connection_id":157776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ef"} 
[2026-08-19 08:23:58] local.INFO: GPS Element Parsed {"raw_longitude":763038016,"raw_latitude":98784208,"longitude_deg":76.3038016,"latitude_deg":9.8784208,"altitude":9,"angle":123,"satellites":39,"speed":15,"hex_longitude":"2d7b0940","hex_latitude":"05e353d0","is_valid_coordinates":true} 
[2026-08-19 08:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499645440001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120630719218188288,"note":"Value kept but may cause issues"} 
[2026-08-19 08:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865335891767646208,"note":"Value kept but may cause issues"} 
[2026-08-19 08:23: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-08-19 08:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787107991000,"timestamp_ms":1787107991000,"timestamp_seconds":1787107991,"priority":1,"record_length":96,"hex_timestamp":"000001a017efddd8"} 
[2026-08-19 08:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:23: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-08-19 08:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 08:23:58] 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-08-19 08:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:23:58] 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-08-19 08:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499645440001,"66":13363,"208":206,"85":15104,"24":15,"16":120630719218188288,"45":8865335891767646208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499645440001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:23:58] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:23:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120630719218188288,"km_value":120630719218188.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865335891767646208,"description":"Unknown IO ID 45"} 
[2026-08-19 08:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499645440001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8865335891767646208}} 
[2026-08-19 08:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":157776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:23:58] local.INFO: GPS data processed {"connection_id":157776,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:23:58] local.INFO: Acknowledgment sent {"connection_id":157776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:24:00] local.INFO: TCP Data received {"connection_id":157395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:24:00] local.INFO: Processing buffer {"connection_id":157395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:24:00] local.INFO: IMEI packet received {"connection_id":157395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":157395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:24:05] local.INFO: TCP Data received {"connection_id":157395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:24:05] local.INFO: Processing buffer {"connection_id":157395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:24:05] local.INFO: IMEI packet received {"connection_id":157395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":157395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:24:06] local.INFO: TCP Data received {"connection_id":157395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:24:06] local.INFO: Processing buffer {"connection_id":157395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ebc310012d34c50006aa40780006005926..."} 
[2026-08-19 08:24:06] local.INFO: Packet analysis {"connection_id":157395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:24:06] local.INFO: Extracted packet for processing {"connection_id":157395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017eb"} 
[2026-08-19 08:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499499776001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787107722000,"timestamp_ms":1787107722000,"timestamp_seconds":1787107722,"priority":1,"record_length":96,"hex_timestamp":"000001a017ebc310"} 
[2026-08-19 08:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499499776001,"66":25615,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 08:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499499776001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499499776001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":157395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:24:06] local.INFO: GPS data processed {"connection_id":157395,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:24:06] local.INFO: Acknowledgment sent {"connection_id":157395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:24:17] local.INFO: TCP Data received {"connection_id":157394,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017effd180100000000000000000000000000..."} 
[2026-08-19 08:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017effd180100000000000000000000000000..."} 
[2026-08-19 08:24:17] local.INFO: Processing buffer {"connection_id":157394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017effd180100000000000000000000000000..."} 
[2026-08-19 08:24:17] local.INFO: Packet analysis {"connection_id":157394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ef"} 
[2026-08-19 08:24:17] local.INFO: Extracted packet for processing {"connection_id":157394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ef"} 
[2026-08-19 08:24:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 08:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28707939363586048,"note":"Value kept but may cause issues"} 
[2026-08-19 08:24:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 08:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787107999000,"timestamp_ms":1787107999000,"timestamp_seconds":1787107999,"priority":1,"record_length":96,"hex_timestamp":"000001a017effd18"} 
[2026-08-19 08:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:24:17] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-19 08:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:24: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-08-19 08:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":157394,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 08:24:17] local.INFO: GPS data processed {"connection_id":157394,"processed":0,"errors":0,"total":1} 
[2026-08-19 08:24:17] local.INFO: Acknowledgment sent {"connection_id":157394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:24:20] local.INFO: TCP Data received {"connection_id":158664,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:24:20] local.INFO: Processing buffer {"connection_id":158664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:24:20] local.INFO: IMEI packet received {"connection_id":158664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":158664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:24:31] local.INFO: TCP Data received {"connection_id":158664,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:24:31] local.INFO: Processing buffer {"connection_id":158664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:24:31] local.INFO: IMEI packet received {"connection_id":158664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":158664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:24:32] local.INFO: TCP Data received {"connection_id":158664,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017efe1c0012d7b0a8005e353580009006827..."} 
[2026-08-19 08:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017efe1c0012d7b0a8005e353580009006827..."} 
[2026-08-19 08:24:32] local.INFO: Processing buffer {"connection_id":158664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017efe1c0012d7b0a8005e353580009006827..."} 
[2026-08-19 08:24:32] local.INFO: Packet analysis {"connection_id":158664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ef"} 
[2026-08-19 08:24:32] local.INFO: Extracted packet for processing {"connection_id":158664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ef"} 
[2026-08-19 08:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763038336,"raw_latitude":98784088,"longitude_deg":76.3038336,"latitude_deg":9.8784088,"altitude":9,"angle":104,"satellites":39,"speed":12,"hex_longitude":"2d7b0a80","hex_latitude":"05e35358","is_valid_coordinates":true} 
[2026-08-19 08:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499645696001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120630736398057472,"note":"Value kept but may cause issues"} 
[2026-08-19 08:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865687735488466944,"note":"Value kept but may cause issues"} 
[2026-08-19 08:24: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-08-19 08:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787107992000,"timestamp_ms":1787107992000,"timestamp_seconds":1787107992,"priority":1,"record_length":96,"hex_timestamp":"000001a017efe1c0"} 
[2026-08-19 08:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08: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-08-19 08:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 08:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:24:32] 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-08-19 08:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499645696001,"66":13319,"208":206,"85":15104,"24":12,"16":120630736398057472,"45":8865687735488466944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499645696001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:24:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120630736398057472,"km_value":120630736398057.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865687735488466944,"description":"Unknown IO ID 45"} 
[2026-08-19 08:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499645696001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8865687735488466944}} 
[2026-08-19 08:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":158664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:24:32] local.INFO: GPS data processed {"connection_id":158664,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:24:32] local.INFO: Acknowledgment sent {"connection_id":158664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:24:37] local.INFO: TCP Data received {"connection_id":157395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:24:37] local.INFO: Processing buffer {"connection_id":157395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:24:37] local.INFO: Packet analysis {"connection_id":157395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:24:37] local.INFO: Extracted packet for processing {"connection_id":157395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499576832001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787108023000,"timestamp_ms":1787108023000,"timestamp_seconds":1787108023,"priority":1,"record_length":96,"hex_timestamp":"000001a017f05ad8"} 
[2026-08-19 08:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:24: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-08-19 08:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499576832001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 08:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499576832001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499576832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":157395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:24:37] local.INFO: GPS data processed {"connection_id":157395,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:24:37] local.INFO: Acknowledgment sent {"connection_id":157395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:24:48] local.INFO: TCP Data received {"connection_id":157394,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f04f200100000000000000000000000000..."} 
[2026-08-19 08:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f04f200100000000000000000000000000..."} 
[2026-08-19 08:24:48] local.INFO: Processing buffer {"connection_id":157394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f04f200100000000000000000000000000..."} 
[2026-08-19 08:24:48] local.INFO: Packet analysis {"connection_id":157394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:24:48] local.INFO: Extracted packet for processing {"connection_id":157394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:24:48] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28707939363586048,"note":"Value kept but may cause issues"} 
[2026-08-19 08:24:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 08:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787108020000,"timestamp_ms":1787108020000,"timestamp_seconds":1787108020,"priority":1,"record_length":96,"hex_timestamp":"000001a017f04f20"} 
[2026-08-19 08:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:24:48] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 08:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":157394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":157394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":157394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":157394,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 08:24:48] local.INFO: GPS data processed {"connection_id":157394,"processed":0,"errors":0,"total":1} 
[2026-08-19 08:24:48] local.INFO: Acknowledgment sent {"connection_id":157394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:25:00] local.INFO: TCP Data received {"connection_id":157777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:25:00] local.INFO: Processing buffer {"connection_id":157777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:25:00] local.INFO: IMEI packet received {"connection_id":157777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":157777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:25:04] local.INFO: TCP Data received {"connection_id":158664,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f13980012d7baec005e44098000f002029..."} 
[2026-08-19 08:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f13980012d7baec005e44098000f002029..."} 
[2026-08-19 08:25:04] local.INFO: Processing buffer {"connection_id":158664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f13980012d7baec005e44098000f002029..."} 
[2026-08-19 08:25:04] local.INFO: Packet analysis {"connection_id":158664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f1"} 
[2026-08-19 08:25:04] local.INFO: Extracted packet for processing {"connection_id":158664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f1"} 
[2026-08-19 08:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763080384,"raw_latitude":98844824,"longitude_deg":76.3080384,"latitude_deg":9.8844824,"altitude":15,"angle":32,"satellites":41,"speed":48,"hex_longitude":"2d7baec0","hex_latitude":"05e44098","is_valid_coordinates":true} 
[2026-08-19 08:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499666432001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120634314105815040,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906431238380804096,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:04] 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-08-19 08:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787108080000,"timestamp_ms":1787108080000,"timestamp_seconds":1787108080,"priority":1,"record_length":96,"hex_timestamp":"000001a017f13980"} 
[2026-08-19 08:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 08:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:25:04] 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-08-19 08:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499666432001,"66":13580,"39":206,"87":13824,"24":48,"16":120634314105815040,"45":8906431238380804096},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-19 08:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499666432001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:25:04] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 08:25:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120634314105815040,"km_value":120634314105815.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906431238380804096,"description":"Unknown IO ID 45"} 
[2026-08-19 08:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499666432001,"power":13580,"unknown_39":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":8906431238380804096}} 
[2026-08-19 08:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":158664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:25:04] local.INFO: GPS data processed {"connection_id":158664,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:25:04] local.INFO: Acknowledgment sent {"connection_id":158664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:25:05] local.INFO: TCP Data received {"connection_id":157777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:25:05] local.INFO: Processing buffer {"connection_id":157777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:25:05] local.INFO: IMEI packet received {"connection_id":157777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":157777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:25:06] local.INFO: TCP Data received {"connection_id":157777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:25:06] local.INFO: Processing buffer {"connection_id":157777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:25:06] local.INFO: Packet analysis {"connection_id":157777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:25:06] local.INFO: Extracted packet for processing {"connection_id":157777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:25:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499576832001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787108023000,"timestamp_ms":1787108023000,"timestamp_seconds":1787108023,"priority":1,"record_length":96,"hex_timestamp":"000001a017f05ad8"} 
[2026-08-19 08:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499576832001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 08:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499576832001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:25:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:25:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499576832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":157777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:25:06] local.INFO: GPS data processed {"connection_id":157777,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:25:06] local.INFO: Acknowledgment sent {"connection_id":157777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:25:20] local.INFO: TCP Data received {"connection_id":158665,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:25:20] local.INFO: Processing buffer {"connection_id":158665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:25:20] local.INFO: IMEI packet received {"connection_id":158665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":158665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:25:25] local.INFO: TCP Data received {"connection_id":158665,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:25:25] local.INFO: Processing buffer {"connection_id":158665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:25:25] local.INFO: IMEI packet received {"connection_id":158665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":158665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:25:26] local.INFO: TCP Data received {"connection_id":158665,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f158c0012d7bc44005e46168000f00212b..."} 
[2026-08-19 08:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f158c0012d7bc44005e46168000f00212b..."} 
[2026-08-19 08:25:26] local.INFO: Processing buffer {"connection_id":158665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f158c0012d7bc44005e46168000f00212b..."} 
[2026-08-19 08:25:26] local.INFO: Packet analysis {"connection_id":158665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f1"} 
[2026-08-19 08:25:26] local.INFO: Extracted packet for processing {"connection_id":158665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f1"} 
[2026-08-19 08:25:26] local.INFO: GPS Element Parsed {"raw_longitude":763085888,"raw_latitude":98853224,"longitude_deg":76.3085888,"latitude_deg":9.8853224,"altitude":15,"angle":33,"satellites":43,"speed":50,"hex_longitude":"2d7bc440","hex_latitude":"05e46168","is_valid_coordinates":true} 
[2026-08-19 08:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499668480001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120634799437119488,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912271844149598208,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:26] 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-08-19 08:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787108088000,"timestamp_ms":1787108088000,"timestamp_seconds":1787108088,"priority":1,"record_length":96,"hex_timestamp":"000001a017f158c0"} 
[2026-08-19 08:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 08:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623313,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6011667785795502080,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:26] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391967,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:26] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3322413067,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:26] local.WARNING: Large IO value detected {"io_id":23,"raw_value":4038373377,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632594640691152,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-19 08:25:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:26] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2456944640,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3819868160,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:26] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3819058958975369225,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:26] local.WARNING: Large IO value detected {"io_id":52,"raw_value":6053063710581247573,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:26] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755528290205937,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:26] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,39,87,24,241,157,16,148,160,26,45,33,15,41,10,66,208,85,147,251,128,3,215,64,1,240,51,227,23,4,113,205,36,161,83,239,2,172,5,28,123,52,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-19 08:25:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080899271037812736,"timestamp_seconds":1080899271037812.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 08:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:25:26] 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-08-19 08:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499668480001,"66":13559,"39":206,"87":13824,"24":50,"16":120634799437119488,"45":8912271844149598208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-19 08:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499668480001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:25:26] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 08:25:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120634799437119488,"km_value":120634799437119.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912271844149598208,"description":"Unknown IO ID 45"} 
[2026-08-19 08:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499668480001,"power":13559,"unknown_39":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":8912271844149598208}} 
[2026-08-19 08:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":158665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:25:27] local.INFO: GPS data processed {"connection_id":158665,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:25:27] local.INFO: Acknowledgment sent {"connection_id":158665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:25:28] local.INFO: TCP Data received {"connection_id":157394,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f0a1280100000000000000000000000000..."} 
[2026-08-19 08:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f0a1280100000000000000000000000000..."} 
[2026-08-19 08:25:28] local.INFO: Processing buffer {"connection_id":157394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f0a1280100000000000000000000000000..."} 
[2026-08-19 08:25:28] local.INFO: Packet analysis {"connection_id":157394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:25:28] local.INFO: Extracted packet for processing {"connection_id":157394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:25:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 08:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28707939363586048,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 08:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787108041000,"timestamp_ms":1787108041000,"timestamp_seconds":1787108041,"priority":1,"record_length":96,"hex_timestamp":"000001a017f0a128"} 
[2026-08-19 08:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 08:25:28] 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-08-19 08:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":157394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":157394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":157394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":157394,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 08:25:28] local.INFO: GPS data processed {"connection_id":157394,"processed":0,"errors":0,"total":1} 
[2026-08-19 08:25:28] local.INFO: Acknowledgment sent {"connection_id":157394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:25:38] local.INFO: TCP Data received {"connection_id":157777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:25:38] local.INFO: Processing buffer {"connection_id":157777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:25:38] local.INFO: Packet analysis {"connection_id":157777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:25:38] local.INFO: Extracted packet for processing {"connection_id":157777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499576832001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787108023000,"timestamp_ms":1787108023000,"timestamp_seconds":1787108023,"priority":1,"record_length":96,"hex_timestamp":"000001a017f05ad8"} 
[2026-08-19 08:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499576832001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 08:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499576832001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:25:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499576832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":157777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:25:38] local.INFO: GPS data processed {"connection_id":157777,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:25:38] local.INFO: Acknowledgment sent {"connection_id":157777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:25:58] local.INFO: TCP Data received {"connection_id":158665,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f17418012d7bd7c005e47f40000f00202b..."} 
[2026-08-19 08:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f17418012d7bd7c005e47f40000f00202b..."} 
[2026-08-19 08:25:58] local.INFO: Processing buffer {"connection_id":158665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f17418012d7bd7c005e47f40000f00202b..."} 
[2026-08-19 08:25:58] local.INFO: Packet analysis {"connection_id":158665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f1"} 
[2026-08-19 08:25:58] local.INFO: Extracted packet for processing {"connection_id":158665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f1"} 
[2026-08-19 08:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":98860864,"longitude_deg":76.309088,"latitude_deg":9.8860864,"altitude":15,"angle":32,"satellites":43,"speed":50,"hex_longitude":"2d7bd7c0","hex_latitude":"05e47f40","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499670528001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120635241818750976,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918323556151027712,"note":"Value kept but may cause issues"} 
[2026-08-19 08:25:58] 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-08-19 08:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787108095000,"timestamp_ms":1787108095000,"timestamp_seconds":1787108095,"priority":1,"record_length":96,"hex_timestamp":"000001a017f17418"} 
[2026-08-19 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-08-19 08:25:58] 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-08-19 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-19 08:25:58] 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-08-19 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-08-19 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-08-19 08:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":158665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":158665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":158665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:25:58] 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-08-19 08:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499670528001,"66":13243,"39":206,"87":13824,"24":50,"16":120635241818750976,"45":8918323556151027712},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-19 08:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499670528001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:25:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 08:25:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120635241818750976,"km_value":120635241818750.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918323556151027712,"description":"Unknown IO ID 45"} 
[2026-08-19 08:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499670528001,"power":13243,"unknown_39":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":8918323556151027712}} 
[2026-08-19 08:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":158665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:25:58] local.INFO: GPS data processed {"connection_id":158665,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:25:58] local.INFO: Acknowledgment sent {"connection_id":158665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:26:00] local.INFO: TCP Data received {"connection_id":158666,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:26:00] local.INFO: Processing buffer {"connection_id":158666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:26:00] local.INFO: IMEI packet received {"connection_id":158666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":158666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:26:00] local.INFO: TCP Data received {"connection_id":157394,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f0f3300100000000000000000000000000..."} 
[2026-08-19 08:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f0f3300100000000000000000000000000..."} 
[2026-08-19 08:26:00] local.INFO: Processing buffer {"connection_id":157394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f0f3300100000000000000000000000000..."} 
[2026-08-19 08:26:00] local.INFO: Packet analysis {"connection_id":157394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:26:00] local.INFO: Extracted packet for processing {"connection_id":157394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:26:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28707939363586048,"note":"Value kept but may cause issues"} 
[2026-08-19 08:26:00] 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-08-19 08:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787108062000,"timestamp_ms":1787108062000,"timestamp_seconds":1787108062,"priority":1,"record_length":96,"hex_timestamp":"000001a017f0f330"} 
[2026-08-19 08:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 08:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":157394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":157394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":157394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":157394,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 08:26:00] local.INFO: GPS data processed {"connection_id":157394,"processed":0,"errors":0,"total":1} 
[2026-08-19 08:26:00] local.INFO: Acknowledgment sent {"connection_id":157394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:26:05] local.INFO: TCP Data received {"connection_id":158666,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:26:05] local.INFO: Processing buffer {"connection_id":158666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:26:05] local.INFO: IMEI packet received {"connection_id":158666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":158666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:26:06] local.INFO: TCP Data received {"connection_id":158666,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:26:06] local.INFO: Processing buffer {"connection_id":158666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:26:06] local.INFO: Packet analysis {"connection_id":158666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:26:06] local.INFO: Extracted packet for processing {"connection_id":158666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:26:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499576832001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787108023000,"timestamp_ms":1787108023000,"timestamp_seconds":1787108023,"priority":1,"record_length":96,"hex_timestamp":"000001a017f05ad8"} 
[2026-08-19 08:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499576832001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 08:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499576832001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:26:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499576832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":158666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:26:06] local.INFO: GPS data processed {"connection_id":158666,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:26:06] local.INFO: Acknowledgment sent {"connection_id":158666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:26:14] local.INFO: TCP Data received {"connection_id":157778,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157778,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:26:14] local.INFO: Processing buffer {"connection_id":157778,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:26:14] local.INFO: IMEI packet received {"connection_id":157778,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":157778,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:26:19] local.INFO: TCP Data received {"connection_id":157778,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157778,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:26:19] local.INFO: Processing buffer {"connection_id":157778,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:26:19] local.INFO: IMEI packet received {"connection_id":157778,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":157778,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:26:20] local.INFO: TCP Data received {"connection_id":157778,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f145380100000000000000000000000000..."} 
[2026-08-19 08:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f145380100000000000000000000000000..."} 
[2026-08-19 08:26:20] local.INFO: Processing buffer {"connection_id":157778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f145380100000000000000000000000000..."} 
[2026-08-19 08:26:20] local.INFO: Packet analysis {"connection_id":157778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f1"} 
[2026-08-19 08:26:20] local.INFO: Extracted packet for processing {"connection_id":157778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f1"} 
[2026-08-19 08:26:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28707939363586048,"note":"Value kept but may cause issues"} 
[2026-08-19 08:26: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-08-19 08:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787108083000,"timestamp_ms":1787108083000,"timestamp_seconds":1787108083,"priority":1,"record_length":96,"hex_timestamp":"000001a017f14538"} 
[2026-08-19 08:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:26:20] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 08:26: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-08-19 08: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-08-19 08:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157778,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157778,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":157778,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 08:26:20] local.INFO: GPS data processed {"connection_id":157778,"processed":0,"errors":0,"total":1} 
[2026-08-19 08:26:20] local.INFO: Acknowledgment sent {"connection_id":157778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:26:20] local.INFO: TCP Data received {"connection_id":157396,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:26:20] local.INFO: Processing buffer {"connection_id":157396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:26:20] local.INFO: IMEI packet received {"connection_id":157396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":157396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:26:25] local.INFO: TCP Data received {"connection_id":157396,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:26:25] local.INFO: Processing buffer {"connection_id":157396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:26:25] local.INFO: IMEI packet received {"connection_id":157396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":157396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:26:26] local.INFO: TCP Data received {"connection_id":157396,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f18f70012d7beb4005e49cb8000d00202b..."} 
[2026-08-19 08:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f18f70012d7beb4005e49cb8000d00202b..."} 
[2026-08-19 08:26:26] local.INFO: Processing buffer {"connection_id":157396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f18f70012d7beb4005e49cb8000d00202b..."} 
[2026-08-19 08:26:26] local.INFO: Packet analysis {"connection_id":157396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f1"} 
[2026-08-19 08:26:26] local.INFO: Extracted packet for processing {"connection_id":157396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f1"} 
[2026-08-19 08:26:26] local.INFO: GPS Element Parsed {"raw_longitude":763095872,"raw_latitude":98868408,"longitude_deg":76.3095872,"latitude_deg":9.8868408,"altitude":13,"angle":32,"satellites":43,"speed":51,"hex_longitude":"2d7beb40","hex_latitude":"05e49cb8","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499672320001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120635675610447872,"note":"Value kept but may cause issues"} 
[2026-08-19 08:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923812318198841344,"note":"Value kept but may cause issues"} 
[2026-08-19 08:26:26] 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-08-19 08:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787108102000,"timestamp_ms":1787108102000,"timestamp_seconds":1787108102,"priority":1,"record_length":96,"hex_timestamp":"000001a017f18f70"} 
[2026-08-19 08:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 08:26:26] 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-08-19 08: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-08-19 08:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:26:26] 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-08-19 08:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499672320001,"66":13504,"208":206,"85":15104,"24":51,"16":120635675610447872,"45":8923812318198841344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 08:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499672320001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:26:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 08:26:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 08:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120635675610447872,"km_value":120635675610447.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923812318198841344,"description":"Unknown IO ID 45"} 
[2026-08-19 08:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499672320001,"power":13504,"unknown_208":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8923812318198841344}} 
[2026-08-19 08:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":157396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:26:26] local.INFO: GPS data processed {"connection_id":157396,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:26:26] local.INFO: Acknowledgment sent {"connection_id":157396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:26:37] local.INFO: TCP Data received {"connection_id":158666,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:26:37] local.INFO: Processing buffer {"connection_id":158666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:26:37] local.INFO: Packet analysis {"connection_id":158666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:26:37] local.INFO: Extracted packet for processing {"connection_id":158666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499576832001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787108023000,"timestamp_ms":1787108023000,"timestamp_seconds":1787108023,"priority":1,"record_length":96,"hex_timestamp":"000001a017f05ad8"} 
[2026-08-19 08:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:26: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-08-19 08:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499576832001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 08:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499576832001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:26:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499576832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":158666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:26:37] local.INFO: GPS data processed {"connection_id":158666,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:26:37] local.INFO: Acknowledgment sent {"connection_id":158666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:26:51] local.INFO: TCP Data received {"connection_id":157778,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f197400100000000000000000000000000..."} 
[2026-08-19 08:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f197400100000000000000000000000000..."} 
[2026-08-19 08:26:51] local.INFO: Processing buffer {"connection_id":157778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f197400100000000000000000000000000..."} 
[2026-08-19 08:26:51] local.INFO: Packet analysis {"connection_id":157778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f1"} 
[2026-08-19 08:26:51] local.INFO: Extracted packet for processing {"connection_id":157778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f1"} 
[2026-08-19 08:26:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 08:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28707939363586048,"note":"Value kept but may cause issues"} 
[2026-08-19 08:26:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 08:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787108104000,"timestamp_ms":1787108104000,"timestamp_seconds":1787108104,"priority":1,"record_length":96,"hex_timestamp":"000001a017f19740"} 
[2026-08-19 08:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 08:26: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-08-19 08:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157778,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157778,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":157778,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 08:26:51] local.INFO: GPS data processed {"connection_id":157778,"processed":0,"errors":0,"total":1} 
[2026-08-19 08:26:51] local.INFO: Acknowledgment sent {"connection_id":157778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:27:00] local.INFO: TCP Data received {"connection_id":157396,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f2fab8012d7c18c005e5a3a00006014f27..."} 
[2026-08-19 08:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f2fab8012d7c18c005e5a3a00006014f27..."} 
[2026-08-19 08:27:00] local.INFO: Processing buffer {"connection_id":157396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f2fab8012d7c18c005e5a3a00006014f27..."} 
[2026-08-19 08:27:00] local.INFO: Packet analysis {"connection_id":157396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f2"} 
[2026-08-19 08:27:00] local.INFO: Extracted packet for processing {"connection_id":157396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f2"} 
[2026-08-19 08:27:00] local.INFO: GPS Element Parsed {"raw_longitude":763107520,"raw_latitude":98935712,"longitude_deg":76.310752,"latitude_deg":9.8935712,"altitude":6,"angle":335,"satellites":39,"speed":43,"hex_longitude":"2d7c18c0","hex_latitude":"05e5a3a0","is_valid_coordinates":true} 
[2026-08-19 08:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499695360001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120639317742714880,"note":"Value kept but may cause issues"} 
[2026-08-19 08:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946048841375787008,"note":"Value kept but may cause issues"} 
[2026-08-19 08:27:00] 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-08-19 08:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787108195000,"timestamp_ms":1787108195000,"timestamp_seconds":1787108195,"priority":1,"record_length":96,"hex_timestamp":"000001a017f2fab8"} 
[2026-08-19 08:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:27: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-08-19 08:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-19 08:27:00] 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-08-19 08:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":157396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":157396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":157396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:27:00] 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-08-19 08:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499695360001,"66":13526,"39":206,"87":13824,"24":43,"16":120639317742714880,"45":8946048841375787008},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-19 08:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499695360001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:27:00] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 08:27:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120639317742714880,"km_value":120639317742714.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946048841375787008,"description":"Unknown IO ID 45"} 
[2026-08-19 08:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499695360001,"power":13526,"unknown_39":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8946048841375787008}} 
[2026-08-19 08:27:00] local.INFO: TCP Data received {"connection_id":159947,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:27:00] local.INFO: Processing buffer {"connection_id":159947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:27:00] local.INFO: IMEI packet received {"connection_id":159947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":159947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":157396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:27:00] local.INFO: GPS data processed {"connection_id":157396,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:27:00] local.INFO: Acknowledgment sent {"connection_id":157396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:27:05] local.INFO: TCP Data received {"connection_id":159947,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:27:05] local.INFO: Processing buffer {"connection_id":159947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:27:05] local.INFO: IMEI packet received {"connection_id":159947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":159947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:27:07] local.INFO: TCP Data received {"connection_id":159947,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:27:07] local.INFO: Processing buffer {"connection_id":159947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:27:07] local.INFO: Packet analysis {"connection_id":159947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:27:07] local.INFO: Extracted packet for processing {"connection_id":159947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:27:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499576832001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787108023000,"timestamp_ms":1787108023000,"timestamp_seconds":1787108023,"priority":1,"record_length":96,"hex_timestamp":"000001a017f05ad8"} 
[2026-08-19 08:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:27: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-08-19 08:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:27:07] 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-08-19 08:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499576832001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499576832001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:27:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:27:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499576832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":159947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:27:07] local.INFO: GPS data processed {"connection_id":159947,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:27:07] local.INFO: Acknowledgment sent {"connection_id":159947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:27:22] local.INFO: TCP Data received {"connection_id":157778,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f1e9480100000000000000000000000000..."} 
[2026-08-19 08:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f1e9480100000000000000000000000000..."} 
[2026-08-19 08:27:22] local.INFO: Processing buffer {"connection_id":157778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f1e9480100000000000000000000000000..."} 
[2026-08-19 08:27:22] local.INFO: Packet analysis {"connection_id":157778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f1"} 
[2026-08-19 08:27:22] local.INFO: Extracted packet for processing {"connection_id":157778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f1"} 
[2026-08-19 08:27:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 08:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28707939363586048,"note":"Value kept but may cause issues"} 
[2026-08-19 08:27:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 08:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787108125000,"timestamp_ms":1787108125000,"timestamp_seconds":1787108125,"priority":1,"record_length":96,"hex_timestamp":"000001a017f1e948"} 
[2026-08-19 08:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 08:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":157778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":157778,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":157778,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":157778,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 08:27:22] local.INFO: GPS data processed {"connection_id":157778,"processed":0,"errors":0,"total":1} 
[2026-08-19 08:27:22] local.INFO: Acknowledgment sent {"connection_id":157778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:27:25] local.INFO: TCP Data received {"connection_id":158667,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:27:25] local.INFO: Processing buffer {"connection_id":158667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:27:25] local.INFO: IMEI packet received {"connection_id":158667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":158667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:27:30] local.INFO: TCP Data received {"connection_id":158667,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:27:30] local.INFO: Processing buffer {"connection_id":158667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:27:30] local.INFO: IMEI packet received {"connection_id":158667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":158667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:27:31] local.INFO: TCP Data received {"connection_id":158667,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f319f8012d7c098005e5c3a80007014c25..."} 
[2026-08-19 08:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f319f8012d7c098005e5c3a80007014c25..."} 
[2026-08-19 08:27:31] local.INFO: Processing buffer {"connection_id":158667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f319f8012d7c098005e5c3a80007014c25..."} 
[2026-08-19 08:27:31] local.INFO: Packet analysis {"connection_id":158667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f3"} 
[2026-08-19 08:27:31] local.INFO: Extracted packet for processing {"connection_id":158667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f3"} 
[2026-08-19 08:27:31] local.INFO: GPS Element Parsed {"raw_longitude":763103616,"raw_latitude":98943912,"longitude_deg":76.3103616,"latitude_deg":9.8943912,"altitude":7,"angle":332,"satellites":37,"speed":41,"hex_longitude":"2d7c0980","hex_latitude":"05e5c3a8","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499697920001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120639755829379072,"note":"Value kept but may cause issues"} 
[2026-08-19 08:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942108191704195072,"note":"Value kept but may cause issues"} 
[2026-08-19 08:27:31] 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-08-19 08:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787108203000,"timestamp_ms":1787108203000,"timestamp_seconds":1787108203,"priority":1,"record_length":96,"hex_timestamp":"000001a017f319f8"} 
[2026-08-19 08:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:27: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-08-19 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-19 08:27:31] 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-08-19 08: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-08-19 08:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":158667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":158667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":158667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:27:31] 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-08-19 08:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499697920001,"66":13363,"39":206,"87":13824,"24":41,"16":120639755829379072,"45":8942108191704195072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-19 08:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499697920001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:27:31] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 08:27:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120639755829379072,"km_value":120639755829379.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942108191704195072,"description":"Unknown IO ID 45"} 
[2026-08-19 08:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499697920001,"power":13363,"unknown_39":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8942108191704195072}} 
[2026-08-19 08:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":158667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:27:31] local.INFO: GPS data processed {"connection_id":158667,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:27:31] local.INFO: Acknowledgment sent {"connection_id":158667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:27:36] local.INFO: TCP Data received {"connection_id":158667,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f32d80012d7bff4005e5d3680007013d24..."} 
[2026-08-19 08:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f32d80012d7bff4005e5d3680007013d24..."} 
[2026-08-19 08:27:36] local.INFO: Processing buffer {"connection_id":158667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f32d80012d7bff4005e5d3680007013d24..."} 
[2026-08-19 08:27:36] local.INFO: Packet analysis {"connection_id":158667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f3"} 
[2026-08-19 08:27:36] local.INFO: Extracted packet for processing {"connection_id":158667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f3"} 
[2026-08-19 08:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763100992,"raw_latitude":98947944,"longitude_deg":76.3100992,"latitude_deg":9.8947944,"altitude":7,"angle":317,"satellites":36,"speed":34,"hex_longitude":"2d7bff40","hex_latitude":"05e5d368","is_valid_coordinates":true} 
[2026-08-19 08:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499699968001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120639992052580352,"note":"Value kept but may cause issues"} 
[2026-08-19 08:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937815698311456768,"note":"Value kept but may cause issues"} 
[2026-08-19 08:27: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-08-19 08:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787108208000,"timestamp_ms":1787108208000,"timestamp_seconds":1787108208,"priority":1,"record_length":96,"hex_timestamp":"000001a017f32d80"} 
[2026-08-19 08:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:27: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-08-19 08:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 08:27:36] 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-08-19 08:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:27:36] 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-08-19 08:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499699968001,"66":13319,"39":206,"87":13824,"24":34,"16":120639992052580352,"45":8937815698311456768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-19 08:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499699968001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:27:36] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 08:27:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120639992052580352,"km_value":120639992052580.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937815698311456768,"description":"Unknown IO ID 45"} 
[2026-08-19 08:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499699968001,"power":13319,"unknown_39":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8937815698311456768}} 
[2026-08-19 08:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":158667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:27:36] local.INFO: GPS data processed {"connection_id":158667,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:27:36] local.INFO: Acknowledgment sent {"connection_id":158667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:27:39] local.INFO: TCP Data received {"connection_id":159947,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:27:39] local.INFO: Processing buffer {"connection_id":159947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:27:39] local.INFO: Packet analysis {"connection_id":159947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:27:39] local.INFO: Extracted packet for processing {"connection_id":159947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:27:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499576832001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787108023000,"timestamp_ms":1787108023000,"timestamp_seconds":1787108023,"priority":1,"record_length":96,"hex_timestamp":"000001a017f05ad8"} 
[2026-08-19 08:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499576832001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499576832001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:27:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:27:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499576832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":159947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:27:39] local.INFO: GPS data processed {"connection_id":159947,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:27:39] local.INFO: Acknowledgment sent {"connection_id":159947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:27:53] local.INFO: TCP Data received {"connection_id":157778,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f23b500100000000000000000000000000..."} 
[2026-08-19 08:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f23b500100000000000000000000000000..."} 
[2026-08-19 08:27:53] local.INFO: Processing buffer {"connection_id":157778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f23b500100000000000000000000000000..."} 
[2026-08-19 08:27:53] local.INFO: Packet analysis {"connection_id":157778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f2"} 
[2026-08-19 08:27:53] local.INFO: Extracted packet for processing {"connection_id":157778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f2"} 
[2026-08-19 08:27:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28707939363586048,"note":"Value kept but may cause issues"} 
[2026-08-19 08:27:53] 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-08-19 08:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787108146000,"timestamp_ms":1787108146000,"timestamp_seconds":1787108146,"priority":1,"record_length":96,"hex_timestamp":"000001a017f23b50"} 
[2026-08-19 08:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 08:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":157778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":157778,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":157778,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":157778,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 08:27:53] local.INFO: GPS data processed {"connection_id":157778,"processed":0,"errors":0,"total":1} 
[2026-08-19 08:27:53] local.INFO: Acknowledgment sent {"connection_id":157778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:28:05] local.INFO: TCP Data received {"connection_id":159948,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:28:05] local.INFO: Processing buffer {"connection_id":159948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:28:05] local.INFO: IMEI packet received {"connection_id":159948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":159948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:28:10] local.INFO: TCP Data received {"connection_id":159948,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:28:10] local.INFO: Processing buffer {"connection_id":159948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:28:10] local.INFO: IMEI packet received {"connection_id":159948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":159948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:28:11] local.INFO: TCP Data received {"connection_id":159948,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:28:11] local.INFO: Processing buffer {"connection_id":159948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:28:11] local.INFO: Packet analysis {"connection_id":159948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:28:11] local.INFO: Extracted packet for processing {"connection_id":159948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499576832001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787108023000,"timestamp_ms":1787108023000,"timestamp_seconds":1787108023,"priority":1,"record_length":96,"hex_timestamp":"000001a017f05ad8"} 
[2026-08-19 08:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499576832001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499576832001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:28:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:28:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499576832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":159948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:28:11] local.INFO: GPS data processed {"connection_id":159948,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:28:11] local.INFO: Acknowledgment sent {"connection_id":159948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:28:15] local.INFO: TCP Data received {"connection_id":159948,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:28:15] local.INFO: Processing buffer {"connection_id":159948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:28:15] local.INFO: Packet analysis {"connection_id":159948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:28:15] local.INFO: Extracted packet for processing {"connection_id":159948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499576832001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787108023000,"timestamp_ms":1787108023000,"timestamp_seconds":1787108023,"priority":1,"record_length":96,"hex_timestamp":"000001a017f05ad8"} 
[2026-08-19 08:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499576832001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499576832001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499576832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":159948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:28:16] local.INFO: GPS data processed {"connection_id":159948,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:28:16] local.INFO: Acknowledgment sent {"connection_id":159948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:28:19] local.INFO: TCP Data received {"connection_id":157397,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157397,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:28:19] local.INFO: Processing buffer {"connection_id":157397,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:28:19] local.INFO: IMEI packet received {"connection_id":157397,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":157397,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:28:20] local.INFO: TCP Data received {"connection_id":159949,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:28:20] local.INFO: Processing buffer {"connection_id":159949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:28:20] local.INFO: IMEI packet received {"connection_id":159949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":159949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:28:22] local.INFO: TCP Data received {"connection_id":157397,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157397,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:28:22] local.INFO: Processing buffer {"connection_id":157397,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:28:22] local.INFO: IMEI packet received {"connection_id":157397,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":157397,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:28:22] local.INFO: TCP Data received {"connection_id":157397,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f28d580100000000000000000000000000..."} 
[2026-08-19 08:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f28d580100000000000000000000000000..."} 
[2026-08-19 08:28:22] local.INFO: Processing buffer {"connection_id":157397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f28d580100000000000000000000000000..."} 
[2026-08-19 08:28:22] local.INFO: Packet analysis {"connection_id":157397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f2"} 
[2026-08-19 08:28:22] local.INFO: Extracted packet for processing {"connection_id":157397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f2"} 
[2026-08-19 08:28:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 08:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28707939363586048,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 08:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787108167000,"timestamp_ms":1787108167000,"timestamp_seconds":1787108167,"priority":1,"record_length":96,"hex_timestamp":"000001a017f28d58"} 
[2026-08-19 08:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-19 08:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":157397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":157397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":157397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":157397,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 08:28:22] local.INFO: GPS data processed {"connection_id":157397,"processed":0,"errors":0,"total":1} 
[2026-08-19 08:28:22] local.INFO: Acknowledgment sent {"connection_id":157397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:28:22] local.INFO: TCP Data received {"connection_id":159949,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:28:22] local.INFO: Processing buffer {"connection_id":159949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:28:22] local.INFO: IMEI packet received {"connection_id":159949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":159949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:28:23] local.INFO: TCP Data received {"connection_id":159949,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f350a8012d7be88005e5e6880008013125..."} 
[2026-08-19 08:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f350a8012d7be88005e5e6880008013125..."} 
[2026-08-19 08:28:23] local.INFO: Processing buffer {"connection_id":159949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f350a8012d7be88005e5e6880008013125..."} 
[2026-08-19 08:28:23] local.INFO: Packet analysis {"connection_id":159949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f3"} 
[2026-08-19 08:28:23] local.INFO: Extracted packet for processing {"connection_id":159949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f3"} 
[2026-08-19 08:28:23] local.INFO: GPS Element Parsed {"raw_longitude":763095168,"raw_latitude":98952840,"longitude_deg":76.3095168,"latitude_deg":9.895284,"altitude":8,"angle":305,"satellites":37,"speed":32,"hex_longitude":"2d7be880","hex_latitude":"05e5e688","is_valid_coordinates":true} 
[2026-08-19 08:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499701248001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120640357124800512,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934930579801204736,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28: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-08-19 08:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787108217000,"timestamp_ms":1787108217000,"timestamp_seconds":1787108217,"priority":1,"record_length":96,"hex_timestamp":"000001a017f350a8"} 
[2026-08-19 08:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 08:28:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:23] local.WARNING: Large IO value detected {"io_id":23,"raw_value":4070629377,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:23] local.WARNING: Large IO value detected {"io_id":229,"raw_value":2726929591576045568,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-08-19 08:28:23] local.WARNING: Large IO value detected {"io_id":133,"raw_value":2281778556,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:23] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2547449856,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3845148672,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:23] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:23] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4836867294665605125,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:23] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,39,87,24,241,157,16,153,160,25,45,128,195,7,37,10,66,250,192,163,6,152,211,1,240,182,227,23,229,4,113,205,9,133,52,216,239,2,172,5,3,51,242],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-08-19 08:28:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504751858072551424,"timestamp_seconds":504751858072551.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 08:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:28:23] 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-08-19 08:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499701248001,"66":13178,"39":206,"87":13824,"24":32,"16":120640357124800512,"45":8934930579801204736},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-19 08:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499701248001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:28:23] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 08:28:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120640357124800512,"km_value":120640357124800.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934930579801204736,"description":"Unknown IO ID 45"} 
[2026-08-19 08:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499701248001,"power":13178,"unknown_39":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8934930579801204736}} 
[2026-08-19 08:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":159949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:28:23] local.INFO: GPS data processed {"connection_id":159949,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:28:23] local.INFO: Acknowledgment sent {"connection_id":159949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:28:53] local.INFO: TCP Data received {"connection_id":157397,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f2df600100000000000000000000000000..."} 
[2026-08-19 08:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f2df600100000000000000000000000000..."} 
[2026-08-19 08:28:53] local.INFO: Processing buffer {"connection_id":157397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f2df600100000000000000000000000000..."} 
[2026-08-19 08:28:53] local.INFO: Packet analysis {"connection_id":157397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f2"} 
[2026-08-19 08:28:53] local.INFO: Extracted packet for processing {"connection_id":157397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f2"} 
[2026-08-19 08:28:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28707939363586048,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:53] 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-08-19 08:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787108188000,"timestamp_ms":1787108188000,"timestamp_seconds":1787108188,"priority":1,"record_length":96,"hex_timestamp":"000001a017f2df60"} 
[2026-08-19 08:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 08:28: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-08-19 08: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-08-19 08:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":157397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":157397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":157397,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":157397,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 08:28:53] local.INFO: GPS data processed {"connection_id":157397,"processed":0,"errors":0,"total":1} 
[2026-08-19 08:28:53] local.INFO: Acknowledgment sent {"connection_id":157397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:28:54] local.INFO: TCP Data received {"connection_id":159949,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f4ead0012d7b97c005e6ce280005000422..."} 
[2026-08-19 08:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f4ead0012d7b97c005e6ce280005000422..."} 
[2026-08-19 08:28:54] local.INFO: Processing buffer {"connection_id":159949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f4ead0012d7b97c005e6ce280005000422..."} 
[2026-08-19 08:28:54] local.INFO: Packet analysis {"connection_id":159949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:28:54] local.INFO: Extracted packet for processing {"connection_id":159949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763074496,"raw_latitude":99012136,"longitude_deg":76.3074496,"latitude_deg":9.9012136,"altitude":5,"angle":4,"satellites":34,"speed":19,"hex_longitude":"2d7b97c0","hex_latitude":"05e6ce28","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499729664001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120643479566024704,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905657182239444992,"note":"Value kept but may cause issues"} 
[2026-08-19 08:28:54] 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-08-19 08:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787108322000,"timestamp_ms":1787108322000,"timestamp_seconds":1787108322,"priority":1,"record_length":96,"hex_timestamp":"000001a017f4ead0"} 
[2026-08-19 08:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 08:28:54] 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-08-19 08: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-08-19 08:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:28:54] 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-08-19 08:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499729664001,"66":13189,"95":206,"87":13824,"24":19,"16":120643479566024704,"45":8905657182239444992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-19 08:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499729664001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:28:54] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 08:28:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120643479566024704,"km_value":120643479566024.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905657182239444992,"description":"Unknown IO ID 45"} 
[2026-08-19 08:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499729664001,"power":13189,"unknown_95":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8905657182239444992}} 
[2026-08-19 08:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":159949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:28:54] local.INFO: GPS data processed {"connection_id":159949,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:28:54] local.INFO: Acknowledgment sent {"connection_id":159949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:29:00] local.INFO: TCP Data received {"connection_id":159950,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:29:00] local.INFO: Processing buffer {"connection_id":159950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:29:00] local.INFO: IMEI packet received {"connection_id":159950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":159950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:29:05] local.INFO: TCP Data received {"connection_id":159950,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:29:05] local.INFO: Processing buffer {"connection_id":159950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:29:05] local.INFO: IMEI packet received {"connection_id":159950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":159950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:29:06] local.INFO: TCP Data received {"connection_id":159950,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:29:06] local.INFO: Processing buffer {"connection_id":159950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f05ad8012d34c50006aa40780006005924..."} 
[2026-08-19 08:29:06] local.INFO: Packet analysis {"connection_id":159950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:29:06] local.INFO: Extracted packet for processing {"connection_id":159950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f0"} 
[2026-08-19 08:29:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":36,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499576832001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787108023000,"timestamp_ms":1787108023000,"timestamp_seconds":1787108023,"priority":1,"record_length":96,"hex_timestamp":"000001a017f05ad8"} 
[2026-08-19 08:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 08:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:29:06] 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-08-19 08:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499576832001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499576832001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:29:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:29:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499576832001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":159950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:29:06] local.INFO: GPS data processed {"connection_id":159950,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:29:06] local.INFO: Acknowledgment sent {"connection_id":159950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:29:12] local.INFO: TCP Data received {"connection_id":157398,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:29:12] local.INFO: Processing buffer {"connection_id":157398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:29:12] local.INFO: IMEI packet received {"connection_id":157398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":157398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:29:14] local.INFO: TCP Data received {"connection_id":157398,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:29:14] local.INFO: Processing buffer {"connection_id":157398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:29:14] local.INFO: IMEI packet received {"connection_id":157398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":157398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:29:17] local.INFO: TCP Data received {"connection_id":157398,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:29:17] local.INFO: Processing buffer {"connection_id":157398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:29:17] local.INFO: IMEI packet received {"connection_id":157398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":157398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:29:17] local.INFO: TCP Data received {"connection_id":157398,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f4c7a8012d0c21400702af680016007109..."} 
[2026-08-19 08:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f4c7a8012d0c21400702af680016007109..."} 
[2026-08-19 08:29:17] local.INFO: Processing buffer {"connection_id":157398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f4c7a8012d0c21400702af680016007109..."} 
[2026-08-19 08:29:17] local.INFO: Packet analysis {"connection_id":157398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:29:17] local.INFO: Extracted packet for processing {"connection_id":157398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:29:17] local.INFO: GPS Element Parsed {"raw_longitude":755769664,"raw_latitude":117616488,"longitude_deg":75.5769664,"latitude_deg":11.7616488,"altitude":22,"angle":113,"satellites":9,"speed":11,"hex_longitude":"2d0c2140","hex_latitude":"0702af68","is_valid_coordinates":true} 
[2026-08-19 08:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499727104001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28708171291820032,"note":"Value kept but may cause issues"} 
[2026-08-19 08:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872783564145473536,"note":"Value kept but may cause issues"} 
[2026-08-19 08:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787108313000,"timestamp_ms":1787108313000,"timestamp_seconds":1787108313,"priority":1,"record_length":96,"hex_timestamp":"000001a017f4c7a8"} 
[2026-08-19 08:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:29:17] 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-08-19 08:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 08:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499727104001,"66":14374,"37":206,"94":11008,"24":11,"16":28708171291820032,"45":872783564145473536},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 08:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499727104001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:29:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 08:29:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28708171291820032,"km_value":28708171291820.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":872783564145473536,"description":"Unknown IO ID 45"} 
[2026-08-19 08:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499727104001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":872783564145473536}} 
[2026-08-19 08:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":157398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663495,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:29:17] local.INFO: GPS data processed {"connection_id":157398,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:29:17] local.INFO: Acknowledgment sent {"connection_id":157398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:29:20] local.INFO: TCP Data received {"connection_id":157399,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:29:20] local.INFO: Processing buffer {"connection_id":157399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:29:20] local.INFO: IMEI packet received {"connection_id":157399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":157399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:29:27] local.INFO: TCP Data received {"connection_id":157399,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:29:27] local.INFO: Processing buffer {"connection_id":157399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:29:27] local.INFO: IMEI packet received {"connection_id":157399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":157399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:29:28] local.INFO: TCP Data received {"connection_id":157399,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f4fa70012d7b978005e6d7b80005016123..."} 
[2026-08-19 08:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f4fa70012d7b978005e6d7b80005016123..."} 
[2026-08-19 08:29:28] local.INFO: Processing buffer {"connection_id":157399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f4fa70012d7b978005e6d7b80005016123..."} 
[2026-08-19 08:29:28] local.INFO: Packet analysis {"connection_id":157399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:29:28] local.INFO: Extracted packet for processing {"connection_id":157399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:29:28] local.INFO: GPS Element Parsed {"raw_longitude":763074432,"raw_latitude":99014584,"longitude_deg":76.3074432,"latitude_deg":9.9014584,"altitude":5,"angle":353,"satellites":35,"speed":28,"hex_longitude":"2d7b9780","hex_latitude":"05e6d7b8","is_valid_coordinates":true} 
[2026-08-19 08:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499730432001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120643595530141696,"note":"Value kept but may cause issues"} 
[2026-08-19 08:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905797919728084992,"note":"Value kept but may cause issues"} 
[2026-08-19 08:29:28] 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-08-19 08:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787108326000,"timestamp_ms":1787108326000,"timestamp_seconds":1787108326,"priority":1,"record_length":96,"hex_timestamp":"000001a017f4fa70"} 
[2026-08-19 08:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-19 08:29:28] 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-08-19 08:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":157399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":157399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":157399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:29:28] 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-08-19 08:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499730432001,"66":13178,"95":206,"87":13824,"24":28,"16":120643595530141696,"45":8905797919728084992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-19 08:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499730432001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:29:28] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 08:29:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120643595530141696,"km_value":120643595530141.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905797919728084992,"description":"Unknown IO ID 45"} 
[2026-08-19 08:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499730432001,"power":13178,"unknown_95":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8905797919728084992}} 
[2026-08-19 08:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":157399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:29:28] local.INFO: GPS data processed {"connection_id":157399,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:29:28] local.INFO: Acknowledgment sent {"connection_id":157399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:29:37] local.INFO: TCP Data received {"connection_id":159950,"ip":"42.106.6.17","data_length":93,"data_hex":"00000000000000518e01000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159950,"packet_length":93,"packet_hex":"00000000000000518e01000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:29:37] local.INFO: Processing buffer {"connection_id":159950,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:29:37] local.INFO: Packet analysis {"connection_id":159950,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a017f4"} 
[2026-08-19 08:29:37] local.INFO: Extracted packet for processing {"connection_id":159950,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a017f4"} 
[2026-08-19 08:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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":93,"current_offset":40} 
[2026-08-19 08:29:37] 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-08-19 08:29:37] 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-08-19 08:29:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:29:37] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-19 08:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159950,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-19 08:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159950,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-19 08:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159950,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-19 08:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-19 08:29:37] local.WARNING: DEBUG: No valid data to process  
[2026-08-19 08:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":159950,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-19 08:29:37] local.ERROR: GPS data processing failed {"connection_id":159950,"error":"No valid data to process"} 
[2026-08-19 08:29:37] local.INFO: Acknowledgment sent {"connection_id":159950,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-19 08:29:48] local.INFO: TCP Data received {"connection_id":157398,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f519b0012d0c28400702ae680016007309..."} 
[2026-08-19 08:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f519b0012d0c28400702ae680016007309..."} 
[2026-08-19 08:29:48] local.INFO: Processing buffer {"connection_id":157398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f519b0012d0c28400702ae680016007309..."} 
[2026-08-19 08:29:48] local.INFO: Packet analysis {"connection_id":157398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f5"} 
[2026-08-19 08:29:48] local.INFO: Extracted packet for processing {"connection_id":157398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f5"} 
[2026-08-19 08:29:48] local.INFO: GPS Element Parsed {"raw_longitude":755771456,"raw_latitude":117616232,"longitude_deg":75.5771456,"latitude_deg":11.7616232,"altitude":22,"angle":115,"satellites":9,"speed":0,"hex_longitude":"2d0c2840","hex_latitude":"0702ae68","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499728128001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28708261486133248,"note":"Value kept but may cause issues"} 
[2026-08-19 08:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874050201540585472,"note":"Value kept but may cause issues"} 
[2026-08-19 08:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787108334000,"timestamp_ms":1787108334000,"timestamp_seconds":1787108334,"priority":1,"record_length":96,"hex_timestamp":"000001a017f519b0"} 
[2026-08-19 08:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:29:48] 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-08-19 08: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 08:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":157398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":157398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":157398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499728128001,"66":14428,"37":206,"94":11008,"24":0,"16":28708261486133248,"45":874050201540585472},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 08:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499728128001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:29:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 08:29:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28708261486133248,"km_value":28708261486133.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":874050201540585472,"description":"Unknown IO ID 45"} 
[2026-08-19 08:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499728128001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":874050201540585472}} 
[2026-08-19 08:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":157398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663497,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:29:48] local.INFO: GPS data processed {"connection_id":157398,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:29:48] local.INFO: Acknowledgment sent {"connection_id":157398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:29:59] local.INFO: TCP Data received {"connection_id":157399,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f511e0012d7b94c005e6e6400005015324..."} 
[2026-08-19 08:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f511e0012d7b94c005e6e6400005015324..."} 
[2026-08-19 08:29:59] local.INFO: Processing buffer {"connection_id":157399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f511e0012d7b94c005e6e6400005015324..."} 
[2026-08-19 08:29:59] local.INFO: Packet analysis {"connection_id":157399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f5"} 
[2026-08-19 08:29:59] local.INFO: Extracted packet for processing {"connection_id":157399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f5"} 
[2026-08-19 08:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763073728,"raw_latitude":99018304,"longitude_deg":76.3073728,"latitude_deg":9.9018304,"altitude":5,"angle":339,"satellites":36,"speed":25,"hex_longitude":"2d7b94c0","hex_latitude":"05e6e640","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499731456001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120643780213735424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905727550984534016,"note":"Value kept but may cause issues"} 
[2026-08-19 08:29:59] 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-08-19 08:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787108332000,"timestamp_ms":1787108332000,"timestamp_seconds":1787108332,"priority":1,"record_length":96,"hex_timestamp":"000001a017f511e0"} 
[2026-08-19 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-08-19 08:29: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-08-19 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":122,"data_length":795,"current_offset":136} 
[2026-08-19 08:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 08:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":157399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":157399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":157399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:29:59] 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-08-19 08:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499731456001,"66":13363,"95":206,"87":13824,"24":25,"16":120643780213735424,"45":8905727550984534016},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-19 08:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499731456001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:29:59] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 08:29:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120643780213735424,"km_value":120643780213735.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905727550984534016,"description":"Unknown IO ID 45"} 
[2026-08-19 08:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499731456001,"power":13363,"unknown_95":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8905727550984534016}} 
[2026-08-19 08:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":157399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:29:59] local.INFO: GPS data processed {"connection_id":157399,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:29:59] local.INFO: Acknowledgment sent {"connection_id":157399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:30:00] local.INFO: TCP Data received {"connection_id":159951,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:30:00] local.INFO: Processing buffer {"connection_id":159951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:30:00] local.INFO: IMEI packet received {"connection_id":159951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":159951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:30:05] local.INFO: TCP Data received {"connection_id":159951,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:30:05] local.INFO: Processing buffer {"connection_id":159951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:30:05] local.INFO: IMEI packet received {"connection_id":159951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":159951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:30:06] local.INFO: TCP Data received {"connection_id":159951,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:30:06] local.INFO: Processing buffer {"connection_id":159951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:30:06] local.INFO: Packet analysis {"connection_id":159951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:30:06] local.INFO: Extracted packet for processing {"connection_id":159951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:30:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499653888001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787108324000,"timestamp_ms":1787108324000,"timestamp_seconds":1787108324,"priority":1,"record_length":96,"hex_timestamp":"000001a017f4f2a0"} 
[2026-08-19 08:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499653888001,"66":25604,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499653888001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:30:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:30:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499653888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":159951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:30:06] local.INFO: GPS data processed {"connection_id":159951,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:30:06] local.INFO: Acknowledgment sent {"connection_id":159951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:30:15] local.INFO: TCP Data received {"connection_id":158668,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:30:15] local.INFO: Processing buffer {"connection_id":158668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:30:15] local.INFO: IMEI packet received {"connection_id":158668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":158668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:30:15] local.INFO: TCP Data received {"connection_id":158668,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:30:15] local.INFO: Processing buffer {"connection_id":158668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:30:15] local.INFO: IMEI packet received {"connection_id":158668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":158668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:30:20] local.INFO: TCP Data received {"connection_id":158668,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:30:20] local.INFO: Processing buffer {"connection_id":158668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:30:20] local.INFO: IMEI packet received {"connection_id":158668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":158668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:30:20] local.INFO: TCP Data received {"connection_id":158668,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f5e0e8012d0c43000702b400001a00460b..."} 
[2026-08-19 08:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f5e0e8012d0c43000702b400001a00460b..."} 
[2026-08-19 08:30:20] local.INFO: Processing buffer {"connection_id":158668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f5e0e8012d0c43000702b400001a00460b..."} 
[2026-08-19 08:30:20] local.INFO: Packet analysis {"connection_id":158668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f5"} 
[2026-08-19 08:30:20] local.INFO: Extracted packet for processing {"connection_id":158668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f5"} 
[2026-08-19 08:30:20] local.INFO: GPS Element Parsed {"raw_longitude":755778304,"raw_latitude":117617664,"longitude_deg":75.5778304,"latitude_deg":11.7617664,"altitude":26,"angle":70,"satellites":11,"speed":5,"hex_longitude":"2d0c4300","hex_latitude":"0702b400","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499745792001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28708596493582336,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882846294563065856,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30: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-08-19 08:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787108385000,"timestamp_ms":1787108385000,"timestamp_seconds":1787108385,"priority":1,"record_length":96,"hex_timestamp":"000001a017f5e0e8"} 
[2026-08-19 08:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:30: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-08-19 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 08:30: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-08-19 08: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-08-19 08:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499745792001,"66":14407,"37":206,"94":11008,"24":5,"16":28708596493582336,"45":882846294563065856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 08:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499745792001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:30:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 08:30:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28708596493582336,"km_value":28708596493582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":882846294563065856,"description":"Unknown IO ID 45"} 
[2026-08-19 08:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499745792001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":882846294563065856}} 
[2026-08-19 08:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":158668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663500,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:30:20] local.INFO: GPS data processed {"connection_id":158668,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:30:20] local.INFO: Acknowledgment sent {"connection_id":158668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:30:24] local.INFO: TCP Data received {"connection_id":158669,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:30:24] local.INFO: Processing buffer {"connection_id":158669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:30:24] local.INFO: IMEI packet received {"connection_id":158669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":158669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:30:24] local.INFO: TCP Data received {"connection_id":158669,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:30:24] local.INFO: Processing buffer {"connection_id":158669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:30:24] local.INFO: IMEI packet received {"connection_id":158669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":158669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:30:25] local.INFO: TCP Data received {"connection_id":158669,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f538f0012d7b888005e706c00007015c25..."} 
[2026-08-19 08:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f538f0012d7b888005e706c00007015c25..."} 
[2026-08-19 08:30:25] local.INFO: Processing buffer {"connection_id":158669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f538f0012d7b888005e706c00007015c25..."} 
[2026-08-19 08:30:25] local.INFO: Packet analysis {"connection_id":158669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f5"} 
[2026-08-19 08:30:25] local.INFO: Extracted packet for processing {"connection_id":158669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f5"} 
[2026-08-19 08:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":99026624,"longitude_deg":76.3070592,"latitude_deg":9.9026624,"altitude":7,"angle":348,"satellites":37,"speed":35,"hex_longitude":"2d7b8880","hex_latitude":"05e706c0","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499732992001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120644214005432320,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904953494799532032,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:25] 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-08-19 08:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787108342000,"timestamp_ms":1787108342000,"timestamp_seconds":1787108342,"priority":1,"record_length":96,"hex_timestamp":"000001a017f538f0"} 
[2026-08-19 08:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:30: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-08-19 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 08:30:25] 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-08-19 08: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-08-19 08:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":158669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":158669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":158669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:30:25] 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-08-19 08:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499732992001,"66":13319,"96":206,"87":13824,"24":35,"16":120644214005432320,"45":8904953494799532032},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-19 08:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499732992001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:30:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 08:30:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120644214005432320,"km_value":120644214005432.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904953494799532032,"description":"Unknown IO ID 45"} 
[2026-08-19 08:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499732992001,"power":13319,"unknown_96":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8904953494799532032}} 
[2026-08-19 08:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":158669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:30:25] local.INFO: GPS data processed {"connection_id":158669,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:30:25] local.INFO: Acknowledgment sent {"connection_id":158669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:30:26] local.INFO: TCP Data received {"connection_id":158669,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f54890012d7b854005e711400007014725..."} 
[2026-08-19 08:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f54890012d7b854005e711400007014725..."} 
[2026-08-19 08:30:26] local.INFO: Processing buffer {"connection_id":158669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f54890012d7b854005e711400007014725..."} 
[2026-08-19 08:30:26] local.INFO: Packet analysis {"connection_id":158669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f5"} 
[2026-08-19 08:30:26] local.INFO: Extracted packet for processing {"connection_id":158669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f5"} 
[2026-08-19 08:30:26] local.INFO: GPS Element Parsed {"raw_longitude":763069760,"raw_latitude":99029312,"longitude_deg":76.306976,"latitude_deg":9.9029312,"altitude":7,"angle":327,"satellites":37,"speed":24,"hex_longitude":"2d7b8540","hex_latitude":"05e71140","is_valid_coordinates":true} 
[2026-08-19 08:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499735552001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120644351444385792,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426336956416,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:26] 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-08-19 08:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787108346000,"timestamp_ms":1787108346000,"timestamp_seconds":1787108346,"priority":1,"record_length":96,"hex_timestamp":"000001a017f54890"} 
[2026-08-19 08:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:30:26] 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-08-19 08:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 08:30:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:26] local.WARNING: Large IO value detected {"io_id":230,"raw_value":-7800234533108046592,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3870844928,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:26] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2600468480,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:26] local.WARNING: Large IO value detected {"io_id":23,"raw_value":4108261377,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-08-19 08:30:26] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2818649467,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:26] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2147870398,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:26] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827405,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:26] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2624258048,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:26] local.WARNING: Large IO value detected {"io_id":18,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:26] local.WARNING: Large IO value detected {"io_id":244,"raw_value":-7437693489743331323,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:26] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,96,87,24,241,157,16,160,17,45,192,230,5,36,10,66,95,156,250,128,215,35,234,1,240,133,227,23,4,113,205,199,148,38,239,52,2,172,6,31,18,244],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298071758,"validated":0}]} 
[2026-08-19 08:30:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504785947228045312,"timestamp_seconds":504785947228045.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 08:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:30:26] 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-08-19 08:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499735552001,"66":13493,"96":206,"87":13824,"24":24,"16":120644351444385792,"45":8901505426336956416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-19 08:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499735552001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:30:26] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 08:30:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120644351444385792,"km_value":120644351444385.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426336956416,"description":"Unknown IO ID 45"} 
[2026-08-19 08:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499735552001,"power":13493,"unknown_96":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8901505426336956416}} 
[2026-08-19 08:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":158669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:30:26] local.INFO: GPS data processed {"connection_id":158669,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:30:26] local.INFO: Acknowledgment sent {"connection_id":158669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:30:38] local.INFO: TCP Data received {"connection_id":159951,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:30:38] local.INFO: Processing buffer {"connection_id":159951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:30:38] local.INFO: Packet analysis {"connection_id":159951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:30:38] local.INFO: Extracted packet for processing {"connection_id":159951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499653888001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787108324000,"timestamp_ms":1787108324000,"timestamp_seconds":1787108324,"priority":1,"record_length":96,"hex_timestamp":"000001a017f4f2a0"} 
[2026-08-19 08:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:30:38] 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-08-19 08:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499653888001,"66":25604,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499653888001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499653888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":159951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:30:38] local.INFO: GPS data processed {"connection_id":159951,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:30:38] local.INFO: Acknowledgment sent {"connection_id":159951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:30:51] local.INFO: TCP Data received {"connection_id":158668,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f5f858012d0c46800702b4a8001900560b..."} 
[2026-08-19 08:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f5f858012d0c46800702b4a8001900560b..."} 
[2026-08-19 08:30:51] local.INFO: Processing buffer {"connection_id":158668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f5f858012d0c46800702b4a8001900560b..."} 
[2026-08-19 08:30:51] local.INFO: Packet analysis {"connection_id":158668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f5"} 
[2026-08-19 08:30:51] local.INFO: Extracted packet for processing {"connection_id":158668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f5"} 
[2026-08-19 08:30:51] local.INFO: GPS Element Parsed {"raw_longitude":755779200,"raw_latitude":117617832,"longitude_deg":75.57792,"latitude_deg":11.7617832,"altitude":25,"angle":86,"satellites":11,"speed":6,"hex_longitude":"2d0c4680","hex_latitude":"0702b4a8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499746560001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28708643738222592,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883549982004871168,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30: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-08-19 08:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787108391000,"timestamp_ms":1787108391000,"timestamp_seconds":1787108391,"priority":1,"record_length":96,"hex_timestamp":"000001a017f5f858"} 
[2026-08-19 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-08-19 08:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 08:30: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-08-19 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-08-19 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-08-19 08:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":158668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":158668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":158668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499746560001,"66":14439,"37":206,"94":11008,"24":6,"16":28708643738222592,"45":883549982004871168},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 08:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499746560001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:30:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 08:30:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28708643738222592,"km_value":28708643738222.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":883549982004871168,"description":"Unknown IO ID 45"} 
[2026-08-19 08:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499746560001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":883549982004871168}} 
[2026-08-19 08:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":158668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663504,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:30:51] local.INFO: GPS data processed {"connection_id":158668,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:30:51] local.INFO: Acknowledgment sent {"connection_id":158668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:30:57] local.INFO: TCP Data received {"connection_id":158669,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f6c378012d7b648005e792b80007016528..."} 
[2026-08-19 08:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f6c378012d7b648005e792b80007016528..."} 
[2026-08-19 08:30:57] local.INFO: Processing buffer {"connection_id":158669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f6c378012d7b648005e792b80007016528..."} 
[2026-08-19 08:30:57] local.INFO: Packet analysis {"connection_id":158669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f6"} 
[2026-08-19 08:30:57] local.INFO: Extracted packet for processing {"connection_id":158669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f6"} 
[2026-08-19 08:30:57] local.INFO: GPS Element Parsed {"raw_longitude":763061376,"raw_latitude":99062456,"longitude_deg":76.3061376,"latitude_deg":9.9062456,"altitude":7,"angle":357,"satellites":40,"speed":3,"hex_longitude":"2d7b6480","hex_latitude":"05e792b8","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499761408001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120646035071565824,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891372327184545792,"note":"Value kept but may cause issues"} 
[2026-08-19 08:30:57] 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-08-19 08:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787108443000,"timestamp_ms":1787108443000,"timestamp_seconds":1787108443,"priority":1,"record_length":96,"hex_timestamp":"000001a017f6c378"} 
[2026-08-19 08:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:30: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-08-19 08: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-19 08:30:57] 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-08-19 08: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-08-19 08:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":158669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":158669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":158669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:30:57] 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-08-19 08:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499761408001,"66":13493,"96":206,"87":13824,"24":3,"16":120646035071565824,"45":8891372327184545792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-19 08:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499761408001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:30:57] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 08:30:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120646035071565824,"km_value":120646035071565.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891372327184545792,"description":"Unknown IO ID 45"} 
[2026-08-19 08:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499761408001,"power":13493,"unknown_96":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8891372327184545792}} 
[2026-08-19 08:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":158669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:30:57] local.INFO: GPS data processed {"connection_id":158669,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:30:57] local.INFO: Acknowledgment sent {"connection_id":158669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:31:00] local.INFO: TCP Data received {"connection_id":157779,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:31:00] local.INFO: Processing buffer {"connection_id":157779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:31:00] local.INFO: IMEI packet received {"connection_id":157779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":157779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:31:05] local.INFO: TCP Data received {"connection_id":157779,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:31:05] local.INFO: Processing buffer {"connection_id":157779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:31:05] local.INFO: IMEI packet received {"connection_id":157779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":157779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:31:06] local.INFO: TCP Data received {"connection_id":157779,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:31:06] local.INFO: Processing buffer {"connection_id":157779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:31:06] local.INFO: Packet analysis {"connection_id":157779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:31:06] local.INFO: Extracted packet for processing {"connection_id":157779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499653888001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787108324000,"timestamp_ms":1787108324000,"timestamp_seconds":1787108324,"priority":1,"record_length":96,"hex_timestamp":"000001a017f4f2a0"} 
[2026-08-19 08:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:31:06] 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-08-19 08:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499653888001,"66":25604,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 08:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499653888001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:31:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:31:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499653888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":157779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:31:06] local.INFO: GPS data processed {"connection_id":157779,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:31:06] local.INFO: Acknowledgment sent {"connection_id":157779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:31:14] local.INFO: TCP Data received {"connection_id":157780,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157780,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:31:14] local.INFO: Processing buffer {"connection_id":157780,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:31:14] local.INFO: IMEI packet received {"connection_id":157780,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":157780,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:31:19] local.INFO: TCP Data received {"connection_id":157780,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157780,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:31:19] local.INFO: Processing buffer {"connection_id":157780,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:31:19] local.INFO: IMEI packet received {"connection_id":157780,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":157780,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:31:20] local.INFO: TCP Data received {"connection_id":157780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f6f258012d0c6c000702b378001600510b..."} 
[2026-08-19 08:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f6f258012d0c6c000702b378001600510b..."} 
[2026-08-19 08:31:20] local.INFO: Processing buffer {"connection_id":157780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f6f258012d0c6c000702b378001600510b..."} 
[2026-08-19 08:31:20] local.INFO: Packet analysis {"connection_id":157780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f6"} 
[2026-08-19 08:31:20] local.INFO: Extracted packet for processing {"connection_id":157780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f6"} 
[2026-08-19 08:31:20] local.INFO: GPS Element Parsed {"raw_longitude":755788800,"raw_latitude":117617528,"longitude_deg":75.57888,"latitude_deg":11.7617528,"altitude":22,"angle":81,"satellites":11,"speed":6,"hex_longitude":"2d0c6c00","hex_latitude":"0702b378","is_valid_coordinates":true} 
[2026-08-19 08:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499763712001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28709163429265408,"note":"Value kept but may cause issues"} 
[2026-08-19 08:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894597874840713216,"note":"Value kept but may cause issues"} 
[2026-08-19 08:31: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-08-19 08:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787108455000,"timestamp_ms":1787108455000,"timestamp_seconds":1787108455,"priority":1,"record_length":96,"hex_timestamp":"000001a017f6f258"} 
[2026-08-19 08:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 08:31: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-08-19 08:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157780,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157780,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499763712001,"66":14461,"37":206,"94":11008,"24":6,"16":28709163429265408,"45":894597874840713216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 08:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499763712001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:31:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 08:31:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28709163429265408,"km_value":28709163429265.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":894597874840713216,"description":"Unknown IO ID 45"} 
[2026-08-19 08:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499763712001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":894597874840713216}} 
[2026-08-19 08:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":157780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663507,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:31:20] local.INFO: GPS data processed {"connection_id":157780,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:31:20] local.INFO: Acknowledgment sent {"connection_id":157780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:31:20] local.INFO: TCP Data received {"connection_id":158670,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:31:20] local.INFO: Processing buffer {"connection_id":158670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:31:20] local.INFO: IMEI packet received {"connection_id":158670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":158670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:31:25] local.INFO: TCP Data received {"connection_id":158670,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:31:25] local.INFO: Processing buffer {"connection_id":158670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:31:25] local.INFO: IMEI packet received {"connection_id":158670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":158670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:31:26] local.INFO: TCP Data received {"connection_id":158670,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f6cb48012d7b644005e794480007015a28..."} 
[2026-08-19 08:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f6cb48012d7b644005e794480007015a28..."} 
[2026-08-19 08:31:26] local.INFO: Processing buffer {"connection_id":158670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f6cb48012d7b644005e794480007015a28..."} 
[2026-08-19 08:31:26] local.INFO: Packet analysis {"connection_id":158670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f6"} 
[2026-08-19 08:31:26] local.INFO: Extracted packet for processing {"connection_id":158670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f6"} 
[2026-08-19 08:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763061312,"raw_latitude":99062856,"longitude_deg":76.3061312,"latitude_deg":9.9062856,"altitude":7,"angle":346,"satellites":40,"speed":9,"hex_longitude":"2d7b6440","hex_latitude":"05e79448","is_valid_coordinates":true} 
[2026-08-19 08:31: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-08-19 08:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499761408001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120646056546402304,"note":"Value kept but may cause issues"} 
[2026-08-19 08:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891372327184545792,"note":"Value kept but may cause issues"} 
[2026-08-19 08:31:26] 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-08-19 08:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787108445000,"timestamp_ms":1787108445000,"timestamp_seconds":1787108445,"priority":1,"record_length":96,"hex_timestamp":"000001a017f6cb48"} 
[2026-08-19 08:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:31:26] 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-08-19 08:31: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":181,"data_length":795,"current_offset":136} 
[2026-08-19 08:31:26] 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-08-19 08:31: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-08-19 08:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:31:26] 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-08-19 08:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499761408001,"66":13406,"96":206,"87":13824,"24":9,"16":120646056546402304,"45":8891372327184545792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-19 08:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499761408001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:31:26] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 08:31:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120646056546402304,"km_value":120646056546402.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891372327184545792,"description":"Unknown IO ID 45"} 
[2026-08-19 08:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499761408001,"power":13406,"unknown_96":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8891372327184545792}} 
[2026-08-19 08:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":158670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:31:26] local.INFO: GPS data processed {"connection_id":158670,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:31:26] local.INFO: Acknowledgment sent {"connection_id":158670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:31:38] local.INFO: TCP Data received {"connection_id":157779,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:31:38] local.INFO: Processing buffer {"connection_id":157779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:31:38] local.INFO: Packet analysis {"connection_id":157779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:31:38] local.INFO: Extracted packet for processing {"connection_id":157779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499653888001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787108324000,"timestamp_ms":1787108324000,"timestamp_seconds":1787108324,"priority":1,"record_length":96,"hex_timestamp":"000001a017f4f2a0"} 
[2026-08-19 08:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499653888001,"66":25604,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 08:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499653888001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499653888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":157779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:31:38] local.INFO: GPS data processed {"connection_id":157779,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:31:38] local.INFO: Acknowledgment sent {"connection_id":157779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:31:51] local.INFO: TCP Data received {"connection_id":157780,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f705e0012d0c6dc00702b378001600540b..."} 
[2026-08-19 08:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f705e0012d0c6dc00702b378001600540b..."} 
[2026-08-19 08:31:51] local.INFO: Processing buffer {"connection_id":157780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f705e0012d0c6dc00702b378001600540b..."} 
[2026-08-19 08:31:51] local.INFO: Packet analysis {"connection_id":157780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f7"} 
[2026-08-19 08:31:51] local.INFO: Extracted packet for processing {"connection_id":157780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f7"} 
[2026-08-19 08:31:51] local.INFO: GPS Element Parsed {"raw_longitude":755789248,"raw_latitude":117617528,"longitude_deg":75.5789248,"latitude_deg":11.7617528,"altitude":22,"angle":84,"satellites":11,"speed":2,"hex_longitude":"2d0c6dc0","hex_latitude":"0702b378","is_valid_coordinates":true} 
[2026-08-19 08:31: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-08-19 08:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499764480001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28709184904101888,"note":"Value kept but may cause issues"} 
[2026-08-19 08:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895090456049973248,"note":"Value kept but may cause issues"} 
[2026-08-19 08:31: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-08-19 08:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787108460000,"timestamp_ms":1787108460000,"timestamp_seconds":1787108460,"priority":1,"record_length":96,"hex_timestamp":"000001a017f705e0"} 
[2026-08-19 08:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 08:31: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-08-19 08: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-08-19 08:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157780,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157780,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499764480001,"66":14428,"37":206,"94":11008,"24":2,"16":28709184904101888,"45":895090456049973248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 08:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499764480001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:31:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 08:31:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28709184904101888,"km_value":28709184904101.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":895090456049973248,"description":"Unknown IO ID 45"} 
[2026-08-19 08:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499764480001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":895090456049973248}} 
[2026-08-19 08:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":157780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663510,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:31:51] local.INFO: GPS data processed {"connection_id":157780,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:31:51] local.INFO: Acknowledgment sent {"connection_id":157780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:31:58] local.INFO: TCP Data received {"connection_id":158670,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f6ee70012d7b61c005e7a3800008016526..."} 
[2026-08-19 08:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f6ee70012d7b61c005e7a3800008016526..."} 
[2026-08-19 08:31:58] local.INFO: Processing buffer {"connection_id":158670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f6ee70012d7b61c005e7a3800008016526..."} 
[2026-08-19 08:31:58] local.INFO: Packet analysis {"connection_id":158670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f6"} 
[2026-08-19 08:31:58] local.INFO: Extracted packet for processing {"connection_id":158670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f6"} 
[2026-08-19 08:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763060672,"raw_latitude":99066752,"longitude_deg":76.3060672,"latitude_deg":9.9066752,"altitude":8,"angle":357,"satellites":38,"speed":18,"hex_longitude":"2d7b61c0","hex_latitude":"05e7a380","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499761920001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120646249819930624,"note":"Value kept but may cause issues"} 
[2026-08-19 08:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891301958440470528,"note":"Value kept but may cause issues"} 
[2026-08-19 08:31:58] 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-08-19 08:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787108454000,"timestamp_ms":1787108454000,"timestamp_seconds":1787108454,"priority":1,"record_length":96,"hex_timestamp":"000001a017f6ee70"} 
[2026-08-19 08:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:31: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-08-19 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-19 08:31: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-08-19 08: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-08-19 08:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":158670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":158670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":158670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:31:58] 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-08-19 08:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499761920001,"66":13319,"96":206,"87":13824,"24":18,"16":120646249819930624,"45":8891301958440470528},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-19 08:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499761920001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:31:58] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 08:31:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120646249819930624,"km_value":120646249819930.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891301958440470528,"description":"Unknown IO ID 45"} 
[2026-08-19 08:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499761920001,"power":13319,"unknown_96":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8891301958440470528}} 
[2026-08-19 08:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":158670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:31:58] local.INFO: GPS data processed {"connection_id":158670,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:31:58] local.INFO: Acknowledgment sent {"connection_id":158670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:32:00] local.INFO: TCP Data received {"connection_id":157781,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:32:00] local.INFO: Processing buffer {"connection_id":157781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:32:00] local.INFO: IMEI packet received {"connection_id":157781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":157781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:32:05] local.INFO: TCP Data received {"connection_id":157781,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:32:05] local.INFO: Processing buffer {"connection_id":157781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:32:05] local.INFO: IMEI packet received {"connection_id":157781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":157781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:32:06] local.INFO: TCP Data received {"connection_id":157781,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:32:06] local.INFO: Processing buffer {"connection_id":157781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:32:06] local.INFO: Packet analysis {"connection_id":157781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:32:06] local.INFO: Extracted packet for processing {"connection_id":157781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:32:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499653888001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787108324000,"timestamp_ms":1787108324000,"timestamp_seconds":1787108324,"priority":1,"record_length":96,"hex_timestamp":"000001a017f4f2a0"} 
[2026-08-19 08:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499653888001,"66":25604,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499653888001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:32:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:32:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499653888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":157781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:32:06] local.INFO: GPS data processed {"connection_id":157781,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:32:06] local.INFO: Acknowledgment sent {"connection_id":157781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:32:14] local.INFO: TCP Data received {"connection_id":157782,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157782,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:32:14] local.INFO: Processing buffer {"connection_id":157782,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:32:14] local.INFO: IMEI packet received {"connection_id":157782,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":157782,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:32:19] local.INFO: TCP Data received {"connection_id":157782,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157782,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:32:19] local.INFO: Processing buffer {"connection_id":157782,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:32:19] local.INFO: IMEI packet received {"connection_id":157782,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":157782,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:32:20] local.INFO: TCP Data received {"connection_id":157782,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f705e0012d0c6dc00702b378001600540b..."} 
[2026-08-19 08:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f705e0012d0c6dc00702b378001600540b..."} 
[2026-08-19 08:32:20] local.INFO: Processing buffer {"connection_id":157782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f705e0012d0c6dc00702b378001600540b..."} 
[2026-08-19 08:32:20] local.INFO: Packet analysis {"connection_id":157782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f7"} 
[2026-08-19 08:32:20] local.INFO: Extracted packet for processing {"connection_id":157782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f7"} 
[2026-08-19 08:32:20] local.INFO: GPS Element Parsed {"raw_longitude":755789248,"raw_latitude":117617528,"longitude_deg":75.5789248,"latitude_deg":11.7617528,"altitude":22,"angle":84,"satellites":11,"speed":2,"hex_longitude":"2d0c6dc0","hex_latitude":"0702b378","is_valid_coordinates":true} 
[2026-08-19 08:32:20] 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-08-19 08:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499765760001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28709184904101888,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895583037259216896,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32: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-08-19 08:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787108460000,"timestamp_ms":1787108460000,"timestamp_seconds":1787108460,"priority":1,"record_length":96,"hex_timestamp":"000001a017f705e0"} 
[2026-08-19 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-08-19 08:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 08:32: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-08-19 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-08-19 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-08-19 08:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157782,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157782,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499765760001,"66":14428,"37":206,"94":11008,"24":2,"16":28709184904101888,"45":895583037259216896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 08:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499765760001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:32:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 08:32:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28709184904101888,"km_value":28709184904101.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":895583037259216896,"description":"Unknown IO ID 45"} 
[2026-08-19 08:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499765760001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":895583037259216896}} 
[2026-08-19 08:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":157782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663513,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:32:20] local.INFO: GPS data processed {"connection_id":157782,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:32:20] local.INFO: Acknowledgment sent {"connection_id":157782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:32:20] local.INFO: TCP Data received {"connection_id":159952,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:32:20] local.INFO: Processing buffer {"connection_id":159952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:32:20] local.INFO: IMEI packet received {"connection_id":159952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":159952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:32:26] local.INFO: TCP Data received {"connection_id":159952,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:32:26] local.INFO: Processing buffer {"connection_id":159952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:32:26] local.INFO: IMEI packet received {"connection_id":159952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":159952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:32:35] local.INFO: TCP Data received {"connection_id":159952,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f74078012d7b5ec005e7bfc00006015d26..."} 
[2026-08-19 08:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f74078012d7b5ec005e7bfc00006015d26..."} 
[2026-08-19 08:32:35] local.INFO: Processing buffer {"connection_id":159952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f74078012d7b5ec005e7bfc00006015d26..."} 
[2026-08-19 08:32:35] local.INFO: Packet analysis {"connection_id":159952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f7"} 
[2026-08-19 08:32:35] local.INFO: Extracted packet for processing {"connection_id":159952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f7"} 
[2026-08-19 08:32:35] local.INFO: GPS Element Parsed {"raw_longitude":763059904,"raw_latitude":99073984,"longitude_deg":76.3059904,"latitude_deg":9.9073984,"altitude":6,"angle":349,"satellites":38,"speed":11,"hex_longitude":"2d7b5ec0","hex_latitude":"05e7bfc0","is_valid_coordinates":true} 
[2026-08-19 08:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499764224001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120646602007248896,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890598270999691264,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32: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-08-19 08:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787108475000,"timestamp_ms":1787108475000,"timestamp_seconds":1787108475,"priority":1,"record_length":96,"hex_timestamp":"000001a017f74078"} 
[2026-08-19 08:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 08:32:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:35] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":18433,"corrected_to":0} 
[2026-08-19 08:32:35] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3992977408,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:35] local.WARNING: Large IO value detected {"io_id":23,"raw_value":4134629377,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:35] local.WARNING: Large IO value detected {"io_id":231,"raw_value":4951707811768771840,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-08-19 08:32:35] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070413,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:35] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2659647488,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3881132032,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:35] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57787444951406390,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:35] local.WARNING: Large IO value detected {"io_id":245,"raw_value":-1677589566339104763,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:35] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,96,87,24,241,157,16,159,160,203,45,64,148,7,40,10,66,158,195,128,146,1,240,181,227,23,231,4,113,205,26,82,110,176,36,239,51,2,172,5,6,116,245],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":203,"original":18433,"validated":0},{"io_id":205,"original":1298137294,"validated":0}]} 
[2026-08-19 08:32:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576853441164476416,"timestamp_seconds":576853441164476.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 08:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:32:35] 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-08-19 08:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499764224001,"66":13559,"96":206,"87":13824,"24":11,"16":120646602007248896,"45":8890598270999691264},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-19 08:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499764224001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:32:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 08:32:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120646602007248896,"km_value":120646602007248.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890598270999691264,"description":"Unknown IO ID 45"} 
[2026-08-19 08:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499764224001,"power":13559,"unknown_96":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8890598270999691264}} 
[2026-08-19 08:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":159952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:32:35] local.INFO: GPS data processed {"connection_id":159952,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:32:35] local.INFO: Acknowledgment sent {"connection_id":159952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:32:38] local.INFO: TCP Data received {"connection_id":157781,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:32:38] local.INFO: Processing buffer {"connection_id":157781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:32:38] local.INFO: Packet analysis {"connection_id":157781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:32:38] local.INFO: Extracted packet for processing {"connection_id":157781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499653888001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787108324000,"timestamp_ms":1787108324000,"timestamp_seconds":1787108324,"priority":1,"record_length":96,"hex_timestamp":"000001a017f4f2a0"} 
[2026-08-19 08:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:32:38] 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-08-19 08:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499653888001,"66":25604,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499653888001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499653888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":157781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:32:38] local.INFO: GPS data processed {"connection_id":157781,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:32:38] local.INFO: Acknowledgment sent {"connection_id":157781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:32:51] local.INFO: TCP Data received {"connection_id":157782,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f705e0012d0c6dc00702b378001600540b..."} 
[2026-08-19 08:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f705e0012d0c6dc00702b378001600540b..."} 
[2026-08-19 08:32:51] local.INFO: Processing buffer {"connection_id":157782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f705e0012d0c6dc00702b378001600540b..."} 
[2026-08-19 08:32:51] local.INFO: Packet analysis {"connection_id":157782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f7"} 
[2026-08-19 08:32:51] local.INFO: Extracted packet for processing {"connection_id":157782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f7"} 
[2026-08-19 08:32:51] local.INFO: GPS Element Parsed {"raw_longitude":755789248,"raw_latitude":117617528,"longitude_deg":75.5789248,"latitude_deg":11.7617528,"altitude":22,"angle":84,"satellites":11,"speed":2,"hex_longitude":"2d0c6dc0","hex_latitude":"0702b378","is_valid_coordinates":true} 
[2026-08-19 08:32:51] 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-08-19 08:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499765760001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28709184904101888,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895583037259216896,"note":"Value kept but may cause issues"} 
[2026-08-19 08:32: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-08-19 08:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787108460000,"timestamp_ms":1787108460000,"timestamp_seconds":1787108460,"priority":1,"record_length":96,"hex_timestamp":"000001a017f705e0"} 
[2026-08-19 08:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 08:32: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-08-19 08:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157782,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157782,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499765760001,"66":14428,"37":206,"94":11008,"24":2,"16":28709184904101888,"45":895583037259216896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 08:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499765760001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:32:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 08:32:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28709184904101888,"km_value":28709184904101.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":895583037259216896,"description":"Unknown IO ID 45"} 
[2026-08-19 08:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499765760001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":895583037259216896}} 
[2026-08-19 08:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":157782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663516,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:32:51] local.INFO: GPS data processed {"connection_id":157782,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:32:51] local.INFO: Acknowledgment sent {"connection_id":157782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:33:05] local.INFO: TCP Data received {"connection_id":157783,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:33:05] local.INFO: Processing buffer {"connection_id":157783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:33:05] local.INFO: IMEI packet received {"connection_id":157783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":157783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:33:10] local.INFO: TCP Data received {"connection_id":157783,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:33:10] local.INFO: Processing buffer {"connection_id":157783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:33:10] local.INFO: IMEI packet received {"connection_id":157783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":157783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:33:11] local.INFO: TCP Data received {"connection_id":157783,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:33:11] local.INFO: Processing buffer {"connection_id":157783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:33:11] local.INFO: Packet analysis {"connection_id":157783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:33:11] local.INFO: Extracted packet for processing {"connection_id":157783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499653888001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787108324000,"timestamp_ms":1787108324000,"timestamp_seconds":1787108324,"priority":1,"record_length":96,"hex_timestamp":"000001a017f4f2a0"} 
[2026-08-19 08:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499653888001,"66":25604,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499653888001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:33:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:33:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499653888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":157783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:33:11] local.INFO: GPS data processed {"connection_id":157783,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:33:11] local.INFO: Acknowledgment sent {"connection_id":157783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:33:14] local.INFO: TCP Data received {"connection_id":158671,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158671,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:33:14] local.INFO: Processing buffer {"connection_id":158671,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:33:14] local.INFO: IMEI packet received {"connection_id":158671,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":158671,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:33:19] local.INFO: TCP Data received {"connection_id":157783,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:33:19] local.INFO: Processing buffer {"connection_id":157783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:33:19] local.INFO: Packet analysis {"connection_id":157783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:33:19] local.INFO: Extracted packet for processing {"connection_id":157783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:33:19] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499653888001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08: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-08-19 08:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787108324000,"timestamp_ms":1787108324000,"timestamp_seconds":1787108324,"priority":1,"record_length":96,"hex_timestamp":"000001a017f4f2a0"} 
[2026-08-19 08:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:33: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-08-19 08: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":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:33: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-08-19 08: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-08-19 08:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499653888001,"66":25604,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499653888001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:33:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:33:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499653888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":157783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:33:19] local.INFO: GPS data processed {"connection_id":157783,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:33:19] local.INFO: Acknowledgment sent {"connection_id":157783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:33:19] local.INFO: TCP Data received {"connection_id":158671,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158671,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:33:19] local.INFO: Processing buffer {"connection_id":158671,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:33:19] local.INFO: IMEI packet received {"connection_id":158671,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":158671,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:33:20] local.INFO: TCP Data received {"connection_id":158671,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f705e0012d0c6dc00702b378001600540b..."} 
[2026-08-19 08:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f705e0012d0c6dc00702b378001600540b..."} 
[2026-08-19 08:33:20] local.INFO: Processing buffer {"connection_id":158671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f705e0012d0c6dc00702b378001600540b..."} 
[2026-08-19 08:33:20] local.INFO: Packet analysis {"connection_id":158671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f7"} 
[2026-08-19 08:33:20] local.INFO: Extracted packet for processing {"connection_id":158671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f7"} 
[2026-08-19 08:33:20] local.INFO: GPS Element Parsed {"raw_longitude":755789248,"raw_latitude":117617528,"longitude_deg":75.5789248,"latitude_deg":11.7617528,"altitude":22,"angle":84,"satellites":11,"speed":2,"hex_longitude":"2d0c6dc0","hex_latitude":"0702b378","is_valid_coordinates":true} 
[2026-08-19 08:33:20] 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-08-19 08:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499765760001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28709184904101888,"note":"Value kept but may cause issues"} 
[2026-08-19 08:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895583037259216896,"note":"Value kept but may cause issues"} 
[2026-08-19 08:33: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-08-19 08:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787108460000,"timestamp_ms":1787108460000,"timestamp_seconds":1787108460,"priority":1,"record_length":96,"hex_timestamp":"000001a017f705e0"} 
[2026-08-19 08:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 08:33: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-08-19 08:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499765760001,"66":14428,"37":206,"94":11008,"24":2,"16":28709184904101888,"45":895583037259216896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 08:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499765760001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:33:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 08:33:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28709184904101888,"km_value":28709184904101.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":895583037259216896,"description":"Unknown IO ID 45"} 
[2026-08-19 08:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499765760001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":895583037259216896}} 
[2026-08-19 08:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":158671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663519,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:33:20] local.INFO: GPS data processed {"connection_id":158671,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:33:20] local.INFO: Acknowledgment sent {"connection_id":158671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:33:20] local.INFO: TCP Data received {"connection_id":157400,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:33:20] local.INFO: Processing buffer {"connection_id":157400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:33:20] local.INFO: IMEI packet received {"connection_id":157400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":157400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:33:25] local.INFO: TCP Data received {"connection_id":157400,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:33:25] local.INFO: Processing buffer {"connection_id":157400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:33:25] local.INFO: IMEI packet received {"connection_id":157400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":157400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:33:26] local.INFO: TCP Data received {"connection_id":157400,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f8d6b8012d7b4c4005e909a00000015f24..."} 
[2026-08-19 08:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f8d6b8012d7b4c4005e909a00000015f24..."} 
[2026-08-19 08:33:26] local.INFO: Processing buffer {"connection_id":157400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f8d6b8012d7b4c4005e909a00000015f24..."} 
[2026-08-19 08:33:26] local.INFO: Packet analysis {"connection_id":157400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f8"} 
[2026-08-19 08:33:26] local.INFO: Extracted packet for processing {"connection_id":157400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f8"} 
[2026-08-19 08:33:26] local.INFO: GPS Element Parsed {"raw_longitude":763055168,"raw_latitude":99158432,"longitude_deg":76.3055168,"latitude_deg":9.9158432,"altitude":0,"angle":351,"satellites":36,"speed":43,"hex_longitude":"2d7b4c40","hex_latitude":"05e909a0","is_valid_coordinates":true} 
[2026-08-19 08:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499793920001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120650725175853056,"note":"Value kept but may cause issues"} 
[2026-08-19 08:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885813196416702464,"note":"Value kept but may cause issues"} 
[2026-08-19 08:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787108579000,"timestamp_ms":1787108579000,"timestamp_seconds":1787108579,"priority":1,"record_length":96,"hex_timestamp":"000001a017f8d6b8"} 
[2026-08-19 08:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:33:26] 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-08-19 08:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-19 08:33:26] 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-08-19 08:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:33:26] 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-08-19 08:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499793920001,"66":13559,"201":206,"87":13824,"24":43,"16":120650725175853056,"45":8885813196416702464},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-19 08:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499793920001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:33:26] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-19 08:33:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120650725175853056,"km_value":120650725175853.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885813196416702464,"description":"Unknown IO ID 45"} 
[2026-08-19 08:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499793920001,"power":13559,"unknown_201":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8885813196416702464}} 
[2026-08-19 08:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":157400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:33:26] local.INFO: GPS data processed {"connection_id":157400,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:33:26] local.INFO: Acknowledgment sent {"connection_id":157400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:33:51] local.INFO: TCP Data received {"connection_id":158671,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f705e0012d0c6dc00702b378001600540b..."} 
[2026-08-19 08:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f705e0012d0c6dc00702b378001600540b..."} 
[2026-08-19 08:33:51] local.INFO: Processing buffer {"connection_id":158671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f705e0012d0c6dc00702b378001600540b..."} 
[2026-08-19 08:33:51] local.INFO: Packet analysis {"connection_id":158671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f7"} 
[2026-08-19 08:33:51] local.INFO: Extracted packet for processing {"connection_id":158671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f7"} 
[2026-08-19 08:33:51] local.INFO: GPS Element Parsed {"raw_longitude":755789248,"raw_latitude":117617528,"longitude_deg":75.5789248,"latitude_deg":11.7617528,"altitude":22,"angle":84,"satellites":11,"speed":2,"hex_longitude":"2d0c6dc0","hex_latitude":"0702b378","is_valid_coordinates":true} 
[2026-08-19 08:33:51] 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-08-19 08:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499765760001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28709184904101888,"note":"Value kept but may cause issues"} 
[2026-08-19 08:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895583037259216896,"note":"Value kept but may cause issues"} 
[2026-08-19 08:33: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-08-19 08:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787108460000,"timestamp_ms":1787108460000,"timestamp_seconds":1787108460,"priority":1,"record_length":96,"hex_timestamp":"000001a017f705e0"} 
[2026-08-19 08:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 08:33: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-08-19 08:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":158671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":158671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":158671,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499765760001,"66":14428,"37":206,"94":11008,"24":2,"16":28709184904101888,"45":895583037259216896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 08:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499765760001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:33:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 08:33:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28709184904101888,"km_value":28709184904101.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":895583037259216896,"description":"Unknown IO ID 45"} 
[2026-08-19 08:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499765760001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":895583037259216896}} 
[2026-08-19 08:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":158671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663521,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:33:51] local.INFO: GPS data processed {"connection_id":158671,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:33:51] local.INFO: Acknowledgment sent {"connection_id":158671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:33:58] local.INFO: TCP Data received {"connection_id":157400,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f8fdc8012d7b490005e92d180000016723..."} 
[2026-08-19 08:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f8fdc8012d7b490005e92d180000016723..."} 
[2026-08-19 08:33:58] local.INFO: Processing buffer {"connection_id":157400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f8fdc8012d7b490005e92d180000016723..."} 
[2026-08-19 08:33:58] local.INFO: Packet analysis {"connection_id":157400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f8"} 
[2026-08-19 08:33:58] local.INFO: Extracted packet for processing {"connection_id":157400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f8"} 
[2026-08-19 08:33:58] local.INFO: GPS Element Parsed {"raw_longitude":763054336,"raw_latitude":99167512,"longitude_deg":76.3054336,"latitude_deg":9.9167512,"altitude":0,"angle":359,"satellites":35,"speed":16,"hex_longitude":"2d7b4900","hex_latitude":"05e92d18","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499796224001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120651167557484544,"note":"Value kept but may cause issues"} 
[2026-08-19 08:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884546559023882240,"note":"Value kept but may cause issues"} 
[2026-08-19 08:33: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-08-19 08:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787108589000,"timestamp_ms":1787108589000,"timestamp_seconds":1787108589,"priority":1,"record_length":96,"hex_timestamp":"000001a017f8fdc8"} 
[2026-08-19 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-08-19 08:33:58] 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-08-19 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-19 08:33:58] 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-08-19 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-08-19 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-08-19 08:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:33:58] 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-08-19 08:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499796224001,"66":12917,"201":206,"87":13824,"24":16,"16":120651167557484544,"45":8884546559023882240},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-19 08:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499796224001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:33:58] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-19 08:33:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120651167557484544,"km_value":120651167557484.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884546559023882240,"description":"Unknown IO ID 45"} 
[2026-08-19 08:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499796224001,"power":12917,"unknown_201":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8884546559023882240}} 
[2026-08-19 08:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":157400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:33:58] local.INFO: GPS data processed {"connection_id":157400,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:33:58] local.INFO: Acknowledgment sent {"connection_id":157400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:34:00] local.INFO: TCP Data received {"connection_id":157784,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:34:00] local.INFO: Processing buffer {"connection_id":157784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:34:00] local.INFO: IMEI packet received {"connection_id":157784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":157784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:34:05] local.INFO: TCP Data received {"connection_id":157784,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:34:05] local.INFO: Processing buffer {"connection_id":157784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:34:05] local.INFO: IMEI packet received {"connection_id":157784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":157784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:34:07] local.INFO: TCP Data received {"connection_id":157784,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:34:07] local.INFO: Processing buffer {"connection_id":157784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f4f2a0012d34c50006aa40780006005926..."} 
[2026-08-19 08:34:07] local.INFO: Packet analysis {"connection_id":157784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:34:07] local.INFO: Extracted packet for processing {"connection_id":157784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f4"} 
[2026-08-19 08:34:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":6,"angle":89,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499653888001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787108324000,"timestamp_ms":1787108324000,"timestamp_seconds":1787108324,"priority":1,"record_length":96,"hex_timestamp":"000001a017f4f2a0"} 
[2026-08-19 08:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:34: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-08-19 08:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:34:07] 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-08-19 08:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499653888001,"66":25604,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499653888001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:34:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:34:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499653888001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":157784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:34:07] local.INFO: GPS data processed {"connection_id":157784,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:34:07] local.INFO: Acknowledgment sent {"connection_id":157784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:34:19] local.INFO: TCP Data received {"connection_id":157785,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157785,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:34:19] local.INFO: Processing buffer {"connection_id":157785,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:34:19] local.INFO: IMEI packet received {"connection_id":157785,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":157785,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:34:20] local.INFO: TCP Data received {"connection_id":157785,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157785,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:34:20] local.INFO: Processing buffer {"connection_id":157785,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:34:20] local.INFO: IMEI packet received {"connection_id":157785,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":157785,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:34:22] local.INFO: TCP Data received {"connection_id":157785,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157785,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:34:22] local.INFO: Processing buffer {"connection_id":157785,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:34:22] local.INFO: IMEI packet received {"connection_id":157785,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":157785,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:34:23] local.INFO: TCP Data received {"connection_id":157785,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f9ad90012d0c6dc00702b3b8001600541e..."} 
[2026-08-19 08:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f9ad90012d0c6dc00702b3b8001600541e..."} 
[2026-08-19 08:34:23] local.INFO: Processing buffer {"connection_id":157785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f9ad90012d0c6dc00702b3b8001600541e..."} 
[2026-08-19 08:34:23] local.INFO: Packet analysis {"connection_id":157785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:34:23] local.INFO: Extracted packet for processing {"connection_id":157785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:34:23] local.INFO: GPS Element Parsed {"raw_longitude":755789248,"raw_latitude":117617592,"longitude_deg":75.5789248,"latitude_deg":11.7617592,"altitude":22,"angle":84,"satellites":30,"speed":0,"hex_longitude":"2d0c6dc0","hex_latitude":"0702b3b8","is_valid_coordinates":true} 
[2026-08-19 08:34: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-08-19 08:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499765760001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28709184904101888,"note":"Value kept but may cause issues"} 
[2026-08-19 08:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895583037259216896,"note":"Value kept but may cause issues"} 
[2026-08-19 08:34:23] 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-08-19 08:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787108634000,"timestamp_ms":1787108634000,"timestamp_seconds":1787108634,"priority":1,"record_length":96,"hex_timestamp":"000001a017f9ad90"} 
[2026-08-19 08:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08: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-08-19 08: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-08-19 08:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":157785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":157785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":157785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499765760001,"66":13004,"249":206,"94":11008,"24":0,"16":28709184904101888,"45":895583037259216896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,94,24,16,45]} 
[2026-08-19 08:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499765760001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:34:23] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-19 08:34:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28709184904101888,"km_value":28709184904101.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":895583037259216896,"description":"Unknown IO ID 45"} 
[2026-08-19 08:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499765760001,"power":13004,"unknown_249":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":895583037259216896}} 
[2026-08-19 08:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":157785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663524,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:34:23] local.INFO: GPS data processed {"connection_id":157785,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:34:23] local.INFO: Acknowledgment sent {"connection_id":157785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:34:24] local.INFO: TCP Data received {"connection_id":157785,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017f9ad90012d0c6dc00702b3b8001600541e..."} 
[2026-08-19 08:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f9ad90012d0c6dc00702b3b8001600541e..."} 
[2026-08-19 08:34:24] local.INFO: Processing buffer {"connection_id":157785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f9ad90012d0c6dc00702b3b8001600541e..."} 
[2026-08-19 08:34:24] local.INFO: Packet analysis {"connection_id":157785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:34:24] local.INFO: Extracted packet for processing {"connection_id":157785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:34:24] local.INFO: GPS Element Parsed {"raw_longitude":755789248,"raw_latitude":117617592,"longitude_deg":75.5789248,"latitude_deg":11.7617592,"altitude":22,"angle":84,"satellites":30,"speed":0,"hex_longitude":"2d0c6dc0","hex_latitude":"0702b3b8","is_valid_coordinates":true} 
[2026-08-19 08:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499810304001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28709184904101888,"note":"Value kept but may cause issues"} 
[2026-08-19 08:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895583037259233280,"note":"Value kept but may cause issues"} 
[2026-08-19 08:34:24] 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-08-19 08:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787108634000,"timestamp_ms":1787108634000,"timestamp_seconds":1787108634,"priority":1,"record_length":96,"hex_timestamp":"000001a017f9ad90"} 
[2026-08-19 08:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:34:24] 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-08-19 08:34: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":204,"data_length":795,"current_offset":136} 
[2026-08-19 08:34:24] 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-08-19 08:34: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-08-19 08:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":157785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":157785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":157785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499810304001,"66":13004,"249":206,"94":11008,"24":0,"16":28709184904101888,"45":895583037259233280},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,94,24,16,45]} 
[2026-08-19 08:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499810304001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:34:24] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-19 08:34:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28709184904101888,"km_value":28709184904101.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":895583037259233280,"description":"Unknown IO ID 45"} 
[2026-08-19 08:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499810304001,"power":13004,"unknown_249":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":895583037259233280}} 
[2026-08-19 08:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":157785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663525,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:34:25] local.INFO: GPS data processed {"connection_id":157785,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:34:25] local.INFO: Acknowledgment sent {"connection_id":157785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:34:30] local.INFO: TCP Data received {"connection_id":157401,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:34:30] local.INFO: Processing buffer {"connection_id":157401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:34:30] local.INFO: IMEI packet received {"connection_id":157401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":157401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:34:30] local.INFO: TCP Data received {"connection_id":157401,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:34:30] local.INFO: Processing buffer {"connection_id":157401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:34:30] local.INFO: IMEI packet received {"connection_id":157401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":157401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:34:36] local.INFO: TCP Data received {"connection_id":157401,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:34:36] local.INFO: Processing buffer {"connection_id":157401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:34:36] local.INFO: IMEI packet received {"connection_id":157401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":157401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:34:37] local.INFO: TCP Data received {"connection_id":157401,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017f90598012d7b49c005e92f080000001022..."} 
[2026-08-19 08:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f90598012d7b49c005e92f080000001022..."} 
[2026-08-19 08:34:37] local.INFO: Processing buffer {"connection_id":157401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f90598012d7b49c005e92f080000001022..."} 
[2026-08-19 08:34:37] local.INFO: Packet analysis {"connection_id":157401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:34:37] local.INFO: Extracted packet for processing {"connection_id":157401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:34:37] local.INFO: GPS Element Parsed {"raw_longitude":763054528,"raw_latitude":99168008,"longitude_deg":76.3054528,"latitude_deg":9.9168008,"altitude":0,"angle":16,"satellites":34,"speed":8,"hex_longitude":"2d7b49c0","hex_latitude":"05e92f08","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499798784001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120651193327288320,"note":"Value kept but may cause issues"} 
[2026-08-19 08:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883631765351897088,"note":"Value kept but may cause issues"} 
[2026-08-19 08:34:37] 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-08-19 08:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787108591000,"timestamp_ms":1787108591000,"timestamp_seconds":1787108591,"priority":1,"record_length":96,"hex_timestamp":"000001a017f90598"} 
[2026-08-19 08:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:34: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-08-19 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 08:34:37] 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-08-19 08: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-08-19 08:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08: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-08-19 08:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499798784001,"66":13091,"201":206,"87":13824,"24":8,"16":120651193327288320,"45":8883631765351897088},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-19 08:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499798784001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:34:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-19 08:34:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120651193327288320,"km_value":120651193327288.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883631765351897088,"description":"Unknown IO ID 45"} 
[2026-08-19 08:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499798784001,"power":13091,"unknown_201":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8883631765351897088}} 
[2026-08-19 08:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":157401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:34:37] local.INFO: GPS data processed {"connection_id":157401,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:34:37] local.INFO: Acknowledgment sent {"connection_id":157401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:34:38] local.INFO: TCP Data received {"connection_id":157784,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:34:38] local.INFO: Processing buffer {"connection_id":157784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:34:38] local.INFO: Packet analysis {"connection_id":157784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:34:38] local.INFO: Extracted packet for processing {"connection_id":157784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":25,"angle":89,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499730944001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787108625000,"timestamp_ms":1787108625000,"timestamp_seconds":1787108625,"priority":1,"record_length":96,"hex_timestamp":"000001a017f98a68"} 
[2026-08-19 08:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 08:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499730944001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499730944001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:34:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499730944001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":157784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:34:38] local.INFO: GPS data processed {"connection_id":157784,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:34:38] local.INFO: Acknowledgment sent {"connection_id":157784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:34:56] local.INFO: TCP Data received {"connection_id":157785,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017fa0b50012d0c6dc00702b360001600541e..."} 
[2026-08-19 08:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fa0b50012d0c6dc00702b360001600541e..."} 
[2026-08-19 08:34:56] local.INFO: Processing buffer {"connection_id":157785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fa0b50012d0c6dc00702b360001600541e..."} 
[2026-08-19 08:34:56] local.INFO: Packet analysis {"connection_id":157785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fa"} 
[2026-08-19 08:34:56] local.INFO: Extracted packet for processing {"connection_id":157785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fa"} 
[2026-08-19 08:34:56] local.INFO: GPS Element Parsed {"raw_longitude":755789248,"raw_latitude":117617504,"longitude_deg":75.5789248,"latitude_deg":11.7617504,"altitude":22,"angle":84,"satellites":30,"speed":0,"hex_longitude":"2d0c6dc0","hex_latitude":"0702b360","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499810304001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28709184904101888,"note":"Value kept but may cause issues"} 
[2026-08-19 08:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895583037259233280,"note":"Value kept but may cause issues"} 
[2026-08-19 08:34:56] 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-08-19 08:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787108658000,"timestamp_ms":1787108658000,"timestamp_seconds":1787108658,"priority":1,"record_length":96,"hex_timestamp":"000001a017fa0b50"} 
[2026-08-19 08:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:34: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-19 08:34:56] 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-08-19 08: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-08-19 08:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":157785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":157785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":157785,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499810304001,"66":14396,"249":206,"94":11008,"24":0,"16":28709184904101888,"45":895583037259233280},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,94,24,16,45]} 
[2026-08-19 08:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499810304001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:34:56] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-19 08:34:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28709184904101888,"km_value":28709184904101.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":895583037259233280,"description":"Unknown IO ID 45"} 
[2026-08-19 08:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499810304001,"power":14396,"unknown_249":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":895583037259233280}} 
[2026-08-19 08:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":157785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663528,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:34:56] local.INFO: GPS data processed {"connection_id":157785,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:34:56] local.INFO: Acknowledgment sent {"connection_id":157785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:34:59] local.INFO: TCP Data received {"connection_id":158672,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:34:59] local.INFO: Processing buffer {"connection_id":158672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:34:59] local.INFO: IMEI packet received {"connection_id":158672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":158672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:35:06] local.INFO: TCP Data received {"connection_id":158672,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:35:06] local.INFO: Processing buffer {"connection_id":158672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:35:06] local.INFO: IMEI packet received {"connection_id":158672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":158672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:35:07] local.INFO: TCP Data received {"connection_id":158672,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:35:07] local.INFO: Processing buffer {"connection_id":158672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:35:07] local.INFO: Packet analysis {"connection_id":158672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:35:07] local.INFO: Extracted packet for processing {"connection_id":158672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":25,"angle":89,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499730944001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787108625000,"timestamp_ms":1787108625000,"timestamp_seconds":1787108625,"priority":1,"record_length":96,"hex_timestamp":"000001a017f98a68"} 
[2026-08-19 08:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:35: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-08-19 08:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 08:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:35:07] 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-08-19 08:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499730944001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499730944001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:35:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:35:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499730944001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":158672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:35:07] local.INFO: GPS data processed {"connection_id":158672,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:35:07] local.INFO: Acknowledgment sent {"connection_id":158672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:35:14] local.INFO: TCP Data received {"connection_id":158673,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158673,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:35:14] local.INFO: Processing buffer {"connection_id":158673,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:35:14] local.INFO: IMEI packet received {"connection_id":158673,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":158673,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:35:17] local.INFO: TCP Data received {"connection_id":158673,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158673,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:35:17] local.INFO: Processing buffer {"connection_id":158673,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:35:17] local.INFO: IMEI packet received {"connection_id":158673,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":158673,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:35:18] local.INFO: TCP Data received {"connection_id":158673,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017fab730012d0c45800702c520001301371e..."} 
[2026-08-19 08:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fab730012d0c45800702c520001301371e..."} 
[2026-08-19 08:35:18] local.INFO: Processing buffer {"connection_id":158673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fab730012d0c45800702c520001301371e..."} 
[2026-08-19 08:35:18] local.INFO: Packet analysis {"connection_id":158673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fa"} 
[2026-08-19 08:35:18] local.INFO: Extracted packet for processing {"connection_id":158673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fa"} 
[2026-08-19 08:35:18] local.INFO: GPS Element Parsed {"raw_longitude":755778944,"raw_latitude":117622048,"longitude_deg":75.5778944,"latitude_deg":11.7622048,"altitude":19,"angle":311,"satellites":30,"speed":9,"hex_longitude":"2d0c4580","hex_latitude":"0702c520","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499827456001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28709820559261696,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884464775680249856,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35: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-08-19 08:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787108702000,"timestamp_ms":1787108702000,"timestamp_seconds":1787108702,"priority":1,"record_length":96,"hex_timestamp":"000001a017fab730"} 
[2026-08-19 08:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 08:35:18] 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-08-19 08: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-08-19 08:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499827456001,"66":14135,"37":206,"94":11008,"24":9,"16":28709820559261696,"45":884464775680249856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 08:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499827456001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:35:18] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 08:35:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28709820559261696,"km_value":28709820559261.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":884464775680249856,"description":"Unknown IO ID 45"} 
[2026-08-19 08:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499827456001,"power":14135,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":884464775680249856}} 
[2026-08-19 08:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":158673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663530,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:35:18] local.INFO: GPS data processed {"connection_id":158673,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:35:18] local.INFO: Acknowledgment sent {"connection_id":158673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:35:22] local.INFO: TCP Data received {"connection_id":158674,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:35:22] local.INFO: Processing buffer {"connection_id":158674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:35:22] local.INFO: IMEI packet received {"connection_id":158674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":158674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:35:25] local.INFO: TCP Data received {"connection_id":158674,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:35:25] local.INFO: Processing buffer {"connection_id":158674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:35:25] local.INFO: IMEI packet received {"connection_id":158674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":158674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:35:26] local.INFO: TCP Data received {"connection_id":158674,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017fa8468012d7be80005e960600005004724..."} 
[2026-08-19 08:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fa8468012d7be80005e960600005004724..."} 
[2026-08-19 08:35:26] local.INFO: Processing buffer {"connection_id":158674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fa8468012d7be80005e960600005004724..."} 
[2026-08-19 08:35:26] local.INFO: Packet analysis {"connection_id":158674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fa"} 
[2026-08-19 08:35:26] local.INFO: Extracted packet for processing {"connection_id":158674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fa"} 
[2026-08-19 08:35:26] local.INFO: GPS Element Parsed {"raw_longitude":763095040,"raw_latitude":99180640,"longitude_deg":76.309504,"latitude_deg":9.918064,"altitude":5,"angle":71,"satellites":36,"speed":23,"hex_longitude":"2d7be800","hex_latitude":"05e96060","is_valid_coordinates":true} 
[2026-08-19 08:35: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-08-19 08:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499822336001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120653259206557696,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922967893350283264,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:26] 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-08-19 08:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787108689000,"timestamp_ms":1787108689000,"timestamp_seconds":1787108689,"priority":1,"record_length":96,"hex_timestamp":"000001a017fa8468"} 
[2026-08-19 08:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:35:26] 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-08-19 08:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-19 08:35:26] 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-08-19 08:35: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-08-19 08:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:35:26] 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-08-19 08:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499822336001,"66":13580,"156":206,"87":13824,"24":23,"16":120653259206557696,"45":8922967893350283264},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-19 08:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499822336001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:35:26] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 08:35:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120653259206557696,"km_value":120653259206557.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922967893350283264,"description":"Unknown IO ID 45"} 
[2026-08-19 08:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499822336001,"power":13580,"unknown_156":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8922967893350283264}} 
[2026-08-19 08:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":158674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:35:26] local.INFO: GPS data processed {"connection_id":158674,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:35:26] local.INFO: Acknowledgment sent {"connection_id":158674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:35:31] local.INFO: TCP Data received {"connection_id":158674,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017fa9408012d7bf18005e962a00007005425..."} 
[2026-08-19 08:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fa9408012d7bf18005e962a00007005425..."} 
[2026-08-19 08:35:31] local.INFO: Processing buffer {"connection_id":158674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fa9408012d7bf18005e962a00007005425..."} 
[2026-08-19 08:35:31] local.INFO: Packet analysis {"connection_id":158674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fa"} 
[2026-08-19 08:35:31] local.INFO: Extracted packet for processing {"connection_id":158674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fa"} 
[2026-08-19 08:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763097472,"raw_latitude":99181216,"longitude_deg":76.3097472,"latitude_deg":9.9181216,"altitude":7,"angle":84,"satellites":37,"speed":23,"hex_longitude":"2d7bf180","hex_latitude":"05e962a0","is_valid_coordinates":true} 
[2026-08-19 08:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499824384001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120653379465641984,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928386286652252160,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:31] 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-08-19 08:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787108693000,"timestamp_ms":1787108693000,"timestamp_seconds":1787108693,"priority":1,"record_length":96,"hex_timestamp":"000001a017fa9408"} 
[2026-08-19 08:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:35: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-08-19 08:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 08:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623332,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275761609,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6006564952330993664,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469841614,"corrected_to":0} 
[2026-08-19 08:35:31] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2147871049,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:31] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070381,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:31] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:31] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2765029376,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:31] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-9169322342037323772,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:31] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2089895823629405783,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:31] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:31] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,156,87,24,241,157,16,165,160,101,45,192,91,4,36,10,66,89,90,3,73,128,1,240,56,227,23,233,113,205,34,175,239,51,201,2,172,5,20,123,52,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1469841614,"validated":0}]} 
[2026-08-19 08:35:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360366190135541760,"timestamp_seconds":360366190135541.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 08:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":158674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":158674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":158674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:35:31] 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-08-19 08:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499824384001,"66":13243,"156":206,"87":13824,"24":23,"16":120653379465641984,"45":8928386286652252160},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-19 08:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499824384001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:35:31] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 08:35:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120653379465641984,"km_value":120653379465641.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928386286652252160,"description":"Unknown IO ID 45"} 
[2026-08-19 08:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499824384001,"power":13243,"unknown_156":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8928386286652252160}} 
[2026-08-19 08:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":158674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:35:31] local.INFO: GPS data processed {"connection_id":158674,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:35:31] local.INFO: Acknowledgment sent {"connection_id":158674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:35:38] local.INFO: TCP Data received {"connection_id":158672,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:35:38] local.INFO: Processing buffer {"connection_id":158672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:35:38] local.INFO: Packet analysis {"connection_id":158672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:35:38] local.INFO: Extracted packet for processing {"connection_id":158672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":25,"angle":89,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499730944001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787108625000,"timestamp_ms":1787108625000,"timestamp_seconds":1787108625,"priority":1,"record_length":96,"hex_timestamp":"000001a017f98a68"} 
[2026-08-19 08:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 08:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:35:38] 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-08-19 08:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499730944001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499730944001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499730944001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":158672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:35:38] local.INFO: GPS data processed {"connection_id":158672,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:35:38] local.INFO: Acknowledgment sent {"connection_id":158672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:35:49] local.INFO: TCP Data received {"connection_id":158673,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017fabb18012d0c44c00702c5b0001301211e..."} 
[2026-08-19 08:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fabb18012d0c44c00702c5b0001301211e..."} 
[2026-08-19 08:35:49] local.INFO: Processing buffer {"connection_id":158673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fabb18012d0c44c00702c5b0001301211e..."} 
[2026-08-19 08:35:49] local.INFO: Packet analysis {"connection_id":158673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fa"} 
[2026-08-19 08:35:49] local.INFO: Extracted packet for processing {"connection_id":158673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fa"} 
[2026-08-19 08:35:49] local.INFO: GPS Element Parsed {"raw_longitude":755778752,"raw_latitude":117622192,"longitude_deg":75.5778752,"latitude_deg":11.7622192,"altitude":19,"angle":289,"satellites":30,"speed":8,"hex_longitude":"2d0c44c0","hex_latitude":"0702c5b0","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499827712001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28709833444163584,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884253669447770112,"note":"Value kept but may cause issues"} 
[2026-08-19 08:35: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-08-19 08:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787108703000,"timestamp_ms":1787108703000,"timestamp_seconds":1787108703,"priority":1,"record_length":96,"hex_timestamp":"000001a017fabb18"} 
[2026-08-19 08:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 08:35:49] 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-08-19 08: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-08-19 08:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":158673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":158673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":158673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499827712001,"66":14135,"37":206,"94":11008,"24":8,"16":28709833444163584,"45":884253669447770112},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 08:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499827712001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:35:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 08:35:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28709833444163584,"km_value":28709833444163.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":884253669447770112,"description":"Unknown IO ID 45"} 
[2026-08-19 08:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499827712001,"power":14135,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":884253669447770112}} 
[2026-08-19 08:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":158673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663534,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:35:49] local.INFO: GPS data processed {"connection_id":158673,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:35:49] local.INFO: Acknowledgment sent {"connection_id":158673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:36:00] local.INFO: TCP Data received {"connection_id":157402,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:36:00] local.INFO: Processing buffer {"connection_id":157402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:36:00] local.INFO: IMEI packet received {"connection_id":157402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":157402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:36:03] local.INFO: TCP Data received {"connection_id":158674,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017faa790012d7bfcc005e964a8000b004526..."} 
[2026-08-19 08:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017faa790012d7bfcc005e964a8000b004526..."} 
[2026-08-19 08:36:03] local.INFO: Processing buffer {"connection_id":158674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017faa790012d7bfcc005e964a8000b004526..."} 
[2026-08-19 08:36:03] local.INFO: Packet analysis {"connection_id":158674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fa"} 
[2026-08-19 08:36:03] local.INFO: Extracted packet for processing {"connection_id":158674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fa"} 
[2026-08-19 08:36:03] local.INFO: GPS Element Parsed {"raw_longitude":763100352,"raw_latitude":99181736,"longitude_deg":76.3100352,"latitude_deg":9.9181736,"altitude":11,"angle":69,"satellites":38,"speed":23,"hex_longitude":"2d7bfcc0","hex_latitude":"05e964a8","is_valid_coordinates":true} 
[2026-08-19 08:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499825408001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120653521199562752,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931060298931150848,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787108698000,"timestamp_ms":1787108698000,"timestamp_seconds":1787108698,"priority":1,"record_length":96,"hex_timestamp":"000001a017faa790"} 
[2026-08-19 08:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:36: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-08-19 08:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 08:36: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-08-19 08:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":158674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":158674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":158674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:36:03] 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-08-19 08:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499825408001,"66":12939,"156":206,"87":13824,"24":23,"16":120653521199562752,"45":8931060298931150848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-19 08:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499825408001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:36:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 08:36:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120653521199562752,"km_value":120653521199562.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931060298931150848,"description":"Unknown IO ID 45"} 
[2026-08-19 08:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499825408001,"power":12939,"unknown_156":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8931060298931150848}} 
[2026-08-19 08:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":158674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:36:03] local.INFO: GPS data processed {"connection_id":158674,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:36:03] local.INFO: Acknowledgment sent {"connection_id":158674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:36:05] local.INFO: TCP Data received {"connection_id":157402,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:36:05] local.INFO: Processing buffer {"connection_id":157402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:36:05] local.INFO: IMEI packet received {"connection_id":157402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":157402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:36:06] local.INFO: TCP Data received {"connection_id":157402,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:36:06] local.INFO: Processing buffer {"connection_id":157402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:36:06] local.INFO: Packet analysis {"connection_id":157402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:36:06] local.INFO: Extracted packet for processing {"connection_id":157402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":25,"angle":89,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499730944001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787108625000,"timestamp_ms":1787108625000,"timestamp_seconds":1787108625,"priority":1,"record_length":96,"hex_timestamp":"000001a017f98a68"} 
[2026-08-19 08:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 08:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:36:06] 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-08-19 08:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499730944001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499730944001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:36:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499730944001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":157402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:36:06] local.INFO: GPS data processed {"connection_id":157402,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:36:06] local.INFO: Acknowledgment sent {"connection_id":157402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:36:11] local.INFO: TCP Data received {"connection_id":159953,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159953,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:36:11] local.INFO: Processing buffer {"connection_id":159953,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:36:11] local.INFO: IMEI packet received {"connection_id":159953,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":159953,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:36:14] local.INFO: TCP Data received {"connection_id":159953,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159953,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:36:14] local.INFO: Processing buffer {"connection_id":159953,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:36:14] local.INFO: IMEI packet received {"connection_id":159953,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":159953,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:36:19] local.INFO: TCP Data received {"connection_id":159953,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159953,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:36:19] local.INFO: Processing buffer {"connection_id":159953,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:36:19] local.INFO: IMEI packet received {"connection_id":159953,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":159953,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:36:20] local.INFO: TCP Data received {"connection_id":157786,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:36:20] local.INFO: Processing buffer {"connection_id":157786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:36:20] local.INFO: IMEI packet received {"connection_id":157786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":157786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:36:20] local.INFO: TCP Data received {"connection_id":159953,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017fb66f8012d0c25c00702b690001301411e..."} 
[2026-08-19 08:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fb66f8012d0c25c00702b690001301411e..."} 
[2026-08-19 08:36:20] local.INFO: Processing buffer {"connection_id":159953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fb66f8012d0c25c00702b690001301411e..."} 
[2026-08-19 08:36:20] local.INFO: Packet analysis {"connection_id":159953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fb"} 
[2026-08-19 08:36:20] local.INFO: Extracted packet for processing {"connection_id":159953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fb"} 
[2026-08-19 08:36:20] local.INFO: GPS Element Parsed {"raw_longitude":755770816,"raw_latitude":117618320,"longitude_deg":75.5770816,"latitude_deg":11.761832,"altitude":19,"angle":321,"satellites":30,"speed":8,"hex_longitude":"2d0c25c0","hex_latitude":"0702b690","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499838976001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28710293005664256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875387207680401408,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36: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-08-19 08:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787108747000,"timestamp_ms":1787108747000,"timestamp_seconds":1787108747,"priority":1,"record_length":96,"hex_timestamp":"000001a017fb66f8"} 
[2026-08-19 08:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":71,"data_length":795,"current_offset":136} 
[2026-08-19 08:36: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-08-19 08: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-08-19 08:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":159953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":159953,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":159953,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499838976001,"66":14407,"37":206,"94":11008,"24":8,"16":28710293005664256,"45":875387207680401408},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 08:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499838976001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:36:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 08:36:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28710293005664256,"km_value":28710293005664.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":875387207680401408,"description":"Unknown IO ID 45"} 
[2026-08-19 08:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499838976001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":875387207680401408}} 
[2026-08-19 08:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":159953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663537,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:36:20] local.INFO: GPS data processed {"connection_id":159953,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:36:20] local.INFO: Acknowledgment sent {"connection_id":159953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:36:20] local.INFO: TCP Data received {"connection_id":157786,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:36:20] local.INFO: Processing buffer {"connection_id":157786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:36:20] local.INFO: IMEI packet received {"connection_id":157786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":157786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:36:25] local.INFO: TCP Data received {"connection_id":157786,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:36:25] local.INFO: Processing buffer {"connection_id":157786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:36:25] local.INFO: IMEI packet received {"connection_id":157786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":157786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:36:27] local.INFO: TCP Data received {"connection_id":157786,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017fade40012d7c204005e97268000c00442a..."} 
[2026-08-19 08:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fade40012d7c204005e97268000c00442a..."} 
[2026-08-19 08:36:27] local.INFO: Processing buffer {"connection_id":157786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fade40012d7c204005e97268000c00442a..."} 
[2026-08-19 08:36:27] local.INFO: Packet analysis {"connection_id":157786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fa"} 
[2026-08-19 08:36:27] local.INFO: Extracted packet for processing {"connection_id":157786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fa"} 
[2026-08-19 08:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763109440,"raw_latitude":99185256,"longitude_deg":76.310944,"latitude_deg":9.9185256,"altitude":12,"angle":68,"satellites":42,"speed":29,"hex_longitude":"2d7c2040","hex_latitude":"05e97268","is_valid_coordinates":true} 
[2026-08-19 08:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499826688001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120653985056030720,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934226892419278848,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:27] 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-08-19 08:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787108712000,"timestamp_ms":1787108712000,"timestamp_seconds":1787108712,"priority":1,"record_length":96,"hex_timestamp":"000001a017fade40"} 
[2026-08-19 08:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 08:36:27] 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-08-19 08:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:36:27] 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-08-19 08:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499826688001,"66":13363,"156":206,"87":13824,"24":29,"16":120653985056030720,"45":8934226892419278848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-19 08:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499826688001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:36:27] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 08:36:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120653985056030720,"km_value":120653985056030.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934226892419278848,"description":"Unknown IO ID 45"} 
[2026-08-19 08:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499826688001,"power":13363,"unknown_156":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8934226892419278848}} 
[2026-08-19 08:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":157786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:36:27] local.INFO: GPS data processed {"connection_id":157786,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:36:27] local.INFO: Acknowledgment sent {"connection_id":157786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:36:37] local.INFO: TCP Data received {"connection_id":157402,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:36:37] local.INFO: Processing buffer {"connection_id":157402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:36:37] local.INFO: Packet analysis {"connection_id":157402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:36:37] local.INFO: Extracted packet for processing {"connection_id":157402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":25,"angle":89,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499730944001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787108625000,"timestamp_ms":1787108625000,"timestamp_seconds":1787108625,"priority":1,"record_length":96,"hex_timestamp":"000001a017f98a68"} 
[2026-08-19 08:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:36: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-08-19 08:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 08:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:36:37] 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-08-19 08:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499730944001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499730944001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499730944001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":157402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:36:37] local.INFO: GPS data processed {"connection_id":157402,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:36:37] local.INFO: Acknowledgment sent {"connection_id":157402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:36:52] local.INFO: TCP Data received {"connection_id":159953,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017fb6ec8012d0c24c00702b838001301551e..."} 
[2026-08-19 08:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fb6ec8012d0c24c00702b838001301551e..."} 
[2026-08-19 08:36:52] local.INFO: Processing buffer {"connection_id":159953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fb6ec8012d0c24c00702b838001301551e..."} 
[2026-08-19 08:36:52] local.INFO: Packet analysis {"connection_id":159953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fb"} 
[2026-08-19 08:36:52] local.INFO: Extracted packet for processing {"connection_id":159953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fb"} 
[2026-08-19 08:36:52] local.INFO: GPS Element Parsed {"raw_longitude":755770560,"raw_latitude":117618744,"longitude_deg":75.577056,"latitude_deg":11.7618744,"altitude":19,"angle":341,"satellites":30,"speed":10,"hex_longitude":"2d0c24c0","hex_latitude":"0702b838","is_valid_coordinates":true} 
[2026-08-19 08:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499839232001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28710318775468032,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875316838936252416,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36: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-08-19 08:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787108749000,"timestamp_ms":1787108749000,"timestamp_seconds":1787108749,"priority":1,"record_length":96,"hex_timestamp":"000001a017fb6ec8"} 
[2026-08-19 08:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 08:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":159953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":159953,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":159953,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499839232001,"66":14515,"37":206,"94":11008,"24":10,"16":28710318775468032,"45":875316838936252416},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 08:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499839232001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:36:52] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 08:36:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28710318775468032,"km_value":28710318775468.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":875316838936252416,"description":"Unknown IO ID 45"} 
[2026-08-19 08:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499839232001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":875316838936252416}} 
[2026-08-19 08:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":159953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663540,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:36:52] local.INFO: GPS data processed {"connection_id":159953,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:36:52] local.INFO: Acknowledgment sent {"connection_id":159953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:36:58] local.INFO: TCP Data received {"connection_id":157786,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017fb3048012d7c420005e97e780006004528..."} 
[2026-08-19 08:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fb3048012d7c420005e97e780006004528..."} 
[2026-08-19 08:36:58] local.INFO: Processing buffer {"connection_id":157786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fb3048012d7c420005e97e780006004528..."} 
[2026-08-19 08:36:58] local.INFO: Packet analysis {"connection_id":157786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fb"} 
[2026-08-19 08:36:58] local.INFO: Extracted packet for processing {"connection_id":157786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fb"} 
[2026-08-19 08:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763118080,"raw_latitude":99188344,"longitude_deg":76.311808,"latitude_deg":9.9188344,"altitude":6,"angle":69,"satellites":40,"speed":22,"hex_longitude":"2d7c4200","hex_latitude":"05e97e78","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499830272001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120654423142694912,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944219254093408256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:36:58] 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-08-19 08:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787108733000,"timestamp_ms":1787108733000,"timestamp_seconds":1787108733,"priority":1,"record_length":96,"hex_timestamp":"000001a017fb3048"} 
[2026-08-19 08:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:36:58] 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-08-19 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 08:36:58] 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-08-19 08: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-08-19 08:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:36:58] 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-08-19 08:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499830272001,"66":13461,"156":206,"87":13824,"24":22,"16":120654423142694912,"45":8944219254093408256},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-19 08:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499830272001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:36:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 08:36:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120654423142694912,"km_value":120654423142694.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944219254093408256,"description":"Unknown IO ID 45"} 
[2026-08-19 08:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499830272001,"power":13461,"unknown_156":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8944219254093408256}} 
[2026-08-19 08:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":157786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:36:58] local.INFO: GPS data processed {"connection_id":157786,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:36:58] local.INFO: Acknowledgment sent {"connection_id":157786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:37:00] local.INFO: TCP Data received {"connection_id":158675,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:37:00] local.INFO: Processing buffer {"connection_id":158675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:37:00] local.INFO: IMEI packet received {"connection_id":158675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":158675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:37:05] local.INFO: TCP Data received {"connection_id":158675,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:37:05] local.INFO: Processing buffer {"connection_id":158675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:37:05] local.INFO: IMEI packet received {"connection_id":158675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":158675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:37:06] local.INFO: TCP Data received {"connection_id":158675,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:37:06] local.INFO: Processing buffer {"connection_id":158675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:37:06] local.INFO: Packet analysis {"connection_id":158675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:37:06] local.INFO: Extracted packet for processing {"connection_id":158675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":25,"angle":89,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499730944001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787108625000,"timestamp_ms":1787108625000,"timestamp_seconds":1787108625,"priority":1,"record_length":96,"hex_timestamp":"000001a017f98a68"} 
[2026-08-19 08:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 08:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:37:06] 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-08-19 08:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499730944001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499730944001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499730944001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":158675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:37:06] local.INFO: GPS data processed {"connection_id":158675,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:37:06] local.INFO: Acknowledgment sent {"connection_id":158675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:37:13] local.INFO: TCP Data received {"connection_id":157403,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157403,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:37:13] local.INFO: Processing buffer {"connection_id":157403,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:37:13] local.INFO: IMEI packet received {"connection_id":157403,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":157403,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:37:14] local.INFO: TCP Data received {"connection_id":157403,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157403,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:37:14] local.INFO: Processing buffer {"connection_id":157403,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:37:14] local.INFO: IMEI packet received {"connection_id":157403,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":157403,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:37:15] local.INFO: TCP Data received {"connection_id":157403,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157403,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:37:15] local.INFO: Processing buffer {"connection_id":157403,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:37:15] local.INFO: IMEI packet received {"connection_id":157403,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":157403,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:37:18] local.INFO: TCP Data received {"connection_id":157403,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157403,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:37:18] local.INFO: Processing buffer {"connection_id":157403,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:37:18] local.INFO: IMEI packet received {"connection_id":157403,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":157403,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:37:18] local.INFO: TCP Data received {"connection_id":157403,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017fc9b90012d0c4cc00703c8c8001200291d..."} 
[2026-08-19 08:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fc9b90012d0c4cc00703c8c8001200291d..."} 
[2026-08-19 08:37:18] local.INFO: Processing buffer {"connection_id":157403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fc9b90012d0c4cc00703c8c8001200291d..."} 
[2026-08-19 08:37:18] local.INFO: Packet analysis {"connection_id":157403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fc"} 
[2026-08-19 08:37:18] local.INFO: Extracted packet for processing {"connection_id":157403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fc"} 
[2026-08-19 08:37:18] local.INFO: GPS Element Parsed {"raw_longitude":755780800,"raw_latitude":117688520,"longitude_deg":75.57808,"latitude_deg":11.768852,"altitude":18,"angle":41,"satellites":29,"speed":24,"hex_longitude":"2d0c4cc0","hex_latitude":"0703c8c8","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499857664001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28714205720870912,"note":"Value kept but may cause issues"} 
[2026-08-19 08:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879750069836724224,"note":"Value kept but may cause issues"} 
[2026-08-19 08:37: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-08-19 08:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787108826000,"timestamp_ms":1787108826000,"timestamp_seconds":1787108826,"priority":1,"record_length":96,"hex_timestamp":"000001a017fc9b90"} 
[2026-08-19 08:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 08:37:18] 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-08-19 08: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-08-19 08:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499857664001,"66":14559,"37":206,"94":11008,"24":24,"16":28714205720870912,"45":879750069836724224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 08:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499857664001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:37:18] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 08:37:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28714205720870912,"km_value":28714205720870.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":879750069836724224,"description":"Unknown IO ID 45"} 
[2026-08-19 08:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499857664001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":879750069836724224}} 
[2026-08-19 08:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":157403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663543,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:37:19] local.INFO: GPS data processed {"connection_id":157403,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:37:19] local.INFO: Acknowledgment sent {"connection_id":157403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:37:20] local.INFO: TCP Data received {"connection_id":159954,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:37:20] local.INFO: Processing buffer {"connection_id":159954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:37:20] local.INFO: IMEI packet received {"connection_id":159954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":159954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:37:21] local.INFO: TCP Data received {"connection_id":159954,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:37:21] local.INFO: Processing buffer {"connection_id":159954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:37:21] local.INFO: IMEI packet received {"connection_id":159954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":159954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:37:25] local.INFO: TCP Data received {"connection_id":159954,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:37:25] local.INFO: Processing buffer {"connection_id":159954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:37:25] local.INFO: IMEI packet received {"connection_id":159954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":159954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:37:26] local.INFO: TCP Data received {"connection_id":159954,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017fc93c0012d7c978005e9b9500006005622..."} 
[2026-08-19 08:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fc93c0012d7c978005e9b9500006005622..."} 
[2026-08-19 08:37:26] local.INFO: Processing buffer {"connection_id":159954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fc93c0012d7c978005e9b9500006005622..."} 
[2026-08-19 08:37:26] local.INFO: Packet analysis {"connection_id":159954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fc"} 
[2026-08-19 08:37:26] local.INFO: Extracted packet for processing {"connection_id":159954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fc"} 
[2026-08-19 08:37:26] local.INFO: GPS Element Parsed {"raw_longitude":763139968,"raw_latitude":99203408,"longitude_deg":76.3139968,"latitude_deg":9.9203408,"altitude":6,"angle":86,"satellites":34,"speed":14,"hex_longitude":"2d7c9780","hex_latitude":"05e9b950","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499856128001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120655934971183104,"note":"Value kept but may cause issues"} 
[2026-08-19 08:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974477814094182400,"note":"Value kept but may cause issues"} 
[2026-08-19 08:37:26] 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-08-19 08:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787108824000,"timestamp_ms":1787108824000,"timestamp_seconds":1787108824,"priority":1,"record_length":96,"hex_timestamp":"000001a017fc93c0"} 
[2026-08-19 08:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:37:26] 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-08-19 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-19 08:37:26] 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-08-19 08: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-08-19 08:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:37:26] 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-08-19 08:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499856128001,"66":13450,"9":206,"87":13824,"24":14,"16":120655934971183104,"45":8974477814094182400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-08-19 08:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499856128001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:37:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-19 08:37:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120655934971183104,"km_value":120655934971183.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974477814094182400,"description":"Unknown IO ID 45"} 
[2026-08-19 08:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499856128001,"power":13450,"unknown_9":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8974477814094182400}} 
[2026-08-19 08:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":159954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:37:26] local.INFO: GPS data processed {"connection_id":159954,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:37:26] local.INFO: Acknowledgment sent {"connection_id":159954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:37:38] local.INFO: TCP Data received {"connection_id":158675,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:37:38] local.INFO: Processing buffer {"connection_id":158675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:37:38] local.INFO: Packet analysis {"connection_id":158675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:37:38] local.INFO: Extracted packet for processing {"connection_id":158675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":25,"angle":89,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499730944001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787108625000,"timestamp_ms":1787108625000,"timestamp_seconds":1787108625,"priority":1,"record_length":96,"hex_timestamp":"000001a017f98a68"} 
[2026-08-19 08:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 08:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:37:38] 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-08-19 08:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499730944001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499730944001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:37:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499730944001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":158675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:37:38] local.INFO: GPS data processed {"connection_id":158675,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:37:38] local.INFO: Acknowledgment sent {"connection_id":158675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:37:49] local.INFO: TCP Data received {"connection_id":157403,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a017fc9f78012d0c4e000703cae0001200181e..."} 
[2026-08-19 08:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fc9f78012d0c4e000703cae0001200181e..."} 
[2026-08-19 08:37:49] local.INFO: Processing buffer {"connection_id":157403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fc9f78012d0c4e000703cae0001200181e..."} 
[2026-08-19 08:37:49] local.INFO: Packet analysis {"connection_id":157403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fc"} 
[2026-08-19 08:37:49] local.INFO: Extracted packet for processing {"connection_id":157403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fc"} 
[2026-08-19 08:37:49] local.INFO: GPS Element Parsed {"raw_longitude":755781120,"raw_latitude":117689056,"longitude_deg":75.578112,"latitude_deg":11.7689056,"altitude":18,"angle":24,"satellites":30,"speed":23,"hex_longitude":"2d0c4e00","hex_latitude":"0703cae0","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499859456001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28714235785641984,"note":"Value kept but may cause issues"} 
[2026-08-19 08:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886294363045939200,"note":"Value kept but may cause issues"} 
[2026-08-19 08:37: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-08-19 08:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787108827000,"timestamp_ms":1787108827000,"timestamp_seconds":1787108827,"priority":1,"record_length":96,"hex_timestamp":"000001a017fc9f78"} 
[2026-08-19 08:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-19 08:37: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-08-19 08: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-08-19 08:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":157403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":157403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":157403,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499859456001,"66":14407,"37":206,"94":11008,"24":23,"16":28714235785641984,"45":886294363045939200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 08:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499859456001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:37:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 08:37:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28714235785641984,"km_value":28714235785641.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":886294363045939200,"description":"Unknown IO ID 45"} 
[2026-08-19 08:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499859456001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":886294363045939200}} 
[2026-08-19 08:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":157403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663546,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:37:50] local.INFO: GPS data processed {"connection_id":157403,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:37:50] local.INFO: Acknowledgment sent {"connection_id":157403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:37:57] local.INFO: TCP Data received {"connection_id":159954,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017fd37d0012d7cd1c005e9b6200008004f23..."} 
[2026-08-19 08:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fd37d0012d7cd1c005e9b6200008004f23..."} 
[2026-08-19 08:37:57] local.INFO: Processing buffer {"connection_id":159954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fd37d0012d7cd1c005e9b6200008004f23..."} 
[2026-08-19 08:37:57] local.INFO: Packet analysis {"connection_id":159954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fd"} 
[2026-08-19 08:37:57] local.INFO: Extracted packet for processing {"connection_id":159954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fd"} 
[2026-08-19 08:37:57] local.INFO: GPS Element Parsed {"raw_longitude":763154880,"raw_latitude":99202592,"longitude_deg":76.315488,"latitude_deg":9.9202592,"altitude":8,"angle":79,"satellites":35,"speed":13,"hex_longitude":"2d7cd1c0","hex_latitude":"05e9b620","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499869184001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120656720950198272,"note":"Value kept but may cause issues"} 
[2026-08-19 08:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993618112510552064,"note":"Value kept but may cause issues"} 
[2026-08-19 08:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787108866000,"timestamp_ms":1787108866000,"timestamp_seconds":1787108866,"priority":1,"record_length":96,"hex_timestamp":"000001a017fd37d0"} 
[2026-08-19 08:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:37:57] 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-08-19 08: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-19 08:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:37:57] 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-08-19 08:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499869184001,"66":12645,"192":206,"87":13824,"24":13,"16":120656720950198272,"45":8993618112510552064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-19 08:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499869184001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:37:57] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-19 08:37:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120656720950198272,"km_value":120656720950198.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993618112510552064,"description":"Unknown IO ID 45"} 
[2026-08-19 08:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499869184001,"power":12645,"unknown_192":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8993618112510552064}} 
[2026-08-19 08:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":159954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:37:57] local.INFO: GPS data processed {"connection_id":159954,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:37:57] local.INFO: Acknowledgment sent {"connection_id":159954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:38:05] local.INFO: TCP Data received {"connection_id":158676,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:38:05] local.INFO: Processing buffer {"connection_id":158676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:38:05] local.INFO: IMEI packet received {"connection_id":158676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":158676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:38:10] local.INFO: TCP Data received {"connection_id":158676,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:38:10] local.INFO: Processing buffer {"connection_id":158676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:38:10] local.INFO: IMEI packet received {"connection_id":158676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":158676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:38:11] local.INFO: TCP Data received {"connection_id":158676,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:38:11] local.INFO: Processing buffer {"connection_id":158676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:38:11] local.INFO: Packet analysis {"connection_id":158676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:38:11] local.INFO: Extracted packet for processing {"connection_id":158676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":25,"angle":89,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499730944001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787108625000,"timestamp_ms":1787108625000,"timestamp_seconds":1787108625,"priority":1,"record_length":96,"hex_timestamp":"000001a017f98a68"} 
[2026-08-19 08:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 08:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499730944001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 08:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499730944001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:38:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:38:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499730944001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":158676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:38:11] local.INFO: GPS data processed {"connection_id":158676,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:38:11] local.INFO: Acknowledgment sent {"connection_id":158676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:38:16] local.INFO: TCP Data received {"connection_id":158676,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:38:16] local.INFO: Processing buffer {"connection_id":158676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:38:16] local.INFO: Packet analysis {"connection_id":158676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:38:16] local.INFO: Extracted packet for processing {"connection_id":158676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:38:16] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":25,"angle":89,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499730944001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787108625000,"timestamp_ms":1787108625000,"timestamp_seconds":1787108625,"priority":1,"record_length":96,"hex_timestamp":"000001a017f98a68"} 
[2026-08-19 08:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 08:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499730944001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 08:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499730944001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:38:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:38:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499730944001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":158676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:38:16] local.INFO: GPS data processed {"connection_id":158676,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:38:16] local.INFO: Acknowledgment sent {"connection_id":158676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:38:20] local.INFO: TCP Data received {"connection_id":157787,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:38:20] local.INFO: Processing buffer {"connection_id":157787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:38:20] local.INFO: IMEI packet received {"connection_id":157787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":157787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:38:25] local.INFO: TCP Data received {"connection_id":157787,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:38:25] local.INFO: Processing buffer {"connection_id":157787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:38:25] local.INFO: IMEI packet received {"connection_id":157787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":157787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:38:26] local.INFO: TCP Data received {"connection_id":157787,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017fd4b58012d7cda4005e9b8b80007004424..."} 
[2026-08-19 08:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fd4b58012d7cda4005e9b8b80007004424..."} 
[2026-08-19 08:38:26] local.INFO: Processing buffer {"connection_id":157787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fd4b58012d7cda4005e9b8b80007004424..."} 
[2026-08-19 08:38:26] local.INFO: Packet analysis {"connection_id":157787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fd"} 
[2026-08-19 08:38:26] local.INFO: Extracted packet for processing {"connection_id":157787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fd"} 
[2026-08-19 08:38:26] local.INFO: GPS Element Parsed {"raw_longitude":763157056,"raw_latitude":99203256,"longitude_deg":76.3157056,"latitude_deg":9.9203256,"altitude":7,"angle":68,"satellites":36,"speed":19,"hex_longitude":"2d7cda40","hex_latitude":"05e9b8b8","is_valid_coordinates":true} 
[2026-08-19 08:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499869696001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120656828324380672,"note":"Value kept but may cause issues"} 
[2026-08-19 08:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994181062463987712,"note":"Value kept but may cause issues"} 
[2026-08-19 08:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787108871000,"timestamp_ms":1787108871000,"timestamp_seconds":1787108871,"priority":1,"record_length":96,"hex_timestamp":"000001a017fd4b58"} 
[2026-08-19 08:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:38:26] 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-08-19 08:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-19 08:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:38:26] 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-08-19 08:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499869696001,"66":13254,"192":206,"87":13824,"24":19,"16":120656828324380672,"45":8994181062463987712},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-19 08:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499869696001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:38:26] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-19 08:38:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120656828324380672,"km_value":120656828324380.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994181062463987712,"description":"Unknown IO ID 45"} 
[2026-08-19 08:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499869696001,"power":13254,"unknown_192":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8994181062463987712}} 
[2026-08-19 08:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":157787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:38:26] local.INFO: GPS data processed {"connection_id":157787,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:38:26] local.INFO: Acknowledgment sent {"connection_id":157787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:38:57] local.INFO: TCP Data received {"connection_id":157787,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017fd5710012d7ce0c005e9bac00007005425..."} 
[2026-08-19 08:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fd5710012d7ce0c005e9bac00007005425..."} 
[2026-08-19 08:38:57] local.INFO: Processing buffer {"connection_id":157787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fd5710012d7ce0c005e9bac00007005425..."} 
[2026-08-19 08:38:57] local.INFO: Packet analysis {"connection_id":157787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fd"} 
[2026-08-19 08:38:57] local.INFO: Extracted packet for processing {"connection_id":157787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fd"} 
[2026-08-19 08:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763158720,"raw_latitude":99203776,"longitude_deg":76.315872,"latitude_deg":9.9203776,"altitude":7,"angle":84,"satellites":37,"speed":23,"hex_longitude":"2d7ce0c0","hex_latitude":"05e9bac0","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499870976001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120656914223726592,"note":"Value kept but may cause issues"} 
[2026-08-19 08:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996573599766198272,"note":"Value kept but may cause issues"} 
[2026-08-19 08:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787108874000,"timestamp_ms":1787108874000,"timestamp_seconds":1787108874,"priority":1,"record_length":96,"hex_timestamp":"000001a017fd5710"} 
[2026-08-19 08:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:38:57] 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-08-19 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-19 08:38:57] 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-08-19 08: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-08-19 08:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:38:57] 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-08-19 08:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499870976001,"66":13515,"192":206,"87":13824,"24":23,"16":120656914223726592,"45":8996573599766198272},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-08-19 08:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499870976001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:38:57] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-19 08:38:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120656914223726592,"km_value":120656914223726.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996573599766198272,"description":"Unknown IO ID 45"} 
[2026-08-19 08:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499870976001,"power":13515,"unknown_192":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8996573599766198272}} 
[2026-08-19 08:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":157787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:38:58] local.INFO: GPS data processed {"connection_id":157787,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:38:58] local.INFO: Acknowledgment sent {"connection_id":157787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:39:00] local.INFO: TCP Data received {"connection_id":157788,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:39:00] local.INFO: Processing buffer {"connection_id":157788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:39:00] local.INFO: IMEI packet received {"connection_id":157788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":157788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:39:06] local.INFO: TCP Data received {"connection_id":157788,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:39:06] local.INFO: Processing buffer {"connection_id":157788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:39:06] local.INFO: IMEI packet received {"connection_id":157788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":157788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:39:07] local.INFO: TCP Data received {"connection_id":157788,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:39:07] local.INFO: Processing buffer {"connection_id":157788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017f98a68012d34c50006aa4078001900591d..."} 
[2026-08-19 08:39:07] local.INFO: Packet analysis {"connection_id":157788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:39:07] local.INFO: Extracted packet for processing {"connection_id":157788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017f9"} 
[2026-08-19 08:39:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":25,"angle":89,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499730944001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787108625000,"timestamp_ms":1787108625000,"timestamp_seconds":1787108625,"priority":1,"record_length":96,"hex_timestamp":"000001a017f98a68"} 
[2026-08-19 08:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:39: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-08-19 08:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 08:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:39:07] 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-08-19 08:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499730944001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499730944001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:39:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:39:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499730944001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":157788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:39:07] local.INFO: GPS data processed {"connection_id":157788,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:39:07] local.INFO: Acknowledgment sent {"connection_id":157788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:39:21] local.INFO: TCP Data received {"connection_id":158678,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:39:21] local.INFO: Processing buffer {"connection_id":158678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:39:21] local.INFO: IMEI packet received {"connection_id":158678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":158678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:39:26] local.INFO: TCP Data received {"connection_id":158678,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:39:26] local.INFO: Processing buffer {"connection_id":158678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:39:26] local.INFO: IMEI packet received {"connection_id":158678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":158678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:39:27] local.INFO: TCP Data received {"connection_id":158678,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:39:27] local.INFO: Processing buffer {"connection_id":158678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:39:27] local.INFO: IMEI packet received {"connection_id":158678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":158678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:39:31] local.INFO: TCP Data received {"connection_id":158678,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:39:31] local.INFO: Processing buffer {"connection_id":158678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:39:31] local.INFO: IMEI packet received {"connection_id":158678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":158678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:39:33] local.INFO: TCP Data received {"connection_id":158678,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017fe6880012d7d180005ea3540000d000826..."} 
[2026-08-19 08:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fe6880012d7d180005ea3540000d000826..."} 
[2026-08-19 08:39:33] local.INFO: Processing buffer {"connection_id":158678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fe6880012d7d180005ea3540000d000826..."} 
[2026-08-19 08:39:33] local.INFO: Packet analysis {"connection_id":158678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:39:33] local.INFO: Extracted packet for processing {"connection_id":158678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763172864,"raw_latitude":99235136,"longitude_deg":76.3172864,"latitude_deg":9.9235136,"altitude":13,"angle":8,"satellites":38,"speed":5,"hex_longitude":"2d7d1800","hex_latitude":"05ea3540","is_valid_coordinates":true} 
[2026-08-19 08:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499889152001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120658967218094080,"note":"Value kept but may cause issues"} 
[2026-08-19 08:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013954679586158592,"note":"Value kept but may cause issues"} 
[2026-08-19 08:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787108944000,"timestamp_ms":1787108944000,"timestamp_seconds":1787108944,"priority":1,"record_length":96,"hex_timestamp":"000001a017fe6880"} 
[2026-08-19 08:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:39: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-08-19 08:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 08:39:33] 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-08-19 08:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:39:33] 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-08-19 08:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499889152001,"66":13341,"154":206,"87":13824,"24":5,"16":120658967218094080,"45":9013954679586158592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-19 08:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499889152001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:39:33] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 08:39:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120658967218094080,"km_value":120658967218094.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013954679586158592,"description":"Unknown IO ID 45"} 
[2026-08-19 08:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499889152001,"power":13341,"unknown_154":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9013954679586158592}} 
[2026-08-19 08:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":158678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:39:33] local.INFO: GPS data processed {"connection_id":158678,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:39:33] local.INFO: Acknowledgment sent {"connection_id":158678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:39:36] local.INFO: TCP Data received {"connection_id":158678,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017fea700012d7d198005ea52c0000e016523..."} 
[2026-08-19 08:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fea700012d7d198005ea52c0000e016523..."} 
[2026-08-19 08:39:36] local.INFO: Processing buffer {"connection_id":158678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fea700012d7d198005ea52c0000e016523..."} 
[2026-08-19 08:39:36] local.INFO: Packet analysis {"connection_id":158678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:39:36] local.INFO: Extracted packet for processing {"connection_id":158678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:39:36] local.INFO: GPS Element Parsed {"raw_longitude":763173248,"raw_latitude":99242688,"longitude_deg":76.3173248,"latitude_deg":9.9242688,"altitude":14,"angle":357,"satellites":35,"speed":18,"hex_longitude":"2d7d1980","hex_latitude":"05ea52c0","is_valid_coordinates":true} 
[2026-08-19 08:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499889664001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120659336585281536,"note":"Value kept but may cause issues"} 
[2026-08-19 08:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013954679586242560,"note":"Value kept but may cause issues"} 
[2026-08-19 08:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787108960000,"timestamp_ms":1787108960000,"timestamp_seconds":1787108960,"priority":1,"record_length":96,"hex_timestamp":"000001a017fea700"} 
[2026-08-19 08:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:39: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-08-19 08:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 08:39:36] 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-08-19 08:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:39:36] 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-08-19 08:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499889664001,"66":13276,"154":206,"87":13824,"24":18,"16":120659336585281536,"45":9013954679586242560},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-19 08:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499889664001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:39:36] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 08:39:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120659336585281536,"km_value":120659336585281.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013954679586242560,"description":"Unknown IO ID 45"} 
[2026-08-19 08:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499889664001,"power":13276,"unknown_154":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9013954679586242560}} 
[2026-08-19 08:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":158678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:39:36] local.INFO: GPS data processed {"connection_id":158678,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:39:36] local.INFO: Acknowledgment sent {"connection_id":158678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:39:39] local.INFO: TCP Data received {"connection_id":157788,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:39:39] local.INFO: Processing buffer {"connection_id":157788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:39:39] local.INFO: Packet analysis {"connection_id":157788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:39:39] local.INFO: Extracted packet for processing {"connection_id":157788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":19,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499808000001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787108926000,"timestamp_ms":1787108926000,"timestamp_seconds":1787108926,"priority":1,"record_length":96,"hex_timestamp":"000001a017fe2230"} 
[2026-08-19 08:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:39:39] 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-08-19 08:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499808000001,"66":25593,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499808000001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:39:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:39:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499808000001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":157788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:39:39] local.INFO: GPS data processed {"connection_id":157788,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:39:39] local.INFO: Acknowledgment sent {"connection_id":157788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:40:00] local.INFO: TCP Data received {"connection_id":157404,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:40:00] local.INFO: Processing buffer {"connection_id":157404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:40:00] local.INFO: IMEI packet received {"connection_id":157404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":157404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:40:05] local.INFO: TCP Data received {"connection_id":157404,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:40:05] local.INFO: Processing buffer {"connection_id":157404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:40:05] local.INFO: IMEI packet received {"connection_id":157404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":157404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:40:06] local.INFO: TCP Data received {"connection_id":157404,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:40:06] local.INFO: Processing buffer {"connection_id":157404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:40:06] local.INFO: Packet analysis {"connection_id":157404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:40:06] local.INFO: Extracted packet for processing {"connection_id":157404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":19,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499808000001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787108926000,"timestamp_ms":1787108926000,"timestamp_seconds":1787108926,"priority":1,"record_length":96,"hex_timestamp":"000001a017fe2230"} 
[2026-08-19 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-08-19 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 08:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499808000001,"66":25593,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499808000001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499808000001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":157404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:40:06] local.INFO: GPS data processed {"connection_id":157404,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:40:06] local.INFO: Acknowledgment sent {"connection_id":157404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:40:20] local.INFO: TCP Data received {"connection_id":158680,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:40:20] local.INFO: Processing buffer {"connection_id":158680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:40:20] local.INFO: IMEI packet received {"connection_id":158680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":158680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:40:26] local.INFO: TCP Data received {"connection_id":158680,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:40:26] local.INFO: Processing buffer {"connection_id":158680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:40:26] local.INFO: IMEI packet received {"connection_id":158680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":158680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:40:27] local.INFO: TCP Data received {"connection_id":158680,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017feb2b8012d7d198005ea5738000e000824..."} 
[2026-08-19 08:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017feb2b8012d7d198005ea5738000e000824..."} 
[2026-08-19 08:40:27] local.INFO: Processing buffer {"connection_id":158680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017feb2b8012d7d198005ea5738000e000824..."} 
[2026-08-19 08:40:27] local.INFO: Packet analysis {"connection_id":158680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:40:27] local.INFO: Extracted packet for processing {"connection_id":158680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763173248,"raw_latitude":99243832,"longitude_deg":76.3173248,"latitude_deg":9.9243832,"altitude":14,"angle":8,"satellites":36,"speed":11,"hex_longitude":"2d7d1980","hex_latitude":"05ea5738","is_valid_coordinates":true} 
[2026-08-19 08:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499893760001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120659392419856384,"note":"Value kept but may cause issues"} 
[2026-08-19 08:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014376892053241856,"note":"Value kept but may cause issues"} 
[2026-08-19 08:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787108963000,"timestamp_ms":1787108963000,"timestamp_seconds":1787108963,"priority":1,"record_length":96,"hex_timestamp":"000001a017feb2b8"} 
[2026-08-19 08:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-19 08:40:27] 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-08-19 08:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":158680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":158680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":158680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:40:27] 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-08-19 08:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499893760001,"66":12939,"154":206,"87":13824,"24":11,"16":120659392419856384,"45":9014376892053241856},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-19 08:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499893760001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:40:27] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 08:40:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120659392419856384,"km_value":120659392419856.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014376892053241856,"description":"Unknown IO ID 45"} 
[2026-08-19 08:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499893760001,"power":12939,"unknown_154":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9014376892053241856}} 
[2026-08-19 08:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":158680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:40:27] local.INFO: GPS data processed {"connection_id":158680,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:40:27] local.INFO: Acknowledgment sent {"connection_id":158680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:40:38] local.INFO: TCP Data received {"connection_id":157404,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:40:38] local.INFO: Processing buffer {"connection_id":157404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:40:38] local.INFO: Packet analysis {"connection_id":157404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:40:38] local.INFO: Extracted packet for processing {"connection_id":157404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":19,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499808000001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787108926000,"timestamp_ms":1787108926000,"timestamp_seconds":1787108926,"priority":1,"record_length":96,"hex_timestamp":"000001a017fe2230"} 
[2026-08-19 08:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:40:38] 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-08-19 08:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499808000001,"66":25593,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499808000001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:40:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499808000001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":157404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:40:38] local.INFO: GPS data processed {"connection_id":157404,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:40:38] local.INFO: Acknowledgment sent {"connection_id":157404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:40:59] local.INFO: TCP Data received {"connection_id":158680,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017ff00d8012d7d1c0005ea7960000d000223..."} 
[2026-08-19 08:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ff00d8012d7d1c0005ea7960000d000223..."} 
[2026-08-19 08:40:59] local.INFO: Processing buffer {"connection_id":158680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ff00d8012d7d1c0005ea7960000d000223..."} 
[2026-08-19 08:40:59] local.INFO: Packet analysis {"connection_id":158680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ff"} 
[2026-08-19 08:40:59] local.INFO: Extracted packet for processing {"connection_id":158680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ff"} 
[2026-08-19 08:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":99252576,"longitude_deg":76.3173888,"latitude_deg":9.9252576,"altitude":13,"angle":2,"satellites":35,"speed":27,"hex_longitude":"2d7d1c00","hex_latitude":"05ea7960","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499894528001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120659817621618688,"note":"Value kept but may cause issues"} 
[2026-08-19 08:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014376892053534720,"note":"Value kept but may cause issues"} 
[2026-08-19 08:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787108983000,"timestamp_ms":1787108983000,"timestamp_seconds":1787108983,"priority":1,"record_length":96,"hex_timestamp":"000001a017ff00d8"} 
[2026-08-19 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-08-19 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-08-19 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 08:40:59] 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-08-19 08: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-08-19 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-08-19 08:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":158680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":158680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":158680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:40:59] 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-08-19 08:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499894528001,"66":13363,"154":206,"87":13824,"24":27,"16":120659817621618688,"45":9014376892053534720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-19 08:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499894528001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:40:59] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 08:40:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120659817621618688,"km_value":120659817621618.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014376892053534720,"description":"Unknown IO ID 45"} 
[2026-08-19 08:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499894528001,"power":13363,"unknown_154":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":9014376892053534720}} 
[2026-08-19 08:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":158680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:40:59] local.INFO: GPS data processed {"connection_id":158680,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:40:59] local.INFO: Acknowledgment sent {"connection_id":158680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:41:00] local.INFO: TCP Data received {"connection_id":159956,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:41:00] local.INFO: Processing buffer {"connection_id":159956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:41:00] local.INFO: IMEI packet received {"connection_id":159956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":159956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:41:05] local.INFO: TCP Data received {"connection_id":159956,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:41:05] local.INFO: Processing buffer {"connection_id":159956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:41:05] local.INFO: IMEI packet received {"connection_id":159956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":159956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:41:06] local.INFO: TCP Data received {"connection_id":159956,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:41:06] local.INFO: Processing buffer {"connection_id":159956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:41:06] local.INFO: Packet analysis {"connection_id":159956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:41:06] local.INFO: Extracted packet for processing {"connection_id":159956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":19,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499808000001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787108926000,"timestamp_ms":1787108926000,"timestamp_seconds":1787108926,"priority":1,"record_length":96,"hex_timestamp":"000001a017fe2230"} 
[2026-08-19 08:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499808000001,"66":25593,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499808000001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:41:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:41:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499808000001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":159956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:41:06] local.INFO: GPS data processed {"connection_id":159956,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:41:06] local.INFO: Acknowledgment sent {"connection_id":159956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:41:20] local.INFO: TCP Data received {"connection_id":158682,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:41:20] local.INFO: Processing buffer {"connection_id":158682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:41:20] local.INFO: IMEI packet received {"connection_id":158682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":158682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:41:25] local.INFO: TCP Data received {"connection_id":158682,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:41:25] local.INFO: Processing buffer {"connection_id":158682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:41:25] local.INFO: IMEI packet received {"connection_id":158682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":158682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:41:27] local.INFO: TCP Data received {"connection_id":158682,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017ff2bd0012d7d1dc005ea9f00000e000725..."} 
[2026-08-19 08:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ff2bd0012d7d1dc005ea9f00000e000725..."} 
[2026-08-19 08:41:27] local.INFO: Processing buffer {"connection_id":158682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ff2bd0012d7d1dc005ea9f00000e000725..."} 
[2026-08-19 08:41:27] local.INFO: Packet analysis {"connection_id":158682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ff"} 
[2026-08-19 08:41:27] local.INFO: Extracted packet for processing {"connection_id":158682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ff"} 
[2026-08-19 08:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763174336,"raw_latitude":99262208,"longitude_deg":76.3174336,"latitude_deg":9.9262208,"altitude":14,"angle":7,"satellites":37,"speed":35,"hex_longitude":"2d7d1dc0","hex_latitude":"05ea9f00","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499899648001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120660290068021248,"note":"Value kept but may cause issues"} 
[2026-08-19 08:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080579497549824,"note":"Value kept but may cause issues"} 
[2026-08-19 08:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787108994000,"timestamp_ms":1787108994000,"timestamp_seconds":1787108994,"priority":1,"record_length":96,"hex_timestamp":"000001a017ff2bd0"} 
[2026-08-19 08:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 08:41:27] 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-08-19 08: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-08-19 08:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":158682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":158682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":158682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:41:27] 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-08-19 08:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499899648001,"66":13341,"154":206,"87":13824,"24":35,"16":120660290068021248,"45":9015080579497549824},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-19 08:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499899648001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:41:27] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 08:41:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120660290068021248,"km_value":120660290068021.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080579497549824,"description":"Unknown IO ID 45"} 
[2026-08-19 08:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499899648001,"power":13341,"unknown_154":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":9015080579497549824}} 
[2026-08-19 08:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":158682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:41:27] local.INFO: GPS data processed {"connection_id":158682,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:41:27] local.INFO: Acknowledgment sent {"connection_id":158682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:41:41] local.INFO: TCP Data received {"connection_id":159956,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:41:41] local.INFO: Processing buffer {"connection_id":159956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:41:41] local.INFO: Packet analysis {"connection_id":159956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:41:41] local.INFO: Extracted packet for processing {"connection_id":159956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":19,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499808000001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787108926000,"timestamp_ms":1787108926000,"timestamp_seconds":1787108926,"priority":1,"record_length":96,"hex_timestamp":"000001a017fe2230"} 
[2026-08-19 08:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:41: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-08-19 08: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499808000001,"66":25593,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499808000001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:41:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:41:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499808000001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":159956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:41:41] local.INFO: GPS data processed {"connection_id":159956,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:41:41] local.INFO: Acknowledgment sent {"connection_id":159956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:41:59] local.INFO: TCP Data received {"connection_id":158682,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017ff56c8012d7d200005eac1a0000b000326..."} 
[2026-08-19 08:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ff56c8012d7d200005eac1a0000b000326..."} 
[2026-08-19 08:41:59] local.INFO: Processing buffer {"connection_id":158682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ff56c8012d7d200005eac1a0000b000326..."} 
[2026-08-19 08:41:59] local.INFO: Packet analysis {"connection_id":158682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ff"} 
[2026-08-19 08:41:59] local.INFO: Extracted packet for processing {"connection_id":158682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ff"} 
[2026-08-19 08:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763174912,"raw_latitude":99271072,"longitude_deg":76.3174912,"latitude_deg":9.9271072,"altitude":11,"angle":3,"satellites":38,"speed":23,"hex_longitude":"2d7d2000","hex_latitude":"05eac1a0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499902464001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120660719564750848,"note":"Value kept but may cause issues"} 
[2026-08-19 08:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015573160709259264,"note":"Value kept but may cause issues"} 
[2026-08-19 08:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787109005000,"timestamp_ms":1787109005000,"timestamp_seconds":1787109005,"priority":1,"record_length":96,"hex_timestamp":"000001a017ff56c8"} 
[2026-08-19 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-08-19 08:41: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-08-19 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 08:41: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-08-19 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-08-19 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-08-19 08:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":158682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":158682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":158682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:41:59] 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-08-19 08:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499902464001,"66":13319,"157":206,"87":13824,"24":23,"16":120660719564750848,"45":9015573160709259264},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-08-19 08:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499902464001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:41:59] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-19 08:41:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120660719564750848,"km_value":120660719564750.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015573160709259264,"description":"Unknown IO ID 45"} 
[2026-08-19 08:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499902464001,"power":13319,"unknown_157":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":9015573160709259264}} 
[2026-08-19 08:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":158682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:41:59] local.INFO: GPS data processed {"connection_id":158682,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:41:59] local.INFO: Acknowledgment sent {"connection_id":158682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:42:05] local.INFO: TCP Data received {"connection_id":158683,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:42:05] local.INFO: Processing buffer {"connection_id":158683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:42:05] local.INFO: IMEI packet received {"connection_id":158683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":158683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:42:10] local.INFO: TCP Data received {"connection_id":158683,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:42:10] local.INFO: Processing buffer {"connection_id":158683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:42:10] local.INFO: IMEI packet received {"connection_id":158683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":158683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:42:11] local.INFO: TCP Data received {"connection_id":158683,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:42:11] local.INFO: Processing buffer {"connection_id":158683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:42:11] local.INFO: Packet analysis {"connection_id":158683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:42:11] local.INFO: Extracted packet for processing {"connection_id":158683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:42:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":19,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499808000001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787108926000,"timestamp_ms":1787108926000,"timestamp_seconds":1787108926,"priority":1,"record_length":96,"hex_timestamp":"000001a017fe2230"} 
[2026-08-19 08:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499808000001,"66":25593,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499808000001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:42:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:42:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499808000001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":158683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:42:11] local.INFO: GPS data processed {"connection_id":158683,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:42:11] local.INFO: Acknowledgment sent {"connection_id":158683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:42:15] local.INFO: TCP Data received {"connection_id":158683,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:42:15] local.INFO: Processing buffer {"connection_id":158683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:42:15] local.INFO: Packet analysis {"connection_id":158683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:42:15] local.INFO: Extracted packet for processing {"connection_id":158683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":19,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499808000001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787108926000,"timestamp_ms":1787108926000,"timestamp_seconds":1787108926,"priority":1,"record_length":96,"hex_timestamp":"000001a017fe2230"} 
[2026-08-19 08:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499808000001,"66":25593,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499808000001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499808000001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":158683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:42:15] local.INFO: GPS data processed {"connection_id":158683,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:42:15] local.INFO: Acknowledgment sent {"connection_id":158683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:42:20] local.INFO: TCP Data received {"connection_id":157406,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:42:20] local.INFO: Processing buffer {"connection_id":157406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:42:20] local.INFO: IMEI packet received {"connection_id":157406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":157406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:42:25] local.INFO: TCP Data received {"connection_id":157406,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:42:25] local.INFO: Processing buffer {"connection_id":157406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:42:25] local.INFO: IMEI packet received {"connection_id":157406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":157406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:42:26] local.INFO: TCP Data received {"connection_id":157406,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017ffa8d0012d7d208005eadc080008000926..."} 
[2026-08-19 08:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ffa8d0012d7d208005eadc080008000926..."} 
[2026-08-19 08:42:26] local.INFO: Processing buffer {"connection_id":157406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ffa8d0012d7d208005eadc080008000926..."} 
[2026-08-19 08:42:26] local.INFO: Packet analysis {"connection_id":157406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ff"} 
[2026-08-19 08:42:26] local.INFO: Extracted packet for processing {"connection_id":157406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ff"} 
[2026-08-19 08:42:26] local.INFO: GPS Element Parsed {"raw_longitude":763175040,"raw_latitude":99277832,"longitude_deg":76.317504,"latitude_deg":9.9277832,"altitude":8,"angle":9,"satellites":38,"speed":16,"hex_longitude":"2d7d2080","hex_latitude":"05eadc08","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499905280001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120661045982265344,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016206479409127424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787109026000,"timestamp_ms":1787109026000,"timestamp_seconds":1787109026,"priority":1,"record_length":96,"hex_timestamp":"000001a017ffa8d0"} 
[2026-08-19 08:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08: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-08-19 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 08:42:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:26] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2863726592,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:26] local.WARNING: Large IO value detected {"io_id":23,"raw_value":4272357377,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:26] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3436246571518600448,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469710542,"corrected_to":0} 
[2026-08-19 08:42:26] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147560829,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3929274368,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:26] local.WARNING: Large IO value detected {"io_id":40,"raw_value":57798689175787318,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:26] local.WARNING: Large IO value detected {"io_id":254,"raw_value":6122644988294037509,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:26] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,157,87,24,241,16,172,160,43,45,192,159,14,37,10,66,154,171,121,13,35,178,128,1,240,139,227,23,234,4,113,205,18,104,64,38,239,52,2,5,9,40,254],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1469710542,"validated":0}]} 
[2026-08-19 08:42:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792636996162355200,"timestamp_seconds":792636996162355.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 08:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:42:26] 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-08-19 08:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499905280001,"66":13526,"158":206,"87":13824,"24":16,"16":120661045982265344,"45":9016206479409127424},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-19 08:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499905280001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:42:26] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 08:42:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120661045982265344,"km_value":120661045982265.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016206479409127424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499905280001,"power":13526,"unknown_158":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":9016206479409127424}} 
[2026-08-19 08:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":157406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:42:27] local.INFO: GPS data processed {"connection_id":157406,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:42:27] local.INFO: Acknowledgment sent {"connection_id":157406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:42:58] local.INFO: TCP Data received {"connection_id":157406,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a017ffeb38012d7d220005eafce8000c016627..."} 
[2026-08-19 08:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017ffeb38012d7d220005eafce8000c016627..."} 
[2026-08-19 08:42:58] local.INFO: Processing buffer {"connection_id":157406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017ffeb38012d7d220005eafce8000c016627..."} 
[2026-08-19 08:42:58] local.INFO: Packet analysis {"connection_id":157406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017ff"} 
[2026-08-19 08:42:58] local.INFO: Extracted packet for processing {"connection_id":157406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017ff"} 
[2026-08-19 08:42:58] local.INFO: GPS Element Parsed {"raw_longitude":763175424,"raw_latitude":99286248,"longitude_deg":76.3175424,"latitude_deg":9.9286248,"altitude":12,"angle":358,"satellites":39,"speed":10,"hex_longitude":"2d7d2200","hex_latitude":"05eafce8","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499910656001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120661458299125760,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016347216899213312,"note":"Value kept but may cause issues"} 
[2026-08-19 08:42:58] 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-08-19 08:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787109043000,"timestamp_ms":1787109043000,"timestamp_seconds":1787109043,"priority":1,"record_length":96,"hex_timestamp":"000001a017ffeb38"} 
[2026-08-19 08:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:42: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-08-19 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-19 08:42:58] 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-08-19 08: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-08-19 08:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:42:58] 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-08-19 08:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499910656001,"66":12885,"158":206,"87":13824,"24":10,"16":120661458299125760,"45":9016347216899213312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-19 08:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499910656001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:42:58] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 08:42:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120661458299125760,"km_value":120661458299125.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016347216899213312,"description":"Unknown IO ID 45"} 
[2026-08-19 08:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499910656001,"power":12885,"unknown_158":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9016347216899213312}} 
[2026-08-19 08:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":157406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:42:58] local.INFO: GPS data processed {"connection_id":157406,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:42:58] local.INFO: Acknowledgment sent {"connection_id":157406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:43:00] local.INFO: TCP Data received {"connection_id":157789,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:43:00] local.INFO: Processing buffer {"connection_id":157789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:43:00] local.INFO: IMEI packet received {"connection_id":157789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":157789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:43:05] local.INFO: TCP Data received {"connection_id":157789,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:43:05] local.INFO: Processing buffer {"connection_id":157789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:43:05] local.INFO: IMEI packet received {"connection_id":157789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":157789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:43:09] local.INFO: TCP Data received {"connection_id":157789,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:43:09] local.INFO: Processing buffer {"connection_id":157789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:43:09] local.INFO: Packet analysis {"connection_id":157789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:43:09] local.INFO: Extracted packet for processing {"connection_id":157789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":19,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:43: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-08-19 08:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499808000001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787108926000,"timestamp_ms":1787108926000,"timestamp_seconds":1787108926,"priority":1,"record_length":96,"hex_timestamp":"000001a017fe2230"} 
[2026-08-19 08:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:43: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-08-19 08:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499808000001,"66":25593,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 08:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499808000001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:43:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499808000001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":157789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:43:09] local.INFO: GPS data processed {"connection_id":157789,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:43:09] local.INFO: Acknowledgment sent {"connection_id":157789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:43:25] local.INFO: TCP Data received {"connection_id":157407,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:43:25] local.INFO: Processing buffer {"connection_id":157407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:43:25] local.INFO: IMEI packet received {"connection_id":157407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":157407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:43:26] local.INFO: TCP Data received {"connection_id":157407,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:43:26] local.INFO: Processing buffer {"connection_id":157407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:43:26] local.INFO: IMEI packet received {"connection_id":157407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":157407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:43:30] local.INFO: TCP Data received {"connection_id":157407,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157407,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:43:30] local.INFO: Processing buffer {"connection_id":157407,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:43:30] local.INFO: IMEI packet received {"connection_id":157407,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":157407,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:43:31] local.INFO: TCP Data received {"connection_id":157407,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01801cbb0012d7c9fc005eae060000a00f61e..."} 
[2026-08-19 08:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01801cbb0012d7c9fc005eae060000a00f61e..."} 
[2026-08-19 08:43:31] local.INFO: Processing buffer {"connection_id":157407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01801cbb0012d7c9fc005eae060000a00f61e..."} 
[2026-08-19 08:43:31] local.INFO: Packet analysis {"connection_id":157407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01801"} 
[2026-08-19 08:43:31] local.INFO: Extracted packet for processing {"connection_id":157407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01801"} 
[2026-08-19 08:43:31] local.INFO: GPS Element Parsed {"raw_longitude":763142080,"raw_latitude":99278944,"longitude_deg":76.314208,"latitude_deg":9.9278944,"altitude":10,"angle":246,"satellites":30,"speed":30,"hex_longitude":"2d7c9fc0","hex_latitude":"05eae060","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499943424001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120663137631338496,"note":"Value kept but may cause issues"} 
[2026-08-19 08:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989395987880026112,"note":"Value kept but may cause issues"} 
[2026-08-19 08:43:31] 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-08-19 08:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787109166000,"timestamp_ms":1787109166000,"timestamp_seconds":1787109166,"priority":1,"record_length":96,"hex_timestamp":"000001a01801cbb0"} 
[2026-08-19 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-08-19 08:43: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-08-19 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":78,"data_length":795,"current_offset":136} 
[2026-08-19 08:43:31] 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-08-19 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-08-19 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-08-19 08:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":157407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":157407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":157407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:43:31] 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-08-19 08:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499943424001,"66":13504,"158":206,"87":13824,"24":30,"16":120663137631338496,"45":8989395987880026112},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-19 08:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499943424001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:43:31] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 08:43:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120663137631338496,"km_value":120663137631338.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989395987880026112,"description":"Unknown IO ID 45"} 
[2026-08-19 08:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499943424001,"power":13504,"unknown_158":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8989395987880026112}} 
[2026-08-19 08:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":157407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:43:31] local.INFO: GPS data processed {"connection_id":157407,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:43:31] local.INFO: Acknowledgment sent {"connection_id":157407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:43:36] local.INFO: TCP Data received {"connection_id":157407,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01801fe78012d7c7ec005ead200000700ef21..."} 
[2026-08-19 08:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01801fe78012d7c7ec005ead200000700ef21..."} 
[2026-08-19 08:43:36] local.INFO: Processing buffer {"connection_id":157407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01801fe78012d7c7ec005ead200000700ef21..."} 
[2026-08-19 08:43:36] local.INFO: Packet analysis {"connection_id":157407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01801"} 
[2026-08-19 08:43:36] local.INFO: Extracted packet for processing {"connection_id":157407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01801"} 
[2026-08-19 08:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763133632,"raw_latitude":99275264,"longitude_deg":76.3133632,"latitude_deg":9.9275264,"altitude":7,"angle":239,"satellites":33,"speed":14,"hex_longitude":"2d7c7ec0","hex_latitude":"05ead200","is_valid_coordinates":true} 
[2026-08-19 08:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499946496001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120663584307937280,"note":"Value kept but may cause issues"} 
[2026-08-19 08:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980107313648001024,"note":"Value kept but may cause issues"} 
[2026-08-19 08:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787109179000,"timestamp_ms":1787109179000,"timestamp_seconds":1787109179,"priority":1,"record_length":96,"hex_timestamp":"000001a01801fe78"} 
[2026-08-19 08:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-19 08:43:36] 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-08-19 08:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157407,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:43:36] 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-08-19 08:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499946496001,"66":13406,"8":206,"87":13824,"24":14,"16":120663584307937280,"45":8980107313648001024},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-08-19 08:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499946496001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:43:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 08:43:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120663584307937280,"km_value":120663584307937.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980107313648001024,"description":"Unknown IO ID 45"} 
[2026-08-19 08:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499946496001,"power":13406,"unknown_8":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8980107313648001024}} 
[2026-08-19 08:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":157407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:43:36] local.INFO: GPS data processed {"connection_id":157407,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:43:36] local.INFO: Acknowledgment sent {"connection_id":157407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:43:41] local.INFO: TCP Data received {"connection_id":157789,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:43:41] local.INFO: Processing buffer {"connection_id":157789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:43:41] local.INFO: Packet analysis {"connection_id":157789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:43:41] local.INFO: Extracted packet for processing {"connection_id":157789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:43:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":19,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499808000001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787108926000,"timestamp_ms":1787108926000,"timestamp_seconds":1787108926,"priority":1,"record_length":96,"hex_timestamp":"000001a017fe2230"} 
[2026-08-19 08:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:43: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-08-19 08: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499808000001,"66":25593,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 08:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499808000001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:43:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:43:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499808000001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":157789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:43:41] local.INFO: GPS data processed {"connection_id":157789,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:43:41] local.INFO: Acknowledgment sent {"connection_id":157789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:43:46] local.INFO: TCP Data received {"connection_id":159957,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159957,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:43:46] local.INFO: Processing buffer {"connection_id":159957,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:43:46] local.INFO: IMEI packet received {"connection_id":159957,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":159957,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:43:46] local.INFO: TCP Data received {"connection_id":159957,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a018028730012d0da2800705cf40001200be1f..."} 
[2026-08-19 08:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018028730012d0da2800705cf40001200be1f..."} 
[2026-08-19 08:43:46] local.INFO: Processing buffer {"connection_id":159957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018028730012d0da2800705cf40001200be1f..."} 
[2026-08-19 08:43:46] local.INFO: Packet analysis {"connection_id":159957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:43:46] local.INFO: Extracted packet for processing {"connection_id":159957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:43:46] local.INFO: GPS Element Parsed {"raw_longitude":755868288,"raw_latitude":117821248,"longitude_deg":75.5868288,"latitude_deg":11.7821248,"altitude":18,"angle":190,"satellites":31,"speed":15,"hex_longitude":"2d0da280","hex_latitude":"0705cf40","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499958272001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28726424902828032,"note":"Value kept but may cause issues"} 
[2026-08-19 08:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982558805115129856,"note":"Value kept but may cause issues"} 
[2026-08-19 08:43:46] 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-08-19 08:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787109214000,"timestamp_ms":1787109214000,"timestamp_seconds":1787109214,"priority":1,"record_length":96,"hex_timestamp":"000001a018028730"} 
[2026-08-19 08:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:43:46] 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-08-19 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 08:43:46] 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-08-19 08: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-08-19 08:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":159957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":159957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":159957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499958272001,"66":14396,"167":206,"94":11008,"24":15,"16":28726424902828032,"45":982558805115129856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-19 08:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499958272001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:43:46] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 08:43:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28726424902828032,"km_value":28726424902828.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":982558805115129856,"description":"Unknown IO ID 45"} 
[2026-08-19 08:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499958272001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":982558805115129856}} 
[2026-08-19 08:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":159957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663572,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:43:47] local.INFO: GPS data processed {"connection_id":159957,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:43:47] local.INFO: Acknowledgment sent {"connection_id":159957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:44:00] local.INFO: TCP Data received {"connection_id":157408,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:44:00] local.INFO: Processing buffer {"connection_id":157408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:44:00] local.INFO: IMEI packet received {"connection_id":157408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":157408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:44:05] local.INFO: TCP Data received {"connection_id":157408,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:44:05] local.INFO: Processing buffer {"connection_id":157408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:44:05] local.INFO: IMEI packet received {"connection_id":157408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":157408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:44:06] local.INFO: TCP Data received {"connection_id":157408,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:44:06] local.INFO: Processing buffer {"connection_id":157408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a017fe2230012d34c50006aa4078001300591e..."} 
[2026-08-19 08:44:06] local.INFO: Packet analysis {"connection_id":157408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:44:06] local.INFO: Extracted packet for processing {"connection_id":157408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a017fe"} 
[2026-08-19 08:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":19,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499808000001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787108926000,"timestamp_ms":1787108926000,"timestamp_seconds":1787108926,"priority":1,"record_length":96,"hex_timestamp":"000001a017fe2230"} 
[2026-08-19 08:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499808000001,"66":25593,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499808000001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499808000001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":157408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:44:06] local.INFO: GPS data processed {"connection_id":157408,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:44:06] local.INFO: Acknowledgment sent {"connection_id":157408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:44:14] local.INFO: TCP Data received {"connection_id":159958,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159958,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:44:14] local.INFO: Processing buffer {"connection_id":159958,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:44:14] local.INFO: IMEI packet received {"connection_id":159958,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":159958,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:44:20] local.INFO: TCP Data received {"connection_id":159958,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159958,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:44:20] local.INFO: Processing buffer {"connection_id":159958,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:44:20] local.INFO: IMEI packet received {"connection_id":159958,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":159958,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:44:20] local.INFO: TCP Data received {"connection_id":157790,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:44:20] local.INFO: Processing buffer {"connection_id":157790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:44:20] local.INFO: IMEI packet received {"connection_id":157790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":157790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:44:21] local.INFO: TCP Data received {"connection_id":159958,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a018029ea0012d0da2000705c5a0001300b01f..."} 
[2026-08-19 08:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018029ea0012d0da2000705c5a0001300b01f..."} 
[2026-08-19 08:44:21] local.INFO: Processing buffer {"connection_id":159958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018029ea0012d0da2000705c5a0001300b01f..."} 
[2026-08-19 08:44:21] local.INFO: Packet analysis {"connection_id":159958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:44:21] local.INFO: Extracted packet for processing {"connection_id":159958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:44:21] local.INFO: GPS Element Parsed {"raw_longitude":755868160,"raw_latitude":117818784,"longitude_deg":75.586816,"latitude_deg":11.7818784,"altitude":19,"angle":176,"satellites":31,"speed":12,"hex_longitude":"2d0da200","hex_latitude":"0705c5a0","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499958784001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28726545161912320,"note":"Value kept but may cause issues"} 
[2026-08-19 08:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982488436370784256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:44:21] 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-08-19 08:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787109220000,"timestamp_ms":1787109220000,"timestamp_seconds":1787109220,"priority":1,"record_length":96,"hex_timestamp":"000001a018029ea0"} 
[2026-08-19 08:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 08:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":159958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":159958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":159958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499958784001,"66":14276,"167":206,"94":11008,"24":12,"16":28726545161912320,"45":982488436370784256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-19 08:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499958784001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:44:21] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 08:44:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28726545161912320,"km_value":28726545161912.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":982488436370784256,"description":"Unknown IO ID 45"} 
[2026-08-19 08:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499958784001,"power":14276,"unknown_167":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":982488436370784256}} 
[2026-08-19 08:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":159958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663574,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:44:21] local.INFO: GPS data processed {"connection_id":159958,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:44:21] local.INFO: Acknowledgment sent {"connection_id":159958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:44:25] local.INFO: TCP Data received {"connection_id":157790,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:44:25] local.INFO: Processing buffer {"connection_id":157790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:44:25] local.INFO: IMEI packet received {"connection_id":157790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":157790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:44:27] local.INFO: TCP Data received {"connection_id":157790,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a018020e18012d7c7b4005eacfc8000600ff21..."} 
[2026-08-19 08:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018020e18012d7c7b4005eacfc8000600ff21..."} 
[2026-08-19 08:44:27] local.INFO: Processing buffer {"connection_id":157790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018020e18012d7c7b4005eacfc8000600ff21..."} 
[2026-08-19 08:44:27] local.INFO: Packet analysis {"connection_id":157790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:44:27] local.INFO: Extracted packet for processing {"connection_id":157790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763132736,"raw_latitude":99274696,"longitude_deg":76.3132736,"latitude_deg":9.9274696,"altitude":6,"angle":255,"satellites":33,"speed":8,"hex_longitude":"2d7c7b40","hex_latitude":"05eacfc8","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499949824001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120663635847544832,"note":"Value kept but may cause issues"} 
[2026-08-19 08:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970818639415607296,"note":"Value kept but may cause issues"} 
[2026-08-19 08:44:27] 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-08-19 08:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787109183000,"timestamp_ms":1787109183000,"timestamp_seconds":1787109183,"priority":1,"record_length":96,"hex_timestamp":"000001a018020e18"} 
[2026-08-19 08:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-19 08:44:27] 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-08-19 08: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-08-19 08:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:44:27] 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-08-19 08:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499949824001,"66":13222,"8":206,"87":13824,"24":8,"16":120663635847544832,"45":8970818639415607296},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-08-19 08:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499949824001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:44:27] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 08:44:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120663635847544832,"km_value":120663635847544.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970818639415607296,"description":"Unknown IO ID 45"} 
[2026-08-19 08:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499949824001,"power":13222,"unknown_8":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8970818639415607296}} 
[2026-08-19 08:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":157790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:44:27] local.INFO: GPS data processed {"connection_id":157790,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:44:27] local.INFO: Acknowledgment sent {"connection_id":157790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:44:37] local.INFO: TCP Data received {"connection_id":157408,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:44:37] local.INFO: Processing buffer {"connection_id":157408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:44:37] local.INFO: Packet analysis {"connection_id":157408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:44:37] local.INFO: Extracted packet for processing {"connection_id":157408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499885056001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787109227000,"timestamp_ms":1787109227000,"timestamp_seconds":1787109227,"priority":1,"record_length":96,"hex_timestamp":"000001a01802b9f8"} 
[2026-08-19 08:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 08:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499885056001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499885056001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:44:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499885056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":157408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:44:37] local.INFO: GPS data processed {"connection_id":157408,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:44:37] local.INFO: Acknowledgment sent {"connection_id":157408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:44:52] local.INFO: TCP Data received {"connection_id":159958,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0180394b8012d0da2c00705be68001401671f..."} 
[2026-08-19 08:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180394b8012d0da2c00705be68001401671f..."} 
[2026-08-19 08:44:52] local.INFO: Processing buffer {"connection_id":159958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180394b8012d0da2c00705be68001401671f..."} 
[2026-08-19 08:44:52] local.INFO: Packet analysis {"connection_id":159958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01803"} 
[2026-08-19 08:44:52] local.INFO: Extracted packet for processing {"connection_id":159958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01803"} 
[2026-08-19 08:44:52] local.INFO: GPS Element Parsed {"raw_longitude":755868352,"raw_latitude":117816936,"longitude_deg":75.5868352,"latitude_deg":11.7816936,"altitude":20,"angle":359,"satellites":31,"speed":10,"hex_longitude":"2d0da2c0","hex_latitude":"0705be68","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499975936001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28726772795179008,"note":"Value kept but may cause issues"} 
[2026-08-19 08:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982488436369592320,"note":"Value kept but may cause issues"} 
[2026-08-19 08:44:52] 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-08-19 08:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787109283000,"timestamp_ms":1787109283000,"timestamp_seconds":1787109283,"priority":1,"record_length":96,"hex_timestamp":"000001a0180394b8"} 
[2026-08-19 08:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 08:44:52] 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-08-19 08: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-08-19 08:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":159958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":159958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":159958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499975936001,"66":14428,"167":206,"94":11008,"24":10,"16":28726772795179008,"45":982488436369592320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-19 08:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499975936001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:44:52] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 08:44:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28726772795179008,"km_value":28726772795179.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":982488436369592320,"description":"Unknown IO ID 45"} 
[2026-08-19 08:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499975936001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":982488436369592320}} 
[2026-08-19 08:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":159958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663577,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:44:52] local.INFO: GPS data processed {"connection_id":159958,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:44:52] local.INFO: Acknowledgment sent {"connection_id":159958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:44:59] local.INFO: TCP Data received {"connection_id":157790,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a018026020012d7c79c005eacf880006010724..."} 
[2026-08-19 08:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018026020012d7c79c005eacf880006010724..."} 
[2026-08-19 08:44:59] local.INFO: Processing buffer {"connection_id":157790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018026020012d7c79c005eacf880006010724..."} 
[2026-08-19 08:44:59] local.INFO: Packet analysis {"connection_id":157790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:44:59] local.INFO: Extracted packet for processing {"connection_id":157790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763132352,"raw_latitude":99274632,"longitude_deg":76.3132352,"latitude_deg":9.9274632,"altitude":6,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d7c79c0","hex_latitude":"05eacf88","is_valid_coordinates":true} 
[2026-08-19 08:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499950848001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120663653027414016,"note":"Value kept but may cause issues"} 
[2026-08-19 08:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969833476996974592,"note":"Value kept but may cause issues"} 
[2026-08-19 08:44: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-08-19 08:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787109204000,"timestamp_ms":1787109204000,"timestamp_seconds":1787109204,"priority":1,"record_length":96,"hex_timestamp":"000001a018026020"} 
[2026-08-19 08:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:44: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-08-19 08:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 08:44:59] 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-08-19 08:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":157790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":157790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":157790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:44:59] 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-08-19 08:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499950848001,"66":13450,"8":206,"87":13824,"24":0,"16":120663653027414016,"45":8969833476996974592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-08-19 08:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499950848001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:44:59] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 08:44:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120663653027414016,"km_value":120663653027414.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969833476996974592,"description":"Unknown IO ID 45"} 
[2026-08-19 08:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499950848001,"power":13450,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8969833476996974592}} 
[2026-08-19 08:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":157790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:44:59] local.INFO: GPS data processed {"connection_id":157790,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:44:59] local.INFO: Acknowledgment sent {"connection_id":157790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:45:05] local.INFO: TCP Data received {"connection_id":158684,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:45:05] local.INFO: Processing buffer {"connection_id":158684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:45:05] local.INFO: IMEI packet received {"connection_id":158684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":158684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:45:10] local.INFO: TCP Data received {"connection_id":158684,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:45:10] local.INFO: Processing buffer {"connection_id":158684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:45:10] local.INFO: IMEI packet received {"connection_id":158684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":158684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:45:11] local.INFO: TCP Data received {"connection_id":158684,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:45:11] local.INFO: Processing buffer {"connection_id":158684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:45:11] local.INFO: Packet analysis {"connection_id":158684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:45:11] local.INFO: Extracted packet for processing {"connection_id":158684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:45:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499885056001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787109227000,"timestamp_ms":1787109227000,"timestamp_seconds":1787109227,"priority":1,"record_length":96,"hex_timestamp":"000001a01802b9f8"} 
[2026-08-19 08:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:45: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-08-19 08:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 08:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499885056001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499885056001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:45:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:45:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499885056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":158684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:45:11] local.INFO: GPS data processed {"connection_id":158684,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:45:11] local.INFO: Acknowledgment sent {"connection_id":158684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:45:14] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:45:14] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:45:14] local.INFO: IMEI packet received {"connection_id":159959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":159959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:45:15] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:45:15] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:45:15] local.INFO: IMEI packet received {"connection_id":159959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":159959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:45:16] local.INFO: TCP Data received {"connection_id":158684,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:45:16] local.INFO: Processing buffer {"connection_id":158684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:45:16] local.INFO: Packet analysis {"connection_id":158684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:45:16] local.INFO: Extracted packet for processing {"connection_id":158684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499885056001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787109227000,"timestamp_ms":1787109227000,"timestamp_seconds":1787109227,"priority":1,"record_length":96,"hex_timestamp":"000001a01802b9f8"} 
[2026-08-19 08:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:45: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-08-19 08: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 08:45:16] 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-08-19 08: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-08-19 08:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499885056001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499885056001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:45:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499885056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":158684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:45:16] local.INFO: GPS data processed {"connection_id":158684,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:45:16] local.INFO: Acknowledgment sent {"connection_id":158684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:45:16] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:45:16] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:45:16] local.INFO: IMEI packet received {"connection_id":159959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":159959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:45:18] local.INFO: TCP Data received {"connection_id":157791,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:45:18] local.INFO: Processing buffer {"connection_id":157791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:45:18] local.INFO: IMEI packet received {"connection_id":157791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":157791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:45:19] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:45:19] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:45:19] local.INFO: IMEI packet received {"connection_id":159959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":159959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:45:20] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01803f278012d0d89c00705ce58001300f820..."} 
[2026-08-19 08:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01803f278012d0d89c00705ce58001300f820..."} 
[2026-08-19 08:45:20] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01803f278012d0d89c00705ce58001300f820..."} 
[2026-08-19 08:45:20] local.INFO: Packet analysis {"connection_id":159959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01803"} 
[2026-08-19 08:45:20] local.INFO: Extracted packet for processing {"connection_id":159959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01803"} 
[2026-08-19 08:45:20] local.INFO: GPS Element Parsed {"raw_longitude":755861952,"raw_latitude":117821016,"longitude_deg":75.5861952,"latitude_deg":11.7821016,"altitude":19,"angle":248,"satellites":32,"speed":36,"hex_longitude":"2d0d89c0","hex_latitude":"0705ce58","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499981824001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28727356910731264,"note":"Value kept but may cause issues"} 
[2026-08-19 08:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":978055205487900672,"note":"Value kept but may cause issues"} 
[2026-08-19 08: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-08-19 08:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787109307000,"timestamp_ms":1787109307000,"timestamp_seconds":1787109307,"priority":1,"record_length":96,"hex_timestamp":"000001a01803f278"} 
[2026-08-19 08:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:45: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-08-19 08: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":71,"data_length":795,"current_offset":136} 
[2026-08-19 08:45: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-08-19 08: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-08-19 08:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":159959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":159959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":159959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499981824001,"66":14439,"167":206,"94":11008,"24":36,"16":28727356910731264,"45":978055205487900672},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-19 08:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499981824001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:45:20] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 08:45:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28727356910731264,"km_value":28727356910731.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":978055205487900672,"description":"Unknown IO ID 45"} 
[2026-08-19 08:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499981824001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":36,"odometer":null,"unknown_45":978055205487900672}} 
[2026-08-19 08:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":159959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663581,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:45:20] local.INFO: GPS data processed {"connection_id":159959,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:45:20] local.INFO: Acknowledgment sent {"connection_id":159959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:45:20] local.INFO: TCP Data received {"connection_id":157791,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:45:20] local.INFO: Processing buffer {"connection_id":157791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:45:20] local.INFO: IMEI packet received {"connection_id":157791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":157791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:45:21] local.INFO: TCP Data received {"connection_id":157791,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:45:21] local.INFO: Processing buffer {"connection_id":157791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:45:21] local.INFO: IMEI packet received {"connection_id":157791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":157791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:45:22] local.INFO: TCP Data received {"connection_id":157791,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:45:22] local.INFO: Processing buffer {"connection_id":157791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:45:22] local.INFO: IMEI packet received {"connection_id":157791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":157791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:45:51] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0180486e8012d0d5fc00705e8c0000e001320..."} 
[2026-08-19 08:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180486e8012d0d5fc00705e8c0000e001320..."} 
[2026-08-19 08:45:51] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180486e8012d0d5fc00705e8c0000e001320..."} 
[2026-08-19 08:45:51] local.INFO: Packet analysis {"connection_id":159959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01804"} 
[2026-08-19 08:45:51] local.INFO: Extracted packet for processing {"connection_id":159959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01804"} 
[2026-08-19 08:45:51] local.INFO: GPS Element Parsed {"raw_longitude":755851200,"raw_latitude":117827776,"longitude_deg":75.58512,"latitude_deg":11.7827776,"altitude":14,"angle":19,"satellites":32,"speed":12,"hex_longitude":"2d0d5fc0","hex_latitude":"0705e8c0","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499991552001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28728185839419392,"note":"Value kept but may cause issues"} 
[2026-08-19 08:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963629612932696064,"note":"Value kept but may cause issues"} 
[2026-08-19 08: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-08-19 08:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787109345000,"timestamp_ms":1787109345000,"timestamp_seconds":1787109345,"priority":1,"record_length":96,"hex_timestamp":"000001a0180486e8"} 
[2026-08-19 08:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:45:51] 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-08-19 08: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":201,"data_length":795,"current_offset":136} 
[2026-08-19 08:45: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-08-19 08: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-08-19 08:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":159959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":159959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":159959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499991552001,"66":14428,"167":206,"94":11008,"24":12,"16":28728185839419392,"45":963629612932696064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-19 08:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499991552001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:45:51] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 08:45:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28728185839419392,"km_value":28728185839419.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":963629612932696064,"description":"Unknown IO ID 45"} 
[2026-08-19 08:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499991552001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":963629612932696064}} 
[2026-08-19 08:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":159959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663582,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:45:51] local.INFO: GPS data processed {"connection_id":159959,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:45:51] local.INFO: Acknowledgment sent {"connection_id":159959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:46:01] local.INFO: TCP Data received {"connection_id":158685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:46:01] local.INFO: Processing buffer {"connection_id":158685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:46:01] local.INFO: IMEI packet received {"connection_id":158685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":158685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:46:05] local.INFO: TCP Data received {"connection_id":158685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:46:05] local.INFO: Processing buffer {"connection_id":158685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:46:05] local.INFO: IMEI packet received {"connection_id":158685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":158685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:46:06] local.INFO: TCP Data received {"connection_id":158685,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:46:06] local.INFO: Processing buffer {"connection_id":158685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:46:06] local.INFO: Packet analysis {"connection_id":158685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:46:06] local.INFO: Extracted packet for processing {"connection_id":158685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:46:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499885056001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787109227000,"timestamp_ms":1787109227000,"timestamp_seconds":1787109227,"priority":1,"record_length":96,"hex_timestamp":"000001a01802b9f8"} 
[2026-08-19 08:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 08:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499885056001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499885056001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:46:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:46:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499885056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":158685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:46:06] local.INFO: GPS data processed {"connection_id":158685,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:46:06] local.INFO: Acknowledgment sent {"connection_id":158685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:46:10] local.INFO: TCP Data received {"connection_id":158685,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:46:10] local.INFO: Processing buffer {"connection_id":158685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:46:10] local.INFO: Packet analysis {"connection_id":158685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:46:10] local.INFO: Extracted packet for processing {"connection_id":158685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499885056001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787109227000,"timestamp_ms":1787109227000,"timestamp_seconds":1787109227,"priority":1,"record_length":96,"hex_timestamp":"000001a01802b9f8"} 
[2026-08-19 08:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 08:46:10] 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-08-19 08: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-08-19 08:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499885056001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499885056001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499885056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":158685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:46:10] local.INFO: GPS data processed {"connection_id":158685,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:46:10] local.INFO: Acknowledgment sent {"connection_id":158685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:46:19] local.INFO: TCP Data received {"connection_id":157409,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157409,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:46:19] local.INFO: Processing buffer {"connection_id":157409,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:46:19] local.INFO: IMEI packet received {"connection_id":157409,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":157409,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:46:20] local.INFO: TCP Data received {"connection_id":157409,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157409,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:46:20] local.INFO: Processing buffer {"connection_id":157409,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:46:20] local.INFO: IMEI packet received {"connection_id":157409,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":157409,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:46:23] local.INFO: TCP Data received {"connection_id":157409,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157409,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:46:23] local.INFO: Processing buffer {"connection_id":157409,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:46:23] local.INFO: IMEI packet received {"connection_id":157409,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":157409,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:46:23] local.INFO: TCP Data received {"connection_id":157409,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0180492a0012d0d60c00705ec20000e016620..."} 
[2026-08-19 08:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180492a0012d0d60c00705ec20000e016620..."} 
[2026-08-19 08:46:23] local.INFO: Processing buffer {"connection_id":157409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180492a0012d0d60c00705ec20000e016620..."} 
[2026-08-19 08:46:23] local.INFO: Packet analysis {"connection_id":157409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01804"} 
[2026-08-19 08:46:23] local.INFO: Extracted packet for processing {"connection_id":157409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01804"} 
[2026-08-19 08:46:23] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":117828640,"longitude_deg":75.5851456,"latitude_deg":11.782864,"altitude":14,"angle":358,"satellites":32,"speed":11,"hex_longitude":"2d0d60c0","hex_latitude":"0705ec20","is_valid_coordinates":true} 
[2026-08-19 08:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499992320001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28728228789092352,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963699981677019136,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787109348000,"timestamp_ms":1787109348000,"timestamp_seconds":1787109348,"priority":1,"record_length":96,"hex_timestamp":"000001a0180492a0"} 
[2026-08-19 08:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:46:23] 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-08-19 08:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 08:46: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-08-19 08:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":157409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":157409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":157409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499992320001,"66":14548,"167":206,"94":11008,"24":11,"16":28728228789092352,"45":963699981677019136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-19 08:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499992320001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:46:23] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 08:46:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28728228789092352,"km_value":28728228789092.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":963699981677019136,"description":"Unknown IO ID 45"} 
[2026-08-19 08:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499992320001,"power":14548,"unknown_167":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":963699981677019136}} 
[2026-08-19 08:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":157409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663585,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:46:23] local.INFO: GPS data processed {"connection_id":157409,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:46:23] local.INFO: Acknowledgment sent {"connection_id":157409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:46:24] local.INFO: TCP Data received {"connection_id":157409,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a018049688012d0d60c00705ed20000f015820..."} 
[2026-08-19 08:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018049688012d0d60c00705ed20000f015820..."} 
[2026-08-19 08:46:24] local.INFO: Processing buffer {"connection_id":157409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018049688012d0d60c00705ed20000f015820..."} 
[2026-08-19 08:46:24] local.INFO: Packet analysis {"connection_id":157409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01804"} 
[2026-08-19 08:46:24] local.INFO: Extracted packet for processing {"connection_id":157409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01804"} 
[2026-08-19 08:46:24] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":117828896,"longitude_deg":75.5851456,"latitude_deg":11.7828896,"altitude":15,"angle":344,"satellites":32,"speed":10,"hex_longitude":"2d0d60c0","hex_latitude":"0705ed20","is_valid_coordinates":true} 
[2026-08-19 08:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499993088001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28728241673994240,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456653950976,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:24] 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-08-19 08:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787109349000,"timestamp_ms":1787109349000,"timestamp_seconds":1787109349,"priority":1,"record_length":96,"hex_timestamp":"000001a018049688"} 
[2026-08-19 08:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:46:24] 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-08-19 08:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-19 08:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":157409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":157409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":157409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499993088001,"66":14548,"167":206,"94":11008,"24":10,"16":28728241673994240,"45":963981456653950976},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-19 08:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499993088001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:46:24] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 08:46:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28728241673994240,"km_value":28728241673994.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456653950976,"description":"Unknown IO ID 45"} 
[2026-08-19 08:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499993088001,"power":14548,"unknown_167":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":963981456653950976}} 
[2026-08-19 08:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":157409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663586,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:46:24] local.INFO: GPS data processed {"connection_id":157409,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:46:24] local.INFO: Acknowledgment sent {"connection_id":157409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:46:25] local.INFO: TCP Data received {"connection_id":157409,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01804bd98012d0d5dc00705f760000f016320..."} 
[2026-08-19 08:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01804bd98012d0d5dc00705f760000f016320..."} 
[2026-08-19 08:46:25] local.INFO: Processing buffer {"connection_id":157409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01804bd98012d0d5dc00705f760000f016320..."} 
[2026-08-19 08:46:25] local.INFO: Packet analysis {"connection_id":157409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01804"} 
[2026-08-19 08:46:25] local.INFO: Extracted packet for processing {"connection_id":157409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01804"} 
[2026-08-19 08:46:25] local.INFO: GPS Element Parsed {"raw_longitude":755850688,"raw_latitude":117831520,"longitude_deg":75.5850688,"latitude_deg":11.783152,"altitude":15,"angle":355,"satellites":32,"speed":12,"hex_longitude":"2d0d5dc0","hex_latitude":"0705f760","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499993344001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28728374817980416,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456654016512,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46: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-08-19 08:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787109359000,"timestamp_ms":1787109359000,"timestamp_seconds":1787109359,"priority":1,"record_length":96,"hex_timestamp":"000001a01804bd98"} 
[2026-08-19 08:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:46:25] 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-08-19 08: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":212,"data_length":795,"current_offset":136} 
[2026-08-19 08:46: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-08-19 08: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-08-19 08:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":157409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":157409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":157409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499993344001,"66":14515,"167":206,"94":11008,"24":12,"16":28728374817980416,"45":963981456654016512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-19 08:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499993344001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:46:25] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 08:46:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28728374817980416,"km_value":28728374817980.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456654016512,"description":"Unknown IO ID 45"} 
[2026-08-19 08:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499993344001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":963981456654016512}} 
[2026-08-19 08:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":157409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663587,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:46:25] local.INFO: GPS data processed {"connection_id":157409,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:46:25] local.INFO: Acknowledgment sent {"connection_id":157409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:46:42] local.INFO: TCP Data received {"connection_id":158685,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:46:42] local.INFO: Processing buffer {"connection_id":158685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:46:42] local.INFO: Packet analysis {"connection_id":158685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:46:42] local.INFO: Extracted packet for processing {"connection_id":158685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:46:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499885056001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787109227000,"timestamp_ms":1787109227000,"timestamp_seconds":1787109227,"priority":1,"record_length":96,"hex_timestamp":"000001a01802b9f8"} 
[2026-08-19 08:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:46: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-08-19 08: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 08:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499885056001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499885056001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:46:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:46:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499885056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":158685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:46:42] local.INFO: GPS data processed {"connection_id":158685,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:46:42] local.INFO: Acknowledgment sent {"connection_id":158685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:46:55] local.INFO: TCP Data received {"connection_id":157409,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0180584d0012d0da20007063530001900261f..."} 
[2026-08-19 08:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180584d0012d0da20007063530001900261f..."} 
[2026-08-19 08:46:55] local.INFO: Processing buffer {"connection_id":157409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180584d0012d0da20007063530001900261f..."} 
[2026-08-19 08:46:55] local.INFO: Packet analysis {"connection_id":157409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01805"} 
[2026-08-19 08:46:55] local.INFO: Extracted packet for processing {"connection_id":157409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01805"} 
[2026-08-19 08:46:55] local.INFO: GPS Element Parsed {"raw_longitude":755868160,"raw_latitude":117847344,"longitude_deg":75.586816,"latitude_deg":11.7847344,"altitude":25,"angle":38,"satellites":31,"speed":14,"hex_longitude":"2d0da200","hex_latitude":"07063530","is_valid_coordinates":true} 
[2026-08-19 08:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500008704001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28729774977318912,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981995855168139264,"note":"Value kept but may cause issues"} 
[2026-08-19 08:46: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-08-19 08:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787109410000,"timestamp_ms":1787109410000,"timestamp_seconds":1787109410,"priority":1,"record_length":96,"hex_timestamp":"000001a0180584d0"} 
[2026-08-19 08:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:46:55] 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-08-19 08:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 08:46: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-08-19 08:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":157409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":157409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":157409,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500008704001,"66":14461,"167":206,"94":11008,"24":14,"16":28729774977318912,"45":981995855168139264},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-19 08:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500008704001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:46:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 08:46:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28729774977318912,"km_value":28729774977318.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":981995855168139264,"description":"Unknown IO ID 45"} 
[2026-08-19 08:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500008704001,"power":14461,"unknown_167":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":981995855168139264}} 
[2026-08-19 08:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":157409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663589,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:46:56] local.INFO: GPS data processed {"connection_id":157409,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:46:56] local.INFO: Acknowledgment sent {"connection_id":157409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:47:00] local.INFO: TCP Data received {"connection_id":157792,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:47:00] local.INFO: Processing buffer {"connection_id":157792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:47:00] local.INFO: IMEI packet received {"connection_id":157792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":157792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:47:05] local.INFO: TCP Data received {"connection_id":157792,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:47:05] local.INFO: Processing buffer {"connection_id":157792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:47:05] local.INFO: IMEI packet received {"connection_id":157792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":157792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:47:06] local.INFO: TCP Data received {"connection_id":157792,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:47:06] local.INFO: Processing buffer {"connection_id":157792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:47:06] local.INFO: Packet analysis {"connection_id":157792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:47:06] local.INFO: Extracted packet for processing {"connection_id":157792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:47:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499885056001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787109227000,"timestamp_ms":1787109227000,"timestamp_seconds":1787109227,"priority":1,"record_length":96,"hex_timestamp":"000001a01802b9f8"} 
[2026-08-19 08:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 08:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:47:06] 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-08-19 08:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499885056001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499885056001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:47:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:47:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499885056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":157792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:47:06] local.INFO: GPS data processed {"connection_id":157792,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:47:06] local.INFO: Acknowledgment sent {"connection_id":157792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:47:14] local.INFO: TCP Data received {"connection_id":158687,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158687,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:47:14] local.INFO: Processing buffer {"connection_id":158687,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:47:14] local.INFO: IMEI packet received {"connection_id":158687,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":158687,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:47:19] local.INFO: TCP Data received {"connection_id":158687,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158687,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:47:19] local.INFO: Processing buffer {"connection_id":158687,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:47:19] local.INFO: IMEI packet received {"connection_id":158687,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":158687,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:47:20] local.INFO: TCP Data received {"connection_id":158687,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0180588b8012d0da28007063670001900151f..."} 
[2026-08-19 08:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180588b8012d0da28007063670001900151f..."} 
[2026-08-19 08:47:20] local.INFO: Processing buffer {"connection_id":158687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180588b8012d0da28007063670001900151f..."} 
[2026-08-19 08:47:20] local.INFO: Packet analysis {"connection_id":158687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01805"} 
[2026-08-19 08:47:20] local.INFO: Extracted packet for processing {"connection_id":158687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01805"} 
[2026-08-19 08:47:20] local.INFO: GPS Element Parsed {"raw_longitude":755868288,"raw_latitude":117847664,"longitude_deg":75.5868288,"latitude_deg":11.7847664,"altitude":25,"angle":21,"satellites":31,"speed":14,"hex_longitude":"2d0da280","hex_latitude":"07063670","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500008960001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28729792157188096,"note":"Value kept but may cause issues"} 
[2026-08-19 08:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982347698889109504,"note":"Value kept but may cause issues"} 
[2026-08-19 08: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-08-19 08:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787109411000,"timestamp_ms":1787109411000,"timestamp_seconds":1787109411,"priority":1,"record_length":96,"hex_timestamp":"000001a0180588b8"} 
[2026-08-19 08:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:47:20] 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-08-19 08: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":125,"data_length":795,"current_offset":136} 
[2026-08-19 08:47: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-08-19 08: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-08-19 08:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500008960001,"66":14461,"167":206,"94":11008,"24":14,"16":28729792157188096,"45":982347698889109504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-19 08:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500008960001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:47:20] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 08:47:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28729792157188096,"km_value":28729792157188.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":982347698889109504,"description":"Unknown IO ID 45"} 
[2026-08-19 08:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500008960001,"power":14461,"unknown_167":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":982347698889109504}} 
[2026-08-19 08:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":158687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663591,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:47:20] local.INFO: GPS data processed {"connection_id":158687,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:47:20] local.INFO: Acknowledgment sent {"connection_id":158687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:47:24] local.INFO: TCP Data received {"connection_id":158687,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a018059088012d0da2c0070639a8001901651d..."} 
[2026-08-19 08:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018059088012d0da2c0070639a8001901651d..."} 
[2026-08-19 08:47:24] local.INFO: Processing buffer {"connection_id":158687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018059088012d0da2c0070639a8001901651d..."} 
[2026-08-19 08:47:24] local.INFO: Packet analysis {"connection_id":158687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01805"} 
[2026-08-19 08:47:24] local.INFO: Extracted packet for processing {"connection_id":158687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01805"} 
[2026-08-19 08:47:24] local.INFO: GPS Element Parsed {"raw_longitude":755868352,"raw_latitude":117848488,"longitude_deg":75.5868352,"latitude_deg":11.7848488,"altitude":25,"angle":357,"satellites":29,"speed":18,"hex_longitude":"2d0da2c0","hex_latitude":"070639a8","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500009216001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28729830811893760,"note":"Value kept but may cause issues"} 
[2026-08-19 08:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982488436377546752,"note":"Value kept but may cause issues"} 
[2026-08-19 08:47:24] 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-08-19 08:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787109413000,"timestamp_ms":1787109413000,"timestamp_seconds":1787109413,"priority":1,"record_length":96,"hex_timestamp":"000001a018059088"} 
[2026-08-19 08:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:47:24] 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-08-19 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 08:47:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500009216001,"66":14428,"167":206,"94":11008,"24":18,"16":28729830811893760,"45":982488436377546752},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-19 08:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500009216001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:47:24] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 08:47:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28729830811893760,"km_value":28729830811893.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":982488436377546752,"description":"Unknown IO ID 45"} 
[2026-08-19 08:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500009216001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":982488436377546752}} 
[2026-08-19 08:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":158687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663592,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:47:25] local.INFO: GPS data processed {"connection_id":158687,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:47:25] local.INFO: Acknowledgment sent {"connection_id":158687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:47:38] local.INFO: TCP Data received {"connection_id":157792,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:47:38] local.INFO: Processing buffer {"connection_id":157792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:47:38] local.INFO: Packet analysis {"connection_id":157792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:47:38] local.INFO: Extracted packet for processing {"connection_id":157792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499885056001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787109227000,"timestamp_ms":1787109227000,"timestamp_seconds":1787109227,"priority":1,"record_length":96,"hex_timestamp":"000001a01802b9f8"} 
[2026-08-19 08:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 08:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499885056001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499885056001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499885056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":157792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:47:38] local.INFO: GPS data processed {"connection_id":157792,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:47:38] local.INFO: Acknowledgment sent {"connection_id":157792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:47:55] local.INFO: TCP Data received {"connection_id":158687,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01805b3b0012d0da140070651c00019000a1f..."} 
[2026-08-19 08:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01805b3b0012d0da140070651c00019000a1f..."} 
[2026-08-19 08:47:55] local.INFO: Processing buffer {"connection_id":158687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01805b3b0012d0da140070651c00019000a1f..."} 
[2026-08-19 08:47:55] local.INFO: Packet analysis {"connection_id":158687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01805"} 
[2026-08-19 08:47:55] local.INFO: Extracted packet for processing {"connection_id":158687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01805"} 
[2026-08-19 08:47:55] local.INFO: GPS Element Parsed {"raw_longitude":755867968,"raw_latitude":117854656,"longitude_deg":75.5867968,"latitude_deg":11.7854656,"altitude":25,"angle":10,"satellites":31,"speed":18,"hex_longitude":"2d0da140","hex_latitude":"070651c0","is_valid_coordinates":true} 
[2026-08-19 08:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500009728001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28730131459604480,"note":"Value kept but may cause issues"} 
[2026-08-19 08:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982558805121935360,"note":"Value kept but may cause issues"} 
[2026-08-19 08:47: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-08-19 08:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787109422000,"timestamp_ms":1787109422000,"timestamp_seconds":1787109422,"priority":1,"record_length":96,"hex_timestamp":"000001a01805b3b0"} 
[2026-08-19 08:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:47:55] 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-08-19 08:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 08:47: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-08-19 08:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500009728001,"66":14537,"167":206,"94":11008,"24":18,"16":28730131459604480,"45":982558805121935360},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-19 08:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500009728001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:47:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 08:47:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28730131459604480,"km_value":28730131459604.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":982558805121935360,"description":"Unknown IO ID 45"} 
[2026-08-19 08:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500009728001,"power":14537,"unknown_167":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":982558805121935360}} 
[2026-08-19 08:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":158687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663594,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:47:55] local.INFO: GPS data processed {"connection_id":158687,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:47:55] local.INFO: Acknowledgment sent {"connection_id":158687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:48:00] local.INFO: TCP Data received {"connection_id":159960,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:48:00] local.INFO: Processing buffer {"connection_id":159960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:48:00] local.INFO: IMEI packet received {"connection_id":159960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":159960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:48:05] local.INFO: TCP Data received {"connection_id":159960,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:48:05] local.INFO: Processing buffer {"connection_id":159960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:48:05] local.INFO: IMEI packet received {"connection_id":159960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":159960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:48:06] local.INFO: TCP Data received {"connection_id":159960,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:48:06] local.INFO: Processing buffer {"connection_id":159960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:48:06] local.INFO: Packet analysis {"connection_id":159960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:48:06] local.INFO: Extracted packet for processing {"connection_id":159960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:48:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499885056001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787109227000,"timestamp_ms":1787109227000,"timestamp_seconds":1787109227,"priority":1,"record_length":96,"hex_timestamp":"000001a01802b9f8"} 
[2026-08-19 08:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 08:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:48:06] 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-08-19 08:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499885056001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499885056001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:48:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:48:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499885056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":159960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:48:06] local.INFO: GPS data processed {"connection_id":159960,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:48:06] local.INFO: Acknowledgment sent {"connection_id":159960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:48:14] local.INFO: TCP Data received {"connection_id":157411,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:48:14] local.INFO: Processing buffer {"connection_id":157411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:48:14] local.INFO: IMEI packet received {"connection_id":157411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":157411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:48:17] local.INFO: TCP Data received {"connection_id":157411,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:48:17] local.INFO: Processing buffer {"connection_id":157411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:48:17] local.INFO: IMEI packet received {"connection_id":157411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":157411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:48:18] local.INFO: TCP Data received {"connection_id":157411,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0180605b8012d0da1c0070653d80018000a1f..."} 
[2026-08-19 08:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180605b8012d0da1c0070653d80018000a1f..."} 
[2026-08-19 08:48:18] local.INFO: Processing buffer {"connection_id":157411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180605b8012d0da1c0070653d80018000a1f..."} 
[2026-08-19 08:48:18] local.INFO: Packet analysis {"connection_id":157411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01806"} 
[2026-08-19 08:48:18] local.INFO: Extracted packet for processing {"connection_id":157411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01806"} 
[2026-08-19 08:48:18] local.INFO: GPS Element Parsed {"raw_longitude":755868096,"raw_latitude":117855192,"longitude_deg":75.5868096,"latitude_deg":11.7855192,"altitude":24,"angle":10,"satellites":31,"speed":0,"hex_longitude":"2d0da1c0","hex_latitude":"070653d8","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500012032001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28730165819342848,"note":"Value kept but may cause issues"} 
[2026-08-19 08:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982136592658448384,"note":"Value kept but may cause issues"} 
[2026-08-19 08:48:18] 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-08-19 08:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787109443000,"timestamp_ms":1787109443000,"timestamp_seconds":1787109443,"priority":1,"record_length":96,"hex_timestamp":"000001a0180605b8"} 
[2026-08-19 08:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:48:18] 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-08-19 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-19 08:48:18] 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-08-19 08: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-08-19 08:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500012032001,"66":14580,"167":206,"94":11008,"24":0,"16":28730165819342848,"45":982136592658448384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-19 08:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500012032001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:48:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 08:48:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28730165819342848,"km_value":28730165819342.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":982136592658448384,"description":"Unknown IO ID 45"} 
[2026-08-19 08:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500012032001,"power":14580,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":982136592658448384}} 
[2026-08-19 08:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":157411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663596,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:48:18] local.INFO: GPS data processed {"connection_id":157411,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:48:18] local.INFO: Acknowledgment sent {"connection_id":157411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:48:37] local.INFO: TCP Data received {"connection_id":159960,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:48:37] local.INFO: Processing buffer {"connection_id":159960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:48:37] local.INFO: Packet analysis {"connection_id":159960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:48:37] local.INFO: Extracted packet for processing {"connection_id":159960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499885056001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:48: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-08-19 08:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787109227000,"timestamp_ms":1787109227000,"timestamp_seconds":1787109227,"priority":1,"record_length":96,"hex_timestamp":"000001a01802b9f8"} 
[2026-08-19 08:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 08:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499885056001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499885056001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499885056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":159960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:48:37] local.INFO: GPS data processed {"connection_id":159960,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:48:37] local.INFO: Acknowledgment sent {"connection_id":159960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:48:50] local.INFO: TCP Data received {"connection_id":157411,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0180726c8012d0dbe8007067f300018004820..."} 
[2026-08-19 08:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180726c8012d0dbe8007067f300018004820..."} 
[2026-08-19 08:48:50] local.INFO: Processing buffer {"connection_id":157411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180726c8012d0dbe8007067f300018004820..."} 
[2026-08-19 08:48:50] local.INFO: Packet analysis {"connection_id":157411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:48:50] local.INFO: Extracted packet for processing {"connection_id":157411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:48:50] local.INFO: GPS Element Parsed {"raw_longitude":755875456,"raw_latitude":117866288,"longitude_deg":75.5875456,"latitude_deg":11.7866288,"altitude":24,"angle":72,"satellites":32,"speed":17,"hex_longitude":"2d0dbe80","hex_latitude":"07067f30","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500036096001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28730835834241024,"note":"Value kept but may cause issues"} 
[2026-08-19 08:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":989947523265101824,"note":"Value kept but may cause issues"} 
[2026-08-19 08:48: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-08-19 08:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787109517000,"timestamp_ms":1787109517000,"timestamp_seconds":1787109517,"priority":1,"record_length":96,"hex_timestamp":"000001a0180726c8"} 
[2026-08-19 08:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:48:50] 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-08-19 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 08:48: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-08-19 08: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-08-19 08:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":157411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":157411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":157411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500036096001,"66":14374,"167":206,"94":11008,"24":17,"16":28730835834241024,"45":989947523265101824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-19 08:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500036096001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:48:50] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 08:48:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 08:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28730835834241024,"km_value":28730835834241.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":989947523265101824,"description":"Unknown IO ID 45"} 
[2026-08-19 08:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500036096001,"power":14374,"unknown_167":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":989947523265101824}} 
[2026-08-19 08:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":157411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663598,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:48:50] local.INFO: GPS data processed {"connection_id":157411,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:48:50] local.INFO: Acknowledgment sent {"connection_id":157411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:49:00] local.INFO: TCP Data received {"connection_id":157413,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:49:00] local.INFO: Processing buffer {"connection_id":157413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:49:00] local.INFO: IMEI packet received {"connection_id":157413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":157413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:49:05] local.INFO: TCP Data received {"connection_id":157413,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:49:05] local.INFO: Processing buffer {"connection_id":157413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:49:05] local.INFO: IMEI packet received {"connection_id":157413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":157413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:49:06] local.INFO: TCP Data received {"connection_id":157413,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:49:06] local.INFO: Processing buffer {"connection_id":157413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01802b9f8012d34c50006aa4078001400591b..."} 
[2026-08-19 08:49:06] local.INFO: Packet analysis {"connection_id":157413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:49:06] local.INFO: Extracted packet for processing {"connection_id":157413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01802"} 
[2026-08-19 08:49:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499885056001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787109227000,"timestamp_ms":1787109227000,"timestamp_seconds":1787109227,"priority":1,"record_length":96,"hex_timestamp":"000001a01802b9f8"} 
[2026-08-19 08:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 08:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:49:06] 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-08-19 08:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499885056001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499885056001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:49:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:49:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499885056001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":157413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:49:06] local.INFO: GPS data processed {"connection_id":157413,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:49:06] local.INFO: Acknowledgment sent {"connection_id":157413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:49:12] local.INFO: TCP Data received {"connection_id":158688,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158688,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:49:12] local.INFO: Processing buffer {"connection_id":158688,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:49:12] local.INFO: IMEI packet received {"connection_id":158688,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":158688,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:49:13] local.INFO: TCP Data received {"connection_id":158688,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158688,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:49:13] local.INFO: Processing buffer {"connection_id":158688,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:49:13] local.INFO: IMEI packet received {"connection_id":158688,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":158688,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:49:14] local.INFO: TCP Data received {"connection_id":158688,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158688,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:49:14] local.INFO: Processing buffer {"connection_id":158688,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:49:14] local.INFO: IMEI packet received {"connection_id":158688,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":158688,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:49:15] local.INFO: TCP Data received {"connection_id":158688,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158688,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:49:15] local.INFO: Processing buffer {"connection_id":158688,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:49:15] local.INFO: IMEI packet received {"connection_id":158688,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":158688,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:49:37] local.INFO: TCP Data received {"connection_id":157413,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:49:37] local.INFO: Processing buffer {"connection_id":157413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:49:37] local.INFO: Packet analysis {"connection_id":157413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:49:37] local.INFO: Extracted packet for processing {"connection_id":157413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499962112001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:49: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-08-19 08:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787109528000,"timestamp_ms":1787109528000,"timestamp_seconds":1787109528,"priority":1,"record_length":96,"hex_timestamp":"000001a0180751c0"} 
[2026-08-19 08:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:49: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-08-19 08:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499962112001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499962112001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499962112001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":157413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:49:37] local.INFO: GPS data processed {"connection_id":157413,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:49:37] local.INFO: Acknowledgment sent {"connection_id":157413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:50:05] local.INFO: TCP Data received {"connection_id":157793,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:50:05] local.INFO: Processing buffer {"connection_id":157793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:50:05] local.INFO: IMEI packet received {"connection_id":157793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":157793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:50:10] local.INFO: TCP Data received {"connection_id":157793,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:50:10] local.INFO: Processing buffer {"connection_id":157793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:50:10] local.INFO: IMEI packet received {"connection_id":157793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":157793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:50:11] local.INFO: TCP Data received {"connection_id":157793,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:50:11] local.INFO: Processing buffer {"connection_id":157793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:50:11] local.INFO: Packet analysis {"connection_id":157793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:50:11] local.INFO: Extracted packet for processing {"connection_id":157793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:50:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499962112001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787109528000,"timestamp_ms":1787109528000,"timestamp_seconds":1787109528,"priority":1,"record_length":96,"hex_timestamp":"000001a0180751c0"} 
[2026-08-19 08:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499962112001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499962112001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:50:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:50:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499962112001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":157793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:50:11] local.INFO: GPS data processed {"connection_id":157793,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:50:11] local.INFO: Acknowledgment sent {"connection_id":157793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:50:15] local.INFO: TCP Data received {"connection_id":157793,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:50:15] local.INFO: Processing buffer {"connection_id":157793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:50:15] local.INFO: Packet analysis {"connection_id":157793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:50:15] local.INFO: Extracted packet for processing {"connection_id":157793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:50:15] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499962112001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787109528000,"timestamp_ms":1787109528000,"timestamp_seconds":1787109528,"priority":1,"record_length":96,"hex_timestamp":"000001a0180751c0"} 
[2026-08-19 08:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499962112001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499962112001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:50:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:50:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499962112001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":157793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:50:15] local.INFO: GPS data processed {"connection_id":157793,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:50:15] local.INFO: Acknowledgment sent {"connection_id":157793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:50:25] local.INFO: TCP Data received {"connection_id":158690,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:50:25] local.INFO: Processing buffer {"connection_id":158690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:50:25] local.INFO: IMEI packet received {"connection_id":158690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":158690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:50:30] local.INFO: TCP Data received {"connection_id":158690,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158690,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:50:30] local.INFO: Processing buffer {"connection_id":158690,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:50:30] local.INFO: IMEI packet received {"connection_id":158690,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":158690,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:50:31] local.INFO: TCP Data received {"connection_id":158690,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a018079810012d7d1d0005ec3df8000600f023..."} 
[2026-08-19 08:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018079810012d7d1d0005ec3df8000600f023..."} 
[2026-08-19 08:50:31] local.INFO: Processing buffer {"connection_id":158690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018079810012d7d1d0005ec3df8000600f023..."} 
[2026-08-19 08:50:31] local.INFO: Packet analysis {"connection_id":158690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:50:31] local.INFO: Extracted packet for processing {"connection_id":158690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":99368440,"longitude_deg":76.3174144,"latitude_deg":9.936844,"altitude":6,"angle":240,"satellites":35,"speed":9,"hex_longitude":"2d7d1d00","hex_latitude":"05ec3df8","is_valid_coordinates":true} 
[2026-08-19 08:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500043520001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120673067595726848,"note":"Value kept but may cause issues"} 
[2026-08-19 08:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015573160736491520,"note":"Value kept but may cause issues"} 
[2026-08-19 08:50:31] 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-08-19 08:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787109546000,"timestamp_ms":1787109546000,"timestamp_seconds":1787109546,"priority":1,"record_length":96,"hex_timestamp":"000001a018079810"} 
[2026-08-19 08:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":158690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":158690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":158690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:50:31] 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-08-19 08:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500043520001,"66":12526,"197":206,"87":13824,"24":9,"16":120673067595726848,"45":9015573160736491520},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-19 08:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500043520001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:50:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-19 08:50:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120673067595726848,"km_value":120673067595726.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015573160736491520,"description":"Unknown IO ID 45"} 
[2026-08-19 08:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500043520001,"power":12526,"unknown_197":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9015573160736491520}} 
[2026-08-19 08:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":158690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:50:31] local.INFO: GPS data processed {"connection_id":158690,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:50:31] local.INFO: Acknowledgment sent {"connection_id":158690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:50:32] local.INFO: TCP Data received {"connection_id":158690,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01807a7b0012d7d188005ec3c50000400ff25..."} 
[2026-08-19 08:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01807a7b0012d7d188005ec3c50000400ff25..."} 
[2026-08-19 08:50:32] local.INFO: Processing buffer {"connection_id":158690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01807a7b0012d7d188005ec3c50000400ff25..."} 
[2026-08-19 08:50:32] local.INFO: Packet analysis {"connection_id":158690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:50:32] local.INFO: Extracted packet for processing {"connection_id":158690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:50:32] local.INFO: GPS Element Parsed {"raw_longitude":763172992,"raw_latitude":99368016,"longitude_deg":76.3172992,"latitude_deg":9.9368016,"altitude":4,"angle":255,"satellites":37,"speed":16,"hex_longitude":"2d7d1880","hex_latitude":"05ec3c50","is_valid_coordinates":true} 
[2026-08-19 08:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500043776001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120673127725268992,"note":"Value kept but may cause issues"} 
[2026-08-19 08:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054503921664,"note":"Value kept but may cause issues"} 
[2026-08-19 08:50: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-08-19 08:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787109550000,"timestamp_ms":1787109550000,"timestamp_seconds":1787109550,"priority":1,"record_length":96,"hex_timestamp":"000001a01807a7b0"} 
[2026-08-19 08:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:50:32] 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-08-19 08:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:50:32] 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-08-19 08:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500043776001,"66":13330,"110":206,"87":13824,"24":16,"16":120673127725268992,"45":9015362054503921664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 08:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500043776001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:50:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 08:50:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120673127725268992,"km_value":120673127725268.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054503921664,"description":"Unknown IO ID 45"} 
[2026-08-19 08:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500043776001,"power":13330,"unknown_110":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":9015362054503921664}} 
[2026-08-19 08:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":158690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:50:32] local.INFO: GPS data processed {"connection_id":158690,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:50:32] local.INFO: Acknowledgment sent {"connection_id":158690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:51:00] local.INFO: TCP Data received {"connection_id":157794,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:51:00] local.INFO: Processing buffer {"connection_id":157794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:51:00] local.INFO: IMEI packet received {"connection_id":157794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":157794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:51:03] local.INFO: TCP Data received {"connection_id":158690,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01807af80012d7d150005ec3be80004010c24..."} 
[2026-08-19 08:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01807af80012d7d150005ec3be80004010c24..."} 
[2026-08-19 08:51:03] local.INFO: Processing buffer {"connection_id":158690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01807af80012d7d150005ec3be80004010c24..."} 
[2026-08-19 08:51:03] local.INFO: Packet analysis {"connection_id":158690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:51:03] local.INFO: Extracted packet for processing {"connection_id":158690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:51:03] local.INFO: GPS Element Parsed {"raw_longitude":763172096,"raw_latitude":99367912,"longitude_deg":76.3172096,"latitude_deg":9.9367912,"altitude":4,"angle":268,"satellites":36,"speed":21,"hex_longitude":"2d7d1500","hex_latitude":"05ec3be8","is_valid_coordinates":true} 
[2026-08-19 08:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500044800001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120673170674941952,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014095417108615168,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787109552000,"timestamp_ms":1787109552000,"timestamp_seconds":1787109552,"priority":1,"record_length":96,"hex_timestamp":"000001a01807af80"} 
[2026-08-19 08:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:51: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-08-19 08:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-19 08:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:03] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2684431741,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277796719737979760,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:03] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4807592623699861504,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1438974158,"corrected_to":0} 
[2026-08-19 08:51:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085589,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:03] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3078029312,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:03] local.WARNING: Large IO value detected {"io_id":139,"raw_value":57796674836125494,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":8705459374591328261,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:03] local.WARNING: Large IO value detected {"io_id":15,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:03] local.WARNING: Large IO value detected {"io_id":85,"raw_value":-4251171174274295808,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:03] local.WARNING: Large IO value detected {"io_id":95,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:03] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,110,87,24,241,157,16,183,160,152,45,61,6,35,10,66,197,148,192,62,34,140,128,1,240,69,227,236,4,113,205,30,144,32,239,50,2,172,5,13,139,7,15,85,95],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1438974158,"validated":0}]} 
[2026-08-19 08:51:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288510910531633152,"timestamp_seconds":288510910531633.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 08:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":158690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":158690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":158690,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:51:03] 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-08-19 08:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500044800001,"66":13330,"110":206,"87":13824,"24":21,"16":120673170674941952,"45":9014095417108615168},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 08:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500044800001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:51:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 08:51:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120673170674941952,"km_value":120673170674941.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014095417108615168,"description":"Unknown IO ID 45"} 
[2026-08-19 08:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500044800001,"power":13330,"unknown_110":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":9014095417108615168}} 
[2026-08-19 08:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":158690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:51:03] local.INFO: GPS data processed {"connection_id":158690,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:51:03] local.INFO: Acknowledgment sent {"connection_id":158690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:51:05] local.INFO: TCP Data received {"connection_id":157794,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:51:05] local.INFO: Processing buffer {"connection_id":157794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:51:05] local.INFO: IMEI packet received {"connection_id":157794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":157794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:51:07] local.INFO: TCP Data received {"connection_id":157794,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:51:07] local.INFO: Processing buffer {"connection_id":157794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:51:07] local.INFO: Packet analysis {"connection_id":157794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:51:07] local.INFO: Extracted packet for processing {"connection_id":157794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:51:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499962112001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787109528000,"timestamp_ms":1787109528000,"timestamp_seconds":1787109528,"priority":1,"record_length":96,"hex_timestamp":"000001a0180751c0"} 
[2026-08-19 08:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:51: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-08-19 08:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499962112001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499962112001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:51:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:51:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499962112001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":157794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:51:07] local.INFO: GPS data processed {"connection_id":157794,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:51:07] local.INFO: Acknowledgment sent {"connection_id":157794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:51:20] local.INFO: TCP Data received {"connection_id":157414,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:51:20] local.INFO: Processing buffer {"connection_id":157414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:51:20] local.INFO: IMEI packet received {"connection_id":157414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":157414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:51:25] local.INFO: TCP Data received {"connection_id":157414,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:51:25] local.INFO: Processing buffer {"connection_id":157414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:51:25] local.INFO: IMEI packet received {"connection_id":157414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":157414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:51:27] local.INFO: TCP Data received {"connection_id":157414,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01807da78012d7cf04005ec3a400004010b25..."} 
[2026-08-19 08:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01807da78012d7cf04005ec3a400004010b25..."} 
[2026-08-19 08:51:27] local.INFO: Processing buffer {"connection_id":157414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01807da78012d7cf04005ec3a400004010b25..."} 
[2026-08-19 08:51:27] local.INFO: Packet analysis {"connection_id":157414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:51:27] local.INFO: Extracted packet for processing {"connection_id":157414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763162688,"raw_latitude":99367488,"longitude_deg":76.3162688,"latitude_deg":9.9367488,"altitude":4,"angle":267,"satellites":37,"speed":39,"hex_longitude":"2d7cf040","hex_latitude":"05ec3a40","is_valid_coordinates":true} 
[2026-08-19 08:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500045312001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120673621646508032,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013110254690101248,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51: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-08-19 08:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787109563000,"timestamp_ms":1787109563000,"timestamp_seconds":1787109563,"priority":1,"record_length":96,"hex_timestamp":"000001a01807da78"} 
[2026-08-19 08:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:51: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-08-19 08:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-19 08:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:27] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2164260864,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277807165098443448,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:27] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4769312026867998720,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1438974158,"corrected_to":0} 
[2026-08-19 08:51:27] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2281778557,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:27] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147871808,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:27] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3078160384,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:27] local.WARNING: Large IO value detected {"io_id":139,"raw_value":57796674836125494,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:27] local.WARNING: Large IO value detected {"io_id":7,"raw_value":8986934351302066181,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:27] local.WARNING: Large IO value detected {"io_id":13,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:27] local.WARNING: Large IO value detected {"io_id":85,"raw_value":-4251171174274295808,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:27] local.WARNING: Large IO value detected {"io_id":95,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:27] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,110,87,24,241,157,16,183,160,167,45,128,60,4,37,10,66,152,61,6,35,197,148,192,1,240,238,227,236,113,205,5,132,30,248,33,239,50,2,172,8,139,7,13,85,95],"length":626,"final_offset":756,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1438974158,"validated":0}]} 
[2026-08-19 08:51:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288525199888154624,"timestamp_seconds":288525199888154.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 08:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:51:27] 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-08-19 08:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500045312001,"66":13254,"110":206,"87":13824,"24":39,"16":120673621646508032,"45":9013110254690101248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 08:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500045312001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:51:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 08:51:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120673621646508032,"km_value":120673621646508.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013110254690101248,"description":"Unknown IO ID 45"} 
[2026-08-19 08:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500045312001,"power":13254,"unknown_110":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":9013110254690101248}} 
[2026-08-19 08:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":157414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:51:27] local.INFO: GPS data processed {"connection_id":157414,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:51:27] local.INFO: Acknowledgment sent {"connection_id":157414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:51:32] local.INFO: TCP Data received {"connection_id":157414,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a018080570012d7ccc0005ec39180005010b25..."} 
[2026-08-19 08:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018080570012d7ccc0005ec39180005010b25..."} 
[2026-08-19 08:51:32] local.INFO: Processing buffer {"connection_id":157414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018080570012d7ccc0005ec39180005010b25..."} 
[2026-08-19 08:51:32] local.INFO: Packet analysis {"connection_id":157414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01808"} 
[2026-08-19 08:51:32] local.INFO: Extracted packet for processing {"connection_id":157414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01808"} 
[2026-08-19 08:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763153408,"raw_latitude":99367192,"longitude_deg":76.3153408,"latitude_deg":9.9367192,"altitude":5,"angle":267,"satellites":37,"speed":26,"hex_longitude":"2d7ccc00","hex_latitude":"05ec3918","is_valid_coordinates":true} 
[2026-08-19 08:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500048128001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120674064028139520,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002766049295876096,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51: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-08-19 08:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787109574000,"timestamp_ms":1787109574000,"timestamp_seconds":1787109574,"priority":1,"record_length":96,"hex_timestamp":"000001a018080570"} 
[2026-08-19 08:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-19 08:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":157414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":157414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":157414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:51:32] 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-08-19 08:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500048128001,"66":12972,"110":206,"87":13824,"24":26,"16":120674064028139520,"45":9002766049295876096},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 08:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500048128001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:51:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 08:51:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120674064028139520,"km_value":120674064028139.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002766049295876096,"description":"Unknown IO ID 45"} 
[2026-08-19 08:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500048128001,"power":12972,"unknown_110":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":9002766049295876096}} 
[2026-08-19 08:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":157414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:51:32] local.INFO: GPS data processed {"connection_id":157414,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:51:32] local.INFO: Acknowledgment sent {"connection_id":157414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:51:39] local.INFO: TCP Data received {"connection_id":157794,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:51:39] local.INFO: Processing buffer {"connection_id":157794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:51:39] local.INFO: Packet analysis {"connection_id":157794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:51:39] local.INFO: Extracted packet for processing {"connection_id":157794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:51:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499962112001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787109528000,"timestamp_ms":1787109528000,"timestamp_seconds":1787109528,"priority":1,"record_length":96,"hex_timestamp":"000001a0180751c0"} 
[2026-08-19 08:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499962112001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499962112001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:51:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:51:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499962112001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":157794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:51:39] local.INFO: GPS data processed {"connection_id":157794,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:51:39] local.INFO: Acknowledgment sent {"connection_id":157794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:52:00] local.INFO: TCP Data received {"connection_id":158691,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:52:00] local.INFO: Processing buffer {"connection_id":158691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:52:00] local.INFO: IMEI packet received {"connection_id":158691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":158691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:52:05] local.INFO: TCP Data received {"connection_id":158691,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:52:05] local.INFO: Processing buffer {"connection_id":158691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:52:05] local.INFO: IMEI packet received {"connection_id":158691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":158691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:52:06] local.INFO: TCP Data received {"connection_id":158691,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:52:06] local.INFO: Processing buffer {"connection_id":158691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:52:06] local.INFO: Packet analysis {"connection_id":158691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:52:06] local.INFO: Extracted packet for processing {"connection_id":158691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499962112001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787109528000,"timestamp_ms":1787109528000,"timestamp_seconds":1787109528,"priority":1,"record_length":96,"hex_timestamp":"000001a0180751c0"} 
[2026-08-19 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-08-19 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 08:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499962112001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499962112001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:52:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:52:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499962112001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":158691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:52:06] local.INFO: GPS data processed {"connection_id":158691,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:52:06] local.INFO: Acknowledgment sent {"connection_id":158691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:52:06] local.INFO: TCP Data received {"connection_id":157414,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a018083838012d7ca74005ec38400008010c25..."} 
[2026-08-19 08:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018083838012d7ca74005ec38400008010c25..."} 
[2026-08-19 08:52:06] local.INFO: Processing buffer {"connection_id":157414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018083838012d7ca74005ec38400008010c25..."} 
[2026-08-19 08:52:06] local.INFO: Packet analysis {"connection_id":157414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01808"} 
[2026-08-19 08:52:06] local.INFO: Extracted packet for processing {"connection_id":157414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01808"} 
[2026-08-19 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763144000,"raw_latitude":99366976,"longitude_deg":76.3144,"latitude_deg":9.9366976,"altitude":8,"angle":268,"satellites":37,"speed":25,"hex_longitude":"2d7ca740","hex_latitude":"05ec3840","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500050944001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120674514999705600,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992562581390039040,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787109587000,"timestamp_ms":1787109587000,"timestamp_seconds":1787109587,"priority":1,"record_length":96,"hex_timestamp":"000001a018083838"} 
[2026-08-19 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-08-19 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 08:52: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-08-19 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-08-19 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-08-19 08:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:52: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-08-19 08:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500050944001,"66":13374,"110":206,"87":13824,"24":25,"16":120674514999705600,"45":8992562581390039040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 08:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500050944001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:52:06] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 08:52:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120674514999705600,"km_value":120674514999705.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992562581390039040,"description":"Unknown IO ID 45"} 
[2026-08-19 08:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500050944001,"power":13374,"unknown_110":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8992562581390039040}} 
[2026-08-19 08:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":157414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:52:06] local.INFO: GPS data processed {"connection_id":157414,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:52:06] local.INFO: Acknowledgment sent {"connection_id":157414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:52:20] local.INFO: TCP Data received {"connection_id":157795,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:52:20] local.INFO: Processing buffer {"connection_id":157795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:52:20] local.INFO: IMEI packet received {"connection_id":157795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":157795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:52:26] local.INFO: TCP Data received {"connection_id":157795,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:52:26] local.INFO: Processing buffer {"connection_id":157795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:52:26] local.INFO: IMEI packet received {"connection_id":157795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":157795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:52:27] local.INFO: TCP Data received {"connection_id":157795,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a018086ee8012d7c83c005ec3790000b010c26..."} 
[2026-08-19 08:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018086ee8012d7c83c005ec3790000b010c26..."} 
[2026-08-19 08:52:27] local.INFO: Processing buffer {"connection_id":157795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018086ee8012d7c83c005ec3790000b010c26..."} 
[2026-08-19 08:52:27] local.INFO: Packet analysis {"connection_id":157795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01808"} 
[2026-08-19 08:52:27] local.INFO: Extracted packet for processing {"connection_id":157795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01808"} 
[2026-08-19 08:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763134912,"raw_latitude":99366800,"longitude_deg":76.3134912,"latitude_deg":9.93668,"altitude":11,"angle":268,"satellites":38,"speed":30,"hex_longitude":"2d7c83c0","hex_latitude":"05ec3790","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500054272001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120674948791402496,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982218375995867136,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:27] 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-08-19 08:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787109601000,"timestamp_ms":1787109601000,"timestamp_seconds":1787109601,"priority":1,"record_length":96,"hex_timestamp":"000001a018086ee8"} 
[2026-08-19 08:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:52: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-08-19 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 08:52:27] 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-08-19 08: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-08-19 08:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:52:27] 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-08-19 08:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500054272001,"66":13319,"198":206,"87":13824,"24":30,"16":120674948791402496,"45":8982218375995867136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-19 08:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500054272001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:52:27] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-19 08:52:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120674948791402496,"km_value":120674948791402.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982218375995867136,"description":"Unknown IO ID 45"} 
[2026-08-19 08:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500054272001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8982218375995867136}} 
[2026-08-19 08:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":157795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:52:27] local.INFO: GPS data processed {"connection_id":157795,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:52:27] local.INFO: Acknowledgment sent {"connection_id":157795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:52:38] local.INFO: TCP Data received {"connection_id":158691,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:52:38] local.INFO: Processing buffer {"connection_id":158691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:52:38] local.INFO: Packet analysis {"connection_id":158691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:52:38] local.INFO: Extracted packet for processing {"connection_id":158691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499962112001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787109528000,"timestamp_ms":1787109528000,"timestamp_seconds":1787109528,"priority":1,"record_length":96,"hex_timestamp":"000001a0180751c0"} 
[2026-08-19 08:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:52:38] 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-08-19 08:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499962112001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499962112001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499962112001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":158691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:52:38] local.INFO: GPS data processed {"connection_id":158691,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:52:38] local.INFO: Acknowledgment sent {"connection_id":158691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:52:58] local.INFO: TCP Data received {"connection_id":157795,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01808a1b0012d7c5f8005ec3618000c010c25..."} 
[2026-08-19 08:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01808a1b0012d7c5f8005ec3618000c010c25..."} 
[2026-08-19 08:52:58] local.INFO: Processing buffer {"connection_id":157795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01808a1b0012d7c5f8005ec3618000c010c25..."} 
[2026-08-19 08:52:58] local.INFO: Packet analysis {"connection_id":157795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01808"} 
[2026-08-19 08:52:58] local.INFO: Extracted packet for processing {"connection_id":157795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01808"} 
[2026-08-19 08:52:58] local.INFO: GPS Element Parsed {"raw_longitude":763125632,"raw_latitude":99366424,"longitude_deg":76.3125632,"latitude_deg":9.9366424,"altitude":12,"angle":268,"satellites":37,"speed":26,"hex_longitude":"2d7c5f80","hex_latitude":"05ec3618","is_valid_coordinates":true} 
[2026-08-19 08:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500057856001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120675391173033984,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972226014322593792,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:58] 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-08-19 08:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787109614000,"timestamp_ms":1787109614000,"timestamp_seconds":1787109614,"priority":1,"record_length":96,"hex_timestamp":"000001a01808a1b0"} 
[2026-08-19 08:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:52: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-08-19 08:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 08:52:58] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2147871804,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963484160,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:58] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4505851452968739328,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-19 08:52:58] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2952867197,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:58] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3079798784,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:58] local.WARNING: Large IO value detected {"io_id":238,"raw_value":57796674836125494,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:58] local.WARNING: Large IO value detected {"io_id":7,"raw_value":-7770959862143533051,"note":"Value kept but may cause issues"} 
[2026-08-19 08:52:58] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,198,87,24,241,157,16,185,160,56,45,64,8,37,10,66,110,184,5,57,218,1,240,227,236,4,113,205,21,167,80,239,52,2,172,6,9,238,7],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-19 08:52:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792928366744174592,"timestamp_seconds":792928366744174.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 08:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157795,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:52:58] 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-08-19 08:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500057856001,"66":13417,"198":206,"87":13824,"24":26,"16":120675391173033984,"45":8972226014322593792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-19 08:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500057856001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:52:58] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-19 08:52:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120675391173033984,"km_value":120675391173033.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972226014322593792,"description":"Unknown IO ID 45"} 
[2026-08-19 08:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500057856001,"power":13417,"unknown_198":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8972226014322593792}} 
[2026-08-19 08:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":157795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:52:58] local.INFO: GPS data processed {"connection_id":157795,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:52:58] local.INFO: Acknowledgment sent {"connection_id":157795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:53:01] local.INFO: TCP Data received {"connection_id":157796,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:53:01] local.INFO: Processing buffer {"connection_id":157796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:53:01] local.INFO: IMEI packet received {"connection_id":157796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":157796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:53:05] local.INFO: TCP Data received {"connection_id":157796,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:53:05] local.INFO: Processing buffer {"connection_id":157796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:53:05] local.INFO: IMEI packet received {"connection_id":157796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":157796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:53:06] local.INFO: TCP Data received {"connection_id":157796,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:53:06] local.INFO: Processing buffer {"connection_id":157796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:53:06] local.INFO: Packet analysis {"connection_id":157796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:53:06] local.INFO: Extracted packet for processing {"connection_id":157796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:53:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499962112001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787109528000,"timestamp_ms":1787109528000,"timestamp_seconds":1787109528,"priority":1,"record_length":96,"hex_timestamp":"000001a0180751c0"} 
[2026-08-19 08:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:53:06] 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-08-19 08:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499962112001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499962112001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:53:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:53:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499962112001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":157796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:53:06] local.INFO: GPS data processed {"connection_id":157796,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:53:06] local.INFO: Acknowledgment sent {"connection_id":157796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:53:20] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:53:20] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:53:20] local.INFO: IMEI packet received {"connection_id":159964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":159964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:53:21] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:53:21] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:53:21] local.INFO: IMEI packet received {"connection_id":159964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":159964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:53:25] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:53:25] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:53:25] local.INFO: IMEI packet received {"connection_id":159964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":159964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:53:26] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0180b1e68012d7ae44005ebcc48000c00f327..."} 
[2026-08-19 08:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180b1e68012d7ae44005ebcc48000c00f327..."} 
[2026-08-19 08:53:26] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180b1e68012d7ae44005ebcc48000c00f327..."} 
[2026-08-19 08:53:26] local.INFO: Packet analysis {"connection_id":159964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:53:26] local.INFO: Extracted packet for processing {"connection_id":159964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:53:26] local.INFO: GPS Element Parsed {"raw_longitude":763028544,"raw_latitude":99339336,"longitude_deg":76.3028544,"latitude_deg":9.9339336,"altitude":12,"angle":243,"satellites":39,"speed":35,"hex_longitude":"2d7ae440","hex_latitude":"05ebcc48","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500100352001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120680274550849536,"note":"Value kept but may cause issues"} 
[2026-08-19 08:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864491466980632576,"note":"Value kept but may cause issues"} 
[2026-08-19 08:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787109777000,"timestamp_ms":1787109777000,"timestamp_seconds":1787109777,"priority":1,"record_length":96,"hex_timestamp":"000001a0180b1e68"} 
[2026-08-19 08:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:53: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-08-19 08:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 08:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:53:26] 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-08-19 08:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500100352001,"66":13298,"98":206,"87":13824,"24":35,"16":120680274550849536,"45":8864491466980632576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-19 08:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500100352001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:53:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-19 08:53:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120680274550849536,"km_value":120680274550849.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864491466980632576,"description":"Unknown IO ID 45"} 
[2026-08-19 08:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500100352001,"power":13298,"unknown_98":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8864491466980632576}} 
[2026-08-19 08:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":159964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:53:26] local.INFO: GPS data processed {"connection_id":159964,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:53:26] local.INFO: Acknowledgment sent {"connection_id":159964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:53:39] local.INFO: TCP Data received {"connection_id":157796,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:53:39] local.INFO: Processing buffer {"connection_id":157796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:53:39] local.INFO: Packet analysis {"connection_id":157796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:53:39] local.INFO: Extracted packet for processing {"connection_id":157796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:53:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499962112001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787109528000,"timestamp_ms":1787109528000,"timestamp_seconds":1787109528,"priority":1,"record_length":96,"hex_timestamp":"000001a0180751c0"} 
[2026-08-19 08:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:53:39] 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-08-19 08:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499962112001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499962112001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:53:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:53:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499962112001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":157796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:53:39] local.INFO: GPS data processed {"connection_id":157796,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:53:39] local.INFO: Acknowledgment sent {"connection_id":157796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:53:58] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0180b4960012d7ac4c005ebbcc8000a00f527..."} 
[2026-08-19 08:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180b4960012d7ac4c005ebbcc8000a00f527..."} 
[2026-08-19 08:53:58] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180b4960012d7ac4c005ebbcc8000a00f527..."} 
[2026-08-19 08:53:58] local.INFO: Packet analysis {"connection_id":159964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:53:58] local.INFO: Extracted packet for processing {"connection_id":159964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763020480,"raw_latitude":99335368,"longitude_deg":76.302048,"latitude_deg":9.9335368,"altitude":10,"angle":245,"satellites":39,"speed":30,"hex_longitude":"2d7ac4c0","hex_latitude":"05ebbcc8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500102912001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120680704047579136,"note":"Value kept but may cause issues"} 
[2026-08-19 08:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855273161492285440,"note":"Value kept but may cause issues"} 
[2026-08-19 08:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787109788000,"timestamp_ms":1787109788000,"timestamp_seconds":1787109788,"priority":1,"record_length":96,"hex_timestamp":"000001a0180b4960"} 
[2026-08-19 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-08-19 08:53: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-08-19 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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-19 08:53:58] 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-08-19 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-08-19 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-08-19 08:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:53:58] 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-08-19 08:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500102912001,"66":13428,"98":206,"87":13824,"24":30,"16":120680704047579136,"45":8855273161492285440},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-19 08:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500102912001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:53:58] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-19 08:53:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120680704047579136,"km_value":120680704047579.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855273161492285440,"description":"Unknown IO ID 45"} 
[2026-08-19 08:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500102912001,"power":13428,"unknown_98":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8855273161492285440}} 
[2026-08-19 08:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":159964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:53:58] local.INFO: GPS data processed {"connection_id":159964,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:53:58] local.INFO: Acknowledgment sent {"connection_id":159964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:54:00] local.INFO: TCP Data received {"connection_id":157416,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:54:00] local.INFO: Processing buffer {"connection_id":157416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:54:00] local.INFO: IMEI packet received {"connection_id":157416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":157416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:54:05] local.INFO: TCP Data received {"connection_id":157416,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:54:05] local.INFO: Processing buffer {"connection_id":157416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:54:05] local.INFO: IMEI packet received {"connection_id":157416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":157416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:54:06] local.INFO: TCP Data received {"connection_id":157416,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:54:06] local.INFO: Processing buffer {"connection_id":157416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180751c0012d34c50006aa4078001400591e..."} 
[2026-08-19 08:54:06] local.INFO: Packet analysis {"connection_id":157416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:54:06] local.INFO: Extracted packet for processing {"connection_id":157416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01807"} 
[2026-08-19 08:54:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457499962112001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787109528000,"timestamp_ms":1787109528000,"timestamp_seconds":1787109528,"priority":1,"record_length":96,"hex_timestamp":"000001a0180751c0"} 
[2026-08-19 08:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457499962112001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457499962112001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:54:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:54:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457499962112001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":157416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:54:06] local.INFO: GPS data processed {"connection_id":157416,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:54:06] local.INFO: Acknowledgment sent {"connection_id":157416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:54:18] local.INFO: TCP Data received {"connection_id":157418,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:54:18] local.INFO: Processing buffer {"connection_id":157418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:54:18] local.INFO: IMEI packet received {"connection_id":157418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":157418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:54:19] local.INFO: TCP Data received {"connection_id":157417,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157417,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:54:19] local.INFO: Processing buffer {"connection_id":157417,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:54:19] local.INFO: IMEI packet received {"connection_id":157417,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":157417,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:54:20] local.INFO: TCP Data received {"connection_id":157417,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0180acc60012d0e2e0007068350001f00fa21..."} 
[2026-08-19 08:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180acc60012d0e2e0007068350001f00fa21..."} 
[2026-08-19 08:54:20] local.INFO: Processing buffer {"connection_id":157417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180acc60012d0e2e0007068350001f00fa21..."} 
[2026-08-19 08:54:20] local.INFO: Packet analysis {"connection_id":157417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180a"} 
[2026-08-19 08:54:20] local.INFO: Extracted packet for processing {"connection_id":157417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180a"} 
[2026-08-19 08:54:20] local.INFO: GPS Element Parsed {"raw_longitude":755904000,"raw_latitude":117867344,"longitude_deg":75.5904,"latitude_deg":11.7867344,"altitude":31,"angle":250,"satellites":33,"speed":9,"hex_longitude":"2d0e2e00","hex_latitude":"07068350","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500095744001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28736097169178624,"note":"Value kept but may cause issues"} 
[2026-08-19 08:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022528251819814912,"note":"Value kept but may cause issues"} 
[2026-08-19 08:54: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-08-19 08:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787109756000,"timestamp_ms":1787109756000,"timestamp_seconds":1787109756,"priority":1,"record_length":96,"hex_timestamp":"000001a0180acc60"} 
[2026-08-19 08:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08: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-08-19 08: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":92,"data_length":795,"current_offset":136} 
[2026-08-19 08:54: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-08-19 08: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-08-19 08:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500095744001,"66":14548,"219":206,"94":10240,"24":9,"16":28736097169178624,"45":1022528251819814912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-19 08:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500095744001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:54:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-19 08:54:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 08:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28736097169178624,"km_value":28736097169178.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022528251819814912,"description":"Unknown IO ID 45"} 
[2026-08-19 08:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500095744001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1022528251819814912}} 
[2026-08-19 08:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":157417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663620,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:54:20] local.INFO: GPS data processed {"connection_id":157417,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:54:20] local.INFO: Acknowledgment sent {"connection_id":157417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:54:21] local.INFO: TCP Data received {"connection_id":157418,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:54:21] local.INFO: Processing buffer {"connection_id":157418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:54:21] local.INFO: IMEI packet received {"connection_id":157418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":157418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:54:25] local.INFO: TCP Data received {"connection_id":157418,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:54:25] local.INFO: Processing buffer {"connection_id":157418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:54:25] local.INFO: IMEI packet received {"connection_id":157418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":157418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:54:26] local.INFO: TCP Data received {"connection_id":157418,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0180b7840012d7aa3c005ebaf48000800f826..."} 
[2026-08-19 08:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180b7840012d7aa3c005ebaf48000800f826..."} 
[2026-08-19 08:54:26] local.INFO: Processing buffer {"connection_id":157418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180b7840012d7aa3c005ebaf48000800f826..."} 
[2026-08-19 08:54:26] local.INFO: Packet analysis {"connection_id":157418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:54:26] local.INFO: Extracted packet for processing {"connection_id":157418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:54:26] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":99331912,"longitude_deg":76.3012032,"latitude_deg":9.9331912,"altitude":8,"angle":248,"satellites":38,"speed":26,"hex_longitude":"2d7aa3c0","hex_latitude":"05ebaf48","is_valid_coordinates":true} 
[2026-08-19 08:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500105728001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120681142134243328,"note":"Value kept but may cause issues"} 
[2026-08-19 08:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846406699724883968,"note":"Value kept but may cause issues"} 
[2026-08-19 08:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787109800000,"timestamp_ms":1787109800000,"timestamp_seconds":1787109800,"priority":1,"record_length":96,"hex_timestamp":"000001a0180b7840"} 
[2026-08-19 08:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:54: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-08-19 08:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-19 08:54: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-08-19 08:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:54:26] 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-08-19 08:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500105728001,"66":13450,"98":206,"87":13824,"24":26,"16":120681142134243328,"45":8846406699724883968},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-19 08:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500105728001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:54:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-19 08:54:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120681142134243328,"km_value":120681142134243.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846406699724883968,"description":"Unknown IO ID 45"} 
[2026-08-19 08:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500105728001,"power":13450,"unknown_98":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8846406699724883968}} 
[2026-08-19 08:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":157418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:54:26] local.INFO: GPS data processed {"connection_id":157418,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:54:26] local.INFO: Acknowledgment sent {"connection_id":157418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:54:37] local.INFO: TCP Data received {"connection_id":157416,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:54:37] local.INFO: Processing buffer {"connection_id":157416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:54:37] local.INFO: Packet analysis {"connection_id":157416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:54:37] local.INFO: Extracted packet for processing {"connection_id":157416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500039168001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787109829000,"timestamp_ms":1787109829000,"timestamp_seconds":1787109829,"priority":1,"record_length":96,"hex_timestamp":"000001a0180be988"} 
[2026-08-19 08:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:54:37] 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-08-19 08:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500039168001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500039168001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:54:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500039168001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":157416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:54:37] local.INFO: GPS data processed {"connection_id":157416,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:54:37] local.INFO: Acknowledgment sent {"connection_id":157416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:54:51] local.INFO: TCP Data received {"connection_id":157417,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0180ad818012d0e2c0007068258001f00ef21..."} 
[2026-08-19 08:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180ad818012d0e2c0007068258001f00ef21..."} 
[2026-08-19 08:54:51] local.INFO: Processing buffer {"connection_id":157417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180ad818012d0e2c0007068258001f00ef21..."} 
[2026-08-19 08:54:51] local.INFO: Packet analysis {"connection_id":157417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180a"} 
[2026-08-19 08:54:51] local.INFO: Extracted packet for processing {"connection_id":157417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180a"} 
[2026-08-19 08:54:51] local.INFO: GPS Element Parsed {"raw_longitude":755903488,"raw_latitude":117867096,"longitude_deg":75.5903488,"latitude_deg":11.7867096,"altitude":31,"angle":239,"satellites":33,"speed":7,"hex_longitude":"2d0e2c00","hex_latitude":"07068258","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500097536001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28736122938982400,"note":"Value kept but may cause issues"} 
[2026-08-19 08:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021754195633721344,"note":"Value kept but may cause issues"} 
[2026-08-19 08:54: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-08-19 08:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787109759000,"timestamp_ms":1787109759000,"timestamp_seconds":1787109759,"priority":1,"record_length":96,"hex_timestamp":"000001a0180ad818"} 
[2026-08-19 08:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08: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-08-19 08: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-19 08:54: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-08-19 08: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-08-19 08:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500097536001,"66":14515,"219":206,"94":10240,"24":7,"16":28736122938982400,"45":1021754195633721344},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-19 08:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500097536001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:54:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-19 08:54:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 08:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28736122938982400,"km_value":28736122938982.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021754195633721344,"description":"Unknown IO ID 45"} 
[2026-08-19 08:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500097536001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1021754195633721344}} 
[2026-08-19 08:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":157417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663623,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:54:51] local.INFO: GPS data processed {"connection_id":157417,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:54:51] local.INFO: Acknowledgment sent {"connection_id":157417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:54:57] local.INFO: TCP Data received {"connection_id":157418,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0180baef0012d7a80c005eba268000700fb23..."} 
[2026-08-19 08:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180baef0012d7a80c005eba268000700fb23..."} 
[2026-08-19 08:54:57] local.INFO: Processing buffer {"connection_id":157418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180baef0012d7a80c005eba268000700fb23..."} 
[2026-08-19 08:54:57] local.INFO: Packet analysis {"connection_id":157418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:54:57] local.INFO: Extracted packet for processing {"connection_id":157418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:54:57] local.INFO: GPS Element Parsed {"raw_longitude":763003072,"raw_latitude":99328616,"longitude_deg":76.3003072,"latitude_deg":9.9328616,"altitude":7,"angle":251,"satellites":35,"speed":27,"hex_longitude":"2d7a80c0","hex_latitude":"05eba268","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500108800001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120681597400776704,"note":"Value kept but may cause issues"} 
[2026-08-19 08:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118025492547584,"note":"Value kept but may cause issues"} 
[2026-08-19 08:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787109814000,"timestamp_ms":1787109814000,"timestamp_seconds":1787109814,"priority":1,"record_length":96,"hex_timestamp":"000001a0180baef0"} 
[2026-08-19 08:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:54: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-08-19 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-19 08:54:57] 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-08-19 08: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-08-19 08:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:54:57] 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-08-19 08:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500108800001,"66":13254,"98":206,"87":13824,"24":27,"16":120681597400776704,"45":8837118025492547584},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-19 08:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500108800001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:54:57] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-19 08:54:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120681597400776704,"km_value":120681597400776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118025492547584,"description":"Unknown IO ID 45"} 
[2026-08-19 08:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500108800001,"power":13254,"unknown_98":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8837118025492547584}} 
[2026-08-19 08:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":157418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:54:57] local.INFO: GPS data processed {"connection_id":157418,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:54:57] local.INFO: Acknowledgment sent {"connection_id":157418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:55:05] local.INFO: TCP Data received {"connection_id":159965,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:55:05] local.INFO: Processing buffer {"connection_id":159965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:55:05] local.INFO: IMEI packet received {"connection_id":159965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":159965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:55:10] local.INFO: TCP Data received {"connection_id":159965,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:55:10] local.INFO: Processing buffer {"connection_id":159965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:55:10] local.INFO: IMEI packet received {"connection_id":159965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":159965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:55:11] local.INFO: TCP Data received {"connection_id":159965,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:55:11] local.INFO: Processing buffer {"connection_id":159965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:55:11] local.INFO: Packet analysis {"connection_id":159965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:55:11] local.INFO: Extracted packet for processing {"connection_id":159965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:55:11] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500039168001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787109829000,"timestamp_ms":1787109829000,"timestamp_seconds":1787109829,"priority":1,"record_length":96,"hex_timestamp":"000001a0180be988"} 
[2026-08-19 08:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:55: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-08-19 08:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500039168001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500039168001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:55:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:55:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500039168001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":159965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:55:11] local.INFO: GPS data processed {"connection_id":159965,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:55:11] local.INFO: Acknowledgment sent {"connection_id":159965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:55:15] local.INFO: TCP Data received {"connection_id":159965,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:55:15] local.INFO: Processing buffer {"connection_id":159965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:55:15] local.INFO: Packet analysis {"connection_id":159965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:55:15] local.INFO: Extracted packet for processing {"connection_id":159965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:55:15] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500039168001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787109829000,"timestamp_ms":1787109829000,"timestamp_seconds":1787109829,"priority":1,"record_length":96,"hex_timestamp":"000001a0180be988"} 
[2026-08-19 08:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":159965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":159965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500039168001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500039168001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:55:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:55:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500039168001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":159965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:55:15] local.INFO: GPS data processed {"connection_id":159965,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:55:15] local.INFO: Acknowledgment sent {"connection_id":159965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:55:19] local.INFO: TCP Data received {"connection_id":158692,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158692,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:55:19] local.INFO: Processing buffer {"connection_id":158692,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:55:19] local.INFO: IMEI packet received {"connection_id":158692,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":158692,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:55:20] local.INFO: TCP Data received {"connection_id":159966,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:55:20] local.INFO: Processing buffer {"connection_id":159966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:55:20] local.INFO: IMEI packet received {"connection_id":159966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":159966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:55:24] local.INFO: TCP Data received {"connection_id":158692,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158692,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:55:24] local.INFO: Processing buffer {"connection_id":158692,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:55:24] local.INFO: IMEI packet received {"connection_id":158692,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":158692,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:55:25] local.INFO: TCP Data received {"connection_id":158692,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0180adc00012d0e2b40070681c0001f00dd21..."} 
[2026-08-19 08:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180adc00012d0e2b40070681c0001f00dd21..."} 
[2026-08-19 08:55:25] local.INFO: Processing buffer {"connection_id":158692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180adc00012d0e2b40070681c0001f00dd21..."} 
[2026-08-19 08:55:25] local.INFO: Packet analysis {"connection_id":158692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180a"} 
[2026-08-19 08:55:25] local.INFO: Extracted packet for processing {"connection_id":158692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180a"} 
[2026-08-19 08:55:25] local.INFO: GPS Element Parsed {"raw_longitude":755903296,"raw_latitude":117866944,"longitude_deg":75.5903296,"latitude_deg":11.7866944,"altitude":31,"angle":221,"satellites":33,"speed":7,"hex_longitude":"2d0e2b40","hex_latitude":"070681c0","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500098304001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28736135823884288,"note":"Value kept but may cause issues"} 
[2026-08-19 08:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021191245680236544,"note":"Value kept but may cause issues"} 
[2026-08-19 08:55:25] 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-08-19 08:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787109760000,"timestamp_ms":1787109760000,"timestamp_seconds":1787109760,"priority":1,"record_length":96,"hex_timestamp":"000001a0180adc00"} 
[2026-08-19 08:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:55:25] 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-08-19 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 08:55: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-08-19 08: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-08-19 08:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":158692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":158692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":158692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500098304001,"66":14374,"219":206,"94":10240,"24":7,"16":28736135823884288,"45":1021191245680236544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-19 08:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500098304001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:55:25] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-19 08:55:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 08:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28736135823884288,"km_value":28736135823884.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021191245680236544,"description":"Unknown IO ID 45"} 
[2026-08-19 08:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500098304001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1021191245680236544}} 
[2026-08-19 08:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":158692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663627,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:55:25] local.INFO: GPS data processed {"connection_id":158692,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:55:25] local.INFO: Acknowledgment sent {"connection_id":158692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:55:25] local.INFO: TCP Data received {"connection_id":159966,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:55:25] local.INFO: Processing buffer {"connection_id":159966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:55:25] local.INFO: IMEI packet received {"connection_id":159966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":159966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:55:26] local.INFO: TCP Data received {"connection_id":159966,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0180bca48012d7a740005eb9e700006010b21..."} 
[2026-08-19 08:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180bca48012d7a740005eb9e700006010b21..."} 
[2026-08-19 08:55:26] local.INFO: Processing buffer {"connection_id":159966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180bca48012d7a740005eb9e700006010b21..."} 
[2026-08-19 08:55:26] local.INFO: Packet analysis {"connection_id":159966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:55:26] local.INFO: Extracted packet for processing {"connection_id":159966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:55:26] local.INFO: GPS Element Parsed {"raw_longitude":762999808,"raw_latitude":99327600,"longitude_deg":76.2999808,"latitude_deg":9.93276,"altitude":6,"angle":267,"satellites":33,"speed":8,"hex_longitude":"2d7a7400","hex_latitude":"05eb9e70","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500112384001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120681760609533952,"note":"Value kept but may cause issues"} 
[2026-08-19 08:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827266401306830848,"note":"Value kept but may cause issues"} 
[2026-08-19 08:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787109821000,"timestamp_ms":1787109821000,"timestamp_seconds":1787109821,"priority":1,"record_length":96,"hex_timestamp":"000001a0180bca48"} 
[2026-08-19 08:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:55: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-08-19 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-19 08:55:26] 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-08-19 08: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-08-19 08:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:55:26] 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-08-19 08:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500112384001,"66":12069,"98":206,"87":13824,"24":8,"16":120681760609533952,"45":8827266401306830848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-19 08:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500112384001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:55:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-19 08:55:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120681760609533952,"km_value":120681760609533.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827266401306830848,"description":"Unknown IO ID 45"} 
[2026-08-19 08:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500112384001,"power":12069,"unknown_98":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8827266401306830848}} 
[2026-08-19 08:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":159966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:55:26] local.INFO: GPS data processed {"connection_id":159966,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:55:26] local.INFO: Acknowledgment sent {"connection_id":159966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:55:30] local.INFO: TCP Data received {"connection_id":158692,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0180b1e68012d0e2b4007067fa0001e015720..."} 
[2026-08-19 08:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180b1e68012d0e2b4007067fa0001e015720..."} 
[2026-08-19 08:55:30] local.INFO: Processing buffer {"connection_id":158692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180b1e68012d0e2b4007067fa0001e015720..."} 
[2026-08-19 08:55:30] local.INFO: Packet analysis {"connection_id":158692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:55:30] local.INFO: Extracted packet for processing {"connection_id":158692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:55:30] local.INFO: GPS Element Parsed {"raw_longitude":755903296,"raw_latitude":117866400,"longitude_deg":75.5903296,"latitude_deg":11.78664,"altitude":30,"angle":343,"satellites":32,"speed":2,"hex_longitude":"2d0e2b40","hex_latitude":"07067fa0","is_valid_coordinates":true} 
[2026-08-19 08:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500098560001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28736204543361024,"note":"Value kept but may cause issues"} 
[2026-08-19 08:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020980139447664640,"note":"Value kept but may cause issues"} 
[2026-08-19 08:55:30] 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-08-19 08:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787109777000,"timestamp_ms":1787109777000,"timestamp_seconds":1787109777,"priority":1,"record_length":96,"hex_timestamp":"000001a0180b1e68"} 
[2026-08-19 08:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:55: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-08-19 08:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 08:55:30] 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-08-19 08:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":158692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":158692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":158692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500098560001,"66":14591,"219":206,"94":10240,"24":2,"16":28736204543361024,"45":1020980139447664640},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-19 08:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500098560001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:55:30] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-19 08:55:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 08:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28736204543361024,"km_value":28736204543361.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020980139447664640,"description":"Unknown IO ID 45"} 
[2026-08-19 08:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500098560001,"power":14591,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1020980139447664640}} 
[2026-08-19 08:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":158692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663629,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:55:30] local.INFO: GPS data processed {"connection_id":158692,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:55:30] local.INFO: Acknowledgment sent {"connection_id":158692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:55:57] local.INFO: TCP Data received {"connection_id":159966,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0180c1868012d7a740005eb9df00008010b22..."} 
[2026-08-19 08:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180c1868012d7a740005eb9df00008010b22..."} 
[2026-08-19 08:55:57] local.INFO: Processing buffer {"connection_id":159966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180c1868012d7a740005eb9df00008010b22..."} 
[2026-08-19 08:55:57] local.INFO: Packet analysis {"connection_id":159966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180c"} 
[2026-08-19 08:55:57] local.INFO: Extracted packet for processing {"connection_id":159966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180c"} 
[2026-08-19 08:55:57] local.INFO: GPS Element Parsed {"raw_longitude":762999808,"raw_latitude":99327472,"longitude_deg":76.2999808,"latitude_deg":9.9327472,"altitude":8,"angle":267,"satellites":34,"speed":0,"hex_longitude":"2d7a7400","hex_latitude":"05eb9df0","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500114176001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120681777789403136,"note":"Value kept but may cause issues"} 
[2026-08-19 08:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8823677595353509888,"note":"Value kept but may cause issues"} 
[2026-08-19 08:55:57] 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-08-19 08:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787109841000,"timestamp_ms":1787109841000,"timestamp_seconds":1787109841,"priority":1,"record_length":96,"hex_timestamp":"000001a0180c1868"} 
[2026-08-19 08:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:55: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-08-19 08:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-19 08:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:55:57] 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-08-19 08:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500114176001,"66":13059,"161":206,"87":13824,"24":0,"16":120681777789403136,"45":8823677595353509888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-19 08:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500114176001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:55:57] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 08:55:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120681777789403136,"km_value":120681777789403.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8823677595353509888,"description":"Unknown IO ID 45"} 
[2026-08-19 08:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500114176001,"power":13059,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8823677595353509888}} 
[2026-08-19 08:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":159966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:55:57] local.INFO: GPS data processed {"connection_id":159966,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:55:57] local.INFO: Acknowledgment sent {"connection_id":159966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:56:00] local.INFO: TCP Data received {"connection_id":157797,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:56:00] local.INFO: Processing buffer {"connection_id":157797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:56:00] local.INFO: IMEI packet received {"connection_id":157797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":157797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:56:05] local.INFO: TCP Data received {"connection_id":157797,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:56:05] local.INFO: Processing buffer {"connection_id":157797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:56:05] local.INFO: IMEI packet received {"connection_id":157797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":157797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:56:06] local.INFO: TCP Data received {"connection_id":157797,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:56:06] local.INFO: Processing buffer {"connection_id":157797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:56:06] local.INFO: Packet analysis {"connection_id":157797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:56:06] local.INFO: Extracted packet for processing {"connection_id":157797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500039168001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787109829000,"timestamp_ms":1787109829000,"timestamp_seconds":1787109829,"priority":1,"record_length":96,"hex_timestamp":"000001a0180be988"} 
[2026-08-19 08:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500039168001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500039168001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:56:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:56:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500039168001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":157797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:56:06] local.INFO: GPS data processed {"connection_id":157797,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:56:06] local.INFO: Acknowledgment sent {"connection_id":157797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:56:10] local.INFO: TCP Data received {"connection_id":158693,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158693,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:56:10] local.INFO: Processing buffer {"connection_id":158693,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:56:10] local.INFO: IMEI packet received {"connection_id":158693,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":158693,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:56:15] local.INFO: TCP Data received {"connection_id":158693,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158693,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:56:15] local.INFO: Processing buffer {"connection_id":158693,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:56:15] local.INFO: IMEI packet received {"connection_id":158693,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":158693,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:56:15] local.INFO: TCP Data received {"connection_id":158693,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158693,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:56:15] local.INFO: Processing buffer {"connection_id":158693,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:56:15] local.INFO: IMEI packet received {"connection_id":158693,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":158693,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:56:16] local.INFO: TCP Data received {"connection_id":158693,"ip":"42.109.136.5","data_length":812,"data_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a018..."} 
[2026-08-19 08:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158693,"packet_length":812,"packet_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a018..."} 
[2026-08-19 08:56:16] local.INFO: Processing buffer {"connection_id":158693,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a018..."} 
[2026-08-19 08:56:16] local.INFO: IMEI packet received {"connection_id":158693,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":158693,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:56:20] local.INFO: TCP Data received {"connection_id":158693,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0180dbe48012d0e0f4007068830001e00581f..."} 
[2026-08-19 08:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180dbe48012d0e0f4007068830001e00581f..."} 
[2026-08-19 08:56:20] local.INFO: Processing buffer {"connection_id":158693,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0180d7fc8012d0e0f4007068860001f010a21..."} 
[2026-08-19 08:56:20] local.INFO: Packet analysis {"connection_id":158693,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0180d"} 
[2026-08-19 08:56:20] local.INFO: Extracted packet for processing {"connection_id":158693,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180d"} 
[2026-08-19 08:56:20] local.INFO: GPS Element Parsed {"raw_longitude":755896128,"raw_latitude":117868640,"longitude_deg":75.5896128,"latitude_deg":11.786864,"altitude":31,"angle":266,"satellites":33,"speed":0,"hex_longitude":"2d0e0f40","hex_latitude":"07068860","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500137472001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28736612565254144,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1014154371262838784,"note":"Value kept but may cause issues"} 
[2026-08-19 08: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-08-19 08:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787109933000,"timestamp_ms":1787109933000,"timestamp_seconds":1787109933,"priority":1,"record_length":96,"hex_timestamp":"000001a0180d7fc8"} 
[2026-08-19 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-08-19 08: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-08-19 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 08:56: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-08-19 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-08-19 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-08-19 08:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500137472001,"66":14439,"219":206,"94":10240,"24":0,"16":28736612565254144,"45":1014154371262838784},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-19 08:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500137472001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:56:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-19 08:56:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 08:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28736612565254144,"km_value":28736612565254.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1014154371262838784,"description":"Unknown IO ID 45"} 
[2026-08-19 08:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500137472001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1014154371262838784}} 
[2026-08-19 08:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":158693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663632,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:56:20] local.INFO: GPS data processed {"connection_id":158693,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:56:20] local.INFO: Acknowledgment sent {"connection_id":158693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:56:20] local.INFO: Packet analysis {"connection_id":158693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180d"} 
[2026-08-19 08:56:20] local.INFO: Extracted packet for processing {"connection_id":158693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180d"} 
[2026-08-19 08:56:20] local.INFO: GPS Element Parsed {"raw_longitude":755896128,"raw_latitude":117868592,"longitude_deg":75.5896128,"latitude_deg":11.7868592,"altitude":30,"angle":88,"satellites":31,"speed":4,"hex_longitude":"2d0e0f40","hex_latitude":"07068830","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500142848001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28736616860221440,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1013098840100200448,"note":"Value kept but may cause issues"} 
[2026-08-19 08: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-08-19 08:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787109949000,"timestamp_ms":1787109949000,"timestamp_seconds":1787109949,"priority":1,"record_length":96,"hex_timestamp":"000001a0180dbe48"} 
[2026-08-19 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-08-19 08:56: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-08-19 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 08:56: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-08-19 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-08-19 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-08-19 08:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500142848001,"66":14439,"219":206,"94":10240,"24":4,"16":28736616860221440,"45":1013098840100200448},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-19 08:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500142848001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:56:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-19 08:56:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 08:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28736616860221440,"km_value":28736616860221.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1013098840100200448,"description":"Unknown IO ID 45"} 
[2026-08-19 08:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500142848001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":1013098840100200448}} 
[2026-08-19 08:56:20] local.INFO: TCP Data received {"connection_id":159967,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:56:20] local.INFO: Processing buffer {"connection_id":159967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:56:20] local.INFO: IMEI packet received {"connection_id":159967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":159967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":158693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663633,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:56:20] local.INFO: GPS data processed {"connection_id":158693,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:56:20] local.INFO: Acknowledgment sent {"connection_id":158693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:56:20] local.INFO: TCP Data received {"connection_id":158693,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0180ddd88012d0e19c0070687e0001e004c20..."} 
[2026-08-19 08:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180ddd88012d0e19c0070687e0001e004c20..."} 
[2026-08-19 08:56:20] local.INFO: Processing buffer {"connection_id":158693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180ddd88012d0e19c0070687e0001e004c20..."} 
[2026-08-19 08:56:20] local.INFO: Packet analysis {"connection_id":158693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180d"} 
[2026-08-19 08:56:20] local.INFO: Extracted packet for processing {"connection_id":158693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180d"} 
[2026-08-19 08:56:20] local.INFO: GPS Element Parsed {"raw_longitude":755898816,"raw_latitude":117868512,"longitude_deg":75.5898816,"latitude_deg":11.7868512,"altitude":30,"angle":76,"satellites":32,"speed":3,"hex_longitude":"2d0e19c0","hex_latitude":"070687e0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 08:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500146944001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28736741414273024,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1013098840100188160,"note":"Value kept but may cause issues"} 
[2026-08-19 08: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-08-19 08:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787109957000,"timestamp_ms":1787109957000,"timestamp_seconds":1787109957,"priority":1,"record_length":96,"hex_timestamp":"000001a0180ddd88"} 
[2026-08-19 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-08-19 08:56: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-08-19 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 08:56: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-08-19 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-08-19 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-08-19 08:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500146944001,"66":13472,"219":206,"94":10240,"24":3,"16":28736741414273024,"45":1013098840100188160},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-19 08:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500146944001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:56:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-19 08:56:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 08:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28736741414273024,"km_value":28736741414273.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1013098840100188160,"description":"Unknown IO ID 45"} 
[2026-08-19 08:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500146944001,"power":13472,"unknown_219":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":1013098840100188160}} 
[2026-08-19 08:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":158693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663634,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:56:21] local.INFO: GPS data processed {"connection_id":158693,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:56:21] local.INFO: Acknowledgment sent {"connection_id":158693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:56:25] local.INFO: TCP Data received {"connection_id":159967,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:56:25] local.INFO: Processing buffer {"connection_id":159967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:56:25] local.INFO: IMEI packet received {"connection_id":159967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":159967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:56:26] local.INFO: TCP Data received {"connection_id":159967,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0180c3f78012d7a730005eb9cc8000700ed20..."} 
[2026-08-19 08:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180c3f78012d7a730005eb9cc8000700ed20..."} 
[2026-08-19 08:56:26] local.INFO: Processing buffer {"connection_id":159967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180c3f78012d7a730005eb9cc8000700ed20..."} 
[2026-08-19 08:56:26] local.INFO: Packet analysis {"connection_id":159967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180c"} 
[2026-08-19 08:56:26] local.INFO: Extracted packet for processing {"connection_id":159967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180c"} 
[2026-08-19 08:56:26] local.INFO: GPS Element Parsed {"raw_longitude":762999552,"raw_latitude":99327176,"longitude_deg":76.2999552,"latitude_deg":9.9327176,"altitude":7,"angle":237,"satellites":32,"speed":2,"hex_longitude":"2d7a7300","hex_latitude":"05eb9cc8","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500119296001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120681799264239616,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8823677595353477120,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:26] 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-08-19 08:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787109851000,"timestamp_ms":1787109851000,"timestamp_seconds":1787109851,"priority":1,"record_length":96,"hex_timestamp":"000001a0180c3f78"} 
[2026-08-19 08:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:56: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-08-19 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 08:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547460,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:26] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":18433,"corrected_to":0} 
[2026-08-19 08:56:26] local.WARNING: Large IO value detected {"io_id":98,"raw_value":58079734643818537,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:26] local.WARNING: Large IO value detected {"io_id":190,"raw_value":3690987520,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:26] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3167223818,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147273422,"corrected_to":0} 
[2026-08-19 08:56:26] local.WARNING: Large IO value detected {"io_id":51,"raw_value":4060138820,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:26] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3188850688,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3957106688,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:26] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,161,87,24,241,157,16,191,160,202,45,158,6,33,10,66,98,174,192,162,7,35,120,1,240,138,227,190,235,4,113,205,30,228,72,39,239,51,2,172,5,14,41],"length":486,"final_offset":616,"validated_count":43,"validation_warnings":[{"io_id":202,"original":18433,"validated":0},{"io_id":205,"original":1147273422,"validated":0}]} 
[2026-08-19 08:56:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576754467936927744,"timestamp_seconds":576754467936927.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 08:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:56:26] 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-08-19 08:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500119296001,"66":13341,"161":206,"87":13824,"24":2,"16":120681799264239616,"45":8823677595353477120},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-19 08:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500119296001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:56:26] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 08:56:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120681799264239616,"km_value":120681799264239.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8823677595353477120,"description":"Unknown IO ID 45"} 
[2026-08-19 08:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500119296001,"power":13341,"unknown_161":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8823677595353477120}} 
[2026-08-19 08:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":159967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:56:26] local.INFO: GPS data processed {"connection_id":159967,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:56:26] local.INFO: Acknowledgment sent {"connection_id":159967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:56:38] local.INFO: TCP Data received {"connection_id":157797,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:56:38] local.INFO: Processing buffer {"connection_id":157797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:56:38] local.INFO: Packet analysis {"connection_id":157797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:56:38] local.INFO: Extracted packet for processing {"connection_id":157797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500039168001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787109829000,"timestamp_ms":1787109829000,"timestamp_seconds":1787109829,"priority":1,"record_length":96,"hex_timestamp":"000001a0180be988"} 
[2026-08-19 08:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500039168001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500039168001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:56:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500039168001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":157797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:56:38] local.INFO: GPS data processed {"connection_id":157797,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:56:38] local.INFO: Acknowledgment sent {"connection_id":157797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:56:52] local.INFO: TCP Data received {"connection_id":158693,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0180df4f8012d0e1b00070687a8001e006920..."} 
[2026-08-19 08:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180df4f8012d0e1b00070687a8001e006920..."} 
[2026-08-19 08:56:52] local.INFO: Processing buffer {"connection_id":158693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180df4f8012d0e1b00070687a8001e006920..."} 
[2026-08-19 08:56:52] local.INFO: Packet analysis {"connection_id":158693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180d"} 
[2026-08-19 08:56:52] local.INFO: Extracted packet for processing {"connection_id":158693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180d"} 
[2026-08-19 08:56:52] local.INFO: GPS Element Parsed {"raw_longitude":755899136,"raw_latitude":117868456,"longitude_deg":75.5899136,"latitude_deg":11.7868456,"altitude":30,"angle":105,"satellites":32,"speed":6,"hex_longitude":"2d0e1b00","hex_latitude":"070687a8","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500148992001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28736758594142208,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1016054327355629568,"note":"Value kept but may cause issues"} 
[2026-08-19 08: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-08-19 08:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787109963000,"timestamp_ms":1787109963000,"timestamp_seconds":1787109963,"priority":1,"record_length":96,"hex_timestamp":"000001a0180df4f8"} 
[2026-08-19 08:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-19 08:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":158693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":158693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":158693,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500148992001,"66":14428,"219":206,"94":10240,"24":6,"16":28736758594142208,"45":1016054327355629568},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-19 08:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500148992001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:56:52] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-19 08:56:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 08:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28736758594142208,"km_value":28736758594142.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1016054327355629568,"description":"Unknown IO ID 45"} 
[2026-08-19 08:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500148992001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1016054327355629568}} 
[2026-08-19 08:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":158693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663637,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:56:52] local.INFO: GPS data processed {"connection_id":158693,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:56:52] local.INFO: Acknowledgment sent {"connection_id":158693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:56:57] local.INFO: TCP Data received {"connection_id":159967,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0180e71f8012d7a528005eb93900008012f22..."} 
[2026-08-19 08:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180e71f8012d7a528005eb93900008012f22..."} 
[2026-08-19 08:56:57] local.INFO: Processing buffer {"connection_id":159967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180e71f8012d7a528005eb93900008012f22..."} 
[2026-08-19 08:56:57] local.INFO: Packet analysis {"connection_id":159967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180e"} 
[2026-08-19 08:56:57] local.INFO: Extracted packet for processing {"connection_id":159967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180e"} 
[2026-08-19 08:56:57] local.INFO: GPS Element Parsed {"raw_longitude":762991232,"raw_latitude":99324816,"longitude_deg":76.2991232,"latitude_deg":9.9324816,"altitude":8,"angle":303,"satellites":34,"speed":11,"hex_longitude":"2d7a5280","hex_latitude":"05eb9390","is_valid_coordinates":true} 
[2026-08-19 08:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500158464001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120682220171034624,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814529658609670144,"note":"Value kept but may cause issues"} 
[2026-08-19 08:56:57] 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-08-19 08:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787109995000,"timestamp_ms":1787109995000,"timestamp_seconds":1787109995,"priority":1,"record_length":96,"hex_timestamp":"000001a0180e71f8"} 
[2026-08-19 08:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:56: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-08-19 08:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 08:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:56:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:56:57] 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-08-19 08:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500158464001,"66":12809,"161":206,"87":13824,"24":11,"16":120682220171034624,"45":8814529658609670144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-19 08:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500158464001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:56:57] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 08:56:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120682220171034624,"km_value":120682220171034.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814529658609670144,"description":"Unknown IO ID 45"} 
[2026-08-19 08:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500158464001,"power":12809,"unknown_161":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8814529658609670144}} 
[2026-08-19 08:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":159967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:56:57] local.INFO: GPS data processed {"connection_id":159967,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:56:57] local.INFO: Acknowledgment sent {"connection_id":159967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:57:00] local.INFO: TCP Data received {"connection_id":157419,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:57:00] local.INFO: Processing buffer {"connection_id":157419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:57:00] local.INFO: IMEI packet received {"connection_id":157419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":157419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:57:05] local.INFO: TCP Data received {"connection_id":157419,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:57:05] local.INFO: Processing buffer {"connection_id":157419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:57:05] local.INFO: IMEI packet received {"connection_id":157419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":157419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:57:06] local.INFO: TCP Data received {"connection_id":157419,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:57:06] local.INFO: Processing buffer {"connection_id":157419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:57:06] local.INFO: Packet analysis {"connection_id":157419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:57:06] local.INFO: Extracted packet for processing {"connection_id":157419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500039168001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787109829000,"timestamp_ms":1787109829000,"timestamp_seconds":1787109829,"priority":1,"record_length":96,"hex_timestamp":"000001a0180be988"} 
[2026-08-19 08:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500039168001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500039168001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:57:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500039168001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":157419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:57:06] local.INFO: GPS data processed {"connection_id":157419,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:57:06] local.INFO: Acknowledgment sent {"connection_id":157419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:57:13] local.INFO: TCP Data received {"connection_id":157420,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:57:13] local.INFO: Processing buffer {"connection_id":157420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:57:13] local.INFO: IMEI packet received {"connection_id":157420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":157420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:57:14] local.INFO: TCP Data received {"connection_id":157420,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:57:14] local.INFO: Processing buffer {"connection_id":157420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:57:14] local.INFO: IMEI packet received {"connection_id":157420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":157420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:57:19] local.INFO: TCP Data received {"connection_id":157420,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:57:19] local.INFO: Processing buffer {"connection_id":157420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:57:19] local.INFO: IMEI packet received {"connection_id":157420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":157420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:57:20] local.INFO: TCP Data received {"connection_id":157421,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:57:20] local.INFO: Processing buffer {"connection_id":157421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:57:20] local.INFO: IMEI packet received {"connection_id":157421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":157421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:57:20] local.INFO: TCP Data received {"connection_id":157420,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0180ec400012d0e3c400706c778001a000e20..."} 
[2026-08-19 08:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180ec400012d0e3c400706c778001a000e20..."} 
[2026-08-19 08:57:20] local.INFO: Processing buffer {"connection_id":157420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180ec400012d0e3c400706c778001a000e20..."} 
[2026-08-19 08:57:20] local.INFO: Packet analysis {"connection_id":157420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180e"} 
[2026-08-19 08:57:20] local.INFO: Extracted packet for processing {"connection_id":157420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180e"} 
[2026-08-19 08:57:20] local.INFO: GPS Element Parsed {"raw_longitude":755907648,"raw_latitude":117884792,"longitude_deg":75.5907648,"latitude_deg":11.7884792,"altitude":26,"angle":14,"satellites":32,"speed":21,"hex_longitude":"2d0e3c40","hex_latitude":"0706c778","is_valid_coordinates":true} 
[2026-08-19 08:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500159744001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28737879580606464,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023583782984482816,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57: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-08-19 08:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787110016000,"timestamp_ms":1787110016000,"timestamp_seconds":1787110016,"priority":1,"record_length":96,"hex_timestamp":"000001a0180ec400"} 
[2026-08-19 08:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08: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-08-19 08:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 08:57: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-08-19 08:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500159744001,"66":14439,"219":206,"94":10240,"24":21,"16":28737879580606464,"45":1023583782984482816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-19 08:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500159744001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:57:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-19 08:57:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 08:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28737879580606464,"km_value":28737879580606.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023583782984482816,"description":"Unknown IO ID 45"} 
[2026-08-19 08:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500159744001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":1023583782984482816}} 
[2026-08-19 08:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":157420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663640,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:57:20] local.INFO: GPS data processed {"connection_id":157420,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:57:20] local.INFO: Acknowledgment sent {"connection_id":157420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:57:20] local.INFO: TCP Data received {"connection_id":157421,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:57:20] local.INFO: Processing buffer {"connection_id":157421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:57:20] local.INFO: IMEI packet received {"connection_id":157421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":157421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:57:25] local.INFO: TCP Data received {"connection_id":157421,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:57:25] local.INFO: Processing buffer {"connection_id":157421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:57:25] local.INFO: IMEI packet received {"connection_id":157421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":157421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:57:27] local.INFO: TCP Data received {"connection_id":157421,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0180e75e0012d7a51c005eb94900008014222..."} 
[2026-08-19 08:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180e75e0012d7a51c005eb94900008014222..."} 
[2026-08-19 08:57:27] local.INFO: Processing buffer {"connection_id":157421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180e75e0012d7a51c005eb94900008014222..."} 
[2026-08-19 08:57:27] local.INFO: Packet analysis {"connection_id":157421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180e"} 
[2026-08-19 08:57:27] local.INFO: Extracted packet for processing {"connection_id":157421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180e"} 
[2026-08-19 08:57:27] local.INFO: GPS Element Parsed {"raw_longitude":762991040,"raw_latitude":99325072,"longitude_deg":76.299104,"latitude_deg":9.9325072,"altitude":8,"angle":322,"satellites":34,"speed":14,"hex_longitude":"2d7a51c0","hex_latitude":"05eb9490","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500158720001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120682237350903808,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814248183632990208,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:27] 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-08-19 08:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787109996000,"timestamp_ms":1787109996000,"timestamp_seconds":1787109996,"priority":1,"record_length":96,"hex_timestamp":"000001a0180e75e0"} 
[2026-08-19 08:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:57: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-08-19 08: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 08:57:27] local.WARNING: Large IO value detected {"io_id":24,"raw_value":940830114713330176,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:27] local.WARNING: Large IO value detected {"io_id":191,"raw_value":2936012800,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:27] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2523922441,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765526222,"corrected_to":0} 
[2026-08-19 08:57:27] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2415996282,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:27] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040045,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:27] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3215523840,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1470865082836514529,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:27] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521790195469070761,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:27] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:27] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,161,87,24,241,157,16,191,160,110,45,128,147,8,34,10,66,94,32,71,64,1,240,221,227,235,4,113,205,178,98,112,27,239,51,2,172,5,9,49,54,169],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":765526222,"validated":0}]} 
[2026-08-19 08:57:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576794050356248576,"timestamp_seconds":576794050356248.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 08:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:57:27] 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-08-19 08:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500158720001,"66":13559,"161":206,"87":13824,"24":14,"16":120682237350903808,"45":8814248183632990208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-19 08:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500158720001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:57:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 08:57:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120682237350903808,"km_value":120682237350903.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814248183632990208,"description":"Unknown IO ID 45"} 
[2026-08-19 08:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500158720001,"power":13559,"unknown_161":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8814248183632990208}} 
[2026-08-19 08:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":157421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:57:27] local.INFO: GPS data processed {"connection_id":157421,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:57:27] local.INFO: Acknowledgment sent {"connection_id":157421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:57:37] local.INFO: TCP Data received {"connection_id":157419,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:57:37] local.INFO: Processing buffer {"connection_id":157419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:57:37] local.INFO: Packet analysis {"connection_id":157419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:57:37] local.INFO: Extracted packet for processing {"connection_id":157419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500039168001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787109829000,"timestamp_ms":1787109829000,"timestamp_seconds":1787109829,"priority":1,"record_length":96,"hex_timestamp":"000001a0180be988"} 
[2026-08-19 08:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500039168001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500039168001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:57:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500039168001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":157419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:57:37] local.INFO: GPS data processed {"connection_id":157419,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:57:37] local.INFO: Acknowledgment sent {"connection_id":157419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:57:51] local.INFO: TCP Data received {"connection_id":157420,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0180edf58012d0e3d800706d558001a000020..."} 
[2026-08-19 08:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180edf58012d0e3d800706d558001a000020..."} 
[2026-08-19 08:57:51] local.INFO: Processing buffer {"connection_id":157420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180edf58012d0e3d800706d558001a000020..."} 
[2026-08-19 08:57:51] local.INFO: Packet analysis {"connection_id":157420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180e"} 
[2026-08-19 08:57:51] local.INFO: Extracted packet for processing {"connection_id":157420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180e"} 
[2026-08-19 08:57:51] local.INFO: GPS Element Parsed {"raw_longitude":755907968,"raw_latitude":117888344,"longitude_deg":75.5907968,"latitude_deg":11.7888344,"altitude":26,"angle":0,"satellites":32,"speed":12,"hex_longitude":"2d0e3d80","hex_latitude":"0706d558","is_valid_coordinates":true} 
[2026-08-19 08:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500164096001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28738055674265600,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025765214056314880,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57: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-08-19 08:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787110023000,"timestamp_ms":1787110023000,"timestamp_seconds":1787110023,"priority":1,"record_length":96,"hex_timestamp":"000001a0180edf58"} 
[2026-08-19 08:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 08:57: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-08-19 08:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 08:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 08:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 08:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500164096001,"66":14407,"219":206,"94":10240,"24":12,"16":28738055674265600,"45":1025765214056314880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-19 08:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 08:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 08:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500164096001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:57:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-19 08:57:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 08:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28738055674265600,"km_value":28738055674265.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025765214056314880,"description":"Unknown IO ID 45"} 
[2026-08-19 08:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500164096001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1025765214056314880}} 
[2026-08-19 08:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":157420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663643,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:57:51] local.INFO: GPS data processed {"connection_id":157420,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:57:51] local.INFO: Acknowledgment sent {"connection_id":157420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:57:58] local.INFO: TCP Data received {"connection_id":157421,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0180e7db0012d7a508005eb97400007015622..."} 
[2026-08-19 08:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180e7db0012d7a508005eb97400007015622..."} 
[2026-08-19 08:57:58] local.INFO: Processing buffer {"connection_id":157421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180e7db0012d7a508005eb97400007015622..."} 
[2026-08-19 08:57:58] local.INFO: Packet analysis {"connection_id":157421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180e"} 
[2026-08-19 08:57:58] local.INFO: Extracted packet for processing {"connection_id":157421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180e"} 
[2026-08-19 08:57:58] local.INFO: GPS Element Parsed {"raw_longitude":762990720,"raw_latitude":99325760,"longitude_deg":76.299072,"latitude_deg":9.932576,"altitude":7,"angle":342,"satellites":34,"speed":14,"hex_longitude":"2d7a5080","hex_latitude":"05eb9740","is_valid_coordinates":true} 
[2026-08-19 08:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500158976001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120682276005609472,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814037077400522752,"note":"Value kept but may cause issues"} 
[2026-08-19 08:57:58] 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-08-19 08:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787109998000,"timestamp_ms":1787109998000,"timestamp_seconds":1787109998,"priority":1,"record_length":96,"hex_timestamp":"000001a0180e7db0"} 
[2026-08-19 08:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:57: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-08-19 08:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-19 08:57:58] 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-08-19 08:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:57:58] 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-08-19 08:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500158976001,"66":13276,"161":206,"87":13824,"24":14,"16":120682276005609472,"45":8814037077400522752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-19 08:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500158976001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:57:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 08:57:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120682276005609472,"km_value":120682276005609.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814037077400522752,"description":"Unknown IO ID 45"} 
[2026-08-19 08:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500158976001,"power":13276,"unknown_161":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8814037077400522752}} 
[2026-08-19 08:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":157421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:57:58] local.INFO: GPS data processed {"connection_id":157421,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:57:58] local.INFO: Acknowledgment sent {"connection_id":157421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:57:59] local.INFO: TCP Data received {"connection_id":157422,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:57:59] local.INFO: Processing buffer {"connection_id":157422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:57:59] local.INFO: IMEI packet received {"connection_id":157422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":157422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:58:05] local.INFO: TCP Data received {"connection_id":157422,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:58:05] local.INFO: Processing buffer {"connection_id":157422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:58:05] local.INFO: IMEI packet received {"connection_id":157422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":157422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:58:06] local.INFO: TCP Data received {"connection_id":157422,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:58:06] local.INFO: Processing buffer {"connection_id":157422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:58:06] local.INFO: Packet analysis {"connection_id":157422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:58:06] local.INFO: Extracted packet for processing {"connection_id":157422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500039168001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787109829000,"timestamp_ms":1787109829000,"timestamp_seconds":1787109829,"priority":1,"record_length":96,"hex_timestamp":"000001a0180be988"} 
[2026-08-19 08:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:58:06] 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-08-19 08:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500039168001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500039168001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:58:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500039168001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":157422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:58:06] local.INFO: GPS data processed {"connection_id":157422,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:58:06] local.INFO: Acknowledgment sent {"connection_id":157422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:58:14] local.INFO: TCP Data received {"connection_id":159968,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159968,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:58:14] local.INFO: Processing buffer {"connection_id":159968,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:58:14] local.INFO: IMEI packet received {"connection_id":159968,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 08:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":159968,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:58:23] local.INFO: TCP Data received {"connection_id":159968,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159968,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:58:23] local.INFO: Processing buffer {"connection_id":159968,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:58:23] local.INFO: IMEI packet received {"connection_id":159968,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":159968,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:58:24] local.INFO: TCP Data received {"connection_id":159968,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159968,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:58:24] local.INFO: Processing buffer {"connection_id":159968,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:58:24] local.INFO: IMEI packet received {"connection_id":159968,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":159968,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:58:25] local.INFO: TCP Data received {"connection_id":159968,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159968,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:58:25] local.INFO: Processing buffer {"connection_id":159968,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 08:58:25] local.INFO: IMEI packet received {"connection_id":159968,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 08:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":159968,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:58:26] local.INFO: TCP Data received {"connection_id":157798,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:58:26] local.INFO: Processing buffer {"connection_id":157798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:58:26] local.INFO: IMEI packet received {"connection_id":157798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":157798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:58:36] local.INFO: TCP Data received {"connection_id":157798,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:58:36] local.INFO: Processing buffer {"connection_id":157798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:58:36] local.INFO: IMEI packet received {"connection_id":157798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":157798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:58:37] local.INFO: TCP Data received {"connection_id":157798,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0180ecfb8012d7a42c005ebb6780003014d23..."} 
[2026-08-19 08:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180ecfb8012d7a42c005ebb6780003014d23..."} 
[2026-08-19 08:58:37] local.INFO: Processing buffer {"connection_id":157798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180ecfb8012d7a42c005ebb6780003014d23..."} 
[2026-08-19 08:58:37] local.INFO: Packet analysis {"connection_id":157798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180e"} 
[2026-08-19 08:58:37] local.INFO: Extracted packet for processing {"connection_id":157798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180e"} 
[2026-08-19 08:58:37] local.INFO: GPS Element Parsed {"raw_longitude":762987200,"raw_latitude":99333752,"longitude_deg":76.29872,"latitude_deg":9.9333752,"altitude":3,"angle":333,"satellites":35,"speed":10,"hex_longitude":"2d7a42c0","hex_latitude":"05ebb678","is_valid_coordinates":true} 
[2026-08-19 08:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500159488001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120682696912404480,"note":"Value kept but may cause issues"} 
[2026-08-19 08:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813685233679810560,"note":"Value kept but may cause issues"} 
[2026-08-19 08:58:37] 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-08-19 08:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787110019000,"timestamp_ms":1787110019000,"timestamp_seconds":1787110019,"priority":1,"record_length":96,"hex_timestamp":"000001a0180ecfb8"} 
[2026-08-19 08:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:58: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-08-19 08:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-19 08:58:37] 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-08-19 08:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:58: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-08-19 08:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500159488001,"66":12472,"161":206,"87":13824,"24":10,"16":120682696912404480,"45":8813685233679810560},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-19 08:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500159488001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:58:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 08:58:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120682696912404480,"km_value":120682696912404.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813685233679810560,"description":"Unknown IO ID 45"} 
[2026-08-19 08:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500159488001,"power":12472,"unknown_161":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8813685233679810560}} 
[2026-08-19 08:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":157798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:58:38] local.INFO: GPS data processed {"connection_id":157798,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:58:38] local.INFO: Acknowledgment sent {"connection_id":157798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:58:38] local.INFO: TCP Data received {"connection_id":157422,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:58:38] local.INFO: Processing buffer {"connection_id":157422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:58:38] local.INFO: Packet analysis {"connection_id":157422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:58:38] local.INFO: Extracted packet for processing {"connection_id":157422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500039168001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787109829000,"timestamp_ms":1787109829000,"timestamp_seconds":1787109829,"priority":1,"record_length":96,"hex_timestamp":"000001a0180be988"} 
[2026-08-19 08:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 08:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500039168001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500039168001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500039168001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":157422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:58:38] local.INFO: GPS data processed {"connection_id":157422,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:58:38] local.INFO: Acknowledgment sent {"connection_id":157422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:58:44] local.INFO: TCP Data received {"connection_id":157798,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0180f1dd8012d7a330005ebd6900003015021..."} 
[2026-08-19 08:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180f1dd8012d7a330005ebd6900003015021..."} 
[2026-08-19 08:58:44] local.INFO: Processing buffer {"connection_id":157798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180f1dd8012d7a330005ebd6900003015021..."} 
[2026-08-19 08:58:44] local.INFO: Packet analysis {"connection_id":157798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180f"} 
[2026-08-19 08:58:44] local.INFO: Extracted packet for processing {"connection_id":157798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180f"} 
[2026-08-19 08:58:44] local.INFO: GPS Element Parsed {"raw_longitude":762983168,"raw_latitude":99341968,"longitude_deg":76.2983168,"latitude_deg":9.9341968,"altitude":3,"angle":336,"satellites":33,"speed":20,"hex_longitude":"2d7a3300","hex_latitude":"05ebd690","is_valid_coordinates":true} 
[2026-08-19 08:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 08:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500164864001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120683143589003264,"note":"Value kept but may cause issues"} 
[2026-08-19 08:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809814952752084992,"note":"Value kept but may cause issues"} 
[2026-08-19 08:58:44] 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-08-19 08:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787110039000,"timestamp_ms":1787110039000,"timestamp_seconds":1787110039,"priority":1,"record_length":96,"hex_timestamp":"000001a0180f1dd8"} 
[2026-08-19 08:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 08:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 08:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 08:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:58:44] 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-08-19 08:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500164864001,"66":13656,"161":206,"87":13824,"24":20,"16":120683143589003264,"45":8809814952752084992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-19 08:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500164864001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:58:44] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 08:58:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120683143589003264,"km_value":120683143589003.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809814952752084992,"description":"Unknown IO ID 45"} 
[2026-08-19 08:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500164864001,"power":13656,"unknown_161":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8809814952752084992}} 
[2026-08-19 08:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":157798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:58:44] local.INFO: GPS data processed {"connection_id":157798,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:58:44] local.INFO: Acknowledgment sent {"connection_id":157798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:58:59] local.INFO: TCP Data received {"connection_id":157799,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:58:59] local.INFO: Processing buffer {"connection_id":157799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:58:59] local.INFO: IMEI packet received {"connection_id":157799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 08:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":157799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:59:05] local.INFO: TCP Data received {"connection_id":157799,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:59:05] local.INFO: Processing buffer {"connection_id":157799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 08:59:05] local.INFO: IMEI packet received {"connection_id":157799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 08:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":157799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:59:06] local.INFO: TCP Data received {"connection_id":157799,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:59:06] local.INFO: Processing buffer {"connection_id":157799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180be988012d34c50006aa4078001400591e..."} 
[2026-08-19 08:59:06] local.INFO: Packet analysis {"connection_id":157799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:59:06] local.INFO: Extracted packet for processing {"connection_id":157799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180b"} 
[2026-08-19 08:59:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500039168001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787109829000,"timestamp_ms":1787109829000,"timestamp_seconds":1787109829,"priority":1,"record_length":96,"hex_timestamp":"000001a0180be988"} 
[2026-08-19 08:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 08:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:59:06] 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-08-19 08:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500039168001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500039168001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:59:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:59:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500039168001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":157799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:59:06] local.INFO: GPS data processed {"connection_id":157799,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:59:06] local.INFO: Acknowledgment sent {"connection_id":157799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:59:20] local.INFO: TCP Data received {"connection_id":157423,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:59:20] local.INFO: Processing buffer {"connection_id":157423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:59:20] local.INFO: IMEI packet received {"connection_id":157423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 08:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":157423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 08:59:25] local.INFO: TCP Data received {"connection_id":157423,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:59:25] local.INFO: Processing buffer {"connection_id":157423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 08:59:25] local.INFO: IMEI packet received {"connection_id":157423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 08:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":157423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 08:59:27] local.INFO: TCP Data received {"connection_id":157423,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0180f6040012d7a238005ebf6f80006014e20..."} 
[2026-08-19 08:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180f6040012d7a238005ebf6f80006014e20..."} 
[2026-08-19 08:59:27] local.INFO: Processing buffer {"connection_id":157423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180f6040012d7a238005ebf6f80006014e20..."} 
[2026-08-19 08:59:27] local.INFO: Packet analysis {"connection_id":157423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180f"} 
[2026-08-19 08:59:27] local.INFO: Extracted packet for processing {"connection_id":157423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180f"} 
[2026-08-19 08:59:27] local.INFO: GPS Element Parsed {"raw_longitude":762979200,"raw_latitude":99350264,"longitude_deg":76.29792,"latitude_deg":9.9350264,"altitude":6,"angle":334,"satellites":32,"speed":25,"hex_longitude":"2d7a2380","hex_latitude":"05ebf6f8","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500169984001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120683590265602048,"note":"Value kept but may cause issues"} 
[2026-08-19 08:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805381721870995456,"note":"Value kept but may cause issues"} 
[2026-08-19 08:59:27] 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-08-19 08:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787110056000,"timestamp_ms":1787110056000,"timestamp_seconds":1787110056,"priority":1,"record_length":96,"hex_timestamp":"000001a0180f6040"} 
[2026-08-19 08:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:59: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-08-19 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-19 08:59:27] 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-08-19 08: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-08-19 08:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:59:27] 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-08-19 08:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500169984001,"66":13135,"163":206,"87":13824,"24":25,"16":120683590265602048,"45":8805381721870995456},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-19 08:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500169984001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:59:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 08:59:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120683590265602048,"km_value":120683590265602.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805381721870995456,"description":"Unknown IO ID 45"} 
[2026-08-19 08:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500169984001,"power":13135,"unknown_163":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8805381721870995456}} 
[2026-08-19 08:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":157423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:59:27] local.INFO: GPS data processed {"connection_id":157423,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:59:27] local.INFO: Acknowledgment sent {"connection_id":157423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:59:38] local.INFO: TCP Data received {"connection_id":157799,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 08:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 08:59:38] local.INFO: Processing buffer {"connection_id":157799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 08:59:38] local.INFO: Packet analysis {"connection_id":157799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01810"} 
[2026-08-19 08:59:38] local.INFO: Extracted packet for processing {"connection_id":157799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01810"} 
[2026-08-19 08:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500116224001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 08:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 08:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 08:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787110130000,"timestamp_ms":1787110130000,"timestamp_seconds":1787110130,"priority":1,"record_length":96,"hex_timestamp":"000001a018108150"} 
[2026-08-19 08:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 08:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 08:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 08:59:38] 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-08-19 08:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 08:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 08:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500116224001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 08:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 08:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 08:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500116224001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 08:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 08:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 08:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500116224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 08:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":157799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:59:38] local.INFO: GPS data processed {"connection_id":157799,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:59:38] local.INFO: Acknowledgment sent {"connection_id":157799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 08:59:59] local.INFO: TCP Data received {"connection_id":157423,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0180f9ad8012d7a170005ec1788000601561d..."} 
[2026-08-19 08:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180f9ad8012d7a170005ec1788000601561d..."} 
[2026-08-19 08:59:59] local.INFO: Processing buffer {"connection_id":157423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180f9ad8012d7a170005ec1788000601561d..."} 
[2026-08-19 08:59:59] local.INFO: Packet analysis {"connection_id":157423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180f"} 
[2026-08-19 08:59:59] local.INFO: Extracted packet for processing {"connection_id":157423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180f"} 
[2026-08-19 08:59:59] local.INFO: GPS Element Parsed {"raw_longitude":762976000,"raw_latitude":99358600,"longitude_deg":76.2976,"latitude_deg":9.93586,"altitude":6,"angle":342,"satellites":29,"speed":24,"hex_longitude":"2d7a1700","hex_latitude":"05ec1788","is_valid_coordinates":true} 
[2026-08-19 08: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-08-19 08:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500174336001,"note":"Value kept but may cause issues"} 
[2026-08-19 08:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120684019762331648,"note":"Value kept but may cause issues"} 
[2026-08-19 08:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801018859734104064,"note":"Value kept but may cause issues"} 
[2026-08-19 08:59: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-08-19 08:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787110071000,"timestamp_ms":1787110071000,"timestamp_seconds":1787110071,"priority":1,"record_length":96,"hex_timestamp":"000001a0180f9ad8"} 
[2026-08-19 08:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 08:59: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-08-19 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 08:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 08: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-08-19 08:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 08:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 08:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":157423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 08:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":157423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":157423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 08:59:59] 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-08-19 08:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 08:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 08:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500174336001,"66":13450,"163":206,"87":13824,"24":24,"16":120684019762331648,"45":8801018859734104064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-19 08:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 08:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 08:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500174336001,"description":"Unknown IO ID 0"} 
[2026-08-19 08:59:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 08:59:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 08:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120684019762331648,"km_value":120684019762331.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 08:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801018859734104064,"description":"Unknown IO ID 45"} 
[2026-08-19 08:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500174336001,"power":13450,"unknown_163":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8801018859734104064}} 
[2026-08-19 08:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":157423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 08:59:59] local.INFO: GPS data processed {"connection_id":157423,"processed":1,"errors":0,"total":1} 
[2026-08-19 08:59:59] local.INFO: Acknowledgment sent {"connection_id":157423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:00:00] local.INFO: TCP Data received {"connection_id":159970,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:00:00] local.INFO: Processing buffer {"connection_id":159970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:00:00] local.INFO: IMEI packet received {"connection_id":159970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":159970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:00:05] local.INFO: TCP Data received {"connection_id":159970,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:00:05] local.INFO: Processing buffer {"connection_id":159970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:00:05] local.INFO: IMEI packet received {"connection_id":159970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":159970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:00:06] local.INFO: TCP Data received {"connection_id":159970,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:00:06] local.INFO: Processing buffer {"connection_id":159970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:00:06] local.INFO: Packet analysis {"connection_id":159970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01810"} 
[2026-08-19 09:00:06] local.INFO: Extracted packet for processing {"connection_id":159970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01810"} 
[2026-08-19 09:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500116224001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787110130000,"timestamp_ms":1787110130000,"timestamp_seconds":1787110130,"priority":1,"record_length":96,"hex_timestamp":"000001a018108150"} 
[2026-08-19 09:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 09:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:00:06] 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-08-19 09:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500116224001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 09:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500116224001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500116224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":159970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:00:06] local.INFO: GPS data processed {"connection_id":159970,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:00:06] local.INFO: Acknowledgment sent {"connection_id":159970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:00:20] local.INFO: TCP Data received {"connection_id":159972,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:00:20] local.INFO: Processing buffer {"connection_id":159972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:00:20] local.INFO: IMEI packet received {"connection_id":159972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":159972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:00:25] local.INFO: TCP Data received {"connection_id":159972,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:00:25] local.INFO: Processing buffer {"connection_id":159972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:00:25] local.INFO: IMEI packet received {"connection_id":159972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":159972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:00:26] local.INFO: TCP Data received {"connection_id":159972,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0180fd570012d7a0a4005ec38b00006015a20..."} 
[2026-08-19 09:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0180fd570012d7a0a4005ec38b00006015a20..."} 
[2026-08-19 09:00:26] local.INFO: Processing buffer {"connection_id":159972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0180fd570012d7a0a4005ec38b00006015a20..."} 
[2026-08-19 09:00:26] local.INFO: Packet analysis {"connection_id":159972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0180f"} 
[2026-08-19 09:00:26] local.INFO: Extracted packet for processing {"connection_id":159972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0180f"} 
[2026-08-19 09:00:26] local.INFO: GPS Element Parsed {"raw_longitude":762972736,"raw_latitude":99367088,"longitude_deg":76.2972736,"latitude_deg":9.9367088,"altitude":6,"angle":346,"satellites":32,"speed":22,"hex_longitude":"2d7a0a40","hex_latitude":"05ec38b0","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500178176001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120684466438930432,"note":"Value kept but may cause issues"} 
[2026-08-19 09:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797500422527354880,"note":"Value kept but may cause issues"} 
[2026-08-19 09:00:26] 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-08-19 09:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787110086000,"timestamp_ms":1787110086000,"timestamp_seconds":1787110086,"priority":1,"record_length":96,"hex_timestamp":"000001a0180fd570"} 
[2026-08-19 09:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:00: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-08-19 09: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-19 09:00:26] 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-08-19 09: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-08-19 09:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:00:26] 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-08-19 09:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500178176001,"66":12722,"99":206,"87":13824,"24":22,"16":120684466438930432,"45":8797500422527354880},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-19 09:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500178176001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:00:26] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-19 09:00:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120684466438930432,"km_value":120684466438930.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797500422527354880,"description":"Unknown IO ID 45"} 
[2026-08-19 09:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500178176001,"power":12722,"unknown_99":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8797500422527354880}} 
[2026-08-19 09:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":159972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:00:26] local.INFO: GPS data processed {"connection_id":159972,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:00:26] local.INFO: Acknowledgment sent {"connection_id":159972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:00:38] local.INFO: TCP Data received {"connection_id":159970,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:00:38] local.INFO: Processing buffer {"connection_id":159970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:00:38] local.INFO: Packet analysis {"connection_id":159970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01810"} 
[2026-08-19 09:00:38] local.INFO: Extracted packet for processing {"connection_id":159970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01810"} 
[2026-08-19 09:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 09:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500116224001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787110130000,"timestamp_ms":1787110130000,"timestamp_seconds":1787110130,"priority":1,"record_length":96,"hex_timestamp":"000001a018108150"} 
[2026-08-19 09:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 09:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:00:38] 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-08-19 09:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500116224001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 09:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500116224001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:00:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500116224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":159970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:00:38] local.INFO: GPS data processed {"connection_id":159970,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:00:38] local.INFO: Acknowledgment sent {"connection_id":159970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:00:57] local.INFO: TCP Data received {"connection_id":159972,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a018120fc0012d7a098005ec7e380008005021..."} 
[2026-08-19 09:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018120fc0012d7a098005ec7e380008005021..."} 
[2026-08-19 09:00:57] local.INFO: Processing buffer {"connection_id":159972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018120fc0012d7a098005ec7e380008005021..."} 
[2026-08-19 09:00:57] local.INFO: Packet analysis {"connection_id":159972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01812"} 
[2026-08-19 09:00:57] local.INFO: Extracted packet for processing {"connection_id":159972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01812"} 
[2026-08-19 09:00:57] local.INFO: GPS Element Parsed {"raw_longitude":762972544,"raw_latitude":99384888,"longitude_deg":76.2972544,"latitude_deg":9.9384888,"altitude":8,"angle":80,"satellites":33,"speed":0,"hex_longitude":"2d7a0980","hex_latitude":"05ec7e38","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500214016001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120685505821016064,"note":"Value kept but may cause issues"} 
[2026-08-19 09:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793700510348490752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:00:57] 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-08-19 09:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787110232000,"timestamp_ms":1787110232000,"timestamp_seconds":1787110232,"priority":1,"record_length":96,"hex_timestamp":"000001a018120fc0"} 
[2026-08-19 09:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:00: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-08-19 09: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-19 09:00:57] 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-08-19 09: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-08-19 09:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:00:57] 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-08-19 09:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500214016001,"66":12743,"100":206,"87":13824,"24":0,"16":120685505821016064,"45":8793700510348490752},"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-08-19 09:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500214016001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:00:57] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 09:00:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120685505821016064,"km_value":120685505821016.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793700510348490752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500214016001,"power":12743,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8793700510348490752}} 
[2026-08-19 09:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":159972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:00:57] local.INFO: GPS data processed {"connection_id":159972,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:00:57] local.INFO: Acknowledgment sent {"connection_id":159972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:01:00] local.INFO: TCP Data received {"connection_id":159973,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:01:00] local.INFO: Processing buffer {"connection_id":159973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:01:00] local.INFO: IMEI packet received {"connection_id":159973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":159973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:01:05] local.INFO: TCP Data received {"connection_id":159973,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:01:05] local.INFO: Processing buffer {"connection_id":159973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:01:05] local.INFO: IMEI packet received {"connection_id":159973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":159973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:01:06] local.INFO: TCP Data received {"connection_id":159973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:01:06] local.INFO: Processing buffer {"connection_id":159973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:01:06] local.INFO: Packet analysis {"connection_id":159973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01810"} 
[2026-08-19 09:01:06] local.INFO: Extracted packet for processing {"connection_id":159973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01810"} 
[2026-08-19 09:01:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 09:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500116224001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787110130000,"timestamp_ms":1787110130000,"timestamp_seconds":1787110130,"priority":1,"record_length":96,"hex_timestamp":"000001a018108150"} 
[2026-08-19 09:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 09:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500116224001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 09:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500116224001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:01:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500116224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":159973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:01:06] local.INFO: GPS data processed {"connection_id":159973,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:01:06] local.INFO: Acknowledgment sent {"connection_id":159973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:01:20] local.INFO: TCP Data received {"connection_id":157800,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:01:20] local.INFO: Processing buffer {"connection_id":157800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:01:20] local.INFO: IMEI packet received {"connection_id":157800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":157800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:01:23] local.INFO: TCP Data received {"connection_id":157800,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:01:23] local.INFO: Processing buffer {"connection_id":157800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:01:23] local.INFO: IMEI packet received {"connection_id":157800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":157800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:01:24] local.INFO: TCP Data received {"connection_id":157800,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a018122f00012d7a0bc005ec7e700006004321..."} 
[2026-08-19 09:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018122f00012d7a0bc005ec7e700006004321..."} 
[2026-08-19 09:01:24] local.INFO: Processing buffer {"connection_id":157800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018122f00012d7a0bc005ec7e700006004321..."} 
[2026-08-19 09:01:24] local.INFO: Packet analysis {"connection_id":157800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01812"} 
[2026-08-19 09:01:24] local.INFO: Extracted packet for processing {"connection_id":157800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01812"} 
[2026-08-19 09:01:24] local.INFO: GPS Element Parsed {"raw_longitude":762973120,"raw_latitude":99384944,"longitude_deg":76.297312,"latitude_deg":9.9384944,"altitude":6,"angle":67,"satellites":33,"speed":3,"hex_longitude":"2d7a0bc0","hex_latitude":"05ec7e70","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500219392001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120685531590819840,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793700510348490752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:24] 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-08-19 09:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787110240000,"timestamp_ms":1787110240000,"timestamp_seconds":1787110240,"priority":1,"record_length":96,"hex_timestamp":"000001a018122f00"} 
[2026-08-19 09:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:01: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-08-19 09:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-19 09:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":157800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":157800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":157800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:01:24] 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-08-19 09:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500219392001,"66":13178,"100":206,"87":13824,"24":3,"16":120685531590819840,"45":8793700510348490752},"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-08-19 09:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500219392001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:01:24] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 09:01:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120685531590819840,"km_value":120685531590819.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793700510348490752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500219392001,"power":13178,"unknown_100":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8793700510348490752}} 
[2026-08-19 09:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":157800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:01:24] local.INFO: GPS data processed {"connection_id":157800,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:01:24] local.INFO: Acknowledgment sent {"connection_id":157800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:01:37] local.INFO: TCP Data received {"connection_id":159973,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:01:37] local.INFO: Processing buffer {"connection_id":159973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:01:37] local.INFO: Packet analysis {"connection_id":159973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01810"} 
[2026-08-19 09:01:37] local.INFO: Extracted packet for processing {"connection_id":159973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01810"} 
[2026-08-19 09:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 09:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500116224001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787110130000,"timestamp_ms":1787110130000,"timestamp_seconds":1787110130,"priority":1,"record_length":96,"hex_timestamp":"000001a018108150"} 
[2026-08-19 09:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 09:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500116224001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 09:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500116224001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500116224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":159973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:01:37] local.INFO: GPS data processed {"connection_id":159973,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:01:37] local.INFO: Acknowledgment sent {"connection_id":159973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:01:55] local.INFO: TCP Data received {"connection_id":157800,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01812dec8012d79f68005ec7728000a013e23..."} 
[2026-08-19 09:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01812dec8012d79f68005ec7728000a013e23..."} 
[2026-08-19 09:01:55] local.INFO: Processing buffer {"connection_id":157800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01812dec8012d79f68005ec7728000a013e23..."} 
[2026-08-19 09:01:55] local.INFO: Packet analysis {"connection_id":157800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01812"} 
[2026-08-19 09:01:55] local.INFO: Extracted packet for processing {"connection_id":157800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01812"} 
[2026-08-19 09:01:55] local.INFO: GPS Element Parsed {"raw_longitude":762967680,"raw_latitude":99383080,"longitude_deg":76.296768,"latitude_deg":9.938308,"altitude":10,"angle":318,"satellites":35,"speed":12,"hex_longitude":"2d79f680","hex_latitude":"05ec7728","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500232448001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120686115706372096,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788774698255517696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:55] 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-08-19 09:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787110285000,"timestamp_ms":1787110285000,"timestamp_seconds":1787110285,"priority":1,"record_length":96,"hex_timestamp":"000001a01812dec8"} 
[2026-08-19 09:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:01: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-08-19 09: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-19 09:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":426856218066682065,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:55] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466427838976,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:55] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186028,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:55] local.WARNING: Large IO value detected {"io_id":195,"raw_value":144115188075855873,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":1734582087935949334,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:55] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832608,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:55] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3663397703504888014,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:55] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2251799814340612,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-19 09:01:55] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3271819264,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967739904,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:55] local.WARNING: Large IO value detected {"io_id":8,"raw_value":64779926674341888,"note":"Value kept but may cause issues"} 
[2026-08-19 09:01:55] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,100,87,24,241,157,16,195,160,211,45,128,117,11,35,10,66,164,123,37,148,1,240,227,236,4,113,205,12,129,21,176,239,51,2,172,5,8],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-19 09:01:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720901546145349632,"timestamp_seconds":720901546145349.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":157800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":157800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":157800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:01:55] 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-08-19 09:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500232448001,"66":12885,"100":206,"87":13824,"24":12,"16":120686115706372096,"45":8788774698255517696},"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-08-19 09:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500232448001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:01:55] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 09:01:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120686115706372096,"km_value":120686115706372.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788774698255517696,"description":"Unknown IO ID 45"} 
[2026-08-19 09:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500232448001,"power":12885,"unknown_100":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8788774698255517696}} 
[2026-08-19 09:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":157800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:01:55] local.INFO: GPS data processed {"connection_id":157800,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:01:55] local.INFO: Acknowledgment sent {"connection_id":157800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:02:00] local.INFO: TCP Data received {"connection_id":159974,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:02:00] local.INFO: Processing buffer {"connection_id":159974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:02:00] local.INFO: IMEI packet received {"connection_id":159974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":159974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:02:06] local.INFO: TCP Data received {"connection_id":159974,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:02:06] local.INFO: Processing buffer {"connection_id":159974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:02:06] local.INFO: IMEI packet received {"connection_id":159974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":159974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:02:17] local.INFO: TCP Data received {"connection_id":159974,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:02:17] local.INFO: Processing buffer {"connection_id":159974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:02:17] local.INFO: Packet analysis {"connection_id":159974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01810"} 
[2026-08-19 09:02:17] local.INFO: Extracted packet for processing {"connection_id":159974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01810"} 
[2026-08-19 09:02:17] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500116224001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:02: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-08-19 09:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787110130000,"timestamp_ms":1787110130000,"timestamp_seconds":1787110130,"priority":1,"record_length":96,"hex_timestamp":"000001a018108150"} 
[2026-08-19 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-08-19 09:02: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-08-19 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 09:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 09:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500116224001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 09:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500116224001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:02:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:02:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500116224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":159974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:02:17] local.INFO: GPS data processed {"connection_id":159974,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:02:17] local.INFO: Acknowledgment sent {"connection_id":159974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:02:20] local.INFO: TCP Data received {"connection_id":157425,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:02:20] local.INFO: Processing buffer {"connection_id":157425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:02:20] local.INFO: IMEI packet received {"connection_id":157425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":157425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:02:25] local.INFO: TCP Data received {"connection_id":157425,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:02:25] local.INFO: Processing buffer {"connection_id":157425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:02:25] local.INFO: IMEI packet received {"connection_id":157425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":157425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:02:27] local.INFO: TCP Data received {"connection_id":157425,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01812e698012d79f4c005ec78f8000a014a23..."} 
[2026-08-19 09:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01812e698012d79f4c005ec78f8000a014a23..."} 
[2026-08-19 09:02:27] local.INFO: Processing buffer {"connection_id":157425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01812e698012d79f4c005ec78f8000a014a23..."} 
[2026-08-19 09:02:27] local.INFO: Packet analysis {"connection_id":157425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01812"} 
[2026-08-19 09:02:27] local.INFO: Extracted packet for processing {"connection_id":157425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01812"} 
[2026-08-19 09:02:27] local.INFO: GPS Element Parsed {"raw_longitude":762967232,"raw_latitude":99383544,"longitude_deg":76.2967232,"latitude_deg":9.9383544,"altitude":10,"angle":330,"satellites":35,"speed":11,"hex_longitude":"2d79f4c0","hex_latitude":"05ec78f8","is_valid_coordinates":true} 
[2026-08-19 09:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500232960001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120686145771143168,"note":"Value kept but may cause issues"} 
[2026-08-19 09:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788352485790525440,"note":"Value kept but may cause issues"} 
[2026-08-19 09:02:27] 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-08-19 09:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787110287000,"timestamp_ms":1787110287000,"timestamp_seconds":1787110287,"priority":1,"record_length":96,"hex_timestamp":"000001a01812e698"} 
[2026-08-19 09:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 09:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:02:27] 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-08-19 09:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500232960001,"66":12961,"100":206,"87":13824,"24":11,"16":120686145771143168,"45":8788352485790525440},"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-08-19 09:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500232960001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:02:27] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 09:02:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120686145771143168,"km_value":120686145771143.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788352485790525440,"description":"Unknown IO ID 45"} 
[2026-08-19 09:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500232960001,"power":12961,"unknown_100":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8788352485790525440}} 
[2026-08-19 09:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":157425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:02:27] local.INFO: GPS data processed {"connection_id":157425,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:02:27] local.INFO: Acknowledgment sent {"connection_id":157425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:02:58] local.INFO: TCP Data received {"connection_id":157425,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181338a0012d79f04005ec7fe00008014723..."} 
[2026-08-19 09:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181338a0012d79f04005ec7fe00008014723..."} 
[2026-08-19 09:02:58] local.INFO: Processing buffer {"connection_id":157425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181338a0012d79f04005ec7fe00008014723..."} 
[2026-08-19 09:02:58] local.INFO: Packet analysis {"connection_id":157425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01813"} 
[2026-08-19 09:02:58] local.INFO: Extracted packet for processing {"connection_id":157425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01813"} 
[2026-08-19 09:02:58] local.INFO: GPS Element Parsed {"raw_longitude":762966080,"raw_latitude":99385312,"longitude_deg":76.296608,"latitude_deg":9.9385312,"altitude":8,"angle":327,"satellites":35,"speed":0,"hex_longitude":"2d79f040","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-08-19 09:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500233472001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120686253145325568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787859904581400576,"note":"Value kept but may cause issues"} 
[2026-08-19 09:02:58] 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-08-19 09:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787110308000,"timestamp_ms":1787110308000,"timestamp_seconds":1787110308,"priority":1,"record_length":96,"hex_timestamp":"000001a0181338a0"} 
[2026-08-19 09:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:02: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-08-19 09:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-19 09:02:58] 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-08-19 09:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:02:58] 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-08-19 09:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500233472001,"66":13341,"100":206,"87":13824,"24":0,"16":120686253145325568,"45":8787859904581400576},"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-08-19 09:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500233472001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:02:58] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 09:02:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120686253145325568,"km_value":120686253145325.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787859904581400576,"description":"Unknown IO ID 45"} 
[2026-08-19 09:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500233472001,"power":13341,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787859904581400576}} 
[2026-08-19 09:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":157425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:02:58] local.INFO: GPS data processed {"connection_id":157425,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:02:58] local.INFO: Acknowledgment sent {"connection_id":157425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:02:59] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:02:59] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:02:59] local.INFO: IMEI packet received {"connection_id":159976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":159976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:03:05] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:03:05] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:03:05] local.INFO: IMEI packet received {"connection_id":159976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":159976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:03:10] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:03:10] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:03:10] local.INFO: Packet analysis {"connection_id":159976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01810"} 
[2026-08-19 09:03:10] local.INFO: Extracted packet for processing {"connection_id":159976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01810"} 
[2026-08-19 09:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 09:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500116224001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787110130000,"timestamp_ms":1787110130000,"timestamp_seconds":1787110130,"priority":1,"record_length":96,"hex_timestamp":"000001a018108150"} 
[2026-08-19 09:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 09:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500116224001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 09:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500116224001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:03:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500116224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":159976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:03:10] local.INFO: GPS data processed {"connection_id":159976,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:03:10] local.INFO: Acknowledgment sent {"connection_id":159976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:03:20] local.INFO: TCP Data received {"connection_id":159978,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:03:20] local.INFO: Processing buffer {"connection_id":159978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:03:20] local.INFO: IMEI packet received {"connection_id":159978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":159978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:03:25] local.INFO: TCP Data received {"connection_id":159978,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:03:25] local.INFO: Processing buffer {"connection_id":159978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:03:25] local.INFO: IMEI packet received {"connection_id":159978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":159978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:03:26] local.INFO: TCP Data received {"connection_id":159978,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a018138aa8012d79ed4005ec84780006014724..."} 
[2026-08-19 09:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018138aa8012d79ed4005ec84780006014724..."} 
[2026-08-19 09:03:26] local.INFO: Processing buffer {"connection_id":159978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018138aa8012d79ed4005ec84780006014724..."} 
[2026-08-19 09:03:26] local.INFO: Packet analysis {"connection_id":159978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01813"} 
[2026-08-19 09:03:26] local.INFO: Extracted packet for processing {"connection_id":159978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01813"} 
[2026-08-19 09:03:26] local.INFO: GPS Element Parsed {"raw_longitude":762965312,"raw_latitude":99386488,"longitude_deg":76.2965312,"latitude_deg":9.9386488,"altitude":6,"angle":327,"satellites":36,"speed":0,"hex_longitude":"2d79ed40","hex_latitude":"05ec8478","is_valid_coordinates":true} 
[2026-08-19 09:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500238848001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120686326159769600,"note":"Value kept but may cause issues"} 
[2026-08-19 09:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786593267186655232,"note":"Value kept but may cause issues"} 
[2026-08-19 09:03:26] 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-08-19 09:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787110329000,"timestamp_ms":1787110329000,"timestamp_seconds":1787110329,"priority":1,"record_length":96,"hex_timestamp":"000001a018138aa8"} 
[2026-08-19 09:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:03: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-08-19 09:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 09:03:26] 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-08-19 09:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:03:26] 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-08-19 09:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500238848001,"66":12939,"100":206,"87":13824,"24":0,"16":120686326159769600,"45":8786593267186655232},"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-08-19 09:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500238848001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:03:26] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 09:03:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120686326159769600,"km_value":120686326159769.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786593267186655232,"description":"Unknown IO ID 45"} 
[2026-08-19 09:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500238848001,"power":12939,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8786593267186655232}} 
[2026-08-19 09:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":159978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:03:26] local.INFO: GPS data processed {"connection_id":159978,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:03:26] local.INFO: Acknowledgment sent {"connection_id":159978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:03:29] local.INFO: TCP Data received {"connection_id":159977,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159977,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:03:29] local.INFO: Processing buffer {"connection_id":159977,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:03:29] local.INFO: IMEI packet received {"connection_id":159977,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":159977,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:03:30] local.INFO: TCP Data received {"connection_id":159977,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a018141360012d0c350007075768001100d020..."} 
[2026-08-19 09:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018141360012d0c350007075768001100d020..."} 
[2026-08-19 09:03:30] local.INFO: Processing buffer {"connection_id":159977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018141360012d0c350007075768001100d020..."} 
[2026-08-19 09:03:30] local.INFO: Packet analysis {"connection_id":159977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01814"} 
[2026-08-19 09:03:30] local.INFO: Extracted packet for processing {"connection_id":159977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01814"} 
[2026-08-19 09:03:30] local.INFO: GPS Element Parsed {"raw_longitude":755774720,"raw_latitude":117921640,"longitude_deg":75.577472,"latitude_deg":11.792164,"altitude":17,"angle":208,"satellites":32,"speed":23,"hex_longitude":"2d0c3500","hex_latitude":"07075768","is_valid_coordinates":true} 
[2026-08-19 09:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500251136001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28746435155460096,"note":"Value kept but may cause issues"} 
[2026-08-19 09:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879890807386927104,"note":"Value kept but may cause issues"} 
[2026-08-19 09:03:30] 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-08-19 09:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787110364000,"timestamp_ms":1787110364000,"timestamp_seconds":1787110364,"priority":1,"record_length":96,"hex_timestamp":"000001a018141360"} 
[2026-08-19 09:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:03: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-08-19 09:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-19 09:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500251136001,"66":14396,"221":206,"94":10240,"24":23,"16":28746435155460096,"45":879890807386927104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-19 09:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500251136001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:03:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-19 09:03:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28746435155460096,"km_value":28746435155460.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":879890807386927104,"description":"Unknown IO ID 45"} 
[2026-08-19 09:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500251136001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":879890807386927104}} 
[2026-08-19 09:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":159977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663666,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:03:30] local.INFO: GPS data processed {"connection_id":159977,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:03:30] local.INFO: Acknowledgment sent {"connection_id":159977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:03:45] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:03:45] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:03:45] local.INFO: Packet analysis {"connection_id":159976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01810"} 
[2026-08-19 09:03:45] local.INFO: Extracted packet for processing {"connection_id":159976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01810"} 
[2026-08-19 09:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500116224001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787110130000,"timestamp_ms":1787110130000,"timestamp_seconds":1787110130,"priority":1,"record_length":96,"hex_timestamp":"000001a018108150"} 
[2026-08-19 09:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 09:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500116224001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 09:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500116224001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:03:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:03:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500116224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":159976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:03:45] local.INFO: GPS data processed {"connection_id":159976,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:03:45] local.INFO: Acknowledgment sent {"connection_id":159976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:03:57] local.INFO: TCP Data received {"connection_id":159978,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01814f9d8012d79f40005ecad50000a00a320..."} 
[2026-08-19 09:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01814f9d8012d79f40005ecad50000a00a320..."} 
[2026-08-19 09:03:57] local.INFO: Processing buffer {"connection_id":159978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01814f9d8012d79f40005ecad50000a00a320..."} 
[2026-08-19 09:03:57] local.INFO: Packet analysis {"connection_id":159978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01814"} 
[2026-08-19 09:03:57] local.INFO: Extracted packet for processing {"connection_id":159978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01814"} 
[2026-08-19 09:03:57] local.INFO: GPS Element Parsed {"raw_longitude":762967040,"raw_latitude":99396944,"longitude_deg":76.296704,"latitude_deg":9.9396944,"altitude":10,"angle":163,"satellites":32,"speed":6,"hex_longitude":"2d79f400","hex_latitude":"05ecad50","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500267520001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120687155088457728,"note":"Value kept but may cause issues"} 
[2026-08-19 09:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787508060864073728,"note":"Value kept but may cause issues"} 
[2026-08-19 09:03:57] 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-08-19 09:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787110423000,"timestamp_ms":1787110423000,"timestamp_seconds":1787110423,"priority":1,"record_length":96,"hex_timestamp":"000001a01814f9d8"} 
[2026-08-19 09:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:03:57] 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-08-19 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 09:03:57] 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-08-19 09: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-08-19 09:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:03:57] 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-08-19 09:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500267520001,"66":13059,"100":206,"87":13824,"24":6,"16":120687155088457728,"45":8787508060864073728},"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-08-19 09:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500267520001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:03:57] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 09:03:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120687155088457728,"km_value":120687155088457.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787508060864073728,"description":"Unknown IO ID 45"} 
[2026-08-19 09:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500267520001,"power":13059,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8787508060864073728}} 
[2026-08-19 09:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":159978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:03:57] local.INFO: GPS data processed {"connection_id":159978,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:03:57] local.INFO: Acknowledgment sent {"connection_id":159978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:04:00] local.INFO: TCP Data received {"connection_id":157801,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:04:00] local.INFO: Processing buffer {"connection_id":157801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:04:00] local.INFO: IMEI packet received {"connection_id":157801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":157801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:04:05] local.INFO: TCP Data received {"connection_id":157801,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:04:05] local.INFO: Processing buffer {"connection_id":157801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:04:05] local.INFO: IMEI packet received {"connection_id":157801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":157801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:04:07] local.INFO: TCP Data received {"connection_id":157801,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:04:07] local.INFO: Processing buffer {"connection_id":157801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018108150012d34c50006aa4078001400591c..."} 
[2026-08-19 09:04:07] local.INFO: Packet analysis {"connection_id":157801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01810"} 
[2026-08-19 09:04:07] local.INFO: Extracted packet for processing {"connection_id":157801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01810"} 
[2026-08-19 09:04:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":20,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500116224001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787110130000,"timestamp_ms":1787110130000,"timestamp_seconds":1787110130,"priority":1,"record_length":96,"hex_timestamp":"000001a018108150"} 
[2026-08-19 09:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:04: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-08-19 09:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 09:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:04:07] 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-08-19 09:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500116224001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 09:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500116224001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:04:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:04:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500116224001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":157801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:04:07] local.INFO: GPS data processed {"connection_id":157801,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:04:07] local.INFO: Acknowledgment sent {"connection_id":157801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:04:14] local.INFO: TCP Data received {"connection_id":157802,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157802,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:04:14] local.INFO: Processing buffer {"connection_id":157802,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:04:14] local.INFO: IMEI packet received {"connection_id":157802,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":157802,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:04:15] local.INFO: TCP Data received {"connection_id":157802,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157802,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:04:15] local.INFO: Processing buffer {"connection_id":157802,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:04:15] local.INFO: IMEI packet received {"connection_id":157802,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":157802,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:04:19] local.INFO: TCP Data received {"connection_id":157802,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157802,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:04:19] local.INFO: Processing buffer {"connection_id":157802,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:04:19] local.INFO: IMEI packet received {"connection_id":157802,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":157802,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:04:20] local.INFO: TCP Data received {"connection_id":157802,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01814e650012d0bb000070718a0000e00f520..."} 
[2026-08-19 09:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01814e650012d0bb000070718a0000e00f520..."} 
[2026-08-19 09:04:20] local.INFO: Processing buffer {"connection_id":157802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01814e650012d0bb000070718a0000e00f520..."} 
[2026-08-19 09:04:20] local.INFO: Packet analysis {"connection_id":157802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01814"} 
[2026-08-19 09:04:20] local.INFO: Extracted packet for processing {"connection_id":157802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01814"} 
[2026-08-19 09:04:20] local.INFO: GPS Element Parsed {"raw_longitude":755740672,"raw_latitude":117905568,"longitude_deg":75.5740672,"latitude_deg":11.7905568,"altitude":14,"angle":245,"satellites":32,"speed":21,"hex_longitude":"2d0bb000","hex_latitude":"070718a0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500266752001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28748591229042688,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842665741711411200,"note":"Value kept but may cause issues"} 
[2026-08-19 09: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-08-19 09:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787110418000,"timestamp_ms":1787110418000,"timestamp_seconds":1787110418,"priority":1,"record_length":96,"hex_timestamp":"000001a01814e650"} 
[2026-08-19 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-08-19 09:04: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-08-19 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 09:04:20] 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-08-19 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-08-19 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-08-19 09:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500266752001,"66":14363,"163":206,"94":10240,"24":21,"16":28748591229042688,"45":842665741711411200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-19 09:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500266752001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:04:20] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 09:04:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28748591229042688,"km_value":28748591229042.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":842665741711411200,"description":"Unknown IO ID 45"} 
[2026-08-19 09:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500266752001,"power":14363,"unknown_163":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":842665741711411200}} 
[2026-08-19 09:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":157802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663670,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:04:20] local.INFO: GPS data processed {"connection_id":157802,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:04:20] local.INFO: Acknowledgment sent {"connection_id":157802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:04:25] local.INFO: TCP Data received {"connection_id":158694,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:04:25] local.INFO: Processing buffer {"connection_id":158694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:04:25] local.INFO: IMEI packet received {"connection_id":158694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":158694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:04:30] local.INFO: TCP Data received {"connection_id":158694,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:04:30] local.INFO: Processing buffer {"connection_id":158694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:04:30] local.INFO: IMEI packet received {"connection_id":158694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":158694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:04:31] local.INFO: TCP Data received {"connection_id":158694,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181501a8012d79f4c005ecac90000a009021..."} 
[2026-08-19 09:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181501a8012d79f4c005ecac90000a009021..."} 
[2026-08-19 09:04:31] local.INFO: Processing buffer {"connection_id":158694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181501a8012d79f4c005ecac90000a009021..."} 
[2026-08-19 09:04:31] local.INFO: Packet analysis {"connection_id":158694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:04:31] local.INFO: Extracted packet for processing {"connection_id":158694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:04:31] local.INFO: GPS Element Parsed {"raw_longitude":762967232,"raw_latitude":99396752,"longitude_deg":76.2967232,"latitude_deg":9.9396752,"altitude":10,"angle":144,"satellites":33,"speed":2,"hex_longitude":"2d79f4c0","hex_latitude":"05ecac90","is_valid_coordinates":true} 
[2026-08-19 09:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500268288001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120687167973359616,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787648798352297984,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04: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-08-19 09:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787110425000,"timestamp_ms":1787110425000,"timestamp_seconds":1787110425,"priority":1,"record_length":96,"hex_timestamp":"000001a0181501a8"} 
[2026-08-19 09:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:04:31] 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-08-19 09:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 09:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167744036164,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:31] local.WARNING: Large IO value detected {"io_id":100,"raw_value":58079734643818503,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:31] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2927099915,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-19 09:04:31] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3292725248,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970754560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:31] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,100,87,24,241,157,16,196,160,238,45,128,175,10,34,66,218,32,210,1,240,181,227,236,4,113,205,11,195,242,136,239,52,2,172,5,7],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-19 09:04:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720755298213953536,"timestamp_seconds":720755298213953.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":158694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":158694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":158694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:04:31] 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-08-19 09:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500268288001,"66":13048,"100":206,"87":13824,"24":2,"16":120687167973359616,"45":8787648798352297984},"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-08-19 09:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500268288001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:04:31] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 09:04:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120687167973359616,"km_value":120687167973359.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787648798352297984,"description":"Unknown IO ID 45"} 
[2026-08-19 09:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500268288001,"power":13048,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8787648798352297984}} 
[2026-08-19 09:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":158694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:04:31] local.INFO: GPS data processed {"connection_id":158694,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:04:31] local.INFO: Acknowledgment sent {"connection_id":158694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:04:32] local.INFO: TCP Data received {"connection_id":158694,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a018150978012d79f4c005ecace80009001521..."} 
[2026-08-19 09:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018150978012d79f4c005ecace80009001521..."} 
[2026-08-19 09:04:32] local.INFO: Processing buffer {"connection_id":158694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018150978012d79f4c005ecace80009001521..."} 
[2026-08-19 09:04:32] local.INFO: Packet analysis {"connection_id":158694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:04:32] local.INFO: Extracted packet for processing {"connection_id":158694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:04:32] local.INFO: GPS Element Parsed {"raw_longitude":762967232,"raw_latitude":99396840,"longitude_deg":76.2967232,"latitude_deg":9.939684,"altitude":9,"angle":21,"satellites":33,"speed":0,"hex_longitude":"2d79f4c0","hex_latitude":"05ecace8","is_valid_coordinates":true} 
[2026-08-19 09:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500268800001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120687172268326912,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787859904584781824,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787110427000,"timestamp_ms":1787110427000,"timestamp_seconds":1787110427,"priority":1,"record_length":96,"hex_timestamp":"000001a018150978"} 
[2026-08-19 09:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 09:04: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-08-19 09:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:04:32] 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-08-19 09:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500268800001,"66":13048,"100":206,"87":13824,"24":0,"16":120687172268326912,"45":8787859904584781824},"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-08-19 09:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500268800001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:04:32] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 09:04:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120687172268326912,"km_value":120687172268326.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787859904584781824,"description":"Unknown IO ID 45"} 
[2026-08-19 09:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500268800001,"power":13048,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787859904584781824}} 
[2026-08-19 09:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":158694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:04:32] local.INFO: GPS data processed {"connection_id":158694,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:04:32] local.INFO: Acknowledgment sent {"connection_id":158694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:04:38] local.INFO: TCP Data received {"connection_id":157801,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:04:38] local.INFO: Processing buffer {"connection_id":157801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:04:38] local.INFO: Packet analysis {"connection_id":157801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:04:38] local.INFO: Extracted packet for processing {"connection_id":157801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":24,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500193280001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787110431000,"timestamp_ms":1787110431000,"timestamp_seconds":1787110431,"priority":1,"record_length":96,"hex_timestamp":"000001a018151918"} 
[2026-08-19 09:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:04:38] 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-08-19 09:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500193280001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 09:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500193280001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500193280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":157801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:04:38] local.INFO: GPS data processed {"connection_id":157801,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:04:38] local.INFO: Acknowledgment sent {"connection_id":157801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:04:51] local.INFO: TCP Data received {"connection_id":157802,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0181501a8012d0b9f40070712080010010421..."} 
[2026-08-19 09:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181501a8012d0b9f40070712080010010421..."} 
[2026-08-19 09:04:51] local.INFO: Processing buffer {"connection_id":157802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181501a8012d0b9f40070712080010010421..."} 
[2026-08-19 09:04:51] local.INFO: Packet analysis {"connection_id":157802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:04:51] local.INFO: Extracted packet for processing {"connection_id":157802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:04:51] local.INFO: GPS Element Parsed {"raw_longitude":755736384,"raw_latitude":117903880,"longitude_deg":75.5736384,"latitude_deg":11.790388,"altitude":16,"angle":260,"satellites":33,"speed":30,"hex_longitude":"2d0b9f40","hex_latitude":"07071208","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500267008001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28748814567342080,"note":"Value kept but may cause issues"} 
[2026-08-19 09:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842173160502108160,"note":"Value kept but may cause issues"} 
[2026-08-19 09: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-08-19 09:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787110425000,"timestamp_ms":1787110425000,"timestamp_seconds":1787110425,"priority":1,"record_length":96,"hex_timestamp":"000001a0181501a8"} 
[2026-08-19 09:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09: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":27,"data_length":795,"current_offset":136} 
[2026-08-19 09:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157802,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500267008001,"66":14428,"163":206,"94":10240,"24":30,"16":28748814567342080,"45":842173160502108160},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-19 09:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500267008001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:04:51] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 09:04:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28748814567342080,"km_value":28748814567342.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":842173160502108160,"description":"Unknown IO ID 45"} 
[2026-08-19 09:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500267008001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":842173160502108160}} 
[2026-08-19 09:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":157802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663674,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:04:51] local.INFO: GPS data processed {"connection_id":157802,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:04:51] local.INFO: Acknowledgment sent {"connection_id":157802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:05:00] local.INFO: TCP Data received {"connection_id":157426,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:05:00] local.INFO: Processing buffer {"connection_id":157426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:05:00] local.INFO: IMEI packet received {"connection_id":157426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":157426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:05:03] local.INFO: TCP Data received {"connection_id":158694,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a018155b80012d79f50005ecad20000900151f..."} 
[2026-08-19 09:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018155b80012d79f50005ecad20000900151f..."} 
[2026-08-19 09:05:03] local.INFO: Processing buffer {"connection_id":158694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018155b80012d79f50005ecad20000900151f..."} 
[2026-08-19 09:05:03] local.INFO: Packet analysis {"connection_id":158694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:05:03] local.INFO: Extracted packet for processing {"connection_id":158694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:05:03] local.INFO: GPS Element Parsed {"raw_longitude":762967296,"raw_latitude":99396896,"longitude_deg":76.2967296,"latitude_deg":9.9396896,"altitude":9,"angle":21,"satellites":31,"speed":0,"hex_longitude":"2d79f500","hex_latitude":"05ecad20","is_valid_coordinates":true} 
[2026-08-19 09:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500269312001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120687176563294208,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787859904584804352,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:03] 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-08-19 09:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787110448000,"timestamp_ms":1787110448000,"timestamp_seconds":1787110448,"priority":1,"record_length":96,"hex_timestamp":"000001a018155b80"} 
[2026-08-19 09:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:05:03] 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-08-19 09:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 09:05:03] 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-08-19 09:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":158694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":158694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":158694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:05:03] 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-08-19 09:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500269312001,"66":13374,"118":206,"87":13824,"24":0,"16":120687176563294208,"45":8787859904584804352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-08-19 09:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500269312001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:05:03] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 09:05:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120687176563294208,"km_value":120687176563294.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787859904584804352,"description":"Unknown IO ID 45"} 
[2026-08-19 09:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500269312001,"power":13374,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787859904584804352}} 
[2026-08-19 09:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":158694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:05:03] local.INFO: GPS data processed {"connection_id":158694,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:05:03] local.INFO: Acknowledgment sent {"connection_id":158694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:05:05] local.INFO: TCP Data received {"connection_id":157426,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:05:05] local.INFO: Processing buffer {"connection_id":157426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:05:05] local.INFO: IMEI packet received {"connection_id":157426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":157426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:05:06] local.INFO: TCP Data received {"connection_id":157426,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:05:06] local.INFO: Processing buffer {"connection_id":157426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:05:06] local.INFO: Packet analysis {"connection_id":157426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:05:06] local.INFO: Extracted packet for processing {"connection_id":157426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:05:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":24,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500193280001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787110431000,"timestamp_ms":1787110431000,"timestamp_seconds":1787110431,"priority":1,"record_length":96,"hex_timestamp":"000001a018151918"} 
[2026-08-19 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-08-19 09:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 09:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500193280001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 09:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500193280001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:05:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500193280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":157426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:05:06] local.INFO: GPS data processed {"connection_id":157426,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:05:06] local.INFO: Acknowledgment sent {"connection_id":157426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:05:19] local.INFO: TCP Data received {"connection_id":159979,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:05:19] local.INFO: Processing buffer {"connection_id":159979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:05:19] local.INFO: IMEI packet received {"connection_id":159979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":159979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:05:19] local.INFO: TCP Data received {"connection_id":157803,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:05:19] local.INFO: Processing buffer {"connection_id":157803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:05:19] local.INFO: IMEI packet received {"connection_id":157803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":157803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:05:20] local.INFO: TCP Data received {"connection_id":159979,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:05:20] local.INFO: Processing buffer {"connection_id":159979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:05:20] local.INFO: IMEI packet received {"connection_id":159979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":159979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:05:20] local.INFO: TCP Data received {"connection_id":157803,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:05:20] local.INFO: Processing buffer {"connection_id":157803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:05:20] local.INFO: IMEI packet received {"connection_id":157803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":157803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:05:21] local.INFO: TCP Data received {"connection_id":157803,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a018160378012d0afac007067cd8000a00cc1f..."} 
[2026-08-19 09:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018160378012d0afac007067cd8000a00cc1f..."} 
[2026-08-19 09:05:21] local.INFO: Processing buffer {"connection_id":157803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018160378012d0afac007067cd8000a00cc1f..."} 
[2026-08-19 09:05:21] local.INFO: Packet analysis {"connection_id":157803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01816"} 
[2026-08-19 09:05:21] local.INFO: Extracted packet for processing {"connection_id":157803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01816"} 
[2026-08-19 09:05:21] local.INFO: GPS Element Parsed {"raw_longitude":755694272,"raw_latitude":117865688,"longitude_deg":75.5694272,"latitude_deg":11.7865688,"altitude":10,"angle":204,"satellites":31,"speed":24,"hex_longitude":"2d0afac0","hex_latitude":"07067cd8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500285696001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28751769504841728,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791155820963092480,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:21] 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-08-19 09:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787110491000,"timestamp_ms":1787110491000,"timestamp_seconds":1787110491,"priority":1,"record_length":96,"hex_timestamp":"000001a018160378"} 
[2026-08-19 09:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:05: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-08-19 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 09:05:21] 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-08-19 09: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-08-19 09:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":157803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":157803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":157803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500285696001,"66":14450,"163":206,"94":10240,"24":24,"16":28751769504841728,"45":791155820963092480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-19 09:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500285696001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:05:21] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 09:05:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28751769504841728,"km_value":28751769504841.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":791155820963092480,"description":"Unknown IO ID 45"} 
[2026-08-19 09:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500285696001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":791155820963092480}} 
[2026-08-19 09:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":157803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663677,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:05:21] local.INFO: GPS data processed {"connection_id":157803,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:05:21] local.INFO: Acknowledgment sent {"connection_id":157803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:05:23] local.INFO: TCP Data received {"connection_id":159979,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:05:23] local.INFO: Processing buffer {"connection_id":159979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:05:23] local.INFO: IMEI packet received {"connection_id":159979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":159979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:05:24] local.INFO: TCP Data received {"connection_id":159979,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01815ad88012d79f50005ecad200009001523..."} 
[2026-08-19 09:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01815ad88012d79f50005ecad200009001523..."} 
[2026-08-19 09:05:24] local.INFO: Processing buffer {"connection_id":159979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01815ad88012d79f50005ecad200009001523..."} 
[2026-08-19 09:05:24] local.INFO: Packet analysis {"connection_id":159979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:05:24] local.INFO: Extracted packet for processing {"connection_id":159979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:05:24] local.INFO: GPS Element Parsed {"raw_longitude":762967296,"raw_latitude":99396896,"longitude_deg":76.2967296,"latitude_deg":9.9396896,"altitude":9,"angle":21,"satellites":35,"speed":0,"hex_longitude":"2d79f500","hex_latitude":"05ecad20","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500274688001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120687176563294208,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787930273328996352,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:24] 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-08-19 09:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787110469000,"timestamp_ms":1787110469000,"timestamp_seconds":1787110469,"priority":1,"record_length":96,"hex_timestamp":"000001a01815ad88"} 
[2026-08-19 09:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:05:24] 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-08-19 09: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 09:05:24] 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-08-19 09: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-08-19 09:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:05:24] 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-08-19 09:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500274688001,"66":13276,"118":206,"87":13824,"24":0,"16":120687176563294208,"45":8787930273328996352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-08-19 09:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500274688001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:05:24] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 09:05:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120687176563294208,"km_value":120687176563294.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787930273328996352,"description":"Unknown IO ID 45"} 
[2026-08-19 09:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500274688001,"power":13276,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787930273328996352}} 
[2026-08-19 09:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":159979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:05:24] local.INFO: GPS data processed {"connection_id":159979,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:05:24] local.INFO: Acknowledgment sent {"connection_id":159979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:05:25] local.INFO: TCP Data received {"connection_id":157803,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a018160f30012d0af88007067740000a00d81f..."} 
[2026-08-19 09:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018160f30012d0af88007067740000a00d81f..."} 
[2026-08-19 09:05:25] local.INFO: Processing buffer {"connection_id":157803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018160f30012d0af88007067740000a00d81f..."} 
[2026-08-19 09:05:25] local.INFO: Packet analysis {"connection_id":157803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01816"} 
[2026-08-19 09:05:25] local.INFO: Extracted packet for processing {"connection_id":157803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01816"} 
[2026-08-19 09:05:25] local.INFO: GPS Element Parsed {"raw_longitude":755693696,"raw_latitude":117864256,"longitude_deg":75.5693696,"latitude_deg":11.7864256,"altitude":10,"angle":216,"satellites":31,"speed":18,"hex_longitude":"2d0af880","hex_latitude":"07067740","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500285696001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28751846814253056,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791155820963092480,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:25] 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-08-19 09:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787110494000,"timestamp_ms":1787110494000,"timestamp_seconds":1787110494,"priority":1,"record_length":96,"hex_timestamp":"000001a018160f30"} 
[2026-08-19 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-08-19 09:05:25] 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-08-19 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 09:05: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-08-19 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-08-19 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-08-19 09:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":157803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":157803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":157803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500285696001,"66":14407,"163":206,"94":10240,"24":18,"16":28751846814253056,"45":791155820963092480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-19 09:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500285696001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:05:25] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 09:05:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28751846814253056,"km_value":28751846814253.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":791155820963092480,"description":"Unknown IO ID 45"} 
[2026-08-19 09:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500285696001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":791155820963092480}} 
[2026-08-19 09:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":157803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663679,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:05:25] local.INFO: GPS data processed {"connection_id":157803,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:05:25] local.INFO: Acknowledgment sent {"connection_id":157803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:05:37] local.INFO: TCP Data received {"connection_id":157426,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:05:37] local.INFO: Processing buffer {"connection_id":157426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:05:37] local.INFO: Packet analysis {"connection_id":157426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:05:37] local.INFO: Extracted packet for processing {"connection_id":157426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":24,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500193280001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787110431000,"timestamp_ms":1787110431000,"timestamp_seconds":1787110431,"priority":1,"record_length":96,"hex_timestamp":"000001a018151918"} 
[2026-08-19 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-08-19 09:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 09:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500193280001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 09:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500193280001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500193280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":157426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:05:37] local.INFO: GPS data processed {"connection_id":157426,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:05:37] local.INFO: Acknowledgment sent {"connection_id":157426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:05:56] local.INFO: TCP Data received {"connection_id":159979,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01815ccc8012d79f4c005ecadf00009011521..."} 
[2026-08-19 09:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01815ccc8012d79f4c005ecadf00009011521..."} 
[2026-08-19 09:05:56] local.INFO: Processing buffer {"connection_id":159979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01815ccc8012d79f4c005ecadf00009011521..."} 
[2026-08-19 09:05:56] local.INFO: Packet analysis {"connection_id":159979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:05:56] local.INFO: Extracted packet for processing {"connection_id":159979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:05:56] local.INFO: GPS Element Parsed {"raw_longitude":762967232,"raw_latitude":99397104,"longitude_deg":76.2967232,"latitude_deg":9.9397104,"altitude":9,"angle":277,"satellites":33,"speed":3,"hex_longitude":"2d79f4c0","hex_latitude":"05ecadf0","is_valid_coordinates":true} 
[2026-08-19 09:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500280064001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120687185153228800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787930273328996352,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:56] 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-08-19 09:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787110477000,"timestamp_ms":1787110477000,"timestamp_seconds":1787110477,"priority":1,"record_length":96,"hex_timestamp":"000001a01815ccc8"} 
[2026-08-19 09:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:05: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-08-19 09:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-19 09:05:56] 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-08-19 09:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:05:56] 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-08-19 09:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500280064001,"66":13048,"100":206,"87":13824,"24":3,"16":120687185153228800,"45":8787930273328996352},"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-08-19 09:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500280064001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:05:56] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 09:05:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120687185153228800,"km_value":120687185153228.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787930273328996352,"description":"Unknown IO ID 45"} 
[2026-08-19 09:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500280064001,"power":13048,"unknown_100":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8787930273328996352}} 
[2026-08-19 09:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":159979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:05:56] local.INFO: GPS data processed {"connection_id":159979,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:05:56] local.INFO: Acknowledgment sent {"connection_id":159979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:05:57] local.INFO: TCP Data received {"connection_id":157803,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a018161318012d0af740070675d8000a00e71f..."} 
[2026-08-19 09:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018161318012d0af740070675d8000a00e71f..."} 
[2026-08-19 09:05:57] local.INFO: Processing buffer {"connection_id":157803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018161318012d0af740070675d8000a00e71f..."} 
[2026-08-19 09:05:57] local.INFO: Packet analysis {"connection_id":157803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01816"} 
[2026-08-19 09:05:57] local.INFO: Extracted packet for processing {"connection_id":157803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01816"} 
[2026-08-19 09:05:57] local.INFO: GPS Element Parsed {"raw_longitude":755693376,"raw_latitude":117863896,"longitude_deg":75.5693376,"latitude_deg":11.7863896,"altitude":10,"angle":231,"satellites":31,"speed":20,"hex_longitude":"2d0af740","hex_latitude":"070675d8","is_valid_coordinates":true} 
[2026-08-19 09:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500286464001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28751868289089536,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790522502265126912,"note":"Value kept but may cause issues"} 
[2026-08-19 09:05:57] 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-08-19 09:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787110495000,"timestamp_ms":1787110495000,"timestamp_seconds":1787110495,"priority":1,"record_length":96,"hex_timestamp":"000001a018161318"} 
[2026-08-19 09:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:05:57] 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-08-19 09:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 09:05:57] 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-08-19 09:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157803,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500286464001,"66":14330,"163":206,"94":10240,"24":20,"16":28751868289089536,"45":790522502265126912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-19 09:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500286464001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:05:57] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 09:05:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28751868289089536,"km_value":28751868289089.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":790522502265126912,"description":"Unknown IO ID 45"} 
[2026-08-19 09:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500286464001,"power":14330,"unknown_163":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":790522502265126912}} 
[2026-08-19 09:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":157803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663682,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:05:57] local.INFO: GPS data processed {"connection_id":157803,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:05:57] local.INFO: Acknowledgment sent {"connection_id":157803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:06:01] local.INFO: TCP Data received {"connection_id":159980,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:06:01] local.INFO: Processing buffer {"connection_id":159980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:06:01] local.INFO: IMEI packet received {"connection_id":159980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":159980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:06:05] local.INFO: TCP Data received {"connection_id":159980,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:06:05] local.INFO: Processing buffer {"connection_id":159980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:06:05] local.INFO: IMEI packet received {"connection_id":159980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":159980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:06:06] local.INFO: TCP Data received {"connection_id":159980,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:06:06] local.INFO: Processing buffer {"connection_id":159980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:06:06] local.INFO: Packet analysis {"connection_id":159980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:06:06] local.INFO: Extracted packet for processing {"connection_id":159980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:06:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":24,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 09:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500193280001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787110431000,"timestamp_ms":1787110431000,"timestamp_seconds":1787110431,"priority":1,"record_length":96,"hex_timestamp":"000001a018151918"} 
[2026-08-19 09:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500193280001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 09:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500193280001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:06:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:06:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500193280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":159980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:06:06] local.INFO: GPS data processed {"connection_id":159980,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:06:06] local.INFO: Acknowledgment sent {"connection_id":159980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:06:14] local.INFO: TCP Data received {"connection_id":157804,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:06:14] local.INFO: Processing buffer {"connection_id":157804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:06:14] local.INFO: IMEI packet received {"connection_id":157804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":157804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:06:18] local.INFO: TCP Data received {"connection_id":157804,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:06:18] local.INFO: Processing buffer {"connection_id":157804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:06:18] local.INFO: IMEI packet received {"connection_id":157804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":157804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:06:18] local.INFO: TCP Data received {"connection_id":157804,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a018163a28012d0af2c0070672d0000b00f420..."} 
[2026-08-19 09:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018163a28012d0af2c0070672d0000b00f420..."} 
[2026-08-19 09:06:18] local.INFO: Processing buffer {"connection_id":157804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018163a28012d0af2c0070672d0000b00f420..."} 
[2026-08-19 09:06:18] local.INFO: Packet analysis {"connection_id":157804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01816"} 
[2026-08-19 09:06:18] local.INFO: Extracted packet for processing {"connection_id":157804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01816"} 
[2026-08-19 09:06:18] local.INFO: GPS Element Parsed {"raw_longitude":755692224,"raw_latitude":117863120,"longitude_deg":75.5692224,"latitude_deg":11.786312,"altitude":11,"angle":244,"satellites":32,"speed":12,"hex_longitude":"2d0af2c0","hex_latitude":"070672d0","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500286720001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28751945598500864,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790170658544146432,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:18] 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-08-19 09:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787110505000,"timestamp_ms":1787110505000,"timestamp_seconds":1787110505,"priority":1,"record_length":96,"hex_timestamp":"000001a018163a28"} 
[2026-08-19 09:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:06:18] 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-08-19 09: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-19 09:06:18] 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-08-19 09: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-08-19 09:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157804,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157804,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500286720001,"66":14450,"163":206,"94":10240,"24":12,"16":28751945598500864,"45":790170658544146432},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-19 09:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500286720001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:06:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 09:06:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28751945598500864,"km_value":28751945598500.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":790170658544146432,"description":"Unknown IO ID 45"} 
[2026-08-19 09:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500286720001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":790170658544146432}} 
[2026-08-19 09:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":157804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663684,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:06:19] local.INFO: GPS data processed {"connection_id":157804,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:06:19] local.INFO: Acknowledgment sent {"connection_id":157804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:06:19] local.INFO: TCP Data received {"connection_id":157804,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0181641f8012d0af0c007067198000b00e820..."} 
[2026-08-19 09:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181641f8012d0af0c007067198000b00e820..."} 
[2026-08-19 09:06:19] local.INFO: Processing buffer {"connection_id":157804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181641f8012d0af0c007067198000b00e820..."} 
[2026-08-19 09:06:19] local.INFO: Packet analysis {"connection_id":157804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01816"} 
[2026-08-19 09:06:19] local.INFO: Extracted packet for processing {"connection_id":157804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01816"} 
[2026-08-19 09:06:19] local.INFO: GPS Element Parsed {"raw_longitude":755691712,"raw_latitude":117862808,"longitude_deg":75.5691712,"latitude_deg":11.7862808,"altitude":11,"angle":232,"satellites":32,"speed":11,"hex_longitude":"2d0af0c0","hex_latitude":"07067198","is_valid_coordinates":true} 
[2026-08-19 09:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500289280001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28751975663271936,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788904021148749824,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:19] 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-08-19 09:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787110507000,"timestamp_ms":1787110507000,"timestamp_seconds":1787110507,"priority":1,"record_length":96,"hex_timestamp":"000001a0181641f8"} 
[2026-08-19 09:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:06:19] 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-08-19 09:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 09:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157804,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157804,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500289280001,"66":14352,"163":206,"94":10240,"24":11,"16":28751975663271936,"45":788904021148749824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-19 09:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500289280001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:06:19] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 09:06:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28751975663271936,"km_value":28751975663271.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":788904021148749824,"description":"Unknown IO ID 45"} 
[2026-08-19 09:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500289280001,"power":14352,"unknown_163":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":788904021148749824}} 
[2026-08-19 09:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":157804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663685,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:06:20] local.INFO: GPS data processed {"connection_id":157804,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:06:20] local.INFO: Acknowledgment sent {"connection_id":157804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:06:20] local.INFO: TCP Data received {"connection_id":159981,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:06:20] local.INFO: Processing buffer {"connection_id":159981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:06:20] local.INFO: IMEI packet received {"connection_id":159981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":159981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:06:25] local.INFO: TCP Data received {"connection_id":159981,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:06:25] local.INFO: Processing buffer {"connection_id":159981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:06:25] local.INFO: IMEI packet received {"connection_id":159981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":159981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:06:26] local.INFO: TCP Data received {"connection_id":159981,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01816d280012d79ea8005ec90c8000700a225..."} 
[2026-08-19 09:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01816d280012d79ea8005ec90c8000700a225..."} 
[2026-08-19 09:06:26] local.INFO: Processing buffer {"connection_id":159981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01816d280012d79ea8005ec90c8000700a225..."} 
[2026-08-19 09:06:26] local.INFO: Packet analysis {"connection_id":159981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01816"} 
[2026-08-19 09:06:26] local.INFO: Extracted packet for processing {"connection_id":159981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01816"} 
[2026-08-19 09:06:26] local.INFO: GPS Element Parsed {"raw_longitude":762964608,"raw_latitude":99389640,"longitude_deg":76.2964608,"latitude_deg":9.938964,"altitude":7,"angle":162,"satellites":37,"speed":10,"hex_longitude":"2d79ea80","hex_latitude":"05ec90c8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500293888001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120687747793944576,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783145198724306944,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:26] 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-08-19 09:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787110544000,"timestamp_ms":1787110544000,"timestamp_seconds":1787110544,"priority":1,"record_length":96,"hex_timestamp":"000001a01816d280"} 
[2026-08-19 09:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:06:26] 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-08-19 09: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-19 09:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:06:26] 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-08-19 09:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500293888001,"66":12961,"100":206,"87":13824,"24":10,"16":120687747793944576,"45":8783145198724306944},"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-08-19 09:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500293888001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:06:26] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 09:06:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120687747793944576,"km_value":120687747793944.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783145198724306944,"description":"Unknown IO ID 45"} 
[2026-08-19 09:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500293888001,"power":12961,"unknown_100":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8783145198724306944}} 
[2026-08-19 09:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":159981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:06:26] local.INFO: GPS data processed {"connection_id":159981,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:06:26] local.INFO: Acknowledgment sent {"connection_id":159981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:06:37] local.INFO: TCP Data received {"connection_id":159980,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:06:37] local.INFO: Processing buffer {"connection_id":159980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:06:37] local.INFO: Packet analysis {"connection_id":159980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:06:37] local.INFO: Extracted packet for processing {"connection_id":159980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":24,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 09:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500193280001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06: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-08-19 09:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787110431000,"timestamp_ms":1787110431000,"timestamp_seconds":1787110431,"priority":1,"record_length":96,"hex_timestamp":"000001a018151918"} 
[2026-08-19 09:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:06:37] 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-08-19 09:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500193280001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 09:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500193280001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:06:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500193280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":159980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:06:37] local.INFO: GPS data processed {"connection_id":159980,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:06:37] local.INFO: Acknowledgment sent {"connection_id":159980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:06:51] local.INFO: TCP Data received {"connection_id":157804,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a018177a78012d0b4d800705ffa80017004920..."} 
[2026-08-19 09:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018177a78012d0b4d800705ffa80017004920..."} 
[2026-08-19 09:06:51] local.INFO: Processing buffer {"connection_id":157804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018177a78012d0b4d800705ffa80017004920..."} 
[2026-08-19 09:06:51] local.INFO: Packet analysis {"connection_id":157804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01817"} 
[2026-08-19 09:06:51] local.INFO: Extracted packet for processing {"connection_id":157804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01817"} 
[2026-08-19 09:06:51] local.INFO: GPS Element Parsed {"raw_longitude":755715456,"raw_latitude":117833640,"longitude_deg":75.5715456,"latitude_deg":11.783364,"altitude":23,"angle":73,"satellites":32,"speed":5,"hex_longitude":"2d0b4d80","hex_latitude":"0705ffa8","is_valid_coordinates":true} 
[2026-08-19 09:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500310016001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28753886923718656,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814307137789343744,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06: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-08-19 09:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787110587000,"timestamp_ms":1787110587000,"timestamp_seconds":1787110587,"priority":1,"record_length":96,"hex_timestamp":"000001a018177a78"} 
[2026-08-19 09:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:06:51] 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-08-19 09:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 09:06: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-08-19 09:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157804,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157804,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500310016001,"66":14439,"165":206,"94":10240,"24":5,"16":28753886923718656,"45":814307137789343744},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-19 09:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500310016001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:06:51] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 09:06:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28753886923718656,"km_value":28753886923718.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":814307137789343744,"description":"Unknown IO ID 45"} 
[2026-08-19 09:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500310016001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":814307137789343744}} 
[2026-08-19 09:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":157804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663688,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:06:51] local.INFO: GPS data processed {"connection_id":157804,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:06:51] local.INFO: Acknowledgment sent {"connection_id":157804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:06:58] local.INFO: TCP Data received {"connection_id":159981,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181714e8012d79f00005ec83f00006009524..."} 
[2026-08-19 09:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181714e8012d79f00005ec83f00006009524..."} 
[2026-08-19 09:06:58] local.INFO: Processing buffer {"connection_id":159981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181714e8012d79f00005ec83f00006009524..."} 
[2026-08-19 09:06:58] local.INFO: Packet analysis {"connection_id":159981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01817"} 
[2026-08-19 09:06:58] local.INFO: Extracted packet for processing {"connection_id":159981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01817"} 
[2026-08-19 09:06:58] local.INFO: GPS Element Parsed {"raw_longitude":762966016,"raw_latitude":99386352,"longitude_deg":76.2966016,"latitude_deg":9.9386352,"altitude":6,"angle":149,"satellites":36,"speed":13,"hex_longitude":"2d79f000","hex_latitude":"05ec83f0","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500299264001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120687923887603712,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784974786071676928,"note":"Value kept but may cause issues"} 
[2026-08-19 09:06:58] 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-08-19 09:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787110561000,"timestamp_ms":1787110561000,"timestamp_seconds":1787110561,"priority":1,"record_length":96,"hex_timestamp":"000001a0181714e8"} 
[2026-08-19 09:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-19 09:06:58] 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-08-19 09: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-08-19 09:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:06:58] 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-08-19 09:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500299264001,"66":13374,"100":206,"87":13824,"24":13,"16":120687923887603712,"45":8784974786071676928},"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-08-19 09:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500299264001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:06:58] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 09:06:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120687923887603712,"km_value":120687923887603.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784974786071676928,"description":"Unknown IO ID 45"} 
[2026-08-19 09:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500299264001,"power":13374,"unknown_100":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8784974786071676928}} 
[2026-08-19 09:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":159981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:06:58] local.INFO: GPS data processed {"connection_id":159981,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:06:58] local.INFO: Acknowledgment sent {"connection_id":159981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:07:00] local.INFO: TCP Data received {"connection_id":157427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:07:00] local.INFO: Processing buffer {"connection_id":157427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:07:00] local.INFO: IMEI packet received {"connection_id":157427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":157427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:07:05] local.INFO: TCP Data received {"connection_id":157427,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:07:05] local.INFO: Processing buffer {"connection_id":157427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:07:05] local.INFO: IMEI packet received {"connection_id":157427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":157427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:07:09] local.INFO: TCP Data received {"connection_id":157427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:07:09] local.INFO: Processing buffer {"connection_id":157427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:07:09] local.INFO: Packet analysis {"connection_id":157427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:07:09] local.INFO: Extracted packet for processing {"connection_id":157427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":24,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 09:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500193280001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787110431000,"timestamp_ms":1787110431000,"timestamp_seconds":1787110431,"priority":1,"record_length":96,"hex_timestamp":"000001a018151918"} 
[2026-08-19 09:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500193280001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 09:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500193280001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:07:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500193280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":157427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:07:09] local.INFO: GPS data processed {"connection_id":157427,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:07:09] local.INFO: Acknowledgment sent {"connection_id":157427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:07:14] local.INFO: TCP Data received {"connection_id":157428,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157428,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:07:14] local.INFO: Processing buffer {"connection_id":157428,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:07:14] local.INFO: IMEI packet received {"connection_id":157428,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":157428,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:07:14] local.INFO: TCP Data received {"connection_id":157428,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157428,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:07:14] local.INFO: Processing buffer {"connection_id":157428,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:07:14] local.INFO: IMEI packet received {"connection_id":157428,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":157428,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:07:19] local.INFO: TCP Data received {"connection_id":157428,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157428,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:07:19] local.INFO: Processing buffer {"connection_id":157428,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:07:19] local.INFO: IMEI packet received {"connection_id":157428,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":157428,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:07:20] local.INFO: TCP Data received {"connection_id":157428,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0181791e8012d0b4ec0070600d00019001c20..."} 
[2026-08-19 09:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181791e8012d0b4ec0070600d00019001c20..."} 
[2026-08-19 09:07:20] local.INFO: Processing buffer {"connection_id":157428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181791e8012d0b4ec0070600d00019001c20..."} 
[2026-08-19 09:07:20] local.INFO: Packet analysis {"connection_id":157428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01817"} 
[2026-08-19 09:07:20] local.INFO: Extracted packet for processing {"connection_id":157428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01817"} 
[2026-08-19 09:07:20] local.INFO: GPS Element Parsed {"raw_longitude":755715776,"raw_latitude":117833936,"longitude_deg":75.5715776,"latitude_deg":11.7833936,"altitude":25,"angle":28,"satellites":32,"speed":9,"hex_longitude":"2d0b4ec0","hex_latitude":"070600d0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500310272001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28753916988489728,"note":"Value kept but may cause issues"} 
[2026-08-19 09:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814447875277694976,"note":"Value kept but may cause issues"} 
[2026-08-19 09: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-08-19 09:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787110593000,"timestamp_ms":1787110593000,"timestamp_seconds":1787110593,"priority":1,"record_length":96,"hex_timestamp":"000001a0181791e8"} 
[2026-08-19 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-08-19 09:07:20] 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-08-19 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 09:07: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-08-19 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-08-19 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-08-19 09:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157428,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157428,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500310272001,"66":14439,"165":206,"94":10240,"24":9,"16":28753916988489728,"45":814447875277694976},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-19 09:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500310272001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:07:20] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 09:07:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28753916988489728,"km_value":28753916988489.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":814447875277694976,"description":"Unknown IO ID 45"} 
[2026-08-19 09:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500310272001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":814447875277694976}} 
[2026-08-19 09:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":157428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663691,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:07:20] local.INFO: GPS data processed {"connection_id":157428,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:07:20] local.INFO: Acknowledgment sent {"connection_id":157428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:07:20] local.INFO: TCP Data received {"connection_id":157429,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:07:20] local.INFO: Processing buffer {"connection_id":157429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:07:20] local.INFO: IMEI packet received {"connection_id":157429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":157429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:07:25] local.INFO: TCP Data received {"connection_id":157429,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:07:25] local.INFO: Processing buffer {"connection_id":157429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:07:25] local.INFO: IMEI packet received {"connection_id":157429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":157429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:07:26] local.INFO: TCP Data received {"connection_id":157429,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a018174b98012d79f90005ec7380000500a024..."} 
[2026-08-19 09:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018174b98012d79f90005ec7380000500a024..."} 
[2026-08-19 09:07:26] local.INFO: Processing buffer {"connection_id":157429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018174b98012d79f90005ec7380000500a024..."} 
[2026-08-19 09:07:26] local.INFO: Packet analysis {"connection_id":157429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01817"} 
[2026-08-19 09:07:26] local.INFO: Extracted packet for processing {"connection_id":157429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01817"} 
[2026-08-19 09:07:26] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99382144,"longitude_deg":76.296832,"latitude_deg":9.9382144,"altitude":5,"angle":160,"satellites":36,"speed":10,"hex_longitude":"2d79f900","hex_latitude":"05ec7380","is_valid_coordinates":true} 
[2026-08-19 09:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500303616001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120688155815837696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786522898442743808,"note":"Value kept but may cause issues"} 
[2026-08-19 09:07:26] 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-08-19 09:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787110575000,"timestamp_ms":1787110575000,"timestamp_seconds":1787110575,"priority":1,"record_length":96,"hex_timestamp":"000001a018174b98"} 
[2026-08-19 09:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:07:26] 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-08-19 09:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 09:07:26] 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-08-19 09:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:07:26] 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-08-19 09:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500303616001,"66":13048,"100":206,"87":13824,"24":10,"16":120688155815837696,"45":8786522898442743808},"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-08-19 09:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500303616001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:07:26] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 09:07:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120688155815837696,"km_value":120688155815837.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786522898442743808,"description":"Unknown IO ID 45"} 
[2026-08-19 09:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500303616001,"power":13048,"unknown_100":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8786522898442743808}} 
[2026-08-19 09:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":157429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:07:26] local.INFO: GPS data processed {"connection_id":157429,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:07:26] local.INFO: Acknowledgment sent {"connection_id":157429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:07:41] local.INFO: TCP Data received {"connection_id":157427,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:07:41] local.INFO: Processing buffer {"connection_id":157427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:07:41] local.INFO: Packet analysis {"connection_id":157427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:07:41] local.INFO: Extracted packet for processing {"connection_id":157427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:07:41] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":24,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 09:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500193280001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787110431000,"timestamp_ms":1787110431000,"timestamp_seconds":1787110431,"priority":1,"record_length":96,"hex_timestamp":"000001a018151918"} 
[2026-08-19 09:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500193280001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 09:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500193280001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:07:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:07:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500193280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":157427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:07:41] local.INFO: GPS data processed {"connection_id":157427,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:07:41] local.INFO: Acknowledgment sent {"connection_id":157427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:07:51] local.INFO: TCP Data received {"connection_id":157428,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01817b128012d0b534007060ad0001b001121..."} 
[2026-08-19 09:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01817b128012d0b534007060ad0001b001121..."} 
[2026-08-19 09:07:51] local.INFO: Processing buffer {"connection_id":157428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01817b128012d0b534007060ad0001b001121..."} 
[2026-08-19 09:07:51] local.INFO: Packet analysis {"connection_id":157428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01817"} 
[2026-08-19 09:07:51] local.INFO: Extracted packet for processing {"connection_id":157428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01817"} 
[2026-08-19 09:07:51] local.INFO: GPS Element Parsed {"raw_longitude":755716928,"raw_latitude":117836496,"longitude_deg":75.5716928,"latitude_deg":11.7836496,"altitude":27,"angle":17,"satellites":33,"speed":6,"hex_longitude":"2d0b5340","hex_latitude":"07060ad0","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500311808001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28754050132475904,"note":"Value kept but may cause issues"} 
[2026-08-19 09:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814799718998659072,"note":"Value kept but may cause issues"} 
[2026-08-19 09: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-08-19 09:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787110601000,"timestamp_ms":1787110601000,"timestamp_seconds":1787110601,"priority":1,"record_length":96,"hex_timestamp":"000001a01817b128"} 
[2026-08-19 09:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:07:51] 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-08-19 09: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":103,"data_length":795,"current_offset":136} 
[2026-08-19 09:07: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-08-19 09: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-08-19 09:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157428,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157428,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500311808001,"66":14537,"165":206,"94":10240,"24":6,"16":28754050132475904,"45":814799718998659072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-19 09:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500311808001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:07:51] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 09:07:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28754050132475904,"km_value":28754050132475.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":814799718998659072,"description":"Unknown IO ID 45"} 
[2026-08-19 09:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500311808001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":814799718998659072}} 
[2026-08-19 09:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":157428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663694,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:07:52] local.INFO: GPS data processed {"connection_id":157428,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:07:52] local.INFO: Acknowledgment sent {"connection_id":157428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:07:57] local.INFO: TCP Data received {"connection_id":157429,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a018179da0012d7a028005ec55a8000500a226..."} 
[2026-08-19 09:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018179da0012d7a028005ec55a8000500a226..."} 
[2026-08-19 09:07:57] local.INFO: Processing buffer {"connection_id":157429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018179da0012d7a028005ec55a8000500a226..."} 
[2026-08-19 09:07:57] local.INFO: Packet analysis {"connection_id":157429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01817"} 
[2026-08-19 09:07:57] local.INFO: Extracted packet for processing {"connection_id":157429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01817"} 
[2026-08-19 09:07:57] local.INFO: GPS Element Parsed {"raw_longitude":762970752,"raw_latitude":99374504,"longitude_deg":76.2970752,"latitude_deg":9.9374504,"altitude":5,"angle":162,"satellites":38,"speed":6,"hex_longitude":"2d7a0280","hex_latitude":"05ec55a8","is_valid_coordinates":true} 
[2026-08-19 09:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500307200001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120688542362894336,"note":"Value kept but may cause issues"} 
[2026-08-19 09:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173232062464,"note":"Value kept but may cause issues"} 
[2026-08-19 09:07:57] 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-08-19 09:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787110596000,"timestamp_ms":1787110596000,"timestamp_seconds":1787110596,"priority":1,"record_length":96,"hex_timestamp":"000001a018179da0"} 
[2026-08-19 09:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:07:57] 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-08-19 09:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 09:07:57] 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-08-19 09:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:07:57] 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-08-19 09:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500307200001,"66":13254,"100":206,"87":13824,"24":6,"16":120688542362894336,"45":8789056173232062464},"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-08-19 09:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500307200001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:07:57] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 09:07:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120688542362894336,"km_value":120688542362894.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173232062464,"description":"Unknown IO ID 45"} 
[2026-08-19 09:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500307200001,"power":13254,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8789056173232062464}} 
[2026-08-19 09:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":157429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:07:57] local.INFO: GPS data processed {"connection_id":157429,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:07:57] local.INFO: Acknowledgment sent {"connection_id":157429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:08:00] local.INFO: TCP Data received {"connection_id":157430,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:08:00] local.INFO: Processing buffer {"connection_id":157430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:08:00] local.INFO: IMEI packet received {"connection_id":157430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":157430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:08:05] local.INFO: TCP Data received {"connection_id":157430,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:08:05] local.INFO: Processing buffer {"connection_id":157430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:08:05] local.INFO: IMEI packet received {"connection_id":157430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":157430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:08:07] local.INFO: TCP Data received {"connection_id":157430,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:08:07] local.INFO: Processing buffer {"connection_id":157430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:08:07] local.INFO: Packet analysis {"connection_id":157430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:08:07] local.INFO: Extracted packet for processing {"connection_id":157430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:08:07] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":24,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500193280001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787110431000,"timestamp_ms":1787110431000,"timestamp_seconds":1787110431,"priority":1,"record_length":96,"hex_timestamp":"000001a018151918"} 
[2026-08-19 09:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:08: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-08-19 09:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:08:07] 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-08-19 09:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500193280001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 09:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500193280001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:08:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:08:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500193280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":157430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:08:07] local.INFO: GPS data processed {"connection_id":157430,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:08:07] local.INFO: Acknowledgment sent {"connection_id":157430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:08:14] local.INFO: TCP Data received {"connection_id":157431,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157431,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:08:14] local.INFO: Processing buffer {"connection_id":157431,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:08:14] local.INFO: IMEI packet received {"connection_id":157431,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":157431,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:08:18] local.INFO: TCP Data received {"connection_id":157431,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157431,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:08:18] local.INFO: Processing buffer {"connection_id":157431,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:08:18] local.INFO: IMEI packet received {"connection_id":157431,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":157431,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:08:19] local.INFO: TCP Data received {"connection_id":157431,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01818ca68012d0b2780070612f0001500bc21..."} 
[2026-08-19 09:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01818ca68012d0b2780070612f0001500bc21..."} 
[2026-08-19 09:08:19] local.INFO: Processing buffer {"connection_id":157431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01818ca68012d0b2780070612f0001500bc21..."} 
[2026-08-19 09:08:19] local.INFO: Packet analysis {"connection_id":157431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01818"} 
[2026-08-19 09:08:19] local.INFO: Extracted packet for processing {"connection_id":157431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01818"} 
[2026-08-19 09:08:19] local.INFO: GPS Element Parsed {"raw_longitude":755705728,"raw_latitude":117838576,"longitude_deg":75.5705728,"latitude_deg":11.7838576,"altitude":21,"angle":188,"satellites":33,"speed":8,"hex_longitude":"2d0b2780","hex_latitude":"070612f0","is_valid_coordinates":true} 
[2026-08-19 09:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500332032001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28754793161818112,"note":"Value kept but may cause issues"} 
[2026-08-19 09:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803751826164017152,"note":"Value kept but may cause issues"} 
[2026-08-19 09: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-08-19 09:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787110673000,"timestamp_ms":1787110673000,"timestamp_seconds":1787110673,"priority":1,"record_length":96,"hex_timestamp":"000001a01818ca68"} 
[2026-08-19 09:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:08:19] 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-08-19 09:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 09:08: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-08-19 09:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157431,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157431,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500332032001,"66":14407,"165":206,"94":10240,"24":8,"16":28754793161818112,"45":803751826164017152},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-19 09:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500332032001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:08:19] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 09:08:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28754793161818112,"km_value":28754793161818.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":803751826164017152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500332032001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":803751826164017152}} 
[2026-08-19 09:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":157431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663697,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:08:19] local.INFO: GPS data processed {"connection_id":157431,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:08:19] local.INFO: Acknowledgment sent {"connection_id":157431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:08:20] local.INFO: TCP Data received {"connection_id":157805,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:08:20] local.INFO: Processing buffer {"connection_id":157805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:08:20] local.INFO: IMEI packet received {"connection_id":157805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":157805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:08:24] local.INFO: TCP Data received {"connection_id":157805,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:08:24] local.INFO: Processing buffer {"connection_id":157805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:08:24] local.INFO: IMEI packet received {"connection_id":157805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":157805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:08:25] local.INFO: TCP Data received {"connection_id":157805,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157805,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:08:25] local.INFO: Processing buffer {"connection_id":157805,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:08:25] local.INFO: IMEI packet received {"connection_id":157805,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":157805,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:08:26] local.INFO: TCP Data received {"connection_id":157805,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01817efa8012d7a080005ec47300006009d23..."} 
[2026-08-19 09:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01817efa8012d7a080005ec47300006009d23..."} 
[2026-08-19 09:08:26] local.INFO: Processing buffer {"connection_id":157805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01817efa8012d7a080005ec47300006009d23..."} 
[2026-08-19 09:08:26] local.INFO: Packet analysis {"connection_id":157805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01817"} 
[2026-08-19 09:08:26] local.INFO: Extracted packet for processing {"connection_id":157805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01817"} 
[2026-08-19 09:08:26] local.INFO: GPS Element Parsed {"raw_longitude":762972160,"raw_latitude":99370800,"longitude_deg":76.297216,"latitude_deg":9.93708,"altitude":6,"angle":157,"satellites":35,"speed":6,"hex_longitude":"2d7a0800","hex_latitude":"05ec4730","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500312576001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120688739931389952,"note":"Value kept but may cause issues"} 
[2026-08-19 09:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791730185508857856,"note":"Value kept but may cause issues"} 
[2026-08-19 09:08:26] 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-08-19 09:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787110617000,"timestamp_ms":1787110617000,"timestamp_seconds":1787110617,"priority":1,"record_length":96,"hex_timestamp":"000001a01817efa8"} 
[2026-08-19 09:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:08:26] 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-08-19 09: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-19 09:08:26] 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-08-19 09: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-08-19 09:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:08:26] 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-08-19 09:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500312576001,"66":13341,"100":206,"87":13824,"24":6,"16":120688739931389952,"45":8791730185508857856},"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-08-19 09:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500312576001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:08:26] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 09:08:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120688739931389952,"km_value":120688739931389.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791730185508857856,"description":"Unknown IO ID 45"} 
[2026-08-19 09:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500312576001,"power":13341,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8791730185508857856}} 
[2026-08-19 09:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":157805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:08:26] local.INFO: GPS data processed {"connection_id":157805,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:08:26] local.INFO: Acknowledgment sent {"connection_id":157805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:08:31] local.INFO: TCP Data received {"connection_id":157805,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a018182e28012d7a0a4005ec4060000800ab24..."} 
[2026-08-19 09:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018182e28012d7a0a4005ec4060000800ab24..."} 
[2026-08-19 09:08:31] local.INFO: Processing buffer {"connection_id":157805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018182e28012d7a0a4005ec4060000800ab24..."} 
[2026-08-19 09:08:31] local.INFO: Packet analysis {"connection_id":157805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01818"} 
[2026-08-19 09:08:31] local.INFO: Extracted packet for processing {"connection_id":157805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01818"} 
[2026-08-19 09:08:31] local.INFO: GPS Element Parsed {"raw_longitude":762972736,"raw_latitude":99369056,"longitude_deg":76.2972736,"latitude_deg":9.9369056,"altitude":8,"angle":171,"satellites":36,"speed":9,"hex_longitude":"2d7a0a40","hex_latitude":"05ec4060","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500317952001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120688834420670464,"note":"Value kept but may cause issues"} 
[2026-08-19 09:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793278297879818240,"note":"Value kept but may cause issues"} 
[2026-08-19 09:08: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-08-19 09:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787110633000,"timestamp_ms":1787110633000,"timestamp_seconds":1787110633,"priority":1,"record_length":96,"hex_timestamp":"000001a018182e28"} 
[2026-08-19 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-08-19 09:08:31] 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-08-19 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":29,"data_length":795,"current_offset":136} 
[2026-08-19 09:08: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-08-19 09:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 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-08-19 09:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":157805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":157805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":157805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:08:31] 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-08-19 09:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500317952001,"66":13059,"100":206,"87":13824,"24":9,"16":120688834420670464,"45":8793278297879818240},"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-08-19 09:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500317952001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:08:31] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 09:08:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120688834420670464,"km_value":120688834420670.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793278297879818240,"description":"Unknown IO ID 45"} 
[2026-08-19 09:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500317952001,"power":13059,"unknown_100":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8793278297879818240}} 
[2026-08-19 09:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":157805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:08:31] local.INFO: GPS data processed {"connection_id":157805,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:08:31] local.INFO: Acknowledgment sent {"connection_id":157805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:08:40] local.INFO: TCP Data received {"connection_id":157430,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:08:40] local.INFO: Processing buffer {"connection_id":157430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:08:40] local.INFO: Packet analysis {"connection_id":157430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:08:40] local.INFO: Extracted packet for processing {"connection_id":157430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:08:40] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":24,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 09:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500193280001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787110431000,"timestamp_ms":1787110431000,"timestamp_seconds":1787110431,"priority":1,"record_length":96,"hex_timestamp":"000001a018151918"} 
[2026-08-19 09:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:08: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-08-19 09:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:08:40] 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-08-19 09:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500193280001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 09:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500193280001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:08:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:08:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500193280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":157430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:08:40] local.INFO: GPS data processed {"connection_id":157430,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:08:40] local.INFO: Acknowledgment sent {"connection_id":157430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:08:50] local.INFO: TCP Data received {"connection_id":157431,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01818ce50012d0b27c007061160001500a621..."} 
[2026-08-19 09:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01818ce50012d0b27c007061160001500a621..."} 
[2026-08-19 09:08:50] local.INFO: Processing buffer {"connection_id":157431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01818ce50012d0b27c007061160001500a621..."} 
[2026-08-19 09:08:50] local.INFO: Packet analysis {"connection_id":157431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01818"} 
[2026-08-19 09:08:50] local.INFO: Extracted packet for processing {"connection_id":157431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01818"} 
[2026-08-19 09:08:50] local.INFO: GPS Element Parsed {"raw_longitude":755705792,"raw_latitude":117838176,"longitude_deg":75.5705792,"latitude_deg":11.7838176,"altitude":21,"angle":166,"satellites":33,"speed":14,"hex_longitude":"2d0b27c0","hex_latitude":"07061160","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500332288001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28754810341687296,"note":"Value kept but may cause issues"} 
[2026-08-19 09:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803751826163953664,"note":"Value kept but may cause issues"} 
[2026-08-19 09:08:50] 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-08-19 09:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787110674000,"timestamp_ms":1787110674000,"timestamp_seconds":1787110674,"priority":1,"record_length":96,"hex_timestamp":"000001a01818ce50"} 
[2026-08-19 09:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:08:50] 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-08-19 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 09:08:50] 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-08-19 09: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-08-19 09:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":157431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":157431,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":157431,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500332288001,"66":14407,"165":206,"94":10240,"24":14,"16":28754810341687296,"45":803751826163953664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-19 09:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500332288001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:08:50] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 09:08:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28754810341687296,"km_value":28754810341687.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":803751826163953664,"description":"Unknown IO ID 45"} 
[2026-08-19 09:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500332288001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":803751826163953664}} 
[2026-08-19 09:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":157431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663701,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:08:51] local.INFO: GPS data processed {"connection_id":157431,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:08:51] local.INFO: Acknowledgment sent {"connection_id":157431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:08:59] local.INFO: TCP Data received {"connection_id":157432,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:08:59] local.INFO: Processing buffer {"connection_id":157432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:08:59] local.INFO: IMEI packet received {"connection_id":157432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":157432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:09:02] local.INFO: TCP Data received {"connection_id":157805,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181868c0012d7a0f0005ec2da0000c009d26..."} 
[2026-08-19 09:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181868c0012d7a0f0005ec2da0000c009d26..."} 
[2026-08-19 09:09:02] local.INFO: Processing buffer {"connection_id":157805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181868c0012d7a0f0005ec2da0000c009d26..."} 
[2026-08-19 09:09:02] local.INFO: Packet analysis {"connection_id":157805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01818"} 
[2026-08-19 09:09:02] local.INFO: Extracted packet for processing {"connection_id":157805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01818"} 
[2026-08-19 09:09:02] local.INFO: GPS Element Parsed {"raw_longitude":762973952,"raw_latitude":99364256,"longitude_deg":76.2973952,"latitude_deg":9.9364256,"altitude":12,"angle":157,"satellites":38,"speed":13,"hex_longitude":"2d7a0f00","hex_latitude":"05ec2da0","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500322048001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120689074938839040,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793911616576970752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:02] 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-08-19 09:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787110648000,"timestamp_ms":1787110648000,"timestamp_seconds":1787110648,"priority":1,"record_length":96,"hex_timestamp":"000001a0181868c0"} 
[2026-08-19 09:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 09:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161721015620,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:02] local.WARNING: Large IO value detected {"io_id":100,"raw_value":58079734643818506,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970160640,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:02] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2213543942,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-19 09:09:02] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2147560825,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:02] local.WARNING: Large IO value detected {"io_id":234,"raw_value":2147871888,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":458914,"corrected_to":0} 
[2026-08-19 09:09:02] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184324,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:02] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3302883328,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:02] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,100,87,24,241,157,16,197,160,239,45,71,6,35,10,66,128,85,5,38,75,1,240,248,227,236,4,113,205,13,210,234,200,37,50,2,172],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0},{"io_id":200,"original":458914,"validated":0}]} 
[2026-08-19 09:09:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576648923411185664,"timestamp_seconds":576648923411185.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":157805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":157805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":157805,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:09:02] 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-08-19 09:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500322048001,"66":13352,"100":206,"87":13824,"24":13,"16":120689074938839040,"45":8793911616576970752},"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-08-19 09:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500322048001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:09:02] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 09:09:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120689074938839040,"km_value":120689074938839.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793911616576970752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500322048001,"power":13352,"unknown_100":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8793911616576970752}} 
[2026-08-19 09:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":157805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:09:02] local.INFO: GPS data processed {"connection_id":157805,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:09:02] local.INFO: Acknowledgment sent {"connection_id":157805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:09:05] local.INFO: TCP Data received {"connection_id":157432,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:09:05] local.INFO: Processing buffer {"connection_id":157432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:09:05] local.INFO: IMEI packet received {"connection_id":157432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":157432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:09:06] local.INFO: TCP Data received {"connection_id":157432,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:09:06] local.INFO: Processing buffer {"connection_id":157432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018151918012d34c50006aa4078001800591c..."} 
[2026-08-19 09:09:06] local.INFO: Packet analysis {"connection_id":157432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:09:06] local.INFO: Extracted packet for processing {"connection_id":157432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01815"} 
[2026-08-19 09:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":24,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500193280001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787110431000,"timestamp_ms":1787110431000,"timestamp_seconds":1787110431,"priority":1,"record_length":96,"hex_timestamp":"000001a018151918"} 
[2026-08-19 09:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500193280001,"66":25549,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 09:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500193280001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:09:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500193280001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":157432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:09:06] local.INFO: GPS data processed {"connection_id":157432,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:09:06] local.INFO: Acknowledgment sent {"connection_id":157432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:09:14] local.INFO: TCP Data received {"connection_id":157806,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157806,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:09:14] local.INFO: Processing buffer {"connection_id":157806,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:09:14] local.INFO: IMEI packet received {"connection_id":157806,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":157806,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:09:19] local.INFO: TCP Data received {"connection_id":157806,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157806,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:09:19] local.INFO: Processing buffer {"connection_id":157806,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:09:19] local.INFO: IMEI packet received {"connection_id":157806,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":157806,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:09:20] local.INFO: TCP Data received {"connection_id":157433,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:09:20] local.INFO: Processing buffer {"connection_id":157433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:09:20] local.INFO: IMEI packet received {"connection_id":157433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":157433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:09:20] local.INFO: TCP Data received {"connection_id":157806,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01819a528012d0af94007059910001900f71f..."} 
[2026-08-19 09:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01819a528012d0af94007059910001900f71f..."} 
[2026-08-19 09:09:20] local.INFO: Processing buffer {"connection_id":157806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01819a528012d0af94007059910001900f71f..."} 
[2026-08-19 09:09:20] local.INFO: Packet analysis {"connection_id":157806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01819"} 
[2026-08-19 09:09:20] local.INFO: Extracted packet for processing {"connection_id":157806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01819"} 
[2026-08-19 09:09:20] local.INFO: GPS Element Parsed {"raw_longitude":755693888,"raw_latitude":117807376,"longitude_deg":75.5693888,"latitude_deg":11.7807376,"altitude":25,"angle":247,"satellites":31,"speed":15,"hex_longitude":"2d0af940","hex_latitude":"07059910","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500346624001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28756760256839680,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790733608483098624,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09: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-08-19 09:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787110729000,"timestamp_ms":1787110729000,"timestamp_seconds":1787110729,"priority":1,"record_length":96,"hex_timestamp":"000001a01819a528"} 
[2026-08-19 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-08-19 09:09: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-08-19 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 09:09: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-08-19 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-08-19 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-08-19 09:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157806,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157806,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500346624001,"66":14396,"165":206,"94":10240,"24":15,"16":28756760256839680,"45":790733608483098624},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-19 09:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500346624001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:09:20] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 09:09:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28756760256839680,"km_value":28756760256839.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":790733608483098624,"description":"Unknown IO ID 45"} 
[2026-08-19 09:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500346624001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":790733608483098624}} 
[2026-08-19 09:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":157806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663704,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:09:21] local.INFO: GPS data processed {"connection_id":157806,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:09:21] local.INFO: Acknowledgment sent {"connection_id":157806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:09:25] local.INFO: TCP Data received {"connection_id":157433,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:09:25] local.INFO: Processing buffer {"connection_id":157433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:09:25] local.INFO: IMEI packet received {"connection_id":157433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":157433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:09:27] local.INFO: TCP Data received {"connection_id":157433,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01818bac8012d7a188005ec1660000e00a126..."} 
[2026-08-19 09:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01818bac8012d7a188005ec1660000e00a126..."} 
[2026-08-19 09:09:27] local.INFO: Processing buffer {"connection_id":157433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01818bac8012d7a188005ec1660000e00a126..."} 
[2026-08-19 09:09:27] local.INFO: Packet analysis {"connection_id":157433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01818"} 
[2026-08-19 09:09:27] local.INFO: Extracted packet for processing {"connection_id":157433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01818"} 
[2026-08-19 09:09:27] local.INFO: GPS Element Parsed {"raw_longitude":762976384,"raw_latitude":99358304,"longitude_deg":76.2976384,"latitude_deg":9.9358304,"altitude":14,"angle":161,"satellites":38,"speed":9,"hex_longitude":"2d7a1880","hex_latitude":"05ec1660","is_valid_coordinates":true} 
[2026-08-19 09:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500325888001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120689388471451648,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795248622715117568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:27] 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-08-19 09:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787110669000,"timestamp_ms":1787110669000,"timestamp_seconds":1787110669,"priority":1,"record_length":96,"hex_timestamp":"000001a01818bac8"} 
[2026-08-19 09:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:09: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-08-19 09:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 09:09:27] 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-08-19 09:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:09:27] 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-08-19 09:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500325888001,"66":12917,"100":206,"87":13824,"24":9,"16":120689388471451648,"45":8795248622715117568},"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-08-19 09:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500325888001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:09:27] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 09:09:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120689388471451648,"km_value":120689388471451.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795248622715117568,"description":"Unknown IO ID 45"} 
[2026-08-19 09:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500325888001,"power":12917,"unknown_100":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8795248622715117568}} 
[2026-08-19 09:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":157433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:09:27] local.INFO: GPS data processed {"connection_id":157433,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:09:27] local.INFO: Acknowledgment sent {"connection_id":157433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:09:38] local.INFO: TCP Data received {"connection_id":157432,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a01819b0e0012d34c50006aa4078001200591d..."} 
[2026-08-19 09:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01819b0e0012d34c50006aa4078001200591d..."} 
[2026-08-19 09:09:38] local.INFO: Processing buffer {"connection_id":157432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01819b0e0012d34c50006aa4078001200591d..."} 
[2026-08-19 09:09:38] local.INFO: Packet analysis {"connection_id":157432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01819"} 
[2026-08-19 09:09:38] local.INFO: Extracted packet for processing {"connection_id":157432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01819"} 
[2026-08-19 09:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":18,"angle":89,"satellites":29,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500270336001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787110732000,"timestamp_ms":1787110732000,"timestamp_seconds":1787110732,"priority":1,"record_length":96,"hex_timestamp":"000001a01819b0e0"} 
[2026-08-19 09:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:09:38] 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-08-19 09:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500270336001,"66":25593,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 09:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500270336001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500270336001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":157432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:09:38] local.INFO: GPS data processed {"connection_id":157432,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:09:38] local.INFO: Acknowledgment sent {"connection_id":157432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:09:56] local.INFO: TCP Data received {"connection_id":157806,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01819d020012d0ae54007059228001e01151f..."} 
[2026-08-19 09:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01819d020012d0ae54007059228001e01151f..."} 
[2026-08-19 09:09:56] local.INFO: Processing buffer {"connection_id":157806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01819d020012d0ae54007059228001e01151f..."} 
[2026-08-19 09:09:56] local.INFO: Packet analysis {"connection_id":157806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01819"} 
[2026-08-19 09:09:56] local.INFO: Extracted packet for processing {"connection_id":157806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01819"} 
[2026-08-19 09:09:56] local.INFO: GPS Element Parsed {"raw_longitude":755688768,"raw_latitude":117805608,"longitude_deg":75.5688768,"latitude_deg":11.7805608,"altitude":30,"angle":277,"satellites":31,"speed":16,"hex_longitude":"2d0ae540","hex_latitude":"07059228","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500346624001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28757017954877440,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790733608483098624,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:56] 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-08-19 09:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787110740000,"timestamp_ms":1787110740000,"timestamp_seconds":1787110740,"priority":1,"record_length":96,"hex_timestamp":"000001a01819d020"} 
[2026-08-19 09:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:09: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-08-19 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 09:09:56] 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-08-19 09: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-08-19 09:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":157806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":157806,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":157806,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500346624001,"66":14352,"165":206,"94":10240,"24":16,"16":28757017954877440,"45":790733608483098624},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-19 09:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500346624001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:09:56] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 09:09:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28757017954877440,"km_value":28757017954877.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":790733608483098624,"description":"Unknown IO ID 45"} 
[2026-08-19 09:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500346624001,"power":14352,"unknown_165":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":790733608483098624}} 
[2026-08-19 09:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":157806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663707,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:09:56] local.INFO: GPS data processed {"connection_id":157806,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:09:56] local.INFO: Acknowledgment sent {"connection_id":157806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:09:57] local.INFO: TCP Data received {"connection_id":158695,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:09:57] local.INFO: Processing buffer {"connection_id":158695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:09:57] local.INFO: IMEI packet received {"connection_id":158695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":158695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:09:58] local.INFO: TCP Data received {"connection_id":157433,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181a60a8012d7a574005eb9640000d006f26..."} 
[2026-08-19 09:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181a60a8012d7a574005eb9640000d006f26..."} 
[2026-08-19 09:09:58] local.INFO: Processing buffer {"connection_id":157433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181a60a8012d7a574005eb9640000d006f26..."} 
[2026-08-19 09:09:58] local.INFO: Packet analysis {"connection_id":157433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:09:58] local.INFO: Extracted packet for processing {"connection_id":157433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:09:58] local.INFO: GPS Element Parsed {"raw_longitude":762992448,"raw_latitude":99325504,"longitude_deg":76.2992448,"latitude_deg":9.9325504,"altitude":13,"angle":111,"satellites":38,"speed":17,"hex_longitude":"2d7a5740","hex_latitude":"05eb9640","is_valid_coordinates":true} 
[2026-08-19 09:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500358656001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120691170882879488,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815162977307527168,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:58] 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-08-19 09:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787110777000,"timestamp_ms":1787110777000,"timestamp_seconds":1787110777,"priority":1,"record_length":96,"hex_timestamp":"000001a0181a60a8"} 
[2026-08-19 09:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 09:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861252,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:58] local.WARNING: Large IO value detected {"io_id":99,"raw_value":58079734643818502,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:58] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3343056896,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:58] local.WARNING: Large IO value detected {"io_id":149,"raw_value":2281778554,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:58] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3414687764,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147338958,"corrected_to":0} 
[2026-08-19 09:09:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3956189184,"note":"Value kept but may cause issues"} 
[2026-08-19 09:09:58] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,163,87,24,241,157,16,199,160,77,45,156,14,38,10,66,251,64,175,17,35,99,172,1,240,149,227,235,4,113,205,7,56,96,37,239,50,2,5,6],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1147338958,"validated":0}]} 
[2026-08-19 09:09:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008946113422491648,"timestamp_seconds":1008946113422491.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:09:58] 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-08-19 09:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500358656001,"66":13059,"163":206,"87":13824,"24":17,"16":120691170882879488,"45":8815162977307527168},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-19 09:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500358656001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:09:58] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 09:09:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120691170882879488,"km_value":120691170882879.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815162977307527168,"description":"Unknown IO ID 45"} 
[2026-08-19 09:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500358656001,"power":13059,"unknown_163":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8815162977307527168}} 
[2026-08-19 09:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":157433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:09:58] local.INFO: GPS data processed {"connection_id":157433,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:09:58] local.INFO: Acknowledgment sent {"connection_id":157433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:10:00] local.INFO: TCP Data received {"connection_id":158695,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:10:00] local.INFO: Processing buffer {"connection_id":158695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:10:00] local.INFO: IMEI packet received {"connection_id":158695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":158695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:10:05] local.INFO: TCP Data received {"connection_id":158695,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:10:05] local.INFO: Processing buffer {"connection_id":158695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:10:05] local.INFO: IMEI packet received {"connection_id":158695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":158695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:10:09] local.INFO: TCP Data received {"connection_id":158695,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a01819b4c8012d34c50006aa4078001200591c..."} 
[2026-08-19 09:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01819b4c8012d34c50006aa4078001200591c..."} 
[2026-08-19 09:10:09] local.INFO: Processing buffer {"connection_id":158695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01819b4c8012d34c50006aa4078001200591c..."} 
[2026-08-19 09:10:09] local.INFO: Packet analysis {"connection_id":158695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01819"} 
[2026-08-19 09:10:09] local.INFO: Extracted packet for processing {"connection_id":158695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01819"} 
[2026-08-19 09:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820920,"longitude_deg":75.8433024,"latitude_deg":11.182092,"altitude":18,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4078","is_valid_coordinates":true} 
[2026-08-19 09:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500347392001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787110733000,"timestamp_ms":1787110733000,"timestamp_seconds":1787110733,"priority":1,"record_length":96,"hex_timestamp":"000001a01819b4c8"} 
[2026-08-19 09:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 09:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":158695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":158695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":158695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:10:09] 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-08-19 09:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500347392001,"66":25582,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 09:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500347392001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500347392001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":158695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:10:09] local.INFO: GPS data processed {"connection_id":158695,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:10:09] local.INFO: Acknowledgment sent {"connection_id":158695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:10:13] local.INFO: TCP Data received {"connection_id":157807,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:10:13] local.INFO: Processing buffer {"connection_id":157807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:10:13] local.INFO: IMEI packet received {"connection_id":157807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":157807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:10:14] local.INFO: TCP Data received {"connection_id":157807,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:10:14] local.INFO: Processing buffer {"connection_id":157807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:10:14] local.INFO: IMEI packet received {"connection_id":157807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":157807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:10:15] local.INFO: TCP Data received {"connection_id":157807,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:10:15] local.INFO: Processing buffer {"connection_id":157807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:10:15] local.INFO: IMEI packet received {"connection_id":157807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":157807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:10:21] local.INFO: TCP Data received {"connection_id":157807,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:10:21] local.INFO: Processing buffer {"connection_id":157807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:10:21] local.INFO: IMEI packet received {"connection_id":157807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":157807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:10:22] local.INFO: TCP Data received {"connection_id":157807,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01819d408012d0ae40007059298001f01271f..."} 
[2026-08-19 09:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01819d408012d0ae40007059298001f01271f..."} 
[2026-08-19 09:10:22] local.INFO: Processing buffer {"connection_id":157807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01819d408012d0ae40007059298001f01271f..."} 
[2026-08-19 09:10:22] local.INFO: Packet analysis {"connection_id":157807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01819"} 
[2026-08-19 09:10:22] local.INFO: Extracted packet for processing {"connection_id":157807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01819"} 
[2026-08-19 09:10:22] local.INFO: GPS Element Parsed {"raw_longitude":755688448,"raw_latitude":117805720,"longitude_deg":75.5688448,"latitude_deg":11.780572,"altitude":31,"angle":295,"satellites":31,"speed":15,"hex_longitude":"2d0ae400","hex_latitude":"07059298","is_valid_coordinates":true} 
[2026-08-19 09:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500349440001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28757035134746624,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785104108948432896,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787110741000,"timestamp_ms":1787110741000,"timestamp_seconds":1787110741,"priority":1,"record_length":96,"hex_timestamp":"000001a01819d408"} 
[2026-08-19 09:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-19 09:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733148160,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:22] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504038413107200,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:22] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2619867151,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:22] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639226070198181,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:22] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6989850508769165568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738866894,"corrected_to":0} 
[2026-08-19 09:10:22] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2147943836,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:22] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:22] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84736205425935777,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:22] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3941397518359040,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:22] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2431951520157663247,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:22] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,165,94,24,241,157,16,42,160,45,64,153,25,31,10,66,192,1,240,38,227,41,5,4,113,205,14,87,32,208,239,56,2,102,7,15,13,206,80,40,11],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1738866894,"validated":0}]} 
[2026-08-19 09:10:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2162032519003766784,"timestamp_seconds":2162032519003766.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":157807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":157807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":157807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500349440001,"66":14352,"165":206,"94":10240,"24":15,"16":28757035134746624,"45":785104108948432896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-19 09:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500349440001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:10:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 09:10:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28757035134746624,"km_value":28757035134746.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":785104108948432896,"description":"Unknown IO ID 45"} 
[2026-08-19 09:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500349440001,"power":14352,"unknown_165":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":785104108948432896}} 
[2026-08-19 09:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":157807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663710,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:10:22] local.INFO: GPS data processed {"connection_id":157807,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:10:22] local.INFO: Acknowledgment sent {"connection_id":157807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:10:22] local.INFO: TCP Data received {"connection_id":157434,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:10:22] local.INFO: Processing buffer {"connection_id":157434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:10:22] local.INFO: IMEI packet received {"connection_id":157434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":157434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:10:26] local.INFO: TCP Data received {"connection_id":157434,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:10:26] local.INFO: Processing buffer {"connection_id":157434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:10:26] local.INFO: IMEI packet received {"connection_id":157434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":157434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:10:30] local.INFO: TCP Data received {"connection_id":157434,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:10:30] local.INFO: Processing buffer {"connection_id":157434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:10:30] local.INFO: IMEI packet received {"connection_id":157434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":157434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:10:31] local.INFO: TCP Data received {"connection_id":157434,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181a6490012d7a594005eb95f8000d005d26..."} 
[2026-08-19 09:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181a6490012d7a594005eb95f8000d005d26..."} 
[2026-08-19 09:10:31] local.INFO: Processing buffer {"connection_id":157434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181a6490012d7a594005eb95f8000d005d26..."} 
[2026-08-19 09:10:31] local.INFO: Packet analysis {"connection_id":157434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:10:31] local.INFO: Extracted packet for processing {"connection_id":157434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:10:31] local.INFO: GPS Element Parsed {"raw_longitude":762992960,"raw_latitude":99325432,"longitude_deg":76.299296,"latitude_deg":9.9325432,"altitude":13,"angle":93,"satellites":38,"speed":18,"hex_longitude":"2d7a5940","hex_latitude":"05eb95f8","is_valid_coordinates":true} 
[2026-08-19 09:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500358912001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120691196652683264,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815585189772541952,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10: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-08-19 09:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787110778000,"timestamp_ms":1787110778000,"timestamp_seconds":1787110778,"priority":1,"record_length":96,"hex_timestamp":"000001a0181a6490"} 
[2026-08-19 09:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:10:31] 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-08-19 09:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 09:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158986329412,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:31] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2785017856,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:31] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3380084757,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147338958,"corrected_to":0} 
[2026-08-19 09:10:31] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2147871691,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:31] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184324,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:31] local.WARNING: Large IO value detected {"io_id":99,"raw_value":58079734643818503,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:31] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3343515648,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3956105216,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:31] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,163,87,24,241,157,16,199,160,92,45,192,151,14,37,10,66,77,156,38,251,64,1,240,7,227,235,4,113,205,9,161,57,136,39,239,50,99,2,172,5,19],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1147338958,"validated":0}]} 
[2026-08-19 09:10:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936870931493617664,"timestamp_seconds":936870931493617.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":157434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":157434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":157434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:10:31] 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-08-19 09:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500358912001,"66":12809,"163":206,"87":13824,"24":18,"16":120691196652683264,"45":8815585189772541952},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-19 09:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500358912001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:10:31] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 09:10:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120691196652683264,"km_value":120691196652683.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815585189772541952,"description":"Unknown IO ID 45"} 
[2026-08-19 09:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500358912001,"power":12809,"unknown_163":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8815585189772541952}} 
[2026-08-19 09:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":157434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:10:31] local.INFO: GPS data processed {"connection_id":157434,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:10:31] local.INFO: Acknowledgment sent {"connection_id":157434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:10:40] local.INFO: TCP Data received {"connection_id":157434,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181a6878012d7a5b0005eb9620000d004f25..."} 
[2026-08-19 09:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181a6878012d7a5b0005eb9620000d004f25..."} 
[2026-08-19 09:10:40] local.INFO: Processing buffer {"connection_id":157434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181a6878012d7a5b0005eb9620000d004f25..."} 
[2026-08-19 09:10:40] local.INFO: Packet analysis {"connection_id":157434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:10:40] local.INFO: Extracted packet for processing {"connection_id":157434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:10:40] local.INFO: GPS Element Parsed {"raw_longitude":762993408,"raw_latitude":99325472,"longitude_deg":76.2993408,"latitude_deg":9.9325472,"altitude":13,"angle":79,"satellites":37,"speed":18,"hex_longitude":"2d7a5b00","hex_latitude":"05eb9620","is_valid_coordinates":true} 
[2026-08-19 09:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500359168001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120691218127519744,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816148139725944832,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787110779000,"timestamp_ms":1787110779000,"timestamp_seconds":1787110779,"priority":1,"record_length":96,"hex_timestamp":"000001a0181a6878"} 
[2026-08-19 09:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 09:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:40] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1843529161117415424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":256,"corrected_to":0} 
[2026-08-19 09:10:40] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:40] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2936012817,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147338958,"corrected_to":0} 
[2026-08-19 09:10:40] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3343974400,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:40] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2499857732,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1455401551135728347,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:40] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6845245740000686505,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:40] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:40] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,163,87,24,241,157,16,200,160,96,45,64,150,13,38,10,66,199,92,192,151,14,37,77,1,240,116,227,235,4,113,205,3,172,59,120,40,239,52,99,2,5,20,7,50,54,74],"length":535,"final_offset":665,"validated_count":47,"validation_warnings":[{"io_id":200,"original":256,"validated":0},{"io_id":205,"original":1147338958,"validated":0}]} 
[2026-08-19 09:10:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936851140284383232,"timestamp_seconds":936851140284383.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157434,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:10:40] 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-08-19 09:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500359168001,"66":12809,"163":206,"87":13824,"24":18,"16":120691218127519744,"45":8816148139725944832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-19 09:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500359168001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:10:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 09:10:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120691218127519744,"km_value":120691218127519.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816148139725944832,"description":"Unknown IO ID 45"} 
[2026-08-19 09:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500359168001,"power":12809,"unknown_163":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8816148139725944832}} 
[2026-08-19 09:10:40] local.INFO: TCP Data received {"connection_id":158695,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a01819c850012d34c78006aa42180012011d1c..."} 
[2026-08-19 09:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01819c850012d34c78006aa42180012011d1c..."} 
[2026-08-19 09:10:40] local.INFO: Processing buffer {"connection_id":158695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01819c850012d34c78006aa42180012011d1c..."} 
[2026-08-19 09:10:40] local.INFO: Packet analysis {"connection_id":158695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01819"} 
[2026-08-19 09:10:40] local.INFO: Extracted packet for processing {"connection_id":158695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01819"} 
[2026-08-19 09:10:40] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821336,"longitude_deg":75.8433664,"latitude_deg":11.1821336,"altitude":18,"angle":285,"satellites":28,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4218","is_valid_coordinates":true} 
[2026-08-19 09:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500347648001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010407424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787110738000,"timestamp_ms":1787110738000,"timestamp_seconds":1787110738,"priority":1,"record_length":96,"hex_timestamp":"000001a01819c850"} 
[2026-08-19 09:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 09:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:10:40] 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-08-19 09:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500347648001,"66":22092,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802445489010407424},"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-08-19 09:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500347648001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:10:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:10:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010407424,"description":"Unknown IO ID 45"} 
[2026-08-19 09:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500347648001,"power":22092,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010407424}} 
[2026-08-19 09:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":158695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:10:40] local.INFO: GPS data processed {"connection_id":158695,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:10:40] local.INFO: Acknowledgment sent {"connection_id":158695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":157434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:10:40] local.INFO: GPS data processed {"connection_id":157434,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:10:40] local.INFO: Acknowledgment sent {"connection_id":157434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:10:53] local.INFO: TCP Data received {"connection_id":157807,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0181b5aa8012d0a7a400705b690001001421e..."} 
[2026-08-19 09:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181b5aa8012d0a7a400705b690001001421e..."} 
[2026-08-19 09:10:53] local.INFO: Processing buffer {"connection_id":157807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181b5aa8012d0a7a400705b690001001421e..."} 
[2026-08-19 09:10:53] local.INFO: Packet analysis {"connection_id":157807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181b"} 
[2026-08-19 09:10:53] local.INFO: Extracted packet for processing {"connection_id":157807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181b"} 
[2026-08-19 09:10:53] local.INFO: GPS Element Parsed {"raw_longitude":755661376,"raw_latitude":117814928,"longitude_deg":75.5661376,"latitude_deg":11.7814928,"altitude":16,"angle":322,"satellites":30,"speed":17,"hex_longitude":"2d0a7a40","hex_latitude":"0705b690","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500373760001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28758705877024768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756745505046499328,"note":"Value kept but may cause issues"} 
[2026-08-19 09:10: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-08-19 09:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787110841000,"timestamp_ms":1787110841000,"timestamp_seconds":1787110841,"priority":1,"record_length":96,"hex_timestamp":"000001a0181b5aa8"} 
[2026-08-19 09:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:10: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-08-19 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 09:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":157807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":157807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":157807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500373760001,"66":14515,"153":206,"94":10240,"24":17,"16":28758705877024768,"45":756745505046499328},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-19 09:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500373760001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:10:53] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 09:10:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28758705877024768,"km_value":28758705877024.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":756745505046499328,"description":"Unknown IO ID 45"} 
[2026-08-19 09:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500373760001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":756745505046499328}} 
[2026-08-19 09:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":157807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663714,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:10:53] local.INFO: GPS data processed {"connection_id":157807,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:10:53] local.INFO: Acknowledgment sent {"connection_id":157807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:11:00] local.INFO: TCP Data received {"connection_id":157808,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:11:00] local.INFO: Processing buffer {"connection_id":157808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:11:00] local.INFO: IMEI packet received {"connection_id":157808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":157808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:11:05] local.INFO: TCP Data received {"connection_id":157808,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:11:05] local.INFO: Processing buffer {"connection_id":157808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:11:05] local.INFO: IMEI packet received {"connection_id":157808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":157808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:11:06] local.INFO: TCP Data received {"connection_id":157808,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0181a1a58012d34c78006aa42180012011d1e..."} 
[2026-08-19 09:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181a1a58012d34c78006aa42180012011d1e..."} 
[2026-08-19 09:11:06] local.INFO: Processing buffer {"connection_id":157808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181a1a58012d34c78006aa42180012011d1e..."} 
[2026-08-19 09:11:06] local.INFO: Packet analysis {"connection_id":157808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:11:06] local.INFO: Extracted packet for processing {"connection_id":157808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821336,"longitude_deg":75.8433664,"latitude_deg":11.1821336,"altitude":18,"angle":285,"satellites":30,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4218","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500348928001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787110759000,"timestamp_ms":1787110759000,"timestamp_seconds":1787110759,"priority":1,"record_length":96,"hex_timestamp":"000001a0181a1a58"} 
[2026-08-19 09:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:11: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-08-19 09: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":86,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-19 09:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1312,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500348928001,"66":27745,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"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-08-19 09:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500348928001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:11:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500348928001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":157808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:11:06] local.INFO: GPS data processed {"connection_id":157808,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:11:06] local.INFO: Acknowledgment sent {"connection_id":157808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:11:14] local.INFO: TCP Data received {"connection_id":159982,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159982,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:11:14] local.INFO: Processing buffer {"connection_id":159982,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:11:14] local.INFO: IMEI packet received {"connection_id":159982,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":159982,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:11:16] local.INFO: TCP Data received {"connection_id":159982,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159982,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:11:16] local.INFO: Processing buffer {"connection_id":159982,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:11:16] local.INFO: IMEI packet received {"connection_id":159982,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":159982,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:11:19] local.INFO: TCP Data received {"connection_id":159982,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159982,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:11:19] local.INFO: Processing buffer {"connection_id":159982,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:11:19] local.INFO: IMEI packet received {"connection_id":159982,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":159982,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:11:20] local.INFO: TCP Data received {"connection_id":159982,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0181b6660012d0a78800705ba000010014f1d..."} 
[2026-08-19 09:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181b6660012d0a78800705ba000010014f1d..."} 
[2026-08-19 09:11:20] local.INFO: Processing buffer {"connection_id":159982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181b6660012d0a78800705ba000010014f1d..."} 
[2026-08-19 09:11:20] local.INFO: Packet analysis {"connection_id":159982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181b"} 
[2026-08-19 09:11:20] local.INFO: Extracted packet for processing {"connection_id":159982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181b"} 
[2026-08-19 09:11:20] local.INFO: GPS Element Parsed {"raw_longitude":755660928,"raw_latitude":117815808,"longitude_deg":75.5660928,"latitude_deg":11.7815808,"altitude":16,"angle":335,"satellites":29,"speed":14,"hex_longitude":"2d0a7880","hex_latitude":"0705ba00","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500375296001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28758753121665024,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754986286442778624,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787110844000,"timestamp_ms":1787110844000,"timestamp_seconds":1787110844,"priority":1,"record_length":96,"hex_timestamp":"000001a0181b6660"} 
[2026-08-19 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-08-19 09:11:20] 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-08-19 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 09:11: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-08-19 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-08-19 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-08-19 09:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":159982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":159982,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":159982,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500375296001,"66":14407,"153":206,"94":10240,"24":14,"16":28758753121665024,"45":754986286442778624},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-19 09:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500375296001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:11:20] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 09:11:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28758753121665024,"km_value":28758753121665.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":754986286442778624,"description":"Unknown IO ID 45"} 
[2026-08-19 09:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500375296001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":754986286442778624}} 
[2026-08-19 09:11:20] local.INFO: TCP Data received {"connection_id":157435,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:11:20] local.INFO: Processing buffer {"connection_id":157435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:11:20] local.INFO: IMEI packet received {"connection_id":157435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":157435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":159982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663716,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:11:20] local.INFO: GPS data processed {"connection_id":159982,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:11:20] local.INFO: Acknowledgment sent {"connection_id":159982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:11:26] local.INFO: TCP Data received {"connection_id":157435,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:11:26] local.INFO: Processing buffer {"connection_id":157435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:11:26] local.INFO: IMEI packet received {"connection_id":157435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":157435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:11:27] local.INFO: TCP Data received {"connection_id":157435,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181aba80012d7a710005eb9e70000a004627..."} 
[2026-08-19 09:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181aba80012d7a710005eb9e70000a004627..."} 
[2026-08-19 09:11:27] local.INFO: Processing buffer {"connection_id":157435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181aba80012d7a710005eb9e70000a004627..."} 
[2026-08-19 09:11:27] local.INFO: Packet analysis {"connection_id":157435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:11:27] local.INFO: Extracted packet for processing {"connection_id":157435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:11:27] local.INFO: GPS Element Parsed {"raw_longitude":762999040,"raw_latitude":99327600,"longitude_deg":76.299904,"latitude_deg":9.93276,"altitude":10,"angle":70,"satellites":39,"speed":11,"hex_longitude":"2d7a7100","hex_latitude":"05eb9e70","is_valid_coordinates":true} 
[2026-08-19 09:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500359424001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120691505890328576,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816640720935198720,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:27] 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-08-19 09:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787110800000,"timestamp_ms":1787110800000,"timestamp_seconds":1787110800,"priority":1,"record_length":96,"hex_timestamp":"000001a0181aba80"} 
[2026-08-19 09:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:11: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-08-19 09:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 09:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:27] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1846827696000743808,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":256,"corrected_to":0} 
[2026-08-19 09:11:27] local.WARNING: Large IO value detected {"io_id":199,"raw_value":4143972352,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:27] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2621964302,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-08-19 09:11:27] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-7709936868455821737,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:27] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3349544960,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1455920520607265497,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:27] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:27] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,163,87,24,241,157,16,200,160,100,45,64,149,13,38,10,66,96,150,199,92,192,1,240,3,227,235,4,113,205,18,251,72,35,239,52,99,2,172,5,21,9,54,81],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":200,"original":256,"validated":0},{"io_id":205,"original":765657294,"validated":0}]} 
[2026-08-19 09:11:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936835742826627072,"timestamp_seconds":936835742826627.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:11:27] 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-08-19 09:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500359424001,"66":13319,"163":206,"87":13824,"24":11,"16":120691505890328576,"45":8816640720935198720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-19 09:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500359424001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:11:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 09:11:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120691505890328576,"km_value":120691505890328.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816640720935198720,"description":"Unknown IO ID 45"} 
[2026-08-19 09:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500359424001,"power":13319,"unknown_163":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8816640720935198720}} 
[2026-08-19 09:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":157435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:11:27] local.INFO: GPS data processed {"connection_id":157435,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:11:27] local.INFO: Acknowledgment sent {"connection_id":157435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:11:37] local.INFO: TCP Data received {"connection_id":157808,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0181a6c60012d34c78006aa42180012011d1b..."} 
[2026-08-19 09:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181a6c60012d34c78006aa42180012011d1b..."} 
[2026-08-19 09:11:37] local.INFO: Processing buffer {"connection_id":157808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181a6c60012d34c78006aa42180012011d1b..."} 
[2026-08-19 09:11:37] local.INFO: Packet analysis {"connection_id":157808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:11:37] local.INFO: Extracted packet for processing {"connection_id":157808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821336,"longitude_deg":75.8433664,"latitude_deg":11.1821336,"altitude":18,"angle":285,"satellites":27,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4218","is_valid_coordinates":true} 
[2026-08-19 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500354304001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787110780000,"timestamp_ms":1787110780000,"timestamp_seconds":1787110780,"priority":1,"record_length":96,"hex_timestamp":"000001a0181a6c60"} 
[2026-08-19 09:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 09:11:37] 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-08-19 09:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500354304001,"66":27908,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"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-08-19 09:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500354304001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500354304001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":157808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:11:37] local.INFO: GPS data processed {"connection_id":157808,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:11:37] local.INFO: Acknowledgment sent {"connection_id":157808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:11:52] local.INFO: TCP Data received {"connection_id":159982,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0181b79e8012d0a75800705c2180011015c1d..."} 
[2026-08-19 09:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181b79e8012d0a75800705c2180011015c1d..."} 
[2026-08-19 09:11:52] local.INFO: Processing buffer {"connection_id":159982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181b79e8012d0a75800705c2180011015c1d..."} 
[2026-08-19 09:11:52] local.INFO: Packet analysis {"connection_id":159982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181b"} 
[2026-08-19 09:11:52] local.INFO: Extracted packet for processing {"connection_id":159982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181b"} 
[2026-08-19 09:11:52] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117817880,"longitude_deg":75.566016,"latitude_deg":11.781788,"altitude":17,"angle":348,"satellites":29,"speed":21,"hex_longitude":"2d0a7580","hex_latitude":"0705c218","is_valid_coordinates":true} 
[2026-08-19 09:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500376064001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28758860495847424,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754493705233760256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787110849000,"timestamp_ms":1787110849000,"timestamp_seconds":1787110849,"priority":1,"record_length":96,"hex_timestamp":"000001a0181b79e8"} 
[2026-08-19 09:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:11:52] 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-08-19 09:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 09:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":159982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":159982,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":159982,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500376064001,"66":14439,"153":206,"94":10240,"24":21,"16":28758860495847424,"45":754493705233760256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-19 09:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500376064001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:11:52] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 09:11:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28758860495847424,"km_value":28758860495847.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":754493705233760256,"description":"Unknown IO ID 45"} 
[2026-08-19 09:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500376064001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":754493705233760256}} 
[2026-08-19 09:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":159982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663719,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:11:52] local.INFO: GPS data processed {"connection_id":159982,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:11:52] local.INFO: Acknowledgment sent {"connection_id":159982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:12:00] local.INFO: TCP Data received {"connection_id":157436,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:12:00] local.INFO: Processing buffer {"connection_id":157436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:12:00] local.INFO: IMEI packet received {"connection_id":157436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":157436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:12:05] local.INFO: TCP Data received {"connection_id":157436,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:12:05] local.INFO: Processing buffer {"connection_id":157436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:12:05] local.INFO: IMEI packet received {"connection_id":157436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":157436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:12:05] local.INFO: TCP Data received {"connection_id":157435,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181b0c88012d7a844005eba6b0000e004727..."} 
[2026-08-19 09:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181b0c88012d7a844005eba6b0000e004727..."} 
[2026-08-19 09:12:05] local.INFO: Processing buffer {"connection_id":157435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181b0c88012d7a844005eba6b0000e004727..."} 
[2026-08-19 09:12:05] local.INFO: Packet analysis {"connection_id":157435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181b"} 
[2026-08-19 09:12:05] local.INFO: Extracted packet for processing {"connection_id":157435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181b"} 
[2026-08-19 09:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763003968,"raw_latitude":99329712,"longitude_deg":76.3003968,"latitude_deg":9.9329712,"altitude":14,"angle":71,"satellites":39,"speed":14,"hex_longitude":"2d7a8440","hex_latitude":"05eba6b0","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500364800001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120691767883333632,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822833170423377920,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:05] 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-08-19 09:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787110821000,"timestamp_ms":1787110821000,"timestamp_seconds":1787110821,"priority":1,"record_length":96,"hex_timestamp":"000001a0181b0c88"} 
[2026-08-19 09:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 09:12:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":256,"corrected_to":0} 
[2026-08-19 09:12:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:05] local.WARNING: Large IO value detected {"io_id":199,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:05] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-3929390584676341760,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-08-19 09:12:05] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3353608192,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3954114560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:05] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57777562231658294,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:05] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-5983030810125860859,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:05] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,163,87,24,241,157,16,200,160,104,45,150,13,37,10,66,100,64,149,38,96,1,240,3,227,199,235,4,113,205,15,77,82,72,239,52,2,172,5,17,7,25],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":200,"original":256,"validated":0},{"io_id":205,"original":765657294,"validated":0}]} 
[2026-08-19 09:12:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720653073697669120,"timestamp_seconds":720653073697669.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500364800001,"66":13298,"161":206,"87":13824,"24":14,"16":120691767883333632,"45":8822833170423377920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-19 09:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500364800001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:12:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 09:12:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120691767883333632,"km_value":120691767883333.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822833170423377920,"description":"Unknown IO ID 45"} 
[2026-08-19 09:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500364800001,"power":13298,"unknown_161":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8822833170423377920}} 
[2026-08-19 09:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":157435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:12:05] local.INFO: GPS data processed {"connection_id":157435,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:12:05] local.INFO: Acknowledgment sent {"connection_id":157435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:12:07] local.INFO: TCP Data received {"connection_id":157436,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:12:07] local.INFO: Processing buffer {"connection_id":157436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:12:07] local.INFO: Packet analysis {"connection_id":157436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:12:07] local.INFO: Extracted packet for processing {"connection_id":157436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:12:07] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821336,"longitude_deg":75.8433664,"latitude_deg":11.1821336,"altitude":18,"angle":285,"satellites":29,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4218","is_valid_coordinates":true} 
[2026-08-19 09:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500359680001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787110783000,"timestamp_ms":1787110783000,"timestamp_seconds":1787110783,"priority":1,"record_length":96,"hex_timestamp":"000001a0181a7818"} 
[2026-08-19 09:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 09:12:07] 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-08-19 09: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-08-19 09:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:12:07] 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-08-19 09:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500359680001,"66":27800,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 09:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500359680001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:12:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:12:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500359680001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":157436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:12:07] local.INFO: GPS data processed {"connection_id":157436,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:12:07] local.INFO: Acknowledgment sent {"connection_id":157436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:12:17] local.INFO: TCP Data received {"connection_id":157809,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157809,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:12:17] local.INFO: Processing buffer {"connection_id":157809,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:12:17] local.INFO: IMEI packet received {"connection_id":157809,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":157809,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:12:19] local.INFO: TCP Data received {"connection_id":157809,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157809,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:12:19] local.INFO: Processing buffer {"connection_id":157809,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:12:19] local.INFO: IMEI packet received {"connection_id":157809,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":157809,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:12:20] local.INFO: TCP Data received {"connection_id":157437,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:12:20] local.INFO: Processing buffer {"connection_id":157437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:12:20] local.INFO: IMEI packet received {"connection_id":157437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":157437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:12:20] local.INFO: TCP Data received {"connection_id":157809,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157809,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:12:20] local.INFO: Processing buffer {"connection_id":157809,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:12:20] local.INFO: IMEI packet received {"connection_id":157809,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":157809,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:12:21] local.INFO: TCP Data received {"connection_id":157809,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0181ca6b0012d0a72c007060820001100c61d..."} 
[2026-08-19 09:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181ca6b0012d0a72c007060820001100c61d..."} 
[2026-08-19 09:12:21] local.INFO: Processing buffer {"connection_id":157809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181ca6b0012d0a72c007060820001100c61d..."} 
[2026-08-19 09:12:21] local.INFO: Packet analysis {"connection_id":157809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181c"} 
[2026-08-19 09:12:21] local.INFO: Extracted packet for processing {"connection_id":157809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181c"} 
[2026-08-19 09:12:21] local.INFO: GPS Element Parsed {"raw_longitude":755659456,"raw_latitude":117835808,"longitude_deg":75.5659456,"latitude_deg":11.7835808,"altitude":17,"angle":198,"satellites":29,"speed":0,"hex_longitude":"2d0a72c0","hex_latitude":"07060820","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500396800001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28759813978587136,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753015961611157504,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787110926000,"timestamp_ms":1787110926000,"timestamp_seconds":1787110926,"priority":1,"record_length":96,"hex_timestamp":"000001a0181ca6b0"} 
[2026-08-19 09:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:12:21] 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-08-19 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 09:12:21] 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-08-19 09: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-08-19 09:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":157809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":157809,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":157809,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500396800001,"66":14396,"153":206,"94":10240,"24":0,"16":28759813978587136,"45":753015961611157504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-19 09:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500396800001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:12:21] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 09:12:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28759813978587136,"km_value":28759813978587.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":753015961611157504,"description":"Unknown IO ID 45"} 
[2026-08-19 09:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500396800001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753015961611157504}} 
[2026-08-19 09:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":157809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663722,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:12:21] local.INFO: GPS data processed {"connection_id":157809,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:12:21] local.INFO: Acknowledgment sent {"connection_id":157809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:12:22] local.INFO: TCP Data received {"connection_id":157809,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0181caa98012d0a72c0070607c8001100b41d..."} 
[2026-08-19 09:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181caa98012d0a72c0070607c8001100b41d..."} 
[2026-08-19 09:12:22] local.INFO: Processing buffer {"connection_id":157809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181caa98012d0a72c0070607c8001100b41d..."} 
[2026-08-19 09:12:22] local.INFO: Packet analysis {"connection_id":157809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181c"} 
[2026-08-19 09:12:22] local.INFO: Extracted packet for processing {"connection_id":157809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181c"} 
[2026-08-19 09:12:22] local.INFO: GPS Element Parsed {"raw_longitude":755659456,"raw_latitude":117835720,"longitude_deg":75.5659456,"latitude_deg":11.783572,"altitude":17,"angle":180,"satellites":29,"speed":3,"hex_longitude":"2d0a72c0","hex_latitude":"070607c8","is_valid_coordinates":true} 
[2026-08-19 09:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500397056001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28759818273554432,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752875224122793984,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787110927000,"timestamp_ms":1787110927000,"timestamp_seconds":1787110927,"priority":1,"record_length":96,"hex_timestamp":"000001a0181caa98"} 
[2026-08-19 09:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:12: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-08-19 09:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 09:12: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-08-19 09:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":157809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":157809,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":157809,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500397056001,"66":14396,"153":206,"94":10240,"24":3,"16":28759818273554432,"45":752875224122793984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-19 09:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500397056001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:12:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 09:12:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28759818273554432,"km_value":28759818273554.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":752875224122793984,"description":"Unknown IO ID 45"} 
[2026-08-19 09:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500397056001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":752875224122793984}} 
[2026-08-19 09:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":157809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663723,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:12:23] local.INFO: GPS data processed {"connection_id":157809,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:12:23] local.INFO: Acknowledgment sent {"connection_id":157809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:12:27] local.INFO: TCP Data received {"connection_id":157437,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:12:27] local.INFO: Processing buffer {"connection_id":157437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:12:27] local.INFO: IMEI packet received {"connection_id":157437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":157437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:12:27] local.INFO: TCP Data received {"connection_id":157437,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181b4338012d7aa6c005ebb328000f004527..."} 
[2026-08-19 09:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181b4338012d7aa6c005ebb328000f004527..."} 
[2026-08-19 09:12:27] local.INFO: Processing buffer {"connection_id":157437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181b4338012d7aa6c005ebb328000f004527..."} 
[2026-08-19 09:12:27] local.INFO: Packet analysis {"connection_id":157437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181b"} 
[2026-08-19 09:12:27] local.INFO: Extracted packet for processing {"connection_id":157437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181b"} 
[2026-08-19 09:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763012800,"raw_latitude":99332904,"longitude_deg":76.30128,"latitude_deg":9.9332904,"altitude":15,"angle":69,"satellites":39,"speed":31,"hex_longitude":"2d7aa6c0","hex_latitude":"05ebb328","is_valid_coordinates":true} 
[2026-08-19 09:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500370176001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120692214559932416,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828251563725598720,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:27] 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-08-19 09:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787110835000,"timestamp_ms":1787110835000,"timestamp_seconds":1787110835,"priority":1,"record_length":96,"hex_timestamp":"000001a0181b4338"} 
[2026-08-19 09:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:12: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-08-19 09:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-19 09:12:27] 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-08-19 09:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:12:27] 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-08-19 09:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500370176001,"66":13222,"161":206,"87":13824,"24":31,"16":120692214559932416,"45":8828251563725598720},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-19 09:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500370176001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:12:27] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 09:12:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120692214559932416,"km_value":120692214559932.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828251563725598720,"description":"Unknown IO ID 45"} 
[2026-08-19 09:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500370176001,"power":13222,"unknown_161":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8828251563725598720}} 
[2026-08-19 09:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":157437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:12:27] local.INFO: GPS data processed {"connection_id":157437,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:12:27] local.INFO: Acknowledgment sent {"connection_id":157437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:12:39] local.INFO: TCP Data received {"connection_id":157436,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:12:39] local.INFO: Processing buffer {"connection_id":157436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:12:39] local.INFO: Packet analysis {"connection_id":157436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:12:39] local.INFO: Extracted packet for processing {"connection_id":157436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:12:39] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821336,"longitude_deg":75.8433664,"latitude_deg":11.1821336,"altitude":18,"angle":285,"satellites":29,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4218","is_valid_coordinates":true} 
[2026-08-19 09:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500359680001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787110783000,"timestamp_ms":1787110783000,"timestamp_seconds":1787110783,"priority":1,"record_length":96,"hex_timestamp":"000001a0181a7818"} 
[2026-08-19 09:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 09:12:39] 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-08-19 09:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:12:39] 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-08-19 09:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500359680001,"66":27800,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 09:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500359680001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:12:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:12:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500359680001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":157436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:12:39] local.INFO: GPS data processed {"connection_id":157436,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:12:39] local.INFO: Acknowledgment sent {"connection_id":157436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:12:54] local.INFO: TCP Data received {"connection_id":157809,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0181ccdc0012d0a72c007060598001100a81f..."} 
[2026-08-19 09:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181ccdc0012d0a72c007060598001100a81f..."} 
[2026-08-19 09:12:54] local.INFO: Processing buffer {"connection_id":157809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181ccdc0012d0a72c007060598001100a81f..."} 
[2026-08-19 09:12:54] local.INFO: Packet analysis {"connection_id":157809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181c"} 
[2026-08-19 09:12:54] local.INFO: Extracted packet for processing {"connection_id":157809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181c"} 
[2026-08-19 09:12:54] local.INFO: GPS Element Parsed {"raw_longitude":755659456,"raw_latitude":117835160,"longitude_deg":75.5659456,"latitude_deg":11.783516,"altitude":17,"angle":168,"satellites":31,"speed":2,"hex_longitude":"2d0a72c0","hex_latitude":"07060598","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500397312001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28759844043358208,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752875224122771456,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787110936000,"timestamp_ms":1787110936000,"timestamp_seconds":1787110936,"priority":1,"record_length":96,"hex_timestamp":"000001a0181ccdc0"} 
[2026-08-19 09:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 09:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":157809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":157809,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":157809,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500397312001,"66":14309,"153":206,"94":10240,"24":2,"16":28759844043358208,"45":752875224122771456},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-19 09:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500397312001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:12:54] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 09:12:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28759844043358208,"km_value":28759844043358.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":752875224122771456,"description":"Unknown IO ID 45"} 
[2026-08-19 09:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500397312001,"power":14309,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":752875224122771456}} 
[2026-08-19 09:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":157809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663726,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:12:54] local.INFO: GPS data processed {"connection_id":157809,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:12:54] local.INFO: Acknowledgment sent {"connection_id":157809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:12:59] local.INFO: TCP Data received {"connection_id":157437,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181b7218012d7ac78005ebc080000d004028..."} 
[2026-08-19 09:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181b7218012d7ac78005ebc080000d004028..."} 
[2026-08-19 09:12:59] local.INFO: Processing buffer {"connection_id":157437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181b7218012d7ac78005ebc080000d004028..."} 
[2026-08-19 09:12:59] local.INFO: Packet analysis {"connection_id":157437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181b"} 
[2026-08-19 09:12:59] local.INFO: Extracted packet for processing {"connection_id":157437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181b"} 
[2026-08-19 09:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763021184,"raw_latitude":99336320,"longitude_deg":76.3021184,"latitude_deg":9.933632,"altitude":13,"angle":64,"satellites":40,"speed":28,"hex_longitude":"2d7ac780","hex_latitude":"05ebc080","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500373760001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120692648351629312,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837962450422933504,"note":"Value kept but may cause issues"} 
[2026-08-19 09:12:59] 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-08-19 09:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787110847000,"timestamp_ms":1787110847000,"timestamp_seconds":1787110847,"priority":1,"record_length":96,"hex_timestamp":"000001a0181b7218"} 
[2026-08-19 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-08-19 09:12:59] 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-08-19 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":166,"data_length":795,"current_offset":136} 
[2026-08-19 09:12:59] 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-08-19 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-08-19 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-08-19 09:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":157437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":157437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":157437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:12:59] 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-08-19 09:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500373760001,"66":13363,"99":206,"87":13824,"24":28,"16":120692648351629312,"45":8837962450422933504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-19 09:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500373760001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:12:59] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-19 09:12:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120692648351629312,"km_value":120692648351629.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837962450422933504,"description":"Unknown IO ID 45"} 
[2026-08-19 09:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500373760001,"power":13363,"unknown_99":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8837962450422933504}} 
[2026-08-19 09:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":157437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:12:59] local.INFO: GPS data processed {"connection_id":157437,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:12:59] local.INFO: Acknowledgment sent {"connection_id":157437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:13:00] local.INFO: TCP Data received {"connection_id":158696,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:13:00] local.INFO: Processing buffer {"connection_id":158696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:13:00] local.INFO: IMEI packet received {"connection_id":158696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":158696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:13:05] local.INFO: TCP Data received {"connection_id":158696,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:13:05] local.INFO: Processing buffer {"connection_id":158696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:13:05] local.INFO: IMEI packet received {"connection_id":158696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":158696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:13:06] local.INFO: TCP Data received {"connection_id":158696,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:13:06] local.INFO: Processing buffer {"connection_id":158696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:13:06] local.INFO: Packet analysis {"connection_id":158696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:13:06] local.INFO: Extracted packet for processing {"connection_id":158696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821336,"longitude_deg":75.8433664,"latitude_deg":11.1821336,"altitude":18,"angle":285,"satellites":29,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4218","is_valid_coordinates":true} 
[2026-08-19 09:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500359680001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787110783000,"timestamp_ms":1787110783000,"timestamp_seconds":1787110783,"priority":1,"record_length":96,"hex_timestamp":"000001a0181a7818"} 
[2026-08-19 09:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 09:13:06] 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-08-19 09:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:13:06] 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-08-19 09:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500359680001,"66":27800,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 09:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500359680001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:13:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500359680001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":158696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:13:06] local.INFO: GPS data processed {"connection_id":158696,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:13:06] local.INFO: Acknowledgment sent {"connection_id":158696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:13:14] local.INFO: TCP Data received {"connection_id":159983,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159983,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:13:14] local.INFO: Processing buffer {"connection_id":159983,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:13:14] local.INFO: IMEI packet received {"connection_id":159983,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":159983,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:13:17] local.INFO: TCP Data received {"connection_id":159983,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159983,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:13:17] local.INFO: Processing buffer {"connection_id":159983,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:13:17] local.INFO: IMEI packet received {"connection_id":159983,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":159983,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:13:17] local.INFO: TCP Data received {"connection_id":159983,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0181cd978012d0a734007060500001100901f..."} 
[2026-08-19 09:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181cd978012d0a734007060500001100901f..."} 
[2026-08-19 09:13:17] local.INFO: Processing buffer {"connection_id":159983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181cd978012d0a734007060500001100901f..."} 
[2026-08-19 09:13:17] local.INFO: Packet analysis {"connection_id":159983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181c"} 
[2026-08-19 09:13:17] local.INFO: Extracted packet for processing {"connection_id":159983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181c"} 
[2026-08-19 09:13:17] local.INFO: GPS Element Parsed {"raw_longitude":755659584,"raw_latitude":117835008,"longitude_deg":75.5659584,"latitude_deg":11.7835008,"altitude":17,"angle":144,"satellites":31,"speed":2,"hex_longitude":"2d0a7340","hex_latitude":"07060500","is_valid_coordinates":true} 
[2026-08-19 09:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500399616001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28759852633292800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752875224122628096,"note":"Value kept but may cause issues"} 
[2026-08-19 09:13:17] 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-08-19 09:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787110939000,"timestamp_ms":1787110939000,"timestamp_seconds":1787110939,"priority":1,"record_length":96,"hex_timestamp":"000001a0181cd978"} 
[2026-08-19 09:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:13:17] 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-08-19 09:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 09:13:17] 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-08-19 09:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159983,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159983,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500399616001,"66":14276,"153":206,"94":10240,"24":2,"16":28759852633292800,"45":752875224122628096},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-19 09:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500399616001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:13:17] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 09:13:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28759852633292800,"km_value":28759852633292.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":752875224122628096,"description":"Unknown IO ID 45"} 
[2026-08-19 09:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500399616001,"power":14276,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":752875224122628096}} 
[2026-08-19 09:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":159983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663729,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:13:17] local.INFO: GPS data processed {"connection_id":159983,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:13:17] local.INFO: Acknowledgment sent {"connection_id":159983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:13:20] local.INFO: TCP Data received {"connection_id":157438,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:13:20] local.INFO: Processing buffer {"connection_id":157438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:13:20] local.INFO: IMEI packet received {"connection_id":157438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":157438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:13:25] local.INFO: TCP Data received {"connection_id":157438,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:13:25] local.INFO: Processing buffer {"connection_id":157438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:13:25] local.INFO: IMEI packet received {"connection_id":157438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":157438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:13:26] local.INFO: TCP Data received {"connection_id":157438,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181d6618012d7c470005ec36d0000b00582b..."} 
[2026-08-19 09:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181d6618012d7c470005ec36d0000b00582b..."} 
[2026-08-19 09:13:26] local.INFO: Processing buffer {"connection_id":157438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181d6618012d7c470005ec36d0000b00582b..."} 
[2026-08-19 09:13:26] local.INFO: Packet analysis {"connection_id":157438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181d"} 
[2026-08-19 09:13:26] local.INFO: Extracted packet for processing {"connection_id":157438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181d"} 
[2026-08-19 09:13:26] local.INFO: GPS Element Parsed {"raw_longitude":763119360,"raw_latitude":99366608,"longitude_deg":76.311936,"latitude_deg":9.9366608,"altitude":11,"angle":88,"satellites":43,"speed":35,"hex_longitude":"2d7c4700","hex_latitude":"05ec36d0","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500406784001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120697621923758080,"note":"Value kept but may cause issues"} 
[2026-08-19 09:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945204416558247936,"note":"Value kept but may cause issues"} 
[2026-08-19 09:13: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-08-19 09:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787110975000,"timestamp_ms":1787110975000,"timestamp_seconds":1787110975,"priority":1,"record_length":96,"hex_timestamp":"000001a0181d6618"} 
[2026-08-19 09:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:13:26] 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-08-19 09:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-19 09:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:13:26] 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-08-19 09:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500406784001,"66":13254,"198":206,"87":13824,"24":35,"16":120697621923758080,"45":8945204416558247936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-19 09:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500406784001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:13:26] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-19 09:13:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120697621923758080,"km_value":120697621923758.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945204416558247936,"description":"Unknown IO ID 45"} 
[2026-08-19 09:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500406784001,"power":13254,"unknown_198":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8945204416558247936}} 
[2026-08-19 09:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":157438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:13:26] local.INFO: GPS data processed {"connection_id":157438,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:13:26] local.INFO: Acknowledgment sent {"connection_id":157438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:13:38] local.INFO: TCP Data received {"connection_id":158696,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:13:38] local.INFO: Processing buffer {"connection_id":158696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:13:38] local.INFO: Packet analysis {"connection_id":158696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:13:38] local.INFO: Extracted packet for processing {"connection_id":158696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821336,"longitude_deg":75.8433664,"latitude_deg":11.1821336,"altitude":18,"angle":285,"satellites":29,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4218","is_valid_coordinates":true} 
[2026-08-19 09:13:38] 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-08-19 09:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500359680001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787110783000,"timestamp_ms":1787110783000,"timestamp_seconds":1787110783,"priority":1,"record_length":96,"hex_timestamp":"000001a0181a7818"} 
[2026-08-19 09:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 09:13:38] 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-08-19 09: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-08-19 09:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500359680001,"66":27800,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 09:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500359680001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:13:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500359680001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":158696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:13:38] local.INFO: GPS data processed {"connection_id":158696,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:13:38] local.INFO: Acknowledgment sent {"connection_id":158696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:13:49] local.INFO: TCP Data received {"connection_id":159983,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0181e0258012d0a82c00705a908001200b520..."} 
[2026-08-19 09:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181e0258012d0a82c00705a908001200b520..."} 
[2026-08-19 09:13:49] local.INFO: Processing buffer {"connection_id":159983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181e0258012d0a82c00705a908001200b520..."} 
[2026-08-19 09:13:49] local.INFO: Packet analysis {"connection_id":159983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181e"} 
[2026-08-19 09:13:49] local.INFO: Extracted packet for processing {"connection_id":159983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181e"} 
[2026-08-19 09:13:49] local.INFO: GPS Element Parsed {"raw_longitude":755663552,"raw_latitude":117811464,"longitude_deg":75.5663552,"latitude_deg":11.7811464,"altitude":18,"angle":181,"satellites":32,"speed":10,"hex_longitude":"2d0a82c0","hex_latitude":"0705a908","is_valid_coordinates":true} 
[2026-08-19 09:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500417536001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28761063814070272,"note":"Value kept but may cause issues"} 
[2026-08-19 09:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":755760342628601856,"note":"Value kept but may cause issues"} 
[2026-08-19 09:13:49] 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-08-19 09:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787111015000,"timestamp_ms":1787111015000,"timestamp_seconds":1787111015,"priority":1,"record_length":96,"hex_timestamp":"000001a0181e0258"} 
[2026-08-19 09:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 09:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":159983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":159983,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":159983,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:13:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500417536001,"66":14407,"153":206,"94":10240,"24":10,"16":28761063814070272,"45":755760342628601856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-19 09:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500417536001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:13:49] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 09:13:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28761063814070272,"km_value":28761063814070.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":755760342628601856,"description":"Unknown IO ID 45"} 
[2026-08-19 09:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500417536001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":755760342628601856}} 
[2026-08-19 09:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":159983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663732,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:13:49] local.INFO: GPS data processed {"connection_id":159983,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:13:49] local.INFO: Acknowledgment sent {"connection_id":159983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:13:57] local.INFO: TCP Data received {"connection_id":157438,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181d8940012d7c6a4005ec37c0000a00572b..."} 
[2026-08-19 09:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181d8940012d7c6a4005ec37c0000a00572b..."} 
[2026-08-19 09:13:57] local.INFO: Processing buffer {"connection_id":157438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181d8940012d7c6a4005ec37c0000a00572b..."} 
[2026-08-19 09:13:57] local.INFO: Packet analysis {"connection_id":157438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181d"} 
[2026-08-19 09:13:57] local.INFO: Extracted packet for processing {"connection_id":157438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181d"} 
[2026-08-19 09:13:57] local.INFO: GPS Element Parsed {"raw_longitude":763128384,"raw_latitude":99366848,"longitude_deg":76.3128384,"latitude_deg":9.9366848,"altitude":10,"angle":87,"satellites":43,"speed":40,"hex_longitude":"2d7c6a40","hex_latitude":"05ec37c0","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500409600001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120698051420487680,"note":"Value kept but may cause issues"} 
[2026-08-19 09:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955126409487372288,"note":"Value kept but may cause issues"} 
[2026-08-19 09:13:57] 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-08-19 09:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787110984000,"timestamp_ms":1787110984000,"timestamp_seconds":1787110984,"priority":1,"record_length":96,"hex_timestamp":"000001a0181d8940"} 
[2026-08-19 09:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:13:57] 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-08-19 09: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-19 09:13:57] 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-08-19 09: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-08-19 09:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:13:57] 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-08-19 09:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500409600001,"66":13222,"198":206,"87":13824,"24":40,"16":120698051420487680,"45":8955126409487372288},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-19 09:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500409600001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:13:57] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-19 09:13:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120698051420487680,"km_value":120698051420487.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955126409487372288,"description":"Unknown IO ID 45"} 
[2026-08-19 09:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500409600001,"power":13222,"unknown_198":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8955126409487372288}} 
[2026-08-19 09:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":157438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:13:57] local.INFO: GPS data processed {"connection_id":157438,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:13:57] local.INFO: Acknowledgment sent {"connection_id":157438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:14:00] local.INFO: TCP Data received {"connection_id":157810,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:14:00] local.INFO: Processing buffer {"connection_id":157810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:14:00] local.INFO: IMEI packet received {"connection_id":157810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":157810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:14:05] local.INFO: TCP Data received {"connection_id":157810,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:14:05] local.INFO: Processing buffer {"connection_id":157810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:14:05] local.INFO: IMEI packet received {"connection_id":157810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":157810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:14:07] local.INFO: TCP Data received {"connection_id":157810,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:14:07] local.INFO: Processing buffer {"connection_id":157810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:14:07] local.INFO: Packet analysis {"connection_id":157810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:14:07] local.INFO: Extracted packet for processing {"connection_id":157810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821336,"longitude_deg":75.8433664,"latitude_deg":11.1821336,"altitude":18,"angle":285,"satellites":29,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4218","is_valid_coordinates":true} 
[2026-08-19 09:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500359680001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787110783000,"timestamp_ms":1787110783000,"timestamp_seconds":1787110783,"priority":1,"record_length":96,"hex_timestamp":"000001a0181a7818"} 
[2026-08-19 09:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 09:14:07] 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-08-19 09:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:14:07] 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-08-19 09:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500359680001,"66":27800,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 09:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500359680001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:14:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:14:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500359680001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":157810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:14:07] local.INFO: GPS data processed {"connection_id":157810,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:14:07] local.INFO: Acknowledgment sent {"connection_id":157810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:14:19] local.INFO: TCP Data received {"connection_id":157811,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157811,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:14:19] local.INFO: Processing buffer {"connection_id":157811,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:14:19] local.INFO: IMEI packet received {"connection_id":157811,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":157811,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:14:20] local.INFO: TCP Data received {"connection_id":159984,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:14:20] local.INFO: Processing buffer {"connection_id":159984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:14:20] local.INFO: IMEI packet received {"connection_id":159984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":159984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:14:25] local.INFO: TCP Data received {"connection_id":157811,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157811,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:14:25] local.INFO: Processing buffer {"connection_id":157811,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:14:25] local.INFO: IMEI packet received {"connection_id":157811,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":157811,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:14:25] local.INFO: TCP Data received {"connection_id":159984,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:14:25] local.INFO: Processing buffer {"connection_id":159984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:14:25] local.INFO: IMEI packet received {"connection_id":159984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":159984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:14:26] local.INFO: TCP Data received {"connection_id":157811,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0181e0640012d0a82400705a800001200ce20..."} 
[2026-08-19 09:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181e0640012d0a82400705a800001200ce20..."} 
[2026-08-19 09:14:26] local.INFO: Processing buffer {"connection_id":157811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181e0640012d0a82400705a800001200ce20..."} 
[2026-08-19 09:14:26] local.INFO: Packet analysis {"connection_id":157811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181e"} 
[2026-08-19 09:14:26] local.INFO: Extracted packet for processing {"connection_id":157811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181e"} 
[2026-08-19 09:14:26] local.INFO: GPS Element Parsed {"raw_longitude":755663424,"raw_latitude":117811200,"longitude_deg":75.5663424,"latitude_deg":11.78112,"altitude":18,"angle":206,"satellites":32,"speed":10,"hex_longitude":"2d0a8240","hex_latitude":"0705a800","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500419840001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28761076698972160,"note":"Value kept but may cause issues"} 
[2026-08-19 09:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757378823743932416,"note":"Value kept but may cause issues"} 
[2026-08-19 09:14:26] 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-08-19 09:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787111016000,"timestamp_ms":1787111016000,"timestamp_seconds":1787111016,"priority":1,"record_length":96,"hex_timestamp":"000001a0181e0640"} 
[2026-08-19 09:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 09:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500419840001,"66":14298,"153":206,"94":10240,"24":10,"16":28761076698972160,"45":757378823743932416},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-19 09:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500419840001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:14:26] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 09:14:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28761076698972160,"km_value":28761076698972.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":757378823743932416,"description":"Unknown IO ID 45"} 
[2026-08-19 09:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500419840001,"power":14298,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":757378823743932416}} 
[2026-08-19 09:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":157811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663735,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:14:26] local.INFO: GPS data processed {"connection_id":157811,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:14:26] local.INFO: Acknowledgment sent {"connection_id":157811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:14:31] local.INFO: TCP Data received {"connection_id":159984,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181db050012d7c8f8005ec38c0000800592a..."} 
[2026-08-19 09:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181db050012d7c8f8005ec38c0000800592a..."} 
[2026-08-19 09:14:31] local.INFO: Processing buffer {"connection_id":159984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181db050012d7c8f8005ec38c0000800592a..."} 
[2026-08-19 09:14:31] local.INFO: Packet analysis {"connection_id":159984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181d"} 
[2026-08-19 09:14:31] local.INFO: Extracted packet for processing {"connection_id":159984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181d"} 
[2026-08-19 09:14:31] local.INFO: GPS Element Parsed {"raw_longitude":763137920,"raw_latitude":99367104,"longitude_deg":76.313792,"latitude_deg":9.9367104,"altitude":8,"angle":89,"satellites":42,"speed":34,"hex_longitude":"2d7c8f80","hex_latitude":"05ec38c0","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500411904001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120698506687021056,"note":"Value kept but may cause issues"} 
[2026-08-19 09:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965048402416484352,"note":"Value kept but may cause issues"} 
[2026-08-19 09:14: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-08-19 09:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787110994000,"timestamp_ms":1787110994000,"timestamp_seconds":1787110994,"priority":1,"record_length":96,"hex_timestamp":"000001a0181db050"} 
[2026-08-19 09:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:14: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-08-19 09:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 09:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:14:31] 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-08-19 09:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500411904001,"66":13015,"198":206,"87":13824,"24":34,"16":120698506687021056,"45":8965048402416484352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-19 09:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500411904001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:14:31] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-19 09:14:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120698506687021056,"km_value":120698506687021.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965048402416484352,"description":"Unknown IO ID 45"} 
[2026-08-19 09:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500411904001,"power":13015,"unknown_198":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8965048402416484352}} 
[2026-08-19 09:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":159984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:14:31] local.INFO: GPS data processed {"connection_id":159984,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:14:31] local.INFO: Acknowledgment sent {"connection_id":159984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:14:37] local.INFO: TCP Data received {"connection_id":157810,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:14:37] local.INFO: Processing buffer {"connection_id":157810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:14:37] local.INFO: Packet analysis {"connection_id":157810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:14:37] local.INFO: Extracted packet for processing {"connection_id":157810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821336,"longitude_deg":75.8433664,"latitude_deg":11.1821336,"altitude":18,"angle":285,"satellites":29,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4218","is_valid_coordinates":true} 
[2026-08-19 09:14: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-08-19 09:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500359680001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787110783000,"timestamp_ms":1787110783000,"timestamp_seconds":1787110783,"priority":1,"record_length":96,"hex_timestamp":"000001a0181a7818"} 
[2026-08-19 09:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 09:14:37] 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-08-19 09:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500359680001,"66":27800,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 09:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500359680001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500359680001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":157810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:14:37] local.INFO: GPS data processed {"connection_id":157810,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:14:37] local.INFO: Acknowledgment sent {"connection_id":157810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:14:57] local.INFO: TCP Data received {"connection_id":157811,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0181e0a28012d0a81800705a700001200db1f..."} 
[2026-08-19 09:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181e0a28012d0a81800705a700001200db1f..."} 
[2026-08-19 09:14:57] local.INFO: Processing buffer {"connection_id":157811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181e0a28012d0a81800705a700001200db1f..."} 
[2026-08-19 09:14:57] local.INFO: Packet analysis {"connection_id":157811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181e"} 
[2026-08-19 09:14:57] local.INFO: Extracted packet for processing {"connection_id":157811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181e"} 
[2026-08-19 09:14:57] local.INFO: GPS Element Parsed {"raw_longitude":755663232,"raw_latitude":117810944,"longitude_deg":75.5663232,"latitude_deg":11.7810944,"altitude":18,"angle":219,"satellites":31,"speed":13,"hex_longitude":"2d0a8180","hex_latitude":"0705a700","is_valid_coordinates":true} 
[2026-08-19 09:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500420096001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28761093878841344,"note":"Value kept but may cause issues"} 
[2026-08-19 09:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757238086255509504,"note":"Value kept but may cause issues"} 
[2026-08-19 09:14:57] 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-08-19 09:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787111017000,"timestamp_ms":1787111017000,"timestamp_seconds":1787111017,"priority":1,"record_length":96,"hex_timestamp":"000001a0181e0a28"} 
[2026-08-19 09:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-19 09:14:57] 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-08-19 09:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500420096001,"66":14298,"153":206,"94":10240,"24":13,"16":28761093878841344,"45":757238086255509504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-19 09:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500420096001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:14:57] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 09:14:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28761093878841344,"km_value":28761093878841.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":757238086255509504,"description":"Unknown IO ID 45"} 
[2026-08-19 09:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500420096001,"power":14298,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":757238086255509504}} 
[2026-08-19 09:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":157811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663738,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:14:57] local.INFO: GPS data processed {"connection_id":157811,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:14:57] local.INFO: Acknowledgment sent {"connection_id":157811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:15:04] local.INFO: TCP Data received {"connection_id":159984,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181f1f80012d7d3a8005ec3bd8000900c428..."} 
[2026-08-19 09:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181f1f80012d7d3a8005ec3bd8000900c428..."} 
[2026-08-19 09:15:04] local.INFO: Processing buffer {"connection_id":159984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181f1f80012d7d3a8005ec3bd8000900c428..."} 
[2026-08-19 09:15:04] local.INFO: Packet analysis {"connection_id":159984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:15:04] local.INFO: Extracted packet for processing {"connection_id":159984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763181696,"raw_latitude":99367896,"longitude_deg":76.3181696,"latitude_deg":9.9367896,"altitude":9,"angle":196,"satellites":40,"speed":9,"hex_longitude":"2d7d3a80","hex_latitude":"05ec3bd8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500438272001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120700624105897984,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023665566316806144,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15: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-08-19 09:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787111088000,"timestamp_ms":1787111088000,"timestamp_seconds":1787111088,"priority":1,"record_length":96,"hex_timestamp":"000001a0181f1f80"} 
[2026-08-19 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-08-19 09:15: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-08-19 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 09:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 09:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:15:04] 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-08-19 09:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500438272001,"66":13222,"110":206,"87":13824,"24":9,"16":120700624105897984,"45":9023665566316806144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 09:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500438272001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:15:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 09:15:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120700624105897984,"km_value":120700624105897.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023665566316806144,"description":"Unknown IO ID 45"} 
[2026-08-19 09:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500438272001,"power":13222,"unknown_110":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9023665566316806144}} 
[2026-08-19 09:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":159984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:15:04] local.INFO: GPS data processed {"connection_id":159984,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:15:04] local.INFO: Acknowledgment sent {"connection_id":159984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:15:05] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:15:05] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:15:05] local.INFO: IMEI packet received {"connection_id":159985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":159985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:15:09] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:15:09] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:15:09] local.INFO: IMEI packet received {"connection_id":159985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":159985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:15:10] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:15:10] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:15:10] local.INFO: Packet analysis {"connection_id":159985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:15:10] local.INFO: Extracted packet for processing {"connection_id":159985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821336,"longitude_deg":75.8433664,"latitude_deg":11.1821336,"altitude":18,"angle":285,"satellites":29,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4218","is_valid_coordinates":true} 
[2026-08-19 09:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500359680001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787110783000,"timestamp_ms":1787110783000,"timestamp_seconds":1787110783,"priority":1,"record_length":96,"hex_timestamp":"000001a0181a7818"} 
[2026-08-19 09:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:15: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-08-19 09:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 09:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500359680001,"66":27800,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 09:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500359680001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:15:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500359680001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":159985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:15:10] local.INFO: GPS data processed {"connection_id":159985,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:15:10] local.INFO: Acknowledgment sent {"connection_id":159985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:15:15] local.INFO: TCP Data received {"connection_id":157439,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157439,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:15:15] local.INFO: Processing buffer {"connection_id":157439,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:15:15] local.INFO: IMEI packet received {"connection_id":157439,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":157439,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:15:15] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:15:15] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181a7818012d34c78006aa42180012011d1d..."} 
[2026-08-19 09:15:15] local.INFO: Packet analysis {"connection_id":159985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:15:15] local.INFO: Extracted packet for processing {"connection_id":159985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181a"} 
[2026-08-19 09:15:15] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111821336,"longitude_deg":75.8433664,"latitude_deg":11.1821336,"altitude":18,"angle":285,"satellites":29,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4218","is_valid_coordinates":true} 
[2026-08-19 09:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500359680001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787110783000,"timestamp_ms":1787110783000,"timestamp_seconds":1787110783,"priority":1,"record_length":96,"hex_timestamp":"000001a0181a7818"} 
[2026-08-19 09:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:15: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-08-19 09:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 09:15:15] 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-08-19 09:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":159985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":159985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500359680001,"66":27800,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 09:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500359680001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:15:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:15:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500359680001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":159985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:15:15] local.INFO: GPS data processed {"connection_id":159985,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:15:15] local.INFO: Acknowledgment sent {"connection_id":159985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:15:19] local.INFO: TCP Data received {"connection_id":157439,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157439,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:15:19] local.INFO: Processing buffer {"connection_id":157439,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:15:19] local.INFO: IMEI packet received {"connection_id":157439,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":157439,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:15:20] local.INFO: TCP Data received {"connection_id":157439,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0181e4c90012d0a6b8007058b60001100e020..."} 
[2026-08-19 09:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181e4c90012d0a6b8007058b60001100e020..."} 
[2026-08-19 09:15:20] local.INFO: Processing buffer {"connection_id":157439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181e4c90012d0a6b8007058b60001100e020..."} 
[2026-08-19 09:15:20] local.INFO: Packet analysis {"connection_id":157439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181e"} 
[2026-08-19 09:15:20] local.INFO: Extracted packet for processing {"connection_id":157439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181e"} 
[2026-08-19 09:15:20] local.INFO: GPS Element Parsed {"raw_longitude":755657600,"raw_latitude":117803872,"longitude_deg":75.56576,"latitude_deg":11.7803872,"altitude":17,"angle":224,"satellites":32,"speed":11,"hex_longitude":"2d0a6b80","hex_latitude":"07058b60","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500420352001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28761531965505536,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757026980022910976,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787111034000,"timestamp_ms":1787111034000,"timestamp_seconds":1787111034,"priority":1,"record_length":96,"hex_timestamp":"000001a0181e4c90"} 
[2026-08-19 09:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:15: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-08-19 09:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-19 09:15: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-08-19 09: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-08-19 09:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157439,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157439,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500420352001,"66":14407,"153":206,"94":10240,"24":11,"16":28761531965505536,"45":757026980022910976},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-19 09:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500420352001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:15:20] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 09:15:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28761531965505536,"km_value":28761531965505.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":757026980022910976,"description":"Unknown IO ID 45"} 
[2026-08-19 09:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500420352001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":757026980022910976}} 
[2026-08-19 09:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":157439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663742,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:15:20] local.INFO: GPS data processed {"connection_id":157439,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:15:20] local.INFO: Acknowledgment sent {"connection_id":157439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:15:21] local.INFO: TCP Data received {"connection_id":157440,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:15:21] local.INFO: Processing buffer {"connection_id":157440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:15:21] local.INFO: IMEI packet received {"connection_id":157440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":157440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:15:21] local.INFO: TCP Data received {"connection_id":157440,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:15:21] local.INFO: Processing buffer {"connection_id":157440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:15:21] local.INFO: IMEI packet received {"connection_id":157440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":157440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:15:25] local.INFO: TCP Data received {"connection_id":157440,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157440,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:15:25] local.INFO: Processing buffer {"connection_id":157440,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:15:25] local.INFO: IMEI packet received {"connection_id":157440,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":157440,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:15:26] local.INFO: TCP Data received {"connection_id":157440,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181f2750012d7d39c005ec39c8000900d228..."} 
[2026-08-19 09:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181f2750012d7d39c005ec39c8000900d228..."} 
[2026-08-19 09:15:26] local.INFO: Processing buffer {"connection_id":157440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181f2750012d7d39c005ec39c8000900d228..."} 
[2026-08-19 09:15:26] local.INFO: Packet analysis {"connection_id":157440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:15:26] local.INFO: Extracted packet for processing {"connection_id":157440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:15:26] local.INFO: GPS Element Parsed {"raw_longitude":763181504,"raw_latitude":99367368,"longitude_deg":76.3181504,"latitude_deg":9.9367368,"altitude":9,"angle":210,"satellites":40,"speed":11,"hex_longitude":"2d7d39c0","hex_latitude":"05ec39c8","is_valid_coordinates":true} 
[2026-08-19 09:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500438528001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120700654170669056,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023665566316746752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:26] 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-08-19 09:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787111090000,"timestamp_ms":1787111090000,"timestamp_seconds":1787111090,"priority":1,"record_length":96,"hex_timestamp":"000001a0181f2750"} 
[2026-08-19 09:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:15: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-08-19 09:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 09:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:15:26] 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-08-19 09:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500438528001,"66":13276,"110":206,"87":13824,"24":11,"16":120700654170669056,"45":9023665566316746752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 09:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500438528001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:15:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 09:15:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120700654170669056,"km_value":120700654170669.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023665566316746752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500438528001,"power":13276,"unknown_110":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9023665566316746752}} 
[2026-08-19 09:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":157440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:15:26] local.INFO: GPS data processed {"connection_id":157440,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:15:26] local.INFO: Acknowledgment sent {"connection_id":157440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:15:52] local.INFO: TCP Data received {"connection_id":157439,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0181fc390012d0a4840070588f0000d01221e..."} 
[2026-08-19 09:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181fc390012d0a4840070588f0000d01221e..."} 
[2026-08-19 09:15:52] local.INFO: Processing buffer {"connection_id":157439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181fc390012d0a4840070588f0000d01221e..."} 
[2026-08-19 09:15:52] local.INFO: Packet analysis {"connection_id":157439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:15:52] local.INFO: Extracted packet for processing {"connection_id":157439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:15:52] local.INFO: GPS Element Parsed {"raw_longitude":755648576,"raw_latitude":117803248,"longitude_deg":75.5648576,"latitude_deg":11.7803248,"altitude":13,"angle":290,"satellites":30,"speed":10,"hex_longitude":"2d0a4840","hex_latitude":"070588f0","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500449024001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28762171915632640,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741194012580931584,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787111130000,"timestamp_ms":1787111130000,"timestamp_seconds":1787111130,"priority":1,"record_length":96,"hex_timestamp":"000001a0181fc390"} 
[2026-08-19 09:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:15:52] 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-08-19 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 09:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":157439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":157439,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":157439,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500449024001,"66":14407,"177":206,"94":10240,"24":10,"16":28762171915632640,"45":741194012580931584},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-19 09:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500449024001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:15:52] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 09:15:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28762171915632640,"km_value":28762171915632.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":741194012580931584,"description":"Unknown IO ID 45"} 
[2026-08-19 09:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500449024001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":741194012580931584}} 
[2026-08-19 09:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":157439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663744,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:15:52] local.INFO: GPS data processed {"connection_id":157439,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:15:52] local.INFO: Acknowledgment sent {"connection_id":157439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:15:58] local.INFO: TCP Data received {"connection_id":157440,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181f2b38012d7d398005ec38d0000900de27..."} 
[2026-08-19 09:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181f2b38012d7d398005ec38d0000900de27..."} 
[2026-08-19 09:15:58] local.INFO: Processing buffer {"connection_id":157440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181f2b38012d7d398005ec38d0000900de27..."} 
[2026-08-19 09:15:58] local.INFO: Packet analysis {"connection_id":157440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:15:58] local.INFO: Extracted packet for processing {"connection_id":157440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:15:58] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99367120,"longitude_deg":76.318144,"latitude_deg":9.936712,"altitude":9,"angle":222,"satellites":39,"speed":12,"hex_longitude":"2d7d3980","hex_latitude":"05ec38d0","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500439040001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120700667055570944,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023454460084078592,"note":"Value kept but may cause issues"} 
[2026-08-19 09:15:58] 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-08-19 09:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787111091000,"timestamp_ms":1787111091000,"timestamp_seconds":1787111091,"priority":1,"record_length":96,"hex_timestamp":"000001a0181f2b38"} 
[2026-08-19 09:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:15: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-08-19 09: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-19 09:15:58] 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-08-19 09: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-08-19 09:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157440,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:15:58] 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-08-19 09:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500439040001,"66":13276,"110":206,"87":13824,"24":12,"16":120700667055570944,"45":9023454460084078592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 09:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500439040001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:15:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 09:15:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120700667055570944,"km_value":120700667055570.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023454460084078592,"description":"Unknown IO ID 45"} 
[2026-08-19 09:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500439040001,"power":13276,"unknown_110":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9023454460084078592}} 
[2026-08-19 09:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":157440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:15:58] local.INFO: GPS data processed {"connection_id":157440,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:15:58] local.INFO: Acknowledgment sent {"connection_id":157440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:16:00] local.INFO: TCP Data received {"connection_id":158697,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:16:00] local.INFO: Processing buffer {"connection_id":158697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:16:00] local.INFO: IMEI packet received {"connection_id":158697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":158697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:16:05] local.INFO: TCP Data received {"connection_id":158697,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:16:05] local.INFO: Processing buffer {"connection_id":158697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:16:05] local.INFO: IMEI packet received {"connection_id":158697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":158697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:16:06] local.INFO: TCP Data received {"connection_id":158697,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:16:06] local.INFO: Processing buffer {"connection_id":158697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:16:06] local.INFO: Packet analysis {"connection_id":158697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:16:06] local.INFO: Extracted packet for processing {"connection_id":158697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:16:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787111088000,"timestamp_ms":1787111088000,"timestamp_seconds":1787111088,"priority":1,"record_length":96,"hex_timestamp":"000001a0181f1f80"} 
[2026-08-19 09:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 09:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500360448001,"66":26006,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"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-08-19 09:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:16:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:16:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500360448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":158697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:16:06] local.INFO: GPS data processed {"connection_id":158697,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:16:06] local.INFO: Acknowledgment sent {"connection_id":158697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:16:13] local.INFO: TCP Data received {"connection_id":157812,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157812,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:16:13] local.INFO: Processing buffer {"connection_id":157812,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:16:13] local.INFO: IMEI packet received {"connection_id":157812,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":157812,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:16:14] local.INFO: TCP Data received {"connection_id":157812,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157812,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:16:14] local.INFO: Processing buffer {"connection_id":157812,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:16:14] local.INFO: IMEI packet received {"connection_id":157812,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":157812,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:16:19] local.INFO: TCP Data received {"connection_id":157812,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157812,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:16:19] local.INFO: Processing buffer {"connection_id":157812,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:16:19] local.INFO: IMEI packet received {"connection_id":157812,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":157812,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:16:20] local.INFO: TCP Data received {"connection_id":157812,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0181fc778012d0a4700070588f8000d01101e..."} 
[2026-08-19 09:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181fc778012d0a4700070588f8000d01101e..."} 
[2026-08-19 09:16:20] local.INFO: Processing buffer {"connection_id":157812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181fc778012d0a4700070588f8000d01101e..."} 
[2026-08-19 09:16:20] local.INFO: Packet analysis {"connection_id":157812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:16:20] local.INFO: Extracted packet for processing {"connection_id":157812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:16:20] local.INFO: GPS Element Parsed {"raw_longitude":755648256,"raw_latitude":117803256,"longitude_deg":75.5648256,"latitude_deg":11.7803256,"altitude":13,"angle":272,"satellites":30,"speed":9,"hex_longitude":"2d0a4700","hex_latitude":"070588f8","is_valid_coordinates":true} 
[2026-08-19 09:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500449280001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28762184800534528,"note":"Value kept but may cause issues"} 
[2026-08-19 09:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740912537604255744,"note":"Value kept but may cause issues"} 
[2026-08-19 09:16: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-08-19 09:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787111131000,"timestamp_ms":1787111131000,"timestamp_seconds":1787111131,"priority":1,"record_length":96,"hex_timestamp":"000001a0181fc778"} 
[2026-08-19 09:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 09:16: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-08-19 09:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500449280001,"66":14428,"177":206,"94":10240,"24":9,"16":28762184800534528,"45":740912537604255744},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-19 09:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500449280001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:16:20] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 09:16:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28762184800534528,"km_value":28762184800534.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":740912537604255744,"description":"Unknown IO ID 45"} 
[2026-08-19 09:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500449280001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":740912537604255744}} 
[2026-08-19 09:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":157812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663747,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:16:20] local.INFO: GPS data processed {"connection_id":157812,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:16:20] local.INFO: Acknowledgment sent {"connection_id":157812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:16:22] local.INFO: TCP Data received {"connection_id":159986,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:16:22] local.INFO: Processing buffer {"connection_id":159986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:16:22] local.INFO: IMEI packet received {"connection_id":159986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":159986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:16:26] local.INFO: TCP Data received {"connection_id":159986,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:16:26] local.INFO: Processing buffer {"connection_id":159986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:16:26] local.INFO: IMEI packet received {"connection_id":159986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":159986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:16:30] local.INFO: TCP Data received {"connection_id":159986,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:16:30] local.INFO: Processing buffer {"connection_id":159986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:16:30] local.INFO: IMEI packet received {"connection_id":159986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":159986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:16:32] local.INFO: TCP Data received {"connection_id":159986,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181f69b8012d7d360005ec33b8000800c427..."} 
[2026-08-19 09:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181f69b8012d7d360005ec33b8000800c427..."} 
[2026-08-19 09:16:32] local.INFO: Processing buffer {"connection_id":159986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181f69b8012d7d360005ec33b8000800c427..."} 
[2026-08-19 09:16:32] local.INFO: Packet analysis {"connection_id":159986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:16:32] local.INFO: Extracted packet for processing {"connection_id":159986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99365816,"longitude_deg":76.3180544,"latitude_deg":9.9365816,"altitude":8,"angle":196,"satellites":39,"speed":2,"hex_longitude":"2d7d3600","hex_latitude":"05ec33b8","is_valid_coordinates":true} 
[2026-08-19 09:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500439296001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120700744364982272,"note":"Value kept but may cause issues"} 
[2026-08-19 09:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091339837440,"note":"Value kept but may cause issues"} 
[2026-08-19 09:16: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-08-19 09:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787111107000,"timestamp_ms":1787111107000,"timestamp_seconds":1787111107,"priority":1,"record_length":96,"hex_timestamp":"000001a0181f69b8"} 
[2026-08-19 09:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-19 09:16:32] 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-08-19 09:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:16:32] 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-08-19 09:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500439296001,"66":13135,"110":206,"87":13824,"24":2,"16":120700744364982272,"45":9023384091339837440},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 09:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500439296001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:16:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 09:16:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120700744364982272,"km_value":120700744364982.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091339837440,"description":"Unknown IO ID 45"} 
[2026-08-19 09:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500439296001,"power":13135,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9023384091339837440}} 
[2026-08-19 09:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":159986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:16:32] local.INFO: GPS data processed {"connection_id":159986,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:16:32] local.INFO: Acknowledgment sent {"connection_id":159986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:16:36] local.INFO: TCP Data received {"connection_id":159986,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181f7570012d7d360005ec32c8000700aa25..."} 
[2026-08-19 09:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181f7570012d7d360005ec32c8000700aa25..."} 
[2026-08-19 09:16:36] local.INFO: Processing buffer {"connection_id":159986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181f7570012d7d360005ec32c8000700aa25..."} 
[2026-08-19 09:16:36] local.INFO: Packet analysis {"connection_id":159986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:16:36] local.INFO: Extracted packet for processing {"connection_id":159986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:16:36] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99365576,"longitude_deg":76.3180544,"latitude_deg":9.9365576,"altitude":7,"angle":170,"satellites":37,"speed":3,"hex_longitude":"2d7d3600","hex_latitude":"05ec32c8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500443392001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120700757249884160,"note":"Value kept but may cause issues"} 
[2026-08-19 09:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928921016320,"note":"Value kept but may cause issues"} 
[2026-08-19 09:16: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-08-19 09:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787111110000,"timestamp_ms":1787111110000,"timestamp_seconds":1787111110,"priority":1,"record_length":96,"hex_timestamp":"000001a0181f7570"} 
[2026-08-19 09:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 09:16:36] 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-08-19 09: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-08-19 09:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:16:36] 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-08-19 09:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500443392001,"66":12961,"110":206,"87":13824,"24":3,"16":120700757249884160,"45":9022398928921016320},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 09:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500443392001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:16:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 09:16:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120700757249884160,"km_value":120700757249884.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928921016320,"description":"Unknown IO ID 45"} 
[2026-08-19 09:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500443392001,"power":12961,"unknown_110":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9022398928921016320}} 
[2026-08-19 09:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":159986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:16:36] local.INFO: GPS data processed {"connection_id":159986,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:16:36] local.INFO: Acknowledgment sent {"connection_id":159986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:16:38] local.INFO: TCP Data received {"connection_id":158697,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:16:38] local.INFO: Processing buffer {"connection_id":158697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:16:38] local.INFO: Packet analysis {"connection_id":158697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:16:38] local.INFO: Extracted packet for processing {"connection_id":158697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787111088000,"timestamp_ms":1787111088000,"timestamp_seconds":1787111088,"priority":1,"record_length":96,"hex_timestamp":"000001a0181f1f80"} 
[2026-08-19 09:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 09:16:38] 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-08-19 09: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-08-19 09:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:16:38] 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-08-19 09:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500360448001,"66":26006,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"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-08-19 09:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:16:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500360448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":158697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:16:38] local.INFO: GPS data processed {"connection_id":158697,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:16:38] local.INFO: Acknowledgment sent {"connection_id":158697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:16:51] local.INFO: TCP Data received {"connection_id":157812,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01820d500012d09e64007056ee80009010320..."} 
[2026-08-19 09:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01820d500012d09e64007056ee80009010320..."} 
[2026-08-19 09:16:51] local.INFO: Processing buffer {"connection_id":157812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01820d500012d09e64007056ee80009010320..."} 
[2026-08-19 09:16:51] local.INFO: Packet analysis {"connection_id":157812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01820"} 
[2026-08-19 09:16:51] local.INFO: Extracted packet for processing {"connection_id":157812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01820"} 
[2026-08-19 09:16:51] local.INFO: GPS Element Parsed {"raw_longitude":755623488,"raw_latitude":117796584,"longitude_deg":75.5623488,"latitude_deg":11.7796584,"altitude":9,"angle":259,"satellites":32,"speed":10,"hex_longitude":"2d09e640","hex_latitude":"07056ee8","is_valid_coordinates":true} 
[2026-08-19 09:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500466944001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28763516240396288,"note":"Value kept but may cause issues"} 
[2026-08-19 09:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":713539096117456896,"note":"Value kept but may cause issues"} 
[2026-08-19 09:16: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-08-19 09:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787111200000,"timestamp_ms":1787111200000,"timestamp_seconds":1787111200,"priority":1,"record_length":96,"hex_timestamp":"000001a01820d500"} 
[2026-08-19 09:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:16: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-08-19 09:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 09:16: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-08-19 09:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500466944001,"66":13493,"177":206,"94":10240,"24":10,"16":28763516240396288,"45":713539096117456896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-19 09:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500466944001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:16:51] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 09:16:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28763516240396288,"km_value":28763516240396.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":713539096117456896,"description":"Unknown IO ID 45"} 
[2026-08-19 09:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500466944001,"power":13493,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":713539096117456896}} 
[2026-08-19 09:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":157812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663751,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:16:52] local.INFO: GPS data processed {"connection_id":157812,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:16:52] local.INFO: Acknowledgment sent {"connection_id":157812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:17:00] local.INFO: TCP Data received {"connection_id":157441,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:17:00] local.INFO: Processing buffer {"connection_id":157441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:17:00] local.INFO: IMEI packet received {"connection_id":157441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":157441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:17:05] local.INFO: TCP Data received {"connection_id":157441,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:17:05] local.INFO: Processing buffer {"connection_id":157441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:17:05] local.INFO: IMEI packet received {"connection_id":157441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":157441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:17:06] local.INFO: TCP Data received {"connection_id":157441,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:17:06] local.INFO: Processing buffer {"connection_id":157441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:17:06] local.INFO: Packet analysis {"connection_id":157441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:17:06] local.INFO: Extracted packet for processing {"connection_id":157441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:17:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787111088000,"timestamp_ms":1787111088000,"timestamp_seconds":1787111088,"priority":1,"record_length":96,"hex_timestamp":"000001a0181f1f80"} 
[2026-08-19 09:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 09:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500360448001,"66":26006,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"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-08-19 09:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:17:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:17:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500360448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":157441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:17:06] local.INFO: GPS data processed {"connection_id":157441,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:17:06] local.INFO: Acknowledgment sent {"connection_id":157441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:17:13] local.INFO: TCP Data received {"connection_id":157442,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157442,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:17:13] local.INFO: Processing buffer {"connection_id":157442,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:17:13] local.INFO: IMEI packet received {"connection_id":157442,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":157442,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:17:14] local.INFO: TCP Data received {"connection_id":157442,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157442,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:17:14] local.INFO: Processing buffer {"connection_id":157442,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:17:14] local.INFO: IMEI packet received {"connection_id":157442,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":157442,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:17:15] local.INFO: TCP Data received {"connection_id":157442,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157442,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:17:15] local.INFO: Processing buffer {"connection_id":157442,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:17:15] local.INFO: IMEI packet received {"connection_id":157442,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":157442,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:17:15] local.INFO: TCP Data received {"connection_id":157442,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157442,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:17:15] local.INFO: Processing buffer {"connection_id":157442,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:17:15] local.INFO: IMEI packet received {"connection_id":157442,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":157442,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:17:17] local.INFO: TCP Data received {"connection_id":158698,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:17:17] local.INFO: Processing buffer {"connection_id":158698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:17:17] local.INFO: IMEI packet received {"connection_id":158698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":158698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:17:18] local.INFO: TCP Data received {"connection_id":158698,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:17:18] local.INFO: Processing buffer {"connection_id":158698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:17:18] local.INFO: IMEI packet received {"connection_id":158698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":158698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:17:20] local.INFO: TCP Data received {"connection_id":158698,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:17:20] local.INFO: Processing buffer {"connection_id":158698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:17:20] local.INFO: IMEI packet received {"connection_id":158698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":158698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:17:25] local.INFO: TCP Data received {"connection_id":158698,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:17:25] local.INFO: Processing buffer {"connection_id":158698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:17:25] local.INFO: IMEI packet received {"connection_id":158698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":158698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:17:26] local.INFO: TCP Data received {"connection_id":158698,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181f7d40012d7d360005ec31d0000700bc25..."} 
[2026-08-19 09:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181f7d40012d7d360005ec31d0000700bc25..."} 
[2026-08-19 09:17:26] local.INFO: Processing buffer {"connection_id":158698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181f7d40012d7d360005ec31d0000700bc25..."} 
[2026-08-19 09:17:26] local.INFO: Packet analysis {"connection_id":158698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:17:26] local.INFO: Extracted packet for processing {"connection_id":158698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:17:26] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99365328,"longitude_deg":76.3180544,"latitude_deg":9.9365328,"altitude":7,"angle":188,"satellites":37,"speed":4,"hex_longitude":"2d7d3600","hex_latitude":"05ec31d0","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500444160001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120700770134786048,"note":"Value kept but may cause issues"} 
[2026-08-19 09:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928920954880,"note":"Value kept but may cause issues"} 
[2026-08-19 09:17:26] 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-08-19 09:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787111112000,"timestamp_ms":1787111112000,"timestamp_seconds":1787111112,"priority":1,"record_length":96,"hex_timestamp":"000001a0181f7d40"} 
[2026-08-19 09:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09: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-08-19 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-19 09:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:17:26] 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-08-19 09:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500444160001,"66":12961,"110":206,"87":13824,"24":4,"16":120700770134786048,"45":9022398928920954880},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 09:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500444160001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:17:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 09:17:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120700770134786048,"km_value":120700770134786.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928920954880,"description":"Unknown IO ID 45"} 
[2026-08-19 09:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500444160001,"power":12961,"unknown_110":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9022398928920954880}} 
[2026-08-19 09:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":158698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:17:26] local.INFO: GPS data processed {"connection_id":158698,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:17:26] local.INFO: Acknowledgment sent {"connection_id":158698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:17:37] local.INFO: TCP Data received {"connection_id":157441,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:17:37] local.INFO: Processing buffer {"connection_id":157441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:17:37] local.INFO: Packet analysis {"connection_id":157441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:17:37] local.INFO: Extracted packet for processing {"connection_id":157441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787111088000,"timestamp_ms":1787111088000,"timestamp_seconds":1787111088,"priority":1,"record_length":96,"hex_timestamp":"000001a0181f1f80"} 
[2026-08-19 09:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 09:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500360448001,"66":26006,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"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-08-19 09:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500360448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":157441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:17:37] local.INFO: GPS data processed {"connection_id":157441,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:17:37] local.INFO: Acknowledgment sent {"connection_id":157441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:17:58] local.INFO: TCP Data received {"connection_id":158698,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0181f88f8012d7d35c005ec30d0000700a924..."} 
[2026-08-19 09:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181f88f8012d7d35c005ec30d0000700a924..."} 
[2026-08-19 09:17:58] local.INFO: Processing buffer {"connection_id":158698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181f88f8012d7d35c005ec30d0000700a924..."} 
[2026-08-19 09:17:58] local.INFO: Packet analysis {"connection_id":158698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:17:58] local.INFO: Extracted packet for processing {"connection_id":158698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99365072,"longitude_deg":76.318048,"latitude_deg":9.9365072,"altitude":7,"angle":169,"satellites":36,"speed":2,"hex_longitude":"2d7d35c0","hex_latitude":"05ec30d0","is_valid_coordinates":true} 
[2026-08-19 09:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500444672001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120700783019687936,"note":"Value kept but may cause issues"} 
[2026-08-19 09:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928920891392,"note":"Value kept but may cause issues"} 
[2026-08-19 09:17:58] 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-08-19 09:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787111115000,"timestamp_ms":1787111115000,"timestamp_seconds":1787111115,"priority":1,"record_length":96,"hex_timestamp":"000001a0181f88f8"} 
[2026-08-19 09:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:17: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-08-19 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-19 09:17:58] 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-08-19 09: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-08-19 09:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":158698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":158698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":158698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:17:58] 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-08-19 09:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500444672001,"66":13048,"110":206,"87":13824,"24":2,"16":120700783019687936,"45":9022398928920891392},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 09:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500444672001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:17:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 09:17:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120700783019687936,"km_value":120700783019687.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928920891392,"description":"Unknown IO ID 45"} 
[2026-08-19 09:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500444672001,"power":13048,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9022398928920891392}} 
[2026-08-19 09:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":158698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:17:58] local.INFO: GPS data processed {"connection_id":158698,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:17:58] local.INFO: Acknowledgment sent {"connection_id":158698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:17:59] local.INFO: TCP Data received {"connection_id":158699,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:17:59] local.INFO: Processing buffer {"connection_id":158699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:17:59] local.INFO: IMEI packet received {"connection_id":158699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":158699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:18:05] local.INFO: TCP Data received {"connection_id":158699,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:18:05] local.INFO: Processing buffer {"connection_id":158699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:18:05] local.INFO: IMEI packet received {"connection_id":158699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":158699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:18:06] local.INFO: TCP Data received {"connection_id":158699,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:18:06] local.INFO: Processing buffer {"connection_id":158699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:18:06] local.INFO: Packet analysis {"connection_id":158699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:18:06] local.INFO: Extracted packet for processing {"connection_id":158699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:18:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787111088000,"timestamp_ms":1787111088000,"timestamp_seconds":1787111088,"priority":1,"record_length":96,"hex_timestamp":"000001a0181f1f80"} 
[2026-08-19 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-08-19 09:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 09:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 09:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500360448001,"66":26006,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"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-08-19 09:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:18:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:18:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500360448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":158699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:18:06] local.INFO: GPS data processed {"connection_id":158699,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:18:06] local.INFO: Acknowledgment sent {"connection_id":158699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:18:21] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:18:21] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:18:21] local.INFO: IMEI packet received {"connection_id":159988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":159988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:18:21] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:18:21] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:18:21] local.INFO: IMEI packet received {"connection_id":159988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":159988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:18:25] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:18:25] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:18:25] local.INFO: IMEI packet received {"connection_id":159988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":159988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:18:27] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01821b790012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01821b790012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:18:27] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01821b790012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:18:27] local.INFO: Packet analysis {"connection_id":159988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01821"} 
[2026-08-19 09:18:27] local.INFO: Extracted packet for processing {"connection_id":159988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01821"} 
[2026-08-19 09:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355888,"longitude_deg":76.318016,"latitude_deg":9.9355888,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-08-19 09:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500476672001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453472256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:18:27] 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-08-19 09:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787111258000,"timestamp_ms":1787111258000,"timestamp_seconds":1787111258,"priority":1,"record_length":96,"hex_timestamp":"000001a01821b790"} 
[2026-08-19 09:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:18: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-08-19 09:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 09:18:27] 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-08-19 09:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:18:27] 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-08-19 09:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500476672001,"66":12841,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453472256},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500476672001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:18:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:18:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453472256,"description":"Unknown IO ID 45"} 
[2026-08-19 09:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500476672001,"power":12841,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453472256}} 
[2026-08-19 09:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":159988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:18:27] local.INFO: GPS data processed {"connection_id":159988,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:18:27] local.INFO: Acknowledgment sent {"connection_id":159988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:18:31] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a018220998012d7d348005ec0cf0000000b318..."} 
[2026-08-19 09:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018220998012d7d348005ec0cf0000000b318..."} 
[2026-08-19 09:18:31] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018220998012d7d348005ec0cf0000000b318..."} 
[2026-08-19 09:18:31] local.INFO: Packet analysis {"connection_id":159988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:18:31] local.INFO: Extracted packet for processing {"connection_id":159988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:18:31] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355888,"longitude_deg":76.318016,"latitude_deg":9.9355888,"altitude":0,"angle":179,"satellites":24,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500482048001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:18: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-08-19 09:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787111279000,"timestamp_ms":1787111279000,"timestamp_seconds":1787111279,"priority":1,"record_length":96,"hex_timestamp":"000001a018220998"} 
[2026-08-19 09:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:18: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-08-19 09:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 09:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:18:31] 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-08-19 09:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500482048001,"66":13015,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500482048001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:18:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:18:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500482048001,"power":13015,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":159988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:18:31] local.INFO: GPS data processed {"connection_id":159988,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:18:31] local.INFO: Acknowledgment sent {"connection_id":159988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:18:37] local.INFO: TCP Data received {"connection_id":158699,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:18:37] local.INFO: Processing buffer {"connection_id":158699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:18:37] local.INFO: Packet analysis {"connection_id":158699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:18:37] local.INFO: Extracted packet for processing {"connection_id":158699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787111088000,"timestamp_ms":1787111088000,"timestamp_seconds":1787111088,"priority":1,"record_length":96,"hex_timestamp":"000001a0181f1f80"} 
[2026-08-19 09:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 09:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:18:37] 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-08-19 09:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500360448001,"66":26006,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"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-08-19 09:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500360448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":158699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:18:37] local.INFO: GPS data processed {"connection_id":158699,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:18:37] local.INFO: Acknowledgment sent {"connection_id":158699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:19:03] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a018225ba0012d7d348005ec0cf0000000b31f..."} 
[2026-08-19 09:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018225ba0012d7d348005ec0cf0000000b31f..."} 
[2026-08-19 09:19:03] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018225ba0012d7d348005ec0cf0000000b31f..."} 
[2026-08-19 09:19:03] local.INFO: Packet analysis {"connection_id":159988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:19:03] local.INFO: Extracted packet for processing {"connection_id":159988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:19:03] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355888,"longitude_deg":76.318016,"latitude_deg":9.9355888,"altitude":0,"angle":179,"satellites":31,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500487424001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787111300000,"timestamp_ms":1787111300000,"timestamp_seconds":1787111300,"priority":1,"record_length":96,"hex_timestamp":"000001a018225ba0"} 
[2026-08-19 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-08-19 09:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 09:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 09:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:19:03] 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-08-19 09:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500487424001,"66":13341,"110":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 09:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500487424001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:19:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 09:19:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500487424001,"power":13341,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":159988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:19:03] local.INFO: GPS data processed {"connection_id":159988,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:19:03] local.INFO: Acknowledgment sent {"connection_id":159988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:19:05] local.INFO: TCP Data received {"connection_id":157813,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:19:05] local.INFO: Processing buffer {"connection_id":157813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:19:05] local.INFO: IMEI packet received {"connection_id":157813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":157813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:19:10] local.INFO: TCP Data received {"connection_id":157813,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:19:10] local.INFO: Processing buffer {"connection_id":157813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:19:10] local.INFO: IMEI packet received {"connection_id":157813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":157813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:19:11] local.INFO: TCP Data received {"connection_id":157813,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:19:11] local.INFO: Processing buffer {"connection_id":157813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:19:11] local.INFO: Packet analysis {"connection_id":157813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:19:11] local.INFO: Extracted packet for processing {"connection_id":157813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:19:11] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787111088000,"timestamp_ms":1787111088000,"timestamp_seconds":1787111088,"priority":1,"record_length":96,"hex_timestamp":"000001a0181f1f80"} 
[2026-08-19 09:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:19:11] 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-08-19 09:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 09:19: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-08-19 09:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500360448001,"66":26006,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"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-08-19 09:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:19:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:19:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500360448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":157813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:19:11] local.INFO: GPS data processed {"connection_id":157813,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:19:11] local.INFO: Acknowledgment sent {"connection_id":157813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:19:15] local.INFO: TCP Data received {"connection_id":157813,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:19:15] local.INFO: Processing buffer {"connection_id":157813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:19:15] local.INFO: Packet analysis {"connection_id":157813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:19:15] local.INFO: Extracted packet for processing {"connection_id":157813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787111088000,"timestamp_ms":1787111088000,"timestamp_seconds":1787111088,"priority":1,"record_length":96,"hex_timestamp":"000001a0181f1f80"} 
[2026-08-19 09:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:19:15] 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-08-19 09:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 09:19:15] 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-08-19 09:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500360448001,"66":26006,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"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-08-19 09:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:19:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500360448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":157813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:19:15] local.INFO: GPS data processed {"connection_id":157813,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:19:15] local.INFO: Acknowledgment sent {"connection_id":157813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:19:20] local.INFO: TCP Data received {"connection_id":159989,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:19:20] local.INFO: Processing buffer {"connection_id":159989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:19:20] local.INFO: IMEI packet received {"connection_id":159989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":159989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:19:25] local.INFO: TCP Data received {"connection_id":159989,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:19:25] local.INFO: Processing buffer {"connection_id":159989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:19:25] local.INFO: IMEI packet received {"connection_id":159989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":159989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:19:26] local.INFO: TCP Data received {"connection_id":159989,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01822ada8012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01822ada8012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:19:26] local.INFO: Processing buffer {"connection_id":159989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01822ada8012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:19:26] local.INFO: Packet analysis {"connection_id":159989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:19:26] local.INFO: Extracted packet for processing {"connection_id":159989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:19:26] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355888,"longitude_deg":76.318016,"latitude_deg":9.9355888,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500492800001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:19:26] 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-08-19 09:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787111321000,"timestamp_ms":1787111321000,"timestamp_seconds":1787111321,"priority":1,"record_length":96,"hex_timestamp":"000001a01822ada8"} 
[2026-08-19 09:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:19: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-08-19 09: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 09:19:26] 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-08-19 09: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-08-19 09:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:19:26] 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-08-19 09:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500492800001,"66":13352,"110":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 09:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500492800001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:19:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 09:19:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500492800001,"power":13352,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":159989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:19:26] local.INFO: GPS data processed {"connection_id":159989,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:19:26] local.INFO: Acknowledgment sent {"connection_id":159989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:19:57] local.INFO: TCP Data received {"connection_id":159989,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01822f7e0012d7d348005ec0cf0000000b31d..."} 
[2026-08-19 09:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01822f7e0012d7d348005ec0cf0000000b31d..."} 
[2026-08-19 09:19:57] local.INFO: Processing buffer {"connection_id":159989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01822f7e0012d7d348005ec0cf0000000b31d..."} 
[2026-08-19 09:19:57] local.INFO: Packet analysis {"connection_id":159989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:19:57] local.INFO: Extracted packet for processing {"connection_id":159989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:19:57] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355888,"longitude_deg":76.318016,"latitude_deg":9.9355888,"altitude":0,"angle":179,"satellites":29,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-08-19 09:19: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-08-19 09:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500498176001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:19:57] 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-08-19 09:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787111340000,"timestamp_ms":1787111340000,"timestamp_seconds":1787111340,"priority":1,"record_length":96,"hex_timestamp":"000001a01822f7e0"} 
[2026-08-19 09:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:19: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-08-19 09: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 09:19:57] 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-08-19 09: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-08-19 09:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:19:57] 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-08-19 09:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500498176001,"66":13580,"110":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 09:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500498176001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:19:57] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 09:19:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500498176001,"power":13580,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":159989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:19:57] local.INFO: GPS data processed {"connection_id":159989,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:19:57] local.INFO: Acknowledgment sent {"connection_id":159989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:20:00] local.INFO: TCP Data received {"connection_id":158700,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:20:00] local.INFO: Processing buffer {"connection_id":158700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:20:00] local.INFO: IMEI packet received {"connection_id":158700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":158700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:20:05] local.INFO: TCP Data received {"connection_id":158700,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:20:05] local.INFO: Processing buffer {"connection_id":158700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:20:05] local.INFO: IMEI packet received {"connection_id":158700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":158700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:20:06] local.INFO: TCP Data received {"connection_id":158700,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:20:06] local.INFO: Processing buffer {"connection_id":158700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:20:06] local.INFO: Packet analysis {"connection_id":158700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:20:06] local.INFO: Extracted packet for processing {"connection_id":158700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:20:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787111088000,"timestamp_ms":1787111088000,"timestamp_seconds":1787111088,"priority":1,"record_length":96,"hex_timestamp":"000001a0181f1f80"} 
[2026-08-19 09:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 09:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500360448001,"66":26006,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"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-08-19 09:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:20:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:20:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500360448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":158700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:20:06] local.INFO: GPS data processed {"connection_id":158700,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:20:06] local.INFO: Acknowledgment sent {"connection_id":158700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:20:10] local.INFO: TCP Data received {"connection_id":158700,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:20:10] local.INFO: Processing buffer {"connection_id":158700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0181f1f80012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:20:10] local.INFO: Packet analysis {"connection_id":158700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:20:10] local.INFO: Extracted packet for processing {"connection_id":158700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0181f"} 
[2026-08-19 09:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452290560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787111088000,"timestamp_ms":1787111088000,"timestamp_seconds":1787111088,"priority":1,"record_length":96,"hex_timestamp":"000001a0181f1f80"} 
[2026-08-19 09:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 09:20:10] 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-08-19 09:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500360448001,"66":26006,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3803149176452290560},"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-08-19 09:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:20:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452290560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500360448001,"power":26006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803149176452290560}} 
[2026-08-19 09:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":158700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:20:10] local.INFO: GPS data processed {"connection_id":158700,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:20:10] local.INFO: Acknowledgment sent {"connection_id":158700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:20:21] local.INFO: TCP Data received {"connection_id":157815,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:20:21] local.INFO: Processing buffer {"connection_id":157815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:20:21] local.INFO: IMEI packet received {"connection_id":157815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":157815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:20:25] local.INFO: TCP Data received {"connection_id":157815,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:20:25] local.INFO: Processing buffer {"connection_id":157815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:20:25] local.INFO: IMEI packet received {"connection_id":157815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":157815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:20:27] local.INFO: TCP Data received {"connection_id":157815,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01822f7e0012d7d348005ec0cf0000000b31d..."} 
[2026-08-19 09:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01822f7e0012d7d348005ec0cf0000000b31d..."} 
[2026-08-19 09:20:27] local.INFO: Processing buffer {"connection_id":157815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01822f7e0012d7d348005ec0cf0000000b31d..."} 
[2026-08-19 09:20:27] local.INFO: Packet analysis {"connection_id":157815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:20:27] local.INFO: Extracted packet for processing {"connection_id":157815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355888,"longitude_deg":76.318016,"latitude_deg":9.9355888,"altitude":0,"angle":179,"satellites":29,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-08-19 09:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500503040001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20: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-08-19 09:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787111340000,"timestamp_ms":1787111340000,"timestamp_seconds":1787111340,"priority":1,"record_length":96,"hex_timestamp":"000001a01822f7e0"} 
[2026-08-19 09:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:20:27] 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-08-19 09:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 09:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623377,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993964549076680704,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632220978530670,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-19 09:20:27] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2281778557,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:27] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147871757,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:27] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:27] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509190656,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960354816,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:27] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030198402285568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:27] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-1729156541648417193,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:27] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:27] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,110,87,24,241,157,16,209,160,173,45,128,12,32,10,66,91,31,9,1,240,215,227,236,4,113,205,101,52,232,33,239,51,2,172,5,125,49,54],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-19 09:20:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196937135423727,"timestamp_seconds":196937135423.727,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:20:27] 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-08-19 09:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500503040001,"66":13580,"110":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 09:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500503040001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:20:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 09:20:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500503040001,"power":13580,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":157815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:20:27] local.INFO: GPS data processed {"connection_id":157815,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:20:27] local.INFO: Acknowledgment sent {"connection_id":157815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:20:42] local.INFO: TCP Data received {"connection_id":158700,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:20:42] local.INFO: Processing buffer {"connection_id":158700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:20:42] local.INFO: Packet analysis {"connection_id":158700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:20:42] local.INFO: Extracted packet for processing {"connection_id":158700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:20:42] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500438528001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787111389000,"timestamp_ms":1787111389000,"timestamp_seconds":1787111389,"priority":1,"record_length":96,"hex_timestamp":"000001a01823b748"} 
[2026-08-19 09:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 09:20:42] 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-08-19 09: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-08-19 09:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500438528001,"66":25875,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500438528001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:20:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:20:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500438528001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":158700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:20:42] local.INFO: GPS data processed {"connection_id":158700,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:20:42] local.INFO: Acknowledgment sent {"connection_id":158700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:20:59] local.INFO: TCP Data received {"connection_id":157815,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:20:59] local.INFO: Processing buffer {"connection_id":157815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:20:59] local.INFO: Packet analysis {"connection_id":157815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:20:59] local.INFO: Extracted packet for processing {"connection_id":157815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355888,"longitude_deg":76.318016,"latitude_deg":9.9355888,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500503040001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20: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-08-19 09:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787111342000,"timestamp_ms":1787111342000,"timestamp_seconds":1787111342,"priority":1,"record_length":96,"hex_timestamp":"000001a01822ffb0"} 
[2026-08-19 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-08-19 09:20: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-08-19 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 09:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623377,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:59] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57345,"corrected_to":0} 
[2026-08-19 09:20:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993963449565052928,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633762871789934,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-19 09:20:59] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2415996285,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:59] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147871756,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:59] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960334336,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:59] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030198400188416,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:59] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-1729156541648417193,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:59] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 09:20:59] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,110,87,24,241,157,16,209,160,247,45,128,12,29,10,66,173,32,91,1,240,227,236,4,113,205,183,52,239,50,109,2,172,5,125,49,54],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":247,"original":57345,"validated":0},{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-19 09:20:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196937135423728,"timestamp_seconds":196937135423.728,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 09:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":157815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":157815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":157815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:20:59] 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-08-19 09:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500503040001,"66":13580,"110":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 09:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500503040001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:20:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 09:20:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500503040001,"power":13580,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":157815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:20:59] local.INFO: GPS data processed {"connection_id":157815,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:20:59] local.INFO: Acknowledgment sent {"connection_id":157815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:21:00] local.INFO: TCP Data received {"connection_id":157816,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:21:00] local.INFO: Processing buffer {"connection_id":157816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:21:00] local.INFO: IMEI packet received {"connection_id":157816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":157816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:21:05] local.INFO: TCP Data received {"connection_id":157816,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:21:05] local.INFO: Processing buffer {"connection_id":157816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:21:05] local.INFO: IMEI packet received {"connection_id":157816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":157816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:21:06] local.INFO: TCP Data received {"connection_id":157816,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:21:06] local.INFO: Processing buffer {"connection_id":157816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:21:06] local.INFO: Packet analysis {"connection_id":157816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:21:06] local.INFO: Extracted packet for processing {"connection_id":157816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:21:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500438528001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787111389000,"timestamp_ms":1787111389000,"timestamp_seconds":1787111389,"priority":1,"record_length":96,"hex_timestamp":"000001a01823b748"} 
[2026-08-19 09:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 09:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500438528001,"66":25875,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500438528001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:21:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:21:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500438528001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":157816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:21:06] local.INFO: GPS data processed {"connection_id":157816,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:21:06] local.INFO: Acknowledgment sent {"connection_id":157816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:21:20] local.INFO: TCP Data received {"connection_id":159991,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:21:20] local.INFO: Processing buffer {"connection_id":159991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:21:20] local.INFO: IMEI packet received {"connection_id":159991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":159991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:21:25] local.INFO: TCP Data received {"connection_id":159991,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:21:25] local.INFO: Processing buffer {"connection_id":159991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:21:25] local.INFO: IMEI packet received {"connection_id":159991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":159991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:21:26] local.INFO: TCP Data received {"connection_id":159991,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:21:26] local.INFO: Processing buffer {"connection_id":159991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:21:26] local.INFO: Packet analysis {"connection_id":159991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:21:26] local.INFO: Extracted packet for processing {"connection_id":159991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:21:26] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355888,"longitude_deg":76.318016,"latitude_deg":9.9355888,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-08-19 09:21: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-08-19 09:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500503040001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:26] 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-08-19 09:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787111342000,"timestamp_ms":1787111342000,"timestamp_seconds":1787111342,"priority":1,"record_length":96,"hex_timestamp":"000001a01822ffb0"} 
[2026-08-19 09:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:21:26] 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-08-19 09:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 09:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623377,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:26] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57345,"corrected_to":0} 
[2026-08-19 09:21:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993963449565052928,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633762871789934,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-19 09:21:26] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2415996285,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:26] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147871756,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:26] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960334336,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:26] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030198400188416,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:26] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-1729156541648417193,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:26] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:26] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,110,87,24,241,157,16,209,160,247,45,128,12,29,10,66,173,32,91,1,240,227,236,4,113,205,183,52,239,50,109,2,172,5,125,49,54],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":247,"original":57345,"validated":0},{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-19 09:21:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196937135423728,"timestamp_seconds":196937135423.728,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:21:26] 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-08-19 09:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500503040001,"66":13580,"110":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 09:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500503040001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:21:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 09:21:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500503040001,"power":13580,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":159991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:21:26] local.INFO: GPS data processed {"connection_id":159991,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:21:26] local.INFO: Acknowledgment sent {"connection_id":159991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:21:38] local.INFO: TCP Data received {"connection_id":157816,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:21:38] local.INFO: Processing buffer {"connection_id":157816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:21:38] local.INFO: Packet analysis {"connection_id":157816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:21:38] local.INFO: Extracted packet for processing {"connection_id":157816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500438528001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787111389000,"timestamp_ms":1787111389000,"timestamp_seconds":1787111389,"priority":1,"record_length":96,"hex_timestamp":"000001a01823b748"} 
[2026-08-19 09:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 09:21:38] 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-08-19 09: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-08-19 09:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:21:38] 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-08-19 09:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500438528001,"66":25875,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500438528001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500438528001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":157816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:21:38] local.INFO: GPS data processed {"connection_id":157816,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:21:38] local.INFO: Acknowledgment sent {"connection_id":157816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:21:57] local.INFO: TCP Data received {"connection_id":159991,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:21:57] local.INFO: Processing buffer {"connection_id":159991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:21:57] local.INFO: Packet analysis {"connection_id":159991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:21:57] local.INFO: Extracted packet for processing {"connection_id":159991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:21:57] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355888,"longitude_deg":76.318016,"latitude_deg":9.9355888,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500503040001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:57] 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-08-19 09:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787111342000,"timestamp_ms":1787111342000,"timestamp_seconds":1787111342,"priority":1,"record_length":96,"hex_timestamp":"000001a01822ffb0"} 
[2026-08-19 09:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:21: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-08-19 09: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 09:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623377,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:57] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57345,"corrected_to":0} 
[2026-08-19 09:21:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993963449565052928,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633762871789934,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-19 09:21:57] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2415996285,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:57] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147871756,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:57] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:57] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960334336,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:57] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030198400188416,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:57] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-1729156541648417193,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:57] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 09:21:57] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,110,87,24,241,157,16,209,160,247,45,128,12,29,10,66,173,32,91,1,240,227,236,4,113,205,183,52,239,50,109,2,172,5,125,49,54],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":247,"original":57345,"validated":0},{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-19 09:21:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196937135423728,"timestamp_seconds":196937135423.728,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:21:57] 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-08-19 09:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500503040001,"66":13580,"110":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 09:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500503040001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:21:57] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 09:21:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500503040001,"power":13580,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":159991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:21:57] local.INFO: GPS data processed {"connection_id":159991,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:21:57] local.INFO: Acknowledgment sent {"connection_id":159991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:22:00] local.INFO: TCP Data received {"connection_id":157817,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:22:00] local.INFO: Processing buffer {"connection_id":157817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:22:00] local.INFO: IMEI packet received {"connection_id":157817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":157817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:22:05] local.INFO: TCP Data received {"connection_id":157817,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:22:05] local.INFO: Processing buffer {"connection_id":157817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:22:05] local.INFO: IMEI packet received {"connection_id":157817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":157817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:22:06] local.INFO: TCP Data received {"connection_id":157817,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:22:06] local.INFO: Processing buffer {"connection_id":157817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:22:06] local.INFO: Packet analysis {"connection_id":157817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:22:06] local.INFO: Extracted packet for processing {"connection_id":157817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500438528001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787111389000,"timestamp_ms":1787111389000,"timestamp_seconds":1787111389,"priority":1,"record_length":96,"hex_timestamp":"000001a01823b748"} 
[2026-08-19 09:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 09:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500438528001,"66":25875,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500438528001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:22:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500438528001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":157817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:22:06] local.INFO: GPS data processed {"connection_id":157817,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:22:06] local.INFO: Acknowledgment sent {"connection_id":157817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:22:25] local.INFO: TCP Data received {"connection_id":157443,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:22:25] local.INFO: Processing buffer {"connection_id":157443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:22:25] local.INFO: IMEI packet received {"connection_id":157443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":157443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:22:31] local.INFO: TCP Data received {"connection_id":157443,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:22:31] local.INFO: Processing buffer {"connection_id":157443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:22:31] local.INFO: IMEI packet received {"connection_id":157443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":157443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:22:35] local.INFO: TCP Data received {"connection_id":157443,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:22:35] local.INFO: Processing buffer {"connection_id":157443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:22:35] local.INFO: Packet analysis {"connection_id":157443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:22:35] local.INFO: Extracted packet for processing {"connection_id":157443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:22:35] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355888,"longitude_deg":76.318016,"latitude_deg":9.9355888,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500503040001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22: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-08-19 09:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787111342000,"timestamp_ms":1787111342000,"timestamp_seconds":1787111342,"priority":1,"record_length":96,"hex_timestamp":"000001a01822ffb0"} 
[2026-08-19 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-08-19 09:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 09:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623377,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:35] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57345,"corrected_to":0} 
[2026-08-19 09:22:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993963449565052928,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:35] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633762871789934,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-19 09:22:35] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2415996285,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:35] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147871756,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:35] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:35] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960334336,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:35] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030198400188416,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:35] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-1729156541648417193,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:35] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:35] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,110,87,24,241,157,16,209,160,247,45,128,12,29,10,66,173,32,91,1,240,227,236,4,113,205,183,52,239,50,109,2,172,5,125,49,54],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":247,"original":57345,"validated":0},{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-19 09:22:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196937135423728,"timestamp_seconds":196937135423.728,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 09:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":157443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":157443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":157443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500503040001,"66":13580,"110":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 09:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500503040001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:22:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 09:22:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500503040001,"power":13580,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":157443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:22:35] local.INFO: GPS data processed {"connection_id":157443,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:22:35] local.INFO: Acknowledgment sent {"connection_id":157443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:22:38] local.INFO: TCP Data received {"connection_id":157817,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:22:38] local.INFO: TCP Data received {"connection_id":157443,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:22:38] local.INFO: Processing buffer {"connection_id":157817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:22:38] local.INFO: Packet analysis {"connection_id":157817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:22:38] local.INFO: Extracted packet for processing {"connection_id":157817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500438528001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787111389000,"timestamp_ms":1787111389000,"timestamp_seconds":1787111389,"priority":1,"record_length":96,"hex_timestamp":"000001a01823b748"} 
[2026-08-19 09:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 09:22:38] 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-08-19 09: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-08-19 09:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:22:38] 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-08-19 09:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:22:38] local.INFO: Processing buffer {"connection_id":157443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:22:38] local.INFO: Packet analysis {"connection_id":157443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:22:38] local.INFO: Extracted packet for processing {"connection_id":157443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355888,"longitude_deg":76.318016,"latitude_deg":9.9355888,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500503040001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500438528001,"66":25875,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:22:38] 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-08-19 09:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787111342000,"timestamp_ms":1787111342000,"timestamp_seconds":1787111342,"priority":1,"record_length":96,"hex_timestamp":"000001a01822ffb0"} 
[2026-08-19 09:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623377,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57345,"corrected_to":0} 
[2026-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993963449565052928,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633762871789934,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2415996285,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147871756,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960334336,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030198400188416,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-1729156541648417193,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 09:22:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,110,87,24,241,157,16,209,160,247,45,128,12,29,10,66,173,32,91,1,240,227,236,4,113,205,183,52,239,50,109,2,172,5,125,49,54],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":247,"original":57345,"validated":0},{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-19 09:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:22:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196937135423728,"timestamp_seconds":196937135423.728,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500438528001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500438528001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500503040001,"66":13580,"110":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 09:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500503040001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:22:38] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 09:22:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500503040001,"power":13580,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":157817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:22:38] local.INFO: GPS data processed {"connection_id":157817,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:22:38] local.INFO: Acknowledgment sent {"connection_id":157817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":157443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:22:38] local.INFO: GPS data processed {"connection_id":157443,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:22:38] local.INFO: Acknowledgment sent {"connection_id":157443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:22:59] local.INFO: TCP Data received {"connection_id":158702,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:22:59] local.INFO: Processing buffer {"connection_id":158702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:22:59] local.INFO: IMEI packet received {"connection_id":158702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":158702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:23:05] local.INFO: TCP Data received {"connection_id":158702,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:23:05] local.INFO: Processing buffer {"connection_id":158702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:23:05] local.INFO: IMEI packet received {"connection_id":158702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":158702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:23:07] local.INFO: TCP Data received {"connection_id":158702,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:23:07] local.INFO: Processing buffer {"connection_id":158702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:23:07] local.INFO: Packet analysis {"connection_id":158702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:23:07] local.INFO: Extracted packet for processing {"connection_id":158702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500438528001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09: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-08-19 09:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787111389000,"timestamp_ms":1787111389000,"timestamp_seconds":1787111389,"priority":1,"record_length":96,"hex_timestamp":"000001a01823b748"} 
[2026-08-19 09:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:23: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-08-19 09: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 09:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:23:07] 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-08-19 09:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500438528001,"66":25875,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500438528001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:23:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:23:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500438528001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":158702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:23:07] local.INFO: GPS data processed {"connection_id":158702,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:23:07] local.INFO: Acknowledgment sent {"connection_id":158702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:23:20] local.INFO: TCP Data received {"connection_id":157818,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:23:20] local.INFO: Processing buffer {"connection_id":157818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:23:20] local.INFO: IMEI packet received {"connection_id":157818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":157818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:23:24] local.INFO: TCP Data received {"connection_id":157444,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:23:24] local.INFO: Processing buffer {"connection_id":157444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:23:24] local.INFO: IMEI packet received {"connection_id":157444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":157444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:23:25] local.INFO: TCP Data received {"connection_id":157818,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:23:25] local.INFO: Processing buffer {"connection_id":157818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:23:25] local.INFO: IMEI packet received {"connection_id":157818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":157818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:23:26] local.INFO: TCP Data received {"connection_id":157818,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:23:26] local.INFO: Processing buffer {"connection_id":157818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:23:26] local.INFO: Packet analysis {"connection_id":157818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:23:26] local.INFO: Extracted packet for processing {"connection_id":157818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:23:26] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355888,"longitude_deg":76.318016,"latitude_deg":9.9355888,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-08-19 09:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500503040001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:26] 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-08-19 09:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787111342000,"timestamp_ms":1787111342000,"timestamp_seconds":1787111342,"priority":1,"record_length":96,"hex_timestamp":"000001a01822ffb0"} 
[2026-08-19 09:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:23:26] 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-08-19 09:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 09:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623377,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:26] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57345,"corrected_to":0} 
[2026-08-19 09:23:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993963449565052928,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633762871789934,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-19 09:23:26] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2415996285,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:26] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147871756,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:26] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960334336,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:26] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030198400188416,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:26] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-1729156541648417193,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:26] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:26] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,110,87,24,241,157,16,209,160,247,45,128,12,29,10,66,173,32,91,1,240,227,236,4,113,205,183,52,239,50,109,2,172,5,125,49,54],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":247,"original":57345,"validated":0},{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-19 09:23:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196937135423728,"timestamp_seconds":196937135423.728,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:23:26] 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-08-19 09:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500503040001,"66":13580,"110":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 09:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500503040001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:23:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 09:23:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500503040001,"power":13580,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":157818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:23:26] local.INFO: GPS data processed {"connection_id":157818,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:23:26] local.INFO: Acknowledgment sent {"connection_id":157818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:23:27] local.INFO: TCP Data received {"connection_id":157444,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:23:27] local.INFO: Processing buffer {"connection_id":157444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:23:27] local.INFO: IMEI packet received {"connection_id":157444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":157444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:23:28] local.INFO: TCP Data received {"connection_id":157444,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0182695a8012d0a7ec007047328001100291d..."} 
[2026-08-19 09:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182695a8012d0a7ec007047328001100291d..."} 
[2026-08-19 09:23:28] local.INFO: Processing buffer {"connection_id":157444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182695a8012d0a7ec007047328001100291d..."} 
[2026-08-19 09:23:28] local.INFO: Packet analysis {"connection_id":157444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01826"} 
[2026-08-19 09:23:28] local.INFO: Extracted packet for processing {"connection_id":157444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01826"} 
[2026-08-19 09:23:28] local.INFO: GPS Element Parsed {"raw_longitude":755662528,"raw_latitude":117732136,"longitude_deg":75.5662528,"latitude_deg":11.7732136,"altitude":17,"angle":41,"satellites":29,"speed":8,"hex_longitude":"2d0a7ec0","hex_latitude":"07047328","is_valid_coordinates":true} 
[2026-08-19 09:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500563456001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28772415412633600,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756182555072581632,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787111577000,"timestamp_ms":1787111577000,"timestamp_seconds":1787111577,"priority":1,"record_length":96,"hex_timestamp":"000001a0182695a8"} 
[2026-08-19 09:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 09:23:28] 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-08-19 09:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":157444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":157444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":157444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500563456001,"66":14374,"17":206,"94":11008,"24":8,"16":28772415412633600,"45":756182555072581632},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 09:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500563456001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:23:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28772415412633600,"km_value":28772415412633.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":756182555072581632,"description":"Unknown IO ID 45"} 
[2026-08-19 09:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500563456001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":756182555072581632}} 
[2026-08-19 09:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":157444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663780,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:23:28] local.INFO: GPS data processed {"connection_id":157444,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:23:28] local.INFO: Acknowledgment sent {"connection_id":157444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:23:38] local.INFO: TCP Data received {"connection_id":158702,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:23:38] local.INFO: Processing buffer {"connection_id":158702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:23:38] local.INFO: Packet analysis {"connection_id":158702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:23:38] local.INFO: Extracted packet for processing {"connection_id":158702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500438528001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787111389000,"timestamp_ms":1787111389000,"timestamp_seconds":1787111389,"priority":1,"record_length":96,"hex_timestamp":"000001a01823b748"} 
[2026-08-19 09:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 09:23:38] 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-08-19 09: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-08-19 09:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:23:38] 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-08-19 09:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500438528001,"66":25875,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500438528001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:23:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500438528001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":158702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:23:39] local.INFO: GPS data processed {"connection_id":158702,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:23:39] local.INFO: Acknowledgment sent {"connection_id":158702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:23:58] local.INFO: TCP Data received {"connection_id":157818,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:23:58] local.INFO: Processing buffer {"connection_id":157818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01822ffb0012d7d348005ec0cf0000000b320..."} 
[2026-08-19 09:23:58] local.INFO: Packet analysis {"connection_id":157818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:23:58] local.INFO: Extracted packet for processing {"connection_id":157818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01822"} 
[2026-08-19 09:23:58] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99355888,"longitude_deg":76.318016,"latitude_deg":9.9355888,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-08-19 09:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500503040001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:58] 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-08-19 09:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787111342000,"timestamp_ms":1787111342000,"timestamp_seconds":1787111342,"priority":1,"record_length":96,"hex_timestamp":"000001a01822ffb0"} 
[2026-08-19 09:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:23: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-08-19 09:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 09:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623377,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:58] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57345,"corrected_to":0} 
[2026-08-19 09:23:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993963449565052928,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633762871789934,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-19 09:23:58] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2415996285,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:58] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147871756,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:58] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:58] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960334336,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:58] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030198400188416,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:58] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-1729156541648417193,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:58] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 09:23:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,110,87,24,241,157,16,209,160,247,45,128,12,29,10,66,173,32,91,1,240,227,236,4,113,205,183,52,239,50,109,2,172,5,125,49,54],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":247,"original":57345,"validated":0},{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-19 09:23:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196937135423728,"timestamp_seconds":196937135423.728,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:23:58] 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-08-19 09:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500503040001,"66":13580,"110":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 09:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500503040001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:23:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 09:23:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500503040001,"power":13580,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":157818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:23:58] local.INFO: GPS data processed {"connection_id":157818,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:23:58] local.INFO: Acknowledgment sent {"connection_id":157818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:23:59] local.INFO: TCP Data received {"connection_id":159992,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:23:59] local.INFO: Processing buffer {"connection_id":159992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:23:59] local.INFO: IMEI packet received {"connection_id":159992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":159992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:24:00] local.INFO: TCP Data received {"connection_id":157444,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a018269990012d0a7f00070473d0001100131d..."} 
[2026-08-19 09:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018269990012d0a7f00070473d0001100131d..."} 
[2026-08-19 09:24:00] local.INFO: Processing buffer {"connection_id":157444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018269990012d0a7f00070473d0001100131d..."} 
[2026-08-19 09:24:00] local.INFO: Packet analysis {"connection_id":157444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01826"} 
[2026-08-19 09:24:00] local.INFO: Extracted packet for processing {"connection_id":157444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01826"} 
[2026-08-19 09:24:00] local.INFO: GPS Element Parsed {"raw_longitude":755662592,"raw_latitude":117732304,"longitude_deg":75.5662592,"latitude_deg":11.7732304,"altitude":17,"angle":19,"satellites":29,"speed":8,"hex_longitude":"2d0a7f00","hex_latitude":"070473d0","is_valid_coordinates":true} 
[2026-08-19 09:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500563712001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28772428297535488,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756252923816781824,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787111578000,"timestamp_ms":1787111578000,"timestamp_seconds":1787111578,"priority":1,"record_length":96,"hex_timestamp":"000001a018269990"} 
[2026-08-19 09:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 09:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":157444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":157444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":157444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500563712001,"66":14374,"17":206,"94":11008,"24":8,"16":28772428297535488,"45":756252923816781824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 09:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500563712001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:24:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28772428297535488,"km_value":28772428297535.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":756252923816781824,"description":"Unknown IO ID 45"} 
[2026-08-19 09:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500563712001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":756252923816781824}} 
[2026-08-19 09:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":157444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663783,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:24:00] local.INFO: GPS data processed {"connection_id":157444,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:24:00] local.INFO: Acknowledgment sent {"connection_id":157444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:24:05] local.INFO: TCP Data received {"connection_id":159992,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:24:05] local.INFO: Processing buffer {"connection_id":159992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:24:05] local.INFO: IMEI packet received {"connection_id":159992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":159992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:24:06] local.INFO: TCP Data received {"connection_id":159992,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:24:06] local.INFO: Processing buffer {"connection_id":159992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:24:06] local.INFO: Packet analysis {"connection_id":159992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:24:06] local.INFO: Extracted packet for processing {"connection_id":159992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:24:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500438528001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787111389000,"timestamp_ms":1787111389000,"timestamp_seconds":1787111389,"priority":1,"record_length":96,"hex_timestamp":"000001a01823b748"} 
[2026-08-19 09:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 09:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:24:06] 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-08-19 09:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500438528001,"66":25875,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500438528001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:24:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:24:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500438528001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":159992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:24:06] local.INFO: GPS data processed {"connection_id":159992,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:24:06] local.INFO: Acknowledgment sent {"connection_id":159992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:24:13] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:24:13] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:24:13] local.INFO: IMEI packet received {"connection_id":159993,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":159993,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:24:14] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:24:14] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:24:14] local.INFO: IMEI packet received {"connection_id":159993,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":159993,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:24:20] local.INFO: TCP Data received {"connection_id":157445,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:24:20] local.INFO: Processing buffer {"connection_id":157445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:24:20] local.INFO: IMEI packet received {"connection_id":157445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":157445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:24:21] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:24:21] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:24:21] local.INFO: IMEI packet received {"connection_id":159993,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":159993,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:24:21] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a018278bc0012d0a99400704e6e8001e000e1f..."} 
[2026-08-19 09:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018278bc0012d0a99400704e6e8001e000e1f..."} 
[2026-08-19 09:24:21] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018278bc0012d0a99400704e6e8001e000e1f..."} 
[2026-08-19 09:24:21] local.INFO: Packet analysis {"connection_id":159993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:24:21] local.INFO: Extracted packet for processing {"connection_id":159993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:24:21] local.INFO: GPS Element Parsed {"raw_longitude":755669312,"raw_latitude":117761768,"longitude_deg":75.5669312,"latitude_deg":11.7761768,"altitude":30,"angle":14,"satellites":31,"speed":17,"hex_longitude":"2d0a9940","hex_latitude":"0704e6e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500579584001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28774120514650112,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":763641641962901504,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787111640000,"timestamp_ms":1787111640000,"timestamp_seconds":1787111640,"priority":1,"record_length":96,"hex_timestamp":"000001a018278bc0"} 
[2026-08-19 09:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 09:24:21] 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-08-19 09: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-08-19 09:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":159993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":159993,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":159993,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500579584001,"66":14624,"177":206,"94":10240,"24":17,"16":28774120514650112,"45":763641641962901504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-19 09:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500579584001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:24:21] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 09:24:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28774120514650112,"km_value":28774120514650.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":763641641962901504,"description":"Unknown IO ID 45"} 
[2026-08-19 09:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500579584001,"power":14624,"unknown_177":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":763641641962901504}} 
[2026-08-19 09:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":159993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663785,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:24:22] local.INFO: GPS data processed {"connection_id":159993,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:24:22] local.INFO: Acknowledgment sent {"connection_id":159993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:24:25] local.INFO: TCP Data received {"connection_id":157445,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:24:25] local.INFO: Processing buffer {"connection_id":157445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:24:25] local.INFO: IMEI packet received {"connection_id":157445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":157445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:24:26] local.INFO: TCP Data received {"connection_id":157445,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:24:26] local.INFO: Processing buffer {"connection_id":157445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:24:26] local.INFO: Packet analysis {"connection_id":157445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:24:26] local.INFO: Extracted packet for processing {"connection_id":157445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:24:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:24: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-08-19 09:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500503552001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:26] 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-08-19 09:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787111644000,"timestamp_ms":1787111644000,"timestamp_seconds":1787111644,"priority":1,"record_length":96,"hex_timestamp":"000001a018279b60"} 
[2026-08-19 09:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:24:26] 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-08-19 09:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 09:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623377,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:26] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57345,"corrected_to":0} 
[2026-08-19 09:24:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993959051518541824,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632500151404909,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-19 09:24:26] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2550214013,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:26] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147871756,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:26] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607153993,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:26] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960270848,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:26] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030198394945536,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:26] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775644258160215,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:26] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:26] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,110,87,24,241,157,16,209,160,247,45,128,12,29,10,66,173,1,240,40,227,236,4,113,205,9,52,239,50,109,2,172,5,125,51,54],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":247,"original":57345,"validated":0},{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-19 09:24:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196950020325376,"timestamp_seconds":196950020325.376,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:24:26] 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-08-19 09:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500503552001,"66":12950,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500503552001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:24:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:24:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500503552001,"power":12950,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":157445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:24:26] local.INFO: GPS data processed {"connection_id":157445,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:24:26] local.INFO: Acknowledgment sent {"connection_id":157445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:24:38] local.INFO: TCP Data received {"connection_id":159992,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:24:38] local.INFO: Processing buffer {"connection_id":159992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:24:38] local.INFO: Packet analysis {"connection_id":159992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:24:38] local.INFO: Extracted packet for processing {"connection_id":159992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500438528001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787111389000,"timestamp_ms":1787111389000,"timestamp_seconds":1787111389,"priority":1,"record_length":96,"hex_timestamp":"000001a01823b748"} 
[2026-08-19 09:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 09:24:38] 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-08-19 09: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-08-19 09:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:24:38] 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-08-19 09:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500438528001,"66":25875,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500438528001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:24:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500438528001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":159992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:24:38] local.INFO: GPS data processed {"connection_id":159992,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:24:38] local.INFO: Acknowledgment sent {"connection_id":159992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:24:54] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a018278fa8012d0a99400704e890001f01671f..."} 
[2026-08-19 09:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018278fa8012d0a99400704e890001f01671f..."} 
[2026-08-19 09:24:54] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018278fa8012d0a99400704e890001f01671f..."} 
[2026-08-19 09:24:54] local.INFO: Packet analysis {"connection_id":159993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:24:54] local.INFO: Extracted packet for processing {"connection_id":159993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:24:54] local.INFO: GPS Element Parsed {"raw_longitude":755669312,"raw_latitude":117762192,"longitude_deg":75.5669312,"latitude_deg":11.7762192,"altitude":31,"angle":359,"satellites":31,"speed":14,"hex_longitude":"2d0a9940","hex_latitude":"0704e890","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500579840001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28774141989486592,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":763712010707200000,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24: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-08-19 09:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787111641000,"timestamp_ms":1787111641000,"timestamp_seconds":1787111641,"priority":1,"record_length":96,"hex_timestamp":"000001a018278fa8"} 
[2026-08-19 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-08-19 09:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":57,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-08-19 09:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":771,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 09:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159993,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159993,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500579840001,"66":14624,"177":206,"94":10240,"24":14,"16":28774141989486592,"45":763712010707200000},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-19 09:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500579840001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:24:54] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 09:24:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28774141989486592,"km_value":28774141989486.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":763712010707200000,"description":"Unknown IO ID 45"} 
[2026-08-19 09:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500579840001,"power":14624,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":763712010707200000}} 
[2026-08-19 09:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":159993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663788,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:24:55] local.INFO: GPS data processed {"connection_id":159993,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:24:55] local.INFO: Acknowledgment sent {"connection_id":159993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:24:58] local.INFO: TCP Data received {"connection_id":157445,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:24:58] local.INFO: Processing buffer {"connection_id":157445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:24:58] local.INFO: Packet analysis {"connection_id":157445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:24:58] local.INFO: Extracted packet for processing {"connection_id":157445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:24:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500503552001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:58] 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-08-19 09:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787111644000,"timestamp_ms":1787111644000,"timestamp_seconds":1787111644,"priority":1,"record_length":96,"hex_timestamp":"000001a018279b60"} 
[2026-08-19 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-08-19 09:24: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-08-19 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 09:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623377,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:58] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57345,"corrected_to":0} 
[2026-08-19 09:24:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993959051518541824,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632500151404909,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-19 09:24:58] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2550214013,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:58] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147871756,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:58] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607153993,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:58] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:58] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960270848,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:58] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030198394945536,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:58] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775644258160215,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:58] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 09:24:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,110,87,24,241,157,16,209,160,247,45,128,12,29,10,66,173,1,240,40,227,236,4,113,205,9,52,239,50,109,2,172,5,125,51,54],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":247,"original":57345,"validated":0},{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-19 09:24:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196950020325376,"timestamp_seconds":196950020325.376,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 09:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:24:58] 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-08-19 09:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500503552001,"66":12950,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500503552001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:24:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:24:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500503552001,"power":12950,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":157445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:24:58] local.INFO: GPS data processed {"connection_id":157445,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:24:58] local.INFO: Acknowledgment sent {"connection_id":157445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:25:05] local.INFO: TCP Data received {"connection_id":159994,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:25:05] local.INFO: Processing buffer {"connection_id":159994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:25:05] local.INFO: IMEI packet received {"connection_id":159994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":159994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:25:10] local.INFO: TCP Data received {"connection_id":159994,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:25:10] local.INFO: Processing buffer {"connection_id":159994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:25:10] local.INFO: IMEI packet received {"connection_id":159994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":159994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:25:11] local.INFO: TCP Data received {"connection_id":159994,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:25:11] local.INFO: Processing buffer {"connection_id":159994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:25:11] local.INFO: Packet analysis {"connection_id":159994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:25:11] local.INFO: Extracted packet for processing {"connection_id":159994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:25:11] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500438528001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787111389000,"timestamp_ms":1787111389000,"timestamp_seconds":1787111389,"priority":1,"record_length":96,"hex_timestamp":"000001a01823b748"} 
[2026-08-19 09:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 09:25:11] 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-08-19 09:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500438528001,"66":25875,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500438528001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:25:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:25:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500438528001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":159994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:25:11] local.INFO: GPS data processed {"connection_id":159994,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:25:11] local.INFO: Acknowledgment sent {"connection_id":159994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:25:14] local.INFO: TCP Data received {"connection_id":159995,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159995,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:25:14] local.INFO: Processing buffer {"connection_id":159995,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:25:14] local.INFO: IMEI packet received {"connection_id":159995,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":159995,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:25:16] local.INFO: TCP Data received {"connection_id":159994,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:25:16] local.INFO: Processing buffer {"connection_id":159994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01823b748012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:25:16] local.INFO: Packet analysis {"connection_id":159994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:25:16] local.INFO: Extracted packet for processing {"connection_id":159994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01823"} 
[2026-08-19 09:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500438528001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787111389000,"timestamp_ms":1787111389000,"timestamp_seconds":1787111389,"priority":1,"record_length":96,"hex_timestamp":"000001a01823b748"} 
[2026-08-19 09:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:25: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-08-19 09:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 09:25:16] 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-08-19 09:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500438528001,"66":25875,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500438528001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500438528001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":159994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:25:16] local.INFO: GPS data processed {"connection_id":159994,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:25:16] local.INFO: Acknowledgment sent {"connection_id":159994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:25:19] local.INFO: TCP Data received {"connection_id":159995,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159995,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:25:19] local.INFO: Processing buffer {"connection_id":159995,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:25:19] local.INFO: IMEI packet received {"connection_id":159995,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":159995,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:25:20] local.INFO: TCP Data received {"connection_id":159995,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0182881d8012d0b5c000704f0e8001200711f..."} 
[2026-08-19 09:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182881d8012d0b5c000704f0e8001200711f..."} 
[2026-08-19 09:25:20] local.INFO: Processing buffer {"connection_id":159995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182881d8012d0b5c000704f0e8001200711f..."} 
[2026-08-19 09:25:20] local.INFO: Packet analysis {"connection_id":159995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:25:20] local.INFO: Extracted packet for processing {"connection_id":159995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:25:20] local.INFO: GPS Element Parsed {"raw_longitude":755719168,"raw_latitude":117764328,"longitude_deg":75.5719168,"latitude_deg":11.7764328,"altitude":18,"angle":113,"satellites":31,"speed":13,"hex_longitude":"2d0b5c00","hex_latitude":"0704f0e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500594688001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28776620185616384,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815644143911129088,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25: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-08-19 09:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787111703000,"timestamp_ms":1787111703000,"timestamp_seconds":1787111703,"priority":1,"record_length":96,"hex_timestamp":"000001a0182881d8"} 
[2026-08-19 09:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:25: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-08-19 09: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":60,"data_length":795,"current_offset":136} 
[2026-08-19 09:25: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-08-19 09: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-08-19 09:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":159995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":159995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":159995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500594688001,"66":14515,"96":206,"94":10240,"24":13,"16":28776620185616384,"45":815644143911129088},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-19 09:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500594688001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:25:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 09:25:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28776620185616384,"km_value":28776620185616.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":815644143911129088,"description":"Unknown IO ID 45"} 
[2026-08-19 09:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500594688001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":815644143911129088}} 
[2026-08-19 09:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":159995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663792,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:25:20] local.INFO: GPS data processed {"connection_id":159995,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:25:20] local.INFO: Acknowledgment sent {"connection_id":159995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:25:20] local.INFO: TCP Data received {"connection_id":159996,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:25:20] local.INFO: Processing buffer {"connection_id":159996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:25:20] local.INFO: IMEI packet received {"connection_id":159996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":159996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:25:25] local.INFO: TCP Data received {"connection_id":159996,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:25:25] local.INFO: Processing buffer {"connection_id":159996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:25:25] local.INFO: IMEI packet received {"connection_id":159996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":159996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:25:26] local.INFO: TCP Data received {"connection_id":159996,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:25:26] local.INFO: Processing buffer {"connection_id":159996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:25:26] local.INFO: Packet analysis {"connection_id":159996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:25:26] local.INFO: Extracted packet for processing {"connection_id":159996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:25:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500503552001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:26] 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-08-19 09:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787111644000,"timestamp_ms":1787111644000,"timestamp_seconds":1787111644,"priority":1,"record_length":96,"hex_timestamp":"000001a018279b60"} 
[2026-08-19 09:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:25:26] 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-08-19 09:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 09:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623377,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:26] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57345,"corrected_to":0} 
[2026-08-19 09:25:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993959051518541824,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632500151404909,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-19 09:25:26] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2550214013,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:26] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147871756,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:26] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607153993,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:26] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960270848,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:26] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030198394945536,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:26] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775644258160215,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:26] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:26] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,110,87,24,241,157,16,209,160,247,45,128,12,29,10,66,173,1,240,40,227,236,4,113,205,9,52,239,50,109,2,172,5,125,51,54],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":247,"original":57345,"validated":0},{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-19 09:25:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196950020325376,"timestamp_seconds":196950020325.376,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:25:26] 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-08-19 09:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500503552001,"66":12950,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500503552001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:25:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:25:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500503552001,"power":12950,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":159996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:25:26] local.INFO: GPS data processed {"connection_id":159996,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:25:26] local.INFO: Acknowledgment sent {"connection_id":159996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:25:51] local.INFO: TCP Data received {"connection_id":159995,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0182885c0012d0b5cc00704f0580012007d1f..."} 
[2026-08-19 09:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182885c0012d0b5cc00704f0580012007d1f..."} 
[2026-08-19 09:25:51] local.INFO: Processing buffer {"connection_id":159995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182885c0012d0b5cc00704f0580012007d1f..."} 
[2026-08-19 09:25:51] local.INFO: Packet analysis {"connection_id":159995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:25:51] local.INFO: Extracted packet for processing {"connection_id":159995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:25:51] local.INFO: GPS Element Parsed {"raw_longitude":755719360,"raw_latitude":117764184,"longitude_deg":75.571936,"latitude_deg":11.7764184,"altitude":18,"angle":125,"satellites":31,"speed":11,"hex_longitude":"2d0b5cc0","hex_latitude":"0704f058","is_valid_coordinates":true} 
[2026-08-19 09:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500595968001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28776633070518272,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818529262422255616,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:51] 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-08-19 09:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787111704000,"timestamp_ms":1787111704000,"timestamp_seconds":1787111704,"priority":1,"record_length":96,"hex_timestamp":"000001a0182885c0"} 
[2026-08-19 09:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:25: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-08-19 09:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 09:25: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-08-19 09: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-08-19 09:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":159995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":159995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":159995,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500595968001,"66":14515,"96":206,"94":10240,"24":11,"16":28776633070518272,"45":818529262422255616},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-19 09:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500595968001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:25:51] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 09:25:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28776633070518272,"km_value":28776633070518.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":818529262422255616,"description":"Unknown IO ID 45"} 
[2026-08-19 09:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500595968001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":818529262422255616}} 
[2026-08-19 09:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":159995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663794,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:25:52] local.INFO: GPS data processed {"connection_id":159995,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:25:52] local.INFO: Acknowledgment sent {"connection_id":159995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:25:58] local.INFO: TCP Data received {"connection_id":159996,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:25:58] local.INFO: Processing buffer {"connection_id":159996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:25:58] local.INFO: Packet analysis {"connection_id":159996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:25:58] local.INFO: Extracted packet for processing {"connection_id":159996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500503552001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:58] 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-08-19 09:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787111644000,"timestamp_ms":1787111644000,"timestamp_seconds":1787111644,"priority":1,"record_length":96,"hex_timestamp":"000001a018279b60"} 
[2026-08-19 09:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:25: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-08-19 09: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 09:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623377,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:58] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57345,"corrected_to":0} 
[2026-08-19 09:25:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993959051518541824,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632500151404909,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-19 09:25:58] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2550214013,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:58] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147871756,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:58] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607153993,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:58] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:58] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960270848,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:58] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030198394945536,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:58] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775644258160215,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:58] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 09:25:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,110,87,24,241,157,16,209,160,247,45,128,12,29,10,66,173,1,240,40,227,236,4,113,205,9,52,239,50,109,2,172,5,125,51,54],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":247,"original":57345,"validated":0},{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-19 09:25:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196950020325376,"timestamp_seconds":196950020325.376,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:25:58] 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-08-19 09:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500503552001,"66":12950,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500503552001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:25:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:25:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500503552001,"power":12950,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":159996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:25:58] local.INFO: GPS data processed {"connection_id":159996,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:25:58] local.INFO: Acknowledgment sent {"connection_id":159996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:25:59] local.INFO: TCP Data received {"connection_id":159997,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:25:59] local.INFO: Processing buffer {"connection_id":159997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:25:59] local.INFO: IMEI packet received {"connection_id":159997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":159997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:26:05] local.INFO: TCP Data received {"connection_id":159997,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:26:05] local.INFO: Processing buffer {"connection_id":159997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:26:05] local.INFO: IMEI packet received {"connection_id":159997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":159997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:26:07] local.INFO: TCP Data received {"connection_id":159997,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:26:07] local.INFO: Processing buffer {"connection_id":159997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:26:07] local.INFO: Packet analysis {"connection_id":159997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:26:07] local.INFO: Extracted packet for processing {"connection_id":159997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:26:07] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500515584001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787111690000,"timestamp_ms":1787111690000,"timestamp_seconds":1787111690,"priority":1,"record_length":96,"hex_timestamp":"000001a018284f10"} 
[2026-08-19 09:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 09:26:07] 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-08-19 09: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-08-19 09:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:26:07] 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-08-19 09:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500515584001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500515584001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:26:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:26:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500515584001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":159997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:26:07] local.INFO: GPS data processed {"connection_id":159997,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:26:07] local.INFO: Acknowledgment sent {"connection_id":159997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:26:13] local.INFO: TCP Data received {"connection_id":158703,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158703,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:26:13] local.INFO: Processing buffer {"connection_id":158703,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:26:13] local.INFO: IMEI packet received {"connection_id":158703,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":158703,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:26:14] local.INFO: TCP Data received {"connection_id":158703,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158703,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:26:14] local.INFO: Processing buffer {"connection_id":158703,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:26:14] local.INFO: IMEI packet received {"connection_id":158703,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":158703,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:26:17] local.INFO: TCP Data received {"connection_id":158703,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158703,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:26:17] local.INFO: Processing buffer {"connection_id":158703,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:26:17] local.INFO: IMEI packet received {"connection_id":158703,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":158703,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:26:18] local.INFO: TCP Data received {"connection_id":158703,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158703,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:26:18] local.INFO: Processing buffer {"connection_id":158703,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:26:18] local.INFO: IMEI packet received {"connection_id":158703,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":158703,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:26:19] local.INFO: TCP Data received {"connection_id":158703,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a018294cf8012d0b7e800704c280001400951f..."} 
[2026-08-19 09:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018294cf8012d0b7e800704c280001400951f..."} 
[2026-08-19 09:26:19] local.INFO: Processing buffer {"connection_id":158703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018294cf8012d0b7e800704c280001400951f..."} 
[2026-08-19 09:26:19] local.INFO: Packet analysis {"connection_id":158703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01829"} 
[2026-08-19 09:26:19] local.INFO: Extracted packet for processing {"connection_id":158703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01829"} 
[2026-08-19 09:26:19] local.INFO: GPS Element Parsed {"raw_longitude":755728000,"raw_latitude":117752448,"longitude_deg":75.5728,"latitude_deg":11.7752448,"altitude":20,"angle":149,"satellites":31,"speed":19,"hex_longitude":"2d0b7e80","hex_latitude":"0704c280","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500609024001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28777509243846656,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828099411627515904,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:19] 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-08-19 09:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787111755000,"timestamp_ms":1787111755000,"timestamp_seconds":1787111755,"priority":1,"record_length":96,"hex_timestamp":"000001a018294cf8"} 
[2026-08-19 09:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 09:26:19] 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-08-19 09: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-08-19 09:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500609024001,"66":14428,"96":206,"94":10240,"24":19,"16":28777509243846656,"45":828099411627515904},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-19 09:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500609024001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:26:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 09:26:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28777509243846656,"km_value":28777509243846.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":828099411627515904,"description":"Unknown IO ID 45"} 
[2026-08-19 09:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500609024001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":828099411627515904}} 
[2026-08-19 09:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":158703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663797,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:26:20] local.INFO: GPS data processed {"connection_id":158703,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:26:20] local.INFO: Acknowledgment sent {"connection_id":158703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:26:20] local.INFO: TCP Data received {"connection_id":158703,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0182954c8012d0b80400704bf78001400871f..."} 
[2026-08-19 09:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182954c8012d0b80400704bf78001400871f..."} 
[2026-08-19 09:26:20] local.INFO: Processing buffer {"connection_id":158703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182954c8012d0b80400704bf78001400871f..."} 
[2026-08-19 09:26:20] local.INFO: Packet analysis {"connection_id":158703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01829"} 
[2026-08-19 09:26:20] local.INFO: Extracted packet for processing {"connection_id":158703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01829"} 
[2026-08-19 09:26:20] local.INFO: GPS Element Parsed {"raw_longitude":755728448,"raw_latitude":117751672,"longitude_deg":75.5728448,"latitude_deg":11.7751672,"altitude":20,"angle":135,"satellites":31,"speed":17,"hex_longitude":"2d0b8040","hex_latitude":"0704bf78","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500609280001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28777552193519616,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828240149115731968,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26: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-08-19 09:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787111757000,"timestamp_ms":1787111757000,"timestamp_seconds":1787111757,"priority":1,"record_length":96,"hex_timestamp":"000001a0182954c8"} 
[2026-08-19 09:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:26: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-08-19 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 09:26: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-08-19 09: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-08-19 09:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500609280001,"66":14428,"96":206,"94":10240,"24":17,"16":28777552193519616,"45":828240149115731968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-19 09:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500609280001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:26:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 09:26:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28777552193519616,"km_value":28777552193519.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":828240149115731968,"description":"Unknown IO ID 45"} 
[2026-08-19 09:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500609280001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":828240149115731968}} 
[2026-08-19 09:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":158703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663798,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:26:20] local.INFO: GPS data processed {"connection_id":158703,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:26:20] local.INFO: Acknowledgment sent {"connection_id":158703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:26:20] local.INFO: TCP Data received {"connection_id":158704,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:26:20] local.INFO: Processing buffer {"connection_id":158704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:26:20] local.INFO: IMEI packet received {"connection_id":158704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":158704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:26:25] local.INFO: TCP Data received {"connection_id":158704,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:26:25] local.INFO: Processing buffer {"connection_id":158704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:26:25] local.INFO: IMEI packet received {"connection_id":158704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":158704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:26:27] local.INFO: TCP Data received {"connection_id":158704,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:26:27] local.INFO: Processing buffer {"connection_id":158704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:26:27] local.INFO: Packet analysis {"connection_id":158704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:26:27] local.INFO: Extracted packet for processing {"connection_id":158704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500503552001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:27] 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-08-19 09:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787111644000,"timestamp_ms":1787111644000,"timestamp_seconds":1787111644,"priority":1,"record_length":96,"hex_timestamp":"000001a018279b60"} 
[2026-08-19 09:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:26:27] 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-08-19 09:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 09:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623377,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:27] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57345,"corrected_to":0} 
[2026-08-19 09:26:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993959051518541824,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632500151404909,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-19 09:26:27] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2550214013,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:27] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147871756,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:27] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607153993,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:27] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:27] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960270848,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:27] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030198394945536,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:27] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775644258160215,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:27] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:27] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,110,87,24,241,157,16,209,160,247,45,128,12,29,10,66,173,1,240,40,227,236,4,113,205,9,52,239,50,109,2,172,5,125,51,54],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":247,"original":57345,"validated":0},{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-19 09:26:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196950020325376,"timestamp_seconds":196950020325.376,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":158704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":158704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":158704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:26:27] 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-08-19 09:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500503552001,"66":12950,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500503552001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:26:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:26:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500503552001,"power":12950,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":158704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663799,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:26:27] local.INFO: GPS data processed {"connection_id":158704,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:26:27] local.INFO: Acknowledgment sent {"connection_id":158704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:26:39] local.INFO: TCP Data received {"connection_id":159997,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:26:39] local.INFO: Processing buffer {"connection_id":159997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:26:39] local.INFO: Packet analysis {"connection_id":159997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:26:39] local.INFO: Extracted packet for processing {"connection_id":159997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500515584001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787111690000,"timestamp_ms":1787111690000,"timestamp_seconds":1787111690,"priority":1,"record_length":96,"hex_timestamp":"000001a018284f10"} 
[2026-08-19 09:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 09:26:39] 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-08-19 09: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-08-19 09:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:26:39] 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-08-19 09:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500515584001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500515584001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:26:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500515584001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":159997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:26:39] local.INFO: GPS data processed {"connection_id":159997,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:26:39] local.INFO: Acknowledgment sent {"connection_id":159997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:26:52] local.INFO: TCP Data received {"connection_id":158703,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0182958b0012d0b81c00704be600014007a1f..."} 
[2026-08-19 09:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182958b0012d0b81c00704be600014007a1f..."} 
[2026-08-19 09:26:52] local.INFO: Processing buffer {"connection_id":158703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182958b0012d0b81c00704be600014007a1f..."} 
[2026-08-19 09:26:52] local.INFO: Packet analysis {"connection_id":158703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01829"} 
[2026-08-19 09:26:52] local.INFO: Extracted packet for processing {"connection_id":158703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01829"} 
[2026-08-19 09:26:52] local.INFO: GPS Element Parsed {"raw_longitude":755728832,"raw_latitude":117751392,"longitude_deg":75.5728832,"latitude_deg":11.7751392,"altitude":20,"angle":122,"satellites":31,"speed":19,"hex_longitude":"2d0b81c0","hex_latitude":"0704be60","is_valid_coordinates":true} 
[2026-08-19 09:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500609792001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28777577963323392,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828732730324776960,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787111758000,"timestamp_ms":1787111758000,"timestamp_seconds":1787111758,"priority":1,"record_length":96,"hex_timestamp":"000001a0182958b0"} 
[2026-08-19 09:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:26: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-08-19 09:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 09:26: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-08-19 09:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":158703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":158703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":158703,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500609792001,"66":14407,"96":206,"94":10240,"24":19,"16":28777577963323392,"45":828732730324776960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-19 09:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500609792001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:26:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 09:26:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28777577963323392,"km_value":28777577963323.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":828732730324776960,"description":"Unknown IO ID 45"} 
[2026-08-19 09:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500609792001,"power":14407,"unknown_96":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":828732730324776960}} 
[2026-08-19 09:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":158703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663801,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:26:52] local.INFO: GPS data processed {"connection_id":158703,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:26:52] local.INFO: Acknowledgment sent {"connection_id":158703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:26:59] local.INFO: TCP Data received {"connection_id":158704,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:26:59] local.INFO: Processing buffer {"connection_id":158704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:26:59] local.INFO: Packet analysis {"connection_id":158704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:26:59] local.INFO: Extracted packet for processing {"connection_id":158704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500503552001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26: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-08-19 09:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787111644000,"timestamp_ms":1787111644000,"timestamp_seconds":1787111644,"priority":1,"record_length":96,"hex_timestamp":"000001a018279b60"} 
[2026-08-19 09:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:26: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-08-19 09: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":12,"data_length":795,"current_offset":136} 
[2026-08-19 09:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623377,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:59] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57345,"corrected_to":0} 
[2026-08-19 09:26:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993959051518541824,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632500151404909,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-19 09:26:59] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2550214013,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:59] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147871756,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:59] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607153993,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:59] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960270848,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:59] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030198394945536,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:59] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775644258160215,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:59] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 09:26:59] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,110,87,24,241,157,16,209,160,247,45,128,12,29,10,66,173,1,240,40,227,236,4,113,205,9,52,239,50,109,2,172,5,125,51,54],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":247,"original":57345,"validated":0},{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-19 09:26:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196950020325376,"timestamp_seconds":196950020325.376,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":158704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":158704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":158704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:26:59] 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-08-19 09:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500503552001,"66":12950,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500503552001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:26:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:26:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500503552001,"power":12950,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":158704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:26:59] local.INFO: GPS data processed {"connection_id":158704,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:26:59] local.INFO: Acknowledgment sent {"connection_id":158704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:26:59] local.INFO: TCP Data received {"connection_id":157819,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:26:59] local.INFO: Processing buffer {"connection_id":157819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:26:59] local.INFO: IMEI packet received {"connection_id":157819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":157819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:27:05] local.INFO: TCP Data received {"connection_id":157819,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:27:05] local.INFO: Processing buffer {"connection_id":157819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:27:05] local.INFO: IMEI packet received {"connection_id":157819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":157819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:27:06] local.INFO: TCP Data received {"connection_id":157819,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:27:06] local.INFO: Processing buffer {"connection_id":157819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:27:06] local.INFO: Packet analysis {"connection_id":157819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:27:06] local.INFO: Extracted packet for processing {"connection_id":157819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:27:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500515584001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787111690000,"timestamp_ms":1787111690000,"timestamp_seconds":1787111690,"priority":1,"record_length":96,"hex_timestamp":"000001a018284f10"} 
[2026-08-19 09:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 09:27:06] 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-08-19 09:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:27:06] 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-08-19 09:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500515584001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500515584001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:27:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:27:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500515584001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":157819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:27:06] local.INFO: GPS data processed {"connection_id":157819,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:27:06] local.INFO: Acknowledgment sent {"connection_id":157819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:27:14] local.INFO: TCP Data received {"connection_id":159998,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159998,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:27:14] local.INFO: Processing buffer {"connection_id":159998,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:27:14] local.INFO: IMEI packet received {"connection_id":159998,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":159998,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:27:19] local.INFO: TCP Data received {"connection_id":159998,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159998,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:27:19] local.INFO: Processing buffer {"connection_id":159998,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:27:19] local.INFO: IMEI packet received {"connection_id":159998,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":159998,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:27:20] local.INFO: TCP Data received {"connection_id":159998,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0182a0490012d0c21400704c7400016004e1d..."} 
[2026-08-19 09:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182a0490012d0c21400704c7400016004e1d..."} 
[2026-08-19 09:27:20] local.INFO: Processing buffer {"connection_id":159998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182a0490012d0c21400704c7400016004e1d..."} 
[2026-08-19 09:27:20] local.INFO: Packet analysis {"connection_id":159998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182a"} 
[2026-08-19 09:27:20] local.INFO: Extracted packet for processing {"connection_id":159998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182a"} 
[2026-08-19 09:27:20] local.INFO: GPS Element Parsed {"raw_longitude":755769664,"raw_latitude":117753664,"longitude_deg":75.5769664,"latitude_deg":11.7753664,"altitude":22,"angle":78,"satellites":29,"speed":44,"hex_longitude":"2d0c2140","hex_latitude":"0704c740","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500619008001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28779557943246848,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863283783716104192,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27: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-08-19 09:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787111802000,"timestamp_ms":1787111802000,"timestamp_seconds":1787111802,"priority":1,"record_length":96,"hex_timestamp":"000001a0182a0490"} 
[2026-08-19 09:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:27: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-08-19 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 09:27: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-08-19 09: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-08-19 09:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":159998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":159998,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":159998,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500619008001,"66":14461,"96":206,"94":10240,"24":44,"16":28779557943246848,"45":863283783716104192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-19 09:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500619008001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:27:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 09:27:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28779557943246848,"km_value":28779557943246.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":863283783716104192,"description":"Unknown IO ID 45"} 
[2026-08-19 09:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500619008001,"power":14461,"unknown_96":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_45":863283783716104192}} 
[2026-08-19 09:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":159998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663804,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:27:20] local.INFO: GPS data processed {"connection_id":159998,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:27:20] local.INFO: Acknowledgment sent {"connection_id":159998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:27:20] local.INFO: TCP Data received {"connection_id":157820,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:27:20] local.INFO: Processing buffer {"connection_id":157820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:27:20] local.INFO: IMEI packet received {"connection_id":157820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":157820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:27:25] local.INFO: TCP Data received {"connection_id":157820,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:27:25] local.INFO: Processing buffer {"connection_id":157820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:27:25] local.INFO: IMEI packet received {"connection_id":157820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":157820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:27:26] local.INFO: TCP Data received {"connection_id":157820,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:27:26] local.INFO: Processing buffer {"connection_id":157820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:27:26] local.INFO: Packet analysis {"connection_id":157820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:27:26] local.INFO: Extracted packet for processing {"connection_id":157820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:27:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500503552001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:26] 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-08-19 09:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787111644000,"timestamp_ms":1787111644000,"timestamp_seconds":1787111644,"priority":1,"record_length":96,"hex_timestamp":"000001a018279b60"} 
[2026-08-19 09:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:27:26] 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-08-19 09: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 09:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623377,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:26] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57345,"corrected_to":0} 
[2026-08-19 09:27:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993959051518541824,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632500151404909,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-19 09:27:26] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2550214013,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:26] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147871756,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:26] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607153993,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:26] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960270848,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:26] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030198394945536,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:26] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775644258160215,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:26] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:26] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,110,87,24,241,157,16,209,160,247,45,128,12,29,10,66,173,1,240,40,227,236,4,113,205,9,52,239,50,109,2,172,5,125,51,54],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":247,"original":57345,"validated":0},{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-19 09:27:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196950020325376,"timestamp_seconds":196950020325.376,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:27:26] 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-08-19 09:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500503552001,"66":12950,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500503552001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:27:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:27:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500503552001,"power":12950,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":157820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:27:26] local.INFO: GPS data processed {"connection_id":157820,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:27:26] local.INFO: Acknowledgment sent {"connection_id":157820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:27:37] local.INFO: TCP Data received {"connection_id":157819,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:27:37] local.INFO: Processing buffer {"connection_id":157819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:27:37] local.INFO: Packet analysis {"connection_id":157819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:27:37] local.INFO: Extracted packet for processing {"connection_id":157819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500515584001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787111690000,"timestamp_ms":1787111690000,"timestamp_seconds":1787111690,"priority":1,"record_length":96,"hex_timestamp":"000001a018284f10"} 
[2026-08-19 09:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 09:27:37] 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-08-19 09: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-08-19 09:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:27:37] 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-08-19 09:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500515584001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500515584001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:27:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500515584001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":157819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:27:37] local.INFO: GPS data processed {"connection_id":157819,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:27:37] local.INFO: Acknowledgment sent {"connection_id":157819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:27:51] local.INFO: TCP Data received {"connection_id":159998,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0182a23d0012d0c46400704ccf8001700531d..."} 
[2026-08-19 09:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182a23d0012d0c46400704ccf8001700531d..."} 
[2026-08-19 09:27:51] local.INFO: Processing buffer {"connection_id":159998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182a23d0012d0c46400704ccf8001700531d..."} 
[2026-08-19 09:27:51] local.INFO: Packet analysis {"connection_id":159998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182a"} 
[2026-08-19 09:27:51] local.INFO: Extracted packet for processing {"connection_id":159998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182a"} 
[2026-08-19 09:27:51] local.INFO: GPS Element Parsed {"raw_longitude":755779136,"raw_latitude":117755128,"longitude_deg":75.5779136,"latitude_deg":11.7755128,"altitude":23,"angle":83,"satellites":29,"speed":39,"hex_longitude":"2d0c4640","hex_latitude":"0704ccf8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500621312001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28780013209780224,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874050201575702528,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:51] 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-08-19 09:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787111810000,"timestamp_ms":1787111810000,"timestamp_seconds":1787111810,"priority":1,"record_length":96,"hex_timestamp":"000001a0182a23d0"} 
[2026-08-19 09:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 09:27: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-08-19 09: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-08-19 09:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":159998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":159998,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":159998,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500621312001,"66":14515,"96":206,"94":10240,"24":39,"16":28780013209780224,"45":874050201575702528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-19 09:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500621312001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:27:51] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 09:27:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28780013209780224,"km_value":28780013209780.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":874050201575702528,"description":"Unknown IO ID 45"} 
[2026-08-19 09:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500621312001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":874050201575702528}} 
[2026-08-19 09:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":159998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663807,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:27:52] local.INFO: GPS data processed {"connection_id":159998,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:27:52] local.INFO: Acknowledgment sent {"connection_id":159998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:27:58] local.INFO: TCP Data received {"connection_id":157820,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:27:58] local.INFO: Processing buffer {"connection_id":157820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:27:58] local.INFO: Packet analysis {"connection_id":157820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:27:58] local.INFO: Extracted packet for processing {"connection_id":157820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:27:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500503552001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:58] 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-08-19 09:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787111644000,"timestamp_ms":1787111644000,"timestamp_seconds":1787111644,"priority":1,"record_length":96,"hex_timestamp":"000001a018279b60"} 
[2026-08-19 09:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:27: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-08-19 09: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 09:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623377,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:58] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57345,"corrected_to":0} 
[2026-08-19 09:27:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993959051518541824,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632500151404909,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-19 09:27:58] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2550214013,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:58] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147871756,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:58] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607153993,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:58] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:58] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960270848,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:58] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030198394945536,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:58] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775644258160215,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:58] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 09:27:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,110,87,24,241,157,16,209,160,247,45,128,12,29,10,66,173,1,240,40,227,236,4,113,205,9,52,239,50,109,2,172,5,125,51,54],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":247,"original":57345,"validated":0},{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-19 09:27:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196950020325376,"timestamp_seconds":196950020325.376,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:27:58] 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-08-19 09:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500503552001,"66":12950,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500503552001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:27:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:27:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500503552001,"power":12950,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":157820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:27:58] local.INFO: GPS data processed {"connection_id":157820,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:27:58] local.INFO: Acknowledgment sent {"connection_id":157820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:27:59] local.INFO: TCP Data received {"connection_id":159999,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:27:59] local.INFO: Processing buffer {"connection_id":159999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:27:59] local.INFO: IMEI packet received {"connection_id":159999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":159999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:28:05] local.INFO: TCP Data received {"connection_id":159999,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:28:05] local.INFO: Processing buffer {"connection_id":159999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:28:05] local.INFO: IMEI packet received {"connection_id":159999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":159999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:28:06] local.INFO: TCP Data received {"connection_id":159999,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:28:06] local.INFO: Processing buffer {"connection_id":159999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:28:06] local.INFO: Packet analysis {"connection_id":159999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:28:06] local.INFO: Extracted packet for processing {"connection_id":159999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:28:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500515584001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787111690000,"timestamp_ms":1787111690000,"timestamp_seconds":1787111690,"priority":1,"record_length":96,"hex_timestamp":"000001a018284f10"} 
[2026-08-19 09:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 09:28:06] 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-08-19 09: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-08-19 09:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:28:06] 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-08-19 09:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500515584001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500515584001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:28:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:28:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500515584001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":159999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:28:06] local.INFO: GPS data processed {"connection_id":159999,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:28:06] local.INFO: Acknowledgment sent {"connection_id":159999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:28:20] local.INFO: TCP Data received {"connection_id":157446,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:28:20] local.INFO: Processing buffer {"connection_id":157446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:28:20] local.INFO: IMEI packet received {"connection_id":157446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":157446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:28:26] local.INFO: TCP Data received {"connection_id":157446,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:28:26] local.INFO: Processing buffer {"connection_id":157446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:28:26] local.INFO: IMEI packet received {"connection_id":157446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":157446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:28:29] local.INFO: TCP Data received {"connection_id":157446,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:28:29] local.INFO: Processing buffer {"connection_id":157446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:28:29] local.INFO: Packet analysis {"connection_id":157446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:28:29] local.INFO: Extracted packet for processing {"connection_id":157446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:28:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500503552001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:29] 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-08-19 09:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787111644000,"timestamp_ms":1787111644000,"timestamp_seconds":1787111644,"priority":1,"record_length":96,"hex_timestamp":"000001a018279b60"} 
[2026-08-19 09:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:28:29] 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-08-19 09:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 09:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623377,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:29] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57345,"corrected_to":0} 
[2026-08-19 09:28:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993959051518541824,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:29] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:29] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632500151404909,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-19 09:28:29] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2550214013,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:29] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147871756,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:29] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607153993,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:29] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:29] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960270848,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:29] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030198394945536,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:29] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775644258160215,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:29] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:29] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,110,87,24,241,157,16,209,160,247,45,128,12,29,10,66,173,1,240,40,227,236,4,113,205,9,52,239,50,109,2,172,5,125,51,54],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":247,"original":57345,"validated":0},{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-19 09:28:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196950020325376,"timestamp_seconds":196950020325.376,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":157446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":157446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":157446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:28:29] 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-08-19 09:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500503552001,"66":12950,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500503552001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:28:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:28:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500503552001,"power":12950,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":157446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:28:29] local.INFO: GPS data processed {"connection_id":157446,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:28:29] local.INFO: Acknowledgment sent {"connection_id":157446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:28:39] local.INFO: TCP Data received {"connection_id":159999,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:28:39] local.INFO: Processing buffer {"connection_id":159999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:28:39] local.INFO: Packet analysis {"connection_id":159999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:28:39] local.INFO: Extracted packet for processing {"connection_id":159999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:28:39] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500515584001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787111690000,"timestamp_ms":1787111690000,"timestamp_seconds":1787111690,"priority":1,"record_length":96,"hex_timestamp":"000001a018284f10"} 
[2026-08-19 09:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 09:28:39] 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-08-19 09: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-08-19 09:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:28:39] 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-08-19 09:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500515584001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500515584001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:28:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:28:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500515584001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":159999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:28:39] local.INFO: GPS data processed {"connection_id":159999,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:28:39] local.INFO: Acknowledgment sent {"connection_id":159999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:28:49] local.INFO: TCP Data received {"connection_id":158705,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158705,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:28:49] local.INFO: Processing buffer {"connection_id":158705,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:28:49] local.INFO: IMEI packet received {"connection_id":158705,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":158705,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:28:50] local.INFO: TCP Data received {"connection_id":158705,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158705,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:28:50] local.INFO: Processing buffer {"connection_id":158705,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:28:50] local.INFO: IMEI packet received {"connection_id":158705,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":158705,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:28:50] local.INFO: TCP Data received {"connection_id":158705,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158705,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:28:50] local.INFO: Processing buffer {"connection_id":158705,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:28:50] local.INFO: IMEI packet received {"connection_id":158705,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":158705,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:28:51] local.INFO: TCP Data received {"connection_id":158705,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158705,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:28:51] local.INFO: Processing buffer {"connection_id":158705,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:28:51] local.INFO: IMEI packet received {"connection_id":158705,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":158705,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:28:59] local.INFO: TCP Data received {"connection_id":157447,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:28:59] local.INFO: Processing buffer {"connection_id":157447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:28:59] local.INFO: IMEI packet received {"connection_id":157447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":157447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:29:02] local.INFO: TCP Data received {"connection_id":157446,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:29:02] local.INFO: Processing buffer {"connection_id":157446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018279b60012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:29:02] local.INFO: Packet analysis {"connection_id":157446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:29:02] local.INFO: Extracted packet for processing {"connection_id":157446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01827"} 
[2026-08-19 09:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500503552001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453408768,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:02] 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-08-19 09:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787111644000,"timestamp_ms":1787111644000,"timestamp_seconds":1787111644,"priority":1,"record_length":96,"hex_timestamp":"000001a018279b60"} 
[2026-08-19 09:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 09:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623377,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:02] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57345,"corrected_to":0} 
[2026-08-19 09:29:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993959051518541824,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632500151404909,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-19 09:29:02] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2550214013,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:02] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147871756,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:02] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607153993,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:02] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960270848,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:02] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3783030198394945536,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:02] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775644258160215,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:02] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:02] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,110,87,24,241,157,16,209,160,247,45,128,12,29,10,66,173,1,240,40,227,236,4,113,205,9,52,239,50,109,2,172,5,125,51,54],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":247,"original":57345,"validated":0},{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-19 09:29:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196950020325376,"timestamp_seconds":196950020325.376,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 09:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":157446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":157446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":157446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:29:02] 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-08-19 09:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500503552001,"66":12950,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9021976716453408768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500503552001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:29:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:29:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453408768,"description":"Unknown IO ID 45"} 
[2026-08-19 09:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500503552001,"power":12950,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021976716453408768}} 
[2026-08-19 09:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":157446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:29:02] local.INFO: GPS data processed {"connection_id":157446,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:29:02] local.INFO: Acknowledgment sent {"connection_id":157446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:29:05] local.INFO: TCP Data received {"connection_id":157447,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:29:05] local.INFO: Processing buffer {"connection_id":157447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:29:05] local.INFO: IMEI packet received {"connection_id":157447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":157447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:29:06] local.INFO: TCP Data received {"connection_id":157447,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:29:06] local.INFO: Processing buffer {"connection_id":157447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:29:06] local.INFO: Packet analysis {"connection_id":157447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:29:06] local.INFO: Extracted packet for processing {"connection_id":157447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:29:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500515584001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787111690000,"timestamp_ms":1787111690000,"timestamp_seconds":1787111690,"priority":1,"record_length":96,"hex_timestamp":"000001a018284f10"} 
[2026-08-19 09:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 09:29:06] 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-08-19 09: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-08-19 09:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:29:06] 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-08-19 09:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500515584001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500515584001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:29:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:29:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500515584001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":157447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:29:06] local.INFO: GPS data processed {"connection_id":157447,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:29:06] local.INFO: Acknowledgment sent {"connection_id":157447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:29:25] local.INFO: TCP Data received {"connection_id":160000,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:29:25] local.INFO: Processing buffer {"connection_id":160000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:29:25] local.INFO: IMEI packet received {"connection_id":160000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":160000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:29:30] local.INFO: TCP Data received {"connection_id":160000,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:29:30] local.INFO: Processing buffer {"connection_id":160000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:29:30] local.INFO: IMEI packet received {"connection_id":160000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":160000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:29:31] local.INFO: TCP Data received {"connection_id":160000,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0182c1bb8012d7d370005ec09e8000000b31f..."} 
[2026-08-19 09:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182c1bb8012d7d370005ec09e8000000b31f..."} 
[2026-08-19 09:29:31] local.INFO: Processing buffer {"connection_id":160000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182c1bb8012d7d370005ec09e8000000b31f..."} 
[2026-08-19 09:29:31] local.INFO: Packet analysis {"connection_id":160000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:29:31] local.INFO: Extracted packet for processing {"connection_id":160000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:29:31] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":31,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500580864001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29: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-08-19 09:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787111939000,"timestamp_ms":1787111939000,"timestamp_seconds":1787111939,"priority":1,"record_length":96,"hex_timestamp":"000001a0182c1bb8"} 
[2026-08-19 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-08-19 09:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 09:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 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-08-19 09:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:29:31] 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-08-19 09:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500580864001,"66":12689,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500580864001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:29:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:29:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500580864001,"power":12689,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":160000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:29:31] local.INFO: GPS data processed {"connection_id":160000,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:29:31] local.INFO: Acknowledgment sent {"connection_id":160000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:29:36] local.INFO: TCP Data received {"connection_id":160000,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0182c1bb8012d7d370005ec09e8000000b31f..."} 
[2026-08-19 09:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182c1bb8012d7d370005ec09e8000000b31f..."} 
[2026-08-19 09:29:36] local.INFO: Processing buffer {"connection_id":160000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182c1bb8012d7d370005ec09e8000000b31f..."} 
[2026-08-19 09:29:36] local.INFO: Packet analysis {"connection_id":160000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:29:36] local.INFO: Extracted packet for processing {"connection_id":160000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:29:36] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":31,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:29:36] 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-08-19 09:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500656384001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:36] 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-08-19 09:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787111939000,"timestamp_ms":1787111939000,"timestamp_seconds":1787111939,"priority":1,"record_length":96,"hex_timestamp":"000001a0182c1bb8"} 
[2026-08-19 09:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:29: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-08-19 09:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500656384001,"66":12689,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500656384001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:29:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:29:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500656384001,"power":12689,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":160000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:29:36] local.INFO: GPS data processed {"connection_id":160000,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:29:36] local.INFO: Acknowledgment sent {"connection_id":160000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:29:38] local.INFO: TCP Data received {"connection_id":157447,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:29:38] local.INFO: Processing buffer {"connection_id":157447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:29:38] local.INFO: Packet analysis {"connection_id":157447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:29:38] local.INFO: Extracted packet for processing {"connection_id":157447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500515584001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787111690000,"timestamp_ms":1787111690000,"timestamp_seconds":1787111690,"priority":1,"record_length":96,"hex_timestamp":"000001a018284f10"} 
[2026-08-19 09:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 09:29:38] 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-08-19 09:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:29:38] 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-08-19 09:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500515584001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500515584001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:29:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500515584001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":157447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:29:38] local.INFO: GPS data processed {"connection_id":157447,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:29:38] local.INFO: Acknowledgment sent {"connection_id":157447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:30:05] local.INFO: TCP Data received {"connection_id":157448,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:30:05] local.INFO: Processing buffer {"connection_id":157448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:30:05] local.INFO: IMEI packet received {"connection_id":157448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":157448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:30:10] local.INFO: TCP Data received {"connection_id":157448,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:30:10] local.INFO: Processing buffer {"connection_id":157448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:30:10] local.INFO: IMEI packet received {"connection_id":157448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":157448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:30:12] local.INFO: TCP Data received {"connection_id":157448,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:30:12] local.INFO: Processing buffer {"connection_id":157448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018284f10012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:30:12] local.INFO: Packet analysis {"connection_id":157448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:30:12] local.INFO: Extracted packet for processing {"connection_id":157448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01828"} 
[2026-08-19 09:30:12] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500515584001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787111690000,"timestamp_ms":1787111690000,"timestamp_seconds":1787111690,"priority":1,"record_length":96,"hex_timestamp":"000001a018284f10"} 
[2026-08-19 09:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:30:12] 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-08-19 09:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 09:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500515584001,"66":25778,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500515584001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:30:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:30:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500515584001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":157448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:30:12] local.INFO: GPS data processed {"connection_id":157448,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:30:12] local.INFO: Acknowledgment sent {"connection_id":157448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:30:20] local.INFO: TCP Data received {"connection_id":160001,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:30:20] local.INFO: Processing buffer {"connection_id":160001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:30:20] local.INFO: IMEI packet received {"connection_id":160001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":160001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:30:25] local.INFO: TCP Data received {"connection_id":160001,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:30:25] local.INFO: Processing buffer {"connection_id":160001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:30:25] local.INFO: IMEI packet received {"connection_id":160001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":160001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:30:26] local.INFO: TCP Data received {"connection_id":160001,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:30:26] local.INFO: Processing buffer {"connection_id":160001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:30:26] local.INFO: Packet analysis {"connection_id":160001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:30:26] local.INFO: Extracted packet for processing {"connection_id":160001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:30:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":29,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500656384001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:30:26] 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-08-19 09:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787111945000,"timestamp_ms":1787111945000,"timestamp_seconds":1787111945,"priority":1,"record_length":96,"hex_timestamp":"000001a0182c3328"} 
[2026-08-19 09:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:30: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-08-19 09:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:30:26] 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-08-19 09:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500656384001,"66":3242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500656384001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:30:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:30:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500656384001,"power":3242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":160001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:30:26] local.INFO: GPS data processed {"connection_id":160001,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:30:26] local.INFO: Acknowledgment sent {"connection_id":160001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:30:43] local.INFO: TCP Data received {"connection_id":157448,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:30:43] local.INFO: Processing buffer {"connection_id":157448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:30:43] local.INFO: Packet analysis {"connection_id":157448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:30:43] local.INFO: Extracted packet for processing {"connection_id":157448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500592640001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787111991000,"timestamp_ms":1787111991000,"timestamp_seconds":1787111991,"priority":1,"record_length":96,"hex_timestamp":"000001a0182ce6d8"} 
[2026-08-19 09:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:30:43] 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-08-19 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 09:30:43] 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-08-19 09: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-08-19 09:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500592640001,"66":25745,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500592640001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:30:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:30:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500592640001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":157448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:30:43] local.INFO: GPS data processed {"connection_id":157448,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:30:43] local.INFO: Acknowledgment sent {"connection_id":157448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:30:58] local.INFO: TCP Data received {"connection_id":160001,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:30:58] local.INFO: Processing buffer {"connection_id":160001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:30:58] local.INFO: Packet analysis {"connection_id":160001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:30:58] local.INFO: Extracted packet for processing {"connection_id":160001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":29,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500656384001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:30:58] 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-08-19 09:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787111945000,"timestamp_ms":1787111945000,"timestamp_seconds":1787111945,"priority":1,"record_length":96,"hex_timestamp":"000001a0182c3328"} 
[2026-08-19 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-08-19 09:30: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-08-19 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:30:58] 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-08-19 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-08-19 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-08-19 09:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:30:58] 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-08-19 09:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500656384001,"66":3242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500656384001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:30:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:30:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500656384001,"power":3242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":160001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:30:58] local.INFO: GPS data processed {"connection_id":160001,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:30:58] local.INFO: Acknowledgment sent {"connection_id":160001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:31:00] local.INFO: TCP Data received {"connection_id":158706,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:31:00] local.INFO: Processing buffer {"connection_id":158706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:31:00] local.INFO: IMEI packet received {"connection_id":158706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":158706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:31:05] local.INFO: TCP Data received {"connection_id":158706,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:31:05] local.INFO: Processing buffer {"connection_id":158706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:31:05] local.INFO: IMEI packet received {"connection_id":158706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":158706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:31:07] local.INFO: TCP Data received {"connection_id":158706,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:31:07] local.INFO: Processing buffer {"connection_id":158706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:31:07] local.INFO: Packet analysis {"connection_id":158706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:31:07] local.INFO: Extracted packet for processing {"connection_id":158706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500592640001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787111991000,"timestamp_ms":1787111991000,"timestamp_seconds":1787111991,"priority":1,"record_length":96,"hex_timestamp":"000001a0182ce6d8"} 
[2026-08-19 09:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 09:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:31:07] 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-08-19 09:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500592640001,"66":25745,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500592640001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:31:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500592640001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":158706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:31:07] local.INFO: GPS data processed {"connection_id":158706,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:31:07] local.INFO: Acknowledgment sent {"connection_id":158706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:31:20] local.INFO: TCP Data received {"connection_id":160002,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:31:20] local.INFO: Processing buffer {"connection_id":160002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:31:20] local.INFO: IMEI packet received {"connection_id":160002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":160002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:31:25] local.INFO: TCP Data received {"connection_id":160002,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:31:25] local.INFO: Processing buffer {"connection_id":160002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:31:25] local.INFO: IMEI packet received {"connection_id":160002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":160002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:31:26] local.INFO: TCP Data received {"connection_id":160002,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:31:26] local.INFO: Processing buffer {"connection_id":160002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:31:26] local.INFO: Packet analysis {"connection_id":160002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:31:26] local.INFO: Extracted packet for processing {"connection_id":160002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":29,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:31: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-08-19 09:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500656384001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:31:26] 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-08-19 09:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787111945000,"timestamp_ms":1787111945000,"timestamp_seconds":1787111945,"priority":1,"record_length":96,"hex_timestamp":"000001a0182c3328"} 
[2026-08-19 09:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:31: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-08-19 09:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:31: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-08-19 09:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:31:26] 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-08-19 09:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500656384001,"66":3242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500656384001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:31:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:31:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500656384001,"power":3242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":160002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:31:26] local.INFO: GPS data processed {"connection_id":160002,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:31:26] local.INFO: Acknowledgment sent {"connection_id":160002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:31:40] local.INFO: TCP Data received {"connection_id":158706,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:31:40] local.INFO: Processing buffer {"connection_id":158706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:31:40] local.INFO: Packet analysis {"connection_id":158706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:31:40] local.INFO: Extracted packet for processing {"connection_id":158706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:31:40] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500592640001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787111991000,"timestamp_ms":1787111991000,"timestamp_seconds":1787111991,"priority":1,"record_length":96,"hex_timestamp":"000001a0182ce6d8"} 
[2026-08-19 09:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 09:31:40] 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-08-19 09:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:31:40] 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-08-19 09:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500592640001,"66":25745,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500592640001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:31:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:31:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500592640001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":158706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:31:40] local.INFO: GPS data processed {"connection_id":158706,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:31:40] local.INFO: Acknowledgment sent {"connection_id":158706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:31:58] local.INFO: TCP Data received {"connection_id":160002,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:31:58] local.INFO: Processing buffer {"connection_id":160002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:31:58] local.INFO: Packet analysis {"connection_id":160002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:31:58] local.INFO: Extracted packet for processing {"connection_id":160002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":29,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500656384001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:31:58] 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-08-19 09:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787111945000,"timestamp_ms":1787111945000,"timestamp_seconds":1787111945,"priority":1,"record_length":96,"hex_timestamp":"000001a0182c3328"} 
[2026-08-19 09:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09: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-08-19 09: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:31:58] 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-08-19 09: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-08-19 09:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:31:58] 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-08-19 09:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500656384001,"66":3242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500656384001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:31:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:31:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500656384001,"power":3242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":160002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:31:58] local.INFO: GPS data processed {"connection_id":160002,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:31:58] local.INFO: Acknowledgment sent {"connection_id":160002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:31:59] local.INFO: TCP Data received {"connection_id":157449,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:31:59] local.INFO: Processing buffer {"connection_id":157449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:31:59] local.INFO: IMEI packet received {"connection_id":157449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":157449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:32:05] local.INFO: TCP Data received {"connection_id":157449,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:32:05] local.INFO: Processing buffer {"connection_id":157449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:32:05] local.INFO: IMEI packet received {"connection_id":157449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":157449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:32:13] local.INFO: TCP Data received {"connection_id":157449,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:32:13] local.INFO: Processing buffer {"connection_id":157449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:32:13] local.INFO: Packet analysis {"connection_id":157449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:32:13] local.INFO: Extracted packet for processing {"connection_id":157449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:32:13] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500592640001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787111991000,"timestamp_ms":1787111991000,"timestamp_seconds":1787111991,"priority":1,"record_length":96,"hex_timestamp":"000001a0182ce6d8"} 
[2026-08-19 09:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:32:13] 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-08-19 09:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 09:32:13] 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-08-19 09:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500592640001,"66":25745,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500592640001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:32:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:32:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500592640001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":157449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:32:13] local.INFO: GPS data processed {"connection_id":157449,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:32:13] local.INFO: Acknowledgment sent {"connection_id":157449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:32:17] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:32:17] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:32:17] local.INFO: IMEI packet received {"connection_id":160003,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":160003,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:32:19] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:32:19] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:32:19] local.INFO: IMEI packet received {"connection_id":160003,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":160003,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:32:20] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:32:20] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:32:20] local.INFO: IMEI packet received {"connection_id":160003,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":160003,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:32:20] local.INFO: TCP Data received {"connection_id":157821,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:32:20] local.INFO: Processing buffer {"connection_id":157821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:32:20] local.INFO: IMEI packet received {"connection_id":157821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":157821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:32:21] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:32:21] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:32:21] local.INFO: IMEI packet received {"connection_id":160003,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":160003,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:32:22] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0182eb3c8012d0c8e000704d8c0001b009d19..."} 
[2026-08-19 09:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182eb3c8012d0c8e000704d8c0001b009d19..."} 
[2026-08-19 09:32:22] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182eb3c8012d0c8e000704d8c0001b009d19..."} 
[2026-08-19 09:32:22] local.INFO: Packet analysis {"connection_id":160003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182e"} 
[2026-08-19 09:32:22] local.INFO: Extracted packet for processing {"connection_id":160003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182e"} 
[2026-08-19 09:32:22] local.INFO: GPS Element Parsed {"raw_longitude":755797504,"raw_latitude":117758144,"longitude_deg":75.5797504,"latitude_deg":11.7758144,"altitude":27,"angle":157,"satellites":25,"speed":0,"hex_longitude":"2d0c8e00","hex_latitude":"0704d8c0","is_valid_coordinates":true} 
[2026-08-19 09:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28785901609943040,"note":"Value kept but may cause issues"} 
[2026-08-19 09:32:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,95,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 09:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787112109000,"timestamp_ms":1787112109000,"timestamp_seconds":1787112109,"priority":1,"record_length":96,"hex_timestamp":"000001a0182eb3c8"} 
[2026-08-19 09:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:32: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 09:32: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-08-19 09:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14396,"95":206,"94":10240,"24":0,"16":28785901609943040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16]} 
[2026-08-19 09:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-19 09:32:22] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 09:32:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28785901609943040,"km_value":28785901609943.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:32:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null}} 
[2026-08-19 09:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":160003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663826,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:32:22] local.INFO: GPS data processed {"connection_id":160003,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:32:22] local.INFO: Acknowledgment sent {"connection_id":160003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:32:25] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0182ef248012d0c90c00704d2c80019008c20..."} 
[2026-08-19 09:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182ef248012d0c90c00704d2c80019008c20..."} 
[2026-08-19 09:32:25] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182ef248012d0c90c00704d2c80019008c20..."} 
[2026-08-19 09:32:25] local.INFO: Packet analysis {"connection_id":160003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182e"} 
[2026-08-19 09:32:25] local.INFO: Extracted packet for processing {"connection_id":160003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182e"} 
[2026-08-19 09:32:25] local.INFO: GPS Element Parsed {"raw_longitude":755798208,"raw_latitude":117756616,"longitude_deg":75.5798208,"latitude_deg":11.7756616,"altitude":25,"angle":140,"satellites":32,"speed":13,"hex_longitude":"2d0c90c0","hex_latitude":"0704d2c8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500699904001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28785991804256256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904660605294133248,"note":"Value kept but may cause issues"} 
[2026-08-19 09:32: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-08-19 09:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787112125000,"timestamp_ms":1787112125000,"timestamp_seconds":1787112125,"priority":1,"record_length":96,"hex_timestamp":"000001a0182ef248"} 
[2026-08-19 09:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:32: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-08-19 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 09:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500699904001,"66":14450,"95":206,"94":10240,"24":13,"16":28785991804256256,"45":904660605294133248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-19 09:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500699904001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:32:25] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 09:32:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28785991804256256,"km_value":28785991804256.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":904660605294133248,"description":"Unknown IO ID 45"} 
[2026-08-19 09:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500699904001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":904660605294133248}} 
[2026-08-19 09:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":160003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663827,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:32:25] local.INFO: GPS data processed {"connection_id":160003,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:32:25] local.INFO: Acknowledgment sent {"connection_id":160003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:32:25] local.INFO: TCP Data received {"connection_id":157821,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:32:25] local.INFO: Processing buffer {"connection_id":157821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:32:25] local.INFO: IMEI packet received {"connection_id":157821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":157821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:32:26] local.INFO: TCP Data received {"connection_id":157821,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:32:26] local.INFO: Processing buffer {"connection_id":157821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:32:26] local.INFO: Packet analysis {"connection_id":157821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:32:26] local.INFO: Extracted packet for processing {"connection_id":157821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:32:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":29,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500656384001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:32:26] 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-08-19 09:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787111945000,"timestamp_ms":1787111945000,"timestamp_seconds":1787111945,"priority":1,"record_length":96,"hex_timestamp":"000001a0182c3328"} 
[2026-08-19 09:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:32: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-08-19 09:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:32:26] 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-08-19 09:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500656384001,"66":3242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500656384001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:32:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:32:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500656384001,"power":3242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":157821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:32:26] local.INFO: GPS data processed {"connection_id":157821,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:32:26] local.INFO: Acknowledgment sent {"connection_id":157821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:32:47] local.INFO: TCP Data received {"connection_id":157449,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:32:47] local.INFO: Processing buffer {"connection_id":157449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:32:47] local.INFO: Packet analysis {"connection_id":157449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:32:47] local.INFO: Extracted packet for processing {"connection_id":157449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500592640001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09: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-08-19 09:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787111991000,"timestamp_ms":1787111991000,"timestamp_seconds":1787111991,"priority":1,"record_length":96,"hex_timestamp":"000001a0182ce6d8"} 
[2026-08-19 09:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:32: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-08-19 09:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 09:32: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-08-19 09:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:32: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-08-19 09:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500592640001,"66":25745,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500592640001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:32:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500592640001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":157449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:32:47] local.INFO: GPS data processed {"connection_id":157449,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:32:47] local.INFO: Acknowledgment sent {"connection_id":157449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:32:59] local.INFO: TCP Data received {"connection_id":157821,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:32:59] local.INFO: Processing buffer {"connection_id":157821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:32:59] local.INFO: Packet analysis {"connection_id":157821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:32:59] local.INFO: Extracted packet for processing {"connection_id":157821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:32:59] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":29,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500656384001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:32: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-08-19 09:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787111945000,"timestamp_ms":1787111945000,"timestamp_seconds":1787111945,"priority":1,"record_length":96,"hex_timestamp":"000001a0182c3328"} 
[2026-08-19 09:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:32: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-08-19 09:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":157821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":157821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":157821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:32:59] 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-08-19 09:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500656384001,"66":3242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500656384001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:32:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:32:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500656384001,"power":3242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":157821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:32:59] local.INFO: GPS data processed {"connection_id":157821,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:32:59] local.INFO: Acknowledgment sent {"connection_id":157821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:32:59] local.INFO: TCP Data received {"connection_id":157450,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:32:59] local.INFO: Processing buffer {"connection_id":157450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:32:59] local.INFO: IMEI packet received {"connection_id":157450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":157450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:33:05] local.INFO: TCP Data received {"connection_id":157450,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:33:05] local.INFO: Processing buffer {"connection_id":157450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:33:05] local.INFO: IMEI packet received {"connection_id":157450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":157450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:33:06] local.INFO: TCP Data received {"connection_id":157450,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:33:06] local.INFO: Processing buffer {"connection_id":157450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:33:06] local.INFO: Packet analysis {"connection_id":157450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:33:06] local.INFO: Extracted packet for processing {"connection_id":157450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:33:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500592640001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787111991000,"timestamp_ms":1787111991000,"timestamp_seconds":1787111991,"priority":1,"record_length":96,"hex_timestamp":"000001a0182ce6d8"} 
[2026-08-19 09:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 09:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:33:06] 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-08-19 09:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500592640001,"66":25745,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500592640001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:33:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:33:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500592640001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":157450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:33:06] local.INFO: GPS data processed {"connection_id":157450,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:33:06] local.INFO: Acknowledgment sent {"connection_id":157450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:33:18] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0182ef630012d0c91800704d2080019007b20..."} 
[2026-08-19 09:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182ef630012d0c91800704d2080019007b20..."} 
[2026-08-19 09:33:18] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182ef630012d0c91800704d2080019007b20..."} 
[2026-08-19 09:33:18] local.INFO: Packet analysis {"connection_id":160003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182e"} 
[2026-08-19 09:33:18] local.INFO: Extracted packet for processing {"connection_id":160003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182e"} 
[2026-08-19 09:33:18] local.INFO: GPS Element Parsed {"raw_longitude":755798400,"raw_latitude":117756424,"longitude_deg":75.57984,"latitude_deg":11.7756424,"altitude":25,"angle":123,"satellites":32,"speed":11,"hex_longitude":"2d0c9180","hex_latitude":"0704d208","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500704000001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28786004689158144,"note":"Value kept but may cause issues"} 
[2026-08-19 09:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905434661479696384,"note":"Value kept but may cause issues"} 
[2026-08-19 09:33:18] 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-08-19 09:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787112126000,"timestamp_ms":1787112126000,"timestamp_seconds":1787112126,"priority":1,"record_length":96,"hex_timestamp":"000001a0182ef630"} 
[2026-08-19 09:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 09:33: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-08-19 09: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-08-19 09:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500704000001,"66":14450,"95":206,"94":10240,"24":11,"16":28786004689158144,"45":905434661479696384},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-19 09:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500704000001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:33:18] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 09:33:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28786004689158144,"km_value":28786004689158.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":905434661479696384,"description":"Unknown IO ID 45"} 
[2026-08-19 09:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500704000001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":905434661479696384}} 
[2026-08-19 09:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":160003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663832,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:33:18] local.INFO: GPS data processed {"connection_id":160003,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:33:18] local.INFO: Acknowledgment sent {"connection_id":160003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:33:20] local.INFO: TCP Data received {"connection_id":157451,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:33:20] local.INFO: Processing buffer {"connection_id":157451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:33:20] local.INFO: IMEI packet received {"connection_id":157451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":157451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:33:25] local.INFO: TCP Data received {"connection_id":157451,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:33:25] local.INFO: Processing buffer {"connection_id":157451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:33:25] local.INFO: IMEI packet received {"connection_id":157451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":157451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:33:26] local.INFO: TCP Data received {"connection_id":157451,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:33:26] local.INFO: Processing buffer {"connection_id":157451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:33:26] local.INFO: Packet analysis {"connection_id":157451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:33:26] local.INFO: Extracted packet for processing {"connection_id":157451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:33:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":29,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500656384001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:33:26] 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-08-19 09:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787111945000,"timestamp_ms":1787111945000,"timestamp_seconds":1787111945,"priority":1,"record_length":96,"hex_timestamp":"000001a0182c3328"} 
[2026-08-19 09:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:33: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-08-19 09:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:33:26] 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-08-19 09:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500656384001,"66":3242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500656384001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:33:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:33:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500656384001,"power":3242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":157451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:33:26] local.INFO: GPS data processed {"connection_id":157451,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:33:26] local.INFO: Acknowledgment sent {"connection_id":157451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:33:38] local.INFO: TCP Data received {"connection_id":157450,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:33:38] local.INFO: Processing buffer {"connection_id":157450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:33:38] local.INFO: Packet analysis {"connection_id":157450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:33:38] local.INFO: Extracted packet for processing {"connection_id":157450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500592640001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787111991000,"timestamp_ms":1787111991000,"timestamp_seconds":1787111991,"priority":1,"record_length":96,"hex_timestamp":"000001a0182ce6d8"} 
[2026-08-19 09:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 09:33:38] 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-08-19 09: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-08-19 09:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:33:38] 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-08-19 09:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500592640001,"66":25745,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500592640001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500592640001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":157450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:33:38] local.INFO: GPS data processed {"connection_id":157450,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:33:38] local.INFO: Acknowledgment sent {"connection_id":157450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:33:49] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a018304620012d0d3b800704bb48001e00a220..."} 
[2026-08-19 09:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018304620012d0d3b800704bb48001e00a220..."} 
[2026-08-19 09:33:49] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018304620012d0d3b800704bb48001e00a220..."} 
[2026-08-19 09:33:49] local.INFO: Packet analysis {"connection_id":160003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:33:49] local.INFO: Extracted packet for processing {"connection_id":160003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:33:49] local.INFO: GPS Element Parsed {"raw_longitude":755841920,"raw_latitude":117750600,"longitude_deg":75.584192,"latitude_deg":11.77506,"altitude":30,"angle":162,"satellites":32,"speed":7,"hex_longitude":"2d0d3b80","hex_latitude":"0704bb48","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500722176001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28788190827511808,"note":"Value kept but may cause issues"} 
[2026-08-19 09:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951244713937862656,"note":"Value kept but may cause issues"} 
[2026-08-19 09:33:49] 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-08-19 09:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787112212000,"timestamp_ms":1787112212000,"timestamp_seconds":1787112212,"priority":1,"record_length":96,"hex_timestamp":"000001a018304620"} 
[2026-08-19 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-08-19 09:33: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-08-19 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 09:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 09:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500722176001,"66":13678,"17":206,"94":11008,"24":7,"16":28788190827511808,"45":951244713937862656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 09:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500722176001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:33:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28788190827511808,"km_value":28788190827511.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":951244713937862656,"description":"Unknown IO ID 45"} 
[2026-08-19 09:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500722176001,"power":13678,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":951244713937862656}} 
[2026-08-19 09:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":160003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663835,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:33:49] local.INFO: GPS data processed {"connection_id":160003,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:33:49] local.INFO: Acknowledgment sent {"connection_id":160003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:33:57] local.INFO: TCP Data received {"connection_id":157451,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:33:57] local.INFO: Processing buffer {"connection_id":157451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182c3328012d7d370005ec09e8000000b31d..."} 
[2026-08-19 09:33:57] local.INFO: Packet analysis {"connection_id":157451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:33:57] local.INFO: Extracted packet for processing {"connection_id":157451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:33:57] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":29,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500656384001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:33:57] 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-08-19 09:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787111945000,"timestamp_ms":1787111945000,"timestamp_seconds":1787111945,"priority":1,"record_length":96,"hex_timestamp":"000001a0182c3328"} 
[2026-08-19 09:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:33:57] 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-08-19 09:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500656384001,"66":3242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500656384001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:33:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:33:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500656384001,"power":3242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":157451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:33:58] local.INFO: GPS data processed {"connection_id":157451,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:33:58] local.INFO: Acknowledgment sent {"connection_id":157451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:34:05] local.INFO: TCP Data received {"connection_id":158707,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:34:05] local.INFO: Processing buffer {"connection_id":158707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:34:05] local.INFO: IMEI packet received {"connection_id":158707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":158707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:34:10] local.INFO: TCP Data received {"connection_id":158707,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:34:10] local.INFO: Processing buffer {"connection_id":158707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:34:10] local.INFO: IMEI packet received {"connection_id":158707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":158707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:34:11] local.INFO: TCP Data received {"connection_id":158707,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:34:11] local.INFO: Processing buffer {"connection_id":158707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:34:11] local.INFO: Packet analysis {"connection_id":158707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:34:11] local.INFO: Extracted packet for processing {"connection_id":158707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:34:11] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500592640001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787111991000,"timestamp_ms":1787111991000,"timestamp_seconds":1787111991,"priority":1,"record_length":96,"hex_timestamp":"000001a0182ce6d8"} 
[2026-08-19 09:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:34:11] 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-08-19 09:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 09:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500592640001,"66":25745,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500592640001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:34:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:34:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500592640001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":158707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:34:11] local.INFO: GPS data processed {"connection_id":158707,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:34:11] local.INFO: Acknowledgment sent {"connection_id":158707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:34:16] local.INFO: TCP Data received {"connection_id":158707,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:34:16] local.INFO: Processing buffer {"connection_id":158707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:34:16] local.INFO: Packet analysis {"connection_id":158707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:34:16] local.INFO: Extracted packet for processing {"connection_id":158707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500592640001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787111991000,"timestamp_ms":1787111991000,"timestamp_seconds":1787111991,"priority":1,"record_length":96,"hex_timestamp":"000001a0182ce6d8"} 
[2026-08-19 09:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:34:16] 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-08-19 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 09:34:16] 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-08-19 09: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-08-19 09:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500592640001,"66":25745,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500592640001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:34:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500592640001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":158707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:34:16] local.INFO: GPS data processed {"connection_id":158707,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:34:16] local.INFO: Acknowledgment sent {"connection_id":158707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:34:20] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0183051d8012d0d3bc00704b940001e00b420..."} 
[2026-08-19 09:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183051d8012d0d3bc00704b940001e00b420..."} 
[2026-08-19 09:34:20] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183051d8012d0d3bc00704b940001e00b420..."} 
[2026-08-19 09:34:20] local.INFO: Packet analysis {"connection_id":160003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:34:20] local.INFO: Extracted packet for processing {"connection_id":160003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:34:20] local.INFO: GPS Element Parsed {"raw_longitude":755841984,"raw_latitude":117750080,"longitude_deg":75.5841984,"latitude_deg":11.775008,"altitude":30,"angle":180,"satellites":32,"speed":4,"hex_longitude":"2d0d3bc0","hex_latitude":"0704b940","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500726272001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28788216597315584,"note":"Value kept but may cause issues"} 
[2026-08-19 09:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953496513751500800,"note":"Value kept but may cause issues"} 
[2026-08-19 09:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787112215000,"timestamp_ms":1787112215000,"timestamp_seconds":1787112215,"priority":1,"record_length":96,"hex_timestamp":"000001a0183051d8"} 
[2026-08-19 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-08-19 09:34:20] 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-08-19 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-19 09:34:20] 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-08-19 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-08-19 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-08-19 09:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500726272001,"66":14374,"17":206,"94":11008,"24":4,"16":28788216597315584,"45":953496513751500800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 09:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500726272001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:34:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28788216597315584,"km_value":28788216597315.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":953496513751500800,"description":"Unknown IO ID 45"} 
[2026-08-19 09:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500726272001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":953496513751500800}} 
[2026-08-19 09:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":160003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663839,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:34:20] local.INFO: GPS data processed {"connection_id":160003,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:34:20] local.INFO: Acknowledgment sent {"connection_id":160003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:34:25] local.INFO: TCP Data received {"connection_id":157822,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:34:25] local.INFO: Processing buffer {"connection_id":157822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:34:25] local.INFO: IMEI packet received {"connection_id":157822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":157822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:34:30] local.INFO: TCP Data received {"connection_id":157822,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:34:30] local.INFO: Processing buffer {"connection_id":157822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:34:30] local.INFO: IMEI packet received {"connection_id":157822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":157822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:34:31] local.INFO: TCP Data received {"connection_id":157822,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:34:31] local.INFO: Processing buffer {"connection_id":157822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:34:31] local.INFO: Packet analysis {"connection_id":157822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:34:31] local.INFO: Extracted packet for processing {"connection_id":157822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:34:31] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500657920001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:34: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-08-19 09:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787112246000,"timestamp_ms":1787112246000,"timestamp_seconds":1787112246,"priority":1,"record_length":96,"hex_timestamp":"000001a01830caf0"} 
[2026-08-19 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-08-19 09:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":12,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-19 09:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 09:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":157822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":157822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":157822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:34:31] 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-08-19 09:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500657920001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500657920001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:34:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:34:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500657920001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":157822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:34:31] local.INFO: GPS data processed {"connection_id":157822,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:34:31] local.INFO: Acknowledgment sent {"connection_id":157822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:34:36] local.INFO: TCP Data received {"connection_id":157822,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:34:36] local.INFO: Processing buffer {"connection_id":157822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:34:36] local.INFO: Packet analysis {"connection_id":157822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:34:36] local.INFO: Extracted packet for processing {"connection_id":157822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:34:36] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500657920001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:34:36] 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-08-19 09:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787112246000,"timestamp_ms":1787112246000,"timestamp_seconds":1787112246,"priority":1,"record_length":96,"hex_timestamp":"000001a01830caf0"} 
[2026-08-19 09:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-19 09:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:34: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-08-19 09:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500657920001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500657920001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:34:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:34:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500657920001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":157822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:34:36] local.INFO: GPS data processed {"connection_id":157822,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:34:36] local.INFO: Acknowledgment sent {"connection_id":157822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:34:51] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0183055c0012d0d3bc00704b908001e009720..."} 
[2026-08-19 09:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183055c0012d0d3bc00704b908001e009720..."} 
[2026-08-19 09:34:51] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183055c0012d0d3bc00704b908001e009720..."} 
[2026-08-19 09:34:51] local.INFO: Packet analysis {"connection_id":160003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:34:51] local.INFO: Extracted packet for processing {"connection_id":160003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:34:51] local.INFO: GPS Element Parsed {"raw_longitude":755841984,"raw_latitude":117750024,"longitude_deg":75.5841984,"latitude_deg":11.7750024,"altitude":30,"angle":151,"satellites":32,"speed":0,"hex_longitude":"2d0d3bc0","hex_latitude":"0704b908","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500727040001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28788216597315584,"note":"Value kept but may cause issues"} 
[2026-08-19 09:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953566882495545344,"note":"Value kept but may cause issues"} 
[2026-08-19 09:34: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-08-19 09:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787112216000,"timestamp_ms":1787112216000,"timestamp_seconds":1787112216,"priority":1,"record_length":96,"hex_timestamp":"000001a0183055c0"} 
[2026-08-19 09:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:34: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-08-19 09:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 09:34: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-08-19 09: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-08-19 09:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500727040001,"66":14374,"17":206,"94":11008,"24":0,"16":28788216597315584,"45":953566882495545344},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 09:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500727040001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:34:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28788216597315584,"km_value":28788216597315.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":953566882495545344,"description":"Unknown IO ID 45"} 
[2026-08-19 09:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500727040001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":953566882495545344}} 
[2026-08-19 09:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":160003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663842,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:34:51] local.INFO: GPS data processed {"connection_id":160003,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:34:51] local.INFO: Acknowledgment sent {"connection_id":160003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:35:00] local.INFO: TCP Data received {"connection_id":157823,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:35:00] local.INFO: Processing buffer {"connection_id":157823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:35:00] local.INFO: IMEI packet received {"connection_id":157823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":157823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:35:05] local.INFO: TCP Data received {"connection_id":157823,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:35:05] local.INFO: Processing buffer {"connection_id":157823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:35:05] local.INFO: IMEI packet received {"connection_id":157823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":157823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:35:10] local.INFO: TCP Data received {"connection_id":157823,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:35:10] local.INFO: Processing buffer {"connection_id":157823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0182ce6d8012d34c40006aa4888000f011d23..."} 
[2026-08-19 09:35:10] local.INFO: Packet analysis {"connection_id":157823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:35:10] local.INFO: Extracted packet for processing {"connection_id":157823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0182c"} 
[2026-08-19 09:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":35,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500592640001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787111991000,"timestamp_ms":1787111991000,"timestamp_seconds":1787111991,"priority":1,"record_length":96,"hex_timestamp":"000001a0182ce6d8"} 
[2026-08-19 09:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 09:35:10] 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-08-19 09: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-08-19 09:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500592640001,"66":25745,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500592640001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:35:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500592640001,"power":25745,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":157823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:35:10] local.INFO: GPS data processed {"connection_id":157823,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:35:10] local.INFO: Acknowledgment sent {"connection_id":157823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:35:20] local.INFO: TCP Data received {"connection_id":157452,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:35:20] local.INFO: Processing buffer {"connection_id":157452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:35:20] local.INFO: IMEI packet received {"connection_id":157452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":157452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:35:22] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a018308888012d0d3c000704b770001e00c220..."} 
[2026-08-19 09:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018308888012d0d3c000704b770001e00c220..."} 
[2026-08-19 09:35:22] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018308888012d0d3c000704b770001e00c220..."} 
[2026-08-19 09:35:22] local.INFO: Packet analysis {"connection_id":160003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:35:22] local.INFO: Extracted packet for processing {"connection_id":160003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:35:22] local.INFO: GPS Element Parsed {"raw_longitude":755842048,"raw_latitude":117749616,"longitude_deg":75.5842048,"latitude_deg":11.7749616,"altitude":30,"angle":194,"satellites":32,"speed":1,"hex_longitude":"2d0d3c00","hex_latitude":"0704b770","is_valid_coordinates":true} 
[2026-08-19 09:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500727296001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28788246662086656,"note":"Value kept but may cause issues"} 
[2026-08-19 09:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953566882495531008,"note":"Value kept but may cause issues"} 
[2026-08-19 09:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787112229000,"timestamp_ms":1787112229000,"timestamp_seconds":1787112229,"priority":1,"record_length":96,"hex_timestamp":"000001a018308888"} 
[2026-08-19 09:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09: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-08-19 09:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 09:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500727296001,"66":14363,"17":206,"94":11008,"24":1,"16":28788246662086656,"45":953566882495531008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 09:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500727296001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:35:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28788246662086656,"km_value":28788246662086.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":953566882495531008,"description":"Unknown IO ID 45"} 
[2026-08-19 09:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500727296001,"power":14363,"axis_x":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":953566882495531008}} 
[2026-08-19 09:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":160003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663844,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:35:22] local.INFO: GPS data processed {"connection_id":160003,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:35:22] local.INFO: Acknowledgment sent {"connection_id":160003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:35:25] local.INFO: TCP Data received {"connection_id":157452,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:35:25] local.INFO: Processing buffer {"connection_id":157452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:35:25] local.INFO: IMEI packet received {"connection_id":157452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":157452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:35:27] local.INFO: TCP Data received {"connection_id":157452,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:35:27] local.INFO: Processing buffer {"connection_id":157452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:35:27] local.INFO: Packet analysis {"connection_id":157452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:35:27] local.INFO: Extracted packet for processing {"connection_id":157452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:35: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-08-19 09:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500657920001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:35:27] 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-08-19 09:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787112246000,"timestamp_ms":1787112246000,"timestamp_seconds":1787112246,"priority":1,"record_length":96,"hex_timestamp":"000001a01830caf0"} 
[2026-08-19 09:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:35:27] 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-08-19 09:35: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":12,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-19 09:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:35: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-08-19 09:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:35:27] 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-08-19 09:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500657920001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500657920001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:35:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:35:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500657920001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":157452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:35:27] local.INFO: GPS data processed {"connection_id":157452,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:35:27] local.INFO: Acknowledgment sent {"connection_id":157452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:35:31] local.INFO: TCP Data received {"connection_id":157452,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:35:31] local.INFO: Processing buffer {"connection_id":157452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:35:31] local.INFO: Packet analysis {"connection_id":157452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:35:31] local.INFO: Extracted packet for processing {"connection_id":157452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500657920001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:35: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-08-19 09:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787112246000,"timestamp_ms":1787112246000,"timestamp_seconds":1787112246,"priority":1,"record_length":96,"hex_timestamp":"000001a01830caf0"} 
[2026-08-19 09:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-19 09:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":157452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":157452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":157452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:35:31] 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-08-19 09:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500657920001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500657920001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:35:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:35:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500657920001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":157452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:35:31] local.INFO: GPS data processed {"connection_id":157452,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:35:31] local.INFO: Acknowledgment sent {"connection_id":157452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:35:47] local.INFO: TCP Data received {"connection_id":157823,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:35:47] local.INFO: Processing buffer {"connection_id":157823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:35:47] local.INFO: Packet analysis {"connection_id":157823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:35:47] local.INFO: Extracted packet for processing {"connection_id":157823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:35:47] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500669696001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:35: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-08-19 09:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787112292000,"timestamp_ms":1787112292000,"timestamp_seconds":1787112292,"priority":1,"record_length":96,"hex_timestamp":"000001a018317ea0"} 
[2026-08-19 09:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09: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-08-19 09: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":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:35: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-08-19 09: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-08-19 09:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:35: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-08-19 09:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500669696001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500669696001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:35:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:35:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500669696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":157823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:35:47] local.INFO: GPS data processed {"connection_id":157823,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:35:47] local.INFO: Acknowledgment sent {"connection_id":157823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:35:53] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a01830abb0012d0d3a800704afb8001c00b620..."} 
[2026-08-19 09:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01830abb0012d0d3a800704afb8001c00b620..."} 
[2026-08-19 09:35:53] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01830abb0012d0d3a800704afb8001c00b620..."} 
[2026-08-19 09:35:53] local.INFO: Packet analysis {"connection_id":160003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:35:53] local.INFO: Extracted packet for processing {"connection_id":160003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:35:53] local.INFO: GPS Element Parsed {"raw_longitude":755841664,"raw_latitude":117747640,"longitude_deg":75.5841664,"latitude_deg":11.774764,"altitude":28,"angle":182,"satellites":32,"speed":16,"hex_longitude":"2d0d3a80","hex_latitude":"0704afb8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500730624001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28788345446334464,"note":"Value kept but may cause issues"} 
[2026-08-19 09:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953637251239604224,"note":"Value kept but may cause issues"} 
[2026-08-19 09:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787112238000,"timestamp_ms":1787112238000,"timestamp_seconds":1787112238,"priority":1,"record_length":96,"hex_timestamp":"000001a01830abb0"} 
[2026-08-19 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-08-19 09: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-08-19 09:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 09:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 09:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500730624001,"66":14363,"17":206,"94":11008,"24":16,"16":28788345446334464,"45":953637251239604224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 09:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500730624001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:35:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28788345446334464,"km_value":28788345446334.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":953637251239604224,"description":"Unknown IO ID 45"} 
[2026-08-19 09:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500730624001,"power":14363,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":953637251239604224}} 
[2026-08-19 09:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":160003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663848,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:35:53] local.INFO: GPS data processed {"connection_id":160003,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:35:53] local.INFO: Acknowledgment sent {"connection_id":160003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:35:59] local.INFO: TCP Data received {"connection_id":157453,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:35:59] local.INFO: Processing buffer {"connection_id":157453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:35:59] local.INFO: IMEI packet received {"connection_id":157453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":157453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:36:02] local.INFO: TCP Data received {"connection_id":157452,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:36:02] local.INFO: Processing buffer {"connection_id":157452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:36:02] local.INFO: Packet analysis {"connection_id":157452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:36:02] local.INFO: Extracted packet for processing {"connection_id":157452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500657920001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:36:02] 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-08-19 09:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787112246000,"timestamp_ms":1787112246000,"timestamp_seconds":1787112246,"priority":1,"record_length":96,"hex_timestamp":"000001a01830caf0"} 
[2026-08-19 09:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-19 09:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":157452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":157452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":157452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:36:02] 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-08-19 09:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500657920001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500657920001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:36:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:36:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500657920001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":157452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:36:02] local.INFO: GPS data processed {"connection_id":157452,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:36:02] local.INFO: Acknowledgment sent {"connection_id":157452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:36:05] local.INFO: TCP Data received {"connection_id":157453,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:36:05] local.INFO: Processing buffer {"connection_id":157453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:36:05] local.INFO: IMEI packet received {"connection_id":157453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":157453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:36:06] local.INFO: TCP Data received {"connection_id":157453,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:36:06] local.INFO: Processing buffer {"connection_id":157453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:36:06] local.INFO: Packet analysis {"connection_id":157453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:36:06] local.INFO: Extracted packet for processing {"connection_id":157453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:36:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500669696001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787112292000,"timestamp_ms":1787112292000,"timestamp_seconds":1787112292,"priority":1,"record_length":96,"hex_timestamp":"000001a018317ea0"} 
[2026-08-19 09:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:36:06] 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-08-19 09:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:36:06] 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-08-19 09:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500669696001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500669696001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:36:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:36:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500669696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":157453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:36:06] local.INFO: GPS data processed {"connection_id":157453,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:36:06] local.INFO: Acknowledgment sent {"connection_id":157453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:36:20] local.INFO: TCP Data received {"connection_id":160004,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:36:20] local.INFO: Processing buffer {"connection_id":160004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:36:20] local.INFO: IMEI packet received {"connection_id":160004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":160004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:36:24] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a018328458012d0d2580070427c0001500aa1f..."} 
[2026-08-19 09:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018328458012d0d2580070427c0001500aa1f..."} 
[2026-08-19 09:36:24] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018328458012d0d2580070427c0001500aa1f..."} 
[2026-08-19 09:36:24] local.INFO: Packet analysis {"connection_id":160003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01832"} 
[2026-08-19 09:36:24] local.INFO: Extracted packet for processing {"connection_id":160003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01832"} 
[2026-08-19 09:36:24] local.INFO: GPS Element Parsed {"raw_longitude":755836288,"raw_latitude":117712832,"longitude_deg":75.5836288,"latitude_deg":11.7712832,"altitude":21,"angle":170,"satellites":31,"speed":16,"hex_longitude":"2d0d2580","hex_latitude":"070427c0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500761600001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28790080613122048,"note":"Value kept but may cause issues"} 
[2026-08-19 09:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947163326766538752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:36: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-08-19 09:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787112359000,"timestamp_ms":1787112359000,"timestamp_seconds":1787112359,"priority":1,"record_length":96,"hex_timestamp":"000001a018328458"} 
[2026-08-19 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-08-19 09:36:24] 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-08-19 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-19 09:36:24] 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-08-19 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-08-19 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-08-19 09:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500761600001,"66":14461,"17":206,"94":11008,"24":16,"16":28790080613122048,"45":947163326766538752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 09:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500761600001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:36:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28790080613122048,"km_value":28790080613122.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":947163326766538752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500761600001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":947163326766538752}} 
[2026-08-19 09:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":160003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663851,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:36:24] local.INFO: GPS data processed {"connection_id":160003,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:36:24] local.INFO: Acknowledgment sent {"connection_id":160003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:36:25] local.INFO: TCP Data received {"connection_id":160004,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:36:25] local.INFO: Processing buffer {"connection_id":160004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:36:25] local.INFO: IMEI packet received {"connection_id":160004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":160004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:36:27] local.INFO: TCP Data received {"connection_id":160004,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:36:27] local.INFO: Processing buffer {"connection_id":160004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:36:27] local.INFO: Packet analysis {"connection_id":160004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:36:27] local.INFO: Extracted packet for processing {"connection_id":160004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500657920001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:36:27] 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-08-19 09:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787112246000,"timestamp_ms":1787112246000,"timestamp_seconds":1787112246,"priority":1,"record_length":96,"hex_timestamp":"000001a01830caf0"} 
[2026-08-19 09:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:36:27] 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-08-19 09:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-19 09:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:36:27] 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-08-19 09:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500657920001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500657920001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:36:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:36:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500657920001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":160004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:36:27] local.INFO: GPS data processed {"connection_id":160004,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:36:27] local.INFO: Acknowledgment sent {"connection_id":160004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:36:38] local.INFO: TCP Data received {"connection_id":157453,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:36:38] local.INFO: Processing buffer {"connection_id":157453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:36:38] local.INFO: Packet analysis {"connection_id":157453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:36:38] local.INFO: Extracted packet for processing {"connection_id":157453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:36:38] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500669696001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787112292000,"timestamp_ms":1787112292000,"timestamp_seconds":1787112292,"priority":1,"record_length":96,"hex_timestamp":"000001a018317ea0"} 
[2026-08-19 09:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:36:38] 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-08-19 09: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-08-19 09:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:36:38] 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-08-19 09:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500669696001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500669696001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:36:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:36:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500669696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":157453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:36:38] local.INFO: GPS data processed {"connection_id":157453,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:36:38] local.INFO: Acknowledgment sent {"connection_id":157453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:36:56] local.INFO: TCP Data received {"connection_id":157454,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157454,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:36:56] local.INFO: Processing buffer {"connection_id":157454,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:36:56] local.INFO: IMEI packet received {"connection_id":157454,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":157454,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:36:59] local.INFO: TCP Data received {"connection_id":160004,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:36:59] local.INFO: Processing buffer {"connection_id":160004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:36:59] local.INFO: Packet analysis {"connection_id":160004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:36:59] local.INFO: Extracted packet for processing {"connection_id":160004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500657920001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:36: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-08-19 09:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787112246000,"timestamp_ms":1787112246000,"timestamp_seconds":1787112246,"priority":1,"record_length":96,"hex_timestamp":"000001a01830caf0"} 
[2026-08-19 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-08-19 09:36:59] 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-08-19 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":12,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-19 09:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 09:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:36:59] 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-08-19 09:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500657920001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500657920001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:36:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:36:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500657920001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":160004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:36:59] local.INFO: GPS data processed {"connection_id":160004,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:36:59] local.INFO: Acknowledgment sent {"connection_id":160004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:36:59] local.INFO: TCP Data received {"connection_id":158708,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:36:59] local.INFO: Processing buffer {"connection_id":158708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:36:59] local.INFO: IMEI packet received {"connection_id":158708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":158708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:37:02] local.INFO: TCP Data received {"connection_id":157454,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157454,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:37:02] local.INFO: Processing buffer {"connection_id":157454,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:37:02] local.INFO: IMEI packet received {"connection_id":157454,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":157454,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:37:02] local.INFO: TCP Data received {"connection_id":157454,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0183297e0012d0d268007041ff0001500b71f..."} 
[2026-08-19 09:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183297e0012d0d268007041ff0001500b71f..."} 
[2026-08-19 09:37:02] local.INFO: Processing buffer {"connection_id":157454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183297e0012d0d268007041ff0001500b71f..."} 
[2026-08-19 09:37:02] local.INFO: Packet analysis {"connection_id":157454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01832"} 
[2026-08-19 09:37:02] local.INFO: Extracted packet for processing {"connection_id":157454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01832"} 
[2026-08-19 09:37:02] local.INFO: GPS Element Parsed {"raw_longitude":755836544,"raw_latitude":117710832,"longitude_deg":75.5836544,"latitude_deg":11.7710832,"altitude":21,"angle":183,"satellites":31,"speed":12,"hex_longitude":"2d0d2680","hex_latitude":"07041ff0","is_valid_coordinates":true} 
[2026-08-19 09:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500763904001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28790179397369856,"note":"Value kept but may cause issues"} 
[2026-08-19 09:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947304064254197760,"note":"Value kept but may cause issues"} 
[2026-08-19 09:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787112364000,"timestamp_ms":1787112364000,"timestamp_seconds":1787112364,"priority":1,"record_length":96,"hex_timestamp":"000001a0183297e0"} 
[2026-08-19 09:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 09:37:02] 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-08-19 09:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":157454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":157454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":157454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500763904001,"66":14428,"17":206,"94":11008,"24":12,"16":28790179397369856,"45":947304064254197760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 09:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500763904001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:37:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28790179397369856,"km_value":28790179397369.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":947304064254197760,"description":"Unknown IO ID 45"} 
[2026-08-19 09:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500763904001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":947304064254197760}} 
[2026-08-19 09:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":157454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663855,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:37:03] local.INFO: GPS data processed {"connection_id":157454,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:37:03] local.INFO: Acknowledgment sent {"connection_id":157454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:37:05] local.INFO: TCP Data received {"connection_id":158708,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:37:05] local.INFO: Processing buffer {"connection_id":158708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:37:05] local.INFO: IMEI packet received {"connection_id":158708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":158708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:37:06] local.INFO: TCP Data received {"connection_id":158708,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:37:06] local.INFO: Processing buffer {"connection_id":158708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:37:06] local.INFO: Packet analysis {"connection_id":158708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:37:06] local.INFO: Extracted packet for processing {"connection_id":158708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500669696001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787112292000,"timestamp_ms":1787112292000,"timestamp_seconds":1787112292,"priority":1,"record_length":96,"hex_timestamp":"000001a018317ea0"} 
[2026-08-19 09:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:37:06] 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-08-19 09:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:37:06] 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-08-19 09:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500669696001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500669696001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:37:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:37:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500669696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":158708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:37:06] local.INFO: GPS data processed {"connection_id":158708,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:37:06] local.INFO: Acknowledgment sent {"connection_id":158708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:37:20] local.INFO: TCP Data received {"connection_id":157455,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:37:20] local.INFO: Processing buffer {"connection_id":157455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:37:20] local.INFO: IMEI packet received {"connection_id":157455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":157455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:37:25] local.INFO: TCP Data received {"connection_id":157455,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:37:25] local.INFO: Processing buffer {"connection_id":157455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:37:25] local.INFO: IMEI packet received {"connection_id":157455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":157455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:37:26] local.INFO: TCP Data received {"connection_id":157455,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:37:26] local.INFO: Processing buffer {"connection_id":157455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:37:26] local.INFO: Packet analysis {"connection_id":157455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:37:26] local.INFO: Extracted packet for processing {"connection_id":157455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:37:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500657920001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:37:26] 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-08-19 09:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787112246000,"timestamp_ms":1787112246000,"timestamp_seconds":1787112246,"priority":1,"record_length":96,"hex_timestamp":"000001a01830caf0"} 
[2026-08-19 09:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:37:26] 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-08-19 09: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":12,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-19 09:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:37:26] 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-08-19 09:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500657920001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500657920001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:37:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:37:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500657920001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":157455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:37:26] local.INFO: GPS data processed {"connection_id":157455,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:37:26] local.INFO: Acknowledgment sent {"connection_id":157455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:37:33] local.INFO: TCP Data received {"connection_id":157454,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a01832bb08012d0d268007041740001500ab1f..."} 
[2026-08-19 09:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01832bb08012d0d268007041740001500ab1f..."} 
[2026-08-19 09:37:33] local.INFO: Processing buffer {"connection_id":157454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01832bb08012d0d268007041740001500ab1f..."} 
[2026-08-19 09:37:33] local.INFO: Packet analysis {"connection_id":157454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01832"} 
[2026-08-19 09:37:33] local.INFO: Extracted packet for processing {"connection_id":157454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01832"} 
[2026-08-19 09:37:33] local.INFO: GPS Element Parsed {"raw_longitude":755836544,"raw_latitude":117708608,"longitude_deg":75.5836544,"latitude_deg":11.7708608,"altitude":21,"angle":171,"satellites":31,"speed":10,"hex_longitude":"2d0d2680","hex_latitude":"07041740","is_valid_coordinates":true} 
[2026-08-19 09:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500765184001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28790291066519552,"note":"Value kept but may cause issues"} 
[2026-08-19 09:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947585539230396416,"note":"Value kept but may cause issues"} 
[2026-08-19 09:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787112373000,"timestamp_ms":1787112373000,"timestamp_seconds":1787112373,"priority":1,"record_length":96,"hex_timestamp":"000001a01832bb08"} 
[2026-08-19 09:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 09:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":157454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":157454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":157454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500765184001,"66":14548,"17":206,"94":11008,"24":10,"16":28790291066519552,"45":947585539230396416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 09:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500765184001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:37:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28790291066519552,"km_value":28790291066519.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":947585539230396416,"description":"Unknown IO ID 45"} 
[2026-08-19 09:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500765184001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":947585539230396416}} 
[2026-08-19 09:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":157454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663858,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:37:33] local.INFO: GPS data processed {"connection_id":157454,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:37:33] local.INFO: Acknowledgment sent {"connection_id":157454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:37:38] local.INFO: TCP Data received {"connection_id":158708,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:37:38] local.INFO: Processing buffer {"connection_id":158708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:37:38] local.INFO: Packet analysis {"connection_id":158708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:37:38] local.INFO: Extracted packet for processing {"connection_id":158708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500669696001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787112292000,"timestamp_ms":1787112292000,"timestamp_seconds":1787112292,"priority":1,"record_length":96,"hex_timestamp":"000001a018317ea0"} 
[2026-08-19 09:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:37:38] 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-08-19 09: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-08-19 09:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:37:38] 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-08-19 09:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500669696001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500669696001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:37:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500669696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":158708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:37:38] local.INFO: GPS data processed {"connection_id":158708,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:37:38] local.INFO: Acknowledgment sent {"connection_id":158708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:37:57] local.INFO: TCP Data received {"connection_id":157455,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:37:57] local.INFO: Processing buffer {"connection_id":157455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:37:57] local.INFO: Packet analysis {"connection_id":157455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:37:57] local.INFO: Extracted packet for processing {"connection_id":157455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:37:57] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500657920001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:37:57] 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-08-19 09:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787112246000,"timestamp_ms":1787112246000,"timestamp_seconds":1787112246,"priority":1,"record_length":96,"hex_timestamp":"000001a01830caf0"} 
[2026-08-19 09:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":12,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-19 09:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:37:57] 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-08-19 09:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500657920001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500657920001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:37:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:37:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500657920001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":157455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:37:57] local.INFO: GPS data processed {"connection_id":157455,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:37:57] local.INFO: Acknowledgment sent {"connection_id":157455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:38:05] local.INFO: TCP Data received {"connection_id":157454,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a018343dc0012d0d2dc00703cbe00012012c22..."} 
[2026-08-19 09:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018343dc0012d0d2dc00703cbe00012012c22..."} 
[2026-08-19 09:38:05] local.INFO: Processing buffer {"connection_id":157454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018343dc0012d0d2dc00703cbe00012012c22..."} 
[2026-08-19 09:38:05] local.INFO: Packet analysis {"connection_id":157454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01834"} 
[2026-08-19 09:38:05] local.INFO: Extracted packet for processing {"connection_id":157454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01834"} 
[2026-08-19 09:38:05] local.INFO: GPS Element Parsed {"raw_longitude":755838400,"raw_latitude":117689312,"longitude_deg":75.58384,"latitude_deg":11.7689312,"altitude":18,"angle":300,"satellites":34,"speed":4,"hex_longitude":"2d0d2dc0","hex_latitude":"0703cbe0","is_valid_coordinates":true} 
[2026-08-19 09:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500792832001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28791313268736000,"note":"Value kept but may cause issues"} 
[2026-08-19 09:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949626232806039552,"note":"Value kept but may cause issues"} 
[2026-08-19 09:38:05] 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-08-19 09:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787112472000,"timestamp_ms":1787112472000,"timestamp_seconds":1787112472,"priority":1,"record_length":96,"hex_timestamp":"000001a018343dc0"} 
[2026-08-19 09:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:38: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-08-19 09:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 09:38:05] 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-08-19 09:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500792832001,"66":14363,"16":28791313268736000,"94":11008,"24":4,"45":949626232806039552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-19 09:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500792832001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28791313268736000,"km_value":28791313268736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:38:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":949626232806039552,"description":"Unknown IO ID 45"} 
[2026-08-19 09:38:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457500792832001,"power":14363,"odometer":null,"unknown_94":11008,"ignition":4,"unknown_45":949626232806039552}} 
[2026-08-19 09:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":157454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663861,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:38:05] local.INFO: GPS data processed {"connection_id":157454,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:38:05] local.INFO: Acknowledgment sent {"connection_id":157454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:38:05] local.INFO: TCP Data received {"connection_id":160005,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:38:05] local.INFO: Processing buffer {"connection_id":160005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:38:05] local.INFO: IMEI packet received {"connection_id":160005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":160005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:38:10] local.INFO: TCP Data received {"connection_id":160005,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:38:10] local.INFO: Processing buffer {"connection_id":160005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:38:10] local.INFO: IMEI packet received {"connection_id":160005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":160005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:38:11] local.INFO: TCP Data received {"connection_id":160005,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:38:11] local.INFO: Processing buffer {"connection_id":160005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:38:11] local.INFO: Packet analysis {"connection_id":160005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:38:11] local.INFO: Extracted packet for processing {"connection_id":160005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500669696001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787112292000,"timestamp_ms":1787112292000,"timestamp_seconds":1787112292,"priority":1,"record_length":96,"hex_timestamp":"000001a018317ea0"} 
[2026-08-19 09:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2003,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500669696001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500669696001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:38:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:38:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500669696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":160005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:38:11] local.INFO: GPS data processed {"connection_id":160005,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:38:11] local.INFO: Acknowledgment sent {"connection_id":160005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:38:15] local.INFO: TCP Data received {"connection_id":160005,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:38:15] local.INFO: Processing buffer {"connection_id":160005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:38:15] local.INFO: Packet analysis {"connection_id":160005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:38:15] local.INFO: Extracted packet for processing {"connection_id":160005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500669696001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787112292000,"timestamp_ms":1787112292000,"timestamp_seconds":1787112292,"priority":1,"record_length":96,"hex_timestamp":"000001a018317ea0"} 
[2026-08-19 09:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:38:15] 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-08-19 09: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-08-19 09:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500669696001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500669696001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:38:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500669696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":160005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:38:15] local.INFO: GPS data processed {"connection_id":160005,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:38:15] local.INFO: Acknowledgment sent {"connection_id":160005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:38:20] local.INFO: TCP Data received {"connection_id":160006,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:38:20] local.INFO: Processing buffer {"connection_id":160006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:38:20] local.INFO: IMEI packet received {"connection_id":160006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":160006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:38:25] local.INFO: TCP Data received {"connection_id":160006,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:38:25] local.INFO: Processing buffer {"connection_id":160006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:38:25] local.INFO: IMEI packet received {"connection_id":160006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":160006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:38:26] local.INFO: TCP Data received {"connection_id":160006,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:38:26] local.INFO: Processing buffer {"connection_id":160006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:38:26] local.INFO: Packet analysis {"connection_id":160006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:38:26] local.INFO: Extracted packet for processing {"connection_id":160006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:38:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500657920001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:38:26] 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-08-19 09:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787112246000,"timestamp_ms":1787112246000,"timestamp_seconds":1787112246,"priority":1,"record_length":96,"hex_timestamp":"000001a01830caf0"} 
[2026-08-19 09:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:38:26] 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-08-19 09:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-19 09:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:38:26] 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-08-19 09:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500657920001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500657920001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:38:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:38:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500657920001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":160006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:38:26] local.INFO: GPS data processed {"connection_id":160006,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:38:26] local.INFO: Acknowledgment sent {"connection_id":160006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:38:36] local.INFO: TCP Data received {"connection_id":157454,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a018344590012d0d2cc00703ccd00012014522..."} 
[2026-08-19 09:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018344590012d0d2cc00703ccd00012014522..."} 
[2026-08-19 09:38:36] local.INFO: Processing buffer {"connection_id":157454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018344590012d0d2cc00703ccd00012014522..."} 
[2026-08-19 09:38:36] local.INFO: Packet analysis {"connection_id":157454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01834"} 
[2026-08-19 09:38:36] local.INFO: Extracted packet for processing {"connection_id":157454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01834"} 
[2026-08-19 09:38:36] local.INFO: GPS Element Parsed {"raw_longitude":755838144,"raw_latitude":117689552,"longitude_deg":75.5838144,"latitude_deg":11.7689552,"altitude":18,"angle":325,"satellites":34,"speed":9,"hex_longitude":"2d0d2cc0","hex_latitude":"0703ccd0","is_valid_coordinates":true} 
[2026-08-19 09:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500792832001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28791326153637888,"note":"Value kept but may cause issues"} 
[2026-08-19 09:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949626232806039552,"note":"Value kept but may cause issues"} 
[2026-08-19 09:38: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-08-19 09:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787112474000,"timestamp_ms":1787112474000,"timestamp_seconds":1787112474,"priority":1,"record_length":96,"hex_timestamp":"000001a018344590"} 
[2026-08-19 09:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 09:38:36] 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-08-19 09:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500792832001,"66":14461,"16":28791326153637888,"94":11008,"24":9,"45":949626232806039552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-19 09:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500792832001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28791326153637888,"km_value":28791326153637.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:38:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":949626232806039552,"description":"Unknown IO ID 45"} 
[2026-08-19 09:38:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457500792832001,"power":14461,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":949626232806039552}} 
[2026-08-19 09:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":157454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663865,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:38:36] local.INFO: GPS data processed {"connection_id":157454,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:38:36] local.INFO: Acknowledgment sent {"connection_id":157454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:38:56] local.INFO: TCP Data received {"connection_id":157825,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157825,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:38:56] local.INFO: Processing buffer {"connection_id":157825,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:38:56] local.INFO: IMEI packet received {"connection_id":157825,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":157825,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:38:57] local.INFO: TCP Data received {"connection_id":157825,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157825,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:38:57] local.INFO: Processing buffer {"connection_id":157825,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:38:57] local.INFO: IMEI packet received {"connection_id":157825,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":157825,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:38:57] local.INFO: TCP Data received {"connection_id":160006,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:38:57] local.INFO: Processing buffer {"connection_id":160006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01830caf0012d7d370005ec09e8000000b319..."} 
[2026-08-19 09:38:57] local.INFO: Packet analysis {"connection_id":160006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:38:57] local.INFO: Extracted packet for processing {"connection_id":160006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01830"} 
[2026-08-19 09:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500657920001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:38:57] 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-08-19 09:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787112246000,"timestamp_ms":1787112246000,"timestamp_seconds":1787112246,"priority":1,"record_length":96,"hex_timestamp":"000001a01830caf0"} 
[2026-08-19 09:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":12,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-19 09:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:38:57] 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-08-19 09:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500657920001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500657920001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:38:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:38:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500657920001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":160006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:38:58] local.INFO: GPS data processed {"connection_id":160006,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:38:58] local.INFO: Acknowledgment sent {"connection_id":160006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:39:00] local.INFO: TCP Data received {"connection_id":157824,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:39:00] local.INFO: Processing buffer {"connection_id":157824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:39:00] local.INFO: IMEI packet received {"connection_id":157824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":157824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:39:01] local.INFO: TCP Data received {"connection_id":157825,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157825,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:39:01] local.INFO: Processing buffer {"connection_id":157825,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:39:01] local.INFO: IMEI packet received {"connection_id":157825,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":157825,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:39:01] local.INFO: TCP Data received {"connection_id":157825,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157825,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:39:01] local.INFO: Processing buffer {"connection_id":157825,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:39:01] local.INFO: IMEI packet received {"connection_id":157825,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":157825,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:39:02] local.INFO: TCP Data received {"connection_id":157825,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a018344978012d0d2c800703cdd00012015f22..."} 
[2026-08-19 09:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018344978012d0d2c800703cdd00012015f22..."} 
[2026-08-19 09:39:02] local.INFO: Processing buffer {"connection_id":157825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018344978012d0d2c800703cdd00012015f22..."} 
[2026-08-19 09:39:02] local.INFO: Packet analysis {"connection_id":157825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01834"} 
[2026-08-19 09:39:02] local.INFO: Extracted packet for processing {"connection_id":157825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01834"} 
[2026-08-19 09:39:02] local.INFO: GPS Element Parsed {"raw_longitude":755838080,"raw_latitude":117689808,"longitude_deg":75.583808,"latitude_deg":11.7689808,"altitude":18,"angle":351,"satellites":34,"speed":12,"hex_longitude":"2d0d2c80","hex_latitude":"0703cdd0","is_valid_coordinates":true} 
[2026-08-19 09:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500793344001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28791339038539776,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949344757829390336,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:02] 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-08-19 09:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787112475000,"timestamp_ms":1787112475000,"timestamp_seconds":1787112475,"priority":1,"record_length":96,"hex_timestamp":"000001a018344978"} 
[2026-08-19 09:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:39: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-08-19 09:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 09:39:02] 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-08-19 09:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":157825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":157825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":157825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500793344001,"66":14461,"16":28791339038539776,"94":11008,"24":12,"45":949344757829390336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-19 09:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500793344001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28791339038539776,"km_value":28791339038539.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:39:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":949344757829390336,"description":"Unknown IO ID 45"} 
[2026-08-19 09:39:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457500793344001,"power":14461,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":949344757829390336}} 
[2026-08-19 09:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":157825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663867,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:39:02] local.INFO: GPS data processed {"connection_id":157825,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:39:02] local.INFO: Acknowledgment sent {"connection_id":157825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:39:03] local.INFO: TCP Data received {"connection_id":157825,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a018347c40012d0d29400703e7c00014000124..."} 
[2026-08-19 09:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018347c40012d0d29400703e7c00014000124..."} 
[2026-08-19 09:39:03] local.INFO: Processing buffer {"connection_id":157825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018347c40012d0d29400703e7c00014000124..."} 
[2026-08-19 09:39:03] local.INFO: Packet analysis {"connection_id":157825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01834"} 
[2026-08-19 09:39:03] local.INFO: Extracted packet for processing {"connection_id":157825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01834"} 
[2026-08-19 09:39:03] local.INFO: GPS Element Parsed {"raw_longitude":755837248,"raw_latitude":117696448,"longitude_deg":75.5837248,"latitude_deg":11.7696448,"altitude":20,"angle":1,"satellites":36,"speed":20,"hex_longitude":"2d0d2940","hex_latitude":"0703e7c0","is_valid_coordinates":true} 
[2026-08-19 09:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500793600001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28791665456054272,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949274389085278208,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:03] 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-08-19 09:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787112488000,"timestamp_ms":1787112488000,"timestamp_seconds":1787112488,"priority":1,"record_length":96,"hex_timestamp":"000001a018347c40"} 
[2026-08-19 09:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:39: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-08-19 09:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 09:39: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-08-19 09:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":157825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":157825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":157825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500793600001,"66":14450,"16":28791665456054272,"94":11008,"24":20,"45":949274389085278208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-19 09:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500793600001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28791665456054272,"km_value":28791665456054.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:39:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":949274389085278208,"description":"Unknown IO ID 45"} 
[2026-08-19 09:39:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457500793600001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":20,"unknown_45":949274389085278208}} 
[2026-08-19 09:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":157825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663868,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:39:03] local.INFO: GPS data processed {"connection_id":157825,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:39:03] local.INFO: Acknowledgment sent {"connection_id":157825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:39:05] local.INFO: TCP Data received {"connection_id":157824,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:39:05] local.INFO: Processing buffer {"connection_id":157824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:39:05] local.INFO: IMEI packet received {"connection_id":157824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":157824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:39:06] local.INFO: TCP Data received {"connection_id":157824,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:39:06] local.INFO: Processing buffer {"connection_id":157824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:39:06] local.INFO: Packet analysis {"connection_id":157824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:39:06] local.INFO: Extracted packet for processing {"connection_id":157824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:39:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500669696001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787112292000,"timestamp_ms":1787112292000,"timestamp_seconds":1787112292,"priority":1,"record_length":96,"hex_timestamp":"000001a018317ea0"} 
[2026-08-19 09:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:39:06] 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-08-19 09: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-08-19 09:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:39:06] 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-08-19 09:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500669696001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500669696001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:39:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:39:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500669696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":157824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:39:06] local.INFO: GPS data processed {"connection_id":157824,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:39:06] local.INFO: Acknowledgment sent {"connection_id":157824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:39:20] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:39:20] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:39:20] local.INFO: IMEI packet received {"connection_id":160007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":160007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:39:25] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:39:25] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:39:25] local.INFO: IMEI packet received {"connection_id":160007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":160007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:39:26] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:39:26] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:39:26] local.INFO: Packet analysis {"connection_id":160007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:39:26] local.INFO: Extracted packet for processing {"connection_id":160007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:39:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500734976001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:26] 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-08-19 09:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787112547000,"timestamp_ms":1787112547000,"timestamp_seconds":1787112547,"priority":1,"record_length":96,"hex_timestamp":"000001a0183562b8"} 
[2026-08-19 09:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 09:39:26] 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-08-19 09: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-08-19 09:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:39:26] 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-08-19 09:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500734976001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500734976001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:39:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:39:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500734976001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":160007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:39:26] local.INFO: GPS data processed {"connection_id":160007,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:39:26] local.INFO: Acknowledgment sent {"connection_id":160007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:39:36] local.INFO: TCP Data received {"connection_id":157825,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a01834ab20012d0d28400703f7700016015e22..."} 
[2026-08-19 09:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01834ab20012d0d28400703f7700016015e22..."} 
[2026-08-19 09:39:36] local.INFO: Processing buffer {"connection_id":157825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01834ab20012d0d28400703f7700016015e22..."} 
[2026-08-19 09:39:36] local.INFO: Packet analysis {"connection_id":157825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01834"} 
[2026-08-19 09:39:36] local.INFO: Extracted packet for processing {"connection_id":157825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01834"} 
[2026-08-19 09:39:36] local.INFO: GPS Element Parsed {"raw_longitude":755836992,"raw_latitude":117700464,"longitude_deg":75.5836992,"latitude_deg":11.7700464,"altitude":22,"angle":350,"satellites":34,"speed":10,"hex_longitude":"2d0d2840","hex_latitude":"0703f770","is_valid_coordinates":true} 
[2026-08-19 09:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500796928001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28791863024549888,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948359595412668416,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39: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-08-19 09:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787112500000,"timestamp_ms":1787112500000,"timestamp_seconds":1787112500,"priority":1,"record_length":96,"hex_timestamp":"000001a01834ab20"} 
[2026-08-19 09:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 09:39: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-08-19 09:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500796928001,"66":14428,"16":28791863024549888,"94":11008,"24":10,"45":948359595412668416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-19 09:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500796928001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28791863024549888,"km_value":28791863024549.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:39:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":948359595412668416,"description":"Unknown IO ID 45"} 
[2026-08-19 09:39:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457500796928001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":948359595412668416}} 
[2026-08-19 09:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":157825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663871,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:39:36] local.INFO: GPS data processed {"connection_id":157825,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:39:36] local.INFO: Acknowledgment sent {"connection_id":157825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:39:38] local.INFO: TCP Data received {"connection_id":157824,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:39:38] local.INFO: Processing buffer {"connection_id":157824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:39:38] local.INFO: Packet analysis {"connection_id":157824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:39:38] local.INFO: Extracted packet for processing {"connection_id":157824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500669696001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787112292000,"timestamp_ms":1787112292000,"timestamp_seconds":1787112292,"priority":1,"record_length":96,"hex_timestamp":"000001a018317ea0"} 
[2026-08-19 09:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:39:38] 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-08-19 09: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-08-19 09:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:39:38] 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-08-19 09:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500669696001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500669696001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500669696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":157824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:39:38] local.INFO: GPS data processed {"connection_id":157824,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:39:38] local.INFO: Acknowledgment sent {"connection_id":157824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:39:57] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:39:57] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:39:57] local.INFO: Packet analysis {"connection_id":160007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:39:57] local.INFO: Extracted packet for processing {"connection_id":160007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:39:57] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500734976001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:39:57] 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-08-19 09:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787112547000,"timestamp_ms":1787112547000,"timestamp_seconds":1787112547,"priority":1,"record_length":96,"hex_timestamp":"000001a0183562b8"} 
[2026-08-19 09:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 09:39:57] 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-08-19 09: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-08-19 09:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:39:57] 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-08-19 09:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500734976001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500734976001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:39:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:39:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500734976001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":160007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:39:57] local.INFO: GPS data processed {"connection_id":160007,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:39:57] local.INFO: Acknowledgment sent {"connection_id":160007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:39:57] local.INFO: TCP Data received {"connection_id":160008,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160008,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:39:57] local.INFO: Processing buffer {"connection_id":160008,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:39:57] local.INFO: IMEI packet received {"connection_id":160008,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":160008,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:40:00] local.INFO: TCP Data received {"connection_id":160009,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:40:00] local.INFO: Processing buffer {"connection_id":160009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:40:00] local.INFO: IMEI packet received {"connection_id":160009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":160009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:40:01] local.INFO: TCP Data received {"connection_id":160008,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160008,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:40:01] local.INFO: Processing buffer {"connection_id":160008,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:40:01] local.INFO: IMEI packet received {"connection_id":160008,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":160008,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:40:01] local.INFO: TCP Data received {"connection_id":160008,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160008,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:40:01] local.INFO: Processing buffer {"connection_id":160008,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:40:01] local.INFO: IMEI packet received {"connection_id":160008,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":160008,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:40:05] local.INFO: TCP Data received {"connection_id":160009,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:40:05] local.INFO: Processing buffer {"connection_id":160009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:40:05] local.INFO: IMEI packet received {"connection_id":160009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":160009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:40:06] local.INFO: TCP Data received {"connection_id":160009,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:40:06] local.INFO: Processing buffer {"connection_id":160009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018317ea0012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:40:06] local.INFO: Packet analysis {"connection_id":160009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:40:06] local.INFO: Extracted packet for processing {"connection_id":160009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01831"} 
[2026-08-19 09:40:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500669696001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787112292000,"timestamp_ms":1787112292000,"timestamp_seconds":1787112292,"priority":1,"record_length":96,"hex_timestamp":"000001a018317ea0"} 
[2026-08-19 09:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 09:40:06] 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-08-19 09:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:40:06] 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-08-19 09:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500669696001,"66":25702,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500669696001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:40:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:40:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500669696001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":160009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:40:06] local.INFO: GPS data processed {"connection_id":160009,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:40:06] local.INFO: Acknowledgment sent {"connection_id":160009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:40:07] local.INFO: TCP Data received {"connection_id":160008,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160008,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:40:07] local.INFO: Processing buffer {"connection_id":160008,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:40:07] local.INFO: IMEI packet received {"connection_id":160008,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":160008,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:40:07] local.INFO: TCP Data received {"connection_id":160008,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a01834ca60012d0d26c0070401000018000324..."} 
[2026-08-19 09:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01834ca60012d0d26c0070401000018000324..."} 
[2026-08-19 09:40:07] local.INFO: Processing buffer {"connection_id":160008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01834ca60012d0d26c0070401000018000324..."} 
[2026-08-19 09:40:07] local.INFO: Packet analysis {"connection_id":160008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01834"} 
[2026-08-19 09:40:07] local.INFO: Extracted packet for processing {"connection_id":160008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01834"} 
[2026-08-19 09:40:07] local.INFO: GPS Element Parsed {"raw_longitude":755836608,"raw_latitude":117702912,"longitude_deg":75.5836608,"latitude_deg":11.7702912,"altitude":24,"angle":3,"satellites":36,"speed":12,"hex_longitude":"2d0d26c0","hex_latitude":"07040100","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500800000001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28791983283634176,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948078120436985856,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 09:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787112508000,"timestamp_ms":1787112508000,"timestamp_seconds":1787112508,"priority":1,"record_length":96,"hex_timestamp":"000001a01834ca60"} 
[2026-08-19 09:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09: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":92,"data_length":795,"current_offset":136} 
[2026-08-19 09:40: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-08-19 09: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-08-19 09:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160008,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160008,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500800000001,"66":14439,"16":28791983283634176,"94":11008,"24":12,"45":948078120436985856},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-19 09:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500800000001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28791983283634176,"km_value":28791983283634.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:40:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":948078120436985856,"description":"Unknown IO ID 45"} 
[2026-08-19 09:40:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457500800000001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":948078120436985856}} 
[2026-08-19 09:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":160008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663875,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:40:07] local.INFO: GPS data processed {"connection_id":160008,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:40:07] local.INFO: Acknowledgment sent {"connection_id":160008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:40:08] local.INFO: TCP Data received {"connection_id":160008,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0183504f8012d0d268007040d28001a015c22..."} 
[2026-08-19 09:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183504f8012d0d268007040d28001a015c22..."} 
[2026-08-19 09:40:08] local.INFO: Processing buffer {"connection_id":160008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183504f8012d0d268007040d28001a015c22..."} 
[2026-08-19 09:40:08] local.INFO: Packet analysis {"connection_id":160008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:40:08] local.INFO: Extracted packet for processing {"connection_id":160008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:40:08] local.INFO: GPS Element Parsed {"raw_longitude":755836544,"raw_latitude":117706024,"longitude_deg":75.5836544,"latitude_deg":11.7706024,"altitude":26,"angle":348,"satellites":34,"speed":8,"hex_longitude":"2d0d2680","hex_latitude":"07040d28","is_valid_coordinates":true} 
[2026-08-19 09:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500802048001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28792137902456832,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947655907972546560,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:08] 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-08-19 09:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787112523000,"timestamp_ms":1787112523000,"timestamp_seconds":1787112523,"priority":1,"record_length":96,"hex_timestamp":"000001a0183504f8"} 
[2026-08-19 09:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:40: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-08-19 09:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 09:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160008,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160008,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500802048001,"66":14407,"16":28792137902456832,"94":11008,"24":8,"45":947655907972546560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-19 09:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500802048001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28792137902456832,"km_value":28792137902456.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:40:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":947655907972546560,"description":"Unknown IO ID 45"} 
[2026-08-19 09:40:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457500802048001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":947655907972546560}} 
[2026-08-19 09:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":160008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663876,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:40:08] local.INFO: GPS data processed {"connection_id":160008,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:40:08] local.INFO: Acknowledgment sent {"connection_id":160008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:40:20] local.INFO: TCP Data received {"connection_id":160010,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:40:20] local.INFO: Processing buffer {"connection_id":160010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:40:20] local.INFO: IMEI packet received {"connection_id":160010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":160010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:40:26] local.INFO: TCP Data received {"connection_id":160010,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:40:26] local.INFO: Processing buffer {"connection_id":160010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:40:26] local.INFO: IMEI packet received {"connection_id":160010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":160010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:40:27] local.INFO: TCP Data received {"connection_id":160010,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:40:27] local.INFO: Processing buffer {"connection_id":160010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:40:27] local.INFO: Packet analysis {"connection_id":160010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:40:27] local.INFO: Extracted packet for processing {"connection_id":160010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500734976001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:27] 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-08-19 09:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787112547000,"timestamp_ms":1787112547000,"timestamp_seconds":1787112547,"priority":1,"record_length":96,"hex_timestamp":"000001a0183562b8"} 
[2026-08-19 09:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 09:40:27] 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-08-19 09:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:40:27] 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-08-19 09:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500734976001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500734976001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:40:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:40:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500734976001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":160010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:40:28] local.INFO: GPS data processed {"connection_id":160010,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:40:28] local.INFO: Acknowledgment sent {"connection_id":160010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:40:37] local.INFO: TCP Data received {"connection_id":160009,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:40:37] local.INFO: Processing buffer {"connection_id":160009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:40:37] local.INFO: Packet analysis {"connection_id":160009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:40:37] local.INFO: Extracted packet for processing {"connection_id":160009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500746752001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787112593000,"timestamp_ms":1787112593000,"timestamp_seconds":1787112593,"priority":1,"record_length":96,"hex_timestamp":"000001a018361668"} 
[2026-08-19 09:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 09:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:40:37] 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-08-19 09:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500746752001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500746752001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500746752001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":160009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:40:37] local.INFO: GPS data processed {"connection_id":160009,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:40:37] local.INFO: Acknowledgment sent {"connection_id":160009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:40:40] local.INFO: TCP Data received {"connection_id":160008,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0183687b0012d0d3180070463f0001a000c23..."} 
[2026-08-19 09:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183687b0012d0d3180070463f0001a000c23..."} 
[2026-08-19 09:40:40] local.INFO: Processing buffer {"connection_id":160008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183687b0012d0d3180070463f0001a000c23..."} 
[2026-08-19 09:40:40] local.INFO: Packet analysis {"connection_id":160008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:40:40] local.INFO: Extracted packet for processing {"connection_id":160008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:40:40] local.INFO: GPS Element Parsed {"raw_longitude":755839360,"raw_latitude":117728240,"longitude_deg":75.583936,"latitude_deg":11.772824,"altitude":26,"angle":12,"satellites":35,"speed":12,"hex_longitude":"2d0d3180","hex_latitude":"070463f0","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500829184001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28793250298986496,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949837339048028160,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:40] 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-08-19 09:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787112622000,"timestamp_ms":1787112622000,"timestamp_seconds":1787112622,"priority":1,"record_length":96,"hex_timestamp":"000001a0183687b0"} 
[2026-08-19 09:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 09:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160008,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160008,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500829184001,"66":14439,"17":206,"94":11008,"24":12,"16":28793250298986496,"45":949837339048028160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 09:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500829184001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:40:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28793250298986496,"km_value":28793250298986.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":949837339048028160,"description":"Unknown IO ID 45"} 
[2026-08-19 09:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500829184001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":949837339048028160}} 
[2026-08-19 09:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":160008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663879,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:40:40] local.INFO: GPS data processed {"connection_id":160008,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:40:40] local.INFO: Acknowledgment sent {"connection_id":160008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:40:56] local.INFO: TCP Data received {"connection_id":160011,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160011,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:40:56] local.INFO: Processing buffer {"connection_id":160011,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:40:56] local.INFO: IMEI packet received {"connection_id":160011,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":160011,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:40:59] local.INFO: TCP Data received {"connection_id":160010,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:40:59] local.INFO: Processing buffer {"connection_id":160010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:40:59] local.INFO: Packet analysis {"connection_id":160010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:40:59] local.INFO: Extracted packet for processing {"connection_id":160010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500734976001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:40: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-08-19 09:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787112547000,"timestamp_ms":1787112547000,"timestamp_seconds":1787112547,"priority":1,"record_length":96,"hex_timestamp":"000001a0183562b8"} 
[2026-08-19 09:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 09:40: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-08-19 09: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-08-19 09:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:40:59] 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-08-19 09:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500734976001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500734976001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:40:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:40:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500734976001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":160010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:40:59] local.INFO: GPS data processed {"connection_id":160010,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:40:59] local.INFO: Acknowledgment sent {"connection_id":160010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:41:01] local.INFO: TCP Data received {"connection_id":160011,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160011,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:41:01] local.INFO: Processing buffer {"connection_id":160011,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:41:01] local.INFO: IMEI packet received {"connection_id":160011,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":160011,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:41:01] local.INFO: TCP Data received {"connection_id":160011,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a018369f20012d0d344007046e500019001723..."} 
[2026-08-19 09:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018369f20012d0d344007046e500019001723..."} 
[2026-08-19 09:41:01] local.INFO: Processing buffer {"connection_id":160011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018369f20012d0d344007046e500019001723..."} 
[2026-08-19 09:41:01] local.INFO: Packet analysis {"connection_id":160011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:41:01] local.INFO: Extracted packet for processing {"connection_id":160011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:41:01] local.INFO: GPS Element Parsed {"raw_longitude":755840064,"raw_latitude":117730896,"longitude_deg":75.5840064,"latitude_deg":11.7730896,"altitude":25,"angle":23,"satellites":35,"speed":20,"hex_longitude":"2d0d3440","hex_latitude":"07046e50","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500831232001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28793383442972672,"note":"Value kept but may cause issues"} 
[2026-08-19 09:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950681763978670080,"note":"Value kept but may cause issues"} 
[2026-08-19 09:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787112628000,"timestamp_ms":1787112628000,"timestamp_seconds":1787112628,"priority":1,"record_length":96,"hex_timestamp":"000001a018369f20"} 
[2026-08-19 09:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09: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":103,"data_length":795,"current_offset":136} 
[2026-08-19 09:41:01] 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-08-19 09: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-08-19 09:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160011,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160011,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500831232001,"66":14396,"17":206,"94":11008,"24":20,"16":28793383442972672,"45":950681763978670080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 09:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500831232001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:41:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28793383442972672,"km_value":28793383442972.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":950681763978670080,"description":"Unknown IO ID 45"} 
[2026-08-19 09:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500831232001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":950681763978670080}} 
[2026-08-19 09:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":160011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663881,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:41:02] local.INFO: GPS data processed {"connection_id":160011,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:41:02] local.INFO: Acknowledgment sent {"connection_id":160011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:41:05] local.INFO: TCP Data received {"connection_id":160012,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:41:05] local.INFO: Processing buffer {"connection_id":160012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:41:05] local.INFO: IMEI packet received {"connection_id":160012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":160012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:41:10] local.INFO: TCP Data received {"connection_id":160012,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:41:10] local.INFO: Processing buffer {"connection_id":160012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:41:10] local.INFO: IMEI packet received {"connection_id":160012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":160012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:41:10] local.INFO: TCP Data received {"connection_id":160012,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:41:10] local.INFO: Processing buffer {"connection_id":160012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:41:10] local.INFO: Packet analysis {"connection_id":160012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:41:10] local.INFO: Extracted packet for processing {"connection_id":160012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500746752001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787112593000,"timestamp_ms":1787112593000,"timestamp_seconds":1787112593,"priority":1,"record_length":96,"hex_timestamp":"000001a018361668"} 
[2026-08-19 09:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 09:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500746752001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500746752001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:41:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500746752001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":160012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:41:11] local.INFO: GPS data processed {"connection_id":160012,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:41:11] local.INFO: Acknowledgment sent {"connection_id":160012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:41:15] local.INFO: TCP Data received {"connection_id":160012,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:41:15] local.INFO: Processing buffer {"connection_id":160012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:41:15] local.INFO: Packet analysis {"connection_id":160012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:41:15] local.INFO: Extracted packet for processing {"connection_id":160012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500746752001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787112593000,"timestamp_ms":1787112593000,"timestamp_seconds":1787112593,"priority":1,"record_length":96,"hex_timestamp":"000001a018361668"} 
[2026-08-19 09:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:41:15] 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-08-19 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 09:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500746752001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500746752001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500746752001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":160012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:41:15] local.INFO: GPS data processed {"connection_id":160012,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:41:15] local.INFO: Acknowledgment sent {"connection_id":160012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:41:20] local.INFO: TCP Data received {"connection_id":157826,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:41:20] local.INFO: Processing buffer {"connection_id":157826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:41:20] local.INFO: IMEI packet received {"connection_id":157826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":157826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:41:25] local.INFO: TCP Data received {"connection_id":157826,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:41:25] local.INFO: Processing buffer {"connection_id":157826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:41:25] local.INFO: IMEI packet received {"connection_id":157826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":157826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:41:26] local.INFO: TCP Data received {"connection_id":157826,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:41:26] local.INFO: Processing buffer {"connection_id":157826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:41:26] local.INFO: Packet analysis {"connection_id":157826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:41:26] local.INFO: Extracted packet for processing {"connection_id":157826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:41:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500734976001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:41:26] 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-08-19 09:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787112547000,"timestamp_ms":1787112547000,"timestamp_seconds":1787112547,"priority":1,"record_length":96,"hex_timestamp":"000001a0183562b8"} 
[2026-08-19 09:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 09:41:26] 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-08-19 09:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:41:26] 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-08-19 09:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500734976001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500734976001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:41:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:41:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500734976001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":157826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:41:26] local.INFO: GPS data processed {"connection_id":157826,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:41:26] local.INFO: Acknowledgment sent {"connection_id":157826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:41:36] local.INFO: TCP Data received {"connection_id":160011,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a01836aec0012d0d370007047530001b000c23..."} 
[2026-08-19 09:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01836aec0012d0d370007047530001b000c23..."} 
[2026-08-19 09:41:36] local.INFO: Processing buffer {"connection_id":160011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01836aec0012d0d370007047530001b000c23..."} 
[2026-08-19 09:41:36] local.INFO: Packet analysis {"connection_id":160011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:41:36] local.INFO: Extracted packet for processing {"connection_id":160011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:41:36] local.INFO: GPS Element Parsed {"raw_longitude":755840768,"raw_latitude":117732656,"longitude_deg":75.5840768,"latitude_deg":11.7732656,"altitude":27,"angle":12,"satellites":35,"speed":14,"hex_longitude":"2d0d3700","hex_latitude":"07047530","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500832768001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28793473637285888,"note":"Value kept but may cause issues"} 
[2026-08-19 09:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951455820165304320,"note":"Value kept but may cause issues"} 
[2026-08-19 09:41:36] 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-08-19 09:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787112632000,"timestamp_ms":1787112632000,"timestamp_seconds":1787112632,"priority":1,"record_length":96,"hex_timestamp":"000001a01836aec0"} 
[2026-08-19 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-08-19 09:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 09:41: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-08-19 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-08-19 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-08-19 09:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160011,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160011,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500832768001,"66":14396,"17":206,"94":11008,"24":14,"16":28793473637285888,"45":951455820165304320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 09:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500832768001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:41:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28793473637285888,"km_value":28793473637285.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":951455820165304320,"description":"Unknown IO ID 45"} 
[2026-08-19 09:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500832768001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":951455820165304320}} 
[2026-08-19 09:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":160011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663885,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:41:36] local.INFO: GPS data processed {"connection_id":160011,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:41:36] local.INFO: Acknowledgment sent {"connection_id":160011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:41:57] local.INFO: TCP Data received {"connection_id":160013,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160013,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:41:57] local.INFO: Processing buffer {"connection_id":160013,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:41:57] local.INFO: IMEI packet received {"connection_id":160013,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":160013,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:41:57] local.INFO: TCP Data received {"connection_id":160013,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160013,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:41:57] local.INFO: Processing buffer {"connection_id":160013,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:41:57] local.INFO: IMEI packet received {"connection_id":160013,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":160013,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:41:57] local.INFO: TCP Data received {"connection_id":157826,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:41:58] local.INFO: Processing buffer {"connection_id":157826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:41:58] local.INFO: Packet analysis {"connection_id":157826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:41:58] local.INFO: Extracted packet for processing {"connection_id":157826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:41:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500734976001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:41:58] 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-08-19 09:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787112547000,"timestamp_ms":1787112547000,"timestamp_seconds":1787112547,"priority":1,"record_length":96,"hex_timestamp":"000001a0183562b8"} 
[2026-08-19 09:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 09:41:58] 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-08-19 09:41:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:41:58] 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-08-19 09:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500734976001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500734976001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:41:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:41:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500734976001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":157826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:41:58] local.INFO: GPS data processed {"connection_id":157826,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:41:58] local.INFO: Acknowledgment sent {"connection_id":157826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:42:00] local.INFO: TCP Data received {"connection_id":158709,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:42:00] local.INFO: Processing buffer {"connection_id":158709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:42:00] local.INFO: IMEI packet received {"connection_id":158709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":158709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:42:02] local.INFO: TCP Data received {"connection_id":160013,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160013,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:42:02] local.INFO: Processing buffer {"connection_id":160013,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:42:02] local.INFO: IMEI packet received {"connection_id":160013,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":160013,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:42:02] local.INFO: TCP Data received {"connection_id":160013,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a01837a8c0012d0d3ac00704bab8001a015722..."} 
[2026-08-19 09:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01837a8c0012d0d3ac00704bab8001a015722..."} 
[2026-08-19 09:42:02] local.INFO: Processing buffer {"connection_id":160013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01837a8c0012d0d3ac00704bab8001a015722..."} 
[2026-08-19 09:42:02] local.INFO: Packet analysis {"connection_id":160013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01837"} 
[2026-08-19 09:42:02] local.INFO: Extracted packet for processing {"connection_id":160013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01837"} 
[2026-08-19 09:42:02] local.INFO: GPS Element Parsed {"raw_longitude":755841728,"raw_latitude":117750456,"longitude_deg":75.5841728,"latitude_deg":11.7750456,"altitude":26,"angle":343,"satellites":34,"speed":6,"hex_longitude":"2d0d3ac0","hex_latitude":"0704bab8","is_valid_coordinates":true} 
[2026-08-19 09:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500849664001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28794349810614272,"note":"Value kept but may cause issues"} 
[2026-08-19 09:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953426145007187968,"note":"Value kept but may cause issues"} 
[2026-08-19 09:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787112696000,"timestamp_ms":1787112696000,"timestamp_seconds":1787112696,"priority":1,"record_length":96,"hex_timestamp":"000001a01837a8c0"} 
[2026-08-19 09:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:42:02] 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-08-19 09:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-19 09:42:02] 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-08-19 09:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160013,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160013,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500849664001,"66":14537,"17":206,"94":11008,"24":6,"16":28794349810614272,"45":953426145007187968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 09:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500849664001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:42:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28794349810614272,"km_value":28794349810614.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":953426145007187968,"description":"Unknown IO ID 45"} 
[2026-08-19 09:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500849664001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":953426145007187968}} 
[2026-08-19 09:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":160013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663887,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:42:03] local.INFO: GPS data processed {"connection_id":160013,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:42:03] local.INFO: Acknowledgment sent {"connection_id":160013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:42:05] local.INFO: TCP Data received {"connection_id":158709,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:42:05] local.INFO: Processing buffer {"connection_id":158709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:42:05] local.INFO: IMEI packet received {"connection_id":158709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":158709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:42:06] local.INFO: TCP Data received {"connection_id":158709,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:42:06] local.INFO: Processing buffer {"connection_id":158709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:42:06] local.INFO: Packet analysis {"connection_id":158709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:42:06] local.INFO: Extracted packet for processing {"connection_id":158709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:42:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500746752001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787112593000,"timestamp_ms":1787112593000,"timestamp_seconds":1787112593,"priority":1,"record_length":96,"hex_timestamp":"000001a018361668"} 
[2026-08-19 09:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 09:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500746752001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500746752001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:42:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:42:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500746752001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":158709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:42:06] local.INFO: GPS data processed {"connection_id":158709,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:42:06] local.INFO: Acknowledgment sent {"connection_id":158709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:42:21] local.INFO: TCP Data received {"connection_id":157456,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:42:21] local.INFO: Processing buffer {"connection_id":157456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:42:21] local.INFO: IMEI packet received {"connection_id":157456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":157456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:42:25] local.INFO: TCP Data received {"connection_id":157456,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:42:25] local.INFO: Processing buffer {"connection_id":157456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:42:25] local.INFO: IMEI packet received {"connection_id":157456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":157456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:42:26] local.INFO: TCP Data received {"connection_id":157456,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:42:26] local.INFO: Processing buffer {"connection_id":157456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:42:26] local.INFO: Packet analysis {"connection_id":157456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:42:26] local.INFO: Extracted packet for processing {"connection_id":157456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:42:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500734976001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:42:26] 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-08-19 09:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787112547000,"timestamp_ms":1787112547000,"timestamp_seconds":1787112547,"priority":1,"record_length":96,"hex_timestamp":"000001a0183562b8"} 
[2026-08-19 09:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 09:42:26] 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-08-19 09: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-08-19 09:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:42:26] 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-08-19 09:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500734976001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500734976001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:42:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:42:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500734976001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":157456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:42:26] local.INFO: GPS data processed {"connection_id":157456,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:42:26] local.INFO: Acknowledgment sent {"connection_id":157456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:42:37] local.INFO: TCP Data received {"connection_id":158709,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:42:37] local.INFO: Processing buffer {"connection_id":158709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:42:37] local.INFO: Packet analysis {"connection_id":158709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:42:37] local.INFO: Extracted packet for processing {"connection_id":158709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500746752001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787112593000,"timestamp_ms":1787112593000,"timestamp_seconds":1787112593,"priority":1,"record_length":96,"hex_timestamp":"000001a018361668"} 
[2026-08-19 09:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 09:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500746752001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500746752001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500746752001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":158709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:42:37] local.INFO: GPS data processed {"connection_id":158709,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:42:37] local.INFO: Acknowledgment sent {"connection_id":158709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:42:42] local.INFO: TCP Data received {"connection_id":160013,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a01837c418012d0d37c00704bbf8001a011222..."} 
[2026-08-19 09:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01837c418012d0d37c00704bbf8001a011222..."} 
[2026-08-19 09:42:42] local.INFO: Processing buffer {"connection_id":160013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01837c418012d0d37c00704bbf8001a011222..."} 
[2026-08-19 09:42:42] local.INFO: Packet analysis {"connection_id":160013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01837"} 
[2026-08-19 09:42:42] local.INFO: Extracted packet for processing {"connection_id":160013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01837"} 
[2026-08-19 09:42:42] local.INFO: GPS Element Parsed {"raw_longitude":755840960,"raw_latitude":117750776,"longitude_deg":75.584096,"latitude_deg":11.7750776,"altitude":26,"angle":274,"satellites":34,"speed":6,"hex_longitude":"2d0d37c0","hex_latitude":"0704bbf8","is_valid_coordinates":true} 
[2026-08-19 09:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500850176001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28794388465319936,"note":"Value kept but may cause issues"} 
[2026-08-19 09:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953285407518930944,"note":"Value kept but may cause issues"} 
[2026-08-19 09:42: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-08-19 09:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787112703000,"timestamp_ms":1787112703000,"timestamp_seconds":1787112703,"priority":1,"record_length":96,"hex_timestamp":"000001a01837c418"} 
[2026-08-19 09:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:42:42] 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-08-19 09:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-19 09:42:42] 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-08-19 09:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160013,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160013,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500850176001,"66":14461,"17":206,"94":11008,"24":6,"16":28794388465319936,"45":953285407518930944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 09:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500850176001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:42:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28794388465319936,"km_value":28794388465319.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":953285407518930944,"description":"Unknown IO ID 45"} 
[2026-08-19 09:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500850176001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":953285407518930944}} 
[2026-08-19 09:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":160013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663891,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:42:43] local.INFO: GPS data processed {"connection_id":160013,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:42:43] local.INFO: Acknowledgment sent {"connection_id":160013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:42:57] local.INFO: TCP Data received {"connection_id":157827,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157827,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:42:57] local.INFO: Processing buffer {"connection_id":157827,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:42:57] local.INFO: IMEI packet received {"connection_id":157827,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":157827,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:42:57] local.INFO: TCP Data received {"connection_id":157456,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:42:57] local.INFO: Processing buffer {"connection_id":157456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:42:57] local.INFO: Packet analysis {"connection_id":157456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:42:57] local.INFO: Extracted packet for processing {"connection_id":157456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:42:57] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500734976001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:42:57] 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-08-19 09:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787112547000,"timestamp_ms":1787112547000,"timestamp_seconds":1787112547,"priority":1,"record_length":96,"hex_timestamp":"000001a0183562b8"} 
[2026-08-19 09:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 09:42:57] 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-08-19 09: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-08-19 09:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:42:57] 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-08-19 09:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500734976001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500734976001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:42:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:42:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500734976001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":157456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:42:57] local.INFO: GPS data processed {"connection_id":157456,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:42:57] local.INFO: Acknowledgment sent {"connection_id":157456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:43:00] local.INFO: TCP Data received {"connection_id":158710,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:43:00] local.INFO: Processing buffer {"connection_id":158710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:43:00] local.INFO: IMEI packet received {"connection_id":158710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":158710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:43:02] local.INFO: TCP Data received {"connection_id":157827,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157827,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:43:02] local.INFO: Processing buffer {"connection_id":157827,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:43:02] local.INFO: IMEI packet received {"connection_id":157827,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":157827,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:43:02] local.INFO: TCP Data received {"connection_id":157827,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a018389af0012d0ca6800704c2b8001f013223..."} 
[2026-08-19 09:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018389af0012d0ca6800704c2b8001f013223..."} 
[2026-08-19 09:43:02] local.INFO: Processing buffer {"connection_id":157827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018389af0012d0ca6800704c2b8001f013223..."} 
[2026-08-19 09:43:02] local.INFO: Packet analysis {"connection_id":157827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01838"} 
[2026-08-19 09:43:02] local.INFO: Extracted packet for processing {"connection_id":157827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01838"} 
[2026-08-19 09:43:02] local.INFO: GPS Element Parsed {"raw_longitude":755803776,"raw_latitude":117752504,"longitude_deg":75.5803776,"latitude_deg":11.7752504,"altitude":31,"angle":306,"satellites":35,"speed":20,"hex_longitude":"2d0ca680","hex_latitude":"0704c2b8","is_valid_coordinates":true} 
[2026-08-19 09:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500865536001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28796192351584256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912612273384597504,"note":"Value kept but may cause issues"} 
[2026-08-19 09:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787112758000,"timestamp_ms":1787112758000,"timestamp_seconds":1787112758,"priority":1,"record_length":96,"hex_timestamp":"000001a018389af0"} 
[2026-08-19 09:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:43:02] 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-08-19 09:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 09:43:02] 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-08-19 09:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":157827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":157827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":157827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500865536001,"66":14309,"95":206,"94":10240,"24":20,"16":28796192351584256,"45":912612273384597504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-19 09:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500865536001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:43:02] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 09:43:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28796192351584256,"km_value":28796192351584.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":912612273384597504,"description":"Unknown IO ID 45"} 
[2026-08-19 09:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500865536001,"power":14309,"unknown_95":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":912612273384597504}} 
[2026-08-19 09:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":157827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663893,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:43:03] local.INFO: GPS data processed {"connection_id":157827,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:43:03] local.INFO: Acknowledgment sent {"connection_id":157827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:43:05] local.INFO: TCP Data received {"connection_id":158710,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:43:05] local.INFO: Processing buffer {"connection_id":158710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:43:05] local.INFO: IMEI packet received {"connection_id":158710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":158710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:43:06] local.INFO: TCP Data received {"connection_id":158710,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:43:06] local.INFO: Processing buffer {"connection_id":158710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:43:06] local.INFO: Packet analysis {"connection_id":158710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:43:06] local.INFO: Extracted packet for processing {"connection_id":158710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:43:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500746752001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787112593000,"timestamp_ms":1787112593000,"timestamp_seconds":1787112593,"priority":1,"record_length":96,"hex_timestamp":"000001a018361668"} 
[2026-08-19 09:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 09:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500746752001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500746752001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:43:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:43:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500746752001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":158710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:43:06] local.INFO: GPS data processed {"connection_id":158710,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:43:06] local.INFO: Acknowledgment sent {"connection_id":158710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:43:20] local.INFO: TCP Data received {"connection_id":157828,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:43:20] local.INFO: Processing buffer {"connection_id":157828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:43:20] local.INFO: IMEI packet received {"connection_id":157828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":157828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:43:25] local.INFO: TCP Data received {"connection_id":157828,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:43:25] local.INFO: Processing buffer {"connection_id":157828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:43:25] local.INFO: IMEI packet received {"connection_id":157828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":157828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:43:26] local.INFO: TCP Data received {"connection_id":157828,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:43:26] local.INFO: Processing buffer {"connection_id":157828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:43:26] local.INFO: Packet analysis {"connection_id":157828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:43:26] local.INFO: Extracted packet for processing {"connection_id":157828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:43:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500734976001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:43:26] 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-08-19 09:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787112547000,"timestamp_ms":1787112547000,"timestamp_seconds":1787112547,"priority":1,"record_length":96,"hex_timestamp":"000001a0183562b8"} 
[2026-08-19 09:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 09:43:26] 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-08-19 09:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:43:26] 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-08-19 09:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500734976001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500734976001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:43:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:43:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500734976001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":157828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:43:26] local.INFO: GPS data processed {"connection_id":157828,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:43:26] local.INFO: Acknowledgment sent {"connection_id":157828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:43:33] local.INFO: TCP Data received {"connection_id":157827,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a018389ed8012d0ca5400704c420001f013e22..."} 
[2026-08-19 09:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018389ed8012d0ca5400704c420001f013e22..."} 
[2026-08-19 09:43:33] local.INFO: Processing buffer {"connection_id":157827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018389ed8012d0ca5400704c420001f013e22..."} 
[2026-08-19 09:43:33] local.INFO: Packet analysis {"connection_id":157827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01838"} 
[2026-08-19 09:43:33] local.INFO: Extracted packet for processing {"connection_id":157827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01838"} 
[2026-08-19 09:43:33] local.INFO: GPS Element Parsed {"raw_longitude":755803456,"raw_latitude":117752864,"longitude_deg":75.5803456,"latitude_deg":11.7752864,"altitude":31,"angle":318,"satellites":34,"speed":20,"hex_longitude":"2d0ca540","hex_latitude":"0704c420","is_valid_coordinates":true} 
[2026-08-19 09:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500866048001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28796213826420736,"note":"Value kept but may cause issues"} 
[2026-08-19 09:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911556742222100480,"note":"Value kept but may cause issues"} 
[2026-08-19 09:43:33] 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-08-19 09:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787112759000,"timestamp_ms":1787112759000,"timestamp_seconds":1787112759,"priority":1,"record_length":96,"hex_timestamp":"000001a018389ed8"} 
[2026-08-19 09:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:43: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-08-19 09:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 09:43:33] 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-08-19 09:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":157827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":157827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":157827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500866048001,"66":14439,"95":206,"94":10240,"24":20,"16":28796213826420736,"45":911556742222100480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-19 09:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500866048001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:43:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 09:43:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28796213826420736,"km_value":28796213826420.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":911556742222100480,"description":"Unknown IO ID 45"} 
[2026-08-19 09:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500866048001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":911556742222100480}} 
[2026-08-19 09:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":157827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663896,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:43:34] local.INFO: GPS data processed {"connection_id":157827,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:43:34] local.INFO: Acknowledgment sent {"connection_id":157827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:43:37] local.INFO: TCP Data received {"connection_id":158710,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:43:37] local.INFO: Processing buffer {"connection_id":158710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:43:37] local.INFO: Packet analysis {"connection_id":158710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:43:37] local.INFO: Extracted packet for processing {"connection_id":158710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500746752001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787112593000,"timestamp_ms":1787112593000,"timestamp_seconds":1787112593,"priority":1,"record_length":96,"hex_timestamp":"000001a018361668"} 
[2026-08-19 09:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 09:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500746752001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500746752001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500746752001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":158710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:43:37] local.INFO: GPS data processed {"connection_id":158710,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:43:37] local.INFO: Acknowledgment sent {"connection_id":158710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:43:57] local.INFO: TCP Data received {"connection_id":157829,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157829,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:43:57] local.INFO: Processing buffer {"connection_id":157829,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:43:57] local.INFO: IMEI packet received {"connection_id":157829,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":157829,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:43:57] local.INFO: TCP Data received {"connection_id":157829,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157829,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:43:57] local.INFO: Processing buffer {"connection_id":157829,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:43:57] local.INFO: IMEI packet received {"connection_id":157829,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":157829,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:43:58] local.INFO: TCP Data received {"connection_id":157828,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:43:58] local.INFO: Processing buffer {"connection_id":157828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183562b8012d7d370005ec09e8000000b31e..."} 
[2026-08-19 09:43:58] local.INFO: Packet analysis {"connection_id":157828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:43:58] local.INFO: Extracted packet for processing {"connection_id":157828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01835"} 
[2026-08-19 09:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":30,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500734976001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:43:58] 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-08-19 09:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787112547000,"timestamp_ms":1787112547000,"timestamp_seconds":1787112547,"priority":1,"record_length":96,"hex_timestamp":"000001a0183562b8"} 
[2026-08-19 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-08-19 09:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 09:43:58] 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-08-19 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-08-19 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-08-19 09:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:43:58] 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-08-19 09:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500734976001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500734976001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:43:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:43:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500734976001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":157828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:43:58] local.INFO: GPS data processed {"connection_id":157828,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:43:58] local.INFO: Acknowledgment sent {"connection_id":157828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:43:59] local.INFO: TCP Data received {"connection_id":157830,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:43:59] local.INFO: Processing buffer {"connection_id":157830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:43:59] local.INFO: IMEI packet received {"connection_id":157830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":157830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:44:01] local.INFO: TCP Data received {"connection_id":157829,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157829,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:44:01] local.INFO: Processing buffer {"connection_id":157829,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:44:01] local.INFO: IMEI packet received {"connection_id":157829,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":157829,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:44:02] local.INFO: TCP Data received {"connection_id":157829,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a01838ae78012d0c9fc00704ca18001e013123..."} 
[2026-08-19 09:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01838ae78012d0c9fc00704ca18001e013123..."} 
[2026-08-19 09:44:02] local.INFO: Processing buffer {"connection_id":157829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01838ae78012d0c9fc00704ca18001e013123..."} 
[2026-08-19 09:44:02] local.INFO: Packet analysis {"connection_id":157829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01838"} 
[2026-08-19 09:44:02] local.INFO: Extracted packet for processing {"connection_id":157829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01838"} 
[2026-08-19 09:44:02] local.INFO: GPS Element Parsed {"raw_longitude":755802048,"raw_latitude":117754392,"longitude_deg":75.5802048,"latitude_deg":11.7754392,"altitude":30,"angle":305,"satellites":35,"speed":22,"hex_longitude":"2d0c9fc0","hex_latitude":"0704ca18","is_valid_coordinates":true} 
[2026-08-19 09:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500866304001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28796312610668544,"note":"Value kept but may cause issues"} 
[2026-08-19 09:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911204898501304320,"note":"Value kept but may cause issues"} 
[2026-08-19 09:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787112763000,"timestamp_ms":1787112763000,"timestamp_seconds":1787112763,"priority":1,"record_length":96,"hex_timestamp":"000001a01838ae78"} 
[2026-08-19 09:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:44:02] 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-08-19 09:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 09:44: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-08-19 09:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":157829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":157829,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":157829,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500866304001,"66":14428,"95":206,"94":10240,"24":22,"16":28796312610668544,"45":911204898501304320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-19 09:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500866304001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:44:02] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 09:44:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28796312610668544,"km_value":28796312610668.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":911204898501304320,"description":"Unknown IO ID 45"} 
[2026-08-19 09:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500866304001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":911204898501304320}} 
[2026-08-19 09:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":157829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663899,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:44:02] local.INFO: GPS data processed {"connection_id":157829,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:44:02] local.INFO: Acknowledgment sent {"connection_id":157829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:44:05] local.INFO: TCP Data received {"connection_id":157830,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:44:05] local.INFO: Processing buffer {"connection_id":157830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:44:05] local.INFO: IMEI packet received {"connection_id":157830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":157830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:44:06] local.INFO: TCP Data received {"connection_id":157830,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:44:06] local.INFO: Processing buffer {"connection_id":157830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:44:06] local.INFO: Packet analysis {"connection_id":157830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:44:06] local.INFO: Extracted packet for processing {"connection_id":157830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500746752001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787112593000,"timestamp_ms":1787112593000,"timestamp_seconds":1787112593,"priority":1,"record_length":96,"hex_timestamp":"000001a018361668"} 
[2026-08-19 09:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 09:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:44:06] 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-08-19 09:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500746752001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500746752001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:44:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500746752001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":157830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:44:06] local.INFO: GPS data processed {"connection_id":157830,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:44:06] local.INFO: Acknowledgment sent {"connection_id":157830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:44:20] local.INFO: TCP Data received {"connection_id":160014,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:44:20] local.INFO: Processing buffer {"connection_id":160014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:44:20] local.INFO: IMEI packet received {"connection_id":160014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":160014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:44:25] local.INFO: TCP Data received {"connection_id":160014,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:44:25] local.INFO: Processing buffer {"connection_id":160014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:44:25] local.INFO: IMEI packet received {"connection_id":160014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":160014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:44:26] local.INFO: TCP Data received {"connection_id":160014,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:44:26] local.INFO: Processing buffer {"connection_id":160014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:44:26] local.INFO: Packet analysis {"connection_id":160014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:44:26] local.INFO: Extracted packet for processing {"connection_id":160014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:44:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500812032001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:44:26] 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-08-19 09:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787112848000,"timestamp_ms":1787112848000,"timestamp_seconds":1787112848,"priority":1,"record_length":96,"hex_timestamp":"000001a01839fa80"} 
[2026-08-19 09:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:44:26] 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-08-19 09:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:44:26] 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-08-19 09:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500812032001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500812032001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:44:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:44:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500812032001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":160014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:44:26] local.INFO: GPS data processed {"connection_id":160014,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:44:26] local.INFO: Acknowledgment sent {"connection_id":160014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:44:39] local.INFO: TCP Data received {"connection_id":157829,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0183a15d8012d0cb94007046df0001800bc24..."} 
[2026-08-19 09:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183a15d8012d0cb94007046df0001800bc24..."} 
[2026-08-19 09:44:39] local.INFO: Processing buffer {"connection_id":157829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183a15d8012d0cb94007046df0001800bc24..."} 
[2026-08-19 09:44:39] local.INFO: Packet analysis {"connection_id":157829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:44:39] local.INFO: Extracted packet for processing {"connection_id":157829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:44:39] local.INFO: GPS Element Parsed {"raw_longitude":755808576,"raw_latitude":117730800,"longitude_deg":75.5808576,"latitude_deg":11.77308,"altitude":24,"angle":188,"satellites":36,"speed":45,"hex_longitude":"2d0cb940","hex_latitude":"07046df0","is_valid_coordinates":true} 
[2026-08-19 09:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500890112001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28797815849222144,"note":"Value kept but may cause issues"} 
[2026-08-19 09:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917045504263348224,"note":"Value kept but may cause issues"} 
[2026-08-19 09:44:39] 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-08-19 09:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787112855000,"timestamp_ms":1787112855000,"timestamp_seconds":1787112855,"priority":1,"record_length":96,"hex_timestamp":"000001a0183a15d8"} 
[2026-08-19 09:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:44: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-08-19 09:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 09:44:39] 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-08-19 09:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157829,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157829,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500890112001,"66":14537,"95":206,"94":10240,"24":45,"16":28797815849222144,"45":917045504263348224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-19 09:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500890112001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:44:39] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 09:44:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28797815849222144,"km_value":28797815849222.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":917045504263348224,"description":"Unknown IO ID 45"} 
[2026-08-19 09:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500890112001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":45,"odometer":null,"unknown_45":917045504263348224}} 
[2026-08-19 09:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":157829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663902,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:44:39] local.INFO: GPS data processed {"connection_id":157829,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:44:39] local.INFO: Acknowledgment sent {"connection_id":157829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:44:39] local.INFO: TCP Data received {"connection_id":157830,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:44:39] local.INFO: Processing buffer {"connection_id":157830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:44:39] local.INFO: Packet analysis {"connection_id":157830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:44:39] local.INFO: Extracted packet for processing {"connection_id":157830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:44:39] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500746752001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787112593000,"timestamp_ms":1787112593000,"timestamp_seconds":1787112593,"priority":1,"record_length":96,"hex_timestamp":"000001a018361668"} 
[2026-08-19 09:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 09:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500746752001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500746752001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:44:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:44:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500746752001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":157830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:44:39] local.INFO: GPS data processed {"connection_id":157830,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:44:39] local.INFO: Acknowledgment sent {"connection_id":157830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:44:58] local.INFO: TCP Data received {"connection_id":160014,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:44:58] local.INFO: Processing buffer {"connection_id":160014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:44:58] local.INFO: Packet analysis {"connection_id":160014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:44:58] local.INFO: Extracted packet for processing {"connection_id":160014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:44:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500812032001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:44:58] 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-08-19 09:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787112848000,"timestamp_ms":1787112848000,"timestamp_seconds":1787112848,"priority":1,"record_length":96,"hex_timestamp":"000001a01839fa80"} 
[2026-08-19 09:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:44:58] 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-08-19 09: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-08-19 09:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:44:58] 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-08-19 09:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500812032001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500812032001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:44:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:44:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500812032001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":160014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:44:58] local.INFO: GPS data processed {"connection_id":160014,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:44:58] local.INFO: Acknowledgment sent {"connection_id":160014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:44:58] local.INFO: TCP Data received {"connection_id":160015,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160015,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:44:58] local.INFO: Processing buffer {"connection_id":160015,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:44:58] local.INFO: IMEI packet received {"connection_id":160015,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":160015,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:44:59] local.INFO: TCP Data received {"connection_id":157457,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:44:59] local.INFO: Processing buffer {"connection_id":157457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:44:59] local.INFO: IMEI packet received {"connection_id":157457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":157457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:45:02] local.INFO: TCP Data received {"connection_id":160015,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160015,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:45:02] local.INFO: Processing buffer {"connection_id":160015,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:45:02] local.INFO: IMEI packet received {"connection_id":160015,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":160015,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:45:03] local.INFO: TCP Data received {"connection_id":160015,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0183a3130012d0cb1c007044f40001800c923..."} 
[2026-08-19 09:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183a3130012d0cb1c007044f40001800c923..."} 
[2026-08-19 09:45:03] local.INFO: Processing buffer {"connection_id":160015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183a3130012d0cb1c007044f40001800c923..."} 
[2026-08-19 09:45:03] local.INFO: Packet analysis {"connection_id":160015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:45:03] local.INFO: Extracted packet for processing {"connection_id":160015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:45:03] local.INFO: GPS Element Parsed {"raw_longitude":755806656,"raw_latitude":117722944,"longitude_deg":75.5806656,"latitude_deg":11.7722944,"altitude":24,"angle":201,"satellites":35,"speed":46,"hex_longitude":"2d0cb1c0","hex_latitude":"07044f40","is_valid_coordinates":true} 
[2026-08-19 09:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500890880001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28798210986213376,"note":"Value kept but may cause issues"} 
[2026-08-19 09:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916834398029869056,"note":"Value kept but may cause issues"} 
[2026-08-19 09:45:03] 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-08-19 09:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787112862000,"timestamp_ms":1787112862000,"timestamp_seconds":1787112862,"priority":1,"record_length":96,"hex_timestamp":"000001a0183a3130"} 
[2026-08-19 09:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-19 09:45:03] 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-08-19 09:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160015,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160015,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500890880001,"66":14548,"95":206,"94":10240,"24":46,"16":28798210986213376,"45":916834398029869056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-19 09:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500890880001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:45:03] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 09:45:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28798210986213376,"km_value":28798210986213.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":916834398029869056,"description":"Unknown IO ID 45"} 
[2026-08-19 09:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500890880001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":46,"odometer":null,"unknown_45":916834398029869056}} 
[2026-08-19 09:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":160015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663905,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:45:03] local.INFO: GPS data processed {"connection_id":160015,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:45:03] local.INFO: Acknowledgment sent {"connection_id":160015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:45:05] local.INFO: TCP Data received {"connection_id":157457,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:45:05] local.INFO: Processing buffer {"connection_id":157457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:45:05] local.INFO: IMEI packet received {"connection_id":157457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":157457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:45:06] local.INFO: TCP Data received {"connection_id":157457,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:45:06] local.INFO: Processing buffer {"connection_id":157457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018361668012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:45:06] local.INFO: Packet analysis {"connection_id":157457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:45:06] local.INFO: Extracted packet for processing {"connection_id":157457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01836"} 
[2026-08-19 09:45:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500746752001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787112593000,"timestamp_ms":1787112593000,"timestamp_seconds":1787112593,"priority":1,"record_length":96,"hex_timestamp":"000001a018361668"} 
[2026-08-19 09:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 09:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:45:06] 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-08-19 09:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500746752001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500746752001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:45:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:45:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500746752001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":157457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:45:06] local.INFO: GPS data processed {"connection_id":157457,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:45:06] local.INFO: Acknowledgment sent {"connection_id":157457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:45:25] local.INFO: TCP Data received {"connection_id":157458,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:45:25] local.INFO: Processing buffer {"connection_id":157458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:45:25] local.INFO: IMEI packet received {"connection_id":157458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":157458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:45:30] local.INFO: TCP Data received {"connection_id":157458,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:45:30] local.INFO: Processing buffer {"connection_id":157458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:45:30] local.INFO: IMEI packet received {"connection_id":157458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":157458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:45:32] local.INFO: TCP Data received {"connection_id":157458,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:45:32] local.INFO: Processing buffer {"connection_id":157458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:45:32] local.INFO: Packet analysis {"connection_id":157458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:45:32] local.INFO: Extracted packet for processing {"connection_id":157458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:45:32] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500812032001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:45: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-08-19 09:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787112848000,"timestamp_ms":1787112848000,"timestamp_seconds":1787112848,"priority":1,"record_length":96,"hex_timestamp":"000001a01839fa80"} 
[2026-08-19 09:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:45:32] 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-08-19 09:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:45:32] 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-08-19 09:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":157458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":157458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":157458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:45:32] 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-08-19 09:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500812032001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500812032001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:45:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:45:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500812032001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":157458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:45:32] local.INFO: GPS data processed {"connection_id":157458,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:45:32] local.INFO: Acknowledgment sent {"connection_id":157458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:45:34] local.INFO: TCP Data received {"connection_id":160015,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0183a5458012d0ca44007042d30001a00d023..."} 
[2026-08-19 09:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183a5458012d0ca44007042d30001a00d023..."} 
[2026-08-19 09:45:34] local.INFO: Processing buffer {"connection_id":160015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183a5458012d0ca44007042d30001a00d023..."} 
[2026-08-19 09:45:34] local.INFO: Packet analysis {"connection_id":160015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:45:34] local.INFO: Extracted packet for processing {"connection_id":160015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:45:34] local.INFO: GPS Element Parsed {"raw_longitude":755803200,"raw_latitude":117714224,"longitude_deg":75.58032,"latitude_deg":11.7714224,"altitude":26,"angle":208,"satellites":35,"speed":35,"hex_longitude":"2d0ca440","hex_latitude":"07042d30","is_valid_coordinates":true} 
[2026-08-19 09:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500892672001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28798666252746752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914723335702528000,"note":"Value kept but may cause issues"} 
[2026-08-19 09:45: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-08-19 09:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787112871000,"timestamp_ms":1787112871000,"timestamp_seconds":1787112871,"priority":1,"record_length":96,"hex_timestamp":"000001a0183a5458"} 
[2026-08-19 09:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:45: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-08-19 09:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-19 09:45: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-08-19 09:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160015,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160015,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500892672001,"66":14428,"95":206,"94":10240,"24":35,"16":28798666252746752,"45":914723335702528000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-19 09:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500892672001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:45:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 09:45:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 09:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28798666252746752,"km_value":28798666252746.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":914723335702528000,"description":"Unknown IO ID 45"} 
[2026-08-19 09:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500892672001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":914723335702528000}} 
[2026-08-19 09:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":160015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663908,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:45:34] local.INFO: GPS data processed {"connection_id":160015,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:45:34] local.INFO: Acknowledgment sent {"connection_id":160015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:45:36] local.INFO: TCP Data received {"connection_id":157458,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:45:36] local.INFO: Processing buffer {"connection_id":157458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:45:36] local.INFO: Packet analysis {"connection_id":157458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:45:36] local.INFO: Extracted packet for processing {"connection_id":157458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:45:36] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500812032001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:45:36] 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-08-19 09:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787112848000,"timestamp_ms":1787112848000,"timestamp_seconds":1787112848,"priority":1,"record_length":96,"hex_timestamp":"000001a01839fa80"} 
[2026-08-19 09:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:45:36] 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-08-19 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:45:36] 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-08-19 09:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500812032001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500812032001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:45:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:45:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500812032001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":157458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:45:36] local.INFO: GPS data processed {"connection_id":157458,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:45:36] local.INFO: Acknowledgment sent {"connection_id":157458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:45:37] local.INFO: TCP Data received {"connection_id":157457,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:45:37] local.INFO: Processing buffer {"connection_id":157457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:45:37] local.INFO: Packet analysis {"connection_id":157457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:45:37] local.INFO: Extracted packet for processing {"connection_id":157457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500823808001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787112899000,"timestamp_ms":1787112899000,"timestamp_seconds":1787112899,"priority":1,"record_length":96,"hex_timestamp":"000001a0183ac1b8"} 
[2026-08-19 09:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 09:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500823808001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500823808001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500823808001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":157457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:45:37] local.INFO: GPS data processed {"connection_id":157457,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:45:37] local.INFO: Acknowledgment sent {"connection_id":157457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:45:56] local.INFO: TCP Data received {"connection_id":157831,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157831,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:45:56] local.INFO: Processing buffer {"connection_id":157831,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:45:56] local.INFO: IMEI packet received {"connection_id":157831,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":157831,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:46:01] local.INFO: TCP Data received {"connection_id":157831,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157831,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:46:01] local.INFO: Processing buffer {"connection_id":157831,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:46:01] local.INFO: IMEI packet received {"connection_id":157831,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":157831,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:46:01] local.INFO: TCP Data received {"connection_id":157831,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0183b7d38012d0c6d800703df48001700a120..."} 
[2026-08-19 09:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183b7d38012d0c6d800703df48001700a120..."} 
[2026-08-19 09:46:01] local.INFO: Processing buffer {"connection_id":157831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183b7d38012d0c6d800703df48001700a120..."} 
[2026-08-19 09:46:01] local.INFO: Packet analysis {"connection_id":157831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183b"} 
[2026-08-19 09:46:01] local.INFO: Extracted packet for processing {"connection_id":157831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183b"} 
[2026-08-19 09:46:01] local.INFO: GPS Element Parsed {"raw_longitude":755789184,"raw_latitude":117694280,"longitude_deg":75.5789184,"latitude_deg":11.769428,"altitude":23,"angle":161,"satellites":32,"speed":14,"hex_longitude":"2d0c6d80","hex_latitude":"0703df48","is_valid_coordinates":true} 
[2026-08-19 09:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500914176001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28800371354763264,"note":"Value kept but may cause issues"} 
[2026-08-19 09:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895442299790604288,"note":"Value kept but may cause issues"} 
[2026-08-19 09:46:01] 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-08-19 09:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787112947000,"timestamp_ms":1787112947000,"timestamp_seconds":1787112947,"priority":1,"record_length":96,"hex_timestamp":"000001a0183b7d38"} 
[2026-08-19 09:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 09:46:01] 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-08-19 09:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":157831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":157831,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":157831,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500914176001,"66":14439,"16":28800371354763264,"94":11008,"24":14,"45":895442299790604288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-19 09:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500914176001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28800371354763264,"km_value":28800371354763.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:46:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":895442299790604288,"description":"Unknown IO ID 45"} 
[2026-08-19 09:46:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457500914176001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":895442299790604288}} 
[2026-08-19 09:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":157831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663911,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:46:02] local.INFO: GPS data processed {"connection_id":157831,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:46:02] local.INFO: Acknowledgment sent {"connection_id":157831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:46:05] local.INFO: TCP Data received {"connection_id":157832,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:46:05] local.INFO: Processing buffer {"connection_id":157832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:46:05] local.INFO: IMEI packet received {"connection_id":157832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":157832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:46:10] local.INFO: TCP Data received {"connection_id":157832,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:46:10] local.INFO: Processing buffer {"connection_id":157832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:46:10] local.INFO: IMEI packet received {"connection_id":157832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":157832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:46:11] local.INFO: TCP Data received {"connection_id":157832,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:46:11] local.INFO: Processing buffer {"connection_id":157832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:46:11] local.INFO: Packet analysis {"connection_id":157832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:46:11] local.INFO: Extracted packet for processing {"connection_id":157832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:46:11] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500823808001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787112899000,"timestamp_ms":1787112899000,"timestamp_seconds":1787112899,"priority":1,"record_length":96,"hex_timestamp":"000001a0183ac1b8"} 
[2026-08-19 09:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:46:11] 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-08-19 09:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 09:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500823808001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500823808001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:46:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:46:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500823808001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":157832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:46:11] local.INFO: GPS data processed {"connection_id":157832,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:46:11] local.INFO: Acknowledgment sent {"connection_id":157832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:46:15] local.INFO: TCP Data received {"connection_id":157832,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:46:15] local.INFO: Processing buffer {"connection_id":157832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:46:15] local.INFO: Packet analysis {"connection_id":157832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:46:15] local.INFO: Extracted packet for processing {"connection_id":157832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500823808001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787112899000,"timestamp_ms":1787112899000,"timestamp_seconds":1787112899,"priority":1,"record_length":96,"hex_timestamp":"000001a0183ac1b8"} 
[2026-08-19 09:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:46:15] 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-08-19 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 09:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500823808001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500823808001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:46:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500823808001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":157832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:46:15] local.INFO: GPS data processed {"connection_id":157832,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:46:15] local.INFO: Acknowledgment sent {"connection_id":157832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:46:20] local.INFO: TCP Data received {"connection_id":157459,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:46:20] local.INFO: Processing buffer {"connection_id":157459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:46:20] local.INFO: IMEI packet received {"connection_id":157459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":157459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:46:25] local.INFO: TCP Data received {"connection_id":157459,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157459,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:46:25] local.INFO: Processing buffer {"connection_id":157459,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:46:25] local.INFO: IMEI packet received {"connection_id":157459,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":157459,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:46:26] local.INFO: TCP Data received {"connection_id":157459,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:46:26] local.INFO: Processing buffer {"connection_id":157459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:46:26] local.INFO: Packet analysis {"connection_id":157459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:46:26] local.INFO: Extracted packet for processing {"connection_id":157459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:46:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500812032001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:46:26] 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-08-19 09:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787112848000,"timestamp_ms":1787112848000,"timestamp_seconds":1787112848,"priority":1,"record_length":96,"hex_timestamp":"000001a01839fa80"} 
[2026-08-19 09:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:46:26] 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-08-19 09: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-08-19 09:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:46:26] 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-08-19 09:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500812032001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500812032001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:46:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:46:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500812032001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":157459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:46:26] local.INFO: GPS data processed {"connection_id":157459,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:46:26] local.INFO: Acknowledgment sent {"connection_id":157459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:46:33] local.INFO: TCP Data received {"connection_id":157831,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0183b8120012d0c6d800703dda8001700b321..."} 
[2026-08-19 09:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183b8120012d0c6d800703dda8001700b321..."} 
[2026-08-19 09:46:33] local.INFO: Processing buffer {"connection_id":157831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183b8120012d0c6d800703dda8001700b321..."} 
[2026-08-19 09:46:33] local.INFO: Packet analysis {"connection_id":157831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183b"} 
[2026-08-19 09:46:33] local.INFO: Extracted packet for processing {"connection_id":157831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183b"} 
[2026-08-19 09:46:33] local.INFO: GPS Element Parsed {"raw_longitude":755789184,"raw_latitude":117693864,"longitude_deg":75.5789184,"latitude_deg":11.7693864,"altitude":23,"angle":179,"satellites":33,"speed":14,"hex_longitude":"2d0c6d80","hex_latitude":"0703dda8","is_valid_coordinates":true} 
[2026-08-19 09:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500914432001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28800392829599744,"note":"Value kept but may cause issues"} 
[2026-08-19 09:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895512668534687744,"note":"Value kept but may cause issues"} 
[2026-08-19 09:46:33] 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-08-19 09:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787112948000,"timestamp_ms":1787112948000,"timestamp_seconds":1787112948,"priority":1,"record_length":96,"hex_timestamp":"000001a0183b8120"} 
[2026-08-19 09:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 09:46: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-08-19 09:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":157831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":157831,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":157831,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500914432001,"66":14439,"16":28800392829599744,"94":11008,"24":14,"45":895512668534687744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-19 09:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500914432001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28800392829599744,"km_value":28800392829599.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:46:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":895512668534687744,"description":"Unknown IO ID 45"} 
[2026-08-19 09:46:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457500914432001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":895512668534687744}} 
[2026-08-19 09:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":157831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663915,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:46:33] local.INFO: GPS data processed {"connection_id":157831,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:46:33] local.INFO: Acknowledgment sent {"connection_id":157831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:46:56] local.INFO: TCP Data received {"connection_id":158711,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158711,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:46:56] local.INFO: Processing buffer {"connection_id":158711,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:46:56] local.INFO: IMEI packet received {"connection_id":158711,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":158711,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:46:58] local.INFO: TCP Data received {"connection_id":157459,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:46:58] local.INFO: Processing buffer {"connection_id":157459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:46:58] local.INFO: Packet analysis {"connection_id":157459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:46:58] local.INFO: Extracted packet for processing {"connection_id":157459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:46:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500812032001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:46:58] 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-08-19 09:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787112848000,"timestamp_ms":1787112848000,"timestamp_seconds":1787112848,"priority":1,"record_length":96,"hex_timestamp":"000001a01839fa80"} 
[2026-08-19 09:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:46:58] 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-08-19 09: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-08-19 09:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157459,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:46:58] 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-08-19 09:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500812032001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500812032001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:46:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:46:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500812032001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":157459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:46:58] local.INFO: GPS data processed {"connection_id":157459,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:46:58] local.INFO: Acknowledgment sent {"connection_id":157459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:46:59] local.INFO: TCP Data received {"connection_id":158711,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158711,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:46:59] local.INFO: Processing buffer {"connection_id":158711,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:46:59] local.INFO: IMEI packet received {"connection_id":158711,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":158711,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:47:00] local.INFO: TCP Data received {"connection_id":158712,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:47:00] local.INFO: Processing buffer {"connection_id":158712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:47:00] local.INFO: IMEI packet received {"connection_id":158712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":158712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:47:02] local.INFO: TCP Data received {"connection_id":158711,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158711,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:47:02] local.INFO: Processing buffer {"connection_id":158711,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:47:02] local.INFO: IMEI packet received {"connection_id":158711,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":158711,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:47:03] local.INFO: TCP Data received {"connection_id":158711,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0183b90c0012d0c6d400703d6b8001800bf22..."} 
[2026-08-19 09:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183b90c0012d0c6d400703d6b8001800bf22..."} 
[2026-08-19 09:47:03] local.INFO: Processing buffer {"connection_id":158711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183b90c0012d0c6d400703d6b8001800bf22..."} 
[2026-08-19 09:47:03] local.INFO: Packet analysis {"connection_id":158711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183b"} 
[2026-08-19 09:47:03] local.INFO: Extracted packet for processing {"connection_id":158711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183b"} 
[2026-08-19 09:47:03] local.INFO: GPS Element Parsed {"raw_longitude":755789120,"raw_latitude":117692088,"longitude_deg":75.578912,"latitude_deg":11.7692088,"altitude":24,"angle":191,"satellites":34,"speed":20,"hex_longitude":"2d0c6d40","hex_latitude":"0703d6b8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500914688001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28800478728945664,"note":"Value kept but may cause issues"} 
[2026-08-19 09:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895512668534581248,"note":"Value kept but may cause issues"} 
[2026-08-19 09:47:03] 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-08-19 09:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787112952000,"timestamp_ms":1787112952000,"timestamp_seconds":1787112952,"priority":1,"record_length":96,"hex_timestamp":"000001a0183b90c0"} 
[2026-08-19 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-08-19 09:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 09:47: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-08-19 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-08-19 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-08-19 09:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":158711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":158711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":158711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500914688001,"66":14428,"16":28800478728945664,"94":11008,"24":20,"45":895512668534581248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-19 09:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500914688001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28800478728945664,"km_value":28800478728945.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:47:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":895512668534581248,"description":"Unknown IO ID 45"} 
[2026-08-19 09:47:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457500914688001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":20,"unknown_45":895512668534581248}} 
[2026-08-19 09:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":158711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663917,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:47:03] local.INFO: GPS data processed {"connection_id":158711,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:47:03] local.INFO: Acknowledgment sent {"connection_id":158711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:47:06] local.INFO: TCP Data received {"connection_id":158712,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:47:06] local.INFO: Processing buffer {"connection_id":158712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:47:06] local.INFO: IMEI packet received {"connection_id":158712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":158712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:47:06] local.INFO: TCP Data received {"connection_id":158712,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:47:06] local.INFO: Processing buffer {"connection_id":158712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:47:06] local.INFO: Packet analysis {"connection_id":158712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:47:06] local.INFO: Extracted packet for processing {"connection_id":158712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:47:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500823808001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787112899000,"timestamp_ms":1787112899000,"timestamp_seconds":1787112899,"priority":1,"record_length":96,"hex_timestamp":"000001a0183ac1b8"} 
[2026-08-19 09:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 09:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:47:06] 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-08-19 09:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500823808001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500823808001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:47:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:47:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500823808001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":158712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:47:06] local.INFO: GPS data processed {"connection_id":158712,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:47:06] local.INFO: Acknowledgment sent {"connection_id":158712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:47:20] local.INFO: TCP Data received {"connection_id":157833,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:47:20] local.INFO: Processing buffer {"connection_id":157833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:47:20] local.INFO: IMEI packet received {"connection_id":157833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":157833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:47:25] local.INFO: TCP Data received {"connection_id":157833,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:47:25] local.INFO: Processing buffer {"connection_id":157833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:47:25] local.INFO: IMEI packet received {"connection_id":157833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":157833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:47:26] local.INFO: TCP Data received {"connection_id":157833,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:47:26] local.INFO: Processing buffer {"connection_id":157833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:47:26] local.INFO: Packet analysis {"connection_id":157833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:47:26] local.INFO: Extracted packet for processing {"connection_id":157833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:47:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500812032001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:47:26] 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-08-19 09:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787112848000,"timestamp_ms":1787112848000,"timestamp_seconds":1787112848,"priority":1,"record_length":96,"hex_timestamp":"000001a01839fa80"} 
[2026-08-19 09:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:47:26] 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-08-19 09: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-08-19 09:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:47:26] 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-08-19 09:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500812032001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500812032001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:47:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:47:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500812032001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":157833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:47:27] local.INFO: GPS data processed {"connection_id":157833,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:47:27] local.INFO: Acknowledgment sent {"connection_id":157833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:47:34] local.INFO: TCP Data received {"connection_id":158711,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0183cf438012d0c624007037100001a00ce20..."} 
[2026-08-19 09:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183cf438012d0c624007037100001a00ce20..."} 
[2026-08-19 09:47:34] local.INFO: Processing buffer {"connection_id":158711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183cf438012d0c624007037100001a00ce20..."} 
[2026-08-19 09:47:34] local.INFO: Packet analysis {"connection_id":158711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183c"} 
[2026-08-19 09:47:34] local.INFO: Extracted packet for processing {"connection_id":158711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183c"} 
[2026-08-19 09:47:34] local.INFO: GPS Element Parsed {"raw_longitude":755786304,"raw_latitude":117666048,"longitude_deg":75.5786304,"latitude_deg":11.7666048,"altitude":26,"angle":206,"satellites":32,"speed":9,"hex_longitude":"2d0c6240","hex_latitude":"07037100","is_valid_coordinates":true} 
[2026-08-19 09:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500938752001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28801771514101760,"note":"Value kept but may cause issues"} 
[2026-08-19 09:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892416443783710720,"note":"Value kept but may cause issues"} 
[2026-08-19 09:47: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-08-19 09:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787113043000,"timestamp_ms":1787113043000,"timestamp_seconds":1787113043,"priority":1,"record_length":96,"hex_timestamp":"000001a0183cf438"} 
[2026-08-19 09:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:47: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-08-19 09:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 09:47: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-08-19 09:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":158711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":158711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":158711,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500938752001,"66":14580,"16":28801771514101760,"94":11008,"24":9,"45":892416443783710720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-19 09:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500938752001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28801771514101760,"km_value":28801771514101.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:47:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":892416443783710720,"description":"Unknown IO ID 45"} 
[2026-08-19 09:47:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457500938752001,"power":14580,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":892416443783710720}} 
[2026-08-19 09:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":158711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663920,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:47:34] local.INFO: GPS data processed {"connection_id":158711,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:47:34] local.INFO: Acknowledgment sent {"connection_id":158711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:47:38] local.INFO: TCP Data received {"connection_id":158712,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:47:38] local.INFO: Processing buffer {"connection_id":158712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:47:38] local.INFO: Packet analysis {"connection_id":158712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:47:38] local.INFO: Extracted packet for processing {"connection_id":158712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500823808001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787112899000,"timestamp_ms":1787112899000,"timestamp_seconds":1787112899,"priority":1,"record_length":96,"hex_timestamp":"000001a0183ac1b8"} 
[2026-08-19 09:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 09:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:47:38] 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-08-19 09:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500823808001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500823808001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500823808001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":158712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:47:38] local.INFO: GPS data processed {"connection_id":158712,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:47:38] local.INFO: Acknowledgment sent {"connection_id":158712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:47:59] local.INFO: TCP Data received {"connection_id":157833,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:47:59] local.INFO: Processing buffer {"connection_id":157833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:47:59] local.INFO: Packet analysis {"connection_id":157833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:47:59] local.INFO: Extracted packet for processing {"connection_id":157833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500812032001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 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-08-19 09:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787112848000,"timestamp_ms":1787112848000,"timestamp_seconds":1787112848,"priority":1,"record_length":96,"hex_timestamp":"000001a01839fa80"} 
[2026-08-19 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-08-19 09:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:47: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-08-19 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-08-19 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-08-19 09:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":157833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":157833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":157833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:47:59] 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-08-19 09:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500812032001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500812032001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:47:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:47:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500812032001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":157833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:47:59] local.INFO: GPS data processed {"connection_id":157833,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:47:59] local.INFO: Acknowledgment sent {"connection_id":157833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:48:00] local.INFO: TCP Data received {"connection_id":157460,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:48:00] local.INFO: Processing buffer {"connection_id":157460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:48:00] local.INFO: IMEI packet received {"connection_id":157460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":157460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:48:02] local.INFO: TCP Data received {"connection_id":157461,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:48:02] local.INFO: Processing buffer {"connection_id":157461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:48:02] local.INFO: IMEI packet received {"connection_id":157461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":157461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:48:05] local.INFO: TCP Data received {"connection_id":157460,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:48:05] local.INFO: Processing buffer {"connection_id":157460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:48:05] local.INFO: IMEI packet received {"connection_id":157460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":157460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:48:06] local.INFO: TCP Data received {"connection_id":157460,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:48:06] local.INFO: Processing buffer {"connection_id":157460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:48:06] local.INFO: Packet analysis {"connection_id":157460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:48:06] local.INFO: Extracted packet for processing {"connection_id":157460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:48:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500823808001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787112899000,"timestamp_ms":1787112899000,"timestamp_seconds":1787112899,"priority":1,"record_length":96,"hex_timestamp":"000001a0183ac1b8"} 
[2026-08-19 09:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 09:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500823808001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500823808001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:48:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:48:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500823808001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":157460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:48:06] local.INFO: GPS data processed {"connection_id":157460,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:48:06] local.INFO: Acknowledgment sent {"connection_id":157460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:48:07] local.INFO: TCP Data received {"connection_id":157461,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:48:07] local.INFO: Processing buffer {"connection_id":157461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:48:07] local.INFO: IMEI packet received {"connection_id":157461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":157461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:48:07] local.INFO: TCP Data received {"connection_id":157461,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0183cf820012d0c618007037028001a00e320..."} 
[2026-08-19 09:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183cf820012d0c618007037028001a00e320..."} 
[2026-08-19 09:48:07] local.INFO: Processing buffer {"connection_id":157461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183cf820012d0c618007037028001a00e320..."} 
[2026-08-19 09:48:07] local.INFO: Packet analysis {"connection_id":157461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183c"} 
[2026-08-19 09:48:07] local.INFO: Extracted packet for processing {"connection_id":157461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183c"} 
[2026-08-19 09:48:07] local.INFO: GPS Element Parsed {"raw_longitude":755786112,"raw_latitude":117665832,"longitude_deg":75.5786112,"latitude_deg":11.7665832,"altitude":26,"angle":227,"satellites":32,"speed":11,"hex_longitude":"2d0c6180","hex_latitude":"07037028","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500939008001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28801784399003648,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892346075039465472,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 09:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787113044000,"timestamp_ms":1787113044000,"timestamp_seconds":1787113044,"priority":1,"record_length":96,"hex_timestamp":"000001a0183cf820"} 
[2026-08-19 09:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:48: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-08-19 09: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-19 09:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500939008001,"66":14580,"16":28801784399003648,"94":11008,"24":11,"45":892346075039465472},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-19 09:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500939008001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28801784399003648,"km_value":28801784399003.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:48:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":892346075039465472,"description":"Unknown IO ID 45"} 
[2026-08-19 09:48:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457500939008001,"power":14580,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":892346075039465472}} 
[2026-08-19 09:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":157461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663924,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:48:07] local.INFO: GPS data processed {"connection_id":157461,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:48:07] local.INFO: Acknowledgment sent {"connection_id":157461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:48:12] local.INFO: TCP Data received {"connection_id":157461,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0183cfc08012d0c60c007036f88001a00f620..."} 
[2026-08-19 09:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183cfc08012d0c60c007036f88001a00f620..."} 
[2026-08-19 09:48:12] local.INFO: Processing buffer {"connection_id":157461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183cfc08012d0c60c007036f88001a00f620..."} 
[2026-08-19 09:48:12] local.INFO: Packet analysis {"connection_id":157461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183c"} 
[2026-08-19 09:48:12] local.INFO: Extracted packet for processing {"connection_id":157461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183c"} 
[2026-08-19 09:48:12] local.INFO: GPS Element Parsed {"raw_longitude":755785920,"raw_latitude":117665672,"longitude_deg":75.578592,"latitude_deg":11.7665672,"altitude":26,"angle":246,"satellites":32,"speed":13,"hex_longitude":"2d0c60c0","hex_latitude":"07036f88","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500939264001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28801797283905536,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892134968806877184,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 09:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787113045000,"timestamp_ms":1787113045000,"timestamp_seconds":1787113045,"priority":1,"record_length":96,"hex_timestamp":"000001a0183cfc08"} 
[2026-08-19 09:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:48: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-08-19 09:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-19 09:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500939264001,"66":14428,"16":28801797283905536,"94":11008,"24":13,"45":892134968806877184},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-19 09:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500939264001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28801797283905536,"km_value":28801797283905.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:48:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":892134968806877184,"description":"Unknown IO ID 45"} 
[2026-08-19 09:48:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457500939264001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":13,"unknown_45":892134968806877184}} 
[2026-08-19 09:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":157461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663925,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:48:12] local.INFO: GPS data processed {"connection_id":157461,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:48:12] local.INFO: Acknowledgment sent {"connection_id":157461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:48:20] local.INFO: TCP Data received {"connection_id":158713,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:48:20] local.INFO: Processing buffer {"connection_id":158713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:48:20] local.INFO: IMEI packet received {"connection_id":158713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":158713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:48:25] local.INFO: TCP Data received {"connection_id":158713,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:48:25] local.INFO: Processing buffer {"connection_id":158713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:48:25] local.INFO: IMEI packet received {"connection_id":158713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":158713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:48:26] local.INFO: TCP Data received {"connection_id":158713,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:48:26] local.INFO: Processing buffer {"connection_id":158713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:48:26] local.INFO: Packet analysis {"connection_id":158713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:48:26] local.INFO: Extracted packet for processing {"connection_id":158713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:48:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500812032001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:26] 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-08-19 09:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787112848000,"timestamp_ms":1787112848000,"timestamp_seconds":1787112848,"priority":1,"record_length":96,"hex_timestamp":"000001a01839fa80"} 
[2026-08-19 09:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:48:26] 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-08-19 09:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:48:26] 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-08-19 09:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500812032001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500812032001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:48:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:48:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500812032001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":158713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:48:27] local.INFO: GPS data processed {"connection_id":158713,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:48:27] local.INFO: Acknowledgment sent {"connection_id":158713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:48:37] local.INFO: TCP Data received {"connection_id":157460,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:48:37] local.INFO: Processing buffer {"connection_id":157460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:48:37] local.INFO: Packet analysis {"connection_id":157460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:48:37] local.INFO: Extracted packet for processing {"connection_id":157460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500823808001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48: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-08-19 09:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787112899000,"timestamp_ms":1787112899000,"timestamp_seconds":1787112899,"priority":1,"record_length":96,"hex_timestamp":"000001a0183ac1b8"} 
[2026-08-19 09:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 09:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500823808001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500823808001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500823808001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":157460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:48:37] local.INFO: GPS data processed {"connection_id":157460,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:48:37] local.INFO: Acknowledgment sent {"connection_id":157460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:48:52] local.INFO: TCP Data received {"connection_id":157462,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157462,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:48:52] local.INFO: Processing buffer {"connection_id":157462,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:48:52] local.INFO: IMEI packet received {"connection_id":157462,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":157462,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:48:53] local.INFO: TCP Data received {"connection_id":157462,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157462,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:48:53] local.INFO: Processing buffer {"connection_id":157462,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:48:53] local.INFO: IMEI packet received {"connection_id":157462,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":157462,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:48:57] local.INFO: TCP Data received {"connection_id":157462,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157462,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:48:57] local.INFO: Processing buffer {"connection_id":157462,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:48:57] local.INFO: IMEI packet received {"connection_id":157462,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":157462,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:48:58] local.INFO: TCP Data received {"connection_id":158713,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:48:58] local.INFO: Processing buffer {"connection_id":158713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01839fa80012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:48:58] local.INFO: Packet analysis {"connection_id":158713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:48:58] local.INFO: Extracted packet for processing {"connection_id":158713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01839"} 
[2026-08-19 09:48:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500812032001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:58] 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-08-19 09:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787112848000,"timestamp_ms":1787112848000,"timestamp_seconds":1787112848,"priority":1,"record_length":96,"hex_timestamp":"000001a01839fa80"} 
[2026-08-19 09:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:48:58] 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-08-19 09: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-08-19 09:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":158713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":158713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":158713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:48:58] 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-08-19 09:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500812032001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500812032001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:48:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:48:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500812032001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":158713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:48:58] local.INFO: GPS data processed {"connection_id":158713,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:48:58] local.INFO: Acknowledgment sent {"connection_id":158713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:48:58] local.INFO: TCP Data received {"connection_id":157462,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157462,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:48:58] local.INFO: Processing buffer {"connection_id":157462,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:48:58] local.INFO: IMEI packet received {"connection_id":157462,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":157462,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:48:59] local.INFO: TCP Data received {"connection_id":157462,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0183e3c58012d0c2180070352f0001600ee22..."} 
[2026-08-19 09:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183e3c58012d0c2180070352f0001600ee22..."} 
[2026-08-19 09:48:59] local.INFO: Processing buffer {"connection_id":157462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183e3c58012d0c2180070352f0001600ee22..."} 
[2026-08-19 09:48:59] local.INFO: Packet analysis {"connection_id":157462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:48:59] local.INFO: Extracted packet for processing {"connection_id":157462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:48:59] local.INFO: GPS Element Parsed {"raw_longitude":755769728,"raw_latitude":117658352,"longitude_deg":75.5769728,"latitude_deg":11.7658352,"altitude":22,"angle":238,"satellites":34,"speed":18,"hex_longitude":"2d0c2180","hex_latitude":"070352f0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500959232001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28802699227037696,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876864951318693888,"note":"Value kept but may cause issues"} 
[2026-08-19 09:48:59] 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-08-19 09:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787113127000,"timestamp_ms":1787113127000,"timestamp_seconds":1787113127,"priority":1,"record_length":96,"hex_timestamp":"000001a0183e3c58"} 
[2026-08-19 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-08-19 09:48:59] 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-08-19 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 09:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 09:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":157462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":157462,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":157462,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500959232001,"66":14407,"249":206,"94":11008,"24":18,"16":28802699227037696,"45":876864951318693888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,94,24,16,45]} 
[2026-08-19 09:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500959232001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:48:59] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-19 09:48:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28802699227037696,"km_value":28802699227037.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":876864951318693888,"description":"Unknown IO ID 45"} 
[2026-08-19 09:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500959232001,"power":14407,"unknown_249":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":876864951318693888}} 
[2026-08-19 09:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":157462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663929,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:48:59] local.INFO: GPS data processed {"connection_id":157462,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:48:59] local.INFO: Acknowledgment sent {"connection_id":157462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:48:59] local.INFO: TCP Data received {"connection_id":160016,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:48:59] local.INFO: Processing buffer {"connection_id":160016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:48:59] local.INFO: IMEI packet received {"connection_id":160016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":160016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:49:02] local.INFO: TCP Data received {"connection_id":157462,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0183e4810012d0c1e0007035048001700d921..."} 
[2026-08-19 09:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183e4810012d0c1e0007035048001700d921..."} 
[2026-08-19 09:49:02] local.INFO: Processing buffer {"connection_id":157462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183e4810012d0c1e0007035048001700d921..."} 
[2026-08-19 09:49:02] local.INFO: Packet analysis {"connection_id":157462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:49:02] local.INFO: Extracted packet for processing {"connection_id":157462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:49:02] local.INFO: GPS Element Parsed {"raw_longitude":755768832,"raw_latitude":117657672,"longitude_deg":75.5768832,"latitude_deg":11.7657672,"altitude":23,"angle":217,"satellites":33,"speed":12,"hex_longitude":"2d0c1e00","hex_latitude":"07035048","is_valid_coordinates":true} 
[2026-08-19 09:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500960512001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28802755061612544,"note":"Value kept but may cause issues"} 
[2026-08-19 09:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874120570295480320,"note":"Value kept but may cause issues"} 
[2026-08-19 09:49:02] 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-08-19 09:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787113130000,"timestamp_ms":1787113130000,"timestamp_seconds":1787113130,"priority":1,"record_length":96,"hex_timestamp":"000001a0183e4810"} 
[2026-08-19 09:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 09:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":157462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":157462,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":157462,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500960512001,"66":14428,"249":206,"94":11008,"24":12,"16":28802755061612544,"45":874120570295480320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,94,24,16,45]} 
[2026-08-19 09:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500960512001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:49:02] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-19 09:49:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28802755061612544,"km_value":28802755061612.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":874120570295480320,"description":"Unknown IO ID 45"} 
[2026-08-19 09:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500960512001,"power":14428,"unknown_249":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":874120570295480320}} 
[2026-08-19 09:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":157462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663930,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:49:02] local.INFO: GPS data processed {"connection_id":157462,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:49:02] local.INFO: Acknowledgment sent {"connection_id":157462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:49:05] local.INFO: TCP Data received {"connection_id":160016,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:49:05] local.INFO: Processing buffer {"connection_id":160016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:49:05] local.INFO: IMEI packet received {"connection_id":160016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":160016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:49:07] local.INFO: TCP Data received {"connection_id":160016,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:49:07] local.INFO: Processing buffer {"connection_id":160016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:49:07] local.INFO: Packet analysis {"connection_id":160016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:49:07] local.INFO: Extracted packet for processing {"connection_id":160016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:49:07] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500823808001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787112899000,"timestamp_ms":1787112899000,"timestamp_seconds":1787112899,"priority":1,"record_length":96,"hex_timestamp":"000001a0183ac1b8"} 
[2026-08-19 09:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 09:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:49:07] 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-08-19 09:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500823808001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500823808001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:49:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:49:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500823808001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":160016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:49:07] local.INFO: GPS data processed {"connection_id":160016,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:49:07] local.INFO: Acknowledgment sent {"connection_id":160016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:49:20] local.INFO: TCP Data received {"connection_id":157834,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:49:20] local.INFO: Processing buffer {"connection_id":157834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:49:20] local.INFO: IMEI packet received {"connection_id":157834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":157834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:49:25] local.INFO: TCP Data received {"connection_id":157834,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:49:25] local.INFO: Processing buffer {"connection_id":157834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:49:25] local.INFO: IMEI packet received {"connection_id":157834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":157834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:49:26] local.INFO: TCP Data received {"connection_id":157834,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:49:26] local.INFO: Processing buffer {"connection_id":157834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:49:26] local.INFO: Packet analysis {"connection_id":157834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:49:26] local.INFO: Extracted packet for processing {"connection_id":157834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:49:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500889088001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:49:26] 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-08-19 09:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787113149000,"timestamp_ms":1787113149000,"timestamp_seconds":1787113149,"priority":1,"record_length":96,"hex_timestamp":"000001a0183e9248"} 
[2026-08-19 09:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:49:26] 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-08-19 09:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500889088001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500889088001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:49:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:49:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500889088001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":157834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:49:26] local.INFO: GPS data processed {"connection_id":157834,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:49:26] local.INFO: Acknowledgment sent {"connection_id":157834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:49:39] local.INFO: TCP Data received {"connection_id":160016,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:49:39] local.INFO: Processing buffer {"connection_id":160016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:49:39] local.INFO: Packet analysis {"connection_id":160016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:49:39] local.INFO: Extracted packet for processing {"connection_id":160016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:49:39] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500823808001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787112899000,"timestamp_ms":1787112899000,"timestamp_seconds":1787112899,"priority":1,"record_length":96,"hex_timestamp":"000001a0183ac1b8"} 
[2026-08-19 09:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 09:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500823808001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500823808001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:49:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:49:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500823808001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":160016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:49:39] local.INFO: GPS data processed {"connection_id":160016,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:49:39] local.INFO: Acknowledgment sent {"connection_id":160016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:49:57] local.INFO: TCP Data received {"connection_id":157835,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157835,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:49:57] local.INFO: Processing buffer {"connection_id":157835,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:49:57] local.INFO: IMEI packet received {"connection_id":157835,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":157835,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:49:57] local.INFO: TCP Data received {"connection_id":157835,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157835,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:49:57] local.INFO: Processing buffer {"connection_id":157835,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:49:57] local.INFO: IMEI packet received {"connection_id":157835,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":157835,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:49:58] local.INFO: TCP Data received {"connection_id":157834,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:49:58] local.INFO: Processing buffer {"connection_id":157834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:49:58] local.INFO: Packet analysis {"connection_id":157834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:49:58] local.INFO: Extracted packet for processing {"connection_id":157834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500889088001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:49:58] 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-08-19 09:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787113149000,"timestamp_ms":1787113149000,"timestamp_seconds":1787113149,"priority":1,"record_length":96,"hex_timestamp":"000001a0183e9248"} 
[2026-08-19 09:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:49:58] 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-08-19 09: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-08-19 09:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:49:58] 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-08-19 09:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500889088001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500889088001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:49:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:49:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500889088001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":157834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:49:58] local.INFO: GPS data processed {"connection_id":157834,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:49:58] local.INFO: Acknowledgment sent {"connection_id":157834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:49:59] local.INFO: TCP Data received {"connection_id":157836,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:49:59] local.INFO: Processing buffer {"connection_id":157836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:49:59] local.INFO: IMEI packet received {"connection_id":157836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":157836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:50:01] local.INFO: TCP Data received {"connection_id":157835,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157835,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:50:01] local.INFO: Processing buffer {"connection_id":157835,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:50:01] local.INFO: IMEI packet received {"connection_id":157835,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":157835,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:50:02] local.INFO: TCP Data received {"connection_id":157835,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0183f22d0012d0bf60007035ac00013011a1e..."} 
[2026-08-19 09:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183f22d0012d0bf60007035ac00013011a1e..."} 
[2026-08-19 09:50:02] local.INFO: Processing buffer {"connection_id":157835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183f22d0012d0bf60007035ac00013011a1e..."} 
[2026-08-19 09:50:02] local.INFO: Packet analysis {"connection_id":157835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:50:02] local.INFO: Extracted packet for processing {"connection_id":157835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:50:02] local.INFO: GPS Element Parsed {"raw_longitude":755758592,"raw_latitude":117660352,"longitude_deg":75.5758592,"latitude_deg":11.7660352,"altitude":19,"angle":282,"satellites":30,"speed":8,"hex_longitude":"2d0bf600","hex_latitude":"07035ac0","is_valid_coordinates":true} 
[2026-08-19 09:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500974848001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28803614055071744,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862720833739096064,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50: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-08-19 09:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787113186000,"timestamp_ms":1787113186000,"timestamp_seconds":1787113186,"priority":1,"record_length":96,"hex_timestamp":"000001a0183f22d0"} 
[2026-08-19 09:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:50: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-08-19 09:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 09:50:02] 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-08-19 09:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":157835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":157835,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":157835,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500974848001,"66":14396,"37":206,"94":11008,"24":8,"16":28803614055071744,"45":862720833739096064},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 09:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500974848001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:50:02] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 09:50:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28803614055071744,"km_value":28803614055071.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":862720833739096064,"description":"Unknown IO ID 45"} 
[2026-08-19 09:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500974848001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":862720833739096064}} 
[2026-08-19 09:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":157835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663935,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:50:02] local.INFO: GPS data processed {"connection_id":157835,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:50:02] local.INFO: Acknowledgment sent {"connection_id":157835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:50:05] local.INFO: TCP Data received {"connection_id":157836,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:50:05] local.INFO: Processing buffer {"connection_id":157836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:50:05] local.INFO: IMEI packet received {"connection_id":157836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":157836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:50:06] local.INFO: TCP Data received {"connection_id":157835,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0183f26b8012d0bf58007035ac8001301081f..."} 
[2026-08-19 09:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183f26b8012d0bf58007035ac8001301081f..."} 
[2026-08-19 09:50:06] local.INFO: Processing buffer {"connection_id":157835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183f26b8012d0bf58007035ac8001301081f..."} 
[2026-08-19 09:50:06] local.INFO: Packet analysis {"connection_id":157835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:50:06] local.INFO: Extracted packet for processing {"connection_id":157835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:50:06] local.INFO: GPS Element Parsed {"raw_longitude":755758464,"raw_latitude":117660360,"longitude_deg":75.5758464,"latitude_deg":11.766036,"altitude":19,"angle":264,"satellites":31,"speed":9,"hex_longitude":"2d0bf580","hex_latitude":"07035ac8","is_valid_coordinates":true} 
[2026-08-19 09:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500975616001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28803622645006336,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861876408809078784,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787113187000,"timestamp_ms":1787113187000,"timestamp_seconds":1787113187,"priority":1,"record_length":96,"hex_timestamp":"000001a0183f26b8"} 
[2026-08-19 09:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:50: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-08-19 09:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 09:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157835,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157835,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500975616001,"66":14428,"37":206,"94":11008,"24":9,"16":28803622645006336,"45":861876408809078784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 09:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500975616001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:50:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 09:50:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28803622645006336,"km_value":28803622645006.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":861876408809078784,"description":"Unknown IO ID 45"} 
[2026-08-19 09:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500975616001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":861876408809078784}} 
[2026-08-19 09:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":157835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663936,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:50:06] local.INFO: GPS data processed {"connection_id":157835,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:50:06] local.INFO: Acknowledgment sent {"connection_id":157835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:50:15] local.INFO: TCP Data received {"connection_id":157836,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:50:15] local.INFO: Processing buffer {"connection_id":157836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183ac1b8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:50:15] local.INFO: Packet analysis {"connection_id":157836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:50:15] local.INFO: Extracted packet for processing {"connection_id":157836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183a"} 
[2026-08-19 09:50:15] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500823808001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787112899000,"timestamp_ms":1787112899000,"timestamp_seconds":1787112899,"priority":1,"record_length":96,"hex_timestamp":"000001a0183ac1b8"} 
[2026-08-19 09:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:50:15] 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-08-19 09:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 09:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500823808001,"66":25647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500823808001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:50:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:50:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500823808001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":157836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:50:15] local.INFO: GPS data processed {"connection_id":157836,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:50:15] local.INFO: Acknowledgment sent {"connection_id":157836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:50:25] local.INFO: TCP Data received {"connection_id":157463,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:50:25] local.INFO: Processing buffer {"connection_id":157463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:50:25] local.INFO: IMEI packet received {"connection_id":157463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":157463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:50:30] local.INFO: TCP Data received {"connection_id":157463,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:50:30] local.INFO: Processing buffer {"connection_id":157463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:50:30] local.INFO: IMEI packet received {"connection_id":157463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":157463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:50:31] local.INFO: TCP Data received {"connection_id":157463,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:50:31] local.INFO: Processing buffer {"connection_id":157463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:50:31] local.INFO: Packet analysis {"connection_id":157463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:50:31] local.INFO: Extracted packet for processing {"connection_id":157463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:50:31] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500889088001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 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-08-19 09:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787113149000,"timestamp_ms":1787113149000,"timestamp_seconds":1787113149,"priority":1,"record_length":96,"hex_timestamp":"000001a0183e9248"} 
[2026-08-19 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-08-19 09:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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-08-19 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-08-19 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-08-19 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-08-19 09:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":157463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":157463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":157463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:50:31] 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-08-19 09:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500889088001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500889088001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:50:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:50:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500889088001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":157463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:50:31] local.INFO: GPS data processed {"connection_id":157463,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:50:31] local.INFO: Acknowledgment sent {"connection_id":157463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:50:33] local.INFO: TCP Data received {"connection_id":157462,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0183e4bf8012d0c1d0007034f20001700cc20..."} 
[2026-08-19 09:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183e4bf8012d0c1d0007034f20001700cc20..."} 
[2026-08-19 09:50:33] local.INFO: Processing buffer {"connection_id":157462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183e4bf8012d0c1d0007034f20001700cc20..."} 
[2026-08-19 09:50:33] local.INFO: Packet analysis {"connection_id":157462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:50:33] local.INFO: Extracted packet for processing {"connection_id":157462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:50:33] local.INFO: GPS Element Parsed {"raw_longitude":755768576,"raw_latitude":117657376,"longitude_deg":75.5768576,"latitude_deg":11.7657376,"altitude":23,"angle":204,"satellites":32,"speed":12,"hex_longitude":"2d0c1d00","hex_latitude":"07034f20","is_valid_coordinates":true} 
[2026-08-19 09:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500961280001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28802772241481728,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873135407876818944,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:33] 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-08-19 09:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787113131000,"timestamp_ms":1787113131000,"timestamp_seconds":1787113131,"priority":1,"record_length":96,"hex_timestamp":"000001a0183e4bf8"} 
[2026-08-19 09:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 09:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":157462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":157462,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":157462,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500961280001,"66":14428,"249":206,"94":11008,"24":12,"16":28802772241481728,"45":873135407876818944},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,94,24,16,45]} 
[2026-08-19 09:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500961280001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:50:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-19 09:50:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28802772241481728,"km_value":28802772241481.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":873135407876818944,"description":"Unknown IO ID 45"} 
[2026-08-19 09:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500961280001,"power":14428,"unknown_249":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":873135407876818944}} 
[2026-08-19 09:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":157462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663939,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:50:33] local.INFO: GPS data processed {"connection_id":157462,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:50:33] local.INFO: Acknowledgment sent {"connection_id":157462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:50:36] local.INFO: TCP Data received {"connection_id":157463,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:50:36] local.INFO: Processing buffer {"connection_id":157463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:50:36] local.INFO: Packet analysis {"connection_id":157463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:50:36] local.INFO: Extracted packet for processing {"connection_id":157463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500889088001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:36] 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-08-19 09:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787113149000,"timestamp_ms":1787113149000,"timestamp_seconds":1787113149,"priority":1,"record_length":96,"hex_timestamp":"000001a0183e9248"} 
[2026-08-19 09:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:50:36] 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-08-19 09:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500889088001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500889088001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:50:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:50:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500889088001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":157463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:50:36] local.INFO: GPS data processed {"connection_id":157463,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:50:36] local.INFO: Acknowledgment sent {"connection_id":157463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:50:37] local.INFO: TCP Data received {"connection_id":157835,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0183f2aa0012d0bf48007035ac8001300fd1f..."} 
[2026-08-19 09:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183f2aa0012d0bf48007035ac8001300fd1f..."} 
[2026-08-19 09:50:37] local.INFO: Processing buffer {"connection_id":157835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183f2aa0012d0bf48007035ac8001300fd1f..."} 
[2026-08-19 09:50:37] local.INFO: Packet analysis {"connection_id":157835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:50:37] local.INFO: Extracted packet for processing {"connection_id":157835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:50:37] local.INFO: GPS Element Parsed {"raw_longitude":755758208,"raw_latitude":117660360,"longitude_deg":75.5758208,"latitude_deg":11.766036,"altitude":19,"angle":253,"satellites":31,"speed":8,"hex_longitude":"2d0bf480","hex_latitude":"07035ac8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500975872001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28803631234940928,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861735671320725504,"note":"Value kept but may cause issues"} 
[2026-08-19 09:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787113188000,"timestamp_ms":1787113188000,"timestamp_seconds":1787113188,"priority":1,"record_length":96,"hex_timestamp":"000001a0183f2aa0"} 
[2026-08-19 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-08-19 09:50:37] 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-08-19 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":92,"data_length":795,"current_offset":136} 
[2026-08-19 09:50: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-08-19 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-08-19 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-08-19 09:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157835,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157835,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500975872001,"66":14428,"37":206,"94":11008,"24":8,"16":28803631234940928,"45":861735671320725504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 09:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500975872001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:50:37] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 09:50:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28803631234940928,"km_value":28803631234940.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":861735671320725504,"description":"Unknown IO ID 45"} 
[2026-08-19 09:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500975872001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":861735671320725504}} 
[2026-08-19 09:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":157835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663941,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:50:37] local.INFO: GPS data processed {"connection_id":157835,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:50:37] local.INFO: Acknowledgment sent {"connection_id":157835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:50:57] local.INFO: TCP Data received {"connection_id":158714,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158714,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:50:57] local.INFO: Processing buffer {"connection_id":158714,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:50:57] local.INFO: IMEI packet received {"connection_id":158714,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":158714,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:51:02] local.INFO: TCP Data received {"connection_id":158714,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158714,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:51:02] local.INFO: Processing buffer {"connection_id":158714,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:51:02] local.INFO: IMEI packet received {"connection_id":158714,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":158714,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:51:05] local.INFO: TCP Data received {"connection_id":157464,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:51:05] local.INFO: Processing buffer {"connection_id":157464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:51:05] local.INFO: IMEI packet received {"connection_id":157464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":157464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:51:10] local.INFO: TCP Data received {"connection_id":157464,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:51:10] local.INFO: Processing buffer {"connection_id":157464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:51:10] local.INFO: IMEI packet received {"connection_id":157464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":157464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:51:11] local.INFO: TCP Data received {"connection_id":157464,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:51:11] local.INFO: Processing buffer {"connection_id":157464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:51:11] local.INFO: Packet analysis {"connection_id":157464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:51:11] local.INFO: Extracted packet for processing {"connection_id":157464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:51:11] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500902144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787113205000,"timestamp_ms":1787113205000,"timestamp_seconds":1787113205,"priority":1,"record_length":96,"hex_timestamp":"000001a0183f6d08"} 
[2026-08-19 09:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:51:11] 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-08-19 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 09:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500902144001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500902144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:51:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:51:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500902144001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":157464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:51:11] local.INFO: GPS data processed {"connection_id":157464,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:51:11] local.INFO: Acknowledgment sent {"connection_id":157464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:51:12] local.INFO: TCP Data received {"connection_id":158714,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0183f49e0012d0bf20007035ac80012011020..."} 
[2026-08-19 09:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183f49e0012d0bf20007035ac80012011020..."} 
[2026-08-19 09:51:12] local.INFO: Processing buffer {"connection_id":158714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183f49e0012d0bf20007035ac80012011020..."} 
[2026-08-19 09:51:12] local.INFO: Packet analysis {"connection_id":158714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:51:12] local.INFO: Extracted packet for processing {"connection_id":158714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:51:12] local.INFO: GPS Element Parsed {"raw_longitude":755757568,"raw_latitude":117660360,"longitude_deg":75.5757568,"latitude_deg":11.766036,"altitude":18,"angle":272,"satellites":32,"speed":7,"hex_longitude":"2d0bf200","hex_latitude":"07035ac8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500976128001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28803661299712000,"note":"Value kept but may cause issues"} 
[2026-08-19 09:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861454196344014848,"note":"Value kept but may cause issues"} 
[2026-08-19 09:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787113196000,"timestamp_ms":1787113196000,"timestamp_seconds":1787113196,"priority":1,"record_length":96,"hex_timestamp":"000001a0183f49e0"} 
[2026-08-19 09:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:51: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-08-19 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 09:51: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-08-19 09: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-08-19 09:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158714,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158714,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500976128001,"66":14374,"37":206,"94":11008,"24":7,"16":28803661299712000,"45":861454196344014848},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 09:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500976128001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:51:12] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 09:51:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28803661299712000,"km_value":28803661299712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":861454196344014848,"description":"Unknown IO ID 45"} 
[2026-08-19 09:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500976128001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":861454196344014848}} 
[2026-08-19 09:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":158714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663943,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:51:12] local.INFO: GPS data processed {"connection_id":158714,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:51:12] local.INFO: Acknowledgment sent {"connection_id":158714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:51:20] local.INFO: TCP Data received {"connection_id":157465,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:51:20] local.INFO: Processing buffer {"connection_id":157465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:51:20] local.INFO: IMEI packet received {"connection_id":157465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":157465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:51:25] local.INFO: TCP Data received {"connection_id":157465,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:51:25] local.INFO: Processing buffer {"connection_id":157465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:51:25] local.INFO: IMEI packet received {"connection_id":157465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":157465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:51:26] local.INFO: TCP Data received {"connection_id":157465,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:51:26] local.INFO: Processing buffer {"connection_id":157465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:51:26] local.INFO: Packet analysis {"connection_id":157465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:51:26] local.INFO: Extracted packet for processing {"connection_id":157465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:51:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500889088001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:51:26] 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-08-19 09:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787113149000,"timestamp_ms":1787113149000,"timestamp_seconds":1787113149,"priority":1,"record_length":96,"hex_timestamp":"000001a0183e9248"} 
[2026-08-19 09:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:51:26] 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-08-19 09:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500889088001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500889088001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:51:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:51:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500889088001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":157465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:51:26] local.INFO: GPS data processed {"connection_id":157465,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:51:26] local.INFO: Acknowledgment sent {"connection_id":157465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:51:31] local.INFO: TCP Data received {"connection_id":157465,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:51:31] local.INFO: Processing buffer {"connection_id":157465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:51:31] local.INFO: Packet analysis {"connection_id":157465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:51:31] local.INFO: Extracted packet for processing {"connection_id":157465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:51:31] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500889088001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:51: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-08-19 09:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787113149000,"timestamp_ms":1787113149000,"timestamp_seconds":1787113149,"priority":1,"record_length":96,"hex_timestamp":"000001a0183e9248"} 
[2026-08-19 09:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:51: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-08-19 09:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":157465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":157465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":157465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500889088001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500889088001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:51:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:51:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500889088001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":157465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:51:31] local.INFO: GPS data processed {"connection_id":157465,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:51:31] local.INFO: Acknowledgment sent {"connection_id":157465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:51:42] local.INFO: TCP Data received {"connection_id":157464,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:51:42] local.INFO: Processing buffer {"connection_id":157464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:51:42] local.INFO: Packet analysis {"connection_id":157464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:51:42] local.INFO: Extracted packet for processing {"connection_id":157464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500902144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787113205000,"timestamp_ms":1787113205000,"timestamp_seconds":1787113205,"priority":1,"record_length":96,"hex_timestamp":"000001a0183f6d08"} 
[2026-08-19 09:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:51:42] 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-08-19 09:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 09:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500902144001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500902144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:51:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:51:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500902144001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":157464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:51:42] local.INFO: GPS data processed {"connection_id":157464,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:51:42] local.INFO: Acknowledgment sent {"connection_id":157464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:51:57] local.INFO: TCP Data received {"connection_id":157466,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157466,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:51:57] local.INFO: Processing buffer {"connection_id":157466,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:51:57] local.INFO: IMEI packet received {"connection_id":157466,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":157466,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:52:00] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:52:00] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:52:00] local.INFO: IMEI packet received {"connection_id":160017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":160017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:52:02] local.INFO: TCP Data received {"connection_id":157466,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157466,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:52:02] local.INFO: Processing buffer {"connection_id":157466,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:52:02] local.INFO: IMEI packet received {"connection_id":157466,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":157466,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:52:02] local.INFO: TCP Data received {"connection_id":157465,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:52:02] local.INFO: Processing buffer {"connection_id":157465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:52:02] local.INFO: Packet analysis {"connection_id":157465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:52:02] local.INFO: Extracted packet for processing {"connection_id":157465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500889088001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:02] 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-08-19 09:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787113149000,"timestamp_ms":1787113149000,"timestamp_seconds":1787113149,"priority":1,"record_length":96,"hex_timestamp":"000001a0183e9248"} 
[2026-08-19 09:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:52:02] 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-08-19 09:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":157465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":157465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":157465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:52:02] 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-08-19 09:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500889088001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500889088001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:52:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:52:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500889088001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":157465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:52:02] local.INFO: GPS data processed {"connection_id":157465,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:52:02] local.INFO: Acknowledgment sent {"connection_id":157465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:52:02] local.INFO: TCP Data received {"connection_id":157466,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a01840b910012d0b948007034f80001301181f..."} 
[2026-08-19 09:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01840b910012d0b948007034f80001301181f..."} 
[2026-08-19 09:52:02] local.INFO: Processing buffer {"connection_id":157466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01840b910012d0b948007034f80001301181f..."} 
[2026-08-19 09:52:02] local.INFO: Packet analysis {"connection_id":157466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01840"} 
[2026-08-19 09:52:02] local.INFO: Extracted packet for processing {"connection_id":157466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01840"} 
[2026-08-19 09:52:02] local.INFO: GPS Element Parsed {"raw_longitude":755733632,"raw_latitude":117657472,"longitude_deg":75.5733632,"latitude_deg":11.7657472,"altitude":19,"angle":280,"satellites":31,"speed":6,"hex_longitude":"2d0b9480","hex_latitude":"07034f80","is_valid_coordinates":true} 
[2026-08-19 09:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501001728001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28804859595587584,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":834854811044116480,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52: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-08-19 09:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787113290000,"timestamp_ms":1787113290000,"timestamp_seconds":1787113290,"priority":1,"record_length":96,"hex_timestamp":"000001a01840b910"} 
[2026-08-19 09:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:52: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-08-19 09:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-19 09:52:02] 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-08-19 09:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":157466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":157466,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":157466,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501001728001,"66":14396,"37":206,"94":11008,"24":6,"16":28804859595587584,"45":834854811044116480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 09:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501001728001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:52:02] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 09:52:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28804859595587584,"km_value":28804859595587.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":834854811044116480,"description":"Unknown IO ID 45"} 
[2026-08-19 09:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501001728001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":834854811044116480}} 
[2026-08-19 09:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":157466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663948,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:52:03] local.INFO: GPS data processed {"connection_id":157466,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:52:03] local.INFO: Acknowledgment sent {"connection_id":157466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:52:05] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:52:05] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:52:05] local.INFO: IMEI packet received {"connection_id":160017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":160017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:52:06] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:52:06] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:52:06] local.INFO: Packet analysis {"connection_id":160017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:52:06] local.INFO: Extracted packet for processing {"connection_id":160017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:52:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500902144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787113205000,"timestamp_ms":1787113205000,"timestamp_seconds":1787113205,"priority":1,"record_length":96,"hex_timestamp":"000001a0183f6d08"} 
[2026-08-19 09:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 09:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500902144001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500902144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:52:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:52:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500902144001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":160017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:52:06] local.INFO: GPS data processed {"connection_id":160017,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:52:06] local.INFO: Acknowledgment sent {"connection_id":160017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:52:21] local.INFO: TCP Data received {"connection_id":158715,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:52:21] local.INFO: Processing buffer {"connection_id":158715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:52:21] local.INFO: IMEI packet received {"connection_id":158715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":158715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:52:25] local.INFO: TCP Data received {"connection_id":158715,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:52:25] local.INFO: Processing buffer {"connection_id":158715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:52:25] local.INFO: IMEI packet received {"connection_id":158715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":158715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:52:26] local.INFO: TCP Data received {"connection_id":158715,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:52:26] local.INFO: Processing buffer {"connection_id":158715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:52:26] local.INFO: Packet analysis {"connection_id":158715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:52:26] local.INFO: Extracted packet for processing {"connection_id":158715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:52:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500889088001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:26] 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-08-19 09:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787113149000,"timestamp_ms":1787113149000,"timestamp_seconds":1787113149,"priority":1,"record_length":96,"hex_timestamp":"000001a0183e9248"} 
[2026-08-19 09:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:52:26] 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-08-19 09:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500889088001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500889088001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:52:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:52:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500889088001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":158715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:52:26] local.INFO: GPS data processed {"connection_id":158715,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:52:26] local.INFO: Acknowledgment sent {"connection_id":158715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:52:34] local.INFO: TCP Data received {"connection_id":157466,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a01840dc38012d0b86c0070350d0001401061f..."} 
[2026-08-19 09:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01840dc38012d0b86c0070350d0001401061f..."} 
[2026-08-19 09:52:34] local.INFO: Processing buffer {"connection_id":157466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01840dc38012d0b86c0070350d0001401061f..."} 
[2026-08-19 09:52:34] local.INFO: Packet analysis {"connection_id":157466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01840"} 
[2026-08-19 09:52:34] local.INFO: Extracted packet for processing {"connection_id":157466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01840"} 
[2026-08-19 09:52:34] local.INFO: GPS Element Parsed {"raw_longitude":755730112,"raw_latitude":117657808,"longitude_deg":75.5730112,"latitude_deg":11.7657808,"altitude":20,"angle":262,"satellites":31,"speed":10,"hex_longitude":"2d0b86c0","hex_latitude":"070350d0","is_valid_coordinates":true} 
[2026-08-19 09:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501002240001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28805027099312128,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":834432598579052544,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787113299000,"timestamp_ms":1787113299000,"timestamp_seconds":1787113299,"priority":1,"record_length":96,"hex_timestamp":"000001a01840dc38"} 
[2026-08-19 09:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:52: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-08-19 09:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 09:52: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-08-19 09:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":157466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":157466,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":157466,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501002240001,"66":14439,"37":206,"94":11008,"24":10,"16":28805027099312128,"45":834432598579052544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 09:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501002240001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:52:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 09:52:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28805027099312128,"km_value":28805027099312.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":834432598579052544,"description":"Unknown IO ID 45"} 
[2026-08-19 09:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501002240001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":834432598579052544}} 
[2026-08-19 09:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":157466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663951,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:52:34] local.INFO: GPS data processed {"connection_id":157466,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:52:34] local.INFO: Acknowledgment sent {"connection_id":157466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:52:38] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:52:38] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:52:38] local.INFO: Packet analysis {"connection_id":160017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:52:38] local.INFO: Extracted packet for processing {"connection_id":160017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500902144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787113205000,"timestamp_ms":1787113205000,"timestamp_seconds":1787113205,"priority":1,"record_length":96,"hex_timestamp":"000001a0183f6d08"} 
[2026-08-19 09:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 09:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:52:38] 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-08-19 09:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500902144001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500902144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500902144001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":160017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:52:38] local.INFO: GPS data processed {"connection_id":160017,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:52:38] local.INFO: Acknowledgment sent {"connection_id":160017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:52:57] local.INFO: TCP Data received {"connection_id":160018,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160018,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:52:57] local.INFO: Processing buffer {"connection_id":160018,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:52:57] local.INFO: IMEI packet received {"connection_id":160018,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":160018,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:52:58] local.INFO: TCP Data received {"connection_id":158715,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:52:58] local.INFO: Processing buffer {"connection_id":158715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:52:58] local.INFO: Packet analysis {"connection_id":158715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:52:58] local.INFO: Extracted packet for processing {"connection_id":158715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:52:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500889088001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:52:58] 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-08-19 09:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787113149000,"timestamp_ms":1787113149000,"timestamp_seconds":1787113149,"priority":1,"record_length":96,"hex_timestamp":"000001a0183e9248"} 
[2026-08-19 09:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:52:58] 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-08-19 09:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":158715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":158715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":158715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:52:58] 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-08-19 09:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500889088001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500889088001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:52:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:52:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500889088001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":158715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:52:58] local.INFO: GPS data processed {"connection_id":158715,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:52:58] local.INFO: Acknowledgment sent {"connection_id":158715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:52:59] local.INFO: TCP Data received {"connection_id":158716,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:52:59] local.INFO: Processing buffer {"connection_id":158716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:52:59] local.INFO: IMEI packet received {"connection_id":158716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":158716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:53:02] local.INFO: TCP Data received {"connection_id":160018,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160018,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:53:02] local.INFO: Processing buffer {"connection_id":160018,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:53:02] local.INFO: IMEI packet received {"connection_id":160018,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":160018,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:53:02] local.INFO: TCP Data received {"connection_id":160018,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a01840e020012d0b860007035058001400e81e..."} 
[2026-08-19 09:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01840e020012d0b860007035058001400e81e..."} 
[2026-08-19 09:53:02] local.INFO: Processing buffer {"connection_id":160018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01840e020012d0b860007035058001400e81e..."} 
[2026-08-19 09:53:02] local.INFO: Packet analysis {"connection_id":160018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01840"} 
[2026-08-19 09:53:02] local.INFO: Extracted packet for processing {"connection_id":160018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01840"} 
[2026-08-19 09:53:02] local.INFO: GPS Element Parsed {"raw_longitude":755729920,"raw_latitude":117657688,"longitude_deg":75.572992,"latitude_deg":11.7657688,"altitude":20,"angle":232,"satellites":30,"speed":8,"hex_longitude":"2d0b8600","hex_latitude":"07035058","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501004544001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28805039984214016,"note":"Value kept but may cause issues"} 
[2026-08-19 09:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830562317649367040,"note":"Value kept but may cause issues"} 
[2026-08-19 09:53: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-08-19 09:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787113300000,"timestamp_ms":1787113300000,"timestamp_seconds":1787113300,"priority":1,"record_length":96,"hex_timestamp":"000001a01840e020"} 
[2026-08-19 09:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 09:53: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-08-19 09: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-08-19 09:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160018,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160018,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501004544001,"66":14439,"37":206,"94":11008,"24":8,"16":28805039984214016,"45":830562317649367040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 09:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501004544001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:53:02] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 09:53:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28805039984214016,"km_value":28805039984214.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":830562317649367040,"description":"Unknown IO ID 45"} 
[2026-08-19 09:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501004544001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":830562317649367040}} 
[2026-08-19 09:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":160018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663954,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:53:02] local.INFO: GPS data processed {"connection_id":160018,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:53:02] local.INFO: Acknowledgment sent {"connection_id":160018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:53:05] local.INFO: TCP Data received {"connection_id":158716,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:53:05] local.INFO: Processing buffer {"connection_id":158716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:53:05] local.INFO: IMEI packet received {"connection_id":158716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":158716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:53:06] local.INFO: TCP Data received {"connection_id":158716,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:53:06] local.INFO: Processing buffer {"connection_id":158716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:53:06] local.INFO: Packet analysis {"connection_id":158716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:53:06] local.INFO: Extracted packet for processing {"connection_id":158716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:53:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500902144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787113205000,"timestamp_ms":1787113205000,"timestamp_seconds":1787113205,"priority":1,"record_length":96,"hex_timestamp":"000001a0183f6d08"} 
[2026-08-19 09:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 09:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:53:06] 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-08-19 09:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500902144001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500902144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:53:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:53:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500902144001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":158716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:53:06] local.INFO: GPS data processed {"connection_id":158716,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:53:06] local.INFO: Acknowledgment sent {"connection_id":158716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:53:20] local.INFO: TCP Data received {"connection_id":160019,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:53:20] local.INFO: Processing buffer {"connection_id":160019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:53:20] local.INFO: IMEI packet received {"connection_id":160019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":160019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:53:25] local.INFO: TCP Data received {"connection_id":160019,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:53:25] local.INFO: Processing buffer {"connection_id":160019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:53:25] local.INFO: IMEI packet received {"connection_id":160019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":160019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:53:27] local.INFO: TCP Data received {"connection_id":160019,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:53:27] local.INFO: Processing buffer {"connection_id":160019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:53:27] local.INFO: Packet analysis {"connection_id":160019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:53:27] local.INFO: Extracted packet for processing {"connection_id":160019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500889088001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:53:27] 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-08-19 09:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787113149000,"timestamp_ms":1787113149000,"timestamp_seconds":1787113149,"priority":1,"record_length":96,"hex_timestamp":"000001a0183e9248"} 
[2026-08-19 09:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:53:27] 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-08-19 09:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:53:27] 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-08-19 09:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500889088001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500889088001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:53:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:53:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500889088001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":160019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:53:27] local.INFO: GPS data processed {"connection_id":160019,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:53:27] local.INFO: Acknowledgment sent {"connection_id":160019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:53:38] local.INFO: TCP Data received {"connection_id":158716,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:53:38] local.INFO: Processing buffer {"connection_id":158716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:53:38] local.INFO: Packet analysis {"connection_id":158716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:53:38] local.INFO: Extracted packet for processing {"connection_id":158716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500902144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787113205000,"timestamp_ms":1787113205000,"timestamp_seconds":1787113205,"priority":1,"record_length":96,"hex_timestamp":"000001a0183f6d08"} 
[2026-08-19 09:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 09:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:53:38] 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-08-19 09:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500902144001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500902144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500902144001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":158716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:53:38] local.INFO: GPS data processed {"connection_id":158716,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:53:38] local.INFO: Acknowledgment sent {"connection_id":158716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:53:49] local.INFO: TCP Data received {"connection_id":160018,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a01840e408012d0b854007034f98001400d51f..."} 
[2026-08-19 09:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01840e408012d0b854007034f98001400d51f..."} 
[2026-08-19 09:53:49] local.INFO: Processing buffer {"connection_id":160018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01840e408012d0b854007034f98001400d51f..."} 
[2026-08-19 09:53:49] local.INFO: Packet analysis {"connection_id":160018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01840"} 
[2026-08-19 09:53:49] local.INFO: Extracted packet for processing {"connection_id":160018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01840"} 
[2026-08-19 09:53:49] local.INFO: GPS Element Parsed {"raw_longitude":755729728,"raw_latitude":117657496,"longitude_deg":75.5729728,"latitude_deg":11.7657496,"altitude":20,"angle":213,"satellites":31,"speed":9,"hex_longitude":"2d0b8540","hex_latitude":"07034f98","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501004800001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28805052869115904,"note":"Value kept but may cause issues"} 
[2026-08-19 09:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830351211416803328,"note":"Value kept but may cause issues"} 
[2026-08-19 09:53: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-08-19 09:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787113301000,"timestamp_ms":1787113301000,"timestamp_seconds":1787113301,"priority":1,"record_length":96,"hex_timestamp":"000001a01840e408"} 
[2026-08-19 09:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 09:53: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-08-19 09: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-08-19 09:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160018,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160018,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501004800001,"66":14396,"37":206,"94":11008,"24":9,"16":28805052869115904,"45":830351211416803328},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 09:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501004800001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:53:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 09:53:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28805052869115904,"km_value":28805052869115.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":830351211416803328,"description":"Unknown IO ID 45"} 
[2026-08-19 09:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501004800001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":830351211416803328}} 
[2026-08-19 09:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":160018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663958,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:53:49] local.INFO: GPS data processed {"connection_id":160018,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:53:49] local.INFO: Acknowledgment sent {"connection_id":160018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:53:58] local.INFO: TCP Data received {"connection_id":160019,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:53:58] local.INFO: Processing buffer {"connection_id":160019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183e9248012d7d370005ec09e8000000b31c..."} 
[2026-08-19 09:53:58] local.INFO: Packet analysis {"connection_id":160019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:53:58] local.INFO: Extracted packet for processing {"connection_id":160019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183e"} 
[2026-08-19 09:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500889088001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:53:58] 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-08-19 09:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787113149000,"timestamp_ms":1787113149000,"timestamp_seconds":1787113149,"priority":1,"record_length":96,"hex_timestamp":"000001a0183e9248"} 
[2026-08-19 09:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 09:53:58] 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-08-19 09: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-08-19 09:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:53:58] 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-08-19 09:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500889088001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500889088001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:53:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:53:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500889088001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":160019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:53:58] local.INFO: GPS data processed {"connection_id":160019,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:53:58] local.INFO: Acknowledgment sent {"connection_id":160019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:53:59] local.INFO: TCP Data received {"connection_id":158717,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:53:59] local.INFO: Processing buffer {"connection_id":158717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:53:59] local.INFO: IMEI packet received {"connection_id":158717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":158717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:54:01] local.INFO: TCP Data received {"connection_id":157837,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157837,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:54:01] local.INFO: Processing buffer {"connection_id":157837,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:54:01] local.INFO: IMEI packet received {"connection_id":157837,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":157837,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:54:05] local.INFO: TCP Data received {"connection_id":158717,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:54:05] local.INFO: Processing buffer {"connection_id":158717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:54:05] local.INFO: IMEI packet received {"connection_id":158717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":158717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:54:06] local.INFO: TCP Data received {"connection_id":158717,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:54:06] local.INFO: Processing buffer {"connection_id":158717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:54:06] local.INFO: Packet analysis {"connection_id":158717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:54:06] local.INFO: Extracted packet for processing {"connection_id":158717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:54:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500902144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787113205000,"timestamp_ms":1787113205000,"timestamp_seconds":1787113205,"priority":1,"record_length":96,"hex_timestamp":"000001a0183f6d08"} 
[2026-08-19 09:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 09:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:54:06] 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-08-19 09:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500902144001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500902144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:54:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:54:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500902144001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":158717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:54:06] local.INFO: GPS data processed {"connection_id":158717,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:54:06] local.INFO: Acknowledgment sent {"connection_id":158717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:54:07] local.INFO: TCP Data received {"connection_id":157837,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157837,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:54:07] local.INFO: Processing buffer {"connection_id":157837,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:54:07] local.INFO: IMEI packet received {"connection_id":157837,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":157837,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:54:07] local.INFO: TCP Data received {"connection_id":157837,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a01842ad10012d0b6e00070346000013000322..."} 
[2026-08-19 09:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01842ad10012d0b6e00070346000013000322..."} 
[2026-08-19 09:54:07] local.INFO: Processing buffer {"connection_id":157837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01842ad10012d0b6e00070346000013000322..."} 
[2026-08-19 09:54:07] local.INFO: Packet analysis {"connection_id":157837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01842"} 
[2026-08-19 09:54:07] local.INFO: Extracted packet for processing {"connection_id":157837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01842"} 
[2026-08-19 09:54:07] local.INFO: GPS Element Parsed {"raw_longitude":755723776,"raw_latitude":117655040,"longitude_deg":75.5723776,"latitude_deg":11.765504,"altitude":19,"angle":3,"satellites":34,"speed":8,"hex_longitude":"2d0b6e00","hex_latitude":"07034600","is_valid_coordinates":true} 
[2026-08-19 09:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501034752001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28805473775910912,"note":"Value kept but may cause issues"} 
[2026-08-19 09:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823595811975020544,"note":"Value kept but may cause issues"} 
[2026-08-19 09:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787113418000,"timestamp_ms":1787113418000,"timestamp_seconds":1787113418,"priority":1,"record_length":96,"hex_timestamp":"000001a01842ad10"} 
[2026-08-19 09:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:54: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-08-19 09:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 09:54: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-08-19 09:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157837,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157837,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501034752001,"66":14407,"17":206,"94":11008,"24":8,"16":28805473775910912,"45":823595811975020544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 09:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501034752001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:54:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28805473775910912,"km_value":28805473775910.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":823595811975020544,"description":"Unknown IO ID 45"} 
[2026-08-19 09:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501034752001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":823595811975020544}} 
[2026-08-19 09:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":157837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663961,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:54:08] local.INFO: GPS data processed {"connection_id":157837,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:54:08] local.INFO: Acknowledgment sent {"connection_id":157837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:54:20] local.INFO: TCP Data received {"connection_id":160020,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:54:20] local.INFO: Processing buffer {"connection_id":160020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:54:20] local.INFO: IMEI packet received {"connection_id":160020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":160020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:54:25] local.INFO: TCP Data received {"connection_id":160020,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:54:25] local.INFO: Processing buffer {"connection_id":160020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:54:25] local.INFO: IMEI packet received {"connection_id":160020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":160020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:54:27] local.INFO: TCP Data received {"connection_id":160020,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:54:27] local.INFO: Processing buffer {"connection_id":160020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:54:27] local.INFO: Packet analysis {"connection_id":160020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:54:27] local.INFO: Extracted packet for processing {"connection_id":160020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":21,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500966144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:54:27] 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-08-19 09:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787113450000,"timestamp_ms":1787113450000,"timestamp_seconds":1787113450,"priority":1,"record_length":96,"hex_timestamp":"000001a018432a10"} 
[2026-08-19 09:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:54:27] 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-08-19 09:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:54:27] 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-08-19 09:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500966144001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500966144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:54:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:54:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500966144001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":160020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:54:27] local.INFO: GPS data processed {"connection_id":160020,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:54:27] local.INFO: Acknowledgment sent {"connection_id":160020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:54:37] local.INFO: TCP Data received {"connection_id":158717,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:54:37] local.INFO: Processing buffer {"connection_id":158717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:54:37] local.INFO: Packet analysis {"connection_id":158717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:54:37] local.INFO: Extracted packet for processing {"connection_id":158717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500902144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787113205000,"timestamp_ms":1787113205000,"timestamp_seconds":1787113205,"priority":1,"record_length":96,"hex_timestamp":"000001a0183f6d08"} 
[2026-08-19 09:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 09:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:54:37] 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-08-19 09:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500902144001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500902144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:54:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500902144001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":158717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:54:37] local.INFO: GPS data processed {"connection_id":158717,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:54:37] local.INFO: Acknowledgment sent {"connection_id":158717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:54:41] local.INFO: TCP Data received {"connection_id":157837,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0184383e8012d0b264007035b48001401571c..."} 
[2026-08-19 09:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184383e8012d0b264007035b48001401571c..."} 
[2026-08-19 09:54:41] local.INFO: Processing buffer {"connection_id":157837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184383e8012d0b264007035b48001401571c..."} 
[2026-08-19 09:54:41] local.INFO: Packet analysis {"connection_id":157837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:54:41] local.INFO: Extracted packet for processing {"connection_id":157837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:54:41] local.INFO: GPS Element Parsed {"raw_longitude":755705408,"raw_latitude":117660488,"longitude_deg":75.5705408,"latitude_deg":11.7660488,"altitude":20,"angle":343,"satellites":28,"speed":6,"hex_longitude":"2d0b2640","hex_latitude":"07035b48","is_valid_coordinates":true} 
[2026-08-19 09:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501046784001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28806465913356288,"note":"Value kept but may cause issues"} 
[2026-08-19 09:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":806496207141050368,"note":"Value kept but may cause issues"} 
[2026-08-19 09:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787113473000,"timestamp_ms":1787113473000,"timestamp_seconds":1787113473,"priority":1,"record_length":96,"hex_timestamp":"000001a0184383e8"} 
[2026-08-19 09:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:54: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-08-19 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 09:54: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-08-19 09: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-08-19 09:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157837,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157837,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 09:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 09:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 09:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501046784001,"66":14396,"37":206,"94":11008,"24":6,"16":28806465913356288,"45":806496207141050368},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 09:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 09:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 09:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501046784001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:54:41] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 09:54:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 09:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28806465913356288,"km_value":28806465913356.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":806496207141050368,"description":"Unknown IO ID 45"} 
[2026-08-19 09:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501046784001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":806496207141050368}} 
[2026-08-19 09:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":157837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663964,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:54:41] local.INFO: GPS data processed {"connection_id":157837,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:54:41] local.INFO: Acknowledgment sent {"connection_id":157837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:54:55] local.INFO: TCP Data received {"connection_id":160021,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160021,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:54:55] local.INFO: Processing buffer {"connection_id":160021,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:54:55] local.INFO: IMEI packet received {"connection_id":160021,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 09:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":160021,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:54:56] local.INFO: TCP Data received {"connection_id":160021,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160021,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:54:56] local.INFO: Processing buffer {"connection_id":160021,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:54:56] local.INFO: IMEI packet received {"connection_id":160021,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":160021,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:54:57] local.INFO: TCP Data received {"connection_id":160021,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160021,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:54:57] local.INFO: Processing buffer {"connection_id":160021,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:54:57] local.INFO: IMEI packet received {"connection_id":160021,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":160021,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:54:57] local.INFO: TCP Data received {"connection_id":160021,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160021,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:54:57] local.INFO: Processing buffer {"connection_id":160021,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 09:54:57] local.INFO: IMEI packet received {"connection_id":160021,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 09:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":160021,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:54:58] local.INFO: TCP Data received {"connection_id":160020,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:54:58] local.INFO: Processing buffer {"connection_id":160020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:54:58] local.INFO: Packet analysis {"connection_id":160020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:54:58] local.INFO: Extracted packet for processing {"connection_id":160020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:54:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":21,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500966144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:54:58] 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-08-19 09:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787113450000,"timestamp_ms":1787113450000,"timestamp_seconds":1787113450,"priority":1,"record_length":96,"hex_timestamp":"000001a018432a10"} 
[2026-08-19 09:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:54:58] 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-08-19 09: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-08-19 09:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:54:58] 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-08-19 09:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500966144001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500966144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:54:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:54:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500966144001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":160020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:54:58] local.INFO: GPS data processed {"connection_id":160020,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:54:58] local.INFO: Acknowledgment sent {"connection_id":160020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:55:00] local.INFO: TCP Data received {"connection_id":157467,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:55:00] local.INFO: Processing buffer {"connection_id":157467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:55:00] local.INFO: IMEI packet received {"connection_id":157467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":157467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:55:05] local.INFO: TCP Data received {"connection_id":157467,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:55:05] local.INFO: Processing buffer {"connection_id":157467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:55:05] local.INFO: IMEI packet received {"connection_id":157467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":157467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:55:06] local.INFO: TCP Data received {"connection_id":157467,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:55:06] local.INFO: Processing buffer {"connection_id":157467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0183f6d08012d34c40006aa4888000f011d27..."} 
[2026-08-19 09:55:06] local.INFO: Packet analysis {"connection_id":157467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:55:06] local.INFO: Extracted packet for processing {"connection_id":157467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0183f"} 
[2026-08-19 09:55:06] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":39,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500902144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787113205000,"timestamp_ms":1787113205000,"timestamp_seconds":1787113205,"priority":1,"record_length":96,"hex_timestamp":"000001a0183f6d08"} 
[2026-08-19 09:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 09:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500902144001,"66":25680,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500902144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:55:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500902144001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":157467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:55:06] local.INFO: GPS data processed {"connection_id":157467,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:55:06] local.INFO: Acknowledgment sent {"connection_id":157467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:55:25] local.INFO: TCP Data received {"connection_id":157838,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:55:25] local.INFO: Processing buffer {"connection_id":157838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:55:25] local.INFO: IMEI packet received {"connection_id":157838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":157838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:55:30] local.INFO: TCP Data received {"connection_id":157838,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:55:30] local.INFO: Processing buffer {"connection_id":157838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:55:30] local.INFO: IMEI packet received {"connection_id":157838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":157838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:55:32] local.INFO: TCP Data received {"connection_id":157838,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:55:32] local.INFO: Processing buffer {"connection_id":157838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:55:32] local.INFO: Packet analysis {"connection_id":157838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:55:32] local.INFO: Extracted packet for processing {"connection_id":157838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:55:32] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":21,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500966144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:55: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-08-19 09:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787113450000,"timestamp_ms":1787113450000,"timestamp_seconds":1787113450,"priority":1,"record_length":96,"hex_timestamp":"000001a018432a10"} 
[2026-08-19 09:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:55:32] 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-08-19 09:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":157838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":157838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":157838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:55:32] 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-08-19 09:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500966144001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500966144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:55:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:55:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500966144001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":157838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:55:32] local.INFO: GPS data processed {"connection_id":157838,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:55:32] local.INFO: Acknowledgment sent {"connection_id":157838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:55:37] local.INFO: TCP Data received {"connection_id":157467,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a01843b2c8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01843b2c8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:55:37] local.INFO: Processing buffer {"connection_id":157467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01843b2c8012d34c40006aa4888000f011d26..."} 
[2026-08-19 09:55:37] local.INFO: Packet analysis {"connection_id":157467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:55:37] local.INFO: Extracted packet for processing {"connection_id":157467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111822984,"longitude_deg":75.8432768,"latitude_deg":11.1822984,"altitude":15,"angle":285,"satellites":38,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4888","is_valid_coordinates":true} 
[2026-08-19 09:55: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-08-19 09:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500980480001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787113485000,"timestamp_ms":1787113485000,"timestamp_seconds":1787113485,"priority":1,"record_length":96,"hex_timestamp":"000001a01843b2c8"} 
[2026-08-19 09:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 09:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09: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-08-19 09:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:55:37] 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-08-19 09:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500980480001,"66":25625,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500980480001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500980480001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":157467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:55:37] local.INFO: GPS data processed {"connection_id":157467,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:55:37] local.INFO: Acknowledgment sent {"connection_id":157467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:55:58] local.INFO: TCP Data received {"connection_id":158719,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:55:58] local.INFO: Processing buffer {"connection_id":158719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:55:58] local.INFO: IMEI packet received {"connection_id":158719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":158719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:55:59] local.INFO: TCP Data received {"connection_id":158719,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:55:59] local.INFO: Processing buffer {"connection_id":158719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:55:59] local.INFO: IMEI packet received {"connection_id":158719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":158719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:56:00] local.INFO: TCP Data received {"connection_id":158719,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:56:00] local.INFO: Processing buffer {"connection_id":158719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:56:00] local.INFO: IMEI packet received {"connection_id":158719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":158719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:56:03] local.INFO: TCP Data received {"connection_id":157838,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:56:03] local.INFO: Processing buffer {"connection_id":157838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:56:03] local.INFO: Packet analysis {"connection_id":157838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:56:03] local.INFO: Extracted packet for processing {"connection_id":157838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:56:03] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":21,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500966144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:56: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-08-19 09:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787113450000,"timestamp_ms":1787113450000,"timestamp_seconds":1787113450,"priority":1,"record_length":96,"hex_timestamp":"000001a018432a10"} 
[2026-08-19 09:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":157838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":157838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":157838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:56:03] 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-08-19 09:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500966144001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500966144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:56:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:56:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500966144001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":157838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:56:03] local.INFO: GPS data processed {"connection_id":157838,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:56:03] local.INFO: Acknowledgment sent {"connection_id":157838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:56:05] local.INFO: TCP Data received {"connection_id":158719,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:56:05] local.INFO: Processing buffer {"connection_id":158719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:56:05] local.INFO: IMEI packet received {"connection_id":158719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":158719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:56:06] local.INFO: TCP Data received {"connection_id":158719,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a01843c650012d34c48006aa4b60000f015f26..."} 
[2026-08-19 09:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01843c650012d34c48006aa4b60000f015f26..."} 
[2026-08-19 09:56:06] local.INFO: Processing buffer {"connection_id":158719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01843c650012d34c48006aa4b60000f015f26..."} 
[2026-08-19 09:56:06] local.INFO: Packet analysis {"connection_id":158719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:56:06] local.INFO: Extracted packet for processing {"connection_id":158719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823712,"longitude_deg":75.8432896,"latitude_deg":11.1823712,"altitude":15,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4b60","is_valid_coordinates":true} 
[2026-08-19 09:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501052160001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034225152,"note":"Value kept but may cause issues"} 
[2026-08-19 09:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787113490000,"timestamp_ms":1787113490000,"timestamp_seconds":1787113490,"priority":1,"record_length":96,"hex_timestamp":"000001a01843c650"} 
[2026-08-19 09:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 09:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501052160001,"66":25419,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802164014034225152},"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-08-19 09:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501052160001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:56:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:56:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034225152,"description":"Unknown IO ID 45"} 
[2026-08-19 09:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501052160001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802164014034225152}} 
[2026-08-19 09:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":158719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:56:06] local.INFO: GPS data processed {"connection_id":158719,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:56:06] local.INFO: Acknowledgment sent {"connection_id":158719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:56:20] local.INFO: TCP Data received {"connection_id":158720,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:56:20] local.INFO: Processing buffer {"connection_id":158720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:56:20] local.INFO: IMEI packet received {"connection_id":158720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":158720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:56:25] local.INFO: TCP Data received {"connection_id":158720,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:56:25] local.INFO: Processing buffer {"connection_id":158720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:56:25] local.INFO: IMEI packet received {"connection_id":158720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":158720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:56:26] local.INFO: TCP Data received {"connection_id":158720,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:56:26] local.INFO: Processing buffer {"connection_id":158720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:56:26] local.INFO: Packet analysis {"connection_id":158720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:56:26] local.INFO: Extracted packet for processing {"connection_id":158720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:56:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":21,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500966144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:56:26] 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-08-19 09:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787113450000,"timestamp_ms":1787113450000,"timestamp_seconds":1787113450,"priority":1,"record_length":96,"hex_timestamp":"000001a018432a10"} 
[2026-08-19 09:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:56:26] 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-08-19 09: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-08-19 09:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:56:26] 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-08-19 09:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500966144001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500966144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:56:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:56:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500966144001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":158720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:56:26] local.INFO: GPS data processed {"connection_id":158720,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:56:26] local.INFO: Acknowledgment sent {"connection_id":158720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:56:37] local.INFO: TCP Data received {"connection_id":158719,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a018441858012d34c48006aa4b60000f015f26..."} 
[2026-08-19 09:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018441858012d34c48006aa4b60000f015f26..."} 
[2026-08-19 09:56:37] local.INFO: Processing buffer {"connection_id":158719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018441858012d34c48006aa4b60000f015f26..."} 
[2026-08-19 09:56:37] local.INFO: Packet analysis {"connection_id":158719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01844"} 
[2026-08-19 09:56:37] local.INFO: Extracted packet for processing {"connection_id":158719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01844"} 
[2026-08-19 09:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823712,"longitude_deg":75.8432896,"latitude_deg":11.1823712,"altitude":15,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4b60","is_valid_coordinates":true} 
[2026-08-19 09:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501053440001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522766848,"note":"Value kept but may cause issues"} 
[2026-08-19 09:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787113511000,"timestamp_ms":1787113511000,"timestamp_seconds":1787113511,"priority":1,"record_length":96,"hex_timestamp":"000001a018441858"} 
[2026-08-19 09:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-19 09:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 09:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:56:37] 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-08-19 09:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501053440001,"66":27843,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802304751522766848},"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-08-19 09:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501053440001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522766848,"description":"Unknown IO ID 45"} 
[2026-08-19 09:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501053440001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522766848}} 
[2026-08-19 09:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":158719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:56:37] local.INFO: GPS data processed {"connection_id":158719,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:56:37] local.INFO: Acknowledgment sent {"connection_id":158719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:56:57] local.INFO: TCP Data received {"connection_id":158720,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:56:58] local.INFO: Processing buffer {"connection_id":158720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:56:58] local.INFO: Packet analysis {"connection_id":158720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:56:58] local.INFO: Extracted packet for processing {"connection_id":158720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":21,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500966144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:56:58] 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-08-19 09:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787113450000,"timestamp_ms":1787113450000,"timestamp_seconds":1787113450,"priority":1,"record_length":96,"hex_timestamp":"000001a018432a10"} 
[2026-08-19 09:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:56:58] 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-08-19 09: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-08-19 09:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":158720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":158720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":158720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:56:58] 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-08-19 09:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500966144001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500966144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:56:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:56:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500966144001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":158720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:56:58] local.INFO: GPS data processed {"connection_id":158720,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:56:58] local.INFO: Acknowledgment sent {"connection_id":158720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:57:00] local.INFO: TCP Data received {"connection_id":157839,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:57:00] local.INFO: Processing buffer {"connection_id":157839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:57:00] local.INFO: IMEI packet received {"connection_id":157839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":157839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:57:05] local.INFO: TCP Data received {"connection_id":157839,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:57:05] local.INFO: Processing buffer {"connection_id":157839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:57:05] local.INFO: IMEI packet received {"connection_id":157839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":157839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:57:06] local.INFO: TCP Data received {"connection_id":157839,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a018446a60012d34c48006aa4b60000f015f26..."} 
[2026-08-19 09:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018446a60012d34c48006aa4b60000f015f26..."} 
[2026-08-19 09:57:06] local.INFO: Processing buffer {"connection_id":157839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018446a60012d34c48006aa4b60000f015f26..."} 
[2026-08-19 09:57:06] local.INFO: Packet analysis {"connection_id":157839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01844"} 
[2026-08-19 09:57:06] local.INFO: Extracted packet for processing {"connection_id":157839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01844"} 
[2026-08-19 09:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823712,"longitude_deg":75.8432896,"latitude_deg":11.1823712,"altitude":15,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4b60","is_valid_coordinates":true} 
[2026-08-19 09:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501058816001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388536456544256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522766848,"note":"Value kept but may cause issues"} 
[2026-08-19 09:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787113532000,"timestamp_ms":1787113532000,"timestamp_seconds":1787113532,"priority":1,"record_length":96,"hex_timestamp":"000001a018446a60"} 
[2026-08-19 09:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 09:57:06] 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-08-19 09:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501058816001,"66":27647,"97":206,"81":23296,"24":0,"16":385388536456544256,"45":3802304751522766848},"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-08-19 09:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501058816001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:57:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388536456544256,"km_value":385388536456544.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522766848,"description":"Unknown IO ID 45"} 
[2026-08-19 09:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501058816001,"power":27647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751522766848}} 
[2026-08-19 09:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":157839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:57:06] local.INFO: GPS data processed {"connection_id":157839,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:57:06] local.INFO: Acknowledgment sent {"connection_id":157839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:57:20] local.INFO: TCP Data received {"connection_id":157468,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:57:20] local.INFO: Processing buffer {"connection_id":157468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:57:20] local.INFO: IMEI packet received {"connection_id":157468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":157468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:57:25] local.INFO: TCP Data received {"connection_id":157468,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:57:25] local.INFO: Processing buffer {"connection_id":157468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:57:25] local.INFO: IMEI packet received {"connection_id":157468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":157468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:57:26] local.INFO: TCP Data received {"connection_id":157468,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:57:26] local.INFO: Processing buffer {"connection_id":157468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:57:26] local.INFO: Packet analysis {"connection_id":157468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:57:26] local.INFO: Extracted packet for processing {"connection_id":157468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":21,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500966144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:57:26] 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-08-19 09:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787113450000,"timestamp_ms":1787113450000,"timestamp_seconds":1787113450,"priority":1,"record_length":96,"hex_timestamp":"000001a018432a10"} 
[2026-08-19 09:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:57:26] 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-08-19 09:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:57:26] 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-08-19 09:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500966144001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500966144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:57:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:57:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500966144001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":157468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:57:26] local.INFO: GPS data processed {"connection_id":157468,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:57:26] local.INFO: Acknowledgment sent {"connection_id":157468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:57:38] local.INFO: TCP Data received {"connection_id":157839,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a018447230012d34c60006aa4d880010000226..."} 
[2026-08-19 09:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018447230012d34c60006aa4d880010000226..."} 
[2026-08-19 09:57:38] local.INFO: Processing buffer {"connection_id":157839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018447230012d34c60006aa4d880010000226..."} 
[2026-08-19 09:57:38] local.INFO: Packet analysis {"connection_id":157839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01844"} 
[2026-08-19 09:57:38] local.INFO: Extracted packet for processing {"connection_id":157839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01844"} 
[2026-08-19 09:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111824264,"longitude_deg":75.843328,"latitude_deg":11.1824264,"altitude":16,"angle":2,"satellites":38,"speed":3,"hex_longitude":"2d34c600","hex_latitude":"06aa4d88","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501064192001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385388570816282624,"note":"Value kept but may cause issues"} 
[2026-08-19 09:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522766848,"note":"Value kept but may cause issues"} 
[2026-08-19 09:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787113534000,"timestamp_ms":1787113534000,"timestamp_seconds":1787113534,"priority":1,"record_length":96,"hex_timestamp":"000001a018447230"} 
[2026-08-19 09:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:57: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-08-19 09: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-19 09:57:38] 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-08-19 09: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-08-19 09:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:57:38] 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-08-19 09:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501064192001,"66":27658,"97":206,"81":23296,"24":3,"16":385388570816282624,"45":3802304751522766848},"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-08-19 09:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501064192001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385388570816282624,"km_value":385388570816282.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522766848,"description":"Unknown IO ID 45"} 
[2026-08-19 09:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501064192001,"power":27658,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802304751522766848}} 
[2026-08-19 09:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":157839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:57:38] local.INFO: GPS data processed {"connection_id":157839,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:57:38] local.INFO: Acknowledgment sent {"connection_id":157839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:57:58] local.INFO: TCP Data received {"connection_id":157468,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:57:58] local.INFO: Processing buffer {"connection_id":157468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:57:58] local.INFO: Packet analysis {"connection_id":157468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:57:58] local.INFO: Extracted packet for processing {"connection_id":157468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:57:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":21,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500966144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:57:58] 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-08-19 09:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787113450000,"timestamp_ms":1787113450000,"timestamp_seconds":1787113450,"priority":1,"record_length":96,"hex_timestamp":"000001a018432a10"} 
[2026-08-19 09:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:57:58] 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-08-19 09:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:57:58] 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-08-19 09:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500966144001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500966144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:57:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:57:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500966144001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":157468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:57:58] local.INFO: GPS data processed {"connection_id":157468,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:57:58] local.INFO: Acknowledgment sent {"connection_id":157468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:57:59] local.INFO: TCP Data received {"connection_id":157840,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:57:59] local.INFO: Processing buffer {"connection_id":157840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:57:59] local.INFO: IMEI packet received {"connection_id":157840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":157840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:58:05] local.INFO: TCP Data received {"connection_id":157840,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:58:05] local.INFO: Processing buffer {"connection_id":157840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:58:05] local.INFO: IMEI packet received {"connection_id":157840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":157840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:58:06] local.INFO: TCP Data received {"connection_id":157840,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a018460c58012d350ec006aa65e0000e000b26..."} 
[2026-08-19 09:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018460c58012d350ec006aa65e0000e000b26..."} 
[2026-08-19 09:58:06] local.INFO: Processing buffer {"connection_id":157840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018460c58012d350ec006aa65e0000e000b26..."} 
[2026-08-19 09:58:06] local.INFO: Packet analysis {"connection_id":157840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01846"} 
[2026-08-19 09:58:06] local.INFO: Extracted packet for processing {"connection_id":157840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01846"} 
[2026-08-19 09:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758451904,"raw_latitude":111830496,"longitude_deg":75.8451904,"latitude_deg":11.1830496,"altitude":14,"angle":11,"satellites":38,"speed":6,"hex_longitude":"2d350ec0","hex_latitude":"06aa65e0","is_valid_coordinates":true} 
[2026-08-19 09:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501090560001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385389588723531776,"note":"Value kept but may cause issues"} 
[2026-08-19 09:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3822852424824281088,"note":"Value kept but may cause issues"} 
[2026-08-19 09:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787113639000,"timestamp_ms":1787113639000,"timestamp_seconds":1787113639,"priority":1,"record_length":96,"hex_timestamp":"000001a018460c58"} 
[2026-08-19 09:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:58: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-08-19 09:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 09:58:06] 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-08-19 09:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 09:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501090560001,"66":27876,"97":206,"81":23296,"24":6,"16":385389588723531776,"45":3822852424824281088},"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-08-19 09:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501090560001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:58:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:58:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385389588723531776,"km_value":385389588723531.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3822852424824281088,"description":"Unknown IO ID 45"} 
[2026-08-19 09:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501090560001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3822852424824281088}} 
[2026-08-19 09:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":157840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:58:06] local.INFO: GPS data processed {"connection_id":157840,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:58:06] local.INFO: Acknowledgment sent {"connection_id":157840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:58:20] local.INFO: TCP Data received {"connection_id":158721,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:58:20] local.INFO: Processing buffer {"connection_id":158721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:58:20] local.INFO: IMEI packet received {"connection_id":158721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":158721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:58:25] local.INFO: TCP Data received {"connection_id":158721,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:58:25] local.INFO: Processing buffer {"connection_id":158721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:58:25] local.INFO: IMEI packet received {"connection_id":158721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":158721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:58:26] local.INFO: TCP Data received {"connection_id":158721,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:58:26] local.INFO: Processing buffer {"connection_id":158721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:58:26] local.INFO: Packet analysis {"connection_id":158721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:58:26] local.INFO: Extracted packet for processing {"connection_id":158721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:58:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":21,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 09:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500966144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:58:26] 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-08-19 09:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787113450000,"timestamp_ms":1787113450000,"timestamp_seconds":1787113450,"priority":1,"record_length":96,"hex_timestamp":"000001a018432a10"} 
[2026-08-19 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-08-19 09:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:58:26] 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-08-19 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-08-19 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-08-19 09:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:58:26] 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-08-19 09:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500966144001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500966144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:58:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:58:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500966144001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":158721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:58:26] local.INFO: GPS data processed {"connection_id":158721,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:58:26] local.INFO: Acknowledgment sent {"connection_id":158721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:58:40] local.INFO: TCP Data received {"connection_id":157840,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a018461428012d350e8006aa6758000e015826..."} 
[2026-08-19 09:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018461428012d350e8006aa6758000e015826..."} 
[2026-08-19 09:58:40] local.INFO: Processing buffer {"connection_id":157840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018461428012d350e8006aa6758000e015826..."} 
[2026-08-19 09:58:40] local.INFO: Packet analysis {"connection_id":157840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01846"} 
[2026-08-19 09:58:40] local.INFO: Extracted packet for processing {"connection_id":157840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01846"} 
[2026-08-19 09:58:40] local.INFO: GPS Element Parsed {"raw_longitude":758451840,"raw_latitude":111830872,"longitude_deg":75.845184,"latitude_deg":11.1830872,"altitude":14,"angle":344,"satellites":38,"speed":9,"hex_longitude":"2d350e80","hex_latitude":"06aa6758","is_valid_coordinates":true} 
[2026-08-19 09:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501091584001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385389610198368256,"note":"Value kept but may cause issues"} 
[2026-08-19 09:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3823204268545269760,"note":"Value kept but may cause issues"} 
[2026-08-19 09:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 09:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787113641000,"timestamp_ms":1787113641000,"timestamp_seconds":1787113641,"priority":1,"record_length":96,"hex_timestamp":"000001a018461428"} 
[2026-08-19 09:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 09:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 09:58:40] 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-08-19 09:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:58:40] 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-08-19 09:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501091584001,"66":27800,"97":206,"81":23296,"24":9,"16":385389610198368256,"45":3823204268545269760},"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-08-19 09:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501091584001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:58:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 09:58:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385389610198368256,"km_value":385389610198368.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3823204268545269760,"description":"Unknown IO ID 45"} 
[2026-08-19 09:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501091584001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":9,"odometer":null,"unknown_45":3823204268545269760}} 
[2026-08-19 09:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":157840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:58:40] local.INFO: GPS data processed {"connection_id":157840,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:58:40] local.INFO: Acknowledgment sent {"connection_id":157840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:58:58] local.INFO: TCP Data received {"connection_id":158721,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:58:58] local.INFO: Processing buffer {"connection_id":158721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018432a10012d7d370005ec09e8000000b315..."} 
[2026-08-19 09:58:58] local.INFO: Packet analysis {"connection_id":158721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:58:58] local.INFO: Extracted packet for processing {"connection_id":158721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01843"} 
[2026-08-19 09:58:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":21,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 09:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457500966144001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:58:58] 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-08-19 09:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787113450000,"timestamp_ms":1787113450000,"timestamp_seconds":1787113450,"priority":1,"record_length":96,"hex_timestamp":"000001a018432a10"} 
[2026-08-19 09:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:58:58] 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-08-19 09:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 09:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":158721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":158721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":158721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:58:58] 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-08-19 09:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457500966144001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457500966144001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:58:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:58:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457500966144001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":158721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:58:58] local.INFO: GPS data processed {"connection_id":158721,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:58:58] local.INFO: Acknowledgment sent {"connection_id":158721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:59:20] local.INFO: TCP Data received {"connection_id":160024,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:59:20] local.INFO: Processing buffer {"connection_id":160024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:59:20] local.INFO: IMEI packet received {"connection_id":160024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 09:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":160024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:59:25] local.INFO: TCP Data received {"connection_id":160024,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:59:25] local.INFO: Processing buffer {"connection_id":160024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 09:59:25] local.INFO: IMEI packet received {"connection_id":160024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 09:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":160024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:59:26] local.INFO: TCP Data received {"connection_id":160024,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:59:26] local.INFO: Processing buffer {"connection_id":160024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:59:26] local.INFO: Packet analysis {"connection_id":160024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 09:59:26] local.INFO: Extracted packet for processing {"connection_id":160024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 09:59:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09:59: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-08-19 09:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501043200001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:59:26] 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-08-19 09:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787113751000,"timestamp_ms":1787113751000,"timestamp_seconds":1787113751,"priority":1,"record_length":96,"hex_timestamp":"000001a01847c1d8"} 
[2026-08-19 09:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:59:26] 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-08-19 09:59: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-08-19 09:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:59:26] 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-08-19 09:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501043200001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501043200001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:59:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:59:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501043200001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":160024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:59:26] local.INFO: GPS data processed {"connection_id":160024,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:59:26] local.INFO: Acknowledgment sent {"connection_id":160024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:59:29] local.INFO: TCP Data received {"connection_id":160025,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 09:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 09:59:29] local.INFO: Processing buffer {"connection_id":160025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 09:59:29] local.INFO: IMEI packet received {"connection_id":160025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 09:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":160025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:59:31] local.INFO: TCP Data received {"connection_id":160025,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 09:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 09:59:31] local.INFO: Processing buffer {"connection_id":160025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 09:59:31] local.INFO: IMEI packet received {"connection_id":160025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 09:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":160025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:59:34] local.INFO: TCP Data received {"connection_id":160025,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 09:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 09:59:34] local.INFO: Processing buffer {"connection_id":160025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 09:59:34] local.INFO: IMEI packet received {"connection_id":160025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 09:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":160025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:59:35] local.INFO: TCP Data received {"connection_id":160025,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-19 09:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160025,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-19 09:59:35] local.INFO: Processing buffer {"connection_id":160025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-19 09:59:35] local.INFO: Packet analysis {"connection_id":160025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-19 09:59:35] local.INFO: Extracted packet for processing {"connection_id":160025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-19 09:59: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-08-19 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-08-19 09:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13625367134732288,"note":"Value kept but may cause issues"} 
[2026-08-19 09:59:35] 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-08-19 09:59:35] 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-08-19 09:59:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-19 09:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160025,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160025,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-19 09:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160025,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-19 09:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-19 09:59:35] local.WARNING: DEBUG: No valid data to process  
[2026-08-19 09:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":160025,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-19 09:59:35] local.ERROR: GPS data processing failed {"connection_id":160025,"error":"No valid data to process"} 
[2026-08-19 09:59:35] local.INFO: Acknowledgment sent {"connection_id":160025,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-19 09:59:41] local.INFO: TCP Data received {"connection_id":158722,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:59:41] local.INFO: Processing buffer {"connection_id":158722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:59:41] local.INFO: IMEI packet received {"connection_id":158722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 09:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":158722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 09:59:47] local.INFO: TCP Data received {"connection_id":158722,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:59:47] local.INFO: Processing buffer {"connection_id":158722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 09:59:47] local.INFO: IMEI packet received {"connection_id":158722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 09:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":158722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 09:59:47] local.INFO: TCP Data received {"connection_id":158722,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a018476800012d340d0006aa8020001400fc21..."} 
[2026-08-19 09:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018476800012d340d0006aa8020001400fc21..."} 
[2026-08-19 09:59:47] local.INFO: Processing buffer {"connection_id":158722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018476800012d340d0006aa8020001400fc21..."} 
[2026-08-19 09:59:47] local.INFO: Packet analysis {"connection_id":158722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 09:59:47] local.INFO: Extracted packet for processing {"connection_id":158722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 09:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758385920,"raw_latitude":111837216,"longitude_deg":75.838592,"latitude_deg":11.1837216,"altitude":20,"angle":252,"satellites":33,"speed":17,"hex_longitude":"2d340d00","hex_latitude":"06aa8020","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501110784001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385392904438284288,"note":"Value kept but may cause issues"} 
[2026-08-19 09:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3760576086229456896,"note":"Value kept but may cause issues"} 
[2026-08-19 09:59:47] 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-08-19 09:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787113728000,"timestamp_ms":1787113728000,"timestamp_seconds":1787113728,"priority":1,"record_length":96,"hex_timestamp":"000001a018476800"} 
[2026-08-19 09:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:59: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-08-19 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 09:59: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-08-19 09: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-08-19 09:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 09:59:47] 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-08-19 09:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 09:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 09:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501110784001,"66":27876,"75":206,"81":23296,"24":17,"16":385392904438284288,"45":3760576086229456896},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-19 09:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 09:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 09:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501110784001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:59:47] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-19 09:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 09:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385392904438284288,"km_value":385392904438284.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3760576086229456896,"description":"Unknown IO ID 45"} 
[2026-08-19 09:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501110784001,"power":27876,"unknown_75":206,"unknown_81":23296,"ignition":17,"odometer":null,"unknown_45":3760576086229456896}} 
[2026-08-19 09:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":158722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:59:47] local.INFO: GPS data processed {"connection_id":158722,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:59:47] local.INFO: Acknowledgment sent {"connection_id":158722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 09:59:58] local.INFO: TCP Data received {"connection_id":160024,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:59:58] local.INFO: Processing buffer {"connection_id":160024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 09:59:58] local.INFO: Packet analysis {"connection_id":160024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 09:59:58] local.INFO: Extracted packet for processing {"connection_id":160024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 09:59:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 09: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-08-19 09:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501043200001,"note":"Value kept but may cause issues"} 
[2026-08-19 09:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 09:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 09:59:58] 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-08-19 09:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787113751000,"timestamp_ms":1787113751000,"timestamp_seconds":1787113751,"priority":1,"record_length":96,"hex_timestamp":"000001a01847c1d8"} 
[2026-08-19 09:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 09:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 09:59:58] 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-08-19 09: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-08-19 09:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 09:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 09:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 09:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 09:59:58] 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-08-19 09:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 09:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 09:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501043200001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 09:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 09:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 09:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501043200001,"description":"Unknown IO ID 0"} 
[2026-08-19 09:59:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 09:59:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 09:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 09:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 09:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501043200001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 09:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":160024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 09:59:58] local.INFO: GPS data processed {"connection_id":160024,"processed":1,"errors":0,"total":1} 
[2026-08-19 09:59:58] local.INFO: Acknowledgment sent {"connection_id":160024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:00:05] local.INFO: TCP Data received {"connection_id":158723,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:00:05] local.INFO: Processing buffer {"connection_id":158723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:00:05] local.INFO: IMEI packet received {"connection_id":158723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":158723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:00:11] local.INFO: TCP Data received {"connection_id":158723,"ip":"42.106.6.23","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158723,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:00:11] local.INFO: Processing buffer {"connection_id":158723,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:00:11] local.INFO: IMEI packet received {"connection_id":158723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":158723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:00:12] local.INFO: TCP Data received {"connection_id":158723,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0184792f8012d33f70006aa77b8001400f020..."} 
[2026-08-19 10:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184792f8012d33f70006aa77b8001400f020..."} 
[2026-08-19 10:00:12] local.INFO: Processing buffer {"connection_id":158723,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a018..."} 
[2026-08-19 10:00:12] local.INFO: IMEI packet received {"connection_id":158723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":158723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:00:13] local.INFO: TCP Data received {"connection_id":158723,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a01847b238012d33e8c006aa6c48001200e324..."} 
[2026-08-19 10:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01847b238012d33e8c006aa6c48001200e324..."} 
[2026-08-19 10:00:13] local.INFO: Processing buffer {"connection_id":158723,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0184792f8012d33f70006aa77b8001400f020..."} 
[2026-08-19 10:00:13] local.INFO: Packet analysis {"connection_id":158723,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:00:13] local.INFO: Extracted packet for processing {"connection_id":158723,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:00:13] local.INFO: GPS Element Parsed {"raw_longitude":758380288,"raw_latitude":111835064,"longitude_deg":75.8380288,"latitude_deg":11.1835064,"altitude":20,"angle":240,"satellites":32,"speed":23,"hex_longitude":"2d33f700","hex_latitude":"06aa77b8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501114368001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385393192201093120,"note":"Value kept but may cause issues"} 
[2026-08-19 10:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3750654093299818496,"note":"Value kept but may cause issues"} 
[2026-08-19 10:00:13] 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-08-19 10:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787113739000,"timestamp_ms":1787113739000,"timestamp_seconds":1787113739,"priority":1,"record_length":96,"hex_timestamp":"000001a0184792f8"} 
[2026-08-19 10:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:00: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-08-19 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 10:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:00:13] 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-08-19 10:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501114368001,"66":27865,"75":206,"81":23296,"24":23,"16":385393192201093120,"45":3750654093299818496},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-19 10:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501114368001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:00:13] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-19 10:00:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385393192201093120,"km_value":385393192201093.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3750654093299818496,"description":"Unknown IO ID 45"} 
[2026-08-19 10:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501114368001,"power":27865,"unknown_75":206,"unknown_81":23296,"ignition":23,"odometer":null,"unknown_45":3750654093299818496}} 
[2026-08-19 10:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":158723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:00:14] local.INFO: GPS data processed {"connection_id":158723,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:00:14] local.INFO: Acknowledgment sent {"connection_id":158723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:00:14] local.INFO: Packet analysis {"connection_id":158723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:00:14] local.INFO: Extracted packet for processing {"connection_id":158723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:00:14] local.INFO: GPS Element Parsed {"raw_longitude":758376640,"raw_latitude":111832136,"longitude_deg":75.837664,"latitude_deg":11.1832136,"altitude":18,"angle":227,"satellites":36,"speed":20,"hex_longitude":"2d33e8c0","hex_latitude":"06aa6c48","is_valid_coordinates":true} 
[2026-08-19 10:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501117184001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385393415539392512,"note":"Value kept but may cause issues"} 
[2026-08-19 10:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3744461643811633152,"note":"Value kept but may cause issues"} 
[2026-08-19 10:00:14] 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-08-19 10:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787113747000,"timestamp_ms":1787113747000,"timestamp_seconds":1787113747,"priority":1,"record_length":96,"hex_timestamp":"000001a01847b238"} 
[2026-08-19 10:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:00:14] 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-08-19 10:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:00:14] 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-08-19 10:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:00:14] 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-08-19 10:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501117184001,"66":27865,"75":206,"81":23296,"24":20,"16":385393415539392512,"45":3744461643811633152},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-19 10:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501117184001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:00:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-19 10:00:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385393415539392512,"km_value":385393415539392.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3744461643811633152,"description":"Unknown IO ID 45"} 
[2026-08-19 10:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501117184001,"power":27865,"unknown_75":206,"unknown_81":23296,"ignition":20,"odometer":null,"unknown_45":3744461643811633152}} 
[2026-08-19 10:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":158723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:00:14] local.INFO: GPS data processed {"connection_id":158723,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:00:14] local.INFO: Acknowledgment sent {"connection_id":158723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:00:15] local.INFO: TCP Data received {"connection_id":158723,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a01847e8e8012d33ce8006aa5430000f00e424..."} 
[2026-08-19 10:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01847e8e8012d33ce8006aa5430000f00e424..."} 
[2026-08-19 10:00:15] local.INFO: Processing buffer {"connection_id":158723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01847e8e8012d33ce8006aa5430000f00e424..."} 
[2026-08-19 10:00:15] local.INFO: Packet analysis {"connection_id":158723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:00:15] local.INFO: Extracted packet for processing {"connection_id":158723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:00:15] local.INFO: GPS Element Parsed {"raw_longitude":758369920,"raw_latitude":111825968,"longitude_deg":75.836992,"latitude_deg":11.1825968,"altitude":15,"angle":228,"satellites":36,"speed":32,"hex_longitude":"2d33ce80","hex_latitude":"06aa5430","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501119232001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385393853626056704,"note":"Value kept but may cause issues"} 
[2026-08-19 10:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3740450625392756736,"note":"Value kept but may cause issues"} 
[2026-08-19 10:00:15] 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-08-19 10:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787113761000,"timestamp_ms":1787113761000,"timestamp_seconds":1787113761,"priority":1,"record_length":96,"hex_timestamp":"000001a01847e8e8"} 
[2026-08-19 10:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:00: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-08-19 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:00:15] 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-08-19 10: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-08-19 10:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501119232001,"66":27767,"75":206,"81":23296,"24":32,"16":385393853626056704,"45":3740450625392756736},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-19 10:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501119232001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:00:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-19 10:00:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385393853626056704,"km_value":385393853626056.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3740450625392756736,"description":"Unknown IO ID 45"} 
[2026-08-19 10:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501119232001,"power":27767,"unknown_75":206,"unknown_81":23296,"ignition":32,"odometer":null,"unknown_45":3740450625392756736}} 
[2026-08-19 10:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":158723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:00:15] local.INFO: GPS data processed {"connection_id":158723,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:00:15] local.INFO: Acknowledgment sent {"connection_id":158723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:00:25] local.INFO: TCP Data received {"connection_id":160026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:00:25] local.INFO: Processing buffer {"connection_id":160026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:00:25] local.INFO: IMEI packet received {"connection_id":160026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 10:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":160026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:00:29] local.INFO: TCP Data received {"connection_id":160027,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160027,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:00:29] local.INFO: Processing buffer {"connection_id":160027,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:00:29] local.INFO: IMEI packet received {"connection_id":160027,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 10:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":160027,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:00:30] local.INFO: TCP Data received {"connection_id":160027,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160027,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:00:30] local.INFO: Processing buffer {"connection_id":160027,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:00:30] local.INFO: IMEI packet received {"connection_id":160027,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 10:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":160027,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:00:30] local.INFO: TCP Data received {"connection_id":160026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:00:30] local.INFO: Processing buffer {"connection_id":160026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:00:30] local.INFO: IMEI packet received {"connection_id":160026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 10:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":160026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:00:31] local.INFO: TCP Data received {"connection_id":160026,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:00:31] local.INFO: Processing buffer {"connection_id":160026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:00:31] local.INFO: Packet analysis {"connection_id":160026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:00:31] local.INFO: Extracted packet for processing {"connection_id":160026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:00:31] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501043200001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:00: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-08-19 10:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787113751000,"timestamp_ms":1787113751000,"timestamp_seconds":1787113751,"priority":1,"record_length":96,"hex_timestamp":"000001a01847c1d8"} 
[2026-08-19 10:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 10:00: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-08-19 10:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:00:31] 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-08-19 10:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501043200001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501043200001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:00:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:00:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501043200001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":160026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:00:31] local.INFO: GPS data processed {"connection_id":160026,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:00:31] local.INFO: Acknowledgment sent {"connection_id":160026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:00:31] local.INFO: TCP Data received {"connection_id":160027,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160027,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:00:31] local.INFO: Processing buffer {"connection_id":160027,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:00:31] local.INFO: IMEI packet received {"connection_id":160027,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 10:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":160027,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:00:32] local.INFO: TCP Data received {"connection_id":160027,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160027,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:00:32] local.INFO: Processing buffer {"connection_id":160027,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:00:32] local.INFO: IMEI packet received {"connection_id":160027,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 10:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":160027,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:00:36] local.INFO: TCP Data received {"connection_id":160026,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:00:36] local.INFO: Processing buffer {"connection_id":160026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:00:36] local.INFO: Packet analysis {"connection_id":160026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:00:36] local.INFO: Extracted packet for processing {"connection_id":160026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:00:36] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501043200001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:00:36] 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-08-19 10:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787113751000,"timestamp_ms":1787113751000,"timestamp_seconds":1787113751,"priority":1,"record_length":96,"hex_timestamp":"000001a01847c1d8"} 
[2026-08-19 10:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 10:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:00:36] 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-08-19 10:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501043200001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501043200001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:00:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:00:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501043200001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":160026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:00:36] local.INFO: GPS data processed {"connection_id":160026,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:00:36] local.INFO: Acknowledgment sent {"connection_id":160026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:01:00] local.INFO: TCP Data received {"connection_id":157841,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:01:00] local.INFO: Processing buffer {"connection_id":157841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:01:00] local.INFO: IMEI packet received {"connection_id":157841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":157841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:01:05] local.INFO: TCP Data received {"connection_id":157841,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:01:05] local.INFO: Processing buffer {"connection_id":157841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:01:05] local.INFO: IMEI packet received {"connection_id":157841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":157841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:01:05] local.INFO: TCP Data received {"connection_id":157841,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a018480058012d33c28006aa48c0000f00d821..."} 
[2026-08-19 10:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018480058012d33c28006aa48c0000f00d821..."} 
[2026-08-19 10:01:05] local.INFO: Processing buffer {"connection_id":157841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018480058012d33c28006aa48c0000f00d821..."} 
[2026-08-19 10:01:05] local.INFO: Packet analysis {"connection_id":157841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01848"} 
[2026-08-19 10:01:05] local.INFO: Extracted packet for processing {"connection_id":157841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01848"} 
[2026-08-19 10:01:05] local.INFO: GPS Element Parsed {"raw_longitude":758366848,"raw_latitude":111823040,"longitude_deg":75.8366848,"latitude_deg":11.182304,"altitude":15,"angle":216,"satellites":33,"speed":20,"hex_longitude":"2d33c280","hex_latitude":"06aa48c0","is_valid_coordinates":true} 
[2026-08-19 10:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501122816001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385394055489519616,"note":"Value kept but may cause issues"} 
[2026-08-19 10:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3733061907252523008,"note":"Value kept but may cause issues"} 
[2026-08-19 10:01:05] 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-08-19 10:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787113767000,"timestamp_ms":1787113767000,"timestamp_seconds":1787113767,"priority":1,"record_length":96,"hex_timestamp":"000001a018480058"} 
[2026-08-19 10:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 10:01:05] 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-08-19 10:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501122816001,"66":27908,"75":206,"81":23296,"24":20,"16":385394055489519616,"45":3733061907252523008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-19 10:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501122816001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:01:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-19 10:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385394055489519616,"km_value":385394055489519.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3733061907252523008,"description":"Unknown IO ID 45"} 
[2026-08-19 10:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501122816001,"power":27908,"unknown_75":206,"unknown_81":23296,"ignition":20,"odometer":null,"unknown_45":3733061907252523008}} 
[2026-08-19 10:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":157841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:01:05] local.INFO: GPS data processed {"connection_id":157841,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:01:05] local.INFO: Acknowledgment sent {"connection_id":157841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:01:20] local.INFO: TCP Data received {"connection_id":157470,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:01:20] local.INFO: Processing buffer {"connection_id":157470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:01:20] local.INFO: IMEI packet received {"connection_id":157470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 10:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":157470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:01:25] local.INFO: TCP Data received {"connection_id":157470,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:01:25] local.INFO: Processing buffer {"connection_id":157470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:01:25] local.INFO: IMEI packet received {"connection_id":157470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 10:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":157470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:01:28] local.INFO: TCP Data received {"connection_id":157470,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:01:28] local.INFO: Processing buffer {"connection_id":157470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:01:28] local.INFO: Packet analysis {"connection_id":157470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:01:28] local.INFO: Extracted packet for processing {"connection_id":157470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:01:28] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501043200001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:01:28] 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-08-19 10:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787113751000,"timestamp_ms":1787113751000,"timestamp_seconds":1787113751,"priority":1,"record_length":96,"hex_timestamp":"000001a01847c1d8"} 
[2026-08-19 10:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 10:01:28] 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-08-19 10:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":157470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":157470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":157470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:01: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-08-19 10:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501043200001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501043200001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:01:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:01:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501043200001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":157470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:01:28] local.INFO: GPS data processed {"connection_id":157470,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:01:28] local.INFO: Acknowledgment sent {"connection_id":157470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:01:36] local.INFO: TCP Data received {"connection_id":157841,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a018483708012d33b40006aa2f58000d00ca23..."} 
[2026-08-19 10:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018483708012d33b40006aa2f58000d00ca23..."} 
[2026-08-19 10:01:36] local.INFO: Processing buffer {"connection_id":157841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018483708012d33b40006aa2f58000d00ca23..."} 
[2026-08-19 10:01:36] local.INFO: Packet analysis {"connection_id":157841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01848"} 
[2026-08-19 10:01:36] local.INFO: Extracted packet for processing {"connection_id":157841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01848"} 
[2026-08-19 10:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758363136,"raw_latitude":111816536,"longitude_deg":75.8363136,"latitude_deg":11.1816536,"altitude":13,"angle":202,"satellites":35,"speed":22,"hex_longitude":"2d33b400","hex_latitude":"06aa2f58","is_valid_coordinates":true} 
[2026-08-19 10:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501124352001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385394420561739776,"note":"Value kept but may cause issues"} 
[2026-08-19 10:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3729684207531245568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:01:36] 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-08-19 10:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787113781000,"timestamp_ms":1787113781000,"timestamp_seconds":1787113781,"priority":1,"record_length":96,"hex_timestamp":"000001a018483708"} 
[2026-08-19 10:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 10:01:36] 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-08-19 10:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501124352001,"66":27843,"75":206,"81":23296,"24":22,"16":385394420561739776,"45":3729684207531245568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-19 10:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501124352001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:01:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-19 10:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385394420561739776,"km_value":385394420561739.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3729684207531245568,"description":"Unknown IO ID 45"} 
[2026-08-19 10:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501124352001,"power":27843,"unknown_75":206,"unknown_81":23296,"ignition":22,"odometer":null,"unknown_45":3729684207531245568}} 
[2026-08-19 10:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":157841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:01:36] local.INFO: GPS data processed {"connection_id":157841,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:01:36] local.INFO: Acknowledgment sent {"connection_id":157841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:01:59] local.INFO: TCP Data received {"connection_id":157470,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:01:59] local.INFO: Processing buffer {"connection_id":157470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:01:59] local.INFO: Packet analysis {"connection_id":157470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:01:59] local.INFO: Extracted packet for processing {"connection_id":157470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 10:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501043200001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 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-08-19 10:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787113751000,"timestamp_ms":1787113751000,"timestamp_seconds":1787113751,"priority":1,"record_length":96,"hex_timestamp":"000001a01847c1d8"} 
[2026-08-19 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-08-19 10:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":194,"data_length":795,"current_offset":136} 
[2026-08-19 10:01: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-08-19 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-08-19 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-08-19 10:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":157470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":157470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":157470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:01:59] 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-08-19 10:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501043200001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501043200001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:01:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:01:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501043200001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":157470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:02:00] local.INFO: GPS data processed {"connection_id":157470,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:02:00] local.INFO: Acknowledgment sent {"connection_id":157470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:02:05] local.INFO: TCP Data received {"connection_id":158725,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:02:05] local.INFO: Processing buffer {"connection_id":158725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:02:05] local.INFO: IMEI packet received {"connection_id":158725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":158725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:02:10] local.INFO: TCP Data received {"connection_id":158725,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:02:10] local.INFO: Processing buffer {"connection_id":158725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:02:10] local.INFO: IMEI packet received {"connection_id":158725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":158725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:02:10] local.INFO: TCP Data received {"connection_id":158725,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a018484e78012d33afc006aa2550000d00bc24..."} 
[2026-08-19 10:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018484e78012d33afc006aa2550000d00bc24..."} 
[2026-08-19 10:02:10] local.INFO: Processing buffer {"connection_id":158725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018484e78012d33afc006aa2550000d00bc24..."} 
[2026-08-19 10:02:10] local.INFO: Packet analysis {"connection_id":158725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01848"} 
[2026-08-19 10:02:10] local.INFO: Extracted packet for processing {"connection_id":158725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01848"} 
[2026-08-19 10:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758362048,"raw_latitude":111813968,"longitude_deg":75.8362048,"latitude_deg":11.1813968,"altitude":13,"angle":188,"satellites":36,"speed":11,"hex_longitude":"2d33afc0","hex_latitude":"06aa2550","is_valid_coordinates":true} 
[2026-08-19 10:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501127936001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385394558000693248,"note":"Value kept but may cause issues"} 
[2026-08-19 10:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725602820367276032,"note":"Value kept but may cause issues"} 
[2026-08-19 10:02:10] 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-08-19 10:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787113787000,"timestamp_ms":1787113787000,"timestamp_seconds":1787113787,"priority":1,"record_length":96,"hex_timestamp":"000001a018484e78"} 
[2026-08-19 10:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:02: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-08-19 10:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 10:02:10] 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-08-19 10:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501127936001,"66":28137,"75":206,"81":23296,"24":11,"16":385394558000693248,"45":3725602820367276032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-19 10:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501127936001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:02:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-19 10:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385394558000693248,"km_value":385394558000693.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725602820367276032,"description":"Unknown IO ID 45"} 
[2026-08-19 10:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501127936001,"power":28137,"unknown_75":206,"unknown_81":23296,"ignition":11,"odometer":null,"unknown_45":3725602820367276032}} 
[2026-08-19 10:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":158725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:02:10] local.INFO: GPS data processed {"connection_id":158725,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:02:10] local.INFO: Acknowledgment sent {"connection_id":158725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:02:20] local.INFO: TCP Data received {"connection_id":157472,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:02:20] local.INFO: Processing buffer {"connection_id":157472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:02:20] local.INFO: IMEI packet received {"connection_id":157472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 10:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":157472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:02:22] local.INFO: TCP Data received {"connection_id":158725,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a018485648012d33afc006aa2390000c009d24..."} 
[2026-08-19 10:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018485648012d33afc006aa2390000c009d24..."} 
[2026-08-19 10:02:22] local.INFO: Processing buffer {"connection_id":158725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018485648012d33afc006aa2390000c009d24..."} 
[2026-08-19 10:02:22] local.INFO: Packet analysis {"connection_id":158725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01848"} 
[2026-08-19 10:02:22] local.INFO: Extracted packet for processing {"connection_id":158725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01848"} 
[2026-08-19 10:02:22] local.INFO: GPS Element Parsed {"raw_longitude":758362048,"raw_latitude":111813520,"longitude_deg":75.8362048,"latitude_deg":11.181352,"altitude":12,"angle":157,"satellites":36,"speed":6,"hex_longitude":"2d33afc0","hex_latitude":"06aa2390","is_valid_coordinates":true} 
[2026-08-19 10:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501129472001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385394579475529728,"note":"Value kept but may cause issues"} 
[2026-08-19 10:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724406551715598336,"note":"Value kept but may cause issues"} 
[2026-08-19 10:02:22] 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-08-19 10:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787113789000,"timestamp_ms":1787113789000,"timestamp_seconds":1787113789,"priority":1,"record_length":96,"hex_timestamp":"000001a018485648"} 
[2026-08-19 10:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:02: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-08-19 10:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-19 10:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:02: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-08-19 10:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501129472001,"66":27800,"75":206,"81":23296,"24":6,"16":385394579475529728,"45":3724406551715598336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-19 10:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501129472001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:02:22] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-19 10:02:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385394579475529728,"km_value":385394579475529.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724406551715598336,"description":"Unknown IO ID 45"} 
[2026-08-19 10:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501129472001,"power":27800,"unknown_75":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3724406551715598336}} 
[2026-08-19 10:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":158725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:02:22] local.INFO: GPS data processed {"connection_id":158725,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:02:22] local.INFO: Acknowledgment sent {"connection_id":158725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:02:25] local.INFO: TCP Data received {"connection_id":157472,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:02:25] local.INFO: Processing buffer {"connection_id":157472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:02:25] local.INFO: IMEI packet received {"connection_id":157472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 10:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":157472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:02:26] local.INFO: TCP Data received {"connection_id":157472,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:02:26] local.INFO: Processing buffer {"connection_id":157472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:02:26] local.INFO: Packet analysis {"connection_id":157472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:02:26] local.INFO: Extracted packet for processing {"connection_id":157472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:02:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501043200001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:02:26] 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-08-19 10:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787113751000,"timestamp_ms":1787113751000,"timestamp_seconds":1787113751,"priority":1,"record_length":96,"hex_timestamp":"000001a01847c1d8"} 
[2026-08-19 10:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 10:02:26] 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-08-19 10:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:02:26] 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-08-19 10:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501043200001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501043200001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:02:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:02:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501043200001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":157472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:02:26] local.INFO: GPS data processed {"connection_id":157472,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:02:26] local.INFO: Acknowledgment sent {"connection_id":157472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:02:57] local.INFO: TCP Data received {"connection_id":157472,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:02:57] local.INFO: Processing buffer {"connection_id":157472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:02:57] local.INFO: Packet analysis {"connection_id":157472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:02:57] local.INFO: Extracted packet for processing {"connection_id":157472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:02:57] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501043200001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:02:57] 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-08-19 10:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787113751000,"timestamp_ms":1787113751000,"timestamp_seconds":1787113751,"priority":1,"record_length":96,"hex_timestamp":"000001a01847c1d8"} 
[2026-08-19 10:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 10:02:57] 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-08-19 10:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:02:57] 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-08-19 10:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501043200001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501043200001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:02:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:02:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501043200001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":157472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:02:57] local.INFO: GPS data processed {"connection_id":157472,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:02:57] local.INFO: Acknowledgment sent {"connection_id":157472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:03:00] local.INFO: TCP Data received {"connection_id":157473,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:03:00] local.INFO: Processing buffer {"connection_id":157473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:03:00] local.INFO: IMEI packet received {"connection_id":157473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":157473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:03:05] local.INFO: TCP Data received {"connection_id":157473,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:03:05] local.INFO: Processing buffer {"connection_id":157473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:03:05] local.INFO: IMEI packet received {"connection_id":157473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":157473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:03:05] local.INFO: TCP Data received {"connection_id":157473,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a018485e18012d33b04006aa2268000d008724..."} 
[2026-08-19 10:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018485e18012d33b04006aa2268000d008724..."} 
[2026-08-19 10:03:05] local.INFO: Processing buffer {"connection_id":157473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018485e18012d33b04006aa2268000d008724..."} 
[2026-08-19 10:03:05] local.INFO: Packet analysis {"connection_id":157473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01848"} 
[2026-08-19 10:03:05] local.INFO: Extracted packet for processing {"connection_id":157473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01848"} 
[2026-08-19 10:03:05] local.INFO: GPS Element Parsed {"raw_longitude":758362176,"raw_latitude":111813224,"longitude_deg":75.8362176,"latitude_deg":11.1813224,"altitude":13,"angle":135,"satellites":36,"speed":6,"hex_longitude":"2d33b040","hex_latitude":"06aa2268","is_valid_coordinates":true} 
[2026-08-19 10:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501129984001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385394592360431616,"note":"Value kept but may cause issues"} 
[2026-08-19 10:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724406551715483648,"note":"Value kept but may cause issues"} 
[2026-08-19 10:03:05] 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-08-19 10:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787113791000,"timestamp_ms":1787113791000,"timestamp_seconds":1787113791,"priority":1,"record_length":96,"hex_timestamp":"000001a018485e18"} 
[2026-08-19 10:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 10:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501129984001,"66":27767,"75":206,"81":23296,"24":6,"16":385394592360431616,"45":3724406551715483648},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-19 10:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501129984001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:03:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-19 10:03:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385394592360431616,"km_value":385394592360431.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724406551715483648,"description":"Unknown IO ID 45"} 
[2026-08-19 10:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501129984001,"power":27767,"unknown_75":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3724406551715483648}} 
[2026-08-19 10:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":157473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:03:05] local.INFO: GPS data processed {"connection_id":157473,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:03:05] local.INFO: Acknowledgment sent {"connection_id":157473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:03:10] local.INFO: TCP Data received {"connection_id":157473,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a01848b020012d33b10006aa2160000d008724..."} 
[2026-08-19 10:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01848b020012d33b10006aa2160000d008724..."} 
[2026-08-19 10:03:10] local.INFO: Processing buffer {"connection_id":157473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01848b020012d33b10006aa2160000d008724..."} 
[2026-08-19 10:03:10] local.INFO: Packet analysis {"connection_id":157473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01848"} 
[2026-08-19 10:03:10] local.INFO: Extracted packet for processing {"connection_id":157473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01848"} 
[2026-08-19 10:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758362368,"raw_latitude":111812960,"longitude_deg":75.8362368,"latitude_deg":11.181296,"altitude":13,"angle":135,"satellites":36,"speed":0,"hex_longitude":"2d33b100","hex_latitude":"06aa2160","is_valid_coordinates":true} 
[2026-08-19 10:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501130496001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385394609540300800,"note":"Value kept but may cause issues"} 
[2026-08-19 10:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724547289203763200,"note":"Value kept but may cause issues"} 
[2026-08-19 10:03:10] 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-08-19 10:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787113812000,"timestamp_ms":1787113812000,"timestamp_seconds":1787113812,"priority":1,"record_length":96,"hex_timestamp":"000001a01848b020"} 
[2026-08-19 10:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:03: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-08-19 10:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 10:03:10] 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-08-19 10:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501130496001,"66":27767,"75":206,"81":23296,"24":0,"16":385394609540300800,"45":3724547289203763200},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-19 10:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501130496001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:03:10] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-19 10:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385394609540300800,"km_value":385394609540300.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724547289203763200,"description":"Unknown IO ID 45"} 
[2026-08-19 10:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501130496001,"power":27767,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3724547289203763200}} 
[2026-08-19 10:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":157473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":663999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:03:10] local.INFO: GPS data processed {"connection_id":157473,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:03:10] local.INFO: Acknowledgment sent {"connection_id":157473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:03:20] local.INFO: TCP Data received {"connection_id":157842,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:03:20] local.INFO: Processing buffer {"connection_id":157842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:03:20] local.INFO: IMEI packet received {"connection_id":157842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 10:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":157842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:03:25] local.INFO: TCP Data received {"connection_id":157842,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:03:25] local.INFO: Processing buffer {"connection_id":157842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:03:25] local.INFO: IMEI packet received {"connection_id":157842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 10:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":157842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:03:26] local.INFO: TCP Data received {"connection_id":157842,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:03:26] local.INFO: Processing buffer {"connection_id":157842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:03:26] local.INFO: Packet analysis {"connection_id":157842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:03:26] local.INFO: Extracted packet for processing {"connection_id":157842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:03:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501043200001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:03:26] 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-08-19 10:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787113751000,"timestamp_ms":1787113751000,"timestamp_seconds":1787113751,"priority":1,"record_length":96,"hex_timestamp":"000001a01847c1d8"} 
[2026-08-19 10:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 10:03:26] 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-08-19 10:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:03:26] 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-08-19 10:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501043200001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501043200001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:03:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:03:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501043200001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":157842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:03:26] local.INFO: GPS data processed {"connection_id":157842,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:03:26] local.INFO: Acknowledgment sent {"connection_id":157842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:03:41] local.INFO: TCP Data received {"connection_id":157473,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a018490228012d33b10006aa2160000d008722..."} 
[2026-08-19 10:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018490228012d33b10006aa2160000d008722..."} 
[2026-08-19 10:03:41] local.INFO: Processing buffer {"connection_id":157473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018490228012d33b10006aa2160000d008722..."} 
[2026-08-19 10:03:41] local.INFO: Packet analysis {"connection_id":157473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01849"} 
[2026-08-19 10:03:41] local.INFO: Extracted packet for processing {"connection_id":157473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01849"} 
[2026-08-19 10:03:41] local.INFO: GPS Element Parsed {"raw_longitude":758362368,"raw_latitude":111812960,"longitude_deg":75.8362368,"latitude_deg":11.181296,"altitude":13,"angle":135,"satellites":34,"speed":0,"hex_longitude":"2d33b100","hex_latitude":"06aa2160","is_valid_coordinates":true} 
[2026-08-19 10:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501135872001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385394609540300800,"note":"Value kept but may cause issues"} 
[2026-08-19 10:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724758395436228608,"note":"Value kept but may cause issues"} 
[2026-08-19 10:03:41] 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-08-19 10:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787113833000,"timestamp_ms":1787113833000,"timestamp_seconds":1787113833,"priority":1,"record_length":96,"hex_timestamp":"000001a018490228"} 
[2026-08-19 10:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:03: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-08-19 10:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 10:03:41] 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-08-19 10:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501135872001,"66":27745,"75":206,"81":23296,"24":0,"16":385394609540300800,"45":3724758395436228608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-19 10:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501135872001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:03:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-19 10:03:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385394609540300800,"km_value":385394609540300.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724758395436228608,"description":"Unknown IO ID 45"} 
[2026-08-19 10:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501135872001,"power":27745,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3724758395436228608}} 
[2026-08-19 10:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":157473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:03:41] local.INFO: GPS data processed {"connection_id":157473,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:03:41] local.INFO: Acknowledgment sent {"connection_id":157473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:03:58] local.INFO: TCP Data received {"connection_id":157842,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:03:58] local.INFO: Processing buffer {"connection_id":157842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01847c1d8012d7d370005ec09e8000000b320..."} 
[2026-08-19 10:03:58] local.INFO: Packet analysis {"connection_id":157842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:03:58] local.INFO: Extracted packet for processing {"connection_id":157842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01847"} 
[2026-08-19 10:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501043200001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:03:58] 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-08-19 10:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787113751000,"timestamp_ms":1787113751000,"timestamp_seconds":1787113751,"priority":1,"record_length":96,"hex_timestamp":"000001a01847c1d8"} 
[2026-08-19 10:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 10:03:58] 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-08-19 10: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-08-19 10:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:03:58] 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-08-19 10:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501043200001,"66":2242,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501043200001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:03:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:03:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501043200001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":157842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:03:58] local.INFO: GPS data processed {"connection_id":157842,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:03:58] local.INFO: Acknowledgment sent {"connection_id":157842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:04:00] local.INFO: TCP Data received {"connection_id":157843,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:04:00] local.INFO: Processing buffer {"connection_id":157843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:04:00] local.INFO: IMEI packet received {"connection_id":157843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":157843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:04:05] local.INFO: TCP Data received {"connection_id":157843,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:04:05] local.INFO: Processing buffer {"connection_id":157843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:04:05] local.INFO: IMEI packet received {"connection_id":157843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":157843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:04:05] local.INFO: TCP Data received {"connection_id":157843,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a018495818012d33b38006aa1e400012008725..."} 
[2026-08-19 10:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018495818012d33b38006aa1e400012008725..."} 
[2026-08-19 10:04:05] local.INFO: Processing buffer {"connection_id":157843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018495818012d33b38006aa1e400012008725..."} 
[2026-08-19 10:04:05] local.INFO: Packet analysis {"connection_id":157843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01849"} 
[2026-08-19 10:04:05] local.INFO: Extracted packet for processing {"connection_id":157843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01849"} 
[2026-08-19 10:04:05] local.INFO: GPS Element Parsed {"raw_longitude":758363008,"raw_latitude":111812160,"longitude_deg":75.8363008,"latitude_deg":11.181216,"altitude":18,"angle":135,"satellites":37,"speed":0,"hex_longitude":"2d33b380","hex_latitude":"06aa1e40","is_valid_coordinates":true} 
[2026-08-19 10:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501141248001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385394665374875648,"note":"Value kept but may cause issues"} 
[2026-08-19 10:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724758395436228608,"note":"Value kept but may cause issues"} 
[2026-08-19 10:04:05] 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-08-19 10:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787113855000,"timestamp_ms":1787113855000,"timestamp_seconds":1787113855,"priority":1,"record_length":96,"hex_timestamp":"000001a018495818"} 
[2026-08-19 10:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 10:04:05] 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-08-19 10:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501141248001,"66":27995,"75":206,"81":23296,"24":0,"16":385394665374875648,"45":3724758395436228608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-19 10:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501141248001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:04:05] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-19 10:04:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385394665374875648,"km_value":385394665374875.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724758395436228608,"description":"Unknown IO ID 45"} 
[2026-08-19 10:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501141248001,"power":27995,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3724758395436228608}} 
[2026-08-19 10:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":157843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:04:05] local.INFO: GPS data processed {"connection_id":157843,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:04:05] local.INFO: Acknowledgment sent {"connection_id":157843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:04:20] local.INFO: TCP Data received {"connection_id":157475,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:04:20] local.INFO: Processing buffer {"connection_id":157475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:04:20] local.INFO: IMEI packet received {"connection_id":157475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 10:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":157475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:04:25] local.INFO: TCP Data received {"connection_id":157475,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:04:25] local.INFO: Processing buffer {"connection_id":157475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:04:25] local.INFO: IMEI packet received {"connection_id":157475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 10:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":157475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:04:26] local.INFO: TCP Data received {"connection_id":157475,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:04:26] local.INFO: Processing buffer {"connection_id":157475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:04:26] local.INFO: Packet analysis {"connection_id":157475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:04:26] local.INFO: Extracted packet for processing {"connection_id":157475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:04:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501120256001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:04:26] 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-08-19 10:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787114052000,"timestamp_ms":1787114052000,"timestamp_seconds":1787114052,"priority":1,"record_length":96,"hex_timestamp":"000001a0184c59a0"} 
[2026-08-19 10:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:04:26] 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-08-19 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 10:04:26] 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-08-19 10: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-08-19 10:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:04:26] 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-08-19 10:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501120256001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501120256001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:04:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:04:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501120256001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":157475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:04:26] local.INFO: GPS data processed {"connection_id":157475,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:04:26] local.INFO: Acknowledgment sent {"connection_id":157475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:04:36] local.INFO: TCP Data received {"connection_id":157843,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01849aa20012d33b38006aa1e400012008724..."} 
[2026-08-19 10:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01849aa20012d33b38006aa1e400012008724..."} 
[2026-08-19 10:04:36] local.INFO: Processing buffer {"connection_id":157843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01849aa20012d33b38006aa1e400012008724..."} 
[2026-08-19 10:04:36] local.INFO: Packet analysis {"connection_id":157843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01849"} 
[2026-08-19 10:04:36] local.INFO: Extracted packet for processing {"connection_id":157843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01849"} 
[2026-08-19 10:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758363008,"raw_latitude":111812160,"longitude_deg":75.8363008,"latitude_deg":11.181216,"altitude":18,"angle":135,"satellites":36,"speed":0,"hex_longitude":"2d33b380","hex_latitude":"06aa1e40","is_valid_coordinates":true} 
[2026-08-19 10:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501146880001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385394665374875648,"note":"Value kept but may cause issues"} 
[2026-08-19 10:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725462082877800448,"note":"Value kept but may cause issues"} 
[2026-08-19 10:04:36] 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-08-19 10:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787113876000,"timestamp_ms":1787113876000,"timestamp_seconds":1787113876,"priority":1,"record_length":96,"hex_timestamp":"000001a01849aa20"} 
[2026-08-19 10:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 10:04:36] 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-08-19 10:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:04:36] 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-08-19 10:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501146880001,"66":27919,"75":206,"81":23296,"24":0,"16":385394665374875648,"45":3725462082877800448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-19 10:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501146880001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:04:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-19 10:04:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385394665374875648,"km_value":385394665374875.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725462082877800448,"description":"Unknown IO ID 45"} 
[2026-08-19 10:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501146880001,"power":27919,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3725462082877800448}} 
[2026-08-19 10:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":157843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:04:37] local.INFO: GPS data processed {"connection_id":157843,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:04:37] local.INFO: Acknowledgment sent {"connection_id":157843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:04:58] local.INFO: TCP Data received {"connection_id":157475,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:04:58] local.INFO: Processing buffer {"connection_id":157475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:04:58] local.INFO: Packet analysis {"connection_id":157475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:04:58] local.INFO: Extracted packet for processing {"connection_id":157475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:04:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501120256001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:04:58] 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-08-19 10:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787114052000,"timestamp_ms":1787114052000,"timestamp_seconds":1787114052,"priority":1,"record_length":96,"hex_timestamp":"000001a0184c59a0"} 
[2026-08-19 10:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 10:04:58] 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-08-19 10: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-08-19 10:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:04:58] 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-08-19 10:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501120256001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501120256001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:04:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:04:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501120256001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":157475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:04:58] local.INFO: GPS data processed {"connection_id":157475,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:04:58] local.INFO: Acknowledgment sent {"connection_id":157475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:05:00] local.INFO: TCP Data received {"connection_id":157845,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:05:00] local.INFO: Processing buffer {"connection_id":157845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:05:00] local.INFO: IMEI packet received {"connection_id":157845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":157845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:05:05] local.INFO: TCP Data received {"connection_id":157845,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:05:05] local.INFO: Processing buffer {"connection_id":157845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:05:05] local.INFO: IMEI packet received {"connection_id":157845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":157845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:05:06] local.INFO: TCP Data received {"connection_id":157845,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01849fc28012d33b38006aa1e400012008723..."} 
[2026-08-19 10:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01849fc28012d33b38006aa1e400012008723..."} 
[2026-08-19 10:05:06] local.INFO: Processing buffer {"connection_id":157845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01849fc28012d33b38006aa1e400012008723..."} 
[2026-08-19 10:05:06] local.INFO: Packet analysis {"connection_id":157845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01849"} 
[2026-08-19 10:05:06] local.INFO: Extracted packet for processing {"connection_id":157845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01849"} 
[2026-08-19 10:05:06] local.INFO: GPS Element Parsed {"raw_longitude":758363008,"raw_latitude":111812160,"longitude_deg":75.8363008,"latitude_deg":11.181216,"altitude":18,"angle":135,"satellites":35,"speed":0,"hex_longitude":"2d33b380","hex_latitude":"06aa1e40","is_valid_coordinates":true} 
[2026-08-19 10:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501152256001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385394665374875648,"note":"Value kept but may cause issues"} 
[2026-08-19 10:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725462082877800448,"note":"Value kept but may cause issues"} 
[2026-08-19 10:05:06] 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-08-19 10:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787113897000,"timestamp_ms":1787113897000,"timestamp_seconds":1787113897,"priority":1,"record_length":96,"hex_timestamp":"000001a01849fc28"} 
[2026-08-19 10:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:05: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-08-19 10:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 10:05:06] 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-08-19 10:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:05:06] 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-08-19 10:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501152256001,"66":27745,"75":206,"81":23296,"24":0,"16":385394665374875648,"45":3725462082877800448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-19 10:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501152256001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:05:06] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-19 10:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385394665374875648,"km_value":385394665374875.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725462082877800448,"description":"Unknown IO ID 45"} 
[2026-08-19 10:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501152256001,"power":27745,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3725462082877800448}} 
[2026-08-19 10:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":157845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:05:06] local.INFO: GPS data processed {"connection_id":157845,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:05:06] local.INFO: Acknowledgment sent {"connection_id":157845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:05:20] local.INFO: TCP Data received {"connection_id":158727,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:05:20] local.INFO: Processing buffer {"connection_id":158727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:05:20] local.INFO: IMEI packet received {"connection_id":158727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 10:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":158727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:05:25] local.INFO: TCP Data received {"connection_id":158727,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:05:25] local.INFO: Processing buffer {"connection_id":158727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:05:25] local.INFO: IMEI packet received {"connection_id":158727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 10:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":158727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:05:26] local.INFO: TCP Data received {"connection_id":158727,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:05:26] local.INFO: Processing buffer {"connection_id":158727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:05:26] local.INFO: Packet analysis {"connection_id":158727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:05:26] local.INFO: Extracted packet for processing {"connection_id":158727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:05:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501120256001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:05:26] 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-08-19 10:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787114052000,"timestamp_ms":1787114052000,"timestamp_seconds":1787114052,"priority":1,"record_length":96,"hex_timestamp":"000001a0184c59a0"} 
[2026-08-19 10:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:05:26] 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-08-19 10:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 10:05:26] 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-08-19 10:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:05:26] 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-08-19 10:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501120256001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501120256001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:05:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:05:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501120256001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":158727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:05:26] local.INFO: GPS data processed {"connection_id":158727,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:05:26] local.INFO: Acknowledgment sent {"connection_id":158727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:05:36] local.INFO: TCP Data received {"connection_id":157845,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01849fc28012d33b38006aa1e400012008723..."} 
[2026-08-19 10:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01849fc28012d33b38006aa1e400012008723..."} 
[2026-08-19 10:05:36] local.INFO: Processing buffer {"connection_id":157845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01849fc28012d33b38006aa1e400012008723..."} 
[2026-08-19 10:05:36] local.INFO: Packet analysis {"connection_id":157845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01849"} 
[2026-08-19 10:05:36] local.INFO: Extracted packet for processing {"connection_id":157845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01849"} 
[2026-08-19 10:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758363008,"raw_latitude":111812160,"longitude_deg":75.8363008,"latitude_deg":11.181216,"altitude":18,"angle":135,"satellites":35,"speed":0,"hex_longitude":"2d33b380","hex_latitude":"06aa1e40","is_valid_coordinates":true} 
[2026-08-19 10:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501157632001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385394665374875648,"note":"Value kept but may cause issues"} 
[2026-08-19 10:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725462082877800448,"note":"Value kept but may cause issues"} 
[2026-08-19 10:05:36] 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-08-19 10:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787113897000,"timestamp_ms":1787113897000,"timestamp_seconds":1787113897,"priority":1,"record_length":96,"hex_timestamp":"000001a01849fc28"} 
[2026-08-19 10:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 10:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:05:36] 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-08-19 10:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501157632001,"66":27745,"75":206,"81":23296,"24":0,"16":385394665374875648,"45":3725462082877800448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-19 10:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501157632001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:05:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-19 10:05:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385394665374875648,"km_value":385394665374875.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725462082877800448,"description":"Unknown IO ID 45"} 
[2026-08-19 10:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501157632001,"power":27745,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3725462082877800448}} 
[2026-08-19 10:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":157845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:05:36] local.INFO: GPS data processed {"connection_id":157845,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:05:36] local.INFO: Acknowledgment sent {"connection_id":157845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:05:37] local.INFO: TCP Data received {"connection_id":157844,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157844,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:05:37] local.INFO: Processing buffer {"connection_id":157844,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:05:37] local.INFO: IMEI packet received {"connection_id":157844,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 10:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":157844,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:05:38] local.INFO: TCP Data received {"connection_id":157844,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0184c6940012d0b14000702a0c0001a00201b..."} 
[2026-08-19 10:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184c6940012d0b14000702a0c0001a00201b..."} 
[2026-08-19 10:05:38] local.INFO: Processing buffer {"connection_id":157844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184c6940012d0b14000702a0c0001a00201b..."} 
[2026-08-19 10:05:38] local.INFO: Packet analysis {"connection_id":157844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:05:38] local.INFO: Extracted packet for processing {"connection_id":157844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:05:38] local.INFO: GPS Element Parsed {"raw_longitude":755700736,"raw_latitude":117612736,"longitude_deg":75.5700736,"latitude_deg":11.7612736,"altitude":26,"angle":32,"satellites":27,"speed":0,"hex_longitude":"2d0b1400","hex_latitude":"0702a0c0","is_valid_coordinates":true} 
[2026-08-19 10:05: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-08-19 10:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501198336001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28817388015190016,"note":"Value kept but may cause issues"} 
[2026-08-19 10:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798263064060280832,"note":"Value kept but may cause issues"} 
[2026-08-19 10:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787114056000,"timestamp_ms":1787114056000,"timestamp_seconds":1787114056,"priority":1,"record_length":96,"hex_timestamp":"000001a0184c6940"} 
[2026-08-19 10:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:05: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-08-19 10: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-19 10:05:38] 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-08-19 10: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-08-19 10:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157844,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 10:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157844,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 10:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 10:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 10:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501198336001,"66":12928,"17":206,"94":11008,"24":0,"16":28817388015190016,"45":798263064060280832},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 10:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 10:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 10:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501198336001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:05:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 10:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28817388015190016,"km_value":28817388015190.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":798263064060280832,"description":"Unknown IO ID 45"} 
[2026-08-19 10:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501198336001,"power":12928,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798263064060280832}} 
[2026-08-19 10:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":157844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664010,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:05:38] local.INFO: GPS data processed {"connection_id":157844,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:05:38] local.INFO: Acknowledgment sent {"connection_id":157844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:05:56] local.INFO: TCP Data received {"connection_id":160028,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160028,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:05:56] local.INFO: Processing buffer {"connection_id":160028,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:05:56] local.INFO: IMEI packet received {"connection_id":160028,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 10:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":160028,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:05:57] local.INFO: TCP Data received {"connection_id":158727,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:05:57] local.INFO: Processing buffer {"connection_id":158727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:05:57] local.INFO: Packet analysis {"connection_id":158727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:05:57] local.INFO: Extracted packet for processing {"connection_id":158727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:05:57] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501120256001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:05:57] 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-08-19 10:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787114052000,"timestamp_ms":1787114052000,"timestamp_seconds":1787114052,"priority":1,"record_length":96,"hex_timestamp":"000001a0184c59a0"} 
[2026-08-19 10:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:05:57] 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-08-19 10:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 10:05:57] 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-08-19 10:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":158727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":158727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":158727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:05:57] 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-08-19 10:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501120256001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501120256001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:05:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:05:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501120256001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":158727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:05:57] local.INFO: GPS data processed {"connection_id":158727,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:05:57] local.INFO: Acknowledgment sent {"connection_id":158727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:05:59] local.INFO: TCP Data received {"connection_id":157846,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:05:59] local.INFO: Processing buffer {"connection_id":157846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:05:59] local.INFO: IMEI packet received {"connection_id":157846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":157846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:06:01] local.INFO: TCP Data received {"connection_id":160028,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160028,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:06:01] local.INFO: Processing buffer {"connection_id":160028,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 10:06:01] local.INFO: IMEI packet received {"connection_id":160028,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 10:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":160028,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:06:03] local.INFO: TCP Data received {"connection_id":160028,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0184c6d28012d0b14000702a0c0001a00201c..."} 
[2026-08-19 10:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184c6d28012d0b14000702a0c0001a00201c..."} 
[2026-08-19 10:06:03] local.INFO: Processing buffer {"connection_id":160028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184c6d28012d0b14000702a0c0001a00201c..."} 
[2026-08-19 10:06:03] local.INFO: Packet analysis {"connection_id":160028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:06:03] local.INFO: Extracted packet for processing {"connection_id":160028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:06:03] local.INFO: GPS Element Parsed {"raw_longitude":755700736,"raw_latitude":117612736,"longitude_deg":75.5700736,"latitude_deg":11.7612736,"altitude":26,"angle":32,"satellites":28,"speed":0,"hex_longitude":"2d0b1400","hex_latitude":"0702a0c0","is_valid_coordinates":true} 
[2026-08-19 10:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501198336001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28817388015190016,"note":"Value kept but may cause issues"} 
[2026-08-19 10:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798263064060280832,"note":"Value kept but may cause issues"} 
[2026-08-19 10:06: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-08-19 10:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787114057000,"timestamp_ms":1787114057000,"timestamp_seconds":1787114057,"priority":1,"record_length":96,"hex_timestamp":"000001a0184c6d28"} 
[2026-08-19 10:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-19 10:06:03] 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-08-19 10:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160028,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 10:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160028,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 10:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 10:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 10:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501198336001,"66":12928,"17":206,"94":11008,"24":0,"16":28817388015190016,"45":798263064060280832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 10:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 10:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 10:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501198336001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:06:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 10:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28817388015190016,"km_value":28817388015190.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":798263064060280832,"description":"Unknown IO ID 45"} 
[2026-08-19 10:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501198336001,"power":12928,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798263064060280832}} 
[2026-08-19 10:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":160028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664012,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:06:03] local.INFO: GPS data processed {"connection_id":160028,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:06:03] local.INFO: Acknowledgment sent {"connection_id":160028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:06:05] local.INFO: TCP Data received {"connection_id":157846,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:06:05] local.INFO: Processing buffer {"connection_id":157846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:06:05] local.INFO: IMEI packet received {"connection_id":157846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":157846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:06:06] local.INFO: TCP Data received {"connection_id":157846,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0184cf5e0012d33b0c006aa1b900007008721..."} 
[2026-08-19 10:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184cf5e0012d33b0c006aa1b900007008721..."} 
[2026-08-19 10:06:06] local.INFO: Processing buffer {"connection_id":157846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184cf5e0012d33b0c006aa1b900007008721..."} 
[2026-08-19 10:06:06] local.INFO: Packet analysis {"connection_id":157846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:06:06] local.INFO: Extracted packet for processing {"connection_id":157846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:06:06] local.INFO: GPS Element Parsed {"raw_longitude":758362304,"raw_latitude":111811472,"longitude_deg":75.8362304,"latitude_deg":11.1811472,"altitude":7,"angle":135,"satellites":33,"speed":0,"hex_longitude":"2d33b0c0","hex_latitude":"06aa1b90","is_valid_coordinates":true} 
[2026-08-19 10:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501157632001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385394665374875648,"note":"Value kept but may cause issues"} 
[2026-08-19 10:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725462082877800448,"note":"Value kept but may cause issues"} 
[2026-08-19 10:06:06] 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-08-19 10:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787114092000,"timestamp_ms":1787114092000,"timestamp_seconds":1787114092,"priority":1,"record_length":96,"hex_timestamp":"000001a0184cf5e0"} 
[2026-08-19 10:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 10:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:06:06] 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-08-19 10:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501157632001,"66":26778,"76":206,"81":23296,"24":0,"16":385394665374875648,"45":3725462082877800448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-08-19 10:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501157632001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:06:06] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-19 10:06:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385394665374875648,"km_value":385394665374875.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725462082877800448,"description":"Unknown IO ID 45"} 
[2026-08-19 10:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501157632001,"power":26778,"unknown_76":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3725462082877800448}} 
[2026-08-19 10:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":157846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:06:06] local.INFO: GPS data processed {"connection_id":157846,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:06:06] local.INFO: Acknowledgment sent {"connection_id":157846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:06:25] local.INFO: TCP Data received {"connection_id":157476,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:06:25] local.INFO: Processing buffer {"connection_id":157476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:06:25] local.INFO: IMEI packet received {"connection_id":157476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 10:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":157476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:06:30] local.INFO: TCP Data received {"connection_id":157476,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:06:30] local.INFO: Processing buffer {"connection_id":157476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:06:30] local.INFO: IMEI packet received {"connection_id":157476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 10:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":157476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:06:31] local.INFO: TCP Data received {"connection_id":157476,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:06:31] local.INFO: Processing buffer {"connection_id":157476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:06:31] local.INFO: Packet analysis {"connection_id":157476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:06:31] local.INFO: Extracted packet for processing {"connection_id":157476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:06:31] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501120256001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:06: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-08-19 10:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787114052000,"timestamp_ms":1787114052000,"timestamp_seconds":1787114052,"priority":1,"record_length":96,"hex_timestamp":"000001a0184c59a0"} 
[2026-08-19 10:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:06:31] 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-08-19 10:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 10:06: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-08-19 10:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":157476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":157476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":157476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:06:31] 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-08-19 10:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501120256001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501120256001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:06:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:06:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501120256001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":157476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:06:31] local.INFO: GPS data processed {"connection_id":157476,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:06:31] local.INFO: Acknowledgment sent {"connection_id":157476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:06:34] local.INFO: TCP Data received {"connection_id":160028,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0184c6d28012d0b14000702a0c0001a00201c..."} 
[2026-08-19 10:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184c6d28012d0b14000702a0c0001a00201c..."} 
[2026-08-19 10:06:34] local.INFO: Processing buffer {"connection_id":160028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184c6d28012d0b14000702a0c0001a00201c..."} 
[2026-08-19 10:06:34] local.INFO: Packet analysis {"connection_id":160028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:06:34] local.INFO: Extracted packet for processing {"connection_id":160028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:06:34] local.INFO: GPS Element Parsed {"raw_longitude":755700736,"raw_latitude":117612736,"longitude_deg":75.5700736,"latitude_deg":11.7612736,"altitude":26,"angle":32,"satellites":28,"speed":0,"hex_longitude":"2d0b1400","hex_latitude":"0702a0c0","is_valid_coordinates":true} 
[2026-08-19 10:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501198592001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28817388015190016,"note":"Value kept but may cause issues"} 
[2026-08-19 10:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798263064060280832,"note":"Value kept but may cause issues"} 
[2026-08-19 10:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787114057000,"timestamp_ms":1787114057000,"timestamp_seconds":1787114057,"priority":1,"record_length":96,"hex_timestamp":"000001a0184c6d28"} 
[2026-08-19 10:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-19 10:06:34] 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-08-19 10:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160028,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 10:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160028,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 10:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 10:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 10:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501198592001,"66":12928,"17":206,"94":11008,"24":0,"16":28817388015190016,"45":798263064060280832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 10:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 10:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 10:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501198592001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:06:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 10:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28817388015190016,"km_value":28817388015190.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":798263064060280832,"description":"Unknown IO ID 45"} 
[2026-08-19 10:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501198592001,"power":12928,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798263064060280832}} 
[2026-08-19 10:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":160028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664015,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:06:34] local.INFO: GPS data processed {"connection_id":160028,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:06:34] local.INFO: Acknowledgment sent {"connection_id":160028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:06:36] local.INFO: TCP Data received {"connection_id":157476,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:06:36] local.INFO: Processing buffer {"connection_id":157476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:06:36] local.INFO: Packet analysis {"connection_id":157476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:06:36] local.INFO: Extracted packet for processing {"connection_id":157476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501120256001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:06:36] 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-08-19 10:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787114052000,"timestamp_ms":1787114052000,"timestamp_seconds":1787114052,"priority":1,"record_length":96,"hex_timestamp":"000001a0184c59a0"} 
[2026-08-19 10:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:06:36] 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-08-19 10:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 10:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:06:36] 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-08-19 10:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501120256001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501120256001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:06:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:06:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501120256001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":157476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:06:36] local.INFO: GPS data processed {"connection_id":157476,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:06:36] local.INFO: Acknowledgment sent {"connection_id":157476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:06:37] local.INFO: TCP Data received {"connection_id":157846,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0184d0d50012d33abc006aa1c180007012b21..."} 
[2026-08-19 10:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184d0d50012d33abc006aa1c180007012b21..."} 
[2026-08-19 10:06:37] local.INFO: Processing buffer {"connection_id":157846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184d0d50012d33abc006aa1c180007012b21..."} 
[2026-08-19 10:06:37] local.INFO: Packet analysis {"connection_id":157846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184d"} 
[2026-08-19 10:06:37] local.INFO: Extracted packet for processing {"connection_id":157846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184d"} 
[2026-08-19 10:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758361024,"raw_latitude":111811608,"longitude_deg":75.8361024,"latitude_deg":11.1811608,"altitude":7,"angle":299,"satellites":33,"speed":0,"hex_longitude":"2d33abc0","hex_latitude":"06aa1c18","is_valid_coordinates":true} 
[2026-08-19 10:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501207552001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385394665374875648,"note":"Value kept but may cause issues"} 
[2026-08-19 10:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724688026691670016,"note":"Value kept but may cause issues"} 
[2026-08-19 10:06:37] 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-08-19 10:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787114098000,"timestamp_ms":1787114098000,"timestamp_seconds":1787114098,"priority":1,"record_length":96,"hex_timestamp":"000001a0184d0d50"} 
[2026-08-19 10:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-19 10:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2104,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:06:37] 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-08-19 10:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501207552001,"66":27658,"76":206,"81":23296,"24":0,"16":385394665374875648,"45":3724688026691670016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,81,24,16,45]} 
[2026-08-19 10:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501207552001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:06:37] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-19 10:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385394665374875648,"km_value":385394665374875.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724688026691670016,"description":"Unknown IO ID 45"} 
[2026-08-19 10:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501207552001,"power":27658,"unknown_76":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3724688026691670016}} 
[2026-08-19 10:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":157846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:06:37] local.INFO: GPS data processed {"connection_id":157846,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:06:37] local.INFO: Acknowledgment sent {"connection_id":157846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:07:09] local.INFO: TCP Data received {"connection_id":157477,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:07:09] local.INFO: Processing buffer {"connection_id":157477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:07:09] local.INFO: IMEI packet received {"connection_id":157477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":157477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:07:17] local.INFO: TCP Data received {"connection_id":157477,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:07:17] local.INFO: Processing buffer {"connection_id":157477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:07:17] local.INFO: IMEI packet received {"connection_id":157477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":157477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:07:19] local.INFO: TCP Data received {"connection_id":157477,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0184e8450012d33ef8006aa72b80010003625..."} 
[2026-08-19 10:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184e8450012d33ef8006aa72b80010003625..."} 
[2026-08-19 10:07:19] local.INFO: Processing buffer {"connection_id":157477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184e8450012d33ef8006aa72b80010003625..."} 
[2026-08-19 10:07:19] local.INFO: Packet analysis {"connection_id":157477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184e"} 
[2026-08-19 10:07:19] local.INFO: Extracted packet for processing {"connection_id":157477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184e"} 
[2026-08-19 10:07:19] local.INFO: GPS Element Parsed {"raw_longitude":758378368,"raw_latitude":111833784,"longitude_deg":75.8378368,"latitude_deg":11.1833784,"altitude":16,"angle":54,"satellites":37,"speed":25,"hex_longitude":"2d33ef80","hex_latitude":"06aa72b8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501231360001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385396142843625472,"note":"Value kept but may cause issues"} 
[2026-08-19 10:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3737635875625097216,"note":"Value kept but may cause issues"} 
[2026-08-19 10:07:19] 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-08-19 10:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787114194000,"timestamp_ms":1787114194000,"timestamp_seconds":1787114194,"priority":1,"record_length":96,"hex_timestamp":"000001a0184e8450"} 
[2026-08-19 10:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10: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-08-19 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 10:07: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-08-19 10: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-08-19 10:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:07: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-08-19 10:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501231360001,"66":27745,"34":206,"81":23296,"24":25,"16":385396142843625472,"45":3737635875625097216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-19 10:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501231360001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:07:19] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-19 10:07:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385396142843625472,"km_value":385396142843625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3737635875625097216,"description":"Unknown IO ID 45"} 
[2026-08-19 10:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501231360001,"power":27745,"unknown_34":206,"unknown_81":23296,"ignition":25,"odometer":null,"unknown_45":3737635875625097216}} 
[2026-08-19 10:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":157477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:07:19] local.INFO: GPS data processed {"connection_id":157477,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:07:19] local.INFO: Acknowledgment sent {"connection_id":157477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:07:20] local.INFO: TCP Data received {"connection_id":157478,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:07:20] local.INFO: Processing buffer {"connection_id":157478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:07:20] local.INFO: IMEI packet received {"connection_id":157478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 10:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":157478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:07:25] local.INFO: TCP Data received {"connection_id":157478,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157478,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:07:25] local.INFO: Processing buffer {"connection_id":157478,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:07:25] local.INFO: IMEI packet received {"connection_id":157478,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 10:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":157478,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:07:26] local.INFO: TCP Data received {"connection_id":157478,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:07:26] local.INFO: Processing buffer {"connection_id":157478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:07:26] local.INFO: Packet analysis {"connection_id":157478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:07:26] local.INFO: Extracted packet for processing {"connection_id":157478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:07:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501120256001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:07:26] 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-08-19 10:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787114052000,"timestamp_ms":1787114052000,"timestamp_seconds":1787114052,"priority":1,"record_length":96,"hex_timestamp":"000001a0184c59a0"} 
[2026-08-19 10:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:07:26] 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-08-19 10:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 10:07:26] 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-08-19 10:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:07:26] 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-08-19 10:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501120256001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501120256001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:07:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:07:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501120256001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":157478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:07:26] local.INFO: GPS data processed {"connection_id":157478,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:07:26] local.INFO: Acknowledgment sent {"connection_id":157478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:07:59] local.INFO: TCP Data received {"connection_id":157478,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:07:59] local.INFO: Processing buffer {"connection_id":157478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:07:59] local.INFO: Packet analysis {"connection_id":157478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:07:59] local.INFO: Extracted packet for processing {"connection_id":157478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501120256001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:07: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-08-19 10:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787114052000,"timestamp_ms":1787114052000,"timestamp_seconds":1787114052,"priority":1,"record_length":96,"hex_timestamp":"000001a0184c59a0"} 
[2026-08-19 10:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 10:07: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-08-19 10:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":157478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":157478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":157478,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:07:59] 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-08-19 10:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501120256001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501120256001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:07:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:07:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501120256001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":157478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:07:59] local.INFO: GPS data processed {"connection_id":157478,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:07:59] local.INFO: Acknowledgment sent {"connection_id":157478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:08:05] local.INFO: TCP Data received {"connection_id":157847,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:08:05] local.INFO: Processing buffer {"connection_id":157847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:08:05] local.INFO: IMEI packet received {"connection_id":157847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":157847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:08:05] local.INFO: TCP Data received {"connection_id":157847,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:08:05] local.INFO: Processing buffer {"connection_id":157847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:08:05] local.INFO: IMEI packet received {"connection_id":157847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":157847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:08:10] local.INFO: TCP Data received {"connection_id":157847,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:08:10] local.INFO: Processing buffer {"connection_id":157847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:08:10] local.INFO: IMEI packet received {"connection_id":157847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":157847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:08:16] local.INFO: TCP Data received {"connection_id":157847,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0184e97d8012d33fb4006aa79a80010004225..."} 
[2026-08-19 10:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184e97d8012d33fb4006aa79a80010004225..."} 
[2026-08-19 10:08:16] local.INFO: Processing buffer {"connection_id":157847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184e97d8012d33fb4006aa79a80010004225..."} 
[2026-08-19 10:08:16] local.INFO: Packet analysis {"connection_id":157847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184e"} 
[2026-08-19 10:08:16] local.INFO: Extracted packet for processing {"connection_id":157847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184e"} 
[2026-08-19 10:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758381376,"raw_latitude":111835560,"longitude_deg":75.8381376,"latitude_deg":11.183556,"altitude":16,"angle":66,"satellites":37,"speed":28,"hex_longitude":"2d33fb40","hex_latitude":"06aa79a8","is_valid_coordinates":true} 
[2026-08-19 10:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501233664001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385396306052382720,"note":"Value kept but may cause issues"} 
[2026-08-19 10:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3742350581485975552,"note":"Value kept but may cause issues"} 
[2026-08-19 10:08:16] 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-08-19 10:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787114199000,"timestamp_ms":1787114199000,"timestamp_seconds":1787114199,"priority":1,"record_length":96,"hex_timestamp":"000001a0184e97d8"} 
[2026-08-19 10:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:08: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-08-19 10:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 10:08:16] 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-08-19 10:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501233664001,"66":27974,"34":206,"81":23296,"24":28,"16":385396306052382720,"45":3742350581485975552},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-19 10:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501233664001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:08:16] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-19 10:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385396306052382720,"km_value":385396306052382.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3742350581485975552,"description":"Unknown IO ID 45"} 
[2026-08-19 10:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501233664001,"power":27974,"unknown_34":206,"unknown_81":23296,"ignition":28,"odometer":null,"unknown_45":3742350581485975552}} 
[2026-08-19 10:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":157847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:08:16] local.INFO: GPS data processed {"connection_id":157847,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:08:16] local.INFO: Acknowledgment sent {"connection_id":157847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:08:17] local.INFO: TCP Data received {"connection_id":157847,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0184ec2d0012d341d8006aa84d8000f004a24..."} 
[2026-08-19 10:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184ec2d0012d341d8006aa84d8000f004a24..."} 
[2026-08-19 10:08:17] local.INFO: Processing buffer {"connection_id":157847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184ec2d0012d341d8006aa84d8000f004a24..."} 
[2026-08-19 10:08:17] local.INFO: Packet analysis {"connection_id":157847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184e"} 
[2026-08-19 10:08:17] local.INFO: Extracted packet for processing {"connection_id":157847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184e"} 
[2026-08-19 10:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758390144,"raw_latitude":111838424,"longitude_deg":75.8390144,"latitude_deg":11.1838424,"altitude":15,"angle":74,"satellites":36,"speed":29,"hex_longitude":"2d341d80","hex_latitude":"06aa84d8","is_valid_coordinates":true} 
[2026-08-19 10:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501234944001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385396748434014208,"note":"Value kept but may cause issues"} 
[2026-08-19 10:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3745657912462780416,"note":"Value kept but may cause issues"} 
[2026-08-19 10:08:17] 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-08-19 10:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787114210000,"timestamp_ms":1787114210000,"timestamp_seconds":1787114210,"priority":1,"record_length":96,"hex_timestamp":"000001a0184ec2d0"} 
[2026-08-19 10:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:08: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-08-19 10:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 10:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501234944001,"66":27865,"34":206,"81":23296,"24":29,"16":385396748434014208,"45":3745657912462780416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-08-19 10:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501234944001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:08:17] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-19 10:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385396748434014208,"km_value":385396748434014.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3745657912462780416,"description":"Unknown IO ID 45"} 
[2026-08-19 10:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501234944001,"power":27865,"unknown_34":206,"unknown_81":23296,"ignition":29,"odometer":null,"unknown_45":3745657912462780416}} 
[2026-08-19 10:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":157847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:08:17] local.INFO: GPS data processed {"connection_id":157847,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:08:17] local.INFO: Acknowledgment sent {"connection_id":157847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:08:20] local.INFO: TCP Data received {"connection_id":157847,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0184ef1b0012d34408006aa8e280010004624..."} 
[2026-08-19 10:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184ef1b0012d34408006aa8e280010004624..."} 
[2026-08-19 10:08:20] local.INFO: Processing buffer {"connection_id":157847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184ef1b0012d34408006aa8e280010004624..."} 
[2026-08-19 10:08:20] local.INFO: Packet analysis {"connection_id":157847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184e"} 
[2026-08-19 10:08:20] local.INFO: Extracted packet for processing {"connection_id":157847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184e"} 
[2026-08-19 10:08:20] local.INFO: GPS Element Parsed {"raw_longitude":758399104,"raw_latitude":111840808,"longitude_deg":75.8399104,"latitude_deg":11.1840808,"altitude":16,"angle":70,"satellites":36,"speed":33,"hex_longitude":"2d344080","hex_latitude":"06aa8e28","is_valid_coordinates":true} 
[2026-08-19 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-08-19 10:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501237760001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385397190815645696,"note":"Value kept but may cause issues"} 
[2026-08-19 10:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3755298430415853568,"note":"Value kept but may cause issues"} 
[2026-08-19 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-08-19 10:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787114222000,"timestamp_ms":1787114222000,"timestamp_seconds":1787114222,"priority":1,"record_length":96,"hex_timestamp":"000001a0184ef1b0"} 
[2026-08-19 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-08-19 10:08: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-08-19 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:08: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-08-19 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-08-19 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-08-19 10:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501237760001,"66":27745,"97":206,"81":23296,"24":33,"16":385397190815645696,"45":3755298430415853568},"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-08-19 10:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501237760001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:08:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 10:08:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385397190815645696,"km_value":385397190815645.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3755298430415853568,"description":"Unknown IO ID 45"} 
[2026-08-19 10:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501237760001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":33,"odometer":null,"unknown_45":3755298430415853568}} 
[2026-08-19 10:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":157847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:08:20] local.INFO: GPS data processed {"connection_id":157847,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:08:20] local.INFO: Acknowledgment sent {"connection_id":157847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:08:20] local.INFO: TCP Data received {"connection_id":157479,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:08:20] local.INFO: Processing buffer {"connection_id":157479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:08:20] local.INFO: IMEI packet received {"connection_id":157479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 10:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":157479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:08:25] local.INFO: TCP Data received {"connection_id":157479,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:08:25] local.INFO: Processing buffer {"connection_id":157479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:08:25] local.INFO: IMEI packet received {"connection_id":157479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 10:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":157479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:08:26] local.INFO: TCP Data received {"connection_id":157479,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:08:26] local.INFO: Processing buffer {"connection_id":157479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:08:26] local.INFO: Packet analysis {"connection_id":157479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:08:26] local.INFO: Extracted packet for processing {"connection_id":157479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:08:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501120256001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:08:26] 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-08-19 10:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787114052000,"timestamp_ms":1787114052000,"timestamp_seconds":1787114052,"priority":1,"record_length":96,"hex_timestamp":"000001a0184c59a0"} 
[2026-08-19 10:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:08:26] 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-08-19 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 10:08:26] 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-08-19 10: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-08-19 10:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:08:26] 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-08-19 10:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501120256001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501120256001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:08:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:08:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501120256001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":157479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:08:26] local.INFO: GPS data processed {"connection_id":157479,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:08:26] local.INFO: Acknowledgment sent {"connection_id":157479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:08:59] local.INFO: TCP Data received {"connection_id":157479,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:08:59] local.INFO: Processing buffer {"connection_id":157479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184c59a0012d7d370005ec09e8000000b319..."} 
[2026-08-19 10:08:59] local.INFO: Packet analysis {"connection_id":157479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:08:59] local.INFO: Extracted packet for processing {"connection_id":157479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184c"} 
[2026-08-19 10:08:59] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":25,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501120256001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:08: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-08-19 10:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787114052000,"timestamp_ms":1787114052000,"timestamp_seconds":1787114052,"priority":1,"record_length":96,"hex_timestamp":"000001a0184c59a0"} 
[2026-08-19 10:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-19 10:08: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-08-19 10:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":157479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":157479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":157479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:08:59] 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-08-19 10:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501120256001,"66":2231,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501120256001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:08:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:08:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501120256001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":157479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:08:59] local.INFO: GPS data processed {"connection_id":157479,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:08:59] local.INFO: Acknowledgment sent {"connection_id":157479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:09:00] local.INFO: TCP Data received {"connection_id":157848,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:09:00] local.INFO: Processing buffer {"connection_id":157848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:09:00] local.INFO: IMEI packet received {"connection_id":157848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":157848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:09:04] local.INFO: TCP Data received {"connection_id":157848,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:09:04] local.INFO: Processing buffer {"connection_id":157848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:09:04] local.INFO: IMEI packet received {"connection_id":157848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":157848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:09:05] local.INFO: TCP Data received {"connection_id":157848,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0184f18c0012d34638006aa98b80012005125..."} 
[2026-08-19 10:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184f18c0012d34638006aa98b80012005125..."} 
[2026-08-19 10:09:05] local.INFO: Processing buffer {"connection_id":157848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184f18c0012d34638006aa98b80012005125..."} 
[2026-08-19 10:09:05] local.INFO: Packet analysis {"connection_id":157848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184f"} 
[2026-08-19 10:09:05] local.INFO: Extracted packet for processing {"connection_id":157848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184f"} 
[2026-08-19 10:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758408064,"raw_latitude":111843512,"longitude_deg":75.8408064,"latitude_deg":11.1843512,"altitude":18,"angle":81,"satellites":37,"speed":37,"hex_longitude":"2d346380","hex_latitude":"06aa98b8","is_valid_coordinates":true} 
[2026-08-19 10:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501240832001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385397637492244480,"note":"Value kept but may cause issues"} 
[2026-08-19 10:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3765150054601336832,"note":"Value kept but may cause issues"} 
[2026-08-19 10:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787114232000,"timestamp_ms":1787114232000,"timestamp_seconds":1787114232,"priority":1,"record_length":96,"hex_timestamp":"000001a0184f18c0"} 
[2026-08-19 10:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:09: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-08-19 10:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 10:09:05] 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-08-19 10:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:09:05] 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-08-19 10:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501240832001,"66":27865,"97":206,"81":23296,"24":37,"16":385397637492244480,"45":3765150054601336832},"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-08-19 10:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501240832001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:09:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 10:09:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385397637492244480,"km_value":385397637492244.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3765150054601336832,"description":"Unknown IO ID 45"} 
[2026-08-19 10:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501240832001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":37,"odometer":null,"unknown_45":3765150054601336832}} 
[2026-08-19 10:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":157848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:09:05] local.INFO: GPS data processed {"connection_id":157848,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:09:05] local.INFO: Acknowledgment sent {"connection_id":157848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:09:20] local.INFO: TCP Data received {"connection_id":157849,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:09:20] local.INFO: Processing buffer {"connection_id":157849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:09:20] local.INFO: IMEI packet received {"connection_id":157849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 10:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":157849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:09:25] local.INFO: TCP Data received {"connection_id":157849,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:09:25] local.INFO: Processing buffer {"connection_id":157849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:09:25] local.INFO: IMEI packet received {"connection_id":157849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 10:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":157849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:09:26] local.INFO: TCP Data received {"connection_id":157849,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:09:26] local.INFO: Processing buffer {"connection_id":157849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:09:26] local.INFO: Packet analysis {"connection_id":157849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:09:26] local.INFO: Extracted packet for processing {"connection_id":157849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:09:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501197312001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:09:26] 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-08-19 10:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787114353000,"timestamp_ms":1787114353000,"timestamp_seconds":1787114353,"priority":1,"record_length":96,"hex_timestamp":"000001a01850f168"} 
[2026-08-19 10:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 10:09:26] 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-08-19 10: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-08-19 10:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:09:26] 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-08-19 10:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501197312001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501197312001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:09:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:09:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501197312001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":157849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:09:26] local.INFO: GPS data processed {"connection_id":157849,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:09:26] local.INFO: Acknowledgment sent {"connection_id":157849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:09:36] local.INFO: TCP Data received {"connection_id":157848,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0184f3030012d347b0006aa99900013005d24..."} 
[2026-08-19 10:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0184f3030012d347b0006aa99900013005d24..."} 
[2026-08-19 10:09:36] local.INFO: Processing buffer {"connection_id":157848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0184f3030012d347b0006aa99900013005d24..."} 
[2026-08-19 10:09:36] local.INFO: Packet analysis {"connection_id":157848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0184f"} 
[2026-08-19 10:09:36] local.INFO: Extracted packet for processing {"connection_id":157848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0184f"} 
[2026-08-19 10:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758414080,"raw_latitude":111843728,"longitude_deg":75.841408,"latitude_deg":11.1843728,"altitude":19,"angle":93,"satellites":36,"speed":43,"hex_longitude":"2d347b00","hex_latitude":"06aa9990","is_valid_coordinates":true} 
[2026-08-19 10:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501243392001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385397925255053312,"note":"Value kept but may cause issues"} 
[2026-08-19 10:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3775001678786902016,"note":"Value kept but may cause issues"} 
[2026-08-19 10:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787114238000,"timestamp_ms":1787114238000,"timestamp_seconds":1787114238,"priority":1,"record_length":96,"hex_timestamp":"000001a0184f3030"} 
[2026-08-19 10:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:09: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-08-19 10:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:09:36] 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-08-19 10:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:09:36] 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-08-19 10:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501243392001,"66":27876,"97":206,"81":23296,"24":43,"16":385397925255053312,"45":3775001678786902016},"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-08-19 10:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501243392001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:09:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 10:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385397925255053312,"km_value":385397925255053.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3775001678786902016,"description":"Unknown IO ID 45"} 
[2026-08-19 10:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501243392001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":43,"odometer":null,"unknown_45":3775001678786902016}} 
[2026-08-19 10:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":157848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:09:36] local.INFO: GPS data processed {"connection_id":157848,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:09:36] local.INFO: Acknowledgment sent {"connection_id":157848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:09:58] local.INFO: TCP Data received {"connection_id":157849,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:09:58] local.INFO: Processing buffer {"connection_id":157849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:09:58] local.INFO: Packet analysis {"connection_id":157849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:09:58] local.INFO: Extracted packet for processing {"connection_id":157849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501197312001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:09:58] 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-08-19 10:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787114353000,"timestamp_ms":1787114353000,"timestamp_seconds":1787114353,"priority":1,"record_length":96,"hex_timestamp":"000001a01850f168"} 
[2026-08-19 10:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 10:09:58] 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-08-19 10:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:09:58] 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-08-19 10:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501197312001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501197312001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:09:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:09:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501197312001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":157849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:09:58] local.INFO: GPS data processed {"connection_id":157849,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:09:58] local.INFO: Acknowledgment sent {"connection_id":157849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:10:00] local.INFO: TCP Data received {"connection_id":158728,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:10:00] local.INFO: Processing buffer {"connection_id":158728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:10:00] local.INFO: IMEI packet received {"connection_id":158728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":158728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:10:00] local.INFO: TCP Data received {"connection_id":158728,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:10:00] local.INFO: Processing buffer {"connection_id":158728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:10:00] local.INFO: IMEI packet received {"connection_id":158728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":158728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:10:05] local.INFO: TCP Data received {"connection_id":158728,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:10:05] local.INFO: Processing buffer {"connection_id":158728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:10:05] local.INFO: IMEI packet received {"connection_id":158728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":158728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:10:05] local.INFO: TCP Data received {"connection_id":158728,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0185110a8012d35e30006aa0e40000a007127..."} 
[2026-08-19 10:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185110a8012d35e30006aa0e40000a007127..."} 
[2026-08-19 10:10:05] local.INFO: Processing buffer {"connection_id":158728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185110a8012d35e30006aa0e40000a007127..."} 
[2026-08-19 10:10:05] local.INFO: Packet analysis {"connection_id":158728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01851"} 
[2026-08-19 10:10:05] local.INFO: Extracted packet for processing {"connection_id":158728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01851"} 
[2026-08-19 10:10:05] local.INFO: GPS Element Parsed {"raw_longitude":758506240,"raw_latitude":111808064,"longitude_deg":75.850624,"latitude_deg":11.1808064,"altitude":10,"angle":113,"satellites":39,"speed":36,"hex_longitude":"2d35e300","hex_latitude":"06aa0e40","is_valid_coordinates":true} 
[2026-08-19 10:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501273856001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385402645424111616,"note":"Value kept but may cause issues"} 
[2026-08-19 10:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3873658658115801088,"note":"Value kept but may cause issues"} 
[2026-08-19 10:10: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-08-19 10:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787114361000,"timestamp_ms":1787114361000,"timestamp_seconds":1787114361,"priority":1,"record_length":96,"hex_timestamp":"000001a0185110a8"} 
[2026-08-19 10:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:10: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-08-19 10:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 10:10:05] 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-08-19 10:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:10:05] 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-08-19 10:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501273856001,"66":27974,"142":206,"81":23296,"24":36,"16":385402645424111616,"45":3873658658115801088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-08-19 10:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501273856001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:10:05] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-19 10:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385402645424111616,"km_value":385402645424111.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3873658658115801088,"description":"Unknown IO ID 45"} 
[2026-08-19 10:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501273856001,"power":27974,"unknown_142":206,"unknown_81":23296,"ignition":36,"odometer":null,"unknown_45":3873658658115801088}} 
[2026-08-19 10:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":158728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:10:05] local.INFO: GPS data processed {"connection_id":158728,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:10:05] local.INFO: Acknowledgment sent {"connection_id":158728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:10:20] local.INFO: TCP Data received {"connection_id":157480,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:10:20] local.INFO: Processing buffer {"connection_id":157480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:10:20] local.INFO: IMEI packet received {"connection_id":157480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 10:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":157480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:10:25] local.INFO: TCP Data received {"connection_id":157480,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:10:25] local.INFO: Processing buffer {"connection_id":157480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:10:25] local.INFO: IMEI packet received {"connection_id":157480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 10:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":157480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:10:26] local.INFO: TCP Data received {"connection_id":157480,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:10:26] local.INFO: Processing buffer {"connection_id":157480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:10:26] local.INFO: Packet analysis {"connection_id":157480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:10:26] local.INFO: Extracted packet for processing {"connection_id":157480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:10:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501197312001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:10:26] 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-08-19 10:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787114353000,"timestamp_ms":1787114353000,"timestamp_seconds":1787114353,"priority":1,"record_length":96,"hex_timestamp":"000001a01850f168"} 
[2026-08-19 10:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 10:10:26] 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-08-19 10:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:10:26] 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-08-19 10:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501197312001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501197312001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:10:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:10:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501197312001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":157480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:10:26] local.INFO: GPS data processed {"connection_id":157480,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:10:26] local.INFO: Acknowledgment sent {"connection_id":157480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:10:41] local.INFO: TCP Data received {"connection_id":158728,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0185137b8012d36070006a9ff28000c007127..."} 
[2026-08-19 10:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185137b8012d36070006a9ff28000c007127..."} 
[2026-08-19 10:10:41] local.INFO: Processing buffer {"connection_id":158728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185137b8012d36070006a9ff28000c007127..."} 
[2026-08-19 10:10:41] local.INFO: Packet analysis {"connection_id":158728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01851"} 
[2026-08-19 10:10:41] local.INFO: Extracted packet for processing {"connection_id":158728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01851"} 
[2026-08-19 10:10:41] local.INFO: GPS Element Parsed {"raw_longitude":758515456,"raw_latitude":111804200,"longitude_deg":75.8515456,"latitude_deg":11.18042,"altitude":12,"angle":113,"satellites":39,"speed":43,"hex_longitude":"2d360700","hex_latitude":"06a9ff28","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501276416001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385403126460448768,"note":"Value kept but may cause issues"} 
[2026-08-19 10:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3882947332346363904,"note":"Value kept but may cause issues"} 
[2026-08-19 10:10:41] 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-08-19 10:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787114371000,"timestamp_ms":1787114371000,"timestamp_seconds":1787114371,"priority":1,"record_length":96,"hex_timestamp":"000001a0185137b8"} 
[2026-08-19 10:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:10: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-08-19 10: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 10:10:41] 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-08-19 10: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-08-19 10:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501276416001,"66":27821,"142":206,"81":23296,"24":43,"16":385403126460448768,"45":3882947332346363904},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-08-19 10:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501276416001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:10:41] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-19 10:10:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385403126460448768,"km_value":385403126460448.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3882947332346363904,"description":"Unknown IO ID 45"} 
[2026-08-19 10:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501276416001,"power":27821,"unknown_142":206,"unknown_81":23296,"ignition":43,"odometer":null,"unknown_45":3882947332346363904}} 
[2026-08-19 10:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":158728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:10:41] local.INFO: GPS data processed {"connection_id":158728,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:10:41] local.INFO: Acknowledgment sent {"connection_id":158728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:10:58] local.INFO: TCP Data received {"connection_id":157480,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:10:58] local.INFO: Processing buffer {"connection_id":157480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:10:58] local.INFO: Packet analysis {"connection_id":157480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:10:58] local.INFO: Extracted packet for processing {"connection_id":157480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:10:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501197312001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:10:58] 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-08-19 10:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787114353000,"timestamp_ms":1787114353000,"timestamp_seconds":1787114353,"priority":1,"record_length":96,"hex_timestamp":"000001a01850f168"} 
[2026-08-19 10:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 10:10:58] 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-08-19 10: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-08-19 10:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:10:58] 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-08-19 10:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501197312001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501197312001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:10:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:10:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501197312001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":157480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:10:58] local.INFO: GPS data processed {"connection_id":157480,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:10:58] local.INFO: Acknowledgment sent {"connection_id":157480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:10:59] local.INFO: TCP Data received {"connection_id":160029,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:10:59] local.INFO: Processing buffer {"connection_id":160029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:10:59] local.INFO: IMEI packet received {"connection_id":160029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":160029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:11:02] local.INFO: TCP Data received {"connection_id":160029,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:11:02] local.INFO: Processing buffer {"connection_id":160029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:11:02] local.INFO: IMEI packet received {"connection_id":160029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":160029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:11:05] local.INFO: TCP Data received {"connection_id":160029,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:11:05] local.INFO: Processing buffer {"connection_id":160029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:11:05] local.INFO: IMEI packet received {"connection_id":160029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":160029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:11:06] local.INFO: TCP Data received {"connection_id":160029,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0185156f8012d3628c006a9f198000c006d25..."} 
[2026-08-19 10:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185156f8012d3628c006a9f198000c006d25..."} 
[2026-08-19 10:11:06] local.INFO: Processing buffer {"connection_id":160029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185156f8012d3628c006a9f198000c006d25..."} 
[2026-08-19 10:11:06] local.INFO: Packet analysis {"connection_id":160029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01851"} 
[2026-08-19 10:11:06] local.INFO: Extracted packet for processing {"connection_id":160029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01851"} 
[2026-08-19 10:11:06] local.INFO: GPS Element Parsed {"raw_longitude":758524096,"raw_latitude":111800728,"longitude_deg":75.8524096,"latitude_deg":11.1800728,"altitude":12,"angle":109,"satellites":37,"speed":48,"hex_longitude":"2d3628c0","hex_latitude":"06a9f198","is_valid_coordinates":true} 
[2026-08-19 10:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501278976001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385403568842080256,"note":"Value kept but may cause issues"} 
[2026-08-19 10:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3893080431506958336,"note":"Value kept but may cause issues"} 
[2026-08-19 10:11:06] 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-08-19 10:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787114379000,"timestamp_ms":1787114379000,"timestamp_seconds":1787114379,"priority":1,"record_length":96,"hex_timestamp":"000001a0185156f8"} 
[2026-08-19 10:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 10:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:11:06] 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-08-19 10:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501278976001,"66":27745,"142":206,"81":23296,"24":48,"16":385403568842080256,"45":3893080431506958336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-08-19 10:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501278976001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:11:06] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-19 10:11:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385403568842080256,"km_value":385403568842080.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3893080431506958336,"description":"Unknown IO ID 45"} 
[2026-08-19 10:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501278976001,"power":27745,"unknown_142":206,"unknown_81":23296,"ignition":48,"odometer":null,"unknown_45":3893080431506958336}} 
[2026-08-19 10:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":160029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:11:06] local.INFO: GPS data processed {"connection_id":160029,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:11:06] local.INFO: Acknowledgment sent {"connection_id":160029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:11:20] local.INFO: TCP Data received {"connection_id":157850,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:11:20] local.INFO: Processing buffer {"connection_id":157850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:11:20] local.INFO: IMEI packet received {"connection_id":157850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 10:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":157850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:11:25] local.INFO: TCP Data received {"connection_id":157850,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:11:25] local.INFO: Processing buffer {"connection_id":157850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:11:25] local.INFO: IMEI packet received {"connection_id":157850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 10:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":157850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:11:26] local.INFO: TCP Data received {"connection_id":157850,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:11:26] local.INFO: Processing buffer {"connection_id":157850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:11:26] local.INFO: Packet analysis {"connection_id":157850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:11:26] local.INFO: Extracted packet for processing {"connection_id":157850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:11:26] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501197312001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:11:26] 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-08-19 10:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787114353000,"timestamp_ms":1787114353000,"timestamp_seconds":1787114353,"priority":1,"record_length":96,"hex_timestamp":"000001a01850f168"} 
[2026-08-19 10:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 10:11:26] 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-08-19 10:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:11:26] 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-08-19 10:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501197312001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501197312001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:11:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:11:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501197312001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":157850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:11:26] local.INFO: GPS data processed {"connection_id":157850,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:11:26] local.INFO: Acknowledgment sent {"connection_id":157850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:11:38] local.INFO: TCP Data received {"connection_id":160029,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0185287a8012d376cc006a98a18000e005827..."} 
[2026-08-19 10:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185287a8012d376cc006a98a18000e005827..."} 
[2026-08-19 10:11:38] local.INFO: Processing buffer {"connection_id":160029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185287a8012d376cc006a98a18000e005827..."} 
[2026-08-19 10:11:38] local.INFO: Packet analysis {"connection_id":160029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01852"} 
[2026-08-19 10:11:38] local.INFO: Extracted packet for processing {"connection_id":160029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01852"} 
[2026-08-19 10:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758607040,"raw_latitude":111774232,"longitude_deg":75.860704,"latitude_deg":11.1774232,"altitude":14,"angle":88,"satellites":39,"speed":40,"hex_longitude":"2d376cc0","hex_latitude":"06a98a18","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501298944001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385407786499964928,"note":"Value kept but may cause issues"} 
[2026-08-19 10:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3985122748883836928,"note":"Value kept but may cause issues"} 
[2026-08-19 10:11:38] 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-08-19 10:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787114457000,"timestamp_ms":1787114457000,"timestamp_seconds":1787114457,"priority":1,"record_length":96,"hex_timestamp":"000001a0185287a8"} 
[2026-08-19 10:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:11: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-08-19 10: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 10:11:38] 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-08-19 10: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-08-19 10:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501298944001,"66":27919,"77":206,"81":23296,"24":40,"16":385407786499964928,"45":3985122748883836928},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-08-19 10:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501298944001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:11:38] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-19 10:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385407786499964928,"km_value":385407786499964.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3985122748883836928,"description":"Unknown IO ID 45"} 
[2026-08-19 10:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501298944001,"power":27919,"unknown_77":206,"unknown_81":23296,"ignition":40,"odometer":null,"unknown_45":3985122748883836928}} 
[2026-08-19 10:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":160029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:11:38] local.INFO: GPS data processed {"connection_id":160029,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:11:38] local.INFO: Acknowledgment sent {"connection_id":160029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:11:57] local.INFO: TCP Data received {"connection_id":157850,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:11:57] local.INFO: Processing buffer {"connection_id":157850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:11:57] local.INFO: Packet analysis {"connection_id":157850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:11:57] local.INFO: Extracted packet for processing {"connection_id":157850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:11:57] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501197312001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:11:57] 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-08-19 10:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787114353000,"timestamp_ms":1787114353000,"timestamp_seconds":1787114353,"priority":1,"record_length":96,"hex_timestamp":"000001a01850f168"} 
[2026-08-19 10:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 10:11:57] 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-08-19 10: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-08-19 10:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:11:57] 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-08-19 10:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501197312001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501197312001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:11:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:11:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501197312001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":157850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:11:57] local.INFO: GPS data processed {"connection_id":157850,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:11:57] local.INFO: Acknowledgment sent {"connection_id":157850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:11:59] local.INFO: TCP Data received {"connection_id":160030,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:11:59] local.INFO: Processing buffer {"connection_id":160030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:11:59] local.INFO: IMEI packet received {"connection_id":160030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":160030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:12:05] local.INFO: TCP Data received {"connection_id":160030,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:12:05] local.INFO: Processing buffer {"connection_id":160030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:12:05] local.INFO: IMEI packet received {"connection_id":160030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":160030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:12:06] local.INFO: TCP Data received {"connection_id":160030,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01852aad0012d37910006a98db8000e005426..."} 
[2026-08-19 10:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01852aad0012d37910006a98db8000e005426..."} 
[2026-08-19 10:12:06] local.INFO: Processing buffer {"connection_id":160030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01852aad0012d37910006a98db8000e005426..."} 
[2026-08-19 10:12:06] local.INFO: Packet analysis {"connection_id":160030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01852"} 
[2026-08-19 10:12:06] local.INFO: Extracted packet for processing {"connection_id":160030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01852"} 
[2026-08-19 10:12:06] local.INFO: GPS Element Parsed {"raw_longitude":758616320,"raw_latitude":111775160,"longitude_deg":75.861632,"latitude_deg":11.177516,"altitude":14,"angle":84,"satellites":38,"speed":34,"hex_longitude":"2d379100","hex_latitude":"06a98db8","is_valid_coordinates":true} 
[2026-08-19 10:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501300992001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385408233176563712,"note":"Value kept but may cause issues"} 
[2026-08-19 10:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3993778104417523712,"note":"Value kept but may cause issues"} 
[2026-08-19 10:12:06] 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-08-19 10:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787114466000,"timestamp_ms":1787114466000,"timestamp_seconds":1787114466,"priority":1,"record_length":96,"hex_timestamp":"000001a01852aad0"} 
[2026-08-19 10:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 10:12:06] 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-08-19 10:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:12:06] 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-08-19 10:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501300992001,"66":27865,"77":206,"81":23296,"24":34,"16":385408233176563712,"45":3993778104417523712},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-08-19 10:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501300992001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:12:06] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-19 10:12:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385408233176563712,"km_value":385408233176563.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3993778104417523712,"description":"Unknown IO ID 45"} 
[2026-08-19 10:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501300992001,"power":27865,"unknown_77":206,"unknown_81":23296,"ignition":34,"odometer":null,"unknown_45":3993778104417523712}} 
[2026-08-19 10:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":160030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:12:06] local.INFO: GPS data processed {"connection_id":160030,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:12:06] local.INFO: Acknowledgment sent {"connection_id":160030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:12:25] local.INFO: TCP Data received {"connection_id":158729,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:12:25] local.INFO: Processing buffer {"connection_id":158729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:12:25] local.INFO: IMEI packet received {"connection_id":158729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 10:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":158729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:12:30] local.INFO: TCP Data received {"connection_id":158729,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:12:30] local.INFO: Processing buffer {"connection_id":158729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:12:30] local.INFO: IMEI packet received {"connection_id":158729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 10:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":158729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:12:33] local.INFO: TCP Data received {"connection_id":158729,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:12:33] local.INFO: Processing buffer {"connection_id":158729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:12:33] local.INFO: Packet analysis {"connection_id":158729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:12:33] local.INFO: Extracted packet for processing {"connection_id":158729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501197312001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:12:33] 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-08-19 10:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787114353000,"timestamp_ms":1787114353000,"timestamp_seconds":1787114353,"priority":1,"record_length":96,"hex_timestamp":"000001a01850f168"} 
[2026-08-19 10:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 10:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:12:33] 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-08-19 10:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501197312001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501197312001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:12:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:12:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501197312001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":158729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:12:33] local.INFO: GPS data processed {"connection_id":158729,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:12:33] local.INFO: Acknowledgment sent {"connection_id":158729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:12:36] local.INFO: TCP Data received {"connection_id":158729,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:12:36] local.INFO: Processing buffer {"connection_id":158729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:12:36] local.INFO: Packet analysis {"connection_id":158729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:12:36] local.INFO: Extracted packet for processing {"connection_id":158729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501197312001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:12:36] 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-08-19 10:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787114353000,"timestamp_ms":1787114353000,"timestamp_seconds":1787114353,"priority":1,"record_length":96,"hex_timestamp":"000001a01850f168"} 
[2026-08-19 10:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 10:12:36] 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-08-19 10: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-08-19 10:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501197312001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501197312001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:12:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:12:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501197312001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":158729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:12:36] local.INFO: GPS data processed {"connection_id":158729,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:12:36] local.INFO: Acknowledgment sent {"connection_id":158729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:12:38] local.INFO: TCP Data received {"connection_id":160030,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01852dd98012d37b44006a99190000c005426..."} 
[2026-08-19 10:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01852dd98012d37b44006a99190000c005426..."} 
[2026-08-19 10:12:38] local.INFO: Processing buffer {"connection_id":160030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01852dd98012d37b44006a99190000c005426..."} 
[2026-08-19 10:12:38] local.INFO: Packet analysis {"connection_id":160030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01852"} 
[2026-08-19 10:12:38] local.INFO: Extracted packet for processing {"connection_id":160030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01852"} 
[2026-08-19 10:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758625344,"raw_latitude":111776144,"longitude_deg":75.8625344,"latitude_deg":11.1776144,"altitude":12,"angle":84,"satellites":38,"speed":32,"hex_longitude":"2d37b440","hex_latitude":"06a99190","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501303296001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385408662673293312,"note":"Value kept but may cause issues"} 
[2026-08-19 10:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4003981572323522560,"note":"Value kept but may cause issues"} 
[2026-08-19 10:12:38] 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-08-19 10:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787114479000,"timestamp_ms":1787114479000,"timestamp_seconds":1787114479,"priority":1,"record_length":96,"hex_timestamp":"000001a01852dd98"} 
[2026-08-19 10:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:12: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-08-19 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501303296001,"66":27865,"48":206,"81":23296,"24":32,"16":385408662673293312,"45":4003981572323522560},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-08-19 10:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501303296001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:12:38] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-19 10:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385408662673293312,"km_value":385408662673293.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4003981572323522560,"description":"Unknown IO ID 45"} 
[2026-08-19 10:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501303296001,"power":27865,"unknown_48":206,"unknown_81":23296,"ignition":32,"odometer":null,"unknown_45":4003981572323522560}} 
[2026-08-19 10:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":160030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:12:38] local.INFO: GPS data processed {"connection_id":160030,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:12:38] local.INFO: Acknowledgment sent {"connection_id":160030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:12:59] local.INFO: TCP Data received {"connection_id":158730,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:12:59] local.INFO: Processing buffer {"connection_id":158730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:12:59] local.INFO: IMEI packet received {"connection_id":158730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":158730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:13:05] local.INFO: TCP Data received {"connection_id":158730,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:13:05] local.INFO: Processing buffer {"connection_id":158730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:13:05] local.INFO: IMEI packet received {"connection_id":158730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":158730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:13:06] local.INFO: TCP Data received {"connection_id":158730,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018530890012d37db0006a994b8000a005627..."} 
[2026-08-19 10:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018530890012d37db0006a994b8000a005627..."} 
[2026-08-19 10:13:06] local.INFO: Processing buffer {"connection_id":158730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018530890012d37db0006a994b8000a005627..."} 
[2026-08-19 10:13:06] local.INFO: Packet analysis {"connection_id":158730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01853"} 
[2026-08-19 10:13:06] local.INFO: Extracted packet for processing {"connection_id":158730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01853"} 
[2026-08-19 10:13:06] local.INFO: GPS Element Parsed {"raw_longitude":758635264,"raw_latitude":111776952,"longitude_deg":75.8635264,"latitude_deg":11.1776952,"altitude":10,"angle":86,"satellites":39,"speed":39,"hex_longitude":"2d37db00","hex_latitude":"06a994b8","is_valid_coordinates":true} 
[2026-08-19 10:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501306624001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385409135119695872,"note":"Value kept but may cause issues"} 
[2026-08-19 10:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4013903565252825088,"note":"Value kept but may cause issues"} 
[2026-08-19 10:13:06] 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-08-19 10:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787114490000,"timestamp_ms":1787114490000,"timestamp_seconds":1787114490,"priority":1,"record_length":96,"hex_timestamp":"000001a018530890"} 
[2026-08-19 10:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:13:06] 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-08-19 10:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501306624001,"66":27908,"48":206,"81":23296,"24":39,"16":385409135119695872,"45":4013903565252825088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-08-19 10:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501306624001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:13:06] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-19 10:13:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385409135119695872,"km_value":385409135119695.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4013903565252825088,"description":"Unknown IO ID 45"} 
[2026-08-19 10:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501306624001,"power":27908,"unknown_48":206,"unknown_81":23296,"ignition":39,"odometer":null,"unknown_45":4013903565252825088}} 
[2026-08-19 10:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":158730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:13:06] local.INFO: GPS data processed {"connection_id":158730,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:13:06] local.INFO: Acknowledgment sent {"connection_id":158730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:13:20] local.INFO: TCP Data received {"connection_id":157481,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:13:20] local.INFO: Processing buffer {"connection_id":157481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:13:20] local.INFO: IMEI packet received {"connection_id":157481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 10:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":157481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:13:25] local.INFO: TCP Data received {"connection_id":157481,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:13:25] local.INFO: Processing buffer {"connection_id":157481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 10:13:25] local.INFO: IMEI packet received {"connection_id":157481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 10:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":157481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:13:27] local.INFO: TCP Data received {"connection_id":157481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:13:27] local.INFO: Processing buffer {"connection_id":157481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:13:27] local.INFO: Packet analysis {"connection_id":157481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:13:27] local.INFO: Extracted packet for processing {"connection_id":157481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:13:27] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501197312001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:13:27] 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-08-19 10:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787114353000,"timestamp_ms":1787114353000,"timestamp_seconds":1787114353,"priority":1,"record_length":96,"hex_timestamp":"000001a01850f168"} 
[2026-08-19 10:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 10:13:27] 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-08-19 10: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-08-19 10:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:13:27] 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-08-19 10:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501197312001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501197312001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:13:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:13:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501197312001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":157481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:13:27] local.INFO: GPS data processed {"connection_id":157481,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:13:27] local.INFO: Acknowledgment sent {"connection_id":157481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:13:38] local.INFO: TCP Data received {"connection_id":158730,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018532fa0012d38000006a997e0000a005226..."} 
[2026-08-19 10:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018532fa0012d38000006a997e0000a005226..."} 
[2026-08-19 10:13:38] local.INFO: Processing buffer {"connection_id":158730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018532fa0012d38000006a997e0000a005226..."} 
[2026-08-19 10:13:38] local.INFO: Packet analysis {"connection_id":158730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01853"} 
[2026-08-19 10:13:38] local.INFO: Extracted packet for processing {"connection_id":158730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01853"} 
[2026-08-19 10:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758644736,"raw_latitude":111777760,"longitude_deg":75.8644736,"latitude_deg":11.177776,"altitude":10,"angle":82,"satellites":38,"speed":32,"hex_longitude":"2d380000","hex_latitude":"06a997e0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501309440001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385409590386229248,"note":"Value kept but may cause issues"} 
[2026-08-19 10:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4024810720600569856,"note":"Value kept but may cause issues"} 
[2026-08-19 10:13:38] 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-08-19 10:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787114500000,"timestamp_ms":1787114500000,"timestamp_seconds":1787114500,"priority":1,"record_length":96,"hex_timestamp":"000001a018532fa0"} 
[2026-08-19 10:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:13: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-08-19 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 10:13:38] 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-08-19 10: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-08-19 10:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501309440001,"66":27767,"50":206,"81":23296,"24":32,"16":385409590386229248,"45":4024810720600569856},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,81,24,16,45]} 
[2026-08-19 10:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501309440001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:13:38] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-19 10:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385409590386229248,"km_value":385409590386229.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4024810720600569856,"description":"Unknown IO ID 45"} 
[2026-08-19 10:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501309440001,"power":27767,"unknown_50":206,"unknown_81":23296,"ignition":32,"odometer":null,"unknown_45":4024810720600569856}} 
[2026-08-19 10:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":158730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:13:38] local.INFO: GPS data processed {"connection_id":158730,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:13:38] local.INFO: Acknowledgment sent {"connection_id":158730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:13:58] local.INFO: TCP Data received {"connection_id":157481,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:13:58] local.INFO: Processing buffer {"connection_id":157481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01850f168012d7d370005ec09e8000000b31c..."} 
[2026-08-19 10:13:58] local.INFO: Packet analysis {"connection_id":157481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:13:58] local.INFO: Extracted packet for processing {"connection_id":157481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01850"} 
[2026-08-19 10:13:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355112,"longitude_deg":76.31808,"latitude_deg":9.9355112,"altitude":0,"angle":179,"satellites":28,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec09e8","is_valid_coordinates":true} 
[2026-08-19 10:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501197312001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403894986752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:13:58] 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-08-19 10:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787114353000,"timestamp_ms":1787114353000,"timestamp_seconds":1787114353,"priority":1,"record_length":96,"hex_timestamp":"000001a01850f168"} 
[2026-08-19 10:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 10:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 10:13:58] 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-08-19 10:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 10:13:58] 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-08-19 10:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 10:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 10:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501197312001,"66":2253,"109":206,"87":13824,"24":0,"16":120701285530861568,"45":9022680403894986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-19 10:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 10:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 10:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501197312001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:13:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 10:13:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 10:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120701285530861568,"km_value":120701285530861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403894986752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501197312001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403894986752}} 
[2026-08-19 10:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":157481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:13:58] local.INFO: GPS data processed {"connection_id":157481,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:13:58] local.INFO: Acknowledgment sent {"connection_id":157481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:14:05] local.INFO: TCP Data received {"connection_id":160031,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:14:05] local.INFO: Processing buffer {"connection_id":160031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:14:05] local.INFO: IMEI packet received {"connection_id":160031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":160031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:14:10] local.INFO: TCP Data received {"connection_id":160031,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:14:10] local.INFO: Processing buffer {"connection_id":160031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:14:10] local.INFO: IMEI packet received {"connection_id":160031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":160031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:14:10] local.INFO: TCP Data received {"connection_id":160031,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018535e80012d3824c006a99a60000d005d26..."} 
[2026-08-19 10:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018535e80012d3824c006a99a60000d005d26..."} 
[2026-08-19 10:14:10] local.INFO: Processing buffer {"connection_id":160031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018535e80012d3824c006a99a60000d005d26..."} 
[2026-08-19 10:14:10] local.INFO: Packet analysis {"connection_id":160031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01853"} 
[2026-08-19 10:14:10] local.INFO: Extracted packet for processing {"connection_id":160031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01853"} 
[2026-08-19 10:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758654144,"raw_latitude":111778400,"longitude_deg":75.8654144,"latitude_deg":11.17784,"altitude":13,"angle":93,"satellites":38,"speed":20,"hex_longitude":"2d3824c0","hex_latitude":"06a99a60","is_valid_coordinates":true} 
[2026-08-19 10:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501312000001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385410041357795328,"note":"Value kept but may cause issues"} 
[2026-08-19 10:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4035225294739070976,"note":"Value kept but may cause issues"} 
[2026-08-19 10:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787114512000,"timestamp_ms":1787114512000,"timestamp_seconds":1787114512,"priority":1,"record_length":96,"hex_timestamp":"000001a018535e80"} 
[2026-08-19 10:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:14: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-08-19 10:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 10:14:10] 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-08-19 10:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501312000001,"66":27832,"46":206,"81":23296,"24":20,"16":385410041357795328,"45":4035225294739070976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-19 10:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501312000001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:14:10] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-19 10:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385410041357795328,"km_value":385410041357795.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4035225294739070976,"description":"Unknown IO ID 45"} 
[2026-08-19 10:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501312000001,"power":27832,"unknown_46":206,"unknown_81":23296,"ignition":20,"odometer":null,"unknown_45":4035225294739070976}} 
[2026-08-19 10:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":160031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:14:10] local.INFO: GPS data processed {"connection_id":160031,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:14:10] local.INFO: Acknowledgment sent {"connection_id":160031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:14:14] local.INFO: TCP Data received {"connection_id":160031,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01853aca0012d38494006a995a0000e006027..."} 
[2026-08-19 10:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01853aca0012d38494006a995a0000e006027..."} 
[2026-08-19 10:14:14] local.INFO: Processing buffer {"connection_id":160031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01853aca0012d38494006a995a0000e006027..."} 
[2026-08-19 10:14:14] local.INFO: Packet analysis {"connection_id":160031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01853"} 
[2026-08-19 10:14:14] local.INFO: Extracted packet for processing {"connection_id":160031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01853"} 
[2026-08-19 10:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758663488,"raw_latitude":111777184,"longitude_deg":75.8663488,"latitude_deg":11.1777184,"altitude":14,"angle":96,"satellites":39,"speed":16,"hex_longitude":"2d384940","hex_latitude":"06a995a0","is_valid_coordinates":true} 
[2026-08-19 10:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501315072001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385410488034394112,"note":"Value kept but may cause issues"} 
[2026-08-19 10:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4045569500133351424,"note":"Value kept but may cause issues"} 
[2026-08-19 10:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787114532000,"timestamp_ms":1787114532000,"timestamp_seconds":1787114532,"priority":1,"record_length":96,"hex_timestamp":"000001a01853aca0"} 
[2026-08-19 10:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:14:14] 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-08-19 10:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 10:14:14] 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-08-19 10:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501315072001,"66":27919,"46":206,"81":23296,"24":16,"16":385410488034394112,"45":4045569500133351424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-19 10:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501315072001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:14:14] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-19 10:14:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385410488034394112,"km_value":385410488034394.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4045569500133351424,"description":"Unknown IO ID 45"} 
[2026-08-19 10:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501315072001,"power":27919,"unknown_46":206,"unknown_81":23296,"ignition":16,"odometer":null,"unknown_45":4045569500133351424}} 
[2026-08-19 10:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":160031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:14:14] local.INFO: GPS data processed {"connection_id":160031,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:14:14] local.INFO: Acknowledgment sent {"connection_id":160031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:15:04] local.INFO: TCP Data received {"connection_id":160032,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:15:04] local.INFO: Processing buffer {"connection_id":160032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:15:04] local.INFO: IMEI packet received {"connection_id":160032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":160032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:15:18] local.INFO: TCP Data received {"connection_id":160032,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:15:18] local.INFO: Processing buffer {"connection_id":160032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:15:18] local.INFO: IMEI packet received {"connection_id":160032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":160032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:15:20] local.INFO: TCP Data received {"connection_id":160032,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01855db38012d39570006a95908000e000b24..."} 
[2026-08-19 10:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01855db38012d39570006a95908000e000b24..."} 
[2026-08-19 10:15:20] local.INFO: Processing buffer {"connection_id":160032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01855db38012d39570006a95908000e000b24..."} 
[2026-08-19 10:15:20] local.INFO: Packet analysis {"connection_id":160032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01855"} 
[2026-08-19 10:15:20] local.INFO: Extracted packet for processing {"connection_id":160032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01855"} 
[2026-08-19 10:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758732544,"raw_latitude":111761672,"longitude_deg":75.8732544,"latitude_deg":11.1761672,"altitude":14,"angle":11,"satellites":36,"speed":11,"hex_longitude":"2d395700","hex_latitude":"06a95908","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501356544001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385413674900127744,"note":"Value kept but may cause issues"} 
[2026-08-19 10:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4131700843002466304,"note":"Value kept but may cause issues"} 
[2026-08-19 10:15:20] 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-08-19 10:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787114675000,"timestamp_ms":1787114675000,"timestamp_seconds":1787114675,"priority":1,"record_length":96,"hex_timestamp":"000001a01855db38"} 
[2026-08-19 10:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:15: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-08-19 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:15: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-08-19 10: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-08-19 10:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501356544001,"66":27865,"91":206,"81":23296,"24":11,"16":385413674900127744,"45":4131700843002466304},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-08-19 10:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501356544001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:15:20] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-19 10:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385413674900127744,"km_value":385413674900127.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4131700843002466304,"description":"Unknown IO ID 45"} 
[2026-08-19 10:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501356544001,"power":27865,"unknown_91":206,"unknown_81":23296,"ignition":11,"odometer":null,"unknown_45":4131700843002466304}} 
[2026-08-19 10:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":160032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:15:20] local.INFO: GPS data processed {"connection_id":160032,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:15:20] local.INFO: Acknowledgment sent {"connection_id":160032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:15:21] local.INFO: TCP Data received {"connection_id":160032,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01855df20012d39570006a95a40000e016625..."} 
[2026-08-19 10:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01855df20012d39570006a95a40000e016625..."} 
[2026-08-19 10:15:21] local.INFO: Processing buffer {"connection_id":160032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01855df20012d39570006a95a40000e016625..."} 
[2026-08-19 10:15:21] local.INFO: Packet analysis {"connection_id":160032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01855"} 
[2026-08-19 10:15:21] local.INFO: Extracted packet for processing {"connection_id":160032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01855"} 
[2026-08-19 10:15:21] local.INFO: GPS Element Parsed {"raw_longitude":758732544,"raw_latitude":111761984,"longitude_deg":75.8732544,"latitude_deg":11.1761984,"altitude":14,"angle":358,"satellites":37,"speed":13,"hex_longitude":"2d395700","hex_latitude":"06a95a40","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501356800001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385413692079996928,"note":"Value kept but may cause issues"} 
[2026-08-19 10:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4131771211746707456,"note":"Value kept but may cause issues"} 
[2026-08-19 10:15:21] 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-08-19 10:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787114676000,"timestamp_ms":1787114676000,"timestamp_seconds":1787114676,"priority":1,"record_length":96,"hex_timestamp":"000001a01855df20"} 
[2026-08-19 10:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:15: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-08-19 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:15: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-08-19 10: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-08-19 10:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":160032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":160032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":160032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501356800001,"66":27821,"91":206,"81":23296,"24":13,"16":385413692079996928,"45":4131771211746707456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-08-19 10:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501356800001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:15:21] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-19 10:15:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-19 10:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385413692079996928,"km_value":385413692079996.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4131771211746707456,"description":"Unknown IO ID 45"} 
[2026-08-19 10:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501356800001,"power":27821,"unknown_91":206,"unknown_81":23296,"ignition":13,"odometer":null,"unknown_45":4131771211746707456}} 
[2026-08-19 10:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":160032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:15:21] local.INFO: GPS data processed {"connection_id":160032,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:15:21] local.INFO: Acknowledgment sent {"connection_id":160032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:15:59] local.INFO: TCP Data received {"connection_id":160033,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:15:59] local.INFO: Processing buffer {"connection_id":160033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:15:59] local.INFO: IMEI packet received {"connection_id":160033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":160033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:16:13] local.INFO: TCP Data received {"connection_id":160033,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:16:13] local.INFO: Processing buffer {"connection_id":160033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:16:13] local.INFO: IMEI packet received {"connection_id":160033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":160033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:16:13] local.INFO: TCP Data received {"connection_id":160033,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160033,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:16:13] local.INFO: Processing buffer {"connection_id":160033,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:16:13] local.INFO: IMEI packet received {"connection_id":160033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":160033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:17:18] local.INFO: TCP Data received {"connection_id":158731,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:17:18] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:17:18] local.INFO: IMEI packet received {"connection_id":158731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":158731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:17:20] local.INFO: TCP Data received {"connection_id":158731,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:17:20] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:17:20] local.INFO: IMEI packet received {"connection_id":158731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":158731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:19:44] local.INFO: TCP Data received {"connection_id":158731,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01856cd68012d1ab680071f9930003701651a..."} 
[2026-08-19 10:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01856cd68012d1ab680071f9930003701651a..."} 
[2026-08-19 10:19:44] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01856cd68012d1ab680071f9930003701651a..."} 
[2026-08-19 10:19:44] local.INFO: Packet analysis {"connection_id":158731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01856"} 
[2026-08-19 10:19:44] local.INFO: Extracted packet for processing {"connection_id":158731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01856"} 
[2026-08-19 10:19:44] local.INFO: GPS Element Parsed {"raw_longitude":756725376,"raw_latitude":119511344,"longitude_deg":75.6725376,"latitude_deg":11.9511344,"altitude":55,"angle":357,"satellites":26,"speed":7,"hex_longitude":"2d1ab680","hex_latitude":"071f9930","is_valid_coordinates":true} 
[2026-08-19 10:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501372416001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13628884712947712,"note":"Value kept but may cause issues"} 
[2026-08-19 10:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924937027574851584,"note":"Value kept but may cause issues"} 
[2026-08-19 10:19: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-08-19 10:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787114737000,"timestamp_ms":1787114737000,"timestamp_seconds":1787114737,"priority":1,"record_length":96,"hex_timestamp":"000001a01856cd68"} 
[2026-08-19 10:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:19:44] 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-08-19 10:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-19 10:19:44] 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-08-19 10:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501372416001,"66":14483,"121":206,"28":31744,"24":7,"16":13628884712947712,"45":1924937027574851584},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 10:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501372416001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:19:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 10:19:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13628884712947712,"km_value":13628884712947.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924937027574851584,"description":"Unknown IO ID 45"} 
[2026-08-19 10:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501372416001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1924937027574851584}} 
[2026-08-19 10:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":158731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:19:44] local.INFO: GPS data processed {"connection_id":158731,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:19:44] local.INFO: Acknowledgment sent {"connection_id":158731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:19:45] local.INFO: TCP Data received {"connection_id":158731,"ip":"117.224.158.208","data_length":1360,"data_hex":"000000000000030f8e0a000001a01856d150012d1ab6c0071f99f8003700071a..."} 
[2026-08-19 10:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a01856d150012d1ab6c0071f99f8003700071a..."} 
[2026-08-19 10:19:45] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a01856d150012d1ab6c0071f99f8003700071a..."} 
[2026-08-19 10:19:45] local.INFO: Packet analysis {"connection_id":158731,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a01856"} 
[2026-08-19 10:19:45] local.INFO: Extracted packet for processing {"connection_id":158731,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a01856"} 
[2026-08-19 10:19:45] local.INFO: GPS Element Parsed {"raw_longitude":756725440,"raw_latitude":119511544,"longitude_deg":75.672544,"latitude_deg":11.9511544,"altitude":55,"angle":7,"satellites":26,"speed":9,"hex_longitude":"2d1ab6c0","hex_latitude":"071f99f8","is_valid_coordinates":true} 
[2026-08-19 10:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501372672001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13628897597849600,"note":"Value kept but may cause issues"} 
[2026-08-19 10:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924866658830725120,"note":"Value kept but may cause issues"} 
[2026-08-19 10:19: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-08-19 10:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787114738000,"timestamp_ms":1787114738000,"timestamp_seconds":1787114738,"priority":1,"record_length":96,"hex_timestamp":"000001a01856d150"} 
[2026-08-19 10:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:19:45] 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-08-19 10:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-19 10:19:45] 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-08-19 10:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501372672001,"66":14363,"121":206,"28":31744,"24":9,"16":13628897597849600,"45":1924866658830725120},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 10:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501372672001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:19:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 10:19:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13628897597849600,"km_value":13628897597849.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924866658830725120,"description":"Unknown IO ID 45"} 
[2026-08-19 10:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501372672001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1924866658830725120}} 
[2026-08-19 10:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":158731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:19:45] local.INFO: GPS data processed {"connection_id":158731,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:19:45] local.INFO: Acknowledgment sent {"connection_id":158731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:19:45] local.INFO: Packet analysis {"connection_id":158731,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a01856"} 
[2026-08-19 10:19:45] local.INFO: Incomplete packet, waiting for more data {"connection_id":158731,"needed":795,"available":565} 
[2026-08-19 10:19:46] local.INFO: TCP Data received {"connection_id":158731,"ip":"117.224.158.208","data_length":1360,"data_hex":"2d1ac240071f91f0003701311a00130000000a000400ef0100712500f0010045..."} 
[2026-08-19 10:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":1360,"packet_hex":"2d1ac240071f91f0003701311a00130000000a000400ef0100712500f0010045..."} 
[2026-08-19 10:19:46] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":1925,"buffer_hex":"000000000000030f8e0a000001a01856f860012d1ab6c0071fa168003901231a..."} 
[2026-08-19 10:19:46] local.INFO: Packet analysis {"connection_id":158731,"data_field_length":783,"total_packet_length":795,"buffer_length":1925,"packet_hex_start":"000000000000030f8e0a000001a01856"} 
[2026-08-19 10:19:46] local.INFO: Extracted packet for processing {"connection_id":158731,"packet_length":795,"remaining_buffer_length":1130,"packet_hex_start":"000000000000030f8e0a000001a01856"} 
[2026-08-19 10:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756725440,"raw_latitude":119513448,"longitude_deg":75.672544,"latitude_deg":11.9513448,"altitude":57,"angle":291,"satellites":26,"speed":6,"hex_longitude":"2d1ab6c0","hex_latitude":"071fa168","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501372928001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13628996382097408,"note":"Value kept but may cause issues"} 
[2026-08-19 10:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924937027574953984,"note":"Value kept but may cause issues"} 
[2026-08-19 10:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787114748000,"timestamp_ms":1787114748000,"timestamp_seconds":1787114748,"priority":1,"record_length":96,"hex_timestamp":"000001a01856f860"} 
[2026-08-19 10:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:19:46] 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-08-19 10: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 10:19:46] 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-08-19 10: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-08-19 10:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501372928001,"66":14494,"70":206,"28":31744,"24":6,"16":13628996382097408,"45":1924937027574953984},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-19 10:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501372928001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:19:46] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-19 10:19:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13628996382097408,"km_value":13628996382097.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924937027574953984,"description":"Unknown IO ID 45"} 
[2026-08-19 10:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501372928001,"power":14494,"unknown_70":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1924937027574953984}} 
[2026-08-19 10:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":158731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:19:46] local.INFO: GPS data processed {"connection_id":158731,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:19:46] local.INFO: Acknowledgment sent {"connection_id":158731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:19:46] local.INFO: Packet analysis {"connection_id":158731,"data_field_length":783,"total_packet_length":795,"buffer_length":1130,"packet_hex_start":"000000000000030f8e0a000001a01859"} 
[2026-08-19 10:19:46] local.INFO: Extracted packet for processing {"connection_id":158731,"packet_length":795,"remaining_buffer_length":335,"packet_hex_start":"000000000000030f8e0a000001a01859"} 
[2026-08-19 10:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756726016,"raw_latitude":119513416,"longitude_deg":75.6726016,"latitude_deg":11.9513416,"altitude":58,"angle":83,"satellites":28,"speed":0,"hex_longitude":"2d1ab900","hex_latitude":"071fa148","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501411328001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13629159590854656,"note":"Value kept but may cause issues"} 
[2026-08-19 10:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925499977528858624,"note":"Value kept but may cause issues"} 
[2026-08-19 10:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787114892000,"timestamp_ms":1787114892000,"timestamp_seconds":1787114892,"priority":1,"record_length":96,"hex_timestamp":"000001a018592ae0"} 
[2026-08-19 10:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:19:46] 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-08-19 10: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 10:19:46] 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-08-19 10: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-08-19 10:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501411328001,"66":14265,"70":206,"28":31744,"24":0,"16":13629159590854656,"45":1925499977528858624},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-19 10:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501411328001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:19:46] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-19 10:19:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13629159590854656,"km_value":13629159590854.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925499977528858624,"description":"Unknown IO ID 45"} 
[2026-08-19 10:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501411328001,"power":14265,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1925499977528858624}} 
[2026-08-19 10:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":158731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:19:46] local.INFO: GPS data processed {"connection_id":158731,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:19:46] local.INFO: Acknowledgment sent {"connection_id":158731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:19:46] local.INFO: Packet analysis {"connection_id":158731,"data_field_length":783,"total_packet_length":795,"buffer_length":335,"packet_hex_start":"000000000000030f8e0a000001a01859"} 
[2026-08-19 10:19:46] local.INFO: Incomplete packet, waiting for more data {"connection_id":158731,"needed":795,"available":335} 
[2026-08-19 10:19:47] local.INFO: TCP Data received {"connection_id":158731,"ip":"117.224.158.208","data_length":460,"data_hex":"071fa1880039006f1c00020000000a000400ef0100712900f001004501000400..."} 
[2026-08-19 10:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":460,"packet_hex":"071fa1880039006f1c00020000000a000400ef0100712900f001004501000400..."} 
[2026-08-19 10:19:47] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018593e68012d1ab8c0071fa030003a00c01c..."} 
[2026-08-19 10:19:47] local.INFO: Packet analysis {"connection_id":158731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01859"} 
[2026-08-19 10:19:47] local.INFO: Extracted packet for processing {"connection_id":158731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01859"} 
[2026-08-19 10:19:47] local.INFO: GPS Element Parsed {"raw_longitude":756725952,"raw_latitude":119513136,"longitude_deg":75.6725952,"latitude_deg":11.9513136,"altitude":58,"angle":192,"satellites":28,"speed":4,"hex_longitude":"2d1ab8c0","hex_latitude":"071fa030","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501413120001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13629181065691136,"note":"Value kept but may cause issues"} 
[2026-08-19 10:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925570346273011712,"note":"Value kept but may cause issues"} 
[2026-08-19 10:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787114897000,"timestamp_ms":1787114897000,"timestamp_seconds":1787114897,"priority":1,"record_length":96,"hex_timestamp":"000001a018593e68"} 
[2026-08-19 10:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:19:47] 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-08-19 10: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 10:19:47] 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-08-19 10: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-08-19 10:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501413120001,"66":14243,"70":206,"28":31744,"24":4,"16":13629181065691136,"45":1925570346273011712},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-19 10:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501413120001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:19:47] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-19 10:19:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13629181065691136,"km_value":13629181065691.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925570346273011712,"description":"Unknown IO ID 45"} 
[2026-08-19 10:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501413120001,"power":14243,"unknown_70":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1925570346273011712}} 
[2026-08-19 10:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":158731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:19:47] local.INFO: GPS data processed {"connection_id":158731,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:19:47] local.INFO: Acknowledgment sent {"connection_id":158731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:19:48] local.INFO: TCP Data received {"connection_id":158731,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0185a4420012d1a54c0071fdf580032012d1c..."} 
[2026-08-19 10:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185a4420012d1a54c0071fdf580032012d1c..."} 
[2026-08-19 10:19:48] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185a4420012d1a54c0071fdf580032012d1c..."} 
[2026-08-19 10:19:48] local.INFO: Packet analysis {"connection_id":158731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185a"} 
[2026-08-19 10:19:48] local.INFO: Extracted packet for processing {"connection_id":158731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185a"} 
[2026-08-19 10:19:48] local.INFO: GPS Element Parsed {"raw_longitude":756700352,"raw_latitude":119529304,"longitude_deg":75.6700352,"latitude_deg":11.9529304,"altitude":50,"angle":301,"satellites":28,"speed":32,"hex_longitude":"2d1a54c0","hex_latitude":"071fdf58","is_valid_coordinates":true} 
[2026-08-19 10:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501430272001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13630864692871168,"note":"Value kept but may cause issues"} 
[2026-08-19 10:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898900592233607168,"note":"Value kept but may cause issues"} 
[2026-08-19 10:19: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-08-19 10:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787114964000,"timestamp_ms":1787114964000,"timestamp_seconds":1787114964,"priority":1,"record_length":96,"hex_timestamp":"000001a0185a4420"} 
[2026-08-19 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-08-19 10:19:48] 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-08-19 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-19 10:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 10:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":158731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501430272001,"66":14298,"121":206,"28":31744,"24":32,"16":13630864692871168,"45":1898900592233607168},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 10:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501430272001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:19:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 10:19:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13630864692871168,"km_value":13630864692871.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898900592233607168,"description":"Unknown IO ID 45"} 
[2026-08-19 10:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501430272001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1898900592233607168}} 
[2026-08-19 10:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":158731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:19:48] local.INFO: GPS data processed {"connection_id":158731,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:19:48] local.INFO: Acknowledgment sent {"connection_id":158731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:20:20] local.INFO: TCP Data received {"connection_id":158731,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0185a53c0012d1a4840071fe5e8003101221c..."} 
[2026-08-19 10:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185a53c0012d1a4840071fe5e8003101221c..."} 
[2026-08-19 10:20:20] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185a53c0012d1a4840071fe5e8003101221c..."} 
[2026-08-19 10:20:20] local.INFO: Packet analysis {"connection_id":158731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185a"} 
[2026-08-19 10:20:20] local.INFO: Extracted packet for processing {"connection_id":158731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185a"} 
[2026-08-19 10:20:20] local.INFO: GPS Element Parsed {"raw_longitude":756697152,"raw_latitude":119530984,"longitude_deg":75.6697152,"latitude_deg":11.9530984,"altitude":49,"angle":290,"satellites":28,"speed":36,"hex_longitude":"2d1a4840","hex_latitude":"071fe5e8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501430784001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13631040786530304,"note":"Value kept but may cause issues"} 
[2026-08-19 10:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1897352479861856256,"note":"Value kept but may cause issues"} 
[2026-08-19 10:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787114968000,"timestamp_ms":1787114968000,"timestamp_seconds":1787114968,"priority":1,"record_length":96,"hex_timestamp":"000001a0185a53c0"} 
[2026-08-19 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-08-19 10:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-19 10:20: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-08-19 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-08-19 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-08-19 10:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501430784001,"66":14265,"121":206,"28":31744,"24":36,"16":13631040786530304,"45":1897352479861856256},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 10:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501430784001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:20:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 10:20:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13631040786530304,"km_value":13631040786530.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1897352479861856256,"description":"Unknown IO ID 45"} 
[2026-08-19 10:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501430784001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1897352479861856256}} 
[2026-08-19 10:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":158731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:20:20] local.INFO: GPS data processed {"connection_id":158731,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:20:20] local.INFO: Acknowledgment sent {"connection_id":158731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:20:54] local.INFO: TCP Data received {"connection_id":157852,"ip":"194.165.16.121","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-19 10:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157852,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-19 10:20:54] local.INFO: Processing buffer {"connection_id":157852,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-19 10:20:54] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":157852,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-08-19 10:20:55] local.INFO: TCP Data received {"connection_id":158731,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0185b74d0012d19b1c007209d08003100241c..."} 
[2026-08-19 10:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185b74d0012d19b1c007209d08003100241c..."} 
[2026-08-19 10:20:55] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185b74d0012d19b1c007209d08003100241c..."} 
[2026-08-19 10:20:55] local.INFO: Packet analysis {"connection_id":158731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185b"} 
[2026-08-19 10:20:55] local.INFO: Extracted packet for processing {"connection_id":158731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185b"} 
[2026-08-19 10:20:55] local.INFO: GPS Element Parsed {"raw_longitude":756658624,"raw_latitude":119577864,"longitude_deg":75.6658624,"latitude_deg":11.9577864,"altitude":49,"angle":36,"satellites":28,"speed":33,"hex_longitude":"2d19b1c0","hex_latitude":"07209d08","is_valid_coordinates":true} 
[2026-08-19 10:20: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-08-19 10:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501450240001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13634468170432512,"note":"Value kept but may cause issues"} 
[2026-08-19 10:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790019067904,"note":"Value kept but may cause issues"} 
[2026-08-19 10:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787115042000,"timestamp_ms":1787115042000,"timestamp_seconds":1787115042,"priority":1,"record_length":96,"hex_timestamp":"000001a0185b74d0"} 
[2026-08-19 10:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:20:55] 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-08-19 10:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 10:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:20: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-08-19 10:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501450240001,"66":14048,"121":206,"28":31744,"24":33,"16":13634468170432512,"45":1850275790019067904},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 10:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501450240001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:20:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 10:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13634468170432512,"km_value":13634468170432.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790019067904,"description":"Unknown IO ID 45"} 
[2026-08-19 10:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501450240001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1850275790019067904}} 
[2026-08-19 10:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":158731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:20:55] local.INFO: GPS data processed {"connection_id":158731,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:20:55] local.INFO: Acknowledgment sent {"connection_id":158731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:21:15] local.INFO: TCP Data received {"connection_id":157853,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:21:15] local.INFO: Processing buffer {"connection_id":157853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:21:15] local.INFO: IMEI packet received {"connection_id":157853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":157853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:21:16] local.INFO: TCP Data received {"connection_id":157853,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0185aa1e0012d37658006aebfe80010014725..."} 
[2026-08-19 10:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185aa1e0012d37658006aebfe80010014725..."} 
[2026-08-19 10:21:16] local.INFO: Processing buffer {"connection_id":157853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185aa1e0012d37658006aebfe80010014725..."} 
[2026-08-19 10:21:16] local.INFO: Packet analysis {"connection_id":157853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185a"} 
[2026-08-19 10:21:16] local.INFO: Extracted packet for processing {"connection_id":157853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185a"} 
[2026-08-19 10:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758605184,"raw_latitude":112115688,"longitude_deg":75.8605184,"latitude_deg":11.2115688,"altitude":16,"angle":327,"satellites":37,"speed":52,"hex_longitude":"2d376580","hex_latitude":"06aebfe8","is_valid_coordinates":true} 
[2026-08-19 10:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501435136001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385432048770220032,"note":"Value kept but may cause issues"} 
[2026-08-19 10:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3997296541711820800,"note":"Value kept but may cause issues"} 
[2026-08-19 10:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787114988000,"timestamp_ms":1787114988000,"timestamp_seconds":1787114988,"priority":1,"record_length":96,"hex_timestamp":"000001a0185aa1e0"} 
[2026-08-19 10:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:21: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-08-19 10:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 10:21:16] 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-08-19 10:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501435136001,"66":27908,"6":206,"81":49664,"24":52,"16":385432048770220032,"45":3997296541711820800},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-08-19 10:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501435136001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:21:16] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-08-19 10:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-08-19 10:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385432048770220032,"km_value":385432048770220.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3997296541711820800,"description":"Unknown IO ID 45"} 
[2026-08-19 10:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501435136001,"power":27908,"unknown_6":206,"unknown_81":49664,"ignition":52,"odometer":null,"unknown_45":3997296541711820800}} 
[2026-08-19 10:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":157853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:21:16] local.INFO: GPS data processed {"connection_id":157853,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:21:16] local.INFO: Acknowledgment sent {"connection_id":157853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:21:28] local.INFO: TCP Data received {"connection_id":158731,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0185b8858012d19b9c00720a780003400111c..."} 
[2026-08-19 10:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185b8858012d19b9c00720a780003400111c..."} 
[2026-08-19 10:21:28] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185b8858012d19b9c00720a780003400111c..."} 
[2026-08-19 10:21:28] local.INFO: Packet analysis {"connection_id":158731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185b"} 
[2026-08-19 10:21:28] local.INFO: Extracted packet for processing {"connection_id":158731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185b"} 
[2026-08-19 10:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119580544,"longitude_deg":75.6660672,"latitude_deg":11.9580544,"altitude":52,"angle":17,"satellites":28,"speed":17,"hex_longitude":"2d19b9c0","hex_latitude":"0720a780","is_valid_coordinates":true} 
[2026-08-19 10:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501450752001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13634631379189760,"note":"Value kept but may cause issues"} 
[2026-08-19 10:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851472058670450688,"note":"Value kept but may cause issues"} 
[2026-08-19 10:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787115047000,"timestamp_ms":1787115047000,"timestamp_seconds":1787115047,"priority":1,"record_length":96,"hex_timestamp":"000001a0185b8858"} 
[2026-08-19 10:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:21:28] 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-08-19 10:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 10:21:28] 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-08-19 10:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":158731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501450752001,"66":14515,"121":206,"28":31744,"24":17,"16":13634631379189760,"45":1851472058670450688},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 10:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501450752001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:21:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 10:21:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13634631379189760,"km_value":13634631379189.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851472058670450688,"description":"Unknown IO ID 45"} 
[2026-08-19 10:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501450752001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1851472058670450688}} 
[2026-08-19 10:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":158731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:21:28] local.INFO: GPS data processed {"connection_id":158731,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:21:28] local.INFO: Acknowledgment sent {"connection_id":158731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:21:59] local.INFO: TCP Data received {"connection_id":158731,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0185c5760012d1909000720ca980038012c1b..."} 
[2026-08-19 10:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185c5760012d1909000720ca980038012c1b..."} 
[2026-08-19 10:21:59] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185c5760012d1909000720ca980038012c1b..."} 
[2026-08-19 10:21:59] local.INFO: Packet analysis {"connection_id":158731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185c"} 
[2026-08-19 10:21:59] local.INFO: Extracted packet for processing {"connection_id":158731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185c"} 
[2026-08-19 10:21:59] local.INFO: GPS Element Parsed {"raw_longitude":756615424,"raw_latitude":119589528,"longitude_deg":75.6615424,"latitude_deg":11.9589528,"altitude":56,"angle":300,"satellites":27,"speed":33,"hex_longitude":"2d190900","hex_latitude":"0720ca98","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501463552001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13636924891725824,"note":"Value kept but may cause issues"} 
[2026-08-19 10:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812065561933113344,"note":"Value kept but may cause issues"} 
[2026-08-19 10:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787115100000,"timestamp_ms":1787115100000,"timestamp_seconds":1787115100,"priority":1,"record_length":96,"hex_timestamp":"000001a0185c5760"} 
[2026-08-19 10:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:21:59] 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-08-19 10: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 10:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":158731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501463552001,"66":14276,"121":206,"28":31744,"24":33,"16":13636924891725824,"45":1812065561933113344},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 10:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501463552001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:21:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 10:21:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13636924891725824,"km_value":13636924891725.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812065561933113344,"description":"Unknown IO ID 45"} 
[2026-08-19 10:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501463552001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1812065561933113344}} 
[2026-08-19 10:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":158731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:21:59] local.INFO: GPS data processed {"connection_id":158731,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:21:59] local.INFO: Acknowledgment sent {"connection_id":158731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:22:04] local.INFO: TCP Data received {"connection_id":157854,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:22:04] local.INFO: Processing buffer {"connection_id":157854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:22:04] local.INFO: IMEI packet received {"connection_id":157854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":157854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:22:08] local.INFO: TCP Data received {"connection_id":157854,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:22:08] local.INFO: Processing buffer {"connection_id":157854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:22:08] local.INFO: IMEI packet received {"connection_id":157854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":157854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:22:10] local.INFO: TCP Data received {"connection_id":157854,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0185bc6d8012d36b00006b02ba8000f014e22..."} 
[2026-08-19 10:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185bc6d8012d36b00006b02ba8000f014e22..."} 
[2026-08-19 10:22:10] local.INFO: Processing buffer {"connection_id":157854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185bc6d8012d36b00006b02ba8000f014e22..."} 
[2026-08-19 10:22:10] local.INFO: Packet analysis {"connection_id":157854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185b"} 
[2026-08-19 10:22:10] local.INFO: Extracted packet for processing {"connection_id":157854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185b"} 
[2026-08-19 10:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758558720,"raw_latitude":112208808,"longitude_deg":75.855872,"latitude_deg":11.2208808,"altitude":15,"angle":334,"satellites":34,"speed":56,"hex_longitude":"2d36b000","hex_latitude":"06b02ba8","is_valid_coordinates":true} 
[2026-08-19 10:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501454336001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385437082471890944,"note":"Value kept but may cause issues"} 
[2026-08-19 10:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3945082933555570688,"note":"Value kept but may cause issues"} 
[2026-08-19 10:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787115063000,"timestamp_ms":1787115063000,"timestamp_seconds":1787115063,"priority":1,"record_length":96,"hex_timestamp":"000001a0185bc6d8"} 
[2026-08-19 10:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 10:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501454336001,"66":27876,"85":206,"81":23552,"24":56,"16":385437082471890944,"45":3945082933555570688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-08-19 10:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501454336001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-19 10:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385437082471890944,"km_value":385437082471890.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3945082933555570688,"description":"Unknown IO ID 45"} 
[2026-08-19 10:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501454336001,"power":27876,"unknown_85":206,"unknown_81":23552,"ignition":56,"odometer":null,"unknown_45":3945082933555570688}} 
[2026-08-19 10:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":157854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:22:10] local.INFO: GPS data processed {"connection_id":157854,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:22:10] local.INFO: Acknowledgment sent {"connection_id":157854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:22:31] local.INFO: TCP Data received {"connection_id":158731,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0185c7a88012d18f1c00720dae0003d01391c..."} 
[2026-08-19 10:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185c7a88012d18f1c00720dae0003d01391c..."} 
[2026-08-19 10:22:31] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185c7a88012d18f1c00720dae0003d01391c..."} 
[2026-08-19 10:22:31] local.INFO: Packet analysis {"connection_id":158731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185c"} 
[2026-08-19 10:22:31] local.INFO: Extracted packet for processing {"connection_id":158731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185c"} 
[2026-08-19 10:22:31] local.INFO: GPS Element Parsed {"raw_longitude":756609472,"raw_latitude":119593696,"longitude_deg":75.6609472,"latitude_deg":11.9593696,"altitude":61,"angle":313,"satellites":28,"speed":33,"hex_longitude":"2d18f1c0","hex_latitude":"0720dae0","is_valid_coordinates":true} 
[2026-08-19 10:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501465600001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13637272784076800,"note":"Value kept but may cause issues"} 
[2026-08-19 10:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803973156353513472,"note":"Value kept but may cause issues"} 
[2026-08-19 10:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787115109000,"timestamp_ms":1787115109000,"timestamp_seconds":1787115109,"priority":1,"record_length":96,"hex_timestamp":"000001a0185c7a88"} 
[2026-08-19 10:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 10:22:31] 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-08-19 10:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":158731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501465600001,"66":14396,"121":206,"28":31744,"24":33,"16":13637272784076800,"45":1803973156353513472},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 10:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501465600001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:22:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 10:22:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13637272784076800,"km_value":13637272784076.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803973156353513472,"description":"Unknown IO ID 45"} 
[2026-08-19 10:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501465600001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1803973156353513472}} 
[2026-08-19 10:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":158731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:22:31] local.INFO: GPS data processed {"connection_id":158731,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:22:31] local.INFO: Acknowledgment sent {"connection_id":158731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:22:44] local.INFO: TCP Data received {"connection_id":157854,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0185be230012d369f0006b04f78000e014f25..."} 
[2026-08-19 10:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185be230012d369f0006b04f78000e014f25..."} 
[2026-08-19 10:22:44] local.INFO: Processing buffer {"connection_id":157854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185be230012d369f0006b04f78000e014f25..."} 
[2026-08-19 10:22:44] local.INFO: Packet analysis {"connection_id":157854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185b"} 
[2026-08-19 10:22:44] local.INFO: Extracted packet for processing {"connection_id":157854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185b"} 
[2026-08-19 10:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758554368,"raw_latitude":112217976,"longitude_deg":75.8554368,"latitude_deg":11.2217976,"altitude":14,"angle":335,"satellites":37,"speed":58,"hex_longitude":"2d369f00","hex_latitude":"06b04f78","is_valid_coordinates":true} 
[2026-08-19 10:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501456128001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385437572098162688,"note":"Value kept but may cause issues"} 
[2026-08-19 10:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3940649702674638848,"note":"Value kept but may cause issues"} 
[2026-08-19 10:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787115070000,"timestamp_ms":1787115070000,"timestamp_seconds":1787115070,"priority":1,"record_length":96,"hex_timestamp":"000001a0185be230"} 
[2026-08-19 10:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:22: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-08-19 10:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 10:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501456128001,"66":27908,"85":206,"81":23552,"24":58,"16":385437572098162688,"45":3940649702674638848},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-08-19 10:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501456128001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:22:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-19 10:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385437572098162688,"km_value":385437572098162.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3940649702674638848,"description":"Unknown IO ID 45"} 
[2026-08-19 10:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501456128001,"power":27908,"unknown_85":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3940649702674638848}} 
[2026-08-19 10:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":157854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:22:44] local.INFO: GPS data processed {"connection_id":157854,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:22:44] local.INFO: Acknowledgment sent {"connection_id":157854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:23:00] local.INFO: TCP Data received {"connection_id":157485,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:23:00] local.INFO: Processing buffer {"connection_id":157485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:23:00] local.INFO: IMEI packet received {"connection_id":157485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":157485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:23:02] local.INFO: TCP Data received {"connection_id":157485,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:23:02] local.INFO: Processing buffer {"connection_id":157485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:23:02] local.INFO: IMEI packet received {"connection_id":157485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":157485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:23:02] local.INFO: TCP Data received {"connection_id":158731,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0185d64e8012d18850007218110004d011c1c..."} 
[2026-08-19 10:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185d64e8012d18850007218110004d011c1c..."} 
[2026-08-19 10:23:02] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185d64e8012d18850007218110004d011c1c..."} 
[2026-08-19 10:23:02] local.INFO: Packet analysis {"connection_id":158731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185d"} 
[2026-08-19 10:23:02] local.INFO: Extracted packet for processing {"connection_id":158731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185d"} 
[2026-08-19 10:23:02] local.INFO: GPS Element Parsed {"raw_longitude":756581632,"raw_latitude":119636240,"longitude_deg":75.6581632,"latitude_deg":11.963624,"altitude":77,"angle":284,"satellites":28,"speed":42,"hex_longitude":"2d188500","hex_latitude":"07218110","is_valid_coordinates":true} 
[2026-08-19 10:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501482240001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13639914188963840,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771110952834107392,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787115169000,"timestamp_ms":1787115169000,"timestamp_seconds":1787115169,"priority":1,"record_length":96,"hex_timestamp":"000001a0185d64e8"} 
[2026-08-19 10:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:23:02] 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-08-19 10:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-19 10:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733134592,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:02] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-3620886261279489983,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84751207746707771,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:02] local.WARNING: Large IO value detected {"io_id":116,"raw_value":4093640704,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4979573954722136074,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639037091669881,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:02] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3314913212834840832,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 10:23:02] local.WARNING: Large IO value detected {"io_id":14,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:02] local.WARNING: Large IO value detected {"io_id":248,"raw_value":18578796303098880,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:02] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,117,160,65,45,76,10,66,57,128,115,75,116,54,1,240,38,33,4,113,205,14,193,56,239,2,48,7,67,206,248],"length":628,"final_offset":758,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 10:23:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548759217112285184,"timestamp_seconds":5548759217112285.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 10:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":158731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501482240001,"66":14265,"121":206,"28":31744,"24":42,"16":13639914188963840,"45":1771110952834107392},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 10:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501482240001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:23:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 10:23:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13639914188963840,"km_value":13639914188963.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771110952834107392,"description":"Unknown IO ID 45"} 
[2026-08-19 10:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501482240001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1771110952834107392}} 
[2026-08-19 10:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":158731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:23:02] local.INFO: GPS data processed {"connection_id":158731,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:23:02] local.INFO: Acknowledgment sent {"connection_id":158731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:23:05] local.INFO: TCP Data received {"connection_id":157485,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:23:05] local.INFO: Processing buffer {"connection_id":157485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:23:05] local.INFO: IMEI packet received {"connection_id":157485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":157485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:23:05] local.INFO: TCP Data received {"connection_id":157485,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0185cfb70012d36024006b1bb100015014528..."} 
[2026-08-19 10:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185cfb70012d36024006b1bb100015014528..."} 
[2026-08-19 10:23:05] local.INFO: Processing buffer {"connection_id":157485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185cfb70012d36024006b1bb100015014528..."} 
[2026-08-19 10:23:05] local.INFO: Packet analysis {"connection_id":157485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185c"} 
[2026-08-19 10:23:05] local.INFO: Extracted packet for processing {"connection_id":157485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185c"} 
[2026-08-19 10:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758514240,"raw_latitude":112311056,"longitude_deg":75.851424,"latitude_deg":11.2311056,"altitude":21,"angle":325,"satellites":40,"speed":55,"hex_longitude":"2d360240","hex_latitude":"06b1bb10","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501474816001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385442476950814720,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3895965550146195456,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787115142000,"timestamp_ms":1787115142000,"timestamp_seconds":1787115142,"priority":1,"record_length":96,"hex_timestamp":"000001a0185cfb70"} 
[2026-08-19 10:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:23: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-08-19 10: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-19 10:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:23:05] 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-08-19 10:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501474816001,"66":28050,"224":206,"81":23552,"24":55,"16":385442476950814720,"45":3895965550146195456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-08-19 10:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501474816001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:23:05] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-19 10:23:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385442476950814720,"km_value":385442476950814.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3895965550146195456,"description":"Unknown IO ID 45"} 
[2026-08-19 10:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501474816001,"power":28050,"unknown_224":206,"unknown_81":23552,"ignition":55,"odometer":null,"unknown_45":3895965550146195456}} 
[2026-08-19 10:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":157485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:23:05] local.INFO: GPS data processed {"connection_id":157485,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:23:05] local.INFO: Acknowledgment sent {"connection_id":157485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:23:34] local.INFO: TCP Data received {"connection_id":158731,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0185d70a0012d187880072182b0004d010f1b..."} 
[2026-08-19 10:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185d70a0012d187880072182b0004d010f1b..."} 
[2026-08-19 10:23:34] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185d70a0012d187880072182b0004d010f1b..."} 
[2026-08-19 10:23:34] local.INFO: Packet analysis {"connection_id":158731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185d"} 
[2026-08-19 10:23:34] local.INFO: Extracted packet for processing {"connection_id":158731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185d"} 
[2026-08-19 10:23:34] local.INFO: GPS Element Parsed {"raw_longitude":756578432,"raw_latitude":119636656,"longitude_deg":75.6578432,"latitude_deg":11.9636656,"altitude":77,"angle":271,"satellites":27,"speed":42,"hex_longitude":"2d187880","hex_latitude":"072182b0","is_valid_coordinates":true} 
[2026-08-19 10:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501483264001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13640064512819200,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766818459439665152,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787115172000,"timestamp_ms":1787115172000,"timestamp_seconds":1787115172,"priority":1,"record_length":96,"hex_timestamp":"000001a0185d70a0"} 
[2026-08-19 10:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:23:34] 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-08-19 10:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 10:23: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-08-19 10:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":158731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":158731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501483264001,"66":14233,"121":206,"28":31744,"24":42,"16":13640064512819200,"45":1766818459439665152},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 10:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501483264001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:23:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 10:23:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13640064512819200,"km_value":13640064512819.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766818459439665152,"description":"Unknown IO ID 45"} 
[2026-08-19 10:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501483264001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1766818459439665152}} 
[2026-08-19 10:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":158731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:23:34] local.INFO: GPS data processed {"connection_id":158731,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:23:34] local.INFO: Acknowledgment sent {"connection_id":158731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:23:36] local.INFO: TCP Data received {"connection_id":157485,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0185d12e0012d35ebc006b1d4a00012013729..."} 
[2026-08-19 10:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185d12e0012d35ebc006b1d4a00012013729..."} 
[2026-08-19 10:23:36] local.INFO: Processing buffer {"connection_id":157485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185d12e0012d35ebc006b1d4a00012013729..."} 
[2026-08-19 10:23:36] local.INFO: Packet analysis {"connection_id":157485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185d"} 
[2026-08-19 10:23:36] local.INFO: Extracted packet for processing {"connection_id":157485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185d"} 
[2026-08-19 10:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758508480,"raw_latitude":112317600,"longitude_deg":75.850848,"latitude_deg":11.23176,"altitude":18,"angle":311,"satellites":41,"speed":60,"hex_longitude":"2d35ebc0","hex_latitude":"06b1d4a0","is_valid_coordinates":true} 
[2026-08-19 10:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501476352001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385442897857609728,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3891743425497337856,"note":"Value kept but may cause issues"} 
[2026-08-19 10:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787115148000,"timestamp_ms":1787115148000,"timestamp_seconds":1787115148,"priority":1,"record_length":96,"hex_timestamp":"000001a0185d12e0"} 
[2026-08-19 10:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 10:23:36] 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-08-19 10:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:23:36] 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-08-19 10:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501476352001,"66":27767,"224":206,"81":23552,"24":60,"16":385442897857609728,"45":3891743425497337856},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-08-19 10:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501476352001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:23:36] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-19 10:23:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385442897857609728,"km_value":385442897857609.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3891743425497337856,"description":"Unknown IO ID 45"} 
[2026-08-19 10:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501476352001,"power":27767,"unknown_224":206,"unknown_81":23552,"ignition":60,"odometer":null,"unknown_45":3891743425497337856}} 
[2026-08-19 10:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":157485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:23:36] local.INFO: GPS data processed {"connection_id":157485,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:23:36] local.INFO: Acknowledgment sent {"connection_id":157485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:23:59] local.INFO: TCP Data received {"connection_id":158732,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:23:59] local.INFO: Processing buffer {"connection_id":158732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:23:59] local.INFO: IMEI packet received {"connection_id":158732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":158732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:24:05] local.INFO: TCP Data received {"connection_id":158732,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:24:05] local.INFO: Processing buffer {"connection_id":158732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:24:05] local.INFO: IMEI packet received {"connection_id":158732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":158732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:24:05] local.INFO: TCP Data received {"connection_id":158732,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0185d2a50012d35cdc006b1e9f8000f012e29..."} 
[2026-08-19 10:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185d2a50012d35cdc006b1e9f8000f012e29..."} 
[2026-08-19 10:24:05] local.INFO: Processing buffer {"connection_id":158732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185d2a50012d35cdc006b1e9f8000f012e29..."} 
[2026-08-19 10:24:05] local.INFO: Packet analysis {"connection_id":158732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185d"} 
[2026-08-19 10:24:05] local.INFO: Extracted packet for processing {"connection_id":158732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185d"} 
[2026-08-19 10:24:05] local.INFO: GPS Element Parsed {"raw_longitude":758500800,"raw_latitude":112323064,"longitude_deg":75.85008,"latitude_deg":11.2323064,"altitude":15,"angle":302,"satellites":41,"speed":62,"hex_longitude":"2d35cdc0","hex_latitude":"06b1e9f8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501477888001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385443348829175808,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3885410238523023360,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787115154000,"timestamp_ms":1787115154000,"timestamp_seconds":1787115154,"priority":1,"record_length":96,"hex_timestamp":"000001a0185d2a50"} 
[2026-08-19 10:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:24: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-08-19 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 10:24:05] 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-08-19 10:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:24:05] 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-08-19 10:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501477888001,"66":27691,"224":206,"81":23552,"24":62,"16":385443348829175808,"45":3885410238523023360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-08-19 10:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501477888001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:24:05] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-19 10:24:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385443348829175808,"km_value":385443348829175.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3885410238523023360,"description":"Unknown IO ID 45"} 
[2026-08-19 10:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501477888001,"power":27691,"unknown_224":206,"unknown_81":23552,"ignition":62,"odometer":null,"unknown_45":3885410238523023360}} 
[2026-08-19 10:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":158732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:24:05] local.INFO: GPS data processed {"connection_id":158732,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:24:05] local.INFO: Acknowledgment sent {"connection_id":158732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:24:09] local.INFO: TCP Data received {"connection_id":157855,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:24:09] local.INFO: Processing buffer {"connection_id":157855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:24:09] local.INFO: IMEI packet received {"connection_id":157855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":157855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:24:14] local.INFO: TCP Data received {"connection_id":157855,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:24:14] local.INFO: Processing buffer {"connection_id":157855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:24:14] local.INFO: IMEI packet received {"connection_id":157855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":157855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:24:15] local.INFO: TCP Data received {"connection_id":157855,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0185d8428012d186300072182a8004c011c1c..."} 
[2026-08-19 10:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185d8428012d186300072182a8004c011c1c..."} 
[2026-08-19 10:24:15] local.INFO: Processing buffer {"connection_id":157855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185d8428012d186300072182a8004c011c1c..."} 
[2026-08-19 10:24:15] local.INFO: Packet analysis {"connection_id":157855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185d"} 
[2026-08-19 10:24:15] local.INFO: Extracted packet for processing {"connection_id":157855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185d"} 
[2026-08-19 10:24:15] local.INFO: GPS Element Parsed {"raw_longitude":756572928,"raw_latitude":119636648,"longitude_deg":75.6572928,"latitude_deg":11.9636648,"altitude":76,"angle":284,"satellites":28,"speed":40,"hex_longitude":"2d186300","hex_latitude":"072182a8","is_valid_coordinates":true} 
[2026-08-19 10:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501484032001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13640326505824256,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763300022230888448,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24: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-08-19 10:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787115177000,"timestamp_ms":1787115177000,"timestamp_seconds":1787115177,"priority":1,"record_length":96,"hex_timestamp":"000001a0185d8428"} 
[2026-08-19 10:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:24:15] 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-08-19 10:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-19 10:24:15] 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-08-19 10:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501484032001,"66":14102,"121":206,"28":31744,"24":40,"16":13640326505824256,"45":1763300022230888448},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 10:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501484032001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:24:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 10:24:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13640326505824256,"km_value":13640326505824.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763300022230888448,"description":"Unknown IO ID 45"} 
[2026-08-19 10:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501484032001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1763300022230888448}} 
[2026-08-19 10:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":157855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:24:15] local.INFO: GPS data processed {"connection_id":157855,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:24:15] local.INFO: Acknowledgment sent {"connection_id":157855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:24:36] local.INFO: TCP Data received {"connection_id":158732,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0185d41c0012d35ae4006b1fe58000c012f29..."} 
[2026-08-19 10:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185d41c0012d35ae4006b1fe58000c012f29..."} 
[2026-08-19 10:24:36] local.INFO: Processing buffer {"connection_id":158732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185d41c0012d35ae4006b1fe58000c012f29..."} 
[2026-08-19 10:24:36] local.INFO: Packet analysis {"connection_id":158732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185d"} 
[2026-08-19 10:24:36] local.INFO: Extracted packet for processing {"connection_id":158732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185d"} 
[2026-08-19 10:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758492736,"raw_latitude":112328280,"longitude_deg":75.8492736,"latitude_deg":11.232828,"altitude":12,"angle":303,"satellites":41,"speed":63,"hex_longitude":"2d35ae40","hex_latitude":"06b1fe58","is_valid_coordinates":true} 
[2026-08-19 10:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501479424001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385443808390676480,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3876965989223102464,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787115160000,"timestamp_ms":1787115160000,"timestamp_seconds":1787115160,"priority":1,"record_length":96,"hex_timestamp":"000001a0185d41c0"} 
[2026-08-19 10:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:24: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-08-19 10:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-19 10:24:36] 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-08-19 10:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:24:36] 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-08-19 10:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501479424001,"66":27919,"224":206,"81":23552,"24":63,"16":385443808390676480,"45":3876965989223102464},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-08-19 10:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501479424001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:24:36] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-19 10:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385443808390676480,"km_value":385443808390676.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3876965989223102464,"description":"Unknown IO ID 45"} 
[2026-08-19 10:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501479424001,"power":27919,"unknown_224":206,"unknown_81":23552,"ignition":63,"odometer":null,"unknown_45":3876965989223102464}} 
[2026-08-19 10:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":158732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:24:36] local.INFO: GPS data processed {"connection_id":158732,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:24:36] local.INFO: Acknowledgment sent {"connection_id":158732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:24:46] local.INFO: TCP Data received {"connection_id":157855,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0185ecc48012d186d8007222270005700211d..."} 
[2026-08-19 10:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185ecc48012d186d8007222270005700211d..."} 
[2026-08-19 10:24:46] local.INFO: Processing buffer {"connection_id":157855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185ecc48012d186d8007222270005700211d..."} 
[2026-08-19 10:24:46] local.INFO: Packet analysis {"connection_id":157855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185e"} 
[2026-08-19 10:24:46] local.INFO: Extracted packet for processing {"connection_id":157855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185e"} 
[2026-08-19 10:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756575616,"raw_latitude":119677552,"longitude_deg":75.6575616,"latitude_deg":11.9677552,"altitude":87,"angle":33,"satellites":29,"speed":40,"hex_longitude":"2d186d80","hex_latitude":"07222270","is_valid_coordinates":true} 
[2026-08-19 10:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501504512001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13643101054697472,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297961390080,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:46] 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-08-19 10:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787115261000,"timestamp_ms":1787115261000,"timestamp_seconds":1787115261,"priority":1,"record_length":96,"hex_timestamp":"000001a0185ecc48"} 
[2026-08-19 10:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:24:46] 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-08-19 10:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 10:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6980918726,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:46] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503807776980992,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":14336,"corrected_to":0} 
[2026-08-19 10:24:46] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2831679558,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 10:24:46] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951016,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:46] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837671,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:46] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84750542026776988,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:46] local.WARNING: Large IO value detected {"io_id":136,"raw_value":20830471596285440,"note":"Value kept but may cause issues"} 
[2026-08-19 10:24:46] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,120,28,24,241,158,16,119,160,133,45,231,74,27,10,66,94,64,200,70,44,1,240,125,118,33,4,113,205,3,32,30,56,239,55,2,48,7,206,144,136],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":200,"original":14336,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 10:24:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836702625024180224,"timestamp_seconds":5836702625024180.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 10:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501504512001,"66":14374,"120":206,"28":31744,"24":40,"16":13643101054697472,"45":1754574297961390080},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 10:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501504512001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:24:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 10:24:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13643101054697472,"km_value":13643101054697.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297961390080,"description":"Unknown IO ID 45"} 
[2026-08-19 10:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501504512001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1754574297961390080}} 
[2026-08-19 10:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":157855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:24:46] local.INFO: GPS data processed {"connection_id":157855,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:24:46] local.INFO: Acknowledgment sent {"connection_id":157855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:24:59] local.INFO: TCP Data received {"connection_id":160034,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:24:59] local.INFO: Processing buffer {"connection_id":160034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:24:59] local.INFO: IMEI packet received {"connection_id":160034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":160034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:25:05] local.INFO: TCP Data received {"connection_id":160034,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:25:05] local.INFO: Processing buffer {"connection_id":160034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:25:05] local.INFO: IMEI packet received {"connection_id":160034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":160034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:25:05] local.INFO: TCP Data received {"connection_id":160034,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0185d5930012d358e0006b21348000a012f29..."} 
[2026-08-19 10:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185d5930012d358e0006b21348000a012f29..."} 
[2026-08-19 10:25:05] local.INFO: Processing buffer {"connection_id":160034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185d5930012d358e0006b21348000a012f29..."} 
[2026-08-19 10:25:05] local.INFO: Packet analysis {"connection_id":160034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185d"} 
[2026-08-19 10:25:05] local.INFO: Extracted packet for processing {"connection_id":160034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185d"} 
[2026-08-19 10:25:05] local.INFO: GPS Element Parsed {"raw_longitude":758484480,"raw_latitude":112333640,"longitude_deg":75.848448,"latitude_deg":11.233364,"altitude":10,"angle":303,"satellites":41,"speed":64,"hex_longitude":"2d358e00","hex_latitude":"06b21348","is_valid_coordinates":true} 
[2026-08-19 10:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501480960001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385444276542111744,"note":"Value kept but may cause issues"} 
[2026-08-19 10:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3868099527458052096,"note":"Value kept but may cause issues"} 
[2026-08-19 10:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787115166000,"timestamp_ms":1787115166000,"timestamp_seconds":1787115166,"priority":1,"record_length":96,"hex_timestamp":"000001a0185d5930"} 
[2026-08-19 10:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:25: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-08-19 10:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 10:25:05] 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-08-19 10:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:25:05] 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-08-19 10:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501480960001,"66":27832,"224":206,"81":23552,"24":64,"16":385444276542111744,"45":3868099527458052096},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-08-19 10:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501480960001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:25:05] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-19 10:25:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385444276542111744,"km_value":385444276542111.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3868099527458052096,"description":"Unknown IO ID 45"} 
[2026-08-19 10:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501480960001,"power":27832,"unknown_224":206,"unknown_81":23552,"ignition":64,"odometer":null,"unknown_45":3868099527458052096}} 
[2026-08-19 10:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":160034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:25:05] local.INFO: GPS data processed {"connection_id":160034,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:25:05] local.INFO: Acknowledgment sent {"connection_id":160034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:25:08] local.INFO: TCP Data received {"connection_id":160035,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:25:08] local.INFO: Processing buffer {"connection_id":160035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:25:08] local.INFO: IMEI packet received {"connection_id":160035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":160035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:25:09] local.INFO: TCP Data received {"connection_id":160035,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:25:09] local.INFO: Processing buffer {"connection_id":160035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:25:09] local.INFO: IMEI packet received {"connection_id":160035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":160035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:25:14] local.INFO: TCP Data received {"connection_id":160035,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:25:14] local.INFO: Processing buffer {"connection_id":160035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:25:14] local.INFO: IMEI packet received {"connection_id":160035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":160035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:25:19] local.INFO: TCP Data received {"connection_id":160035,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0185eef70012d18814007223ff0005c00211c..."} 
[2026-08-19 10:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185eef70012d18814007223ff0005c00211c..."} 
[2026-08-19 10:25:19] local.INFO: Processing buffer {"connection_id":160035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185eef70012d18814007223ff0005c00211c..."} 
[2026-08-19 10:25:19] local.INFO: Packet analysis {"connection_id":160035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185e"} 
[2026-08-19 10:25:19] local.INFO: Extracted packet for processing {"connection_id":160035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185e"} 
[2026-08-19 10:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756580672,"raw_latitude":119685104,"longitude_deg":75.6580672,"latitude_deg":11.9685104,"altitude":92,"angle":33,"satellites":28,"speed":39,"hex_longitude":"2d188140","hex_latitude":"07223ff0","is_valid_coordinates":true} 
[2026-08-19 10:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501506816001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13643539141361664,"note":"Value kept but may cause issues"} 
[2026-08-19 10:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760203797497540608,"note":"Value kept but may cause issues"} 
[2026-08-19 10:25:19] 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-08-19 10:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787115270000,"timestamp_ms":1787115270000,"timestamp_seconds":1787115270,"priority":1,"record_length":96,"hex_timestamp":"000001a0185eef70"} 
[2026-08-19 10:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:25:19] 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-08-19 10:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 10:25: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-08-19 10:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501506816001,"66":14102,"120":206,"28":31744,"24":39,"16":13643539141361664,"45":1760203797497540608},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 10:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501506816001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:25:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 10:25:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13643539141361664,"km_value":13643539141361.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760203797497540608,"description":"Unknown IO ID 45"} 
[2026-08-19 10:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501506816001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1760203797497540608}} 
[2026-08-19 10:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":160035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:25:19] local.INFO: GPS data processed {"connection_id":160035,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:25:19] local.INFO: Acknowledgment sent {"connection_id":160035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:25:37] local.INFO: TCP Data received {"connection_id":160034,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0185d70a0012d356e8006b227b0000a012f27..."} 
[2026-08-19 10:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185d70a0012d356e8006b227b0000a012f27..."} 
[2026-08-19 10:25:37] local.INFO: Processing buffer {"connection_id":160034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185d70a0012d356e8006b227b0000a012f27..."} 
[2026-08-19 10:25:37] local.INFO: Packet analysis {"connection_id":160034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185d"} 
[2026-08-19 10:25:37] local.INFO: Extracted packet for processing {"connection_id":160034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185d"} 
[2026-08-19 10:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758476416,"raw_latitude":112338864,"longitude_deg":75.8476416,"latitude_deg":11.2338864,"altitude":10,"angle":303,"satellites":39,"speed":61,"hex_longitude":"2d356e80","hex_latitude":"06b227b0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501482496001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385444740398579712,"note":"Value kept but may cause issues"} 
[2026-08-19 10:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3859021959460505600,"note":"Value kept but may cause issues"} 
[2026-08-19 10:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787115172000,"timestamp_ms":1787115172000,"timestamp_seconds":1787115172,"priority":1,"record_length":96,"hex_timestamp":"000001a0185d70a0"} 
[2026-08-19 10:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 10:25:37] 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-08-19 10: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-08-19 10:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:25:37] 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-08-19 10:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501482496001,"66":27984,"80":206,"81":23552,"24":61,"16":385444740398579712,"45":3859021959460505600},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-08-19 10:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501482496001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:25:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-19 10:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385444740398579712,"km_value":385444740398579.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3859021959460505600,"description":"Unknown IO ID 45"} 
[2026-08-19 10:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501482496001,"power":27984,"unknown_80":206,"unknown_81":23552,"ignition":61,"odometer":null,"unknown_45":3859021959460505600}} 
[2026-08-19 10:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":160034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:25:37] local.INFO: GPS data processed {"connection_id":160034,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:25:37] local.INFO: Acknowledgment sent {"connection_id":160034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:25:51] local.INFO: TCP Data received {"connection_id":160035,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0185fe588012d18c940072307480065004c1d..."} 
[2026-08-19 10:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185fe588012d18c940072307480065004c1d..."} 
[2026-08-19 10:25:51] local.INFO: Processing buffer {"connection_id":160035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185fe588012d18c940072307480065004c1d..."} 
[2026-08-19 10:25:51] local.INFO: Packet analysis {"connection_id":160035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185f"} 
[2026-08-19 10:25:51] local.INFO: Extracted packet for processing {"connection_id":160035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185f"} 
[2026-08-19 10:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756599104,"raw_latitude":119736136,"longitude_deg":75.6599104,"latitude_deg":11.9736136,"altitude":101,"angle":76,"satellites":29,"speed":36,"hex_longitude":"2d18c940","hex_latitude":"07230748","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501524736001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13646317985202176,"note":"Value kept but may cause issues"} 
[2026-08-19 10:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784058801788641280,"note":"Value kept but may cause issues"} 
[2026-08-19 10:25:51] 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-08-19 10:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787115333000,"timestamp_ms":1787115333000,"timestamp_seconds":1787115333,"priority":1,"record_length":96,"hex_timestamp":"000001a0185fe588"} 
[2026-08-19 10:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-19 10:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501524736001,"66":13993,"112":206,"28":31744,"24":36,"16":13646317985202176,"45":1784058801788641280},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501524736001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:25:51] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:25:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13646317985202176,"km_value":13646317985202.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784058801788641280,"description":"Unknown IO ID 45"} 
[2026-08-19 10:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501524736001,"power":13993,"unknown_112":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1784058801788641280}} 
[2026-08-19 10:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":160035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:25:51] local.INFO: GPS data processed {"connection_id":160035,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:25:51] local.INFO: Acknowledgment sent {"connection_id":160035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:26:05] local.INFO: TCP Data received {"connection_id":157856,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:26:05] local.INFO: Processing buffer {"connection_id":157856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:26:05] local.INFO: IMEI packet received {"connection_id":157856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":157856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:26:10] local.INFO: TCP Data received {"connection_id":157856,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:26:10] local.INFO: Processing buffer {"connection_id":157856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:26:10] local.INFO: IMEI packet received {"connection_id":157856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":157856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:26:11] local.INFO: TCP Data received {"connection_id":157856,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0185f5cd0012d34954006b2b1a0000a01302a..."} 
[2026-08-19 10:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185f5cd0012d34954006b2b1a0000a01302a..."} 
[2026-08-19 10:26:11] local.INFO: Processing buffer {"connection_id":157856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185f5cd0012d34954006b2b1a0000a01302a..."} 
[2026-08-19 10:26:11] local.INFO: Packet analysis {"connection_id":157856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185f"} 
[2026-08-19 10:26:11] local.INFO: Extracted packet for processing {"connection_id":157856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185f"} 
[2026-08-19 10:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758420800,"raw_latitude":112374176,"longitude_deg":75.84208,"latitude_deg":11.2374176,"altitude":10,"angle":304,"satellites":42,"speed":0,"hex_longitude":"2d349540","hex_latitude":"06b2b1a0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501510912001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385447897199542272,"note":"Value kept but may cause issues"} 
[2026-08-19 10:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3789356902734942208,"note":"Value kept but may cause issues"} 
[2026-08-19 10:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787115298000,"timestamp_ms":1787115298000,"timestamp_seconds":1787115298,"priority":1,"record_length":96,"hex_timestamp":"000001a0185f5cd0"} 
[2026-08-19 10:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:26: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-08-19 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 10:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501510912001,"66":28050,"80":206,"81":23552,"24":0,"16":385447897199542272,"45":3789356902734942208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-08-19 10:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501510912001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:26:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-19 10:26:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385447897199542272,"km_value":385447897199542.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3789356902734942208,"description":"Unknown IO ID 45"} 
[2026-08-19 10:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501510912001,"power":28050,"unknown_80":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3789356902734942208}} 
[2026-08-19 10:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":157856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:26:11] local.INFO: GPS data processed {"connection_id":157856,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:26:11] local.INFO: Acknowledgment sent {"connection_id":157856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:26:12] local.INFO: TCP Data received {"connection_id":157856,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0185faaf0012d348f0006b2b5a8000a01332a..."} 
[2026-08-19 10:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185faaf0012d348f0006b2b5a8000a01332a..."} 
[2026-08-19 10:26:12] local.INFO: Processing buffer {"connection_id":157856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185faaf0012d348f0006b2b5a8000a01332a..."} 
[2026-08-19 10:26:12] local.INFO: Packet analysis {"connection_id":157856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185f"} 
[2026-08-19 10:26:12] local.INFO: Extracted packet for processing {"connection_id":157856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185f"} 
[2026-08-19 10:26:12] local.INFO: GPS Element Parsed {"raw_longitude":758419200,"raw_latitude":112375208,"longitude_deg":75.84192,"latitude_deg":11.2375208,"altitude":10,"angle":307,"satellites":42,"speed":0,"hex_longitude":"2d348f00","hex_latitude":"06b2b5a8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501516288001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385447991688822784,"note":"Value kept but may cause issues"} 
[2026-08-19 10:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3789005059014107136,"note":"Value kept but may cause issues"} 
[2026-08-19 10:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787115318000,"timestamp_ms":1787115318000,"timestamp_seconds":1787115318,"priority":1,"record_length":96,"hex_timestamp":"000001a0185faaf0"} 
[2026-08-19 10:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 10:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501516288001,"66":27919,"80":206,"81":23552,"24":0,"16":385447991688822784,"45":3789005059014107136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-08-19 10:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501516288001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:26:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-19 10:26:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385447991688822784,"km_value":385447991688822.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3789005059014107136,"description":"Unknown IO ID 45"} 
[2026-08-19 10:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501516288001,"power":27919,"unknown_80":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3789005059014107136}} 
[2026-08-19 10:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":157856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:26:12] local.INFO: GPS data processed {"connection_id":157856,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:26:12] local.INFO: Acknowledgment sent {"connection_id":157856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:26:19] local.INFO: TCP Data received {"connection_id":157486,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:26:19] local.INFO: Processing buffer {"connection_id":157486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:26:19] local.INFO: IMEI packet received {"connection_id":157486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":157486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:26:23] local.INFO: TCP Data received {"connection_id":157486,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:26:23] local.INFO: Processing buffer {"connection_id":157486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:26:23] local.INFO: IMEI packet received {"connection_id":157486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":157486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:26:24] local.INFO: TCP Data received {"connection_id":157486,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0185fe970012d18cc80072306e00065005a1d..."} 
[2026-08-19 10:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185fe970012d18cc80072306e00065005a1d..."} 
[2026-08-19 10:26:24] local.INFO: Processing buffer {"connection_id":157486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185fe970012d18cc80072306e00065005a1d..."} 
[2026-08-19 10:26:24] local.INFO: Packet analysis {"connection_id":157486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185f"} 
[2026-08-19 10:26:24] local.INFO: Extracted packet for processing {"connection_id":157486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185f"} 
[2026-08-19 10:26:24] local.INFO: GPS Element Parsed {"raw_longitude":756599936,"raw_latitude":119736032,"longitude_deg":75.6599936,"latitude_deg":11.9736032,"altitude":101,"angle":90,"satellites":29,"speed":34,"hex_longitude":"2d18cc80","hex_latitude":"072306e0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501525248001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13646356639907840,"note":"Value kept but may cause issues"} 
[2026-08-19 10:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786029126625740800,"note":"Value kept but may cause issues"} 
[2026-08-19 10:26:24] 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-08-19 10:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787115334000,"timestamp_ms":1787115334000,"timestamp_seconds":1787115334,"priority":1,"record_length":96,"hex_timestamp":"000001a0185fe970"} 
[2026-08-19 10:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 10:26:24] 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-08-19 10: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-08-19 10:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":157486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":157486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":157486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501525248001,"66":13917,"112":206,"28":31744,"24":34,"16":13646356639907840,"45":1786029126625740800},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501525248001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:26:24] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:26:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13646356639907840,"km_value":13646356639907.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786029126625740800,"description":"Unknown IO ID 45"} 
[2026-08-19 10:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501525248001,"power":13917,"unknown_112":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1786029126625740800}} 
[2026-08-19 10:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":157486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:26:24] local.INFO: GPS data processed {"connection_id":157486,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:26:24] local.INFO: Acknowledgment sent {"connection_id":157486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:26:45] local.INFO: TCP Data received {"connection_id":157856,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0185ffcf8012d348a8006b2b8b0000a013329..."} 
[2026-08-19 10:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0185ffcf8012d348a8006b2b8b0000a013329..."} 
[2026-08-19 10:26:45] local.INFO: Processing buffer {"connection_id":157856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0185ffcf8012d348a8006b2b8b0000a013329..."} 
[2026-08-19 10:26:45] local.INFO: Packet analysis {"connection_id":157856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0185f"} 
[2026-08-19 10:26:45] local.INFO: Extracted packet for processing {"connection_id":157856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0185f"} 
[2026-08-19 10:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758418048,"raw_latitude":112375984,"longitude_deg":75.8418048,"latitude_deg":11.2375984,"altitude":10,"angle":307,"satellites":41,"speed":0,"hex_longitude":"2d348a80","hex_latitude":"06b2b8b0","is_valid_coordinates":true} 
[2026-08-19 10:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501521408001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385448056113332224,"note":"Value kept but may cause issues"} 
[2026-08-19 10:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3787245840409929728,"note":"Value kept but may cause issues"} 
[2026-08-19 10:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787115339000,"timestamp_ms":1787115339000,"timestamp_seconds":1787115339,"priority":1,"record_length":96,"hex_timestamp":"000001a0185ffcf8"} 
[2026-08-19 10:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:26: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-08-19 10:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 10:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501521408001,"66":27908,"80":206,"81":23552,"24":0,"16":385448056113332224,"45":3787245840409929728},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-08-19 10:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501521408001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:26:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-19 10:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385448056113332224,"km_value":385448056113332.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3787245840409929728,"description":"Unknown IO ID 45"} 
[2026-08-19 10:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501521408001,"power":27908,"unknown_80":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3787245840409929728}} 
[2026-08-19 10:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":157856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:26:45] local.INFO: GPS data processed {"connection_id":157856,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:26:45] local.INFO: Acknowledgment sent {"connection_id":157856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:27:00] local.INFO: TCP Data received {"connection_id":160036,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:27:00] local.INFO: Processing buffer {"connection_id":160036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:27:00] local.INFO: IMEI packet received {"connection_id":160036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":160036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:27:03] local.INFO: TCP Data received {"connection_id":160036,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:27:03] local.INFO: Processing buffer {"connection_id":160036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:27:03] local.INFO: IMEI packet received {"connection_id":160036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":160036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:27:04] local.INFO: TCP Data received {"connection_id":160036,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018604f00012d3470c006b2cdf8000c013028..."} 
[2026-08-19 10:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018604f00012d3470c006b2cdf8000c013028..."} 
[2026-08-19 10:27:04] local.INFO: Processing buffer {"connection_id":160036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018604f00012d3470c006b2cdf8000c013028..."} 
[2026-08-19 10:27:04] local.INFO: Packet analysis {"connection_id":160036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01860"} 
[2026-08-19 10:27:04] local.INFO: Extracted packet for processing {"connection_id":160036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01860"} 
[2026-08-19 10:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758411456,"raw_latitude":112381432,"longitude_deg":75.8411456,"latitude_deg":11.2381432,"altitude":12,"angle":304,"satellites":40,"speed":26,"hex_longitude":"2d3470c0","hex_latitude":"06b2cdf8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501526784001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385448468430192640,"note":"Value kept but may cause issues"} 
[2026-08-19 10:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3785979203014930432,"note":"Value kept but may cause issues"} 
[2026-08-19 10:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787115360000,"timestamp_ms":1787115360000,"timestamp_seconds":1787115360,"priority":1,"record_length":96,"hex_timestamp":"000001a018604f00"} 
[2026-08-19 10:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:27: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-08-19 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 10:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501526784001,"66":27865,"80":206,"81":23552,"24":26,"16":385448468430192640,"45":3785979203014930432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-08-19 10:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501526784001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:27:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-19 10:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385448468430192640,"km_value":385448468430192.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3785979203014930432,"description":"Unknown IO ID 45"} 
[2026-08-19 10:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501526784001,"power":27865,"unknown_80":206,"unknown_81":23552,"ignition":26,"odometer":null,"unknown_45":3785979203014930432}} 
[2026-08-19 10:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":160036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:27:04] local.INFO: GPS data processed {"connection_id":160036,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:27:04] local.INFO: Acknowledgment sent {"connection_id":160036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:27:09] local.INFO: TCP Data received {"connection_id":158733,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:27:09] local.INFO: Processing buffer {"connection_id":158733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:27:09] local.INFO: IMEI packet received {"connection_id":158733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":158733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:27:10] local.INFO: TCP Data received {"connection_id":160036,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018607de0012d34518006b2e1c8000d013129..."} 
[2026-08-19 10:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018607de0012d34518006b2e1c8000d013129..."} 
[2026-08-19 10:27:10] local.INFO: Processing buffer {"connection_id":160036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018607de0012d34518006b2e1c8000d013129..."} 
[2026-08-19 10:27:10] local.INFO: Packet analysis {"connection_id":160036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01860"} 
[2026-08-19 10:27:10] local.INFO: Extracted packet for processing {"connection_id":160036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01860"} 
[2026-08-19 10:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758403456,"raw_latitude":112386504,"longitude_deg":75.8403456,"latitude_deg":11.2386504,"altitude":13,"angle":305,"satellites":41,"speed":35,"hex_longitude":"2d345180","hex_latitude":"06b2e1c8","is_valid_coordinates":true} 
[2026-08-19 10:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501532160001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385448923696726016,"note":"Value kept but may cause issues"} 
[2026-08-19 10:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3778731222366025728,"note":"Value kept but may cause issues"} 
[2026-08-19 10:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787115372000,"timestamp_ms":1787115372000,"timestamp_seconds":1787115372,"priority":1,"record_length":96,"hex_timestamp":"000001a018607de0"} 
[2026-08-19 10:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:27: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-08-19 10:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:27: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-08-19 10:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501532160001,"66":27930,"80":206,"81":23552,"24":35,"16":385448923696726016,"45":3778731222366025728},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-08-19 10:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501532160001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:27:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-19 10:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385448923696726016,"km_value":385448923696726.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3778731222366025728,"description":"Unknown IO ID 45"} 
[2026-08-19 10:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501532160001,"power":27930,"unknown_80":206,"unknown_81":23552,"ignition":35,"odometer":null,"unknown_45":3778731222366025728}} 
[2026-08-19 10:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":160036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:27:10] local.INFO: GPS data processed {"connection_id":160036,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:27:10] local.INFO: Acknowledgment sent {"connection_id":160036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:27:14] local.INFO: TCP Data received {"connection_id":158733,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:27:14] local.INFO: Processing buffer {"connection_id":158733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:27:14] local.INFO: IMEI packet received {"connection_id":158733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":158733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:27:15] local.INFO: TCP Data received {"connection_id":158733,"ip":"117.224.158.208","data_length":93,"data_hex":"00000000000000518e01000001a01860cfe8012d1979c0072396100042003d1a..."} 
[2026-08-19 10:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158733,"packet_length":93,"packet_hex":"00000000000000518e01000001a01860cfe8012d1979c0072396100042003d1a..."} 
[2026-08-19 10:27:15] local.INFO: Processing buffer {"connection_id":158733,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a01860cfe8012d1979c0072396100042003d1a..."} 
[2026-08-19 10:27:15] local.INFO: Packet analysis {"connection_id":158733,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a01860"} 
[2026-08-19 10:27:15] local.INFO: Extracted packet for processing {"connection_id":158733,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a01860"} 
[2026-08-19 10:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756644288,"raw_latitude":119772688,"longitude_deg":75.6644288,"latitude_deg":11.9772688,"altitude":66,"angle":61,"satellites":26,"speed":45,"hex_longitude":"2d1979c0","hex_latitude":"07239610","is_valid_coordinates":true} 
[2026-08-19 10:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-19 10:27:15] 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-08-19 10:27:15] 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-08-19 10:27:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:27:15] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-19 10:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158733,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-19 10:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158733,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-19 10:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158733,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-19 10:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-19 10:27:15] local.WARNING: DEBUG: No valid data to process  
[2026-08-19 10:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":158733,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-19 10:27:15] local.ERROR: GPS data processing failed {"connection_id":158733,"error":"No valid data to process"} 
[2026-08-19 10:27:15] local.INFO: Acknowledgment sent {"connection_id":158733,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-19 10:27:42] local.INFO: TCP Data received {"connection_id":160036,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01860a4f0012d34310006b2f5c0000e012e29..."} 
[2026-08-19 10:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01860a4f0012d34310006b2f5c0000e012e29..."} 
[2026-08-19 10:27:42] local.INFO: Processing buffer {"connection_id":160036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01860a4f0012d34310006b2f5c0000e012e29..."} 
[2026-08-19 10:27:42] local.INFO: Packet analysis {"connection_id":160036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01860"} 
[2026-08-19 10:27:42] local.INFO: Extracted packet for processing {"connection_id":160036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01860"} 
[2026-08-19 10:27:42] local.INFO: GPS Element Parsed {"raw_longitude":758395136,"raw_latitude":112391616,"longitude_deg":75.8395136,"latitude_deg":11.2391616,"altitude":14,"angle":302,"satellites":41,"speed":40,"hex_longitude":"2d343100","hex_latitude":"06b2f5c0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501535232001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385449387553193984,"note":"Value kept but may cause issues"} 
[2026-08-19 10:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3769935129345116160,"note":"Value kept but may cause issues"} 
[2026-08-19 10:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787115382000,"timestamp_ms":1787115382000,"timestamp_seconds":1787115382,"priority":1,"record_length":96,"hex_timestamp":"000001a01860a4f0"} 
[2026-08-19 10:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 10:27:42] 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-08-19 10: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-08-19 10:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501535232001,"66":27800,"80":206,"81":23552,"24":40,"16":385449387553193984,"45":3769935129345116160},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-08-19 10:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501535232001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:27:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-19 10:27:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385449387553193984,"km_value":385449387553194.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3769935129345116160,"description":"Unknown IO ID 45"} 
[2026-08-19 10:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501535232001,"power":27800,"unknown_80":206,"unknown_81":23552,"ignition":40,"odometer":null,"unknown_45":3769935129345116160}} 
[2026-08-19 10:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":160036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:27:42] local.INFO: GPS data processed {"connection_id":160036,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:27:42] local.INFO: Acknowledgment sent {"connection_id":160036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:27:46] local.INFO: TCP Data received {"connection_id":158733,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01860dba0012d19868007239ad00040004b1c..."} 
[2026-08-19 10:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01860dba0012d19868007239ad00040004b1c..."} 
[2026-08-19 10:27:46] local.INFO: Processing buffer {"connection_id":158733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01860dba0012d19868007239ad00040004b1c..."} 
[2026-08-19 10:27:46] local.INFO: Packet analysis {"connection_id":158733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01860"} 
[2026-08-19 10:27:46] local.INFO: Extracted packet for processing {"connection_id":158733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01860"} 
[2026-08-19 10:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756647552,"raw_latitude":119773904,"longitude_deg":75.6647552,"latitude_deg":11.9773904,"altitude":64,"angle":75,"satellites":28,"speed":47,"hex_longitude":"2d198680","hex_latitude":"07239ad0","is_valid_coordinates":true} 
[2026-08-19 10:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501540608001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13649599340216320,"note":"Value kept but may cause issues"} 
[2026-08-19 10:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835709460024528896,"note":"Value kept but may cause issues"} 
[2026-08-19 10:27:46] 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-08-19 10:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787115396000,"timestamp_ms":1787115396000,"timestamp_seconds":1787115396,"priority":1,"record_length":96,"hex_timestamp":"000001a01860dba0"} 
[2026-08-19 10:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:27:46] 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-08-19 10:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-19 10:27:46] 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-08-19 10:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501540608001,"66":14428,"112":206,"28":31744,"24":47,"16":13649599340216320,"45":1835709460024528896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501540608001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:27:46] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:27:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13649599340216320,"km_value":13649599340216.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835709460024528896,"description":"Unknown IO ID 45"} 
[2026-08-19 10:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501540608001,"power":14428,"unknown_112":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1835709460024528896}} 
[2026-08-19 10:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":158733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:27:46] local.INFO: GPS data processed {"connection_id":158733,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:27:46] local.INFO: Acknowledgment sent {"connection_id":158733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:27:58] local.INFO: TCP Data received {"connection_id":160037,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:27:58] local.INFO: Processing buffer {"connection_id":160037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:27:58] local.INFO: IMEI packet received {"connection_id":160037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":160037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:27:59] local.INFO: TCP Data received {"connection_id":160037,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:27:59] local.INFO: Processing buffer {"connection_id":160037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:27:59] local.INFO: IMEI packet received {"connection_id":160037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":160037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:28:04] local.INFO: TCP Data received {"connection_id":160037,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:28:04] local.INFO: Processing buffer {"connection_id":160037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:28:04] local.INFO: IMEI packet received {"connection_id":160037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":160037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:28:05] local.INFO: TCP Data received {"connection_id":160037,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01860c818012d34118006b30a680010013027..."} 
[2026-08-19 10:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01860c818012d34118006b30a680010013027..."} 
[2026-08-19 10:28:05] local.INFO: Processing buffer {"connection_id":160037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01860c818012d34118006b30a680010013027..."} 
[2026-08-19 10:28:05] local.INFO: Packet analysis {"connection_id":160037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01860"} 
[2026-08-19 10:28:05] local.INFO: Extracted packet for processing {"connection_id":160037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01860"} 
[2026-08-19 10:28:05] local.INFO: GPS Element Parsed {"raw_longitude":758387072,"raw_latitude":112396904,"longitude_deg":75.8387072,"latitude_deg":11.2396904,"altitude":16,"angle":304,"satellites":39,"speed":43,"hex_longitude":"2d341180","hex_latitude":"06b30a68","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501537792001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385449851409661952,"note":"Value kept but may cause issues"} 
[2026-08-19 10:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3760787192603328512,"note":"Value kept but may cause issues"} 
[2026-08-19 10:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787115391000,"timestamp_ms":1787115391000,"timestamp_seconds":1787115391,"priority":1,"record_length":96,"hex_timestamp":"000001a01860c818"} 
[2026-08-19 10:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:28: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-08-19 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 10:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:28:05] 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-08-19 10:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501537792001,"66":27908,"82":206,"81":23552,"24":43,"16":385449851409661952,"45":3760787192603328512},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-19 10:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501537792001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:28:05] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-19 10:28:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385449851409661952,"km_value":385449851409661.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3760787192603328512,"description":"Unknown IO ID 45"} 
[2026-08-19 10:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501537792001,"power":27908,"unknown_82":206,"unknown_81":23552,"ignition":43,"odometer":null,"unknown_45":3760787192603328512}} 
[2026-08-19 10:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":160037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:28:05] local.INFO: GPS data processed {"connection_id":160037,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:28:05] local.INFO: Acknowledgment sent {"connection_id":160037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:28:09] local.INFO: TCP Data received {"connection_id":160038,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:28:09] local.INFO: Processing buffer {"connection_id":160038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:28:09] local.INFO: IMEI packet received {"connection_id":160038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":160038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:28:14] local.INFO: TCP Data received {"connection_id":160038,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:28:14] local.INFO: Processing buffer {"connection_id":160038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:28:14] local.INFO: IMEI packet received {"connection_id":160038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":160038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:28:15] local.INFO: TCP Data received {"connection_id":160038,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01860fae0012d19aec00723a018003800531d..."} 
[2026-08-19 10:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01860fae0012d19aec00723a018003800531d..."} 
[2026-08-19 10:28:15] local.INFO: Processing buffer {"connection_id":160038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01860fae0012d19aec00723a018003800531d..."} 
[2026-08-19 10:28:15] local.INFO: Packet analysis {"connection_id":160038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01860"} 
[2026-08-19 10:28:15] local.INFO: Extracted packet for processing {"connection_id":160038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01860"} 
[2026-08-19 10:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119775256,"longitude_deg":75.6657856,"latitude_deg":11.9775256,"altitude":56,"angle":83,"satellites":29,"speed":54,"hex_longitude":"2d19aec0","hex_latitude":"0723a018","is_valid_coordinates":true} 
[2026-08-19 10:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501541376001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13650093261455360,"note":"Value kept but may cause issues"} 
[2026-08-19 10:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839298265977901056,"note":"Value kept but may cause issues"} 
[2026-08-19 10:28:15] 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-08-19 10:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787115404000,"timestamp_ms":1787115404000,"timestamp_seconds":1787115404,"priority":1,"record_length":96,"hex_timestamp":"000001a01860fae0"} 
[2026-08-19 10:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:28:15] 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-08-19 10:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 10:28:15] 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-08-19 10:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501541376001,"66":14070,"112":206,"28":31744,"24":54,"16":13650093261455360,"45":1839298265977901056},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501541376001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:28:15] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:28:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13650093261455360,"km_value":13650093261455.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839298265977901056,"description":"Unknown IO ID 45"} 
[2026-08-19 10:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501541376001,"power":14070,"unknown_112":206,"unknown_28":31744,"ignition":54,"odometer":null,"unknown_45":1839298265977901056}} 
[2026-08-19 10:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":160038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:28:15] local.INFO: GPS data processed {"connection_id":160038,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:28:15] local.INFO: Acknowledgment sent {"connection_id":160038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:28:36] local.INFO: TCP Data received {"connection_id":160037,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01861c600012d33b2c006b422d00012015626..."} 
[2026-08-19 10:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01861c600012d33b2c006b422d00012015626..."} 
[2026-08-19 10:28:36] local.INFO: Processing buffer {"connection_id":160037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01861c600012d33b2c006b422d00012015626..."} 
[2026-08-19 10:28:36] local.INFO: Packet analysis {"connection_id":160037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01861"} 
[2026-08-19 10:28:36] local.INFO: Extracted packet for processing {"connection_id":160037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01861"} 
[2026-08-19 10:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758362816,"raw_latitude":112468688,"longitude_deg":75.8362816,"latitude_deg":11.2468688,"altitude":18,"angle":342,"satellites":38,"speed":48,"hex_longitude":"2d33b2c0","hex_latitude":"06b422d0","is_valid_coordinates":true} 
[2026-08-19 10:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501555456001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385453755534934016,"note":"Value kept but may cause issues"} 
[2026-08-19 10:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726728720439578624,"note":"Value kept but may cause issues"} 
[2026-08-19 10:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787115456000,"timestamp_ms":1787115456000,"timestamp_seconds":1787115456,"priority":1,"record_length":96,"hex_timestamp":"000001a01861c600"} 
[2026-08-19 10:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:28: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-08-19 10:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:28:36] 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-08-19 10:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:28:36] 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-08-19 10:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501555456001,"66":27930,"228":206,"81":23552,"24":48,"16":385453755534934016,"45":3726728720439578624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,81,24,16,45]} 
[2026-08-19 10:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501555456001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:28:36] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-19 10:28:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385453755534934016,"km_value":385453755534934.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726728720439578624,"description":"Unknown IO ID 45"} 
[2026-08-19 10:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501555456001,"power":27930,"unknown_228":206,"unknown_81":23552,"ignition":48,"odometer":null,"unknown_45":3726728720439578624}} 
[2026-08-19 10:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":160037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:28:36] local.INFO: GPS data processed {"connection_id":160037,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:28:36] local.INFO: Acknowledgment sent {"connection_id":160037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:28:47] local.INFO: TCP Data received {"connection_id":160038,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018625688012d1a7bc007241240003000431c..."} 
[2026-08-19 10:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018625688012d1a7bc007241240003000431c..."} 
[2026-08-19 10:28:47] local.INFO: Processing buffer {"connection_id":160038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018625688012d1a7bc007241240003000431c..."} 
[2026-08-19 10:28:47] local.INFO: Packet analysis {"connection_id":160038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01862"} 
[2026-08-19 10:28:47] local.INFO: Extracted packet for processing {"connection_id":160038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01862"} 
[2026-08-19 10:28:47] local.INFO: GPS Element Parsed {"raw_longitude":756710336,"raw_latitude":119804480,"longitude_deg":75.6710336,"latitude_deg":11.980448,"altitude":48,"angle":67,"satellites":28,"speed":13,"hex_longitude":"2d1a7bc0","hex_latitude":"07241240","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501564928001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13653164163072000,"note":"Value kept but may cause issues"} 
[2026-08-19 10:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907204104117035008,"note":"Value kept but may cause issues"} 
[2026-08-19 10:28:47] 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-08-19 10:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787115493000,"timestamp_ms":1787115493000,"timestamp_seconds":1787115493,"priority":1,"record_length":96,"hex_timestamp":"000001a018625688"} 
[2026-08-19 10:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:28:47] 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-08-19 10: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-08-19 10:28:47] 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-08-19 10: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-08-19 10:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501564928001,"66":14396,"112":206,"28":31744,"24":13,"16":13653164163072000,"45":1907204104117035008},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501564928001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:28:47] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:28:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13653164163072000,"km_value":13653164163072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907204104117035008,"description":"Unknown IO ID 45"} 
[2026-08-19 10:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501564928001,"power":14396,"unknown_112":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1907204104117035008}} 
[2026-08-19 10:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":160038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:28:47] local.INFO: GPS data processed {"connection_id":160038,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:28:47] local.INFO: Acknowledgment sent {"connection_id":160038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:29:00] local.INFO: TCP Data received {"connection_id":158734,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:29:00] local.INFO: Processing buffer {"connection_id":158734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:29:00] local.INFO: IMEI packet received {"connection_id":158734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":158734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:29:01] local.INFO: TCP Data received {"connection_id":158734,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:29:01] local.INFO: Processing buffer {"connection_id":158734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:29:01] local.INFO: IMEI packet received {"connection_id":158734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":158734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:29:05] local.INFO: TCP Data received {"connection_id":158734,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:29:05] local.INFO: Processing buffer {"connection_id":158734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:29:05] local.INFO: IMEI packet received {"connection_id":158734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":158734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:29:06] local.INFO: TCP Data received {"connection_id":158734,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01861e928012d33a34006b443800011014b26..."} 
[2026-08-19 10:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01861e928012d33a34006b443800011014b26..."} 
[2026-08-19 10:29:06] local.INFO: Processing buffer {"connection_id":158734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01861e928012d33a34006b443800011014b26..."} 
[2026-08-19 10:29:06] local.INFO: Packet analysis {"connection_id":158734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01861"} 
[2026-08-19 10:29:06] local.INFO: Extracted packet for processing {"connection_id":158734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01861"} 
[2026-08-19 10:29:06] local.INFO: GPS Element Parsed {"raw_longitude":758358848,"raw_latitude":112477056,"longitude_deg":75.8358848,"latitude_deg":11.2477056,"altitude":17,"angle":331,"satellites":38,"speed":31,"hex_longitude":"2d33a340","hex_latitude":"06b44380","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501556736001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385454202211532800,"note":"Value kept but may cause issues"} 
[2026-08-19 10:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725250976813338624,"note":"Value kept but may cause issues"} 
[2026-08-19 10:29:06] 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-08-19 10:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787115465000,"timestamp_ms":1787115465000,"timestamp_seconds":1787115465,"priority":1,"record_length":96,"hex_timestamp":"000001a01861e928"} 
[2026-08-19 10:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 10:29:06] 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-08-19 10: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-08-19 10:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:29:06] 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-08-19 10:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501556736001,"66":27974,"101":206,"81":23552,"24":31,"16":385454202211532800,"45":3725250976813338624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-08-19 10:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501556736001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:29:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 10:29:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385454202211532800,"km_value":385454202211532.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725250976813338624,"description":"Unknown IO ID 45"} 
[2026-08-19 10:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501556736001,"power":27974,"unknown_101":206,"unknown_81":23552,"ignition":31,"odometer":null,"unknown_45":3725250976813338624}} 
[2026-08-19 10:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":158734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:29:06] local.INFO: GPS data processed {"connection_id":158734,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:29:06] local.INFO: Acknowledgment sent {"connection_id":158734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:29:09] local.INFO: TCP Data received {"connection_id":158735,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:29:09] local.INFO: Processing buffer {"connection_id":158735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:29:09] local.INFO: IMEI packet received {"connection_id":158735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":158735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:29:11] local.INFO: TCP Data received {"connection_id":158735,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:29:11] local.INFO: Processing buffer {"connection_id":158735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:29:11] local.INFO: IMEI packet received {"connection_id":158735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":158735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:29:15] local.INFO: TCP Data received {"connection_id":158735,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:29:15] local.INFO: Processing buffer {"connection_id":158735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:29:15] local.INFO: IMEI packet received {"connection_id":158735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":158735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:29:16] local.INFO: TCP Data received {"connection_id":158735,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018628950012d1a9c8007242190003100401b..."} 
[2026-08-19 10:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018628950012d1a9c8007242190003100401b..."} 
[2026-08-19 10:29:16] local.INFO: Processing buffer {"connection_id":158735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018628950012d1a9c8007242190003100401b..."} 
[2026-08-19 10:29:16] local.INFO: Packet analysis {"connection_id":158735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01862"} 
[2026-08-19 10:29:16] local.INFO: Extracted packet for processing {"connection_id":158735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01862"} 
[2026-08-19 10:29:16] local.INFO: GPS Element Parsed {"raw_longitude":756718720,"raw_latitude":119808400,"longitude_deg":75.671872,"latitude_deg":11.98084,"altitude":49,"angle":64,"satellites":27,"speed":39,"hex_longitude":"2d1a9c80","hex_latitude":"07242190","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501566208001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13653606544703488,"note":"Value kept but may cause issues"} 
[2026-08-19 10:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908330004024016896,"note":"Value kept but may cause issues"} 
[2026-08-19 10:29: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-08-19 10:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787115506000,"timestamp_ms":1787115506000,"timestamp_seconds":1787115506,"priority":1,"record_length":96,"hex_timestamp":"000001a018628950"} 
[2026-08-19 10:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:29:16] 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-08-19 10: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 10:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501566208001,"66":14396,"112":206,"28":31744,"24":39,"16":13653606544703488,"45":1908330004024016896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501566208001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:29:16] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:29:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13653606544703488,"km_value":13653606544703.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908330004024016896,"description":"Unknown IO ID 45"} 
[2026-08-19 10:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501566208001,"power":14396,"unknown_112":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1908330004024016896}} 
[2026-08-19 10:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":158735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:29:16] local.INFO: GPS data processed {"connection_id":158735,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:29:16] local.INFO: Acknowledgment sent {"connection_id":158735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:29:40] local.INFO: TCP Data received {"connection_id":158734,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018621038012d338f8006b461700012014224..."} 
[2026-08-19 10:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018621038012d338f8006b461700012014224..."} 
[2026-08-19 10:29:40] local.INFO: Processing buffer {"connection_id":158734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018621038012d338f8006b461700012014224..."} 
[2026-08-19 10:29:40] local.INFO: Packet analysis {"connection_id":158734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01862"} 
[2026-08-19 10:29:40] local.INFO: Extracted packet for processing {"connection_id":158734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01862"} 
[2026-08-19 10:29:40] local.INFO: GPS Element Parsed {"raw_longitude":758353792,"raw_latitude":112484720,"longitude_deg":75.8353792,"latitude_deg":11.248472,"altitude":18,"angle":322,"satellites":36,"speed":41,"hex_longitude":"2d338f80","hex_latitude":"06b46170","is_valid_coordinates":true} 
[2026-08-19 10:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501559040001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385454644593164288,"note":"Value kept but may cause issues"} 
[2026-08-19 10:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3720888114676465664,"note":"Value kept but may cause issues"} 
[2026-08-19 10:29:40] 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-08-19 10:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787115475000,"timestamp_ms":1787115475000,"timestamp_seconds":1787115475,"priority":1,"record_length":96,"hex_timestamp":"000001a018621038"} 
[2026-08-19 10:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 10:29:40] 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-08-19 10:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:29:40] 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-08-19 10:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501559040001,"66":27843,"101":206,"81":23552,"24":41,"16":385454644593164288,"45":3720888114676465664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-08-19 10:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501559040001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:29:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 10:29:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385454644593164288,"km_value":385454644593164.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3720888114676465664,"description":"Unknown IO ID 45"} 
[2026-08-19 10:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501559040001,"power":27843,"unknown_101":206,"unknown_81":23552,"ignition":41,"odometer":null,"unknown_45":3720888114676465664}} 
[2026-08-19 10:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":158734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:29:40] local.INFO: GPS data processed {"connection_id":158734,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:29:40] local.INFO: Acknowledgment sent {"connection_id":158734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:29:48] local.INFO: TCP Data received {"connection_id":158735,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01862b060012d1abe4007243128002f00411b..."} 
[2026-08-19 10:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01862b060012d1abe4007243128002f00411b..."} 
[2026-08-19 10:29:48] local.INFO: Processing buffer {"connection_id":158735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01862b060012d1abe4007243128002f00411b..."} 
[2026-08-19 10:29:48] local.INFO: Packet analysis {"connection_id":158735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01862"} 
[2026-08-19 10:29:48] local.INFO: Extracted packet for processing {"connection_id":158735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01862"} 
[2026-08-19 10:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756727360,"raw_latitude":119812392,"longitude_deg":75.672736,"latitude_deg":11.9812392,"altitude":47,"angle":65,"satellites":27,"speed":33,"hex_longitude":"2d1abe40","hex_latitude":"07243128","is_valid_coordinates":true} 
[2026-08-19 10:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501569536001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13654057516269568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917548309512294400,"note":"Value kept but may cause issues"} 
[2026-08-19 10:29:48] 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-08-19 10:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787115516000,"timestamp_ms":1787115516000,"timestamp_seconds":1787115516,"priority":1,"record_length":96,"hex_timestamp":"000001a01862b060"} 
[2026-08-19 10:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 10:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":158735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":158735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":158735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501569536001,"66":14483,"112":206,"28":31744,"24":33,"16":13654057516269568,"45":1917548309512294400},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501569536001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:29:48] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:29:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13654057516269568,"km_value":13654057516269.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917548309512294400,"description":"Unknown IO ID 45"} 
[2026-08-19 10:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501569536001,"power":14483,"unknown_112":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1917548309512294400}} 
[2026-08-19 10:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":158735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:29:48] local.INFO: GPS data processed {"connection_id":158735,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:29:48] local.INFO: Acknowledgment sent {"connection_id":158735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:30:14] local.INFO: TCP Data received {"connection_id":157487,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:30:14] local.INFO: Processing buffer {"connection_id":157487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:30:14] local.INFO: IMEI packet received {"connection_id":157487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":157487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:30:19] local.INFO: TCP Data received {"connection_id":157487,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:30:19] local.INFO: Processing buffer {"connection_id":157487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:30:19] local.INFO: IMEI packet received {"connection_id":157487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":157487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:30:21] local.INFO: TCP Data received {"connection_id":157487,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01862d388012d1ad2c007243bc8002f00341a..."} 
[2026-08-19 10:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01862d388012d1ad2c007243bc8002f00341a..."} 
[2026-08-19 10:30:21] local.INFO: Processing buffer {"connection_id":157487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01862d388012d1ad2c007243bc8002f00341a..."} 
[2026-08-19 10:30:21] local.INFO: Packet analysis {"connection_id":157487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01862"} 
[2026-08-19 10:30:21] local.INFO: Extracted packet for processing {"connection_id":157487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01862"} 
[2026-08-19 10:30:21] local.INFO: GPS Element Parsed {"raw_longitude":756732608,"raw_latitude":119815112,"longitude_deg":75.6732608,"latitude_deg":11.9815112,"altitude":47,"angle":52,"satellites":26,"speed":27,"hex_longitude":"2d1ad2c0","hex_latitude":"07243bc8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501572096001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13654340984111104,"note":"Value kept but may cause issues"} 
[2026-08-19 10:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927048089977300992,"note":"Value kept but may cause issues"} 
[2026-08-19 10:30:21] 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-08-19 10:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787115525000,"timestamp_ms":1787115525000,"timestamp_seconds":1787115525,"priority":1,"record_length":96,"hex_timestamp":"000001a01862d388"} 
[2026-08-19 10:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-19 10:30:21] 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-08-19 10: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-08-19 10:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":157487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":157487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":157487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501572096001,"66":14407,"112":206,"28":31744,"24":27,"16":13654340984111104,"45":1927048089977300992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501572096001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:30:21] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:30:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13654340984111104,"km_value":13654340984111.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927048089977300992,"description":"Unknown IO ID 45"} 
[2026-08-19 10:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501572096001,"power":14407,"unknown_112":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1927048089977300992}} 
[2026-08-19 10:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":157487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:30:21] local.INFO: GPS data processed {"connection_id":157487,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:30:21] local.INFO: Acknowledgment sent {"connection_id":157487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:30:35] local.INFO: TCP Data received {"connection_id":158736,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:30:35] local.INFO: Processing buffer {"connection_id":158736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:30:35] local.INFO: IMEI packet received {"connection_id":158736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":158736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:30:36] local.INFO: TCP Data received {"connection_id":158736,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:30:36] local.INFO: Processing buffer {"connection_id":158736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:30:36] local.INFO: IMEI packet received {"connection_id":158736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":158736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:30:37] local.INFO: TCP Data received {"connection_id":158736,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018630a38012d3268c006b501b8000d012829..."} 
[2026-08-19 10:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018630a38012d3268c006b501b8000d012829..."} 
[2026-08-19 10:30:37] local.INFO: Processing buffer {"connection_id":158736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018630a38012d3268c006b501b8000d012829..."} 
[2026-08-19 10:30:37] local.INFO: Packet analysis {"connection_id":158736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01863"} 
[2026-08-19 10:30:37] local.INFO: Extracted packet for processing {"connection_id":158736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01863"} 
[2026-08-19 10:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758278336,"raw_latitude":112525752,"longitude_deg":75.8278336,"latitude_deg":11.2525752,"altitude":13,"angle":296,"satellites":41,"speed":59,"hex_longitude":"2d3268c0","hex_latitude":"06b501b8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501576448001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385458776351703040,"note":"Value kept but may cause issues"} 
[2026-08-19 10:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3641441802511347712,"note":"Value kept but may cause issues"} 
[2026-08-19 10:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787115539000,"timestamp_ms":1787115539000,"timestamp_seconds":1787115539,"priority":1,"record_length":96,"hex_timestamp":"000001a018630a38"} 
[2026-08-19 10:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:30:37] 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-08-19 10: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-08-19 10:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:30:37] 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-08-19 10:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501576448001,"66":27821,"170":206,"81":23552,"24":59,"16":385458776351703040,"45":3641441802511347712},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-08-19 10:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501576448001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:30:37] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-19 10:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385458776351703040,"km_value":385458776351703.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3641441802511347712,"description":"Unknown IO ID 45"} 
[2026-08-19 10:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501576448001,"power":27821,"unknown_170":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3641441802511347712}} 
[2026-08-19 10:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":158736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:30:37] local.INFO: GPS data processed {"connection_id":158736,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:30:37] local.INFO: Acknowledgment sent {"connection_id":158736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:30:52] local.INFO: TCP Data received {"connection_id":157487,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01862eaf8012d1adf0007244738003000251b..."} 
[2026-08-19 10:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01862eaf8012d1adf0007244738003000251b..."} 
[2026-08-19 10:30:52] local.INFO: Processing buffer {"connection_id":157487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01862eaf8012d1adf0007244738003000251b..."} 
[2026-08-19 10:30:52] local.INFO: Packet analysis {"connection_id":157487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01862"} 
[2026-08-19 10:30:52] local.INFO: Extracted packet for processing {"connection_id":157487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01862"} 
[2026-08-19 10:30:52] local.INFO: GPS Element Parsed {"raw_longitude":756735744,"raw_latitude":119818040,"longitude_deg":75.6735744,"latitude_deg":11.981804,"altitude":48,"angle":37,"satellites":27,"speed":27,"hex_longitude":"2d1adf00","hex_latitude":"07244738","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501574400001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13654547142541312,"note":"Value kept but may cause issues"} 
[2026-08-19 10:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1932818327000565760,"note":"Value kept but may cause issues"} 
[2026-08-19 10:30:52] 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-08-19 10:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787115531000,"timestamp_ms":1787115531000,"timestamp_seconds":1787115531,"priority":1,"record_length":96,"hex_timestamp":"000001a01862eaf8"} 
[2026-08-19 10:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 10:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":157487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":157487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":157487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501574400001,"66":13374,"112":206,"28":31744,"24":27,"16":13654547142541312,"45":1932818327000565760},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501574400001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:30:52] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:30:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13654547142541312,"km_value":13654547142541.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1932818327000565760,"description":"Unknown IO ID 45"} 
[2026-08-19 10:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501574400001,"power":13374,"unknown_112":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1932818327000565760}} 
[2026-08-19 10:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":157487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:30:52] local.INFO: GPS data processed {"connection_id":157487,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:30:52] local.INFO: Acknowledgment sent {"connection_id":157487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:31:01] local.INFO: TCP Data received {"connection_id":157488,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:31:01] local.INFO: Processing buffer {"connection_id":157488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:31:01] local.INFO: IMEI packet received {"connection_id":157488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":157488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:31:02] local.INFO: TCP Data received {"connection_id":157488,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:31:02] local.INFO: Processing buffer {"connection_id":157488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:31:02] local.INFO: IMEI packet received {"connection_id":157488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":157488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:31:05] local.INFO: TCP Data received {"connection_id":157488,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:31:05] local.INFO: Processing buffer {"connection_id":157488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:31:05] local.INFO: IMEI packet received {"connection_id":157488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":157488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:31:09] local.INFO: TCP Data received {"connection_id":157489,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:31:09] local.INFO: Processing buffer {"connection_id":157489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:31:09] local.INFO: IMEI packet received {"connection_id":157489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":157489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:31:10] local.INFO: TCP Data received {"connection_id":157488,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:31:10] local.INFO: Processing buffer {"connection_id":157488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:31:10] local.INFO: IMEI packet received {"connection_id":157488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":157488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:31:11] local.INFO: TCP Data received {"connection_id":157488,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018643ae8012d3150c006b633180018014e25..."} 
[2026-08-19 10:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018643ae8012d3150c006b633180018014e25..."} 
[2026-08-19 10:31:11] local.INFO: Processing buffer {"connection_id":157488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018643ae8012d3150c006b633180018014e25..."} 
[2026-08-19 10:31:11] local.INFO: Packet analysis {"connection_id":157488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01864"} 
[2026-08-19 10:31:11] local.INFO: Extracted packet for processing {"connection_id":157488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01864"} 
[2026-08-19 10:31:11] local.INFO: GPS Element Parsed {"raw_longitude":758206656,"raw_latitude":112603928,"longitude_deg":75.8206656,"latitude_deg":11.2603928,"altitude":24,"angle":334,"satellites":37,"speed":42,"hex_longitude":"2d3150c0","hex_latitude":"06b63318","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501595648001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385463981852065792,"note":"Value kept but may cause issues"} 
[2026-08-19 10:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3558969634353944576,"note":"Value kept but may cause issues"} 
[2026-08-19 10:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787115617000,"timestamp_ms":1787115617000,"timestamp_seconds":1787115617,"priority":1,"record_length":96,"hex_timestamp":"000001a018643ae8"} 
[2026-08-19 10:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:31: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-08-19 10: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 10:31:11] 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-08-19 10: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-08-19 10:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501595648001,"66":27876,"199":206,"81":23552,"24":42,"16":385463981852065792,"45":3558969634353944576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,81,24,16,45]} 
[2026-08-19 10:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501595648001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:31:11] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-19 10:31:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385463981852065792,"km_value":385463981852065.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3558969634353944576,"description":"Unknown IO ID 45"} 
[2026-08-19 10:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501595648001,"power":27876,"trip_odometer":0.206,"unknown_81":23552,"ignition":42,"odometer":null,"unknown_45":3558969634353944576}} 
[2026-08-19 10:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":157488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:31:11] local.INFO: GPS data processed {"connection_id":157488,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:31:11] local.INFO: Acknowledgment sent {"connection_id":157488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:31:14] local.INFO: TCP Data received {"connection_id":157489,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:31:14] local.INFO: Processing buffer {"connection_id":157489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:31:14] local.INFO: IMEI packet received {"connection_id":157489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":157489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:31:15] local.INFO: TCP Data received {"connection_id":157489,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018631dc0012d1af00007246620002d00251c..."} 
[2026-08-19 10:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018631dc0012d1af00007246620002d00251c..."} 
[2026-08-19 10:31:15] local.INFO: Processing buffer {"connection_id":157489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018631dc0012d1af00007246620002d00251c..."} 
[2026-08-19 10:31:15] local.INFO: Packet analysis {"connection_id":157489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01863"} 
[2026-08-19 10:31:15] local.INFO: Extracted packet for processing {"connection_id":157489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01863"} 
[2026-08-19 10:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756740096,"raw_latitude":119825952,"longitude_deg":75.6740096,"latitude_deg":11.9825952,"altitude":45,"angle":37,"satellites":28,"speed":27,"hex_longitude":"2d1af000","hex_latitude":"07246620","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501575936001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13654985229205504,"note":"Value kept but may cause issues"} 
[2026-08-19 10:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936266395466020864,"note":"Value kept but may cause issues"} 
[2026-08-19 10:31:15] 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-08-19 10:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787115544000,"timestamp_ms":1787115544000,"timestamp_seconds":1787115544,"priority":1,"record_length":96,"hex_timestamp":"000001a018631dc0"} 
[2026-08-19 10:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:31:15] 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-08-19 10: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 10:31:15] 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-08-19 10: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-08-19 10:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501575936001,"66":14483,"112":206,"28":31744,"24":27,"16":13654985229205504,"45":1936266395466020864},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501575936001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:31:15] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:31:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13654985229205504,"km_value":13654985229205.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936266395466020864,"description":"Unknown IO ID 45"} 
[2026-08-19 10:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501575936001,"power":14483,"unknown_112":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1936266395466020864}} 
[2026-08-19 10:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":157489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:31:15] local.INFO: GPS data processed {"connection_id":157489,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:31:15] local.INFO: Acknowledgment sent {"connection_id":157489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:31:44] local.INFO: TCP Data received {"connection_id":157488,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018645a28012d313cc006b652080016014226..."} 
[2026-08-19 10:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018645a28012d313cc006b652080016014226..."} 
[2026-08-19 10:31:44] local.INFO: Processing buffer {"connection_id":157488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018645a28012d313cc006b652080016014226..."} 
[2026-08-19 10:31:44] local.INFO: Packet analysis {"connection_id":157488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01864"} 
[2026-08-19 10:31:44] local.INFO: Extracted packet for processing {"connection_id":157488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01864"} 
[2026-08-19 10:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758201536,"raw_latitude":112611848,"longitude_deg":75.8201536,"latitude_deg":11.2611848,"altitude":22,"angle":322,"satellites":38,"speed":51,"hex_longitude":"2d313cc0","hex_latitude":"06b65208","is_valid_coordinates":true} 
[2026-08-19 10:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501597952001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385464437118599168,"note":"Value kept but may cause issues"} 
[2026-08-19 10:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3553551241054459904,"note":"Value kept but may cause issues"} 
[2026-08-19 10:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787115625000,"timestamp_ms":1787115625000,"timestamp_seconds":1787115625,"priority":1,"record_length":96,"hex_timestamp":"000001a018645a28"} 
[2026-08-19 10:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:31: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-08-19 10:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 10:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501597952001,"66":27908,"201":206,"81":23552,"24":51,"16":385464437118599168,"45":3553551241054459904},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-08-19 10:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501597952001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:31:44] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-19 10:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385464437118599168,"km_value":385464437118599.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3553551241054459904,"description":"Unknown IO ID 45"} 
[2026-08-19 10:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501597952001,"power":27908,"unknown_201":206,"unknown_81":23552,"ignition":51,"odometer":null,"unknown_45":3553551241054459904}} 
[2026-08-19 10:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":157488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:31:44] local.INFO: GPS data processed {"connection_id":157488,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:31:44] local.INFO: Acknowledgment sent {"connection_id":157488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:31:46] local.INFO: TCP Data received {"connection_id":157489,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018654870012d1b6380072560e0002c01541c..."} 
[2026-08-19 10:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018654870012d1b6380072560e0002c01541c..."} 
[2026-08-19 10:31:46] local.INFO: Processing buffer {"connection_id":157489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018654870012d1b6380072560e0002c01541c..."} 
[2026-08-19 10:31:46] local.INFO: Packet analysis {"connection_id":157489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01865"} 
[2026-08-19 10:31:46] local.INFO: Extracted packet for processing {"connection_id":157489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01865"} 
[2026-08-19 10:31:46] local.INFO: GPS Element Parsed {"raw_longitude":756769664,"raw_latitude":119890144,"longitude_deg":75.6769664,"latitude_deg":11.9890144,"altitude":44,"angle":340,"satellites":28,"speed":18,"hex_longitude":"2d1b6380","hex_latitude":"072560e0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501614848001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13658678901080064,"note":"Value kept but may cause issues"} 
[2026-08-19 10:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974054411107459072,"note":"Value kept but may cause issues"} 
[2026-08-19 10:31:46] 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-08-19 10:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787115686000,"timestamp_ms":1787115686000,"timestamp_seconds":1787115686,"priority":1,"record_length":96,"hex_timestamp":"000001a018654870"} 
[2026-08-19 10:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:31:46] 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-08-19 10:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 10:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501614848001,"66":14341,"91":206,"28":31744,"24":18,"16":13658678901080064,"45":1974054411107459072},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-19 10:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501614848001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:31:46] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-19 10:31:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13658678901080064,"km_value":13658678901080.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974054411107459072,"description":"Unknown IO ID 45"} 
[2026-08-19 10:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501614848001,"power":14341,"unknown_91":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1974054411107459072}} 
[2026-08-19 10:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":157489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:31:46] local.INFO: GPS data processed {"connection_id":157489,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:31:46] local.INFO: Acknowledgment sent {"connection_id":157489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:31:59] local.INFO: TCP Data received {"connection_id":160039,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:31:59] local.INFO: Processing buffer {"connection_id":160039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:31:59] local.INFO: IMEI packet received {"connection_id":160039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":160039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:32:01] local.INFO: TCP Data received {"connection_id":160039,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:32:01] local.INFO: Processing buffer {"connection_id":160039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:32:01] local.INFO: IMEI packet received {"connection_id":160039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":160039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:32:04] local.INFO: TCP Data received {"connection_id":160039,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:32:04] local.INFO: Processing buffer {"connection_id":160039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:32:04] local.INFO: IMEI packet received {"connection_id":160039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":160039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:32:05] local.INFO: TCP Data received {"connection_id":160039,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018652548012d3020c006b6bb580013012429..."} 
[2026-08-19 10:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018652548012d3020c006b6bb580013012429..."} 
[2026-08-19 10:32:05] local.INFO: Processing buffer {"connection_id":160039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018652548012d3020c006b6bb580013012429..."} 
[2026-08-19 10:32:05] local.INFO: Packet analysis {"connection_id":160039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01865"} 
[2026-08-19 10:32:05] local.INFO: Extracted packet for processing {"connection_id":160039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01865"} 
[2026-08-19 10:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758128832,"raw_latitude":112638808,"longitude_deg":75.8128832,"latitude_deg":11.2638808,"altitude":19,"angle":292,"satellites":41,"speed":54,"hex_longitude":"2d3020c0","hex_latitude":"06b6bb58","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501611520001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385468233869688832,"note":"Value kept but may cause issues"} 
[2026-08-19 10:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3478538159769309184,"note":"Value kept but may cause issues"} 
[2026-08-19 10:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787115677000,"timestamp_ms":1787115677000,"timestamp_seconds":1787115677,"priority":1,"record_length":96,"hex_timestamp":"000001a018652548"} 
[2026-08-19 10:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:32: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-08-19 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 10:32:05] 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-08-19 10: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-08-19 10:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:32:05] 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-08-19 10:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501611520001,"66":27930,"130":206,"81":23552,"24":54,"16":385468233869688832,"45":3478538159769309184},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,81,24,16,45]} 
[2026-08-19 10:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501611520001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:32:05] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-08-19 10:32:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385468233869688832,"km_value":385468233869688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3478538159769309184,"description":"Unknown IO ID 45"} 
[2026-08-19 10:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501611520001,"power":27930,"unknown_130":206,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3478538159769309184}} 
[2026-08-19 10:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":160039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:32:06] local.INFO: GPS data processed {"connection_id":160039,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:32:06] local.INFO: Acknowledgment sent {"connection_id":160039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:32:09] local.INFO: TCP Data received {"connection_id":157857,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:32:09] local.INFO: Processing buffer {"connection_id":157857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:32:09] local.INFO: IMEI packet received {"connection_id":157857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":157857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:32:14] local.INFO: TCP Data received {"connection_id":157857,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:32:14] local.INFO: Processing buffer {"connection_id":157857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:32:14] local.INFO: IMEI packet received {"connection_id":157857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":157857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:32:15] local.INFO: TCP Data received {"connection_id":157857,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186563c8012d1b5f8007256870002b01461c..."} 
[2026-08-19 10:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186563c8012d1b5f8007256870002b01461c..."} 
[2026-08-19 10:32:15] local.INFO: Processing buffer {"connection_id":157857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186563c8012d1b5f8007256870002b01461c..."} 
[2026-08-19 10:32:15] local.INFO: Packet analysis {"connection_id":157857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01865"} 
[2026-08-19 10:32:15] local.INFO: Extracted packet for processing {"connection_id":157857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01865"} 
[2026-08-19 10:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756768640,"raw_latitude":119892080,"longitude_deg":75.676864,"latitude_deg":11.989208,"altitude":43,"angle":326,"satellites":28,"speed":15,"hex_longitude":"2d1b5f80","hex_latitude":"07256870","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501615616001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13658781980295168,"note":"Value kept but may cause issues"} 
[2026-08-19 10:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973561829898641408,"note":"Value kept but may cause issues"} 
[2026-08-19 10:32:15] 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-08-19 10:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787115693000,"timestamp_ms":1787115693000,"timestamp_seconds":1787115693,"priority":1,"record_length":96,"hex_timestamp":"000001a0186563c8"} 
[2026-08-19 10:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:32:15] 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-08-19 10: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 10:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6980920371,"note":"Value kept but may cause issues"} 
[2026-08-19 10:32:15] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84754038130156760,"note":"Value kept but may cause issues"} 
[2026-08-19 10:32:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881500878,"corrected_to":0} 
[2026-08-19 10:32:15] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2147951875,"note":"Value kept but may cause issues"} 
[2026-08-19 10:32:15] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3372273127,"note":"Value kept but may cause issues"} 
[2026-08-19 10:32:15] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2238316544,"note":"Value kept but may cause issues"} 
[2026-08-19 10:32:15] local.WARNING: Large IO value detected {"io_id":168,"raw_value":11259008144903168,"note":"Value kept but may cause issues"} 
[2026-08-19 10:32:15] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,91,28,24,241,158,16,134,160,60,45,64,90,10,66,6,128,1,240,27,37,4,113,205,164,86,29,239,56,2,48,7,39,8,206,168],"length":529,"final_offset":659,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3881500878,"validated":0}]} 
[2026-08-19 10:32:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170908091882536960,"timestamp_seconds":3170908091882537.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 10:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501615616001,"66":13852,"91":206,"28":31744,"24":15,"16":13658781980295168,"45":1973561829898641408},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-19 10:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501615616001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:32:15] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-19 10:32:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13658781980295168,"km_value":13658781980295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973561829898641408,"description":"Unknown IO ID 45"} 
[2026-08-19 10:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501615616001,"power":13852,"unknown_91":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1973561829898641408}} 
[2026-08-19 10:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":157857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:32:16] local.INFO: GPS data processed {"connection_id":157857,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:32:16] local.INFO: Acknowledgment sent {"connection_id":157857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:32:47] local.INFO: TCP Data received {"connection_id":157857,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018657368012d1b5b0007256de0002a01381c..."} 
[2026-08-19 10:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018657368012d1b5b0007256de0002a01381c..."} 
[2026-08-19 10:32:47] local.INFO: Processing buffer {"connection_id":157857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018657368012d1b5b0007256de0002a01381c..."} 
[2026-08-19 10:32:47] local.INFO: Packet analysis {"connection_id":157857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01865"} 
[2026-08-19 10:32:47] local.INFO: Extracted packet for processing {"connection_id":157857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01865"} 
[2026-08-19 10:32:47] local.INFO: GPS Element Parsed {"raw_longitude":756767488,"raw_latitude":119893472,"longitude_deg":75.6767488,"latitude_deg":11.9893472,"altitude":42,"angle":312,"satellites":28,"speed":20,"hex_longitude":"2d1b5b00","hex_latitude":"07256de0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501617408001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13658867879641088,"note":"Value kept but may cause issues"} 
[2026-08-19 10:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972435929992294400,"note":"Value kept but may cause issues"} 
[2026-08-19 10:32: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-08-19 10:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787115697000,"timestamp_ms":1787115697000,"timestamp_seconds":1787115697,"priority":1,"record_length":96,"hex_timestamp":"000001a018657368"} 
[2026-08-19 10:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-19 10:32:47] 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-08-19 10: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-08-19 10:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501617408001,"66":14428,"91":206,"28":31744,"24":20,"16":13658867879641088,"45":1972435929992294400},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-19 10:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501617408001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:32:47] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-19 10:32:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13658867879641088,"km_value":13658867879641.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972435929992294400,"description":"Unknown IO ID 45"} 
[2026-08-19 10:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501617408001,"power":14428,"unknown_91":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1972435929992294400}} 
[2026-08-19 10:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":157857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:32:47] local.INFO: GPS data processed {"connection_id":157857,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:32:47] local.INFO: Acknowledgment sent {"connection_id":157857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:32:54] local.INFO: TCP Data received {"connection_id":160039,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018652548012d3020c006b6bb580013012429..."} 
[2026-08-19 10:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018652548012d3020c006b6bb580013012429..."} 
[2026-08-19 10:32:54] local.INFO: Processing buffer {"connection_id":160039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018652548012d3020c006b6bb580013012429..."} 
[2026-08-19 10:32:54] local.INFO: Packet analysis {"connection_id":160039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01865"} 
[2026-08-19 10:32:54] local.INFO: Extracted packet for processing {"connection_id":160039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01865"} 
[2026-08-19 10:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758128832,"raw_latitude":112638808,"longitude_deg":75.8128832,"latitude_deg":11.2638808,"altitude":19,"angle":292,"satellites":41,"speed":54,"hex_longitude":"2d3020c0","hex_latitude":"06b6bb58","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501613312001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385468233869688832,"note":"Value kept but may cause issues"} 
[2026-08-19 10:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3467982848143349760,"note":"Value kept but may cause issues"} 
[2026-08-19 10:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787115677000,"timestamp_ms":1787115677000,"timestamp_seconds":1787115677,"priority":1,"record_length":96,"hex_timestamp":"000001a018652548"} 
[2026-08-19 10:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:32: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-08-19 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 10:32:54] 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-08-19 10: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-08-19 10:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:32:54] 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-08-19 10:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501613312001,"66":27930,"130":206,"81":23552,"24":54,"16":385468233869688832,"45":3467982848143349760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,81,24,16,45]} 
[2026-08-19 10:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501613312001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:32:54] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-08-19 10:32:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385468233869688832,"km_value":385468233869688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3467982848143349760,"description":"Unknown IO ID 45"} 
[2026-08-19 10:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501613312001,"power":27930,"unknown_130":206,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3467982848143349760}} 
[2026-08-19 10:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":160039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:32:54] local.INFO: GPS data processed {"connection_id":160039,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:32:54] local.INFO: Acknowledgment sent {"connection_id":160039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:33:00] local.INFO: TCP Data received {"connection_id":158737,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:33:00] local.INFO: Processing buffer {"connection_id":158737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:33:00] local.INFO: IMEI packet received {"connection_id":158737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":158737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:33:00] local.INFO: TCP Data received {"connection_id":158737,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:33:00] local.INFO: Processing buffer {"connection_id":158737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:33:00] local.INFO: IMEI packet received {"connection_id":158737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":158737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:33:05] local.INFO: TCP Data received {"connection_id":158737,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:33:05] local.INFO: Processing buffer {"connection_id":158737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:33:05] local.INFO: IMEI packet received {"connection_id":158737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":158737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:33:07] local.INFO: TCP Data received {"connection_id":158737,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018653cb8012d3004c006b6caa00014012f28..."} 
[2026-08-19 10:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018653cb8012d3004c006b6caa00014012f28..."} 
[2026-08-19 10:33:07] local.INFO: Processing buffer {"connection_id":158737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018653cb8012d3004c006b6caa00014012f28..."} 
[2026-08-19 10:33:07] local.INFO: Packet analysis {"connection_id":158737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01865"} 
[2026-08-19 10:33:07] local.INFO: Extracted packet for processing {"connection_id":158737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01865"} 
[2026-08-19 10:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758121664,"raw_latitude":112642720,"longitude_deg":75.8121664,"latitude_deg":11.264272,"altitude":20,"angle":303,"satellites":40,"speed":53,"hex_longitude":"2d3004c0","hex_latitude":"06b6caa0","is_valid_coordinates":true} 
[2026-08-19 10:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501613312001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385468624711712768,"note":"Value kept but may cause issues"} 
[2026-08-19 10:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3467982848143349760,"note":"Value kept but may cause issues"} 
[2026-08-19 10:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787115683000,"timestamp_ms":1787115683000,"timestamp_seconds":1787115683,"priority":1,"record_length":96,"hex_timestamp":"000001a018653cb8"} 
[2026-08-19 10:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:33: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-08-19 10:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 10:33:07] 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-08-19 10:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:33:07] 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-08-19 10:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501613312001,"66":27974,"130":206,"81":23552,"24":53,"16":385468624711712768,"45":3467982848143349760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,81,24,16,45]} 
[2026-08-19 10:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501613312001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:33:07] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-08-19 10:33:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-08-19 10:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385468624711712768,"km_value":385468624711712.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3467982848143349760,"description":"Unknown IO ID 45"} 
[2026-08-19 10:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501613312001,"power":27974,"unknown_130":206,"unknown_81":23552,"ignition":53,"odometer":null,"unknown_45":3467982848143349760}} 
[2026-08-19 10:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":158737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:33:07] local.INFO: GPS data processed {"connection_id":158737,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:33:07] local.INFO: Acknowledgment sent {"connection_id":158737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:33:09] local.INFO: TCP Data received {"connection_id":158738,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:33:09] local.INFO: Processing buffer {"connection_id":158738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:33:09] local.INFO: IMEI packet received {"connection_id":158738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":158738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:33:10] local.INFO: TCP Data received {"connection_id":158738,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:33:10] local.INFO: Processing buffer {"connection_id":158738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:33:10] local.INFO: IMEI packet received {"connection_id":158738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":158738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:33:14] local.INFO: TCP Data received {"connection_id":158738,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:33:14] local.INFO: Processing buffer {"connection_id":158738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:33:14] local.INFO: IMEI packet received {"connection_id":158738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":158738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:33:15] local.INFO: TCP Data received {"connection_id":158738,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01865a248012d1b48c007258008002c01471d..."} 
[2026-08-19 10:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01865a248012d1b48c007258008002c01471d..."} 
[2026-08-19 10:33:15] local.INFO: Processing buffer {"connection_id":158738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01865a248012d1b48c007258008002c01471d..."} 
[2026-08-19 10:33:15] local.INFO: Packet analysis {"connection_id":158738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01865"} 
[2026-08-19 10:33:15] local.INFO: Extracted packet for processing {"connection_id":158738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01865"} 
[2026-08-19 10:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756762816,"raw_latitude":119898120,"longitude_deg":75.6762816,"latitude_deg":11.989812,"altitude":44,"angle":327,"satellites":29,"speed":18,"hex_longitude":"2d1b48c0","hex_latitude":"07258008","is_valid_coordinates":true} 
[2026-08-19 10:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501618432001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13659185707220992,"note":"Value kept but may cause issues"} 
[2026-08-19 10:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971169292597452800,"note":"Value kept but may cause issues"} 
[2026-08-19 10:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787115709000,"timestamp_ms":1787115709000,"timestamp_seconds":1787115709,"priority":1,"record_length":96,"hex_timestamp":"000001a01865a248"} 
[2026-08-19 10:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:33:15] 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-08-19 10:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 10:33:15] 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-08-19 10:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501618432001,"66":14004,"92":206,"28":31744,"24":18,"16":13659185707220992,"45":1971169292597452800},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-19 10:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501618432001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:33:15] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 10:33:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13659185707220992,"km_value":13659185707220.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971169292597452800,"description":"Unknown IO ID 45"} 
[2026-08-19 10:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501618432001,"power":14004,"unknown_92":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1971169292597452800}} 
[2026-08-19 10:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":158738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:33:15] local.INFO: GPS data processed {"connection_id":158738,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:33:15] local.INFO: Acknowledgment sent {"connection_id":158738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:33:38] local.INFO: TCP Data received {"connection_id":158737,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018667538012d2f434006b877a8000b014b28..."} 
[2026-08-19 10:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018667538012d2f434006b877a8000b014b28..."} 
[2026-08-19 10:33:38] local.INFO: Processing buffer {"connection_id":158737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018667538012d2f434006b877a8000b014b28..."} 
[2026-08-19 10:33:38] local.INFO: Packet analysis {"connection_id":158737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01866"} 
[2026-08-19 10:33:38] local.INFO: Extracted packet for processing {"connection_id":158737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01866"} 
[2026-08-19 10:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758072128,"raw_latitude":112752552,"longitude_deg":75.8072128,"latitude_deg":11.2752552,"altitude":11,"angle":331,"satellites":40,"speed":58,"hex_longitude":"2d2f4340","hex_latitude":"06b877a8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501633280001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385474525996777472,"note":"Value kept but may cause issues"} 
[2026-08-19 10:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3411617484083462144,"note":"Value kept but may cause issues"} 
[2026-08-19 10:33:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 10:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787115763000,"timestamp_ms":1787115763000,"timestamp_seconds":1787115763,"priority":1,"record_length":96,"hex_timestamp":"000001a018667538"} 
[2026-08-19 10:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:33: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-08-19 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 10:33:38] 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-08-19 10: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-08-19 10:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501633280001,"66":27800,"81":21760,"24":58,"16":385474525996777472,"45":3411617484083462144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-08-19 10:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501633280001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-08-19 10:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385474525996777472,"km_value":385474525996777.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3411617484083462144,"description":"Unknown IO ID 45"} 
[2026-08-19 10:33:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457501633280001,"power":27800,"unknown_81":21760,"ignition":58,"odometer":null,"unknown_45":3411617484083462144}} 
[2026-08-19 10:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":158737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:33:38] local.INFO: GPS data processed {"connection_id":158737,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:33:38] local.INFO: Acknowledgment sent {"connection_id":158737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:33:46] local.INFO: TCP Data received {"connection_id":158738,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186701d8012d1b48000725d3e0002f00c61d..."} 
[2026-08-19 10:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186701d8012d1b48000725d3e0002f00c61d..."} 
[2026-08-19 10:33:46] local.INFO: Processing buffer {"connection_id":158738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186701d8012d1b48000725d3e0002f00c61d..."} 
[2026-08-19 10:33:46] local.INFO: Packet analysis {"connection_id":158738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:33:46] local.INFO: Extracted packet for processing {"connection_id":158738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756762624,"raw_latitude":119919584,"longitude_deg":75.6762624,"latitude_deg":11.9919584,"altitude":47,"angle":198,"satellites":29,"speed":8,"hex_longitude":"2d1b4800","hex_latitude":"0725d3e0","is_valid_coordinates":true} 
[2026-08-19 10:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501644288001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13660431247736832,"note":"Value kept but may cause issues"} 
[2026-08-19 10:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965891636790861824,"note":"Value kept but may cause issues"} 
[2026-08-19 10:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787115799000,"timestamp_ms":1787115799000,"timestamp_seconds":1787115799,"priority":1,"record_length":96,"hex_timestamp":"000001a0186701d8"} 
[2026-08-19 10:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:33:46] 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-08-19 10:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-19 10:33:46] 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-08-19 10:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501644288001,"66":13820,"92":206,"28":31744,"24":8,"16":13660431247736832,"45":1965891636790861824},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-19 10:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501644288001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:33:46] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 10:33:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13660431247736832,"km_value":13660431247736.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965891636790861824,"description":"Unknown IO ID 45"} 
[2026-08-19 10:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501644288001,"power":13820,"unknown_92":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1965891636790861824}} 
[2026-08-19 10:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":158738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:33:46] local.INFO: GPS data processed {"connection_id":158738,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:33:46] local.INFO: Acknowledgment sent {"connection_id":158738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:34:14] local.INFO: TCP Data received {"connection_id":157490,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:34:14] local.INFO: Processing buffer {"connection_id":157490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:34:14] local.INFO: IMEI packet received {"connection_id":157490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":157490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:34:14] local.INFO: TCP Data received {"connection_id":160040,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:34:14] local.INFO: Processing buffer {"connection_id":160040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:34:14] local.INFO: IMEI packet received {"connection_id":160040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":160040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:34:17] local.INFO: TCP Data received {"connection_id":160040,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:34:17] local.INFO: Processing buffer {"connection_id":160040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:34:17] local.INFO: IMEI packet received {"connection_id":160040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":160040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:34:19] local.INFO: TCP Data received {"connection_id":157490,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:34:19] local.INFO: Processing buffer {"connection_id":157490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:34:19] local.INFO: IMEI packet received {"connection_id":157490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":157490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:34:19] local.INFO: TCP Data received {"connection_id":160040,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018669090012d2f2ec006b89a98000c014829..."} 
[2026-08-19 10:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018669090012d2f2ec006b89a98000c014829..."} 
[2026-08-19 10:34:19] local.INFO: Processing buffer {"connection_id":160040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018669090012d2f2ec006b89a98000c014829..."} 
[2026-08-19 10:34:19] local.INFO: Packet analysis {"connection_id":160040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01866"} 
[2026-08-19 10:34:19] local.INFO: Extracted packet for processing {"connection_id":160040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01866"} 
[2026-08-19 10:34:19] local.INFO: GPS Element Parsed {"raw_longitude":758066880,"raw_latitude":112761496,"longitude_deg":75.806688,"latitude_deg":11.2761496,"altitude":12,"angle":328,"satellites":41,"speed":59,"hex_longitude":"2d2f2ec0","hex_latitude":"06b89a98","is_valid_coordinates":true} 
[2026-08-19 10:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501635328001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385475028507951104,"note":"Value kept but may cause issues"} 
[2026-08-19 10:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3405636140831057920,"note":"Value kept but may cause issues"} 
[2026-08-19 10:34:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 10:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787115770000,"timestamp_ms":1787115770000,"timestamp_seconds":1787115770,"priority":1,"record_length":96,"hex_timestamp":"000001a018669090"} 
[2026-08-19 10:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10: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-08-19 10:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 10:34: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-08-19 10:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:34: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-08-19 10:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501635328001,"66":27876,"81":21760,"24":59,"16":385475028507951104,"45":3405636140831057920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-08-19 10:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501635328001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:34:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-08-19 10:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385475028507951104,"km_value":385475028507951.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3405636140831057920,"description":"Unknown IO ID 45"} 
[2026-08-19 10:34:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457501635328001,"power":27876,"unknown_81":21760,"ignition":59,"odometer":null,"unknown_45":3405636140831057920}} 
[2026-08-19 10:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":160040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:34:19] local.INFO: GPS data processed {"connection_id":160040,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:34:19] local.INFO: Acknowledgment sent {"connection_id":160040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:34:20] local.INFO: TCP Data received {"connection_id":157490,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186709a8012d1b47000725d210002f00d51d..."} 
[2026-08-19 10:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186709a8012d1b47000725d210002f00d51d..."} 
[2026-08-19 10:34:20] local.INFO: Processing buffer {"connection_id":157490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186709a8012d1b47000725d210002f00d51d..."} 
[2026-08-19 10:34:20] local.INFO: Packet analysis {"connection_id":157490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:34:20] local.INFO: Extracted packet for processing {"connection_id":157490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:34:20] local.INFO: GPS Element Parsed {"raw_longitude":756762368,"raw_latitude":119919120,"longitude_deg":75.6762368,"latitude_deg":11.991912,"altitude":47,"angle":213,"satellites":29,"speed":12,"hex_longitude":"2d1b4700","hex_latitude":"0725d210","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501644544001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13660457017540608,"note":"Value kept but may cause issues"} 
[2026-08-19 10:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965821268046635008,"note":"Value kept but may cause issues"} 
[2026-08-19 10:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787115801000,"timestamp_ms":1787115801000,"timestamp_seconds":1787115801,"priority":1,"record_length":96,"hex_timestamp":"000001a0186709a8"} 
[2026-08-19 10:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-19 10:34:20] 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-08-19 10: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-08-19 10:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501644544001,"66":13993,"92":206,"28":31744,"24":12,"16":13660457017540608,"45":1965821268046635008},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-19 10:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501644544001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:34:20] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 10:34:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13660457017540608,"km_value":13660457017540.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965821268046635008,"description":"Unknown IO ID 45"} 
[2026-08-19 10:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501644544001,"power":13993,"unknown_92":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1965821268046635008}} 
[2026-08-19 10:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":157490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:34:20] local.INFO: GPS data processed {"connection_id":157490,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:34:20] local.INFO: Acknowledgment sent {"connection_id":157490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:34:52] local.INFO: TCP Data received {"connection_id":157490,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018672cd0012d1b43400725cbd0002e00c51d..."} 
[2026-08-19 10:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018672cd0012d1b43400725cbd0002e00c51d..."} 
[2026-08-19 10:34:52] local.INFO: Processing buffer {"connection_id":157490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018672cd0012d1b43400725cbd0002e00c51d..."} 
[2026-08-19 10:34:52] local.INFO: Packet analysis {"connection_id":157490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:34:52] local.INFO: Extracted packet for processing {"connection_id":157490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:34:52] local.INFO: GPS Element Parsed {"raw_longitude":756761408,"raw_latitude":119917520,"longitude_deg":75.6761408,"latitude_deg":11.991752,"altitude":46,"angle":197,"satellites":29,"speed":1,"hex_longitude":"2d1b4340","hex_latitude":"0725cbd0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501645056001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13660547211853824,"note":"Value kept but may cause issues"} 
[2026-08-19 10:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965539793069805568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787115810000,"timestamp_ms":1787115810000,"timestamp_seconds":1787115810,"priority":1,"record_length":96,"hex_timestamp":"000001a018672cd0"} 
[2026-08-19 10:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 10:34:52] 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-08-19 10: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-08-19 10:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":157490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":157490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":157490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501645056001,"66":14080,"92":206,"28":31744,"24":1,"16":13660547211853824,"45":1965539793069805568},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-19 10:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501645056001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:34:52] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 10:34:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13660547211853824,"km_value":13660547211853.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965539793069805568,"description":"Unknown IO ID 45"} 
[2026-08-19 10:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501645056001,"power":14080,"unknown_92":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1965539793069805568}} 
[2026-08-19 10:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":157490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:34:52] local.INFO: GPS data processed {"connection_id":157490,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:34:52] local.INFO: Acknowledgment sent {"connection_id":157490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:35:04] local.INFO: TCP Data received {"connection_id":158739,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:35:04] local.INFO: Processing buffer {"connection_id":158739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:35:04] local.INFO: IMEI packet received {"connection_id":158739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":158739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:35:04] local.INFO: TCP Data received {"connection_id":158739,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:35:04] local.INFO: Processing buffer {"connection_id":158739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:35:04] local.INFO: IMEI packet received {"connection_id":158739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":158739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:35:07] local.INFO: TCP Data received {"connection_id":160041,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:35:07] local.INFO: Processing buffer {"connection_id":160041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:35:07] local.INFO: IMEI packet received {"connection_id":160041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":160041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:35:09] local.INFO: TCP Data received {"connection_id":160041,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:35:09] local.INFO: Processing buffer {"connection_id":160041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:35:09] local.INFO: IMEI packet received {"connection_id":160041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":160041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:35:09] local.INFO: TCP Data received {"connection_id":158739,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:35:09] local.INFO: Processing buffer {"connection_id":158739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:35:09] local.INFO: IMEI packet received {"connection_id":158739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":158739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:35:10] local.INFO: TCP Data received {"connection_id":158739,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01867ccf8012d2e638006ba0870001e015527..."} 
[2026-08-19 10:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01867ccf8012d2e638006ba0870001e015527..."} 
[2026-08-19 10:35:10] local.INFO: Processing buffer {"connection_id":158739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01867ccf8012d2e638006ba0870001e015527..."} 
[2026-08-19 10:35:10] local.INFO: Packet analysis {"connection_id":158739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:35:10] local.INFO: Extracted packet for processing {"connection_id":158739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758014848,"raw_latitude":112855152,"longitude_deg":75.8014848,"latitude_deg":11.2855152,"altitude":30,"angle":341,"satellites":39,"speed":47,"hex_longitude":"2d2e6380","hex_latitude":"06ba0870","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501655808001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385480203943542784,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3346385658257592320,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787115851000,"timestamp_ms":1787115851000,"timestamp_seconds":1787115851,"priority":1,"record_length":96,"hex_timestamp":"000001a01867ccf8"} 
[2026-08-19 10:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:35: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-08-19 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 10:35:10] 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-08-19 10: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-08-19 10:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501655808001,"66":28050,"1":206,"81":21760,"24":47,"16":385480203943542784,"45":3346385658257592320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,81,24,16,45]} 
[2026-08-19 10:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501655808001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-08-19 10:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385480203943542784,"km_value":385480203943542.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3346385658257592320,"description":"Unknown IO ID 45"} 
[2026-08-19 10:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501655808001,"power":28050,"imei":206,"unknown_81":21760,"ignition":47,"odometer":null,"unknown_45":3346385658257592320}} 
[2026-08-19 10:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":158739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:35:10] local.INFO: GPS data processed {"connection_id":158739,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:35:10] local.INFO: Acknowledgment sent {"connection_id":158739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:35:11] local.INFO: TCP Data received {"connection_id":158739,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01867e850012d2e574006ba2a48001b015424..."} 
[2026-08-19 10:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01867e850012d2e574006ba2a48001b015424..."} 
[2026-08-19 10:35:11] local.INFO: Processing buffer {"connection_id":158739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01867e850012d2e574006ba2a48001b015424..."} 
[2026-08-19 10:35:11] local.INFO: Packet analysis {"connection_id":158739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:35:11] local.INFO: Extracted packet for processing {"connection_id":158739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:35:11] local.INFO: GPS Element Parsed {"raw_longitude":758011712,"raw_latitude":112863816,"longitude_deg":75.8011712,"latitude_deg":11.2863816,"altitude":27,"angle":340,"satellites":36,"speed":56,"hex_longitude":"2d2e5740","hex_latitude":"06ba2a48","is_valid_coordinates":true} 
[2026-08-19 10:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501657856001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385480650620141568,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3342656114818314240,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787115858000,"timestamp_ms":1787115858000,"timestamp_seconds":1787115858,"priority":1,"record_length":96,"hex_timestamp":"000001a01867e850"} 
[2026-08-19 10:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:35: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-08-19 10:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 10:35:11] 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-08-19 10:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501657856001,"66":28050,"139":206,"81":20992,"24":56,"16":385480650620141568,"45":3342656114818314240},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,81,24,16,45]} 
[2026-08-19 10:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501657856001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:35:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-19 10:35:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385480650620141568,"km_value":385480650620141.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3342656114818314240,"description":"Unknown IO ID 45"} 
[2026-08-19 10:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501657856001,"power":28050,"unknown_139":206,"unknown_81":20992,"ignition":56,"odometer":null,"unknown_45":3342656114818314240}} 
[2026-08-19 10:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":158739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:35:11] local.INFO: GPS data processed {"connection_id":158739,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:35:11] local.INFO: Acknowledgment sent {"connection_id":158739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:35:14] local.INFO: TCP Data received {"connection_id":160041,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:35:14] local.INFO: Processing buffer {"connection_id":160041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:35:14] local.INFO: IMEI packet received {"connection_id":160041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":160041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:35:15] local.INFO: TCP Data received {"connection_id":160041,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018676b50012d1b43c00725cc38002f001f1b..."} 
[2026-08-19 10:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018676b50012d1b43c00725cc38002f001f1b..."} 
[2026-08-19 10:35:15] local.INFO: Processing buffer {"connection_id":160041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018676b50012d1b43c00725cc38002f001f1b..."} 
[2026-08-19 10:35:15] local.INFO: Packet analysis {"connection_id":160041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:35:15] local.INFO: Extracted packet for processing {"connection_id":160041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756761536,"raw_latitude":119917624,"longitude_deg":75.6761536,"latitude_deg":11.9917624,"altitude":47,"angle":31,"satellites":27,"speed":3,"hex_longitude":"2d1b43c0","hex_latitude":"0725cc38","is_valid_coordinates":true} 
[2026-08-19 10:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501647360001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13660560096755712,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964484261906731008,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787115826000,"timestamp_ms":1787115826000,"timestamp_seconds":1787115826,"priority":1,"record_length":96,"hex_timestamp":"000001a018676b50"} 
[2026-08-19 10:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:35:15] 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-08-19 10:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-19 10:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454491648,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:15] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3579314224,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3881566414,"corrected_to":0} 
[2026-08-19 10:35:15] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2952867099,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:15] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3221693909,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:15] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,92,28,24,241,158,16,136,160,9,45,210,47,29,10,66,1,211,253,64,240,37,4,113,205,7,222,70,144,239,56,2,48,8],"length":479,"final_offset":609,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3881566414,"validated":0}]} 
[2026-08-19 10:35:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314866054089474048,"timestamp_seconds":3314866054089474.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 10:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501647360001,"66":14483,"92":206,"28":31744,"24":3,"16":13660560096755712,"45":1964484261906731008},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-19 10:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501647360001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:35:15] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 10:35:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13660560096755712,"km_value":13660560096755.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964484261906731008,"description":"Unknown IO ID 45"} 
[2026-08-19 10:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501647360001,"power":14483,"unknown_92":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1964484261906731008}} 
[2026-08-19 10:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":160041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:35:16] local.INFO: GPS data processed {"connection_id":160041,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:35:16] local.INFO: Acknowledgment sent {"connection_id":160041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:35:41] local.INFO: TCP Data received {"connection_id":158739,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186803a8012d2e45c006ba4ed80019014c22..."} 
[2026-08-19 10:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186803a8012d2e45c006ba4ed80019014c22..."} 
[2026-08-19 10:35:41] local.INFO: Processing buffer {"connection_id":158739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186803a8012d2e45c006ba4ed80019014c22..."} 
[2026-08-19 10:35:41] local.INFO: Packet analysis {"connection_id":158739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01868"} 
[2026-08-19 10:35:41] local.INFO: Extracted packet for processing {"connection_id":158739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01868"} 
[2026-08-19 10:35:41] local.INFO: GPS Element Parsed {"raw_longitude":758007232,"raw_latitude":112873176,"longitude_deg":75.8007232,"latitude_deg":11.2873176,"altitude":25,"angle":332,"satellites":34,"speed":59,"hex_longitude":"2d2e45c0","hex_latitude":"06ba4ed8","is_valid_coordinates":true} 
[2026-08-19 10:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501659648001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385481153131315200,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3339208046355826688,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787115865000,"timestamp_ms":1787115865000,"timestamp_seconds":1787115865,"priority":1,"record_length":96,"hex_timestamp":"000001a0186803a8"} 
[2026-08-19 10:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:35: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-08-19 10:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 10:35:41] 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-08-19 10:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501659648001,"66":27908,"139":206,"81":20992,"24":59,"16":385481153131315200,"45":3339208046355826688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,81,24,16,45]} 
[2026-08-19 10:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501659648001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:35:41] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-19 10:35:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385481153131315200,"km_value":385481153131315.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3339208046355826688,"description":"Unknown IO ID 45"} 
[2026-08-19 10:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501659648001,"power":27908,"unknown_139":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":3339208046355826688}} 
[2026-08-19 10:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":158739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:35:41] local.INFO: GPS data processed {"connection_id":158739,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:35:41] local.INFO: Acknowledgment sent {"connection_id":158739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:35:47] local.INFO: TCP Data received {"connection_id":160041,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018677320012d1b44800725cd08002f002a1b..."} 
[2026-08-19 10:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018677320012d1b44800725cd08002f002a1b..."} 
[2026-08-19 10:35:47] local.INFO: Processing buffer {"connection_id":160041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018677320012d1b44800725cd08002f002a1b..."} 
[2026-08-19 10:35:47] local.INFO: Packet analysis {"connection_id":160041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:35:47] local.INFO: Extracted packet for processing {"connection_id":160041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756761728,"raw_latitude":119917832,"longitude_deg":75.6761728,"latitude_deg":11.9917832,"altitude":47,"angle":42,"satellites":27,"speed":6,"hex_longitude":"2d1b4480","hex_latitude":"0725cd08","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501651456001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13660572981657600,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964624999395112960,"note":"Value kept but may cause issues"} 
[2026-08-19 10:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787115828000,"timestamp_ms":1787115828000,"timestamp_seconds":1787115828,"priority":1,"record_length":96,"hex_timestamp":"000001a018677320"} 
[2026-08-19 10:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-19 10:35:47] 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-08-19 10: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-08-19 10:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501651456001,"66":14048,"92":206,"28":31744,"24":6,"16":13660572981657600,"45":1964624999395112960},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-19 10:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501651456001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:35:47] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 10:35:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13660572981657600,"km_value":13660572981657.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964624999395112960,"description":"Unknown IO ID 45"} 
[2026-08-19 10:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501651456001,"power":14048,"unknown_92":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1964624999395112960}} 
[2026-08-19 10:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":160041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:35:47] local.INFO: GPS data processed {"connection_id":160041,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:35:47] local.INFO: Acknowledgment sent {"connection_id":160041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:36:04] local.INFO: TCP Data received {"connection_id":157858,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:36:04] local.INFO: Processing buffer {"connection_id":157858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:36:04] local.INFO: IMEI packet received {"connection_id":157858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":157858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:36:09] local.INFO: TCP Data received {"connection_id":157858,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:36:09] local.INFO: Processing buffer {"connection_id":157858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:36:09] local.INFO: IMEI packet received {"connection_id":157858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":157858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:36:09] local.INFO: TCP Data received {"connection_id":158740,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:36:09] local.INFO: Processing buffer {"connection_id":158740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:36:09] local.INFO: IMEI packet received {"connection_id":158740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":158740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:36:10] local.INFO: TCP Data received {"connection_id":158740,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:36:10] local.INFO: Processing buffer {"connection_id":158740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:36:10] local.INFO: IMEI packet received {"connection_id":158740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":158740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:36:11] local.INFO: TCP Data received {"connection_id":157858,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018681b18012d2e368006ba6f40001801501d..."} 
[2026-08-19 10:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018681b18012d2e368006ba6f40001801501d..."} 
[2026-08-19 10:36:11] local.INFO: Processing buffer {"connection_id":157858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018681b18012d2e368006ba6f40001801501d..."} 
[2026-08-19 10:36:11] local.INFO: Packet analysis {"connection_id":157858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01868"} 
[2026-08-19 10:36:11] local.INFO: Extracted packet for processing {"connection_id":157858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01868"} 
[2026-08-19 10:36:11] local.INFO: GPS Element Parsed {"raw_longitude":758003328,"raw_latitude":112881472,"longitude_deg":75.8003328,"latitude_deg":11.2881472,"altitude":24,"angle":336,"satellites":29,"speed":59,"hex_longitude":"2d2e3680","hex_latitude":"06ba6f40","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501661440001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385481595512946688,"note":"Value kept but may cause issues"} 
[2026-08-19 10:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3334282234265786368,"note":"Value kept but may cause issues"} 
[2026-08-19 10:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787115871000,"timestamp_ms":1787115871000,"timestamp_seconds":1787115871,"priority":1,"record_length":96,"hex_timestamp":"000001a018681b18"} 
[2026-08-19 10:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:36: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-08-19 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 10:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501661440001,"66":27876,"139":206,"81":20992,"24":59,"16":385481595512946688,"45":3334282234265786368},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,81,24,16,45]} 
[2026-08-19 10:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501661440001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:36:11] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-19 10:36:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385481595512946688,"km_value":385481595512946.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3334282234265786368,"description":"Unknown IO ID 45"} 
[2026-08-19 10:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501661440001,"power":27876,"unknown_139":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":3334282234265786368}} 
[2026-08-19 10:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":157858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:36:11] local.INFO: GPS data processed {"connection_id":157858,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:36:11] local.INFO: Acknowledgment sent {"connection_id":157858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:36:14] local.INFO: TCP Data received {"connection_id":158740,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:36:14] local.INFO: Processing buffer {"connection_id":158740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:36:14] local.INFO: IMEI packet received {"connection_id":158740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":158740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:36:15] local.INFO: TCP Data received {"connection_id":158740,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018677af0012d1b45000725cd98002f00111a..."} 
[2026-08-19 10:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018677af0012d1b45000725cd98002f00111a..."} 
[2026-08-19 10:36:15] local.INFO: Processing buffer {"connection_id":158740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018677af0012d1b45000725cd98002f00111a..."} 
[2026-08-19 10:36:15] local.INFO: Packet analysis {"connection_id":158740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:36:15] local.INFO: Extracted packet for processing {"connection_id":158740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756761856,"raw_latitude":119917976,"longitude_deg":75.6761856,"latitude_deg":11.9917976,"altitude":47,"angle":17,"satellites":26,"speed":1,"hex_longitude":"2d1b4500","hex_latitude":"0725cd98","is_valid_coordinates":true} 
[2026-08-19 10:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501651968001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13660581571592192,"note":"Value kept but may cause issues"} 
[2026-08-19 10:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964836105627699200,"note":"Value kept but may cause issues"} 
[2026-08-19 10:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787115830000,"timestamp_ms":1787115830000,"timestamp_seconds":1787115830,"priority":1,"record_length":96,"hex_timestamp":"000001a018677af0"} 
[2026-08-19 10:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:36:15] 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-08-19 10:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 10:36:15] 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-08-19 10:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501651968001,"66":13243,"92":206,"28":31744,"24":1,"16":13660581571592192,"45":1964836105627699200},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-19 10:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501651968001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:36:15] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 10:36:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13660581571592192,"km_value":13660581571592.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964836105627699200,"description":"Unknown IO ID 45"} 
[2026-08-19 10:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501651968001,"power":13243,"unknown_92":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1964836105627699200}} 
[2026-08-19 10:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":158740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:36:16] local.INFO: GPS data processed {"connection_id":158740,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:36:16] local.INFO: Acknowledgment sent {"connection_id":158740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:36:47] local.INFO: TCP Data received {"connection_id":158740,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018677ed8012d1b45000725cd70002f00ca1b..."} 
[2026-08-19 10:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018677ed8012d1b45000725cd70002f00ca1b..."} 
[2026-08-19 10:36:47] local.INFO: Processing buffer {"connection_id":158740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018677ed8012d1b45000725cd70002f00ca1b..."} 
[2026-08-19 10:36:47] local.INFO: Packet analysis {"connection_id":158740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:36:47] local.INFO: Extracted packet for processing {"connection_id":158740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:36:47] local.INFO: GPS Element Parsed {"raw_longitude":756761856,"raw_latitude":119917936,"longitude_deg":75.6761856,"latitude_deg":11.9917936,"altitude":47,"angle":202,"satellites":27,"speed":1,"hex_longitude":"2d1b4500","hex_latitude":"0725cd70","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501652480001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13660581571592192,"note":"Value kept but may cause issues"} 
[2026-08-19 10:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964976843116091392,"note":"Value kept but may cause issues"} 
[2026-08-19 10:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787115831000,"timestamp_ms":1787115831000,"timestamp_seconds":1787115831,"priority":1,"record_length":96,"hex_timestamp":"000001a018677ed8"} 
[2026-08-19 10:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 10:36:47] 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-08-19 10: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-08-19 10:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501652480001,"66":12461,"92":206,"28":31744,"24":1,"16":13660581571592192,"45":1964976843116091392},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-19 10:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501652480001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:36:47] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 10:36:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13660581571592192,"km_value":13660581571592.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964976843116091392,"description":"Unknown IO ID 45"} 
[2026-08-19 10:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501652480001,"power":12461,"unknown_92":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1964976843116091392}} 
[2026-08-19 10:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":158740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:36:47] local.INFO: GPS data processed {"connection_id":158740,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:36:47] local.INFO: Acknowledgment sent {"connection_id":158740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:37:00] local.INFO: TCP Data received {"connection_id":160042,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:37:00] local.INFO: Processing buffer {"connection_id":160042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:37:00] local.INFO: IMEI packet received {"connection_id":160042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":160042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:37:04] local.INFO: TCP Data received {"connection_id":160042,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:37:04] local.INFO: Processing buffer {"connection_id":160042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:37:04] local.INFO: IMEI packet received {"connection_id":160042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":160042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:37:05] local.INFO: TCP Data received {"connection_id":160042,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018695f50012d2d554006bc07200011013f2a..."} 
[2026-08-19 10:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018695f50012d2d554006bc07200011013f2a..."} 
[2026-08-19 10:37:05] local.INFO: Processing buffer {"connection_id":160042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018695f50012d2d554006bc07200011013f2a..."} 
[2026-08-19 10:37:05] local.INFO: Packet analysis {"connection_id":160042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01869"} 
[2026-08-19 10:37:05] local.INFO: Extracted packet for processing {"connection_id":160042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01869"} 
[2026-08-19 10:37:05] local.INFO: GPS Element Parsed {"raw_longitude":757945664,"raw_latitude":112985888,"longitude_deg":75.7945664,"latitude_deg":11.2985888,"altitude":17,"angle":319,"satellites":42,"speed":59,"hex_longitude":"2d2d5540","hex_latitude":"06bc0720","is_valid_coordinates":true} 
[2026-08-19 10:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501682688001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385487398013763584,"note":"Value kept but may cause issues"} 
[2026-08-19 10:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3273061426858356736,"note":"Value kept but may cause issues"} 
[2026-08-19 10:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787115954000,"timestamp_ms":1787115954000,"timestamp_seconds":1787115954,"priority":1,"record_length":96,"hex_timestamp":"000001a018695f50"} 
[2026-08-19 10:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:37: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-08-19 10:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 10:37:05] 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-08-19 10:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:37:05] 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-08-19 10:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501682688001,"66":27908,"140":206,"81":20992,"24":59,"16":385487398013763584,"45":3273061426858356736},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-08-19 10:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501682688001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:37:05] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-19 10:37:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385487398013763584,"km_value":385487398013763.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3273061426858356736,"description":"Unknown IO ID 45"} 
[2026-08-19 10:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501682688001,"power":27908,"unknown_140":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":3273061426858356736}} 
[2026-08-19 10:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":160042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:37:06] local.INFO: GPS data processed {"connection_id":160042,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:37:06] local.INFO: Acknowledgment sent {"connection_id":160042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:37:09] local.INFO: TCP Data received {"connection_id":157859,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:37:09] local.INFO: Processing buffer {"connection_id":157859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:37:09] local.INFO: IMEI packet received {"connection_id":157859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":157859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:37:13] local.INFO: TCP Data received {"connection_id":157859,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:37:13] local.INFO: Processing buffer {"connection_id":157859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:37:13] local.INFO: IMEI packet received {"connection_id":157859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":157859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:37:15] local.INFO: TCP Data received {"connection_id":157859,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186786a8012d1b44c00725cc98002f00be1b..."} 
[2026-08-19 10:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186786a8012d1b44c00725cc98002f00be1b..."} 
[2026-08-19 10:37:15] local.INFO: Processing buffer {"connection_id":157859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186786a8012d1b44c00725cc98002f00be1b..."} 
[2026-08-19 10:37:15] local.INFO: Packet analysis {"connection_id":157859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:37:15] local.INFO: Extracted packet for processing {"connection_id":157859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756761792,"raw_latitude":119917720,"longitude_deg":75.6761792,"latitude_deg":11.991772,"altitude":47,"angle":190,"satellites":27,"speed":6,"hex_longitude":"2d1b44c0","hex_latitude":"0725cc98","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501652736001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13660594456494080,"note":"Value kept but may cause issues"} 
[2026-08-19 10:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964976843116081152,"note":"Value kept but may cause issues"} 
[2026-08-19 10:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787115833000,"timestamp_ms":1787115833000,"timestamp_seconds":1787115833,"priority":1,"record_length":96,"hex_timestamp":"000001a0186786a8"} 
[2026-08-19 10:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:37:15] 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-08-19 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 10:37:15] 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-08-19 10: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-08-19 10:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501652736001,"66":13276,"92":206,"28":31744,"24":6,"16":13660594456494080,"45":1964976843116081152},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-19 10:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501652736001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:37:15] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 10:37:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13660594456494080,"km_value":13660594456494.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964976843116081152,"description":"Unknown IO ID 45"} 
[2026-08-19 10:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501652736001,"power":13276,"unknown_92":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1964976843116081152}} 
[2026-08-19 10:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":157859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:37:15] local.INFO: GPS data processed {"connection_id":157859,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:37:15] local.INFO: Acknowledgment sent {"connection_id":157859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:37:37] local.INFO: TCP Data received {"connection_id":160042,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186976c0012d2d3ec006bc21e8001101432a..."} 
[2026-08-19 10:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186976c0012d2d3ec006bc21e8001101432a..."} 
[2026-08-19 10:37:37] local.INFO: Processing buffer {"connection_id":160042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186976c0012d2d3ec006bc21e8001101432a..."} 
[2026-08-19 10:37:37] local.INFO: Packet analysis {"connection_id":160042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01869"} 
[2026-08-19 10:37:37] local.INFO: Extracted packet for processing {"connection_id":160042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01869"} 
[2026-08-19 10:37:37] local.INFO: GPS Element Parsed {"raw_longitude":757939904,"raw_latitude":112992744,"longitude_deg":75.7939904,"latitude_deg":11.2992744,"altitude":17,"angle":323,"satellites":42,"speed":58,"hex_longitude":"2d2d3ec0","hex_latitude":"06bc21e8","is_valid_coordinates":true} 
[2026-08-19 10:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501684224001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385487827510493184,"note":"Value kept but may cause issues"} 
[2026-08-19 10:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3266587502395727872,"note":"Value kept but may cause issues"} 
[2026-08-19 10:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787115960000,"timestamp_ms":1787115960000,"timestamp_seconds":1787115960,"priority":1,"record_length":96,"hex_timestamp":"000001a0186976c0"} 
[2026-08-19 10:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 10:37:37] 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-08-19 10:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:37:37] 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-08-19 10:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501684224001,"66":27930,"140":206,"81":20992,"24":58,"16":385487827510493184,"45":3266587502395727872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-08-19 10:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501684224001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:37:37] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-19 10:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385487827510493184,"km_value":385487827510493.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3266587502395727872,"description":"Unknown IO ID 45"} 
[2026-08-19 10:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501684224001,"power":27930,"unknown_140":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":3266587502395727872}} 
[2026-08-19 10:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":160042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:37:37] local.INFO: GPS data processed {"connection_id":160042,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:37:37] local.INFO: Acknowledgment sent {"connection_id":160042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:37:46] local.INFO: TCP Data received {"connection_id":157859,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018678e78012d1b44800725cba8002e00d71c..."} 
[2026-08-19 10:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018678e78012d1b44800725cba8002e00d71c..."} 
[2026-08-19 10:37:46] local.INFO: Processing buffer {"connection_id":157859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018678e78012d1b44800725cba8002e00d71c..."} 
[2026-08-19 10:37:46] local.INFO: Packet analysis {"connection_id":157859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:37:46] local.INFO: Extracted packet for processing {"connection_id":157859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01867"} 
[2026-08-19 10:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756761728,"raw_latitude":119917480,"longitude_deg":75.6761728,"latitude_deg":11.991748,"altitude":46,"angle":215,"satellites":28,"speed":5,"hex_longitude":"2d1b4480","hex_latitude":"0725cba8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501653248001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13660607341395968,"note":"Value kept but may cause issues"} 
[2026-08-19 10:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964906474371848192,"note":"Value kept but may cause issues"} 
[2026-08-19 10:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787115835000,"timestamp_ms":1787115835000,"timestamp_seconds":1787115835,"priority":1,"record_length":96,"hex_timestamp":"000001a018678e78"} 
[2026-08-19 10:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:37:46] 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-08-19 10: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":220,"data_length":795,"current_offset":136} 
[2026-08-19 10:37:46] 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-08-19 10: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-08-19 10:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501653248001,"66":13276,"92":206,"28":31744,"24":5,"16":13660607341395968,"45":1964906474371848192},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-19 10:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501653248001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:37:46] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 10:37:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13660607341395968,"km_value":13660607341395.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964906474371848192,"description":"Unknown IO ID 45"} 
[2026-08-19 10:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501653248001,"power":13276,"unknown_92":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1964906474371848192}} 
[2026-08-19 10:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":157859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:37:46] local.INFO: GPS data processed {"connection_id":157859,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:37:46] local.INFO: Acknowledgment sent {"connection_id":157859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:37:59] local.INFO: TCP Data received {"connection_id":157491,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:37:59] local.INFO: Processing buffer {"connection_id":157491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:37:59] local.INFO: IMEI packet received {"connection_id":157491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":157491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:38:02] local.INFO: TCP Data received {"connection_id":157491,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157491,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:38:02] local.INFO: Processing buffer {"connection_id":157491,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:38:02] local.INFO: IMEI packet received {"connection_id":157491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":157491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:38:04] local.INFO: TCP Data received {"connection_id":157491,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:38:04] local.INFO: Processing buffer {"connection_id":157491,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:38:04] local.INFO: IMEI packet received {"connection_id":157491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":157491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:38:06] local.INFO: TCP Data received {"connection_id":157491,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186a8c18012d2c2a8006bd5138001101302a..."} 
[2026-08-19 10:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186a8c18012d2c2a8006bd5138001101302a..."} 
[2026-08-19 10:38:06] local.INFO: Processing buffer {"connection_id":157491,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a018..."} 
[2026-08-19 10:38:06] local.INFO: IMEI packet received {"connection_id":157491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":157491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:38:07] local.INFO: TCP Data received {"connection_id":157491,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186a8c18012d2c2a8006bd5138001101302a..."} 
[2026-08-19 10:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186a8c18012d2c2a8006bd5138001101302a..."} 
[2026-08-19 10:38:07] local.INFO: Processing buffer {"connection_id":157491,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0186a8c18012d2c2a8006bd5138001101302a..."} 
[2026-08-19 10:38:07] local.INFO: Packet analysis {"connection_id":157491,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0186a"} 
[2026-08-19 10:38:07] local.INFO: Extracted packet for processing {"connection_id":157491,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186a"} 
[2026-08-19 10:38:07] local.INFO: GPS Element Parsed {"raw_longitude":757869184,"raw_latitude":113070392,"longitude_deg":75.7869184,"latitude_deg":11.3070392,"altitude":17,"angle":304,"satellites":42,"speed":60,"hex_longitude":"2d2c2a80","hex_latitude":"06bd5138","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501702400001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385492882687000576,"note":"Value kept but may cause issues"} 
[2026-08-19 10:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3190237414983077888,"note":"Value kept but may cause issues"} 
[2026-08-19 10:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787116031000,"timestamp_ms":1787116031000,"timestamp_seconds":1787116031,"priority":1,"record_length":96,"hex_timestamp":"000001a0186a8c18"} 
[2026-08-19 10:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:38: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-08-19 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 10:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:38:07] 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-08-19 10:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501702400001,"66":27995,"124":206,"81":20992,"24":60,"16":385492882687000576,"45":3190237414983077888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-08-19 10:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501702400001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:38:07] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-19 10:38:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385492882687000576,"km_value":385492882687000.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3190237414983077888,"description":"Unknown IO ID 45"} 
[2026-08-19 10:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501702400001,"power":27995,"unknown_124":206,"unknown_81":20992,"ignition":60,"odometer":null,"unknown_45":3190237414983077888}} 
[2026-08-19 10:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":157491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:38:07] local.INFO: GPS data processed {"connection_id":157491,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:38:07] local.INFO: Acknowledgment sent {"connection_id":157491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:38:07] local.INFO: Packet analysis {"connection_id":157491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186a"} 
[2026-08-19 10:38:07] local.INFO: Extracted packet for processing {"connection_id":157491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186a"} 
[2026-08-19 10:38:07] local.INFO: GPS Element Parsed {"raw_longitude":757869184,"raw_latitude":113070392,"longitude_deg":75.7869184,"latitude_deg":11.3070392,"altitude":17,"angle":304,"satellites":42,"speed":60,"hex_longitude":"2d2c2a80","hex_latitude":"06bd5138","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501703936001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385492882687000576,"note":"Value kept but may cause issues"} 
[2026-08-19 10:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3182496853125052416,"note":"Value kept but may cause issues"} 
[2026-08-19 10:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787116031000,"timestamp_ms":1787116031000,"timestamp_seconds":1787116031,"priority":1,"record_length":96,"hex_timestamp":"000001a0186a8c18"} 
[2026-08-19 10:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:38: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-08-19 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 10:38:07] 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-08-19 10: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-08-19 10:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:38:07] 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-08-19 10:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501703936001,"66":27995,"124":206,"81":20992,"24":60,"16":385492882687000576,"45":3182496853125052416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-08-19 10:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501703936001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:38:07] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-19 10:38:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385492882687000576,"km_value":385492882687000.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3182496853125052416,"description":"Unknown IO ID 45"} 
[2026-08-19 10:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501703936001,"power":27995,"unknown_124":206,"unknown_81":20992,"ignition":60,"odometer":null,"unknown_45":3182496853125052416}} 
[2026-08-19 10:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":157491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:38:07] local.INFO: GPS data processed {"connection_id":157491,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:38:07] local.INFO: Acknowledgment sent {"connection_id":157491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:38:09] local.INFO: TCP Data received {"connection_id":160043,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:38:09] local.INFO: Processing buffer {"connection_id":160043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:38:09] local.INFO: IMEI packet received {"connection_id":160043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":160043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:38:10] local.INFO: TCP Data received {"connection_id":160043,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:38:10] local.INFO: Processing buffer {"connection_id":160043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:38:10] local.INFO: IMEI packet received {"connection_id":160043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":160043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:38:15] local.INFO: TCP Data received {"connection_id":160043,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:38:15] local.INFO: Processing buffer {"connection_id":160043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:38:15] local.INFO: IMEI packet received {"connection_id":160043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":160043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:38:16] local.INFO: TCP Data received {"connection_id":160043,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186b0530012d1b43400725c980002d00fa20..."} 
[2026-08-19 10:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186b0530012d1b43400725c980002d00fa20..."} 
[2026-08-19 10:38:16] local.INFO: Processing buffer {"connection_id":160043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186b0530012d1b43400725c980002d00fa20..."} 
[2026-08-19 10:38:16] local.INFO: Packet analysis {"connection_id":160043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186b"} 
[2026-08-19 10:38:16] local.INFO: Extracted packet for processing {"connection_id":160043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186b"} 
[2026-08-19 10:38:16] local.INFO: GPS Element Parsed {"raw_longitude":756761408,"raw_latitude":119916928,"longitude_deg":75.6761408,"latitude_deg":11.9916928,"altitude":45,"angle":250,"satellites":32,"speed":2,"hex_longitude":"2d1b4340","hex_latitude":"0725c980","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501706752001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13660637406167040,"note":"Value kept but may cause issues"} 
[2026-08-19 10:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964695368139231232,"note":"Value kept but may cause issues"} 
[2026-08-19 10:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787116062000,"timestamp_ms":1787116062000,"timestamp_seconds":1787116062,"priority":1,"record_length":96,"hex_timestamp":"000001a0186b0530"} 
[2026-08-19 10:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:38:16] 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-08-19 10: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-19 10:38:16] 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-08-19 10: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-08-19 10:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501706752001,"66":14135,"92":206,"28":31744,"24":2,"16":13660637406167040,"45":1964695368139231232},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-19 10:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501706752001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:38:16] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 10:38:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13660637406167040,"km_value":13660637406167.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964695368139231232,"description":"Unknown IO ID 45"} 
[2026-08-19 10:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501706752001,"power":14135,"unknown_92":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1964695368139231232}} 
[2026-08-19 10:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":160043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:38:16] local.INFO: GPS data processed {"connection_id":160043,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:38:16] local.INFO: Acknowledgment sent {"connection_id":160043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:38:39] local.INFO: TCP Data received {"connection_id":157491,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186aa388012d2c0e0006bd65c80012013528..."} 
[2026-08-19 10:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186aa388012d2c0e0006bd65c80012013528..."} 
[2026-08-19 10:38:39] local.INFO: Processing buffer {"connection_id":157491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186aa388012d2c0e0006bd65c80012013528..."} 
[2026-08-19 10:38:39] local.INFO: Packet analysis {"connection_id":157491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186a"} 
[2026-08-19 10:38:39] local.INFO: Extracted packet for processing {"connection_id":157491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186a"} 
[2026-08-19 10:38:39] local.INFO: GPS Element Parsed {"raw_longitude":757861888,"raw_latitude":113075656,"longitude_deg":75.7861888,"latitude_deg":11.3075656,"altitude":18,"angle":309,"satellites":40,"speed":59,"hex_longitude":"2d2c0e00","hex_latitude":"06bd65c8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501703936001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385493312183730176,"note":"Value kept but may cause issues"} 
[2026-08-19 10:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3182496853125052416,"note":"Value kept but may cause issues"} 
[2026-08-19 10:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787116037000,"timestamp_ms":1787116037000,"timestamp_seconds":1787116037,"priority":1,"record_length":96,"hex_timestamp":"000001a0186aa388"} 
[2026-08-19 10:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 10:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:38:39] 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-08-19 10:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501703936001,"66":27974,"124":206,"81":20992,"24":59,"16":385493312183730176,"45":3182496853125052416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-08-19 10:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501703936001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:38:39] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-19 10:38:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385493312183730176,"km_value":385493312183730.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3182496853125052416,"description":"Unknown IO ID 45"} 
[2026-08-19 10:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501703936001,"power":27974,"unknown_124":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":3182496853125052416}} 
[2026-08-19 10:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":157491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:38:39] local.INFO: GPS data processed {"connection_id":157491,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:38:39] local.INFO: Acknowledgment sent {"connection_id":157491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:38:47] local.INFO: TCP Data received {"connection_id":160043,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186b0918012d1b43000725c8a8002e00e020..."} 
[2026-08-19 10:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186b0918012d1b43000725c8a8002e00e020..."} 
[2026-08-19 10:38:47] local.INFO: Processing buffer {"connection_id":160043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186b0918012d1b43000725c8a8002e00e020..."} 
[2026-08-19 10:38:47] local.INFO: Packet analysis {"connection_id":160043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186b"} 
[2026-08-19 10:38:47] local.INFO: Extracted packet for processing {"connection_id":160043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186b"} 
[2026-08-19 10:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756761344,"raw_latitude":119916712,"longitude_deg":75.6761344,"latitude_deg":11.9916712,"altitude":46,"angle":224,"satellites":32,"speed":4,"hex_longitude":"2d1b4300","hex_latitude":"0725c8a8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501711872001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13660650291068928,"note":"Value kept but may cause issues"} 
[2026-08-19 10:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964484261906579456,"note":"Value kept but may cause issues"} 
[2026-08-19 10:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787116063000,"timestamp_ms":1787116063000,"timestamp_seconds":1787116063,"priority":1,"record_length":96,"hex_timestamp":"000001a0186b0918"} 
[2026-08-19 10:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 10:38:47] 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-08-19 10: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-08-19 10:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501711872001,"66":14135,"92":206,"28":31744,"24":4,"16":13660650291068928,"45":1964484261906579456},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-19 10:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501711872001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:38:47] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 10:38:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13660650291068928,"km_value":13660650291068.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964484261906579456,"description":"Unknown IO ID 45"} 
[2026-08-19 10:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501711872001,"power":14135,"unknown_92":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1964484261906579456}} 
[2026-08-19 10:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":160043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:38:48] local.INFO: GPS data processed {"connection_id":160043,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:38:48] local.INFO: Acknowledgment sent {"connection_id":160043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:39:02] local.INFO: TCP Data received {"connection_id":158741,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:39:02] local.INFO: Processing buffer {"connection_id":158741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:39:02] local.INFO: IMEI packet received {"connection_id":158741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":158741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:39:05] local.INFO: TCP Data received {"connection_id":158741,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:39:05] local.INFO: Processing buffer {"connection_id":158741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:39:05] local.INFO: IMEI packet received {"connection_id":158741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":158741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:39:08] local.INFO: TCP Data received {"connection_id":158741,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:39:08] local.INFO: Processing buffer {"connection_id":158741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:39:08] local.INFO: IMEI packet received {"connection_id":158741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":158741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:39:09] local.INFO: TCP Data received {"connection_id":158741,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186abaf8012d2bf54006bd7e980010014029..."} 
[2026-08-19 10:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186abaf8012d2bf54006bd7e980010014029..."} 
[2026-08-19 10:39:09] local.INFO: Processing buffer {"connection_id":158741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186abaf8012d2bf54006bd7e980010014029..."} 
[2026-08-19 10:39:09] local.INFO: Packet analysis {"connection_id":158741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186a"} 
[2026-08-19 10:39:09] local.INFO: Extracted packet for processing {"connection_id":158741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186a"} 
[2026-08-19 10:39:09] local.INFO: GPS Element Parsed {"raw_longitude":757855552,"raw_latitude":113082008,"longitude_deg":75.7855552,"latitude_deg":11.3082008,"altitude":16,"angle":320,"satellites":41,"speed":60,"hex_longitude":"2d2bf540","hex_latitude":"06bd7e98","is_valid_coordinates":true} 
[2026-08-19 10:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501705472001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385493745975427072,"note":"Value kept but may cause issues"} 
[2026-08-19 10:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3174474816290146304,"note":"Value kept but may cause issues"} 
[2026-08-19 10:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787116043000,"timestamp_ms":1787116043000,"timestamp_seconds":1787116043,"priority":1,"record_length":96,"hex_timestamp":"000001a0186abaf8"} 
[2026-08-19 10:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 10:39:09] 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-08-19 10:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":158741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":158741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":158741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:39:09] 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-08-19 10:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501705472001,"66":27984,"125":206,"81":20992,"24":60,"16":385493745975427072,"45":3174474816290146304},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-08-19 10:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501705472001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:39:09] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-19 10:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385493745975427072,"km_value":385493745975427.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3174474816290146304,"description":"Unknown IO ID 45"} 
[2026-08-19 10:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501705472001,"power":27984,"unknown_125":206,"unknown_81":20992,"ignition":60,"odometer":null,"unknown_45":3174474816290146304}} 
[2026-08-19 10:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":158741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:39:09] local.INFO: GPS data processed {"connection_id":158741,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:39:09] local.INFO: Acknowledgment sent {"connection_id":158741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:39:09] local.INFO: TCP Data received {"connection_id":157860,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:39:09] local.INFO: Processing buffer {"connection_id":157860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:39:09] local.INFO: IMEI packet received {"connection_id":157860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":157860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:39:10] local.INFO: TCP Data received {"connection_id":158741,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186abaf8012d2bf54006bd7e980010014029..."} 
[2026-08-19 10:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186abaf8012d2bf54006bd7e980010014029..."} 
[2026-08-19 10:39:10] local.INFO: Processing buffer {"connection_id":158741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186abaf8012d2bf54006bd7e980010014029..."} 
[2026-08-19 10:39:10] local.INFO: Packet analysis {"connection_id":158741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186a"} 
[2026-08-19 10:39:10] local.INFO: Extracted packet for processing {"connection_id":158741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186a"} 
[2026-08-19 10:39:10] local.INFO: GPS Element Parsed {"raw_longitude":757855552,"raw_latitude":113082008,"longitude_deg":75.7855552,"latitude_deg":11.3082008,"altitude":16,"angle":320,"satellites":41,"speed":60,"hex_longitude":"2d2bf540","hex_latitude":"06bd7e98","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501707008001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385493745975427072,"note":"Value kept but may cause issues"} 
[2026-08-19 10:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3167508310618183680,"note":"Value kept but may cause issues"} 
[2026-08-19 10:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787116043000,"timestamp_ms":1787116043000,"timestamp_seconds":1787116043,"priority":1,"record_length":96,"hex_timestamp":"000001a0186abaf8"} 
[2026-08-19 10:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:39: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-08-19 10: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 10:39:10] 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-08-19 10: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-08-19 10:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501707008001,"66":27984,"125":206,"81":20992,"24":60,"16":385493745975427072,"45":3167508310618183680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-08-19 10:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501707008001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:39:10] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-19 10:39:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385493745975427072,"km_value":385493745975427.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3167508310618183680,"description":"Unknown IO ID 45"} 
[2026-08-19 10:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501707008001,"power":27984,"unknown_125":206,"unknown_81":20992,"ignition":60,"odometer":null,"unknown_45":3167508310618183680}} 
[2026-08-19 10:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":158741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:39:10] local.INFO: GPS data processed {"connection_id":158741,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:39:10] local.INFO: Acknowledgment sent {"connection_id":158741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:39:14] local.INFO: TCP Data received {"connection_id":157860,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:39:14] local.INFO: Processing buffer {"connection_id":157860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:39:14] local.INFO: IMEI packet received {"connection_id":157860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":157860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:39:15] local.INFO: TCP Data received {"connection_id":157860,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186b2470012d1b3ec00725c2c0003000d422..."} 
[2026-08-19 10:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186b2470012d1b3ec00725c2c0003000d422..."} 
[2026-08-19 10:39:15] local.INFO: Processing buffer {"connection_id":157860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186b2470012d1b3ec00725c2c0003000d422..."} 
[2026-08-19 10:39:15] local.INFO: Packet analysis {"connection_id":157860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186b"} 
[2026-08-19 10:39:15] local.INFO: Extracted packet for processing {"connection_id":157860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186b"} 
[2026-08-19 10:39:15] local.INFO: GPS Element Parsed {"raw_longitude":756760256,"raw_latitude":119915200,"longitude_deg":75.6760256,"latitude_deg":11.99152,"altitude":48,"angle":212,"satellites":34,"speed":11,"hex_longitude":"2d1b3ec0","hex_latitude":"0725c2c0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501712128001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13660740485382144,"note":"Value kept but may cause issues"} 
[2026-08-19 10:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964413893162346496,"note":"Value kept but may cause issues"} 
[2026-08-19 10:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787116070000,"timestamp_ms":1787116070000,"timestamp_seconds":1787116070,"priority":1,"record_length":96,"hex_timestamp":"000001a0186b2470"} 
[2026-08-19 10:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:39:15] 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-08-19 10: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 10:39:15] 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-08-19 10: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-08-19 10:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501712128001,"66":13993,"92":206,"28":31744,"24":11,"16":13660740485382144,"45":1964413893162346496},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-19 10:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501712128001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:39:15] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 10:39:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13660740485382144,"km_value":13660740485382.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964413893162346496,"description":"Unknown IO ID 45"} 
[2026-08-19 10:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501712128001,"power":13993,"unknown_92":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1964413893162346496}} 
[2026-08-19 10:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":157860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:39:15] local.INFO: GPS data processed {"connection_id":157860,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:39:15] local.INFO: Acknowledgment sent {"connection_id":157860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:39:41] local.INFO: TCP Data received {"connection_id":158741,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186c0700012d2ab80006befc70000c013f2b..."} 
[2026-08-19 10:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186c0700012d2ab80006befc70000c013f2b..."} 
[2026-08-19 10:39:41] local.INFO: Processing buffer {"connection_id":158741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186c0700012d2ab80006befc70000c013f2b..."} 
[2026-08-19 10:39:41] local.INFO: Packet analysis {"connection_id":158741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186c"} 
[2026-08-19 10:39:41] local.INFO: Extracted packet for processing {"connection_id":158741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186c"} 
[2026-08-19 10:39:41] local.INFO: GPS Element Parsed {"raw_longitude":757774336,"raw_latitude":113179760,"longitude_deg":75.7774336,"latitude_deg":11.317976,"altitude":12,"angle":319,"satellites":43,"speed":58,"hex_longitude":"2d2ab800","hex_latitude":"06befc70","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501727232001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385499866303823872,"note":"Value kept but may cause issues"} 
[2026-08-19 10:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3084613930000171008,"note":"Value kept but may cause issues"} 
[2026-08-19 10:39:41] 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-08-19 10:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787116128000,"timestamp_ms":1787116128000,"timestamp_seconds":1787116128,"priority":1,"record_length":96,"hex_timestamp":"000001a0186c0700"} 
[2026-08-19 10:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:39: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-08-19 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 10:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501727232001,"66":27865,"75":206,"81":20992,"24":58,"16":385499866303823872,"45":3084613930000171008},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-19 10:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501727232001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:39:41] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-19 10:39:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385499866303823872,"km_value":385499866303823.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3084613930000171008,"description":"Unknown IO ID 45"} 
[2026-08-19 10:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501727232001,"power":27865,"unknown_75":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":3084613930000171008}} 
[2026-08-19 10:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":158741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:39:41] local.INFO: GPS data processed {"connection_id":158741,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:39:41] local.INFO: Acknowledgment sent {"connection_id":158741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:39:47] local.INFO: TCP Data received {"connection_id":157860,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186b43b0012d1b3a800725bb40003000c722..."} 
[2026-08-19 10:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186b43b0012d1b3a800725bb40003000c722..."} 
[2026-08-19 10:39:47] local.INFO: Processing buffer {"connection_id":157860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186b43b0012d1b3a800725bb40003000c722..."} 
[2026-08-19 10:39:47] local.INFO: Packet analysis {"connection_id":157860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186b"} 
[2026-08-19 10:39:47] local.INFO: Extracted packet for processing {"connection_id":157860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186b"} 
[2026-08-19 10:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756759168,"raw_latitude":119913280,"longitude_deg":75.6759168,"latitude_deg":11.991328,"altitude":48,"angle":199,"satellites":34,"speed":10,"hex_longitude":"2d1b3a80","hex_latitude":"0725bb40","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501713920001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13660847859564544,"note":"Value kept but may cause issues"} 
[2026-08-19 10:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963217624510939136,"note":"Value kept but may cause issues"} 
[2026-08-19 10:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787116078000,"timestamp_ms":1787116078000,"timestamp_seconds":1787116078,"priority":1,"record_length":96,"hex_timestamp":"000001a0186b43b0"} 
[2026-08-19 10:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 10:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501713920001,"66":13961,"92":206,"28":31744,"24":10,"16":13660847859564544,"45":1963217624510939136},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-19 10:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501713920001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:39:47] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 10:39:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13660847859564544,"km_value":13660847859564.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963217624510939136,"description":"Unknown IO ID 45"} 
[2026-08-19 10:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501713920001,"power":13961,"unknown_92":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1963217624510939136}} 
[2026-08-19 10:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":157860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:39:48] local.INFO: GPS data processed {"connection_id":157860,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:39:48] local.INFO: Acknowledgment sent {"connection_id":157860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:40:03] local.INFO: TCP Data received {"connection_id":160044,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:40:03] local.INFO: Processing buffer {"connection_id":160044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:40:03] local.INFO: IMEI packet received {"connection_id":160044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":160044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:40:10] local.INFO: TCP Data received {"connection_id":160044,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160044,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:40:10] local.INFO: Processing buffer {"connection_id":160044,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:40:10] local.INFO: IMEI packet received {"connection_id":160044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":160044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:40:12] local.INFO: TCP Data received {"connection_id":160044,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186c1e70012d2aa18006bf1700000d01402b..."} 
[2026-08-19 10:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186c1e70012d2aa18006bf1700000d01402b..."} 
[2026-08-19 10:40:12] local.INFO: Processing buffer {"connection_id":160044,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a018..."} 
[2026-08-19 10:40:12] local.INFO: IMEI packet received {"connection_id":160044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":160044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:40:12] local.INFO: TCP Data received {"connection_id":157492,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:40:12] local.INFO: Processing buffer {"connection_id":157492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:40:12] local.INFO: IMEI packet received {"connection_id":157492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":157492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:40:13] local.INFO: TCP Data received {"connection_id":160044,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186c39c8012d2a880006bf35d0000f014329..."} 
[2026-08-19 10:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186c39c8012d2a880006bf35d0000f014329..."} 
[2026-08-19 10:40:13] local.INFO: Processing buffer {"connection_id":160044,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0186c1e70012d2aa18006bf1700000d01402b..."} 
[2026-08-19 10:40:13] local.INFO: Packet analysis {"connection_id":160044,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0186c"} 
[2026-08-19 10:40:13] local.INFO: Extracted packet for processing {"connection_id":160044,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186c"} 
[2026-08-19 10:40:13] local.INFO: GPS Element Parsed {"raw_longitude":757768576,"raw_latitude":113186560,"longitude_deg":75.7768576,"latitude_deg":11.318656,"altitude":13,"angle":320,"satellites":43,"speed":58,"hex_longitude":"2d2aa180","hex_latitude":"06bf1700","is_valid_coordinates":true} 
[2026-08-19 10:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501728768001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385500295800553472,"note":"Value kept but may cause issues"} 
[2026-08-19 10:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3078210374281752576,"note":"Value kept but may cause issues"} 
[2026-08-19 10:40:13] 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-08-19 10:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787116134000,"timestamp_ms":1787116134000,"timestamp_seconds":1787116134,"priority":1,"record_length":96,"hex_timestamp":"000001a0186c1e70"} 
[2026-08-19 10:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:40: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-08-19 10:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:40:13] 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-08-19 10:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:40:13] 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-08-19 10:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501728768001,"66":27865,"75":206,"81":20992,"24":58,"16":385500295800553472,"45":3078210374281752576},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-08-19 10:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501728768001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:40:13] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-08-19 10:40:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385500295800553472,"km_value":385500295800553.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3078210374281752576,"description":"Unknown IO ID 45"} 
[2026-08-19 10:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501728768001,"power":27865,"unknown_75":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":3078210374281752576}} 
[2026-08-19 10:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":160044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:40:13] local.INFO: GPS data processed {"connection_id":160044,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:40:13] local.INFO: Acknowledgment sent {"connection_id":160044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:40:13] local.INFO: Packet analysis {"connection_id":160044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186c"} 
[2026-08-19 10:40:13] local.INFO: Extracted packet for processing {"connection_id":160044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186c"} 
[2026-08-19 10:40:13] local.INFO: GPS Element Parsed {"raw_longitude":757762048,"raw_latitude":113194448,"longitude_deg":75.7762048,"latitude_deg":11.3194448,"altitude":15,"angle":323,"satellites":41,"speed":56,"hex_longitude":"2d2a8800","hex_latitude":"06bf35d0","is_valid_coordinates":true} 
[2026-08-19 10:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501730304001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385500785426825216,"note":"Value kept but may cause issues"} 
[2026-08-19 10:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3071877187307503616,"note":"Value kept but may cause issues"} 
[2026-08-19 10:40: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-08-19 10:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787116141000,"timestamp_ms":1787116141000,"timestamp_seconds":1787116141,"priority":1,"record_length":96,"hex_timestamp":"000001a0186c39c8"} 
[2026-08-19 10:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:40: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-08-19 10:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:40:13] 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-08-19 10:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:40:13] 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-08-19 10:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501730304001,"66":27865,"32":206,"81":20992,"24":56,"16":385500785426825216,"45":3071877187307503616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-19 10:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501730304001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:40:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 10:40:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385500785426825216,"km_value":385500785426825.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3071877187307503616,"description":"Unknown IO ID 45"} 
[2026-08-19 10:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501730304001,"power":27865,"unknown_32":206,"unknown_81":20992,"ignition":56,"odometer":null,"unknown_45":3071877187307503616}} 
[2026-08-19 10:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":160044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:40:13] local.INFO: GPS data processed {"connection_id":160044,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:40:13] local.INFO: Acknowledgment sent {"connection_id":160044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:40:13] local.INFO: TCP Data received {"connection_id":160044,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186c5520012d2a708006bf5508001101432b..."} 
[2026-08-19 10:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186c5520012d2a708006bf5508001101432b..."} 
[2026-08-19 10:40:13] local.INFO: Processing buffer {"connection_id":160044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186c5520012d2a708006bf5508001101432b..."} 
[2026-08-19 10:40:13] local.INFO: Packet analysis {"connection_id":160044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186c"} 
[2026-08-19 10:40:13] local.INFO: Extracted packet for processing {"connection_id":160044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186c"} 
[2026-08-19 10:40:13] local.INFO: GPS Element Parsed {"raw_longitude":757756032,"raw_latitude":113202440,"longitude_deg":75.7756032,"latitude_deg":11.320244,"altitude":17,"angle":323,"satellites":43,"speed":57,"hex_longitude":"2d2a7080","hex_latitude":"06bf5508","is_valid_coordinates":true} 
[2026-08-19 10:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501732096001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385501270758129664,"note":"Value kept but may cause issues"} 
[2026-08-19 10:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3064699575403401216,"note":"Value kept but may cause issues"} 
[2026-08-19 10:40: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-08-19 10:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787116148000,"timestamp_ms":1787116148000,"timestamp_seconds":1787116148,"priority":1,"record_length":96,"hex_timestamp":"000001a0186c5520"} 
[2026-08-19 10:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:40: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-08-19 10:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:40:13] 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-08-19 10:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:40:13] 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-08-19 10:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501732096001,"66":27919,"32":206,"81":20992,"24":57,"16":385501270758129664,"45":3064699575403401216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-19 10:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501732096001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:40:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 10:40:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385501270758129664,"km_value":385501270758129.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3064699575403401216,"description":"Unknown IO ID 45"} 
[2026-08-19 10:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501732096001,"power":27919,"unknown_32":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":3064699575403401216}} 
[2026-08-19 10:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":160044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:40:13] local.INFO: GPS data processed {"connection_id":160044,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:40:13] local.INFO: Acknowledgment sent {"connection_id":160044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:40:14] local.INFO: TCP Data received {"connection_id":157492,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:40:14] local.INFO: Processing buffer {"connection_id":157492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:40:14] local.INFO: IMEI packet received {"connection_id":157492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":157492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:40:14] local.INFO: TCP Data received {"connection_id":157492,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:40:14] local.INFO: Processing buffer {"connection_id":157492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:40:14] local.INFO: IMEI packet received {"connection_id":157492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":157492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:40:19] local.INFO: TCP Data received {"connection_id":157492,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:40:19] local.INFO: Processing buffer {"connection_id":157492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:40:19] local.INFO: IMEI packet received {"connection_id":157492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":157492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:40:21] local.INFO: TCP Data received {"connection_id":157492,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186cf548012d1b6580072566a00029009620..."} 
[2026-08-19 10:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186cf548012d1b6580072566a00029009620..."} 
[2026-08-19 10:40:21] local.INFO: Processing buffer {"connection_id":157492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186cf548012d1b6580072566a00029009620..."} 
[2026-08-19 10:40:21] local.INFO: Packet analysis {"connection_id":157492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186c"} 
[2026-08-19 10:40:21] local.INFO: Extracted packet for processing {"connection_id":157492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186c"} 
[2026-08-19 10:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756770176,"raw_latitude":119891616,"longitude_deg":75.6770176,"latitude_deg":11.9891616,"altitude":41,"angle":150,"satellites":32,"speed":16,"hex_longitude":"2d1b6580","hex_latitude":"072566a0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501740544001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13662063335309312,"note":"Value kept but may cause issues"} 
[2026-08-19 10:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968776755296372736,"note":"Value kept but may cause issues"} 
[2026-08-19 10:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787116189000,"timestamp_ms":1787116189000,"timestamp_seconds":1787116189,"priority":1,"record_length":96,"hex_timestamp":"000001a0186cf548"} 
[2026-08-19 10:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 10:40:21] 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-08-19 10: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-08-19 10:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":157492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":157492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":157492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501740544001,"66":14363,"92":206,"28":31744,"24":16,"16":13662063335309312,"45":1968776755296372736},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-19 10:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501740544001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:40:21] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 10:40:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13662063335309312,"km_value":13662063335309.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968776755296372736,"description":"Unknown IO ID 45"} 
[2026-08-19 10:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501740544001,"power":14363,"unknown_92":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1968776755296372736}} 
[2026-08-19 10:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":157492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:40:21] local.INFO: GPS data processed {"connection_id":157492,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:40:21] local.INFO: Acknowledgment sent {"connection_id":157492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:40:25] local.INFO: TCP Data received {"connection_id":157492,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186d0100012d1b678007256138002900a120..."} 
[2026-08-19 10:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186d0100012d1b678007256138002900a120..."} 
[2026-08-19 10:40:25] local.INFO: Processing buffer {"connection_id":157492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186d0100012d1b678007256138002900a120..."} 
[2026-08-19 10:40:25] local.INFO: Packet analysis {"connection_id":157492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186d"} 
[2026-08-19 10:40:25] local.INFO: Extracted packet for processing {"connection_id":157492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186d"} 
[2026-08-19 10:40:25] local.INFO: GPS Element Parsed {"raw_longitude":756770688,"raw_latitude":119890232,"longitude_deg":75.6770688,"latitude_deg":11.9890232,"altitude":41,"angle":161,"satellites":32,"speed":23,"hex_longitude":"2d1b6780","hex_latitude":"07256138","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501744384001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13662136349753344,"note":"Value kept but may cause issues"} 
[2026-08-19 10:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974124779852439552,"note":"Value kept but may cause issues"} 
[2026-08-19 10:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787116192000,"timestamp_ms":1787116192000,"timestamp_seconds":1787116192,"priority":1,"record_length":96,"hex_timestamp":"000001a0186d0100"} 
[2026-08-19 10:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10: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-08-19 10: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-08-19 10:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":157492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":157492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":157492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501744384001,"66":14048,"92":206,"28":31744,"24":23,"16":13662136349753344,"45":1974124779852439552},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-19 10:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501744384001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:40:25] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 10:40:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13662136349753344,"km_value":13662136349753.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974124779852439552,"description":"Unknown IO ID 45"} 
[2026-08-19 10:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501744384001,"power":14048,"unknown_92":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1974124779852439552}} 
[2026-08-19 10:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":157492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:40:25] local.INFO: GPS data processed {"connection_id":157492,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:40:25] local.INFO: Acknowledgment sent {"connection_id":157492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:40:45] local.INFO: TCP Data received {"connection_id":160044,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186c7078012d2a580006bf7538001101422b..."} 
[2026-08-19 10:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186c7078012d2a580006bf7538001101422b..."} 
[2026-08-19 10:40:45] local.INFO: Processing buffer {"connection_id":160044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186c7078012d2a580006bf7538001101422b..."} 
[2026-08-19 10:40:45] local.INFO: Packet analysis {"connection_id":160044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186c"} 
[2026-08-19 10:40:45] local.INFO: Extracted packet for processing {"connection_id":160044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186c"} 
[2026-08-19 10:40:45] local.INFO: GPS Element Parsed {"raw_longitude":757749760,"raw_latitude":113210680,"longitude_deg":75.774976,"latitude_deg":11.321068,"altitude":17,"angle":322,"satellites":43,"speed":59,"hex_longitude":"2d2a5800","hex_latitude":"06bf7538","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501733888001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385501768974336000,"note":"Value kept but may cause issues"} 
[2026-08-19 10:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3058084913452746752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:40:45] 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-08-19 10:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787116155000,"timestamp_ms":1787116155000,"timestamp_seconds":1787116155,"priority":1,"record_length":96,"hex_timestamp":"000001a0186c7078"} 
[2026-08-19 10:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:40: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-08-19 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 10:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501733888001,"66":27919,"32":206,"81":20992,"24":59,"16":385501768974336000,"45":3058084913452746752},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-19 10:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501733888001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:40:45] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 10:40:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385501768974336000,"km_value":385501768974336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3058084913452746752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501733888001,"power":27919,"unknown_32":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":3058084913452746752}} 
[2026-08-19 10:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":160044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:40:45] local.INFO: GPS data processed {"connection_id":160044,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:40:45] local.INFO: Acknowledgment sent {"connection_id":160044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:40:59] local.INFO: TCP Data received {"connection_id":157861,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:40:59] local.INFO: Processing buffer {"connection_id":157861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:40:59] local.INFO: IMEI packet received {"connection_id":157861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":157861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:41:04] local.INFO: TCP Data received {"connection_id":157861,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:41:04] local.INFO: Processing buffer {"connection_id":157861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:41:04] local.INFO: IMEI packet received {"connection_id":157861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":157861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:41:05] local.INFO: TCP Data received {"connection_id":157861,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186c87e8012d2a420006bf9160001101432b..."} 
[2026-08-19 10:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186c87e8012d2a420006bf9160001101432b..."} 
[2026-08-19 10:41:05] local.INFO: Processing buffer {"connection_id":157861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186c87e8012d2a420006bf9160001101432b..."} 
[2026-08-19 10:41:05] local.INFO: Packet analysis {"connection_id":157861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186c"} 
[2026-08-19 10:41:05] local.INFO: Extracted packet for processing {"connection_id":157861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186c"} 
[2026-08-19 10:41:05] local.INFO: GPS Element Parsed {"raw_longitude":757744128,"raw_latitude":113217888,"longitude_deg":75.7744128,"latitude_deg":11.3217888,"altitude":17,"angle":323,"satellites":43,"speed":60,"hex_longitude":"2d2a4200","hex_latitude":"06bf9160","is_valid_coordinates":true} 
[2026-08-19 10:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501735680001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385502207061000192,"note":"Value kept but may cause issues"} 
[2026-08-19 10:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3051188776525445120,"note":"Value kept but may cause issues"} 
[2026-08-19 10:41: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-08-19 10:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787116161000,"timestamp_ms":1787116161000,"timestamp_seconds":1787116161,"priority":1,"record_length":96,"hex_timestamp":"000001a0186c87e8"} 
[2026-08-19 10:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:41: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-08-19 10:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 10:41:05] 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-08-19 10:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:41:05] 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-08-19 10:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501735680001,"66":27463,"32":206,"81":20992,"24":60,"16":385502207061000192,"45":3051188776525445120},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-19 10:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501735680001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:41:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 10:41:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385502207061000192,"km_value":385502207061000.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3051188776525445120,"description":"Unknown IO ID 45"} 
[2026-08-19 10:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501735680001,"power":27463,"unknown_32":206,"unknown_81":20992,"ignition":60,"odometer":null,"unknown_45":3051188776525445120}} 
[2026-08-19 10:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":157861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:41:05] local.INFO: GPS data processed {"connection_id":157861,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:41:05] local.INFO: Acknowledgment sent {"connection_id":157861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:41:06] local.INFO: TCP Data received {"connection_id":157862,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:41:06] local.INFO: Processing buffer {"connection_id":157862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:41:06] local.INFO: IMEI packet received {"connection_id":157862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":157862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:41:09] local.INFO: TCP Data received {"connection_id":157862,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:41:09] local.INFO: Processing buffer {"connection_id":157862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:41:09] local.INFO: IMEI packet received {"connection_id":157862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":157862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:41:14] local.INFO: TCP Data received {"connection_id":157862,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:41:14] local.INFO: Processing buffer {"connection_id":157862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:41:14] local.INFO: IMEI packet received {"connection_id":157862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":157862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:41:16] local.INFO: TCP Data received {"connection_id":157862,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186d0cb8012d1b694007255a70002800ac20..."} 
[2026-08-19 10:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186d0cb8012d1b694007255a70002800ac20..."} 
[2026-08-19 10:41:16] local.INFO: Processing buffer {"connection_id":157862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186d0cb8012d1b694007255a70002800ac20..."} 
[2026-08-19 10:41:16] local.INFO: Packet analysis {"connection_id":157862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186d"} 
[2026-08-19 10:41:16] local.INFO: Extracted packet for processing {"connection_id":157862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186d"} 
[2026-08-19 10:41:16] local.INFO: GPS Element Parsed {"raw_longitude":756771136,"raw_latitude":119888496,"longitude_deg":75.6771136,"latitude_deg":11.9888496,"altitude":40,"angle":172,"satellites":32,"speed":23,"hex_longitude":"2d1b6940","hex_latitude":"07255a70","is_valid_coordinates":true} 
[2026-08-19 10:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501745152001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13662222249099264,"note":"Value kept but may cause issues"} 
[2026-08-19 10:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974687729805506560,"note":"Value kept but may cause issues"} 
[2026-08-19 10:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787116195000,"timestamp_ms":1787116195000,"timestamp_seconds":1787116195,"priority":1,"record_length":96,"hex_timestamp":"000001a0186d0cb8"} 
[2026-08-19 10:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:41:16] 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-08-19 10:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 10:41: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-08-19 10:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501745152001,"66":14048,"92":206,"28":31744,"24":23,"16":13662222249099264,"45":1974687729805506560},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-19 10:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501745152001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:41:16] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 10:41:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13662222249099264,"km_value":13662222249099.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974687729805506560,"description":"Unknown IO ID 45"} 
[2026-08-19 10:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501745152001,"power":14048,"unknown_92":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1974687729805506560}} 
[2026-08-19 10:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":157862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:41:16] local.INFO: GPS data processed {"connection_id":157862,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:41:16] local.INFO: Acknowledgment sent {"connection_id":157862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:41:38] local.INFO: TCP Data received {"connection_id":157861,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186db898012d291fc006c0e9680010013b2a..."} 
[2026-08-19 10:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186db898012d291fc006c0e9680010013b2a..."} 
[2026-08-19 10:41:38] local.INFO: Processing buffer {"connection_id":157861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186db898012d291fc006c0e9680010013b2a..."} 
[2026-08-19 10:41:38] local.INFO: Packet analysis {"connection_id":157861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186d"} 
[2026-08-19 10:41:38] local.INFO: Extracted packet for processing {"connection_id":157861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186d"} 
[2026-08-19 10:41:38] local.INFO: GPS Element Parsed {"raw_longitude":757669824,"raw_latitude":113305960,"longitude_deg":75.7669824,"latitude_deg":11.330596,"altitude":16,"angle":315,"satellites":42,"speed":56,"hex_longitude":"2d291fc0","hex_latitude":"06c0e968","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501755392001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385507777633583104,"note":"Value kept but may cause issues"} 
[2026-08-19 10:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2971038776929658880,"note":"Value kept but may cause issues"} 
[2026-08-19 10:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787116239000,"timestamp_ms":1787116239000,"timestamp_seconds":1787116239,"priority":1,"record_length":96,"hex_timestamp":"000001a0186db898"} 
[2026-08-19 10:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:41: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-08-19 10: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 10:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501755392001,"66":27876,"179":206,"81":20992,"24":56,"16":385507777633583104,"45":2971038776929658880},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-08-19 10:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501755392001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:41:38] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-19 10:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385507777633583104,"km_value":385507777633583.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2971038776929658880,"description":"Unknown IO ID 45"} 
[2026-08-19 10:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501755392001,"power":27876,"unknown_179":206,"unknown_81":20992,"ignition":56,"odometer":null,"unknown_45":2971038776929658880}} 
[2026-08-19 10:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":157861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:41:38] local.INFO: GPS data processed {"connection_id":157861,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:41:38] local.INFO: Acknowledgment sent {"connection_id":157861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:41:47] local.INFO: TCP Data received {"connection_id":157862,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186d1488012d1b6940072555b8002800b821..."} 
[2026-08-19 10:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186d1488012d1b6940072555b8002800b821..."} 
[2026-08-19 10:41:47] local.INFO: Processing buffer {"connection_id":157862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186d1488012d1b6940072555b8002800b821..."} 
[2026-08-19 10:41:47] local.INFO: Packet analysis {"connection_id":157862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186d"} 
[2026-08-19 10:41:47] local.INFO: Extracted packet for processing {"connection_id":157862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186d"} 
[2026-08-19 10:41:47] local.INFO: GPS Element Parsed {"raw_longitude":756771136,"raw_latitude":119887288,"longitude_deg":75.6771136,"latitude_deg":11.9887288,"altitude":40,"angle":184,"satellites":33,"speed":24,"hex_longitude":"2d1b6940","hex_latitude":"072555b8","is_valid_coordinates":true} 
[2026-08-19 10:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501745920001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13662282378641408,"note":"Value kept but may cause issues"} 
[2026-08-19 10:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975180311014305792,"note":"Value kept but may cause issues"} 
[2026-08-19 10:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787116197000,"timestamp_ms":1787116197000,"timestamp_seconds":1787116197,"priority":1,"record_length":96,"hex_timestamp":"000001a0186d1488"} 
[2026-08-19 10:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 10:41:47] 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-08-19 10:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501745920001,"66":14363,"92":206,"28":31744,"24":24,"16":13662282378641408,"45":1975180311014305792},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-08-19 10:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501745920001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:41:47] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 10:41:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13662282378641408,"km_value":13662282378641.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975180311014305792,"description":"Unknown IO ID 45"} 
[2026-08-19 10:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501745920001,"power":14363,"unknown_92":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1975180311014305792}} 
[2026-08-19 10:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":157862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:41:48] local.INFO: GPS data processed {"connection_id":157862,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:41:48] local.INFO: Acknowledgment sent {"connection_id":157862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:41:59] local.INFO: TCP Data received {"connection_id":157493,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:41:59] local.INFO: Processing buffer {"connection_id":157493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:41:59] local.INFO: IMEI packet received {"connection_id":157493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":157493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:42:04] local.INFO: TCP Data received {"connection_id":157493,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:42:04] local.INFO: Processing buffer {"connection_id":157493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:42:04] local.INFO: IMEI packet received {"connection_id":157493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":157493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:42:04] local.INFO: TCP Data received {"connection_id":157493,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186dd3f0012d29044006c105680011013c2b..."} 
[2026-08-19 10:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186dd3f0012d29044006c105680011013c2b..."} 
[2026-08-19 10:42:04] local.INFO: Processing buffer {"connection_id":157493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186dd3f0012d29044006c105680011013c2b..."} 
[2026-08-19 10:42:04] local.INFO: Packet analysis {"connection_id":157493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186d"} 
[2026-08-19 10:42:04] local.INFO: Extracted packet for processing {"connection_id":157493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186d"} 
[2026-08-19 10:42:04] local.INFO: GPS Element Parsed {"raw_longitude":757662784,"raw_latitude":113313128,"longitude_deg":75.7662784,"latitude_deg":11.3313128,"altitude":17,"angle":316,"satellites":43,"speed":57,"hex_longitude":"2d290440","hex_latitude":"06c10568","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501757184001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385508258669920256,"note":"Value kept but may cause issues"} 
[2026-08-19 10:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2963298215071934464,"note":"Value kept but may cause issues"} 
[2026-08-19 10:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787116246000,"timestamp_ms":1787116246000,"timestamp_seconds":1787116246,"priority":1,"record_length":96,"hex_timestamp":"000001a0186dd3f0"} 
[2026-08-19 10:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:42: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-08-19 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 10:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501757184001,"66":27821,"179":206,"81":20992,"24":57,"16":385508258669920256,"45":2963298215071934464},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-08-19 10:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501757184001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:42:04] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-19 10:42:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385508258669920256,"km_value":385508258669920.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2963298215071934464,"description":"Unknown IO ID 45"} 
[2026-08-19 10:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501757184001,"power":27821,"unknown_179":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":2963298215071934464}} 
[2026-08-19 10:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":157493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:42:04] local.INFO: GPS data processed {"connection_id":157493,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:42:04] local.INFO: Acknowledgment sent {"connection_id":157493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:42:09] local.INFO: TCP Data received {"connection_id":157494,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:42:09] local.INFO: Processing buffer {"connection_id":157494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:42:09] local.INFO: IMEI packet received {"connection_id":157494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":157494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:42:14] local.INFO: TCP Data received {"connection_id":157494,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:42:14] local.INFO: Processing buffer {"connection_id":157494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:42:14] local.INFO: IMEI packet received {"connection_id":157494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":157494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:42:15] local.INFO: TCP Data received {"connection_id":157494,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186d3b98012d1b640007253a90002700c41f..."} 
[2026-08-19 10:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186d3b98012d1b640007253a90002700c41f..."} 
[2026-08-19 10:42:16] local.INFO: Processing buffer {"connection_id":157494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186d3b98012d1b640007253a90002700c41f..."} 
[2026-08-19 10:42:16] local.INFO: Packet analysis {"connection_id":157494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186d"} 
[2026-08-19 10:42:16] local.INFO: Extracted packet for processing {"connection_id":157494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186d"} 
[2026-08-19 10:42:16] local.INFO: GPS Element Parsed {"raw_longitude":756769792,"raw_latitude":119880336,"longitude_deg":75.6769792,"latitude_deg":11.9880336,"altitude":39,"angle":196,"satellites":31,"speed":27,"hex_longitude":"2d1b6400","hex_latitude":"07253a90","is_valid_coordinates":true} 
[2026-08-19 10:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501746432001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13662625976025088,"note":"Value kept but may cause issues"} 
[2026-08-19 10:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975180311013996544,"note":"Value kept but may cause issues"} 
[2026-08-19 10:42:16] 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-08-19 10:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787116207000,"timestamp_ms":1787116207000,"timestamp_seconds":1787116207,"priority":1,"record_length":96,"hex_timestamp":"000001a0186d3b98"} 
[2026-08-19 10:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:42:16] 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-08-19 10:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 10:42:16] 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-08-19 10:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501746432001,"66":14363,"91":206,"28":31744,"24":27,"16":13662625976025088,"45":1975180311013996544},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-19 10:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501746432001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:42:16] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-19 10:42:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13662625976025088,"km_value":13662625976025.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975180311013996544,"description":"Unknown IO ID 45"} 
[2026-08-19 10:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501746432001,"power":14363,"unknown_91":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1975180311013996544}} 
[2026-08-19 10:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":157494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:42:16] local.INFO: GPS data processed {"connection_id":157494,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:42:16] local.INFO: Acknowledgment sent {"connection_id":157494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:42:35] local.INFO: TCP Data received {"connection_id":157493,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186def48012d28e8c006c121a80012013c2a..."} 
[2026-08-19 10:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186def48012d28e8c006c121a80012013c2a..."} 
[2026-08-19 10:42:35] local.INFO: Processing buffer {"connection_id":157493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186def48012d28e8c006c121a80012013c2a..."} 
[2026-08-19 10:42:35] local.INFO: Packet analysis {"connection_id":157493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186d"} 
[2026-08-19 10:42:35] local.INFO: Extracted packet for processing {"connection_id":157493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186d"} 
[2026-08-19 10:42:35] local.INFO: GPS Element Parsed {"raw_longitude":757655744,"raw_latitude":113320360,"longitude_deg":75.7655744,"latitude_deg":11.332036,"altitude":18,"angle":316,"satellites":42,"speed":58,"hex_longitude":"2d28e8c0","hex_latitude":"06c121a8","is_valid_coordinates":true} 
[2026-08-19 10:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501758976001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385508744001224704,"note":"Value kept but may cause issues"} 
[2026-08-19 10:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2955557653214226432,"note":"Value kept but may cause issues"} 
[2026-08-19 10:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787116253000,"timestamp_ms":1787116253000,"timestamp_seconds":1787116253,"priority":1,"record_length":96,"hex_timestamp":"000001a0186def48"} 
[2026-08-19 10:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 10:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":157493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":157493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":157493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:42:35] 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-08-19 10:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501758976001,"66":27887,"179":206,"81":20992,"24":58,"16":385508744001224704,"45":2955557653214226432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-08-19 10:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501758976001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:42:35] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-19 10:42:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385508744001224704,"km_value":385508744001224.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2955557653214226432,"description":"Unknown IO ID 45"} 
[2026-08-19 10:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501758976001,"power":27887,"unknown_179":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2955557653214226432}} 
[2026-08-19 10:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":157493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:42:35] local.INFO: GPS data processed {"connection_id":157493,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:42:35] local.INFO: Acknowledgment sent {"connection_id":157493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:42:47] local.INFO: TCP Data received {"connection_id":157494,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186d89b8012d1b5cc007251bb8002800bc20..."} 
[2026-08-19 10:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186d89b8012d1b5cc007251bb8002800bc20..."} 
[2026-08-19 10:42:47] local.INFO: Processing buffer {"connection_id":157494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186d89b8012d1b5cc007251bb8002800bc20..."} 
[2026-08-19 10:42:47] local.INFO: Packet analysis {"connection_id":157494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186d"} 
[2026-08-19 10:42:47] local.INFO: Extracted packet for processing {"connection_id":157494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186d"} 
[2026-08-19 10:42:47] local.INFO: GPS Element Parsed {"raw_longitude":756767936,"raw_latitude":119872440,"longitude_deg":75.6767936,"latitude_deg":11.987244,"altitude":40,"angle":188,"satellites":32,"speed":18,"hex_longitude":"2d1b5cc0","hex_latitude":"07251bb8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501748992001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13663021113016320,"note":"Value kept but may cause issues"} 
[2026-08-19 10:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973702567384485888,"note":"Value kept but may cause issues"} 
[2026-08-19 10:42: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-08-19 10:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787116227000,"timestamp_ms":1787116227000,"timestamp_seconds":1787116227,"priority":1,"record_length":96,"hex_timestamp":"000001a0186d89b8"} 
[2026-08-19 10:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:42:47] 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-08-19 10: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 10:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501748992001,"66":14080,"91":206,"28":31744,"24":18,"16":13663021113016320,"45":1973702567384485888},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-19 10:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501748992001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:42:47] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-19 10:42:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13663021113016320,"km_value":13663021113016.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973702567384485888,"description":"Unknown IO ID 45"} 
[2026-08-19 10:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501748992001,"power":14080,"unknown_91":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1973702567384485888}} 
[2026-08-19 10:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":157494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:42:47] local.INFO: GPS data processed {"connection_id":157494,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:42:47] local.INFO: Acknowledgment sent {"connection_id":157494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:42:59] local.INFO: TCP Data received {"connection_id":160045,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:42:59] local.INFO: Processing buffer {"connection_id":160045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:42:59] local.INFO: IMEI packet received {"connection_id":160045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":160045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:43:00] local.INFO: TCP Data received {"connection_id":160045,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:43:00] local.INFO: Processing buffer {"connection_id":160045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:43:00] local.INFO: IMEI packet received {"connection_id":160045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":160045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:43:05] local.INFO: TCP Data received {"connection_id":160045,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:43:05] local.INFO: Processing buffer {"connection_id":160045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:43:05] local.INFO: IMEI packet received {"connection_id":160045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":160045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:43:05] local.INFO: TCP Data received {"connection_id":160045,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186f00b8012d27de8006c25940000d014f2b..."} 
[2026-08-19 10:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186f00b8012d27de8006c25940000d014f2b..."} 
[2026-08-19 10:43:05] local.INFO: Processing buffer {"connection_id":160045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186f00b8012d27de8006c25940000d014f2b..."} 
[2026-08-19 10:43:05] local.INFO: Packet analysis {"connection_id":160045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186f"} 
[2026-08-19 10:43:05] local.INFO: Extracted packet for processing {"connection_id":160045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186f"} 
[2026-08-19 10:43:05] local.INFO: GPS Element Parsed {"raw_longitude":757587584,"raw_latitude":113400128,"longitude_deg":75.7587584,"latitude_deg":11.3400128,"altitude":13,"angle":335,"satellites":43,"speed":58,"hex_longitude":"2d27de80","hex_latitude":"06c25940","is_valid_coordinates":true} 
[2026-08-19 10:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501776896001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385513820652568576,"note":"Value kept but may cause issues"} 
[2026-08-19 10:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2877659453429452800,"note":"Value kept but may cause issues"} 
[2026-08-19 10:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787116323000,"timestamp_ms":1787116323000,"timestamp_seconds":1787116323,"priority":1,"record_length":96,"hex_timestamp":"000001a0186f00b8"} 
[2026-08-19 10:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:43: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-08-19 10:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 10:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:43:05] 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-08-19 10:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501776896001,"66":27821,"181":206,"81":20992,"24":58,"16":385513820652568576,"45":2877659453429452800},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-08-19 10:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501776896001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:43:05] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-19 10:43:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385513820652568576,"km_value":385513820652568.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2877659453429452800,"description":"Unknown IO ID 45"} 
[2026-08-19 10:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501776896001,"power":27821,"unknown_181":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2877659453429452800}} 
[2026-08-19 10:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":160045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:43:05] local.INFO: GPS data processed {"connection_id":160045,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:43:05] local.INFO: Acknowledgment sent {"connection_id":160045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:43:14] local.INFO: TCP Data received {"connection_id":157863,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:43:14] local.INFO: Processing buffer {"connection_id":157863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:43:14] local.INFO: IMEI packet received {"connection_id":157863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":157863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:43:17] local.INFO: TCP Data received {"connection_id":157863,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:43:17] local.INFO: Processing buffer {"connection_id":157863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:43:17] local.INFO: IMEI packet received {"connection_id":157863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":157863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:43:19] local.INFO: TCP Data received {"connection_id":157863,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186f4af0012d1aeb4007245a48002d00d021..."} 
[2026-08-19 10:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186f4af0012d1aeb4007245a48002d00d021..."} 
[2026-08-19 10:43:19] local.INFO: Processing buffer {"connection_id":157863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186f4af0012d1aeb4007245a48002d00d021..."} 
[2026-08-19 10:43:19] local.INFO: Packet analysis {"connection_id":157863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186f"} 
[2026-08-19 10:43:19] local.INFO: Extracted packet for processing {"connection_id":157863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186f"} 
[2026-08-19 10:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756738880,"raw_latitude":119822920,"longitude_deg":75.673888,"latitude_deg":11.982292,"altitude":45,"angle":208,"satellites":33,"speed":37,"hex_longitude":"2d1aeb40","hex_latitude":"07245a48","is_valid_coordinates":true} 
[2026-08-19 10:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501782528001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13666027590123520,"note":"Value kept but may cause issues"} 
[2026-08-19 10:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942107001234812928,"note":"Value kept but may cause issues"} 
[2026-08-19 10:43:19] 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-08-19 10:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787116342000,"timestamp_ms":1787116342000,"timestamp_seconds":1787116342,"priority":1,"record_length":96,"hex_timestamp":"000001a0186f4af0"} 
[2026-08-19 10:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 10:43:19] 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-08-19 10:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501782528001,"66":13961,"111":206,"28":31744,"24":37,"16":13666027590123520,"45":1942107001234812928},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-08-19 10:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501782528001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:43:19] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 10:43:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13666027590123520,"km_value":13666027590123.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942107001234812928,"description":"Unknown IO ID 45"} 
[2026-08-19 10:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501782528001,"power":13961,"unknown_111":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1942107001234812928}} 
[2026-08-19 10:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":157863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:43:19] local.INFO: GPS data processed {"connection_id":157863,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:43:19] local.INFO: Acknowledgment sent {"connection_id":157863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:43:20] local.INFO: TCP Data received {"connection_id":157863,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186f6a30012d1add8007244390002e00db21..."} 
[2026-08-19 10:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186f6a30012d1add8007244390002e00db21..."} 
[2026-08-19 10:43:20] local.INFO: Processing buffer {"connection_id":157863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186f6a30012d1add8007244390002e00db21..."} 
[2026-08-19 10:43:20] local.INFO: Packet analysis {"connection_id":157863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186f"} 
[2026-08-19 10:43:20] local.INFO: Extracted packet for processing {"connection_id":157863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186f"} 
[2026-08-19 10:43:20] local.INFO: GPS Element Parsed {"raw_longitude":756735360,"raw_latitude":119817104,"longitude_deg":75.673536,"latitude_deg":11.9817104,"altitude":46,"angle":219,"satellites":33,"speed":30,"hex_longitude":"2d1add80","hex_latitude":"07244390","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501783552001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13666354007638016,"note":"Value kept but may cause issues"} 
[2026-08-19 10:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939714463931975680,"note":"Value kept but may cause issues"} 
[2026-08-19 10:43:20] 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-08-19 10:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787116350000,"timestamp_ms":1787116350000,"timestamp_seconds":1787116350,"priority":1,"record_length":96,"hex_timestamp":"000001a0186f6a30"} 
[2026-08-19 10:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:43: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-08-19 10: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-19 10:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501783552001,"66":13993,"111":206,"28":31744,"24":30,"16":13666354007638016,"45":1939714463931975680},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-08-19 10:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501783552001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:43:20] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 10:43:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13666354007638016,"km_value":13666354007638.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939714463931975680,"description":"Unknown IO ID 45"} 
[2026-08-19 10:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501783552001,"power":13993,"unknown_111":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1939714463931975680}} 
[2026-08-19 10:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":157863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:43:20] local.INFO: GPS data processed {"connection_id":157863,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:43:20] local.INFO: Acknowledgment sent {"connection_id":157863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:43:37] local.INFO: TCP Data received {"connection_id":160045,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186f1828012d27cf8006c27958000e014f2a..."} 
[2026-08-19 10:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186f1828012d27cf8006c27958000e014f2a..."} 
[2026-08-19 10:43:37] local.INFO: Processing buffer {"connection_id":160045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186f1828012d27cf8006c27958000e014f2a..."} 
[2026-08-19 10:43:37] local.INFO: Packet analysis {"connection_id":160045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186f"} 
[2026-08-19 10:43:37] local.INFO: Extracted packet for processing {"connection_id":160045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186f"} 
[2026-08-19 10:43:37] local.INFO: GPS Element Parsed {"raw_longitude":757583744,"raw_latitude":113408344,"longitude_deg":75.7583744,"latitude_deg":11.3408344,"altitude":14,"angle":335,"satellites":42,"speed":60,"hex_longitude":"2d27cf80","hex_latitude":"06c27958","is_valid_coordinates":true} 
[2026-08-19 10:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501778688001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385514258739232768,"note":"Value kept but may cause issues"} 
[2026-08-19 10:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2872874378827743232,"note":"Value kept but may cause issues"} 
[2026-08-19 10:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787116329000,"timestamp_ms":1787116329000,"timestamp_seconds":1787116329,"priority":1,"record_length":96,"hex_timestamp":"000001a0186f1828"} 
[2026-08-19 10:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 10:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:43:37] 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-08-19 10:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501778688001,"66":27919,"229":206,"81":20992,"24":60,"16":385514258739232768,"45":2872874378827743232},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,81,24,16,45]} 
[2026-08-19 10:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501778688001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:43:37] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-19 10:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385514258739232768,"km_value":385514258739232.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2872874378827743232,"description":"Unknown IO ID 45"} 
[2026-08-19 10:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501778688001,"power":27919,"unknown_229":206,"unknown_81":20992,"ignition":60,"odometer":null,"unknown_45":2872874378827743232}} 
[2026-08-19 10:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":160045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:43:37] local.INFO: GPS data processed {"connection_id":160045,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:43:37] local.INFO: Acknowledgment sent {"connection_id":160045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:43:51] local.INFO: TCP Data received {"connection_id":157863,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186f79d0012d1ad5c007243ba0002e00e722..."} 
[2026-08-19 10:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186f79d0012d1ad5c007243ba0002e00e722..."} 
[2026-08-19 10:43:51] local.INFO: Processing buffer {"connection_id":157863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186f79d0012d1ad5c007243ba0002e00e722..."} 
[2026-08-19 10:43:51] local.INFO: Packet analysis {"connection_id":157863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186f"} 
[2026-08-19 10:43:51] local.INFO: Extracted packet for processing {"connection_id":157863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186f"} 
[2026-08-19 10:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756733376,"raw_latitude":119815072,"longitude_deg":75.6733376,"latitude_deg":11.9815072,"altitude":46,"angle":231,"satellites":34,"speed":27,"hex_longitude":"2d1ad5c0","hex_latitude":"07243ba0","is_valid_coordinates":true} 
[2026-08-19 10:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501785600001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13666491446591488,"note":"Value kept but may cause issues"} 
[2026-08-19 10:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935844183000715264,"note":"Value kept but may cause issues"} 
[2026-08-19 10:43:51] 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-08-19 10:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787116354000,"timestamp_ms":1787116354000,"timestamp_seconds":1787116354,"priority":1,"record_length":96,"hex_timestamp":"000001a0186f79d0"} 
[2026-08-19 10:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 10:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501785600001,"66":13993,"111":206,"28":31744,"24":27,"16":13666491446591488,"45":1935844183000715264},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-08-19 10:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501785600001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:43:51] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 10:43:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13666491446591488,"km_value":13666491446591.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935844183000715264,"description":"Unknown IO ID 45"} 
[2026-08-19 10:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501785600001,"power":13993,"unknown_111":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1935844183000715264}} 
[2026-08-19 10:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":157863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:43:51] local.INFO: GPS data processed {"connection_id":157863,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:43:51] local.INFO: Acknowledgment sent {"connection_id":157863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:44:05] local.INFO: TCP Data received {"connection_id":157864,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:44:05] local.INFO: Processing buffer {"connection_id":157864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:44:05] local.INFO: IMEI packet received {"connection_id":157864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":157864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:44:09] local.INFO: TCP Data received {"connection_id":160046,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:44:09] local.INFO: Processing buffer {"connection_id":160046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:44:09] local.INFO: IMEI packet received {"connection_id":160046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":160046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:44:14] local.INFO: TCP Data received {"connection_id":160046,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:44:14] local.INFO: Processing buffer {"connection_id":160046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:44:14] local.INFO: IMEI packet received {"connection_id":160046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":160046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:44:15] local.INFO: TCP Data received {"connection_id":160046,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186f8d58012d1aca40072434b0002e00f322..."} 
[2026-08-19 10:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186f8d58012d1aca40072434b0002e00f322..."} 
[2026-08-19 10:44:15] local.INFO: Processing buffer {"connection_id":160046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186f8d58012d1aca40072434b0002e00f322..."} 
[2026-08-19 10:44:15] local.INFO: Packet analysis {"connection_id":160046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186f"} 
[2026-08-19 10:44:15] local.INFO: Extracted packet for processing {"connection_id":160046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186f"} 
[2026-08-19 10:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756730432,"raw_latitude":119813296,"longitude_deg":75.6730432,"latitude_deg":11.9813296,"altitude":46,"angle":243,"satellites":34,"speed":28,"hex_longitude":"2d1aca40","hex_latitude":"072434b0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501786624001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13666654655348736,"note":"Value kept but may cause issues"} 
[2026-08-19 10:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933662751930687488,"note":"Value kept but may cause issues"} 
[2026-08-19 10:44:15] 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-08-19 10:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787116359000,"timestamp_ms":1787116359000,"timestamp_seconds":1787116359,"priority":1,"record_length":96,"hex_timestamp":"000001a0186f8d58"} 
[2026-08-19 10:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:44: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-08-19 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 10:44:15] 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-08-19 10:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501786624001,"66":14483,"111":206,"28":31744,"24":28,"16":13666654655348736,"45":1933662751930687488},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,28,24,16,45]} 
[2026-08-19 10:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501786624001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:44:15] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 10:44:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13666654655348736,"km_value":13666654655348.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933662751930687488,"description":"Unknown IO ID 45"} 
[2026-08-19 10:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501786624001,"power":14483,"unknown_111":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1933662751930687488}} 
[2026-08-19 10:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":160046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:44:15] local.INFO: GPS data processed {"connection_id":160046,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:44:15] local.INFO: Acknowledgment sent {"connection_id":160046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:44:25] local.INFO: TCP Data received {"connection_id":157864,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157864,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:44:25] local.INFO: Processing buffer {"connection_id":157864,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:44:25] local.INFO: IMEI packet received {"connection_id":157864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":157864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:44:25] local.INFO: TCP Data received {"connection_id":157864,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0186f3380012d27be4006c29e68000e014f29..."} 
[2026-08-19 10:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186f3380012d27be4006c29e68000e014f29..."} 
[2026-08-19 10:44:26] local.INFO: Processing buffer {"connection_id":157864,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a018..."} 
[2026-08-19 10:44:26] local.INFO: IMEI packet received {"connection_id":157864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":157864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:44:26] local.INFO: TCP Data received {"connection_id":157864,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018705c60012d2703c006c42e700010014f28..."} 
[2026-08-19 10:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018705c60012d2703c006c42e700010014f28..."} 
[2026-08-19 10:44:26] local.INFO: Processing buffer {"connection_id":157864,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0186f3380012d27be4006c29e68000e014f29..."} 
[2026-08-19 10:44:26] local.INFO: Packet analysis {"connection_id":157864,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0186f"} 
[2026-08-19 10:44:26] local.INFO: Extracted packet for processing {"connection_id":157864,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186f"} 
[2026-08-19 10:44:26] local.INFO: GPS Element Parsed {"raw_longitude":757579328,"raw_latitude":113417832,"longitude_deg":75.7579328,"latitude_deg":11.3417832,"altitude":14,"angle":335,"satellites":41,"speed":58,"hex_longitude":"2d27be40","hex_latitude":"06c29e68","is_valid_coordinates":true} 
[2026-08-19 10:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501780224001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385514765545373696,"note":"Value kept but may cause issues"} 
[2026-08-19 10:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2868652254179186688,"note":"Value kept but may cause issues"} 
[2026-08-19 10:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787116336000,"timestamp_ms":1787116336000,"timestamp_seconds":1787116336,"priority":1,"record_length":96,"hex_timestamp":"000001a0186f3380"} 
[2026-08-19 10:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:44: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-08-19 10:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 10:44:26] 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-08-19 10:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:44:26] 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-08-19 10:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501780224001,"66":27865,"229":206,"81":20992,"24":58,"16":385514765545373696,"45":2868652254179186688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,81,24,16,45]} 
[2026-08-19 10:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501780224001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:44:26] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-19 10:44:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385514765545373696,"km_value":385514765545373.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2868652254179186688,"description":"Unknown IO ID 45"} 
[2026-08-19 10:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501780224001,"power":27865,"unknown_229":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2868652254179186688}} 
[2026-08-19 10:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":157864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:44:26] local.INFO: GPS data processed {"connection_id":157864,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:44:26] local.INFO: Acknowledgment sent {"connection_id":157864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:44:26] local.INFO: Packet analysis {"connection_id":157864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01870"} 
[2026-08-19 10:44:26] local.INFO: Extracted packet for processing {"connection_id":157864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01870"} 
[2026-08-19 10:44:26] local.INFO: GPS Element Parsed {"raw_longitude":757531584,"raw_latitude":113520240,"longitude_deg":75.7531584,"latitude_deg":11.352024,"altitude":16,"angle":335,"satellites":40,"speed":59,"hex_longitude":"2d2703c0","hex_latitude":"06c42e70","is_valid_coordinates":true} 
[2026-08-19 10:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501799936001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385520224448806912,"note":"Value kept but may cause issues"} 
[2026-08-19 10:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2815383114863269888,"note":"Value kept but may cause issues"} 
[2026-08-19 10:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787116412000,"timestamp_ms":1787116412000,"timestamp_seconds":1787116412,"priority":1,"record_length":96,"hex_timestamp":"000001a018705c60"} 
[2026-08-19 10:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:44: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-08-19 10:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:44: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-08-19 10:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:44:26] 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-08-19 10:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501799936001,"66":27908,"231":206,"81":20992,"24":59,"16":385520224448806912,"45":2815383114863269888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-08-19 10:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501799936001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:44:26] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-19 10:44:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385520224448806912,"km_value":385520224448806.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2815383114863269888,"description":"Unknown IO ID 45"} 
[2026-08-19 10:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501799936001,"power":27908,"unknown_231":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2815383114863269888}} 
[2026-08-19 10:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":157864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:44:26] local.INFO: GPS data processed {"connection_id":157864,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:44:26] local.INFO: Acknowledgment sent {"connection_id":157864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:44:27] local.INFO: TCP Data received {"connection_id":157864,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0187077b8012d26f28006c452e8000f014f2a..."} 
[2026-08-19 10:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187077b8012d26f28006c452e8000f014f2a..."} 
[2026-08-19 10:44:27] local.INFO: Processing buffer {"connection_id":157864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187077b8012d26f28006c452e8000f014f2a..."} 
[2026-08-19 10:44:27] local.INFO: Packet analysis {"connection_id":157864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01870"} 
[2026-08-19 10:44:27] local.INFO: Extracted packet for processing {"connection_id":157864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01870"} 
[2026-08-19 10:44:27] local.INFO: GPS Element Parsed {"raw_longitude":757527168,"raw_latitude":113529576,"longitude_deg":75.7527168,"latitude_deg":11.3529576,"altitude":15,"angle":335,"satellites":42,"speed":58,"hex_longitude":"2d26f280","hex_latitude":"06c452e8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501801472001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385520722665013248,"note":"Value kept but may cause issues"} 
[2026-08-19 10:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2811301727703035904,"note":"Value kept but may cause issues"} 
[2026-08-19 10:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787116419000,"timestamp_ms":1787116419000,"timestamp_seconds":1787116419,"priority":1,"record_length":96,"hex_timestamp":"000001a0187077b8"} 
[2026-08-19 10:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:44: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-08-19 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 10:44: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-08-19 10: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-08-19 10:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:44:27] 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-08-19 10:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501801472001,"66":27876,"231":206,"81":20992,"24":58,"16":385520722665013248,"45":2811301727703035904},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-08-19 10:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501801472001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:44:27] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-19 10:44:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385520722665013248,"km_value":385520722665013.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2811301727703035904,"description":"Unknown IO ID 45"} 
[2026-08-19 10:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501801472001,"power":27876,"unknown_231":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2811301727703035904}} 
[2026-08-19 10:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":157864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:44:27] local.INFO: GPS data processed {"connection_id":157864,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:44:27] local.INFO: Acknowledgment sent {"connection_id":157864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:44:47] local.INFO: TCP Data received {"connection_id":160046,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0186fc408012d1aa8c007242558002f00f421..."} 
[2026-08-19 10:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0186fc408012d1aa8c007242558002f00f421..."} 
[2026-08-19 10:44:47] local.INFO: Processing buffer {"connection_id":160046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0186fc408012d1aa8c007242558002f00f421..."} 
[2026-08-19 10:44:47] local.INFO: Packet analysis {"connection_id":160046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0186f"} 
[2026-08-19 10:44:47] local.INFO: Extracted packet for processing {"connection_id":160046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0186f"} 
[2026-08-19 10:44:47] local.INFO: GPS Element Parsed {"raw_longitude":756721856,"raw_latitude":119809368,"longitude_deg":75.6721856,"latitude_deg":11.9809368,"altitude":47,"angle":244,"satellites":33,"speed":22,"hex_longitude":"2d1aa8c0","hex_latitude":"07242558","is_valid_coordinates":true} 
[2026-08-19 10:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501787904001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13667101331947520,"note":"Value kept but may cause issues"} 
[2026-08-19 10:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1930425789698060288,"note":"Value kept but may cause issues"} 
[2026-08-19 10:44:47] 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-08-19 10:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787116373000,"timestamp_ms":1787116373000,"timestamp_seconds":1787116373,"priority":1,"record_length":96,"hex_timestamp":"000001a0186fc408"} 
[2026-08-19 10:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:44:47] 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-08-19 10:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-19 10:44:47] 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-08-19 10:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501787904001,"66":14070,"112":206,"28":31744,"24":22,"16":13667101331947520,"45":1930425789698060288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501787904001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:44:47] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:44:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13667101331947520,"km_value":13667101331947.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1930425789698060288,"description":"Unknown IO ID 45"} 
[2026-08-19 10:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501787904001,"power":14070,"unknown_112":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1930425789698060288}} 
[2026-08-19 10:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":160046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:44:47] local.INFO: GPS data processed {"connection_id":160046,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:44:47] local.INFO: Acknowledgment sent {"connection_id":160046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:44:59] local.INFO: TCP Data received {"connection_id":157865,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:44:59] local.INFO: Processing buffer {"connection_id":157865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:44:59] local.INFO: IMEI packet received {"connection_id":157865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":157865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:45:04] local.INFO: TCP Data received {"connection_id":157865,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:45:04] local.INFO: Processing buffer {"connection_id":157865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:45:04] local.INFO: IMEI packet received {"connection_id":157865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":157865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:45:05] local.INFO: TCP Data received {"connection_id":157865,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018708f28012d26e3c006c47288000e014e29..."} 
[2026-08-19 10:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018708f28012d26e3c006c47288000e014e29..."} 
[2026-08-19 10:45:05] local.INFO: Processing buffer {"connection_id":157865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018708f28012d26e3c006c47288000e014e29..."} 
[2026-08-19 10:45:05] local.INFO: Packet analysis {"connection_id":157865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01870"} 
[2026-08-19 10:45:05] local.INFO: Extracted packet for processing {"connection_id":157865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01870"} 
[2026-08-19 10:45:05] local.INFO: GPS Element Parsed {"raw_longitude":757523392,"raw_latitude":113537672,"longitude_deg":75.7523392,"latitude_deg":11.3537672,"altitude":14,"angle":334,"satellites":41,"speed":58,"hex_longitude":"2d26e3c0","hex_latitude":"06c47288","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501803264001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385521156456710144,"note":"Value kept but may cause issues"} 
[2026-08-19 10:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2806446284357167104,"note":"Value kept but may cause issues"} 
[2026-08-19 10:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787116425000,"timestamp_ms":1787116425000,"timestamp_seconds":1787116425,"priority":1,"record_length":96,"hex_timestamp":"000001a018708f28"} 
[2026-08-19 10:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 10:45:05] 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-08-19 10: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-08-19 10:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:45:05] 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-08-19 10:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501803264001,"66":27843,"231":206,"81":20992,"24":58,"16":385521156456710144,"45":2806446284357167104},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-08-19 10:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501803264001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:45:05] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-19 10:45:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385521156456710144,"km_value":385521156456710.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2806446284357167104,"description":"Unknown IO ID 45"} 
[2026-08-19 10:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501803264001,"power":27843,"unknown_231":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2806446284357167104}} 
[2026-08-19 10:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":157865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:45:05] local.INFO: GPS data processed {"connection_id":157865,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:45:05] local.INFO: Acknowledgment sent {"connection_id":157865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:45:09] local.INFO: TCP Data received {"connection_id":157866,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:45:09] local.INFO: Processing buffer {"connection_id":157866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:45:09] local.INFO: IMEI packet received {"connection_id":157866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":157866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:45:14] local.INFO: TCP Data received {"connection_id":157866,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:45:14] local.INFO: Processing buffer {"connection_id":157866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:45:14] local.INFO: IMEI packet received {"connection_id":157866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":157866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:45:15] local.INFO: TCP Data received {"connection_id":157866,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018700670012d1a884007241640003200f822..."} 
[2026-08-19 10:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018700670012d1a884007241640003200f822..."} 
[2026-08-19 10:45:16] local.INFO: Processing buffer {"connection_id":157866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018700670012d1a884007241640003200f822..."} 
[2026-08-19 10:45:16] local.INFO: Packet analysis {"connection_id":157866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01870"} 
[2026-08-19 10:45:16] local.INFO: Extracted packet for processing {"connection_id":157866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01870"} 
[2026-08-19 10:45:16] local.INFO: GPS Element Parsed {"raw_longitude":756713536,"raw_latitude":119805504,"longitude_deg":75.6713536,"latitude_deg":11.9805504,"altitude":50,"angle":248,"satellites":34,"speed":23,"hex_longitude":"2d1a8840","hex_latitude":"07241640","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501791488001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13667539418611712,"note":"Value kept but may cause issues"} 
[2026-08-19 10:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920996377977247744,"note":"Value kept but may cause issues"} 
[2026-08-19 10:45: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-08-19 10:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787116390000,"timestamp_ms":1787116390000,"timestamp_seconds":1787116390,"priority":1,"record_length":96,"hex_timestamp":"000001a018700670"} 
[2026-08-19 10:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:45:16] 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-08-19 10: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-19 10:45:16] 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-08-19 10: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-08-19 10:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501791488001,"66":14461,"112":206,"28":31744,"24":23,"16":13667539418611712,"45":1920996377977247744},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501791488001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:45:16] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:45:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13667539418611712,"km_value":13667539418611.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920996377977247744,"description":"Unknown IO ID 45"} 
[2026-08-19 10:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501791488001,"power":14461,"unknown_112":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1920996377977247744}} 
[2026-08-19 10:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":157866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:45:16] local.INFO: GPS data processed {"connection_id":157866,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:45:16] local.INFO: Acknowledgment sent {"connection_id":157866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:45:36] local.INFO: TCP Data received {"connection_id":157865,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01870a698012d26d44006c491b8000e014b2a..."} 
[2026-08-19 10:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01870a698012d26d44006c491b8000e014b2a..."} 
[2026-08-19 10:45:36] local.INFO: Processing buffer {"connection_id":157865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01870a698012d26d44006c491b8000e014b2a..."} 
[2026-08-19 10:45:36] local.INFO: Packet analysis {"connection_id":157865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01870"} 
[2026-08-19 10:45:36] local.INFO: Extracted packet for processing {"connection_id":157865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01870"} 
[2026-08-19 10:45:36] local.INFO: GPS Element Parsed {"raw_longitude":757519424,"raw_latitude":113545656,"longitude_deg":75.7519424,"latitude_deg":11.3545656,"altitude":14,"angle":331,"satellites":42,"speed":59,"hex_longitude":"2d26d440","hex_latitude":"06c491b8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501804800001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385521585953439744,"note":"Value kept but may cause issues"} 
[2026-08-19 10:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2802294528452757504,"note":"Value kept but may cause issues"} 
[2026-08-19 10:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787116431000,"timestamp_ms":1787116431000,"timestamp_seconds":1787116431,"priority":1,"record_length":96,"hex_timestamp":"000001a01870a698"} 
[2026-08-19 10:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:45: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-08-19 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 10:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:45:36] 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-08-19 10:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501804800001,"66":27876,"231":206,"81":20992,"24":59,"16":385521585953439744,"45":2802294528452757504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-08-19 10:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501804800001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:45:36] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-19 10:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385521585953439744,"km_value":385521585953439.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2802294528452757504,"description":"Unknown IO ID 45"} 
[2026-08-19 10:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501804800001,"power":27876,"unknown_231":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2802294528452757504}} 
[2026-08-19 10:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":157865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:45:36] local.INFO: GPS data processed {"connection_id":157865,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:45:36] local.INFO: Acknowledgment sent {"connection_id":157865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:45:47] local.INFO: TCP Data received {"connection_id":157866,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018701de0012d1a7a0007240f38003300ec22..."} 
[2026-08-19 10:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018701de0012d1a7a0007240f38003300ec22..."} 
[2026-08-19 10:45:47] local.INFO: Processing buffer {"connection_id":157866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018701de0012d1a7a0007240f38003300ec22..."} 
[2026-08-19 10:45:47] local.INFO: Packet analysis {"connection_id":157866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01870"} 
[2026-08-19 10:45:47] local.INFO: Extracted packet for processing {"connection_id":157866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01870"} 
[2026-08-19 10:45:47] local.INFO: GPS Element Parsed {"raw_longitude":756709888,"raw_latitude":119803704,"longitude_deg":75.6709888,"latitude_deg":11.9803704,"altitude":51,"angle":236,"satellites":34,"speed":20,"hex_longitude":"2d1a7a00","hex_latitude":"07240f38","is_valid_coordinates":true} 
[2026-08-19 10:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501795840001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13667736987107328,"note":"Value kept but may cause issues"} 
[2026-08-19 10:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911848441233162240,"note":"Value kept but may cause issues"} 
[2026-08-19 10:45:47] 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-08-19 10:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787116396000,"timestamp_ms":1787116396000,"timestamp_seconds":1787116396,"priority":1,"record_length":96,"hex_timestamp":"000001a018701de0"} 
[2026-08-19 10:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:45:47] 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-08-19 10:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 10:45:47] 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-08-19 10: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-08-19 10:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501795840001,"66":14428,"112":206,"28":31744,"24":20,"16":13667736987107328,"45":1911848441233162240},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501795840001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:45:47] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:45:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13667736987107328,"km_value":13667736987107.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911848441233162240,"description":"Unknown IO ID 45"} 
[2026-08-19 10:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501795840001,"power":14428,"unknown_112":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1911848441233162240}} 
[2026-08-19 10:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":157866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:45:47] local.INFO: GPS data processed {"connection_id":157866,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:45:47] local.INFO: Acknowledgment sent {"connection_id":157866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:46:09] local.INFO: TCP Data received {"connection_id":158742,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:46:09] local.INFO: Processing buffer {"connection_id":158742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:46:09] local.INFO: IMEI packet received {"connection_id":158742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":158742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:46:09] local.INFO: TCP Data received {"connection_id":158743,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:46:09] local.INFO: Processing buffer {"connection_id":158743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:46:09] local.INFO: IMEI packet received {"connection_id":158743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":158743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:46:10] local.INFO: TCP Data received {"connection_id":158742,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:46:10] local.INFO: Processing buffer {"connection_id":158742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:46:10] local.INFO: IMEI packet received {"connection_id":158742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":158742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:46:14] local.INFO: TCP Data received {"connection_id":158743,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:46:14] local.INFO: Processing buffer {"connection_id":158743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:46:14] local.INFO: IMEI packet received {"connection_id":158743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":158743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:46:14] local.INFO: TCP Data received {"connection_id":158742,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:46:14] local.INFO: Processing buffer {"connection_id":158742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:46:14] local.INFO: IMEI packet received {"connection_id":158742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":158742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:46:15] local.INFO: TCP Data received {"connection_id":158742,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018720628012d1a23800723b3b00033002c22..."} 
[2026-08-19 10:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018720628012d1a23800723b3b00033002c22..."} 
[2026-08-19 10:46:15] local.INFO: Processing buffer {"connection_id":158742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018720628012d1a23800723b3b00033002c22..."} 
[2026-08-19 10:46:15] local.INFO: Packet analysis {"connection_id":158742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01872"} 
[2026-08-19 10:46:15] local.INFO: Extracted packet for processing {"connection_id":158742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01872"} 
[2026-08-19 10:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756687744,"raw_latitude":119780272,"longitude_deg":75.6687744,"latitude_deg":11.9780272,"altitude":51,"angle":44,"satellites":34,"speed":13,"hex_longitude":"2d1a2380","hex_latitude":"0723b3b0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501829120001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13669399139450880,"note":"Value kept but may cause issues"} 
[2026-08-19 10:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883349099834685440,"note":"Value kept but may cause issues"} 
[2026-08-19 10:46:15] 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-08-19 10:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787116521000,"timestamp_ms":1787116521000,"timestamp_seconds":1787116521,"priority":1,"record_length":96,"hex_timestamp":"000001a018720628"} 
[2026-08-19 10:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:46: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-08-19 10: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 10:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501829120001,"66":14396,"112":206,"28":31744,"24":13,"16":13669399139450880,"45":1883349099834685440},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501829120001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:46:15] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:46:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13669399139450880,"km_value":13669399139450.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883349099834685440,"description":"Unknown IO ID 45"} 
[2026-08-19 10:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501829120001,"power":14396,"unknown_112":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1883349099834685440}} 
[2026-08-19 10:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":158742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:46:15] local.INFO: GPS data processed {"connection_id":158742,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:46:15] local.INFO: Acknowledgment sent {"connection_id":158742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:46:25] local.INFO: TCP Data received {"connection_id":158743,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01871c3c0012d25c94006c5d1f8000f01442b..."} 
[2026-08-19 10:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01871c3c0012d25c94006c5d1f8000f01442b..."} 
[2026-08-19 10:46:25] local.INFO: Processing buffer {"connection_id":158743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01871c3c0012d25c94006c5d1f8000f01442b..."} 
[2026-08-19 10:46:25] local.INFO: Packet analysis {"connection_id":158743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01871"} 
[2026-08-19 10:46:25] local.INFO: Extracted packet for processing {"connection_id":158743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01871"} 
[2026-08-19 10:46:25] local.INFO: GPS Element Parsed {"raw_longitude":757451072,"raw_latitude":113627640,"longitude_deg":75.7451072,"latitude_deg":11.362764,"altitude":15,"angle":324,"satellites":43,"speed":58,"hex_longitude":"2d25c940","hex_latitude":"06c5d1f8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501823488001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385526722734325760,"note":"Value kept but may cause issues"} 
[2026-08-19 10:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2728759190808258560,"note":"Value kept but may cause issues"} 
[2026-08-19 10:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787116504000,"timestamp_ms":1787116504000,"timestamp_seconds":1787116504,"priority":1,"record_length":96,"hex_timestamp":"000001a01871c3c0"} 
[2026-08-19 10:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:46: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-08-19 10: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":228,"data_length":795,"current_offset":136} 
[2026-08-19 10:46: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-08-19 10: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-08-19 10:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":158743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":158743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":158743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:46:25] 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-08-19 10:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501823488001,"66":27876,"85":206,"81":20992,"24":58,"16":385526722734325760,"45":2728759190808258560},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-08-19 10:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501823488001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:46:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-19 10:46:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385526722734325760,"km_value":385526722734325.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2728759190808258560,"description":"Unknown IO ID 45"} 
[2026-08-19 10:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501823488001,"power":27876,"unknown_85":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2728759190808258560}} 
[2026-08-19 10:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":158743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:46:25] local.INFO: GPS data processed {"connection_id":158743,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:46:25] local.INFO: Acknowledgment sent {"connection_id":158743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:46:46] local.INFO: TCP Data received {"connection_id":158742,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0187211e0012d1a28000723b6e00033003a22..."} 
[2026-08-19 10:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187211e0012d1a28000723b6e00033003a22..."} 
[2026-08-19 10:46:46] local.INFO: Processing buffer {"connection_id":158742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187211e0012d1a28000723b6e00033003a22..."} 
[2026-08-19 10:46:46] local.INFO: Packet analysis {"connection_id":158742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01872"} 
[2026-08-19 10:46:46] local.INFO: Extracted packet for processing {"connection_id":158742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01872"} 
[2026-08-19 10:46:46] local.INFO: GPS Element Parsed {"raw_longitude":756688896,"raw_latitude":119781088,"longitude_deg":75.6688896,"latitude_deg":11.9781088,"altitude":51,"angle":58,"satellites":34,"speed":20,"hex_longitude":"2d1a2800","hex_latitude":"0723b6e0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501829376001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13669463563960320,"note":"Value kept but may cause issues"} 
[2026-08-19 10:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883489837323104256,"note":"Value kept but may cause issues"} 
[2026-08-19 10:46:46] 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-08-19 10:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787116524000,"timestamp_ms":1787116524000,"timestamp_seconds":1787116524,"priority":1,"record_length":96,"hex_timestamp":"000001a0187211e0"} 
[2026-08-19 10:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:46: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-08-19 10: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 10:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501829376001,"66":14004,"112":206,"28":31744,"24":20,"16":13669463563960320,"45":1883489837323104256},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501829376001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:46:46] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:46:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13669463563960320,"km_value":13669463563960.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883489837323104256,"description":"Unknown IO ID 45"} 
[2026-08-19 10:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501829376001,"power":14004,"unknown_112":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1883489837323104256}} 
[2026-08-19 10:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":158742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:46:46] local.INFO: GPS data processed {"connection_id":158742,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:46:46] local.INFO: Acknowledgment sent {"connection_id":158742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:46:59] local.INFO: TCP Data received {"connection_id":160047,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:46:59] local.INFO: Processing buffer {"connection_id":160047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:46:59] local.INFO: IMEI packet received {"connection_id":160047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":160047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:47:02] local.INFO: TCP Data received {"connection_id":160047,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:47:02] local.INFO: Processing buffer {"connection_id":160047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:47:02] local.INFO: IMEI packet received {"connection_id":160047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":160047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:47:07] local.INFO: TCP Data received {"connection_id":160047,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:47:07] local.INFO: Processing buffer {"connection_id":160047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:47:07] local.INFO: IMEI packet received {"connection_id":160047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":160047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:47:07] local.INFO: TCP Data received {"connection_id":160047,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01871db30012d25b50006c5ee60000e01452b..."} 
[2026-08-19 10:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01871db30012d25b50006c5ee60000e01452b..."} 
[2026-08-19 10:47:07] local.INFO: Processing buffer {"connection_id":160047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01871db30012d25b50006c5ee60000e01452b..."} 
[2026-08-19 10:47:07] local.INFO: Packet analysis {"connection_id":160047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01871"} 
[2026-08-19 10:47:07] local.INFO: Extracted packet for processing {"connection_id":160047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01871"} 
[2026-08-19 10:47:07] local.INFO: GPS Element Parsed {"raw_longitude":757445888,"raw_latitude":113634912,"longitude_deg":75.7445888,"latitude_deg":11.3634912,"altitude":14,"angle":325,"satellites":43,"speed":59,"hex_longitude":"2d25b500","hex_latitude":"06c5ee60","is_valid_coordinates":true} 
[2026-08-19 10:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501825024001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385527152231055360,"note":"Value kept but may cause issues"} 
[2026-08-19 10:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2722777847555028992,"note":"Value kept but may cause issues"} 
[2026-08-19 10:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787116510000,"timestamp_ms":1787116510000,"timestamp_seconds":1787116510,"priority":1,"record_length":96,"hex_timestamp":"000001a01871db30"} 
[2026-08-19 10:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:47: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-08-19 10:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 10:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:47:07] 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-08-19 10:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501825024001,"66":27876,"85":206,"81":20992,"24":59,"16":385527152231055360,"45":2722777847555028992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-08-19 10:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501825024001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-19 10:47:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-08-19 10:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385527152231055360,"km_value":385527152231055.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2722777847555028992,"description":"Unknown IO ID 45"} 
[2026-08-19 10:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501825024001,"power":27876,"unknown_85":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2722777847555028992}} 
[2026-08-19 10:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":160047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:47:07] local.INFO: GPS data processed {"connection_id":160047,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:47:07] local.INFO: Acknowledgment sent {"connection_id":160047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:47:09] local.INFO: TCP Data received {"connection_id":158744,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:47:09] local.INFO: Processing buffer {"connection_id":158744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:47:09] local.INFO: IMEI packet received {"connection_id":158744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":158744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:47:14] local.INFO: TCP Data received {"connection_id":158744,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:47:14] local.INFO: Processing buffer {"connection_id":158744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:47:14] local.INFO: IMEI packet received {"connection_id":158744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":158744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:47:15] local.INFO: TCP Data received {"connection_id":158744,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018722d38012d1a32000723be600033002f22..."} 
[2026-08-19 10:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018722d38012d1a32000723be600033002f22..."} 
[2026-08-19 10:47:15] local.INFO: Processing buffer {"connection_id":158744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018722d38012d1a32000723be600033002f22..."} 
[2026-08-19 10:47:15] local.INFO: Packet analysis {"connection_id":158744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01872"} 
[2026-08-19 10:47:15] local.INFO: Extracted packet for processing {"connection_id":158744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01872"} 
[2026-08-19 10:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756691456,"raw_latitude":119783008,"longitude_deg":75.6691456,"latitude_deg":11.9783008,"altitude":51,"angle":47,"satellites":34,"speed":10,"hex_longitude":"2d1a3200","hex_latitude":"0723be60","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501830144001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13669613887815680,"note":"Value kept but may cause issues"} 
[2026-08-19 10:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884756474718511104,"note":"Value kept but may cause issues"} 
[2026-08-19 10:47:15] 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-08-19 10:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787116531000,"timestamp_ms":1787116531000,"timestamp_seconds":1787116531,"priority":1,"record_length":96,"hex_timestamp":"000001a018722d38"} 
[2026-08-19 10:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:47:15] 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-08-19 10: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 10:47:15] 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-08-19 10: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-08-19 10:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501830144001,"66":14004,"112":206,"28":31744,"24":10,"16":13669613887815680,"45":1884756474718511104},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501830144001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:47:15] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:47:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13669613887815680,"km_value":13669613887815.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884756474718511104,"description":"Unknown IO ID 45"} 
[2026-08-19 10:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501830144001,"power":14004,"unknown_112":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1884756474718511104}} 
[2026-08-19 10:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":158744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:47:15] local.INFO: GPS data processed {"connection_id":158744,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:47:15] local.INFO: Acknowledgment sent {"connection_id":158744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:47:39] local.INFO: TCP Data received {"connection_id":160047,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018734e48012d24e6c006c7cac00011015b2e..."} 
[2026-08-19 10:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018734e48012d24e6c006c7cac00011015b2e..."} 
[2026-08-19 10:47:39] local.INFO: Processing buffer {"connection_id":160047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018734e48012d24e6c006c7cac00011015b2e..."} 
[2026-08-19 10:47:39] local.INFO: Packet analysis {"connection_id":160047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01873"} 
[2026-08-19 10:47:39] local.INFO: Extracted packet for processing {"connection_id":160047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01873"} 
[2026-08-19 10:47:39] local.INFO: GPS Element Parsed {"raw_longitude":757393088,"raw_latitude":113756864,"longitude_deg":75.7393088,"latitude_deg":11.3756864,"altitude":17,"angle":347,"satellites":46,"speed":63,"hex_longitude":"2d24e6c0","hex_latitude":"06c7cac0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501849088001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385533663401476096,"note":"Value kept but may cause issues"} 
[2026-08-19 10:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2660712615220619264,"note":"Value kept but may cause issues"} 
[2026-08-19 10:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787116605000,"timestamp_ms":1787116605000,"timestamp_seconds":1787116605,"priority":1,"record_length":96,"hex_timestamp":"000001a018734e48"} 
[2026-08-19 10:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 10:47:39] 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-08-19 10: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-08-19 10:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:47:39] 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-08-19 10:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501849088001,"66":27615,"79":206,"81":22528,"24":63,"16":385533663401476096,"45":2660712615220619264},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-08-19 10:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501849088001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:47:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-19 10:47:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385533663401476096,"km_value":385533663401476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2660712615220619264,"description":"Unknown IO ID 45"} 
[2026-08-19 10:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501849088001,"power":27615,"unknown_79":206,"unknown_81":22528,"ignition":63,"odometer":null,"unknown_45":2660712615220619264}} 
[2026-08-19 10:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":160047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:47:39] local.INFO: GPS data processed {"connection_id":160047,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:47:39] local.INFO: Acknowledgment sent {"connection_id":160047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:47:46] local.INFO: TCP Data received {"connection_id":158744,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018725060012d1a3e400723cc800033002322..."} 
[2026-08-19 10:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018725060012d1a3e400723cc800033002322..."} 
[2026-08-19 10:47:46] local.INFO: Processing buffer {"connection_id":158744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018725060012d1a3e400723cc800033002322..."} 
[2026-08-19 10:47:46] local.INFO: Packet analysis {"connection_id":158744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01872"} 
[2026-08-19 10:47:46] local.INFO: Extracted packet for processing {"connection_id":158744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01872"} 
[2026-08-19 10:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756694592,"raw_latitude":119786624,"longitude_deg":75.6694592,"latitude_deg":11.9786624,"altitude":51,"angle":35,"satellites":34,"speed":32,"hex_longitude":"2d1a3e40","hex_latitude":"0723cc80","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501831936001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13669845816049664,"note":"Value kept but may cause issues"} 
[2026-08-19 10:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887571224486109184,"note":"Value kept but may cause issues"} 
[2026-08-19 10:47:46] 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-08-19 10:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787116540000,"timestamp_ms":1787116540000,"timestamp_seconds":1787116540,"priority":1,"record_length":96,"hex_timestamp":"000001a018725060"} 
[2026-08-19 10:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:47: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-08-19 10: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 10:47:46] 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-08-19 10: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-08-19 10:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501831936001,"66":14515,"112":206,"28":31744,"24":32,"16":13669845816049664,"45":1887571224486109184},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501831936001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:47:46] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:47:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13669845816049664,"km_value":13669845816049.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887571224486109184,"description":"Unknown IO ID 45"} 
[2026-08-19 10:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501831936001,"power":14515,"unknown_112":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1887571224486109184}} 
[2026-08-19 10:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":158744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:47:46] local.INFO: GPS data processed {"connection_id":158744,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:47:46] local.INFO: Acknowledgment sent {"connection_id":158744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:48:05] local.INFO: TCP Data received {"connection_id":157867,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:48:05] local.INFO: Processing buffer {"connection_id":157867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:48:05] local.INFO: IMEI packet received {"connection_id":157867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":157867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:48:08] local.INFO: TCP Data received {"connection_id":157867,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:48:08] local.INFO: Processing buffer {"connection_id":157867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:48:08] local.INFO: IMEI packet received {"connection_id":157867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":157867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:48:09] local.INFO: TCP Data received {"connection_id":157868,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:48:09] local.INFO: Processing buffer {"connection_id":157868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:48:09] local.INFO: IMEI packet received {"connection_id":157868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":157868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:48:09] local.INFO: TCP Data received {"connection_id":157867,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0187369a0012d24dac006c7f5c0000e01552b..."} 
[2026-08-19 10:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187369a0012d24dac006c7f5c0000e01552b..."} 
[2026-08-19 10:48:09] local.INFO: Processing buffer {"connection_id":157867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187369a0012d24dac006c7f5c0000e01552b..."} 
[2026-08-19 10:48:09] local.INFO: Packet analysis {"connection_id":157867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01873"} 
[2026-08-19 10:48:09] local.INFO: Extracted packet for processing {"connection_id":157867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01873"} 
[2026-08-19 10:48:09] local.INFO: GPS Element Parsed {"raw_longitude":757390016,"raw_latitude":113767872,"longitude_deg":75.7390016,"latitude_deg":11.3767872,"altitude":14,"angle":341,"satellites":43,"speed":65,"hex_longitude":"2d24dac0","hex_latitude":"06c7f5c0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501850880001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385534217452257280,"note":"Value kept but may cause issues"} 
[2026-08-19 10:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2659023765363146752,"note":"Value kept but may cause issues"} 
[2026-08-19 10:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787116612000,"timestamp_ms":1787116612000,"timestamp_seconds":1787116612,"priority":1,"record_length":96,"hex_timestamp":"000001a0187369a0"} 
[2026-08-19 10:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-19 10:48:09] 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-08-19 10: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-08-19 10:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:48:09] 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-08-19 10:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501850880001,"66":27908,"79":206,"81":22528,"24":65,"16":385534217452257280,"45":2659023765363146752},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-08-19 10:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501850880001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:48:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-19 10:48:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385534217452257280,"km_value":385534217452257.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2659023765363146752,"description":"Unknown IO ID 45"} 
[2026-08-19 10:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501850880001,"power":27908,"unknown_79":206,"unknown_81":22528,"ignition":65,"odometer":null,"unknown_45":2659023765363146752}} 
[2026-08-19 10:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":157867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:48:09] local.INFO: GPS data processed {"connection_id":157867,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:48:09] local.INFO: Acknowledgment sent {"connection_id":157867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:48:10] local.INFO: TCP Data received {"connection_id":157867,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018738110012d24ce8006c81a78000c01552c..."} 
[2026-08-19 10:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018738110012d24ce8006c81a78000c01552c..."} 
[2026-08-19 10:48:10] local.INFO: Processing buffer {"connection_id":157867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018738110012d24ce8006c81a78000c01552c..."} 
[2026-08-19 10:48:10] local.INFO: Packet analysis {"connection_id":157867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01873"} 
[2026-08-19 10:48:10] local.INFO: Extracted packet for processing {"connection_id":157867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01873"} 
[2026-08-19 10:48:10] local.INFO: GPS Element Parsed {"raw_longitude":757386880,"raw_latitude":113777272,"longitude_deg":75.738688,"latitude_deg":11.3777272,"altitude":12,"angle":341,"satellites":44,"speed":64,"hex_longitude":"2d24ce80","hex_latitude":"06c81a78","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501852672001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385534694193627136,"note":"Value kept but may cause issues"} 
[2026-08-19 10:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2655646065645436928,"note":"Value kept but may cause issues"} 
[2026-08-19 10:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787116618000,"timestamp_ms":1787116618000,"timestamp_seconds":1787116618,"priority":1,"record_length":96,"hex_timestamp":"000001a018738110"} 
[2026-08-19 10:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:48: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-08-19 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 10:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501852672001,"66":27930,"79":206,"81":22528,"24":64,"16":385534694193627136,"45":2655646065645436928},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-08-19 10:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501852672001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:48:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-19 10:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385534694193627136,"km_value":385534694193627.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2655646065645436928,"description":"Unknown IO ID 45"} 
[2026-08-19 10:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501852672001,"power":27930,"unknown_79":206,"unknown_81":22528,"ignition":64,"odometer":null,"unknown_45":2655646065645436928}} 
[2026-08-19 10:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":157867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:48:11] local.INFO: GPS data processed {"connection_id":157867,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:48:11] local.INFO: Acknowledgment sent {"connection_id":157867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:48:14] local.INFO: TCP Data received {"connection_id":157868,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:48:14] local.INFO: Processing buffer {"connection_id":157868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:48:14] local.INFO: IMEI packet received {"connection_id":157868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":157868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:48:16] local.INFO: TCP Data received {"connection_id":157868,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018727770012d1a53000723ecf00032002123..."} 
[2026-08-19 10:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018727770012d1a53000723ecf00032002123..."} 
[2026-08-19 10:48:16] local.INFO: Processing buffer {"connection_id":157868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018727770012d1a53000723ecf00032002123..."} 
[2026-08-19 10:48:16] local.INFO: Packet analysis {"connection_id":157868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01872"} 
[2026-08-19 10:48:16] local.INFO: Extracted packet for processing {"connection_id":157868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01872"} 
[2026-08-19 10:48:16] local.INFO: GPS Element Parsed {"raw_longitude":756699904,"raw_latitude":119794928,"longitude_deg":75.6699904,"latitude_deg":11.9794928,"altitude":50,"angle":33,"satellites":35,"speed":45,"hex_longitude":"2d1a5300","hex_latitude":"0723ecf0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501834240001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13670322557419520,"note":"Value kept but may cause issues"} 
[2026-08-19 10:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891019292951740416,"note":"Value kept but may cause issues"} 
[2026-08-19 10:48: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-08-19 10:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787116550000,"timestamp_ms":1787116550000,"timestamp_seconds":1787116550,"priority":1,"record_length":96,"hex_timestamp":"000001a018727770"} 
[2026-08-19 10:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:48:16] 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-08-19 10: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 10:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501834240001,"66":13852,"112":206,"28":31744,"24":45,"16":13670322557419520,"45":1891019292951740416},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501834240001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:48:16] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:48:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13670322557419520,"km_value":13670322557419.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891019292951740416,"description":"Unknown IO ID 45"} 
[2026-08-19 10:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501834240001,"power":13852,"unknown_112":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1891019292951740416}} 
[2026-08-19 10:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":157868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:48:16] local.INFO: GPS data processed {"connection_id":157868,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:48:16] local.INFO: Acknowledgment sent {"connection_id":157868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:48:42] local.INFO: TCP Data received {"connection_id":157867,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018739c68012d24c08006c84340000c01552d..."} 
[2026-08-19 10:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018739c68012d24c08006c84340000c01552d..."} 
[2026-08-19 10:48:42] local.INFO: Processing buffer {"connection_id":157867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018739c68012d24c08006c84340000c01552d..."} 
[2026-08-19 10:48:42] local.INFO: Packet analysis {"connection_id":157867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01873"} 
[2026-08-19 10:48:42] local.INFO: Extracted packet for processing {"connection_id":157867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01873"} 
[2026-08-19 10:48:42] local.INFO: GPS Element Parsed {"raw_longitude":757383296,"raw_latitude":113787712,"longitude_deg":75.7383296,"latitude_deg":11.3787712,"altitude":12,"angle":341,"satellites":45,"speed":59,"hex_longitude":"2d24c080","hex_latitude":"06c84340","is_valid_coordinates":true} 
[2026-08-19 10:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501854208001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385535231064539136,"note":"Value kept but may cause issues"} 
[2026-08-19 10:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2652197997183137792,"note":"Value kept but may cause issues"} 
[2026-08-19 10:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787116625000,"timestamp_ms":1787116625000,"timestamp_seconds":1787116625,"priority":1,"record_length":96,"hex_timestamp":"000001a018739c68"} 
[2026-08-19 10:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 10:48:42] 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-08-19 10:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501854208001,"66":27865,"79":206,"81":22528,"24":59,"16":385535231064539136,"45":2652197997183137792},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-08-19 10:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501854208001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:48:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-19 10:48:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385535231064539136,"km_value":385535231064539.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2652197997183137792,"description":"Unknown IO ID 45"} 
[2026-08-19 10:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501854208001,"power":27865,"unknown_79":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2652197997183137792}} 
[2026-08-19 10:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":157867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:48:42] local.INFO: GPS data processed {"connection_id":157867,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:48:42] local.INFO: Acknowledgment sent {"connection_id":157867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:48:49] local.INFO: TCP Data received {"connection_id":157868,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018728ee0012d1a6280072401580030002c22..."} 
[2026-08-19 10:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018728ee0012d1a6280072401580030002c22..."} 
[2026-08-19 10:48:49] local.INFO: Processing buffer {"connection_id":157868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018728ee0012d1a6280072401580030002c22..."} 
[2026-08-19 10:48:49] local.INFO: Packet analysis {"connection_id":157868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01872"} 
[2026-08-19 10:48:49] local.INFO: Extracted packet for processing {"connection_id":157868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01872"} 
[2026-08-19 10:48:49] local.INFO: GPS Element Parsed {"raw_longitude":756703872,"raw_latitude":119800152,"longitude_deg":75.6703872,"latitude_deg":11.9800152,"altitude":48,"angle":44,"satellites":34,"speed":39,"hex_longitude":"2d1a6280","hex_latitude":"07240158","is_valid_coordinates":true} 
[2026-08-19 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-08-19 10:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501836800001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13670636090032128,"note":"Value kept but may cause issues"} 
[2026-08-19 10:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1896859898720612352,"note":"Value kept but may cause issues"} 
[2026-08-19 10:48:49] 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-08-19 10:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787116556000,"timestamp_ms":1787116556000,"timestamp_seconds":1787116556,"priority":1,"record_length":96,"hex_timestamp":"000001a018728ee0"} 
[2026-08-19 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-08-19 10:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-19 10:48:49] 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-08-19 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-08-19 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-08-19 10:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":157868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":157868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":157868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501836800001,"66":13472,"112":206,"28":31744,"24":39,"16":13670636090032128,"45":1896859898720612352},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501836800001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:48:49] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:48:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13670636090032128,"km_value":13670636090032.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1896859898720612352,"description":"Unknown IO ID 45"} 
[2026-08-19 10:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501836800001,"power":13472,"unknown_112":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1896859898720612352}} 
[2026-08-19 10:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":157868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:48:49] local.INFO: GPS data processed {"connection_id":157868,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:48:49] local.INFO: Acknowledgment sent {"connection_id":157868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:49:00] local.INFO: TCP Data received {"connection_id":158745,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:49:00] local.INFO: Processing buffer {"connection_id":158745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:49:00] local.INFO: IMEI packet received {"connection_id":158745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":158745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:49:06] local.INFO: TCP Data received {"connection_id":158745,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:49:06] local.INFO: Processing buffer {"connection_id":158745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:49:06] local.INFO: IMEI packet received {"connection_id":158745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":158745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:49:09] local.INFO: TCP Data received {"connection_id":158745,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01873b7c0012d24b40006c86870000d01562d..."} 
[2026-08-19 10:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01873b7c0012d24b40006c86870000d01562d..."} 
[2026-08-19 10:49:09] local.INFO: Processing buffer {"connection_id":158745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01873b7c0012d24b40006c86870000d01562d..."} 
[2026-08-19 10:49:09] local.INFO: Packet analysis {"connection_id":158745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01873"} 
[2026-08-19 10:49:09] local.INFO: Extracted packet for processing {"connection_id":158745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01873"} 
[2026-08-19 10:49:09] local.INFO: GPS Element Parsed {"raw_longitude":757380096,"raw_latitude":113797232,"longitude_deg":75.7380096,"latitude_deg":11.3797232,"altitude":13,"angle":342,"satellites":45,"speed":53,"hex_longitude":"2d24b400","hex_latitude":"06c86870","is_valid_coordinates":true} 
[2026-08-19 10:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501856000001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385535716395843584,"note":"Value kept but may cause issues"} 
[2026-08-19 10:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2648257347511861248,"note":"Value kept but may cause issues"} 
[2026-08-19 10:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787116632000,"timestamp_ms":1787116632000,"timestamp_seconds":1787116632,"priority":1,"record_length":96,"hex_timestamp":"000001a01873b7c0"} 
[2026-08-19 10:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:49:09] 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-08-19 10:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":158745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":158745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":158745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:49:09] 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-08-19 10:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501856000001,"66":27908,"79":206,"81":22528,"24":53,"16":385535716395843584,"45":2648257347511861248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-08-19 10:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501856000001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:49:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-19 10:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385535716395843584,"km_value":385535716395843.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2648257347511861248,"description":"Unknown IO ID 45"} 
[2026-08-19 10:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501856000001,"power":27908,"unknown_79":206,"unknown_81":22528,"ignition":53,"odometer":null,"unknown_45":2648257347511861248}} 
[2026-08-19 10:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":158745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:49:09] local.INFO: GPS data processed {"connection_id":158745,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:49:09] local.INFO: Acknowledgment sent {"connection_id":158745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:49:14] local.INFO: TCP Data received {"connection_id":160048,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:49:14] local.INFO: Processing buffer {"connection_id":160048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:49:14] local.INFO: IMEI packet received {"connection_id":160048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":160048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:49:16] local.INFO: TCP Data received {"connection_id":160048,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:49:16] local.INFO: Processing buffer {"connection_id":160048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:49:16] local.INFO: IMEI packet received {"connection_id":160048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":160048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:49:17] local.INFO: TCP Data received {"connection_id":160048,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01874d100012d1aba0007242808002b001d23..."} 
[2026-08-19 10:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01874d100012d1aba0007242808002b001d23..."} 
[2026-08-19 10:49:17] local.INFO: Processing buffer {"connection_id":160048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01874d100012d1aba0007242808002b001d23..."} 
[2026-08-19 10:49:17] local.INFO: Packet analysis {"connection_id":160048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01874"} 
[2026-08-19 10:49:17] local.INFO: Extracted packet for processing {"connection_id":160048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01874"} 
[2026-08-19 10:49:17] local.INFO: GPS Element Parsed {"raw_longitude":756726272,"raw_latitude":119810056,"longitude_deg":75.6726272,"latitude_deg":11.9810056,"altitude":43,"angle":29,"satellites":35,"speed":3,"hex_longitude":"2d1aba00","hex_latitude":"07242808","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501875712001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13671142896173056,"note":"Value kept but may cause issues"} 
[2026-08-19 10:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925781452581464064,"note":"Value kept but may cause issues"} 
[2026-08-19 10:49:17] 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-08-19 10:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787116704000,"timestamp_ms":1787116704000,"timestamp_seconds":1787116704,"priority":1,"record_length":96,"hex_timestamp":"000001a01874d100"} 
[2026-08-19 10:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:49:17] 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-08-19 10: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-19 10:49:17] 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-08-19 10: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-08-19 10:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501875712001,"66":14157,"112":206,"28":31744,"24":3,"16":13671142896173056,"45":1925781452581464064},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501875712001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:49:17] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:49:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13671142896173056,"km_value":13671142896173.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925781452581464064,"description":"Unknown IO ID 45"} 
[2026-08-19 10:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501875712001,"power":14157,"unknown_112":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1925781452581464064}} 
[2026-08-19 10:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":160048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:49:17] local.INFO: GPS data processed {"connection_id":160048,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:49:17] local.INFO: Acknowledgment sent {"connection_id":160048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:49:19] local.INFO: TCP Data received {"connection_id":160048,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01874d4e8012d1aba0007242898002b000423..."} 
[2026-08-19 10:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01874d4e8012d1aba0007242898002b000423..."} 
[2026-08-19 10:49:19] local.INFO: Processing buffer {"connection_id":160048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01874d4e8012d1aba0007242898002b000423..."} 
[2026-08-19 10:49:19] local.INFO: Packet analysis {"connection_id":160048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01874"} 
[2026-08-19 10:49:19] local.INFO: Extracted packet for processing {"connection_id":160048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01874"} 
[2026-08-19 10:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756726272,"raw_latitude":119810200,"longitude_deg":75.6726272,"latitude_deg":11.98102,"altitude":43,"angle":4,"satellites":35,"speed":4,"hex_longitude":"2d1aba00","hex_latitude":"07242898","is_valid_coordinates":true} 
[2026-08-19 10:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501876224001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13671151486107648,"note":"Value kept but may cause issues"} 
[2026-08-19 10:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925851821325682688,"note":"Value kept but may cause issues"} 
[2026-08-19 10:49:19] 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-08-19 10:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787116705000,"timestamp_ms":1787116705000,"timestamp_seconds":1787116705,"priority":1,"record_length":96,"hex_timestamp":"000001a01874d4e8"} 
[2026-08-19 10:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 10:49:19] 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-08-19 10:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501876224001,"66":14265,"112":206,"28":31744,"24":4,"16":13671151486107648,"45":1925851821325682688},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501876224001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:49:19] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:49:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13671151486107648,"km_value":13671151486107.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925851821325682688,"description":"Unknown IO ID 45"} 
[2026-08-19 10:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501876224001,"power":14265,"unknown_112":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1925851821325682688}} 
[2026-08-19 10:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":160048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:49:20] local.INFO: GPS data processed {"connection_id":160048,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:49:20] local.INFO: Acknowledgment sent {"connection_id":160048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:49:40] local.INFO: TCP Data received {"connection_id":158745,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018752ad8012d23e34006ca12f8000e01322d..."} 
[2026-08-19 10:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018752ad8012d23e34006ca12f8000e01322d..."} 
[2026-08-19 10:49:40] local.INFO: Processing buffer {"connection_id":158745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018752ad8012d23e34006ca12f8000e01322d..."} 
[2026-08-19 10:49:40] local.INFO: Packet analysis {"connection_id":158745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01875"} 
[2026-08-19 10:49:40] local.INFO: Extracted packet for processing {"connection_id":158745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01875"} 
[2026-08-19 10:49:40] local.INFO: GPS Element Parsed {"raw_longitude":757326656,"raw_latitude":113906424,"longitude_deg":75.7326656,"latitude_deg":11.3906424,"altitude":14,"angle":306,"satellites":45,"speed":59,"hex_longitude":"2d23e340","hex_latitude":"06ca12f8","is_valid_coordinates":true} 
[2026-08-19 10:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501881088001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385541686400385024,"note":"Value kept but may cause issues"} 
[2026-08-19 10:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2590836452292243456,"note":"Value kept but may cause issues"} 
[2026-08-19 10:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787116727000,"timestamp_ms":1787116727000,"timestamp_seconds":1787116727,"priority":1,"record_length":96,"hex_timestamp":"000001a018752ad8"} 
[2026-08-19 10:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:49:40] 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-08-19 10:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:49:40] 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-08-19 10:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501881088001,"66":27919,"47":206,"81":22528,"24":59,"16":385541686400385024,"45":2590836452292243456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-08-19 10:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501881088001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:49:40] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-19 10:49:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385541686400385024,"km_value":385541686400385.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2590836452292243456,"description":"Unknown IO ID 45"} 
[2026-08-19 10:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501881088001,"power":27919,"unknown_47":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2590836452292243456}} 
[2026-08-19 10:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":158745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:49:40] local.INFO: GPS data processed {"connection_id":158745,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:49:40] local.INFO: Acknowledgment sent {"connection_id":158745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:49:51] local.INFO: TCP Data received {"connection_id":160048,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01874d8d0012d1ab9c007242908002b014a23..."} 
[2026-08-19 10:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01874d8d0012d1ab9c007242908002b014a23..."} 
[2026-08-19 10:49:51] local.INFO: Processing buffer {"connection_id":160048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01874d8d0012d1ab9c007242908002b014a23..."} 
[2026-08-19 10:49:51] local.INFO: Packet analysis {"connection_id":160048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01874"} 
[2026-08-19 10:49:51] local.INFO: Extracted packet for processing {"connection_id":160048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01874"} 
[2026-08-19 10:49:51] local.INFO: GPS Element Parsed {"raw_longitude":756726208,"raw_latitude":119810312,"longitude_deg":75.6726208,"latitude_deg":11.9810312,"altitude":43,"angle":330,"satellites":35,"speed":5,"hex_longitude":"2d1ab9c0","hex_latitude":"07242908","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501876480001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13671155781074944,"note":"Value kept but may cause issues"} 
[2026-08-19 10:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925851821325719552,"note":"Value kept but may cause issues"} 
[2026-08-19 10:49:51] 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-08-19 10:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787116706000,"timestamp_ms":1787116706000,"timestamp_seconds":1787116706,"priority":1,"record_length":96,"hex_timestamp":"000001a01874d8d0"} 
[2026-08-19 10:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 10:49: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-08-19 10: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-08-19 10:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501876480001,"66":14265,"112":206,"28":31744,"24":5,"16":13671155781074944,"45":1925851821325719552},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501876480001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:49:51] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:49:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13671155781074944,"km_value":13671155781074.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925851821325719552,"description":"Unknown IO ID 45"} 
[2026-08-19 10:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501876480001,"power":14265,"unknown_112":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1925851821325719552}} 
[2026-08-19 10:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":160048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:49:51] local.INFO: GPS data processed {"connection_id":160048,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:49:51] local.INFO: Acknowledgment sent {"connection_id":160048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:50:06] local.INFO: TCP Data received {"connection_id":158746,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:50:06] local.INFO: Processing buffer {"connection_id":158746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:50:06] local.INFO: IMEI packet received {"connection_id":158746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":158746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:50:09] local.INFO: TCP Data received {"connection_id":158746,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:50:09] local.INFO: Processing buffer {"connection_id":158746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:50:09] local.INFO: IMEI packet received {"connection_id":158746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":158746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:50:09] local.INFO: TCP Data received {"connection_id":158747,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:50:09] local.INFO: Processing buffer {"connection_id":158747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:50:09] local.INFO: IMEI packet received {"connection_id":158747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":158747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:50:10] local.INFO: TCP Data received {"connection_id":158746,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:50:10] local.INFO: Processing buffer {"connection_id":158746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:50:10] local.INFO: IMEI packet received {"connection_id":158746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":158746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:50:11] local.INFO: TCP Data received {"connection_id":158746,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01874dcb8012d1ab94007242958002b012223..."} 
[2026-08-19 10:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01874dcb8012d1ab94007242958002b012223..."} 
[2026-08-19 10:50:11] local.INFO: Processing buffer {"connection_id":158746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01874dcb8012d1ab94007242958002b012223..."} 
[2026-08-19 10:50:11] local.INFO: Packet analysis {"connection_id":158746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01874"} 
[2026-08-19 10:50:11] local.INFO: Extracted packet for processing {"connection_id":158746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01874"} 
[2026-08-19 10:50:11] local.INFO: GPS Element Parsed {"raw_longitude":756726080,"raw_latitude":119810392,"longitude_deg":75.672608,"latitude_deg":11.9810392,"altitude":43,"angle":290,"satellites":35,"speed":6,"hex_longitude":"2d1ab940","hex_latitude":"07242958","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501876736001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13671164371009536,"note":"Value kept but may cause issues"} 
[2026-08-19 10:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925781452581570560,"note":"Value kept but may cause issues"} 
[2026-08-19 10:50: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-08-19 10:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787116707000,"timestamp_ms":1787116707000,"timestamp_seconds":1787116707,"priority":1,"record_length":96,"hex_timestamp":"000001a01874dcb8"} 
[2026-08-19 10:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:50:11] 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-08-19 10: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 10:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501876736001,"66":13678,"112":206,"28":31744,"24":6,"16":13671164371009536,"45":1925781452581570560},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501876736001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:50:11] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:50:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13671164371009536,"km_value":13671164371009.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925781452581570560,"description":"Unknown IO ID 45"} 
[2026-08-19 10:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501876736001,"power":13678,"unknown_112":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1925781452581570560}} 
[2026-08-19 10:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":158746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:50:11] local.INFO: GPS data processed {"connection_id":158746,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:50:11] local.INFO: Acknowledgment sent {"connection_id":158746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:50:12] local.INFO: TCP Data received {"connection_id":158747,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:50:12] local.INFO: Processing buffer {"connection_id":158747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:50:12] local.INFO: IMEI packet received {"connection_id":158747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":158747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:50:21] local.INFO: TCP Data received {"connection_id":158747,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:50:21] local.INFO: Processing buffer {"connection_id":158747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:50:21] local.INFO: IMEI packet received {"connection_id":158747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":158747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:50:23] local.INFO: TCP Data received {"connection_id":158747,"ip":"42.106.6.26","data_length":1348,"data_hex":"000000000000030f8e0a000001a018753e60012d23c9c006ca21b0000e01252c..."} 
[2026-08-19 10:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158747,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a018753e60012d23c9c006ca21b0000e01252c..."} 
[2026-08-19 10:50:23] local.INFO: Processing buffer {"connection_id":158747,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a018753e60012d23c9c006ca21b0000e01252c..."} 
[2026-08-19 10:50:23] local.INFO: Packet analysis {"connection_id":158747,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a01875"} 
[2026-08-19 10:50:23] local.INFO: Extracted packet for processing {"connection_id":158747,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a01875"} 
[2026-08-19 10:50:23] local.INFO: GPS Element Parsed {"raw_longitude":757320128,"raw_latitude":113910192,"longitude_deg":75.7320128,"latitude_deg":11.3910192,"altitude":14,"angle":293,"satellites":44,"speed":59,"hex_longitude":"2d23c9c0","hex_latitude":"06ca21b0","is_valid_coordinates":true} 
[2026-08-19 10:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501882112001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385542051472605184,"note":"Value kept but may cause issues"} 
[2026-08-19 10:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2585981008945018880,"note":"Value kept but may cause issues"} 
[2026-08-19 10:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787116732000,"timestamp_ms":1787116732000,"timestamp_seconds":1787116732,"priority":1,"record_length":96,"hex_timestamp":"000001a018753e60"} 
[2026-08-19 10:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:50: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-08-19 10:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 10:50:23] 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-08-19 10:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:50:23] 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-08-19 10:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501882112001,"66":27821,"47":206,"81":22528,"24":59,"16":385542051472605184,"45":2585981008945018880},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-08-19 10:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501882112001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:50:23] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-19 10:50:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385542051472605184,"km_value":385542051472605.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2585981008945018880,"description":"Unknown IO ID 45"} 
[2026-08-19 10:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501882112001,"power":27821,"unknown_47":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2585981008945018880}} 
[2026-08-19 10:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":158747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:50:23] local.INFO: GPS data processed {"connection_id":158747,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:50:23] local.INFO: Acknowledgment sent {"connection_id":158747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:50:23] local.INFO: Packet analysis {"connection_id":158747,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a01875"} 
[2026-08-19 10:50:23] local.INFO: Incomplete packet, waiting for more data {"connection_id":158747,"needed":795,"available":553} 
[2026-08-19 10:50:25] local.INFO: TCP Data received {"connection_id":158747,"ip":"42.106.6.26","data_length":1037,"data_hex":"000000000001a01874c160012d242a8006c989b8000d01562d003c0000000a00..."} 
[2026-08-19 10:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158747,"packet_length":1037,"packet_hex":"000000000001a01874c160012d242a8006c989b8000d01562d003c0000000a00..."} 
[2026-08-19 10:50:25] local.INFO: Processing buffer {"connection_id":158747,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a018754e00012d23b30006ca2850000e01192a..."} 
[2026-08-19 10:50:25] local.INFO: Packet analysis {"connection_id":158747,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a01875"} 
[2026-08-19 10:50:25] local.INFO: Extracted packet for processing {"connection_id":158747,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01875"} 
[2026-08-19 10:50:25] local.INFO: GPS Element Parsed {"raw_longitude":757314304,"raw_latitude":113911888,"longitude_deg":75.7314304,"latitude_deg":11.3911888,"altitude":14,"angle":281,"satellites":42,"speed":58,"hex_longitude":"2d23b300","hex_latitude":"06ca2850","is_valid_coordinates":true} 
[2026-08-19 10:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501883392001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385542339235414016,"note":"Value kept but may cause issues"} 
[2026-08-19 10:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2578803397039861760,"note":"Value kept but may cause issues"} 
[2026-08-19 10:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787116736000,"timestamp_ms":1787116736000,"timestamp_seconds":1787116736,"priority":1,"record_length":96,"hex_timestamp":"000001a018754e00"} 
[2026-08-19 10:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:50: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-08-19 10:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 10:50: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-08-19 10:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":158747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":158747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":158747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:50:25] 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-08-19 10:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501883392001,"66":27843,"47":206,"81":22528,"24":58,"16":385542339235414016,"45":2578803397039861760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-08-19 10:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501883392001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:50:25] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-19 10:50:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385542339235414016,"km_value":385542339235414.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2578803397039861760,"description":"Unknown IO ID 45"} 
[2026-08-19 10:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501883392001,"power":27843,"unknown_47":206,"unknown_81":22528,"ignition":58,"odometer":null,"unknown_45":2578803397039861760}} 
[2026-08-19 10:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":158747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:50:25] local.INFO: GPS data processed {"connection_id":158747,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:50:25] local.INFO: Acknowledgment sent {"connection_id":158747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:50:25] local.INFO: Packet analysis {"connection_id":158747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01875"} 
[2026-08-19 10:50:25] local.INFO: Extracted packet for processing {"connection_id":158747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01875"} 
[2026-08-19 10:50:25] local.INFO: GPS Element Parsed {"raw_longitude":757304000,"raw_latitude":113913720,"longitude_deg":75.7304,"latitude_deg":11.391372,"altitude":14,"angle":280,"satellites":42,"speed":58,"hex_longitude":"2d238ac0","hex_latitude":"06ca2f78","is_valid_coordinates":true} 
[2026-08-19 10:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501884416001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385542837451620352,"note":"Value kept but may cause issues"} 
[2026-08-19 10:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2572399841320128512,"note":"Value kept but may cause issues"} 
[2026-08-19 10:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787116743000,"timestamp_ms":1787116743000,"timestamp_seconds":1787116743,"priority":1,"record_length":96,"hex_timestamp":"000001a018756958"} 
[2026-08-19 10:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:50: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-08-19 10:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 10:50: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-08-19 10:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":158747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":158747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":158747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:50:25] 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-08-19 10:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501884416001,"66":27876,"47":206,"81":22528,"24":58,"16":385542837451620352,"45":2572399841320128512},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-08-19 10:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501884416001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:50:25] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-19 10:50:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385542837451620352,"km_value":385542837451620.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2572399841320128512,"description":"Unknown IO ID 45"} 
[2026-08-19 10:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501884416001,"power":27876,"unknown_47":206,"unknown_81":22528,"ignition":58,"odometer":null,"unknown_45":2572399841320128512}} 
[2026-08-19 10:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":158747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:50:25] local.INFO: GPS data processed {"connection_id":158747,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:50:25] local.INFO: Acknowledgment sent {"connection_id":158747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:50:52] local.INFO: TCP Data received {"connection_id":158746,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01875ee28012d1a05400723a8b80030010624..."} 
[2026-08-19 10:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01875ee28012d1a05400723a8b80030010624..."} 
[2026-08-19 10:50:52] local.INFO: Processing buffer {"connection_id":158746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01875ee28012d1a05400723a8b80030010624..."} 
[2026-08-19 10:50:52] local.INFO: Packet analysis {"connection_id":158746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01875"} 
[2026-08-19 10:50:52] local.INFO: Extracted packet for processing {"connection_id":158746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01875"} 
[2026-08-19 10:50:52] local.INFO: GPS Element Parsed {"raw_longitude":756680000,"raw_latitude":119777464,"longitude_deg":75.668,"latitude_deg":11.9777464,"altitude":48,"angle":262,"satellites":36,"speed":45,"hex_longitude":"2d1a0540","hex_latitude":"0723a8b8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501893888001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13673973279621120,"note":"Value kept but may cause issues"} 
[2026-08-19 10:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879830662625406976,"note":"Value kept but may cause issues"} 
[2026-08-19 10:50:52] 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-08-19 10:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787116777000,"timestamp_ms":1787116777000,"timestamp_seconds":1787116777,"priority":1,"record_length":96,"hex_timestamp":"000001a01875ee28"} 
[2026-08-19 10:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-19 10:50:52] 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-08-19 10: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-08-19 10:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":158746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":158746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":158746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501893888001,"66":13820,"112":206,"28":31744,"24":45,"16":13673973279621120,"45":1879830662625406976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501893888001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:50:52] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:50:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13673973279621120,"km_value":13673973279621.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879830662625406976,"description":"Unknown IO ID 45"} 
[2026-08-19 10:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501893888001,"power":13820,"unknown_112":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1879830662625406976}} 
[2026-08-19 10:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":158746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:50:52] local.INFO: GPS data processed {"connection_id":158746,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:50:52] local.INFO: Acknowledgment sent {"connection_id":158746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:50:59] local.INFO: TCP Data received {"connection_id":157869,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:50:59] local.INFO: Processing buffer {"connection_id":157869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:50:59] local.INFO: IMEI packet received {"connection_id":157869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":157869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:51:02] local.INFO: TCP Data received {"connection_id":157869,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:51:02] local.INFO: Processing buffer {"connection_id":157869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:51:02] local.INFO: IMEI packet received {"connection_id":157869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":157869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:51:07] local.INFO: TCP Data received {"connection_id":160049,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:51:07] local.INFO: Processing buffer {"connection_id":160049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:51:07] local.INFO: IMEI packet received {"connection_id":160049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":160049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:51:09] local.INFO: TCP Data received {"connection_id":160049,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:51:09] local.INFO: Processing buffer {"connection_id":160049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:51:09] local.INFO: IMEI packet received {"connection_id":160049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":160049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:51:15] local.INFO: TCP Data received {"connection_id":160049,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:51:15] local.INFO: Processing buffer {"connection_id":160049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:51:15] local.INFO: IMEI packet received {"connection_id":160049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":160049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:51:16] local.INFO: TCP Data received {"connection_id":160049,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018761150012d19e1c00723a3e80034010621..."} 
[2026-08-19 10:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018761150012d19e1c00723a3e80034010621..."} 
[2026-08-19 10:51:16] local.INFO: Processing buffer {"connection_id":160049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018761150012d19e1c00723a3e80034010621..."} 
[2026-08-19 10:51:16] local.INFO: Packet analysis {"connection_id":160049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01876"} 
[2026-08-19 10:51:16] local.INFO: Extracted packet for processing {"connection_id":160049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01876"} 
[2026-08-19 10:51:16] local.INFO: GPS Element Parsed {"raw_longitude":756670912,"raw_latitude":119776232,"longitude_deg":75.6670912,"latitude_deg":11.9776232,"altitude":52,"angle":262,"satellites":33,"speed":29,"hex_longitude":"2d19e1c0","hex_latitude":"0723a3e8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501894912001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13674411366285312,"note":"Value kept but may cause issues"} 
[2026-08-19 10:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1874975219276888064,"note":"Value kept but may cause issues"} 
[2026-08-19 10:51: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-08-19 10:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787116786000,"timestamp_ms":1787116786000,"timestamp_seconds":1787116786,"priority":1,"record_length":96,"hex_timestamp":"000001a018761150"} 
[2026-08-19 10:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:51:16] 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-08-19 10: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-19 10:51:16] 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-08-19 10: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-08-19 10:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501894912001,"66":13852,"112":206,"28":31744,"24":29,"16":13674411366285312,"45":1874975219276888064},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501894912001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:51:16] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:51:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13674411366285312,"km_value":13674411366285.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1874975219276888064,"description":"Unknown IO ID 45"} 
[2026-08-19 10:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501894912001,"power":13852,"unknown_112":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1874975219276888064}} 
[2026-08-19 10:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":160049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:51:17] local.INFO: GPS data processed {"connection_id":160049,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:51:17] local.INFO: Acknowledgment sent {"connection_id":160049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:51:19] local.INFO: TCP Data received {"connection_id":160049,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018764030012d19bc4007239f78003a010722..."} 
[2026-08-19 10:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018764030012d19bc4007239f78003a010722..."} 
[2026-08-19 10:51:19] local.INFO: Processing buffer {"connection_id":160049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018764030012d19bc4007239f78003a010722..."} 
[2026-08-19 10:51:19] local.INFO: Packet analysis {"connection_id":160049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01876"} 
[2026-08-19 10:51:19] local.INFO: Extracted packet for processing {"connection_id":160049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01876"} 
[2026-08-19 10:51:19] local.INFO: GPS Element Parsed {"raw_longitude":756661312,"raw_latitude":119775096,"longitude_deg":75.6661312,"latitude_deg":11.9775096,"altitude":58,"angle":263,"satellites":34,"speed":33,"hex_longitude":"2d19bc40","hex_latitude":"07239f78","is_valid_coordinates":true} 
[2026-08-19 10:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501897216001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13674870927785984,"note":"Value kept but may cause issues"} 
[2026-08-19 10:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864982857603344384,"note":"Value kept but may cause issues"} 
[2026-08-19 10:51:19] 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-08-19 10:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787116798000,"timestamp_ms":1787116798000,"timestamp_seconds":1787116798,"priority":1,"record_length":96,"hex_timestamp":"000001a018764030"} 
[2026-08-19 10:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-19 10:51:19] 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-08-19 10:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501897216001,"66":13972,"112":206,"28":31744,"24":33,"16":13674870927785984,"45":1864982857603344384},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501897216001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:51:19] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:51:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13674870927785984,"km_value":13674870927785.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864982857603344384,"description":"Unknown IO ID 45"} 
[2026-08-19 10:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501897216001,"power":13972,"unknown_112":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1864982857603344384}} 
[2026-08-19 10:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":160049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:51:19] local.INFO: GPS data processed {"connection_id":160049,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:51:19] local.INFO: Acknowledgment sent {"connection_id":160049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:51:26] local.INFO: TCP Data received {"connection_id":157869,"ip":"42.106.6.26","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a018..."} 
[2026-08-19 10:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157869,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a018..."} 
[2026-08-19 10:51:26] local.INFO: Processing buffer {"connection_id":157869,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a018..."} 
[2026-08-19 10:51:26] local.INFO: IMEI packet received {"connection_id":157869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":157869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:51:26] local.INFO: TCP Data received {"connection_id":157869,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018768a68012d22a30006cb6ee8000a01492b..."} 
[2026-08-19 10:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018768a68012d22a30006cb6ee8000a01492b..."} 
[2026-08-19 10:51:26] local.INFO: Processing buffer {"connection_id":157869,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0187672f8012d22b50006cb50e0000b01482b..."} 
[2026-08-19 10:51:26] local.INFO: Packet analysis {"connection_id":157869,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a01876"} 
[2026-08-19 10:51:26] local.INFO: Extracted packet for processing {"connection_id":157869,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01876"} 
[2026-08-19 10:51:26] local.INFO: GPS Element Parsed {"raw_longitude":757249280,"raw_latitude":113987808,"longitude_deg":75.724928,"latitude_deg":11.3987808,"altitude":11,"angle":328,"satellites":43,"speed":59,"hex_longitude":"2d22b500","hex_latitude":"06cb50e0","is_valid_coordinates":true} 
[2026-08-19 10:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501902080001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385547536145842176,"note":"Value kept but may cause issues"} 
[2026-08-19 10:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2505760640601319424,"note":"Value kept but may cause issues"} 
[2026-08-19 10:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787116811000,"timestamp_ms":1787116811000,"timestamp_seconds":1787116811,"priority":1,"record_length":96,"hex_timestamp":"000001a0187672f8"} 
[2026-08-19 10:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:51: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-08-19 10:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 10:51: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-08-19 10:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:51:26] 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-08-19 10:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501902080001,"66":27908,"179":206,"81":22528,"24":59,"16":385547536145842176,"45":2505760640601319424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-08-19 10:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501902080001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:51:26] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-19 10:51:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385547536145842176,"km_value":385547536145842.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2505760640601319424,"description":"Unknown IO ID 45"} 
[2026-08-19 10:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501902080001,"power":27908,"unknown_179":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2505760640601319424}} 
[2026-08-19 10:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":157869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:51:26] local.INFO: GPS data processed {"connection_id":157869,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:51:26] local.INFO: Acknowledgment sent {"connection_id":157869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:51:26] local.INFO: Packet analysis {"connection_id":157869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01876"} 
[2026-08-19 10:51:26] local.INFO: Extracted packet for processing {"connection_id":157869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01876"} 
[2026-08-19 10:51:26] local.INFO: GPS Element Parsed {"raw_longitude":757244672,"raw_latitude":113995496,"longitude_deg":75.7244672,"latitude_deg":11.3995496,"altitude":10,"angle":329,"satellites":43,"speed":59,"hex_longitude":"2d22a300","hex_latitude":"06cb6ee8","is_valid_coordinates":true} 
[2026-08-19 10:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501903616001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385547969937539072,"note":"Value kept but may cause issues"} 
[2026-08-19 10:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2500905197255057408,"note":"Value kept but may cause issues"} 
[2026-08-19 10:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787116817000,"timestamp_ms":1787116817000,"timestamp_seconds":1787116817,"priority":1,"record_length":96,"hex_timestamp":"000001a018768a68"} 
[2026-08-19 10:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:51: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-08-19 10:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 10:51:26] 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-08-19 10:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:51:26] 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-08-19 10:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501903616001,"66":27887,"179":206,"81":22528,"24":59,"16":385547969937539072,"45":2500905197255057408},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-08-19 10:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501903616001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:51:26] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-19 10:51:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385547969937539072,"km_value":385547969937539.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2500905197255057408,"description":"Unknown IO ID 45"} 
[2026-08-19 10:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501903616001,"power":27887,"unknown_179":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2500905197255057408}} 
[2026-08-19 10:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":157869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:51:26] local.INFO: GPS data processed {"connection_id":157869,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:51:26] local.INFO: Acknowledgment sent {"connection_id":157869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:51:27] local.INFO: TCP Data received {"connection_id":157869,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01876a1d8012d22900006cb8c70000901442d..."} 
[2026-08-19 10:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01876a1d8012d22900006cb8c70000901442d..."} 
[2026-08-19 10:51:27] local.INFO: Processing buffer {"connection_id":157869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01876a1d8012d22900006cb8c70000901442d..."} 
[2026-08-19 10:51:27] local.INFO: Packet analysis {"connection_id":157869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01876"} 
[2026-08-19 10:51:27] local.INFO: Extracted packet for processing {"connection_id":157869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01876"} 
[2026-08-19 10:51:27] local.INFO: GPS Element Parsed {"raw_longitude":757239808,"raw_latitude":114003056,"longitude_deg":75.7239808,"latitude_deg":11.4003056,"altitude":9,"angle":324,"satellites":45,"speed":58,"hex_longitude":"2d229000","hex_latitude":"06cb8c70","is_valid_coordinates":true} 
[2026-08-19 10:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501905152001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385548403729235968,"note":"Value kept but may cause issues"} 
[2026-08-19 10:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2495838647676233728,"note":"Value kept but may cause issues"} 
[2026-08-19 10:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787116823000,"timestamp_ms":1787116823000,"timestamp_seconds":1787116823,"priority":1,"record_length":96,"hex_timestamp":"000001a01876a1d8"} 
[2026-08-19 10:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:51: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-08-19 10:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 10:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":157869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":157869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":157869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:51:27] 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-08-19 10:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501905152001,"66":27800,"179":206,"81":22528,"24":58,"16":385548403729235968,"45":2495838647676233728},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-08-19 10:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501905152001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:51:27] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-19 10:51:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385548403729235968,"km_value":385548403729235.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2495838647676233728,"description":"Unknown IO ID 45"} 
[2026-08-19 10:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501905152001,"power":27800,"unknown_179":206,"unknown_81":22528,"ignition":58,"odometer":null,"unknown_45":2495838647676233728}} 
[2026-08-19 10:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":157869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:51:27] local.INFO: GPS data processed {"connection_id":157869,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:51:27] local.INFO: Acknowledgment sent {"connection_id":157869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:51:50] local.INFO: TCP Data received {"connection_id":160049,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018766b28012d1996c007239ad8003e010621..."} 
[2026-08-19 10:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018766b28012d1996c007239ad8003e010621..."} 
[2026-08-19 10:51:50] local.INFO: Processing buffer {"connection_id":160049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018766b28012d1996c007239ad8003e010621..."} 
[2026-08-19 10:51:50] local.INFO: Packet analysis {"connection_id":160049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01876"} 
[2026-08-19 10:51:50] local.INFO: Extracted packet for processing {"connection_id":160049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01876"} 
[2026-08-19 10:51:50] local.INFO: GPS Element Parsed {"raw_longitude":756651712,"raw_latitude":119773912,"longitude_deg":75.6651712,"latitude_deg":11.9773912,"altitude":62,"angle":262,"satellites":33,"speed":34,"hex_longitude":"2d1996c0","hex_latitude":"07239ad8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501900288001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13675330489286656,"note":"Value kept but may cause issues"} 
[2026-08-19 10:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854427545976403968,"note":"Value kept but may cause issues"} 
[2026-08-19 10:51:50] 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-08-19 10:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787116809000,"timestamp_ms":1787116809000,"timestamp_seconds":1787116809,"priority":1,"record_length":96,"hex_timestamp":"000001a018766b28"} 
[2026-08-19 10:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-19 10:51:50] 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-08-19 10: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-08-19 10:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501900288001,"66":14048,"112":206,"28":31744,"24":34,"16":13675330489286656,"45":1854427545976403968},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-08-19 10:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501900288001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:51:50] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 10:51:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13675330489286656,"km_value":13675330489286.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854427545976403968,"description":"Unknown IO ID 45"} 
[2026-08-19 10:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501900288001,"power":14048,"unknown_112":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1854427545976403968}} 
[2026-08-19 10:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":160049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:51:51] local.INFO: GPS data processed {"connection_id":160049,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:51:51] local.INFO: Acknowledgment sent {"connection_id":160049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:51:59] local.INFO: TCP Data received {"connection_id":157870,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:51:59] local.INFO: Processing buffer {"connection_id":157870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:51:59] local.INFO: IMEI packet received {"connection_id":157870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":157870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:52:00] local.INFO: TCP Data received {"connection_id":157870,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157870,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:52:00] local.INFO: Processing buffer {"connection_id":157870,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:52:00] local.INFO: IMEI packet received {"connection_id":157870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":157870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:52:04] local.INFO: TCP Data received {"connection_id":157870,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:52:04] local.INFO: Processing buffer {"connection_id":157870,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 10:52:04] local.INFO: IMEI packet received {"connection_id":157870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":157870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:52:05] local.INFO: TCP Data received {"connection_id":157870,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01876b560012d227cc006cba270000a01392b..."} 
[2026-08-19 10:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01876b560012d227cc006cba270000a01392b..."} 
[2026-08-19 10:52:05] local.INFO: Processing buffer {"connection_id":157870,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a018..."} 
[2026-08-19 10:52:05] local.INFO: IMEI packet received {"connection_id":157870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":157870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:52:07] local.INFO: TCP Data received {"connection_id":157870,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01876d0b8012d225c4006cbbb18000b01312c..."} 
[2026-08-19 10:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01876d0b8012d225c4006cbbb18000b01312c..."} 
[2026-08-19 10:52:07] local.INFO: Processing buffer {"connection_id":157870,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a01876b560012d227cc006cba270000a01392b..."} 
[2026-08-19 10:52:07] local.INFO: Packet analysis {"connection_id":157870,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a01876"} 
[2026-08-19 10:52:07] local.INFO: Extracted packet for processing {"connection_id":157870,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01876"} 
[2026-08-19 10:52:07] local.INFO: GPS Element Parsed {"raw_longitude":757234880,"raw_latitude":114008688,"longitude_deg":75.723488,"latitude_deg":11.4008688,"altitude":10,"angle":313,"satellites":43,"speed":58,"hex_longitude":"2d227cc0","hex_latitude":"06cba270","is_valid_coordinates":true} 
[2026-08-19 10:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501906688001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385548764506488832,"note":"Value kept but may cause issues"} 
[2026-08-19 10:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2490490623120666624,"note":"Value kept but may cause issues"} 
[2026-08-19 10:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787116828000,"timestamp_ms":1787116828000,"timestamp_seconds":1787116828,"priority":1,"record_length":96,"hex_timestamp":"000001a01876b560"} 
[2026-08-19 10:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:52: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-08-19 10:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 10:52:07] 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-08-19 10:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:52:07] 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-08-19 10:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501906688001,"66":27821,"179":206,"81":22528,"24":58,"16":385548764506488832,"45":2490490623120666624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-08-19 10:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501906688001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:52:07] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-19 10:52:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385548764506488832,"km_value":385548764506488.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2490490623120666624,"description":"Unknown IO ID 45"} 
[2026-08-19 10:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501906688001,"power":27821,"unknown_179":206,"unknown_81":22528,"ignition":58,"odometer":null,"unknown_45":2490490623120666624}} 
[2026-08-19 10:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":157870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:52:07] local.INFO: GPS data processed {"connection_id":157870,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:52:07] local.INFO: Acknowledgment sent {"connection_id":157870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:52:07] local.INFO: Packet analysis {"connection_id":157870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01876"} 
[2026-08-19 10:52:07] local.INFO: Extracted packet for processing {"connection_id":157870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01876"} 
[2026-08-19 10:52:07] local.INFO: GPS Element Parsed {"raw_longitude":757226560,"raw_latitude":114015000,"longitude_deg":75.722656,"latitude_deg":11.4015,"altitude":11,"angle":305,"satellites":44,"speed":58,"hex_longitude":"2d225c40","hex_latitude":"06cbbb18","is_valid_coordinates":true} 
[2026-08-19 10:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501907968001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385549262722695168,"note":"Value kept but may cause issues"} 
[2026-08-19 10:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2485072229820428288,"note":"Value kept but may cause issues"} 
[2026-08-19 10:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787116835000,"timestamp_ms":1787116835000,"timestamp_seconds":1787116835,"priority":1,"record_length":96,"hex_timestamp":"000001a01876d0b8"} 
[2026-08-19 10:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:52: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-08-19 10:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 10:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:52:07] 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-08-19 10:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501907968001,"66":27843,"179":206,"81":22528,"24":58,"16":385549262722695168,"45":2485072229820428288},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-08-19 10:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501907968001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:52:07] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-19 10:52:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385549262722695168,"km_value":385549262722695.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2485072229820428288,"description":"Unknown IO ID 45"} 
[2026-08-19 10:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501907968001,"power":27843,"unknown_179":206,"unknown_81":22528,"ignition":58,"odometer":null,"unknown_45":2485072229820428288}} 
[2026-08-19 10:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":157870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:52:07] local.INFO: GPS data processed {"connection_id":157870,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:52:07] local.INFO: Acknowledgment sent {"connection_id":157870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:52:41] local.INFO: TCP Data received {"connection_id":157870,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01877c6d0012d21be4006ccdcb8000b015e2d..."} 
[2026-08-19 10:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01877c6d0012d21be4006ccdcb8000b015e2d..."} 
[2026-08-19 10:52:41] local.INFO: Processing buffer {"connection_id":157870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01877c6d0012d21be4006ccdcb8000b015e2d..."} 
[2026-08-19 10:52:41] local.INFO: Packet analysis {"connection_id":157870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01877"} 
[2026-08-19 10:52:41] local.INFO: Extracted packet for processing {"connection_id":157870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01877"} 
[2026-08-19 10:52:41] local.INFO: GPS Element Parsed {"raw_longitude":757186112,"raw_latitude":114089144,"longitude_deg":75.7186112,"latitude_deg":11.4089144,"altitude":11,"angle":350,"satellites":45,"speed":33,"hex_longitude":"2d21be40","hex_latitude":"06ccdcb8","is_valid_coordinates":true} 
[2026-08-19 10:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501923328001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385553437430906880,"note":"Value kept but may cause issues"} 
[2026-08-19 10:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2432788252914722816,"note":"Value kept but may cause issues"} 
[2026-08-19 10:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787116898000,"timestamp_ms":1787116898000,"timestamp_seconds":1787116898,"priority":1,"record_length":96,"hex_timestamp":"000001a01877c6d0"} 
[2026-08-19 10:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:52: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-08-19 10:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 10:52:41] 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-08-19 10:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501923328001,"66":27930,"233":206,"81":22528,"24":33,"16":385553437430906880,"45":2432788252914722816},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,81,24,16,45]} 
[2026-08-19 10:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501923328001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:52:41] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-19 10:52:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385553437430906880,"km_value":385553437430906.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2432788252914722816,"description":"Unknown IO ID 45"} 
[2026-08-19 10:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501923328001,"power":27930,"unknown_233":206,"unknown_81":22528,"ignition":33,"odometer":null,"unknown_45":2432788252914722816}} 
[2026-08-19 10:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":157870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:52:41] local.INFO: GPS data processed {"connection_id":157870,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:52:41] local.INFO: Acknowledgment sent {"connection_id":157870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:52:42] local.INFO: TCP Data received {"connection_id":157495,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:52:42] local.INFO: Processing buffer {"connection_id":157495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:52:42] local.INFO: IMEI packet received {"connection_id":157495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":157495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:52:43] local.INFO: TCP Data received {"connection_id":157495,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:52:43] local.INFO: Processing buffer {"connection_id":157495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:52:43] local.INFO: IMEI packet received {"connection_id":157495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":157495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:52:44] local.INFO: TCP Data received {"connection_id":157495,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:52:44] local.INFO: Processing buffer {"connection_id":157495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:52:44] local.INFO: IMEI packet received {"connection_id":157495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":157495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:52:48] local.INFO: TCP Data received {"connection_id":157495,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:52:48] local.INFO: Processing buffer {"connection_id":157495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:52:48] local.INFO: IMEI packet received {"connection_id":157495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":157495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:52:49] local.INFO: TCP Data received {"connection_id":157495,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01877f998012d18a2800722c860006c00c226..."} 
[2026-08-19 10:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01877f998012d18a2800722c860006c00c226..."} 
[2026-08-19 10:52:49] local.INFO: Processing buffer {"connection_id":157495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01877f998012d18a2800722c860006c00c226..."} 
[2026-08-19 10:52:49] local.INFO: Packet analysis {"connection_id":157495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01877"} 
[2026-08-19 10:52:49] local.INFO: Extracted packet for processing {"connection_id":157495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01877"} 
[2026-08-19 10:52:49] local.INFO: GPS Element Parsed {"raw_longitude":756589184,"raw_latitude":119720032,"longitude_deg":75.6589184,"latitude_deg":11.9720032,"altitude":108,"angle":194,"satellites":38,"speed":40,"hex_longitude":"2d18a280","hex_latitude":"0722c860","is_valid_coordinates":true} 
[2026-08-19 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-08-19 10:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501927680001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13679745715666944,"note":"Value kept but may cause issues"} 
[2026-08-19 10:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778358933507620864,"note":"Value kept but may cause issues"} 
[2026-08-19 10:52:49] 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-08-19 10:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787116911000,"timestamp_ms":1787116911000,"timestamp_seconds":1787116911,"priority":1,"record_length":96,"hex_timestamp":"000001a01877f998"} 
[2026-08-19 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-08-19 10:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-19 10:52:49] 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-08-19 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-08-19 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-08-19 10:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":157495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":157495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":157495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501927680001,"66":13830,"81":206,"28":31744,"24":40,"16":13679745715666944,"45":1778358933507620864},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-08-19 10:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501927680001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-19 10:52:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13679745715666944,"km_value":13679745715666.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778358933507620864,"description":"Unknown IO ID 45"} 
[2026-08-19 10:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501927680001,"power":13830,"unknown_81":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1778358933507620864}} 
[2026-08-19 10:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":157495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:52:49] local.INFO: GPS data processed {"connection_id":157495,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:52:49] local.INFO: Acknowledgment sent {"connection_id":157495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:53:03] local.INFO: TCP Data received {"connection_id":157496,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:53:03] local.INFO: Processing buffer {"connection_id":157496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:53:03] local.INFO: IMEI packet received {"connection_id":157496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":157496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:53:04] local.INFO: TCP Data received {"connection_id":157496,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:53:04] local.INFO: Processing buffer {"connection_id":157496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:53:04] local.INFO: IMEI packet received {"connection_id":157496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":157496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:53:10] local.INFO: TCP Data received {"connection_id":157496,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:53:10] local.INFO: Processing buffer {"connection_id":157496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:53:10] local.INFO: IMEI packet received {"connection_id":157496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":157496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:53:10] local.INFO: TCP Data received {"connection_id":157496,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01877e9f8012d21b64006ccfa58000d01532d..."} 
[2026-08-19 10:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01877e9f8012d21b64006ccfa58000d01532d..."} 
[2026-08-19 10:53:10] local.INFO: Processing buffer {"connection_id":157496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01877e9f8012d21b64006ccfa58000d01532d..."} 
[2026-08-19 10:53:10] local.INFO: Packet analysis {"connection_id":157496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01877"} 
[2026-08-19 10:53:10] local.INFO: Extracted packet for processing {"connection_id":157496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01877"} 
[2026-08-19 10:53:10] local.INFO: GPS Element Parsed {"raw_longitude":757184064,"raw_latitude":114096728,"longitude_deg":75.7184064,"latitude_deg":11.4096728,"altitude":13,"angle":339,"satellites":45,"speed":35,"hex_longitude":"2d21b640","hex_latitude":"06ccfa58","is_valid_coordinates":true} 
[2026-08-19 10:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501925888001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385553819682996224,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2431451246777645056,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787116907000,"timestamp_ms":1787116907000,"timestamp_seconds":1787116907,"priority":1,"record_length":96,"hex_timestamp":"000001a01877e9f8"} 
[2026-08-19 10:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:53: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-08-19 10:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 10:53:10] 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-08-19 10:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501925888001,"66":27930,"233":206,"81":22528,"24":35,"16":385553819682996224,"45":2431451246777645056},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,81,24,16,45]} 
[2026-08-19 10:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501925888001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:53:10] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-19 10:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385553819682996224,"km_value":385553819682996.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2431451246777645056,"description":"Unknown IO ID 45"} 
[2026-08-19 10:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501925888001,"power":27930,"unknown_233":206,"unknown_81":22528,"ignition":35,"odometer":null,"unknown_45":2431451246777645056}} 
[2026-08-19 10:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":157496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:53:10] local.INFO: GPS data processed {"connection_id":157496,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:53:10] local.INFO: Acknowledgment sent {"connection_id":157496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:53:12] local.INFO: TCP Data received {"connection_id":157496,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0187814f0012d21a68006cd1b40000f014b2d..."} 
[2026-08-19 10:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187814f0012d21a68006cd1b40000f014b2d..."} 
[2026-08-19 10:53:12] local.INFO: Processing buffer {"connection_id":157496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187814f0012d21a68006cd1b40000f014b2d..."} 
[2026-08-19 10:53:12] local.INFO: Packet analysis {"connection_id":157496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01878"} 
[2026-08-19 10:53:12] local.INFO: Extracted packet for processing {"connection_id":157496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01878"} 
[2026-08-19 10:53:12] local.INFO: GPS Element Parsed {"raw_longitude":757180032,"raw_latitude":114105152,"longitude_deg":75.7180032,"latitude_deg":11.4105152,"altitude":15,"angle":331,"satellites":45,"speed":29,"hex_longitude":"2d21a680","hex_latitude":"06cd1b40","is_valid_coordinates":true} 
[2026-08-19 10:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501928192001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385554270654562304,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2429199446965901312,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787116918000,"timestamp_ms":1787116918000,"timestamp_seconds":1787116918,"priority":1,"record_length":96,"hex_timestamp":"000001a0187814f0"} 
[2026-08-19 10:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 10:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501928192001,"66":27821,"233":206,"81":22528,"24":29,"16":385554270654562304,"45":2429199446965901312},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,81,24,16,45]} 
[2026-08-19 10:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501928192001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:53:12] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-08-19 10:53:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385554270654562304,"km_value":385554270654562.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2429199446965901312,"description":"Unknown IO ID 45"} 
[2026-08-19 10:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501928192001,"power":27821,"unknown_233":206,"unknown_81":22528,"ignition":29,"odometer":null,"unknown_45":2429199446965901312}} 
[2026-08-19 10:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":157496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:53:12] local.INFO: GPS data processed {"connection_id":157496,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:53:12] local.INFO: Acknowledgment sent {"connection_id":157496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:53:14] local.INFO: TCP Data received {"connection_id":157871,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:53:14] local.INFO: Processing buffer {"connection_id":157871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:53:14] local.INFO: IMEI packet received {"connection_id":157871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":157871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:53:15] local.INFO: TCP Data received {"connection_id":157871,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:53:15] local.INFO: Processing buffer {"connection_id":157871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:53:15] local.INFO: IMEI packet received {"connection_id":157871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":157871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:53:19] local.INFO: TCP Data received {"connection_id":157871,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:53:19] local.INFO: Processing buffer {"connection_id":157871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:53:19] local.INFO: IMEI packet received {"connection_id":157871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":157871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:53:20] local.INFO: TCP Data received {"connection_id":157871,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018780168012d18a1c00722c088006c00b326..."} 
[2026-08-19 10:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018780168012d18a1c00722c088006c00b326..."} 
[2026-08-19 10:53:20] local.INFO: Processing buffer {"connection_id":157871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018780168012d18a1c00722c088006c00b326..."} 
[2026-08-19 10:53:20] local.INFO: Packet analysis {"connection_id":157871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01878"} 
[2026-08-19 10:53:20] local.INFO: Extracted packet for processing {"connection_id":157871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01878"} 
[2026-08-19 10:53:20] local.INFO: GPS Element Parsed {"raw_longitude":756588992,"raw_latitude":119718024,"longitude_deg":75.6588992,"latitude_deg":11.9718024,"altitude":108,"angle":179,"satellites":38,"speed":39,"hex_longitude":"2d18a1c0","hex_latitude":"0722c088","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501929216001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13679840204947456,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775121971274080256,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:20] 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-08-19 10:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787116913000,"timestamp_ms":1787116913000,"timestamp_seconds":1787116913,"priority":1,"record_length":96,"hex_timestamp":"000001a018780168"} 
[2026-08-19 10:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:53:20] 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-08-19 10: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-08-19 10:53:20] local.WARNING: Large IO value detected {"io_id":24,"raw_value":10133107767312384,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:20] local.WARNING: Large IO value detected {"io_id":158,"raw_value":1729399849911639552,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:20] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":47105,"corrected_to":0} 
[2026-08-19 10:53:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3879600334,"corrected_to":0} 
[2026-08-19 10:53:20] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3221693186,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:20] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2565406720,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:20] local.WARNING: Large IO value detected {"io_id":171,"raw_value":8647242344048887587,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:20] local.WARNING: Large IO value detected {"io_id":3,"raw_value":-1729272301064224731,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:20] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,81,28,24,241,158,16,153,160,226,45,221,106,37,10,66,62,202,64,243,104,194,1,240,93,35,4,113,205,183,192,72,36,239,54,2,48,7,101,171,3],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":202,"original":47105,"validated":0},{"io_id":205,"original":3879600334,"validated":0}]} 
[2026-08-19 10:53:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7782433624563384320,"timestamp_seconds":7782433624563384.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 10:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501929216001,"66":13852,"81":206,"28":31744,"24":39,"16":13679840204947456,"45":1775121971274080256},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-08-19 10:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501929216001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:53:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-19 10:53:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13679840204947456,"km_value":13679840204947.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775121971274080256,"description":"Unknown IO ID 45"} 
[2026-08-19 10:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501929216001,"power":13852,"unknown_81":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1775121971274080256}} 
[2026-08-19 10:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":157871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:53:21] local.INFO: GPS data processed {"connection_id":157871,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:53:21] local.INFO: Acknowledgment sent {"connection_id":157871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:53:42] local.INFO: TCP Data received {"connection_id":157496,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a018783c00012d21950006cd39f0000d014a2c..."} 
[2026-08-19 10:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018783c00012d21950006cd39f0000d014a2c..."} 
[2026-08-19 10:53:42] local.INFO: Processing buffer {"connection_id":157496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018783c00012d21950006cd39f0000d014a2c..."} 
[2026-08-19 10:53:42] local.INFO: Packet analysis {"connection_id":157496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01878"} 
[2026-08-19 10:53:42] local.INFO: Extracted packet for processing {"connection_id":157496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01878"} 
[2026-08-19 10:53:42] local.INFO: GPS Element Parsed {"raw_longitude":757175552,"raw_latitude":114113008,"longitude_deg":75.7175552,"latitude_deg":11.4113008,"altitude":13,"angle":330,"satellites":44,"speed":41,"hex_longitude":"2d219500","hex_latitude":"06cd39f0","is_valid_coordinates":true} 
[2026-08-19 10:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501931008001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385554704446259200,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2424766216084865024,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787116928000,"timestamp_ms":1787116928000,"timestamp_seconds":1787116928,"priority":1,"record_length":96,"hex_timestamp":"000001a018783c00"} 
[2026-08-19 10:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 10:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501931008001,"66":27604,"170":206,"81":22528,"24":41,"16":385554704446259200,"45":2424766216084865024},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-08-19 10:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501931008001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:53:42] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-19 10:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385554704446259200,"km_value":385554704446259.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2424766216084865024,"description":"Unknown IO ID 45"} 
[2026-08-19 10:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501931008001,"power":27604,"unknown_170":206,"unknown_81":22528,"ignition":41,"odometer":null,"unknown_45":2424766216084865024}} 
[2026-08-19 10:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":157496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:53:42] local.INFO: GPS data processed {"connection_id":157496,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:53:42] local.INFO: Acknowledgment sent {"connection_id":157496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:53:52] local.INFO: TCP Data received {"connection_id":157871,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018780938012d18a2c00722b8b8006d00a725..."} 
[2026-08-19 10:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018780938012d18a2c00722b8b8006d00a725..."} 
[2026-08-19 10:53:52] local.INFO: Processing buffer {"connection_id":157871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018780938012d18a2c00722b8b8006d00a725..."} 
[2026-08-19 10:53:52] local.INFO: Packet analysis {"connection_id":157871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01878"} 
[2026-08-19 10:53:52] local.INFO: Extracted packet for processing {"connection_id":157871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01878"} 
[2026-08-19 10:53:52] local.INFO: GPS Element Parsed {"raw_longitude":756589248,"raw_latitude":119716024,"longitude_deg":75.6589248,"latitude_deg":11.9716024,"altitude":109,"angle":167,"satellites":37,"speed":40,"hex_longitude":"2d18a2c0","hex_latitude":"0722b8b8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501929728001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13679938989195264,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774910865041033216,"note":"Value kept but may cause issues"} 
[2026-08-19 10:53:52] 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-08-19 10:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787116915000,"timestamp_ms":1787116915000,"timestamp_seconds":1787116915,"priority":1,"record_length":96,"hex_timestamp":"000001a018780938"} 
[2026-08-19 10:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-19 10:53:52] 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-08-19 10: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-08-19 10:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":157871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":157871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":157871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501929728001,"66":13472,"81":206,"28":31744,"24":40,"16":13679938989195264,"45":1774910865041033216},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-08-19 10:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501929728001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-19 10:53:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13679938989195264,"km_value":13679938989195.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774910865041033216,"description":"Unknown IO ID 45"} 
[2026-08-19 10:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501929728001,"power":13472,"unknown_81":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1774910865041033216}} 
[2026-08-19 10:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":157871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:53:52] local.INFO: GPS data processed {"connection_id":157871,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:53:52] local.INFO: Acknowledgment sent {"connection_id":157871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:54:09] local.INFO: TCP Data received {"connection_id":157497,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:54:09] local.INFO: Processing buffer {"connection_id":157497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:54:09] local.INFO: IMEI packet received {"connection_id":157497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":157497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:54:14] local.INFO: TCP Data received {"connection_id":157497,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:54:14] local.INFO: Processing buffer {"connection_id":157497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:54:14] local.INFO: IMEI packet received {"connection_id":157497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":157497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:54:15] local.INFO: TCP Data received {"connection_id":157497,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018782c60012d18a940072296b8007000b326..."} 
[2026-08-19 10:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018782c60012d18a940072296b8007000b326..."} 
[2026-08-19 10:54:15] local.INFO: Processing buffer {"connection_id":157497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018782c60012d18a940072296b8007000b326..."} 
[2026-08-19 10:54:15] local.INFO: Packet analysis {"connection_id":157497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01878"} 
[2026-08-19 10:54:15] local.INFO: Extracted packet for processing {"connection_id":157497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01878"} 
[2026-08-19 10:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756590912,"raw_latitude":119707320,"longitude_deg":75.6590912,"latitude_deg":11.970732,"altitude":112,"angle":179,"satellites":38,"speed":39,"hex_longitude":"2d18a940","hex_latitude":"072296b8","is_valid_coordinates":true} 
[2026-08-19 10:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501930240001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13680368485924864,"note":"Value kept but may cause issues"} 
[2026-08-19 10:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775192340017231872,"note":"Value kept but may cause issues"} 
[2026-08-19 10:54: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-08-19 10:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787116924000,"timestamp_ms":1787116924000,"timestamp_seconds":1787116924,"priority":1,"record_length":96,"hex_timestamp":"000001a018782c60"} 
[2026-08-19 10:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:54: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-08-19 10:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-19 10:54:15] 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-08-19 10:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501930240001,"66":13820,"120":206,"28":31744,"24":39,"16":13680368485924864,"45":1775192340017231872},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 10:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501930240001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:54:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 10:54:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13680368485924864,"km_value":13680368485924.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775192340017231872,"description":"Unknown IO ID 45"} 
[2026-08-19 10:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501930240001,"power":13820,"unknown_120":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1775192340017231872}} 
[2026-08-19 10:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":157497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:54:15] local.INFO: GPS data processed {"connection_id":157497,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:54:15] local.INFO: Acknowledgment sent {"connection_id":157497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:54:35] local.INFO: TCP Data received {"connection_id":157498,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:54:35] local.INFO: Processing buffer {"connection_id":157498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:54:35] local.INFO: IMEI packet received {"connection_id":157498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":157498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:54:39] local.INFO: TCP Data received {"connection_id":157498,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:54:39] local.INFO: Processing buffer {"connection_id":157498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:54:39] local.INFO: IMEI packet received {"connection_id":157498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":157498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:54:41] local.INFO: TCP Data received {"connection_id":157498,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018785b40012d2182c006cd5860000d01452c..."} 
[2026-08-19 10:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018785b40012d2182c006cd5860000d01452c..."} 
[2026-08-19 10:54:41] local.INFO: Processing buffer {"connection_id":157498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018785b40012d2182c006cd5860000d01452c..."} 
[2026-08-19 10:54:41] local.INFO: Packet analysis {"connection_id":157498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01878"} 
[2026-08-19 10:54:41] local.INFO: Extracted packet for processing {"connection_id":157498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01878"} 
[2026-08-19 10:54:41] local.INFO: GPS Element Parsed {"raw_longitude":757170880,"raw_latitude":114120800,"longitude_deg":75.717088,"latitude_deg":11.41208,"altitude":13,"angle":325,"satellites":44,"speed":47,"hex_longitude":"2d2182c0","hex_latitude":"06cd5860","is_valid_coordinates":true} 
[2026-08-19 10:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501933568001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385555142532923392,"note":"Value kept but may cause issues"} 
[2026-08-19 10:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2419840403994439680,"note":"Value kept but may cause issues"} 
[2026-08-19 10:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787116936000,"timestamp_ms":1787116936000,"timestamp_seconds":1787116936,"priority":1,"record_length":96,"hex_timestamp":"000001a018785b40"} 
[2026-08-19 10:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:54: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-08-19 10:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-19 10:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501933568001,"66":27865,"169":206,"81":22528,"24":47,"16":385555142532923392,"45":2419840403994439680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,81,24,16,45]} 
[2026-08-19 10:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501933568001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:54:41] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-19 10:54:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385555142532923392,"km_value":385555142532923.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2419840403994439680,"description":"Unknown IO ID 45"} 
[2026-08-19 10:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501933568001,"power":27865,"unknown_169":206,"unknown_81":22528,"ignition":47,"odometer":null,"unknown_45":2419840403994439680}} 
[2026-08-19 10:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":157498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:54:41] local.INFO: GPS data processed {"connection_id":157498,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:54:41] local.INFO: Acknowledgment sent {"connection_id":157498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:54:45] local.INFO: TCP Data received {"connection_id":157498,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018787e68012d216b4006cd7718000d013f2c..."} 
[2026-08-19 10:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018787e68012d216b4006cd7718000d013f2c..."} 
[2026-08-19 10:54:45] local.INFO: Processing buffer {"connection_id":157498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018787e68012d216b4006cd7718000d013f2c..."} 
[2026-08-19 10:54:45] local.INFO: Packet analysis {"connection_id":157498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01878"} 
[2026-08-19 10:54:45] local.INFO: Extracted packet for processing {"connection_id":157498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01878"} 
[2026-08-19 10:54:45] local.INFO: GPS Element Parsed {"raw_longitude":757164864,"raw_latitude":114128664,"longitude_deg":75.7164864,"latitude_deg":11.4128664,"altitude":13,"angle":319,"satellites":44,"speed":43,"hex_longitude":"2d216b40","hex_latitude":"06cd7718","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501935616001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385555623569260544,"note":"Value kept but may cause issues"} 
[2026-08-19 10:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2414703485671464960,"note":"Value kept but may cause issues"} 
[2026-08-19 10:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787116945000,"timestamp_ms":1787116945000,"timestamp_seconds":1787116945,"priority":1,"record_length":96,"hex_timestamp":"000001a018787e68"} 
[2026-08-19 10:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:54: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-08-19 10:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:54:45] 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-08-19 10: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-08-19 10:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501935616001,"66":27843,"169":206,"81":22528,"24":43,"16":385555623569260544,"45":2414703485671464960},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,81,24,16,45]} 
[2026-08-19 10:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501935616001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:54:45] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-19 10:54:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385555623569260544,"km_value":385555623569260.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2414703485671464960,"description":"Unknown IO ID 45"} 
[2026-08-19 10:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501935616001,"power":27843,"unknown_169":206,"unknown_81":22528,"ignition":43,"odometer":null,"unknown_45":2414703485671464960}} 
[2026-08-19 10:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":157498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:54:46] local.INFO: GPS data processed {"connection_id":157498,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:54:46] local.INFO: Acknowledgment sent {"connection_id":157498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:54:46] local.INFO: TCP Data received {"connection_id":157497,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018782c60012d18a940072296b8007000b326..."} 
[2026-08-19 10:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018782c60012d18a940072296b8007000b326..."} 
[2026-08-19 10:54:46] local.INFO: Processing buffer {"connection_id":157497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018782c60012d18a940072296b8007000b326..."} 
[2026-08-19 10:54:46] local.INFO: Packet analysis {"connection_id":157497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01878"} 
[2026-08-19 10:54:46] local.INFO: Extracted packet for processing {"connection_id":157497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01878"} 
[2026-08-19 10:54:46] local.INFO: GPS Element Parsed {"raw_longitude":756590912,"raw_latitude":119707320,"longitude_deg":75.6590912,"latitude_deg":11.970732,"altitude":112,"angle":179,"satellites":38,"speed":39,"hex_longitude":"2d18a940","hex_latitude":"072296b8","is_valid_coordinates":true} 
[2026-08-19 10:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501932544001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13680368485924864,"note":"Value kept but may cause issues"} 
[2026-08-19 10:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777021927363622912,"note":"Value kept but may cause issues"} 
[2026-08-19 10:54:46] 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-08-19 10:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787116924000,"timestamp_ms":1787116924000,"timestamp_seconds":1787116924,"priority":1,"record_length":96,"hex_timestamp":"000001a018782c60"} 
[2026-08-19 10:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:54: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-08-19 10: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-19 10:54:46] 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-08-19 10: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-08-19 10:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501932544001,"66":13820,"120":206,"28":31744,"24":39,"16":13680368485924864,"45":1777021927363622912},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 10:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501932544001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:54:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 10:54:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13680368485924864,"km_value":13680368485924.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777021927363622912,"description":"Unknown IO ID 45"} 
[2026-08-19 10:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501932544001,"power":13820,"unknown_120":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1777021927363622912}} 
[2026-08-19 10:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":157497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:54:47] local.INFO: GPS data processed {"connection_id":157497,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:54:47] local.INFO: Acknowledgment sent {"connection_id":157497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:55:04] local.INFO: TCP Data received {"connection_id":158748,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:55:04] local.INFO: Processing buffer {"connection_id":158748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:55:04] local.INFO: IMEI packet received {"connection_id":158748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":158748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:55:09] local.INFO: TCP Data received {"connection_id":158748,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:55:09] local.INFO: Processing buffer {"connection_id":158748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:55:09] local.INFO: IMEI packet received {"connection_id":158748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":158748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:55:09] local.INFO: TCP Data received {"connection_id":160050,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:55:09] local.INFO: Processing buffer {"connection_id":160050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:55:09] local.INFO: IMEI packet received {"connection_id":160050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":160050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:55:10] local.INFO: TCP Data received {"connection_id":158748,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0187a14a8012d20d80006ce2cb0000a014c2b..."} 
[2026-08-19 10:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187a14a8012d20d80006ce2cb0000a014c2b..."} 
[2026-08-19 10:55:10] local.INFO: Processing buffer {"connection_id":158748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187a14a8012d20d80006ce2cb0000a014c2b..."} 
[2026-08-19 10:55:10] local.INFO: Packet analysis {"connection_id":158748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187a"} 
[2026-08-19 10:55:10] local.INFO: Extracted packet for processing {"connection_id":158748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187a"} 
[2026-08-19 10:55:10] local.INFO: GPS Element Parsed {"raw_longitude":757127168,"raw_latitude":114175152,"longitude_deg":75.7127168,"latitude_deg":11.4175152,"altitude":10,"angle":332,"satellites":43,"speed":47,"hex_longitude":"2d20d800","hex_latitude":"06ce2cb0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501962240001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385558544147021824,"note":"Value kept but may cause issues"} 
[2026-08-19 10:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2371989657967323136,"note":"Value kept but may cause issues"} 
[2026-08-19 10:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787117049000,"timestamp_ms":1787117049000,"timestamp_seconds":1787117049,"priority":1,"record_length":96,"hex_timestamp":"000001a0187a14a8"} 
[2026-08-19 10:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:55: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-08-19 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 10:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501962240001,"66":27887,"60":206,"81":22528,"24":47,"16":385558544147021824,"45":2371989657967323136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-08-19 10:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501962240001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:55:10] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-19 10:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385558544147021824,"km_value":385558544147021.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2371989657967323136,"description":"Unknown IO ID 45"} 
[2026-08-19 10:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501962240001,"power":27887,"unknown_60":206,"unknown_81":22528,"ignition":47,"odometer":null,"unknown_45":2371989657967323136}} 
[2026-08-19 10:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":158748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:55:10] local.INFO: GPS data processed {"connection_id":158748,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:55:10] local.INFO: Acknowledgment sent {"connection_id":158748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:55:14] local.INFO: TCP Data received {"connection_id":160050,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:55:14] local.INFO: Processing buffer {"connection_id":160050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:55:14] local.INFO: IMEI packet received {"connection_id":160050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":160050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:55:15] local.INFO: TCP Data received {"connection_id":160050,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01879c2a0012d1821c00721ac90004900d01f..."} 
[2026-08-19 10:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01879c2a0012d1821c00721ac90004900d01f..."} 
[2026-08-19 10:55:15] local.INFO: Processing buffer {"connection_id":160050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01879c2a0012d1821c00721ac90004900d01f..."} 
[2026-08-19 10:55:15] local.INFO: Packet analysis {"connection_id":160050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01879"} 
[2026-08-19 10:55:15] local.INFO: Extracted packet for processing {"connection_id":160050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01879"} 
[2026-08-19 10:55:15] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119647376,"longitude_deg":75.6556224,"latitude_deg":11.9647376,"altitude":73,"angle":208,"satellites":31,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721ac90","is_valid_coordinates":true} 
[2026-08-19 10:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501953792001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13683744330219520,"note":"Value kept but may cause issues"} 
[2026-08-19 10:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068003983360,"note":"Value kept but may cause issues"} 
[2026-08-19 10:55: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-08-19 10:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787117028000,"timestamp_ms":1787117028000,"timestamp_seconds":1787117028,"priority":1,"record_length":96,"hex_timestamp":"000001a01879c2a0"} 
[2026-08-19 10:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:55: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-08-19 10:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 10:55:15] 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-08-19 10:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501953792001,"66":14407,"120":206,"28":31744,"24":0,"16":13683744330219520,"45":1738882068003983360},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 10:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501953792001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:55:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 10:55:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13683744330219520,"km_value":13683744330219.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068003983360,"description":"Unknown IO ID 45"} 
[2026-08-19 10:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501953792001,"power":14407,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068003983360}} 
[2026-08-19 10:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":160050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:55:15] local.INFO: GPS data processed {"connection_id":160050,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:55:15] local.INFO: Acknowledgment sent {"connection_id":160050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:55:42] local.INFO: TCP Data received {"connection_id":158748,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0187a3000012d20cac006ce4cb0000a01582b..."} 
[2026-08-19 10:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187a3000012d20cac006ce4cb0000a01582b..."} 
[2026-08-19 10:55:42] local.INFO: Processing buffer {"connection_id":158748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187a3000012d20cac006ce4cb0000a01582b..."} 
[2026-08-19 10:55:42] local.INFO: Packet analysis {"connection_id":158748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187a"} 
[2026-08-19 10:55:42] local.INFO: Extracted packet for processing {"connection_id":158748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187a"} 
[2026-08-19 10:55:42] local.INFO: GPS Element Parsed {"raw_longitude":757123776,"raw_latitude":114183344,"longitude_deg":75.7123776,"latitude_deg":11.4183344,"altitude":10,"angle":344,"satellites":43,"speed":52,"hex_longitude":"2d20cac0","hex_latitude":"06ce4cb0","is_valid_coordinates":true} 
[2026-08-19 10:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501964544001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385558969348784128,"note":"Value kept but may cause issues"} 
[2026-08-19 10:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2366641633412034560,"note":"Value kept but may cause issues"} 
[2026-08-19 10:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787117056000,"timestamp_ms":1787117056000,"timestamp_seconds":1787117056,"priority":1,"record_length":96,"hex_timestamp":"000001a0187a3000"} 
[2026-08-19 10:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 10:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501964544001,"66":27919,"61":206,"81":22528,"24":52,"16":385558969348784128,"45":2366641633412034560},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-08-19 10:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501964544001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:55:42] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-19 10:55:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385558969348784128,"km_value":385558969348784.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2366641633412034560,"description":"Unknown IO ID 45"} 
[2026-08-19 10:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501964544001,"power":27919,"unknown_61":206,"unknown_81":22528,"ignition":52,"odometer":null,"unknown_45":2366641633412034560}} 
[2026-08-19 10:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":158748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:55:42] local.INFO: GPS data processed {"connection_id":158748,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:55:42] local.INFO: Acknowledgment sent {"connection_id":158748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:55:48] local.INFO: TCP Data received {"connection_id":160050,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0187a14a8012d1821c00721ac90004900d023..."} 
[2026-08-19 10:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187a14a8012d1821c00721ac90004900d023..."} 
[2026-08-19 10:55:48] local.INFO: Processing buffer {"connection_id":160050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187a14a8012d1821c00721ac90004900d023..."} 
[2026-08-19 10:55:48] local.INFO: Packet analysis {"connection_id":160050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187a"} 
[2026-08-19 10:55:48] local.INFO: Extracted packet for processing {"connection_id":160050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187a"} 
[2026-08-19 10:55:48] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119647376,"longitude_deg":75.6556224,"latitude_deg":11.9647376,"altitude":73,"angle":208,"satellites":35,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721ac90","is_valid_coordinates":true} 
[2026-08-19 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-08-19 10:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501959168001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13683744330219520,"note":"Value kept but may cause issues"} 
[2026-08-19 10:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068003983360,"note":"Value kept but may cause issues"} 
[2026-08-19 10:55:48] 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-08-19 10:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787117049000,"timestamp_ms":1787117049000,"timestamp_seconds":1787117049,"priority":1,"record_length":96,"hex_timestamp":"000001a0187a14a8"} 
[2026-08-19 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-08-19 10:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 10:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 10:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 10:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 10:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 10:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501959168001,"66":14048,"120":206,"28":31744,"24":0,"16":13683744330219520,"45":1738882068003983360},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 10:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 10:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 10:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501959168001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:55:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 10:55:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 10:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13683744330219520,"km_value":13683744330219.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068003983360,"description":"Unknown IO ID 45"} 
[2026-08-19 10:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501959168001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068003983360}} 
[2026-08-19 10:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":160050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:55:48] local.INFO: GPS data processed {"connection_id":160050,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:55:48] local.INFO: Acknowledgment sent {"connection_id":160050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:55:59] local.INFO: TCP Data received {"connection_id":160051,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:55:59] local.INFO: Processing buffer {"connection_id":160051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:55:59] local.INFO: IMEI packet received {"connection_id":160051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":160051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:56:01] local.INFO: TCP Data received {"connection_id":160051,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:56:01] local.INFO: Processing buffer {"connection_id":160051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:56:01] local.INFO: IMEI packet received {"connection_id":160051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":160051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:56:04] local.INFO: TCP Data received {"connection_id":160051,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:56:04] local.INFO: Processing buffer {"connection_id":160051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:56:04] local.INFO: IMEI packet received {"connection_id":160051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":160051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:56:05] local.INFO: TCP Data received {"connection_id":160051,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0187a4b58012d20c2c006ce7128000b015b28..."} 
[2026-08-19 10:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187a4b58012d20c2c006ce7128000b015b28..."} 
[2026-08-19 10:56:05] local.INFO: Processing buffer {"connection_id":160051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187a4b58012d20c2c006ce7128000b015b28..."} 
[2026-08-19 10:56:05] local.INFO: Packet analysis {"connection_id":160051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187a"} 
[2026-08-19 10:56:05] local.INFO: Extracted packet for processing {"connection_id":160051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187a"} 
[2026-08-19 10:56:05] local.INFO: GPS Element Parsed {"raw_longitude":757121728,"raw_latitude":114192680,"longitude_deg":75.7121728,"latitude_deg":11.419268,"altitude":11,"angle":347,"satellites":40,"speed":57,"hex_longitude":"2d20c2c0","hex_latitude":"06ce7128","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501966336001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385559433205252096,"note":"Value kept but may cause issues"} 
[2026-08-19 10:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2362912089972715520,"note":"Value kept but may cause issues"} 
[2026-08-19 10:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787117063000,"timestamp_ms":1787117063000,"timestamp_seconds":1787117063,"priority":1,"record_length":96,"hex_timestamp":"000001a0187a4b58"} 
[2026-08-19 10:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:56: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-08-19 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 10:56:05] 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-08-19 10: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-08-19 10:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501966336001,"66":27908,"61":206,"81":22528,"24":57,"16":385559433205252096,"45":2362912089972715520},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-08-19 10:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501966336001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:56:05] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-19 10:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385559433205252096,"km_value":385559433205252.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2362912089972715520,"description":"Unknown IO ID 45"} 
[2026-08-19 10:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501966336001,"power":27908,"unknown_61":206,"unknown_81":22528,"ignition":57,"odometer":null,"unknown_45":2362912089972715520}} 
[2026-08-19 10:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":160051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:56:05] local.INFO: GPS data processed {"connection_id":160051,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:56:05] local.INFO: Acknowledgment sent {"connection_id":160051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:56:09] local.INFO: TCP Data received {"connection_id":157872,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:56:09] local.INFO: Processing buffer {"connection_id":157872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:56:09] local.INFO: IMEI packet received {"connection_id":157872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 10:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":157872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:56:11] local.INFO: TCP Data received {"connection_id":157872,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:56:11] local.INFO: Processing buffer {"connection_id":157872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:56:11] local.INFO: IMEI packet received {"connection_id":157872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":157872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:56:12] local.INFO: TCP Data received {"connection_id":157872,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:56:12] local.INFO: Processing buffer {"connection_id":157872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:56:12] local.INFO: IMEI packet received {"connection_id":157872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":157872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:56:13] local.INFO: TCP Data received {"connection_id":157872,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:56:13] local.INFO: Processing buffer {"connection_id":157872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 10:56:13] local.INFO: IMEI packet received {"connection_id":157872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 10:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":157872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:56:37] local.INFO: TCP Data received {"connection_id":160051,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0187a66b0012d20bb0006ce97c0000b015c25..."} 
[2026-08-19 10:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187a66b0012d20bb0006ce97c0000b015c25..."} 
[2026-08-19 10:56:37] local.INFO: Processing buffer {"connection_id":160051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187a66b0012d20bb0006ce97c0000b015c25..."} 
[2026-08-19 10:56:37] local.INFO: Packet analysis {"connection_id":160051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187a"} 
[2026-08-19 10:56:37] local.INFO: Extracted packet for processing {"connection_id":160051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187a"} 
[2026-08-19 10:56:37] local.INFO: GPS Element Parsed {"raw_longitude":757119744,"raw_latitude":114202560,"longitude_deg":75.7119744,"latitude_deg":11.420256,"altitude":11,"angle":348,"satellites":37,"speed":58,"hex_longitude":"2d20bb00","hex_latitude":"06ce97c0","is_valid_coordinates":true} 
[2026-08-19 10:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501968128001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385559922831523840,"note":"Value kept but may cause issues"} 
[2026-08-19 10:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2360660290161420288,"note":"Value kept but may cause issues"} 
[2026-08-19 10:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787117070000,"timestamp_ms":1787117070000,"timestamp_seconds":1787117070,"priority":1,"record_length":96,"hex_timestamp":"000001a0187a66b0"} 
[2026-08-19 10:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 10:56:37] 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-08-19 10:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501968128001,"66":28006,"61":206,"81":22528,"24":58,"16":385559922831523840,"45":2360660290161420288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-08-19 10:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501968128001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:56:37] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-19 10:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385559922831523840,"km_value":385559922831523.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2360660290161420288,"description":"Unknown IO ID 45"} 
[2026-08-19 10:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457501968128001,"power":28006,"unknown_61":206,"unknown_81":22528,"ignition":58,"odometer":null,"unknown_45":2360660290161420288}} 
[2026-08-19 10:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":160051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:56:37] local.INFO: GPS data processed {"connection_id":160051,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:56:37] local.INFO: Acknowledgment sent {"connection_id":160051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:57:01] local.INFO: TCP Data received {"connection_id":157873,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:57:01] local.INFO: Processing buffer {"connection_id":157873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:57:01] local.INFO: IMEI packet received {"connection_id":157873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":157873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:57:05] local.INFO: TCP Data received {"connection_id":157873,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:57:05] local.INFO: Processing buffer {"connection_id":157873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:57:05] local.INFO: IMEI packet received {"connection_id":157873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":157873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:57:08] local.INFO: TCP Data received {"connection_id":157873,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:57:08] local.INFO: Processing buffer {"connection_id":157873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:57:08] local.INFO: IMEI packet received {"connection_id":157873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":157873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:57:09] local.INFO: TCP Data received {"connection_id":157873,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0187c08a8012d1fb18006cf8248000f01242b..."} 
[2026-08-19 10:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187c08a8012d1fb18006cf8248000f01242b..."} 
[2026-08-19 10:57:09] local.INFO: Processing buffer {"connection_id":157873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187c08a8012d1fb18006cf8248000f01242b..."} 
[2026-08-19 10:57:09] local.INFO: Packet analysis {"connection_id":157873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187c"} 
[2026-08-19 10:57:09] local.INFO: Extracted packet for processing {"connection_id":157873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187c"} 
[2026-08-19 10:57:09] local.INFO: GPS Element Parsed {"raw_longitude":757051776,"raw_latitude":114262600,"longitude_deg":75.7051776,"latitude_deg":11.42626,"altitude":15,"angle":292,"satellites":43,"speed":59,"hex_longitude":"2d1fb180","hex_latitude":"06cf8248","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501995520001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385564544216334336,"note":"Value kept but may cause issues"} 
[2026-08-19 10:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2294302564418723840,"note":"Value kept but may cause issues"} 
[2026-08-19 10:57:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 10:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787117177000,"timestamp_ms":1787117177000,"timestamp_seconds":1787117177,"priority":1,"record_length":96,"hex_timestamp":"000001a0187c08a8"} 
[2026-08-19 10:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:57:09] 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-08-19 10: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-08-19 10:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501995520001,"66":27919,"81":22528,"24":59,"16":385564544216334336,"45":2294302564418723840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-08-19 10:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501995520001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385564544216334336,"km_value":385564544216334.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2294302564418723840,"description":"Unknown IO ID 45"} 
[2026-08-19 10:57:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457501995520001,"power":27919,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2294302564418723840}} 
[2026-08-19 10:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":157873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:57:09] local.INFO: GPS data processed {"connection_id":157873,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:57:09] local.INFO: Acknowledgment sent {"connection_id":157873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:57:10] local.INFO: TCP Data received {"connection_id":157873,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0187c2018012d1f90c006cf90400010012629..."} 
[2026-08-19 10:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187c2018012d1f90c006cf90400010012629..."} 
[2026-08-19 10:57:10] local.INFO: Processing buffer {"connection_id":157873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187c2018012d1f90c006cf90400010012629..."} 
[2026-08-19 10:57:10] local.INFO: Packet analysis {"connection_id":157873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187c"} 
[2026-08-19 10:57:10] local.INFO: Extracted packet for processing {"connection_id":157873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187c"} 
[2026-08-19 10:57:10] local.INFO: GPS Element Parsed {"raw_longitude":757043392,"raw_latitude":114266176,"longitude_deg":75.7043392,"latitude_deg":11.4266176,"altitude":16,"angle":294,"satellites":41,"speed":57,"hex_longitude":"2d1f90c0","hex_latitude":"06cf9040","is_valid_coordinates":true} 
[2026-08-19 10:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501997312001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385564978008031232,"note":"Value kept but may cause issues"} 
[2026-08-19 10:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2283747252793133056,"note":"Value kept but may cause issues"} 
[2026-08-19 10:57:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 10:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787117183000,"timestamp_ms":1787117183000,"timestamp_seconds":1787117183,"priority":1,"record_length":96,"hex_timestamp":"000001a0187c2018"} 
[2026-08-19 10:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:57: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-08-19 10:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 10:57:10] 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-08-19 10:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501997312001,"66":27821,"81":22528,"24":57,"16":385564978008031232,"45":2283747252793133056},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-08-19 10:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501997312001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:57:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385564978008031232,"km_value":385564978008031.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2283747252793133056,"description":"Unknown IO ID 45"} 
[2026-08-19 10:57:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457501997312001,"power":27821,"unknown_81":22528,"ignition":57,"odometer":null,"unknown_45":2283747252793133056}} 
[2026-08-19 10:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":157873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:57:10] local.INFO: GPS data processed {"connection_id":157873,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:57:10] local.INFO: Acknowledgment sent {"connection_id":157873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:57:41] local.INFO: TCP Data received {"connection_id":157873,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0187c3b70012d1f700006cfa0e80011012c28..."} 
[2026-08-19 10:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187c3b70012d1f700006cfa0e80011012c28..."} 
[2026-08-19 10:57:41] local.INFO: Processing buffer {"connection_id":157873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187c3b70012d1f700006cfa0e80011012c28..."} 
[2026-08-19 10:57:41] local.INFO: Packet analysis {"connection_id":157873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187c"} 
[2026-08-19 10:57:41] local.INFO: Extracted packet for processing {"connection_id":157873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187c"} 
[2026-08-19 10:57:41] local.INFO: GPS Element Parsed {"raw_longitude":757035008,"raw_latitude":114270440,"longitude_deg":75.7035008,"latitude_deg":11.427044,"altitude":17,"angle":300,"satellites":40,"speed":37,"hex_longitude":"2d1f7000","hex_latitude":"06cfa0e8","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457501998848001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385565428979597312,"note":"Value kept but may cause issues"} 
[2026-08-19 10:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2274528947306774528,"note":"Value kept but may cause issues"} 
[2026-08-19 10:57:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 10:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787117190000,"timestamp_ms":1787117190000,"timestamp_seconds":1787117190,"priority":1,"record_length":96,"hex_timestamp":"000001a0187c3b70"} 
[2026-08-19 10:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10: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-08-19 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 10:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10: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-08-19 10:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457501998848001,"66":27919,"81":22528,"24":37,"16":385565428979597312,"45":2274528947306774528},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-08-19 10:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457501998848001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:57:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385565428979597312,"km_value":385565428979597.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2274528947306774528,"description":"Unknown IO ID 45"} 
[2026-08-19 10:57:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457501998848001,"power":27919,"unknown_81":22528,"ignition":37,"odometer":null,"unknown_45":2274528947306774528}} 
[2026-08-19 10:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":157873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:57:41] local.INFO: GPS data processed {"connection_id":157873,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:57:41] local.INFO: Acknowledgment sent {"connection_id":157873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:57:57] local.INFO: TCP Data received {"connection_id":160053,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:57:57] local.INFO: Processing buffer {"connection_id":160053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:57:57] local.INFO: IMEI packet received {"connection_id":160053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":160053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:58:00] local.INFO: TCP Data received {"connection_id":160053,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:58:00] local.INFO: Processing buffer {"connection_id":160053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:58:00] local.INFO: IMEI packet received {"connection_id":160053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":160053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:58:05] local.INFO: TCP Data received {"connection_id":160053,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:58:05] local.INFO: Processing buffer {"connection_id":160053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:58:05] local.INFO: IMEI packet received {"connection_id":160053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":160053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:58:05] local.INFO: TCP Data received {"connection_id":160053,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0187c4340012d1f6a8006cfa4a00010013828..."} 
[2026-08-19 10:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187c4340012d1f6a8006cfa4a00010013828..."} 
[2026-08-19 10:58:05] local.INFO: Processing buffer {"connection_id":160053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187c4340012d1f6a8006cfa4a00010013828..."} 
[2026-08-19 10:58:05] local.INFO: Packet analysis {"connection_id":160053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187c"} 
[2026-08-19 10:58:05] local.INFO: Extracted packet for processing {"connection_id":160053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187c"} 
[2026-08-19 10:58:05] local.INFO: GPS Element Parsed {"raw_longitude":757033600,"raw_latitude":114271392,"longitude_deg":75.70336,"latitude_deg":11.4271392,"altitude":16,"angle":312,"satellites":40,"speed":30,"hex_longitude":"2d1f6a80","hex_latitude":"06cfa4a0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502000640001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385565506289008640,"note":"Value kept but may cause issues"} 
[2026-08-19 10:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2265310641820592128,"note":"Value kept but may cause issues"} 
[2026-08-19 10:58:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 10:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787117192000,"timestamp_ms":1787117192000,"timestamp_seconds":1787117192,"priority":1,"record_length":96,"hex_timestamp":"000001a0187c4340"} 
[2026-08-19 10:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 10:58:05] 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-08-19 10: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-08-19 10:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502000640001,"66":27876,"81":22528,"24":30,"16":385565506289008640,"45":2265310641820592128},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-08-19 10:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502000640001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:58:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385565506289008640,"km_value":385565506289008.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2265310641820592128,"description":"Unknown IO ID 45"} 
[2026-08-19 10:58:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457502000640001,"power":27876,"unknown_81":22528,"ignition":30,"odometer":null,"unknown_45":2265310641820592128}} 
[2026-08-19 10:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":160053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:58:05] local.INFO: GPS data processed {"connection_id":160053,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:58:05] local.INFO: Acknowledgment sent {"connection_id":160053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:58:37] local.INFO: TCP Data received {"connection_id":160053,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0187c7220012d1f540006cfbfa0000e013f2c..."} 
[2026-08-19 10:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187c7220012d1f540006cfbfa0000e013f2c..."} 
[2026-08-19 10:58:37] local.INFO: Processing buffer {"connection_id":160053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187c7220012d1f540006cfbfa0000e013f2c..."} 
[2026-08-19 10:58:37] local.INFO: Packet analysis {"connection_id":160053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187c"} 
[2026-08-19 10:58:37] local.INFO: Extracted packet for processing {"connection_id":160053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187c"} 
[2026-08-19 10:58:37] local.INFO: GPS Element Parsed {"raw_longitude":757027840,"raw_latitude":114278304,"longitude_deg":75.702784,"latitude_deg":11.4278304,"altitude":14,"angle":319,"satellites":44,"speed":14,"hex_longitude":"2d1f5400","hex_latitude":"06cfbfa0","is_valid_coordinates":true} 
[2026-08-19 10:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502001152001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385565940080705536,"note":"Value kept but may cause issues"} 
[2026-08-19 10:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2263762529448927232,"note":"Value kept but may cause issues"} 
[2026-08-19 10:58:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 10:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787117204000,"timestamp_ms":1787117204000,"timestamp_seconds":1787117204,"priority":1,"record_length":96,"hex_timestamp":"000001a0187c7220"} 
[2026-08-19 10:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 10:58:37] 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-08-19 10:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502001152001,"66":28028,"81":22528,"24":14,"16":385565940080705536,"45":2263762529448927232},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-08-19 10:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502001152001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385565940080705536,"km_value":385565940080705.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2263762529448927232,"description":"Unknown IO ID 45"} 
[2026-08-19 10:58:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457502001152001,"power":28028,"unknown_81":22528,"ignition":14,"odometer":null,"unknown_45":2263762529448927232}} 
[2026-08-19 10:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":160053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:58:37] local.INFO: GPS data processed {"connection_id":160053,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:58:37] local.INFO: Acknowledgment sent {"connection_id":160053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:59:00] local.INFO: TCP Data received {"connection_id":158749,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:59:00] local.INFO: Processing buffer {"connection_id":158749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:59:00] local.INFO: IMEI packet received {"connection_id":158749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 10:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":158749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 10:59:05] local.INFO: TCP Data received {"connection_id":158749,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:59:05] local.INFO: Processing buffer {"connection_id":158749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 10:59:05] local.INFO: IMEI packet received {"connection_id":158749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 10:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":158749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 10:59:06] local.INFO: TCP Data received {"connection_id":158749,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0187ca8d0012d1f3f4006cfdc18000d01432a..."} 
[2026-08-19 10:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187ca8d0012d1f3f4006cfdc18000d01432a..."} 
[2026-08-19 10:59:06] local.INFO: Processing buffer {"connection_id":158749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187ca8d0012d1f3f4006cfdc18000d01432a..."} 
[2026-08-19 10:59:06] local.INFO: Packet analysis {"connection_id":158749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187c"} 
[2026-08-19 10:59:06] local.INFO: Extracted packet for processing {"connection_id":158749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187c"} 
[2026-08-19 10:59:06] local.INFO: GPS Element Parsed {"raw_longitude":757022528,"raw_latitude":114285592,"longitude_deg":75.7022528,"latitude_deg":11.4285592,"altitude":13,"angle":323,"satellites":42,"speed":34,"hex_longitude":"2d1f3f40","hex_latitude":"06cfdc18","is_valid_coordinates":true} 
[2026-08-19 10:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 10:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502004224001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385566373872402432,"note":"Value kept but may cause issues"} 
[2026-08-19 10:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2257429342474706944,"note":"Value kept but may cause issues"} 
[2026-08-19 10:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787117218000,"timestamp_ms":1787117218000,"timestamp_seconds":1787117218,"priority":1,"record_length":96,"hex_timestamp":"000001a0187ca8d0"} 
[2026-08-19 10:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 10:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-19 10:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 10:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 10:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502004224001,"66":27865,"152":206,"81":22528,"24":34,"16":385566373872402432,"45":2257429342474706944},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-08-19 10:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502004224001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:59:06] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-19 10:59:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385566373872402432,"km_value":385566373872402.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2257429342474706944,"description":"Unknown IO ID 45"} 
[2026-08-19 10:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502004224001,"power":27865,"unknown_152":206,"unknown_81":22528,"ignition":34,"odometer":null,"unknown_45":2257429342474706944}} 
[2026-08-19 10:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":158749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:59:06] local.INFO: GPS data processed {"connection_id":158749,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:59:06] local.INFO: Acknowledgment sent {"connection_id":158749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 10:59:41] local.INFO: TCP Data received {"connection_id":158749,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0187ccfe0012d1f294006cffbb00010014527..."} 
[2026-08-19 10:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187ccfe0012d1f294006cffbb00010014527..."} 
[2026-08-19 10:59:41] local.INFO: Processing buffer {"connection_id":158749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187ccfe0012d1f294006cffbb00010014527..."} 
[2026-08-19 10:59:41] local.INFO: Packet analysis {"connection_id":158749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187c"} 
[2026-08-19 10:59:41] local.INFO: Extracted packet for processing {"connection_id":158749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187c"} 
[2026-08-19 10:59:41] local.INFO: GPS Element Parsed {"raw_longitude":757016896,"raw_latitude":114293680,"longitude_deg":75.7016896,"latitude_deg":11.429368,"altitude":16,"angle":325,"satellites":39,"speed":41,"hex_longitude":"2d1f2940","hex_latitude":"06cffbb0","is_valid_coordinates":true} 
[2026-08-19 10: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-08-19 10:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502007808001,"note":"Value kept but may cause issues"} 
[2026-08-19 10:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385566850613772288,"note":"Value kept but may cause issues"} 
[2026-08-19 10:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2251588736709826560,"note":"Value kept but may cause issues"} 
[2026-08-19 10:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 10:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787117228000,"timestamp_ms":1787117228000,"timestamp_seconds":1787117228,"priority":1,"record_length":96,"hex_timestamp":"000001a0187ccfe0"} 
[2026-08-19 10:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 10:59: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-08-19 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 10:59:41] 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-08-19 10: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-08-19 10:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 10:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 10:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 10:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 10:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 10:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 10:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 10:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502007808001,"66":27843,"152":206,"81":22528,"24":41,"16":385566850613772288,"45":2251588736709826560},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-08-19 10:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 10:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 10:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502007808001,"description":"Unknown IO ID 0"} 
[2026-08-19 10:59:41] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-19 10:59:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 10:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385566850613772288,"km_value":385566850613772.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 10:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2251588736709826560,"description":"Unknown IO ID 45"} 
[2026-08-19 10:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502007808001,"power":27843,"unknown_152":206,"unknown_81":22528,"ignition":41,"odometer":null,"unknown_45":2251588736709826560}} 
[2026-08-19 10:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":158749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 10:59:41] local.INFO: GPS data processed {"connection_id":158749,"processed":1,"errors":0,"total":1} 
[2026-08-19 10:59:41] local.INFO: Acknowledgment sent {"connection_id":158749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:00:00] local.INFO: TCP Data received {"connection_id":158750,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:00:00] local.INFO: Processing buffer {"connection_id":158750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:00:00] local.INFO: IMEI packet received {"connection_id":158750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":158750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:00:05] local.INFO: TCP Data received {"connection_id":158750,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:00:05] local.INFO: Processing buffer {"connection_id":158750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:00:05] local.INFO: IMEI packet received {"connection_id":158750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":158750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:00:05] local.INFO: TCP Data received {"connection_id":158750,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0187cfad8012d1f154006d01938000f014728..."} 
[2026-08-19 11:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187cfad8012d1f154006d01938000f014728..."} 
[2026-08-19 11:00:05] local.INFO: Processing buffer {"connection_id":158750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187cfad8012d1f154006d01938000f014728..."} 
[2026-08-19 11:00:05] local.INFO: Packet analysis {"connection_id":158750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187c"} 
[2026-08-19 11:00:05] local.INFO: Extracted packet for processing {"connection_id":158750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187c"} 
[2026-08-19 11:00:05] local.INFO: GPS Element Parsed {"raw_longitude":757011776,"raw_latitude":114301240,"longitude_deg":75.7011776,"latitude_deg":11.430124,"altitude":15,"angle":327,"satellites":40,"speed":15,"hex_longitude":"2d1f1540","hex_latitude":"06d01938","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502010368001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385567288700436480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2245396287224262656,"note":"Value kept but may cause issues"} 
[2026-08-19 11:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787117239000,"timestamp_ms":1787117239000,"timestamp_seconds":1787117239,"priority":1,"record_length":96,"hex_timestamp":"000001a0187cfad8"} 
[2026-08-19 11:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:00: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-08-19 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 11:00: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-08-19 11: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-08-19 11:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502010368001,"66":27821,"152":206,"81":22528,"24":15,"16":385567288700436480,"45":2245396287224262656},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-08-19 11:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502010368001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:00:05] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-19 11:00:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 11:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385567288700436480,"km_value":385567288700436.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2245396287224262656,"description":"Unknown IO ID 45"} 
[2026-08-19 11:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502010368001,"power":27821,"unknown_152":206,"unknown_81":22528,"ignition":15,"odometer":null,"unknown_45":2245396287224262656}} 
[2026-08-19 11:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":158750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:00:05] local.INFO: GPS data processed {"connection_id":158750,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:00:05] local.INFO: Acknowledgment sent {"connection_id":158750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:00:37] local.INFO: TCP Data received {"connection_id":158750,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0187d4ce0012d1f064006d03080000f014629..."} 
[2026-08-19 11:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187d4ce0012d1f064006d03080000f014629..."} 
[2026-08-19 11:00:37] local.INFO: Processing buffer {"connection_id":158750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187d4ce0012d1f064006d03080000f014629..."} 
[2026-08-19 11:00:37] local.INFO: Packet analysis {"connection_id":158750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187d"} 
[2026-08-19 11:00:37] local.INFO: Extracted packet for processing {"connection_id":158750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187d"} 
[2026-08-19 11:00:37] local.INFO: GPS Element Parsed {"raw_longitude":757007936,"raw_latitude":114307200,"longitude_deg":75.7007936,"latitude_deg":11.43072,"altitude":15,"angle":326,"satellites":41,"speed":24,"hex_longitude":"2d1f0640","hex_latitude":"06d03080","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502013184001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385567632297820160,"note":"Value kept but may cause issues"} 
[2026-08-19 11:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2239766787691984896,"note":"Value kept but may cause issues"} 
[2026-08-19 11:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787117260000,"timestamp_ms":1787117260000,"timestamp_seconds":1787117260,"priority":1,"record_length":96,"hex_timestamp":"000001a0187d4ce0"} 
[2026-08-19 11:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 11:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502013184001,"66":27887,"152":206,"81":22528,"24":24,"16":385567632297820160,"45":2239766787691984896},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-08-19 11:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502013184001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:00:37] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-19 11:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-08-19 11:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385567632297820160,"km_value":385567632297820.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2239766787691984896,"description":"Unknown IO ID 45"} 
[2026-08-19 11:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502013184001,"power":27887,"unknown_152":206,"unknown_81":22528,"ignition":24,"odometer":null,"unknown_45":2239766787691984896}} 
[2026-08-19 11:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":158750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:00:37] local.INFO: GPS data processed {"connection_id":158750,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:00:37] local.INFO: Acknowledgment sent {"connection_id":158750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:00:59] local.INFO: TCP Data received {"connection_id":157875,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:00:59] local.INFO: Processing buffer {"connection_id":157875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:00:59] local.INFO: IMEI packet received {"connection_id":157875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":157875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:01:05] local.INFO: TCP Data received {"connection_id":157875,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:01:05] local.INFO: Processing buffer {"connection_id":157875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:01:05] local.INFO: IMEI packet received {"connection_id":157875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":157875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:01:06] local.INFO: TCP Data received {"connection_id":157875,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0187f6020012d1e4ac006d14a180012014028..."} 
[2026-08-19 11:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187f6020012d1e4ac006d14a180012014028..."} 
[2026-08-19 11:01:06] local.INFO: Processing buffer {"connection_id":157875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187f6020012d1e4ac006d14a180012014028..."} 
[2026-08-19 11:01:06] local.INFO: Packet analysis {"connection_id":157875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187f"} 
[2026-08-19 11:01:06] local.INFO: Extracted packet for processing {"connection_id":157875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187f"} 
[2026-08-19 11:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756959936,"raw_latitude":114379288,"longitude_deg":75.6959936,"latitude_deg":11.4379288,"altitude":18,"angle":320,"satellites":40,"speed":10,"hex_longitude":"2d1e4ac0","hex_latitude":"06d14a18","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502048000001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385571815595966464,"note":"Value kept but may cause issues"} 
[2026-08-19 11:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2185582854694230016,"note":"Value kept but may cause issues"} 
[2026-08-19 11:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787117396000,"timestamp_ms":1787117396000,"timestamp_seconds":1787117396,"priority":1,"record_length":96,"hex_timestamp":"000001a0187f6020"} 
[2026-08-19 11:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 11:01:06] 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-08-19 11: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-08-19 11:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502048000001,"66":27865,"140":206,"81":20480,"24":10,"16":385571815595966464,"45":2185582854694230016},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-08-19 11:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502048000001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:01:06] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-19 11:01:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385571815595966464,"km_value":385571815595966.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2185582854694230016,"description":"Unknown IO ID 45"} 
[2026-08-19 11:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502048000001,"power":27865,"unknown_140":206,"unknown_81":20480,"ignition":10,"odometer":null,"unknown_45":2185582854694230016}} 
[2026-08-19 11:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":157875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:01:06] local.INFO: GPS data processed {"connection_id":157875,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:01:06] local.INFO: Acknowledgment sent {"connection_id":157875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:01:14] local.INFO: TCP Data received {"connection_id":157876,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:01:14] local.INFO: Processing buffer {"connection_id":157876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:01:14] local.INFO: IMEI packet received {"connection_id":157876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":157876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:01:19] local.INFO: TCP Data received {"connection_id":157876,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:01:19] local.INFO: Processing buffer {"connection_id":157876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:01:19] local.INFO: IMEI packet received {"connection_id":157876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":157876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:01:20] local.INFO: TCP Data received {"connection_id":157876,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0187da2d0012d17b2c0072162800044011120..."} 
[2026-08-19 11:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187da2d0012d17b2c0072162800044011120..."} 
[2026-08-19 11:01:20] local.INFO: Processing buffer {"connection_id":157876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187da2d0012d17b2c0072162800044011120..."} 
[2026-08-19 11:01:20] local.INFO: Packet analysis {"connection_id":157876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187d"} 
[2026-08-19 11:01:20] local.INFO: Extracted packet for processing {"connection_id":157876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187d"} 
[2026-08-19 11:01:20] local.INFO: GPS Element Parsed {"raw_longitude":756527808,"raw_latitude":119628416,"longitude_deg":75.6527808,"latitude_deg":11.9628416,"altitude":68,"angle":273,"satellites":32,"speed":0,"hex_longitude":"2d17b2c0","hex_latitude":"07216280","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502018816001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13685689950404608,"note":"Value kept but may cause issues"} 
[2026-08-19 11:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707638345584246784,"note":"Value kept but may cause issues"} 
[2026-08-19 11:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787117282000,"timestamp_ms":1787117282000,"timestamp_seconds":1787117282,"priority":1,"record_length":96,"hex_timestamp":"000001a0187da2d0"} 
[2026-08-19 11:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 11:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502018816001,"66":13798,"122":206,"28":31744,"24":0,"16":13685689950404608,"45":1707638345584246784},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-19 11:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502018816001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:01:20] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-19 11:01:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13685689950404608,"km_value":13685689950404.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707638345584246784,"description":"Unknown IO ID 45"} 
[2026-08-19 11:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502018816001,"power":13798,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1707638345584246784}} 
[2026-08-19 11:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":157876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:01:21] local.INFO: GPS data processed {"connection_id":157876,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:01:21] local.INFO: Acknowledgment sent {"connection_id":157876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:01:37] local.INFO: TCP Data received {"connection_id":157875,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0187faa58012d1e40c006d159780012015226..."} 
[2026-08-19 11:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187faa58012d1e40c006d159780012015226..."} 
[2026-08-19 11:01:37] local.INFO: Processing buffer {"connection_id":157875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187faa58012d1e40c006d159780012015226..."} 
[2026-08-19 11:01:37] local.INFO: Packet analysis {"connection_id":157875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187f"} 
[2026-08-19 11:01:37] local.INFO: Extracted packet for processing {"connection_id":157875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187f"} 
[2026-08-19 11:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756957376,"raw_latitude":114383224,"longitude_deg":75.6957376,"latitude_deg":11.4383224,"altitude":18,"angle":338,"satellites":38,"speed":9,"hex_longitude":"2d1e40c0","hex_latitude":"06d15978","is_valid_coordinates":true} 
[2026-08-19 11:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502053376001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385572043229233152,"note":"Value kept but may cause issues"} 
[2026-08-19 11:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2182768104928057344,"note":"Value kept but may cause issues"} 
[2026-08-19 11:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787117415000,"timestamp_ms":1787117415000,"timestamp_seconds":1787117415,"priority":1,"record_length":96,"hex_timestamp":"000001a0187faa58"} 
[2026-08-19 11:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:01:37] 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-08-19 11:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502053376001,"66":27832,"140":206,"81":20480,"24":9,"16":385572043229233152,"45":2182768104928057344},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-08-19 11:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502053376001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:01:37] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-19 11:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385572043229233152,"km_value":385572043229233.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2182768104928057344,"description":"Unknown IO ID 45"} 
[2026-08-19 11:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502053376001,"power":27832,"unknown_140":206,"unknown_81":20480,"ignition":9,"odometer":null,"unknown_45":2182768104928057344}} 
[2026-08-19 11:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":157875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:01:37] local.INFO: GPS data processed {"connection_id":157875,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:01:37] local.INFO: Acknowledgment sent {"connection_id":157875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:01:52] local.INFO: TCP Data received {"connection_id":157876,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0187df4d8012d17b2c0072162800044011120..."} 
[2026-08-19 11:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187df4d8012d17b2c0072162800044011120..."} 
[2026-08-19 11:01:52] local.INFO: Processing buffer {"connection_id":157876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187df4d8012d17b2c0072162800044011120..."} 
[2026-08-19 11:01:52] local.INFO: Packet analysis {"connection_id":157876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187d"} 
[2026-08-19 11:01:52] local.INFO: Extracted packet for processing {"connection_id":157876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187d"} 
[2026-08-19 11:01:52] local.INFO: GPS Element Parsed {"raw_longitude":756527808,"raw_latitude":119628416,"longitude_deg":75.6527808,"latitude_deg":11.9628416,"altitude":68,"angle":273,"satellites":32,"speed":0,"hex_longitude":"2d17b2c0","hex_latitude":"07216280","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502024192001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13685689950404608,"note":"Value kept but may cause issues"} 
[2026-08-19 11:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707638345584246784,"note":"Value kept but may cause issues"} 
[2026-08-19 11:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787117303000,"timestamp_ms":1787117303000,"timestamp_seconds":1787117303,"priority":1,"record_length":96,"hex_timestamp":"000001a0187df4d8"} 
[2026-08-19 11:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:01:52] 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-08-19 11: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-19 11:01:52] 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-08-19 11: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-08-19 11:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":157876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":157876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":157876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502024192001,"66":13722,"122":206,"28":31744,"24":0,"16":13685689950404608,"45":1707638345584246784},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-19 11:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502024192001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:01:52] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-19 11:01:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13685689950404608,"km_value":13685689950404.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707638345584246784,"description":"Unknown IO ID 45"} 
[2026-08-19 11:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502024192001,"power":13722,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1707638345584246784}} 
[2026-08-19 11:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":157876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:01:52] local.INFO: GPS data processed {"connection_id":157876,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:01:52] local.INFO: Acknowledgment sent {"connection_id":157876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:01:59] local.INFO: TCP Data received {"connection_id":160054,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:01:59] local.INFO: Processing buffer {"connection_id":160054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:01:59] local.INFO: IMEI packet received {"connection_id":160054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":160054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:02:05] local.INFO: TCP Data received {"connection_id":160054,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:02:05] local.INFO: Processing buffer {"connection_id":160054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:02:05] local.INFO: IMEI packet received {"connection_id":160054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":160054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:02:06] local.INFO: TCP Data received {"connection_id":160054,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0187fb610012d1e3ec006d15cb80013014226..."} 
[2026-08-19 11:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187fb610012d1e3ec006d15cb80013014226..."} 
[2026-08-19 11:02:06] local.INFO: Processing buffer {"connection_id":160054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187fb610012d1e3ec006d15cb80013014226..."} 
[2026-08-19 11:02:06] local.INFO: Packet analysis {"connection_id":160054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187f"} 
[2026-08-19 11:02:06] local.INFO: Extracted packet for processing {"connection_id":160054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187f"} 
[2026-08-19 11:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756956864,"raw_latitude":114384056,"longitude_deg":75.6956864,"latitude_deg":11.4384056,"altitude":19,"angle":322,"satellites":38,"speed":15,"hex_longitude":"2d1e3ec0","hex_latitude":"06d15cb8","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502058240001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385572090473873408,"note":"Value kept but may cause issues"} 
[2026-08-19 11:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2179953355161958400,"note":"Value kept but may cause issues"} 
[2026-08-19 11:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787117418000,"timestamp_ms":1787117418000,"timestamp_seconds":1787117418,"priority":1,"record_length":96,"hex_timestamp":"000001a0187fb610"} 
[2026-08-19 11:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 11:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502058240001,"66":27865,"140":206,"81":20480,"24":15,"16":385572090473873408,"45":2179953355161958400},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-08-19 11:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502058240001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:02:06] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-19 11:02:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385572090473873408,"km_value":385572090473873.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2179953355161958400,"description":"Unknown IO ID 45"} 
[2026-08-19 11:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502058240001,"power":27865,"unknown_140":206,"unknown_81":20480,"ignition":15,"odometer":null,"unknown_45":2179953355161958400}} 
[2026-08-19 11:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":160054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:02:06] local.INFO: GPS data processed {"connection_id":160054,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:02:06] local.INFO: Acknowledgment sent {"connection_id":160054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:02:09] local.INFO: TCP Data received {"connection_id":160055,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:02:09] local.INFO: Processing buffer {"connection_id":160055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:02:09] local.INFO: IMEI packet received {"connection_id":160055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":160055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:02:10] local.INFO: TCP Data received {"connection_id":160055,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:02:10] local.INFO: Processing buffer {"connection_id":160055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:02:10] local.INFO: IMEI packet received {"connection_id":160055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":160055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:02:14] local.INFO: TCP Data received {"connection_id":160055,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:02:14] local.INFO: Processing buffer {"connection_id":160055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:02:14] local.INFO: IMEI packet received {"connection_id":160055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":160055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:02:16] local.INFO: TCP Data received {"connection_id":160055,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0187e46e0012d17b2c0072162800044011122..."} 
[2026-08-19 11:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187e46e0012d17b2c0072162800044011122..."} 
[2026-08-19 11:02:16] local.INFO: Processing buffer {"connection_id":160055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187e46e0012d17b2c0072162800044011122..."} 
[2026-08-19 11:02:16] local.INFO: Packet analysis {"connection_id":160055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187e"} 
[2026-08-19 11:02:16] local.INFO: Extracted packet for processing {"connection_id":160055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187e"} 
[2026-08-19 11:02:16] local.INFO: GPS Element Parsed {"raw_longitude":756527808,"raw_latitude":119628416,"longitude_deg":75.6527808,"latitude_deg":11.9628416,"altitude":68,"angle":273,"satellites":34,"speed":0,"hex_longitude":"2d17b2c0","hex_latitude":"07216280","is_valid_coordinates":true} 
[2026-08-19 11:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502029568001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13685689950404608,"note":"Value kept but may cause issues"} 
[2026-08-19 11:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707638345584246784,"note":"Value kept but may cause issues"} 
[2026-08-19 11:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787117324000,"timestamp_ms":1787117324000,"timestamp_seconds":1787117324,"priority":1,"record_length":96,"hex_timestamp":"000001a0187e46e0"} 
[2026-08-19 11:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:02:16] 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-08-19 11:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-19 11:02:16] 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-08-19 11:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502029568001,"66":13972,"122":206,"28":31744,"24":0,"16":13685689950404608,"45":1707638345584246784},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-19 11:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502029568001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:02:16] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-19 11:02:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13685689950404608,"km_value":13685689950404.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707638345584246784,"description":"Unknown IO ID 45"} 
[2026-08-19 11:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502029568001,"power":13972,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1707638345584246784}} 
[2026-08-19 11:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":160055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:02:16] local.INFO: GPS data processed {"connection_id":160055,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:02:16] local.INFO: Acknowledgment sent {"connection_id":160055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:02:36] local.INFO: TCP Data received {"connection_id":160054,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0187fe4f0012d1e358006d16be80012014d28..."} 
[2026-08-19 11:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187fe4f0012d1e358006d16be80012014d28..."} 
[2026-08-19 11:02:36] local.INFO: Processing buffer {"connection_id":160054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187fe4f0012d1e358006d16be80012014d28..."} 
[2026-08-19 11:02:36] local.INFO: Packet analysis {"connection_id":160054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187f"} 
[2026-08-19 11:02:36] local.INFO: Extracted packet for processing {"connection_id":160054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187f"} 
[2026-08-19 11:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756954496,"raw_latitude":114387944,"longitude_deg":75.6954496,"latitude_deg":11.4387944,"altitude":18,"angle":333,"satellites":40,"speed":15,"hex_longitude":"2d1e3580","hex_latitude":"06d16be8","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502059008001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385572309517205504,"note":"Value kept but may cause issues"} 
[2026-08-19 11:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2179390405208750080,"note":"Value kept but may cause issues"} 
[2026-08-19 11:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787117430000,"timestamp_ms":1787117430000,"timestamp_seconds":1787117430,"priority":1,"record_length":96,"hex_timestamp":"000001a0187fe4f0"} 
[2026-08-19 11:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:02: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-08-19 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:02:36] 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-08-19 11: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-08-19 11:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502059008001,"66":27908,"140":206,"81":20480,"24":15,"16":385572309517205504,"45":2179390405208750080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-08-19 11:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502059008001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:02:36] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-19 11:02:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385572309517205504,"km_value":385572309517205.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2179390405208750080,"description":"Unknown IO ID 45"} 
[2026-08-19 11:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502059008001,"power":27908,"unknown_140":206,"unknown_81":20480,"ignition":15,"odometer":null,"unknown_45":2179390405208750080}} 
[2026-08-19 11:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":160054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:02:36] local.INFO: GPS data processed {"connection_id":160054,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:02:36] local.INFO: Acknowledgment sent {"connection_id":160054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:02:48] local.INFO: TCP Data received {"connection_id":160055,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0187e98e8012d17b2c0072162800044011122..."} 
[2026-08-19 11:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187e98e8012d17b2c0072162800044011122..."} 
[2026-08-19 11:02:48] local.INFO: Processing buffer {"connection_id":160055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187e98e8012d17b2c0072162800044011122..."} 
[2026-08-19 11:02:48] local.INFO: Packet analysis {"connection_id":160055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187e"} 
[2026-08-19 11:02:48] local.INFO: Extracted packet for processing {"connection_id":160055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187e"} 
[2026-08-19 11:02:48] local.INFO: GPS Element Parsed {"raw_longitude":756527808,"raw_latitude":119628416,"longitude_deg":75.6527808,"latitude_deg":11.9628416,"altitude":68,"angle":273,"satellites":34,"speed":0,"hex_longitude":"2d17b2c0","hex_latitude":"07216280","is_valid_coordinates":true} 
[2026-08-19 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-08-19 11:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502034944001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13685689950404608,"note":"Value kept but may cause issues"} 
[2026-08-19 11:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707638345584246784,"note":"Value kept but may cause issues"} 
[2026-08-19 11:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787117345000,"timestamp_ms":1787117345000,"timestamp_seconds":1787117345,"priority":1,"record_length":96,"hex_timestamp":"000001a0187e98e8"} 
[2026-08-19 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-08-19 11:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-19 11:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 11:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502034944001,"66":13993,"122":206,"28":31744,"24":0,"16":13685689950404608,"45":1707638345584246784},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-19 11:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502034944001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:02:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-19 11:02:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13685689950404608,"km_value":13685689950404.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707638345584246784,"description":"Unknown IO ID 45"} 
[2026-08-19 11:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502034944001,"power":13993,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1707638345584246784}} 
[2026-08-19 11:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":160055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:02:48] local.INFO: GPS data processed {"connection_id":160055,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:02:48] local.INFO: Acknowledgment sent {"connection_id":160055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:02:59] local.INFO: TCP Data received {"connection_id":157501,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:02:59] local.INFO: Processing buffer {"connection_id":157501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:02:59] local.INFO: IMEI packet received {"connection_id":157501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":157501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:03:05] local.INFO: TCP Data received {"connection_id":157501,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:03:05] local.INFO: Processing buffer {"connection_id":157501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:03:05] local.INFO: IMEI packet received {"connection_id":157501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":157501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:03:06] local.INFO: TCP Data received {"connection_id":157501,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018802370012d1e278006d18bf0000f015527..."} 
[2026-08-19 11:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018802370012d1e278006d18bf0000f015527..."} 
[2026-08-19 11:03:06] local.INFO: Processing buffer {"connection_id":157501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018802370012d1e278006d18bf0000f015527..."} 
[2026-08-19 11:03:06] local.INFO: Packet analysis {"connection_id":157501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01880"} 
[2026-08-19 11:03:06] local.INFO: Extracted packet for processing {"connection_id":157501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01880"} 
[2026-08-19 11:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756950912,"raw_latitude":114396144,"longitude_deg":75.6950912,"latitude_deg":11.4396144,"altitude":15,"angle":341,"satellites":39,"speed":27,"hex_longitude":"2d1e2780","hex_latitude":"06d18bf0","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502062080001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385572743308902400,"note":"Value kept but may cause issues"} 
[2026-08-19 11:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2176786761675171840,"note":"Value kept but may cause issues"} 
[2026-08-19 11:03:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,81,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 11:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787117446000,"timestamp_ms":1787117446000,"timestamp_seconds":1787117446,"priority":1,"record_length":96,"hex_timestamp":"000001a018802370"} 
[2026-08-19 11:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:03:06] 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-08-19 11: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-08-19 11:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502062080001,"66":27919,"16":385572743308902400,"81":20480,"24":27,"45":2176786761675171840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,81,24,45]} 
[2026-08-19 11:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502062080001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385572743308902400,"km_value":385572743308902.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:03:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2176786761675171840,"description":"Unknown IO ID 45"} 
[2026-08-19 11:03:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457502062080001,"power":27919,"odometer":null,"unknown_81":20480,"ignition":27,"unknown_45":2176786761675171840}} 
[2026-08-19 11:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":157501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:03:06] local.INFO: GPS data processed {"connection_id":157501,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:03:06] local.INFO: Acknowledgment sent {"connection_id":157501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:03:13] local.INFO: TCP Data received {"connection_id":160056,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:03:13] local.INFO: Processing buffer {"connection_id":160056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:03:13] local.INFO: IMEI packet received {"connection_id":160056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":160056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:03:14] local.INFO: TCP Data received {"connection_id":160056,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:03:14] local.INFO: Processing buffer {"connection_id":160056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:03:14] local.INFO: IMEI packet received {"connection_id":160056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":160056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:03:19] local.INFO: TCP Data received {"connection_id":160056,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:03:19] local.INFO: Processing buffer {"connection_id":160056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:03:19] local.INFO: IMEI packet received {"connection_id":160056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":160056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:03:20] local.INFO: TCP Data received {"connection_id":160056,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0187eeaf0012d17b2c007216280004401111f..."} 
[2026-08-19 11:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187eeaf0012d17b2c007216280004401111f..."} 
[2026-08-19 11:03:20] local.INFO: Processing buffer {"connection_id":160056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187eeaf0012d17b2c007216280004401111f..."} 
[2026-08-19 11:03:20] local.INFO: Packet analysis {"connection_id":160056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187e"} 
[2026-08-19 11:03:20] local.INFO: Extracted packet for processing {"connection_id":160056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187e"} 
[2026-08-19 11:03:20] local.INFO: GPS Element Parsed {"raw_longitude":756527808,"raw_latitude":119628416,"longitude_deg":75.6527808,"latitude_deg":11.9628416,"altitude":68,"angle":273,"satellites":31,"speed":0,"hex_longitude":"2d17b2c0","hex_latitude":"07216280","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502040320001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13685689950404608,"note":"Value kept but may cause issues"} 
[2026-08-19 11:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707638345584246784,"note":"Value kept but may cause issues"} 
[2026-08-19 11:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787117366000,"timestamp_ms":1787117366000,"timestamp_seconds":1787117366,"priority":1,"record_length":96,"hex_timestamp":"000001a0187eeaf0"} 
[2026-08-19 11:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":169,"data_length":795,"current_offset":136} 
[2026-08-19 11:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502040320001,"66":13928,"122":206,"28":31744,"24":0,"16":13685689950404608,"45":1707638345584246784},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-19 11:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502040320001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:03:20] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-19 11:03:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13685689950404608,"km_value":13685689950404.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707638345584246784,"description":"Unknown IO ID 45"} 
[2026-08-19 11:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502040320001,"power":13928,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1707638345584246784}} 
[2026-08-19 11:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":160056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:03:20] local.INFO: GPS data processed {"connection_id":160056,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:03:20] local.INFO: Acknowledgment sent {"connection_id":160056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:03:25] local.INFO: TCP Data received {"connection_id":160056,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0187f3cf8012d17b2c007216280004401111f..."} 
[2026-08-19 11:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187f3cf8012d17b2c007216280004401111f..."} 
[2026-08-19 11:03:25] local.INFO: Processing buffer {"connection_id":160056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187f3cf8012d17b2c007216280004401111f..."} 
[2026-08-19 11:03:25] local.INFO: Packet analysis {"connection_id":160056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187f"} 
[2026-08-19 11:03:25] local.INFO: Extracted packet for processing {"connection_id":160056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187f"} 
[2026-08-19 11:03:25] local.INFO: GPS Element Parsed {"raw_longitude":756527808,"raw_latitude":119628416,"longitude_deg":75.6527808,"latitude_deg":11.9628416,"altitude":68,"angle":273,"satellites":31,"speed":0,"hex_longitude":"2d17b2c0","hex_latitude":"07216280","is_valid_coordinates":true} 
[2026-08-19 11:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502045696001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13685689950404608,"note":"Value kept but may cause issues"} 
[2026-08-19 11:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707638345584246784,"note":"Value kept but may cause issues"} 
[2026-08-19 11:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787117387000,"timestamp_ms":1787117387000,"timestamp_seconds":1787117387,"priority":1,"record_length":96,"hex_timestamp":"000001a0187f3cf8"} 
[2026-08-19 11:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:03:25] 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-08-19 11:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 11:03:25] 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-08-19 11:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502045696001,"66":13961,"122":206,"28":31744,"24":0,"16":13685689950404608,"45":1707638345584246784},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-19 11:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502045696001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:03:25] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-19 11:03:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13685689950404608,"km_value":13685689950404.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707638345584246784,"description":"Unknown IO ID 45"} 
[2026-08-19 11:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502045696001,"power":13961,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1707638345584246784}} 
[2026-08-19 11:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":160056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:03:25] local.INFO: GPS data processed {"connection_id":160056,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:03:25] local.INFO: Acknowledgment sent {"connection_id":160056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:03:37] local.INFO: TCP Data received {"connection_id":157501,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018804e68012d1e1d0006d1a5a00010014a23..."} 
[2026-08-19 11:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018804e68012d1e1d0006d1a5a00010014a23..."} 
[2026-08-19 11:03:37] local.INFO: Processing buffer {"connection_id":157501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018804e68012d1e1d0006d1a5a00010014a23..."} 
[2026-08-19 11:03:37] local.INFO: Packet analysis {"connection_id":157501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01880"} 
[2026-08-19 11:03:37] local.INFO: Extracted packet for processing {"connection_id":157501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01880"} 
[2026-08-19 11:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756948224,"raw_latitude":114402720,"longitude_deg":75.6948224,"latitude_deg":11.440272,"altitude":16,"angle":330,"satellites":35,"speed":25,"hex_longitude":"2d1e1d00","hex_latitude":"06d1a5a0","is_valid_coordinates":true} 
[2026-08-19 11:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502066176001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385573091201253376,"note":"Value kept but may cause issues"} 
[2026-08-19 11:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2172846112003321856,"note":"Value kept but may cause issues"} 
[2026-08-19 11:03:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,81,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 11:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787117457000,"timestamp_ms":1787117457000,"timestamp_seconds":1787117457,"priority":1,"record_length":96,"hex_timestamp":"000001a018804e68"} 
[2026-08-19 11:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 11:03:37] 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-08-19 11:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502066176001,"66":27908,"16":385573091201253376,"81":20480,"24":25,"45":2172846112003321856},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,81,24,45]} 
[2026-08-19 11:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502066176001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385573091201253376,"km_value":385573091201253.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2172846112003321856,"description":"Unknown IO ID 45"} 
[2026-08-19 11:03:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457502066176001,"power":27908,"odometer":null,"unknown_81":20480,"ignition":25,"unknown_45":2172846112003321856}} 
[2026-08-19 11:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":157501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:03:37] local.INFO: GPS data processed {"connection_id":157501,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:03:37] local.INFO: Acknowledgment sent {"connection_id":157501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:04:05] local.INFO: TCP Data received {"connection_id":158751,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:04:05] local.INFO: Processing buffer {"connection_id":158751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:04:05] local.INFO: IMEI packet received {"connection_id":158751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":158751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:04:09] local.INFO: TCP Data received {"connection_id":158752,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:04:09] local.INFO: Processing buffer {"connection_id":158752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:04:09] local.INFO: IMEI packet received {"connection_id":158752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":158752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:04:10] local.INFO: TCP Data received {"connection_id":158751,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:04:10] local.INFO: Processing buffer {"connection_id":158751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:04:10] local.INFO: IMEI packet received {"connection_id":158751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":158751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:04:11] local.INFO: TCP Data received {"connection_id":158751,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018806da8012d1e0f0006d1b8680013013e23..."} 
[2026-08-19 11:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018806da8012d1e0f0006d1b8680013013e23..."} 
[2026-08-19 11:04:11] local.INFO: Processing buffer {"connection_id":158751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018806da8012d1e0f0006d1b8680013013e23..."} 
[2026-08-19 11:04:11] local.INFO: Packet analysis {"connection_id":158751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01880"} 
[2026-08-19 11:04:11] local.INFO: Extracted packet for processing {"connection_id":158751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01880"} 
[2026-08-19 11:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756944640,"raw_latitude":114407528,"longitude_deg":75.694464,"latitude_deg":11.4407528,"altitude":19,"angle":318,"satellites":35,"speed":32,"hex_longitude":"2d1e0f00","hex_latitude":"06d1b868","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502068992001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385573378964062208,"note":"Value kept but may cause issues"} 
[2026-08-19 11:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2169890624749543424,"note":"Value kept but may cause issues"} 
[2026-08-19 11:04:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,81,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 11:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787117465000,"timestamp_ms":1787117465000,"timestamp_seconds":1787117465,"priority":1,"record_length":96,"hex_timestamp":"000001a018806da8"} 
[2026-08-19 11:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:04: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-08-19 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502068992001,"66":27887,"16":385573378964062208,"81":20480,"24":32,"45":2169890624749543424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,81,24,45]} 
[2026-08-19 11:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502068992001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385573378964062208,"km_value":385573378964062.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:04:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2169890624749543424,"description":"Unknown IO ID 45"} 
[2026-08-19 11:04:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457502068992001,"power":27887,"odometer":null,"unknown_81":20480,"ignition":32,"unknown_45":2169890624749543424}} 
[2026-08-19 11:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":158751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:04:11] local.INFO: GPS data processed {"connection_id":158751,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:04:11] local.INFO: Acknowledgment sent {"connection_id":158751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:04:11] local.INFO: TCP Data received {"connection_id":158752,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:04:11] local.INFO: Processing buffer {"connection_id":158752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:04:11] local.INFO: IMEI packet received {"connection_id":158752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":158752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:04:12] local.INFO: TCP Data received {"connection_id":158752,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0187f8f00012d17b2c0072162800044011121..."} 
[2026-08-19 11:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0187f8f00012d17b2c0072162800044011121..."} 
[2026-08-19 11:04:12] local.INFO: Processing buffer {"connection_id":158752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0187f8f00012d17b2c0072162800044011121..."} 
[2026-08-19 11:04:12] local.INFO: Packet analysis {"connection_id":158752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0187f"} 
[2026-08-19 11:04:12] local.INFO: Extracted packet for processing {"connection_id":158752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0187f"} 
[2026-08-19 11:04:12] local.INFO: GPS Element Parsed {"raw_longitude":756527808,"raw_latitude":119628416,"longitude_deg":75.6527808,"latitude_deg":11.9628416,"altitude":68,"angle":273,"satellites":33,"speed":0,"hex_longitude":"2d17b2c0","hex_latitude":"07216280","is_valid_coordinates":true} 
[2026-08-19 11:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502051072001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13685689950404608,"note":"Value kept but may cause issues"} 
[2026-08-19 11:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707638345584246784,"note":"Value kept but may cause issues"} 
[2026-08-19 11:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787117408000,"timestamp_ms":1787117408000,"timestamp_seconds":1787117408,"priority":1,"record_length":96,"hex_timestamp":"000001a0187f8f00"} 
[2026-08-19 11:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-19 11:04: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-08-19 11:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502051072001,"66":13993,"122":206,"28":31744,"24":0,"16":13685689950404608,"45":1707638345584246784},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-19 11:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502051072001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:04:12] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-19 11:04:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13685689950404608,"km_value":13685689950404.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707638345584246784,"description":"Unknown IO ID 45"} 
[2026-08-19 11:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502051072001,"power":13993,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1707638345584246784}} 
[2026-08-19 11:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":158752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:04:12] local.INFO: GPS data processed {"connection_id":158752,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:04:12] local.INFO: Acknowledgment sent {"connection_id":158752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:04:15] local.INFO: TCP Data received {"connection_id":158751,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188094b8012d1dff8006d1cb980013014d28..."} 
[2026-08-19 11:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188094b8012d1dff8006d1cb980013014d28..."} 
[2026-08-19 11:04:15] local.INFO: Processing buffer {"connection_id":158751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188094b8012d1dff8006d1cb980013014d28..."} 
[2026-08-19 11:04:15] local.INFO: Packet analysis {"connection_id":158751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01880"} 
[2026-08-19 11:04:15] local.INFO: Extracted packet for processing {"connection_id":158751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01880"} 
[2026-08-19 11:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756940672,"raw_latitude":114412440,"longitude_deg":75.6940672,"latitude_deg":11.441244,"altitude":19,"angle":333,"satellites":40,"speed":16,"hex_longitude":"2d1dff80","hex_latitude":"06d1cb98","is_valid_coordinates":true} 
[2026-08-19 11:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502071040001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385573683906740224,"note":"Value kept but may cause issues"} 
[2026-08-19 11:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2165949975076825088,"note":"Value kept but may cause issues"} 
[2026-08-19 11:04:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,81,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 11:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787117475000,"timestamp_ms":1787117475000,"timestamp_seconds":1787117475,"priority":1,"record_length":96,"hex_timestamp":"000001a0188094b8"} 
[2026-08-19 11:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 11:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502071040001,"66":27767,"16":385573683906740224,"81":20480,"24":16,"45":2165949975076825088},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,81,24,45]} 
[2026-08-19 11:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502071040001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385573683906740224,"km_value":385573683906740.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2165949975076825088,"description":"Unknown IO ID 45"} 
[2026-08-19 11:04:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457502071040001,"power":27767,"odometer":null,"unknown_81":20480,"ignition":16,"unknown_45":2165949975076825088}} 
[2026-08-19 11:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":158751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:04:15] local.INFO: GPS data processed {"connection_id":158751,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:04:15] local.INFO: Acknowledgment sent {"connection_id":158751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:04:44] local.INFO: TCP Data received {"connection_id":158752,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01882c350012d17ae00072162a00045011323..."} 
[2026-08-19 11:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01882c350012d17ae00072162a00045011323..."} 
[2026-08-19 11:04:44] local.INFO: Processing buffer {"connection_id":158752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01882c350012d17ae00072162a00045011323..."} 
[2026-08-19 11:04:44] local.INFO: Packet analysis {"connection_id":158752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01882"} 
[2026-08-19 11:04:44] local.INFO: Extracted packet for processing {"connection_id":158752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01882"} 
[2026-08-19 11:04:44] local.INFO: GPS Element Parsed {"raw_longitude":756526592,"raw_latitude":119628448,"longitude_deg":75.6526592,"latitude_deg":11.9628448,"altitude":69,"angle":275,"satellites":35,"speed":4,"hex_longitude":"2d17ae00","hex_latitude":"072162a0","is_valid_coordinates":true} 
[2026-08-19 11:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502108928001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13685750079946752,"note":"Value kept but may cause issues"} 
[2026-08-19 11:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706864289398272000,"note":"Value kept but may cause issues"} 
[2026-08-19 11:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787117618000,"timestamp_ms":1787117618000,"timestamp_seconds":1787117618,"priority":1,"record_length":96,"hex_timestamp":"000001a01882c350"} 
[2026-08-19 11:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:04:44] 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-08-19 11:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 11:04: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-08-19 11:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502108928001,"66":13624,"122":206,"28":31744,"24":4,"16":13685750079946752,"45":1706864289398272000},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-19 11:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502108928001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:04:44] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-19 11:04:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13685750079946752,"km_value":13685750079946.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706864289398272000,"description":"Unknown IO ID 45"} 
[2026-08-19 11:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502108928001,"power":13624,"unknown_122":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1706864289398272000}} 
[2026-08-19 11:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":158752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:04:44] local.INFO: GPS data processed {"connection_id":158752,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:04:44] local.INFO: Acknowledgment sent {"connection_id":158752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:05:00] local.INFO: TCP Data received {"connection_id":157502,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:05:00] local.INFO: Processing buffer {"connection_id":157502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:05:00] local.INFO: IMEI packet received {"connection_id":157502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":157502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:05:05] local.INFO: TCP Data received {"connection_id":157502,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:05:05] local.INFO: Processing buffer {"connection_id":157502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:05:05] local.INFO: IMEI packet received {"connection_id":157502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":157502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:05:06] local.INFO: TCP Data received {"connection_id":157502,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01880e6c0012d1deb4006d1e9600014014327..."} 
[2026-08-19 11:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01880e6c0012d1deb4006d1e9600014014327..."} 
[2026-08-19 11:05:06] local.INFO: Processing buffer {"connection_id":157502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01880e6c0012d1deb4006d1e9600014014327..."} 
[2026-08-19 11:05:06] local.INFO: Packet analysis {"connection_id":157502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01880"} 
[2026-08-19 11:05:06] local.INFO: Extracted packet for processing {"connection_id":157502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01880"} 
[2026-08-19 11:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756935488,"raw_latitude":114420064,"longitude_deg":75.6935488,"latitude_deg":11.4420064,"altitude":20,"angle":323,"satellites":39,"speed":24,"hex_longitude":"2d1deb40","hex_latitude":"06d1e960","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502073600001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385574130583339008,"note":"Value kept but may cause issues"} 
[2026-08-19 11:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2161587112939067392,"note":"Value kept but may cause issues"} 
[2026-08-19 11:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787117496000,"timestamp_ms":1787117496000,"timestamp_seconds":1787117496,"priority":1,"record_length":96,"hex_timestamp":"000001a01880e6c0"} 
[2026-08-19 11:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 11:05:06] 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-08-19 11: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-08-19 11:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502073600001,"66":27800,"5":206,"81":20480,"24":24,"16":385574130583339008,"45":2161587112939067392},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-08-19 11:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502073600001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:05:06] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-19 11:05:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385574130583339008,"km_value":385574130583339.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2161587112939067392,"description":"Unknown IO ID 45"} 
[2026-08-19 11:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502073600001,"power":27800,"unknown_5":206,"unknown_81":20480,"ignition":24,"odometer":null,"unknown_45":2161587112939067392}} 
[2026-08-19 11:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":157502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:05:06] local.INFO: GPS data processed {"connection_id":157502,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:05:06] local.INFO: Acknowledgment sent {"connection_id":157502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:05:08] local.INFO: TCP Data received {"connection_id":157502,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01880e6c0012d1deb4006d1e9600014014327..."} 
[2026-08-19 11:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01880e6c0012d1deb4006d1e9600014014327..."} 
[2026-08-19 11:05:08] local.INFO: Processing buffer {"connection_id":157502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01880e6c0012d1deb4006d1e9600014014327..."} 
[2026-08-19 11:05:08] local.INFO: Packet analysis {"connection_id":157502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01880"} 
[2026-08-19 11:05:08] local.INFO: Extracted packet for processing {"connection_id":157502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01880"} 
[2026-08-19 11:05:08] local.INFO: GPS Element Parsed {"raw_longitude":756935488,"raw_latitude":114420064,"longitude_deg":75.6935488,"latitude_deg":11.4420064,"altitude":20,"angle":323,"satellites":39,"speed":24,"hex_longitude":"2d1deb40","hex_latitude":"06d1e960","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502078976001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385574130583339008,"note":"Value kept but may cause issues"} 
[2026-08-19 11:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2155887244662628352,"note":"Value kept but may cause issues"} 
[2026-08-19 11:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787117496000,"timestamp_ms":1787117496000,"timestamp_seconds":1787117496,"priority":1,"record_length":96,"hex_timestamp":"000001a01880e6c0"} 
[2026-08-19 11:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:05: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-08-19 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 11:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":157502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":157502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":157502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502078976001,"66":27800,"5":206,"81":20480,"24":24,"16":385574130583339008,"45":2155887244662628352},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-08-19 11:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502078976001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:05:08] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-19 11:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385574130583339008,"km_value":385574130583339.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2155887244662628352,"description":"Unknown IO ID 45"} 
[2026-08-19 11:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502078976001,"power":27800,"unknown_5":206,"unknown_81":20480,"ignition":24,"odometer":null,"unknown_45":2155887244662628352}} 
[2026-08-19 11:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":157502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:05:08] local.INFO: GPS data processed {"connection_id":157502,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:05:08] local.INFO: Acknowledgment sent {"connection_id":157502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:05:08] local.INFO: TCP Data received {"connection_id":157877,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:05:08] local.INFO: Processing buffer {"connection_id":157877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:05:08] local.INFO: IMEI packet received {"connection_id":157877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":157877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:05:09] local.INFO: TCP Data received {"connection_id":157877,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:05:09] local.INFO: Processing buffer {"connection_id":157877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:05:09] local.INFO: IMEI packet received {"connection_id":157877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":157877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:05:09] local.INFO: TCP Data received {"connection_id":157877,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:05:09] local.INFO: Processing buffer {"connection_id":157877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:05:09] local.INFO: IMEI packet received {"connection_id":157877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":157877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:05:11] local.INFO: TCP Data received {"connection_id":157877,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:05:11] local.INFO: Processing buffer {"connection_id":157877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:05:11] local.INFO: IMEI packet received {"connection_id":157877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":157877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:05:12] local.INFO: TCP Data received {"connection_id":157877,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01882e290012d17ae00072162a80045005824..."} 
[2026-08-19 11:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01882e290012d17ae00072162a80045005824..."} 
[2026-08-19 11:05:12] local.INFO: Processing buffer {"connection_id":157877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01882e290012d17ae00072162a80045005824..."} 
[2026-08-19 11:05:12] local.INFO: Packet analysis {"connection_id":157877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01882"} 
[2026-08-19 11:05:12] local.INFO: Extracted packet for processing {"connection_id":157877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01882"} 
[2026-08-19 11:05:12] local.INFO: GPS Element Parsed {"raw_longitude":756526592,"raw_latitude":119628456,"longitude_deg":75.6526592,"latitude_deg":11.9628456,"altitude":69,"angle":88,"satellites":36,"speed":2,"hex_longitude":"2d17ae00","hex_latitude":"072162a8","is_valid_coordinates":true} 
[2026-08-19 11:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502110208001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13685767259815936,"note":"Value kept but may cause issues"} 
[2026-08-19 11:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706301339444879360,"note":"Value kept but may cause issues"} 
[2026-08-19 11:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787117626000,"timestamp_ms":1787117626000,"timestamp_seconds":1787117626,"priority":1,"record_length":96,"hex_timestamp":"000001a01882e290"} 
[2026-08-19 11:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:05: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-08-19 11:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-19 11:05:12] 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-08-19 11:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502110208001,"66":14374,"122":206,"28":31744,"24":2,"16":13685767259815936,"45":1706301339444879360},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-19 11:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502110208001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:05:12] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-19 11:05:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13685767259815936,"km_value":13685767259815.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706301339444879360,"description":"Unknown IO ID 45"} 
[2026-08-19 11:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502110208001,"power":14374,"unknown_122":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1706301339444879360}} 
[2026-08-19 11:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":157877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:05:12] local.INFO: GPS data processed {"connection_id":157877,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:05:12] local.INFO: Acknowledgment sent {"connection_id":157877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:05:39] local.INFO: TCP Data received {"connection_id":157502,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018810218012d1ddf0006d1f5f80012013729..."} 
[2026-08-19 11:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018810218012d1ddf0006d1f5f80012013729..."} 
[2026-08-19 11:05:39] local.INFO: Processing buffer {"connection_id":157502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018810218012d1ddf0006d1f5f80012013729..."} 
[2026-08-19 11:05:39] local.INFO: Packet analysis {"connection_id":157502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01881"} 
[2026-08-19 11:05:39] local.INFO: Extracted packet for processing {"connection_id":157502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01881"} 
[2026-08-19 11:05:39] local.INFO: GPS Element Parsed {"raw_longitude":756932352,"raw_latitude":114423288,"longitude_deg":75.6932352,"latitude_deg":11.4423288,"altitude":18,"angle":311,"satellites":41,"speed":27,"hex_longitude":"2d1ddf00","hex_latitude":"06d1f5f8","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502078976001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385574345331703808,"note":"Value kept but may cause issues"} 
[2026-08-19 11:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2155887244662628352,"note":"Value kept but may cause issues"} 
[2026-08-19 11:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787117503000,"timestamp_ms":1787117503000,"timestamp_seconds":1787117503,"priority":1,"record_length":96,"hex_timestamp":"000001a018810218"} 
[2026-08-19 11:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 11:05:39] 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-08-19 11: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-08-19 11:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502078976001,"66":27865,"5":206,"81":20480,"24":27,"16":385574345331703808,"45":2155887244662628352},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-08-19 11:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502078976001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:05:39] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-19 11:05:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385574345331703808,"km_value":385574345331703.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2155887244662628352,"description":"Unknown IO ID 45"} 
[2026-08-19 11:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502078976001,"power":27865,"unknown_5":206,"unknown_81":20480,"ignition":27,"odometer":null,"unknown_45":2155887244662628352}} 
[2026-08-19 11:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":157502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:05:39] local.INFO: GPS data processed {"connection_id":157502,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:05:39] local.INFO: Acknowledgment sent {"connection_id":157502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:05:43] local.INFO: TCP Data received {"connection_id":157877,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01883f400012d17d9c0072156580045003f23..."} 
[2026-08-19 11:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01883f400012d17d9c0072156580045003f23..."} 
[2026-08-19 11:05:43] local.INFO: Processing buffer {"connection_id":157877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01883f400012d17d9c0072156580045003f23..."} 
[2026-08-19 11:05:43] local.INFO: Packet analysis {"connection_id":157877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01883"} 
[2026-08-19 11:05:43] local.INFO: Extracted packet for processing {"connection_id":157877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01883"} 
[2026-08-19 11:05:43] local.INFO: GPS Element Parsed {"raw_longitude":756537792,"raw_latitude":119625304,"longitude_deg":75.6537792,"latitude_deg":11.9625304,"altitude":69,"angle":63,"satellites":35,"speed":6,"hex_longitude":"2d17d9c0","hex_latitude":"07215658","is_valid_coordinates":true} 
[2026-08-19 11:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502130176001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13686342785433600,"note":"Value kept but may cause issues"} 
[2026-08-19 11:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1718615869675165696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787117696000,"timestamp_ms":1787117696000,"timestamp_seconds":1787117696,"priority":1,"record_length":96,"hex_timestamp":"000001a01883f400"} 
[2026-08-19 11:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:05: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-08-19 11:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 11:05: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-08-19 11:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502130176001,"66":13928,"122":206,"28":31744,"24":6,"16":13686342785433600,"45":1718615869675165696},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-19 11:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502130176001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:05:43] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-19 11:05:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13686342785433600,"km_value":13686342785433.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1718615869675165696,"description":"Unknown IO ID 45"} 
[2026-08-19 11:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502130176001,"power":13928,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1718615869675165696}} 
[2026-08-19 11:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":157877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:05:44] local.INFO: GPS data processed {"connection_id":157877,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:05:44] local.INFO: Acknowledgment sent {"connection_id":157877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:05:59] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:05:59] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:05:59] local.INFO: IMEI packet received {"connection_id":160057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":160057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:06:05] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:06:05] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:06:05] local.INFO: IMEI packet received {"connection_id":160057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":160057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:06:07] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01883dc90012d1d384006d2ce70001a01542b..."} 
[2026-08-19 11:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01883dc90012d1d384006d2ce70001a01542b..."} 
[2026-08-19 11:06:07] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01883dc90012d1d384006d2ce70001a01542b..."} 
[2026-08-19 11:06:07] local.INFO: Packet analysis {"connection_id":160057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01883"} 
[2026-08-19 11:06:07] local.INFO: Extracted packet for processing {"connection_id":160057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01883"} 
[2026-08-19 11:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756889664,"raw_latitude":114478704,"longitude_deg":75.6889664,"latitude_deg":11.4478704,"altitude":26,"angle":340,"satellites":43,"speed":16,"hex_longitude":"2d1d3840","hex_latitude":"06d2ce70","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502123264001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385577781305540608,"note":"Value kept but may cause issues"} 
[2026-08-19 11:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2109936454727864320,"note":"Value kept but may cause issues"} 
[2026-08-19 11:06:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 11:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787117690000,"timestamp_ms":1787117690000,"timestamp_seconds":1787117690,"priority":1,"record_length":96,"hex_timestamp":"000001a01883dc90"} 
[2026-08-19 11:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:06: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-08-19 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 11:06:07] 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-08-19 11: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-08-19 11:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502123264001,"66":27919,"81":20480,"24":16,"16":385577781305540608,"45":2109936454727864320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-08-19 11:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502123264001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:06:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385577781305540608,"km_value":385577781305540.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2109936454727864320,"description":"Unknown IO ID 45"} 
[2026-08-19 11:06:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457502123264001,"power":27919,"unknown_81":20480,"ignition":16,"odometer":null,"unknown_45":2109936454727864320}} 
[2026-08-19 11:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":160057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:06:07] local.INFO: GPS data processed {"connection_id":160057,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:06:07] local.INFO: Acknowledgment sent {"connection_id":160057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:06:09] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018842e98012d1d2b0006d2ef600013015029..."} 
[2026-08-19 11:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018842e98012d1d2b0006d2ef600013015029..."} 
[2026-08-19 11:06:09] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018842e98012d1d2b0006d2ef600013015029..."} 
[2026-08-19 11:06:09] local.INFO: Packet analysis {"connection_id":160057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:06:09] local.INFO: Extracted packet for processing {"connection_id":160057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:06:09] local.INFO: GPS Element Parsed {"raw_longitude":756886272,"raw_latitude":114487136,"longitude_deg":75.6886272,"latitude_deg":11.4487136,"altitude":19,"angle":336,"satellites":41,"speed":21,"hex_longitude":"2d1d2b00","hex_latitude":"06d2ef60","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502128640001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385578219392204800,"note":"Value kept but may cause issues"} 
[2026-08-19 11:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2105503223846432768,"note":"Value kept but may cause issues"} 
[2026-08-19 11:06:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 11:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787117711000,"timestamp_ms":1787117711000,"timestamp_seconds":1787117711,"priority":1,"record_length":96,"hex_timestamp":"000001a018842e98"} 
[2026-08-19 11:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 11:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502128640001,"66":27821,"81":20480,"24":21,"16":385578219392204800,"45":2105503223846432768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-08-19 11:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502128640001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385578219392204800,"km_value":385578219392204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2105503223846432768,"description":"Unknown IO ID 45"} 
[2026-08-19 11:06:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457502128640001,"power":27821,"unknown_81":20480,"ignition":21,"odometer":null,"unknown_45":2105503223846432768}} 
[2026-08-19 11:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":160057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:06:09] local.INFO: GPS data processed {"connection_id":160057,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:06:09] local.INFO: Acknowledgment sent {"connection_id":160057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:06:10] local.INFO: TCP Data received {"connection_id":157878,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:06:10] local.INFO: Processing buffer {"connection_id":157878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:06:10] local.INFO: IMEI packet received {"connection_id":157878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":157878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:06:14] local.INFO: TCP Data received {"connection_id":157878,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:06:14] local.INFO: Processing buffer {"connection_id":157878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:06:14] local.INFO: IMEI packet received {"connection_id":157878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":157878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:06:15] local.INFO: TCP Data received {"connection_id":157878,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01883f7e8012d17da80072156c80046003324..."} 
[2026-08-19 11:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01883f7e8012d17da80072156c80046003324..."} 
[2026-08-19 11:06:15] local.INFO: Processing buffer {"connection_id":157878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01883f7e8012d17da80072156c80046003324..."} 
[2026-08-19 11:06:15] local.INFO: Packet analysis {"connection_id":157878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01883"} 
[2026-08-19 11:06:15] local.INFO: Extracted packet for processing {"connection_id":157878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01883"} 
[2026-08-19 11:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756537984,"raw_latitude":119625416,"longitude_deg":75.6537984,"latitude_deg":11.9625416,"altitude":70,"angle":51,"satellites":36,"speed":9,"hex_longitude":"2d17da80","hex_latitude":"072156c8","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502130176001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13686355670335488,"note":"Value kept but may cause issues"} 
[2026-08-19 11:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1718615869675165696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787117697000,"timestamp_ms":1787117697000,"timestamp_seconds":1787117697,"priority":1,"record_length":96,"hex_timestamp":"000001a01883f7e8"} 
[2026-08-19 11:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:06:15] 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-08-19 11: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 11:06:15] 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-08-19 11: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-08-19 11:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502130176001,"66":13928,"122":206,"28":31744,"24":9,"16":13686355670335488,"45":1718615869675165696},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-19 11:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502130176001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:06:15] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-19 11:06:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13686355670335488,"km_value":13686355670335.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1718615869675165696,"description":"Unknown IO ID 45"} 
[2026-08-19 11:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502130176001,"power":13928,"unknown_122":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1718615869675165696}} 
[2026-08-19 11:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":157878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:06:16] local.INFO: GPS data processed {"connection_id":157878,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:06:16] local.INFO: Acknowledgment sent {"connection_id":157878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:06:40] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018842e98012d1d2b0006d2ef600013015029..."} 
[2026-08-19 11:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018842e98012d1d2b0006d2ef600013015029..."} 
[2026-08-19 11:06:40] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018842e98012d1d2b0006d2ef600013015029..."} 
[2026-08-19 11:06:40] local.INFO: Packet analysis {"connection_id":160057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:06:40] local.INFO: Extracted packet for processing {"connection_id":160057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:06:40] local.INFO: GPS Element Parsed {"raw_longitude":756886272,"raw_latitude":114487136,"longitude_deg":75.6886272,"latitude_deg":11.4487136,"altitude":19,"angle":336,"satellites":41,"speed":21,"hex_longitude":"2d1d2b00","hex_latitude":"06d2ef60","is_valid_coordinates":true} 
[2026-08-19 11:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502134016001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385578219392204800,"note":"Value kept but may cause issues"} 
[2026-08-19 11:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2101773680407175168,"note":"Value kept but may cause issues"} 
[2026-08-19 11:06:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 11:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787117711000,"timestamp_ms":1787117711000,"timestamp_seconds":1787117711,"priority":1,"record_length":96,"hex_timestamp":"000001a018842e98"} 
[2026-08-19 11:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 11:06:40] 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-08-19 11:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502134016001,"66":27821,"81":20480,"24":21,"16":385578219392204800,"45":2101773680407175168},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-08-19 11:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502134016001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:06:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385578219392204800,"km_value":385578219392204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2101773680407175168,"description":"Unknown IO ID 45"} 
[2026-08-19 11:06:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457502134016001,"power":27821,"unknown_81":20480,"ignition":21,"odometer":null,"unknown_45":2101773680407175168}} 
[2026-08-19 11:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":160057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:06:40] local.INFO: GPS data processed {"connection_id":160057,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:06:40] local.INFO: Acknowledgment sent {"connection_id":160057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:06:47] local.INFO: TCP Data received {"connection_id":157878,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01883fbd0012d17db40072157b80046002024..."} 
[2026-08-19 11:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01883fbd0012d17db40072157b80046002024..."} 
[2026-08-19 11:06:47] local.INFO: Processing buffer {"connection_id":157878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01883fbd0012d17db40072157b80046002024..."} 
[2026-08-19 11:06:47] local.INFO: Packet analysis {"connection_id":157878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01883"} 
[2026-08-19 11:06:47] local.INFO: Extracted packet for processing {"connection_id":157878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01883"} 
[2026-08-19 11:06:47] local.INFO: GPS Element Parsed {"raw_longitude":756538176,"raw_latitude":119625656,"longitude_deg":75.6538176,"latitude_deg":11.9625656,"altitude":70,"angle":32,"satellites":36,"speed":13,"hex_longitude":"2d17db40","hex_latitude":"072157b8","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502130432001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13686368555237376,"note":"Value kept but may cause issues"} 
[2026-08-19 11:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1718826975907727360,"note":"Value kept but may cause issues"} 
[2026-08-19 11:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787117698000,"timestamp_ms":1787117698000,"timestamp_seconds":1787117698,"priority":1,"record_length":96,"hex_timestamp":"000001a01883fbd0"} 
[2026-08-19 11:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 11:06:47] 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-08-19 11: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-08-19 11:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502130432001,"66":13993,"122":206,"28":31744,"24":13,"16":13686368555237376,"45":1718826975907727360},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-19 11:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502130432001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:06:47] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-19 11:06:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13686368555237376,"km_value":13686368555237.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1718826975907727360,"description":"Unknown IO ID 45"} 
[2026-08-19 11:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502130432001,"power":13993,"unknown_122":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1718826975907727360}} 
[2026-08-19 11:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":157878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:06:47] local.INFO: GPS data processed {"connection_id":157878,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:06:47] local.INFO: Acknowledgment sent {"connection_id":157878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:07:00] local.INFO: TCP Data received {"connection_id":158753,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:07:00] local.INFO: Processing buffer {"connection_id":158753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:07:00] local.INFO: IMEI packet received {"connection_id":158753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":158753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:07:04] local.INFO: TCP Data received {"connection_id":158753,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:07:04] local.INFO: Processing buffer {"connection_id":158753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:07:04] local.INFO: IMEI packet received {"connection_id":158753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":158753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:07:05] local.INFO: TCP Data received {"connection_id":158753,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018846930012d1d234006d2fc98001101442a..."} 
[2026-08-19 11:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018846930012d1d234006d2fc98001101442a..."} 
[2026-08-19 11:07:05] local.INFO: Processing buffer {"connection_id":158753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018846930012d1d234006d2fc98001101442a..."} 
[2026-08-19 11:07:05] local.INFO: Packet analysis {"connection_id":158753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:07:05] local.INFO: Extracted packet for processing {"connection_id":158753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756884288,"raw_latitude":114490520,"longitude_deg":75.6884288,"latitude_deg":11.449052,"altitude":17,"angle":324,"satellites":42,"speed":17,"hex_longitude":"2d1d2340","hex_latitude":"06d2fc98","is_valid_coordinates":true} 
[2026-08-19 11:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502134016001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385578412665733120,"note":"Value kept but may cause issues"} 
[2026-08-19 11:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2101773680407175168,"note":"Value kept but may cause issues"} 
[2026-08-19 11:07:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 11:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787117726000,"timestamp_ms":1787117726000,"timestamp_seconds":1787117726,"priority":1,"record_length":96,"hex_timestamp":"000001a018846930"} 
[2026-08-19 11:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:07: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-08-19 11:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 11:07: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-08-19 11:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502134016001,"66":27843,"81":20480,"24":17,"16":385578412665733120,"45":2101773680407175168},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-08-19 11:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502134016001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:07:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385578412665733120,"km_value":385578412665733.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2101773680407175168,"description":"Unknown IO ID 45"} 
[2026-08-19 11:07:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457502134016001,"power":27843,"unknown_81":20480,"ignition":17,"odometer":null,"unknown_45":2101773680407175168}} 
[2026-08-19 11:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":158753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:07:05] local.INFO: GPS data processed {"connection_id":158753,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:07:05] local.INFO: Acknowledgment sent {"connection_id":158753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:07:09] local.INFO: TCP Data received {"connection_id":157879,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:07:09] local.INFO: Processing buffer {"connection_id":157879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:07:09] local.INFO: IMEI packet received {"connection_id":157879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":157879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:07:12] local.INFO: TCP Data received {"connection_id":157879,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:07:12] local.INFO: Processing buffer {"connection_id":157879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:07:12] local.INFO: IMEI packet received {"connection_id":157879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":157879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:07:14] local.INFO: TCP Data received {"connection_id":157879,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:07:14] local.INFO: Processing buffer {"connection_id":157879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:07:14] local.INFO: IMEI packet received {"connection_id":157879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":157879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:07:15] local.INFO: TCP Data received {"connection_id":157879,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018843668012d17ee4007217768004d002725..."} 
[2026-08-19 11:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018843668012d17ee4007217768004d002725..."} 
[2026-08-19 11:07:15] local.INFO: Processing buffer {"connection_id":157879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018843668012d17ee4007217768004d002725..."} 
[2026-08-19 11:07:15] local.INFO: Packet analysis {"connection_id":157879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:07:15] local.INFO: Extracted packet for processing {"connection_id":157879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756543040,"raw_latitude":119633768,"longitude_deg":75.654304,"latitude_deg":11.9633768,"altitude":77,"angle":39,"satellites":37,"speed":31,"hex_longitude":"2d17ee40","hex_latitude":"07217768","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502130688001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13686823821770752,"note":"Value kept but may cause issues"} 
[2026-08-19 11:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1719038082140321792,"note":"Value kept but may cause issues"} 
[2026-08-19 11:07: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-08-19 11:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787117713000,"timestamp_ms":1787117713000,"timestamp_seconds":1787117713,"priority":1,"record_length":96,"hex_timestamp":"000001a018843668"} 
[2026-08-19 11:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:07:15] 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-08-19 11: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 11:07:15] 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-08-19 11: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-08-19 11:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502130688001,"66":13852,"120":206,"28":31744,"24":31,"16":13686823821770752,"45":1719038082140321792},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502130688001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:07:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:07:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13686823821770752,"km_value":13686823821770.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1719038082140321792,"description":"Unknown IO ID 45"} 
[2026-08-19 11:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502130688001,"power":13852,"unknown_120":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1719038082140321792}} 
[2026-08-19 11:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":157879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:07:15] local.INFO: GPS data processed {"connection_id":157879,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:07:15] local.INFO: Acknowledgment sent {"connection_id":157879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:07:20] local.INFO: TCP Data received {"connection_id":157879,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188455a8012d17ffc007218810004d003224..."} 
[2026-08-19 11:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188455a8012d17ffc007218810004d003224..."} 
[2026-08-19 11:07:20] local.INFO: Processing buffer {"connection_id":157879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188455a8012d17ffc007218810004d003224..."} 
[2026-08-19 11:07:20] local.INFO: Packet analysis {"connection_id":157879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:07:20] local.INFO: Extracted packet for processing {"connection_id":157879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:07:20] local.INFO: GPS Element Parsed {"raw_longitude":756547520,"raw_latitude":119638032,"longitude_deg":75.654752,"latitude_deg":11.9638032,"altitude":77,"angle":50,"satellites":36,"speed":30,"hex_longitude":"2d17ffc0","hex_latitude":"07218810","is_valid_coordinates":true} 
[2026-08-19 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-08-19 11:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502134528001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13687124469481472,"note":"Value kept but may cause issues"} 
[2026-08-19 11:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724386106699900928,"note":"Value kept but may cause issues"} 
[2026-08-19 11:07:20] 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-08-19 11:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787117721000,"timestamp_ms":1787117721000,"timestamp_seconds":1787117721,"priority":1,"record_length":96,"hex_timestamp":"000001a0188455a8"} 
[2026-08-19 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-08-19 11:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-19 11:07:20] 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-08-19 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-08-19 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-08-19 11:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502134528001,"66":14396,"120":206,"28":31744,"24":30,"16":13687124469481472,"45":1724386106699900928},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502134528001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:07:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:07:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13687124469481472,"km_value":13687124469481.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724386106699900928,"description":"Unknown IO ID 45"} 
[2026-08-19 11:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502134528001,"power":14396,"unknown_120":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1724386106699900928}} 
[2026-08-19 11:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":157879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:07:20] local.INFO: GPS data processed {"connection_id":157879,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:07:20] local.INFO: Acknowledgment sent {"connection_id":157879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:07:36] local.INFO: TCP Data received {"connection_id":158753,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018849fe0012d1d0e8006d319280011014628..."} 
[2026-08-19 11:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018849fe0012d1d0e8006d319280011014628..."} 
[2026-08-19 11:07:36] local.INFO: Processing buffer {"connection_id":158753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018849fe0012d1d0e8006d319280011014628..."} 
[2026-08-19 11:07:36] local.INFO: Packet analysis {"connection_id":158753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:07:36] local.INFO: Extracted packet for processing {"connection_id":158753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756878976,"raw_latitude":114497832,"longitude_deg":75.6878976,"latitude_deg":11.4497832,"altitude":17,"angle":326,"satellites":40,"speed":32,"hex_longitude":"2d1d0e80","hex_latitude":"06d31928","is_valid_coordinates":true} 
[2026-08-19 11:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502137856001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385578846457430016,"note":"Value kept but may cause issues"} 
[2026-08-19 11:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2099592249338533888,"note":"Value kept but may cause issues"} 
[2026-08-19 11:07:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 11:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787117740000,"timestamp_ms":1787117740000,"timestamp_seconds":1787117740,"priority":1,"record_length":96,"hex_timestamp":"000001a018849fe0"} 
[2026-08-19 11:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:07: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-08-19 11:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 11:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502137856001,"66":27800,"81":20480,"24":32,"16":385578846457430016,"45":2099592249338533888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-08-19 11:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502137856001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:07:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385578846457430016,"km_value":385578846457430.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2099592249338533888,"description":"Unknown IO ID 45"} 
[2026-08-19 11:07:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457502137856001,"power":27800,"unknown_81":20480,"ignition":32,"odometer":null,"unknown_45":2099592249338533888}} 
[2026-08-19 11:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":158753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:07:36] local.INFO: GPS data processed {"connection_id":158753,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:07:36] local.INFO: Acknowledgment sent {"connection_id":158753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:07:51] local.INFO: TCP Data received {"connection_id":157879,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018846d18012d180dc0072194d8004d002624..."} 
[2026-08-19 11:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018846d18012d180dc0072194d8004d002624..."} 
[2026-08-19 11:07:51] local.INFO: Processing buffer {"connection_id":157879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018846d18012d180dc0072194d8004d002624..."} 
[2026-08-19 11:07:51] local.INFO: Packet analysis {"connection_id":157879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:07:51] local.INFO: Extracted packet for processing {"connection_id":157879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756551104,"raw_latitude":119641304,"longitude_deg":75.6551104,"latitude_deg":11.9641304,"altitude":77,"angle":38,"satellites":36,"speed":31,"hex_longitude":"2d180dc0","hex_latitude":"072194d8","is_valid_coordinates":true} 
[2026-08-19 11:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502136576001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13687356397715456,"note":"Value kept but may cause issues"} 
[2026-08-19 11:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1729311918793428992,"note":"Value kept but may cause issues"} 
[2026-08-19 11:07:51] 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-08-19 11:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787117727000,"timestamp_ms":1787117727000,"timestamp_seconds":1787117727,"priority":1,"record_length":96,"hex_timestamp":"000001a018846d18"} 
[2026-08-19 11:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 11:07: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-08-19 11:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502136576001,"66":14004,"120":206,"28":31744,"24":31,"16":13687356397715456,"45":1729311918793428992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502136576001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:07:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:07:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13687356397715456,"km_value":13687356397715.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1729311918793428992,"description":"Unknown IO ID 45"} 
[2026-08-19 11:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502136576001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1729311918793428992}} 
[2026-08-19 11:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":157879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:07:51] local.INFO: GPS data processed {"connection_id":157879,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:07:51] local.INFO: Acknowledgment sent {"connection_id":157879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:07:59] local.INFO: TCP Data received {"connection_id":157503,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:07:59] local.INFO: Processing buffer {"connection_id":157503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:07:59] local.INFO: IMEI packet received {"connection_id":157503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":157503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:08:00] local.INFO: TCP Data received {"connection_id":157503,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:08:00] local.INFO: Processing buffer {"connection_id":157503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:08:00] local.INFO: IMEI packet received {"connection_id":157503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":157503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:08:04] local.INFO: TCP Data received {"connection_id":157503,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:08:04] local.INFO: Processing buffer {"connection_id":157503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:08:04] local.INFO: IMEI packet received {"connection_id":157503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":157503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:08:05] local.INFO: TCP Data received {"connection_id":157503,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01884c6f0012d1cfa4006d336280010014323..."} 
[2026-08-19 11:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01884c6f0012d1cfa4006d336280010014323..."} 
[2026-08-19 11:08:05] local.INFO: Processing buffer {"connection_id":157503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01884c6f0012d1cfa4006d336280010014323..."} 
[2026-08-19 11:08:05] local.INFO: Packet analysis {"connection_id":157503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:08:05] local.INFO: Extracted packet for processing {"connection_id":157503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756873792,"raw_latitude":114505256,"longitude_deg":75.6873792,"latitude_deg":11.4505256,"altitude":16,"angle":323,"satellites":35,"speed":36,"hex_longitude":"2d1cfa40","hex_latitude":"06d33628","is_valid_coordinates":true} 
[2026-08-19 11:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502141440001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385579284544094208,"note":"Value kept but may cause issues"} 
[2026-08-19 11:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2093751643573659648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787117750000,"timestamp_ms":1787117750000,"timestamp_seconds":1787117750,"priority":1,"record_length":96,"hex_timestamp":"000001a01884c6f0"} 
[2026-08-19 11:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:08: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-08-19 11:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 11:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502141440001,"66":27908,"82":206,"81":20480,"24":36,"16":385579284544094208,"45":2093751643573659648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-19 11:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502141440001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:08:05] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-19 11:08:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385579284544094208,"km_value":385579284544094.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2093751643573659648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502141440001,"power":27908,"unknown_82":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":2093751643573659648}} 
[2026-08-19 11:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":157503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:08:05] local.INFO: GPS data processed {"connection_id":157503,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:08:05] local.INFO: Acknowledgment sent {"connection_id":157503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:08:09] local.INFO: TCP Data received {"connection_id":157504,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:08:09] local.INFO: Processing buffer {"connection_id":157504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:08:09] local.INFO: IMEI packet received {"connection_id":157504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":157504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:08:14] local.INFO: TCP Data received {"connection_id":157504,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:08:14] local.INFO: Processing buffer {"connection_id":157504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:08:14] local.INFO: IMEI packet received {"connection_id":157504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":157504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:08:15] local.INFO: TCP Data received {"connection_id":157504,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01884a7b0012d1821c00721b2c00051002024..."} 
[2026-08-19 11:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01884a7b0012d1821c00721b2c00051002024..."} 
[2026-08-19 11:08:15] local.INFO: Processing buffer {"connection_id":157504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01884a7b0012d1821c00721b2c00051002024..."} 
[2026-08-19 11:08:15] local.INFO: Packet analysis {"connection_id":157504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:08:15] local.INFO: Extracted packet for processing {"connection_id":157504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119648960,"longitude_deg":75.6556224,"latitude_deg":11.964896,"altitude":81,"angle":32,"satellites":36,"speed":19,"hex_longitude":"2d1821c0","hex_latitude":"0721b2c0","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502138112001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13687798779346944,"note":"Value kept but may cause issues"} 
[2026-08-19 11:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733252568468215808,"note":"Value kept but may cause issues"} 
[2026-08-19 11:08: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-08-19 11:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787117742000,"timestamp_ms":1787117742000,"timestamp_seconds":1787117742,"priority":1,"record_length":96,"hex_timestamp":"000001a01884a7b0"} 
[2026-08-19 11:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:08:15] 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-08-19 11: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 11:08:15] 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-08-19 11:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502138112001,"66":13222,"120":206,"28":31744,"24":19,"16":13687798779346944,"45":1733252568468215808},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502138112001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:08:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:08:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13687798779346944,"km_value":13687798779346.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733252568468215808,"description":"Unknown IO ID 45"} 
[2026-08-19 11:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502138112001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1733252568468215808}} 
[2026-08-19 11:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":157504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:08:15] local.INFO: GPS data processed {"connection_id":157504,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:08:15] local.INFO: Acknowledgment sent {"connection_id":157504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:08:36] local.INFO: TCP Data received {"connection_id":157503,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01884f9b8012d1ce30006d35120000e013927..."} 
[2026-08-19 11:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01884f9b8012d1ce30006d35120000e013927..."} 
[2026-08-19 11:08:36] local.INFO: Processing buffer {"connection_id":157503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01884f9b8012d1ce30006d35120000e013927..."} 
[2026-08-19 11:08:36] local.INFO: Packet analysis {"connection_id":157503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:08:36] local.INFO: Extracted packet for processing {"connection_id":157503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756867840,"raw_latitude":114512160,"longitude_deg":75.686784,"latitude_deg":11.451216,"altitude":14,"angle":313,"satellites":39,"speed":20,"hex_longitude":"2d1ce300","hex_latitude":"06d35120","is_valid_coordinates":true} 
[2026-08-19 11:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502144000001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385579722630758400,"note":"Value kept but may cause issues"} 
[2026-08-19 11:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2088051775297169408,"note":"Value kept but may cause issues"} 
[2026-08-19 11:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787117763000,"timestamp_ms":1787117763000,"timestamp_seconds":1787117763,"priority":1,"record_length":96,"hex_timestamp":"000001a01884f9b8"} 
[2026-08-19 11:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:08: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-08-19 11:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:08:36] 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-08-19 11:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502144000001,"66":27789,"82":206,"81":20480,"24":20,"16":385579722630758400,"45":2088051775297169408},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-08-19 11:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502144000001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:08:36] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-19 11:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385579722630758400,"km_value":385579722630758.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2088051775297169408,"description":"Unknown IO ID 45"} 
[2026-08-19 11:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502144000001,"power":27789,"unknown_82":206,"unknown_81":20480,"ignition":20,"odometer":null,"unknown_45":2088051775297169408}} 
[2026-08-19 11:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":157503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:08:36] local.INFO: GPS data processed {"connection_id":157503,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:08:36] local.INFO: Acknowledgment sent {"connection_id":157503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:08:47] local.INFO: TCP Data received {"connection_id":157504,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01884cad8012d1827800721bb980052000623..."} 
[2026-08-19 11:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01884cad8012d1827800721bb980052000623..."} 
[2026-08-19 11:08:47] local.INFO: Processing buffer {"connection_id":157504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01884cad8012d1827800721bb980052000623..."} 
[2026-08-19 11:08:47] local.INFO: Packet analysis {"connection_id":157504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:08:47] local.INFO: Extracted packet for processing {"connection_id":157504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119651224,"longitude_deg":75.6557696,"latitude_deg":11.9651224,"altitude":82,"angle":6,"satellites":35,"speed":9,"hex_longitude":"2d182780","hex_latitude":"0721bb98","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502141952001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13687931923333120,"note":"Value kept but may cause issues"} 
[2026-08-19 11:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004388864,"note":"Value kept but may cause issues"} 
[2026-08-19 11:08:47] 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-08-19 11:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787117751000,"timestamp_ms":1787117751000,"timestamp_seconds":1787117751,"priority":1,"record_length":96,"hex_timestamp":"000001a01884cad8"} 
[2026-08-19 11:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:08:47] 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-08-19 11: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 11:08:47] 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-08-19 11: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-08-19 11:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502141952001,"66":13243,"120":206,"28":31744,"24":9,"16":13687931923333120,"45":1738882068004388864},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502141952001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:08:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:08:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13687931923333120,"km_value":13687931923333.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004388864,"description":"Unknown IO ID 45"} 
[2026-08-19 11:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502141952001,"power":13243,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1738882068004388864}} 
[2026-08-19 11:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":157504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:08:47] local.INFO: GPS data processed {"connection_id":157504,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:08:47] local.INFO: Acknowledgment sent {"connection_id":157504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:08:59] local.INFO: TCP Data received {"connection_id":160058,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:08:59] local.INFO: Processing buffer {"connection_id":160058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:08:59] local.INFO: IMEI packet received {"connection_id":160058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":160058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:09:01] local.INFO: TCP Data received {"connection_id":160058,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:09:01] local.INFO: Processing buffer {"connection_id":160058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:09:01] local.INFO: IMEI packet received {"connection_id":160058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":160058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:09:05] local.INFO: TCP Data received {"connection_id":160058,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:09:05] local.INFO: Processing buffer {"connection_id":160058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:09:05] local.INFO: IMEI packet received {"connection_id":160058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":160058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:09:06] local.INFO: TCP Data received {"connection_id":160058,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01886a380012d1c3d8006d41f98000c01332b..."} 
[2026-08-19 11:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01886a380012d1c3d8006d41f98000c01332b..."} 
[2026-08-19 11:09:06] local.INFO: Processing buffer {"connection_id":160058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01886a380012d1c3d8006d41f98000c01332b..."} 
[2026-08-19 11:09:06] local.INFO: Packet analysis {"connection_id":160058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01886"} 
[2026-08-19 11:09:06] local.INFO: Extracted packet for processing {"connection_id":160058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01886"} 
[2026-08-19 11:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756825472,"raw_latitude":114565016,"longitude_deg":75.6825472,"latitude_deg":11.4565016,"altitude":12,"angle":307,"satellites":43,"speed":27,"hex_longitude":"2d1c3d80","hex_latitude":"06d41f98","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502172672001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385583111359954944,"note":"Value kept but may cause issues"} 
[2026-08-19 11:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2040623241735940096,"note":"Value kept but may cause issues"} 
[2026-08-19 11:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787117872000,"timestamp_ms":1787117872000,"timestamp_seconds":1787117872,"priority":1,"record_length":96,"hex_timestamp":"000001a01886a380"} 
[2026-08-19 11:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 11:09:06] 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-08-19 11: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-08-19 11:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502172672001,"66":27843,"12":206,"81":20480,"24":27,"16":385583111359954944,"45":2040623241735940096},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,81,24,16,45]} 
[2026-08-19 11:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502172672001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:09:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 11:09:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385583111359954944,"km_value":385583111359954.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2040623241735940096,"description":"Unknown IO ID 45"} 
[2026-08-19 11:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502172672001,"power":27843,"unknown_12":206,"unknown_81":20480,"ignition":27,"odometer":null,"unknown_45":2040623241735940096}} 
[2026-08-19 11:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":160058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:09:06] local.INFO: GPS data processed {"connection_id":160058,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:09:06] local.INFO: Acknowledgment sent {"connection_id":160058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:09:14] local.INFO: TCP Data received {"connection_id":157505,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:09:14] local.INFO: Processing buffer {"connection_id":157505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:09:14] local.INFO: IMEI packet received {"connection_id":157505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":157505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:09:18] local.INFO: TCP Data received {"connection_id":157505,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:09:18] local.INFO: Processing buffer {"connection_id":157505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:09:18] local.INFO: IMEI packet received {"connection_id":157505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":157505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:09:19] local.INFO: TCP Data received {"connection_id":157505,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01884cec0012d1827800721bc600052015823..."} 
[2026-08-19 11:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01884cec0012d1827800721bc600052015823..."} 
[2026-08-19 11:09:19] local.INFO: Processing buffer {"connection_id":157505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01884cec0012d1827800721bc600052015823..."} 
[2026-08-19 11:09:19] local.INFO: Packet analysis {"connection_id":157505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:09:19] local.INFO: Extracted packet for processing {"connection_id":157505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01884"} 
[2026-08-19 11:09:19] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119651424,"longitude_deg":75.6557696,"latitude_deg":11.9651424,"altitude":82,"angle":344,"satellites":35,"speed":7,"hex_longitude":"2d182780","hex_latitude":"0721bc60","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502144256001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13687940513267712,"note":"Value kept but may cause issues"} 
[2026-08-19 11:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549121054720,"note":"Value kept but may cause issues"} 
[2026-08-19 11:09:19] 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-08-19 11:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787117752000,"timestamp_ms":1787117752000,"timestamp_seconds":1787117752,"priority":1,"record_length":96,"hex_timestamp":"000001a01884cec0"} 
[2026-08-19 11:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:09:19] 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-08-19 11: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 11:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502144256001,"66":13167,"120":206,"28":31744,"24":7,"16":13687940513267712,"45":1740500549121054720},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502144256001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:09:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:09:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13687940513267712,"km_value":13687940513267.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549121054720,"description":"Unknown IO ID 45"} 
[2026-08-19 11:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502144256001,"power":13167,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1740500549121054720}} 
[2026-08-19 11:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":157505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:09:19] local.INFO: GPS data processed {"connection_id":157505,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:09:19] local.INFO: Acknowledgment sent {"connection_id":157505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:09:38] local.INFO: TCP Data received {"connection_id":160058,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01886d260012d1c204006d437d0000c013129..."} 
[2026-08-19 11:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01886d260012d1c204006d437d0000c013129..."} 
[2026-08-19 11:09:38] local.INFO: Processing buffer {"connection_id":160058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01886d260012d1c204006d437d0000c013129..."} 
[2026-08-19 11:09:38] local.INFO: Packet analysis {"connection_id":160058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01886"} 
[2026-08-19 11:09:38] local.INFO: Extracted packet for processing {"connection_id":160058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01886"} 
[2026-08-19 11:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756817984,"raw_latitude":114571216,"longitude_deg":75.6817984,"latitude_deg":11.4571216,"altitude":12,"angle":305,"satellites":41,"speed":37,"hex_longitude":"2d1c2040","hex_latitude":"06d437d0","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502175232001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385583579511390208,"note":"Value kept but may cause issues"} 
[2026-08-19 11:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2034923373458331648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787117884000,"timestamp_ms":1787117884000,"timestamp_seconds":1787117884,"priority":1,"record_length":96,"hex_timestamp":"000001a01886d260"} 
[2026-08-19 11:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:09: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-08-19 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 11:09:38] 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-08-19 11: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-08-19 11:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502175232001,"66":27821,"243":206,"81":20480,"24":37,"16":385583579511390208,"45":2034923373458331648},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-08-19 11:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502175232001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:09:38] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-19 11:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385583579511390208,"km_value":385583579511390.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2034923373458331648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502175232001,"power":27821,"unknown_243":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":2034923373458331648}} 
[2026-08-19 11:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":160058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:09:38] local.INFO: GPS data processed {"connection_id":160058,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:09:38] local.INFO: Acknowledgment sent {"connection_id":160058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:09:51] local.INFO: TCP Data received {"connection_id":157505,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188520c8012d1827000721bab00053015824..."} 
[2026-08-19 11:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188520c8012d1827000721bab00053015824..."} 
[2026-08-19 11:09:51] local.INFO: Processing buffer {"connection_id":157505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188520c8012d1827000721bab00053015824..."} 
[2026-08-19 11:09:51] local.INFO: Packet analysis {"connection_id":157505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01885"} 
[2026-08-19 11:09:51] local.INFO: Extracted packet for processing {"connection_id":157505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01885"} 
[2026-08-19 11:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119650992,"longitude_deg":75.6557568,"latitude_deg":11.9650992,"altitude":83,"angle":344,"satellites":36,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bab0","is_valid_coordinates":true} 
[2026-08-19 11:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502144512001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688000642809856,"note":"Value kept but may cause issues"} 
[2026-08-19 11:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549121105920,"note":"Value kept but may cause issues"} 
[2026-08-19 11:09:51] 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-08-19 11:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787117773000,"timestamp_ms":1787117773000,"timestamp_seconds":1787117773,"priority":1,"record_length":96,"hex_timestamp":"000001a0188520c8"} 
[2026-08-19 11:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-19 11:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502144512001,"66":13222,"120":206,"28":31744,"24":0,"16":13688000642809856,"45":1740500549121105920},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502144512001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:09:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:09:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688000642809856,"km_value":13688000642809.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549121105920,"description":"Unknown IO ID 45"} 
[2026-08-19 11:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502144512001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740500549121105920}} 
[2026-08-19 11:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":157505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:09:51] local.INFO: GPS data processed {"connection_id":157505,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:09:51] local.INFO: Acknowledgment sent {"connection_id":157505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:09:59] local.INFO: TCP Data received {"connection_id":157506,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:09:59] local.INFO: Processing buffer {"connection_id":157506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:09:59] local.INFO: IMEI packet received {"connection_id":157506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":157506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:10:00] local.INFO: TCP Data received {"connection_id":157506,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:10:00] local.INFO: Processing buffer {"connection_id":157506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:10:00] local.INFO: IMEI packet received {"connection_id":157506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":157506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:10:03] local.INFO: TCP Data received {"connection_id":157506,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:10:03] local.INFO: Processing buffer {"connection_id":157506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:10:03] local.INFO: IMEI packet received {"connection_id":157506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":157506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:10:04] local.INFO: TCP Data received {"connection_id":157506,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:10:04] local.INFO: Processing buffer {"connection_id":157506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:10:04] local.INFO: IMEI packet received {"connection_id":157506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":157506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:10:05] local.INFO: TCP Data received {"connection_id":157506,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01886fd58012d1c024006d44d20000d01392a..."} 
[2026-08-19 11:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01886fd58012d1c024006d44d20000d01392a..."} 
[2026-08-19 11:10:05] local.INFO: Processing buffer {"connection_id":157506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01886fd58012d1c024006d44d20000d01392a..."} 
[2026-08-19 11:10:05] local.INFO: Packet analysis {"connection_id":157506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01886"} 
[2026-08-19 11:10:05] local.INFO: Extracted packet for processing {"connection_id":157506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01886"} 
[2026-08-19 11:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756810304,"raw_latitude":114576672,"longitude_deg":75.6810304,"latitude_deg":11.4576672,"altitude":13,"angle":313,"satellites":42,"speed":23,"hex_longitude":"2d1c0240","hex_latitude":"06d44d20","is_valid_coordinates":true} 
[2026-08-19 11:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502178304001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385584030482956288,"note":"Value kept but may cause issues"} 
[2026-08-19 11:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2026690230391132160,"note":"Value kept but may cause issues"} 
[2026-08-19 11:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787117895000,"timestamp_ms":1787117895000,"timestamp_seconds":1787117895,"priority":1,"record_length":96,"hex_timestamp":"000001a01886fd58"} 
[2026-08-19 11:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:10: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-08-19 11:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 11:10: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-08-19 11:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502178304001,"66":28050,"243":206,"81":20480,"24":23,"16":385584030482956288,"45":2026690230391132160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-08-19 11:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502178304001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:10:05] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-19 11:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385584030482956288,"km_value":385584030482956.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2026690230391132160,"description":"Unknown IO ID 45"} 
[2026-08-19 11:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502178304001,"power":28050,"unknown_243":206,"unknown_81":20480,"ignition":23,"odometer":null,"unknown_45":2026690230391132160}} 
[2026-08-19 11:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":157506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:10:05] local.INFO: GPS data processed {"connection_id":157506,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:10:05] local.INFO: Acknowledgment sent {"connection_id":157506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:10:08] local.INFO: TCP Data received {"connection_id":157506,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188718b0012d1bf70006d45a78000e014a29..."} 
[2026-08-19 11:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188718b0012d1bf70006d45a78000e014a29..."} 
[2026-08-19 11:10:08] local.INFO: Processing buffer {"connection_id":157506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188718b0012d1bf70006d45a78000e014a29..."} 
[2026-08-19 11:10:08] local.INFO: Packet analysis {"connection_id":157506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01887"} 
[2026-08-19 11:10:08] local.INFO: Extracted packet for processing {"connection_id":157506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01887"} 
[2026-08-19 11:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756807424,"raw_latitude":114580088,"longitude_deg":75.6807424,"latitude_deg":11.4580088,"altitude":14,"angle":330,"satellites":41,"speed":29,"hex_longitude":"2d1bf700","hex_latitude":"06d45a78","is_valid_coordinates":true} 
[2026-08-19 11:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502181120001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385584245231321088,"note":"Value kept but may cause issues"} 
[2026-08-19 11:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2018245981091209216,"note":"Value kept but may cause issues"} 
[2026-08-19 11:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787117902000,"timestamp_ms":1787117902000,"timestamp_seconds":1787117902,"priority":1,"record_length":96,"hex_timestamp":"000001a0188718b0"} 
[2026-08-19 11:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:10: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-08-19 11:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 11:10:08] 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-08-19 11:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":157506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":157506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":157506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502181120001,"66":27908,"243":206,"81":20480,"24":29,"16":385584245231321088,"45":2018245981091209216},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-08-19 11:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502181120001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:10:08] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-19 11:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385584245231321088,"km_value":385584245231321.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2018245981091209216,"description":"Unknown IO ID 45"} 
[2026-08-19 11:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502181120001,"power":27908,"unknown_243":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":2018245981091209216}} 
[2026-08-19 11:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":157506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:10:08] local.INFO: GPS data processed {"connection_id":157506,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:10:08] local.INFO: Acknowledgment sent {"connection_id":157506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:10:09] local.INFO: TCP Data received {"connection_id":157507,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:10:09] local.INFO: Processing buffer {"connection_id":157507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:10:09] local.INFO: IMEI packet received {"connection_id":157507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":157507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:10:14] local.INFO: TCP Data received {"connection_id":157507,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:10:14] local.INFO: Processing buffer {"connection_id":157507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:10:14] local.INFO: IMEI packet received {"connection_id":157507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":157507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:10:15] local.INFO: TCP Data received {"connection_id":157507,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188572d0012d1827000721bab80053015824..."} 
[2026-08-19 11:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188572d0012d1827000721bab80053015824..."} 
[2026-08-19 11:10:15] local.INFO: Processing buffer {"connection_id":157507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188572d0012d1827000721bab80053015824..."} 
[2026-08-19 11:10:15] local.INFO: Packet analysis {"connection_id":157507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01885"} 
[2026-08-19 11:10:15] local.INFO: Extracted packet for processing {"connection_id":157507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01885"} 
[2026-08-19 11:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651000,"longitude_deg":75.6557568,"latitude_deg":11.9651,"altitude":83,"angle":344,"satellites":36,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bab8","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502149888001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688000642809856,"note":"Value kept but may cause issues"} 
[2026-08-19 11:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632640000,"note":"Value kept but may cause issues"} 
[2026-08-19 11:10: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-08-19 11:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787117794000,"timestamp_ms":1787117794000,"timestamp_seconds":1787117794,"priority":1,"record_length":96,"hex_timestamp":"000001a0188572d0"} 
[2026-08-19 11:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:10: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-08-19 11: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 11:10: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-08-19 11: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-08-19 11:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502149888001,"66":13156,"120":206,"28":31744,"24":0,"16":13688000642809856,"45":1740359811632640000},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502149888001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:10:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:10:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688000642809856,"km_value":13688000642809.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632640000,"description":"Unknown IO ID 45"} 
[2026-08-19 11:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502149888001,"power":13156,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740359811632640000}} 
[2026-08-19 11:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":157507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:10:15] local.INFO: GPS data processed {"connection_id":157507,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:10:15] local.INFO: Acknowledgment sent {"connection_id":157507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:10:39] local.INFO: TCP Data received {"connection_id":157506,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018873fc0012d1be80006d47a38000f014a25..."} 
[2026-08-19 11:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018873fc0012d1be80006d47a38000f014a25..."} 
[2026-08-19 11:10:39] local.INFO: Processing buffer {"connection_id":157506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018873fc0012d1be80006d47a38000f014a25..."} 
[2026-08-19 11:10:39] local.INFO: Packet analysis {"connection_id":157506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01887"} 
[2026-08-19 11:10:39] local.INFO: Extracted packet for processing {"connection_id":157506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01887"} 
[2026-08-19 11:10:39] local.INFO: GPS Element Parsed {"raw_longitude":756803584,"raw_latitude":114588216,"longitude_deg":75.6803584,"latitude_deg":11.4588216,"altitude":15,"angle":330,"satellites":37,"speed":40,"hex_longitude":"2d1be800","hex_latitude":"06d47a38","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502182912001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385584679023017984,"note":"Value kept but may cause issues"} 
[2026-08-19 11:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2015079387604088832,"note":"Value kept but may cause issues"} 
[2026-08-19 11:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787117912000,"timestamp_ms":1787117912000,"timestamp_seconds":1787117912,"priority":1,"record_length":96,"hex_timestamp":"000001a018873fc0"} 
[2026-08-19 11:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:10:39] 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-08-19 11: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-08-19 11:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502182912001,"66":27908,"243":206,"81":20480,"24":40,"16":385584679023017984,"45":2015079387604088832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-08-19 11:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502182912001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:10:39] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-19 11:10:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385584679023017984,"km_value":385584679023018.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2015079387604088832,"description":"Unknown IO ID 45"} 
[2026-08-19 11:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502182912001,"power":27908,"unknown_243":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":2015079387604088832}} 
[2026-08-19 11:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":157506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:10:39] local.INFO: GPS data processed {"connection_id":157506,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:10:39] local.INFO: Acknowledgment sent {"connection_id":157506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:10:47] local.INFO: TCP Data received {"connection_id":157507,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01885c4d8012d1827000721bab80053015825..."} 
[2026-08-19 11:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01885c4d8012d1827000721bab80053015825..."} 
[2026-08-19 11:10:47] local.INFO: Processing buffer {"connection_id":157507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01885c4d8012d1827000721bab80053015825..."} 
[2026-08-19 11:10:47] local.INFO: Packet analysis {"connection_id":157507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01885"} 
[2026-08-19 11:10:47] local.INFO: Extracted packet for processing {"connection_id":157507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01885"} 
[2026-08-19 11:10:47] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651000,"longitude_deg":75.6557568,"latitude_deg":11.9651,"altitude":83,"angle":344,"satellites":37,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bab8","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502155264001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688000642809856,"note":"Value kept but may cause issues"} 
[2026-08-19 11:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632642048,"note":"Value kept but may cause issues"} 
[2026-08-19 11:10:47] 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-08-19 11:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787117815000,"timestamp_ms":1787117815000,"timestamp_seconds":1787117815,"priority":1,"record_length":96,"hex_timestamp":"000001a01885c4d8"} 
[2026-08-19 11:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:10:47] 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-08-19 11: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-19 11:10:47] 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-08-19 11: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-08-19 11:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502155264001,"66":13102,"120":206,"28":31744,"24":0,"16":13688000642809856,"45":1740359811632642048},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502155264001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:10:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:10:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688000642809856,"km_value":13688000642809.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632642048,"description":"Unknown IO ID 45"} 
[2026-08-19 11:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502155264001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740359811632642048}} 
[2026-08-19 11:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":157507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:10:47] local.INFO: GPS data processed {"connection_id":157507,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:10:47] local.INFO: Acknowledgment sent {"connection_id":157507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:11:05] local.INFO: TCP Data received {"connection_id":160059,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:11:05] local.INFO: Processing buffer {"connection_id":160059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:11:05] local.INFO: IMEI packet received {"connection_id":160059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":160059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:11:08] local.INFO: TCP Data received {"connection_id":160059,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:11:08] local.INFO: Processing buffer {"connection_id":160059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:11:08] local.INFO: IMEI packet received {"connection_id":160059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":160059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:11:09] local.INFO: TCP Data received {"connection_id":158754,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:11:09] local.INFO: Processing buffer {"connection_id":158754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:11:09] local.INFO: IMEI packet received {"connection_id":158754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":158754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:11:14] local.INFO: TCP Data received {"connection_id":158754,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:11:14] local.INFO: Processing buffer {"connection_id":158754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:11:14] local.INFO: IMEI packet received {"connection_id":158754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":158754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:11:15] local.INFO: TCP Data received {"connection_id":158754,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188616e0012d1827000721bab80053015825..."} 
[2026-08-19 11:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188616e0012d1827000721bab80053015825..."} 
[2026-08-19 11:11:15] local.INFO: Processing buffer {"connection_id":158754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188616e0012d1827000721bab80053015825..."} 
[2026-08-19 11:11:15] local.INFO: Packet analysis {"connection_id":158754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01886"} 
[2026-08-19 11:11:15] local.INFO: Extracted packet for processing {"connection_id":158754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01886"} 
[2026-08-19 11:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651000,"longitude_deg":75.6557568,"latitude_deg":11.9651,"altitude":83,"angle":344,"satellites":37,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bab8","is_valid_coordinates":true} 
[2026-08-19 11:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502160640001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688000642809856,"note":"Value kept but may cause issues"} 
[2026-08-19 11:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632642048,"note":"Value kept but may cause issues"} 
[2026-08-19 11:11: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-08-19 11:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787117836000,"timestamp_ms":1787117836000,"timestamp_seconds":1787117836,"priority":1,"record_length":96,"hex_timestamp":"000001a0188616e0"} 
[2026-08-19 11:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:11: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-08-19 11:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 11:11:15] 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-08-19 11:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502160640001,"66":13102,"120":206,"28":31744,"24":0,"16":13688000642809856,"45":1740359811632642048},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502160640001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:11:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:11:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688000642809856,"km_value":13688000642809.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632642048,"description":"Unknown IO ID 45"} 
[2026-08-19 11:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502160640001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740359811632642048}} 
[2026-08-19 11:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":158754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:11:15] local.INFO: GPS data processed {"connection_id":158754,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:11:15] local.INFO: Acknowledgment sent {"connection_id":158754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:11:22] local.INFO: TCP Data received {"connection_id":160059,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:11:22] local.INFO: Processing buffer {"connection_id":160059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:11:22] local.INFO: IMEI packet received {"connection_id":160059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":160059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:11:35] local.INFO: TCP Data received {"connection_id":160059,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01888baa8012d1ada0006d50e20000b012923..."} 
[2026-08-19 11:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01888baa8012d1ada0006d50e20000b012923..."} 
[2026-08-19 11:11:35] local.INFO: Processing buffer {"connection_id":160059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01888baa8012d1ada0006d50e20000b012923..."} 
[2026-08-19 11:11:35] local.INFO: Packet analysis {"connection_id":160059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01888"} 
[2026-08-19 11:11:35] local.INFO: Extracted packet for processing {"connection_id":160059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01888"} 
[2026-08-19 11:11:35] local.INFO: GPS Element Parsed {"raw_longitude":756734464,"raw_latitude":114626080,"longitude_deg":75.6734464,"latitude_deg":11.462608,"altitude":11,"angle":297,"satellites":35,"speed":45,"hex_longitude":"2d1ada00","hex_latitude":"06d50e20","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502208000001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385588492953976832,"note":"Value kept but may cause issues"} 
[2026-08-19 11:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944429168460197888,"note":"Value kept but may cause issues"} 
[2026-08-19 11:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787118009000,"timestamp_ms":1787118009000,"timestamp_seconds":1787118009,"priority":1,"record_length":96,"hex_timestamp":"000001a01888baa8"} 
[2026-08-19 11:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502208000001,"66":27876,"100":206,"81":20480,"24":45,"16":385588492953976832,"45":1944429168460197888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,81,24,16,45]} 
[2026-08-19 11:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502208000001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:11:35] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 11:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385588492953976832,"km_value":385588492953976.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944429168460197888,"description":"Unknown IO ID 45"} 
[2026-08-19 11:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502208000001,"power":27876,"unknown_100":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1944429168460197888}} 
[2026-08-19 11:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":160059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:11:35] local.INFO: GPS data processed {"connection_id":160059,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:11:35] local.INFO: Acknowledgment sent {"connection_id":160059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:11:46] local.INFO: TCP Data received {"connection_id":158754,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188668e8012d1827000721bab80053015824..."} 
[2026-08-19 11:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188668e8012d1827000721bab80053015824..."} 
[2026-08-19 11:11:46] local.INFO: Processing buffer {"connection_id":158754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188668e8012d1827000721bab80053015824..."} 
[2026-08-19 11:11:46] local.INFO: Packet analysis {"connection_id":158754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01886"} 
[2026-08-19 11:11:46] local.INFO: Extracted packet for processing {"connection_id":158754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01886"} 
[2026-08-19 11:11:46] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651000,"longitude_deg":75.6557568,"latitude_deg":11.9651,"altitude":83,"angle":344,"satellites":36,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bab8","is_valid_coordinates":true} 
[2026-08-19 11:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502166016001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688000642809856,"note":"Value kept but may cause issues"} 
[2026-08-19 11:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632642048,"note":"Value kept but may cause issues"} 
[2026-08-19 11:11:46] 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-08-19 11:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787117857000,"timestamp_ms":1787117857000,"timestamp_seconds":1787117857,"priority":1,"record_length":96,"hex_timestamp":"000001a0188668e8"} 
[2026-08-19 11:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 11:11:46] 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-08-19 11:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502166016001,"66":12211,"120":206,"28":31744,"24":0,"16":13688000642809856,"45":1740359811632642048},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502166016001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:11:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:11:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688000642809856,"km_value":13688000642809.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632642048,"description":"Unknown IO ID 45"} 
[2026-08-19 11:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502166016001,"power":12211,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740359811632642048}} 
[2026-08-19 11:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":158754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:11:46] local.INFO: GPS data processed {"connection_id":158754,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:11:46] local.INFO: Acknowledgment sent {"connection_id":158754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:12:04] local.INFO: TCP Data received {"connection_id":157880,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:12:04] local.INFO: Processing buffer {"connection_id":157880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:12:04] local.INFO: IMEI packet received {"connection_id":157880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":157880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:12:04] local.INFO: TCP Data received {"connection_id":157880,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:12:04] local.INFO: Processing buffer {"connection_id":157880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:12:04] local.INFO: IMEI packet received {"connection_id":157880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":157880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:12:09] local.INFO: TCP Data received {"connection_id":157880,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:12:09] local.INFO: Processing buffer {"connection_id":157880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:12:09] local.INFO: IMEI packet received {"connection_id":157880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":157880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:12:09] local.INFO: TCP Data received {"connection_id":157881,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:12:09] local.INFO: Processing buffer {"connection_id":157881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:12:09] local.INFO: IMEI packet received {"connection_id":157881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":157881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:12:09] local.INFO: TCP Data received {"connection_id":157880,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01888e5a0012d1ab7c006d520b0000b012a21..."} 
[2026-08-19 11:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01888e5a0012d1ab7c006d520b0000b012a21..."} 
[2026-08-19 11:12:09] local.INFO: Processing buffer {"connection_id":157880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01888e5a0012d1ab7c006d520b0000b012a21..."} 
[2026-08-19 11:12:09] local.INFO: Packet analysis {"connection_id":157880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01888"} 
[2026-08-19 11:12:09] local.INFO: Extracted packet for processing {"connection_id":157880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01888"} 
[2026-08-19 11:12:09] local.INFO: GPS Element Parsed {"raw_longitude":756725696,"raw_latitude":114630832,"longitude_deg":75.6725696,"latitude_deg":11.4630832,"altitude":11,"angle":298,"satellites":33,"speed":39,"hex_longitude":"2d1ab7c0","hex_latitude":"06d520b0","is_valid_coordinates":true} 
[2026-08-19 11:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502210304001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385588969695346688,"note":"Value kept but may cause issues"} 
[2026-08-19 11:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934859019253325824,"note":"Value kept but may cause issues"} 
[2026-08-19 11:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787118020000,"timestamp_ms":1787118020000,"timestamp_seconds":1787118020,"priority":1,"record_length":96,"hex_timestamp":"000001a01888e5a0"} 
[2026-08-19 11:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 11:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502210304001,"66":27843,"100":206,"81":20480,"24":39,"16":385588969695346688,"45":1934859019253325824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,81,24,16,45]} 
[2026-08-19 11:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502210304001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:12:09] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 11:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385588969695346688,"km_value":385588969695346.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934859019253325824,"description":"Unknown IO ID 45"} 
[2026-08-19 11:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502210304001,"power":27843,"unknown_100":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1934859019253325824}} 
[2026-08-19 11:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":157880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:12:09] local.INFO: GPS data processed {"connection_id":157880,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:12:09] local.INFO: Acknowledgment sent {"connection_id":157880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:12:14] local.INFO: TCP Data received {"connection_id":157881,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:12:14] local.INFO: Processing buffer {"connection_id":157881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:12:14] local.INFO: IMEI packet received {"connection_id":157881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":157881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:12:15] local.INFO: TCP Data received {"connection_id":157881,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01886baf0012d1827000721bab80053015823..."} 
[2026-08-19 11:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01886baf0012d1827000721bab80053015823..."} 
[2026-08-19 11:12:15] local.INFO: Processing buffer {"connection_id":157881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01886baf0012d1827000721bab80053015823..."} 
[2026-08-19 11:12:15] local.INFO: Packet analysis {"connection_id":157881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01886"} 
[2026-08-19 11:12:15] local.INFO: Extracted packet for processing {"connection_id":157881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01886"} 
[2026-08-19 11:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651000,"longitude_deg":75.6557568,"latitude_deg":11.9651,"altitude":83,"angle":344,"satellites":35,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bab8","is_valid_coordinates":true} 
[2026-08-19 11:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502171392001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688000642809856,"note":"Value kept but may cause issues"} 
[2026-08-19 11:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632642048,"note":"Value kept but may cause issues"} 
[2026-08-19 11:12: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-08-19 11:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787117878000,"timestamp_ms":1787117878000,"timestamp_seconds":1787117878,"priority":1,"record_length":96,"hex_timestamp":"000001a01886baf0"} 
[2026-08-19 11:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:12: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-08-19 11:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 11:12:15] 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-08-19 11:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502171392001,"66":13048,"120":206,"28":31744,"24":0,"16":13688000642809856,"45":1740359811632642048},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502171392001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:12:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:12:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688000642809856,"km_value":13688000642809.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632642048,"description":"Unknown IO ID 45"} 
[2026-08-19 11:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502171392001,"power":13048,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740359811632642048}} 
[2026-08-19 11:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":157881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:12:15] local.INFO: GPS data processed {"connection_id":157881,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:12:15] local.INFO: Acknowledgment sent {"connection_id":157881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:12:41] local.INFO: TCP Data received {"connection_id":157880,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188a2dc0012d19250006d5e6b8000a011c24..."} 
[2026-08-19 11:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188a2dc0012d19250006d5e6b8000a011c24..."} 
[2026-08-19 11:12:41] local.INFO: Processing buffer {"connection_id":157880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188a2dc0012d19250006d5e6b8000a011c24..."} 
[2026-08-19 11:12:41] local.INFO: Packet analysis {"connection_id":157880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188a"} 
[2026-08-19 11:12:41] local.INFO: Extracted packet for processing {"connection_id":157880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188a"} 
[2026-08-19 11:12:41] local.INFO: GPS Element Parsed {"raw_longitude":756622592,"raw_latitude":114681528,"longitude_deg":75.6622592,"latitude_deg":11.4681528,"altitude":10,"angle":284,"satellites":36,"speed":58,"hex_longitude":"2d192500","hex_latitude":"06d5e6b8","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502232832001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385594501613223936,"note":"Value kept but may cause issues"} 
[2026-08-19 11:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823183822257059840,"note":"Value kept but may cause issues"} 
[2026-08-19 11:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787118104000,"timestamp_ms":1787118104000,"timestamp_seconds":1787118104,"priority":1,"record_length":96,"hex_timestamp":"000001a0188a2dc0"} 
[2026-08-19 11:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 11:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502232832001,"66":27876,"159":206,"81":20480,"24":58,"16":385594501613223936,"45":1823183822257059840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-08-19 11:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502232832001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:12:41] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-19 11:12:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385594501613223936,"km_value":385594501613223.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823183822257059840,"description":"Unknown IO ID 45"} 
[2026-08-19 11:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502232832001,"power":27876,"unknown_159":206,"unknown_81":20480,"ignition":58,"odometer":null,"unknown_45":1823183822257059840}} 
[2026-08-19 11:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":157880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:12:41] local.INFO: GPS data processed {"connection_id":157880,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:12:41] local.INFO: Acknowledgment sent {"connection_id":157880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:12:46] local.INFO: TCP Data received {"connection_id":157881,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018870cf8012d1827000721bab80053015824..."} 
[2026-08-19 11:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018870cf8012d1827000721bab80053015824..."} 
[2026-08-19 11:12:46] local.INFO: Processing buffer {"connection_id":157881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018870cf8012d1827000721bab80053015824..."} 
[2026-08-19 11:12:46] local.INFO: Packet analysis {"connection_id":157881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01887"} 
[2026-08-19 11:12:46] local.INFO: Extracted packet for processing {"connection_id":157881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01887"} 
[2026-08-19 11:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119651000,"longitude_deg":75.6557568,"latitude_deg":11.9651,"altitude":83,"angle":344,"satellites":36,"speed":0,"hex_longitude":"2d182700","hex_latitude":"0721bab8","is_valid_coordinates":true} 
[2026-08-19 11:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502176768001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688000642809856,"note":"Value kept but may cause issues"} 
[2026-08-19 11:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632642048,"note":"Value kept but may cause issues"} 
[2026-08-19 11:12:46] 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-08-19 11:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787117899000,"timestamp_ms":1787117899000,"timestamp_seconds":1787117899,"priority":1,"record_length":96,"hex_timestamp":"000001a018870cf8"} 
[2026-08-19 11:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 11:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502176768001,"66":12156,"120":206,"28":31744,"24":0,"16":13688000642809856,"45":1740359811632642048},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502176768001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:12:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:12:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688000642809856,"km_value":13688000642809.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632642048,"description":"Unknown IO ID 45"} 
[2026-08-19 11:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502176768001,"power":12156,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740359811632642048}} 
[2026-08-19 11:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":157881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:12:46] local.INFO: GPS data processed {"connection_id":157881,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:12:46] local.INFO: Acknowledgment sent {"connection_id":157881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:12:56] local.INFO: TCP Data received {"connection_id":160060,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:12:56] local.INFO: Processing buffer {"connection_id":160060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:12:56] local.INFO: IMEI packet received {"connection_id":160060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":160060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:13:00] local.INFO: TCP Data received {"connection_id":160060,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:13:00] local.INFO: Processing buffer {"connection_id":160060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:13:00] local.INFO: IMEI packet received {"connection_id":160060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":160060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:13:02] local.INFO: TCP Data received {"connection_id":160060,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:13:02] local.INFO: Processing buffer {"connection_id":160060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:13:02] local.INFO: IMEI packet received {"connection_id":160060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":160060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:13:04] local.INFO: TCP Data received {"connection_id":160060,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188a4918012d18fdc006d5f230000a011e25..."} 
[2026-08-19 11:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188a4918012d18fdc006d5f230000a011e25..."} 
[2026-08-19 11:13:04] local.INFO: Processing buffer {"connection_id":160060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188a4918012d18fdc006d5f230000a011e25..."} 
[2026-08-19 11:13:04] local.INFO: Packet analysis {"connection_id":160060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188a"} 
[2026-08-19 11:13:04] local.INFO: Extracted packet for processing {"connection_id":160060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188a"} 
[2026-08-19 11:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756612544,"raw_latitude":114684464,"longitude_deg":75.6612544,"latitude_deg":11.4684464,"altitude":10,"angle":286,"satellites":37,"speed":59,"hex_longitude":"2d18fdc0","hex_latitude":"06d5f230","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502234624001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385595004124397568,"note":"Value kept but may cause issues"} 
[2026-08-19 11:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811854454444963840,"note":"Value kept but may cause issues"} 
[2026-08-19 11:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787118111000,"timestamp_ms":1787118111000,"timestamp_seconds":1787118111,"priority":1,"record_length":96,"hex_timestamp":"000001a0188a4918"} 
[2026-08-19 11:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:13: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-08-19 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 11:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502234624001,"66":27800,"159":206,"81":20480,"24":59,"16":385595004124397568,"45":1811854454444963840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-08-19 11:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502234624001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:13:04] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-19 11:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385595004124397568,"km_value":385595004124397.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811854454444963840,"description":"Unknown IO ID 45"} 
[2026-08-19 11:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502234624001,"power":27800,"unknown_159":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1811854454444963840}} 
[2026-08-19 11:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":160060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:13:04] local.INFO: GPS data processed {"connection_id":160060,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:13:04] local.INFO: Acknowledgment sent {"connection_id":160060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:13:09] local.INFO: TCP Data received {"connection_id":157882,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:13:09] local.INFO: Processing buffer {"connection_id":157882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:13:09] local.INFO: IMEI packet received {"connection_id":157882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":157882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:13:14] local.INFO: TCP Data received {"connection_id":157882,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:13:14] local.INFO: Processing buffer {"connection_id":157882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:13:14] local.INFO: IMEI packet received {"connection_id":157882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":157882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:13:15] local.INFO: TCP Data received {"connection_id":157882,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188a8f68012d1825800721b9f0004d00d924..."} 
[2026-08-19 11:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188a8f68012d1825800721b9f0004d00d924..."} 
[2026-08-19 11:13:15] local.INFO: Processing buffer {"connection_id":157882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188a8f68012d1825800721b9f0004d00d924..."} 
[2026-08-19 11:13:15] local.INFO: Packet analysis {"connection_id":157882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188a"} 
[2026-08-19 11:13:15] local.INFO: Extracted packet for processing {"connection_id":157882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188a"} 
[2026-08-19 11:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650800,"longitude_deg":75.6557184,"latitude_deg":11.96508,"altitude":77,"angle":217,"satellites":36,"speed":2,"hex_longitude":"2d182580","hex_latitude":"0721b9f0","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502235904001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688022117646336,"note":"Value kept but may cause issues"} 
[2026-08-19 11:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632642048,"note":"Value kept but may cause issues"} 
[2026-08-19 11:13: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-08-19 11:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787118129000,"timestamp_ms":1787118129000,"timestamp_seconds":1787118129,"priority":1,"record_length":96,"hex_timestamp":"000001a0188a8f68"} 
[2026-08-19 11:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:13: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-08-19 11:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 11:13:15] 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-08-19 11:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502235904001,"66":12841,"120":206,"28":31744,"24":2,"16":13688022117646336,"45":1740359811632642048},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502235904001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:13:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:13:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688022117646336,"km_value":13688022117646.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632642048,"description":"Unknown IO ID 45"} 
[2026-08-19 11:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502235904001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1740359811632642048}} 
[2026-08-19 11:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":157882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:13:16] local.INFO: GPS data processed {"connection_id":157882,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:13:16] local.INFO: Acknowledgment sent {"connection_id":157882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:13:35] local.INFO: TCP Data received {"connection_id":160060,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188a6470012d18d68006d5fd500009011f24..."} 
[2026-08-19 11:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188a6470012d18d68006d5fd500009011f24..."} 
[2026-08-19 11:13:35] local.INFO: Processing buffer {"connection_id":160060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188a6470012d18d68006d5fd500009011f24..."} 
[2026-08-19 11:13:35] local.INFO: Packet analysis {"connection_id":160060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188a"} 
[2026-08-19 11:13:35] local.INFO: Extracted packet for processing {"connection_id":160060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188a"} 
[2026-08-19 11:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756602496,"raw_latitude":114687312,"longitude_deg":75.6602496,"latitude_deg":11.4687312,"altitude":9,"angle":287,"satellites":36,"speed":56,"hex_longitude":"2d18d680","hex_latitude":"06d5fd50","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502236416001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385595502340603904,"note":"Value kept but may cause issues"} 
[2026-08-19 11:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800806561609822208,"note":"Value kept but may cause issues"} 
[2026-08-19 11:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787118118000,"timestamp_ms":1787118118000,"timestamp_seconds":1787118118,"priority":1,"record_length":96,"hex_timestamp":"000001a0188a6470"} 
[2026-08-19 11:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 11:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502236416001,"66":27843,"159":206,"81":20480,"24":56,"16":385595502340603904,"45":1800806561609822208},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-08-19 11:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502236416001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:13:35] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-19 11:13:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385595502340603904,"km_value":385595502340603.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800806561609822208,"description":"Unknown IO ID 45"} 
[2026-08-19 11:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502236416001,"power":27843,"unknown_159":206,"unknown_81":20480,"ignition":56,"odometer":null,"unknown_45":1800806561609822208}} 
[2026-08-19 11:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":160060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:13:35] local.INFO: GPS data processed {"connection_id":160060,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:13:35] local.INFO: Acknowledgment sent {"connection_id":160060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:13:48] local.INFO: TCP Data received {"connection_id":157882,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188a9b20012d1825000721b958004d00e525..."} 
[2026-08-19 11:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188a9b20012d1825000721b958004d00e525..."} 
[2026-08-19 11:13:48] local.INFO: Processing buffer {"connection_id":157882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188a9b20012d1825000721b958004d00e525..."} 
[2026-08-19 11:13:48] local.INFO: Packet analysis {"connection_id":157882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188a"} 
[2026-08-19 11:13:48] local.INFO: Extracted packet for processing {"connection_id":157882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188a"} 
[2026-08-19 11:13:48] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650648,"longitude_deg":75.6557056,"latitude_deg":11.9650648,"altitude":77,"angle":229,"satellites":37,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721b958","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502241024001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688030707580928,"note":"Value kept but may cause issues"} 
[2026-08-19 11:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167524864,"note":"Value kept but may cause issues"} 
[2026-08-19 11:13:48] 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-08-19 11:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787118132000,"timestamp_ms":1787118132000,"timestamp_seconds":1787118132,"priority":1,"record_length":96,"hex_timestamp":"000001a0188a9b20"} 
[2026-08-19 11:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 11:13:48] 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-08-19 11: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-08-19 11:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":157882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":157882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":157882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502241024001,"66":12298,"120":206,"28":31744,"24":0,"16":13688030707580928,"45":1739937599167524864},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502241024001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:13:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:13:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688030707580928,"km_value":13688030707580.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167524864,"description":"Unknown IO ID 45"} 
[2026-08-19 11:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502241024001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739937599167524864}} 
[2026-08-19 11:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":157882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:13:48] local.INFO: GPS data processed {"connection_id":157882,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:13:48] local.INFO: Acknowledgment sent {"connection_id":157882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:14:05] local.INFO: TCP Data received {"connection_id":157883,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:14:05] local.INFO: Processing buffer {"connection_id":157883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:14:05] local.INFO: IMEI packet received {"connection_id":157883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":157883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:14:05] local.INFO: TCP Data received {"connection_id":157883,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:14:05] local.INFO: Processing buffer {"connection_id":157883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:14:05] local.INFO: IMEI packet received {"connection_id":157883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":157883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:14:06] local.INFO: TCP Data received {"connection_id":157883,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188b4318012d17c40006d62d680009011d27..."} 
[2026-08-19 11:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188b4318012d17c40006d62d680009011d27..."} 
[2026-08-19 11:14:06] local.INFO: Processing buffer {"connection_id":157883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188b4318012d17c40006d62d680009011d27..."} 
[2026-08-19 11:14:06] local.INFO: Packet analysis {"connection_id":157883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188b"} 
[2026-08-19 11:14:06] local.INFO: Extracted packet for processing {"connection_id":157883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188b"} 
[2026-08-19 11:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756532224,"raw_latitude":114699624,"longitude_deg":75.6532224,"latitude_deg":11.4699624,"altitude":9,"angle":285,"satellites":39,"speed":50,"hex_longitude":"2d17c400","hex_latitude":"06d62d68","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502250752001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385599015623852032,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723330574273390592,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787118175000,"timestamp_ms":1787118175000,"timestamp_seconds":1787118175,"priority":1,"record_length":96,"hex_timestamp":"000001a0188b4318"} 
[2026-08-19 11:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 11:14:06] 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-08-19 11: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-08-19 11:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502250752001,"66":27647,"160":206,"81":20480,"24":50,"16":385599015623852032,"45":1723330574273390592},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-08-19 11:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502250752001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:14:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-19 11:14:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385599015623852032,"km_value":385599015623852.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723330574273390592,"description":"Unknown IO ID 45"} 
[2026-08-19 11:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502250752001,"power":27647,"unknown_160":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":1723330574273390592}} 
[2026-08-19 11:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":157883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:14:06] local.INFO: GPS data processed {"connection_id":157883,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:14:06] local.INFO: Acknowledgment sent {"connection_id":157883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:14:09] local.INFO: TCP Data received {"connection_id":160061,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:14:09] local.INFO: Processing buffer {"connection_id":160061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:14:09] local.INFO: IMEI packet received {"connection_id":160061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":160061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:14:10] local.INFO: TCP Data received {"connection_id":157883,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188b6258012d179dc006d63768000a011b25..."} 
[2026-08-19 11:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188b6258012d179dc006d63768000a011b25..."} 
[2026-08-19 11:14:10] local.INFO: Processing buffer {"connection_id":157883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188b6258012d179dc006d63768000a011b25..."} 
[2026-08-19 11:14:10] local.INFO: Packet analysis {"connection_id":157883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188b"} 
[2026-08-19 11:14:10] local.INFO: Extracted packet for processing {"connection_id":157883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188b"} 
[2026-08-19 11:14:10] local.INFO: GPS Element Parsed {"raw_longitude":756522432,"raw_latitude":114702184,"longitude_deg":75.6522432,"latitude_deg":11.4702184,"altitude":10,"angle":283,"satellites":37,"speed":49,"hex_longitude":"2d179dc0","hex_latitude":"06d63768","is_valid_coordinates":true} 
[2026-08-19 11:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502252800001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385599496660189184,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712493787670734848,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787118183000,"timestamp_ms":1787118183000,"timestamp_seconds":1787118183,"priority":1,"record_length":96,"hex_timestamp":"000001a0188b6258"} 
[2026-08-19 11:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:14: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-08-19 11:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-19 11:14:10] 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-08-19 11:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502252800001,"66":27843,"160":206,"81":20480,"24":49,"16":385599496660189184,"45":1712493787670734848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-08-19 11:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502252800001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:14:10] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-19 11:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385599496660189184,"km_value":385599496660189.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712493787670734848,"description":"Unknown IO ID 45"} 
[2026-08-19 11:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502252800001,"power":27843,"unknown_160":206,"unknown_81":20480,"ignition":49,"odometer":null,"unknown_45":1712493787670734848}} 
[2026-08-19 11:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":157883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:14:10] local.INFO: GPS data processed {"connection_id":157883,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:14:10] local.INFO: Acknowledgment sent {"connection_id":157883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:14:14] local.INFO: TCP Data received {"connection_id":160061,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:14:14] local.INFO: Processing buffer {"connection_id":160061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:14:14] local.INFO: IMEI packet received {"connection_id":160061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":160061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:14:15] local.INFO: TCP Data received {"connection_id":160061,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188ac618012d1824800721b8b0004d00d625..."} 
[2026-08-19 11:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188ac618012d1824800721b8b0004d00d625..."} 
[2026-08-19 11:14:15] local.INFO: Processing buffer {"connection_id":160061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188ac618012d1824800721b8b0004d00d625..."} 
[2026-08-19 11:14:15] local.INFO: Packet analysis {"connection_id":160061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188a"} 
[2026-08-19 11:14:15] local.INFO: Extracted packet for processing {"connection_id":160061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188a"} 
[2026-08-19 11:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650480,"longitude_deg":75.6556928,"latitude_deg":11.965048,"altitude":77,"angle":214,"satellites":37,"speed":2,"hex_longitude":"2d182480","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502241792001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688039297515520,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679130624,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14: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-08-19 11:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787118143000,"timestamp_ms":1787118143000,"timestamp_seconds":1787118143,"priority":1,"record_length":96,"hex_timestamp":"000001a0188ac618"} 
[2026-08-19 11:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:14: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-08-19 11:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-19 11:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513897131939135832,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:15] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:15] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2308782081,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:15] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452336,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:15] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3026418949592973313,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:15] local.WARNING: Large IO value detected {"io_id":160,"raw_value":1767846609643444263,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:15] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832570,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:15] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3645101832754692302,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":96868073918693376,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:15] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3132620883,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 11:14:15] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2703884288,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:15] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,161,160,143,45,128,185,77,36,10,66,65,186,83,37,239,1,240,85,33,4,113,205,75,39,184,50,2,48,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 11:14:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548686687997001728,"timestamp_seconds":5548686687997002.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 11:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502241792001,"66":12776,"120":206,"28":31744,"24":2,"16":13688039297515520,"45":1739796861679130624},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502241792001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:14:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:14:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688039297515520,"km_value":13688039297515.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679130624,"description":"Unknown IO ID 45"} 
[2026-08-19 11:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502241792001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1739796861679130624}} 
[2026-08-19 11:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":160061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:14:16] local.INFO: GPS data processed {"connection_id":160061,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:14:16] local.INFO: Acknowledgment sent {"connection_id":160061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:14:41] local.INFO: TCP Data received {"connection_id":157883,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188b8198012d17794006d640280009011825..."} 
[2026-08-19 11:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188b8198012d17794006d640280009011825..."} 
[2026-08-19 11:14:41] local.INFO: Processing buffer {"connection_id":157883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188b8198012d17794006d640280009011825..."} 
[2026-08-19 11:14:41] local.INFO: Packet analysis {"connection_id":157883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188b"} 
[2026-08-19 11:14:41] local.INFO: Extracted packet for processing {"connection_id":157883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188b"} 
[2026-08-19 11:14:41] local.INFO: GPS Element Parsed {"raw_longitude":756513088,"raw_latitude":114704424,"longitude_deg":75.6513088,"latitude_deg":11.4704424,"altitude":9,"angle":280,"satellites":37,"speed":46,"hex_longitude":"2d177940","hex_latitude":"06d64028","is_valid_coordinates":true} 
[2026-08-19 11:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502254848001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385599956221689856,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1701727369812207616,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787118191000,"timestamp_ms":1787118191000,"timestamp_seconds":1787118191,"priority":1,"record_length":96,"hex_timestamp":"000001a0188b8198"} 
[2026-08-19 11:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:14: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-08-19 11:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 11:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502254848001,"66":27876,"160":206,"81":20480,"24":46,"16":385599956221689856,"45":1701727369812207616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-08-19 11:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502254848001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:14:41] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-19 11:14:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385599956221689856,"km_value":385599956221689.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1701727369812207616,"description":"Unknown IO ID 45"} 
[2026-08-19 11:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502254848001,"power":27876,"unknown_160":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1701727369812207616}} 
[2026-08-19 11:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":157883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:14:41] local.INFO: GPS data processed {"connection_id":157883,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:14:41] local.INFO: Acknowledgment sent {"connection_id":157883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:14:47] local.INFO: TCP Data received {"connection_id":160061,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188b1820012d1822400721b500004c00da25..."} 
[2026-08-19 11:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188b1820012d1822400721b500004c00da25..."} 
[2026-08-19 11:14:47] local.INFO: Processing buffer {"connection_id":160061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188b1820012d1822400721b500004c00da25..."} 
[2026-08-19 11:14:47] local.INFO: Packet analysis {"connection_id":160061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188b"} 
[2026-08-19 11:14:47] local.INFO: Extracted packet for processing {"connection_id":160061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188b"} 
[2026-08-19 11:14:47] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":37,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502244608001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190732288,"note":"Value kept but may cause issues"} 
[2026-08-19 11:14:47] 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-08-19 11:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787118164000,"timestamp_ms":1787118164000,"timestamp_seconds":1787118164,"priority":1,"record_length":96,"hex_timestamp":"000001a0188b1820"} 
[2026-08-19 11:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:14:47] 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-08-19 11: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 11:14:47] 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-08-19 11: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-08-19 11:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502244608001,"66":12809,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739656124190732288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502244608001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:14:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:14:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190732288,"description":"Unknown IO ID 45"} 
[2026-08-19 11:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502244608001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190732288}} 
[2026-08-19 11:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":160061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:14:47] local.INFO: GPS data processed {"connection_id":160061,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:14:47] local.INFO: Acknowledgment sent {"connection_id":160061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:15:00] local.INFO: TCP Data received {"connection_id":157508,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:15:00] local.INFO: Processing buffer {"connection_id":157508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:15:00] local.INFO: IMEI packet received {"connection_id":157508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":157508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:15:00] local.INFO: TCP Data received {"connection_id":157508,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:15:00] local.INFO: Processing buffer {"connection_id":157508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:15:00] local.INFO: IMEI packet received {"connection_id":157508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":157508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:15:05] local.INFO: TCP Data received {"connection_id":157508,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:15:05] local.INFO: Processing buffer {"connection_id":157508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:15:05] local.INFO: IMEI packet received {"connection_id":157508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":157508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:15:06] local.INFO: TCP Data received {"connection_id":157508,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188ba0d8012d17560006d649d80009011e26..."} 
[2026-08-19 11:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188ba0d8012d17560006d649d80009011e26..."} 
[2026-08-19 11:15:06] local.INFO: Processing buffer {"connection_id":157508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188ba0d8012d17560006d649d80009011e26..."} 
[2026-08-19 11:15:06] local.INFO: Packet analysis {"connection_id":157508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188b"} 
[2026-08-19 11:15:06] local.INFO: Extracted packet for processing {"connection_id":157508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188b"} 
[2026-08-19 11:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756504064,"raw_latitude":114706904,"longitude_deg":75.6504064,"latitude_deg":11.4706904,"altitude":9,"angle":286,"satellites":38,"speed":44,"hex_longitude":"2d175600","hex_latitude":"06d649d8","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502256896001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385600398603321344,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1691453533162842112,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787118199000,"timestamp_ms":1787118199000,"timestamp_seconds":1787118199,"priority":1,"record_length":96,"hex_timestamp":"000001a0188ba0d8"} 
[2026-08-19 11:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 11:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502256896001,"66":27713,"158":206,"81":20480,"24":44,"16":385600398603321344,"45":1691453533162842112},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,81,24,16,45]} 
[2026-08-19 11:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502256896001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:15:06] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 11:15:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385600398603321344,"km_value":385600398603321.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1691453533162842112,"description":"Unknown IO ID 45"} 
[2026-08-19 11:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502256896001,"power":27713,"unknown_158":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":1691453533162842112}} 
[2026-08-19 11:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":157508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:15:06] local.INFO: GPS data processed {"connection_id":157508,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:15:06] local.INFO: Acknowledgment sent {"connection_id":157508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:15:10] local.INFO: TCP Data received {"connection_id":157508,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188bc018012d1733c006d653980008011e27..."} 
[2026-08-19 11:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188bc018012d1733c006d653980008011e27..."} 
[2026-08-19 11:15:10] local.INFO: Processing buffer {"connection_id":157508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188bc018012d1733c006d653980008011e27..."} 
[2026-08-19 11:15:10] local.INFO: Packet analysis {"connection_id":157508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188b"} 
[2026-08-19 11:15:10] local.INFO: Extracted packet for processing {"connection_id":157508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188b"} 
[2026-08-19 11:15:10] local.INFO: GPS Element Parsed {"raw_longitude":756495296,"raw_latitude":114709400,"longitude_deg":75.6495296,"latitude_deg":11.47094,"altitude":8,"angle":286,"satellites":39,"speed":42,"hex_longitude":"2d1733c0","hex_latitude":"06d65398","is_valid_coordinates":true} 
[2026-08-19 11:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502258944001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385600832395018240,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1681531540234426368,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787118207000,"timestamp_ms":1787118207000,"timestamp_seconds":1787118207,"priority":1,"record_length":96,"hex_timestamp":"000001a0188bc018"} 
[2026-08-19 11:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:15: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-08-19 11:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-19 11:15:10] 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-08-19 11:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502258944001,"66":27876,"158":206,"81":20480,"24":42,"16":385600832395018240,"45":1681531540234426368},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,81,24,16,45]} 
[2026-08-19 11:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502258944001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:15:10] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 11:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385600832395018240,"km_value":385600832395018.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1681531540234426368,"description":"Unknown IO ID 45"} 
[2026-08-19 11:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502258944001,"power":27876,"unknown_158":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1681531540234426368}} 
[2026-08-19 11:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":157508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:15:10] local.INFO: GPS data processed {"connection_id":157508,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:15:10] local.INFO: Acknowledgment sent {"connection_id":157508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:15:14] local.INFO: TCP Data received {"connection_id":157884,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:15:14] local.INFO: Processing buffer {"connection_id":157884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:15:14] local.INFO: IMEI packet received {"connection_id":157884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":157884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:15:19] local.INFO: TCP Data received {"connection_id":157884,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:15:19] local.INFO: Processing buffer {"connection_id":157884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:15:19] local.INFO: IMEI packet received {"connection_id":157884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":157884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:15:20] local.INFO: TCP Data received {"connection_id":157884,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188b6a28012d1822400721b500004c00da25..."} 
[2026-08-19 11:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188b6a28012d1822400721b500004c00da25..."} 
[2026-08-19 11:15:20] local.INFO: Processing buffer {"connection_id":157884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188b6a28012d1822400721b500004c00da25..."} 
[2026-08-19 11:15:20] local.INFO: Packet analysis {"connection_id":157884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188b"} 
[2026-08-19 11:15:20] local.INFO: Extracted packet for processing {"connection_id":157884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188b"} 
[2026-08-19 11:15:20] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":37,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 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-08-19 11:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502249984001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:20] 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-08-19 11:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787118185000,"timestamp_ms":1787118185000,"timestamp_seconds":1787118185,"priority":1,"record_length":96,"hex_timestamp":"000001a0188b6a28"} 
[2026-08-19 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-08-19 11:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 11:15:20] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-8553690285650467072,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:20] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3132620883,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 11:15:20] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121887258332700,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:20] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2703884288,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:20] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430457260451911717,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:20] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:20] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,161,160,198,45,128,184,77,37,10,66,155,185,143,1,240,41,33,4,113,205,239,39,36,50,2,48,7,83,124,42],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 11:15:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476616999331168256,"timestamp_seconds":5476616999331168.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 11:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502249984001,"66":12776,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502249984001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:15:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:15:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502249984001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":157884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:15:20] local.INFO: GPS data processed {"connection_id":157884,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:15:20] local.INFO: Acknowledgment sent {"connection_id":157884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:15:25] local.INFO: TCP Data received {"connection_id":157884,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188bbc30012d1822400721b500004c00da25..."} 
[2026-08-19 11:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188bbc30012d1822400721b500004c00da25..."} 
[2026-08-19 11:15:25] local.INFO: Processing buffer {"connection_id":157884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188bbc30012d1822400721b500004c00da25..."} 
[2026-08-19 11:15:25] local.INFO: Packet analysis {"connection_id":157884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188b"} 
[2026-08-19 11:15:25] local.INFO: Extracted packet for processing {"connection_id":157884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188b"} 
[2026-08-19 11:15:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":37,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 11:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502255360001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:25] 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-08-19 11:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787118206000,"timestamp_ms":1787118206000,"timestamp_seconds":1787118206,"priority":1,"record_length":96,"hex_timestamp":"000001a0188bbc30"} 
[2026-08-19 11:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:15:25] 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-08-19 11:15:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 11:15:25] 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-08-19 11:15:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":157884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":157884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":157884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502255360001,"66":12776,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502255360001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:15:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:15:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502255360001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":157884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:15:25] local.INFO: GPS data processed {"connection_id":157884,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:15:25] local.INFO: Acknowledgment sent {"connection_id":157884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:15:41] local.INFO: TCP Data received {"connection_id":157508,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188be340012d17114006d65d300007011b26..."} 
[2026-08-19 11:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188be340012d17114006d65d300007011b26..."} 
[2026-08-19 11:15:41] local.INFO: Processing buffer {"connection_id":157508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188be340012d17114006d65d300007011b26..."} 
[2026-08-19 11:15:41] local.INFO: Packet analysis {"connection_id":157508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188b"} 
[2026-08-19 11:15:41] local.INFO: Extracted packet for processing {"connection_id":157508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188b"} 
[2026-08-19 11:15:41] local.INFO: GPS Element Parsed {"raw_longitude":756486464,"raw_latitude":114711856,"longitude_deg":75.6486464,"latitude_deg":11.4711856,"altitude":7,"angle":283,"satellites":38,"speed":32,"hex_longitude":"2d171140","hex_latitude":"06d65d30","is_valid_coordinates":true} 
[2026-08-19 11:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502260992001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385601270481682432,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1671891022282725376,"note":"Value kept but may cause issues"} 
[2026-08-19 11:15:41] 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-08-19 11:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787118216000,"timestamp_ms":1787118216000,"timestamp_seconds":1787118216,"priority":1,"record_length":96,"hex_timestamp":"000001a0188be340"} 
[2026-08-19 11:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:15: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-08-19 11:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 11:15:41] 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-08-19 11:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502260992001,"66":27865,"44":206,"81":20480,"24":32,"16":385601270481682432,"45":1671891022282725376},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-19 11:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502260992001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-19 11:15:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385601270481682432,"km_value":385601270481682.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1671891022282725376,"description":"Unknown IO ID 45"} 
[2026-08-19 11:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502260992001,"power":27865,"unknown_44":206,"unknown_81":20480,"ignition":32,"odometer":null,"unknown_45":1671891022282725376}} 
[2026-08-19 11:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":157508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:15:42] local.INFO: GPS data processed {"connection_id":157508,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:15:42] local.INFO: Acknowledgment sent {"connection_id":157508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:16:00] local.INFO: TCP Data received {"connection_id":158755,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:16:00] local.INFO: Processing buffer {"connection_id":158755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:16:00] local.INFO: IMEI packet received {"connection_id":158755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":158755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:16:01] local.INFO: TCP Data received {"connection_id":158755,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:16:01] local.INFO: Processing buffer {"connection_id":158755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:16:01] local.INFO: IMEI packet received {"connection_id":158755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":158755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:16:02] local.INFO: TCP Data received {"connection_id":158755,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188c1220012d16ee0006d663f80007011325..."} 
[2026-08-19 11:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188c1220012d16ee0006d663f80007011325..."} 
[2026-08-19 11:16:02] local.INFO: Processing buffer {"connection_id":158755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188c1220012d16ee0006d663f80007011325..."} 
[2026-08-19 11:16:02] local.INFO: Packet analysis {"connection_id":158755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188c"} 
[2026-08-19 11:16:02] local.INFO: Extracted packet for processing {"connection_id":158755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188c"} 
[2026-08-19 11:16:02] local.INFO: GPS Element Parsed {"raw_longitude":756477440,"raw_latitude":114713592,"longitude_deg":75.647744,"latitude_deg":11.4713592,"altitude":7,"angle":275,"satellites":37,"speed":34,"hex_longitude":"2d16ee00","hex_latitude":"06d663f8","is_valid_coordinates":true} 
[2026-08-19 11:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502263296001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385601708568346624,"note":"Value kept but may cause issues"} 
[2026-08-19 11:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1662180135586836480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:16:02] 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-08-19 11:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787118228000,"timestamp_ms":1787118228000,"timestamp_seconds":1787118228,"priority":1,"record_length":96,"hex_timestamp":"000001a0188c1220"} 
[2026-08-19 11:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:16: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-08-19 11:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":158755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":158755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":158755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502263296001,"66":27919,"44":206,"81":20480,"24":34,"16":385601708568346624,"45":1662180135586836480},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-19 11:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502263296001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:16:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-19 11:16:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385601708568346624,"km_value":385601708568346.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1662180135586836480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502263296001,"power":27919,"unknown_44":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":1662180135586836480}} 
[2026-08-19 11:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":158755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:16:02] local.INFO: GPS data processed {"connection_id":158755,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:16:02] local.INFO: Acknowledgment sent {"connection_id":158755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:16:09] local.INFO: TCP Data received {"connection_id":157509,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:16:09] local.INFO: Processing buffer {"connection_id":157509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:16:09] local.INFO: IMEI packet received {"connection_id":157509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":157509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:16:10] local.INFO: TCP Data received {"connection_id":157509,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:16:10] local.INFO: Processing buffer {"connection_id":157509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:16:10] local.INFO: IMEI packet received {"connection_id":157509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":157509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:16:14] local.INFO: TCP Data received {"connection_id":157509,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:16:14] local.INFO: Processing buffer {"connection_id":157509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:16:14] local.INFO: IMEI packet received {"connection_id":157509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":157509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:16:15] local.INFO: TCP Data received {"connection_id":157509,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188c0e38012d1822400721b500004c00da26..."} 
[2026-08-19 11:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188c0e38012d1822400721b500004c00da26..."} 
[2026-08-19 11:16:15] local.INFO: Processing buffer {"connection_id":157509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188c0e38012d1822400721b500004c00da26..."} 
[2026-08-19 11:16:15] local.INFO: Packet analysis {"connection_id":157509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188c"} 
[2026-08-19 11:16:15] local.INFO: Extracted packet for processing {"connection_id":157509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188c"} 
[2026-08-19 11:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":38,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 11:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502260736001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:16: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-08-19 11:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787118227000,"timestamp_ms":1787118227000,"timestamp_seconds":1787118227,"priority":1,"record_length":96,"hex_timestamp":"000001a0188c0e38"} 
[2026-08-19 11:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 11:16:15] 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-08-19 11:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502260736001,"66":12776,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502260736001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:16:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:16:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502260736001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":157509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:16:16] local.INFO: GPS data processed {"connection_id":157509,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:16:16] local.INFO: Acknowledgment sent {"connection_id":157509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:16:20] local.INFO: TCP Data received {"connection_id":157509,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188c6040012d1822400721b500004c00da26..."} 
[2026-08-19 11:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188c6040012d1822400721b500004c00da26..."} 
[2026-08-19 11:16:20] local.INFO: Processing buffer {"connection_id":157509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188c6040012d1822400721b500004c00da26..."} 
[2026-08-19 11:16:20] local.INFO: Packet analysis {"connection_id":157509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188c"} 
[2026-08-19 11:16:20] local.INFO: Extracted packet for processing {"connection_id":157509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188c"} 
[2026-08-19 11:16:20] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":38,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 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-08-19 11:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502266112001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:16:20] 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-08-19 11:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787118248000,"timestamp_ms":1787118248000,"timestamp_seconds":1787118248,"priority":1,"record_length":96,"hex_timestamp":"000001a0188c6040"} 
[2026-08-19 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-08-19 11:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 11:16:20] 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-08-19 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-08-19 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-08-19 11:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502266112001,"66":12722,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502266112001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:16:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:16:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502266112001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":157509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:16:20] local.INFO: GPS data processed {"connection_id":157509,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:16:20] local.INFO: Acknowledgment sent {"connection_id":157509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:16:34] local.INFO: TCP Data received {"connection_id":158755,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188dbfd0012d15bac006d6c840000f013c28..."} 
[2026-08-19 11:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188dbfd0012d15bac006d6c840000f013c28..."} 
[2026-08-19 11:16:34] local.INFO: Processing buffer {"connection_id":158755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188dbfd0012d15bac006d6c840000f013c28..."} 
[2026-08-19 11:16:34] local.INFO: Packet analysis {"connection_id":158755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188d"} 
[2026-08-19 11:16:34] local.INFO: Extracted packet for processing {"connection_id":158755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188d"} 
[2026-08-19 11:16:34] local.INFO: GPS Element Parsed {"raw_longitude":756398784,"raw_latitude":114739264,"longitude_deg":75.6398784,"latitude_deg":11.4739264,"altitude":15,"angle":316,"satellites":40,"speed":16,"hex_longitude":"2d15bac0","hex_latitude":"06d6c840","is_valid_coordinates":true} 
[2026-08-19 11:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502293760001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385605763017474048,"note":"Value kept but may cause issues"} 
[2026-08-19 11:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1566689749744590848,"note":"Value kept but may cause issues"} 
[2026-08-19 11:16:34] 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-08-19 11:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787118338000,"timestamp_ms":1787118338000,"timestamp_seconds":1787118338,"priority":1,"record_length":96,"hex_timestamp":"000001a0188dbfd0"} 
[2026-08-19 11:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":158755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":158755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":158755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502293760001,"66":27876,"44":206,"81":20480,"24":16,"16":385605763017474048,"45":1566689749744590848},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-19 11:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502293760001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:16:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-19 11:16:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385605763017474048,"km_value":385605763017474.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1566689749744590848,"description":"Unknown IO ID 45"} 
[2026-08-19 11:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502293760001,"power":27876,"unknown_44":206,"unknown_81":20480,"ignition":16,"odometer":null,"unknown_45":1566689749744590848}} 
[2026-08-19 11:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":158755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:16:34] local.INFO: GPS data processed {"connection_id":158755,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:16:34] local.INFO: Acknowledgment sent {"connection_id":158755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:16:56] local.INFO: TCP Data received {"connection_id":157509,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188cb248012d1822400721b500004c00da28..."} 
[2026-08-19 11:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188cb248012d1822400721b500004c00da28..."} 
[2026-08-19 11:16:56] local.INFO: Processing buffer {"connection_id":157509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188cb248012d1822400721b500004c00da28..."} 
[2026-08-19 11:16:56] local.INFO: Packet analysis {"connection_id":157509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188c"} 
[2026-08-19 11:16:56] local.INFO: Extracted packet for processing {"connection_id":157509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188c"} 
[2026-08-19 11:16:56] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 11:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502271488001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:16:56] 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-08-19 11:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787118269000,"timestamp_ms":1787118269000,"timestamp_seconds":1787118269,"priority":1,"record_length":96,"hex_timestamp":"000001a0188cb248"} 
[2026-08-19 11:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 11:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":157509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":157509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":157509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502271488001,"66":12722,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502271488001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:16:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:16:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502271488001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":157509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:16:56] local.INFO: GPS data processed {"connection_id":157509,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:16:56] local.INFO: Acknowledgment sent {"connection_id":157509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:16:59] local.INFO: TCP Data received {"connection_id":158756,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:16:59] local.INFO: Processing buffer {"connection_id":158756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:16:59] local.INFO: IMEI packet received {"connection_id":158756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":158756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:17:05] local.INFO: TCP Data received {"connection_id":158756,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:17:05] local.INFO: Processing buffer {"connection_id":158756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:17:05] local.INFO: IMEI packet received {"connection_id":158756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":158756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:17:06] local.INFO: TCP Data received {"connection_id":158756,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188dcf70012d15b6c006d6cd18000f014827..."} 
[2026-08-19 11:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188dcf70012d15b6c006d6cd18000f014827..."} 
[2026-08-19 11:17:06] local.INFO: Processing buffer {"connection_id":158756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188dcf70012d15b6c006d6cd18000f014827..."} 
[2026-08-19 11:17:06] local.INFO: Packet analysis {"connection_id":158756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188d"} 
[2026-08-19 11:17:06] local.INFO: Extracted packet for processing {"connection_id":158756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188d"} 
[2026-08-19 11:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756397760,"raw_latitude":114740504,"longitude_deg":75.639776,"latitude_deg":11.4740504,"altitude":15,"angle":328,"satellites":39,"speed":15,"hex_longitude":"2d15b6c0","hex_latitude":"06d6cd18","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502294528001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385605840326885376,"note":"Value kept but may cause issues"} 
[2026-08-19 11:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1565774956070453248,"note":"Value kept but may cause issues"} 
[2026-08-19 11:17:06] 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-08-19 11:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787118342000,"timestamp_ms":1787118342000,"timestamp_seconds":1787118342,"priority":1,"record_length":96,"hex_timestamp":"000001a0188dcf70"} 
[2026-08-19 11:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 11:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502294528001,"66":27821,"44":206,"81":20480,"24":15,"16":385605840326885376,"45":1565774956070453248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-19 11:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502294528001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:17:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-19 11:17:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385605840326885376,"km_value":385605840326885.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1565774956070453248,"description":"Unknown IO ID 45"} 
[2026-08-19 11:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502294528001,"power":27821,"unknown_44":206,"unknown_81":20480,"ignition":15,"odometer":null,"unknown_45":1565774956070453248}} 
[2026-08-19 11:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":158756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:17:06] local.INFO: GPS data processed {"connection_id":158756,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:17:06] local.INFO: Acknowledgment sent {"connection_id":158756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:17:09] local.INFO: TCP Data received {"connection_id":157510,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:17:09] local.INFO: Processing buffer {"connection_id":157510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:17:09] local.INFO: IMEI packet received {"connection_id":157510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":157510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:17:13] local.INFO: TCP Data received {"connection_id":157510,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:17:13] local.INFO: Processing buffer {"connection_id":157510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:17:13] local.INFO: IMEI packet received {"connection_id":157510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":157510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:17:14] local.INFO: TCP Data received {"connection_id":157510,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188d0450012d1822400721b500004c00da27..."} 
[2026-08-19 11:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188d0450012d1822400721b500004c00da27..."} 
[2026-08-19 11:17:14] local.INFO: Processing buffer {"connection_id":157510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188d0450012d1822400721b500004c00da27..."} 
[2026-08-19 11:17:14] local.INFO: Packet analysis {"connection_id":157510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188d"} 
[2026-08-19 11:17:14] local.INFO: Extracted packet for processing {"connection_id":157510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188d"} 
[2026-08-19 11:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":39,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502276864001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:17:14] 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-08-19 11:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787118290000,"timestamp_ms":1787118290000,"timestamp_seconds":1787118290,"priority":1,"record_length":96,"hex_timestamp":"000001a0188d0450"} 
[2026-08-19 11:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:17:14] 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-08-19 11: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-08-19 11: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-08-19 11: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-08-19 11:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502276864001,"66":12526,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502276864001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:17:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:17:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502276864001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":157510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:17:14] local.INFO: GPS data processed {"connection_id":157510,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:17:14] local.INFO: Acknowledgment sent {"connection_id":157510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:17:37] local.INFO: TCP Data received {"connection_id":158756,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188ddf10012d15b4c006d6d1b80010015726..."} 
[2026-08-19 11:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188ddf10012d15b4c006d6d1b80010015726..."} 
[2026-08-19 11:17:37] local.INFO: Processing buffer {"connection_id":158756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188ddf10012d15b4c006d6d1b80010015726..."} 
[2026-08-19 11:17:37] local.INFO: Packet analysis {"connection_id":158756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188d"} 
[2026-08-19 11:17:37] local.INFO: Extracted packet for processing {"connection_id":158756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188d"} 
[2026-08-19 11:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756397248,"raw_latitude":114741688,"longitude_deg":75.6397248,"latitude_deg":11.4741688,"altitude":16,"angle":343,"satellites":38,"speed":8,"hex_longitude":"2d15b4c0","hex_latitude":"06d6d1b8","is_valid_coordinates":true} 
[2026-08-19 11:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502295552001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385605904751394816,"note":"Value kept but may cause issues"} 
[2026-08-19 11:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1564649056163928064,"note":"Value kept but may cause issues"} 
[2026-08-19 11:17:37] 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-08-19 11:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787118346000,"timestamp_ms":1787118346000,"timestamp_seconds":1787118346,"priority":1,"record_length":96,"hex_timestamp":"000001a0188ddf10"} 
[2026-08-19 11:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 11:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502295552001,"66":27865,"44":206,"81":20480,"24":8,"16":385605904751394816,"45":1564649056163928064},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-08-19 11:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502295552001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:17:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-19 11:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385605904751394816,"km_value":385605904751394.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1564649056163928064,"description":"Unknown IO ID 45"} 
[2026-08-19 11:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502295552001,"power":27865,"unknown_44":206,"unknown_81":20480,"ignition":8,"odometer":null,"unknown_45":1564649056163928064}} 
[2026-08-19 11:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":158756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:17:37] local.INFO: GPS data processed {"connection_id":158756,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:17:37] local.INFO: Acknowledgment sent {"connection_id":158756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:17:46] local.INFO: TCP Data received {"connection_id":157510,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188d5658012d1822400721b500004c00da28..."} 
[2026-08-19 11:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188d5658012d1822400721b500004c00da28..."} 
[2026-08-19 11:17:46] local.INFO: Processing buffer {"connection_id":157510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188d5658012d1822400721b500004c00da28..."} 
[2026-08-19 11:17:46] local.INFO: Packet analysis {"connection_id":157510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188d"} 
[2026-08-19 11:17:46] local.INFO: Extracted packet for processing {"connection_id":157510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188d"} 
[2026-08-19 11:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502282240001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:17:46] 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-08-19 11:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787118311000,"timestamp_ms":1787118311000,"timestamp_seconds":1787118311,"priority":1,"record_length":96,"hex_timestamp":"000001a0188d5658"} 
[2026-08-19 11:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:17:46] 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-08-19 11: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 11:17:46] 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-08-19 11: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-08-19 11:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502282240001,"66":12645,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502282240001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:17:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:17:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502282240001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":157510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:17:46] local.INFO: GPS data processed {"connection_id":157510,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:17:46] local.INFO: Acknowledgment sent {"connection_id":157510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:17:59] local.INFO: TCP Data received {"connection_id":160062,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:17:59] local.INFO: Processing buffer {"connection_id":160062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:17:59] local.INFO: IMEI packet received {"connection_id":160062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":160062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:18:05] local.INFO: TCP Data received {"connection_id":160062,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:18:05] local.INFO: Processing buffer {"connection_id":160062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:18:05] local.INFO: IMEI packet received {"connection_id":160062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":160062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:18:06] local.INFO: TCP Data received {"connection_id":160062,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188e3118012d15b14006d6df900012015b27..."} 
[2026-08-19 11:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188e3118012d15b14006d6df900012015b27..."} 
[2026-08-19 11:18:06] local.INFO: Processing buffer {"connection_id":160062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188e3118012d15b14006d6df900012015b27..."} 
[2026-08-19 11:18:06] local.INFO: Packet analysis {"connection_id":160062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188e"} 
[2026-08-19 11:18:06] local.INFO: Extracted packet for processing {"connection_id":160062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188e"} 
[2026-08-19 11:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756396352,"raw_latitude":114745232,"longitude_deg":75.6396352,"latitude_deg":11.4745232,"altitude":18,"angle":347,"satellites":39,"speed":5,"hex_longitude":"2d15b140","hex_latitude":"06d6df90","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502296576001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385606085140021248,"note":"Value kept but may cause issues"} 
[2026-08-19 11:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1564086106210809856,"note":"Value kept but may cause issues"} 
[2026-08-19 11:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787118367000,"timestamp_ms":1787118367000,"timestamp_seconds":1787118367,"priority":1,"record_length":96,"hex_timestamp":"000001a0188e3118"} 
[2026-08-19 11:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502296576001,"66":27908,"183":206,"81":20480,"24":5,"16":385606085140021248,"45":1564086106210809856},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-19 11:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502296576001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:18:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-19 11:18:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385606085140021248,"km_value":385606085140021.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1564086106210809856,"description":"Unknown IO ID 45"} 
[2026-08-19 11:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502296576001,"power":27908,"unknown_183":206,"unknown_81":20480,"ignition":5,"odometer":null,"unknown_45":1564086106210809856}} 
[2026-08-19 11:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":160062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:18:06] local.INFO: GPS data processed {"connection_id":160062,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:18:06] local.INFO: Acknowledgment sent {"connection_id":160062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:18:09] local.INFO: TCP Data received {"connection_id":157885,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:18:09] local.INFO: Processing buffer {"connection_id":157885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:18:09] local.INFO: IMEI packet received {"connection_id":157885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":157885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:18:14] local.INFO: TCP Data received {"connection_id":157885,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:18:14] local.INFO: Processing buffer {"connection_id":157885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:18:14] local.INFO: IMEI packet received {"connection_id":157885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":157885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:18:15] local.INFO: TCP Data received {"connection_id":157885,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188da860012d1822400721b500004c00da27..."} 
[2026-08-19 11:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188da860012d1822400721b500004c00da27..."} 
[2026-08-19 11:18:15] local.INFO: Processing buffer {"connection_id":157885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188da860012d1822400721b500004c00da27..."} 
[2026-08-19 11:18:15] local.INFO: Packet analysis {"connection_id":157885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188d"} 
[2026-08-19 11:18:15] local.INFO: Extracted packet for processing {"connection_id":157885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188d"} 
[2026-08-19 11:18:15] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":39,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 11:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502287616001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:18: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-08-19 11:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787118332000,"timestamp_ms":1787118332000,"timestamp_seconds":1787118332,"priority":1,"record_length":96,"hex_timestamp":"000001a0188da860"} 
[2026-08-19 11:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-19 11:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502287616001,"66":12645,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502287616001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:18:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:18:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502287616001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":157885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:18:16] local.INFO: GPS data processed {"connection_id":157885,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:18:16] local.INFO: Acknowledgment sent {"connection_id":157885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:18:37] local.INFO: TCP Data received {"connection_id":160062,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188e44a0012d15b08006d6e2780013015025..."} 
[2026-08-19 11:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188e44a0012d15b08006d6e2780013015025..."} 
[2026-08-19 11:18:37] local.INFO: Processing buffer {"connection_id":160062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188e44a0012d15b08006d6e2780013015025..."} 
[2026-08-19 11:18:37] local.INFO: Packet analysis {"connection_id":160062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188e"} 
[2026-08-19 11:18:37] local.INFO: Extracted packet for processing {"connection_id":160062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188e"} 
[2026-08-19 11:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756396160,"raw_latitude":114745976,"longitude_deg":75.639616,"latitude_deg":11.4745976,"altitude":19,"angle":336,"satellites":37,"speed":6,"hex_longitude":"2d15b080","hex_latitude":"06d6e278","is_valid_coordinates":true} 
[2026-08-19 11:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502301952001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385606123794726912,"note":"Value kept but may cause issues"} 
[2026-08-19 11:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1563100943793229824,"note":"Value kept but may cause issues"} 
[2026-08-19 11:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787118372000,"timestamp_ms":1787118372000,"timestamp_seconds":1787118372,"priority":1,"record_length":96,"hex_timestamp":"000001a0188e44a0"} 
[2026-08-19 11:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:18:37] 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-08-19 11:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502301952001,"66":27930,"183":206,"81":20480,"24":6,"16":385606123794726912,"45":1563100943793229824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-19 11:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502301952001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:18:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-19 11:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385606123794726912,"km_value":385606123794726.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1563100943793229824,"description":"Unknown IO ID 45"} 
[2026-08-19 11:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502301952001,"power":27930,"unknown_183":206,"unknown_81":20480,"ignition":6,"odometer":null,"unknown_45":1563100943793229824}} 
[2026-08-19 11:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":160062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:18:37] local.INFO: GPS data processed {"connection_id":160062,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:18:37] local.INFO: Acknowledgment sent {"connection_id":160062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:18:47] local.INFO: TCP Data received {"connection_id":157885,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188dfa68012d1822400721b500004c00da29..."} 
[2026-08-19 11:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188dfa68012d1822400721b500004c00da29..."} 
[2026-08-19 11:18:47] local.INFO: Processing buffer {"connection_id":157885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188dfa68012d1822400721b500004c00da29..."} 
[2026-08-19 11:18:47] local.INFO: Packet analysis {"connection_id":157885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188d"} 
[2026-08-19 11:18:47] local.INFO: Extracted packet for processing {"connection_id":157885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188d"} 
[2026-08-19 11:18:47] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502292992001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:18:47] 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-08-19 11:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787118353000,"timestamp_ms":1787118353000,"timestamp_seconds":1787118353,"priority":1,"record_length":96,"hex_timestamp":"000001a0188dfa68"} 
[2026-08-19 11:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-19 11:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502292992001,"66":12667,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502292992001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:18:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:18:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502292992001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":157885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:18:47] local.INFO: GPS data processed {"connection_id":157885,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:18:47] local.INFO: Acknowledgment sent {"connection_id":157885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:18:59] local.INFO: TCP Data received {"connection_id":160063,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:18:59] local.INFO: Processing buffer {"connection_id":160063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:18:59] local.INFO: IMEI packet received {"connection_id":160063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":160063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:19:04] local.INFO: TCP Data received {"connection_id":160063,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:19:04] local.INFO: Processing buffer {"connection_id":160063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:19:04] local.INFO: IMEI packet received {"connection_id":160063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":160063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:19:05] local.INFO: TCP Data received {"connection_id":160063,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188e5440012d15af0006d6e4e00013014128..."} 
[2026-08-19 11:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188e5440012d15af0006d6e4e00013014128..."} 
[2026-08-19 11:19:05] local.INFO: Processing buffer {"connection_id":160063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188e5440012d15af0006d6e4e00013014128..."} 
[2026-08-19 11:19:05] local.INFO: Packet analysis {"connection_id":160063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188e"} 
[2026-08-19 11:19:05] local.INFO: Extracted packet for processing {"connection_id":160063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188e"} 
[2026-08-19 11:19:05] local.INFO: GPS Element Parsed {"raw_longitude":756395776,"raw_latitude":114746592,"longitude_deg":75.6395776,"latitude_deg":11.4746592,"altitude":19,"angle":321,"satellites":40,"speed":6,"hex_longitude":"2d15af00","hex_latitude":"06d6e4e0","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502303232001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385606158154465280,"note":"Value kept but may cause issues"} 
[2026-08-19 11:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562889837560887296,"note":"Value kept but may cause issues"} 
[2026-08-19 11:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787118376000,"timestamp_ms":1787118376000,"timestamp_seconds":1787118376,"priority":1,"record_length":96,"hex_timestamp":"000001a0188e5440"} 
[2026-08-19 11:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:19: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-08-19 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 11:19:05] 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-08-19 11: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-08-19 11:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502303232001,"66":27919,"183":206,"81":20480,"24":6,"16":385606158154465280,"45":1562889837560887296},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-19 11:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502303232001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:19:05] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-19 11:19:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385606158154465280,"km_value":385606158154465.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562889837560887296,"description":"Unknown IO ID 45"} 
[2026-08-19 11:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502303232001,"power":27919,"unknown_183":206,"unknown_81":20480,"ignition":6,"odometer":null,"unknown_45":1562889837560887296}} 
[2026-08-19 11:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":160063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:19:05] local.INFO: GPS data processed {"connection_id":160063,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:19:05] local.INFO: Acknowledgment sent {"connection_id":160063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:19:09] local.INFO: TCP Data received {"connection_id":160064,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:19:09] local.INFO: Processing buffer {"connection_id":160064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:19:09] local.INFO: IMEI packet received {"connection_id":160064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":160064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:19:14] local.INFO: TCP Data received {"connection_id":160064,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:19:14] local.INFO: Processing buffer {"connection_id":160064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:19:14] local.INFO: IMEI packet received {"connection_id":160064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":160064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:19:16] local.INFO: TCP Data received {"connection_id":160064,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188e4c70012d1822400721b500004c00da28..."} 
[2026-08-19 11:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188e4c70012d1822400721b500004c00da28..."} 
[2026-08-19 11:19:16] local.INFO: Processing buffer {"connection_id":160064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188e4c70012d1822400721b500004c00da28..."} 
[2026-08-19 11:19:16] local.INFO: Packet analysis {"connection_id":160064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188e"} 
[2026-08-19 11:19:16] local.INFO: Extracted packet for processing {"connection_id":160064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188e"} 
[2026-08-19 11:19:16] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502298368001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:19:16] 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-08-19 11:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787118374000,"timestamp_ms":1787118374000,"timestamp_seconds":1787118374,"priority":1,"record_length":96,"hex_timestamp":"000001a0188e4c70"} 
[2026-08-19 11:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-19 11:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502298368001,"66":12667,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502298368001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:19:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:19:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502298368001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":160064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:19:16] local.INFO: GPS data processed {"connection_id":160064,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:19:16] local.INFO: Acknowledgment sent {"connection_id":160064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:19:36] local.INFO: TCP Data received {"connection_id":160063,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0188e8320012d15a6c006d6ee600011013526..."} 
[2026-08-19 11:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188e8320012d15a6c006d6ee600011013526..."} 
[2026-08-19 11:19:36] local.INFO: Processing buffer {"connection_id":160063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188e8320012d15a6c006d6ee600011013526..."} 
[2026-08-19 11:19:36] local.INFO: Packet analysis {"connection_id":160063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188e"} 
[2026-08-19 11:19:36] local.INFO: Extracted packet for processing {"connection_id":160063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188e"} 
[2026-08-19 11:19:36] local.INFO: GPS Element Parsed {"raw_longitude":756393664,"raw_latitude":114749024,"longitude_deg":75.6393664,"latitude_deg":11.4749024,"altitude":17,"angle":309,"satellites":38,"speed":15,"hex_longitude":"2d15a6c0","hex_latitude":"06d6ee60","is_valid_coordinates":true} 
[2026-08-19 11:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502304256001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385606312773287936,"note":"Value kept but may cause issues"} 
[2026-08-19 11:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562467625095979008,"note":"Value kept but may cause issues"} 
[2026-08-19 11:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787118388000,"timestamp_ms":1787118388000,"timestamp_seconds":1787118388,"priority":1,"record_length":96,"hex_timestamp":"000001a0188e8320"} 
[2026-08-19 11:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:19: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-08-19 11:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 11:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502304256001,"66":27974,"46":206,"81":20480,"24":15,"16":385606312773287936,"45":1562467625095979008},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-08-19 11:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502304256001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:19:36] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-19 11:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385606312773287936,"km_value":385606312773287.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562467625095979008,"description":"Unknown IO ID 45"} 
[2026-08-19 11:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502304256001,"power":27974,"unknown_46":206,"unknown_81":20480,"ignition":15,"odometer":null,"unknown_45":1562467625095979008}} 
[2026-08-19 11:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":160063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:19:36] local.INFO: GPS data processed {"connection_id":160063,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:19:36] local.INFO: Acknowledgment sent {"connection_id":160063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:19:48] local.INFO: TCP Data received {"connection_id":160064,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188e9e78012d1822400721b500004c00da29..."} 
[2026-08-19 11:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188e9e78012d1822400721b500004c00da29..."} 
[2026-08-19 11:19:48] local.INFO: Processing buffer {"connection_id":160064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188e9e78012d1822400721b500004c00da29..."} 
[2026-08-19 11:19:48] local.INFO: Packet analysis {"connection_id":160064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188e"} 
[2026-08-19 11:19:48] local.INFO: Extracted packet for processing {"connection_id":160064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188e"} 
[2026-08-19 11:19:48] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 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-08-19 11:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502303744001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:19:48] 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-08-19 11:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787118395000,"timestamp_ms":1787118395000,"timestamp_seconds":1787118395,"priority":1,"record_length":96,"hex_timestamp":"000001a0188e9e78"} 
[2026-08-19 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-08-19 11:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-19 11:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 11:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502303744001,"66":12613,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502303744001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:19:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:19:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502303744001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":160064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:19:48] local.INFO: GPS data processed {"connection_id":160064,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:19:48] local.INFO: Acknowledgment sent {"connection_id":160064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:19:59] local.INFO: TCP Data received {"connection_id":157511,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:19:59] local.INFO: Processing buffer {"connection_id":157511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:19:59] local.INFO: IMEI packet received {"connection_id":157511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":157511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:20:02] local.INFO: TCP Data received {"connection_id":157511,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:20:02] local.INFO: Processing buffer {"connection_id":157511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:20:02] local.INFO: IMEI packet received {"connection_id":157511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":157511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:20:05] local.INFO: TCP Data received {"connection_id":157511,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:20:05] local.INFO: Processing buffer {"connection_id":157511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:20:05] local.INFO: IMEI packet received {"connection_id":157511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":157511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:20:07] local.INFO: TCP Data received {"connection_id":157511,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01890c540012d14cc0006d7ce68000f013d2c..."} 
[2026-08-19 11:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01890c540012d14cc0006d7ce68000f013d2c..."} 
[2026-08-19 11:20:07] local.INFO: Processing buffer {"connection_id":157511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01890c540012d14cc0006d7ce68000f013d2c..."} 
[2026-08-19 11:20:07] local.INFO: Packet analysis {"connection_id":157511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01890"} 
[2026-08-19 11:20:07] local.INFO: Extracted packet for processing {"connection_id":157511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01890"} 
[2026-08-19 11:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756337664,"raw_latitude":114806376,"longitude_deg":75.6337664,"latitude_deg":11.4806376,"altitude":15,"angle":317,"satellites":44,"speed":48,"hex_longitude":"2d14cc00","hex_latitude":"06d7ce68","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502343168001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385610182538821632,"note":"Value kept but may cause issues"} 
[2026-08-19 11:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1505961523534882816,"note":"Value kept but may cause issues"} 
[2026-08-19 11:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787118536000,"timestamp_ms":1787118536000,"timestamp_seconds":1787118536,"priority":1,"record_length":96,"hex_timestamp":"000001a01890c540"} 
[2026-08-19 11:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:20: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-08-19 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:20:07] 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-08-19 11: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-08-19 11:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502343168001,"66":27843,"183":206,"81":20480,"24":48,"16":385610182538821632,"45":1505961523534882816},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-19 11:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502343168001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:20:07] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-19 11:20:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385610182538821632,"km_value":385610182538821.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1505961523534882816,"description":"Unknown IO ID 45"} 
[2026-08-19 11:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502343168001,"power":27843,"unknown_183":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1505961523534882816}} 
[2026-08-19 11:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":157511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:20:07] local.INFO: GPS data processed {"connection_id":157511,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:20:07] local.INFO: Acknowledgment sent {"connection_id":157511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:20:09] local.INFO: TCP Data received {"connection_id":158757,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:20:09] local.INFO: Processing buffer {"connection_id":158757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:20:09] local.INFO: IMEI packet received {"connection_id":158757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":158757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:20:14] local.INFO: TCP Data received {"connection_id":158757,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:20:14] local.INFO: Processing buffer {"connection_id":158757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:20:14] local.INFO: IMEI packet received {"connection_id":158757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":158757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:20:15] local.INFO: TCP Data received {"connection_id":158757,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188ef080012d1822400721b500004c00da29..."} 
[2026-08-19 11:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188ef080012d1822400721b500004c00da29..."} 
[2026-08-19 11:20:15] local.INFO: Processing buffer {"connection_id":158757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188ef080012d1822400721b500004c00da29..."} 
[2026-08-19 11:20:15] local.INFO: Packet analysis {"connection_id":158757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188e"} 
[2026-08-19 11:20:15] local.INFO: Extracted packet for processing {"connection_id":158757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188e"} 
[2026-08-19 11:20:15] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 11:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502309120001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:20: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-08-19 11:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787118416000,"timestamp_ms":1787118416000,"timestamp_seconds":1787118416,"priority":1,"record_length":96,"hex_timestamp":"000001a0188ef080"} 
[2026-08-19 11:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-19 11:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502309120001,"66":12645,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502309120001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:20:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:20:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502309120001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":158757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:20:16] local.INFO: GPS data processed {"connection_id":158757,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:20:16] local.INFO: Acknowledgment sent {"connection_id":158757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:20:39] local.INFO: TCP Data received {"connection_id":157511,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01890e098012d14b34006d7e7a00010013b2b..."} 
[2026-08-19 11:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01890e098012d14b34006d7e7a00010013b2b..."} 
[2026-08-19 11:20:39] local.INFO: Processing buffer {"connection_id":157511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01890e098012d14b34006d7e7a00010013b2b..."} 
[2026-08-19 11:20:39] local.INFO: Packet analysis {"connection_id":157511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01890"} 
[2026-08-19 11:20:39] local.INFO: Extracted packet for processing {"connection_id":157511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01890"} 
[2026-08-19 11:20:39] local.INFO: GPS Element Parsed {"raw_longitude":756331328,"raw_latitude":114812832,"longitude_deg":75.6331328,"latitude_deg":11.4812832,"altitude":16,"angle":315,"satellites":43,"speed":52,"hex_longitude":"2d14b340","hex_latitude":"06d7e7a0","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502345216001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385610616330518528,"note":"Value kept but may cause issues"} 
[2026-08-19 11:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1498572805397964800,"note":"Value kept but may cause issues"} 
[2026-08-19 11:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787118543000,"timestamp_ms":1787118543000,"timestamp_seconds":1787118543,"priority":1,"record_length":96,"hex_timestamp":"000001a01890e098"} 
[2026-08-19 11:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 11:20:39] 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-08-19 11: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-08-19 11:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502345216001,"66":27865,"183":206,"81":20480,"24":52,"16":385610616330518528,"45":1498572805397964800},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-19 11:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502345216001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:20:39] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-19 11:20:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385610616330518528,"km_value":385610616330518.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1498572805397964800,"description":"Unknown IO ID 45"} 
[2026-08-19 11:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502345216001,"power":27865,"unknown_183":206,"unknown_81":20480,"ignition":52,"odometer":null,"unknown_45":1498572805397964800}} 
[2026-08-19 11:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":157511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:20:39] local.INFO: GPS data processed {"connection_id":157511,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:20:39] local.INFO: Acknowledgment sent {"connection_id":157511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:20:47] local.INFO: TCP Data received {"connection_id":158757,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188f4288012d1822400721b500004c00da28..."} 
[2026-08-19 11:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188f4288012d1822400721b500004c00da28..."} 
[2026-08-19 11:20:47] local.INFO: Processing buffer {"connection_id":158757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188f4288012d1822400721b500004c00da28..."} 
[2026-08-19 11:20:47] local.INFO: Packet analysis {"connection_id":158757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188f"} 
[2026-08-19 11:20:47] local.INFO: Extracted packet for processing {"connection_id":158757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188f"} 
[2026-08-19 11:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502314496001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:20:47] 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-08-19 11:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787118437000,"timestamp_ms":1787118437000,"timestamp_seconds":1787118437,"priority":1,"record_length":96,"hex_timestamp":"000001a0188f4288"} 
[2026-08-19 11:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-19 11:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502314496001,"66":12645,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502314496001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:20:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:20:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502314496001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":158757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:20:47] local.INFO: GPS data processed {"connection_id":158757,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:20:47] local.INFO: Acknowledgment sent {"connection_id":158757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:21:05] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:21:05] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:21:05] local.INFO: IMEI packet received {"connection_id":160065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":160065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:21:07] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:21:07] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:21:07] local.INFO: IMEI packet received {"connection_id":160065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":160065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:21:08] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01890fbf0012d1498c006d802580010013b2c..."} 
[2026-08-19 11:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01890fbf0012d1498c006d802580010013b2c..."} 
[2026-08-19 11:21:08] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01890fbf0012d1498c006d802580010013b2c..."} 
[2026-08-19 11:21:08] local.INFO: Packet analysis {"connection_id":160065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01890"} 
[2026-08-19 11:21:08] local.INFO: Extracted packet for processing {"connection_id":160065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01890"} 
[2026-08-19 11:21:08] local.INFO: GPS Element Parsed {"raw_longitude":756324544,"raw_latitude":114819672,"longitude_deg":75.6324544,"latitude_deg":11.4819672,"altitude":16,"angle":315,"satellites":44,"speed":55,"hex_longitude":"2d1498c0","hex_latitude":"06d80258","is_valid_coordinates":true} 
[2026-08-19 11:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502347008001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385611080186986496,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1491606299726028800,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787118550000,"timestamp_ms":1787118550000,"timestamp_seconds":1787118550,"priority":1,"record_length":96,"hex_timestamp":"000001a01890fbf0"} 
[2026-08-19 11:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:21: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-08-19 11:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:21: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-08-19 11:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502347008001,"66":27908,"183":206,"81":20480,"24":55,"16":385611080186986496,"45":1491606299726028800},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-19 11:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502347008001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:21:08] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-19 11:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385611080186986496,"km_value":385611080186986.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1491606299726028800,"description":"Unknown IO ID 45"} 
[2026-08-19 11:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502347008001,"power":27908,"unknown_183":206,"unknown_81":20480,"ignition":55,"odometer":null,"unknown_45":1491606299726028800}} 
[2026-08-19 11:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":160065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:21:08] local.INFO: GPS data processed {"connection_id":160065,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:21:08] local.INFO: Acknowledgment sent {"connection_id":160065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:21:09] local.INFO: TCP Data received {"connection_id":157886,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:21:09] local.INFO: Processing buffer {"connection_id":157886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:21:09] local.INFO: IMEI packet received {"connection_id":157886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":157886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:21:11] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018911748012d147d0006d81ec00010013b2c..."} 
[2026-08-19 11:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018911748012d147d0006d81ec00010013b2c..."} 
[2026-08-19 11:21:11] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018911748012d147d0006d81ec00010013b2c..."} 
[2026-08-19 11:21:11] local.INFO: Packet analysis {"connection_id":160065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01891"} 
[2026-08-19 11:21:11] local.INFO: Extracted packet for processing {"connection_id":160065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01891"} 
[2026-08-19 11:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756317440,"raw_latitude":114826944,"longitude_deg":75.631744,"latitude_deg":11.4826944,"altitude":16,"angle":315,"satellites":44,"speed":58,"hex_longitude":"2d147d00","hex_latitude":"06d81ec0","is_valid_coordinates":true} 
[2026-08-19 11:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502348800001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385611565518290944,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1484147212844947456,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787118557000,"timestamp_ms":1787118557000,"timestamp_seconds":1787118557,"priority":1,"record_length":96,"hex_timestamp":"000001a018911748"} 
[2026-08-19 11:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:21: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-08-19 11:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502348800001,"66":27919,"183":206,"81":20480,"24":58,"16":385611565518290944,"45":1484147212844947456},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-08-19 11:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502348800001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:21:11] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-19 11:21:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385611565518290944,"km_value":385611565518290.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1484147212844947456,"description":"Unknown IO ID 45"} 
[2026-08-19 11:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502348800001,"power":27919,"unknown_183":206,"unknown_81":20480,"ignition":58,"odometer":null,"unknown_45":1484147212844947456}} 
[2026-08-19 11:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":160065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:21:11] local.INFO: GPS data processed {"connection_id":160065,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:21:11] local.INFO: Acknowledgment sent {"connection_id":160065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:21:14] local.INFO: TCP Data received {"connection_id":157886,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:21:14] local.INFO: Processing buffer {"connection_id":157886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:21:14] local.INFO: IMEI packet received {"connection_id":157886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":157886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:21:15] local.INFO: TCP Data received {"connection_id":157886,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188f9490012d1822400721b500004c00da29..."} 
[2026-08-19 11:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188f9490012d1822400721b500004c00da29..."} 
[2026-08-19 11:21:15] local.INFO: Processing buffer {"connection_id":157886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188f9490012d1822400721b500004c00da29..."} 
[2026-08-19 11:21:15] local.INFO: Packet analysis {"connection_id":157886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188f"} 
[2026-08-19 11:21:15] local.INFO: Extracted packet for processing {"connection_id":157886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188f"} 
[2026-08-19 11:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502319872001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21: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-08-19 11:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787118458000,"timestamp_ms":1787118458000,"timestamp_seconds":1787118458,"priority":1,"record_length":96,"hex_timestamp":"000001a0188f9490"} 
[2026-08-19 11:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-19 11:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502319872001,"66":12558,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502319872001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:21:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:21:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502319872001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":157886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:21:15] local.INFO: GPS data processed {"connection_id":157886,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:21:15] local.INFO: Acknowledgment sent {"connection_id":157886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:21:43] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189276d8012d13cd0006d97630001000002b..."} 
[2026-08-19 11:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189276d8012d13cd0006d97630001000002b..."} 
[2026-08-19 11:21:43] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189276d8012d13cd0006d97630001000002b..."} 
[2026-08-19 11:21:43] local.INFO: Packet analysis {"connection_id":160065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01892"} 
[2026-08-19 11:21:43] local.INFO: Extracted packet for processing {"connection_id":160065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01892"} 
[2026-08-19 11:21:43] local.INFO: GPS Element Parsed {"raw_longitude":756272384,"raw_latitude":114914864,"longitude_deg":75.6272384,"latitude_deg":11.4914864,"altitude":16,"angle":0,"satellites":43,"speed":59,"hex_longitude":"2d13cd00","hex_latitude":"06d97630","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502372352001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385616401651466240,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1427359636316092416,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787118647000,"timestamp_ms":1787118647000,"timestamp_seconds":1787118647,"priority":1,"record_length":96,"hex_timestamp":"000001a0189276d8"} 
[2026-08-19 11:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 11:21:43] 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-08-19 11: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-08-19 11:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502372352001,"66":27843,"151":206,"81":20480,"24":59,"16":385616401651466240,"45":1427359636316092416},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,81,24,16,45]} 
[2026-08-19 11:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502372352001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:21:43] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-19 11:21:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385616401651466240,"km_value":385616401651466.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1427359636316092416,"description":"Unknown IO ID 45"} 
[2026-08-19 11:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502372352001,"power":27843,"unknown_151":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1427359636316092416}} 
[2026-08-19 11:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":160065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:21:43] local.INFO: GPS data processed {"connection_id":160065,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:21:43] local.INFO: Acknowledgment sent {"connection_id":160065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:21:47] local.INFO: TCP Data received {"connection_id":157886,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0188fe698012d1822400721b500004c00da28..."} 
[2026-08-19 11:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0188fe698012d1822400721b500004c00da28..."} 
[2026-08-19 11:21:47] local.INFO: Processing buffer {"connection_id":157886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0188fe698012d1822400721b500004c00da28..."} 
[2026-08-19 11:21:47] local.INFO: Packet analysis {"connection_id":157886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0188f"} 
[2026-08-19 11:21:47] local.INFO: Extracted packet for processing {"connection_id":157886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0188f"} 
[2026-08-19 11:21:47] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502325248001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:47] 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-08-19 11:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787118479000,"timestamp_ms":1787118479000,"timestamp_seconds":1787118479,"priority":1,"record_length":96,"hex_timestamp":"000001a0188fe698"} 
[2026-08-19 11:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-19 11:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:47] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2387374081,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384789540713728,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3036676172,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 11:21:47] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2705391616,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:47] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:47] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:47] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-19 11:21:47] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,120,28,24,241,158,16,161,160,66,45,64,181,76,40,10,240,41,1,69,33,4,113,205,250,34,239,49,2,48,7,231,60,206],"length":575,"final_offset":705,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 11:21:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476617016511037440,"timestamp_seconds":5476617016511037.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 11:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502325248001,"66":11721,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502325248001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:21:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:21:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502325248001,"power":11721,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":157886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:21:47] local.INFO: GPS data processed {"connection_id":157886,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:21:47] local.INFO: Acknowledgment sent {"connection_id":157886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:21:58] local.INFO: TCP Data received {"connection_id":160066,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:21:58] local.INFO: Processing buffer {"connection_id":160066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:21:58] local.INFO: IMEI packet received {"connection_id":160066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":160066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:21:59] local.INFO: TCP Data received {"connection_id":160066,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:21:59] local.INFO: Processing buffer {"connection_id":160066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:21:59] local.INFO: IMEI packet received {"connection_id":160066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":160066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:22:04] local.INFO: TCP Data received {"connection_id":160066,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:22:04] local.INFO: Processing buffer {"connection_id":160066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:22:04] local.INFO: IMEI packet received {"connection_id":160066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":160066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:22:05] local.INFO: TCP Data received {"connection_id":160066,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018928e48012d13ce4006d999d0001000032b..."} 
[2026-08-19 11:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018928e48012d13ce4006d999d0001000032b..."} 
[2026-08-19 11:22:05] local.INFO: Processing buffer {"connection_id":160066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018928e48012d13ce4006d999d0001000032b..."} 
[2026-08-19 11:22:05] local.INFO: Packet analysis {"connection_id":160066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01892"} 
[2026-08-19 11:22:05] local.INFO: Extracted packet for processing {"connection_id":160066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01892"} 
[2026-08-19 11:22:05] local.INFO: GPS Element Parsed {"raw_longitude":756272704,"raw_latitude":114923984,"longitude_deg":75.6272704,"latitude_deg":11.4923984,"altitude":16,"angle":3,"satellites":43,"speed":60,"hex_longitude":"2d13ce40","hex_latitude":"06d999d0","is_valid_coordinates":true} 
[2026-08-19 11:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502373632001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385616844033097728,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1426796686364520448,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787118653000,"timestamp_ms":1787118653000,"timestamp_seconds":1787118653,"priority":1,"record_length":96,"hex_timestamp":"000001a018928e48"} 
[2026-08-19 11:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:22: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-08-19 11:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 11:22: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-08-19 11:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502373632001,"66":27843,"151":206,"81":20480,"24":60,"16":385616844033097728,"45":1426796686364520448},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,81,24,16,45]} 
[2026-08-19 11:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502373632001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:22:05] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-19 11:22:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385616844033097728,"km_value":385616844033097.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1426796686364520448,"description":"Unknown IO ID 45"} 
[2026-08-19 11:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502373632001,"power":27843,"unknown_151":206,"unknown_81":20480,"ignition":60,"odometer":null,"unknown_45":1426796686364520448}} 
[2026-08-19 11:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":160066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:22:05] local.INFO: GPS data processed {"connection_id":160066,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:22:05] local.INFO: Acknowledgment sent {"connection_id":160066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:22:09] local.INFO: TCP Data received {"connection_id":157512,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:22:09] local.INFO: Processing buffer {"connection_id":157512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:22:09] local.INFO: IMEI packet received {"connection_id":157512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":157512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:22:14] local.INFO: TCP Data received {"connection_id":157512,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:22:14] local.INFO: Processing buffer {"connection_id":157512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:22:14] local.INFO: IMEI packet received {"connection_id":157512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":157512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:22:15] local.INFO: TCP Data received {"connection_id":157512,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0189038a0012d1822400721b500004c00da2a..."} 
[2026-08-19 11:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189038a0012d1822400721b500004c00da2a..."} 
[2026-08-19 11:22:15] local.INFO: Processing buffer {"connection_id":157512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189038a0012d1822400721b500004c00da2a..."} 
[2026-08-19 11:22:15] local.INFO: Packet analysis {"connection_id":157512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01890"} 
[2026-08-19 11:22:15] local.INFO: Extracted packet for processing {"connection_id":157512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01890"} 
[2026-08-19 11:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 11:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502330624001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22: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-08-19 11:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787118500000,"timestamp_ms":1787118500000,"timestamp_seconds":1787118500,"priority":1,"record_length":96,"hex_timestamp":"000001a0189038a0"} 
[2026-08-19 11:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:22:15] 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-08-19 11:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-19 11:22:15] 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-08-19 11:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502330624001,"66":12558,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502330624001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:22:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:22:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502330624001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":157512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:22:15] local.INFO: GPS data processed {"connection_id":157512,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:22:15] local.INFO: Acknowledgment sent {"connection_id":157512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:22:36] local.INFO: TCP Data received {"connection_id":160066,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01892a5b8012d13d04006d9bd00001000012b..."} 
[2026-08-19 11:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01892a5b8012d13d04006d9bd00001000012b..."} 
[2026-08-19 11:22:36] local.INFO: Processing buffer {"connection_id":160066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01892a5b8012d13d04006d9bd00001000012b..."} 
[2026-08-19 11:22:36] local.INFO: Packet analysis {"connection_id":160066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01892"} 
[2026-08-19 11:22:36] local.INFO: Extracted packet for processing {"connection_id":160066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01892"} 
[2026-08-19 11:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756273216,"raw_latitude":114932992,"longitude_deg":75.6273216,"latitude_deg":11.4932992,"altitude":16,"angle":1,"satellites":43,"speed":59,"hex_longitude":"2d13d040","hex_latitude":"06d9bd00","is_valid_coordinates":true} 
[2026-08-19 11:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502375168001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385617282119761920,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1427148530087743488,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787118659000,"timestamp_ms":1787118659000,"timestamp_seconds":1787118659,"priority":1,"record_length":96,"hex_timestamp":"000001a01892a5b8"} 
[2026-08-19 11:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:22: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-08-19 11:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 11:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502375168001,"66":27908,"151":206,"81":20480,"24":59,"16":385617282119761920,"45":1427148530087743488},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,81,24,16,45]} 
[2026-08-19 11:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502375168001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:22:36] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-19 11:22:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385617282119761920,"km_value":385617282119761.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1427148530087743488,"description":"Unknown IO ID 45"} 
[2026-08-19 11:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502375168001,"power":27908,"unknown_151":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1427148530087743488}} 
[2026-08-19 11:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":160066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:22:36] local.INFO: GPS data processed {"connection_id":160066,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:22:36] local.INFO: Acknowledgment sent {"connection_id":160066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:22:47] local.INFO: TCP Data received {"connection_id":157512,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018908aa8012d1822400721b500004c00da28..."} 
[2026-08-19 11:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018908aa8012d1822400721b500004c00da28..."} 
[2026-08-19 11:22:47] local.INFO: Processing buffer {"connection_id":157512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018908aa8012d1822400721b500004c00da28..."} 
[2026-08-19 11:22:47] local.INFO: Packet analysis {"connection_id":157512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01890"} 
[2026-08-19 11:22:47] local.INFO: Extracted packet for processing {"connection_id":157512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01890"} 
[2026-08-19 11:22:47] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502336000001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:47] 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-08-19 11:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787118521000,"timestamp_ms":1787118521000,"timestamp_seconds":1787118521,"priority":1,"record_length":96,"hex_timestamp":"000001a018908aa8"} 
[2026-08-19 11:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-19 11:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:47] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2398126081,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384789540713728,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3036676172,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 11:22:47] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2705391616,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:47] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:47] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:47] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-19 11:22:47] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,161,160,230,45,64,181,76,40,10,66,148,41,1,240,101,33,4,113,205,34,239,49,2,48,7,231,60,206],"length":575,"final_offset":705,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 11:22:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476617020806004736,"timestamp_seconds":5476617020806005.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 11:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502336000001,"66":12385,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502336000001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:22:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:22:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502336000001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":157512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:22:47] local.INFO: GPS data processed {"connection_id":157512,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:22:47] local.INFO: Acknowledgment sent {"connection_id":157512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:23:00] local.INFO: TCP Data received {"connection_id":160067,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:23:00] local.INFO: Processing buffer {"connection_id":160067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:23:00] local.INFO: IMEI packet received {"connection_id":160067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":160067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:23:00] local.INFO: TCP Data received {"connection_id":160067,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:23:00] local.INFO: Processing buffer {"connection_id":160067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:23:00] local.INFO: IMEI packet received {"connection_id":160067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":160067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:23:04] local.INFO: TCP Data received {"connection_id":160067,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:23:04] local.INFO: Processing buffer {"connection_id":160067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:23:04] local.INFO: IMEI packet received {"connection_id":160067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":160067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:23:05] local.INFO: TCP Data received {"connection_id":160067,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018939400012d13a54006db18b00011015f2a..."} 
[2026-08-19 11:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018939400012d13a54006db18b00011015f2a..."} 
[2026-08-19 11:23:05] local.INFO: Processing buffer {"connection_id":160067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018939400012d13a54006db18b00011015f2a..."} 
[2026-08-19 11:23:05] local.INFO: Packet analysis {"connection_id":160067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01893"} 
[2026-08-19 11:23:05] local.INFO: Extracted packet for processing {"connection_id":160067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01893"} 
[2026-08-19 11:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756262208,"raw_latitude":115022000,"longitude_deg":75.6262208,"latitude_deg":11.5022,"altitude":17,"angle":351,"satellites":42,"speed":59,"hex_longitude":"2d13a540","hex_latitude":"06db18b0","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502390784001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385621662986403840,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1416100637274656768,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787118720000,"timestamp_ms":1787118720000,"timestamp_seconds":1787118720,"priority":1,"record_length":96,"hex_timestamp":"000001a018939400"} 
[2026-08-19 11:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:23: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-08-19 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 11:23: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-08-19 11: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-08-19 11:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502390784001,"66":27821,"152":206,"81":20480,"24":59,"16":385621662986403840,"45":1416100637274656768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-08-19 11:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502390784001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:23:05] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-19 11:23:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385621662986403840,"km_value":385621662986403.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1416100637274656768,"description":"Unknown IO ID 45"} 
[2026-08-19 11:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502390784001,"power":27821,"unknown_152":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1416100637274656768}} 
[2026-08-19 11:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":160067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:23:05] local.INFO: GPS data processed {"connection_id":160067,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:23:05] local.INFO: Acknowledgment sent {"connection_id":160067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:23:08] local.INFO: TCP Data received {"connection_id":160067,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01893ab70012d139c8006db3a580011015529..."} 
[2026-08-19 11:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01893ab70012d139c8006db3a580011015529..."} 
[2026-08-19 11:23:08] local.INFO: Processing buffer {"connection_id":160067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01893ab70012d139c8006db3a580011015529..."} 
[2026-08-19 11:23:08] local.INFO: Packet analysis {"connection_id":160067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01893"} 
[2026-08-19 11:23:08] local.INFO: Extracted packet for processing {"connection_id":160067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01893"} 
[2026-08-19 11:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756259968,"raw_latitude":115030616,"longitude_deg":75.6259968,"latitude_deg":11.5030616,"altitude":17,"angle":341,"satellites":41,"speed":55,"hex_longitude":"2d139c80","hex_latitude":"06db3a58","is_valid_coordinates":true} 
[2026-08-19 11:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502392320001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385622096778100736,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1415608056067698688,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787118726000,"timestamp_ms":1787118726000,"timestamp_seconds":1787118726,"priority":1,"record_length":96,"hex_timestamp":"000001a01893ab70"} 
[2026-08-19 11:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:23: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-08-19 11:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 11:23:08] 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-08-19 11:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502392320001,"66":27745,"65":206,"81":20480,"24":55,"16":385622096778100736,"45":1415608056067698688},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-08-19 11:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502392320001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:23:08] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-19 11:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385622096778100736,"km_value":385622096778100.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1415608056067698688,"description":"Unknown IO ID 45"} 
[2026-08-19 11:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502392320001,"power":27745,"unknown_65":206,"unknown_81":20480,"ignition":55,"odometer":null,"unknown_45":1415608056067698688}} 
[2026-08-19 11:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":160067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:23:08] local.INFO: GPS data processed {"connection_id":160067,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:23:08] local.INFO: Acknowledgment sent {"connection_id":160067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:23:10] local.INFO: TCP Data received {"connection_id":157887,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:23:10] local.INFO: Processing buffer {"connection_id":157887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:23:10] local.INFO: IMEI packet received {"connection_id":157887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":157887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:23:14] local.INFO: TCP Data received {"connection_id":157887,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:23:14] local.INFO: Processing buffer {"connection_id":157887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:23:14] local.INFO: IMEI packet received {"connection_id":157887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":157887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:23:19] local.INFO: TCP Data received {"connection_id":157887,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:23:19] local.INFO: Processing buffer {"connection_id":157887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:23:19] local.INFO: IMEI packet received {"connection_id":157887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":157887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:23:20] local.INFO: TCP Data received {"connection_id":157887,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01890dcb0012d1822400721b500004c00da2a..."} 
[2026-08-19 11:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01890dcb0012d1822400721b500004c00da2a..."} 
[2026-08-19 11:23:20] local.INFO: Processing buffer {"connection_id":157887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01890dcb0012d1822400721b500004c00da2a..."} 
[2026-08-19 11:23:20] local.INFO: Packet analysis {"connection_id":157887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01890"} 
[2026-08-19 11:23:20] local.INFO: Extracted packet for processing {"connection_id":157887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01890"} 
[2026-08-19 11:23:20] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 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-08-19 11:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502341376001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:20] 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-08-19 11:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787118542000,"timestamp_ms":1787118542000,"timestamp_seconds":1787118542,"priority":1,"record_length":96,"hex_timestamp":"000001a01890dcb0"} 
[2026-08-19 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-08-19 11:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 11:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 11:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502341376001,"66":12558,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502341376001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:23:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:23:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502341376001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":157887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:23:21] local.INFO: GPS data processed {"connection_id":157887,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:23:21] local.INFO: Acknowledgment sent {"connection_id":157887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:23:25] local.INFO: TCP Data received {"connection_id":157887,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018912eb8012d1822400721b500004c00da2a..."} 
[2026-08-19 11:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018912eb8012d1822400721b500004c00da2a..."} 
[2026-08-19 11:23:25] local.INFO: Processing buffer {"connection_id":157887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018912eb8012d1822400721b500004c00da2a..."} 
[2026-08-19 11:23:25] local.INFO: Packet analysis {"connection_id":157887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01891"} 
[2026-08-19 11:23:25] local.INFO: Extracted packet for processing {"connection_id":157887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01891"} 
[2026-08-19 11:23:25] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502346752001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:25] 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-08-19 11:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787118563000,"timestamp_ms":1787118563000,"timestamp_seconds":1787118563,"priority":1,"record_length":96,"hex_timestamp":"000001a018912eb8"} 
[2026-08-19 11:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:23:25] 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-08-19 11: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-19 11:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:25] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2408878081,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:25] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384789540713728,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:25] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3036676172,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 11:23:25] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2705391616,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:25] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:25] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:25] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:25] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,161,160,138,45,64,181,76,40,10,66,56,42,230,1,240,201,33,4,113,205,34,239,49,2,48,7,231,60,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 11:23:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476617020806004736,"timestamp_seconds":5476617020806005.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 11:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":157887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":157887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":157887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502346752001,"66":12558,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502346752001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:23:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:23:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502346752001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":157887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:23:25] local.INFO: GPS data processed {"connection_id":157887,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:23:25] local.INFO: Acknowledgment sent {"connection_id":157887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:23:40] local.INFO: TCP Data received {"connection_id":160067,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01893cab0012d138dc006db5f38000f015029..."} 
[2026-08-19 11:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01893cab0012d138dc006db5f38000f015029..."} 
[2026-08-19 11:23:40] local.INFO: Processing buffer {"connection_id":160067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01893cab0012d138dc006db5f38000f015029..."} 
[2026-08-19 11:23:40] local.INFO: Packet analysis {"connection_id":160067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01893"} 
[2026-08-19 11:23:40] local.INFO: Extracted packet for processing {"connection_id":160067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01893"} 
[2026-08-19 11:23:40] local.INFO: GPS Element Parsed {"raw_longitude":756256192,"raw_latitude":115040056,"longitude_deg":75.6256192,"latitude_deg":11.5040056,"altitude":15,"angle":336,"satellites":41,"speed":52,"hex_longitude":"2d138dc0","hex_latitude":"06db5f38","is_valid_coordinates":true} 
[2026-08-19 11:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502393856001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385622586404372480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1413145150023686144,"note":"Value kept but may cause issues"} 
[2026-08-19 11:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787118734000,"timestamp_ms":1787118734000,"timestamp_seconds":1787118734,"priority":1,"record_length":96,"hex_timestamp":"000001a01893cab0"} 
[2026-08-19 11:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 11:23:40] 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-08-19 11:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502393856001,"66":27908,"65":206,"81":20480,"24":52,"16":385622586404372480,"45":1413145150023686144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-08-19 11:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502393856001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:23:40] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-19 11:23:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385622586404372480,"km_value":385622586404372.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1413145150023686144,"description":"Unknown IO ID 45"} 
[2026-08-19 11:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502393856001,"power":27908,"unknown_65":206,"unknown_81":20480,"ignition":52,"odometer":null,"unknown_45":1413145150023686144}} 
[2026-08-19 11:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":160067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:23:40] local.INFO: GPS data processed {"connection_id":160067,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:23:40] local.INFO: Acknowledgment sent {"connection_id":160067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:23:56] local.INFO: TCP Data received {"connection_id":158758,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:23:56] local.INFO: Processing buffer {"connection_id":158758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:23:56] local.INFO: IMEI packet received {"connection_id":158758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":158758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:24:00] local.INFO: TCP Data received {"connection_id":158758,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:24:00] local.INFO: Processing buffer {"connection_id":158758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:24:00] local.INFO: IMEI packet received {"connection_id":158758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":158758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:24:04] local.INFO: TCP Data received {"connection_id":158758,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:24:04] local.INFO: Processing buffer {"connection_id":158758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:24:04] local.INFO: IMEI packet received {"connection_id":158758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":158758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:24:05] local.INFO: TCP Data received {"connection_id":158758,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01893e608012d137f0006db7fc8000c01512a..."} 
[2026-08-19 11:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01893e608012d137f0006db7fc8000c01512a..."} 
[2026-08-19 11:24:05] local.INFO: Processing buffer {"connection_id":158758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01893e608012d137f0006db7fc8000c01512a..."} 
[2026-08-19 11:24:05] local.INFO: Packet analysis {"connection_id":158758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01893"} 
[2026-08-19 11:24:05] local.INFO: Extracted packet for processing {"connection_id":158758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01893"} 
[2026-08-19 11:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756252416,"raw_latitude":115048392,"longitude_deg":75.6252416,"latitude_deg":11.5048392,"altitude":12,"angle":337,"satellites":42,"speed":49,"hex_longitude":"2d137f00","hex_latitude":"06db7fc8","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502395904001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385623028786003968,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1408993394119620608,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787118741000,"timestamp_ms":1787118741000,"timestamp_seconds":1787118741,"priority":1,"record_length":96,"hex_timestamp":"000001a01893e608"} 
[2026-08-19 11:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:24: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-08-19 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502395904001,"66":27865,"65":206,"81":20480,"24":49,"16":385623028786003968,"45":1408993394119620608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-08-19 11:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502395904001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:24:05] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-19 11:24:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385623028786003968,"km_value":385623028786003.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1408993394119620608,"description":"Unknown IO ID 45"} 
[2026-08-19 11:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502395904001,"power":27865,"unknown_65":206,"unknown_81":20480,"ignition":49,"odometer":null,"unknown_45":1408993394119620608}} 
[2026-08-19 11:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":158758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:24:05] local.INFO: GPS data processed {"connection_id":158758,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:24:05] local.INFO: Acknowledgment sent {"connection_id":158758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:24:09] local.INFO: TCP Data received {"connection_id":157888,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:24:09] local.INFO: Processing buffer {"connection_id":157888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:24:09] local.INFO: IMEI packet received {"connection_id":157888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":157888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:24:13] local.INFO: TCP Data received {"connection_id":157888,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:24:13] local.INFO: Processing buffer {"connection_id":157888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:24:13] local.INFO: IMEI packet received {"connection_id":157888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":157888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:24:15] local.INFO: TCP Data received {"connection_id":157888,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0189180c0012d1822400721b500004c00da2a..."} 
[2026-08-19 11:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189180c0012d1822400721b500004c00da2a..."} 
[2026-08-19 11:24:15] local.INFO: Processing buffer {"connection_id":157888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189180c0012d1822400721b500004c00da2a..."} 
[2026-08-19 11:24:15] local.INFO: Packet analysis {"connection_id":157888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01891"} 
[2026-08-19 11:24:15] local.INFO: Extracted packet for processing {"connection_id":157888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01891"} 
[2026-08-19 11:24:15] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649536,"longitude_deg":75.6556352,"latitude_deg":11.9649536,"altitude":76,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-19 11:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502352128001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688099427057664,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24: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-08-19 11:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787118584000,"timestamp_ms":1787118584000,"timestamp_seconds":1787118584,"priority":1,"record_length":96,"hex_timestamp":"000001a0189180c0"} 
[2026-08-19 11:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:24:15] 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-08-19 11:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-19 11:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:15] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2414254081,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384789540713728,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:15] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3036676172,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 11:24:15] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:15] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2705391616,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:15] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:15] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:15] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:15] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,161,160,220,45,64,181,76,42,10,66,138,40,56,1,240,14,33,4,113,205,148,34,41,239,49,2,48,7,231,60,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 11:24:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476617020806004736,"timestamp_seconds":5476617020806005.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 11:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502352128001,"66":12558,"120":206,"28":31744,"24":0,"16":13688099427057664,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502352128001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:24:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:24:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688099427057664,"km_value":13688099427057.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502352128001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":157888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:24:15] local.INFO: GPS data processed {"connection_id":157888,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:24:15] local.INFO: Acknowledgment sent {"connection_id":157888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:24:36] local.INFO: TCP Data received {"connection_id":158758,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018953210012d12ce4006dcf168001301552a..."} 
[2026-08-19 11:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018953210012d12ce4006dcf168001301552a..."} 
[2026-08-19 11:24:36] local.INFO: Processing buffer {"connection_id":158758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018953210012d12ce4006dcf168001301552a..."} 
[2026-08-19 11:24:36] local.INFO: Packet analysis {"connection_id":158758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01895"} 
[2026-08-19 11:24:36] local.INFO: Extracted packet for processing {"connection_id":158758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01895"} 
[2026-08-19 11:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756207168,"raw_latitude":115143016,"longitude_deg":75.6207168,"latitude_deg":11.5143016,"altitude":19,"angle":341,"satellites":42,"speed":42,"hex_longitude":"2d12ce40","hex_latitude":"06dcf168","is_valid_coordinates":true} 
[2026-08-19 11:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502417664001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385628118322249728,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1359383429498763264,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787118826000,"timestamp_ms":1787118826000,"timestamp_seconds":1787118826,"priority":1,"record_length":96,"hex_timestamp":"000001a018953210"} 
[2026-08-19 11:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:24: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-08-19 11:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:24:36] 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-08-19 11:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502417664001,"66":27800,"67":206,"81":20480,"24":42,"16":385628118322249728,"45":1359383429498763264},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-08-19 11:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502417664001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:24:36] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 11:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385628118322249728,"km_value":385628118322249.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1359383429498763264,"description":"Unknown IO ID 45"} 
[2026-08-19 11:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502417664001,"power":27800,"unknown_67":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1359383429498763264}} 
[2026-08-19 11:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":158758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:24:36] local.INFO: GPS data processed {"connection_id":158758,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:24:36] local.INFO: Acknowledgment sent {"connection_id":158758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:24:46] local.INFO: TCP Data received {"connection_id":157888,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01891d2c8012d1820400721b1c8004e00d829..."} 
[2026-08-19 11:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01891d2c8012d1820400721b1c8004e00d829..."} 
[2026-08-19 11:24:46] local.INFO: Processing buffer {"connection_id":157888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01891d2c8012d1820400721b1c8004e00d829..."} 
[2026-08-19 11:24:46] local.INFO: Packet analysis {"connection_id":157888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01891"} 
[2026-08-19 11:24:46] local.INFO: Extracted packet for processing {"connection_id":157888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01891"} 
[2026-08-19 11:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648712,"longitude_deg":75.655584,"latitude_deg":11.9648712,"altitude":78,"angle":216,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1c8","is_valid_coordinates":true} 
[2026-08-19 11:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502357504001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688150966665216,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492891648,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:46] 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-08-19 11:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787118605000,"timestamp_ms":1787118605000,"timestamp_seconds":1787118605,"priority":1,"record_length":96,"hex_timestamp":"000001a01891d2c8"} 
[2026-08-19 11:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:24:46] 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-08-19 11:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-19 11:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:46] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2419630081,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372273127,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384789540713728,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3036676172,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 11:24:46] local.WARNING: Large IO value detected {"io_id":230,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:46] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2705391616,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:46] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:46] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-19 11:24:46] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,161,160,46,45,64,181,76,42,10,66,220,138,1,240,97,33,4,113,205,230,34,40,239,2,48,7,231,60,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 11:24:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476617020806004736,"timestamp_seconds":5476617020806005.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 11:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502357504001,"66":12548,"120":206,"28":31744,"24":0,"16":13688150966665216,"45":1739022805492891648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502357504001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:24:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:24:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688150966665216,"km_value":13688150966665.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492891648,"description":"Unknown IO ID 45"} 
[2026-08-19 11:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502357504001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492891648}} 
[2026-08-19 11:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":157888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:24:46] local.INFO: GPS data processed {"connection_id":157888,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:24:46] local.INFO: Acknowledgment sent {"connection_id":157888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:24:59] local.INFO: TCP Data received {"connection_id":157513,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:24:59] local.INFO: Processing buffer {"connection_id":157513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:24:59] local.INFO: IMEI packet received {"connection_id":157513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":157513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:25:00] local.INFO: TCP Data received {"connection_id":157513,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:25:00] local.INFO: Processing buffer {"connection_id":157513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:25:00] local.INFO: IMEI packet received {"connection_id":157513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":157513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:25:09] local.INFO: TCP Data received {"connection_id":158759,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:25:09] local.INFO: Processing buffer {"connection_id":158759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:25:09] local.INFO: IMEI packet received {"connection_id":158759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":158759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:25:09] local.INFO: TCP Data received {"connection_id":157513,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:25:09] local.INFO: Processing buffer {"connection_id":157513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:25:09] local.INFO: IMEI packet received {"connection_id":157513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":157513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:25:10] local.INFO: TCP Data received {"connection_id":157513,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018953dc8012d12cc0006dcfc18001401622a..."} 
[2026-08-19 11:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018953dc8012d12cc0006dcfc18001401622a..."} 
[2026-08-19 11:25:10] local.INFO: Processing buffer {"connection_id":157513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018953dc8012d12cc0006dcfc18001401622a..."} 
[2026-08-19 11:25:10] local.INFO: Packet analysis {"connection_id":157513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01895"} 
[2026-08-19 11:25:10] local.INFO: Extracted packet for processing {"connection_id":157513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01895"} 
[2026-08-19 11:25:10] local.INFO: GPS Element Parsed {"raw_longitude":756206592,"raw_latitude":115145752,"longitude_deg":75.6206592,"latitude_deg":11.5145752,"altitude":20,"angle":354,"satellites":42,"speed":33,"hex_longitude":"2d12cc00","hex_latitude":"06dcfc18","is_valid_coordinates":true} 
[2026-08-19 11:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502419456001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385628255761203200,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1355090936105887744,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787118829000,"timestamp_ms":1787118829000,"timestamp_seconds":1787118829,"priority":1,"record_length":96,"hex_timestamp":"000001a018953dc8"} 
[2026-08-19 11:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:25: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-08-19 11:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 11:25:10] 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-08-19 11:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502419456001,"66":27865,"67":206,"81":20480,"24":33,"16":385628255761203200,"45":1355090936105887744},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-08-19 11:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502419456001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:25:10] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 11:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385628255761203200,"km_value":385628255761203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1355090936105887744,"description":"Unknown IO ID 45"} 
[2026-08-19 11:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502419456001,"power":27865,"unknown_67":206,"unknown_81":20480,"ignition":33,"odometer":null,"unknown_45":1355090936105887744}} 
[2026-08-19 11:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":157513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:25:10] local.INFO: GPS data processed {"connection_id":157513,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:25:10] local.INFO: Acknowledgment sent {"connection_id":157513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:25:14] local.INFO: TCP Data received {"connection_id":158759,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:25:14] local.INFO: Processing buffer {"connection_id":158759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:25:14] local.INFO: IMEI packet received {"connection_id":158759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":158759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:25:16] local.INFO: TCP Data received {"connection_id":158759,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0189224d0012d1820400721b1c8004e00d828..."} 
[2026-08-19 11:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189224d0012d1820400721b1c8004e00d828..."} 
[2026-08-19 11:25:16] local.INFO: Processing buffer {"connection_id":158759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189224d0012d1820400721b1c8004e00d828..."} 
[2026-08-19 11:25:16] local.INFO: Packet analysis {"connection_id":158759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01892"} 
[2026-08-19 11:25:16] local.INFO: Extracted packet for processing {"connection_id":158759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01892"} 
[2026-08-19 11:25:16] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648712,"longitude_deg":75.655584,"latitude_deg":11.9648712,"altitude":78,"angle":216,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b1c8","is_valid_coordinates":true} 
[2026-08-19 11:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502362880001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688150966665216,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539259392,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:16] 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-08-19 11:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787118626000,"timestamp_ms":1787118626000,"timestamp_seconds":1787118626,"priority":1,"record_length":96,"hex_timestamp":"000001a0189224d0"} 
[2026-08-19 11:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:25:16] 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-08-19 11:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:16] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2425006081,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184142831821,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3036676172,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 11:25:16] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:16] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2705391616,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:16] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:16] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,120,28,24,241,158,16,161,160,128,45,64,181,76,42,10,66,46,220,1,240,14,33,4,113,205,56,34,239,49,2,48,7,231],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 11:25:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620730005563637760,"timestamp_seconds":5620730005563638.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 11:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502362880001,"66":12548,"120":206,"28":31744,"24":0,"16":13688150966665216,"45":1738459855539259392},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502362880001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:25:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:25:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688150966665216,"km_value":13688150966665.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539259392,"description":"Unknown IO ID 45"} 
[2026-08-19 11:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502362880001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539259392}} 
[2026-08-19 11:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":158759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:25:16] local.INFO: GPS data processed {"connection_id":158759,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:25:16] local.INFO: Acknowledgment sent {"connection_id":158759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:25:42] local.INFO: TCP Data received {"connection_id":157513,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018954d68012d12c94006dd0910001401542a..."} 
[2026-08-19 11:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018954d68012d12c94006dd0910001401542a..."} 
[2026-08-19 11:25:42] local.INFO: Processing buffer {"connection_id":157513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018954d68012d12c94006dd0910001401542a..."} 
[2026-08-19 11:25:42] local.INFO: Packet analysis {"connection_id":157513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01895"} 
[2026-08-19 11:25:42] local.INFO: Extracted packet for processing {"connection_id":157513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01895"} 
[2026-08-19 11:25:42] local.INFO: GPS Element Parsed {"raw_longitude":756205888,"raw_latitude":115149072,"longitude_deg":75.6205888,"latitude_deg":11.5149072,"altitude":20,"angle":340,"satellites":42,"speed":34,"hex_longitude":"2d12c940","hex_latitude":"06dd0910","is_valid_coordinates":true} 
[2026-08-19 11:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502420224001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385628418969960448,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1354457617408989184,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787118833000,"timestamp_ms":1787118833000,"timestamp_seconds":1787118833,"priority":1,"record_length":96,"hex_timestamp":"000001a018954d68"} 
[2026-08-19 11:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:25:42] 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-08-19 11:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502420224001,"66":27919,"67":206,"81":20480,"24":34,"16":385628418969960448,"45":1354457617408989184},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-08-19 11:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502420224001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:25:42] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 11:25:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385628418969960448,"km_value":385628418969960.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1354457617408989184,"description":"Unknown IO ID 45"} 
[2026-08-19 11:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502420224001,"power":27919,"unknown_67":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":1354457617408989184}} 
[2026-08-19 11:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":157513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:25:42] local.INFO: GPS data processed {"connection_id":157513,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:25:42] local.INFO: Acknowledgment sent {"connection_id":157513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:25:47] local.INFO: TCP Data received {"connection_id":158759,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01895ab28012d181f800721b088004800d82a..."} 
[2026-08-19 11:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01895ab28012d181f800721b088004800d82a..."} 
[2026-08-19 11:25:47] local.INFO: Processing buffer {"connection_id":158759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01895ab28012d181f800721b088004800d82a..."} 
[2026-08-19 11:25:47] local.INFO: Packet analysis {"connection_id":158759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01895"} 
[2026-08-19 11:25:47] local.INFO: Extracted packet for processing {"connection_id":158759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01895"} 
[2026-08-19 11:25:47] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502422016001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539259392,"note":"Value kept but may cause issues"} 
[2026-08-19 11:25:47] 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-08-19 11:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787118857000,"timestamp_ms":1787118857000,"timestamp_seconds":1787118857,"priority":1,"record_length":96,"hex_timestamp":"000001a01895ab28"} 
[2026-08-19 11:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:25: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-08-19 11:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 11:25: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-08-19 11: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-08-19 11:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502422016001,"66":12504,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738459855539259392},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502422016001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:25:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:25:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539259392,"description":"Unknown IO ID 45"} 
[2026-08-19 11:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502422016001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738459855539259392}} 
[2026-08-19 11:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":158759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:25:47] local.INFO: GPS data processed {"connection_id":158759,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:25:47] local.INFO: Acknowledgment sent {"connection_id":158759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:26:04] local.INFO: TCP Data received {"connection_id":157889,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:26:04] local.INFO: Processing buffer {"connection_id":157889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:26:04] local.INFO: IMEI packet received {"connection_id":157889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":157889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:26:09] local.INFO: TCP Data received {"connection_id":157890,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:26:09] local.INFO: Processing buffer {"connection_id":157890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:26:09] local.INFO: IMEI packet received {"connection_id":157890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":157890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:26:09] local.INFO: TCP Data received {"connection_id":157889,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:26:09] local.INFO: Processing buffer {"connection_id":157889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:26:09] local.INFO: IMEI packet received {"connection_id":157889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":157889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:26:10] local.INFO: TCP Data received {"connection_id":157889,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189685e8012d1254c006de7b380011014d2a..."} 
[2026-08-19 11:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189685e8012d1254c006de7b380011014d2a..."} 
[2026-08-19 11:26:10] local.INFO: Processing buffer {"connection_id":157889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189685e8012d1254c006de7b380011014d2a..."} 
[2026-08-19 11:26:10] local.INFO: Packet analysis {"connection_id":157889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01896"} 
[2026-08-19 11:26:10] local.INFO: Extracted packet for processing {"connection_id":157889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01896"} 
[2026-08-19 11:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756176064,"raw_latitude":115243832,"longitude_deg":75.6176064,"latitude_deg":11.5243832,"altitude":17,"angle":333,"satellites":42,"speed":29,"hex_longitude":"2d1254c0","hex_latitude":"06de7b38","is_valid_coordinates":true} 
[2026-08-19 11:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502439680001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385633293757841408,"note":"Value kept but may cause issues"} 
[2026-08-19 11:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1323143526272817152,"note":"Value kept but may cause issues"} 
[2026-08-19 11:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787118913000,"timestamp_ms":1787118913000,"timestamp_seconds":1787118913,"priority":1,"record_length":96,"hex_timestamp":"000001a0189685e8"} 
[2026-08-19 11:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:26: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-08-19 11:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 11:26:10] 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-08-19 11:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502439680001,"66":27908,"231":206,"81":20480,"24":29,"16":385633293757841408,"45":1323143526272817152},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-08-19 11:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502439680001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:26:10] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-19 11:26:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385633293757841408,"km_value":385633293757841.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1323143526272817152,"description":"Unknown IO ID 45"} 
[2026-08-19 11:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502439680001,"power":27908,"unknown_231":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":1323143526272817152}} 
[2026-08-19 11:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":157889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:26:10] local.INFO: GPS data processed {"connection_id":157889,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:26:10] local.INFO: Acknowledgment sent {"connection_id":157889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:26:11] local.INFO: TCP Data received {"connection_id":157889,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189685e8012d1254c006de7b380011014d2a..."} 
[2026-08-19 11:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189685e8012d1254c006de7b380011014d2a..."} 
[2026-08-19 11:26:11] local.INFO: Processing buffer {"connection_id":157889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189685e8012d1254c006de7b380011014d2a..."} 
[2026-08-19 11:26:11] local.INFO: Packet analysis {"connection_id":157889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01896"} 
[2026-08-19 11:26:11] local.INFO: Extracted packet for processing {"connection_id":157889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01896"} 
[2026-08-19 11:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756176064,"raw_latitude":115243832,"longitude_deg":75.6176064,"latitude_deg":11.5243832,"altitude":17,"angle":333,"satellites":42,"speed":29,"hex_longitude":"2d1254c0","hex_latitude":"06de7b38","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502441728001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385633293757841408,"note":"Value kept but may cause issues"} 
[2026-08-19 11:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1320891726461351936,"note":"Value kept but may cause issues"} 
[2026-08-19 11:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787118913000,"timestamp_ms":1787118913000,"timestamp_seconds":1787118913,"priority":1,"record_length":96,"hex_timestamp":"000001a0189685e8"} 
[2026-08-19 11:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:26: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-08-19 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502441728001,"66":27908,"231":206,"81":20480,"24":29,"16":385633293757841408,"45":1320891726461351936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-08-19 11:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502441728001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:26:11] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-19 11:26:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385633293757841408,"km_value":385633293757841.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1320891726461351936,"description":"Unknown IO ID 45"} 
[2026-08-19 11:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502441728001,"power":27908,"unknown_231":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":1320891726461351936}} 
[2026-08-19 11:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":157889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:26:11] local.INFO: GPS data processed {"connection_id":157889,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:26:11] local.INFO: Acknowledgment sent {"connection_id":157889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:26:14] local.INFO: TCP Data received {"connection_id":157890,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:26:14] local.INFO: Processing buffer {"connection_id":157890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:26:14] local.INFO: IMEI packet received {"connection_id":157890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":157890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:26:15] local.INFO: TCP Data received {"connection_id":157890,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01895fd30012d181f800721b088004800d82a..."} 
[2026-08-19 11:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01895fd30012d181f800721b088004800d82a..."} 
[2026-08-19 11:26:15] local.INFO: Processing buffer {"connection_id":157890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01895fd30012d181f800721b088004800d82a..."} 
[2026-08-19 11:26:15] local.INFO: Packet analysis {"connection_id":157890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01895"} 
[2026-08-19 11:26:15] local.INFO: Extracted packet for processing {"connection_id":157890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01895"} 
[2026-08-19 11:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502427392001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:26: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-08-19 11:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787118878000,"timestamp_ms":1787118878000,"timestamp_seconds":1787118878,"priority":1,"record_length":96,"hex_timestamp":"000001a01895fd30"} 
[2026-08-19 11:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:26:15] 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-08-19 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 11:26:15] 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-08-19 11: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-08-19 11:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502427392001,"66":12504,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502427392001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:26:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:26:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502427392001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":157890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:26:15] local.INFO: GPS data processed {"connection_id":157890,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:26:15] local.INFO: Acknowledgment sent {"connection_id":157890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:26:42] local.INFO: TCP Data received {"connection_id":157889,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018969970012d124ec006de87800010015829..."} 
[2026-08-19 11:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018969970012d124ec006de87800010015829..."} 
[2026-08-19 11:26:42] local.INFO: Processing buffer {"connection_id":157889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018969970012d124ec006de87800010015829..."} 
[2026-08-19 11:26:42] local.INFO: Packet analysis {"connection_id":157889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01896"} 
[2026-08-19 11:26:42] local.INFO: Extracted packet for processing {"connection_id":157889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01896"} 
[2026-08-19 11:26:42] local.INFO: GPS Element Parsed {"raw_longitude":756174528,"raw_latitude":115246976,"longitude_deg":75.6174528,"latitude_deg":11.5246976,"altitude":16,"angle":344,"satellites":41,"speed":27,"hex_longitude":"2d124ec0","hex_latitude":"06de8780","is_valid_coordinates":true} 
[2026-08-19 11:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502441728001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385633461261565952,"note":"Value kept but may cause issues"} 
[2026-08-19 11:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1320891726461351936,"note":"Value kept but may cause issues"} 
[2026-08-19 11:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787118918000,"timestamp_ms":1787118918000,"timestamp_seconds":1787118918,"priority":1,"record_length":96,"hex_timestamp":"000001a018969970"} 
[2026-08-19 11:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502441728001,"66":27865,"231":206,"81":20480,"24":27,"16":385633461261565952,"45":1320891726461351936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-08-19 11:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502441728001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:26:42] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-19 11:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385633461261565952,"km_value":385633461261565.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1320891726461351936,"description":"Unknown IO ID 45"} 
[2026-08-19 11:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502441728001,"power":27865,"unknown_231":206,"unknown_81":20480,"ignition":27,"odometer":null,"unknown_45":1320891726461351936}} 
[2026-08-19 11:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":157889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:26:42] local.INFO: GPS data processed {"connection_id":157889,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:26:42] local.INFO: Acknowledgment sent {"connection_id":157889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:26:47] local.INFO: TCP Data received {"connection_id":157890,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018964f38012d181f800721b088004800d82b..."} 
[2026-08-19 11:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018964f38012d181f800721b088004800d82b..."} 
[2026-08-19 11:26:47] local.INFO: Processing buffer {"connection_id":157890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018964f38012d181f800721b088004800d82b..."} 
[2026-08-19 11:26:47] local.INFO: Packet analysis {"connection_id":157890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01896"} 
[2026-08-19 11:26:47] local.INFO: Extracted packet for processing {"connection_id":157890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01896"} 
[2026-08-19 11:26:47] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502432768001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:26:47] 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-08-19 11:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787118899000,"timestamp_ms":1787118899000,"timestamp_seconds":1787118899,"priority":1,"record_length":96,"hex_timestamp":"000001a018964f38"} 
[2026-08-19 11:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:26:47] 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-08-19 11: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":216,"data_length":795,"current_offset":136} 
[2026-08-19 11:26: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-08-19 11: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-08-19 11:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502432768001,"66":12461,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502432768001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:26:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:26:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502432768001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":157890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:26:47] local.INFO: GPS data processed {"connection_id":157890,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:26:47] local.INFO: Acknowledgment sent {"connection_id":157890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:26:59] local.INFO: TCP Data received {"connection_id":160068,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:26:59] local.INFO: Processing buffer {"connection_id":160068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:26:59] local.INFO: IMEI packet received {"connection_id":160068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":160068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:27:02] local.INFO: TCP Data received {"connection_id":160068,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:27:02] local.INFO: Processing buffer {"connection_id":160068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:27:02] local.INFO: IMEI packet received {"connection_id":160068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":160068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:27:04] local.INFO: TCP Data received {"connection_id":160068,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01896c850012d12430006deab100010015229..."} 
[2026-08-19 11:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01896c850012d12430006deab100010015229..."} 
[2026-08-19 11:27:04] local.INFO: Processing buffer {"connection_id":160068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01896c850012d12430006deab100010015229..."} 
[2026-08-19 11:27:04] local.INFO: Packet analysis {"connection_id":160068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01896"} 
[2026-08-19 11:27:04] local.INFO: Extracted packet for processing {"connection_id":160068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01896"} 
[2026-08-19 11:27:04] local.INFO: GPS Element Parsed {"raw_longitude":756171520,"raw_latitude":115256080,"longitude_deg":75.617152,"latitude_deg":11.525608,"altitude":16,"angle":338,"satellites":41,"speed":30,"hex_longitude":"2d124300","hex_latitude":"06deab10","is_valid_coordinates":true} 
[2026-08-19 11:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502443008001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385633929413001216,"note":"Value kept but may cause issues"} 
[2026-08-19 11:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1319202876601892864,"note":"Value kept but may cause issues"} 
[2026-08-19 11:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787118930000,"timestamp_ms":1787118930000,"timestamp_seconds":1787118930,"priority":1,"record_length":96,"hex_timestamp":"000001a01896c850"} 
[2026-08-19 11:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:27: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-08-19 11:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:27: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-08-19 11:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502443008001,"66":27843,"231":206,"81":20480,"24":30,"16":385633929413001216,"45":1319202876601892864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-08-19 11:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502443008001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:27:04] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-19 11:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385633929413001216,"km_value":385633929413001.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1319202876601892864,"description":"Unknown IO ID 45"} 
[2026-08-19 11:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502443008001,"power":27843,"unknown_231":206,"unknown_81":20480,"ignition":30,"odometer":null,"unknown_45":1319202876601892864}} 
[2026-08-19 11:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":160068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:27:04] local.INFO: GPS data processed {"connection_id":160068,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:27:04] local.INFO: Acknowledgment sent {"connection_id":160068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:27:09] local.INFO: TCP Data received {"connection_id":157514,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:27:09] local.INFO: Processing buffer {"connection_id":157514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:27:09] local.INFO: IMEI packet received {"connection_id":157514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":157514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:27:15] local.INFO: TCP Data received {"connection_id":157514,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:27:15] local.INFO: Processing buffer {"connection_id":157514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:27:15] local.INFO: IMEI packet received {"connection_id":157514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":157514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:27:17] local.INFO: TCP Data received {"connection_id":157514,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01896a140012d181f800721b088004800d82b..."} 
[2026-08-19 11:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01896a140012d181f800721b088004800d82b..."} 
[2026-08-19 11:27:17] local.INFO: Processing buffer {"connection_id":157514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01896a140012d181f800721b088004800d82b..."} 
[2026-08-19 11:27:17] local.INFO: Packet analysis {"connection_id":157514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01896"} 
[2026-08-19 11:27:17] local.INFO: Extracted packet for processing {"connection_id":157514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01896"} 
[2026-08-19 11:27:17] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502438144001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:27:17] 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-08-19 11:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787118920000,"timestamp_ms":1787118920000,"timestamp_seconds":1787118920,"priority":1,"record_length":96,"hex_timestamp":"000001a01896a140"} 
[2026-08-19 11:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 11:27: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-08-19 11:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502438144001,"66":12461,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502438144001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:27:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:27:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502438144001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":157514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:27:17] local.INFO: GPS data processed {"connection_id":157514,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:27:17] local.INFO: Acknowledgment sent {"connection_id":157514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:27:35] local.INFO: TCP Data received {"connection_id":160068,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01896ef60012d12360006decdb0001001552b..."} 
[2026-08-19 11:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01896ef60012d12360006decdb0001001552b..."} 
[2026-08-19 11:27:35] local.INFO: Processing buffer {"connection_id":160068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01896ef60012d12360006decdb0001001552b..."} 
[2026-08-19 11:27:35] local.INFO: Packet analysis {"connection_id":160068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01896"} 
[2026-08-19 11:27:35] local.INFO: Extracted packet for processing {"connection_id":160068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01896"} 
[2026-08-19 11:27:35] local.INFO: GPS Element Parsed {"raw_longitude":756168192,"raw_latitude":115264944,"longitude_deg":75.6168192,"latitude_deg":11.5264944,"altitude":16,"angle":341,"satellites":43,"speed":42,"hex_longitude":"2d123600","hex_latitude":"06decdb0","is_valid_coordinates":true} 
[2026-08-19 11:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502446080001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385634384679534592,"note":"Value kept but may cause issues"} 
[2026-08-19 11:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1315895545627873280,"note":"Value kept but may cause issues"} 
[2026-08-19 11:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787118940000,"timestamp_ms":1787118940000,"timestamp_seconds":1787118940,"priority":1,"record_length":96,"hex_timestamp":"000001a01896ef60"} 
[2026-08-19 11:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 11:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502446080001,"66":27908,"97":206,"81":20480,"24":42,"16":385634384679534592,"45":1315895545627873280},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-19 11:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502446080001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:27:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-19 11:27:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385634384679534592,"km_value":385634384679534.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1315895545627873280,"description":"Unknown IO ID 45"} 
[2026-08-19 11:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502446080001,"power":27908,"unknown_97":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1315895545627873280}} 
[2026-08-19 11:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":160068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:27:35] local.INFO: GPS data processed {"connection_id":160068,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:27:35] local.INFO: Acknowledgment sent {"connection_id":160068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:27:48] local.INFO: TCP Data received {"connection_id":157514,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01896f348012d181f800721b088004800d82c..."} 
[2026-08-19 11:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01896f348012d181f800721b088004800d82c..."} 
[2026-08-19 11:27:48] local.INFO: Processing buffer {"connection_id":157514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01896f348012d181f800721b088004800d82c..."} 
[2026-08-19 11:27:48] local.INFO: Packet analysis {"connection_id":157514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01896"} 
[2026-08-19 11:27:48] local.INFO: Extracted packet for processing {"connection_id":157514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01896"} 
[2026-08-19 11:27:48] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502443520001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:27:48] 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-08-19 11:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787118941000,"timestamp_ms":1787118941000,"timestamp_seconds":1787118941,"priority":1,"record_length":96,"hex_timestamp":"000001a01896f348"} 
[2026-08-19 11:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 11:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":157514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":157514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":157514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502443520001,"66":12461,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502443520001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:27:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:27:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502443520001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":157514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:27:48] local.INFO: GPS data processed {"connection_id":157514,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:27:48] local.INFO: Acknowledgment sent {"connection_id":157514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:27:59] local.INFO: TCP Data received {"connection_id":160069,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:27:59] local.INFO: Processing buffer {"connection_id":160069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:27:59] local.INFO: IMEI packet received {"connection_id":160069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":160069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:28:02] local.INFO: TCP Data received {"connection_id":160069,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:28:02] local.INFO: Processing buffer {"connection_id":160069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:28:02] local.INFO: IMEI packet received {"connection_id":160069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":160069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:28:04] local.INFO: TCP Data received {"connection_id":160069,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:28:04] local.INFO: Processing buffer {"connection_id":160069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:28:04] local.INFO: IMEI packet received {"connection_id":160069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":160069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:28:09] local.INFO: TCP Data received {"connection_id":157515,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:28:09] local.INFO: Processing buffer {"connection_id":157515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:28:09] local.INFO: IMEI packet received {"connection_id":157515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":157515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:28:13] local.INFO: TCP Data received {"connection_id":160069,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189823f8012d11da4006e05f10001001572c..."} 
[2026-08-19 11:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189823f8012d11da4006e05f10001001572c..."} 
[2026-08-19 11:28:13] local.INFO: Processing buffer {"connection_id":160069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189823f8012d11da4006e05f10001001572c..."} 
[2026-08-19 11:28:13] local.INFO: Packet analysis {"connection_id":160069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01898"} 
[2026-08-19 11:28:13] local.INFO: Extracted packet for processing {"connection_id":160069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01898"} 
[2026-08-19 11:28:13] local.INFO: GPS Element Parsed {"raw_longitude":756144704,"raw_latitude":115367696,"longitude_deg":75.6144704,"latitude_deg":11.5367696,"altitude":16,"angle":343,"satellites":44,"speed":61,"hex_longitude":"2d11da40","hex_latitude":"06e05f10","is_valid_coordinates":true} 
[2026-08-19 11:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502467072001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385639499985584128,"note":"Value kept but may cause issues"} 
[2026-08-19 11:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1289718372819861504,"note":"Value kept but may cause issues"} 
[2026-08-19 11:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787119019000,"timestamp_ms":1787119019000,"timestamp_seconds":1787119019,"priority":1,"record_length":96,"hex_timestamp":"000001a0189823f8"} 
[2026-08-19 11:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:28: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-08-19 11:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502467072001,"66":27876,"98":206,"81":20480,"24":61,"16":385639499985584128,"45":1289718372819861504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-08-19 11:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502467072001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:28:13] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-19 11:28:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385639499985584128,"km_value":385639499985584.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1289718372819861504,"description":"Unknown IO ID 45"} 
[2026-08-19 11:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502467072001,"power":27876,"unknown_98":206,"unknown_81":20480,"ignition":61,"odometer":null,"unknown_45":1289718372819861504}} 
[2026-08-19 11:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":160069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:28:13] local.INFO: GPS data processed {"connection_id":160069,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:28:13] local.INFO: Acknowledgment sent {"connection_id":160069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:28:14] local.INFO: TCP Data received {"connection_id":157515,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:28:14] local.INFO: Processing buffer {"connection_id":157515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:28:14] local.INFO: IMEI packet received {"connection_id":157515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":157515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:28:15] local.INFO: TCP Data received {"connection_id":157515,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018974550012d181f800721b088004800d82a..."} 
[2026-08-19 11:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018974550012d181f800721b088004800d82a..."} 
[2026-08-19 11:28:15] local.INFO: Processing buffer {"connection_id":157515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018974550012d181f800721b088004800d82a..."} 
[2026-08-19 11:28:15] local.INFO: Packet analysis {"connection_id":157515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01897"} 
[2026-08-19 11:28:15] local.INFO: Extracted packet for processing {"connection_id":157515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01897"} 
[2026-08-19 11:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502448896001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:28: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-08-19 11:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787118962000,"timestamp_ms":1787118962000,"timestamp_seconds":1787118962,"priority":1,"record_length":96,"hex_timestamp":"000001a018974550"} 
[2026-08-19 11:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:28: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-08-19 11:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 11:28:15] 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-08-19 11:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502448896001,"66":12504,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502448896001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:28:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:28:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502448896001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":157515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:28:16] local.INFO: GPS data processed {"connection_id":157515,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:28:16] local.INFO: Acknowledgment sent {"connection_id":157515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:28:46] local.INFO: TCP Data received {"connection_id":160069,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018983b68012d11d0c006e08160000f015b2d..."} 
[2026-08-19 11:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018983b68012d11d0c006e08160000f015b2d..."} 
[2026-08-19 11:28:46] local.INFO: Processing buffer {"connection_id":160069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018983b68012d11d0c006e08160000f015b2d..."} 
[2026-08-19 11:28:46] local.INFO: Packet analysis {"connection_id":160069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01898"} 
[2026-08-19 11:28:46] local.INFO: Extracted packet for processing {"connection_id":160069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01898"} 
[2026-08-19 11:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756142272,"raw_latitude":115376480,"longitude_deg":75.6142272,"latitude_deg":11.537648,"altitude":15,"angle":347,"satellites":45,"speed":59,"hex_longitude":"2d11d0c0","hex_latitude":"06e08160","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502468864001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385639938072248320,"note":"Value kept but may cause issues"} 
[2026-08-19 11:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1286411041846005760,"note":"Value kept but may cause issues"} 
[2026-08-19 11:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787119025000,"timestamp_ms":1787119025000,"timestamp_seconds":1787119025,"priority":1,"record_length":96,"hex_timestamp":"000001a018983b68"} 
[2026-08-19 11:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11: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-08-19 11: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":228,"data_length":795,"current_offset":136} 
[2026-08-19 11:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502468864001,"66":27865,"98":206,"81":20480,"24":59,"16":385639938072248320,"45":1286411041846005760},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-08-19 11:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502468864001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:28:46] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-19 11:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385639938072248320,"km_value":385639938072248.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1286411041846005760,"description":"Unknown IO ID 45"} 
[2026-08-19 11:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502468864001,"power":27865,"unknown_98":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1286411041846005760}} 
[2026-08-19 11:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":160069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:28:46] local.INFO: GPS data processed {"connection_id":160069,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:28:46] local.INFO: Acknowledgment sent {"connection_id":160069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:28:47] local.INFO: TCP Data received {"connection_id":157515,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018979758012d181f800721b088004800d828..."} 
[2026-08-19 11:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018979758012d181f800721b088004800d828..."} 
[2026-08-19 11:28:47] local.INFO: Processing buffer {"connection_id":157515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018979758012d181f800721b088004800d828..."} 
[2026-08-19 11:28:47] local.INFO: Packet analysis {"connection_id":157515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01897"} 
[2026-08-19 11:28:47] local.INFO: Extracted packet for processing {"connection_id":157515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01897"} 
[2026-08-19 11:28:47] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":40,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502454272001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:28:47] 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-08-19 11:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787118983000,"timestamp_ms":1787118983000,"timestamp_seconds":1787118983,"priority":1,"record_length":96,"hex_timestamp":"000001a018979758"} 
[2026-08-19 11:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:28:47] 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-08-19 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 11:28: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-08-19 11: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-08-19 11:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502454272001,"66":12461,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502454272001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:28:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:28:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502454272001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":157515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:28:47] local.INFO: GPS data processed {"connection_id":157515,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:28:47] local.INFO: Acknowledgment sent {"connection_id":157515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:28:59] local.INFO: TCP Data received {"connection_id":158760,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:28:59] local.INFO: Processing buffer {"connection_id":158760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:28:59] local.INFO: IMEI packet received {"connection_id":158760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":158760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:29:05] local.INFO: TCP Data received {"connection_id":158760,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:29:05] local.INFO: Processing buffer {"connection_id":158760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:29:05] local.INFO: IMEI packet received {"connection_id":158760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":158760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:29:06] local.INFO: TCP Data received {"connection_id":158760,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189852d8012d11cb0006e0a408000e01622b..."} 
[2026-08-19 11:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189852d8012d11cb0006e0a408000e01622b..."} 
[2026-08-19 11:29:06] local.INFO: Processing buffer {"connection_id":158760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189852d8012d11cb0006e0a408000e01622b..."} 
[2026-08-19 11:29:06] local.INFO: Packet analysis {"connection_id":158760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01898"} 
[2026-08-19 11:29:06] local.INFO: Extracted packet for processing {"connection_id":158760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01898"} 
[2026-08-19 11:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756140800,"raw_latitude":115385352,"longitude_deg":75.61408,"latitude_deg":11.5385352,"altitude":14,"angle":354,"satellites":43,"speed":60,"hex_longitude":"2d11cb00","hex_latitude":"06e0a408","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502470400001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385640376158912512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1283737029569503232,"note":"Value kept but may cause issues"} 
[2026-08-19 11:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787119031000,"timestamp_ms":1787119031000,"timestamp_seconds":1787119031,"priority":1,"record_length":96,"hex_timestamp":"000001a0189852d8"} 
[2026-08-19 11:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502470400001,"66":27930,"98":206,"81":20480,"24":60,"16":385640376158912512,"45":1283737029569503232},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-08-19 11:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502470400001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:29:06] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-19 11:29:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385640376158912512,"km_value":385640376158912.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1283737029569503232,"description":"Unknown IO ID 45"} 
[2026-08-19 11:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502470400001,"power":27930,"unknown_98":206,"unknown_81":20480,"ignition":60,"odometer":null,"unknown_45":1283737029569503232}} 
[2026-08-19 11:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":158760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:29:06] local.INFO: GPS data processed {"connection_id":158760,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:29:06] local.INFO: Acknowledgment sent {"connection_id":158760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:29:09] local.INFO: TCP Data received {"connection_id":158761,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:29:09] local.INFO: Processing buffer {"connection_id":158761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:29:09] local.INFO: IMEI packet received {"connection_id":158761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":158761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:29:14] local.INFO: TCP Data received {"connection_id":158761,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:29:14] local.INFO: Processing buffer {"connection_id":158761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:29:14] local.INFO: IMEI packet received {"connection_id":158761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":158761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:29:15] local.INFO: TCP Data received {"connection_id":158761,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01897e960012d181f800721b088004800d82c..."} 
[2026-08-19 11:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01897e960012d181f800721b088004800d82c..."} 
[2026-08-19 11:29:15] local.INFO: Processing buffer {"connection_id":158761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01897e960012d181f800721b088004800d82c..."} 
[2026-08-19 11:29:15] local.INFO: Packet analysis {"connection_id":158761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01897"} 
[2026-08-19 11:29:15] local.INFO: Extracted packet for processing {"connection_id":158761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01897"} 
[2026-08-19 11:29:15] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502459648001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:29: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-08-19 11:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787119004000,"timestamp_ms":1787119004000,"timestamp_seconds":1787119004,"priority":1,"record_length":96,"hex_timestamp":"000001a01897e960"} 
[2026-08-19 11:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:29: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-08-19 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 11:29:15] 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-08-19 11: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-08-19 11:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502459648001,"66":12493,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502459648001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:29:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:29:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502459648001,"power":12493,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":158761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:29:16] local.INFO: GPS data processed {"connection_id":158761,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:29:16] local.INFO: Acknowledgment sent {"connection_id":158761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:29:44] local.INFO: TCP Data received {"connection_id":158760,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01899c5f0012d11854006e27418000f00072c..."} 
[2026-08-19 11:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01899c5f0012d11854006e27418000f00072c..."} 
[2026-08-19 11:29:44] local.INFO: Processing buffer {"connection_id":158760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01899c5f0012d11854006e27418000f00072c..."} 
[2026-08-19 11:29:44] local.INFO: Packet analysis {"connection_id":158760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01899"} 
[2026-08-19 11:29:44] local.INFO: Extracted packet for processing {"connection_id":158760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01899"} 
[2026-08-19 11:29:44] local.INFO: GPS Element Parsed {"raw_longitude":756122944,"raw_latitude":115504152,"longitude_deg":75.6122944,"latitude_deg":11.5504152,"altitude":15,"angle":7,"satellites":44,"speed":54,"hex_longitude":"2d118540","hex_latitude":"06e27418","is_valid_coordinates":true} 
[2026-08-19 11:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502494208001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385646268854042624,"note":"Value kept but may cause issues"} 
[2026-08-19 11:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1261078293974493184,"note":"Value kept but may cause issues"} 
[2026-08-19 11:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787119126000,"timestamp_ms":1787119126000,"timestamp_seconds":1787119126,"priority":1,"record_length":96,"hex_timestamp":"000001a01899c5f0"} 
[2026-08-19 11:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:29: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-08-19 11:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502494208001,"66":27908,"108":206,"81":20480,"24":54,"16":385646268854042624,"45":1261078293974493184},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-08-19 11:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502494208001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:29:44] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-19 11:29:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385646268854042624,"km_value":385646268854042.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1261078293974493184,"description":"Unknown IO ID 45"} 
[2026-08-19 11:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502494208001,"power":27908,"unknown_108":206,"unknown_81":20480,"ignition":54,"odometer":null,"unknown_45":1261078293974493184}} 
[2026-08-19 11:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":158760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:29:44] local.INFO: GPS data processed {"connection_id":158760,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:29:44] local.INFO: Acknowledgment sent {"connection_id":158760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:29:47] local.INFO: TCP Data received {"connection_id":158761,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018983b68012d181f800721b088004800d82c..."} 
[2026-08-19 11:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018983b68012d181f800721b088004800d82c..."} 
[2026-08-19 11:29:47] local.INFO: Processing buffer {"connection_id":158761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018983b68012d181f800721b088004800d82c..."} 
[2026-08-19 11:29:47] local.INFO: Packet analysis {"connection_id":158761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01898"} 
[2026-08-19 11:29:47] local.INFO: Extracted packet for processing {"connection_id":158761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01898"} 
[2026-08-19 11:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502465024001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:29:47] 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-08-19 11:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787119025000,"timestamp_ms":1787119025000,"timestamp_seconds":1787119025,"priority":1,"record_length":96,"hex_timestamp":"000001a018983b68"} 
[2026-08-19 11:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:29:47] 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-08-19 11: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 11:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502465024001,"66":12493,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502465024001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:29:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:29:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502465024001,"power":12493,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":158761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:29:47] local.INFO: GPS data processed {"connection_id":158761,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:29:47] local.INFO: Acknowledgment sent {"connection_id":158761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:29:59] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:29:59] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:29:59] local.INFO: IMEI packet received {"connection_id":160070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":160070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:30:00] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:30:00] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:30:00] local.INFO: IMEI packet received {"connection_id":160070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":160070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:30:05] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:30:05] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:30:05] local.INFO: IMEI packet received {"connection_id":160070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":160070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:30:10] local.INFO: TCP Data received {"connection_id":158762,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:30:10] local.INFO: Processing buffer {"connection_id":158762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:30:10] local.INFO: IMEI packet received {"connection_id":158762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":158762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:30:10] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01899e148012d11898006e29a10000f00042b..."} 
[2026-08-19 11:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01899e148012d11898006e29a10000f00042b..."} 
[2026-08-19 11:30:10] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01899e148012d11898006e29a10000f00042b..."} 
[2026-08-19 11:30:10] local.INFO: Packet analysis {"connection_id":160070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01899"} 
[2026-08-19 11:30:10] local.INFO: Extracted packet for processing {"connection_id":160070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01899"} 
[2026-08-19 11:30:10] local.INFO: GPS Element Parsed {"raw_longitude":756124032,"raw_latitude":115513872,"longitude_deg":75.6124032,"latitude_deg":11.5513872,"altitude":15,"angle":4,"satellites":43,"speed":55,"hex_longitude":"2d118980","hex_latitude":"06e29a10","is_valid_coordinates":true} 
[2026-08-19 11:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502496256001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385646741300445184,"note":"Value kept but may cause issues"} 
[2026-08-19 11:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1262485668860532736,"note":"Value kept but may cause issues"} 
[2026-08-19 11:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787119133000,"timestamp_ms":1787119133000,"timestamp_seconds":1787119133,"priority":1,"record_length":96,"hex_timestamp":"000001a01899e148"} 
[2026-08-19 11:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:30: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-08-19 11:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502496256001,"66":27919,"111":206,"81":20480,"24":55,"16":385646741300445184,"45":1262485668860532736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-08-19 11:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502496256001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:30:10] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 11:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385646741300445184,"km_value":385646741300445.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1262485668860532736,"description":"Unknown IO ID 45"} 
[2026-08-19 11:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502496256001,"power":27919,"unknown_111":206,"unknown_81":20480,"ignition":55,"odometer":null,"unknown_45":1262485668860532736}} 
[2026-08-19 11:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":160070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:30:10] local.INFO: GPS data processed {"connection_id":160070,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:30:10] local.INFO: Acknowledgment sent {"connection_id":160070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:30:14] local.INFO: TCP Data received {"connection_id":158762,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:30:14] local.INFO: Processing buffer {"connection_id":158762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:30:14] local.INFO: IMEI packet received {"connection_id":158762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":158762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:30:19] local.INFO: TCP Data received {"connection_id":158762,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:30:19] local.INFO: Processing buffer {"connection_id":158762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:30:19] local.INFO: IMEI packet received {"connection_id":158762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":158762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:30:21] local.INFO: TCP Data received {"connection_id":158762,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018988d70012d181f800721b088004800d82b..."} 
[2026-08-19 11:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018988d70012d181f800721b088004800d82b..."} 
[2026-08-19 11:30:21] local.INFO: Processing buffer {"connection_id":158762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018988d70012d181f800721b088004800d82b..."} 
[2026-08-19 11:30:21] local.INFO: Packet analysis {"connection_id":158762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01898"} 
[2026-08-19 11:30:21] local.INFO: Extracted packet for processing {"connection_id":158762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01898"} 
[2026-08-19 11:30:21] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502470400001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:30:21] 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-08-19 11:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787119046000,"timestamp_ms":1787119046000,"timestamp_seconds":1787119046,"priority":1,"record_length":96,"hex_timestamp":"000001a018988d70"} 
[2026-08-19 11:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:30:21] 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-08-19 11:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 11:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":158762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":158762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":158762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502470400001,"66":12472,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502470400001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:30:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:30:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502470400001,"power":12472,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":158762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:30:21] local.INFO: GPS data processed {"connection_id":158762,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:30:21] local.INFO: Acknowledgment sent {"connection_id":158762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:30:25] local.INFO: TCP Data received {"connection_id":158762,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01898df78012d181f800721b088004800d82b..."} 
[2026-08-19 11:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01898df78012d181f800721b088004800d82b..."} 
[2026-08-19 11:30:25] local.INFO: Processing buffer {"connection_id":158762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01898df78012d181f800721b088004800d82b..."} 
[2026-08-19 11:30:25] local.INFO: Packet analysis {"connection_id":158762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01898"} 
[2026-08-19 11:30:25] local.INFO: Extracted packet for processing {"connection_id":158762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01898"} 
[2026-08-19 11:30:25] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502475776001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:30:25] 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-08-19 11:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787119067000,"timestamp_ms":1787119067000,"timestamp_seconds":1787119067,"priority":1,"record_length":96,"hex_timestamp":"000001a01898df78"} 
[2026-08-19 11:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:30:25] 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-08-19 11: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 11:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":158762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":158762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":158762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502475776001,"66":12504,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502475776001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:30:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:30:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502475776001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":158762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:30:25] local.INFO: GPS data processed {"connection_id":158762,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:30:25] local.INFO: Acknowledgment sent {"connection_id":158762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:30:43] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01899f4d0012d11894006e2b4c8000f01622b..."} 
[2026-08-19 11:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01899f4d0012d11894006e2b4c8000f01622b..."} 
[2026-08-19 11:30:43] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01899f4d0012d11894006e2b4c8000f01622b..."} 
[2026-08-19 11:30:43] local.INFO: Packet analysis {"connection_id":160070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01899"} 
[2026-08-19 11:30:43] local.INFO: Extracted packet for processing {"connection_id":160070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01899"} 
[2026-08-19 11:30:43] local.INFO: GPS Element Parsed {"raw_longitude":756123968,"raw_latitude":115520712,"longitude_deg":75.6123968,"latitude_deg":11.5520712,"altitude":15,"angle":354,"satellites":43,"speed":53,"hex_longitude":"2d118940","hex_latitude":"06e2b4c8","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502498048001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385647072012926976,"note":"Value kept but may cause issues"} 
[2026-08-19 11:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1263681937514041344,"note":"Value kept but may cause issues"} 
[2026-08-19 11:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787119138000,"timestamp_ms":1787119138000,"timestamp_seconds":1787119138,"priority":1,"record_length":96,"hex_timestamp":"000001a01899f4d0"} 
[2026-08-19 11:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 11:30:43] 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-08-19 11: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-08-19 11:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502498048001,"66":27865,"111":206,"81":20480,"24":53,"16":385647072012926976,"45":1263681937514041344},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-08-19 11:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502498048001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:30:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 11:30:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385647072012926976,"km_value":385647072012927.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1263681937514041344,"description":"Unknown IO ID 45"} 
[2026-08-19 11:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502498048001,"power":27865,"unknown_111":206,"unknown_81":20480,"ignition":53,"odometer":null,"unknown_45":1263681937514041344}} 
[2026-08-19 11:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":160070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:30:43] local.INFO: GPS data processed {"connection_id":160070,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:30:43] local.INFO: Acknowledgment sent {"connection_id":160070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:31:05] local.INFO: TCP Data received {"connection_id":157516,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:31:05] local.INFO: Processing buffer {"connection_id":157516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:31:05] local.INFO: IMEI packet received {"connection_id":157516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":157516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:31:05] local.INFO: TCP Data received {"connection_id":157516,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:31:05] local.INFO: Processing buffer {"connection_id":157516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:31:05] local.INFO: IMEI packet received {"connection_id":157516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":157516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:31:07] local.INFO: TCP Data received {"connection_id":157516,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189a1028012d11820006e2d6b8001201592c..."} 
[2026-08-19 11:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189a1028012d11820006e2d6b8001201592c..."} 
[2026-08-19 11:31:07] local.INFO: Processing buffer {"connection_id":157516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189a1028012d11820006e2d6b8001201592c..."} 
[2026-08-19 11:31:07] local.INFO: Packet analysis {"connection_id":157516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189a"} 
[2026-08-19 11:31:07] local.INFO: Extracted packet for processing {"connection_id":157516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189a"} 
[2026-08-19 11:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756122112,"raw_latitude":115529400,"longitude_deg":75.6122112,"latitude_deg":11.55294,"altitude":18,"angle":345,"satellites":44,"speed":47,"hex_longitude":"2d118200","hex_latitude":"06e2d6b8","is_valid_coordinates":true} 
[2026-08-19 11:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502499328001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385647505804623872,"note":"Value kept but may cause issues"} 
[2026-08-19 11:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1263611568771614720,"note":"Value kept but may cause issues"} 
[2026-08-19 11:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787119145000,"timestamp_ms":1787119145000,"timestamp_seconds":1787119145,"priority":1,"record_length":96,"hex_timestamp":"000001a0189a1028"} 
[2026-08-19 11:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:31: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-08-19 11:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:31:07] 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-08-19 11:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502499328001,"66":27908,"111":206,"81":20480,"24":47,"16":385647505804623872,"45":1263611568771614720},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-08-19 11:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502499328001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:31:07] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 11:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385647505804623872,"km_value":385647505804623.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1263611568771614720,"description":"Unknown IO ID 45"} 
[2026-08-19 11:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502499328001,"power":27908,"unknown_111":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1263611568771614720}} 
[2026-08-19 11:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":157516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:31:07] local.INFO: GPS data processed {"connection_id":157516,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:31:07] local.INFO: Acknowledgment sent {"connection_id":157516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:31:08] local.INFO: TCP Data received {"connection_id":157516,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189a2f68012d1178c006e2f930001301572d..."} 
[2026-08-19 11:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189a2f68012d1178c006e2f930001301572d..."} 
[2026-08-19 11:31:08] local.INFO: Processing buffer {"connection_id":157516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189a2f68012d1178c006e2f930001301572d..."} 
[2026-08-19 11:31:08] local.INFO: Packet analysis {"connection_id":157516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189a"} 
[2026-08-19 11:31:08] local.INFO: Extracted packet for processing {"connection_id":157516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189a"} 
[2026-08-19 11:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756119744,"raw_latitude":115538224,"longitude_deg":75.6119744,"latitude_deg":11.5538224,"altitude":19,"angle":343,"satellites":45,"speed":43,"hex_longitude":"2d1178c0","hex_latitude":"06e2f930","is_valid_coordinates":true} 
[2026-08-19 11:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502501120001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385647943891288064,"note":"Value kept but may cause issues"} 
[2026-08-19 11:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1261570875192686592,"note":"Value kept but may cause issues"} 
[2026-08-19 11:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787119153000,"timestamp_ms":1787119153000,"timestamp_seconds":1787119153,"priority":1,"record_length":96,"hex_timestamp":"000001a0189a2f68"} 
[2026-08-19 11:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:31: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-08-19 11:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":157516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":157516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":157516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502501120001,"66":27908,"111":206,"81":20480,"24":43,"16":385647943891288064,"45":1261570875192686592},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-08-19 11:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502501120001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:31:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 11:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385647943891288064,"km_value":385647943891288.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1261570875192686592,"description":"Unknown IO ID 45"} 
[2026-08-19 11:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502501120001,"power":27908,"unknown_111":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1261570875192686592}} 
[2026-08-19 11:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":157516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:31:08] local.INFO: GPS data processed {"connection_id":157516,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:31:08] local.INFO: Acknowledgment sent {"connection_id":157516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:31:09] local.INFO: TCP Data received {"connection_id":157891,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:31:09] local.INFO: Processing buffer {"connection_id":157891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:31:09] local.INFO: IMEI packet received {"connection_id":157891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":157891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:31:13] local.INFO: TCP Data received {"connection_id":157891,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:31:13] local.INFO: Processing buffer {"connection_id":157891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:31:13] local.INFO: IMEI packet received {"connection_id":157891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":157891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:31:15] local.INFO: TCP Data received {"connection_id":157891,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018993180012d181f800721b088004800d82c..."} 
[2026-08-19 11:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018993180012d181f800721b088004800d82c..."} 
[2026-08-19 11:31:15] local.INFO: Processing buffer {"connection_id":157891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018993180012d181f800721b088004800d82c..."} 
[2026-08-19 11:31:15] local.INFO: Packet analysis {"connection_id":157891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01899"} 
[2026-08-19 11:31:15] local.INFO: Extracted packet for processing {"connection_id":157891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01899"} 
[2026-08-19 11:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502481152001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:31: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-08-19 11:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787119088000,"timestamp_ms":1787119088000,"timestamp_seconds":1787119088,"priority":1,"record_length":96,"hex_timestamp":"000001a018993180"} 
[2026-08-19 11:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:31: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-08-19 11: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 11:31:15] 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-08-19 11: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-08-19 11:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502481152001,"66":12461,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502481152001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:31:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:31:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502481152001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":157891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:31:15] local.INFO: GPS data processed {"connection_id":157891,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:31:15] local.INFO: Acknowledgment sent {"connection_id":157891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:31:40] local.INFO: TCP Data received {"connection_id":157516,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189b73a0012d11250006e45f28000f014f2c..."} 
[2026-08-19 11:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189b73a0012d11250006e45f28000f014f2c..."} 
[2026-08-19 11:31:40] local.INFO: Processing buffer {"connection_id":157516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189b73a0012d11250006e45f28000f014f2c..."} 
[2026-08-19 11:31:40] local.INFO: Packet analysis {"connection_id":157516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189b"} 
[2026-08-19 11:31:40] local.INFO: Extracted packet for processing {"connection_id":157516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189b"} 
[2026-08-19 11:31:40] local.INFO: GPS Element Parsed {"raw_longitude":756098304,"raw_latitude":115629864,"longitude_deg":75.6098304,"latitude_deg":11.5629864,"altitude":15,"angle":335,"satellites":44,"speed":34,"hex_longitude":"2d112500","hex_latitude":"06e45f28","is_valid_coordinates":true} 
[2026-08-19 11:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502522112001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385652560981131264,"note":"Value kept but may cause issues"} 
[2026-08-19 11:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1240389883218892800,"note":"Value kept but may cause issues"} 
[2026-08-19 11:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787119236000,"timestamp_ms":1787119236000,"timestamp_seconds":1787119236,"priority":1,"record_length":96,"hex_timestamp":"000001a0189b73a0"} 
[2026-08-19 11:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 11:31:40] 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-08-19 11:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502522112001,"66":27865,"112":206,"81":20480,"24":34,"16":385652560981131264,"45":1240389883218892800},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-08-19 11:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502522112001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:31:40] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-19 11:31:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-08-19 11:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385652560981131264,"km_value":385652560981131.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1240389883218892800,"description":"Unknown IO ID 45"} 
[2026-08-19 11:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502522112001,"power":27865,"unknown_112":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":1240389883218892800}} 
[2026-08-19 11:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":157516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:31:40] local.INFO: GPS data processed {"connection_id":157516,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:31:40] local.INFO: Acknowledgment sent {"connection_id":157516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:31:46] local.INFO: TCP Data received {"connection_id":157891,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018998388012d181f800721b088004800d82c..."} 
[2026-08-19 11:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018998388012d181f800721b088004800d82c..."} 
[2026-08-19 11:31:46] local.INFO: Processing buffer {"connection_id":157891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018998388012d181f800721b088004800d82c..."} 
[2026-08-19 11:31:46] local.INFO: Packet analysis {"connection_id":157891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01899"} 
[2026-08-19 11:31:46] local.INFO: Extracted packet for processing {"connection_id":157891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01899"} 
[2026-08-19 11:31:46] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502486528001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:31:46] 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-08-19 11:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787119109000,"timestamp_ms":1787119109000,"timestamp_seconds":1787119109,"priority":1,"record_length":96,"hex_timestamp":"000001a018998388"} 
[2026-08-19 11:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:31: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-08-19 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 11:31:46] 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-08-19 11: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-08-19 11:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502486528001,"66":12504,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502486528001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:31:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:31:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502486528001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":157891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:31:46] local.INFO: GPS data processed {"connection_id":157891,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:31:46] local.INFO: Acknowledgment sent {"connection_id":157891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:31:59] local.INFO: TCP Data received {"connection_id":157517,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:31:59] local.INFO: Processing buffer {"connection_id":157517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:31:59] local.INFO: IMEI packet received {"connection_id":157517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":157517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:31:59] local.INFO: TCP Data received {"connection_id":157517,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:31:59] local.INFO: Processing buffer {"connection_id":157517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:31:59] local.INFO: IMEI packet received {"connection_id":157517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":157517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:32:05] local.INFO: TCP Data received {"connection_id":157517,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:32:05] local.INFO: Processing buffer {"connection_id":157517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:32:05] local.INFO: IMEI packet received {"connection_id":157517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":157517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:32:06] local.INFO: TCP Data received {"connection_id":157517,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189b9ab0012d11188006e480b8001201542c..."} 
[2026-08-19 11:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189b9ab0012d11188006e480b8001201542c..."} 
[2026-08-19 11:32:06] local.INFO: Processing buffer {"connection_id":157517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189b9ab0012d11188006e480b8001201542c..."} 
[2026-08-19 11:32:06] local.INFO: Packet analysis {"connection_id":157517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189b"} 
[2026-08-19 11:32:06] local.INFO: Extracted packet for processing {"connection_id":157517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189b"} 
[2026-08-19 11:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756095104,"raw_latitude":115638456,"longitude_deg":75.6095104,"latitude_deg":11.5638456,"altitude":18,"angle":340,"satellites":44,"speed":38,"hex_longitude":"2d111880","hex_latitude":"06e480b8","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502524416001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385653003362762752,"note":"Value kept but may cause issues"} 
[2026-08-19 11:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1235393702384314368,"note":"Value kept but may cause issues"} 
[2026-08-19 11:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787119246000,"timestamp_ms":1787119246000,"timestamp_seconds":1787119246,"priority":1,"record_length":96,"hex_timestamp":"000001a0189b9ab0"} 
[2026-08-19 11:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502524416001,"66":27865,"245":206,"80":6400,"24":38,"16":385653003362762752,"45":1235393702384314368},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-08-19 11:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502524416001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:32:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385653003362762752,"km_value":385653003362762.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1235393702384314368,"description":"Unknown IO ID 45"} 
[2026-08-19 11:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502524416001,"power":27865,"geofence_id":206,"unknown_80":6400,"ignition":38,"odometer":null,"unknown_45":1235393702384314368}} 
[2026-08-19 11:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":157517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:32:06] local.INFO: GPS data processed {"connection_id":157517,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:32:06] local.INFO: Acknowledgment sent {"connection_id":157517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:32:09] local.INFO: TCP Data received {"connection_id":160071,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:32:09] local.INFO: Processing buffer {"connection_id":160071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:32:09] local.INFO: IMEI packet received {"connection_id":160071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":160071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:32:14] local.INFO: TCP Data received {"connection_id":160071,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:32:14] local.INFO: Processing buffer {"connection_id":160071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:32:14] local.INFO: IMEI packet received {"connection_id":160071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":160071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:32:16] local.INFO: TCP Data received {"connection_id":160071,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01899d590012d181f800721b088004800d829..."} 
[2026-08-19 11:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01899d590012d181f800721b088004800d829..."} 
[2026-08-19 11:32:16] local.INFO: Processing buffer {"connection_id":160071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01899d590012d181f800721b088004800d829..."} 
[2026-08-19 11:32:16] local.INFO: Packet analysis {"connection_id":160071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01899"} 
[2026-08-19 11:32:16] local.INFO: Extracted packet for processing {"connection_id":160071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01899"} 
[2026-08-19 11:32:16] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502491904001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:32:16] 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-08-19 11:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787119130000,"timestamp_ms":1787119130000,"timestamp_seconds":1787119130,"priority":1,"record_length":96,"hex_timestamp":"000001a01899d590"} 
[2026-08-19 11:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:32:16] 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-08-19 11:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 11:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502491904001,"66":11656,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502491904001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:32:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:32:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502491904001,"power":11656,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":160071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:32:16] local.INFO: GPS data processed {"connection_id":160071,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:32:16] local.INFO: Acknowledgment sent {"connection_id":160071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:32:37] local.INFO: TCP Data received {"connection_id":157517,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189bbdd8012d110d0006e4a270001201552c..."} 
[2026-08-19 11:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189bbdd8012d110d0006e4a270001201552c..."} 
[2026-08-19 11:32:37] local.INFO: Processing buffer {"connection_id":157517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189bbdd8012d110d0006e4a270001201552c..."} 
[2026-08-19 11:32:37] local.INFO: Packet analysis {"connection_id":157517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189b"} 
[2026-08-19 11:32:37] local.INFO: Extracted packet for processing {"connection_id":157517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189b"} 
[2026-08-19 11:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756092160,"raw_latitude":115647088,"longitude_deg":75.609216,"latitude_deg":11.5647088,"altitude":18,"angle":341,"satellites":44,"speed":41,"hex_longitude":"2d110d00","hex_latitude":"06e4a270","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502526976001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385653445744394240,"note":"Value kept but may cause issues"} 
[2026-08-19 11:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1231875265177630720,"note":"Value kept but may cause issues"} 
[2026-08-19 11:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787119255000,"timestamp_ms":1787119255000,"timestamp_seconds":1787119255,"priority":1,"record_length":96,"hex_timestamp":"000001a0189bbdd8"} 
[2026-08-19 11:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:32:37] 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-08-19 11: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-08-19 11:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502526976001,"66":27887,"245":206,"80":6400,"24":41,"16":385653445744394240,"45":1231875265177630720},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-08-19 11:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502526976001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:32:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385653445744394240,"km_value":385653445744394.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1231875265177630720,"description":"Unknown IO ID 45"} 
[2026-08-19 11:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502526976001,"power":27887,"geofence_id":206,"unknown_80":6400,"ignition":41,"odometer":null,"unknown_45":1231875265177630720}} 
[2026-08-19 11:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":157517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:32:37] local.INFO: GPS data processed {"connection_id":157517,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:32:37] local.INFO: Acknowledgment sent {"connection_id":157517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:32:47] local.INFO: TCP Data received {"connection_id":160071,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0189a2798012d181f800721b088004800d82c..."} 
[2026-08-19 11:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189a2798012d181f800721b088004800d82c..."} 
[2026-08-19 11:32:47] local.INFO: Processing buffer {"connection_id":160071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189a2798012d181f800721b088004800d82c..."} 
[2026-08-19 11:32:47] local.INFO: Packet analysis {"connection_id":160071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189a"} 
[2026-08-19 11:32:47] local.INFO: Extracted packet for processing {"connection_id":160071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189a"} 
[2026-08-19 11:32:47] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502497280001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:32:47] 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-08-19 11:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787119151000,"timestamp_ms":1787119151000,"timestamp_seconds":1787119151,"priority":1,"record_length":96,"hex_timestamp":"000001a0189a2798"} 
[2026-08-19 11:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:32:47] 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-08-19 11: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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-08-19 11:32:47] 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-08-19 11: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-08-19 11:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502497280001,"66":12461,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502497280001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:32:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:32:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502497280001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":160071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:32:47] local.INFO: GPS data processed {"connection_id":160071,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:32:47] local.INFO: Acknowledgment sent {"connection_id":160071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:32:57] local.INFO: TCP Data received {"connection_id":158763,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:32:57] local.INFO: Processing buffer {"connection_id":158763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:32:57] local.INFO: IMEI packet received {"connection_id":158763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":158763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:32:59] local.INFO: TCP Data received {"connection_id":158763,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:32:59] local.INFO: Processing buffer {"connection_id":158763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:32:59] local.INFO: IMEI packet received {"connection_id":158763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":158763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:33:05] local.INFO: TCP Data received {"connection_id":158763,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:33:05] local.INFO: Processing buffer {"connection_id":158763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:33:05] local.INFO: IMEI packet received {"connection_id":158763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":158763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:33:06] local.INFO: TCP Data received {"connection_id":158763,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189be100012d10fe4006e4c5c00010014c2c..."} 
[2026-08-19 11:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189be100012d10fe4006e4c5c00010014c2c..."} 
[2026-08-19 11:33:06] local.INFO: Processing buffer {"connection_id":158763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189be100012d10fe4006e4c5c00010014c2c..."} 
[2026-08-19 11:33:06] local.INFO: Packet analysis {"connection_id":158763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189b"} 
[2026-08-19 11:33:06] local.INFO: Extracted packet for processing {"connection_id":158763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189b"} 
[2026-08-19 11:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756088384,"raw_latitude":115656128,"longitude_deg":75.6088384,"latitude_deg":11.5656128,"altitude":16,"angle":332,"satellites":44,"speed":46,"hex_longitude":"2d10fe40","hex_latitude":"06e4c5c0","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502529280001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385653918190796800,"note":"Value kept but may cause issues"} 
[2026-08-19 11:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1228638302947667968,"note":"Value kept but may cause issues"} 
[2026-08-19 11:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787119264000,"timestamp_ms":1787119264000,"timestamp_seconds":1787119264,"priority":1,"record_length":96,"hex_timestamp":"000001a0189be100"} 
[2026-08-19 11:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 11:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502529280001,"66":27865,"245":206,"80":6400,"24":46,"16":385653918190796800,"45":1228638302947667968},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-08-19 11:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502529280001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:33:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385653918190796800,"km_value":385653918190796.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1228638302947667968,"description":"Unknown IO ID 45"} 
[2026-08-19 11:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502529280001,"power":27865,"geofence_id":206,"unknown_80":6400,"ignition":46,"odometer":null,"unknown_45":1228638302947667968}} 
[2026-08-19 11:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":158763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:33:06] local.INFO: GPS data processed {"connection_id":158763,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:33:06] local.INFO: Acknowledgment sent {"connection_id":158763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:33:09] local.INFO: TCP Data received {"connection_id":157892,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:33:09] local.INFO: Processing buffer {"connection_id":157892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:33:09] local.INFO: IMEI packet received {"connection_id":157892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":157892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:33:14] local.INFO: TCP Data received {"connection_id":157892,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:33:14] local.INFO: Processing buffer {"connection_id":157892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:33:14] local.INFO: IMEI packet received {"connection_id":157892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":157892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:33:15] local.INFO: TCP Data received {"connection_id":157892,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0189a79a0012d181f800721b088004800d82c..."} 
[2026-08-19 11:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189a79a0012d181f800721b088004800d82c..."} 
[2026-08-19 11:33:15] local.INFO: Processing buffer {"connection_id":157892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189a79a0012d181f800721b088004800d82c..."} 
[2026-08-19 11:33:15] local.INFO: Packet analysis {"connection_id":157892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189a"} 
[2026-08-19 11:33:15] local.INFO: Extracted packet for processing {"connection_id":157892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189a"} 
[2026-08-19 11:33:15] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502502656001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:33: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-08-19 11:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787119172000,"timestamp_ms":1787119172000,"timestamp_seconds":1787119172,"priority":1,"record_length":96,"hex_timestamp":"000001a0189a79a0"} 
[2026-08-19 11:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:33: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-08-19 11:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 11:33:15] 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-08-19 11:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502502656001,"66":12428,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502502656001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:33:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:33:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502502656001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":157892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:33:15] local.INFO: GPS data processed {"connection_id":157892,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:33:15] local.INFO: Acknowledgment sent {"connection_id":157892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:33:37] local.INFO: TCP Data received {"connection_id":158763,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189d5be8012d1057c006e64980000b013226..."} 
[2026-08-19 11:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189d5be8012d1057c006e64980000b013226..."} 
[2026-08-19 11:33:37] local.INFO: Processing buffer {"connection_id":158763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189d5be8012d1057c006e64980000b013226..."} 
[2026-08-19 11:33:37] local.INFO: Packet analysis {"connection_id":158763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189d"} 
[2026-08-19 11:33:37] local.INFO: Extracted packet for processing {"connection_id":158763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189d"} 
[2026-08-19 11:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756045760,"raw_latitude":115755392,"longitude_deg":75.604576,"latitude_deg":11.5755392,"altitude":11,"angle":306,"satellites":38,"speed":46,"hex_longitude":"2d1057c0","hex_latitude":"06e64980","is_valid_coordinates":true} 
[2026-08-19 11:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502554368001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385659291194884096,"note":"Value kept but may cause issues"} 
[2026-08-19 11:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1185572631537084416,"note":"Value kept but may cause issues"} 
[2026-08-19 11:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787119361000,"timestamp_ms":1787119361000,"timestamp_seconds":1787119361,"priority":1,"record_length":96,"hex_timestamp":"000001a0189d5be8"} 
[2026-08-19 11:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:33:37] 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-08-19 11:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502554368001,"66":27974,"73":206,"80":6400,"24":46,"16":385659291194884096,"45":1185572631537084416},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-08-19 11:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502554368001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:33:37] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-19 11:33:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385659291194884096,"km_value":385659291194884.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1185572631537084416,"description":"Unknown IO ID 45"} 
[2026-08-19 11:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502554368001,"power":27974,"unknown_73":206,"unknown_80":6400,"ignition":46,"odometer":null,"unknown_45":1185572631537084416}} 
[2026-08-19 11:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":158763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:33:37] local.INFO: GPS data processed {"connection_id":158763,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:33:37] local.INFO: Acknowledgment sent {"connection_id":158763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:33:46] local.INFO: TCP Data received {"connection_id":157892,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0189acba8012d181f800721b088004800d82c..."} 
[2026-08-19 11:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189acba8012d181f800721b088004800d82c..."} 
[2026-08-19 11:33:46] local.INFO: Processing buffer {"connection_id":157892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189acba8012d181f800721b088004800d82c..."} 
[2026-08-19 11:33:46] local.INFO: Packet analysis {"connection_id":157892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189a"} 
[2026-08-19 11:33:46] local.INFO: Extracted packet for processing {"connection_id":157892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189a"} 
[2026-08-19 11:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502508032001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:33:46] 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-08-19 11:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787119193000,"timestamp_ms":1787119193000,"timestamp_seconds":1787119193,"priority":1,"record_length":96,"hex_timestamp":"000001a0189acba8"} 
[2026-08-19 11:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:33:46] 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-08-19 11:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 11:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502508032001,"66":11721,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502508032001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:33:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:33:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502508032001,"power":11721,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":157892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:33:46] local.INFO: GPS data processed {"connection_id":157892,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:33:46] local.INFO: Acknowledgment sent {"connection_id":157892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:33:59] local.INFO: TCP Data received {"connection_id":157893,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:33:59] local.INFO: Processing buffer {"connection_id":157893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:33:59] local.INFO: IMEI packet received {"connection_id":157893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":157893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:34:03] local.INFO: TCP Data received {"connection_id":157893,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:34:03] local.INFO: Processing buffer {"connection_id":157893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:34:03] local.INFO: IMEI packet received {"connection_id":157893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":157893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:34:04] local.INFO: TCP Data received {"connection_id":157893,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189d7b28012d103b4006e65ec8000a013228..."} 
[2026-08-19 11:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189d7b28012d103b4006e65ec8000a013228..."} 
[2026-08-19 11:34:04] local.INFO: Processing buffer {"connection_id":157893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189d7b28012d103b4006e65ec8000a013228..."} 
[2026-08-19 11:34:04] local.INFO: Packet analysis {"connection_id":157893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189d"} 
[2026-08-19 11:34:04] local.INFO: Extracted packet for processing {"connection_id":157893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189d"} 
[2026-08-19 11:34:04] local.INFO: GPS Element Parsed {"raw_longitude":756038464,"raw_latitude":115760840,"longitude_deg":75.6038464,"latitude_deg":11.576084,"altitude":10,"angle":306,"satellites":40,"speed":44,"hex_longitude":"2d103b40","hex_latitude":"06e65ec8","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502556416001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385659729281548288,"note":"Value kept but may cause issues"} 
[2026-08-19 11:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1177620963446587392,"note":"Value kept but may cause issues"} 
[2026-08-19 11:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787119369000,"timestamp_ms":1787119369000,"timestamp_seconds":1787119369,"priority":1,"record_length":96,"hex_timestamp":"000001a0189d7b28"} 
[2026-08-19 11:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:34: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-08-19 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 11:34:04] 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-08-19 11: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-08-19 11:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502556416001,"66":27930,"73":206,"80":6400,"24":44,"16":385659729281548288,"45":1177620963446587392},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-08-19 11:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502556416001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:34:04] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-19 11:34:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385659729281548288,"km_value":385659729281548.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1177620963446587392,"description":"Unknown IO ID 45"} 
[2026-08-19 11:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502556416001,"power":27930,"unknown_73":206,"unknown_80":6400,"ignition":44,"odometer":null,"unknown_45":1177620963446587392}} 
[2026-08-19 11:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":157893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:34:04] local.INFO: GPS data processed {"connection_id":157893,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:34:04] local.INFO: Acknowledgment sent {"connection_id":157893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:34:09] local.INFO: TCP Data received {"connection_id":157894,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:34:09] local.INFO: Processing buffer {"connection_id":157894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:34:09] local.INFO: IMEI packet received {"connection_id":157894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":157894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:34:14] local.INFO: TCP Data received {"connection_id":157894,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:34:14] local.INFO: Processing buffer {"connection_id":157894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:34:14] local.INFO: IMEI packet received {"connection_id":157894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":157894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:34:15] local.INFO: TCP Data received {"connection_id":157894,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0189b1db0012d181f800721b088004800d82b..."} 
[2026-08-19 11:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189b1db0012d181f800721b088004800d82b..."} 
[2026-08-19 11:34:15] local.INFO: Processing buffer {"connection_id":157894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189b1db0012d181f800721b088004800d82b..."} 
[2026-08-19 11:34:15] local.INFO: Packet analysis {"connection_id":157894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189b"} 
[2026-08-19 11:34:15] local.INFO: Extracted packet for processing {"connection_id":157894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189b"} 
[2026-08-19 11:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502513408001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:34: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-08-19 11:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787119214000,"timestamp_ms":1787119214000,"timestamp_seconds":1787119214,"priority":1,"record_length":96,"hex_timestamp":"000001a0189b1db0"} 
[2026-08-19 11:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:34: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-08-19 11:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-19 11:34:15] 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-08-19 11:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502513408001,"66":12439,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502513408001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:34:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:34:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502513408001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":157894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:34:15] local.INFO: GPS data processed {"connection_id":157894,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:34:15] local.INFO: Acknowledgment sent {"connection_id":157894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:34:35] local.INFO: TCP Data received {"connection_id":157893,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189d9a68012d101ec006e67390000a013327..."} 
[2026-08-19 11:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189d9a68012d101ec006e67390000a013327..."} 
[2026-08-19 11:34:35] local.INFO: Processing buffer {"connection_id":157893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189d9a68012d101ec006e67390000a013327..."} 
[2026-08-19 11:34:35] local.INFO: Packet analysis {"connection_id":157893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189d"} 
[2026-08-19 11:34:35] local.INFO: Extracted packet for processing {"connection_id":157893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189d"} 
[2026-08-19 11:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756031168,"raw_latitude":115766160,"longitude_deg":75.6031168,"latitude_deg":11.576616,"altitude":10,"angle":307,"satellites":39,"speed":44,"hex_longitude":"2d101ec0","hex_latitude":"06e67390","is_valid_coordinates":true} 
[2026-08-19 11:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502558464001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385660158778277888,"note":"Value kept but may cause issues"} 
[2026-08-19 11:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1169598926611728384,"note":"Value kept but may cause issues"} 
[2026-08-19 11:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787119377000,"timestamp_ms":1787119377000,"timestamp_seconds":1787119377,"priority":1,"record_length":96,"hex_timestamp":"000001a0189d9a68"} 
[2026-08-19 11:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 11:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":157893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":157893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":157893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502558464001,"66":27865,"73":206,"80":6400,"24":44,"16":385660158778277888,"45":1169598926611728384},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-08-19 11:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502558464001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:34:35] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-19 11:34:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385660158778277888,"km_value":385660158778277.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1169598926611728384,"description":"Unknown IO ID 45"} 
[2026-08-19 11:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502558464001,"power":27865,"unknown_73":206,"unknown_80":6400,"ignition":44,"odometer":null,"unknown_45":1169598926611728384}} 
[2026-08-19 11:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":157893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:34:35] local.INFO: GPS data processed {"connection_id":157893,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:34:35] local.INFO: Acknowledgment sent {"connection_id":157893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:34:47] local.INFO: TCP Data received {"connection_id":157894,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0189b6fb8012d181f800721b088004800d82c..."} 
[2026-08-19 11:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189b6fb8012d181f800721b088004800d82c..."} 
[2026-08-19 11:34:47] local.INFO: Processing buffer {"connection_id":157894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189b6fb8012d181f800721b088004800d82c..."} 
[2026-08-19 11:34:47] local.INFO: Packet analysis {"connection_id":157894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189b"} 
[2026-08-19 11:34:47] local.INFO: Extracted packet for processing {"connection_id":157894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189b"} 
[2026-08-19 11:34:47] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502518784001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:34:47] 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-08-19 11:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787119235000,"timestamp_ms":1787119235000,"timestamp_seconds":1787119235,"priority":1,"record_length":96,"hex_timestamp":"000001a0189b6fb8"} 
[2026-08-19 11:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:34:47] 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-08-19 11: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-19 11:34:47] 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-08-19 11: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-08-19 11:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502518784001,"66":12461,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502518784001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:34:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:34:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502518784001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":157894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:34:47] local.INFO: GPS data processed {"connection_id":157894,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:34:47] local.INFO: Acknowledgment sent {"connection_id":157894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:34:59] local.INFO: TCP Data received {"connection_id":158764,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:34:59] local.INFO: Processing buffer {"connection_id":158764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:34:59] local.INFO: IMEI packet received {"connection_id":158764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":158764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:35:00] local.INFO: TCP Data received {"connection_id":158764,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:35:00] local.INFO: Processing buffer {"connection_id":158764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:35:00] local.INFO: IMEI packet received {"connection_id":158764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":158764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:35:05] local.INFO: TCP Data received {"connection_id":158764,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:35:05] local.INFO: Processing buffer {"connection_id":158764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:35:05] local.INFO: IMEI packet received {"connection_id":158764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":158764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:35:05] local.INFO: TCP Data received {"connection_id":158764,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189dbd90012d0fff8006e689f8000a012f2a..."} 
[2026-08-19 11:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189dbd90012d0fff8006e689f8000a012f2a..."} 
[2026-08-19 11:35:05] local.INFO: Processing buffer {"connection_id":158764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189dbd90012d0fff8006e689f8000a012f2a..."} 
[2026-08-19 11:35:05] local.INFO: Packet analysis {"connection_id":158764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189d"} 
[2026-08-19 11:35:05] local.INFO: Extracted packet for processing {"connection_id":158764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189d"} 
[2026-08-19 11:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756023168,"raw_latitude":115771896,"longitude_deg":75.6023168,"latitude_deg":11.5771896,"altitude":10,"angle":303,"satellites":42,"speed":42,"hex_longitude":"2d0fff80","hex_latitude":"06e689f8","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502560512001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385660631224680448,"note":"Value kept but may cause issues"} 
[2026-08-19 11:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1161576889776836608,"note":"Value kept but may cause issues"} 
[2026-08-19 11:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787119386000,"timestamp_ms":1787119386000,"timestamp_seconds":1787119386,"priority":1,"record_length":96,"hex_timestamp":"000001a0189dbd90"} 
[2026-08-19 11:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:35:05] 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-08-19 11: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-08-19 11:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502560512001,"66":27865,"73":206,"80":6400,"24":42,"16":385660631224680448,"45":1161576889776836608},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-08-19 11:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502560512001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:35:05] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-19 11:35:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385660631224680448,"km_value":385660631224680.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1161576889776836608,"description":"Unknown IO ID 45"} 
[2026-08-19 11:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502560512001,"power":27865,"unknown_73":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1161576889776836608}} 
[2026-08-19 11:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":158764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:35:06] local.INFO: GPS data processed {"connection_id":158764,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:35:06] local.INFO: Acknowledgment sent {"connection_id":158764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:35:09] local.INFO: TCP Data received {"connection_id":157518,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:35:09] local.INFO: Processing buffer {"connection_id":157518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:35:09] local.INFO: IMEI packet received {"connection_id":157518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":157518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:35:14] local.INFO: TCP Data received {"connection_id":157518,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:35:14] local.INFO: Processing buffer {"connection_id":157518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:35:14] local.INFO: IMEI packet received {"connection_id":157518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":157518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:35:15] local.INFO: TCP Data received {"connection_id":157518,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0189bc1c0012d181f800721b088004800d82b..."} 
[2026-08-19 11:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189bc1c0012d181f800721b088004800d82b..."} 
[2026-08-19 11:35:15] local.INFO: Processing buffer {"connection_id":157518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189bc1c0012d181f800721b088004800d82b..."} 
[2026-08-19 11:35:15] local.INFO: Packet analysis {"connection_id":157518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189b"} 
[2026-08-19 11:35:15] local.INFO: Extracted packet for processing {"connection_id":157518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189b"} 
[2026-08-19 11:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502524160001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:35: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-08-19 11:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787119256000,"timestamp_ms":1787119256000,"timestamp_seconds":1787119256,"priority":1,"record_length":96,"hex_timestamp":"000001a0189bc1c0"} 
[2026-08-19 11:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:35: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-08-19 11:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 11:35:15] 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-08-19 11:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502524160001,"66":12461,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502524160001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:35:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:35:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502524160001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":157518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:35:16] local.INFO: GPS data processed {"connection_id":157518,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:35:16] local.INFO: Acknowledgment sent {"connection_id":157518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:35:37] local.INFO: TCP Data received {"connection_id":158764,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189f4c00012d0ec18006e77350000e013f28..."} 
[2026-08-19 11:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189f4c00012d0ec18006e77350000e013f28..."} 
[2026-08-19 11:35:37] local.INFO: Processing buffer {"connection_id":158764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189f4c00012d0ec18006e77350000e013f28..."} 
[2026-08-19 11:35:37] local.INFO: Packet analysis {"connection_id":158764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189f"} 
[2026-08-19 11:35:37] local.INFO: Extracted packet for processing {"connection_id":158764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189f"} 
[2026-08-19 11:35:37] local.INFO: GPS Element Parsed {"raw_longitude":755941760,"raw_latitude":115831632,"longitude_deg":75.594176,"latitude_deg":11.5831632,"altitude":14,"angle":319,"satellites":40,"speed":46,"hex_longitude":"2d0ec180","hex_latitude":"06e77350","is_valid_coordinates":true} 
[2026-08-19 11:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502586880001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385665536077332480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1070167891105007616,"note":"Value kept but may cause issues"} 
[2026-08-19 11:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787119488000,"timestamp_ms":1787119488000,"timestamp_seconds":1787119488,"priority":1,"record_length":96,"hex_timestamp":"000001a0189f4c00"} 
[2026-08-19 11:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 11:35:37] 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-08-19 11:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502586880001,"66":27767,"177":206,"80":6400,"24":46,"16":385665536077332480,"45":1070167891105007616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-08-19 11:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502586880001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:35:37] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 11:35:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385665536077332480,"km_value":385665536077332.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1070167891105007616,"description":"Unknown IO ID 45"} 
[2026-08-19 11:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502586880001,"power":27767,"unknown_177":206,"unknown_80":6400,"ignition":46,"odometer":null,"unknown_45":1070167891105007616}} 
[2026-08-19 11:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":158764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:35:37] local.INFO: GPS data processed {"connection_id":158764,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:35:37] local.INFO: Acknowledgment sent {"connection_id":158764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:35:47] local.INFO: TCP Data received {"connection_id":157518,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0189c13c8012d181f800721b088004800d82b..."} 
[2026-08-19 11:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189c13c8012d181f800721b088004800d82b..."} 
[2026-08-19 11:35:47] local.INFO: Processing buffer {"connection_id":157518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189c13c8012d181f800721b088004800d82b..."} 
[2026-08-19 11:35:47] local.INFO: Packet analysis {"connection_id":157518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189c"} 
[2026-08-19 11:35:47] local.INFO: Extracted packet for processing {"connection_id":157518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189c"} 
[2026-08-19 11:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502529536001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:35:47] 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-08-19 11:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787119277000,"timestamp_ms":1787119277000,"timestamp_seconds":1787119277,"priority":1,"record_length":96,"hex_timestamp":"000001a0189c13c8"} 
[2026-08-19 11:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:35:47] 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-08-19 11:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 11:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502529536001,"66":12428,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502529536001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:35:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:35:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502529536001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":157518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:35:47] local.INFO: GPS data processed {"connection_id":157518,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:35:47] local.INFO: Acknowledgment sent {"connection_id":157518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:35:59] local.INFO: TCP Data received {"connection_id":157895,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:35:59] local.INFO: Processing buffer {"connection_id":157895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:35:59] local.INFO: IMEI packet received {"connection_id":157895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":157895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:36:02] local.INFO: TCP Data received {"connection_id":157895,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:36:02] local.INFO: Processing buffer {"connection_id":157895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:36:02] local.INFO: IMEI packet received {"connection_id":157895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":157895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:36:08] local.INFO: TCP Data received {"connection_id":157895,"ip":"42.109.136.0","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 11:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157895,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 11:36:08] local.INFO: Processing buffer {"connection_id":157895,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 11:36:08] local.INFO: IMEI packet received {"connection_id":157895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":157895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:36:10] local.INFO: TCP Data received {"connection_id":157895,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189f6758012d0eb18006e78500000d012f2a..."} 
[2026-08-19 11:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189f6758012d0eb18006e78500000d012f2a..."} 
[2026-08-19 11:36:10] local.INFO: Processing buffer {"connection_id":157895,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a018..."} 
[2026-08-19 11:36:10] local.INFO: IMEI packet received {"connection_id":157895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":157895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:36:11] local.INFO: TCP Data received {"connection_id":157895,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189f6f28012d0eae0006e786b0000c01232b..."} 
[2026-08-19 11:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189f6f28012d0eae0006e786b0000c01232b..."} 
[2026-08-19 11:36:11] local.INFO: Processing buffer {"connection_id":157895,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0189f6758012d0eb18006e78500000d012f2a..."} 
[2026-08-19 11:36:11] local.INFO: Packet analysis {"connection_id":157895,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0189f"} 
[2026-08-19 11:36:11] local.INFO: Extracted packet for processing {"connection_id":157895,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189f"} 
[2026-08-19 11:36:11] local.INFO: GPS Element Parsed {"raw_longitude":755937664,"raw_latitude":115836160,"longitude_deg":75.5937664,"latitude_deg":11.583616,"altitude":13,"angle":303,"satellites":42,"speed":19,"hex_longitude":"2d0eb180","hex_latitude":"06e78500","is_valid_coordinates":true} 
[2026-08-19 11:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502588928001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385665832430075904,"note":"Value kept but may cause issues"} 
[2026-08-19 11:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1063271754177400832,"note":"Value kept but may cause issues"} 
[2026-08-19 11:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787119495000,"timestamp_ms":1787119495000,"timestamp_seconds":1787119495,"priority":1,"record_length":96,"hex_timestamp":"000001a0189f6758"} 
[2026-08-19 11:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:36: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-08-19 11:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 11:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502588928001,"66":27919,"177":206,"80":6400,"24":19,"16":385665832430075904,"45":1063271754177400832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-08-19 11:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502588928001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:36:11] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 11:36:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385665832430075904,"km_value":385665832430075.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1063271754177400832,"description":"Unknown IO ID 45"} 
[2026-08-19 11:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502588928001,"power":27919,"unknown_177":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":1063271754177400832}} 
[2026-08-19 11:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":157895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:36:11] local.INFO: GPS data processed {"connection_id":157895,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:36:11] local.INFO: Acknowledgment sent {"connection_id":157895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:36:11] local.INFO: Packet analysis {"connection_id":157895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189f"} 
[2026-08-19 11:36:11] local.INFO: Extracted packet for processing {"connection_id":157895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189f"} 
[2026-08-19 11:36:11] local.INFO: GPS Element Parsed {"raw_longitude":755936768,"raw_latitude":115836592,"longitude_deg":75.5936768,"latitude_deg":11.5836592,"altitude":12,"angle":291,"satellites":43,"speed":19,"hex_longitude":"2d0eae00","hex_latitude":"06e786b0","is_valid_coordinates":true} 
[2026-08-19 11:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502590720001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385665879674716160,"note":"Value kept but may cause issues"} 
[2026-08-19 11:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1058768154551189504,"note":"Value kept but may cause issues"} 
[2026-08-19 11:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787119497000,"timestamp_ms":1787119497000,"timestamp_seconds":1787119497,"priority":1,"record_length":96,"hex_timestamp":"000001a0189f6f28"} 
[2026-08-19 11:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:36: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-08-19 11:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 11:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502590720001,"66":27984,"177":206,"80":6400,"24":19,"16":385665879674716160,"45":1058768154551189504},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-08-19 11:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502590720001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:36:11] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 11:36:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385665879674716160,"km_value":385665879674716.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1058768154551189504,"description":"Unknown IO ID 45"} 
[2026-08-19 11:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502590720001,"power":27984,"unknown_177":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":1058768154551189504}} 
[2026-08-19 11:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":157895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:36:11] local.INFO: GPS data processed {"connection_id":157895,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:36:11] local.INFO: Acknowledgment sent {"connection_id":157895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:36:14] local.INFO: TCP Data received {"connection_id":160072,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:36:14] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:36:14] local.INFO: IMEI packet received {"connection_id":160072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":160072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:36:14] local.INFO: TCP Data received {"connection_id":157895,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189f7ae0012d0ea84006e789e0000c01332a..."} 
[2026-08-19 11:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189f7ae0012d0ea84006e789e0000c01332a..."} 
[2026-08-19 11:36:14] local.INFO: Processing buffer {"connection_id":157895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189f7ae0012d0ea84006e789e0000c01332a..."} 
[2026-08-19 11:36:14] local.INFO: Packet analysis {"connection_id":157895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189f"} 
[2026-08-19 11:36:14] local.INFO: Extracted packet for processing {"connection_id":157895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189f"} 
[2026-08-19 11:36:14] local.INFO: GPS Element Parsed {"raw_longitude":755935296,"raw_latitude":115837408,"longitude_deg":75.5935296,"latitude_deg":11.5837408,"altitude":12,"angle":307,"satellites":42,"speed":25,"hex_longitude":"2d0ea840","hex_latitude":"06e789e0","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502591232001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385665956984127488,"note":"Value kept but may cause issues"} 
[2026-08-19 11:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1057782992132812800,"note":"Value kept but may cause issues"} 
[2026-08-19 11:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787119500000,"timestamp_ms":1787119500000,"timestamp_seconds":1787119500,"priority":1,"record_length":96,"hex_timestamp":"000001a0189f7ae0"} 
[2026-08-19 11:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:36: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-08-19 11: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 11:36:14] 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-08-19 11: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-08-19 11:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502591232001,"66":27908,"177":206,"80":6400,"24":25,"16":385665956984127488,"45":1057782992132812800},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-08-19 11:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502591232001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:36:14] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 11:36:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385665956984127488,"km_value":385665956984127.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1057782992132812800,"description":"Unknown IO ID 45"} 
[2026-08-19 11:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502591232001,"power":27908,"unknown_177":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":1057782992132812800}} 
[2026-08-19 11:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":157895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:36:14] local.INFO: GPS data processed {"connection_id":157895,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:36:14] local.INFO: Acknowledgment sent {"connection_id":157895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:36:19] local.INFO: TCP Data received {"connection_id":160072,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:36:19] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:36:19] local.INFO: IMEI packet received {"connection_id":160072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":160072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:36:20] local.INFO: TCP Data received {"connection_id":160072,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0189c65d0012d181f800721b088004800d82b..."} 
[2026-08-19 11:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189c65d0012d181f800721b088004800d82b..."} 
[2026-08-19 11:36:20] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189c65d0012d181f800721b088004800d82b..."} 
[2026-08-19 11:36:20] local.INFO: Packet analysis {"connection_id":160072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189c"} 
[2026-08-19 11:36:20] local.INFO: Extracted packet for processing {"connection_id":160072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189c"} 
[2026-08-19 11:36:20] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 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-08-19 11:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502534912001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:36:20] 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-08-19 11:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787119298000,"timestamp_ms":1787119298000,"timestamp_seconds":1787119298,"priority":1,"record_length":96,"hex_timestamp":"000001a0189c65d0"} 
[2026-08-19 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-08-19 11:36:20] 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-08-19 11:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 11:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 11:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502534912001,"66":12461,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502534912001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:36:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:36:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502534912001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":160072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:36:21] local.INFO: GPS data processed {"connection_id":160072,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:36:21] local.INFO: Acknowledgment sent {"connection_id":160072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:36:22] local.INFO: TCP Data received {"connection_id":160072,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0189cb7d8012d181f800721b088004800d829..."} 
[2026-08-19 11:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189cb7d8012d181f800721b088004800d829..."} 
[2026-08-19 11:36:22] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189cb7d8012d181f800721b088004800d829..."} 
[2026-08-19 11:36:22] local.INFO: Packet analysis {"connection_id":160072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189c"} 
[2026-08-19 11:36:22] local.INFO: Extracted packet for processing {"connection_id":160072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189c"} 
[2026-08-19 11:36:22] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502540288001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:36:22] 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-08-19 11:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787119319000,"timestamp_ms":1787119319000,"timestamp_seconds":1787119319,"priority":1,"record_length":96,"hex_timestamp":"000001a0189cb7d8"} 
[2026-08-19 11:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 11:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502540288001,"66":12461,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502540288001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:36:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:36:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502540288001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":160072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:36:22] local.INFO: GPS data processed {"connection_id":160072,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:36:22] local.INFO: Acknowledgment sent {"connection_id":160072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:36:53] local.INFO: TCP Data received {"connection_id":160072,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0189d09e0012d181f800721b088004800d82a..."} 
[2026-08-19 11:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189d09e0012d181f800721b088004800d82a..."} 
[2026-08-19 11:36:53] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189d09e0012d181f800721b088004800d82a..."} 
[2026-08-19 11:36:53] local.INFO: Packet analysis {"connection_id":160072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189d"} 
[2026-08-19 11:36:53] local.INFO: Extracted packet for processing {"connection_id":160072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189d"} 
[2026-08-19 11:36:53] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648392,"longitude_deg":75.6555648,"latitude_deg":11.9648392,"altitude":72,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b088","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502545664001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688172441501696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306644480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:36:53] 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-08-19 11:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787119340000,"timestamp_ms":1787119340000,"timestamp_seconds":1787119340,"priority":1,"record_length":96,"hex_timestamp":"000001a0189d09e0"} 
[2026-08-19 11:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 11:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502545664001,"66":12461,"120":206,"28":31744,"24":0,"16":13688172441501696,"45":1738248749306644480},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502545664001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:36:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:36:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688172441501696,"km_value":13688172441501.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306644480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502545664001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306644480}} 
[2026-08-19 11:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":160072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:36:53] local.INFO: GPS data processed {"connection_id":160072,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:36:53] local.INFO: Acknowledgment sent {"connection_id":160072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:37:02] local.INFO: TCP Data received {"connection_id":158765,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:37:02] local.INFO: Processing buffer {"connection_id":158765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:37:02] local.INFO: IMEI packet received {"connection_id":158765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":158765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:37:04] local.INFO: TCP Data received {"connection_id":158765,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:37:04] local.INFO: Processing buffer {"connection_id":158765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:37:04] local.INFO: IMEI packet received {"connection_id":158765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":158765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:37:09] local.INFO: TCP Data received {"connection_id":157519,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:37:09] local.INFO: Processing buffer {"connection_id":157519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:37:09] local.INFO: IMEI packet received {"connection_id":157519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":157519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:37:10] local.INFO: TCP Data received {"connection_id":158765,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:37:10] local.INFO: Processing buffer {"connection_id":158765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:37:10] local.INFO: IMEI packet received {"connection_id":158765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":158765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:37:10] local.INFO: TCP Data received {"connection_id":157519,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:37:10] local.INFO: Processing buffer {"connection_id":157519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:37:10] local.INFO: IMEI packet received {"connection_id":157519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":157519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:37:11] local.INFO: TCP Data received {"connection_id":158765,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189fa1f0012d0e918006e7a1d0000b01412a..."} 
[2026-08-19 11:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189fa1f0012d0e918006e7a1d0000b01412a..."} 
[2026-08-19 11:37:11] local.INFO: Processing buffer {"connection_id":158765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189fa1f0012d0e918006e7a1d0000b01412a..."} 
[2026-08-19 11:37:11] local.INFO: Packet analysis {"connection_id":158765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189f"} 
[2026-08-19 11:37:11] local.INFO: Extracted packet for processing {"connection_id":158765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189f"} 
[2026-08-19 11:37:11] local.INFO: GPS Element Parsed {"raw_longitude":755929472,"raw_latitude":115843536,"longitude_deg":75.5929472,"latitude_deg":11.5843536,"altitude":11,"angle":321,"satellites":42,"speed":39,"hex_longitude":"2d0e9180","hex_latitude":"06e7a1d0","is_valid_coordinates":true} 
[2026-08-19 11:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502592000001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385666365006020608,"note":"Value kept but may cause issues"} 
[2026-08-19 11:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1056164511016935424,"note":"Value kept but may cause issues"} 
[2026-08-19 11:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787119510000,"timestamp_ms":1787119510000,"timestamp_seconds":1787119510,"priority":1,"record_length":96,"hex_timestamp":"000001a0189fa1f0"} 
[2026-08-19 11:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:37: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-08-19 11:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502592000001,"66":27919,"177":206,"80":6400,"24":39,"16":385666365006020608,"45":1056164511016935424},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-08-19 11:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502592000001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:37:11] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 11:37:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385666365006020608,"km_value":385666365006020.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1056164511016935424,"description":"Unknown IO ID 45"} 
[2026-08-19 11:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502592000001,"power":27919,"unknown_177":206,"unknown_80":6400,"ignition":39,"odometer":null,"unknown_45":1056164511016935424}} 
[2026-08-19 11:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":158765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:37:11] local.INFO: GPS data processed {"connection_id":158765,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:37:11] local.INFO: Acknowledgment sent {"connection_id":158765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:37:11] local.INFO: TCP Data received {"connection_id":157519,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a074e0012d181ec00721af08004e00ea2a..."} 
[2026-08-19 11:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a074e0012d181ec00721af08004e00ea2a..."} 
[2026-08-19 11:37:11] local.INFO: Processing buffer {"connection_id":157519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a074e0012d181ec00721af08004e00ea2a..."} 
[2026-08-19 11:37:11] local.INFO: Packet analysis {"connection_id":157519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a0"} 
[2026-08-19 11:37:11] local.INFO: Extracted packet for processing {"connection_id":157519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a0"} 
[2026-08-19 11:37:11] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648008,"longitude_deg":75.6555456,"latitude_deg":11.9648008,"altitude":78,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af08","is_valid_coordinates":true} 
[2026-08-19 11:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502603008001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688198211305472,"note":"Value kept but may cause issues"} 
[2026-08-19 11:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562370560,"note":"Value kept but may cause issues"} 
[2026-08-19 11:37: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-08-19 11:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787119564000,"timestamp_ms":1787119564000,"timestamp_seconds":1787119564,"priority":1,"record_length":96,"hex_timestamp":"000001a018a074e0"} 
[2026-08-19 11:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:37: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-08-19 11:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 11: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-08-19 11:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502603008001,"66":12428,"120":206,"28":31744,"24":0,"16":13688198211305472,"45":1738178380562370560},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502603008001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:37:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:37:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688198211305472,"km_value":13688198211305.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562370560,"description":"Unknown IO ID 45"} 
[2026-08-19 11:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502603008001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562370560}} 
[2026-08-19 11:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":157519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:37:11] local.INFO: GPS data processed {"connection_id":157519,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:37:11] local.INFO: Acknowledgment sent {"connection_id":157519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:37:12] local.INFO: TCP Data received {"connection_id":158765,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189fb190012d0e890006e7af70000a015029..."} 
[2026-08-19 11:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189fb190012d0e890006e7af70000a015029..."} 
[2026-08-19 11:37:12] local.INFO: Processing buffer {"connection_id":158765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189fb190012d0e890006e7af70000a015029..."} 
[2026-08-19 11:37:12] local.INFO: Packet analysis {"connection_id":158765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189f"} 
[2026-08-19 11:37:12] local.INFO: Extracted packet for processing {"connection_id":158765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189f"} 
[2026-08-19 11:37:12] local.INFO: GPS Element Parsed {"raw_longitude":755927296,"raw_latitude":115847024,"longitude_deg":75.5927296,"latitude_deg":11.5847024,"altitude":10,"angle":336,"satellites":41,"speed":41,"hex_longitude":"2d0e8900","hex_latitude":"06e7af70","is_valid_coordinates":true} 
[2026-08-19 11:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502594560001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385666562574516224,"note":"Value kept but may cause issues"} 
[2026-08-19 11:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1049760955298336768,"note":"Value kept but may cause issues"} 
[2026-08-19 11:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787119514000,"timestamp_ms":1787119514000,"timestamp_seconds":1787119514,"priority":1,"record_length":96,"hex_timestamp":"000001a0189fb190"} 
[2026-08-19 11:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 11:37:12] 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-08-19 11:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502594560001,"66":27800,"177":206,"80":6400,"24":41,"16":385666562574516224,"45":1049760955298336768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-08-19 11:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502594560001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:37:12] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 11:37:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385666562574516224,"km_value":385666562574516.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1049760955298336768,"description":"Unknown IO ID 45"} 
[2026-08-19 11:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502594560001,"power":27800,"unknown_177":206,"unknown_80":6400,"ignition":41,"odometer":null,"unknown_45":1049760955298336768}} 
[2026-08-19 11:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":158765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:37:12] local.INFO: GPS data processed {"connection_id":158765,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:37:12] local.INFO: Acknowledgment sent {"connection_id":158765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:37:43] local.INFO: TCP Data received {"connection_id":157519,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a0c6e8012d181ec00721af08004e00ea2c..."} 
[2026-08-19 11:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a0c6e8012d181ec00721af08004e00ea2c..."} 
[2026-08-19 11:37:43] local.INFO: Processing buffer {"connection_id":157519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a0c6e8012d181ec00721af08004e00ea2c..."} 
[2026-08-19 11:37:43] local.INFO: Packet analysis {"connection_id":157519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a0"} 
[2026-08-19 11:37:43] local.INFO: Extracted packet for processing {"connection_id":157519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a0"} 
[2026-08-19 11:37:43] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648008,"longitude_deg":75.6555456,"latitude_deg":11.9648008,"altitude":78,"angle":234,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af08","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502608384001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688198211305472,"note":"Value kept but may cause issues"} 
[2026-08-19 11:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074013184,"note":"Value kept but may cause issues"} 
[2026-08-19 11:37: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-08-19 11:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787119585000,"timestamp_ms":1787119585000,"timestamp_seconds":1787119585,"priority":1,"record_length":96,"hex_timestamp":"000001a018a0c6e8"} 
[2026-08-19 11:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:37: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-08-19 11: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":140,"data_length":795,"current_offset":136} 
[2026-08-19 11:37:43] 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-08-19 11: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-08-19 11:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502608384001,"66":12461,"120":206,"28":31744,"24":0,"16":13688198211305472,"45":1738037643074013184},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502608384001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:37:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:37:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688198211305472,"km_value":13688198211305.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074013184,"description":"Unknown IO ID 45"} 
[2026-08-19 11:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502608384001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074013184}} 
[2026-08-19 11:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":157519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:37:43] local.INFO: GPS data processed {"connection_id":157519,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:37:43] local.INFO: Acknowledgment sent {"connection_id":157519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:37:43] local.INFO: TCP Data received {"connection_id":158765,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189fd4b8012d0e7f8006e7d388000a015c28..."} 
[2026-08-19 11:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189fd4b8012d0e7f8006e7d388000a015c28..."} 
[2026-08-19 11:37:43] local.INFO: Processing buffer {"connection_id":158765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189fd4b8012d0e7f8006e7d388000a015c28..."} 
[2026-08-19 11:37:43] local.INFO: Packet analysis {"connection_id":158765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189f"} 
[2026-08-19 11:37:43] local.INFO: Extracted packet for processing {"connection_id":158765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189f"} 
[2026-08-19 11:37:43] local.INFO: GPS Element Parsed {"raw_longitude":755924864,"raw_latitude":115856264,"longitude_deg":75.5924864,"latitude_deg":11.5856264,"altitude":10,"angle":348,"satellites":40,"speed":37,"hex_longitude":"2d0e7f80","hex_latitude":"06e7d388","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502595584001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385667026430984192,"note":"Value kept but may cause issues"} 
[2026-08-19 11:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1047368417997189120,"note":"Value kept but may cause issues"} 
[2026-08-19 11:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787119523000,"timestamp_ms":1787119523000,"timestamp_seconds":1787119523,"priority":1,"record_length":96,"hex_timestamp":"000001a0189fd4b8"} 
[2026-08-19 11:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 11:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502595584001,"66":27865,"177":206,"80":6400,"24":37,"16":385667026430984192,"45":1047368417997189120},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-08-19 11:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502595584001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:37:43] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 11:37:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385667026430984192,"km_value":385667026430984.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1047368417997189120,"description":"Unknown IO ID 45"} 
[2026-08-19 11:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502595584001,"power":27865,"unknown_177":206,"unknown_80":6400,"ignition":37,"odometer":null,"unknown_45":1047368417997189120}} 
[2026-08-19 11:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":158765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:37:43] local.INFO: GPS data processed {"connection_id":158765,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:37:43] local.INFO: Acknowledgment sent {"connection_id":158765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:37:59] local.INFO: TCP Data received {"connection_id":160073,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:37:59] local.INFO: Processing buffer {"connection_id":160073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:37:59] local.INFO: IMEI packet received {"connection_id":160073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":160073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:38:04] local.INFO: TCP Data received {"connection_id":160073,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:38:04] local.INFO: Processing buffer {"connection_id":160073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:38:04] local.INFO: IMEI packet received {"connection_id":160073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":160073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:38:05] local.INFO: TCP Data received {"connection_id":160073,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0189fd4b8012d0e7f8006e7d388000a015c28..."} 
[2026-08-19 11:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0189fd4b8012d0e7f8006e7d388000a015c28..."} 
[2026-08-19 11:38:05] local.INFO: Processing buffer {"connection_id":160073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0189fd4b8012d0e7f8006e7d388000a015c28..."} 
[2026-08-19 11:38:05] local.INFO: Packet analysis {"connection_id":160073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0189f"} 
[2026-08-19 11:38:05] local.INFO: Extracted packet for processing {"connection_id":160073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0189f"} 
[2026-08-19 11:38:05] local.INFO: GPS Element Parsed {"raw_longitude":755924864,"raw_latitude":115856264,"longitude_deg":75.5924864,"latitude_deg":11.5856264,"altitude":10,"angle":348,"satellites":40,"speed":37,"hex_longitude":"2d0e7f80","hex_latitude":"06e7d388","is_valid_coordinates":true} 
[2026-08-19 11:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502597888001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385667026430984192,"note":"Value kept but may cause issues"} 
[2026-08-19 11:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044694405720803328,"note":"Value kept but may cause issues"} 
[2026-08-19 11:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787119523000,"timestamp_ms":1787119523000,"timestamp_seconds":1787119523,"priority":1,"record_length":96,"hex_timestamp":"000001a0189fd4b8"} 
[2026-08-19 11:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:38: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-08-19 11:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:38:05] 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-08-19 11:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502597888001,"66":27865,"177":206,"80":6400,"24":37,"16":385667026430984192,"45":1044694405720803328},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-08-19 11:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502597888001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:38:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 11:38:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385667026430984192,"km_value":385667026430984.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044694405720803328,"description":"Unknown IO ID 45"} 
[2026-08-19 11:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502597888001,"power":27865,"unknown_177":206,"unknown_80":6400,"ignition":37,"odometer":null,"unknown_45":1044694405720803328}} 
[2026-08-19 11:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":160073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:38:05] local.INFO: GPS data processed {"connection_id":160073,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:38:05] local.INFO: Acknowledgment sent {"connection_id":160073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:38:09] local.INFO: TCP Data received {"connection_id":157896,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:38:09] local.INFO: Processing buffer {"connection_id":157896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:38:09] local.INFO: IMEI packet received {"connection_id":157896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":157896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:38:14] local.INFO: TCP Data received {"connection_id":157896,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:38:14] local.INFO: Processing buffer {"connection_id":157896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:38:14] local.INFO: IMEI packet received {"connection_id":157896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":157896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:38:16] local.INFO: TCP Data received {"connection_id":157896,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a0e240012d181e000721ae08004f00d32c..."} 
[2026-08-19 11:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a0e240012d181e000721ae08004f00d32c..."} 
[2026-08-19 11:38:16] local.INFO: Processing buffer {"connection_id":157896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a0e240012d181e000721ae08004f00d32c..."} 
[2026-08-19 11:38:16] local.INFO: Packet analysis {"connection_id":157896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a0"} 
[2026-08-19 11:38:16] local.INFO: Extracted packet for processing {"connection_id":157896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a0"} 
[2026-08-19 11:38:16] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647752,"longitude_deg":75.6555264,"latitude_deg":11.9647752,"altitude":79,"angle":211,"satellites":44,"speed":1,"hex_longitude":"2d181e00","hex_latitude":"0721ae08","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502613760001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688215391174656,"note":"Value kept but may cause issues"} 
[2026-08-19 11:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074013184,"note":"Value kept but may cause issues"} 
[2026-08-19 11:38:16] 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-08-19 11:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787119592000,"timestamp_ms":1787119592000,"timestamp_seconds":1787119592,"priority":1,"record_length":96,"hex_timestamp":"000001a018a0e240"} 
[2026-08-19 11:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:38:16] 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-08-19 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 11:38: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-08-19 11: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-08-19 11:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502613760001,"66":12385,"120":206,"28":31744,"24":1,"16":13688215391174656,"45":1738037643074013184},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502613760001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:38:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:38:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688215391174656,"km_value":13688215391174.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074013184,"description":"Unknown IO ID 45"} 
[2026-08-19 11:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502613760001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1738037643074013184}} 
[2026-08-19 11:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":157896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:38:16] local.INFO: GPS data processed {"connection_id":157896,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:38:16] local.INFO: Acknowledgment sent {"connection_id":157896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:38:36] local.INFO: TCP Data received {"connection_id":160073,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a026c0012d0e780006e7f498000d015728..."} 
[2026-08-19 11:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a026c0012d0e780006e7f498000d015728..."} 
[2026-08-19 11:38:36] local.INFO: Processing buffer {"connection_id":160073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a026c0012d0e780006e7f498000d015728..."} 
[2026-08-19 11:38:36] local.INFO: Packet analysis {"connection_id":160073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a0"} 
[2026-08-19 11:38:36] local.INFO: Extracted packet for processing {"connection_id":160073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a0"} 
[2026-08-19 11:38:36] local.INFO: GPS Element Parsed {"raw_longitude":755922944,"raw_latitude":115864728,"longitude_deg":75.5922944,"latitude_deg":11.5864728,"altitude":13,"angle":343,"satellites":40,"speed":22,"hex_longitude":"2d0e7800","hex_latitude":"06e7f498","is_valid_coordinates":true} 
[2026-08-19 11:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502597888001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385667447337779200,"note":"Value kept but may cause issues"} 
[2026-08-19 11:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044694405720803328,"note":"Value kept but may cause issues"} 
[2026-08-19 11:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787119544000,"timestamp_ms":1787119544000,"timestamp_seconds":1787119544,"priority":1,"record_length":96,"hex_timestamp":"000001a018a026c0"} 
[2026-08-19 11:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:38:36] 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-08-19 11:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502597888001,"66":27930,"167":206,"80":6400,"24":22,"16":385667447337779200,"45":1044694405720803328},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-08-19 11:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502597888001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:38:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 11:38:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385667447337779200,"km_value":385667447337779.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044694405720803328,"description":"Unknown IO ID 45"} 
[2026-08-19 11:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502597888001,"power":27930,"unknown_167":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":1044694405720803328}} 
[2026-08-19 11:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":160073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:38:36] local.INFO: GPS data processed {"connection_id":160073,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:38:36] local.INFO: Acknowledgment sent {"connection_id":160073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:38:47] local.INFO: TCP Data received {"connection_id":157896,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a0f1e0012d181d400721ad50004e00e32b..."} 
[2026-08-19 11:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a0f1e0012d181d400721ad50004e00e32b..."} 
[2026-08-19 11:38:47] local.INFO: Processing buffer {"connection_id":157896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a0f1e0012d181d400721ad50004e00e32b..."} 
[2026-08-19 11:38:47] local.INFO: Packet analysis {"connection_id":157896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a0"} 
[2026-08-19 11:38:47] local.INFO: Extracted packet for processing {"connection_id":157896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a0"} 
[2026-08-19 11:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647568,"longitude_deg":75.6555072,"latitude_deg":11.9647568,"altitude":78,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad50","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502615552001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841414656,"note":"Value kept but may cause issues"} 
[2026-08-19 11:38:47] 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-08-19 11:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787119596000,"timestamp_ms":1787119596000,"timestamp_seconds":1787119596,"priority":1,"record_length":96,"hex_timestamp":"000001a018a0f1e0"} 
[2026-08-19 11:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:38:47] 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-08-19 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 11:38:47] 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-08-19 11: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-08-19 11:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502615552001,"66":11624,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737826536841414656},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502615552001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:38:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:38:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841414656,"description":"Unknown IO ID 45"} 
[2026-08-19 11:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502615552001,"power":11624,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841414656}} 
[2026-08-19 11:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":157896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:38:47] local.INFO: GPS data processed {"connection_id":157896,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:38:47] local.INFO: Acknowledgment sent {"connection_id":157896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:38:59] local.INFO: TCP Data received {"connection_id":157897,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:38:59] local.INFO: Processing buffer {"connection_id":157897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:38:59] local.INFO: IMEI packet received {"connection_id":157897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":157897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:39:00] local.INFO: TCP Data received {"connection_id":157897,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:39:00] local.INFO: Processing buffer {"connection_id":157897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:39:00] local.INFO: IMEI packet received {"connection_id":157897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":157897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:39:04] local.INFO: TCP Data received {"connection_id":157897,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:39:04] local.INFO: Processing buffer {"connection_id":157897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:39:04] local.INFO: IMEI packet received {"connection_id":157897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":157897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:39:05] local.INFO: TCP Data received {"connection_id":157897,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a1e7f8012d0e910006e89670000f01612c..."} 
[2026-08-19 11:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a1e7f8012d0e910006e89670000f01612c..."} 
[2026-08-19 11:39:05] local.INFO: Processing buffer {"connection_id":157897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a1e7f8012d0e910006e89670000f01612c..."} 
[2026-08-19 11:39:05] local.INFO: Packet analysis {"connection_id":157897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a1"} 
[2026-08-19 11:39:05] local.INFO: Extracted packet for processing {"connection_id":157897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a1"} 
[2026-08-19 11:39:05] local.INFO: GPS Element Parsed {"raw_longitude":755929344,"raw_latitude":115906160,"longitude_deg":75.5929344,"latitude_deg":11.590616,"altitude":15,"angle":353,"satellites":44,"speed":5,"hex_longitude":"2d0e9100","hex_latitude":"06e89670","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502631936001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385669530396917760,"note":"Value kept but may cause issues"} 
[2026-08-19 11:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1049620217825898496,"note":"Value kept but may cause issues"} 
[2026-08-19 11:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787119659000,"timestamp_ms":1787119659000,"timestamp_seconds":1787119659,"priority":1,"record_length":96,"hex_timestamp":"000001a018a1e7f8"} 
[2026-08-19 11:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:39: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-08-19 11: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 11:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502631936001,"66":27767,"2":206,"80":6400,"24":5,"16":385669530396917760,"45":1049620217825898496},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-08-19 11:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502631936001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:39:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385669530396917760,"km_value":385669530396917.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1049620217825898496,"description":"Unknown IO ID 45"} 
[2026-08-19 11:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502631936001,"power":27767,"power_alt":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":1049620217825898496}} 
[2026-08-19 11:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":157897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:39:05] local.INFO: GPS data processed {"connection_id":157897,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:39:05] local.INFO: Acknowledgment sent {"connection_id":157897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:39:10] local.INFO: TCP Data received {"connection_id":158766,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:39:10] local.INFO: Processing buffer {"connection_id":158766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:39:10] local.INFO: IMEI packet received {"connection_id":158766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":158766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:39:14] local.INFO: TCP Data received {"connection_id":158766,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:39:14] local.INFO: Processing buffer {"connection_id":158766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:39:14] local.INFO: IMEI packet received {"connection_id":158766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":158766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:39:16] local.INFO: TCP Data received {"connection_id":158766,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a143e8012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a143e8012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:39:16] local.INFO: Processing buffer {"connection_id":158766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a143e8012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:39:16] local.INFO: Packet analysis {"connection_id":158766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a1"} 
[2026-08-19 11:39:16] local.INFO: Extracted packet for processing {"connection_id":158766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a1"} 
[2026-08-19 11:39:16] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502616576001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608834560,"note":"Value kept but may cause issues"} 
[2026-08-19 11:39:16] 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-08-19 11:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787119617000,"timestamp_ms":1787119617000,"timestamp_seconds":1787119617,"priority":1,"record_length":96,"hex_timestamp":"000001a018a143e8"} 
[2026-08-19 11:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:39:16] 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-08-19 11: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 11:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502616576001,"66":12428,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608834560},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502616576001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:39:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:39:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608834560,"description":"Unknown IO ID 45"} 
[2026-08-19 11:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502616576001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608834560}} 
[2026-08-19 11:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":158766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:39:16] local.INFO: GPS data processed {"connection_id":158766,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:39:16] local.INFO: Acknowledgment sent {"connection_id":158766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:39:36] local.INFO: TCP Data received {"connection_id":157897,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a23a00012d0e910006e89890000e01602b..."} 
[2026-08-19 11:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a23a00012d0e910006e89890000e01602b..."} 
[2026-08-19 11:39:36] local.INFO: Processing buffer {"connection_id":157897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a23a00012d0e910006e89890000e01602b..."} 
[2026-08-19 11:39:36] local.INFO: Packet analysis {"connection_id":157897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a2"} 
[2026-08-19 11:39:36] local.INFO: Extracted packet for processing {"connection_id":157897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a2"} 
[2026-08-19 11:39:36] local.INFO: GPS Element Parsed {"raw_longitude":755929344,"raw_latitude":115906704,"longitude_deg":75.5929344,"latitude_deg":11.5906704,"altitude":14,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2d0e9100","hex_latitude":"06e89890","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502632704001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385669556166721536,"note":"Value kept but may cause issues"} 
[2026-08-19 11:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1049620217826013184,"note":"Value kept but may cause issues"} 
[2026-08-19 11:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787119680000,"timestamp_ms":1787119680000,"timestamp_seconds":1787119680,"priority":1,"record_length":96,"hex_timestamp":"000001a018a23a00"} 
[2026-08-19 11:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:39: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-08-19 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 11:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502632704001,"66":27908,"2":206,"80":6400,"24":0,"16":385669556166721536,"45":1049620217826013184},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-08-19 11:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502632704001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:39:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385669556166721536,"km_value":385669556166721.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1049620217826013184,"description":"Unknown IO ID 45"} 
[2026-08-19 11:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502632704001,"power":27908,"power_alt":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1049620217826013184}} 
[2026-08-19 11:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":157897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:39:36] local.INFO: GPS data processed {"connection_id":157897,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:39:36] local.INFO: Acknowledgment sent {"connection_id":157897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:39:47] local.INFO: TCP Data received {"connection_id":158766,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a195f0012d181d400721ad48004e00e32a..."} 
[2026-08-19 11:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a195f0012d181d400721ad48004e00e32a..."} 
[2026-08-19 11:39:47] local.INFO: Processing buffer {"connection_id":158766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a195f0012d181d400721ad48004e00e32a..."} 
[2026-08-19 11:39:47] local.INFO: Packet analysis {"connection_id":158766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a1"} 
[2026-08-19 11:39:47] local.INFO: Extracted packet for processing {"connection_id":158766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a1"} 
[2026-08-19 11:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502621952001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:39:47] 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-08-19 11:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787119638000,"timestamp_ms":1787119638000,"timestamp_seconds":1787119638,"priority":1,"record_length":96,"hex_timestamp":"000001a018a195f0"} 
[2026-08-19 11:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:39:47] 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-08-19 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 11:39: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-08-19 11: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-08-19 11:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502621952001,"66":12428,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502621952001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:39:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:39:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502621952001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":158766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:39:47] local.INFO: GPS data processed {"connection_id":158766,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:39:47] local.INFO: Acknowledgment sent {"connection_id":158766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:39:59] local.INFO: TCP Data received {"connection_id":157520,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:39:59] local.INFO: Processing buffer {"connection_id":157520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:39:59] local.INFO: IMEI packet received {"connection_id":157520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":157520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:40:04] local.INFO: TCP Data received {"connection_id":157520,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:40:04] local.INFO: Processing buffer {"connection_id":157520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:40:04] local.INFO: IMEI packet received {"connection_id":157520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":157520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:40:05] local.INFO: TCP Data received {"connection_id":157520,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a28c08012d0e904006e89ef8000c015b2c..."} 
[2026-08-19 11:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a28c08012d0e904006e89ef8000c015b2c..."} 
[2026-08-19 11:40:05] local.INFO: Processing buffer {"connection_id":157520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a28c08012d0e904006e89ef8000c015b2c..."} 
[2026-08-19 11:40:05] local.INFO: Packet analysis {"connection_id":157520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a2"} 
[2026-08-19 11:40:05] local.INFO: Extracted packet for processing {"connection_id":157520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a2"} 
[2026-08-19 11:40:05] local.INFO: GPS Element Parsed {"raw_longitude":755929152,"raw_latitude":115908344,"longitude_deg":75.5929152,"latitude_deg":11.5908344,"altitude":12,"angle":347,"satellites":44,"speed":0,"hex_longitude":"2d0e9040","hex_latitude":"06e89ef8","is_valid_coordinates":true} 
[2026-08-19 11:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502638080001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385669637771100160,"note":"Value kept but may cause issues"} 
[2026-08-19 11:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1049620217826152448,"note":"Value kept but may cause issues"} 
[2026-08-19 11:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787119701000,"timestamp_ms":1787119701000,"timestamp_seconds":1787119701,"priority":1,"record_length":96,"hex_timestamp":"000001a018a28c08"} 
[2026-08-19 11:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:40: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-08-19 11:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502638080001,"66":27995,"2":206,"80":6400,"24":0,"16":385669637771100160,"45":1049620217826152448},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-08-19 11:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502638080001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:40:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385669637771100160,"km_value":385669637771100.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1049620217826152448,"description":"Unknown IO ID 45"} 
[2026-08-19 11:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502638080001,"power":27995,"power_alt":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1049620217826152448}} 
[2026-08-19 11:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":157520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:40:05] local.INFO: GPS data processed {"connection_id":157520,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:40:05] local.INFO: Acknowledgment sent {"connection_id":157520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:40:09] local.INFO: TCP Data received {"connection_id":157898,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:40:09] local.INFO: Processing buffer {"connection_id":157898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:40:09] local.INFO: IMEI packet received {"connection_id":157898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":157898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:40:14] local.INFO: TCP Data received {"connection_id":157898,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:40:14] local.INFO: Processing buffer {"connection_id":157898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:40:14] local.INFO: IMEI packet received {"connection_id":157898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":157898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:40:15] local.INFO: TCP Data received {"connection_id":157898,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a1e7f8012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a1e7f8012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:40:15] local.INFO: Processing buffer {"connection_id":157898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a1e7f8012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:40:15] local.INFO: Packet analysis {"connection_id":157898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a1"} 
[2026-08-19 11:40:15] local.INFO: Extracted packet for processing {"connection_id":157898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a1"} 
[2026-08-19 11:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502627328001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:40: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-08-19 11:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787119659000,"timestamp_ms":1787119659000,"timestamp_seconds":1787119659,"priority":1,"record_length":96,"hex_timestamp":"000001a018a1e7f8"} 
[2026-08-19 11:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:40: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-08-19 11:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 11:40:15] 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-08-19 11:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502627328001,"66":12385,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502627328001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:40:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:40:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502627328001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":157898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:40:15] local.INFO: GPS data processed {"connection_id":157898,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:40:15] local.INFO: Acknowledgment sent {"connection_id":157898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:40:36] local.INFO: TCP Data received {"connection_id":157520,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a2de10012d0e904006e8a0b8000b015b2a..."} 
[2026-08-19 11:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a2de10012d0e904006e8a0b8000b015b2a..."} 
[2026-08-19 11:40:36] local.INFO: Processing buffer {"connection_id":157520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a2de10012d0e904006e8a0b8000b015b2a..."} 
[2026-08-19 11:40:36] local.INFO: Packet analysis {"connection_id":157520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a2"} 
[2026-08-19 11:40:36] local.INFO: Extracted packet for processing {"connection_id":157520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a2"} 
[2026-08-19 11:40:36] local.INFO: GPS Element Parsed {"raw_longitude":755929152,"raw_latitude":115908792,"longitude_deg":75.5929152,"latitude_deg":11.5908792,"altitude":11,"angle":347,"satellites":42,"speed":0,"hex_longitude":"2d0e9040","hex_latitude":"06e8a0b8","is_valid_coordinates":true} 
[2026-08-19 11:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502643456001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385669659245936640,"note":"Value kept but may cause issues"} 
[2026-08-19 11:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1049409111594039296,"note":"Value kept but may cause issues"} 
[2026-08-19 11:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787119722000,"timestamp_ms":1787119722000,"timestamp_seconds":1787119722,"priority":1,"record_length":96,"hex_timestamp":"000001a018a2de10"} 
[2026-08-19 11:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:40: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-08-19 11:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 11:40:36] 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-08-19 11:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502643456001,"66":27984,"2":206,"80":6400,"24":0,"16":385669659245936640,"45":1049409111594039296},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-08-19 11:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502643456001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:40:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385669659245936640,"km_value":385669659245936.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1049409111594039296,"description":"Unknown IO ID 45"} 
[2026-08-19 11:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502643456001,"power":27984,"power_alt":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1049409111594039296}} 
[2026-08-19 11:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":157520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:40:36] local.INFO: GPS data processed {"connection_id":157520,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:40:36] local.INFO: Acknowledgment sent {"connection_id":157520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:40:46] local.INFO: TCP Data received {"connection_id":157898,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a23a00012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a23a00012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:40:46] local.INFO: Processing buffer {"connection_id":157898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a23a00012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:40:46] local.INFO: Packet analysis {"connection_id":157898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a2"} 
[2026-08-19 11:40:46] local.INFO: Extracted packet for processing {"connection_id":157898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a2"} 
[2026-08-19 11:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502632704001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:40:46] 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-08-19 11:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787119680000,"timestamp_ms":1787119680000,"timestamp_seconds":1787119680,"priority":1,"record_length":96,"hex_timestamp":"000001a018a23a00"} 
[2026-08-19 11:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 11:40:46] 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-08-19 11:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502632704001,"66":12428,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502632704001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:40:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:40:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502632704001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":157898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:40:46] local.INFO: GPS data processed {"connection_id":157898,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:40:46] local.INFO: Acknowledgment sent {"connection_id":157898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:40:58] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:40:58] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:40:58] local.INFO: IMEI packet received {"connection_id":160074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":160074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:40:59] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:40:59] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:40:59] local.INFO: IMEI packet received {"connection_id":160074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":160074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:41:04] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:41:04] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:41:04] local.INFO: IMEI packet received {"connection_id":160074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":160074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:41:06] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a314c0012d0e910006e8a2c0000d00122b..."} 
[2026-08-19 11:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a314c0012d0e910006e8a2c0000d00122b..."} 
[2026-08-19 11:41:06] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a314c0012d0e910006e8a2c0000d00122b..."} 
[2026-08-19 11:41:06] local.INFO: Packet analysis {"connection_id":160074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a3"} 
[2026-08-19 11:41:06] local.INFO: Extracted packet for processing {"connection_id":160074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a3"} 
[2026-08-19 11:41:06] local.INFO: GPS Element Parsed {"raw_longitude":755929344,"raw_latitude":115909312,"longitude_deg":75.5929344,"latitude_deg":11.5909312,"altitude":13,"angle":18,"satellites":43,"speed":6,"hex_longitude":"2d0e9100","hex_latitude":"06e8a2c0","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502648832001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385669685015740416,"note":"Value kept but may cause issues"} 
[2026-08-19 11:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1049409111594153984,"note":"Value kept but may cause issues"} 
[2026-08-19 11:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787119736000,"timestamp_ms":1787119736000,"timestamp_seconds":1787119736,"priority":1,"record_length":96,"hex_timestamp":"000001a018a314c0"} 
[2026-08-19 11:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 11:41:06] 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-08-19 11: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-08-19 11:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502648832001,"66":27843,"2":206,"80":6400,"24":6,"16":385669685015740416,"45":1049409111594153984},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-08-19 11:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502648832001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:41:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385669685015740416,"km_value":385669685015740.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1049409111594153984,"description":"Unknown IO ID 45"} 
[2026-08-19 11:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502648832001,"power":27843,"power_alt":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":1049409111594153984}} 
[2026-08-19 11:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":160074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:41:06] local.INFO: GPS data processed {"connection_id":160074,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:41:06] local.INFO: Acknowledgment sent {"connection_id":160074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:41:09] local.INFO: TCP Data received {"connection_id":157899,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:41:09] local.INFO: Processing buffer {"connection_id":157899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:41:09] local.INFO: IMEI packet received {"connection_id":157899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":157899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:41:14] local.INFO: TCP Data received {"connection_id":157899,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:41:14] local.INFO: Processing buffer {"connection_id":157899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:41:14] local.INFO: IMEI packet received {"connection_id":157899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":157899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:41:15] local.INFO: TCP Data received {"connection_id":157899,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a28c08012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a28c08012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:41:15] local.INFO: Processing buffer {"connection_id":157899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a28c08012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:41:15] local.INFO: Packet analysis {"connection_id":157899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a2"} 
[2026-08-19 11:41:15] local.INFO: Extracted packet for processing {"connection_id":157899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a2"} 
[2026-08-19 11:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502638080001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:41: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-08-19 11:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787119701000,"timestamp_ms":1787119701000,"timestamp_seconds":1787119701,"priority":1,"record_length":96,"hex_timestamp":"000001a018a28c08"} 
[2026-08-19 11:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:41: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-08-19 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 11:41:15] 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-08-19 11: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-08-19 11:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502638080001,"66":12428,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502638080001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:41:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:41:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502638080001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":157899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:41:16] local.INFO: GPS data processed {"connection_id":157899,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:41:16] local.INFO: Acknowledgment sent {"connection_id":157899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:41:37] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a366c8012d0e914006e8a420000e001228..."} 
[2026-08-19 11:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a366c8012d0e914006e8a420000e001228..."} 
[2026-08-19 11:41:37] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a366c8012d0e914006e8a420000e001228..."} 
[2026-08-19 11:41:37] local.INFO: Packet analysis {"connection_id":160074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a3"} 
[2026-08-19 11:41:37] local.INFO: Extracted packet for processing {"connection_id":160074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a3"} 
[2026-08-19 11:41:37] local.INFO: GPS Element Parsed {"raw_longitude":755929408,"raw_latitude":115909664,"longitude_deg":75.5929408,"latitude_deg":11.5909664,"altitude":14,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2d0e9140","hex_latitude":"06e8a420","is_valid_coordinates":true} 
[2026-08-19 11:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502652416001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385669710785544192,"note":"Value kept but may cause issues"} 
[2026-08-19 11:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1049620217826820096,"note":"Value kept but may cause issues"} 
[2026-08-19 11:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787119757000,"timestamp_ms":1787119757000,"timestamp_seconds":1787119757,"priority":1,"record_length":96,"hex_timestamp":"000001a018a366c8"} 
[2026-08-19 11:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 11:41:37] 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-08-19 11:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502652416001,"66":27865,"2":206,"80":6400,"24":0,"16":385669710785544192,"45":1049620217826820096},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-08-19 11:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502652416001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:41:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385669710785544192,"km_value":385669710785544.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1049620217826820096,"description":"Unknown IO ID 45"} 
[2026-08-19 11:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502652416001,"power":27865,"power_alt":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1049620217826820096}} 
[2026-08-19 11:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":160074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:41:37] local.INFO: GPS data processed {"connection_id":160074,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:41:37] local.INFO: Acknowledgment sent {"connection_id":160074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:41:47] local.INFO: TCP Data received {"connection_id":157899,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a2de10012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a2de10012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:41:47] local.INFO: Processing buffer {"connection_id":157899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a2de10012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:41:47] local.INFO: Packet analysis {"connection_id":157899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a2"} 
[2026-08-19 11:41:47] local.INFO: Extracted packet for processing {"connection_id":157899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a2"} 
[2026-08-19 11:41:47] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502643456001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:41:47] 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-08-19 11:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787119722000,"timestamp_ms":1787119722000,"timestamp_seconds":1787119722,"priority":1,"record_length":96,"hex_timestamp":"000001a018a2de10"} 
[2026-08-19 11:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:41:47] 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-08-19 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 11:41: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-08-19 11: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-08-19 11:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502643456001,"66":12428,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502643456001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:41:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:41:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502643456001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":157899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:41:47] local.INFO: GPS data processed {"connection_id":157899,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:41:47] local.INFO: Acknowledgment sent {"connection_id":157899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:41:59] local.INFO: TCP Data received {"connection_id":157521,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:41:59] local.INFO: Processing buffer {"connection_id":157521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:41:59] local.INFO: IMEI packet received {"connection_id":157521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":157521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:42:03] local.INFO: TCP Data received {"connection_id":157521,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:42:03] local.INFO: Processing buffer {"connection_id":157521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:42:03] local.INFO: IMEI packet received {"connection_id":157521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":157521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:42:04] local.INFO: TCP Data received {"connection_id":157521,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:42:04] local.INFO: Processing buffer {"connection_id":157521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:42:04] local.INFO: IMEI packet received {"connection_id":157521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":157521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:42:05] local.INFO: TCP Data received {"connection_id":157521,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a3b8d0012d0e928006e8a560000f001229..."} 
[2026-08-19 11:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a3b8d0012d0e928006e8a560000f001229..."} 
[2026-08-19 11:42:05] local.INFO: Processing buffer {"connection_id":157521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a3b8d0012d0e928006e8a560000f001229..."} 
[2026-08-19 11:42:05] local.INFO: Packet analysis {"connection_id":157521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a3"} 
[2026-08-19 11:42:05] local.INFO: Extracted packet for processing {"connection_id":157521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a3"} 
[2026-08-19 11:42:05] local.INFO: GPS Element Parsed {"raw_longitude":755929728,"raw_latitude":115909984,"longitude_deg":75.5929728,"latitude_deg":11.5909984,"altitude":15,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2d0e9280","hex_latitude":"06e8a560","is_valid_coordinates":true} 
[2026-08-19 11:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502657792001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385669736555347968,"note":"Value kept but may cause issues"} 
[2026-08-19 11:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1049690586571087872,"note":"Value kept but may cause issues"} 
[2026-08-19 11:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787119778000,"timestamp_ms":1787119778000,"timestamp_seconds":1787119778,"priority":1,"record_length":96,"hex_timestamp":"000001a018a3b8d0"} 
[2026-08-19 11:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:42: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-08-19 11:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:42:05] 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-08-19 11:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502657792001,"66":27865,"2":206,"80":6400,"24":0,"16":385669736555347968,"45":1049690586571087872},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-08-19 11:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502657792001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:42:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385669736555347968,"km_value":385669736555347.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1049690586571087872,"description":"Unknown IO ID 45"} 
[2026-08-19 11:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502657792001,"power":27865,"power_alt":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1049690586571087872}} 
[2026-08-19 11:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":157521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:42:05] local.INFO: GPS data processed {"connection_id":157521,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:42:05] local.INFO: Acknowledgment sent {"connection_id":157521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:42:10] local.INFO: TCP Data received {"connection_id":157521,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a40ad8012d0e930006e8a8d8000f000f27..."} 
[2026-08-19 11:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a40ad8012d0e930006e8a8d8000f000f27..."} 
[2026-08-19 11:42:10] local.INFO: Processing buffer {"connection_id":157521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a40ad8012d0e930006e8a8d8000f000f27..."} 
[2026-08-19 11:42:10] local.INFO: Packet analysis {"connection_id":157521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a4"} 
[2026-08-19 11:42:10] local.INFO: Extracted packet for processing {"connection_id":157521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a4"} 
[2026-08-19 11:42:10] local.INFO: GPS Element Parsed {"raw_longitude":755929856,"raw_latitude":115910872,"longitude_deg":75.5929856,"latitude_deg":11.5910872,"altitude":15,"angle":15,"satellites":39,"speed":0,"hex_longitude":"2d0e9300","hex_latitude":"06e8a8d8","is_valid_coordinates":true} 
[2026-08-19 11:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502663168001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385669783799988224,"note":"Value kept but may cause issues"} 
[2026-08-19 11:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1050042430292058112,"note":"Value kept but may cause issues"} 
[2026-08-19 11:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787119799000,"timestamp_ms":1787119799000,"timestamp_seconds":1787119799,"priority":1,"record_length":96,"hex_timestamp":"000001a018a40ad8"} 
[2026-08-19 11:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:42: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-08-19 11:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:42: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-08-19 11:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502663168001,"66":28050,"2":206,"80":6400,"24":0,"16":385669783799988224,"45":1050042430292058112},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-08-19 11:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502663168001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:42:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385669783799988224,"km_value":385669783799988.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1050042430292058112,"description":"Unknown IO ID 45"} 
[2026-08-19 11:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502663168001,"power":28050,"power_alt":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1050042430292058112}} 
[2026-08-19 11:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":157521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:42:10] local.INFO: GPS data processed {"connection_id":157521,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:42:10] local.INFO: Acknowledgment sent {"connection_id":157521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:42:14] local.INFO: TCP Data received {"connection_id":158767,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:42:14] local.INFO: Processing buffer {"connection_id":158767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:42:14] local.INFO: IMEI packet received {"connection_id":158767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":158767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:42:19] local.INFO: TCP Data received {"connection_id":158767,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:42:19] local.INFO: Processing buffer {"connection_id":158767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:42:19] local.INFO: IMEI packet received {"connection_id":158767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":158767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:42:20] local.INFO: TCP Data received {"connection_id":158767,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a33018012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a33018012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:42:20] local.INFO: Processing buffer {"connection_id":158767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a33018012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:42:20] local.INFO: Packet analysis {"connection_id":158767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a3"} 
[2026-08-19 11:42:20] local.INFO: Extracted packet for processing {"connection_id":158767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a3"} 
[2026-08-19 11:42:20] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502648832001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:42:20] 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-08-19 11:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787119743000,"timestamp_ms":1787119743000,"timestamp_seconds":1787119743,"priority":1,"record_length":96,"hex_timestamp":"000001a018a33018"} 
[2026-08-19 11:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 11:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502648832001,"66":12428,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502648832001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:42:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:42:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502648832001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":158767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:42:20] local.INFO: GPS data processed {"connection_id":158767,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:42:20] local.INFO: Acknowledgment sent {"connection_id":158767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:42:25] local.INFO: TCP Data received {"connection_id":158767,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a38220012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a38220012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:42:25] local.INFO: Processing buffer {"connection_id":158767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a38220012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:42:25] local.INFO: Packet analysis {"connection_id":158767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a3"} 
[2026-08-19 11:42:25] local.INFO: Extracted packet for processing {"connection_id":158767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a3"} 
[2026-08-19 11:42:25] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502654208001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:42:25] 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-08-19 11:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787119764000,"timestamp_ms":1787119764000,"timestamp_seconds":1787119764,"priority":1,"record_length":96,"hex_timestamp":"000001a018a38220"} 
[2026-08-19 11:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 11:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":158767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":158767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":158767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502654208001,"66":12406,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502654208001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:42:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:42:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502654208001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":158767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:42:25] local.INFO: GPS data processed {"connection_id":158767,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:42:25] local.INFO: Acknowledgment sent {"connection_id":158767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:42:43] local.INFO: TCP Data received {"connection_id":157521,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a45ce0012d0e948006e8ad10000f001029..."} 
[2026-08-19 11:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a45ce0012d0e948006e8ad10000f001029..."} 
[2026-08-19 11:42:43] local.INFO: Processing buffer {"connection_id":157521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a45ce0012d0e948006e8ad10000f001029..."} 
[2026-08-19 11:42:43] local.INFO: Packet analysis {"connection_id":157521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a4"} 
[2026-08-19 11:42:43] local.INFO: Extracted packet for processing {"connection_id":157521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a4"} 
[2026-08-19 11:42:43] local.INFO: GPS Element Parsed {"raw_longitude":755930240,"raw_latitude":115911952,"longitude_deg":75.593024,"latitude_deg":11.5911952,"altitude":15,"angle":16,"satellites":41,"speed":12,"hex_longitude":"2d0e9480","hex_latitude":"06e8ad10","is_valid_coordinates":true} 
[2026-08-19 11:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502668544001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385669839634563072,"note":"Value kept but may cause issues"} 
[2026-08-19 11:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1050183167780640768,"note":"Value kept but may cause issues"} 
[2026-08-19 11:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787119820000,"timestamp_ms":1787119820000,"timestamp_seconds":1787119820,"priority":1,"record_length":96,"hex_timestamp":"000001a018a45ce0"} 
[2026-08-19 11:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 11:42:43] 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-08-19 11:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502668544001,"66":27908,"2":206,"80":6400,"24":12,"16":385669839634563072,"45":1050183167780640768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-08-19 11:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502668544001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:42:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385669839634563072,"km_value":385669839634563.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1050183167780640768,"description":"Unknown IO ID 45"} 
[2026-08-19 11:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502668544001,"power":27908,"power_alt":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":1050183167780640768}} 
[2026-08-19 11:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":157521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:42:43] local.INFO: GPS data processed {"connection_id":157521,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:42:43] local.INFO: Acknowledgment sent {"connection_id":157521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:42:59] local.INFO: TCP Data received {"connection_id":158768,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:42:59] local.INFO: Processing buffer {"connection_id":158768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:42:59] local.INFO: IMEI packet received {"connection_id":158768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":158768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:43:05] local.INFO: TCP Data received {"connection_id":158768,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:43:05] local.INFO: Processing buffer {"connection_id":158768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:43:05] local.INFO: IMEI packet received {"connection_id":158768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":158768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:43:08] local.INFO: TCP Data received {"connection_id":158768,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a4aee8012d0e9a4006e8bb70000e00112a..."} 
[2026-08-19 11:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a4aee8012d0e9a4006e8bb70000e00112a..."} 
[2026-08-19 11:43:08] local.INFO: Processing buffer {"connection_id":158768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a4aee8012d0e9a4006e8bb70000e00112a..."} 
[2026-08-19 11:43:08] local.INFO: Packet analysis {"connection_id":158768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a4"} 
[2026-08-19 11:43:08] local.INFO: Extracted packet for processing {"connection_id":158768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a4"} 
[2026-08-19 11:43:08] local.INFO: GPS Element Parsed {"raw_longitude":755931712,"raw_latitude":115915632,"longitude_deg":75.5931712,"latitude_deg":11.5915632,"altitude":14,"angle":17,"satellites":42,"speed":4,"hex_longitude":"2d0e9a40","hex_latitude":"06e8bb70","is_valid_coordinates":true} 
[2026-08-19 11:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502673920001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385670032908091392,"note":"Value kept but may cause issues"} 
[2026-08-19 11:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1050605380245983232,"note":"Value kept but may cause issues"} 
[2026-08-19 11:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787119841000,"timestamp_ms":1787119841000,"timestamp_seconds":1787119841,"priority":1,"record_length":96,"hex_timestamp":"000001a018a4aee8"} 
[2026-08-19 11:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:43: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-08-19 11:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 11:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":158768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":158768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":158768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502673920001,"66":28082,"167":206,"80":6400,"24":4,"16":385670032908091392,"45":1050605380245983232},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-08-19 11:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502673920001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:43:08] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 11:43:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385670032908091392,"km_value":385670032908091.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1050605380245983232,"description":"Unknown IO ID 45"} 
[2026-08-19 11:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502673920001,"power":28082,"unknown_167":206,"unknown_80":6400,"ignition":4,"odometer":null,"unknown_45":1050605380245983232}} 
[2026-08-19 11:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":158768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:43:08] local.INFO: GPS data processed {"connection_id":158768,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:43:08] local.INFO: Acknowledgment sent {"connection_id":158768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:43:09] local.INFO: TCP Data received {"connection_id":158769,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:43:09] local.INFO: Processing buffer {"connection_id":158769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:43:09] local.INFO: IMEI packet received {"connection_id":158769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":158769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:43:11] local.INFO: TCP Data received {"connection_id":158769,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:43:11] local.INFO: Processing buffer {"connection_id":158769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:43:11] local.INFO: IMEI packet received {"connection_id":158769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":158769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:43:13] local.INFO: TCP Data received {"connection_id":158769,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a3d428012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a3d428012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:43:13] local.INFO: Processing buffer {"connection_id":158769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a3d428012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:43:13] local.INFO: Packet analysis {"connection_id":158769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a3"} 
[2026-08-19 11:43:13] local.INFO: Extracted packet for processing {"connection_id":158769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a3"} 
[2026-08-19 11:43:13] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502659584001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:43:13] 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-08-19 11:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787119785000,"timestamp_ms":1787119785000,"timestamp_seconds":1787119785,"priority":1,"record_length":96,"hex_timestamp":"000001a018a3d428"} 
[2026-08-19 11:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:43: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-08-19 11:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 11:43:13] 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-08-19 11:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502659584001,"66":12428,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502659584001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:43:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:43:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502659584001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":158769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:43:13] local.INFO: GPS data processed {"connection_id":158769,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:43:13] local.INFO: Acknowledgment sent {"connection_id":158769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:43:40] local.INFO: TCP Data received {"connection_id":158768,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a500f0012d0e9f4006e8c770000e00132b..."} 
[2026-08-19 11:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a500f0012d0e9f4006e8c770000e00132b..."} 
[2026-08-19 11:43:40] local.INFO: Processing buffer {"connection_id":158768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a500f0012d0e9f4006e8c770000e00132b..."} 
[2026-08-19 11:43:40] local.INFO: Packet analysis {"connection_id":158768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a5"} 
[2026-08-19 11:43:40] local.INFO: Extracted packet for processing {"connection_id":158768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a5"} 
[2026-08-19 11:43:40] local.INFO: GPS Element Parsed {"raw_longitude":755932992,"raw_latitude":115918704,"longitude_deg":75.5932992,"latitude_deg":11.5918704,"altitude":14,"angle":19,"satellites":43,"speed":5,"hex_longitude":"2d0e9f40","hex_latitude":"06e8c770","is_valid_coordinates":true} 
[2026-08-19 11:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502679296001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385670196116848640,"note":"Value kept but may cause issues"} 
[2026-08-19 11:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1052223861363011584,"note":"Value kept but may cause issues"} 
[2026-08-19 11:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787119862000,"timestamp_ms":1787119862000,"timestamp_seconds":1787119862,"priority":1,"record_length":96,"hex_timestamp":"000001a018a500f0"} 
[2026-08-19 11:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 11:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502679296001,"66":27821,"167":206,"80":6400,"24":5,"16":385670196116848640,"45":1052223861363011584},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-08-19 11:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502679296001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:43:40] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 11:43:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385670196116848640,"km_value":385670196116848.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1052223861363011584,"description":"Unknown IO ID 45"} 
[2026-08-19 11:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502679296001,"power":27821,"unknown_167":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":1052223861363011584}} 
[2026-08-19 11:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":158768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:43:40] local.INFO: GPS data processed {"connection_id":158768,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:43:40] local.INFO: Acknowledgment sent {"connection_id":158768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:43:45] local.INFO: TCP Data received {"connection_id":158769,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a42630012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a42630012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:43:45] local.INFO: Processing buffer {"connection_id":158769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a42630012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:43:45] local.INFO: Packet analysis {"connection_id":158769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a4"} 
[2026-08-19 11:43:45] local.INFO: Extracted packet for processing {"connection_id":158769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a4"} 
[2026-08-19 11:43:45] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502664960001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:43:45] 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-08-19 11:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787119806000,"timestamp_ms":1787119806000,"timestamp_seconds":1787119806,"priority":1,"record_length":96,"hex_timestamp":"000001a018a42630"} 
[2026-08-19 11:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:43: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-08-19 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 11:43: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-08-19 11: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-08-19 11:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502664960001,"66":12428,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502664960001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:43:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:43:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502664960001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":158769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:43:45] local.INFO: GPS data processed {"connection_id":158769,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:43:45] local.INFO: Acknowledgment sent {"connection_id":158769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:44:05] local.INFO: TCP Data received {"connection_id":157522,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:44:05] local.INFO: Processing buffer {"connection_id":157522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:44:05] local.INFO: IMEI packet received {"connection_id":157522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":157522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:44:08] local.INFO: TCP Data received {"connection_id":157522,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:44:08] local.INFO: Processing buffer {"connection_id":157522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:44:08] local.INFO: IMEI packet received {"connection_id":157522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":157522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:44:10] local.INFO: TCP Data received {"connection_id":157523,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:44:10] local.INFO: Processing buffer {"connection_id":157523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:44:10] local.INFO: IMEI packet received {"connection_id":157523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":157523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:44:10] local.INFO: TCP Data received {"connection_id":157522,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a552f8012d0ea28006e8d0c8000d00142c..."} 
[2026-08-19 11:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a552f8012d0ea28006e8d0c8000d00142c..."} 
[2026-08-19 11:44:10] local.INFO: Processing buffer {"connection_id":157522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a552f8012d0ea28006e8d0c8000d00142c..."} 
[2026-08-19 11:44:10] local.INFO: Packet analysis {"connection_id":157522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a5"} 
[2026-08-19 11:44:10] local.INFO: Extracted packet for processing {"connection_id":157522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a5"} 
[2026-08-19 11:44:10] local.INFO: GPS Element Parsed {"raw_longitude":755933824,"raw_latitude":115921096,"longitude_deg":75.5933824,"latitude_deg":11.5921096,"altitude":13,"angle":20,"satellites":44,"speed":0,"hex_longitude":"2d0ea280","hex_latitude":"06e8d0c8","is_valid_coordinates":true} 
[2026-08-19 11:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502684672001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385670324965867520,"note":"Value kept but may cause issues"} 
[2026-08-19 11:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1053631236247351296,"note":"Value kept but may cause issues"} 
[2026-08-19 11:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787119883000,"timestamp_ms":1787119883000,"timestamp_seconds":1787119883,"priority":1,"record_length":96,"hex_timestamp":"000001a018a552f8"} 
[2026-08-19 11:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:44: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-08-19 11:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 11:44:10] 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-08-19 11:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502684672001,"66":27767,"167":206,"80":6400,"24":0,"16":385670324965867520,"45":1053631236247351296},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-08-19 11:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502684672001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:44:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 11:44:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385670324965867520,"km_value":385670324965867.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1053631236247351296,"description":"Unknown IO ID 45"} 
[2026-08-19 11:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502684672001,"power":27767,"unknown_167":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1053631236247351296}} 
[2026-08-19 11:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":157522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:44:10] local.INFO: GPS data processed {"connection_id":157522,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:44:10] local.INFO: Acknowledgment sent {"connection_id":157522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:44:11] local.INFO: TCP Data received {"connection_id":157522,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a5a500012d0ea84006e8ddb0000f00142c..."} 
[2026-08-19 11:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a5a500012d0ea84006e8ddb0000f00142c..."} 
[2026-08-19 11:44:11] local.INFO: Processing buffer {"connection_id":157522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a5a500012d0ea84006e8ddb0000f00142c..."} 
[2026-08-19 11:44:11] local.INFO: Packet analysis {"connection_id":157522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a5"} 
[2026-08-19 11:44:11] local.INFO: Extracted packet for processing {"connection_id":157522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a5"} 
[2026-08-19 11:44:11] local.INFO: GPS Element Parsed {"raw_longitude":755935296,"raw_latitude":115924400,"longitude_deg":75.5935296,"latitude_deg":11.59244,"altitude":15,"angle":20,"satellites":44,"speed":3,"hex_longitude":"2d0ea840","hex_latitude":"06e8ddb0","is_valid_coordinates":true} 
[2026-08-19 11:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502690048001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385670501059526656,"note":"Value kept but may cause issues"} 
[2026-08-19 11:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1054546029922273280,"note":"Value kept but may cause issues"} 
[2026-08-19 11:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787119904000,"timestamp_ms":1787119904000,"timestamp_seconds":1787119904,"priority":1,"record_length":96,"hex_timestamp":"000001a018a5a500"} 
[2026-08-19 11:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:44: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-08-19 11:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 11:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502690048001,"66":28028,"103":206,"80":6400,"24":3,"16":385670501059526656,"45":1054546029922273280},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-19 11:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502690048001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:44:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 11:44:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385670501059526656,"km_value":385670501059526.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1054546029922273280,"description":"Unknown IO ID 45"} 
[2026-08-19 11:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502690048001,"power":28028,"unknown_103":206,"unknown_80":6400,"ignition":3,"odometer":null,"unknown_45":1054546029922273280}} 
[2026-08-19 11:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":157522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:44:11] local.INFO: GPS data processed {"connection_id":157522,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:44:11] local.INFO: Acknowledgment sent {"connection_id":157522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:44:14] local.INFO: TCP Data received {"connection_id":157523,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:44:14] local.INFO: Processing buffer {"connection_id":157523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:44:14] local.INFO: IMEI packet received {"connection_id":157523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":157523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:44:15] local.INFO: TCP Data received {"connection_id":157523,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a47838012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a47838012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:44:15] local.INFO: Processing buffer {"connection_id":157523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a47838012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:44:15] local.INFO: Packet analysis {"connection_id":157523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a4"} 
[2026-08-19 11:44:15] local.INFO: Extracted packet for processing {"connection_id":157523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a4"} 
[2026-08-19 11:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502670336001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:44: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-08-19 11:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787119827000,"timestamp_ms":1787119827000,"timestamp_seconds":1787119827,"priority":1,"record_length":96,"hex_timestamp":"000001a018a47838"} 
[2026-08-19 11:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:44: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-08-19 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 11:44:15] 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-08-19 11:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502670336001,"66":12385,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502670336001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:44:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:44:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502670336001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":157523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:44:15] local.INFO: GPS data processed {"connection_id":157523,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:44:15] local.INFO: Acknowledgment sent {"connection_id":157523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:44:42] local.INFO: TCP Data received {"connection_id":157522,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a5f708012d0eaa0006e8e170001000142b..."} 
[2026-08-19 11:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a5f708012d0eaa0006e8e170001000142b..."} 
[2026-08-19 11:44:42] local.INFO: Processing buffer {"connection_id":157522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a5f708012d0eaa0006e8e170001000142b..."} 
[2026-08-19 11:44:42] local.INFO: Packet analysis {"connection_id":157522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a5"} 
[2026-08-19 11:44:42] local.INFO: Extracted packet for processing {"connection_id":157522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a5"} 
[2026-08-19 11:44:42] local.INFO: GPS Element Parsed {"raw_longitude":755935744,"raw_latitude":115925360,"longitude_deg":75.5935744,"latitude_deg":11.592536,"altitude":16,"angle":20,"satellites":43,"speed":5,"hex_longitude":"2d0eaa00","hex_latitude":"06e8e170","is_valid_coordinates":true} 
[2026-08-19 11:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502695424001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385670552599134208,"note":"Value kept but may cause issues"} 
[2026-08-19 11:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1056164511039205376,"note":"Value kept but may cause issues"} 
[2026-08-19 11:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787119925000,"timestamp_ms":1787119925000,"timestamp_seconds":1787119925,"priority":1,"record_length":96,"hex_timestamp":"000001a018a5f708"} 
[2026-08-19 11:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-19 11:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502695424001,"66":27767,"103":206,"80":6400,"24":5,"16":385670552599134208,"45":1056164511039205376},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-19 11:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502695424001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:44:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 11:44:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385670552599134208,"km_value":385670552599134.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1056164511039205376,"description":"Unknown IO ID 45"} 
[2026-08-19 11:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502695424001,"power":27767,"unknown_103":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":1056164511039205376}} 
[2026-08-19 11:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":157522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:44:42] local.INFO: GPS data processed {"connection_id":157522,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:44:42] local.INFO: Acknowledgment sent {"connection_id":157522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:44:47] local.INFO: TCP Data received {"connection_id":157523,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a4ca40012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a4ca40012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:44:47] local.INFO: Processing buffer {"connection_id":157523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a4ca40012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:44:47] local.INFO: Packet analysis {"connection_id":157523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a4"} 
[2026-08-19 11:44:47] local.INFO: Extracted packet for processing {"connection_id":157523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a4"} 
[2026-08-19 11:44:47] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502675712001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:44:47] 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-08-19 11:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787119848000,"timestamp_ms":1787119848000,"timestamp_seconds":1787119848,"priority":1,"record_length":96,"hex_timestamp":"000001a018a4ca40"} 
[2026-08-19 11:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:44:47] 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-08-19 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 11:44:47] 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-08-19 11: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-08-19 11:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502675712001,"66":12428,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502675712001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:44:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:44:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502675712001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":157523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:44:47] local.INFO: GPS data processed {"connection_id":157523,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:44:47] local.INFO: Acknowledgment sent {"connection_id":157523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:44:58] local.INFO: TCP Data received {"connection_id":160075,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:44:58] local.INFO: Processing buffer {"connection_id":160075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:44:58] local.INFO: IMEI packet received {"connection_id":160075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":160075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:44:59] local.INFO: TCP Data received {"connection_id":160075,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:44:59] local.INFO: Processing buffer {"connection_id":160075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:44:59] local.INFO: IMEI packet received {"connection_id":160075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":160075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:45:04] local.INFO: TCP Data received {"connection_id":160075,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:45:04] local.INFO: Processing buffer {"connection_id":160075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:45:04] local.INFO: IMEI packet received {"connection_id":160075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":160075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:45:06] local.INFO: TCP Data received {"connection_id":160075,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a64910012d0ead0006e8e9c0000e00132c..."} 
[2026-08-19 11:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a64910012d0ead0006e8e9c0000e00132c..."} 
[2026-08-19 11:45:06] local.INFO: Processing buffer {"connection_id":160075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a64910012d0ead0006e8e9c0000e00132c..."} 
[2026-08-19 11:45:06] local.INFO: Packet analysis {"connection_id":160075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a6"} 
[2026-08-19 11:45:06] local.INFO: Extracted packet for processing {"connection_id":160075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a6"} 
[2026-08-19 11:45:06] local.INFO: GPS Element Parsed {"raw_longitude":755936512,"raw_latitude":115927488,"longitude_deg":75.5936512,"latitude_deg":11.5927488,"altitude":14,"angle":19,"satellites":44,"speed":5,"hex_longitude":"2d0ead00","hex_latitude":"06e8e9c0","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502700800001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385670668563251200,"note":"Value kept but may cause issues"} 
[2026-08-19 11:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1056657092248694784,"note":"Value kept but may cause issues"} 
[2026-08-19 11:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787119946000,"timestamp_ms":1787119946000,"timestamp_seconds":1787119946,"priority":1,"record_length":96,"hex_timestamp":"000001a018a64910"} 
[2026-08-19 11:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 11:45:06] 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-08-19 11: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-08-19 11:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502700800001,"66":27930,"103":206,"80":6400,"24":5,"16":385670668563251200,"45":1056657092248694784},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-19 11:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502700800001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:45:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 11:45:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385670668563251200,"km_value":385670668563251.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1056657092248694784,"description":"Unknown IO ID 45"} 
[2026-08-19 11:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502700800001,"power":27930,"unknown_103":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":1056657092248694784}} 
[2026-08-19 11:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":160075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:45:06] local.INFO: GPS data processed {"connection_id":160075,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:45:06] local.INFO: Acknowledgment sent {"connection_id":160075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:45:09] local.INFO: TCP Data received {"connection_id":158770,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:45:09] local.INFO: Processing buffer {"connection_id":158770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:45:09] local.INFO: IMEI packet received {"connection_id":158770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":158770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:45:14] local.INFO: TCP Data received {"connection_id":158770,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:45:14] local.INFO: Processing buffer {"connection_id":158770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:45:14] local.INFO: IMEI packet received {"connection_id":158770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":158770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:45:15] local.INFO: TCP Data received {"connection_id":158770,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a51c48012d181d400721ad48004e00e328..."} 
[2026-08-19 11:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a51c48012d181d400721ad48004e00e328..."} 
[2026-08-19 11:45:15] local.INFO: Processing buffer {"connection_id":158770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a51c48012d181d400721ad48004e00e328..."} 
[2026-08-19 11:45:15] local.INFO: Packet analysis {"connection_id":158770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a5"} 
[2026-08-19 11:45:15] local.INFO: Extracted packet for processing {"connection_id":158770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a5"} 
[2026-08-19 11:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":40,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502681088001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:45: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-08-19 11:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787119869000,"timestamp_ms":1787119869000,"timestamp_seconds":1787119869,"priority":1,"record_length":96,"hex_timestamp":"000001a018a51c48"} 
[2026-08-19 11:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:45: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-08-19 11:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 11:45:15] 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-08-19 11:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502681088001,"66":12428,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502681088001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:45:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:45:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502681088001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":158770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:45:16] local.INFO: GPS data processed {"connection_id":158770,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:45:16] local.INFO: Acknowledgment sent {"connection_id":158770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:45:37] local.INFO: TCP Data received {"connection_id":160075,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a69b18012d0eb24006e8f760000f00162d..."} 
[2026-08-19 11:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a69b18012d0eb24006e8f760000f00162d..."} 
[2026-08-19 11:45:37] local.INFO: Processing buffer {"connection_id":160075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a69b18012d0eb24006e8f760000f00162d..."} 
[2026-08-19 11:45:37] local.INFO: Packet analysis {"connection_id":160075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a6"} 
[2026-08-19 11:45:37] local.INFO: Extracted packet for processing {"connection_id":160075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a6"} 
[2026-08-19 11:45:37] local.INFO: GPS Element Parsed {"raw_longitude":755937856,"raw_latitude":115930976,"longitude_deg":75.5937856,"latitude_deg":11.5930976,"altitude":15,"angle":22,"satellites":45,"speed":9,"hex_longitude":"2d0eb240","hex_latitude":"06e8f760","is_valid_coordinates":true} 
[2026-08-19 11:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502706176001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385670853246844928,"note":"Value kept but may cause issues"} 
[2026-08-19 11:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1057501517179371520,"note":"Value kept but may cause issues"} 
[2026-08-19 11:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787119967000,"timestamp_ms":1787119967000,"timestamp_seconds":1787119967,"priority":1,"record_length":96,"hex_timestamp":"000001a018a69b18"} 
[2026-08-19 11:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 11:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502706176001,"66":27930,"103":206,"80":6400,"24":9,"16":385670853246844928,"45":1057501517179371520},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-19 11:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502706176001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:45:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 11:45:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385670853246844928,"km_value":385670853246844.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1057501517179371520,"description":"Unknown IO ID 45"} 
[2026-08-19 11:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502706176001,"power":27930,"unknown_103":206,"unknown_80":6400,"ignition":9,"odometer":null,"unknown_45":1057501517179371520}} 
[2026-08-19 11:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":160075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:45:37] local.INFO: GPS data processed {"connection_id":160075,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:45:37] local.INFO: Acknowledgment sent {"connection_id":160075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:45:47] local.INFO: TCP Data received {"connection_id":158770,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a56e50012d181d400721ad48004e00e32a..."} 
[2026-08-19 11:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a56e50012d181d400721ad48004e00e32a..."} 
[2026-08-19 11:45:47] local.INFO: Processing buffer {"connection_id":158770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a56e50012d181d400721ad48004e00e32a..."} 
[2026-08-19 11:45:47] local.INFO: Packet analysis {"connection_id":158770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a5"} 
[2026-08-19 11:45:47] local.INFO: Extracted packet for processing {"connection_id":158770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a5"} 
[2026-08-19 11:45:47] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502686464001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:45:47] 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-08-19 11:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787119890000,"timestamp_ms":1787119890000,"timestamp_seconds":1787119890,"priority":1,"record_length":96,"hex_timestamp":"000001a018a56e50"} 
[2026-08-19 11:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:45:47] 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-08-19 11:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 11:45: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-08-19 11: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-08-19 11:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502686464001,"66":12385,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502686464001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:45:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:45:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502686464001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":158770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:45:47] local.INFO: GPS data processed {"connection_id":158770,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:45:47] local.INFO: Acknowledgment sent {"connection_id":158770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:46:00] local.INFO: TCP Data received {"connection_id":157900,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:46:00] local.INFO: Processing buffer {"connection_id":157900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:46:00] local.INFO: IMEI packet received {"connection_id":157900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":157900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:46:05] local.INFO: TCP Data received {"connection_id":157900,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:46:05] local.INFO: Processing buffer {"connection_id":157900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:46:05] local.INFO: IMEI packet received {"connection_id":157900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":157900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:46:06] local.INFO: TCP Data received {"connection_id":157900,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a6ed20012d0eb54006e8fd98000f00202c..."} 
[2026-08-19 11:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a6ed20012d0eb54006e8fd98000f00202c..."} 
[2026-08-19 11:46:06] local.INFO: Processing buffer {"connection_id":157900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a6ed20012d0eb54006e8fd98000f00202c..."} 
[2026-08-19 11:46:06] local.INFO: Packet analysis {"connection_id":157900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a6"} 
[2026-08-19 11:46:06] local.INFO: Extracted packet for processing {"connection_id":157900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a6"} 
[2026-08-19 11:46:06] local.INFO: GPS Element Parsed {"raw_longitude":755938624,"raw_latitude":115932568,"longitude_deg":75.5938624,"latitude_deg":11.5932568,"altitude":15,"angle":32,"satellites":44,"speed":0,"hex_longitude":"2d0eb540","hex_latitude":"06e8fd98","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502711552001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385670939146190848,"note":"Value kept but may cause issues"} 
[2026-08-19 11:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1058979260807995392,"note":"Value kept but may cause issues"} 
[2026-08-19 11:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787119988000,"timestamp_ms":1787119988000,"timestamp_seconds":1787119988,"priority":1,"record_length":96,"hex_timestamp":"000001a018a6ed20"} 
[2026-08-19 11:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 11:46:06] 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-08-19 11: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-08-19 11:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502711552001,"66":27876,"103":206,"80":6400,"24":0,"16":385670939146190848,"45":1058979260807995392},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-19 11:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502711552001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:46:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 11:46:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385670939146190848,"km_value":385670939146190.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1058979260807995392,"description":"Unknown IO ID 45"} 
[2026-08-19 11:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502711552001,"power":27876,"unknown_103":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1058979260807995392}} 
[2026-08-19 11:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":157900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:46:06] local.INFO: GPS data processed {"connection_id":157900,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:46:06] local.INFO: Acknowledgment sent {"connection_id":157900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:46:09] local.INFO: TCP Data received {"connection_id":157524,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:46:09] local.INFO: Processing buffer {"connection_id":157524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:46:09] local.INFO: IMEI packet received {"connection_id":157524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":157524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:46:14] local.INFO: TCP Data received {"connection_id":157524,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:46:14] local.INFO: Processing buffer {"connection_id":157524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:46:14] local.INFO: IMEI packet received {"connection_id":157524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":157524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:46:15] local.INFO: TCP Data received {"connection_id":157524,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a5c058012d181d400721ad48004e00e329..."} 
[2026-08-19 11:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a5c058012d181d400721ad48004e00e329..."} 
[2026-08-19 11:46:15] local.INFO: Processing buffer {"connection_id":157524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a5c058012d181d400721ad48004e00e329..."} 
[2026-08-19 11:46:15] local.INFO: Packet analysis {"connection_id":157524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a5"} 
[2026-08-19 11:46:15] local.INFO: Extracted packet for processing {"connection_id":157524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a5"} 
[2026-08-19 11:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502691840001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:46: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-08-19 11:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787119911000,"timestamp_ms":1787119911000,"timestamp_seconds":1787119911,"priority":1,"record_length":96,"hex_timestamp":"000001a018a5c058"} 
[2026-08-19 11:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:46: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-08-19 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 11:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502691840001,"66":12428,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502691840001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:46:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:46:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502691840001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":157524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:46:15] local.INFO: GPS data processed {"connection_id":157524,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:46:15] local.INFO: Acknowledgment sent {"connection_id":157524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:46:38] local.INFO: TCP Data received {"connection_id":157900,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a73f28012d0eb80006e900f0001300282c..."} 
[2026-08-19 11:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a73f28012d0eb80006e900f0001300282c..."} 
[2026-08-19 11:46:38] local.INFO: Processing buffer {"connection_id":157900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a73f28012d0eb80006e900f0001300282c..."} 
[2026-08-19 11:46:38] local.INFO: Packet analysis {"connection_id":157900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a7"} 
[2026-08-19 11:46:38] local.INFO: Extracted packet for processing {"connection_id":157900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a7"} 
[2026-08-19 11:46:38] local.INFO: GPS Element Parsed {"raw_longitude":755939328,"raw_latitude":115933424,"longitude_deg":75.5939328,"latitude_deg":11.5933424,"altitude":19,"angle":40,"satellites":44,"speed":10,"hex_longitude":"2d0eb800","hex_latitude":"06e900f0","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502716928001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385670994980765696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1059823685738534912,"note":"Value kept but may cause issues"} 
[2026-08-19 11:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787120009000,"timestamp_ms":1787120009000,"timestamp_seconds":1787120009,"priority":1,"record_length":96,"hex_timestamp":"000001a018a73f28"} 
[2026-08-19 11:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:46: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-08-19 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 11:46:38] 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-08-19 11: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-08-19 11:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502716928001,"66":27930,"103":206,"80":6400,"24":10,"16":385670994980765696,"45":1059823685738534912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-19 11:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502716928001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:46:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 11:46:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385670994980765696,"km_value":385670994980765.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1059823685738534912,"description":"Unknown IO ID 45"} 
[2026-08-19 11:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502716928001,"power":27930,"unknown_103":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":1059823685738534912}} 
[2026-08-19 11:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":157900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:46:38] local.INFO: GPS data processed {"connection_id":157900,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:46:38] local.INFO: Acknowledgment sent {"connection_id":157900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:46:47] local.INFO: TCP Data received {"connection_id":157524,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a61260012d181d400721ad48004e00e329..."} 
[2026-08-19 11:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a61260012d181d400721ad48004e00e329..."} 
[2026-08-19 11:46:47] local.INFO: Processing buffer {"connection_id":157524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a61260012d181d400721ad48004e00e329..."} 
[2026-08-19 11:46:47] local.INFO: Packet analysis {"connection_id":157524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a6"} 
[2026-08-19 11:46:47] local.INFO: Extracted packet for processing {"connection_id":157524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a6"} 
[2026-08-19 11:46:47] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502697216001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:46:47] 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-08-19 11:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787119932000,"timestamp_ms":1787119932000,"timestamp_seconds":1787119932,"priority":1,"record_length":96,"hex_timestamp":"000001a018a61260"} 
[2026-08-19 11:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:46:47] 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-08-19 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 11:46: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-08-19 11: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-08-19 11:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502697216001,"66":12428,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502697216001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:46:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:46:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502697216001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":157524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:46:47] local.INFO: GPS data processed {"connection_id":157524,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:46:47] local.INFO: Acknowledgment sent {"connection_id":157524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:46:59] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:46:59] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:46:59] local.INFO: IMEI packet received {"connection_id":160076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":160076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:47:02] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:47:02] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:47:02] local.INFO: IMEI packet received {"connection_id":160076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":160076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:47:05] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:47:05] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:47:05] local.INFO: IMEI packet received {"connection_id":160076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":160076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:47:06] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a965f0012d0ec48006e92450000900092d..."} 
[2026-08-19 11:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a965f0012d0ec48006e92450000900092d..."} 
[2026-08-19 11:47:06] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a965f0012d0ec48006e92450000900092d..."} 
[2026-08-19 11:47:06] local.INFO: Packet analysis {"connection_id":160076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a9"} 
[2026-08-19 11:47:06] local.INFO: Extracted packet for processing {"connection_id":160076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a9"} 
[2026-08-19 11:47:06] local.INFO: GPS Element Parsed {"raw_longitude":755942528,"raw_latitude":115942480,"longitude_deg":75.5942528,"latitude_deg":11.594248,"altitude":9,"angle":9,"satellites":45,"speed":2,"hex_longitude":"2d0ec480","hex_latitude":"06e92450","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502754304001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385671484607037440,"note":"Value kept but may cause issues"} 
[2026-08-19 11:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1064045810391695360,"note":"Value kept but may cause issues"} 
[2026-08-19 11:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787120150000,"timestamp_ms":1787120150000,"timestamp_seconds":1787120150,"priority":1,"record_length":96,"hex_timestamp":"000001a018a965f0"} 
[2026-08-19 11:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 11:47:06] 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-08-19 11: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-08-19 11:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502754304001,"66":27984,"104":206,"80":6400,"24":2,"16":385671484607037440,"45":1064045810391695360},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-08-19 11:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502754304001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:47:06] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-19 11:47:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385671484607037440,"km_value":385671484607037.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1064045810391695360,"description":"Unknown IO ID 45"} 
[2026-08-19 11:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502754304001,"power":27984,"unknown_104":206,"unknown_80":6400,"ignition":2,"odometer":null,"unknown_45":1064045810391695360}} 
[2026-08-19 11:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":160076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:47:06] local.INFO: GPS data processed {"connection_id":160076,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:47:06] local.INFO: Acknowledgment sent {"connection_id":160076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:47:10] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a994d0012d0ec4c006e925a8000a001b2e..."} 
[2026-08-19 11:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a994d0012d0ec4c006e925a8000a001b2e..."} 
[2026-08-19 11:47:10] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a994d0012d0ec4c006e925a8000a001b2e..."} 
[2026-08-19 11:47:10] local.INFO: Packet analysis {"connection_id":160076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a9"} 
[2026-08-19 11:47:10] local.INFO: Extracted packet for processing {"connection_id":160076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a9"} 
[2026-08-19 11:47:10] local.INFO: GPS Element Parsed {"raw_longitude":755942592,"raw_latitude":115942824,"longitude_deg":75.5942592,"latitude_deg":11.5942824,"altitude":10,"angle":27,"satellites":46,"speed":1,"hex_longitude":"2d0ec4c0","hex_latitude":"06e925a8","is_valid_coordinates":true} 
[2026-08-19 11:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502758400001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385671501786906624,"note":"Value kept but may cause issues"} 
[2026-08-19 11:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1064116179135909888,"note":"Value kept but may cause issues"} 
[2026-08-19 11:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787120162000,"timestamp_ms":1787120162000,"timestamp_seconds":1787120162,"priority":1,"record_length":96,"hex_timestamp":"000001a018a994d0"} 
[2026-08-19 11:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:47: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-08-19 11:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 11:47:10] 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-08-19 11:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502758400001,"66":27974,"104":206,"80":6400,"24":1,"16":385671501786906624,"45":1064116179135909888},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-08-19 11:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502758400001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:47:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-19 11:47:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385671501786906624,"km_value":385671501786906.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1064116179135909888,"description":"Unknown IO ID 45"} 
[2026-08-19 11:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502758400001,"power":27974,"unknown_104":206,"unknown_80":6400,"ignition":1,"odometer":null,"unknown_45":1064116179135909888}} 
[2026-08-19 11:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":160076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:47:10] local.INFO: GPS data processed {"connection_id":160076,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:47:10] local.INFO: Acknowledgment sent {"connection_id":160076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:47:14] local.INFO: TCP Data received {"connection_id":158771,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:47:14] local.INFO: Processing buffer {"connection_id":158771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:47:14] local.INFO: IMEI packet received {"connection_id":158771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":158771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:47:19] local.INFO: TCP Data received {"connection_id":158771,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:47:19] local.INFO: Processing buffer {"connection_id":158771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:47:19] local.INFO: IMEI packet received {"connection_id":158771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":158771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:47:20] local.INFO: TCP Data received {"connection_id":158771,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a66468012d181d400721ad48004e00e329..."} 
[2026-08-19 11:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a66468012d181d400721ad48004e00e329..."} 
[2026-08-19 11:47:20] local.INFO: Processing buffer {"connection_id":158771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a66468012d181d400721ad48004e00e329..."} 
[2026-08-19 11:47:20] local.INFO: Packet analysis {"connection_id":158771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a6"} 
[2026-08-19 11:47:20] local.INFO: Extracted packet for processing {"connection_id":158771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a6"} 
[2026-08-19 11:47:20] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502702592001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:47:20] 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-08-19 11:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787119953000,"timestamp_ms":1787119953000,"timestamp_seconds":1787119953,"priority":1,"record_length":96,"hex_timestamp":"000001a018a66468"} 
[2026-08-19 11:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 11:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502702592001,"66":12385,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502702592001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:47:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:47:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502702592001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":158771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:47:20] local.INFO: GPS data processed {"connection_id":158771,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:47:20] local.INFO: Acknowledgment sent {"connection_id":158771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:47:24] local.INFO: TCP Data received {"connection_id":158771,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018a6b670012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a6b670012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:47:24] local.INFO: Processing buffer {"connection_id":158771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a6b670012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:47:24] local.INFO: Packet analysis {"connection_id":158771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a6"} 
[2026-08-19 11:47:24] local.INFO: Extracted packet for processing {"connection_id":158771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a6"} 
[2026-08-19 11:47:24] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502707968001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:47:24] 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-08-19 11:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787119974000,"timestamp_ms":1787119974000,"timestamp_seconds":1787119974,"priority":1,"record_length":96,"hex_timestamp":"000001a018a6b670"} 
[2026-08-19 11:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:47:24] 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-08-19 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 11:47:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502707968001,"66":12385,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502707968001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:47:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:47:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502707968001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":158771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:47:24] local.INFO: GPS data processed {"connection_id":158771,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:47:24] local.INFO: Acknowledgment sent {"connection_id":158771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:47:41] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018a9e6d8012d0ec5c006e927b8000a00192e..."} 
[2026-08-19 11:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018a9e6d8012d0ec5c006e927b8000a00192e..."} 
[2026-08-19 11:47:41] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018a9e6d8012d0ec5c006e927b8000a00192e..."} 
[2026-08-19 11:47:41] local.INFO: Packet analysis {"connection_id":160076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018a9"} 
[2026-08-19 11:47:41] local.INFO: Extracted packet for processing {"connection_id":160076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018a9"} 
[2026-08-19 11:47:41] local.INFO: GPS Element Parsed {"raw_longitude":755942848,"raw_latitude":115943352,"longitude_deg":75.5942848,"latitude_deg":11.5943352,"altitude":10,"angle":25,"satellites":46,"speed":0,"hex_longitude":"2d0ec5c0","hex_latitude":"06e927b8","is_valid_coordinates":true} 
[2026-08-19 11:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502761472001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385671531851677696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1064186547880175616,"note":"Value kept but may cause issues"} 
[2026-08-19 11:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787120183000,"timestamp_ms":1787120183000,"timestamp_seconds":1787120183,"priority":1,"record_length":96,"hex_timestamp":"000001a018a9e6d8"} 
[2026-08-19 11:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:47: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-08-19 11:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 11:47:41] 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-08-19 11:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502761472001,"66":27995,"104":206,"80":6400,"24":0,"16":385671531851677696,"45":1064186547880175616},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-08-19 11:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502761472001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:47:41] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-19 11:47:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385671531851677696,"km_value":385671531851677.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1064186547880175616,"description":"Unknown IO ID 45"} 
[2026-08-19 11:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502761472001,"power":27995,"unknown_104":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1064186547880175616}} 
[2026-08-19 11:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":160076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:47:41] local.INFO: GPS data processed {"connection_id":160076,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:47:41] local.INFO: Acknowledgment sent {"connection_id":160076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:47:59] local.INFO: TCP Data received {"connection_id":157525,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:47:59] local.INFO: Processing buffer {"connection_id":157525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:47:59] local.INFO: IMEI packet received {"connection_id":157525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":157525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:48:04] local.INFO: TCP Data received {"connection_id":157525,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:48:04] local.INFO: Processing buffer {"connection_id":157525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:48:04] local.INFO: IMEI packet received {"connection_id":157525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":157525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:48:06] local.INFO: TCP Data received {"connection_id":157525,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018aa38e0012d0ec8c006e92e78000b001a2d..."} 
[2026-08-19 11:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018aa38e0012d0ec8c006e92e78000b001a2d..."} 
[2026-08-19 11:48:06] local.INFO: Processing buffer {"connection_id":157525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018aa38e0012d0ec8c006e92e78000b001a2d..."} 
[2026-08-19 11:48:06] local.INFO: Packet analysis {"connection_id":157525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018aa"} 
[2026-08-19 11:48:06] local.INFO: Extracted packet for processing {"connection_id":157525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018aa"} 
[2026-08-19 11:48:06] local.INFO: GPS Element Parsed {"raw_longitude":755943616,"raw_latitude":115945080,"longitude_deg":75.5943616,"latitude_deg":11.594508,"altitude":11,"angle":26,"satellites":45,"speed":0,"hex_longitude":"2d0ec8c0","hex_latitude":"06e92e78","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502766848001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385671626340958208,"note":"Value kept but may cause issues"} 
[2026-08-19 11:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1064468022857021440,"note":"Value kept but may cause issues"} 
[2026-08-19 11:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787120204000,"timestamp_ms":1787120204000,"timestamp_seconds":1787120204,"priority":1,"record_length":96,"hex_timestamp":"000001a018aa38e0"} 
[2026-08-19 11:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 11:48:06] 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-08-19 11: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-08-19 11:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502766848001,"66":27876,"103":206,"80":6400,"24":0,"16":385671626340958208,"45":1064468022857021440},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-19 11:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502766848001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:48:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 11:48:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385671626340958208,"km_value":385671626340958.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1064468022857021440,"description":"Unknown IO ID 45"} 
[2026-08-19 11:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502766848001,"power":27876,"unknown_103":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1064468022857021440}} 
[2026-08-19 11:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":157525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:48:06] local.INFO: GPS data processed {"connection_id":157525,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:48:06] local.INFO: Acknowledgment sent {"connection_id":157525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:48:09] local.INFO: TCP Data received {"connection_id":158772,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:48:09] local.INFO: Processing buffer {"connection_id":158772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:48:09] local.INFO: IMEI packet received {"connection_id":158772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":158772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:48:14] local.INFO: TCP Data received {"connection_id":158772,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:48:14] local.INFO: Processing buffer {"connection_id":158772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:48:14] local.INFO: IMEI packet received {"connection_id":158772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":158772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:48:15] local.INFO: TCP Data received {"connection_id":158772,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018aa3cc8012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018aa3cc8012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:48:15] local.INFO: Processing buffer {"connection_id":158772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018aa3cc8012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:48:15] local.INFO: Packet analysis {"connection_id":158772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018aa"} 
[2026-08-19 11:48:15] local.INFO: Extracted packet for processing {"connection_id":158772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018aa"} 
[2026-08-19 11:48:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502767104001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:48: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-08-19 11:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787120205000,"timestamp_ms":1787120205000,"timestamp_seconds":1787120205,"priority":1,"record_length":96,"hex_timestamp":"000001a018aa3cc8"} 
[2026-08-19 11:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:48:15] 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-08-19 11:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 11:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502767104001,"66":12363,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502767104001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:48:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:48:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502767104001,"power":12363,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":158772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:48:15] local.INFO: GPS data processed {"connection_id":158772,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:48:15] local.INFO: Acknowledgment sent {"connection_id":158772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:48:37] local.INFO: TCP Data received {"connection_id":157525,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018aa4c68012d0ec98006e92fc0000d000b2f..."} 
[2026-08-19 11:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018aa4c68012d0ec98006e92fc0000d000b2f..."} 
[2026-08-19 11:48:37] local.INFO: Processing buffer {"connection_id":157525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018aa4c68012d0ec98006e92fc0000d000b2f..."} 
[2026-08-19 11:48:37] local.INFO: Packet analysis {"connection_id":157525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018aa"} 
[2026-08-19 11:48:37] local.INFO: Extracted packet for processing {"connection_id":157525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018aa"} 
[2026-08-19 11:48:37] local.INFO: GPS Element Parsed {"raw_longitude":755943808,"raw_latitude":115945408,"longitude_deg":75.5943808,"latitude_deg":11.5945408,"altitude":13,"angle":11,"satellites":47,"speed":2,"hex_longitude":"2d0ec980","hex_latitude":"06e92fc0","is_valid_coordinates":true} 
[2026-08-19 11:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502772224001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385671647815794688,"note":"Value kept but may cause issues"} 
[2026-08-19 11:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1065312447787595776,"note":"Value kept but may cause issues"} 
[2026-08-19 11:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787120209000,"timestamp_ms":1787120209000,"timestamp_seconds":1787120209,"priority":1,"record_length":96,"hex_timestamp":"000001a018aa4c68"} 
[2026-08-19 11:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 11:48:37] 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-08-19 11:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502772224001,"66":27995,"103":206,"80":6400,"24":2,"16":385671647815794688,"45":1065312447787595776},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-19 11:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502772224001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:48:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 11:48:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385671647815794688,"km_value":385671647815794.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1065312447787595776,"description":"Unknown IO ID 45"} 
[2026-08-19 11:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502772224001,"power":27995,"unknown_103":206,"unknown_80":6400,"ignition":2,"odometer":null,"unknown_45":1065312447787595776}} 
[2026-08-19 11:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":157525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:48:37] local.INFO: GPS data processed {"connection_id":157525,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:48:37] local.INFO: Acknowledgment sent {"connection_id":157525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:48:47] local.INFO: TCP Data received {"connection_id":158772,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018aa8ed0012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018aa8ed0012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:48:47] local.INFO: Processing buffer {"connection_id":158772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018aa8ed0012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:48:47] local.INFO: Packet analysis {"connection_id":158772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018aa"} 
[2026-08-19 11:48:47] local.INFO: Extracted packet for processing {"connection_id":158772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018aa"} 
[2026-08-19 11:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502772480001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:48:47] 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-08-19 11:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787120226000,"timestamp_ms":1787120226000,"timestamp_seconds":1787120226,"priority":1,"record_length":96,"hex_timestamp":"000001a018aa8ed0"} 
[2026-08-19 11:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:48:47] 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-08-19 11: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-19 11:48:47] 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-08-19 11: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-08-19 11:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502772480001,"66":11961,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502772480001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:48:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:48:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502772480001,"power":11961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":158772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:48:47] local.INFO: GPS data processed {"connection_id":158772,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:48:47] local.INFO: Acknowledgment sent {"connection_id":158772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:48:59] local.INFO: TCP Data received {"connection_id":158773,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:48:59] local.INFO: Processing buffer {"connection_id":158773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:48:59] local.INFO: IMEI packet received {"connection_id":158773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":158773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:49:03] local.INFO: TCP Data received {"connection_id":158773,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:49:03] local.INFO: Processing buffer {"connection_id":158773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:49:03] local.INFO: IMEI packet received {"connection_id":158773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":158773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:49:04] local.INFO: TCP Data received {"connection_id":158773,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:49:04] local.INFO: Processing buffer {"connection_id":158773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:49:04] local.INFO: IMEI packet received {"connection_id":158773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":158773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:49:05] local.INFO: TCP Data received {"connection_id":158773,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018ab7548012d0ed24006e94498001101552d..."} 
[2026-08-19 11:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ab7548012d0ed24006e94498001101552d..."} 
[2026-08-19 11:49:05] local.INFO: Processing buffer {"connection_id":158773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ab7548012d0ed24006e94498001101552d..."} 
[2026-08-19 11:49:05] local.INFO: Packet analysis {"connection_id":158773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ab"} 
[2026-08-19 11:49:05] local.INFO: Extracted packet for processing {"connection_id":158773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ab"} 
[2026-08-19 11:49:05] local.INFO: GPS Element Parsed {"raw_longitude":755946048,"raw_latitude":115950744,"longitude_deg":75.5946048,"latitude_deg":11.5950744,"altitude":17,"angle":341,"satellites":45,"speed":1,"hex_longitude":"2d0ed240","hex_latitude":"06e94498","is_valid_coordinates":true} 
[2026-08-19 11:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502792704001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385671948463505408,"note":"Value kept but may cause issues"} 
[2026-08-19 11:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1068056828811960320,"note":"Value kept but may cause issues"} 
[2026-08-19 11:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787120285000,"timestamp_ms":1787120285000,"timestamp_seconds":1787120285,"priority":1,"record_length":96,"hex_timestamp":"000001a018ab7548"} 
[2026-08-19 11:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:49: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-08-19 11:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 11:49:05] 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-08-19 11:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502792704001,"66":27930,"103":206,"80":6400,"24":1,"16":385671948463505408,"45":1068056828811960320},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-19 11:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502792704001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:49:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 11:49:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385671948463505408,"km_value":385671948463505.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1068056828811960320,"description":"Unknown IO ID 45"} 
[2026-08-19 11:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502792704001,"power":27930,"unknown_103":206,"unknown_80":6400,"ignition":1,"odometer":null,"unknown_45":1068056828811960320}} 
[2026-08-19 11:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":158773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:49:05] local.INFO: GPS data processed {"connection_id":158773,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:49:05] local.INFO: Acknowledgment sent {"connection_id":158773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:49:08] local.INFO: TCP Data received {"connection_id":160077,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:49:08] local.INFO: Processing buffer {"connection_id":160077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:49:08] local.INFO: IMEI packet received {"connection_id":160077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":160077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:49:09] local.INFO: TCP Data received {"connection_id":160077,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:49:09] local.INFO: Processing buffer {"connection_id":160077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:49:09] local.INFO: IMEI packet received {"connection_id":160077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":160077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:49:14] local.INFO: TCP Data received {"connection_id":160077,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:49:14] local.INFO: Processing buffer {"connection_id":160077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:49:14] local.INFO: IMEI packet received {"connection_id":160077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":160077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:49:15] local.INFO: TCP Data received {"connection_id":160077,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018aae0d8012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018aae0d8012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:49:15] local.INFO: Processing buffer {"connection_id":160077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018aae0d8012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:49:15] local.INFO: Packet analysis {"connection_id":160077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018aa"} 
[2026-08-19 11:49:15] local.INFO: Extracted packet for processing {"connection_id":160077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018aa"} 
[2026-08-19 11:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502777856001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:49: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-08-19 11:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787120247000,"timestamp_ms":1787120247000,"timestamp_seconds":1787120247,"priority":1,"record_length":96,"hex_timestamp":"000001a018aae0d8"} 
[2026-08-19 11:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:49: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-08-19 11:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 11:49:15] 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-08-19 11:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502777856001,"66":12341,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502777856001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:49:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:49:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502777856001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":160077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:49:15] local.INFO: GPS data processed {"connection_id":160077,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:49:15] local.INFO: Acknowledgment sent {"connection_id":160077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:49:37] local.INFO: TCP Data received {"connection_id":158773,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018ab7930012d0ed24006e944c0001101662c..."} 
[2026-08-19 11:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ab7930012d0ed24006e944c0001101662c..."} 
[2026-08-19 11:49:37] local.INFO: Processing buffer {"connection_id":158773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ab7930012d0ed24006e944c0001101662c..."} 
[2026-08-19 11:49:37] local.INFO: Packet analysis {"connection_id":158773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ab"} 
[2026-08-19 11:49:37] local.INFO: Extracted packet for processing {"connection_id":158773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ab"} 
[2026-08-19 11:49:37] local.INFO: GPS Element Parsed {"raw_longitude":755946048,"raw_latitude":115950784,"longitude_deg":75.5946048,"latitude_deg":11.5950784,"altitude":17,"angle":358,"satellites":44,"speed":1,"hex_longitude":"2d0ed240","hex_latitude":"06e944c0","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502792960001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385671948463505408,"note":"Value kept but may cause issues"} 
[2026-08-19 11:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1067986460067796992,"note":"Value kept but may cause issues"} 
[2026-08-19 11:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787120286000,"timestamp_ms":1787120286000,"timestamp_seconds":1787120286,"priority":1,"record_length":96,"hex_timestamp":"000001a018ab7930"} 
[2026-08-19 11:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 11:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502792960001,"66":28006,"103":206,"80":6400,"24":1,"16":385671948463505408,"45":1067986460067796992},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-08-19 11:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502792960001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:49:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 11:49:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385671948463505408,"km_value":385671948463505.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1067986460067796992,"description":"Unknown IO ID 45"} 
[2026-08-19 11:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502792960001,"power":28006,"unknown_103":206,"unknown_80":6400,"ignition":1,"odometer":null,"unknown_45":1067986460067796992}} 
[2026-08-19 11:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":158773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:49:37] local.INFO: GPS data processed {"connection_id":158773,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:49:37] local.INFO: Acknowledgment sent {"connection_id":158773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:49:46] local.INFO: TCP Data received {"connection_id":160077,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ab32e0012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ab32e0012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:49:46] local.INFO: Processing buffer {"connection_id":160077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ab32e0012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:49:46] local.INFO: Packet analysis {"connection_id":160077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ab"} 
[2026-08-19 11:49:46] local.INFO: Extracted packet for processing {"connection_id":160077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ab"} 
[2026-08-19 11:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502783232001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:49:46] 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-08-19 11:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787120268000,"timestamp_ms":1787120268000,"timestamp_seconds":1787120268,"priority":1,"record_length":96,"hex_timestamp":"000001a018ab32e0"} 
[2026-08-19 11:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:49:46] 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-08-19 11:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-19 11:49:46] 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-08-19 11:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502783232001,"66":12385,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502783232001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:49:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:49:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502783232001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":160077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:49:46] local.INFO: GPS data processed {"connection_id":160077,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:49:46] local.INFO: Acknowledgment sent {"connection_id":160077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:49:59] local.INFO: TCP Data received {"connection_id":157901,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:49:59] local.INFO: Processing buffer {"connection_id":157901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:49:59] local.INFO: IMEI packet received {"connection_id":157901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":157901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:50:05] local.INFO: TCP Data received {"connection_id":157901,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:50:05] local.INFO: Processing buffer {"connection_id":157901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:50:05] local.INFO: IMEI packet received {"connection_id":157901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":157901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:50:06] local.INFO: TCP Data received {"connection_id":157901,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018ab8100012d0ed24006e945580012000a2a..."} 
[2026-08-19 11:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ab8100012d0ed24006e945580012000a2a..."} 
[2026-08-19 11:50:06] local.INFO: Processing buffer {"connection_id":157901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ab8100012d0ed24006e945580012000a2a..."} 
[2026-08-19 11:50:06] local.INFO: Packet analysis {"connection_id":157901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ab"} 
[2026-08-19 11:50:06] local.INFO: Extracted packet for processing {"connection_id":157901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ab"} 
[2026-08-19 11:50:06] local.INFO: GPS Element Parsed {"raw_longitude":755946048,"raw_latitude":115950936,"longitude_deg":75.5946048,"latitude_deg":11.5950936,"altitude":18,"angle":10,"satellites":42,"speed":3,"hex_longitude":"2d0ed240","hex_latitude":"06e94558","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502793216001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385671957053440000,"note":"Value kept but may cause issues"} 
[2026-08-19 11:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1067986460067807232,"note":"Value kept but may cause issues"} 
[2026-08-19 11:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787120288000,"timestamp_ms":1787120288000,"timestamp_seconds":1787120288,"priority":1,"record_length":96,"hex_timestamp":"000001a018ab8100"} 
[2026-08-19 11:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 11:50:06] 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-08-19 11: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-08-19 11:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502793216001,"66":27930,"102":206,"80":6400,"24":3,"16":385671957053440000,"45":1067986460067807232},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,80,24,16,45]} 
[2026-08-19 11:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502793216001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:50:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 11:50:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385671957053440000,"km_value":385671957053440,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1067986460067807232,"description":"Unknown IO ID 45"} 
[2026-08-19 11:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502793216001,"power":27930,"unknown_102":206,"unknown_80":6400,"ignition":3,"odometer":null,"unknown_45":1067986460067807232}} 
[2026-08-19 11:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":157901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:50:06] local.INFO: GPS data processed {"connection_id":157901,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:50:06] local.INFO: Acknowledgment sent {"connection_id":157901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:50:09] local.INFO: TCP Data received {"connection_id":157902,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:50:09] local.INFO: Processing buffer {"connection_id":157902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:50:09] local.INFO: IMEI packet received {"connection_id":157902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":157902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:50:11] local.INFO: TCP Data received {"connection_id":157902,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:50:11] local.INFO: Processing buffer {"connection_id":157902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:50:11] local.INFO: IMEI packet received {"connection_id":157902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":157902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:50:14] local.INFO: TCP Data received {"connection_id":157902,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:50:14] local.INFO: Processing buffer {"connection_id":157902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:50:14] local.INFO: IMEI packet received {"connection_id":157902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":157902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:50:15] local.INFO: TCP Data received {"connection_id":157902,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ab84e8012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ab84e8012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:50:15] local.INFO: Processing buffer {"connection_id":157902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ab84e8012d181d400721ad48004e00e32c..."} 
[2026-08-19 11:50:15] local.INFO: Packet analysis {"connection_id":157902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ab"} 
[2026-08-19 11:50:15] local.INFO: Extracted packet for processing {"connection_id":157902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ab"} 
[2026-08-19 11:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502788608001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:50: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-08-19 11:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787120289000,"timestamp_ms":1787120289000,"timestamp_seconds":1787120289,"priority":1,"record_length":96,"hex_timestamp":"000001a018ab84e8"} 
[2026-08-19 11:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:50:15] 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-08-19 11:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 11:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502788608001,"66":12385,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502788608001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:50:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:50:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502788608001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":157902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:50:15] local.INFO: GPS data processed {"connection_id":157902,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:50:15] local.INFO: Acknowledgment sent {"connection_id":157902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:50:39] local.INFO: TCP Data received {"connection_id":157901,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018ab88d0012d0ed24006e945e8001200172a..."} 
[2026-08-19 11:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ab88d0012d0ed24006e945e8001200172a..."} 
[2026-08-19 11:50:39] local.INFO: Processing buffer {"connection_id":157901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ab88d0012d0ed24006e945e8001200172a..."} 
[2026-08-19 11:50:39] local.INFO: Packet analysis {"connection_id":157901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ab"} 
[2026-08-19 11:50:39] local.INFO: Extracted packet for processing {"connection_id":157901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ab"} 
[2026-08-19 11:50:39] local.INFO: GPS Element Parsed {"raw_longitude":755946048,"raw_latitude":115951080,"longitude_deg":75.5946048,"latitude_deg":11.595108,"altitude":18,"angle":23,"satellites":42,"speed":2,"hex_longitude":"2d0ed240","hex_latitude":"06e945e8","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502793728001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385671965643374592,"note":"Value kept but may cause issues"} 
[2026-08-19 11:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1067986460067846144,"note":"Value kept but may cause issues"} 
[2026-08-19 11:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787120290000,"timestamp_ms":1787120290000,"timestamp_seconds":1787120290,"priority":1,"record_length":96,"hex_timestamp":"000001a018ab88d0"} 
[2026-08-19 11:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 11:50:39] 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-08-19 11: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-08-19 11:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502793728001,"66":27919,"102":206,"80":6400,"24":2,"16":385671965643374592,"45":1067986460067846144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,80,24,16,45]} 
[2026-08-19 11:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502793728001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:50:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 11:50:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385671965643374592,"km_value":385671965643374.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1067986460067846144,"description":"Unknown IO ID 45"} 
[2026-08-19 11:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502793728001,"power":27919,"unknown_102":206,"unknown_80":6400,"ignition":2,"odometer":null,"unknown_45":1067986460067846144}} 
[2026-08-19 11:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":157901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:50:39] local.INFO: GPS data processed {"connection_id":157901,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:50:39] local.INFO: Acknowledgment sent {"connection_id":157901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:50:46] local.INFO: TCP Data received {"connection_id":157902,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018abd6f0012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018abd6f0012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:50:46] local.INFO: Processing buffer {"connection_id":157902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018abd6f0012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:50:46] local.INFO: Packet analysis {"connection_id":157902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ab"} 
[2026-08-19 11:50:46] local.INFO: Extracted packet for processing {"connection_id":157902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ab"} 
[2026-08-19 11:50:46] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502793984001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:50:46] 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-08-19 11:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787120310000,"timestamp_ms":1787120310000,"timestamp_seconds":1787120310,"priority":1,"record_length":96,"hex_timestamp":"000001a018abd6f0"} 
[2026-08-19 11:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:50:46] 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-08-19 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 11:50:46] 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-08-19 11: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-08-19 11:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502793984001,"66":12374,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502793984001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:50:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:50:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502793984001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":157902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:50:46] local.INFO: GPS data processed {"connection_id":157902,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:50:46] local.INFO: Acknowledgment sent {"connection_id":157902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:51:04] local.INFO: TCP Data received {"connection_id":158774,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:51:04] local.INFO: Processing buffer {"connection_id":158774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:51:04] local.INFO: IMEI packet received {"connection_id":158774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":158774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:51:05] local.INFO: TCP Data received {"connection_id":158774,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:51:05] local.INFO: Processing buffer {"connection_id":158774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:51:05] local.INFO: IMEI packet received {"connection_id":158774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":158774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:51:09] local.INFO: TCP Data received {"connection_id":160078,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:51:09] local.INFO: Processing buffer {"connection_id":160078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:51:09] local.INFO: IMEI packet received {"connection_id":160078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":160078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:51:09] local.INFO: TCP Data received {"connection_id":158774,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:51:09] local.INFO: Processing buffer {"connection_id":158774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:51:09] local.INFO: IMEI packet received {"connection_id":158774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":158774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:51:10] local.INFO: TCP Data received {"connection_id":158774,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018ad4a08012d0ecf0006e993a00019015f2c..."} 
[2026-08-19 11:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ad4a08012d0ecf0006e993a00019015f2c..."} 
[2026-08-19 11:51:10] local.INFO: Processing buffer {"connection_id":158774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ad4a08012d0ecf0006e993a00019015f2c..."} 
[2026-08-19 11:51:10] local.INFO: Packet analysis {"connection_id":158774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ad"} 
[2026-08-19 11:51:10] local.INFO: Extracted packet for processing {"connection_id":158774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ad"} 
[2026-08-19 11:51:10] local.INFO: GPS Element Parsed {"raw_longitude":755945216,"raw_latitude":115970976,"longitude_deg":75.5945216,"latitude_deg":11.5970976,"altitude":25,"angle":351,"satellites":44,"speed":6,"hex_longitude":"2d0ecf00","hex_latitude":"06e993a0","is_valid_coordinates":true} 
[2026-08-19 11:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502822912001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385672966370754560,"note":"Value kept but may cause issues"} 
[2026-08-19 11:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1067212403886907392,"note":"Value kept but may cause issues"} 
[2026-08-19 11:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787120405000,"timestamp_ms":1787120405000,"timestamp_seconds":1787120405,"priority":1,"record_length":96,"hex_timestamp":"000001a018ad4a08"} 
[2026-08-19 11:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:51: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-08-19 11:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 11:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502822912001,"66":27919,"1":206,"80":6400,"24":6,"16":385672966370754560,"45":1067212403886907392},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-08-19 11:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502822912001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:51:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385672966370754560,"km_value":385672966370754.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1067212403886907392,"description":"Unknown IO ID 45"} 
[2026-08-19 11:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502822912001,"power":27919,"imei":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":1067212403886907392}} 
[2026-08-19 11:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":158774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:51:10] local.INFO: GPS data processed {"connection_id":158774,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:51:10] local.INFO: Acknowledgment sent {"connection_id":158774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:51:12] local.INFO: TCP Data received {"connection_id":158774,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018ad55c0012d0ece4006e99500001a01532d..."} 
[2026-08-19 11:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ad55c0012d0ece4006e99500001a01532d..."} 
[2026-08-19 11:51:12] local.INFO: Processing buffer {"connection_id":158774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ad55c0012d0ece4006e99500001a01532d..."} 
[2026-08-19 11:51:12] local.INFO: Packet analysis {"connection_id":158774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ad"} 
[2026-08-19 11:51:12] local.INFO: Extracted packet for processing {"connection_id":158774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ad"} 
[2026-08-19 11:51:12] local.INFO: GPS Element Parsed {"raw_longitude":755945024,"raw_latitude":115971328,"longitude_deg":75.5945024,"latitude_deg":11.5971328,"altitude":26,"angle":339,"satellites":45,"speed":2,"hex_longitude":"2d0ece40","hex_latitude":"06e99500","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502823680001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385672987845591040,"note":"Value kept but may cause issues"} 
[2026-08-19 11:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1067071666398666752,"note":"Value kept but may cause issues"} 
[2026-08-19 11:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787120408000,"timestamp_ms":1787120408000,"timestamp_seconds":1787120408,"priority":1,"record_length":96,"hex_timestamp":"000001a018ad55c0"} 
[2026-08-19 11:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 11:51:12] 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-08-19 11: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-08-19 11:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502823680001,"66":28126,"35":206,"80":6400,"24":2,"16":385672987845591040,"45":1067071666398666752},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-08-19 11:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502823680001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:51:12] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-19 11:51:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385672987845591040,"km_value":385672987845591.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1067071666398666752,"description":"Unknown IO ID 45"} 
[2026-08-19 11:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502823680001,"power":28126,"unknown_35":206,"unknown_80":6400,"ignition":2,"odometer":null,"unknown_45":1067071666398666752}} 
[2026-08-19 11:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":158774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:51:12] local.INFO: GPS data processed {"connection_id":158774,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:51:12] local.INFO: Acknowledgment sent {"connection_id":158774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:51:14] local.INFO: TCP Data received {"connection_id":160078,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:51:14] local.INFO: Processing buffer {"connection_id":160078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:51:14] local.INFO: IMEI packet received {"connection_id":160078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":160078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:51:16] local.INFO: TCP Data received {"connection_id":160078,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ac28f8012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ac28f8012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:51:16] local.INFO: Processing buffer {"connection_id":160078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ac28f8012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:51:16] local.INFO: Packet analysis {"connection_id":160078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ac"} 
[2026-08-19 11:51:16] local.INFO: Extracted packet for processing {"connection_id":160078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ac"} 
[2026-08-19 11:51:16] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502799360001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:51:16] 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-08-19 11:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787120331000,"timestamp_ms":1787120331000,"timestamp_seconds":1787120331,"priority":1,"record_length":96,"hex_timestamp":"000001a018ac28f8"} 
[2026-08-19 11:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:51:16] 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-08-19 11: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-19 11:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502799360001,"66":12385,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502799360001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:51:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:51:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502799360001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":160078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:51:16] local.INFO: GPS data processed {"connection_id":160078,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:51:16] local.INFO: Acknowledgment sent {"connection_id":160078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:51:43] local.INFO: TCP Data received {"connection_id":158774,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018ad59a8012d0ece4006e99528001a01612c..."} 
[2026-08-19 11:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ad59a8012d0ece4006e99528001a01612c..."} 
[2026-08-19 11:51:43] local.INFO: Processing buffer {"connection_id":158774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ad59a8012d0ece4006e99528001a01612c..."} 
[2026-08-19 11:51:43] local.INFO: Packet analysis {"connection_id":158774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ad"} 
[2026-08-19 11:51:43] local.INFO: Extracted packet for processing {"connection_id":158774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ad"} 
[2026-08-19 11:51:43] local.INFO: GPS Element Parsed {"raw_longitude":755945024,"raw_latitude":115971368,"longitude_deg":75.5945024,"latitude_deg":11.5971368,"altitude":26,"angle":353,"satellites":44,"speed":1,"hex_longitude":"2d0ece40","hex_latitude":"06e99528","is_valid_coordinates":true} 
[2026-08-19 11:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502824448001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385672987845591040,"note":"Value kept but may cause issues"} 
[2026-08-19 11:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1066860560166223872,"note":"Value kept but may cause issues"} 
[2026-08-19 11:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787120409000,"timestamp_ms":1787120409000,"timestamp_seconds":1787120409,"priority":1,"record_length":96,"hex_timestamp":"000001a018ad59a8"} 
[2026-08-19 11:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-19 11:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502824448001,"66":28126,"35":206,"80":6400,"24":1,"16":385672987845591040,"45":1066860560166223872},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-08-19 11:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502824448001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:51:43] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-19 11:51:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385672987845591040,"km_value":385672987845591.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1066860560166223872,"description":"Unknown IO ID 45"} 
[2026-08-19 11:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502824448001,"power":28126,"unknown_35":206,"unknown_80":6400,"ignition":1,"odometer":null,"unknown_45":1066860560166223872}} 
[2026-08-19 11:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":158774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:51:43] local.INFO: GPS data processed {"connection_id":158774,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:51:43] local.INFO: Acknowledgment sent {"connection_id":158774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:51:47] local.INFO: TCP Data received {"connection_id":160078,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ac7b00012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ac7b00012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:51:47] local.INFO: Processing buffer {"connection_id":160078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ac7b00012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:51:47] local.INFO: Packet analysis {"connection_id":160078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ac"} 
[2026-08-19 11:51:47] local.INFO: Extracted packet for processing {"connection_id":160078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ac"} 
[2026-08-19 11:51:47] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502804736001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:51:47] 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-08-19 11:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787120352000,"timestamp_ms":1787120352000,"timestamp_seconds":1787120352,"priority":1,"record_length":96,"hex_timestamp":"000001a018ac7b00"} 
[2026-08-19 11:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 11:51:47] 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-08-19 11: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-08-19 11:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502804736001,"66":12363,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502804736001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:51:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:51:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502804736001,"power":12363,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":160078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:51:47] local.INFO: GPS data processed {"connection_id":160078,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:51:47] local.INFO: Acknowledgment sent {"connection_id":160078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:51:59] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:51:59] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:51:59] local.INFO: IMEI packet received {"connection_id":160079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":160079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:52:00] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:52:00] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:52:00] local.INFO: IMEI packet received {"connection_id":160079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":160079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:52:03] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:52:03] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:52:03] local.INFO: IMEI packet received {"connection_id":160079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":160079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:52:04] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018ae3080012d0ec40006e9ae48001900722b..."} 
[2026-08-19 11:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ae3080012d0ec40006e9ae48001900722b..."} 
[2026-08-19 11:52:04] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ae3080012d0ec40006e9ae48001900722b..."} 
[2026-08-19 11:52:04] local.INFO: Packet analysis {"connection_id":160079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ae"} 
[2026-08-19 11:52:04] local.INFO: Extracted packet for processing {"connection_id":160079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ae"} 
[2026-08-19 11:52:04] local.INFO: GPS Element Parsed {"raw_longitude":755942400,"raw_latitude":115977800,"longitude_deg":75.59424,"latitude_deg":11.59778,"altitude":25,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d0ec400","hex_latitude":"06e9ae48","is_valid_coordinates":true} 
[2026-08-19 11:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502838528001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385673340032909312,"note":"Value kept but may cause issues"} 
[2026-08-19 11:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1063975441656596480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787120464000,"timestamp_ms":1787120464000,"timestamp_seconds":1787120464,"priority":1,"record_length":96,"hex_timestamp":"000001a018ae3080"} 
[2026-08-19 11:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:52: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-08-19 11:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 11:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502838528001,"66":27995,"1":206,"80":6400,"24":0,"16":385673340032909312,"45":1063975441656596480},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-08-19 11:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502838528001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:52:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385673340032909312,"km_value":385673340032909.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1063975441656596480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502838528001,"power":27995,"imei":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1063975441656596480}} 
[2026-08-19 11:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":160079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:52:04] local.INFO: GPS data processed {"connection_id":160079,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:52:04] local.INFO: Acknowledgment sent {"connection_id":160079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:52:06] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018ae4fc0012d0ec40006e9aed0001901512a..."} 
[2026-08-19 11:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ae4fc0012d0ec40006e9aed0001901512a..."} 
[2026-08-19 11:52:06] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ae4fc0012d0ec40006e9aed0001901512a..."} 
[2026-08-19 11:52:06] local.INFO: Packet analysis {"connection_id":160079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ae"} 
[2026-08-19 11:52:06] local.INFO: Extracted packet for processing {"connection_id":160079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ae"} 
[2026-08-19 11:52:06] local.INFO: GPS Element Parsed {"raw_longitude":755942400,"raw_latitude":115977936,"longitude_deg":75.59424,"latitude_deg":11.5977936,"altitude":25,"angle":337,"satellites":42,"speed":3,"hex_longitude":"2d0ec400","hex_latitude":"06e9aed0","is_valid_coordinates":true} 
[2026-08-19 11:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502838784001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385673348622843904,"note":"Value kept but may cause issues"} 
[2026-08-19 11:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1063975441656596480,"note":"Value kept but may cause issues"} 
[2026-08-19 11:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787120472000,"timestamp_ms":1787120472000,"timestamp_seconds":1787120472,"priority":1,"record_length":96,"hex_timestamp":"000001a018ae4fc0"} 
[2026-08-19 11:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 11:52:06] 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-08-19 11:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502838784001,"66":27919,"1":206,"80":6400,"24":3,"16":385673348622843904,"45":1063975441656596480},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-08-19 11:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502838784001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:52:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385673348622843904,"km_value":385673348622843.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1063975441656596480,"description":"Unknown IO ID 45"} 
[2026-08-19 11:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502838784001,"power":27919,"imei":206,"unknown_80":6400,"ignition":3,"odometer":null,"unknown_45":1063975441656596480}} 
[2026-08-19 11:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":160079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:52:06] local.INFO: GPS data processed {"connection_id":160079,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:52:06] local.INFO: Acknowledgment sent {"connection_id":160079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:52:14] local.INFO: TCP Data received {"connection_id":157526,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:52:14] local.INFO: Processing buffer {"connection_id":157526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:52:14] local.INFO: IMEI packet received {"connection_id":157526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":157526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:52:17] local.INFO: TCP Data received {"connection_id":157526,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:52:17] local.INFO: Processing buffer {"connection_id":157526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:52:17] local.INFO: IMEI packet received {"connection_id":157526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":157526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:52:18] local.INFO: TCP Data received {"connection_id":157526,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018accd08012d181d400721ad48004e00e32a..."} 
[2026-08-19 11:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018accd08012d181d400721ad48004e00e32a..."} 
[2026-08-19 11:52:18] local.INFO: Processing buffer {"connection_id":157526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018accd08012d181d400721ad48004e00e32a..."} 
[2026-08-19 11:52:18] local.INFO: Packet analysis {"connection_id":157526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ac"} 
[2026-08-19 11:52:18] local.INFO: Extracted packet for processing {"connection_id":157526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ac"} 
[2026-08-19 11:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502810112001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:52:18] 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-08-19 11:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787120373000,"timestamp_ms":1787120373000,"timestamp_seconds":1787120373,"priority":1,"record_length":96,"hex_timestamp":"000001a018accd08"} 
[2026-08-19 11:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-19 11:52:18] 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-08-19 11: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-08-19 11:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502810112001,"66":11678,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502810112001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:52:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:52:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502810112001,"power":11678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":157526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:52:18] local.INFO: GPS data processed {"connection_id":157526,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:52:18] local.INFO: Acknowledgment sent {"connection_id":157526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:52:19] local.INFO: TCP Data received {"connection_id":157526,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ad1f10012d181d400721ad48004e00e329..."} 
[2026-08-19 11:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ad1f10012d181d400721ad48004e00e329..."} 
[2026-08-19 11:52:19] local.INFO: Processing buffer {"connection_id":157526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ad1f10012d181d400721ad48004e00e329..."} 
[2026-08-19 11:52:19] local.INFO: Packet analysis {"connection_id":157526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ad"} 
[2026-08-19 11:52:19] local.INFO: Extracted packet for processing {"connection_id":157526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ad"} 
[2026-08-19 11:52:19] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502815488001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:52:19] 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-08-19 11:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787120394000,"timestamp_ms":1787120394000,"timestamp_seconds":1787120394,"priority":1,"record_length":96,"hex_timestamp":"000001a018ad1f10"} 
[2026-08-19 11:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-19 11:52:19] 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-08-19 11:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502815488001,"66":12374,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502815488001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:52:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:52:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502815488001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":157526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:52:19] local.INFO: GPS data processed {"connection_id":157526,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:52:19] local.INFO: Acknowledgment sent {"connection_id":157526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:52:37] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018ae6348012d0ec30006e9b1180018000022..."} 
[2026-08-19 11:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ae6348012d0ec30006e9b1180018000022..."} 
[2026-08-19 11:52:37] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ae6348012d0ec30006e9b1180018000022..."} 
[2026-08-19 11:52:37] local.INFO: Packet analysis {"connection_id":160079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ae"} 
[2026-08-19 11:52:37] local.INFO: Extracted packet for processing {"connection_id":160079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ae"} 
[2026-08-19 11:52:37] local.INFO: GPS Element Parsed {"raw_longitude":755942144,"raw_latitude":115978520,"longitude_deg":75.5942144,"latitude_deg":11.597852,"altitude":24,"angle":0,"satellites":34,"speed":2,"hex_longitude":"2d0ec300","hex_latitude":"06e9b118","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502840832001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385673378687614976,"note":"Value kept but may cause issues"} 
[2026-08-19 11:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1063975441656631296,"note":"Value kept but may cause issues"} 
[2026-08-19 11:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787120477000,"timestamp_ms":1787120477000,"timestamp_seconds":1787120477,"priority":1,"record_length":96,"hex_timestamp":"000001a018ae6348"} 
[2026-08-19 11:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 11:52:37] 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-08-19 11: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-08-19 11:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502840832001,"66":27919,"1":206,"80":6400,"24":2,"16":385673378687614976,"45":1063975441656631296},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-08-19 11:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502840832001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:52:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385673378687614976,"km_value":385673378687615.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1063975441656631296,"description":"Unknown IO ID 45"} 
[2026-08-19 11:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502840832001,"power":27919,"imei":206,"unknown_80":6400,"ignition":2,"odometer":null,"unknown_45":1063975441656631296}} 
[2026-08-19 11:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":160079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:52:37] local.INFO: GPS data processed {"connection_id":160079,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:52:37] local.INFO: Acknowledgment sent {"connection_id":160079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:52:51] local.INFO: TCP Data received {"connection_id":157526,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ad7118012d181d400721ad48004e00e32a..."} 
[2026-08-19 11:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ad7118012d181d400721ad48004e00e32a..."} 
[2026-08-19 11:52:51] local.INFO: Processing buffer {"connection_id":157526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ad7118012d181d400721ad48004e00e32a..."} 
[2026-08-19 11:52:51] local.INFO: Packet analysis {"connection_id":157526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ad"} 
[2026-08-19 11:52:51] local.INFO: Extracted packet for processing {"connection_id":157526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ad"} 
[2026-08-19 11:52:51] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502820864001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:52:51] 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-08-19 11:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787120415000,"timestamp_ms":1787120415000,"timestamp_seconds":1787120415,"priority":1,"record_length":96,"hex_timestamp":"000001a018ad7118"} 
[2026-08-19 11:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-19 11:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502820864001,"66":12341,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502820864001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:52:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:52:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502820864001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":157526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:52:51] local.INFO: GPS data processed {"connection_id":157526,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:52:51] local.INFO: Acknowledgment sent {"connection_id":157526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:52:56] local.INFO: TCP Data received {"connection_id":160080,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:52:56] local.INFO: Processing buffer {"connection_id":160080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:52:56] local.INFO: IMEI packet received {"connection_id":160080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":160080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:53:00] local.INFO: TCP Data received {"connection_id":160080,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:53:00] local.INFO: Processing buffer {"connection_id":160080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:53:00] local.INFO: IMEI packet received {"connection_id":160080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":160080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:53:05] local.INFO: TCP Data received {"connection_id":160080,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:53:05] local.INFO: Processing buffer {"connection_id":160080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:53:05] local.INFO: IMEI packet received {"connection_id":160080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":160080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:53:06] local.INFO: TCP Data received {"connection_id":160080,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018ae76d0012d0ec28006e9b2500017015627..."} 
[2026-08-19 11:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ae76d0012d0ec28006e9b2500017015627..."} 
[2026-08-19 11:53:06] local.INFO: Processing buffer {"connection_id":160080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ae76d0012d0ec28006e9b2500017015627..."} 
[2026-08-19 11:53:06] local.INFO: Packet analysis {"connection_id":160080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ae"} 
[2026-08-19 11:53:06] local.INFO: Extracted packet for processing {"connection_id":160080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ae"} 
[2026-08-19 11:53:06] local.INFO: GPS Element Parsed {"raw_longitude":755942016,"raw_latitude":115978832,"longitude_deg":75.5942016,"latitude_deg":11.5978832,"altitude":23,"angle":342,"satellites":39,"speed":3,"hex_longitude":"2d0ec280","hex_latitude":"06e9b250","is_valid_coordinates":true} 
[2026-08-19 11:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502842112001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385673400162451456,"note":"Value kept but may cause issues"} 
[2026-08-19 11:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1063693966680070144,"note":"Value kept but may cause issues"} 
[2026-08-19 11:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787120482000,"timestamp_ms":1787120482000,"timestamp_seconds":1787120482,"priority":1,"record_length":96,"hex_timestamp":"000001a018ae76d0"} 
[2026-08-19 11:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 11:53:06] 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-08-19 11:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502842112001,"66":27800,"1":206,"80":6400,"24":3,"16":385673400162451456,"45":1063693966680070144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-08-19 11:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502842112001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:53:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385673400162451456,"km_value":385673400162451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1063693966680070144,"description":"Unknown IO ID 45"} 
[2026-08-19 11:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502842112001,"power":27800,"imei":206,"unknown_80":6400,"ignition":3,"odometer":null,"unknown_45":1063693966680070144}} 
[2026-08-19 11:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":160080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:53:06] local.INFO: GPS data processed {"connection_id":160080,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:53:06] local.INFO: Acknowledgment sent {"connection_id":160080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:53:09] local.INFO: TCP Data received {"connection_id":157903,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:53:09] local.INFO: Processing buffer {"connection_id":157903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:53:09] local.INFO: IMEI packet received {"connection_id":157903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":157903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:53:14] local.INFO: TCP Data received {"connection_id":157903,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:53:14] local.INFO: Processing buffer {"connection_id":157903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:53:14] local.INFO: IMEI packet received {"connection_id":157903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":157903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:53:15] local.INFO: TCP Data received {"connection_id":157903,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018adc320012d181d400721ad48004e00e32a..."} 
[2026-08-19 11:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018adc320012d181d400721ad48004e00e32a..."} 
[2026-08-19 11:53:15] local.INFO: Processing buffer {"connection_id":157903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018adc320012d181d400721ad48004e00e32a..."} 
[2026-08-19 11:53:15] local.INFO: Packet analysis {"connection_id":157903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ad"} 
[2026-08-19 11:53:15] local.INFO: Extracted packet for processing {"connection_id":157903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ad"} 
[2026-08-19 11:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502826240001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:53: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-08-19 11:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787120436000,"timestamp_ms":1787120436000,"timestamp_seconds":1787120436,"priority":1,"record_length":96,"hex_timestamp":"000001a018adc320"} 
[2026-08-19 11:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:53:15] 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-08-19 11:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-19 11:53: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-08-19 11:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502826240001,"66":12363,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502826240001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:53:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:53:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502826240001,"power":12363,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":157903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:53:15] local.INFO: GPS data processed {"connection_id":157903,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:53:15] local.INFO: Acknowledgment sent {"connection_id":157903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:53:40] local.INFO: TCP Data received {"connection_id":160080,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018af93f8012d0ea04006e9e9f8000f00082c..."} 
[2026-08-19 11:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018af93f8012d0ea04006e9e9f8000f00082c..."} 
[2026-08-19 11:53:40] local.INFO: Processing buffer {"connection_id":160080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018af93f8012d0ea04006e9e9f8000f00082c..."} 
[2026-08-19 11:53:40] local.INFO: Packet analysis {"connection_id":160080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018af"} 
[2026-08-19 11:53:40] local.INFO: Extracted packet for processing {"connection_id":160080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018af"} 
[2026-08-19 11:53:40] local.INFO: GPS Element Parsed {"raw_longitude":755933248,"raw_latitude":115993080,"longitude_deg":75.5933248,"latitude_deg":11.599308,"altitude":15,"angle":8,"satellites":44,"speed":7,"hex_longitude":"2d0ea040","hex_latitude":"06e9e9f8","is_valid_coordinates":true} 
[2026-08-19 11:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502861824001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385674220501204992,"note":"Value kept but may cause issues"} 
[2026-08-19 11:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1053983079987224576,"note":"Value kept but may cause issues"} 
[2026-08-19 11:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787120555000,"timestamp_ms":1787120555000,"timestamp_seconds":1787120555,"priority":1,"record_length":96,"hex_timestamp":"000001a018af93f8"} 
[2026-08-19 11:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:53:40] 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-08-19 11:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502861824001,"66":27865,"1":206,"80":6400,"24":7,"16":385674220501204992,"45":1053983079987224576},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-08-19 11:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502861824001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:53:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385674220501204992,"km_value":385674220501205.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1053983079987224576,"description":"Unknown IO ID 45"} 
[2026-08-19 11:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502861824001,"power":27865,"imei":206,"unknown_80":6400,"ignition":7,"odometer":null,"unknown_45":1053983079987224576}} 
[2026-08-19 11:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":160080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:53:40] local.INFO: GPS data processed {"connection_id":160080,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:53:40] local.INFO: Acknowledgment sent {"connection_id":160080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:53:47] local.INFO: TCP Data received {"connection_id":157903,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ae1528012d181d400721ad48004e00e329..."} 
[2026-08-19 11:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ae1528012d181d400721ad48004e00e329..."} 
[2026-08-19 11:53:47] local.INFO: Processing buffer {"connection_id":157903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ae1528012d181d400721ad48004e00e329..."} 
[2026-08-19 11:53:47] local.INFO: Packet analysis {"connection_id":157903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ae"} 
[2026-08-19 11:53:47] local.INFO: Extracted packet for processing {"connection_id":157903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ae"} 
[2026-08-19 11:53:47] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":41,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502831616001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:53:47] 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-08-19 11:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787120457000,"timestamp_ms":1787120457000,"timestamp_seconds":1787120457,"priority":1,"record_length":96,"hex_timestamp":"000001a018ae1528"} 
[2026-08-19 11:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-19 11:53:47] 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-08-19 11: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-08-19 11:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502831616001,"66":12341,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502831616001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:53:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:53:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502831616001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":157903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:53:47] local.INFO: GPS data processed {"connection_id":157903,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:53:47] local.INFO: Acknowledgment sent {"connection_id":157903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:53:59] local.INFO: TCP Data received {"connection_id":160081,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:53:59] local.INFO: Processing buffer {"connection_id":160081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:53:59] local.INFO: IMEI packet received {"connection_id":160081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":160081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:54:04] local.INFO: TCP Data received {"connection_id":160081,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:54:04] local.INFO: Processing buffer {"connection_id":160081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:54:04] local.INFO: IMEI packet received {"connection_id":160081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":160081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:54:05] local.INFO: TCP Data received {"connection_id":160081,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018af9fb0012d0e9fc006e9ebf8000f01612d..."} 
[2026-08-19 11:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018af9fb0012d0e9fc006e9ebf8000f01612d..."} 
[2026-08-19 11:54:05] local.INFO: Processing buffer {"connection_id":160081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018af9fb0012d0e9fc006e9ebf8000f01612d..."} 
[2026-08-19 11:54:05] local.INFO: Packet analysis {"connection_id":160081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018af"} 
[2026-08-19 11:54:05] local.INFO: Extracted packet for processing {"connection_id":160081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018af"} 
[2026-08-19 11:54:05] local.INFO: GPS Element Parsed {"raw_longitude":755933120,"raw_latitude":115993592,"longitude_deg":75.593312,"latitude_deg":11.5993592,"altitude":15,"angle":353,"satellites":45,"speed":6,"hex_longitude":"2d0e9fc0","hex_latitude":"06e9ebf8","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502862080001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385674246271008768,"note":"Value kept but may cause issues"} 
[2026-08-19 11:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1053912711243102208,"note":"Value kept but may cause issues"} 
[2026-08-19 11:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787120558000,"timestamp_ms":1787120558000,"timestamp_seconds":1787120558,"priority":1,"record_length":96,"hex_timestamp":"000001a018af9fb0"} 
[2026-08-19 11:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:54:05] 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-08-19 11: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-08-19 11:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502862080001,"66":27691,"1":206,"80":6400,"24":6,"16":385674246271008768,"45":1053912711243102208},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-08-19 11:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502862080001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:54:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385674246271008768,"km_value":385674246271008.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1053912711243102208,"description":"Unknown IO ID 45"} 
[2026-08-19 11:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502862080001,"power":27691,"imei":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":1053912711243102208}} 
[2026-08-19 11:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":160081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:54:05] local.INFO: GPS data processed {"connection_id":160081,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:54:05] local.INFO: Acknowledgment sent {"connection_id":160081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:54:09] local.INFO: TCP Data received {"connection_id":158775,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:54:09] local.INFO: Processing buffer {"connection_id":158775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:54:09] local.INFO: IMEI packet received {"connection_id":158775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":158775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:54:14] local.INFO: TCP Data received {"connection_id":158775,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:54:14] local.INFO: Processing buffer {"connection_id":158775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:54:14] local.INFO: IMEI packet received {"connection_id":158775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":158775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:54:15] local.INFO: TCP Data received {"connection_id":158775,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ae6730012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ae6730012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:54:15] local.INFO: Processing buffer {"connection_id":158775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ae6730012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:54:15] local.INFO: Packet analysis {"connection_id":158775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ae"} 
[2026-08-19 11:54:15] local.INFO: Extracted packet for processing {"connection_id":158775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ae"} 
[2026-08-19 11:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502836992001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:54: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-08-19 11:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787120478000,"timestamp_ms":1787120478000,"timestamp_seconds":1787120478,"priority":1,"record_length":96,"hex_timestamp":"000001a018ae6730"} 
[2026-08-19 11:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:54:15] 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-08-19 11:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-19 11:54: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-08-19 11:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502836992001,"66":11363,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502836992001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:54:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:54:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502836992001,"power":11363,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":158775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:54:15] local.INFO: GPS data processed {"connection_id":158775,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:54:15] local.INFO: Acknowledgment sent {"connection_id":158775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:54:36] local.INFO: TCP Data received {"connection_id":160081,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018afa780012d0e9dc006e9ed08001101542d..."} 
[2026-08-19 11:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018afa780012d0e9dc006e9ed08001101542d..."} 
[2026-08-19 11:54:36] local.INFO: Processing buffer {"connection_id":160081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018afa780012d0e9dc006e9ed08001101542d..."} 
[2026-08-19 11:54:36] local.INFO: Packet analysis {"connection_id":160081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018af"} 
[2026-08-19 11:54:36] local.INFO: Extracted packet for processing {"connection_id":160081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018af"} 
[2026-08-19 11:54:36] local.INFO: GPS Element Parsed {"raw_longitude":755932608,"raw_latitude":115993864,"longitude_deg":75.5932608,"latitude_deg":11.5993864,"altitude":17,"angle":340,"satellites":45,"speed":7,"hex_longitude":"2d0e9dc0","hex_latitude":"06e9ed08","is_valid_coordinates":true} 
[2026-08-19 11:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502862848001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385674280630747136,"note":"Value kept but may cause issues"} 
[2026-08-19 11:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1053771973754877952,"note":"Value kept but may cause issues"} 
[2026-08-19 11:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787120560000,"timestamp_ms":1787120560000,"timestamp_seconds":1787120560,"priority":1,"record_length":96,"hex_timestamp":"000001a018afa780"} 
[2026-08-19 11:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:54: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-08-19 11:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-19 11:54:36] 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-08-19 11:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502862848001,"66":27995,"1":206,"80":6400,"24":7,"16":385674280630747136,"45":1053771973754877952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-08-19 11:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502862848001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:54:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385674280630747136,"km_value":385674280630747.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1053771973754877952,"description":"Unknown IO ID 45"} 
[2026-08-19 11:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502862848001,"power":27995,"imei":206,"unknown_80":6400,"ignition":7,"odometer":null,"unknown_45":1053771973754877952}} 
[2026-08-19 11:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":160081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:54:36] local.INFO: GPS data processed {"connection_id":160081,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:54:36] local.INFO: Acknowledgment sent {"connection_id":160081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:54:47] local.INFO: TCP Data received {"connection_id":158775,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018aeb938012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018aeb938012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:54:47] local.INFO: Processing buffer {"connection_id":158775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018aeb938012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:54:47] local.INFO: Packet analysis {"connection_id":158775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ae"} 
[2026-08-19 11:54:47] local.INFO: Extracted packet for processing {"connection_id":158775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ae"} 
[2026-08-19 11:54:47] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502842368001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:54:47] 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-08-19 11:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787120499000,"timestamp_ms":1787120499000,"timestamp_seconds":1787120499,"priority":1,"record_length":96,"hex_timestamp":"000001a018aeb938"} 
[2026-08-19 11:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":44,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-08-19 11:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1309,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502842368001,"66":12374,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502842368001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:54:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:54:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502842368001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":158775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:54:47] local.INFO: GPS data processed {"connection_id":158775,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:54:47] local.INFO: Acknowledgment sent {"connection_id":158775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:54:59] local.INFO: TCP Data received {"connection_id":160082,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:54:59] local.INFO: Processing buffer {"connection_id":160082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:54:59] local.INFO: IMEI packet received {"connection_id":160082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":160082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:55:04] local.INFO: TCP Data received {"connection_id":160082,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:55:04] local.INFO: Processing buffer {"connection_id":160082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:55:04] local.INFO: IMEI packet received {"connection_id":160082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":160082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:55:05] local.INFO: TCP Data received {"connection_id":160082,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018aff988012d0e980006e9f060001901542d..."} 
[2026-08-19 11:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018aff988012d0e980006e9f060001901542d..."} 
[2026-08-19 11:55:05] local.INFO: Processing buffer {"connection_id":160082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018aff988012d0e980006e9f060001901542d..."} 
[2026-08-19 11:55:05] local.INFO: Packet analysis {"connection_id":160082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018af"} 
[2026-08-19 11:55:05] local.INFO: Extracted packet for processing {"connection_id":160082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018af"} 
[2026-08-19 11:55:05] local.INFO: GPS Element Parsed {"raw_longitude":755931136,"raw_latitude":115994720,"longitude_deg":75.5931136,"latitude_deg":11.599472,"altitude":25,"angle":340,"satellites":45,"speed":3,"hex_longitude":"2d0e9800","hex_latitude":"06e9f060","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502863360001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385674362235125760,"note":"Value kept but may cause issues"} 
[2026-08-19 11:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1053209023801526272,"note":"Value kept but may cause issues"} 
[2026-08-19 11:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787120581000,"timestamp_ms":1787120581000,"timestamp_seconds":1787120581,"priority":1,"record_length":96,"hex_timestamp":"000001a018aff988"} 
[2026-08-19 11:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:55: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-08-19 11: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 11:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502863360001,"66":27865,"1":206,"80":6400,"24":3,"16":385674362235125760,"45":1053209023801526272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-08-19 11:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502863360001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:55:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385674362235125760,"km_value":385674362235125.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1053209023801526272,"description":"Unknown IO ID 45"} 
[2026-08-19 11:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502863360001,"power":27865,"imei":206,"unknown_80":6400,"ignition":3,"odometer":null,"unknown_45":1053209023801526272}} 
[2026-08-19 11:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":160082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:55:05] local.INFO: GPS data processed {"connection_id":160082,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:55:05] local.INFO: Acknowledgment sent {"connection_id":160082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:55:09] local.INFO: TCP Data received {"connection_id":160083,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:55:09] local.INFO: Processing buffer {"connection_id":160083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:55:09] local.INFO: IMEI packet received {"connection_id":160083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":160083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:55:14] local.INFO: TCP Data received {"connection_id":160083,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:55:14] local.INFO: Processing buffer {"connection_id":160083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:55:14] local.INFO: IMEI packet received {"connection_id":160083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":160083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:55:15] local.INFO: TCP Data received {"connection_id":160083,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018af0b40012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018af0b40012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:55:15] local.INFO: Processing buffer {"connection_id":160083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018af0b40012d181d400721ad48004e00e32b..."} 
[2026-08-19 11:55:15] local.INFO: Packet analysis {"connection_id":160083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018af"} 
[2026-08-19 11:55:15] local.INFO: Extracted packet for processing {"connection_id":160083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018af"} 
[2026-08-19 11:55:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647560,"longitude_deg":75.6555072,"latitude_deg":11.964756,"altitude":78,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad48","is_valid_coordinates":true} 
[2026-08-19 11:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502847744001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688228276076544,"note":"Value kept but may cause issues"} 
[2026-08-19 11:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608832512,"note":"Value kept but may cause issues"} 
[2026-08-19 11:55: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-08-19 11:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787120520000,"timestamp_ms":1787120520000,"timestamp_seconds":1787120520,"priority":1,"record_length":96,"hex_timestamp":"000001a018af0b40"} 
[2026-08-19 11:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:55:15] 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-08-19 11:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-19 11:55:15] 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-08-19 11:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502847744001,"66":12374,"120":206,"28":31744,"24":0,"16":13688228276076544,"45":1737615430608832512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 11:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502847744001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:55:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 11:55:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688228276076544,"km_value":13688228276076.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608832512,"description":"Unknown IO ID 45"} 
[2026-08-19 11:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502847744001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608832512}} 
[2026-08-19 11:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":160083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:55:16] local.INFO: GPS data processed {"connection_id":160083,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:55:16] local.INFO: Acknowledgment sent {"connection_id":160083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:55:43] local.INFO: TCP Data received {"connection_id":160082,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a018b00158012d0e978006e9f168001901342e..."} 
[2026-08-19 11:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b00158012d0e978006e9f168001901342e..."} 
[2026-08-19 11:55:43] local.INFO: Processing buffer {"connection_id":160082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b00158012d0e978006e9f168001901342e..."} 
[2026-08-19 11:55:43] local.INFO: Packet analysis {"connection_id":160082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b0"} 
[2026-08-19 11:55:43] local.INFO: Extracted packet for processing {"connection_id":160082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b0"} 
[2026-08-19 11:55:43] local.INFO: GPS Element Parsed {"raw_longitude":755931008,"raw_latitude":115994984,"longitude_deg":75.5931008,"latitude_deg":11.5994984,"altitude":25,"angle":308,"satellites":46,"speed":6,"hex_longitude":"2d0e9780","hex_latitude":"06e9f168","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502868736001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385674379414994944,"note":"Value kept but may cause issues"} 
[2026-08-19 11:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1051590542685659136,"note":"Value kept but may cause issues"} 
[2026-08-19 11:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 11:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787120583000,"timestamp_ms":1787120583000,"timestamp_seconds":1787120583,"priority":1,"record_length":96,"hex_timestamp":"000001a018b00158"} 
[2026-08-19 11:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 11:55:43] 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-08-19 11: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-08-19 11:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 11:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 11:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 11:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502868736001,"66":27865,"1":206,"80":6400,"24":6,"16":385674379414994944,"45":1051590542685659136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-08-19 11:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 11:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 11:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502868736001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:55:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 11:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385674379414994944,"km_value":385674379414994.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1051590542685659136,"description":"Unknown IO ID 45"} 
[2026-08-19 11:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502868736001,"power":27865,"imei":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":1051590542685659136}} 
[2026-08-19 11:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":160082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:55:43] local.INFO: GPS data processed {"connection_id":160082,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:55:43] local.INFO: Acknowledgment sent {"connection_id":160082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:55:47] local.INFO: TCP Data received {"connection_id":160083,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b1a350012d183180072197d00051007428..."} 
[2026-08-19 11:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b1a350012d183180072197d00051007428..."} 
[2026-08-19 11:55:47] local.INFO: Processing buffer {"connection_id":160083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b1a350012d183180072197d00051007428..."} 
[2026-08-19 11:55:47] local.INFO: Packet analysis {"connection_id":160083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b1"} 
[2026-08-19 11:55:47] local.INFO: Extracted packet for processing {"connection_id":160083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b1"} 
[2026-08-19 11:55:47] local.INFO: GPS Element Parsed {"raw_longitude":756560256,"raw_latitude":119642064,"longitude_deg":75.6560256,"latitude_deg":11.9642064,"altitude":81,"angle":116,"satellites":40,"speed":23,"hex_longitude":"2d183180","hex_latitude":"072197d0","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502893312001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13688610528165888,"note":"Value kept but may cause issues"} 
[2026-08-19 11:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593026840576,"note":"Value kept but may cause issues"} 
[2026-08-19 11:55: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-08-19 11:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787120690000,"timestamp_ms":1787120690000,"timestamp_seconds":1787120690,"priority":1,"record_length":96,"hex_timestamp":"000001a018b1a350"} 
[2026-08-19 11:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:55:47] 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-08-19 11: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-19 11:55:47] 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-08-19 11: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-08-19 11:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502893312001,"66":14189,"121":206,"28":31744,"24":23,"16":13688610528165888,"45":1738600593026840576},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 11:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502893312001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:55:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 11:55:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13688610528165888,"km_value":13688610528165.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593026840576,"description":"Unknown IO ID 45"} 
[2026-08-19 11:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502893312001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1738600593026840576}} 
[2026-08-19 11:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":160083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:55:47] local.INFO: GPS data processed {"connection_id":160083,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:55:47] local.INFO: Acknowledgment sent {"connection_id":160083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:56:04] local.INFO: TCP Data received {"connection_id":160084,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:56:04] local.INFO: Processing buffer {"connection_id":160084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:56:04] local.INFO: IMEI packet received {"connection_id":160084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 11:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":160084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:56:05] local.INFO: TCP Data received {"connection_id":160084,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:56:05] local.INFO: Processing buffer {"connection_id":160084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:56:05] local.INFO: IMEI packet received {"connection_id":160084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":160084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:56:05] local.INFO: TCP Data received {"connection_id":160084,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:56:05] local.INFO: Processing buffer {"connection_id":160084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:56:05] local.INFO: IMEI packet received {"connection_id":160084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":160084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:56:06] local.INFO: TCP Data received {"connection_id":160084,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:56:06] local.INFO: Processing buffer {"connection_id":160084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 11:56:06] local.INFO: IMEI packet received {"connection_id":160084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 11:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":160084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:56:09] local.INFO: TCP Data received {"connection_id":157904,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:56:09] local.INFO: Processing buffer {"connection_id":157904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:56:09] local.INFO: IMEI packet received {"connection_id":157904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":157904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:56:09] local.INFO: TCP Data received {"connection_id":157904,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:56:09] local.INFO: Processing buffer {"connection_id":157904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:56:09] local.INFO: IMEI packet received {"connection_id":157904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":157904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:56:14] local.INFO: TCP Data received {"connection_id":157904,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:56:14] local.INFO: Processing buffer {"connection_id":157904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:56:14] local.INFO: IMEI packet received {"connection_id":157904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":157904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:56:15] local.INFO: TCP Data received {"connection_id":157904,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b1d618012d185280072189d00052007628..."} 
[2026-08-19 11:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b1d618012d185280072189d00052007628..."} 
[2026-08-19 11:56:15] local.INFO: Processing buffer {"connection_id":157904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b1d618012d185280072189d00052007628..."} 
[2026-08-19 11:56:15] local.INFO: Packet analysis {"connection_id":157904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b1"} 
[2026-08-19 11:56:15] local.INFO: Extracted packet for processing {"connection_id":157904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b1"} 
[2026-08-19 11:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756568704,"raw_latitude":119638480,"longitude_deg":75.6568704,"latitude_deg":11.963848,"altitude":82,"angle":118,"satellites":40,"speed":36,"hex_longitude":"2d185280","hex_latitude":"072189d0","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502896640001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13689048614830080,"note":"Value kept but may cause issues"} 
[2026-08-19 11:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743315298885816320,"note":"Value kept but may cause issues"} 
[2026-08-19 11:56: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-08-19 11:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787120703000,"timestamp_ms":1787120703000,"timestamp_seconds":1787120703,"priority":1,"record_length":96,"hex_timestamp":"000001a018b1d618"} 
[2026-08-19 11:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:56:15] 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-08-19 11: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 11:56:15] 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-08-19 11: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-08-19 11:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502896640001,"66":14004,"121":206,"28":31744,"24":36,"16":13689048614830080,"45":1743315298885816320},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 11:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502896640001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:56:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 11:56:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13689048614830080,"km_value":13689048614830.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743315298885816320,"description":"Unknown IO ID 45"} 
[2026-08-19 11:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502896640001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1743315298885816320}} 
[2026-08-19 11:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":157904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:56:15] local.INFO: GPS data processed {"connection_id":157904,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:56:15] local.INFO: Acknowledgment sent {"connection_id":157904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:56:46] local.INFO: TCP Data received {"connection_id":157904,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b2c460012d18d20007211290004000e029..."} 
[2026-08-19 11:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b2c460012d18d20007211290004000e029..."} 
[2026-08-19 11:56:46] local.INFO: Processing buffer {"connection_id":157904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b2c460012d18d20007211290004000e029..."} 
[2026-08-19 11:56:46] local.INFO: Packet analysis {"connection_id":157904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b2"} 
[2026-08-19 11:56:46] local.INFO: Extracted packet for processing {"connection_id":157904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b2"} 
[2026-08-19 11:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119607952,"longitude_deg":75.6601344,"latitude_deg":11.9607952,"altitude":64,"angle":224,"satellites":41,"speed":8,"hex_longitude":"2d18d200","hex_latitude":"07211290","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502915072001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13691522515992576,"note":"Value kept but may cause issues"} 
[2026-08-19 11:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770127605760,"note":"Value kept but may cause issues"} 
[2026-08-19 11:56: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-08-19 11:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787120764000,"timestamp_ms":1787120764000,"timestamp_seconds":1787120764,"priority":1,"record_length":96,"hex_timestamp":"000001a018b2c460"} 
[2026-08-19 11:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:56:46] 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-08-19 11: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-19 11:56:46] 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-08-19 11: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-08-19 11:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502915072001,"66":14048,"121":206,"28":31744,"24":8,"16":13691522515992576,"45":1788632770127605760},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 11:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502915072001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:56:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 11:56:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13691522515992576,"km_value":13691522515992.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770127605760,"description":"Unknown IO ID 45"} 
[2026-08-19 11:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502915072001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1788632770127605760}} 
[2026-08-19 11:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":157904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:56:46] local.INFO: GPS data processed {"connection_id":157904,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:56:46] local.INFO: Acknowledgment sent {"connection_id":157904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:57:09] local.INFO: TCP Data received {"connection_id":160085,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:57:09] local.INFO: Processing buffer {"connection_id":160085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:57:09] local.INFO: IMEI packet received {"connection_id":160085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":160085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:57:10] local.INFO: TCP Data received {"connection_id":160085,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:57:10] local.INFO: Processing buffer {"connection_id":160085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:57:10] local.INFO: IMEI packet received {"connection_id":160085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":160085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:57:15] local.INFO: TCP Data received {"connection_id":160085,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:57:15] local.INFO: Processing buffer {"connection_id":160085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:57:15] local.INFO: IMEI packet received {"connection_id":160085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":160085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:57:16] local.INFO: TCP Data received {"connection_id":160085,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b2c848012d18d100072112300040010229..."} 
[2026-08-19 11:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b2c848012d18d100072112300040010229..."} 
[2026-08-19 11:57:16] local.INFO: Processing buffer {"connection_id":160085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b2c848012d18d100072112300040010229..."} 
[2026-08-19 11:57:16] local.INFO: Packet analysis {"connection_id":160085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b2"} 
[2026-08-19 11:57:16] local.INFO: Extracted packet for processing {"connection_id":160085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b2"} 
[2026-08-19 11:57:16] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119607856,"longitude_deg":75.6601088,"latitude_deg":11.9607856,"altitude":64,"angle":258,"satellites":41,"speed":7,"hex_longitude":"2d18d100","hex_latitude":"07211230","is_valid_coordinates":true} 
[2026-08-19 11:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502915584001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13691535400894464,"note":"Value kept but may cause issues"} 
[2026-08-19 11:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032639143936,"note":"Value kept but may cause issues"} 
[2026-08-19 11:57: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-08-19 11:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787120765000,"timestamp_ms":1787120765000,"timestamp_seconds":1787120765,"priority":1,"record_length":96,"hex_timestamp":"000001a018b2c848"} 
[2026-08-19 11:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:57: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-08-19 11:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 11:57: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-08-19 11:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502915584001,"66":14048,"121":206,"28":31744,"24":7,"16":13691535400894464,"45":1788492032639143936},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 11:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502915584001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:57:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 11:57:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13691535400894464,"km_value":13691535400894.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032639143936,"description":"Unknown IO ID 45"} 
[2026-08-19 11:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502915584001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1788492032639143936}} 
[2026-08-19 11:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":160085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:57:17] local.INFO: GPS data processed {"connection_id":160085,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:57:17] local.INFO: Acknowledgment sent {"connection_id":160085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:57:48] local.INFO: TCP Data received {"connection_id":160085,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b2d018012d18cf40072112300040011129..."} 
[2026-08-19 11:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b2d018012d18cf40072112300040011129..."} 
[2026-08-19 11:57:48] local.INFO: Processing buffer {"connection_id":160085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b2d018012d18cf40072112300040011129..."} 
[2026-08-19 11:57:48] local.INFO: Packet analysis {"connection_id":160085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b2"} 
[2026-08-19 11:57:48] local.INFO: Extracted packet for processing {"connection_id":160085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b2"} 
[2026-08-19 11:57:48] local.INFO: GPS Element Parsed {"raw_longitude":756600640,"raw_latitude":119607856,"longitude_deg":75.660064,"latitude_deg":11.9607856,"altitude":64,"angle":273,"satellites":41,"speed":9,"hex_longitude":"2d18cf40","hex_latitude":"07211230","is_valid_coordinates":true} 
[2026-08-19 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-08-19 11:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502915840001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13691556875730944,"note":"Value kept but may cause issues"} 
[2026-08-19 11:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557662408704,"note":"Value kept but may cause issues"} 
[2026-08-19 11:57: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-08-19 11:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787120767000,"timestamp_ms":1787120767000,"timestamp_seconds":1787120767,"priority":1,"record_length":96,"hex_timestamp":"000001a018b2d018"} 
[2026-08-19 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-08-19 11:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 11:57:48] 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-08-19 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-08-19 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-08-19 11:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502915840001,"66":13722,"121":206,"28":31744,"24":9,"16":13691556875730944,"45":1788210557662408704},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 11:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502915840001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:57:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 11:57:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13691556875730944,"km_value":13691556875730.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557662408704,"description":"Unknown IO ID 45"} 
[2026-08-19 11:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502915840001,"power":13722,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1788210557662408704}} 
[2026-08-19 11:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":160085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:57:48] local.INFO: GPS data processed {"connection_id":160085,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:57:48] local.INFO: Acknowledgment sent {"connection_id":160085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:58:09] local.INFO: TCP Data received {"connection_id":157905,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:58:09] local.INFO: Processing buffer {"connection_id":157905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:58:09] local.INFO: IMEI packet received {"connection_id":157905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":157905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:58:14] local.INFO: TCP Data received {"connection_id":157905,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:58:14] local.INFO: Processing buffer {"connection_id":157905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:58:14] local.INFO: IMEI packet received {"connection_id":157905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":157905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:58:15] local.INFO: TCP Data received {"connection_id":157905,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b3d1e8012d188f4007210b680043014526..."} 
[2026-08-19 11:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b3d1e8012d188f4007210b680043014526..."} 
[2026-08-19 11:58:15] local.INFO: Processing buffer {"connection_id":157905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b3d1e8012d188f4007210b680043014526..."} 
[2026-08-19 11:58:15] local.INFO: Packet analysis {"connection_id":157905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b3"} 
[2026-08-19 11:58:15] local.INFO: Extracted packet for processing {"connection_id":157905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b3"} 
[2026-08-19 11:58:15] local.INFO: GPS Element Parsed {"raw_longitude":756584256,"raw_latitude":119606120,"longitude_deg":75.6584256,"latitude_deg":11.960612,"altitude":67,"angle":325,"satellites":38,"speed":4,"hex_longitude":"2d188f40","hex_latitude":"07210b68","is_valid_coordinates":true} 
[2026-08-19 11:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 11:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502932992001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13692428754092032,"note":"Value kept but may cause issues"} 
[2026-08-19 11:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769773946687391744,"note":"Value kept but may cause issues"} 
[2026-08-19 11:58: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-08-19 11:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787120833000,"timestamp_ms":1787120833000,"timestamp_seconds":1787120833,"priority":1,"record_length":96,"hex_timestamp":"000001a018b3d1e8"} 
[2026-08-19 11:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:58:15] 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-08-19 11:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 11:58:15] 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-08-19 11:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 11:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502932992001,"66":13993,"121":206,"28":31744,"24":4,"16":13692428754092032,"45":1769773946687391744},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 11:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502932992001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:58:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 11:58:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13692428754092032,"km_value":13692428754092.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769773946687391744,"description":"Unknown IO ID 45"} 
[2026-08-19 11:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502932992001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1769773946687391744}} 
[2026-08-19 11:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":157905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:58:15] local.INFO: GPS data processed {"connection_id":157905,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:58:15] local.INFO: Acknowledgment sent {"connection_id":157905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:58:47] local.INFO: TCP Data received {"connection_id":157905,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b3d5d0012d188f4007210bb00043013627..."} 
[2026-08-19 11:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b3d5d0012d188f4007210bb00043013627..."} 
[2026-08-19 11:58:47] local.INFO: Processing buffer {"connection_id":157905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b3d5d0012d188f4007210bb00043013627..."} 
[2026-08-19 11:58:47] local.INFO: Packet analysis {"connection_id":157905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b3"} 
[2026-08-19 11:58:47] local.INFO: Extracted packet for processing {"connection_id":157905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b3"} 
[2026-08-19 11:58:47] local.INFO: GPS Element Parsed {"raw_longitude":756584256,"raw_latitude":119606192,"longitude_deg":75.6584256,"latitude_deg":11.9606192,"altitude":67,"angle":310,"satellites":39,"speed":3,"hex_longitude":"2d188f40","hex_latitude":"07210bb0","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502933248001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13692433049059328,"note":"Value kept but may cause issues"} 
[2026-08-19 11:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769703577943238656,"note":"Value kept but may cause issues"} 
[2026-08-19 11:58: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-08-19 11:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787120834000,"timestamp_ms":1787120834000,"timestamp_seconds":1787120834,"priority":1,"record_length":96,"hex_timestamp":"000001a018b3d5d0"} 
[2026-08-19 11:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:58:47] 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-08-19 11: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 11:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 11: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-08-19 11:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502933248001,"66":14276,"121":206,"28":31744,"24":3,"16":13692433049059328,"45":1769703577943238656},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 11:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502933248001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:58:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 11:58:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13692433049059328,"km_value":13692433049059.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769703577943238656,"description":"Unknown IO ID 45"} 
[2026-08-19 11:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502933248001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1769703577943238656}} 
[2026-08-19 11:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":157905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:58:47] local.INFO: GPS data processed {"connection_id":157905,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:58:47] local.INFO: Acknowledgment sent {"connection_id":157905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:59:09] local.INFO: TCP Data received {"connection_id":157906,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:59:09] local.INFO: Processing buffer {"connection_id":157906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:59:09] local.INFO: IMEI packet received {"connection_id":157906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 11:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":157906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 11:59:14] local.INFO: TCP Data received {"connection_id":157906,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:59:14] local.INFO: Processing buffer {"connection_id":157906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 11:59:14] local.INFO: IMEI packet received {"connection_id":157906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 11:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":157906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 11:59:15] local.INFO: TCP Data received {"connection_id":157906,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b4d7a0012d18d040072112800044004f27..."} 
[2026-08-19 11:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b4d7a0012d18d040072112800044004f27..."} 
[2026-08-19 11:59:15] local.INFO: Processing buffer {"connection_id":157906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b4d7a0012d18d040072112800044004f27..."} 
[2026-08-19 11:59:15] local.INFO: Packet analysis {"connection_id":157906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b4"} 
[2026-08-19 11:59:15] local.INFO: Extracted packet for processing {"connection_id":157906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b4"} 
[2026-08-19 11:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756600896,"raw_latitude":119607936,"longitude_deg":75.6600896,"latitude_deg":11.9607936,"altitude":68,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d18d040","hex_latitude":"07211280","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502945024001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13693300632453120,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787717976453165056,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59: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-08-19 11:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787120900000,"timestamp_ms":1787120900000,"timestamp_seconds":1787120900,"priority":1,"record_length":96,"hex_timestamp":"000001a018b4d7a0"} 
[2026-08-19 11:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 11:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6980940789,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:15] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503808558170112,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84750973670990093,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:15] local.WARNING: Large IO value detected {"io_id":160,"raw_value":18860353119062272,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 11:59:15] local.WARNING: Large IO value detected {"io_id":144,"raw_value":2147950865,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:15] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951591,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:15] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2772697088,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:15] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,165,160,67,45,64,20,41,10,66,192,19,68,42,12,1,240,33,4,113,205,13,144,72,239,54,2,48,7,8,206],"length":529,"final_offset":659,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 11:59:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4827945829463818240,"timestamp_seconds":4827945829463818.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 11:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502945024001,"66":13330,"121":206,"28":31744,"24":0,"16":13693300632453120,"45":1787717976453165056},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 11:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502945024001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:59:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 11:59:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13693300632453120,"km_value":13693300632453.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787717976453165056,"description":"Unknown IO ID 45"} 
[2026-08-19 11:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502945024001,"power":13330,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787717976453165056}} 
[2026-08-19 11:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":157906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:59:15] local.INFO: GPS data processed {"connection_id":157906,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:59:15] local.INFO: Acknowledgment sent {"connection_id":157906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 11:59:46] local.INFO: TCP Data received {"connection_id":157906,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b4eb28012d18d0c0072113400044002626..."} 
[2026-08-19 11:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b4eb28012d18d0c0072113400044002626..."} 
[2026-08-19 11:59:46] local.INFO: Processing buffer {"connection_id":157906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b4eb28012d18d0c0072113400044002626..."} 
[2026-08-19 11:59:46] local.INFO: Packet analysis {"connection_id":157906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b4"} 
[2026-08-19 11:59:46] local.INFO: Extracted packet for processing {"connection_id":157906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b4"} 
[2026-08-19 11:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119608128,"longitude_deg":75.6601024,"latitude_deg":11.9608128,"altitude":68,"angle":38,"satellites":38,"speed":3,"hex_longitude":"2d18d0c0","hex_latitude":"07211340","is_valid_coordinates":true} 
[2026-08-19 11: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-08-19 11:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502950400001,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13693313517355008,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787999451429896192,"note":"Value kept but may cause issues"} 
[2026-08-19 11: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-08-19 11:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787120905000,"timestamp_ms":1787120905000,"timestamp_seconds":1787120905,"priority":1,"record_length":96,"hex_timestamp":"000001a018b4eb28"} 
[2026-08-19 11:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 11:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 11: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":18,"data_length":795,"current_offset":136} 
[2026-08-19 11:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:46] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3020718081,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249505186063912352,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":1112389395723724800,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 11:59:46] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:46] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2772893696,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:46] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951591,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:46] local.WARNING: Large IO value detected {"io_id":180,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:46] local.WARNING: Large IO value detected {"io_id":179,"raw_value":-225178688171294713,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:46] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:46] local.WARNING: Large IO value detected {"io_id":69,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 11:59:46] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,165,160,133,45,64,18,67,39,10,66,20,41,192,1,240,12,33,4,113,205,14,8,145,48,42,239,54,2,7,11,180,179,231,69],"length":626,"final_offset":756,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 11:59:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900003423501418496,"timestamp_seconds":4900003423501418.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 11:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 11:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 11:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 11:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 11:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 11:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 11:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 11:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502950400001,"66":14363,"121":206,"28":31744,"24":3,"16":13693313517355008,"45":1787999451429896192},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 11:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 11:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 11:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502950400001,"description":"Unknown IO ID 0"} 
[2026-08-19 11:59:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 11:59:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 11:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13693313517355008,"km_value":13693313517355.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 11:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787999451429896192,"description":"Unknown IO ID 45"} 
[2026-08-19 11:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502950400001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1787999451429896192}} 
[2026-08-19 11:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":157906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 11:59:46] local.INFO: GPS data processed {"connection_id":157906,"processed":1,"errors":0,"total":1} 
[2026-08-19 11:59:46] local.INFO: Acknowledgment sent {"connection_id":157906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:00:13] local.INFO: TCP Data received {"connection_id":158777,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:00:13] local.INFO: Processing buffer {"connection_id":158777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:00:13] local.INFO: IMEI packet received {"connection_id":158777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":158777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:00:14] local.INFO: TCP Data received {"connection_id":158777,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:00:14] local.INFO: Processing buffer {"connection_id":158777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:00:14] local.INFO: IMEI packet received {"connection_id":158777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":158777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:00:18] local.INFO: TCP Data received {"connection_id":158777,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:00:18] local.INFO: Processing buffer {"connection_id":158777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:00:18] local.INFO: IMEI packet received {"connection_id":158777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":158777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:00:20] local.INFO: TCP Data received {"connection_id":158777,"ip":"117.224.158.208","data_length":1360,"data_hex":"000000000000030f8e0a000001a018b5b260012d187e00072181b8004e011326..."} 
[2026-08-19 12:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158777,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a018b5b260012d187e00072181b8004e011326..."} 
[2026-08-19 12:00:20] local.INFO: Processing buffer {"connection_id":158777,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a018b5b260012d187e00072181b8004e011326..."} 
[2026-08-19 12:00:20] local.INFO: Packet analysis {"connection_id":158777,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a018b5"} 
[2026-08-19 12:00:20] local.INFO: Extracted packet for processing {"connection_id":158777,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a018b5"} 
[2026-08-19 12:00:20] local.INFO: GPS Element Parsed {"raw_longitude":756579840,"raw_latitude":119636408,"longitude_deg":75.657984,"latitude_deg":11.9636408,"altitude":78,"angle":275,"satellites":38,"speed":38,"hex_longitude":"2d187e00","hex_latitude":"072181b8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 12:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502962432001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13695207597932544,"note":"Value kept but may cause issues"} 
[2026-08-19 12:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774488652554330112,"note":"Value kept but may cause issues"} 
[2026-08-19 12:00:20] 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-08-19 12:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787120956000,"timestamp_ms":1787120956000,"timestamp_seconds":1787120956,"priority":1,"record_length":96,"hex_timestamp":"000001a018b5b260"} 
[2026-08-19 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-08-19 12:00: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-08-19 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-19 12:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 12:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502962432001,"66":14102,"120":206,"28":31744,"24":38,"16":13695207597932544,"45":1774488652554330112},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502962432001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:00:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:00:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13695207597932544,"km_value":13695207597932.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774488652554330112,"description":"Unknown IO ID 45"} 
[2026-08-19 12:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502962432001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1774488652554330112}} 
[2026-08-19 12:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":158777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:00:20] local.INFO: GPS data processed {"connection_id":158777,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:00:20] local.INFO: Acknowledgment sent {"connection_id":158777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:00:20] local.INFO: Packet analysis {"connection_id":158777,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a018b5"} 
[2026-08-19 12:00:20] local.INFO: Incomplete packet, waiting for more data {"connection_id":158777,"needed":795,"available":565} 
[2026-08-19 12:00:20] local.INFO: TCP Data received {"connection_id":158777,"ip":"117.224.158.208","data_length":230,"data_hex":"2d18cf4007212b480046014d28001d0000000a000400ef0100714400f0010045..."} 
[2026-08-19 12:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158777,"packet_length":230,"packet_hex":"2d18cf4007212b480046014d28001d0000000a000400ef0100714400f0010045..."} 
[2026-08-19 12:00:20] local.INFO: Processing buffer {"connection_id":158777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b5b260012d187e00072181b8004e011326..."} 
[2026-08-19 12:00:20] local.INFO: Packet analysis {"connection_id":158777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b5"} 
[2026-08-19 12:00:20] local.INFO: Extracted packet for processing {"connection_id":158777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b5"} 
[2026-08-19 12:00:20] local.INFO: GPS Element Parsed {"raw_longitude":756579840,"raw_latitude":119636408,"longitude_deg":75.657984,"latitude_deg":11.9636408,"altitude":78,"angle":275,"satellites":38,"speed":38,"hex_longitude":"2d187e00","hex_latitude":"072181b8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 12:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502964736001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13695207597932544,"note":"Value kept but may cause issues"} 
[2026-08-19 12:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764848134602733568,"note":"Value kept but may cause issues"} 
[2026-08-19 12:00:20] 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-08-19 12:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787120956000,"timestamp_ms":1787120956000,"timestamp_seconds":1787120956,"priority":1,"record_length":96,"hex_timestamp":"000001a018b5b260"} 
[2026-08-19 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-08-19 12:00: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-08-19 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-19 12:00:20] 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-08-19 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-08-19 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-08-19 12:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502964736001,"66":14102,"120":206,"28":31744,"24":38,"16":13695207597932544,"45":1764848134602733568},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502964736001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:00:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:00:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13695207597932544,"km_value":13695207597932.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764848134602733568,"description":"Unknown IO ID 45"} 
[2026-08-19 12:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502964736001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1764848134602733568}} 
[2026-08-19 12:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":158777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:00:21] local.INFO: GPS data processed {"connection_id":158777,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:00:21] local.INFO: Acknowledgment sent {"connection_id":158777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:00:22] local.INFO: TCP Data received {"connection_id":158777,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b5be18012d18734007218168004e010727..."} 
[2026-08-19 12:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b5be18012d18734007218168004e010727..."} 
[2026-08-19 12:00:22] local.INFO: Processing buffer {"connection_id":158777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b5be18012d18734007218168004e010727..."} 
[2026-08-19 12:00:22] local.INFO: Packet analysis {"connection_id":158777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b5"} 
[2026-08-19 12:00:22] local.INFO: Extracted packet for processing {"connection_id":158777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b5"} 
[2026-08-19 12:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756577088,"raw_latitude":119636328,"longitude_deg":75.6577088,"latitude_deg":11.9636328,"altitude":78,"angle":263,"satellites":39,"speed":34,"hex_longitude":"2d187340","hex_latitude":"07218168","is_valid_coordinates":true} 
[2026-08-19 12:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502964736001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13695336446951424,"note":"Value kept but may cause issues"} 
[2026-08-19 12:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764848134602733568,"note":"Value kept but may cause issues"} 
[2026-08-19 12:00:22] 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-08-19 12:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787120959000,"timestamp_ms":1787120959000,"timestamp_seconds":1787120959,"priority":1,"record_length":96,"hex_timestamp":"000001a018b5be18"} 
[2026-08-19 12:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-19 12:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502964736001,"66":14070,"120":206,"28":31744,"24":34,"16":13695336446951424,"45":1764848134602733568},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502964736001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:00:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:00:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13695336446951424,"km_value":13695336446951.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764848134602733568,"description":"Unknown IO ID 45"} 
[2026-08-19 12:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502964736001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1764848134602733568}} 
[2026-08-19 12:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":158777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:00:22] local.INFO: GPS data processed {"connection_id":158777,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:00:22] local.INFO: Acknowledgment sent {"connection_id":158777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:00:54] local.INFO: TCP Data received {"connection_id":158777,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b5cdb8012d18650007218148004d011827..."} 
[2026-08-19 12:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b5cdb8012d18650007218148004d011827..."} 
[2026-08-19 12:00:54] local.INFO: Processing buffer {"connection_id":158777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b5cdb8012d18650007218148004d011827..."} 
[2026-08-19 12:00:54] local.INFO: Packet analysis {"connection_id":158777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b5"} 
[2026-08-19 12:00:54] local.INFO: Extracted packet for processing {"connection_id":158777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b5"} 
[2026-08-19 12:00:54] local.INFO: GPS Element Parsed {"raw_longitude":756573440,"raw_latitude":119636296,"longitude_deg":75.657344,"latitude_deg":11.9636296,"altitude":77,"angle":280,"satellites":39,"speed":37,"hex_longitude":"2d186500","hex_latitude":"07218148","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502965504001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13695512540610560,"note":"Value kept but may cause issues"} 
[2026-08-19 12:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761822278603073536,"note":"Value kept but may cause issues"} 
[2026-08-19 12:00:54] 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-08-19 12:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787120963000,"timestamp_ms":1787120963000,"timestamp_seconds":1787120963,"priority":1,"record_length":96,"hex_timestamp":"000001a018b5cdb8"} 
[2026-08-19 12:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:00: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-08-19 12: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-19 12:00:54] 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-08-19 12: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-08-19 12:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":158777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":158777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":158777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502965504001,"66":14374,"120":206,"28":31744,"24":37,"16":13695512540610560,"45":1761822278603073536},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502965504001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:00:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:00:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13695512540610560,"km_value":13695512540610.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761822278603073536,"description":"Unknown IO ID 45"} 
[2026-08-19 12:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502965504001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1761822278603073536}} 
[2026-08-19 12:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":158777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:00:54] local.INFO: GPS data processed {"connection_id":158777,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:00:54] local.INFO: Acknowledgment sent {"connection_id":158777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:01:09] local.INFO: TCP Data received {"connection_id":157530,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:01:09] local.INFO: Processing buffer {"connection_id":157530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:01:09] local.INFO: IMEI packet received {"connection_id":157530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":157530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:01:14] local.INFO: TCP Data received {"connection_id":157530,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:01:14] local.INFO: Processing buffer {"connection_id":157530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:01:14] local.INFO: IMEI packet received {"connection_id":157530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":157530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:01:15] local.INFO: TCP Data received {"connection_id":157530,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b5d588012d185d80072183b8004d012427..."} 
[2026-08-19 12:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b5d588012d185d80072183b8004d012427..."} 
[2026-08-19 12:01:15] local.INFO: Processing buffer {"connection_id":157530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b5d588012d185d80072183b8004d012427..."} 
[2026-08-19 12:01:15] local.INFO: Packet analysis {"connection_id":157530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b5"} 
[2026-08-19 12:01:15] local.INFO: Extracted packet for processing {"connection_id":157530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b5"} 
[2026-08-19 12:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756571520,"raw_latitude":119636920,"longitude_deg":75.657152,"latitude_deg":11.963692,"altitude":77,"angle":292,"satellites":39,"speed":40,"hex_longitude":"2d185d80","hex_latitude":"072183b8","is_valid_coordinates":true} 
[2026-08-19 12:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502966528001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13695607029891072,"note":"Value kept but may cause issues"} 
[2026-08-19 12:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757811260184938496,"note":"Value kept but may cause issues"} 
[2026-08-19 12:01: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-08-19 12:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787120965000,"timestamp_ms":1787120965000,"timestamp_seconds":1787120965,"priority":1,"record_length":96,"hex_timestamp":"000001a018b5d588"} 
[2026-08-19 12:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 12:01:15] 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-08-19 12:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502966528001,"66":13678,"120":206,"28":31744,"24":40,"16":13695607029891072,"45":1757811260184938496},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502966528001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:01:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:01:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13695607029891072,"km_value":13695607029891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757811260184938496,"description":"Unknown IO ID 45"} 
[2026-08-19 12:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502966528001,"power":13678,"unknown_120":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1757811260184938496}} 
[2026-08-19 12:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":157530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:01:15] local.INFO: GPS data processed {"connection_id":157530,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:01:15] local.INFO: Acknowledgment sent {"connection_id":157530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:01:47] local.INFO: TCP Data received {"connection_id":157530,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b5fc98012d183c00072192e0004c012228..."} 
[2026-08-19 12:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b5fc98012d183c00072192e0004c012228..."} 
[2026-08-19 12:01:47] local.INFO: Processing buffer {"connection_id":157530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b5fc98012d183c00072192e0004c012228..."} 
[2026-08-19 12:01:47] local.INFO: Packet analysis {"connection_id":157530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b5"} 
[2026-08-19 12:01:47] local.INFO: Extracted packet for processing {"connection_id":157530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b5"} 
[2026-08-19 12:01:47] local.INFO: GPS Element Parsed {"raw_longitude":756562944,"raw_latitude":119640800,"longitude_deg":75.6562944,"latitude_deg":11.96408,"altitude":76,"angle":290,"satellites":40,"speed":30,"hex_longitude":"2d183c00","hex_latitude":"072192e0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502967040001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696053706489856,"note":"Value kept but may cause issues"} 
[2026-08-19 12:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755700197859768320,"note":"Value kept but may cause issues"} 
[2026-08-19 12:01:47] 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-08-19 12:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787120975000,"timestamp_ms":1787120975000,"timestamp_seconds":1787120975,"priority":1,"record_length":96,"hex_timestamp":"000001a018b5fc98"} 
[2026-08-19 12:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:01:47] 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-08-19 12: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-19 12:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502967040001,"66":14048,"120":206,"28":31744,"24":30,"16":13696053706489856,"45":1755700197859768320},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502967040001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:01:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:01:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696053706489856,"km_value":13696053706489.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755700197859768320,"description":"Unknown IO ID 45"} 
[2026-08-19 12:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502967040001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1755700197859768320}} 
[2026-08-19 12:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":157530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:01:47] local.INFO: GPS data processed {"connection_id":157530,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:01:47] local.INFO: Acknowledgment sent {"connection_id":157530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:02:09] local.INFO: TCP Data received {"connection_id":160086,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:02:09] local.INFO: Processing buffer {"connection_id":160086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:02:09] local.INFO: IMEI packet received {"connection_id":160086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":160086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:02:12] local.INFO: TCP Data received {"connection_id":160086,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:02:12] local.INFO: Processing buffer {"connection_id":160086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:02:12] local.INFO: IMEI packet received {"connection_id":160086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":160086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:02:13] local.INFO: TCP Data received {"connection_id":160086,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b75070012d181f400721adb8004f00232a..."} 
[2026-08-19 12:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b75070012d181f400721adb8004f00232a..."} 
[2026-08-19 12:02:13] local.INFO: Processing buffer {"connection_id":160086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b75070012d181f400721adb8004f00232a..."} 
[2026-08-19 12:02:13] local.INFO: Packet analysis {"connection_id":160086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b7"} 
[2026-08-19 12:02:13] local.INFO: Extracted packet for processing {"connection_id":160086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b7"} 
[2026-08-19 12:02:13] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119647672,"longitude_deg":75.6555584,"latitude_deg":11.9647672,"altitude":79,"angle":35,"satellites":42,"speed":16,"hex_longitude":"2d181f40","hex_latitude":"0721adb8","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502991104001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696607757271040,"note":"Value kept but may cause issues"} 
[2026-08-19 12:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864456192,"note":"Value kept but may cause issues"} 
[2026-08-19 12:02:13] 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-08-19 12:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787121062000,"timestamp_ms":1787121062000,"timestamp_seconds":1787121062,"priority":1,"record_length":96,"hex_timestamp":"000001a018b75070"} 
[2026-08-19 12:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:02: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-08-19 12: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 12:02:13] 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-08-19 12: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-08-19 12:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502991104001,"66":13222,"120":206,"28":31744,"24":16,"16":13696607757271040,"45":1737545061864456192},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502991104001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:02:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:02:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696607757271040,"km_value":13696607757271.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864456192,"description":"Unknown IO ID 45"} 
[2026-08-19 12:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502991104001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1737545061864456192}} 
[2026-08-19 12:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":160086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:02:13] local.INFO: GPS data processed {"connection_id":160086,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:02:13] local.INFO: Acknowledgment sent {"connection_id":160086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:02:45] local.INFO: TCP Data received {"connection_id":160086,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b77780012d1828000721ba98004f00152a..."} 
[2026-08-19 12:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b77780012d1828000721ba98004f00152a..."} 
[2026-08-19 12:02:45] local.INFO: Processing buffer {"connection_id":160086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b77780012d1828000721ba98004f00152a..."} 
[2026-08-19 12:02:45] local.INFO: Packet analysis {"connection_id":160086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b7"} 
[2026-08-19 12:02:45] local.INFO: Extracted packet for processing {"connection_id":160086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b7"} 
[2026-08-19 12:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756557824,"raw_latitude":119650968,"longitude_deg":75.6557824,"latitude_deg":11.9650968,"altitude":79,"angle":21,"satellites":42,"speed":11,"hex_longitude":"2d182800","hex_latitude":"0721ba98","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502991872001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696801030799360,"note":"Value kept but may cause issues"} 
[2026-08-19 12:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562282496,"note":"Value kept but may cause issues"} 
[2026-08-19 12:02:45] 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-08-19 12:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787121072000,"timestamp_ms":1787121072000,"timestamp_seconds":1787121072,"priority":1,"record_length":96,"hex_timestamp":"000001a018b77780"} 
[2026-08-19 12:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:02: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-08-19 12: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 12:02:45] 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-08-19 12: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-08-19 12:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502991872001,"66":13298,"120":206,"28":31744,"24":11,"16":13696801030799360,"45":1738178380562282496},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502991872001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:02:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:02:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696801030799360,"km_value":13696801030799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562282496,"description":"Unknown IO ID 45"} 
[2026-08-19 12:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502991872001,"power":13298,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1738178380562282496}} 
[2026-08-19 12:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":160086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:02:45] local.INFO: GPS data processed {"connection_id":160086,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:02:45] local.INFO: Acknowledgment sent {"connection_id":160086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:03:09] local.INFO: TCP Data received {"connection_id":157531,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:03:09] local.INFO: Processing buffer {"connection_id":157531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:03:09] local.INFO: IMEI packet received {"connection_id":157531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":157531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:03:14] local.INFO: TCP Data received {"connection_id":157531,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:03:14] local.INFO: Processing buffer {"connection_id":157531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:03:14] local.INFO: IMEI packet received {"connection_id":157531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":157531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:03:15] local.INFO: TCP Data received {"connection_id":157531,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b77b68012d1828800721bb78004f01652a..."} 
[2026-08-19 12:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b77b68012d1828800721bb78004f01652a..."} 
[2026-08-19 12:03:15] local.INFO: Processing buffer {"connection_id":157531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b77b68012d1828800721bb78004f01652a..."} 
[2026-08-19 12:03:15] local.INFO: Packet analysis {"connection_id":157531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b7"} 
[2026-08-19 12:03:15] local.INFO: Extracted packet for processing {"connection_id":157531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b7"} 
[2026-08-19 12:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119651192,"longitude_deg":75.6557952,"latitude_deg":11.9651192,"altitude":79,"angle":357,"satellites":42,"speed":7,"hex_longitude":"2d182880","hex_latitude":"0721bb78","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502994432001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696813915701248,"note":"Value kept but may cause issues"} 
[2026-08-19 12:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740641286609344512,"note":"Value kept but may cause issues"} 
[2026-08-19 12:03: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-08-19 12:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787121073000,"timestamp_ms":1787121073000,"timestamp_seconds":1787121073,"priority":1,"record_length":96,"hex_timestamp":"000001a018b77b68"} 
[2026-08-19 12:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-19 12:03:15] 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-08-19 12: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-08-19 12:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502994432001,"66":13298,"120":206,"28":31744,"24":7,"16":13696813915701248,"45":1740641286609344512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502994432001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:03:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:03:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696813915701248,"km_value":13696813915701.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740641286609344512,"description":"Unknown IO ID 45"} 
[2026-08-19 12:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502994432001,"power":13298,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1740641286609344512}} 
[2026-08-19 12:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":157531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:03:15] local.INFO: GPS data processed {"connection_id":157531,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:03:15] local.INFO: Acknowledgment sent {"connection_id":157531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:03:47] local.INFO: TCP Data received {"connection_id":157531,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b7cd70012d1826800721ba70005001652c..."} 
[2026-08-19 12:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b7cd70012d1826800721ba70005001652c..."} 
[2026-08-19 12:03:47] local.INFO: Processing buffer {"connection_id":157531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b7cd70012d1826800721ba70005001652c..."} 
[2026-08-19 12:03:47] local.INFO: Packet analysis {"connection_id":157531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b7"} 
[2026-08-19 12:03:47] local.INFO: Extracted packet for processing {"connection_id":157531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b7"} 
[2026-08-19 12:03:47] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119650928,"longitude_deg":75.655744,"latitude_deg":11.9650928,"altitude":80,"angle":357,"satellites":44,"speed":4,"hex_longitude":"2d182680","hex_latitude":"0721ba70","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457502994688001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696861160341504,"note":"Value kept but may cause issues"} 
[2026-08-19 12:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024097757184,"note":"Value kept but may cause issues"} 
[2026-08-19 12:03:47] 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-08-19 12:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787121094000,"timestamp_ms":1787121094000,"timestamp_seconds":1787121094,"priority":1,"record_length":96,"hex_timestamp":"000001a018b7cd70"} 
[2026-08-19 12:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:03:47] 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-08-19 12: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-19 12:03:47] 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-08-19 12: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-08-19 12:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457502994688001,"66":13276,"120":206,"28":31744,"24":4,"16":13696861160341504,"45":1740782024097757184},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457502994688001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:03:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:03:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696861160341504,"km_value":13696861160341.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740782024097757184,"description":"Unknown IO ID 45"} 
[2026-08-19 12:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457502994688001,"power":13276,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1740782024097757184}} 
[2026-08-19 12:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":157531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:03:47] local.INFO: GPS data processed {"connection_id":157531,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:03:47] local.INFO: Acknowledgment sent {"connection_id":157531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:04:09] local.INFO: TCP Data received {"connection_id":158778,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:04:09] local.INFO: Processing buffer {"connection_id":158778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:04:09] local.INFO: IMEI packet received {"connection_id":158778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":158778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:04:14] local.INFO: TCP Data received {"connection_id":158778,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:04:14] local.INFO: Processing buffer {"connection_id":158778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:04:14] local.INFO: IMEI packet received {"connection_id":158778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":158778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:04:15] local.INFO: TCP Data received {"connection_id":158778,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b81f78012d1825c00721b8f00050016529..."} 
[2026-08-19 12:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b81f78012d1825c00721b8f00050016529..."} 
[2026-08-19 12:04:15] local.INFO: Processing buffer {"connection_id":158778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b81f78012d1825c00721b8f00050016529..."} 
[2026-08-19 12:04:15] local.INFO: Packet analysis {"connection_id":158778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b8"} 
[2026-08-19 12:04:15] local.INFO: Extracted packet for processing {"connection_id":158778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b8"} 
[2026-08-19 12:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650544,"longitude_deg":75.6557248,"latitude_deg":11.9650544,"altitude":80,"angle":357,"satellites":41,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b8f0","is_valid_coordinates":true} 
[2026-08-19 12:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503000064001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696882635177984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144268288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:04: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-08-19 12:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787121115000,"timestamp_ms":1787121115000,"timestamp_seconds":1787121115,"priority":1,"record_length":96,"hex_timestamp":"000001a018b81f78"} 
[2026-08-19 12:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-19 12:04:15] 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-08-19 12:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503000064001,"66":13243,"120":206,"28":31744,"24":0,"16":13696882635177984,"45":1740219074144268288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503000064001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:04:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:04:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696882635177984,"km_value":13696882635177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144268288,"description":"Unknown IO ID 45"} 
[2026-08-19 12:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503000064001,"power":13243,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740219074144268288}} 
[2026-08-19 12:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":158778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:04:15] local.INFO: GPS data processed {"connection_id":158778,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:04:15] local.INFO: Acknowledgment sent {"connection_id":158778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:04:24] local.INFO: TCP Data received {"connection_id":158779,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:04:24] local.INFO: Processing buffer {"connection_id":158779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:04:24] local.INFO: IMEI packet received {"connection_id":158779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":158779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:04:30] local.INFO: TCP Data received {"connection_id":158779,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:04:30] local.INFO: Processing buffer {"connection_id":158779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:04:30] local.INFO: IMEI packet received {"connection_id":158779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":158779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:04:31] local.INFO: TCP Data received {"connection_id":158779,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:04:31] local.INFO: Processing buffer {"connection_id":158779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:04:31] local.INFO: IMEI packet received {"connection_id":158779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":158779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:04:32] local.INFO: TCP Data received {"connection_id":158779,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018b95028012d0c4fc006ed1330000e00082e..."} 
[2026-08-19 12:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b95028012d0c4fc006ed1330000e00082e..."} 
[2026-08-19 12:04:32] local.INFO: Processing buffer {"connection_id":158779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b95028012d0c4fc006ed1330000e00082e..."} 
[2026-08-19 12:04:32] local.INFO: Packet analysis {"connection_id":158779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b9"} 
[2026-08-19 12:04:32] local.INFO: Extracted packet for processing {"connection_id":158779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b9"} 
[2026-08-19 12:04:32] local.INFO: GPS Element Parsed {"raw_longitude":755781568,"raw_latitude":116200240,"longitude_deg":75.5781568,"latitude_deg":11.620024,"altitude":14,"angle":8,"satellites":46,"speed":32,"hex_longitude":"2d0c4fc0","hex_latitude":"06ed1330","is_valid_coordinates":true} 
[2026-08-19 12:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503022336001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385687938626748416,"note":"Value kept but may cause issues"} 
[2026-08-19 12:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885520306476670976,"note":"Value kept but may cause issues"} 
[2026-08-19 12:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787121193000,"timestamp_ms":1787121193000,"timestamp_seconds":1787121193,"priority":1,"record_length":96,"hex_timestamp":"000001a018b95028"} 
[2026-08-19 12:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 12:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503022336001,"66":27908,"49":206,"80":6400,"24":32,"16":385687938626748416,"45":885520306476670976},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-08-19 12:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503022336001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:04:32] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-19 12:04:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-08-19 12:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385687938626748416,"km_value":385687938626748.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":885520306476670976,"description":"Unknown IO ID 45"} 
[2026-08-19 12:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503022336001,"power":27908,"unknown_49":206,"unknown_80":6400,"ignition":32,"odometer":null,"unknown_45":885520306476670976}} 
[2026-08-19 12:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":158779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:04:32] local.INFO: GPS data processed {"connection_id":158779,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:04:32] local.INFO: Acknowledgment sent {"connection_id":158779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:04:36] local.INFO: TCP Data received {"connection_id":158779,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018b97f08012d0c554006ed3820000f000a2e..."} 
[2026-08-19 12:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b97f08012d0c554006ed3820000f000a2e..."} 
[2026-08-19 12:04:36] local.INFO: Processing buffer {"connection_id":158779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b97f08012d0c554006ed3820000f000a2e..."} 
[2026-08-19 12:04:36] local.INFO: Packet analysis {"connection_id":158779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b9"} 
[2026-08-19 12:04:36] local.INFO: Extracted packet for processing {"connection_id":158779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b9"} 
[2026-08-19 12:04:36] local.INFO: GPS Element Parsed {"raw_longitude":755782976,"raw_latitude":116209696,"longitude_deg":75.5782976,"latitude_deg":11.6209696,"altitude":15,"angle":10,"satellites":46,"speed":29,"hex_longitude":"2d0c5540","hex_latitude":"06ed3820","is_valid_coordinates":true} 
[2026-08-19 12:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503025408001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385688402483216384,"note":"Value kept but may cause issues"} 
[2026-08-19 12:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887138787595071488,"note":"Value kept but may cause issues"} 
[2026-08-19 12:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,252,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787121205000,"timestamp_ms":1787121205000,"timestamp_seconds":1787121205,"priority":1,"record_length":96,"hex_timestamp":"000001a018b97f08"} 
[2026-08-19 12:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:04: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-08-19 12:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:04:36] 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-08-19 12:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503025408001,"66":27876,"163":206,"252":48128,"24":29,"16":385688402483216384,"45":887138787595071488},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,252,24,16,45]} 
[2026-08-19 12:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503025408001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:04:36] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 12:04:36] local.INFO: Unknown IO ID detected {"io_id":252,"value":48128,"description":"Unknown IO ID 252"} 
[2026-08-19 12:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385688402483216384,"km_value":385688402483216.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":887138787595071488,"description":"Unknown IO ID 45"} 
[2026-08-19 12:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503025408001,"power":27876,"unknown_163":206,"unknown_252":48128,"ignition":29,"odometer":null,"unknown_45":887138787595071488}} 
[2026-08-19 12:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":158779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:04:36] local.INFO: GPS data processed {"connection_id":158779,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:04:36] local.INFO: Acknowledgment sent {"connection_id":158779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:04:47] local.INFO: TCP Data received {"connection_id":158778,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b87180012d1825c00721b8f0005001652d..."} 
[2026-08-19 12:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b87180012d1825c00721b8f0005001652d..."} 
[2026-08-19 12:04:47] local.INFO: Processing buffer {"connection_id":158778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b87180012d1825c00721b8f0005001652d..."} 
[2026-08-19 12:04:47] local.INFO: Packet analysis {"connection_id":158778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b8"} 
[2026-08-19 12:04:47] local.INFO: Extracted packet for processing {"connection_id":158778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b8"} 
[2026-08-19 12:04:47] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650544,"longitude_deg":75.6557248,"latitude_deg":11.9650544,"altitude":80,"angle":357,"satellites":45,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b8f0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503005440001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696882635177984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911636992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:04:47] 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-08-19 12:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787121136000,"timestamp_ms":1787121136000,"timestamp_seconds":1787121136,"priority":1,"record_length":96,"hex_timestamp":"000001a018b87180"} 
[2026-08-19 12:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:04:47] 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-08-19 12:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 12:04:47] 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-08-19 12: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-08-19 12:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503005440001,"66":13222,"120":206,"28":31744,"24":0,"16":13696882635177984,"45":1740007967911636992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503005440001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:04:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:04:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696882635177984,"km_value":13696882635177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911636992,"description":"Unknown IO ID 45"} 
[2026-08-19 12:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503005440001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911636992}} 
[2026-08-19 12:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":158778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:04:47] local.INFO: GPS data processed {"connection_id":158778,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:04:47] local.INFO: Acknowledgment sent {"connection_id":158778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:04:57] local.INFO: TCP Data received {"connection_id":157532,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:04:57] local.INFO: Processing buffer {"connection_id":157532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:04:57] local.INFO: IMEI packet received {"connection_id":157532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":157532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:04:59] local.INFO: TCP Data received {"connection_id":157532,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:04:59] local.INFO: Processing buffer {"connection_id":157532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:04:59] local.INFO: IMEI packet received {"connection_id":157532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":157532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:05:05] local.INFO: TCP Data received {"connection_id":157532,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:05:05] local.INFO: Processing buffer {"connection_id":157532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:05:05] local.INFO: IMEI packet received {"connection_id":157532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":157532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:05:08] local.INFO: TCP Data received {"connection_id":157532,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018b9ade8012d0c5a8006ed5bc0000e000931..."} 
[2026-08-19 12:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b9ade8012d0c5a8006ed5bc0000e000931..."} 
[2026-08-19 12:05:08] local.INFO: Processing buffer {"connection_id":157532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b9ade8012d0c5a8006ed5bc0000e000931..."} 
[2026-08-19 12:05:08] local.INFO: Packet analysis {"connection_id":157532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b9"} 
[2026-08-19 12:05:08] local.INFO: Extracted packet for processing {"connection_id":157532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b9"} 
[2026-08-19 12:05:08] local.INFO: GPS Element Parsed {"raw_longitude":755784320,"raw_latitude":116218816,"longitude_deg":75.578432,"latitude_deg":11.6218816,"altitude":14,"angle":9,"satellites":49,"speed":30,"hex_longitude":"2d0c5a80","hex_latitude":"06ed5bc0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503028480001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385688849159815168,"note":"Value kept but may cause issues"} 
[2026-08-19 12:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888686899969400832,"note":"Value kept but may cause issues"} 
[2026-08-19 12:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787121217000,"timestamp_ms":1787121217000,"timestamp_seconds":1787121217,"priority":1,"record_length":96,"hex_timestamp":"000001a018b9ade8"} 
[2026-08-19 12:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:05: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-08-19 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 12:05:08] 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-08-19 12: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-08-19 12:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":157532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":157532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":157532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503028480001,"66":27919,"158":206,"2":56576,"24":30,"16":385688849159815168,"45":888686899969400832},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-19 12:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503028480001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:05:08] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 12:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385688849159815168,"km_value":385688849159815.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":888686899969400832,"description":"Unknown IO ID 45"} 
[2026-08-19 12:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503028480001,"power":27919,"unknown_158":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":888686899969400832}} 
[2026-08-19 12:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":157532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:05:08] local.INFO: GPS data processed {"connection_id":157532,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:05:08] local.INFO: Acknowledgment sent {"connection_id":157532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:05:09] local.INFO: TCP Data received {"connection_id":157907,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:05:09] local.INFO: Processing buffer {"connection_id":157907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:05:09] local.INFO: IMEI packet received {"connection_id":157907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":157907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:05:14] local.INFO: TCP Data received {"connection_id":157907,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:05:14] local.INFO: Processing buffer {"connection_id":157907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:05:14] local.INFO: IMEI packet received {"connection_id":157907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":157907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:05:15] local.INFO: TCP Data received {"connection_id":157907,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b8c388012d1825c00721b8f0005001652c..."} 
[2026-08-19 12:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b8c388012d1825c00721b8f0005001652c..."} 
[2026-08-19 12:05:15] local.INFO: Processing buffer {"connection_id":157907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b8c388012d1825c00721b8f0005001652c..."} 
[2026-08-19 12:05:15] local.INFO: Packet analysis {"connection_id":157907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b8"} 
[2026-08-19 12:05:15] local.INFO: Extracted packet for processing {"connection_id":157907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b8"} 
[2026-08-19 12:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650544,"longitude_deg":75.6557248,"latitude_deg":11.9650544,"altitude":80,"angle":357,"satellites":44,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b8f0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503010816001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696882635177984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911636992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:05: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-08-19 12:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787121157000,"timestamp_ms":1787121157000,"timestamp_seconds":1787121157,"priority":1,"record_length":96,"hex_timestamp":"000001a018b8c388"} 
[2026-08-19 12:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 12:05: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-08-19 12: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-08-19 12:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503010816001,"66":13135,"120":206,"28":31744,"24":0,"16":13696882635177984,"45":1740007967911636992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503010816001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:05:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:05:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696882635177984,"km_value":13696882635177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911636992,"description":"Unknown IO ID 45"} 
[2026-08-19 12:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503010816001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911636992}} 
[2026-08-19 12:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":157907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:05:15] local.INFO: GPS data processed {"connection_id":157907,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:05:15] local.INFO: Acknowledgment sent {"connection_id":157907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:05:41] local.INFO: TCP Data received {"connection_id":157532,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018b9ec68012d0c5e4006ed7f50000f00002e..."} 
[2026-08-19 12:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b9ec68012d0c5e4006ed7f50000f00002e..."} 
[2026-08-19 12:05:41] local.INFO: Processing buffer {"connection_id":157532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b9ec68012d0c5e4006ed7f50000f00002e..."} 
[2026-08-19 12:05:41] local.INFO: Packet analysis {"connection_id":157532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b9"} 
[2026-08-19 12:05:41] local.INFO: Extracted packet for processing {"connection_id":157532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b9"} 
[2026-08-19 12:05:41] local.INFO: GPS Element Parsed {"raw_longitude":755785280,"raw_latitude":116227920,"longitude_deg":75.578528,"latitude_deg":11.622792,"altitude":15,"angle":0,"satellites":46,"speed":25,"hex_longitude":"2d0c5e40","hex_latitude":"06ed7f50","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503031552001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385689291541446656,"note":"Value kept but may cause issues"} 
[2026-08-19 12:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890164643599466496,"note":"Value kept but may cause issues"} 
[2026-08-19 12:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787121233000,"timestamp_ms":1787121233000,"timestamp_seconds":1787121233,"priority":1,"record_length":96,"hex_timestamp":"000001a018b9ec68"} 
[2026-08-19 12:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:05: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-08-19 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 12:05:41] 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-08-19 12: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-08-19 12:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503031552001,"66":27919,"158":206,"2":56576,"24":25,"16":385689291541446656,"45":890164643599466496},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-19 12:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503031552001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:05:41] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 12:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385689291541446656,"km_value":385689291541446.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":890164643599466496,"description":"Unknown IO ID 45"} 
[2026-08-19 12:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503031552001,"power":27919,"unknown_158":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":890164643599466496}} 
[2026-08-19 12:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":157532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:05:41] local.INFO: GPS data processed {"connection_id":157532,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:05:41] local.INFO: Acknowledgment sent {"connection_id":157532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:05:47] local.INFO: TCP Data received {"connection_id":157907,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b91590012d1825c00721b8f0005001652b..."} 
[2026-08-19 12:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b91590012d1825c00721b8f0005001652b..."} 
[2026-08-19 12:05:47] local.INFO: Processing buffer {"connection_id":157907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b91590012d1825c00721b8f0005001652b..."} 
[2026-08-19 12:05:47] local.INFO: Packet analysis {"connection_id":157907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b9"} 
[2026-08-19 12:05:47] local.INFO: Extracted packet for processing {"connection_id":157907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b9"} 
[2026-08-19 12:05:47] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650544,"longitude_deg":75.6557248,"latitude_deg":11.9650544,"altitude":80,"angle":357,"satellites":43,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b8f0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503016192001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696882635177984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911636992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:05:47] 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-08-19 12:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787121178000,"timestamp_ms":1787121178000,"timestamp_seconds":1787121178,"priority":1,"record_length":96,"hex_timestamp":"000001a018b91590"} 
[2026-08-19 12:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:05:47] 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-08-19 12: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 12:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503016192001,"66":13124,"120":206,"28":31744,"24":0,"16":13696882635177984,"45":1740007967911636992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503016192001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:05:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:05:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696882635177984,"km_value":13696882635177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911636992,"description":"Unknown IO ID 45"} 
[2026-08-19 12:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503016192001,"power":13124,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911636992}} 
[2026-08-19 12:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":157907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:05:47] local.INFO: GPS data processed {"connection_id":157907,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:05:47] local.INFO: Acknowledgment sent {"connection_id":157907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:05:59] local.INFO: TCP Data received {"connection_id":160087,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:05:59] local.INFO: Processing buffer {"connection_id":160087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:05:59] local.INFO: IMEI packet received {"connection_id":160087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":160087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:06:04] local.INFO: TCP Data received {"connection_id":160087,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:06:04] local.INFO: Processing buffer {"connection_id":160087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:06:04] local.INFO: IMEI packet received {"connection_id":160087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":160087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:06:05] local.INFO: TCP Data received {"connection_id":160087,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ba1f30012d0c5c8006eda440000f015f2c..."} 
[2026-08-19 12:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ba1f30012d0c5c8006eda440000f015f2c..."} 
[2026-08-19 12:06:05] local.INFO: Processing buffer {"connection_id":160087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ba1f30012d0c5c8006eda440000f015f2c..."} 
[2026-08-19 12:06:05] local.INFO: Packet analysis {"connection_id":160087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ba"} 
[2026-08-19 12:06:05] local.INFO: Extracted packet for processing {"connection_id":160087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ba"} 
[2026-08-19 12:06:05] local.INFO: GPS Element Parsed {"raw_longitude":755784832,"raw_latitude":116237376,"longitude_deg":75.5784832,"latitude_deg":11.6237376,"altitude":15,"angle":351,"satellites":44,"speed":31,"hex_longitude":"2d0c5c80","hex_latitude":"06eda440","is_valid_coordinates":true} 
[2026-08-19 12:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503035648001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385689755397914624,"note":"Value kept but may cause issues"} 
[2026-08-19 12:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891220174764462080,"note":"Value kept but may cause issues"} 
[2026-08-19 12:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787121246000,"timestamp_ms":1787121246000,"timestamp_seconds":1787121246,"priority":1,"record_length":96,"hex_timestamp":"000001a018ba1f30"} 
[2026-08-19 12:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 12:06:05] 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-08-19 12:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503035648001,"66":27713,"158":206,"2":56576,"24":31,"16":385689755397914624,"45":891220174764462080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-19 12:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503035648001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:06:05] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 12:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385689755397914624,"km_value":385689755397914.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":891220174764462080,"description":"Unknown IO ID 45"} 
[2026-08-19 12:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503035648001,"power":27713,"unknown_158":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":891220174764462080}} 
[2026-08-19 12:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":160087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:06:05] local.INFO: GPS data processed {"connection_id":160087,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:06:05] local.INFO: Acknowledgment sent {"connection_id":160087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:06:14] local.INFO: TCP Data received {"connection_id":157908,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:06:14] local.INFO: Processing buffer {"connection_id":157908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:06:14] local.INFO: IMEI packet received {"connection_id":157908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":157908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:06:19] local.INFO: TCP Data received {"connection_id":157908,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:06:19] local.INFO: Processing buffer {"connection_id":157908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:06:19] local.INFO: IMEI packet received {"connection_id":157908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":157908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:06:20] local.INFO: TCP Data received {"connection_id":157908,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b96798012d1825c00721b8f0005001652e..."} 
[2026-08-19 12:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b96798012d1825c00721b8f0005001652e..."} 
[2026-08-19 12:06:20] local.INFO: Processing buffer {"connection_id":157908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b96798012d1825c00721b8f0005001652e..."} 
[2026-08-19 12:06:20] local.INFO: Packet analysis {"connection_id":157908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b9"} 
[2026-08-19 12:06:20] local.INFO: Extracted packet for processing {"connection_id":157908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b9"} 
[2026-08-19 12:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650544,"longitude_deg":75.6557248,"latitude_deg":11.9650544,"altitude":80,"angle":357,"satellites":46,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b8f0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 12:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503021568001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696882635177984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911636992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:06:20] 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-08-19 12:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787121199000,"timestamp_ms":1787121199000,"timestamp_seconds":1787121199,"priority":1,"record_length":96,"hex_timestamp":"000001a018b96798"} 
[2026-08-19 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-08-19 12:06: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-08-19 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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-19 12:06:20] 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-08-19 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-08-19 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-08-19 12:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503021568001,"66":13080,"120":206,"28":31744,"24":0,"16":13696882635177984,"45":1740007967911636992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503021568001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:06:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:06:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696882635177984,"km_value":13696882635177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911636992,"description":"Unknown IO ID 45"} 
[2026-08-19 12:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503021568001,"power":13080,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911636992}} 
[2026-08-19 12:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":157908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:06:20] local.INFO: GPS data processed {"connection_id":157908,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:06:20] local.INFO: Acknowledgment sent {"connection_id":157908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:06:25] local.INFO: TCP Data received {"connection_id":157908,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018b9b9a0012d1825c00721b8f0005001652c..."} 
[2026-08-19 12:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018b9b9a0012d1825c00721b8f0005001652c..."} 
[2026-08-19 12:06:25] local.INFO: Processing buffer {"connection_id":157908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018b9b9a0012d1825c00721b8f0005001652c..."} 
[2026-08-19 12:06:25] local.INFO: Packet analysis {"connection_id":157908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018b9"} 
[2026-08-19 12:06:25] local.INFO: Extracted packet for processing {"connection_id":157908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018b9"} 
[2026-08-19 12:06:25] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650544,"longitude_deg":75.6557248,"latitude_deg":11.9650544,"altitude":80,"angle":357,"satellites":44,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b8f0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503026944001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696882635177984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911636992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:06:25] 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-08-19 12:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787121220000,"timestamp_ms":1787121220000,"timestamp_seconds":1787121220,"priority":1,"record_length":96,"hex_timestamp":"000001a018b9b9a0"} 
[2026-08-19 12:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 12:06:25] 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-08-19 12: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-08-19 12:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":157908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":157908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":157908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503026944001,"66":13015,"120":206,"28":31744,"24":0,"16":13696882635177984,"45":1740007967911636992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503026944001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:06:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:06:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696882635177984,"km_value":13696882635177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911636992,"description":"Unknown IO ID 45"} 
[2026-08-19 12:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503026944001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911636992}} 
[2026-08-19 12:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":157908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:06:25] local.INFO: GPS data processed {"connection_id":157908,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:06:25] local.INFO: Acknowledgment sent {"connection_id":157908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:06:37] local.INFO: TCP Data received {"connection_id":160087,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ba51f8012d0c544006edc730001101552c..."} 
[2026-08-19 12:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ba51f8012d0c544006edc730001101552c..."} 
[2026-08-19 12:06:37] local.INFO: Processing buffer {"connection_id":160087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ba51f8012d0c544006edc730001101552c..."} 
[2026-08-19 12:06:37] local.INFO: Packet analysis {"connection_id":160087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ba"} 
[2026-08-19 12:06:37] local.INFO: Extracted packet for processing {"connection_id":160087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ba"} 
[2026-08-19 12:06:37] local.INFO: GPS Element Parsed {"raw_longitude":755782720,"raw_latitude":116246320,"longitude_deg":75.578272,"latitude_deg":11.624632,"altitude":17,"angle":341,"satellites":44,"speed":28,"hex_longitude":"2d0c5440","hex_latitude":"06edc730","is_valid_coordinates":true} 
[2026-08-19 12:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503038976001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385690197779546112,"note":"Value kept but may cause issues"} 
[2026-08-19 12:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890727593557639168,"note":"Value kept but may cause issues"} 
[2026-08-19 12:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787121259000,"timestamp_ms":1787121259000,"timestamp_seconds":1787121259,"priority":1,"record_length":96,"hex_timestamp":"000001a018ba51f8"} 
[2026-08-19 12:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-19 12:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503038976001,"66":27865,"158":206,"2":56576,"24":28,"16":385690197779546112,"45":890727593557639168},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-19 12:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503038976001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:06:37] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 12:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385690197779546112,"km_value":385690197779546.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":890727593557639168,"description":"Unknown IO ID 45"} 
[2026-08-19 12:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503038976001,"power":27865,"unknown_158":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":890727593557639168}} 
[2026-08-19 12:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":160087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:06:37] local.INFO: GPS data processed {"connection_id":160087,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:06:37] local.INFO: Acknowledgment sent {"connection_id":160087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:07:00] local.INFO: TCP Data received {"connection_id":157533,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:07:00] local.INFO: Processing buffer {"connection_id":157533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:07:00] local.INFO: IMEI packet received {"connection_id":157533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":157533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:07:04] local.INFO: TCP Data received {"connection_id":157533,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:07:04] local.INFO: Processing buffer {"connection_id":157533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:07:04] local.INFO: IMEI packet received {"connection_id":157533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":157533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:07:06] local.INFO: TCP Data received {"connection_id":157909,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:07:06] local.INFO: Processing buffer {"connection_id":157909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:07:06] local.INFO: IMEI packet received {"connection_id":157909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":157909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:07:07] local.INFO: TCP Data received {"connection_id":157533,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018baa018012d0c4b8006edddf0001101472e..."} 
[2026-08-19 12:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018baa018012d0c4b8006edddf0001101472e..."} 
[2026-08-19 12:07:07] local.INFO: Processing buffer {"connection_id":157533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018baa018012d0c4b8006edddf0001101472e..."} 
[2026-08-19 12:07:07] local.INFO: Packet analysis {"connection_id":157533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ba"} 
[2026-08-19 12:07:07] local.INFO: Extracted packet for processing {"connection_id":157533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ba"} 
[2026-08-19 12:07:07] local.INFO: GPS Element Parsed {"raw_longitude":755780480,"raw_latitude":116252144,"longitude_deg":75.578048,"latitude_deg":11.6252144,"altitude":17,"angle":327,"satellites":46,"speed":7,"hex_longitude":"2d0c4b80","hex_latitude":"06edddf0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 12:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503042304001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385690502722224128,"note":"Value kept but may cause issues"} 
[2026-08-19 12:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888405425002065920,"note":"Value kept but may cause issues"} 
[2026-08-19 12:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787121279000,"timestamp_ms":1787121279000,"timestamp_seconds":1787121279,"priority":1,"record_length":96,"hex_timestamp":"000001a018baa018"} 
[2026-08-19 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-08-19 12:07: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-08-19 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 12:07:07] 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-08-19 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-08-19 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-08-19 12:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503042304001,"66":27908,"158":206,"2":56576,"24":7,"16":385690502722224128,"45":888405425002065920},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-19 12:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503042304001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:07:07] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 12:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385690502722224128,"km_value":385690502722224.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":888405425002065920,"description":"Unknown IO ID 45"} 
[2026-08-19 12:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503042304001,"power":27908,"unknown_158":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":888405425002065920}} 
[2026-08-19 12:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":157533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:07:07] local.INFO: GPS data processed {"connection_id":157533,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:07:07] local.INFO: Acknowledgment sent {"connection_id":157533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:07:10] local.INFO: TCP Data received {"connection_id":157909,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:07:10] local.INFO: Processing buffer {"connection_id":157909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:07:10] local.INFO: IMEI packet received {"connection_id":157909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":157909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:07:14] local.INFO: TCP Data received {"connection_id":157909,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:07:14] local.INFO: Processing buffer {"connection_id":157909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:07:14] local.INFO: IMEI packet received {"connection_id":157909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":157909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:07:15] local.INFO: TCP Data received {"connection_id":157909,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ba0ba8012d1825c00721b8f0005001652c..."} 
[2026-08-19 12:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ba0ba8012d1825c00721b8f0005001652c..."} 
[2026-08-19 12:07:15] local.INFO: Processing buffer {"connection_id":157909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ba0ba8012d1825c00721b8f0005001652c..."} 
[2026-08-19 12:07:15] local.INFO: Packet analysis {"connection_id":157909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ba"} 
[2026-08-19 12:07:15] local.INFO: Extracted packet for processing {"connection_id":157909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ba"} 
[2026-08-19 12:07:15] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650544,"longitude_deg":75.6557248,"latitude_deg":11.9650544,"altitude":80,"angle":357,"satellites":44,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b8f0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503032320001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696882635177984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911636992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:07: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-08-19 12:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787121241000,"timestamp_ms":1787121241000,"timestamp_seconds":1787121241,"priority":1,"record_length":96,"hex_timestamp":"000001a018ba0ba8"} 
[2026-08-19 12:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:07: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-08-19 12: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 12:07: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-08-19 12: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-08-19 12:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503032320001,"66":13048,"120":206,"28":31744,"24":0,"16":13696882635177984,"45":1740007967911636992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503032320001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:07:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:07:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696882635177984,"km_value":13696882635177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911636992,"description":"Unknown IO ID 45"} 
[2026-08-19 12:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503032320001,"power":13048,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911636992}} 
[2026-08-19 12:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":157909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:07:15] local.INFO: GPS data processed {"connection_id":157909,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:07:15] local.INFO: Acknowledgment sent {"connection_id":157909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:07:20] local.INFO: TCP Data received {"connection_id":157909,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ba5db0012d1825c00721b8f0005001652c..."} 
[2026-08-19 12:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ba5db0012d1825c00721b8f0005001652c..."} 
[2026-08-19 12:07:20] local.INFO: Processing buffer {"connection_id":157909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ba5db0012d1825c00721b8f0005001652c..."} 
[2026-08-19 12:07:20] local.INFO: Packet analysis {"connection_id":157909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ba"} 
[2026-08-19 12:07:20] local.INFO: Extracted packet for processing {"connection_id":157909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ba"} 
[2026-08-19 12:07:20] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650544,"longitude_deg":75.6557248,"latitude_deg":11.9650544,"altitude":80,"angle":357,"satellites":44,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b8f0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503037696001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696882635177984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911636992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:07:20] 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-08-19 12:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787121262000,"timestamp_ms":1787121262000,"timestamp_seconds":1787121262,"priority":1,"record_length":96,"hex_timestamp":"000001a018ba5db0"} 
[2026-08-19 12:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:07: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-08-19 12: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 12:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503037696001,"66":12526,"120":206,"28":31744,"24":0,"16":13696882635177984,"45":1740007967911636992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503037696001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:07:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:07:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696882635177984,"km_value":13696882635177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911636992,"description":"Unknown IO ID 45"} 
[2026-08-19 12:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503037696001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911636992}} 
[2026-08-19 12:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":157909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:07:20] local.INFO: GPS data processed {"connection_id":157909,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:07:20] local.INFO: Acknowledgment sent {"connection_id":157909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:07:40] local.INFO: TCP Data received {"connection_id":157533,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018bc7ca8012d0bbac006ef00b8000e01522e..."} 
[2026-08-19 12:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018bc7ca8012d0bbac006ef00b8000e01522e..."} 
[2026-08-19 12:07:40] local.INFO: Processing buffer {"connection_id":157533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018bc7ca8012d0bbac006ef00b8000e01522e..."} 
[2026-08-19 12:07:40] local.INFO: Packet analysis {"connection_id":157533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018bc"} 
[2026-08-19 12:07:40] local.INFO: Extracted packet for processing {"connection_id":157533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018bc"} 
[2026-08-19 12:07:40] local.INFO: GPS Element Parsed {"raw_longitude":755743424,"raw_latitude":116326584,"longitude_deg":75.5743424,"latitude_deg":11.6326584,"altitude":14,"angle":338,"satellites":46,"speed":55,"hex_longitude":"2d0bbac0","hex_latitude":"06ef00b8","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503076864001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385694544286449664,"note":"Value kept but may cause issues"} 
[2026-08-19 12:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":849069297025042432,"note":"Value kept but may cause issues"} 
[2026-08-19 12:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787121401000,"timestamp_ms":1787121401000,"timestamp_seconds":1787121401,"priority":1,"record_length":96,"hex_timestamp":"000001a018bc7ca8"} 
[2026-08-19 12:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 12:07:40] 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-08-19 12: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-08-19 12:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503076864001,"66":27908,"118":206,"2":56576,"24":55,"16":385694544286449664,"45":849069297025042432},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 12:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503076864001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:07:40] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 12:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385694544286449664,"km_value":385694544286449.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":849069297025042432,"description":"Unknown IO ID 45"} 
[2026-08-19 12:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503076864001,"power":27908,"unknown_118":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":849069297025042432}} 
[2026-08-19 12:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":157533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:07:40] local.INFO: GPS data processed {"connection_id":157533,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:07:40] local.INFO: Acknowledgment sent {"connection_id":157533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:07:51] local.INFO: TCP Data received {"connection_id":157909,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018baafb8012d1825c00721b8f0005001652e..."} 
[2026-08-19 12:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018baafb8012d1825c00721b8f0005001652e..."} 
[2026-08-19 12:07:51] local.INFO: Processing buffer {"connection_id":157909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018baafb8012d1825c00721b8f0005001652e..."} 
[2026-08-19 12:07:51] local.INFO: Packet analysis {"connection_id":157909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ba"} 
[2026-08-19 12:07:51] local.INFO: Extracted packet for processing {"connection_id":157909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ba"} 
[2026-08-19 12:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650544,"longitude_deg":75.6557248,"latitude_deg":11.9650544,"altitude":80,"angle":357,"satellites":46,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b8f0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503043072001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696882635177984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911636992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:07:51] 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-08-19 12:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787121283000,"timestamp_ms":1787121283000,"timestamp_seconds":1787121283,"priority":1,"record_length":96,"hex_timestamp":"000001a018baafb8"} 
[2026-08-19 12:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 12:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503043072001,"66":12993,"120":206,"28":31744,"24":0,"16":13696882635177984,"45":1740007967911636992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503043072001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:07:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:07:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696882635177984,"km_value":13696882635177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911636992,"description":"Unknown IO ID 45"} 
[2026-08-19 12:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503043072001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911636992}} 
[2026-08-19 12:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":157909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:07:51] local.INFO: GPS data processed {"connection_id":157909,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:07:51] local.INFO: Acknowledgment sent {"connection_id":157909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:07:59] local.INFO: TCP Data received {"connection_id":160088,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:07:59] local.INFO: Processing buffer {"connection_id":160088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:07:59] local.INFO: IMEI packet received {"connection_id":160088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":160088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:08:02] local.INFO: TCP Data received {"connection_id":160088,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:08:02] local.INFO: Processing buffer {"connection_id":160088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:08:02] local.INFO: IMEI packet received {"connection_id":160088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":160088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:08:04] local.INFO: TCP Data received {"connection_id":160088,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:08:04] local.INFO: Processing buffer {"connection_id":160088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:08:04] local.INFO: IMEI packet received {"connection_id":160088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":160088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:08:05] local.INFO: TCP Data received {"connection_id":160088,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018bc9800012d0bacc006ef24a8000f01532d..."} 
[2026-08-19 12:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018bc9800012d0bacc006ef24a8000f01532d..."} 
[2026-08-19 12:08:05] local.INFO: Processing buffer {"connection_id":160088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018bc9800012d0bacc006ef24a8000f01532d..."} 
[2026-08-19 12:08:05] local.INFO: Packet analysis {"connection_id":160088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018bc"} 
[2026-08-19 12:08:05] local.INFO: Extracted packet for processing {"connection_id":160088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018bc"} 
[2026-08-19 12:08:05] local.INFO: GPS Element Parsed {"raw_longitude":755739840,"raw_latitude":116335784,"longitude_deg":75.573984,"latitude_deg":11.6335784,"altitude":15,"angle":339,"satellites":45,"speed":56,"hex_longitude":"2d0bacc0","hex_latitude":"06ef24a8","is_valid_coordinates":true} 
[2026-08-19 12:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503078656001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385695021027819520,"note":"Value kept but may cause issues"} 
[2026-08-19 12:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845199016097527808,"note":"Value kept but may cause issues"} 
[2026-08-19 12:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787121408000,"timestamp_ms":1787121408000,"timestamp_seconds":1787121408,"priority":1,"record_length":96,"hex_timestamp":"000001a018bc9800"} 
[2026-08-19 12:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:08: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-08-19 12:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503078656001,"66":27908,"118":206,"2":56576,"24":56,"16":385695021027819520,"45":845199016097527808},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 12:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503078656001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:08:05] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 12:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385695021027819520,"km_value":385695021027819.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":845199016097527808,"description":"Unknown IO ID 45"} 
[2026-08-19 12:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503078656001,"power":27908,"unknown_118":206,"power_alt":56576,"ignition":56,"odometer":null,"unknown_45":845199016097527808}} 
[2026-08-19 12:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":160088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:08:06] local.INFO: GPS data processed {"connection_id":160088,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:08:06] local.INFO: Acknowledgment sent {"connection_id":160088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:08:10] local.INFO: TCP Data received {"connection_id":157534,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:08:10] local.INFO: Processing buffer {"connection_id":157534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:08:10] local.INFO: IMEI packet received {"connection_id":157534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":157534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:08:10] local.INFO: TCP Data received {"connection_id":157534,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:08:10] local.INFO: Processing buffer {"connection_id":157534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:08:10] local.INFO: IMEI packet received {"connection_id":157534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":157534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:08:14] local.INFO: TCP Data received {"connection_id":157534,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:08:14] local.INFO: Processing buffer {"connection_id":157534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:08:14] local.INFO: IMEI packet received {"connection_id":157534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":157534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:08:15] local.INFO: TCP Data received {"connection_id":157534,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018bb01c0012d1825c00721b8f00050016529..."} 
[2026-08-19 12:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018bb01c0012d1825c00721b8f00050016529..."} 
[2026-08-19 12:08:15] local.INFO: Processing buffer {"connection_id":157534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018bb01c0012d1825c00721b8f00050016529..."} 
[2026-08-19 12:08:15] local.INFO: Packet analysis {"connection_id":157534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018bb"} 
[2026-08-19 12:08:15] local.INFO: Extracted packet for processing {"connection_id":157534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018bb"} 
[2026-08-19 12:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650544,"longitude_deg":75.6557248,"latitude_deg":11.9650544,"altitude":80,"angle":357,"satellites":41,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b8f0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503048448001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696882635177984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911636992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:08: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-08-19 12:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787121304000,"timestamp_ms":1787121304000,"timestamp_seconds":1787121304,"priority":1,"record_length":96,"hex_timestamp":"000001a018bb01c0"} 
[2026-08-19 12:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-19 12:08:15] 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-08-19 12:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503048448001,"66":12950,"120":206,"28":31744,"24":0,"16":13696882635177984,"45":1740007967911636992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503048448001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:08:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:08:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696882635177984,"km_value":13696882635177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911636992,"description":"Unknown IO ID 45"} 
[2026-08-19 12:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503048448001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911636992}} 
[2026-08-19 12:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":157534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:08:15] local.INFO: GPS data processed {"connection_id":157534,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:08:15] local.INFO: Acknowledgment sent {"connection_id":157534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:08:37] local.INFO: TCP Data received {"connection_id":160088,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018bcb358012d0b9ec006ef49b0000e015530..."} 
[2026-08-19 12:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018bcb358012d0b9ec006ef49b0000e015530..."} 
[2026-08-19 12:08:37] local.INFO: Processing buffer {"connection_id":160088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018bcb358012d0b9ec006ef49b0000e015530..."} 
[2026-08-19 12:08:37] local.INFO: Packet analysis {"connection_id":160088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018bc"} 
[2026-08-19 12:08:37] local.INFO: Extracted packet for processing {"connection_id":160088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018bc"} 
[2026-08-19 12:08:37] local.INFO: GPS Element Parsed {"raw_longitude":755736256,"raw_latitude":116345264,"longitude_deg":75.5736256,"latitude_deg":11.6345264,"altitude":14,"angle":341,"satellites":48,"speed":58,"hex_longitude":"2d0b9ec0","hex_latitude":"06ef49b0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503080448001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385695510654091264,"note":"Value kept but may cause issues"} 
[2026-08-19 12:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841258366425933824,"note":"Value kept but may cause issues"} 
[2026-08-19 12:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787121415000,"timestamp_ms":1787121415000,"timestamp_seconds":1787121415,"priority":1,"record_length":96,"hex_timestamp":"000001a018bcb358"} 
[2026-08-19 12:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:08:37] 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-08-19 12: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-08-19 12:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503080448001,"66":27876,"118":206,"2":56576,"24":58,"16":385695510654091264,"45":841258366425933824},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 12:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503080448001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:08:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 12:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385695510654091264,"km_value":385695510654091.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":841258366425933824,"description":"Unknown IO ID 45"} 
[2026-08-19 12:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503080448001,"power":27876,"unknown_118":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":841258366425933824}} 
[2026-08-19 12:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":160088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:08:37] local.INFO: GPS data processed {"connection_id":160088,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:08:37] local.INFO: Acknowledgment sent {"connection_id":160088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:08:47] local.INFO: TCP Data received {"connection_id":157534,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018bb53c8012d1825c00721b8f0005001652c..."} 
[2026-08-19 12:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018bb53c8012d1825c00721b8f0005001652c..."} 
[2026-08-19 12:08:47] local.INFO: Processing buffer {"connection_id":157534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018bb53c8012d1825c00721b8f0005001652c..."} 
[2026-08-19 12:08:47] local.INFO: Packet analysis {"connection_id":157534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018bb"} 
[2026-08-19 12:08:47] local.INFO: Extracted packet for processing {"connection_id":157534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018bb"} 
[2026-08-19 12:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650544,"longitude_deg":75.6557248,"latitude_deg":11.9650544,"altitude":80,"angle":357,"satellites":44,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b8f0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503053824001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696882635177984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911636992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:08:47] 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-08-19 12:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787121325000,"timestamp_ms":1787121325000,"timestamp_seconds":1787121325,"priority":1,"record_length":96,"hex_timestamp":"000001a018bb53c8"} 
[2026-08-19 12:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:08:47] 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-08-19 12: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 12:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503053824001,"66":12939,"120":206,"28":31744,"24":0,"16":13696882635177984,"45":1740007967911636992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503053824001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:08:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:08:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696882635177984,"km_value":13696882635177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911636992,"description":"Unknown IO ID 45"} 
[2026-08-19 12:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503053824001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911636992}} 
[2026-08-19 12:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":157534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:08:47] local.INFO: GPS data processed {"connection_id":157534,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:08:47] local.INFO: Acknowledgment sent {"connection_id":157534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:09:03] local.INFO: TCP Data received {"connection_id":157910,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:09:03] local.INFO: Processing buffer {"connection_id":157910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:09:03] local.INFO: IMEI packet received {"connection_id":157910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":157910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:09:04] local.INFO: TCP Data received {"connection_id":157910,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:09:04] local.INFO: Processing buffer {"connection_id":157910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:09:04] local.INFO: IMEI packet received {"connection_id":157910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":157910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:09:09] local.INFO: TCP Data received {"connection_id":158780,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:09:09] local.INFO: Processing buffer {"connection_id":158780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:09:09] local.INFO: IMEI packet received {"connection_id":158780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":158780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:09:09] local.INFO: TCP Data received {"connection_id":157910,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:09:09] local.INFO: Processing buffer {"connection_id":157910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:09:09] local.INFO: IMEI packet received {"connection_id":157910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":157910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:09:11] local.INFO: TCP Data received {"connection_id":157910,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018bccac8012d0b934006ef6a80000e01552f..."} 
[2026-08-19 12:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018bccac8012d0b934006ef6a80000e01552f..."} 
[2026-08-19 12:09:11] local.INFO: Processing buffer {"connection_id":157910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018bccac8012d0b934006ef6a80000e01552f..."} 
[2026-08-19 12:09:11] local.INFO: Packet analysis {"connection_id":157910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018bc"} 
[2026-08-19 12:09:11] local.INFO: Extracted packet for processing {"connection_id":157910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018bc"} 
[2026-08-19 12:09:11] local.INFO: GPS Element Parsed {"raw_longitude":755733312,"raw_latitude":116353664,"longitude_deg":75.5733312,"latitude_deg":11.6353664,"altitude":14,"angle":341,"satellites":47,"speed":58,"hex_longitude":"2d0b9340","hex_latitude":"06ef6a80","is_valid_coordinates":true} 
[2026-08-19 12:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503082240001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385695940150820864,"note":"Value kept but may cause issues"} 
[2026-08-19 12:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":837317716754411520,"note":"Value kept but may cause issues"} 
[2026-08-19 12:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787121421000,"timestamp_ms":1787121421000,"timestamp_seconds":1787121421,"priority":1,"record_length":96,"hex_timestamp":"000001a018bccac8"} 
[2026-08-19 12:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 12:09:11] 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-08-19 12:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503082240001,"66":27876,"118":206,"2":56576,"24":58,"16":385695940150820864,"45":837317716754411520},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 12:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503082240001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:09:11] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 12:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385695940150820864,"km_value":385695940150820.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":837317716754411520,"description":"Unknown IO ID 45"} 
[2026-08-19 12:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503082240001,"power":27876,"unknown_118":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":837317716754411520}} 
[2026-08-19 12:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":157910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:09:11] local.INFO: GPS data processed {"connection_id":157910,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:09:11] local.INFO: Acknowledgment sent {"connection_id":157910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:09:12] local.INFO: TCP Data received {"connection_id":158780,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:09:12] local.INFO: Processing buffer {"connection_id":158780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:09:12] local.INFO: IMEI packet received {"connection_id":158780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":158780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:09:14] local.INFO: TCP Data received {"connection_id":158780,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018bba5d0012d1825c00721b8f0005001652e..."} 
[2026-08-19 12:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018bba5d0012d1825c00721b8f0005001652e..."} 
[2026-08-19 12:09:14] local.INFO: Processing buffer {"connection_id":158780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018bba5d0012d1825c00721b8f0005001652e..."} 
[2026-08-19 12:09:14] local.INFO: Packet analysis {"connection_id":158780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018bb"} 
[2026-08-19 12:09:14] local.INFO: Extracted packet for processing {"connection_id":158780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018bb"} 
[2026-08-19 12:09:14] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650544,"longitude_deg":75.6557248,"latitude_deg":11.9650544,"altitude":80,"angle":357,"satellites":46,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b8f0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503059200001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696882635177984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911636992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:09:14] 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-08-19 12:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787121346000,"timestamp_ms":1787121346000,"timestamp_seconds":1787121346,"priority":1,"record_length":96,"hex_timestamp":"000001a018bba5d0"} 
[2026-08-19 12:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:09: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-08-19 12: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 12:09: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-08-19 12: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-08-19 12:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503059200001,"66":12939,"120":206,"28":31744,"24":0,"16":13696882635177984,"45":1740007967911636992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503059200001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:09:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:09:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696882635177984,"km_value":13696882635177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911636992,"description":"Unknown IO ID 45"} 
[2026-08-19 12:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503059200001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911636992}} 
[2026-08-19 12:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":158780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:09:14] local.INFO: GPS data processed {"connection_id":158780,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:09:14] local.INFO: Acknowledgment sent {"connection_id":158780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:09:15] local.INFO: TCP Data received {"connection_id":157910,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018bce620012d0b888006ef90280010015b2f..."} 
[2026-08-19 12:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018bce620012d0b888006ef90280010015b2f..."} 
[2026-08-19 12:09:15] local.INFO: Processing buffer {"connection_id":157910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018bce620012d0b888006ef90280010015b2f..."} 
[2026-08-19 12:09:15] local.INFO: Packet analysis {"connection_id":157910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018bc"} 
[2026-08-19 12:09:15] local.INFO: Extracted packet for processing {"connection_id":157910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018bc"} 
[2026-08-19 12:09:15] local.INFO: GPS Element Parsed {"raw_longitude":755730560,"raw_latitude":116363304,"longitude_deg":75.573056,"latitude_deg":11.6363304,"altitude":16,"angle":347,"satellites":47,"speed":55,"hex_longitude":"2d0b8880","hex_latitude":"06ef9028","is_valid_coordinates":true} 
[2026-08-19 12:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503083776001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385696425482125312,"note":"Value kept but may cause issues"} 
[2026-08-19 12:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":834080754524389376,"note":"Value kept but may cause issues"} 
[2026-08-19 12:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787121428000,"timestamp_ms":1787121428000,"timestamp_seconds":1787121428,"priority":1,"record_length":96,"hex_timestamp":"000001a018bce620"} 
[2026-08-19 12:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 12:09:15] 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-08-19 12:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503083776001,"66":27821,"118":206,"2":56576,"24":55,"16":385696425482125312,"45":834080754524389376},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 12:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503083776001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:09:15] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 12:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385696425482125312,"km_value":385696425482125.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":834080754524389376,"description":"Unknown IO ID 45"} 
[2026-08-19 12:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503083776001,"power":27821,"unknown_118":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":834080754524389376}} 
[2026-08-19 12:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":157910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:09:15] local.INFO: GPS data processed {"connection_id":157910,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:09:15] local.INFO: Acknowledgment sent {"connection_id":157910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:09:45] local.INFO: TCP Data received {"connection_id":158780,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018bbf7d8012d1825c00721b8f0005001652f..."} 
[2026-08-19 12:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018bbf7d8012d1825c00721b8f0005001652f..."} 
[2026-08-19 12:09:45] local.INFO: Processing buffer {"connection_id":158780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018bbf7d8012d1825c00721b8f0005001652f..."} 
[2026-08-19 12:09:45] local.INFO: Packet analysis {"connection_id":158780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018bb"} 
[2026-08-19 12:09:45] local.INFO: Extracted packet for processing {"connection_id":158780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018bb"} 
[2026-08-19 12:09:45] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650544,"longitude_deg":75.6557248,"latitude_deg":11.9650544,"altitude":80,"angle":357,"satellites":47,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b8f0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503064576001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696882635177984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911636992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:09:45] 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-08-19 12:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787121367000,"timestamp_ms":1787121367000,"timestamp_seconds":1787121367,"priority":1,"record_length":96,"hex_timestamp":"000001a018bbf7d8"} 
[2026-08-19 12:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:09:45] 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-08-19 12: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 12:09: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-08-19 12: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-08-19 12:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503064576001,"66":12885,"120":206,"28":31744,"24":0,"16":13696882635177984,"45":1740007967911636992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503064576001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:09:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:09:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696882635177984,"km_value":13696882635177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911636992,"description":"Unknown IO ID 45"} 
[2026-08-19 12:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503064576001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911636992}} 
[2026-08-19 12:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":158780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:09:45] local.INFO: GPS data processed {"connection_id":158780,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:09:45] local.INFO: Acknowledgment sent {"connection_id":158780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:10:01] local.INFO: TCP Data received {"connection_id":157535,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:10:01] local.INFO: Processing buffer {"connection_id":157535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:10:01] local.INFO: IMEI packet received {"connection_id":157535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":157535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:10:06] local.INFO: TCP Data received {"connection_id":157535,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:10:06] local.INFO: Processing buffer {"connection_id":157535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:10:06] local.INFO: IMEI packet received {"connection_id":157535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":157535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:10:07] local.INFO: TCP Data received {"connection_id":157535,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018be7c60012d0ade4006f117d0000f01372d..."} 
[2026-08-19 12:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018be7c60012d0ade4006f117d0000f01372d..."} 
[2026-08-19 12:10:07] local.INFO: Processing buffer {"connection_id":157535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018be7c60012d0ade4006f117d0000f01372d..."} 
[2026-08-19 12:10:07] local.INFO: Packet analysis {"connection_id":157535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018be"} 
[2026-08-19 12:10:07] local.INFO: Extracted packet for processing {"connection_id":157535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018be"} 
[2026-08-19 12:10:07] local.INFO: GPS Element Parsed {"raw_longitude":755686976,"raw_latitude":116463568,"longitude_deg":75.5686976,"latitude_deg":11.6463568,"altitude":15,"angle":311,"satellites":45,"speed":21,"hex_longitude":"2d0ade40","hex_latitude":"06f117d0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503108864001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385701854320787456,"note":"Value kept but may cause issues"} 
[2026-08-19 12:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790381764416606208,"note":"Value kept but may cause issues"} 
[2026-08-19 12:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787121532000,"timestamp_ms":1787121532000,"timestamp_seconds":1787121532,"priority":1,"record_length":96,"hex_timestamp":"000001a018be7c60"} 
[2026-08-19 12:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:10:07] 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-08-19 12: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-08-19 12:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503108864001,"66":27865,"118":206,"2":56576,"24":21,"16":385701854320787456,"45":790381764416606208},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 12:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503108864001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:10:07] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 12:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385701854320787456,"km_value":385701854320787.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":790381764416606208,"description":"Unknown IO ID 45"} 
[2026-08-19 12:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503108864001,"power":27865,"unknown_118":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":790381764416606208}} 
[2026-08-19 12:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":157535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:10:07] local.INFO: GPS data processed {"connection_id":157535,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:10:07] local.INFO: Acknowledgment sent {"connection_id":157535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:10:09] local.INFO: TCP Data received {"connection_id":160089,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:10:09] local.INFO: Processing buffer {"connection_id":160089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:10:09] local.INFO: IMEI packet received {"connection_id":160089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":160089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:10:10] local.INFO: TCP Data received {"connection_id":157535,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018be8c00012d0ad90006f11bc00010012b2d..."} 
[2026-08-19 12:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018be8c00012d0ad90006f11bc00010012b2d..."} 
[2026-08-19 12:10:10] local.INFO: Processing buffer {"connection_id":157535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018be8c00012d0ad90006f11bc00010012b2d..."} 
[2026-08-19 12:10:10] local.INFO: Packet analysis {"connection_id":157535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018be"} 
[2026-08-19 12:10:10] local.INFO: Extracted packet for processing {"connection_id":157535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018be"} 
[2026-08-19 12:10:10] local.INFO: GPS Element Parsed {"raw_longitude":755685632,"raw_latitude":116464576,"longitude_deg":75.5685632,"latitude_deg":11.6464576,"altitude":16,"angle":299,"satellites":45,"speed":11,"hex_longitude":"2d0ad900","hex_latitude":"06f11bc0","is_valid_coordinates":true} 
[2026-08-19 12:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503112192001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385701935925166080,"note":"Value kept but may cause issues"} 
[2026-08-19 12:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783133783767896064,"note":"Value kept but may cause issues"} 
[2026-08-19 12:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787121536000,"timestamp_ms":1787121536000,"timestamp_seconds":1787121536,"priority":1,"record_length":96,"hex_timestamp":"000001a018be8c00"} 
[2026-08-19 12:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 12:10: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-08-19 12:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503112192001,"66":27832,"118":206,"2":56576,"24":11,"16":385701935925166080,"45":783133783767896064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 12:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503112192001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:10:10] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 12:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385701935925166080,"km_value":385701935925166.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":783133783767896064,"description":"Unknown IO ID 45"} 
[2026-08-19 12:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503112192001,"power":27832,"unknown_118":206,"power_alt":56576,"ignition":11,"odometer":null,"unknown_45":783133783767896064}} 
[2026-08-19 12:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":157535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:10:10] local.INFO: GPS data processed {"connection_id":157535,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:10:10] local.INFO: Acknowledgment sent {"connection_id":157535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:10:14] local.INFO: TCP Data received {"connection_id":160089,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:10:14] local.INFO: Processing buffer {"connection_id":160089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:10:14] local.INFO: IMEI packet received {"connection_id":160089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":160089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:10:15] local.INFO: TCP Data received {"connection_id":160089,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018bc49e0012d1825c00721b8f0005001652f..."} 
[2026-08-19 12:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018bc49e0012d1825c00721b8f0005001652f..."} 
[2026-08-19 12:10:15] local.INFO: Processing buffer {"connection_id":160089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018bc49e0012d1825c00721b8f0005001652f..."} 
[2026-08-19 12:10:15] local.INFO: Packet analysis {"connection_id":160089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018bc"} 
[2026-08-19 12:10:15] local.INFO: Extracted packet for processing {"connection_id":160089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018bc"} 
[2026-08-19 12:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650544,"longitude_deg":75.6557248,"latitude_deg":11.9650544,"altitude":80,"angle":357,"satellites":47,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b8f0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503069952001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696882635177984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911636992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:10: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-08-19 12:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787121388000,"timestamp_ms":1787121388000,"timestamp_seconds":1787121388,"priority":1,"record_length":96,"hex_timestamp":"000001a018bc49e0"} 
[2026-08-19 12:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:10: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-08-19 12: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 12:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503069952001,"66":12841,"120":206,"28":31744,"24":0,"16":13696882635177984,"45":1740007967911636992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503069952001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:10:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:10:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696882635177984,"km_value":13696882635177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911636992,"description":"Unknown IO ID 45"} 
[2026-08-19 12:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503069952001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911636992}} 
[2026-08-19 12:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":160089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:10:15] local.INFO: GPS data processed {"connection_id":160089,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:10:15] local.INFO: Acknowledgment sent {"connection_id":160089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:10:42] local.INFO: TCP Data received {"connection_id":157535,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018be97b8012d0ad6c006f11d280010013930..."} 
[2026-08-19 12:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018be97b8012d0ad6c006f11d280010013930..."} 
[2026-08-19 12:10:42] local.INFO: Processing buffer {"connection_id":157535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018be97b8012d0ad6c006f11d280010013930..."} 
[2026-08-19 12:10:42] local.INFO: Packet analysis {"connection_id":157535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018be"} 
[2026-08-19 12:10:42] local.INFO: Extracted packet for processing {"connection_id":157535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018be"} 
[2026-08-19 12:10:42] local.INFO: GPS Element Parsed {"raw_longitude":755685056,"raw_latitude":116464936,"longitude_deg":75.5685056,"latitude_deg":11.6464936,"altitude":16,"angle":313,"satellites":48,"speed":7,"hex_longitude":"2d0ad6c0","hex_latitude":"06f11d28","is_valid_coordinates":true} 
[2026-08-19 12:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503113216001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385701970284904448,"note":"Value kept but may cause issues"} 
[2026-08-19 12:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":781656040140423168,"note":"Value kept but may cause issues"} 
[2026-08-19 12:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787121539000,"timestamp_ms":1787121539000,"timestamp_seconds":1787121539,"priority":1,"record_length":96,"hex_timestamp":"000001a018be97b8"} 
[2026-08-19 12:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 12:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503113216001,"66":27908,"118":206,"2":56576,"24":7,"16":385701970284904448,"45":781656040140423168},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 12:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503113216001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:10:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 12:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385701970284904448,"km_value":385701970284904.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":781656040140423168,"description":"Unknown IO ID 45"} 
[2026-08-19 12:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503113216001,"power":27908,"unknown_118":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":781656040140423168}} 
[2026-08-19 12:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":157535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:10:42] local.INFO: GPS data processed {"connection_id":157535,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:10:42] local.INFO: Acknowledgment sent {"connection_id":157535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:10:47] local.INFO: TCP Data received {"connection_id":160089,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018bc9be8012d1825c00721b8f0005001652e..."} 
[2026-08-19 12:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018bc9be8012d1825c00721b8f0005001652e..."} 
[2026-08-19 12:10:47] local.INFO: Processing buffer {"connection_id":160089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018bc9be8012d1825c00721b8f0005001652e..."} 
[2026-08-19 12:10:47] local.INFO: Packet analysis {"connection_id":160089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018bc"} 
[2026-08-19 12:10:47] local.INFO: Extracted packet for processing {"connection_id":160089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018bc"} 
[2026-08-19 12:10:47] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650544,"longitude_deg":75.6557248,"latitude_deg":11.9650544,"altitude":80,"angle":357,"satellites":46,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b8f0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503075328001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696882635177984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911636992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:10:47] 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-08-19 12:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787121409000,"timestamp_ms":1787121409000,"timestamp_seconds":1787121409,"priority":1,"record_length":96,"hex_timestamp":"000001a018bc9be8"} 
[2026-08-19 12:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:10:47] 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-08-19 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 12:10:47] 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-08-19 12: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-08-19 12:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503075328001,"66":12852,"120":206,"28":31744,"24":0,"16":13696882635177984,"45":1740007967911636992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503075328001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:10:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:10:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696882635177984,"km_value":13696882635177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911636992,"description":"Unknown IO ID 45"} 
[2026-08-19 12:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503075328001,"power":12852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911636992}} 
[2026-08-19 12:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":160089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:10:47] local.INFO: GPS data processed {"connection_id":160089,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:10:47] local.INFO: Acknowledgment sent {"connection_id":160089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:11:00] local.INFO: TCP Data received {"connection_id":158781,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:11:00] local.INFO: Processing buffer {"connection_id":158781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:11:00] local.INFO: IMEI packet received {"connection_id":158781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":158781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:11:01] local.INFO: TCP Data received {"connection_id":158781,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:11:01] local.INFO: Processing buffer {"connection_id":158781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:11:01] local.INFO: IMEI packet received {"connection_id":158781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":158781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:11:04] local.INFO: TCP Data received {"connection_id":158781,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:11:04] local.INFO: Processing buffer {"connection_id":158781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:11:04] local.INFO: IMEI packet received {"connection_id":158781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":158781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:11:05] local.INFO: TCP Data received {"connection_id":158781,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018beda20012d0abe4006f131400012012d2f..."} 
[2026-08-19 12:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018beda20012d0abe4006f131400012012d2f..."} 
[2026-08-19 12:11:05] local.INFO: Processing buffer {"connection_id":158781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018beda20012d0abe4006f131400012012d2f..."} 
[2026-08-19 12:11:05] local.INFO: Packet analysis {"connection_id":158781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018be"} 
[2026-08-19 12:11:05] local.INFO: Extracted packet for processing {"connection_id":158781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018be"} 
[2026-08-19 12:11:05] local.INFO: GPS Element Parsed {"raw_longitude":755678784,"raw_latitude":116470080,"longitude_deg":75.5678784,"latitude_deg":11.647008,"altitude":18,"angle":301,"satellites":47,"speed":26,"hex_longitude":"2d0abe40","hex_latitude":"06f13140","is_valid_coordinates":true} 
[2026-08-19 12:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503113984001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385702361126928384,"note":"Value kept but may cause issues"} 
[2026-08-19 12:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":781022721442916352,"note":"Value kept but may cause issues"} 
[2026-08-19 12:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787121556000,"timestamp_ms":1787121556000,"timestamp_seconds":1787121556,"priority":1,"record_length":96,"hex_timestamp":"000001a018beda20"} 
[2026-08-19 12:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:11: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-08-19 12:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503113984001,"66":27876,"118":206,"2":56576,"24":26,"16":385702361126928384,"45":781022721442916352},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 12:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503113984001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:11:05] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 12:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385702361126928384,"km_value":385702361126928.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":781022721442916352,"description":"Unknown IO ID 45"} 
[2026-08-19 12:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503113984001,"power":27876,"unknown_118":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":781022721442916352}} 
[2026-08-19 12:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":158781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:11:05] local.INFO: GPS data processed {"connection_id":158781,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:11:05] local.INFO: Acknowledgment sent {"connection_id":158781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:11:06] local.INFO: TCP Data received {"connection_id":158781,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018bf0900012d0a9f0006f143900013012c2f..."} 
[2026-08-19 12:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018bf0900012d0a9f0006f143900013012c2f..."} 
[2026-08-19 12:11:06] local.INFO: Processing buffer {"connection_id":158781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018bf0900012d0a9f0006f143900013012c2f..."} 
[2026-08-19 12:11:06] local.INFO: Packet analysis {"connection_id":158781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018bf"} 
[2026-08-19 12:11:06] local.INFO: Extracted packet for processing {"connection_id":158781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018bf"} 
[2026-08-19 12:11:06] local.INFO: GPS Element Parsed {"raw_longitude":755670784,"raw_latitude":116474768,"longitude_deg":75.5670784,"latitude_deg":11.6474768,"altitude":19,"angle":300,"satellites":47,"speed":34,"hex_longitude":"2d0a9f00","hex_latitude":"06f14390","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503118336001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385702803508559872,"note":"Value kept but may cause issues"} 
[2026-08-19 12:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":774126584514822144,"note":"Value kept but may cause issues"} 
[2026-08-19 12:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787121568000,"timestamp_ms":1787121568000,"timestamp_seconds":1787121568,"priority":1,"record_length":96,"hex_timestamp":"000001a018bf0900"} 
[2026-08-19 12:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 12:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503118336001,"66":27908,"118":206,"2":56576,"24":34,"16":385702803508559872,"45":774126584514822144},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 12:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503118336001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:11:06] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 12:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385702803508559872,"km_value":385702803508559.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":774126584514822144,"description":"Unknown IO ID 45"} 
[2026-08-19 12:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503118336001,"power":27908,"unknown_118":206,"power_alt":56576,"ignition":34,"odometer":null,"unknown_45":774126584514822144}} 
[2026-08-19 12:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":158781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:11:06] local.INFO: GPS data processed {"connection_id":158781,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:11:06] local.INFO: Acknowledgment sent {"connection_id":158781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:11:09] local.INFO: TCP Data received {"connection_id":157911,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:11:09] local.INFO: Processing buffer {"connection_id":157911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:11:09] local.INFO: IMEI packet received {"connection_id":157911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":157911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:11:14] local.INFO: TCP Data received {"connection_id":157911,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:11:14] local.INFO: Processing buffer {"connection_id":157911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:11:14] local.INFO: IMEI packet received {"connection_id":157911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":157911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:11:15] local.INFO: TCP Data received {"connection_id":157911,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018bcedf0012d1825c00721b8f0005001652f..."} 
[2026-08-19 12:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018bcedf0012d1825c00721b8f0005001652f..."} 
[2026-08-19 12:11:15] local.INFO: Processing buffer {"connection_id":157911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018bcedf0012d1825c00721b8f0005001652f..."} 
[2026-08-19 12:11:15] local.INFO: Packet analysis {"connection_id":157911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018bc"} 
[2026-08-19 12:11:15] local.INFO: Extracted packet for processing {"connection_id":157911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018bc"} 
[2026-08-19 12:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650544,"longitude_deg":75.6557248,"latitude_deg":11.9650544,"altitude":80,"angle":357,"satellites":47,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b8f0","is_valid_coordinates":true} 
[2026-08-19 12:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503080704001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696882635177984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911636992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:11: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-08-19 12:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787121430000,"timestamp_ms":1787121430000,"timestamp_seconds":1787121430,"priority":1,"record_length":96,"hex_timestamp":"000001a018bcedf0"} 
[2026-08-19 12:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:11: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-08-19 12:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-19 12:11:15] 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-08-19 12:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503080704001,"66":12841,"120":206,"28":31744,"24":0,"16":13696882635177984,"45":1740007967911636992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503080704001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:11:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:11:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696882635177984,"km_value":13696882635177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911636992,"description":"Unknown IO ID 45"} 
[2026-08-19 12:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503080704001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911636992}} 
[2026-08-19 12:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":157911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:11:15] local.INFO: GPS data processed {"connection_id":157911,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:11:15] local.INFO: Acknowledgment sent {"connection_id":157911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:11:38] local.INFO: TCP Data received {"connection_id":158781,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018bf33f8012d0a7f0006f156800014012e2f..."} 
[2026-08-19 12:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018bf33f8012d0a7f0006f156800014012e2f..."} 
[2026-08-19 12:11:38] local.INFO: Processing buffer {"connection_id":158781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018bf33f8012d0a7f0006f156800014012e2f..."} 
[2026-08-19 12:11:38] local.INFO: Packet analysis {"connection_id":158781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018bf"} 
[2026-08-19 12:11:38] local.INFO: Extracted packet for processing {"connection_id":158781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018bf"} 
[2026-08-19 12:11:38] local.INFO: GPS Element Parsed {"raw_longitude":755662592,"raw_latitude":116479616,"longitude_deg":75.5662592,"latitude_deg":11.6479616,"altitude":20,"angle":302,"satellites":47,"speed":30,"hex_longitude":"2d0a7f00","hex_latitude":"06f15680","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503121408001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385703254480125952,"note":"Value kept but may cause issues"} 
[2026-08-19 12:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765330491493814272,"note":"Value kept but may cause issues"} 
[2026-08-19 12:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787121579000,"timestamp_ms":1787121579000,"timestamp_seconds":1787121579,"priority":1,"record_length":96,"hex_timestamp":"000001a018bf33f8"} 
[2026-08-19 12:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:11: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-08-19 12:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:11:38] 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-08-19 12: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-08-19 12:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503121408001,"66":27865,"119":206,"2":56576,"24":30,"16":385703254480125952,"45":765330491493814272},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 12:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503121408001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:11:38] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 12:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385703254480125952,"km_value":385703254480125.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":765330491493814272,"description":"Unknown IO ID 45"} 
[2026-08-19 12:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503121408001,"power":27865,"unknown_119":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":765330491493814272}} 
[2026-08-19 12:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":158781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:11:38] local.INFO: GPS data processed {"connection_id":158781,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:11:38] local.INFO: Acknowledgment sent {"connection_id":158781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:11:49] local.INFO: TCP Data received {"connection_id":157911,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018bd3ff8012d1825c00721b8f0005001652e..."} 
[2026-08-19 12:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018bd3ff8012d1825c00721b8f0005001652e..."} 
[2026-08-19 12:11:49] local.INFO: Processing buffer {"connection_id":157911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018bd3ff8012d1825c00721b8f0005001652e..."} 
[2026-08-19 12:11:49] local.INFO: Packet analysis {"connection_id":157911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018bd"} 
[2026-08-19 12:11:49] local.INFO: Extracted packet for processing {"connection_id":157911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018bd"} 
[2026-08-19 12:11:49] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650544,"longitude_deg":75.6557248,"latitude_deg":11.9650544,"altitude":80,"angle":357,"satellites":46,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b8f0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503086080001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696882635177984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911636992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:11:49] 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-08-19 12:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787121451000,"timestamp_ms":1787121451000,"timestamp_seconds":1787121451,"priority":1,"record_length":96,"hex_timestamp":"000001a018bd3ff8"} 
[2026-08-19 12:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:11:49] 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-08-19 12:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 12:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":157911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":157911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":157911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503086080001,"66":12722,"120":206,"28":31744,"24":0,"16":13696882635177984,"45":1740007967911636992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503086080001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:11:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:11:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696882635177984,"km_value":13696882635177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911636992,"description":"Unknown IO ID 45"} 
[2026-08-19 12:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503086080001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740007967911636992}} 
[2026-08-19 12:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":157911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:11:49] local.INFO: GPS data processed {"connection_id":157911,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:11:49] local.INFO: Acknowledgment sent {"connection_id":157911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:11:59] local.INFO: TCP Data received {"connection_id":158782,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:11:59] local.INFO: Processing buffer {"connection_id":158782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:11:59] local.INFO: IMEI packet received {"connection_id":158782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":158782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:12:04] local.INFO: TCP Data received {"connection_id":158782,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:12:04] local.INFO: Processing buffer {"connection_id":158782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:12:04] local.INFO: IMEI packet received {"connection_id":158782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":158782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:12:05] local.INFO: TCP Data received {"connection_id":158782,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018bf62d8012d0a610006f16a680014012e2b..."} 
[2026-08-19 12:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018bf62d8012d0a610006f16a680014012e2b..."} 
[2026-08-19 12:12:05] local.INFO: Processing buffer {"connection_id":158782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018bf62d8012d0a610006f16a680014012e2b..."} 
[2026-08-19 12:12:05] local.INFO: Packet analysis {"connection_id":158782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018bf"} 
[2026-08-19 12:12:05] local.INFO: Extracted packet for processing {"connection_id":158782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018bf"} 
[2026-08-19 12:12:05] local.INFO: GPS Element Parsed {"raw_longitude":755654912,"raw_latitude":116484712,"longitude_deg":75.5654912,"latitude_deg":11.6484712,"altitude":20,"angle":302,"satellites":43,"speed":31,"hex_longitude":"2d0a6100","hex_latitude":"06f16a68","is_valid_coordinates":true} 
[2026-08-19 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-08-19 12:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503124224001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385703696861757440,"note":"Value kept but may cause issues"} 
[2026-08-19 12:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756323292240314368,"note":"Value kept but may cause issues"} 
[2026-08-19 12:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787121591000,"timestamp_ms":1787121591000,"timestamp_seconds":1787121591,"priority":1,"record_length":96,"hex_timestamp":"000001a018bf62d8"} 
[2026-08-19 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-08-19 12:12: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-08-19 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 12:12:05] 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-08-19 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-08-19 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-08-19 12:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503124224001,"66":27800,"119":206,"2":56576,"24":31,"16":385703696861757440,"45":756323292240314368},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 12:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503124224001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:12:05] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 12:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385703696861757440,"km_value":385703696861757.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":756323292240314368,"description":"Unknown IO ID 45"} 
[2026-08-19 12:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503124224001,"power":27800,"unknown_119":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":756323292240314368}} 
[2026-08-19 12:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":158782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:12:05] local.INFO: GPS data processed {"connection_id":158782,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:12:05] local.INFO: Acknowledgment sent {"connection_id":158782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:12:14] local.INFO: TCP Data received {"connection_id":157536,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:12:14] local.INFO: Processing buffer {"connection_id":157536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:12:14] local.INFO: IMEI packet received {"connection_id":157536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":157536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:12:19] local.INFO: TCP Data received {"connection_id":157536,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:12:19] local.INFO: Processing buffer {"connection_id":157536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:12:19] local.INFO: IMEI packet received {"connection_id":157536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":157536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:12:20] local.INFO: TCP Data received {"connection_id":157536,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c04568012d1823800721b650004d00c02f..."} 
[2026-08-19 12:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c04568012d1823800721b650004d00c02f..."} 
[2026-08-19 12:12:20] local.INFO: Processing buffer {"connection_id":157536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c04568012d1823800721b650004d00c02f..."} 
[2026-08-19 12:12:20] local.INFO: Packet analysis {"connection_id":157536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c0"} 
[2026-08-19 12:12:20] local.INFO: Extracted packet for processing {"connection_id":157536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c0"} 
[2026-08-19 12:12:20] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649872,"longitude_deg":75.6556672,"latitude_deg":11.9649872,"altitude":77,"angle":192,"satellites":47,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b650","is_valid_coordinates":true} 
[2026-08-19 12:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503136768001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696929879818240,"note":"Value kept but may cause issues"} 
[2026-08-19 12:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213865984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:12:20] 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-08-19 12:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787121649000,"timestamp_ms":1787121649000,"timestamp_seconds":1787121649,"priority":1,"record_length":96,"hex_timestamp":"000001a018c04568"} 
[2026-08-19 12:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:12: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-08-19 12:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 12:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503136768001,"66":12689,"120":206,"28":31744,"24":0,"16":13696929879818240,"45":1739374649213865984},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503136768001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:12:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:12:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696929879818240,"km_value":13696929879818.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213865984,"description":"Unknown IO ID 45"} 
[2026-08-19 12:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503136768001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213865984}} 
[2026-08-19 12:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":157536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:12:20] local.INFO: GPS data processed {"connection_id":157536,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:12:20] local.INFO: Acknowledgment sent {"connection_id":157536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:12:24] local.INFO: TCP Data received {"connection_id":157536,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c09770012d1823800721b650004d00c02f..."} 
[2026-08-19 12:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c09770012d1823800721b650004d00c02f..."} 
[2026-08-19 12:12:24] local.INFO: Processing buffer {"connection_id":157536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c09770012d1823800721b650004d00c02f..."} 
[2026-08-19 12:12:24] local.INFO: Packet analysis {"connection_id":157536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c0"} 
[2026-08-19 12:12:24] local.INFO: Extracted packet for processing {"connection_id":157536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c0"} 
[2026-08-19 12:12:24] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649872,"longitude_deg":75.6556672,"latitude_deg":11.9649872,"altitude":77,"angle":192,"satellites":47,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b650","is_valid_coordinates":true} 
[2026-08-19 12:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503142144001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696929879818240,"note":"Value kept but may cause issues"} 
[2026-08-19 12:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213865984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:12:24] 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-08-19 12:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787121670000,"timestamp_ms":1787121670000,"timestamp_seconds":1787121670,"priority":1,"record_length":96,"hex_timestamp":"000001a018c09770"} 
[2026-08-19 12:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:12: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-08-19 12:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 12:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":157536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":157536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":157536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503142144001,"66":12667,"120":206,"28":31744,"24":0,"16":13696929879818240,"45":1739374649213865984},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503142144001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:12:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:12:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696929879818240,"km_value":13696929879818.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213865984,"description":"Unknown IO ID 45"} 
[2026-08-19 12:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503142144001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213865984}} 
[2026-08-19 12:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":157536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:12:24] local.INFO: GPS data processed {"connection_id":157536,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:12:24] local.INFO: Acknowledgment sent {"connection_id":157536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:12:37] local.INFO: TCP Data received {"connection_id":158782,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018bf89e8012d0a420006f17eb00013012d29..."} 
[2026-08-19 12:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018bf89e8012d0a420006f17eb00013012d29..."} 
[2026-08-19 12:12:37] local.INFO: Processing buffer {"connection_id":158782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018bf89e8012d0a420006f17eb00013012d29..."} 
[2026-08-19 12:12:37] local.INFO: Packet analysis {"connection_id":158782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018bf"} 
[2026-08-19 12:12:37] local.INFO: Extracted packet for processing {"connection_id":158782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018bf"} 
[2026-08-19 12:12:37] local.INFO: GPS Element Parsed {"raw_longitude":755646976,"raw_latitude":116489904,"longitude_deg":75.5646976,"latitude_deg":11.6489904,"altitude":19,"angle":301,"satellites":41,"speed":41,"hex_longitude":"2d0a4200","hex_latitude":"06f17eb0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503127296001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385704152128290816,"note":"Value kept but may cause issues"} 
[2026-08-19 12:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":747879042940299264,"note":"Value kept but may cause issues"} 
[2026-08-19 12:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787121601000,"timestamp_ms":1787121601000,"timestamp_seconds":1787121601,"priority":1,"record_length":96,"hex_timestamp":"000001a018bf89e8"} 
[2026-08-19 12:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 12:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503127296001,"66":27865,"119":206,"2":56576,"24":41,"16":385704152128290816,"45":747879042940299264},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 12:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503127296001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:12:37] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 12:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385704152128290816,"km_value":385704152128290.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":747879042940299264,"description":"Unknown IO ID 45"} 
[2026-08-19 12:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503127296001,"power":27865,"unknown_119":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":747879042940299264}} 
[2026-08-19 12:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":158782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:12:37] local.INFO: GPS data processed {"connection_id":158782,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:12:37] local.INFO: Acknowledgment sent {"connection_id":158782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:12:59] local.INFO: TCP Data received {"connection_id":157912,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:12:59] local.INFO: Processing buffer {"connection_id":157912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:12:59] local.INFO: IMEI packet received {"connection_id":157912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":157912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:13:02] local.INFO: TCP Data received {"connection_id":157912,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:13:02] local.INFO: Processing buffer {"connection_id":157912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:13:02] local.INFO: IMEI packet received {"connection_id":157912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":157912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:13:04] local.INFO: TCP Data received {"connection_id":157912,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:13:04] local.INFO: Processing buffer {"connection_id":157912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:13:04] local.INFO: IMEI packet received {"connection_id":157912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":157912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:13:07] local.INFO: TCP Data received {"connection_id":157912,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c13798012d09b58006f276e0000b015927..."} 
[2026-08-19 12:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c13798012d09b58006f276e0000b015927..."} 
[2026-08-19 12:13:07] local.INFO: Processing buffer {"connection_id":157912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c13798012d09b58006f276e0000b015927..."} 
[2026-08-19 12:13:07] local.INFO: Packet analysis {"connection_id":157912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c1"} 
[2026-08-19 12:13:07] local.INFO: Extracted packet for processing {"connection_id":157912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c1"} 
[2026-08-19 12:13:07] local.INFO: GPS Element Parsed {"raw_longitude":755611008,"raw_latitude":116553440,"longitude_deg":75.5611008,"latitude_deg":11.655344,"altitude":11,"angle":345,"satellites":39,"speed":15,"hex_longitude":"2d09b580","hex_latitude":"06f276e0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503152896001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385707841505198080,"note":"Value kept but may cause issues"} 
[2026-08-19 12:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702139359240128512,"note":"Value kept but may cause issues"} 
[2026-08-19 12:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787121711000,"timestamp_ms":1787121711000,"timestamp_seconds":1787121711,"priority":1,"record_length":96,"hex_timestamp":"000001a018c13798"} 
[2026-08-19 12:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:13: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-08-19 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 12:13:07] 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-08-19 12: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-08-19 12:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503152896001,"66":27908,"119":206,"2":56576,"24":15,"16":385707841505198080,"45":702139359240128512},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 12:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503152896001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:13:07] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 12:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385707841505198080,"km_value":385707841505198.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":702139359240128512,"description":"Unknown IO ID 45"} 
[2026-08-19 12:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503152896001,"power":27908,"unknown_119":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":702139359240128512}} 
[2026-08-19 12:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":157912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:13:07] local.INFO: GPS data processed {"connection_id":157912,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:13:07] local.INFO: Acknowledgment sent {"connection_id":157912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:13:09] local.INFO: TCP Data received {"connection_id":157537,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:13:09] local.INFO: Processing buffer {"connection_id":157537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:13:09] local.INFO: IMEI packet received {"connection_id":157537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":157537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:13:12] local.INFO: TCP Data received {"connection_id":157537,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:13:12] local.INFO: Processing buffer {"connection_id":157537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:13:12] local.INFO: IMEI packet received {"connection_id":157537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":157537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:13:13] local.INFO: TCP Data received {"connection_id":157537,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c0e978012d1823800721b650004d00c02e..."} 
[2026-08-19 12:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c0e978012d1823800721b650004d00c02e..."} 
[2026-08-19 12:13:13] local.INFO: Processing buffer {"connection_id":157537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c0e978012d1823800721b650004d00c02e..."} 
[2026-08-19 12:13:13] local.INFO: Packet analysis {"connection_id":157537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c0"} 
[2026-08-19 12:13:13] local.INFO: Extracted packet for processing {"connection_id":157537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c0"} 
[2026-08-19 12:13:13] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649872,"longitude_deg":75.6556672,"latitude_deg":11.9649872,"altitude":77,"angle":192,"satellites":46,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b650","is_valid_coordinates":true} 
[2026-08-19 12:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503147520001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696929879818240,"note":"Value kept but may cause issues"} 
[2026-08-19 12:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213865984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:13:13] 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-08-19 12:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787121691000,"timestamp_ms":1787121691000,"timestamp_seconds":1787121691,"priority":1,"record_length":96,"hex_timestamp":"000001a018c0e978"} 
[2026-08-19 12:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:13:13] 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-08-19 12:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-19 12:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503147520001,"66":12591,"120":206,"28":31744,"24":0,"16":13696929879818240,"45":1739374649213865984},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503147520001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:13:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:13:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696929879818240,"km_value":13696929879818.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213865984,"description":"Unknown IO ID 45"} 
[2026-08-19 12:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503147520001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213865984}} 
[2026-08-19 12:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":157537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:13:13] local.INFO: GPS data processed {"connection_id":157537,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:13:13] local.INFO: Acknowledgment sent {"connection_id":157537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:13:38] local.INFO: TCP Data received {"connection_id":157912,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c181d0012d09ad4006f298b0000f015d2a..."} 
[2026-08-19 12:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c181d0012d09ad4006f298b0000f015d2a..."} 
[2026-08-19 12:13:38] local.INFO: Processing buffer {"connection_id":157912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c181d0012d09ad4006f298b0000f015d2a..."} 
[2026-08-19 12:13:38] local.INFO: Packet analysis {"connection_id":157912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c1"} 
[2026-08-19 12:13:38] local.INFO: Extracted packet for processing {"connection_id":157912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c1"} 
[2026-08-19 12:13:38] local.INFO: GPS Element Parsed {"raw_longitude":755608896,"raw_latitude":116562096,"longitude_deg":75.5608896,"latitude_deg":11.6562096,"altitude":15,"angle":349,"satellites":42,"speed":18,"hex_longitude":"2d09ad40","hex_latitude":"06f298b0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503158016001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385708275296894976,"note":"Value kept but may cause issues"} 
[2026-08-19 12:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":699606084452016128,"note":"Value kept but may cause issues"} 
[2026-08-19 12:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787121730000,"timestamp_ms":1787121730000,"timestamp_seconds":1787121730,"priority":1,"record_length":96,"hex_timestamp":"000001a018c181d0"} 
[2026-08-19 12:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:13: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-08-19 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:13:38] 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-08-19 12: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-08-19 12:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503158016001,"66":27887,"119":206,"2":56576,"24":18,"16":385708275296894976,"45":699606084452016128},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 12:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503158016001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:13:38] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 12:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385708275296894976,"km_value":385708275296895.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":699606084452016128,"description":"Unknown IO ID 45"} 
[2026-08-19 12:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503158016001,"power":27887,"unknown_119":206,"power_alt":56576,"ignition":18,"odometer":null,"unknown_45":699606084452016128}} 
[2026-08-19 12:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":157912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:13:38] local.INFO: GPS data processed {"connection_id":157912,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:13:38] local.INFO: Acknowledgment sent {"connection_id":157912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:13:45] local.INFO: TCP Data received {"connection_id":157537,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c13b80012d1823800721b650004d00c02f..."} 
[2026-08-19 12:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c13b80012d1823800721b650004d00c02f..."} 
[2026-08-19 12:13:45] local.INFO: Processing buffer {"connection_id":157537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c13b80012d1823800721b650004d00c02f..."} 
[2026-08-19 12:13:45] local.INFO: Packet analysis {"connection_id":157537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c1"} 
[2026-08-19 12:13:45] local.INFO: Extracted packet for processing {"connection_id":157537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c1"} 
[2026-08-19 12:13:45] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649872,"longitude_deg":75.6556672,"latitude_deg":11.9649872,"altitude":77,"angle":192,"satellites":47,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b650","is_valid_coordinates":true} 
[2026-08-19 12:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503152896001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696929879818240,"note":"Value kept but may cause issues"} 
[2026-08-19 12:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213865984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:13:45] 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-08-19 12:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787121712000,"timestamp_ms":1787121712000,"timestamp_seconds":1787121712,"priority":1,"record_length":96,"hex_timestamp":"000001a018c13b80"} 
[2026-08-19 12:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:13:45] 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-08-19 12:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 12:13:45] 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-08-19 12:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503152896001,"66":12645,"120":206,"28":31744,"24":0,"16":13696929879818240,"45":1739374649213865984},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503152896001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:13:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:13:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696929879818240,"km_value":13696929879818.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213865984,"description":"Unknown IO ID 45"} 
[2026-08-19 12:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503152896001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213865984}} 
[2026-08-19 12:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":157537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:13:45] local.INFO: GPS data processed {"connection_id":157537,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:13:45] local.INFO: Acknowledgment sent {"connection_id":157537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:13:59] local.INFO: TCP Data received {"connection_id":157913,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:13:59] local.INFO: Processing buffer {"connection_id":157913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:13:59] local.INFO: IMEI packet received {"connection_id":157913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":157913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:14:05] local.INFO: TCP Data received {"connection_id":157913,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:14:05] local.INFO: Processing buffer {"connection_id":157913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:14:05] local.INFO: IMEI packet received {"connection_id":157913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":157913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:14:06] local.INFO: TCP Data received {"connection_id":157913,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c18d88012d09ad0006f29e400010000529..."} 
[2026-08-19 12:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c18d88012d09ad0006f29e400010000529..."} 
[2026-08-19 12:14:06] local.INFO: Processing buffer {"connection_id":157913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c18d88012d09ad0006f29e400010000529..."} 
[2026-08-19 12:14:06] local.INFO: Packet analysis {"connection_id":157913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c1"} 
[2026-08-19 12:14:06] local.INFO: Extracted packet for processing {"connection_id":157913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c1"} 
[2026-08-19 12:14:06] local.INFO: GPS Element Parsed {"raw_longitude":755608832,"raw_latitude":116563520,"longitude_deg":75.5608832,"latitude_deg":11.656352,"altitude":16,"angle":5,"satellites":41,"speed":19,"hex_longitude":"2d09ad00","hex_latitude":"06f29e40","is_valid_coordinates":true} 
[2026-08-19 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-08-19 12:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503162880001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385708344016371712,"note":"Value kept but may cause issues"} 
[2026-08-19 12:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697283915896369152,"note":"Value kept but may cause issues"} 
[2026-08-19 12:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787121733000,"timestamp_ms":1787121733000,"timestamp_seconds":1787121733,"priority":1,"record_length":96,"hex_timestamp":"000001a018c18d88"} 
[2026-08-19 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-08-19 12:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 12:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 12:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503162880001,"66":27876,"119":206,"2":56576,"24":19,"16":385708344016371712,"45":697283915896369152},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 12:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503162880001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:14:06] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 12:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385708344016371712,"km_value":385708344016371.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":697283915896369152,"description":"Unknown IO ID 45"} 
[2026-08-19 12:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503162880001,"power":27876,"unknown_119":206,"power_alt":56576,"ignition":19,"odometer":null,"unknown_45":697283915896369152}} 
[2026-08-19 12:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":157913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:14:06] local.INFO: GPS data processed {"connection_id":157913,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:14:06] local.INFO: Acknowledgment sent {"connection_id":157913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:14:09] local.INFO: TCP Data received {"connection_id":157914,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:14:09] local.INFO: Processing buffer {"connection_id":157914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:14:09] local.INFO: IMEI packet received {"connection_id":157914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":157914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:14:14] local.INFO: TCP Data received {"connection_id":157914,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:14:14] local.INFO: Processing buffer {"connection_id":157914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:14:14] local.INFO: IMEI packet received {"connection_id":157914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":157914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:14:15] local.INFO: TCP Data received {"connection_id":157914,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c18d88012d1823800721b650004d00c02f..."} 
[2026-08-19 12:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c18d88012d1823800721b650004d00c02f..."} 
[2026-08-19 12:14:15] local.INFO: Processing buffer {"connection_id":157914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c18d88012d1823800721b650004d00c02f..."} 
[2026-08-19 12:14:15] local.INFO: Packet analysis {"connection_id":157914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c1"} 
[2026-08-19 12:14:15] local.INFO: Extracted packet for processing {"connection_id":157914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c1"} 
[2026-08-19 12:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649872,"longitude_deg":75.6556672,"latitude_deg":11.9649872,"altitude":77,"angle":192,"satellites":47,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b650","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503158272001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696929879818240,"note":"Value kept but may cause issues"} 
[2026-08-19 12:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213865984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:14: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-08-19 12:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787121733000,"timestamp_ms":1787121733000,"timestamp_seconds":1787121733,"priority":1,"record_length":96,"hex_timestamp":"000001a018c18d88"} 
[2026-08-19 12:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:14: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-08-19 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-19 12:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503158272001,"66":12613,"120":206,"28":31744,"24":0,"16":13696929879818240,"45":1739374649213865984},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503158272001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:14:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:14:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696929879818240,"km_value":13696929879818.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213865984,"description":"Unknown IO ID 45"} 
[2026-08-19 12:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503158272001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213865984}} 
[2026-08-19 12:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":157914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:14:16] local.INFO: GPS data processed {"connection_id":157914,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:14:16] local.INFO: Acknowledgment sent {"connection_id":157914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:14:38] local.INFO: TCP Data received {"connection_id":157913,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c19558012d09adc006f2a1c8001000112b..."} 
[2026-08-19 12:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c19558012d09adc006f2a1c8001000112b..."} 
[2026-08-19 12:14:38] local.INFO: Processing buffer {"connection_id":157913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c19558012d09adc006f2a1c8001000112b..."} 
[2026-08-19 12:14:38] local.INFO: Packet analysis {"connection_id":157913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c1"} 
[2026-08-19 12:14:38] local.INFO: Extracted packet for processing {"connection_id":157913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c1"} 
[2026-08-19 12:14:38] local.INFO: GPS Element Parsed {"raw_longitude":755609024,"raw_latitude":116564424,"longitude_deg":75.5609024,"latitude_deg":11.6564424,"altitude":16,"angle":17,"satellites":43,"speed":18,"hex_longitude":"2d09adc0","hex_latitude":"06f2a1c8","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503163648001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385708391261011968,"note":"Value kept but may cause issues"} 
[2026-08-19 12:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697213547152556032,"note":"Value kept but may cause issues"} 
[2026-08-19 12:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787121735000,"timestamp_ms":1787121735000,"timestamp_seconds":1787121735,"priority":1,"record_length":96,"hex_timestamp":"000001a018c19558"} 
[2026-08-19 12:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:14: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-08-19 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 12:14:38] 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-08-19 12: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-08-19 12:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503163648001,"66":27484,"119":206,"2":56576,"24":18,"16":385708391261011968,"45":697213547152556032},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 12:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503163648001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:14:38] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 12:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385708391261011968,"km_value":385708391261011.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":697213547152556032,"description":"Unknown IO ID 45"} 
[2026-08-19 12:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503163648001,"power":27484,"unknown_119":206,"power_alt":56576,"ignition":18,"odometer":null,"unknown_45":697213547152556032}} 
[2026-08-19 12:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":157913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:14:38] local.INFO: GPS data processed {"connection_id":157913,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:14:38] local.INFO: Acknowledgment sent {"connection_id":157913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:14:47] local.INFO: TCP Data received {"connection_id":157914,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c1df90012d1823800721b650004d00c02d..."} 
[2026-08-19 12:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c1df90012d1823800721b650004d00c02d..."} 
[2026-08-19 12:14:47] local.INFO: Processing buffer {"connection_id":157914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c1df90012d1823800721b650004d00c02d..."} 
[2026-08-19 12:14:47] local.INFO: Packet analysis {"connection_id":157914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c1"} 
[2026-08-19 12:14:47] local.INFO: Extracted packet for processing {"connection_id":157914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c1"} 
[2026-08-19 12:14:47] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649872,"longitude_deg":75.6556672,"latitude_deg":11.9649872,"altitude":77,"angle":192,"satellites":45,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b650","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503163648001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696929879818240,"note":"Value kept but may cause issues"} 
[2026-08-19 12:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213865984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:14:47] 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-08-19 12:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787121754000,"timestamp_ms":1787121754000,"timestamp_seconds":1787121754,"priority":1,"record_length":96,"hex_timestamp":"000001a018c1df90"} 
[2026-08-19 12:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:14:47] 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-08-19 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-19 12:14:47] 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-08-19 12: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-08-19 12:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503163648001,"66":12591,"120":206,"28":31744,"24":0,"16":13696929879818240,"45":1739374649213865984},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503163648001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:14:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:14:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696929879818240,"km_value":13696929879818.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213865984,"description":"Unknown IO ID 45"} 
[2026-08-19 12:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503163648001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213865984}} 
[2026-08-19 12:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":157914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:14:47] local.INFO: GPS data processed {"connection_id":157914,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:14:47] local.INFO: Acknowledgment sent {"connection_id":157914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:15:01] local.INFO: TCP Data received {"connection_id":157915,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:15:01] local.INFO: Processing buffer {"connection_id":157915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:15:01] local.INFO: IMEI packet received {"connection_id":157915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":157915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:15:04] local.INFO: TCP Data received {"connection_id":157915,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:15:04] local.INFO: Processing buffer {"connection_id":157915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:15:04] local.INFO: IMEI packet received {"connection_id":157915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":157915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:15:08] local.INFO: TCP Data received {"connection_id":158783,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:15:08] local.INFO: Processing buffer {"connection_id":158783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:15:08] local.INFO: IMEI packet received {"connection_id":158783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":158783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:15:09] local.INFO: TCP Data received {"connection_id":158783,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:15:09] local.INFO: Processing buffer {"connection_id":158783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:15:09] local.INFO: IMEI packet received {"connection_id":158783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":158783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:15:09] local.INFO: TCP Data received {"connection_id":157915,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:15:09] local.INFO: Processing buffer {"connection_id":157915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:15:09] local.INFO: IMEI packet received {"connection_id":157915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":157915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:15:10] local.INFO: TCP Data received {"connection_id":157915,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c32b98012d098e4006f3b6d8001401612d..."} 
[2026-08-19 12:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c32b98012d098e4006f3b6d8001401612d..."} 
[2026-08-19 12:15:10] local.INFO: Processing buffer {"connection_id":157915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c32b98012d098e4006f3b6d8001401612d..."} 
[2026-08-19 12:15:10] local.INFO: Packet analysis {"connection_id":157915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:15:10] local.INFO: Extracted packet for processing {"connection_id":157915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:15:10] local.INFO: GPS Element Parsed {"raw_longitude":755600960,"raw_latitude":116635352,"longitude_deg":75.560096,"latitude_deg":11.6635352,"altitude":20,"angle":353,"satellites":45,"speed":30,"hex_longitude":"2d098e40","hex_latitude":"06f3b6d8","is_valid_coordinates":true} 
[2026-08-19 12:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503187712001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385711870184521728,"note":"Value kept but may cause issues"} 
[2026-08-19 12:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":690669253960036352,"note":"Value kept but may cause issues"} 
[2026-08-19 12:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787121839000,"timestamp_ms":1787121839000,"timestamp_seconds":1787121839,"priority":1,"record_length":96,"hex_timestamp":"000001a018c32b98"} 
[2026-08-19 12:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:15: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-08-19 12:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 12:15:10] 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-08-19 12:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503187712001,"66":27908,"67":206,"2":56576,"24":30,"16":385711870184521728,"45":690669253960036352},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-19 12:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503187712001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:15:10] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 12:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385711870184521728,"km_value":385711870184521.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":690669253960036352,"description":"Unknown IO ID 45"} 
[2026-08-19 12:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503187712001,"power":27908,"unknown_67":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":690669253960036352}} 
[2026-08-19 12:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":157915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:15:10] local.INFO: GPS data processed {"connection_id":157915,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:15:10] local.INFO: Acknowledgment sent {"connection_id":157915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:15:11] local.INFO: TCP Data received {"connection_id":157915,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c34ad8012d0987c006f3d170001201552f..."} 
[2026-08-19 12:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c34ad8012d0987c006f3d170001201552f..."} 
[2026-08-19 12:15:11] local.INFO: Processing buffer {"connection_id":157915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c34ad8012d0987c006f3d170001201552f..."} 
[2026-08-19 12:15:11] local.INFO: Packet analysis {"connection_id":157915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:15:11] local.INFO: Extracted packet for processing {"connection_id":157915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:15:11] local.INFO: GPS Element Parsed {"raw_longitude":755599296,"raw_latitude":116642160,"longitude_deg":75.5599296,"latitude_deg":11.664216,"altitude":18,"angle":341,"satellites":47,"speed":41,"hex_longitude":"2d0987c0","hex_latitude":"06f3d170","is_valid_coordinates":true} 
[2026-08-19 12:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503190784001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385712213781905408,"note":"Value kept but may cause issues"} 
[2026-08-19 12:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":688558191637092352,"note":"Value kept but may cause issues"} 
[2026-08-19 12:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787121847000,"timestamp_ms":1787121847000,"timestamp_seconds":1787121847,"priority":1,"record_length":96,"hex_timestamp":"000001a018c34ad8"} 
[2026-08-19 12:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:15: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-08-19 12:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503190784001,"66":27919,"67":206,"2":56576,"24":41,"16":385712213781905408,"45":688558191637092352},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-19 12:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503190784001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:15:11] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 12:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385712213781905408,"km_value":385712213781905.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":688558191637092352,"description":"Unknown IO ID 45"} 
[2026-08-19 12:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503190784001,"power":27919,"unknown_67":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":688558191637092352}} 
[2026-08-19 12:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":157915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:15:11] local.INFO: GPS data processed {"connection_id":157915,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:15:11] local.INFO: Acknowledgment sent {"connection_id":157915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:15:14] local.INFO: TCP Data received {"connection_id":158783,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:15:14] local.INFO: Processing buffer {"connection_id":158783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:15:14] local.INFO: IMEI packet received {"connection_id":158783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":158783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:15:14] local.INFO: TCP Data received {"connection_id":158783,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c23198012d1823800721b650004d00c02d..."} 
[2026-08-19 12:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c23198012d1823800721b650004d00c02d..."} 
[2026-08-19 12:15:14] local.INFO: Processing buffer {"connection_id":158783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c23198012d1823800721b650004d00c02d..."} 
[2026-08-19 12:15:14] local.INFO: Packet analysis {"connection_id":158783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c2"} 
[2026-08-19 12:15:14] local.INFO: Extracted packet for processing {"connection_id":158783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c2"} 
[2026-08-19 12:15:14] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649872,"longitude_deg":75.6556672,"latitude_deg":11.9649872,"altitude":77,"angle":192,"satellites":45,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b650","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503169024001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696929879818240,"note":"Value kept but may cause issues"} 
[2026-08-19 12:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213865984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:15:14] 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-08-19 12:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787121775000,"timestamp_ms":1787121775000,"timestamp_seconds":1787121775,"priority":1,"record_length":96,"hex_timestamp":"000001a018c23198"} 
[2026-08-19 12:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:15:14] 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-08-19 12: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 12:15:14] 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-08-19 12: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-08-19 12:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503169024001,"66":12526,"120":206,"28":31744,"24":0,"16":13696929879818240,"45":1739374649213865984},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503169024001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:15:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:15:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696929879818240,"km_value":13696929879818.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213865984,"description":"Unknown IO ID 45"} 
[2026-08-19 12:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503169024001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213865984}} 
[2026-08-19 12:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":158783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:15:14] local.INFO: GPS data processed {"connection_id":158783,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:15:14] local.INFO: Acknowledgment sent {"connection_id":158783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:15:44] local.INFO: TCP Data received {"connection_id":157915,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c36a18012d097e4006f3f338001101582e..."} 
[2026-08-19 12:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c36a18012d097e4006f3f338001101582e..."} 
[2026-08-19 12:15:44] local.INFO: Processing buffer {"connection_id":157915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c36a18012d097e4006f3f338001101582e..."} 
[2026-08-19 12:15:44] local.INFO: Packet analysis {"connection_id":157915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:15:44] local.INFO: Extracted packet for processing {"connection_id":157915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:15:44] local.INFO: GPS Element Parsed {"raw_longitude":755596864,"raw_latitude":116650808,"longitude_deg":75.5596864,"latitude_deg":11.6650808,"altitude":17,"angle":344,"satellites":46,"speed":47,"hex_longitude":"2d097e40","hex_latitude":"06f3f338","is_valid_coordinates":true} 
[2026-08-19 12:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503192832001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385712647573602304,"note":"Value kept but may cause issues"} 
[2026-08-19 12:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":686728604290215936,"note":"Value kept but may cause issues"} 
[2026-08-19 12:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787121855000,"timestamp_ms":1787121855000,"timestamp_seconds":1787121855,"priority":1,"record_length":96,"hex_timestamp":"000001a018c36a18"} 
[2026-08-19 12:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:15: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-08-19 12:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 12:15:44] 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-08-19 12:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503192832001,"66":27919,"67":206,"2":56576,"24":47,"16":385712647573602304,"45":686728604290215936},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-19 12:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503192832001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:15:44] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 12:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385712647573602304,"km_value":385712647573602.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":686728604290215936,"description":"Unknown IO ID 45"} 
[2026-08-19 12:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503192832001,"power":27919,"unknown_67":206,"power_alt":56576,"ignition":47,"odometer":null,"unknown_45":686728604290215936}} 
[2026-08-19 12:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":157915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:15:44] local.INFO: GPS data processed {"connection_id":157915,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:15:44] local.INFO: Acknowledgment sent {"connection_id":157915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:15:46] local.INFO: TCP Data received {"connection_id":158783,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c283a0012d1823800721b650004d00c02d..."} 
[2026-08-19 12:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c283a0012d1823800721b650004d00c02d..."} 
[2026-08-19 12:15:46] local.INFO: Processing buffer {"connection_id":158783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c283a0012d1823800721b650004d00c02d..."} 
[2026-08-19 12:15:46] local.INFO: Packet analysis {"connection_id":158783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c2"} 
[2026-08-19 12:15:46] local.INFO: Extracted packet for processing {"connection_id":158783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c2"} 
[2026-08-19 12:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649872,"longitude_deg":75.6556672,"latitude_deg":11.9649872,"altitude":77,"angle":192,"satellites":45,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b650","is_valid_coordinates":true} 
[2026-08-19 12:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503174400001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696929879818240,"note":"Value kept but may cause issues"} 
[2026-08-19 12:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213865984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:15:46] 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-08-19 12:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787121796000,"timestamp_ms":1787121796000,"timestamp_seconds":1787121796,"priority":1,"record_length":96,"hex_timestamp":"000001a018c283a0"} 
[2026-08-19 12:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:15:46] 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-08-19 12:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 12:15:46] 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-08-19 12:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503174400001,"66":12602,"120":206,"28":31744,"24":0,"16":13696929879818240,"45":1739374649213865984},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503174400001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:15:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:15:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696929879818240,"km_value":13696929879818.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213865984,"description":"Unknown IO ID 45"} 
[2026-08-19 12:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503174400001,"power":12602,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213865984}} 
[2026-08-19 12:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":158783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:15:46] local.INFO: GPS data processed {"connection_id":158783,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:15:46] local.INFO: Acknowledgment sent {"connection_id":158783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:15:58] local.INFO: TCP Data received {"connection_id":160090,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:15:58] local.INFO: Processing buffer {"connection_id":160090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:15:58] local.INFO: IMEI packet received {"connection_id":160090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":160090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:16:00] local.INFO: TCP Data received {"connection_id":160090,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:16:00] local.INFO: Processing buffer {"connection_id":160090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:16:00] local.INFO: IMEI packet received {"connection_id":160090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":160090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:16:01] local.INFO: TCP Data received {"connection_id":160090,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:16:01] local.INFO: Processing buffer {"connection_id":160090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:16:01] local.INFO: IMEI packet received {"connection_id":160090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":160090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:16:02] local.INFO: TCP Data received {"connection_id":160090,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c38958012d09734006f417e0000f01572f..."} 
[2026-08-19 12:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c38958012d09734006f417e0000f01572f..."} 
[2026-08-19 12:16:02] local.INFO: Processing buffer {"connection_id":160090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c38958012d09734006f417e0000f01572f..."} 
[2026-08-19 12:16:02] local.INFO: Packet analysis {"connection_id":160090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:16:02] local.INFO: Extracted packet for processing {"connection_id":160090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:16:02] local.INFO: GPS Element Parsed {"raw_longitude":755594048,"raw_latitude":116660192,"longitude_deg":75.5594048,"latitude_deg":11.6660192,"altitude":15,"angle":343,"satellites":47,"speed":49,"hex_longitude":"2d097340","hex_latitude":"06f417e0","is_valid_coordinates":true} 
[2026-08-19 12:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503194880001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385713120020004864,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":684054592013678592,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787121863000,"timestamp_ms":1787121863000,"timestamp_seconds":1787121863,"priority":1,"record_length":96,"hex_timestamp":"000001a018c38958"} 
[2026-08-19 12:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:16: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-08-19 12:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 12:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503194880001,"66":27865,"67":206,"2":56576,"24":49,"16":385713120020004864,"45":684054592013678592},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-19 12:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503194880001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:16:02] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 12:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385713120020004864,"km_value":385713120020004.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":684054592013678592,"description":"Unknown IO ID 45"} 
[2026-08-19 12:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503194880001,"power":27865,"unknown_67":206,"power_alt":56576,"ignition":49,"odometer":null,"unknown_45":684054592013678592}} 
[2026-08-19 12:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":160090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:16:02] local.INFO: GPS data processed {"connection_id":160090,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:16:02] local.INFO: Acknowledgment sent {"connection_id":160090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:16:04] local.INFO: TCP Data received {"connection_id":160090,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c3a4b0012d0968c006f43a88000e01592e..."} 
[2026-08-19 12:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c3a4b0012d0968c006f43a88000e01592e..."} 
[2026-08-19 12:16:04] local.INFO: Processing buffer {"connection_id":160090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c3a4b0012d0968c006f43a88000e01592e..."} 
[2026-08-19 12:16:04] local.INFO: Packet analysis {"connection_id":160090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:16:04] local.INFO: Extracted packet for processing {"connection_id":160090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:16:04] local.INFO: GPS Element Parsed {"raw_longitude":755591360,"raw_latitude":116669064,"longitude_deg":75.559136,"latitude_deg":11.6669064,"altitude":14,"angle":345,"satellites":46,"speed":54,"hex_longitude":"2d0968c0","hex_latitude":"06f43a88","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503196928001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385713570991570944,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":680958367272263680,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787121870000,"timestamp_ms":1787121870000,"timestamp_seconds":1787121870,"priority":1,"record_length":96,"hex_timestamp":"000001a018c3a4b0"} 
[2026-08-19 12:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12: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-08-19 12: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-08-19 12:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503196928001,"66":27908,"67":206,"2":56576,"24":54,"16":385713570991570944,"45":680958367272263680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-19 12:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503196928001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:16:04] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 12:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385713570991570944,"km_value":385713570991570.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":680958367272263680,"description":"Unknown IO ID 45"} 
[2026-08-19 12:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503196928001,"power":27908,"unknown_67":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":680958367272263680}} 
[2026-08-19 12:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":160090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:16:04] local.INFO: GPS data processed {"connection_id":160090,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:16:04] local.INFO: Acknowledgment sent {"connection_id":160090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:16:09] local.INFO: TCP Data received {"connection_id":157538,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:16:09] local.INFO: Processing buffer {"connection_id":157538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:16:09] local.INFO: IMEI packet received {"connection_id":157538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":157538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:16:11] local.INFO: TCP Data received {"connection_id":157538,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:16:11] local.INFO: Processing buffer {"connection_id":157538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:16:11] local.INFO: IMEI packet received {"connection_id":157538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":157538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:16:14] local.INFO: TCP Data received {"connection_id":157538,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:16:14] local.INFO: Processing buffer {"connection_id":157538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:16:14] local.INFO: IMEI packet received {"connection_id":157538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":157538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:16:15] local.INFO: TCP Data received {"connection_id":157538,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c2d5a8012d1823800721b650004d00c02d..."} 
[2026-08-19 12:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c2d5a8012d1823800721b650004d00c02d..."} 
[2026-08-19 12:16:15] local.INFO: Processing buffer {"connection_id":157538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c2d5a8012d1823800721b650004d00c02d..."} 
[2026-08-19 12:16:15] local.INFO: Packet analysis {"connection_id":157538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c2"} 
[2026-08-19 12:16:15] local.INFO: Extracted packet for processing {"connection_id":157538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c2"} 
[2026-08-19 12:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649872,"longitude_deg":75.6556672,"latitude_deg":11.9649872,"altitude":77,"angle":192,"satellites":45,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b650","is_valid_coordinates":true} 
[2026-08-19 12:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503179776001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696929879818240,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213865984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16: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-08-19 12:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787121817000,"timestamp_ms":1787121817000,"timestamp_seconds":1787121817,"priority":1,"record_length":96,"hex_timestamp":"000001a018c2d5a8"} 
[2026-08-19 12:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:16: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-08-19 12:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-19 12:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503179776001,"66":12548,"120":206,"28":31744,"24":0,"16":13696929879818240,"45":1739374649213865984},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503179776001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:16:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:16:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696929879818240,"km_value":13696929879818.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213865984,"description":"Unknown IO ID 45"} 
[2026-08-19 12:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503179776001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213865984}} 
[2026-08-19 12:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":157538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:16:15] local.INFO: GPS data processed {"connection_id":157538,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:16:15] local.INFO: Acknowledgment sent {"connection_id":157538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:16:35] local.INFO: TCP Data received {"connection_id":160090,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c3c008012d095d8006f45fc8000d01552e..."} 
[2026-08-19 12:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c3c008012d095d8006f45fc8000d01552e..."} 
[2026-08-19 12:16:35] local.INFO: Processing buffer {"connection_id":160090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c3c008012d095d8006f45fc8000d01552e..."} 
[2026-08-19 12:16:35] local.INFO: Packet analysis {"connection_id":160090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:16:35] local.INFO: Extracted packet for processing {"connection_id":160090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:16:35] local.INFO: GPS Element Parsed {"raw_longitude":755588480,"raw_latitude":116678600,"longitude_deg":75.558848,"latitude_deg":11.66786,"altitude":13,"angle":341,"satellites":46,"speed":57,"hex_longitude":"2d095d80","hex_latitude":"06f45fc8","is_valid_coordinates":true} 
[2026-08-19 12:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503198720001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385714052027908096,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":678002880019073024,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 12:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787121877000,"timestamp_ms":1787121877000,"timestamp_seconds":1787121877,"priority":1,"record_length":96,"hex_timestamp":"000001a018c3c008"} 
[2026-08-19 12:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503198720001,"66":206,"2":56576,"24":57,"16":385714052027908096,"45":678002880019073024},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-08-19 12:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503198720001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385714052027908096,"km_value":385714052027908.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":678002880019073024,"description":"Unknown IO ID 45"} 
[2026-08-19 12:16:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457503198720001,"power":206,"power_alt":56576,"ignition":57,"odometer":null,"unknown_45":678002880019073024}} 
[2026-08-19 12:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":160090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:16:35] local.INFO: GPS data processed {"connection_id":160090,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:16:35] local.INFO: Acknowledgment sent {"connection_id":160090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:16:46] local.INFO: TCP Data received {"connection_id":157538,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c327b0012d1823800721b650004d00c02e..."} 
[2026-08-19 12:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c327b0012d1823800721b650004d00c02e..."} 
[2026-08-19 12:16:46] local.INFO: Processing buffer {"connection_id":157538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c327b0012d1823800721b650004d00c02e..."} 
[2026-08-19 12:16:46] local.INFO: Packet analysis {"connection_id":157538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:16:46] local.INFO: Extracted packet for processing {"connection_id":157538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:16:46] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649872,"longitude_deg":75.6556672,"latitude_deg":11.9649872,"altitude":77,"angle":192,"satellites":46,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b650","is_valid_coordinates":true} 
[2026-08-19 12:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503185152001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696929879818240,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213865984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:46] 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-08-19 12:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787121838000,"timestamp_ms":1787121838000,"timestamp_seconds":1787121838,"priority":1,"record_length":96,"hex_timestamp":"000001a018c327b0"} 
[2026-08-19 12:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:16:46] 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-08-19 12:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:46] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3247278081,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3058696269,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 12:16:46] local.WARNING: Large IO value detected {"io_id":59,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:46] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951030,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:46] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2840133632,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:46] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-19 12:16:46] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,120,28,24,241,158,16,169,160,131,45,128,182,77,10,66,49,223,1,240,47,33,4,113,205,59,35,80,239,2,48,7,231],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 12:16:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548646040426512384,"timestamp_seconds":5548646040426512.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 12:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503185152001,"66":12580,"120":206,"28":31744,"24":0,"16":13696929879818240,"45":1739374649213865984},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503185152001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:16:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:16:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696929879818240,"km_value":13696929879818.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213865984,"description":"Unknown IO ID 45"} 
[2026-08-19 12:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503185152001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213865984}} 
[2026-08-19 12:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":157538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:16:46] local.INFO: GPS data processed {"connection_id":157538,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:16:46] local.INFO: Acknowledgment sent {"connection_id":157538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:17:00] local.INFO: TCP Data received {"connection_id":157539,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:17:00] local.INFO: Processing buffer {"connection_id":157539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:17:00] local.INFO: IMEI packet received {"connection_id":157539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":157539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:17:00] local.INFO: TCP Data received {"connection_id":157539,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:17:00] local.INFO: Processing buffer {"connection_id":157539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:17:00] local.INFO: IMEI packet received {"connection_id":157539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":157539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:17:04] local.INFO: TCP Data received {"connection_id":157539,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:17:04] local.INFO: Processing buffer {"connection_id":157539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:17:04] local.INFO: IMEI packet received {"connection_id":157539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":157539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:17:05] local.INFO: TCP Data received {"connection_id":157539,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c4f4a0012d08a5c006f55718000f01472e..."} 
[2026-08-19 12:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c4f4a0012d08a5c006f55718000f01472e..."} 
[2026-08-19 12:17:05] local.INFO: Processing buffer {"connection_id":157539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c4f4a0012d08a5c006f55718000f01472e..."} 
[2026-08-19 12:17:05] local.INFO: Packet analysis {"connection_id":157539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c4"} 
[2026-08-19 12:17:05] local.INFO: Extracted packet for processing {"connection_id":157539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c4"} 
[2026-08-19 12:17:05] local.INFO: GPS Element Parsed {"raw_longitude":755541440,"raw_latitude":116741912,"longitude_deg":75.554144,"latitude_deg":11.6741912,"altitude":15,"angle":327,"satellites":46,"speed":39,"hex_longitude":"2d08a5c0","hex_latitude":"06f55718","is_valid_coordinates":true} 
[2026-08-19 12:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503218176001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385717896023638016,"note":"Value kept but may cause issues"} 
[2026-08-19 12:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":629166971576358912,"note":"Value kept but may cause issues"} 
[2026-08-19 12:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787121956000,"timestamp_ms":1787121956000,"timestamp_seconds":1787121956,"priority":1,"record_length":96,"hex_timestamp":"000001a018c4f4a0"} 
[2026-08-19 12:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 12:17:05] 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-08-19 12:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503218176001,"66":27974,"69":206,"2":56576,"24":39,"16":385717896023638016,"45":629166971576358912},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-19 12:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503218176001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:17:05] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-19 12:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385717896023638016,"km_value":385717896023638.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":629166971576358912,"description":"Unknown IO ID 45"} 
[2026-08-19 12:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503218176001,"power":27974,"unknown_69":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":629166971576358912}} 
[2026-08-19 12:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":157539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:17:05] local.INFO: GPS data processed {"connection_id":157539,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:17:05] local.INFO: Acknowledgment sent {"connection_id":157539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:17:09] local.INFO: TCP Data received {"connection_id":157916,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:17:09] local.INFO: Processing buffer {"connection_id":157916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:17:09] local.INFO: IMEI packet received {"connection_id":157916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":157916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:17:14] local.INFO: TCP Data received {"connection_id":157916,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:17:14] local.INFO: Processing buffer {"connection_id":157916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:17:14] local.INFO: IMEI packet received {"connection_id":157916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":157916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:17:15] local.INFO: TCP Data received {"connection_id":157916,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c379b8012d1823800721b650004d00c02d..."} 
[2026-08-19 12:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c379b8012d1823800721b650004d00c02d..."} 
[2026-08-19 12:17:15] local.INFO: Processing buffer {"connection_id":157916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c379b8012d1823800721b650004d00c02d..."} 
[2026-08-19 12:17:15] local.INFO: Packet analysis {"connection_id":157916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:17:15] local.INFO: Extracted packet for processing {"connection_id":157916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:17:15] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649872,"longitude_deg":75.6556672,"latitude_deg":11.9649872,"altitude":77,"angle":192,"satellites":45,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b650","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503190528001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696929879818240,"note":"Value kept but may cause issues"} 
[2026-08-19 12:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213865984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:17: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-08-19 12:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787121859000,"timestamp_ms":1787121859000,"timestamp_seconds":1787121859,"priority":1,"record_length":96,"hex_timestamp":"000001a018c379b8"} 
[2026-08-19 12:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:17: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-08-19 12: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-19 12:17:15] 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-08-19 12: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-08-19 12:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503190528001,"66":11721,"120":206,"28":31744,"24":0,"16":13696929879818240,"45":1739374649213865984},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503190528001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:17:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:17:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696929879818240,"km_value":13696929879818.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213865984,"description":"Unknown IO ID 45"} 
[2026-08-19 12:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503190528001,"power":11721,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739374649213865984}} 
[2026-08-19 12:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":157916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:17:15] local.INFO: GPS data processed {"connection_id":157916,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:17:15] local.INFO: Acknowledgment sent {"connection_id":157916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:17:37] local.INFO: TCP Data received {"connection_id":157539,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c517c8012d08910006f57528001101442f..."} 
[2026-08-19 12:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c517c8012d08910006f57528001101442f..."} 
[2026-08-19 12:17:37] local.INFO: Processing buffer {"connection_id":157539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c517c8012d08910006f57528001101442f..."} 
[2026-08-19 12:17:37] local.INFO: Packet analysis {"connection_id":157539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c5"} 
[2026-08-19 12:17:37] local.INFO: Extracted packet for processing {"connection_id":157539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c5"} 
[2026-08-19 12:17:37] local.INFO: GPS Element Parsed {"raw_longitude":755536128,"raw_latitude":116749608,"longitude_deg":75.5536128,"latitude_deg":11.6749608,"altitude":17,"angle":324,"satellites":47,"speed":43,"hex_longitude":"2d089100","hex_latitude":"06f57528","is_valid_coordinates":true} 
[2026-08-19 12:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503220736001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385718346995204096,"note":"Value kept but may cause issues"} 
[2026-08-19 12:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":623115259579144192,"note":"Value kept but may cause issues"} 
[2026-08-19 12:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787121965000,"timestamp_ms":1787121965000,"timestamp_seconds":1787121965,"priority":1,"record_length":96,"hex_timestamp":"000001a018c517c8"} 
[2026-08-19 12:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:17: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-08-19 12:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 12:17:37] 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-08-19 12:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503220736001,"66":27832,"69":206,"2":56576,"24":43,"16":385718346995204096,"45":623115259579144192},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-19 12:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503220736001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:17:37] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-19 12:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385718346995204096,"km_value":385718346995204.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":623115259579144192,"description":"Unknown IO ID 45"} 
[2026-08-19 12:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503220736001,"power":27832,"unknown_69":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":623115259579144192}} 
[2026-08-19 12:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":157539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:17:37] local.INFO: GPS data processed {"connection_id":157539,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:17:37] local.INFO: Acknowledgment sent {"connection_id":157539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:17:47] local.INFO: TCP Data received {"connection_id":157916,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c3a4b0012d1823000721b5d0004900d02e..."} 
[2026-08-19 12:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c3a4b0012d1823000721b5d0004900d02e..."} 
[2026-08-19 12:17:47] local.INFO: Processing buffer {"connection_id":157916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c3a4b0012d1823000721b5d0004900d02e..."} 
[2026-08-19 12:17:47] local.INFO: Packet analysis {"connection_id":157916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:17:47] local.INFO: Extracted packet for processing {"connection_id":157916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:17:47] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649744,"longitude_deg":75.6556544,"latitude_deg":11.9649744,"altitude":73,"angle":208,"satellites":46,"speed":2,"hex_longitude":"2d182300","hex_latitude":"0721b5d0","is_valid_coordinates":true} 
[2026-08-19 12:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503195904001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696938469752832,"note":"Value kept but may cause issues"} 
[2026-08-19 12:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213865984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:17:47] 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-08-19 12:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787121870000,"timestamp_ms":1787121870000,"timestamp_seconds":1787121870,"priority":1,"record_length":96,"hex_timestamp":"000001a018c3a4b0"} 
[2026-08-19 12:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-19 12:17:47] 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-08-19 12:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503195904001,"66":11624,"120":206,"28":31744,"24":2,"16":13696938469752832,"45":1739374649213865984},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503195904001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:17:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:17:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696938469752832,"km_value":13696938469752.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213865984,"description":"Unknown IO ID 45"} 
[2026-08-19 12:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503195904001,"power":11624,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1739374649213865984}} 
[2026-08-19 12:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":157916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:17:47] local.INFO: GPS data processed {"connection_id":157916,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:17:47] local.INFO: Acknowledgment sent {"connection_id":157916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:17:59] local.INFO: TCP Data received {"connection_id":160091,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:17:59] local.INFO: Processing buffer {"connection_id":160091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:17:59] local.INFO: IMEI packet received {"connection_id":160091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":160091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:18:05] local.INFO: TCP Data received {"connection_id":160091,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:18:05] local.INFO: Processing buffer {"connection_id":160091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:18:05] local.INFO: IMEI packet received {"connection_id":160091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":160091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:18:07] local.INFO: TCP Data received {"connection_id":160091,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c53708012d087c0006f592380012014330..."} 
[2026-08-19 12:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c53708012d087c0006f592380012014330..."} 
[2026-08-19 12:18:07] local.INFO: Processing buffer {"connection_id":160091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c53708012d087c0006f592380012014330..."} 
[2026-08-19 12:18:07] local.INFO: Packet analysis {"connection_id":160091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c5"} 
[2026-08-19 12:18:07] local.INFO: Extracted packet for processing {"connection_id":160091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c5"} 
[2026-08-19 12:18:07] local.INFO: GPS Element Parsed {"raw_longitude":755530752,"raw_latitude":116757048,"longitude_deg":75.5530752,"latitude_deg":11.6757048,"altitude":18,"angle":323,"satellites":48,"speed":45,"hex_longitude":"2d087c00","hex_latitude":"06f59238","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503223040001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385718785081868288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":617274653814368256,"note":"Value kept but may cause issues"} 
[2026-08-19 12:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787121973000,"timestamp_ms":1787121973000,"timestamp_seconds":1787121973,"priority":1,"record_length":96,"hex_timestamp":"000001a018c53708"} 
[2026-08-19 12:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:18: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-08-19 12: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 12:18:07] 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-08-19 12: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-08-19 12:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503223040001,"66":27745,"69":206,"2":56576,"24":45,"16":385718785081868288,"45":617274653814368256},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-19 12:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503223040001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:18:07] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-19 12:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385718785081868288,"km_value":385718785081868.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":617274653814368256,"description":"Unknown IO ID 45"} 
[2026-08-19 12:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503223040001,"power":27745,"unknown_69":206,"power_alt":56576,"ignition":45,"odometer":null,"unknown_45":617274653814368256}} 
[2026-08-19 12:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":160091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:18:07] local.INFO: GPS data processed {"connection_id":160091,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:18:07] local.INFO: Acknowledgment sent {"connection_id":160091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:18:14] local.INFO: TCP Data received {"connection_id":158784,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:18:14] local.INFO: Processing buffer {"connection_id":158784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:18:14] local.INFO: IMEI packet received {"connection_id":158784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":158784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:18:17] local.INFO: TCP Data received {"connection_id":158784,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:18:17] local.INFO: Processing buffer {"connection_id":158784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:18:17] local.INFO: IMEI packet received {"connection_id":158784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":158784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:18:18] local.INFO: TCP Data received {"connection_id":158784,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c3f6b8012d1822800721b528004900d931..."} 
[2026-08-19 12:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c3f6b8012d1822800721b528004900d931..."} 
[2026-08-19 12:18:18] local.INFO: Processing buffer {"connection_id":158784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c3f6b8012d1822800721b528004900d931..."} 
[2026-08-19 12:18:18] local.INFO: Packet analysis {"connection_id":158784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:18:18] local.INFO: Extracted packet for processing {"connection_id":158784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c3"} 
[2026-08-19 12:18:18] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649576,"longitude_deg":75.6556416,"latitude_deg":11.9649576,"altitude":73,"angle":217,"satellites":49,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503198720001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696951354654720,"note":"Value kept but may cause issues"} 
[2026-08-19 12:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725477888,"note":"Value kept but may cause issues"} 
[2026-08-19 12:18:18] 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-08-19 12:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787121891000,"timestamp_ms":1787121891000,"timestamp_seconds":1787121891,"priority":1,"record_length":96,"hex_timestamp":"000001a018c3f6b8"} 
[2026-08-19 12:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:18:18] 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-08-19 12: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 12:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503198720001,"66":11961,"120":206,"28":31744,"24":0,"16":13696951354654720,"45":1739233911725477888},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503198720001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:18:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:18:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696951354654720,"km_value":13696951354654.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725477888,"description":"Unknown IO ID 45"} 
[2026-08-19 12:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503198720001,"power":11961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725477888}} 
[2026-08-19 12:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":158784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:18:18] local.INFO: GPS data processed {"connection_id":158784,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:18:18] local.INFO: Acknowledgment sent {"connection_id":158784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:18:38] local.INFO: TCP Data received {"connection_id":160091,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c55a30012d08658006f5b188001301442f..."} 
[2026-08-19 12:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c55a30012d08658006f5b188001301442f..."} 
[2026-08-19 12:18:38] local.INFO: Processing buffer {"connection_id":160091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c55a30012d08658006f5b188001301442f..."} 
[2026-08-19 12:18:38] local.INFO: Packet analysis {"connection_id":160091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c5"} 
[2026-08-19 12:18:38] local.INFO: Extracted packet for processing {"connection_id":160091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c5"} 
[2026-08-19 12:18:38] local.INFO: GPS Element Parsed {"raw_longitude":755524992,"raw_latitude":116765064,"longitude_deg":75.5524992,"latitude_deg":11.6765064,"altitude":19,"angle":324,"satellites":47,"speed":41,"hex_longitude":"2d086580","hex_latitude":"06f5b188","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503225088001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385719261823238144,"note":"Value kept but may cause issues"} 
[2026-08-19 12:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":611363679305349120,"note":"Value kept but may cause issues"} 
[2026-08-19 12:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787121982000,"timestamp_ms":1787121982000,"timestamp_seconds":1787121982,"priority":1,"record_length":96,"hex_timestamp":"000001a018c55a30"} 
[2026-08-19 12:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 12:18:38] 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-08-19 12: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-08-19 12:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503225088001,"66":27484,"69":206,"2":56576,"24":41,"16":385719261823238144,"45":611363679305349120},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-19 12:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503225088001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:18:38] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-19 12:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385719261823238144,"km_value":385719261823238.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":611363679305349120,"description":"Unknown IO ID 45"} 
[2026-08-19 12:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503225088001,"power":27484,"unknown_69":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":611363679305349120}} 
[2026-08-19 12:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":160091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:18:38] local.INFO: GPS data processed {"connection_id":160091,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:18:38] local.INFO: Acknowledgment sent {"connection_id":160091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:18:50] local.INFO: TCP Data received {"connection_id":158784,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c448c0012d1822800721b528004900d92d..."} 
[2026-08-19 12:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c448c0012d1822800721b528004900d92d..."} 
[2026-08-19 12:18:50] local.INFO: Processing buffer {"connection_id":158784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c448c0012d1822800721b528004900d92d..."} 
[2026-08-19 12:18:50] local.INFO: Packet analysis {"connection_id":158784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c4"} 
[2026-08-19 12:18:50] local.INFO: Extracted packet for processing {"connection_id":158784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c4"} 
[2026-08-19 12:18:50] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649576,"longitude_deg":75.6556416,"latitude_deg":11.9649576,"altitude":73,"angle":217,"satellites":45,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503204096001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696951354654720,"note":"Value kept but may cause issues"} 
[2026-08-19 12:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237079552,"note":"Value kept but may cause issues"} 
[2026-08-19 12:18:50] 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-08-19 12:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787121912000,"timestamp_ms":1787121912000,"timestamp_seconds":1787121912,"priority":1,"record_length":96,"hex_timestamp":"000001a018c448c0"} 
[2026-08-19 12:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:18:50] 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-08-19 12: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 12:18:50] 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-08-19 12: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-08-19 12:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":158784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":158784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":158784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503204096001,"66":12548,"120":206,"28":31744,"24":0,"16":13696951354654720,"45":1739093174237079552},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503204096001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:18:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:18:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696951354654720,"km_value":13696951354654.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237079552,"description":"Unknown IO ID 45"} 
[2026-08-19 12:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503204096001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237079552}} 
[2026-08-19 12:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":158784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:18:50] local.INFO: GPS data processed {"connection_id":158784,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:18:50] local.INFO: Acknowledgment sent {"connection_id":158784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:18:59] local.INFO: TCP Data received {"connection_id":160092,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:18:59] local.INFO: Processing buffer {"connection_id":160092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:18:59] local.INFO: IMEI packet received {"connection_id":160092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":160092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:19:09] local.INFO: TCP Data received {"connection_id":157540,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:19:09] local.INFO: Processing buffer {"connection_id":157540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:19:09] local.INFO: IMEI packet received {"connection_id":157540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":157540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:19:13] local.INFO: TCP Data received {"connection_id":160092,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:19:13] local.INFO: Processing buffer {"connection_id":160092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:19:13] local.INFO: IMEI packet received {"connection_id":160092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":160092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:19:14] local.INFO: TCP Data received {"connection_id":157540,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:19:14] local.INFO: Processing buffer {"connection_id":157540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:19:14] local.INFO: IMEI packet received {"connection_id":157540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":157540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:19:14] local.INFO: TCP Data received {"connection_id":160092,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c57d58012d084fc006f5cf380013014330..."} 
[2026-08-19 12:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c57d58012d084fc006f5cf380013014330..."} 
[2026-08-19 12:19:14] local.INFO: Processing buffer {"connection_id":160092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c57d58012d084fc006f5cf380013014330..."} 
[2026-08-19 12:19:14] local.INFO: Packet analysis {"connection_id":160092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c5"} 
[2026-08-19 12:19:14] local.INFO: Extracted packet for processing {"connection_id":160092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c5"} 
[2026-08-19 12:19:14] local.INFO: GPS Element Parsed {"raw_longitude":755519424,"raw_latitude":116772664,"longitude_deg":75.5519424,"latitude_deg":11.6772664,"altitude":19,"angle":323,"satellites":48,"speed":42,"hex_longitude":"2d084fc0","hex_latitude":"06f5cf38","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503227392001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385719717089771520,"note":"Value kept but may cause issues"} 
[2026-08-19 12:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":605030492331411456,"note":"Value kept but may cause issues"} 
[2026-08-19 12:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787121991000,"timestamp_ms":1787121991000,"timestamp_seconds":1787121991,"priority":1,"record_length":96,"hex_timestamp":"000001a018c57d58"} 
[2026-08-19 12:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:19:14] 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-08-19 12: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 12:19:14] 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-08-19 12: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-08-19 12:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503227392001,"66":27865,"69":206,"2":56576,"24":42,"16":385719717089771520,"45":605030492331411456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-19 12:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503227392001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:19:14] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-19 12:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385719717089771520,"km_value":385719717089771.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":605030492331411456,"description":"Unknown IO ID 45"} 
[2026-08-19 12:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503227392001,"power":27865,"unknown_69":206,"power_alt":56576,"ignition":42,"odometer":null,"unknown_45":605030492331411456}} 
[2026-08-19 12:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":160092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:19:14] local.INFO: GPS data processed {"connection_id":160092,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:19:14] local.INFO: Acknowledgment sent {"connection_id":160092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:19:15] local.INFO: TCP Data received {"connection_id":157540,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c49ac8012d1822800721b528004900d92e..."} 
[2026-08-19 12:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c49ac8012d1822800721b528004900d92e..."} 
[2026-08-19 12:19:15] local.INFO: Processing buffer {"connection_id":157540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c49ac8012d1822800721b528004900d92e..."} 
[2026-08-19 12:19:15] local.INFO: Packet analysis {"connection_id":157540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c4"} 
[2026-08-19 12:19:15] local.INFO: Extracted packet for processing {"connection_id":157540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c4"} 
[2026-08-19 12:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649576,"longitude_deg":75.6556416,"latitude_deg":11.9649576,"altitude":73,"angle":217,"satellites":46,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-19 12:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503209472001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696951354654720,"note":"Value kept but may cause issues"} 
[2026-08-19 12:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237079552,"note":"Value kept but may cause issues"} 
[2026-08-19 12:19: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-08-19 12:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787121933000,"timestamp_ms":1787121933000,"timestamp_seconds":1787121933,"priority":1,"record_length":96,"hex_timestamp":"000001a018c49ac8"} 
[2026-08-19 12:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:19: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-08-19 12:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-19 12:19:15] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3274158081,"note":"Value kept but may cause issues"} 
[2026-08-19 12:19:15] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":47105,"corrected_to":0} 
[2026-08-19 12:19:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184200569037,"note":"Value kept but may cause issues"} 
[2026-08-19 12:19:15] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3058696269,"note":"Value kept but may cause issues"} 
[2026-08-19 12:19:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 12:19:15] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-08-19 12:19:15] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951030,"note":"Value kept but may cause issues"} 
[2026-08-19 12:19:15] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2840133632,"note":"Value kept but may cause issues"} 
[2026-08-19 12:19:15] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-19 12:19:15] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,169,160,246,45,128,181,73,49,10,66,164,46,121,1,240,201,33,4,113,205,213,35,80,239,2,48,7,77,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":246,"original":47105,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 12:19:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260443152065495040,"timestamp_seconds":5260443152065495.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 12:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503209472001,"66":12504,"120":206,"28":31744,"24":0,"16":13696951354654720,"45":1739093174237079552},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503209472001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:19:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:19:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696951354654720,"km_value":13696951354654.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237079552,"description":"Unknown IO ID 45"} 
[2026-08-19 12:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503209472001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237079552}} 
[2026-08-19 12:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":157540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:19:15] local.INFO: GPS data processed {"connection_id":157540,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:19:15] local.INFO: Acknowledgment sent {"connection_id":157540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:19:46] local.INFO: TCP Data received {"connection_id":157540,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c4ecd0012d1822800721b528004900d92d..."} 
[2026-08-19 12:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c4ecd0012d1822800721b528004900d92d..."} 
[2026-08-19 12:19:46] local.INFO: Processing buffer {"connection_id":157540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c4ecd0012d1822800721b528004900d92d..."} 
[2026-08-19 12:19:46] local.INFO: Packet analysis {"connection_id":157540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c4"} 
[2026-08-19 12:19:46] local.INFO: Extracted packet for processing {"connection_id":157540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c4"} 
[2026-08-19 12:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649576,"longitude_deg":75.6556416,"latitude_deg":11.9649576,"altitude":73,"angle":217,"satellites":45,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503214848001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696951354654720,"note":"Value kept but may cause issues"} 
[2026-08-19 12:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237079552,"note":"Value kept but may cause issues"} 
[2026-08-19 12:19:46] 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-08-19 12:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787121954000,"timestamp_ms":1787121954000,"timestamp_seconds":1787121954,"priority":1,"record_length":96,"hex_timestamp":"000001a018c4ecd0"} 
[2026-08-19 12:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:19:46] 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-08-19 12: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 12:19:46] 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-08-19 12: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-08-19 12:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503214848001,"66":12504,"120":206,"28":31744,"24":0,"16":13696951354654720,"45":1739093174237079552},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503214848001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:19:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:19:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696951354654720,"km_value":13696951354654.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237079552,"description":"Unknown IO ID 45"} 
[2026-08-19 12:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503214848001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237079552}} 
[2026-08-19 12:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":157540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:19:47] local.INFO: GPS data processed {"connection_id":157540,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:19:47] local.INFO: Acknowledgment sent {"connection_id":157540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:20:04] local.INFO: TCP Data received {"connection_id":160093,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:20:04] local.INFO: Processing buffer {"connection_id":160093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:20:04] local.INFO: IMEI packet received {"connection_id":160093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":160093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:20:09] local.INFO: TCP Data received {"connection_id":160094,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:20:09] local.INFO: Processing buffer {"connection_id":160094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:20:09] local.INFO: IMEI packet received {"connection_id":160094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":160094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:20:10] local.INFO: TCP Data received {"connection_id":160093,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:20:10] local.INFO: Processing buffer {"connection_id":160093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:20:10] local.INFO: IMEI packet received {"connection_id":160093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":160093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:20:11] local.INFO: TCP Data received {"connection_id":160093,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c7a420012d07444006f707900012013f2c..."} 
[2026-08-19 12:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c7a420012d07444006f707900012013f2c..."} 
[2026-08-19 12:20:11] local.INFO: Processing buffer {"connection_id":160093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c7a420012d07444006f707900012013f2c..."} 
[2026-08-19 12:20:11] local.INFO: Packet analysis {"connection_id":160093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c7"} 
[2026-08-19 12:20:11] local.INFO: Extracted packet for processing {"connection_id":160093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c7"} 
[2026-08-19 12:20:11] local.INFO: GPS Element Parsed {"raw_longitude":755450944,"raw_latitude":116852624,"longitude_deg":75.5450944,"latitude_deg":11.6852624,"altitude":18,"angle":319,"satellites":44,"speed":16,"hex_longitude":"2d074440","hex_latitude":"06f70790","is_valid_coordinates":true} 
[2026-08-19 12:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503261184001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385724179560792064,"note":"Value kept but may cause issues"} 
[2026-08-19 12:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":529735936081854464,"note":"Value kept but may cause issues"} 
[2026-08-19 12:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787122132000,"timestamp_ms":1787122132000,"timestamp_seconds":1787122132,"priority":1,"record_length":96,"hex_timestamp":"000001a018c7a420"} 
[2026-08-19 12:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 12:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503261184001,"66":27745,"155":206,"28":32256,"24":16,"16":385724179560792064,"45":529735936081854464},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-08-19 12:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503261184001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:20:11] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 12:20:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385724179560792064,"km_value":385724179560792.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":529735936081854464,"description":"Unknown IO ID 45"} 
[2026-08-19 12:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503261184001,"power":27745,"unknown_155":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_45":529735936081854464}} 
[2026-08-19 12:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":160093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:20:11] local.INFO: GPS data processed {"connection_id":160093,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:20:11] local.INFO: Acknowledgment sent {"connection_id":160093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:20:12] local.INFO: TCP Data received {"connection_id":160093,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c7deb8012d072bc006f724900018014426..."} 
[2026-08-19 12:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c7deb8012d072bc006f724900018014426..."} 
[2026-08-19 12:20:12] local.INFO: Processing buffer {"connection_id":160093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c7deb8012d072bc006f724900018014426..."} 
[2026-08-19 12:20:12] local.INFO: Packet analysis {"connection_id":160093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c7"} 
[2026-08-19 12:20:12] local.INFO: Extracted packet for processing {"connection_id":160093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c7"} 
[2026-08-19 12:20:12] local.INFO: GPS Element Parsed {"raw_longitude":755444672,"raw_latitude":116860048,"longitude_deg":75.5444672,"latitude_deg":11.6860048,"altitude":24,"angle":324,"satellites":38,"speed":31,"hex_longitude":"2d072bc0","hex_latitude":"06f72490","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503265792001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385724647712227328,"note":"Value kept but may cause issues"} 
[2026-08-19 12:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":523613855340269568,"note":"Value kept but may cause issues"} 
[2026-08-19 12:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787122147000,"timestamp_ms":1787122147000,"timestamp_seconds":1787122147,"priority":1,"record_length":96,"hex_timestamp":"000001a018c7deb8"} 
[2026-08-19 12:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 12:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503265792001,"66":27332,"155":206,"28":32256,"24":31,"16":385724647712227328,"45":523613855340269568},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-08-19 12:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503265792001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:20:12] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 12:20:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385724647712227328,"km_value":385724647712227.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":523613855340269568,"description":"Unknown IO ID 45"} 
[2026-08-19 12:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503265792001,"power":27332,"unknown_155":206,"unknown_28":32256,"ignition":31,"odometer":null,"unknown_45":523613855340269568}} 
[2026-08-19 12:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":160093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:20:12] local.INFO: GPS data processed {"connection_id":160093,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:20:12] local.INFO: Acknowledgment sent {"connection_id":160093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:20:14] local.INFO: TCP Data received {"connection_id":160094,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:20:14] local.INFO: Processing buffer {"connection_id":160094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:20:14] local.INFO: IMEI packet received {"connection_id":160094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":160094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:20:15] local.INFO: TCP Data received {"connection_id":160094,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c53ed8012d1821800721b3d8004c00d52e..."} 
[2026-08-19 12:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c53ed8012d1821800721b3d8004c00d52e..."} 
[2026-08-19 12:20:15] local.INFO: Processing buffer {"connection_id":160094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c53ed8012d1821800721b3d8004c00d52e..."} 
[2026-08-19 12:20:15] local.INFO: Packet analysis {"connection_id":160094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c5"} 
[2026-08-19 12:20:15] local.INFO: Extracted packet for processing {"connection_id":160094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c5"} 
[2026-08-19 12:20:15] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649240,"longitude_deg":75.655616,"latitude_deg":11.964924,"altitude":76,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-19 12:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503220224001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696972829491200,"note":"Value kept but may cause issues"} 
[2026-08-19 12:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237079552,"note":"Value kept but may cause issues"} 
[2026-08-19 12:20: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-08-19 12:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787121975000,"timestamp_ms":1787121975000,"timestamp_seconds":1787121975,"priority":1,"record_length":96,"hex_timestamp":"000001a018c53ed8"} 
[2026-08-19 12:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:20: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-08-19 12:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 12:20:15] 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-08-19 12:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503220224001,"66":11721,"120":206,"28":31744,"24":0,"16":13696972829491200,"45":1739093174237079552},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503220224001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:20:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:20:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696972829491200,"km_value":13696972829491.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237079552,"description":"Unknown IO ID 45"} 
[2026-08-19 12:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503220224001,"power":11721,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174237079552}} 
[2026-08-19 12:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":160094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:20:15] local.INFO: GPS data processed {"connection_id":160094,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:20:15] local.INFO: Acknowledgment sent {"connection_id":160094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:20:44] local.INFO: TCP Data received {"connection_id":160093,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c81180012d07168006f740b00016013f2a..."} 
[2026-08-19 12:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c81180012d07168006f740b00016013f2a..."} 
[2026-08-19 12:20:44] local.INFO: Processing buffer {"connection_id":160093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c81180012d07168006f740b00016013f2a..."} 
[2026-08-19 12:20:44] local.INFO: Packet analysis {"connection_id":160093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c8"} 
[2026-08-19 12:20:44] local.INFO: Extracted packet for processing {"connection_id":160093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c8"} 
[2026-08-19 12:20:44] local.INFO: GPS Element Parsed {"raw_longitude":755439232,"raw_latitude":116867248,"longitude_deg":75.5439232,"latitude_deg":11.6867248,"altitude":22,"angle":319,"satellites":42,"speed":23,"hex_longitude":"2d071680","hex_latitude":"06f740b0","is_valid_coordinates":true} 
[2026-08-19 12:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503269632001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385725081503924224,"note":"Value kept but may cause issues"} 
[2026-08-19 12:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":516717718412759040,"note":"Value kept but may cause issues"} 
[2026-08-19 12:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787122160000,"timestamp_ms":1787122160000,"timestamp_seconds":1787122160,"priority":1,"record_length":96,"hex_timestamp":"000001a018c81180"} 
[2026-08-19 12:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 12:20:44] 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-08-19 12:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503269632001,"66":27887,"155":206,"28":32256,"24":23,"16":385725081503924224,"45":516717718412759040},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-08-19 12:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503269632001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:20:44] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 12:20:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385725081503924224,"km_value":385725081503924.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":516717718412759040,"description":"Unknown IO ID 45"} 
[2026-08-19 12:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503269632001,"power":27887,"unknown_155":206,"unknown_28":32256,"ignition":23,"odometer":null,"unknown_45":516717718412759040}} 
[2026-08-19 12:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":160093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:20:44] local.INFO: GPS data processed {"connection_id":160093,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:20:44] local.INFO: Acknowledgment sent {"connection_id":160093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:20:46] local.INFO: TCP Data received {"connection_id":160094,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c590e0012d1821800721b3d8004c00d52e..."} 
[2026-08-19 12:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c590e0012d1821800721b3d8004c00d52e..."} 
[2026-08-19 12:20:46] local.INFO: Processing buffer {"connection_id":160094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c590e0012d1821800721b3d8004c00d52e..."} 
[2026-08-19 12:20:46] local.INFO: Packet analysis {"connection_id":160094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c5"} 
[2026-08-19 12:20:46] local.INFO: Extracted packet for processing {"connection_id":160094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c5"} 
[2026-08-19 12:20:46] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649240,"longitude_deg":75.655616,"latitude_deg":11.964924,"altitude":76,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503225600001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696972829491200,"note":"Value kept but may cause issues"} 
[2026-08-19 12:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260282880,"note":"Value kept but may cause issues"} 
[2026-08-19 12:20:46] 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-08-19 12:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787121996000,"timestamp_ms":1787121996000,"timestamp_seconds":1787121996,"priority":1,"record_length":96,"hex_timestamp":"000001a018c590e0"} 
[2026-08-19 12:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:20:46] 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-08-19 12: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-19 12:20:46] 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-08-19 12: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-08-19 12:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503225600001,"66":12461,"120":206,"28":31744,"24":0,"16":13696972829491200,"45":1738811699260282880},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503225600001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:20:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:20:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696972829491200,"km_value":13696972829491.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260282880,"description":"Unknown IO ID 45"} 
[2026-08-19 12:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503225600001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260282880}} 
[2026-08-19 12:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":160094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:20:47] local.INFO: GPS data processed {"connection_id":160094,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:20:47] local.INFO: Acknowledgment sent {"connection_id":160094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:20:56] local.INFO: TCP Data received {"connection_id":160095,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:20:56] local.INFO: Processing buffer {"connection_id":160095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:20:56] local.INFO: IMEI packet received {"connection_id":160095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":160095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:21:00] local.INFO: TCP Data received {"connection_id":160095,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:21:00] local.INFO: Processing buffer {"connection_id":160095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:21:00] local.INFO: IMEI packet received {"connection_id":160095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":160095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:21:04] local.INFO: TCP Data received {"connection_id":160095,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:21:04] local.INFO: Processing buffer {"connection_id":160095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:21:04] local.INFO: IMEI packet received {"connection_id":160095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":160095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:21:05] local.INFO: TCP Data received {"connection_id":160095,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c83c78012d06ff4006f75c20001301402b..."} 
[2026-08-19 12:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c83c78012d06ff4006f75c20001301402b..."} 
[2026-08-19 12:21:05] local.INFO: Processing buffer {"connection_id":160095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c83c78012d06ff4006f75c20001301402b..."} 
[2026-08-19 12:21:05] local.INFO: Packet analysis {"connection_id":160095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c8"} 
[2026-08-19 12:21:05] local.INFO: Extracted packet for processing {"connection_id":160095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c8"} 
[2026-08-19 12:21:05] local.INFO: GPS Element Parsed {"raw_longitude":755433280,"raw_latitude":116874272,"longitude_deg":75.543328,"latitude_deg":11.6874272,"altitude":19,"angle":320,"satellites":43,"speed":29,"hex_longitude":"2d06ff40","hex_latitude":"06f75c20","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503272960001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385725528180523008,"note":"Value kept but may cause issues"} 
[2026-08-19 12:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":510736375159500800,"note":"Value kept but may cause issues"} 
[2026-08-19 12:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787122171000,"timestamp_ms":1787122171000,"timestamp_seconds":1787122171,"priority":1,"record_length":96,"hex_timestamp":"000001a018c83c78"} 
[2026-08-19 12:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:21: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-08-19 12: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 12:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503272960001,"66":27919,"155":206,"28":32256,"24":29,"16":385725528180523008,"45":510736375159500800},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-08-19 12:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503272960001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:21:05] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 12:21:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385725528180523008,"km_value":385725528180523.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":510736375159500800,"description":"Unknown IO ID 45"} 
[2026-08-19 12:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503272960001,"power":27919,"unknown_155":206,"unknown_28":32256,"ignition":29,"odometer":null,"unknown_45":510736375159500800}} 
[2026-08-19 12:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":160095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:21:05] local.INFO: GPS data processed {"connection_id":160095,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:21:05] local.INFO: Acknowledgment sent {"connection_id":160095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:21:07] local.INFO: TCP Data received {"connection_id":160095,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c86f40012d06e70006f778100013013c28..."} 
[2026-08-19 12:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c86f40012d06e70006f778100013013c28..."} 
[2026-08-19 12:21:07] local.INFO: Processing buffer {"connection_id":160095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c86f40012d06e70006f778100013013c28..."} 
[2026-08-19 12:21:07] local.INFO: Packet analysis {"connection_id":160095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c8"} 
[2026-08-19 12:21:07] local.INFO: Extracted packet for processing {"connection_id":160095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c8"} 
[2026-08-19 12:21:07] local.INFO: GPS Element Parsed {"raw_longitude":755427072,"raw_latitude":116881424,"longitude_deg":75.5427072,"latitude_deg":11.6881424,"altitude":19,"angle":316,"satellites":40,"speed":35,"hex_longitude":"2d06e700","hex_latitude":"06f77810","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503275776001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385725979152089088,"note":"Value kept but may cause issues"} 
[2026-08-19 12:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":504192081952776192,"note":"Value kept but may cause issues"} 
[2026-08-19 12:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787122184000,"timestamp_ms":1787122184000,"timestamp_seconds":1787122184,"priority":1,"record_length":96,"hex_timestamp":"000001a018c86f40"} 
[2026-08-19 12:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:21: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-08-19 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 12:21:07] 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-08-19 12: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-08-19 12:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503275776001,"66":27908,"155":206,"28":32256,"24":35,"16":385725979152089088,"45":504192081952776192},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-08-19 12:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503275776001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:21:07] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 12:21:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385725979152089088,"km_value":385725979152089.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":504192081952776192,"description":"Unknown IO ID 45"} 
[2026-08-19 12:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503275776001,"power":27908,"unknown_155":206,"unknown_28":32256,"ignition":35,"odometer":null,"unknown_45":504192081952776192}} 
[2026-08-19 12:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":160095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:21:07] local.INFO: GPS data processed {"connection_id":160095,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:21:07] local.INFO: Acknowledgment sent {"connection_id":160095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:21:09] local.INFO: TCP Data received {"connection_id":157541,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:21:09] local.INFO: Processing buffer {"connection_id":157541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:21:09] local.INFO: IMEI packet received {"connection_id":157541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":157541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:21:14] local.INFO: TCP Data received {"connection_id":157541,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:21:14] local.INFO: Processing buffer {"connection_id":157541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:21:14] local.INFO: IMEI packet received {"connection_id":157541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":157541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:21:15] local.INFO: TCP Data received {"connection_id":157541,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c5e2e8012d1821800721b3d8004c00d52e..."} 
[2026-08-19 12:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c5e2e8012d1821800721b3d8004c00d52e..."} 
[2026-08-19 12:21:15] local.INFO: Processing buffer {"connection_id":157541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c5e2e8012d1821800721b3d8004c00d52e..."} 
[2026-08-19 12:21:15] local.INFO: Packet analysis {"connection_id":157541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c5"} 
[2026-08-19 12:21:15] local.INFO: Extracted packet for processing {"connection_id":157541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c5"} 
[2026-08-19 12:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649240,"longitude_deg":75.655616,"latitude_deg":11.964924,"altitude":76,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503230976001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696972829491200,"note":"Value kept but may cause issues"} 
[2026-08-19 12:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260282880,"note":"Value kept but may cause issues"} 
[2026-08-19 12:21: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-08-19 12:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787122017000,"timestamp_ms":1787122017000,"timestamp_seconds":1787122017,"priority":1,"record_length":96,"hex_timestamp":"000001a018c5e2e8"} 
[2026-08-19 12:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:21: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-08-19 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 12:21:15] 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-08-19 12: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-08-19 12:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503230976001,"66":11721,"120":206,"28":31744,"24":0,"16":13696972829491200,"45":1738811699260282880},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503230976001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:21:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:21:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696972829491200,"km_value":13696972829491.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260282880,"description":"Unknown IO ID 45"} 
[2026-08-19 12:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503230976001,"power":11721,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260282880}} 
[2026-08-19 12:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":157541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:21:15] local.INFO: GPS data processed {"connection_id":157541,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:21:15] local.INFO: Acknowledgment sent {"connection_id":157541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:21:38] local.INFO: TCP Data received {"connection_id":160095,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c89650012d06cd8006f794a0001201402a..."} 
[2026-08-19 12:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c89650012d06cd8006f794a0001201402a..."} 
[2026-08-19 12:21:38] local.INFO: Processing buffer {"connection_id":160095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c89650012d06cd8006f794a0001201402a..."} 
[2026-08-19 12:21:38] local.INFO: Packet analysis {"connection_id":160095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c8"} 
[2026-08-19 12:21:38] local.INFO: Extracted packet for processing {"connection_id":160095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c8"} 
[2026-08-19 12:21:38] local.INFO: GPS Element Parsed {"raw_longitude":755420544,"raw_latitude":116888736,"longitude_deg":75.5420544,"latitude_deg":11.6888736,"altitude":18,"angle":320,"satellites":42,"speed":42,"hex_longitude":"2d06cd80","hex_latitude":"06f794a0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503279104001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385726451598491648,"note":"Value kept but may cause issues"} 
[2026-08-19 12:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":497366313769373696,"note":"Value kept but may cause issues"} 
[2026-08-19 12:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787122194000,"timestamp_ms":1787122194000,"timestamp_seconds":1787122194,"priority":1,"record_length":96,"hex_timestamp":"000001a018c89650"} 
[2026-08-19 12:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:21:38] 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-08-19 12: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-08-19 12:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503279104001,"66":27865,"155":206,"28":32256,"24":42,"16":385726451598491648,"45":497366313769373696},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-08-19 12:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503279104001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:21:38] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 12:21:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385726451598491648,"km_value":385726451598491.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":497366313769373696,"description":"Unknown IO ID 45"} 
[2026-08-19 12:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503279104001,"power":27865,"unknown_155":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_45":497366313769373696}} 
[2026-08-19 12:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":160095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:21:38] local.INFO: GPS data processed {"connection_id":160095,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:21:38] local.INFO: Acknowledgment sent {"connection_id":160095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:21:46] local.INFO: TCP Data received {"connection_id":157541,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c634f0012d1821800721b3d8004c00d52b..."} 
[2026-08-19 12:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c634f0012d1821800721b3d8004c00d52b..."} 
[2026-08-19 12:21:46] local.INFO: Processing buffer {"connection_id":157541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c634f0012d1821800721b3d8004c00d52b..."} 
[2026-08-19 12:21:46] local.INFO: Packet analysis {"connection_id":157541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c6"} 
[2026-08-19 12:21:46] local.INFO: Extracted packet for processing {"connection_id":157541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c6"} 
[2026-08-19 12:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649240,"longitude_deg":75.655616,"latitude_deg":11.964924,"altitude":76,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503236352001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696972829491200,"note":"Value kept but may cause issues"} 
[2026-08-19 12:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260282880,"note":"Value kept but may cause issues"} 
[2026-08-19 12:21:46] 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-08-19 12:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787122038000,"timestamp_ms":1787122038000,"timestamp_seconds":1787122038,"priority":1,"record_length":96,"hex_timestamp":"000001a018c634f0"} 
[2026-08-19 12:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:21:46] 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-08-19 12: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-19 12:21:46] 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-08-19 12: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-08-19 12:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503236352001,"66":12526,"120":206,"28":31744,"24":0,"16":13696972829491200,"45":1738811699260282880},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503236352001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:21:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:21:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696972829491200,"km_value":13696972829491.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260282880,"description":"Unknown IO ID 45"} 
[2026-08-19 12:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503236352001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260282880}} 
[2026-08-19 12:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":157541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:21:47] local.INFO: GPS data processed {"connection_id":157541,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:21:47] local.INFO: Acknowledgment sent {"connection_id":157541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:21:59] local.INFO: TCP Data received {"connection_id":160096,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:21:59] local.INFO: Processing buffer {"connection_id":160096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:21:59] local.INFO: IMEI packet received {"connection_id":160096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":160096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:22:04] local.INFO: TCP Data received {"connection_id":160096,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:22:04] local.INFO: Processing buffer {"connection_id":160096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:22:04] local.INFO: IMEI packet received {"connection_id":160096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":160096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:22:06] local.INFO: TCP Data received {"connection_id":160096,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018c8b590012d06b64006f7afc8000f013f2c..."} 
[2026-08-19 12:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c8b590012d06b64006f7afc8000f013f2c..."} 
[2026-08-19 12:22:06] local.INFO: Processing buffer {"connection_id":160096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c8b590012d06b64006f7afc8000f013f2c..."} 
[2026-08-19 12:22:06] local.INFO: Packet analysis {"connection_id":160096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c8"} 
[2026-08-19 12:22:06] local.INFO: Extracted packet for processing {"connection_id":160096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c8"} 
[2026-08-19 12:22:06] local.INFO: GPS Element Parsed {"raw_longitude":755414592,"raw_latitude":116895688,"longitude_deg":75.5414592,"latitude_deg":11.6895688,"altitude":15,"angle":319,"satellites":44,"speed":47,"hex_longitude":"2d06b640","hex_latitude":"06f7afc8","is_valid_coordinates":true} 
[2026-08-19 12:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503281664001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385726893980123136,"note":"Value kept but may cause issues"} 
[2026-08-19 12:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":490188701865123840,"note":"Value kept but may cause issues"} 
[2026-08-19 12:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787122202000,"timestamp_ms":1787122202000,"timestamp_seconds":1787122202,"priority":1,"record_length":96,"hex_timestamp":"000001a018c8b590"} 
[2026-08-19 12:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 12:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503281664001,"66":27908,"155":206,"28":32256,"24":47,"16":385726893980123136,"45":490188701865123840},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-08-19 12:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503281664001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:22:06] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 12:22:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385726893980123136,"km_value":385726893980123.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":490188701865123840,"description":"Unknown IO ID 45"} 
[2026-08-19 12:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503281664001,"power":27908,"unknown_155":206,"unknown_28":32256,"ignition":47,"odometer":null,"unknown_45":490188701865123840}} 
[2026-08-19 12:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":160096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:22:06] local.INFO: GPS data processed {"connection_id":160096,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:22:06] local.INFO: Acknowledgment sent {"connection_id":160096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:22:09] local.INFO: TCP Data received {"connection_id":157542,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:22:09] local.INFO: Processing buffer {"connection_id":157542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:22:09] local.INFO: IMEI packet received {"connection_id":157542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":157542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:22:14] local.INFO: TCP Data received {"connection_id":157542,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:22:14] local.INFO: Processing buffer {"connection_id":157542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:22:14] local.INFO: IMEI packet received {"connection_id":157542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":157542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:22:15] local.INFO: TCP Data received {"connection_id":157542,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c686f8012d1821800721b3d8004c00d52c..."} 
[2026-08-19 12:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c686f8012d1821800721b3d8004c00d52c..."} 
[2026-08-19 12:22:15] local.INFO: Processing buffer {"connection_id":157542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c686f8012d1821800721b3d8004c00d52c..."} 
[2026-08-19 12:22:15] local.INFO: Packet analysis {"connection_id":157542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c6"} 
[2026-08-19 12:22:15] local.INFO: Extracted packet for processing {"connection_id":157542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c6"} 
[2026-08-19 12:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649240,"longitude_deg":75.655616,"latitude_deg":11.964924,"altitude":76,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-19 12:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503241728001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696972829491200,"note":"Value kept but may cause issues"} 
[2026-08-19 12:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260282880,"note":"Value kept but may cause issues"} 
[2026-08-19 12:22: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-08-19 12:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787122059000,"timestamp_ms":1787122059000,"timestamp_seconds":1787122059,"priority":1,"record_length":96,"hex_timestamp":"000001a018c686f8"} 
[2026-08-19 12:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:22: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-08-19 12:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 12:22:15] 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-08-19 12:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503241728001,"66":12461,"120":206,"28":31744,"24":0,"16":13696972829491200,"45":1738811699260282880},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503241728001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:22:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:22:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696972829491200,"km_value":13696972829491.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260282880,"description":"Unknown IO ID 45"} 
[2026-08-19 12:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503241728001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260282880}} 
[2026-08-19 12:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":157542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:22:15] local.INFO: GPS data processed {"connection_id":157542,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:22:15] local.INFO: Acknowledgment sent {"connection_id":157542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:22:38] local.INFO: TCP Data received {"connection_id":160096,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ca0198012d05cec006f8bbc8000d015227..."} 
[2026-08-19 12:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ca0198012d05cec006f8bbc8000d015227..."} 
[2026-08-19 12:22:38] local.INFO: Processing buffer {"connection_id":160096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ca0198012d05cec006f8bbc8000d015227..."} 
[2026-08-19 12:22:38] local.INFO: Packet analysis {"connection_id":160096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ca"} 
[2026-08-19 12:22:38] local.INFO: Extracted packet for processing {"connection_id":160096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ca"} 
[2026-08-19 12:22:38] local.INFO: GPS Element Parsed {"raw_longitude":755355328,"raw_latitude":116964296,"longitude_deg":75.5355328,"latitude_deg":11.6964296,"altitude":13,"angle":338,"satellites":39,"speed":35,"hex_longitude":"2d05cec0","hex_latitude":"06f8bbc8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 12:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503302912001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385731292026634240,"note":"Value kept but may cause issues"} 
[2026-08-19 12:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":422001388774113280,"note":"Value kept but may cause issues"} 
[2026-08-19 12:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787122287000,"timestamp_ms":1787122287000,"timestamp_seconds":1787122287,"priority":1,"record_length":96,"hex_timestamp":"000001a018ca0198"} 
[2026-08-19 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-08-19 12:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:22:38] 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-08-19 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-08-19 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-08-19 12:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503302912001,"66":27908,"73":206,"28":32256,"24":35,"16":385731292026634240,"45":422001388774113280},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-08-19 12:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503302912001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:22:38] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-19 12:22:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385731292026634240,"km_value":385731292026634.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":422001388774113280,"description":"Unknown IO ID 45"} 
[2026-08-19 12:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503302912001,"power":27908,"unknown_73":206,"unknown_28":32256,"ignition":35,"odometer":null,"unknown_45":422001388774113280}} 
[2026-08-19 12:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":160096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:22:38] local.INFO: GPS data processed {"connection_id":160096,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:22:38] local.INFO: Acknowledgment sent {"connection_id":160096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:22:47] local.INFO: TCP Data received {"connection_id":157542,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018c6d900012d1821800721b3d8004c00d52d..."} 
[2026-08-19 12:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018c6d900012d1821800721b3d8004c00d52d..."} 
[2026-08-19 12:22:47] local.INFO: Processing buffer {"connection_id":157542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018c6d900012d1821800721b3d8004c00d52d..."} 
[2026-08-19 12:22:47] local.INFO: Packet analysis {"connection_id":157542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018c6"} 
[2026-08-19 12:22:47] local.INFO: Extracted packet for processing {"connection_id":157542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018c6"} 
[2026-08-19 12:22:47] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649240,"longitude_deg":75.655616,"latitude_deg":11.964924,"altitude":76,"angle":213,"satellites":45,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503247104001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696972829491200,"note":"Value kept but may cause issues"} 
[2026-08-19 12:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260282880,"note":"Value kept but may cause issues"} 
[2026-08-19 12:22:47] 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-08-19 12:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787122080000,"timestamp_ms":1787122080000,"timestamp_seconds":1787122080,"priority":1,"record_length":96,"hex_timestamp":"000001a018c6d900"} 
[2026-08-19 12:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:22:47] 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-08-19 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 12:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503247104001,"66":12526,"120":206,"28":31744,"24":0,"16":13696972829491200,"45":1738811699260282880},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503247104001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:22:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:22:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696972829491200,"km_value":13696972829491.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260282880,"description":"Unknown IO ID 45"} 
[2026-08-19 12:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503247104001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260282880}} 
[2026-08-19 12:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":157542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:22:47] local.INFO: GPS data processed {"connection_id":157542,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:22:47] local.INFO: Acknowledgment sent {"connection_id":157542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:22:59] local.INFO: TCP Data received {"connection_id":157917,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:22:59] local.INFO: Processing buffer {"connection_id":157917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:22:59] local.INFO: IMEI packet received {"connection_id":157917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":157917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:23:05] local.INFO: TCP Data received {"connection_id":157917,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:23:05] local.INFO: Processing buffer {"connection_id":157917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:23:05] local.INFO: IMEI packet received {"connection_id":157917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":157917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:23:06] local.INFO: TCP Data received {"connection_id":157917,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ca3078012d05c38006f8dcf0000c01582d..."} 
[2026-08-19 12:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ca3078012d05c38006f8dcf0000c01582d..."} 
[2026-08-19 12:23:06] local.INFO: Processing buffer {"connection_id":157917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ca3078012d05c38006f8dcf0000c01582d..."} 
[2026-08-19 12:23:06] local.INFO: Packet analysis {"connection_id":157917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ca"} 
[2026-08-19 12:23:06] local.INFO: Extracted packet for processing {"connection_id":157917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ca"} 
[2026-08-19 12:23:06] local.INFO: GPS Element Parsed {"raw_longitude":755352448,"raw_latitude":116972784,"longitude_deg":75.5352448,"latitude_deg":11.6972784,"altitude":12,"angle":344,"satellites":45,"speed":21,"hex_longitude":"2d05c380","hex_latitude":"06f8dcf0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 12:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503305472001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385731721523363840,"note":"Value kept but may cause issues"} 
[2026-08-19 12:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":418482951567427584,"note":"Value kept but may cause issues"} 
[2026-08-19 12:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787122299000,"timestamp_ms":1787122299000,"timestamp_seconds":1787122299,"priority":1,"record_length":96,"hex_timestamp":"000001a018ca3078"} 
[2026-08-19 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-08-19 12:23: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-08-19 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:23:06] 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-08-19 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-08-19 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-08-19 12:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503305472001,"66":27821,"73":206,"28":32256,"24":21,"16":385731721523363840,"45":418482951567427584},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-08-19 12:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503305472001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:23:06] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-19 12:23:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385731721523363840,"km_value":385731721523363.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":418482951567427584,"description":"Unknown IO ID 45"} 
[2026-08-19 12:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503305472001,"power":27821,"unknown_73":206,"unknown_28":32256,"ignition":21,"odometer":null,"unknown_45":418482951567427584}} 
[2026-08-19 12:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":157917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:23:06] local.INFO: GPS data processed {"connection_id":157917,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:23:06] local.INFO: Acknowledgment sent {"connection_id":157917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:23:09] local.INFO: TCP Data received {"connection_id":160097,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:23:09] local.INFO: Processing buffer {"connection_id":160097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:23:09] local.INFO: IMEI packet received {"connection_id":160097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":160097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:23:11] local.INFO: TCP Data received {"connection_id":160097,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:23:11] local.INFO: Processing buffer {"connection_id":160097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:23:11] local.INFO: IMEI packet received {"connection_id":160097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":160097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:23:14] local.INFO: TCP Data received {"connection_id":160097,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:23:14] local.INFO: Processing buffer {"connection_id":160097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:23:14] local.INFO: IMEI packet received {"connection_id":160097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":160097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:23:14] local.INFO: TCP Data received {"connection_id":160097,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ca5f58012d1821800721b310005300d22c..."} 
[2026-08-19 12:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ca5f58012d1821800721b310005300d22c..."} 
[2026-08-19 12:23:14] local.INFO: Processing buffer {"connection_id":160097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ca5f58012d1821800721b310005300d22c..."} 
[2026-08-19 12:23:14] local.INFO: Packet analysis {"connection_id":160097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ca"} 
[2026-08-19 12:23:14] local.INFO: Extracted packet for processing {"connection_id":160097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ca"} 
[2026-08-19 12:23:14] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649040,"longitude_deg":75.655616,"latitude_deg":11.964904,"altitude":83,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-19 12:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503306240001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696985714393088,"note":"Value kept but may cause issues"} 
[2026-08-19 12:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260231680,"note":"Value kept but may cause issues"} 
[2026-08-19 12:23:14] 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-08-19 12:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787122311000,"timestamp_ms":1787122311000,"timestamp_seconds":1787122311,"priority":1,"record_length":96,"hex_timestamp":"000001a018ca5f58"} 
[2026-08-19 12:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:23:14] 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-08-19 12:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 12:23:14] 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-08-19 12:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503306240001,"66":12461,"120":206,"28":31744,"24":0,"16":13696985714393088,"45":1738811699260231680},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503306240001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:23:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:23:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696985714393088,"km_value":13696985714393.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260231680,"description":"Unknown IO ID 45"} 
[2026-08-19 12:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503306240001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260231680}} 
[2026-08-19 12:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":160097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:23:14] local.INFO: GPS data processed {"connection_id":160097,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:23:14] local.INFO: Acknowledgment sent {"connection_id":160097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:23:37] local.INFO: TCP Data received {"connection_id":157917,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ca72e0012d05b90006f8fe30001101532d..."} 
[2026-08-19 12:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ca72e0012d05b90006f8fe30001101532d..."} 
[2026-08-19 12:23:37] local.INFO: Processing buffer {"connection_id":157917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ca72e0012d05b90006f8fe30001101532d..."} 
[2026-08-19 12:23:37] local.INFO: Packet analysis {"connection_id":157917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ca"} 
[2026-08-19 12:23:37] local.INFO: Extracted packet for processing {"connection_id":157917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ca"} 
[2026-08-19 12:23:37] local.INFO: GPS Element Parsed {"raw_longitude":755349760,"raw_latitude":116981296,"longitude_deg":75.534976,"latitude_deg":11.6981296,"altitude":17,"angle":339,"satellites":45,"speed":22,"hex_longitude":"2d05b900","hex_latitude":"06f8fe30","is_valid_coordinates":true} 
[2026-08-19 12:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503308544001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385732155315060736,"note":"Value kept but may cause issues"} 
[2026-08-19 12:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415316358081605632,"note":"Value kept but may cause issues"} 
[2026-08-19 12:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787122316000,"timestamp_ms":1787122316000,"timestamp_seconds":1787122316,"priority":1,"record_length":96,"hex_timestamp":"000001a018ca72e0"} 
[2026-08-19 12:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:23: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-08-19 12:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 12:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503308544001,"66":27930,"73":206,"28":32256,"24":22,"16":385732155315060736,"45":415316358081605632},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-08-19 12:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503308544001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:23:37] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-19 12:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385732155315060736,"km_value":385732155315060.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":415316358081605632,"description":"Unknown IO ID 45"} 
[2026-08-19 12:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503308544001,"power":27930,"unknown_73":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_45":415316358081605632}} 
[2026-08-19 12:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":157917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:23:37] local.INFO: GPS data processed {"connection_id":157917,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:23:37] local.INFO: Acknowledgment sent {"connection_id":157917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:23:46] local.INFO: TCP Data received {"connection_id":160097,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018cab160012d1821800721b310005300d22c..."} 
[2026-08-19 12:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cab160012d1821800721b310005300d22c..."} 
[2026-08-19 12:23:46] local.INFO: Processing buffer {"connection_id":160097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cab160012d1821800721b310005300d22c..."} 
[2026-08-19 12:23:46] local.INFO: Packet analysis {"connection_id":160097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ca"} 
[2026-08-19 12:23:46] local.INFO: Extracted packet for processing {"connection_id":160097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ca"} 
[2026-08-19 12:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649040,"longitude_deg":75.655616,"latitude_deg":11.964904,"altitude":83,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503311616001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696985714393088,"note":"Value kept but may cause issues"} 
[2026-08-19 12:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260231680,"note":"Value kept but may cause issues"} 
[2026-08-19 12:23:46] 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-08-19 12:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787122332000,"timestamp_ms":1787122332000,"timestamp_seconds":1787122332,"priority":1,"record_length":96,"hex_timestamp":"000001a018cab160"} 
[2026-08-19 12:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:23:46] 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-08-19 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 12:23:46] 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-08-19 12: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-08-19 12:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503311616001,"66":12439,"120":206,"28":31744,"24":0,"16":13696985714393088,"45":1738811699260231680},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503311616001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:23:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:23:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696985714393088,"km_value":13696985714393.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260231680,"description":"Unknown IO ID 45"} 
[2026-08-19 12:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503311616001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260231680}} 
[2026-08-19 12:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":160097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:23:46] local.INFO: GPS data processed {"connection_id":160097,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:23:46] local.INFO: Acknowledgment sent {"connection_id":160097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:23:58] local.INFO: TCP Data received {"connection_id":157543,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:23:58] local.INFO: Processing buffer {"connection_id":157543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:23:58] local.INFO: IMEI packet received {"connection_id":157543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":157543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:23:59] local.INFO: TCP Data received {"connection_id":157543,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:23:59] local.INFO: Processing buffer {"connection_id":157543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:23:59] local.INFO: IMEI packet received {"connection_id":157543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":157543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:24:02] local.INFO: TCP Data received {"connection_id":157543,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:24:02] local.INFO: Processing buffer {"connection_id":157543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:24:02] local.INFO: IMEI packet received {"connection_id":157543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":157543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:24:03] local.INFO: TCP Data received {"connection_id":157543,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:24:03] local.INFO: Processing buffer {"connection_id":157543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:24:03] local.INFO: IMEI packet received {"connection_id":157543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":157543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:24:04] local.INFO: TCP Data received {"connection_id":157543,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018caad78012d05ad4006f91fe00017015328..."} 
[2026-08-19 12:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018caad78012d05ad4006f91fe00017015328..."} 
[2026-08-19 12:24:04] local.INFO: Processing buffer {"connection_id":157543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018caad78012d05ad4006f91fe00017015328..."} 
[2026-08-19 12:24:04] local.INFO: Packet analysis {"connection_id":157543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ca"} 
[2026-08-19 12:24:04] local.INFO: Extracted packet for processing {"connection_id":157543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ca"} 
[2026-08-19 12:24:04] local.INFO: GPS Element Parsed {"raw_longitude":755346752,"raw_latitude":116989920,"longitude_deg":75.5346752,"latitude_deg":11.698992,"altitude":23,"angle":339,"satellites":40,"speed":22,"hex_longitude":"2d05ad40","hex_latitude":"06f91fe0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503312896001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385732597696692224,"note":"Value kept but may cause issues"} 
[2026-08-19 12:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":412360870828322816,"note":"Value kept but may cause issues"} 
[2026-08-19 12:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787122331000,"timestamp_ms":1787122331000,"timestamp_seconds":1787122331,"priority":1,"record_length":96,"hex_timestamp":"000001a018caad78"} 
[2026-08-19 12:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:24: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-08-19 12:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 12:24:04] 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-08-19 12: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-08-19 12:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503312896001,"66":28050,"73":206,"28":32256,"24":22,"16":385732597696692224,"45":412360870828322816},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-08-19 12:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503312896001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:24:04] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-19 12:24:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385732597696692224,"km_value":385732597696692.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":412360870828322816,"description":"Unknown IO ID 45"} 
[2026-08-19 12:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503312896001,"power":28050,"unknown_73":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_45":412360870828322816}} 
[2026-08-19 12:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":157543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:24:04] local.INFO: GPS data processed {"connection_id":157543,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:24:04] local.INFO: Acknowledgment sent {"connection_id":157543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:24:05] local.INFO: TCP Data received {"connection_id":157543,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018caf3c8012d05a14006f940b8001d01572a..."} 
[2026-08-19 12:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018caf3c8012d05a14006f940b8001d01572a..."} 
[2026-08-19 12:24:05] local.INFO: Processing buffer {"connection_id":157543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018caf3c8012d05a14006f940b8001d01572a..."} 
[2026-08-19 12:24:05] local.INFO: Packet analysis {"connection_id":157543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ca"} 
[2026-08-19 12:24:05] local.INFO: Extracted packet for processing {"connection_id":157543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ca"} 
[2026-08-19 12:24:05] local.INFO: GPS Element Parsed {"raw_longitude":755343680,"raw_latitude":116998328,"longitude_deg":75.534368,"latitude_deg":11.6998328,"altitude":29,"angle":343,"satellites":42,"speed":21,"hex_longitude":"2d05a140","hex_latitude":"06f940b8","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503316736001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385733031488389120,"note":"Value kept but may cause issues"} 
[2026-08-19 12:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":409053539854180352,"note":"Value kept but may cause issues"} 
[2026-08-19 12:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787122349000,"timestamp_ms":1787122349000,"timestamp_seconds":1787122349,"priority":1,"record_length":96,"hex_timestamp":"000001a018caf3c8"} 
[2026-08-19 12:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 12:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503316736001,"66":28017,"74":206,"28":32256,"24":21,"16":385733031488389120,"45":409053539854180352},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-08-19 12:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503316736001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:24:05] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-19 12:24:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385733031488389120,"km_value":385733031488389.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":409053539854180352,"description":"Unknown IO ID 45"} 
[2026-08-19 12:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503316736001,"power":28017,"unknown_74":206,"unknown_28":32256,"ignition":21,"odometer":null,"unknown_45":409053539854180352}} 
[2026-08-19 12:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":157543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:24:05] local.INFO: GPS data processed {"connection_id":157543,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:24:05] local.INFO: Acknowledgment sent {"connection_id":157543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:24:14] local.INFO: TCP Data received {"connection_id":158785,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:24:14] local.INFO: Processing buffer {"connection_id":158785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:24:14] local.INFO: IMEI packet received {"connection_id":158785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":158785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:24:15] local.INFO: TCP Data received {"connection_id":158785,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:24:15] local.INFO: Processing buffer {"connection_id":158785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:24:15] local.INFO: IMEI packet received {"connection_id":158785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":158785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:24:19] local.INFO: TCP Data received {"connection_id":158785,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:24:19] local.INFO: Processing buffer {"connection_id":158785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:24:19] local.INFO: IMEI packet received {"connection_id":158785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":158785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:24:19] local.INFO: TCP Data received {"connection_id":158785,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018cb0368012d1821800721b310005300d22c..."} 
[2026-08-19 12:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cb0368012d1821800721b310005300d22c..."} 
[2026-08-19 12:24:19] local.INFO: Processing buffer {"connection_id":158785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cb0368012d1821800721b310005300d22c..."} 
[2026-08-19 12:24:19] local.INFO: Packet analysis {"connection_id":158785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cb"} 
[2026-08-19 12:24:19] local.INFO: Extracted packet for processing {"connection_id":158785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cb"} 
[2026-08-19 12:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649040,"longitude_deg":75.655616,"latitude_deg":11.964904,"altitude":83,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503316992001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696985714393088,"note":"Value kept but may cause issues"} 
[2026-08-19 12:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260231680,"note":"Value kept but may cause issues"} 
[2026-08-19 12:24:19] 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-08-19 12:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787122353000,"timestamp_ms":1787122353000,"timestamp_seconds":1787122353,"priority":1,"record_length":96,"hex_timestamp":"000001a018cb0368"} 
[2026-08-19 12:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-19 12:24:19] 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-08-19 12: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-08-19 12:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503316992001,"66":12461,"120":206,"28":31744,"24":0,"16":13696985714393088,"45":1738811699260231680},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503316992001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:24:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:24:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696985714393088,"km_value":13696985714393.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260231680,"description":"Unknown IO ID 45"} 
[2026-08-19 12:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503316992001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260231680}} 
[2026-08-19 12:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":158785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:24:19] local.INFO: GPS data processed {"connection_id":158785,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:24:19] local.INFO: Acknowledgment sent {"connection_id":158785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:24:25] local.INFO: TCP Data received {"connection_id":158785,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018cb5570012d1821800721b310005300d228..."} 
[2026-08-19 12:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cb5570012d1821800721b310005300d228..."} 
[2026-08-19 12:24:25] local.INFO: Processing buffer {"connection_id":158785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cb5570012d1821800721b310005300d228..."} 
[2026-08-19 12:24:25] local.INFO: Packet analysis {"connection_id":158785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cb"} 
[2026-08-19 12:24:25] local.INFO: Extracted packet for processing {"connection_id":158785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cb"} 
[2026-08-19 12:24:25] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649040,"longitude_deg":75.655616,"latitude_deg":11.964904,"altitude":83,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503322368001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696985714393088,"note":"Value kept but may cause issues"} 
[2026-08-19 12:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260231680,"note":"Value kept but may cause issues"} 
[2026-08-19 12:24:25] 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-08-19 12:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787122374000,"timestamp_ms":1787122374000,"timestamp_seconds":1787122374,"priority":1,"record_length":96,"hex_timestamp":"000001a018cb5570"} 
[2026-08-19 12:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:24:25] 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-08-19 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 12:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":158785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":158785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":158785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503322368001,"66":12406,"120":206,"28":31744,"24":0,"16":13696985714393088,"45":1738811699260231680},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503322368001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:24:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:24:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696985714393088,"km_value":13696985714393.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260231680,"description":"Unknown IO ID 45"} 
[2026-08-19 12:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503322368001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260231680}} 
[2026-08-19 12:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":158785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:24:25] local.INFO: GPS data processed {"connection_id":158785,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:24:25] local.INFO: Acknowledgment sent {"connection_id":158785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:24:36] local.INFO: TCP Data received {"connection_id":157543,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018cc2090012d05710006f9d230000c016129..."} 
[2026-08-19 12:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cc2090012d05710006f9d230000c016129..."} 
[2026-08-19 12:24:36] local.INFO: Processing buffer {"connection_id":157543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cc2090012d05710006f9d230000c016129..."} 
[2026-08-19 12:24:36] local.INFO: Packet analysis {"connection_id":157543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cc"} 
[2026-08-19 12:24:36] local.INFO: Extracted packet for processing {"connection_id":157543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cc"} 
[2026-08-19 12:24:36] local.INFO: GPS Element Parsed {"raw_longitude":755331328,"raw_latitude":117035568,"longitude_deg":75.5331328,"latitude_deg":11.7035568,"altitude":12,"angle":353,"satellites":41,"speed":22,"hex_longitude":"2d057100","hex_latitude":"06f9d230","is_valid_coordinates":true} 
[2026-08-19 12:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503340800001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385735372245565440,"note":"Value kept but may cause issues"} 
[2026-08-19 12:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":392305778751449088,"note":"Value kept but may cause issues"} 
[2026-08-19 12:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787122426000,"timestamp_ms":1787122426000,"timestamp_seconds":1787122426,"priority":1,"record_length":96,"hex_timestamp":"000001a018cc2090"} 
[2026-08-19 12:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:24: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-08-19 12:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 12:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503340800001,"66":27821,"13":206,"28":32256,"24":22,"16":385735372245565440,"45":392305778751449088},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,28,24,16,45]} 
[2026-08-19 12:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503340800001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:24:36] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-19 12:24:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385735372245565440,"km_value":385735372245565.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":392305778751449088,"description":"Unknown IO ID 45"} 
[2026-08-19 12:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503340800001,"power":27821,"unknown_13":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_45":392305778751449088}} 
[2026-08-19 12:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":157543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:24:36] local.INFO: GPS data processed {"connection_id":157543,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:24:36] local.INFO: Acknowledgment sent {"connection_id":157543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:24:59] local.INFO: TCP Data received {"connection_id":160098,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:24:59] local.INFO: Processing buffer {"connection_id":160098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:24:59] local.INFO: IMEI packet received {"connection_id":160098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":160098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:25:04] local.INFO: TCP Data received {"connection_id":160098,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:25:04] local.INFO: Processing buffer {"connection_id":160098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:25:04] local.INFO: IMEI packet received {"connection_id":160098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":160098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:25:05] local.INFO: TCP Data received {"connection_id":160098,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018cc2478012d05710006f9d448000b000b2b..."} 
[2026-08-19 12:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cc2478012d05710006f9d448000b000b2b..."} 
[2026-08-19 12:25:05] local.INFO: Processing buffer {"connection_id":160098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cc2478012d05710006f9d448000b000b2b..."} 
[2026-08-19 12:25:05] local.INFO: Packet analysis {"connection_id":160098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cc"} 
[2026-08-19 12:25:05] local.INFO: Extracted packet for processing {"connection_id":160098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cc"} 
[2026-08-19 12:25:05] local.INFO: GPS Element Parsed {"raw_longitude":755331328,"raw_latitude":117036104,"longitude_deg":75.5331328,"latitude_deg":11.7036104,"altitude":11,"angle":11,"satellites":43,"speed":21,"hex_longitude":"2d057100","hex_latitude":"06f9d448","is_valid_coordinates":true} 
[2026-08-19 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-08-19 12:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503341056001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385735398015369216,"note":"Value kept but may cause issues"} 
[2026-08-19 12:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":392094672519049216,"note":"Value kept but may cause issues"} 
[2026-08-19 12:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787122427000,"timestamp_ms":1787122427000,"timestamp_seconds":1787122427,"priority":1,"record_length":96,"hex_timestamp":"000001a018cc2478"} 
[2026-08-19 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-08-19 12:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 12:25: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-08-19 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-08-19 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-08-19 12:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503341056001,"66":27821,"13":206,"28":32256,"24":21,"16":385735398015369216,"45":392094672519049216},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,28,24,16,45]} 
[2026-08-19 12:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503341056001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:25:05] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-19 12:25:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385735398015369216,"km_value":385735398015369.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":392094672519049216,"description":"Unknown IO ID 45"} 
[2026-08-19 12:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503341056001,"power":27821,"unknown_13":206,"unknown_28":32256,"ignition":21,"odometer":null,"unknown_45":392094672519049216}} 
[2026-08-19 12:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":160098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:25:05] local.INFO: GPS data processed {"connection_id":160098,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:25:05] local.INFO: Acknowledgment sent {"connection_id":160098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:25:09] local.INFO: TCP Data received {"connection_id":160099,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:25:09] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:25:09] local.INFO: IMEI packet received {"connection_id":160099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":160099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:25:14] local.INFO: TCP Data received {"connection_id":160099,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:25:14] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:25:14] local.INFO: IMEI packet received {"connection_id":160099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":160099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:25:15] local.INFO: TCP Data received {"connection_id":160099,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018cba778012d1821800721b310005300d22c..."} 
[2026-08-19 12:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cba778012d1821800721b310005300d22c..."} 
[2026-08-19 12:25:15] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cba778012d1821800721b310005300d22c..."} 
[2026-08-19 12:25:15] local.INFO: Packet analysis {"connection_id":160099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cb"} 
[2026-08-19 12:25:15] local.INFO: Extracted packet for processing {"connection_id":160099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cb"} 
[2026-08-19 12:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649040,"longitude_deg":75.655616,"latitude_deg":11.964904,"altitude":83,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-19 12:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503327744001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696985714393088,"note":"Value kept but may cause issues"} 
[2026-08-19 12:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260231680,"note":"Value kept but may cause issues"} 
[2026-08-19 12:25: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-08-19 12:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787122395000,"timestamp_ms":1787122395000,"timestamp_seconds":1787122395,"priority":1,"record_length":96,"hex_timestamp":"000001a018cba778"} 
[2026-08-19 12:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:25: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-08-19 12:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 12:25:15] 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-08-19 12:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503327744001,"66":12004,"120":206,"28":31744,"24":0,"16":13696985714393088,"45":1738811699260231680},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503327744001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:25:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:25:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696985714393088,"km_value":13696985714393.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260231680,"description":"Unknown IO ID 45"} 
[2026-08-19 12:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503327744001,"power":12004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260231680}} 
[2026-08-19 12:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":160099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:25:15] local.INFO: GPS data processed {"connection_id":160099,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:25:15] local.INFO: Acknowledgment sent {"connection_id":160099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:25:37] local.INFO: TCP Data received {"connection_id":160098,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018cc2860012d05720006f9d600000c001b2a..."} 
[2026-08-19 12:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cc2860012d05720006f9d600000c001b2a..."} 
[2026-08-19 12:25:37] local.INFO: Processing buffer {"connection_id":160098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cc2860012d05720006f9d600000c001b2a..."} 
[2026-08-19 12:25:37] local.INFO: Packet analysis {"connection_id":160098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cc"} 
[2026-08-19 12:25:37] local.INFO: Extracted packet for processing {"connection_id":160098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cc"} 
[2026-08-19 12:25:37] local.INFO: GPS Element Parsed {"raw_longitude":755331584,"raw_latitude":117036544,"longitude_deg":75.5331584,"latitude_deg":11.7036544,"altitude":12,"angle":27,"satellites":42,"speed":19,"hex_longitude":"2d057200","hex_latitude":"06f9d600","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503341312001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385735419490205696,"note":"Value kept but may cause issues"} 
[2026-08-19 12:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":392094672519186432,"note":"Value kept but may cause issues"} 
[2026-08-19 12:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787122428000,"timestamp_ms":1787122428000,"timestamp_seconds":1787122428,"priority":1,"record_length":96,"hex_timestamp":"000001a018cc2860"} 
[2026-08-19 12:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:25: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-08-19 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 12:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503341312001,"66":27800,"13":206,"28":32256,"24":19,"16":385735419490205696,"45":392094672519186432},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,28,24,16,45]} 
[2026-08-19 12:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503341312001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:25:37] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-19 12:25:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385735419490205696,"km_value":385735419490205.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":392094672519186432,"description":"Unknown IO ID 45"} 
[2026-08-19 12:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503341312001,"power":27800,"unknown_13":206,"unknown_28":32256,"ignition":19,"odometer":null,"unknown_45":392094672519186432}} 
[2026-08-19 12:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":160098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:25:37] local.INFO: GPS data processed {"connection_id":160098,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:25:37] local.INFO: Acknowledgment sent {"connection_id":160098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:25:47] local.INFO: TCP Data received {"connection_id":160099,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018cbf980012d1821800721b310005300d22a..."} 
[2026-08-19 12:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cbf980012d1821800721b310005300d22a..."} 
[2026-08-19 12:25:47] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cbf980012d1821800721b310005300d22a..."} 
[2026-08-19 12:25:47] local.INFO: Packet analysis {"connection_id":160099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cb"} 
[2026-08-19 12:25:47] local.INFO: Extracted packet for processing {"connection_id":160099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cb"} 
[2026-08-19 12:25:47] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649040,"longitude_deg":75.655616,"latitude_deg":11.964904,"altitude":83,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-19 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-08-19 12:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503333120001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696985714393088,"note":"Value kept but may cause issues"} 
[2026-08-19 12:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260231680,"note":"Value kept but may cause issues"} 
[2026-08-19 12:25:47] 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-08-19 12:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787122416000,"timestamp_ms":1787122416000,"timestamp_seconds":1787122416,"priority":1,"record_length":96,"hex_timestamp":"000001a018cbf980"} 
[2026-08-19 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-08-19 12:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 12:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 12:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503333120001,"66":12428,"120":206,"28":31744,"24":0,"16":13696985714393088,"45":1738811699260231680},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503333120001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:25:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:25:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696985714393088,"km_value":13696985714393.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260231680,"description":"Unknown IO ID 45"} 
[2026-08-19 12:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503333120001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260231680}} 
[2026-08-19 12:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":160099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:25:47] local.INFO: GPS data processed {"connection_id":160099,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:25:47] local.INFO: Acknowledgment sent {"connection_id":160099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:25:59] local.INFO: TCP Data received {"connection_id":157918,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:25:59] local.INFO: Processing buffer {"connection_id":157918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:25:59] local.INFO: IMEI packet received {"connection_id":157918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":157918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:25:59] local.INFO: TCP Data received {"connection_id":157918,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:25:59] local.INFO: Processing buffer {"connection_id":157918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:25:59] local.INFO: IMEI packet received {"connection_id":157918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":157918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:26:04] local.INFO: TCP Data received {"connection_id":157918,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:26:04] local.INFO: Processing buffer {"connection_id":157918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:26:04] local.INFO: IMEI packet received {"connection_id":157918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":157918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:26:04] local.INFO: TCP Data received {"connection_id":157918,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:26:04] local.INFO: Processing buffer {"connection_id":157918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:26:04] local.INFO: IMEI packet received {"connection_id":157918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":157918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:26:05] local.INFO: TCP Data received {"connection_id":157918,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018cd3200012d055cc006fa5020000b010d2c..."} 
[2026-08-19 12:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cd3200012d055cc006fa5020000b010d2c..."} 
[2026-08-19 12:26:05] local.INFO: Processing buffer {"connection_id":157918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cd3200012d055cc006fa5020000b010d2c..."} 
[2026-08-19 12:26:05] local.INFO: Packet analysis {"connection_id":157918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cd"} 
[2026-08-19 12:26:05] local.INFO: Extracted packet for processing {"connection_id":157918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cd"} 
[2026-08-19 12:26:05] local.INFO: GPS Element Parsed {"raw_longitude":755326144,"raw_latitude":117067808,"longitude_deg":75.5326144,"latitude_deg":11.7067808,"altitude":11,"angle":269,"satellites":44,"speed":19,"hex_longitude":"2d055cc0","hex_latitude":"06fa5020","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503357184001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385737652873199616,"note":"Value kept but may cause issues"} 
[2026-08-19 12:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":390546560155222016,"note":"Value kept but may cause issues"} 
[2026-08-19 12:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787122496000,"timestamp_ms":1787122496000,"timestamp_seconds":1787122496,"priority":1,"record_length":96,"hex_timestamp":"000001a018cd3200"} 
[2026-08-19 12:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 12:26:05] 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-08-19 12: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-08-19 12:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503357184001,"66":27876,"156":206,"28":32256,"24":19,"16":385737652873199616,"45":390546560155222016},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,28,24,16,45]} 
[2026-08-19 12:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503357184001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:26:05] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 12:26:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385737652873199616,"km_value":385737652873199.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":390546560155222016,"description":"Unknown IO ID 45"} 
[2026-08-19 12:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503357184001,"power":27876,"unknown_156":206,"unknown_28":32256,"ignition":19,"odometer":null,"unknown_45":390546560155222016}} 
[2026-08-19 12:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":157918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:26:05] local.INFO: GPS data processed {"connection_id":157918,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:26:05] local.INFO: Acknowledgment sent {"connection_id":157918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:26:08] local.INFO: TCP Data received {"connection_id":157918,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018cd6c98012d053c4006fa5438000f011a2e..."} 
[2026-08-19 12:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cd6c98012d053c4006fa5438000f011a2e..."} 
[2026-08-19 12:26:08] local.INFO: Processing buffer {"connection_id":157918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cd6c98012d053c4006fa5438000f011a2e..."} 
[2026-08-19 12:26:08] local.INFO: Packet analysis {"connection_id":157918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cd"} 
[2026-08-19 12:26:08] local.INFO: Extracted packet for processing {"connection_id":157918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cd"} 
[2026-08-19 12:26:08] local.INFO: GPS Element Parsed {"raw_longitude":755317824,"raw_latitude":117068856,"longitude_deg":75.5317824,"latitude_deg":11.7068856,"altitude":15,"angle":282,"satellites":46,"speed":23,"hex_longitude":"2d053c40","hex_latitude":"06fa5438","is_valid_coordinates":true} 
[2026-08-19 12:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503358976001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385738052305158144,"note":"Value kept but may cause issues"} 
[2026-08-19 12:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":386394804248911872,"note":"Value kept but may cause issues"} 
[2026-08-19 12:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787122511000,"timestamp_ms":1787122511000,"timestamp_seconds":1787122511,"priority":1,"record_length":96,"hex_timestamp":"000001a018cd6c98"} 
[2026-08-19 12:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 12:26:08] 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-08-19 12:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":157918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":157918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":157918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503358976001,"66":27745,"188":206,"28":32256,"24":23,"16":385738052305158144,"45":386394804248911872},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,28,24,16,45]} 
[2026-08-19 12:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503358976001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:26:08] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-19 12:26:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385738052305158144,"km_value":385738052305158.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":386394804248911872,"description":"Unknown IO ID 45"} 
[2026-08-19 12:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503358976001,"power":27745,"unknown_188":206,"unknown_28":32256,"ignition":23,"odometer":null,"unknown_45":386394804248911872}} 
[2026-08-19 12:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":157918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:26:08] local.INFO: GPS data processed {"connection_id":157918,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:26:08] local.INFO: Acknowledgment sent {"connection_id":157918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:26:09] local.INFO: TCP Data received {"connection_id":157919,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:26:09] local.INFO: Processing buffer {"connection_id":157919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:26:09] local.INFO: IMEI packet received {"connection_id":157919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":157919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:26:14] local.INFO: TCP Data received {"connection_id":157919,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:26:14] local.INFO: Processing buffer {"connection_id":157919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:26:14] local.INFO: IMEI packet received {"connection_id":157919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":157919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:26:15] local.INFO: TCP Data received {"connection_id":157919,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018cc4b88012d1821800721b310005300d229..."} 
[2026-08-19 12:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cc4b88012d1821800721b310005300d229..."} 
[2026-08-19 12:26:15] local.INFO: Processing buffer {"connection_id":157919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cc4b88012d1821800721b310005300d229..."} 
[2026-08-19 12:26:15] local.INFO: Packet analysis {"connection_id":157919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cc"} 
[2026-08-19 12:26:15] local.INFO: Extracted packet for processing {"connection_id":157919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cc"} 
[2026-08-19 12:26:15] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649040,"longitude_deg":75.655616,"latitude_deg":11.964904,"altitude":83,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503338496001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696985714393088,"note":"Value kept but may cause issues"} 
[2026-08-19 12:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260231680,"note":"Value kept but may cause issues"} 
[2026-08-19 12:26: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-08-19 12:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787122437000,"timestamp_ms":1787122437000,"timestamp_seconds":1787122437,"priority":1,"record_length":96,"hex_timestamp":"000001a018cc4b88"} 
[2026-08-19 12:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:26: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-08-19 12: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 12:26:15] 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-08-19 12: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-08-19 12:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503338496001,"66":12385,"120":206,"28":31744,"24":0,"16":13696985714393088,"45":1738811699260231680},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503338496001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:26:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:26:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696985714393088,"km_value":13696985714393.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260231680,"description":"Unknown IO ID 45"} 
[2026-08-19 12:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503338496001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260231680}} 
[2026-08-19 12:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":157919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:26:15] local.INFO: GPS data processed {"connection_id":157919,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:26:15] local.INFO: Acknowledgment sent {"connection_id":157919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:26:40] local.INFO: TCP Data received {"connection_id":157918,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018cd7c38012d0533c006fa57680010012a2d..."} 
[2026-08-19 12:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cd7c38012d0533c006fa57680010012a2d..."} 
[2026-08-19 12:26:40] local.INFO: Processing buffer {"connection_id":157918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cd7c38012d0533c006fa57680010012a2d..."} 
[2026-08-19 12:26:40] local.INFO: Packet analysis {"connection_id":157918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cd"} 
[2026-08-19 12:26:40] local.INFO: Extracted packet for processing {"connection_id":157918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cd"} 
[2026-08-19 12:26:40] local.INFO: GPS Element Parsed {"raw_longitude":755315648,"raw_latitude":117069672,"longitude_deg":75.5315648,"latitude_deg":11.7069672,"altitude":16,"angle":298,"satellites":45,"speed":24,"hex_longitude":"2d0533c0","hex_latitude":"06fa5768","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503362816001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385738163974307840,"note":"Value kept but may cause issues"} 
[2026-08-19 12:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":377246867506083840,"note":"Value kept but may cause issues"} 
[2026-08-19 12:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787122515000,"timestamp_ms":1787122515000,"timestamp_seconds":1787122515,"priority":1,"record_length":96,"hex_timestamp":"000001a018cd7c38"} 
[2026-08-19 12:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 12:26:40] 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-08-19 12: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-08-19 12:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503362816001,"66":27930,"188":206,"28":32256,"24":24,"16":385738163974307840,"45":377246867506083840},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,28,24,16,45]} 
[2026-08-19 12:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503362816001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:26:40] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-19 12:26:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385738163974307840,"km_value":385738163974307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":377246867506083840,"description":"Unknown IO ID 45"} 
[2026-08-19 12:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503362816001,"power":27930,"unknown_188":206,"unknown_28":32256,"ignition":24,"odometer":null,"unknown_45":377246867506083840}} 
[2026-08-19 12:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":157918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:26:40] local.INFO: GPS data processed {"connection_id":157918,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:26:40] local.INFO: Acknowledgment sent {"connection_id":157918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:26:47] local.INFO: TCP Data received {"connection_id":157919,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018cc9d90012d1821800721b310005300d227..."} 
[2026-08-19 12:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cc9d90012d1821800721b310005300d227..."} 
[2026-08-19 12:26:47] local.INFO: Processing buffer {"connection_id":157919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cc9d90012d1821800721b310005300d227..."} 
[2026-08-19 12:26:47] local.INFO: Packet analysis {"connection_id":157919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cc"} 
[2026-08-19 12:26:47] local.INFO: Extracted packet for processing {"connection_id":157919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cc"} 
[2026-08-19 12:26:47] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649040,"longitude_deg":75.655616,"latitude_deg":11.964904,"altitude":83,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503343872001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696985714393088,"note":"Value kept but may cause issues"} 
[2026-08-19 12:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260231680,"note":"Value kept but may cause issues"} 
[2026-08-19 12:26:47] 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-08-19 12:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787122458000,"timestamp_ms":1787122458000,"timestamp_seconds":1787122458,"priority":1,"record_length":96,"hex_timestamp":"000001a018cc9d90"} 
[2026-08-19 12:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":97,"data_length":795,"current_offset":136} 
[2026-08-19 12:26:47] 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-08-19 12: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-08-19 12:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503343872001,"66":12385,"120":206,"28":31744,"24":0,"16":13696985714393088,"45":1738811699260231680},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503343872001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:26:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:26:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696985714393088,"km_value":13696985714393.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260231680,"description":"Unknown IO ID 45"} 
[2026-08-19 12:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503343872001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260231680}} 
[2026-08-19 12:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":157919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:26:47] local.INFO: GPS data processed {"connection_id":157919,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:26:47] local.INFO: Acknowledgment sent {"connection_id":157919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:27:05] local.INFO: TCP Data received {"connection_id":160100,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:27:05] local.INFO: Processing buffer {"connection_id":160100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:27:05] local.INFO: IMEI packet received {"connection_id":160100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":160100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:27:06] local.INFO: TCP Data received {"connection_id":160100,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:27:06] local.INFO: Processing buffer {"connection_id":160100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:27:06] local.INFO: IMEI packet received {"connection_id":160100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":160100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:27:08] local.INFO: TCP Data received {"connection_id":160100,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ce1878012d04e28006fa8f10001a01222d..."} 
[2026-08-19 12:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ce1878012d04e28006fa8f10001a01222d..."} 
[2026-08-19 12:27:08] local.INFO: Processing buffer {"connection_id":160100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ce1878012d04e28006fa8f10001a01222d..."} 
[2026-08-19 12:27:08] local.INFO: Packet analysis {"connection_id":160100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ce"} 
[2026-08-19 12:27:08] local.INFO: Extracted packet for processing {"connection_id":160100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ce"} 
[2026-08-19 12:27:08] local.INFO: GPS Element Parsed {"raw_longitude":755294848,"raw_latitude":117083920,"longitude_deg":75.5294848,"latitude_deg":11.708392,"altitude":26,"angle":290,"satellites":45,"speed":33,"hex_longitude":"2d04e280","hex_latitude":"06fa8f10","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503372032001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385739439579594752,"note":"Value kept but may cause issues"} 
[2026-08-19 12:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":358036200348585984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787122555000,"timestamp_ms":1787122555000,"timestamp_seconds":1787122555,"priority":1,"record_length":96,"hex_timestamp":"000001a018ce1878"} 
[2026-08-19 12:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503372032001,"66":27974,"189":206,"28":32256,"24":33,"16":385739439579594752,"45":358036200348585984},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,28,24,16,45]} 
[2026-08-19 12:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503372032001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:27:08] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-19 12:27:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385739439579594752,"km_value":385739439579594.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":358036200348585984,"description":"Unknown IO ID 45"} 
[2026-08-19 12:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503372032001,"power":27974,"unknown_189":206,"unknown_28":32256,"ignition":33,"odometer":null,"unknown_45":358036200348585984}} 
[2026-08-19 12:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":160100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:27:08] local.INFO: GPS data processed {"connection_id":160100,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:27:08] local.INFO: Acknowledgment sent {"connection_id":160100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:27:09] local.INFO: TCP Data received {"connection_id":157920,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:27:09] local.INFO: Processing buffer {"connection_id":157920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:27:09] local.INFO: IMEI packet received {"connection_id":157920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":157920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:27:10] local.INFO: TCP Data received {"connection_id":160100,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ce3f88012d04c10006fa9c10001701272a..."} 
[2026-08-19 12:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ce3f88012d04c10006fa9c10001701272a..."} 
[2026-08-19 12:27:10] local.INFO: Processing buffer {"connection_id":160100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ce3f88012d04c10006fa9c10001701272a..."} 
[2026-08-19 12:27:10] local.INFO: Packet analysis {"connection_id":160100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ce"} 
[2026-08-19 12:27:10] local.INFO: Extracted packet for processing {"connection_id":160100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ce"} 
[2026-08-19 12:27:10] local.INFO: GPS Element Parsed {"raw_longitude":755286272,"raw_latitude":117087248,"longitude_deg":75.5286272,"latitude_deg":11.7087248,"altitude":23,"angle":295,"satellites":42,"speed":39,"hex_longitude":"2d04c100","hex_latitude":"06fa9c10","is_valid_coordinates":true} 
[2026-08-19 12:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503374080001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385739881961226240,"note":"Value kept but may cause issues"} 
[2026-08-19 12:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":351984488350158848,"note":"Value kept but may cause issues"} 
[2026-08-19 12:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787122565000,"timestamp_ms":1787122565000,"timestamp_seconds":1787122565,"priority":1,"record_length":96,"hex_timestamp":"000001a018ce3f88"} 
[2026-08-19 12:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:27: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-08-19 12:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 12:27:10] 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-08-19 12:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503374080001,"66":27919,"189":206,"28":32256,"24":39,"16":385739881961226240,"45":351984488350158848},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,28,24,16,45]} 
[2026-08-19 12:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503374080001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:27:10] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-19 12:27:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385739881961226240,"km_value":385739881961226.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":351984488350158848,"description":"Unknown IO ID 45"} 
[2026-08-19 12:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503374080001,"power":27919,"unknown_189":206,"unknown_28":32256,"ignition":39,"odometer":null,"unknown_45":351984488350158848}} 
[2026-08-19 12:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":160100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:27:10] local.INFO: GPS data processed {"connection_id":160100,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:27:10] local.INFO: Acknowledgment sent {"connection_id":160100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:27:14] local.INFO: TCP Data received {"connection_id":157920,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:27:14] local.INFO: Processing buffer {"connection_id":157920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:27:14] local.INFO: IMEI packet received {"connection_id":157920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":157920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:27:14] local.INFO: TCP Data received {"connection_id":157920,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ccef98012d1821800721b310005300d229..."} 
[2026-08-19 12:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ccef98012d1821800721b310005300d229..."} 
[2026-08-19 12:27:14] local.INFO: Processing buffer {"connection_id":157920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ccef98012d1821800721b310005300d229..."} 
[2026-08-19 12:27:14] local.INFO: Packet analysis {"connection_id":157920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cc"} 
[2026-08-19 12:27:14] local.INFO: Extracted packet for processing {"connection_id":157920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cc"} 
[2026-08-19 12:27:14] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649040,"longitude_deg":75.655616,"latitude_deg":11.964904,"altitude":83,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-19 12:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503349248001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696985714393088,"note":"Value kept but may cause issues"} 
[2026-08-19 12:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260231680,"note":"Value kept but may cause issues"} 
[2026-08-19 12:27:14] 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-08-19 12:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787122479000,"timestamp_ms":1787122479000,"timestamp_seconds":1787122479,"priority":1,"record_length":96,"hex_timestamp":"000001a018ccef98"} 
[2026-08-19 12:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:27: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-08-19 12:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 12:27:14] 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-08-19 12:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503349248001,"66":12211,"120":206,"28":31744,"24":0,"16":13696985714393088,"45":1738811699260231680},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503349248001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:27:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:27:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696985714393088,"km_value":13696985714393.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260231680,"description":"Unknown IO ID 45"} 
[2026-08-19 12:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503349248001,"power":12211,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260231680}} 
[2026-08-19 12:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":157920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:27:14] local.INFO: GPS data processed {"connection_id":157920,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:27:14] local.INFO: Acknowledgment sent {"connection_id":157920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:27:42] local.INFO: TCP Data received {"connection_id":160100,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ce4758012d04ba8006faa0b00016013c2a..."} 
[2026-08-19 12:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ce4758012d04ba8006faa0b00016013c2a..."} 
[2026-08-19 12:27:42] local.INFO: Processing buffer {"connection_id":160100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ce4758012d04ba8006faa0b00016013c2a..."} 
[2026-08-19 12:27:42] local.INFO: Packet analysis {"connection_id":160100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ce"} 
[2026-08-19 12:27:42] local.INFO: Extracted packet for processing {"connection_id":160100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ce"} 
[2026-08-19 12:27:42] local.INFO: GPS Element Parsed {"raw_longitude":755284608,"raw_latitude":117088432,"longitude_deg":75.5284608,"latitude_deg":11.7088432,"altitude":22,"angle":316,"satellites":42,"speed":40,"hex_longitude":"2d04ba80","hex_latitude":"06faa0b0","is_valid_coordinates":true} 
[2026-08-19 12:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503376640001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385739980745474048,"note":"Value kept but may cause issues"} 
[2026-08-19 12:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":342555076631203840,"note":"Value kept but may cause issues"} 
[2026-08-19 12:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787122567000,"timestamp_ms":1787122567000,"timestamp_seconds":1787122567,"priority":1,"record_length":96,"hex_timestamp":"000001a018ce4758"} 
[2026-08-19 12:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:27: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-08-19 12:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 12:27:42] 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-08-19 12:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503376640001,"66":27974,"189":206,"28":32256,"24":40,"16":385739980745474048,"45":342555076631203840},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,28,24,16,45]} 
[2026-08-19 12:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503376640001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:27:42] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-19 12:27:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385739980745474048,"km_value":385739980745474.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":342555076631203840,"description":"Unknown IO ID 45"} 
[2026-08-19 12:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503376640001,"power":27974,"unknown_189":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_45":342555076631203840}} 
[2026-08-19 12:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":160100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:27:42] local.INFO: GPS data processed {"connection_id":160100,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:27:42] local.INFO: Acknowledgment sent {"connection_id":160100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:27:46] local.INFO: TCP Data received {"connection_id":157920,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018cd41a0012d1821800721b310005300d22a..."} 
[2026-08-19 12:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cd41a0012d1821800721b310005300d22a..."} 
[2026-08-19 12:27:46] local.INFO: Processing buffer {"connection_id":157920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cd41a0012d1821800721b310005300d22a..."} 
[2026-08-19 12:27:46] local.INFO: Packet analysis {"connection_id":157920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cd"} 
[2026-08-19 12:27:46] local.INFO: Extracted packet for processing {"connection_id":157920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cd"} 
[2026-08-19 12:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649040,"longitude_deg":75.655616,"latitude_deg":11.964904,"altitude":83,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-19 12:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503354624001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696985714393088,"note":"Value kept but may cause issues"} 
[2026-08-19 12:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260231680,"note":"Value kept but may cause issues"} 
[2026-08-19 12:27:46] 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-08-19 12:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787122500000,"timestamp_ms":1787122500000,"timestamp_seconds":1787122500,"priority":1,"record_length":96,"hex_timestamp":"000001a018cd41a0"} 
[2026-08-19 12:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 12:27:46] 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-08-19 12:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503354624001,"66":12428,"120":206,"28":31744,"24":0,"16":13696985714393088,"45":1738811699260231680},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503354624001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:27:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:27:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696985714393088,"km_value":13696985714393.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260231680,"description":"Unknown IO ID 45"} 
[2026-08-19 12:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503354624001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260231680}} 
[2026-08-19 12:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":157920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:27:46] local.INFO: GPS data processed {"connection_id":157920,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:27:46] local.INFO: Acknowledgment sent {"connection_id":157920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:27:57] local.INFO: TCP Data received {"connection_id":158786,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:27:57] local.INFO: Processing buffer {"connection_id":158786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:27:57] local.INFO: IMEI packet received {"connection_id":158786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":158786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:27:59] local.INFO: TCP Data received {"connection_id":158786,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:27:59] local.INFO: Processing buffer {"connection_id":158786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:27:59] local.INFO: IMEI packet received {"connection_id":158786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":158786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:28:04] local.INFO: TCP Data received {"connection_id":158786,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:28:04] local.INFO: Processing buffer {"connection_id":158786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:28:04] local.INFO: IMEI packet received {"connection_id":158786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":158786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:28:05] local.INFO: TCP Data received {"connection_id":158786,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018cf3d70012d043d0006fb4d98001c011e2b..."} 
[2026-08-19 12:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cf3d70012d043d0006fb4d98001c011e2b..."} 
[2026-08-19 12:28:05] local.INFO: Processing buffer {"connection_id":158786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cf3d70012d043d0006fb4d98001c011e2b..."} 
[2026-08-19 12:28:05] local.INFO: Packet analysis {"connection_id":158786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cf"} 
[2026-08-19 12:28:05] local.INFO: Extracted packet for processing {"connection_id":158786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cf"} 
[2026-08-19 12:28:05] local.INFO: GPS Element Parsed {"raw_longitude":755252480,"raw_latitude":117132696,"longitude_deg":75.525248,"latitude_deg":11.7132696,"altitude":28,"angle":286,"satellites":43,"speed":34,"hex_longitude":"2d043d00","hex_latitude":"06fb4d98","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503391232001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385742798244020224,"note":"Value kept but may cause issues"} 
[2026-08-19 12:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":312015041668798464,"note":"Value kept but may cause issues"} 
[2026-08-19 12:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787122630000,"timestamp_ms":1787122630000,"timestamp_seconds":1787122630,"priority":1,"record_length":96,"hex_timestamp":"000001a018cf3d70"} 
[2026-08-19 12:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:28: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-08-19 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 12:28:05] 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-08-19 12: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-08-19 12:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503391232001,"66":27865,"109":206,"28":32256,"24":34,"16":385742798244020224,"45":312015041668798464},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-19 12:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503391232001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:28:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 12:28:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385742798244020224,"km_value":385742798244020.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":312015041668798464,"description":"Unknown IO ID 45"} 
[2026-08-19 12:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503391232001,"power":27865,"unknown_109":206,"unknown_28":32256,"ignition":34,"odometer":null,"unknown_45":312015041668798464}} 
[2026-08-19 12:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":158786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:28:05] local.INFO: GPS data processed {"connection_id":158786,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:28:05] local.INFO: Acknowledgment sent {"connection_id":158786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:28:09] local.INFO: TCP Data received {"connection_id":157544,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:28:09] local.INFO: Processing buffer {"connection_id":157544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:28:09] local.INFO: IMEI packet received {"connection_id":157544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":157544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:28:14] local.INFO: TCP Data received {"connection_id":157544,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:28:14] local.INFO: Processing buffer {"connection_id":157544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:28:14] local.INFO: IMEI packet received {"connection_id":157544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":157544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:28:15] local.INFO: TCP Data received {"connection_id":157544,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018cd93a8012d1821800721b310005300d22c..."} 
[2026-08-19 12:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cd93a8012d1821800721b310005300d22c..."} 
[2026-08-19 12:28:15] local.INFO: Processing buffer {"connection_id":157544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cd93a8012d1821800721b310005300d22c..."} 
[2026-08-19 12:28:15] local.INFO: Packet analysis {"connection_id":157544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cd"} 
[2026-08-19 12:28:15] local.INFO: Extracted packet for processing {"connection_id":157544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cd"} 
[2026-08-19 12:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649040,"longitude_deg":75.655616,"latitude_deg":11.964904,"altitude":83,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-19 12:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503360000001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696985714393088,"note":"Value kept but may cause issues"} 
[2026-08-19 12:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260231680,"note":"Value kept but may cause issues"} 
[2026-08-19 12:28: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-08-19 12:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787122521000,"timestamp_ms":1787122521000,"timestamp_seconds":1787122521,"priority":1,"record_length":96,"hex_timestamp":"000001a018cd93a8"} 
[2026-08-19 12:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:28: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-08-19 12:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 12:28:15] 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-08-19 12:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503360000001,"66":12406,"120":206,"28":31744,"24":0,"16":13696985714393088,"45":1738811699260231680},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503360000001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:28:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:28:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696985714393088,"km_value":13696985714393.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260231680,"description":"Unknown IO ID 45"} 
[2026-08-19 12:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503360000001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260231680}} 
[2026-08-19 12:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":157544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:28:15] local.INFO: GPS data processed {"connection_id":157544,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:28:15] local.INFO: Acknowledgment sent {"connection_id":157544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:28:37] local.INFO: TCP Data received {"connection_id":158786,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018cf54e0012d04274006fb5528001b012c28..."} 
[2026-08-19 12:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cf54e0012d04274006fb5528001b012c28..."} 
[2026-08-19 12:28:37] local.INFO: Processing buffer {"connection_id":158786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cf54e0012d04274006fb5528001b012c28..."} 
[2026-08-19 12:28:37] local.INFO: Packet analysis {"connection_id":158786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cf"} 
[2026-08-19 12:28:37] local.INFO: Extracted packet for processing {"connection_id":158786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cf"} 
[2026-08-19 12:28:37] local.INFO: GPS Element Parsed {"raw_longitude":755246912,"raw_latitude":117134632,"longitude_deg":75.5246912,"latitude_deg":11.7134632,"altitude":27,"angle":300,"satellites":40,"speed":42,"hex_longitude":"2d042740","hex_latitude":"06fb5528","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503393280001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385743081711861760,"note":"Value kept but may cause issues"} 
[2026-08-19 12:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":305400379717031936,"note":"Value kept but may cause issues"} 
[2026-08-19 12:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787122636000,"timestamp_ms":1787122636000,"timestamp_seconds":1787122636,"priority":1,"record_length":96,"hex_timestamp":"000001a018cf54e0"} 
[2026-08-19 12:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 12:28:37] 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-08-19 12: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-08-19 12:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503393280001,"66":27745,"109":206,"28":32256,"24":42,"16":385743081711861760,"45":305400379717031936},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-19 12:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503393280001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:28:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 12:28:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385743081711861760,"km_value":385743081711861.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":305400379717031936,"description":"Unknown IO ID 45"} 
[2026-08-19 12:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503393280001,"power":27745,"unknown_109":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_45":305400379717031936}} 
[2026-08-19 12:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":158786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:28:37] local.INFO: GPS data processed {"connection_id":158786,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:28:37] local.INFO: Acknowledgment sent {"connection_id":158786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:28:46] local.INFO: TCP Data received {"connection_id":157544,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018cde5b0012d1821800721b310005300d22a..."} 
[2026-08-19 12:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cde5b0012d1821800721b310005300d22a..."} 
[2026-08-19 12:28:46] local.INFO: Processing buffer {"connection_id":157544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cde5b0012d1821800721b310005300d22a..."} 
[2026-08-19 12:28:46] local.INFO: Packet analysis {"connection_id":157544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cd"} 
[2026-08-19 12:28:46] local.INFO: Extracted packet for processing {"connection_id":157544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cd"} 
[2026-08-19 12:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649040,"longitude_deg":75.655616,"latitude_deg":11.964904,"altitude":83,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b310","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503365376001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13696985714393088,"note":"Value kept but may cause issues"} 
[2026-08-19 12:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260231680,"note":"Value kept but may cause issues"} 
[2026-08-19 12:28:46] 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-08-19 12:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787122542000,"timestamp_ms":1787122542000,"timestamp_seconds":1787122542,"priority":1,"record_length":96,"hex_timestamp":"000001a018cde5b0"} 
[2026-08-19 12:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:28:46] 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-08-19 12:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 12:28:46] 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-08-19 12: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-08-19 12:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503365376001,"66":12406,"120":206,"28":31744,"24":0,"16":13696985714393088,"45":1738811699260231680},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503365376001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:28:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:28:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13696985714393088,"km_value":13696985714393.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260231680,"description":"Unknown IO ID 45"} 
[2026-08-19 12:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503365376001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260231680}} 
[2026-08-19 12:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":157544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:28:46] local.INFO: GPS data processed {"connection_id":157544,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:28:46] local.INFO: Acknowledgment sent {"connection_id":157544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:28:58] local.INFO: TCP Data received {"connection_id":160101,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:28:58] local.INFO: Processing buffer {"connection_id":160101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:28:58] local.INFO: IMEI packet received {"connection_id":160101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":160101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:28:59] local.INFO: TCP Data received {"connection_id":160101,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:28:59] local.INFO: Processing buffer {"connection_id":160101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:28:59] local.INFO: IMEI packet received {"connection_id":160101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":160101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:29:04] local.INFO: TCP Data received {"connection_id":160101,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:29:04] local.INFO: Processing buffer {"connection_id":160101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:29:04] local.INFO: IMEI packet received {"connection_id":160101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":160101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:29:06] local.INFO: TCP Data received {"connection_id":160101,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018d02bb8012d03754006fc13500009015b29..."} 
[2026-08-19 12:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d02bb8012d03754006fc13500009015b29..."} 
[2026-08-19 12:29:06] local.INFO: Processing buffer {"connection_id":160101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d02bb8012d03754006fc13500009015b29..."} 
[2026-08-19 12:29:06] local.INFO: Packet analysis {"connection_id":160101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d0"} 
[2026-08-19 12:29:06] local.INFO: Extracted packet for processing {"connection_id":160101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d0"} 
[2026-08-19 12:29:06] local.INFO: GPS Element Parsed {"raw_longitude":755201344,"raw_latitude":117183312,"longitude_deg":75.5201344,"latitude_deg":11.7183312,"altitude":9,"angle":347,"satellites":41,"speed":50,"hex_longitude":"2d037540","hex_latitude":"06fc1350","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503406848001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385746509095763968,"note":"Value kept but may cause issues"} 
[2026-08-19 12:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":249668334338783232,"note":"Value kept but may cause issues"} 
[2026-08-19 12:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787122691000,"timestamp_ms":1787122691000,"timestamp_seconds":1787122691,"priority":1,"record_length":96,"hex_timestamp":"000001a018d02bb8"} 
[2026-08-19 12:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:29: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-08-19 12: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 12:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503406848001,"66":27952,"109":206,"28":32256,"24":50,"16":385746509095763968,"45":249668334338783232},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-19 12:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503406848001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:29:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 12:29:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385746509095763968,"km_value":385746509095763.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":249668334338783232,"description":"Unknown IO ID 45"} 
[2026-08-19 12:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503406848001,"power":27952,"unknown_109":206,"unknown_28":32256,"ignition":50,"odometer":null,"unknown_45":249668334338783232}} 
[2026-08-19 12:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":160101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:29:06] local.INFO: GPS data processed {"connection_id":160101,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:29:06] local.INFO: Acknowledgment sent {"connection_id":160101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:29:14] local.INFO: TCP Data received {"connection_id":157921,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:29:14] local.INFO: Processing buffer {"connection_id":157921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:29:14] local.INFO: IMEI packet received {"connection_id":157921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":157921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:29:19] local.INFO: TCP Data received {"connection_id":157921,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:29:19] local.INFO: Processing buffer {"connection_id":157921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:29:19] local.INFO: IMEI packet received {"connection_id":157921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":157921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:29:20] local.INFO: TCP Data received {"connection_id":157921,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ce37b8012d1820400721b198005100d22b..."} 
[2026-08-19 12:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ce37b8012d1820400721b198005100d22b..."} 
[2026-08-19 12:29:20] local.INFO: Processing buffer {"connection_id":157921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ce37b8012d1820400721b198005100d22b..."} 
[2026-08-19 12:29:20] local.INFO: Packet analysis {"connection_id":157921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ce"} 
[2026-08-19 12:29:20] local.INFO: Extracted packet for processing {"connection_id":157921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ce"} 
[2026-08-19 12:29:20] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648664,"longitude_deg":75.655584,"latitude_deg":11.9648664,"altitude":81,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-08-19 12:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503370752001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13697007189229568,"note":"Value kept but may cause issues"} 
[2026-08-19 12:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260231680,"note":"Value kept but may cause issues"} 
[2026-08-19 12:29:20] 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-08-19 12:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787122563000,"timestamp_ms":1787122563000,"timestamp_seconds":1787122563,"priority":1,"record_length":96,"hex_timestamp":"000001a018ce37b8"} 
[2026-08-19 12:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:29: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-08-19 12:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 12:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503370752001,"66":12406,"120":206,"28":31744,"24":0,"16":13697007189229568,"45":1738811699260231680},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503370752001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:29:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:29:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13697007189229568,"km_value":13697007189229.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260231680,"description":"Unknown IO ID 45"} 
[2026-08-19 12:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503370752001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738811699260231680}} 
[2026-08-19 12:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":157921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:29:20] local.INFO: GPS data processed {"connection_id":157921,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:29:20] local.INFO: Acknowledgment sent {"connection_id":157921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:29:21] local.INFO: TCP Data received {"connection_id":157921,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ce89c0012d181fc00721b0a0004f00da2c..."} 
[2026-08-19 12:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ce89c0012d181fc00721b0a0004f00da2c..."} 
[2026-08-19 12:29:21] local.INFO: Processing buffer {"connection_id":157921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ce89c0012d181fc00721b0a0004f00da2c..."} 
[2026-08-19 12:29:21] local.INFO: Packet analysis {"connection_id":157921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ce"} 
[2026-08-19 12:29:21] local.INFO: Extracted packet for processing {"connection_id":157921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ce"} 
[2026-08-19 12:29:21] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648416,"longitude_deg":75.6555712,"latitude_deg":11.9648416,"altitude":79,"angle":218,"satellites":44,"speed":2,"hex_longitude":"2d181fc0","hex_latitude":"0721b0a0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503376128001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13697024369098752,"note":"Value kept but may cause issues"} 
[2026-08-19 12:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539247104,"note":"Value kept but may cause issues"} 
[2026-08-19 12:29:21] 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-08-19 12:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787122584000,"timestamp_ms":1787122584000,"timestamp_seconds":1787122584,"priority":1,"record_length":96,"hex_timestamp":"000001a018ce89c0"} 
[2026-08-19 12:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 12:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":157921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":157921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":157921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503376128001,"66":12406,"120":206,"28":31744,"24":2,"16":13697024369098752,"45":1738459855539247104},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503376128001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:29:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:29:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13697024369098752,"km_value":13697024369098.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539247104,"description":"Unknown IO ID 45"} 
[2026-08-19 12:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503376128001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1738459855539247104}} 
[2026-08-19 12:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":157921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:29:21] local.INFO: GPS data processed {"connection_id":157921,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:29:21] local.INFO: Acknowledgment sent {"connection_id":157921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:29:37] local.INFO: TCP Data received {"connection_id":160101,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018d02bb8012d03754006fc13500009015b29..."} 
[2026-08-19 12:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d02bb8012d03754006fc13500009015b29..."} 
[2026-08-19 12:29:37] local.INFO: Processing buffer {"connection_id":160101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d02bb8012d03754006fc13500009015b29..."} 
[2026-08-19 12:29:37] local.INFO: Packet analysis {"connection_id":160101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d0"} 
[2026-08-19 12:29:37] local.INFO: Extracted packet for processing {"connection_id":160101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d0"} 
[2026-08-19 12:29:37] local.INFO: GPS Element Parsed {"raw_longitude":755201344,"raw_latitude":117183312,"longitude_deg":75.5201344,"latitude_deg":11.7183312,"altitude":9,"angle":347,"satellites":41,"speed":50,"hex_longitude":"2d037540","hex_latitude":"06fc1350","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503408896001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385746509095763968,"note":"Value kept but may cause issues"} 
[2026-08-19 12:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":249175753132036096,"note":"Value kept but may cause issues"} 
[2026-08-19 12:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787122691000,"timestamp_ms":1787122691000,"timestamp_seconds":1787122691,"priority":1,"record_length":96,"hex_timestamp":"000001a018d02bb8"} 
[2026-08-19 12:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-08-19 12:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503408896001,"66":27952,"109":206,"28":32256,"24":50,"16":385746509095763968,"45":249175753132036096},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-19 12:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503408896001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:29:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 12:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385746509095763968,"km_value":385746509095763.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":249175753132036096,"description":"Unknown IO ID 45"} 
[2026-08-19 12:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503408896001,"power":27952,"unknown_109":206,"unknown_28":32256,"ignition":50,"odometer":null,"unknown_45":249175753132036096}} 
[2026-08-19 12:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":160101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:29:37] local.INFO: GPS data processed {"connection_id":160101,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:29:37] local.INFO: Acknowledgment sent {"connection_id":160101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:29:53] local.INFO: TCP Data received {"connection_id":157921,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ce9190012d181f800721b040004f00ce2c..."} 
[2026-08-19 12:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ce9190012d181f800721b040004f00ce2c..."} 
[2026-08-19 12:29:53] local.INFO: Processing buffer {"connection_id":157921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ce9190012d181f800721b040004f00ce2c..."} 
[2026-08-19 12:29:53] local.INFO: Packet analysis {"connection_id":157921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ce"} 
[2026-08-19 12:29:53] local.INFO: Extracted packet for processing {"connection_id":157921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ce"} 
[2026-08-19 12:29:53] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648320,"longitude_deg":75.6555648,"latitude_deg":11.964832,"altitude":79,"angle":206,"satellites":44,"speed":1,"hex_longitude":"2d181f80","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503381504001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13697028664066048,"note":"Value kept but may cause issues"} 
[2026-08-19 12:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050828288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:29:53] 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-08-19 12:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787122586000,"timestamp_ms":1787122586000,"timestamp_seconds":1787122586,"priority":1,"record_length":96,"hex_timestamp":"000001a018ce9190"} 
[2026-08-19 12:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 12:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":157921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":157921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":157921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503381504001,"66":12341,"120":206,"28":31744,"24":1,"16":13697028664066048,"45":1738319118050828288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503381504001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:29:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:29:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13697028664066048,"km_value":13697028664066.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050828288,"description":"Unknown IO ID 45"} 
[2026-08-19 12:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503381504001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1738319118050828288}} 
[2026-08-19 12:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":157921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:29:53] local.INFO: GPS data processed {"connection_id":157921,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:29:53] local.INFO: Acknowledgment sent {"connection_id":157921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:29:59] local.INFO: TCP Data received {"connection_id":157922,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:29:59] local.INFO: Processing buffer {"connection_id":157922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:29:59] local.INFO: IMEI packet received {"connection_id":157922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":157922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:30:00] local.INFO: TCP Data received {"connection_id":157922,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:30:00] local.INFO: Processing buffer {"connection_id":157922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:30:00] local.INFO: IMEI packet received {"connection_id":157922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":157922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:30:04] local.INFO: TCP Data received {"connection_id":157922,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:30:04] local.INFO: Processing buffer {"connection_id":157922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:30:04] local.INFO: IMEI packet received {"connection_id":157922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":157922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:30:05] local.INFO: TCP Data received {"connection_id":157922,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018d03388012d0371c006fc1c980009014b29..."} 
[2026-08-19 12:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d03388012d0371c006fc1c980009014b29..."} 
[2026-08-19 12:30:05] local.INFO: Processing buffer {"connection_id":157922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d03388012d0371c006fc1c980009014b29..."} 
[2026-08-19 12:30:05] local.INFO: Packet analysis {"connection_id":157922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d0"} 
[2026-08-19 12:30:05] local.INFO: Extracted packet for processing {"connection_id":157922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d0"} 
[2026-08-19 12:30:05] local.INFO: GPS Element Parsed {"raw_longitude":755200448,"raw_latitude":117185688,"longitude_deg":75.5200448,"latitude_deg":11.7185688,"altitude":9,"angle":331,"satellites":41,"speed":50,"hex_longitude":"2d0371c0","hex_latitude":"06fc1c98","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503408896001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385746633649815552,"note":"Value kept but may cause issues"} 
[2026-08-19 12:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":249175753132036096,"note":"Value kept but may cause issues"} 
[2026-08-19 12:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787122693000,"timestamp_ms":1787122693000,"timestamp_seconds":1787122693,"priority":1,"record_length":96,"hex_timestamp":"000001a018d03388"} 
[2026-08-19 12:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-08-19 12:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503408896001,"66":27930,"109":206,"28":32256,"24":50,"16":385746633649815552,"45":249175753132036096},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-19 12:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503408896001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:30:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 12:30:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385746633649815552,"km_value":385746633649815.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":249175753132036096,"description":"Unknown IO ID 45"} 
[2026-08-19 12:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503408896001,"power":27930,"unknown_109":206,"unknown_28":32256,"ignition":50,"odometer":null,"unknown_45":249175753132036096}} 
[2026-08-19 12:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":157922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:30:05] local.INFO: GPS data processed {"connection_id":157922,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:30:05] local.INFO: Acknowledgment sent {"connection_id":157922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:30:09] local.INFO: TCP Data received {"connection_id":157545,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:30:09] local.INFO: Processing buffer {"connection_id":157545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:30:09] local.INFO: IMEI packet received {"connection_id":157545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":157545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:30:14] local.INFO: TCP Data received {"connection_id":157545,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:30:14] local.INFO: Processing buffer {"connection_id":157545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:30:14] local.INFO: IMEI packet received {"connection_id":157545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":157545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:30:15] local.INFO: TCP Data received {"connection_id":157545,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018cee398012d181f800721b010004f00ce2c..."} 
[2026-08-19 12:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cee398012d181f800721b010004f00ce2c..."} 
[2026-08-19 12:30:15] local.INFO: Processing buffer {"connection_id":157545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cee398012d181f800721b010004f00ce2c..."} 
[2026-08-19 12:30:15] local.INFO: Packet analysis {"connection_id":157545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ce"} 
[2026-08-19 12:30:15] local.INFO: Extracted packet for processing {"connection_id":157545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ce"} 
[2026-08-19 12:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648272,"longitude_deg":75.6555648,"latitude_deg":11.9648272,"altitude":79,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503382016001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13697032959033344,"note":"Value kept but may cause issues"} 
[2026-08-19 12:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306626048,"note":"Value kept but may cause issues"} 
[2026-08-19 12:30: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-08-19 12:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787122607000,"timestamp_ms":1787122607000,"timestamp_seconds":1787122607,"priority":1,"record_length":96,"hex_timestamp":"000001a018cee398"} 
[2026-08-19 12:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:30:15] 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-08-19 12: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-19 12:30: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-08-19 12: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-08-19 12:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503382016001,"66":12406,"120":206,"28":31744,"24":0,"16":13697032959033344,"45":1738248749306626048},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503382016001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:30:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:30:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13697032959033344,"km_value":13697032959033.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306626048,"description":"Unknown IO ID 45"} 
[2026-08-19 12:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503382016001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306626048}} 
[2026-08-19 12:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":157545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:30:15] local.INFO: GPS data processed {"connection_id":157545,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:30:15] local.INFO: Acknowledgment sent {"connection_id":157545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:30:24] local.INFO: TCP Data received {"connection_id":157545,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018cf35a0012d181f800721b010004f00ce2b..."} 
[2026-08-19 12:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cf35a0012d181f800721b010004f00ce2b..."} 
[2026-08-19 12:30:24] local.INFO: Processing buffer {"connection_id":157545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cf35a0012d181f800721b010004f00ce2b..."} 
[2026-08-19 12:30:24] local.INFO: Packet analysis {"connection_id":157545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cf"} 
[2026-08-19 12:30:24] local.INFO: Extracted packet for processing {"connection_id":157545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cf"} 
[2026-08-19 12:30:24] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648272,"longitude_deg":75.6555648,"latitude_deg":11.9648272,"altitude":79,"angle":206,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-08-19 12:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503387392001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13697032959033344,"note":"Value kept but may cause issues"} 
[2026-08-19 12:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306613760,"note":"Value kept but may cause issues"} 
[2026-08-19 12:30:24] 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-08-19 12:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787122628000,"timestamp_ms":1787122628000,"timestamp_seconds":1787122628,"priority":1,"record_length":96,"hex_timestamp":"000001a018cf35a0"} 
[2026-08-19 12:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:30: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-08-19 12:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 12:30:24] 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-08-19 12: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-08-19 12:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":157545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":157545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":157545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503387392001,"66":12385,"120":206,"28":31744,"24":0,"16":13697032959033344,"45":1738248749306613760},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503387392001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:30:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:30:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13697032959033344,"km_value":13697032959033.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306613760,"description":"Unknown IO ID 45"} 
[2026-08-19 12:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503387392001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306613760}} 
[2026-08-19 12:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":157545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:30:24] local.INFO: GPS data processed {"connection_id":157545,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:30:24] local.INFO: Acknowledgment sent {"connection_id":157545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:30:36] local.INFO: TCP Data received {"connection_id":157922,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018d16050012d026c4006fcfd90000a01472c..."} 
[2026-08-19 12:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d16050012d026c4006fcfd90000a01472c..."} 
[2026-08-19 12:30:36] local.INFO: Processing buffer {"connection_id":157922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d16050012d026c4006fcfd90000a01472c..."} 
[2026-08-19 12:30:36] local.INFO: Packet analysis {"connection_id":157922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d1"} 
[2026-08-19 12:30:36] local.INFO: Extracted packet for processing {"connection_id":157922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d1"} 
[2026-08-19 12:30:36] local.INFO: GPS Element Parsed {"raw_longitude":755133504,"raw_latitude":117243280,"longitude_deg":75.5133504,"latitude_deg":11.724328,"altitude":10,"angle":327,"satellites":44,"speed":45,"hex_longitude":"2d026c40","hex_latitude":"06fcfd90","is_valid_coordinates":true} 
[2026-08-19 12:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503427072001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385750993041620992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":180355121339666432,"note":"Value kept but may cause issues"} 
[2026-08-19 12:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787122770000,"timestamp_ms":1787122770000,"timestamp_seconds":1787122770,"priority":1,"record_length":96,"hex_timestamp":"000001a018d16050"} 
[2026-08-19 12:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 12:30:36] 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-08-19 12:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503427072001,"66":27604,"110":206,"28":32256,"24":45,"16":385750993041620992,"45":180355121339666432},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-08-19 12:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503427072001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:30:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 12:30:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385750993041620992,"km_value":385750993041621.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":180355121339666432,"description":"Unknown IO ID 45"} 
[2026-08-19 12:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503427072001,"power":27604,"unknown_110":206,"unknown_28":32256,"ignition":45,"odometer":null,"unknown_45":180355121339666432}} 
[2026-08-19 12:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":157922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:30:36] local.INFO: GPS data processed {"connection_id":157922,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:30:36] local.INFO: Acknowledgment sent {"connection_id":157922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:30:59] local.INFO: TCP Data received {"connection_id":157546,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:30:59] local.INFO: Processing buffer {"connection_id":157546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:30:59] local.INFO: IMEI packet received {"connection_id":157546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":157546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:31:04] local.INFO: TCP Data received {"connection_id":157546,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:31:04] local.INFO: Processing buffer {"connection_id":157546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:31:04] local.INFO: IMEI packet received {"connection_id":157546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":157546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:31:05] local.INFO: TCP Data received {"connection_id":157546,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018d18378012d02580006fd1e98000c01462b..."} 
[2026-08-19 12:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d18378012d02580006fd1e98000c01462b..."} 
[2026-08-19 12:31:05] local.INFO: Processing buffer {"connection_id":157546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d18378012d02580006fd1e98000c01462b..."} 
[2026-08-19 12:31:05] local.INFO: Packet analysis {"connection_id":157546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d1"} 
[2026-08-19 12:31:05] local.INFO: Extracted packet for processing {"connection_id":157546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d1"} 
[2026-08-19 12:31:05] local.INFO: GPS Element Parsed {"raw_longitude":755128320,"raw_latitude":117251736,"longitude_deg":75.512832,"latitude_deg":11.7251736,"altitude":12,"angle":326,"satellites":43,"speed":42,"hex_longitude":"2d025800","hex_latitude":"06fd1e98","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503429120001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385751474077958144,"note":"Value kept but may cause issues"} 
[2026-08-19 12:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":174584884319064064,"note":"Value kept but may cause issues"} 
[2026-08-19 12:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787122779000,"timestamp_ms":1787122779000,"timestamp_seconds":1787122779,"priority":1,"record_length":96,"hex_timestamp":"000001a018d18378"} 
[2026-08-19 12:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-19 12:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503429120001,"66":27908,"110":206,"28":32256,"24":42,"16":385751474077958144,"45":174584884319064064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-08-19 12:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503429120001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:31:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 12:31:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385751474077958144,"km_value":385751474077958.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":174584884319064064,"description":"Unknown IO ID 45"} 
[2026-08-19 12:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503429120001,"power":27908,"unknown_110":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_45":174584884319064064}} 
[2026-08-19 12:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":157546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:31:05] local.INFO: GPS data processed {"connection_id":157546,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:31:05] local.INFO: Acknowledgment sent {"connection_id":157546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:31:06] local.INFO: TCP Data received {"connection_id":160102,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:31:06] local.INFO: Processing buffer {"connection_id":160102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:31:06] local.INFO: IMEI packet received {"connection_id":160102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":160102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:31:09] local.INFO: TCP Data received {"connection_id":160102,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:31:09] local.INFO: Processing buffer {"connection_id":160102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:31:09] local.INFO: IMEI packet received {"connection_id":160102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":160102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:31:14] local.INFO: TCP Data received {"connection_id":160102,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:31:14] local.INFO: Processing buffer {"connection_id":160102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:31:14] local.INFO: IMEI packet received {"connection_id":160102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":160102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:31:15] local.INFO: TCP Data received {"connection_id":160102,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018cf87a8012d181f800721b010004f00ce29..."} 
[2026-08-19 12:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cf87a8012d181f800721b010004f00ce29..."} 
[2026-08-19 12:31:15] local.INFO: Processing buffer {"connection_id":160102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cf87a8012d181f800721b010004f00ce29..."} 
[2026-08-19 12:31:15] local.INFO: Packet analysis {"connection_id":160102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cf"} 
[2026-08-19 12:31:15] local.INFO: Extracted packet for processing {"connection_id":160102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cf"} 
[2026-08-19 12:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648272,"longitude_deg":75.6555648,"latitude_deg":11.9648272,"altitude":79,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503392768001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13697032959033344,"note":"Value kept but may cause issues"} 
[2026-08-19 12:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306613760,"note":"Value kept but may cause issues"} 
[2026-08-19 12:31: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-08-19 12:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787122649000,"timestamp_ms":1787122649000,"timestamp_seconds":1787122649,"priority":1,"record_length":96,"hex_timestamp":"000001a018cf87a8"} 
[2026-08-19 12:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:31:15] 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-08-19 12: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 12:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503392768001,"66":12406,"120":206,"28":31744,"24":0,"16":13697032959033344,"45":1738248749306613760},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503392768001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:31:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:31:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13697032959033344,"km_value":13697032959033.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306613760,"description":"Unknown IO ID 45"} 
[2026-08-19 12:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503392768001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306613760}} 
[2026-08-19 12:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":160102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:31:15] local.INFO: GPS data processed {"connection_id":160102,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:31:15] local.INFO: Acknowledgment sent {"connection_id":160102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:31:37] local.INFO: TCP Data received {"connection_id":157546,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018d1a6a0012d02444006fd3dd0000b014f2d..."} 
[2026-08-19 12:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d1a6a0012d02444006fd3dd0000b014f2d..."} 
[2026-08-19 12:31:37] local.INFO: Processing buffer {"connection_id":157546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d1a6a0012d02444006fd3dd0000b014f2d..."} 
[2026-08-19 12:31:37] local.INFO: Packet analysis {"connection_id":157546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d1"} 
[2026-08-19 12:31:37] local.INFO: Extracted packet for processing {"connection_id":157546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d1"} 
[2026-08-19 12:31:37] local.INFO: GPS Element Parsed {"raw_longitude":755123264,"raw_latitude":117259728,"longitude_deg":75.5123264,"latitude_deg":11.7259728,"altitude":11,"angle":335,"satellites":45,"speed":40,"hex_longitude":"2d024440","hex_latitude":"06fd3dd0","is_valid_coordinates":true} 
[2026-08-19 12:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503431424001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385751929344491520,"note":"Value kept but may cause issues"} 
[2026-08-19 12:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":168885016042838016,"note":"Value kept but may cause issues"} 
[2026-08-19 12:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787122788000,"timestamp_ms":1787122788000,"timestamp_seconds":1787122788,"priority":1,"record_length":96,"hex_timestamp":"000001a018d1a6a0"} 
[2026-08-19 12:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:31: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-08-19 12:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:31:37] 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-08-19 12:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503431424001,"66":28093,"110":206,"28":32256,"24":40,"16":385751929344491520,"45":168885016042838016},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-08-19 12:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503431424001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:31:37] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 12:31:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385751929344491520,"km_value":385751929344491.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":168885016042838016,"description":"Unknown IO ID 45"} 
[2026-08-19 12:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503431424001,"power":28093,"unknown_110":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_45":168885016042838016}} 
[2026-08-19 12:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":157546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:31:37] local.INFO: GPS data processed {"connection_id":157546,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:31:37] local.INFO: Acknowledgment sent {"connection_id":157546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:31:46] local.INFO: TCP Data received {"connection_id":160102,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018cfd9b0012d181f800721b010004f00ce2b..."} 
[2026-08-19 12:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018cfd9b0012d181f800721b010004f00ce2b..."} 
[2026-08-19 12:31:46] local.INFO: Processing buffer {"connection_id":160102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018cfd9b0012d181f800721b010004f00ce2b..."} 
[2026-08-19 12:31:46] local.INFO: Packet analysis {"connection_id":160102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018cf"} 
[2026-08-19 12:31:46] local.INFO: Extracted packet for processing {"connection_id":160102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018cf"} 
[2026-08-19 12:31:46] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648272,"longitude_deg":75.6555648,"latitude_deg":11.9648272,"altitude":79,"angle":206,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b010","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503398144001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13697032959033344,"note":"Value kept but may cause issues"} 
[2026-08-19 12:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306613760,"note":"Value kept but may cause issues"} 
[2026-08-19 12:31:46] 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-08-19 12:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787122670000,"timestamp_ms":1787122670000,"timestamp_seconds":1787122670,"priority":1,"record_length":96,"hex_timestamp":"000001a018cfd9b0"} 
[2026-08-19 12:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:31:46] 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-08-19 12: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 12:31:46] 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-08-19 12: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-08-19 12:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503398144001,"66":12385,"120":206,"28":31744,"24":0,"16":13697032959033344,"45":1738248749306613760},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503398144001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:31:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:31:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13697032959033344,"km_value":13697032959033.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306613760,"description":"Unknown IO ID 45"} 
[2026-08-19 12:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503398144001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306613760}} 
[2026-08-19 12:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":160102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:31:46] local.INFO: GPS data processed {"connection_id":160102,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:31:46] local.INFO: Acknowledgment sent {"connection_id":160102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:32:02] local.INFO: TCP Data received {"connection_id":158787,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:32:02] local.INFO: Processing buffer {"connection_id":158787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:32:02] local.INFO: IMEI packet received {"connection_id":158787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":158787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:32:04] local.INFO: TCP Data received {"connection_id":158787,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:32:04] local.INFO: Processing buffer {"connection_id":158787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:32:04] local.INFO: IMEI packet received {"connection_id":158787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":158787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:32:09] local.INFO: TCP Data received {"connection_id":158788,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:32:09] local.INFO: Processing buffer {"connection_id":158788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:32:09] local.INFO: IMEI packet received {"connection_id":158788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":158788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:32:09] local.INFO: TCP Data received {"connection_id":158787,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:32:09] local.INFO: Processing buffer {"connection_id":158787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:32:09] local.INFO: IMEI packet received {"connection_id":158787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":158787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:32:09] local.INFO: TCP Data received {"connection_id":158788,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:32:10] local.INFO: Processing buffer {"connection_id":158788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:32:10] local.INFO: IMEI packet received {"connection_id":158788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":158788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:32:12] local.INFO: TCP Data received {"connection_id":158787,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018d1cdb0012d0235c006fd60d0000a01522c..."} 
[2026-08-19 12:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d1cdb0012d0235c006fd60d0000a01522c..."} 
[2026-08-19 12:32:12] local.INFO: Processing buffer {"connection_id":158787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d1cdb0012d0235c006fd60d0000a01522c..."} 
[2026-08-19 12:32:12] local.INFO: Packet analysis {"connection_id":158787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d1"} 
[2026-08-19 12:32:12] local.INFO: Extracted packet for processing {"connection_id":158787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d1"} 
[2026-08-19 12:32:12] local.INFO: GPS Element Parsed {"raw_longitude":755119552,"raw_latitude":117268688,"longitude_deg":75.5119552,"latitude_deg":11.7268688,"altitude":10,"angle":338,"satellites":44,"speed":37,"hex_longitude":"2d0235c0","hex_latitude":"06fd60d0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503433728001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385752397495926784,"note":"Value kept but may cause issues"} 
[2026-08-19 12:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":163325885254848512,"note":"Value kept but may cause issues"} 
[2026-08-19 12:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787122798000,"timestamp_ms":1787122798000,"timestamp_seconds":1787122798,"priority":1,"record_length":96,"hex_timestamp":"000001a018d1cdb0"} 
[2026-08-19 12:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-19 12:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503433728001,"66":27169,"110":206,"28":32256,"24":37,"16":385752397495926784,"45":163325885254848512},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-08-19 12:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503433728001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:32:12] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 12:32:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385752397495926784,"km_value":385752397495926.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":163325885254848512,"description":"Unknown IO ID 45"} 
[2026-08-19 12:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503433728001,"power":27169,"unknown_110":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_45":163325885254848512}} 
[2026-08-19 12:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":158787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:32:12] local.INFO: GPS data processed {"connection_id":158787,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:32:12] local.INFO: Acknowledgment sent {"connection_id":158787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:32:16] local.INFO: TCP Data received {"connection_id":158788,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:32:16] local.INFO: Processing buffer {"connection_id":158788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:32:16] local.INFO: IMEI packet received {"connection_id":158788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":158788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:32:17] local.INFO: TCP Data received {"connection_id":158788,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d004a8012d181fc00721af40004f00db2c..."} 
[2026-08-19 12:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d004a8012d181fc00721af40004f00db2c..."} 
[2026-08-19 12:32:17] local.INFO: Processing buffer {"connection_id":158788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d004a8012d181fc00721af40004f00db2c..."} 
[2026-08-19 12:32:17] local.INFO: Packet analysis {"connection_id":158788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d0"} 
[2026-08-19 12:32:17] local.INFO: Extracted packet for processing {"connection_id":158788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d0"} 
[2026-08-19 12:32:17] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648064,"longitude_deg":75.6555712,"latitude_deg":11.9648064,"altitude":79,"angle":219,"satellites":44,"speed":1,"hex_longitude":"2d181fc0","hex_latitude":"0721af40","is_valid_coordinates":true} 
[2026-08-19 12:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503403520001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13697041548967936,"note":"Value kept but may cause issues"} 
[2026-08-19 12:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306613760,"note":"Value kept but may cause issues"} 
[2026-08-19 12:32:17] 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-08-19 12:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787122681000,"timestamp_ms":1787122681000,"timestamp_seconds":1787122681,"priority":1,"record_length":96,"hex_timestamp":"000001a018d004a8"} 
[2026-08-19 12:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:32: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-08-19 12:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 12:32:17] 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-08-19 12:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503403520001,"66":12374,"120":206,"28":31744,"24":1,"16":13697041548967936,"45":1738248749306613760},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503403520001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:32:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:32:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13697041548967936,"km_value":13697041548967.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306613760,"description":"Unknown IO ID 45"} 
[2026-08-19 12:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503403520001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1738248749306613760}} 
[2026-08-19 12:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":158788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:32:17] local.INFO: GPS data processed {"connection_id":158788,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:32:17] local.INFO: Acknowledgment sent {"connection_id":158788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:32:43] local.INFO: TCP Data received {"connection_id":158787,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018d36bc0012d01390006fe7680000a012f27..."} 
[2026-08-19 12:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d36bc0012d01390006fe7680000a012f27..."} 
[2026-08-19 12:32:43] local.INFO: Processing buffer {"connection_id":158787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d36bc0012d01390006fe7680000a012f27..."} 
[2026-08-19 12:32:43] local.INFO: Packet analysis {"connection_id":158787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d3"} 
[2026-08-19 12:32:43] local.INFO: Extracted packet for processing {"connection_id":158787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d3"} 
[2026-08-19 12:32:43] local.INFO: GPS Element Parsed {"raw_longitude":755054848,"raw_latitude":117339776,"longitude_deg":75.5054848,"latitude_deg":11.7339776,"altitude":10,"angle":303,"satellites":39,"speed":38,"hex_longitude":"2d013900","hex_latitude":"06fe7680","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503460864001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385757186384461824,"note":"Value kept but may cause issues"} 
[2026-08-19 12:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":96616315793594368,"note":"Value kept but may cause issues"} 
[2026-08-19 12:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787122904000,"timestamp_ms":1787122904000,"timestamp_seconds":1787122904,"priority":1,"record_length":96,"hex_timestamp":"000001a018d36bc0"} 
[2026-08-19 12:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:32:43] 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-08-19 12: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 12:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503460864001,"66":27919,"15":206,"28":32256,"24":38,"16":385757186384461824,"45":96616315793594368},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-08-19 12:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503460864001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:32:43] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-19 12:32:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385757186384461824,"km_value":385757186384461.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":96616315793594368,"description":"Unknown IO ID 45"} 
[2026-08-19 12:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503460864001,"power":27919,"unknown_15":206,"unknown_28":32256,"ignition":38,"odometer":null,"unknown_45":96616315793594368}} 
[2026-08-19 12:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":158787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:32:43] local.INFO: GPS data processed {"connection_id":158787,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:32:43] local.INFO: Acknowledgment sent {"connection_id":158787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:32:51] local.INFO: TCP Data received {"connection_id":158788,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d38330012d181e800721ab680051009f2c..."} 
[2026-08-19 12:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d38330012d181e800721ab680051009f2c..."} 
[2026-08-19 12:32:51] local.INFO: Processing buffer {"connection_id":158788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d38330012d181e800721ab680051009f2c..."} 
[2026-08-19 12:32:51] local.INFO: Packet analysis {"connection_id":158788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d3"} 
[2026-08-19 12:32:51] local.INFO: Extracted packet for processing {"connection_id":158788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d3"} 
[2026-08-19 12:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647080,"longitude_deg":75.6555392,"latitude_deg":11.964708,"altitude":81,"angle":159,"satellites":44,"speed":1,"hex_longitude":"2d181e80","hex_latitude":"0721ab68","is_valid_coordinates":true} 
[2026-08-19 12:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503464704001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13697097383542784,"note":"Value kept but may cause issues"} 
[2026-08-19 12:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329614336,"note":"Value kept but may cause issues"} 
[2026-08-19 12:32:51] 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-08-19 12:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787122910000,"timestamp_ms":1787122910000,"timestamp_seconds":1787122910,"priority":1,"record_length":96,"hex_timestamp":"000001a018d38330"} 
[2026-08-19 12:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 12:32: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-08-19 12:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":158788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":158788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":158788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503464704001,"66":14157,"120":206,"28":31744,"24":1,"16":13697097383542784,"45":1737967274329614336},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503464704001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:32:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:32:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13697097383542784,"km_value":13697097383542.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329614336,"description":"Unknown IO ID 45"} 
[2026-08-19 12:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503464704001,"power":14157,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1737967274329614336}} 
[2026-08-19 12:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":158788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:32:51] local.INFO: GPS data processed {"connection_id":158788,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:32:51] local.INFO: Acknowledgment sent {"connection_id":158788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:32:59] local.INFO: TCP Data received {"connection_id":160103,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:32:59] local.INFO: Processing buffer {"connection_id":160103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:32:59] local.INFO: IMEI packet received {"connection_id":160103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":160103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:33:03] local.INFO: TCP Data received {"connection_id":160103,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:33:03] local.INFO: Processing buffer {"connection_id":160103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:33:03] local.INFO: IMEI packet received {"connection_id":160103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":160103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:33:05] local.INFO: TCP Data received {"connection_id":160103,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018d396b8012d011a4006fe8b88000c013826..."} 
[2026-08-19 12:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d396b8012d011a4006fe8b88000c013826..."} 
[2026-08-19 12:33:05] local.INFO: Processing buffer {"connection_id":160103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d396b8012d011a4006fe8b88000c013826..."} 
[2026-08-19 12:33:05] local.INFO: Packet analysis {"connection_id":160103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d3"} 
[2026-08-19 12:33:05] local.INFO: Extracted packet for processing {"connection_id":160103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d3"} 
[2026-08-19 12:33:05] local.INFO: GPS Element Parsed {"raw_longitude":755046976,"raw_latitude":117345160,"longitude_deg":75.5046976,"latitude_deg":11.734516,"altitude":12,"angle":312,"satellites":38,"speed":28,"hex_longitude":"2d011a40","hex_latitude":"06fe8b88","is_valid_coordinates":true} 
[2026-08-19 12:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503463424001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385757641650995200,"note":"Value kept but may cause issues"} 
[2026-08-19 12:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":88101697749417984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787122915000,"timestamp_ms":1787122915000,"timestamp_seconds":1787122915,"priority":1,"record_length":96,"hex_timestamp":"000001a018d396b8"} 
[2026-08-19 12:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 12:33:05] 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-08-19 12:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503463424001,"66":27865,"15":206,"28":32256,"24":28,"16":385757641650995200,"45":88101697749417984},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-08-19 12:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503463424001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:33:05] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-19 12:33:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385757641650995200,"km_value":385757641650995.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":88101697749417984,"description":"Unknown IO ID 45"} 
[2026-08-19 12:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503463424001,"power":27865,"unknown_15":206,"unknown_28":32256,"ignition":28,"odometer":null,"unknown_45":88101697749417984}} 
[2026-08-19 12:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":160103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:33:05] local.INFO: GPS data processed {"connection_id":160103,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:33:05] local.INFO: Acknowledgment sent {"connection_id":160103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:33:09] local.INFO: TCP Data received {"connection_id":157547,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:33:09] local.INFO: Processing buffer {"connection_id":157547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:33:09] local.INFO: IMEI packet received {"connection_id":157547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":157547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:33:11] local.INFO: TCP Data received {"connection_id":157547,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:33:11] local.INFO: Processing buffer {"connection_id":157547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:33:11] local.INFO: IMEI packet received {"connection_id":157547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":157547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:33:13] local.INFO: TCP Data received {"connection_id":157547,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:33:13] local.INFO: Processing buffer {"connection_id":157547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:33:13] local.INFO: IMEI packet received {"connection_id":157547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":157547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:33:14] local.INFO: TCP Data received {"connection_id":157547,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:33:14] local.INFO: Processing buffer {"connection_id":157547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:33:14] local.INFO: IMEI packet received {"connection_id":157547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":157547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:33:14] local.INFO: TCP Data received {"connection_id":157547,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d3b5f8012d181f800721a8a0005100912c..."} 
[2026-08-19 12:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d3b5f8012d181f800721a8a0005100912c..."} 
[2026-08-19 12:33:14] local.INFO: Processing buffer {"connection_id":157547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d3b5f8012d181f800721a8a0005100912c..."} 
[2026-08-19 12:33:14] local.INFO: Packet analysis {"connection_id":157547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d3"} 
[2026-08-19 12:33:14] local.INFO: Extracted packet for processing {"connection_id":157547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d3"} 
[2026-08-19 12:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646368,"longitude_deg":75.6555648,"latitude_deg":11.9646368,"altitude":81,"angle":145,"satellites":44,"speed":11,"hex_longitude":"2d181f80","hex_latitude":"0721a8a0","is_valid_coordinates":true} 
[2026-08-19 12:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503464960001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13697140333215744,"note":"Value kept but may cause issues"} 
[2026-08-19 12:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329597952,"note":"Value kept but may cause issues"} 
[2026-08-19 12:33:14] 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-08-19 12:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787122923000,"timestamp_ms":1787122923000,"timestamp_seconds":1787122923,"priority":1,"record_length":96,"hex_timestamp":"000001a018d3b5f8"} 
[2026-08-19 12:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:33: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-08-19 12:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 12:33:14] 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-08-19 12:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503464960001,"66":14157,"120":206,"28":31744,"24":11,"16":13697140333215744,"45":1737967274329597952},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503464960001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:33:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:33:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13697140333215744,"km_value":13697140333215.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329597952,"description":"Unknown IO ID 45"} 
[2026-08-19 12:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503464960001,"power":14157,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1737967274329597952}} 
[2026-08-19 12:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":157547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:33:15] local.INFO: GPS data processed {"connection_id":157547,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:33:15] local.INFO: Acknowledgment sent {"connection_id":157547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:33:20] local.INFO: TCP Data received {"connection_id":157547,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d3bdc8012d1821000721a700005100832c..."} 
[2026-08-19 12:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d3bdc8012d1821000721a700005100832c..."} 
[2026-08-19 12:33:20] local.INFO: Processing buffer {"connection_id":157547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d3bdc8012d1821000721a700005100832c..."} 
[2026-08-19 12:33:20] local.INFO: Packet analysis {"connection_id":157547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d3"} 
[2026-08-19 12:33:20] local.INFO: Extracted packet for processing {"connection_id":157547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d3"} 
[2026-08-19 12:33:20] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119645952,"longitude_deg":75.6556032,"latitude_deg":11.9645952,"altitude":81,"angle":131,"satellites":44,"speed":10,"hex_longitude":"2d182100","hex_latitude":"0721a700","is_valid_coordinates":true} 
[2026-08-19 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-08-19 12:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503468288001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13697166103019520,"note":"Value kept but may cause issues"} 
[2026-08-19 12:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306126336,"note":"Value kept but may cause issues"} 
[2026-08-19 12:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787122925000,"timestamp_ms":1787122925000,"timestamp_seconds":1787122925,"priority":1,"record_length":96,"hex_timestamp":"000001a018d3bdc8"} 
[2026-08-19 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-08-19 12:33: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-08-19 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 12:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 12:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503468288001,"66":13939,"121":206,"28":31744,"24":10,"16":13697166103019520,"45":1738248749306126336},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503468288001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:33:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:33:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13697166103019520,"km_value":13697166103019.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306126336,"description":"Unknown IO ID 45"} 
[2026-08-19 12:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503468288001,"power":13939,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1738248749306126336}} 
[2026-08-19 12:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":157547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:33:20] local.INFO: GPS data processed {"connection_id":157547,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:33:20] local.INFO: Acknowledgment sent {"connection_id":157547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:33:36] local.INFO: TCP Data received {"connection_id":160103,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018d3a658012d0110c006fe9318000d01292b..."} 
[2026-08-19 12:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d3a658012d0110c006fe9318000d01292b..."} 
[2026-08-19 12:33:36] local.INFO: Processing buffer {"connection_id":160103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d3a658012d0110c006fe9318000d01292b..."} 
[2026-08-19 12:33:36] local.INFO: Packet analysis {"connection_id":160103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d3"} 
[2026-08-19 12:33:36] local.INFO: Extracted packet for processing {"connection_id":160103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d3"} 
[2026-08-19 12:33:36] local.INFO: GPS Element Parsed {"raw_longitude":755044544,"raw_latitude":117347096,"longitude_deg":75.5044544,"latitude_deg":11.7347096,"altitude":13,"angle":297,"satellites":43,"speed":31,"hex_longitude":"2d0110c0","hex_latitude":"06fe9318","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503466240001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385757791974850560,"note":"Value kept but may cause issues"} 
[2026-08-19 12:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":79446342216943616,"note":"Value kept but may cause issues"} 
[2026-08-19 12:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787122919000,"timestamp_ms":1787122919000,"timestamp_seconds":1787122919,"priority":1,"record_length":96,"hex_timestamp":"000001a018d3a658"} 
[2026-08-19 12:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:33: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-08-19 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 12:33:36] 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-08-19 12: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-08-19 12:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503466240001,"66":27974,"15":206,"28":32256,"24":31,"16":385757791974850560,"45":79446342216943616},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-08-19 12:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503466240001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:33:36] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-19 12:33:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385757791974850560,"km_value":385757791974850.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":79446342216943616,"description":"Unknown IO ID 45"} 
[2026-08-19 12:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503466240001,"power":27974,"unknown_15":206,"unknown_28":32256,"ignition":31,"odometer":null,"unknown_45":79446342216943616}} 
[2026-08-19 12:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":160103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:33:36] local.INFO: GPS data processed {"connection_id":160103,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:33:36] local.INFO: Acknowledgment sent {"connection_id":160103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:33:51] local.INFO: TCP Data received {"connection_id":157547,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d3f090012d1832c007219828005400762c..."} 
[2026-08-19 12:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d3f090012d1832c007219828005400762c..."} 
[2026-08-19 12:33:51] local.INFO: Processing buffer {"connection_id":157547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d3f090012d1832c007219828005400762c..."} 
[2026-08-19 12:33:51] local.INFO: Packet analysis {"connection_id":157547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d3"} 
[2026-08-19 12:33:51] local.INFO: Extracted packet for processing {"connection_id":157547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d3"} 
[2026-08-19 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756560576,"raw_latitude":119642152,"longitude_deg":75.6560576,"latitude_deg":11.9642152,"altitude":84,"angle":118,"satellites":44,"speed":27,"hex_longitude":"2d1832c0","hex_latitude":"07219828","is_valid_coordinates":true} 
[2026-08-19 12:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503468800001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13697453865828352,"note":"Value kept but may cause issues"} 
[2026-08-19 12:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771085824,"note":"Value kept but may cause issues"} 
[2026-08-19 12:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787122938000,"timestamp_ms":1787122938000,"timestamp_seconds":1787122938,"priority":1,"record_length":96,"hex_timestamp":"000001a018d3f090"} 
[2026-08-19 12:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:33: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-08-19 12:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-19 12:33:51] 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-08-19 12:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503468800001,"66":14113,"121":206,"28":31744,"24":27,"16":13697453865828352,"45":1738670961771085824},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503468800001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:33:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:33:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13697453865828352,"km_value":13697453865828.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771085824,"description":"Unknown IO ID 45"} 
[2026-08-19 12:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503468800001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1738670961771085824}} 
[2026-08-19 12:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":157547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:33:51] local.INFO: GPS data processed {"connection_id":157547,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:33:51] local.INFO: Acknowledgment sent {"connection_id":157547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:33:59] local.INFO: TCP Data received {"connection_id":160104,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:33:59] local.INFO: Processing buffer {"connection_id":160104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:33:59] local.INFO: IMEI packet received {"connection_id":160104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":160104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:34:00] local.INFO: TCP Data received {"connection_id":160104,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:34:00] local.INFO: Processing buffer {"connection_id":160104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:34:00] local.INFO: IMEI packet received {"connection_id":160104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":160104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:34:00] local.INFO: TCP Data received {"connection_id":160104,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:34:00] local.INFO: Processing buffer {"connection_id":160104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:34:00] local.INFO: IMEI packet received {"connection_id":160104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":160104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:34:01] local.INFO: TCP Data received {"connection_id":160104,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:34:01] local.INFO: Processing buffer {"connection_id":160104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:34:01] local.INFO: IMEI packet received {"connection_id":160104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":160104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:34:13] local.INFO: TCP Data received {"connection_id":157548,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:34:13] local.INFO: Processing buffer {"connection_id":157548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:34:13] local.INFO: IMEI packet received {"connection_id":157548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":157548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:34:14] local.INFO: TCP Data received {"connection_id":157548,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:34:14] local.INFO: Processing buffer {"connection_id":157548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:34:14] local.INFO: IMEI packet received {"connection_id":157548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":157548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:34:19] local.INFO: TCP Data received {"connection_id":157548,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:34:19] local.INFO: Processing buffer {"connection_id":157548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:34:19] local.INFO: IMEI packet received {"connection_id":157548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":157548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:34:20] local.INFO: TCP Data received {"connection_id":157548,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d41b88012d1854c0072189c8005400762a..."} 
[2026-08-19 12:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d41b88012d1854c0072189c8005400762a..."} 
[2026-08-19 12:34:20] local.INFO: Processing buffer {"connection_id":157548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d41b88012d1854c0072189c8005400762a..."} 
[2026-08-19 12:34:20] local.INFO: Packet analysis {"connection_id":157548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d4"} 
[2026-08-19 12:34:20] local.INFO: Extracted packet for processing {"connection_id":157548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d4"} 
[2026-08-19 12:34:20] local.INFO: GPS Element Parsed {"raw_longitude":756569280,"raw_latitude":119638472,"longitude_deg":75.656928,"latitude_deg":11.9638472,"altitude":84,"angle":118,"satellites":42,"speed":41,"hex_longitude":"2d1854c0","hex_latitude":"072189c8","is_valid_coordinates":true} 
[2026-08-19 12:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503472128001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13697904837394432,"note":"Value kept but may cause issues"} 
[2026-08-19 12:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743667142606727168,"note":"Value kept but may cause issues"} 
[2026-08-19 12:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787122949000,"timestamp_ms":1787122949000,"timestamp_seconds":1787122949,"priority":1,"record_length":96,"hex_timestamp":"000001a018d41b88"} 
[2026-08-19 12:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:34: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-08-19 12:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-19 12:34:20] 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-08-19 12: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-08-19 12:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503472128001,"66":14048,"121":206,"28":31744,"24":41,"16":13697904837394432,"45":1743667142606727168},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503472128001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:34:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:34:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13697904837394432,"km_value":13697904837394.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743667142606727168,"description":"Unknown IO ID 45"} 
[2026-08-19 12:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503472128001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1743667142606727168}} 
[2026-08-19 12:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":157548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:34:20] local.INFO: GPS data processed {"connection_id":157548,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:34:20] local.INFO: Acknowledgment sent {"connection_id":157548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:34:25] local.INFO: TCP Data received {"connection_id":157548,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d42b28012d186440072182f0005300682a..."} 
[2026-08-19 12:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d42b28012d186440072182f0005300682a..."} 
[2026-08-19 12:34:25] local.INFO: Processing buffer {"connection_id":157548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d42b28012d186440072182f0005300682a..."} 
[2026-08-19 12:34:25] local.INFO: Packet analysis {"connection_id":157548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d4"} 
[2026-08-19 12:34:25] local.INFO: Extracted packet for processing {"connection_id":157548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d4"} 
[2026-08-19 12:34:25] local.INFO: GPS Element Parsed {"raw_longitude":756573248,"raw_latitude":119636720,"longitude_deg":75.6573248,"latitude_deg":11.963672,"altitude":83,"angle":104,"satellites":42,"speed":42,"hex_longitude":"2d186440","hex_latitude":"072182f0","is_valid_coordinates":true} 
[2026-08-19 12:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503474944001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13698110995824640,"note":"Value kept but may cause issues"} 
[2026-08-19 12:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753237291813947392,"note":"Value kept but may cause issues"} 
[2026-08-19 12:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787122953000,"timestamp_ms":1787122953000,"timestamp_seconds":1787122953,"priority":1,"record_length":96,"hex_timestamp":"000001a018d42b28"} 
[2026-08-19 12:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:34: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-08-19 12:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 12:34:25] 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-08-19 12:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":157548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":157548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":157548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503474944001,"66":14211,"121":206,"28":31744,"24":42,"16":13698110995824640,"45":1753237291813947392},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503474944001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:34:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:34:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13698110995824640,"km_value":13698110995824.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753237291813947392,"description":"Unknown IO ID 45"} 
[2026-08-19 12:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503474944001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1753237291813947392}} 
[2026-08-19 12:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":157548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:34:25] local.INFO: GPS data processed {"connection_id":157548,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:34:25] local.INFO: Acknowledgment sent {"connection_id":157548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:35:09] local.INFO: TCP Data received {"connection_id":157923,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:35:09] local.INFO: Processing buffer {"connection_id":157923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:35:09] local.INFO: IMEI packet received {"connection_id":157923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":157923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:35:14] local.INFO: TCP Data received {"connection_id":157923,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:35:14] local.INFO: Processing buffer {"connection_id":157923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:35:14] local.INFO: IMEI packet received {"connection_id":157923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":157923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:35:15] local.INFO: TCP Data received {"connection_id":157923,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d58ea0012d18cd8007213028004801462c..."} 
[2026-08-19 12:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d58ea0012d18cd8007213028004801462c..."} 
[2026-08-19 12:35:15] local.INFO: Processing buffer {"connection_id":157923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d58ea0012d18cd8007213028004801462c..."} 
[2026-08-19 12:35:15] local.INFO: Packet analysis {"connection_id":157923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d5"} 
[2026-08-19 12:35:15] local.INFO: Extracted packet for processing {"connection_id":157923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d5"} 
[2026-08-19 12:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756600192,"raw_latitude":119615528,"longitude_deg":75.6600192,"latitude_deg":11.9615528,"altitude":72,"angle":326,"satellites":44,"speed":10,"hex_longitude":"2d18cd80","hex_latitude":"07213028","is_valid_coordinates":true} 
[2026-08-19 12:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503499008001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13700030846205952,"note":"Value kept but may cause issues"} 
[2026-08-19 12:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787366132734208000,"note":"Value kept but may cause issues"} 
[2026-08-19 12:35: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-08-19 12:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787123044000,"timestamp_ms":1787123044000,"timestamp_seconds":1787123044,"priority":1,"record_length":96,"hex_timestamp":"000001a018d58ea0"} 
[2026-08-19 12:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:35:15] 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-08-19 12:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-19 12:35:15] 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-08-19 12:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503499008001,"66":14233,"121":206,"28":31744,"24":10,"16":13700030846205952,"45":1787366132734208000},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503499008001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:35:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:35:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13700030846205952,"km_value":13700030846205.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787366132734208000,"description":"Unknown IO ID 45"} 
[2026-08-19 12:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503499008001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1787366132734208000}} 
[2026-08-19 12:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":157923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:35:15] local.INFO: GPS data processed {"connection_id":157923,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:35:15] local.INFO: Acknowledgment sent {"connection_id":157923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:35:19] local.INFO: TCP Data received {"connection_id":157923,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d5ade0012d18c64007213c68004801522b..."} 
[2026-08-19 12:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d5ade0012d18c64007213c68004801522b..."} 
[2026-08-19 12:35:19] local.INFO: Processing buffer {"connection_id":157923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d5ade0012d18c64007213c68004801522b..."} 
[2026-08-19 12:35:19] local.INFO: Packet analysis {"connection_id":157923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d5"} 
[2026-08-19 12:35:19] local.INFO: Extracted packet for processing {"connection_id":157923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d5"} 
[2026-08-19 12:35:19] local.INFO: GPS Element Parsed {"raw_longitude":756598336,"raw_latitude":119618664,"longitude_deg":75.6598336,"latitude_deg":11.9618664,"altitude":72,"angle":338,"satellites":43,"speed":26,"hex_longitude":"2d18c640","hex_latitude":"07213c68","is_valid_coordinates":true} 
[2026-08-19 12:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503499264001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13700206939865088,"note":"Value kept but may cause issues"} 
[2026-08-19 12:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787225395245885440,"note":"Value kept but may cause issues"} 
[2026-08-19 12:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787123052000,"timestamp_ms":1787123052000,"timestamp_seconds":1787123052,"priority":1,"record_length":96,"hex_timestamp":"000001a018d5ade0"} 
[2026-08-19 12:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:35: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-08-19 12:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-19 12:35:19] 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-08-19 12:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503499264001,"66":14189,"121":206,"28":31744,"24":26,"16":13700206939865088,"45":1787225395245885440},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503499264001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:35:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:35:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13700206939865088,"km_value":13700206939865.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787225395245885440,"description":"Unknown IO ID 45"} 
[2026-08-19 12:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503499264001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1787225395245885440}} 
[2026-08-19 12:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":157923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:35:19] local.INFO: GPS data processed {"connection_id":157923,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:35:19] local.INFO: Acknowledgment sent {"connection_id":157923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:35:51] local.INFO: TCP Data received {"connection_id":157923,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d5b5b0012d18c540072141a8004801602b..."} 
[2026-08-19 12:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d5b5b0012d18c540072141a8004801602b..."} 
[2026-08-19 12:35:51] local.INFO: Processing buffer {"connection_id":157923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d5b5b0012d18c540072141a8004801602b..."} 
[2026-08-19 12:35:51] local.INFO: Packet analysis {"connection_id":157923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d5"} 
[2026-08-19 12:35:51] local.INFO: Extracted packet for processing {"connection_id":157923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d5"} 
[2026-08-19 12:35:51] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119620008,"longitude_deg":75.659808,"latitude_deg":11.9620008,"altitude":72,"angle":352,"satellites":43,"speed":30,"hex_longitude":"2d18c540","hex_latitude":"072141a8","is_valid_coordinates":true} 
[2026-08-19 12:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503501312001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13700275659341824,"note":"Value kept but may cause issues"} 
[2026-08-19 12:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785184701665536000,"note":"Value kept but may cause issues"} 
[2026-08-19 12:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787123054000,"timestamp_ms":1787123054000,"timestamp_seconds":1787123054,"priority":1,"record_length":96,"hex_timestamp":"000001a018d5b5b0"} 
[2026-08-19 12:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:35: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-08-19 12:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 12:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503501312001,"66":14004,"121":206,"28":31744,"24":30,"16":13700275659341824,"45":1785184701665536000},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503501312001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:35:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:35:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13700275659341824,"km_value":13700275659341.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785184701665536000,"description":"Unknown IO ID 45"} 
[2026-08-19 12:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503501312001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1785184701665536000}} 
[2026-08-19 12:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":157923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:35:51] local.INFO: GPS data processed {"connection_id":157923,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:35:51] local.INFO: Acknowledgment sent {"connection_id":157923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:36:08] local.INFO: TCP Data received {"connection_id":158790,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:36:08] local.INFO: Processing buffer {"connection_id":158790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:36:08] local.INFO: IMEI packet received {"connection_id":158790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":158790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:36:09] local.INFO: TCP Data received {"connection_id":158790,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:36:09] local.INFO: Processing buffer {"connection_id":158790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:36:09] local.INFO: IMEI packet received {"connection_id":158790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":158790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:36:14] local.INFO: TCP Data received {"connection_id":158790,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:36:14] local.INFO: Processing buffer {"connection_id":158790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:36:14] local.INFO: IMEI packet received {"connection_id":158790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":158790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:36:15] local.INFO: TCP Data received {"connection_id":158790,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d5cd20012d18c2c007215318004b014d2b..."} 
[2026-08-19 12:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d5cd20012d18c2c007215318004b014d2b..."} 
[2026-08-19 12:36:15] local.INFO: Processing buffer {"connection_id":158790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d5cd20012d18c2c007215318004b014d2b..."} 
[2026-08-19 12:36:15] local.INFO: Packet analysis {"connection_id":158790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d5"} 
[2026-08-19 12:36:15] local.INFO: Extracted packet for processing {"connection_id":158790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d5"} 
[2026-08-19 12:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119624472,"longitude_deg":75.659744,"latitude_deg":11.9624472,"altitude":75,"angle":333,"satellites":43,"speed":28,"hex_longitude":"2d18c2c0","hex_latitude":"07215318","is_valid_coordinates":true} 
[2026-08-19 12:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503501824001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13700494702673920,"note":"Value kept but may cause issues"} 
[2026-08-19 12:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226689169408,"note":"Value kept but may cause issues"} 
[2026-08-19 12:36: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-08-19 12:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787123060000,"timestamp_ms":1787123060000,"timestamp_seconds":1787123060,"priority":1,"record_length":96,"hex_timestamp":"000001a018d5cd20"} 
[2026-08-19 12:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:36:15] 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-08-19 12:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 12:36:15] 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-08-19 12:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503501824001,"66":13222,"121":206,"28":31744,"24":28,"16":13700494702673920,"45":1784903226689169408},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503501824001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:36:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:36:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13700494702673920,"km_value":13700494702673.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226689169408,"description":"Unknown IO ID 45"} 
[2026-08-19 12:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503501824001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1784903226689169408}} 
[2026-08-19 12:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":158790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:36:15] local.INFO: GPS data processed {"connection_id":158790,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:36:15] local.INFO: Acknowledgment sent {"connection_id":158790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:36:47] local.INFO: TCP Data received {"connection_id":158790,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d5d108012d18c14007215570004b01422c..."} 
[2026-08-19 12:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d5d108012d18c14007215570004b01422c..."} 
[2026-08-19 12:36:47] local.INFO: Processing buffer {"connection_id":158790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d5d108012d18c14007215570004b01422c..."} 
[2026-08-19 12:36:47] local.INFO: Packet analysis {"connection_id":158790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d5"} 
[2026-08-19 12:36:47] local.INFO: Extracted packet for processing {"connection_id":158790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d5"} 
[2026-08-19 12:36:47] local.INFO: GPS Element Parsed {"raw_longitude":756597056,"raw_latitude":119625072,"longitude_deg":75.6597056,"latitude_deg":11.9625072,"altitude":75,"angle":322,"satellites":44,"speed":29,"hex_longitude":"2d18c140","hex_latitude":"07215570","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503503360001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13700529062412288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784199539248535552,"note":"Value kept but may cause issues"} 
[2026-08-19 12:36: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-08-19 12:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787123061000,"timestamp_ms":1787123061000,"timestamp_seconds":1787123061,"priority":1,"record_length":96,"hex_timestamp":"000001a018d5d108"} 
[2026-08-19 12:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 12:36:47] 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-08-19 12: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-08-19 12:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503503360001,"66":13222,"121":206,"28":31744,"24":29,"16":13700529062412288,"45":1784199539248535552},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503503360001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:36:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:36:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13700529062412288,"km_value":13700529062412.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784199539248535552,"description":"Unknown IO ID 45"} 
[2026-08-19 12:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503503360001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1784199539248535552}} 
[2026-08-19 12:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":158790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:36:48] local.INFO: GPS data processed {"connection_id":158790,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:36:48] local.INFO: Acknowledgment sent {"connection_id":158790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:37:09] local.INFO: TCP Data received {"connection_id":157549,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:37:09] local.INFO: Processing buffer {"connection_id":157549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:37:09] local.INFO: IMEI packet received {"connection_id":157549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":157549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:37:11] local.INFO: TCP Data received {"connection_id":157549,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:37:11] local.INFO: Processing buffer {"connection_id":157549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:37:11] local.INFO: IMEI packet received {"connection_id":157549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":157549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:37:12] local.INFO: TCP Data received {"connection_id":157549,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d61b40012d18abc007217188004f01332b..."} 
[2026-08-19 12:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d61b40012d18abc007217188004f01332b..."} 
[2026-08-19 12:37:12] local.INFO: Processing buffer {"connection_id":157549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d61b40012d18abc007217188004f01332b..."} 
[2026-08-19 12:37:12] local.INFO: Packet analysis {"connection_id":157549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d6"} 
[2026-08-19 12:37:12] local.INFO: Extracted packet for processing {"connection_id":157549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d6"} 
[2026-08-19 12:37:12] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119632264,"longitude_deg":75.6591552,"latitude_deg":11.9632264,"altitude":79,"angle":307,"satellites":43,"speed":18,"hex_longitude":"2d18abc0","hex_latitude":"07217188","is_valid_coordinates":true} 
[2026-08-19 12:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503503616001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13700967149076480,"note":"Value kept but may cause issues"} 
[2026-08-19 12:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783777326783623168,"note":"Value kept but may cause issues"} 
[2026-08-19 12:37: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-08-19 12:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787123080000,"timestamp_ms":1787123080000,"timestamp_seconds":1787123080,"priority":1,"record_length":96,"hex_timestamp":"000001a018d61b40"} 
[2026-08-19 12:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:37: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-08-19 12:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 12:37:12] 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-08-19 12:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503503616001,"66":14004,"121":206,"28":31744,"24":18,"16":13700967149076480,"45":1783777326783623168},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503503616001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:37:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:37:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13700967149076480,"km_value":13700967149076.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783777326783623168,"description":"Unknown IO ID 45"} 
[2026-08-19 12:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503503616001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1783777326783623168}} 
[2026-08-19 12:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":157549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:37:12] local.INFO: GPS data processed {"connection_id":157549,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:37:12] local.INFO: Acknowledgment sent {"connection_id":157549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:37:43] local.INFO: TCP Data received {"connection_id":157549,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d61b40012d18abc007217188004f01332b..."} 
[2026-08-19 12:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d61b40012d18abc007217188004f01332b..."} 
[2026-08-19 12:37:43] local.INFO: Processing buffer {"connection_id":157549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d61b40012d18abc007217188004f01332b..."} 
[2026-08-19 12:37:43] local.INFO: Packet analysis {"connection_id":157549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d6"} 
[2026-08-19 12:37:43] local.INFO: Extracted packet for processing {"connection_id":157549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d6"} 
[2026-08-19 12:37:43] local.INFO: GPS Element Parsed {"raw_longitude":756591552,"raw_latitude":119632264,"longitude_deg":75.6591552,"latitude_deg":11.9632264,"altitude":79,"angle":307,"satellites":43,"speed":18,"hex_longitude":"2d18abc0","hex_latitude":"07217188","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503508480001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13700967149076480,"note":"Value kept but may cause issues"} 
[2026-08-19 12:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786185216,"note":"Value kept but may cause issues"} 
[2026-08-19 12: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-08-19 12:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787123080000,"timestamp_ms":1787123080000,"timestamp_seconds":1787123080,"priority":1,"record_length":96,"hex_timestamp":"000001a018d61b40"} 
[2026-08-19 12:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:37: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-08-19 12: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 12:37:43] 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-08-19 12: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-08-19 12:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503508480001,"66":14004,"121":206,"28":31744,"24":18,"16":13700967149076480,"45":1777725614786185216},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503508480001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:37:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:37:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13700967149076480,"km_value":13700967149076.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786185216,"description":"Unknown IO ID 45"} 
[2026-08-19 12:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503508480001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1777725614786185216}} 
[2026-08-19 12:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":157549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:37:43] local.INFO: GPS data processed {"connection_id":157549,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:37:43] local.INFO: Acknowledgment sent {"connection_id":157549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:38:09] local.INFO: TCP Data received {"connection_id":158791,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:38:09] local.INFO: Processing buffer {"connection_id":158791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:38:09] local.INFO: IMEI packet received {"connection_id":158791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":158791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:38:14] local.INFO: TCP Data received {"connection_id":158791,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:38:14] local.INFO: Processing buffer {"connection_id":158791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:38:14] local.INFO: IMEI packet received {"connection_id":158791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":158791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:38:15] local.INFO: TCP Data received {"connection_id":158791,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d62310012d18a84007217388004f01242b..."} 
[2026-08-19 12:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d62310012d18a84007217388004f01242b..."} 
[2026-08-19 12:38:15] local.INFO: Processing buffer {"connection_id":158791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d62310012d18a84007217388004f01242b..."} 
[2026-08-19 12:38:15] local.INFO: Packet analysis {"connection_id":158791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d6"} 
[2026-08-19 12:38:15] local.INFO: Extracted packet for processing {"connection_id":158791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d6"} 
[2026-08-19 12:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756590656,"raw_latitude":119632776,"longitude_deg":75.6590656,"latitude_deg":11.9632776,"altitude":79,"angle":292,"satellites":43,"speed":23,"hex_longitude":"2d18a840","hex_latitude":"07217388","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503508480001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13701018688684032,"note":"Value kept but may cause issues"} 
[2026-08-19 12:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786185216,"note":"Value kept but may cause issues"} 
[2026-08-19 12:38: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-08-19 12:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787123082000,"timestamp_ms":1787123082000,"timestamp_seconds":1787123082,"priority":1,"record_length":96,"hex_timestamp":"000001a018d62310"} 
[2026-08-19 12:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:38:15] 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-08-19 12: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 12:38:15] 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-08-19 12: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-08-19 12:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503508480001,"66":13439,"121":206,"28":31744,"24":23,"16":13701018688684032,"45":1777725614786185216},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503508480001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:38:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:38:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13701018688684032,"km_value":13701018688684.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786185216,"description":"Unknown IO ID 45"} 
[2026-08-19 12:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503508480001,"power":13439,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1777725614786185216}} 
[2026-08-19 12:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":158791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:38:15] local.INFO: GPS data processed {"connection_id":158791,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:38:15] local.INFO: Acknowledgment sent {"connection_id":158791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:38:46] local.INFO: TCP Data received {"connection_id":158791,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d64e08012d18860007218058004d011b2a..."} 
[2026-08-19 12:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d64e08012d18860007218058004d011b2a..."} 
[2026-08-19 12:38:46] local.INFO: Processing buffer {"connection_id":158791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d64e08012d18860007218058004d011b2a..."} 
[2026-08-19 12:38:46] local.INFO: Packet analysis {"connection_id":158791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d6"} 
[2026-08-19 12:38:46] local.INFO: Extracted packet for processing {"connection_id":158791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d6"} 
[2026-08-19 12:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756581888,"raw_latitude":119636056,"longitude_deg":75.6581888,"latitude_deg":11.9636056,"altitude":77,"angle":283,"satellites":42,"speed":34,"hex_longitude":"2d188600","hex_latitude":"07218058","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503508992001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13701461070315520,"note":"Value kept but may cause issues"} 
[2026-08-19 12:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776740452367828992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:38: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-08-19 12:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787123093000,"timestamp_ms":1787123093000,"timestamp_seconds":1787123093,"priority":1,"record_length":96,"hex_timestamp":"000001a018d64e08"} 
[2026-08-19 12:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:38: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-08-19 12: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":127,"data_length":795,"current_offset":136} 
[2026-08-19 12:38:46] 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-08-19 12: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-08-19 12:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503508992001,"66":14048,"121":206,"28":31744,"24":34,"16":13701461070315520,"45":1776740452367828992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503508992001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:38:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:38:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13701461070315520,"km_value":13701461070315.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776740452367828992,"description":"Unknown IO ID 45"} 
[2026-08-19 12:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503508992001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1776740452367828992}} 
[2026-08-19 12:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":158791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:38:46] local.INFO: GPS data processed {"connection_id":158791,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:38:46] local.INFO: Acknowledgment sent {"connection_id":158791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:39:03] local.INFO: TCP Data received {"connection_id":158792,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:39:03] local.INFO: Processing buffer {"connection_id":158792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:39:03] local.INFO: IMEI packet received {"connection_id":158792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":158792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:39:04] local.INFO: TCP Data received {"connection_id":158792,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018d96700012cfe52c00700fde8000d00192a..."} 
[2026-08-19 12:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d96700012cfe52c00700fde8000d00192a..."} 
[2026-08-19 12:39:04] local.INFO: Processing buffer {"connection_id":158792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d96700012cfe52c00700fde8000d00192a..."} 
[2026-08-19 12:39:04] local.INFO: Packet analysis {"connection_id":158792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d9"} 
[2026-08-19 12:39:04] local.INFO: Extracted packet for processing {"connection_id":158792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d9"} 
[2026-08-19 12:39:04] local.INFO: GPS Element Parsed {"raw_longitude":754864832,"raw_latitude":117505512,"longitude_deg":75.4864832,"latitude_deg":11.7505512,"altitude":13,"angle":25,"satellites":42,"speed":32,"hex_longitude":"2cfe52c0","hex_latitude":"0700fde8","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503561984001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385770376229027840,"note":"Value kept but may cause issues"} 
[2026-08-19 12:39:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-123637853439744000,"note":"Value kept but may cause issues"} 
[2026-08-19 12:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787123296000,"timestamp_ms":1787123296000,"timestamp_seconds":1787123296,"priority":1,"record_length":96,"hex_timestamp":"000001a018d96700"} 
[2026-08-19 12:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:39: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-08-19 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 12:39: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-08-19 12: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-08-19 12:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503561984001,"66":27930,"35":206,"28":32256,"24":32,"16":385770376229027840,"44":-123637853439744000},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,44]} 
[2026-08-19 12:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503561984001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:39:04] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-19 12:39:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385770376229027840,"km_value":385770376229027.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:39:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-123637853439744000,"description":"Unknown IO ID 44"} 
[2026-08-19 12:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503561984001,"power":27930,"unknown_35":206,"unknown_28":32256,"ignition":32,"odometer":null,"unknown_44":-123637853439744000}} 
[2026-08-19 12:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":158792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:39:04] local.INFO: GPS data processed {"connection_id":158792,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:39:04] local.INFO: Acknowledgment sent {"connection_id":158792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:39:09] local.INFO: TCP Data received {"connection_id":157551,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:39:09] local.INFO: Processing buffer {"connection_id":157551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:39:09] local.INFO: IMEI packet received {"connection_id":157551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":157551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:39:13] local.INFO: TCP Data received {"connection_id":157551,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:39:13] local.INFO: Processing buffer {"connection_id":157551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:39:13] local.INFO: IMEI packet received {"connection_id":157551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":157551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:39:15] local.INFO: TCP Data received {"connection_id":157551,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d659c0012d187bc007218198004d010f2a..."} 
[2026-08-19 12:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d659c0012d187bc007218198004d010f2a..."} 
[2026-08-19 12:39:15] local.INFO: Processing buffer {"connection_id":157551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d659c0012d187bc007218198004d010f2a..."} 
[2026-08-19 12:39:15] local.INFO: Packet analysis {"connection_id":157551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d6"} 
[2026-08-19 12:39:15] local.INFO: Extracted packet for processing {"connection_id":157551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d6"} 
[2026-08-19 12:39:15] local.INFO: GPS Element Parsed {"raw_longitude":756579264,"raw_latitude":119636376,"longitude_deg":75.6579264,"latitude_deg":11.9636376,"altitude":77,"angle":271,"satellites":42,"speed":33,"hex_longitude":"2d187bc0","hex_latitude":"07218198","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503511808001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13701585624367104,"note":"Value kept but may cause issues"} 
[2026-08-19 12:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767099934416328704,"note":"Value kept but may cause issues"} 
[2026-08-19 12:39: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-08-19 12:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787123096000,"timestamp_ms":1787123096000,"timestamp_seconds":1787123096,"priority":1,"record_length":96,"hex_timestamp":"000001a018d659c0"} 
[2026-08-19 12:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:39:15] 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-08-19 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 12:39:15] 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-08-19 12: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-08-19 12:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503511808001,"66":14004,"121":206,"28":31744,"24":33,"16":13701585624367104,"45":1767099934416328704},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503511808001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:39:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:39:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13701585624367104,"km_value":13701585624367.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767099934416328704,"description":"Unknown IO ID 45"} 
[2026-08-19 12:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503511808001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1767099934416328704}} 
[2026-08-19 12:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":157551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:39:15] local.INFO: GPS data processed {"connection_id":157551,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:39:15] local.INFO: Acknowledgment sent {"connection_id":157551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:39:35] local.INFO: TCP Data received {"connection_id":158792,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018d96ed0012cfe54c007010428000d000b2a..."} 
[2026-08-19 12:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d96ed0012cfe54c007010428000d000b2a..."} 
[2026-08-19 12:39:35] local.INFO: Processing buffer {"connection_id":158792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d96ed0012cfe54c007010428000d000b2a..."} 
[2026-08-19 12:39:35] local.INFO: Packet analysis {"connection_id":158792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d9"} 
[2026-08-19 12:39:35] local.INFO: Extracted packet for processing {"connection_id":158792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d9"} 
[2026-08-19 12:39:35] local.INFO: GPS Element Parsed {"raw_longitude":754865344,"raw_latitude":117507112,"longitude_deg":75.4865344,"latitude_deg":11.7507112,"altitude":13,"angle":11,"satellites":42,"speed":34,"hex_longitude":"2cfe54c0","hex_latitude":"07010428","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503563776001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385770457833406464,"note":"Value kept but may cause issues"} 
[2026-08-19 12:39:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-120823103671638016,"note":"Value kept but may cause issues"} 
[2026-08-19 12:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787123298000,"timestamp_ms":1787123298000,"timestamp_seconds":1787123298,"priority":1,"record_length":96,"hex_timestamp":"000001a018d96ed0"} 
[2026-08-19 12:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:39: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-08-19 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 12:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503563776001,"66":27865,"35":206,"28":32256,"24":34,"16":385770457833406464,"44":-120823103671638016},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,44]} 
[2026-08-19 12:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503563776001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:39:35] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-19 12:39:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385770457833406464,"km_value":385770457833406.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:39:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-120823103671638016,"description":"Unknown IO ID 44"} 
[2026-08-19 12:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503563776001,"power":27865,"unknown_35":206,"unknown_28":32256,"ignition":34,"odometer":null,"unknown_44":-120823103671638016}} 
[2026-08-19 12:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":158792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:39:35] local.INFO: GPS data processed {"connection_id":158792,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:39:35] local.INFO: Acknowledgment sent {"connection_id":158792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:39:46] local.INFO: TCP Data received {"connection_id":157551,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d9e018012d18290007219e500052012c2c..."} 
[2026-08-19 12:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d9e018012d18290007219e500052012c2c..."} 
[2026-08-19 12:39:46] local.INFO: Processing buffer {"connection_id":157551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d9e018012d18290007219e500052012c2c..."} 
[2026-08-19 12:39:46] local.INFO: Packet analysis {"connection_id":157551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d9"} 
[2026-08-19 12:39:46] local.INFO: Extracted packet for processing {"connection_id":157551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d9"} 
[2026-08-19 12:39:46] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643728,"longitude_deg":75.655808,"latitude_deg":11.9643728,"altitude":82,"angle":300,"satellites":44,"speed":8,"hex_longitude":"2d182900","hex_latitude":"07219e50","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503571200001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13702728085667840,"note":"Value kept but may cause issues"} 
[2026-08-19 12:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305024512,"note":"Value kept but may cause issues"} 
[2026-08-19 12:39:46] 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-08-19 12:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787123327000,"timestamp_ms":1787123327000,"timestamp_seconds":1787123327,"priority":1,"record_length":96,"hex_timestamp":"000001a018d9e018"} 
[2026-08-19 12:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:39: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-08-19 12: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-19 12:39:46] 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-08-19 12: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-08-19 12:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503571200001,"66":13928,"120":206,"28":31744,"24":8,"16":13702728085667840,"45":1741274605305024512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503571200001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:39:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:39:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13702728085667840,"km_value":13702728085667.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305024512,"description":"Unknown IO ID 45"} 
[2026-08-19 12:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503571200001,"power":13928,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1741274605305024512}} 
[2026-08-19 12:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":157551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:39:46] local.INFO: GPS data processed {"connection_id":157551,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:39:46] local.INFO: Acknowledgment sent {"connection_id":157551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:39:59] local.INFO: TCP Data received {"connection_id":157552,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:39:59] local.INFO: Processing buffer {"connection_id":157552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:39:59] local.INFO: IMEI packet received {"connection_id":157552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":157552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:40:03] local.INFO: TCP Data received {"connection_id":157552,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:40:03] local.INFO: Processing buffer {"connection_id":157552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:40:03] local.INFO: IMEI packet received {"connection_id":157552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":157552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:40:04] local.INFO: TCP Data received {"connection_id":157552,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:40:04] local.INFO: Processing buffer {"connection_id":157552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:40:04] local.INFO: IMEI packet received {"connection_id":157552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":157552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:40:05] local.INFO: TCP Data received {"connection_id":157552,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018d98640012cfe5700070114d8000d015f2b..."} 
[2026-08-19 12:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d98640012cfe5700070114d8000d015f2b..."} 
[2026-08-19 12:40:05] local.INFO: Processing buffer {"connection_id":157552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d98640012cfe5700070114d8000d015f2b..."} 
[2026-08-19 12:40:05] local.INFO: Packet analysis {"connection_id":157552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d9"} 
[2026-08-19 12:40:05] local.INFO: Extracted packet for processing {"connection_id":157552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d9"} 
[2026-08-19 12:40:05] local.INFO: GPS Element Parsed {"raw_longitude":754865920,"raw_latitude":117511384,"longitude_deg":75.486592,"latitude_deg":11.7511384,"altitude":13,"angle":351,"satellites":43,"speed":18,"hex_longitude":"2cfe5700","hex_latitude":"070114d8","is_valid_coordinates":true} 
[2026-08-19 12:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503564288001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385770668286803968,"note":"Value kept but may cause issues"} 
[2026-08-19 12:40:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-120260153717807104,"note":"Value kept but may cause issues"} 
[2026-08-19 12:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787123304000,"timestamp_ms":1787123304000,"timestamp_seconds":1787123304,"priority":1,"record_length":96,"hex_timestamp":"000001a018d98640"} 
[2026-08-19 12:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 12:40:05] 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-08-19 12:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503564288001,"66":27213,"35":206,"28":32256,"24":18,"16":385770668286803968,"44":-120260153717807104},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,44]} 
[2026-08-19 12:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503564288001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:40:05] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-19 12:40:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385770668286803968,"km_value":385770668286803.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:40:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-120260153717807104,"description":"Unknown IO ID 44"} 
[2026-08-19 12:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503564288001,"power":27213,"unknown_35":206,"unknown_28":32256,"ignition":18,"odometer":null,"unknown_44":-120260153717807104}} 
[2026-08-19 12:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":157552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:40:05] local.INFO: GPS data processed {"connection_id":157552,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:40:05] local.INFO: Acknowledgment sent {"connection_id":157552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:40:08] local.INFO: TCP Data received {"connection_id":158793,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:40:08] local.INFO: Processing buffer {"connection_id":158793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:40:08] local.INFO: IMEI packet received {"connection_id":158793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":158793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:40:14] local.INFO: TCP Data received {"connection_id":158793,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:40:14] local.INFO: Processing buffer {"connection_id":158793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:40:14] local.INFO: IMEI packet received {"connection_id":158793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":158793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:40:15] local.INFO: TCP Data received {"connection_id":158793,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018d9efb8012d1825800721a0800052013a2d..."} 
[2026-08-19 12:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d9efb8012d1825800721a0800052013a2d..."} 
[2026-08-19 12:40:15] local.INFO: Processing buffer {"connection_id":158793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d9efb8012d1825800721a0800052013a2d..."} 
[2026-08-19 12:40:15] local.INFO: Packet analysis {"connection_id":158793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d9"} 
[2026-08-19 12:40:15] local.INFO: Extracted packet for processing {"connection_id":158793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d9"} 
[2026-08-19 12:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119644288,"longitude_deg":75.6557184,"latitude_deg":11.9644288,"altitude":82,"angle":314,"satellites":45,"speed":13,"hex_longitude":"2d182580","hex_latitude":"0721a080","is_valid_coordinates":true} 
[2026-08-19 12:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503571712001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13702779625275392,"note":"Value kept but may cause issues"} 
[2026-08-19 12:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584201728,"note":"Value kept but may cause issues"} 
[2026-08-19 12:40: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-08-19 12:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787123331000,"timestamp_ms":1787123331000,"timestamp_seconds":1787123331,"priority":1,"record_length":96,"hex_timestamp":"000001a018d9efb8"} 
[2026-08-19 12:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:40:15] 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-08-19 12:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 12:40:15] 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-08-19 12:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503571712001,"66":12863,"120":206,"28":31744,"24":13,"16":13702779625275392,"45":1740922761584201728},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503571712001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:40:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:40:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13702779625275392,"km_value":13702779625275.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584201728,"description":"Unknown IO ID 45"} 
[2026-08-19 12:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503571712001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1740922761584201728}} 
[2026-08-19 12:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":158793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:40:15] local.INFO: GPS data processed {"connection_id":158793,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:40:15] local.INFO: Acknowledgment sent {"connection_id":158793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:40:37] local.INFO: TCP Data received {"connection_id":157552,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018d991f8012cfe554007011ae0000e014a2c..."} 
[2026-08-19 12:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d991f8012cfe554007011ae0000e014a2c..."} 
[2026-08-19 12:40:37] local.INFO: Processing buffer {"connection_id":157552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d991f8012cfe554007011ae0000e014a2c..."} 
[2026-08-19 12:40:37] local.INFO: Packet analysis {"connection_id":157552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d9"} 
[2026-08-19 12:40:37] local.INFO: Extracted packet for processing {"connection_id":157552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d9"} 
[2026-08-19 12:40:37] local.INFO: GPS Element Parsed {"raw_longitude":754865472,"raw_latitude":117512928,"longitude_deg":75.4865472,"latitude_deg":11.7512928,"altitude":14,"angle":330,"satellites":44,"speed":22,"hex_longitude":"2cfe5540","hex_latitude":"07011ae0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503565824001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385770745596215296,"note":"Value kept but may cause issues"} 
[2026-08-19 12:40:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-119626835019114496,"note":"Value kept but may cause issues"} 
[2026-08-19 12:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787123307000,"timestamp_ms":1787123307000,"timestamp_seconds":1787123307,"priority":1,"record_length":96,"hex_timestamp":"000001a018d991f8"} 
[2026-08-19 12:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 12:40:37] 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-08-19 12: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-08-19 12:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503565824001,"66":27865,"35":206,"28":32256,"24":22,"16":385770745596215296,"44":-119626835019114496},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,44]} 
[2026-08-19 12:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503565824001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:40:37] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-19 12:40:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385770745596215296,"km_value":385770745596215.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:40:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-119626835019114496,"description":"Unknown IO ID 44"} 
[2026-08-19 12:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503565824001,"power":27865,"unknown_35":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_44":-119626835019114496}} 
[2026-08-19 12:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":157552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:40:37] local.INFO: GPS data processed {"connection_id":157552,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:40:37] local.INFO: Acknowledgment sent {"connection_id":157552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:40:46] local.INFO: TCP Data received {"connection_id":158793,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018da0340012d1820c00721a4680051012d2d..."} 
[2026-08-19 12:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018da0340012d1820c00721a4680051012d2d..."} 
[2026-08-19 12:40:46] local.INFO: Processing buffer {"connection_id":158793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018da0340012d1820c00721a4680051012d2d..."} 
[2026-08-19 12:40:46] local.INFO: Packet analysis {"connection_id":158793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018da"} 
[2026-08-19 12:40:46] local.INFO: Extracted packet for processing {"connection_id":158793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018da"} 
[2026-08-19 12:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119645288,"longitude_deg":75.6555968,"latitude_deg":11.9645288,"altitude":81,"angle":301,"satellites":45,"speed":7,"hex_longitude":"2d1820c0","hex_latitude":"0721a468","is_valid_coordinates":true} 
[2026-08-19 12:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503572736001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13702852639719424,"note":"Value kept but may cause issues"} 
[2026-08-19 12:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599165857792,"note":"Value kept but may cause issues"} 
[2026-08-19 12:40:46] 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-08-19 12:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787123336000,"timestamp_ms":1787123336000,"timestamp_seconds":1787123336,"priority":1,"record_length":96,"hex_timestamp":"000001a018da0340"} 
[2026-08-19 12:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:40: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-08-19 12:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-19 12:40:46] 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-08-19 12:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503572736001,"66":14080,"120":206,"28":31744,"24":7,"16":13702852639719424,"45":1739937599165857792},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 12:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503572736001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:40:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 12:40:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13702852639719424,"km_value":13702852639719.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599165857792,"description":"Unknown IO ID 45"} 
[2026-08-19 12:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503572736001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1739937599165857792}} 
[2026-08-19 12:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":158793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:40:47] local.INFO: GPS data processed {"connection_id":158793,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:40:47] local.INFO: Acknowledgment sent {"connection_id":158793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:40:59] local.INFO: TCP Data received {"connection_id":157553,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:40:59] local.INFO: Processing buffer {"connection_id":157553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:40:59] local.INFO: IMEI packet received {"connection_id":157553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":157553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:41:04] local.INFO: TCP Data received {"connection_id":157553,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:41:04] local.INFO: Processing buffer {"connection_id":157553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:41:04] local.INFO: IMEI packet received {"connection_id":157553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":157553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:41:05] local.INFO: TCP Data received {"connection_id":157553,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018d99db0012cfe51c0070120c0000e013c2d..."} 
[2026-08-19 12:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018d99db0012cfe51c0070120c0000e013c2d..."} 
[2026-08-19 12:41:05] local.INFO: Processing buffer {"connection_id":157553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018d99db0012cfe51c0070120c0000e013c2d..."} 
[2026-08-19 12:41:05] local.INFO: Packet analysis {"connection_id":157553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018d9"} 
[2026-08-19 12:41:05] local.INFO: Extracted packet for processing {"connection_id":157553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018d9"} 
[2026-08-19 12:41:05] local.INFO: GPS Element Parsed {"raw_longitude":754864576,"raw_latitude":117514432,"longitude_deg":75.4864576,"latitude_deg":11.7514432,"altitude":14,"angle":316,"satellites":45,"speed":24,"hex_longitude":"2cfe51c0","hex_latitude":"070120c0","is_valid_coordinates":true} 
[2026-08-19 12:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503566592001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385770831495561216,"note":"Value kept but may cause issues"} 
[2026-08-19 12:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-120119416227962880,"note":"Value kept but may cause issues"} 
[2026-08-19 12:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787123310000,"timestamp_ms":1787123310000,"timestamp_seconds":1787123310,"priority":1,"record_length":96,"hex_timestamp":"000001a018d99db0"} 
[2026-08-19 12:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 12:41:05] 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-08-19 12:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503566592001,"66":27984,"35":206,"28":32256,"24":24,"16":385770831495561216,"44":-120119416227962880},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,44]} 
[2026-08-19 12:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503566592001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:41:05] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-19 12:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385770831495561216,"km_value":385770831495561.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-120119416227962880,"description":"Unknown IO ID 44"} 
[2026-08-19 12:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503566592001,"power":27984,"unknown_35":206,"unknown_28":32256,"ignition":24,"odometer":null,"unknown_44":-120119416227962880}} 
[2026-08-19 12:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":157553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:41:06] local.INFO: GPS data processed {"connection_id":157553,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:41:06] local.INFO: Acknowledgment sent {"connection_id":157553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:41:09] local.INFO: TCP Data received {"connection_id":158794,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:41:09] local.INFO: Processing buffer {"connection_id":158794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:41:09] local.INFO: IMEI packet received {"connection_id":158794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":158794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:41:10] local.INFO: TCP Data received {"connection_id":158794,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:41:10] local.INFO: Processing buffer {"connection_id":158794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:41:10] local.INFO: IMEI packet received {"connection_id":158794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":158794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:41:14] local.INFO: TCP Data received {"connection_id":158794,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:41:14] local.INFO: Processing buffer {"connection_id":158794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:41:14] local.INFO: IMEI packet received {"connection_id":158794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":158794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:41:16] local.INFO: TCP Data received {"connection_id":158794,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018daf958012d183600072196700052006d2b..."} 
[2026-08-19 12:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018daf958012d183600072196700052006d2b..."} 
[2026-08-19 12:41:16] local.INFO: Processing buffer {"connection_id":158794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018daf958012d183600072196700052006d2b..."} 
[2026-08-19 12:41:16] local.INFO: Packet analysis {"connection_id":158794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018da"} 
[2026-08-19 12:41:16] local.INFO: Extracted packet for processing {"connection_id":158794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018da"} 
[2026-08-19 12:41:16] local.INFO: GPS Element Parsed {"raw_longitude":756561408,"raw_latitude":119641712,"longitude_deg":75.6561408,"latitude_deg":11.9641712,"altitude":82,"angle":109,"satellites":43,"speed":16,"hex_longitude":"2d183600","hex_latitude":"07219670","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503589120001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13703316496187392,"note":"Value kept but may cause issues"} 
[2026-08-19 12:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980188350464,"note":"Value kept but may cause issues"} 
[2026-08-19 12: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-08-19 12:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787123399000,"timestamp_ms":1787123399000,"timestamp_seconds":1787123399,"priority":1,"record_length":96,"hex_timestamp":"000001a018daf958"} 
[2026-08-19 12:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-19 12:41:16] 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-08-19 12: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-08-19 12:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503589120001,"66":14233,"121":206,"28":31744,"24":16,"16":13703316496187392,"45":1742681980188350464},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503589120001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:41:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:41:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13703316496187392,"km_value":13703316496187.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980188350464,"description":"Unknown IO ID 45"} 
[2026-08-19 12:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503589120001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1742681980188350464}} 
[2026-08-19 12:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":158794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:41:16] local.INFO: GPS data processed {"connection_id":158794,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:41:16] local.INFO: Acknowledgment sent {"connection_id":158794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:41:37] local.INFO: TCP Data received {"connection_id":157553,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018db4778012cfd95800701b6e80011013429..."} 
[2026-08-19 12:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018db4778012cfd95800701b6e80011013429..."} 
[2026-08-19 12:41:37] local.INFO: Processing buffer {"connection_id":157553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018db4778012cfd95800701b6e80011013429..."} 
[2026-08-19 12:41:37] local.INFO: Packet analysis {"connection_id":157553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018db"} 
[2026-08-19 12:41:37] local.INFO: Extracted packet for processing {"connection_id":157553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018db"} 
[2026-08-19 12:41:37] local.INFO: GPS Element Parsed {"raw_longitude":754816384,"raw_latitude":117552872,"longitude_deg":75.4816384,"latitude_deg":11.7552872,"altitude":17,"angle":308,"satellites":41,"speed":39,"hex_longitude":"2cfd9580","hex_latitude":"0701b6e8","is_valid_coordinates":true} 
[2026-08-19 12:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503592960001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385773872332406784,"note":"Value kept but may cause issues"} 
[2026-08-19 12:41:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-166562787376664576,"note":"Value kept but may cause issues"} 
[2026-08-19 12:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787123419000,"timestamp_ms":1787123419000,"timestamp_seconds":1787123419,"priority":1,"record_length":96,"hex_timestamp":"000001a018db4778"} 
[2026-08-19 12:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:41: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-08-19 12:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 12:41:37] 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-08-19 12:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503592960001,"66":27908,"35":206,"28":32256,"24":39,"16":385773872332406784,"44":-166562787376664576},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,44]} 
[2026-08-19 12:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503592960001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:41:37] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-19 12:41:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385773872332406784,"km_value":385773872332406.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:41:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-166562787376664576,"description":"Unknown IO ID 44"} 
[2026-08-19 12:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503592960001,"power":27908,"unknown_35":206,"unknown_28":32256,"ignition":39,"odometer":null,"unknown_44":-166562787376664576}} 
[2026-08-19 12:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":157553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:41:37] local.INFO: GPS data processed {"connection_id":157553,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:41:37] local.INFO: Acknowledgment sent {"connection_id":157553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:41:47] local.INFO: TCP Data received {"connection_id":158794,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018db33f0012d18568007218870005200762d..."} 
[2026-08-19 12:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018db33f0012d18568007218870005200762d..."} 
[2026-08-19 12:41:47] local.INFO: Processing buffer {"connection_id":158794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018db33f0012d18568007218870005200762d..."} 
[2026-08-19 12:41:47] local.INFO: Packet analysis {"connection_id":158794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018db"} 
[2026-08-19 12:41:47] local.INFO: Extracted packet for processing {"connection_id":158794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018db"} 
[2026-08-19 12:41:47] local.INFO: GPS Element Parsed {"raw_longitude":756569728,"raw_latitude":119638128,"longitude_deg":75.6569728,"latitude_deg":11.9638128,"altitude":82,"angle":118,"satellites":45,"speed":28,"hex_longitude":"2d185680","hex_latitude":"07218870","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503590144001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13703750287884288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744581936280924160,"note":"Value kept but may cause issues"} 
[2026-08-19 12:41: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-08-19 12:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787123414000,"timestamp_ms":1787123414000,"timestamp_seconds":1787123414,"priority":1,"record_length":96,"hex_timestamp":"000001a018db33f0"} 
[2026-08-19 12:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-19 12:41:47] 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-08-19 12: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-08-19 12:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503590144001,"66":14048,"121":206,"28":31744,"24":28,"16":13703750287884288,"45":1744581936280924160},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503590144001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:41:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:41:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13703750287884288,"km_value":13703750287884.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744581936280924160,"description":"Unknown IO ID 45"} 
[2026-08-19 12:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503590144001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1744581936280924160}} 
[2026-08-19 12:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":158794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:41:47] local.INFO: GPS data processed {"connection_id":158794,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:41:47] local.INFO: Acknowledgment sent {"connection_id":158794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:42:02] local.INFO: TCP Data received {"connection_id":157925,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:42:02] local.INFO: Processing buffer {"connection_id":157925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:42:02] local.INFO: IMEI packet received {"connection_id":157925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":157925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:42:04] local.INFO: TCP Data received {"connection_id":157925,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:42:04] local.INFO: Processing buffer {"connection_id":157925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:42:04] local.INFO: IMEI packet received {"connection_id":157925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":157925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:42:08] local.INFO: TCP Data received {"connection_id":158795,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:42:08] local.INFO: Processing buffer {"connection_id":158795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:42:08] local.INFO: IMEI packet received {"connection_id":158795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":158795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:42:09] local.INFO: TCP Data received {"connection_id":157925,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:42:09] local.INFO: Processing buffer {"connection_id":157925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:42:09] local.INFO: IMEI packet received {"connection_id":157925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":157925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:42:10] local.INFO: TCP Data received {"connection_id":157925,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018db6e88012cfd7b000701cef80011013b2b..."} 
[2026-08-19 12:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018db6e88012cfd7b000701cef80011013b2b..."} 
[2026-08-19 12:42:10] local.INFO: Processing buffer {"connection_id":157925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018db6e88012cfd7b000701cef80011013b2b..."} 
[2026-08-19 12:42:10] local.INFO: Packet analysis {"connection_id":157925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018db"} 
[2026-08-19 12:42:10] local.INFO: Extracted packet for processing {"connection_id":157925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018db"} 
[2026-08-19 12:42:10] local.INFO: GPS Element Parsed {"raw_longitude":754809600,"raw_latitude":117559032,"longitude_deg":75.48096,"latitude_deg":11.7559032,"altitude":17,"angle":315,"satellites":43,"speed":31,"hex_longitude":"2cfd7b00","hex_latitude":"0701cef8","is_valid_coordinates":true} 
[2026-08-19 12:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503595264001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385774310419070976,"note":"Value kept but may cause issues"} 
[2026-08-19 12:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-174092243002005504,"note":"Value kept but may cause issues"} 
[2026-08-19 12:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787123429000,"timestamp_ms":1787123429000,"timestamp_seconds":1787123429,"priority":1,"record_length":96,"hex_timestamp":"000001a018db6e88"} 
[2026-08-19 12:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:42: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-08-19 12:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503595264001,"66":27517,"94":206,"28":32256,"24":31,"16":385774310419070976,"44":-174092243002005504},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,28,24,16,44]} 
[2026-08-19 12:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503595264001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:42:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-19 12:42:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385774310419070976,"km_value":385774310419071.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-174092243002005504,"description":"Unknown IO ID 44"} 
[2026-08-19 12:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503595264001,"power":27517,"unknown_94":206,"unknown_28":32256,"ignition":31,"odometer":null,"unknown_44":-174092243002005504}} 
[2026-08-19 12:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":157925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:42:10] local.INFO: GPS data processed {"connection_id":157925,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:42:10] local.INFO: Acknowledgment sent {"connection_id":157925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:42:12] local.INFO: TCP Data received {"connection_id":157925,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018dba150012cfd62400701e990000e013c2f..."} 
[2026-08-19 12:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018dba150012cfd62400701e990000e013c2f..."} 
[2026-08-19 12:42:12] local.INFO: Processing buffer {"connection_id":157925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018dba150012cfd62400701e990000e013c2f..."} 
[2026-08-19 12:42:12] local.INFO: Packet analysis {"connection_id":157925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018db"} 
[2026-08-19 12:42:12] local.INFO: Extracted packet for processing {"connection_id":157925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018db"} 
[2026-08-19 12:42:12] local.INFO: GPS Element Parsed {"raw_longitude":754803264,"raw_latitude":117565840,"longitude_deg":75.4803264,"latitude_deg":11.756584,"altitude":14,"angle":316,"satellites":47,"speed":26,"hex_longitude":"2cfd6240","hex_latitude":"0701e990","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503597824001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385774757095669760,"note":"Value kept but may cause issues"} 
[2026-08-19 12:42:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181551329883260928,"note":"Value kept but may cause issues"} 
[2026-08-19 12:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787123442000,"timestamp_ms":1787123442000,"timestamp_seconds":1787123442,"priority":1,"record_length":96,"hex_timestamp":"000001a018dba150"} 
[2026-08-19 12:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 12:42:12] 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-08-19 12: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-08-19 12:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503597824001,"66":27876,"94":206,"28":32256,"24":26,"16":385774757095669760,"44":-181551329883260928},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,28,24,16,44]} 
[2026-08-19 12:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503597824001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:42:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-19 12:42:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385774757095669760,"km_value":385774757095669.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:42:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181551329883260928,"description":"Unknown IO ID 44"} 
[2026-08-19 12:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503597824001,"power":27876,"unknown_94":206,"unknown_28":32256,"ignition":26,"odometer":null,"unknown_44":-181551329883260928}} 
[2026-08-19 12:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":157925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:42:12] local.INFO: GPS data processed {"connection_id":157925,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:42:12] local.INFO: Acknowledgment sent {"connection_id":157925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:42:13] local.INFO: TCP Data received {"connection_id":158795,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:42:13] local.INFO: Processing buffer {"connection_id":158795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:42:13] local.INFO: IMEI packet received {"connection_id":158795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":158795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:42:14] local.INFO: TCP Data received {"connection_id":158795,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018dbfb28012d18c800072139c00047009928..."} 
[2026-08-19 12:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018dbfb28012d18c800072139c00047009928..."} 
[2026-08-19 12:42:14] local.INFO: Processing buffer {"connection_id":158795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018dbfb28012d18c800072139c00047009928..."} 
[2026-08-19 12:42:14] local.INFO: Packet analysis {"connection_id":158795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018db"} 
[2026-08-19 12:42:14] local.INFO: Extracted packet for processing {"connection_id":158795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018db"} 
[2026-08-19 12:42:14] local.INFO: GPS Element Parsed {"raw_longitude":756598784,"raw_latitude":119617984,"longitude_deg":75.6598784,"latitude_deg":11.9617984,"altitude":71,"angle":153,"satellites":40,"speed":31,"hex_longitude":"2d18c800","hex_latitude":"072139c0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503606528001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13705644368461824,"note":"Value kept but may cause issues"} 
[2026-08-19 12:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964177379328,"note":"Value kept but may cause issues"} 
[2026-08-19 12:42: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-08-19 12:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787123465000,"timestamp_ms":1787123465000,"timestamp_seconds":1787123465,"priority":1,"record_length":96,"hex_timestamp":"000001a018dbfb28"} 
[2026-08-19 12:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12: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-08-19 12: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":5,"data_length":795,"current_offset":136} 
[2026-08-19 12:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6980950894,"note":"Value kept but may cause issues"} 
[2026-08-19 12:42:14] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503808740032512,"note":"Value kept but may cause issues"} 
[2026-08-19 12:42:14] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-08-19 12:42:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 12:42:14] local.WARNING: Large IO value detected {"io_id":48,"raw_value":22236944788365312,"note":"Value kept but may cause issues"} 
[2026-08-19 12:42:14] local.WARNING: Large IO value detected {"io_id":136,"raw_value":84750914615189890,"note":"Value kept but may cause issues"} 
[2026-08-19 12:42:14] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,177,160,227,45,64,74,71,42,10,66,219,128,79,72,176,180,1,240,109,33,4,113,205,31,169,174,104,43,239,56,2,48,7,32,206,136],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 12:42:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116271863128784896,"timestamp_seconds":5116271863128785.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 12:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503606528001,"66":14048,"121":206,"28":31744,"24":31,"16":13705644368461824,"45":1785043964177379328},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503606528001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:42:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:42:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13705644368461824,"km_value":13705644368461.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964177379328,"description":"Unknown IO ID 45"} 
[2026-08-19 12:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503606528001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1785043964177379328}} 
[2026-08-19 12:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":158795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:42:14] local.INFO: GPS data processed {"connection_id":158795,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:42:14] local.INFO: Acknowledgment sent {"connection_id":158795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:42:46] local.INFO: TCP Data received {"connection_id":158795,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018dcc260012d1946800720adb00032006f28..."} 
[2026-08-19 12:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018dcc260012d1946800720adb00032006f28..."} 
[2026-08-19 12:42:46] local.INFO: Processing buffer {"connection_id":158795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018dcc260012d1946800720adb00032006f28..."} 
[2026-08-19 12:42:46] local.INFO: Packet analysis {"connection_id":158795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018dc"} 
[2026-08-19 12:42:46] local.INFO: Extracted packet for processing {"connection_id":158795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018dc"} 
[2026-08-19 12:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756631168,"raw_latitude":119582128,"longitude_deg":75.6631168,"latitude_deg":11.9582128,"altitude":50,"angle":111,"satellites":40,"speed":41,"hex_longitude":"2d194680","hex_latitude":"0720adb0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503619328001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13708144039428096,"note":"Value kept but may cause issues"} 
[2026-08-19 12:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817976536443383808,"note":"Value kept but may cause issues"} 
[2026-08-19 12:42: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-08-19 12:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787123516000,"timestamp_ms":1787123516000,"timestamp_seconds":1787123516,"priority":1,"record_length":96,"hex_timestamp":"000001a018dcc260"} 
[2026-08-19 12:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:42: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-08-19 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 12:42:46] 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-08-19 12: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-08-19 12:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503619328001,"66":14070,"121":206,"28":31744,"24":41,"16":13708144039428096,"45":1817976536443383808},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503619328001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:42:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:42:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13708144039428096,"km_value":13708144039428.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817976536443383808,"description":"Unknown IO ID 45"} 
[2026-08-19 12:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503619328001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1817976536443383808}} 
[2026-08-19 12:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":158795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:42:46] local.INFO: GPS data processed {"connection_id":158795,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:42:46] local.INFO: Acknowledgment sent {"connection_id":158795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:42:57] local.INFO: TCP Data received {"connection_id":157926,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:42:57] local.INFO: Processing buffer {"connection_id":157926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:42:57] local.INFO: IMEI packet received {"connection_id":157926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":157926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:42:59] local.INFO: TCP Data received {"connection_id":157926,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:42:59] local.INFO: Processing buffer {"connection_id":157926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:42:59] local.INFO: IMEI packet received {"connection_id":157926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":157926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:43:04] local.INFO: TCP Data received {"connection_id":157926,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:43:04] local.INFO: Processing buffer {"connection_id":157926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:43:04] local.INFO: IMEI packet received {"connection_id":157926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":157926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:43:06] local.INFO: TCP Data received {"connection_id":157926,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018dc8bb0012cfd5fc007027718000b000924..."} 
[2026-08-19 12:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018dc8bb0012cfd5fc007027718000b000924..."} 
[2026-08-19 12:43:06] local.INFO: Processing buffer {"connection_id":157926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018dc8bb0012cfd5fc007027718000b000924..."} 
[2026-08-19 12:43:06] local.INFO: Packet analysis {"connection_id":157926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018dc"} 
[2026-08-19 12:43:06] local.INFO: Extracted packet for processing {"connection_id":157926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018dc"} 
[2026-08-19 12:43:06] local.INFO: GPS Element Parsed {"raw_longitude":754802624,"raw_latitude":117602072,"longitude_deg":75.4802624,"latitude_deg":11.7602072,"altitude":11,"angle":9,"satellites":36,"speed":45,"hex_longitude":"2cfd5fc0","hex_latitude":"07027718","is_valid_coordinates":true} 
[2026-08-19 12:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503614208001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385776788615200768,"note":"Value kept but may cause issues"} 
[2026-08-19 12:43:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-191262216571146240,"note":"Value kept but may cause issues"} 
[2026-08-19 12:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787123502000,"timestamp_ms":1787123502000,"timestamp_seconds":1787123502,"priority":1,"record_length":96,"hex_timestamp":"000001a018dc8bb0"} 
[2026-08-19 12:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:43: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-08-19 12:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 12:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503614208001,"66":27984,"94":206,"28":32256,"24":45,"16":385776788615200768,"44":-191262216571146240},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,28,24,16,44]} 
[2026-08-19 12:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503614208001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:43:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-19 12:43:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385776788615200768,"km_value":385776788615200.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:43:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-191262216571146240,"description":"Unknown IO ID 44"} 
[2026-08-19 12:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503614208001,"power":27984,"unknown_94":206,"unknown_28":32256,"ignition":45,"odometer":null,"unknown_44":-191262216571146240}} 
[2026-08-19 12:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":157926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:43:06] local.INFO: GPS data processed {"connection_id":157926,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:43:06] local.INFO: Acknowledgment sent {"connection_id":157926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:43:11] local.INFO: TCP Data received {"connection_id":160106,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:43:11] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:43:11] local.INFO: IMEI packet received {"connection_id":160106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":160106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:43:12] local.INFO: TCP Data received {"connection_id":160106,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:43:12] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:43:12] local.INFO: IMEI packet received {"connection_id":160106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":160106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:43:13] local.INFO: TCP Data received {"connection_id":160106,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:43:13] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:43:13] local.INFO: IMEI packet received {"connection_id":160106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":160106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:43:14] local.INFO: TCP Data received {"connection_id":160106,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:43:14] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:43:14] local.INFO: IMEI packet received {"connection_id":160106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":160106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:43:15] local.INFO: TCP Data received {"connection_id":160106,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018dcce18012d1951800720aac00032006327..."} 
[2026-08-19 12:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018dcce18012d1951800720aac00032006327..."} 
[2026-08-19 12:43:15] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018dcce18012d1951800720aac00032006327..."} 
[2026-08-19 12:43:15] local.INFO: Packet analysis {"connection_id":160106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018dc"} 
[2026-08-19 12:43:15] local.INFO: Extracted packet for processing {"connection_id":160106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018dc"} 
[2026-08-19 12:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756633984,"raw_latitude":119581376,"longitude_deg":75.6633984,"latitude_deg":11.9581376,"altitude":50,"angle":99,"satellites":39,"speed":36,"hex_longitude":"2d195180","hex_latitude":"0720aac0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503620096001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13708281478381568,"note":"Value kept but may cause issues"} 
[2026-08-19 12:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821283867419324416,"note":"Value kept but may cause issues"} 
[2026-08-19 12: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-08-19 12:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787123519000,"timestamp_ms":1787123519000,"timestamp_seconds":1787123519,"priority":1,"record_length":96,"hex_timestamp":"000001a018dcce18"} 
[2026-08-19 12:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:43:15] 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-08-19 12: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-19 12:43:15] 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-08-19 12: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-08-19 12:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503620096001,"66":14461,"121":206,"28":31744,"24":36,"16":13708281478381568,"45":1821283867419324416},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503620096001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:43:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:43:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13708281478381568,"km_value":13708281478381.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821283867419324416,"description":"Unknown IO ID 45"} 
[2026-08-19 12:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503620096001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1821283867419324416}} 
[2026-08-19 12:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":160106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:43:15] local.INFO: GPS data processed {"connection_id":160106,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:43:15] local.INFO: Acknowledgment sent {"connection_id":160106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:43:38] local.INFO: TCP Data received {"connection_id":157926,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018dcb6a8012cfd64c007029cb0000b00042b..."} 
[2026-08-19 12:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018dcb6a8012cfd64c007029cb0000b00042b..."} 
[2026-08-19 12:43:38] local.INFO: Processing buffer {"connection_id":157926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018dcb6a8012cfd64c007029cb0000b00042b..."} 
[2026-08-19 12:43:38] local.INFO: Packet analysis {"connection_id":157926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018dc"} 
[2026-08-19 12:43:38] local.INFO: Extracted packet for processing {"connection_id":157926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018dc"} 
[2026-08-19 12:43:38] local.INFO: GPS Element Parsed {"raw_longitude":754803904,"raw_latitude":117611696,"longitude_deg":75.4803904,"latitude_deg":11.7611696,"altitude":11,"angle":4,"satellites":43,"speed":36,"hex_longitude":"2cfd64c0","hex_latitude":"07029cb0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503616512001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385777256766636032,"note":"Value kept but may cause issues"} 
[2026-08-19 12:43:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-189221522987608064,"note":"Value kept but may cause issues"} 
[2026-08-19 12:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787123513000,"timestamp_ms":1787123513000,"timestamp_seconds":1787123513,"priority":1,"record_length":96,"hex_timestamp":"000001a018dcb6a8"} 
[2026-08-19 12:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 12:43:38] 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-08-19 12: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-08-19 12:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503616512001,"66":27974,"92":206,"28":32256,"24":36,"16":385777256766636032,"44":-189221522987608064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,44]} 
[2026-08-19 12:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503616512001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:43:38] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 12:43:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385777256766636032,"km_value":385777256766636.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:43:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-189221522987608064,"description":"Unknown IO ID 44"} 
[2026-08-19 12:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503616512001,"power":27974,"unknown_92":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_44":-189221522987608064}} 
[2026-08-19 12:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":157926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:43:38] local.INFO: GPS data processed {"connection_id":157926,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:43:38] local.INFO: Acknowledgment sent {"connection_id":157926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:43:46] local.INFO: TCP Data received {"connection_id":160106,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018dd9168012d19af80072084c8003000a82a..."} 
[2026-08-19 12:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018dd9168012d19af80072084c8003000a82a..."} 
[2026-08-19 12:43:46] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018dd9168012d19af80072084c8003000a82a..."} 
[2026-08-19 12:43:46] local.INFO: Packet analysis {"connection_id":160106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018dd"} 
[2026-08-19 12:43:46] local.INFO: Extracted packet for processing {"connection_id":160106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018dd"} 
[2026-08-19 12:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756658048,"raw_latitude":119571656,"longitude_deg":75.6658048,"latitude_deg":11.9571656,"altitude":48,"angle":168,"satellites":42,"speed":30,"hex_longitude":"2d19af80","hex_latitude":"072084c8","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503632896001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13710106839482368,"note":"Value kept but may cause issues"} 
[2026-08-19 12:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506749440,"note":"Value kept but may cause issues"} 
[2026-08-19 12:43: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-08-19 12:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787123569000,"timestamp_ms":1787123569000,"timestamp_seconds":1787123569,"priority":1,"record_length":96,"hex_timestamp":"000001a018dd9168"} 
[2026-08-19 12:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 12:43:46] 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-08-19 12: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-08-19 12:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503632896001,"66":14515,"121":206,"28":31744,"24":30,"16":13710106839482368,"45":1850416527506749440},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503632896001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:43:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:43:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13710106839482368,"km_value":13710106839482.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506749440,"description":"Unknown IO ID 45"} 
[2026-08-19 12:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503632896001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1850416527506749440}} 
[2026-08-19 12:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":160106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:43:46] local.INFO: GPS data processed {"connection_id":160106,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:43:46] local.INFO: Acknowledgment sent {"connection_id":160106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:44:00] local.INFO: TCP Data received {"connection_id":160107,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:44:00] local.INFO: Processing buffer {"connection_id":160107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:44:00] local.INFO: IMEI packet received {"connection_id":160107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":160107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:44:02] local.INFO: TCP Data received {"connection_id":160107,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:44:02] local.INFO: Processing buffer {"connection_id":160107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:44:02] local.INFO: IMEI packet received {"connection_id":160107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":160107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:44:04] local.INFO: TCP Data received {"connection_id":160107,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ddcfe8012cfccbc007038958000701252e..."} 
[2026-08-19 12:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ddcfe8012cfccbc007038958000701252e..."} 
[2026-08-19 12:44:04] local.INFO: Processing buffer {"connection_id":160107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ddcfe8012cfccbc007038958000701252e..."} 
[2026-08-19 12:44:04] local.INFO: Packet analysis {"connection_id":160107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018dd"} 
[2026-08-19 12:44:04] local.INFO: Extracted packet for processing {"connection_id":160107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018dd"} 
[2026-08-19 12:44:04] local.INFO: GPS Element Parsed {"raw_longitude":754764736,"raw_latitude":117672280,"longitude_deg":75.4764736,"latitude_deg":11.767228,"altitude":7,"angle":293,"satellites":46,"speed":38,"hex_longitude":"2cfccbc0","hex_latitude":"07038958","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503635456001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385781135122104320,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-221239301571276800,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787123585000,"timestamp_ms":1787123585000,"timestamp_seconds":1787123585,"priority":1,"record_length":96,"hex_timestamp":"000001a018ddcfe8"} 
[2026-08-19 12:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:44: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-08-19 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 12:44: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-08-19 12: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-08-19 12:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503635456001,"66":27908,"95":206,"28":32256,"24":38,"16":385781135122104320,"44":-221239301571276800},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,28,24,16,44]} 
[2026-08-19 12:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503635456001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:44:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 12:44:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385781135122104320,"km_value":385781135122104.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:44:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-221239301571276800,"description":"Unknown IO ID 44"} 
[2026-08-19 12:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503635456001,"power":27908,"unknown_95":206,"unknown_28":32256,"ignition":38,"odometer":null,"unknown_44":-221239301571276800}} 
[2026-08-19 12:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":160107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:44:04] local.INFO: GPS data processed {"connection_id":160107,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:44:04] local.INFO: Acknowledgment sent {"connection_id":160107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:44:06] local.INFO: TCP Data received {"connection_id":157927,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:44:06] local.INFO: Processing buffer {"connection_id":157927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:44:06] local.INFO: IMEI packet received {"connection_id":157927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":157927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:44:08] local.INFO: TCP Data received {"connection_id":157927,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:44:08] local.INFO: Processing buffer {"connection_id":157927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:44:08] local.INFO: IMEI packet received {"connection_id":157927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":157927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:44:10] local.INFO: TCP Data received {"connection_id":157927,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:44:10] local.INFO: Processing buffer {"connection_id":157927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:44:10] local.INFO: IMEI packet received {"connection_id":157927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":157927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:44:13] local.INFO: TCP Data received {"connection_id":157927,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:44:14] local.INFO: Processing buffer {"connection_id":157927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:44:14] local.INFO: IMEI packet received {"connection_id":157927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":157927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:44:14] local.INFO: TCP Data received {"connection_id":157927,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ddacc0012d19b64007206e68002d009c2b..."} 
[2026-08-19 12:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ddacc0012d19b64007206e68002d009c2b..."} 
[2026-08-19 12:44:14] local.INFO: Processing buffer {"connection_id":157927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ddacc0012d19b64007206e68002d009c2b..."} 
[2026-08-19 12:44:14] local.INFO: Packet analysis {"connection_id":157927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018dd"} 
[2026-08-19 12:44:14] local.INFO: Extracted packet for processing {"connection_id":157927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018dd"} 
[2026-08-19 12:44:14] local.INFO: GPS Element Parsed {"raw_longitude":756659776,"raw_latitude":119565928,"longitude_deg":75.6659776,"latitude_deg":11.9565928,"altitude":45,"angle":156,"satellites":43,"speed":33,"hex_longitude":"2d19b640","hex_latitude":"07206e68","is_valid_coordinates":true} 
[2026-08-19 12:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503633664001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13710398897258496,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850838739971262464,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44: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-08-19 12:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787123576000,"timestamp_ms":1787123576000,"timestamp_seconds":1787123576,"priority":1,"record_length":96,"hex_timestamp":"000001a018ddacc0"} 
[2026-08-19 12:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:44: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-08-19 12:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 12:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503633664001,"66":14341,"121":206,"28":31744,"24":33,"16":13710398897258496,"45":1850838739971262464},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503633664001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:44:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:44:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13710398897258496,"km_value":13710398897258.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850838739971262464,"description":"Unknown IO ID 45"} 
[2026-08-19 12:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503633664001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1850838739971262464}} 
[2026-08-19 12:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":157927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:44:14] local.INFO: GPS data processed {"connection_id":157927,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:44:14] local.INFO: Acknowledgment sent {"connection_id":157927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:44:35] local.INFO: TCP Data received {"connection_id":160107,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ddf6f8012cfcab8007039928000701262c..."} 
[2026-08-19 12:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ddf6f8012cfcab8007039928000701262c..."} 
[2026-08-19 12:44:35] local.INFO: Processing buffer {"connection_id":160107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ddf6f8012cfcab8007039928000701262c..."} 
[2026-08-19 12:44:35] local.INFO: Packet analysis {"connection_id":160107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018dd"} 
[2026-08-19 12:44:35] local.INFO: Extracted packet for processing {"connection_id":160107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018dd"} 
[2026-08-19 12:44:35] local.INFO: GPS Element Parsed {"raw_longitude":754756480,"raw_latitude":117676328,"longitude_deg":75.475648,"latitude_deg":11.7676328,"altitude":7,"angle":294,"satellites":44,"speed":38,"hex_longitude":"2cfcab80","hex_latitude":"07039928","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503637760001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385781573208768512,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-230879819522811904,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787123595000,"timestamp_ms":1787123595000,"timestamp_seconds":1787123595,"priority":1,"record_length":96,"hex_timestamp":"000001a018ddf6f8"} 
[2026-08-19 12:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503637760001,"66":27995,"95":206,"28":32256,"24":38,"16":385781573208768512,"44":-230879819522811904},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,28,24,16,44]} 
[2026-08-19 12:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503637760001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:44:35] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 12:44:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385781573208768512,"km_value":385781573208768.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:44:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-230879819522811904,"description":"Unknown IO ID 44"} 
[2026-08-19 12:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503637760001,"power":27995,"unknown_95":206,"unknown_28":32256,"ignition":38,"odometer":null,"unknown_44":-230879819522811904}} 
[2026-08-19 12:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":160107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:44:35] local.INFO: GPS data processed {"connection_id":160107,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:44:35] local.INFO: Acknowledgment sent {"connection_id":160107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:44:46] local.INFO: TCP Data received {"connection_id":157927,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ddbc60012d19ba0007206208002c00ab2b..."} 
[2026-08-19 12:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ddbc60012d19ba0007206208002c00ab2b..."} 
[2026-08-19 12:44:46] local.INFO: Processing buffer {"connection_id":157927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ddbc60012d19ba0007206208002c00ab2b..."} 
[2026-08-19 12:44:46] local.INFO: Packet analysis {"connection_id":157927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018dd"} 
[2026-08-19 12:44:46] local.INFO: Extracted packet for processing {"connection_id":157927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018dd"} 
[2026-08-19 12:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119562760,"longitude_deg":75.6660736,"latitude_deg":11.956276,"altitude":44,"angle":171,"satellites":43,"speed":32,"hex_longitude":"2d19ba00","hex_latitude":"07206208","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503635456001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13710557811048448,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852738696062593024,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44: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-08-19 12:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787123580000,"timestamp_ms":1787123580000,"timestamp_seconds":1787123580,"priority":1,"record_length":96,"hex_timestamp":"000001a018ddbc60"} 
[2026-08-19 12:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 12:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6980951390,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44:46] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503808820576256,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84752263234920612,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44:46] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3035693056,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44:46] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2459435057,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 12:44:46] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837671,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44:46] local.WARNING: Large IO value detected {"io_id":152,"raw_value":14074556943700736,"note":"Value kept but may cause issues"} 
[2026-08-19 12:44:46] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,181,160,145,45,128,132,48,42,10,66,133,141,43,129,64,1,240,32,4,113,205,106,184,88,40,239,55,2,7,50,22,206,152],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 12:44:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242763440206446592,"timestamp_seconds":3242763440206446.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 12:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503635456001,"66":14048,"121":206,"28":31744,"24":32,"16":13710557811048448,"45":1852738696062593024},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503635456001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:44:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:44:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13710557811048448,"km_value":13710557811048.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852738696062593024,"description":"Unknown IO ID 45"} 
[2026-08-19 12:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503635456001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1852738696062593024}} 
[2026-08-19 12:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":157927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:44:46] local.INFO: GPS data processed {"connection_id":157927,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:44:46] local.INFO: Acknowledgment sent {"connection_id":157927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:44:58] local.INFO: TCP Data received {"connection_id":158796,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:44:58] local.INFO: Processing buffer {"connection_id":158796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:44:58] local.INFO: IMEI packet received {"connection_id":158796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":158796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:44:59] local.INFO: TCP Data received {"connection_id":158796,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:44:59] local.INFO: Processing buffer {"connection_id":158796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:44:59] local.INFO: IMEI packet received {"connection_id":158796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":158796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:45:01] local.INFO: TCP Data received {"connection_id":158796,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:45:01] local.INFO: Processing buffer {"connection_id":158796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:45:01] local.INFO: IMEI packet received {"connection_id":158796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":158796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:45:05] local.INFO: TCP Data received {"connection_id":158796,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:45:05] local.INFO: Processing buffer {"connection_id":158796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:45:05] local.INFO: IMEI packet received {"connection_id":158796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":158796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:45:06] local.INFO: TCP Data received {"connection_id":158796,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018de1a20012cfc8ac00703a970000601292a..."} 
[2026-08-19 12:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018de1a20012cfc8ac00703a970000601292a..."} 
[2026-08-19 12:45:06] local.INFO: Processing buffer {"connection_id":158796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018de1a20012cfc8ac00703a970000601292a..."} 
[2026-08-19 12:45:06] local.INFO: Packet analysis {"connection_id":158796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018de"} 
[2026-08-19 12:45:06] local.INFO: Extracted packet for processing {"connection_id":158796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018de"} 
[2026-08-19 12:45:06] local.INFO: GPS Element Parsed {"raw_longitude":754748096,"raw_latitude":117680496,"longitude_deg":75.4748096,"latitude_deg":11.7680496,"altitude":6,"angle":297,"satellites":42,"speed":43,"hex_longitude":"2cfc8ac0","hex_latitude":"0703a970","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503640320001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385782019885367296,"note":"Value kept but may cause issues"} 
[2026-08-19 12:45:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-239957387520694272,"note":"Value kept but may cause issues"} 
[2026-08-19 12:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787123604000,"timestamp_ms":1787123604000,"timestamp_seconds":1787123604,"priority":1,"record_length":96,"hex_timestamp":"000001a018de1a20"} 
[2026-08-19 12:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:45: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-08-19 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 12:45:06] 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-08-19 12: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-08-19 12:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503640320001,"66":28137,"95":206,"28":32256,"24":43,"16":385782019885367296,"44":-239957387520694272},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,28,24,16,44]} 
[2026-08-19 12:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503640320001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:45:06] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 12:45:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385782019885367296,"km_value":385782019885367.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:45:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-239957387520694272,"description":"Unknown IO ID 44"} 
[2026-08-19 12:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503640320001,"power":28137,"unknown_95":206,"unknown_28":32256,"ignition":43,"odometer":null,"unknown_44":-239957387520694272}} 
[2026-08-19 12:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":158796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:45:06] local.INFO: GPS data processed {"connection_id":158796,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:45:06] local.INFO: Acknowledgment sent {"connection_id":158796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:45:09] local.INFO: TCP Data received {"connection_id":160108,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:45:09] local.INFO: Processing buffer {"connection_id":160108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:45:09] local.INFO: IMEI packet received {"connection_id":160108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":160108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:45:10] local.INFO: TCP Data received {"connection_id":160108,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:45:10] local.INFO: Processing buffer {"connection_id":160108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:45:10] local.INFO: IMEI packet received {"connection_id":160108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":160108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:45:14] local.INFO: TCP Data received {"connection_id":160108,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:45:14] local.INFO: Processing buffer {"connection_id":160108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:45:14] local.INFO: IMEI packet received {"connection_id":160108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":160108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:45:15] local.INFO: TCP Data received {"connection_id":160108,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018dde758012d19bdc007203d88002e00ab29..."} 
[2026-08-19 12:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018dde758012d19bdc007203d88002e00ab29..."} 
[2026-08-19 12:45:15] local.INFO: Processing buffer {"connection_id":160108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018dde758012d19bdc007203d88002e00ab29..."} 
[2026-08-19 12:45:15] local.INFO: Packet analysis {"connection_id":160108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018dd"} 
[2026-08-19 12:45:15] local.INFO: Extracted packet for processing {"connection_id":160108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018dd"} 
[2026-08-19 12:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756661696,"raw_latitude":119553416,"longitude_deg":75.6661696,"latitude_deg":11.9553416,"altitude":46,"angle":171,"satellites":41,"speed":33,"hex_longitude":"2d19bdc0","hex_latitude":"07203d88","is_valid_coordinates":true} 
[2026-08-19 12:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503636480001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13711013077581824,"note":"Value kept but may cause issues"} 
[2026-08-19 12:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227224446976,"note":"Value kept but may cause issues"} 
[2026-08-19 12:45: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-08-19 12:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787123591000,"timestamp_ms":1787123591000,"timestamp_seconds":1787123591,"priority":1,"record_length":96,"hex_timestamp":"000001a018dde758"} 
[2026-08-19 12:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:45: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-08-19 12:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 12:45:15] 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-08-19 12:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503636480001,"66":14048,"121":206,"28":31744,"24":33,"16":13711013077581824,"45":1853794227224446976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503636480001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:45:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:45:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13711013077581824,"km_value":13711013077581.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227224446976,"description":"Unknown IO ID 45"} 
[2026-08-19 12:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503636480001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1853794227224446976}} 
[2026-08-19 12:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":160108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:45:16] local.INFO: GPS data processed {"connection_id":160108,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:45:16] local.INFO: Acknowledgment sent {"connection_id":160108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:45:38] local.INFO: TCP Data received {"connection_id":158796,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018de3960012cfc6a000703ba00000601282b..."} 
[2026-08-19 12:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018de3960012cfc6a000703ba00000601282b..."} 
[2026-08-19 12:45:38] local.INFO: Processing buffer {"connection_id":158796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018de3960012cfc6a000703ba00000601282b..."} 
[2026-08-19 12:45:38] local.INFO: Packet analysis {"connection_id":158796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018de"} 
[2026-08-19 12:45:38] local.INFO: Extracted packet for processing {"connection_id":158796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018de"} 
[2026-08-19 12:45:38] local.INFO: GPS Element Parsed {"raw_longitude":754739712,"raw_latitude":117684736,"longitude_deg":75.4739712,"latitude_deg":11.7684736,"altitude":6,"angle":296,"satellites":43,"speed":47,"hex_longitude":"2cfc6a00","hex_latitude":"0703ba00","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503642624001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385782466561966080,"note":"Value kept but may cause issues"} 
[2026-08-19 12:45:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-249175693006901248,"note":"Value kept but may cause issues"} 
[2026-08-19 12:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787123612000,"timestamp_ms":1787123612000,"timestamp_seconds":1787123612,"priority":1,"record_length":96,"hex_timestamp":"000001a018de3960"} 
[2026-08-19 12:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-19 12:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503642624001,"66":27930,"95":206,"28":32256,"24":47,"16":385782466561966080,"44":-249175693006901248},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,28,24,16,44]} 
[2026-08-19 12:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503642624001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:45:38] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 12:45:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385782466561966080,"km_value":385782466561966.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:45:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-249175693006901248,"description":"Unknown IO ID 44"} 
[2026-08-19 12:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503642624001,"power":27930,"unknown_95":206,"unknown_28":32256,"ignition":47,"odometer":null,"unknown_44":-249175693006901248}} 
[2026-08-19 12:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":158796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:45:38] local.INFO: GPS data processed {"connection_id":158796,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:45:38] local.INFO: Acknowledgment sent {"connection_id":158796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:45:47] local.INFO: TCP Data received {"connection_id":160108,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018df8950012d19d4c007202630003700f02b..."} 
[2026-08-19 12:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018df8950012d19d4c007202630003700f02b..."} 
[2026-08-19 12:45:47] local.INFO: Processing buffer {"connection_id":160108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018df8950012d19d4c007202630003700f02b..."} 
[2026-08-19 12:45:47] local.INFO: Packet analysis {"connection_id":160108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018df"} 
[2026-08-19 12:45:47] local.INFO: Extracted packet for processing {"connection_id":160108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018df"} 
[2026-08-19 12:45:47] local.INFO: GPS Element Parsed {"raw_longitude":756667584,"raw_latitude":119547440,"longitude_deg":75.6667584,"latitude_deg":11.954744,"altitude":55,"angle":240,"satellites":43,"speed":13,"hex_longitude":"2d19d4c0","hex_latitude":"07202630","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503666432001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13711811941498880,"note":"Value kept but may cause issues"} 
[2026-08-19 12:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861605157824278528,"note":"Value kept but may cause issues"} 
[2026-08-19 12:45: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-08-19 12:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787123698000,"timestamp_ms":1787123698000,"timestamp_seconds":1787123698,"priority":1,"record_length":96,"hex_timestamp":"000001a018df8950"} 
[2026-08-19 12:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-19 12:45:47] 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-08-19 12: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-08-19 12:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503666432001,"66":14407,"121":206,"28":31744,"24":13,"16":13711811941498880,"45":1861605157824278528},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503666432001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:45:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:45:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13711811941498880,"km_value":13711811941498.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861605157824278528,"description":"Unknown IO ID 45"} 
[2026-08-19 12:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503666432001,"power":14407,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1861605157824278528}} 
[2026-08-19 12:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":160108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:45:47] local.INFO: GPS data processed {"connection_id":160108,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:45:47] local.INFO: Acknowledgment sent {"connection_id":160108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:45:59] local.INFO: TCP Data received {"connection_id":158797,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:45:59] local.INFO: Processing buffer {"connection_id":158797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:45:59] local.INFO: IMEI packet received {"connection_id":158797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":158797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:46:04] local.INFO: TCP Data received {"connection_id":158797,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:46:04] local.INFO: Processing buffer {"connection_id":158797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:46:04] local.INFO: IMEI packet received {"connection_id":158797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":158797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:46:05] local.INFO: TCP Data received {"connection_id":158797,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018df7d98012cfb80c007043ed8000f01422d..."} 
[2026-08-19 12:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018df7d98012cfb80c007043ed8000f01422d..."} 
[2026-08-19 12:46:05] local.INFO: Processing buffer {"connection_id":158797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018df7d98012cfb80c007043ed8000f01422d..."} 
[2026-08-19 12:46:05] local.INFO: Packet analysis {"connection_id":158797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018df"} 
[2026-08-19 12:46:05] local.INFO: Extracted packet for processing {"connection_id":158797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018df"} 
[2026-08-19 12:46:05] local.INFO: GPS Element Parsed {"raw_longitude":754680000,"raw_latitude":117718744,"longitude_deg":75.468,"latitude_deg":11.7718744,"altitude":15,"angle":322,"satellites":45,"speed":38,"hex_longitude":"2cfb80c0","hex_latitude":"07043ed8","is_valid_coordinates":true} 
[2026-08-19 12:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503663360001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385785889650900992,"note":"Value kept but may cause issues"} 
[2026-08-19 12:46:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-317644481083944960,"note":"Value kept but may cause issues"} 
[2026-08-19 12:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787123695000,"timestamp_ms":1787123695000,"timestamp_seconds":1787123695,"priority":1,"record_length":96,"hex_timestamp":"000001a018df7d98"} 
[2026-08-19 12:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:46: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-08-19 12:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 12:46: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-08-19 12:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503663360001,"66":27767,"9":206,"28":32256,"24":38,"16":385785889650900992,"44":-317644481083944960},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,28,24,16,44]} 
[2026-08-19 12:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503663360001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:46:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-19 12:46:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385785889650900992,"km_value":385785889650901.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:46:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-317644481083944960,"description":"Unknown IO ID 44"} 
[2026-08-19 12:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503663360001,"power":27767,"unknown_9":206,"unknown_28":32256,"ignition":38,"odometer":null,"unknown_44":-317644481083944960}} 
[2026-08-19 12:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":158797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:46:05] local.INFO: GPS data processed {"connection_id":158797,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:46:05] local.INFO: Acknowledgment sent {"connection_id":158797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:46:22] local.INFO: TCP Data received {"connection_id":160109,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:46:22] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:46:22] local.INFO: IMEI packet received {"connection_id":160109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":160109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:46:24] local.INFO: TCP Data received {"connection_id":160109,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:46:24] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:46:24] local.INFO: IMEI packet received {"connection_id":160109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":160109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:46:24] local.INFO: TCP Data received {"connection_id":160109,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:46:24] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:46:24] local.INFO: IMEI packet received {"connection_id":160109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":160109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:46:26] local.INFO: TCP Data received {"connection_id":160109,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:46:26] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:46:26] local.INFO: IMEI packet received {"connection_id":160109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":160109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:46:27] local.INFO: TCP Data received {"connection_id":160109,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e00e20012d19dd00072005d0003300da2d..."} 
[2026-08-19 12:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e00e20012d19dd00072005d0003300da2d..."} 
[2026-08-19 12:46:27] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e00e20012d19dd00072005d0003300da2d..."} 
[2026-08-19 12:46:27] local.INFO: Packet analysis {"connection_id":160109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:46:27] local.INFO: Extracted packet for processing {"connection_id":160109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:46:27] local.INFO: GPS Element Parsed {"raw_longitude":756669696,"raw_latitude":119539152,"longitude_deg":75.6669696,"latitude_deg":11.9539152,"altitude":51,"angle":218,"satellites":45,"speed":16,"hex_longitude":"2d19dd00","hex_latitude":"072005d0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 12:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503674880001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13712365992280064,"note":"Value kept but may cause issues"} 
[2026-08-19 12:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864068063868518400,"note":"Value kept but may cause issues"} 
[2026-08-19 12:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787123732000,"timestamp_ms":1787123732000,"timestamp_seconds":1787123732,"priority":1,"record_length":96,"hex_timestamp":"000001a018e00e20"} 
[2026-08-19 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-08-19 12:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 12:46: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-08-19 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-08-19 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-08-19 12:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503674880001,"66":14515,"121":206,"28":31744,"24":16,"16":13712365992280064,"45":1864068063868518400},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503674880001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:46:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:46:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13712365992280064,"km_value":13712365992280.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864068063868518400,"description":"Unknown IO ID 45"} 
[2026-08-19 12:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503674880001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1864068063868518400}} 
[2026-08-19 12:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":160109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:46:27] local.INFO: GPS data processed {"connection_id":160109,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:46:27] local.INFO: Acknowledgment sent {"connection_id":160109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:46:28] local.INFO: TCP Data received {"connection_id":160109,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e02590012d19d5c0071ffdb8003400e92d..."} 
[2026-08-19 12:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e02590012d19d5c0071ffdb8003400e92d..."} 
[2026-08-19 12:46:28] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e02590012d19d5c0071ffdb8003400e92d..."} 
[2026-08-19 12:46:28] local.INFO: Packet analysis {"connection_id":160109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:46:28] local.INFO: Extracted packet for processing {"connection_id":160109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756667840,"raw_latitude":119537080,"longitude_deg":75.666784,"latitude_deg":11.953708,"altitude":52,"angle":233,"satellites":45,"speed":20,"hex_longitude":"2d19d5c0","hex_latitude":"071ffdb8","is_valid_coordinates":true} 
[2026-08-19 12:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503675392001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13712499136266240,"note":"Value kept but may cause issues"} 
[2026-08-19 12:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863645851403276288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787123738000,"timestamp_ms":1787123738000,"timestamp_seconds":1787123738,"priority":1,"record_length":96,"hex_timestamp":"000001a018e02590"} 
[2026-08-19 12:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 12:46:28] 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-08-19 12:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503675392001,"66":14363,"121":206,"28":31744,"24":20,"16":13712499136266240,"45":1863645851403276288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503675392001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:46:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:46:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13712499136266240,"km_value":13712499136266.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863645851403276288,"description":"Unknown IO ID 45"} 
[2026-08-19 12:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503675392001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1863645851403276288}} 
[2026-08-19 12:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":160109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:46:28] local.INFO: GPS data processed {"connection_id":160109,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:46:28] local.INFO: Acknowledgment sent {"connection_id":160109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:46:36] local.INFO: TCP Data received {"connection_id":158797,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018dfa4a8012cfb6b8007045d20000f014627..."} 
[2026-08-19 12:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018dfa4a8012cfb6b8007045d20000f014627..."} 
[2026-08-19 12:46:36] local.INFO: Processing buffer {"connection_id":158797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018dfa4a8012cfb6b8007045d20000f014627..."} 
[2026-08-19 12:46:36] local.INFO: Packet analysis {"connection_id":158797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018df"} 
[2026-08-19 12:46:36] local.INFO: Extracted packet for processing {"connection_id":158797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018df"} 
[2026-08-19 12:46:36] local.INFO: GPS Element Parsed {"raw_longitude":754674560,"raw_latitude":117726496,"longitude_deg":75.467456,"latitude_deg":11.7726496,"altitude":15,"angle":326,"satellites":39,"speed":37,"hex_longitude":"2cfb6b80","hex_latitude":"07045d20","is_valid_coordinates":true} 
[2026-08-19 12:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503665920001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385786344917434368,"note":"Value kept but may cause issues"} 
[2026-08-19 12:46:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-324048036802144256,"note":"Value kept but may cause issues"} 
[2026-08-19 12:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787123705000,"timestamp_ms":1787123705000,"timestamp_seconds":1787123705,"priority":1,"record_length":96,"hex_timestamp":"000001a018dfa4a8"} 
[2026-08-19 12:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 12:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503665920001,"66":27876,"9":206,"28":32256,"24":37,"16":385786344917434368,"44":-324048036802144256},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,28,24,16,44]} 
[2026-08-19 12:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503665920001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:46:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-19 12:46:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385786344917434368,"km_value":385786344917434.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:46:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-324048036802144256,"description":"Unknown IO ID 44"} 
[2026-08-19 12:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503665920001,"power":27876,"unknown_9":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_44":-324048036802144256}} 
[2026-08-19 12:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":158797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:46:36] local.INFO: GPS data processed {"connection_id":158797,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:46:36] local.INFO: Acknowledgment sent {"connection_id":158797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:46:59] local.INFO: TCP Data received {"connection_id":157928,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:46:59] local.INFO: Processing buffer {"connection_id":157928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:46:59] local.INFO: IMEI packet received {"connection_id":157928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":157928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:47:01] local.INFO: TCP Data received {"connection_id":157928,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:47:01] local.INFO: Processing buffer {"connection_id":157928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:47:01] local.INFO: IMEI packet received {"connection_id":157928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":157928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:47:05] local.INFO: TCP Data received {"connection_id":157928,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:47:05] local.INFO: Processing buffer {"connection_id":157928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:47:05] local.INFO: IMEI packet received {"connection_id":157928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":157928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:47:06] local.INFO: TCP Data received {"connection_id":157928,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018dfcbb8012cfb594007047ea0000e014d28..."} 
[2026-08-19 12:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018dfcbb8012cfb594007047ea0000e014d28..."} 
[2026-08-19 12:47:06] local.INFO: Processing buffer {"connection_id":157928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018dfcbb8012cfb594007047ea0000e014d28..."} 
[2026-08-19 12:47:06] local.INFO: Packet analysis {"connection_id":157928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018df"} 
[2026-08-19 12:47:06] local.INFO: Extracted packet for processing {"connection_id":157928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018df"} 
[2026-08-19 12:47:06] local.INFO: GPS Element Parsed {"raw_longitude":754669888,"raw_latitude":117735072,"longitude_deg":75.4669888,"latitude_deg":11.7735072,"altitude":14,"angle":333,"satellites":40,"speed":40,"hex_longitude":"2cfb5940","hex_latitude":"07047ea0","is_valid_coordinates":true} 
[2026-08-19 12:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503668480001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385786817363836928,"note":"Value kept but may cause issues"} 
[2026-08-19 12:47:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-330029380055261184,"note":"Value kept but may cause issues"} 
[2026-08-19 12:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787123715000,"timestamp_ms":1787123715000,"timestamp_seconds":1787123715,"priority":1,"record_length":96,"hex_timestamp":"000001a018dfcbb8"} 
[2026-08-19 12:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:47: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-08-19 12:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 12:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503668480001,"66":27865,"8":206,"28":32256,"24":40,"16":385786817363836928,"44":-330029380055261184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,28,24,16,44]} 
[2026-08-19 12:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503668480001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:47:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 12:47:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385786817363836928,"km_value":385786817363836.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:47:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-330029380055261184,"description":"Unknown IO ID 44"} 
[2026-08-19 12:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503668480001,"power":27865,"unknown_8":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_44":-330029380055261184}} 
[2026-08-19 12:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":157928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:47:06] local.INFO: GPS data processed {"connection_id":157928,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:47:06] local.INFO: Acknowledgment sent {"connection_id":157928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:47:08] local.INFO: TCP Data received {"connection_id":158798,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:47:08] local.INFO: Processing buffer {"connection_id":158798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:47:08] local.INFO: IMEI packet received {"connection_id":158798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":158798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:47:09] local.INFO: TCP Data received {"connection_id":158798,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:47:09] local.INFO: Processing buffer {"connection_id":158798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:47:09] local.INFO: IMEI packet received {"connection_id":158798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":158798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:47:09] local.INFO: TCP Data received {"connection_id":158798,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:47:09] local.INFO: Processing buffer {"connection_id":158798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:47:09] local.INFO: IMEI packet received {"connection_id":158798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":158798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:47:14] local.INFO: TCP Data received {"connection_id":158798,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:47:14] local.INFO: Processing buffer {"connection_id":158798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:47:14] local.INFO: IMEI packet received {"connection_id":158798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":158798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:47:15] local.INFO: TCP Data received {"connection_id":158798,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e09ac0012d19a180071ff090003900fe27..."} 
[2026-08-19 12:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e09ac0012d19a180071ff090003900fe27..."} 
[2026-08-19 12:47:15] local.INFO: Processing buffer {"connection_id":158798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e09ac0012d19a180071ff090003900fe27..."} 
[2026-08-19 12:47:15] local.INFO: Packet analysis {"connection_id":158798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:47:15] local.INFO: Extracted packet for processing {"connection_id":158798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756654464,"raw_latitude":119533712,"longitude_deg":75.6654464,"latitude_deg":11.9533712,"altitude":57,"angle":254,"satellites":39,"speed":14,"hex_longitude":"2d19a180","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503684352001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713216395804672,"note":"Value kept but may cause issues"} 
[2026-08-19 12:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847249934008516608,"note":"Value kept but may cause issues"} 
[2026-08-19 12:47: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-08-19 12:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787123768000,"timestamp_ms":1787123768000,"timestamp_seconds":1787123768,"priority":1,"record_length":96,"hex_timestamp":"000001a018e09ac0"} 
[2026-08-19 12:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:47:15] 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-08-19 12: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 12:47: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-08-19 12: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-08-19 12:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503684352001,"66":13276,"121":206,"28":31744,"24":14,"16":13713216395804672,"45":1847249934008516608},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503684352001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:47:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:47:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713216395804672,"km_value":13713216395804.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847249934008516608,"description":"Unknown IO ID 45"} 
[2026-08-19 12:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503684352001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1847249934008516608}} 
[2026-08-19 12:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":158798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:47:15] local.INFO: GPS data processed {"connection_id":158798,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:47:15] local.INFO: Acknowledgment sent {"connection_id":158798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:47:38] local.INFO: TCP Data received {"connection_id":157928,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e12b48012cfa5240070561d0000b01202a..."} 
[2026-08-19 12:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e12b48012cfa5240070561d0000b01202a..."} 
[2026-08-19 12:47:38] local.INFO: Processing buffer {"connection_id":157928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e12b48012cfa5240070561d0000b01202a..."} 
[2026-08-19 12:47:38] local.INFO: Packet analysis {"connection_id":157928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e1"} 
[2026-08-19 12:47:38] local.INFO: Extracted packet for processing {"connection_id":157928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e1"} 
[2026-08-19 12:47:38] local.INFO: GPS Element Parsed {"raw_longitude":754602560,"raw_latitude":117793232,"longitude_deg":75.460256,"latitude_deg":11.7793232,"altitude":11,"angle":288,"satellites":42,"speed":46,"hex_longitude":"2cfa5240","hex_latitude":"070561d0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503691776001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385791249770086400,"note":"Value kept but may cause issues"} 
[2026-08-19 12:47:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-398568536868024320,"note":"Value kept but may cause issues"} 
[2026-08-19 12:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787123805000,"timestamp_ms":1787123805000,"timestamp_seconds":1787123805,"priority":1,"record_length":96,"hex_timestamp":"000001a018e12b48"} 
[2026-08-19 12:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 12:47:38] 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-08-19 12: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-08-19 12:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503691776001,"66":27908,"11":206,"28":32256,"24":46,"16":385791249770086400,"44":-398568536868024320},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-08-19 12:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503691776001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:47:38] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 12:47:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385791249770086400,"km_value":385791249770086.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:47:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-398568536868024320,"description":"Unknown IO ID 44"} 
[2026-08-19 12:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503691776001,"power":27908,"unknown_11":206,"unknown_28":32256,"ignition":46,"odometer":null,"unknown_44":-398568536868024320}} 
[2026-08-19 12:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":157928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:47:38] local.INFO: GPS data processed {"connection_id":157928,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:47:38] local.INFO: Acknowledgment sent {"connection_id":157928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:47:47] local.INFO: TCP Data received {"connection_id":158798,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e09ea8012d19a000071ff0680039010c26..."} 
[2026-08-19 12:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e09ea8012d19a000071ff0680039010c26..."} 
[2026-08-19 12:47:47] local.INFO: Processing buffer {"connection_id":158798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e09ea8012d19a000071ff0680039010c26..."} 
[2026-08-19 12:47:47] local.INFO: Packet analysis {"connection_id":158798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:47:47] local.INFO: Extracted packet for processing {"connection_id":158798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:47:47] local.INFO: GPS Element Parsed {"raw_longitude":756654080,"raw_latitude":119533672,"longitude_deg":75.665408,"latitude_deg":11.9533672,"altitude":57,"angle":268,"satellites":38,"speed":16,"hex_longitude":"2d19a000","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503684608001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713233575673856,"note":"Value kept but may cause issues"} 
[2026-08-19 12:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846898090287599616,"note":"Value kept but may cause issues"} 
[2026-08-19 12:47: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-08-19 12:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787123769000,"timestamp_ms":1787123769000,"timestamp_seconds":1787123769,"priority":1,"record_length":96,"hex_timestamp":"000001a018e09ea8"} 
[2026-08-19 12:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-19 12:47:47] 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-08-19 12: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-08-19 12:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503684608001,"66":13276,"121":206,"28":31744,"24":16,"16":13713233575673856,"45":1846898090287599616},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503684608001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:47:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:47:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713233575673856,"km_value":13713233575673.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846898090287599616,"description":"Unknown IO ID 45"} 
[2026-08-19 12:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503684608001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1846898090287599616}} 
[2026-08-19 12:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":158798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:47:47] local.INFO: GPS data processed {"connection_id":158798,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:47:47] local.INFO: Acknowledgment sent {"connection_id":158798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:48:04] local.INFO: TCP Data received {"connection_id":157929,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:48:04] local.INFO: Processing buffer {"connection_id":157929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:48:04] local.INFO: IMEI packet received {"connection_id":157929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":157929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:48:04] local.INFO: TCP Data received {"connection_id":157929,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:48:04] local.INFO: Processing buffer {"connection_id":157929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:48:04] local.INFO: IMEI packet received {"connection_id":157929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":157929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:48:08] local.INFO: TCP Data received {"connection_id":160110,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:48:08] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:48:08] local.INFO: IMEI packet received {"connection_id":160110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":160110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:48:09] local.INFO: TCP Data received {"connection_id":157929,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:48:09] local.INFO: Processing buffer {"connection_id":157929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:48:09] local.INFO: IMEI packet received {"connection_id":157929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":157929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:48:11] local.INFO: TCP Data received {"connection_id":157929,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e14a88012cfa2fc007056e88000a012b2a..."} 
[2026-08-19 12:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e14a88012cfa2fc007056e88000a012b2a..."} 
[2026-08-19 12:48:11] local.INFO: Processing buffer {"connection_id":157929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e14a88012cfa2fc007056e88000a012b2a..."} 
[2026-08-19 12:48:11] local.INFO: Packet analysis {"connection_id":157929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e1"} 
[2026-08-19 12:48:11] local.INFO: Extracted packet for processing {"connection_id":157929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e1"} 
[2026-08-19 12:48:11] local.INFO: GPS Element Parsed {"raw_longitude":754593728,"raw_latitude":117796488,"longitude_deg":75.4593728,"latitude_deg":11.7796488,"altitude":10,"angle":299,"satellites":42,"speed":44,"hex_longitude":"2cfa2fc0","hex_latitude":"07056e88","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503694080001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385791700741652480,"note":"Value kept but may cause issues"} 
[2026-08-19 12:48:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-409194217238048768,"note":"Value kept but may cause issues"} 
[2026-08-19 12:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787123813000,"timestamp_ms":1787123813000,"timestamp_seconds":1787123813,"priority":1,"record_length":96,"hex_timestamp":"000001a018e14a88"} 
[2026-08-19 12:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503694080001,"66":27767,"11":206,"28":32256,"24":44,"16":385791700741652480,"44":-409194217238048768},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-08-19 12:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503694080001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:48:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 12:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385791700741652480,"km_value":385791700741652.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:48:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-409194217238048768,"description":"Unknown IO ID 44"} 
[2026-08-19 12:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503694080001,"power":27767,"unknown_11":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_44":-409194217238048768}} 
[2026-08-19 12:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":157929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:48:11] local.INFO: GPS data processed {"connection_id":157929,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:48:11] local.INFO: Acknowledgment sent {"connection_id":157929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:48:14] local.INFO: TCP Data received {"connection_id":160110,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:48:14] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:48:14] local.INFO: IMEI packet received {"connection_id":160110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":160110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:48:15] local.INFO: TCP Data received {"connection_id":160110,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e0b230012d1997c0071ff0c0003b011828..."} 
[2026-08-19 12:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e0b230012d1997c0071ff0c0003b011828..."} 
[2026-08-19 12:48:15] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e0b230012d1997c0071ff0c0003b011828..."} 
[2026-08-19 12:48:15] local.INFO: Packet analysis {"connection_id":160110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:48:15] local.INFO: Extracted packet for processing {"connection_id":160110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:48:15] local.INFO: GPS Element Parsed {"raw_longitude":756651968,"raw_latitude":119533760,"longitude_deg":75.6651968,"latitude_deg":11.953376,"altitude":59,"angle":280,"satellites":40,"speed":15,"hex_longitude":"2d1997c0","hex_latitude":"071ff0c0","is_valid_coordinates":true} 
[2026-08-19 12:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503684864001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713332359921664,"note":"Value kept but may cause issues"} 
[2026-08-19 12:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846475877822523392,"note":"Value kept but may cause issues"} 
[2026-08-19 12:48: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-08-19 12:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787123774000,"timestamp_ms":1787123774000,"timestamp_seconds":1787123774,"priority":1,"record_length":96,"hex_timestamp":"000001a018e0b230"} 
[2026-08-19 12:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:48:15] 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-08-19 12:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-19 12:48:15] 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-08-19 12:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503684864001,"66":13167,"121":206,"28":31744,"24":15,"16":13713332359921664,"45":1846475877822523392},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503684864001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:48:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:48:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713332359921664,"km_value":13713332359921.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846475877822523392,"description":"Unknown IO ID 45"} 
[2026-08-19 12:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503684864001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1846475877822523392}} 
[2026-08-19 12:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":160110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:48:15] local.INFO: GPS data processed {"connection_id":160110,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:48:15] local.INFO: Acknowledgment sent {"connection_id":160110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:48:42] local.INFO: TCP Data received {"connection_id":157929,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e15e10012cfa1f0007057a68000a01372a..."} 
[2026-08-19 12:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e15e10012cfa1f0007057a68000a01372a..."} 
[2026-08-19 12:48:42] local.INFO: Processing buffer {"connection_id":157929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e15e10012cfa1f0007057a68000a01372a..."} 
[2026-08-19 12:48:42] local.INFO: Packet analysis {"connection_id":157929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e1"} 
[2026-08-19 12:48:42] local.INFO: Extracted packet for processing {"connection_id":157929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e1"} 
[2026-08-19 12:48:42] local.INFO: GPS Element Parsed {"raw_longitude":754589440,"raw_latitude":117799528,"longitude_deg":75.458944,"latitude_deg":11.7799528,"altitude":10,"angle":311,"satellites":42,"speed":40,"hex_longitude":"2cfa1f00","hex_latitude":"07057a68","is_valid_coordinates":true} 
[2026-08-19 12:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503696128001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385791949849755648,"note":"Value kept but may cause issues"} 
[2026-08-19 12:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-418905103933732864,"note":"Value kept but may cause issues"} 
[2026-08-19 12:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787123818000,"timestamp_ms":1787123818000,"timestamp_seconds":1787123818,"priority":1,"record_length":96,"hex_timestamp":"000001a018e15e10"} 
[2026-08-19 12:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:48: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-08-19 12:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 12:48:42] 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-08-19 12:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503696128001,"66":27571,"11":206,"28":32256,"24":40,"16":385791949849755648,"44":-418905103933732864},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-08-19 12:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503696128001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:48:42] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 12:48:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385791949849755648,"km_value":385791949849755.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-418905103933732864,"description":"Unknown IO ID 44"} 
[2026-08-19 12:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503696128001,"power":27571,"unknown_11":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_44":-418905103933732864}} 
[2026-08-19 12:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":157929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:48:42] local.INFO: GPS data processed {"connection_id":157929,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:48:42] local.INFO: Acknowledgment sent {"connection_id":157929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:48:46] local.INFO: TCP Data received {"connection_id":160110,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e0cd88012d198e40071ff100003f010c2c..."} 
[2026-08-19 12:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e0cd88012d198e40071ff100003f010c2c..."} 
[2026-08-19 12:48:46] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e0cd88012d198e40071ff100003f010c2c..."} 
[2026-08-19 12:48:46] local.INFO: Packet analysis {"connection_id":160110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:48:46] local.INFO: Extracted packet for processing {"connection_id":160110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756649536,"raw_latitude":119533824,"longitude_deg":75.6649536,"latitude_deg":11.9533824,"altitude":63,"angle":268,"satellites":44,"speed":16,"hex_longitude":"2d198e40","hex_latitude":"071ff100","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503686144001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713448324038656,"note":"Value kept but may cause issues"} 
[2026-08-19 12:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844153709264683008,"note":"Value kept but may cause issues"} 
[2026-08-19 12:48: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-08-19 12:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787123781000,"timestamp_ms":1787123781000,"timestamp_seconds":1787123781,"priority":1,"record_length":96,"hex_timestamp":"000001a018e0cd88"} 
[2026-08-19 12:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:48: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-08-19 12:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-19 12:48:46] 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-08-19 12: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-08-19 12:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503686144001,"66":13254,"121":206,"28":31744,"24":16,"16":13713448324038656,"45":1844153709264683008},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503686144001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:48:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:48:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713448324038656,"km_value":13713448324038.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844153709264683008,"description":"Unknown IO ID 45"} 
[2026-08-19 12:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503686144001,"power":13254,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1844153709264683008}} 
[2026-08-19 12:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":160110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:48:47] local.INFO: GPS data processed {"connection_id":160110,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:48:47] local.INFO: Acknowledgment sent {"connection_id":160110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:48:59] local.INFO: TCP Data received {"connection_id":157554,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:48:59] local.INFO: Processing buffer {"connection_id":157554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:48:59] local.INFO: IMEI packet received {"connection_id":157554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":157554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:49:05] local.INFO: TCP Data received {"connection_id":157554,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:49:05] local.INFO: Processing buffer {"connection_id":157554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:49:05] local.INFO: IMEI packet received {"connection_id":157554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":157554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:49:06] local.INFO: TCP Data received {"connection_id":157554,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e17198012cfa110007058a00000a01432b..."} 
[2026-08-19 12:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e17198012cfa110007058a00000a01432b..."} 
[2026-08-19 12:49:06] local.INFO: Processing buffer {"connection_id":157554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e17198012cfa110007058a00000a01432b..."} 
[2026-08-19 12:49:06] local.INFO: Packet analysis {"connection_id":157554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e1"} 
[2026-08-19 12:49:06] local.INFO: Extracted packet for processing {"connection_id":157554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e1"} 
[2026-08-19 12:49:06] local.INFO: GPS Element Parsed {"raw_longitude":754585856,"raw_latitude":117803520,"longitude_deg":75.4585856,"latitude_deg":11.780352,"altitude":10,"angle":323,"satellites":43,"speed":44,"hex_longitude":"2cfa1100","hex_latitude":"07058a00","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503697408001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385792211842760704,"note":"Value kept but may cause issues"} 
[2026-08-19 12:49:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-423619809792858112,"note":"Value kept but may cause issues"} 
[2026-08-19 12:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787123823000,"timestamp_ms":1787123823000,"timestamp_seconds":1787123823,"priority":1,"record_length":96,"hex_timestamp":"000001a018e17198"} 
[2026-08-19 12:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 12:49:06] 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-08-19 12: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-08-19 12:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503697408001,"66":27800,"11":206,"28":32256,"24":44,"16":385792211842760704,"44":-423619809792858112},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-08-19 12:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503697408001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:49:06] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 12:49:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385792211842760704,"km_value":385792211842760.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:49:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-423619809792858112,"description":"Unknown IO ID 44"} 
[2026-08-19 12:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503697408001,"power":27800,"unknown_11":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_44":-423619809792858112}} 
[2026-08-19 12:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":157554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:49:06] local.INFO: GPS data processed {"connection_id":157554,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:49:06] local.INFO: Acknowledgment sent {"connection_id":157554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:49:08] local.INFO: TCP Data received {"connection_id":160111,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:49:08] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:49:08] local.INFO: IMEI packet received {"connection_id":160111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":160111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:49:14] local.INFO: TCP Data received {"connection_id":160111,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:49:14] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:49:14] local.INFO: IMEI packet received {"connection_id":160111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":160111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:49:15] local.INFO: TCP Data received {"connection_id":160111,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e0dd28012d198680071ff090004000fe2a..."} 
[2026-08-19 12:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e0dd28012d198680071ff090004000fe2a..."} 
[2026-08-19 12:49:15] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e0dd28012d198680071ff090004000fe2a..."} 
[2026-08-19 12:49:15] local.INFO: Packet analysis {"connection_id":160111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:49:15] local.INFO: Extracted packet for processing {"connection_id":160111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756647552,"raw_latitude":119533712,"longitude_deg":75.6647552,"latitude_deg":11.9533712,"altitude":64,"angle":254,"satellites":42,"speed":19,"hex_longitude":"2d198680","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-19 12:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503687936001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713542813319168,"note":"Value kept but may cause issues"} 
[2026-08-19 12:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841479696985948160,"note":"Value kept but may cause issues"} 
[2026-08-19 12:49: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-08-19 12:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787123785000,"timestamp_ms":1787123785000,"timestamp_seconds":1787123785,"priority":1,"record_length":96,"hex_timestamp":"000001a018e0dd28"} 
[2026-08-19 12:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:49:15] 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-08-19 12:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-19 12:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503687936001,"66":13167,"121":206,"28":31744,"24":19,"16":13713542813319168,"45":1841479696985948160},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503687936001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:49:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:49:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713542813319168,"km_value":13713542813319.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841479696985948160,"description":"Unknown IO ID 45"} 
[2026-08-19 12:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503687936001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1841479696985948160}} 
[2026-08-19 12:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":160111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:49:15] local.INFO: GPS data processed {"connection_id":160111,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:49:15] local.INFO: Acknowledgment sent {"connection_id":160111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:49:38] local.INFO: TCP Data received {"connection_id":157554,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e2f068012cf997400706a8a8000601542a..."} 
[2026-08-19 12:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e2f068012cf997400706a8a8000601542a..."} 
[2026-08-19 12:49:38] local.INFO: Processing buffer {"connection_id":157554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e2f068012cf997400706a8a8000601542a..."} 
[2026-08-19 12:49:38] local.INFO: Packet analysis {"connection_id":157554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e2"} 
[2026-08-19 12:49:38] local.INFO: Extracted packet for processing {"connection_id":157554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e2"} 
[2026-08-19 12:49:38] local.INFO: GPS Element Parsed {"raw_longitude":754554688,"raw_latitude":117876904,"longitude_deg":75.4554688,"latitude_deg":11.7876904,"altitude":6,"angle":340,"satellites":42,"speed":61,"hex_longitude":"2cf99740","hex_latitude":"0706a8a8","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503721984001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385796146032803840,"note":"Value kept but may cause issues"} 
[2026-08-19 12:49:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-458311600655112192,"note":"Value kept but may cause issues"} 
[2026-08-19 12:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787123921000,"timestamp_ms":1787123921000,"timestamp_seconds":1787123921,"priority":1,"record_length":96,"hex_timestamp":"000001a018e2f068"} 
[2026-08-19 12:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 12:49:38] 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-08-19 12: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-08-19 12:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503721984001,"66":27930,"165":206,"28":32256,"24":61,"16":385796146032803840,"44":-458311600655112192},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-19 12:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503721984001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:49:38] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 12:49:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385796146032803840,"km_value":385796146032803.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:49:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-458311600655112192,"description":"Unknown IO ID 44"} 
[2026-08-19 12:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503721984001,"power":27930,"unknown_165":206,"unknown_28":32256,"ignition":61,"odometer":null,"unknown_44":-458311600655112192}} 
[2026-08-19 12:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":157554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:49:38] local.INFO: GPS data processed {"connection_id":157554,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:49:38] local.INFO: Acknowledgment sent {"connection_id":157554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:49:47] local.INFO: TCP Data received {"connection_id":160111,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e0e4f8012d198300071feed8004000e72a..."} 
[2026-08-19 12:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e0e4f8012d198300071feed8004000e72a..."} 
[2026-08-19 12:49:47] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e0e4f8012d198300071feed8004000e72a..."} 
[2026-08-19 12:49:47] local.INFO: Packet analysis {"connection_id":160111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:49:47] local.INFO: Extracted packet for processing {"connection_id":160111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:49:47] local.INFO: GPS Element Parsed {"raw_longitude":756646656,"raw_latitude":119533272,"longitude_deg":75.6646656,"latitude_deg":11.9533272,"altitude":64,"angle":231,"satellites":42,"speed":20,"hex_longitude":"2d198300","hex_latitude":"071feed8","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503688960001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713594352926720,"note":"Value kept but may cause issues"} 
[2026-08-19 12:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839298265916411904,"note":"Value kept but may cause issues"} 
[2026-08-19 12:49: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-08-19 12:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787123787000,"timestamp_ms":1787123787000,"timestamp_seconds":1787123787,"priority":1,"record_length":96,"hex_timestamp":"000001a018e0e4f8"} 
[2026-08-19 12:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-19 12:49:47] 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-08-19 12: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-08-19 12:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503688960001,"66":13222,"121":206,"28":31744,"24":20,"16":13713594352926720,"45":1839298265916411904},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503688960001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:49:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:49:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713594352926720,"km_value":13713594352926.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839298265916411904,"description":"Unknown IO ID 45"} 
[2026-08-19 12:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503688960001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1839298265916411904}} 
[2026-08-19 12:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":160111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:49:47] local.INFO: GPS data processed {"connection_id":160111,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:49:47] local.INFO: Acknowledgment sent {"connection_id":160111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:49:57] local.INFO: TCP Data received {"connection_id":158799,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:49:57] local.INFO: Processing buffer {"connection_id":158799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:49:57] local.INFO: IMEI packet received {"connection_id":158799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":158799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:49:59] local.INFO: TCP Data received {"connection_id":158799,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:49:59] local.INFO: Processing buffer {"connection_id":158799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:49:59] local.INFO: IMEI packet received {"connection_id":158799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":158799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:50:00] local.INFO: TCP Data received {"connection_id":158799,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:50:00] local.INFO: Processing buffer {"connection_id":158799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:50:00] local.INFO: IMEI packet received {"connection_id":158799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":158799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:50:04] local.INFO: TCP Data received {"connection_id":158799,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:50:04] local.INFO: Processing buffer {"connection_id":158799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:50:04] local.INFO: IMEI packet received {"connection_id":158799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":158799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:50:06] local.INFO: TCP Data received {"connection_id":158799,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e307d8012cf98d400706ca800005015a28..."} 
[2026-08-19 12:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e307d8012cf98d400706ca800005015a28..."} 
[2026-08-19 12:50:06] local.INFO: Processing buffer {"connection_id":158799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e307d8012cf98d400706ca800005015a28..."} 
[2026-08-19 12:50:06] local.INFO: Packet analysis {"connection_id":158799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e3"} 
[2026-08-19 12:50:06] local.INFO: Extracted packet for processing {"connection_id":158799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e3"} 
[2026-08-19 12:50:06] local.INFO: GPS Element Parsed {"raw_longitude":754552128,"raw_latitude":117885568,"longitude_deg":75.4552128,"latitude_deg":11.7885568,"altitude":5,"angle":346,"satellites":40,"speed":57,"hex_longitude":"2cf98d40","hex_latitude":"0706ca80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 12:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503723776001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385796584119468032,"note":"Value kept but may cause issues"} 
[2026-08-19 12:50:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-461830037861521408,"note":"Value kept but may cause issues"} 
[2026-08-19 12:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787123927000,"timestamp_ms":1787123927000,"timestamp_seconds":1787123927,"priority":1,"record_length":96,"hex_timestamp":"000001a018e307d8"} 
[2026-08-19 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-08-19 12:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 12:50:06] 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-08-19 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-08-19 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-08-19 12:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503723776001,"66":27930,"165":206,"28":32256,"24":57,"16":385796584119468032,"44":-461830037861521408},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-19 12:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503723776001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:50:06] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 12:50:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385796584119468032,"km_value":385796584119468.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:50:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-461830037861521408,"description":"Unknown IO ID 44"} 
[2026-08-19 12:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503723776001,"power":27930,"unknown_165":206,"unknown_28":32256,"ignition":57,"odometer":null,"unknown_44":-461830037861521408}} 
[2026-08-19 12:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":158799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:50:06] local.INFO: GPS data processed {"connection_id":158799,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:50:06] local.INFO: Acknowledgment sent {"connection_id":158799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:50:09] local.INFO: TCP Data received {"connection_id":158800,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:50:09] local.INFO: Processing buffer {"connection_id":158800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:50:09] local.INFO: IMEI packet received {"connection_id":158800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":158800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:50:14] local.INFO: TCP Data received {"connection_id":158800,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:50:14] local.INFO: Processing buffer {"connection_id":158800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:50:14] local.INFO: IMEI packet received {"connection_id":158800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":158800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:50:15] local.INFO: TCP Data received {"connection_id":158800,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e0f0b0012d197e00071fec00003f00ff2b..."} 
[2026-08-19 12:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e0f0b0012d197e00071fec00003f00ff2b..."} 
[2026-08-19 12:50:15] local.INFO: Processing buffer {"connection_id":158800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e0f0b0012d197e00071fec00003f00ff2b..."} 
[2026-08-19 12:50:15] local.INFO: Packet analysis {"connection_id":158800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:50:15] local.INFO: Extracted packet for processing {"connection_id":158800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756645376,"raw_latitude":119532544,"longitude_deg":75.6645376,"latitude_deg":11.9532544,"altitude":63,"angle":255,"satellites":43,"speed":18,"hex_longitude":"2d197e00","hex_latitude":"071fec00","is_valid_coordinates":true} 
[2026-08-19 12:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503689472001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713663072403456,"note":"Value kept but may cause issues"} 
[2026-08-19 12:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838313103497811968,"note":"Value kept but may cause issues"} 
[2026-08-19 12:50: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-08-19 12:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787123790000,"timestamp_ms":1787123790000,"timestamp_seconds":1787123790,"priority":1,"record_length":96,"hex_timestamp":"000001a018e0f0b0"} 
[2026-08-19 12:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:50:15] 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-08-19 12:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 12:50: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-08-19 12:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503689472001,"66":13135,"121":206,"28":31744,"24":18,"16":13713663072403456,"45":1838313103497811968},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503689472001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:50:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:50:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713663072403456,"km_value":13713663072403.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838313103497811968,"description":"Unknown IO ID 45"} 
[2026-08-19 12:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503689472001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1838313103497811968}} 
[2026-08-19 12:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":158800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:50:15] local.INFO: GPS data processed {"connection_id":158800,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:50:15] local.INFO: Acknowledgment sent {"connection_id":158800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:50:38] local.INFO: TCP Data received {"connection_id":158799,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e31f48012cf983800706ec60000701542a..."} 
[2026-08-19 12:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e31f48012cf983800706ec60000701542a..."} 
[2026-08-19 12:50:38] local.INFO: Processing buffer {"connection_id":158799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e31f48012cf983800706ec60000701542a..."} 
[2026-08-19 12:50:38] local.INFO: Packet analysis {"connection_id":158799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e3"} 
[2026-08-19 12:50:38] local.INFO: Extracted packet for processing {"connection_id":158799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e3"} 
[2026-08-19 12:50:38] local.INFO: GPS Element Parsed {"raw_longitude":754549632,"raw_latitude":117894240,"longitude_deg":75.4549632,"latitude_deg":11.789424,"altitude":7,"angle":340,"satellites":42,"speed":59,"hex_longitude":"2cf98380","hex_latitude":"0706ec60","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503725312001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385797017911164928,"note":"Value kept but may cause issues"} 
[2026-08-19 12:50:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-464644787626409984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787123933000,"timestamp_ms":1787123933000,"timestamp_seconds":1787123933,"priority":1,"record_length":96,"hex_timestamp":"000001a018e31f48"} 
[2026-08-19 12:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:50: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-08-19 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 12:50:38] 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-08-19 12: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-08-19 12:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503725312001,"66":27908,"165":206,"28":32256,"24":59,"16":385797017911164928,"44":-464644787626409984},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-19 12:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503725312001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:50:38] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 12:50:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385797017911164928,"km_value":385797017911164.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:50:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-464644787626409984,"description":"Unknown IO ID 44"} 
[2026-08-19 12:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503725312001,"power":27908,"unknown_165":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_44":-464644787626409984}} 
[2026-08-19 12:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":158799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:50:38] local.INFO: GPS data processed {"connection_id":158799,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:50:38] local.INFO: Acknowledgment sent {"connection_id":158799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:50:46] local.INFO: TCP Data received {"connection_id":158800,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e0f498012d197bc0071febc8003f010c2b..."} 
[2026-08-19 12:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e0f498012d197bc0071febc8003f010c2b..."} 
[2026-08-19 12:50:46] local.INFO: Processing buffer {"connection_id":158800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e0f498012d197bc0071febc8003f010c2b..."} 
[2026-08-19 12:50:46] local.INFO: Packet analysis {"connection_id":158800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:50:46] local.INFO: Extracted packet for processing {"connection_id":158800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e0"} 
[2026-08-19 12:50:46] local.INFO: GPS Element Parsed {"raw_longitude":756644800,"raw_latitude":119532488,"longitude_deg":75.66448,"latitude_deg":11.9532488,"altitude":63,"angle":268,"satellites":43,"speed":20,"hex_longitude":"2d197bc0","hex_latitude":"071febc8","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503690240001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713688842207232,"note":"Value kept but may cause issues"} 
[2026-08-19 12:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836905728614072320,"note":"Value kept but may cause issues"} 
[2026-08-19 12:50: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-08-19 12:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787123791000,"timestamp_ms":1787123791000,"timestamp_seconds":1787123791,"priority":1,"record_length":96,"hex_timestamp":"000001a018e0f498"} 
[2026-08-19 12:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:50: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-08-19 12: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 12:50:46] 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-08-19 12: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-08-19 12:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503690240001,"66":13135,"121":206,"28":31744,"24":20,"16":13713688842207232,"45":1836905728614072320},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503690240001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:50:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:50:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713688842207232,"km_value":13713688842207.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836905728614072320,"description":"Unknown IO ID 45"} 
[2026-08-19 12:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503690240001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1836905728614072320}} 
[2026-08-19 12:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":158800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:50:46] local.INFO: GPS data processed {"connection_id":158800,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:50:46] local.INFO: Acknowledgment sent {"connection_id":158800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:50:59] local.INFO: TCP Data received {"connection_id":160112,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:50:59] local.INFO: Processing buffer {"connection_id":160112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:50:59] local.INFO: IMEI packet received {"connection_id":160112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":160112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:51:09] local.INFO: TCP Data received {"connection_id":157555,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:51:09] local.INFO: Processing buffer {"connection_id":157555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:51:09] local.INFO: IMEI packet received {"connection_id":157555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":157555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:51:13] local.INFO: TCP Data received {"connection_id":157555,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:51:13] local.INFO: Processing buffer {"connection_id":157555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:51:13] local.INFO: IMEI packet received {"connection_id":157555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":157555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:51:15] local.INFO: TCP Data received {"connection_id":157555,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e10820012d1971c0071fec60003e01182c..."} 
[2026-08-19 12:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e10820012d1971c0071fec60003e01182c..."} 
[2026-08-19 12:51:15] local.INFO: Processing buffer {"connection_id":157555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e10820012d1971c0071fec60003e01182c..."} 
[2026-08-19 12:51:15] local.INFO: Packet analysis {"connection_id":157555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e1"} 
[2026-08-19 12:51:15] local.INFO: Extracted packet for processing {"connection_id":157555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e1"} 
[2026-08-19 12:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756642240,"raw_latitude":119532640,"longitude_deg":75.664224,"latitude_deg":11.953264,"altitude":62,"angle":280,"satellites":44,"speed":18,"hex_longitude":"2d1971c0","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503690496001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713813396258816,"note":"Value kept but may cause issues"} 
[2026-08-19 12:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836272409916459008,"note":"Value kept but may cause issues"} 
[2026-08-19 12:51: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-08-19 12:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787123796000,"timestamp_ms":1787123796000,"timestamp_seconds":1787123796,"priority":1,"record_length":96,"hex_timestamp":"000001a018e10820"} 
[2026-08-19 12:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:51:15] 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-08-19 12: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 12:51: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-08-19 12: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-08-19 12:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503690496001,"66":13091,"121":206,"28":31744,"24":18,"16":13713813396258816,"45":1836272409916459008},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503690496001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:51:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:51:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713813396258816,"km_value":13713813396258.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836272409916459008,"description":"Unknown IO ID 45"} 
[2026-08-19 12:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503690496001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1836272409916459008}} 
[2026-08-19 12:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":157555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:51:15] local.INFO: GPS data processed {"connection_id":157555,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:51:15] local.INFO: Acknowledgment sent {"connection_id":157555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:51:31] local.INFO: TCP Data received {"connection_id":160112,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:51:31] local.INFO: Processing buffer {"connection_id":160112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:51:31] local.INFO: IMEI packet received {"connection_id":160112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":160112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:51:32] local.INFO: TCP Data received {"connection_id":160112,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:51:32] local.INFO: Processing buffer {"connection_id":160112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:51:32] local.INFO: IMEI packet received {"connection_id":160112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":160112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:51:33] local.INFO: TCP Data received {"connection_id":160112,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e434a0012cf8cf0007082df0000a01452d..."} 
[2026-08-19 12:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e434a0012cf8cf0007082df0000a01452d..."} 
[2026-08-19 12:51:33] local.INFO: Processing buffer {"connection_id":160112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e434a0012cf8cf0007082df0000a01452d..."} 
[2026-08-19 12:51:33] local.INFO: Packet analysis {"connection_id":160112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e4"} 
[2026-08-19 12:51:33] local.INFO: Extracted packet for processing {"connection_id":160112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e4"} 
[2026-08-19 12:51:33] local.INFO: GPS Element Parsed {"raw_longitude":754503424,"raw_latitude":117976560,"longitude_deg":75.4503424,"latitude_deg":11.797656,"altitude":10,"angle":325,"satellites":45,"speed":59,"hex_longitude":"2cf8cf00","hex_latitude":"07082df0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503743488001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385801617821138944,"note":"Value kept but may cause issues"} 
[2026-08-19 12:51:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-512425164901609472,"note":"Value kept but may cause issues"} 
[2026-08-19 12:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787124004000,"timestamp_ms":1787124004000,"timestamp_seconds":1787124004,"priority":1,"record_length":96,"hex_timestamp":"000001a018e434a0"} 
[2026-08-19 12:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 12:51:33] 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-08-19 12:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503743488001,"66":28082,"167":206,"28":32256,"24":59,"16":385801617821138944,"44":-512425164901609472},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-08-19 12:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503743488001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:51:33] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 12:51:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385801617821138944,"km_value":385801617821138.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:51:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-512425164901609472,"description":"Unknown IO ID 44"} 
[2026-08-19 12:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503743488001,"power":28082,"unknown_167":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_44":-512425164901609472}} 
[2026-08-19 12:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":160112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:51:33] local.INFO: GPS data processed {"connection_id":160112,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:51:33] local.INFO: Acknowledgment sent {"connection_id":160112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:51:34] local.INFO: TCP Data received {"connection_id":160112,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e44c10012cf8bb0007084ad8000a01442d..."} 
[2026-08-19 12:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e44c10012cf8bb0007084ad8000a01442d..."} 
[2026-08-19 12:51:34] local.INFO: Processing buffer {"connection_id":160112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e44c10012cf8bb0007084ad8000a01442d..."} 
[2026-08-19 12:51:34] local.INFO: Packet analysis {"connection_id":160112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e4"} 
[2026-08-19 12:51:34] local.INFO: Extracted packet for processing {"connection_id":160112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e4"} 
[2026-08-19 12:51:34] local.INFO: GPS Element Parsed {"raw_longitude":754498304,"raw_latitude":117983960,"longitude_deg":75.4498304,"latitude_deg":11.798396,"altitude":10,"angle":324,"satellites":45,"speed":60,"hex_longitude":"2cf8bb00","hex_latitude":"07084ad8","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503745024001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385802051612835840,"note":"Value kept but may cause issues"} 
[2026-08-19 12:51:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-518195401922318336,"note":"Value kept but may cause issues"} 
[2026-08-19 12:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787124010000,"timestamp_ms":1787124010000,"timestamp_seconds":1787124010,"priority":1,"record_length":96,"hex_timestamp":"000001a018e44c10"} 
[2026-08-19 12:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12: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-08-19 12: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 12:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503745024001,"66":27930,"167":206,"28":32256,"24":60,"16":385802051612835840,"44":-518195401922318336},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-08-19 12:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503745024001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:51:34] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 12:51:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385802051612835840,"km_value":385802051612835.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:51:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-518195401922318336,"description":"Unknown IO ID 44"} 
[2026-08-19 12:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503745024001,"power":27930,"unknown_167":206,"unknown_28":32256,"ignition":60,"odometer":null,"unknown_44":-518195401922318336}} 
[2026-08-19 12:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":160112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:51:34] local.INFO: GPS data processed {"connection_id":160112,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:51:34] local.INFO: Acknowledgment sent {"connection_id":160112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:51:46] local.INFO: TCP Data received {"connection_id":157555,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e15a28012d196880071fee00003d011b2b..."} 
[2026-08-19 12:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e15a28012d196880071fee00003d011b2b..."} 
[2026-08-19 12:51:46] local.INFO: Processing buffer {"connection_id":157555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e15a28012d196880071fee00003d011b2b..."} 
[2026-08-19 12:51:46] local.INFO: Packet analysis {"connection_id":157555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e1"} 
[2026-08-19 12:51:46] local.INFO: Extracted packet for processing {"connection_id":157555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e1"} 
[2026-08-19 12:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503691776001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 12:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833457660149391360,"note":"Value kept but may cause issues"} 
[2026-08-19 12:51: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-08-19 12:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787123817000,"timestamp_ms":1787123817000,"timestamp_seconds":1787123817,"priority":1,"record_length":96,"hex_timestamp":"000001a018e15a28"} 
[2026-08-19 12:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:51: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-08-19 12: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 12:51: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-08-19 12: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-08-19 12:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503691776001,"66":13080,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1833457660149391360},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503691776001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:51:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:51:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833457660149391360,"description":"Unknown IO ID 45"} 
[2026-08-19 12:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503691776001,"power":13080,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833457660149391360}} 
[2026-08-19 12:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":157555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:51:46] local.INFO: GPS data processed {"connection_id":157555,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:51:46] local.INFO: Acknowledgment sent {"connection_id":157555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:51:59] local.INFO: TCP Data received {"connection_id":157930,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:51:59] local.INFO: Processing buffer {"connection_id":157930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:51:59] local.INFO: IMEI packet received {"connection_id":157930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":157930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:52:01] local.INFO: TCP Data received {"connection_id":157930,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:52:01] local.INFO: Processing buffer {"connection_id":157930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:52:01] local.INFO: IMEI packet received {"connection_id":157930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":157930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:52:04] local.INFO: TCP Data received {"connection_id":157930,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:52:04] local.INFO: Processing buffer {"connection_id":157930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:52:04] local.INFO: IMEI packet received {"connection_id":157930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":157930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:52:05] local.INFO: TCP Data received {"connection_id":157930,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e46380012cf8a60007086720000b01442b..."} 
[2026-08-19 12:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e46380012cf8a60007086720000b01442b..."} 
[2026-08-19 12:52:05] local.INFO: Processing buffer {"connection_id":157930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e46380012cf8a60007086720000b01442b..."} 
[2026-08-19 12:52:05] local.INFO: Packet analysis {"connection_id":157930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e4"} 
[2026-08-19 12:52:05] local.INFO: Extracted packet for processing {"connection_id":157930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e4"} 
[2026-08-19 12:52:05] local.INFO: GPS Element Parsed {"raw_longitude":754492928,"raw_latitude":117991200,"longitude_deg":75.4492928,"latitude_deg":11.79912,"altitude":11,"angle":324,"satellites":43,"speed":58,"hex_longitude":"2cf8a600","hex_latitude":"07086720","is_valid_coordinates":true} 
[2026-08-19 12:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503746560001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385802485404532736,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-523824901454637056,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787124016000,"timestamp_ms":1787124016000,"timestamp_seconds":1787124016,"priority":1,"record_length":96,"hex_timestamp":"000001a018e46380"} 
[2026-08-19 12:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 12:52:05] 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-08-19 12:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503746560001,"66":26984,"167":206,"28":32256,"24":58,"16":385802485404532736,"44":-523824901454637056},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-08-19 12:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503746560001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:52:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 12:52:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 12:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385802485404532736,"km_value":385802485404532.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:52:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-523824901454637056,"description":"Unknown IO ID 44"} 
[2026-08-19 12:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503746560001,"power":26984,"unknown_167":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_44":-523824901454637056}} 
[2026-08-19 12:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":157930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:52:05] local.INFO: GPS data processed {"connection_id":157930,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:52:05] local.INFO: Acknowledgment sent {"connection_id":157930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:52:08] local.INFO: TCP Data received {"connection_id":157931,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:52:08] local.INFO: Processing buffer {"connection_id":157931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:52:08] local.INFO: IMEI packet received {"connection_id":157931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":157931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:52:08] local.INFO: TCP Data received {"connection_id":157931,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:52:09] local.INFO: Processing buffer {"connection_id":157931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:52:09] local.INFO: IMEI packet received {"connection_id":157931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":157931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:52:14] local.INFO: TCP Data received {"connection_id":157931,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:52:14] local.INFO: Processing buffer {"connection_id":157931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:52:14] local.INFO: IMEI packet received {"connection_id":157931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":157931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:52:16] local.INFO: TCP Data received {"connection_id":157931,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e4e080012d196880071fee00003d011b2d..."} 
[2026-08-19 12:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e4e080012d196880071fee00003d011b2d..."} 
[2026-08-19 12:52:16] local.INFO: Processing buffer {"connection_id":157931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e4e080012d196880071fee00003d011b2d..."} 
[2026-08-19 12:52:16] local.INFO: Packet analysis {"connection_id":157931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e4"} 
[2026-08-19 12:52:16] local.INFO: Extracted packet for processing {"connection_id":157931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e4"} 
[2026-08-19 12:52:16] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503750912001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 12: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-08-19 12:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787124048000,"timestamp_ms":1787124048000,"timestamp_seconds":1787124048,"priority":1,"record_length":96,"hex_timestamp":"000001a018e4e080"} 
[2026-08-19 12:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:52:16] 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-08-19 12:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 12:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503750912001,"66":12809,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503750912001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:52:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:52:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 12:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503750912001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 12:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":157931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:52:16] local.INFO: GPS data processed {"connection_id":157931,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:52:16] local.INFO: Acknowledgment sent {"connection_id":157931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:52:37] local.INFO: TCP Data received {"connection_id":157930,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e5b370012cf783400709fc98000a013d2c..."} 
[2026-08-19 12:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e5b370012cf783400709fc98000a013d2c..."} 
[2026-08-19 12:52:37] local.INFO: Processing buffer {"connection_id":157930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e5b370012cf783400709fc98000a013d2c..."} 
[2026-08-19 12:52:37] local.INFO: Packet analysis {"connection_id":157930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e5"} 
[2026-08-19 12:52:37] local.INFO: Extracted packet for processing {"connection_id":157930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e5"} 
[2026-08-19 12:52:37] local.INFO: GPS Element Parsed {"raw_longitude":754418496,"raw_latitude":118095000,"longitude_deg":75.4418496,"latitude_deg":11.8095,"altitude":10,"angle":317,"satellites":44,"speed":54,"hex_longitude":"2cf78340","hex_latitude":"0709fc98","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503768320001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385808683042340864,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-603693426069776384,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787124102000,"timestamp_ms":1787124102000,"timestamp_seconds":1787124102,"priority":1,"record_length":96,"hex_timestamp":"000001a018e5b370"} 
[2026-08-19 12:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12: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-08-19 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 12:52:37] 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-08-19 12: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-08-19 12:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503768320001,"66":27887,"31":206,"2":54272,"24":54,"16":385808683042340864,"44":-603693426069776384},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-08-19 12:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503768320001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:52:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-19 12:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385808683042340864,"km_value":385808683042340.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:52:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-603693426069776384,"description":"Unknown IO ID 44"} 
[2026-08-19 12:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503768320001,"power":27887,"unknown_31":206,"power_alt":54272,"ignition":54,"odometer":null,"unknown_44":-603693426069776384}} 
[2026-08-19 12:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":157930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:52:37] local.INFO: GPS data processed {"connection_id":157930,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:52:37] local.INFO: Acknowledgment sent {"connection_id":157930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:52:47] local.INFO: TCP Data received {"connection_id":157931,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e53288012d196880071fee00003d011b2b..."} 
[2026-08-19 12:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e53288012d196880071fee00003d011b2b..."} 
[2026-08-19 12:52:47] local.INFO: Processing buffer {"connection_id":157931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e53288012d196880071fee00003d011b2b..."} 
[2026-08-19 12:52:47] local.INFO: Packet analysis {"connection_id":157931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e5"} 
[2026-08-19 12:52:47] local.INFO: Extracted packet for processing {"connection_id":157931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e5"} 
[2026-08-19 12:52:47] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 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-08-19 12:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503756288001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52: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-08-19 12:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787124069000,"timestamp_ms":1787124069000,"timestamp_seconds":1787124069,"priority":1,"record_length":96,"hex_timestamp":"000001a018e53288"} 
[2026-08-19 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-08-19 12:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 12:52:47] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-2116049705021904768,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:47] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:47] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3992977469,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 12:52:47] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:47] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052611505134711268,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:47] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3099525120,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:47] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300776460656384812,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:47] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 12:52:47] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,184,160,142,45,128,238,61,44,10,66,60,43,234,1,240,201,31,4,113,205,70,104,46,239,50,2,48,7,124,191],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 12:52:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395824591377793024,"timestamp_seconds":4395824591377793.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 12:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503756288001,"66":12841,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503756288001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:52:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:52:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 12:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503756288001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 12:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":157931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:52:47] local.INFO: GPS data processed {"connection_id":157931,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:52:47] local.INFO: Acknowledgment sent {"connection_id":157931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:53:02] local.INFO: TCP Data received {"connection_id":157932,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:53:02] local.INFO: Processing buffer {"connection_id":157932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:53:02] local.INFO: IMEI packet received {"connection_id":157932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":157932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:53:04] local.INFO: TCP Data received {"connection_id":157932,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:53:04] local.INFO: Processing buffer {"connection_id":157932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:53:04] local.INFO: IMEI packet received {"connection_id":157932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":157932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:53:09] local.INFO: TCP Data received {"connection_id":157932,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:53:09] local.INFO: Processing buffer {"connection_id":157932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:53:09] local.INFO: IMEI packet received {"connection_id":157932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":157932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:53:10] local.INFO: TCP Data received {"connection_id":157932,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e5cec8012cf76ac0070a17f8000c01402d..."} 
[2026-08-19 12:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e5cec8012cf76ac0070a17f8000c01402d..."} 
[2026-08-19 12:53:10] local.INFO: Processing buffer {"connection_id":157932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e5cec8012cf76ac0070a17f8000c01402d..."} 
[2026-08-19 12:53:10] local.INFO: Packet analysis {"connection_id":157932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e5"} 
[2026-08-19 12:53:10] local.INFO: Extracted packet for processing {"connection_id":157932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e5"} 
[2026-08-19 12:53:10] local.INFO: GPS Element Parsed {"raw_longitude":754412224,"raw_latitude":118102008,"longitude_deg":75.4412224,"latitude_deg":11.8102008,"altitude":12,"angle":320,"satellites":45,"speed":53,"hex_longitude":"2cf76ac0","hex_latitude":"070a17f8","is_valid_coordinates":true} 
[2026-08-19 12:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503770112001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385809134013906944,"note":"Value kept but may cause issues"} 
[2026-08-19 12:53:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-611574725415757824,"note":"Value kept but may cause issues"} 
[2026-08-19 12:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787124109000,"timestamp_ms":1787124109000,"timestamp_seconds":1787124109,"priority":1,"record_length":96,"hex_timestamp":"000001a018e5cec8"} 
[2026-08-19 12:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:53: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-08-19 12:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 12:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503770112001,"66":27908,"31":206,"2":54272,"24":53,"16":385809134013906944,"44":-611574725415757824},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-08-19 12:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503770112001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:53:10] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-19 12:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385809134013906944,"km_value":385809134013906.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:53:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-611574725415757824,"description":"Unknown IO ID 44"} 
[2026-08-19 12:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503770112001,"power":27908,"unknown_31":206,"power_alt":54272,"ignition":53,"odometer":null,"unknown_44":-611574725415757824}} 
[2026-08-19 12:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":157932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:53:10] local.INFO: GPS data processed {"connection_id":157932,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:53:10] local.INFO: Acknowledgment sent {"connection_id":157932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:53:11] local.INFO: TCP Data received {"connection_id":157556,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:53:11] local.INFO: Processing buffer {"connection_id":157556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:53:11] local.INFO: IMEI packet received {"connection_id":157556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":157556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:53:14] local.INFO: TCP Data received {"connection_id":157556,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:53:14] local.INFO: Processing buffer {"connection_id":157556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:53:14] local.INFO: IMEI packet received {"connection_id":157556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":157556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:53:25] local.INFO: TCP Data received {"connection_id":157556,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:53:25] local.INFO: Processing buffer {"connection_id":157556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:53:25] local.INFO: IMEI packet received {"connection_id":157556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":157556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:53:26] local.INFO: TCP Data received {"connection_id":157556,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e58490012d196880071fee00003d011b2b..."} 
[2026-08-19 12:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e58490012d196880071fee00003d011b2b..."} 
[2026-08-19 12:53:26] local.INFO: Processing buffer {"connection_id":157556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e58490012d196880071fee00003d011b2b..."} 
[2026-08-19 12:53:26] local.INFO: Packet analysis {"connection_id":157556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e5"} 
[2026-08-19 12:53:26] local.INFO: Extracted packet for processing {"connection_id":157556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e5"} 
[2026-08-19 12:53:26] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503761664001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 12:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787124090000,"timestamp_ms":1787124090000,"timestamp_seconds":1787124090,"priority":1,"record_length":96,"hex_timestamp":"000001a018e58490"} 
[2026-08-19 12:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 12:53:26] 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-08-19 12: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-08-19 12:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503761664001,"66":12776,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503761664001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:53:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:53:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 12:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503761664001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 12:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":157556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:53:26] local.INFO: GPS data processed {"connection_id":157556,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:53:27] local.INFO: Acknowledgment sent {"connection_id":157556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:53:41] local.INFO: TCP Data received {"connection_id":157932,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e5ea20012cf75340070a3450000c01402d..."} 
[2026-08-19 12:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e5ea20012cf75340070a3450000c01402d..."} 
[2026-08-19 12:53:41] local.INFO: Processing buffer {"connection_id":157932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e5ea20012cf75340070a3450000c01402d..."} 
[2026-08-19 12:53:41] local.INFO: Packet analysis {"connection_id":157932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e5"} 
[2026-08-19 12:53:41] local.INFO: Extracted packet for processing {"connection_id":157932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e5"} 
[2026-08-19 12:53:41] local.INFO: GPS Element Parsed {"raw_longitude":754406208,"raw_latitude":118109264,"longitude_deg":75.4406208,"latitude_deg":11.8109264,"altitude":12,"angle":320,"satellites":45,"speed":54,"hex_longitude":"2cf75340","hex_latitude":"070a3450","is_valid_coordinates":true} 
[2026-08-19 12:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503771904001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385809589280440320,"note":"Value kept but may cause issues"} 
[2026-08-19 12:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-618470862343374848,"note":"Value kept but may cause issues"} 
[2026-08-19 12:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787124116000,"timestamp_ms":1787124116000,"timestamp_seconds":1787124116,"priority":1,"record_length":96,"hex_timestamp":"000001a018e5ea20"} 
[2026-08-19 12:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:53: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-08-19 12:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:53:41] 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-08-19 12:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503771904001,"66":27930,"31":206,"2":54272,"24":54,"16":385809589280440320,"44":-618470862343374848},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-08-19 12:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503771904001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:53:41] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-19 12:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385809589280440320,"km_value":385809589280440.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-618470862343374848,"description":"Unknown IO ID 44"} 
[2026-08-19 12:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503771904001,"power":27930,"unknown_31":206,"power_alt":54272,"ignition":54,"odometer":null,"unknown_44":-618470862343374848}} 
[2026-08-19 12:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":157932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:53:41] local.INFO: GPS data processed {"connection_id":157932,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:53:41] local.INFO: Acknowledgment sent {"connection_id":157932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:53:57] local.INFO: TCP Data received {"connection_id":157557,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:53:57] local.INFO: Processing buffer {"connection_id":157557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:53:57] local.INFO: IMEI packet received {"connection_id":157557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":157557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:53:59] local.INFO: TCP Data received {"connection_id":157557,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:53:59] local.INFO: Processing buffer {"connection_id":157557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:53:59] local.INFO: IMEI packet received {"connection_id":157557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":157557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:54:04] local.INFO: TCP Data received {"connection_id":157557,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:54:04] local.INFO: Processing buffer {"connection_id":157557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:54:04] local.INFO: IMEI packet received {"connection_id":157557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":157557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:54:05] local.INFO: TCP Data received {"connection_id":157557,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e60578012cf73b80070a51c0000b01412c..."} 
[2026-08-19 12:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e60578012cf73b80070a51c0000b01412c..."} 
[2026-08-19 12:54:05] local.INFO: Processing buffer {"connection_id":157557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e60578012cf73b80070a51c0000b01412c..."} 
[2026-08-19 12:54:05] local.INFO: Packet analysis {"connection_id":157557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:54:05] local.INFO: Extracted packet for processing {"connection_id":157557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:54:05] local.INFO: GPS Element Parsed {"raw_longitude":754400128,"raw_latitude":118116800,"longitude_deg":75.4400128,"latitude_deg":11.81168,"altitude":11,"angle":321,"satellites":44,"speed":55,"hex_longitude":"2cf73b80","hex_latitude":"070a51c0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503773696001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385810053136908288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-625085524294217728,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787124123000,"timestamp_ms":1787124123000,"timestamp_seconds":1787124123,"priority":1,"record_length":96,"hex_timestamp":"000001a018e60578"} 
[2026-08-19 12:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 12:54:05] 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-08-19 12: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-08-19 12:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503773696001,"66":27615,"31":206,"2":54272,"24":55,"16":385810053136908288,"44":-625085524294217728},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-08-19 12:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503773696001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:54:05] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-19 12:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385810053136908288,"km_value":385810053136908.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:54:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-625085524294217728,"description":"Unknown IO ID 44"} 
[2026-08-19 12:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503773696001,"power":27615,"unknown_31":206,"power_alt":54272,"ignition":55,"odometer":null,"unknown_44":-625085524294217728}} 
[2026-08-19 12:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":157557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:54:05] local.INFO: GPS data processed {"connection_id":157557,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:54:05] local.INFO: Acknowledgment sent {"connection_id":157557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:54:09] local.INFO: TCP Data received {"connection_id":157933,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:54:09] local.INFO: Processing buffer {"connection_id":157933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:54:09] local.INFO: IMEI packet received {"connection_id":157933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":157933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:54:14] local.INFO: TCP Data received {"connection_id":157933,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:54:14] local.INFO: Processing buffer {"connection_id":157933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:54:14] local.INFO: IMEI packet received {"connection_id":157933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":157933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:54:15] local.INFO: TCP Data received {"connection_id":157933,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e5d698012d196880071fee00003d011b2c..."} 
[2026-08-19 12:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e5d698012d196880071fee00003d011b2c..."} 
[2026-08-19 12:54:15] local.INFO: Processing buffer {"connection_id":157933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e5d698012d196880071fee00003d011b2c..."} 
[2026-08-19 12:54:15] local.INFO: Packet analysis {"connection_id":157933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e5"} 
[2026-08-19 12:54:15] local.INFO: Extracted packet for processing {"connection_id":157933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e5"} 
[2026-08-19 12:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 12:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503767040001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54: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-08-19 12:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787124111000,"timestamp_ms":1787124111000,"timestamp_seconds":1787124111,"priority":1,"record_length":96,"hex_timestamp":"000001a018e5d698"} 
[2026-08-19 12:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:54: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-08-19 12:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 12:54:15] 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-08-19 12:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503767040001,"66":12819,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503767040001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:54:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:54:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 12:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503767040001,"power":12819,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 12:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":157933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:54:15] local.INFO: GPS data processed {"connection_id":157933,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:54:15] local.INFO: Acknowledgment sent {"connection_id":157933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:54:36] local.INFO: TCP Data received {"connection_id":157557,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e620d0012cf722c0070a7030000b01412d..."} 
[2026-08-19 12:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e620d0012cf722c0070a7030000b01412d..."} 
[2026-08-19 12:54:36] local.INFO: Processing buffer {"connection_id":157557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e620d0012cf722c0070a7030000b01412d..."} 
[2026-08-19 12:54:36] local.INFO: Packet analysis {"connection_id":157557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:54:36] local.INFO: Extracted packet for processing {"connection_id":157557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:54:36] local.INFO: GPS Element Parsed {"raw_longitude":754393792,"raw_latitude":118124592,"longitude_deg":75.4393792,"latitude_deg":11.8124592,"altitude":11,"angle":321,"satellites":45,"speed":57,"hex_longitude":"2cf722c0","hex_latitude":"070a7030","is_valid_coordinates":true} 
[2026-08-19 12:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503775488001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385810538468212736,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-631770554989166592,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787124130000,"timestamp_ms":1787124130000,"timestamp_seconds":1787124130,"priority":1,"record_length":96,"hex_timestamp":"000001a018e620d0"} 
[2026-08-19 12:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-19 12:54:36] 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-08-19 12:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503775488001,"66":27843,"32":206,"2":54272,"24":57,"16":385810538468212736,"44":-631770554989166592},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 12:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503775488001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:54:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 12:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385810538468212736,"km_value":385810538468212.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:54:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-631770554989166592,"description":"Unknown IO ID 44"} 
[2026-08-19 12:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503775488001,"power":27843,"unknown_32":206,"power_alt":54272,"ignition":57,"odometer":null,"unknown_44":-631770554989166592}} 
[2026-08-19 12:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":157557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:54:36] local.INFO: GPS data processed {"connection_id":157557,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:54:36] local.INFO: Acknowledgment sent {"connection_id":157557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:54:50] local.INFO: TCP Data received {"connection_id":157933,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e628a0012d196880071fee00003d011b2b..."} 
[2026-08-19 12:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e628a0012d196880071fee00003d011b2b..."} 
[2026-08-19 12:54:50] local.INFO: Processing buffer {"connection_id":157933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e628a0012d196880071fee00003d011b2b..."} 
[2026-08-19 12:54:50] local.INFO: Packet analysis {"connection_id":157933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:54:50] local.INFO: Extracted packet for processing {"connection_id":157933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:54:50] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503772416001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787124132000,"timestamp_ms":1787124132000,"timestamp_seconds":1787124132,"priority":1,"record_length":96,"hex_timestamp":"000001a018e628a0"} 
[2026-08-19 12:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:54: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-08-19 12: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 12:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:50] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503808885325824,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:50] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3962941278034801124,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3992977469,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:50] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-08-19 12:54:50] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:50] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:50] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3099525120,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:50] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300776460656384813,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:50] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:50] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195053312,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:50] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84751904605151214,"note":"Value kept but may cause issues"} 
[2026-08-19 12:54:50] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,184,160,132,45,128,238,61,43,10,66,50,224,1,240,9,31,4,113,205,60,104,239,2,48,7,124,191,69,88],"length":625,"final_offset":755,"validated_count":36,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-08-19 12:54:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395824587082825728,"timestamp_seconds":4395824587082825.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 12:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":157933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":157933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":157933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503772416001,"66":12743,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503772416001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:54:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:54:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 12:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503772416001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 12:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":157933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:54:50] local.INFO: GPS data processed {"connection_id":157933,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:54:50] local.INFO: Acknowledgment sent {"connection_id":157933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:54:59] local.INFO: TCP Data received {"connection_id":160113,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:54:59] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:54:59] local.INFO: IMEI packet received {"connection_id":160113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":160113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:55:04] local.INFO: TCP Data received {"connection_id":160113,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:55:04] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:55:04] local.INFO: IMEI packet received {"connection_id":160113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":160113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:55:06] local.INFO: TCP Data received {"connection_id":160113,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e63c28012cf70980070a9008000901432d..."} 
[2026-08-19 12:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e63c28012cf70980070a9008000901432d..."} 
[2026-08-19 12:55:06] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e63c28012cf70980070a9008000901432d..."} 
[2026-08-19 12:55:06] local.INFO: Packet analysis {"connection_id":160113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:55:06] local.INFO: Extracted packet for processing {"connection_id":160113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:55:06] local.INFO: GPS Element Parsed {"raw_longitude":754387328,"raw_latitude":118132744,"longitude_deg":75.4387328,"latitude_deg":11.8132744,"altitude":9,"angle":323,"satellites":45,"speed":57,"hex_longitude":"2cf70980","hex_latitude":"070a9008","is_valid_coordinates":true} 
[2026-08-19 12:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503777280001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385811036684419072,"note":"Value kept but may cause issues"} 
[2026-08-19 12:55:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-638737060660760576,"note":"Value kept but may cause issues"} 
[2026-08-19 12:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787124137000,"timestamp_ms":1787124137000,"timestamp_seconds":1787124137,"priority":1,"record_length":96,"hex_timestamp":"000001a018e63c28"} 
[2026-08-19 12:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:55: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-08-19 12:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 12:55:06] 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-08-19 12:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503777280001,"66":27800,"32":206,"2":54272,"24":57,"16":385811036684419072,"44":-638737060660760576},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 12:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503777280001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:55:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 12:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385811036684419072,"km_value":385811036684419.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:55:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-638737060660760576,"description":"Unknown IO ID 44"} 
[2026-08-19 12:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503777280001,"power":27800,"unknown_32":206,"power_alt":54272,"ignition":57,"odometer":null,"unknown_44":-638737060660760576}} 
[2026-08-19 12:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":160113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:55:06] local.INFO: GPS data processed {"connection_id":160113,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:55:06] local.INFO: Acknowledgment sent {"connection_id":160113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:55:09] local.INFO: TCP Data received {"connection_id":157558,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:55:09] local.INFO: Processing buffer {"connection_id":157558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:55:09] local.INFO: IMEI packet received {"connection_id":157558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":157558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:55:14] local.INFO: TCP Data received {"connection_id":157558,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:55:14] local.INFO: Processing buffer {"connection_id":157558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:55:14] local.INFO: IMEI packet received {"connection_id":157558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":157558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:55:16] local.INFO: TCP Data received {"connection_id":157558,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e67aa8012d196880071fee00003d011b2b..."} 
[2026-08-19 12:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e67aa8012d196880071fee00003d011b2b..."} 
[2026-08-19 12:55:16] local.INFO: Processing buffer {"connection_id":157558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e67aa8012d196880071fee00003d011b2b..."} 
[2026-08-19 12:55:16] local.INFO: Packet analysis {"connection_id":157558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:55:16] local.INFO: Extracted packet for processing {"connection_id":157558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:55:16] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503777792001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 12:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 12: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-08-19 12:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787124153000,"timestamp_ms":1787124153000,"timestamp_seconds":1787124153,"priority":1,"record_length":96,"hex_timestamp":"000001a018e67aa8"} 
[2026-08-19 12:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:55:16] 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-08-19 12:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-19 12:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503777792001,"66":12776,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503777792001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:55:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:55:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 12:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503777792001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 12:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":157558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:55:16] local.INFO: GPS data processed {"connection_id":157558,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:55:16] local.INFO: Acknowledgment sent {"connection_id":157558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:55:39] local.INFO: TCP Data received {"connection_id":160113,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e65780012cf6f1c0070ab0d8000801462d..."} 
[2026-08-19 12:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e65780012cf6f1c0070ab0d8000801462d..."} 
[2026-08-19 12:55:39] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e65780012cf6f1c0070ab0d8000801462d..."} 
[2026-08-19 12:55:39] local.INFO: Packet analysis {"connection_id":160113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:55:39] local.INFO: Extracted packet for processing {"connection_id":160113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:55:39] local.INFO: GPS Element Parsed {"raw_longitude":754381248,"raw_latitude":118141144,"longitude_deg":75.4381248,"latitude_deg":11.8141144,"altitude":8,"angle":326,"satellites":45,"speed":59,"hex_longitude":"2cf6f1c0","hex_latitude":"070ab0d8","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503779072001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385811534900625408,"note":"Value kept but may cause issues"} 
[2026-08-19 12:55:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-645844303820617728,"note":"Value kept but may cause issues"} 
[2026-08-19 12:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787124144000,"timestamp_ms":1787124144000,"timestamp_seconds":1787124144,"priority":1,"record_length":96,"hex_timestamp":"000001a018e65780"} 
[2026-08-19 12:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 12:55:39] 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-08-19 12: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-08-19 12:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503779072001,"66":27974,"32":206,"2":54272,"24":59,"16":385811534900625408,"44":-645844303820617728},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 12:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503779072001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:55:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 12:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385811534900625408,"km_value":385811534900625.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:55:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-645844303820617728,"description":"Unknown IO ID 44"} 
[2026-08-19 12:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503779072001,"power":27974,"unknown_32":206,"power_alt":54272,"ignition":59,"odometer":null,"unknown_44":-645844303820617728}} 
[2026-08-19 12:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":160113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:55:39] local.INFO: GPS data processed {"connection_id":160113,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:55:39] local.INFO: Acknowledgment sent {"connection_id":160113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:55:48] local.INFO: TCP Data received {"connection_id":157558,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e6ccb0012d196880071fee00003d011b29..."} 
[2026-08-19 12:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e6ccb0012d196880071fee00003d011b29..."} 
[2026-08-19 12:55:48] local.INFO: Processing buffer {"connection_id":157558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e6ccb0012d196880071fee00003d011b29..."} 
[2026-08-19 12:55:48] local.INFO: Packet analysis {"connection_id":157558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:55:48] local.INFO: Extracted packet for processing {"connection_id":157558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:55:48] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503783168001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 12:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787124174000,"timestamp_ms":1787124174000,"timestamp_seconds":1787124174,"priority":1,"record_length":96,"hex_timestamp":"000001a018e6ccb0"} 
[2026-08-19 12:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 12:55:48] 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-08-19 12: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-08-19 12:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":157558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":157558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":157558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503783168001,"66":12722,"70":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-19 12:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503783168001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:55:48] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-19 12:55:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 12:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503783168001,"power":12722,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 12:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":157558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:55:48] local.INFO: GPS data processed {"connection_id":157558,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:55:48] local.INFO: Acknowledgment sent {"connection_id":157558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:55:59] local.INFO: TCP Data received {"connection_id":158801,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:55:59] local.INFO: Processing buffer {"connection_id":158801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:55:59] local.INFO: IMEI packet received {"connection_id":158801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":158801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:56:04] local.INFO: TCP Data received {"connection_id":158801,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:56:04] local.INFO: Processing buffer {"connection_id":158801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:56:04] local.INFO: IMEI packet received {"connection_id":158801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":158801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:56:06] local.INFO: TCP Data received {"connection_id":158801,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e66ef0012cf6ddc0070acde0000701442e..."} 
[2026-08-19 12:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e66ef0012cf6ddc0070acde0000701442e..."} 
[2026-08-19 12:56:06] local.INFO: Processing buffer {"connection_id":158801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e66ef0012cf6ddc0070acde0000701442e..."} 
[2026-08-19 12:56:06] local.INFO: Packet analysis {"connection_id":158801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:56:06] local.INFO: Extracted packet for processing {"connection_id":158801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:56:06] local.INFO: GPS Element Parsed {"raw_longitude":754376128,"raw_latitude":118148576,"longitude_deg":75.4376128,"latitude_deg":11.8148576,"altitude":7,"angle":324,"satellites":46,"speed":57,"hex_longitude":"2cf6ddc0","hex_latitude":"070acde0","is_valid_coordinates":true} 
[2026-08-19 12:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503780864001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385811968692322304,"note":"Value kept but may cause issues"} 
[2026-08-19 12:56:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-652529334515345408,"note":"Value kept but may cause issues"} 
[2026-08-19 12:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787124150000,"timestamp_ms":1787124150000,"timestamp_seconds":1787124150,"priority":1,"record_length":96,"hex_timestamp":"000001a018e66ef0"} 
[2026-08-19 12:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 12:56:06] 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-08-19 12:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503780864001,"66":27865,"32":206,"2":54272,"24":57,"16":385811968692322304,"44":-652529334515345408},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 12:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503780864001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:56:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 12:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385811968692322304,"km_value":385811968692322.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:56:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-652529334515345408,"description":"Unknown IO ID 44"} 
[2026-08-19 12:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503780864001,"power":27865,"unknown_32":206,"power_alt":54272,"ignition":57,"odometer":null,"unknown_44":-652529334515345408}} 
[2026-08-19 12:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":158801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:56:06] local.INFO: GPS data processed {"connection_id":158801,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:56:06] local.INFO: Acknowledgment sent {"connection_id":158801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:56:08] local.INFO: TCP Data received {"connection_id":157559,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:56:08] local.INFO: Processing buffer {"connection_id":157559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:56:08] local.INFO: IMEI packet received {"connection_id":157559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":157559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:56:13] local.INFO: TCP Data received {"connection_id":157559,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:56:13] local.INFO: Processing buffer {"connection_id":157559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:56:13] local.INFO: IMEI packet received {"connection_id":157559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":157559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:56:15] local.INFO: TCP Data received {"connection_id":157559,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e71eb8012d196880071fee00003d011b27..."} 
[2026-08-19 12:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e71eb8012d196880071fee00003d011b27..."} 
[2026-08-19 12:56:15] local.INFO: Processing buffer {"connection_id":157559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e71eb8012d196880071fee00003d011b27..."} 
[2026-08-19 12:56:15] local.INFO: Packet analysis {"connection_id":157559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e7"} 
[2026-08-19 12:56:15] local.INFO: Extracted packet for processing {"connection_id":157559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e7"} 
[2026-08-19 12:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503788544001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 12:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787124195000,"timestamp_ms":1787124195000,"timestamp_seconds":1787124195,"priority":1,"record_length":96,"hex_timestamp":"000001a018e71eb8"} 
[2026-08-19 12:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:56: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-08-19 12:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 12:56:15] 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-08-19 12: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-08-19 12:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503788544001,"66":12776,"131":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-19 12:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503788544001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:56:15] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-19 12:56:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 12:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503788544001,"power":12776,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 12:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":157559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:56:15] local.INFO: GPS data processed {"connection_id":157559,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:56:15] local.INFO: Acknowledgment sent {"connection_id":157559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:56:38] local.INFO: TCP Data received {"connection_id":158801,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e68e30012cf6c840070aea38000601402e..."} 
[2026-08-19 12:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e68e30012cf6c840070aea38000601402e..."} 
[2026-08-19 12:56:38] local.INFO: Processing buffer {"connection_id":158801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e68e30012cf6c840070aea38000601402e..."} 
[2026-08-19 12:56:38] local.INFO: Packet analysis {"connection_id":158801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:56:38] local.INFO: Extracted packet for processing {"connection_id":158801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:56:38] local.INFO: GPS Element Parsed {"raw_longitude":754370624,"raw_latitude":118155832,"longitude_deg":75.4370624,"latitude_deg":11.8155832,"altitude":6,"angle":320,"satellites":46,"speed":42,"hex_longitude":"2cf6c840","hex_latitude":"070aea38","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503782400001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385812406778986496,"note":"Value kept but may cause issues"} 
[2026-08-19 12:56:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-658158834047655936,"note":"Value kept but may cause issues"} 
[2026-08-19 12:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787124158000,"timestamp_ms":1787124158000,"timestamp_seconds":1787124158,"priority":1,"record_length":96,"hex_timestamp":"000001a018e68e30"} 
[2026-08-19 12:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 12:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503782400001,"66":27930,"32":206,"2":54272,"24":42,"16":385812406778986496,"44":-658158834047655936},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 12:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503782400001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:56:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 12:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385812406778986496,"km_value":385812406778986.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:56:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-658158834047655936,"description":"Unknown IO ID 44"} 
[2026-08-19 12:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503782400001,"power":27930,"unknown_32":206,"power_alt":54272,"ignition":42,"odometer":null,"unknown_44":-658158834047655936}} 
[2026-08-19 12:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":158801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:56:38] local.INFO: GPS data processed {"connection_id":158801,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:56:38] local.INFO: Acknowledgment sent {"connection_id":158801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:56:46] local.INFO: TCP Data received {"connection_id":157559,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e770c0012d196880071fee00003d011b2a..."} 
[2026-08-19 12:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e770c0012d196880071fee00003d011b2a..."} 
[2026-08-19 12:56:46] local.INFO: Processing buffer {"connection_id":157559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e770c0012d196880071fee00003d011b2a..."} 
[2026-08-19 12:56:46] local.INFO: Packet analysis {"connection_id":157559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e7"} 
[2026-08-19 12:56:46] local.INFO: Extracted packet for processing {"connection_id":157559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e7"} 
[2026-08-19 12:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503793920001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 12:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787124216000,"timestamp_ms":1787124216000,"timestamp_seconds":1787124216,"priority":1,"record_length":96,"hex_timestamp":"000001a018e770c0"} 
[2026-08-19 12:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 12:56:46] 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-08-19 12: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-08-19 12:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503793920001,"66":12341,"131":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-19 12:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503793920001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:56:46] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-19 12:56:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 12:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503793920001,"power":12341,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 12:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":157559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:56:46] local.INFO: GPS data processed {"connection_id":157559,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:56:46] local.INFO: Acknowledgment sent {"connection_id":157559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:56:59] local.INFO: TCP Data received {"connection_id":160114,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:56:59] local.INFO: Processing buffer {"connection_id":160114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:56:59] local.INFO: IMEI packet received {"connection_id":160114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":160114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:57:04] local.INFO: TCP Data received {"connection_id":160114,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:57:04] local.INFO: Processing buffer {"connection_id":160114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:57:04] local.INFO: IMEI packet received {"connection_id":160114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":160114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:57:06] local.INFO: TCP Data received {"connection_id":160114,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e6b158012cf6b000070b0778000701402e..."} 
[2026-08-19 12:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e6b158012cf6b000070b0778000701402e..."} 
[2026-08-19 12:57:06] local.INFO: Processing buffer {"connection_id":160114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e6b158012cf6b000070b0778000701402e..."} 
[2026-08-19 12:57:06] local.INFO: Packet analysis {"connection_id":160114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:57:06] local.INFO: Extracted packet for processing {"connection_id":160114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:57:06] local.INFO: GPS Element Parsed {"raw_longitude":754364416,"raw_latitude":118163320,"longitude_deg":75.4364416,"latitude_deg":11.816332,"altitude":7,"angle":320,"satellites":46,"speed":40,"hex_longitude":"2cf6b000","hex_latitude":"070b0778","is_valid_coordinates":true} 
[2026-08-19 12:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503784448001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385812879225389056,"note":"Value kept but may cause issues"} 
[2026-08-19 12:57:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-664210546045077504,"note":"Value kept but may cause issues"} 
[2026-08-19 12:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787124167000,"timestamp_ms":1787124167000,"timestamp_seconds":1787124167,"priority":1,"record_length":96,"hex_timestamp":"000001a018e6b158"} 
[2026-08-19 12:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:57: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-08-19 12:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 12:57:06] 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-08-19 12:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503784448001,"66":27865,"32":206,"2":54272,"24":40,"16":385812879225389056,"44":-664210546045077504},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 12:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503784448001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:57:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 12:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385812879225389056,"km_value":385812879225389.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:57:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-664210546045077504,"description":"Unknown IO ID 44"} 
[2026-08-19 12:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503784448001,"power":27865,"unknown_32":206,"power_alt":54272,"ignition":40,"odometer":null,"unknown_44":-664210546045077504}} 
[2026-08-19 12:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":160114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:57:06] local.INFO: GPS data processed {"connection_id":160114,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:57:06] local.INFO: Acknowledgment sent {"connection_id":160114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:57:14] local.INFO: TCP Data received {"connection_id":157560,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:57:14] local.INFO: Processing buffer {"connection_id":157560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:57:14] local.INFO: IMEI packet received {"connection_id":157560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":157560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:57:19] local.INFO: TCP Data received {"connection_id":157560,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:57:19] local.INFO: Processing buffer {"connection_id":157560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:57:19] local.INFO: IMEI packet received {"connection_id":157560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":157560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:57:21] local.INFO: TCP Data received {"connection_id":157560,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e7c2c8012d196880071fee00003d011b29..."} 
[2026-08-19 12:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e7c2c8012d196880071fee00003d011b29..."} 
[2026-08-19 12:57:21] local.INFO: Processing buffer {"connection_id":157560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e7c2c8012d196880071fee00003d011b29..."} 
[2026-08-19 12:57:21] local.INFO: Packet analysis {"connection_id":157560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e7"} 
[2026-08-19 12:57:21] local.INFO: Extracted packet for processing {"connection_id":157560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e7"} 
[2026-08-19 12:57:21] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503799296001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 12:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787124237000,"timestamp_ms":1787124237000,"timestamp_seconds":1787124237,"priority":1,"record_length":96,"hex_timestamp":"000001a018e7c2c8"} 
[2026-08-19 12:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-19 12:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":157560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":157560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":157560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503799296001,"66":12711,"131":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-19 12:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503799296001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:57:21] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-19 12:57:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 12:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503799296001,"power":12711,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 12:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":157560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:57:21] local.INFO: GPS data processed {"connection_id":157560,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:57:21] local.INFO: Acknowledgment sent {"connection_id":157560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:57:37] local.INFO: TCP Data received {"connection_id":160114,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e6f7a8012cf69a40070b1db8000601332c..."} 
[2026-08-19 12:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e6f7a8012cf69a40070b1db8000601332c..."} 
[2026-08-19 12:57:37] local.INFO: Processing buffer {"connection_id":160114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e6f7a8012cf69a40070b1db8000601332c..."} 
[2026-08-19 12:57:37] local.INFO: Packet analysis {"connection_id":160114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:57:37] local.INFO: Extracted packet for processing {"connection_id":160114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e6"} 
[2026-08-19 12:57:37] local.INFO: GPS Element Parsed {"raw_longitude":754358848,"raw_latitude":118169016,"longitude_deg":75.4358848,"latitude_deg":11.8169016,"altitude":6,"angle":307,"satellites":44,"speed":9,"hex_longitude":"2cf69a40","hex_latitude":"070b1db8","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503786752001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385813261477478400,"note":"Value kept but may cause issues"} 
[2026-08-19 12:57:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-671036314228393984,"note":"Value kept but may cause issues"} 
[2026-08-19 12:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787124185000,"timestamp_ms":1787124185000,"timestamp_seconds":1787124185,"priority":1,"record_length":96,"hex_timestamp":"000001a018e6f7a8"} 
[2026-08-19 12:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 12:57:37] 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-08-19 12: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-08-19 12:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503786752001,"66":27865,"32":206,"2":54272,"24":9,"16":385813261477478400,"44":-671036314228393984},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 12:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503786752001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:57:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 12:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385813261477478400,"km_value":385813261477478.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:57:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-671036314228393984,"description":"Unknown IO ID 44"} 
[2026-08-19 12:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503786752001,"power":27865,"unknown_32":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-671036314228393984}} 
[2026-08-19 12:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":160114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:57:37] local.INFO: GPS data processed {"connection_id":160114,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:57:37] local.INFO: Acknowledgment sent {"connection_id":160114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:57:54] local.INFO: TCP Data received {"connection_id":157560,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e814d0012d196880071fee00003d011b2b..."} 
[2026-08-19 12:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e814d0012d196880071fee00003d011b2b..."} 
[2026-08-19 12:57:54] local.INFO: Processing buffer {"connection_id":157560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e814d0012d196880071fee00003d011b2b..."} 
[2026-08-19 12:57:54] local.INFO: Packet analysis {"connection_id":157560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e8"} 
[2026-08-19 12:57:54] local.INFO: Extracted packet for processing {"connection_id":157560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e8"} 
[2026-08-19 12:57:54] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 12:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503804672001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 12:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787124258000,"timestamp_ms":1787124258000,"timestamp_seconds":1787124258,"priority":1,"record_length":96,"hex_timestamp":"000001a018e814d0"} 
[2026-08-19 12:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:57:54] 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-08-19 12:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-19 12:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":157560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":157560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":157560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503804672001,"66":12711,"131":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-19 12:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503804672001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:57:54] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-19 12:57:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 12:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503804672001,"power":12711,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 12:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":157560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:57:54] local.INFO: GPS data processed {"connection_id":157560,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:57:54] local.INFO: Acknowledgment sent {"connection_id":157560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:57:59] local.INFO: TCP Data received {"connection_id":158802,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:57:59] local.INFO: Processing buffer {"connection_id":158802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:57:59] local.INFO: IMEI packet received {"connection_id":158802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":158802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:58:04] local.INFO: TCP Data received {"connection_id":158802,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:58:04] local.INFO: Processing buffer {"connection_id":158802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:58:04] local.INFO: IMEI packet received {"connection_id":158802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":158802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:58:06] local.INFO: TCP Data received {"connection_id":158802,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e72a70012cf68780070b2ee0000501402c..."} 
[2026-08-19 12:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e72a70012cf68780070b2ee0000501402c..."} 
[2026-08-19 12:58:06] local.INFO: Processing buffer {"connection_id":158802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e72a70012cf68780070b2ee0000501402c..."} 
[2026-08-19 12:58:06] local.INFO: Packet analysis {"connection_id":158802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e7"} 
[2026-08-19 12:58:06] local.INFO: Extracted packet for processing {"connection_id":158802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e7"} 
[2026-08-19 12:58:06] local.INFO: GPS Element Parsed {"raw_longitude":754354048,"raw_latitude":118173408,"longitude_deg":75.4354048,"latitude_deg":11.8173408,"altitude":5,"angle":320,"satellites":44,"speed":28,"hex_longitude":"2cf68780","hex_latitude":"070b2ee0","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503791360001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385813575010091008,"note":"Value kept but may cause issues"} 
[2026-08-19 12:58:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-677158394970392576,"note":"Value kept but may cause issues"} 
[2026-08-19 12:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787124198000,"timestamp_ms":1787124198000,"timestamp_seconds":1787124198,"priority":1,"record_length":96,"hex_timestamp":"000001a018e72a70"} 
[2026-08-19 12:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 12:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503791360001,"66":27767,"32":206,"2":54272,"24":28,"16":385813575010091008,"44":-677158394970392576},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 12:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503791360001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:58:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 12:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385813575010091008,"km_value":385813575010091.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:58:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-677158394970392576,"description":"Unknown IO ID 44"} 
[2026-08-19 12:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503791360001,"power":27767,"unknown_32":206,"power_alt":54272,"ignition":28,"odometer":null,"unknown_44":-677158394970392576}} 
[2026-08-19 12:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":158802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:58:06] local.INFO: GPS data processed {"connection_id":158802,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:58:06] local.INFO: Acknowledgment sent {"connection_id":158802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:58:09] local.INFO: TCP Data received {"connection_id":158803,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:58:09] local.INFO: Processing buffer {"connection_id":158803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:58:09] local.INFO: IMEI packet received {"connection_id":158803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":158803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:58:14] local.INFO: TCP Data received {"connection_id":158803,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:58:14] local.INFO: Processing buffer {"connection_id":158803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:58:14] local.INFO: IMEI packet received {"connection_id":158803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":158803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:58:15] local.INFO: TCP Data received {"connection_id":158803,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e866d8012d196880071fee00003d011b2b..."} 
[2026-08-19 12:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e866d8012d196880071fee00003d011b2b..."} 
[2026-08-19 12:58:15] local.INFO: Processing buffer {"connection_id":158803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e866d8012d196880071fee00003d011b2b..."} 
[2026-08-19 12:58:15] local.INFO: Packet analysis {"connection_id":158803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e8"} 
[2026-08-19 12:58:15] local.INFO: Extracted packet for processing {"connection_id":158803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e8"} 
[2026-08-19 12:58:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 12:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503810048001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 12:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787124279000,"timestamp_ms":1787124279000,"timestamp_seconds":1787124279,"priority":1,"record_length":96,"hex_timestamp":"000001a018e866d8"} 
[2026-08-19 12:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:58: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-08-19 12:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-19 12:58:15] 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-08-19 12:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503810048001,"66":12689,"131":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-19 12:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503810048001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:58:15] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-19 12:58:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 12:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503810048001,"power":12689,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 12:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":158803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:58:16] local.INFO: GPS data processed {"connection_id":158803,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:58:16] local.INFO: Acknowledgment sent {"connection_id":158803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:58:37] local.INFO: TCP Data received {"connection_id":158802,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e75180012cf66ec0070b47d0000501382e..."} 
[2026-08-19 12:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e75180012cf66ec0070b47d0000501382e..."} 
[2026-08-19 12:58:37] local.INFO: Processing buffer {"connection_id":158802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e75180012cf66ec0070b47d0000501382e..."} 
[2026-08-19 12:58:37] local.INFO: Packet analysis {"connection_id":158802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e7"} 
[2026-08-19 12:58:37] local.INFO: Extracted packet for processing {"connection_id":158802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e7"} 
[2026-08-19 12:58:37] local.INFO: GPS Element Parsed {"raw_longitude":754347712,"raw_latitude":118179792,"longitude_deg":75.4347712,"latitude_deg":11.8179792,"altitude":5,"angle":312,"satellites":46,"speed":41,"hex_longitude":"2cf66ec0","hex_latitude":"070b47d0","is_valid_coordinates":true} 
[2026-08-19 12:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503794688001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814004506820608,"note":"Value kept but may cause issues"} 
[2026-08-19 12:58:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-682436050782593024,"note":"Value kept but may cause issues"} 
[2026-08-19 12:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787124208000,"timestamp_ms":1787124208000,"timestamp_seconds":1787124208,"priority":1,"record_length":96,"hex_timestamp":"000001a018e75180"} 
[2026-08-19 12:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:58: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-08-19 12:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 12:58:37] 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-08-19 12:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503794688001,"66":27310,"32":206,"2":54272,"24":41,"16":385814004506820608,"44":-682436050782593024},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 12:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503794688001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:58:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 12:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814004506820608,"km_value":385814004506820.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:58:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-682436050782593024,"description":"Unknown IO ID 44"} 
[2026-08-19 12:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503794688001,"power":27310,"unknown_32":206,"power_alt":54272,"ignition":41,"odometer":null,"unknown_44":-682436050782593024}} 
[2026-08-19 12:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":158802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:58:37] local.INFO: GPS data processed {"connection_id":158802,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:58:37] local.INFO: Acknowledgment sent {"connection_id":158802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:58:47] local.INFO: TCP Data received {"connection_id":158803,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e8b8e0012d196880071fee00003d011b2a..."} 
[2026-08-19 12:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e8b8e0012d196880071fee00003d011b2a..."} 
[2026-08-19 12:58:47] local.INFO: Processing buffer {"connection_id":158803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e8b8e0012d196880071fee00003d011b2a..."} 
[2026-08-19 12:58:47] local.INFO: Packet analysis {"connection_id":158803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e8"} 
[2026-08-19 12:58:47] local.INFO: Extracted packet for processing {"connection_id":158803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e8"} 
[2026-08-19 12:58:47] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503815424001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 12:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:58: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-08-19 12:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787124300000,"timestamp_ms":1787124300000,"timestamp_seconds":1787124300,"priority":1,"record_length":96,"hex_timestamp":"000001a018e8b8e0"} 
[2026-08-19 12:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 12:58:47] 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-08-19 12: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-08-19 12:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503815424001,"66":12613,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503815424001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:58:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:58:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 12:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503815424001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 12:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":158803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:58:47] local.INFO: GPS data processed {"connection_id":158803,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:58:47] local.INFO: Acknowledgment sent {"connection_id":158803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:59:04] local.INFO: TCP Data received {"connection_id":157934,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:59:04] local.INFO: Processing buffer {"connection_id":157934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:59:04] local.INFO: IMEI packet received {"connection_id":157934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":157934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:59:08] local.INFO: TCP Data received {"connection_id":160115,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:59:08] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:59:08] local.INFO: IMEI packet received {"connection_id":160115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 12:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":160115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 12:59:08] local.INFO: TCP Data received {"connection_id":160115,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:59:08] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:59:08] local.INFO: IMEI packet received {"connection_id":160115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":160115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:59:09] local.INFO: TCP Data received {"connection_id":157934,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:59:09] local.INFO: Processing buffer {"connection_id":157934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:59:09] local.INFO: IMEI packet received {"connection_id":157934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 12:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":157934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:59:11] local.INFO: TCP Data received {"connection_id":157934,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e774a8012cf653c0070b63b00006013f2a..."} 
[2026-08-19 12:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e774a8012cf653c0070b63b00006013f2a..."} 
[2026-08-19 12:59:11] local.INFO: Processing buffer {"connection_id":157934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e774a8012cf653c0070b63b00006013f2a..."} 
[2026-08-19 12:59:11] local.INFO: Packet analysis {"connection_id":157934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e7"} 
[2026-08-19 12:59:11] local.INFO: Extracted packet for processing {"connection_id":157934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e7"} 
[2026-08-19 12:59:11] local.INFO: GPS Element Parsed {"raw_longitude":754340800,"raw_latitude":118186928,"longitude_deg":75.43408,"latitude_deg":11.8186928,"altitude":6,"angle":319,"satellites":42,"speed":46,"hex_longitude":"2cf653c0","hex_latitude":"070b63b0","is_valid_coordinates":true} 
[2026-08-19 12:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503797248001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814481248190464,"note":"Value kept but may cause issues"} 
[2026-08-19 12:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-689402556454547456,"note":"Value kept but may cause issues"} 
[2026-08-19 12:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787124217000,"timestamp_ms":1787124217000,"timestamp_seconds":1787124217,"priority":1,"record_length":96,"hex_timestamp":"000001a018e774a8"} 
[2026-08-19 12:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 12:59:11] 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-08-19 12:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503797248001,"66":27908,"32":206,"2":54272,"24":46,"16":385814481248190464,"44":-689402556454547456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 12:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503797248001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:59:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 12:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814481248190464,"km_value":385814481248190.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-689402556454547456,"description":"Unknown IO ID 44"} 
[2026-08-19 12:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503797248001,"power":27908,"unknown_32":206,"power_alt":54272,"ignition":46,"odometer":null,"unknown_44":-689402556454547456}} 
[2026-08-19 12:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":157934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:59:11] local.INFO: GPS data processed {"connection_id":157934,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:59:11] local.INFO: Acknowledgment sent {"connection_id":157934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:59:14] local.INFO: TCP Data received {"connection_id":160115,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:59:14] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 12:59:14] local.INFO: IMEI packet received {"connection_id":160115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 12:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":160115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 12:59:15] local.INFO: TCP Data received {"connection_id":160115,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e90ae8012d196880071fee00003d011b2a..."} 
[2026-08-19 12:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e90ae8012d196880071fee00003d011b2a..."} 
[2026-08-19 12:59:15] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e90ae8012d196880071fee00003d011b2a..."} 
[2026-08-19 12:59:15] local.INFO: Packet analysis {"connection_id":160115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e9"} 
[2026-08-19 12:59:15] local.INFO: Extracted packet for processing {"connection_id":160115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e9"} 
[2026-08-19 12:59:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503820800001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 12:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:59: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-08-19 12:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787124321000,"timestamp_ms":1787124321000,"timestamp_seconds":1787124321,"priority":1,"record_length":96,"hex_timestamp":"000001a018e90ae8"} 
[2026-08-19 12:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:59: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-08-19 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-19 12:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503820800001,"66":12645,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503820800001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:59:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:59:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 12:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503820800001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 12:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":160115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:59:15] local.INFO: GPS data processed {"connection_id":160115,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:59:15] local.INFO: Acknowledgment sent {"connection_id":160115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:59:16] local.INFO: TCP Data received {"connection_id":157934,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018e77890012cf650c0070b66f80006013e2b..."} 
[2026-08-19 12:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e77890012cf650c0070b66f80006013e2b..."} 
[2026-08-19 12:59:16] local.INFO: Processing buffer {"connection_id":157934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e77890012cf650c0070b66f80006013e2b..."} 
[2026-08-19 12:59:16] local.INFO: Packet analysis {"connection_id":157934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e7"} 
[2026-08-19 12:59:16] local.INFO: Extracted packet for processing {"connection_id":157934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e7"} 
[2026-08-19 12:59:16] local.INFO: GPS Element Parsed {"raw_longitude":754340032,"raw_latitude":118187768,"longitude_deg":75.4340032,"latitude_deg":11.8187768,"altitude":6,"angle":318,"satellites":43,"speed":46,"hex_longitude":"2cf650c0","hex_latitude":"070b66f8","is_valid_coordinates":true} 
[2026-08-19 12:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 12:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503799552001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 12:59:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-697002380823908352,"note":"Value kept but may cause issues"} 
[2026-08-19 12:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 12:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787124218000,"timestamp_ms":1787124218000,"timestamp_seconds":1787124218,"priority":1,"record_length":96,"hex_timestamp":"000001a018e77890"} 
[2026-08-19 12:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 12:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 12:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 12:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 12:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 12:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503799552001,"66":27919,"32":206,"2":54272,"24":46,"16":385814537082765312,"44":-697002380823908352},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 12:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 12:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 12:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503799552001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:59:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 12:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:59:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-697002380823908352,"description":"Unknown IO ID 44"} 
[2026-08-19 12:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503799552001,"power":27919,"unknown_32":206,"power_alt":54272,"ignition":46,"odometer":null,"unknown_44":-697002380823908352}} 
[2026-08-19 12:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":157934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:59:16] local.INFO: GPS data processed {"connection_id":157934,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:59:16] local.INFO: Acknowledgment sent {"connection_id":157934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:59:47] local.INFO: TCP Data received {"connection_id":160115,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e95cf0012d196880071fee00003d011b2b..."} 
[2026-08-19 12:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e95cf0012d196880071fee00003d011b2b..."} 
[2026-08-19 12:59:47] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e95cf0012d196880071fee00003d011b2b..."} 
[2026-08-19 12:59:47] local.INFO: Packet analysis {"connection_id":160115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e9"} 
[2026-08-19 12:59:47] local.INFO: Extracted packet for processing {"connection_id":160115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e9"} 
[2026-08-19 12:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 12: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-08-19 12:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503826176001,"note":"Value kept but may cause issues"} 
[2026-08-19 12:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 12:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 12:59: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-08-19 12:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787124342000,"timestamp_ms":1787124342000,"timestamp_seconds":1787124342,"priority":1,"record_length":96,"hex_timestamp":"000001a018e95cf0"} 
[2026-08-19 12:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 12:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 12: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-19 12:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 12: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-08-19 12:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 12:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 12:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 12:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 12:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 12:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 12:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 12:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503826176001,"66":12667,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 12:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 12:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 12:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503826176001,"description":"Unknown IO ID 0"} 
[2026-08-19 12:59:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 12:59:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 12:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 12:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 12:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503826176001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 12:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":160115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 12:59:47] local.INFO: GPS data processed {"connection_id":160115,"processed":1,"errors":0,"total":1} 
[2026-08-19 12:59:47] local.INFO: Acknowledgment sent {"connection_id":160115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 12:59:59] local.INFO: TCP Data received {"connection_id":158804,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:59:59] local.INFO: Processing buffer {"connection_id":158804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 12:59:59] local.INFO: IMEI packet received {"connection_id":158804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 12:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":158804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:00:04] local.INFO: TCP Data received {"connection_id":158804,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:00:04] local.INFO: Processing buffer {"connection_id":158804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:00:04] local.INFO: IMEI packet received {"connection_id":158804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":158804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:00:06] local.INFO: TCP Data received {"connection_id":158804,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:00:06] local.INFO: Processing buffer {"connection_id":158804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:00:06] local.INFO: Packet analysis {"connection_id":158804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:00:06] local.INFO: Extracted packet for processing {"connection_id":158804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:00:06] local.INFO: GPS Element Parsed {"raw_longitude":754328128,"raw_latitude":118203360,"longitude_deg":75.4328128,"latitude_deg":11.820336,"altitude":7,"angle":318,"satellites":48,"speed":0,"hex_longitude":"2cf62240","hex_latitude":"070ba3e0","is_valid_coordinates":true} 
[2026-08-19 13:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503799808001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:00:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-697846805753825280,"note":"Value kept but may cause issues"} 
[2026-08-19 13:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787124522000,"timestamp_ms":1787124522000,"timestamp_seconds":1787124522,"priority":1,"record_length":96,"hex_timestamp":"000001a018ec1c10"} 
[2026-08-19 13:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:00:06] 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-08-19 13:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503799808001,"66":26452,"209":206,"2":54272,"24":0,"16":385814537082765312,"44":-697846805753825280},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-19 13:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503799808001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:00:06] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 13:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:00:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-697846805753825280,"description":"Unknown IO ID 44"} 
[2026-08-19 13:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503799808001,"power":26452,"unknown_209":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-697846805753825280}} 
[2026-08-19 13:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":158804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:00:06] local.INFO: GPS data processed {"connection_id":158804,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:00:06] local.INFO: Acknowledgment sent {"connection_id":158804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:00:09] local.INFO: TCP Data received {"connection_id":157561,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:00:09] local.INFO: Processing buffer {"connection_id":157561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:00:09] local.INFO: IMEI packet received {"connection_id":157561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":157561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:00:11] local.INFO: TCP Data received {"connection_id":157561,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:00:11] local.INFO: Processing buffer {"connection_id":157561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:00:11] local.INFO: IMEI packet received {"connection_id":157561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":157561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:00:14] local.INFO: TCP Data received {"connection_id":157561,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:00:14] local.INFO: Processing buffer {"connection_id":157561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:00:14] local.INFO: IMEI packet received {"connection_id":157561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":157561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:00:15] local.INFO: TCP Data received {"connection_id":157561,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018e9aef8012d196880071fee00003d011b2c..."} 
[2026-08-19 13:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018e9aef8012d196880071fee00003d011b2c..."} 
[2026-08-19 13:00:15] local.INFO: Processing buffer {"connection_id":157561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018e9aef8012d196880071fee00003d011b2c..."} 
[2026-08-19 13:00:15] local.INFO: Packet analysis {"connection_id":157561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018e9"} 
[2026-08-19 13:00:15] local.INFO: Extracted packet for processing {"connection_id":157561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018e9"} 
[2026-08-19 13:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503831552001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:00: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-08-19 13:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787124363000,"timestamp_ms":1787124363000,"timestamp_seconds":1787124363,"priority":1,"record_length":96,"hex_timestamp":"000001a018e9aef8"} 
[2026-08-19 13:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:00: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-08-19 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-19 13:00:15] 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-08-19 13: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-08-19 13:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503831552001,"66":12580,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503831552001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:00:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:00:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503831552001,"power":12580,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":157561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:00:15] local.INFO: GPS data processed {"connection_id":157561,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:00:15] local.INFO: Acknowledgment sent {"connection_id":157561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:00:37] local.INFO: TCP Data received {"connection_id":158804,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:00:37] local.INFO: Processing buffer {"connection_id":158804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:00:37] local.INFO: Packet analysis {"connection_id":158804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:00:37] local.INFO: Extracted packet for processing {"connection_id":158804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:00:37] local.INFO: GPS Element Parsed {"raw_longitude":754328128,"raw_latitude":118203360,"longitude_deg":75.4328128,"latitude_deg":11.820336,"altitude":7,"angle":318,"satellites":48,"speed":0,"hex_longitude":"2cf62240","hex_latitude":"070ba3e0","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503799808001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:00:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-697846805753825280,"note":"Value kept but may cause issues"} 
[2026-08-19 13:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787124522000,"timestamp_ms":1787124522000,"timestamp_seconds":1787124522,"priority":1,"record_length":96,"hex_timestamp":"000001a018ec1c10"} 
[2026-08-19 13:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:00:37] 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-08-19 13: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-08-19 13:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503799808001,"66":26452,"209":206,"2":54272,"24":0,"16":385814537082765312,"44":-697846805753825280},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-19 13:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503799808001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:00:37] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 13:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:00:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-697846805753825280,"description":"Unknown IO ID 44"} 
[2026-08-19 13:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503799808001,"power":26452,"unknown_209":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-697846805753825280}} 
[2026-08-19 13:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":158804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:00:37] local.INFO: GPS data processed {"connection_id":158804,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:00:37] local.INFO: Acknowledgment sent {"connection_id":158804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:00:46] local.INFO: TCP Data received {"connection_id":157561,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ea0100012d196880071fee00003d011b2d..."} 
[2026-08-19 13:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ea0100012d196880071fee00003d011b2d..."} 
[2026-08-19 13:00:46] local.INFO: Processing buffer {"connection_id":157561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ea0100012d196880071fee00003d011b2d..."} 
[2026-08-19 13:00:46] local.INFO: Packet analysis {"connection_id":157561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ea"} 
[2026-08-19 13:00:46] local.INFO: Extracted packet for processing {"connection_id":157561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ea"} 
[2026-08-19 13:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503836928001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:00: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-08-19 13:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787124384000,"timestamp_ms":1787124384000,"timestamp_seconds":1787124384,"priority":1,"record_length":96,"hex_timestamp":"000001a018ea0100"} 
[2026-08-19 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-08-19 13:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-19 13:00:46] 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-08-19 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-08-19 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-08-19 13:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503836928001,"66":12613,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503836928001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:00:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:00:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503836928001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":157561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:00:47] local.INFO: GPS data processed {"connection_id":157561,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:00:47] local.INFO: Acknowledgment sent {"connection_id":157561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:00:59] local.INFO: TCP Data received {"connection_id":160116,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:00:59] local.INFO: Processing buffer {"connection_id":160116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:00:59] local.INFO: IMEI packet received {"connection_id":160116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":160116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:01:05] local.INFO: TCP Data received {"connection_id":160116,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:01:05] local.INFO: Processing buffer {"connection_id":160116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:01:05] local.INFO: IMEI packet received {"connection_id":160116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":160116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:01:07] local.INFO: TCP Data received {"connection_id":160116,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:01:07] local.INFO: Processing buffer {"connection_id":160116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:01:07] local.INFO: Packet analysis {"connection_id":160116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:01:07] local.INFO: Extracted packet for processing {"connection_id":160116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:01:07] local.INFO: GPS Element Parsed {"raw_longitude":754328128,"raw_latitude":118203360,"longitude_deg":75.4328128,"latitude_deg":11.820336,"altitude":7,"angle":318,"satellites":48,"speed":0,"hex_longitude":"2cf62240","hex_latitude":"070ba3e0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503799808001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-697846805753825280,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787124522000,"timestamp_ms":1787124522000,"timestamp_seconds":1787124522,"priority":1,"record_length":96,"hex_timestamp":"000001a018ec1c10"} 
[2026-08-19 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-08-19 13:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:01:07] 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-08-19 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-08-19 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-08-19 13:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503799808001,"66":26452,"209":206,"2":54272,"24":0,"16":385814537082765312,"44":-697846805753825280},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-19 13:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503799808001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:01:07] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 13:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:01:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-697846805753825280,"description":"Unknown IO ID 44"} 
[2026-08-19 13:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503799808001,"power":26452,"unknown_209":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-697846805753825280}} 
[2026-08-19 13:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":160116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:01:07] local.INFO: GPS data processed {"connection_id":160116,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:01:07] local.INFO: Acknowledgment sent {"connection_id":160116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:01:08] local.INFO: TCP Data received {"connection_id":160117,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:01:08] local.INFO: Processing buffer {"connection_id":160117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:01:08] local.INFO: IMEI packet received {"connection_id":160117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":160117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:01:14] local.INFO: TCP Data received {"connection_id":160117,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:01:14] local.INFO: Processing buffer {"connection_id":160117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:01:14] local.INFO: IMEI packet received {"connection_id":160117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":160117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:01:15] local.INFO: TCP Data received {"connection_id":160117,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ea5308012d196880071fee00003d011b2a..."} 
[2026-08-19 13:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ea5308012d196880071fee00003d011b2a..."} 
[2026-08-19 13:01:15] local.INFO: Processing buffer {"connection_id":160117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ea5308012d196880071fee00003d011b2a..."} 
[2026-08-19 13:01:15] local.INFO: Packet analysis {"connection_id":160117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ea"} 
[2026-08-19 13:01:15] local.INFO: Extracted packet for processing {"connection_id":160117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ea"} 
[2026-08-19 13:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503842304001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01: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-08-19 13:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787124405000,"timestamp_ms":1787124405000,"timestamp_seconds":1787124405,"priority":1,"record_length":96,"hex_timestamp":"000001a018ea5308"} 
[2026-08-19 13:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:01: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-08-19 13:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-19 13:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503842304001,"66":12558,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503842304001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:01:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:01:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503842304001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":160117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:01:15] local.INFO: GPS data processed {"connection_id":160117,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:01:15] local.INFO: Acknowledgment sent {"connection_id":160117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:01:39] local.INFO: TCP Data received {"connection_id":160116,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:01:39] local.INFO: Processing buffer {"connection_id":160116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:01:39] local.INFO: Packet analysis {"connection_id":160116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:01:39] local.INFO: Extracted packet for processing {"connection_id":160116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:01:39] local.INFO: GPS Element Parsed {"raw_longitude":754328128,"raw_latitude":118203360,"longitude_deg":75.4328128,"latitude_deg":11.820336,"altitude":7,"angle":318,"satellites":48,"speed":0,"hex_longitude":"2cf62240","hex_latitude":"070ba3e0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503799808001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-697846805753825280,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787124522000,"timestamp_ms":1787124522000,"timestamp_seconds":1787124522,"priority":1,"record_length":96,"hex_timestamp":"000001a018ec1c10"} 
[2026-08-19 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-08-19 13:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:01:39] 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-08-19 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-08-19 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-08-19 13:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503799808001,"66":26452,"209":206,"2":54272,"24":0,"16":385814537082765312,"44":-697846805753825280},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-19 13:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503799808001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:01:39] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 13:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:01:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-697846805753825280,"description":"Unknown IO ID 44"} 
[2026-08-19 13:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503799808001,"power":26452,"unknown_209":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-697846805753825280}} 
[2026-08-19 13:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":160116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:01:39] local.INFO: GPS data processed {"connection_id":160116,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:01:39] local.INFO: Acknowledgment sent {"connection_id":160116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:01:46] local.INFO: TCP Data received {"connection_id":160117,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018eaa510012d196880071fee00003d011b2e..."} 
[2026-08-19 13:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018eaa510012d196880071fee00003d011b2e..."} 
[2026-08-19 13:01:46] local.INFO: Processing buffer {"connection_id":160117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018eaa510012d196880071fee00003d011b2e..."} 
[2026-08-19 13:01:46] local.INFO: Packet analysis {"connection_id":160117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ea"} 
[2026-08-19 13:01:46] local.INFO: Extracted packet for processing {"connection_id":160117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ea"} 
[2026-08-19 13:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":46,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503847680001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01: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-08-19 13:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787124426000,"timestamp_ms":1787124426000,"timestamp_seconds":1787124426,"priority":1,"record_length":96,"hex_timestamp":"000001a018eaa510"} 
[2026-08-19 13:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-19 13:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:46] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3909806081,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:46] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743505209159168,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3992977469,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 13:01:46] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:46] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3099525120,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:46] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-9006972633006204928,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:46] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-19 13:01:46] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,184,160,1,45,128,238,61,10,66,174,44,92,240,123,31,4,113,205,104,42,239,49,2,48,7,231,74,206],"length":575,"final_offset":705,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 13:01:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395824578492891136,"timestamp_seconds":4395824578492891.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 13:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503847680001,"66":12602,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503847680001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:01:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:01:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503847680001,"power":12602,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":160117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:01:47] local.INFO: GPS data processed {"connection_id":160117,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:01:47] local.INFO: Acknowledgment sent {"connection_id":160117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:01:59] local.INFO: TCP Data received {"connection_id":157562,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:01:59] local.INFO: Processing buffer {"connection_id":157562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:01:59] local.INFO: IMEI packet received {"connection_id":157562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":157562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:02:04] local.INFO: TCP Data received {"connection_id":157562,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:02:04] local.INFO: Processing buffer {"connection_id":157562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:02:04] local.INFO: IMEI packet received {"connection_id":157562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":157562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:02:06] local.INFO: TCP Data received {"connection_id":157562,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:02:06] local.INFO: Processing buffer {"connection_id":157562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:02:06] local.INFO: Packet analysis {"connection_id":157562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:02:06] local.INFO: Extracted packet for processing {"connection_id":157562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:02:06] local.INFO: GPS Element Parsed {"raw_longitude":754328128,"raw_latitude":118203360,"longitude_deg":75.4328128,"latitude_deg":11.820336,"altitude":7,"angle":318,"satellites":48,"speed":0,"hex_longitude":"2cf62240","hex_latitude":"070ba3e0","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503799808001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-697846805753825280,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787124522000,"timestamp_ms":1787124522000,"timestamp_seconds":1787124522,"priority":1,"record_length":96,"hex_timestamp":"000001a018ec1c10"} 
[2026-08-19 13:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:02:06] 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-08-19 13: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-08-19 13:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503799808001,"66":26452,"209":206,"2":54272,"24":0,"16":385814537082765312,"44":-697846805753825280},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-19 13:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503799808001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:02:06] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 13:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:02:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-697846805753825280,"description":"Unknown IO ID 44"} 
[2026-08-19 13:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503799808001,"power":26452,"unknown_209":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-697846805753825280}} 
[2026-08-19 13:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":157562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:02:06] local.INFO: GPS data processed {"connection_id":157562,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:02:06] local.INFO: Acknowledgment sent {"connection_id":157562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:02:09] local.INFO: TCP Data received {"connection_id":157935,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:02:09] local.INFO: Processing buffer {"connection_id":157935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:02:09] local.INFO: IMEI packet received {"connection_id":157935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":157935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:02:13] local.INFO: TCP Data received {"connection_id":157935,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:02:13] local.INFO: Processing buffer {"connection_id":157935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:02:13] local.INFO: IMEI packet received {"connection_id":157935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":157935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:02:15] local.INFO: TCP Data received {"connection_id":157935,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018eaf718012d196880071fee00003d011b2c..."} 
[2026-08-19 13:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018eaf718012d196880071fee00003d011b2c..."} 
[2026-08-19 13:02:15] local.INFO: Processing buffer {"connection_id":157935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018eaf718012d196880071fee00003d011b2c..."} 
[2026-08-19 13:02:15] local.INFO: Packet analysis {"connection_id":157935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ea"} 
[2026-08-19 13:02:15] local.INFO: Extracted packet for processing {"connection_id":157935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ea"} 
[2026-08-19 13:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503853056001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02: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-08-19 13:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787124447000,"timestamp_ms":1787124447000,"timestamp_seconds":1787124447,"priority":1,"record_length":96,"hex_timestamp":"000001a018eaf718"} 
[2026-08-19 13:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:02: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-08-19 13:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-19 13:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503853056001,"66":12558,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503853056001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:02:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:02:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503853056001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":157935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:02:15] local.INFO: GPS data processed {"connection_id":157935,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:02:15] local.INFO: Acknowledgment sent {"connection_id":157935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:02:22] local.INFO: TCP Data received {"connection_id":157935,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018eb4920012d196880071fee00003d011b2c..."} 
[2026-08-19 13:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018eb4920012d196880071fee00003d011b2c..."} 
[2026-08-19 13:02:22] local.INFO: Processing buffer {"connection_id":157935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018eb4920012d196880071fee00003d011b2c..."} 
[2026-08-19 13:02:22] local.INFO: Packet analysis {"connection_id":157935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018eb"} 
[2026-08-19 13:02:22] local.INFO: Extracted packet for processing {"connection_id":157935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018eb"} 
[2026-08-19 13:02:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503858432001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02: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-08-19 13:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787124468000,"timestamp_ms":1787124468000,"timestamp_seconds":1787124468,"priority":1,"record_length":96,"hex_timestamp":"000001a018eb4920"} 
[2026-08-19 13:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:02: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-08-19 13:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-19 13:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:22] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3920558081,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:22] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743505209159168,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3992977469,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 13:02:22] local.WARNING: Large IO value detected {"io_id":92,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:22] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:22] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3099525120,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:22] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:22] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:22] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:22] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,184,160,165,45,128,238,61,46,10,66,83,42,1,240,69,31,4,113,205,92,104,43,239,49,2,48,7,231,74,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 13:02:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395824587082825728,"timestamp_seconds":4395824587082825.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 13:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":157935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":157935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":157935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503858432001,"66":12558,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503858432001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:02:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:02:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503858432001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":157935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:02:22] local.INFO: GPS data processed {"connection_id":157935,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:02:22] local.INFO: Acknowledgment sent {"connection_id":157935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:02:38] local.INFO: TCP Data received {"connection_id":157562,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:02:38] local.INFO: Processing buffer {"connection_id":157562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:02:38] local.INFO: Packet analysis {"connection_id":157562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:02:38] local.INFO: Extracted packet for processing {"connection_id":157562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:02:38] local.INFO: GPS Element Parsed {"raw_longitude":754328128,"raw_latitude":118203360,"longitude_deg":75.4328128,"latitude_deg":11.820336,"altitude":7,"angle":318,"satellites":48,"speed":0,"hex_longitude":"2cf62240","hex_latitude":"070ba3e0","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503799808001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-697846805753825280,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787124522000,"timestamp_ms":1787124522000,"timestamp_seconds":1787124522,"priority":1,"record_length":96,"hex_timestamp":"000001a018ec1c10"} 
[2026-08-19 13:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:02:38] 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-08-19 13: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-08-19 13:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503799808001,"66":26452,"209":206,"2":54272,"24":0,"16":385814537082765312,"44":-697846805753825280},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-19 13:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503799808001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:02:38] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 13:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:02:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-697846805753825280,"description":"Unknown IO ID 44"} 
[2026-08-19 13:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503799808001,"power":26452,"unknown_209":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-697846805753825280}} 
[2026-08-19 13:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":157562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:02:38] local.INFO: GPS data processed {"connection_id":157562,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:02:38] local.INFO: Acknowledgment sent {"connection_id":157562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:02:54] local.INFO: TCP Data received {"connection_id":157935,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018eb9b28012d196880071fee00003d011b2b..."} 
[2026-08-19 13:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018eb9b28012d196880071fee00003d011b2b..."} 
[2026-08-19 13:02:54] local.INFO: Processing buffer {"connection_id":157935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018eb9b28012d196880071fee00003d011b2b..."} 
[2026-08-19 13:02:54] local.INFO: Packet analysis {"connection_id":157935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018eb"} 
[2026-08-19 13:02:54] local.INFO: Extracted packet for processing {"connection_id":157935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018eb"} 
[2026-08-19 13:02:54] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503863808001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787124489000,"timestamp_ms":1787124489000,"timestamp_seconds":1787124489,"priority":1,"record_length":96,"hex_timestamp":"000001a018eb9b28"} 
[2026-08-19 13:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:02:54] 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-08-19 13:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-19 13:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:54] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3925934081,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:54] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:54] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":6145,"corrected_to":0} 
[2026-08-19 13:02:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743505209159168,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:54] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3992977469,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 13:02:54] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:54] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:54] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3099525120,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:54] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:54] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:54] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-19 13:02:54] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,184,160,247,45,128,238,61,44,10,66,165,46,83,1,240,14,31,4,113,205,174,104,239,49,2,48,7,231,74,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":247,"original":6145,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 13:02:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395824587082825728,"timestamp_seconds":4395824587082825.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 13:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":157935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":157935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":157935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503863808001,"66":12558,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503863808001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:02:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:02:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503863808001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":157935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:02:54] local.INFO: GPS data processed {"connection_id":157935,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:02:54] local.INFO: Acknowledgment sent {"connection_id":157935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:02:59] local.INFO: TCP Data received {"connection_id":160118,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:02:59] local.INFO: Processing buffer {"connection_id":160118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:02:59] local.INFO: IMEI packet received {"connection_id":160118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":160118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:03:04] local.INFO: TCP Data received {"connection_id":160118,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:03:04] local.INFO: Processing buffer {"connection_id":160118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:03:04] local.INFO: IMEI packet received {"connection_id":160118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":160118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:03:08] local.INFO: TCP Data received {"connection_id":160118,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:03:08] local.INFO: Processing buffer {"connection_id":160118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:03:08] local.INFO: Packet analysis {"connection_id":160118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:03:08] local.INFO: Extracted packet for processing {"connection_id":160118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:03:08] local.INFO: GPS Element Parsed {"raw_longitude":754328128,"raw_latitude":118203360,"longitude_deg":75.4328128,"latitude_deg":11.820336,"altitude":7,"angle":318,"satellites":48,"speed":0,"hex_longitude":"2cf62240","hex_latitude":"070ba3e0","is_valid_coordinates":true} 
[2026-08-19 13:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503799808001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-697846805753825280,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787124522000,"timestamp_ms":1787124522000,"timestamp_seconds":1787124522,"priority":1,"record_length":96,"hex_timestamp":"000001a018ec1c10"} 
[2026-08-19 13:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503799808001,"66":26452,"209":206,"2":54272,"24":0,"16":385814537082765312,"44":-697846805753825280},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-19 13:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503799808001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:03:08] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 13:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:03:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-697846805753825280,"description":"Unknown IO ID 44"} 
[2026-08-19 13:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503799808001,"power":26452,"unknown_209":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-697846805753825280}} 
[2026-08-19 13:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":160118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:03:08] local.INFO: GPS data processed {"connection_id":160118,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:03:08] local.INFO: Acknowledgment sent {"connection_id":160118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:03:09] local.INFO: TCP Data received {"connection_id":157936,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:03:09] local.INFO: Processing buffer {"connection_id":157936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:03:09] local.INFO: IMEI packet received {"connection_id":157936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":157936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:03:14] local.INFO: TCP Data received {"connection_id":157936,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:03:14] local.INFO: Processing buffer {"connection_id":157936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:03:14] local.INFO: IMEI packet received {"connection_id":157936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":157936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:03:15] local.INFO: TCP Data received {"connection_id":157936,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ebed30012d196880071fee00003d011b2c..."} 
[2026-08-19 13:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ebed30012d196880071fee00003d011b2c..."} 
[2026-08-19 13:03:15] local.INFO: Processing buffer {"connection_id":157936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ebed30012d196880071fee00003d011b2c..."} 
[2026-08-19 13:03:15] local.INFO: Packet analysis {"connection_id":157936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018eb"} 
[2026-08-19 13:03:15] local.INFO: Extracted packet for processing {"connection_id":157936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018eb"} 
[2026-08-19 13:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503869184001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03: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-08-19 13:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787124510000,"timestamp_ms":1787124510000,"timestamp_seconds":1787124510,"priority":1,"record_length":96,"hex_timestamp":"000001a018ebed30"} 
[2026-08-19 13:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:03: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-08-19 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-19 13:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:15] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3931310081,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:15] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:15] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":6145,"corrected_to":0} 
[2026-08-19 13:03:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743505209159168,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3992977469,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 13:03:15] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:15] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3099525120,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:15] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:15] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:15] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:15] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,184,160,73,45,128,238,61,44,10,66,247,165,1,240,58,31,4,113,205,104,239,49,2,48,7,231,74,206],"length":575,"final_offset":705,"validated_count":35,"validation_warnings":[{"io_id":247,"original":6145,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 13:03:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395824582787858432,"timestamp_seconds":4395824582787858.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 13:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503869184001,"66":12537,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503869184001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:03:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:03:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503869184001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":157936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:03:15] local.INFO: GPS data processed {"connection_id":157936,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:03:15] local.INFO: Acknowledgment sent {"connection_id":157936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:03:40] local.INFO: TCP Data received {"connection_id":160118,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:03:40] local.INFO: Processing buffer {"connection_id":160118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:03:40] local.INFO: Packet analysis {"connection_id":160118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:03:40] local.INFO: Extracted packet for processing {"connection_id":160118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:03:40] local.INFO: GPS Element Parsed {"raw_longitude":754328128,"raw_latitude":118203360,"longitude_deg":75.4328128,"latitude_deg":11.820336,"altitude":7,"angle":318,"satellites":48,"speed":0,"hex_longitude":"2cf62240","hex_latitude":"070ba3e0","is_valid_coordinates":true} 
[2026-08-19 13:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503799808001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-697846805753825280,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787124522000,"timestamp_ms":1787124522000,"timestamp_seconds":1787124522,"priority":1,"record_length":96,"hex_timestamp":"000001a018ec1c10"} 
[2026-08-19 13:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503799808001,"66":26452,"209":206,"2":54272,"24":0,"16":385814537082765312,"44":-697846805753825280},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-19 13:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503799808001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:03:40] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 13:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:03:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-697846805753825280,"description":"Unknown IO ID 44"} 
[2026-08-19 13:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503799808001,"power":26452,"unknown_209":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-697846805753825280}} 
[2026-08-19 13:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":160118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:03:40] local.INFO: GPS data processed {"connection_id":160118,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:03:40] local.INFO: Acknowledgment sent {"connection_id":160118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:03:46] local.INFO: TCP Data received {"connection_id":157936,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ef7388012d196880071fee00003d011b2b..."} 
[2026-08-19 13:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ef7388012d196880071fee00003d011b2b..."} 
[2026-08-19 13:03:46] local.INFO: Processing buffer {"connection_id":157936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ef7388012d196880071fee00003d011b2b..."} 
[2026-08-19 13:03:46] local.INFO: Packet analysis {"connection_id":157936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ef"} 
[2026-08-19 13:03:46] local.INFO: Extracted packet for processing {"connection_id":157936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ef"} 
[2026-08-19 13:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503928320001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:03: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-08-19 13:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787124741000,"timestamp_ms":1787124741000,"timestamp_seconds":1787124741,"priority":1,"record_length":96,"hex_timestamp":"000001a018ef7388"} 
[2026-08-19 13:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 13:03:46] 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-08-19 13: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-08-19 13:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503928320001,"66":11569,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503928320001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:03:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:03:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503928320001,"power":11569,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":157936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:03:46] local.INFO: GPS data processed {"connection_id":157936,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:03:46] local.INFO: Acknowledgment sent {"connection_id":157936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:04:08] local.INFO: TCP Data received {"connection_id":157938,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:04:08] local.INFO: Processing buffer {"connection_id":157938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:04:08] local.INFO: IMEI packet received {"connection_id":157938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":157938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:04:11] local.INFO: TCP Data received {"connection_id":157937,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:04:11] local.INFO: Processing buffer {"connection_id":157937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:04:11] local.INFO: IMEI packet received {"connection_id":157937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":157937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:04:11] local.INFO: TCP Data received {"connection_id":157937,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:04:11] local.INFO: Processing buffer {"connection_id":157937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:04:11] local.INFO: IMEI packet received {"connection_id":157937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":157937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:04:12] local.INFO: TCP Data received {"connection_id":157937,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:04:12] local.INFO: Processing buffer {"connection_id":157937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:04:12] local.INFO: Packet analysis {"connection_id":157937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:04:12] local.INFO: Extracted packet for processing {"connection_id":157937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:04:12] local.INFO: GPS Element Parsed {"raw_longitude":754328128,"raw_latitude":118203360,"longitude_deg":75.4328128,"latitude_deg":11.820336,"altitude":7,"angle":318,"satellites":48,"speed":0,"hex_longitude":"2cf62240","hex_latitude":"070ba3e0","is_valid_coordinates":true} 
[2026-08-19 13:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503799808001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-697846805753825280,"note":"Value kept but may cause issues"} 
[2026-08-19 13:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787124522000,"timestamp_ms":1787124522000,"timestamp_seconds":1787124522,"priority":1,"record_length":96,"hex_timestamp":"000001a018ec1c10"} 
[2026-08-19 13:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:04:12] 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-08-19 13:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503799808001,"66":26452,"209":206,"2":54272,"24":0,"16":385814537082765312,"44":-697846805753825280},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-19 13:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503799808001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:04:12] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 13:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-697846805753825280,"description":"Unknown IO ID 44"} 
[2026-08-19 13:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503799808001,"power":26452,"unknown_209":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-697846805753825280}} 
[2026-08-19 13:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":157937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:04:12] local.INFO: GPS data processed {"connection_id":157937,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:04:12] local.INFO: Acknowledgment sent {"connection_id":157937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:04:14] local.INFO: TCP Data received {"connection_id":157938,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:04:14] local.INFO: Processing buffer {"connection_id":157938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:04:14] local.INFO: IMEI packet received {"connection_id":157938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":157938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:04:15] local.INFO: TCP Data received {"connection_id":157938,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018efc590012d196880071fee00003d011b29..."} 
[2026-08-19 13:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018efc590012d196880071fee00003d011b29..."} 
[2026-08-19 13:04:15] local.INFO: Processing buffer {"connection_id":157938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018efc590012d196880071fee00003d011b29..."} 
[2026-08-19 13:04:15] local.INFO: Packet analysis {"connection_id":157938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ef"} 
[2026-08-19 13:04:15] local.INFO: Extracted packet for processing {"connection_id":157938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ef"} 
[2026-08-19 13:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503933696001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:04: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-08-19 13:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787124762000,"timestamp_ms":1787124762000,"timestamp_seconds":1787124762,"priority":1,"record_length":96,"hex_timestamp":"000001a018efc590"} 
[2026-08-19 13:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:04: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-08-19 13:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-08-19 13:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":864,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503933696001,"66":12439,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503933696001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:04:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:04:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503933696001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":157938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:04:15] local.INFO: GPS data processed {"connection_id":157938,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:04:15] local.INFO: Acknowledgment sent {"connection_id":157938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:04:15] local.INFO: TCP Data received {"connection_id":157937,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:04:15] local.INFO: Processing buffer {"connection_id":157937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ec1c10012cf62240070ba3e00007013e30..."} 
[2026-08-19 13:04:15] local.INFO: Packet analysis {"connection_id":157937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:04:15] local.INFO: Extracted packet for processing {"connection_id":157937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ec"} 
[2026-08-19 13:04:15] local.INFO: GPS Element Parsed {"raw_longitude":754328128,"raw_latitude":118203360,"longitude_deg":75.4328128,"latitude_deg":11.820336,"altitude":7,"angle":318,"satellites":48,"speed":0,"hex_longitude":"2cf62240","hex_latitude":"070ba3e0","is_valid_coordinates":true} 
[2026-08-19 13:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503799808001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:04:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-697846805753825280,"note":"Value kept but may cause issues"} 
[2026-08-19 13:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787124522000,"timestamp_ms":1787124522000,"timestamp_seconds":1787124522,"priority":1,"record_length":96,"hex_timestamp":"000001a018ec1c10"} 
[2026-08-19 13:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:04:15] 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-08-19 13:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503799808001,"66":26452,"209":206,"2":54272,"24":0,"16":385814537082765312,"44":-697846805753825280},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-19 13:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503799808001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:04:15] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 13:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:04:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-697846805753825280,"description":"Unknown IO ID 44"} 
[2026-08-19 13:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503799808001,"power":26452,"unknown_209":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-697846805753825280}} 
[2026-08-19 13:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":157937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:04:15] local.INFO: GPS data processed {"connection_id":157937,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:04:15] local.INFO: Acknowledgment sent {"connection_id":157937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:04:46] local.INFO: TCP Data received {"connection_id":157938,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f01798012d196880071fee00003d011b2b..."} 
[2026-08-19 13:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f01798012d196880071fee00003d011b2b..."} 
[2026-08-19 13:04:46] local.INFO: Processing buffer {"connection_id":157938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f01798012d196880071fee00003d011b2b..."} 
[2026-08-19 13:04:46] local.INFO: Packet analysis {"connection_id":157938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f0"} 
[2026-08-19 13:04:46] local.INFO: Extracted packet for processing {"connection_id":157938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f0"} 
[2026-08-19 13:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503939072001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:04: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-08-19 13:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787124783000,"timestamp_ms":1787124783000,"timestamp_seconds":1787124783,"priority":1,"record_length":96,"hex_timestamp":"000001a018f01798"} 
[2026-08-19 13:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-19 13:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503939072001,"66":12504,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503939072001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:04:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:04:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503939072001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":157938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:04:46] local.INFO: GPS data processed {"connection_id":157938,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:04:46] local.INFO: Acknowledgment sent {"connection_id":157938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:04:59] local.INFO: TCP Data received {"connection_id":158805,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:04:59] local.INFO: Processing buffer {"connection_id":158805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:04:59] local.INFO: IMEI packet received {"connection_id":158805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":158805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:05:05] local.INFO: TCP Data received {"connection_id":158805,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:05:05] local.INFO: Processing buffer {"connection_id":158805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:05:05] local.INFO: IMEI packet received {"connection_id":158805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":158805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:05:07] local.INFO: TCP Data received {"connection_id":158805,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f0b3d8012cf62240070ba3e00007013e33..."} 
[2026-08-19 13:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f0b3d8012cf62240070ba3e00007013e33..."} 
[2026-08-19 13:05:07] local.INFO: Processing buffer {"connection_id":158805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f0b3d8012cf62240070ba3e00007013e33..."} 
[2026-08-19 13:05:07] local.INFO: Packet analysis {"connection_id":158805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f0"} 
[2026-08-19 13:05:07] local.INFO: Extracted packet for processing {"connection_id":158805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f0"} 
[2026-08-19 13:05:07] local.INFO: GPS Element Parsed {"raw_longitude":754328128,"raw_latitude":118203360,"longitude_deg":75.4328128,"latitude_deg":11.820336,"altitude":7,"angle":318,"satellites":51,"speed":0,"hex_longitude":"2cf62240","hex_latitude":"070ba3e0","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503877632001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:05:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-710935392166879232,"note":"Value kept but may cause issues"} 
[2026-08-19 13:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787124823000,"timestamp_ms":1787124823000,"timestamp_seconds":1787124823,"priority":1,"record_length":96,"hex_timestamp":"000001a018f0b3d8"} 
[2026-08-19 13:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 13:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503877632001,"66":26158,"209":206,"2":54272,"24":0,"16":385814537082765312,"44":-710935392166879232},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-19 13:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503877632001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:05:07] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 13:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:05:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-710935392166879232,"description":"Unknown IO ID 44"} 
[2026-08-19 13:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503877632001,"power":26158,"unknown_209":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-710935392166879232}} 
[2026-08-19 13:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":158805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:05:07] local.INFO: GPS data processed {"connection_id":158805,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:05:07] local.INFO: Acknowledgment sent {"connection_id":158805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:05:08] local.INFO: TCP Data received {"connection_id":158806,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:05:08] local.INFO: Processing buffer {"connection_id":158806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:05:08] local.INFO: IMEI packet received {"connection_id":158806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":158806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:05:14] local.INFO: TCP Data received {"connection_id":158806,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:05:14] local.INFO: Processing buffer {"connection_id":158806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:05:14] local.INFO: IMEI packet received {"connection_id":158806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":158806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:05:15] local.INFO: TCP Data received {"connection_id":158806,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f069a0012d196880071fee00003d011b2a..."} 
[2026-08-19 13:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f069a0012d196880071fee00003d011b2a..."} 
[2026-08-19 13:05:15] local.INFO: Processing buffer {"connection_id":158806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f069a0012d196880071fee00003d011b2a..."} 
[2026-08-19 13:05:15] local.INFO: Packet analysis {"connection_id":158806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f0"} 
[2026-08-19 13:05:15] local.INFO: Extracted packet for processing {"connection_id":158806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f0"} 
[2026-08-19 13:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503944448001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:05: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-08-19 13:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787124804000,"timestamp_ms":1787124804000,"timestamp_seconds":1787124804,"priority":1,"record_length":96,"hex_timestamp":"000001a018f069a0"} 
[2026-08-19 13:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:05: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-08-19 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 13:05:15] 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-08-19 13: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-08-19 13:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503944448001,"66":12504,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503944448001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:05:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:05:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503944448001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":158806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:05:15] local.INFO: GPS data processed {"connection_id":158806,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:05:15] local.INFO: Acknowledgment sent {"connection_id":158806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:05:39] local.INFO: TCP Data received {"connection_id":158805,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f0b3d8012cf62240070ba3e00007013e33..."} 
[2026-08-19 13:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f0b3d8012cf62240070ba3e00007013e33..."} 
[2026-08-19 13:05:39] local.INFO: Processing buffer {"connection_id":158805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f0b3d8012cf62240070ba3e00007013e33..."} 
[2026-08-19 13:05:39] local.INFO: Packet analysis {"connection_id":158805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f0"} 
[2026-08-19 13:05:39] local.INFO: Extracted packet for processing {"connection_id":158805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f0"} 
[2026-08-19 13:05:39] local.INFO: GPS Element Parsed {"raw_longitude":754328128,"raw_latitude":118203360,"longitude_deg":75.4328128,"latitude_deg":11.820336,"altitude":7,"angle":318,"satellites":51,"speed":0,"hex_longitude":"2cf62240","hex_latitude":"070ba3e0","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503877632001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:05:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-710935392166879232,"note":"Value kept but may cause issues"} 
[2026-08-19 13:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787124823000,"timestamp_ms":1787124823000,"timestamp_seconds":1787124823,"priority":1,"record_length":96,"hex_timestamp":"000001a018f0b3d8"} 
[2026-08-19 13:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:05: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-08-19 13: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 13:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503877632001,"66":26158,"209":206,"2":54272,"24":0,"16":385814537082765312,"44":-710935392166879232},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-19 13:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503877632001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:05:39] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 13:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:05:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-710935392166879232,"description":"Unknown IO ID 44"} 
[2026-08-19 13:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503877632001,"power":26158,"unknown_209":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-710935392166879232}} 
[2026-08-19 13:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":158805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:05:39] local.INFO: GPS data processed {"connection_id":158805,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:05:39] local.INFO: Acknowledgment sent {"connection_id":158805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:05:46] local.INFO: TCP Data received {"connection_id":158806,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f0bba8012d196880071fee00003d011b29..."} 
[2026-08-19 13:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f0bba8012d196880071fee00003d011b29..."} 
[2026-08-19 13:05:46] local.INFO: Processing buffer {"connection_id":158806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f0bba8012d196880071fee00003d011b29..."} 
[2026-08-19 13:05:46] local.INFO: Packet analysis {"connection_id":158806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f0"} 
[2026-08-19 13:05:46] local.INFO: Extracted packet for processing {"connection_id":158806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f0"} 
[2026-08-19 13:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503949824001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:05: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-08-19 13:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787124825000,"timestamp_ms":1787124825000,"timestamp_seconds":1787124825,"priority":1,"record_length":96,"hex_timestamp":"000001a018f0bba8"} 
[2026-08-19 13:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 13:05:46] 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-08-19 13: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-08-19 13:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503949824001,"66":12428,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503949824001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:05:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:05:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503949824001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":158806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:05:46] local.INFO: GPS data processed {"connection_id":158806,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:05:46] local.INFO: Acknowledgment sent {"connection_id":158806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:05:59] local.INFO: TCP Data received {"connection_id":157939,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:05:59] local.INFO: Processing buffer {"connection_id":157939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:05:59] local.INFO: IMEI packet received {"connection_id":157939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":157939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:06:04] local.INFO: TCP Data received {"connection_id":157939,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:06:04] local.INFO: Processing buffer {"connection_id":157939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:06:04] local.INFO: IMEI packet received {"connection_id":157939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":157939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:06:06] local.INFO: TCP Data received {"connection_id":157939,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f0b3d8012cf62240070ba3e00007013e33..."} 
[2026-08-19 13:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f0b3d8012cf62240070ba3e00007013e33..."} 
[2026-08-19 13:06:06] local.INFO: Processing buffer {"connection_id":157939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f0b3d8012cf62240070ba3e00007013e33..."} 
[2026-08-19 13:06:06] local.INFO: Packet analysis {"connection_id":157939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f0"} 
[2026-08-19 13:06:06] local.INFO: Extracted packet for processing {"connection_id":157939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f0"} 
[2026-08-19 13:06:06] local.INFO: GPS Element Parsed {"raw_longitude":754328128,"raw_latitude":118203360,"longitude_deg":75.4328128,"latitude_deg":11.820336,"altitude":7,"angle":318,"satellites":51,"speed":0,"hex_longitude":"2cf62240","hex_latitude":"070ba3e0","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503877632001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:06:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-710935392166879232,"note":"Value kept but may cause issues"} 
[2026-08-19 13:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787124823000,"timestamp_ms":1787124823000,"timestamp_seconds":1787124823,"priority":1,"record_length":96,"hex_timestamp":"000001a018f0b3d8"} 
[2026-08-19 13:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 13:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503877632001,"66":26158,"209":206,"2":54272,"24":0,"16":385814537082765312,"44":-710935392166879232},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-19 13:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503877632001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:06:06] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 13:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:06:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-710935392166879232,"description":"Unknown IO ID 44"} 
[2026-08-19 13:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503877632001,"power":26158,"unknown_209":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-710935392166879232}} 
[2026-08-19 13:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":157939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:06:06] local.INFO: GPS data processed {"connection_id":157939,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:06:06] local.INFO: Acknowledgment sent {"connection_id":157939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:06:09] local.INFO: TCP Data received {"connection_id":157563,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:06:09] local.INFO: Processing buffer {"connection_id":157563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:06:09] local.INFO: IMEI packet received {"connection_id":157563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":157563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:06:13] local.INFO: TCP Data received {"connection_id":157563,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:06:13] local.INFO: Processing buffer {"connection_id":157563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:06:13] local.INFO: IMEI packet received {"connection_id":157563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":157563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:06:15] local.INFO: TCP Data received {"connection_id":157563,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f10db0012d196880071fee00003d011b2a..."} 
[2026-08-19 13:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f10db0012d196880071fee00003d011b2a..."} 
[2026-08-19 13:06:15] local.INFO: Processing buffer {"connection_id":157563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f10db0012d196880071fee00003d011b2a..."} 
[2026-08-19 13:06:15] local.INFO: Packet analysis {"connection_id":157563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f1"} 
[2026-08-19 13:06:15] local.INFO: Extracted packet for processing {"connection_id":157563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f1"} 
[2026-08-19 13:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503955200001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13: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-08-19 13:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787124846000,"timestamp_ms":1787124846000,"timestamp_seconds":1787124846,"priority":1,"record_length":96,"hex_timestamp":"000001a018f10db0"} 
[2026-08-19 13:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 13:06:15] 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-08-19 13: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-08-19 13:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503955200001,"66":12504,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503955200001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:06:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:06:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503955200001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":157563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:06:15] local.INFO: GPS data processed {"connection_id":157563,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:06:15] local.INFO: Acknowledgment sent {"connection_id":157563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:06:41] local.INFO: TCP Data received {"connection_id":157939,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f0b3d8012cf62240070ba3e00007013e33..."} 
[2026-08-19 13:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f0b3d8012cf62240070ba3e00007013e33..."} 
[2026-08-19 13:06:41] local.INFO: Processing buffer {"connection_id":157939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f0b3d8012cf62240070ba3e00007013e33..."} 
[2026-08-19 13:06:41] local.INFO: Packet analysis {"connection_id":157939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f0"} 
[2026-08-19 13:06:41] local.INFO: Extracted packet for processing {"connection_id":157939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f0"} 
[2026-08-19 13:06:41] local.INFO: GPS Element Parsed {"raw_longitude":754328128,"raw_latitude":118203360,"longitude_deg":75.4328128,"latitude_deg":11.820336,"altitude":7,"angle":318,"satellites":51,"speed":0,"hex_longitude":"2cf62240","hex_latitude":"070ba3e0","is_valid_coordinates":true} 
[2026-08-19 13:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503877632001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-710935392166879232,"note":"Value kept but may cause issues"} 
[2026-08-19 13:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787124823000,"timestamp_ms":1787124823000,"timestamp_seconds":1787124823,"priority":1,"record_length":96,"hex_timestamp":"000001a018f0b3d8"} 
[2026-08-19 13:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 13:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503877632001,"66":26158,"209":206,"2":54272,"24":0,"16":385814537082765312,"44":-710935392166879232},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-19 13:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503877632001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:06:41] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 13:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-710935392166879232,"description":"Unknown IO ID 44"} 
[2026-08-19 13:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503877632001,"power":26158,"unknown_209":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-710935392166879232}} 
[2026-08-19 13:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":157939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:06:41] local.INFO: GPS data processed {"connection_id":157939,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:06:41] local.INFO: Acknowledgment sent {"connection_id":157939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:06:46] local.INFO: TCP Data received {"connection_id":157563,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f15fb8012d196880071fee00003d011b2b..."} 
[2026-08-19 13:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f15fb8012d196880071fee00003d011b2b..."} 
[2026-08-19 13:06:46] local.INFO: Processing buffer {"connection_id":157563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f15fb8012d196880071fee00003d011b2b..."} 
[2026-08-19 13:06:46] local.INFO: Packet analysis {"connection_id":157563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f1"} 
[2026-08-19 13:06:46] local.INFO: Extracted packet for processing {"connection_id":157563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f1"} 
[2026-08-19 13:06:46] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503960576001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:06: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-08-19 13:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787124867000,"timestamp_ms":1787124867000,"timestamp_seconds":1787124867,"priority":1,"record_length":96,"hex_timestamp":"000001a018f15fb8"} 
[2026-08-19 13:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 13:06:46] 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-08-19 13: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-08-19 13:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503960576001,"66":12461,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503960576001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:06:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:06:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503960576001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":157563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:06:46] local.INFO: GPS data processed {"connection_id":157563,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:06:46] local.INFO: Acknowledgment sent {"connection_id":157563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:07:04] local.INFO: TCP Data received {"connection_id":157940,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:07:04] local.INFO: Processing buffer {"connection_id":157940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:07:04] local.INFO: IMEI packet received {"connection_id":157940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":157940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:07:10] local.INFO: TCP Data received {"connection_id":157940,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:07:10] local.INFO: Processing buffer {"connection_id":157940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:07:10] local.INFO: IMEI packet received {"connection_id":157940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":157940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:07:11] local.INFO: TCP Data received {"connection_id":157941,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:07:11] local.INFO: Processing buffer {"connection_id":157941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:07:11] local.INFO: IMEI packet received {"connection_id":157941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":157941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:07:13] local.INFO: TCP Data received {"connection_id":157941,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:07:13] local.INFO: Processing buffer {"connection_id":157941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:07:13] local.INFO: IMEI packet received {"connection_id":157941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":157941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:07:17] local.INFO: TCP Data received {"connection_id":157940,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f2ea40012cf62240070ba3e00007013e35..."} 
[2026-08-19 13:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f2ea40012cf62240070ba3e00007013e35..."} 
[2026-08-19 13:07:17] local.INFO: Processing buffer {"connection_id":157940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f2ea40012cf62240070ba3e00007013e35..."} 
[2026-08-19 13:07:17] local.INFO: Packet analysis {"connection_id":157940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f2"} 
[2026-08-19 13:07:17] local.INFO: Extracted packet for processing {"connection_id":157940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f2"} 
[2026-08-19 13:07:17] local.INFO: GPS Element Parsed {"raw_longitude":754328128,"raw_latitude":118203360,"longitude_deg":75.4328128,"latitude_deg":11.820336,"altitude":7,"angle":318,"satellites":53,"speed":0,"hex_longitude":"2cf62240","hex_latitude":"070ba3e0","is_valid_coordinates":true} 
[2026-08-19 13:07: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-08-19 13:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503954688001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:07:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-710935392166879232,"note":"Value kept but may cause issues"} 
[2026-08-19 13:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787124968000,"timestamp_ms":1787124968000,"timestamp_seconds":1787124968,"priority":1,"record_length":96,"hex_timestamp":"000001a018f2ea40"} 
[2026-08-19 13:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 13:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503954688001,"66":26115,"32":206,"2":54272,"24":0,"16":385814537082765312,"44":-710935392166879232},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 13:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503954688001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:07:17] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 13:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:07:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-710935392166879232,"description":"Unknown IO ID 44"} 
[2026-08-19 13:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503954688001,"power":26115,"unknown_32":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-710935392166879232}} 
[2026-08-19 13:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":157940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:07:18] local.INFO: GPS data processed {"connection_id":157940,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:07:18] local.INFO: Acknowledgment sent {"connection_id":157940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:07:19] local.INFO: TCP Data received {"connection_id":157941,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:07:19] local.INFO: Processing buffer {"connection_id":157941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:07:19] local.INFO: IMEI packet received {"connection_id":157941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":157941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:07:20] local.INFO: TCP Data received {"connection_id":157941,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f1b1c0012d196880071fee00003d011b2a..."} 
[2026-08-19 13:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f1b1c0012d196880071fee00003d011b2a..."} 
[2026-08-19 13:07:20] local.INFO: Processing buffer {"connection_id":157941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f1b1c0012d196880071fee00003d011b2a..."} 
[2026-08-19 13:07:20] local.INFO: Packet analysis {"connection_id":157941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f1"} 
[2026-08-19 13:07:20] local.INFO: Extracted packet for processing {"connection_id":157941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f1"} 
[2026-08-19 13:07:20] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503965952001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787124888000,"timestamp_ms":1787124888000,"timestamp_seconds":1787124888,"priority":1,"record_length":96,"hex_timestamp":"000001a018f1b1c0"} 
[2026-08-19 13:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:07: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-08-19 13:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 13:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503965952001,"66":12504,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503965952001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:07:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:07:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503965952001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":157941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:07:20] local.INFO: GPS data processed {"connection_id":157941,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:07:20] local.INFO: Acknowledgment sent {"connection_id":157941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:07:52] local.INFO: TCP Data received {"connection_id":157941,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f203c8012d196880071fee00003d011b2a..."} 
[2026-08-19 13:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f203c8012d196880071fee00003d011b2a..."} 
[2026-08-19 13:07:52] local.INFO: Processing buffer {"connection_id":157941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f203c8012d196880071fee00003d011b2a..."} 
[2026-08-19 13:07:52] local.INFO: Packet analysis {"connection_id":157941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f2"} 
[2026-08-19 13:07:52] local.INFO: Extracted packet for processing {"connection_id":157941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f2"} 
[2026-08-19 13:07:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503971328001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787124909000,"timestamp_ms":1787124909000,"timestamp_seconds":1787124909,"priority":1,"record_length":96,"hex_timestamp":"000001a018f203c8"} 
[2026-08-19 13:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 13:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":157941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":157941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":157941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503971328001,"66":12504,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503971328001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:07:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:07:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503971328001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":157941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:07:52] local.INFO: GPS data processed {"connection_id":157941,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:07:52] local.INFO: Acknowledgment sent {"connection_id":157941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:07:59] local.INFO: TCP Data received {"connection_id":157942,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:07:59] local.INFO: Processing buffer {"connection_id":157942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:07:59] local.INFO: IMEI packet received {"connection_id":157942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":157942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:08:04] local.INFO: TCP Data received {"connection_id":157942,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:08:04] local.INFO: Processing buffer {"connection_id":157942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:08:04] local.INFO: IMEI packet received {"connection_id":157942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":157942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:08:08] local.INFO: TCP Data received {"connection_id":157942,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f2f9e0012cf61bc0070baf700007015834..."} 
[2026-08-19 13:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f2f9e0012cf61bc0070baf700007015834..."} 
[2026-08-19 13:08:08] local.INFO: Processing buffer {"connection_id":157942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f2f9e0012cf61bc0070baf700007015834..."} 
[2026-08-19 13:08:08] local.INFO: Packet analysis {"connection_id":157942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f2"} 
[2026-08-19 13:08:08] local.INFO: Extracted packet for processing {"connection_id":157942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f2"} 
[2026-08-19 13:08:08] local.INFO: GPS Element Parsed {"raw_longitude":754326464,"raw_latitude":118206320,"longitude_deg":75.4326464,"latitude_deg":11.820632,"altitude":7,"angle":344,"satellites":52,"speed":0,"hex_longitude":"2cf61bc0","hex_latitude":"070baf70","is_valid_coordinates":true} 
[2026-08-19 13:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503991808001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:08:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-710935392166879232,"note":"Value kept but may cause issues"} 
[2026-08-19 13:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787124972000,"timestamp_ms":1787124972000,"timestamp_seconds":1787124972,"priority":1,"record_length":96,"hex_timestamp":"000001a018f2f9e0"} 
[2026-08-19 13:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 13:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":157942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":157942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":157942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503991808001,"66":26984,"32":206,"2":54272,"24":0,"16":385814537082765312,"44":-710935392166879232},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 13:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503991808001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:08:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 13:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:08:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-710935392166879232,"description":"Unknown IO ID 44"} 
[2026-08-19 13:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503991808001,"power":26984,"unknown_32":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-710935392166879232}} 
[2026-08-19 13:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":157942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:08:08] local.INFO: GPS data processed {"connection_id":157942,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:08:08] local.INFO: Acknowledgment sent {"connection_id":157942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:08:08] local.INFO: TCP Data received {"connection_id":158807,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:08:08] local.INFO: Processing buffer {"connection_id":158807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:08:08] local.INFO: IMEI packet received {"connection_id":158807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":158807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:08:14] local.INFO: TCP Data received {"connection_id":158807,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:08:14] local.INFO: Processing buffer {"connection_id":158807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:08:14] local.INFO: IMEI packet received {"connection_id":158807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":158807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:08:15] local.INFO: TCP Data received {"connection_id":158807,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f255d0012d196880071fee00003d011b2a..."} 
[2026-08-19 13:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f255d0012d196880071fee00003d011b2a..."} 
[2026-08-19 13:08:15] local.INFO: Processing buffer {"connection_id":158807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f255d0012d196880071fee00003d011b2a..."} 
[2026-08-19 13:08:15] local.INFO: Packet analysis {"connection_id":158807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f2"} 
[2026-08-19 13:08:15] local.INFO: Extracted packet for processing {"connection_id":158807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f2"} 
[2026-08-19 13:08:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503976704001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:08: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-08-19 13:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787124930000,"timestamp_ms":1787124930000,"timestamp_seconds":1787124930,"priority":1,"record_length":96,"hex_timestamp":"000001a018f255d0"} 
[2026-08-19 13:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 13:08:15] 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-08-19 13:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503976704001,"66":12439,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503976704001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:08:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:08:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503976704001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":158807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:08:15] local.INFO: GPS data processed {"connection_id":158807,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:08:15] local.INFO: Acknowledgment sent {"connection_id":158807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:08:40] local.INFO: TCP Data received {"connection_id":157942,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f34be8012cf61bc0070baf700007015833..."} 
[2026-08-19 13:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f34be8012cf61bc0070baf700007015833..."} 
[2026-08-19 13:08:40] local.INFO: Processing buffer {"connection_id":157942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f34be8012cf61bc0070baf700007015833..."} 
[2026-08-19 13:08:40] local.INFO: Packet analysis {"connection_id":157942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f3"} 
[2026-08-19 13:08:40] local.INFO: Extracted packet for processing {"connection_id":157942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f3"} 
[2026-08-19 13:08:40] local.INFO: GPS Element Parsed {"raw_longitude":754326464,"raw_latitude":118206320,"longitude_deg":75.4326464,"latitude_deg":11.820632,"altitude":7,"angle":344,"satellites":51,"speed":0,"hex_longitude":"2cf61bc0","hex_latitude":"070baf70","is_valid_coordinates":true} 
[2026-08-19 13:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503992832001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:08:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-712764979514740736,"note":"Value kept but may cause issues"} 
[2026-08-19 13:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787124993000,"timestamp_ms":1787124993000,"timestamp_seconds":1787124993,"priority":1,"record_length":96,"hex_timestamp":"000001a018f34be8"} 
[2026-08-19 13:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 13:08:40] 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-08-19 13:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503992832001,"66":27887,"32":206,"2":54272,"24":0,"16":385814537082765312,"44":-712764979514740736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 13:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503992832001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:08:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 13:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:08:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-712764979514740736,"description":"Unknown IO ID 44"} 
[2026-08-19 13:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503992832001,"power":27887,"unknown_32":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-712764979514740736}} 
[2026-08-19 13:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":157942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:08:40] local.INFO: GPS data processed {"connection_id":157942,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:08:40] local.INFO: Acknowledgment sent {"connection_id":157942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:08:47] local.INFO: TCP Data received {"connection_id":158807,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f2a7d8012d196880071fee00003d011b2c..."} 
[2026-08-19 13:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f2a7d8012d196880071fee00003d011b2c..."} 
[2026-08-19 13:08:47] local.INFO: Processing buffer {"connection_id":158807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f2a7d8012d196880071fee00003d011b2c..."} 
[2026-08-19 13:08:47] local.INFO: Packet analysis {"connection_id":158807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f2"} 
[2026-08-19 13:08:47] local.INFO: Extracted packet for processing {"connection_id":158807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f2"} 
[2026-08-19 13:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503982080001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:08: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-08-19 13:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787124951000,"timestamp_ms":1787124951000,"timestamp_seconds":1787124951,"priority":1,"record_length":96,"hex_timestamp":"000001a018f2a7d8"} 
[2026-08-19 13:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:08: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-08-19 13:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-19 13:08:47] 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-08-19 13:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503982080001,"66":12461,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503982080001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:08:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:08:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503982080001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":158807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:08:47] local.INFO: GPS data processed {"connection_id":158807,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:08:47] local.INFO: Acknowledgment sent {"connection_id":158807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:08:59] local.INFO: TCP Data received {"connection_id":157943,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:08:59] local.INFO: Processing buffer {"connection_id":157943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:08:59] local.INFO: IMEI packet received {"connection_id":157943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":157943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:09:04] local.INFO: TCP Data received {"connection_id":157943,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:09:04] local.INFO: Processing buffer {"connection_id":157943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:09:04] local.INFO: IMEI packet received {"connection_id":157943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":157943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:09:06] local.INFO: TCP Data received {"connection_id":157943,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f39df0012cf61bc0070baf700007015833..."} 
[2026-08-19 13:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f39df0012cf61bc0070baf700007015833..."} 
[2026-08-19 13:09:06] local.INFO: Processing buffer {"connection_id":157943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f39df0012cf61bc0070baf700007015833..."} 
[2026-08-19 13:09:06] local.INFO: Packet analysis {"connection_id":157943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f3"} 
[2026-08-19 13:09:06] local.INFO: Extracted packet for processing {"connection_id":157943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f3"} 
[2026-08-19 13:09:06] local.INFO: GPS Element Parsed {"raw_longitude":754326464,"raw_latitude":118206320,"longitude_deg":75.4326464,"latitude_deg":11.820632,"altitude":7,"angle":344,"satellites":51,"speed":0,"hex_longitude":"2cf61bc0","hex_latitude":"070baf70","is_valid_coordinates":true} 
[2026-08-19 13:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503998208001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385814537082765312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:09:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-712764979514740736,"note":"Value kept but may cause issues"} 
[2026-08-19 13:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787125014000,"timestamp_ms":1787125014000,"timestamp_seconds":1787125014,"priority":1,"record_length":96,"hex_timestamp":"000001a018f39df0"} 
[2026-08-19 13:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:09: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-08-19 13:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 13:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503998208001,"66":27908,"32":206,"2":54272,"24":0,"16":385814537082765312,"44":-712764979514740736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 13:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503998208001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:09:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 13:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385814537082765312,"km_value":385814537082765.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:09:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-712764979514740736,"description":"Unknown IO ID 44"} 
[2026-08-19 13:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503998208001,"power":27908,"unknown_32":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-712764979514740736}} 
[2026-08-19 13:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":157943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:09:06] local.INFO: GPS data processed {"connection_id":157943,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:09:06] local.INFO: Acknowledgment sent {"connection_id":157943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:09:08] local.INFO: TCP Data received {"connection_id":160120,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:09:08] local.INFO: Processing buffer {"connection_id":160120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:09:08] local.INFO: IMEI packet received {"connection_id":160120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":160120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:09:13] local.INFO: TCP Data received {"connection_id":160120,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:09:13] local.INFO: Processing buffer {"connection_id":160120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:09:13] local.INFO: IMEI packet received {"connection_id":160120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":160120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:09:15] local.INFO: TCP Data received {"connection_id":160120,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f2f9e0012d196880071fee00003d011b29..."} 
[2026-08-19 13:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f2f9e0012d196880071fee00003d011b29..."} 
[2026-08-19 13:09:15] local.INFO: Processing buffer {"connection_id":160120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f2f9e0012d196880071fee00003d011b29..."} 
[2026-08-19 13:09:15] local.INFO: Packet analysis {"connection_id":160120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f2"} 
[2026-08-19 13:09:15] local.INFO: Extracted packet for processing {"connection_id":160120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f2"} 
[2026-08-19 13:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503987456001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:09: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-08-19 13:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787124972000,"timestamp_ms":1787124972000,"timestamp_seconds":1787124972,"priority":1,"record_length":96,"hex_timestamp":"000001a018f2f9e0"} 
[2026-08-19 13:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 13:09:15] 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-08-19 13:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503987456001,"66":12439,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503987456001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:09:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:09:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503987456001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":160120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:09:15] local.INFO: GPS data processed {"connection_id":160120,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:09:15] local.INFO: Acknowledgment sent {"connection_id":160120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:09:38] local.INFO: TCP Data received {"connection_id":157943,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f53818012cf61a40070ca5000009000033..."} 
[2026-08-19 13:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f53818012cf61a40070ca5000009000033..."} 
[2026-08-19 13:09:38] local.INFO: Processing buffer {"connection_id":157943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f53818012cf61a40070ca5000009000033..."} 
[2026-08-19 13:09:38] local.INFO: Packet analysis {"connection_id":157943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:09:38] local.INFO: Extracted packet for processing {"connection_id":157943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:09:38] local.INFO: GPS Element Parsed {"raw_longitude":754326080,"raw_latitude":118269184,"longitude_deg":75.432608,"latitude_deg":11.8269184,"altitude":9,"angle":0,"satellites":51,"speed":42,"hex_longitude":"2cf61a40","hex_latitude":"070ca500","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504028160001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385817607984381952,"note":"Value kept but may cause issues"} 
[2026-08-19 13:09:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-713187191966117888,"note":"Value kept but may cause issues"} 
[2026-08-19 13:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787125119000,"timestamp_ms":1787125119000,"timestamp_seconds":1787125119,"priority":1,"record_length":96,"hex_timestamp":"000001a018f53818"} 
[2026-08-19 13:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 13:09:38] 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-08-19 13: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-08-19 13:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504028160001,"66":27995,"209":206,"2":54272,"24":42,"16":385817607984381952,"44":-713187191966117888},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-19 13:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504028160001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:09:38] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 13:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385817607984381952,"km_value":385817607984381.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:09:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-713187191966117888,"description":"Unknown IO ID 44"} 
[2026-08-19 13:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504028160001,"power":27995,"unknown_209":206,"power_alt":54272,"ignition":42,"odometer":null,"unknown_44":-713187191966117888}} 
[2026-08-19 13:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":157943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:09:38] local.INFO: GPS data processed {"connection_id":157943,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:09:38] local.INFO: Acknowledgment sent {"connection_id":157943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:09:46] local.INFO: TCP Data received {"connection_id":160120,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f34be8012d196880071fee00003d011b2a..."} 
[2026-08-19 13:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f34be8012d196880071fee00003d011b2a..."} 
[2026-08-19 13:09:46] local.INFO: Processing buffer {"connection_id":160120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f34be8012d196880071fee00003d011b2a..."} 
[2026-08-19 13:09:46] local.INFO: Packet analysis {"connection_id":160120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f3"} 
[2026-08-19 13:09:46] local.INFO: Extracted packet for processing {"connection_id":160120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f3"} 
[2026-08-19 13:09:46] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503992832001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:09: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-08-19 13:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787124993000,"timestamp_ms":1787124993000,"timestamp_seconds":1787124993,"priority":1,"record_length":96,"hex_timestamp":"000001a018f34be8"} 
[2026-08-19 13:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:09: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-08-19 13:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-19 13:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503992832001,"66":11417,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503992832001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:09:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:09:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503992832001,"power":11417,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":160120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:09:47] local.INFO: GPS data processed {"connection_id":160120,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:09:47] local.INFO: Acknowledgment sent {"connection_id":160120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:10:05] local.INFO: TCP Data received {"connection_id":158809,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:10:05] local.INFO: Processing buffer {"connection_id":158809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:10:05] local.INFO: IMEI packet received {"connection_id":158809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":158809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:10:06] local.INFO: TCP Data received {"connection_id":158809,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:10:06] local.INFO: Processing buffer {"connection_id":158809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:10:06] local.INFO: IMEI packet received {"connection_id":158809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":158809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:10:08] local.INFO: TCP Data received {"connection_id":158809,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f55b40012cf61b40070ccb800009000235..."} 
[2026-08-19 13:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f55b40012cf61b40070ccb800009000235..."} 
[2026-08-19 13:10:08] local.INFO: Processing buffer {"connection_id":158809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f55b40012cf61b40070ccb800009000235..."} 
[2026-08-19 13:10:08] local.INFO: Packet analysis {"connection_id":158809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:10:08] local.INFO: Extracted packet for processing {"connection_id":158809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:10:08] local.INFO: GPS Element Parsed {"raw_longitude":754326336,"raw_latitude":118279040,"longitude_deg":75.4326336,"latitude_deg":11.827904,"altitude":9,"angle":2,"satellites":53,"speed":43,"hex_longitude":"2cf61b40","hex_latitude":"070ccb80","is_valid_coordinates":true} 
[2026-08-19 13:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504030464001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385818084725751808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:10:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-713187191963713536,"note":"Value kept but may cause issues"} 
[2026-08-19 13:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787125128000,"timestamp_ms":1787125128000,"timestamp_seconds":1787125128,"priority":1,"record_length":96,"hex_timestamp":"000001a018f55b40"} 
[2026-08-19 13:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 13:10:08] 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-08-19 13:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":158809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":158809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":158809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504030464001,"66":27865,"209":206,"2":54272,"24":43,"16":385818084725751808,"44":-713187191963713536},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-19 13:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504030464001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:10:08] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 13:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385818084725751808,"km_value":385818084725751.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:10:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-713187191963713536,"description":"Unknown IO ID 44"} 
[2026-08-19 13:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504030464001,"power":27865,"unknown_209":206,"power_alt":54272,"ignition":43,"odometer":null,"unknown_44":-713187191963713536}} 
[2026-08-19 13:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":158809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:10:08] local.INFO: GPS data processed {"connection_id":158809,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:10:08] local.INFO: Acknowledgment sent {"connection_id":158809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:10:08] local.INFO: TCP Data received {"connection_id":157944,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:10:08] local.INFO: Processing buffer {"connection_id":157944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:10:08] local.INFO: IMEI packet received {"connection_id":157944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":157944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:10:10] local.INFO: TCP Data received {"connection_id":158809,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f57a80012cf61b40070cee980009016633..."} 
[2026-08-19 13:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f57a80012cf61b40070cee980009016633..."} 
[2026-08-19 13:10:10] local.INFO: Processing buffer {"connection_id":158809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f57a80012cf61b40070cee980009016633..."} 
[2026-08-19 13:10:10] local.INFO: Packet analysis {"connection_id":158809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:10:10] local.INFO: Extracted packet for processing {"connection_id":158809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:10:10] local.INFO: GPS Element Parsed {"raw_longitude":754326336,"raw_latitude":118288024,"longitude_deg":75.4326336,"latitude_deg":11.8288024,"altitude":9,"angle":358,"satellites":51,"speed":45,"hex_longitude":"2cf61b40","hex_latitude":"070cee98","is_valid_coordinates":true} 
[2026-08-19 13:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504032768001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385818518517448704,"note":"Value kept but may cause issues"} 
[2026-08-19 13:10:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-712905716984479744,"note":"Value kept but may cause issues"} 
[2026-08-19 13:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787125136000,"timestamp_ms":1787125136000,"timestamp_seconds":1787125136,"priority":1,"record_length":96,"hex_timestamp":"000001a018f57a80"} 
[2026-08-19 13:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 13:10: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-08-19 13:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504032768001,"66":27876,"209":206,"2":54272,"24":45,"16":385818518517448704,"44":-712905716984479744},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-08-19 13:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504032768001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:10:10] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-19 13:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385818518517448704,"km_value":385818518517448.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:10:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-712905716984479744,"description":"Unknown IO ID 44"} 
[2026-08-19 13:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504032768001,"power":27876,"unknown_209":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-712905716984479744}} 
[2026-08-19 13:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":158809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:10:10] local.INFO: GPS data processed {"connection_id":158809,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:10:10] local.INFO: Acknowledgment sent {"connection_id":158809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:10:13] local.INFO: TCP Data received {"connection_id":157944,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:10:13] local.INFO: Processing buffer {"connection_id":157944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:10:13] local.INFO: IMEI packet received {"connection_id":157944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":157944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:10:15] local.INFO: TCP Data received {"connection_id":157944,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f39df0012d196880071fee00003d011b2a..."} 
[2026-08-19 13:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f39df0012d196880071fee00003d011b2a..."} 
[2026-08-19 13:10:15] local.INFO: Processing buffer {"connection_id":157944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f39df0012d196880071fee00003d011b2a..."} 
[2026-08-19 13:10:15] local.INFO: Packet analysis {"connection_id":157944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f3"} 
[2026-08-19 13:10:15] local.INFO: Extracted packet for processing {"connection_id":157944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f3"} 
[2026-08-19 13:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457503998208001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:10: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-08-19 13:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787125014000,"timestamp_ms":1787125014000,"timestamp_seconds":1787125014,"priority":1,"record_length":96,"hex_timestamp":"000001a018f39df0"} 
[2026-08-19 13:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":44,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-19 13:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1795,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457503998208001,"66":12385,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457503998208001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:10:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:10:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457503998208001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":157944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:10:15] local.INFO: GPS data processed {"connection_id":157944,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:10:15] local.INFO: Acknowledgment sent {"connection_id":157944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:10:41] local.INFO: TCP Data received {"connection_id":158809,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f599c0012cf619c0070d12000009016231..."} 
[2026-08-19 13:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f599c0012cf619c0070d12000009016231..."} 
[2026-08-19 13:10:41] local.INFO: Processing buffer {"connection_id":158809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f599c0012cf619c0070d12000009016231..."} 
[2026-08-19 13:10:41] local.INFO: Packet analysis {"connection_id":158809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:10:41] local.INFO: Extracted packet for processing {"connection_id":158809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:10:41] local.INFO: GPS Element Parsed {"raw_longitude":754325952,"raw_latitude":118297088,"longitude_deg":75.4325952,"latitude_deg":11.8297088,"altitude":9,"angle":354,"satellites":49,"speed":44,"hex_longitude":"2cf619c0","hex_latitude":"070d1200","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504034816001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385818960899080192,"note":"Value kept but may cause issues"} 
[2026-08-19 13:10:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-712905716982179840,"note":"Value kept but may cause issues"} 
[2026-08-19 13:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787125144000,"timestamp_ms":1787125144000,"timestamp_seconds":1787125144,"priority":1,"record_length":96,"hex_timestamp":"000001a018f599c0"} 
[2026-08-19 13:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:10: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-08-19 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 13:10:41] 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-08-19 13: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-08-19 13:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504034816001,"66":27919,"208":206,"2":54272,"24":44,"16":385818960899080192,"44":-712905716982179840},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-08-19 13:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504034816001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:10:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 13:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385818960899080192,"km_value":385818960899080.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:10:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-712905716982179840,"description":"Unknown IO ID 44"} 
[2026-08-19 13:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504034816001,"power":27919,"unknown_208":206,"power_alt":54272,"ignition":44,"odometer":null,"unknown_44":-712905716982179840}} 
[2026-08-19 13:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":158809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:10:41] local.INFO: GPS data processed {"connection_id":158809,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:10:41] local.INFO: Acknowledgment sent {"connection_id":158809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:10:46] local.INFO: TCP Data received {"connection_id":157944,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f3eff8012d196880071fee00003d011b2a..."} 
[2026-08-19 13:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f3eff8012d196880071fee00003d011b2a..."} 
[2026-08-19 13:10:46] local.INFO: Processing buffer {"connection_id":157944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f3eff8012d196880071fee00003d011b2a..."} 
[2026-08-19 13:10:46] local.INFO: Packet analysis {"connection_id":157944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f3"} 
[2026-08-19 13:10:46] local.INFO: Extracted packet for processing {"connection_id":157944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f3"} 
[2026-08-19 13:10:46] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504003584001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:10: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-08-19 13:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787125035000,"timestamp_ms":1787125035000,"timestamp_seconds":1787125035,"priority":1,"record_length":96,"hex_timestamp":"000001a018f3eff8"} 
[2026-08-19 13:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 13:10:46] 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-08-19 13:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504003584001,"66":12406,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504003584001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:10:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:10:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504003584001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":157944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:10:47] local.INFO: GPS data processed {"connection_id":157944,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:10:47] local.INFO: Acknowledgment sent {"connection_id":157944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:11:00] local.INFO: TCP Data received {"connection_id":157564,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:11:00] local.INFO: Processing buffer {"connection_id":157564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:11:00] local.INFO: IMEI packet received {"connection_id":157564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":157564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:11:03] local.INFO: TCP Data received {"connection_id":157564,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:11:03] local.INFO: Processing buffer {"connection_id":157564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:11:03] local.INFO: IMEI packet received {"connection_id":157564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":157564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:11:05] local.INFO: TCP Data received {"connection_id":157564,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f5b900012cf61240070d34b8000b015830..."} 
[2026-08-19 13:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f5b900012cf61240070d34b8000b015830..."} 
[2026-08-19 13:11:05] local.INFO: Processing buffer {"connection_id":157564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f5b900012cf61240070d34b8000b015830..."} 
[2026-08-19 13:11:05] local.INFO: Packet analysis {"connection_id":157564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:11:05] local.INFO: Extracted packet for processing {"connection_id":157564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":754324032,"raw_latitude":118305976,"longitude_deg":75.4324032,"latitude_deg":11.8305976,"altitude":11,"angle":344,"satellites":48,"speed":45,"hex_longitude":"2cf61240","hex_latitude":"070d34b8","is_valid_coordinates":true} 
[2026-08-19 13:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504036864001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385819398985744384,"note":"Value kept but may cause issues"} 
[2026-08-19 13:11:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-713327929444925440,"note":"Value kept but may cause issues"} 
[2026-08-19 13:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787125152000,"timestamp_ms":1787125152000,"timestamp_seconds":1787125152,"priority":1,"record_length":96,"hex_timestamp":"000001a018f5b900"} 
[2026-08-19 13:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:11:05] 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-08-19 13:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504036864001,"66":27995,"208":206,"2":54272,"24":45,"16":385819398985744384,"44":-713327929444925440},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-08-19 13:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504036864001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:11:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 13:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385819398985744384,"km_value":385819398985744.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:11:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-713327929444925440,"description":"Unknown IO ID 44"} 
[2026-08-19 13:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504036864001,"power":27995,"unknown_208":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-713327929444925440}} 
[2026-08-19 13:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":157564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:11:05] local.INFO: GPS data processed {"connection_id":157564,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:11:05] local.INFO: Acknowledgment sent {"connection_id":157564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:11:06] local.INFO: TCP Data received {"connection_id":157564,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f5d840012cf60640070d56a0000b015331..."} 
[2026-08-19 13:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f5d840012cf60640070d56a0000b015331..."} 
[2026-08-19 13:11:06] local.INFO: Processing buffer {"connection_id":157564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f5d840012cf60640070d56a0000b015331..."} 
[2026-08-19 13:11:06] local.INFO: Packet analysis {"connection_id":157564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:11:06] local.INFO: Extracted packet for processing {"connection_id":157564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:11:06] local.INFO: GPS Element Parsed {"raw_longitude":754320960,"raw_latitude":118314656,"longitude_deg":75.432096,"latitude_deg":11.8314656,"altitude":11,"angle":339,"satellites":49,"speed":45,"hex_longitude":"2cf60640","hex_latitude":"070d56a0","is_valid_coordinates":true} 
[2026-08-19 13:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504038912001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385819845662343168,"note":"Value kept but may cause issues"} 
[2026-08-19 13:11:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-715438991767980032,"note":"Value kept but may cause issues"} 
[2026-08-19 13:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787125160000,"timestamp_ms":1787125160000,"timestamp_seconds":1787125160,"priority":1,"record_length":96,"hex_timestamp":"000001a018f5d840"} 
[2026-08-19 13:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:11: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-08-19 13:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 13:11:06] 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-08-19 13:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504038912001,"66":27995,"208":206,"2":54272,"24":45,"16":385819845662343168,"44":-715438991767980032},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-08-19 13:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504038912001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:11:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 13:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385819845662343168,"km_value":385819845662343.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:11:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-715438991767980032,"description":"Unknown IO ID 44"} 
[2026-08-19 13:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504038912001,"power":27995,"unknown_208":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-715438991767980032}} 
[2026-08-19 13:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":157564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:11:06] local.INFO: GPS data processed {"connection_id":157564,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:11:06] local.INFO: Acknowledgment sent {"connection_id":157564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:11:14] local.INFO: TCP Data received {"connection_id":158810,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:11:14] local.INFO: Processing buffer {"connection_id":158810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:11:14] local.INFO: IMEI packet received {"connection_id":158810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":158810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:11:19] local.INFO: TCP Data received {"connection_id":158810,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:11:19] local.INFO: Processing buffer {"connection_id":158810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:11:19] local.INFO: IMEI packet received {"connection_id":158810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":158810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:11:21] local.INFO: TCP Data received {"connection_id":158810,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f44200012d196880071fee00003d011b2b..."} 
[2026-08-19 13:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f44200012d196880071fee00003d011b2b..."} 
[2026-08-19 13:11:21] local.INFO: Processing buffer {"connection_id":158810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f44200012d196880071fee00003d011b2b..."} 
[2026-08-19 13:11:21] local.INFO: Packet analysis {"connection_id":158810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f4"} 
[2026-08-19 13:11:21] local.INFO: Extracted packet for processing {"connection_id":158810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f4"} 
[2026-08-19 13:11:21] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504008960001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787125056000,"timestamp_ms":1787125056000,"timestamp_seconds":1787125056,"priority":1,"record_length":96,"hex_timestamp":"000001a018f44200"} 
[2026-08-19 13:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 13:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":158810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":158810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":158810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504008960001,"66":12015,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504008960001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:11:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:11:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504008960001,"power":12015,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":158810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:11:21] local.INFO: GPS data processed {"connection_id":158810,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:11:21] local.INFO: Acknowledgment sent {"connection_id":158810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:11:29] local.INFO: TCP Data received {"connection_id":158810,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f49408012d196880071fee00003d011b2b..."} 
[2026-08-19 13:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f49408012d196880071fee00003d011b2b..."} 
[2026-08-19 13:11:29] local.INFO: Processing buffer {"connection_id":158810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f49408012d196880071fee00003d011b2b..."} 
[2026-08-19 13:11:29] local.INFO: Packet analysis {"connection_id":158810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f4"} 
[2026-08-19 13:11:29] local.INFO: Extracted packet for processing {"connection_id":158810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f4"} 
[2026-08-19 13:11:29] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504014336001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787125077000,"timestamp_ms":1787125077000,"timestamp_seconds":1787125077,"priority":1,"record_length":96,"hex_timestamp":"000001a018f49408"} 
[2026-08-19 13:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 13:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:11:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":158810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":158810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":158810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504014336001,"66":11993,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504014336001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:11:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:11:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504014336001,"power":11993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":158810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:11:29] local.INFO: GPS data processed {"connection_id":158810,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:11:29] local.INFO: Acknowledgment sent {"connection_id":158810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:11:38] local.INFO: TCP Data received {"connection_id":157564,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f5f780012cf5f980070d7858000b015333..."} 
[2026-08-19 13:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f5f780012cf5f980070d7858000b015333..."} 
[2026-08-19 13:11:38] local.INFO: Processing buffer {"connection_id":157564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f5f780012cf5f980070d7858000b015333..."} 
[2026-08-19 13:11:38] local.INFO: Packet analysis {"connection_id":157564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:11:38] local.INFO: Extracted packet for processing {"connection_id":157564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:11:38] local.INFO: GPS Element Parsed {"raw_longitude":754317696,"raw_latitude":118323288,"longitude_deg":75.4317696,"latitude_deg":11.8323288,"altitude":11,"angle":339,"satellites":51,"speed":46,"hex_longitude":"2cf5f980","hex_latitude":"070d7858","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504040960001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385820292338941952,"note":"Value kept but may cause issues"} 
[2026-08-19 13:11:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-718816691486285824,"note":"Value kept but may cause issues"} 
[2026-08-19 13:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787125168000,"timestamp_ms":1787125168000,"timestamp_seconds":1787125168,"priority":1,"record_length":96,"hex_timestamp":"000001a018f5f780"} 
[2026-08-19 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-08-19 13:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 13:11:38] 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-08-19 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-08-19 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-08-19 13:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504040960001,"66":27213,"208":206,"2":54272,"24":46,"16":385820292338941952,"44":-718816691486285824},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-08-19 13:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504040960001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:11:38] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 13:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385820292338941952,"km_value":385820292338941.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:11:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-718816691486285824,"description":"Unknown IO ID 44"} 
[2026-08-19 13:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504040960001,"power":27213,"unknown_208":206,"power_alt":54272,"ignition":46,"odometer":null,"unknown_44":-718816691486285824}} 
[2026-08-19 13:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":157564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:11:38] local.INFO: GPS data processed {"connection_id":157564,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:11:38] local.INFO: Acknowledgment sent {"connection_id":157564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:12:00] local.INFO: TCP Data received {"connection_id":160121,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:12:00] local.INFO: Processing buffer {"connection_id":160121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:12:00] local.INFO: IMEI packet received {"connection_id":160121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":160121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:12:04] local.INFO: TCP Data received {"connection_id":160121,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:12:04] local.INFO: Processing buffer {"connection_id":160121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:12:04] local.INFO: IMEI packet received {"connection_id":160121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":160121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:12:05] local.INFO: TCP Data received {"connection_id":160122,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:12:05] local.INFO: Processing buffer {"connection_id":160122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:12:05] local.INFO: IMEI packet received {"connection_id":160122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":160122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:12:07] local.INFO: TCP Data received {"connection_id":160121,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f616c0012cf5ed40070d9b30000b015633..."} 
[2026-08-19 13:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f616c0012cf5ed40070d9b30000b015633..."} 
[2026-08-19 13:12:07] local.INFO: Processing buffer {"connection_id":160121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f616c0012cf5ed40070d9b30000b015633..."} 
[2026-08-19 13:12:07] local.INFO: Packet analysis {"connection_id":160121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f6"} 
[2026-08-19 13:12:07] local.INFO: Extracted packet for processing {"connection_id":160121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f6"} 
[2026-08-19 13:12:07] local.INFO: GPS Element Parsed {"raw_longitude":754314560,"raw_latitude":118332208,"longitude_deg":75.431456,"latitude_deg":11.8332208,"altitude":11,"angle":342,"satellites":51,"speed":47,"hex_longitude":"2cf5ed40","hex_latitude":"070d9b30","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504043008001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385820751900442624,"note":"Value kept but may cause issues"} 
[2026-08-19 13:12:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-722405497437136896,"note":"Value kept but may cause issues"} 
[2026-08-19 13:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787125176000,"timestamp_ms":1787125176000,"timestamp_seconds":1787125176,"priority":1,"record_length":96,"hex_timestamp":"000001a018f616c0"} 
[2026-08-19 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-08-19 13:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 13:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 13:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504043008001,"66":27789,"208":206,"2":54272,"24":47,"16":385820751900442624,"44":-722405497437136896},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-08-19 13:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504043008001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:12:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 13:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385820751900442624,"km_value":385820751900442.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:12:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-722405497437136896,"description":"Unknown IO ID 44"} 
[2026-08-19 13:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504043008001,"power":27789,"unknown_208":206,"power_alt":54272,"ignition":47,"odometer":null,"unknown_44":-722405497437136896}} 
[2026-08-19 13:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":160121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:12:07] local.INFO: GPS data processed {"connection_id":160121,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:12:07] local.INFO: Acknowledgment sent {"connection_id":160121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:12:09] local.INFO: TCP Data received {"connection_id":160122,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:12:09] local.INFO: Processing buffer {"connection_id":160122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:12:09] local.INFO: IMEI packet received {"connection_id":160122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":160122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:12:13] local.INFO: TCP Data received {"connection_id":160122,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:12:13] local.INFO: Processing buffer {"connection_id":160122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:12:13] local.INFO: IMEI packet received {"connection_id":160122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":160122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:12:14] local.INFO: TCP Data received {"connection_id":160122,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f4e610012d196880071fee00003d011b2a..."} 
[2026-08-19 13:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f4e610012d196880071fee00003d011b2a..."} 
[2026-08-19 13:12:14] local.INFO: Processing buffer {"connection_id":160122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f4e610012d196880071fee00003d011b2a..."} 
[2026-08-19 13:12:14] local.INFO: Packet analysis {"connection_id":160122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f4"} 
[2026-08-19 13:12:14] local.INFO: Extracted packet for processing {"connection_id":160122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f4"} 
[2026-08-19 13:12:14] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:12: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-08-19 13:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504019712001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:12: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-08-19 13:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787125098000,"timestamp_ms":1787125098000,"timestamp_seconds":1787125098,"priority":1,"record_length":96,"hex_timestamp":"000001a018f4e610"} 
[2026-08-19 13:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:12: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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 13:12:14] 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-08-19 13:12: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-08-19 13:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504019712001,"66":11678,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504019712001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:12:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:12:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504019712001,"power":11678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":160122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:12:14] local.INFO: GPS data processed {"connection_id":160122,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:12:14] local.INFO: Acknowledgment sent {"connection_id":160122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:12:20] local.INFO: TCP Data received {"connection_id":160122,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f53818012d196880071fee00003d011b2b..."} 
[2026-08-19 13:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f53818012d196880071fee00003d011b2b..."} 
[2026-08-19 13:12:20] local.INFO: Processing buffer {"connection_id":160122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f53818012d196880071fee00003d011b2b..."} 
[2026-08-19 13:12:20] local.INFO: Packet analysis {"connection_id":160122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:12:20] local.INFO: Extracted packet for processing {"connection_id":160122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:12:20] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504025088001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787125119000,"timestamp_ms":1787125119000,"timestamp_seconds":1787125119,"priority":1,"record_length":96,"hex_timestamp":"000001a018f53818"} 
[2026-08-19 13:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:12: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-08-19 13:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-19 13:12:20] 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-08-19 13:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504025088001,"66":11961,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504025088001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:12:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:12:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504025088001,"power":11961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":160122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:12:20] local.INFO: GPS data processed {"connection_id":160122,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:12:20] local.INFO: Acknowledgment sent {"connection_id":160122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:12:41] local.INFO: TCP Data received {"connection_id":160121,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f63600012cf5e040070dbcf8000b015533..."} 
[2026-08-19 13:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f63600012cf5e040070dbcf8000b015533..."} 
[2026-08-19 13:12:41] local.INFO: Processing buffer {"connection_id":160121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f63600012cf5e040070dbcf8000b015533..."} 
[2026-08-19 13:12:41] local.INFO: Packet analysis {"connection_id":160121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f6"} 
[2026-08-19 13:12:41] local.INFO: Extracted packet for processing {"connection_id":160121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f6"} 
[2026-08-19 13:12:41] local.INFO: GPS Element Parsed {"raw_longitude":754311232,"raw_latitude":118340856,"longitude_deg":75.4311232,"latitude_deg":11.8340856,"altitude":11,"angle":341,"satellites":51,"speed":46,"hex_longitude":"2cf5e040","hex_latitude":"070dbcf8","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504045056001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385821198577041408,"note":"Value kept but may cause issues"} 
[2026-08-19 13:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-725853565899558912,"note":"Value kept but may cause issues"} 
[2026-08-19 13:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787125184000,"timestamp_ms":1787125184000,"timestamp_seconds":1787125184,"priority":1,"record_length":96,"hex_timestamp":"000001a018f63600"} 
[2026-08-19 13:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:12: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-08-19 13:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-19 13:12:41] 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-08-19 13:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504045056001,"66":27995,"146":206,"2":54272,"24":46,"16":385821198577041408,"44":-725853565899558912},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-19 13:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504045056001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:12:41] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-19 13:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385821198577041408,"km_value":385821198577041.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-725853565899558912,"description":"Unknown IO ID 44"} 
[2026-08-19 13:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504045056001,"power":27995,"unknown_146":206,"power_alt":54272,"ignition":46,"odometer":null,"unknown_44":-725853565899558912}} 
[2026-08-19 13:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":160121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:12:41] local.INFO: GPS data processed {"connection_id":160121,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:12:41] local.INFO: Acknowledgment sent {"connection_id":160121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:12:51] local.INFO: TCP Data received {"connection_id":160122,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f58a20012d196880071fee00003d011b2b..."} 
[2026-08-19 13:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f58a20012d196880071fee00003d011b2b..."} 
[2026-08-19 13:12:51] local.INFO: Processing buffer {"connection_id":160122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f58a20012d196880071fee00003d011b2b..."} 
[2026-08-19 13:12:51] local.INFO: Packet analysis {"connection_id":160122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:12:51] local.INFO: Extracted packet for processing {"connection_id":160122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504030464001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787125140000,"timestamp_ms":1787125140000,"timestamp_seconds":1787125140,"priority":1,"record_length":96,"hex_timestamp":"000001a018f58a20"} 
[2026-08-19 13:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 13:12:51] 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-08-19 13:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504030464001,"66":12385,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504030464001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:12:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:12:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504030464001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":160122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:12:52] local.INFO: GPS data processed {"connection_id":160122,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:12:52] local.INFO: Acknowledgment sent {"connection_id":160122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:12:59] local.INFO: TCP Data received {"connection_id":160123,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:12:59] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:12:59] local.INFO: IMEI packet received {"connection_id":160123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":160123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:12:59] local.INFO: TCP Data received {"connection_id":160123,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:12:59] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:12:59] local.INFO: IMEI packet received {"connection_id":160123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":160123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:13:05] local.INFO: TCP Data received {"connection_id":160123,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:13:05] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:13:05] local.INFO: IMEI packet received {"connection_id":160123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":160123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:13:08] local.INFO: TCP Data received {"connection_id":160123,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f65540012cf5d3c0070dded0000b015433..."} 
[2026-08-19 13:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f65540012cf5d3c0070dded0000b015433..."} 
[2026-08-19 13:13:08] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f65540012cf5d3c0070dded0000b015433..."} 
[2026-08-19 13:13:08] local.INFO: Packet analysis {"connection_id":160123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f6"} 
[2026-08-19 13:13:08] local.INFO: Extracted packet for processing {"connection_id":160123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f6"} 
[2026-08-19 13:13:08] local.INFO: GPS Element Parsed {"raw_longitude":754308032,"raw_latitude":118349520,"longitude_deg":75.4308032,"latitude_deg":11.834952,"altitude":11,"angle":340,"satellites":51,"speed":46,"hex_longitude":"2cf5d3c0","hex_latitude":"070dded0","is_valid_coordinates":true} 
[2026-08-19 13:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504047104001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385821645253640192,"note":"Value kept but may cause issues"} 
[2026-08-19 13:13:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-729512740594583552,"note":"Value kept but may cause issues"} 
[2026-08-19 13:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787125192000,"timestamp_ms":1787125192000,"timestamp_seconds":1787125192,"priority":1,"record_length":96,"hex_timestamp":"000001a018f65540"} 
[2026-08-19 13:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:13:08] 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-08-19 13:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 13:13:08] 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-08-19 13:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504047104001,"66":27930,"146":206,"2":54272,"24":46,"16":385821645253640192,"44":-729512740594583552},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-19 13:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504047104001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:13:08] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-19 13:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385821645253640192,"km_value":385821645253640.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:13:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-729512740594583552,"description":"Unknown IO ID 44"} 
[2026-08-19 13:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504047104001,"power":27930,"unknown_146":206,"power_alt":54272,"ignition":46,"odometer":null,"unknown_44":-729512740594583552}} 
[2026-08-19 13:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":160123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:13:08] local.INFO: GPS data processed {"connection_id":160123,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:13:08] local.INFO: Acknowledgment sent {"connection_id":160123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:13:08] local.INFO: TCP Data received {"connection_id":160124,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:13:08] local.INFO: Processing buffer {"connection_id":160124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:13:08] local.INFO: IMEI packet received {"connection_id":160124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":160124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:13:09] local.INFO: TCP Data received {"connection_id":160124,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:13:09] local.INFO: Processing buffer {"connection_id":160124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:13:09] local.INFO: IMEI packet received {"connection_id":160124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":160124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:13:14] local.INFO: TCP Data received {"connection_id":160124,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:13:14] local.INFO: Processing buffer {"connection_id":160124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:13:14] local.INFO: IMEI packet received {"connection_id":160124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":160124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:13:15] local.INFO: TCP Data received {"connection_id":160124,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f5dc28012d196880071fee00003d011b2a..."} 
[2026-08-19 13:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f5dc28012d196880071fee00003d011b2a..."} 
[2026-08-19 13:13:15] local.INFO: Processing buffer {"connection_id":160124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f5dc28012d196880071fee00003d011b2a..."} 
[2026-08-19 13:13:15] local.INFO: Packet analysis {"connection_id":160124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:13:15] local.INFO: Extracted packet for processing {"connection_id":160124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f5"} 
[2026-08-19 13:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504035840001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:13: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-08-19 13:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787125161000,"timestamp_ms":1787125161000,"timestamp_seconds":1787125161,"priority":1,"record_length":96,"hex_timestamp":"000001a018f5dc28"} 
[2026-08-19 13:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:13: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-08-19 13:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 13:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504035840001,"66":12428,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504035840001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:13:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:13:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504035840001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":160124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:13:15] local.INFO: GPS data processed {"connection_id":160124,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:13:15] local.INFO: Acknowledgment sent {"connection_id":160124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:13:40] local.INFO: TCP Data received {"connection_id":160123,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f67480012cf5c840070e0140000b015533..."} 
[2026-08-19 13:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f67480012cf5c840070e0140000b015533..."} 
[2026-08-19 13:13:40] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f67480012cf5c840070e0140000b015533..."} 
[2026-08-19 13:13:40] local.INFO: Packet analysis {"connection_id":160123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f6"} 
[2026-08-19 13:13:40] local.INFO: Extracted packet for processing {"connection_id":160123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f6"} 
[2026-08-19 13:13:40] local.INFO: GPS Element Parsed {"raw_longitude":754305088,"raw_latitude":118358336,"longitude_deg":75.4305088,"latitude_deg":11.8358336,"altitude":11,"angle":341,"satellites":51,"speed":46,"hex_longitude":"2cf5c840","hex_latitude":"070e0140","is_valid_coordinates":true} 
[2026-08-19 13:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504049152001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385822096225206272,"note":"Value kept but may cause issues"} 
[2026-08-19 13:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-733031177801248768,"note":"Value kept but may cause issues"} 
[2026-08-19 13:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787125200000,"timestamp_ms":1787125200000,"timestamp_seconds":1787125200,"priority":1,"record_length":96,"hex_timestamp":"000001a018f67480"} 
[2026-08-19 13:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 13:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504049152001,"66":27887,"146":206,"2":54272,"24":46,"16":385822096225206272,"44":-733031177801248768},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-19 13:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504049152001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:13:40] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-19 13:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385822096225206272,"km_value":385822096225206.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:13:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-733031177801248768,"description":"Unknown IO ID 44"} 
[2026-08-19 13:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504049152001,"power":27887,"unknown_146":206,"power_alt":54272,"ignition":46,"odometer":null,"unknown_44":-733031177801248768}} 
[2026-08-19 13:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":160123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:13:40] local.INFO: GPS data processed {"connection_id":160123,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:13:40] local.INFO: Acknowledgment sent {"connection_id":160123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:13:47] local.INFO: TCP Data received {"connection_id":160124,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f62e30012d196880071fee00003d011b2b..."} 
[2026-08-19 13:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f62e30012d196880071fee00003d011b2b..."} 
[2026-08-19 13:13:47] local.INFO: Processing buffer {"connection_id":160124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f62e30012d196880071fee00003d011b2b..."} 
[2026-08-19 13:13:47] local.INFO: Packet analysis {"connection_id":160124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f6"} 
[2026-08-19 13:13:47] local.INFO: Extracted packet for processing {"connection_id":160124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f6"} 
[2026-08-19 13:13:47] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504041216001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:13: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-08-19 13:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787125182000,"timestamp_ms":1787125182000,"timestamp_seconds":1787125182,"priority":1,"record_length":96,"hex_timestamp":"000001a018f62e30"} 
[2026-08-19 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-08-19 13:13: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-08-19 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 13:13: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-08-19 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-08-19 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-08-19 13:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504041216001,"66":12374,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504041216001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:13:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:13:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504041216001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":160124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:13:47] local.INFO: GPS data processed {"connection_id":160124,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:13:47] local.INFO: Acknowledgment sent {"connection_id":160124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:13:59] local.INFO: TCP Data received {"connection_id":157565,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:13:59] local.INFO: Processing buffer {"connection_id":157565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:13:59] local.INFO: IMEI packet received {"connection_id":157565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":157565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:14:00] local.INFO: TCP Data received {"connection_id":157565,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:14:00] local.INFO: Processing buffer {"connection_id":157565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:14:00] local.INFO: IMEI packet received {"connection_id":157565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":157565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:14:04] local.INFO: TCP Data received {"connection_id":157565,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:14:04] local.INFO: Processing buffer {"connection_id":157565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:14:04] local.INFO: IMEI packet received {"connection_id":157565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":157565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:14:06] local.INFO: TCP Data received {"connection_id":157565,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f8e580012cf59380070e81b8000b015730..."} 
[2026-08-19 13:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f8e580012cf59380070e81b8000b015730..."} 
[2026-08-19 13:14:06] local.INFO: Processing buffer {"connection_id":157565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f8e580012cf59380070e81b8000b015730..."} 
[2026-08-19 13:14:06] local.INFO: Packet analysis {"connection_id":157565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f8"} 
[2026-08-19 13:14:06] local.INFO: Extracted packet for processing {"connection_id":157565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f8"} 
[2026-08-19 13:14:06] local.INFO: GPS Element Parsed {"raw_longitude":754291584,"raw_latitude":118391224,"longitude_deg":75.4291584,"latitude_deg":11.8391224,"altitude":11,"angle":343,"satellites":48,"speed":10,"hex_longitude":"2cf59380","hex_latitude":"070e81b8","is_valid_coordinates":true} 
[2026-08-19 13:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504091392001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385823839981928448,"note":"Value kept but may cause issues"} 
[2026-08-19 13:14:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-750764101323503616,"note":"Value kept but may cause issues"} 
[2026-08-19 13:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787125360000,"timestamp_ms":1787125360000,"timestamp_seconds":1787125360,"priority":1,"record_length":96,"hex_timestamp":"000001a018f8e580"} 
[2026-08-19 13:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:14: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-08-19 13:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 13:14:06] 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-08-19 13:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504091392001,"66":27876,"146":206,"2":54272,"24":10,"16":385823839981928448,"44":-750764101323503616},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-19 13:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504091392001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:14:06] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-19 13:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385823839981928448,"km_value":385823839981928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:14:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-750764101323503616,"description":"Unknown IO ID 44"} 
[2026-08-19 13:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504091392001,"power":27876,"unknown_146":206,"power_alt":54272,"ignition":10,"odometer":null,"unknown_44":-750764101323503616}} 
[2026-08-19 13:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":157565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:14:06] local.INFO: GPS data processed {"connection_id":157565,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:14:06] local.INFO: Acknowledgment sent {"connection_id":157565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:14:08] local.INFO: TCP Data received {"connection_id":158811,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:14:08] local.INFO: Processing buffer {"connection_id":158811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:14:08] local.INFO: IMEI packet received {"connection_id":158811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":158811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:14:11] local.INFO: TCP Data received {"connection_id":158811,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:14:11] local.INFO: Processing buffer {"connection_id":158811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:14:11] local.INFO: IMEI packet received {"connection_id":158811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":158811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:14:13] local.INFO: TCP Data received {"connection_id":158811,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:14:13] local.INFO: Processing buffer {"connection_id":158811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:14:13] local.INFO: IMEI packet received {"connection_id":158811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":158811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:14:21] local.INFO: TCP Data received {"connection_id":158811,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f68038012d196880071fee00003d011b2a..."} 
[2026-08-19 13:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f68038012d196880071fee00003d011b2a..."} 
[2026-08-19 13:14:21] local.INFO: Processing buffer {"connection_id":158811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f68038012d196880071fee00003d011b2a..."} 
[2026-08-19 13:14:21] local.INFO: Packet analysis {"connection_id":158811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f6"} 
[2026-08-19 13:14:21] local.INFO: Extracted packet for processing {"connection_id":158811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f6"} 
[2026-08-19 13:14:21] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504046592001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787125203000,"timestamp_ms":1787125203000,"timestamp_seconds":1787125203,"priority":1,"record_length":96,"hex_timestamp":"000001a018f68038"} 
[2026-08-19 13:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-19 13:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":158811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":158811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":158811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504046592001,"66":12428,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504046592001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:14:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:14:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504046592001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":158811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:14:21] local.INFO: GPS data processed {"connection_id":158811,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:14:21] local.INFO: Acknowledgment sent {"connection_id":158811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:14:22] local.INFO: TCP Data received {"connection_id":158811,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f6d240012d196880071fee00003d011b2a..."} 
[2026-08-19 13:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f6d240012d196880071fee00003d011b2a..."} 
[2026-08-19 13:14:22] local.INFO: Processing buffer {"connection_id":158811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f6d240012d196880071fee00003d011b2a..."} 
[2026-08-19 13:14:22] local.INFO: Packet analysis {"connection_id":158811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f6"} 
[2026-08-19 13:14:22] local.INFO: Extracted packet for processing {"connection_id":158811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f6"} 
[2026-08-19 13:14:22] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504051968001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:14: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-08-19 13:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787125224000,"timestamp_ms":1787125224000,"timestamp_seconds":1787125224,"priority":1,"record_length":96,"hex_timestamp":"000001a018f6d240"} 
[2026-08-19 13:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 13:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504051968001,"66":12428,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504051968001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:14:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:14:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504051968001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":158811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:14:22] local.INFO: GPS data processed {"connection_id":158811,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:14:22] local.INFO: Acknowledgment sent {"connection_id":158811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:14:39] local.INFO: TCP Data received {"connection_id":157565,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f93788012cf587c0070ea3f8000d015331..."} 
[2026-08-19 13:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f93788012cf587c0070ea3f8000d015331..."} 
[2026-08-19 13:14:39] local.INFO: Processing buffer {"connection_id":157565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f93788012cf587c0070ea3f8000d015331..."} 
[2026-08-19 13:14:39] local.INFO: Packet analysis {"connection_id":157565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f9"} 
[2026-08-19 13:14:39] local.INFO: Extracted packet for processing {"connection_id":157565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f9"} 
[2026-08-19 13:14:39] local.INFO: GPS Element Parsed {"raw_longitude":754288576,"raw_latitude":118399992,"longitude_deg":75.4288576,"latitude_deg":11.8399992,"altitude":13,"angle":339,"satellites":49,"speed":16,"hex_longitude":"2cf587c0","hex_latitude":"070ea3f8","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504092160001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385824290953494528,"note":"Value kept but may cause issues"} 
[2026-08-19 13:14:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-751115945044232192,"note":"Value kept but may cause issues"} 
[2026-08-19 13:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787125381000,"timestamp_ms":1787125381000,"timestamp_seconds":1787125381,"priority":1,"record_length":96,"hex_timestamp":"000001a018f93788"} 
[2026-08-19 13:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 13:14:39] 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-08-19 13: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-08-19 13:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504092160001,"66":27930,"146":206,"2":54272,"24":16,"16":385824290953494528,"44":-751115945044232192},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-19 13:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504092160001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:14:39] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-19 13:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385824290953494528,"km_value":385824290953494.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:14:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-751115945044232192,"description":"Unknown IO ID 44"} 
[2026-08-19 13:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504092160001,"power":27930,"unknown_146":206,"power_alt":54272,"ignition":16,"odometer":null,"unknown_44":-751115945044232192}} 
[2026-08-19 13:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":157565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:14:39] local.INFO: GPS data processed {"connection_id":157565,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:14:39] local.INFO: Acknowledgment sent {"connection_id":157565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:14:54] local.INFO: TCP Data received {"connection_id":158811,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f72448012d196880071fee00003d011b2a..."} 
[2026-08-19 13:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f72448012d196880071fee00003d011b2a..."} 
[2026-08-19 13:14:54] local.INFO: Processing buffer {"connection_id":158811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f72448012d196880071fee00003d011b2a..."} 
[2026-08-19 13:14:54] local.INFO: Packet analysis {"connection_id":158811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f7"} 
[2026-08-19 13:14:54] local.INFO: Extracted packet for processing {"connection_id":158811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f7"} 
[2026-08-19 13:14:54] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504057344001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787125245000,"timestamp_ms":1787125245000,"timestamp_seconds":1787125245,"priority":1,"record_length":96,"hex_timestamp":"000001a018f72448"} 
[2026-08-19 13:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 13:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":158811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":158811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":158811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504057344001,"66":12385,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504057344001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:14:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:14:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504057344001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":158811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:14:54] local.INFO: GPS data processed {"connection_id":158811,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:14:54] local.INFO: Acknowledgment sent {"connection_id":158811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:14:59] local.INFO: TCP Data received {"connection_id":157945,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:14:59] local.INFO: Processing buffer {"connection_id":157945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:14:59] local.INFO: IMEI packet received {"connection_id":157945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":157945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:15:04] local.INFO: TCP Data received {"connection_id":157945,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:15:04] local.INFO: Processing buffer {"connection_id":157945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:15:04] local.INFO: IMEI packet received {"connection_id":157945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":157945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:15:07] local.INFO: TCP Data received {"connection_id":157945,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f93788012cf587c0070ea3f8000d015331..."} 
[2026-08-19 13:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f93788012cf587c0070ea3f8000d015331..."} 
[2026-08-19 13:15:07] local.INFO: Processing buffer {"connection_id":157945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f93788012cf587c0070ea3f8000d015331..."} 
[2026-08-19 13:15:07] local.INFO: Packet analysis {"connection_id":157945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f9"} 
[2026-08-19 13:15:07] local.INFO: Extracted packet for processing {"connection_id":157945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f9"} 
[2026-08-19 13:15:07] local.INFO: GPS Element Parsed {"raw_longitude":754288576,"raw_latitude":118399992,"longitude_deg":75.4288576,"latitude_deg":11.8399992,"altitude":13,"angle":339,"satellites":49,"speed":16,"hex_longitude":"2cf587c0","hex_latitude":"070ea3f8","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504097536001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385824290953494528,"note":"Value kept but may cause issues"} 
[2026-08-19 13:15:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-754423276018337792,"note":"Value kept but may cause issues"} 
[2026-08-19 13:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787125381000,"timestamp_ms":1787125381000,"timestamp_seconds":1787125381,"priority":1,"record_length":96,"hex_timestamp":"000001a018f93788"} 
[2026-08-19 13:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 13:15:07] 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-08-19 13: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-08-19 13:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504097536001,"66":27930,"146":206,"2":54272,"24":16,"16":385824290953494528,"44":-754423276018337792},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-19 13:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504097536001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:15:07] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-19 13:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385824290953494528,"km_value":385824290953494.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:15:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-754423276018337792,"description":"Unknown IO ID 44"} 
[2026-08-19 13:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504097536001,"power":27930,"unknown_146":206,"power_alt":54272,"ignition":16,"odometer":null,"unknown_44":-754423276018337792}} 
[2026-08-19 13:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":157945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:15:07] local.INFO: GPS data processed {"connection_id":157945,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:15:07] local.INFO: Acknowledgment sent {"connection_id":157945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:15:08] local.INFO: TCP Data received {"connection_id":157566,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:15:08] local.INFO: Processing buffer {"connection_id":157566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:15:08] local.INFO: IMEI packet received {"connection_id":157566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":157566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:15:14] local.INFO: TCP Data received {"connection_id":157566,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:15:14] local.INFO: Processing buffer {"connection_id":157566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:15:14] local.INFO: IMEI packet received {"connection_id":157566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":157566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:15:15] local.INFO: TCP Data received {"connection_id":157566,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f77650012d196880071fee00003d011b2a..."} 
[2026-08-19 13:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f77650012d196880071fee00003d011b2a..."} 
[2026-08-19 13:15:15] local.INFO: Processing buffer {"connection_id":157566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f77650012d196880071fee00003d011b2a..."} 
[2026-08-19 13:15:15] local.INFO: Packet analysis {"connection_id":157566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f7"} 
[2026-08-19 13:15:15] local.INFO: Extracted packet for processing {"connection_id":157566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f7"} 
[2026-08-19 13:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504062720001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:15: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-08-19 13:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787125266000,"timestamp_ms":1787125266000,"timestamp_seconds":1787125266,"priority":1,"record_length":96,"hex_timestamp":"000001a018f77650"} 
[2026-08-19 13:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:15: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-08-19 13:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 13:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504062720001,"66":12385,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504062720001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:15:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:15:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504062720001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":157566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:15:15] local.INFO: GPS data processed {"connection_id":157566,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:15:15] local.INFO: Acknowledgment sent {"connection_id":157566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:15:42] local.INFO: TCP Data received {"connection_id":157945,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018f985a8012cf57b80070ec618000e015332..."} 
[2026-08-19 13:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f985a8012cf57b80070ec618000e015332..."} 
[2026-08-19 13:15:42] local.INFO: Processing buffer {"connection_id":157945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f985a8012cf57b80070ec618000e015332..."} 
[2026-08-19 13:15:42] local.INFO: Packet analysis {"connection_id":157945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f9"} 
[2026-08-19 13:15:42] local.INFO: Extracted packet for processing {"connection_id":157945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f9"} 
[2026-08-19 13:15:42] local.INFO: GPS Element Parsed {"raw_longitude":754285440,"raw_latitude":118408728,"longitude_deg":75.428544,"latitude_deg":11.8408728,"altitude":14,"angle":339,"satellites":50,"speed":27,"hex_longitude":"2cf57b80","hex_latitude":"070ec618","is_valid_coordinates":true} 
[2026-08-19 13:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504097536001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385824737630093312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-754423276018337792,"note":"Value kept but may cause issues"} 
[2026-08-19 13:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787125401000,"timestamp_ms":1787125401000,"timestamp_seconds":1787125401,"priority":1,"record_length":96,"hex_timestamp":"000001a018f985a8"} 
[2026-08-19 13:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:15:42] 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-08-19 13:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 13:15:42] 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-08-19 13:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504097536001,"66":27832,"146":206,"2":54272,"24":27,"16":385824737630093312,"44":-754423276018337792},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-19 13:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504097536001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:15:42] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-19 13:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385824737630093312,"km_value":385824737630093.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-754423276018337792,"description":"Unknown IO ID 44"} 
[2026-08-19 13:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504097536001,"power":27832,"unknown_146":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-754423276018337792}} 
[2026-08-19 13:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":157945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:15:42] local.INFO: GPS data processed {"connection_id":157945,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:15:42] local.INFO: Acknowledgment sent {"connection_id":157945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:15:47] local.INFO: TCP Data received {"connection_id":157566,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f7c858012d196880071fee00003d011b2c..."} 
[2026-08-19 13:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f7c858012d196880071fee00003d011b2c..."} 
[2026-08-19 13:15:47] local.INFO: Processing buffer {"connection_id":157566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f7c858012d196880071fee00003d011b2c..."} 
[2026-08-19 13:15:47] local.INFO: Packet analysis {"connection_id":157566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f7"} 
[2026-08-19 13:15:47] local.INFO: Extracted packet for processing {"connection_id":157566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f7"} 
[2026-08-19 13:15:47] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504068096001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:15: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-08-19 13:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787125287000,"timestamp_ms":1787125287000,"timestamp_seconds":1787125287,"priority":1,"record_length":96,"hex_timestamp":"000001a018f7c858"} 
[2026-08-19 13:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:15: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-08-19 13: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 13:15:47] 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-08-19 13: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-08-19 13:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504068096001,"66":12385,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504068096001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:15:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:15:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504068096001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":157566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:15:47] local.INFO: GPS data processed {"connection_id":157566,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:15:47] local.INFO: Acknowledgment sent {"connection_id":157566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:15:55] local.INFO: TCP Data received {"connection_id":160125,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:15:55] local.INFO: Processing buffer {"connection_id":160125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:15:55] local.INFO: IMEI packet received {"connection_id":160125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":160125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:15:59] local.INFO: TCP Data received {"connection_id":160125,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:15:59] local.INFO: Processing buffer {"connection_id":160125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:15:59] local.INFO: IMEI packet received {"connection_id":160125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":160125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:16:01] local.INFO: TCP Data received {"connection_id":160125,"ip":"117.224.24.81","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 13:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160125,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 13:16:01] local.INFO: Processing buffer {"connection_id":160125,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 13:16:01] local.INFO: IMEI packet received {"connection_id":160125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":160125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:16:03] local.INFO: TCP Data received {"connection_id":160125,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018fb4ac8012cf564c0070fe970000f013d25..."} 
[2026-08-19 13:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fb4ac8012cf564c0070fe970000f013d25..."} 
[2026-08-19 13:16:03] local.INFO: Processing buffer {"connection_id":160125,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a018..."} 
[2026-08-19 13:16:03] local.INFO: IMEI packet received {"connection_id":160125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":160125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:16:06] local.INFO: TCP Data received {"connection_id":160125,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018fb5a68012cf56280070fec58000e014a26..."} 
[2026-08-19 13:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fb5a68012cf56280070fec58000e014a26..."} 
[2026-08-19 13:16:06] local.INFO: Processing buffer {"connection_id":160125,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a018fb4ac8012cf564c0070fe970000f013d25..."} 
[2026-08-19 13:16:06] local.INFO: Packet analysis {"connection_id":160125,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a018fb"} 
[2026-08-19 13:16:06] local.INFO: Extracted packet for processing {"connection_id":160125,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fb"} 
[2026-08-19 13:16:06] local.INFO: GPS Element Parsed {"raw_longitude":754279616,"raw_latitude":118483312,"longitude_deg":75.4279616,"latitude_deg":11.8483312,"altitude":15,"angle":317,"satellites":37,"speed":8,"hex_longitude":"2cf564c0","hex_latitude":"070fe970","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504129280001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385828517201313792,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-760123144276748288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787125517000,"timestamp_ms":1787125517000,"timestamp_seconds":1787125517,"priority":1,"record_length":96,"hex_timestamp":"000001a018fb4ac8"} 
[2026-08-19 13:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:16: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-08-19 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 13:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504129280001,"66":27908,"36":206,"2":54272,"24":8,"16":385828517201313792,"44":-760123144276748288},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-19 13:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504129280001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:16:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-19 13:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385828517201313792,"km_value":385828517201313.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:16:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-760123144276748288,"description":"Unknown IO ID 44"} 
[2026-08-19 13:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504129280001,"power":27908,"unknown_36":206,"power_alt":54272,"ignition":8,"odometer":null,"unknown_44":-760123144276748288}} 
[2026-08-19 13:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":160125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:16:06] local.INFO: GPS data processed {"connection_id":160125,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:16:06] local.INFO: Acknowledgment sent {"connection_id":160125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:16:06] local.INFO: Packet analysis {"connection_id":160125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fb"} 
[2026-08-19 13:16:06] local.INFO: Extracted packet for processing {"connection_id":160125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fb"} 
[2026-08-19 13:16:06] local.INFO: GPS Element Parsed {"raw_longitude":754279040,"raw_latitude":118484056,"longitude_deg":75.427904,"latitude_deg":11.8484056,"altitude":14,"angle":330,"satellites":38,"speed":11,"hex_longitude":"2cf56280","hex_latitude":"070fec58","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504132352001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385828564445954048,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-764274900181880832,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787125521000,"timestamp_ms":1787125521000,"timestamp_seconds":1787125521,"priority":1,"record_length":96,"hex_timestamp":"000001a018fb5a68"} 
[2026-08-19 13:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:16: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-08-19 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 13:16:06] 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-08-19 13: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-08-19 13:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504132352001,"66":27908,"36":206,"2":54272,"24":11,"16":385828564445954048,"44":-764274900181880832},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-19 13:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504132352001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:16:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-19 13:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385828564445954048,"km_value":385828564445954.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:16:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-764274900181880832,"description":"Unknown IO ID 44"} 
[2026-08-19 13:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504132352001,"power":27908,"unknown_36":206,"power_alt":54272,"ignition":11,"odometer":null,"unknown_44":-764274900181880832}} 
[2026-08-19 13:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":160125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:16:06] local.INFO: GPS data processed {"connection_id":160125,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:16:06] local.INFO: Acknowledgment sent {"connection_id":160125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:16:07] local.INFO: TCP Data received {"connection_id":160125,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018fb5e50012cf561c0070fed78000e015b28..."} 
[2026-08-19 13:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fb5e50012cf561c0070fed78000e015b28..."} 
[2026-08-19 13:16:07] local.INFO: Processing buffer {"connection_id":160125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018fb5e50012cf561c0070fed78000e015b28..."} 
[2026-08-19 13:16:07] local.INFO: Packet analysis {"connection_id":160125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fb"} 
[2026-08-19 13:16:07] local.INFO: Extracted packet for processing {"connection_id":160125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fb"} 
[2026-08-19 13:16:07] local.INFO: GPS Element Parsed {"raw_longitude":754278848,"raw_latitude":118484344,"longitude_deg":75.4278848,"latitude_deg":11.8484344,"altitude":14,"angle":347,"satellites":40,"speed":13,"hex_longitude":"2cf561c0","hex_latitude":"070fed78","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504133376001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385828581625823232,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-764908218879289344,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787125522000,"timestamp_ms":1787125522000,"timestamp_seconds":1787125522,"priority":1,"record_length":96,"hex_timestamp":"000001a018fb5e50"} 
[2026-08-19 13:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 13:16:07] 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-08-19 13: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-08-19 13:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504133376001,"66":27800,"36":206,"2":54272,"24":13,"16":385828581625823232,"44":-764908218879289344},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-19 13:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504133376001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:16:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-19 13:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385828581625823232,"km_value":385828581625823.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:16:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-764908218879289344,"description":"Unknown IO ID 44"} 
[2026-08-19 13:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504133376001,"power":27800,"unknown_36":206,"power_alt":54272,"ignition":13,"odometer":null,"unknown_44":-764908218879289344}} 
[2026-08-19 13:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":160125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:16:07] local.INFO: GPS data processed {"connection_id":160125,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:16:07] local.INFO: Acknowledgment sent {"connection_id":160125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:16:14] local.INFO: TCP Data received {"connection_id":157567,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:16:14] local.INFO: Processing buffer {"connection_id":157567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:16:14] local.INFO: IMEI packet received {"connection_id":157567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":157567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:16:18] local.INFO: TCP Data received {"connection_id":157567,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:16:18] local.INFO: Processing buffer {"connection_id":157567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:16:18] local.INFO: IMEI packet received {"connection_id":157567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":157567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:16:19] local.INFO: TCP Data received {"connection_id":157567,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f81a60012d196880071fee00003d011b28..."} 
[2026-08-19 13:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f81a60012d196880071fee00003d011b28..."} 
[2026-08-19 13:16:19] local.INFO: Processing buffer {"connection_id":157567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f81a60012d196880071fee00003d011b28..."} 
[2026-08-19 13:16:19] local.INFO: Packet analysis {"connection_id":157567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f8"} 
[2026-08-19 13:16:19] local.INFO: Extracted packet for processing {"connection_id":157567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f8"} 
[2026-08-19 13:16:19] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":40,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504073472001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787125308000,"timestamp_ms":1787125308000,"timestamp_seconds":1787125308,"priority":1,"record_length":96,"hex_timestamp":"000001a018f81a60"} 
[2026-08-19 13:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:16: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-08-19 13:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 13:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504073472001,"66":12385,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504073472001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:16:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:16:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504073472001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":157567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:16:19] local.INFO: GPS data processed {"connection_id":157567,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:16:19] local.INFO: Acknowledgment sent {"connection_id":157567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:16:20] local.INFO: TCP Data received {"connection_id":157567,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f86c68012d196880071fee00003d011b2b..."} 
[2026-08-19 13:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f86c68012d196880071fee00003d011b2b..."} 
[2026-08-19 13:16:20] local.INFO: Processing buffer {"connection_id":157567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f86c68012d196880071fee00003d011b2b..."} 
[2026-08-19 13:16:20] local.INFO: Packet analysis {"connection_id":157567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f8"} 
[2026-08-19 13:16:20] local.INFO: Extracted packet for processing {"connection_id":157567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f8"} 
[2026-08-19 13:16:20] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504078848001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787125329000,"timestamp_ms":1787125329000,"timestamp_seconds":1787125329,"priority":1,"record_length":96,"hex_timestamp":"000001a018f86c68"} 
[2026-08-19 13:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:16: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-08-19 13:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 13:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504078848001,"66":12428,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504078848001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:16:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:16:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504078848001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":157567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:16:20] local.INFO: GPS data processed {"connection_id":157567,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:16:20] local.INFO: Acknowledgment sent {"connection_id":157567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:16:38] local.INFO: TCP Data received {"connection_id":160125,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018fb6238012cf561c0070feec8000d000c28..."} 
[2026-08-19 13:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fb6238012cf561c0070feec8000d000c28..."} 
[2026-08-19 13:16:38] local.INFO: Processing buffer {"connection_id":160125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018fb6238012cf561c0070feec8000d000c28..."} 
[2026-08-19 13:16:38] local.INFO: Packet analysis {"connection_id":160125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fb"} 
[2026-08-19 13:16:38] local.INFO: Extracted packet for processing {"connection_id":160125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fb"} 
[2026-08-19 13:16:38] local.INFO: GPS Element Parsed {"raw_longitude":754278848,"raw_latitude":118484680,"longitude_deg":75.4278848,"latitude_deg":11.848468,"altitude":13,"angle":12,"satellites":40,"speed":13,"hex_longitude":"2cf561c0","hex_latitude":"070feec8","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504133632001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385828598805692416,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-765119325111748608,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787125523000,"timestamp_ms":1787125523000,"timestamp_seconds":1787125523,"priority":1,"record_length":96,"hex_timestamp":"000001a018fb6238"} 
[2026-08-19 13:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:16: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-08-19 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 13:16:38] 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-08-19 13: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-08-19 13:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504133632001,"66":27800,"36":206,"2":54272,"24":13,"16":385828598805692416,"44":-765119325111748608},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-19 13:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504133632001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:16:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-19 13:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385828598805692416,"km_value":385828598805692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:16:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-765119325111748608,"description":"Unknown IO ID 44"} 
[2026-08-19 13:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504133632001,"power":27800,"unknown_36":206,"power_alt":54272,"ignition":13,"odometer":null,"unknown_44":-765119325111748608}} 
[2026-08-19 13:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":160125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:16:38] local.INFO: GPS data processed {"connection_id":160125,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:16:38] local.INFO: Acknowledgment sent {"connection_id":160125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:16:52] local.INFO: TCP Data received {"connection_id":157567,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f8be70012d196880071fee00003d011b27..."} 
[2026-08-19 13:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f8be70012d196880071fee00003d011b27..."} 
[2026-08-19 13:16:52] local.INFO: Processing buffer {"connection_id":157567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f8be70012d196880071fee00003d011b27..."} 
[2026-08-19 13:16:52] local.INFO: Packet analysis {"connection_id":157567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f8"} 
[2026-08-19 13:16:52] local.INFO: Extracted packet for processing {"connection_id":157567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f8"} 
[2026-08-19 13:16:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":39,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504084224001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787125350000,"timestamp_ms":1787125350000,"timestamp_seconds":1787125350,"priority":1,"record_length":96,"hex_timestamp":"000001a018f8be70"} 
[2026-08-19 13:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 13:16:52] 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-08-19 13:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":157567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":157567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":157567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504084224001,"66":11852,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504084224001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:16:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:16:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504084224001,"power":11852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":157567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:16:52] local.INFO: GPS data processed {"connection_id":157567,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:16:52] local.INFO: Acknowledgment sent {"connection_id":157567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:17:02] local.INFO: TCP Data received {"connection_id":157946,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:17:02] local.INFO: Processing buffer {"connection_id":157946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:17:02] local.INFO: IMEI packet received {"connection_id":157946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":157946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:17:04] local.INFO: TCP Data received {"connection_id":157946,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:17:04] local.INFO: Processing buffer {"connection_id":157946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:17:04] local.INFO: IMEI packet received {"connection_id":157946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":157946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:17:05] local.INFO: TCP Data received {"connection_id":157946,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018fb6a08012cf56300070ff190000c001c2a..."} 
[2026-08-19 13:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fb6a08012cf56300070ff190000c001c2a..."} 
[2026-08-19 13:17:05] local.INFO: Processing buffer {"connection_id":157946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018fb6a08012cf56300070ff190000c001c2a..."} 
[2026-08-19 13:17:05] local.INFO: Packet analysis {"connection_id":157946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fb"} 
[2026-08-19 13:17:05] local.INFO: Extracted packet for processing {"connection_id":157946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fb"} 
[2026-08-19 13:17:05] local.INFO: GPS Element Parsed {"raw_longitude":754279168,"raw_latitude":118485392,"longitude_deg":75.4279168,"latitude_deg":11.8485392,"altitude":12,"angle":28,"satellites":42,"speed":15,"hex_longitude":"2cf56300","hex_latitude":"070ff190","is_valid_coordinates":true} 
[2026-08-19 13:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504133888001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385828633165430784,"note":"Value kept but may cause issues"} 
[2026-08-19 13:17:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-765119325111662592,"note":"Value kept but may cause issues"} 
[2026-08-19 13:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787125525000,"timestamp_ms":1787125525000,"timestamp_seconds":1787125525,"priority":1,"record_length":96,"hex_timestamp":"000001a018fb6a08"} 
[2026-08-19 13:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 13:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504133888001,"66":27843,"36":206,"2":54272,"24":15,"16":385828633165430784,"44":-765119325111662592},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-19 13:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504133888001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:17:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-19 13:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385828633165430784,"km_value":385828633165430.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:17:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-765119325111662592,"description":"Unknown IO ID 44"} 
[2026-08-19 13:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504133888001,"power":27843,"unknown_36":206,"power_alt":54272,"ignition":15,"odometer":null,"unknown_44":-765119325111662592}} 
[2026-08-19 13:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":157946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:17:05] local.INFO: GPS data processed {"connection_id":157946,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:17:05] local.INFO: Acknowledgment sent {"connection_id":157946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:17:06] local.INFO: TCP Data received {"connection_id":157946,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018fb71d8012cf56500070ff338000c00392b..."} 
[2026-08-19 13:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fb71d8012cf56500070ff338000c00392b..."} 
[2026-08-19 13:17:06] local.INFO: Processing buffer {"connection_id":157946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018fb71d8012cf56500070ff338000c00392b..."} 
[2026-08-19 13:17:06] local.INFO: Packet analysis {"connection_id":157946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fb"} 
[2026-08-19 13:17:06] local.INFO: Extracted packet for processing {"connection_id":157946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fb"} 
[2026-08-19 13:17:06] local.INFO: GPS Element Parsed {"raw_longitude":754279680,"raw_latitude":118485816,"longitude_deg":75.427968,"latitude_deg":11.8485816,"altitude":12,"angle":57,"satellites":43,"speed":15,"hex_longitude":"2cf56500","hex_latitude":"070ff338","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504134400001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385828667525169152,"note":"Value kept but may cause issues"} 
[2026-08-19 13:17:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-764767481390592000,"note":"Value kept but may cause issues"} 
[2026-08-19 13:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787125527000,"timestamp_ms":1787125527000,"timestamp_seconds":1787125527,"priority":1,"record_length":96,"hex_timestamp":"000001a018fb71d8"} 
[2026-08-19 13:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:17: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-08-19 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 13:17:06] 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-08-19 13: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-08-19 13:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504134400001,"66":27843,"36":206,"2":54272,"24":15,"16":385828667525169152,"44":-764767481390592000},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-19 13:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504134400001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:17:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-19 13:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385828667525169152,"km_value":385828667525169.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:17:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-764767481390592000,"description":"Unknown IO ID 44"} 
[2026-08-19 13:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504134400001,"power":27843,"unknown_36":206,"power_alt":54272,"ignition":15,"odometer":null,"unknown_44":-764767481390592000}} 
[2026-08-19 13:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":157946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:17:06] local.INFO: GPS data processed {"connection_id":157946,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:17:06] local.INFO: Acknowledgment sent {"connection_id":157946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:17:09] local.INFO: TCP Data received {"connection_id":157568,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:17:09] local.INFO: Processing buffer {"connection_id":157568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:17:09] local.INFO: IMEI packet received {"connection_id":157568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":157568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:17:14] local.INFO: TCP Data received {"connection_id":157568,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:17:14] local.INFO: Processing buffer {"connection_id":157568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:17:14] local.INFO: IMEI packet received {"connection_id":157568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":157568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:17:15] local.INFO: TCP Data received {"connection_id":157568,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f91078012d196880071fee00003d011b2b..."} 
[2026-08-19 13:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f91078012d196880071fee00003d011b2b..."} 
[2026-08-19 13:17:15] local.INFO: Processing buffer {"connection_id":157568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f91078012d196880071fee00003d011b2b..."} 
[2026-08-19 13:17:15] local.INFO: Packet analysis {"connection_id":157568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f9"} 
[2026-08-19 13:17:15] local.INFO: Extracted packet for processing {"connection_id":157568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f9"} 
[2026-08-19 13:17:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504089600001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:17: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-08-19 13:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787125371000,"timestamp_ms":1787125371000,"timestamp_seconds":1787125371,"priority":1,"record_length":96,"hex_timestamp":"000001a018f91078"} 
[2026-08-19 13:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:17: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-08-19 13: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-19 13:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504089600001,"66":12406,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504089600001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:17:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:17:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504089600001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":157568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:17:15] local.INFO: GPS data processed {"connection_id":157568,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:17:15] local.INFO: Acknowledgment sent {"connection_id":157568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:17:38] local.INFO: TCP Data received {"connection_id":157946,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018fb75c0012cf56680070ff370000c00472c..."} 
[2026-08-19 13:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fb75c0012cf56680070ff370000c00472c..."} 
[2026-08-19 13:17:38] local.INFO: Processing buffer {"connection_id":157946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018fb75c0012cf56680070ff370000c00472c..."} 
[2026-08-19 13:17:38] local.INFO: Packet analysis {"connection_id":157946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fb"} 
[2026-08-19 13:17:38] local.INFO: Extracted packet for processing {"connection_id":157946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fb"} 
[2026-08-19 13:17:38] local.INFO: GPS Element Parsed {"raw_longitude":754280064,"raw_latitude":118485872,"longitude_deg":75.4280064,"latitude_deg":11.8485872,"altitude":12,"angle":71,"satellites":44,"speed":15,"hex_longitude":"2cf56680","hex_latitude":"070ff370","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504134912001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385828684705038336,"note":"Value kept but may cause issues"} 
[2026-08-19 13:17:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-764204531437062144,"note":"Value kept but may cause issues"} 
[2026-08-19 13:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787125528000,"timestamp_ms":1787125528000,"timestamp_seconds":1787125528,"priority":1,"record_length":96,"hex_timestamp":"000001a018fb75c0"} 
[2026-08-19 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-08-19 13:17: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-08-19 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 13:17:38] 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-08-19 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-08-19 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-08-19 13:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504134912001,"66":27865,"36":206,"2":54272,"24":15,"16":385828684705038336,"44":-764204531437062144},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-19 13:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504134912001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:17:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-19 13:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385828684705038336,"km_value":385828684705038.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:17:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-764204531437062144,"description":"Unknown IO ID 44"} 
[2026-08-19 13:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504134912001,"power":27865,"unknown_36":206,"power_alt":54272,"ignition":15,"odometer":null,"unknown_44":-764204531437062144}} 
[2026-08-19 13:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":157946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:17:38] local.INFO: GPS data processed {"connection_id":157946,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:17:38] local.INFO: Acknowledgment sent {"connection_id":157946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:17:47] local.INFO: TCP Data received {"connection_id":157568,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f96280012d196880071fee00003d011b2c..."} 
[2026-08-19 13:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f96280012d196880071fee00003d011b2c..."} 
[2026-08-19 13:17:47] local.INFO: Processing buffer {"connection_id":157568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f96280012d196880071fee00003d011b2c..."} 
[2026-08-19 13:17:47] local.INFO: Packet analysis {"connection_id":157568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f9"} 
[2026-08-19 13:17:47] local.INFO: Extracted packet for processing {"connection_id":157568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f9"} 
[2026-08-19 13:17:47] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504094976001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:17: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-08-19 13:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787125392000,"timestamp_ms":1787125392000,"timestamp_seconds":1787125392,"priority":1,"record_length":96,"hex_timestamp":"000001a018f96280"} 
[2026-08-19 13:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:17: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-08-19 13: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 13:17:47] 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-08-19 13: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-08-19 13:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504094976001,"66":12406,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504094976001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:17:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:17:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504094976001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":157568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:17:47] local.INFO: GPS data processed {"connection_id":157568,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:17:47] local.INFO: Acknowledgment sent {"connection_id":157568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:17:59] local.INFO: TCP Data received {"connection_id":157569,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:17:59] local.INFO: Processing buffer {"connection_id":157569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:17:59] local.INFO: IMEI packet received {"connection_id":157569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":157569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:18:04] local.INFO: TCP Data received {"connection_id":157569,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:18:04] local.INFO: Processing buffer {"connection_id":157569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:18:04] local.INFO: IMEI packet received {"connection_id":157569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":157569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:18:05] local.INFO: TCP Data received {"connection_id":157569,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018fb7d90012cf56a40070ff2f8000a005a2d..."} 
[2026-08-19 13:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fb7d90012cf56a40070ff2f8000a005a2d..."} 
[2026-08-19 13:18:05] local.INFO: Processing buffer {"connection_id":157569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018fb7d90012cf56a40070ff2f8000a005a2d..."} 
[2026-08-19 13:18:05] local.INFO: Packet analysis {"connection_id":157569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fb"} 
[2026-08-19 13:18:05] local.INFO: Extracted packet for processing {"connection_id":157569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fb"} 
[2026-08-19 13:18:05] local.INFO: GPS Element Parsed {"raw_longitude":754281024,"raw_latitude":118485752,"longitude_deg":75.4281024,"latitude_deg":11.8485752,"altitude":10,"angle":90,"satellites":45,"speed":19,"hex_longitude":"2cf56a40","hex_latitude":"070ff2f8","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504135168001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385828731949678592,"note":"Value kept but may cause issues"} 
[2026-08-19 13:18:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-763782318971981824,"note":"Value kept but may cause issues"} 
[2026-08-19 13:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787125530000,"timestamp_ms":1787125530000,"timestamp_seconds":1787125530,"priority":1,"record_length":96,"hex_timestamp":"000001a018fb7d90"} 
[2026-08-19 13:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 13:18:05] 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-08-19 13: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-08-19 13:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504135168001,"66":27571,"36":206,"2":54272,"24":19,"16":385828731949678592,"44":-763782318971981824},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-19 13:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504135168001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:18:05] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-19 13:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385828731949678592,"km_value":385828731949678.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:18:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-763782318971981824,"description":"Unknown IO ID 44"} 
[2026-08-19 13:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504135168001,"power":27571,"unknown_36":206,"power_alt":54272,"ignition":19,"odometer":null,"unknown_44":-763782318971981824}} 
[2026-08-19 13:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":157569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:18:05] local.INFO: GPS data processed {"connection_id":157569,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:18:05] local.INFO: Acknowledgment sent {"connection_id":157569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:18:09] local.INFO: TCP Data received {"connection_id":160126,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:18:09] local.INFO: Processing buffer {"connection_id":160126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:18:09] local.INFO: IMEI packet received {"connection_id":160126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":160126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:18:14] local.INFO: TCP Data received {"connection_id":160126,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:18:14] local.INFO: Processing buffer {"connection_id":160126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:18:14] local.INFO: IMEI packet received {"connection_id":160126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":160126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:18:15] local.INFO: TCP Data received {"connection_id":160126,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018f9b488012d196880071fee00003d011b2c..."} 
[2026-08-19 13:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018f9b488012d196880071fee00003d011b2c..."} 
[2026-08-19 13:18:15] local.INFO: Processing buffer {"connection_id":160126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018f9b488012d196880071fee00003d011b2c..."} 
[2026-08-19 13:18:15] local.INFO: Packet analysis {"connection_id":160126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018f9"} 
[2026-08-19 13:18:15] local.INFO: Extracted packet for processing {"connection_id":160126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018f9"} 
[2026-08-19 13:18:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504100352001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:18: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-08-19 13:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787125413000,"timestamp_ms":1787125413000,"timestamp_seconds":1787125413,"priority":1,"record_length":96,"hex_timestamp":"000001a018f9b488"} 
[2026-08-19 13:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:18: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-08-19 13:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 13:18:15] 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-08-19 13:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504100352001,"66":12341,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504100352001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:18:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:18:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504100352001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":160126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:18:15] local.INFO: GPS data processed {"connection_id":160126,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:18:15] local.INFO: Acknowledgment sent {"connection_id":160126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:18:36] local.INFO: TCP Data received {"connection_id":157569,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018fd7190012cf67dc0070f7aa80019008a2f..."} 
[2026-08-19 13:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fd7190012cf67dc0070f7aa80019008a2f..."} 
[2026-08-19 13:18:36] local.INFO: Processing buffer {"connection_id":157569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018fd7190012cf67dc0070f7aa80019008a2f..."} 
[2026-08-19 13:18:36] local.INFO: Packet analysis {"connection_id":157569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fd"} 
[2026-08-19 13:18:36] local.INFO: Extracted packet for processing {"connection_id":157569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fd"} 
[2026-08-19 13:18:36] local.INFO: GPS Element Parsed {"raw_longitude":754351552,"raw_latitude":118454952,"longitude_deg":75.4351552,"latitude_deg":11.8454952,"altitude":25,"angle":138,"satellites":47,"speed":31,"hex_longitude":"2cf67dc0","hex_latitude":"070f7aa8","is_valid_coordinates":true} 
[2026-08-19 13:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504165120001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385832507225931776,"note":"Value kept but may cause issues"} 
[2026-08-19 13:18:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-692569149870387200,"note":"Value kept but may cause issues"} 
[2026-08-19 13:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787125658000,"timestamp_ms":1787125658000,"timestamp_seconds":1787125658,"priority":1,"record_length":96,"hex_timestamp":"000001a018fd7190"} 
[2026-08-19 13:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:18: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-08-19 13:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 13:18:36] 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-08-19 13:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504165120001,"66":27865,"37":206,"2":54272,"24":31,"16":385832507225931776,"44":-692569149870387200},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,2,24,16,44]} 
[2026-08-19 13:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504165120001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:18:36] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 13:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385832507225931776,"km_value":385832507225931.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:18:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-692569149870387200,"description":"Unknown IO ID 44"} 
[2026-08-19 13:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504165120001,"power":27865,"unknown_37":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-692569149870387200}} 
[2026-08-19 13:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":157569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:18:36] local.INFO: GPS data processed {"connection_id":157569,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:18:36] local.INFO: Acknowledgment sent {"connection_id":157569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:18:47] local.INFO: TCP Data received {"connection_id":160126,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018fd3ae0012d196880071fee00003d011b2a..."} 
[2026-08-19 13:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fd3ae0012d196880071fee00003d011b2a..."} 
[2026-08-19 13:18:47] local.INFO: Processing buffer {"connection_id":160126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018fd3ae0012d196880071fee00003d011b2a..."} 
[2026-08-19 13:18:47] local.INFO: Packet analysis {"connection_id":160126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fd"} 
[2026-08-19 13:18:47] local.INFO: Extracted packet for processing {"connection_id":160126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fd"} 
[2026-08-19 13:18:47] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504159488001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:18: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-08-19 13:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787125644000,"timestamp_ms":1787125644000,"timestamp_seconds":1787125644,"priority":1,"record_length":96,"hex_timestamp":"000001a018fd3ae0"} 
[2026-08-19 13:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:18: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-08-19 13: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-19 13:18:47] 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-08-19 13: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-08-19 13:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504159488001,"66":12363,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504159488001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:18:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:18:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504159488001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":160126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:18:47] local.INFO: GPS data processed {"connection_id":160126,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:18:47] local.INFO: Acknowledgment sent {"connection_id":160126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:18:59] local.INFO: TCP Data received {"connection_id":157570,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:18:59] local.INFO: Processing buffer {"connection_id":157570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:18:59] local.INFO: IMEI packet received {"connection_id":157570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":157570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:19:04] local.INFO: TCP Data received {"connection_id":157570,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:19:04] local.INFO: Processing buffer {"connection_id":157570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:19:04] local.INFO: IMEI packet received {"connection_id":157570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":157570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:19:05] local.INFO: TCP Data received {"connection_id":157570,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018fd98a0012cf695c0070f5f58001700902a..."} 
[2026-08-19 13:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fd98a0012cf695c0070f5f58001700902a..."} 
[2026-08-19 13:19:05] local.INFO: Processing buffer {"connection_id":157570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018fd98a0012cf695c0070f5f58001700902a..."} 
[2026-08-19 13:19:05] local.INFO: Packet analysis {"connection_id":157570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fd"} 
[2026-08-19 13:19:05] local.INFO: Extracted packet for processing {"connection_id":157570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fd"} 
[2026-08-19 13:19:05] local.INFO: GPS Element Parsed {"raw_longitude":754357696,"raw_latitude":118447960,"longitude_deg":75.4357696,"latitude_deg":11.844796,"altitude":23,"angle":144,"satellites":42,"speed":45,"hex_longitude":"2cf695c0","hex_latitude":"070f5f58","is_valid_coordinates":true} 
[2026-08-19 13:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504168448001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385832953902530560,"note":"Value kept but may cause issues"} 
[2026-08-19 13:19:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-685180431733446656,"note":"Value kept but may cause issues"} 
[2026-08-19 13:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787125668000,"timestamp_ms":1787125668000,"timestamp_seconds":1787125668,"priority":1,"record_length":96,"hex_timestamp":"000001a018fd98a0"} 
[2026-08-19 13:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 13:19:05] 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-08-19 13:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504168448001,"66":27919,"34":206,"2":54272,"24":45,"16":385832953902530560,"44":-685180431733446656},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,2,24,16,44]} 
[2026-08-19 13:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504168448001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:19:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-19 13:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385832953902530560,"km_value":385832953902530.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:19:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-685180431733446656,"description":"Unknown IO ID 44"} 
[2026-08-19 13:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504168448001,"power":27919,"unknown_34":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-685180431733446656}} 
[2026-08-19 13:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":157570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:19:05] local.INFO: GPS data processed {"connection_id":157570,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:19:05] local.INFO: Acknowledgment sent {"connection_id":157570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:19:09] local.INFO: TCP Data received {"connection_id":157947,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:19:09] local.INFO: Processing buffer {"connection_id":157947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:19:09] local.INFO: IMEI packet received {"connection_id":157947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":157947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:19:14] local.INFO: TCP Data received {"connection_id":157947,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:19:14] local.INFO: Processing buffer {"connection_id":157947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:19:14] local.INFO: IMEI packet received {"connection_id":157947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":157947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:19:15] local.INFO: TCP Data received {"connection_id":157947,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018fd8ce8012d196880071fee00003d011b2b..."} 
[2026-08-19 13:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fd8ce8012d196880071fee00003d011b2b..."} 
[2026-08-19 13:19:15] local.INFO: Processing buffer {"connection_id":157947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018fd8ce8012d196880071fee00003d011b2b..."} 
[2026-08-19 13:19:15] local.INFO: Packet analysis {"connection_id":157947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fd"} 
[2026-08-19 13:19:15] local.INFO: Extracted packet for processing {"connection_id":157947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fd"} 
[2026-08-19 13:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504164864001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:19: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-08-19 13:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787125665000,"timestamp_ms":1787125665000,"timestamp_seconds":1787125665,"priority":1,"record_length":96,"hex_timestamp":"000001a018fd8ce8"} 
[2026-08-19 13:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:19: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-08-19 13:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-19 13:19:15] 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-08-19 13:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504164864001,"66":12374,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504164864001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:19:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:19:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504164864001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":157947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:19:15] local.INFO: GPS data processed {"connection_id":157947,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:19:15] local.INFO: Acknowledgment sent {"connection_id":157947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:19:36] local.INFO: TCP Data received {"connection_id":157570,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018fdb7e0012cf6ac40070f40b80017009129..."} 
[2026-08-19 13:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fdb7e0012cf6ac40070f40b80017009129..."} 
[2026-08-19 13:19:36] local.INFO: Processing buffer {"connection_id":157570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018fdb7e0012cf6ac40070f40b80017009129..."} 
[2026-08-19 13:19:36] local.INFO: Packet analysis {"connection_id":157570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fd"} 
[2026-08-19 13:19:36] local.INFO: Extracted packet for processing {"connection_id":157570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fd"} 
[2026-08-19 13:19:36] local.INFO: GPS Element Parsed {"raw_longitude":754363456,"raw_latitude":118440120,"longitude_deg":75.4363456,"latitude_deg":11.844012,"altitude":23,"angle":145,"satellites":41,"speed":52,"hex_longitude":"2cf6ac40","hex_latitude":"070f40b8","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504171008001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385833422053965824,"note":"Value kept but may cause issues"} 
[2026-08-19 13:19:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-678425032294180864,"note":"Value kept but may cause issues"} 
[2026-08-19 13:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787125676000,"timestamp_ms":1787125676000,"timestamp_seconds":1787125676,"priority":1,"record_length":96,"hex_timestamp":"000001a018fdb7e0"} 
[2026-08-19 13:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:19: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-08-19 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504171008001,"66":27691,"34":206,"2":54272,"24":52,"16":385833422053965824,"44":-678425032294180864},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,2,24,16,44]} 
[2026-08-19 13:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504171008001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:19:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-19 13:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385833422053965824,"km_value":385833422053965.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:19:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-678425032294180864,"description":"Unknown IO ID 44"} 
[2026-08-19 13:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504171008001,"power":27691,"unknown_34":206,"power_alt":54272,"ignition":52,"odometer":null,"unknown_44":-678425032294180864}} 
[2026-08-19 13:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":157570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:19:36] local.INFO: GPS data processed {"connection_id":157570,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:19:36] local.INFO: Acknowledgment sent {"connection_id":157570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:19:47] local.INFO: TCP Data received {"connection_id":157947,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018fddef0012d196880071fee00003d011b2b..."} 
[2026-08-19 13:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fddef0012d196880071fee00003d011b2b..."} 
[2026-08-19 13:19:47] local.INFO: Processing buffer {"connection_id":157947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018fddef0012d196880071fee00003d011b2b..."} 
[2026-08-19 13:19:47] local.INFO: Packet analysis {"connection_id":157947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fd"} 
[2026-08-19 13:19:47] local.INFO: Extracted packet for processing {"connection_id":157947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fd"} 
[2026-08-19 13:19:47] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504170240001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:19: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-08-19 13:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787125686000,"timestamp_ms":1787125686000,"timestamp_seconds":1787125686,"priority":1,"record_length":96,"hex_timestamp":"000001a018fddef0"} 
[2026-08-19 13:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:19: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-08-19 13: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-19 13:19:47] 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-08-19 13: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-08-19 13:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504170240001,"66":12341,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504170240001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:19:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:19:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504170240001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":157947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:19:47] local.INFO: GPS data processed {"connection_id":157947,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:19:47] local.INFO: Acknowledgment sent {"connection_id":157947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:19:59] local.INFO: TCP Data received {"connection_id":160127,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:19:59] local.INFO: Processing buffer {"connection_id":160127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:19:59] local.INFO: IMEI packet received {"connection_id":160127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":160127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:19:59] local.INFO: TCP Data received {"connection_id":160127,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:19:59] local.INFO: Processing buffer {"connection_id":160127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:19:59] local.INFO: IMEI packet received {"connection_id":160127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":160127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:20:04] local.INFO: TCP Data received {"connection_id":160127,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:20:04] local.INFO: Processing buffer {"connection_id":160127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:20:04] local.INFO: IMEI packet received {"connection_id":160127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":160127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:20:06] local.INFO: TCP Data received {"connection_id":160127,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018fea240012cf79600070e95b0000b00702f..."} 
[2026-08-19 13:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fea240012cf79600070e95b0000b00702f..."} 
[2026-08-19 13:20:06] local.INFO: Processing buffer {"connection_id":160127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018fea240012cf79600070e95b0000b00702f..."} 
[2026-08-19 13:20:06] local.INFO: Packet analysis {"connection_id":160127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fe"} 
[2026-08-19 13:20:06] local.INFO: Extracted packet for processing {"connection_id":160127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fe"} 
[2026-08-19 13:20:06] local.INFO: GPS Element Parsed {"raw_longitude":754423296,"raw_latitude":118396336,"longitude_deg":75.4423296,"latitude_deg":11.8396336,"altitude":11,"angle":112,"satellites":47,"speed":49,"hex_longitude":"2cf79600","hex_latitude":"070e95b0","is_valid_coordinates":true} 
[2026-08-19 13:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504186368001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385837124315774976,"note":"Value kept but may cause issues"} 
[2026-08-19 13:20:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-616641274918576128,"note":"Value kept but may cause issues"} 
[2026-08-19 13:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787125736000,"timestamp_ms":1787125736000,"timestamp_seconds":1787125736,"priority":1,"record_length":96,"hex_timestamp":"000001a018fea240"} 
[2026-08-19 13:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:20: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-08-19 13:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 13:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504186368001,"66":27843,"116":206,"2":54272,"24":49,"16":385837124315774976,"44":-616641274918576128},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,2,24,16,44]} 
[2026-08-19 13:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504186368001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:20:06] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-19 13:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385837124315774976,"km_value":385837124315775.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:20:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-616641274918576128,"description":"Unknown IO ID 44"} 
[2026-08-19 13:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504186368001,"power":27843,"unknown_116":206,"power_alt":54272,"ignition":49,"odometer":null,"unknown_44":-616641274918576128}} 
[2026-08-19 13:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":160127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:20:06] local.INFO: GPS data processed {"connection_id":160127,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:20:06] local.INFO: Acknowledgment sent {"connection_id":160127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:20:08] local.INFO: TCP Data received {"connection_id":157571,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:20:08] local.INFO: Processing buffer {"connection_id":157571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:20:08] local.INFO: IMEI packet received {"connection_id":157571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":157571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:20:08] local.INFO: TCP Data received {"connection_id":157571,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:20:08] local.INFO: Processing buffer {"connection_id":157571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:20:08] local.INFO: IMEI packet received {"connection_id":157571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":157571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:20:14] local.INFO: TCP Data received {"connection_id":157571,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:20:14] local.INFO: Processing buffer {"connection_id":157571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:20:14] local.INFO: IMEI packet received {"connection_id":157571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":157571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:20:15] local.INFO: TCP Data received {"connection_id":157571,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018fe30f8012d196880071fee00003d011b2a..."} 
[2026-08-19 13:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fe30f8012d196880071fee00003d011b2a..."} 
[2026-08-19 13:20:15] local.INFO: Processing buffer {"connection_id":157571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018fe30f8012d196880071fee00003d011b2a..."} 
[2026-08-19 13:20:15] local.INFO: Packet analysis {"connection_id":157571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fe"} 
[2026-08-19 13:20:15] local.INFO: Extracted packet for processing {"connection_id":157571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fe"} 
[2026-08-19 13:20:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504175616001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:20: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-08-19 13:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787125707000,"timestamp_ms":1787125707000,"timestamp_seconds":1787125707,"priority":1,"record_length":96,"hex_timestamp":"000001a018fe30f8"} 
[2026-08-19 13:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-19 13:20: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-08-19 13:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504175616001,"66":12341,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504175616001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:20:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:20:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504175616001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":157571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:20:15] local.INFO: GPS data processed {"connection_id":157571,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:20:15] local.INFO: Acknowledgment sent {"connection_id":157571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:20:41] local.INFO: TCP Data received {"connection_id":160127,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018fec180012cf7b980070e88a8000d006530..."} 
[2026-08-19 13:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fec180012cf7b980070e88a8000d006530..."} 
[2026-08-19 13:20:41] local.INFO: Processing buffer {"connection_id":160127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018fec180012cf7b980070e88a8000d006530..."} 
[2026-08-19 13:20:41] local.INFO: Packet analysis {"connection_id":160127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fe"} 
[2026-08-19 13:20:41] local.INFO: Extracted packet for processing {"connection_id":160127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fe"} 
[2026-08-19 13:20:41] local.INFO: GPS Element Parsed {"raw_longitude":754432384,"raw_latitude":118393000,"longitude_deg":75.4432384,"latitude_deg":11.8393,"altitude":13,"angle":101,"satellites":48,"speed":45,"hex_longitude":"2cf7b980","hex_latitude":"070e88a8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504188416001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385837583877275648,"note":"Value kept but may cause issues"} 
[2026-08-19 13:20:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-606297069525291008,"note":"Value kept but may cause issues"} 
[2026-08-19 13:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787125744000,"timestamp_ms":1787125744000,"timestamp_seconds":1787125744,"priority":1,"record_length":96,"hex_timestamp":"000001a018fec180"} 
[2026-08-19 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-08-19 13:20: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-08-19 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 13:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 13:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504188416001,"66":27691,"116":206,"2":54272,"24":45,"16":385837583877275648,"44":-606297069525291008},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,2,24,16,44]} 
[2026-08-19 13:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504188416001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:20:41] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-19 13:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385837583877275648,"km_value":385837583877275.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:20:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-606297069525291008,"description":"Unknown IO ID 44"} 
[2026-08-19 13:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504188416001,"power":27691,"unknown_116":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-606297069525291008}} 
[2026-08-19 13:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":160127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:20:41] local.INFO: GPS data processed {"connection_id":160127,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:20:41] local.INFO: Acknowledgment sent {"connection_id":160127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:20:47] local.INFO: TCP Data received {"connection_id":157571,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018fe8300012d196880071fee00003d011b2a..."} 
[2026-08-19 13:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fe8300012d196880071fee00003d011b2a..."} 
[2026-08-19 13:20:47] local.INFO: Processing buffer {"connection_id":157571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018fe8300012d196880071fee00003d011b2a..."} 
[2026-08-19 13:20:47] local.INFO: Packet analysis {"connection_id":157571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fe"} 
[2026-08-19 13:20:47] local.INFO: Extracted packet for processing {"connection_id":157571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fe"} 
[2026-08-19 13:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504180992001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:20: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-08-19 13:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787125728000,"timestamp_ms":1787125728000,"timestamp_seconds":1787125728,"priority":1,"record_length":96,"hex_timestamp":"000001a018fe8300"} 
[2026-08-19 13:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:20: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-08-19 13: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-19 13:20:47] 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-08-19 13: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-08-19 13:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504180992001,"66":12287,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504180992001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:20:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:20:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504180992001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":157571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:20:47] local.INFO: GPS data processed {"connection_id":157571,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:20:47] local.INFO: Acknowledgment sent {"connection_id":157571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:21:00] local.INFO: TCP Data received {"connection_id":160128,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:21:00] local.INFO: Processing buffer {"connection_id":160128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:21:00] local.INFO: IMEI packet received {"connection_id":160128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":160128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:21:05] local.INFO: TCP Data received {"connection_id":160128,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:21:05] local.INFO: Processing buffer {"connection_id":160128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:21:05] local.INFO: IMEI packet received {"connection_id":160128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":160128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:21:08] local.INFO: TCP Data received {"connection_id":158812,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:21:08] local.INFO: Processing buffer {"connection_id":158812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:21:08] local.INFO: IMEI packet received {"connection_id":158812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":158812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:21:09] local.INFO: TCP Data received {"connection_id":160128,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:21:09] local.INFO: Processing buffer {"connection_id":160128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:21:09] local.INFO: IMEI packet received {"connection_id":160128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":160128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:21:11] local.INFO: TCP Data received {"connection_id":160128,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018fee4a8012cf7df40070e81180010006a2d..."} 
[2026-08-19 13:21:11] local.INFO: TCP Data received {"connection_id":158812,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fee4a8012cf7df40070e81180010006a2d..."} 
[2026-08-19 13:21:11] local.INFO: Processing buffer {"connection_id":160128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018fee4a8012cf7df40070e81180010006a2d..."} 
[2026-08-19 13:21:11] local.INFO: Packet analysis {"connection_id":160128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fe"} 
[2026-08-19 13:21:11] local.INFO: Extracted packet for processing {"connection_id":160128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fe"} 
[2026-08-19 13:21:11] local.INFO: GPS Element Parsed {"raw_longitude":754442048,"raw_latitude":118391064,"longitude_deg":75.4442048,"latitude_deg":11.8391064,"altitude":16,"angle":106,"satellites":45,"speed":42,"hex_longitude":"2cf7df40","hex_latitude":"070e8118","is_valid_coordinates":true} 
[2026-08-19 13:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504190464001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385838056323678208,"note":"Value kept but may cause issues"} 
[2026-08-19 13:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-596304707852916736,"note":"Value kept but may cause issues"} 
[2026-08-19 13:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787125753000,"timestamp_ms":1787125753000,"timestamp_seconds":1787125753,"priority":1,"record_length":96,"hex_timestamp":"000001a018fee4a8"} 
[2026-08-19 13:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-19 13:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504190464001,"66":27919,"116":206,"2":54272,"24":42,"16":385838056323678208,"44":-596304707852916736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,2,24,16,44]} 
[2026-08-19 13:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:21:11] local.INFO: Processing buffer {"connection_id":158812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:21:11] local.INFO: IMEI packet received {"connection_id":158812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":158812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504190464001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:21:11] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-19 13:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385838056323678208,"km_value":385838056323678.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-596304707852916736,"description":"Unknown IO ID 44"} 
[2026-08-19 13:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504190464001,"power":27919,"unknown_116":206,"power_alt":54272,"ignition":42,"odometer":null,"unknown_44":-596304707852916736}} 
[2026-08-19 13:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":160128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:21:11] local.INFO: GPS data processed {"connection_id":160128,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:21:11] local.INFO: Acknowledgment sent {"connection_id":160128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:21:12] local.INFO: TCP Data received {"connection_id":160128,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a018ff03e8012cf80140070e75c8000c006e30..."} 
[2026-08-19 13:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ff03e8012cf80140070e75c8000c006e30..."} 
[2026-08-19 13:21:12] local.INFO: Processing buffer {"connection_id":160128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ff03e8012cf80140070e75c8000c006e30..."} 
[2026-08-19 13:21:12] local.INFO: Packet analysis {"connection_id":160128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ff"} 
[2026-08-19 13:21:12] local.INFO: Extracted packet for processing {"connection_id":160128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ff"} 
[2026-08-19 13:21:12] local.INFO: GPS Element Parsed {"raw_longitude":754450752,"raw_latitude":118388168,"longitude_deg":75.4450752,"latitude_deg":11.8388168,"altitude":12,"angle":110,"satellites":48,"speed":42,"hex_longitude":"2cf80140","hex_latitude":"070e75c8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504192768001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385838490115375104,"note":"Value kept but may cause issues"} 
[2026-08-19 13:21:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-585679027482585088,"note":"Value kept but may cause issues"} 
[2026-08-19 13:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787125761000,"timestamp_ms":1787125761000,"timestamp_seconds":1787125761,"priority":1,"record_length":96,"hex_timestamp":"000001a018ff03e8"} 
[2026-08-19 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-08-19 13:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:21:12] 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-08-19 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-08-19 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-08-19 13:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504192768001,"66":27974,"114":206,"2":54272,"24":42,"16":385838490115375104,"44":-585679027482585088},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,2,24,16,44]} 
[2026-08-19 13:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504192768001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:21:12] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-19 13:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385838490115375104,"km_value":385838490115375.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:21:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-585679027482585088,"description":"Unknown IO ID 44"} 
[2026-08-19 13:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504192768001,"power":27974,"unknown_114":206,"power_alt":54272,"ignition":42,"odometer":null,"unknown_44":-585679027482585088}} 
[2026-08-19 13:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":160128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:21:12] local.INFO: GPS data processed {"connection_id":160128,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:21:12] local.INFO: Acknowledgment sent {"connection_id":160128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:21:13] local.INFO: TCP Data received {"connection_id":158812,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:21:13] local.INFO: Processing buffer {"connection_id":158812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:21:13] local.INFO: IMEI packet received {"connection_id":158812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":158812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:21:15] local.INFO: TCP Data received {"connection_id":158812,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018fed508012d196880071fee00003d011b2a..."} 
[2026-08-19 13:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018fed508012d196880071fee00003d011b2a..."} 
[2026-08-19 13:21:15] local.INFO: Processing buffer {"connection_id":158812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018fed508012d196880071fee00003d011b2a..."} 
[2026-08-19 13:21:15] local.INFO: Packet analysis {"connection_id":158812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018fe"} 
[2026-08-19 13:21:15] local.INFO: Extracted packet for processing {"connection_id":158812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018fe"} 
[2026-08-19 13:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504186368001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:21: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-08-19 13:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787125749000,"timestamp_ms":1787125749000,"timestamp_seconds":1787125749,"priority":1,"record_length":96,"hex_timestamp":"000001a018fed508"} 
[2026-08-19 13:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:21: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-08-19 13: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-19 13:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504186368001,"66":12015,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504186368001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:21:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:21:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504186368001,"power":12015,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":158812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:21:15] local.INFO: GPS data processed {"connection_id":158812,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:21:15] local.INFO: Acknowledgment sent {"connection_id":158812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:21:44] local.INFO: TCP Data received {"connection_id":160128,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019006b48012cf91680070dbd100013008325..."} 
[2026-08-19 13:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019006b48012cf91680070dbd100013008325..."} 
[2026-08-19 13:21:44] local.INFO: Processing buffer {"connection_id":160128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019006b48012cf91680070dbd100013008325..."} 
[2026-08-19 13:21:44] local.INFO: Packet analysis {"connection_id":160128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:21:44] local.INFO: Extracted packet for processing {"connection_id":160128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:21:44] local.INFO: GPS Element Parsed {"raw_longitude":754521728,"raw_latitude":118340880,"longitude_deg":75.4521728,"latitude_deg":11.834088,"altitude":19,"angle":131,"satellites":37,"speed":42,"hex_longitude":"2cf91680","hex_latitude":"070dbd10","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504216320001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385842673413521408,"note":"Value kept but may cause issues"} 
[2026-08-19 13:21:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-503769809270579200,"note":"Value kept but may cause issues"} 
[2026-08-19 13:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787125853000,"timestamp_ms":1787125853000,"timestamp_seconds":1787125853,"priority":1,"record_length":96,"hex_timestamp":"000001a019006b48"} 
[2026-08-19 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-08-19 13:21:44] 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-08-19 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 13:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 13:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504216320001,"66":28006,"56":206,"2":54272,"24":42,"16":385842673413521408,"44":-503769809270579200},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-19 13:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504216320001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:21:44] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-19 13:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385842673413521408,"km_value":385842673413521.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:21:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-503769809270579200,"description":"Unknown IO ID 44"} 
[2026-08-19 13:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504216320001,"power":28006,"unknown_56":206,"power_alt":54272,"ignition":42,"odometer":null,"unknown_44":-503769809270579200}} 
[2026-08-19 13:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":160128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:21:44] local.INFO: GPS data processed {"connection_id":160128,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:21:44] local.INFO: Acknowledgment sent {"connection_id":160128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:21:46] local.INFO: TCP Data received {"connection_id":158812,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ff2710012d196880071fee00003d011b2b..."} 
[2026-08-19 13:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ff2710012d196880071fee00003d011b2b..."} 
[2026-08-19 13:21:46] local.INFO: Processing buffer {"connection_id":158812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ff2710012d196880071fee00003d011b2b..."} 
[2026-08-19 13:21:46] local.INFO: Packet analysis {"connection_id":158812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ff"} 
[2026-08-19 13:21:46] local.INFO: Extracted packet for processing {"connection_id":158812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ff"} 
[2026-08-19 13:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504191744001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:21: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-08-19 13:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787125770000,"timestamp_ms":1787125770000,"timestamp_seconds":1787125770,"priority":1,"record_length":96,"hex_timestamp":"000001a018ff2710"} 
[2026-08-19 13:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:21: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-08-19 13: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 13:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504191744001,"66":12156,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504191744001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:21:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:21:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504191744001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":158812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:21:46] local.INFO: GPS data processed {"connection_id":158812,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:21:46] local.INFO: Acknowledgment sent {"connection_id":158812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:21:57] local.INFO: TCP Data received {"connection_id":157948,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:21:57] local.INFO: Processing buffer {"connection_id":157948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:21:57] local.INFO: IMEI packet received {"connection_id":157948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":157948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:21:59] local.INFO: TCP Data received {"connection_id":157948,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:21:59] local.INFO: Processing buffer {"connection_id":157948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:21:59] local.INFO: IMEI packet received {"connection_id":157948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":157948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:22:02] local.INFO: TCP Data received {"connection_id":157948,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:22:02] local.INFO: Processing buffer {"connection_id":157948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:22:02] local.INFO: IMEI packet received {"connection_id":157948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":157948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:22:04] local.INFO: TCP Data received {"connection_id":157948,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019006f30012cf919c0070dbaa80014007725..."} 
[2026-08-19 13:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019006f30012cf919c0070dbaa80014007725..."} 
[2026-08-19 13:22:04] local.INFO: Processing buffer {"connection_id":157948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019006f30012cf919c0070dbaa80014007725..."} 
[2026-08-19 13:22:04] local.INFO: Packet analysis {"connection_id":157948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:22:04] local.INFO: Extracted packet for processing {"connection_id":157948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:22:04] local.INFO: GPS Element Parsed {"raw_longitude":754522560,"raw_latitude":118340264,"longitude_deg":75.452256,"latitude_deg":11.8340264,"altitude":20,"angle":119,"satellites":37,"speed":41,"hex_longitude":"2cf919c0","hex_latitude":"070dbaa8","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504218368001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385842720658161664,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-498069940994240512,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787125854000,"timestamp_ms":1787125854000,"timestamp_seconds":1787125854,"priority":1,"record_length":96,"hex_timestamp":"000001a019006f30"} 
[2026-08-19 13:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:22: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-08-19 13: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 13:22:04] 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-08-19 13: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-08-19 13:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504218368001,"66":27908,"56":206,"2":54272,"24":41,"16":385842720658161664,"44":-498069940994240512},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-19 13:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504218368001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:22:04] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-19 13:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385842720658161664,"km_value":385842720658161.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:22:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-498069940994240512,"description":"Unknown IO ID 44"} 
[2026-08-19 13:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504218368001,"power":27908,"unknown_56":206,"power_alt":54272,"ignition":41,"odometer":null,"unknown_44":-498069940994240512}} 
[2026-08-19 13:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":157948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:22:04] local.INFO: GPS data processed {"connection_id":157948,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:22:04] local.INFO: Acknowledgment sent {"connection_id":157948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:22:14] local.INFO: TCP Data received {"connection_id":160129,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:22:14] local.INFO: Processing buffer {"connection_id":160129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:22:14] local.INFO: IMEI packet received {"connection_id":160129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":160129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:22:14] local.INFO: TCP Data received {"connection_id":160129,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:22:14] local.INFO: Processing buffer {"connection_id":160129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:22:14] local.INFO: IMEI packet received {"connection_id":160129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":160129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:22:18] local.INFO: TCP Data received {"connection_id":160129,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:22:18] local.INFO: Processing buffer {"connection_id":160129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:22:18] local.INFO: IMEI packet received {"connection_id":160129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":160129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:22:20] local.INFO: TCP Data received {"connection_id":160129,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ff7918012d196880071fee00003d011b2b..."} 
[2026-08-19 13:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ff7918012d196880071fee00003d011b2b..."} 
[2026-08-19 13:22:20] local.INFO: Processing buffer {"connection_id":160129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ff7918012d196880071fee00003d011b2b..."} 
[2026-08-19 13:22:20] local.INFO: Packet analysis {"connection_id":160129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ff"} 
[2026-08-19 13:22:20] local.INFO: Extracted packet for processing {"connection_id":160129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ff"} 
[2026-08-19 13:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504197120001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787125791000,"timestamp_ms":1787125791000,"timestamp_seconds":1787125791,"priority":1,"record_length":96,"hex_timestamp":"000001a018ff7918"} 
[2026-08-19 13:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:22: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-08-19 13: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-19 13:22:20] 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-08-19 13: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-08-19 13:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504197120001,"66":12298,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504197120001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:22:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:22:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504197120001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":160129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:22:21] local.INFO: GPS data processed {"connection_id":160129,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:22:21] local.INFO: Acknowledgment sent {"connection_id":160129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:22:24] local.INFO: TCP Data received {"connection_id":160129,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a018ffcb20012d196880071fee00003d011b2c..."} 
[2026-08-19 13:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a018ffcb20012d196880071fee00003d011b2c..."} 
[2026-08-19 13:22:24] local.INFO: Processing buffer {"connection_id":160129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a018ffcb20012d196880071fee00003d011b2c..."} 
[2026-08-19 13:22:24] local.INFO: Packet analysis {"connection_id":160129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a018ff"} 
[2026-08-19 13:22:24] local.INFO: Extracted packet for processing {"connection_id":160129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a018ff"} 
[2026-08-19 13:22:24] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504202496001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22: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-08-19 13:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787125812000,"timestamp_ms":1787125812000,"timestamp_seconds":1787125812,"priority":1,"record_length":96,"hex_timestamp":"000001a018ffcb20"} 
[2026-08-19 13:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-19 13:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:24] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:24] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4264622081,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:24] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452336,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:24] local.WARNING: Large IO value detected {"io_id":184,"raw_value":-4683743612465315839,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:24] local.WARNING: Large IO value detected {"io_id":160,"raw_value":1800660159784884584,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:24] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513390566314934555,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:24] local.WARNING: Large IO value detected {"io_id":61,"raw_value":79704697409110016,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:24] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:24] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972246169419982,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:24] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3992977469,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 13:22:24] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:24] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:24] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3099525120,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:24] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,121,28,24,241,158,16,184,160,39,45,128,238,61,43,10,66,213,42,131,1,240,255,31,4,113,205,222,104,239,48,2,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 13:22:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395824582787858432,"timestamp_seconds":4395824582787858.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 13:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504202496001,"66":12341,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504202496001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:22:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:22:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504202496001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":160129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:22:24] local.INFO: GPS data processed {"connection_id":160129,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:22:24] local.INFO: Acknowledgment sent {"connection_id":160129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:22:35] local.INFO: TCP Data received {"connection_id":157948,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019007700012cf92140070db8280015006329..."} 
[2026-08-19 13:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019007700012cf92140070db8280015006329..."} 
[2026-08-19 13:22:35] local.INFO: Processing buffer {"connection_id":157948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019007700012cf92140070db8280015006329..."} 
[2026-08-19 13:22:35] local.INFO: Packet analysis {"connection_id":157948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:22:35] local.INFO: Extracted packet for processing {"connection_id":157948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:22:35] local.INFO: GPS Element Parsed {"raw_longitude":754524480,"raw_latitude":118339624,"longitude_deg":75.452448,"latitude_deg":11.8339624,"altitude":21,"angle":99,"satellites":41,"speed":39,"hex_longitude":"2cf92140","hex_latitude":"070db828","is_valid_coordinates":true} 
[2026-08-19 13:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504218624001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385842819442409472,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-497155147320088576,"note":"Value kept but may cause issues"} 
[2026-08-19 13:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787125856000,"timestamp_ms":1787125856000,"timestamp_seconds":1787125856,"priority":1,"record_length":96,"hex_timestamp":"000001a019007700"} 
[2026-08-19 13:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:22: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-08-19 13:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 13:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":157948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":157948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":157948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504218624001,"66":27908,"56":206,"2":54272,"24":39,"16":385842819442409472,"44":-497155147320088576},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-19 13:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504218624001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:22:35] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-19 13:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385842819442409472,"km_value":385842819442409.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:22:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-497155147320088576,"description":"Unknown IO ID 44"} 
[2026-08-19 13:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504218624001,"power":27908,"unknown_56":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-497155147320088576}} 
[2026-08-19 13:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":157948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:22:35] local.INFO: GPS data processed {"connection_id":157948,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:22:35] local.INFO: Acknowledgment sent {"connection_id":157948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:22:59] local.INFO: TCP Data received {"connection_id":157949,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:22:59] local.INFO: Processing buffer {"connection_id":157949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:22:59] local.INFO: IMEI packet received {"connection_id":157949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":157949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:23:05] local.INFO: TCP Data received {"connection_id":157949,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:23:05] local.INFO: Processing buffer {"connection_id":157949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:23:05] local.INFO: IMEI packet received {"connection_id":157949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":157949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:23:06] local.INFO: TCP Data received {"connection_id":157949,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01900a1f8012cf946c0070db3e0001a00642d..."} 
[2026-08-19 13:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01900a1f8012cf946c0070db3e0001a00642d..."} 
[2026-08-19 13:23:06] local.INFO: Processing buffer {"connection_id":157949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01900a1f8012cf946c0070db3e0001a00642d..."} 
[2026-08-19 13:23:06] local.INFO: Packet analysis {"connection_id":157949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:23:06] local.INFO: Extracted packet for processing {"connection_id":157949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:23:06] local.INFO: GPS Element Parsed {"raw_longitude":754534080,"raw_latitude":118338528,"longitude_deg":75.453408,"latitude_deg":11.8338528,"altitude":26,"angle":100,"satellites":45,"speed":37,"hex_longitude":"2cf946c0","hex_latitude":"070db3e0","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504219136001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385843279003910144,"note":"Value kept but may cause issues"} 
[2026-08-19 13:23:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-495044084994922496,"note":"Value kept but may cause issues"} 
[2026-08-19 13:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787125867000,"timestamp_ms":1787125867000,"timestamp_seconds":1787125867,"priority":1,"record_length":96,"hex_timestamp":"000001a01900a1f8"} 
[2026-08-19 13:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:23: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-08-19 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 13:23:06] 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-08-19 13: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-08-19 13:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504219136001,"66":27919,"56":206,"2":54272,"24":37,"16":385843279003910144,"44":-495044084994922496},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-19 13:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504219136001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:23:06] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-19 13:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385843279003910144,"km_value":385843279003910.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:23:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-495044084994922496,"description":"Unknown IO ID 44"} 
[2026-08-19 13:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504219136001,"power":27919,"unknown_56":206,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-495044084994922496}} 
[2026-08-19 13:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":157949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:23:06] local.INFO: GPS data processed {"connection_id":157949,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:23:06] local.INFO: Acknowledgment sent {"connection_id":157949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:23:09] local.INFO: TCP Data received {"connection_id":160130,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:23:09] local.INFO: Processing buffer {"connection_id":160130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:23:09] local.INFO: IMEI packet received {"connection_id":160130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":160130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:23:13] local.INFO: TCP Data received {"connection_id":160130,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:23:13] local.INFO: Processing buffer {"connection_id":160130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:23:13] local.INFO: IMEI packet received {"connection_id":160130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":160130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:23:15] local.INFO: TCP Data received {"connection_id":160130,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019001d28012d196880071fee00003d011b2c..."} 
[2026-08-19 13:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019001d28012d196880071fee00003d011b2c..."} 
[2026-08-19 13:23:15] local.INFO: Processing buffer {"connection_id":160130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019001d28012d196880071fee00003d011b2c..."} 
[2026-08-19 13:23:15] local.INFO: Packet analysis {"connection_id":160130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:23:15] local.INFO: Extracted packet for processing {"connection_id":160130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:23:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504207872001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:23: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-08-19 13:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787125833000,"timestamp_ms":1787125833000,"timestamp_seconds":1787125833,"priority":1,"record_length":96,"hex_timestamp":"000001a019001d28"} 
[2026-08-19 13:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:23: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-08-19 13:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-19 13:23: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-08-19 13:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504207872001,"66":12287,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504207872001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:23:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:23:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504207872001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":160130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:23:15] local.INFO: GPS data processed {"connection_id":160130,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:23:15] local.INFO: Acknowledgment sent {"connection_id":160130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:23:37] local.INFO: TCP Data received {"connection_id":157949,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01900c520012cf96a80070dac48001600692c..."} 
[2026-08-19 13:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01900c520012cf96a80070dac48001600692c..."} 
[2026-08-19 13:23:37] local.INFO: Processing buffer {"connection_id":157949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01900c520012cf96a80070dac48001600692c..."} 
[2026-08-19 13:23:37] local.INFO: Packet analysis {"connection_id":157949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:23:37] local.INFO: Extracted packet for processing {"connection_id":157949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:23:37] local.INFO: GPS Element Parsed {"raw_longitude":754543232,"raw_latitude":118336584,"longitude_deg":75.4543232,"latitude_deg":11.8336584,"altitude":22,"angle":105,"satellites":44,"speed":34,"hex_longitude":"2cf96a80","hex_latitude":"070dac48","is_valid_coordinates":true} 
[2026-08-19 13:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504221952001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385843721385541632,"note":"Value kept but may cause issues"} 
[2026-08-19 13:23:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-484488773368553472,"note":"Value kept but may cause issues"} 
[2026-08-19 13:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787125876000,"timestamp_ms":1787125876000,"timestamp_seconds":1787125876,"priority":1,"record_length":96,"hex_timestamp":"000001a01900c520"} 
[2026-08-19 13:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:23: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-08-19 13:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:23:37] 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-08-19 13:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504221952001,"66":27995,"56":206,"2":54272,"24":34,"16":385843721385541632,"44":-484488773368553472},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-19 13:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504221952001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:23:37] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-19 13:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385843721385541632,"km_value":385843721385541.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:23:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-484488773368553472,"description":"Unknown IO ID 44"} 
[2026-08-19 13:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504221952001,"power":27995,"unknown_56":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-484488773368553472}} 
[2026-08-19 13:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":157949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:23:37] local.INFO: GPS data processed {"connection_id":157949,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:23:37] local.INFO: Acknowledgment sent {"connection_id":157949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:23:47] local.INFO: TCP Data received {"connection_id":160130,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019006f30012d196880071fee00003d011b2a..."} 
[2026-08-19 13:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019006f30012d196880071fee00003d011b2a..."} 
[2026-08-19 13:23:47] local.INFO: Processing buffer {"connection_id":160130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019006f30012d196880071fee00003d011b2a..."} 
[2026-08-19 13:23:47] local.INFO: Packet analysis {"connection_id":160130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:23:47] local.INFO: Extracted packet for processing {"connection_id":160130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:23:47] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504213248001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:23: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-08-19 13:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787125854000,"timestamp_ms":1787125854000,"timestamp_seconds":1787125854,"priority":1,"record_length":96,"hex_timestamp":"000001a019006f30"} 
[2026-08-19 13:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:23: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-08-19 13: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-19 13:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504213248001,"66":12374,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504213248001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:23:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:23:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504213248001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":160130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:23:47] local.INFO: GPS data processed {"connection_id":160130,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:23:47] local.INFO: Acknowledgment sent {"connection_id":160130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:23:59] local.INFO: TCP Data received {"connection_id":157572,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:23:59] local.INFO: Processing buffer {"connection_id":157572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:23:59] local.INFO: IMEI packet received {"connection_id":157572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":157572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:24:01] local.INFO: TCP Data received {"connection_id":157572,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:24:01] local.INFO: Processing buffer {"connection_id":157572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:24:01] local.INFO: IMEI packet received {"connection_id":157572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":157572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:24:04] local.INFO: TCP Data received {"connection_id":157572,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:24:04] local.INFO: Processing buffer {"connection_id":157572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:24:04] local.INFO: IMEI packet received {"connection_id":157572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":157572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:24:05] local.INFO: TCP Data received {"connection_id":157572,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01900d0d8012cf97240070da970001400742f..."} 
[2026-08-19 13:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01900d0d8012cf97240070da970001400742f..."} 
[2026-08-19 13:24:05] local.INFO: Processing buffer {"connection_id":157572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01900d0d8012cf97240070da970001400742f..."} 
[2026-08-19 13:24:05] local.INFO: Packet analysis {"connection_id":157572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:24:05] local.INFO: Extracted packet for processing {"connection_id":157572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:24:05] local.INFO: GPS Element Parsed {"raw_longitude":754545216,"raw_latitude":118335856,"longitude_deg":75.4545216,"latitude_deg":11.8335856,"altitude":20,"angle":116,"satellites":47,"speed":25,"hex_longitude":"2cf97240","hex_latitude":"070da970","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504224256001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385843824464756736,"note":"Value kept but may cause issues"} 
[2026-08-19 13:24:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-474426042951645184,"note":"Value kept but may cause issues"} 
[2026-08-19 13:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787125879000,"timestamp_ms":1787125879000,"timestamp_seconds":1787125879,"priority":1,"record_length":96,"hex_timestamp":"000001a01900d0d8"} 
[2026-08-19 13:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 13:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504224256001,"66":27821,"56":206,"2":54272,"24":25,"16":385843824464756736,"44":-474426042951645184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-19 13:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504224256001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:24:05] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-19 13:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385843824464756736,"km_value":385843824464756.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:24:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-474426042951645184,"description":"Unknown IO ID 44"} 
[2026-08-19 13:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504224256001,"power":27821,"unknown_56":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-474426042951645184}} 
[2026-08-19 13:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":157572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:24:05] local.INFO: GPS data processed {"connection_id":157572,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:24:05] local.INFO: Acknowledgment sent {"connection_id":157572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:24:07] local.INFO: TCP Data received {"connection_id":157572,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01900e460012cf97a00070da4a0001300822f..."} 
[2026-08-19 13:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01900e460012cf97a00070da4a0001300822f..."} 
[2026-08-19 13:24:07] local.INFO: Processing buffer {"connection_id":157572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01900e460012cf97a00070da4a0001300822f..."} 
[2026-08-19 13:24:07] local.INFO: Packet analysis {"connection_id":157572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:24:07] local.INFO: Extracted packet for processing {"connection_id":157572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:24:07] local.INFO: GPS Element Parsed {"raw_longitude":754547200,"raw_latitude":118334624,"longitude_deg":75.45472,"latitude_deg":11.8334624,"altitude":19,"angle":130,"satellites":47,"speed":10,"hex_longitude":"2cf97a00","hex_latitude":"070da4a0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504225024001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385843936133906432,"note":"Value kept but may cause issues"} 
[2026-08-19 13:24:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-472244611882323968,"note":"Value kept but may cause issues"} 
[2026-08-19 13:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787125884000,"timestamp_ms":1787125884000,"timestamp_seconds":1787125884,"priority":1,"record_length":96,"hex_timestamp":"000001a01900e460"} 
[2026-08-19 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-08-19 13:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 13:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 13:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504225024001,"66":27571,"56":206,"2":54272,"24":10,"16":385843936133906432,"44":-472244611882323968},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-19 13:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504225024001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:24:07] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-19 13:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385843936133906432,"km_value":385843936133906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:24:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-472244611882323968,"description":"Unknown IO ID 44"} 
[2026-08-19 13:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504225024001,"power":27571,"unknown_56":206,"power_alt":54272,"ignition":10,"odometer":null,"unknown_44":-472244611882323968}} 
[2026-08-19 13:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":157572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:24:07] local.INFO: GPS data processed {"connection_id":157572,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:24:07] local.INFO: Acknowledgment sent {"connection_id":157572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:24:09] local.INFO: TCP Data received {"connection_id":158813,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:24:09] local.INFO: Processing buffer {"connection_id":158813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:24:09] local.INFO: IMEI packet received {"connection_id":158813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":158813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:24:14] local.INFO: TCP Data received {"connection_id":158813,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:24:14] local.INFO: Processing buffer {"connection_id":158813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:24:14] local.INFO: IMEI packet received {"connection_id":158813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":158813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:24:15] local.INFO: TCP Data received {"connection_id":158813,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01900c138012d196880071fee00003d011b2c..."} 
[2026-08-19 13:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01900c138012d196880071fee00003d011b2c..."} 
[2026-08-19 13:24:15] local.INFO: Processing buffer {"connection_id":158813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01900c138012d196880071fee00003d011b2c..."} 
[2026-08-19 13:24:15] local.INFO: Packet analysis {"connection_id":158813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:24:15] local.INFO: Extracted packet for processing {"connection_id":158813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01900"} 
[2026-08-19 13:24:15] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504218624001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:24: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-08-19 13:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787125875000,"timestamp_ms":1787125875000,"timestamp_seconds":1787125875,"priority":1,"record_length":96,"hex_timestamp":"000001a01900c138"} 
[2026-08-19 13:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-19 13:24:15] 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-08-19 13:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504218624001,"66":12374,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504218624001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:24:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:24:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504218624001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":158813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:24:16] local.INFO: GPS data processed {"connection_id":158813,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:24:16] local.INFO: Acknowledgment sent {"connection_id":158813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:24:38] local.INFO: TCP Data received {"connection_id":157572,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019013668012cf97d40070da0e00014008930..."} 
[2026-08-19 13:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019013668012cf97d40070da0e00014008930..."} 
[2026-08-19 13:24:38] local.INFO: Processing buffer {"connection_id":157572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019013668012cf97d40070da0e00014008930..."} 
[2026-08-19 13:24:38] local.INFO: Packet analysis {"connection_id":157572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01901"} 
[2026-08-19 13:24:38] local.INFO: Extracted packet for processing {"connection_id":157572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01901"} 
[2026-08-19 13:24:38] local.INFO: GPS Element Parsed {"raw_longitude":754548032,"raw_latitude":118333664,"longitude_deg":75.4548032,"latitude_deg":11.8333664,"altitude":20,"angle":137,"satellites":48,"speed":0,"hex_longitude":"2cf97d40","hex_latitude":"070da0e0","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504226304001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385844000558415872,"note":"Value kept but may cause issues"} 
[2026-08-19 13:24:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-470063180813131776,"note":"Value kept but may cause issues"} 
[2026-08-19 13:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787125905000,"timestamp_ms":1787125905000,"timestamp_seconds":1787125905,"priority":1,"record_length":96,"hex_timestamp":"000001a019013668"} 
[2026-08-19 13:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 13:24:38] 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-08-19 13: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-08-19 13:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504226304001,"66":27843,"56":206,"2":54272,"24":0,"16":385844000558415872,"44":-470063180813131776},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-19 13:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504226304001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:24:38] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-19 13:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385844000558415872,"km_value":385844000558415.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:24:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-470063180813131776,"description":"Unknown IO ID 44"} 
[2026-08-19 13:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504226304001,"power":27843,"unknown_56":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-470063180813131776}} 
[2026-08-19 13:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":157572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:24:38] local.INFO: GPS data processed {"connection_id":157572,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:24:38] local.INFO: Acknowledgment sent {"connection_id":157572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:24:47] local.INFO: TCP Data received {"connection_id":158813,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019011340012d196880071fee00003d011b2b..."} 
[2026-08-19 13:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019011340012d196880071fee00003d011b2b..."} 
[2026-08-19 13:24:47] local.INFO: Processing buffer {"connection_id":158813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019011340012d196880071fee00003d011b2b..."} 
[2026-08-19 13:24:47] local.INFO: Packet analysis {"connection_id":158813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01901"} 
[2026-08-19 13:24:47] local.INFO: Extracted packet for processing {"connection_id":158813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01901"} 
[2026-08-19 13:24:47] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533056,"longitude_deg":75.6639872,"latitude_deg":11.9533056,"altitude":61,"angle":283,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504224000001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713929360375808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614924288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:24: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-08-19 13:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787125896000,"timestamp_ms":1787125896000,"timestamp_seconds":1787125896,"priority":1,"record_length":96,"hex_timestamp":"000001a019011340"} 
[2026-08-19 13:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:24: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-08-19 13: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-19 13:24:47] 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-08-19 13: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-08-19 13:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504224000001,"66":12298,"121":206,"28":31744,"24":0,"16":13713929360375808,"45":1830854016614924288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504224000001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:24:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:24:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713929360375808,"km_value":13713929360375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614924288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504224000001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614924288}} 
[2026-08-19 13:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":158813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:24:48] local.INFO: GPS data processed {"connection_id":158813,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:24:48] local.INFO: Acknowledgment sent {"connection_id":158813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:24:59] local.INFO: TCP Data received {"connection_id":158814,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:24:59] local.INFO: Processing buffer {"connection_id":158814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:24:59] local.INFO: IMEI packet received {"connection_id":158814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":158814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:25:04] local.INFO: TCP Data received {"connection_id":158814,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:25:04] local.INFO: Processing buffer {"connection_id":158814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:25:04] local.INFO: IMEI packet received {"connection_id":158814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":158814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:25:06] local.INFO: TCP Data received {"connection_id":158814,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019018870012cf97ec0070d9eb8001400892f..."} 
[2026-08-19 13:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019018870012cf97ec0070d9eb8001400892f..."} 
[2026-08-19 13:25:06] local.INFO: Processing buffer {"connection_id":158814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019018870012cf97ec0070d9eb8001400892f..."} 
[2026-08-19 13:25:06] local.INFO: Packet analysis {"connection_id":158814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01901"} 
[2026-08-19 13:25:06] local.INFO: Extracted packet for processing {"connection_id":158814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01901"} 
[2026-08-19 13:25:06] local.INFO: GPS Element Parsed {"raw_longitude":754548416,"raw_latitude":118333112,"longitude_deg":75.4548416,"latitude_deg":11.8333112,"altitude":20,"angle":137,"satellites":47,"speed":0,"hex_longitude":"2cf97ec0","hex_latitude":"070d9eb8","is_valid_coordinates":true} 
[2026-08-19 13:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504231680001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385844030623186944,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-469148387139067904,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787125926000,"timestamp_ms":1787125926000,"timestamp_seconds":1787125926,"priority":1,"record_length":96,"hex_timestamp":"000001a019018870"} 
[2026-08-19 13:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:25: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-08-19 13:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 13:25:06] 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-08-19 13:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504231680001,"66":27691,"56":206,"2":54272,"24":0,"16":385844030623186944,"44":-469148387139067904},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,2,24,16,44]} 
[2026-08-19 13:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504231680001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:25:06] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-19 13:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385844030623186944,"km_value":385844030623186.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:25:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-469148387139067904,"description":"Unknown IO ID 44"} 
[2026-08-19 13:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504231680001,"power":27691,"unknown_56":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-469148387139067904}} 
[2026-08-19 13:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":158814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:25:06] local.INFO: GPS data processed {"connection_id":158814,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:25:06] local.INFO: Acknowledgment sent {"connection_id":158814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:25:08] local.INFO: TCP Data received {"connection_id":157950,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:25:08] local.INFO: Processing buffer {"connection_id":157950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:25:08] local.INFO: IMEI packet received {"connection_id":157950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":157950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:25:12] local.INFO: TCP Data received {"connection_id":157950,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:25:12] local.INFO: Processing buffer {"connection_id":157950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:25:12] local.INFO: IMEI packet received {"connection_id":157950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":157950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:25:14] local.INFO: TCP Data received {"connection_id":157950,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:25:14] local.INFO: Processing buffer {"connection_id":157950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:25:14] local.INFO: IMEI packet received {"connection_id":157950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":157950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:25:15] local.INFO: TCP Data received {"connection_id":157950,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0190370b8012d196700071fecb0003e00812b..."} 
[2026-08-19 13:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190370b8012d196700071fecb0003e00812b..."} 
[2026-08-19 13:25:15] local.INFO: Processing buffer {"connection_id":157950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190370b8012d196700071fecb0003e00812b..."} 
[2026-08-19 13:25:15] local.INFO: Packet analysis {"connection_id":157950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01903"} 
[2026-08-19 13:25:15] local.INFO: Extracted packet for processing {"connection_id":157950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01903"} 
[2026-08-19 13:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119532720,"longitude_deg":75.6639488,"latitude_deg":11.953272,"altitude":62,"angle":129,"satellites":43,"speed":3,"hex_longitude":"2d196700","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-08-19 13:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504266752001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713993784885248,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149798912,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25: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-08-19 13:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787126051000,"timestamp_ms":1787126051000,"timestamp_seconds":1787126051,"priority":1,"record_length":96,"hex_timestamp":"000001a0190370b8"} 
[2026-08-19 13:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:25: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-08-19 13:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-19 13:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:15] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3978297407,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 13:25:15] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:15] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3099525120,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:15] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,184,160,73,45,192,236,63,44,10,66,50,42,1,240,25,31,4,113,205,3,255,104,43,239,55,2,48,7,61],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 13:25:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539668195786752000,"timestamp_seconds":4539668195786752,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 13:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504266752001,"66":14135,"121":206,"28":31744,"24":3,"16":13713993784885248,"45":1830431804149798912},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504266752001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:25:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:25:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713993784885248,"km_value":13713993784885.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149798912,"description":"Unknown IO ID 45"} 
[2026-08-19 13:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504266752001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1830431804149798912}} 
[2026-08-19 13:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":157950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:25:15] local.INFO: GPS data processed {"connection_id":157950,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:25:15] local.INFO: Acknowledgment sent {"connection_id":157950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:25:19] local.INFO: TCP Data received {"connection_id":157950,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0190374a0012d196740071fec88003e00742c..."} 
[2026-08-19 13:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190374a0012d196740071fec88003e00742c..."} 
[2026-08-19 13:25:19] local.INFO: Processing buffer {"connection_id":157950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190374a0012d196740071fec88003e00742c..."} 
[2026-08-19 13:25:19] local.INFO: Packet analysis {"connection_id":157950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01903"} 
[2026-08-19 13:25:19] local.INFO: Extracted packet for processing {"connection_id":157950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01903"} 
[2026-08-19 13:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532680,"longitude_deg":75.6639552,"latitude_deg":11.953268,"altitude":62,"angle":116,"satellites":44,"speed":3,"hex_longitude":"2d196740","hex_latitude":"071fec88","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504269056001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13713998079852544,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149772288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787126052000,"timestamp_ms":1787126052000,"timestamp_seconds":1787126052,"priority":1,"record_length":96,"hex_timestamp":"000001a0190374a0"} 
[2026-08-19 13:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 13:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504269056001,"66":14135,"121":206,"28":31744,"24":3,"16":13713998079852544,"45":1830431804149772288},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504269056001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:25:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:25:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13713998079852544,"km_value":13713998079852.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149772288,"description":"Unknown IO ID 45"} 
[2026-08-19 13:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504269056001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1830431804149772288}} 
[2026-08-19 13:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":157950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:25:19] local.INFO: GPS data processed {"connection_id":157950,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:25:19] local.INFO: Acknowledgment sent {"connection_id":157950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:25:38] local.INFO: TCP Data received {"connection_id":158814,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01903f1a0012cf9ccc0070daa88000d006a33..."} 
[2026-08-19 13:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01903f1a0012cf9ccc0070daa88000d006a33..."} 
[2026-08-19 13:25:38] local.INFO: Processing buffer {"connection_id":158814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01903f1a0012cf9ccc0070daa88000d006a33..."} 
[2026-08-19 13:25:38] local.INFO: Packet analysis {"connection_id":158814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01903"} 
[2026-08-19 13:25:38] local.INFO: Extracted packet for processing {"connection_id":158814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01903"} 
[2026-08-19 13:25:38] local.INFO: GPS Element Parsed {"raw_longitude":754568384,"raw_latitude":118336136,"longitude_deg":75.4568384,"latitude_deg":11.8336136,"altitude":13,"angle":106,"satellites":51,"speed":9,"hex_longitude":"2cf9ccc0","hex_latitude":"070daa88","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504277248001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385845082890174464,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-447052601466638336,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787126084000,"timestamp_ms":1787126084000,"timestamp_seconds":1787126084,"priority":1,"record_length":96,"hex_timestamp":"000001a01903f1a0"} 
[2026-08-19 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-08-19 13:25: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-08-19 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 13:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 13:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504277248001,"66":27832,"14":206,"2":54272,"24":9,"16":385845082890174464,"44":-447052601466638336},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-08-19 13:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504277248001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:25:38] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-19 13:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385845082890174464,"km_value":385845082890174.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:25:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-447052601466638336,"description":"Unknown IO ID 44"} 
[2026-08-19 13:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504277248001,"power":27832,"unknown_14":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-447052601466638336}} 
[2026-08-19 13:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":158814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:25:38] local.INFO: GPS data processed {"connection_id":158814,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:25:38] local.INFO: Acknowledgment sent {"connection_id":158814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:25:51] local.INFO: TCP Data received {"connection_id":157950,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019044b78012d19a3c0071ff1680039004d2c..."} 
[2026-08-19 13:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019044b78012d19a3c0071ff1680039004d2c..."} 
[2026-08-19 13:25:51] local.INFO: Processing buffer {"connection_id":157950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019044b78012d19a3c0071ff1680039004d2c..."} 
[2026-08-19 13:25:51] local.INFO: Packet analysis {"connection_id":157950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01904"} 
[2026-08-19 13:25:51] local.INFO: Extracted packet for processing {"connection_id":157950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01904"} 
[2026-08-19 13:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756655040,"raw_latitude":119533928,"longitude_deg":75.665504,"latitude_deg":11.9533928,"altitude":57,"angle":77,"satellites":44,"speed":13,"hex_longitude":"2d19a3c0","hex_latitude":"071ff168","is_valid_coordinates":true} 
[2026-08-19 13:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504283136001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13714758289063936,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847179565264347136,"note":"Value kept but may cause issues"} 
[2026-08-19 13:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787126107000,"timestamp_ms":1787126107000,"timestamp_seconds":1787126107,"priority":1,"record_length":96,"hex_timestamp":"000001a019044b78"} 
[2026-08-19 13:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-19 13:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504283136001,"66":14233,"121":206,"28":31744,"24":13,"16":13714758289063936,"45":1847179565264347136},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504283136001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:25:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:25:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13714758289063936,"km_value":13714758289063.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847179565264347136,"description":"Unknown IO ID 45"} 
[2026-08-19 13:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504283136001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1847179565264347136}} 
[2026-08-19 13:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":157950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:25:51] local.INFO: GPS data processed {"connection_id":157950,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:25:51] local.INFO: Acknowledgment sent {"connection_id":157950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:25:59] local.INFO: TCP Data received {"connection_id":160131,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:25:59] local.INFO: Processing buffer {"connection_id":160131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:25:59] local.INFO: IMEI packet received {"connection_id":160131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":160131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:26:04] local.INFO: TCP Data received {"connection_id":160131,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:26:04] local.INFO: Processing buffer {"connection_id":160131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:26:04] local.INFO: IMEI packet received {"connection_id":160131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":160131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:26:06] local.INFO: TCP Data received {"connection_id":160131,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0190418b0012cf9cf80070da9a8000f007b31..."} 
[2026-08-19 13:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190418b0012cf9cf80070da9a8000f007b31..."} 
[2026-08-19 13:26:06] local.INFO: Processing buffer {"connection_id":160131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190418b0012cf9cf80070da9a8000f007b31..."} 
[2026-08-19 13:26:06] local.INFO: Packet analysis {"connection_id":160131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01904"} 
[2026-08-19 13:26:06] local.INFO: Extracted packet for processing {"connection_id":160131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01904"} 
[2026-08-19 13:26:06] local.INFO: GPS Element Parsed {"raw_longitude":754569088,"raw_latitude":118335912,"longitude_deg":75.4569088,"latitude_deg":11.8335912,"altitude":15,"angle":123,"satellites":49,"speed":7,"hex_longitude":"2cf9cf80","hex_latitude":"070da9a8","is_valid_coordinates":true} 
[2026-08-19 13:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504277504001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385845117249912832,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-446771126489937920,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787126094000,"timestamp_ms":1787126094000,"timestamp_seconds":1787126094,"priority":1,"record_length":96,"hex_timestamp":"000001a0190418b0"} 
[2026-08-19 13:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:26: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-08-19 13:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 13:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504277504001,"66":27995,"14":206,"2":54272,"24":7,"16":385845117249912832,"44":-446771126489937920},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-08-19 13:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504277504001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:26:06] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-19 13:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385845117249912832,"km_value":385845117249912.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:26:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-446771126489937920,"description":"Unknown IO ID 44"} 
[2026-08-19 13:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504277504001,"power":27995,"unknown_14":206,"power_alt":54272,"ignition":7,"odometer":null,"unknown_44":-446771126489937920}} 
[2026-08-19 13:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":160131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:26:06] local.INFO: GPS data processed {"connection_id":160131,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:26:06] local.INFO: Acknowledgment sent {"connection_id":160131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:26:08] local.INFO: TCP Data received {"connection_id":157573,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:26:08] local.INFO: Processing buffer {"connection_id":157573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:26:08] local.INFO: IMEI packet received {"connection_id":157573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":157573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:26:11] local.INFO: TCP Data received {"connection_id":157573,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:26:11] local.INFO: Processing buffer {"connection_id":157573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:26:11] local.INFO: IMEI packet received {"connection_id":157573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":157573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:26:13] local.INFO: TCP Data received {"connection_id":157573,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:26:13] local.INFO: Processing buffer {"connection_id":157573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:26:13] local.INFO: IMEI packet received {"connection_id":157573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":157573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:26:14] local.INFO: TCP Data received {"connection_id":157573,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019044f60012d19a540071ff1600038005d2c..."} 
[2026-08-19 13:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019044f60012d19a540071ff1600038005d2c..."} 
[2026-08-19 13:26:14] local.INFO: Processing buffer {"connection_id":157573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019044f60012d19a540071ff1600038005d2c..."} 
[2026-08-19 13:26:14] local.INFO: Packet analysis {"connection_id":157573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01904"} 
[2026-08-19 13:26:14] local.INFO: Extracted packet for processing {"connection_id":157573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01904"} 
[2026-08-19 13:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756655424,"raw_latitude":119533920,"longitude_deg":75.6655424,"latitude_deg":11.953392,"altitude":56,"angle":93,"satellites":44,"speed":15,"hex_longitude":"2d19a540","hex_latitude":"071ff160","is_valid_coordinates":true} 
[2026-08-19 13:26: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-08-19 13:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504283392001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13714775468933120,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847531408985253888,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26: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-08-19 13:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787126108000,"timestamp_ms":1787126108000,"timestamp_seconds":1787126108,"priority":1,"record_length":96,"hex_timestamp":"000001a019044f60"} 
[2026-08-19 13:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:26: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-08-19 13:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-19 13:26:14] 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-08-19 13:26: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-08-19 13:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504283392001,"66":14211,"121":206,"28":31744,"24":15,"16":13714775468933120,"45":1847531408985253888},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504283392001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:26:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:26:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13714775468933120,"km_value":13714775468933.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847531408985253888,"description":"Unknown IO ID 45"} 
[2026-08-19 13:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504283392001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1847531408985253888}} 
[2026-08-19 13:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":157573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:26:14] local.INFO: GPS data processed {"connection_id":157573,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:26:14] local.INFO: Acknowledgment sent {"connection_id":157573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:26:36] local.INFO: TCP Data received {"connection_id":160131,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019042850012cf9d380070da6a0000f008830..."} 
[2026-08-19 13:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019042850012cf9d380070da6a0000f008830..."} 
[2026-08-19 13:26:36] local.INFO: Processing buffer {"connection_id":160131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019042850012cf9d380070da6a0000f008830..."} 
[2026-08-19 13:26:36] local.INFO: Packet analysis {"connection_id":160131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01904"} 
[2026-08-19 13:26:36] local.INFO: Extracted packet for processing {"connection_id":160131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01904"} 
[2026-08-19 13:26:36] local.INFO: GPS Element Parsed {"raw_longitude":754570112,"raw_latitude":118335136,"longitude_deg":75.4570112,"latitude_deg":11.8335136,"altitude":15,"angle":136,"satellites":48,"speed":14,"hex_longitude":"2cf9d380","hex_latitude":"070da6a0","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504280064001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385845177379454976,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-445997070304040960,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787126098000,"timestamp_ms":1787126098000,"timestamp_seconds":1787126098,"priority":1,"record_length":96,"hex_timestamp":"000001a019042850"} 
[2026-08-19 13:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 13:26:36] 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-08-19 13: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-08-19 13:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504280064001,"66":27908,"14":206,"2":54272,"24":14,"16":385845177379454976,"44":-445997070304040960},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-08-19 13:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504280064001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:26:36] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-19 13:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385845177379454976,"km_value":385845177379455.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:26:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-445997070304040960,"description":"Unknown IO ID 44"} 
[2026-08-19 13:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504280064001,"power":27908,"unknown_14":206,"power_alt":54272,"ignition":14,"odometer":null,"unknown_44":-445997070304040960}} 
[2026-08-19 13:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":160131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:26:36] local.INFO: GPS data processed {"connection_id":160131,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:26:36] local.INFO: Acknowledgment sent {"connection_id":160131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:26:45] local.INFO: TCP Data received {"connection_id":157573,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019050310012d19cb80072019880035014a2c..."} 
[2026-08-19 13:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019050310012d19cb80072019880035014a2c..."} 
[2026-08-19 13:26:45] local.INFO: Processing buffer {"connection_id":157573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019050310012d19cb80072019880035014a2c..."} 
[2026-08-19 13:26:45] local.INFO: Packet analysis {"connection_id":157573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01905"} 
[2026-08-19 13:26:45] local.INFO: Extracted packet for processing {"connection_id":157573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01905"} 
[2026-08-19 13:26:45] local.INFO: GPS Element Parsed {"raw_longitude":756665216,"raw_latitude":119544200,"longitude_deg":75.6665216,"latitude_deg":11.95442,"altitude":53,"angle":330,"satellites":44,"speed":23,"hex_longitude":"2d19cb80","hex_latitude":"07201988","is_valid_coordinates":true} 
[2026-08-19 13:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504294656001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13715926520168448,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859775570474452992,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26: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-08-19 13:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787126154000,"timestamp_ms":1787126154000,"timestamp_seconds":1787126154,"priority":1,"record_length":96,"hex_timestamp":"000001a019050310"} 
[2026-08-19 13:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:26: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-08-19 13:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 13:26:45] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2734738919,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26:45] local.WARNING: Large IO value detected {"io_id":4,"raw_value":-5690296835963977721,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 13:26:45] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1610689817,"corrected_to":0} 
[2026-08-19 13:26:45] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2147950600,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26:45] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3125084160,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26:45] local.WARNING: Large IO value detected {"io_id":153,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-112589771637708288,"note":"Value kept but may cause issues"} 
[2026-08-19 13:26:45] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,121,28,24,241,158,16,186,160,235,45,15,54,44,10,66,220,64,11,55,212,128,1,240,163,25,32,4,113,205,7,204,222,120,43,239,2,48,51,23,153,31],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":204,"original":1610689817,"validated":0}]} 
[2026-08-19 13:26:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819402313392848896,"timestamp_seconds":3819402313392849.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 13:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504294656001,"66":14265,"121":206,"28":31744,"24":23,"16":13715926520168448,"45":1859775570474452992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504294656001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:26:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:26:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13715926520168448,"km_value":13715926520168.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859775570474452992,"description":"Unknown IO ID 45"} 
[2026-08-19 13:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504294656001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1859775570474452992}} 
[2026-08-19 13:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":157573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:26:45] local.INFO: GPS data processed {"connection_id":157573,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:26:45] local.INFO: Acknowledgment sent {"connection_id":157573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:26:59] local.INFO: TCP Data received {"connection_id":158815,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:26:59] local.INFO: Processing buffer {"connection_id":158815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:26:59] local.INFO: IMEI packet received {"connection_id":158815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":158815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:27:00] local.INFO: TCP Data received {"connection_id":158815,"ip":"117.224.24.81","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 13:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158815,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 13:27:00] local.INFO: Processing buffer {"connection_id":158815,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 13:27:00] local.INFO: IMEI packet received {"connection_id":158815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":158815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:27:01] local.INFO: TCP Data received {"connection_id":158815,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:27:01] local.INFO: Processing buffer {"connection_id":158815,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 13:27:01] local.INFO: IMEI packet received {"connection_id":158815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":158815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:27:11] local.INFO: TCP Data received {"connection_id":157574,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:27:11] local.INFO: Processing buffer {"connection_id":157574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:27:11] local.INFO: IMEI packet received {"connection_id":157574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":157574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:27:14] local.INFO: TCP Data received {"connection_id":157574,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:27:14] local.INFO: Processing buffer {"connection_id":157574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:27:14] local.INFO: IMEI packet received {"connection_id":157574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":157574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:27:15] local.INFO: TCP Data received {"connection_id":157574,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:27:15] local.INFO: Processing buffer {"connection_id":157574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:27:15] local.INFO: IMEI packet received {"connection_id":157574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":157574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:27:16] local.INFO: TCP Data received {"connection_id":157574,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0190535d8012d19bcc007203ad8003501582c..."} 
[2026-08-19 13:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190535d8012d19bcc007203ad8003501582c..."} 
[2026-08-19 13:27:16] local.INFO: Processing buffer {"connection_id":157574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190535d8012d19bcc007203ad8003501582c..."} 
[2026-08-19 13:27:16] local.INFO: Packet analysis {"connection_id":157574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01905"} 
[2026-08-19 13:27:16] local.INFO: Extracted packet for processing {"connection_id":157574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01905"} 
[2026-08-19 13:27:16] local.INFO: GPS Element Parsed {"raw_longitude":756661440,"raw_latitude":119552728,"longitude_deg":75.666144,"latitude_deg":11.9552728,"altitude":53,"angle":344,"satellites":44,"speed":30,"hex_longitude":"2d19bcc0","hex_latitude":"07203ad8","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504295424001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13716377491734528,"note":"Value kept but may cause issues"} 
[2026-08-19 13:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039312132096,"note":"Value kept but may cause issues"} 
[2026-08-19 13: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-08-19 13:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787126167000,"timestamp_ms":1787126167000,"timestamp_seconds":1787126167,"priority":1,"record_length":96,"hex_timestamp":"000001a0190535d8"} 
[2026-08-19 13:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13: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-08-19 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 13:27:16] 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-08-19 13: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-08-19 13:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504295424001,"66":14341,"121":206,"28":31744,"24":30,"16":13716377491734528,"45":1858720039312132096},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504295424001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:27:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:27:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13716377491734528,"km_value":13716377491734.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039312132096,"description":"Unknown IO ID 45"} 
[2026-08-19 13:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504295424001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1858720039312132096}} 
[2026-08-19 13:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":157574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:27:16] local.INFO: GPS data processed {"connection_id":157574,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:27:16] local.INFO: Acknowledgment sent {"connection_id":157574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:27:17] local.INFO: TCP Data received {"connection_id":157574,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0190535d8012d19bcc007203ad8003501582c..."} 
[2026-08-19 13:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190535d8012d19bcc007203ad8003501582c..."} 
[2026-08-19 13:27:17] local.INFO: Processing buffer {"connection_id":157574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190535d8012d19bcc007203ad8003501582c..."} 
[2026-08-19 13:27:17] local.INFO: Packet analysis {"connection_id":157574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01905"} 
[2026-08-19 13:27:17] local.INFO: Extracted packet for processing {"connection_id":157574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01905"} 
[2026-08-19 13:27:17] local.INFO: GPS Element Parsed {"raw_longitude":756661440,"raw_latitude":119552728,"longitude_deg":75.666144,"latitude_deg":11.9552728,"altitude":53,"angle":344,"satellites":44,"speed":30,"hex_longitude":"2d19bcc0","hex_latitude":"07203ad8","is_valid_coordinates":true} 
[2026-08-19 13:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504298752001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13716377491734528,"note":"Value kept but may cause issues"} 
[2026-08-19 13:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283407833088,"note":"Value kept but may cause issues"} 
[2026-08-19 13:27: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-08-19 13:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787126167000,"timestamp_ms":1787126167000,"timestamp_seconds":1787126167,"priority":1,"record_length":96,"hex_timestamp":"000001a0190535d8"} 
[2026-08-19 13:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:27:17] 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-08-19 13:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 13:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6980961484,"note":"Value kept but may cause issues"} 
[2026-08-19 13:27:17] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503808911081472,"note":"Value kept but may cause issues"} 
[2026-08-19 13:27:17] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":22529,"corrected_to":0} 
[2026-08-19 13:27:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 13:27:17] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2147950602,"note":"Value kept but may cause issues"} 
[2026-08-19 13:27:17] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2734738919,"note":"Value kept but may cause issues"} 
[2026-08-19 13:27:17] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3125477376,"note":"Value kept but may cause issues"} 
[2026-08-19 13:27:17] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84752411411292168,"note":"Value kept but may cause issues"} 
[2026-08-19 13:27:17] local.WARNING: Large IO value detected {"io_id":120,"raw_value":14918213141793024,"note":"Value kept but may cause issues"} 
[2026-08-19 13:27:17] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,186,160,3,45,128,25,53,44,10,66,247,64,20,43,235,1,240,163,32,4,113,205,18,212,221,8,239,55,2,48,7,206,96,120],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":247,"original":22529,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 13:27:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819430904990662656,"timestamp_seconds":3819430904990662.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 13:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504298752001,"66":14341,"121":206,"28":31744,"24":30,"16":13716377491734528,"45":1854568283407833088},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504298752001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:27:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:27:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13716377491734528,"km_value":13716377491734.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283407833088,"description":"Unknown IO ID 45"} 
[2026-08-19 13:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504298752001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1854568283407833088}} 
[2026-08-19 13:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":157574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:27:17] local.INFO: GPS data processed {"connection_id":157574,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:27:17] local.INFO: Acknowledgment sent {"connection_id":157574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:27:48] local.INFO: TCP Data received {"connection_id":157574,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01905e1b8012d19b6400720ab080039012d2a..."} 
[2026-08-19 13:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01905e1b8012d19b6400720ab080039012d2a..."} 
[2026-08-19 13:27:48] local.INFO: Processing buffer {"connection_id":157574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01905e1b8012d19b6400720ab080039012d2a..."} 
[2026-08-19 13:27:48] local.INFO: Packet analysis {"connection_id":157574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01905"} 
[2026-08-19 13:27:48] local.INFO: Extracted packet for processing {"connection_id":157574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01905"} 
[2026-08-19 13:27:48] local.INFO: GPS Element Parsed {"raw_longitude":756659776,"raw_latitude":119581448,"longitude_deg":75.6659776,"latitude_deg":11.9581448,"altitude":57,"angle":301,"satellites":42,"speed":21,"hex_longitude":"2d19b640","hex_latitude":"0720ab08","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504309760001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13717863550418944,"note":"Value kept but may cause issues"} 
[2026-08-19 13:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853231277275738112,"note":"Value kept but may cause issues"} 
[2026-08-19 13:27: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-08-19 13:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787126211000,"timestamp_ms":1787126211000,"timestamp_seconds":1787126211,"priority":1,"record_length":96,"hex_timestamp":"000001a01905e1b8"} 
[2026-08-19 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-08-19 13:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-19 13:27:48] 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-08-19 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-08-19 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-08-19 13:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":157574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":157574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":157574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504309760001,"66":13156,"121":206,"28":31744,"24":21,"16":13717863550418944,"45":1853231277275738112},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504309760001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:27:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:27:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13717863550418944,"km_value":13717863550418.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853231277275738112,"description":"Unknown IO ID 45"} 
[2026-08-19 13:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504309760001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1853231277275738112}} 
[2026-08-19 13:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":157574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:27:48] local.INFO: GPS data processed {"connection_id":157574,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:27:48] local.INFO: Acknowledgment sent {"connection_id":157574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:28:09] local.INFO: TCP Data received {"connection_id":158816,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:28:09] local.INFO: Processing buffer {"connection_id":158816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:28:09] local.INFO: IMEI packet received {"connection_id":158816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":158816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:28:14] local.INFO: TCP Data received {"connection_id":158816,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:28:14] local.INFO: Processing buffer {"connection_id":158816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:28:14] local.INFO: IMEI packet received {"connection_id":158816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":158816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:28:15] local.INFO: TCP Data received {"connection_id":158816,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01905f158012d19ae000720ae68003b01212c..."} 
[2026-08-19 13:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01905f158012d19ae000720ae68003b01212c..."} 
[2026-08-19 13:28:15] local.INFO: Processing buffer {"connection_id":158816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01905f158012d19ae000720ae68003b01212c..."} 
[2026-08-19 13:28:15] local.INFO: Packet analysis {"connection_id":158816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01905"} 
[2026-08-19 13:28:15] local.INFO: Extracted packet for processing {"connection_id":158816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01905"} 
[2026-08-19 13:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119582312,"longitude_deg":75.6657664,"latitude_deg":11.9582312,"altitude":59,"angle":289,"satellites":44,"speed":23,"hex_longitude":"2d19ae00","hex_latitude":"0720ae68","is_valid_coordinates":true} 
[2026-08-19 13:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504310016001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13717975219568640,"note":"Value kept but may cause issues"} 
[2026-08-19 13:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852738696066566144,"note":"Value kept but may cause issues"} 
[2026-08-19 13:28: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-08-19 13:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787126215000,"timestamp_ms":1787126215000,"timestamp_seconds":1787126215,"priority":1,"record_length":96,"hex_timestamp":"000001a01905f158"} 
[2026-08-19 13:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:28: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-08-19 13:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-19 13:28:15] 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-08-19 13:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504310016001,"66":13276,"121":206,"28":31744,"24":23,"16":13717975219568640,"45":1852738696066566144},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504310016001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:28:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:28:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13717975219568640,"km_value":13717975219568.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852738696066566144,"description":"Unknown IO ID 45"} 
[2026-08-19 13:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504310016001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1852738696066566144}} 
[2026-08-19 13:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":158816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:28:15] local.INFO: GPS data processed {"connection_id":158816,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:28:15] local.INFO: Acknowledgment sent {"connection_id":158816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:28:47] local.INFO: TCP Data received {"connection_id":158816,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01905fd10012d19a7000720afd8003b01132d..."} 
[2026-08-19 13:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01905fd10012d19a7000720afd8003b01132d..."} 
[2026-08-19 13:28:47] local.INFO: Processing buffer {"connection_id":158816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01905fd10012d19a7000720afd8003b01132d..."} 
[2026-08-19 13:28:47] local.INFO: Packet analysis {"connection_id":158816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01905"} 
[2026-08-19 13:28:47] local.INFO: Extracted packet for processing {"connection_id":158816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01905"} 
[2026-08-19 13:28:47] local.INFO: GPS Element Parsed {"raw_longitude":756655872,"raw_latitude":119582680,"longitude_deg":75.6655872,"latitude_deg":11.958268,"altitude":59,"angle":275,"satellites":45,"speed":24,"hex_longitude":"2d19a700","hex_latitude":"0720afd8","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504311040001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13718061118914560,"note":"Value kept but may cause issues"} 
[2026-08-19 13:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527508924416,"note":"Value kept but may cause issues"} 
[2026-08-19 13:28: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-08-19 13:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787126218000,"timestamp_ms":1787126218000,"timestamp_seconds":1787126218,"priority":1,"record_length":96,"hex_timestamp":"000001a01905fd10"} 
[2026-08-19 13:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:28: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-08-19 13: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-19 13:28:47] 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-08-19 13: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-08-19 13:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504311040001,"66":13254,"121":206,"28":31744,"24":24,"16":13718061118914560,"45":1850416527508924416},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504311040001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:28:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:28:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13718061118914560,"km_value":13718061118914.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527508924416,"description":"Unknown IO ID 45"} 
[2026-08-19 13:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504311040001,"power":13254,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1850416527508924416}} 
[2026-08-19 13:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":158816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:28:47] local.INFO: GPS data processed {"connection_id":158816,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:28:47] local.INFO: Acknowledgment sent {"connection_id":158816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:29:09] local.INFO: TCP Data received {"connection_id":160132,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:29:09] local.INFO: Processing buffer {"connection_id":160132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:29:09] local.INFO: IMEI packet received {"connection_id":160132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":160132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:29:14] local.INFO: TCP Data received {"connection_id":160132,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:29:14] local.INFO: Processing buffer {"connection_id":160132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:29:14] local.INFO: IMEI packet received {"connection_id":160132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":160132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:29:15] local.INFO: TCP Data received {"connection_id":160132,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019064f18012d1997800720b108003d01142b..."} 
[2026-08-19 13:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019064f18012d1997800720b108003d01142b..."} 
[2026-08-19 13:29:15] local.INFO: Processing buffer {"connection_id":160132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019064f18012d1997800720b108003d01142b..."} 
[2026-08-19 13:29:15] local.INFO: Packet analysis {"connection_id":160132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01906"} 
[2026-08-19 13:29:15] local.INFO: Extracted packet for processing {"connection_id":160132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01906"} 
[2026-08-19 13:29:15] local.INFO: GPS Element Parsed {"raw_longitude":756651904,"raw_latitude":119582984,"longitude_deg":75.6651904,"latitude_deg":11.9582984,"altitude":61,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d199780","hex_latitude":"0720b108","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504311808001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13718250097475584,"note":"Value kept but may cause issues"} 
[2026-08-19 13:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848446202672044032,"note":"Value kept but may cause issues"} 
[2026-08-19 13:29: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-08-19 13:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787126239000,"timestamp_ms":1787126239000,"timestamp_seconds":1787126239,"priority":1,"record_length":96,"hex_timestamp":"000001a019064f18"} 
[2026-08-19 13:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:29: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-08-19 13: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":198,"data_length":795,"current_offset":136} 
[2026-08-19 13:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504311808001,"66":13135,"121":206,"28":31744,"24":0,"16":13718250097475584,"45":1848446202672044032},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504311808001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:29:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:29:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13718250097475584,"km_value":13718250097475.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848446202672044032,"description":"Unknown IO ID 45"} 
[2026-08-19 13:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504311808001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1848446202672044032}} 
[2026-08-19 13:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":160132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:29:15] local.INFO: GPS data processed {"connection_id":160132,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:29:15] local.INFO: Acknowledgment sent {"connection_id":160132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:29:46] local.INFO: TCP Data received {"connection_id":160132,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01906a120012d1997800720b108003d01142d..."} 
[2026-08-19 13:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01906a120012d1997800720b108003d01142d..."} 
[2026-08-19 13:29:46] local.INFO: Processing buffer {"connection_id":160132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01906a120012d1997800720b108003d01142d..."} 
[2026-08-19 13:29:46] local.INFO: Packet analysis {"connection_id":160132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01906"} 
[2026-08-19 13:29:46] local.INFO: Extracted packet for processing {"connection_id":160132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01906"} 
[2026-08-19 13:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756651904,"raw_latitude":119582984,"longitude_deg":75.6651904,"latitude_deg":11.9582984,"altitude":61,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d199780","hex_latitude":"0720b108","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504317184001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13718250097475584,"note":"Value kept but may cause issues"} 
[2026-08-19 13:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844083340533106688,"note":"Value kept but may cause issues"} 
[2026-08-19 13:29: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-08-19 13:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787126260000,"timestamp_ms":1787126260000,"timestamp_seconds":1787126260,"priority":1,"record_length":96,"hex_timestamp":"000001a01906a120"} 
[2026-08-19 13:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:29: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-08-19 13: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 13:29:46] 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-08-19 13: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-08-19 13:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504317184001,"66":12852,"121":206,"28":31744,"24":0,"16":13718250097475584,"45":1844083340533106688},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504317184001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:29:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:29:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13718250097475584,"km_value":13718250097475.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844083340533106688,"description":"Unknown IO ID 45"} 
[2026-08-19 13:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504317184001,"power":12852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844083340533106688}} 
[2026-08-19 13:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":160132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:29:47] local.INFO: GPS data processed {"connection_id":160132,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:29:47] local.INFO: Acknowledgment sent {"connection_id":160132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:30:08] local.INFO: TCP Data received {"connection_id":157952,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:30:08] local.INFO: Processing buffer {"connection_id":157952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:30:08] local.INFO: IMEI packet received {"connection_id":157952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":157952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:30:14] local.INFO: TCP Data received {"connection_id":157952,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:30:14] local.INFO: Processing buffer {"connection_id":157952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:30:14] local.INFO: IMEI packet received {"connection_id":157952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":157952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:30:15] local.INFO: TCP Data received {"connection_id":157952,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01906f328012d1997800720b108003d01142b..."} 
[2026-08-19 13:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01906f328012d1997800720b108003d01142b..."} 
[2026-08-19 13:30:15] local.INFO: Processing buffer {"connection_id":157952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01906f328012d1997800720b108003d01142b..."} 
[2026-08-19 13:30:15] local.INFO: Packet analysis {"connection_id":157952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01906"} 
[2026-08-19 13:30:15] local.INFO: Extracted packet for processing {"connection_id":157952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01906"} 
[2026-08-19 13:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756651904,"raw_latitude":119582984,"longitude_deg":75.6651904,"latitude_deg":11.9582984,"altitude":61,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d199780","hex_latitude":"0720b108","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504322560001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13718250097475584,"note":"Value kept but may cause issues"} 
[2026-08-19 13:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844083340533106688,"note":"Value kept but may cause issues"} 
[2026-08-19 13:30: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-08-19 13:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787126281000,"timestamp_ms":1787126281000,"timestamp_seconds":1787126281,"priority":1,"record_length":96,"hex_timestamp":"000001a01906f328"} 
[2026-08-19 13:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:30: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-08-19 13: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-19 13:30:15] 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-08-19 13: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-08-19 13:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504322560001,"66":13015,"121":206,"28":31744,"24":0,"16":13718250097475584,"45":1844083340533106688},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504322560001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:30:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:30:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13718250097475584,"km_value":13718250097475.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844083340533106688,"description":"Unknown IO ID 45"} 
[2026-08-19 13:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504322560001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844083340533106688}} 
[2026-08-19 13:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":157952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:30:15] local.INFO: GPS data processed {"connection_id":157952,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:30:15] local.INFO: Acknowledgment sent {"connection_id":157952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:30:47] local.INFO: TCP Data received {"connection_id":157952,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019074530012d1997800720b108003d01142b..."} 
[2026-08-19 13:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019074530012d1997800720b108003d01142b..."} 
[2026-08-19 13:30:47] local.INFO: Processing buffer {"connection_id":157952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019074530012d1997800720b108003d01142b..."} 
[2026-08-19 13:30:47] local.INFO: Packet analysis {"connection_id":157952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01907"} 
[2026-08-19 13:30:47] local.INFO: Extracted packet for processing {"connection_id":157952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01907"} 
[2026-08-19 13:30:47] local.INFO: GPS Element Parsed {"raw_longitude":756651904,"raw_latitude":119582984,"longitude_deg":75.6651904,"latitude_deg":11.9582984,"altitude":61,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d199780","hex_latitude":"0720b108","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504327936001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13718250097475584,"note":"Value kept but may cause issues"} 
[2026-08-19 13:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844083340533106688,"note":"Value kept but may cause issues"} 
[2026-08-19 13:30: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-08-19 13:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787126302000,"timestamp_ms":1787126302000,"timestamp_seconds":1787126302,"priority":1,"record_length":96,"hex_timestamp":"000001a019074530"} 
[2026-08-19 13:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:30: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-08-19 13:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 13:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504327936001,"66":12961,"121":206,"28":31744,"24":0,"16":13718250097475584,"45":1844083340533106688},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504327936001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:30:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:30:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13718250097475584,"km_value":13718250097475.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844083340533106688,"description":"Unknown IO ID 45"} 
[2026-08-19 13:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504327936001,"power":12961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844083340533106688}} 
[2026-08-19 13:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":157952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:30:47] local.INFO: GPS data processed {"connection_id":157952,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:30:47] local.INFO: Acknowledgment sent {"connection_id":157952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:31:09] local.INFO: TCP Data received {"connection_id":158818,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:31:09] local.INFO: Processing buffer {"connection_id":158818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:31:09] local.INFO: IMEI packet received {"connection_id":158818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":158818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:31:14] local.INFO: TCP Data received {"connection_id":158818,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:31:14] local.INFO: Processing buffer {"connection_id":158818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:31:14] local.INFO: IMEI packet received {"connection_id":158818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":158818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:31:15] local.INFO: TCP Data received {"connection_id":158818,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019079738012d1997800720b108003d01142c..."} 
[2026-08-19 13:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019079738012d1997800720b108003d01142c..."} 
[2026-08-19 13:31:15] local.INFO: Processing buffer {"connection_id":158818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019079738012d1997800720b108003d01142c..."} 
[2026-08-19 13:31:15] local.INFO: Packet analysis {"connection_id":158818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01907"} 
[2026-08-19 13:31:15] local.INFO: Extracted packet for processing {"connection_id":158818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01907"} 
[2026-08-19 13:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756651904,"raw_latitude":119582984,"longitude_deg":75.6651904,"latitude_deg":11.9582984,"altitude":61,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d199780","hex_latitude":"0720b108","is_valid_coordinates":true} 
[2026-08-19 13:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504333312001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13718250097475584,"note":"Value kept but may cause issues"} 
[2026-08-19 13:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844083340533106688,"note":"Value kept but may cause issues"} 
[2026-08-19 13: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-08-19 13:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787126323000,"timestamp_ms":1787126323000,"timestamp_seconds":1787126323,"priority":1,"record_length":96,"hex_timestamp":"000001a019079738"} 
[2026-08-19 13:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:31: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-08-19 13:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-19 13:31:15] 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-08-19 13:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504333312001,"66":12885,"121":206,"28":31744,"24":0,"16":13718250097475584,"45":1844083340533106688},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504333312001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:31:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:31:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13718250097475584,"km_value":13718250097475.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844083340533106688,"description":"Unknown IO ID 45"} 
[2026-08-19 13:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504333312001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844083340533106688}} 
[2026-08-19 13:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":158818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:31:16] local.INFO: GPS data processed {"connection_id":158818,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:31:16] local.INFO: Acknowledgment sent {"connection_id":158818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:31:47] local.INFO: TCP Data received {"connection_id":158818,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01907e940012d1997800720b108003d01142b..."} 
[2026-08-19 13:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01907e940012d1997800720b108003d01142b..."} 
[2026-08-19 13:31:47] local.INFO: Processing buffer {"connection_id":158818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01907e940012d1997800720b108003d01142b..."} 
[2026-08-19 13:31:47] local.INFO: Packet analysis {"connection_id":158818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01907"} 
[2026-08-19 13:31:47] local.INFO: Extracted packet for processing {"connection_id":158818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01907"} 
[2026-08-19 13:31:47] local.INFO: GPS Element Parsed {"raw_longitude":756651904,"raw_latitude":119582984,"longitude_deg":75.6651904,"latitude_deg":11.9582984,"altitude":61,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d199780","hex_latitude":"0720b108","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504338688001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13718250097475584,"note":"Value kept but may cause issues"} 
[2026-08-19 13:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844083340533106688,"note":"Value kept but may cause issues"} 
[2026-08-19 13:31: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-08-19 13:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787126344000,"timestamp_ms":1787126344000,"timestamp_seconds":1787126344,"priority":1,"record_length":96,"hex_timestamp":"000001a01907e940"} 
[2026-08-19 13:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:31: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-08-19 13:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 13:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504338688001,"66":12798,"121":206,"28":31744,"24":0,"16":13718250097475584,"45":1844083340533106688},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504338688001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:31:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:31:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13718250097475584,"km_value":13718250097475.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844083340533106688,"description":"Unknown IO ID 45"} 
[2026-08-19 13:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504338688001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844083340533106688}} 
[2026-08-19 13:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":158818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:31:47] local.INFO: GPS data processed {"connection_id":158818,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:31:47] local.INFO: Acknowledgment sent {"connection_id":158818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:32:03] local.INFO: TCP Data received {"connection_id":160134,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:32:03] local.INFO: Processing buffer {"connection_id":160134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:32:03] local.INFO: IMEI packet received {"connection_id":160134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":160134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:32:09] local.INFO: TCP Data received {"connection_id":157576,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:32:09] local.INFO: Processing buffer {"connection_id":157576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:32:09] local.INFO: IMEI packet received {"connection_id":157576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":157576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:32:09] local.INFO: TCP Data received {"connection_id":157576,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:32:09] local.INFO: Processing buffer {"connection_id":157576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:32:09] local.INFO: IMEI packet received {"connection_id":157576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":157576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:32:14] local.INFO: TCP Data received {"connection_id":157576,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:32:14] local.INFO: Processing buffer {"connection_id":157576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:32:14] local.INFO: IMEI packet received {"connection_id":157576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":157576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:32:15] local.INFO: TCP Data received {"connection_id":157576,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019083b48012d1997800720b108003d01142d..."} 
[2026-08-19 13:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019083b48012d1997800720b108003d01142d..."} 
[2026-08-19 13:32:15] local.INFO: Processing buffer {"connection_id":157576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019083b48012d1997800720b108003d01142d..."} 
[2026-08-19 13:32:15] local.INFO: Packet analysis {"connection_id":157576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01908"} 
[2026-08-19 13:32:15] local.INFO: Extracted packet for processing {"connection_id":157576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01908"} 
[2026-08-19 13:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756651904,"raw_latitude":119582984,"longitude_deg":75.6651904,"latitude_deg":11.9582984,"altitude":61,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d199780","hex_latitude":"0720b108","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504344064001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13718250097475584,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844083340533106688,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32: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-08-19 13:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787126365000,"timestamp_ms":1787126365000,"timestamp_seconds":1787126365,"priority":1,"record_length":96,"hex_timestamp":"000001a019083b48"} 
[2026-08-19 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-08-19 13:32: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-08-19 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":254,"data_length":795,"current_offset":136} 
[2026-08-19 13:32:15] 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-08-19 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-08-19 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-08-19 13:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504344064001,"66":12819,"121":206,"28":31744,"24":0,"16":13718250097475584,"45":1844083340533106688},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504344064001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:32:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:32:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13718250097475584,"km_value":13718250097475.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844083340533106688,"description":"Unknown IO ID 45"} 
[2026-08-19 13:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504344064001,"power":12819,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844083340533106688}} 
[2026-08-19 13:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":157576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:32:15] local.INFO: GPS data processed {"connection_id":157576,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:32:15] local.INFO: Acknowledgment sent {"connection_id":157576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:32:47] local.INFO: TCP Data received {"connection_id":157576,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019088d50012d1997800720b108003d01142b..."} 
[2026-08-19 13:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019088d50012d1997800720b108003d01142b..."} 
[2026-08-19 13:32:47] local.INFO: Processing buffer {"connection_id":157576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019088d50012d1997800720b108003d01142b..."} 
[2026-08-19 13:32:47] local.INFO: Packet analysis {"connection_id":157576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01908"} 
[2026-08-19 13:32:47] local.INFO: Extracted packet for processing {"connection_id":157576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01908"} 
[2026-08-19 13:32:47] local.INFO: GPS Element Parsed {"raw_longitude":756651904,"raw_latitude":119582984,"longitude_deg":75.6651904,"latitude_deg":11.9582984,"altitude":61,"angle":276,"satellites":43,"speed":0,"hex_longitude":"2d199780","hex_latitude":"0720b108","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504349440001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13718250097475584,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844083340533106688,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32: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-08-19 13:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787126386000,"timestamp_ms":1787126386000,"timestamp_seconds":1787126386,"priority":1,"record_length":96,"hex_timestamp":"000001a019088d50"} 
[2026-08-19 13:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:32: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-08-19 13:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503808948371456,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2902458368,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2147950769,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195128320,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":25,"raw_value":431518736535103232,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2970091581,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5476641033972678912,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182165285110016,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3165454336,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2355338625639584557,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692776323047542300,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84752203105378478,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:47] local.WARNING: Large IO value detected {"io_id":104,"raw_value":16608265609680640,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:47] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,188,160,233,45,128,177,61,43,10,66,151,44,69,1,240,161,25,32,4,113,205,8,239,50,2,48,7,51,124,173,88,104],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-08-19 13:32:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395816894796398592,"timestamp_seconds":4395816894796398.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 13:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504349440001,"66":12667,"121":206,"28":31744,"24":0,"16":13718250097475584,"45":1844083340533106688},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504349440001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:32:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:32:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13718250097475584,"km_value":13718250097475.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844083340533106688,"description":"Unknown IO ID 45"} 
[2026-08-19 13:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504349440001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844083340533106688}} 
[2026-08-19 13:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":157576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:32:47] local.INFO: GPS data processed {"connection_id":157576,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:32:47] local.INFO: Acknowledgment sent {"connection_id":157576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:32:59] local.INFO: TCP Data received {"connection_id":160134,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019092d78012cfce980070f08300025000c32..."} 
[2026-08-19 13:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019092d78012cfce980070f08300025000c32..."} 
[2026-08-19 13:32:59] local.INFO: Processing buffer {"connection_id":160134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019092d78012cfce980070f08300025000c32..."} 
[2026-08-19 13:32:59] local.INFO: Packet analysis {"connection_id":160134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01909"} 
[2026-08-19 13:32:59] local.INFO: Extracted packet for processing {"connection_id":160134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01909"} 
[2026-08-19 13:32:59] local.INFO: GPS Element Parsed {"raw_longitude":754772352,"raw_latitude":118425648,"longitude_deg":75.4772352,"latitude_deg":11.8425648,"altitude":37,"angle":12,"satellites":50,"speed":21,"hex_longitude":"2cfce980","hex_latitude":"070f0830","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504362752001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385859758793424896,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-223139257471959040,"note":"Value kept but may cause issues"} 
[2026-08-19 13:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787126427000,"timestamp_ms":1787126427000,"timestamp_seconds":1787126427,"priority":1,"record_length":96,"hex_timestamp":"000001a019092d78"} 
[2026-08-19 13:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:32: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-08-19 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504362752001,"66":27484,"184":206,"28":32256,"24":21,"16":385859758793424896,"44":-223139257471959040},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,28,24,16,44]} 
[2026-08-19 13:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504362752001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:32:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-08-19 13:32:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 13:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385859758793424896,"km_value":385859758793424.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:32:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-223139257471959040,"description":"Unknown IO ID 44"} 
[2026-08-19 13:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504362752001,"power":27484,"unknown_184":206,"unknown_28":32256,"ignition":21,"odometer":null,"unknown_44":-223139257471959040}} 
[2026-08-19 13:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":160134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:32:59] local.INFO: GPS data processed {"connection_id":160134,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:32:59] local.INFO: Acknowledgment sent {"connection_id":160134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:33:02] local.INFO: TCP Data received {"connection_id":158819,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:33:02] local.INFO: Processing buffer {"connection_id":158819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:33:02] local.INFO: IMEI packet received {"connection_id":158819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":158819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:33:04] local.INFO: TCP Data received {"connection_id":158819,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:33:04] local.INFO: Processing buffer {"connection_id":158819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:33:04] local.INFO: IMEI packet received {"connection_id":158819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":158819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:33:04] local.INFO: TCP Data received {"connection_id":158819,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:33:04] local.INFO: Processing buffer {"connection_id":158819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:33:04] local.INFO: IMEI packet received {"connection_id":158819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":158819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:33:06] local.INFO: TCP Data received {"connection_id":158819,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:33:06] local.INFO: Processing buffer {"connection_id":158819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:33:06] local.INFO: IMEI packet received {"connection_id":158819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":158819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:33:07] local.INFO: TCP Data received {"connection_id":158819,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0190a6210012cfd5e00071003c80024001131..."} 
[2026-08-19 13:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190a6210012cfd5e00071003c80024001131..."} 
[2026-08-19 13:33:07] local.INFO: Processing buffer {"connection_id":158819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190a6210012cfd5e00071003c80024001131..."} 
[2026-08-19 13:33:07] local.INFO: Packet analysis {"connection_id":158819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190a"} 
[2026-08-19 13:33:07] local.INFO: Extracted packet for processing {"connection_id":158819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190a"} 
[2026-08-19 13:33:07] local.INFO: GPS Element Parsed {"raw_longitude":754802176,"raw_latitude":118490056,"longitude_deg":75.4802176,"latitude_deg":11.8490056,"altitude":36,"angle":17,"satellites":49,"speed":25,"hex_longitude":"2cfd5e00","hex_latitude":"071003c8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504382208001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385863229127000064,"note":"Value kept but may cause issues"} 
[2026-08-19 13:33:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-193232541180585984,"note":"Value kept but may cause issues"} 
[2026-08-19 13:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787126506000,"timestamp_ms":1787126506000,"timestamp_seconds":1787126506,"priority":1,"record_length":96,"hex_timestamp":"000001a0190a6210"} 
[2026-08-19 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-08-19 13:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 13:33:07] 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-08-19 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-08-19 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-08-19 13:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504382208001,"66":27876,"161":206,"2":54528,"24":25,"16":385863229127000064,"44":-193232541180585984},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,2,24,16,44]} 
[2026-08-19 13:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504382208001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:33:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 13:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385863229127000064,"km_value":385863229127000.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:33:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-193232541180585984,"description":"Unknown IO ID 44"} 
[2026-08-19 13:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504382208001,"power":27876,"unknown_161":206,"power_alt":54528,"ignition":25,"odometer":null,"unknown_44":-193232541180585984}} 
[2026-08-19 13:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":158819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:33:07] local.INFO: GPS data processed {"connection_id":158819,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:33:07] local.INFO: Acknowledgment sent {"connection_id":158819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:33:12] local.INFO: TCP Data received {"connection_id":157953,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:33:12] local.INFO: Processing buffer {"connection_id":157953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:33:12] local.INFO: IMEI packet received {"connection_id":157953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":157953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:33:13] local.INFO: TCP Data received {"connection_id":157953,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:33:13] local.INFO: Processing buffer {"connection_id":157953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:33:13] local.INFO: IMEI packet received {"connection_id":157953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":157953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:33:19] local.INFO: TCP Data received {"connection_id":157953,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:33:19] local.INFO: Processing buffer {"connection_id":157953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:33:19] local.INFO: IMEI packet received {"connection_id":157953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":157953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:33:21] local.INFO: TCP Data received {"connection_id":157953,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01908df58012d1997800720b108003d01142d..."} 
[2026-08-19 13:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01908df58012d1997800720b108003d01142d..."} 
[2026-08-19 13:33:21] local.INFO: Processing buffer {"connection_id":157953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01908df58012d1997800720b108003d01142d..."} 
[2026-08-19 13:33:21] local.INFO: Packet analysis {"connection_id":157953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01908"} 
[2026-08-19 13:33:21] local.INFO: Extracted packet for processing {"connection_id":157953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01908"} 
[2026-08-19 13:33:21] local.INFO: GPS Element Parsed {"raw_longitude":756651904,"raw_latitude":119582984,"longitude_deg":75.6651904,"latitude_deg":11.9582984,"altitude":61,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d199780","hex_latitude":"0720b108","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504354816001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13718250097475584,"note":"Value kept but may cause issues"} 
[2026-08-19 13:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844083340533106688,"note":"Value kept but may cause issues"} 
[2026-08-19 13:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787126407000,"timestamp_ms":1787126407000,"timestamp_seconds":1787126407,"priority":1,"record_length":96,"hex_timestamp":"000001a01908df58"} 
[2026-08-19 13:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-19 13:33:21] 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-08-19 13: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-08-19 13:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":157953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":157953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":157953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504354816001,"66":12689,"121":206,"28":31744,"24":0,"16":13718250097475584,"45":1844083340533106688},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504354816001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:33:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:33:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13718250097475584,"km_value":13718250097475.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844083340533106688,"description":"Unknown IO ID 45"} 
[2026-08-19 13:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504354816001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844083340533106688}} 
[2026-08-19 13:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":157953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:33:21] local.INFO: GPS data processed {"connection_id":157953,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:33:21] local.INFO: Acknowledgment sent {"connection_id":157953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:33:39] local.INFO: TCP Data received {"connection_id":158819,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0190b3500012cfd72c00710ca00001c01652d..."} 
[2026-08-19 13:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190b3500012cfd72c00710ca00001c01652d..."} 
[2026-08-19 13:33:39] local.INFO: Processing buffer {"connection_id":158819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190b3500012cfd72c00710ca00001c01652d..."} 
[2026-08-19 13:33:39] local.INFO: Packet analysis {"connection_id":158819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190b"} 
[2026-08-19 13:33:39] local.INFO: Extracted packet for processing {"connection_id":158819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190b"} 
[2026-08-19 13:33:39] local.INFO: GPS Element Parsed {"raw_longitude":754807488,"raw_latitude":118540800,"longitude_deg":75.4807488,"latitude_deg":11.85408,"altitude":28,"angle":357,"satellites":45,"speed":37,"hex_longitude":"2cfd72c0","hex_latitude":"0710ca00","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504398848001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385865831877181440,"note":"Value kept but may cause issues"} 
[2026-08-19 13:33:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-183592023213549568,"note":"Value kept but may cause issues"} 
[2026-08-19 13:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787126560000,"timestamp_ms":1787126560000,"timestamp_seconds":1787126560,"priority":1,"record_length":96,"hex_timestamp":"000001a0190b3500"} 
[2026-08-19 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-08-19 13:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 13:33:39] 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-08-19 13: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-08-19 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-08-19 13:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504398848001,"66":27919,"160":206,"2":54528,"24":37,"16":385865831877181440,"44":-183592023213549568},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,2,24,16,44]} 
[2026-08-19 13:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504398848001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:33:39] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-19 13:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385865831877181440,"km_value":385865831877181.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:33:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-183592023213549568,"description":"Unknown IO ID 44"} 
[2026-08-19 13:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504398848001,"power":27919,"unknown_160":206,"power_alt":54528,"ignition":37,"odometer":null,"unknown_44":-183592023213549568}} 
[2026-08-19 13:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":158819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:33:39] local.INFO: GPS data processed {"connection_id":158819,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:33:39] local.INFO: Acknowledgment sent {"connection_id":158819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:33:52] local.INFO: TCP Data received {"connection_id":157953,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019093160012d1997800720b108003d01142c..."} 
[2026-08-19 13:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019093160012d1997800720b108003d01142c..."} 
[2026-08-19 13:33:52] local.INFO: Processing buffer {"connection_id":157953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019093160012d1997800720b108003d01142c..."} 
[2026-08-19 13:33:52] local.INFO: Packet analysis {"connection_id":157953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01909"} 
[2026-08-19 13:33:52] local.INFO: Extracted packet for processing {"connection_id":157953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01909"} 
[2026-08-19 13:33:52] local.INFO: GPS Element Parsed {"raw_longitude":756651904,"raw_latitude":119582984,"longitude_deg":75.6651904,"latitude_deg":11.9582984,"altitude":61,"angle":276,"satellites":44,"speed":0,"hex_longitude":"2d199780","hex_latitude":"0720b108","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504360192001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13718250097475584,"note":"Value kept but may cause issues"} 
[2026-08-19 13:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844083340533106688,"note":"Value kept but may cause issues"} 
[2026-08-19 13:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787126428000,"timestamp_ms":1787126428000,"timestamp_seconds":1787126428,"priority":1,"record_length":96,"hex_timestamp":"000001a019093160"} 
[2026-08-19 13:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 13:33:52] 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-08-19 13: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-08-19 13:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":157953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":157953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":157953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504360192001,"66":12711,"121":206,"28":31744,"24":0,"16":13718250097475584,"45":1844083340533106688},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504360192001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:33:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:33:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13718250097475584,"km_value":13718250097475.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844083340533106688,"description":"Unknown IO ID 45"} 
[2026-08-19 13:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504360192001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844083340533106688}} 
[2026-08-19 13:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":157953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:33:52] local.INFO: GPS data processed {"connection_id":157953,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:33:52] local.INFO: Acknowledgment sent {"connection_id":157953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:34:09] local.INFO: TCP Data received {"connection_id":160135,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:34:09] local.INFO: Processing buffer {"connection_id":160135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:34:09] local.INFO: IMEI packet received {"connection_id":160135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":160135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:34:10] local.INFO: TCP Data received {"connection_id":160135,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:34:10] local.INFO: Processing buffer {"connection_id":160135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:34:10] local.INFO: IMEI packet received {"connection_id":160135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":160135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:34:14] local.INFO: TCP Data received {"connection_id":160135,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:34:14] local.INFO: Processing buffer {"connection_id":160135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:34:14] local.INFO: IMEI packet received {"connection_id":160135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":160135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:34:14] local.INFO: TCP Data received {"connection_id":158820,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:34:14] local.INFO: Processing buffer {"connection_id":158820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:34:14] local.INFO: IMEI packet received {"connection_id":158820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":158820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:34:15] local.INFO: TCP Data received {"connection_id":160135,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0190bb200012d1969000720abc0003901062b..."} 
[2026-08-19 13:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190bb200012d1969000720abc0003901062b..."} 
[2026-08-19 13:34:15] local.INFO: Processing buffer {"connection_id":160135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190bb200012d1969000720abc0003901062b..."} 
[2026-08-19 13:34:15] local.INFO: Packet analysis {"connection_id":160135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190b"} 
[2026-08-19 13:34:15] local.INFO: Extracted packet for processing {"connection_id":160135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190b"} 
[2026-08-19 13:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119581632,"longitude_deg":75.664,"latitude_deg":11.9581632,"altitude":57,"angle":262,"satellites":43,"speed":30,"hex_longitude":"2d196900","hex_latitude":"0720abc0","is_valid_coordinates":true} 
[2026-08-19 13:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504406784001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13718829918060544,"note":"Value kept but may cause issues"} 
[2026-08-19 13:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833598397650429952,"note":"Value kept but may cause issues"} 
[2026-08-19 13:34: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-08-19 13:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787126592000,"timestamp_ms":1787126592000,"timestamp_seconds":1787126592,"priority":1,"record_length":96,"hex_timestamp":"000001a0190bb200"} 
[2026-08-19 13:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:34: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-08-19 13:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 13:34:15] 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-08-19 13:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504406784001,"66":13276,"121":206,"28":31744,"24":30,"16":13718829918060544,"45":1833598397650429952},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504406784001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:34:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:34:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13718829918060544,"km_value":13718829918060.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833598397650429952,"description":"Unknown IO ID 45"} 
[2026-08-19 13:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504406784001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1833598397650429952}} 
[2026-08-19 13:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":160135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:34:16] local.INFO: GPS data processed {"connection_id":160135,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:34:16] local.INFO: Acknowledgment sent {"connection_id":160135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:34:16] local.INFO: TCP Data received {"connection_id":158820,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:34:16] local.INFO: Processing buffer {"connection_id":158820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:34:16] local.INFO: IMEI packet received {"connection_id":158820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":158820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:34:18] local.INFO: TCP Data received {"connection_id":158820,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:34:18] local.INFO: Processing buffer {"connection_id":158820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:34:18] local.INFO: IMEI packet received {"connection_id":158820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":158820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:34:18] local.INFO: TCP Data received {"connection_id":160135,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0190bd140012d1951000720aab8003601172b..."} 
[2026-08-19 13:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190bd140012d1951000720aab8003601172b..."} 
[2026-08-19 13:34:18] local.INFO: Processing buffer {"connection_id":160135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190bd140012d1951000720aab8003601172b..."} 
[2026-08-19 13:34:18] local.INFO: Packet analysis {"connection_id":160135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190b"} 
[2026-08-19 13:34:18] local.INFO: Extracted packet for processing {"connection_id":160135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190b"} 
[2026-08-19 13:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756633856,"raw_latitude":119581368,"longitude_deg":75.6633856,"latitude_deg":11.9581368,"altitude":54,"angle":279,"satellites":43,"speed":32,"hex_longitude":"2d195100","hex_latitude":"0720aab8","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504407552001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13719126270803968,"note":"Value kept but may cause issues"} 
[2026-08-19 13:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754115715072,"note":"Value kept but may cause issues"} 
[2026-08-19 13:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787126600000,"timestamp_ms":1787126600000,"timestamp_seconds":1787126600,"priority":1,"record_length":96,"hex_timestamp":"000001a0190bd140"} 
[2026-08-19 13:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-19 13:34:18] 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-08-19 13: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-08-19 13:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504407552001,"66":14211,"121":206,"28":31744,"24":32,"16":13719126270803968,"45":1830994754115715072},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504407552001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:34:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:34:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13719126270803968,"km_value":13719126270803.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754115715072,"description":"Unknown IO ID 45"} 
[2026-08-19 13:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504407552001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1830994754115715072}} 
[2026-08-19 13:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":160135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:34:18] local.INFO: GPS data processed {"connection_id":160135,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:34:18] local.INFO: Acknowledgment sent {"connection_id":160135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:34:19] local.INFO: TCP Data received {"connection_id":158820,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0190b5828012cfd72800710ecb8001e000330..."} 
[2026-08-19 13:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190b5828012cfd72800710ecb8001e000330..."} 
[2026-08-19 13:34:19] local.INFO: Processing buffer {"connection_id":158820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190b5828012cfd72800710ecb8001e000330..."} 
[2026-08-19 13:34:19] local.INFO: Packet analysis {"connection_id":158820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190b"} 
[2026-08-19 13:34:19] local.INFO: Extracted packet for processing {"connection_id":158820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190b"} 
[2026-08-19 13:34:19] local.INFO: GPS Element Parsed {"raw_longitude":754807424,"raw_latitude":118549688,"longitude_deg":75.4807424,"latitude_deg":11.8549688,"altitude":30,"angle":3,"satellites":48,"speed":38,"hex_longitude":"2cfd7280","hex_latitude":"0710ecb8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504399360001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385866265668878336,"note":"Value kept but may cause issues"} 
[2026-08-19 13:34:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-183873498189791232,"note":"Value kept but may cause issues"} 
[2026-08-19 13:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787126569000,"timestamp_ms":1787126569000,"timestamp_seconds":1787126569,"priority":1,"record_length":96,"hex_timestamp":"000001a0190b5828"} 
[2026-08-19 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-08-19 13: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-08-19 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:34: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-08-19 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-08-19 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-08-19 13:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504399360001,"66":27843,"160":206,"2":54528,"24":38,"16":385866265668878336,"44":-183873498189791232},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,2,24,16,44]} 
[2026-08-19 13:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504399360001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:34:19] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-19 13:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385866265668878336,"km_value":385866265668878.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:34:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-183873498189791232,"description":"Unknown IO ID 44"} 
[2026-08-19 13:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504399360001,"power":27843,"unknown_160":206,"power_alt":54528,"ignition":38,"odometer":null,"unknown_44":-183873498189791232}} 
[2026-08-19 13:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":158820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:34:19] local.INFO: GPS data processed {"connection_id":158820,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:34:19] local.INFO: Acknowledgment sent {"connection_id":158820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:34:50] local.INFO: TCP Data received {"connection_id":160135,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0190be0e0012d1942800720aed00033012329..."} 
[2026-08-19 13:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190be0e0012d1942800720aed00033012329..."} 
[2026-08-19 13:34:50] local.INFO: Processing buffer {"connection_id":160135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190be0e0012d1942800720aed00033012329..."} 
[2026-08-19 13:34:50] local.INFO: Packet analysis {"connection_id":160135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190b"} 
[2026-08-19 13:34:50] local.INFO: Extracted packet for processing {"connection_id":160135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190b"} 
[2026-08-19 13:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756630144,"raw_latitude":119582416,"longitude_deg":75.6630144,"latitude_deg":11.9582416,"altitude":51,"angle":291,"satellites":41,"speed":40,"hex_longitude":"2d194280","hex_latitude":"0720aed0","is_valid_coordinates":true} 
[2026-08-19 13:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504409600001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13719306659430400,"note":"Value kept but may cause issues"} 
[2026-08-19 13:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824239354674591744,"note":"Value kept but may cause issues"} 
[2026-08-19 13:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787126604000,"timestamp_ms":1787126604000,"timestamp_seconds":1787126604,"priority":1,"record_length":96,"hex_timestamp":"000001a0190be0e0"} 
[2026-08-19 13:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 13:34:50] 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-08-19 13:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504409600001,"66":14189,"121":206,"28":31744,"24":40,"16":13719306659430400,"45":1824239354674591744},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504409600001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:34:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:34:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13719306659430400,"km_value":13719306659430.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824239354674591744,"description":"Unknown IO ID 45"} 
[2026-08-19 13:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504409600001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1824239354674591744}} 
[2026-08-19 13:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":160135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:34:50] local.INFO: GPS data processed {"connection_id":160135,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:34:50] local.INFO: Acknowledgment sent {"connection_id":160135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:34:59] local.INFO: TCP Data received {"connection_id":160136,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:34:59] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:34:59] local.INFO: IMEI packet received {"connection_id":160136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":160136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:35:03] local.INFO: TCP Data received {"connection_id":160136,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:35:03] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:35:03] local.INFO: IMEI packet received {"connection_id":160136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":160136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:35:04] local.INFO: TCP Data received {"connection_id":160136,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:35:04] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:35:04] local.INFO: IMEI packet received {"connection_id":160136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":160136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:35:06] local.INFO: TCP Data received {"connection_id":157954,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:35:06] local.INFO: Processing buffer {"connection_id":157954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:35:06] local.INFO: IMEI packet received {"connection_id":157954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":157954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:35:08] local.INFO: TCP Data received {"connection_id":160136,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0190c59f8012cfdc6400711c3800023000c30..."} 
[2026-08-19 13:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190c59f8012cfdc6400711c3800023000c30..."} 
[2026-08-19 13:35:08] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190c59f8012cfdc6400711c3800023000c30..."} 
[2026-08-19 13:35:08] local.INFO: Packet analysis {"connection_id":160136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190c"} 
[2026-08-19 13:35:08] local.INFO: Extracted packet for processing {"connection_id":160136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190c"} 
[2026-08-19 13:35:08] local.INFO: GPS Element Parsed {"raw_longitude":754828864,"raw_latitude":118604672,"longitude_deg":75.4828864,"latitude_deg":11.8604672,"altitude":35,"angle":12,"satellites":48,"speed":41,"hex_longitude":"2cfdc640","hex_latitude":"0711c380","is_valid_coordinates":true} 
[2026-08-19 13:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504417792001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385869293620822016,"note":"Value kept but may cause issues"} 
[2026-08-19 13:35:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-160440706363117568,"note":"Value kept but may cause issues"} 
[2026-08-19 13:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787126635000,"timestamp_ms":1787126635000,"timestamp_seconds":1787126635,"priority":1,"record_length":96,"hex_timestamp":"000001a0190c59f8"} 
[2026-08-19 13:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:35: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-08-19 13:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 13:35:08] 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-08-19 13:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504417792001,"66":27267,"49":206,"2":54528,"24":41,"16":385869293620822016,"44":-160440706363117568},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,2,24,16,44]} 
[2026-08-19 13:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504417792001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:35:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-19 13:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385869293620822016,"km_value":385869293620822.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:35:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-160440706363117568,"description":"Unknown IO ID 44"} 
[2026-08-19 13:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504417792001,"power":27267,"unknown_49":206,"power_alt":54528,"ignition":41,"odometer":null,"unknown_44":-160440706363117568}} 
[2026-08-19 13:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":160136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:35:08] local.INFO: GPS data processed {"connection_id":160136,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:35:08] local.INFO: Acknowledgment sent {"connection_id":160136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:35:08] local.INFO: TCP Data received {"connection_id":157954,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:35:08] local.INFO: Processing buffer {"connection_id":157954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:35:08] local.INFO: IMEI packet received {"connection_id":157954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":157954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:35:10] local.INFO: TCP Data received {"connection_id":160136,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0190c61c8012cfdc9400711cb500023001930..."} 
[2026-08-19 13:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190c61c8012cfdc9400711cb500023001930..."} 
[2026-08-19 13:35:10] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190c61c8012cfdc9400711cb500023001930..."} 
[2026-08-19 13:35:10] local.INFO: Packet analysis {"connection_id":160136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190c"} 
[2026-08-19 13:35:10] local.INFO: Extracted packet for processing {"connection_id":160136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190c"} 
[2026-08-19 13:35:10] local.INFO: GPS Element Parsed {"raw_longitude":754829632,"raw_latitude":118606672,"longitude_deg":75.4829632,"latitude_deg":11.8606672,"altitude":35,"angle":25,"satellites":48,"speed":41,"hex_longitude":"2cfdc940","hex_latitude":"0711cb50","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504418560001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385869396700037120,"note":"Value kept but may cause issues"} 
[2026-08-19 13:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-160370337618100224,"note":"Value kept but may cause issues"} 
[2026-08-19 13:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787126637000,"timestamp_ms":1787126637000,"timestamp_seconds":1787126637,"priority":1,"record_length":96,"hex_timestamp":"000001a0190c61c8"} 
[2026-08-19 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-08-19 13:35: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-08-19 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 13:35:10] 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-08-19 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-08-19 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-08-19 13:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504418560001,"66":27745,"49":206,"2":54528,"24":41,"16":385869396700037120,"44":-160370337618100224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,2,24,16,44]} 
[2026-08-19 13:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504418560001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:35:10] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-19 13:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385869396700037120,"km_value":385869396700037.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-160370337618100224,"description":"Unknown IO ID 44"} 
[2026-08-19 13:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504418560001,"power":27745,"unknown_49":206,"power_alt":54528,"ignition":41,"odometer":null,"unknown_44":-160370337618100224}} 
[2026-08-19 13:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":160136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:35:10] local.INFO: GPS data processed {"connection_id":160136,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:35:10] local.INFO: Acknowledgment sent {"connection_id":160136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:35:14] local.INFO: TCP Data received {"connection_id":157954,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:35:14] local.INFO: Processing buffer {"connection_id":157954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:35:14] local.INFO: IMEI packet received {"connection_id":157954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":157954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:35:14] local.INFO: TCP Data received {"connection_id":157954,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0190cafe8012d18cc8007213070004601462b..."} 
[2026-08-19 13:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190cafe8012d18cc8007213070004601462b..."} 
[2026-08-19 13:35:14] local.INFO: Processing buffer {"connection_id":157954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190cafe8012d18cc8007213070004601462b..."} 
[2026-08-19 13:35:14] local.INFO: Packet analysis {"connection_id":157954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190c"} 
[2026-08-19 13:35:14] local.INFO: Extracted packet for processing {"connection_id":157954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190c"} 
[2026-08-19 13:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756599936,"raw_latitude":119615600,"longitude_deg":75.6599936,"latitude_deg":11.96156,"altitude":70,"angle":326,"satellites":43,"speed":38,"hex_longitude":"2d18cc80","hex_latitude":"07213070","is_valid_coordinates":true} 
[2026-08-19 13:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504423680001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13721634531704832,"note":"Value kept but may cause issues"} 
[2026-08-19 13:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787999451431440384,"note":"Value kept but may cause issues"} 
[2026-08-19 13:35: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-08-19 13:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787126657000,"timestamp_ms":1787126657000,"timestamp_seconds":1787126657,"priority":1,"record_length":96,"hex_timestamp":"000001a0190cafe8"} 
[2026-08-19 13:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:35: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-08-19 13:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-19 13:35:14] 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-08-19 13:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504423680001,"66":14135,"121":206,"28":31744,"24":38,"16":13721634531704832,"45":1787999451431440384},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504423680001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:35:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:35:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13721634531704832,"km_value":13721634531704.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787999451431440384,"description":"Unknown IO ID 45"} 
[2026-08-19 13:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504423680001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1787999451431440384}} 
[2026-08-19 13:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":157954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:35:14] local.INFO: GPS data processed {"connection_id":157954,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:35:14] local.INFO: Acknowledgment sent {"connection_id":157954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:35:42] local.INFO: TCP Data received {"connection_id":160136,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0190d30d0012cfd94c0071267a8003100fd2e..."} 
[2026-08-19 13:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190d30d0012cfd94c0071267a8003100fd2e..."} 
[2026-08-19 13:35:42] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190d30d0012cfd94c0071267a8003100fd2e..."} 
[2026-08-19 13:35:42] local.INFO: Packet analysis {"connection_id":160136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190d"} 
[2026-08-19 13:35:42] local.INFO: Extracted packet for processing {"connection_id":160136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190d"} 
[2026-08-19 13:35:42] local.INFO: GPS Element Parsed {"raw_longitude":754816192,"raw_latitude":118646696,"longitude_deg":75.4816192,"latitude_deg":11.8646696,"altitude":49,"angle":253,"satellites":46,"speed":35,"hex_longitude":"2cfd94c0","hex_latitude":"071267a8","is_valid_coordinates":true} 
[2026-08-19 13:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504432128001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385871737457213440,"note":"Value kept but may cause issues"} 
[2026-08-19 13:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-172262655373285376,"note":"Value kept but may cause issues"} 
[2026-08-19 13:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787126690000,"timestamp_ms":1787126690000,"timestamp_seconds":1787126690,"priority":1,"record_length":96,"hex_timestamp":"000001a0190d30d0"} 
[2026-08-19 13:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 13:35:42] 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-08-19 13:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504432128001,"66":27658,"49":206,"2":54528,"24":35,"16":385871737457213440,"44":-172262655373285376},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,2,24,16,44]} 
[2026-08-19 13:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504432128001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:35:42] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-19 13:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385871737457213440,"km_value":385871737457213.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-172262655373285376,"description":"Unknown IO ID 44"} 
[2026-08-19 13:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504432128001,"power":27658,"unknown_49":206,"power_alt":54528,"ignition":35,"odometer":null,"unknown_44":-172262655373285376}} 
[2026-08-19 13:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":160136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:35:42] local.INFO: GPS data processed {"connection_id":160136,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:35:42] local.INFO: Acknowledgment sent {"connection_id":160136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:35:46] local.INFO: TCP Data received {"connection_id":157954,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0190cbf88012d18c54007213e000047015729..."} 
[2026-08-19 13:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190cbf88012d18c54007213e000047015729..."} 
[2026-08-19 13:35:46] local.INFO: Processing buffer {"connection_id":157954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190cbf88012d18c54007213e000047015729..."} 
[2026-08-19 13:35:46] local.INFO: Packet analysis {"connection_id":157954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190c"} 
[2026-08-19 13:35:46] local.INFO: Extracted packet for processing {"connection_id":157954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190c"} 
[2026-08-19 13:35:46] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119619072,"longitude_deg":75.659808,"latitude_deg":11.9619072,"altitude":71,"angle":343,"satellites":41,"speed":40,"hex_longitude":"2d18c540","hex_latitude":"07213e00","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504424192001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13721827805233152,"note":"Value kept but may cause issues"} 
[2026-08-19 13:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786943920269193216,"note":"Value kept but may cause issues"} 
[2026-08-19 13:35: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-08-19 13:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787126661000,"timestamp_ms":1787126661000,"timestamp_seconds":1787126661,"priority":1,"record_length":96,"hex_timestamp":"000001a0190cbf88"} 
[2026-08-19 13:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:35: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-08-19 13: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 13:35:46] 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-08-19 13: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-08-19 13:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504424192001,"66":14135,"121":206,"28":31744,"24":40,"16":13721827805233152,"45":1786943920269193216},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504424192001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:35:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:35:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13721827805233152,"km_value":13721827805233.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786943920269193216,"description":"Unknown IO ID 45"} 
[2026-08-19 13:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504424192001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1786943920269193216}} 
[2026-08-19 13:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":157954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:35:46] local.INFO: GPS data processed {"connection_id":157954,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:35:46] local.INFO: Acknowledgment sent {"connection_id":157954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:36:01] local.INFO: TCP Data received {"connection_id":158821,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:36:01] local.INFO: Processing buffer {"connection_id":158821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:36:01] local.INFO: IMEI packet received {"connection_id":158821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":158821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:36:03] local.INFO: TCP Data received {"connection_id":158821,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:36:03] local.INFO: Processing buffer {"connection_id":158821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:36:03] local.INFO: IMEI packet received {"connection_id":158821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":158821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:36:04] local.INFO: TCP Data received {"connection_id":158821,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:36:04] local.INFO: Processing buffer {"connection_id":158821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:36:04] local.INFO: IMEI packet received {"connection_id":158821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":158821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:36:05] local.INFO: TCP Data received {"connection_id":158821,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:36:05] local.INFO: Processing buffer {"connection_id":158821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:36:05] local.INFO: IMEI packet received {"connection_id":158821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":158821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:36:06] local.INFO: TCP Data received {"connection_id":158821,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0190d5010012cfd7c0007125f500034010d31..."} 
[2026-08-19 13:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190d5010012cfd7c0007125f500034010d31..."} 
[2026-08-19 13:36:06] local.INFO: Processing buffer {"connection_id":158821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190d5010012cfd7c0007125f500034010d31..."} 
[2026-08-19 13:36:06] local.INFO: Packet analysis {"connection_id":158821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190d"} 
[2026-08-19 13:36:06] local.INFO: Extracted packet for processing {"connection_id":158821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190d"} 
[2026-08-19 13:36:06] local.INFO: GPS Element Parsed {"raw_longitude":754809856,"raw_latitude":118644560,"longitude_deg":75.4809856,"latitude_deg":11.864456,"altitude":52,"angle":269,"satellites":49,"speed":27,"hex_longitude":"2cfd7c00","hex_latitude":"07125f50","is_valid_coordinates":true} 
[2026-08-19 13:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504432640001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385872059579760640,"note":"Value kept but may cause issues"} 
[2026-08-19 13:36:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-174303348954519552,"note":"Value kept but may cause issues"} 
[2026-08-19 13:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787126698000,"timestamp_ms":1787126698000,"timestamp_seconds":1787126698,"priority":1,"record_length":96,"hex_timestamp":"000001a0190d5010"} 
[2026-08-19 13:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-19 13:36:06] 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-08-19 13:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504432640001,"66":27919,"49":206,"2":54528,"24":27,"16":385872059579760640,"44":-174303348954519552},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,2,24,16,44]} 
[2026-08-19 13:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504432640001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:36:06] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-19 13:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385872059579760640,"km_value":385872059579760.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:36:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-174303348954519552,"description":"Unknown IO ID 44"} 
[2026-08-19 13:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504432640001,"power":27919,"unknown_49":206,"power_alt":54528,"ignition":27,"odometer":null,"unknown_44":-174303348954519552}} 
[2026-08-19 13:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":158821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:36:06] local.INFO: GPS data processed {"connection_id":158821,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:36:06] local.INFO: Acknowledgment sent {"connection_id":158821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:36:08] local.INFO: TCP Data received {"connection_id":158821,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0190d57e0012cfd770007125fe80034011a30..."} 
[2026-08-19 13:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190d57e0012cfd770007125fe80034011a30..."} 
[2026-08-19 13:36:08] local.INFO: Processing buffer {"connection_id":158821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190d57e0012cfd770007125fe80034011a30..."} 
[2026-08-19 13:36:08] local.INFO: Packet analysis {"connection_id":158821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190d"} 
[2026-08-19 13:36:08] local.INFO: Extracted packet for processing {"connection_id":158821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190d"} 
[2026-08-19 13:36:08] local.INFO: GPS Element Parsed {"raw_longitude":754808576,"raw_latitude":118644712,"longitude_deg":75.4808576,"latitude_deg":11.8644712,"altitude":52,"angle":282,"satellites":48,"speed":21,"hex_longitude":"2cfd7700","hex_latitude":"07125fe8","is_valid_coordinates":true} 
[2026-08-19 13:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504434688001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385872119709302784,"note":"Value kept but may cause issues"} 
[2026-08-19 13:36:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181269854628655104,"note":"Value kept but may cause issues"} 
[2026-08-19 13:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787126700000,"timestamp_ms":1787126700000,"timestamp_seconds":1787126700,"priority":1,"record_length":96,"hex_timestamp":"000001a0190d57e0"} 
[2026-08-19 13:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":158821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":158821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":158821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504434688001,"66":27876,"48":206,"2":54528,"24":21,"16":385872119709302784,"44":-181269854628655104},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,2,24,16,44]} 
[2026-08-19 13:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504434688001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:36:08] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-19 13:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385872119709302784,"km_value":385872119709302.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:36:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181269854628655104,"description":"Unknown IO ID 44"} 
[2026-08-19 13:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504434688001,"power":27876,"unknown_48":206,"power_alt":54528,"ignition":21,"odometer":null,"unknown_44":-181269854628655104}} 
[2026-08-19 13:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":158821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:36:08] local.INFO: GPS data processed {"connection_id":158821,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:36:08] local.INFO: Acknowledgment sent {"connection_id":158821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:36:08] local.INFO: TCP Data received {"connection_id":157955,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:36:08] local.INFO: Processing buffer {"connection_id":157955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:36:08] local.INFO: IMEI packet received {"connection_id":157955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":157955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:36:14] local.INFO: TCP Data received {"connection_id":157955,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:36:14] local.INFO: Processing buffer {"connection_id":157955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:36:14] local.INFO: IMEI packet received {"connection_id":157955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":157955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:36:15] local.INFO: TCP Data received {"connection_id":157955,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0190d7b08012d18344007219610004f01252a..."} 
[2026-08-19 13:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190d7b08012d18344007219610004f01252a..."} 
[2026-08-19 13:36:15] local.INFO: Processing buffer {"connection_id":157955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190d7b08012d18344007219610004f01252a..."} 
[2026-08-19 13:36:15] local.INFO: Packet analysis {"connection_id":157955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190d"} 
[2026-08-19 13:36:15] local.INFO: Extracted packet for processing {"connection_id":157955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190d"} 
[2026-08-19 13:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756560960,"raw_latitude":119641616,"longitude_deg":75.656096,"latitude_deg":11.9641616,"altitude":79,"angle":293,"satellites":42,"speed":33,"hex_longitude":"2d183440","hex_latitude":"07219610","is_valid_coordinates":true} 
[2026-08-19 13:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504434944001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724099842932736,"note":"Value kept but may cause issues"} 
[2026-08-19 13:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753870610511341568,"note":"Value kept but may cause issues"} 
[2026-08-19 13:36: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-08-19 13:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787126709000,"timestamp_ms":1787126709000,"timestamp_seconds":1787126709,"priority":1,"record_length":96,"hex_timestamp":"000001a0190d7b08"} 
[2026-08-19 13:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:36: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-08-19 13:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 13:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504434944001,"66":14004,"120":206,"28":31744,"24":33,"16":13724099842932736,"45":1753870610511341568},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504434944001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:36:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:36:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724099842932736,"km_value":13724099842932.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753870610511341568,"description":"Unknown IO ID 45"} 
[2026-08-19 13:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504434944001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1753870610511341568}} 
[2026-08-19 13:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":157955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:36:16] local.INFO: GPS data processed {"connection_id":157955,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:36:16] local.INFO: Acknowledgment sent {"connection_id":157955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:36:41] local.INFO: TCP Data received {"connection_id":158821,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0190d6b68012cfd6c80071263080033012631..."} 
[2026-08-19 13:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190d6b68012cfd6c80071263080033012631..."} 
[2026-08-19 13:36:41] local.INFO: Processing buffer {"connection_id":158821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190d6b68012cfd6c80071263080033012631..."} 
[2026-08-19 13:36:41] local.INFO: Packet analysis {"connection_id":158821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190d"} 
[2026-08-19 13:36:41] local.INFO: Extracted packet for processing {"connection_id":158821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190d"} 
[2026-08-19 13:36:41] local.INFO: GPS Element Parsed {"raw_longitude":754805888,"raw_latitude":118645512,"longitude_deg":75.4805888,"latitude_deg":11.8645512,"altitude":51,"angle":294,"satellites":49,"speed":24,"hex_longitude":"2cfd6c80","hex_latitude":"07126308","is_valid_coordinates":true} 
[2026-08-19 13:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504435200001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385872252853288960,"note":"Value kept but may cause issues"} 
[2026-08-19 13:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-182677229512169472,"note":"Value kept but may cause issues"} 
[2026-08-19 13:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787126705000,"timestamp_ms":1787126705000,"timestamp_seconds":1787126705,"priority":1,"record_length":96,"hex_timestamp":"000001a0190d6b68"} 
[2026-08-19 13:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:36: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-08-19 13:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 13:36:41] 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-08-19 13:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504435200001,"66":27865,"48":206,"2":54528,"24":24,"16":385872252853288960,"44":-182677229512169472},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,2,24,16,44]} 
[2026-08-19 13:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504435200001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:36:41] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-19 13:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385872252853288960,"km_value":385872252853288.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-182677229512169472,"description":"Unknown IO ID 44"} 
[2026-08-19 13:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504435200001,"power":27865,"unknown_48":206,"power_alt":54528,"ignition":24,"odometer":null,"unknown_44":-182677229512169472}} 
[2026-08-19 13:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":158821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:36:41] local.INFO: GPS data processed {"connection_id":158821,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:36:41] local.INFO: Acknowledgment sent {"connection_id":158821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:36:47] local.INFO: TCP Data received {"connection_id":157955,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0190d8e90012d18298007219bc0004d01342b..."} 
[2026-08-19 13:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190d8e90012d18298007219bc0004d01342b..."} 
[2026-08-19 13:36:47] local.INFO: Processing buffer {"connection_id":157955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190d8e90012d18298007219bc0004d01342b..."} 
[2026-08-19 13:36:47] local.INFO: Packet analysis {"connection_id":157955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190d"} 
[2026-08-19 13:36:47] local.INFO: Extracted packet for processing {"connection_id":157955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190d"} 
[2026-08-19 13:36:47] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643072,"longitude_deg":75.6558208,"latitude_deg":11.9643072,"altitude":77,"angle":308,"satellites":43,"speed":14,"hex_longitude":"2d182980","hex_latitude":"07219bc0","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504437504001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724245871820800,"note":"Value kept but may cause issues"} 
[2026-08-19 13:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744089355071655936,"note":"Value kept but may cause issues"} 
[2026-08-19 13:36:47] 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-08-19 13:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787126714000,"timestamp_ms":1787126714000,"timestamp_seconds":1787126714,"priority":1,"record_length":96,"hex_timestamp":"000001a0190d8e90"} 
[2026-08-19 13:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:36:47] 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-08-19 13: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 13:36:47] 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-08-19 13: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-08-19 13:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504437504001,"66":13993,"120":206,"28":31744,"24":14,"16":13724245871820800,"45":1744089355071655936},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504437504001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:36:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:36:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724245871820800,"km_value":13724245871820.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744089355071655936,"description":"Unknown IO ID 45"} 
[2026-08-19 13:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504437504001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1744089355071655936}} 
[2026-08-19 13:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":157955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:36:47] local.INFO: GPS data processed {"connection_id":157955,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:36:47] local.INFO: Acknowledgment sent {"connection_id":157955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:36:59] local.INFO: TCP Data received {"connection_id":157577,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:36:59] local.INFO: Processing buffer {"connection_id":157577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:36:59] local.INFO: IMEI packet received {"connection_id":157577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":157577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:37:00] local.INFO: TCP Data received {"connection_id":157577,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:37:00] local.INFO: Processing buffer {"connection_id":157577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:37:00] local.INFO: IMEI packet received {"connection_id":157577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":157577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:37:04] local.INFO: TCP Data received {"connection_id":157577,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:37:04] local.INFO: Processing buffer {"connection_id":157577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:37:04] local.INFO: IMEI packet received {"connection_id":157577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":157577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:37:05] local.INFO: TCP Data received {"connection_id":157577,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0190e59b0012cfd7e4007133a58002f000b31..."} 
[2026-08-19 13:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190e59b0012cfd7e4007133a58002f000b31..."} 
[2026-08-19 13:37:05] local.INFO: Processing buffer {"connection_id":157577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190e59b0012cfd7e4007133a58002f000b31..."} 
[2026-08-19 13:37:05] local.INFO: Packet analysis {"connection_id":157577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190e"} 
[2026-08-19 13:37:05] local.INFO: Extracted packet for processing {"connection_id":157577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190e"} 
[2026-08-19 13:37:05] local.INFO: GPS Element Parsed {"raw_longitude":754810432,"raw_latitude":118700632,"longitude_deg":75.4810432,"latitude_deg":11.8700632,"altitude":47,"angle":11,"satellites":49,"speed":50,"hex_longitude":"2cfd7e40","hex_latitude":"07133a58","is_valid_coordinates":true} 
[2026-08-19 13:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504450048001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385875207790788608,"note":"Value kept but may cause issues"} 
[2026-08-19 13:37:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-183169810709452800,"note":"Value kept but may cause issues"} 
[2026-08-19 13:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787126766000,"timestamp_ms":1787126766000,"timestamp_seconds":1787126766,"priority":1,"record_length":96,"hex_timestamp":"000001a0190e59b0"} 
[2026-08-19 13:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 13:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504450048001,"66":27843,"151":206,"2":54528,"24":50,"16":385875207790788608,"44":-183169810709452800},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,2,24,16,44]} 
[2026-08-19 13:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504450048001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:37:05] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-19 13:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385875207790788608,"km_value":385875207790788.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:37:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-183169810709452800,"description":"Unknown IO ID 44"} 
[2026-08-19 13:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504450048001,"power":27843,"unknown_151":206,"power_alt":54528,"ignition":50,"odometer":null,"unknown_44":-183169810709452800}} 
[2026-08-19 13:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":157577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:37:05] local.INFO: GPS data processed {"connection_id":157577,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:37:05] local.INFO: Acknowledgment sent {"connection_id":157577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:37:08] local.INFO: TCP Data received {"connection_id":157577,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0190e78f0012cfd854007136048002c000031..."} 
[2026-08-19 13:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190e78f0012cfd854007136048002c000031..."} 
[2026-08-19 13:37:08] local.INFO: Processing buffer {"connection_id":157577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190e78f0012cfd854007136048002c000031..."} 
[2026-08-19 13:37:08] local.INFO: Packet analysis {"connection_id":157577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190e"} 
[2026-08-19 13:37:08] local.INFO: Extracted packet for processing {"connection_id":157577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190e"} 
[2026-08-19 13:37:08] local.INFO: GPS Element Parsed {"raw_longitude":754812224,"raw_latitude":118710344,"longitude_deg":75.4812224,"latitude_deg":11.8710344,"altitude":44,"angle":0,"satellites":49,"speed":41,"hex_longitude":"2cfd8540","hex_latitude":"07136048","is_valid_coordinates":true} 
[2026-08-19 13:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504452096001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385875688827125760,"note":"Value kept but may cause issues"} 
[2026-08-19 13:37:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-180636535916701696,"note":"Value kept but may cause issues"} 
[2026-08-19 13:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787126774000,"timestamp_ms":1787126774000,"timestamp_seconds":1787126774,"priority":1,"record_length":96,"hex_timestamp":"000001a0190e78f0"} 
[2026-08-19 13:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 13:37:08] 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-08-19 13:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":157577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":157577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":157577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504452096001,"66":27658,"151":206,"2":54528,"24":41,"16":385875688827125760,"44":-180636535916701696},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,2,24,16,44]} 
[2026-08-19 13:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504452096001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:37:08] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-19 13:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385875688827125760,"km_value":385875688827125.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:37:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-180636535916701696,"description":"Unknown IO ID 44"} 
[2026-08-19 13:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504452096001,"power":27658,"unknown_151":206,"power_alt":54528,"ignition":41,"odometer":null,"unknown_44":-180636535916701696}} 
[2026-08-19 13:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":157577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:37:08] local.INFO: GPS data processed {"connection_id":157577,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:37:08] local.INFO: Acknowledgment sent {"connection_id":157577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:37:08] local.INFO: TCP Data received {"connection_id":157956,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:37:08] local.INFO: Processing buffer {"connection_id":157956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:37:08] local.INFO: IMEI packet received {"connection_id":157956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":157956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:37:13] local.INFO: TCP Data received {"connection_id":157956,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:37:13] local.INFO: Processing buffer {"connection_id":157956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:37:13] local.INFO: IMEI packet received {"connection_id":157956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":157956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:37:15] local.INFO: TCP Data received {"connection_id":157956,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0190db988012d181f400721a4b8004c01282b..."} 
[2026-08-19 13:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190db988012d181f400721a4b8004c01282b..."} 
[2026-08-19 13:37:15] local.INFO: Processing buffer {"connection_id":157956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190db988012d181f400721a4b8004c01282b..."} 
[2026-08-19 13:37:15] local.INFO: Packet analysis {"connection_id":157956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190d"} 
[2026-08-19 13:37:15] local.INFO: Extracted packet for processing {"connection_id":157956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190d"} 
[2026-08-19 13:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119645368,"longitude_deg":75.6555584,"latitude_deg":11.9645368,"altitude":76,"angle":296,"satellites":43,"speed":6,"hex_longitude":"2d181f40","hex_latitude":"0721a4b8","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504438784001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724413375545344,"note":"Value kept but may cause issues"} 
[2026-08-19 13:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072389120,"note":"Value kept but may cause issues"} 
[2026-08-19 13:37: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-08-19 13:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787126725000,"timestamp_ms":1787126725000,"timestamp_seconds":1787126725,"priority":1,"record_length":96,"hex_timestamp":"000001a0190db988"} 
[2026-08-19 13:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:37: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-08-19 13: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 13:37:15] 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-08-19 13: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-08-19 13:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504438784001,"66":14254,"120":206,"28":31744,"24":6,"16":13724413375545344,"45":1741063499072389120},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504438784001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:37:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:37:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724413375545344,"km_value":13724413375545.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072389120,"description":"Unknown IO ID 45"} 
[2026-08-19 13:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504438784001,"power":14254,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1741063499072389120}} 
[2026-08-19 13:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":157956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:37:15] local.INFO: GPS data processed {"connection_id":157956,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:37:15] local.INFO: Acknowledgment sent {"connection_id":157956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:37:43] local.INFO: TCP Data received {"connection_id":157577,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0190e9448012cfd82c007137e500028015e2d..."} 
[2026-08-19 13:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190e9448012cfd82c007137e500028015e2d..."} 
[2026-08-19 13:37:43] local.INFO: Processing buffer {"connection_id":157577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190e9448012cfd82c007137e500028015e2d..."} 
[2026-08-19 13:37:43] local.INFO: Packet analysis {"connection_id":157577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190e"} 
[2026-08-19 13:37:43] local.INFO: Extracted packet for processing {"connection_id":157577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190e"} 
[2026-08-19 13:37:43] local.INFO: GPS Element Parsed {"raw_longitude":754811584,"raw_latitude":118718032,"longitude_deg":75.4811584,"latitude_deg":11.8718032,"altitude":40,"angle":350,"satellites":45,"speed":46,"hex_longitude":"2cfd82c0","hex_latitude":"07137e50","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504454144001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385876062489280512,"note":"Value kept but may cause issues"} 
[2026-08-19 13:37:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-178666211077240832,"note":"Value kept but may cause issues"} 
[2026-08-19 13:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787126781000,"timestamp_ms":1787126781000,"timestamp_seconds":1787126781,"priority":1,"record_length":96,"hex_timestamp":"000001a0190e9448"} 
[2026-08-19 13:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:37:43] 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-08-19 13: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-19 13:37:43] 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-08-19 13: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-08-19 13:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504454144001,"66":27517,"151":206,"2":54528,"24":46,"16":385876062489280512,"44":-178666211077240832},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,2,24,16,44]} 
[2026-08-19 13:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504454144001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:37:43] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-19 13:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385876062489280512,"km_value":385876062489280.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:37:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-178666211077240832,"description":"Unknown IO ID 44"} 
[2026-08-19 13:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504454144001,"power":27517,"unknown_151":206,"power_alt":54528,"ignition":46,"odometer":null,"unknown_44":-178666211077240832}} 
[2026-08-19 13:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":157577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:37:43] local.INFO: GPS data processed {"connection_id":157577,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:37:43] local.INFO: Acknowledgment sent {"connection_id":157577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:37:46] local.INFO: TCP Data received {"connection_id":157956,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0190e9c18012d1820000721b040004f00da2a..."} 
[2026-08-19 13:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190e9c18012d1820000721b040004f00da2a..."} 
[2026-08-19 13:37:46] local.INFO: Processing buffer {"connection_id":157956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190e9c18012d1820000721b040004f00da2a..."} 
[2026-08-19 13:37:46] local.INFO: Packet analysis {"connection_id":157956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190e"} 
[2026-08-19 13:37:46] local.INFO: Extracted packet for processing {"connection_id":157956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190e"} 
[2026-08-19 13:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648320,"longitude_deg":75.6555776,"latitude_deg":11.964832,"altitude":79,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504451072001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724821397438464,"note":"Value kept but may cause issues"} 
[2026-08-19 13:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981193728,"note":"Value kept but may cause issues"} 
[2026-08-19 13:37:46] 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-08-19 13:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787126783000,"timestamp_ms":1787126783000,"timestamp_seconds":1787126783,"priority":1,"record_length":96,"hex_timestamp":"000001a0190e9c18"} 
[2026-08-19 13:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:37: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-08-19 13: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":79,"data_length":795,"current_offset":136} 
[2026-08-19 13:37:46] 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-08-19 13: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-08-19 13:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504451072001,"66":13135,"120":206,"28":31744,"24":0,"16":13724821397438464,"45":1739163542981193728},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504451072001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:37:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:37:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724821397438464,"km_value":13724821397438.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981193728,"description":"Unknown IO ID 45"} 
[2026-08-19 13:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504451072001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981193728}} 
[2026-08-19 13:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":157956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:37:46] local.INFO: GPS data processed {"connection_id":157956,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:37:46] local.INFO: Acknowledgment sent {"connection_id":157956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:37:58] local.INFO: TCP Data received {"connection_id":157957,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:37:58] local.INFO: Processing buffer {"connection_id":157957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:37:58] local.INFO: IMEI packet received {"connection_id":157957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":157957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:37:59] local.INFO: TCP Data received {"connection_id":157957,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:37:59] local.INFO: Processing buffer {"connection_id":157957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:37:59] local.INFO: IMEI packet received {"connection_id":157957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":157957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:38:04] local.INFO: TCP Data received {"connection_id":157957,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:38:04] local.INFO: Processing buffer {"connection_id":157957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:38:04] local.INFO: IMEI packet received {"connection_id":157957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":157957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:38:06] local.INFO: TCP Data received {"connection_id":157957,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0190eb388012cfd790007139f980025015131..."} 
[2026-08-19 13:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190eb388012cfd790007139f980025015131..."} 
[2026-08-19 13:38:06] local.INFO: Processing buffer {"connection_id":157957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190eb388012cfd790007139f980025015131..."} 
[2026-08-19 13:38:06] local.INFO: Packet analysis {"connection_id":157957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190e"} 
[2026-08-19 13:38:06] local.INFO: Extracted packet for processing {"connection_id":157957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190e"} 
[2026-08-19 13:38:06] local.INFO: GPS Element Parsed {"raw_longitude":754809088,"raw_latitude":118726552,"longitude_deg":75.4809088,"latitude_deg":11.8726552,"altitude":37,"angle":337,"satellites":49,"speed":41,"hex_longitude":"2cfd7900","hex_latitude":"07139f98","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504455936001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385876491986010112,"note":"Value kept but may cause issues"} 
[2026-08-19 13:38:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-179369898517049344,"note":"Value kept but may cause issues"} 
[2026-08-19 13:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787126789000,"timestamp_ms":1787126789000,"timestamp_seconds":1787126789,"priority":1,"record_length":96,"hex_timestamp":"000001a0190eb388"} 
[2026-08-19 13:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:38: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-08-19 13: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 13:38:06] 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-08-19 13: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-08-19 13:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504455936001,"66":27115,"151":206,"2":54528,"24":41,"16":385876491986010112,"44":-179369898517049344},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,2,24,16,44]} 
[2026-08-19 13:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504455936001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:38:06] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-19 13:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385876491986010112,"km_value":385876491986010.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:38:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-179369898517049344,"description":"Unknown IO ID 44"} 
[2026-08-19 13:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504455936001,"power":27115,"unknown_151":206,"power_alt":54528,"ignition":41,"odometer":null,"unknown_44":-179369898517049344}} 
[2026-08-19 13:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":157957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:38:06] local.INFO: GPS data processed {"connection_id":157957,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:38:06] local.INFO: Acknowledgment sent {"connection_id":157957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:38:14] local.INFO: TCP Data received {"connection_id":157578,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:38:14] local.INFO: Processing buffer {"connection_id":157578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:38:14] local.INFO: IMEI packet received {"connection_id":157578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":157578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:38:19] local.INFO: TCP Data received {"connection_id":157578,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:38:19] local.INFO: Processing buffer {"connection_id":157578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:38:19] local.INFO: IMEI packet received {"connection_id":157578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":157578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:38:20] local.INFO: TCP Data received {"connection_id":157578,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0190eee20012d1820000721b040004f00da2b..."} 
[2026-08-19 13:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190eee20012d1820000721b040004f00da2b..."} 
[2026-08-19 13:38:20] local.INFO: Processing buffer {"connection_id":157578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190eee20012d1820000721b040004f00da2b..."} 
[2026-08-19 13:38:20] local.INFO: Packet analysis {"connection_id":157578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190e"} 
[2026-08-19 13:38:20] local.INFO: Extracted packet for processing {"connection_id":157578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190e"} 
[2026-08-19 13:38:20] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648320,"longitude_deg":75.6555776,"latitude_deg":11.964832,"altitude":79,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504456448001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724821397438464,"note":"Value kept but may cause issues"} 
[2026-08-19 13:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794981376,"note":"Value kept but may cause issues"} 
[2026-08-19 13:38:20] 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-08-19 13:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787126804000,"timestamp_ms":1787126804000,"timestamp_seconds":1787126804,"priority":1,"record_length":96,"hex_timestamp":"000001a0190eee20"} 
[2026-08-19 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-08-19 13:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 13:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 13:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504456448001,"66":12004,"120":206,"28":31744,"24":0,"16":13724821397438464,"45":1738389486794981376},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504456448001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:38:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:38:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724821397438464,"km_value":13724821397438.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794981376,"description":"Unknown IO ID 45"} 
[2026-08-19 13:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504456448001,"power":12004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794981376}} 
[2026-08-19 13:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":157578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:38:20] local.INFO: GPS data processed {"connection_id":157578,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:38:20] local.INFO: Acknowledgment sent {"connection_id":157578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:38:24] local.INFO: TCP Data received {"connection_id":157578,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0190f4028012d1820000721b040004f00da2b..."} 
[2026-08-19 13:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190f4028012d1820000721b040004f00da2b..."} 
[2026-08-19 13:38:24] local.INFO: Processing buffer {"connection_id":157578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190f4028012d1820000721b040004f00da2b..."} 
[2026-08-19 13:38:24] local.INFO: Packet analysis {"connection_id":157578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190f"} 
[2026-08-19 13:38:24] local.INFO: Extracted packet for processing {"connection_id":157578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190f"} 
[2026-08-19 13:38:24] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648320,"longitude_deg":75.6555776,"latitude_deg":11.964832,"altitude":79,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-19 13:38: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-08-19 13:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504461824001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724821397438464,"note":"Value kept but may cause issues"} 
[2026-08-19 13:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794981376,"note":"Value kept but may cause issues"} 
[2026-08-19 13:38:24] 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-08-19 13:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787126825000,"timestamp_ms":1787126825000,"timestamp_seconds":1787126825,"priority":1,"record_length":96,"hex_timestamp":"000001a0190f4028"} 
[2026-08-19 13:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 13:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:38: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-08-19 13:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":157578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":157578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":157578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504461824001,"66":12711,"120":206,"28":31744,"24":0,"16":13724821397438464,"45":1738389486794981376},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504461824001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:38:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:38:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724821397438464,"km_value":13724821397438.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794981376,"description":"Unknown IO ID 45"} 
[2026-08-19 13:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504461824001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794981376}} 
[2026-08-19 13:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":157578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:38:24] local.INFO: GPS data processed {"connection_id":157578,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:38:24] local.INFO: Acknowledgment sent {"connection_id":157578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:38:42] local.INFO: TCP Data received {"connection_id":157957,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0190ecaf8012cfd71000713b7b00025015f2d..."} 
[2026-08-19 13:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190ecaf8012cfd71000713b7b00025015f2d..."} 
[2026-08-19 13:38:42] local.INFO: Processing buffer {"connection_id":157957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190ecaf8012cfd71000713b7b00025015f2d..."} 
[2026-08-19 13:38:42] local.INFO: Packet analysis {"connection_id":157957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190e"} 
[2026-08-19 13:38:42] local.INFO: Extracted packet for processing {"connection_id":157957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190e"} 
[2026-08-19 13:38:42] local.INFO: GPS Element Parsed {"raw_longitude":754807040,"raw_latitude":118732720,"longitude_deg":75.480704,"latitude_deg":11.873272,"altitude":37,"angle":351,"satellites":45,"speed":44,"hex_longitude":"2cfd7100","hex_latitude":"0713b7b0","is_valid_coordinates":true} 
[2026-08-19 13:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504457984001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385876805518622720,"note":"Value kept but may cause issues"} 
[2026-08-19 13:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-182114279537797120,"note":"Value kept but may cause issues"} 
[2026-08-19 13:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787126795000,"timestamp_ms":1787126795000,"timestamp_seconds":1787126795,"priority":1,"record_length":96,"hex_timestamp":"000001a0190ecaf8"} 
[2026-08-19 13:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-19 13:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504457984001,"66":27919,"151":206,"2":54528,"24":44,"16":385876805518622720,"44":-182114279537797120},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,2,24,16,44]} 
[2026-08-19 13:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504457984001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:38:42] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-19 13:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385876805518622720,"km_value":385876805518622.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-182114279537797120,"description":"Unknown IO ID 44"} 
[2026-08-19 13:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504457984001,"power":27919,"unknown_151":206,"power_alt":54528,"ignition":44,"odometer":null,"unknown_44":-182114279537797120}} 
[2026-08-19 13:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":157957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:38:42] local.INFO: GPS data processed {"connection_id":157957,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:38:42] local.INFO: Acknowledgment sent {"connection_id":157957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:38:57] local.INFO: TCP Data received {"connection_id":157579,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:38:57] local.INFO: Processing buffer {"connection_id":157579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:38:57] local.INFO: IMEI packet received {"connection_id":157579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":157579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:38:59] local.INFO: TCP Data received {"connection_id":157579,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:38:59] local.INFO: Processing buffer {"connection_id":157579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:38:59] local.INFO: IMEI packet received {"connection_id":157579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":157579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:39:04] local.INFO: TCP Data received {"connection_id":157579,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:39:04] local.INFO: Processing buffer {"connection_id":157579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:39:04] local.INFO: IMEI packet received {"connection_id":157579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":157579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:39:07] local.INFO: TCP Data received {"connection_id":157579,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019100760012cfd27800714b1580035015d30..."} 
[2026-08-19 13:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019100760012cfd27800714b1580035015d30..."} 
[2026-08-19 13:39:07] local.INFO: Processing buffer {"connection_id":157579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019100760012cfd27800714b1580035015d30..."} 
[2026-08-19 13:39:07] local.INFO: Packet analysis {"connection_id":157579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01910"} 
[2026-08-19 13:39:07] local.INFO: Extracted packet for processing {"connection_id":157579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01910"} 
[2026-08-19 13:39:07] local.INFO: GPS Element Parsed {"raw_longitude":754788224,"raw_latitude":118796632,"longitude_deg":75.4788224,"latitude_deg":11.8796632,"altitude":53,"angle":349,"satellites":48,"speed":35,"hex_longitude":"2cfd2780","hex_latitude":"0714b158","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504478208001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385880129823309824,"note":"Value kept but may cause issues"} 
[2026-08-19 13:39:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-202521215333238784,"note":"Value kept but may cause issues"} 
[2026-08-19 13:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787126876000,"timestamp_ms":1787126876000,"timestamp_seconds":1787126876,"priority":1,"record_length":96,"hex_timestamp":"000001a019100760"} 
[2026-08-19 13:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:39:07] 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-08-19 13: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-08-19 13:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504478208001,"66":27745,"48":206,"2":54528,"24":35,"16":385880129823309824,"44":-202521215333238784},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,2,24,16,44]} 
[2026-08-19 13:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504478208001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:39:07] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-19 13:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385880129823309824,"km_value":385880129823309.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:39:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-202521215333238784,"description":"Unknown IO ID 44"} 
[2026-08-19 13:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504478208001,"power":27745,"unknown_48":206,"power_alt":54528,"ignition":35,"odometer":null,"unknown_44":-202521215333238784}} 
[2026-08-19 13:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":157579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:39:07] local.INFO: GPS data processed {"connection_id":157579,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:39:07] local.INFO: Acknowledgment sent {"connection_id":157579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:39:07] local.INFO: TCP Data received {"connection_id":160137,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:39:07] local.INFO: Processing buffer {"connection_id":160137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:39:07] local.INFO: IMEI packet received {"connection_id":160137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":160137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:39:08] local.INFO: TCP Data received {"connection_id":160137,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:39:08] local.INFO: Processing buffer {"connection_id":160137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:39:08] local.INFO: IMEI packet received {"connection_id":160137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":160137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:39:14] local.INFO: TCP Data received {"connection_id":160137,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:39:14] local.INFO: Processing buffer {"connection_id":160137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:39:14] local.INFO: IMEI packet received {"connection_id":160137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":160137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:39:16] local.INFO: TCP Data received {"connection_id":160137,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0190f9230012d1820000721b040004f00da2b..."} 
[2026-08-19 13:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190f9230012d1820000721b040004f00da2b..."} 
[2026-08-19 13:39:16] local.INFO: Processing buffer {"connection_id":160137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190f9230012d1820000721b040004f00da2b..."} 
[2026-08-19 13:39:16] local.INFO: Packet analysis {"connection_id":160137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190f"} 
[2026-08-19 13:39:16] local.INFO: Extracted packet for processing {"connection_id":160137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190f"} 
[2026-08-19 13:39:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648320,"longitude_deg":75.6555776,"latitude_deg":11.964832,"altitude":79,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504467200001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724821397438464,"note":"Value kept but may cause issues"} 
[2026-08-19 13:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794981376,"note":"Value kept but may cause issues"} 
[2026-08-19 13:39:16] 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-08-19 13:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787126846000,"timestamp_ms":1787126846000,"timestamp_seconds":1787126846,"priority":1,"record_length":96,"hex_timestamp":"000001a0190f9230"} 
[2026-08-19 13:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-19 13:39:16] 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-08-19 13: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-08-19 13:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504467200001,"66":12526,"120":206,"28":31744,"24":0,"16":13724821397438464,"45":1738389486794981376},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504467200001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:39:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:39:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724821397438464,"km_value":13724821397438.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794981376,"description":"Unknown IO ID 45"} 
[2026-08-19 13:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504467200001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794981376}} 
[2026-08-19 13:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":160137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:39:16] local.INFO: GPS data processed {"connection_id":160137,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:39:16] local.INFO: Acknowledgment sent {"connection_id":160137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:39:39] local.INFO: TCP Data received {"connection_id":157579,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019102e70012cfd22000714d6180039015730..."} 
[2026-08-19 13:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019102e70012cfd22000714d6180039015730..."} 
[2026-08-19 13:39:39] local.INFO: Processing buffer {"connection_id":157579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019102e70012cfd22000714d6180039015730..."} 
[2026-08-19 13:39:39] local.INFO: Packet analysis {"connection_id":157579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01910"} 
[2026-08-19 13:39:39] local.INFO: Extracted packet for processing {"connection_id":157579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01910"} 
[2026-08-19 13:39:39] local.INFO: GPS Element Parsed {"raw_longitude":754786816,"raw_latitude":118806040,"longitude_deg":75.4786816,"latitude_deg":11.880604,"altitude":57,"angle":343,"satellites":48,"speed":37,"hex_longitude":"2cfd2200","hex_latitude":"0714d618","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504480256001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385880589384810496,"note":"Value kept but may cause issues"} 
[2026-08-19 13:39:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-205054490121775104,"note":"Value kept but may cause issues"} 
[2026-08-19 13:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787126886000,"timestamp_ms":1787126886000,"timestamp_seconds":1787126886,"priority":1,"record_length":96,"hex_timestamp":"000001a019102e70"} 
[2026-08-19 13:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 13:39:39] 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-08-19 13: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-08-19 13:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504480256001,"66":27908,"48":206,"2":54528,"24":37,"16":385880589384810496,"44":-205054490121775104},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,2,24,16,44]} 
[2026-08-19 13:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504480256001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:39:39] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-08-19 13:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385880589384810496,"km_value":385880589384810.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:39:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-205054490121775104,"description":"Unknown IO ID 44"} 
[2026-08-19 13:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504480256001,"power":27908,"unknown_48":206,"power_alt":54528,"ignition":37,"odometer":null,"unknown_44":-205054490121775104}} 
[2026-08-19 13:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":157579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:39:39] local.INFO: GPS data processed {"connection_id":157579,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:39:39] local.INFO: Acknowledgment sent {"connection_id":157579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:39:47] local.INFO: TCP Data received {"connection_id":160137,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0190fe438012d1820000721b040004f00da2b..."} 
[2026-08-19 13:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0190fe438012d1820000721b040004f00da2b..."} 
[2026-08-19 13:39:47] local.INFO: Processing buffer {"connection_id":160137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0190fe438012d1820000721b040004f00da2b..."} 
[2026-08-19 13:39:47] local.INFO: Packet analysis {"connection_id":160137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0190f"} 
[2026-08-19 13:39:47] local.INFO: Extracted packet for processing {"connection_id":160137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0190f"} 
[2026-08-19 13:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648320,"longitude_deg":75.6555776,"latitude_deg":11.964832,"altitude":79,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504472576001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724821397438464,"note":"Value kept but may cause issues"} 
[2026-08-19 13:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794981376,"note":"Value kept but may cause issues"} 
[2026-08-19 13:39:47] 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-08-19 13:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787126867000,"timestamp_ms":1787126867000,"timestamp_seconds":1787126867,"priority":1,"record_length":96,"hex_timestamp":"000001a0190fe438"} 
[2026-08-19 13:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 13:39:47] 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-08-19 13: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-08-19 13:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504472576001,"66":13004,"120":206,"28":31744,"24":0,"16":13724821397438464,"45":1738389486794981376},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504472576001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:39:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:39:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724821397438464,"km_value":13724821397438.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794981376,"description":"Unknown IO ID 45"} 
[2026-08-19 13:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504472576001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794981376}} 
[2026-08-19 13:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":160137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:39:47] local.INFO: GPS data processed {"connection_id":160137,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:39:47] local.INFO: Acknowledgment sent {"connection_id":160137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:39:57] local.INFO: TCP Data received {"connection_id":158822,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:39:57] local.INFO: Processing buffer {"connection_id":158822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:39:57] local.INFO: IMEI packet received {"connection_id":158822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":158822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:39:59] local.INFO: TCP Data received {"connection_id":158822,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:39:59] local.INFO: Processing buffer {"connection_id":158822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:39:59] local.INFO: IMEI packet received {"connection_id":158822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":158822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:40:04] local.INFO: TCP Data received {"connection_id":158822,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:40:04] local.INFO: Processing buffer {"connection_id":158822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:40:04] local.INFO: IMEI packet received {"connection_id":158822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":158822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:40:05] local.INFO: TCP Data received {"connection_id":158822,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019111100012cfc5c0007156420002d012a2e..."} 
[2026-08-19 13:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019111100012cfc5c0007156420002d012a2e..."} 
[2026-08-19 13:40:05] local.INFO: Processing buffer {"connection_id":158822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019111100012cfc5c0007156420002d012a2e..."} 
[2026-08-19 13:40:05] local.INFO: Packet analysis {"connection_id":158822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01911"} 
[2026-08-19 13:40:05] local.INFO: Extracted packet for processing {"connection_id":158822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01911"} 
[2026-08-19 13:40:05] local.INFO: GPS Element Parsed {"raw_longitude":754736128,"raw_latitude":118842400,"longitude_deg":75.4736128,"latitude_deg":11.88424,"altitude":45,"angle":298,"satellites":46,"speed":41,"hex_longitude":"2cfc5c00","hex_latitude":"07156420","is_valid_coordinates":true} 
[2026-08-19 13:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504495616001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385883608746819584,"note":"Value kept but may cause issues"} 
[2026-08-19 13:40:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-255508879686699008,"note":"Value kept but may cause issues"} 
[2026-08-19 13:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787126944000,"timestamp_ms":1787126944000,"timestamp_seconds":1787126944,"priority":1,"record_length":96,"hex_timestamp":"000001a019111100"} 
[2026-08-19 13:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:40: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-08-19 13:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 13:40:05] 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-08-19 13:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504495616001,"66":27843,"177":206,"2":54528,"24":41,"16":385883608746819584,"44":-255508879686699008},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,2,24,16,44]} 
[2026-08-19 13:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504495616001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:40:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 13:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385883608746819584,"km_value":385883608746819.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:40:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-255508879686699008,"description":"Unknown IO ID 44"} 
[2026-08-19 13:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504495616001,"power":27843,"unknown_177":206,"power_alt":54528,"ignition":41,"odometer":null,"unknown_44":-255508879686699008}} 
[2026-08-19 13:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":158822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:40:05] local.INFO: GPS data processed {"connection_id":158822,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:40:05] local.INFO: Acknowledgment sent {"connection_id":158822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:40:09] local.INFO: TCP Data received {"connection_id":157580,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:40:09] local.INFO: Processing buffer {"connection_id":157580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:40:09] local.INFO: IMEI packet received {"connection_id":157580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":157580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:40:10] local.INFO: TCP Data received {"connection_id":157580,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:40:10] local.INFO: Processing buffer {"connection_id":157580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:40:10] local.INFO: IMEI packet received {"connection_id":157580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":157580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:40:14] local.INFO: TCP Data received {"connection_id":157580,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:40:14] local.INFO: Processing buffer {"connection_id":157580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:40:14] local.INFO: IMEI packet received {"connection_id":157580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":157580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:40:15] local.INFO: TCP Data received {"connection_id":157580,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019103640012d1820000721b040004f00da2c..."} 
[2026-08-19 13:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019103640012d1820000721b040004f00da2c..."} 
[2026-08-19 13:40:15] local.INFO: Processing buffer {"connection_id":157580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019103640012d1820000721b040004f00da2c..."} 
[2026-08-19 13:40:15] local.INFO: Packet analysis {"connection_id":157580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01910"} 
[2026-08-19 13:40:15] local.INFO: Extracted packet for processing {"connection_id":157580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01910"} 
[2026-08-19 13:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648320,"longitude_deg":75.6555776,"latitude_deg":11.964832,"altitude":79,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-19 13:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504477952001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724821397438464,"note":"Value kept but may cause issues"} 
[2026-08-19 13:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794981376,"note":"Value kept but may cause issues"} 
[2026-08-19 13:40: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-08-19 13:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787126888000,"timestamp_ms":1787126888000,"timestamp_seconds":1787126888,"priority":1,"record_length":96,"hex_timestamp":"000001a019103640"} 
[2026-08-19 13:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:40: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-08-19 13:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-19 13:40:15] 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-08-19 13:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504477952001,"66":12939,"120":206,"28":31744,"24":0,"16":13724821397438464,"45":1738389486794981376},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504477952001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:40:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:40:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724821397438464,"km_value":13724821397438.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794981376,"description":"Unknown IO ID 45"} 
[2026-08-19 13:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504477952001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794981376}} 
[2026-08-19 13:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":157580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:40:15] local.INFO: GPS data processed {"connection_id":157580,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:40:15] local.INFO: Acknowledgment sent {"connection_id":157580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:40:19] local.INFO: TCP Data received {"connection_id":157580,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019108848012d1820000721b040004f00da29..."} 
[2026-08-19 13:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019108848012d1820000721b040004f00da29..."} 
[2026-08-19 13:40:19] local.INFO: Processing buffer {"connection_id":157580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019108848012d1820000721b040004f00da29..."} 
[2026-08-19 13:40:19] local.INFO: Packet analysis {"connection_id":157580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01910"} 
[2026-08-19 13:40:19] local.INFO: Extracted packet for processing {"connection_id":157580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01910"} 
[2026-08-19 13:40:19] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648320,"longitude_deg":75.6555776,"latitude_deg":11.964832,"altitude":79,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-19 13:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504483328001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724821397438464,"note":"Value kept but may cause issues"} 
[2026-08-19 13:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794981376,"note":"Value kept but may cause issues"} 
[2026-08-19 13:40:19] 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-08-19 13:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787126909000,"timestamp_ms":1787126909000,"timestamp_seconds":1787126909,"priority":1,"record_length":96,"hex_timestamp":"000001a019108848"} 
[2026-08-19 13:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:40: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-08-19 13:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 13:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504483328001,"66":12950,"120":206,"28":31744,"24":0,"16":13724821397438464,"45":1738389486794981376},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504483328001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:40:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:40:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724821397438464,"km_value":13724821397438.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794981376,"description":"Unknown IO ID 45"} 
[2026-08-19 13:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504483328001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794981376}} 
[2026-08-19 13:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":157580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:40:20] local.INFO: GPS data processed {"connection_id":157580,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:40:20] local.INFO: Acknowledgment sent {"connection_id":157580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:40:37] local.INFO: TCP Data received {"connection_id":158822,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019113040012cfc38c007157408002d011f2e..."} 
[2026-08-19 13:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019113040012cfc38c007157408002d011f2e..."} 
[2026-08-19 13:40:37] local.INFO: Processing buffer {"connection_id":158822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019113040012cfc38c007157408002d011f2e..."} 
[2026-08-19 13:40:37] local.INFO: Packet analysis {"connection_id":158822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01911"} 
[2026-08-19 13:40:37] local.INFO: Extracted packet for processing {"connection_id":158822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01911"} 
[2026-08-19 13:40:37] local.INFO: GPS Element Parsed {"raw_longitude":754727104,"raw_latitude":118846472,"longitude_deg":75.4727104,"latitude_deg":11.8846472,"altitude":45,"angle":287,"satellites":46,"speed":46,"hex_longitude":"2cfc38c0","hex_latitude":"07157408","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504497664001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385884081193222144,"note":"Value kept but may cause issues"} 
[2026-08-19 13:40:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-262334647870676992,"note":"Value kept but may cause issues"} 
[2026-08-19 13:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787126952000,"timestamp_ms":1787126952000,"timestamp_seconds":1787126952,"priority":1,"record_length":96,"hex_timestamp":"000001a019113040"} 
[2026-08-19 13:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:40: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-08-19 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 13:40:37] 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-08-19 13: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-08-19 13:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504497664001,"66":27865,"177":206,"2":54528,"24":46,"16":385884081193222144,"44":-262334647870676992},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,2,24,16,44]} 
[2026-08-19 13:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504497664001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:40:37] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 13:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385884081193222144,"km_value":385884081193222.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:40:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-262334647870676992,"description":"Unknown IO ID 44"} 
[2026-08-19 13:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504497664001,"power":27865,"unknown_177":206,"power_alt":54528,"ignition":46,"odometer":null,"unknown_44":-262334647870676992}} 
[2026-08-19 13:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":158822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:40:37] local.INFO: GPS data processed {"connection_id":158822,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:40:37] local.INFO: Acknowledgment sent {"connection_id":158822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:40:51] local.INFO: TCP Data received {"connection_id":157580,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01910d668012d1820000721b040004f00da2a..."} 
[2026-08-19 13:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01910d668012d1820000721b040004f00da2a..."} 
[2026-08-19 13:40:51] local.INFO: Processing buffer {"connection_id":157580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01910d668012d1820000721b040004f00da2a..."} 
[2026-08-19 13:40:51] local.INFO: Packet analysis {"connection_id":157580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01910"} 
[2026-08-19 13:40:51] local.INFO: Extracted packet for processing {"connection_id":157580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01910"} 
[2026-08-19 13:40:51] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648320,"longitude_deg":75.6555776,"latitude_deg":11.964832,"altitude":79,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-19 13:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504488704001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724821397438464,"note":"Value kept but may cause issues"} 
[2026-08-19 13:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794981376,"note":"Value kept but may cause issues"} 
[2026-08-19 13:40:51] 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-08-19 13:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787126929000,"timestamp_ms":1787126929000,"timestamp_seconds":1787126929,"priority":1,"record_length":96,"hex_timestamp":"000001a01910d668"} 
[2026-08-19 13:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:40: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-08-19 13:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 13:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504488704001,"66":12950,"120":206,"28":31744,"24":0,"16":13724821397438464,"45":1738389486794981376},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504488704001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:40:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:40:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724821397438464,"km_value":13724821397438.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794981376,"description":"Unknown IO ID 45"} 
[2026-08-19 13:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504488704001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794981376}} 
[2026-08-19 13:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":157580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:40:51] local.INFO: GPS data processed {"connection_id":157580,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:40:51] local.INFO: Acknowledgment sent {"connection_id":157580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:40:59] local.INFO: TCP Data received {"connection_id":157958,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:40:59] local.INFO: Processing buffer {"connection_id":157958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:40:59] local.INFO: IMEI packet received {"connection_id":157958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":157958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:41:09] local.INFO: TCP Data received {"connection_id":157958,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:41:09] local.INFO: Processing buffer {"connection_id":157958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:41:09] local.INFO: IMEI packet received {"connection_id":157958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":157958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:41:09] local.INFO: TCP Data received {"connection_id":160138,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:41:09] local.INFO: Processing buffer {"connection_id":160138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:41:09] local.INFO: IMEI packet received {"connection_id":160138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":160138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:41:10] local.INFO: TCP Data received {"connection_id":157958,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019113040012cfc38c007157408002d011f2e..."} 
[2026-08-19 13:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019113040012cfc38c007157408002d011f2e..."} 
[2026-08-19 13:41:10] local.INFO: Processing buffer {"connection_id":157958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019113040012cfc38c007157408002d011f2e..."} 
[2026-08-19 13:41:10] local.INFO: Packet analysis {"connection_id":157958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01911"} 
[2026-08-19 13:41:10] local.INFO: Extracted packet for processing {"connection_id":157958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01911"} 
[2026-08-19 13:41:10] local.INFO: GPS Element Parsed {"raw_longitude":754727104,"raw_latitude":118846472,"longitude_deg":75.4727104,"latitude_deg":11.8846472,"altitude":45,"angle":287,"satellites":46,"speed":46,"hex_longitude":"2cfc38c0","hex_latitude":"07157408","is_valid_coordinates":true} 
[2026-08-19 13:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504499712001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385884081193222144,"note":"Value kept but may cause issues"} 
[2026-08-19 13:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-272256640798685184,"note":"Value kept but may cause issues"} 
[2026-08-19 13:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787126952000,"timestamp_ms":1787126952000,"timestamp_seconds":1787126952,"priority":1,"record_length":96,"hex_timestamp":"000001a019113040"} 
[2026-08-19 13:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:41: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-08-19 13:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 13:41: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-08-19 13:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504499712001,"66":27865,"177":206,"2":54528,"24":46,"16":385884081193222144,"44":-272256640798685184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,2,24,16,44]} 
[2026-08-19 13:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504499712001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:41:10] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 13:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385884081193222144,"km_value":385884081193222.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-272256640798685184,"description":"Unknown IO ID 44"} 
[2026-08-19 13:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504499712001,"power":27865,"unknown_177":206,"power_alt":54528,"ignition":46,"odometer":null,"unknown_44":-272256640798685184}} 
[2026-08-19 13:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":157958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:41:10] local.INFO: GPS data processed {"connection_id":157958,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:41:10] local.INFO: Acknowledgment sent {"connection_id":157958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:41:13] local.INFO: TCP Data received {"connection_id":160138,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:41:13] local.INFO: Processing buffer {"connection_id":160138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:41:13] local.INFO: IMEI packet received {"connection_id":160138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":160138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:41:14] local.INFO: TCP Data received {"connection_id":160138,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019112c58012d1820000721b040004f00da28..."} 
[2026-08-19 13:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019112c58012d1820000721b040004f00da28..."} 
[2026-08-19 13:41:14] local.INFO: Processing buffer {"connection_id":160138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019112c58012d1820000721b040004f00da28..."} 
[2026-08-19 13:41:14] local.INFO: Packet analysis {"connection_id":160138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01911"} 
[2026-08-19 13:41:14] local.INFO: Extracted packet for processing {"connection_id":160138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01911"} 
[2026-08-19 13:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648320,"longitude_deg":75.6555776,"latitude_deg":11.964832,"altitude":79,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-19 13:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504493824001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724821397438464,"note":"Value kept but may cause issues"} 
[2026-08-19 13:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794981376,"note":"Value kept but may cause issues"} 
[2026-08-19 13:41:14] 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-08-19 13:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787126951000,"timestamp_ms":1787126951000,"timestamp_seconds":1787126951,"priority":1,"record_length":96,"hex_timestamp":"000001a019112c58"} 
[2026-08-19 13:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:41: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-08-19 13: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 13:41:14] 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-08-19 13: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-08-19 13:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504493824001,"66":12722,"120":206,"28":31744,"24":0,"16":13724821397438464,"45":1738389486794981376},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504493824001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:41:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:41:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724821397438464,"km_value":13724821397438.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794981376,"description":"Unknown IO ID 45"} 
[2026-08-19 13:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504493824001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794981376}} 
[2026-08-19 13:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":160138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:41:14] local.INFO: GPS data processed {"connection_id":160138,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:41:14] local.INFO: Acknowledgment sent {"connection_id":160138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:41:42] local.INFO: TCP Data received {"connection_id":157958,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01912b6e0012cfbe58007166b180045015630..."} 
[2026-08-19 13:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01912b6e0012cfbe58007166b180045015630..."} 
[2026-08-19 13:41:42] local.INFO: Processing buffer {"connection_id":157958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01912b6e0012cfbe58007166b180045015630..."} 
[2026-08-19 13:41:42] local.INFO: Packet analysis {"connection_id":157958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01912"} 
[2026-08-19 13:41:42] local.INFO: Extracted packet for processing {"connection_id":157958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01912"} 
[2026-08-19 13:41:42] local.INFO: GPS Element Parsed {"raw_longitude":754705792,"raw_latitude":118909720,"longitude_deg":75.4705792,"latitude_deg":11.890972,"altitude":69,"angle":342,"satellites":48,"speed":11,"hex_longitude":"2cfbe580","hex_latitude":"07166b18","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504523008001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385887521462026240,"note":"Value kept but may cause issues"} 
[2026-08-19 13:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-294915376408735744,"note":"Value kept but may cause issues"} 
[2026-08-19 13:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787127052000,"timestamp_ms":1787127052000,"timestamp_seconds":1787127052,"priority":1,"record_length":96,"hex_timestamp":"000001a01912b6e0"} 
[2026-08-19 13:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 13:41:42] 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-08-19 13: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-08-19 13:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504523008001,"66":27876,"87":206,"2":54528,"24":11,"16":385887521462026240,"44":-294915376408735744},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 13:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504523008001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:41:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 13:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385887521462026240,"km_value":385887521462026.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-294915376408735744,"description":"Unknown IO ID 44"} 
[2026-08-19 13:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504523008001,"power":27876,"unknown_87":206,"power_alt":54528,"ignition":11,"odometer":null,"unknown_44":-294915376408735744}} 
[2026-08-19 13:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":157958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:41:42] local.INFO: GPS data processed {"connection_id":157958,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:41:42] local.INFO: Acknowledgment sent {"connection_id":157958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:41:50] local.INFO: TCP Data received {"connection_id":160138,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019117e60012d1820000721b040004f00da27..."} 
[2026-08-19 13:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019117e60012d1820000721b040004f00da27..."} 
[2026-08-19 13:41:50] local.INFO: Processing buffer {"connection_id":160138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019117e60012d1820000721b040004f00da27..."} 
[2026-08-19 13:41:50] local.INFO: Packet analysis {"connection_id":160138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01911"} 
[2026-08-19 13:41:50] local.INFO: Extracted packet for processing {"connection_id":160138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01911"} 
[2026-08-19 13:41:50] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648320,"longitude_deg":75.6555776,"latitude_deg":11.964832,"altitude":79,"angle":218,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504499456001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724821397438464,"note":"Value kept but may cause issues"} 
[2026-08-19 13:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794981376,"note":"Value kept but may cause issues"} 
[2026-08-19 13:41:50] 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-08-19 13:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787126972000,"timestamp_ms":1787126972000,"timestamp_seconds":1787126972,"priority":1,"record_length":96,"hex_timestamp":"000001a019117e60"} 
[2026-08-19 13:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 13:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504499456001,"66":12874,"120":206,"28":31744,"24":0,"16":13724821397438464,"45":1738389486794981376},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504499456001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:41:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:41:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724821397438464,"km_value":13724821397438.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794981376,"description":"Unknown IO ID 45"} 
[2026-08-19 13:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504499456001,"power":12874,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794981376}} 
[2026-08-19 13:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":160138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:41:50] local.INFO: GPS data processed {"connection_id":160138,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:41:50] local.INFO: Acknowledgment sent {"connection_id":160138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:41:59] local.INFO: TCP Data received {"connection_id":158823,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:41:59] local.INFO: Processing buffer {"connection_id":158823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:41:59] local.INFO: IMEI packet received {"connection_id":158823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":158823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:42:09] local.INFO: TCP Data received {"connection_id":158823,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:42:09] local.INFO: Processing buffer {"connection_id":158823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:42:09] local.INFO: IMEI packet received {"connection_id":158823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":158823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:42:10] local.INFO: TCP Data received {"connection_id":158823,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01912beb0012cfbe40007166d580044014031..."} 
[2026-08-19 13:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01912beb0012cfbe40007166d580044014031..."} 
[2026-08-19 13:42:10] local.INFO: Processing buffer {"connection_id":158823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01912beb0012cfbe40007166d580044014031..."} 
[2026-08-19 13:42:10] local.INFO: Packet analysis {"connection_id":158823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01912"} 
[2026-08-19 13:42:10] local.INFO: Extracted packet for processing {"connection_id":158823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01912"} 
[2026-08-19 13:42:10] local.INFO: GPS Element Parsed {"raw_longitude":754705408,"raw_latitude":118910296,"longitude_deg":75.4705408,"latitude_deg":11.8910296,"altitude":68,"angle":320,"satellites":49,"speed":12,"hex_longitude":"2cfbe400","hex_latitude":"07166d58","is_valid_coordinates":true} 
[2026-08-19 13:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504525312001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385887555821764608,"note":"Value kept but may cause issues"} 
[2026-08-19 13:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-295689432593655808,"note":"Value kept but may cause issues"} 
[2026-08-19 13:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787127054000,"timestamp_ms":1787127054000,"timestamp_seconds":1787127054,"priority":1,"record_length":96,"hex_timestamp":"000001a01912beb0"} 
[2026-08-19 13:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:42: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-08-19 13:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 13:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504525312001,"66":27821,"87":206,"2":54528,"24":12,"16":385887555821764608,"44":-295689432593655808},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 13:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504525312001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:42:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 13:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385887555821764608,"km_value":385887555821764.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-295689432593655808,"description":"Unknown IO ID 44"} 
[2026-08-19 13:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504525312001,"power":27821,"unknown_87":206,"power_alt":54528,"ignition":12,"odometer":null,"unknown_44":-295689432593655808}} 
[2026-08-19 13:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":158823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:42:10] local.INFO: GPS data processed {"connection_id":158823,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:42:10] local.INFO: Acknowledgment sent {"connection_id":158823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:42:14] local.INFO: TCP Data received {"connection_id":157581,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:42:14] local.INFO: Processing buffer {"connection_id":157581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:42:14] local.INFO: IMEI packet received {"connection_id":157581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":157581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:42:16] local.INFO: TCP Data received {"connection_id":157581,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:42:16] local.INFO: Processing buffer {"connection_id":157581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:42:16] local.INFO: IMEI packet received {"connection_id":157581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":157581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:42:19] local.INFO: TCP Data received {"connection_id":157581,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:42:19] local.INFO: Processing buffer {"connection_id":157581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:42:19] local.INFO: IMEI packet received {"connection_id":157581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":157581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:42:20] local.INFO: TCP Data received {"connection_id":157581,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01911d068012d1820000721b040004f00da2a..."} 
[2026-08-19 13:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01911d068012d1820000721b040004f00da2a..."} 
[2026-08-19 13:42:20] local.INFO: Processing buffer {"connection_id":157581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01911d068012d1820000721b040004f00da2a..."} 
[2026-08-19 13:42:20] local.INFO: Packet analysis {"connection_id":157581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01911"} 
[2026-08-19 13:42:20] local.INFO: Extracted packet for processing {"connection_id":157581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01911"} 
[2026-08-19 13:42:20] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648320,"longitude_deg":75.6555776,"latitude_deg":11.964832,"altitude":79,"angle":218,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504504832001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724821397438464,"note":"Value kept but may cause issues"} 
[2026-08-19 13:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794981376,"note":"Value kept but may cause issues"} 
[2026-08-19 13:42:20] 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-08-19 13:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787126993000,"timestamp_ms":1787126993000,"timestamp_seconds":1787126993,"priority":1,"record_length":96,"hex_timestamp":"000001a01911d068"} 
[2026-08-19 13:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:42: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-08-19 13: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-19 13:42:20] 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-08-19 13: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-08-19 13:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504504832001,"66":12863,"120":206,"28":31744,"24":0,"16":13724821397438464,"45":1738389486794981376},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504504832001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:42:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:42:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724821397438464,"km_value":13724821397438.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794981376,"description":"Unknown IO ID 45"} 
[2026-08-19 13:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504504832001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794981376}} 
[2026-08-19 13:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":157581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:42:21] local.INFO: GPS data processed {"connection_id":157581,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:42:21] local.INFO: Acknowledgment sent {"connection_id":157581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:42:24] local.INFO: TCP Data received {"connection_id":157581,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019122270012d1820000721b040004f00da2b..."} 
[2026-08-19 13:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019122270012d1820000721b040004f00da2b..."} 
[2026-08-19 13:42:24] local.INFO: Processing buffer {"connection_id":157581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019122270012d1820000721b040004f00da2b..."} 
[2026-08-19 13:42:24] local.INFO: Packet analysis {"connection_id":157581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01912"} 
[2026-08-19 13:42:24] local.INFO: Extracted packet for processing {"connection_id":157581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01912"} 
[2026-08-19 13:42:24] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648320,"longitude_deg":75.6555776,"latitude_deg":11.964832,"altitude":79,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-19 13:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504510208001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724821397438464,"note":"Value kept but may cause issues"} 
[2026-08-19 13:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794981376,"note":"Value kept but may cause issues"} 
[2026-08-19 13:42:24] 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-08-19 13:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787127014000,"timestamp_ms":1787127014000,"timestamp_seconds":1787127014,"priority":1,"record_length":96,"hex_timestamp":"000001a019122270"} 
[2026-08-19 13:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:42:24] 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-08-19 13:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-19 13:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":157581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":157581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":157581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504510208001,"66":12841,"120":206,"28":31744,"24":0,"16":13724821397438464,"45":1738389486794981376},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504510208001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:42:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:42:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724821397438464,"km_value":13724821397438.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794981376,"description":"Unknown IO ID 45"} 
[2026-08-19 13:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504510208001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794981376}} 
[2026-08-19 13:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":157581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:42:24] local.INFO: GPS data processed {"connection_id":157581,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:42:24] local.INFO: Acknowledgment sent {"connection_id":157581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:42:42] local.INFO: TCP Data received {"connection_id":158823,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01912c298012cfbe34007166e400043013233..."} 
[2026-08-19 13:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01912c298012cfbe34007166e400043013233..."} 
[2026-08-19 13:42:42] local.INFO: Processing buffer {"connection_id":158823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01912c298012cfbe34007166e400043013233..."} 
[2026-08-19 13:42:42] local.INFO: Packet analysis {"connection_id":158823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01912"} 
[2026-08-19 13:42:42] local.INFO: Extracted packet for processing {"connection_id":158823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01912"} 
[2026-08-19 13:42:42] local.INFO: GPS Element Parsed {"raw_longitude":754705216,"raw_latitude":118910528,"longitude_deg":75.4705216,"latitude_deg":11.8910528,"altitude":67,"angle":306,"satellites":51,"speed":13,"hex_longitude":"2cfbe340","hex_latitude":"07166e40","is_valid_coordinates":true} 
[2026-08-19 13:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504525824001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385887568706666496,"note":"Value kept but may cause issues"} 
[2026-08-19 13:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-296111645058574336,"note":"Value kept but may cause issues"} 
[2026-08-19 13:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787127055000,"timestamp_ms":1787127055000,"timestamp_seconds":1787127055,"priority":1,"record_length":96,"hex_timestamp":"000001a01912c298"} 
[2026-08-19 13:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:42: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-08-19 13:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 13:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504525824001,"66":27821,"87":206,"2":54528,"24":13,"16":385887568706666496,"44":-296111645058574336},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 13:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504525824001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:42:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 13:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385887568706666496,"km_value":385887568706666.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-296111645058574336,"description":"Unknown IO ID 44"} 
[2026-08-19 13:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504525824001,"power":27821,"unknown_87":206,"power_alt":54528,"ignition":13,"odometer":null,"unknown_44":-296111645058574336}} 
[2026-08-19 13:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":158823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:42:42] local.INFO: GPS data processed {"connection_id":158823,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:42:42] local.INFO: Acknowledgment sent {"connection_id":158823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:43:04] local.INFO: TCP Data received {"connection_id":157959,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:43:04] local.INFO: Processing buffer {"connection_id":157959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:43:04] local.INFO: IMEI packet received {"connection_id":157959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":157959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:43:06] local.INFO: TCP Data received {"connection_id":157959,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:43:06] local.INFO: Processing buffer {"connection_id":157959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:43:06] local.INFO: IMEI packet received {"connection_id":157959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":157959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:43:07] local.INFO: TCP Data received {"connection_id":157959,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01913e3a8012cfbf4000716e5600034004531..."} 
[2026-08-19 13:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01913e3a8012cfbf4000716e5600034004531..."} 
[2026-08-19 13:43:07] local.INFO: Processing buffer {"connection_id":157959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01913e3a8012cfbf4000716e5600034004531..."} 
[2026-08-19 13:43:07] local.INFO: Packet analysis {"connection_id":157959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01913"} 
[2026-08-19 13:43:07] local.INFO: Extracted packet for processing {"connection_id":157959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01913"} 
[2026-08-19 13:43:07] local.INFO: GPS Element Parsed {"raw_longitude":754709504,"raw_latitude":118941024,"longitude_deg":75.4709504,"latitude_deg":11.8941024,"altitude":52,"angle":69,"satellites":49,"speed":38,"hex_longitude":"2cfbf400","hex_latitude":"0716e560","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504542976001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385889458492276736,"note":"Value kept but may cause issues"} 
[2026-08-19 13:43:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-298856026074677248,"note":"Value kept but may cause issues"} 
[2026-08-19 13:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787127129000,"timestamp_ms":1787127129000,"timestamp_seconds":1787127129,"priority":1,"record_length":96,"hex_timestamp":"000001a01913e3a8"} 
[2026-08-19 13:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 13:43:07] 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-08-19 13: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-08-19 13:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504542976001,"66":27800,"87":206,"2":54528,"24":38,"16":385889458492276736,"44":-298856026074677248},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 13:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504542976001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:43:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 13:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385889458492276736,"km_value":385889458492276.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:43:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-298856026074677248,"description":"Unknown IO ID 44"} 
[2026-08-19 13:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504542976001,"power":27800,"unknown_87":206,"power_alt":54528,"ignition":38,"odometer":null,"unknown_44":-298856026074677248}} 
[2026-08-19 13:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":157959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:43:07] local.INFO: GPS data processed {"connection_id":157959,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:43:07] local.INFO: Acknowledgment sent {"connection_id":157959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:43:09] local.INFO: TCP Data received {"connection_id":157960,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:43:09] local.INFO: Processing buffer {"connection_id":157960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:43:09] local.INFO: IMEI packet received {"connection_id":157960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":157960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:43:10] local.INFO: TCP Data received {"connection_id":157959,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01913fb18012cfc06c00716eb600031003832..."} 
[2026-08-19 13:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01913fb18012cfc06c00716eb600031003832..."} 
[2026-08-19 13:43:10] local.INFO: Processing buffer {"connection_id":157959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01913fb18012cfc06c00716eb600031003832..."} 
[2026-08-19 13:43:10] local.INFO: Packet analysis {"connection_id":157959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01913"} 
[2026-08-19 13:43:10] local.INFO: Extracted packet for processing {"connection_id":157959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01913"} 
[2026-08-19 13:43:10] local.INFO: GPS Element Parsed {"raw_longitude":754714304,"raw_latitude":118942560,"longitude_deg":75.4714304,"latitude_deg":11.894256,"altitude":49,"angle":56,"satellites":50,"speed":30,"hex_longitude":"2cfc06c0","hex_latitude":"0716eb60","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504545024001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385889699010445312,"note":"Value kept but may cause issues"} 
[2026-08-19 13:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-291608045423337472,"note":"Value kept but may cause issues"} 
[2026-08-19 13:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787127135000,"timestamp_ms":1787127135000,"timestamp_seconds":1787127135,"priority":1,"record_length":96,"hex_timestamp":"000001a01913fb18"} 
[2026-08-19 13:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:43: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-08-19 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 13:43:10] 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-08-19 13: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-08-19 13:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504545024001,"66":27974,"87":206,"2":54528,"24":30,"16":385889699010445312,"44":-291608045423337472},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 13:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504545024001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:43:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 13:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385889699010445312,"km_value":385889699010445.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-291608045423337472,"description":"Unknown IO ID 44"} 
[2026-08-19 13:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504545024001,"power":27974,"unknown_87":206,"power_alt":54528,"ignition":30,"odometer":null,"unknown_44":-291608045423337472}} 
[2026-08-19 13:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":157959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:43:10] local.INFO: GPS data processed {"connection_id":157959,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:43:10] local.INFO: Acknowledgment sent {"connection_id":157959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:43:14] local.INFO: TCP Data received {"connection_id":157960,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:43:14] local.INFO: Processing buffer {"connection_id":157960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:43:14] local.INFO: IMEI packet received {"connection_id":157960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":157960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:43:15] local.INFO: TCP Data received {"connection_id":157960,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019127478012d1820000721b040004f00da28..."} 
[2026-08-19 13:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019127478012d1820000721b040004f00da28..."} 
[2026-08-19 13:43:15] local.INFO: Processing buffer {"connection_id":157960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019127478012d1820000721b040004f00da28..."} 
[2026-08-19 13:43:15] local.INFO: Packet analysis {"connection_id":157960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01912"} 
[2026-08-19 13:43:15] local.INFO: Extracted packet for processing {"connection_id":157960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01912"} 
[2026-08-19 13:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648320,"longitude_deg":75.6555776,"latitude_deg":11.964832,"altitude":79,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504515584001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724821397438464,"note":"Value kept but may cause issues"} 
[2026-08-19 13:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794981376,"note":"Value kept but may cause issues"} 
[2026-08-19 13:43: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-08-19 13:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787127035000,"timestamp_ms":1787127035000,"timestamp_seconds":1787127035,"priority":1,"record_length":96,"hex_timestamp":"000001a019127478"} 
[2026-08-19 13:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:43: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-08-19 13: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 13:43: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-08-19 13: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-08-19 13:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504515584001,"66":12841,"120":206,"28":31744,"24":0,"16":13724821397438464,"45":1738389486794981376},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504515584001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:43:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:43:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724821397438464,"km_value":13724821397438.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794981376,"description":"Unknown IO ID 45"} 
[2026-08-19 13:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504515584001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794981376}} 
[2026-08-19 13:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":157960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:43:15] local.INFO: GPS data processed {"connection_id":157960,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:43:15] local.INFO: Acknowledgment sent {"connection_id":157960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:43:46] local.INFO: TCP Data received {"connection_id":157960,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01912c680012d1820000721b040004f00da29..."} 
[2026-08-19 13:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01912c680012d1820000721b040004f00da29..."} 
[2026-08-19 13:43:46] local.INFO: Processing buffer {"connection_id":157960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01912c680012d1820000721b040004f00da29..."} 
[2026-08-19 13:43:46] local.INFO: Packet analysis {"connection_id":157960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01912"} 
[2026-08-19 13:43:46] local.INFO: Extracted packet for processing {"connection_id":157960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01912"} 
[2026-08-19 13:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648320,"longitude_deg":75.6555776,"latitude_deg":11.964832,"altitude":79,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504520960001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724821397438464,"note":"Value kept but may cause issues"} 
[2026-08-19 13:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794981376,"note":"Value kept but may cause issues"} 
[2026-08-19 13:43:46] 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-08-19 13:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787127056000,"timestamp_ms":1787127056000,"timestamp_seconds":1787127056,"priority":1,"record_length":96,"hex_timestamp":"000001a01912c680"} 
[2026-08-19 13:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:43: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-08-19 13: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 13:43: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-08-19 13: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-08-19 13:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504520960001,"66":12798,"120":206,"28":31744,"24":0,"16":13724821397438464,"45":1738389486794981376},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504520960001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:43:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:43:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724821397438464,"km_value":13724821397438.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794981376,"description":"Unknown IO ID 45"} 
[2026-08-19 13:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504520960001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794981376}} 
[2026-08-19 13:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":157960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:43:46] local.INFO: GPS data processed {"connection_id":157960,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:43:46] local.INFO: Acknowledgment sent {"connection_id":157960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:43:59] local.INFO: TCP Data received {"connection_id":158824,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:43:59] local.INFO: Processing buffer {"connection_id":158824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:43:59] local.INFO: IMEI packet received {"connection_id":158824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":158824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:43:59] local.INFO: TCP Data received {"connection_id":158824,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:43:59] local.INFO: Processing buffer {"connection_id":158824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:43:59] local.INFO: IMEI packet received {"connection_id":158824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":158824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:44:08] local.INFO: TCP Data received {"connection_id":157582,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:44:08] local.INFO: Processing buffer {"connection_id":157582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:44:08] local.INFO: IMEI packet received {"connection_id":157582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":157582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:44:14] local.INFO: TCP Data received {"connection_id":157582,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:44:14] local.INFO: Processing buffer {"connection_id":157582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:44:14] local.INFO: IMEI packet received {"connection_id":157582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":157582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:44:15] local.INFO: TCP Data received {"connection_id":158824,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:44:15] local.INFO: Processing buffer {"connection_id":158824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:44:15] local.INFO: IMEI packet received {"connection_id":158824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":158824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:44:15] local.INFO: TCP Data received {"connection_id":157582,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019131888012d1820000721b040004f00da29..."} 
[2026-08-19 13:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019131888012d1820000721b040004f00da29..."} 
[2026-08-19 13:44:15] local.INFO: Processing buffer {"connection_id":157582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019131888012d1820000721b040004f00da29..."} 
[2026-08-19 13:44:15] local.INFO: Packet analysis {"connection_id":157582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01913"} 
[2026-08-19 13:44:15] local.INFO: Extracted packet for processing {"connection_id":157582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01913"} 
[2026-08-19 13:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648320,"longitude_deg":75.6555776,"latitude_deg":11.964832,"altitude":79,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504526336001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724821397438464,"note":"Value kept but may cause issues"} 
[2026-08-19 13:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794981376,"note":"Value kept but may cause issues"} 
[2026-08-19 13:44: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-08-19 13:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787127077000,"timestamp_ms":1787127077000,"timestamp_seconds":1787127077,"priority":1,"record_length":96,"hex_timestamp":"000001a019131888"} 
[2026-08-19 13:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:44: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-08-19 13: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-19 13:44:15] 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-08-19 13:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504526336001,"66":12776,"120":206,"28":31744,"24":0,"16":13724821397438464,"45":1738389486794981376},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504526336001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:44:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:44:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724821397438464,"km_value":13724821397438.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794981376,"description":"Unknown IO ID 45"} 
[2026-08-19 13:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504526336001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794981376}} 
[2026-08-19 13:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":157582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:44:15] local.INFO: GPS data processed {"connection_id":157582,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:44:15] local.INFO: Acknowledgment sent {"connection_id":157582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:44:17] local.INFO: TCP Data received {"connection_id":158824,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01913ff00012cfc08c00716ed580031002b31..."} 
[2026-08-19 13:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01913ff00012cfc08c00716ed580031002b31..."} 
[2026-08-19 13:44:17] local.INFO: Processing buffer {"connection_id":158824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01913ff00012cfc08c00716ed580031002b31..."} 
[2026-08-19 13:44:17] local.INFO: Packet analysis {"connection_id":158824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01913"} 
[2026-08-19 13:44:17] local.INFO: Extracted packet for processing {"connection_id":158824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01913"} 
[2026-08-19 13:44:17] local.INFO: GPS Element Parsed {"raw_longitude":754714816,"raw_latitude":118943064,"longitude_deg":75.4714816,"latitude_deg":11.8943064,"altitude":49,"angle":43,"satellites":49,"speed":30,"hex_longitude":"2cfc08c0","hex_latitude":"0716ed58","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504546560001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385889737665150976,"note":"Value kept but may cause issues"} 
[2026-08-19 13:44:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-286330389609619456,"note":"Value kept but may cause issues"} 
[2026-08-19 13:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787127136000,"timestamp_ms":1787127136000,"timestamp_seconds":1787127136,"priority":1,"record_length":96,"hex_timestamp":"000001a01913ff00"} 
[2026-08-19 13:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:44: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-08-19 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 13:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504546560001,"66":27865,"87":206,"2":54528,"24":30,"16":385889737665150976,"44":-286330389609619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 13:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504546560001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:44:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 13:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385889737665150976,"km_value":385889737665151.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:44:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-286330389609619456,"description":"Unknown IO ID 44"} 
[2026-08-19 13:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504546560001,"power":27865,"unknown_87":206,"power_alt":54528,"ignition":30,"odometer":null,"unknown_44":-286330389609619456}} 
[2026-08-19 13:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":158824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:44:17] local.INFO: GPS data processed {"connection_id":158824,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:44:17] local.INFO: Acknowledgment sent {"connection_id":158824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:44:18] local.INFO: TCP Data received {"connection_id":158824,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0191406d0012cfc0c000716f2400030001b2e..."} 
[2026-08-19 13:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0191406d0012cfc0c000716f2400030001b2e..."} 
[2026-08-19 13:44:18] local.INFO: Processing buffer {"connection_id":158824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0191406d0012cfc0c000716f2400030001b2e..."} 
[2026-08-19 13:44:18] local.INFO: Packet analysis {"connection_id":158824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01914"} 
[2026-08-19 13:44:18] local.INFO: Extracted packet for processing {"connection_id":158824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01914"} 
[2026-08-19 13:44:18] local.INFO: GPS Element Parsed {"raw_longitude":754715648,"raw_latitude":118944320,"longitude_deg":75.4715648,"latitude_deg":11.894432,"altitude":48,"angle":27,"satellites":46,"speed":30,"hex_longitude":"2cfc0c00","hex_latitude":"0716f240","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504546816001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385889810679595008,"note":"Value kept but may cause issues"} 
[2026-08-19 13:44:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-285767439656069120,"note":"Value kept but may cause issues"} 
[2026-08-19 13:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787127138000,"timestamp_ms":1787127138000,"timestamp_seconds":1787127138,"priority":1,"record_length":96,"hex_timestamp":"000001a0191406d0"} 
[2026-08-19 13:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13: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-08-19 13: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":217,"data_length":795,"current_offset":136} 
[2026-08-19 13:44: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-08-19 13: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-08-19 13:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504546816001,"66":27571,"87":206,"2":54528,"24":30,"16":385889810679595008,"44":-285767439656069120},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 13:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504546816001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:44:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 13:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385889810679595008,"km_value":385889810679595.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:44:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-285767439656069120,"description":"Unknown IO ID 44"} 
[2026-08-19 13:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504546816001,"power":27571,"unknown_87":206,"power_alt":54528,"ignition":30,"odometer":null,"unknown_44":-285767439656069120}} 
[2026-08-19 13:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":158824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:44:18] local.INFO: GPS data processed {"connection_id":158824,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:44:18] local.INFO: Acknowledgment sent {"connection_id":158824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:44:47] local.INFO: TCP Data received {"connection_id":157582,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019136a90012d181dc00721ad88004e00cf29..."} 
[2026-08-19 13:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019136a90012d181dc00721ad88004e00cf29..."} 
[2026-08-19 13:44:47] local.INFO: Processing buffer {"connection_id":157582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019136a90012d181dc00721ad88004e00cf29..."} 
[2026-08-19 13:44:47] local.INFO: Packet analysis {"connection_id":157582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01913"} 
[2026-08-19 13:44:47] local.INFO: Extracted packet for processing {"connection_id":157582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01913"} 
[2026-08-19 13:44:47] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647624,"longitude_deg":75.65552,"latitude_deg":11.9647624,"altitude":78,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504531712001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724864347111424,"note":"Value kept but may cause issues"} 
[2026-08-19 13:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794981376,"note":"Value kept but may cause issues"} 
[2026-08-19 13:44:47] 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-08-19 13:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787127098000,"timestamp_ms":1787127098000,"timestamp_seconds":1787127098,"priority":1,"record_length":96,"hex_timestamp":"000001a019136a90"} 
[2026-08-19 13:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 13:44:47] 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-08-19 13: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-08-19 13:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504531712001,"66":12765,"120":206,"28":31744,"24":0,"16":13724864347111424,"45":1738389486794981376},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504531712001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:44:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:44:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724864347111424,"km_value":13724864347111.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794981376,"description":"Unknown IO ID 45"} 
[2026-08-19 13:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504531712001,"power":12765,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794981376}} 
[2026-08-19 13:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":157582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:44:47] local.INFO: GPS data processed {"connection_id":157582,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:44:47] local.INFO: Acknowledgment sent {"connection_id":157582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:44:59] local.INFO: TCP Data received {"connection_id":158825,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:44:59] local.INFO: Processing buffer {"connection_id":158825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:44:59] local.INFO: IMEI packet received {"connection_id":158825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":158825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:45:02] local.INFO: TCP Data received {"connection_id":158825,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:45:02] local.INFO: Processing buffer {"connection_id":158825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:45:02] local.INFO: IMEI packet received {"connection_id":158825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":158825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:45:04] local.INFO: TCP Data received {"connection_id":158825,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0191552d8012cfd18800717b960002e002a2e..."} 
[2026-08-19 13:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0191552d8012cfd18800717b960002e002a2e..."} 
[2026-08-19 13:45:04] local.INFO: Processing buffer {"connection_id":158825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0191552d8012cfd18800717b960002e002a2e..."} 
[2026-08-19 13:45:04] local.INFO: Packet analysis {"connection_id":158825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01915"} 
[2026-08-19 13:45:04] local.INFO: Extracted packet for processing {"connection_id":158825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01915"} 
[2026-08-19 13:45:04] local.INFO: GPS Element Parsed {"raw_longitude":754784384,"raw_latitude":118995296,"longitude_deg":75.4784384,"latitude_deg":11.8995296,"altitude":46,"angle":42,"satellites":46,"speed":49,"hex_longitude":"2cfd1880","hex_latitude":"0717b960","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504567040001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385894131416694784,"note":"Value kept but may cause issues"} 
[2026-08-19 13:45:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-215820907931949056,"note":"Value kept but may cause issues"} 
[2026-08-19 13:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787127223000,"timestamp_ms":1787127223000,"timestamp_seconds":1787127223,"priority":1,"record_length":96,"hex_timestamp":"000001a0191552d8"} 
[2026-08-19 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-08-19 13:45: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-08-19 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 13:45:04] 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-08-19 13: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-08-19 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-08-19 13:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504567040001,"66":27995,"239":206,"2":54528,"24":49,"16":385894131416694784,"44":-215820907931949056},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 13:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504567040001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:45:04] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 13:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385894131416694784,"km_value":385894131416694.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:45:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-215820907931949056,"description":"Unknown IO ID 44"} 
[2026-08-19 13:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504567040001,"power":27995,"unknown_239":206,"power_alt":54528,"ignition":49,"odometer":null,"unknown_44":-215820907931949056}} 
[2026-08-19 13:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":158825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:45:04] local.INFO: GPS data processed {"connection_id":158825,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:45:04] local.INFO: Acknowledgment sent {"connection_id":158825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:45:05] local.INFO: TCP Data received {"connection_id":158825,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019157218012cfd32800717d510002c00232d..."} 
[2026-08-19 13:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019157218012cfd32800717d510002c00232d..."} 
[2026-08-19 13:45:05] local.INFO: Processing buffer {"connection_id":158825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019157218012cfd32800717d510002c00232d..."} 
[2026-08-19 13:45:05] local.INFO: Packet analysis {"connection_id":158825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01915"} 
[2026-08-19 13:45:05] local.INFO: Extracted packet for processing {"connection_id":158825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01915"} 
[2026-08-19 13:45:05] local.INFO: GPS Element Parsed {"raw_longitude":754791040,"raw_latitude":119002384,"longitude_deg":75.479104,"latitude_deg":11.9002384,"altitude":44,"angle":35,"satellites":45,"speed":48,"hex_longitude":"2cfd3280","hex_latitude":"0717d510","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504569088001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385894595273162752,"note":"Value kept but may cause issues"} 
[2026-08-19 13:45:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-209276614721576960,"note":"Value kept but may cause issues"} 
[2026-08-19 13:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787127231000,"timestamp_ms":1787127231000,"timestamp_seconds":1787127231,"priority":1,"record_length":96,"hex_timestamp":"000001a019157218"} 
[2026-08-19 13:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 13:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504569088001,"66":27930,"246":206,"28":26368,"24":48,"16":385894595273162752,"44":-209276614721576960},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,44]} 
[2026-08-19 13:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504569088001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-19 13:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385894595273162752,"km_value":385894595273162.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:45:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-209276614721576960,"description":"Unknown IO ID 44"} 
[2026-08-19 13:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504569088001,"power":27930,"main_input_voltage":206,"unknown_28":26368,"ignition":48,"odometer":null,"unknown_44":-209276614721576960}} 
[2026-08-19 13:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":158825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:45:06] local.INFO: GPS data processed {"connection_id":158825,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:45:06] local.INFO: Acknowledgment sent {"connection_id":158825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:45:08] local.INFO: TCP Data received {"connection_id":158826,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:45:08] local.INFO: Processing buffer {"connection_id":158826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:45:08] local.INFO: IMEI packet received {"connection_id":158826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":158826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:45:14] local.INFO: TCP Data received {"connection_id":158826,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:45:14] local.INFO: Processing buffer {"connection_id":158826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:45:14] local.INFO: IMEI packet received {"connection_id":158826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":158826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:45:15] local.INFO: TCP Data received {"connection_id":158826,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01913bc98012d181dc00721ad88004e00cf28..."} 
[2026-08-19 13:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01913bc98012d181dc00721ad88004e00cf28..."} 
[2026-08-19 13:45:15] local.INFO: Processing buffer {"connection_id":158826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01913bc98012d181dc00721ad88004e00cf28..."} 
[2026-08-19 13:45:15] local.INFO: Packet analysis {"connection_id":158826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01913"} 
[2026-08-19 13:45:15] local.INFO: Extracted packet for processing {"connection_id":158826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01913"} 
[2026-08-19 13:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647624,"longitude_deg":75.65552,"latitude_deg":11.9647624,"altitude":78,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 13:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504537088001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724864347111424,"note":"Value kept but may cause issues"} 
[2026-08-19 13:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097204224,"note":"Value kept but may cause issues"} 
[2026-08-19 13:45: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-08-19 13:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787127119000,"timestamp_ms":1787127119000,"timestamp_seconds":1787127119,"priority":1,"record_length":96,"hex_timestamp":"000001a01913bc98"} 
[2026-08-19 13:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:45: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-08-19 13:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-19 13:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504537088001,"66":12776,"120":206,"28":31744,"24":0,"16":13724864347111424,"45":1737756168097204224},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504537088001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:45:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:45:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724864347111424,"km_value":13724864347111.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097204224,"description":"Unknown IO ID 45"} 
[2026-08-19 13:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504537088001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097204224}} 
[2026-08-19 13:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":158826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:45:15] local.INFO: GPS data processed {"connection_id":158826,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:45:15] local.INFO: Acknowledgment sent {"connection_id":158826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:45:37] local.INFO: TCP Data received {"connection_id":158825,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019159158012cfd4b800717f170002c002e30..."} 
[2026-08-19 13:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019159158012cfd4b800717f170002c002e30..."} 
[2026-08-19 13:45:37] local.INFO: Processing buffer {"connection_id":158825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019159158012cfd4b800717f170002c002e30..."} 
[2026-08-19 13:45:37] local.INFO: Packet analysis {"connection_id":158825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01915"} 
[2026-08-19 13:45:37] local.INFO: Extracted packet for processing {"connection_id":158825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01915"} 
[2026-08-19 13:45:37] local.INFO: GPS Element Parsed {"raw_longitude":754797440,"raw_latitude":119009648,"longitude_deg":75.479744,"latitude_deg":11.9009648,"altitude":44,"angle":46,"satellites":48,"speed":46,"hex_longitude":"2cfd4b80","hex_latitude":"0717f170","is_valid_coordinates":true} 
[2026-08-19 13:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504571136001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385895063424598016,"note":"Value kept but may cause issues"} 
[2026-08-19 13:45:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-201958265325285376,"note":"Value kept but may cause issues"} 
[2026-08-19 13:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787127239000,"timestamp_ms":1787127239000,"timestamp_seconds":1787127239,"priority":1,"record_length":96,"hex_timestamp":"000001a019159158"} 
[2026-08-19 13:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:45: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-08-19 13:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 13:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504571136001,"66":27767,"246":206,"28":26368,"24":46,"16":385895063424598016,"44":-201958265325285376},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,44]} 
[2026-08-19 13:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504571136001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:45:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-19 13:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385895063424598016,"km_value":385895063424598.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:45:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-201958265325285376,"description":"Unknown IO ID 44"} 
[2026-08-19 13:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504571136001,"power":27767,"main_input_voltage":206,"unknown_28":26368,"ignition":46,"odometer":null,"unknown_44":-201958265325285376}} 
[2026-08-19 13:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":158825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:45:37] local.INFO: GPS data processed {"connection_id":158825,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:45:37] local.INFO: Acknowledgment sent {"connection_id":158825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:45:46] local.INFO: TCP Data received {"connection_id":158826,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0191673e8012d181e000721a970004f00862d..."} 
[2026-08-19 13:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0191673e8012d181e000721a970004f00862d..."} 
[2026-08-19 13:45:46] local.INFO: Processing buffer {"connection_id":158826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0191673e8012d181e000721a970004f00862d..."} 
[2026-08-19 13:45:46] local.INFO: Packet analysis {"connection_id":158826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01916"} 
[2026-08-19 13:45:46] local.INFO: Extracted packet for processing {"connection_id":158826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01916"} 
[2026-08-19 13:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646576,"longitude_deg":75.6555264,"latitude_deg":11.9646576,"altitude":79,"angle":134,"satellites":45,"speed":7,"hex_longitude":"2d181e00","hex_latitude":"0721a970","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504584960001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724924476653568,"note":"Value kept but may cause issues"} 
[2026-08-19 13:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864507392,"note":"Value kept but may cause issues"} 
[2026-08-19 13:45:46] 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-08-19 13:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787127297000,"timestamp_ms":1787127297000,"timestamp_seconds":1787127297,"priority":1,"record_length":96,"hex_timestamp":"000001a0191673e8"} 
[2026-08-19 13:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:45: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-08-19 13: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-19 13:45:46] 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-08-19 13: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-08-19 13:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504584960001,"66":13678,"120":206,"28":31744,"24":7,"16":13724924476653568,"45":1737545061864507392},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504584960001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:45:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:45:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724924476653568,"km_value":13724924476653.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864507392,"description":"Unknown IO ID 45"} 
[2026-08-19 13:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504584960001,"power":13678,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1737545061864507392}} 
[2026-08-19 13:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":158826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:45:46] local.INFO: GPS data processed {"connection_id":158826,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:45:46] local.INFO: Acknowledgment sent {"connection_id":158826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:45:59] local.INFO: TCP Data received {"connection_id":157961,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:45:59] local.INFO: Processing buffer {"connection_id":157961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:45:59] local.INFO: IMEI packet received {"connection_id":157961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":157961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:46:05] local.INFO: TCP Data received {"connection_id":157961,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:46:05] local.INFO: Processing buffer {"connection_id":157961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:46:05] local.INFO: IMEI packet received {"connection_id":157961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":157961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:46:06] local.INFO: TCP Data received {"connection_id":157961,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01915b098012cfd6480071809e0002c002d30..."} 
[2026-08-19 13:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01915b098012cfd6480071809e0002c002d30..."} 
[2026-08-19 13:46:06] local.INFO: Processing buffer {"connection_id":157961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01915b098012cfd6480071809e0002c002d30..."} 
[2026-08-19 13:46:06] local.INFO: Packet analysis {"connection_id":157961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01915"} 
[2026-08-19 13:46:06] local.INFO: Extracted packet for processing {"connection_id":157961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01915"} 
[2026-08-19 13:46:06] local.INFO: GPS Element Parsed {"raw_longitude":754803840,"raw_latitude":119015904,"longitude_deg":75.480384,"latitude_deg":11.9015904,"altitude":44,"angle":45,"satellites":48,"speed":44,"hex_longitude":"2cfd6480","hex_latitude":"071809e0","is_valid_coordinates":true} 
[2026-08-19 13:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504573184001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385895492921327616,"note":"Value kept but may cause issues"} 
[2026-08-19 13:46:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-194921390905659392,"note":"Value kept but may cause issues"} 
[2026-08-19 13:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787127247000,"timestamp_ms":1787127247000,"timestamp_seconds":1787127247,"priority":1,"record_length":96,"hex_timestamp":"000001a01915b098"} 
[2026-08-19 13:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 13:46:06] 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-08-19 13:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504573184001,"66":27919,"246":206,"28":26368,"24":44,"16":385895492921327616,"44":-194921390905659392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,44]} 
[2026-08-19 13:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504573184001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:46:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-19 13:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385895492921327616,"km_value":385895492921327.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:46:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-194921390905659392,"description":"Unknown IO ID 44"} 
[2026-08-19 13:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504573184001,"power":27919,"main_input_voltage":206,"unknown_28":26368,"ignition":44,"odometer":null,"unknown_44":-194921390905659392}} 
[2026-08-19 13:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":157961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:46:06] local.INFO: GPS data processed {"connection_id":157961,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:46:06] local.INFO: Acknowledgment sent {"connection_id":157961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:46:14] local.INFO: TCP Data received {"connection_id":158827,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:46:14] local.INFO: Processing buffer {"connection_id":158827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:46:14] local.INFO: IMEI packet received {"connection_id":158827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":158827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:46:19] local.INFO: TCP Data received {"connection_id":158827,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:46:19] local.INFO: Processing buffer {"connection_id":158827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:46:19] local.INFO: IMEI packet received {"connection_id":158827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":158827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:46:20] local.INFO: TCP Data received {"connection_id":158827,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019168770012d1820c00721a6d00050007b2b..."} 
[2026-08-19 13:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019168770012d1820c00721a6d00050007b2b..."} 
[2026-08-19 13:46:20] local.INFO: Processing buffer {"connection_id":158827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019168770012d1820c00721a6d00050007b2b..."} 
[2026-08-19 13:46:20] local.INFO: Packet analysis {"connection_id":158827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01916"} 
[2026-08-19 13:46:20] local.INFO: Extracted packet for processing {"connection_id":158827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01916"} 
[2026-08-19 13:46:20] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119645904,"longitude_deg":75.6555968,"latitude_deg":11.9645904,"altitude":80,"angle":123,"satellites":43,"speed":8,"hex_longitude":"2d1820c0","hex_latitude":"0721a6d0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504588032001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13724971721293824,"note":"Value kept but may cause issues"} 
[2026-08-19 13:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841113600,"note":"Value kept but may cause issues"} 
[2026-08-19 13:46:20] 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-08-19 13:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787127302000,"timestamp_ms":1787127302000,"timestamp_seconds":1787127302,"priority":1,"record_length":96,"hex_timestamp":"000001a019168770"} 
[2026-08-19 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-08-19 13:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-19 13:46:20] 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-08-19 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-08-19 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-08-19 13:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504588032001,"66":14026,"120":206,"28":31744,"24":8,"16":13724971721293824,"45":1737826536841113600},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504588032001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:46:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:46:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13724971721293824,"km_value":13724971721293.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841113600,"description":"Unknown IO ID 45"} 
[2026-08-19 13:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504588032001,"power":14026,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737826536841113600}} 
[2026-08-19 13:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":158827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:46:20] local.INFO: GPS data processed {"connection_id":158827,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:46:20] local.INFO: Acknowledgment sent {"connection_id":158827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:46:24] local.INFO: TCP Data received {"connection_id":158827,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019169710012d1824800721a3a0005100872b..."} 
[2026-08-19 13:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019169710012d1824800721a3a0005100872b..."} 
[2026-08-19 13:46:24] local.INFO: Processing buffer {"connection_id":158827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019169710012d1824800721a3a0005100872b..."} 
[2026-08-19 13:46:24] local.INFO: Packet analysis {"connection_id":158827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01916"} 
[2026-08-19 13:46:24] local.INFO: Extracted packet for processing {"connection_id":158827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01916"} 
[2026-08-19 13:46:24] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119645088,"longitude_deg":75.6556928,"latitude_deg":11.9645088,"altitude":81,"angle":135,"satellites":43,"speed":15,"hex_longitude":"2d182480","hex_latitude":"0721a3a0","is_valid_coordinates":true} 
[2026-08-19 13:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504589312001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13725031850835968,"note":"Value kept but may cause issues"} 
[2026-08-19 13:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593026895872,"note":"Value kept but may cause issues"} 
[2026-08-19 13:46:24] 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-08-19 13:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787127306000,"timestamp_ms":1787127306000,"timestamp_seconds":1787127306,"priority":1,"record_length":96,"hex_timestamp":"000001a019169710"} 
[2026-08-19 13:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:46:24] 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-08-19 13:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-19 13:46:24] 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-08-19 13:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504589312001,"66":13961,"120":206,"28":31744,"24":15,"16":13725031850835968,"45":1738600593026895872},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504589312001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:46:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:46:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13725031850835968,"km_value":13725031850835.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593026895872,"description":"Unknown IO ID 45"} 
[2026-08-19 13:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504589312001,"power":13961,"unknown_120":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1738600593026895872}} 
[2026-08-19 13:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":158827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:46:24] local.INFO: GPS data processed {"connection_id":158827,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:46:24] local.INFO: Acknowledgment sent {"connection_id":158827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:46:38] local.INFO: TCP Data received {"connection_id":157961,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019174ac0012cfe0f4007186e680025012131..."} 
[2026-08-19 13:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019174ac0012cfe0f4007186e680025012131..."} 
[2026-08-19 13:46:38] local.INFO: Processing buffer {"connection_id":157961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019174ac0012cfe0f4007186e680025012131..."} 
[2026-08-19 13:46:38] local.INFO: Packet analysis {"connection_id":157961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01917"} 
[2026-08-19 13:46:38] local.INFO: Extracted packet for processing {"connection_id":157961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01917"} 
[2026-08-19 13:46:38] local.INFO: GPS Element Parsed {"raw_longitude":754847552,"raw_latitude":119041640,"longitude_deg":75.4847552,"latitude_deg":11.904164,"altitude":37,"angle":289,"satellites":49,"speed":10,"hex_longitude":"2cfe0f40","hex_latitude":"07186e68","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504601856001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385898181570854912,"note":"Value kept but may cause issues"} 
[2026-08-19 13:46:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-139541189229676544,"note":"Value kept but may cause issues"} 
[2026-08-19 13:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787127352000,"timestamp_ms":1787127352000,"timestamp_seconds":1787127352,"priority":1,"record_length":96,"hex_timestamp":"000001a019174ac0"} 
[2026-08-19 13:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 13:46:38] 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-08-19 13: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-08-19 13:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504601856001,"66":27974,"246":206,"28":26368,"24":10,"16":385898181570854912,"44":-139541189229676544},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,44]} 
[2026-08-19 13:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504601856001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:46:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-19 13:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385898181570854912,"km_value":385898181570854.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:46:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-139541189229676544,"description":"Unknown IO ID 44"} 
[2026-08-19 13:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504601856001,"power":27974,"main_input_voltage":206,"unknown_28":26368,"ignition":10,"odometer":null,"unknown_44":-139541189229676544}} 
[2026-08-19 13:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":157961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:46:38] local.INFO: GPS data processed {"connection_id":157961,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:46:38] local.INFO: Acknowledgment sent {"connection_id":157961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:46:57] local.INFO: TCP Data received {"connection_id":157583,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:46:57] local.INFO: Processing buffer {"connection_id":157583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:46:57] local.INFO: IMEI packet received {"connection_id":157583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":157583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:46:59] local.INFO: TCP Data received {"connection_id":157583,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:46:59] local.INFO: Processing buffer {"connection_id":157583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:46:59] local.INFO: IMEI packet received {"connection_id":157583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":157583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:47:04] local.INFO: TCP Data received {"connection_id":157583,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:47:04] local.INFO: Processing buffer {"connection_id":157583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:47:04] local.INFO: IMEI packet received {"connection_id":157583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":157583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:47:06] local.INFO: TCP Data received {"connection_id":157583,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019174ea8012cfe0e0007186eb80025011430..."} 
[2026-08-19 13:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019174ea8012cfe0e0007186eb80025011430..."} 
[2026-08-19 13:47:06] local.INFO: Processing buffer {"connection_id":157583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019174ea8012cfe0e0007186eb80025011430..."} 
[2026-08-19 13:47:06] local.INFO: Packet analysis {"connection_id":157583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01917"} 
[2026-08-19 13:47:06] local.INFO: Extracted packet for processing {"connection_id":157583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01917"} 
[2026-08-19 13:47:06] local.INFO: GPS Element Parsed {"raw_longitude":754847232,"raw_latitude":119041720,"longitude_deg":75.4847232,"latitude_deg":11.904172,"altitude":37,"angle":276,"satellites":48,"speed":12,"hex_longitude":"2cfe0e00","hex_latitude":"07186eb8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504602112001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385898198750724096,"note":"Value kept but may cause issues"} 
[2026-08-19 13:47:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-139822664206358528,"note":"Value kept but may cause issues"} 
[2026-08-19 13:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787127353000,"timestamp_ms":1787127353000,"timestamp_seconds":1787127353,"priority":1,"record_length":96,"hex_timestamp":"000001a019174ea8"} 
[2026-08-19 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-08-19 13:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 13:47:06] 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-08-19 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-08-19 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-08-19 13:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504602112001,"66":27974,"246":206,"28":26368,"24":12,"16":385898198750724096,"44":-139822664206358528},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,44]} 
[2026-08-19 13:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504602112001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:47:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-19 13:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385898198750724096,"km_value":385898198750724.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:47:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-139822664206358528,"description":"Unknown IO ID 44"} 
[2026-08-19 13:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504602112001,"power":27974,"main_input_voltage":206,"unknown_28":26368,"ignition":12,"odometer":null,"unknown_44":-139822664206358528}} 
[2026-08-19 13:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":157583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:47:06] local.INFO: GPS data processed {"connection_id":157583,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:47:06] local.INFO: Acknowledgment sent {"connection_id":157583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:47:08] local.INFO: TCP Data received {"connection_id":158828,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:47:08] local.INFO: Processing buffer {"connection_id":158828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:47:08] local.INFO: IMEI packet received {"connection_id":158828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":158828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:47:08] local.INFO: TCP Data received {"connection_id":158828,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:47:08] local.INFO: Processing buffer {"connection_id":158828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:47:08] local.INFO: IMEI packet received {"connection_id":158828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":158828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:47:13] local.INFO: TCP Data received {"connection_id":158828,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:47:13] local.INFO: Processing buffer {"connection_id":158828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:47:13] local.INFO: IMEI packet received {"connection_id":158828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":158828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:47:14] local.INFO: TCP Data received {"connection_id":158828,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01916e918012d1829c007219e180053007e29..."} 
[2026-08-19 13:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01916e918012d1829c007219e180053007e29..."} 
[2026-08-19 13:47:14] local.INFO: Processing buffer {"connection_id":158828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01916e918012d1829c007219e180053007e29..."} 
[2026-08-19 13:47:14] local.INFO: Packet analysis {"connection_id":158828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01916"} 
[2026-08-19 13:47:14] local.INFO: Extracted packet for processing {"connection_id":158828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01916"} 
[2026-08-19 13:47:14] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643672,"longitude_deg":75.6558272,"latitude_deg":11.9643672,"altitude":83,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219e18","is_valid_coordinates":true} 
[2026-08-19 13:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504590336001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13725130635083776,"note":"Value kept but may cause issues"} 
[2026-08-19 13:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124189351936,"note":"Value kept but may cause issues"} 
[2026-08-19 13:47:14] 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-08-19 13:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787127327000,"timestamp_ms":1787127327000,"timestamp_seconds":1787127327,"priority":1,"record_length":96,"hex_timestamp":"000001a01916e918"} 
[2026-08-19 13:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:47: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-08-19 13:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-19 13:47:14] 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-08-19 13:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504590336001,"66":13863,"120":206,"28":31744,"24":0,"16":13725130635083776,"45":1739656124189351936},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504590336001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:47:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:47:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13725130635083776,"km_value":13725130635083.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124189351936,"description":"Unknown IO ID 45"} 
[2026-08-19 13:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504590336001,"power":13863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124189351936}} 
[2026-08-19 13:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":158828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:47:14] local.INFO: GPS data processed {"connection_id":158828,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:47:14] local.INFO: Acknowledgment sent {"connection_id":158828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:47:38] local.INFO: TCP Data received {"connection_id":157583,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019175290012cfe0c8007186eb80025010631..."} 
[2026-08-19 13:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019175290012cfe0c8007186eb80025010631..."} 
[2026-08-19 13:47:38] local.INFO: Processing buffer {"connection_id":157583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019175290012cfe0c8007186eb80025010631..."} 
[2026-08-19 13:47:38] local.INFO: Packet analysis {"connection_id":157583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01917"} 
[2026-08-19 13:47:38] local.INFO: Extracted packet for processing {"connection_id":157583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01917"} 
[2026-08-19 13:47:38] local.INFO: GPS Element Parsed {"raw_longitude":754846848,"raw_latitude":119041720,"longitude_deg":75.4846848,"latitude_deg":11.904172,"altitude":37,"angle":262,"satellites":49,"speed":14,"hex_longitude":"2cfe0c80","hex_latitude":"07186eb8","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504602368001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385898215930593280,"note":"Value kept but may cause issues"} 
[2026-08-19 13:47:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-140174507927226368,"note":"Value kept but may cause issues"} 
[2026-08-19 13:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787127354000,"timestamp_ms":1787127354000,"timestamp_seconds":1787127354,"priority":1,"record_length":96,"hex_timestamp":"000001a019175290"} 
[2026-08-19 13:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:47: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-08-19 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 13:47:38] 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-08-19 13: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-08-19 13:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504602368001,"66":27821,"246":206,"28":26368,"24":14,"16":385898215930593280,"44":-140174507927226368},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,44]} 
[2026-08-19 13:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504602368001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:47:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-19 13:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385898215930593280,"km_value":385898215930593.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:47:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-140174507927226368,"description":"Unknown IO ID 44"} 
[2026-08-19 13:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504602368001,"power":27821,"main_input_voltage":206,"unknown_28":26368,"ignition":14,"odometer":null,"unknown_44":-140174507927226368}} 
[2026-08-19 13:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":157583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:47:38] local.INFO: GPS data processed {"connection_id":157583,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:47:38] local.INFO: Acknowledgment sent {"connection_id":157583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:47:45] local.INFO: TCP Data received {"connection_id":158828,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019173b20012d1829c007219e180053007e27..."} 
[2026-08-19 13:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019173b20012d1829c007219e180053007e27..."} 
[2026-08-19 13:47:45] local.INFO: Processing buffer {"connection_id":158828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019173b20012d1829c007219e180053007e27..."} 
[2026-08-19 13:47:45] local.INFO: Packet analysis {"connection_id":158828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01917"} 
[2026-08-19 13:47:45] local.INFO: Extracted packet for processing {"connection_id":158828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01917"} 
[2026-08-19 13:47:45] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643672,"longitude_deg":75.6558272,"latitude_deg":11.9643672,"altitude":83,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219e18","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504595712001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13725130635083776,"note":"Value kept but may cause issues"} 
[2026-08-19 13:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816720384,"note":"Value kept but may cause issues"} 
[2026-08-19 13:47:45] 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-08-19 13:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787127348000,"timestamp_ms":1787127348000,"timestamp_seconds":1787127348,"priority":1,"record_length":96,"hex_timestamp":"000001a019173b20"} 
[2026-08-19 13:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:47: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-08-19 13: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-19 13:47:45] 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-08-19 13: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-08-19 13:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504595712001,"66":12841,"120":206,"28":31744,"24":0,"16":13725130635083776,"45":1741133867816720384},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504595712001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:47:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:47:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13725130635083776,"km_value":13725130635083.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816720384,"description":"Unknown IO ID 45"} 
[2026-08-19 13:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504595712001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741133867816720384}} 
[2026-08-19 13:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":158828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:47:45] local.INFO: GPS data processed {"connection_id":158828,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:47:45] local.INFO: Acknowledgment sent {"connection_id":158828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:48:11] local.INFO: TCP Data received {"connection_id":157962,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:48:11] local.INFO: Processing buffer {"connection_id":157962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:48:11] local.INFO: IMEI packet received {"connection_id":157962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":157962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:48:14] local.INFO: TCP Data received {"connection_id":157962,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:48:14] local.INFO: Processing buffer {"connection_id":157962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:48:14] local.INFO: IMEI packet received {"connection_id":157962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":157962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:48:19] local.INFO: TCP Data received {"connection_id":157962,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:48:19] local.INFO: Processing buffer {"connection_id":157962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:48:19] local.INFO: IMEI packet received {"connection_id":157962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":157962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:48:20] local.INFO: TCP Data received {"connection_id":157962,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019178d28012d1829c007219e180053007e28..."} 
[2026-08-19 13:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019178d28012d1829c007219e180053007e28..."} 
[2026-08-19 13:48:20] local.INFO: Processing buffer {"connection_id":157962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019178d28012d1829c007219e180053007e28..."} 
[2026-08-19 13:48:20] local.INFO: Packet analysis {"connection_id":157962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01917"} 
[2026-08-19 13:48:20] local.INFO: Extracted packet for processing {"connection_id":157962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01917"} 
[2026-08-19 13:48:20] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643672,"longitude_deg":75.6558272,"latitude_deg":11.9643672,"altitude":83,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219e18","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504601088001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13725130635083776,"note":"Value kept but may cause issues"} 
[2026-08-19 13:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816720384,"note":"Value kept but may cause issues"} 
[2026-08-19 13:48:20] 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-08-19 13:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787127369000,"timestamp_ms":1787127369000,"timestamp_seconds":1787127369,"priority":1,"record_length":96,"hex_timestamp":"000001a019178d28"} 
[2026-08-19 13:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:48: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-08-19 13: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 13:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504601088001,"66":12722,"120":206,"28":31744,"24":0,"16":13725130635083776,"45":1741133867816720384},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504601088001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:48:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:48:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13725130635083776,"km_value":13725130635083.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816720384,"description":"Unknown IO ID 45"} 
[2026-08-19 13:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504601088001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741133867816720384}} 
[2026-08-19 13:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":157962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:48:20] local.INFO: GPS data processed {"connection_id":157962,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:48:20] local.INFO: Acknowledgment sent {"connection_id":157962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:48:25] local.INFO: TCP Data received {"connection_id":157962,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01917df30012d1829c007219e180053007e27..."} 
[2026-08-19 13:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01917df30012d1829c007219e180053007e27..."} 
[2026-08-19 13:48:25] local.INFO: Processing buffer {"connection_id":157962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01917df30012d1829c007219e180053007e27..."} 
[2026-08-19 13:48:25] local.INFO: Packet analysis {"connection_id":157962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01917"} 
[2026-08-19 13:48:25] local.INFO: Extracted packet for processing {"connection_id":157962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01917"} 
[2026-08-19 13:48:25] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643672,"longitude_deg":75.6558272,"latitude_deg":11.9643672,"altitude":83,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219e18","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504606464001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13725130635083776,"note":"Value kept but may cause issues"} 
[2026-08-19 13:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816720384,"note":"Value kept but may cause issues"} 
[2026-08-19 13:48:25] 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-08-19 13:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787127390000,"timestamp_ms":1787127390000,"timestamp_seconds":1787127390,"priority":1,"record_length":96,"hex_timestamp":"000001a01917df30"} 
[2026-08-19 13:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:48: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-08-19 13: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 13:48:25] 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-08-19 13: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-08-19 13:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":157962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":157962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":157962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504606464001,"66":12515,"120":206,"28":31744,"24":0,"16":13725130635083776,"45":1741133867816720384},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504606464001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:48:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:48:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13725130635083776,"km_value":13725130635083.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816720384,"description":"Unknown IO ID 45"} 
[2026-08-19 13:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504606464001,"power":12515,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741133867816720384}} 
[2026-08-19 13:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":157962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:48:25] local.INFO: GPS data processed {"connection_id":157962,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:48:25] local.INFO: Acknowledgment sent {"connection_id":157962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:48:34] local.INFO: TCP Data received {"connection_id":158829,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:48:34] local.INFO: Processing buffer {"connection_id":158829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:48:34] local.INFO: IMEI packet received {"connection_id":158829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":158829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:48:39] local.INFO: TCP Data received {"connection_id":158829,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:48:39] local.INFO: Processing buffer {"connection_id":158829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:48:39] local.INFO: IMEI packet received {"connection_id":158829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":158829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:49:09] local.INFO: TCP Data received {"connection_id":157584,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:49:09] local.INFO: Processing buffer {"connection_id":157584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:49:09] local.INFO: IMEI packet received {"connection_id":157584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":157584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:49:14] local.INFO: TCP Data received {"connection_id":157584,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:49:14] local.INFO: Processing buffer {"connection_id":157584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:49:14] local.INFO: IMEI packet received {"connection_id":157584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":157584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:49:15] local.INFO: TCP Data received {"connection_id":157584,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019183138012d1829c007219e180053007e28..."} 
[2026-08-19 13:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019183138012d1829c007219e180053007e28..."} 
[2026-08-19 13:49:15] local.INFO: Processing buffer {"connection_id":157584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019183138012d1829c007219e180053007e28..."} 
[2026-08-19 13:49:15] local.INFO: Packet analysis {"connection_id":157584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01918"} 
[2026-08-19 13:49:15] local.INFO: Extracted packet for processing {"connection_id":157584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01918"} 
[2026-08-19 13:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643672,"longitude_deg":75.6558272,"latitude_deg":11.9643672,"altitude":83,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219e18","is_valid_coordinates":true} 
[2026-08-19 13:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504611840001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13725130635083776,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816720384,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49: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-08-19 13:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787127411000,"timestamp_ms":1787127411000,"timestamp_seconds":1787127411,"priority":1,"record_length":96,"hex_timestamp":"000001a019183138"} 
[2026-08-19 13:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:49: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-08-19 13:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-19 13:49:15] 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-08-19 13:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504611840001,"66":12558,"120":206,"28":31744,"24":0,"16":13725130635083776,"45":1741133867816720384},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504611840001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:49:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:49:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13725130635083776,"km_value":13725130635083.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816720384,"description":"Unknown IO ID 45"} 
[2026-08-19 13:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504611840001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741133867816720384}} 
[2026-08-19 13:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":157584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:49:15] local.INFO: GPS data processed {"connection_id":157584,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:49:15] local.INFO: Acknowledgment sent {"connection_id":157584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:49:19] local.INFO: TCP Data received {"connection_id":157963,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:49:19] local.INFO: Processing buffer {"connection_id":157963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:49:19] local.INFO: IMEI packet received {"connection_id":157963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":157963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:49:24] local.INFO: TCP Data received {"connection_id":157963,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:49:24] local.INFO: Processing buffer {"connection_id":157963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:49:24] local.INFO: IMEI packet received {"connection_id":157963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":157963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:49:25] local.INFO: TCP Data received {"connection_id":157963,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019177d88012cfdf54007186c98002700fa2f..."} 
[2026-08-19 13:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019177d88012cfdf54007186c98002700fa2f..."} 
[2026-08-19 13:49:25] local.INFO: Processing buffer {"connection_id":157963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019177d88012cfdf54007186c98002700fa2f..."} 
[2026-08-19 13:49:25] local.INFO: Packet analysis {"connection_id":157963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01917"} 
[2026-08-19 13:49:25] local.INFO: Extracted packet for processing {"connection_id":157963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01917"} 
[2026-08-19 13:49:25] local.INFO: GPS Element Parsed {"raw_longitude":754840896,"raw_latitude":119041176,"longitude_deg":75.4840896,"latitude_deg":11.9041176,"altitude":39,"angle":250,"satellites":47,"speed":25,"hex_longitude":"2cfdf540","hex_latitude":"07186c98","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504602624001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385898499398434816,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-140596720392292352,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787127365000,"timestamp_ms":1787127365000,"timestamp_seconds":1787127365,"priority":1,"record_length":96,"hex_timestamp":"000001a019177d88"} 
[2026-08-19 13:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:49: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-08-19 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 13:49: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-08-19 13: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-08-19 13:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":157963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":157963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":157963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504602624001,"66":27919,"246":206,"28":26368,"24":25,"16":385898499398434816,"44":-140596720392292352},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,44]} 
[2026-08-19 13:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504602624001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:49:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-19 13:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385898499398434816,"km_value":385898499398434.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:49:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-140596720392292352,"description":"Unknown IO ID 44"} 
[2026-08-19 13:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504602624001,"power":27919,"main_input_voltage":206,"unknown_28":26368,"ignition":25,"odometer":null,"unknown_44":-140596720392292352}} 
[2026-08-19 13:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":157963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:49:25] local.INFO: GPS data processed {"connection_id":157963,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:49:25] local.INFO: Acknowledgment sent {"connection_id":157963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:49:34] local.INFO: TCP Data received {"connection_id":157963,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01917b438012cfdd20007186190002900fa30..."} 
[2026-08-19 13:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01917b438012cfdd20007186190002900fa30..."} 
[2026-08-19 13:49:34] local.INFO: Processing buffer {"connection_id":157963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01917b438012cfdd20007186190002900fa30..."} 
[2026-08-19 13:49:34] local.INFO: Packet analysis {"connection_id":157963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01917"} 
[2026-08-19 13:49:34] local.INFO: Extracted packet for processing {"connection_id":157963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01917"} 
[2026-08-19 13:49:34] local.INFO: GPS Element Parsed {"raw_longitude":754831872,"raw_latitude":119038352,"longitude_deg":75.4831872,"latitude_deg":11.9038352,"altitude":41,"angle":250,"satellites":48,"speed":26,"hex_longitude":"2cfdd200","hex_latitude":"07186190","is_valid_coordinates":true} 
[2026-08-19 13:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504605440001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385898954664968192,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-147141013600954368,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787127379000,"timestamp_ms":1787127379000,"timestamp_seconds":1787127379,"priority":1,"record_length":96,"hex_timestamp":"000001a01917b438"} 
[2026-08-19 13:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:49: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-08-19 13:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:49:34] 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-08-19 13:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":157963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":157963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":157963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504605440001,"66":27995,"246":206,"28":26368,"24":26,"16":385898954664968192,"44":-147141013600954368},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,44]} 
[2026-08-19 13:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504605440001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:49:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-19 13:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385898954664968192,"km_value":385898954664968.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:49:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-147141013600954368,"description":"Unknown IO ID 44"} 
[2026-08-19 13:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504605440001,"power":27995,"main_input_voltage":206,"unknown_28":26368,"ignition":26,"odometer":null,"unknown_44":-147141013600954368}} 
[2026-08-19 13:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":157963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:49:34] local.INFO: GPS data processed {"connection_id":157963,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:49:34] local.INFO: Acknowledgment sent {"connection_id":157963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:49:47] local.INFO: TCP Data received {"connection_id":157584,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019188340012d1829c007219e180053007e2a..."} 
[2026-08-19 13:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019188340012d1829c007219e180053007e2a..."} 
[2026-08-19 13:49:47] local.INFO: Processing buffer {"connection_id":157584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019188340012d1829c007219e180053007e2a..."} 
[2026-08-19 13:49:47] local.INFO: Packet analysis {"connection_id":157584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01918"} 
[2026-08-19 13:49:47] local.INFO: Extracted packet for processing {"connection_id":157584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01918"} 
[2026-08-19 13:49:47] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643672,"longitude_deg":75.6558272,"latitude_deg":11.9643672,"altitude":83,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219e18","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504617216001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13725130635083776,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816720384,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:47] 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-08-19 13:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787127432000,"timestamp_ms":1787127432000,"timestamp_seconds":1787127432,"priority":1,"record_length":96,"hex_timestamp":"000001a019188340"} 
[2026-08-19 13:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-19 13:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:47] local.WARNING: Large IO value detected {"io_id":194,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380116616292720,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2652373075,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 13:49:47] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2147951011,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:47] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531303,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:47] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3268935680,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:47] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:47] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:47] local.WARNING: Large IO value detected {"io_id":78,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:47] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253777410,"note":"Value kept but may cause issues"} 
[2026-08-19 13:49:47] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,120,28,24,241,158,16,194,160,223,45,192,83,39,10,66,141,40,59,1,240,41,25,33,4,113,205,151,36,43,239,54,2,48,7,80,8,231,78,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 13:49:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5980919015411810304,"timestamp_seconds":5980919015411810.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 13:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504617216001,"66":11461,"120":206,"28":31744,"24":0,"16":13725130635083776,"45":1741133867816720384},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 13:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504617216001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:49:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 13:49:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13725130635083776,"km_value":13725130635083.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816720384,"description":"Unknown IO ID 45"} 
[2026-08-19 13:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504617216001,"power":11461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741133867816720384}} 
[2026-08-19 13:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":157584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:49:47] local.INFO: GPS data processed {"connection_id":157584,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:49:47] local.INFO: Acknowledgment sent {"connection_id":157584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:49:59] local.INFO: TCP Data received {"connection_id":157964,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:49:59] local.INFO: Processing buffer {"connection_id":157964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:49:59] local.INFO: IMEI packet received {"connection_id":157964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":157964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:50:05] local.INFO: TCP Data received {"connection_id":157964,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:50:05] local.INFO: Processing buffer {"connection_id":157964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:50:05] local.INFO: IMEI packet received {"connection_id":157964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":157964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:50:06] local.INFO: TCP Data received {"connection_id":157964,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01917d760012cfdbb40071857d0002c00ed2e..."} 
[2026-08-19 13:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01917d760012cfdbb40071857d0002c00ed2e..."} 
[2026-08-19 13:50:06] local.INFO: Processing buffer {"connection_id":157964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01917d760012cfdbb40071857d0002c00ed2e..."} 
[2026-08-19 13:50:06] local.INFO: Packet analysis {"connection_id":157964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01917"} 
[2026-08-19 13:50:06] local.INFO: Extracted packet for processing {"connection_id":157964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01917"} 
[2026-08-19 13:50:06] local.INFO: GPS Element Parsed {"raw_longitude":754826048,"raw_latitude":119035856,"longitude_deg":75.4826048,"latitude_deg":11.9035856,"altitude":44,"angle":237,"satellites":46,"speed":26,"hex_longitude":"2cfdbb40","hex_latitude":"071857d0","is_valid_coordinates":true} 
[2026-08-19 13:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504609024001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385899255312678912,"note":"Value kept but may cause issues"} 
[2026-08-19 13:50:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-157063006530727936,"note":"Value kept but may cause issues"} 
[2026-08-19 13:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787127388000,"timestamp_ms":1787127388000,"timestamp_seconds":1787127388,"priority":1,"record_length":96,"hex_timestamp":"000001a01917d760"} 
[2026-08-19 13:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 13:50:06] 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-08-19 13:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504609024001,"66":28050,"246":206,"28":26368,"24":26,"16":385899255312678912,"44":-157063006530727936},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,44]} 
[2026-08-19 13:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504609024001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:50:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-19 13:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385899255312678912,"km_value":385899255312678.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:50:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-157063006530727936,"description":"Unknown IO ID 44"} 
[2026-08-19 13:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504609024001,"power":28050,"main_input_voltage":206,"unknown_28":26368,"ignition":26,"odometer":null,"unknown_44":-157063006530727936}} 
[2026-08-19 13:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":157964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:50:06] local.INFO: GPS data processed {"connection_id":157964,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:50:06] local.INFO: Acknowledgment sent {"connection_id":157964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:50:06] local.INFO: TCP Data received {"connection_id":157965,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:50:06] local.INFO: Processing buffer {"connection_id":157965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:50:06] local.INFO: IMEI packet received {"connection_id":157965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":157965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:50:09] local.INFO: TCP Data received {"connection_id":157965,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:50:09] local.INFO: Processing buffer {"connection_id":157965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:50:09] local.INFO: IMEI packet received {"connection_id":157965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":157965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:50:09] local.INFO: TCP Data received {"connection_id":157965,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:50:09] local.INFO: Processing buffer {"connection_id":157965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:50:09] local.INFO: IMEI packet received {"connection_id":157965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":157965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:50:14] local.INFO: TCP Data received {"connection_id":157965,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:50:14] local.INFO: Processing buffer {"connection_id":157965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:50:14] local.INFO: IMEI packet received {"connection_id":157965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":157965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:50:15] local.INFO: TCP Data received {"connection_id":157965,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0191a5be8012d18ae8007217030004f008627..."} 
[2026-08-19 13:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0191a5be8012d18ae8007217030004f008627..."} 
[2026-08-19 13:50:15] local.INFO: Processing buffer {"connection_id":157965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0191a5be8012d18ae8007217030004f008627..."} 
[2026-08-19 13:50:15] local.INFO: Packet analysis {"connection_id":157965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0191a"} 
[2026-08-19 13:50:15] local.INFO: Extracted packet for processing {"connection_id":157965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0191a"} 
[2026-08-19 13:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756592256,"raw_latitude":119631920,"longitude_deg":75.6592256,"latitude_deg":11.963192,"altitude":79,"angle":134,"satellites":39,"speed":33,"hex_longitude":"2d18ae80","hex_latitude":"07217030","is_valid_coordinates":true} 
[2026-08-19 13:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504653312001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13726870096838656,"note":"Value kept but may cause issues"} 
[2026-08-19 13:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786234368,"note":"Value kept but may cause issues"} 
[2026-08-19 13:50: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-08-19 13:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787127553000,"timestamp_ms":1787127553000,"timestamp_seconds":1787127553,"priority":1,"record_length":96,"hex_timestamp":"000001a0191a5be8"} 
[2026-08-19 13:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 13:50:15] 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-08-19 13:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504653312001,"66":14189,"121":206,"28":31744,"24":33,"16":13726870096838656,"45":1777725614786234368},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504653312001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:50:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:50:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13726870096838656,"km_value":13726870096838.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786234368,"description":"Unknown IO ID 45"} 
[2026-08-19 13:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504653312001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1777725614786234368}} 
[2026-08-19 13:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":157965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:50:15] local.INFO: GPS data processed {"connection_id":157965,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:50:15] local.INFO: Acknowledgment sent {"connection_id":157965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:50:47] local.INFO: TCP Data received {"connection_id":157965,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0191a67a0012d18b4c0072167c8004c009127..."} 
[2026-08-19 13:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0191a67a0012d18b4c0072167c8004c009127..."} 
[2026-08-19 13:50:47] local.INFO: Processing buffer {"connection_id":157965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0191a67a0012d18b4c0072167c8004c009127..."} 
[2026-08-19 13:50:47] local.INFO: Packet analysis {"connection_id":157965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0191a"} 
[2026-08-19 13:50:47] local.INFO: Extracted packet for processing {"connection_id":157965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0191a"} 
[2026-08-19 13:50:47] local.INFO: GPS Element Parsed {"raw_longitude":756593856,"raw_latitude":119629768,"longitude_deg":75.6593856,"latitude_deg":11.9629768,"altitude":76,"angle":145,"satellites":39,"speed":37,"hex_longitude":"2d18b4c0","hex_latitude":"072167c8","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504653568001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13726998945857536,"note":"Value kept but may cause issues"} 
[2026-08-19 13:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778499670972051456,"note":"Value kept but may cause issues"} 
[2026-08-19 13:50: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-08-19 13:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787127556000,"timestamp_ms":1787127556000,"timestamp_seconds":1787127556,"priority":1,"record_length":96,"hex_timestamp":"000001a0191a67a0"} 
[2026-08-19 13:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:50:47] 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-08-19 13: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 13:50:47] 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-08-19 13: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-08-19 13:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504653568001,"66":14233,"121":206,"28":31744,"24":37,"16":13726998945857536,"45":1778499670972051456},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504653568001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:50:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:50:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13726998945857536,"km_value":13726998945857.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778499670972051456,"description":"Unknown IO ID 45"} 
[2026-08-19 13:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504653568001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1778499670972051456}} 
[2026-08-19 13:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":157965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:50:47] local.INFO: GPS data processed {"connection_id":157965,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:50:47] local.INFO: Acknowledgment sent {"connection_id":157965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:50:52] local.INFO: TCP Data received {"connection_id":157964,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019180e10012cfd9d4007184128003000e42b..."} 
[2026-08-19 13:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019180e10012cfd9d4007184128003000e42b..."} 
[2026-08-19 13:50:52] local.INFO: Processing buffer {"connection_id":157964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019180e10012cfd9d4007184128003000e42b..."} 
[2026-08-19 13:50:52] local.INFO: Packet analysis {"connection_id":157964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01918"} 
[2026-08-19 13:50:52] local.INFO: Extracted packet for processing {"connection_id":157964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01918"} 
[2026-08-19 13:50:52] local.INFO: GPS Element Parsed {"raw_longitude":754818368,"raw_latitude":119030056,"longitude_deg":75.4818368,"latitude_deg":11.9030056,"altitude":48,"angle":228,"satellites":43,"speed":30,"hex_longitude":"2cfd9d40","hex_latitude":"07184128","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504611328001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385899714874179584,"note":"Value kept but may cause issues"} 
[2026-08-19 13:50:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-163466562251534336,"note":"Value kept but may cause issues"} 
[2026-08-19 13:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787127402000,"timestamp_ms":1787127402000,"timestamp_seconds":1787127402,"priority":1,"record_length":96,"hex_timestamp":"000001a019180e10"} 
[2026-08-19 13:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:50: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-08-19 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 13:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":157964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":157964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":157964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504611328001,"66":28082,"246":206,"28":26368,"24":30,"16":385899714874179584,"44":-163466562251534336},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,44]} 
[2026-08-19 13:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504611328001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:50:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-19 13:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385899714874179584,"km_value":385899714874179.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:50:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-163466562251534336,"description":"Unknown IO ID 44"} 
[2026-08-19 13:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504611328001,"power":28082,"main_input_voltage":206,"unknown_28":26368,"ignition":30,"odometer":null,"unknown_44":-163466562251534336}} 
[2026-08-19 13:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":157964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:50:52] local.INFO: GPS data processed {"connection_id":157964,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:50:52] local.INFO: Acknowledgment sent {"connection_id":157964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:50:59] local.INFO: TCP Data received {"connection_id":158830,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:50:59] local.INFO: Processing buffer {"connection_id":158830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:50:59] local.INFO: IMEI packet received {"connection_id":158830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":158830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:51:04] local.INFO: TCP Data received {"connection_id":158830,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:51:04] local.INFO: Processing buffer {"connection_id":158830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:51:04] local.INFO: IMEI packet received {"connection_id":158830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":158830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:51:05] local.INFO: TCP Data received {"connection_id":158830,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019185078012cfd834007182750002d00dc2f..."} 
[2026-08-19 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019185078012cfd834007182750002d00dc2f..."} 
[2026-08-19 13:51:05] local.INFO: Processing buffer {"connection_id":158830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019185078012cfd834007182750002d00dc2f..."} 
[2026-08-19 13:51:05] local.INFO: Packet analysis {"connection_id":158830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01918"} 
[2026-08-19 13:51:05] local.INFO: Extracted packet for processing {"connection_id":158830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01918"} 
[2026-08-19 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":754811712,"raw_latitude":119023440,"longitude_deg":75.4811712,"latitude_deg":11.902344,"altitude":45,"angle":220,"satellites":47,"speed":17,"hex_longitude":"2cfd8340","hex_latitude":"07182750","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504614912001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900165845745664,"note":"Value kept but may cause issues"} 
[2026-08-19 13:51:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-171910811554338816,"note":"Value kept but may cause issues"} 
[2026-08-19 13:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787127419000,"timestamp_ms":1787127419000,"timestamp_seconds":1787127419,"priority":1,"record_length":96,"hex_timestamp":"000001a019185078"} 
[2026-08-19 13:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 13:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504614912001,"66":28093,"246":206,"28":26368,"24":17,"16":385900165845745664,"44":-171910811554338816},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,44]} 
[2026-08-19 13:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504614912001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:51:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-19 13:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900165845745664,"km_value":385900165845745.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:51:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-171910811554338816,"description":"Unknown IO ID 44"} 
[2026-08-19 13:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504614912001,"power":28093,"main_input_voltage":206,"unknown_28":26368,"ignition":17,"odometer":null,"unknown_44":-171910811554338816}} 
[2026-08-19 13:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":158830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:51:05] local.INFO: GPS data processed {"connection_id":158830,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:51:05] local.INFO: Acknowledgment sent {"connection_id":158830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:51:08] local.INFO: TCP Data received {"connection_id":157585,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:51:08] local.INFO: Processing buffer {"connection_id":157585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:51:08] local.INFO: IMEI packet received {"connection_id":157585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":157585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:51:09] local.INFO: TCP Data received {"connection_id":157585,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:51:09] local.INFO: Processing buffer {"connection_id":157585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:51:09] local.INFO: IMEI packet received {"connection_id":157585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":157585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:51:18] local.INFO: TCP Data received {"connection_id":157585,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:51:18] local.INFO: Processing buffer {"connection_id":157585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:51:18] local.INFO: IMEI packet received {"connection_id":157585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":157585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:51:21] local.INFO: TCP Data received {"connection_id":157585,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0191b36a8012d18fec00720d0880037007b27..."} 
[2026-08-19 13:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0191b36a8012d18fec00720d0880037007b27..."} 
[2026-08-19 13:51:21] local.INFO: Processing buffer {"connection_id":157585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0191b36a8012d18fec00720d0880037007b27..."} 
[2026-08-19 13:51:21] local.INFO: Packet analysis {"connection_id":157585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0191b"} 
[2026-08-19 13:51:21] local.INFO: Extracted packet for processing {"connection_id":157585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0191b"} 
[2026-08-19 13:51:21] local.INFO: GPS Element Parsed {"raw_longitude":756612800,"raw_latitude":119591048,"longitude_deg":75.66128,"latitude_deg":11.9591048,"altitude":55,"angle":123,"satellites":39,"speed":42,"hex_longitude":"2d18fec0","hex_latitude":"0720d088","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504667392001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13729163609374720,"note":"Value kept but may cause issues"} 
[2026-08-19 13:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799188081750134784,"note":"Value kept but may cause issues"} 
[2026-08-19 13:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787127609000,"timestamp_ms":1787127609000,"timestamp_seconds":1787127609,"priority":1,"record_length":96,"hex_timestamp":"000001a0191b36a8"} 
[2026-08-19 13:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:51: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-08-19 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 13:51: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-08-19 13: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-08-19 13:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":157585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":157585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":157585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504667392001,"66":14265,"121":206,"28":31744,"24":42,"16":13729163609374720,"45":1799188081750134784},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504667392001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:51:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:51:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13729163609374720,"km_value":13729163609374.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799188081750134784,"description":"Unknown IO ID 45"} 
[2026-08-19 13:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504667392001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1799188081750134784}} 
[2026-08-19 13:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":157585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:51:21] local.INFO: GPS data processed {"connection_id":157585,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:51:21] local.INFO: Acknowledgment sent {"connection_id":157585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:51:37] local.INFO: TCP Data received {"connection_id":158830,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019185c30012cfd808007182400002d00cf2e..."} 
[2026-08-19 13:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019185c30012cfd808007182400002d00cf2e..."} 
[2026-08-19 13:51:37] local.INFO: Processing buffer {"connection_id":158830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019185c30012cfd808007182400002d00cf2e..."} 
[2026-08-19 13:51:37] local.INFO: Packet analysis {"connection_id":158830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01918"} 
[2026-08-19 13:51:37] local.INFO: Extracted packet for processing {"connection_id":158830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01918"} 
[2026-08-19 13:51:37] local.INFO: GPS Element Parsed {"raw_longitude":754811008,"raw_latitude":119022592,"longitude_deg":75.4811008,"latitude_deg":11.9022592,"altitude":45,"angle":207,"satellites":46,"speed":10,"hex_longitude":"2cfd8080","hex_latitude":"07182400","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504619264001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900221680320512,"note":"Value kept but may cause issues"} 
[2026-08-19 13:51:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-179229160950509568,"note":"Value kept but may cause issues"} 
[2026-08-19 13:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787127422000,"timestamp_ms":1787127422000,"timestamp_seconds":1787127422,"priority":1,"record_length":96,"hex_timestamp":"000001a019185c30"} 
[2026-08-19 13:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-19 13:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504619264001,"66":27974,"246":206,"28":26368,"24":10,"16":385900221680320512,"44":-179229160950509568},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,44]} 
[2026-08-19 13:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504619264001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:51:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-19 13:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900221680320512,"km_value":385900221680320.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:51:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-179229160950509568,"description":"Unknown IO ID 44"} 
[2026-08-19 13:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504619264001,"power":27974,"main_input_voltage":206,"unknown_28":26368,"ignition":10,"odometer":null,"unknown_44":-179229160950509568}} 
[2026-08-19 13:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":158830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:51:37] local.INFO: GPS data processed {"connection_id":158830,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:51:37] local.INFO: Acknowledgment sent {"connection_id":158830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:51:59] local.INFO: TCP Data received {"connection_id":157586,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:51:59] local.INFO: Processing buffer {"connection_id":157586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:51:59] local.INFO: IMEI packet received {"connection_id":157586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":157586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:52:04] local.INFO: TCP Data received {"connection_id":157586,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:52:04] local.INFO: Processing buffer {"connection_id":157586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:52:04] local.INFO: IMEI packet received {"connection_id":157586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":157586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:52:05] local.INFO: TCP Data received {"connection_id":157586,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019186400012cfd7f4007182260002d00dc2d..."} 
[2026-08-19 13:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019186400012cfd7f4007182260002d00dc2d..."} 
[2026-08-19 13:52:05] local.INFO: Processing buffer {"connection_id":157586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019186400012cfd7f4007182260002d00dc2d..."} 
[2026-08-19 13:52:05] local.INFO: Packet analysis {"connection_id":157586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01918"} 
[2026-08-19 13:52:05] local.INFO: Extracted packet for processing {"connection_id":157586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01918"} 
[2026-08-19 13:52:05] local.INFO: GPS Element Parsed {"raw_longitude":754810688,"raw_latitude":119022176,"longitude_deg":75.4810688,"latitude_deg":11.9022176,"altitude":45,"angle":220,"satellites":45,"speed":8,"hex_longitude":"2cfd7f40","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 13:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504620032001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900243155156992,"note":"Value kept but may cause issues"} 
[2026-08-19 13:52:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-180003217136680960,"note":"Value kept but may cause issues"} 
[2026-08-19 13:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787127424000,"timestamp_ms":1787127424000,"timestamp_seconds":1787127424,"priority":1,"record_length":96,"hex_timestamp":"000001a019186400"} 
[2026-08-19 13:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 13:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504620032001,"66":27919,"246":206,"28":26368,"24":8,"16":385900243155156992,"44":-180003217136680960},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,44]} 
[2026-08-19 13:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504620032001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:52:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-19 13:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900243155156992,"km_value":385900243155157.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:52:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-180003217136680960,"description":"Unknown IO ID 44"} 
[2026-08-19 13:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504620032001,"power":27919,"main_input_voltage":206,"unknown_28":26368,"ignition":8,"odometer":null,"unknown_44":-180003217136680960}} 
[2026-08-19 13:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":157586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:52:05] local.INFO: GPS data processed {"connection_id":157586,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:52:05] local.INFO: Acknowledgment sent {"connection_id":157586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:52:26] local.INFO: TCP Data received {"connection_id":157585,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0191c1168012d19c9800720a488002c004b27..."} 
[2026-08-19 13:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0191c1168012d19c9800720a488002c004b27..."} 
[2026-08-19 13:52:26] local.INFO: Processing buffer {"connection_id":157585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0191c1168012d19c9800720a488002c004b27..."} 
[2026-08-19 13:52:26] local.INFO: Packet analysis {"connection_id":157585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0191c"} 
[2026-08-19 13:52:26] local.INFO: Extracted packet for processing {"connection_id":157585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0191c"} 
[2026-08-19 13:52:26] local.INFO: GPS Element Parsed {"raw_longitude":756664704,"raw_latitude":119579784,"longitude_deg":75.6664704,"latitude_deg":11.9579784,"altitude":44,"angle":75,"satellites":39,"speed":17,"hex_longitude":"2d19c980","hex_latitude":"0720a488","is_valid_coordinates":true} 
[2026-08-19 13:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504681728001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13731787834392576,"note":"Value kept but may cause issues"} 
[2026-08-19 13:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558205145088,"note":"Value kept but may cause issues"} 
[2026-08-19 13:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787127665000,"timestamp_ms":1787127665000,"timestamp_seconds":1787127665,"priority":1,"record_length":96,"hex_timestamp":"000001a0191c1168"} 
[2026-08-19 13:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 13:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504681728001,"66":14428,"121":206,"28":31744,"24":17,"16":13731787834392576,"45":1857101558205145088},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504681728001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:52:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:52:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13731787834392576,"km_value":13731787834392.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558205145088,"description":"Unknown IO ID 45"} 
[2026-08-19 13:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504681728001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1857101558205145088}} 
[2026-08-19 13:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":157585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:52:26] local.INFO: GPS data processed {"connection_id":157585,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:52:26] local.INFO: Acknowledgment sent {"connection_id":157585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:52:37] local.INFO: TCP Data received {"connection_id":157586,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0191867e8012cfd7ec0071821e0002d00e92d..."} 
[2026-08-19 13:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0191867e8012cfd7ec0071821e0002d00e92d..."} 
[2026-08-19 13:52:37] local.INFO: Processing buffer {"connection_id":157586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0191867e8012cfd7ec0071821e0002d00e92d..."} 
[2026-08-19 13:52:37] local.INFO: Packet analysis {"connection_id":157586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01918"} 
[2026-08-19 13:52:37] local.INFO: Extracted packet for processing {"connection_id":157586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01918"} 
[2026-08-19 13:52:37] local.INFO: GPS Element Parsed {"raw_longitude":754810560,"raw_latitude":119022048,"longitude_deg":75.481056,"latitude_deg":11.9022048,"altitude":45,"angle":233,"satellites":45,"speed":7,"hex_longitude":"2cfd7ec0","hex_latitude":"071821e0","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504620544001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900256040058880,"note":"Value kept but may cause issues"} 
[2026-08-19 13:52:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-180355060857675776,"note":"Value kept but may cause issues"} 
[2026-08-19 13:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787127425000,"timestamp_ms":1787127425000,"timestamp_seconds":1787127425,"priority":1,"record_length":96,"hex_timestamp":"000001a0191867e8"} 
[2026-08-19 13:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13: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-08-19 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:52:37] 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-08-19 13: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-08-19 13:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504620544001,"66":27919,"246":206,"28":26368,"24":7,"16":385900256040058880,"44":-180355060857675776},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,44]} 
[2026-08-19 13:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504620544001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:52:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-19 13:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900256040058880,"km_value":385900256040058.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:52:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-180355060857675776,"description":"Unknown IO ID 44"} 
[2026-08-19 13:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504620544001,"power":27919,"main_input_voltage":206,"unknown_28":26368,"ignition":7,"odometer":null,"unknown_44":-180355060857675776}} 
[2026-08-19 13:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":157586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:52:37] local.INFO: GPS data processed {"connection_id":157586,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:52:37] local.INFO: Acknowledgment sent {"connection_id":157586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:52:44] local.INFO: TCP Data received {"connection_id":158831,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:52:44] local.INFO: Processing buffer {"connection_id":158831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:52:44] local.INFO: IMEI packet received {"connection_id":158831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":158831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:52:45] local.INFO: TCP Data received {"connection_id":158831,"ip":"117.224.158.208","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 13:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158831,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 13:52:45] local.INFO: Processing buffer {"connection_id":158831,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 13:52:45] local.INFO: IMEI packet received {"connection_id":158831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":158831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:52:46] local.INFO: TCP Data received {"connection_id":158831,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:52:46] local.INFO: Processing buffer {"connection_id":158831,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 13:52:46] local.INFO: IMEI packet received {"connection_id":158831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":158831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:52:48] local.INFO: TCP Data received {"connection_id":158831,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0191ce070012d1a35800720ea10003d001629..."} 
[2026-08-19 13:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0191ce070012d1a35800720ea10003d001629..."} 
[2026-08-19 13:52:48] local.INFO: Processing buffer {"connection_id":158831,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a019..."} 
[2026-08-19 13:52:48] local.INFO: IMEI packet received {"connection_id":158831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":158831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:52:59] local.INFO: TCP Data received {"connection_id":157587,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:52:59] local.INFO: Processing buffer {"connection_id":157587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:52:59] local.INFO: IMEI packet received {"connection_id":157587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":157587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:53:04] local.INFO: TCP Data received {"connection_id":157587,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:53:04] local.INFO: Processing buffer {"connection_id":157587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:53:04] local.INFO: IMEI packet received {"connection_id":157587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":157587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:53:06] local.INFO: TCP Data received {"connection_id":157587,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01918b608012cfd7c0007182228002d00e930..."} 
[2026-08-19 13:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01918b608012cfd7c0007182228002d00e930..."} 
[2026-08-19 13:53:06] local.INFO: Processing buffer {"connection_id":157587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01918b608012cfd7c0007182228002d00e930..."} 
[2026-08-19 13:53:06] local.INFO: Packet analysis {"connection_id":157587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01918"} 
[2026-08-19 13:53:06] local.INFO: Extracted packet for processing {"connection_id":157587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01918"} 
[2026-08-19 13:53:06] local.INFO: GPS Element Parsed {"raw_longitude":754809856,"raw_latitude":119022120,"longitude_deg":75.4809856,"latitude_deg":11.902212,"altitude":45,"angle":233,"satellites":48,"speed":0,"hex_longitude":"2cfd7c00","hex_latitude":"07182228","is_valid_coordinates":true} 
[2026-08-19 13:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504620800001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-180495798346063872,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787127445000,"timestamp_ms":1787127445000,"timestamp_seconds":1787127445,"priority":1,"record_length":96,"hex_timestamp":"000001a01918b608"} 
[2026-08-19 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-08-19 13:53: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-08-19 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 13:53:06] 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-08-19 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-08-19 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-08-19 13:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504620800001,"66":28006,"246":206,"28":26368,"24":0,"16":385900316169601024,"44":-180495798346063872},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,44]} 
[2026-08-19 13:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504620800001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:53:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-19 13:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:53:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-180495798346063872,"description":"Unknown IO ID 44"} 
[2026-08-19 13:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504620800001,"power":28006,"main_input_voltage":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-180495798346063872}} 
[2026-08-19 13:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":157587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:53:06] local.INFO: GPS data processed {"connection_id":157587,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:53:06] local.INFO: Acknowledgment sent {"connection_id":157587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:53:06] local.INFO: TCP Data received {"connection_id":158831,"ip":"117.224.158.208","data_length":1590,"data_hex":"000000000000030f8e0a000001a0191cf010012d1a3a400720f438003f002129..."} 
[2026-08-19 13:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158831,"packet_length":1590,"packet_hex":"000000000000030f8e0a000001a0191cf010012d1a3a400720f438003f002129..."} 
[2026-08-19 13:53:06] local.INFO: Processing buffer {"connection_id":158831,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a0191ce070012d1a35800720ea10003d001629..."} 
[2026-08-19 13:53:06] local.INFO: Packet analysis {"connection_id":158831,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a0191c"} 
[2026-08-19 13:53:06] local.INFO: Extracted packet for processing {"connection_id":158831,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0191c"} 
[2026-08-19 13:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756692352,"raw_latitude":119597584,"longitude_deg":75.6692352,"latitude_deg":11.9597584,"altitude":61,"angle":22,"satellites":41,"speed":30,"hex_longitude":"2d1a3580","hex_latitude":"0720ea10","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504694272001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13733441396801536,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886445324530788352,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53: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-08-19 13:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787127718000,"timestamp_ms":1787127718000,"timestamp_seconds":1787127718,"priority":1,"record_length":96,"hex_timestamp":"000001a0191ce070"} 
[2026-08-19 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-08-19 13:53:06] 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-08-19 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 13:53: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-08-19 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-08-19 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-08-19 13:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504694272001,"66":14341,"50":206,"28":31744,"24":30,"16":13733441396801536,"45":1886445324530788352},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-08-19 13:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504694272001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:53:06] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-19 13:53:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13733441396801536,"km_value":13733441396801.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886445324530788352,"description":"Unknown IO ID 45"} 
[2026-08-19 13:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504694272001,"power":14341,"unknown_50":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1886445324530788352}} 
[2026-08-19 13:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":158831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:53:06] local.INFO: GPS data processed {"connection_id":158831,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:53:06] local.INFO: Acknowledgment sent {"connection_id":158831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:53:06] local.INFO: Packet analysis {"connection_id":158831,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0191c"} 
[2026-08-19 13:53:06] local.INFO: Extracted packet for processing {"connection_id":158831,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0191c"} 
[2026-08-19 13:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756693568,"raw_latitude":119600184,"longitude_deg":75.6693568,"latitude_deg":11.9600184,"altitude":63,"angle":33,"satellites":41,"speed":23,"hex_longitude":"2d1a3a40","hex_latitude":"0720f438","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504695808001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13733578835755008,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888556386857127936,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53: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-08-19 13:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787127722000,"timestamp_ms":1787127722000,"timestamp_seconds":1787127722,"priority":1,"record_length":96,"hex_timestamp":"000001a0191cf010"} 
[2026-08-19 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-08-19 13:53:06] 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-08-19 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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6980967492,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503809165099008,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:06] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":234881024,"corrected_to":0} 
[2026-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3317694515,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3878813902,"corrected_to":0} 
[2026-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3758173466,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3221692605,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837671,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84752402821357746,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":224,"raw_value":12948223312272128,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:06] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,50,28,24,241,158,16,202,160,201,45,218,59,43,10,66,197,128,216,42,161,1,240,131,25,32,4,113,205,30,122,5,239,55,2,48,7,29,206,224],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":202,"original":234881024,"validated":0},{"io_id":205,"original":3878813902,"validated":0}]} 
[2026-08-19 13:53:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395537601665040384,"timestamp_seconds":4395537601665040.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 13:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504695808001,"66":13048,"50":206,"28":31744,"24":23,"16":13733578835755008,"45":1888556386857127936},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-08-19 13:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504695808001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:53:06] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-19 13:53:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13733578835755008,"km_value":13733578835755.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888556386857127936,"description":"Unknown IO ID 45"} 
[2026-08-19 13:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504695808001,"power":13048,"unknown_50":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1888556386857127936}} 
[2026-08-19 13:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":158831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:53:06] local.INFO: GPS data processed {"connection_id":158831,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:53:06] local.INFO: Acknowledgment sent {"connection_id":158831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:53:06] local.INFO: Packet analysis {"connection_id":158831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0191c"} 
[2026-08-19 13:53:06] local.INFO: Extracted packet for processing {"connection_id":158831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0191c"} 
[2026-08-19 13:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756694400,"raw_latitude":119601440,"longitude_deg":75.66944,"latitude_deg":11.960144,"altitude":63,"angle":6,"satellites":42,"speed":8,"hex_longitude":"2d1a3d80","hex_latitude":"0720f920","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504696832001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13733651850199040,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889893392997169152,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53: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-08-19 13:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787127726000,"timestamp_ms":1787127726000,"timestamp_seconds":1787127726,"priority":1,"record_length":96,"hex_timestamp":"000001a0191cffb0"} 
[2026-08-19 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-08-19 13:53:06] 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-08-19 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 13:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 13:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504696832001,"66":14341,"50":206,"28":31744,"24":8,"16":13733651850199040,"45":1889893392997169152},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-08-19 13:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504696832001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:53:06] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-19 13:53:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13733651850199040,"km_value":13733651850199.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889893392997169152,"description":"Unknown IO ID 45"} 
[2026-08-19 13:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504696832001,"power":14341,"unknown_50":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1889893392997169152}} 
[2026-08-19 13:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":158831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:53:06] local.INFO: GPS data processed {"connection_id":158831,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:53:06] local.INFO: Acknowledgment sent {"connection_id":158831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:53:12] local.INFO: TCP Data received {"connection_id":157966,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:53:12] local.INFO: Processing buffer {"connection_id":157966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:53:12] local.INFO: IMEI packet received {"connection_id":157966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":157966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:53:14] local.INFO: TCP Data received {"connection_id":157966,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:53:14] local.INFO: Processing buffer {"connection_id":157966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:53:14] local.INFO: IMEI packet received {"connection_id":157966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":157966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:53:17] local.INFO: TCP Data received {"connection_id":157966,"ip":"117.224.158.208","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 13:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157966,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 13:53:17] local.INFO: Processing buffer {"connection_id":157966,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 13:53:17] local.INFO: IMEI packet received {"connection_id":157966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":157966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:53:38] local.INFO: TCP Data received {"connection_id":157587,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01918b9f0012cfd7c0007182228002d00e92e..."} 
[2026-08-19 13:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01918b9f0012cfd7c0007182228002d00e92e..."} 
[2026-08-19 13:53:38] local.INFO: Processing buffer {"connection_id":157587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01918b9f0012cfd7c0007182228002d00e92e..."} 
[2026-08-19 13:53:38] local.INFO: Packet analysis {"connection_id":157587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01918"} 
[2026-08-19 13:53:38] local.INFO: Extracted packet for processing {"connection_id":157587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01918"} 
[2026-08-19 13:53:38] local.INFO: GPS Element Parsed {"raw_longitude":754809856,"raw_latitude":119022120,"longitude_deg":75.4809856,"latitude_deg":11.902212,"altitude":45,"angle":233,"satellites":46,"speed":0,"hex_longitude":"2cfd7c00","hex_latitude":"07182228","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504625920001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181269854531999744,"note":"Value kept but may cause issues"} 
[2026-08-19 13:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787127446000,"timestamp_ms":1787127446000,"timestamp_seconds":1787127446,"priority":1,"record_length":96,"hex_timestamp":"000001a01918b9f0"} 
[2026-08-19 13:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 13:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504625920001,"66":28050,"246":206,"28":26368,"24":0,"16":385900316169601024,"44":-181269854531999744},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,28,24,16,44]} 
[2026-08-19 13:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504625920001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:53:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-19 13:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:53:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181269854531999744,"description":"Unknown IO ID 44"} 
[2026-08-19 13:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504625920001,"power":28050,"main_input_voltage":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-181269854531999744}} 
[2026-08-19 13:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":157587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:53:38] local.INFO: GPS data processed {"connection_id":157587,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:53:38] local.INFO: Acknowledgment sent {"connection_id":157587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:54:00] local.INFO: TCP Data received {"connection_id":157967,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:54:00] local.INFO: Processing buffer {"connection_id":157967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:54:00] local.INFO: IMEI packet received {"connection_id":157967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":157967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:54:04] local.INFO: TCP Data received {"connection_id":157967,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:54:04] local.INFO: Processing buffer {"connection_id":157967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:54:04] local.INFO: IMEI packet received {"connection_id":157967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":157967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:54:06] local.INFO: TCP Data received {"connection_id":157967,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:54:06] local.INFO: Processing buffer {"connection_id":157967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:54:06] local.INFO: Packet analysis {"connection_id":157967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0191d"} 
[2026-08-19 13:54:06] local.INFO: Extracted packet for processing {"connection_id":157967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0191d"} 
[2026-08-19 13:54:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504626176001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 13:54:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181269854531999744,"note":"Value kept but may cause issues"} 
[2026-08-19 13:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787127747000,"timestamp_ms":1787127747000,"timestamp_seconds":1787127747,"priority":1,"record_length":96,"hex_timestamp":"000001a0191d51b8"} 
[2026-08-19 13:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 13:54:06] 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-08-19 13: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-08-19 13:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504626176001,"66":26452,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181269854531999744},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 13:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504626176001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:54:06] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 13:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:54:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181269854531999744,"description":"Unknown IO ID 44"} 
[2026-08-19 13:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504626176001,"power":26452,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181269854531999744}} 
[2026-08-19 13:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":157967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:54:06] local.INFO: GPS data processed {"connection_id":157967,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:54:06] local.INFO: Acknowledgment sent {"connection_id":157967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:54:37] local.INFO: TCP Data received {"connection_id":157967,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:54:37] local.INFO: Processing buffer {"connection_id":157967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:54:37] local.INFO: Packet analysis {"connection_id":157967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0191d"} 
[2026-08-19 13:54:37] local.INFO: Extracted packet for processing {"connection_id":157967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0191d"} 
[2026-08-19 13:54:37] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 13:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504626176001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 13:54:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181269854531999744,"note":"Value kept but may cause issues"} 
[2026-08-19 13:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787127747000,"timestamp_ms":1787127747000,"timestamp_seconds":1787127747,"priority":1,"record_length":96,"hex_timestamp":"000001a0191d51b8"} 
[2026-08-19 13:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 13:54:37] 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-08-19 13:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504626176001,"66":26452,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181269854531999744},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 13:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504626176001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:54:37] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 13:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:54:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181269854531999744,"description":"Unknown IO ID 44"} 
[2026-08-19 13:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504626176001,"power":26452,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181269854531999744}} 
[2026-08-19 13:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":157967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:54:37] local.INFO: GPS data processed {"connection_id":157967,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:54:37] local.INFO: Acknowledgment sent {"connection_id":157967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:54:59] local.INFO: TCP Data received {"connection_id":160140,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:54:59] local.INFO: Processing buffer {"connection_id":160140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:54:59] local.INFO: IMEI packet received {"connection_id":160140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":160140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:55:04] local.INFO: TCP Data received {"connection_id":160140,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:55:04] local.INFO: Processing buffer {"connection_id":160140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:55:04] local.INFO: IMEI packet received {"connection_id":160140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":160140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:55:06] local.INFO: TCP Data received {"connection_id":160140,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:55:06] local.INFO: Processing buffer {"connection_id":160140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:55:06] local.INFO: Packet analysis {"connection_id":160140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0191d"} 
[2026-08-19 13:55:06] local.INFO: Extracted packet for processing {"connection_id":160140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0191d"} 
[2026-08-19 13:55:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 13:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504626176001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 13:55:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181269854531999744,"note":"Value kept but may cause issues"} 
[2026-08-19 13:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787127747000,"timestamp_ms":1787127747000,"timestamp_seconds":1787127747,"priority":1,"record_length":96,"hex_timestamp":"000001a0191d51b8"} 
[2026-08-19 13:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 13:55:06] 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-08-19 13:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504626176001,"66":26452,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181269854531999744},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 13:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504626176001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:55:06] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 13:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:55:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181269854531999744,"description":"Unknown IO ID 44"} 
[2026-08-19 13:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504626176001,"power":26452,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181269854531999744}} 
[2026-08-19 13:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":160140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:55:06] local.INFO: GPS data processed {"connection_id":160140,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:55:06] local.INFO: Acknowledgment sent {"connection_id":160140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:55:37] local.INFO: TCP Data received {"connection_id":160140,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:55:37] local.INFO: Processing buffer {"connection_id":160140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:55:37] local.INFO: Packet analysis {"connection_id":160140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0191d"} 
[2026-08-19 13:55:37] local.INFO: Extracted packet for processing {"connection_id":160140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0191d"} 
[2026-08-19 13:55:37] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504626176001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 13:55:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181269854531999744,"note":"Value kept but may cause issues"} 
[2026-08-19 13:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787127747000,"timestamp_ms":1787127747000,"timestamp_seconds":1787127747,"priority":1,"record_length":96,"hex_timestamp":"000001a0191d51b8"} 
[2026-08-19 13:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 13:55:37] 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-08-19 13: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-08-19 13:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504626176001,"66":26452,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181269854531999744},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 13:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504626176001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:55:37] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 13:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:55:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181269854531999744,"description":"Unknown IO ID 44"} 
[2026-08-19 13:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504626176001,"power":26452,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181269854531999744}} 
[2026-08-19 13:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":160140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:55:37] local.INFO: GPS data processed {"connection_id":160140,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:55:37] local.INFO: Acknowledgment sent {"connection_id":160140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:56:09] local.INFO: TCP Data received {"connection_id":158832,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:56:09] local.INFO: Processing buffer {"connection_id":158832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:56:09] local.INFO: IMEI packet received {"connection_id":158832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":158832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:56:14] local.INFO: TCP Data received {"connection_id":158832,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:56:14] local.INFO: Processing buffer {"connection_id":158832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:56:14] local.INFO: IMEI packet received {"connection_id":158832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":158832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:56:16] local.INFO: TCP Data received {"connection_id":158832,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:56:16] local.INFO: Processing buffer {"connection_id":158832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:56:16] local.INFO: Packet analysis {"connection_id":158832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0191d"} 
[2026-08-19 13:56:16] local.INFO: Extracted packet for processing {"connection_id":158832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0191d"} 
[2026-08-19 13:56:16] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504626176001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 13:56:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181269854531999744,"note":"Value kept but may cause issues"} 
[2026-08-19 13:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787127747000,"timestamp_ms":1787127747000,"timestamp_seconds":1787127747,"priority":1,"record_length":96,"hex_timestamp":"000001a0191d51b8"} 
[2026-08-19 13:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 13:56:16] 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-08-19 13: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-08-19 13:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504626176001,"66":26452,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181269854531999744},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 13:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504626176001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:56:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 13:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:56:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181269854531999744,"description":"Unknown IO ID 44"} 
[2026-08-19 13:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504626176001,"power":26452,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181269854531999744}} 
[2026-08-19 13:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":158832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:56:16] local.INFO: GPS data processed {"connection_id":158832,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:56:16] local.INFO: Acknowledgment sent {"connection_id":158832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:56:59] local.INFO: TCP Data received {"connection_id":160141,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:56:59] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:56:59] local.INFO: IMEI packet received {"connection_id":160141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":160141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:57:04] local.INFO: TCP Data received {"connection_id":160141,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:57:04] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:57:04] local.INFO: IMEI packet received {"connection_id":160141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":160141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:57:06] local.INFO: TCP Data received {"connection_id":160141,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:57:06] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:57:06] local.INFO: Packet analysis {"connection_id":160141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0191d"} 
[2026-08-19 13:57:06] local.INFO: Extracted packet for processing {"connection_id":160141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0191d"} 
[2026-08-19 13:57:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 13:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504626176001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 13:57:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181269854531999744,"note":"Value kept but may cause issues"} 
[2026-08-19 13:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787127747000,"timestamp_ms":1787127747000,"timestamp_seconds":1787127747,"priority":1,"record_length":96,"hex_timestamp":"000001a0191d51b8"} 
[2026-08-19 13:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 13:57:06] 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-08-19 13:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504626176001,"66":26452,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181269854531999744},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 13:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504626176001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:57:06] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 13:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:57:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181269854531999744,"description":"Unknown IO ID 44"} 
[2026-08-19 13:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504626176001,"power":26452,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181269854531999744}} 
[2026-08-19 13:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":160141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:57:06] local.INFO: GPS data processed {"connection_id":160141,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:57:06] local.INFO: Acknowledgment sent {"connection_id":160141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:57:37] local.INFO: TCP Data received {"connection_id":160141,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:57:37] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:57:37] local.INFO: Packet analysis {"connection_id":160141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0191d"} 
[2026-08-19 13:57:37] local.INFO: Extracted packet for processing {"connection_id":160141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0191d"} 
[2026-08-19 13:57:37] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504626176001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 13:57:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181269854531999744,"note":"Value kept but may cause issues"} 
[2026-08-19 13:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787127747000,"timestamp_ms":1787127747000,"timestamp_seconds":1787127747,"priority":1,"record_length":96,"hex_timestamp":"000001a0191d51b8"} 
[2026-08-19 13:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 13:57:37] 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-08-19 13: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-08-19 13:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504626176001,"66":26452,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181269854531999744},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 13:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504626176001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:57:37] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 13:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:57:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181269854531999744,"description":"Unknown IO ID 44"} 
[2026-08-19 13:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504626176001,"power":26452,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181269854531999744}} 
[2026-08-19 13:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":160141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:57:37] local.INFO: GPS data processed {"connection_id":160141,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:57:37] local.INFO: Acknowledgment sent {"connection_id":160141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:57:59] local.INFO: TCP Data received {"connection_id":158833,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:57:59] local.INFO: Processing buffer {"connection_id":158833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:57:59] local.INFO: IMEI packet received {"connection_id":158833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":158833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:58:04] local.INFO: TCP Data received {"connection_id":158833,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:58:04] local.INFO: Processing buffer {"connection_id":158833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:58:04] local.INFO: IMEI packet received {"connection_id":158833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":158833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:58:06] local.INFO: TCP Data received {"connection_id":158833,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:58:06] local.INFO: Processing buffer {"connection_id":158833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0191d51b8012cfd7b8007182260002e00e928..."} 
[2026-08-19 13:58:06] local.INFO: Packet analysis {"connection_id":158833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0191d"} 
[2026-08-19 13:58:06] local.INFO: Extracted packet for processing {"connection_id":158833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0191d"} 
[2026-08-19 13:58:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":40,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504626176001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 13:58:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181269854531999744,"note":"Value kept but may cause issues"} 
[2026-08-19 13:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787127747000,"timestamp_ms":1787127747000,"timestamp_seconds":1787127747,"priority":1,"record_length":96,"hex_timestamp":"000001a0191d51b8"} 
[2026-08-19 13:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 13:58:06] 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-08-19 13: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-08-19 13:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504626176001,"66":26452,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181269854531999744},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 13:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504626176001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:58:06] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 13:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:58:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181269854531999744,"description":"Unknown IO ID 44"} 
[2026-08-19 13:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504626176001,"power":26452,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181269854531999744}} 
[2026-08-19 13:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":158833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:58:06] local.INFO: GPS data processed {"connection_id":158833,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:58:06] local.INFO: Acknowledgment sent {"connection_id":158833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:58:37] local.INFO: TCP Data received {"connection_id":158833,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 13:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 13:58:37] local.INFO: Processing buffer {"connection_id":158833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 13:58:37] local.INFO: Packet analysis {"connection_id":158833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 13:58:37] local.INFO: Extracted packet for processing {"connection_id":158833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 13:58:37] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":47,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 13:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504703232001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 13:58:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 13:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787128048000,"timestamp_ms":1787128048000,"timestamp_seconds":1787128048,"priority":1,"record_length":96,"hex_timestamp":"000001a01921e980"} 
[2026-08-19 13:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 13:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504703232001,"66":26115,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 13:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504703232001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:58:37] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 13:58:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:58:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 13:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504703232001,"power":26115,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 13:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":158833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:58:37] local.INFO: GPS data processed {"connection_id":158833,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:58:37] local.INFO: Acknowledgment sent {"connection_id":158833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:58:43] local.INFO: TCP Data received {"connection_id":157588,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:58:43] local.INFO: Processing buffer {"connection_id":157588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:58:43] local.INFO: IMEI packet received {"connection_id":157588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":157588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:58:45] local.INFO: TCP Data received {"connection_id":157588,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:58:45] local.INFO: Processing buffer {"connection_id":157588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:58:45] local.INFO: IMEI packet received {"connection_id":157588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":157588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:58:48] local.INFO: TCP Data received {"connection_id":157588,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:58:48] local.INFO: Processing buffer {"connection_id":157588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:58:48] local.INFO: IMEI packet received {"connection_id":157588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":157588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:58:49] local.INFO: TCP Data received {"connection_id":157588,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0191ff198012d1a0d80072177280054015f27..."} 
[2026-08-19 13:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0191ff198012d1a0d80072177280054015f27..."} 
[2026-08-19 13:58:49] local.INFO: Processing buffer {"connection_id":157588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0191ff198012d1a0d80072177280054015f27..."} 
[2026-08-19 13:58:49] local.INFO: Packet analysis {"connection_id":157588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0191f"} 
[2026-08-19 13:58:49] local.INFO: Extracted packet for processing {"connection_id":157588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0191f"} 
[2026-08-19 13:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756682112,"raw_latitude":119633704,"longitude_deg":75.6682112,"latitude_deg":11.9633704,"altitude":84,"angle":351,"satellites":39,"speed":0,"hex_longitude":"2d1a0d80","hex_latitude":"07217728","is_valid_coordinates":true} 
[2026-08-19 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-08-19 13:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504741888001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13735687664697344,"note":"Value kept but may cause issues"} 
[2026-08-19 13:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877297387797948416,"note":"Value kept but may cause issues"} 
[2026-08-19 13:58: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-08-19 13:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787127919000,"timestamp_ms":1787127919000,"timestamp_seconds":1787127919,"priority":1,"record_length":96,"hex_timestamp":"000001a0191ff198"} 
[2026-08-19 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-08-19 13:58:49] 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-08-19 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 13:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 13:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":157588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":157588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":157588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504741888001,"66":12156,"121":206,"28":31744,"24":0,"16":13735687664697344,"45":1877297387797948416},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504741888001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:58:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:58:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13735687664697344,"km_value":13735687664697.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877297387797948416,"description":"Unknown IO ID 45"} 
[2026-08-19 13:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504741888001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1877297387797948416}} 
[2026-08-19 13:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":157588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:58:49] local.INFO: GPS data processed {"connection_id":157588,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:58:49] local.INFO: Acknowledgment sent {"connection_id":157588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:59:00] local.INFO: TCP Data received {"connection_id":157970,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:59:00] local.INFO: Processing buffer {"connection_id":157970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:59:00] local.INFO: IMEI packet received {"connection_id":157970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 13:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":157970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:59:04] local.INFO: TCP Data received {"connection_id":157970,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:59:04] local.INFO: Processing buffer {"connection_id":157970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 13:59:04] local.INFO: IMEI packet received {"connection_id":157970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 13:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":157970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:59:06] local.INFO: TCP Data received {"connection_id":157970,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 13:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 13:59:06] local.INFO: Processing buffer {"connection_id":157970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 13:59:06] local.INFO: Packet analysis {"connection_id":157970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 13:59:06] local.INFO: Extracted packet for processing {"connection_id":157970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 13:59:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":47,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 13:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504703232001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 13:59:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 13:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787128048000,"timestamp_ms":1787128048000,"timestamp_seconds":1787128048,"priority":1,"record_length":96,"hex_timestamp":"000001a01921e980"} 
[2026-08-19 13:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 13:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504703232001,"66":26115,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 13:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504703232001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:59:06] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 13:59:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:59:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 13:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504703232001,"power":26115,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 13:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":157970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:59:06] local.INFO: GPS data processed {"connection_id":157970,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:59:06] local.INFO: Acknowledgment sent {"connection_id":157970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:59:13] local.INFO: TCP Data received {"connection_id":158834,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:59:13] local.INFO: Processing buffer {"connection_id":158834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:59:13] local.INFO: IMEI packet received {"connection_id":158834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 13:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":158834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 13:59:18] local.INFO: TCP Data received {"connection_id":158834,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:59:18] local.INFO: Processing buffer {"connection_id":158834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 13:59:18] local.INFO: IMEI packet received {"connection_id":158834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 13:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":158834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 13:59:20] local.INFO: TCP Data received {"connection_id":158834,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0192043a0012d1a0d80072177280054015f28..."} 
[2026-08-19 13:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192043a0012d1a0d80072177280054015f28..."} 
[2026-08-19 13:59:20] local.INFO: Processing buffer {"connection_id":158834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192043a0012d1a0d80072177280054015f28..."} 
[2026-08-19 13:59:20] local.INFO: Packet analysis {"connection_id":158834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01920"} 
[2026-08-19 13:59:20] local.INFO: Extracted packet for processing {"connection_id":158834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01920"} 
[2026-08-19 13:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756682112,"raw_latitude":119633704,"longitude_deg":75.6682112,"latitude_deg":11.9633704,"altitude":84,"angle":351,"satellites":40,"speed":0,"hex_longitude":"2d1a0d80","hex_latitude":"07217728","is_valid_coordinates":true} 
[2026-08-19 13:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504747264001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13735687664697344,"note":"Value kept but may cause issues"} 
[2026-08-19 13:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877297387797948416,"note":"Value kept but may cause issues"} 
[2026-08-19 13:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787127940000,"timestamp_ms":1787127940000,"timestamp_seconds":1787127940,"priority":1,"record_length":96,"hex_timestamp":"000001a0192043a0"} 
[2026-08-19 13:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:59: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-08-19 13:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-19 13:59:20] 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-08-19 13:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504747264001,"66":12722,"121":206,"28":31744,"24":0,"16":13735687664697344,"45":1877297387797948416},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504747264001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:59:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:59:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13735687664697344,"km_value":13735687664697.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877297387797948416,"description":"Unknown IO ID 45"} 
[2026-08-19 13:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504747264001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1877297387797948416}} 
[2026-08-19 13:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":158834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:59:20] local.INFO: GPS data processed {"connection_id":158834,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:59:20] local.INFO: Acknowledgment sent {"connection_id":158834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:59:39] local.INFO: TCP Data received {"connection_id":157970,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 13:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 13:59:39] local.INFO: Processing buffer {"connection_id":157970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 13:59:39] local.INFO: Packet analysis {"connection_id":157970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 13:59:39] local.INFO: Extracted packet for processing {"connection_id":157970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 13:59:39] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":47,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 13: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-08-19 13:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504703232001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 13:59:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 13:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787128048000,"timestamp_ms":1787128048000,"timestamp_seconds":1787128048,"priority":1,"record_length":96,"hex_timestamp":"000001a01921e980"} 
[2026-08-19 13:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 13: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 13:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 13: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-08-19 13:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 13:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 13:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 13:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504703232001,"66":26115,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 13:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 13:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 13:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504703232001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:59:39] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 13:59:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:59:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 13:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504703232001,"power":26115,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 13:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":157970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:59:39] local.INFO: GPS data processed {"connection_id":157970,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:59:39] local.INFO: Acknowledgment sent {"connection_id":157970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 13:59:51] local.INFO: TCP Data received {"connection_id":158834,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0192095a8012d1a0d80072177280054015f25..."} 
[2026-08-19 13:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192095a8012d1a0d80072177280054015f25..."} 
[2026-08-19 13:59:51] local.INFO: Processing buffer {"connection_id":158834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192095a8012d1a0d80072177280054015f25..."} 
[2026-08-19 13:59:51] local.INFO: Packet analysis {"connection_id":158834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01920"} 
[2026-08-19 13:59:51] local.INFO: Extracted packet for processing {"connection_id":158834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01920"} 
[2026-08-19 13:59:51] local.INFO: GPS Element Parsed {"raw_longitude":756682112,"raw_latitude":119633704,"longitude_deg":75.6682112,"latitude_deg":11.9633704,"altitude":84,"angle":351,"satellites":37,"speed":0,"hex_longitude":"2d1a0d80","hex_latitude":"07217728","is_valid_coordinates":true} 
[2026-08-19 13:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 13:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504752640001,"note":"Value kept but may cause issues"} 
[2026-08-19 13:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13735687664697344,"note":"Value kept but may cause issues"} 
[2026-08-19 13:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877297387797948416,"note":"Value kept but may cause issues"} 
[2026-08-19 13:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 13:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787127961000,"timestamp_ms":1787127961000,"timestamp_seconds":1787127961,"priority":1,"record_length":96,"hex_timestamp":"000001a0192095a8"} 
[2026-08-19 13:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 13:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 13:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 13:59: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-08-19 13:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 13:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 13:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 13:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":158834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 13:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":158834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":158834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 13:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 13:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 13:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 13:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504752640001,"66":12504,"121":206,"28":31744,"24":0,"16":13735687664697344,"45":1877297387797948416},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 13:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 13:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 13:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504752640001,"description":"Unknown IO ID 0"} 
[2026-08-19 13:59:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 13:59:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 13:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13735687664697344,"km_value":13735687664697.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 13:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877297387797948416,"description":"Unknown IO ID 45"} 
[2026-08-19 13:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504752640001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1877297387797948416}} 
[2026-08-19 13:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":158834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 13:59:51] local.INFO: GPS data processed {"connection_id":158834,"processed":1,"errors":0,"total":1} 
[2026-08-19 13:59:51] local.INFO: Acknowledgment sent {"connection_id":158834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:00:04] local.INFO: TCP Data received {"connection_id":158835,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:00:04] local.INFO: Processing buffer {"connection_id":158835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:00:04] local.INFO: IMEI packet received {"connection_id":158835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":158835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:00:07] local.INFO: TCP Data received {"connection_id":157589,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:00:07] local.INFO: Processing buffer {"connection_id":157589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:00:07] local.INFO: IMEI packet received {"connection_id":157589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":157589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:00:08] local.INFO: TCP Data received {"connection_id":157589,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:00:08] local.INFO: Processing buffer {"connection_id":157589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:00:08] local.INFO: IMEI packet received {"connection_id":157589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":157589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:00:09] local.INFO: TCP Data received {"connection_id":158835,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:00:09] local.INFO: Processing buffer {"connection_id":158835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:00:09] local.INFO: IMEI packet received {"connection_id":158835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":158835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:00:11] local.INFO: TCP Data received {"connection_id":158835,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:00:11] local.INFO: Processing buffer {"connection_id":158835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:00:11] local.INFO: Packet analysis {"connection_id":158835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 14:00:11] local.INFO: Extracted packet for processing {"connection_id":158835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 14:00:11] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":47,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504703232001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:00:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787128048000,"timestamp_ms":1787128048000,"timestamp_seconds":1787128048,"priority":1,"record_length":96,"hex_timestamp":"000001a01921e980"} 
[2026-08-19 14:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 14:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504703232001,"66":26115,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504703232001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:00:11] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:00:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504703232001,"power":26115,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":158835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:00:11] local.INFO: GPS data processed {"connection_id":158835,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:00:11] local.INFO: Acknowledgment sent {"connection_id":158835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:00:11] local.INFO: TCP Data received {"connection_id":157589,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:00:11] local.INFO: Processing buffer {"connection_id":157589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:00:11] local.INFO: IMEI packet received {"connection_id":157589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":157589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:00:13] local.INFO: TCP Data received {"connection_id":157589,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:00:13] local.INFO: Processing buffer {"connection_id":157589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:00:13] local.INFO: IMEI packet received {"connection_id":157589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":157589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:00:14] local.INFO: TCP Data received {"connection_id":157589,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01923a6d0012d1a0c40072179900055016420..."} 
[2026-08-19 14:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01923a6d0012d1a0c40072179900055016420..."} 
[2026-08-19 14:00:14] local.INFO: Processing buffer {"connection_id":157589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01923a6d0012d1a0c40072179900055016420..."} 
[2026-08-19 14:00:14] local.INFO: Packet analysis {"connection_id":157589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01923"} 
[2026-08-19 14:00:14] local.INFO: Extracted packet for processing {"connection_id":157589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01923"} 
[2026-08-19 14:00:14] local.INFO: GPS Element Parsed {"raw_longitude":756681792,"raw_latitude":119634320,"longitude_deg":75.6681792,"latitude_deg":11.963432,"altitude":85,"angle":356,"satellites":32,"speed":3,"hex_longitude":"2d1a0c40","hex_latitude":"07217990","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504808960001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13735726319403008,"note":"Value kept but may cause issues"} 
[2026-08-19 14:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876875175332982784,"note":"Value kept but may cause issues"} 
[2026-08-19 14:00: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-08-19 14:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787128162000,"timestamp_ms":1787128162000,"timestamp_seconds":1787128162,"priority":1,"record_length":96,"hex_timestamp":"000001a01923a6d0"} 
[2026-08-19 14:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:00: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-08-19 14: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":53,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-08-19 14:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1948,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504808960001,"66":13852,"121":206,"28":31744,"24":3,"16":13735726319403008,"45":1876875175332982784},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504808960001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:00:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:00:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13735726319403008,"km_value":13735726319403.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876875175332982784,"description":"Unknown IO ID 45"} 
[2026-08-19 14:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504808960001,"power":13852,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1876875175332982784}} 
[2026-08-19 14:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":157589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:00:14] local.INFO: GPS data processed {"connection_id":157589,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:00:14] local.INFO: Acknowledgment sent {"connection_id":157589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:00:15] local.INFO: TCP Data received {"connection_id":158835,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:00:15] local.INFO: Processing buffer {"connection_id":158835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:00:15] local.INFO: Packet analysis {"connection_id":158835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 14:00:15] local.INFO: Extracted packet for processing {"connection_id":158835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 14:00:15] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":47,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504703232001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:00:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787128048000,"timestamp_ms":1787128048000,"timestamp_seconds":1787128048,"priority":1,"record_length":96,"hex_timestamp":"000001a01921e980"} 
[2026-08-19 14:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 14:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504703232001,"66":26115,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504703232001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:00:15] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:00:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:00:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504703232001,"power":26115,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":158835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:00:15] local.INFO: GPS data processed {"connection_id":158835,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:00:15] local.INFO: Acknowledgment sent {"connection_id":158835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:00:21] local.INFO: TCP Data received {"connection_id":157589,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01923aab8012d1a0c40072179d00055000920..."} 
[2026-08-19 14:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01923aab8012d1a0c40072179d00055000920..."} 
[2026-08-19 14:00:21] local.INFO: Processing buffer {"connection_id":157589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01923aab8012d1a0c40072179d00055000920..."} 
[2026-08-19 14:00:21] local.INFO: Packet analysis {"connection_id":157589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01923"} 
[2026-08-19 14:00:21] local.INFO: Extracted packet for processing {"connection_id":157589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01923"} 
[2026-08-19 14:00:21] local.INFO: GPS Element Parsed {"raw_longitude":756681792,"raw_latitude":119634384,"longitude_deg":75.6681792,"latitude_deg":11.9634384,"altitude":85,"angle":9,"satellites":32,"speed":3,"hex_longitude":"2d1a0c40","hex_latitude":"072179d0","is_valid_coordinates":true} 
[2026-08-19 14:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504809472001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13735730614370304,"note":"Value kept but may cause issues"} 
[2026-08-19 14:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876945544077217792,"note":"Value kept but may cause issues"} 
[2026-08-19 14:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787128163000,"timestamp_ms":1787128163000,"timestamp_seconds":1787128163,"priority":1,"record_length":96,"hex_timestamp":"000001a01923aab8"} 
[2026-08-19 14:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:00: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-08-19 14:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-19 14:00:21] 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-08-19 14:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":157589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":157589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":157589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504809472001,"66":13852,"121":206,"28":31744,"24":3,"16":13735730614370304,"45":1876945544077217792},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504809472001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:00:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:00:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13735730614370304,"km_value":13735730614370.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876945544077217792,"description":"Unknown IO ID 45"} 
[2026-08-19 14:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504809472001,"power":13852,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1876945544077217792}} 
[2026-08-19 14:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":157589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:00:21] local.INFO: GPS data processed {"connection_id":157589,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:00:21] local.INFO: Acknowledgment sent {"connection_id":157589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:01:01] local.INFO: TCP Data received {"connection_id":157971,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:01:01] local.INFO: Processing buffer {"connection_id":157971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:01:01] local.INFO: IMEI packet received {"connection_id":157971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":157971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:01:04] local.INFO: TCP Data received {"connection_id":157971,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:01:04] local.INFO: Processing buffer {"connection_id":157971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:01:04] local.INFO: IMEI packet received {"connection_id":157971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":157971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:01:06] local.INFO: TCP Data received {"connection_id":157971,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:01:06] local.INFO: Processing buffer {"connection_id":157971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:01:06] local.INFO: Packet analysis {"connection_id":157971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 14:01:06] local.INFO: Extracted packet for processing {"connection_id":157971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 14:01:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":47,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504703232001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:01:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787128048000,"timestamp_ms":1787128048000,"timestamp_seconds":1787128048,"priority":1,"record_length":96,"hex_timestamp":"000001a01921e980"} 
[2026-08-19 14:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 14:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504703232001,"66":26115,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504703232001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:01:06] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:01:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:01:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504703232001,"power":26115,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":157971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:01:06] local.INFO: GPS data processed {"connection_id":157971,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:01:06] local.INFO: Acknowledgment sent {"connection_id":157971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:01:08] local.INFO: TCP Data received {"connection_id":157590,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:01:08] local.INFO: Processing buffer {"connection_id":157590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:01:08] local.INFO: IMEI packet received {"connection_id":157590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":157590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:01:10] local.INFO: TCP Data received {"connection_id":157971,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:01:10] local.INFO: Processing buffer {"connection_id":157971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:01:10] local.INFO: Packet analysis {"connection_id":157971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 14:01:10] local.INFO: Extracted packet for processing {"connection_id":157971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 14:01:10] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":47,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504703232001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787128048000,"timestamp_ms":1787128048000,"timestamp_seconds":1787128048,"priority":1,"record_length":96,"hex_timestamp":"000001a01921e980"} 
[2026-08-19 14:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 14:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504703232001,"66":26115,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504703232001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:01:10] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:01:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504703232001,"power":26115,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":157971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:01:10] local.INFO: GPS data processed {"connection_id":157971,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:01:10] local.INFO: Acknowledgment sent {"connection_id":157971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:01:17] local.INFO: TCP Data received {"connection_id":157590,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:01:17] local.INFO: Processing buffer {"connection_id":157590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:01:17] local.INFO: IMEI packet received {"connection_id":157590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":157590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:01:21] local.INFO: TCP Data received {"connection_id":157590,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01923be40012d1a0c40072178c0005500ba26..."} 
[2026-08-19 14:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01923be40012d1a0c40072178c0005500ba26..."} 
[2026-08-19 14:01:21] local.INFO: Processing buffer {"connection_id":157590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01923be40012d1a0c40072178c0005500ba26..."} 
[2026-08-19 14:01:21] local.INFO: Packet analysis {"connection_id":157590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01923"} 
[2026-08-19 14:01:21] local.INFO: Extracted packet for processing {"connection_id":157590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01923"} 
[2026-08-19 14:01:21] local.INFO: GPS Element Parsed {"raw_longitude":756681792,"raw_latitude":119634112,"longitude_deg":75.6681792,"latitude_deg":11.9634112,"altitude":85,"angle":186,"satellites":38,"speed":2,"hex_longitude":"2d1a0c40","hex_latitude":"072178c0","is_valid_coordinates":true} 
[2026-08-19 14:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504809728001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13735743499272192,"note":"Value kept but may cause issues"} 
[2026-08-19 14:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876945544077234176,"note":"Value kept but may cause issues"} 
[2026-08-19 14:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787128168000,"timestamp_ms":1787128168000,"timestamp_seconds":1787128168,"priority":1,"record_length":96,"hex_timestamp":"000001a01923be40"} 
[2026-08-19 14:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:01: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-08-19 14:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-19 14:01:21] 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-08-19 14:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":157590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":157590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":157590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504809728001,"66":13733,"121":206,"28":31744,"24":2,"16":13735743499272192,"45":1876945544077234176},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504809728001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:01:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:01:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13735743499272192,"km_value":13735743499272.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876945544077234176,"description":"Unknown IO ID 45"} 
[2026-08-19 14:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504809728001,"power":13733,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1876945544077234176}} 
[2026-08-19 14:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":157590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:01:21] local.INFO: GPS data processed {"connection_id":157590,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:01:21] local.INFO: Acknowledgment sent {"connection_id":157590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:01:42] local.INFO: TCP Data received {"connection_id":157971,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:01:42] local.INFO: Processing buffer {"connection_id":157971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:01:42] local.INFO: Packet analysis {"connection_id":157971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 14:01:42] local.INFO: Extracted packet for processing {"connection_id":157971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 14:01:42] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":47,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504703232001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787128048000,"timestamp_ms":1787128048000,"timestamp_seconds":1787128048,"priority":1,"record_length":96,"hex_timestamp":"000001a01921e980"} 
[2026-08-19 14:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 14:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504703232001,"66":26115,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504703232001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:01:42] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:01:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504703232001,"power":26115,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":157971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:01:42] local.INFO: GPS data processed {"connection_id":157971,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:01:42] local.INFO: Acknowledgment sent {"connection_id":157971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:01:53] local.INFO: TCP Data received {"connection_id":157590,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0192521b8012d1a0d40072170280056008e27..."} 
[2026-08-19 14:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192521b8012d1a0d40072170280056008e27..."} 
[2026-08-19 14:01:53] local.INFO: Processing buffer {"connection_id":157590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192521b8012d1a0d40072170280056008e27..."} 
[2026-08-19 14:01:53] local.INFO: Packet analysis {"connection_id":157590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01925"} 
[2026-08-19 14:01:53] local.INFO: Extracted packet for processing {"connection_id":157590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01925"} 
[2026-08-19 14:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756682048,"raw_latitude":119631912,"longitude_deg":75.6682048,"latitude_deg":11.9631912,"altitude":86,"angle":142,"satellites":39,"speed":0,"hex_longitude":"2d1a0d40","hex_latitude":"07217028","is_valid_coordinates":true} 
[2026-08-19 14:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504828928001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13735868053323776,"note":"Value kept but may cause issues"} 
[2026-08-19 14:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877227019053312000,"note":"Value kept but may cause issues"} 
[2026-08-19 14:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787128259000,"timestamp_ms":1787128259000,"timestamp_seconds":1787128259,"priority":1,"record_length":96,"hex_timestamp":"000001a0192521b8"} 
[2026-08-19 14:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:01:53] 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-08-19 14:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 14:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":157590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":157590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":157590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504828928001,"66":14276,"121":206,"28":31744,"24":0,"16":13735868053323776,"45":1877227019053312000},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504828928001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:01:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:01:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13735868053323776,"km_value":13735868053323.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877227019053312000,"description":"Unknown IO ID 45"} 
[2026-08-19 14:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504828928001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1877227019053312000}} 
[2026-08-19 14:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":157590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:01:53] local.INFO: GPS data processed {"connection_id":157590,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:01:53] local.INFO: Acknowledgment sent {"connection_id":157590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:01:59] local.INFO: TCP Data received {"connection_id":157972,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:01:59] local.INFO: Processing buffer {"connection_id":157972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:01:59] local.INFO: IMEI packet received {"connection_id":157972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":157972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:02:04] local.INFO: TCP Data received {"connection_id":157972,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:02:04] local.INFO: Processing buffer {"connection_id":157972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:02:04] local.INFO: IMEI packet received {"connection_id":157972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":157972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:02:06] local.INFO: TCP Data received {"connection_id":157972,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:02:06] local.INFO: Processing buffer {"connection_id":157972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:02:06] local.INFO: Packet analysis {"connection_id":157972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 14:02:06] local.INFO: Extracted packet for processing {"connection_id":157972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 14:02:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":47,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504703232001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:02:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787128048000,"timestamp_ms":1787128048000,"timestamp_seconds":1787128048,"priority":1,"record_length":96,"hex_timestamp":"000001a01921e980"} 
[2026-08-19 14:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 14:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504703232001,"66":26115,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504703232001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:02:06] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:02:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:02:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504703232001,"power":26115,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":157972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:02:06] local.INFO: GPS data processed {"connection_id":157972,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:02:06] local.INFO: Acknowledgment sent {"connection_id":157972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:02:14] local.INFO: TCP Data received {"connection_id":157591,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:02:14] local.INFO: Processing buffer {"connection_id":157591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:02:14] local.INFO: IMEI packet received {"connection_id":157591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":157591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:02:15] local.INFO: TCP Data received {"connection_id":157591,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:02:15] local.INFO: Processing buffer {"connection_id":157591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:02:15] local.INFO: IMEI packet received {"connection_id":157591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":157591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:02:19] local.INFO: TCP Data received {"connection_id":157591,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:02:19] local.INFO: Processing buffer {"connection_id":157591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:02:19] local.INFO: IMEI packet received {"connection_id":157591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":157591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:02:20] local.INFO: TCP Data received {"connection_id":157591,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019253540012d1a0dc007216f10005000bb27..."} 
[2026-08-19 14:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019253540012d1a0dc007216f10005000bb27..."} 
[2026-08-19 14:02:20] local.INFO: Processing buffer {"connection_id":157591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019253540012d1a0dc007216f10005000bb27..."} 
[2026-08-19 14:02:20] local.INFO: Packet analysis {"connection_id":157591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01925"} 
[2026-08-19 14:02:20] local.INFO: Extracted packet for processing {"connection_id":157591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01925"} 
[2026-08-19 14:02:20] local.INFO: GPS Element Parsed {"raw_longitude":756682176,"raw_latitude":119631632,"longitude_deg":75.6682176,"latitude_deg":11.9631632,"altitude":80,"angle":187,"satellites":39,"speed":2,"hex_longitude":"2d1a0dc0","hex_latitude":"07216f10","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504834304001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13735885233192960,"note":"Value kept but may cause issues"} 
[2026-08-19 14:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877227019053312000,"note":"Value kept but may cause issues"} 
[2026-08-19 14:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787128264000,"timestamp_ms":1787128264000,"timestamp_seconds":1787128264,"priority":1,"record_length":96,"hex_timestamp":"000001a019253540"} 
[2026-08-19 14:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:02: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-08-19 14: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 14:02:20] 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-08-19 14: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-08-19 14:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504834304001,"66":13646,"121":206,"28":31744,"24":2,"16":13735885233192960,"45":1877227019053312000},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504834304001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:02:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:02:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13735885233192960,"km_value":13735885233192.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877227019053312000,"description":"Unknown IO ID 45"} 
[2026-08-19 14:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504834304001,"power":13646,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1877227019053312000}} 
[2026-08-19 14:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":157591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:02:20] local.INFO: GPS data processed {"connection_id":157591,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:02:20] local.INFO: Acknowledgment sent {"connection_id":157591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:02:29] local.INFO: TCP Data received {"connection_id":157591,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019253d10012d1a0e4007216e30005000a928..."} 
[2026-08-19 14:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019253d10012d1a0e4007216e30005000a928..."} 
[2026-08-19 14:02:29] local.INFO: Processing buffer {"connection_id":157591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019253d10012d1a0e4007216e30005000a928..."} 
[2026-08-19 14:02:29] local.INFO: Packet analysis {"connection_id":157591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01925"} 
[2026-08-19 14:02:29] local.INFO: Extracted packet for processing {"connection_id":157591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01925"} 
[2026-08-19 14:02:29] local.INFO: GPS Element Parsed {"raw_longitude":756682304,"raw_latitude":119631408,"longitude_deg":75.6682304,"latitude_deg":11.9631408,"altitude":80,"angle":169,"satellites":40,"speed":4,"hex_longitude":"2d1a0e40","hex_latitude":"07216e30","is_valid_coordinates":true} 
[2026-08-19 14:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504835584001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13735893823127552,"note":"Value kept but may cause issues"} 
[2026-08-19 14:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877367756541595648,"note":"Value kept but may cause issues"} 
[2026-08-19 14:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787128266000,"timestamp_ms":1787128266000,"timestamp_seconds":1787128266,"priority":1,"record_length":96,"hex_timestamp":"000001a019253d10"} 
[2026-08-19 14:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-19 14:02: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-08-19 14:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":157591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":157591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":157591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504835584001,"66":14265,"121":206,"28":31744,"24":4,"16":13735893823127552,"45":1877367756541595648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504835584001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:02:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:02:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13735893823127552,"km_value":13735893823127.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877367756541595648,"description":"Unknown IO ID 45"} 
[2026-08-19 14:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504835584001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1877367756541595648}} 
[2026-08-19 14:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":157591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:02:29] local.INFO: GPS data processed {"connection_id":157591,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:02:29] local.INFO: Acknowledgment sent {"connection_id":157591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:02:37] local.INFO: TCP Data received {"connection_id":157972,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:02:37] local.INFO: Processing buffer {"connection_id":157972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:02:37] local.INFO: Packet analysis {"connection_id":157972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 14:02:37] local.INFO: Extracted packet for processing {"connection_id":157972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 14:02:37] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":47,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504703232001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:02:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787128048000,"timestamp_ms":1787128048000,"timestamp_seconds":1787128048,"priority":1,"record_length":96,"hex_timestamp":"000001a01921e980"} 
[2026-08-19 14:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 14:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504703232001,"66":26115,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504703232001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:02:37] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:02:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504703232001,"power":26115,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":157972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:02:37] local.INFO: GPS data processed {"connection_id":157972,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:02:37] local.INFO: Acknowledgment sent {"connection_id":157972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:02:59] local.INFO: TCP Data received {"connection_id":157592,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:02:59] local.INFO: Processing buffer {"connection_id":157592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:02:59] local.INFO: IMEI packet received {"connection_id":157592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":157592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:03:04] local.INFO: TCP Data received {"connection_id":157592,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:03:04] local.INFO: Processing buffer {"connection_id":157592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:03:04] local.INFO: IMEI packet received {"connection_id":157592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":157592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:03:06] local.INFO: TCP Data received {"connection_id":157592,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:03:06] local.INFO: Processing buffer {"connection_id":157592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01921e980012cfd7b8007182260002e00e92f..."} 
[2026-08-19 14:03:06] local.INFO: Packet analysis {"connection_id":157592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 14:03:06] local.INFO: Extracted packet for processing {"connection_id":157592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01921"} 
[2026-08-19 14:03:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":47,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504703232001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:03:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787128048000,"timestamp_ms":1787128048000,"timestamp_seconds":1787128048,"priority":1,"record_length":96,"hex_timestamp":"000001a01921e980"} 
[2026-08-19 14:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 14:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504703232001,"66":26115,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504703232001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:03:06] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:03:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:03:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504703232001,"power":26115,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":157592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:03:06] local.INFO: GPS data processed {"connection_id":157592,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:03:06] local.INFO: Acknowledgment sent {"connection_id":157592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:03:37] local.INFO: TCP Data received {"connection_id":157592,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:03:37] local.INFO: Processing buffer {"connection_id":157592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:03:37] local.INFO: Packet analysis {"connection_id":157592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01926"} 
[2026-08-19 14:03:37] local.INFO: Extracted packet for processing {"connection_id":157592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01926"} 
[2026-08-19 14:03:37] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504780288001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:03:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787128349000,"timestamp_ms":1787128349000,"timestamp_seconds":1787128349,"priority":1,"record_length":96,"hex_timestamp":"000001a019268148"} 
[2026-08-19 14:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 14:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504780288001,"66":25941,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504780288001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:03:37] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:03:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:03:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504780288001,"power":25941,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":157592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:03:37] local.INFO: GPS data processed {"connection_id":157592,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:03:37] local.INFO: Acknowledgment sent {"connection_id":157592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:03:59] local.INFO: TCP Data received {"connection_id":158836,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:03:59] local.INFO: Processing buffer {"connection_id":158836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:03:59] local.INFO: IMEI packet received {"connection_id":158836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":158836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:04:04] local.INFO: TCP Data received {"connection_id":158836,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:04:04] local.INFO: Processing buffer {"connection_id":158836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:04:04] local.INFO: IMEI packet received {"connection_id":158836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":158836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:04:06] local.INFO: TCP Data received {"connection_id":158836,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:04:06] local.INFO: Processing buffer {"connection_id":158836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:04:06] local.INFO: Packet analysis {"connection_id":158836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01926"} 
[2026-08-19 14:04:06] local.INFO: Extracted packet for processing {"connection_id":158836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01926"} 
[2026-08-19 14:04:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 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-08-19 14:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504780288001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:04:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787128349000,"timestamp_ms":1787128349000,"timestamp_seconds":1787128349,"priority":1,"record_length":96,"hex_timestamp":"000001a019268148"} 
[2026-08-19 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-08-19 14:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 14:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 14:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504780288001,"66":25941,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504780288001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:04:06] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:04:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:04:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504780288001,"power":25941,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":158836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:04:06] local.INFO: GPS data processed {"connection_id":158836,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:04:06] local.INFO: Acknowledgment sent {"connection_id":158836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:04:19] local.INFO: TCP Data received {"connection_id":160143,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:04:19] local.INFO: Processing buffer {"connection_id":160143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:04:19] local.INFO: IMEI packet received {"connection_id":160143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":160143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:04:19] local.INFO: TCP Data received {"connection_id":160143,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:04:19] local.INFO: Processing buffer {"connection_id":160143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:04:19] local.INFO: IMEI packet received {"connection_id":160143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":160143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:04:24] local.INFO: TCP Data received {"connection_id":160143,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:04:24] local.INFO: Processing buffer {"connection_id":160143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:04:24] local.INFO: IMEI packet received {"connection_id":160143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":160143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:04:24] local.INFO: TCP Data received {"connection_id":160143,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0192767c0012d1a2c000720d7b8004000e328..."} 
[2026-08-19 14:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192767c0012d1a2c000720d7b8004000e328..."} 
[2026-08-19 14:04:24] local.INFO: Processing buffer {"connection_id":160143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192767c0012d1a2c000720d7b8004000e328..."} 
[2026-08-19 14:04:24] local.INFO: Packet analysis {"connection_id":160143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01927"} 
[2026-08-19 14:04:24] local.INFO: Extracted packet for processing {"connection_id":160143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01927"} 
[2026-08-19 14:04:24] local.INFO: GPS Element Parsed {"raw_longitude":756689920,"raw_latitude":119592888,"longitude_deg":75.668992,"latitude_deg":11.9592888,"altitude":64,"angle":227,"satellites":40,"speed":22,"hex_longitude":"2d1a2c00","hex_latitude":"0720d7b8","is_valid_coordinates":true} 
[2026-08-19 14:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504872192001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13738260350107648,"note":"Value kept but may cause issues"} 
[2026-08-19 14:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886304587042342912,"note":"Value kept but may cause issues"} 
[2026-08-19 14:04:24] 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-08-19 14:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787128408000,"timestamp_ms":1787128408000,"timestamp_seconds":1787128408,"priority":1,"record_length":96,"hex_timestamp":"000001a0192767c0"} 
[2026-08-19 14:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 14:04:24] 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-08-19 14:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504872192001,"66":14374,"50":206,"28":31744,"24":22,"16":13738260350107648,"45":1886304587042342912},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-08-19 14:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504872192001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:04:24] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-19 14:04:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13738260350107648,"km_value":13738260350107.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886304587042342912,"description":"Unknown IO ID 45"} 
[2026-08-19 14:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504872192001,"power":14374,"unknown_50":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1886304587042342912}} 
[2026-08-19 14:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":160143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:04:25] local.INFO: GPS data processed {"connection_id":160143,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:04:25] local.INFO: Acknowledgment sent {"connection_id":160143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:04:37] local.INFO: TCP Data received {"connection_id":158836,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:04:37] local.INFO: Processing buffer {"connection_id":158836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:04:37] local.INFO: Packet analysis {"connection_id":158836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01926"} 
[2026-08-19 14:04:37] local.INFO: Extracted packet for processing {"connection_id":158836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01926"} 
[2026-08-19 14:04:37] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504780288001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:04:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787128349000,"timestamp_ms":1787128349000,"timestamp_seconds":1787128349,"priority":1,"record_length":96,"hex_timestamp":"000001a019268148"} 
[2026-08-19 14:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 14:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504780288001,"66":25941,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504780288001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:04:37] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:04:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504780288001,"power":25941,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":158836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:04:37] local.INFO: GPS data processed {"connection_id":158836,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:04:37] local.INFO: Acknowledgment sent {"connection_id":158836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:04:59] local.INFO: TCP Data received {"connection_id":157973,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:04:59] local.INFO: Processing buffer {"connection_id":157973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:04:59] local.INFO: IMEI packet received {"connection_id":157973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":157973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:05:04] local.INFO: TCP Data received {"connection_id":157973,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:05:04] local.INFO: Processing buffer {"connection_id":157973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:05:04] local.INFO: IMEI packet received {"connection_id":157973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":157973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:05:06] local.INFO: TCP Data received {"connection_id":157973,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:05:06] local.INFO: Processing buffer {"connection_id":157973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:05:06] local.INFO: Packet analysis {"connection_id":157973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01926"} 
[2026-08-19 14:05:06] local.INFO: Extracted packet for processing {"connection_id":157973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01926"} 
[2026-08-19 14:05:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504780288001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:05:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787128349000,"timestamp_ms":1787128349000,"timestamp_seconds":1787128349,"priority":1,"record_length":96,"hex_timestamp":"000001a019268148"} 
[2026-08-19 14:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 14:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504780288001,"66":25941,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504780288001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:05:06] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:05:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:05:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504780288001,"power":25941,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":157973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:05:06] local.INFO: GPS data processed {"connection_id":157973,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:05:06] local.INFO: Acknowledgment sent {"connection_id":157973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:05:08] local.INFO: TCP Data received {"connection_id":160144,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:05:08] local.INFO: Processing buffer {"connection_id":160144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:05:08] local.INFO: IMEI packet received {"connection_id":160144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":160144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:05:14] local.INFO: TCP Data received {"connection_id":160144,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:05:14] local.INFO: Processing buffer {"connection_id":160144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:05:14] local.INFO: IMEI packet received {"connection_id":160144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":160144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:05:15] local.INFO: TCP Data received {"connection_id":160144,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019282ef8012d19ca000720a398003700f927..."} 
[2026-08-19 14:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019282ef8012d19ca000720a398003700f927..."} 
[2026-08-19 14:05:15] local.INFO: Processing buffer {"connection_id":160144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019282ef8012d19ca000720a398003700f927..."} 
[2026-08-19 14:05:15] local.INFO: Packet analysis {"connection_id":160144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01928"} 
[2026-08-19 14:05:15] local.INFO: Extracted packet for processing {"connection_id":160144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01928"} 
[2026-08-19 14:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119579544,"longitude_deg":75.6664832,"latitude_deg":11.9579544,"altitude":55,"angle":249,"satellites":39,"speed":12,"hex_longitude":"2d19ca00","hex_latitude":"0720a398","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504885248001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13739669099380736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933088681984,"note":"Value kept but may cause issues"} 
[2026-08-19 14:05: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-08-19 14:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787128459000,"timestamp_ms":1787128459000,"timestamp_seconds":1787128459,"priority":1,"record_length":96,"hex_timestamp":"000001a019282ef8"} 
[2026-08-19 14:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:05:15] 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-08-19 14: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":154,"data_length":795,"current_offset":136} 
[2026-08-19 14:05:15] 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-08-19 14: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-08-19 14:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504885248001,"66":13722,"121":206,"28":31744,"24":12,"16":13739669099380736,"45":1858508933088681984},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504885248001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:05:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:05:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13739669099380736,"km_value":13739669099380.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933088681984,"description":"Unknown IO ID 45"} 
[2026-08-19 14:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504885248001,"power":13722,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1858508933088681984}} 
[2026-08-19 14:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":160144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:05:15] local.INFO: GPS data processed {"connection_id":160144,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:05:15] local.INFO: Acknowledgment sent {"connection_id":160144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:05:37] local.INFO: TCP Data received {"connection_id":157973,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:05:37] local.INFO: Processing buffer {"connection_id":157973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:05:37] local.INFO: Packet analysis {"connection_id":157973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01926"} 
[2026-08-19 14:05:37] local.INFO: Extracted packet for processing {"connection_id":157973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01926"} 
[2026-08-19 14:05:37] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504780288001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:05:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787128349000,"timestamp_ms":1787128349000,"timestamp_seconds":1787128349,"priority":1,"record_length":96,"hex_timestamp":"000001a019268148"} 
[2026-08-19 14:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 14:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504780288001,"66":25941,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504780288001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:05:37] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:05:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:05:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504780288001,"power":25941,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":157973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:05:37] local.INFO: GPS data processed {"connection_id":157973,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:05:37] local.INFO: Acknowledgment sent {"connection_id":157973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:05:47] local.INFO: TCP Data received {"connection_id":160144,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0192832e0012d19c8400720a3680038010c27..."} 
[2026-08-19 14:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192832e0012d19c8400720a3680038010c27..."} 
[2026-08-19 14:05:47] local.INFO: Processing buffer {"connection_id":160144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192832e0012d19c8400720a3680038010c27..."} 
[2026-08-19 14:05:47] local.INFO: Packet analysis {"connection_id":160144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01928"} 
[2026-08-19 14:05:47] local.INFO: Extracted packet for processing {"connection_id":160144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01928"} 
[2026-08-19 14:05:47] local.INFO: GPS Element Parsed {"raw_longitude":756664384,"raw_latitude":119579496,"longitude_deg":75.6664384,"latitude_deg":11.9579496,"altitude":56,"angle":268,"satellites":39,"speed":15,"hex_longitude":"2d19c840","hex_latitude":"0720a368","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504885504001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13739690574217216,"note":"Value kept but may cause issues"} 
[2026-08-19 14:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858297826856114176,"note":"Value kept but may cause issues"} 
[2026-08-19 14:05: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-08-19 14:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787128460000,"timestamp_ms":1787128460000,"timestamp_seconds":1787128460,"priority":1,"record_length":96,"hex_timestamp":"000001a0192832e0"} 
[2026-08-19 14:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-19 14:05:47] 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-08-19 14: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-08-19 14:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504885504001,"66":14374,"121":206,"28":31744,"24":15,"16":13739690574217216,"45":1858297826856114176},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504885504001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:05:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:05:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13739690574217216,"km_value":13739690574217.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858297826856114176,"description":"Unknown IO ID 45"} 
[2026-08-19 14:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504885504001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1858297826856114176}} 
[2026-08-19 14:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":160144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:05:47] local.INFO: GPS data processed {"connection_id":160144,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:05:47] local.INFO: Acknowledgment sent {"connection_id":160144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:05:59] local.INFO: TCP Data received {"connection_id":158837,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:05:59] local.INFO: Processing buffer {"connection_id":158837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:05:59] local.INFO: IMEI packet received {"connection_id":158837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":158837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:06:04] local.INFO: TCP Data received {"connection_id":158837,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:06:04] local.INFO: Processing buffer {"connection_id":158837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:06:04] local.INFO: IMEI packet received {"connection_id":158837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":158837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:06:05] local.INFO: TCP Data received {"connection_id":158837,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:06:05] local.INFO: Processing buffer {"connection_id":158837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:06:05] local.INFO: Packet analysis {"connection_id":158837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01926"} 
[2026-08-19 14:06:05] local.INFO: Extracted packet for processing {"connection_id":158837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01926"} 
[2026-08-19 14:06:05] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504780288001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787128349000,"timestamp_ms":1787128349000,"timestamp_seconds":1787128349,"priority":1,"record_length":96,"hex_timestamp":"000001a019268148"} 
[2026-08-19 14:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 14:06:05] 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-08-19 14:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504780288001,"66":25941,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504780288001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:06:05] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:06:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:06:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504780288001,"power":25941,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":158837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:06:06] local.INFO: GPS data processed {"connection_id":158837,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:06:06] local.INFO: Acknowledgment sent {"connection_id":158837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:06:13] local.INFO: TCP Data received {"connection_id":157974,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:06:13] local.INFO: Processing buffer {"connection_id":157974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:06:13] local.INFO: IMEI packet received {"connection_id":157974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":157974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:06:17] local.INFO: TCP Data received {"connection_id":157974,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:06:17] local.INFO: Processing buffer {"connection_id":157974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:06:17] local.INFO: IMEI packet received {"connection_id":157974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":157974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:06:18] local.INFO: TCP Data received {"connection_id":157974,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019283ab0012d19c4800720a4000038011a27..."} 
[2026-08-19 14:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019283ab0012d19c4800720a4000038011a27..."} 
[2026-08-19 14:06:18] local.INFO: Processing buffer {"connection_id":157974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019283ab0012d19c4800720a4000038011a27..."} 
[2026-08-19 14:06:18] local.INFO: Packet analysis {"connection_id":157974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01928"} 
[2026-08-19 14:06:18] local.INFO: Extracted packet for processing {"connection_id":157974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01928"} 
[2026-08-19 14:06:18] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119579648,"longitude_deg":75.6663424,"latitude_deg":11.9579648,"altitude":56,"angle":282,"satellites":39,"speed":18,"hex_longitude":"2d19c480","hex_latitude":"0720a400","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504885760001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13739733523890176,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857805245646858240,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787128462000,"timestamp_ms":1787128462000,"timestamp_seconds":1787128462,"priority":1,"record_length":96,"hex_timestamp":"000001a019283ab0"} 
[2026-08-19 14:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 14:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504885760001,"66":14265,"121":206,"28":31744,"24":18,"16":13739733523890176,"45":1857805245646858240},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504885760001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:06:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:06:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13739733523890176,"km_value":13739733523890.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857805245646858240,"description":"Unknown IO ID 45"} 
[2026-08-19 14:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504885760001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1857805245646858240}} 
[2026-08-19 14:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":157974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:06:19] local.INFO: GPS data processed {"connection_id":157974,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:06:19] local.INFO: Acknowledgment sent {"connection_id":157974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:06:20] local.INFO: TCP Data received {"connection_id":157974,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019284a50012d19bd800720a6600039012c27..."} 
[2026-08-19 14:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019284a50012d19bd800720a6600039012c27..."} 
[2026-08-19 14:06:20] local.INFO: Processing buffer {"connection_id":157974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019284a50012d19bd800720a6600039012c27..."} 
[2026-08-19 14:06:20] local.INFO: Packet analysis {"connection_id":157974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01928"} 
[2026-08-19 14:06:20] local.INFO: Extracted packet for processing {"connection_id":157974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01928"} 
[2026-08-19 14:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756661632,"raw_latitude":119580256,"longitude_deg":75.6661632,"latitude_deg":11.9580256,"altitude":57,"angle":300,"satellites":39,"speed":16,"hex_longitude":"2d19bd80","hex_latitude":"0720a660","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504886272001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13739828013170688,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714484232192,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787128466000,"timestamp_ms":1787128466000,"timestamp_seconds":1787128466,"priority":1,"record_length":96,"hex_timestamp":"000001a019284a50"} 
[2026-08-19 14:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:06: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-08-19 14:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 14:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504886272001,"66":14135,"121":206,"28":31744,"24":16,"16":13739828013170688,"45":1856749714484232192},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504886272001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:06:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:06:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13739828013170688,"km_value":13739828013170.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714484232192,"description":"Unknown IO ID 45"} 
[2026-08-19 14:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504886272001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1856749714484232192}} 
[2026-08-19 14:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":157974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:06:20] local.INFO: GPS data processed {"connection_id":157974,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:06:20] local.INFO: Acknowledgment sent {"connection_id":157974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:06:37] local.INFO: TCP Data received {"connection_id":158837,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:06:37] local.INFO: Processing buffer {"connection_id":158837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:06:37] local.INFO: Packet analysis {"connection_id":158837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01926"} 
[2026-08-19 14:06:37] local.INFO: Extracted packet for processing {"connection_id":158837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01926"} 
[2026-08-19 14:06:37] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504780288001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787128349000,"timestamp_ms":1787128349000,"timestamp_seconds":1787128349,"priority":1,"record_length":96,"hex_timestamp":"000001a019268148"} 
[2026-08-19 14:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 14:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504780288001,"66":25941,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504780288001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:06:37] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:06:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504780288001,"power":25941,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":158837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:06:37] local.INFO: GPS data processed {"connection_id":158837,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:06:37] local.INFO: Acknowledgment sent {"connection_id":158837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:06:51] local.INFO: TCP Data received {"connection_id":157974,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01929cd08012d18d040072128d80045015728..."} 
[2026-08-19 14:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01929cd08012d18d040072128d80045015728..."} 
[2026-08-19 14:06:51] local.INFO: Processing buffer {"connection_id":157974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01929cd08012d18d040072128d80045015728..."} 
[2026-08-19 14:06:51] local.INFO: Packet analysis {"connection_id":157974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01929"} 
[2026-08-19 14:06:51] local.INFO: Extracted packet for processing {"connection_id":157974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01929"} 
[2026-08-19 14:06:51] local.INFO: GPS Element Parsed {"raw_longitude":756600896,"raw_latitude":119613656,"longitude_deg":75.6600896,"latitude_deg":11.9613656,"altitude":69,"angle":343,"satellites":40,"speed":35,"hex_longitude":"2d18d040","hex_latitude":"072128d8","is_valid_coordinates":true} 
[2026-08-19 14:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504911616001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13743590404521984,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557662953472,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787128565000,"timestamp_ms":1787128565000,"timestamp_seconds":1787128565,"priority":1,"record_length":96,"hex_timestamp":"000001a01929cd08"} 
[2026-08-19 14:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-19 14:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:51] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3819438138,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 14:06:51] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247847,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:51] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3535601664,"note":"Value kept but may cause issues"} 
[2026-08-19 14:06:51] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,211,160,177,45,64,15,66,38,10,162,1,40,138,240,22,25,32,4,113,205,33,103,39,239,54,2,48,7,52],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 14:06:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4827860067558948864,"timestamp_seconds":4827860067558949.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 14:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504911616001,"66":14189,"121":206,"28":31744,"24":35,"16":13743590404521984,"45":1788210557662953472},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504911616001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:06:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:06:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13743590404521984,"km_value":13743590404521.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557662953472,"description":"Unknown IO ID 45"} 
[2026-08-19 14:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504911616001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1788210557662953472}} 
[2026-08-19 14:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":157974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:06:51] local.INFO: GPS data processed {"connection_id":157974,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:06:51] local.INFO: Acknowledgment sent {"connection_id":157974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:06:59] local.INFO: TCP Data received {"connection_id":157975,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:06:59] local.INFO: Processing buffer {"connection_id":157975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:06:59] local.INFO: IMEI packet received {"connection_id":157975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":157975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:07:04] local.INFO: TCP Data received {"connection_id":157975,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:07:04] local.INFO: Processing buffer {"connection_id":157975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:07:04] local.INFO: IMEI packet received {"connection_id":157975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":157975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:07:06] local.INFO: TCP Data received {"connection_id":157975,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:07:06] local.INFO: Processing buffer {"connection_id":157975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:07:06] local.INFO: Packet analysis {"connection_id":157975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01926"} 
[2026-08-19 14:07:06] local.INFO: Extracted packet for processing {"connection_id":157975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01926"} 
[2026-08-19 14:07:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 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-08-19 14:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504780288001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:07:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787128349000,"timestamp_ms":1787128349000,"timestamp_seconds":1787128349,"priority":1,"record_length":96,"hex_timestamp":"000001a019268148"} 
[2026-08-19 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-08-19 14:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 14:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 14:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504780288001,"66":25941,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504780288001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:07:06] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:07:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:07:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504780288001,"power":25941,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":157975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:07:06] local.INFO: GPS data processed {"connection_id":157975,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:07:06] local.INFO: Acknowledgment sent {"connection_id":157975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:07:07] local.INFO: TCP Data received {"connection_id":157593,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:07:07] local.INFO: Processing buffer {"connection_id":157593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:07:07] local.INFO: IMEI packet received {"connection_id":157593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":157593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:07:07] local.INFO: TCP Data received {"connection_id":157593,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:07:07] local.INFO: Processing buffer {"connection_id":157593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:07:07] local.INFO: IMEI packet received {"connection_id":157593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":157593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:07:09] local.INFO: TCP Data received {"connection_id":157593,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:07:09] local.INFO: Processing buffer {"connection_id":157593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:07:09] local.INFO: IMEI packet received {"connection_id":157593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":157593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:07:10] local.INFO: TCP Data received {"connection_id":157593,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:07:10] local.INFO: Processing buffer {"connection_id":157593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:07:10] local.INFO: IMEI packet received {"connection_id":157593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":157593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:07:37] local.INFO: TCP Data received {"connection_id":157975,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:07:37] local.INFO: Processing buffer {"connection_id":157975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019268148012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:07:37] local.INFO: Packet analysis {"connection_id":157975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01926"} 
[2026-08-19 14:07:37] local.INFO: Extracted packet for processing {"connection_id":157975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01926"} 
[2026-08-19 14:07:37] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504780288001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:07:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787128349000,"timestamp_ms":1787128349000,"timestamp_seconds":1787128349,"priority":1,"record_length":96,"hex_timestamp":"000001a019268148"} 
[2026-08-19 14:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 14:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504780288001,"66":25941,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504780288001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:07:37] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:07:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504780288001,"power":25941,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":157975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:07:37] local.INFO: GPS data processed {"connection_id":157975,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:07:37] local.INFO: Acknowledgment sent {"connection_id":157975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:08:04] local.INFO: TCP Data received {"connection_id":160145,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:08:04] local.INFO: Processing buffer {"connection_id":160145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:08:04] local.INFO: IMEI packet received {"connection_id":160145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":160145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:08:08] local.INFO: TCP Data received {"connection_id":160145,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:08:08] local.INFO: Processing buffer {"connection_id":160145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:08:08] local.INFO: IMEI packet received {"connection_id":160145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":160145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:08:10] local.INFO: TCP Data received {"connection_id":160145,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:08:10] local.INFO: Processing buffer {"connection_id":160145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:08:10] local.INFO: Packet analysis {"connection_id":160145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:08:10] local.INFO: Extracted packet for processing {"connection_id":160145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:08:10] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":49,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504857344001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787128650000,"timestamp_ms":1787128650000,"timestamp_seconds":1787128650,"priority":1,"record_length":96,"hex_timestamp":"000001a0192b1910"} 
[2026-08-19 14:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 14:08:10] 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-08-19 14: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-08-19 14:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504857344001,"66":25897,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504857344001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:08:10] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:08:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504857344001,"power":25897,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":160145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:08:10] local.INFO: GPS data processed {"connection_id":160145,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:08:10] local.INFO: Acknowledgment sent {"connection_id":160145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:08:11] local.INFO: TCP Data received {"connection_id":160145,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:08:11] local.INFO: Processing buffer {"connection_id":160145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:08:11] local.INFO: Packet analysis {"connection_id":160145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:08:11] local.INFO: Extracted packet for processing {"connection_id":160145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:08:11] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":49,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504857344001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:08:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787128650000,"timestamp_ms":1787128650000,"timestamp_seconds":1787128650,"priority":1,"record_length":96,"hex_timestamp":"000001a0192b1910"} 
[2026-08-19 14:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 14:08:11] 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-08-19 14:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504857344001,"66":25897,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504857344001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:08:11] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:08:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:08:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504857344001,"power":25897,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":160145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:08:11] local.INFO: GPS data processed {"connection_id":160145,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:08:11] local.INFO: Acknowledgment sent {"connection_id":160145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:08:42] local.INFO: TCP Data received {"connection_id":160145,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:08:42] local.INFO: Processing buffer {"connection_id":160145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:08:42] local.INFO: Packet analysis {"connection_id":160145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:08:42] local.INFO: Extracted packet for processing {"connection_id":160145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:08:42] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":49,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504857344001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:08:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787128650000,"timestamp_ms":1787128650000,"timestamp_seconds":1787128650,"priority":1,"record_length":96,"hex_timestamp":"000001a0192b1910"} 
[2026-08-19 14:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 14:08:42] 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-08-19 14: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-08-19 14:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504857344001,"66":25897,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504857344001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:08:42] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:08:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:08:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504857344001,"power":25897,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":160145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:08:42] local.INFO: GPS data processed {"connection_id":160145,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:08:42] local.INFO: Acknowledgment sent {"connection_id":160145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:09:00] local.INFO: TCP Data received {"connection_id":158838,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:09:00] local.INFO: Processing buffer {"connection_id":158838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:09:00] local.INFO: IMEI packet received {"connection_id":158838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":158838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:09:04] local.INFO: TCP Data received {"connection_id":158838,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:09:04] local.INFO: Processing buffer {"connection_id":158838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:09:04] local.INFO: IMEI packet received {"connection_id":158838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":158838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:09:06] local.INFO: TCP Data received {"connection_id":158838,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:09:06] local.INFO: Processing buffer {"connection_id":158838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:09:06] local.INFO: Packet analysis {"connection_id":158838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:09:06] local.INFO: Extracted packet for processing {"connection_id":158838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:09:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":49,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504857344001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:09:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787128650000,"timestamp_ms":1787128650000,"timestamp_seconds":1787128650,"priority":1,"record_length":96,"hex_timestamp":"000001a0192b1910"} 
[2026-08-19 14:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 14:09:06] 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-08-19 14:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504857344001,"66":25897,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504857344001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:09:06] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:09:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:09:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504857344001,"power":25897,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":158838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:09:06] local.INFO: GPS data processed {"connection_id":158838,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:09:06] local.INFO: Acknowledgment sent {"connection_id":158838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:09:38] local.INFO: TCP Data received {"connection_id":158838,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:09:38] local.INFO: Processing buffer {"connection_id":158838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:09:38] local.INFO: Packet analysis {"connection_id":158838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:09:38] local.INFO: Extracted packet for processing {"connection_id":158838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:09:38] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":49,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 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-08-19 14:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504857344001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:09:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787128650000,"timestamp_ms":1787128650000,"timestamp_seconds":1787128650,"priority":1,"record_length":96,"hex_timestamp":"000001a0192b1910"} 
[2026-08-19 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-08-19 14:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 14:09:38] 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-08-19 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-08-19 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-08-19 14:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504857344001,"66":25897,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504857344001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:09:38] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:09:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:09:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504857344001,"power":25897,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":158838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:09:38] local.INFO: GPS data processed {"connection_id":158838,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:09:38] local.INFO: Acknowledgment sent {"connection_id":158838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:09:59] local.INFO: TCP Data received {"connection_id":160147,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:09:59] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:09:59] local.INFO: IMEI packet received {"connection_id":160147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":160147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:10:04] local.INFO: TCP Data received {"connection_id":160147,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:10:04] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:10:04] local.INFO: IMEI packet received {"connection_id":160147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":160147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:10:06] local.INFO: TCP Data received {"connection_id":160147,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:10:06] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:10:06] local.INFO: Packet analysis {"connection_id":160147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:10:06] local.INFO: Extracted packet for processing {"connection_id":160147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:10:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":49,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 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-08-19 14:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504857344001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:10:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787128650000,"timestamp_ms":1787128650000,"timestamp_seconds":1787128650,"priority":1,"record_length":96,"hex_timestamp":"000001a0192b1910"} 
[2026-08-19 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-08-19 14:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 14:10:06] 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-08-19 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-08-19 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-08-19 14:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504857344001,"66":25897,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504857344001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:10:06] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:10:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:10:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504857344001,"power":25897,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":160147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:10:06] local.INFO: GPS data processed {"connection_id":160147,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:10:06] local.INFO: Acknowledgment sent {"connection_id":160147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:10:38] local.INFO: TCP Data received {"connection_id":160147,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:10:38] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:10:38] local.INFO: Packet analysis {"connection_id":160147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:10:38] local.INFO: Extracted packet for processing {"connection_id":160147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:10:38] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":49,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504857344001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:10:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787128650000,"timestamp_ms":1787128650000,"timestamp_seconds":1787128650,"priority":1,"record_length":96,"hex_timestamp":"000001a0192b1910"} 
[2026-08-19 14:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 14:10:38] 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-08-19 14:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504857344001,"66":25897,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504857344001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:10:38] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:10:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:10:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504857344001,"power":25897,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":160147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:10:38] local.INFO: GPS data processed {"connection_id":160147,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:10:38] local.INFO: Acknowledgment sent {"connection_id":160147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:10:59] local.INFO: TCP Data received {"connection_id":157594,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:10:59] local.INFO: Processing buffer {"connection_id":157594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:10:59] local.INFO: IMEI packet received {"connection_id":157594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":157594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:11:04] local.INFO: TCP Data received {"connection_id":157594,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:11:04] local.INFO: Processing buffer {"connection_id":157594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:11:04] local.INFO: IMEI packet received {"connection_id":157594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":157594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:11:06] local.INFO: TCP Data received {"connection_id":157594,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:11:06] local.INFO: Processing buffer {"connection_id":157594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:11:06] local.INFO: Packet analysis {"connection_id":157594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:11:06] local.INFO: Extracted packet for processing {"connection_id":157594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:11:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":49,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504857344001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:11:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787128650000,"timestamp_ms":1787128650000,"timestamp_seconds":1787128650,"priority":1,"record_length":96,"hex_timestamp":"000001a0192b1910"} 
[2026-08-19 14:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 14:11:06] 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-08-19 14:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504857344001,"66":25897,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504857344001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:11:06] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:11:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:11:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504857344001,"power":25897,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":157594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:11:06] local.INFO: GPS data processed {"connection_id":157594,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:11:06] local.INFO: Acknowledgment sent {"connection_id":157594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:11:37] local.INFO: TCP Data received {"connection_id":157594,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:11:37] local.INFO: Processing buffer {"connection_id":157594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:11:37] local.INFO: Packet analysis {"connection_id":157594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:11:37] local.INFO: Extracted packet for processing {"connection_id":157594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:11:37] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":49,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504857344001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:11:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787128650000,"timestamp_ms":1787128650000,"timestamp_seconds":1787128650,"priority":1,"record_length":96,"hex_timestamp":"000001a0192b1910"} 
[2026-08-19 14:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 14:11:37] 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-08-19 14:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504857344001,"66":25897,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504857344001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:11:37] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:11:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:11:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504857344001,"power":25897,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":157594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:11:37] local.INFO: GPS data processed {"connection_id":157594,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:11:37] local.INFO: Acknowledgment sent {"connection_id":157594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:11:59] local.INFO: TCP Data received {"connection_id":157978,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:11:59] local.INFO: Processing buffer {"connection_id":157978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:11:59] local.INFO: IMEI packet received {"connection_id":157978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":157978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:12:04] local.INFO: TCP Data received {"connection_id":157978,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:12:04] local.INFO: Processing buffer {"connection_id":157978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:12:04] local.INFO: IMEI packet received {"connection_id":157978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":157978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:12:12] local.INFO: TCP Data received {"connection_id":157978,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:12:12] local.INFO: Processing buffer {"connection_id":157978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:12:12] local.INFO: Packet analysis {"connection_id":157978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:12:12] local.INFO: Extracted packet for processing {"connection_id":157978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:12:12] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":49,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504857344001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:12:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787128650000,"timestamp_ms":1787128650000,"timestamp_seconds":1787128650,"priority":1,"record_length":96,"hex_timestamp":"000001a0192b1910"} 
[2026-08-19 14:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 14:12:12] 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-08-19 14: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-08-19 14:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504857344001,"66":25897,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504857344001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:12:12] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:12:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:12:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504857344001,"power":25897,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":157978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:12:12] local.INFO: GPS data processed {"connection_id":157978,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:12:12] local.INFO: Acknowledgment sent {"connection_id":157978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:12:14] local.INFO: TCP Data received {"connection_id":157979,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:12:14] local.INFO: Processing buffer {"connection_id":157979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:12:14] local.INFO: IMEI packet received {"connection_id":157979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":157979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:12:19] local.INFO: TCP Data received {"connection_id":157979,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:12:19] local.INFO: Processing buffer {"connection_id":157979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:12:19] local.INFO: IMEI packet received {"connection_id":157979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":157979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:12:20] local.INFO: TCP Data received {"connection_id":157979,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0192da180012d1820c00721b150004c00e426..."} 
[2026-08-19 14:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192da180012d1820c00721b150004c00e426..."} 
[2026-08-19 14:12:20] local.INFO: Processing buffer {"connection_id":157979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192da180012d1820c00721b150004c00e426..."} 
[2026-08-19 14:12:20] local.INFO: Packet analysis {"connection_id":157979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192d"} 
[2026-08-19 14:12:20] local.INFO: Extracted packet for processing {"connection_id":157979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192d"} 
[2026-08-19 14:12:20] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648592,"longitude_deg":75.6555968,"latitude_deg":11.9648592,"altitude":76,"angle":228,"satellites":38,"speed":6,"hex_longitude":"2d1820c0","hex_latitude":"0721b150","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504974080001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747288371363840,"note":"Value kept but may cause issues"} 
[2026-08-19 14:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260155904,"note":"Value kept but may cause issues"} 
[2026-08-19 14:12:20] 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-08-19 14:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787128816000,"timestamp_ms":1787128816000,"timestamp_seconds":1787128816,"priority":1,"record_length":96,"hex_timestamp":"000001a0192da180"} 
[2026-08-19 14:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:12: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-08-19 14:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 14:12:20] 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-08-19 14: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-08-19 14:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504974080001,"66":13254,"120":206,"28":31744,"24":6,"16":13747288371363840,"45":1738811699260155904},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504974080001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:12:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:12:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747288371363840,"km_value":13747288371363.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260155904,"description":"Unknown IO ID 45"} 
[2026-08-19 14:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504974080001,"power":13254,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1738811699260155904}} 
[2026-08-19 14:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":157979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:12:20] local.INFO: GPS data processed {"connection_id":157979,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:12:20] local.INFO: Acknowledgment sent {"connection_id":157979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:12:21] local.INFO: TCP Data received {"connection_id":157979,"ip":"117.224.158.208","data_length":327,"data_hex":"000000000000013b8e04000001a0192da568012d1820000721b0c8004c00d524..."} 
[2026-08-19 14:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157979,"packet_length":327,"packet_hex":"000000000000013b8e04000001a0192da568012d1820000721b0c8004c00d524..."} 
[2026-08-19 14:12:21] local.INFO: Processing buffer {"connection_id":157979,"buffer_length":327,"buffer_hex":"000000000000013b8e04000001a0192da568012d1820000721b0c8004c00d524..."} 
[2026-08-19 14:12:21] local.INFO: Packet analysis {"connection_id":157979,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000001a0192d"} 
[2026-08-19 14:12:21] local.INFO: Extracted packet for processing {"connection_id":157979,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000001a0192d"} 
[2026-08-19 14:12:21] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648456,"longitude_deg":75.6555776,"latitude_deg":11.9648456,"altitude":76,"angle":213,"satellites":36,"speed":7,"hex_longitude":"2d182000","hex_latitude":"0721b0c8","is_valid_coordinates":true} 
[2026-08-19 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":327,"current_offset":40} 
[2026-08-19 14:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504976896001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747296961298432,"note":"Value kept but may cause issues"} 
[2026-08-19 14:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027584000,"note":"Value kept but may cause issues"} 
[2026-08-19 14:12:21] 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-08-19 14:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787128817000,"timestamp_ms":1787128817000,"timestamp_seconds":1787128817,"priority":1,"record_length":96,"hex_timestamp":"000001a0192da568"} 
[2026-08-19 14:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:12:21] 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-08-19 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":51,"n8_eight_byte":198,"data_length":327,"current_offset":136} 
[2026-08-19 14:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:12:21] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":157979,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-19 14:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":157979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":157979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504976896001,"66":13254,"120":206,"28":31744,"24":7,"16":13747296961298432,"45":1738600593027584000},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504976896001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:12:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:12:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747296961298432,"km_value":13747296961298.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027584000,"description":"Unknown IO ID 45"} 
[2026-08-19 14:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504976896001,"power":13254,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1738600593027584000}} 
[2026-08-19 14:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":157979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:12:21] local.INFO: GPS data processed {"connection_id":157979,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:12:21] local.INFO: Acknowledgment sent {"connection_id":157979,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:12:44] local.INFO: TCP Data received {"connection_id":157978,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:12:44] local.INFO: Processing buffer {"connection_id":157978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192b1910012cfd7b8007182260002e00e931..."} 
[2026-08-19 14:12:44] local.INFO: Packet analysis {"connection_id":157978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:12:44] local.INFO: Extracted packet for processing {"connection_id":157978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192b"} 
[2026-08-19 14:12:44] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":49,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504857344001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:12:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787128650000,"timestamp_ms":1787128650000,"timestamp_seconds":1787128650,"priority":1,"record_length":96,"hex_timestamp":"000001a0192b1910"} 
[2026-08-19 14:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 14:12:44] 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-08-19 14: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-08-19 14:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504857344001,"66":25897,"190":206,"28":31744,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,28,24,16,44]} 
[2026-08-19 14:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504857344001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:12:44] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-19 14:12:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:12:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504857344001,"power":25897,"unknown_190":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":157978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:12:44] local.INFO: GPS data processed {"connection_id":157978,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:12:44] local.INFO: Acknowledgment sent {"connection_id":157978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:12:52] local.INFO: TCP Data received {"connection_id":157979,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0192da950012d1820000721b038004c00c424..."} 
[2026-08-19 14:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192da950012d1820000721b038004c00c424..."} 
[2026-08-19 14:12:52] local.INFO: Processing buffer {"connection_id":157979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192da950012d1820000721b038004c00c424..."} 
[2026-08-19 14:12:52] local.INFO: Packet analysis {"connection_id":157979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192d"} 
[2026-08-19 14:12:52] local.INFO: Extracted packet for processing {"connection_id":157979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192d"} 
[2026-08-19 14:12:52] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648312,"longitude_deg":75.6555776,"latitude_deg":11.9648312,"altitude":76,"angle":196,"satellites":36,"speed":6,"hex_longitude":"2d182000","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504977152001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747301256265728,"note":"Value kept but may cause issues"} 
[2026-08-19 14:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795016192,"note":"Value kept but may cause issues"} 
[2026-08-19 14:12:52] 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-08-19 14:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787128818000,"timestamp_ms":1787128818000,"timestamp_seconds":1787128818,"priority":1,"record_length":96,"hex_timestamp":"000001a0192da950"} 
[2026-08-19 14:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-19 14:12:52] 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-08-19 14: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-08-19 14:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":157979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":157979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":157979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504977152001,"66":12798,"120":206,"28":31744,"24":6,"16":13747301256265728,"45":1738389486795016192},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504977152001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:12:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:12:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747301256265728,"km_value":13747301256265.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795016192,"description":"Unknown IO ID 45"} 
[2026-08-19 14:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504977152001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1738389486795016192}} 
[2026-08-19 14:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":157979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:12:52] local.INFO: GPS data processed {"connection_id":157979,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:12:52] local.INFO: Acknowledgment sent {"connection_id":157979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:13:05] local.INFO: TCP Data received {"connection_id":157595,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:13:05] local.INFO: Processing buffer {"connection_id":157595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:13:05] local.INFO: IMEI packet received {"connection_id":157595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":157595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:13:09] local.INFO: TCP Data received {"connection_id":158840,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:13:09] local.INFO: Processing buffer {"connection_id":158840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:13:09] local.INFO: IMEI packet received {"connection_id":158840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":158840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:13:09] local.INFO: TCP Data received {"connection_id":157595,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:13:09] local.INFO: Processing buffer {"connection_id":157595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:13:09] local.INFO: IMEI packet received {"connection_id":157595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":157595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:13:11] local.INFO: TCP Data received {"connection_id":157595,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:13:11] local.INFO: Processing buffer {"connection_id":157595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:13:11] local.INFO: Packet analysis {"connection_id":157595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:13:11] local.INFO: Extracted packet for processing {"connection_id":157595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:13:11] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504934400001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787128951000,"timestamp_ms":1787128951000,"timestamp_seconds":1787128951,"priority":1,"record_length":96,"hex_timestamp":"000001a0192fb0d8"} 
[2026-08-19 14:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 14:13:11] 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-08-19 14: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-08-19 14:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504934400001,"66":25875,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504934400001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:13:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504934400001,"power":25875,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":157595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:13:11] local.INFO: GPS data processed {"connection_id":157595,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:13:11] local.INFO: Acknowledgment sent {"connection_id":157595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:13:12] local.INFO: TCP Data received {"connection_id":157595,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:13:12] local.INFO: Processing buffer {"connection_id":157595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:13:12] local.INFO: Packet analysis {"connection_id":157595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:13:12] local.INFO: Extracted packet for processing {"connection_id":157595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:13:12] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504934400001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:13:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787128951000,"timestamp_ms":1787128951000,"timestamp_seconds":1787128951,"priority":1,"record_length":96,"hex_timestamp":"000001a0192fb0d8"} 
[2026-08-19 14:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 14:13:12] 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-08-19 14: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-08-19 14:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504934400001,"66":25875,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504934400001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:13:12] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:13:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504934400001,"power":25875,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":157595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:13:12] local.INFO: GPS data processed {"connection_id":157595,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:13:12] local.INFO: Acknowledgment sent {"connection_id":157595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:13:14] local.INFO: TCP Data received {"connection_id":158840,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:13:14] local.INFO: Processing buffer {"connection_id":158840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:13:14] local.INFO: IMEI packet received {"connection_id":158840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":158840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:13:15] local.INFO: TCP Data received {"connection_id":158840,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0192dfb58012d181e400721ae68004b00cd22..."} 
[2026-08-19 14:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192dfb58012d181e400721ae68004b00cd22..."} 
[2026-08-19 14:13:15] local.INFO: Processing buffer {"connection_id":158840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192dfb58012d181e400721ae68004b00cd22..."} 
[2026-08-19 14:13:15] local.INFO: Packet analysis {"connection_id":158840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192d"} 
[2026-08-19 14:13:15] local.INFO: Extracted packet for processing {"connection_id":158840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192d"} 
[2026-08-19 14:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647848,"longitude_deg":75.6555328,"latitude_deg":11.9647848,"altitude":75,"angle":205,"satellites":34,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504977408001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747335616004096,"note":"Value kept but may cause issues"} 
[2026-08-19 14:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794979328,"note":"Value kept but may cause issues"} 
[2026-08-19 14:13: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-08-19 14:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787128839000,"timestamp_ms":1787128839000,"timestamp_seconds":1787128839,"priority":1,"record_length":96,"hex_timestamp":"000001a0192dfb58"} 
[2026-08-19 14:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:13:15] 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-08-19 14:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-19 14:13:15] 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-08-19 14:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504977408001,"66":13135,"120":206,"28":31744,"24":0,"16":13747335616004096,"45":1738389486794979328},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504977408001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:13:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:13:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747335616004096,"km_value":13747335616004.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794979328,"description":"Unknown IO ID 45"} 
[2026-08-19 14:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504977408001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486794979328}} 
[2026-08-19 14:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":158840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:13:15] local.INFO: GPS data processed {"connection_id":158840,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:13:15] local.INFO: Acknowledgment sent {"connection_id":158840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:13:43] local.INFO: TCP Data received {"connection_id":157595,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:13:43] local.INFO: Processing buffer {"connection_id":157595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:13:43] local.INFO: Packet analysis {"connection_id":157595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:13:43] local.INFO: Extracted packet for processing {"connection_id":157595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:13:43] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504934400001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:13:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787128951000,"timestamp_ms":1787128951000,"timestamp_seconds":1787128951,"priority":1,"record_length":96,"hex_timestamp":"000001a0192fb0d8"} 
[2026-08-19 14:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 14:13:43] 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-08-19 14: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-08-19 14:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504934400001,"66":25875,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504934400001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:13:43] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:13:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504934400001,"power":25875,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":157595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:13:43] local.INFO: GPS data processed {"connection_id":157595,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:13:43] local.INFO: Acknowledgment sent {"connection_id":157595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:13:46] local.INFO: TCP Data received {"connection_id":158840,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0192e4d60012d181e400721ae68004b00cd25..."} 
[2026-08-19 14:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192e4d60012d181e400721ae68004b00cd25..."} 
[2026-08-19 14:13:46] local.INFO: Processing buffer {"connection_id":158840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192e4d60012d181e400721ae68004b00cd25..."} 
[2026-08-19 14:13:46] local.INFO: Packet analysis {"connection_id":158840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192e"} 
[2026-08-19 14:13:46] local.INFO: Extracted packet for processing {"connection_id":158840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192e"} 
[2026-08-19 14:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647848,"longitude_deg":75.6555328,"latitude_deg":11.9647848,"altitude":75,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-19 14:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504982784001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747335616004096,"note":"Value kept but may cause issues"} 
[2026-08-19 14:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585616896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:13:46] 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-08-19 14:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787128860000,"timestamp_ms":1787128860000,"timestamp_seconds":1787128860,"priority":1,"record_length":96,"hex_timestamp":"000001a0192e4d60"} 
[2026-08-19 14:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:13: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-08-19 14:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 14:13:46] 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-08-19 14:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504982784001,"66":12591,"120":206,"28":31744,"24":0,"16":13747335616004096,"45":1737896905585616896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504982784001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:13:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:13:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747335616004096,"km_value":13747335616004.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585616896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504982784001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585616896}} 
[2026-08-19 14:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":158840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:13:46] local.INFO: GPS data processed {"connection_id":158840,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:13:46] local.INFO: Acknowledgment sent {"connection_id":158840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:13:59] local.INFO: TCP Data received {"connection_id":157980,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:13:59] local.INFO: Processing buffer {"connection_id":157980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:13:59] local.INFO: IMEI packet received {"connection_id":157980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":157980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:14:04] local.INFO: TCP Data received {"connection_id":157980,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:14:04] local.INFO: Processing buffer {"connection_id":157980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:14:04] local.INFO: IMEI packet received {"connection_id":157980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":157980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:14:06] local.INFO: TCP Data received {"connection_id":157980,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:14:06] local.INFO: Processing buffer {"connection_id":157980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:14:06] local.INFO: Packet analysis {"connection_id":157980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:14:06] local.INFO: Extracted packet for processing {"connection_id":157980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 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-08-19 14:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504934400001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:14:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787128951000,"timestamp_ms":1787128951000,"timestamp_seconds":1787128951,"priority":1,"record_length":96,"hex_timestamp":"000001a0192fb0d8"} 
[2026-08-19 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-08-19 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 14:14:06] 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-08-19 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-08-19 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-08-19 14:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504934400001,"66":25875,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504934400001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:14:06] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:14:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504934400001,"power":25875,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":157980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:14:06] local.INFO: GPS data processed {"connection_id":157980,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:14:06] local.INFO: Acknowledgment sent {"connection_id":157980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:14:09] local.INFO: TCP Data received {"connection_id":160148,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:14:09] local.INFO: Processing buffer {"connection_id":160148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:14:09] local.INFO: IMEI packet received {"connection_id":160148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":160148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:14:14] local.INFO: TCP Data received {"connection_id":160148,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:14:14] local.INFO: Processing buffer {"connection_id":160148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:14:14] local.INFO: IMEI packet received {"connection_id":160148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":160148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:14:15] local.INFO: TCP Data received {"connection_id":160148,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0192e9f68012d181e400721ae68004b00cd26..."} 
[2026-08-19 14:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192e9f68012d181e400721ae68004b00cd26..."} 
[2026-08-19 14:14:15] local.INFO: Processing buffer {"connection_id":160148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192e9f68012d181e400721ae68004b00cd26..."} 
[2026-08-19 14:14:15] local.INFO: Packet analysis {"connection_id":160148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192e"} 
[2026-08-19 14:14:15] local.INFO: Extracted packet for processing {"connection_id":160148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192e"} 
[2026-08-19 14:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647848,"longitude_deg":75.6555328,"latitude_deg":11.9647848,"altitude":75,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504988160001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747335616004096,"note":"Value kept but may cause issues"} 
[2026-08-19 14:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585616896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:14: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-08-19 14:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787128881000,"timestamp_ms":1787128881000,"timestamp_seconds":1787128881,"priority":1,"record_length":96,"hex_timestamp":"000001a0192e9f68"} 
[2026-08-19 14:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:14: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-08-19 14: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 14:14:15] 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-08-19 14: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-08-19 14:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504988160001,"66":13080,"120":206,"28":31744,"24":0,"16":13747335616004096,"45":1737896905585616896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504988160001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:14:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:14:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747335616004096,"km_value":13747335616004.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585616896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504988160001,"power":13080,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585616896}} 
[2026-08-19 14:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":160148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:14:15] local.INFO: GPS data processed {"connection_id":160148,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:14:15] local.INFO: Acknowledgment sent {"connection_id":160148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:14:37] local.INFO: TCP Data received {"connection_id":157980,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:14:37] local.INFO: Processing buffer {"connection_id":157980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:14:37] local.INFO: Packet analysis {"connection_id":157980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:14:37] local.INFO: Extracted packet for processing {"connection_id":157980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:14:37] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504934400001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:14:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787128951000,"timestamp_ms":1787128951000,"timestamp_seconds":1787128951,"priority":1,"record_length":96,"hex_timestamp":"000001a0192fb0d8"} 
[2026-08-19 14:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 14:14:37] 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-08-19 14: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-08-19 14:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504934400001,"66":25875,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504934400001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:14:37] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:14:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504934400001,"power":25875,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":157980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:14:37] local.INFO: GPS data processed {"connection_id":157980,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:14:37] local.INFO: Acknowledgment sent {"connection_id":157980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:14:47] local.INFO: TCP Data received {"connection_id":160148,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0192ef170012d181e400721ae68004b00cd25..."} 
[2026-08-19 14:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192ef170012d181e400721ae68004b00cd25..."} 
[2026-08-19 14:14:47] local.INFO: Processing buffer {"connection_id":160148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192ef170012d181e400721ae68004b00cd25..."} 
[2026-08-19 14:14:47] local.INFO: Packet analysis {"connection_id":160148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192e"} 
[2026-08-19 14:14:47] local.INFO: Extracted packet for processing {"connection_id":160148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192e"} 
[2026-08-19 14:14:47] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647848,"longitude_deg":75.6555328,"latitude_deg":11.9647848,"altitude":75,"angle":205,"satellites":37,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504993536001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747335616004096,"note":"Value kept but may cause issues"} 
[2026-08-19 14:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585616896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:14:47] 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-08-19 14:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787128902000,"timestamp_ms":1787128902000,"timestamp_seconds":1787128902,"priority":1,"record_length":96,"hex_timestamp":"000001a0192ef170"} 
[2026-08-19 14:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 14:14:47] 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-08-19 14: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-08-19 14:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504993536001,"66":12972,"120":206,"28":31744,"24":0,"16":13747335616004096,"45":1737896905585616896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504993536001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:14:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:14:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747335616004096,"km_value":13747335616004.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585616896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504993536001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585616896}} 
[2026-08-19 14:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":160148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:14:47] local.INFO: GPS data processed {"connection_id":160148,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:14:47] local.INFO: Acknowledgment sent {"connection_id":160148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:14:59] local.INFO: TCP Data received {"connection_id":160149,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:14:59] local.INFO: Processing buffer {"connection_id":160149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:14:59] local.INFO: IMEI packet received {"connection_id":160149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":160149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:15:04] local.INFO: TCP Data received {"connection_id":160149,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:15:04] local.INFO: Processing buffer {"connection_id":160149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:15:04] local.INFO: IMEI packet received {"connection_id":160149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":160149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:15:06] local.INFO: TCP Data received {"connection_id":160149,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:15:06] local.INFO: Processing buffer {"connection_id":160149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:15:06] local.INFO: Packet analysis {"connection_id":160149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:15:06] local.INFO: Extracted packet for processing {"connection_id":160149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:15:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504934400001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:15:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787128951000,"timestamp_ms":1787128951000,"timestamp_seconds":1787128951,"priority":1,"record_length":96,"hex_timestamp":"000001a0192fb0d8"} 
[2026-08-19 14:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 14:15:06] 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-08-19 14:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504934400001,"66":25875,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504934400001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:15:06] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:15:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504934400001,"power":25875,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":160149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:15:06] local.INFO: GPS data processed {"connection_id":160149,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:15:06] local.INFO: Acknowledgment sent {"connection_id":160149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:15:08] local.INFO: TCP Data received {"connection_id":157981,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:15:08] local.INFO: Processing buffer {"connection_id":157981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:15:08] local.INFO: IMEI packet received {"connection_id":157981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":157981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:15:13] local.INFO: TCP Data received {"connection_id":157981,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:15:13] local.INFO: Processing buffer {"connection_id":157981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:15:13] local.INFO: IMEI packet received {"connection_id":157981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":157981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:15:14] local.INFO: TCP Data received {"connection_id":157981,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0192f4378012d181e400721ae68004b00cd26..."} 
[2026-08-19 14:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192f4378012d181e400721ae68004b00cd26..."} 
[2026-08-19 14:15:14] local.INFO: Processing buffer {"connection_id":157981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192f4378012d181e400721ae68004b00cd26..."} 
[2026-08-19 14:15:14] local.INFO: Packet analysis {"connection_id":157981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:15:14] local.INFO: Extracted packet for processing {"connection_id":157981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:15:14] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647848,"longitude_deg":75.6555328,"latitude_deg":11.9647848,"altitude":75,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504998912001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747335616004096,"note":"Value kept but may cause issues"} 
[2026-08-19 14:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585616896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:15:14] 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-08-19 14:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787128923000,"timestamp_ms":1787128923000,"timestamp_seconds":1787128923,"priority":1,"record_length":96,"hex_timestamp":"000001a0192f4378"} 
[2026-08-19 14:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:15: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-08-19 14: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 14:15:14] 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-08-19 14: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-08-19 14:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504998912001,"66":13004,"120":206,"28":31744,"24":0,"16":13747335616004096,"45":1737896905585616896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504998912001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:15:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:15:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747335616004096,"km_value":13747335616004.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585616896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504998912001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585616896}} 
[2026-08-19 14:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":157981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:15:15] local.INFO: GPS data processed {"connection_id":157981,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:15:15] local.INFO: Acknowledgment sent {"connection_id":157981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:15:37] local.INFO: TCP Data received {"connection_id":160149,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:15:37] local.INFO: Processing buffer {"connection_id":160149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:15:37] local.INFO: Packet analysis {"connection_id":160149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:15:37] local.INFO: Extracted packet for processing {"connection_id":160149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:15:37] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504934400001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787128951000,"timestamp_ms":1787128951000,"timestamp_seconds":1787128951,"priority":1,"record_length":96,"hex_timestamp":"000001a0192fb0d8"} 
[2026-08-19 14:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 14:15:37] 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-08-19 14:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504934400001,"66":25875,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504934400001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:15:37] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504934400001,"power":25875,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":160149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:15:37] local.INFO: GPS data processed {"connection_id":160149,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:15:37] local.INFO: Acknowledgment sent {"connection_id":160149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:15:46] local.INFO: TCP Data received {"connection_id":157981,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0192f9198012d181e400721ae68004b00cd27..."} 
[2026-08-19 14:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192f9198012d181e400721ae68004b00cd27..."} 
[2026-08-19 14:15:46] local.INFO: Processing buffer {"connection_id":157981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192f9198012d181e400721ae68004b00cd27..."} 
[2026-08-19 14:15:46] local.INFO: Packet analysis {"connection_id":157981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:15:46] local.INFO: Extracted packet for processing {"connection_id":157981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647848,"longitude_deg":75.6555328,"latitude_deg":11.9647848,"altitude":75,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-19 14:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505004288001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747335616004096,"note":"Value kept but may cause issues"} 
[2026-08-19 14:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585616896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:15:46] 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-08-19 14:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787128943000,"timestamp_ms":1787128943000,"timestamp_seconds":1787128943,"priority":1,"record_length":96,"hex_timestamp":"000001a0192f9198"} 
[2026-08-19 14:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-19 14:15:46] 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-08-19 14:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505004288001,"66":12982,"120":206,"28":31744,"24":0,"16":13747335616004096,"45":1737896905585616896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505004288001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:15:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:15:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747335616004096,"km_value":13747335616004.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585616896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505004288001,"power":12982,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585616896}} 
[2026-08-19 14:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":157981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:15:46] local.INFO: GPS data processed {"connection_id":157981,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:15:46] local.INFO: Acknowledgment sent {"connection_id":157981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:16:04] local.INFO: TCP Data received {"connection_id":160150,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:16:04] local.INFO: Processing buffer {"connection_id":160150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:16:04] local.INFO: IMEI packet received {"connection_id":160150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":160150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:16:08] local.INFO: TCP Data received {"connection_id":158841,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:16:08] local.INFO: Processing buffer {"connection_id":158841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:16:08] local.INFO: IMEI packet received {"connection_id":158841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":158841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:16:09] local.INFO: TCP Data received {"connection_id":160150,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:16:09] local.INFO: Processing buffer {"connection_id":160150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:16:09] local.INFO: IMEI packet received {"connection_id":160150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":160150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:16:11] local.INFO: TCP Data received {"connection_id":160150,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:16:11] local.INFO: Processing buffer {"connection_id":160150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:16:11] local.INFO: Packet analysis {"connection_id":160150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:16:11] local.INFO: Extracted packet for processing {"connection_id":160150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:16:11] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 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-08-19 14:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504934400001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:16:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787128951000,"timestamp_ms":1787128951000,"timestamp_seconds":1787128951,"priority":1,"record_length":96,"hex_timestamp":"000001a0192fb0d8"} 
[2026-08-19 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-08-19 14:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 14:16:11] 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-08-19 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-08-19 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-08-19 14:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504934400001,"66":25875,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504934400001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:16:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:16:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504934400001,"power":25875,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":160150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:16:11] local.INFO: GPS data processed {"connection_id":160150,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:16:11] local.INFO: Acknowledgment sent {"connection_id":160150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:16:14] local.INFO: TCP Data received {"connection_id":158841,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:16:14] local.INFO: Processing buffer {"connection_id":158841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:16:14] local.INFO: IMEI packet received {"connection_id":158841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":158841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:16:15] local.INFO: TCP Data received {"connection_id":160150,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:16:15] local.INFO: Processing buffer {"connection_id":160150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:16:15] local.INFO: Packet analysis {"connection_id":160150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:16:15] local.INFO: Extracted packet for processing {"connection_id":160150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:16:15] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504934400001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:16:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787128951000,"timestamp_ms":1787128951000,"timestamp_seconds":1787128951,"priority":1,"record_length":96,"hex_timestamp":"000001a0192fb0d8"} 
[2026-08-19 14:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 14:16:15] 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-08-19 14:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504934400001,"66":25875,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504934400001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:16:15] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:16:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504934400001,"power":25875,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":160150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:16:15] local.INFO: GPS data processed {"connection_id":160150,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:16:15] local.INFO: Acknowledgment sent {"connection_id":160150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:16:15] local.INFO: TCP Data received {"connection_id":158841,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0192fe3a0012d181e400721ae68004b00cd26..."} 
[2026-08-19 14:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192fe3a0012d181e400721ae68004b00cd26..."} 
[2026-08-19 14:16:15] local.INFO: Processing buffer {"connection_id":158841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192fe3a0012d181e400721ae68004b00cd26..."} 
[2026-08-19 14:16:15] local.INFO: Packet analysis {"connection_id":158841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:16:15] local.INFO: Extracted packet for processing {"connection_id":158841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647848,"longitude_deg":75.6555328,"latitude_deg":11.9647848,"altitude":75,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-19 14:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505009408001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747335616004096,"note":"Value kept but may cause issues"} 
[2026-08-19 14:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585616896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:16: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-08-19 14:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787128964000,"timestamp_ms":1787128964000,"timestamp_seconds":1787128964,"priority":1,"record_length":96,"hex_timestamp":"000001a0192fe3a0"} 
[2026-08-19 14:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:16:15] 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-08-19 14:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-19 14:16: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-08-19 14:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505009408001,"66":12972,"120":206,"28":31744,"24":0,"16":13747335616004096,"45":1737896905585616896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505009408001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:16:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:16:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747335616004096,"km_value":13747335616004.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585616896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505009408001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585616896}} 
[2026-08-19 14:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":158841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:16:15] local.INFO: GPS data processed {"connection_id":158841,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:16:15] local.INFO: Acknowledgment sent {"connection_id":158841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:16:47] local.INFO: TCP Data received {"connection_id":158841,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193035a8012d181e400721ae68004b00cd28..."} 
[2026-08-19 14:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193035a8012d181e400721ae68004b00cd28..."} 
[2026-08-19 14:16:47] local.INFO: Processing buffer {"connection_id":158841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193035a8012d181e400721ae68004b00cd28..."} 
[2026-08-19 14:16:47] local.INFO: Packet analysis {"connection_id":158841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01930"} 
[2026-08-19 14:16:47] local.INFO: Extracted packet for processing {"connection_id":158841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01930"} 
[2026-08-19 14:16:47] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647848,"longitude_deg":75.6555328,"latitude_deg":11.9647848,"altitude":75,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505014784001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747335616004096,"note":"Value kept but may cause issues"} 
[2026-08-19 14:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585616896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:16:47] 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-08-19 14:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787128985000,"timestamp_ms":1787128985000,"timestamp_seconds":1787128985,"priority":1,"record_length":96,"hex_timestamp":"000001a0193035a8"} 
[2026-08-19 14:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 14:16:47] 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-08-19 14: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-08-19 14:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505014784001,"66":12939,"120":206,"28":31744,"24":0,"16":13747335616004096,"45":1737896905585616896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505014784001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:16:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:16:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747335616004096,"km_value":13747335616004.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585616896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505014784001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585616896}} 
[2026-08-19 14:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":158841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:16:47] local.INFO: GPS data processed {"connection_id":158841,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:16:47] local.INFO: Acknowledgment sent {"connection_id":158841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:16:59] local.INFO: TCP Data received {"connection_id":158842,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:16:59] local.INFO: Processing buffer {"connection_id":158842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:16:59] local.INFO: IMEI packet received {"connection_id":158842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":158842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:17:04] local.INFO: TCP Data received {"connection_id":158842,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:17:04] local.INFO: Processing buffer {"connection_id":158842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:17:04] local.INFO: IMEI packet received {"connection_id":158842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":158842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:17:06] local.INFO: TCP Data received {"connection_id":158842,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:17:06] local.INFO: Processing buffer {"connection_id":158842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:17:06] local.INFO: Packet analysis {"connection_id":158842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:17:06] local.INFO: Extracted packet for processing {"connection_id":158842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:17:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504934400001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:17:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787128951000,"timestamp_ms":1787128951000,"timestamp_seconds":1787128951,"priority":1,"record_length":96,"hex_timestamp":"000001a0192fb0d8"} 
[2026-08-19 14:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 14:17:06] 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-08-19 14: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-08-19 14:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504934400001,"66":25875,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504934400001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:17:06] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:17:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504934400001,"power":25875,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":158842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:17:06] local.INFO: GPS data processed {"connection_id":158842,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:17:06] local.INFO: Acknowledgment sent {"connection_id":158842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:17:08] local.INFO: TCP Data received {"connection_id":160151,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:17:08] local.INFO: Processing buffer {"connection_id":160151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:17:08] local.INFO: IMEI packet received {"connection_id":160151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":160151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:17:10] local.INFO: TCP Data received {"connection_id":158842,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:17:10] local.INFO: Processing buffer {"connection_id":158842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:17:10] local.INFO: Packet analysis {"connection_id":158842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:17:10] local.INFO: Extracted packet for processing {"connection_id":158842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:17:10] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504934400001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787128951000,"timestamp_ms":1787128951000,"timestamp_seconds":1787128951,"priority":1,"record_length":96,"hex_timestamp":"000001a0192fb0d8"} 
[2026-08-19 14:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 14:17:10] 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-08-19 14: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-08-19 14:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504934400001,"66":25875,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504934400001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:17:10] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504934400001,"power":25875,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":158842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:17:10] local.INFO: GPS data processed {"connection_id":158842,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:17:10] local.INFO: Acknowledgment sent {"connection_id":158842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:17:14] local.INFO: TCP Data received {"connection_id":160151,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:17:14] local.INFO: Processing buffer {"connection_id":160151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:17:14] local.INFO: IMEI packet received {"connection_id":160151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":160151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:17:15] local.INFO: TCP Data received {"connection_id":160151,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193087b0012d181e400721ae68004b00cd26..."} 
[2026-08-19 14:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193087b0012d181e400721ae68004b00cd26..."} 
[2026-08-19 14:17:15] local.INFO: Processing buffer {"connection_id":160151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193087b0012d181e400721ae68004b00cd26..."} 
[2026-08-19 14:17:15] local.INFO: Packet analysis {"connection_id":160151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01930"} 
[2026-08-19 14:17:15] local.INFO: Extracted packet for processing {"connection_id":160151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01930"} 
[2026-08-19 14:17:15] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647848,"longitude_deg":75.6555328,"latitude_deg":11.9647848,"altitude":75,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505020160001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747335616004096,"note":"Value kept but may cause issues"} 
[2026-08-19 14:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585616896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:17: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-08-19 14:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787129006000,"timestamp_ms":1787129006000,"timestamp_seconds":1787129006,"priority":1,"record_length":96,"hex_timestamp":"000001a0193087b0"} 
[2026-08-19 14:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:17:15] 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-08-19 14: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 14:17:15] 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-08-19 14: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-08-19 14:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505020160001,"66":12798,"120":206,"28":31744,"24":0,"16":13747335616004096,"45":1737896905585616896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505020160001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:17:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:17:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747335616004096,"km_value":13747335616004.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585616896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505020160001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585616896}} 
[2026-08-19 14:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":160151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:17:15] local.INFO: GPS data processed {"connection_id":160151,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:17:15] local.INFO: Acknowledgment sent {"connection_id":160151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:17:42] local.INFO: TCP Data received {"connection_id":158842,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:17:42] local.INFO: Processing buffer {"connection_id":158842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:17:42] local.INFO: Packet analysis {"connection_id":158842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:17:42] local.INFO: Extracted packet for processing {"connection_id":158842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:17:42] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504934400001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787128951000,"timestamp_ms":1787128951000,"timestamp_seconds":1787128951,"priority":1,"record_length":96,"hex_timestamp":"000001a0192fb0d8"} 
[2026-08-19 14:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 14:17:42] 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-08-19 14:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504934400001,"66":25875,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504934400001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:17:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504934400001,"power":25875,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":158842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:17:42] local.INFO: GPS data processed {"connection_id":158842,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:17:42] local.INFO: Acknowledgment sent {"connection_id":158842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:17:46] local.INFO: TCP Data received {"connection_id":160151,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01930dda0012d181e400721ae68004b00cd28..."} 
[2026-08-19 14:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01930dda0012d181e400721ae68004b00cd28..."} 
[2026-08-19 14:17:46] local.INFO: Processing buffer {"connection_id":160151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01930dda0012d181e400721ae68004b00cd28..."} 
[2026-08-19 14:17:46] local.INFO: Packet analysis {"connection_id":160151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01930"} 
[2026-08-19 14:17:46] local.INFO: Extracted packet for processing {"connection_id":160151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01930"} 
[2026-08-19 14:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647848,"longitude_deg":75.6555328,"latitude_deg":11.9647848,"altitude":75,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505025536001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747335616004096,"note":"Value kept but may cause issues"} 
[2026-08-19 14:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585616896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:17:46] 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-08-19 14:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787129028000,"timestamp_ms":1787129028000,"timestamp_seconds":1787129028,"priority":1,"record_length":96,"hex_timestamp":"000001a01930dda0"} 
[2026-08-19 14:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-19 14:17:46] 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-08-19 14: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-08-19 14:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505025536001,"66":12939,"120":206,"28":31744,"24":0,"16":13747335616004096,"45":1737896905585616896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505025536001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:17:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:17:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747335616004096,"km_value":13747335616004.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585616896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505025536001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585616896}} 
[2026-08-19 14:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":160151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:17:47] local.INFO: GPS data processed {"connection_id":160151,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:17:47] local.INFO: Acknowledgment sent {"connection_id":160151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:18:00] local.INFO: TCP Data received {"connection_id":158843,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:18:00] local.INFO: Processing buffer {"connection_id":158843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:18:00] local.INFO: IMEI packet received {"connection_id":158843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":158843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:18:04] local.INFO: TCP Data received {"connection_id":158843,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:18:04] local.INFO: Processing buffer {"connection_id":158843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:18:04] local.INFO: IMEI packet received {"connection_id":158843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":158843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:18:06] local.INFO: TCP Data received {"connection_id":158843,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:18:06] local.INFO: Processing buffer {"connection_id":158843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0192fb0d8012cfd7b8007182260002e00e92d..."} 
[2026-08-19 14:18:06] local.INFO: Packet analysis {"connection_id":158843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:18:06] local.INFO: Extracted packet for processing {"connection_id":158843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0192f"} 
[2026-08-19 14:18:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":45,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457504934400001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:18:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787128951000,"timestamp_ms":1787128951000,"timestamp_seconds":1787128951,"priority":1,"record_length":96,"hex_timestamp":"000001a0192fb0d8"} 
[2026-08-19 14:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 14:18:06] 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-08-19 14:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457504934400001,"66":25875,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457504934400001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:18:06] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:18:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457504934400001,"power":25875,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":158843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:18:06] local.INFO: GPS data processed {"connection_id":158843,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:18:06] local.INFO: Acknowledgment sent {"connection_id":158843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:18:08] local.INFO: TCP Data received {"connection_id":157982,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:18:08] local.INFO: Processing buffer {"connection_id":157982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:18:08] local.INFO: IMEI packet received {"connection_id":157982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":157982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:18:11] local.INFO: TCP Data received {"connection_id":157982,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:18:11] local.INFO: Processing buffer {"connection_id":157982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:18:11] local.INFO: IMEI packet received {"connection_id":157982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":157982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:18:13] local.INFO: TCP Data received {"connection_id":157982,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:18:13] local.INFO: Processing buffer {"connection_id":157982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:18:13] local.INFO: IMEI packet received {"connection_id":157982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":157982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:18:15] local.INFO: TCP Data received {"connection_id":157982,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019310898012d181d000721ade0004b00d92a..."} 
[2026-08-19 14:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019310898012d181d000721ade0004b00d92a..."} 
[2026-08-19 14:18:15] local.INFO: Processing buffer {"connection_id":157982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019310898012d181d000721ade0004b00d92a..."} 
[2026-08-19 14:18:15] local.INFO: Packet analysis {"connection_id":157982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01931"} 
[2026-08-19 14:18:15] local.INFO: Extracted packet for processing {"connection_id":157982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01931"} 
[2026-08-19 14:18:15] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647712,"longitude_deg":75.6555008,"latitude_deg":11.9647712,"altitude":75,"angle":217,"satellites":42,"speed":1,"hex_longitude":"2d181d00","hex_latitude":"0721ade0","is_valid_coordinates":true} 
[2026-08-19 14:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505031168001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747352795873280,"note":"Value kept but may cause issues"} 
[2026-08-19 14:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585616896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:18: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-08-19 14:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787129039000,"timestamp_ms":1787129039000,"timestamp_seconds":1787129039,"priority":1,"record_length":96,"hex_timestamp":"000001a019310898"} 
[2026-08-19 14:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:18:15] 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-08-19 14:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 14:18:15] 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-08-19 14:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505031168001,"66":12917,"120":206,"28":31744,"24":1,"16":13747352795873280,"45":1737896905585616896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505031168001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:18:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:18:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747352795873280,"km_value":13747352795873.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585616896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505031168001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1737896905585616896}} 
[2026-08-19 14:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":157982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:18:15] local.INFO: GPS data processed {"connection_id":157982,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:18:15] local.INFO: Acknowledgment sent {"connection_id":157982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:18:37] local.INFO: TCP Data received {"connection_id":158843,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:18:37] local.INFO: Processing buffer {"connection_id":158843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:18:37] local.INFO: Packet analysis {"connection_id":158843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:18:37] local.INFO: Extracted packet for processing {"connection_id":158843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:18:37] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505011456001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:18:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787129252000,"timestamp_ms":1787129252000,"timestamp_seconds":1787129252,"priority":1,"record_length":96,"hex_timestamp":"000001a0193448a0"} 
[2026-08-19 14:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 14:18:37] 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-08-19 14:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505011456001,"66":25843,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505011456001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:18:37] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:18:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505011456001,"power":25843,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":158843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:18:37] local.INFO: GPS data processed {"connection_id":158843,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:18:37] local.INFO: Acknowledgment sent {"connection_id":158843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:18:47] local.INFO: TCP Data received {"connection_id":157982,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019311838012d181cc00721ad40004b00cd28..."} 
[2026-08-19 14:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019311838012d181cc00721ad40004b00cd28..."} 
[2026-08-19 14:18:47] local.INFO: Processing buffer {"connection_id":157982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019311838012d181cc00721ad40004b00cd28..."} 
[2026-08-19 14:18:47] local.INFO: Packet analysis {"connection_id":157982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01931"} 
[2026-08-19 14:18:47] local.INFO: Extracted packet for processing {"connection_id":157982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01931"} 
[2026-08-19 14:18:47] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647552,"longitude_deg":75.6554944,"latitude_deg":11.9647552,"altitude":75,"angle":205,"satellites":40,"speed":1,"hex_longitude":"2d181cc0","hex_latitude":"0721ad40","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505033984001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747361385807872,"note":"Value kept but may cause issues"} 
[2026-08-19 14:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864693760,"note":"Value kept but may cause issues"} 
[2026-08-19 14:18:47] 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-08-19 14:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787129043000,"timestamp_ms":1787129043000,"timestamp_seconds":1787129043,"priority":1,"record_length":96,"hex_timestamp":"000001a019311838"} 
[2026-08-19 14:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 14:18:47] 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-08-19 14: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-08-19 14:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505033984001,"66":12798,"120":206,"28":31744,"24":1,"16":13747361385807872,"45":1737545061864693760},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505033984001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:18:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:18:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747361385807872,"km_value":13747361385807.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864693760,"description":"Unknown IO ID 45"} 
[2026-08-19 14:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505033984001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1737545061864693760}} 
[2026-08-19 14:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":157982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":664999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:18:47] local.INFO: GPS data processed {"connection_id":157982,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:18:47] local.INFO: Acknowledgment sent {"connection_id":157982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:18:59] local.INFO: TCP Data received {"connection_id":160152,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:18:59] local.INFO: Processing buffer {"connection_id":160152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:18:59] local.INFO: IMEI packet received {"connection_id":160152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":160152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:19:04] local.INFO: TCP Data received {"connection_id":160152,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:19:04] local.INFO: Processing buffer {"connection_id":160152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:19:04] local.INFO: IMEI packet received {"connection_id":160152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":160152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:19:06] local.INFO: TCP Data received {"connection_id":160152,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:19:06] local.INFO: Processing buffer {"connection_id":160152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:19:06] local.INFO: Packet analysis {"connection_id":160152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:19:06] local.INFO: Extracted packet for processing {"connection_id":160152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:19:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505011456001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:19:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787129252000,"timestamp_ms":1787129252000,"timestamp_seconds":1787129252,"priority":1,"record_length":96,"hex_timestamp":"000001a0193448a0"} 
[2026-08-19 14:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 14:19:06] 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-08-19 14:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505011456001,"66":25843,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505011456001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:19:06] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:19:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505011456001,"power":25843,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":160152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:19:06] local.INFO: GPS data processed {"connection_id":160152,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:19:06] local.INFO: Acknowledgment sent {"connection_id":160152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:19:14] local.INFO: TCP Data received {"connection_id":158844,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:19:14] local.INFO: Processing buffer {"connection_id":158844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:19:14] local.INFO: IMEI packet received {"connection_id":158844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":158844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:19:14] local.INFO: TCP Data received {"connection_id":158844,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:19:14] local.INFO: Processing buffer {"connection_id":158844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:19:14] local.INFO: IMEI packet received {"connection_id":158844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":158844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:19:18] local.INFO: TCP Data received {"connection_id":158844,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:19:18] local.INFO: Processing buffer {"connection_id":158844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:19:18] local.INFO: IMEI packet received {"connection_id":158844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":158844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:19:19] local.INFO: TCP Data received {"connection_id":158844,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019349aa8012d181c800721acb0004b00ca29..."} 
[2026-08-19 14:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019349aa8012d181c800721acb0004b00ca29..."} 
[2026-08-19 14:19:19] local.INFO: Processing buffer {"connection_id":158844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019349aa8012d181c800721acb0004b00ca29..."} 
[2026-08-19 14:19:19] local.INFO: Packet analysis {"connection_id":158844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:19:19] local.INFO: Extracted packet for processing {"connection_id":158844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119647408,"longitude_deg":75.655488,"latitude_deg":11.9647408,"altitude":75,"angle":202,"satellites":41,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721acb0","is_valid_coordinates":true} 
[2026-08-19 14:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505088512001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747369975742464,"note":"Value kept but may cause issues"} 
[2026-08-19 14:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376260608,"note":"Value kept but may cause issues"} 
[2026-08-19 14:19:19] 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-08-19 14:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787129273000,"timestamp_ms":1787129273000,"timestamp_seconds":1787129273,"priority":1,"record_length":96,"hex_timestamp":"000001a019349aa8"} 
[2026-08-19 14:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:19: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-08-19 14:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 14:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505088512001,"66":12678,"120":206,"28":31744,"24":0,"16":13747369975742464,"45":1737404324376260608},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505088512001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:19:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:19:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747369975742464,"km_value":13747369975742.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376260608,"description":"Unknown IO ID 45"} 
[2026-08-19 14:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505088512001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324376260608}} 
[2026-08-19 14:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":158844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:19:20] local.INFO: GPS data processed {"connection_id":158844,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:19:20] local.INFO: Acknowledgment sent {"connection_id":158844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:19:24] local.INFO: TCP Data received {"connection_id":158844,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01934ecb0012d181c800721acb0004b00ca28..."} 
[2026-08-19 14:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01934ecb0012d181c800721acb0004b00ca28..."} 
[2026-08-19 14:19:24] local.INFO: Processing buffer {"connection_id":158844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01934ecb0012d181c800721acb0004b00ca28..."} 
[2026-08-19 14:19:24] local.INFO: Packet analysis {"connection_id":158844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:19:24] local.INFO: Extracted packet for processing {"connection_id":158844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:19:24] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119647408,"longitude_deg":75.655488,"latitude_deg":11.9647408,"altitude":75,"angle":202,"satellites":40,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721acb0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505093888001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747369975742464,"note":"Value kept but may cause issues"} 
[2026-08-19 14:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376260608,"note":"Value kept but may cause issues"} 
[2026-08-19 14:19:24] 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-08-19 14:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787129294000,"timestamp_ms":1787129294000,"timestamp_seconds":1787129294,"priority":1,"record_length":96,"hex_timestamp":"000001a01934ecb0"} 
[2026-08-19 14:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 14:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505093888001,"66":12711,"120":206,"28":31744,"24":0,"16":13747369975742464,"45":1737404324376260608},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505093888001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:19:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:19:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747369975742464,"km_value":13747369975742.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376260608,"description":"Unknown IO ID 45"} 
[2026-08-19 14:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505093888001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324376260608}} 
[2026-08-19 14:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":158844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:19:24] local.INFO: GPS data processed {"connection_id":158844,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:19:24] local.INFO: Acknowledgment sent {"connection_id":158844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:19:37] local.INFO: TCP Data received {"connection_id":160152,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:19:37] local.INFO: Processing buffer {"connection_id":160152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:19:37] local.INFO: Packet analysis {"connection_id":160152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:19:37] local.INFO: Extracted packet for processing {"connection_id":160152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:19:37] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505011456001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:19:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787129252000,"timestamp_ms":1787129252000,"timestamp_seconds":1787129252,"priority":1,"record_length":96,"hex_timestamp":"000001a0193448a0"} 
[2026-08-19 14:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 14:19:37] 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-08-19 14:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505011456001,"66":25843,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505011456001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:19:37] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:19:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505011456001,"power":25843,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":160152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:19:37] local.INFO: GPS data processed {"connection_id":160152,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:19:37] local.INFO: Acknowledgment sent {"connection_id":160152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:20:04] local.INFO: TCP Data received {"connection_id":160153,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:20:04] local.INFO: Processing buffer {"connection_id":160153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:20:04] local.INFO: IMEI packet received {"connection_id":160153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":160153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:20:09] local.INFO: TCP Data received {"connection_id":157983,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:20:09] local.INFO: Processing buffer {"connection_id":157983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:20:09] local.INFO: IMEI packet received {"connection_id":157983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":157983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:20:09] local.INFO: TCP Data received {"connection_id":160153,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:20:09] local.INFO: Processing buffer {"connection_id":160153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:20:09] local.INFO: IMEI packet received {"connection_id":160153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":160153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:20:11] local.INFO: TCP Data received {"connection_id":160153,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:20:11] local.INFO: Processing buffer {"connection_id":160153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:20:11] local.INFO: Packet analysis {"connection_id":160153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:20:11] local.INFO: Extracted packet for processing {"connection_id":160153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:20:11] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505011456001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:20:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787129252000,"timestamp_ms":1787129252000,"timestamp_seconds":1787129252,"priority":1,"record_length":96,"hex_timestamp":"000001a0193448a0"} 
[2026-08-19 14:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 14:20:11] 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-08-19 14:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505011456001,"66":25843,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505011456001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:20:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:20:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505011456001,"power":25843,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":160153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:20:11] local.INFO: GPS data processed {"connection_id":160153,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:20:11] local.INFO: Acknowledgment sent {"connection_id":160153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:20:14] local.INFO: TCP Data received {"connection_id":157983,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:20:14] local.INFO: Processing buffer {"connection_id":157983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:20:14] local.INFO: IMEI packet received {"connection_id":157983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":157983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:20:15] local.INFO: TCP Data received {"connection_id":160153,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:20:15] local.INFO: Processing buffer {"connection_id":160153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:20:15] local.INFO: Packet analysis {"connection_id":160153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:20:15] local.INFO: Extracted packet for processing {"connection_id":160153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:20:15] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505011456001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:20:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787129252000,"timestamp_ms":1787129252000,"timestamp_seconds":1787129252,"priority":1,"record_length":96,"hex_timestamp":"000001a0193448a0"} 
[2026-08-19 14:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 14:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505011456001,"66":25843,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505011456001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:20:15] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:20:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505011456001,"power":25843,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":160153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:20:15] local.INFO: GPS data processed {"connection_id":160153,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:20:15] local.INFO: Acknowledgment sent {"connection_id":160153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:20:15] local.INFO: TCP Data received {"connection_id":157983,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019353eb8012d181c800721acb0004b00ca29..."} 
[2026-08-19 14:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019353eb8012d181c800721acb0004b00ca29..."} 
[2026-08-19 14:20:15] local.INFO: Processing buffer {"connection_id":157983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019353eb8012d181c800721acb0004b00ca29..."} 
[2026-08-19 14:20:15] local.INFO: Packet analysis {"connection_id":157983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01935"} 
[2026-08-19 14:20:15] local.INFO: Extracted packet for processing {"connection_id":157983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01935"} 
[2026-08-19 14:20:15] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119647408,"longitude_deg":75.655488,"latitude_deg":11.9647408,"altitude":75,"angle":202,"satellites":41,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721acb0","is_valid_coordinates":true} 
[2026-08-19 14:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505099264001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747369975742464,"note":"Value kept but may cause issues"} 
[2026-08-19 14:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376260608,"note":"Value kept but may cause issues"} 
[2026-08-19 14:20: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-08-19 14:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787129315000,"timestamp_ms":1787129315000,"timestamp_seconds":1787129315,"priority":1,"record_length":96,"hex_timestamp":"000001a019353eb8"} 
[2026-08-19 14:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:20: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-08-19 14:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-19 14:20:15] 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-08-19 14:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505099264001,"66":12689,"120":206,"28":31744,"24":0,"16":13747369975742464,"45":1737404324376260608},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505099264001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:20:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:20:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747369975742464,"km_value":13747369975742.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376260608,"description":"Unknown IO ID 45"} 
[2026-08-19 14:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505099264001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324376260608}} 
[2026-08-19 14:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":157983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:20:15] local.INFO: GPS data processed {"connection_id":157983,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:20:15] local.INFO: Acknowledgment sent {"connection_id":157983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:20:47] local.INFO: TCP Data received {"connection_id":157983,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193594a8012d181c800721acb0004b00ca28..."} 
[2026-08-19 14:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193594a8012d181c800721acb0004b00ca28..."} 
[2026-08-19 14:20:47] local.INFO: Processing buffer {"connection_id":157983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193594a8012d181c800721acb0004b00ca28..."} 
[2026-08-19 14:20:47] local.INFO: Packet analysis {"connection_id":157983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01935"} 
[2026-08-19 14:20:47] local.INFO: Extracted packet for processing {"connection_id":157983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01935"} 
[2026-08-19 14:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119647408,"longitude_deg":75.655488,"latitude_deg":11.9647408,"altitude":75,"angle":202,"satellites":40,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721acb0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505104640001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747369975742464,"note":"Value kept but may cause issues"} 
[2026-08-19 14:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376260608,"note":"Value kept but may cause issues"} 
[2026-08-19 14:20:47] 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-08-19 14:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787129337000,"timestamp_ms":1787129337000,"timestamp_seconds":1787129337,"priority":1,"record_length":96,"hex_timestamp":"000001a0193594a8"} 
[2026-08-19 14:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 14:20:47] 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-08-19 14: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-08-19 14:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505104640001,"66":12917,"120":206,"28":31744,"24":0,"16":13747369975742464,"45":1737404324376260608},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505104640001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:20:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:20:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747369975742464,"km_value":13747369975742.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376260608,"description":"Unknown IO ID 45"} 
[2026-08-19 14:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505104640001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324376260608}} 
[2026-08-19 14:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":157983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:20:47] local.INFO: GPS data processed {"connection_id":157983,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:20:47] local.INFO: Acknowledgment sent {"connection_id":157983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:20:59] local.INFO: TCP Data received {"connection_id":160154,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:20:59] local.INFO: Processing buffer {"connection_id":160154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:20:59] local.INFO: IMEI packet received {"connection_id":160154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":160154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:21:04] local.INFO: TCP Data received {"connection_id":160154,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:21:04] local.INFO: Processing buffer {"connection_id":160154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:21:04] local.INFO: IMEI packet received {"connection_id":160154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":160154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:21:06] local.INFO: TCP Data received {"connection_id":160154,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:21:06] local.INFO: Processing buffer {"connection_id":160154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:21:06] local.INFO: Packet analysis {"connection_id":160154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:21:06] local.INFO: Extracted packet for processing {"connection_id":160154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:21:06] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505011456001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:21:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787129252000,"timestamp_ms":1787129252000,"timestamp_seconds":1787129252,"priority":1,"record_length":96,"hex_timestamp":"000001a0193448a0"} 
[2026-08-19 14:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 14:21:06] 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-08-19 14: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-08-19 14:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505011456001,"66":25843,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505011456001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:21:06] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:21:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505011456001,"power":25843,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":160154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:21:06] local.INFO: GPS data processed {"connection_id":160154,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:21:06] local.INFO: Acknowledgment sent {"connection_id":160154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:21:08] local.INFO: TCP Data received {"connection_id":157596,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:21:08] local.INFO: Processing buffer {"connection_id":157596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:21:08] local.INFO: IMEI packet received {"connection_id":157596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":157596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:21:09] local.INFO: TCP Data received {"connection_id":157596,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:21:09] local.INFO: Processing buffer {"connection_id":157596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:21:09] local.INFO: IMEI packet received {"connection_id":157596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":157596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:21:11] local.INFO: TCP Data received {"connection_id":157596,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:21:11] local.INFO: Processing buffer {"connection_id":157596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:21:11] local.INFO: IMEI packet received {"connection_id":157596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":157596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:21:12] local.INFO: TCP Data received {"connection_id":157596,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01935e6b0012d181c800721acb0004b00ca29..."} 
[2026-08-19 14:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01935e6b0012d181c800721acb0004b00ca29..."} 
[2026-08-19 14:21:12] local.INFO: Processing buffer {"connection_id":157596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01935e6b0012d181c800721acb0004b00ca29..."} 
[2026-08-19 14:21:12] local.INFO: Packet analysis {"connection_id":157596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01935"} 
[2026-08-19 14:21:12] local.INFO: Extracted packet for processing {"connection_id":157596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01935"} 
[2026-08-19 14:21:12] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119647408,"longitude_deg":75.655488,"latitude_deg":11.9647408,"altitude":75,"angle":202,"satellites":41,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721acb0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505110272001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13747369975742464,"note":"Value kept but may cause issues"} 
[2026-08-19 14:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376260608,"note":"Value kept but may cause issues"} 
[2026-08-19 14:21: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-08-19 14:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787129358000,"timestamp_ms":1787129358000,"timestamp_seconds":1787129358,"priority":1,"record_length":96,"hex_timestamp":"000001a01935e6b0"} 
[2026-08-19 14:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 14:21:12] 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-08-19 14: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-08-19 14:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505110272001,"66":14157,"120":206,"28":31744,"24":0,"16":13747369975742464,"45":1737404324376260608},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505110272001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:21:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:21:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13747369975742464,"km_value":13747369975742.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376260608,"description":"Unknown IO ID 45"} 
[2026-08-19 14:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505110272001,"power":14157,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324376260608}} 
[2026-08-19 14:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":157596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:21:12] local.INFO: GPS data processed {"connection_id":157596,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:21:12] local.INFO: Acknowledgment sent {"connection_id":157596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:21:37] local.INFO: TCP Data received {"connection_id":160154,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:21:37] local.INFO: Processing buffer {"connection_id":160154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:21:37] local.INFO: Packet analysis {"connection_id":160154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:21:37] local.INFO: Extracted packet for processing {"connection_id":160154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:21:37] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505011456001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:21:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787129252000,"timestamp_ms":1787129252000,"timestamp_seconds":1787129252,"priority":1,"record_length":96,"hex_timestamp":"000001a0193448a0"} 
[2026-08-19 14:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 14:21:37] 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-08-19 14: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-08-19 14:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505011456001,"66":25843,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505011456001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:21:37] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:21:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505011456001,"power":25843,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":160154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:21:37] local.INFO: GPS data processed {"connection_id":160154,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:21:37] local.INFO: Acknowledgment sent {"connection_id":160154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:21:44] local.INFO: TCP Data received {"connection_id":157596,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019376968012d18cb00072134b00047009328..."} 
[2026-08-19 14:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019376968012d18cb00072134b00047009328..."} 
[2026-08-19 14:21:44] local.INFO: Processing buffer {"connection_id":157596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019376968012d18cb00072134b00047009328..."} 
[2026-08-19 14:21:44] local.INFO: Packet analysis {"connection_id":157596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01937"} 
[2026-08-19 14:21:44] local.INFO: Extracted packet for processing {"connection_id":157596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01937"} 
[2026-08-19 14:21:44] local.INFO: GPS Element Parsed {"raw_longitude":756599552,"raw_latitude":119616688,"longitude_deg":75.6599552,"latitude_deg":11.9616688,"altitude":71,"angle":147,"satellites":40,"speed":40,"hex_longitude":"2d18cb00","hex_latitude":"072134b0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505140480001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13750196064223232,"note":"Value kept but may cause issues"} 
[2026-08-19 14:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785466176642209792,"note":"Value kept but may cause issues"} 
[2026-08-19 14:21: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-08-19 14:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787129457000,"timestamp_ms":1787129457000,"timestamp_seconds":1787129457,"priority":1,"record_length":96,"hex_timestamp":"000001a019376968"} 
[2026-08-19 14:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 14:21: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-08-19 14: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-08-19 14:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505140480001,"66":14243,"121":206,"28":31744,"24":40,"16":13750196064223232,"45":1785466176642209792},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505140480001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:21:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:21:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13750196064223232,"km_value":13750196064223.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785466176642209792,"description":"Unknown IO ID 45"} 
[2026-08-19 14:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505140480001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1785466176642209792}} 
[2026-08-19 14:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":157596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:21:44] local.INFO: GPS data processed {"connection_id":157596,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:21:44] local.INFO: Acknowledgment sent {"connection_id":157596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:21:59] local.INFO: TCP Data received {"connection_id":158845,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:21:59] local.INFO: Processing buffer {"connection_id":158845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:21:59] local.INFO: IMEI packet received {"connection_id":158845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":158845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:22:05] local.INFO: TCP Data received {"connection_id":158845,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:22:05] local.INFO: Processing buffer {"connection_id":158845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:22:05] local.INFO: IMEI packet received {"connection_id":158845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":158845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:22:07] local.INFO: TCP Data received {"connection_id":158846,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:22:07] local.INFO: Processing buffer {"connection_id":158846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:22:07] local.INFO: IMEI packet received {"connection_id":158846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":158846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:22:07] local.INFO: TCP Data received {"connection_id":158845,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:22:07] local.INFO: Processing buffer {"connection_id":158845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193448a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:22:07] local.INFO: Packet analysis {"connection_id":158845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:22:07] local.INFO: Extracted packet for processing {"connection_id":158845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01934"} 
[2026-08-19 14:22:07] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 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-08-19 14:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505011456001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:22:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787129252000,"timestamp_ms":1787129252000,"timestamp_seconds":1787129252,"priority":1,"record_length":96,"hex_timestamp":"000001a0193448a0"} 
[2026-08-19 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-08-19 14:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 14:22:07] 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-08-19 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-08-19 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-08-19 14:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505011456001,"66":25843,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505011456001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:22:07] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:22:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505011456001,"power":25843,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":158845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:22:07] local.INFO: GPS data processed {"connection_id":158845,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:22:07] local.INFO: Acknowledgment sent {"connection_id":158845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:22:08] local.INFO: TCP Data received {"connection_id":158846,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:22:08] local.INFO: Processing buffer {"connection_id":158846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:22:08] local.INFO: IMEI packet received {"connection_id":158846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":158846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:22:13] local.INFO: TCP Data received {"connection_id":158846,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:22:13] local.INFO: Processing buffer {"connection_id":158846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:22:13] local.INFO: IMEI packet received {"connection_id":158846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":158846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:22:14] local.INFO: TCP Data received {"connection_id":158846,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019377908012d18d24007212688004600a428..."} 
[2026-08-19 14:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019377908012d18d24007212688004600a428..."} 
[2026-08-19 14:22:14] local.INFO: Processing buffer {"connection_id":158846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019377908012d18d24007212688004600a428..."} 
[2026-08-19 14:22:14] local.INFO: Packet analysis {"connection_id":158846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01937"} 
[2026-08-19 14:22:14] local.INFO: Extracted packet for processing {"connection_id":158846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01937"} 
[2026-08-19 14:22:14] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119613064,"longitude_deg":75.6601408,"latitude_deg":11.9613064,"altitude":70,"angle":164,"satellites":40,"speed":40,"hex_longitude":"2d18d240","hex_latitude":"07212688","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505140992001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13750393632718848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786521707804405760,"note":"Value kept but may cause issues"} 
[2026-08-19 14:22: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-08-19 14:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787129461000,"timestamp_ms":1787129461000,"timestamp_seconds":1787129461,"priority":1,"record_length":96,"hex_timestamp":"000001a019377908"} 
[2026-08-19 14:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:22: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-08-19 14: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-19 14:22:14] 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-08-19 14: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-08-19 14:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505140992001,"66":14298,"121":206,"28":31744,"24":40,"16":13750393632718848,"45":1786521707804405760},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505140992001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:22:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:22:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13750393632718848,"km_value":13750393632718.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786521707804405760,"description":"Unknown IO ID 45"} 
[2026-08-19 14:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505140992001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1786521707804405760}} 
[2026-08-19 14:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":158846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:22:14] local.INFO: GPS data processed {"connection_id":158846,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:22:14] local.INFO: Acknowledgment sent {"connection_id":158846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:22:38] local.INFO: TCP Data received {"connection_id":158845,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193830a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193830a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:22:38] local.INFO: Processing buffer {"connection_id":158845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193830a0012cfd7b8007182260002e00e92c..."} 
[2026-08-19 14:22:38] local.INFO: Packet analysis {"connection_id":158845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01938"} 
[2026-08-19 14:22:38] local.INFO: Extracted packet for processing {"connection_id":158845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01938"} 
[2026-08-19 14:22:38] local.INFO: GPS Element Parsed {"raw_longitude":754809728,"raw_latitude":119022176,"longitude_deg":75.4809728,"latitude_deg":11.9022176,"altitude":46,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2cfd7b80","hex_latitude":"07182260","is_valid_coordinates":true} 
[2026-08-19 14:22:38] 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-08-19 14:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505088512001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:22:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787129508000,"timestamp_ms":1787129508000,"timestamp_seconds":1787129508,"priority":1,"record_length":96,"hex_timestamp":"000001a0193830a0"} 
[2026-08-19 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-08-19 14:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-19 14:22:38] 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-08-19 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-08-19 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-08-19 14:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505088512001,"66":25734,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505088512001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:22:38] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:22:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505088512001,"power":25734,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":158845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:22:38] local.INFO: GPS data processed {"connection_id":158845,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:22:38] local.INFO: Acknowledgment sent {"connection_id":158845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:22:45] local.INFO: TCP Data received {"connection_id":158846,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019384428012d195f000720aaf00028005527..."} 
[2026-08-19 14:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019384428012d195f000720aaf00028005527..."} 
[2026-08-19 14:22:45] local.INFO: Processing buffer {"connection_id":158846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019384428012d195f000720aaf00028005527..."} 
[2026-08-19 14:22:45] local.INFO: Packet analysis {"connection_id":158846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01938"} 
[2026-08-19 14:22:45] local.INFO: Extracted packet for processing {"connection_id":158846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01938"} 
[2026-08-19 14:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756637440,"raw_latitude":119581424,"longitude_deg":75.663744,"latitude_deg":11.9581424,"altitude":40,"angle":85,"satellites":39,"speed":43,"hex_longitude":"2d195f00","hex_latitude":"0720aaf0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505154560001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13752914778521600,"note":"Value kept but may cause issues"} 
[2026-08-19 14:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824450460907167744,"note":"Value kept but may cause issues"} 
[2026-08-19 14:22: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-08-19 14:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787129513000,"timestamp_ms":1787129513000,"timestamp_seconds":1787129513,"priority":1,"record_length":96,"hex_timestamp":"000001a019384428"} 
[2026-08-19 14:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 14:22:45] 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-08-19 14: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-08-19 14:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505154560001,"66":14298,"121":206,"28":31744,"24":43,"16":13752914778521600,"45":1824450460907167744},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505154560001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:22:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:22:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13752914778521600,"km_value":13752914778521.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824450460907167744,"description":"Unknown IO ID 45"} 
[2026-08-19 14:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505154560001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1824450460907167744}} 
[2026-08-19 14:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":158846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:22:45] local.INFO: GPS data processed {"connection_id":158846,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:22:45] local.INFO: Acknowledgment sent {"connection_id":158846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:23:04] local.INFO: TCP Data received {"connection_id":157597,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:23:04] local.INFO: Processing buffer {"connection_id":157597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:23:04] local.INFO: IMEI packet received {"connection_id":157597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":157597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:23:08] local.INFO: TCP Data received {"connection_id":160155,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:23:08] local.INFO: Processing buffer {"connection_id":160155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:23:08] local.INFO: IMEI packet received {"connection_id":160155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":160155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:23:09] local.INFO: TCP Data received {"connection_id":157597,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:23:09] local.INFO: Processing buffer {"connection_id":157597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:23:09] local.INFO: IMEI packet received {"connection_id":157597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":157597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:23:12] local.INFO: TCP Data received {"connection_id":160155,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:23:12] local.INFO: Processing buffer {"connection_id":160155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:23:12] local.INFO: IMEI packet received {"connection_id":160155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":160155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:23:12] local.INFO: TCP Data received {"connection_id":157597,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019384040012cfd7d00071820f0002e005f2a..."} 
[2026-08-19 14:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019384040012cfd7d00071820f0002e005f2a..."} 
[2026-08-19 14:23:12] local.INFO: Processing buffer {"connection_id":157597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019384040012cfd7d00071820f0002e005f2a..."} 
[2026-08-19 14:23:12] local.INFO: Packet analysis {"connection_id":157597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01938"} 
[2026-08-19 14:23:12] local.INFO: Extracted packet for processing {"connection_id":157597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01938"} 
[2026-08-19 14:23:12] local.INFO: GPS Element Parsed {"raw_longitude":754810112,"raw_latitude":119021808,"longitude_deg":75.4810112,"latitude_deg":11.9021808,"altitude":46,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2cfd7d00","hex_latitude":"071820f0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505154048001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181410592020340736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787129512000,"timestamp_ms":1787129512000,"timestamp_seconds":1787129512,"priority":1,"record_length":96,"hex_timestamp":"000001a019384040"} 
[2026-08-19 14:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 14:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505154048001,"66":27365,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-181410592020340736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505154048001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:23:12] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:23:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181410592020340736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505154048001,"power":27365,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-181410592020340736}} 
[2026-08-19 14:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":157597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:23:12] local.INFO: GPS data processed {"connection_id":157597,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:23:12] local.INFO: Acknowledgment sent {"connection_id":157597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:23:13] local.INFO: TCP Data received {"connection_id":160155,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:23:13] local.INFO: Processing buffer {"connection_id":160155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:23:13] local.INFO: IMEI packet received {"connection_id":160155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":160155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:23:13] local.INFO: TCP Data received {"connection_id":157597,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019389248012cfd7d00071820f0002e005f2d..."} 
[2026-08-19 14:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019389248012cfd7d00071820f0002e005f2d..."} 
[2026-08-19 14:23:13] local.INFO: Processing buffer {"connection_id":157597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019389248012cfd7d00071820f0002e005f2d..."} 
[2026-08-19 14:23:13] local.INFO: Packet analysis {"connection_id":157597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01938"} 
[2026-08-19 14:23:13] local.INFO: Extracted packet for processing {"connection_id":157597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01938"} 
[2026-08-19 14:23:13] local.INFO: GPS Element Parsed {"raw_longitude":754810112,"raw_latitude":119021808,"longitude_deg":75.4810112,"latitude_deg":11.9021808,"altitude":46,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2cfd7d00","hex_latitude":"071820f0","is_valid_coordinates":true} 
[2026-08-19 14:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505155072001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-180988379555368960,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787129533000,"timestamp_ms":1787129533000,"timestamp_seconds":1787129533,"priority":1,"record_length":96,"hex_timestamp":"000001a019389248"} 
[2026-08-19 14:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:23:13] 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-08-19 14:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 14:23:13] 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-08-19 14:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505155072001,"66":27789,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-180988379555368960},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505155072001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:23:13] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:23:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-180988379555368960,"description":"Unknown IO ID 44"} 
[2026-08-19 14:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505155072001,"power":27789,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-180988379555368960}} 
[2026-08-19 14:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":157597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:23:13] local.INFO: GPS data processed {"connection_id":157597,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:23:13] local.INFO: Acknowledgment sent {"connection_id":157597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:23:14] local.INFO: TCP Data received {"connection_id":160155,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193853c8012d1970400720ad480028004a28..."} 
[2026-08-19 14:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193853c8012d1970400720ad480028004a28..."} 
[2026-08-19 14:23:14] local.INFO: Processing buffer {"connection_id":160155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193853c8012d1970400720ad480028004a28..."} 
[2026-08-19 14:23:14] local.INFO: Packet analysis {"connection_id":160155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01938"} 
[2026-08-19 14:23:14] local.INFO: Extracted packet for processing {"connection_id":160155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01938"} 
[2026-08-19 14:23:14] local.INFO: GPS Element Parsed {"raw_longitude":756641856,"raw_latitude":119582024,"longitude_deg":75.6641856,"latitude_deg":11.9582024,"altitude":40,"angle":74,"satellites":40,"speed":43,"hex_longitude":"2d197040","hex_latitude":"0720ad48","is_valid_coordinates":true} 
[2026-08-19 14:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505155328001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13753125231919104,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828180004348555264,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23: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-08-19 14:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787129517000,"timestamp_ms":1787129517000,"timestamp_seconds":1787129517,"priority":1,"record_length":96,"hex_timestamp":"000001a0193853c8"} 
[2026-08-19 14:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-19 14:23:14] 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-08-19 14:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505155328001,"66":13537,"121":206,"28":31744,"24":43,"16":13753125231919104,"45":1828180004348555264},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505155328001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:23:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:23:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13753125231919104,"km_value":13753125231919.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828180004348555264,"description":"Unknown IO ID 45"} 
[2026-08-19 14:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505155328001,"power":13537,"unknown_121":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1828180004348555264}} 
[2026-08-19 14:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":160155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:23:14] local.INFO: GPS data processed {"connection_id":160155,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:23:14] local.INFO: Acknowledgment sent {"connection_id":160155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:23:45] local.INFO: TCP Data received {"connection_id":160155,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019393270012d19b68007206d50002b009b29..."} 
[2026-08-19 14:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019393270012d19b68007206d50002b009b29..."} 
[2026-08-19 14:23:45] local.INFO: Processing buffer {"connection_id":160155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019393270012d19b68007206d50002b009b29..."} 
[2026-08-19 14:23:45] local.INFO: Packet analysis {"connection_id":160155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01939"} 
[2026-08-19 14:23:45] local.INFO: Extracted packet for processing {"connection_id":160155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01939"} 
[2026-08-19 14:23:45] local.INFO: GPS Element Parsed {"raw_longitude":756659840,"raw_latitude":119565648,"longitude_deg":75.665984,"latitude_deg":11.9565648,"altitude":43,"angle":155,"satellites":41,"speed":31,"hex_longitude":"2d19b680","hex_latitude":"07206d50","is_valid_coordinates":true} 
[2026-08-19 14:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505169152001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13754877578575872,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850698002482972672,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23: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-08-19 14:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787129574000,"timestamp_ms":1787129574000,"timestamp_seconds":1787129574,"priority":1,"record_length":96,"hex_timestamp":"000001a019393270"} 
[2026-08-19 14:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-19 14:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23:45] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2732064813,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 14:23:45] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2919288295,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23:45] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3712811008,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23:45] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,221,160,15,45,141,41,10,66,11,64,144,39,240,1,153,25,32,4,113,205,19,232,188,192,40,239,55,2,48,7],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 14:23:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242775526244810752,"timestamp_seconds":3242775526244811.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 14:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505169152001,"66":13993,"121":206,"28":31744,"24":31,"16":13754877578575872,"45":1850698002482972672},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505169152001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:23:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:23:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13754877578575872,"km_value":13754877578575.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850698002482972672,"description":"Unknown IO ID 45"} 
[2026-08-19 14:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505169152001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1850698002482972672}} 
[2026-08-19 14:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":160155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:23:45] local.INFO: GPS data processed {"connection_id":160155,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:23:45] local.INFO: Acknowledgment sent {"connection_id":160155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:23:48] local.INFO: TCP Data received {"connection_id":157597,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01938e450012cfd7d00071820f0002e005f2d..."} 
[2026-08-19 14:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01938e450012cfd7d00071820f0002e005f2d..."} 
[2026-08-19 14:23:48] local.INFO: Processing buffer {"connection_id":157597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01938e450012cfd7d00071820f0002e005f2d..."} 
[2026-08-19 14:23:48] local.INFO: Packet analysis {"connection_id":157597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01938"} 
[2026-08-19 14:23:48] local.INFO: Extracted packet for processing {"connection_id":157597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01938"} 
[2026-08-19 14:23:48] local.INFO: GPS Element Parsed {"raw_longitude":754810112,"raw_latitude":119021808,"longitude_deg":75.4810112,"latitude_deg":11.9021808,"altitude":46,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2cfd7d00","hex_latitude":"071820f0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505160448001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900316169601024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-180988379555368960,"note":"Value kept but may cause issues"} 
[2026-08-19 14:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787129554000,"timestamp_ms":1787129554000,"timestamp_seconds":1787129554,"priority":1,"record_length":96,"hex_timestamp":"000001a01938e450"} 
[2026-08-19 14:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:23: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-08-19 14: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":141,"data_length":795,"current_offset":136} 
[2026-08-19 14:23:48] 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-08-19 14: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-08-19 14:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":157597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":157597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":157597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505160448001,"66":27767,"239":206,"2":54528,"24":0,"16":385900316169601024,"44":-180988379555368960},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505160448001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:23:48] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900316169601024,"km_value":385900316169601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:23:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-180988379555368960,"description":"Unknown IO ID 44"} 
[2026-08-19 14:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505160448001,"power":27767,"unknown_239":206,"power_alt":54528,"ignition":0,"odometer":null,"unknown_44":-180988379555368960}} 
[2026-08-19 14:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":157597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:23:48] local.INFO: GPS data processed {"connection_id":157597,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:23:48] local.INFO: Acknowledgment sent {"connection_id":157597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:24:08] local.INFO: TCP Data received {"connection_id":157984,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:24:08] local.INFO: Processing buffer {"connection_id":157984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:24:08] local.INFO: IMEI packet received {"connection_id":157984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":157984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:24:09] local.INFO: TCP Data received {"connection_id":157598,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:24:09] local.INFO: Processing buffer {"connection_id":157598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:24:09] local.INFO: IMEI packet received {"connection_id":157598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":157598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:24:13] local.INFO: TCP Data received {"connection_id":157598,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:24:13] local.INFO: Processing buffer {"connection_id":157598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:24:13] local.INFO: IMEI packet received {"connection_id":157598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":157598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:24:14] local.INFO: TCP Data received {"connection_id":157984,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:24:14] local.INFO: Processing buffer {"connection_id":157984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:24:14] local.INFO: IMEI packet received {"connection_id":157984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":157984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:24:15] local.INFO: TCP Data received {"connection_id":157598,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019390b60012cfd7b40071820a80030010e2c..."} 
[2026-08-19 14:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019390b60012cfd7b40071820a80030010e2c..."} 
[2026-08-19 14:24:15] local.INFO: Processing buffer {"connection_id":157598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019390b60012cfd7b40071820a80030010e2c..."} 
[2026-08-19 14:24:15] local.INFO: Packet analysis {"connection_id":157598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01939"} 
[2026-08-19 14:24:15] local.INFO: Extracted packet for processing {"connection_id":157598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01939"} 
[2026-08-19 14:24:15] local.INFO: GPS Element Parsed {"raw_longitude":754809664,"raw_latitude":119021736,"longitude_deg":75.4809664,"latitude_deg":11.9021736,"altitude":48,"angle":270,"satellites":44,"speed":4,"hex_longitude":"2cfd7b40","hex_latitude":"071820a8","is_valid_coordinates":true} 
[2026-08-19 14:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505165824001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900337644437504,"note":"Value kept but may cause issues"} 
[2026-08-19 14:24:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-180988379555368960,"note":"Value kept but may cause issues"} 
[2026-08-19 14:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787129564000,"timestamp_ms":1787129564000,"timestamp_seconds":1787129564,"priority":1,"record_length":96,"hex_timestamp":"000001a019390b60"} 
[2026-08-19 14:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 14:24: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-08-19 14:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505165824001,"66":27908,"239":206,"2":54528,"24":4,"16":385900337644437504,"44":-180988379555368960},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505165824001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:24:15] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900337644437504,"km_value":385900337644437.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:24:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-180988379555368960,"description":"Unknown IO ID 44"} 
[2026-08-19 14:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505165824001,"power":27908,"unknown_239":206,"power_alt":54528,"ignition":4,"odometer":null,"unknown_44":-180988379555368960}} 
[2026-08-19 14:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":157598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:24:15] local.INFO: GPS data processed {"connection_id":157598,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:24:15] local.INFO: Acknowledgment sent {"connection_id":157598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:24:15] local.INFO: TCP Data received {"connection_id":157984,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019393e28012d19b9c007206470002b00a729..."} 
[2026-08-19 14:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019393e28012d19b9c007206470002b00a729..."} 
[2026-08-19 14:24:15] local.INFO: Processing buffer {"connection_id":157984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019393e28012d19b9c007206470002b00a729..."} 
[2026-08-19 14:24:15] local.INFO: Packet analysis {"connection_id":157984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01939"} 
[2026-08-19 14:24:15] local.INFO: Extracted packet for processing {"connection_id":157984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01939"} 
[2026-08-19 14:24:15] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119563376,"longitude_deg":75.6660672,"latitude_deg":11.9563376,"altitude":43,"angle":167,"satellites":41,"speed":34,"hex_longitude":"2d19b9c0","hex_latitude":"07206470","is_valid_coordinates":true} 
[2026-08-19 14:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505170944001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13754993542692864,"note":"Value kept but may cause issues"} 
[2026-08-19 14:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852809064806699008,"note":"Value kept but may cause issues"} 
[2026-08-19 14:24: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-08-19 14:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787129577000,"timestamp_ms":1787129577000,"timestamp_seconds":1787129577,"priority":1,"record_length":96,"hex_timestamp":"000001a019393e28"} 
[2026-08-19 14:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:24: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-08-19 14:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 14:24:15] 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-08-19 14:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505170944001,"66":13928,"121":206,"28":31744,"24":34,"16":13754993542692864,"45":1852809064806699008},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505170944001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:24:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:24:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13754993542692864,"km_value":13754993542692.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852809064806699008,"description":"Unknown IO ID 45"} 
[2026-08-19 14:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505170944001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1852809064806699008}} 
[2026-08-19 14:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":157984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:24:15] local.INFO: GPS data processed {"connection_id":157984,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:24:15] local.INFO: Acknowledgment sent {"connection_id":157984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:24:16] local.INFO: TCP Data received {"connection_id":157598,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019391330012cfd7a0007182080003000f42b..."} 
[2026-08-19 14:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019391330012cfd7a0007182080003000f42b..."} 
[2026-08-19 14:24:16] local.INFO: Processing buffer {"connection_id":157598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019391330012cfd7a0007182080003000f42b..."} 
[2026-08-19 14:24:16] local.INFO: Packet analysis {"connection_id":157598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01939"} 
[2026-08-19 14:24:16] local.INFO: Extracted packet for processing {"connection_id":157598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01939"} 
[2026-08-19 14:24:16] local.INFO: GPS Element Parsed {"raw_longitude":754809344,"raw_latitude":119021696,"longitude_deg":75.4809344,"latitude_deg":11.9021696,"altitude":48,"angle":244,"satellites":43,"speed":8,"hex_longitude":"2cfd7a00","hex_latitude":"07182080","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505168384001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900350529339392,"note":"Value kept but may cause issues"} 
[2026-08-19 14:24:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181480960764631040,"note":"Value kept but may cause issues"} 
[2026-08-19 14:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787129566000,"timestamp_ms":1787129566000,"timestamp_seconds":1787129566,"priority":1,"record_length":96,"hex_timestamp":"000001a019391330"} 
[2026-08-19 14:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 14:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505168384001,"66":27223,"239":206,"2":54528,"24":8,"16":385900350529339392,"44":-181480960764631040},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505168384001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:24:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900350529339392,"km_value":385900350529339.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:24:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181480960764631040,"description":"Unknown IO ID 44"} 
[2026-08-19 14:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505168384001,"power":27223,"unknown_239":206,"power_alt":54528,"ignition":8,"odometer":null,"unknown_44":-181480960764631040}} 
[2026-08-19 14:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":157598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:24:16] local.INFO: GPS data processed {"connection_id":157598,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:24:16] local.INFO: Acknowledgment sent {"connection_id":157598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:24:46] local.INFO: TCP Data received {"connection_id":157984,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193a1cd0012d19dd0007200ba0002e012527..."} 
[2026-08-19 14:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193a1cd0012d19dd0007200ba0002e012527..."} 
[2026-08-19 14:24:46] local.INFO: Processing buffer {"connection_id":157984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193a1cd0012d19dd0007200ba0002e012527..."} 
[2026-08-19 14:24:46] local.INFO: Packet analysis {"connection_id":157984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193a"} 
[2026-08-19 14:24:46] local.INFO: Extracted packet for processing {"connection_id":157984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193a"} 
[2026-08-19 14:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756669696,"raw_latitude":119540640,"longitude_deg":75.6669696,"latitude_deg":11.954064,"altitude":46,"angle":293,"satellites":39,"speed":7,"hex_longitude":"2d19dd00","hex_latitude":"07200ba0","is_valid_coordinates":true} 
[2026-08-19 14:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505185792001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13756303507718144,"note":"Value kept but may cause issues"} 
[2026-08-19 14:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863997695124531200,"note":"Value kept but may cause issues"} 
[2026-08-19 14:24: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-08-19 14:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787129634000,"timestamp_ms":1787129634000,"timestamp_seconds":1787129634,"priority":1,"record_length":96,"hex_timestamp":"000001a0193a1cd0"} 
[2026-08-19 14:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 14:24:46] 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-08-19 14:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505185792001,"66":14265,"121":206,"28":31744,"24":7,"16":13756303507718144,"45":1863997695124531200},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505185792001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:24:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:24:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13756303507718144,"km_value":13756303507718.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863997695124531200,"description":"Unknown IO ID 45"} 
[2026-08-19 14:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505185792001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1863997695124531200}} 
[2026-08-19 14:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":157984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:24:46] local.INFO: GPS data processed {"connection_id":157984,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:24:46] local.INFO: Acknowledgment sent {"connection_id":157984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:25:08] local.INFO: TCP Data received {"connection_id":158847,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:25:08] local.INFO: Processing buffer {"connection_id":158847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:25:08] local.INFO: IMEI packet received {"connection_id":158847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":158847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:25:10] local.INFO: TCP Data received {"connection_id":158847,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:25:10] local.INFO: Processing buffer {"connection_id":158847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:25:10] local.INFO: IMEI packet received {"connection_id":158847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":158847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:25:11] local.INFO: TCP Data received {"connection_id":157985,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:25:11] local.INFO: Processing buffer {"connection_id":157985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:25:11] local.INFO: IMEI packet received {"connection_id":157985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":157985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:25:13] local.INFO: TCP Data received {"connection_id":158847,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:25:13] local.INFO: Processing buffer {"connection_id":158847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:25:13] local.INFO: IMEI packet received {"connection_id":158847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":158847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:25:14] local.INFO: TCP Data received {"connection_id":157985,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:25:14] local.INFO: Processing buffer {"connection_id":157985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:25:14] local.INFO: IMEI packet received {"connection_id":157985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":157985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:25:14] local.INFO: TCP Data received {"connection_id":158847,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193a3440012d19d440072010e8002e013229..."} 
[2026-08-19 14:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193a3440012d19d440072010e8002e013229..."} 
[2026-08-19 14:25:14] local.INFO: Processing buffer {"connection_id":158847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193a3440012d19d440072010e8002e013229..."} 
[2026-08-19 14:25:14] local.INFO: Packet analysis {"connection_id":158847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193a"} 
[2026-08-19 14:25:14] local.INFO: Extracted packet for processing {"connection_id":158847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193a"} 
[2026-08-19 14:25:14] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119541992,"longitude_deg":75.6667456,"latitude_deg":11.9541992,"altitude":46,"angle":306,"satellites":41,"speed":25,"hex_longitude":"2d19d440","hex_latitude":"072010e8","is_valid_coordinates":true} 
[2026-08-19 14:25: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-08-19 14:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505186304001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13756428061769728,"note":"Value kept but may cause issues"} 
[2026-08-19 14:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863645851403657216,"note":"Value kept but may cause issues"} 
[2026-08-19 14:25: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-08-19 14:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787129640000,"timestamp_ms":1787129640000,"timestamp_seconds":1787129640,"priority":1,"record_length":96,"hex_timestamp":"000001a0193a3440"} 
[2026-08-19 14:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:25: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-08-19 14:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 14:25:14] 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-08-19 14:25: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-08-19 14:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505186304001,"66":14363,"121":206,"28":31744,"24":25,"16":13756428061769728,"45":1863645851403657216},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505186304001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:25:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:25:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13756428061769728,"km_value":13756428061769.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863645851403657216,"description":"Unknown IO ID 45"} 
[2026-08-19 14:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505186304001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1863645851403657216}} 
[2026-08-19 14:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":158847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:25:14] local.INFO: GPS data processed {"connection_id":158847,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:25:14] local.INFO: Acknowledgment sent {"connection_id":158847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:25:15] local.INFO: TCP Data received {"connection_id":157985,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019391b00012cfd788007181f30002f00e32b..."} 
[2026-08-19 14:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019391b00012cfd788007181f30002f00e32b..."} 
[2026-08-19 14:25:15] local.INFO: Processing buffer {"connection_id":157985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019391b00012cfd788007181f30002f00e32b..."} 
[2026-08-19 14:25:15] local.INFO: Packet analysis {"connection_id":157985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01939"} 
[2026-08-19 14:25:15] local.INFO: Extracted packet for processing {"connection_id":157985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01939"} 
[2026-08-19 14:25:15] local.INFO: GPS Element Parsed {"raw_longitude":754808960,"raw_latitude":119021360,"longitude_deg":75.480896,"latitude_deg":11.902136,"altitude":47,"angle":227,"satellites":43,"speed":13,"hex_longitude":"2cfd7880","hex_latitude":"07181f30","is_valid_coordinates":true} 
[2026-08-19 14:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505168896001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900376299143168,"note":"Value kept but may cause issues"} 
[2026-08-19 14:25:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-181832804485529600,"note":"Value kept but may cause issues"} 
[2026-08-19 14:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787129568000,"timestamp_ms":1787129568000,"timestamp_seconds":1787129568,"priority":1,"record_length":96,"hex_timestamp":"000001a019391b00"} 
[2026-08-19 14:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-19 14:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505168896001,"66":27767,"239":206,"2":54528,"24":13,"16":385900376299143168,"44":-181832804485529600},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505168896001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:25:15] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900376299143168,"km_value":385900376299143.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:25:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-181832804485529600,"description":"Unknown IO ID 44"} 
[2026-08-19 14:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505168896001,"power":27767,"unknown_239":206,"power_alt":54528,"ignition":13,"odometer":null,"unknown_44":-181832804485529600}} 
[2026-08-19 14:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":157985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:25:15] local.INFO: GPS data processed {"connection_id":157985,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:25:15] local.INFO: Acknowledgment sent {"connection_id":157985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:25:16] local.INFO: TCP Data received {"connection_id":157985,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193922d0012cfd76c007181ce0003000d52c..."} 
[2026-08-19 14:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193922d0012cfd76c007181ce0003000d52c..."} 
[2026-08-19 14:25:16] local.INFO: Processing buffer {"connection_id":157985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193922d0012cfd76c007181ce0003000d52c..."} 
[2026-08-19 14:25:16] local.INFO: Packet analysis {"connection_id":157985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01939"} 
[2026-08-19 14:25:16] local.INFO: Extracted packet for processing {"connection_id":157985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01939"} 
[2026-08-19 14:25:16] local.INFO: GPS Element Parsed {"raw_longitude":754808512,"raw_latitude":119020768,"longitude_deg":75.4808512,"latitude_deg":11.9020768,"altitude":48,"angle":213,"satellites":44,"speed":15,"hex_longitude":"2cfd76c0","hex_latitude":"07181ce0","is_valid_coordinates":true} 
[2026-08-19 14:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505169408001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385900410658881536,"note":"Value kept but may cause issues"} 
[2026-08-19 14:25:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-182255016950681600,"note":"Value kept but may cause issues"} 
[2026-08-19 14:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787129570000,"timestamp_ms":1787129570000,"timestamp_seconds":1787129570,"priority":1,"record_length":96,"hex_timestamp":"000001a0193922d0"} 
[2026-08-19 14:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 14:25:16] 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-08-19 14:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505169408001,"66":27908,"239":206,"2":54528,"24":15,"16":385900410658881536,"44":-182255016950681600},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-08-19 14:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505169408001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:25:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-19 14:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385900410658881536,"km_value":385900410658881.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:25:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-182255016950681600,"description":"Unknown IO ID 44"} 
[2026-08-19 14:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505169408001,"power":27908,"unknown_239":206,"power_alt":54528,"ignition":15,"odometer":null,"unknown_44":-182255016950681600}} 
[2026-08-19 14:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":157985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:25:16] local.INFO: GPS data processed {"connection_id":157985,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:25:16] local.INFO: Acknowledgment sent {"connection_id":157985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:25:45] local.INFO: TCP Data received {"connection_id":158847,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193b2a58012d19b8400720a9d00036014928..."} 
[2026-08-19 14:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193b2a58012d19b8400720a9d00036014928..."} 
[2026-08-19 14:25:45] local.INFO: Processing buffer {"connection_id":158847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193b2a58012d19b8400720a9d00036014928..."} 
[2026-08-19 14:25:45] local.INFO: Packet analysis {"connection_id":158847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193b"} 
[2026-08-19 14:25:45] local.INFO: Extracted packet for processing {"connection_id":158847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193b"} 
[2026-08-19 14:25:45] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119581136,"longitude_deg":75.6660288,"latitude_deg":11.9581136,"altitude":54,"angle":329,"satellites":40,"speed":20,"hex_longitude":"2d19b840","hex_latitude":"0720a9d0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505203712001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13758485351104512,"note":"Value kept but may cause issues"} 
[2026-08-19 14:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996499456,"note":"Value kept but may cause issues"} 
[2026-08-19 14:25: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-08-19 14:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787129703000,"timestamp_ms":1787129703000,"timestamp_seconds":1787129703,"priority":1,"record_length":96,"hex_timestamp":"000001a0193b2a58"} 
[2026-08-19 14:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-19 14:25:45] 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-08-19 14: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-08-19 14:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505203712001,"66":13439,"121":206,"28":31744,"24":20,"16":13758485351104512,"45":1853583120996499456},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505203712001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:25:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:25:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13758485351104512,"km_value":13758485351104.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996499456,"description":"Unknown IO ID 45"} 
[2026-08-19 14:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505203712001,"power":13439,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1853583120996499456}} 
[2026-08-19 14:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":158847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:25:45] local.INFO: GPS data processed {"connection_id":158847,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:25:45] local.INFO: Acknowledgment sent {"connection_id":158847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:25:55] local.INFO: TCP Data received {"connection_id":160156,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:25:55] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:25:55] local.INFO: IMEI packet received {"connection_id":160156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":160156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:25:59] local.INFO: TCP Data received {"connection_id":160156,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:25:59] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:25:59] local.INFO: IMEI packet received {"connection_id":160156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":160156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:26:01] local.INFO: TCP Data received {"connection_id":160156,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:26:01] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:26:01] local.INFO: IMEI packet received {"connection_id":160156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":160156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:26:03] local.INFO: TCP Data received {"connection_id":160156,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193ae408012cfc5d0007175d88003400ee2c..."} 
[2026-08-19 14:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193ae408012cfc5d0007175d88003400ee2c..."} 
[2026-08-19 14:26:03] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193ae408012cfc5d0007175d88003400ee2c..."} 
[2026-08-19 14:26:03] local.INFO: Packet analysis {"connection_id":160156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193a"} 
[2026-08-19 14:26:03] local.INFO: Extracted packet for processing {"connection_id":160156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193a"} 
[2026-08-19 14:26:03] local.INFO: GPS Element Parsed {"raw_longitude":754736384,"raw_latitude":118971784,"longitude_deg":75.4736384,"latitude_deg":11.8971784,"altitude":52,"angle":238,"satellites":44,"speed":35,"hex_longitude":"2cfc5d00","hex_latitude":"07175d88","is_valid_coordinates":true} 
[2026-08-19 14:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505198592001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385904744280883200,"note":"Value kept but may cause issues"} 
[2026-08-19 14:26:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-259379160581804032,"note":"Value kept but may cause issues"} 
[2026-08-19 14:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787129685000,"timestamp_ms":1787129685000,"timestamp_seconds":1787129685,"priority":1,"record_length":96,"hex_timestamp":"000001a0193ae408"} 
[2026-08-19 14:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:26:03] 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-08-19 14:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-19 14:26:03] 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-08-19 14:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505198592001,"66":27713,"86":206,"2":54528,"24":35,"16":385904744280883200,"44":-259379160581804032},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,2,24,16,44]} 
[2026-08-19 14:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505198592001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:26:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-19 14:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385904744280883200,"km_value":385904744280883.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:26:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-259379160581804032,"description":"Unknown IO ID 44"} 
[2026-08-19 14:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505198592001,"power":27713,"unknown_86":206,"power_alt":54528,"ignition":35,"odometer":null,"unknown_44":-259379160581804032}} 
[2026-08-19 14:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":160156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:26:03] local.INFO: GPS data processed {"connection_id":160156,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:26:03] local.INFO: Acknowledgment sent {"connection_id":160156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:26:06] local.INFO: TCP Data received {"connection_id":160156,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193aff60012cfc488007174cc0002f00e32d..."} 
[2026-08-19 14:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193aff60012cfc488007174cc0002f00e32d..."} 
[2026-08-19 14:26:06] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193aff60012cfc488007174cc0002f00e32d..."} 
[2026-08-19 14:26:06] local.INFO: Packet analysis {"connection_id":160156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193a"} 
[2026-08-19 14:26:06] local.INFO: Extracted packet for processing {"connection_id":160156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193a"} 
[2026-08-19 14:26:06] local.INFO: GPS Element Parsed {"raw_longitude":754731136,"raw_latitude":118967488,"longitude_deg":75.4731136,"latitude_deg":11.8967488,"altitude":47,"angle":227,"satellites":45,"speed":36,"hex_longitude":"2cfc4880","hex_latitude":"07174cc0","is_valid_coordinates":true} 
[2026-08-19 14:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505199360001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385905070698397696,"note":"Value kept but may cause issues"} 
[2026-08-19 14:26:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-262053172860844032,"note":"Value kept but may cause issues"} 
[2026-08-19 14:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787129692000,"timestamp_ms":1787129692000,"timestamp_seconds":1787129692,"priority":1,"record_length":96,"hex_timestamp":"000001a0193aff60"} 
[2026-08-19 14:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:26: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-08-19 14:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-19 14:26:06] 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-08-19 14:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505199360001,"66":27919,"86":206,"2":54528,"24":36,"16":385905070698397696,"44":-262053172860844032},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,2,24,16,44]} 
[2026-08-19 14:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505199360001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:26:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-19 14:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385905070698397696,"km_value":385905070698397.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:26:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-262053172860844032,"description":"Unknown IO ID 44"} 
[2026-08-19 14:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505199360001,"power":27919,"unknown_86":206,"power_alt":54528,"ignition":36,"odometer":null,"unknown_44":-262053172860844032}} 
[2026-08-19 14:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":160156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:26:06] local.INFO: GPS data processed {"connection_id":160156,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:26:06] local.INFO: Acknowledgment sent {"connection_id":160156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:26:11] local.INFO: TCP Data received {"connection_id":160157,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:26:11] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:26:11] local.INFO: IMEI packet received {"connection_id":160157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":160157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:26:14] local.INFO: TCP Data received {"connection_id":160157,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:26:14] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:26:14] local.INFO: IMEI packet received {"connection_id":160157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":160157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:26:15] local.INFO: TCP Data received {"connection_id":160157,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:26:15] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:26:15] local.INFO: IMEI packet received {"connection_id":160157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":160157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:26:16] local.INFO: TCP Data received {"connection_id":160157,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193b2e40012d19b6c00720ab280036013129..."} 
[2026-08-19 14:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193b2e40012d19b6c00720ab280036013129..."} 
[2026-08-19 14:26:16] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193b2e40012d19b6c00720ab280036013129..."} 
[2026-08-19 14:26:16] local.INFO: Packet analysis {"connection_id":160157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193b"} 
[2026-08-19 14:26:16] local.INFO: Extracted packet for processing {"connection_id":160157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193b"} 
[2026-08-19 14:26:16] local.INFO: GPS Element Parsed {"raw_longitude":756659904,"raw_latitude":119581480,"longitude_deg":75.6659904,"latitude_deg":11.958148,"altitude":54,"angle":305,"satellites":41,"speed":21,"hex_longitude":"2d19b6c0","hex_latitude":"0720ab28","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505203968001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13758511120908288,"note":"Value kept but may cause issues"} 
[2026-08-19 14:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646019907584,"note":"Value kept but may cause issues"} 
[2026-08-19 14: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-08-19 14:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787129704000,"timestamp_ms":1787129704000,"timestamp_seconds":1787129704,"priority":1,"record_length":96,"hex_timestamp":"000001a0193b2e40"} 
[2026-08-19 14:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-19 14:26:16] 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-08-19 14: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-08-19 14:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505203968001,"66":14276,"121":206,"28":31744,"24":21,"16":13758511120908288,"45":1853301646019907584},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505203968001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:26:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:26:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13758511120908288,"km_value":13758511120908.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646019907584,"description":"Unknown IO ID 45"} 
[2026-08-19 14:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505203968001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1853301646019907584}} 
[2026-08-19 14:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":160157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:26:16] local.INFO: GPS data processed {"connection_id":160157,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:26:16] local.INFO: Acknowledgment sent {"connection_id":160157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:26:17] local.INFO: TCP Data received {"connection_id":160157,"ip":"117.224.158.208","data_length":327,"data_hex":"000000000000013b8e04000001a0193b3610012d19b2400720ad200037012427..."} 
[2026-08-19 14:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":327,"packet_hex":"000000000000013b8e04000001a0193b3610012d19b2400720ad200037012427..."} 
[2026-08-19 14:26:17] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":327,"buffer_hex":"000000000000013b8e04000001a0193b3610012d19b2400720ad200037012427..."} 
[2026-08-19 14:26:17] local.INFO: Packet analysis {"connection_id":160157,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000001a0193b"} 
[2026-08-19 14:26:17] local.INFO: Extracted packet for processing {"connection_id":160157,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000001a0193b"} 
[2026-08-19 14:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756658752,"raw_latitude":119581984,"longitude_deg":75.6658752,"latitude_deg":11.9581984,"altitude":55,"angle":292,"satellites":39,"speed":24,"hex_longitude":"2d19b240","hex_latitude":"0720ad20","is_valid_coordinates":true} 
[2026-08-19 14:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-08-19 14:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505204224001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13758571250450432,"note":"Value kept but may cause issues"} 
[2026-08-19 14:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852879433554929664,"note":"Value kept but may cause issues"} 
[2026-08-19 14:26: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-08-19 14:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787129706000,"timestamp_ms":1787129706000,"timestamp_seconds":1787129706,"priority":1,"record_length":96,"hex_timestamp":"000001a0193b3610"} 
[2026-08-19 14:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":327,"current_offset":136} 
[2026-08-19 14:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:26:17] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160157,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-19 14:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505204224001,"66":14254,"121":206,"28":31744,"24":24,"16":13758571250450432,"45":1852879433554929664},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505204224001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:26:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:26:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13758571250450432,"km_value":13758571250450.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852879433554929664,"description":"Unknown IO ID 45"} 
[2026-08-19 14:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505204224001,"power":14254,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1852879433554929664}} 
[2026-08-19 14:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":160157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:26:17] local.INFO: GPS data processed {"connection_id":160157,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:26:17] local.INFO: Acknowledgment sent {"connection_id":160157,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:26:37] local.INFO: TCP Data received {"connection_id":160156,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193bd250012cfbce800716cbd8002d00dd2c..."} 
[2026-08-19 14:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193bd250012cfbce800716cbd8002d00dd2c..."} 
[2026-08-19 14:26:37] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193bd250012cfbce800716cbd8002d00dd2c..."} 
[2026-08-19 14:26:37] local.INFO: Packet analysis {"connection_id":160156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193b"} 
[2026-08-19 14:26:37] local.INFO: Extracted packet for processing {"connection_id":160156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193b"} 
[2026-08-19 14:26:37] local.INFO: GPS Element Parsed {"raw_longitude":754699904,"raw_latitude":118934488,"longitude_deg":75.4699904,"latitude_deg":11.8934488,"altitude":45,"angle":221,"satellites":44,"speed":28,"hex_longitude":"2cfbce80","hex_latitude":"0716cbd8","is_valid_coordinates":true} 
[2026-08-19 14:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505214976001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385907329851195392,"note":"Value kept but may cause issues"} 
[2026-08-19 14:26:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-302163357051660288,"note":"Value kept but may cause issues"} 
[2026-08-19 14:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787129746000,"timestamp_ms":1787129746000,"timestamp_seconds":1787129746,"priority":1,"record_length":96,"hex_timestamp":"000001a0193bd250"} 
[2026-08-19 14:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 14:26:37] 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-08-19 14:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505214976001,"66":27767,"86":206,"2":54528,"24":28,"16":385907329851195392,"44":-302163357051660288},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,2,24,16,44]} 
[2026-08-19 14:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505214976001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:26:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-19 14:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385907329851195392,"km_value":385907329851195.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:26:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-302163357051660288,"description":"Unknown IO ID 44"} 
[2026-08-19 14:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505214976001,"power":27767,"unknown_86":206,"power_alt":54528,"ignition":28,"odometer":null,"unknown_44":-302163357051660288}} 
[2026-08-19 14:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":160156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:26:37] local.INFO: GPS data processed {"connection_id":160156,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:26:37] local.INFO: Acknowledgment sent {"connection_id":160156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:26:48] local.INFO: TCP Data received {"connection_id":160157,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193b45b0012d19a8800720b0580038011828..."} 
[2026-08-19 14:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193b45b0012d19a8800720b0580038011828..."} 
[2026-08-19 14:26:48] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193b45b0012d19a8800720b0580038011828..."} 
[2026-08-19 14:26:48] local.INFO: Packet analysis {"connection_id":160157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193b"} 
[2026-08-19 14:26:48] local.INFO: Extracted packet for processing {"connection_id":160157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193b"} 
[2026-08-19 14:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756656256,"raw_latitude":119582808,"longitude_deg":75.6656256,"latitude_deg":11.9582808,"altitude":56,"angle":280,"satellites":40,"speed":26,"hex_longitude":"2d19a880","hex_latitude":"0720b058","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505204736001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13758695804502016,"note":"Value kept but may cause issues"} 
[2026-08-19 14:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851612796159860736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:26: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-08-19 14:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787129710000,"timestamp_ms":1787129710000,"timestamp_seconds":1787129710,"priority":1,"record_length":96,"hex_timestamp":"000001a0193b45b0"} 
[2026-08-19 14:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:26: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-08-19 14:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 14:26:48] 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-08-19 14: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-08-19 14:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505204736001,"66":13798,"121":206,"28":31744,"24":26,"16":13758695804502016,"45":1851612796159860736},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505204736001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:26:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:26:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13758695804502016,"km_value":13758695804502.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851612796159860736,"description":"Unknown IO ID 45"} 
[2026-08-19 14:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505204736001,"power":13798,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1851612796159860736}} 
[2026-08-19 14:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":160157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:26:49] local.INFO: GPS data processed {"connection_id":160157,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:26:49] local.INFO: Acknowledgment sent {"connection_id":160157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:26:59] local.INFO: TCP Data received {"connection_id":158848,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:26:59] local.INFO: Processing buffer {"connection_id":158848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:26:59] local.INFO: IMEI packet received {"connection_id":158848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":158848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:27:01] local.INFO: TCP Data received {"connection_id":158848,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:27:01] local.INFO: Processing buffer {"connection_id":158848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:27:01] local.INFO: IMEI packet received {"connection_id":158848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":158848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:27:03] local.INFO: TCP Data received {"connection_id":158848,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193bde08012cfbc9c00716c4d8002f00ce2c..."} 
[2026-08-19 14:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193bde08012cfbc9c00716c4d8002f00ce2c..."} 
[2026-08-19 14:27:03] local.INFO: Processing buffer {"connection_id":158848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193bde08012cfbc9c00716c4d8002f00ce2c..."} 
[2026-08-19 14:27:03] local.INFO: Packet analysis {"connection_id":158848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193b"} 
[2026-08-19 14:27:03] local.INFO: Extracted packet for processing {"connection_id":158848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193b"} 
[2026-08-19 14:27:03] local.INFO: GPS Element Parsed {"raw_longitude":754698688,"raw_latitude":118932696,"longitude_deg":75.4698688,"latitude_deg":11.8932696,"altitude":47,"angle":206,"satellites":44,"speed":28,"hex_longitude":"2cfbc9c0","hex_latitude":"0716c4d8","is_valid_coordinates":true} 
[2026-08-19 14:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505214976001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385907432930410496,"note":"Value kept but may cause issues"} 
[2026-08-19 14:27:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-302163357051660288,"note":"Value kept but may cause issues"} 
[2026-08-19 14:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787129749000,"timestamp_ms":1787129749000,"timestamp_seconds":1787129749,"priority":1,"record_length":96,"hex_timestamp":"000001a0193bde08"} 
[2026-08-19 14:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:27:03] 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-08-19 14:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 14:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":158848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":158848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":158848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505214976001,"66":27865,"87":206,"2":54528,"24":28,"16":385907432930410496,"44":-302163357051660288},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 14:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505214976001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:27:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 14:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385907432930410496,"km_value":385907432930410.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:27:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-302163357051660288,"description":"Unknown IO ID 44"} 
[2026-08-19 14:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505214976001,"power":27865,"unknown_87":206,"power_alt":54528,"ignition":28,"odometer":null,"unknown_44":-302163357051660288}} 
[2026-08-19 14:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":158848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:27:03] local.INFO: GPS data processed {"connection_id":158848,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:27:03] local.INFO: Acknowledgment sent {"connection_id":158848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:27:07] local.INFO: TCP Data received {"connection_id":157599,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:27:07] local.INFO: Processing buffer {"connection_id":157599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:27:07] local.INFO: IMEI packet received {"connection_id":157599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":157599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:27:07] local.INFO: TCP Data received {"connection_id":157599,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:27:07] local.INFO: Processing buffer {"connection_id":157599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:27:07] local.INFO: IMEI packet received {"connection_id":157599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":157599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:27:08] local.INFO: TCP Data received {"connection_id":157599,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:27:08] local.INFO: Processing buffer {"connection_id":157599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:27:08] local.INFO: IMEI packet received {"connection_id":157599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":157599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:27:09] local.INFO: TCP Data received {"connection_id":157599,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:27:09] local.INFO: Processing buffer {"connection_id":157599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:27:09] local.INFO: IMEI packet received {"connection_id":157599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":157599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:27:10] local.INFO: TCP Data received {"connection_id":157599,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193c37e0012d18e0800720f4e0003c013b28..."} 
[2026-08-19 14:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193c37e0012d18e0800720f4e0003c013b28..."} 
[2026-08-19 14:27:10] local.INFO: Processing buffer {"connection_id":157599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193c37e0012d18e0800720f4e0003c013b28..."} 
[2026-08-19 14:27:10] local.INFO: Packet analysis {"connection_id":157599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193c"} 
[2026-08-19 14:27:10] local.INFO: Extracted packet for processing {"connection_id":157599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193c"} 
[2026-08-19 14:27:10] local.INFO: GPS Element Parsed {"raw_longitude":756605056,"raw_latitude":119600352,"longitude_deg":75.6605056,"latitude_deg":11.9600352,"altitude":60,"angle":315,"satellites":40,"speed":34,"hex_longitude":"2d18e080","hex_latitude":"0720f4e0","is_valid_coordinates":true} 
[2026-08-19 14:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505219840001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13761470353375232,"note":"Value kept but may cause issues"} 
[2026-08-19 14:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796373331983751168,"note":"Value kept but may cause issues"} 
[2026-08-19 14:27: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-08-19 14:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787129772000,"timestamp_ms":1787129772000,"timestamp_seconds":1787129772,"priority":1,"record_length":96,"hex_timestamp":"000001a0193c37e0"} 
[2026-08-19 14:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 14:27:10] 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-08-19 14:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505219840001,"66":13993,"121":206,"28":31744,"24":34,"16":13761470353375232,"45":1796373331983751168},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505219840001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:27:10] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:27:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13761470353375232,"km_value":13761470353375.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796373331983751168,"description":"Unknown IO ID 45"} 
[2026-08-19 14:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505219840001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1796373331983751168}} 
[2026-08-19 14:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":157599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:27:10] local.INFO: GPS data processed {"connection_id":157599,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:27:10] local.INFO: Acknowledgment sent {"connection_id":157599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:27:34] local.INFO: TCP Data received {"connection_id":158848,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193bf578012cfbc4800716b5a8003100c02a..."} 
[2026-08-19 14:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193bf578012cfbc4800716b5a8003100c02a..."} 
[2026-08-19 14:27:34] local.INFO: Processing buffer {"connection_id":158848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193bf578012cfbc4800716b5a8003100c02a..."} 
[2026-08-19 14:27:34] local.INFO: Packet analysis {"connection_id":158848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193b"} 
[2026-08-19 14:27:34] local.INFO: Extracted packet for processing {"connection_id":158848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193b"} 
[2026-08-19 14:27:34] local.INFO: GPS Element Parsed {"raw_longitude":754697344,"raw_latitude":118928808,"longitude_deg":75.4697344,"latitude_deg":11.8928808,"altitude":49,"angle":192,"satellites":42,"speed":25,"hex_longitude":"2cfbc480","hex_latitude":"0716b5a8","is_valid_coordinates":true} 
[2026-08-19 14:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505215744001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385907634793873408,"note":"Value kept but may cause issues"} 
[2026-08-19 14:27:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-303500363191494656,"note":"Value kept but may cause issues"} 
[2026-08-19 14:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787129755000,"timestamp_ms":1787129755000,"timestamp_seconds":1787129755,"priority":1,"record_length":96,"hex_timestamp":"000001a0193bf578"} 
[2026-08-19 14:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:27: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-08-19 14:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 14:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":158848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":158848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":158848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505215744001,"66":27767,"87":206,"2":54528,"24":25,"16":385907634793873408,"44":-303500363191494656},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 14:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505215744001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:27:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 14:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385907634793873408,"km_value":385907634793873.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:27:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-303500363191494656,"description":"Unknown IO ID 44"} 
[2026-08-19 14:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505215744001,"power":27767,"unknown_87":206,"power_alt":54528,"ignition":25,"odometer":null,"unknown_44":-303500363191494656}} 
[2026-08-19 14:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":158848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:27:34] local.INFO: GPS data processed {"connection_id":158848,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:27:34] local.INFO: Acknowledgment sent {"connection_id":158848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:27:43] local.INFO: TCP Data received {"connection_id":157599,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193ce3c0012d189e8007217738004c011a27..."} 
[2026-08-19 14:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193ce3c0012d189e8007217738004c011a27..."} 
[2026-08-19 14:27:43] local.INFO: Processing buffer {"connection_id":157599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193ce3c0012d189e8007217738004c011a27..."} 
[2026-08-19 14:27:43] local.INFO: Packet analysis {"connection_id":157599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193c"} 
[2026-08-19 14:27:43] local.INFO: Extracted packet for processing {"connection_id":157599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193c"} 
[2026-08-19 14:27:43] local.INFO: GPS Element Parsed {"raw_longitude":756588160,"raw_latitude":119633720,"longitude_deg":75.658816,"latitude_deg":11.963372,"altitude":76,"angle":282,"satellites":39,"speed":38,"hex_longitude":"2d189e80","hex_latitude":"07217738","is_valid_coordinates":true} 
[2026-08-19 14:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505232384001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13763381613821952,"note":"Value kept but may cause issues"} 
[2026-08-19 14:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775966396181960704,"note":"Value kept but may cause issues"} 
[2026-08-19 14:27: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-08-19 14:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787129816000,"timestamp_ms":1787129816000,"timestamp_seconds":1787129816,"priority":1,"record_length":96,"hex_timestamp":"000001a0193ce3c0"} 
[2026-08-19 14:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-19 14:27:43] 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-08-19 14:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505232384001,"66":13993,"121":206,"28":31744,"24":38,"16":13763381613821952,"45":1775966396181960704},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505232384001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:27:43] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:27:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13763381613821952,"km_value":13763381613821.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775966396181960704,"description":"Unknown IO ID 45"} 
[2026-08-19 14:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505232384001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1775966396181960704}} 
[2026-08-19 14:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":157599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:27:43] local.INFO: GPS data processed {"connection_id":157599,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:27:43] local.INFO: Acknowledgment sent {"connection_id":157599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:27:59] local.INFO: TCP Data received {"connection_id":160158,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:27:59] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:27:59] local.INFO: IMEI packet received {"connection_id":160158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":160158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:28:01] local.INFO: TCP Data received {"connection_id":160158,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:28:01] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:28:01] local.INFO: IMEI packet received {"connection_id":160158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":160158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:28:05] local.INFO: TCP Data received {"connection_id":160158,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:28:05] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:28:05] local.INFO: IMEI packet received {"connection_id":160158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":160158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:28:06] local.INFO: TCP Data received {"connection_id":160158,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193cd420012cfbce0007167b68003801242d..."} 
[2026-08-19 14:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193cd420012cfbce0007167b68003801242d..."} 
[2026-08-19 14:28:06] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193cd420012cfbce0007167b68003801242d..."} 
[2026-08-19 14:28:06] local.INFO: Packet analysis {"connection_id":160158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193c"} 
[2026-08-19 14:28:06] local.INFO: Extracted packet for processing {"connection_id":160158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193c"} 
[2026-08-19 14:28:06] local.INFO: GPS Element Parsed {"raw_longitude":754699776,"raw_latitude":118913896,"longitude_deg":75.4699776,"latitude_deg":11.8913896,"altitude":56,"angle":292,"satellites":45,"speed":8,"hex_longitude":"2cfbce00","hex_latitude":"07167b68","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505231616001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385908433657790464,"note":"Value kept but may cause issues"} 
[2026-08-19 14:28:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-302163357056944128,"note":"Value kept but may cause issues"} 
[2026-08-19 14:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787129812000,"timestamp_ms":1787129812000,"timestamp_seconds":1787129812,"priority":1,"record_length":96,"hex_timestamp":"000001a0193cd420"} 
[2026-08-19 14:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:28: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-08-19 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 14:28:06] 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-08-19 14: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-08-19 14:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505231616001,"66":27626,"87":206,"2":54528,"24":8,"16":385908433657790464,"44":-302163357056944128},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 14:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505231616001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:28:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 14:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385908433657790464,"km_value":385908433657790.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:28:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-302163357056944128,"description":"Unknown IO ID 44"} 
[2026-08-19 14:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505231616001,"power":27626,"unknown_87":206,"power_alt":54528,"ignition":8,"odometer":null,"unknown_44":-302163357056944128}} 
[2026-08-19 14:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":160158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:28:06] local.INFO: GPS data processed {"connection_id":160158,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:28:06] local.INFO: Acknowledgment sent {"connection_id":160158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:28:07] local.INFO: TCP Data received {"connection_id":157986,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:28:07] local.INFO: Processing buffer {"connection_id":157986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:28:07] local.INFO: IMEI packet received {"connection_id":157986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":157986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:28:08] local.INFO: TCP Data received {"connection_id":157986,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:28:08] local.INFO: Processing buffer {"connection_id":157986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:28:08] local.INFO: IMEI packet received {"connection_id":157986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":157986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:28:10] local.INFO: TCP Data received {"connection_id":160158,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193cf360012cfbc44007167ed8003701172b..."} 
[2026-08-19 14:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193cf360012cfbc44007167ed8003701172b..."} 
[2026-08-19 14:28:10] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193cf360012cfbc44007167ed8003701172b..."} 
[2026-08-19 14:28:10] local.INFO: Packet analysis {"connection_id":160158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193c"} 
[2026-08-19 14:28:10] local.INFO: Extracted packet for processing {"connection_id":160158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193c"} 
[2026-08-19 14:28:10] local.INFO: GPS Element Parsed {"raw_longitude":754697280,"raw_latitude":118914776,"longitude_deg":75.469728,"latitude_deg":11.8914776,"altitude":55,"angle":279,"satellites":43,"speed":18,"hex_longitude":"2cfbc440","hex_latitude":"07167ed8","is_valid_coordinates":true} 
[2026-08-19 14:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505231872001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385908562506809344,"note":"Value kept but may cause issues"} 
[2026-08-19 14:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-302304094545287168,"note":"Value kept but may cause issues"} 
[2026-08-19 14:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787129820000,"timestamp_ms":1787129820000,"timestamp_seconds":1787129820,"priority":1,"record_length":96,"hex_timestamp":"000001a0193cf360"} 
[2026-08-19 14:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-19 14:28:10] 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-08-19 14:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505231872001,"66":28082,"87":206,"2":54528,"24":18,"16":385908562506809344,"44":-302304094545287168},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 14:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505231872001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:28:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 14:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385908562506809344,"km_value":385908562506809.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-302304094545287168,"description":"Unknown IO ID 44"} 
[2026-08-19 14:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505231872001,"power":28082,"unknown_87":206,"power_alt":54528,"ignition":18,"odometer":null,"unknown_44":-302304094545287168}} 
[2026-08-19 14:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":160158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:28:10] local.INFO: GPS data processed {"connection_id":160158,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:28:10] local.INFO: Acknowledgment sent {"connection_id":160158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:28:14] local.INFO: TCP Data received {"connection_id":157986,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:28:14] local.INFO: Processing buffer {"connection_id":157986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:28:14] local.INFO: IMEI packet received {"connection_id":157986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":157986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:28:15] local.INFO: TCP Data received {"connection_id":157986,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193cef78012d18934007217ab8004b012927..."} 
[2026-08-19 14:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193cef78012d18934007217ab8004b012927..."} 
[2026-08-19 14:28:15] local.INFO: Processing buffer {"connection_id":157986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193cef78012d18934007217ab8004b012927..."} 
[2026-08-19 14:28:15] local.INFO: Packet analysis {"connection_id":157986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193c"} 
[2026-08-19 14:28:15] local.INFO: Extracted packet for processing {"connection_id":157986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193c"} 
[2026-08-19 14:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756585280,"raw_latitude":119634616,"longitude_deg":75.658528,"latitude_deg":11.9634616,"altitude":75,"angle":297,"satellites":39,"speed":39,"hex_longitude":"2d189340","hex_latitude":"07217ab8","is_valid_coordinates":true} 
[2026-08-19 14:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505232896001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13763523347742720,"note":"Value kept but may cause issues"} 
[2026-08-19 14:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773996071345141760,"note":"Value kept but may cause issues"} 
[2026-08-19 14:28: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-08-19 14:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787129819000,"timestamp_ms":1787129819000,"timestamp_seconds":1787129819,"priority":1,"record_length":96,"hex_timestamp":"000001a0193cef78"} 
[2026-08-19 14:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:28: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-08-19 14:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 14:28:15] 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-08-19 14:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505232896001,"66":14070,"121":206,"28":31744,"24":39,"16":13763523347742720,"45":1773996071345141760},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505232896001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:28:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:28:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13763523347742720,"km_value":13763523347742.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773996071345141760,"description":"Unknown IO ID 45"} 
[2026-08-19 14:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505232896001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1773996071345141760}} 
[2026-08-19 14:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":157986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:28:15] local.INFO: GPS data processed {"connection_id":157986,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:28:15] local.INFO: Acknowledgment sent {"connection_id":157986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:28:44] local.INFO: TCP Data received {"connection_id":160158,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193d31e0012cfba080071681980037010f2b..."} 
[2026-08-19 14:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193d31e0012cfba080071681980037010f2b..."} 
[2026-08-19 14:28:44] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193d31e0012cfba080071681980037010f2b..."} 
[2026-08-19 14:28:44] local.INFO: Packet analysis {"connection_id":160158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193d"} 
[2026-08-19 14:28:44] local.INFO: Extracted packet for processing {"connection_id":160158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193d"} 
[2026-08-19 14:28:44] local.INFO: GPS Element Parsed {"raw_longitude":754688128,"raw_latitude":118915480,"longitude_deg":75.4688128,"latitude_deg":11.891548,"altitude":55,"angle":271,"satellites":43,"speed":22,"hex_longitude":"2cfba080","hex_latitude":"07168198","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505233920001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385909000593473536,"note":"Value kept but may cause issues"} 
[2026-08-19 14:28:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-305048475567990784,"note":"Value kept but may cause issues"} 
[2026-08-19 14:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787129836000,"timestamp_ms":1787129836000,"timestamp_seconds":1787129836,"priority":1,"record_length":96,"hex_timestamp":"000001a0193d31e0"} 
[2026-08-19 14:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:28:44] 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-08-19 14: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 14:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505233920001,"66":27876,"87":206,"2":54528,"24":22,"16":385909000593473536,"44":-305048475567990784},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 14:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505233920001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:28:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 14:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385909000593473536,"km_value":385909000593473.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:28:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-305048475567990784,"description":"Unknown IO ID 44"} 
[2026-08-19 14:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505233920001,"power":27876,"unknown_87":206,"power_alt":54528,"ignition":22,"odometer":null,"unknown_44":-305048475567990784}} 
[2026-08-19 14:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":160158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:28:44] local.INFO: GPS data processed {"connection_id":160158,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:28:44] local.INFO: Acknowledgment sent {"connection_id":160158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:28:46] local.INFO: TCP Data received {"connection_id":157986,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193cff18012d1884c0072180a0004a011d27..."} 
[2026-08-19 14:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193cff18012d1884c0072180a0004a011d27..."} 
[2026-08-19 14:28:46] local.INFO: Processing buffer {"connection_id":157986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193cff18012d1884c0072180a0004a011d27..."} 
[2026-08-19 14:28:46] local.INFO: Packet analysis {"connection_id":157986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193c"} 
[2026-08-19 14:28:46] local.INFO: Extracted packet for processing {"connection_id":157986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193c"} 
[2026-08-19 14:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756581568,"raw_latitude":119636128,"longitude_deg":75.6581568,"latitude_deg":11.9636128,"altitude":74,"angle":285,"satellites":39,"speed":39,"hex_longitude":"2d1884c0","hex_latitude":"072180a0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505233664001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13763716621271040,"note":"Value kept but may cause issues"} 
[2026-08-19 14:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770829477857376256,"note":"Value kept but may cause issues"} 
[2026-08-19 14:28:46] 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-08-19 14:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787129823000,"timestamp_ms":1787129823000,"timestamp_seconds":1787129823,"priority":1,"record_length":96,"hex_timestamp":"000001a0193cff18"} 
[2026-08-19 14:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-19 14:28:46] 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-08-19 14: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-08-19 14:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505233664001,"66":14439,"120":206,"28":31744,"24":39,"16":13763716621271040,"45":1770829477857376256},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505233664001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:28:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:28:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13763716621271040,"km_value":13763716621271.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770829477857376256,"description":"Unknown IO ID 45"} 
[2026-08-19 14:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505233664001,"power":14439,"unknown_120":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1770829477857376256}} 
[2026-08-19 14:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":157986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:28:46] local.INFO: GPS data processed {"connection_id":157986,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:28:46] local.INFO: Acknowledgment sent {"connection_id":157986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:28:59] local.INFO: TCP Data received {"connection_id":157600,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:28:59] local.INFO: Processing buffer {"connection_id":157600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:28:59] local.INFO: IMEI packet received {"connection_id":157600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":157600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:29:04] local.INFO: TCP Data received {"connection_id":157600,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:29:04] local.INFO: Processing buffer {"connection_id":157600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:29:04] local.INFO: IMEI packet received {"connection_id":157600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":157600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:29:06] local.INFO: TCP Data received {"connection_id":157600,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193d4d38012cfb8fc0071680a8003501022a..."} 
[2026-08-19 14:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193d4d38012cfb8fc0071680a8003501022a..."} 
[2026-08-19 14:29:06] local.INFO: Processing buffer {"connection_id":157600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193d4d38012cfb8fc0071680a8003501022a..."} 
[2026-08-19 14:29:06] local.INFO: Packet analysis {"connection_id":157600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193d"} 
[2026-08-19 14:29:06] local.INFO: Extracted packet for processing {"connection_id":157600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193d"} 
[2026-08-19 14:29:06] local.INFO: GPS Element Parsed {"raw_longitude":754683840,"raw_latitude":118915240,"longitude_deg":75.468384,"latitude_deg":11.891524,"altitude":53,"angle":258,"satellites":42,"speed":28,"hex_longitude":"2cfb8fc0","hex_latitude":"071680a8","is_valid_coordinates":true} 
[2026-08-19 14:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505238016001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385909202456936448,"note":"Value kept but may cause issues"} 
[2026-08-19 14:29:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-315111205985216512,"note":"Value kept but may cause issues"} 
[2026-08-19 14:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787129843000,"timestamp_ms":1787129843000,"timestamp_seconds":1787129843,"priority":1,"record_length":96,"hex_timestamp":"000001a0193d4d38"} 
[2026-08-19 14:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:29: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-08-19 14:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 14:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505238016001,"66":27789,"87":206,"2":54528,"24":28,"16":385909202456936448,"44":-315111205985216512},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 14:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505238016001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:29:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 14:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385909202456936448,"km_value":385909202456936.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:29:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-315111205985216512,"description":"Unknown IO ID 44"} 
[2026-08-19 14:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505238016001,"power":27789,"unknown_87":206,"power_alt":54528,"ignition":28,"odometer":null,"unknown_44":-315111205985216512}} 
[2026-08-19 14:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":157600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:29:06] local.INFO: GPS data processed {"connection_id":157600,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:29:06] local.INFO: Acknowledgment sent {"connection_id":157600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:29:08] local.INFO: TCP Data received {"connection_id":157987,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:29:08] local.INFO: Processing buffer {"connection_id":157987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:29:08] local.INFO: IMEI packet received {"connection_id":157987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":157987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:29:14] local.INFO: TCP Data received {"connection_id":157987,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:29:14] local.INFO: Processing buffer {"connection_id":157987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:29:14] local.INFO: IMEI packet received {"connection_id":157987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":157987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:29:16] local.INFO: TCP Data received {"connection_id":157987,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193e1858012d1824800721b600004c001a28..."} 
[2026-08-19 14:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193e1858012d1824800721b600004c001a28..."} 
[2026-08-19 14:29:16] local.INFO: Processing buffer {"connection_id":157987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193e1858012d1824800721b600004c001a28..."} 
[2026-08-19 14:29:16] local.INFO: Packet analysis {"connection_id":157987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193e"} 
[2026-08-19 14:29:16] local.INFO: Extracted packet for processing {"connection_id":157987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193e"} 
[2026-08-19 14:29:16] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649792,"longitude_deg":75.6556928,"latitude_deg":11.9649792,"altitude":76,"angle":26,"satellites":40,"speed":12,"hex_longitude":"2d182480","hex_latitude":"0721b600","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505250816001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765353003810816,"note":"Value kept but may cause issues"} 
[2026-08-19 14:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120329728,"note":"Value kept but may cause issues"} 
[2026-08-19 14:29:16] 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-08-19 14:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787129895000,"timestamp_ms":1787129895000,"timestamp_seconds":1787129895,"priority":1,"record_length":96,"hex_timestamp":"000001a0193e1858"} 
[2026-08-19 14:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:29: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-08-19 14: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-19 14:29:16] 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-08-19 14: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-08-19 14:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505250816001,"66":13254,"120":206,"28":31744,"24":12,"16":13765353003810816,"45":1737474693120329728},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505250816001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:29:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:29:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765353003810816,"km_value":13765353003810.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120329728,"description":"Unknown IO ID 45"} 
[2026-08-19 14:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505250816001,"power":13254,"unknown_120":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1737474693120329728}} 
[2026-08-19 14:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":157987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:29:16] local.INFO: GPS data processed {"connection_id":157987,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:29:16] local.INFO: Acknowledgment sent {"connection_id":157987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:29:37] local.INFO: TCP Data received {"connection_id":157600,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193d7c18012cfb6c40071679d00037010129..."} 
[2026-08-19 14:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193d7c18012cfb6c40071679d00037010129..."} 
[2026-08-19 14:29:37] local.INFO: Processing buffer {"connection_id":157600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193d7c18012cfb6c40071679d00037010129..."} 
[2026-08-19 14:29:37] local.INFO: Packet analysis {"connection_id":157600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193d"} 
[2026-08-19 14:29:37] local.INFO: Extracted packet for processing {"connection_id":157600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193d"} 
[2026-08-19 14:29:37] local.INFO: GPS Element Parsed {"raw_longitude":754674752,"raw_latitude":118913488,"longitude_deg":75.4674752,"latitude_deg":11.8913488,"altitude":55,"angle":257,"satellites":41,"speed":19,"hex_longitude":"2cfb6c40","hex_latitude":"071679d0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505239808001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385909640543600640,"note":"Value kept but may cause issues"} 
[2026-08-19 14:29:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-319825911845181440,"note":"Value kept but may cause issues"} 
[2026-08-19 14:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787129855000,"timestamp_ms":1787129855000,"timestamp_seconds":1787129855,"priority":1,"record_length":96,"hex_timestamp":"000001a0193d7c18"} 
[2026-08-19 14:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-19 14:29:37] 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-08-19 14: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-08-19 14:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505239808001,"66":27908,"88":206,"2":54528,"24":19,"16":385909640543600640,"44":-319825911845181440},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,2,24,16,44]} 
[2026-08-19 14:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505239808001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:29:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-08-19 14:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385909640543600640,"km_value":385909640543600.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:29:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-319825911845181440,"description":"Unknown IO ID 44"} 
[2026-08-19 14:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505239808001,"power":27908,"unknown_88":206,"power_alt":54528,"ignition":19,"odometer":null,"unknown_44":-319825911845181440}} 
[2026-08-19 14:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":157600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:29:37] local.INFO: GPS data processed {"connection_id":157600,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:29:37] local.INFO: Acknowledgment sent {"connection_id":157600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:29:47] local.INFO: TCP Data received {"connection_id":157987,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193e1c40012d1824c00721b708004c016729..."} 
[2026-08-19 14:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193e1c40012d1824c00721b708004c016729..."} 
[2026-08-19 14:29:47] local.INFO: Processing buffer {"connection_id":157987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193e1c40012d1824c00721b708004c016729..."} 
[2026-08-19 14:29:47] local.INFO: Packet analysis {"connection_id":157987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193e"} 
[2026-08-19 14:29:47] local.INFO: Extracted packet for processing {"connection_id":157987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193e"} 
[2026-08-19 14:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650056,"longitude_deg":75.6556992,"latitude_deg":11.9650056,"altitude":76,"angle":359,"satellites":41,"speed":10,"hex_longitude":"2d1824c0","hex_latitude":"0721b708","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505253120001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765365888712704,"note":"Value kept but may cause issues"} 
[2026-08-19 14:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190556160,"note":"Value kept but may cause issues"} 
[2026-08-19 14:29:47] 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-08-19 14:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787129896000,"timestamp_ms":1787129896000,"timestamp_seconds":1787129896,"priority":1,"record_length":96,"hex_timestamp":"000001a0193e1c40"} 
[2026-08-19 14:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-19 14:29:47] 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-08-19 14: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-08-19 14:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505253120001,"66":13254,"120":206,"28":31744,"24":10,"16":13765365888712704,"45":1739656124190556160},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505253120001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:29:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:29:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765365888712704,"km_value":13765365888712.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190556160,"description":"Unknown IO ID 45"} 
[2026-08-19 14:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505253120001,"power":13254,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1739656124190556160}} 
[2026-08-19 14:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":157987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:29:47] local.INFO: GPS data processed {"connection_id":157987,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:29:47] local.INFO: Acknowledgment sent {"connection_id":157987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:30:08] local.INFO: TCP Data received {"connection_id":158849,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:30:08] local.INFO: Processing buffer {"connection_id":158849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:30:08] local.INFO: IMEI packet received {"connection_id":158849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":158849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:30:09] local.INFO: TCP Data received {"connection_id":157601,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:30:09] local.INFO: Processing buffer {"connection_id":157601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:30:09] local.INFO: IMEI packet received {"connection_id":157601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":157601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:30:11] local.INFO: TCP Data received {"connection_id":157601,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:30:11] local.INFO: Processing buffer {"connection_id":157601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:30:11] local.INFO: IMEI packet received {"connection_id":157601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":157601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:30:14] local.INFO: TCP Data received {"connection_id":158849,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:30:14] local.INFO: Processing buffer {"connection_id":158849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:30:14] local.INFO: IMEI packet received {"connection_id":158849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":158849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:30:14] local.INFO: TCP Data received {"connection_id":157601,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:30:14] local.INFO: Processing buffer {"connection_id":157601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:30:14] local.INFO: IMEI packet received {"connection_id":157601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":157601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:30:15] local.INFO: TCP Data received {"connection_id":158849,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193e2028012d1824800721b7c8004c014128..."} 
[2026-08-19 14:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193e2028012d1824800721b7c8004c014128..."} 
[2026-08-19 14:30:15] local.INFO: Processing buffer {"connection_id":158849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193e2028012d1824800721b7c8004c014128..."} 
[2026-08-19 14:30:15] local.INFO: Packet analysis {"connection_id":158849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193e"} 
[2026-08-19 14:30:15] local.INFO: Extracted packet for processing {"connection_id":158849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193e"} 
[2026-08-19 14:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650248,"longitude_deg":75.6556928,"latitude_deg":11.9650248,"altitude":76,"angle":321,"satellites":40,"speed":7,"hex_longitude":"2d182480","hex_latitude":"0721b7c8","is_valid_coordinates":true} 
[2026-08-19 14:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505253376001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765374478647296,"note":"Value kept but may cause issues"} 
[2026-08-19 14:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934801408,"note":"Value kept but may cause issues"} 
[2026-08-19 14:30: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-08-19 14:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787129897000,"timestamp_ms":1787129897000,"timestamp_seconds":1787129897,"priority":1,"record_length":96,"hex_timestamp":"000001a0193e2028"} 
[2026-08-19 14:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:30: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-08-19 14:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-19 14:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505253376001,"66":13243,"120":206,"28":31744,"24":7,"16":13765374478647296,"45":1739726492934801408},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505253376001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:30:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:30:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765374478647296,"km_value":13765374478647.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934801408,"description":"Unknown IO ID 45"} 
[2026-08-19 14:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505253376001,"power":13243,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1739726492934801408}} 
[2026-08-19 14:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":158849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:30:15] local.INFO: GPS data processed {"connection_id":158849,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:30:15] local.INFO: Acknowledgment sent {"connection_id":158849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:30:16] local.INFO: TCP Data received {"connection_id":157601,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193dce20012cfb4880071673f8003001072b..."} 
[2026-08-19 14:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193dce20012cfb4880071673f8003001072b..."} 
[2026-08-19 14:30:16] local.INFO: Processing buffer {"connection_id":157601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193dce20012cfb4880071673f8003001072b..."} 
[2026-08-19 14:30:16] local.INFO: Packet analysis {"connection_id":157601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193d"} 
[2026-08-19 14:30:16] local.INFO: Extracted packet for processing {"connection_id":157601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193d"} 
[2026-08-19 14:30:16] local.INFO: GPS Element Parsed {"raw_longitude":754665600,"raw_latitude":118911992,"longitude_deg":75.46656,"latitude_deg":11.8911992,"altitude":48,"angle":263,"satellites":43,"speed":32,"hex_longitude":"2cfb4880","hex_latitude":"071673f8","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505242880001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385910082925232128,"note":"Value kept but may cause issues"} 
[2026-08-19 14:30:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-329818273518858240,"note":"Value kept but may cause issues"} 
[2026-08-19 14:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787129876000,"timestamp_ms":1787129876000,"timestamp_seconds":1787129876,"priority":1,"record_length":96,"hex_timestamp":"000001a0193dce20"} 
[2026-08-19 14:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 14:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505242880001,"66":27930,"88":206,"2":54528,"24":32,"16":385910082925232128,"44":-329818273518858240},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,2,24,16,44]} 
[2026-08-19 14:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505242880001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:30:16] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-08-19 14:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385910082925232128,"km_value":385910082925232.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:30:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-329818273518858240,"description":"Unknown IO ID 44"} 
[2026-08-19 14:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505242880001,"power":27930,"unknown_88":206,"power_alt":54528,"ignition":32,"odometer":null,"unknown_44":-329818273518858240}} 
[2026-08-19 14:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":157601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:30:16] local.INFO: GPS data processed {"connection_id":157601,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:30:16] local.INFO: Acknowledgment sent {"connection_id":157601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:30:21] local.INFO: TCP Data received {"connection_id":157601,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193dce20012cfb4880071673f8003001072b..."} 
[2026-08-19 14:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193dce20012cfb4880071673f8003001072b..."} 
[2026-08-19 14:30:21] local.INFO: Processing buffer {"connection_id":157601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193dce20012cfb4880071673f8003001072b..."} 
[2026-08-19 14:30:21] local.INFO: Packet analysis {"connection_id":157601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193d"} 
[2026-08-19 14:30:21] local.INFO: Extracted packet for processing {"connection_id":157601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193d"} 
[2026-08-19 14:30:21] local.INFO: GPS Element Parsed {"raw_longitude":754665600,"raw_latitude":118911992,"longitude_deg":75.46656,"latitude_deg":11.8911992,"altitude":48,"angle":263,"satellites":43,"speed":32,"hex_longitude":"2cfb4880","hex_latitude":"071673f8","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505248256001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385910082925232128,"note":"Value kept but may cause issues"} 
[2026-08-19 14:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-339881003936647168,"note":"Value kept but may cause issues"} 
[2026-08-19 14:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787129876000,"timestamp_ms":1787129876000,"timestamp_seconds":1787129876,"priority":1,"record_length":96,"hex_timestamp":"000001a0193dce20"} 
[2026-08-19 14:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:30: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-08-19 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 14:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":157601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":157601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":157601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505248256001,"66":27930,"88":206,"2":54528,"24":32,"16":385910082925232128,"44":-339881003936647168},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,2,24,16,44]} 
[2026-08-19 14:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505248256001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:30:21] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-08-19 14:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385910082925232128,"km_value":385910082925232.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-339881003936647168,"description":"Unknown IO ID 44"} 
[2026-08-19 14:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505248256001,"power":27930,"unknown_88":206,"power_alt":54528,"ignition":32,"odometer":null,"unknown_44":-339881003936647168}} 
[2026-08-19 14:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":157601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:30:21] local.INFO: GPS data processed {"connection_id":157601,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:30:21] local.INFO: Acknowledgment sent {"connection_id":157601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:30:47] local.INFO: TCP Data received {"connection_id":158849,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193e2410012d1824000721b800004c011429..."} 
[2026-08-19 14:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193e2410012d1824000721b800004c011429..."} 
[2026-08-19 14:30:47] local.INFO: Processing buffer {"connection_id":158849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193e2410012d1824000721b800004c011429..."} 
[2026-08-19 14:30:47] local.INFO: Packet analysis {"connection_id":158849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193e"} 
[2026-08-19 14:30:47] local.INFO: Extracted packet for processing {"connection_id":158849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193e"} 
[2026-08-19 14:30:47] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650304,"longitude_deg":75.65568,"latitude_deg":11.9650304,"altitude":76,"angle":276,"satellites":41,"speed":5,"hex_longitude":"2d182400","hex_latitude":"0721b800","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505253632001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765383068581888,"note":"Value kept but may cause issues"} 
[2026-08-19 14:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190672896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:30:47] 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-08-19 14:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787129898000,"timestamp_ms":1787129898000,"timestamp_seconds":1787129898,"priority":1,"record_length":96,"hex_timestamp":"000001a0193e2410"} 
[2026-08-19 14:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 14:30:47] 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-08-19 14: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-08-19 14:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505253632001,"66":13243,"120":206,"28":31744,"24":5,"16":13765383068581888,"45":1739656124190672896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505253632001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:30:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:30:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765383068581888,"km_value":13765383068581.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190672896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505253632001,"power":13243,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1739656124190672896}} 
[2026-08-19 14:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":158849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:30:47] local.INFO: GPS data processed {"connection_id":158849,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:30:47] local.INFO: Acknowledgment sent {"connection_id":158849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:30:59] local.INFO: TCP Data received {"connection_id":160159,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:30:59] local.INFO: Processing buffer {"connection_id":160159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:30:59] local.INFO: IMEI packet received {"connection_id":160159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":160159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:31:00] local.INFO: TCP Data received {"connection_id":160159,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:31:00] local.INFO: Processing buffer {"connection_id":160159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:31:00] local.INFO: IMEI packet received {"connection_id":160159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":160159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:31:04] local.INFO: TCP Data received {"connection_id":160159,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:31:04] local.INFO: Processing buffer {"connection_id":160159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:31:04] local.INFO: IMEI packet received {"connection_id":160159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":160159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:31:08] local.INFO: TCP Data received {"connection_id":160159,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193f7018012cfa0f40071634f80032010a2c..."} 
[2026-08-19 14:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193f7018012cfa0f40071634f80032010a2c..."} 
[2026-08-19 14:31:08] local.INFO: Processing buffer {"connection_id":160159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193f7018012cfa0f40071634f80032010a2c..."} 
[2026-08-19 14:31:08] local.INFO: Packet analysis {"connection_id":160159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193f"} 
[2026-08-19 14:31:08] local.INFO: Extracted packet for processing {"connection_id":160159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193f"} 
[2026-08-19 14:31:08] local.INFO: GPS Element Parsed {"raw_longitude":754585408,"raw_latitude":118895864,"longitude_deg":75.4585408,"latitude_deg":11.8895864,"altitude":50,"angle":266,"satellites":44,"speed":10,"hex_longitude":"2cfa0f40","hex_latitude":"071634f8","is_valid_coordinates":true} 
[2026-08-19 14:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505272832001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385914012820307968,"note":"Value kept but may cause issues"} 
[2026-08-19 14:31:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-419256947372644352,"note":"Value kept but may cause issues"} 
[2026-08-19 14:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787129983000,"timestamp_ms":1787129983000,"timestamp_seconds":1787129983,"priority":1,"record_length":96,"hex_timestamp":"000001a0193f7018"} 
[2026-08-19 14:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:31:08] 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-08-19 14:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 14:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505272832001,"66":28006,"166":206,"2":54528,"24":10,"16":385914012820307968,"44":-419256947372644352},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,2,24,16,44]} 
[2026-08-19 14:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505272832001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:31:08] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-19 14:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385914012820307968,"km_value":385914012820307.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:31:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-419256947372644352,"description":"Unknown IO ID 44"} 
[2026-08-19 14:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505272832001,"power":28006,"unknown_166":206,"power_alt":54528,"ignition":10,"odometer":null,"unknown_44":-419256947372644352}} 
[2026-08-19 14:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":160159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:31:08] local.INFO: GPS data processed {"connection_id":160159,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:31:08] local.INFO: Acknowledgment sent {"connection_id":160159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:31:08] local.INFO: TCP Data received {"connection_id":157988,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:31:08] local.INFO: Processing buffer {"connection_id":157988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:31:08] local.INFO: IMEI packet received {"connection_id":157988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":157988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:31:15] local.INFO: TCP Data received {"connection_id":157988,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:31:15] local.INFO: Processing buffer {"connection_id":157988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:31:15] local.INFO: IMEI packet received {"connection_id":157988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":157988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:31:17] local.INFO: TCP Data received {"connection_id":157988,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193e7a00012d1823400721b570004d011429..."} 
[2026-08-19 14:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193e7a00012d1823400721b570004d011429..."} 
[2026-08-19 14:31:17] local.INFO: Processing buffer {"connection_id":157988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193e7a00012d1823400721b570004d011429..."} 
[2026-08-19 14:31:17] local.INFO: Packet analysis {"connection_id":157988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193e"} 
[2026-08-19 14:31:17] local.INFO: Extracted packet for processing {"connection_id":157988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193e"} 
[2026-08-19 14:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505253888001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702331904,"note":"Value kept but may cause issues"} 
[2026-08-19 14:31:17] 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-08-19 14:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787129920000,"timestamp_ms":1787129920000,"timestamp_seconds":1787129920,"priority":1,"record_length":96,"hex_timestamp":"000001a0193e7a00"} 
[2026-08-19 14:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 14:31:17] 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-08-19 14:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505253888001,"66":13124,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739515386702331904},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505253888001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:31:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:31:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702331904,"description":"Unknown IO ID 45"} 
[2026-08-19 14:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505253888001,"power":13124,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739515386702331904}} 
[2026-08-19 14:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":157988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:31:17] local.INFO: GPS data processed {"connection_id":157988,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:31:17] local.INFO: Acknowledgment sent {"connection_id":157988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:31:39] local.INFO: TCP Data received {"connection_id":160159,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0193f7bd0012cfa0c80071634f8003101172a..."} 
[2026-08-19 14:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193f7bd0012cfa0c80071634f8003101172a..."} 
[2026-08-19 14:31:39] local.INFO: Processing buffer {"connection_id":160159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193f7bd0012cfa0c80071634f8003101172a..."} 
[2026-08-19 14:31:39] local.INFO: Packet analysis {"connection_id":160159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193f"} 
[2026-08-19 14:31:39] local.INFO: Extracted packet for processing {"connection_id":160159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193f"} 
[2026-08-19 14:31:39] local.INFO: GPS Element Parsed {"raw_longitude":754584704,"raw_latitude":118895864,"longitude_deg":75.4584704,"latitude_deg":11.8895864,"altitude":49,"angle":279,"satellites":42,"speed":7,"hex_longitude":"2cfa0c80","hex_latitude":"071634f8","is_valid_coordinates":true} 
[2026-08-19 14:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505275648001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385914047180046336,"note":"Value kept but may cause issues"} 
[2026-08-19 14:31:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-428053040395388928,"note":"Value kept but may cause issues"} 
[2026-08-19 14:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787129986000,"timestamp_ms":1787129986000,"timestamp_seconds":1787129986,"priority":1,"record_length":96,"hex_timestamp":"000001a0193f7bd0"} 
[2026-08-19 14:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 14:31:39] 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-08-19 14:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505275648001,"66":27876,"166":206,"2":54528,"24":7,"16":385914047180046336,"44":-428053040395388928},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,2,24,16,44]} 
[2026-08-19 14:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505275648001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:31:39] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-19 14:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385914047180046336,"km_value":385914047180046.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:31:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-428053040395388928,"description":"Unknown IO ID 44"} 
[2026-08-19 14:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505275648001,"power":27876,"unknown_166":206,"power_alt":54528,"ignition":7,"odometer":null,"unknown_44":-428053040395388928}} 
[2026-08-19 14:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":160159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:31:39] local.INFO: GPS data processed {"connection_id":160159,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:31:39] local.INFO: Acknowledgment sent {"connection_id":160159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:31:48] local.INFO: TCP Data received {"connection_id":157988,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193ecc08012d1823400721b570004d011428..."} 
[2026-08-19 14:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193ecc08012d1823400721b570004d011428..."} 
[2026-08-19 14:31:48] local.INFO: Processing buffer {"connection_id":157988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193ecc08012d1823400721b570004d011428..."} 
[2026-08-19 14:31:48] local.INFO: Packet analysis {"connection_id":157988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193e"} 
[2026-08-19 14:31:48] local.INFO: Extracted packet for processing {"connection_id":157988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193e"} 
[2026-08-19 14:31:48] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505259520001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:31:48] 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-08-19 14:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787129941000,"timestamp_ms":1787129941000,"timestamp_seconds":1787129941,"priority":1,"record_length":96,"hex_timestamp":"000001a0193ecc08"} 
[2026-08-19 14:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-19 14:31:48] 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-08-19 14: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-08-19 14:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":157988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":157988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":157988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505259520001,"66":13091,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505259520001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:31:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:31:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505259520001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":157988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:31:48] local.INFO: GPS data processed {"connection_id":157988,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:31:48] local.INFO: Acknowledgment sent {"connection_id":157988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:32:02] local.INFO: TCP Data received {"connection_id":157602,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:32:02] local.INFO: Processing buffer {"connection_id":157602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:32:02] local.INFO: IMEI packet received {"connection_id":157602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":157602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:32:04] local.INFO: TCP Data received {"connection_id":157602,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:32:04] local.INFO: Processing buffer {"connection_id":157602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:32:04] local.INFO: IMEI packet received {"connection_id":157602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":157602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:32:06] local.INFO: TCP Data received {"connection_id":157602,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:32:06] local.INFO: Processing buffer {"connection_id":157602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:32:06] local.INFO: IMEI packet received {"connection_id":157602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":157602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:32:07] local.INFO: TCP Data received {"connection_id":157602,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01940cbc0012cf9aa4007170120002b013a26..."} 
[2026-08-19 14:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01940cbc0012cf9aa4007170120002b013a26..."} 
[2026-08-19 14:32:07] local.INFO: Processing buffer {"connection_id":157602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01940cbc0012cf9aa4007170120002b013a26..."} 
[2026-08-19 14:32:07] local.INFO: Packet analysis {"connection_id":157602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01940"} 
[2026-08-19 14:32:07] local.INFO: Extracted packet for processing {"connection_id":157602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01940"} 
[2026-08-19 14:32:07] local.INFO: GPS Element Parsed {"raw_longitude":754559552,"raw_latitude":118948128,"longitude_deg":75.4559552,"latitude_deg":11.8948128,"altitude":43,"angle":314,"satellites":38,"speed":53,"hex_longitude":"2cf9aa40","hex_latitude":"07170120","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505296640001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385916916218200064,"note":"Value kept but may cause issues"} 
[2026-08-19 14:32:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-450008088567373824,"note":"Value kept but may cause issues"} 
[2026-08-19 14:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787130072000,"timestamp_ms":1787130072000,"timestamp_seconds":1787130072,"priority":1,"record_length":96,"hex_timestamp":"000001a01940cbc0"} 
[2026-08-19 14:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 14:32:07] 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-08-19 14: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-08-19 14:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505296640001,"66":27821,"157":206,"2":54528,"24":53,"16":385916916218200064,"44":-450008088567373824},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-08-19 14:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505296640001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:32:07] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-19 14:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385916916218200064,"km_value":385916916218200.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:32:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-450008088567373824,"description":"Unknown IO ID 44"} 
[2026-08-19 14:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505296640001,"power":27821,"unknown_157":206,"power_alt":54528,"ignition":53,"odometer":null,"unknown_44":-450008088567373824}} 
[2026-08-19 14:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":157602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:32:07] local.INFO: GPS data processed {"connection_id":157602,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:32:07] local.INFO: Acknowledgment sent {"connection_id":157602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:32:09] local.INFO: TCP Data received {"connection_id":157602,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01940db60012cf99cc007171040002c014626..."} 
[2026-08-19 14:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01940db60012cf99cc007171040002c014626..."} 
[2026-08-19 14:32:09] local.INFO: Processing buffer {"connection_id":157602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01940db60012cf99cc007171040002c014626..."} 
[2026-08-19 14:32:09] local.INFO: Packet analysis {"connection_id":157602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01940"} 
[2026-08-19 14:32:09] local.INFO: Extracted packet for processing {"connection_id":157602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01940"} 
[2026-08-19 14:32:09] local.INFO: GPS Element Parsed {"raw_longitude":754556096,"raw_latitude":118952000,"longitude_deg":75.4556096,"latitude_deg":11.8952,"altitude":44,"angle":326,"satellites":38,"speed":50,"hex_longitude":"2cf99cc0","hex_latitude":"07171040","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505298432001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385917165326303232,"note":"Value kept but may cause issues"} 
[2026-08-19 14:32:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-456482013029785600,"note":"Value kept but may cause issues"} 
[2026-08-19 14:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787130076000,"timestamp_ms":1787130076000,"timestamp_seconds":1787130076,"priority":1,"record_length":96,"hex_timestamp":"000001a01940db60"} 
[2026-08-19 14:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:32: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-08-19 14: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 14:32:09] 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-08-19 14: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-08-19 14:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505298432001,"66":27908,"157":206,"2":54528,"24":50,"16":385917165326303232,"44":-456482013029785600},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-08-19 14:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505298432001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:32:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-19 14:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385917165326303232,"km_value":385917165326303.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:32:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-456482013029785600,"description":"Unknown IO ID 44"} 
[2026-08-19 14:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505298432001,"power":27908,"unknown_157":206,"power_alt":54528,"ignition":50,"odometer":null,"unknown_44":-456482013029785600}} 
[2026-08-19 14:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":157602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:32:09] local.INFO: GPS data processed {"connection_id":157602,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:32:09] local.INFO: Acknowledgment sent {"connection_id":157602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:32:14] local.INFO: TCP Data received {"connection_id":158850,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:32:14] local.INFO: Processing buffer {"connection_id":158850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:32:14] local.INFO: IMEI packet received {"connection_id":158850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":158850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:32:18] local.INFO: TCP Data received {"connection_id":158850,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:32:18] local.INFO: Processing buffer {"connection_id":158850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:32:18] local.INFO: IMEI packet received {"connection_id":158850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":158850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:32:20] local.INFO: TCP Data received {"connection_id":158850,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193f1e10012d1823400721b570004d011427..."} 
[2026-08-19 14:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193f1e10012d1823400721b570004d011427..."} 
[2026-08-19 14:32:20] local.INFO: Processing buffer {"connection_id":158850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193f1e10012d1823400721b570004d011427..."} 
[2026-08-19 14:32:20] local.INFO: Packet analysis {"connection_id":158850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193f"} 
[2026-08-19 14:32:20] local.INFO: Extracted packet for processing {"connection_id":158850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193f"} 
[2026-08-19 14:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505264896001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:32:20] 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-08-19 14:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787129962000,"timestamp_ms":1787129962000,"timestamp_seconds":1787129962,"priority":1,"record_length":96,"hex_timestamp":"000001a0193f1e10"} 
[2026-08-19 14:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:32: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-08-19 14:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 14:32:20] 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-08-19 14:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505264896001,"66":13080,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505264896001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:32:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:32:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505264896001,"power":13080,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":158850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:32:20] local.INFO: GPS data processed {"connection_id":158850,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:32:20] local.INFO: Acknowledgment sent {"connection_id":158850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:32:24] local.INFO: TCP Data received {"connection_id":158850,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193f7018012d1823400721b570004d011428..."} 
[2026-08-19 14:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193f7018012d1823400721b570004d011428..."} 
[2026-08-19 14:32:24] local.INFO: Processing buffer {"connection_id":158850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193f7018012d1823400721b570004d011428..."} 
[2026-08-19 14:32:24] local.INFO: Packet analysis {"connection_id":158850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193f"} 
[2026-08-19 14:32:24] local.INFO: Extracted packet for processing {"connection_id":158850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193f"} 
[2026-08-19 14:32:24] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505270272001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:32:24] 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-08-19 14:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787129983000,"timestamp_ms":1787129983000,"timestamp_seconds":1787129983,"priority":1,"record_length":96,"hex_timestamp":"000001a0193f7018"} 
[2026-08-19 14:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 14:32:24] 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-08-19 14:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505270272001,"66":13080,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505270272001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:32:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:32:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505270272001,"power":13080,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":158850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:32:25] local.INFO: GPS data processed {"connection_id":158850,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:32:25] local.INFO: Acknowledgment sent {"connection_id":158850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:32:41] local.INFO: TCP Data received {"connection_id":157602,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01940faa0012cf98840071731e8002b014627..."} 
[2026-08-19 14:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01940faa0012cf98840071731e8002b014627..."} 
[2026-08-19 14:32:41] local.INFO: Processing buffer {"connection_id":157602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01940faa0012cf98840071731e8002b014627..."} 
[2026-08-19 14:32:41] local.INFO: Packet analysis {"connection_id":157602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01940"} 
[2026-08-19 14:32:41] local.INFO: Extracted packet for processing {"connection_id":157602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01940"} 
[2026-08-19 14:32:41] local.INFO: GPS Element Parsed {"raw_longitude":754550848,"raw_latitude":118960616,"longitude_deg":75.4550848,"latitude_deg":11.8960616,"altitude":43,"angle":326,"satellites":39,"speed":49,"hex_longitude":"2cf98840","hex_latitude":"071731e8","is_valid_coordinates":true} 
[2026-08-19 14:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505299456001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385917654952574976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-460281925214388224,"note":"Value kept but may cause issues"} 
[2026-08-19 14:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787130084000,"timestamp_ms":1787130084000,"timestamp_seconds":1787130084,"priority":1,"record_length":96,"hex_timestamp":"000001a01940faa0"} 
[2026-08-19 14:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 14:32:41] 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-08-19 14:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505299456001,"66":27865,"157":206,"2":54528,"24":49,"16":385917654952574976,"44":-460281925214388224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-08-19 14:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505299456001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:32:41] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-19 14:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385917654952574976,"km_value":385917654952575.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-460281925214388224,"description":"Unknown IO ID 44"} 
[2026-08-19 14:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505299456001,"power":27865,"unknown_157":206,"power_alt":54528,"ignition":49,"odometer":null,"unknown_44":-460281925214388224}} 
[2026-08-19 14:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":157602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:32:41] local.INFO: GPS data processed {"connection_id":157602,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:32:41] local.INFO: Acknowledgment sent {"connection_id":157602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:32:59] local.INFO: TCP Data received {"connection_id":157989,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:32:59] local.INFO: Processing buffer {"connection_id":157989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:32:59] local.INFO: IMEI packet received {"connection_id":157989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":157989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:33:03] local.INFO: TCP Data received {"connection_id":157989,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:33:03] local.INFO: Processing buffer {"connection_id":157989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:33:03] local.INFO: IMEI packet received {"connection_id":157989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":157989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:33:04] local.INFO: TCP Data received {"connection_id":157989,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019410a40012cf97d4007173eb0002b013628..."} 
[2026-08-19 14:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019410a40012cf97d4007173eb0002b013628..."} 
[2026-08-19 14:33:04] local.INFO: Processing buffer {"connection_id":157989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019410a40012cf97d4007173eb0002b013628..."} 
[2026-08-19 14:33:04] local.INFO: Packet analysis {"connection_id":157989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01941"} 
[2026-08-19 14:33:04] local.INFO: Extracted packet for processing {"connection_id":157989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01941"} 
[2026-08-19 14:33:04] local.INFO: GPS Element Parsed {"raw_longitude":754548032,"raw_latitude":118963888,"longitude_deg":75.4548032,"latitude_deg":11.8963888,"altitude":43,"angle":310,"satellites":40,"speed":32,"hex_longitude":"2cf97d40","hex_latitude":"07173eb0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505301504001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385917861111005184,"note":"Value kept but may cause issues"} 
[2026-08-19 14:33:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-466052162234750976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787130088000,"timestamp_ms":1787130088000,"timestamp_seconds":1787130088,"priority":1,"record_length":96,"hex_timestamp":"000001a019410a40"} 
[2026-08-19 14:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:33: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-08-19 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 14:33: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-08-19 14: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-08-19 14:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505301504001,"66":27908,"157":206,"2":54528,"24":32,"16":385917861111005184,"44":-466052162234750976},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-08-19 14:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505301504001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:33:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-19 14:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385917861111005184,"km_value":385917861111005.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:33:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-466052162234750976,"description":"Unknown IO ID 44"} 
[2026-08-19 14:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505301504001,"power":27908,"unknown_157":206,"power_alt":54528,"ignition":32,"odometer":null,"unknown_44":-466052162234750976}} 
[2026-08-19 14:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":157989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:33:04] local.INFO: GPS data processed {"connection_id":157989,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:33:04] local.INFO: Acknowledgment sent {"connection_id":157989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:33:09] local.INFO: TCP Data received {"connection_id":157603,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:33:09] local.INFO: Processing buffer {"connection_id":157603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:33:09] local.INFO: IMEI packet received {"connection_id":157603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":157603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:33:09] local.INFO: TCP Data received {"connection_id":157603,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:33:09] local.INFO: Processing buffer {"connection_id":157603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:33:09] local.INFO: IMEI packet received {"connection_id":157603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":157603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:33:14] local.INFO: TCP Data received {"connection_id":157603,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:33:14] local.INFO: Processing buffer {"connection_id":157603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:33:14] local.INFO: IMEI packet received {"connection_id":157603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":157603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:33:16] local.INFO: TCP Data received {"connection_id":157603,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0193fc220012d1823400721b570004d01142a..."} 
[2026-08-19 14:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0193fc220012d1823400721b570004d01142a..."} 
[2026-08-19 14:33:16] local.INFO: Processing buffer {"connection_id":157603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0193fc220012d1823400721b570004d01142a..."} 
[2026-08-19 14:33:16] local.INFO: Packet analysis {"connection_id":157603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0193f"} 
[2026-08-19 14:33:16] local.INFO: Extracted packet for processing {"connection_id":157603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0193f"} 
[2026-08-19 14:33:16] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505275648001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:33:16] 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-08-19 14:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787130004000,"timestamp_ms":1787130004000,"timestamp_seconds":1787130004,"priority":1,"record_length":96,"hex_timestamp":"000001a0193fc220"} 
[2026-08-19 14:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:33: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-08-19 14:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 14:33:16] 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-08-19 14:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505275648001,"66":13048,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505275648001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:33:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:33:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505275648001,"power":13048,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":157603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:33:16] local.INFO: GPS data processed {"connection_id":157603,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:33:16] local.INFO: Acknowledgment sent {"connection_id":157603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:33:19] local.INFO: TCP Data received {"connection_id":157603,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019401428012d1823400721b570004d011428..."} 
[2026-08-19 14:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019401428012d1823400721b570004d011428..."} 
[2026-08-19 14:33:19] local.INFO: Processing buffer {"connection_id":157603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019401428012d1823400721b570004d011428..."} 
[2026-08-19 14:33:19] local.INFO: Packet analysis {"connection_id":157603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01940"} 
[2026-08-19 14:33:19] local.INFO: Extracted packet for processing {"connection_id":157603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01940"} 
[2026-08-19 14:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505281024001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:33:19] 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-08-19 14:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787130025000,"timestamp_ms":1787130025000,"timestamp_seconds":1787130025,"priority":1,"record_length":96,"hex_timestamp":"000001a019401428"} 
[2026-08-19 14:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:33: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-08-19 14:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 14:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505281024001,"66":13004,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505281024001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:33:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:33:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505281024001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":157603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:33:19] local.INFO: GPS data processed {"connection_id":157603,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:33:19] local.INFO: Acknowledgment sent {"connection_id":157603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:33:36] local.INFO: TCP Data received {"connection_id":157989,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019423af0012cf824c00717dc10001a014e25..."} 
[2026-08-19 14:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019423af0012cf824c00717dc10001a014e25..."} 
[2026-08-19 14:33:36] local.INFO: Processing buffer {"connection_id":157989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019423af0012cf824c00717dc10001a014e25..."} 
[2026-08-19 14:33:36] local.INFO: Packet analysis {"connection_id":157989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01942"} 
[2026-08-19 14:33:36] local.INFO: Extracted packet for processing {"connection_id":157989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01942"} 
[2026-08-19 14:33:36] local.INFO: GPS Element Parsed {"raw_longitude":754459840,"raw_latitude":119004176,"longitude_deg":75.445984,"latitude_deg":11.9004176,"altitude":26,"angle":334,"satellites":37,"speed":36,"hex_longitude":"2cf824c0","hex_latitude":"0717dc10","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505321728001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385922585575030784,"note":"Value kept but may cause issues"} 
[2026-08-19 14:33:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-564427666584602624,"note":"Value kept but may cause issues"} 
[2026-08-19 14:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787130166000,"timestamp_ms":1787130166000,"timestamp_seconds":1787130166,"priority":1,"record_length":96,"hex_timestamp":"000001a019423af0"} 
[2026-08-19 14:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 14:33:36] 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-08-19 14: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-08-19 14:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505321728001,"66":27974,"156":206,"2":54528,"24":36,"16":385922585575030784,"44":-564427666584602624},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,2,24,16,44]} 
[2026-08-19 14:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505321728001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:33:36] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 14:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385922585575030784,"km_value":385922585575030.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:33:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-564427666584602624,"description":"Unknown IO ID 44"} 
[2026-08-19 14:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505321728001,"power":27974,"unknown_156":206,"power_alt":54528,"ignition":36,"odometer":null,"unknown_44":-564427666584602624}} 
[2026-08-19 14:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":157989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:33:36] local.INFO: GPS data processed {"connection_id":157989,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:33:36] local.INFO: Acknowledgment sent {"connection_id":157989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:33:51] local.INFO: TCP Data received {"connection_id":157603,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019406248012d1823400721b570004d011428..."} 
[2026-08-19 14:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019406248012d1823400721b570004d011428..."} 
[2026-08-19 14:33:51] local.INFO: Processing buffer {"connection_id":157603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019406248012d1823400721b570004d011428..."} 
[2026-08-19 14:33:51] local.INFO: Packet analysis {"connection_id":157603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01940"} 
[2026-08-19 14:33:51] local.INFO: Extracted packet for processing {"connection_id":157603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01940"} 
[2026-08-19 14:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505286400001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:33:51] 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-08-19 14:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787130045000,"timestamp_ms":1787130045000,"timestamp_seconds":1787130045,"priority":1,"record_length":96,"hex_timestamp":"000001a019406248"} 
[2026-08-19 14:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-19 14:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505286400001,"66":13004,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505286400001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:33:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:33:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505286400001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":157603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:33:51] local.INFO: GPS data processed {"connection_id":157603,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:33:51] local.INFO: Acknowledgment sent {"connection_id":157603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:33:59] local.INFO: TCP Data received {"connection_id":158851,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:33:59] local.INFO: Processing buffer {"connection_id":158851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:33:59] local.INFO: IMEI packet received {"connection_id":158851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":158851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:34:04] local.INFO: TCP Data received {"connection_id":158851,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:34:04] local.INFO: Processing buffer {"connection_id":158851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:34:04] local.INFO: IMEI packet received {"connection_id":158851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":158851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:34:07] local.INFO: TCP Data received {"connection_id":158851,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0194265e8012cf815800717fbb00017014027..."} 
[2026-08-19 14:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194265e8012cf815800717fbb00017014027..."} 
[2026-08-19 14:34:07] local.INFO: Processing buffer {"connection_id":158851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194265e8012cf815800717fbb00017014027..."} 
[2026-08-19 14:34:07] local.INFO: Packet analysis {"connection_id":158851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01942"} 
[2026-08-19 14:34:07] local.INFO: Extracted packet for processing {"connection_id":158851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01942"} 
[2026-08-19 14:34:07] local.INFO: GPS Element Parsed {"raw_longitude":754455936,"raw_latitude":119012272,"longitude_deg":75.4455936,"latitude_deg":11.9012272,"altitude":23,"angle":320,"satellites":39,"speed":17,"hex_longitude":"2cf81580","hex_latitude":"0717fbb0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505322496001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385923023661694976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:34:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-566116516444237824,"note":"Value kept but may cause issues"} 
[2026-08-19 14:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787130177000,"timestamp_ms":1787130177000,"timestamp_seconds":1787130177,"priority":1,"record_length":96,"hex_timestamp":"000001a0194265e8"} 
[2026-08-19 14:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 14:34:07] 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-08-19 14: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-08-19 14:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505322496001,"66":27691,"156":206,"2":54528,"24":17,"16":385923023661694976,"44":-566116516444237824},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,2,24,16,44]} 
[2026-08-19 14:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505322496001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:34:07] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 14:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385923023661694976,"km_value":385923023661695.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:34:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-566116516444237824,"description":"Unknown IO ID 44"} 
[2026-08-19 14:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505322496001,"power":27691,"unknown_156":206,"power_alt":54528,"ignition":17,"odometer":null,"unknown_44":-566116516444237824}} 
[2026-08-19 14:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":158851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:34:07] local.INFO: GPS data processed {"connection_id":158851,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:34:07] local.INFO: Acknowledgment sent {"connection_id":158851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:34:08] local.INFO: TCP Data received {"connection_id":157990,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:34:08] local.INFO: Processing buffer {"connection_id":157990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:34:08] local.INFO: IMEI packet received {"connection_id":157990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":157990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:34:12] local.INFO: TCP Data received {"connection_id":157990,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:34:12] local.INFO: Processing buffer {"connection_id":157990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:34:12] local.INFO: IMEI packet received {"connection_id":157990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":157990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:34:14] local.INFO: TCP Data received {"connection_id":157990,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01940b838012d1823400721b570004d011428..."} 
[2026-08-19 14:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01940b838012d1823400721b570004d011428..."} 
[2026-08-19 14:34:14] local.INFO: Processing buffer {"connection_id":157990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01940b838012d1823400721b570004d011428..."} 
[2026-08-19 14:34:14] local.INFO: Packet analysis {"connection_id":157990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01940"} 
[2026-08-19 14:34:14] local.INFO: Extracted packet for processing {"connection_id":157990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01940"} 
[2026-08-19 14:34:14] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505291520001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:34:14] 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-08-19 14:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787130067000,"timestamp_ms":1787130067000,"timestamp_seconds":1787130067,"priority":1,"record_length":96,"hex_timestamp":"000001a01940b838"} 
[2026-08-19 14:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:34: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-08-19 14:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-19 14:34:14] 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-08-19 14:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505291520001,"66":12972,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505291520001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:34:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:34:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505291520001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":157990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:34:14] local.INFO: GPS data processed {"connection_id":157990,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:34:14] local.INFO: Acknowledgment sent {"connection_id":157990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:34:38] local.INFO: TCP Data received {"connection_id":158851,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0194265e8012cf815800717fbb00017014027..."} 
[2026-08-19 14:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194265e8012cf815800717fbb00017014027..."} 
[2026-08-19 14:34:38] local.INFO: Processing buffer {"connection_id":158851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194265e8012cf815800717fbb00017014027..."} 
[2026-08-19 14:34:38] local.INFO: Packet analysis {"connection_id":158851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01942"} 
[2026-08-19 14:34:38] local.INFO: Extracted packet for processing {"connection_id":158851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01942"} 
[2026-08-19 14:34:38] local.INFO: GPS Element Parsed {"raw_longitude":754455936,"raw_latitude":119012272,"longitude_deg":75.4455936,"latitude_deg":11.9012272,"altitude":23,"angle":320,"satellites":39,"speed":17,"hex_longitude":"2cf81580","hex_latitude":"0717fbb0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505325312001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385923023661694976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:34:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-570409009837002752,"note":"Value kept but may cause issues"} 
[2026-08-19 14:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787130177000,"timestamp_ms":1787130177000,"timestamp_seconds":1787130177,"priority":1,"record_length":96,"hex_timestamp":"000001a0194265e8"} 
[2026-08-19 14:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-19 14:34:38] 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-08-19 14: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-08-19 14:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505325312001,"66":27691,"156":206,"2":54528,"24":17,"16":385923023661694976,"44":-570409009837002752},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,2,24,16,44]} 
[2026-08-19 14:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505325312001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:34:38] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 14:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385923023661694976,"km_value":385923023661695.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:34:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-570409009837002752,"description":"Unknown IO ID 44"} 
[2026-08-19 14:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505325312001,"power":27691,"unknown_156":206,"power_alt":54528,"ignition":17,"odometer":null,"unknown_44":-570409009837002752}} 
[2026-08-19 14:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":158851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:34:38] local.INFO: GPS data processed {"connection_id":158851,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:34:38] local.INFO: Acknowledgment sent {"connection_id":158851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:34:45] local.INFO: TCP Data received {"connection_id":157990,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019410658012d1823400721b570004d011429..."} 
[2026-08-19 14:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019410658012d1823400721b570004d011429..."} 
[2026-08-19 14:34:45] local.INFO: Processing buffer {"connection_id":157990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019410658012d1823400721b570004d011429..."} 
[2026-08-19 14:34:45] local.INFO: Packet analysis {"connection_id":157990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01941"} 
[2026-08-19 14:34:45] local.INFO: Extracted packet for processing {"connection_id":157990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01941"} 
[2026-08-19 14:34:45] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505297152001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:34:45] 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-08-19 14:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787130087000,"timestamp_ms":1787130087000,"timestamp_seconds":1787130087,"priority":1,"record_length":96,"hex_timestamp":"000001a019410658"} 
[2026-08-19 14:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 14:34:45] 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-08-19 14:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505297152001,"66":12950,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505297152001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:34:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:34:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505297152001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":157990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:34:46] local.INFO: GPS data processed {"connection_id":157990,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:34:46] local.INFO: Acknowledgment sent {"connection_id":157990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:34:59] local.INFO: TCP Data received {"connection_id":160160,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:34:59] local.INFO: Processing buffer {"connection_id":160160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:34:59] local.INFO: IMEI packet received {"connection_id":160160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":160160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:35:03] local.INFO: TCP Data received {"connection_id":160160,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:35:03] local.INFO: Processing buffer {"connection_id":160160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:35:03] local.INFO: IMEI packet received {"connection_id":160160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":160160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:35:04] local.INFO: TCP Data received {"connection_id":160160,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:35:04] local.INFO: Processing buffer {"connection_id":160160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:35:04] local.INFO: IMEI packet received {"connection_id":160160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":160160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:35:05] local.INFO: TCP Data received {"connection_id":160160,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019427970012cf8100007180200001901312a..."} 
[2026-08-19 14:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019427970012cf8100007180200001901312a..."} 
[2026-08-19 14:35:05] local.INFO: Processing buffer {"connection_id":160160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019427970012cf8100007180200001901312a..."} 
[2026-08-19 14:35:05] local.INFO: Packet analysis {"connection_id":160160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01942"} 
[2026-08-19 14:35:05] local.INFO: Extracted packet for processing {"connection_id":160160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01942"} 
[2026-08-19 14:35:05] local.INFO: GPS Element Parsed {"raw_longitude":754454528,"raw_latitude":119013888,"longitude_deg":75.4454528,"latitude_deg":11.9013888,"altitude":25,"angle":305,"satellites":42,"speed":20,"hex_longitude":"2cf81000","hex_latitude":"07180200","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505325312001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385923126740910080,"note":"Value kept but may cause issues"} 
[2026-08-19 14:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-570409009837002752,"note":"Value kept but may cause issues"} 
[2026-08-19 14:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787130182000,"timestamp_ms":1787130182000,"timestamp_seconds":1787130182,"priority":1,"record_length":96,"hex_timestamp":"000001a019427970"} 
[2026-08-19 14:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-19 14:35:05] 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-08-19 14: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-08-19 14:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505325312001,"66":27919,"156":206,"2":54528,"24":20,"16":385923126740910080,"44":-570409009837002752},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,2,24,16,44]} 
[2026-08-19 14:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505325312001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:35:05] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 14:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385923126740910080,"km_value":385923126740910.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-570409009837002752,"description":"Unknown IO ID 44"} 
[2026-08-19 14:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505325312001,"power":27919,"unknown_156":206,"power_alt":54528,"ignition":20,"odometer":null,"unknown_44":-570409009837002752}} 
[2026-08-19 14:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":160160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:35:05] local.INFO: GPS data processed {"connection_id":160160,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:35:05] local.INFO: Acknowledgment sent {"connection_id":160160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:35:08] local.INFO: TCP Data received {"connection_id":157604,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:35:08] local.INFO: Processing buffer {"connection_id":157604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:35:08] local.INFO: IMEI packet received {"connection_id":157604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":157604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:35:10] local.INFO: TCP Data received {"connection_id":160160,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019428140012cf80c40071803d0001901222a..."} 
[2026-08-19 14:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019428140012cf80c40071803d0001901222a..."} 
[2026-08-19 14:35:10] local.INFO: Processing buffer {"connection_id":160160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019428140012cf80c40071803d0001901222a..."} 
[2026-08-19 14:35:10] local.INFO: Packet analysis {"connection_id":160160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01942"} 
[2026-08-19 14:35:10] local.INFO: Extracted packet for processing {"connection_id":160160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01942"} 
[2026-08-19 14:35:10] local.INFO: GPS Element Parsed {"raw_longitude":754453568,"raw_latitude":119014352,"longitude_deg":75.4453568,"latitude_deg":11.9014352,"altitude":25,"angle":290,"satellites":42,"speed":20,"hex_longitude":"2cf80c40","hex_latitude":"071803d0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505326592001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385923173985550336,"note":"Value kept but may cause issues"} 
[2026-08-19 14:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-571957122208497664,"note":"Value kept but may cause issues"} 
[2026-08-19 14:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787130184000,"timestamp_ms":1787130184000,"timestamp_seconds":1787130184,"priority":1,"record_length":96,"hex_timestamp":"000001a019428140"} 
[2026-08-19 14:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:35: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-08-19 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 14:35:10] 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-08-19 14: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-08-19 14:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505326592001,"66":27865,"156":206,"2":54528,"24":20,"16":385923173985550336,"44":-571957122208497664},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,2,24,16,44]} 
[2026-08-19 14:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505326592001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:35:10] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 14:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385923173985550336,"km_value":385923173985550.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-571957122208497664,"description":"Unknown IO ID 44"} 
[2026-08-19 14:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505326592001,"power":27865,"unknown_156":206,"power_alt":54528,"ignition":20,"odometer":null,"unknown_44":-571957122208497664}} 
[2026-08-19 14:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":160160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:35:10] local.INFO: GPS data processed {"connection_id":160160,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:35:10] local.INFO: Acknowledgment sent {"connection_id":160160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:35:14] local.INFO: TCP Data received {"connection_id":157604,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:35:14] local.INFO: Processing buffer {"connection_id":157604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:35:14] local.INFO: IMEI packet received {"connection_id":157604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":157604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:35:15] local.INFO: TCP Data received {"connection_id":157604,"ip":"117.224.158.208","data_length":327,"data_hex":"000000000000013b8e04000001a019415860012d1823400721b570004d011428..."} 
[2026-08-19 14:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157604,"packet_length":327,"packet_hex":"000000000000013b8e04000001a019415860012d1823400721b570004d011428..."} 
[2026-08-19 14:35:15] local.INFO: Processing buffer {"connection_id":157604,"buffer_length":327,"buffer_hex":"000000000000013b8e04000001a019415860012d1823400721b570004d011428..."} 
[2026-08-19 14:35:15] local.INFO: Packet analysis {"connection_id":157604,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000001a01941"} 
[2026-08-19 14:35:15] local.INFO: Extracted packet for processing {"connection_id":157604,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000001a01941"} 
[2026-08-19 14:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-08-19 14:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505302272001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:35: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-08-19 14:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787130108000,"timestamp_ms":1787130108000,"timestamp_seconds":1787130108,"priority":1,"record_length":96,"hex_timestamp":"000001a019415860"} 
[2026-08-19 14:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:35: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-08-19 14:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":327,"current_offset":136} 
[2026-08-19 14:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:35:15] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157604,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-19 14:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505302272001,"66":12711,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505302272001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:35:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:35:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505302272001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":157604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:35:15] local.INFO: GPS data processed {"connection_id":157604,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:35:15] local.INFO: Acknowledgment sent {"connection_id":157604,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:35:42] local.INFO: TCP Data received {"connection_id":160160,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019440bc8012cf69c400717f3a80023010a2b..."} 
[2026-08-19 14:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019440bc8012cf69c400717f3a80023010a2b..."} 
[2026-08-19 14:35:42] local.INFO: Processing buffer {"connection_id":160160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019440bc8012cf69c400717f3a80023010a2b..."} 
[2026-08-19 14:35:42] local.INFO: Packet analysis {"connection_id":160160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01944"} 
[2026-08-19 14:35:42] local.INFO: Extracted packet for processing {"connection_id":160160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01944"} 
[2026-08-19 14:35:42] local.INFO: GPS Element Parsed {"raw_longitude":754359360,"raw_latitude":119010216,"longitude_deg":75.435936,"latitude_deg":11.9010216,"altitude":35,"angle":266,"satellites":43,"speed":29,"hex_longitude":"2cf69c40","hex_latitude":"0717f3a8","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505350912001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385927825435131904,"note":"Value kept but may cause issues"} 
[2026-08-19 14:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-669347464151306240,"note":"Value kept but may cause issues"} 
[2026-08-19 14:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787130285000,"timestamp_ms":1787130285000,"timestamp_seconds":1787130285,"priority":1,"record_length":96,"hex_timestamp":"000001a019440bc8"} 
[2026-08-19 14:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:35:42] 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-08-19 14: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-19 14:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505350912001,"66":27321,"157":206,"2":54528,"24":29,"16":385927825435131904,"44":-669347464151306240},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-08-19 14:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505350912001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:35:42] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-19 14:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385927825435131904,"km_value":385927825435131.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-669347464151306240,"description":"Unknown IO ID 44"} 
[2026-08-19 14:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505350912001,"power":27321,"unknown_157":206,"power_alt":54528,"ignition":29,"odometer":null,"unknown_44":-669347464151306240}} 
[2026-08-19 14:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":160160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:35:42] local.INFO: GPS data processed {"connection_id":160160,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:35:42] local.INFO: Acknowledgment sent {"connection_id":160160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:35:47] local.INFO: TCP Data received {"connection_id":157604,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01941aa68012d1823400721b570004d011428..."} 
[2026-08-19 14:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01941aa68012d1823400721b570004d011428..."} 
[2026-08-19 14:35:47] local.INFO: Processing buffer {"connection_id":157604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01941aa68012d1823400721b570004d011428..."} 
[2026-08-19 14:35:47] local.INFO: Packet analysis {"connection_id":157604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01941"} 
[2026-08-19 14:35:47] local.INFO: Extracted packet for processing {"connection_id":157604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01941"} 
[2026-08-19 14:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505307648001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:35:47] 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-08-19 14:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787130129000,"timestamp_ms":1787130129000,"timestamp_seconds":1787130129,"priority":1,"record_length":96,"hex_timestamp":"000001a01941aa68"} 
[2026-08-19 14:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:35: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-08-19 14: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-19 14:35:47] 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-08-19 14: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-08-19 14:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505307648001,"66":12917,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505307648001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:35:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:35:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505307648001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":157604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:35:47] local.INFO: GPS data processed {"connection_id":157604,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:35:47] local.INFO: Acknowledgment sent {"connection_id":157604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:36:04] local.INFO: TCP Data received {"connection_id":157991,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:36:04] local.INFO: Processing buffer {"connection_id":157991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:36:04] local.INFO: IMEI packet received {"connection_id":157991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":157991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:36:07] local.INFO: TCP Data received {"connection_id":157991,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:36:07] local.INFO: Processing buffer {"connection_id":157991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:36:07] local.INFO: IMEI packet received {"connection_id":157991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":157991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:36:08] local.INFO: TCP Data received {"connection_id":157992,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:36:08] local.INFO: Processing buffer {"connection_id":157992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:36:08] local.INFO: IMEI packet received {"connection_id":157992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":157992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:36:13] local.INFO: TCP Data received {"connection_id":157992,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:36:13] local.INFO: Processing buffer {"connection_id":157992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:36:13] local.INFO: IMEI packet received {"connection_id":157992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":157992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:36:15] local.INFO: TCP Data received {"connection_id":157992,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01941fc70012d1823400721b570004d011428..."} 
[2026-08-19 14:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01941fc70012d1823400721b570004d011428..."} 
[2026-08-19 14:36:15] local.INFO: Processing buffer {"connection_id":157992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01941fc70012d1823400721b570004d011428..."} 
[2026-08-19 14:36:15] local.INFO: Packet analysis {"connection_id":157992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01941"} 
[2026-08-19 14:36:15] local.INFO: Extracted packet for processing {"connection_id":157992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01941"} 
[2026-08-19 14:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505313024001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:36: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-08-19 14:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787130150000,"timestamp_ms":1787130150000,"timestamp_seconds":1787130150,"priority":1,"record_length":96,"hex_timestamp":"000001a01941fc70"} 
[2026-08-19 14:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:36: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-08-19 14:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 14:36:15] 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-08-19 14:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505313024001,"66":12178,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505313024001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:36:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:36:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505313024001,"power":12178,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":157992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:36:15] local.INFO: GPS data processed {"connection_id":157992,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:36:15] local.INFO: Acknowledgment sent {"connection_id":157992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:36:17] local.INFO: TCP Data received {"connection_id":157991,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019442338012cf68b400717f3d8002601162d..."} 
[2026-08-19 14:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019442338012cf68b400717f3d8002601162d..."} 
[2026-08-19 14:36:17] local.INFO: Processing buffer {"connection_id":157991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019442338012cf68b400717f3d8002601162d..."} 
[2026-08-19 14:36:17] local.INFO: Packet analysis {"connection_id":157991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01944"} 
[2026-08-19 14:36:17] local.INFO: Extracted packet for processing {"connection_id":157991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01944"} 
[2026-08-19 14:36:17] local.INFO: GPS Element Parsed {"raw_longitude":754355008,"raw_latitude":119010264,"longitude_deg":75.4355008,"latitude_deg":11.9010264,"altitude":38,"angle":278,"satellites":45,"speed":28,"hex_longitude":"2cf68b40","hex_latitude":"0717f3d8","is_valid_coordinates":true} 
[2026-08-19 14:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505352960001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385928031593562112,"note":"Value kept but may cause issues"} 
[2026-08-19 14:36:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-676595444801624064,"note":"Value kept but may cause issues"} 
[2026-08-19 14:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787130291000,"timestamp_ms":1787130291000,"timestamp_seconds":1787130291,"priority":1,"record_length":96,"hex_timestamp":"000001a019442338"} 
[2026-08-19 14:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:36: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-08-19 14:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 14:36:17] 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-08-19 14:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505352960001,"66":27376,"157":206,"2":54528,"24":28,"16":385928031593562112,"44":-676595444801624064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-08-19 14:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505352960001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:36:17] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-19 14:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385928031593562112,"km_value":385928031593562.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:36:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-676595444801624064,"description":"Unknown IO ID 44"} 
[2026-08-19 14:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505352960001,"power":27376,"unknown_157":206,"power_alt":54528,"ignition":28,"odometer":null,"unknown_44":-676595444801624064}} 
[2026-08-19 14:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":157991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:36:17] local.INFO: GPS data processed {"connection_id":157991,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:36:17] local.INFO: Acknowledgment sent {"connection_id":157991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:36:19] local.INFO: TCP Data received {"connection_id":157991,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019443e90012cf678c00717f6180026010b2e..."} 
[2026-08-19 14:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019443e90012cf678c00717f6180026010b2e..."} 
[2026-08-19 14:36:19] local.INFO: Processing buffer {"connection_id":157991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019443e90012cf678c00717f6180026010b2e..."} 
[2026-08-19 14:36:19] local.INFO: Packet analysis {"connection_id":157991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01944"} 
[2026-08-19 14:36:19] local.INFO: Extracted packet for processing {"connection_id":157991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01944"} 
[2026-08-19 14:36:19] local.INFO: GPS Element Parsed {"raw_longitude":754350272,"raw_latitude":119010840,"longitude_deg":75.4350272,"latitude_deg":11.901084,"altitude":38,"angle":267,"satellites":46,"speed":27,"hex_longitude":"2cf678c0","hex_latitude":"0717f618","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505354496001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385928259226828800,"note":"Value kept but may cause issues"} 
[2026-08-19 14:36:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-681380519405692928,"note":"Value kept but may cause issues"} 
[2026-08-19 14:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787130298000,"timestamp_ms":1787130298000,"timestamp_seconds":1787130298,"priority":1,"record_length":96,"hex_timestamp":"000001a019443e90"} 
[2026-08-19 14:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:36:19] 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-08-19 14: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 14:36:19] 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-08-19 14: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-08-19 14:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505354496001,"66":27930,"157":206,"2":54528,"24":27,"16":385928259226828800,"44":-681380519405692928},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-08-19 14:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505354496001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:36:19] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-19 14:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385928259226828800,"km_value":385928259226828.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:36:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-681380519405692928,"description":"Unknown IO ID 44"} 
[2026-08-19 14:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505354496001,"power":27930,"unknown_157":206,"power_alt":54528,"ignition":27,"odometer":null,"unknown_44":-681380519405692928}} 
[2026-08-19 14:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":157991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:36:19] local.INFO: GPS data processed {"connection_id":157991,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:36:19] local.INFO: Acknowledgment sent {"connection_id":157991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:36:46] local.INFO: TCP Data received {"connection_id":157992,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019424e78012d1823400721b570004d011429..."} 
[2026-08-19 14:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019424e78012d1823400721b570004d011429..."} 
[2026-08-19 14:36:46] local.INFO: Processing buffer {"connection_id":157992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019424e78012d1823400721b570004d011429..."} 
[2026-08-19 14:36:46] local.INFO: Packet analysis {"connection_id":157992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01942"} 
[2026-08-19 14:36:46] local.INFO: Extracted packet for processing {"connection_id":157992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01942"} 
[2026-08-19 14:36:46] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505318400001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:36:46] 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-08-19 14:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787130171000,"timestamp_ms":1787130171000,"timestamp_seconds":1787130171,"priority":1,"record_length":96,"hex_timestamp":"000001a019424e78"} 
[2026-08-19 14:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 14:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505318400001,"66":12863,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505318400001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:36:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:36:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505318400001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":157992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:36:46] local.INFO: GPS data processed {"connection_id":157992,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:36:46] local.INFO: Acknowledgment sent {"connection_id":157992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:36:59] local.INFO: TCP Data received {"connection_id":157993,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:36:59] local.INFO: Processing buffer {"connection_id":157993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:36:59] local.INFO: IMEI packet received {"connection_id":157993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":157993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:37:04] local.INFO: TCP Data received {"connection_id":157993,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:37:04] local.INFO: Processing buffer {"connection_id":157993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:37:04] local.INFO: IMEI packet received {"connection_id":157993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":157993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:37:06] local.INFO: TCP Data received {"connection_id":157993,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019445dd0012cf65b800717f130002400fe2d..."} 
[2026-08-19 14:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019445dd0012cf65b800717f130002400fe2d..."} 
[2026-08-19 14:37:06] local.INFO: Processing buffer {"connection_id":157993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019445dd0012cf65b800717f130002400fe2d..."} 
[2026-08-19 14:37:06] local.INFO: Packet analysis {"connection_id":157993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01944"} 
[2026-08-19 14:37:06] local.INFO: Extracted packet for processing {"connection_id":157993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01944"} 
[2026-08-19 14:37:06] local.INFO: GPS Element Parsed {"raw_longitude":754342784,"raw_latitude":119009584,"longitude_deg":75.4342784,"latitude_deg":11.9009584,"altitude":36,"angle":254,"satellites":45,"speed":44,"hex_longitude":"2cf65b80","hex_latitude":"0717f130","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505356288001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385928620004081664,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-686587806474692608,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787130306000,"timestamp_ms":1787130306000,"timestamp_seconds":1787130306,"priority":1,"record_length":96,"hex_timestamp":"000001a019445dd0"} 
[2026-08-19 14:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:37: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-08-19 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 14:37:06] 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-08-19 14: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-08-19 14:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505356288001,"66":27800,"157":206,"2":54528,"24":44,"16":385928620004081664,"44":-686587806474692608},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-08-19 14:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505356288001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:37:06] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-19 14:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385928620004081664,"km_value":385928620004081.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:37:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-686587806474692608,"description":"Unknown IO ID 44"} 
[2026-08-19 14:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505356288001,"power":27800,"unknown_157":206,"power_alt":54528,"ignition":44,"odometer":null,"unknown_44":-686587806474692608}} 
[2026-08-19 14:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":157993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:37:06] local.INFO: GPS data processed {"connection_id":157993,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:37:06] local.INFO: Acknowledgment sent {"connection_id":157993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:37:13] local.INFO: TCP Data received {"connection_id":157605,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:37:13] local.INFO: Processing buffer {"connection_id":157605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:37:13] local.INFO: IMEI packet received {"connection_id":157605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":157605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:37:18] local.INFO: TCP Data received {"connection_id":157605,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:37:18] local.INFO: Processing buffer {"connection_id":157605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:37:18] local.INFO: IMEI packet received {"connection_id":157605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":157605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:37:20] local.INFO: TCP Data received {"connection_id":157605,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01942a080012d1823400721b570004d011429..."} 
[2026-08-19 14:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01942a080012d1823400721b570004d011429..."} 
[2026-08-19 14:37:20] local.INFO: Processing buffer {"connection_id":157605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01942a080012d1823400721b570004d011429..."} 
[2026-08-19 14:37:20] local.INFO: Packet analysis {"connection_id":157605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01942"} 
[2026-08-19 14:37:20] local.INFO: Extracted packet for processing {"connection_id":157605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01942"} 
[2026-08-19 14:37:20] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505323776001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:20] 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-08-19 14:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787130192000,"timestamp_ms":1787130192000,"timestamp_seconds":1787130192,"priority":1,"record_length":96,"hex_timestamp":"000001a01942a080"} 
[2026-08-19 14:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-19 14:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505323776001,"66":12863,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505323776001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:37:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:37:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505323776001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":157605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:37:20] local.INFO: GPS data processed {"connection_id":157605,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:37:20] local.INFO: Acknowledgment sent {"connection_id":157605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:37:21] local.INFO: TCP Data received {"connection_id":157605,"ip":"117.224.158.208","data_length":327,"data_hex":"000000000000013b8e04000001a01942f288012d1823400721b570004d011428..."} 
[2026-08-19 14:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157605,"packet_length":327,"packet_hex":"000000000000013b8e04000001a01942f288012d1823400721b570004d011428..."} 
[2026-08-19 14:37:21] local.INFO: Processing buffer {"connection_id":157605,"buffer_length":327,"buffer_hex":"000000000000013b8e04000001a01942f288012d1823400721b570004d011428..."} 
[2026-08-19 14:37:21] local.INFO: Packet analysis {"connection_id":157605,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000001a01942"} 
[2026-08-19 14:37:21] local.INFO: Extracted packet for processing {"connection_id":157605,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000001a01942"} 
[2026-08-19 14:37:21] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14: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":327,"current_offset":40} 
[2026-08-19 14:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505329152001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:21] 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-08-19 14:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787130213000,"timestamp_ms":1787130213000,"timestamp_seconds":1787130213,"priority":1,"record_length":96,"hex_timestamp":"000001a01942f288"} 
[2026-08-19 14:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":50,"n8_eight_byte":63,"data_length":327,"current_offset":136} 
[2026-08-19 14:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:37:21] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":157605,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-19 14:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":157605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":157605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505329152001,"66":12809,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505329152001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:37:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:37:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505329152001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":157605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:37:21] local.INFO: GPS data processed {"connection_id":157605,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:37:21] local.INFO: Acknowledgment sent {"connection_id":157605,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:37:40] local.INFO: TCP Data received {"connection_id":157993,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01945d0e8012cf531800717ecc0001d01012a..."} 
[2026-08-19 14:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01945d0e8012cf531800717ecc0001d01012a..."} 
[2026-08-19 14:37:40] local.INFO: Processing buffer {"connection_id":157993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01945d0e8012cf531800717ecc0001d01012a..."} 
[2026-08-19 14:37:40] local.INFO: Packet analysis {"connection_id":157993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01945"} 
[2026-08-19 14:37:40] local.INFO: Extracted packet for processing {"connection_id":157993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01945"} 
[2026-08-19 14:37:40] local.INFO: GPS Element Parsed {"raw_longitude":754266496,"raw_latitude":119008448,"longitude_deg":75.4266496,"latitude_deg":11.9008448,"altitude":29,"angle":257,"satellites":42,"speed":22,"hex_longitude":"2cf53180","hex_latitude":"0717ecc0","is_valid_coordinates":true} 
[2026-08-19 14:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505379840001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385932408165236736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-770748824510767104,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787130401000,"timestamp_ms":1787130401000,"timestamp_seconds":1787130401,"priority":1,"record_length":96,"hex_timestamp":"000001a01945d0e8"} 
[2026-08-19 14:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-19 14:37:40] 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-08-19 14:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505379840001,"66":28093,"158":206,"2":54528,"24":22,"16":385932408165236736,"44":-770748824510767104},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,44]} 
[2026-08-19 14:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505379840001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:37:40] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 14:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385932408165236736,"km_value":385932408165236.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:37:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-770748824510767104,"description":"Unknown IO ID 44"} 
[2026-08-19 14:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505379840001,"power":28093,"unknown_158":206,"power_alt":54528,"ignition":22,"odometer":null,"unknown_44":-770748824510767104}} 
[2026-08-19 14:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":157993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:37:40] local.INFO: GPS data processed {"connection_id":157993,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:37:40] local.INFO: Acknowledgment sent {"connection_id":157993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:37:53] local.INFO: TCP Data received {"connection_id":157605,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019434878012d1823400721b570004d01142a..."} 
[2026-08-19 14:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019434878012d1823400721b570004d01142a..."} 
[2026-08-19 14:37:53] local.INFO: Processing buffer {"connection_id":157605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019434878012d1823400721b570004d01142a..."} 
[2026-08-19 14:37:53] local.INFO: Packet analysis {"connection_id":157605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01943"} 
[2026-08-19 14:37:53] local.INFO: Extracted packet for processing {"connection_id":157605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01943"} 
[2026-08-19 14:37:53] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505334528001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:53] 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-08-19 14:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787130235000,"timestamp_ms":1787130235000,"timestamp_seconds":1787130235,"priority":1,"record_length":96,"hex_timestamp":"000001a019434878"} 
[2026-08-19 14:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:37: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-08-19 14:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 14:37:53] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2499805184,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:53] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4663538991844827968,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:53] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3044016205,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 14:37:53] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847783,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:53] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3885301760,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:53] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428970720630477864,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:53] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637878573985903076,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:53] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 14:37:53] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,231,160,45,64,181,77,41,10,66,78,252,1,240,146,25,33,4,113,205,88,35,112,40,239,49,2,48,7,50,124,149],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 14:37:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548738377928409088,"timestamp_seconds":5548738377928409.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 14:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":157605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":157605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":157605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505334528001,"66":12809,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505334528001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:37:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:37:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505334528001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":157605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:37:53] local.INFO: GPS data processed {"connection_id":157605,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:37:53] local.INFO: Acknowledgment sent {"connection_id":157605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:38:09] local.INFO: TCP Data received {"connection_id":160162,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:38:09] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:38:09] local.INFO: IMEI packet received {"connection_id":160162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":160162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:38:14] local.INFO: TCP Data received {"connection_id":160162,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:38:14] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:38:14] local.INFO: IMEI packet received {"connection_id":160162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":160162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:38:15] local.INFO: TCP Data received {"connection_id":160162,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019439a80012d1823400721b570004d01142a..."} 
[2026-08-19 14:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019439a80012d1823400721b570004d01142a..."} 
[2026-08-19 14:38:15] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019439a80012d1823400721b570004d01142a..."} 
[2026-08-19 14:38:15] local.INFO: Packet analysis {"connection_id":160162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01943"} 
[2026-08-19 14:38:15] local.INFO: Extracted packet for processing {"connection_id":160162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01943"} 
[2026-08-19 14:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505340160001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38: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-08-19 14:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787130256000,"timestamp_ms":1787130256000,"timestamp_seconds":1787130256,"priority":1,"record_length":96,"hex_timestamp":"000001a019439a80"} 
[2026-08-19 14:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:38: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-08-19 14: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 14:38:15] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2499805184,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:15] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4685529224400347968,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:15] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3044016205,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 14:38:15] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3885301760,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:15] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428970720630477865,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:15] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-6412899475341128164,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:15] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:15] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,231,160,242,45,64,181,77,40,10,66,41,78,1,240,63,25,33,4,113,205,170,35,112,239,50,2,48,7,49,124,149],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 14:38:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548738386518343680,"timestamp_seconds":5548738386518344.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 14:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505340160001,"66":12798,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505340160001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:38:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:38:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505340160001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":160162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:38:15] local.INFO: GPS data processed {"connection_id":160162,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:38:15] local.INFO: Acknowledgment sent {"connection_id":160162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:38:16] local.INFO: TCP Data received {"connection_id":160161,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:38:16] local.INFO: Processing buffer {"connection_id":160161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:38:16] local.INFO: IMEI packet received {"connection_id":160161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":160161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:38:17] local.INFO: TCP Data received {"connection_id":160161,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:38:17] local.INFO: Processing buffer {"connection_id":160161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:38:17] local.INFO: IMEI packet received {"connection_id":160161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":160161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:38:17] local.INFO: TCP Data received {"connection_id":160161,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01945ffc8012cf50d000717e9a8001a010928..."} 
[2026-08-19 14:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01945ffc8012cf50d000717e9a8001a010928..."} 
[2026-08-19 14:38:17] local.INFO: Processing buffer {"connection_id":160161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01945ffc8012cf50d000717e9a8001a010928..."} 
[2026-08-19 14:38:17] local.INFO: Packet analysis {"connection_id":160161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01945"} 
[2026-08-19 14:38:17] local.INFO: Extracted packet for processing {"connection_id":160161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01945"} 
[2026-08-19 14:38:17] local.INFO: GPS Element Parsed {"raw_longitude":754257152,"raw_latitude":119007656,"longitude_deg":75.4257152,"latitude_deg":11.9007656,"altitude":26,"angle":265,"satellites":40,"speed":43,"hex_longitude":"2cf50d00","hex_latitude":"0717e9a8","is_valid_coordinates":true} 
[2026-08-19 14:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505382656001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385932854841835520,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-778700492603867136,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787130413000,"timestamp_ms":1787130413000,"timestamp_seconds":1787130413,"priority":1,"record_length":96,"hex_timestamp":"000001a01945ffc8"} 
[2026-08-19 14:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-19 14:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505382656001,"66":27908,"158":206,"2":54528,"24":43,"16":385932854841835520,"44":-778700492603867136},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,44]} 
[2026-08-19 14:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505382656001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:38:17] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 14:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385932854841835520,"km_value":385932854841835.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:38:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-778700492603867136,"description":"Unknown IO ID 44"} 
[2026-08-19 14:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505382656001,"power":27908,"unknown_158":206,"power_alt":54528,"ignition":43,"odometer":null,"unknown_44":-778700492603867136}} 
[2026-08-19 14:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":160161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:38:17] local.INFO: GPS data processed {"connection_id":160161,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:38:17] local.INFO: Acknowledgment sent {"connection_id":160161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:38:18] local.INFO: TCP Data received {"connection_id":160161,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019461738012cf4f1c00717e4d0001900fa29..."} 
[2026-08-19 14:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019461738012cf4f1c00717e4d0001900fa29..."} 
[2026-08-19 14:38:18] local.INFO: Processing buffer {"connection_id":160161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019461738012cf4f1c00717e4d0001900fa29..."} 
[2026-08-19 14:38:18] local.INFO: Packet analysis {"connection_id":160161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01946"} 
[2026-08-19 14:38:18] local.INFO: Extracted packet for processing {"connection_id":160161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01946"} 
[2026-08-19 14:38:18] local.INFO: GPS Element Parsed {"raw_longitude":754250176,"raw_latitude":119006416,"longitude_deg":75.4250176,"latitude_deg":11.9006416,"altitude":25,"angle":250,"satellites":41,"speed":48,"hex_longitude":"2cf4f1c0","hex_latitude":"0717e4d0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505385728001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385933189849284608,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-788974329254008832,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787130419000,"timestamp_ms":1787130419000,"timestamp_seconds":1787130419,"priority":1,"record_length":96,"hex_timestamp":"000001a019461738"} 
[2026-08-19 14:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:38:18] 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-08-19 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 14:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505385728001,"66":27930,"158":206,"2":54528,"24":48,"16":385933189849284608,"44":-788974329254008832},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,44]} 
[2026-08-19 14:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505385728001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:38:18] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 14:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385933189849284608,"km_value":385933189849284.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:38:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-788974329254008832,"description":"Unknown IO ID 44"} 
[2026-08-19 14:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505385728001,"power":27930,"unknown_158":206,"power_alt":54528,"ignition":48,"odometer":null,"unknown_44":-788974329254008832}} 
[2026-08-19 14:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":160161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:38:19] local.INFO: GPS data processed {"connection_id":160161,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:38:19] local.INFO: Acknowledgment sent {"connection_id":160161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:38:19] local.INFO: TCP Data received {"connection_id":160162,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01943ec88012d1823400721b570004d011429..."} 
[2026-08-19 14:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01943ec88012d1823400721b570004d011429..."} 
[2026-08-19 14:38:19] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01943ec88012d1823400721b570004d011429..."} 
[2026-08-19 14:38:19] local.INFO: Packet analysis {"connection_id":160162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01943"} 
[2026-08-19 14:38:19] local.INFO: Extracted packet for processing {"connection_id":160162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01943"} 
[2026-08-19 14:38:19] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505345536001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:19] 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-08-19 14:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787130277000,"timestamp_ms":1787130277000,"timestamp_seconds":1787130277,"priority":1,"record_length":96,"hex_timestamp":"000001a01943ec88"} 
[2026-08-19 14:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:38: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-08-19 14:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-19 14:38:19] 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-08-19 14:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505345536001,"66":12798,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505345536001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:38:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:38:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505345536001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":160162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:38:19] local.INFO: GPS data processed {"connection_id":160162,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:38:19] local.INFO: Acknowledgment sent {"connection_id":160162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:38:50] local.INFO: TCP Data received {"connection_id":160162,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019443e90012d1823400721b570004d011429..."} 
[2026-08-19 14:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019443e90012d1823400721b570004d011429..."} 
[2026-08-19 14:38:50] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019443e90012d1823400721b570004d011429..."} 
[2026-08-19 14:38:50] local.INFO: Packet analysis {"connection_id":160162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01944"} 
[2026-08-19 14:38:50] local.INFO: Extracted packet for processing {"connection_id":160162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01944"} 
[2026-08-19 14:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649648,"longitude_deg":75.6556608,"latitude_deg":11.9649648,"altitude":77,"angle":276,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b570","is_valid_coordinates":true} 
[2026-08-19 14:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505350912001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765426018254848,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:38:50] 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-08-19 14:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787130298000,"timestamp_ms":1787130298000,"timestamp_seconds":1787130298,"priority":1,"record_length":96,"hex_timestamp":"000001a019443e90"} 
[2026-08-19 14:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-19 14:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505350912001,"66":12711,"120":206,"28":31744,"24":0,"16":13765426018254848,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505350912001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:38:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:38:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765426018254848,"km_value":13765426018254.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505350912001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":160162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:38:50] local.INFO: GPS data processed {"connection_id":160162,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:38:50] local.INFO: Acknowledgment sent {"connection_id":160162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:38:59] local.INFO: TCP Data received {"connection_id":157606,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:38:59] local.INFO: Processing buffer {"connection_id":157606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:38:59] local.INFO: IMEI packet received {"connection_id":157606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":157606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:39:04] local.INFO: TCP Data received {"connection_id":157606,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:39:04] local.INFO: Processing buffer {"connection_id":157606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:39:04] local.INFO: IMEI packet received {"connection_id":157606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":157606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:39:05] local.INFO: TCP Data received {"connection_id":157607,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:39:06] local.INFO: Processing buffer {"connection_id":157607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:39:06] local.INFO: IMEI packet received {"connection_id":157607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":157607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:39:08] local.INFO: TCP Data received {"connection_id":157606,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019463290012cf4d0c00717d810001400f927..."} 
[2026-08-19 14:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019463290012cf4d0c00717d810001400f927..."} 
[2026-08-19 14:39:08] local.INFO: Processing buffer {"connection_id":157606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019463290012cf4d0c00717d810001400f927..."} 
[2026-08-19 14:39:08] local.INFO: Packet analysis {"connection_id":157606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01946"} 
[2026-08-19 14:39:08] local.INFO: Extracted packet for processing {"connection_id":157606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01946"} 
[2026-08-19 14:39:08] local.INFO: GPS Element Parsed {"raw_longitude":754241728,"raw_latitude":119003152,"longitude_deg":75.4241728,"latitude_deg":11.9003152,"altitude":20,"angle":249,"satellites":39,"speed":53,"hex_longitude":"2cf4d0c0","hex_latitude":"0717d810","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505387264001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385933623640981504,"note":"Value kept but may cause issues"} 
[2026-08-19 14:39:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-796644522369691648,"note":"Value kept but may cause issues"} 
[2026-08-19 14:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787130426000,"timestamp_ms":1787130426000,"timestamp_seconds":1787130426,"priority":1,"record_length":96,"hex_timestamp":"000001a019463290"} 
[2026-08-19 14:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:39:08] 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-08-19 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 14:39:08] 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-08-19 14: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-08-19 14:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":157606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":157606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":157606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505387264001,"66":27463,"158":206,"2":54528,"24":53,"16":385933623640981504,"44":-796644522369691648},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,44]} 
[2026-08-19 14:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505387264001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:39:08] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 14:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385933623640981504,"km_value":385933623640981.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:39:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-796644522369691648,"description":"Unknown IO ID 44"} 
[2026-08-19 14:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505387264001,"power":27463,"unknown_158":206,"power_alt":54528,"ignition":53,"odometer":null,"unknown_44":-796644522369691648}} 
[2026-08-19 14:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":157606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:39:08] local.INFO: GPS data processed {"connection_id":157606,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:39:08] local.INFO: Acknowledgment sent {"connection_id":157606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:39:09] local.INFO: TCP Data received {"connection_id":157607,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:39:09] local.INFO: Processing buffer {"connection_id":157607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:39:09] local.INFO: IMEI packet received {"connection_id":157607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":157607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:39:14] local.INFO: TCP Data received {"connection_id":157607,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:39:14] local.INFO: Processing buffer {"connection_id":157607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:39:14] local.INFO: IMEI packet received {"connection_id":157607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":157607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:39:15] local.INFO: TCP Data received {"connection_id":157607,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019448cb0012d1822400721b5d0004800d62b..."} 
[2026-08-19 14:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019448cb0012d1822400721b5d0004800d62b..."} 
[2026-08-19 14:39:15] local.INFO: Processing buffer {"connection_id":157607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019448cb0012d1822400721b5d0004800d62b..."} 
[2026-08-19 14:39:15] local.INFO: Packet analysis {"connection_id":157607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01944"} 
[2026-08-19 14:39:15] local.INFO: Extracted packet for processing {"connection_id":157607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01944"} 
[2026-08-19 14:39:15] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649744,"longitude_deg":75.6556352,"latitude_deg":11.9649744,"altitude":72,"angle":214,"satellites":43,"speed":1,"hex_longitude":"2d182240","hex_latitude":"0721b5d0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505356288001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765443198124032,"note":"Value kept but may cause issues"} 
[2026-08-19 14:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469630976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:39: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-08-19 14:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787130318000,"timestamp_ms":1787130318000,"timestamp_seconds":1787130318,"priority":1,"record_length":96,"hex_timestamp":"000001a019448cb0"} 
[2026-08-19 14:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:39: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-08-19 14: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-19 14:39:15] 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-08-19 14: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-08-19 14:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505356288001,"66":12722,"120":206,"28":31744,"24":1,"16":13765443198124032,"45":1739304280469630976},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505356288001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:39:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:39:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765443198124032,"km_value":13765443198124.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469630976,"description":"Unknown IO ID 45"} 
[2026-08-19 14:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505356288001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1739304280469630976}} 
[2026-08-19 14:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":157607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:39:15] local.INFO: GPS data processed {"connection_id":157607,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:39:15] local.INFO: Acknowledgment sent {"connection_id":157607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:39:41] local.INFO: TCP Data received {"connection_id":157606,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019477e98012cf3be400717d2c8001500fc2b..."} 
[2026-08-19 14:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019477e98012cf3be400717d2c8001500fc2b..."} 
[2026-08-19 14:39:41] local.INFO: Processing buffer {"connection_id":157606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019477e98012cf3be400717d2c8001500fc2b..."} 
[2026-08-19 14:39:41] local.INFO: Packet analysis {"connection_id":157606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01947"} 
[2026-08-19 14:39:41] local.INFO: Extracted packet for processing {"connection_id":157606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01947"} 
[2026-08-19 14:39:41] local.INFO: GPS Element Parsed {"raw_longitude":754171456,"raw_latitude":119001800,"longitude_deg":75.4171456,"latitude_deg":11.90018,"altitude":21,"angle":252,"satellites":43,"speed":31,"hex_longitude":"2cf3be40","hex_latitude":"0717d2c8","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505409792001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385937158399066112,"note":"Value kept but may cause issues"} 
[2026-08-19 14:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-879961115477073920,"note":"Value kept but may cause issues"} 
[2026-08-19 14:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787130511000,"timestamp_ms":1787130511000,"timestamp_seconds":1787130511,"priority":1,"record_length":96,"hex_timestamp":"000001a019477e98"} 
[2026-08-19 14:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:39: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-08-19 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 14:39:41] 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-08-19 14: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-08-19 14:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505409792001,"66":27919,"82":206,"2":54272,"24":31,"16":385937158399066112,"44":-879961115477073920},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,2,24,16,44]} 
[2026-08-19 14:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505409792001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:39:41] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-19 14:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385937158399066112,"km_value":385937158399066.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-879961115477073920,"description":"Unknown IO ID 44"} 
[2026-08-19 14:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505409792001,"power":27919,"unknown_82":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-879961115477073920}} 
[2026-08-19 14:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":157606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:39:41] local.INFO: GPS data processed {"connection_id":157606,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:39:41] local.INFO: Acknowledgment sent {"connection_id":157606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:39:47] local.INFO: TCP Data received {"connection_id":157607,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019449098012d1822400721b5a8004800cb2b..."} 
[2026-08-19 14:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019449098012d1822400721b5a8004800cb2b..."} 
[2026-08-19 14:39:47] local.INFO: Processing buffer {"connection_id":157607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019449098012d1822400721b5a8004800cb2b..."} 
[2026-08-19 14:39:47] local.INFO: Packet analysis {"connection_id":157607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01944"} 
[2026-08-19 14:39:47] local.INFO: Extracted packet for processing {"connection_id":157607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01944"} 
[2026-08-19 14:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649704,"longitude_deg":75.6556352,"latitude_deg":11.9649704,"altitude":72,"angle":203,"satellites":43,"speed":1,"hex_longitude":"2d182240","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505361408001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765443198124032,"note":"Value kept but may cause issues"} 
[2026-08-19 14:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492944896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:39:47] 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-08-19 14:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787130319000,"timestamp_ms":1787130319000,"timestamp_seconds":1787130319,"priority":1,"record_length":96,"hex_timestamp":"000001a019449098"} 
[2026-08-19 14:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:39: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-08-19 14: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 14:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505361408001,"66":12722,"120":206,"28":31744,"24":1,"16":13765443198124032,"45":1739022805492944896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505361408001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:39:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:39:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765443198124032,"km_value":13765443198124.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492944896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505361408001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1739022805492944896}} 
[2026-08-19 14:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":157607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:39:47] local.INFO: GPS data processed {"connection_id":157607,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:39:47] local.INFO: Acknowledgment sent {"connection_id":157607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:39:59] local.INFO: TCP Data received {"connection_id":157608,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:39:59] local.INFO: Processing buffer {"connection_id":157608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:39:59] local.INFO: IMEI packet received {"connection_id":157608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":157608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:40:03] local.INFO: TCP Data received {"connection_id":157608,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:40:03] local.INFO: Processing buffer {"connection_id":157608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:40:03] local.INFO: IMEI packet received {"connection_id":157608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":157608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:40:04] local.INFO: TCP Data received {"connection_id":157608,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:40:04] local.INFO: Processing buffer {"connection_id":157608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:40:04] local.INFO: IMEI packet received {"connection_id":157608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":157608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:40:05] local.INFO: TCP Data received {"connection_id":157608,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01947b548012cf39c800717c5e0001600f82b..."} 
[2026-08-19 14:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01947b548012cf39c800717c5e0001600f82b..."} 
[2026-08-19 14:40:05] local.INFO: Processing buffer {"connection_id":157608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01947b548012cf39c800717c5e0001600f82b..."} 
[2026-08-19 14:40:05] local.INFO: Packet analysis {"connection_id":157608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01947"} 
[2026-08-19 14:40:05] local.INFO: Extracted packet for processing {"connection_id":157608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01947"} 
[2026-08-19 14:40:05] local.INFO: GPS Element Parsed {"raw_longitude":754162816,"raw_latitude":118998496,"longitude_deg":75.4162816,"latitude_deg":11.8998496,"altitude":22,"angle":248,"satellites":43,"speed":14,"hex_longitude":"2cf39c80","hex_latitude":"0717c5e0","is_valid_coordinates":true} 
[2026-08-19 14:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505410816001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385937596485730304,"note":"Value kept but may cause issues"} 
[2026-08-19 14:40:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-883198077709400064,"note":"Value kept but may cause issues"} 
[2026-08-19 14:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787130525000,"timestamp_ms":1787130525000,"timestamp_seconds":1787130525,"priority":1,"record_length":96,"hex_timestamp":"000001a01947b548"} 
[2026-08-19 14:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 14:40:05] 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-08-19 14:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505410816001,"66":27930,"82":206,"2":54272,"24":14,"16":385937596485730304,"44":-883198077709400064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,2,24,16,44]} 
[2026-08-19 14:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505410816001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:40:05] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-19 14:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385937596485730304,"km_value":385937596485730.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:40:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-883198077709400064,"description":"Unknown IO ID 44"} 
[2026-08-19 14:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505410816001,"power":27930,"unknown_82":206,"power_alt":54272,"ignition":14,"odometer":null,"unknown_44":-883198077709400064}} 
[2026-08-19 14:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":157608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:40:05] local.INFO: GPS data processed {"connection_id":157608,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:40:05] local.INFO: Acknowledgment sent {"connection_id":157608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:40:08] local.INFO: TCP Data received {"connection_id":157994,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:40:08] local.INFO: Processing buffer {"connection_id":157994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:40:08] local.INFO: IMEI packet received {"connection_id":157994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":157994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:40:09] local.INFO: TCP Data received {"connection_id":157994,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:40:09] local.INFO: Processing buffer {"connection_id":157994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:40:09] local.INFO: IMEI packet received {"connection_id":157994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":157994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:40:10] local.INFO: TCP Data received {"connection_id":157608,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01947d0a0012cf38f400717c200001701062a..."} 
[2026-08-19 14:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01947d0a0012cf38f400717c200001701062a..."} 
[2026-08-19 14:40:10] local.INFO: Processing buffer {"connection_id":157608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01947d0a0012cf38f400717c200001701062a..."} 
[2026-08-19 14:40:10] local.INFO: Packet analysis {"connection_id":157608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01947"} 
[2026-08-19 14:40:10] local.INFO: Extracted packet for processing {"connection_id":157608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01947"} 
[2026-08-19 14:40:10] local.INFO: GPS Element Parsed {"raw_longitude":754159424,"raw_latitude":118997504,"longitude_deg":75.4159424,"latitude_deg":11.8997504,"altitude":23,"angle":262,"satellites":42,"speed":25,"hex_longitude":"2cf38f40","hex_latitude":"0717c200","is_valid_coordinates":true} 
[2026-08-19 14:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505414400001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385937768284422144,"note":"Value kept but may cause issues"} 
[2026-08-19 14:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-892697858174230528,"note":"Value kept but may cause issues"} 
[2026-08-19 14:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787130532000,"timestamp_ms":1787130532000,"timestamp_seconds":1787130532,"priority":1,"record_length":96,"hex_timestamp":"000001a01947d0a0"} 
[2026-08-19 14:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 14:40:10] 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-08-19 14:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505414400001,"66":27865,"82":206,"2":54272,"24":25,"16":385937768284422144,"44":-892697858174230528},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,2,24,16,44]} 
[2026-08-19 14:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505414400001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:40:10] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-19 14:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385937768284422144,"km_value":385937768284422.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-892697858174230528,"description":"Unknown IO ID 44"} 
[2026-08-19 14:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505414400001,"power":27865,"unknown_82":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-892697858174230528}} 
[2026-08-19 14:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":157608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:40:10] local.INFO: GPS data processed {"connection_id":157608,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:40:10] local.INFO: Acknowledgment sent {"connection_id":157608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:40:14] local.INFO: TCP Data received {"connection_id":157994,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:40:14] local.INFO: Processing buffer {"connection_id":157994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:40:14] local.INFO: IMEI packet received {"connection_id":157994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":157994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:40:15] local.INFO: TCP Data received {"connection_id":157994,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01947c4e8012d1821000721b3d0004b00d424..."} 
[2026-08-19 14:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01947c4e8012d1821000721b3d0004b00d424..."} 
[2026-08-19 14:40:15] local.INFO: Processing buffer {"connection_id":157994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01947c4e8012d1821000721b3d0004b00d424..."} 
[2026-08-19 14:40:15] local.INFO: Packet analysis {"connection_id":157994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01947"} 
[2026-08-19 14:40:15] local.INFO: Extracted packet for processing {"connection_id":157994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01947"} 
[2026-08-19 14:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649232,"longitude_deg":75.6556032,"latitude_deg":11.9649232,"altitude":75,"angle":212,"satellites":36,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-08-19 14:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505409792001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765473262895104,"note":"Value kept but may cause issues"} 
[2026-08-19 14:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771925504,"note":"Value kept but may cause issues"} 
[2026-08-19 14:40: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-08-19 14:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787130529000,"timestamp_ms":1787130529000,"timestamp_seconds":1787130529,"priority":1,"record_length":96,"hex_timestamp":"000001a01947c4e8"} 
[2026-08-19 14:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:40: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-08-19 14:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-19 14:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505409792001,"66":12645,"120":206,"28":31744,"24":0,"16":13765473262895104,"45":1738670961771925504},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505409792001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:40:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:40:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765473262895104,"km_value":13765473262895.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771925504,"description":"Unknown IO ID 45"} 
[2026-08-19 14:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505409792001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771925504}} 
[2026-08-19 14:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":157994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:40:15] local.INFO: GPS data processed {"connection_id":157994,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:40:15] local.INFO: Acknowledgment sent {"connection_id":157994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:40:42] local.INFO: TCP Data received {"connection_id":157608,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01947fb98012cf36f800717bbf0001900fb2a..."} 
[2026-08-19 14:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01947fb98012cf36f800717bbf0001900fb2a..."} 
[2026-08-19 14:40:42] local.INFO: Processing buffer {"connection_id":157608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01947fb98012cf36f800717bbf0001900fb2a..."} 
[2026-08-19 14:40:42] local.INFO: Packet analysis {"connection_id":157608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01947"} 
[2026-08-19 14:40:42] local.INFO: Extracted packet for processing {"connection_id":157608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01947"} 
[2026-08-19 14:40:42] local.INFO: GPS Element Parsed {"raw_longitude":754151296,"raw_latitude":118995952,"longitude_deg":75.4151296,"latitude_deg":11.8995952,"altitude":25,"angle":251,"satellites":42,"speed":32,"hex_longitude":"2cf36f80","hex_latitude":"0717bbf0","is_valid_coordinates":true} 
[2026-08-19 14:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505416192001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385938159126446080,"note":"Value kept but may cause issues"} 
[2026-08-19 14:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-896427401615900672,"note":"Value kept but may cause issues"} 
[2026-08-19 14:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787130543000,"timestamp_ms":1787130543000,"timestamp_seconds":1787130543,"priority":1,"record_length":96,"hex_timestamp":"000001a01947fb98"} 
[2026-08-19 14:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:40: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-08-19 14:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 14:40:42] 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-08-19 14:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505416192001,"66":27234,"83":206,"2":54272,"24":32,"16":385938159126446080,"44":-896427401615900672},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,2,24,16,44]} 
[2026-08-19 14:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505416192001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:40:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-19 14:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385938159126446080,"km_value":385938159126446.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-896427401615900672,"description":"Unknown IO ID 44"} 
[2026-08-19 14:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505416192001,"power":27234,"unknown_83":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-896427401615900672}} 
[2026-08-19 14:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":157608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:40:42] local.INFO: GPS data processed {"connection_id":157608,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:40:42] local.INFO: Acknowledgment sent {"connection_id":157608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:40:47] local.INFO: TCP Data received {"connection_id":157994,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019481308012d181f400721b0c0004a00db27..."} 
[2026-08-19 14:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019481308012d181f400721b0c0004a00db27..."} 
[2026-08-19 14:40:47] local.INFO: Processing buffer {"connection_id":157994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019481308012d181f400721b0c0004a00db27..."} 
[2026-08-19 14:40:47] local.INFO: Packet analysis {"connection_id":157994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01948"} 
[2026-08-19 14:40:47] local.INFO: Extracted packet for processing {"connection_id":157994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01948"} 
[2026-08-19 14:40:47] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648448,"longitude_deg":75.6555584,"latitude_deg":11.9648448,"altitude":74,"angle":219,"satellites":39,"speed":3,"hex_longitude":"2d181f40","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505415424001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765520507535360,"note":"Value kept but may cause issues"} 
[2026-08-19 14:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771925504,"note":"Value kept but may cause issues"} 
[2026-08-19 14:40:47] 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-08-19 14:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787130549000,"timestamp_ms":1787130549000,"timestamp_seconds":1787130549,"priority":1,"record_length":96,"hex_timestamp":"000001a019481308"} 
[2026-08-19 14:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-19 14:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505415424001,"66":12548,"120":206,"28":31744,"24":3,"16":13765520507535360,"45":1738670961771925504},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505415424001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:40:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:40:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765520507535360,"km_value":13765520507535.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771925504,"description":"Unknown IO ID 45"} 
[2026-08-19 14:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505415424001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1738670961771925504}} 
[2026-08-19 14:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":157994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:40:47] local.INFO: GPS data processed {"connection_id":157994,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:40:47] local.INFO: Acknowledgment sent {"connection_id":157994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:40:59] local.INFO: TCP Data received {"connection_id":160163,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:40:59] local.INFO: Processing buffer {"connection_id":160163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:40:59] local.INFO: IMEI packet received {"connection_id":160163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":160163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:41:01] local.INFO: TCP Data received {"connection_id":160163,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:41:01] local.INFO: Processing buffer {"connection_id":160163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:41:01] local.INFO: IMEI packet received {"connection_id":160163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":160163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:41:04] local.INFO: TCP Data received {"connection_id":160163,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:41:04] local.INFO: Processing buffer {"connection_id":160163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:41:04] local.INFO: IMEI packet received {"connection_id":160163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":160163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:41:05] local.INFO: TCP Data received {"connection_id":160163,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019481ec0012cf353400717b028001a00ef2b..."} 
[2026-08-19 14:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019481ec0012cf353400717b028001a00ef2b..."} 
[2026-08-19 14:41:05] local.INFO: Processing buffer {"connection_id":160163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019481ec0012cf353400717b028001a00ef2b..."} 
[2026-08-19 14:41:05] local.INFO: Packet analysis {"connection_id":160163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01948"} 
[2026-08-19 14:41:05] local.INFO: Extracted packet for processing {"connection_id":160163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01948"} 
[2026-08-19 14:41:05] local.INFO: GPS Element Parsed {"raw_longitude":754144064,"raw_latitude":118992936,"longitude_deg":75.4144064,"latitude_deg":11.8992936,"altitude":26,"angle":239,"satellites":43,"speed":36,"hex_longitude":"2cf35340","hex_latitude":"0717b028","is_valid_coordinates":true} 
[2026-08-19 14:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505419008001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385938532788600832,"note":"Value kept but may cause issues"} 
[2026-08-19 14:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-905364232126861312,"note":"Value kept but may cause issues"} 
[2026-08-19 14:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787130552000,"timestamp_ms":1787130552000,"timestamp_seconds":1787130552,"priority":1,"record_length":96,"hex_timestamp":"000001a019481ec0"} 
[2026-08-19 14:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 14:41:05] 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-08-19 14:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505419008001,"66":27767,"83":206,"2":54272,"24":36,"16":385938532788600832,"44":-905364232126861312},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,2,24,16,44]} 
[2026-08-19 14:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505419008001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:41:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-19 14:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385938532788600832,"km_value":385938532788600.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-905364232126861312,"description":"Unknown IO ID 44"} 
[2026-08-19 14:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505419008001,"power":27767,"unknown_83":206,"power_alt":54272,"ignition":36,"odometer":null,"unknown_44":-905364232126861312}} 
[2026-08-19 14:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":160163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:41:05] local.INFO: GPS data processed {"connection_id":160163,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:41:05] local.INFO: Acknowledgment sent {"connection_id":160163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:41:08] local.INFO: TCP Data received {"connection_id":158852,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:41:08] local.INFO: Processing buffer {"connection_id":158852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:41:08] local.INFO: IMEI packet received {"connection_id":158852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":158852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:41:11] local.INFO: TCP Data received {"connection_id":158852,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:41:11] local.INFO: Processing buffer {"connection_id":158852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:41:11] local.INFO: IMEI packet received {"connection_id":158852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":158852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:41:13] local.INFO: TCP Data received {"connection_id":158852,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:41:13] local.INFO: Processing buffer {"connection_id":158852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:41:13] local.INFO: IMEI packet received {"connection_id":158852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":158852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:41:15] local.INFO: TCP Data received {"connection_id":158852,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019486510012d181e800721afd8004a00d626..."} 
[2026-08-19 14:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019486510012d181e800721afd8004a00d626..."} 
[2026-08-19 14:41:15] local.INFO: Processing buffer {"connection_id":158852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019486510012d181e800721afd8004a00d626..."} 
[2026-08-19 14:41:15] local.INFO: Packet analysis {"connection_id":158852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01948"} 
[2026-08-19 14:41:15] local.INFO: Extracted packet for processing {"connection_id":158852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01948"} 
[2026-08-19 14:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648216,"longitude_deg":75.6555392,"latitude_deg":11.9648216,"altitude":74,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505420544001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765533392437248,"note":"Value kept but may cause issues"} 
[2026-08-19 14:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562481152,"note":"Value kept but may cause issues"} 
[2026-08-19 14:41: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-08-19 14:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787130570000,"timestamp_ms":1787130570000,"timestamp_seconds":1787130570,"priority":1,"record_length":96,"hex_timestamp":"000001a019486510"} 
[2026-08-19 14:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 14:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-19 14:41:15] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-19 14:41:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-08-19 14:41:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 14:41:15] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3886022656,"note":"Value kept but may cause issues"} 
[2026-08-19 14:41:15] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,120,28,24,241,158,16,231,160,196,45,179,75,36,10,66,110,39,1,240,47,25,33,4,113,205,208,40,239,2,48,7],"length":485,"final_offset":615,"validated_count":32,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 14:41:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332502919357071360,"timestamp_seconds":5332502919357071.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 14:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505420544001,"66":11961,"120":206,"28":31744,"24":0,"16":13765533392437248,"45":1738178380562481152},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505420544001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:41:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:41:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765533392437248,"km_value":13765533392437.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562481152,"description":"Unknown IO ID 45"} 
[2026-08-19 14:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505420544001,"power":11961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562481152}} 
[2026-08-19 14:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":158852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:41:15] local.INFO: GPS data processed {"connection_id":158852,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:41:15] local.INFO: Acknowledgment sent {"connection_id":158852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:41:37] local.INFO: TCP Data received {"connection_id":160163,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019497e50012cf279000716c358002c00df2a..."} 
[2026-08-19 14:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019497e50012cf279000716c358002c00df2a..."} 
[2026-08-19 14:41:37] local.INFO: Processing buffer {"connection_id":160163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019497e50012cf279000716c358002c00df2a..."} 
[2026-08-19 14:41:37] local.INFO: Packet analysis {"connection_id":160163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01949"} 
[2026-08-19 14:41:37] local.INFO: Extracted packet for processing {"connection_id":160163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01949"} 
[2026-08-19 14:41:37] local.INFO: GPS Element Parsed {"raw_longitude":754088192,"raw_latitude":118932312,"longitude_deg":75.4088192,"latitude_deg":11.8932312,"altitude":44,"angle":223,"satellites":42,"speed":44,"hex_longitude":"2cf27900","hex_latitude":"0716c358","is_valid_coordinates":true} 
[2026-08-19 14:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505442048001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385942514223284224,"note":"Value kept but may cause issues"} 
[2026-08-19 14:41:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-967570201994252288,"note":"Value kept but may cause issues"} 
[2026-08-19 14:41:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 14:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787130642000,"timestamp_ms":1787130642000,"timestamp_seconds":1787130642,"priority":1,"record_length":96,"hex_timestamp":"000001a019497e50"} 
[2026-08-19 14:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 14:41:37] 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-08-19 14:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505442048001,"66":27658,"2":54272,"24":44,"16":385942514223284224,"44":-967570201994252288},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,44]} 
[2026-08-19 14:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505442048001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385942514223284224,"km_value":385942514223284.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:41:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-967570201994252288,"description":"Unknown IO ID 44"} 
[2026-08-19 14:41:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457505442048001,"power":27658,"power_alt":54272,"ignition":44,"odometer":null,"unknown_44":-967570201994252288}} 
[2026-08-19 14:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":160163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:41:37] local.INFO: GPS data processed {"connection_id":160163,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:41:37] local.INFO: Acknowledgment sent {"connection_id":160163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:41:47] local.INFO: TCP Data received {"connection_id":158852,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01948b718012d181e800721afd8004a00d627..."} 
[2026-08-19 14:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01948b718012d181e800721afd8004a00d627..."} 
[2026-08-19 14:41:47] local.INFO: Processing buffer {"connection_id":158852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01948b718012d181e800721afd8004a00d627..."} 
[2026-08-19 14:41:47] local.INFO: Packet analysis {"connection_id":158852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01948"} 
[2026-08-19 14:41:47] local.INFO: Extracted packet for processing {"connection_id":158852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01948"} 
[2026-08-19 14:41:47] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648216,"longitude_deg":75.6555392,"latitude_deg":11.9648216,"altitude":74,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505425920001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765533392437248,"note":"Value kept but may cause issues"} 
[2026-08-19 14:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329888768,"note":"Value kept but may cause issues"} 
[2026-08-19 14:41:47] 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-08-19 14:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787130591000,"timestamp_ms":1787130591000,"timestamp_seconds":1787130591,"priority":1,"record_length":96,"hex_timestamp":"000001a01948b718"} 
[2026-08-19 14:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:41: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-08-19 14: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 14:41:47] 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-08-19 14: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-08-19 14:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505425920001,"66":12591,"120":206,"28":31744,"24":0,"16":13765533392437248,"45":1737967274329888768},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505425920001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:41:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:41:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765533392437248,"km_value":13765533392437.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329888768,"description":"Unknown IO ID 45"} 
[2026-08-19 14:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505425920001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329888768}} 
[2026-08-19 14:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":158852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:41:47] local.INFO: GPS data processed {"connection_id":158852,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:41:47] local.INFO: Acknowledgment sent {"connection_id":158852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:42:01] local.INFO: TCP Data received {"connection_id":157609,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:42:01] local.INFO: Processing buffer {"connection_id":157609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:42:01] local.INFO: IMEI packet received {"connection_id":157609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":157609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:42:04] local.INFO: TCP Data received {"connection_id":157609,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:42:04] local.INFO: Processing buffer {"connection_id":157609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:42:04] local.INFO: IMEI packet received {"connection_id":157609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":157609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:42:09] local.INFO: TCP Data received {"connection_id":157609,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:42:09] local.INFO: Processing buffer {"connection_id":157609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:42:09] local.INFO: IMEI packet received {"connection_id":157609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":157609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:42:10] local.INFO: TCP Data received {"connection_id":157609,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019498df0012cf26b400716b7a0002b00ec2b..."} 
[2026-08-19 14:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019498df0012cf26b400716b7a0002b00ec2b..."} 
[2026-08-19 14:42:10] local.INFO: Processing buffer {"connection_id":157609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019498df0012cf26b400716b7a0002b00ec2b..."} 
[2026-08-19 14:42:10] local.INFO: Packet analysis {"connection_id":157609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01949"} 
[2026-08-19 14:42:10] local.INFO: Extracted packet for processing {"connection_id":157609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01949"} 
[2026-08-19 14:42:10] local.INFO: GPS Element Parsed {"raw_longitude":754084672,"raw_latitude":118929312,"longitude_deg":75.4084672,"latitude_deg":11.8929312,"altitude":43,"angle":236,"satellites":43,"speed":46,"hex_longitude":"2cf26b40","hex_latitude":"0716b7a0","is_valid_coordinates":true} 
[2026-08-19 14:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505444352001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385942733266616320,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-974747813902329856,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 14:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787130646000,"timestamp_ms":1787130646000,"timestamp_seconds":1787130646,"priority":1,"record_length":96,"hex_timestamp":"000001a019498df0"} 
[2026-08-19 14:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:42: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-08-19 14:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-19 14:42:10] 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-08-19 14:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505444352001,"66":27865,"2":54272,"24":46,"16":385942733266616320,"44":-974747813902329856},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,44]} 
[2026-08-19 14:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505444352001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385942733266616320,"km_value":385942733266616.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-974747813902329856,"description":"Unknown IO ID 44"} 
[2026-08-19 14:42:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457505444352001,"power":27865,"power_alt":54272,"ignition":46,"odometer":null,"unknown_44":-974747813902329856}} 
[2026-08-19 14:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":157609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:42:10] local.INFO: GPS data processed {"connection_id":157609,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:42:10] local.INFO: Acknowledgment sent {"connection_id":157609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:42:14] local.INFO: TCP Data received {"connection_id":160164,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:42:14] local.INFO: Processing buffer {"connection_id":160164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:42:14] local.INFO: IMEI packet received {"connection_id":160164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":160164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:42:14] local.INFO: TCP Data received {"connection_id":160164,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:42:14] local.INFO: Processing buffer {"connection_id":160164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:42:14] local.INFO: IMEI packet received {"connection_id":160164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":160164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:42:15] local.INFO: TCP Data received {"connection_id":160164,"ip":"117.224.158.208","data_length":327,"data_hex":"000000000000013b8e04000001a019490920012d181e800721afd8004a00d629..."} 
[2026-08-19 14:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160164,"packet_length":327,"packet_hex":"000000000000013b8e04000001a019490920012d181e800721afd8004a00d629..."} 
[2026-08-19 14:42:15] local.INFO: Processing buffer {"connection_id":160164,"buffer_length":327,"buffer_hex":"000000000000013b8e04000001a019490920012d181e800721afd8004a00d629..."} 
[2026-08-19 14:42:15] local.INFO: Packet analysis {"connection_id":160164,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000001a01949"} 
[2026-08-19 14:42:15] local.INFO: Extracted packet for processing {"connection_id":160164,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000001a01949"} 
[2026-08-19 14:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648216,"longitude_deg":75.6555392,"latitude_deg":11.9648216,"altitude":74,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-08-19 14: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":327,"current_offset":40} 
[2026-08-19 14:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505431296001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765533392437248,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329888768,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42: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-08-19 14:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787130612000,"timestamp_ms":1787130612000,"timestamp_seconds":1787130612,"priority":1,"record_length":96,"hex_timestamp":"000001a019490920"} 
[2026-08-19 14:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:42: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-08-19 14: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":49,"n8_eight_byte":47,"data_length":327,"current_offset":136} 
[2026-08-19 14:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:42:15] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160164,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-19 14:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505431296001,"66":12558,"120":206,"28":31744,"24":0,"16":13765533392437248,"45":1737967274329888768},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505431296001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:42:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:42:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765533392437248,"km_value":13765533392437.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329888768,"description":"Unknown IO ID 45"} 
[2026-08-19 14:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505431296001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329888768}} 
[2026-08-19 14:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":160164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:42:15] local.INFO: GPS data processed {"connection_id":160164,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:42:15] local.INFO: Acknowledgment sent {"connection_id":160164,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:42:19] local.INFO: TCP Data received {"connection_id":160164,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019495b28012d181e400721ae40004a00d429..."} 
[2026-08-19 14:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019495b28012d181e400721ae40004a00d429..."} 
[2026-08-19 14:42:19] local.INFO: Processing buffer {"connection_id":160164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019495b28012d181e400721ae40004a00d429..."} 
[2026-08-19 14:42:19] local.INFO: Packet analysis {"connection_id":160164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01949"} 
[2026-08-19 14:42:19] local.INFO: Extracted packet for processing {"connection_id":160164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01949"} 
[2026-08-19 14:42:19] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647808,"longitude_deg":75.6555328,"latitude_deg":11.9647808,"altitude":74,"angle":212,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505436672001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765559162241024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329888768,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:19] 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-08-19 14:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787130633000,"timestamp_ms":1787130633000,"timestamp_seconds":1787130633,"priority":1,"record_length":96,"hex_timestamp":"000001a019495b28"} 
[2026-08-19 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-08-19 14:42: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-08-19 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-19 14:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:19] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383415151178704,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 14:42:19] local.WARNING: Large IO value detected {"io_id":110,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:19] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3886022656,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:19] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:19] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,231,160,183,45,128,175,74,39,10,66,101,38,19,64,1,240,4,25,33,113,205,110,208,239,49,2,48,7,75,82,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 14:42:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332497430388670464,"timestamp_seconds":5332497430388670.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 14:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505436672001,"66":12515,"120":206,"28":31744,"24":0,"16":13765559162241024,"45":1737967274329888768},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505436672001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:42:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:42:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765559162241024,"km_value":13765559162241.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329888768,"description":"Unknown IO ID 45"} 
[2026-08-19 14:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505436672001,"power":12515,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329888768}} 
[2026-08-19 14:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":160164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:42:19] local.INFO: GPS data processed {"connection_id":160164,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:42:19] local.INFO: Acknowledgment sent {"connection_id":160164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:42:41] local.INFO: TCP Data received {"connection_id":157609,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0194999a8012cf260400716b218002800f72c..."} 
[2026-08-19 14:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194999a8012cf260400716b218002800f72c..."} 
[2026-08-19 14:42:41] local.INFO: Processing buffer {"connection_id":157609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194999a8012cf260400716b218002800f72c..."} 
[2026-08-19 14:42:41] local.INFO: Packet analysis {"connection_id":157609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01949"} 
[2026-08-19 14:42:41] local.INFO: Extracted packet for processing {"connection_id":157609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01949"} 
[2026-08-19 14:42:41] local.INFO: GPS Element Parsed {"raw_longitude":754081856,"raw_latitude":118927896,"longitude_deg":75.4081856,"latitude_deg":11.8927896,"altitude":40,"angle":247,"satellites":44,"speed":37,"hex_longitude":"2cf26040","hex_latitude":"0716b218","is_valid_coordinates":true} 
[2026-08-19 14:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505445376001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385942883590471680,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-978618094832869376,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 14:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787130649000,"timestamp_ms":1787130649000,"timestamp_seconds":1787130649,"priority":1,"record_length":96,"hex_timestamp":"000001a0194999a8"} 
[2026-08-19 14:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:42: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-08-19 14:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 14:42:41] 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-08-19 14:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505445376001,"66":27463,"2":54272,"24":37,"16":385942883590471680,"44":-978618094832869376},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,44]} 
[2026-08-19 14:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505445376001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385942883590471680,"km_value":385942883590471.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-978618094832869376,"description":"Unknown IO ID 44"} 
[2026-08-19 14:42:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457505445376001,"power":27463,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-978618094832869376}} 
[2026-08-19 14:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":157609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:42:41] local.INFO: GPS data processed {"connection_id":157609,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:42:41] local.INFO: Acknowledgment sent {"connection_id":157609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:42:50] local.INFO: TCP Data received {"connection_id":160164,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01949ad30012d181e400721ae40004a00d428..."} 
[2026-08-19 14:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01949ad30012d181e400721ae40004a00d428..."} 
[2026-08-19 14:42:50] local.INFO: Processing buffer {"connection_id":160164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01949ad30012d181e400721ae40004a00d428..."} 
[2026-08-19 14:42:50] local.INFO: Packet analysis {"connection_id":160164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01949"} 
[2026-08-19 14:42:50] local.INFO: Extracted packet for processing {"connection_id":160164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01949"} 
[2026-08-19 14:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647808,"longitude_deg":75.6555328,"latitude_deg":11.9647808,"altitude":74,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505442048001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765559162241024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585606656,"note":"Value kept but may cause issues"} 
[2026-08-19 14:42:50] 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-08-19 14:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787130654000,"timestamp_ms":1787130654000,"timestamp_seconds":1787130654,"priority":1,"record_length":96,"hex_timestamp":"000001a01949ad30"} 
[2026-08-19 14:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:42: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-08-19 14:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-19 14:42:50] 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-08-19 14: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-08-19 14:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505442048001,"66":12558,"120":206,"28":31744,"24":0,"16":13765559162241024,"45":1737896905585606656},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505442048001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:42:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:42:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765559162241024,"km_value":13765559162241.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585606656,"description":"Unknown IO ID 45"} 
[2026-08-19 14:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505442048001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585606656}} 
[2026-08-19 14:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":160164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:42:50] local.INFO: GPS data processed {"connection_id":160164,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:42:50] local.INFO: Acknowledgment sent {"connection_id":160164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:42:57] local.INFO: TCP Data received {"connection_id":157995,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:42:57] local.INFO: Processing buffer {"connection_id":157995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:42:57] local.INFO: IMEI packet received {"connection_id":157995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":157995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:42:59] local.INFO: TCP Data received {"connection_id":157995,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:42:59] local.INFO: Processing buffer {"connection_id":157995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:42:59] local.INFO: IMEI packet received {"connection_id":157995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":157995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:43:04] local.INFO: TCP Data received {"connection_id":157995,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:43:04] local.INFO: Processing buffer {"connection_id":157995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:43:04] local.INFO: IMEI packet received {"connection_id":157995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":157995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:43:06] local.INFO: TCP Data received {"connection_id":157995,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01949cc70012cf240800716a568002000ec27..."} 
[2026-08-19 14:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01949cc70012cf240800716a568002000ec27..."} 
[2026-08-19 14:43:06] local.INFO: Processing buffer {"connection_id":157995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01949cc70012cf240800716a568002000ec27..."} 
[2026-08-19 14:43:06] local.INFO: Packet analysis {"connection_id":157995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01949"} 
[2026-08-19 14:43:06] local.INFO: Extracted packet for processing {"connection_id":157995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01949"} 
[2026-08-19 14:43:06] local.INFO: GPS Element Parsed {"raw_longitude":754073728,"raw_latitude":118924648,"longitude_deg":75.4073728,"latitude_deg":11.8924648,"altitude":32,"angle":236,"satellites":39,"speed":34,"hex_longitude":"2cf24080","hex_latitude":"0716a568","is_valid_coordinates":true} 
[2026-08-19 14:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505446144001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385943304497266688,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-981714319577049088,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787130662000,"timestamp_ms":1787130662000,"timestamp_seconds":1787130662,"priority":1,"record_length":96,"hex_timestamp":"000001a01949cc70"} 
[2026-08-19 14:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:43: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-08-19 14:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 14:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505446144001,"66":27908,"3":206,"2":54272,"24":34,"16":385943304497266688,"44":-981714319577049088},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,2,24,16,44]} 
[2026-08-19 14:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505446144001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:43:06] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-19 14:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385943304497266688,"km_value":385943304497266.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:43:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-981714319577049088,"description":"Unknown IO ID 44"} 
[2026-08-19 14:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505446144001,"power":27908,"unknown_3":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-981714319577049088}} 
[2026-08-19 14:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":157995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:43:06] local.INFO: GPS data processed {"connection_id":157995,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:43:06] local.INFO: Acknowledgment sent {"connection_id":157995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:43:09] local.INFO: TCP Data received {"connection_id":158853,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:43:09] local.INFO: Processing buffer {"connection_id":158853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:43:09] local.INFO: IMEI packet received {"connection_id":158853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":158853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:43:14] local.INFO: TCP Data received {"connection_id":158853,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:43:14] local.INFO: Processing buffer {"connection_id":158853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:43:14] local.INFO: IMEI packet received {"connection_id":158853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":158853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:43:16] local.INFO: TCP Data received {"connection_id":158853,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01949ff38012d181e400721ae40004a00d427..."} 
[2026-08-19 14:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01949ff38012d181e400721ae40004a00d427..."} 
[2026-08-19 14:43:16] local.INFO: Processing buffer {"connection_id":158853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01949ff38012d181e400721ae40004a00d427..."} 
[2026-08-19 14:43:16] local.INFO: Packet analysis {"connection_id":158853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01949"} 
[2026-08-19 14:43:16] local.INFO: Extracted packet for processing {"connection_id":158853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01949"} 
[2026-08-19 14:43:16] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647808,"longitude_deg":75.6555328,"latitude_deg":11.9647808,"altitude":74,"angle":212,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505447424001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765559162241024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585606656,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:16] 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-08-19 14:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787130675000,"timestamp_ms":1787130675000,"timestamp_seconds":1787130675,"priority":1,"record_length":96,"hex_timestamp":"000001a01949ff38"} 
[2026-08-19 14:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:43: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-08-19 14:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-19 14:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:16] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383415151178704,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:16] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2950168650,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 14:43:16] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3886743552,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:16] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:16] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:16] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,120,28,24,241,158,16,231,160,91,45,64,174,74,41,10,66,9,128,175,183,1,240,47,25,33,4,113,205,19,31,192,39,239,49,2,48,7,75,82,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 14:43:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332495227070447616,"timestamp_seconds":5332495227070448.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 14:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505447424001,"66":12558,"120":206,"28":31744,"24":0,"16":13765559162241024,"45":1737896905585606656},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505447424001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:43:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:43:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765559162241024,"km_value":13765559162241.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585606656,"description":"Unknown IO ID 45"} 
[2026-08-19 14:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505447424001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585606656}} 
[2026-08-19 14:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":158853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:43:16] local.INFO: GPS data processed {"connection_id":158853,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:43:16] local.INFO: Acknowledgment sent {"connection_id":158853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:43:37] local.INFO: TCP Data received {"connection_id":157995,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0194b4b40012cf1a0c0071570f8001d00ce2a..."} 
[2026-08-19 14:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194b4b40012cf1a0c0071570f8001d00ce2a..."} 
[2026-08-19 14:43:37] local.INFO: Processing buffer {"connection_id":157995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194b4b40012cf1a0c0071570f8001d00ce2a..."} 
[2026-08-19 14:43:37] local.INFO: Packet analysis {"connection_id":157995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194b"} 
[2026-08-19 14:43:37] local.INFO: Extracted packet for processing {"connection_id":157995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194b"} 
[2026-08-19 14:43:37] local.INFO: GPS Element Parsed {"raw_longitude":754032832,"raw_latitude":118845688,"longitude_deg":75.4032832,"latitude_deg":11.8845688,"altitude":29,"angle":206,"satellites":42,"speed":21,"hex_longitude":"2cf1a0c0","hex_latitude":"071570f8","is_valid_coordinates":true} 
[2026-08-19 14:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505473280001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385947724018614272,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1034701983963279360,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787130760000,"timestamp_ms":1787130760000,"timestamp_seconds":1787130760,"priority":1,"record_length":96,"hex_timestamp":"000001a0194b4b40"} 
[2026-08-19 14:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 14:43:37] 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-08-19 14:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505473280001,"66":27930,"107":206,"2":54272,"24":21,"16":385947724018614272,"44":-1034701983963279360},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,2,24,16,44]} 
[2026-08-19 14:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505473280001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:43:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 14:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385947724018614272,"km_value":385947724018614.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:43:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1034701983963279360,"description":"Unknown IO ID 44"} 
[2026-08-19 14:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505473280001,"power":27930,"unknown_107":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-1034701983963279360}} 
[2026-08-19 14:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":157995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:43:37] local.INFO: GPS data processed {"connection_id":157995,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:43:37] local.INFO: Acknowledgment sent {"connection_id":157995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:43:47] local.INFO: TCP Data received {"connection_id":158853,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0194a5140012d181e400721ae40004a00d426..."} 
[2026-08-19 14:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194a5140012d181e400721ae40004a00d426..."} 
[2026-08-19 14:43:47] local.INFO: Processing buffer {"connection_id":158853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194a5140012d181e400721ae40004a00d426..."} 
[2026-08-19 14:43:47] local.INFO: Packet analysis {"connection_id":158853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194a"} 
[2026-08-19 14:43:47] local.INFO: Extracted packet for processing {"connection_id":158853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194a"} 
[2026-08-19 14:43:47] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647808,"longitude_deg":75.6555328,"latitude_deg":11.9647808,"altitude":74,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505452800001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765559162241024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585606656,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:47] 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-08-19 14:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787130696000,"timestamp_ms":1787130696000,"timestamp_seconds":1787130696,"priority":1,"record_length":96,"hex_timestamp":"000001a0194a5140"} 
[2026-08-19 14:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-19 14:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:47] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383415151178704,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2950168650,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 14:43:47] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:47] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3103837671,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:47] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3886940160,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:47] local.WARNING: Large IO value detected {"io_id":3,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:47] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:47] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-19 14:43:47] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,120,28,24,241,158,16,231,160,173,45,64,174,74,40,10,66,91,41,9,128,1,240,14,25,33,4,113,205,101,30,216,38,239,46,2,48,7,3,82,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 14:43:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332495222775480320,"timestamp_seconds":5332495222775480.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 14:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505452800001,"66":12548,"120":206,"28":31744,"24":0,"16":13765559162241024,"45":1737896905585606656},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505452800001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:43:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:43:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765559162241024,"km_value":13765559162241.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585606656,"description":"Unknown IO ID 45"} 
[2026-08-19 14:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505452800001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585606656}} 
[2026-08-19 14:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":158853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:43:47] local.INFO: GPS data processed {"connection_id":158853,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:43:47] local.INFO: Acknowledgment sent {"connection_id":158853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:43:59] local.INFO: TCP Data received {"connection_id":157610,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:43:59] local.INFO: Processing buffer {"connection_id":157610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:43:59] local.INFO: IMEI packet received {"connection_id":157610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":157610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:44:04] local.INFO: TCP Data received {"connection_id":157610,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:44:04] local.INFO: Processing buffer {"connection_id":157610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:44:04] local.INFO: IMEI packet received {"connection_id":157610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":157610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:44:06] local.INFO: TCP Data received {"connection_id":157610,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0194b5ae0012cf19c0007156958001e00da2b..."} 
[2026-08-19 14:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194b5ae0012cf19c0007156958001e00da2b..."} 
[2026-08-19 14:44:06] local.INFO: Processing buffer {"connection_id":157610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194b5ae0012cf19c0007156958001e00da2b..."} 
[2026-08-19 14:44:06] local.INFO: Packet analysis {"connection_id":157610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194b"} 
[2026-08-19 14:44:06] local.INFO: Extracted packet for processing {"connection_id":157610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194b"} 
[2026-08-19 14:44:06] local.INFO: GPS Element Parsed {"raw_longitude":754031616,"raw_latitude":118843736,"longitude_deg":75.4031616,"latitude_deg":11.8843736,"altitude":30,"angle":218,"satellites":43,"speed":24,"hex_longitude":"2cf19c00","hex_latitude":"07156958","is_valid_coordinates":true} 
[2026-08-19 14:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505474560001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385947831392796672,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1035616777638184960,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787130764000,"timestamp_ms":1787130764000,"timestamp_seconds":1787130764,"priority":1,"record_length":96,"hex_timestamp":"000001a0194b5ae0"} 
[2026-08-19 14:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:44: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-08-19 14:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 14:44:06] 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-08-19 14:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505474560001,"66":27821,"107":206,"2":54272,"24":24,"16":385947831392796672,"44":-1035616777638184960},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,2,24,16,44]} 
[2026-08-19 14:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505474560001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:44:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 14:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385947831392796672,"km_value":385947831392796.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:44:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1035616777638184960,"description":"Unknown IO ID 44"} 
[2026-08-19 14:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505474560001,"power":27821,"unknown_107":206,"power_alt":54272,"ignition":24,"odometer":null,"unknown_44":-1035616777638184960}} 
[2026-08-19 14:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":157610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:44:06] local.INFO: GPS data processed {"connection_id":157610,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:44:06] local.INFO: Acknowledgment sent {"connection_id":157610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:44:09] local.INFO: TCP Data received {"connection_id":157611,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:44:09] local.INFO: Processing buffer {"connection_id":157611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:44:09] local.INFO: IMEI packet received {"connection_id":157611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":157611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:44:13] local.INFO: TCP Data received {"connection_id":157611,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:44:13] local.INFO: Processing buffer {"connection_id":157611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:44:13] local.INFO: IMEI packet received {"connection_id":157611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":157611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:44:15] local.INFO: TCP Data received {"connection_id":157611,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0194aa348012d181e400721ae40004a00d428..."} 
[2026-08-19 14:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194aa348012d181e400721ae40004a00d428..."} 
[2026-08-19 14:44:15] local.INFO: Processing buffer {"connection_id":157611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194aa348012d181e400721ae40004a00d428..."} 
[2026-08-19 14:44:15] local.INFO: Packet analysis {"connection_id":157611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194a"} 
[2026-08-19 14:44:15] local.INFO: Extracted packet for processing {"connection_id":157611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194a"} 
[2026-08-19 14:44:15] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647808,"longitude_deg":75.6555328,"latitude_deg":11.9647808,"altitude":74,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-08-19 14:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505458176001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765559162241024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585606656,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44: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-08-19 14:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787130717000,"timestamp_ms":1787130717000,"timestamp_seconds":1787130717,"priority":1,"record_length":96,"hex_timestamp":"000001a0194aa348"} 
[2026-08-19 14:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:44: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-08-19 14:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 14:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:15] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184158560461,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:15] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2950168650,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 14:44:15] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:15] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3886940160,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:15] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,231,160,255,45,64,174,74,39,10,66,173,40,91,1,240,227,25,33,4,113,205,183,30,216,239,49,2,48,7],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 14:44:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332495218480513024,"timestamp_seconds":5332495218480513.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 14:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505458176001,"66":12548,"120":206,"28":31744,"24":0,"16":13765559162241024,"45":1737896905585606656},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505458176001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:44:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:44:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765559162241024,"km_value":13765559162241.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585606656,"description":"Unknown IO ID 45"} 
[2026-08-19 14:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505458176001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585606656}} 
[2026-08-19 14:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":157611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:44:15] local.INFO: GPS data processed {"connection_id":157611,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:44:15] local.INFO: Acknowledgment sent {"connection_id":157611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:44:38] local.INFO: TCP Data received {"connection_id":157610,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0194b8da8012cf1838007154df0001e00db2b..."} 
[2026-08-19 14:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194b8da8012cf1838007154df0001e00db2b..."} 
[2026-08-19 14:44:38] local.INFO: Processing buffer {"connection_id":157610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194b8da8012cf1838007154df0001e00db2b..."} 
[2026-08-19 14:44:38] local.INFO: Packet analysis {"connection_id":157610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194b"} 
[2026-08-19 14:44:38] local.INFO: Extracted packet for processing {"connection_id":157610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194b"} 
[2026-08-19 14:44:38] local.INFO: GPS Element Parsed {"raw_longitude":754025344,"raw_latitude":118836720,"longitude_deg":75.4025344,"latitude_deg":11.883672,"altitude":30,"angle":219,"satellites":43,"speed":33,"hex_longitude":"2cf18380","hex_latitude":"07154df0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 14:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505475584001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385948286659330048,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1036953783778060288,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787130777000,"timestamp_ms":1787130777000,"timestamp_seconds":1787130777,"priority":1,"record_length":96,"hex_timestamp":"000001a0194b8da8"} 
[2026-08-19 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-08-19 14: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-08-19 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 14:44:38] 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-08-19 14: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-08-19 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-08-19 14:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505475584001,"66":27919,"107":206,"2":54272,"24":33,"16":385948286659330048,"44":-1036953783778060288},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,2,24,16,44]} 
[2026-08-19 14:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505475584001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:44:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 14:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385948286659330048,"km_value":385948286659330.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:44:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1036953783778060288,"description":"Unknown IO ID 44"} 
[2026-08-19 14:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505475584001,"power":27919,"unknown_107":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-1036953783778060288}} 
[2026-08-19 14:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":157610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:44:38] local.INFO: GPS data processed {"connection_id":157610,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:44:38] local.INFO: Acknowledgment sent {"connection_id":157610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:44:46] local.INFO: TCP Data received {"connection_id":157611,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0194af550012d181e400721ae40004a00d428..."} 
[2026-08-19 14:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194af550012d181e400721ae40004a00d428..."} 
[2026-08-19 14:44:46] local.INFO: Processing buffer {"connection_id":157611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194af550012d181e400721ae40004a00d428..."} 
[2026-08-19 14:44:46] local.INFO: Packet analysis {"connection_id":157611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194a"} 
[2026-08-19 14:44:46] local.INFO: Extracted packet for processing {"connection_id":157611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194a"} 
[2026-08-19 14:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647808,"longitude_deg":75.6555328,"latitude_deg":11.9647808,"altitude":74,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-08-19 14:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505463552001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765559162241024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585606656,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:46] 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-08-19 14:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787130738000,"timestamp_ms":1787130738000,"timestamp_seconds":1787130738,"priority":1,"record_length":96,"hex_timestamp":"000001a0194af550"} 
[2026-08-19 14:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:44: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-08-19 14:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 14:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:46] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2923429962,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-19 14:44:46] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:46] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3886940160,"note":"Value kept but may cause issues"} 
[2026-08-19 14:44:46] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,231,160,81,45,64,174,74,38,10,66,255,39,173,1,240,14,25,33,4,113,205,9,30,216,41,239,49,2,48,7],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-19 14:44:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332495227070447616,"timestamp_seconds":5332495227070448.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 14:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505463552001,"66":12526,"120":206,"28":31744,"24":0,"16":13765559162241024,"45":1737896905585606656},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505463552001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:44:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:44:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765559162241024,"km_value":13765559162241.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585606656,"description":"Unknown IO ID 45"} 
[2026-08-19 14:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505463552001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585606656}} 
[2026-08-19 14:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":157611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:44:47] local.INFO: GPS data processed {"connection_id":157611,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:44:47] local.INFO: Acknowledgment sent {"connection_id":157611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:44:59] local.INFO: TCP Data received {"connection_id":157996,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:44:59] local.INFO: Processing buffer {"connection_id":157996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:44:59] local.INFO: IMEI packet received {"connection_id":157996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":157996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:45:00] local.INFO: TCP Data received {"connection_id":157996,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:45:00] local.INFO: Processing buffer {"connection_id":157996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:45:00] local.INFO: IMEI packet received {"connection_id":157996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":157996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:45:04] local.INFO: TCP Data received {"connection_id":157996,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:45:04] local.INFO: Processing buffer {"connection_id":157996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:45:04] local.INFO: IMEI packet received {"connection_id":157996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":157996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:45:05] local.INFO: TCP Data received {"connection_id":157996,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0194bb4b8012cf16dc007153290001e00d529..."} 
[2026-08-19 14:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194bb4b8012cf16dc007153290001e00d529..."} 
[2026-08-19 14:45:05] local.INFO: Processing buffer {"connection_id":157996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194bb4b8012cf16dc007153290001e00d529..."} 
[2026-08-19 14:45:05] local.INFO: Packet analysis {"connection_id":157996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194b"} 
[2026-08-19 14:45:05] local.INFO: Extracted packet for processing {"connection_id":157996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194b"} 
[2026-08-19 14:45:05] local.INFO: GPS Element Parsed {"raw_longitude":754019776,"raw_latitude":118829712,"longitude_deg":75.4019776,"latitude_deg":11.8829712,"altitude":30,"angle":213,"satellites":41,"speed":33,"hex_longitude":"2cf16dc0","hex_latitude":"07153290","is_valid_coordinates":true} 
[2026-08-19 14:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505478912001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385948716156059648,"note":"Value kept but may cause issues"} 
[2026-08-19 14:45:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1043849920709267456,"note":"Value kept but may cause issues"} 
[2026-08-19 14:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787130787000,"timestamp_ms":1787130787000,"timestamp_seconds":1787130787,"priority":1,"record_length":96,"hex_timestamp":"000001a0194bb4b8"} 
[2026-08-19 14:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 14:45:05] 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-08-19 14:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505478912001,"66":27832,"107":206,"2":54272,"24":33,"16":385948716156059648,"44":-1043849920709267456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,2,24,16,44]} 
[2026-08-19 14:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505478912001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:45:05] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 14:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385948716156059648,"km_value":385948716156059.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:45:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1043849920709267456,"description":"Unknown IO ID 44"} 
[2026-08-19 14:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505478912001,"power":27832,"unknown_107":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-1043849920709267456}} 
[2026-08-19 14:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":157996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:45:05] local.INFO: GPS data processed {"connection_id":157996,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:45:05] local.INFO: Acknowledgment sent {"connection_id":157996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:45:08] local.INFO: TCP Data received {"connection_id":160165,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:45:08] local.INFO: Processing buffer {"connection_id":160165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:45:08] local.INFO: IMEI packet received {"connection_id":160165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":160165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:45:14] local.INFO: TCP Data received {"connection_id":160165,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:45:14] local.INFO: Processing buffer {"connection_id":160165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:45:14] local.INFO: IMEI packet received {"connection_id":160165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":160165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:45:15] local.INFO: TCP Data received {"connection_id":160165,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0194b4758012d181e400721ae40004a00d429..."} 
[2026-08-19 14:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194b4758012d181e400721ae40004a00d429..."} 
[2026-08-19 14:45:15] local.INFO: Processing buffer {"connection_id":160165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194b4758012d181e400721ae40004a00d429..."} 
[2026-08-19 14:45:15] local.INFO: Packet analysis {"connection_id":160165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194b"} 
[2026-08-19 14:45:15] local.INFO: Extracted packet for processing {"connection_id":160165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194b"} 
[2026-08-19 14:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647808,"longitude_deg":75.6555328,"latitude_deg":11.9647808,"altitude":74,"angle":212,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-08-19 14:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505468928001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765559162241024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585606656,"note":"Value kept but may cause issues"} 
[2026-08-19 14:45: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-08-19 14:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787130759000,"timestamp_ms":1787130759000,"timestamp_seconds":1787130759,"priority":1,"record_length":96,"hex_timestamp":"000001a0194b4758"} 
[2026-08-19 14:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:45: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-08-19 14:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 14:45:15] 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-08-19 14:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505468928001,"66":12537,"120":206,"28":31744,"24":0,"16":13765559162241024,"45":1737896905585606656},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505468928001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:45:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:45:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765559162241024,"km_value":13765559162241.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585606656,"description":"Unknown IO ID 45"} 
[2026-08-19 14:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505468928001,"power":12537,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585606656}} 
[2026-08-19 14:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":160165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:45:15] local.INFO: GPS data processed {"connection_id":160165,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:45:15] local.INFO: Acknowledgment sent {"connection_id":160165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:45:37] local.INFO: TCP Data received {"connection_id":157996,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0194bcc28012cf1648007152170002100c92a..."} 
[2026-08-19 14:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194bcc28012cf1648007152170002100c92a..."} 
[2026-08-19 14:45:37] local.INFO: Processing buffer {"connection_id":157996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194bcc28012cf1648007152170002100c92a..."} 
[2026-08-19 14:45:37] local.INFO: Packet analysis {"connection_id":157996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194b"} 
[2026-08-19 14:45:37] local.INFO: Extracted packet for processing {"connection_id":157996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194b"} 
[2026-08-19 14:45:37] local.INFO: GPS Element Parsed {"raw_longitude":754017408,"raw_latitude":118825328,"longitude_deg":75.4017408,"latitude_deg":11.8825328,"altitude":33,"angle":201,"satellites":42,"speed":31,"hex_longitude":"2cf16480","hex_latitude":"07152170","is_valid_coordinates":true} 
[2026-08-19 14:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505481472001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385948956674228224,"note":"Value kept but may cause issues"} 
[2026-08-19 14:45:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1049972001454518272,"note":"Value kept but may cause issues"} 
[2026-08-19 14:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787130793000,"timestamp_ms":1787130793000,"timestamp_seconds":1787130793,"priority":1,"record_length":96,"hex_timestamp":"000001a0194bcc28"} 
[2026-08-19 14:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:45: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-08-19 14:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 14:45:37] 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-08-19 14:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505481472001,"66":27908,"152":206,"2":54272,"24":31,"16":385948956674228224,"44":-1049972001454518272},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,2,24,16,44]} 
[2026-08-19 14:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505481472001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:45:37] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-19 14:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385948956674228224,"km_value":385948956674228.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:45:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1049972001454518272,"description":"Unknown IO ID 44"} 
[2026-08-19 14:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505481472001,"power":27908,"unknown_152":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-1049972001454518272}} 
[2026-08-19 14:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":157996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:45:37] local.INFO: GPS data processed {"connection_id":157996,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:45:37] local.INFO: Acknowledgment sent {"connection_id":157996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:45:47] local.INFO: TCP Data received {"connection_id":160165,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0194b9960012d181e400721ae40004a00d426..."} 
[2026-08-19 14:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194b9960012d181e400721ae40004a00d426..."} 
[2026-08-19 14:45:47] local.INFO: Processing buffer {"connection_id":160165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194b9960012d181e400721ae40004a00d426..."} 
[2026-08-19 14:45:47] local.INFO: Packet analysis {"connection_id":160165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194b"} 
[2026-08-19 14:45:47] local.INFO: Extracted packet for processing {"connection_id":160165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194b"} 
[2026-08-19 14:45:47] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647808,"longitude_deg":75.6555328,"latitude_deg":11.9647808,"altitude":74,"angle":212,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505474304001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765559162241024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585606656,"note":"Value kept but may cause issues"} 
[2026-08-19 14:45:47] 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-08-19 14:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787130780000,"timestamp_ms":1787130780000,"timestamp_seconds":1787130780,"priority":1,"record_length":96,"hex_timestamp":"000001a0194b9960"} 
[2026-08-19 14:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 14:45:47] 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-08-19 14: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-08-19 14:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505474304001,"66":11852,"120":206,"28":31744,"24":0,"16":13765559162241024,"45":1737896905585606656},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505474304001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:45:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:45:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765559162241024,"km_value":13765559162241.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585606656,"description":"Unknown IO ID 45"} 
[2026-08-19 14:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505474304001,"power":11852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585606656}} 
[2026-08-19 14:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":160165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:45:47] local.INFO: GPS data processed {"connection_id":160165,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:45:47] local.INFO: Acknowledgment sent {"connection_id":160165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:45:59] local.INFO: TCP Data received {"connection_id":158854,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:45:59] local.INFO: Processing buffer {"connection_id":158854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:45:59] local.INFO: IMEI packet received {"connection_id":158854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":158854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:46:01] local.INFO: TCP Data received {"connection_id":158854,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:46:01] local.INFO: Processing buffer {"connection_id":158854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:46:01] local.INFO: IMEI packet received {"connection_id":158854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":158854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:46:04] local.INFO: TCP Data received {"connection_id":158854,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:46:04] local.INFO: Processing buffer {"connection_id":158854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:46:04] local.INFO: IMEI packet received {"connection_id":158854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":158854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:46:05] local.INFO: TCP Data received {"connection_id":158854,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0194bfef0012cf15c40071503f8002800be2a..."} 
[2026-08-19 14:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194bfef0012cf15c40071503f8002800be2a..."} 
[2026-08-19 14:46:05] local.INFO: Processing buffer {"connection_id":158854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194bfef0012cf15c40071503f8002800be2a..."} 
[2026-08-19 14:46:05] local.INFO: Packet analysis {"connection_id":158854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194b"} 
[2026-08-19 14:46:05] local.INFO: Extracted packet for processing {"connection_id":158854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194b"} 
[2026-08-19 14:46:05] local.INFO: GPS Element Parsed {"raw_longitude":754015296,"raw_latitude":118817784,"longitude_deg":75.4015296,"latitude_deg":11.8817784,"altitude":40,"angle":190,"satellites":42,"speed":20,"hex_longitude":"2cf15c40","hex_latitude":"071503f8","is_valid_coordinates":true} 
[2026-08-19 14:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505483008001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385949338926317568,"note":"Value kept but may cause issues"} 
[2026-08-19 14:46:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1052575644990214144,"note":"Value kept but may cause issues"} 
[2026-08-19 14:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787130806000,"timestamp_ms":1787130806000,"timestamp_seconds":1787130806,"priority":1,"record_length":96,"hex_timestamp":"000001a0194bfef0"} 
[2026-08-19 14:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 14:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505483008001,"66":27919,"152":206,"2":54272,"24":20,"16":385949338926317568,"44":-1052575644990214144},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,2,24,16,44]} 
[2026-08-19 14:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505483008001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:46:05] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-19 14:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385949338926317568,"km_value":385949338926317.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:46:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1052575644990214144,"description":"Unknown IO ID 44"} 
[2026-08-19 14:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505483008001,"power":27919,"unknown_152":206,"power_alt":54272,"ignition":20,"odometer":null,"unknown_44":-1052575644990214144}} 
[2026-08-19 14:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":158854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:46:05] local.INFO: GPS data processed {"connection_id":158854,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:46:05] local.INFO: Acknowledgment sent {"connection_id":158854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:46:08] local.INFO: TCP Data received {"connection_id":157612,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:46:08] local.INFO: Processing buffer {"connection_id":157612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:46:08] local.INFO: IMEI packet received {"connection_id":157612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":157612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:46:14] local.INFO: TCP Data received {"connection_id":157612,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:46:14] local.INFO: Processing buffer {"connection_id":157612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:46:14] local.INFO: IMEI packet received {"connection_id":157612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":157612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:46:15] local.INFO: TCP Data received {"connection_id":157612,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0194beb68012d181e400721ae40004a00d42a..."} 
[2026-08-19 14:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194beb68012d181e400721ae40004a00d42a..."} 
[2026-08-19 14:46:15] local.INFO: Processing buffer {"connection_id":157612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194beb68012d181e400721ae40004a00d42a..."} 
[2026-08-19 14:46:15] local.INFO: Packet analysis {"connection_id":157612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194b"} 
[2026-08-19 14:46:15] local.INFO: Extracted packet for processing {"connection_id":157612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194b"} 
[2026-08-19 14:46:15] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647808,"longitude_deg":75.6555328,"latitude_deg":11.9647808,"altitude":74,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505479680001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765559162241024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585606656,"note":"Value kept but may cause issues"} 
[2026-08-19 14:46: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-08-19 14:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787130801000,"timestamp_ms":1787130801000,"timestamp_seconds":1787130801,"priority":1,"record_length":96,"hex_timestamp":"000001a0194beb68"} 
[2026-08-19 14:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:46: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-08-19 14: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-19 14:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505479680001,"66":12461,"120":206,"28":31744,"24":0,"16":13765559162241024,"45":1737896905585606656},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505479680001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:46:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:46:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765559162241024,"km_value":13765559162241.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585606656,"description":"Unknown IO ID 45"} 
[2026-08-19 14:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505479680001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585606656}} 
[2026-08-19 14:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":157612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:46:15] local.INFO: GPS data processed {"connection_id":157612,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:46:15] local.INFO: Acknowledgment sent {"connection_id":157612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:46:37] local.INFO: TCP Data received {"connection_id":158854,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0194dc7f8012cf0e1800713c808002a00e52a..."} 
[2026-08-19 14:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194dc7f8012cf0e1800713c808002a00e52a..."} 
[2026-08-19 14:46:37] local.INFO: Processing buffer {"connection_id":158854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194dc7f8012cf0e1800713c808002a00e52a..."} 
[2026-08-19 14:46:37] local.INFO: Packet analysis {"connection_id":158854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194d"} 
[2026-08-19 14:46:37] local.INFO: Extracted packet for processing {"connection_id":158854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194d"} 
[2026-08-19 14:46:37] local.INFO: GPS Element Parsed {"raw_longitude":753983872,"raw_latitude":118736904,"longitude_deg":75.3983872,"latitude_deg":11.8736904,"altitude":42,"angle":229,"satellites":42,"speed":34,"hex_longitude":"2cf0e180","hex_latitude":"0713c808","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505515008001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385953569469104128,"note":"Value kept but may cause issues"} 
[2026-08-19 14:46:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1086563748449837056,"note":"Value kept but may cause issues"} 
[2026-08-19 14:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787130923000,"timestamp_ms":1787130923000,"timestamp_seconds":1787130923,"priority":1,"record_length":96,"hex_timestamp":"000001a0194dc7f8"} 
[2026-08-19 14:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 14:46:37] 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-08-19 14: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-08-19 14:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505515008001,"66":27310,"62":206,"2":54272,"24":34,"16":385953569469104128,"44":-1086563748449837056},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,2,24,16,44]} 
[2026-08-19 14:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505515008001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:46:37] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-19 14:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385953569469104128,"km_value":385953569469104.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:46:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1086563748449837056,"description":"Unknown IO ID 44"} 
[2026-08-19 14:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505515008001,"power":27310,"unknown_62":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-1086563748449837056}} 
[2026-08-19 14:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":158854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:46:37] local.INFO: GPS data processed {"connection_id":158854,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:46:37] local.INFO: Acknowledgment sent {"connection_id":158854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:46:47] local.INFO: TCP Data received {"connection_id":157612,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0194c3d70012d181d400721ad88004c00ce29..."} 
[2026-08-19 14:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194c3d70012d181d400721ad88004c00ce29..."} 
[2026-08-19 14:46:47] local.INFO: Processing buffer {"connection_id":157612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194c3d70012d181d400721ad88004c00ce29..."} 
[2026-08-19 14:46:47] local.INFO: Packet analysis {"connection_id":157612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194c"} 
[2026-08-19 14:46:47] local.INFO: Extracted packet for processing {"connection_id":157612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194c"} 
[2026-08-19 14:46:47] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505485056001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585606656,"note":"Value kept but may cause issues"} 
[2026-08-19 14:46:47] 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-08-19 14:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787130822000,"timestamp_ms":1787130822000,"timestamp_seconds":1787130822,"priority":1,"record_length":96,"hex_timestamp":"000001a0194c3d70"} 
[2026-08-19 14:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 14:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505485056001,"66":12428,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737896905585606656},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505485056001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:46:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:46:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585606656,"description":"Unknown IO ID 45"} 
[2026-08-19 14:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505485056001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585606656}} 
[2026-08-19 14:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":157612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:46:47] local.INFO: GPS data processed {"connection_id":157612,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:46:47] local.INFO: Acknowledgment sent {"connection_id":157612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:47:04] local.INFO: TCP Data received {"connection_id":160166,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:47:04] local.INFO: Processing buffer {"connection_id":160166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:47:04] local.INFO: IMEI packet received {"connection_id":160166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":160166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:47:08] local.INFO: TCP Data received {"connection_id":158855,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:47:08] local.INFO: Processing buffer {"connection_id":158855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:47:08] local.INFO: IMEI packet received {"connection_id":158855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":158855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:47:09] local.INFO: TCP Data received {"connection_id":158855,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:47:09] local.INFO: Processing buffer {"connection_id":158855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:47:09] local.INFO: IMEI packet received {"connection_id":158855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":158855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:47:09] local.INFO: TCP Data received {"connection_id":160166,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:47:09] local.INFO: Processing buffer {"connection_id":160166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:47:09] local.INFO: IMEI packet received {"connection_id":160166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":160166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:47:10] local.INFO: TCP Data received {"connection_id":160166,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0194df2f0012cf0c4400713b270002700e62a..."} 
[2026-08-19 14:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194df2f0012cf0c4400713b270002700e62a..."} 
[2026-08-19 14:47:10] local.INFO: Processing buffer {"connection_id":160166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194df2f0012cf0c4400713b270002700e62a..."} 
[2026-08-19 14:47:10] local.INFO: Packet analysis {"connection_id":160166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194d"} 
[2026-08-19 14:47:10] local.INFO: Extracted packet for processing {"connection_id":160166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194d"} 
[2026-08-19 14:47:10] local.INFO: GPS Element Parsed {"raw_longitude":753976384,"raw_latitude":118731376,"longitude_deg":75.3976384,"latitude_deg":11.8731376,"altitude":39,"angle":230,"satellites":42,"speed":22,"hex_longitude":"2cf0c440","hex_latitude":"0713b270","is_valid_coordinates":true} 
[2026-08-19 14:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505516288001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385954016145702912,"note":"Value kept but may cause issues"} 
[2026-08-19 14:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1089448866961946624,"note":"Value kept but may cause issues"} 
[2026-08-19 14:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787130934000,"timestamp_ms":1787130934000,"timestamp_seconds":1787130934,"priority":1,"record_length":96,"hex_timestamp":"000001a0194df2f0"} 
[2026-08-19 14:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:47: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-08-19 14:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 14:47:10] 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-08-19 14:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505516288001,"66":27984,"62":206,"2":54272,"24":22,"16":385954016145702912,"44":-1089448866961946624},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,2,24,16,44]} 
[2026-08-19 14:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505516288001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:47:10] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-19 14:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385954016145702912,"km_value":385954016145702.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1089448866961946624,"description":"Unknown IO ID 44"} 
[2026-08-19 14:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505516288001,"power":27984,"unknown_62":206,"power_alt":54272,"ignition":22,"odometer":null,"unknown_44":-1089448866961946624}} 
[2026-08-19 14:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":160166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:47:10] local.INFO: GPS data processed {"connection_id":160166,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:47:10] local.INFO: Acknowledgment sent {"connection_id":160166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:47:12] local.INFO: TCP Data received {"connection_id":160166,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0194e3558012cf0ac4007139d10002500d72a..."} 
[2026-08-19 14:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194e3558012cf0ac4007139d10002500d72a..."} 
[2026-08-19 14:47:12] local.INFO: Processing buffer {"connection_id":160166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194e3558012cf0ac4007139d10002500d72a..."} 
[2026-08-19 14:47:12] local.INFO: Packet analysis {"connection_id":160166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194e"} 
[2026-08-19 14:47:12] local.INFO: Extracted packet for processing {"connection_id":160166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194e"} 
[2026-08-19 14:47:12] local.INFO: GPS Element Parsed {"raw_longitude":753970240,"raw_latitude":118725904,"longitude_deg":75.397024,"latitude_deg":11.8725904,"altitude":37,"angle":215,"satellites":42,"speed":11,"hex_longitude":"2cf0ac40","hex_latitude":"07139d10","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505519104001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385954411282694144,"note":"Value kept but may cause issues"} 
[2026-08-19 14:47:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1097682010032148480,"note":"Value kept but may cause issues"} 
[2026-08-19 14:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787130951000,"timestamp_ms":1787130951000,"timestamp_seconds":1787130951,"priority":1,"record_length":96,"hex_timestamp":"000001a0194e3558"} 
[2026-08-19 14:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 14:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505519104001,"66":28028,"62":206,"2":54272,"24":11,"16":385954411282694144,"44":-1097682010032148480},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,2,24,16,44]} 
[2026-08-19 14:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505519104001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:47:12] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-19 14:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385954411282694144,"km_value":385954411282694.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:47:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1097682010032148480,"description":"Unknown IO ID 44"} 
[2026-08-19 14:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505519104001,"power":28028,"unknown_62":206,"power_alt":54272,"ignition":11,"odometer":null,"unknown_44":-1097682010032148480}} 
[2026-08-19 14:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":160166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:47:12] local.INFO: GPS data processed {"connection_id":160166,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:47:12] local.INFO: Acknowledgment sent {"connection_id":160166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:47:14] local.INFO: TCP Data received {"connection_id":158855,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:47:14] local.INFO: Processing buffer {"connection_id":158855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:47:14] local.INFO: IMEI packet received {"connection_id":158855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":158855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:47:15] local.INFO: TCP Data received {"connection_id":158855,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0194c9360012d181d400721ad88004c00ce27..."} 
[2026-08-19 14:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194c9360012d181d400721ad88004c00ce27..."} 
[2026-08-19 14:47:15] local.INFO: Processing buffer {"connection_id":158855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194c9360012d181d400721ad88004c00ce27..."} 
[2026-08-19 14:47:15] local.INFO: Packet analysis {"connection_id":158855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194c"} 
[2026-08-19 14:47:15] local.INFO: Extracted packet for processing {"connection_id":158855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194c"} 
[2026-08-19 14:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505490432001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:47: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-08-19 14:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787130844000,"timestamp_ms":1787130844000,"timestamp_seconds":1787130844,"priority":1,"record_length":96,"hex_timestamp":"000001a0194c9360"} 
[2026-08-19 14:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14: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-08-19 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 14:47:15] 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-08-19 14: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-08-19 14:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505490432001,"66":12461,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505490432001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:47:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:47:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505490432001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":158855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:47:15] local.INFO: GPS data processed {"connection_id":158855,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:47:15] local.INFO: Acknowledgment sent {"connection_id":158855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:47:43] local.INFO: TCP Data received {"connection_id":160166,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0194e8760012cf09900071385d0002600da2b..."} 
[2026-08-19 14:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194e8760012cf09900071385d0002600da2b..."} 
[2026-08-19 14:47:43] local.INFO: Processing buffer {"connection_id":160166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194e8760012cf09900071385d0002600da2b..."} 
[2026-08-19 14:47:43] local.INFO: Packet analysis {"connection_id":160166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194e"} 
[2026-08-19 14:47:43] local.INFO: Extracted packet for processing {"connection_id":160166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194e"} 
[2026-08-19 14:47:43] local.INFO: GPS Element Parsed {"raw_longitude":753965312,"raw_latitude":118719952,"longitude_deg":75.3965312,"latitude_deg":11.8719952,"altitude":38,"angle":218,"satellites":43,"speed":0,"hex_longitude":"2cf09900","hex_latitude":"071385d0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505523456001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385954784944848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:47:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1104437409474605056,"note":"Value kept but may cause issues"} 
[2026-08-19 14:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787130972000,"timestamp_ms":1787130972000,"timestamp_seconds":1787130972,"priority":1,"record_length":96,"hex_timestamp":"000001a0194e8760"} 
[2026-08-19 14:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-19 14:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505523456001,"66":27865,"64":206,"2":54272,"24":0,"16":385954784944848896,"44":-1104437409474605056},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-19 14:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505523456001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:47:43] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-19 14:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385954784944848896,"km_value":385954784944848.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:47:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1104437409474605056,"description":"Unknown IO ID 44"} 
[2026-08-19 14:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505523456001,"power":27865,"unknown_64":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1104437409474605056}} 
[2026-08-19 14:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":160166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:47:43] local.INFO: GPS data processed {"connection_id":160166,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:47:43] local.INFO: Acknowledgment sent {"connection_id":160166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:47:47] local.INFO: TCP Data received {"connection_id":158855,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0194ce180012d181d400721ad88004c00ce26..."} 
[2026-08-19 14:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194ce180012d181d400721ad88004c00ce26..."} 
[2026-08-19 14:47:47] local.INFO: Processing buffer {"connection_id":158855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194ce180012d181d400721ad88004c00ce26..."} 
[2026-08-19 14:47:47] local.INFO: Packet analysis {"connection_id":158855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194c"} 
[2026-08-19 14:47:47] local.INFO: Extracted packet for processing {"connection_id":158855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194c"} 
[2026-08-19 14:47:47] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505496064001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:47:47] 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-08-19 14:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787130864000,"timestamp_ms":1787130864000,"timestamp_seconds":1787130864,"priority":1,"record_length":96,"hex_timestamp":"000001a0194ce180"} 
[2026-08-19 14:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 14:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505496064001,"66":12461,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505496064001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:47:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:47:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505496064001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":158855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:47:47] local.INFO: GPS data processed {"connection_id":158855,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:47:47] local.INFO: Acknowledgment sent {"connection_id":158855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:47:59] local.INFO: TCP Data received {"connection_id":158856,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:47:59] local.INFO: Processing buffer {"connection_id":158856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:47:59] local.INFO: IMEI packet received {"connection_id":158856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":158856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:48:04] local.INFO: TCP Data received {"connection_id":158856,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:48:04] local.INFO: Processing buffer {"connection_id":158856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:48:04] local.INFO: IMEI packet received {"connection_id":158856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":158856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:48:07] local.INFO: TCP Data received {"connection_id":158856,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0194ed968012cf0958007138238002700da2a..."} 
[2026-08-19 14:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194ed968012cf0958007138238002700da2a..."} 
[2026-08-19 14:48:07] local.INFO: Processing buffer {"connection_id":158856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194ed968012cf0958007138238002700da2a..."} 
[2026-08-19 14:48:07] local.INFO: Packet analysis {"connection_id":158856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194e"} 
[2026-08-19 14:48:07] local.INFO: Extracted packet for processing {"connection_id":158856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194e"} 
[2026-08-19 14:48:07] local.INFO: GPS Element Parsed {"raw_longitude":753964416,"raw_latitude":118719032,"longitude_deg":75.3964416,"latitude_deg":11.8719032,"altitude":39,"angle":218,"satellites":42,"speed":7,"hex_longitude":"2cf09580","hex_latitude":"07138238","is_valid_coordinates":true} 
[2026-08-19 14:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505528832001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385954845074391040,"note":"Value kept but may cause issues"} 
[2026-08-19 14:48:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1109855802777808896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787130993000,"timestamp_ms":1787130993000,"timestamp_seconds":1787130993,"priority":1,"record_length":96,"hex_timestamp":"000001a0194ed968"} 
[2026-08-19 14:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 14:48:07] 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-08-19 14:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505528832001,"66":28006,"64":206,"2":54272,"24":7,"16":385954845074391040,"44":-1109855802777808896},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-19 14:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505528832001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:48:07] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-19 14:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385954845074391040,"km_value":385954845074391.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:48:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1109855802777808896,"description":"Unknown IO ID 44"} 
[2026-08-19 14:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505528832001,"power":28006,"unknown_64":206,"power_alt":54272,"ignition":7,"odometer":null,"unknown_44":-1109855802777808896}} 
[2026-08-19 14:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":158856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:48:07] local.INFO: GPS data processed {"connection_id":158856,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:48:07] local.INFO: Acknowledgment sent {"connection_id":158856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:48:12] local.INFO: TCP Data received {"connection_id":160167,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:48:12] local.INFO: Processing buffer {"connection_id":160167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:48:12] local.INFO: IMEI packet received {"connection_id":160167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":160167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:48:13] local.INFO: TCP Data received {"connection_id":160167,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:48:13] local.INFO: Processing buffer {"connection_id":160167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:48:13] local.INFO: IMEI packet received {"connection_id":160167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":160167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:48:18] local.INFO: TCP Data received {"connection_id":160167,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:48:18] local.INFO: Processing buffer {"connection_id":160167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:48:18] local.INFO: IMEI packet received {"connection_id":160167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":160167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:48:19] local.INFO: TCP Data received {"connection_id":160167,"ip":"117.224.158.208","data_length":327,"data_hex":"000000000000013b8e04000001a0194d3388012d181d400721ad88004c00ce25..."} 
[2026-08-19 14:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160167,"packet_length":327,"packet_hex":"000000000000013b8e04000001a0194d3388012d181d400721ad88004c00ce25..."} 
[2026-08-19 14:48:19] local.INFO: Processing buffer {"connection_id":160167,"buffer_length":327,"buffer_hex":"000000000000013b8e04000001a0194d3388012d181d400721ad88004c00ce25..."} 
[2026-08-19 14:48:19] local.INFO: Packet analysis {"connection_id":160167,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000001a0194d"} 
[2026-08-19 14:48:19] local.INFO: Extracted packet for processing {"connection_id":160167,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000001a0194d"} 
[2026-08-19 14:48:19] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":37,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-08-19 14:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505501184001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:48:19] 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-08-19 14:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787130885000,"timestamp_ms":1787130885000,"timestamp_seconds":1787130885,"priority":1,"record_length":96,"hex_timestamp":"000001a0194d3388"} 
[2026-08-19 14:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:48: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-08-19 14:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":327,"current_offset":136} 
[2026-08-19 14:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:48:19] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160167,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-19 14:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505501184001,"66":12504,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505501184001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:48:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:48:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505501184001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":160167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:48:19] local.INFO: GPS data processed {"connection_id":160167,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:48:19] local.INFO: Acknowledgment sent {"connection_id":160167,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:48:39] local.INFO: TCP Data received {"connection_id":158856,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0194f2b70012cf0904007137bd0002800d32c..."} 
[2026-08-19 14:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194f2b70012cf0904007137bd0002800d32c..."} 
[2026-08-19 14:48:39] local.INFO: Processing buffer {"connection_id":158856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194f2b70012cf0904007137bd0002800d32c..."} 
[2026-08-19 14:48:39] local.INFO: Packet analysis {"connection_id":158856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194f"} 
[2026-08-19 14:48:39] local.INFO: Extracted packet for processing {"connection_id":158856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194f"} 
[2026-08-19 14:48:39] local.INFO: GPS Element Parsed {"raw_longitude":753963072,"raw_latitude":118717392,"longitude_deg":75.3963072,"latitude_deg":11.8717392,"altitude":40,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2cf09040","hex_latitude":"07137bd0","is_valid_coordinates":true} 
[2026-08-19 14:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505534208001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385954948153606144,"note":"Value kept but may cause issues"} 
[2026-08-19 14:48:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1110840965196531712,"note":"Value kept but may cause issues"} 
[2026-08-19 14:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787131014000,"timestamp_ms":1787131014000,"timestamp_seconds":1787131014,"priority":1,"record_length":96,"hex_timestamp":"000001a0194f2b70"} 
[2026-08-19 14:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 14:48:39] 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-08-19 14:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505534208001,"66":27604,"64":206,"2":54272,"24":0,"16":385954948153606144,"44":-1110840965196531712},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-19 14:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505534208001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:48:39] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-19 14:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385954948153606144,"km_value":385954948153606.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:48:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1110840965196531712,"description":"Unknown IO ID 44"} 
[2026-08-19 14:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505534208001,"power":27604,"unknown_64":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1110840965196531712}} 
[2026-08-19 14:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":158856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:48:39] local.INFO: GPS data processed {"connection_id":158856,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:48:39] local.INFO: Acknowledgment sent {"connection_id":158856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:48:50] local.INFO: TCP Data received {"connection_id":160167,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0194d8590012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194d8590012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:48:50] local.INFO: Processing buffer {"connection_id":160167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194d8590012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:48:50] local.INFO: Packet analysis {"connection_id":160167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194d"} 
[2026-08-19 14:48:50] local.INFO: Extracted packet for processing {"connection_id":160167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194d"} 
[2026-08-19 14:48:50] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505506560001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:48:50] 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-08-19 14:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787130906000,"timestamp_ms":1787130906000,"timestamp_seconds":1787130906,"priority":1,"record_length":96,"hex_timestamp":"000001a0194d8590"} 
[2026-08-19 14:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 14:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505506560001,"66":12504,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505506560001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:48:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:48:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505506560001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":160167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:48:51] local.INFO: GPS data processed {"connection_id":160167,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:48:51] local.INFO: Acknowledgment sent {"connection_id":160167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:48:56] local.INFO: TCP Data received {"connection_id":157613,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:48:56] local.INFO: Processing buffer {"connection_id":157613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:48:56] local.INFO: IMEI packet received {"connection_id":157613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":157613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:48:59] local.INFO: TCP Data received {"connection_id":157613,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:48:59] local.INFO: Processing buffer {"connection_id":157613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:48:59] local.INFO: IMEI packet received {"connection_id":157613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":157613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:49:04] local.INFO: TCP Data received {"connection_id":157613,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:49:04] local.INFO: Processing buffer {"connection_id":157613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:49:04] local.INFO: IMEI packet received {"connection_id":157613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":157613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:49:06] local.INFO: TCP Data received {"connection_id":157613,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0194f7d78012cf08d0007137820002900d82a..."} 
[2026-08-19 14:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194f7d78012cf08d0007137820002900d82a..."} 
[2026-08-19 14:49:06] local.INFO: Processing buffer {"connection_id":157613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194f7d78012cf08d0007137820002900d82a..."} 
[2026-08-19 14:49:06] local.INFO: Packet analysis {"connection_id":157613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194f"} 
[2026-08-19 14:49:06] local.INFO: Extracted packet for processing {"connection_id":157613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194f"} 
[2026-08-19 14:49:06] local.INFO: GPS Element Parsed {"raw_longitude":753962240,"raw_latitude":118716448,"longitude_deg":75.396224,"latitude_deg":11.8716448,"altitude":41,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2cf08d00","hex_latitude":"07137820","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505539584001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385955012578115584,"note":"Value kept but may cause issues"} 
[2026-08-19 14:49:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1112318708824682496,"note":"Value kept but may cause issues"} 
[2026-08-19 14:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787131035000,"timestamp_ms":1787131035000,"timestamp_seconds":1787131035,"priority":1,"record_length":96,"hex_timestamp":"000001a0194f7d78"} 
[2026-08-19 14:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-19 14:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505539584001,"66":27463,"64":206,"2":54272,"24":0,"16":385955012578115584,"44":-1112318708824682496},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-19 14:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505539584001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:49:06] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-19 14:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385955012578115584,"km_value":385955012578115.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:49:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1112318708824682496,"description":"Unknown IO ID 44"} 
[2026-08-19 14:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505539584001,"power":27463,"unknown_64":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1112318708824682496}} 
[2026-08-19 14:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":157613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:49:06] local.INFO: GPS data processed {"connection_id":157613,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:49:06] local.INFO: Acknowledgment sent {"connection_id":157613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:49:08] local.INFO: TCP Data received {"connection_id":157614,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:49:08] local.INFO: Processing buffer {"connection_id":157614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:49:08] local.INFO: IMEI packet received {"connection_id":157614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":157614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:49:14] local.INFO: TCP Data received {"connection_id":157614,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:49:14] local.INFO: Processing buffer {"connection_id":157614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:49:14] local.INFO: IMEI packet received {"connection_id":157614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":157614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:49:15] local.INFO: TCP Data received {"connection_id":157614,"ip":"117.224.158.208","data_length":327,"data_hex":"000000000000013b8e04000001a0194dd798012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157614,"packet_length":327,"packet_hex":"000000000000013b8e04000001a0194dd798012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:49:15] local.INFO: Processing buffer {"connection_id":157614,"buffer_length":327,"buffer_hex":"000000000000013b8e04000001a0194dd798012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:49:15] local.INFO: Packet analysis {"connection_id":157614,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000001a0194d"} 
[2026-08-19 14:49:15] local.INFO: Extracted packet for processing {"connection_id":157614,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000001a0194d"} 
[2026-08-19 14:49:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-08-19 14:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505511936001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:49: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-08-19 14:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787130927000,"timestamp_ms":1787130927000,"timestamp_seconds":1787130927,"priority":1,"record_length":96,"hex_timestamp":"000001a0194dd798"} 
[2026-08-19 14:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:49: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-08-19 14:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":327,"current_offset":136} 
[2026-08-19 14:49:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:49:15] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157614,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-19 14:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505511936001,"66":12461,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505511936001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:49:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:49:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505511936001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":157614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:49:15] local.INFO: GPS data processed {"connection_id":157614,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:49:15] local.INFO: Acknowledgment sent {"connection_id":157614,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:49:47] local.INFO: TCP Data received {"connection_id":157614,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0194e29a0012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194e29a0012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:49:47] local.INFO: Processing buffer {"connection_id":157614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194e29a0012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:49:47] local.INFO: Packet analysis {"connection_id":157614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194e"} 
[2026-08-19 14:49:47] local.INFO: Extracted packet for processing {"connection_id":157614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194e"} 
[2026-08-19 14:49:47] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505517312001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:49:47] 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-08-19 14:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787130948000,"timestamp_ms":1787130948000,"timestamp_seconds":1787130948,"priority":1,"record_length":96,"hex_timestamp":"000001a0194e29a0"} 
[2026-08-19 14:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 14:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505517312001,"66":12504,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505517312001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:49:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:49:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505517312001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":157614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:49:47] local.INFO: GPS data processed {"connection_id":157614,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:49:47] local.INFO: Acknowledgment sent {"connection_id":157614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:50:06] local.INFO: TCP Data received {"connection_id":157613,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0194fcf80012cf08d0007137820002900d82b..."} 
[2026-08-19 14:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194fcf80012cf08d0007137820002900d82b..."} 
[2026-08-19 14:50:06] local.INFO: Processing buffer {"connection_id":157613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194fcf80012cf08d0007137820002900d82b..."} 
[2026-08-19 14:50:06] local.INFO: Packet analysis {"connection_id":157613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194f"} 
[2026-08-19 14:50:06] local.INFO: Extracted packet for processing {"connection_id":157613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194f"} 
[2026-08-19 14:50:06] local.INFO: GPS Element Parsed {"raw_longitude":753962240,"raw_latitude":118716448,"longitude_deg":75.396224,"latitude_deg":11.8716448,"altitude":41,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2cf08d00","hex_latitude":"07137820","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505544960001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385955012578115584,"note":"Value kept but may cause issues"} 
[2026-08-19 14:50:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1113233502499233792,"note":"Value kept but may cause issues"} 
[2026-08-19 14:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787131056000,"timestamp_ms":1787131056000,"timestamp_seconds":1787131056,"priority":1,"record_length":96,"hex_timestamp":"000001a0194fcf80"} 
[2026-08-19 14:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 14:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505544960001,"66":27908,"64":206,"2":54272,"24":0,"16":385955012578115584,"44":-1113233502499233792},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-19 14:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505544960001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:50:06] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-19 14:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385955012578115584,"km_value":385955012578115.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:50:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1113233502499233792,"description":"Unknown IO ID 44"} 
[2026-08-19 14:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505544960001,"power":27908,"unknown_64":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1113233502499233792}} 
[2026-08-19 14:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":157613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:50:06] local.INFO: GPS data processed {"connection_id":157613,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:50:06] local.INFO: Acknowledgment sent {"connection_id":157613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:50:08] local.INFO: TCP Data received {"connection_id":160168,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:50:08] local.INFO: Processing buffer {"connection_id":160168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:50:08] local.INFO: IMEI packet received {"connection_id":160168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":160168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:50:12] local.INFO: TCP Data received {"connection_id":157615,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:50:12] local.INFO: Processing buffer {"connection_id":157615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:50:12] local.INFO: IMEI packet received {"connection_id":157615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":157615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:50:14] local.INFO: TCP Data received {"connection_id":160168,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:50:14] local.INFO: Processing buffer {"connection_id":160168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:50:14] local.INFO: IMEI packet received {"connection_id":160168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":160168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:50:14] local.INFO: TCP Data received {"connection_id":157615,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:50:14] local.INFO: Processing buffer {"connection_id":157615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:50:14] local.INFO: IMEI packet received {"connection_id":157615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":157615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:50:15] local.INFO: TCP Data received {"connection_id":160168,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0194e7ba8012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194e7ba8012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:50:15] local.INFO: Processing buffer {"connection_id":160168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194e7ba8012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:50:15] local.INFO: Packet analysis {"connection_id":160168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194e"} 
[2026-08-19 14:50:15] local.INFO: Extracted packet for processing {"connection_id":160168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194e"} 
[2026-08-19 14:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505522688001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:50: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-08-19 14:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787130969000,"timestamp_ms":1787130969000,"timestamp_seconds":1787130969,"priority":1,"record_length":96,"hex_timestamp":"000001a0194e7ba8"} 
[2026-08-19 14:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:50: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-08-19 14:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 14:50:15] 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-08-19 14:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505522688001,"66":12374,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505522688001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:50:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:50:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505522688001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":160168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:50:15] local.INFO: GPS data processed {"connection_id":160168,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:50:15] local.INFO: Acknowledgment sent {"connection_id":160168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:50:19] local.INFO: TCP Data received {"connection_id":157615,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:50:19] local.INFO: Processing buffer {"connection_id":157615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:50:19] local.INFO: IMEI packet received {"connection_id":157615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":157615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:50:23] local.INFO: TCP Data received {"connection_id":157615,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019510fd0012cefb4800713a3e8002501172b..."} 
[2026-08-19 14:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019510fd0012cefb4800713a3e8002501172b..."} 
[2026-08-19 14:50:23] local.INFO: Processing buffer {"connection_id":157615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019510fd0012cefb4800713a3e8002501172b..."} 
[2026-08-19 14:50:23] local.INFO: Packet analysis {"connection_id":157615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01951"} 
[2026-08-19 14:50:23] local.INFO: Extracted packet for processing {"connection_id":157615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01951"} 
[2026-08-19 14:50:23] local.INFO: GPS Element Parsed {"raw_longitude":753906816,"raw_latitude":118727656,"longitude_deg":75.3906816,"latitude_deg":11.8727656,"altitude":37,"angle":279,"satellites":43,"speed":44,"hex_longitude":"2cefb480","hex_latitude":"0713a3e8","is_valid_coordinates":true} 
[2026-08-19 14:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505569024001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385957842961563648,"note":"Value kept but may cause issues"} 
[2026-08-19 14:50:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1163828629560535040,"note":"Value kept but may cause issues"} 
[2026-08-19 14:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787131138000,"timestamp_ms":1787131138000,"timestamp_seconds":1787131138,"priority":1,"record_length":96,"hex_timestamp":"000001a019510fd0"} 
[2026-08-19 14:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:50: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-08-19 14:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 14:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":157615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":157615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":157615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505569024001,"66":27876,"153":206,"2":54272,"24":44,"16":385957842961563648,"44":-1163828629560535040},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,2,24,16,44]} 
[2026-08-19 14:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505569024001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:50:23] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 14:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385957842961563648,"km_value":385957842961563.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:50:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1163828629560535040,"description":"Unknown IO ID 44"} 
[2026-08-19 14:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505569024001,"power":27876,"unknown_153":206,"power_alt":54272,"ignition":44,"odometer":null,"unknown_44":-1163828629560535040}} 
[2026-08-19 14:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":157615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:50:23] local.INFO: GPS data processed {"connection_id":157615,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:50:23] local.INFO: Acknowledgment sent {"connection_id":157615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:50:47] local.INFO: TCP Data received {"connection_id":160168,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0194ecdb0012d181d400721ad88004c00ce27..."} 
[2026-08-19 14:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194ecdb0012d181d400721ad88004c00ce27..."} 
[2026-08-19 14:50:47] local.INFO: Processing buffer {"connection_id":160168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194ecdb0012d181d400721ad88004c00ce27..."} 
[2026-08-19 14:50:47] local.INFO: Packet analysis {"connection_id":160168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194e"} 
[2026-08-19 14:50:47] local.INFO: Extracted packet for processing {"connection_id":160168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194e"} 
[2026-08-19 14:50:47] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 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-08-19 14:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505528064001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:50:47] 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-08-19 14:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787130990000,"timestamp_ms":1787130990000,"timestamp_seconds":1787130990,"priority":1,"record_length":96,"hex_timestamp":"000001a0194ecdb0"} 
[2026-08-19 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-08-19 14:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":86,"data_length":795,"current_offset":136} 
[2026-08-19 14:50:47] 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-08-19 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-08-19 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-08-19 14:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505528064001,"66":12504,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505528064001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:50:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:50:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505528064001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":160168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:50:47] local.INFO: GPS data processed {"connection_id":160168,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:50:47] local.INFO: Acknowledgment sent {"connection_id":160168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:50:59] local.INFO: TCP Data received {"connection_id":157997,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:50:59] local.INFO: Processing buffer {"connection_id":157997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:50:59] local.INFO: IMEI packet received {"connection_id":157997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":157997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:51:03] local.INFO: TCP Data received {"connection_id":157997,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:51:03] local.INFO: Processing buffer {"connection_id":157997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:51:03] local.INFO: IMEI packet received {"connection_id":157997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":157997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:51:04] local.INFO: TCP Data received {"connection_id":157997,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019511f70012cefa3800713a8400024012729..."} 
[2026-08-19 14:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019511f70012cefa3800713a8400024012729..."} 
[2026-08-19 14:51:04] local.INFO: Processing buffer {"connection_id":157997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019511f70012cefa3800713a8400024012729..."} 
[2026-08-19 14:51:04] local.INFO: Packet analysis {"connection_id":157997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01951"} 
[2026-08-19 14:51:04] local.INFO: Extracted packet for processing {"connection_id":157997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01951"} 
[2026-08-19 14:51:04] local.INFO: GPS Element Parsed {"raw_longitude":753902464,"raw_latitude":118728768,"longitude_deg":75.3902464,"latitude_deg":11.8728768,"altitude":36,"angle":295,"satellites":41,"speed":41,"hex_longitude":"2cefa380","hex_latitude":"0713a840","is_valid_coordinates":true} 
[2026-08-19 14:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505571328001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385958057709928448,"note":"Value kept but may cause issues"} 
[2026-08-19 14:51:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1174172834954221568,"note":"Value kept but may cause issues"} 
[2026-08-19 14:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787131142000,"timestamp_ms":1787131142000,"timestamp_seconds":1787131142,"priority":1,"record_length":96,"hex_timestamp":"000001a019511f70"} 
[2026-08-19 14:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14: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-08-19 14:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 14:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505571328001,"66":27800,"153":206,"2":54272,"24":41,"16":385958057709928448,"44":-1174172834954221568},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,2,24,16,44]} 
[2026-08-19 14:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505571328001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:51:04] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 14:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385958057709928448,"km_value":385958057709928.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:51:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1174172834954221568,"description":"Unknown IO ID 44"} 
[2026-08-19 14:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505571328001,"power":27800,"unknown_153":206,"power_alt":54272,"ignition":41,"odometer":null,"unknown_44":-1174172834954221568}} 
[2026-08-19 14:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":157997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:51:04] local.INFO: GPS data processed {"connection_id":157997,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:51:04] local.INFO: Acknowledgment sent {"connection_id":157997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:51:08] local.INFO: TCP Data received {"connection_id":160169,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:51:08] local.INFO: Processing buffer {"connection_id":160169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:51:08] local.INFO: IMEI packet received {"connection_id":160169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":160169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:51:14] local.INFO: TCP Data received {"connection_id":160169,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:51:14] local.INFO: Processing buffer {"connection_id":160169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:51:14] local.INFO: IMEI packet received {"connection_id":160169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":160169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:51:15] local.INFO: TCP Data received {"connection_id":160169,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0194f1fb8012d181d400721ad88004c00ce26..."} 
[2026-08-19 14:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194f1fb8012d181d400721ad88004c00ce26..."} 
[2026-08-19 14:51:15] local.INFO: Processing buffer {"connection_id":160169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194f1fb8012d181d400721ad88004c00ce26..."} 
[2026-08-19 14:51:15] local.INFO: Packet analysis {"connection_id":160169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194f"} 
[2026-08-19 14:51:15] local.INFO: Extracted packet for processing {"connection_id":160169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194f"} 
[2026-08-19 14:51:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 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-08-19 14:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505533440001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14: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-08-19 14:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787131011000,"timestamp_ms":1787131011000,"timestamp_seconds":1787131011,"priority":1,"record_length":96,"hex_timestamp":"000001a0194f1fb8"} 
[2026-08-19 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-08-19 14:51: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-08-19 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 14:51:15] 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-08-19 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-08-19 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-08-19 14:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505533440001,"66":12461,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505533440001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:51:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:51:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505533440001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":160169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:51:15] local.INFO: GPS data processed {"connection_id":160169,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:51:15] local.INFO: Acknowledgment sent {"connection_id":160169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:51:35] local.INFO: TCP Data received {"connection_id":157616,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 14:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157616,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 14:51:35] local.INFO: Processing buffer {"connection_id":157616,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 14:51:35] local.INFO: IMEI packet received {"connection_id":157616,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 14:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":157616,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:51:36] local.INFO: TCP Data received {"connection_id":157997,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019512740012cef9c400713acb00024013526..."} 
[2026-08-19 14:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019512740012cef9c400713acb00024013526..."} 
[2026-08-19 14:51:36] local.INFO: Processing buffer {"connection_id":157997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019512740012cef9c400713acb00024013526..."} 
[2026-08-19 14:51:36] local.INFO: Packet analysis {"connection_id":157997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01951"} 
[2026-08-19 14:51:36] local.INFO: Extracted packet for processing {"connection_id":157997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01951"} 
[2026-08-19 14:51:36] local.INFO: GPS Element Parsed {"raw_longitude":753900608,"raw_latitude":118729904,"longitude_deg":75.3900608,"latitude_deg":11.8729904,"altitude":36,"angle":309,"satellites":38,"speed":41,"hex_longitude":"2cef9c40","hex_latitude":"0713acb0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505572352001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385958160789143552,"note":"Value kept but may cause issues"} 
[2026-08-19 14:51:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1178957909558018048,"note":"Value kept but may cause issues"} 
[2026-08-19 14:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787131144000,"timestamp_ms":1787131144000,"timestamp_seconds":1787131144,"priority":1,"record_length":96,"hex_timestamp":"000001a019512740"} 
[2026-08-19 14:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 14:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505572352001,"66":27908,"153":206,"2":54272,"24":41,"16":385958160789143552,"44":-1178957909558018048},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,2,24,16,44]} 
[2026-08-19 14:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505572352001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:51:36] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 14:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385958160789143552,"km_value":385958160789143.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:51:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1178957909558018048,"description":"Unknown IO ID 44"} 
[2026-08-19 14:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505572352001,"power":27908,"unknown_153":206,"power_alt":54272,"ignition":41,"odometer":null,"unknown_44":-1178957909558018048}} 
[2026-08-19 14:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":157997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:51:36] local.INFO: GPS data processed {"connection_id":157997,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:51:36] local.INFO: Acknowledgment sent {"connection_id":157997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:51:41] local.INFO: TCP Data received {"connection_id":157616,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 14:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157616,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 14:51:41] local.INFO: Processing buffer {"connection_id":157616,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 14:51:41] local.INFO: IMEI packet received {"connection_id":157616,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 14:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":157616,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:51:41] local.INFO: TCP Data received {"connection_id":157616,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-08-19 14:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157616,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-08-19 14:51:41] local.INFO: Processing buffer {"connection_id":157616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000f2300100000000000000000000000000..."} 
[2026-08-19 14:51:41] local.INFO: Packet analysis {"connection_id":157616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-19 14:51:41] local.INFO: Extracted packet for processing {"connection_id":157616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-19 14:51: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-08-19 14:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28817388015190016,"note":"Value kept but may cause issues"} 
[2026-08-19 14:51:41] 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-08-19 14:51: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-08-19 14:51:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-19 14:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157616,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157616,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-19 14:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157616,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-19 14:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-19 14:51:41] local.WARNING: DEBUG: No valid data to process  
[2026-08-19 14:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":157616,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-19 14:51:41] local.ERROR: GPS data processing failed {"connection_id":157616,"error":"No valid data to process"} 
[2026-08-19 14:51:41] local.INFO: Acknowledgment sent {"connection_id":157616,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-19 14:51:47] local.INFO: TCP Data received {"connection_id":160169,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0194f71c0012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194f71c0012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:51:47] local.INFO: Processing buffer {"connection_id":160169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194f71c0012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:51:47] local.INFO: Packet analysis {"connection_id":160169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194f"} 
[2026-08-19 14:51:47] local.INFO: Extracted packet for processing {"connection_id":160169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194f"} 
[2026-08-19 14:51:47] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505538816001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:51:47] 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-08-19 14:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787131032000,"timestamp_ms":1787131032000,"timestamp_seconds":1787131032,"priority":1,"record_length":96,"hex_timestamp":"000001a0194f71c0"} 
[2026-08-19 14:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 14:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505538816001,"66":12461,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505538816001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:51:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:51:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505538816001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":160169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:51:47] local.INFO: GPS data processed {"connection_id":160169,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:51:47] local.INFO: Acknowledgment sent {"connection_id":160169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:51:59] local.INFO: TCP Data received {"connection_id":158857,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:51:59] local.INFO: Processing buffer {"connection_id":158857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:51:59] local.INFO: IMEI packet received {"connection_id":158857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":158857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:52:04] local.INFO: TCP Data received {"connection_id":158857,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:52:04] local.INFO: Processing buffer {"connection_id":158857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:52:04] local.INFO: IMEI packet received {"connection_id":158857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":158857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:52:05] local.INFO: TCP Data received {"connection_id":158857,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019514a68012cef83800713c5e00024013728..."} 
[2026-08-19 14:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019514a68012cef83800713c5e00024013728..."} 
[2026-08-19 14:52:05] local.INFO: Processing buffer {"connection_id":158857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019514a68012cef83800713c5e00024013728..."} 
[2026-08-19 14:52:05] local.INFO: Packet analysis {"connection_id":158857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01951"} 
[2026-08-19 14:52:05] local.INFO: Extracted packet for processing {"connection_id":158857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01951"} 
[2026-08-19 14:52:05] local.INFO: GPS Element Parsed {"raw_longitude":753894272,"raw_latitude":118736352,"longitude_deg":75.3894272,"latitude_deg":11.8736352,"altitude":36,"angle":311,"satellites":40,"speed":37,"hex_longitude":"2cef8380","hex_latitude":"0713c5e0","is_valid_coordinates":true} 
[2026-08-19 14:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505572864001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385958594580840448,"note":"Value kept but may cause issues"} 
[2026-08-19 14:52:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1180998603138879488,"note":"Value kept but may cause issues"} 
[2026-08-19 14:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787131153000,"timestamp_ms":1787131153000,"timestamp_seconds":1787131153,"priority":1,"record_length":96,"hex_timestamp":"000001a019514a68"} 
[2026-08-19 14:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 14:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505572864001,"66":27974,"153":206,"2":54272,"24":37,"16":385958594580840448,"44":-1180998603138879488},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,2,24,16,44]} 
[2026-08-19 14:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505572864001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:52:05] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 14:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385958594580840448,"km_value":385958594580840.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:52:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1180998603138879488,"description":"Unknown IO ID 44"} 
[2026-08-19 14:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505572864001,"power":27974,"unknown_153":206,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-1180998603138879488}} 
[2026-08-19 14:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":158857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:52:05] local.INFO: GPS data processed {"connection_id":158857,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:52:05] local.INFO: Acknowledgment sent {"connection_id":158857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:52:13] local.INFO: TCP Data received {"connection_id":157616,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01953d6c00100000000000000000000000000..."} 
[2026-08-19 14:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01953d6c00100000000000000000000000000..."} 
[2026-08-19 14:52:13] local.INFO: Processing buffer {"connection_id":157616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01953d6c00100000000000000000000000000..."} 
[2026-08-19 14:52:13] local.INFO: Packet analysis {"connection_id":157616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01953"} 
[2026-08-19 14:52:13] local.INFO: Extracted packet for processing {"connection_id":157616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01953"} 
[2026-08-19 14:52:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 14:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28817388015190016,"note":"Value kept but may cause issues"} 
[2026-08-19 14:52: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-08-19 14:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787131320000,"timestamp_ms":1787131320000,"timestamp_seconds":1787131320,"priority":1,"record_length":96,"hex_timestamp":"000001a01953d6c0"} 
[2026-08-19 14:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 14:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 14:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 14:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 14:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 14:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":157616,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 14:52:13] local.INFO: GPS data processed {"connection_id":157616,"processed":0,"errors":0,"total":1} 
[2026-08-19 14:52:13] local.INFO: Acknowledgment sent {"connection_id":157616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:52:13] local.INFO: TCP Data received {"connection_id":157998,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:52:13] local.INFO: Processing buffer {"connection_id":157998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:52:13] local.INFO: IMEI packet received {"connection_id":157998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":157998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:52:18] local.INFO: TCP Data received {"connection_id":157998,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:52:18] local.INFO: Processing buffer {"connection_id":157998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:52:18] local.INFO: IMEI packet received {"connection_id":157998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":157998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:52:19] local.INFO: TCP Data received {"connection_id":157998,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0194fc3c8012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0194fc3c8012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:52:19] local.INFO: Processing buffer {"connection_id":157998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0194fc3c8012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:52:19] local.INFO: Packet analysis {"connection_id":157998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0194f"} 
[2026-08-19 14:52:19] local.INFO: Extracted packet for processing {"connection_id":157998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0194f"} 
[2026-08-19 14:52:19] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505544192001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:52:19] 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-08-19 14:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787131053000,"timestamp_ms":1787131053000,"timestamp_seconds":1787131053,"priority":1,"record_length":96,"hex_timestamp":"000001a0194fc3c8"} 
[2026-08-19 14:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:52: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-08-19 14:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 14:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505544192001,"66":12461,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505544192001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:52:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:52:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505544192001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":157998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:52:19] local.INFO: GPS data processed {"connection_id":157998,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:52:19] local.INFO: Acknowledgment sent {"connection_id":157998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:52:24] local.INFO: TCP Data received {"connection_id":157998,"ip":"117.224.158.208","data_length":327,"data_hex":"000000000000013b8e04000001a0195015d0012d181d400721ad88004c00ce29..."} 
[2026-08-19 14:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157998,"packet_length":327,"packet_hex":"000000000000013b8e04000001a0195015d0012d181d400721ad88004c00ce29..."} 
[2026-08-19 14:52:24] local.INFO: Processing buffer {"connection_id":157998,"buffer_length":327,"buffer_hex":"000000000000013b8e04000001a0195015d0012d181d400721ad88004c00ce29..."} 
[2026-08-19 14:52:24] local.INFO: Packet analysis {"connection_id":157998,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000001a01950"} 
[2026-08-19 14:52:24] local.INFO: Extracted packet for processing {"connection_id":157998,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000001a01950"} 
[2026-08-19 14:52:24] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-08-19 14:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505549568001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:52:24] 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-08-19 14:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787131074000,"timestamp_ms":1787131074000,"timestamp_seconds":1787131074,"priority":1,"record_length":96,"hex_timestamp":"000001a0195015d0"} 
[2026-08-19 14:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":327,"current_offset":136} 
[2026-08-19 14:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:52:24] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":157998,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-19 14:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":157998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":157998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505549568001,"66":12461,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505549568001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:52:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:52:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505549568001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":157998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:52:24] local.INFO: GPS data processed {"connection_id":157998,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:52:24] local.INFO: Acknowledgment sent {"connection_id":157998,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:52:44] local.INFO: TCP Data received {"connection_id":157616,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01953fdd0012d0b188007028bd0001500b404..."} 
[2026-08-19 14:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01953fdd0012d0b188007028bd0001500b404..."} 
[2026-08-19 14:52:44] local.INFO: Processing buffer {"connection_id":157616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01953fdd0012d0b188007028bd0001500b404..."} 
[2026-08-19 14:52:44] local.INFO: Packet analysis {"connection_id":157616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01953"} 
[2026-08-19 14:52:44] local.INFO: Extracted packet for processing {"connection_id":157616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01953"} 
[2026-08-19 14:52:44] local.INFO: GPS Element Parsed {"raw_longitude":755701888,"raw_latitude":117607376,"longitude_deg":75.5701888,"latitude_deg":11.7607376,"altitude":21,"angle":180,"satellites":4,"speed":18,"hex_longitude":"2d0b1880","hex_latitude":"07028bd0","is_valid_coordinates":true} 
[2026-08-19 14:52:44] 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-08-19 14:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28817388015190016,"note":"Value kept but may cause issues"} 
[2026-08-19 14:52: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-08-19 14:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787131330000,"timestamp_ms":1787131330000,"timestamp_seconds":1787131330,"priority":1,"record_length":96,"hex_timestamp":"000001a01953fdd0"} 
[2026-08-19 14:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 14:52: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-08-19 14:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 14:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 14:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 14:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 14:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14374,"17":206,"94":11008,"24":18,"16":28817388015190016},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16]} 
[2026-08-19 14:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 14:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 14:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-19 14:52:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 14:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28817388015190016,"km_value":28817388015190.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:52:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":18,"odometer":null}} 
[2026-08-19 14:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":157616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665146,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:52:44] local.INFO: GPS data processed {"connection_id":157616,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:52:44] local.INFO: Acknowledgment sent {"connection_id":157616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:52:58] local.INFO: TCP Data received {"connection_id":158857,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019515620012cef7a800713cc800024012c25..."} 
[2026-08-19 14:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019515620012cef7a800713cc800024012c25..."} 
[2026-08-19 14:52:58] local.INFO: Processing buffer {"connection_id":158857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019515620012cef7a800713cc800024012c25..."} 
[2026-08-19 14:52:58] local.INFO: Packet analysis {"connection_id":158857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01951"} 
[2026-08-19 14:52:58] local.INFO: Extracted packet for processing {"connection_id":158857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01951"} 
[2026-08-19 14:52:58] local.INFO: GPS Element Parsed {"raw_longitude":753891968,"raw_latitude":118738048,"longitude_deg":75.3891968,"latitude_deg":11.8738048,"altitude":36,"angle":300,"satellites":37,"speed":36,"hex_longitude":"2cef7a80","hex_latitude":"0713cc80","is_valid_coordinates":true} 
[2026-08-19 14:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505575168001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385958732019793920,"note":"Value kept but may cause issues"} 
[2026-08-19 14:52:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1187965108810817536,"note":"Value kept but may cause issues"} 
[2026-08-19 14:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787131156000,"timestamp_ms":1787131156000,"timestamp_seconds":1787131156,"priority":1,"record_length":96,"hex_timestamp":"000001a019515620"} 
[2026-08-19 14:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:52: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-08-19 14:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 14:52: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-08-19 14:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":158857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":158857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":158857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505575168001,"66":27919,"153":206,"2":54272,"24":36,"16":385958732019793920,"44":-1187965108810817536},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,2,24,16,44]} 
[2026-08-19 14:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505575168001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:52:58] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 14:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385958732019793920,"km_value":385958732019793.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:52:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1187965108810817536,"description":"Unknown IO ID 44"} 
[2026-08-19 14:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505575168001,"power":27919,"unknown_153":206,"power_alt":54272,"ignition":36,"odometer":null,"unknown_44":-1187965108810817536}} 
[2026-08-19 14:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":158857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:52:58] local.INFO: GPS data processed {"connection_id":158857,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:52:58] local.INFO: Acknowledgment sent {"connection_id":158857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:53:05] local.INFO: TCP Data received {"connection_id":160170,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:53:05] local.INFO: Processing buffer {"connection_id":160170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:53:05] local.INFO: IMEI packet received {"connection_id":160170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":160170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:53:08] local.INFO: TCP Data received {"connection_id":160170,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:53:08] local.INFO: Processing buffer {"connection_id":160170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:53:08] local.INFO: IMEI packet received {"connection_id":160170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":160170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:53:09] local.INFO: TCP Data received {"connection_id":158858,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:53:09] local.INFO: Processing buffer {"connection_id":158858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:53:09] local.INFO: IMEI packet received {"connection_id":158858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":158858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:53:14] local.INFO: TCP Data received {"connection_id":160170,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:53:14] local.INFO: Processing buffer {"connection_id":160170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:53:14] local.INFO: IMEI packet received {"connection_id":160170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":160170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:53:14] local.INFO: TCP Data received {"connection_id":158858,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:53:14] local.INFO: Processing buffer {"connection_id":158858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:53:14] local.INFO: IMEI packet received {"connection_id":158858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":158858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:53:15] local.INFO: TCP Data received {"connection_id":160170,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019539c28012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019539c28012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:53:15] local.INFO: Processing buffer {"connection_id":160170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019539c28012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:53:15] local.INFO: Packet analysis {"connection_id":160170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01953"} 
[2026-08-19 14:53:15] local.INFO: Extracted packet for processing {"connection_id":160170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01953"} 
[2026-08-19 14:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505608704001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:53: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-08-19 14:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787131305000,"timestamp_ms":1787131305000,"timestamp_seconds":1787131305,"priority":1,"record_length":96,"hex_timestamp":"000001a019539c28"} 
[2026-08-19 14:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:53: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-08-19 14:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-19 14:53:15] 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-08-19 14:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505608704001,"66":12428,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505608704001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:53:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:53:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505608704001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:53:15] local.INFO: TCP Data received {"connection_id":158858,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01953a3f8012cee90000713da680022010b2a..."} 
[2026-08-19 14:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01953a3f8012cee90000713da680022010b2a..."} 
[2026-08-19 14:53:15] local.INFO: Processing buffer {"connection_id":158858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01953a3f8012cee90000713da680022010b2a..."} 
[2026-08-19 14:53:15] local.INFO: Packet analysis {"connection_id":158858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01953"} 
[2026-08-19 14:53:15] local.INFO: Extracted packet for processing {"connection_id":158858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01953"} 
[2026-08-19 14:53:15] local.INFO: GPS Element Parsed {"raw_longitude":753831936,"raw_latitude":118741608,"longitude_deg":75.3831936,"latitude_deg":11.8741608,"altitude":34,"angle":267,"satellites":42,"speed":20,"hex_longitude":"2cee9000","hex_latitude":"0713da68","is_valid_coordinates":true} 
[2026-08-19 14:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505612288001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385961618237816832,"note":"Value kept but may cause issues"} 
[2026-08-19 14:53:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252211772243515392,"note":"Value kept but may cause issues"} 
[2026-08-19 14:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787131307000,"timestamp_ms":1787131307000,"timestamp_seconds":1787131307,"priority":1,"record_length":96,"hex_timestamp":"000001a01953a3f8"} 
[2026-08-19 14:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:53: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-08-19 14:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-19 14:53:15] 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-08-19 14:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":160170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:53:15] local.INFO: GPS data processed {"connection_id":160170,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:53:15] local.INFO: Acknowledgment sent {"connection_id":160170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505612288001,"66":27952,"206":206,"2":54272,"24":20,"16":385961618237816832,"44":-1252211772243515392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-08-19 14:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505612288001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:53:15] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-19 14:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385961618237816832,"km_value":385961618237816.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:53:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252211772243515392,"description":"Unknown IO ID 44"} 
[2026-08-19 14:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505612288001,"power":27952,"unknown_206":206,"power_alt":54272,"ignition":20,"odometer":null,"unknown_44":-1252211772243515392}} 
[2026-08-19 14:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":158858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:53:15] local.INFO: GPS data processed {"connection_id":158858,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:53:15] local.INFO: Acknowledgment sent {"connection_id":158858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:53:16] local.INFO: TCP Data received {"connection_id":157616,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01954d4a8012d0b230007022de8000f011105..."} 
[2026-08-19 14:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01954d4a8012d0b230007022de8000f011105..."} 
[2026-08-19 14:53:16] local.INFO: Processing buffer {"connection_id":157616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01954d4a8012d0b230007022de8000f011105..."} 
[2026-08-19 14:53:16] local.INFO: Packet analysis {"connection_id":157616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01954"} 
[2026-08-19 14:53:16] local.INFO: Extracted packet for processing {"connection_id":157616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01954"} 
[2026-08-19 14:53:16] local.INFO: GPS Element Parsed {"raw_longitude":755704576,"raw_latitude":117583336,"longitude_deg":75.5704576,"latitude_deg":11.7583336,"altitude":15,"angle":273,"satellites":5,"speed":8,"hex_longitude":"2d0b2300","hex_latitude":"07022de8","is_valid_coordinates":true} 
[2026-08-19 14:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505634304001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28818762404724736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802766663680116736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787131385000,"timestamp_ms":1787131385000,"timestamp_seconds":1787131385,"priority":1,"record_length":96,"hex_timestamp":"000001a01954d4a8"} 
[2026-08-19 14:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:53:16] 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-08-19 14:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 14:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 14:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 14:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 14:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 14:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505634304001,"66":14515,"17":206,"94":11008,"24":8,"16":28818762404724736,"45":802766663680116736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 14:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 14:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 14:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505634304001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:53:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 14:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28818762404724736,"km_value":28818762404724.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":802766663680116736,"description":"Unknown IO ID 45"} 
[2026-08-19 14:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505634304001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":802766663680116736}} 
[2026-08-19 14:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":157616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665150,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:53:16] local.INFO: GPS data processed {"connection_id":157616,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:53:16] local.INFO: Acknowledgment sent {"connection_id":157616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:53:47] local.INFO: TCP Data received {"connection_id":160170,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01953ee30012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01953ee30012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:53:47] local.INFO: Processing buffer {"connection_id":160170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01953ee30012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:53:47] local.INFO: Packet analysis {"connection_id":160170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01953"} 
[2026-08-19 14:53:47] local.INFO: Extracted packet for processing {"connection_id":160170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01953"} 
[2026-08-19 14:53:47] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 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-08-19 14:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505614080001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:53:47] 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-08-19 14:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787131326000,"timestamp_ms":1787131326000,"timestamp_seconds":1787131326,"priority":1,"record_length":96,"hex_timestamp":"000001a01953ee30"} 
[2026-08-19 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-08-19 14:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 14:53: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-08-19 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-08-19 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-08-19 14:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505614080001,"66":12461,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505614080001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:53:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:53:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505614080001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":160170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:53:47] local.INFO: GPS data processed {"connection_id":160170,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:53:47] local.INFO: Acknowledgment sent {"connection_id":160170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:53:47] local.INFO: TCP Data received {"connection_id":157616,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01954dc78012d0b1f8007022e70000f011d05..."} 
[2026-08-19 14:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01954dc78012d0b1f8007022e70000f011d05..."} 
[2026-08-19 14:53:47] local.INFO: Processing buffer {"connection_id":157616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01954dc78012d0b1f8007022e70000f011d05..."} 
[2026-08-19 14:53:47] local.INFO: Packet analysis {"connection_id":157616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01954"} 
[2026-08-19 14:53:47] local.INFO: Extracted packet for processing {"connection_id":157616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01954"} 
[2026-08-19 14:53:47] local.INFO: GPS Element Parsed {"raw_longitude":755703680,"raw_latitude":117583472,"longitude_deg":75.570368,"latitude_deg":11.7583472,"altitude":15,"angle":285,"satellites":5,"speed":17,"hex_longitude":"2d0b1f80","hex_latitude":"07022e70","is_valid_coordinates":true} 
[2026-08-19 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-08-19 14:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505634560001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28818805354397696,"note":"Value kept but may cause issues"} 
[2026-08-19 14:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802485188703414272,"note":"Value kept but may cause issues"} 
[2026-08-19 14:53:47] 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-08-19 14:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787131387000,"timestamp_ms":1787131387000,"timestamp_seconds":1787131387,"priority":1,"record_length":96,"hex_timestamp":"000001a01954dc78"} 
[2026-08-19 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-08-19 14:53:47] 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-08-19 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 14:53:47] 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-08-19 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-08-19 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-08-19 14:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 14:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 14:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 14:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 14:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505634560001,"66":14461,"17":206,"94":11008,"24":17,"16":28818805354397696,"45":802485188703414272},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 14:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 14:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 14:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505634560001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:53:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 14:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28818805354397696,"km_value":28818805354397.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":802485188703414272,"description":"Unknown IO ID 45"} 
[2026-08-19 14:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505634560001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":802485188703414272}} 
[2026-08-19 14:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":157616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665152,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:53:47] local.INFO: GPS data processed {"connection_id":157616,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:53:47] local.INFO: Acknowledgment sent {"connection_id":157616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:53:59] local.INFO: TCP Data received {"connection_id":157999,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:53:59] local.INFO: Processing buffer {"connection_id":157999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:53:59] local.INFO: IMEI packet received {"connection_id":157999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":157999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:54:01] local.INFO: TCP Data received {"connection_id":157999,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:54:01] local.INFO: Processing buffer {"connection_id":157999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:54:01] local.INFO: IMEI packet received {"connection_id":157999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":157999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:54:04] local.INFO: TCP Data received {"connection_id":157999,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:54:04] local.INFO: Processing buffer {"connection_id":157999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:54:04] local.INFO: IMEI packet received {"connection_id":157999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":157999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:54:05] local.INFO: TCP Data received {"connection_id":157999,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01953daa8012cee6bc00713d9c0002001112c..."} 
[2026-08-19 14:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01953daa8012cee6bc00713d9c0002001112c..."} 
[2026-08-19 14:54:05] local.INFO: Processing buffer {"connection_id":157999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01953daa8012cee6bc00713d9c0002001112c..."} 
[2026-08-19 14:54:05] local.INFO: Packet analysis {"connection_id":157999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01953"} 
[2026-08-19 14:54:05] local.INFO: Extracted packet for processing {"connection_id":157999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01953"} 
[2026-08-19 14:54:05] local.INFO: GPS Element Parsed {"raw_longitude":753822656,"raw_latitude":118741440,"longitude_deg":75.3822656,"latitude_deg":11.874144,"altitude":32,"angle":273,"satellites":44,"speed":15,"hex_longitude":"2cee6bc0","hex_latitude":"0713d9c0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505614592001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385962060619448320,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1256504265638516736,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787131321000,"timestamp_ms":1787131321000,"timestamp_seconds":1787131321,"priority":1,"record_length":96,"hex_timestamp":"000001a01953daa8"} 
[2026-08-19 14:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-08-19 14:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505614592001,"66":27887,"206":206,"2":54272,"24":15,"16":385962060619448320,"44":-1256504265638516736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-08-19 14:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505614592001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:54:05] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-19 14:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385962060619448320,"km_value":385962060619448.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:54:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1256504265638516736,"description":"Unknown IO ID 44"} 
[2026-08-19 14:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505614592001,"power":27887,"unknown_206":206,"power_alt":54272,"ignition":15,"odometer":null,"unknown_44":-1256504265638516736}} 
[2026-08-19 14:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":157999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:54:05] local.INFO: GPS data processed {"connection_id":157999,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:54:05] local.INFO: Acknowledgment sent {"connection_id":157999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:54:09] local.INFO: TCP Data received {"connection_id":157617,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:54:09] local.INFO: Processing buffer {"connection_id":157617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:54:09] local.INFO: IMEI packet received {"connection_id":157617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":157617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:54:10] local.INFO: TCP Data received {"connection_id":157617,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:54:10] local.INFO: Processing buffer {"connection_id":157617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:54:10] local.INFO: IMEI packet received {"connection_id":157617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":157617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:54:14] local.INFO: TCP Data received {"connection_id":157617,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:54:14] local.INFO: Processing buffer {"connection_id":157617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:54:14] local.INFO: IMEI packet received {"connection_id":157617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":157617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:54:15] local.INFO: TCP Data received {"connection_id":157617,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019544038012d181d400721ad88004c00ce27..."} 
[2026-08-19 14:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019544038012d181d400721ad88004c00ce27..."} 
[2026-08-19 14:54:15] local.INFO: Processing buffer {"connection_id":157617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019544038012d181d400721ad88004c00ce27..."} 
[2026-08-19 14:54:15] local.INFO: Packet analysis {"connection_id":157617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01954"} 
[2026-08-19 14:54:15] local.INFO: Extracted packet for processing {"connection_id":157617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01954"} 
[2026-08-19 14:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505619456001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54: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-08-19 14:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787131347000,"timestamp_ms":1787131347000,"timestamp_seconds":1787131347,"priority":1,"record_length":96,"hex_timestamp":"000001a019544038"} 
[2026-08-19 14:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:54: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-08-19 14:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 14:54:15] 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-08-19 14:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505619456001,"66":11384,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505619456001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:54:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:54:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505619456001,"power":11384,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":157617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:54:15] local.INFO: GPS data processed {"connection_id":157617,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:54:15] local.INFO: Acknowledgment sent {"connection_id":157617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:54:18] local.INFO: TCP Data received {"connection_id":157616,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01954e448012d0b1b0007022e800010011105..."} 
[2026-08-19 14:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01954e448012d0b1b0007022e800010011105..."} 
[2026-08-19 14:54:18] local.INFO: Processing buffer {"connection_id":157616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01954e448012d0b1b0007022e800010011105..."} 
[2026-08-19 14:54:18] local.INFO: Packet analysis {"connection_id":157616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01954"} 
[2026-08-19 14:54:18] local.INFO: Extracted packet for processing {"connection_id":157616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01954"} 
[2026-08-19 14:54:18] local.INFO: GPS Element Parsed {"raw_longitude":755702528,"raw_latitude":117583488,"longitude_deg":75.5702528,"latitude_deg":11.7583488,"altitude":16,"angle":273,"satellites":5,"speed":22,"hex_longitude":"2d0b1b00","hex_latitude":"07022e80","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505635072001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28818861188972544,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801500026284961792,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:18] 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-08-19 14:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787131389000,"timestamp_ms":1787131389000,"timestamp_seconds":1787131389,"priority":1,"record_length":96,"hex_timestamp":"000001a01954e448"} 
[2026-08-19 14:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:54:18] 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-08-19 14: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 14:54:18] 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-08-19 14: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-08-19 14:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 14:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 14:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 14:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 14:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505635072001,"66":14515,"17":206,"94":11008,"24":22,"16":28818861188972544,"45":801500026284961792},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 14:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 14:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 14:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505635072001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:54:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 14:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28818861188972544,"km_value":28818861188972.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":801500026284961792,"description":"Unknown IO ID 45"} 
[2026-08-19 14:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505635072001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":801500026284961792}} 
[2026-08-19 14:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":157616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665155,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:54:18] local.INFO: GPS data processed {"connection_id":157616,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:54:18] local.INFO: Acknowledgment sent {"connection_id":157616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:54:19] local.INFO: TCP Data received {"connection_id":157617,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019549240012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019549240012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:54:19] local.INFO: Processing buffer {"connection_id":157617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019549240012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:54:19] local.INFO: Packet analysis {"connection_id":157617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01954"} 
[2026-08-19 14:54:19] local.INFO: Extracted packet for processing {"connection_id":157617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01954"} 
[2026-08-19 14:54:19] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 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-08-19 14:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505624832001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:19] 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-08-19 14:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787131368000,"timestamp_ms":1787131368000,"timestamp_seconds":1787131368,"priority":1,"record_length":96,"hex_timestamp":"000001a019549240"} 
[2026-08-19 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-08-19 14:54: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-08-19 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":44,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-08-19 14:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1498,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 14:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505624832001,"66":12461,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505624832001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:54:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:54:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505624832001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":157617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:54:19] local.INFO: GPS data processed {"connection_id":157617,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:54:19] local.INFO: Acknowledgment sent {"connection_id":157617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:54:38] local.INFO: TCP Data received {"connection_id":157999,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019541158012cee47000713df700022011727..."} 
[2026-08-19 14:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019541158012cee47000713df700022011727..."} 
[2026-08-19 14:54:38] local.INFO: Processing buffer {"connection_id":157999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019541158012cee47000713df700022011727..."} 
[2026-08-19 14:54:38] local.INFO: Packet analysis {"connection_id":157999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01954"} 
[2026-08-19 14:54:38] local.INFO: Extracted packet for processing {"connection_id":157999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01954"} 
[2026-08-19 14:54:38] local.INFO: GPS Element Parsed {"raw_longitude":753813248,"raw_latitude":118742896,"longitude_deg":75.3813248,"latitude_deg":11.8742896,"altitude":34,"angle":279,"satellites":39,"speed":35,"hex_longitude":"2cee4700","hex_latitude":"0713df70","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505618176001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385962511591014400,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266707733544321024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787131335000,"timestamp_ms":1787131335000,"timestamp_seconds":1787131335,"priority":1,"record_length":96,"hex_timestamp":"000001a019541158"} 
[2026-08-19 14:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 14:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505618176001,"66":27876,"206":206,"2":54272,"24":35,"16":385962511591014400,"44":-1266707733544321024},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-08-19 14:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505618176001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:54:38] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-19 14:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385962511591014400,"km_value":385962511591014.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:54:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266707733544321024,"description":"Unknown IO ID 44"} 
[2026-08-19 14:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505618176001,"power":27876,"unknown_206":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-1266707733544321024}} 
[2026-08-19 14:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":157999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:54:38] local.INFO: GPS data processed {"connection_id":157999,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:54:38] local.INFO: Acknowledgment sent {"connection_id":157999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:54:49] local.INFO: TCP Data received {"connection_id":157616,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a019564ba8012d09ec8007023c800000011606..."} 
[2026-08-19 14:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019564ba8012d09ec8007023c800000011606..."} 
[2026-08-19 14:54:49] local.INFO: Processing buffer {"connection_id":157616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019564ba8012d09ec8007023c800000011606..."} 
[2026-08-19 14:54:49] local.INFO: Packet analysis {"connection_id":157616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01956"} 
[2026-08-19 14:54:49] local.INFO: Extracted packet for processing {"connection_id":157616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01956"} 
[2026-08-19 14:54:49] local.INFO: GPS Element Parsed {"raw_longitude":755625088,"raw_latitude":117587072,"longitude_deg":75.5625088,"latitude_deg":11.7587072,"altitude":0,"angle":278,"satellites":6,"speed":29,"hex_longitude":"2d09ec80","hex_latitude":"07023c80","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505657344001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28822636465225728,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720364864248844288,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787131481000,"timestamp_ms":1787131481000,"timestamp_seconds":1787131481,"priority":1,"record_length":96,"hex_timestamp":"000001a019564ba8"} 
[2026-08-19 14:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:54:49] 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-08-19 14: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-19 14:54: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-08-19 14: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-08-19 14:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":157616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":157616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 14:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":157616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 14:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 14:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 14:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505657344001,"66":14515,"19":206,"94":11008,"24":29,"16":28822636465225728,"45":720364864248844288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 14:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 14:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 14:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505657344001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:54:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 14:54:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 14:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28822636465225728,"km_value":28822636465225.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":720364864248844288,"description":"Unknown IO ID 45"} 
[2026-08-19 14:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505657344001,"power":14515,"unknown_19":206,"unknown_94":11008,"ignition":29,"odometer":null,"unknown_45":720364864248844288}} 
[2026-08-19 14:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":157616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665158,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:54:49] local.INFO: GPS data processed {"connection_id":157616,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:54:49] local.INFO: Acknowledgment sent {"connection_id":157616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:54:51] local.INFO: TCP Data received {"connection_id":157617,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01954e448012d181d400721ad88004c00ce26..."} 
[2026-08-19 14:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01954e448012d181d400721ad88004c00ce26..."} 
[2026-08-19 14:54:51] local.INFO: Processing buffer {"connection_id":157617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01954e448012d181d400721ad88004c00ce26..."} 
[2026-08-19 14:54:51] local.INFO: Packet analysis {"connection_id":157617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01954"} 
[2026-08-19 14:54:51] local.INFO: Extracted packet for processing {"connection_id":157617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01954"} 
[2026-08-19 14:54:51] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505630208001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:54:51] 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-08-19 14:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787131389000,"timestamp_ms":1787131389000,"timestamp_seconds":1787131389,"priority":1,"record_length":96,"hex_timestamp":"000001a01954e448"} 
[2026-08-19 14:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 14:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505630208001,"66":12406,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505630208001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:54:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:54:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505630208001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":157617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:54:51] local.INFO: GPS data processed {"connection_id":157617,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:54:51] local.INFO: Acknowledgment sent {"connection_id":157617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:55:04] local.INFO: TCP Data received {"connection_id":158859,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:55:04] local.INFO: Processing buffer {"connection_id":158859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:55:04] local.INFO: IMEI packet received {"connection_id":158859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":158859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:55:04] local.INFO: TCP Data received {"connection_id":158859,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:55:04] local.INFO: Processing buffer {"connection_id":158859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:55:04] local.INFO: IMEI packet received {"connection_id":158859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":158859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:55:09] local.INFO: TCP Data received {"connection_id":160171,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:55:09] local.INFO: Processing buffer {"connection_id":160171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:55:09] local.INFO: IMEI packet received {"connection_id":160171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":160171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:55:10] local.INFO: TCP Data received {"connection_id":158859,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:55:10] local.INFO: Processing buffer {"connection_id":158859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:55:10] local.INFO: IMEI packet received {"connection_id":158859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":158859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:55:12] local.INFO: TCP Data received {"connection_id":160171,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:55:12] local.INFO: Processing buffer {"connection_id":160171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:55:12] local.INFO: IMEI packet received {"connection_id":160171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":160171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:55:12] local.INFO: TCP Data received {"connection_id":158859,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01955bf08012ced34400713f9d8001b01252a..."} 
[2026-08-19 14:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01955bf08012ced34400713f9d8001b01252a..."} 
[2026-08-19 14:55:12] local.INFO: Processing buffer {"connection_id":158859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01955bf08012ced34400713f9d8001b01252a..."} 
[2026-08-19 14:55:12] local.INFO: Packet analysis {"connection_id":158859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01955"} 
[2026-08-19 14:55:12] local.INFO: Extracted packet for processing {"connection_id":158859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01955"} 
[2026-08-19 14:55:12] local.INFO: GPS Element Parsed {"raw_longitude":753742912,"raw_latitude":118749656,"longitude_deg":75.3742912,"latitude_deg":11.8749656,"altitude":27,"angle":293,"satellites":42,"speed":23,"hex_longitude":"2ced3440","hex_latitude":"0713f9d8","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505644544001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385965891730276352,"note":"Value kept but may cause issues"} 
[2026-08-19 14:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1346998470649462784,"note":"Value kept but may cause issues"} 
[2026-08-19 14:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787131445000,"timestamp_ms":1787131445000,"timestamp_seconds":1787131445,"priority":1,"record_length":96,"hex_timestamp":"000001a01955bf08"} 
[2026-08-19 14:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 14:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505644544001,"66":27843,"143":206,"2":54272,"24":23,"16":385965891730276352,"44":-1346998470649462784},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,2,24,16,44]} 
[2026-08-19 14:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505644544001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:55:12] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-19 14:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385965891730276352,"km_value":385965891730276.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1346998470649462784,"description":"Unknown IO ID 44"} 
[2026-08-19 14:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505644544001,"power":27843,"unknown_143":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-1346998470649462784}} 
[2026-08-19 14:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":158859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:55:12] local.INFO: GPS data processed {"connection_id":158859,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:55:12] local.INFO: Acknowledgment sent {"connection_id":158859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:55:13] local.INFO: TCP Data received {"connection_id":160171,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019553650012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019553650012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:55:13] local.INFO: Processing buffer {"connection_id":160171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019553650012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:55:13] local.INFO: Packet analysis {"connection_id":160171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01955"} 
[2026-08-19 14:55:13] local.INFO: Extracted packet for processing {"connection_id":160171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01955"} 
[2026-08-19 14:55:13] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505635584001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:55:13] 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-08-19 14:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787131410000,"timestamp_ms":1787131410000,"timestamp_seconds":1787131410,"priority":1,"record_length":96,"hex_timestamp":"000001a019553650"} 
[2026-08-19 14:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 14:55:13] 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-08-19 14:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505635584001,"66":12406,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505635584001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:55:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:55:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505635584001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":160171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:55:13] local.INFO: GPS data processed {"connection_id":160171,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:55:13] local.INFO: Acknowledgment sent {"connection_id":160171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:55:14] local.INFO: TCP Data received {"connection_id":158859,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01955cac0012ced2e800713fd00001c01342c..."} 
[2026-08-19 14:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01955cac0012ced2e800713fd00001c01342c..."} 
[2026-08-19 14:55:14] local.INFO: Processing buffer {"connection_id":158859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01955cac0012ced2e800713fd00001c01342c..."} 
[2026-08-19 14:55:14] local.INFO: Packet analysis {"connection_id":158859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01955"} 
[2026-08-19 14:55:14] local.INFO: Extracted packet for processing {"connection_id":158859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01955"} 
[2026-08-19 14:55:14] local.INFO: GPS Element Parsed {"raw_longitude":753741440,"raw_latitude":118750464,"longitude_deg":75.374144,"latitude_deg":11.8750464,"altitude":28,"angle":308,"satellites":44,"speed":19,"hex_longitude":"2ced2e80","hex_latitude":"0713fd00","is_valid_coordinates":true} 
[2026-08-19 14:55: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-08-19 14:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505649920001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385965973334654976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:55:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1354387188787587072,"note":"Value kept but may cause issues"} 
[2026-08-19 14:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787131448000,"timestamp_ms":1787131448000,"timestamp_seconds":1787131448,"priority":1,"record_length":96,"hex_timestamp":"000001a01955cac0"} 
[2026-08-19 14:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:55:14] 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-08-19 14:55: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-08-19 14:55: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-08-19 14:55: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-08-19 14:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505649920001,"66":27800,"143":206,"2":54272,"24":19,"16":385965973334654976,"44":-1354387188787587072},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,2,24,16,44]} 
[2026-08-19 14:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505649920001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:55:14] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-19 14:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385965973334654976,"km_value":385965973334655.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:55:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1354387188787587072,"description":"Unknown IO ID 44"} 
[2026-08-19 14:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505649920001,"power":27800,"unknown_143":206,"power_alt":54272,"ignition":19,"odometer":null,"unknown_44":-1354387188787587072}} 
[2026-08-19 14:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":158859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:55:14] local.INFO: GPS data processed {"connection_id":158859,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:55:14] local.INFO: Acknowledgment sent {"connection_id":158859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:55:20] local.INFO: TCP Data received {"connection_id":157616,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01956c4c0012d099f0007025310000000fc07..."} 
[2026-08-19 14:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01956c4c0012d099f0007025310000000fc07..."} 
[2026-08-19 14:55:20] local.INFO: Processing buffer {"connection_id":157616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01956c4c0012d099f0007025310000000fc07..."} 
[2026-08-19 14:55:20] local.INFO: Packet analysis {"connection_id":157616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01956"} 
[2026-08-19 14:55:20] local.INFO: Extracted packet for processing {"connection_id":157616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01956"} 
[2026-08-19 14:55:20] local.INFO: GPS Element Parsed {"raw_longitude":755605248,"raw_latitude":117592848,"longitude_deg":75.5605248,"latitude_deg":11.7592848,"altitude":0,"angle":252,"satellites":7,"speed":37,"hex_longitude":"2d099f00","hex_latitude":"07025310","is_valid_coordinates":true} 
[2026-08-19 14:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505664768001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28823907775545344,"note":"Value kept but may cause issues"} 
[2026-08-19 14:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703757840624943104,"note":"Value kept but may cause issues"} 
[2026-08-19 14:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787131512000,"timestamp_ms":1787131512000,"timestamp_seconds":1787131512,"priority":1,"record_length":96,"hex_timestamp":"000001a01956c4c0"} 
[2026-08-19 14:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":103,"data_length":795,"current_offset":136} 
[2026-08-19 14:55: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-08-19 14: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-08-19 14:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 14:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 14:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 14:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 14:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505664768001,"66":14363,"19":206,"94":11008,"24":37,"16":28823907775545344,"45":703757840624943104},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 14:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 14:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 14:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505664768001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:55:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 14:55:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 14:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28823907775545344,"km_value":28823907775545.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":703757840624943104,"description":"Unknown IO ID 45"} 
[2026-08-19 14:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505664768001,"power":14363,"unknown_19":206,"unknown_94":11008,"ignition":37,"odometer":null,"unknown_45":703757840624943104}} 
[2026-08-19 14:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":157616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665163,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:55:20] local.INFO: GPS data processed {"connection_id":157616,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:55:20] local.INFO: Acknowledgment sent {"connection_id":157616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:55:45] local.INFO: TCP Data received {"connection_id":160171,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019558858012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019558858012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:55:45] local.INFO: Processing buffer {"connection_id":160171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019558858012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:55:45] local.INFO: Packet analysis {"connection_id":160171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01955"} 
[2026-08-19 14:55:45] local.INFO: Extracted packet for processing {"connection_id":160171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01955"} 
[2026-08-19 14:55:45] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505640960001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:55:45] 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-08-19 14:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787131431000,"timestamp_ms":1787131431000,"timestamp_seconds":1787131431,"priority":1,"record_length":96,"hex_timestamp":"000001a019558858"} 
[2026-08-19 14:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 14:55:45] 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-08-19 14:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505640960001,"66":12461,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505640960001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:55:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:55:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505640960001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":160171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:55:45] local.INFO: GPS data processed {"connection_id":160171,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:55:45] local.INFO: Acknowledgment sent {"connection_id":160171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:55:59] local.INFO: TCP Data received {"connection_id":160172,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:55:59] local.INFO: Processing buffer {"connection_id":160172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:55:59] local.INFO: IMEI packet received {"connection_id":160172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":160172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:56:04] local.INFO: TCP Data received {"connection_id":160172,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:56:04] local.INFO: Processing buffer {"connection_id":160172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:56:04] local.INFO: IMEI packet received {"connection_id":160172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":160172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:56:05] local.INFO: TCP Data received {"connection_id":158000,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 14:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158000,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 14:56:05] local.INFO: Processing buffer {"connection_id":158000,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 14:56:05] local.INFO: IMEI packet received {"connection_id":158000,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 14:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":158000,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:56:05] local.INFO: TCP Data received {"connection_id":158000,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 14:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158000,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 14:56:05] local.INFO: Processing buffer {"connection_id":158000,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 14:56:05] local.INFO: IMEI packet received {"connection_id":158000,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 14:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":158000,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:56:06] local.INFO: TCP Data received {"connection_id":160172,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01955d290012ced2c400713ff88001c013f2c..."} 
[2026-08-19 14:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01955d290012ced2c400713ff88001c013f2c..."} 
[2026-08-19 14:56:06] local.INFO: Processing buffer {"connection_id":160172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01955d290012ced2c400713ff88001c013f2c..."} 
[2026-08-19 14:56:06] local.INFO: Packet analysis {"connection_id":160172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01955"} 
[2026-08-19 14:56:06] local.INFO: Extracted packet for processing {"connection_id":160172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01955"} 
[2026-08-19 14:56:06] local.INFO: GPS Element Parsed {"raw_longitude":753740864,"raw_latitude":118751112,"longitude_deg":75.3740864,"latitude_deg":11.8751112,"altitude":28,"angle":319,"satellites":44,"speed":18,"hex_longitude":"2ced2c40","hex_latitude":"0713ff88","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505650688001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385966016284327936,"note":"Value kept but may cause issues"} 
[2026-08-19 14:56:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1356005669903466496,"note":"Value kept but may cause issues"} 
[2026-08-19 14:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787131450000,"timestamp_ms":1787131450000,"timestamp_seconds":1787131450,"priority":1,"record_length":96,"hex_timestamp":"000001a01955d290"} 
[2026-08-19 14:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:56: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-08-19 14:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 14:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505650688001,"66":27745,"143":206,"2":54272,"24":18,"16":385966016284327936,"44":-1356005669903466496},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,2,24,16,44]} 
[2026-08-19 14:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505650688001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:56:06] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-19 14:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385966016284327936,"km_value":385966016284327.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:56:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1356005669903466496,"description":"Unknown IO ID 44"} 
[2026-08-19 14:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505650688001,"power":27745,"unknown_143":206,"power_alt":54272,"ignition":18,"odometer":null,"unknown_44":-1356005669903466496}} 
[2026-08-19 14:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":160172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:56:06] local.INFO: GPS data processed {"connection_id":160172,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:56:06] local.INFO: Acknowledgment sent {"connection_id":160172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:56:06] local.INFO: TCP Data received {"connection_id":158000,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 14:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158000,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 14:56:06] local.INFO: Processing buffer {"connection_id":158000,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 14:56:06] local.INFO: IMEI packet received {"connection_id":158000,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 14:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":158000,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:56:07] local.INFO: TCP Data received {"connection_id":158000,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 14:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158000,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 14:56:07] local.INFO: Processing buffer {"connection_id":158000,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 14:56:07] local.INFO: IMEI packet received {"connection_id":158000,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 14:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":158000,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:56:08] local.INFO: TCP Data received {"connection_id":157618,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:56:08] local.INFO: Processing buffer {"connection_id":157618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:56:08] local.INFO: IMEI packet received {"connection_id":157618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":157618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:56:14] local.INFO: TCP Data received {"connection_id":157618,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:56:14] local.INFO: Processing buffer {"connection_id":157618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:56:14] local.INFO: IMEI packet received {"connection_id":157618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":157618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:56:15] local.INFO: TCP Data received {"connection_id":157618,"ip":"117.224.158.208","data_length":327,"data_hex":"000000000000013b8e04000001a01955da60012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157618,"packet_length":327,"packet_hex":"000000000000013b8e04000001a01955da60012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:56:15] local.INFO: Processing buffer {"connection_id":157618,"buffer_length":327,"buffer_hex":"000000000000013b8e04000001a01955da60012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:56:15] local.INFO: Packet analysis {"connection_id":157618,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000001a01955"} 
[2026-08-19 14:56:15] local.INFO: Extracted packet for processing {"connection_id":157618,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000001a01955"} 
[2026-08-19 14:56:15] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-08-19 14:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505646336001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:56: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-08-19 14:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787131452000,"timestamp_ms":1787131452000,"timestamp_seconds":1787131452,"priority":1,"record_length":96,"hex_timestamp":"000001a01955da60"} 
[2026-08-19 14:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:56: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-08-19 14:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":327,"current_offset":136} 
[2026-08-19 14:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:56:15] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157618,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-19 14:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505646336001,"66":12461,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505646336001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:56:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:56:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505646336001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":157618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:56:15] local.INFO: GPS data processed {"connection_id":157618,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:56:15] local.INFO: Acknowledgment sent {"connection_id":157618,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:56:37] local.INFO: TCP Data received {"connection_id":160172,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019574990012ced12c007142a70001e002031..."} 
[2026-08-19 14:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019574990012ced12c007142a70001e002031..."} 
[2026-08-19 14:56:37] local.INFO: Processing buffer {"connection_id":160172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019574990012ced12c007142a70001e002031..."} 
[2026-08-19 14:56:37] local.INFO: Packet analysis {"connection_id":160172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01957"} 
[2026-08-19 14:56:37] local.INFO: Extracted packet for processing {"connection_id":160172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01957"} 
[2026-08-19 14:56:37] local.INFO: GPS Element Parsed {"raw_longitude":753734336,"raw_latitude":118762096,"longitude_deg":75.3734336,"latitude_deg":11.8762096,"altitude":30,"angle":32,"satellites":49,"speed":21,"hex_longitude":"2ced12c0","hex_latitude":"07142a70","is_valid_coordinates":true} 
[2026-08-19 14:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505675520001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385966664824389632,"note":"Value kept but may cause issues"} 
[2026-08-19 14:56:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1364027706736865280,"note":"Value kept but may cause issues"} 
[2026-08-19 14:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787131546000,"timestamp_ms":1787131546000,"timestamp_seconds":1787131546,"priority":1,"record_length":96,"hex_timestamp":"000001a019574990"} 
[2026-08-19 14:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:56: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-08-19 14:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 14:56:37] 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-08-19 14:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505675520001,"66":27908,"143":206,"2":54272,"24":21,"16":385966664824389632,"44":-1364027706736865280},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,2,24,16,44]} 
[2026-08-19 14:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505675520001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:56:37] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-19 14:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385966664824389632,"km_value":385966664824389.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:56:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1364027706736865280,"description":"Unknown IO ID 44"} 
[2026-08-19 14:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505675520001,"power":27908,"unknown_143":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-1364027706736865280}} 
[2026-08-19 14:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":160172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:56:37] local.INFO: GPS data processed {"connection_id":160172,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:56:37] local.INFO: Acknowledgment sent {"connection_id":160172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:56:46] local.INFO: TCP Data received {"connection_id":157618,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019562c68012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019562c68012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:56:46] local.INFO: Processing buffer {"connection_id":157618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019562c68012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:56:46] local.INFO: Packet analysis {"connection_id":157618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01956"} 
[2026-08-19 14:56:46] local.INFO: Extracted packet for processing {"connection_id":157618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01956"} 
[2026-08-19 14:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505651712001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:56:46] 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-08-19 14:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787131473000,"timestamp_ms":1787131473000,"timestamp_seconds":1787131473,"priority":1,"record_length":96,"hex_timestamp":"000001a019562c68"} 
[2026-08-19 14:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:56: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-08-19 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 14:56:46] 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-08-19 14: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-08-19 14:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505651712001,"66":12113,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505651712001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:56:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:56:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505651712001,"power":12113,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":157618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:56:46] local.INFO: GPS data processed {"connection_id":157618,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:56:46] local.INFO: Acknowledgment sent {"connection_id":157618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:56:59] local.INFO: TCP Data received {"connection_id":158860,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:56:59] local.INFO: Processing buffer {"connection_id":158860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:56:59] local.INFO: IMEI packet received {"connection_id":158860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":158860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:57:01] local.INFO: TCP Data received {"connection_id":158860,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:57:01] local.INFO: Processing buffer {"connection_id":158860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:57:01] local.INFO: IMEI packet received {"connection_id":158860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":158860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:57:05] local.INFO: TCP Data received {"connection_id":158860,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:57:05] local.INFO: Processing buffer {"connection_id":158860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:57:05] local.INFO: IMEI packet received {"connection_id":158860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":158860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:57:08] local.INFO: TCP Data received {"connection_id":158860,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019575160012ced160007142dc0001f002e31..."} 
[2026-08-19 14:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019575160012ced160007142dc0001f002e31..."} 
[2026-08-19 14:57:08] local.INFO: Processing buffer {"connection_id":158860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019575160012ced160007142dc0001f002e31..."} 
[2026-08-19 14:57:08] local.INFO: Packet analysis {"connection_id":158860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01957"} 
[2026-08-19 14:57:08] local.INFO: Extracted packet for processing {"connection_id":158860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01957"} 
[2026-08-19 14:57:08] local.INFO: GPS Element Parsed {"raw_longitude":753735168,"raw_latitude":118762944,"longitude_deg":75.3735168,"latitude_deg":11.8762944,"altitude":31,"angle":46,"satellites":49,"speed":24,"hex_longitude":"2ced1600","hex_latitude":"07142dc0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505675776001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385966720658964480,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1363816600504209408,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787131548000,"timestamp_ms":1787131548000,"timestamp_seconds":1787131548,"priority":1,"record_length":96,"hex_timestamp":"000001a019575160"} 
[2026-08-19 14:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 14:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":158860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":158860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":158860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505675776001,"66":27887,"143":206,"2":54272,"24":24,"16":385966720658964480,"44":-1363816600504209408},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,2,24,16,44]} 
[2026-08-19 14:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505675776001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:57:08] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-19 14:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385966720658964480,"km_value":385966720658964.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:57:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1363816600504209408,"description":"Unknown IO ID 44"} 
[2026-08-19 14:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505675776001,"power":27887,"unknown_143":206,"power_alt":54272,"ignition":24,"odometer":null,"unknown_44":-1363816600504209408}} 
[2026-08-19 14:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":158860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:57:08] local.INFO: GPS data processed {"connection_id":158860,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:57:08] local.INFO: Acknowledgment sent {"connection_id":158860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:57:08] local.INFO: TCP Data received {"connection_id":158861,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:57:08] local.INFO: Processing buffer {"connection_id":158861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:57:08] local.INFO: IMEI packet received {"connection_id":158861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":158861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:57:11] local.INFO: TCP Data received {"connection_id":158860,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019575d18012ced1a80071432e8001e002130..."} 
[2026-08-19 14:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019575d18012ced1a80071432e8001e002130..."} 
[2026-08-19 14:57:11] local.INFO: Processing buffer {"connection_id":158860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019575d18012ced1a80071432e8001e002130..."} 
[2026-08-19 14:57:11] local.INFO: Packet analysis {"connection_id":158860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01957"} 
[2026-08-19 14:57:11] local.INFO: Extracted packet for processing {"connection_id":158860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01957"} 
[2026-08-19 14:57:11] local.INFO: GPS Element Parsed {"raw_longitude":753736320,"raw_latitude":118764264,"longitude_deg":75.373632,"latitude_deg":11.8764264,"altitude":30,"angle":33,"satellites":48,"speed":24,"hex_longitude":"2ced1a80","hex_latitude":"071432e8","is_valid_coordinates":true} 
[2026-08-19 14:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505676288001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385966806558310400,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1362901806829682688,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787131551000,"timestamp_ms":1787131551000,"timestamp_seconds":1787131551,"priority":1,"record_length":96,"hex_timestamp":"000001a019575d18"} 
[2026-08-19 14:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:57:11] 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-08-19 14:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 14:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505676288001,"66":27843,"143":206,"2":54272,"24":24,"16":385966806558310400,"44":-1362901806829682688},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,2,24,16,44]} 
[2026-08-19 14:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505676288001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:57:11] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-19 14:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385966806558310400,"km_value":385966806558310.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1362901806829682688,"description":"Unknown IO ID 44"} 
[2026-08-19 14:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505676288001,"power":27843,"unknown_143":206,"power_alt":54272,"ignition":24,"odometer":null,"unknown_44":-1362901806829682688}} 
[2026-08-19 14:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":158860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:57:11] local.INFO: GPS data processed {"connection_id":158860,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:57:11] local.INFO: Acknowledgment sent {"connection_id":158860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:57:12] local.INFO: TCP Data received {"connection_id":158861,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:57:12] local.INFO: Processing buffer {"connection_id":158861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:57:12] local.INFO: IMEI packet received {"connection_id":158861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":158861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:57:13] local.INFO: TCP Data received {"connection_id":158861,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:57:13] local.INFO: Processing buffer {"connection_id":158861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:57:13] local.INFO: IMEI packet received {"connection_id":158861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":158861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:57:14] local.INFO: TCP Data received {"connection_id":158861,"ip":"117.224.158.208","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a019..."} 
[2026-08-19 14:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158861,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a019..."} 
[2026-08-19 14:57:14] local.INFO: Processing buffer {"connection_id":158861,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a019..."} 
[2026-08-19 14:57:14] local.INFO: IMEI packet received {"connection_id":158861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":158861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:57:19] local.INFO: TCP Data received {"connection_id":158861,"ip":"117.224.158.208","data_length":327,"data_hex":"000000000000013b8e04000001a01956d078012d181d400721ad88004c00ce29..."} 
[2026-08-19 14:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158861,"packet_length":327,"packet_hex":"000000000000013b8e04000001a01956d078012d181d400721ad88004c00ce29..."} 
[2026-08-19 14:57:19] local.INFO: Processing buffer {"connection_id":158861,"buffer_length":1122,"buffer_hex":"000000000000030f8e0a000001a019567e70012d181d400721ad88004c00ce26..."} 
[2026-08-19 14:57:19] local.INFO: Packet analysis {"connection_id":158861,"data_field_length":783,"total_packet_length":795,"buffer_length":1122,"packet_hex_start":"000000000000030f8e0a000001a01956"} 
[2026-08-19 14:57:19] local.INFO: Extracted packet for processing {"connection_id":158861,"packet_length":795,"remaining_buffer_length":327,"packet_hex_start":"000000000000030f8e0a000001a01956"} 
[2026-08-19 14:57:19] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505657088001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:19] 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-08-19 14:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787131494000,"timestamp_ms":1787131494000,"timestamp_seconds":1787131494,"priority":1,"record_length":96,"hex_timestamp":"000001a019567e70"} 
[2026-08-19 14:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:57: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-08-19 14: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-19 14:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505657088001,"66":12461,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505657088001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:57:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:57:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505657088001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":158861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:57:19] local.INFO: GPS data processed {"connection_id":158861,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:57:19] local.INFO: Acknowledgment sent {"connection_id":158861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:57:19] local.INFO: Packet analysis {"connection_id":158861,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000001a01956"} 
[2026-08-19 14:57:19] local.INFO: Extracted packet for processing {"connection_id":158861,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000001a01956"} 
[2026-08-19 14:57:19] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14: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":327,"current_offset":40} 
[2026-08-19 14:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505662464001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:19] 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-08-19 14:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787131515000,"timestamp_ms":1787131515000,"timestamp_seconds":1787131515,"priority":1,"record_length":96,"hex_timestamp":"000001a01956d078"} 
[2026-08-19 14:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:57: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-08-19 14:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":327,"current_offset":136} 
[2026-08-19 14:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:57:19] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158861,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-19 14:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505662464001,"66":12428,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505662464001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:57:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:57:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505662464001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":158861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:57:19] local.INFO: GPS data processed {"connection_id":158861,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:57:19] local.INFO: Acknowledgment sent {"connection_id":158861,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:57:20] local.INFO: TCP Data received {"connection_id":158861,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019572280012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019572280012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:57:20] local.INFO: Processing buffer {"connection_id":158861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019572280012d181d400721ad88004c00ce28..."} 
[2026-08-19 14:57:20] local.INFO: Packet analysis {"connection_id":158861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01957"} 
[2026-08-19 14:57:20] local.INFO: Extracted packet for processing {"connection_id":158861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01957"} 
[2026-08-19 14:57:20] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505667840001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:20] 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-08-19 14:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787131536000,"timestamp_ms":1787131536000,"timestamp_seconds":1787131536,"priority":1,"record_length":96,"hex_timestamp":"000001a019572280"} 
[2026-08-19 14:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 14:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505667840001,"66":12428,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505667840001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:57:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:57:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505667840001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":158861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:57:20] local.INFO: GPS data processed {"connection_id":158861,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:57:20] local.INFO: Acknowledgment sent {"connection_id":158861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:57:45] local.INFO: TCP Data received {"connection_id":158860,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0195793c8012ced268007144bd0001d001630..."} 
[2026-08-19 14:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195793c8012ced268007144bd0001d001630..."} 
[2026-08-19 14:57:45] local.INFO: Processing buffer {"connection_id":158860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195793c8012ced268007144bd0001d001630..."} 
[2026-08-19 14:57:45] local.INFO: Packet analysis {"connection_id":158860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01957"} 
[2026-08-19 14:57:45] local.INFO: Extracted packet for processing {"connection_id":158860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01957"} 
[2026-08-19 14:57:45] local.INFO: GPS Element Parsed {"raw_longitude":753739392,"raw_latitude":118770640,"longitude_deg":75.3739392,"latitude_deg":11.877064,"altitude":29,"angle":22,"satellites":48,"speed":9,"hex_longitude":"2ced2680","hex_latitude":"07144bd0","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505677056001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385967145860726784,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1361635169434146816,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787131565000,"timestamp_ms":1787131565000,"timestamp_seconds":1787131565,"priority":1,"record_length":96,"hex_timestamp":"000001a0195793c8"} 
[2026-08-19 14:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:57:45] 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-08-19 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 14:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14: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-08-19 14:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505677056001,"66":28028,"143":206,"2":54272,"24":9,"16":385967145860726784,"44":-1361635169434146816},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,2,24,16,44]} 
[2026-08-19 14:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505677056001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:57:45] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-19 14:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385967145860726784,"km_value":385967145860726.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:57:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1361635169434146816,"description":"Unknown IO ID 44"} 
[2026-08-19 14:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505677056001,"power":28028,"unknown_143":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-1361635169434146816}} 
[2026-08-19 14:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":158860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:57:45] local.INFO: GPS data processed {"connection_id":158860,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:57:45] local.INFO: Acknowledgment sent {"connection_id":158860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:57:52] local.INFO: TCP Data received {"connection_id":158861,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019577488012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019577488012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:57:52] local.INFO: Processing buffer {"connection_id":158861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019577488012d181d400721ad88004c00ce2a..."} 
[2026-08-19 14:57:52] local.INFO: Packet analysis {"connection_id":158861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01957"} 
[2026-08-19 14:57:52] local.INFO: Extracted packet for processing {"connection_id":158861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01957"} 
[2026-08-19 14:57:52] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647624,"longitude_deg":75.6555072,"latitude_deg":11.9647624,"altitude":76,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-19 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-08-19 14:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505673216001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13765576342110208,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608848896,"note":"Value kept but may cause issues"} 
[2026-08-19 14:57:52] 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-08-19 14:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787131557000,"timestamp_ms":1787131557000,"timestamp_seconds":1787131557,"priority":1,"record_length":96,"hex_timestamp":"000001a019577488"} 
[2026-08-19 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-08-19 14:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 14:57:52] 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-08-19 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-08-19 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-08-19 14:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":158861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":158861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":158861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505673216001,"66":12743,"120":206,"28":31744,"24":0,"16":13765576342110208,"45":1737615430608848896},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-19 14:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505673216001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:57:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 14:57:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13765576342110208,"km_value":13765576342110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608848896,"description":"Unknown IO ID 45"} 
[2026-08-19 14:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505673216001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608848896}} 
[2026-08-19 14:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":158861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:57:52] local.INFO: GPS data processed {"connection_id":158861,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:57:52] local.INFO: Acknowledgment sent {"connection_id":158861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:57:59] local.INFO: TCP Data received {"connection_id":158862,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:57:59] local.INFO: Processing buffer {"connection_id":158862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:57:59] local.INFO: IMEI packet received {"connection_id":158862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":158862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:58:04] local.INFO: TCP Data received {"connection_id":158862,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:58:04] local.INFO: Processing buffer {"connection_id":158862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:58:04] local.INFO: IMEI packet received {"connection_id":158862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":158862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:58:05] local.INFO: TCP Data received {"connection_id":158862,"ip":"117.224.24.81","data_length":405,"data_hex":"00000000000001898e05000001a01957da18012ced35c007146b68001e001330..."} 
[2026-08-19 14:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158862,"packet_length":405,"packet_hex":"00000000000001898e05000001a01957da18012ced35c007146b68001e001330..."} 
[2026-08-19 14:58:05] local.INFO: Processing buffer {"connection_id":158862,"buffer_length":405,"buffer_hex":"00000000000001898e05000001a01957da18012ced35c007146b68001e001330..."} 
[2026-08-19 14:58:05] local.INFO: Packet analysis {"connection_id":158862,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e05000001a01957"} 
[2026-08-19 14:58:05] local.INFO: Extracted packet for processing {"connection_id":158862,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e05000001a01957"} 
[2026-08-19 14:58:05] local.INFO: GPS Element Parsed {"raw_longitude":753743296,"raw_latitude":118778728,"longitude_deg":75.3743296,"latitude_deg":11.8778728,"altitude":30,"angle":19,"satellites":48,"speed":28,"hex_longitude":"2ced35c0","hex_latitude":"07146b68","is_valid_coordinates":true} 
[2026-08-19 14: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":405,"current_offset":40} 
[2026-08-19 14:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505680640001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385967583947390976,"note":"Value kept but may cause issues"} 
[2026-08-19 14:58:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1358257469711986688,"note":"Value kept but may cause issues"} 
[2026-08-19 14:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787131583000,"timestamp_ms":1787131583000,"timestamp_seconds":1787131583,"priority":1,"record_length":96,"hex_timestamp":"000001a01957da18"} 
[2026-08-19 14:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":109,"n8_eight_byte":124,"data_length":405,"current_offset":136} 
[2026-08-19 14:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:58:05] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158862,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-19 14:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505680640001,"66":27908,"143":206,"2":54272,"24":28,"16":385967583947390976,"44":-1358257469711986688},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,2,24,16,44]} 
[2026-08-19 14:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505680640001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:58:05] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-19 14:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385967583947390976,"km_value":385967583947391.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:58:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1358257469711986688,"description":"Unknown IO ID 44"} 
[2026-08-19 14:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505680640001,"power":27908,"unknown_143":206,"power_alt":54272,"ignition":28,"odometer":null,"unknown_44":-1358257469711986688}} 
[2026-08-19 14:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":158862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:58:05] local.INFO: GPS data processed {"connection_id":158862,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:58:05] local.INFO: Acknowledgment sent {"connection_id":158862,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:58:14] local.INFO: TCP Data received {"connection_id":160173,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:58:14] local.INFO: Processing buffer {"connection_id":160173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:58:14] local.INFO: IMEI packet received {"connection_id":160173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":160173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:58:15] local.INFO: TCP Data received {"connection_id":160173,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:58:15] local.INFO: Processing buffer {"connection_id":160173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:58:15] local.INFO: IMEI packet received {"connection_id":160173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":160173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:58:17] local.INFO: TCP Data received {"connection_id":160173,"ip":"117.224.158.208","data_length":327,"data_hex":"000000000000013b8e04000001a01958d800012d18644007218240004f006824..."} 
[2026-08-19 14:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160173,"packet_length":327,"packet_hex":"000000000000013b8e04000001a01958d800012d18644007218240004f006824..."} 
[2026-08-19 14:58:17] local.INFO: Processing buffer {"connection_id":160173,"buffer_length":327,"buffer_hex":"000000000000013b8e04000001a01958d800012d18644007218240004f006824..."} 
[2026-08-19 14:58:17] local.INFO: Packet analysis {"connection_id":160173,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000001a01958"} 
[2026-08-19 14:58:17] local.INFO: Extracted packet for processing {"connection_id":160173,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000001a01958"} 
[2026-08-19 14:58:17] local.INFO: GPS Element Parsed {"raw_longitude":756573248,"raw_latitude":119636544,"longitude_deg":75.6573248,"latitude_deg":11.9636544,"altitude":79,"angle":104,"satellites":36,"speed":37,"hex_longitude":"2d186440","hex_latitude":"07218240","is_valid_coordinates":true} 
[2026-08-19 14: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":327,"current_offset":40} 
[2026-08-19 14:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505701120001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13766632904065024,"note":"Value kept but may cause issues"} 
[2026-08-19 14:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754574297953110016,"note":"Value kept but may cause issues"} 
[2026-08-19 14:58: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-08-19 14:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787131648000,"timestamp_ms":1787131648000,"timestamp_seconds":1787131648,"priority":1,"record_length":96,"hex_timestamp":"000001a01958d800"} 
[2026-08-19 14:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:58: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-08-19 14: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":55,"n8_eight_byte":109,"data_length":327,"current_offset":136} 
[2026-08-19 14:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:58:17] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160173,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-08-19 14:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505701120001,"66":14243,"121":206,"28":31744,"24":37,"16":13766632904065024,"45":1754574297953110016},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505701120001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:58:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:58:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13766632904065024,"km_value":13766632904065.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754574297953110016,"description":"Unknown IO ID 45"} 
[2026-08-19 14:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505701120001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1754574297953110016}} 
[2026-08-19 14:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":160173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:58:17] local.INFO: GPS data processed {"connection_id":160173,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:58:17] local.INFO: Acknowledgment sent {"connection_id":160173,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:58:19] local.INFO: TCP Data received {"connection_id":160173,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01958dfd0012d186b8007218160004f005c24..."} 
[2026-08-19 14:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01958dfd0012d186b8007218160004f005c24..."} 
[2026-08-19 14:58:19] local.INFO: Processing buffer {"connection_id":160173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01958dfd0012d186b8007218160004f005c24..."} 
[2026-08-19 14:58:19] local.INFO: Packet analysis {"connection_id":160173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01958"} 
[2026-08-19 14:58:19] local.INFO: Extracted packet for processing {"connection_id":160173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01958"} 
[2026-08-19 14:58:19] local.INFO: GPS Element Parsed {"raw_longitude":756575104,"raw_latitude":119636320,"longitude_deg":75.6575104,"latitude_deg":11.963632,"altitude":79,"angle":92,"satellites":36,"speed":38,"hex_longitude":"2d186b80","hex_latitude":"07218160","is_valid_coordinates":true} 
[2026-08-19 14:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505701888001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13766723098378240,"note":"Value kept but may cause issues"} 
[2026-08-19 14:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757600153952468992,"note":"Value kept but may cause issues"} 
[2026-08-19 14:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787131650000,"timestamp_ms":1787131650000,"timestamp_seconds":1787131650,"priority":1,"record_length":96,"hex_timestamp":"000001a01958dfd0"} 
[2026-08-19 14:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:58: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-08-19 14:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-19 14:58:19] 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-08-19 14:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505701888001,"66":14004,"121":206,"28":31744,"24":38,"16":13766723098378240,"45":1757600153952468992},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505701888001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:58:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:58:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13766723098378240,"km_value":13766723098378.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757600153952468992,"description":"Unknown IO ID 45"} 
[2026-08-19 14:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505701888001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1757600153952468992}} 
[2026-08-19 14:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":160173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:58:19] local.INFO: GPS data processed {"connection_id":160173,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:58:19] local.INFO: Acknowledgment sent {"connection_id":160173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:58:38] local.INFO: TCP Data received {"connection_id":158862,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01957f958012ced3d4007148238001e00082c..."} 
[2026-08-19 14:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01957f958012ced3d4007148238001e00082c..."} 
[2026-08-19 14:58:38] local.INFO: Processing buffer {"connection_id":158862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01957f958012ced3d4007148238001e00082c..."} 
[2026-08-19 14:58:38] local.INFO: Packet analysis {"connection_id":158862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01957"} 
[2026-08-19 14:58:38] local.INFO: Extracted packet for processing {"connection_id":158862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01957"} 
[2026-08-19 14:58:38] local.INFO: GPS Element Parsed {"raw_longitude":753745216,"raw_latitude":118784568,"longitude_deg":75.3745216,"latitude_deg":11.8784568,"altitude":30,"angle":8,"satellites":44,"speed":25,"hex_longitude":"2ced3d40","hex_latitude":"07148238","is_valid_coordinates":true} 
[2026-08-19 14: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-08-19 14:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505685248001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385967880300134400,"note":"Value kept but may cause issues"} 
[2026-08-19 14:58:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1353964976315078656,"note":"Value kept but may cause issues"} 
[2026-08-19 14:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787131591000,"timestamp_ms":1787131591000,"timestamp_seconds":1787131591,"priority":1,"record_length":96,"hex_timestamp":"000001a01957f958"} 
[2026-08-19 14:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 14:58:38] 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-08-19 14: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-08-19 14:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505685248001,"66":27974,"143":206,"2":54272,"24":25,"16":385967880300134400,"44":-1353964976315078656},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,2,24,16,44]} 
[2026-08-19 14:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505685248001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:58:38] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-19 14:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385967880300134400,"km_value":385967880300134.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:58:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1353964976315078656,"description":"Unknown IO ID 44"} 
[2026-08-19 14:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505685248001,"power":27974,"unknown_143":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-1353964976315078656}} 
[2026-08-19 14:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":158862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:58:38] local.INFO: GPS data processed {"connection_id":158862,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:58:38] local.INFO: Acknowledgment sent {"connection_id":158862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:58:52] local.INFO: TCP Data received {"connection_id":160173,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01958fb28012d1886c007218068004d006924..."} 
[2026-08-19 14:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01958fb28012d1886c007218068004d006924..."} 
[2026-08-19 14:58:52] local.INFO: Processing buffer {"connection_id":160173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01958fb28012d1886c007218068004d006924..."} 
[2026-08-19 14:58:52] local.INFO: Packet analysis {"connection_id":160173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01958"} 
[2026-08-19 14:58:52] local.INFO: Extracted packet for processing {"connection_id":160173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01958"} 
[2026-08-19 14:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756582080,"raw_latitude":119636072,"longitude_deg":75.658208,"latitude_deg":11.9636072,"altitude":77,"angle":105,"satellites":36,"speed":40,"hex_longitude":"2d1886c0","hex_latitude":"07218068","is_valid_coordinates":true} 
[2026-08-19 14:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505702400001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13767058105827328,"note":"Value kept but may cause issues"} 
[2026-08-19 14:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759640847533563904,"note":"Value kept but may cause issues"} 
[2026-08-19 14:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787131657000,"timestamp_ms":1787131657000,"timestamp_seconds":1787131657,"priority":1,"record_length":96,"hex_timestamp":"000001a01958fb28"} 
[2026-08-19 14:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 14:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505702400001,"66":13319,"121":206,"28":31744,"24":40,"16":13767058105827328,"45":1759640847533563904},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505702400001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:58:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:58:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13767058105827328,"km_value":13767058105827.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759640847533563904,"description":"Unknown IO ID 45"} 
[2026-08-19 14:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505702400001,"power":13319,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1759640847533563904}} 
[2026-08-19 14:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":160173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:58:52] local.INFO: GPS data processed {"connection_id":160173,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:58:52] local.INFO: Acknowledgment sent {"connection_id":160173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:58:59] local.INFO: TCP Data received {"connection_id":157619,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:58:59] local.INFO: Processing buffer {"connection_id":157619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:58:59] local.INFO: IMEI packet received {"connection_id":157619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":157619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:59:04] local.INFO: TCP Data received {"connection_id":157619,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:59:04] local.INFO: Processing buffer {"connection_id":157619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:59:04] local.INFO: IMEI packet received {"connection_id":157619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 14:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":157619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:59:05] local.INFO: TCP Data received {"connection_id":157619,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0195814b0012ced3e4007149520001d016530..."} 
[2026-08-19 14:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195814b0012ced3e4007149520001d016530..."} 
[2026-08-19 14:59:05] local.INFO: Processing buffer {"connection_id":157619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195814b0012ced3e4007149520001d016530..."} 
[2026-08-19 14:59:05] local.INFO: Packet analysis {"connection_id":157619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01958"} 
[2026-08-19 14:59:05] local.INFO: Extracted packet for processing {"connection_id":157619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01958"} 
[2026-08-19 14:59:05] local.INFO: GPS Element Parsed {"raw_longitude":753745472,"raw_latitude":118789408,"longitude_deg":75.3745472,"latitude_deg":11.8789408,"altitude":29,"angle":357,"satellites":48,"speed":28,"hex_longitude":"2ced3e40","hex_latitude":"07149520","is_valid_coordinates":true} 
[2026-08-19 14:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505687296001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385968116523335680,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1351853913988253696,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787131598000,"timestamp_ms":1787131598000,"timestamp_seconds":1787131598,"priority":1,"record_length":96,"hex_timestamp":"000001a0195814b0"} 
[2026-08-19 14:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 14:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 14:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505687296001,"66":27865,"87":206,"2":54272,"24":28,"16":385968116523335680,"44":-1351853913988253696},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 14:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505687296001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:59:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 14:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385968116523335680,"km_value":385968116523335.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:59:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1351853913988253696,"description":"Unknown IO ID 44"} 
[2026-08-19 14:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505687296001,"power":27865,"unknown_87":206,"power_alt":54272,"ignition":28,"odometer":null,"unknown_44":-1351853913988253696}} 
[2026-08-19 14:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":157619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:59:05] local.INFO: GPS data processed {"connection_id":157619,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:59:05] local.INFO: Acknowledgment sent {"connection_id":157619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:59:09] local.INFO: TCP Data received {"connection_id":157620,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:59:09] local.INFO: Processing buffer {"connection_id":157620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:59:09] local.INFO: IMEI packet received {"connection_id":157620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 14:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":157620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 14:59:10] local.INFO: TCP Data received {"connection_id":157620,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:59:10] local.INFO: Processing buffer {"connection_id":157620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 14:59:10] local.INFO: IMEI packet received {"connection_id":157620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 14:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":157620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 14:59:11] local.INFO: TCP Data received {"connection_id":157620,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019592620012d18a84007217420004d006c24..."} 
[2026-08-19 14:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019592620012d18a84007217420004d006c24..."} 
[2026-08-19 14:59:11] local.INFO: Processing buffer {"connection_id":157620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019592620012d18a84007217420004d006c24..."} 
[2026-08-19 14:59:11] local.INFO: Packet analysis {"connection_id":157620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01959"} 
[2026-08-19 14:59:11] local.INFO: Extracted packet for processing {"connection_id":157620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01959"} 
[2026-08-19 14:59:11] local.INFO: GPS Element Parsed {"raw_longitude":756590656,"raw_latitude":119632928,"longitude_deg":75.6590656,"latitude_deg":11.9632928,"altitude":77,"angle":108,"satellites":36,"speed":29,"hex_longitude":"2d18a840","hex_latitude":"07217420","is_valid_coordinates":true} 
[2026-08-19 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-08-19 14:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505704192001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13767491897524224,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767311040648865792,"note":"Value kept but may cause issues"} 
[2026-08-19 14: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-08-19 14:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787131668000,"timestamp_ms":1787131668000,"timestamp_seconds":1787131668,"priority":1,"record_length":96,"hex_timestamp":"000001a019592620"} 
[2026-08-19 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-08-19 14:59: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-08-19 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 14:59:11] local.WARNING: Large IO value detected {"io_id":232,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:11] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-6615787534769773568,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 14:59:11] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:11] local.WARNING: Large IO value detected {"io_id":55,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:11] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3891986432,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:11] local.WARNING: Large IO value detected {"io_id":88,"raw_value":7964617234194808839,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:11] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,233,160,223,45,128,129,79,36,10,66,232,216,64,130,204,1,240,109,25,33,4,113,205,29,141,43,112,32,239,55,2,48,7,74,8,88],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 14:59:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548550344262811648,"timestamp_seconds":5548550344262812.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 14:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505704192001,"66":13972,"121":206,"28":31744,"24":29,"16":13767491897524224,"45":1767311040648865792},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505704192001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:59:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:59:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13767491897524224,"km_value":13767491897524.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767311040648865792,"description":"Unknown IO ID 45"} 
[2026-08-19 14:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505704192001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1767311040648865792}} 
[2026-08-19 14:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":157620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:59:11] local.INFO: GPS data processed {"connection_id":157620,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:59:11] local.INFO: Acknowledgment sent {"connection_id":157620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:59:13] local.INFO: TCP Data received {"connection_id":157620,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019592df0012d18ad0007217190004c007f24..."} 
[2026-08-19 14:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019592df0012d18ad0007217190004c007f24..."} 
[2026-08-19 14:59:13] local.INFO: Processing buffer {"connection_id":157620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019592df0012d18ad0007217190004c007f24..."} 
[2026-08-19 14:59:13] local.INFO: Packet analysis {"connection_id":157620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01959"} 
[2026-08-19 14:59:13] local.INFO: Extracted packet for processing {"connection_id":157620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01959"} 
[2026-08-19 14:59:13] local.INFO: GPS Element Parsed {"raw_longitude":756591872,"raw_latitude":119632272,"longitude_deg":75.6591872,"latitude_deg":11.9632272,"altitude":76,"angle":127,"satellites":36,"speed":29,"hex_longitude":"2d18ad00","hex_latitude":"07217190","is_valid_coordinates":true} 
[2026-08-19 14:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505707008001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13767556322033664,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776740452367867904,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59: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-08-19 14:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787131670000,"timestamp_ms":1787131670000,"timestamp_seconds":1787131670,"priority":1,"record_length":96,"hex_timestamp":"000001a019592df0"} 
[2026-08-19 14:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-19 14:59:13] 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-08-19 14:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505707008001,"66":13167,"121":206,"28":31744,"24":29,"16":13767556322033664,"45":1776740452367867904},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505707008001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:59:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:59:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13767556322033664,"km_value":13767556322033.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776740452367867904,"description":"Unknown IO ID 45"} 
[2026-08-19 14:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505707008001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1776740452367867904}} 
[2026-08-19 14:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":157620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:59:13] local.INFO: GPS data processed {"connection_id":157620,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:59:13] local.INFO: Acknowledgment sent {"connection_id":157620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:59:37] local.INFO: TCP Data received {"connection_id":157619,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019584b60012ced3c800714b098001b01572c..."} 
[2026-08-19 14:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019584b60012ced3c800714b098001b01572c..."} 
[2026-08-19 14:59:37] local.INFO: Processing buffer {"connection_id":157619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019584b60012ced3c800714b098001b01572c..."} 
[2026-08-19 14:59:37] local.INFO: Packet analysis {"connection_id":157619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01958"} 
[2026-08-19 14:59:37] local.INFO: Extracted packet for processing {"connection_id":157619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01958"} 
[2026-08-19 14:59:37] local.INFO: GPS Element Parsed {"raw_longitude":753745024,"raw_latitude":118796440,"longitude_deg":75.3745024,"latitude_deg":11.879644,"altitude":27,"angle":343,"satellites":44,"speed":25,"hex_longitude":"2ced3c80","hex_latitude":"0714b098","is_valid_coordinates":true} 
[2026-08-19 14:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505689088001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385968460120719360,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1351572439010304000,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 14:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787131612000,"timestamp_ms":1787131612000,"timestamp_seconds":1787131612,"priority":1,"record_length":96,"hex_timestamp":"000001a019584b60"} 
[2026-08-19 14:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:59: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-08-19 14:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 14:59:37] 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-08-19 14:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 14:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 14:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 14:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505689088001,"66":27919,"87":206,"2":54272,"24":25,"16":385968460120719360,"44":-1351572439010304000},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 14:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 14:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 14:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505689088001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:59:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 14:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385968460120719360,"km_value":385968460120719.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:59:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1351572439010304000,"description":"Unknown IO ID 44"} 
[2026-08-19 14:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505689088001,"power":27919,"unknown_87":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-1351572439010304000}} 
[2026-08-19 14:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":157619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:59:37] local.INFO: GPS data processed {"connection_id":157619,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:59:37] local.INFO: Acknowledgment sent {"connection_id":157619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:59:44] local.INFO: TCP Data received {"connection_id":157620,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0195a3b78012d18cac00720f128002f00a625..."} 
[2026-08-19 14:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195a3b78012d18cac00720f128002f00a625..."} 
[2026-08-19 14:59:44] local.INFO: Processing buffer {"connection_id":157620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195a3b78012d18cac00720f128002f00a625..."} 
[2026-08-19 14:59:44] local.INFO: Packet analysis {"connection_id":157620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195a"} 
[2026-08-19 14:59:44] local.INFO: Extracted packet for processing {"connection_id":157620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195a"} 
[2026-08-19 14:59:44] local.INFO: GPS Element Parsed {"raw_longitude":756599488,"raw_latitude":119599400,"longitude_deg":75.6599488,"latitude_deg":11.95994,"altitude":47,"angle":166,"satellites":37,"speed":12,"hex_longitude":"2d18cac0","hex_latitude":"0720f128","is_valid_coordinates":true} 
[2026-08-19 14:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 14:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505724672001,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13769394568036352,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786380970311798784,"note":"Value kept but may cause issues"} 
[2026-08-19 14:59: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-08-19 14:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787131739000,"timestamp_ms":1787131739000,"timestamp_seconds":1787131739,"priority":1,"record_length":96,"hex_timestamp":"000001a0195a3b78"} 
[2026-08-19 14:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 14:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 14:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 14:59: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-08-19 14:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 14:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 14:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 14:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 14:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 14:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 14:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 14:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 14:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505724672001,"66":14396,"121":206,"28":31744,"24":12,"16":13769394568036352,"45":1786380970311798784},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 14:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 14:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 14:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505724672001,"description":"Unknown IO ID 0"} 
[2026-08-19 14:59:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 14:59:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 14:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13769394568036352,"km_value":13769394568036.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 14:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786380970311798784,"description":"Unknown IO ID 45"} 
[2026-08-19 14:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505724672001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1786380970311798784}} 
[2026-08-19 14:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":157620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 14:59:44] local.INFO: GPS data processed {"connection_id":157620,"processed":1,"errors":0,"total":1} 
[2026-08-19 14:59:44] local.INFO: Acknowledgment sent {"connection_id":157620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 14:59:59] local.INFO: TCP Data received {"connection_id":157621,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:59:59] local.INFO: Processing buffer {"connection_id":157621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 14:59:59] local.INFO: IMEI packet received {"connection_id":157621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 14:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":157621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:00:04] local.INFO: TCP Data received {"connection_id":157621,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:00:04] local.INFO: Processing buffer {"connection_id":157621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:00:04] local.INFO: IMEI packet received {"connection_id":157621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":157621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:00:06] local.INFO: TCP Data received {"connection_id":157621,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019587e28012ced32c00714d440001d01562a..."} 
[2026-08-19 15:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019587e28012ced32c00714d440001d01562a..."} 
[2026-08-19 15:00:06] local.INFO: Processing buffer {"connection_id":157621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019587e28012ced32c00714d440001d01562a..."} 
[2026-08-19 15:00:06] local.INFO: Packet analysis {"connection_id":157621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01958"} 
[2026-08-19 15:00:06] local.INFO: Extracted packet for processing {"connection_id":157621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01958"} 
[2026-08-19 15:00:06] local.INFO: GPS Element Parsed {"raw_longitude":753742528,"raw_latitude":118805568,"longitude_deg":75.3742528,"latitude_deg":11.8805568,"altitude":29,"angle":342,"satellites":42,"speed":29,"hex_longitude":"2ced32c0","hex_latitude":"0714d440","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505692672001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385968919682220032,"note":"Value kept but may cause issues"} 
[2026-08-19 15:00:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1352065020217747456,"note":"Value kept but may cause issues"} 
[2026-08-19 15:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787131625000,"timestamp_ms":1787131625000,"timestamp_seconds":1787131625,"priority":1,"record_length":96,"hex_timestamp":"000001a019587e28"} 
[2026-08-19 15:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:00: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-08-19 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 15:00:06] 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-08-19 15: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-08-19 15:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505692672001,"66":27767,"87":206,"2":54272,"24":29,"16":385968919682220032,"44":-1352065020217747456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 15:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505692672001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:00:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 15:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385968919682220032,"km_value":385968919682220.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:00:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1352065020217747456,"description":"Unknown IO ID 44"} 
[2026-08-19 15:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505692672001,"power":27767,"unknown_87":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-1352065020217747456}} 
[2026-08-19 15:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":157621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:00:06] local.INFO: GPS data processed {"connection_id":157621,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:00:06] local.INFO: Acknowledgment sent {"connection_id":157621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:00:13] local.INFO: TCP Data received {"connection_id":158001,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:00:13] local.INFO: Processing buffer {"connection_id":158001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:00:13] local.INFO: IMEI packet received {"connection_id":158001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":158001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:00:14] local.INFO: TCP Data received {"connection_id":158001,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:00:14] local.INFO: Processing buffer {"connection_id":158001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:00:14] local.INFO: IMEI packet received {"connection_id":158001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":158001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:00:20] local.INFO: TCP Data received {"connection_id":158001,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:00:20] local.INFO: Processing buffer {"connection_id":158001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:00:20] local.INFO: IMEI packet received {"connection_id":158001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":158001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:00:21] local.INFO: TCP Data received {"connection_id":158001,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0195a4348012d18ca800720ef08002f00c025..."} 
[2026-08-19 15:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195a4348012d18ca800720ef08002f00c025..."} 
[2026-08-19 15:00:21] local.INFO: Processing buffer {"connection_id":158001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195a4348012d18ca800720ef08002f00c025..."} 
[2026-08-19 15:00:21] local.INFO: Packet analysis {"connection_id":158001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195a"} 
[2026-08-19 15:00:21] local.INFO: Extracted packet for processing {"connection_id":158001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195a"} 
[2026-08-19 15:00:21] local.INFO: GPS Element Parsed {"raw_longitude":756599424,"raw_latitude":119598856,"longitude_deg":75.6599424,"latitude_deg":11.9598856,"altitude":47,"angle":192,"satellites":37,"speed":11,"hex_longitude":"2d18ca80","hex_latitude":"0720ef08","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505725184001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13769420337840128,"note":"Value kept but may cause issues"} 
[2026-08-19 15:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786451339055802368,"note":"Value kept but may cause issues"} 
[2026-08-19 15:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787131741000,"timestamp_ms":1787131741000,"timestamp_seconds":1787131741,"priority":1,"record_length":96,"hex_timestamp":"000001a0195a4348"} 
[2026-08-19 15:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:00: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-08-19 15:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 15:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":158001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":158001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":158001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505725184001,"66":14341,"121":206,"28":31744,"24":11,"16":13769420337840128,"45":1786451339055802368},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505725184001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:00:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:00:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13769420337840128,"km_value":13769420337840.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786451339055802368,"description":"Unknown IO ID 45"} 
[2026-08-19 15:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505725184001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1786451339055802368}} 
[2026-08-19 15:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":158001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:00:21] local.INFO: GPS data processed {"connection_id":158001,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:00:21] local.INFO: Acknowledgment sent {"connection_id":158001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:00:24] local.INFO: TCP Data received {"connection_id":158001,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0195a4730012d18ca000720ee00002e00cb25..."} 
[2026-08-19 15:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195a4730012d18ca000720ee00002e00cb25..."} 
[2026-08-19 15:00:24] local.INFO: Processing buffer {"connection_id":158001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195a4730012d18ca000720ee00002e00cb25..."} 
[2026-08-19 15:00:24] local.INFO: Packet analysis {"connection_id":158001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195a"} 
[2026-08-19 15:00:24] local.INFO: Extracted packet for processing {"connection_id":158001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195a"} 
[2026-08-19 15:00:24] local.INFO: GPS Element Parsed {"raw_longitude":756599296,"raw_latitude":119598592,"longitude_deg":75.6599296,"latitude_deg":11.9598592,"altitude":46,"angle":203,"satellites":37,"speed":13,"hex_longitude":"2d18ca00","hex_latitude":"0720ee00","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505725696001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13769433222742016,"note":"Value kept but may cause issues"} 
[2026-08-19 15:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786380970311485440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:00: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-08-19 15:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787131742000,"timestamp_ms":1787131742000,"timestamp_seconds":1787131742,"priority":1,"record_length":96,"hex_timestamp":"000001a0195a4730"} 
[2026-08-19 15:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 15:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6980983277,"note":"Value kept but may cause issues"} 
[2026-08-19 15:00:24] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503809728249856,"note":"Value kept but may cause issues"} 
[2026-08-19 15:00:24] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3942645760,"note":"Value kept but may cause issues"} 
[2026-08-19 15:00:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1074209025,"corrected_to":0} 
[2026-08-19 15:00:24] local.WARNING: Large IO value detected {"io_id":8,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-08-19 15:00:24] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84751266802508034,"note":"Value kept but may cause issues"} 
[2026-08-19 15:00:24] local.WARNING: Large IO value detected {"io_id":248,"raw_value":16608162429797632,"note":"Value kept but may cause issues"} 
[2026-08-19 15:00:24] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,235,160,59,45,192,47,37,10,66,51,128,243,48,1,240,218,25,33,4,113,205,9,8,176,38,239,56,2,7,55,11,206,88,248],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1074209025,"validated":0}]} 
[2026-08-19 15:00:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386918184929656832,"timestamp_seconds":3386918184929657.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 15:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505725696001,"66":14341,"121":206,"28":31744,"24":13,"16":13769433222742016,"45":1786380970311485440},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505725696001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:00:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:00:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13769433222742016,"km_value":13769433222742.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786380970311485440,"description":"Unknown IO ID 45"} 
[2026-08-19 15:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505725696001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1786380970311485440}} 
[2026-08-19 15:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":158001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:00:24] local.INFO: GPS data processed {"connection_id":158001,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:00:24] local.INFO: Acknowledgment sent {"connection_id":158001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:00:37] local.INFO: TCP Data received {"connection_id":157621,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01958a920012ced27c00714f848001f015a2c..."} 
[2026-08-19 15:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01958a920012ced27c00714f848001f015a2c..."} 
[2026-08-19 15:00:37] local.INFO: Processing buffer {"connection_id":157621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01958a920012ced27c00714f848001f015a2c..."} 
[2026-08-19 15:00:37] local.INFO: Packet analysis {"connection_id":157621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01958"} 
[2026-08-19 15:00:37] local.INFO: Extracted packet for processing {"connection_id":157621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01958"} 
[2026-08-19 15:00:37] local.INFO: GPS Element Parsed {"raw_longitude":753739712,"raw_latitude":118814792,"longitude_deg":75.3739712,"latitude_deg":11.8814792,"altitude":31,"angle":346,"satellites":44,"speed":40,"hex_longitude":"2ced27c0","hex_latitude":"0714f848","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505696000001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385969387833655296,"note":"Value kept but may cause issues"} 
[2026-08-19 15:00:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1354809401238339584,"note":"Value kept but may cause issues"} 
[2026-08-19 15:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787131636000,"timestamp_ms":1787131636000,"timestamp_seconds":1787131636,"priority":1,"record_length":96,"hex_timestamp":"000001a01958a920"} 
[2026-08-19 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-08-19 15:00: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-08-19 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 15:00:37] 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-08-19 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-08-19 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-08-19 15:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505696000001,"66":27995,"87":206,"2":54272,"24":40,"16":385969387833655296,"44":-1354809401238339584},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 15:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505696000001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:00:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 15:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385969387833655296,"km_value":385969387833655.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:00:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1354809401238339584,"description":"Unknown IO ID 44"} 
[2026-08-19 15:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505696000001,"power":27995,"unknown_87":206,"power_alt":54272,"ignition":40,"odometer":null,"unknown_44":-1354809401238339584}} 
[2026-08-19 15:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":157621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:00:37] local.INFO: GPS data processed {"connection_id":157621,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:00:37] local.INFO: Acknowledgment sent {"connection_id":157621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:01:04] local.INFO: TCP Data received {"connection_id":157622,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:01:04] local.INFO: Processing buffer {"connection_id":157622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:01:04] local.INFO: IMEI packet received {"connection_id":157622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":157622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:01:08] local.INFO: TCP Data received {"connection_id":157622,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:01:08] local.INFO: Processing buffer {"connection_id":157622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:01:08] local.INFO: IMEI packet received {"connection_id":157622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":157622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:01:08] local.INFO: TCP Data received {"connection_id":160174,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:01:08] local.INFO: Processing buffer {"connection_id":160174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:01:08] local.INFO: IMEI packet received {"connection_id":160174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":160174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:01:09] local.INFO: TCP Data received {"connection_id":157622,"ip":"117.224.24.81","data_length":405,"data_hex":"00000000000001898e05000001a0195b3190012cecccc00715d4b80028014d2d..."} 
[2026-08-19 15:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157622,"packet_length":405,"packet_hex":"00000000000001898e05000001a0195b3190012cecccc00715d4b80028014d2d..."} 
[2026-08-19 15:01:09] local.INFO: Processing buffer {"connection_id":157622,"buffer_length":405,"buffer_hex":"00000000000001898e05000001a0195b3190012cecccc00715d4b80028014d2d..."} 
[2026-08-19 15:01:09] local.INFO: Packet analysis {"connection_id":157622,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e05000001a0195b"} 
[2026-08-19 15:01:09] local.INFO: Extracted packet for processing {"connection_id":157622,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e05000001a0195b"} 
[2026-08-19 15:01:09] local.INFO: GPS Element Parsed {"raw_longitude":753716416,"raw_latitude":118871224,"longitude_deg":75.3716416,"latitude_deg":11.8871224,"altitude":40,"angle":333,"satellites":45,"speed":13,"hex_longitude":"2cecccc0","hex_latitude":"0715d4b8","is_valid_coordinates":true} 
[2026-08-19 15: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":405,"current_offset":40} 
[2026-08-19 15:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505740288001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385972364245991424,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1382886530148739072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787131802000,"timestamp_ms":1787131802000,"timestamp_seconds":1787131802,"priority":1,"record_length":96,"hex_timestamp":"000001a0195b3190"} 
[2026-08-19 15:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":109,"n8_eight_byte":26,"data_length":405,"current_offset":136} 
[2026-08-19 15:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:01:09] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157622,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-08-19 15:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505740288001,"66":27930,"33":206,"2":54272,"24":13,"16":385972364245991424,"44":-1382886530148739072},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-08-19 15:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505740288001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:01:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-19 15:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385972364245991424,"km_value":385972364245991.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:01:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1382886530148739072,"description":"Unknown IO ID 44"} 
[2026-08-19 15:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505740288001,"power":27930,"unknown_33":206,"power_alt":54272,"ignition":13,"odometer":null,"unknown_44":-1382886530148739072}} 
[2026-08-19 15:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":157622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:01:09] local.INFO: GPS data processed {"connection_id":157622,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:01:09] local.INFO: Acknowledgment sent {"connection_id":157622,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:01:10] local.INFO: TCP Data received {"connection_id":157622,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0195b7010012cecbd000715f3d00026014a2e..."} 
[2026-08-19 15:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195b7010012cecbd000715f3d00026014a2e..."} 
[2026-08-19 15:01:10] local.INFO: Processing buffer {"connection_id":157622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195b7010012cecbd000715f3d00026014a2e..."} 
[2026-08-19 15:01:10] local.INFO: Packet analysis {"connection_id":157622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195b"} 
[2026-08-19 15:01:10] local.INFO: Extracted packet for processing {"connection_id":157622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195b"} 
[2026-08-19 15:01:10] local.INFO: GPS Element Parsed {"raw_longitude":753712384,"raw_latitude":118879184,"longitude_deg":75.3712384,"latitude_deg":11.8879184,"altitude":38,"angle":330,"satellites":46,"speed":31,"hex_longitude":"2cecbd00","hex_latitude":"0715f3d0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505741312001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385972793742721024,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1383519848846018560,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787131818000,"timestamp_ms":1787131818000,"timestamp_seconds":1787131818,"priority":1,"record_length":96,"hex_timestamp":"000001a0195b7010"} 
[2026-08-19 15:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:01: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-08-19 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 15:01:10] 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-08-19 15:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505741312001,"66":27908,"33":206,"2":54272,"24":31,"16":385972793742721024,"44":-1383519848846018560},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-08-19 15:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505741312001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:01:10] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-19 15:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385972793742721024,"km_value":385972793742721.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1383519848846018560,"description":"Unknown IO ID 44"} 
[2026-08-19 15:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505741312001,"power":27908,"unknown_33":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-1383519848846018560}} 
[2026-08-19 15:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":157622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:01:10] local.INFO: GPS data processed {"connection_id":157622,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:01:10] local.INFO: Acknowledgment sent {"connection_id":157622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:01:10] local.INFO: TCP Data received {"connection_id":160175,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:01:10] local.INFO: Processing buffer {"connection_id":160175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:01:10] local.INFO: IMEI packet received {"connection_id":160175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":160175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:01:13] local.INFO: TCP Data received {"connection_id":160174,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:01:13] local.INFO: Processing buffer {"connection_id":160174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:01:13] local.INFO: IMEI packet received {"connection_id":160174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":160174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:01:14] local.INFO: TCP Data received {"connection_id":160174,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0195b58a0012d18c100072084c0001a009325..."} 
[2026-08-19 15:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195b58a0012d18c100072084c0001a009325..."} 
[2026-08-19 15:01:14] local.INFO: Processing buffer {"connection_id":160174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195b58a0012d18c100072084c0001a009325..."} 
[2026-08-19 15:01:14] local.INFO: Packet analysis {"connection_id":160174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195b"} 
[2026-08-19 15:01:14] local.INFO: Extracted packet for processing {"connection_id":160174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195b"} 
[2026-08-19 15:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756596992,"raw_latitude":119571648,"longitude_deg":75.6596992,"latitude_deg":11.9571648,"altitude":26,"angle":147,"satellites":37,"speed":9,"hex_longitude":"2d18c100","hex_latitude":"072084c0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505742336001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13770837677047808,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783214376816936960,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01: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-08-19 15:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787131812000,"timestamp_ms":1787131812000,"timestamp_seconds":1787131812,"priority":1,"record_length":96,"hex_timestamp":"000001a0195b58a0"} 
[2026-08-19 15:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:01: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-08-19 15: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-19 15:01:14] 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-08-19 15: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-08-19 15:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505742336001,"66":13972,"121":206,"28":31744,"24":9,"16":13770837677047808,"45":1783214376816936960},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505742336001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:01:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:01:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13770837677047808,"km_value":13770837677047.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783214376816936960,"description":"Unknown IO ID 45"} 
[2026-08-19 15:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505742336001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1783214376816936960}} 
[2026-08-19 15:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":160174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:01:15] local.INFO: GPS data processed {"connection_id":160174,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:01:15] local.INFO: Acknowledgment sent {"connection_id":160174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:01:15] local.INFO: TCP Data received {"connection_id":160175,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160175,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:01:15] local.INFO: Processing buffer {"connection_id":160175,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:01:15] local.INFO: IMEI packet received {"connection_id":160175,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":160175,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:01:16] local.INFO: TCP Data received {"connection_id":160175,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0195b5c88012d063d400702a4f0000f00ef0b..."} 
[2026-08-19 15:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195b5c88012d063d400702a4f0000f00ef0b..."} 
[2026-08-19 15:01:16] local.INFO: Processing buffer {"connection_id":160175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195b5c88012d063d400702a4f0000f00ef0b..."} 
[2026-08-19 15:01:16] local.INFO: Packet analysis {"connection_id":160175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195b"} 
[2026-08-19 15:01:16] local.INFO: Extracted packet for processing {"connection_id":160175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195b"} 
[2026-08-19 15:01:16] local.INFO: GPS Element Parsed {"raw_longitude":755383616,"raw_latitude":117613808,"longitude_deg":75.5383616,"latitude_deg":11.7613808,"altitude":15,"angle":239,"satellites":11,"speed":21,"hex_longitude":"2d063d40","hex_latitude":"0702a4f0","is_valid_coordinates":true} 
[2026-08-19 15:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505743360001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28835989518548992,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":451134049032413184,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787131813000,"timestamp_ms":1787131813000,"timestamp_seconds":1787131813,"priority":1,"record_length":96,"hex_timestamp":"000001a0195b5c88"} 
[2026-08-19 15:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:01: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-08-19 15:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 15:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505743360001,"66":14439,"60":206,"94":11008,"24":21,"16":28835989518548992,"45":451134049032413184},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-08-19 15:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505743360001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:01:16] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-19 15:01:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28835989518548992,"km_value":28835989518548.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":451134049032413184,"description":"Unknown IO ID 45"} 
[2026-08-19 15:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505743360001,"power":14439,"unknown_60":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":451134049032413184}} 
[2026-08-19 15:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":160175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665193,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:01:16] local.INFO: GPS data processed {"connection_id":160175,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:01:16] local.INFO: Acknowledgment sent {"connection_id":160175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:01:17] local.INFO: TCP Data received {"connection_id":160175,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0195b6070012d063b000702a418000f00fa0b..."} 
[2026-08-19 15:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195b6070012d063b000702a418000f00fa0b..."} 
[2026-08-19 15:01:17] local.INFO: Processing buffer {"connection_id":160175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195b6070012d063b000702a418000f00fa0b..."} 
[2026-08-19 15:01:17] local.INFO: Packet analysis {"connection_id":160175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195b"} 
[2026-08-19 15:01:17] local.INFO: Extracted packet for processing {"connection_id":160175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195b"} 
[2026-08-19 15:01:17] local.INFO: GPS Element Parsed {"raw_longitude":755383040,"raw_latitude":117613592,"longitude_deg":75.538304,"latitude_deg":11.7613592,"altitude":15,"angle":250,"satellites":11,"speed":21,"hex_longitude":"2d063b00","hex_latitude":"0702a418","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505744128001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28836015288352768,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":449585936660230144,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787131814000,"timestamp_ms":1787131814000,"timestamp_seconds":1787131814,"priority":1,"record_length":96,"hex_timestamp":"000001a0195b6070"} 
[2026-08-19 15:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:01:17] 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-08-19 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 15:01: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-08-19 15: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-08-19 15:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505744128001,"66":14461,"60":206,"94":11008,"24":21,"16":28836015288352768,"45":449585936660230144},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-08-19 15:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505744128001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:01:17] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-19 15:01:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28836015288352768,"km_value":28836015288352.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":449585936660230144,"description":"Unknown IO ID 45"} 
[2026-08-19 15:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505744128001,"power":14461,"unknown_60":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":449585936660230144}} 
[2026-08-19 15:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":160175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665194,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:01:18] local.INFO: GPS data processed {"connection_id":160175,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:01:18] local.INFO: Acknowledgment sent {"connection_id":160175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:01:42] local.INFO: TCP Data received {"connection_id":157622,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0195b9ef0012ceca840071611c8002501422f..."} 
[2026-08-19 15:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195b9ef0012ceca840071611c8002501422f..."} 
[2026-08-19 15:01:42] local.INFO: Processing buffer {"connection_id":157622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195b9ef0012ceca840071611c8002501422f..."} 
[2026-08-19 15:01:42] local.INFO: Packet analysis {"connection_id":157622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195b"} 
[2026-08-19 15:01:42] local.INFO: Extracted packet for processing {"connection_id":157622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195b"} 
[2026-08-19 15:01:42] local.INFO: GPS Element Parsed {"raw_longitude":753707072,"raw_latitude":118886856,"longitude_deg":75.3707072,"latitude_deg":11.8886856,"altitude":37,"angle":322,"satellites":47,"speed":25,"hex_longitude":"2ceca840","hex_latitude":"071611c8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505745408001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385973244714287104,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1387953079727173632,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787131830000,"timestamp_ms":1787131830000,"timestamp_seconds":1787131830,"priority":1,"record_length":96,"hex_timestamp":"000001a0195b9ef0"} 
[2026-08-19 15:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:01: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-08-19 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 15:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505745408001,"66":27789,"34":206,"2":54272,"24":25,"16":385973244714287104,"44":-1387953079727173632},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,2,24,16,44]} 
[2026-08-19 15:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505745408001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:01:42] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-19 15:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385973244714287104,"km_value":385973244714287.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1387953079727173632,"description":"Unknown IO ID 44"} 
[2026-08-19 15:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505745408001,"power":27789,"unknown_34":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-1387953079727173632}} 
[2026-08-19 15:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":157622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:01:42] local.INFO: GPS data processed {"connection_id":157622,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:01:42] local.INFO: Acknowledgment sent {"connection_id":157622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:01:46] local.INFO: TCP Data received {"connection_id":160174,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0195b6458012d18c240072082c8001c008625..."} 
[2026-08-19 15:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195b6458012d18c240072082c8001c008625..."} 
[2026-08-19 15:01:46] local.INFO: Processing buffer {"connection_id":160174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195b6458012d18c240072082c8001c008625..."} 
[2026-08-19 15:01:46] local.INFO: Packet analysis {"connection_id":160174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195b"} 
[2026-08-19 15:01:46] local.INFO: Extracted packet for processing {"connection_id":160174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195b"} 
[2026-08-19 15:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756597312,"raw_latitude":119571144,"longitude_deg":75.6597312,"latitude_deg":11.9571144,"altitude":28,"angle":134,"satellites":37,"speed":7,"hex_longitude":"2d18c240","hex_latitude":"072082c8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505743872001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13770863446851584,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783706958025768960,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01: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-08-19 15:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787131815000,"timestamp_ms":1787131815000,"timestamp_seconds":1787131815,"priority":1,"record_length":96,"hex_timestamp":"000001a0195b6458"} 
[2026-08-19 15:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:01: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-08-19 15: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-19 15:01:46] 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-08-19 15: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-08-19 15:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505743872001,"66":14070,"121":206,"28":31744,"24":7,"16":13770863446851584,"45":1783706958025768960},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505743872001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:01:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:01:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13770863446851584,"km_value":13770863446851.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783706958025768960,"description":"Unknown IO ID 45"} 
[2026-08-19 15:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505743872001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1783706958025768960}} 
[2026-08-19 15:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":160174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:01:46] local.INFO: GPS data processed {"connection_id":160174,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:01:46] local.INFO: Acknowledgment sent {"connection_id":160174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:01:48] local.INFO: TCP Data received {"connection_id":160175,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0195c9120012d05c00007024f80000b004b0d..."} 
[2026-08-19 15:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195c9120012d05c00007024f80000b004b0d..."} 
[2026-08-19 15:01:48] local.INFO: Processing buffer {"connection_id":160175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195c9120012d05c00007024f80000b004b0d..."} 
[2026-08-19 15:01:48] local.INFO: Packet analysis {"connection_id":160175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:01:48] local.INFO: Extracted packet for processing {"connection_id":160175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:01:48] local.INFO: GPS Element Parsed {"raw_longitude":755351552,"raw_latitude":117591936,"longitude_deg":75.5351552,"latitude_deg":11.7591936,"altitude":11,"angle":75,"satellites":13,"speed":7,"hex_longitude":"2d05c000","hex_latitude":"07024f80","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505761536001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28838059692785664,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":412642345961535488,"note":"Value kept but may cause issues"} 
[2026-08-19 15:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787131892000,"timestamp_ms":1787131892000,"timestamp_seconds":1787131892,"priority":1,"record_length":96,"hex_timestamp":"000001a0195c9120"} 
[2026-08-19 15:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 15:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505761536001,"66":14548,"60":206,"94":11008,"24":7,"16":28838059692785664,"45":412642345961535488},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-08-19 15:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505761536001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:01:48] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-19 15:01:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28838059692785664,"km_value":28838059692785.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":412642345961535488,"description":"Unknown IO ID 45"} 
[2026-08-19 15:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505761536001,"power":14548,"unknown_60":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":412642345961535488}} 
[2026-08-19 15:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":160175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665197,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:01:49] local.INFO: GPS data processed {"connection_id":160175,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:01:49] local.INFO: Acknowledgment sent {"connection_id":160175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:01:56] local.INFO: TCP Data received {"connection_id":160176,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:01:56] local.INFO: Processing buffer {"connection_id":160176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:01:56] local.INFO: IMEI packet received {"connection_id":160176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":160176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:01:59] local.INFO: TCP Data received {"connection_id":160176,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:01:59] local.INFO: Processing buffer {"connection_id":160176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:01:59] local.INFO: IMEI packet received {"connection_id":160176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":160176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:02:04] local.INFO: TCP Data received {"connection_id":160176,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:02:04] local.INFO: Processing buffer {"connection_id":160176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:02:04] local.INFO: IMEI packet received {"connection_id":160176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":160176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:02:07] local.INFO: TCP Data received {"connection_id":160176,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0195bd5a0012cec908007162ea0001f013f2c..."} 
[2026-08-19 15:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195bd5a0012cec908007162ea0001f013f2c..."} 
[2026-08-19 15:02:07] local.INFO: Processing buffer {"connection_id":160176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195bd5a0012cec908007162ea0001f013f2c..."} 
[2026-08-19 15:02:07] local.INFO: Packet analysis {"connection_id":160176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195b"} 
[2026-08-19 15:02:07] local.INFO: Extracted packet for processing {"connection_id":160176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195b"} 
[2026-08-19 15:02:07] local.INFO: GPS Element Parsed {"raw_longitude":753700992,"raw_latitude":118894240,"longitude_deg":75.3700992,"latitude_deg":11.889424,"altitude":31,"angle":319,"satellites":44,"speed":25,"hex_longitude":"2cec9080","hex_latitude":"07162ea0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505748480001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385973704275787776,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1393793685491955712,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787131844000,"timestamp_ms":1787131844000,"timestamp_seconds":1787131844,"priority":1,"record_length":96,"hex_timestamp":"000001a0195bd5a0"} 
[2026-08-19 15:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-19 15:02:07] 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-08-19 15: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-08-19 15:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505748480001,"66":27919,"34":206,"2":54272,"24":25,"16":385973704275787776,"44":-1393793685491955712},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,2,24,16,44]} 
[2026-08-19 15:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505748480001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:02:07] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-19 15:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385973704275787776,"km_value":385973704275787.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:02:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1393793685491955712,"description":"Unknown IO ID 44"} 
[2026-08-19 15:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505748480001,"power":27919,"unknown_34":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-1393793685491955712}} 
[2026-08-19 15:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":160176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:02:07] local.INFO: GPS data processed {"connection_id":160176,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:02:07] local.INFO: Acknowledgment sent {"connection_id":160176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:02:08] local.INFO: TCP Data received {"connection_id":157623,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:02:08] local.INFO: Processing buffer {"connection_id":157623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:02:08] local.INFO: IMEI packet received {"connection_id":157623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":157623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:02:09] local.INFO: TCP Data received {"connection_id":157623,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:02:09] local.INFO: Processing buffer {"connection_id":157623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:02:09] local.INFO: IMEI packet received {"connection_id":157623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":157623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:02:14] local.INFO: TCP Data received {"connection_id":157623,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:02:14] local.INFO: Processing buffer {"connection_id":157623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:02:14] local.INFO: IMEI packet received {"connection_id":157623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":157623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:02:15] local.INFO: TCP Data received {"connection_id":157623,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0195b73f8012d18c48007207fe8001f009325..."} 
[2026-08-19 15:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195b73f8012d18c48007207fe8001f009325..."} 
[2026-08-19 15:02:15] local.INFO: Processing buffer {"connection_id":157623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195b73f8012d18c48007207fe8001f009325..."} 
[2026-08-19 15:02:15] local.INFO: Packet analysis {"connection_id":157623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195b"} 
[2026-08-19 15:02:15] local.INFO: Extracted packet for processing {"connection_id":157623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195b"} 
[2026-08-19 15:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119570408,"longitude_deg":75.6597888,"latitude_deg":11.9570408,"altitude":31,"angle":147,"satellites":37,"speed":13,"hex_longitude":"2d18c480","hex_latitude":"07207fe8","is_valid_coordinates":true} 
[2026-08-19 15:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505744640001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13770910691491840,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784058801746528256,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02: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-08-19 15:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787131819000,"timestamp_ms":1787131819000,"timestamp_seconds":1787131819,"priority":1,"record_length":96,"hex_timestamp":"000001a0195b73f8"} 
[2026-08-19 15:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-19 15:02:15] 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-08-19 15:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505744640001,"66":14070,"121":206,"28":31744,"24":13,"16":13770910691491840,"45":1784058801746528256},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505744640001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:02:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:02:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13770910691491840,"km_value":13770910691491.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784058801746528256,"description":"Unknown IO ID 45"} 
[2026-08-19 15:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505744640001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1784058801746528256}} 
[2026-08-19 15:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":157623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:02:15] local.INFO: GPS data processed {"connection_id":157623,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:02:15] local.INFO: Acknowledgment sent {"connection_id":157623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:02:19] local.INFO: TCP Data received {"connection_id":160175,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0195c9cd8012d05c1c007025048000a00460d..."} 
[2026-08-19 15:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195c9cd8012d05c1c007025048000a00460d..."} 
[2026-08-19 15:02:19] local.INFO: Processing buffer {"connection_id":160175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195c9cd8012d05c1c007025048000a00460d..."} 
[2026-08-19 15:02:19] local.INFO: Packet analysis {"connection_id":160175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:02:19] local.INFO: Extracted packet for processing {"connection_id":160175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:02:19] local.INFO: GPS Element Parsed {"raw_longitude":755352000,"raw_latitude":117592136,"longitude_deg":75.5352,"latitude_deg":11.7592136,"altitude":10,"angle":70,"satellites":13,"speed":3,"hex_longitude":"2d05c1c0","hex_latitude":"07025048","is_valid_coordinates":true} 
[2026-08-19 15:02: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-08-19 15:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505764352001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28838076872654848,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414331195821621248,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787131895000,"timestamp_ms":1787131895000,"timestamp_seconds":1787131895,"priority":1,"record_length":96,"hex_timestamp":"000001a0195c9cd8"} 
[2026-08-19 15:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:02: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-08-19 15: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-19 15:02: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-08-19 15: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-08-19 15:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160175,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505764352001,"66":14548,"60":206,"94":11008,"24":3,"16":28838076872654848,"45":414331195821621248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-08-19 15:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505764352001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:02:19] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-19 15:02:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28838076872654848,"km_value":28838076872654.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":414331195821621248,"description":"Unknown IO ID 45"} 
[2026-08-19 15:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505764352001,"power":14548,"unknown_60":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":414331195821621248}} 
[2026-08-19 15:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":160175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665200,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:02:20] local.INFO: GPS data processed {"connection_id":160175,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:02:20] local.INFO: Acknowledgment sent {"connection_id":160175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:02:39] local.INFO: TCP Data received {"connection_id":160176,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0195be928012cec8880071639b0001f014c2b..."} 
[2026-08-19 15:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195be928012cec8880071639b0001f014c2b..."} 
[2026-08-19 15:02:39] local.INFO: Processing buffer {"connection_id":160176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195be928012cec8880071639b0001f014c2b..."} 
[2026-08-19 15:02:39] local.INFO: Packet analysis {"connection_id":160176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195b"} 
[2026-08-19 15:02:39] local.INFO: Extracted packet for processing {"connection_id":160176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195b"} 
[2026-08-19 15:02:39] local.INFO: GPS Element Parsed {"raw_longitude":753698944,"raw_latitude":118897072,"longitude_deg":75.3698944,"latitude_deg":11.8897072,"altitude":31,"angle":332,"satellites":43,"speed":28,"hex_longitude":"2cec8880","hex_latitude":"071639b0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505752064001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385973871779512320,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1400478716186943488,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787131849000,"timestamp_ms":1787131849000,"timestamp_seconds":1787131849,"priority":1,"record_length":96,"hex_timestamp":"000001a0195be928"} 
[2026-08-19 15:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 15:02:39] 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-08-19 15: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-08-19 15:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505752064001,"66":27745,"34":206,"2":54272,"24":28,"16":385973871779512320,"44":-1400478716186943488},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,2,24,16,44]} 
[2026-08-19 15:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505752064001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:02:39] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-19 15:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385973871779512320,"km_value":385973871779512.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:02:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1400478716186943488,"description":"Unknown IO ID 44"} 
[2026-08-19 15:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505752064001,"power":27745,"unknown_34":206,"power_alt":54272,"ignition":28,"odometer":null,"unknown_44":-1400478716186943488}} 
[2026-08-19 15:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":160176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:02:39] local.INFO: GPS data processed {"connection_id":160176,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:02:39] local.INFO: Acknowledgment sent {"connection_id":160176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:02:47] local.INFO: TCP Data received {"connection_id":157623,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0195cd770012d18dbc007205a10002b008e25..."} 
[2026-08-19 15:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195cd770012d18dbc007205a10002b008e25..."} 
[2026-08-19 15:02:47] local.INFO: Processing buffer {"connection_id":157623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195cd770012d18dbc007205a10002b008e25..."} 
[2026-08-19 15:02:47] local.INFO: Packet analysis {"connection_id":157623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:02:47] local.INFO: Extracted packet for processing {"connection_id":157623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:02:47] local.INFO: GPS Element Parsed {"raw_longitude":756603840,"raw_latitude":119560720,"longitude_deg":75.660384,"latitude_deg":11.956072,"altitude":43,"angle":142,"satellites":37,"speed":4,"hex_longitude":"2d18dbc0","hex_latitude":"07205a10","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505763584001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13771507691945984,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791306782394265600,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02: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-08-19 15:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787131910000,"timestamp_ms":1787131910000,"timestamp_seconds":1787131910,"priority":1,"record_length":96,"hex_timestamp":"000001a0195cd770"} 
[2026-08-19 15:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 15:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6980983695,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:47] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503809758461952,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 15:02:47] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:47] local.WARNING: Large IO value detected {"io_id":88,"raw_value":9570798402538752,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:47] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3974758400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:47] local.WARNING: Large IO value detected {"io_id":80,"raw_value":84751213115416695,"note":"Value kept but may cause issues"} 
[2026-08-19 15:02:47] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,237,160,51,45,91,42,39,10,66,225,64,92,37,221,1,240,137,25,32,4,113,205,13,201,207,88,38,239,55,2,48,7,36,18,206,80],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 15:02:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026526864941252608,"timestamp_seconds":3026526864941252.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 15:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505763584001,"66":13428,"121":206,"28":31744,"24":4,"16":13771507691945984,"45":1791306782394265600},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505763584001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:02:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:02:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13771507691945984,"km_value":13771507691945.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791306782394265600,"description":"Unknown IO ID 45"} 
[2026-08-19 15:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505763584001,"power":13428,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1791306782394265600}} 
[2026-08-19 15:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":157623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:02:47] local.INFO: GPS data processed {"connection_id":157623,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:02:47] local.INFO: Acknowledgment sent {"connection_id":157623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:02:59] local.INFO: TCP Data received {"connection_id":157624,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:02:59] local.INFO: Processing buffer {"connection_id":157624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:02:59] local.INFO: IMEI packet received {"connection_id":157624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":157624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:03:05] local.INFO: TCP Data received {"connection_id":158863,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158863,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:03:05] local.INFO: Processing buffer {"connection_id":158863,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:03:05] local.INFO: IMEI packet received {"connection_id":158863,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":158863,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:03:08] local.INFO: TCP Data received {"connection_id":160177,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:03:08] local.INFO: Processing buffer {"connection_id":160177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:03:08] local.INFO: IMEI packet received {"connection_id":160177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":160177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:03:09] local.INFO: TCP Data received {"connection_id":160177,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:03:09] local.INFO: Processing buffer {"connection_id":160177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:03:09] local.INFO: IMEI packet received {"connection_id":160177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":160177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:03:09] local.INFO: TCP Data received {"connection_id":160177,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:03:09] local.INFO: Processing buffer {"connection_id":160177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:03:09] local.INFO: IMEI packet received {"connection_id":160177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":160177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:03:10] local.INFO: TCP Data received {"connection_id":158863,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158863,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:03:10] local.INFO: Processing buffer {"connection_id":158863,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:03:10] local.INFO: IMEI packet received {"connection_id":158863,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":158863,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:03:11] local.INFO: TCP Data received {"connection_id":160177,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:03:11] local.INFO: Processing buffer {"connection_id":160177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:03:11] local.INFO: IMEI packet received {"connection_id":160177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":160177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:03:11] local.INFO: TCP Data received {"connection_id":157624,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:03:11] local.INFO: Processing buffer {"connection_id":157624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:03:11] local.INFO: IMEI packet received {"connection_id":157624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":157624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:03:11] local.INFO: TCP Data received {"connection_id":158863,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0195c9cd8012d05c1c007025048000a00460d..."} 
[2026-08-19 15:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195c9cd8012d05c1c007025048000a00460d..."} 
[2026-08-19 15:03:11] local.INFO: Processing buffer {"connection_id":158863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195c9cd8012d05c1c007025048000a00460d..."} 
[2026-08-19 15:03:11] local.INFO: Packet analysis {"connection_id":158863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:03:11] local.INFO: Extracted packet for processing {"connection_id":158863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:03:11] local.INFO: GPS Element Parsed {"raw_longitude":755352000,"raw_latitude":117592136,"longitude_deg":75.5352,"latitude_deg":11.7592136,"altitude":10,"angle":70,"satellites":13,"speed":3,"hex_longitude":"2d05c1c0","hex_latitude":"07025048","is_valid_coordinates":true} 
[2026-08-19 15:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505765120001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28838076872654848,"note":"Value kept but may cause issues"} 
[2026-08-19 15:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414823777030916096,"note":"Value kept but may cause issues"} 
[2026-08-19 15:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787131895000,"timestamp_ms":1787131895000,"timestamp_seconds":1787131895,"priority":1,"record_length":96,"hex_timestamp":"000001a0195c9cd8"} 
[2026-08-19 15:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-19 15:03:11] 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-08-19 15:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158863,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158863,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505765120001,"66":14548,"60":206,"94":11008,"24":3,"16":28838076872654848,"45":414823777030916096},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-08-19 15:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505765120001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:03:11] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-19 15:03:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28838076872654848,"km_value":28838076872654.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":414823777030916096,"description":"Unknown IO ID 45"} 
[2026-08-19 15:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505765120001,"power":14548,"unknown_60":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":414823777030916096}} 
[2026-08-19 15:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":158863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665203,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:03:11] local.INFO: GPS data processed {"connection_id":158863,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:03:11] local.INFO: Acknowledgment sent {"connection_id":158863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:03:13] local.INFO: TCP Data received {"connection_id":157624,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0195c1420012cec7c0007165d80001c015327..."} 
[2026-08-19 15:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195c1420012cec7c0007165d80001c015327..."} 
[2026-08-19 15:03:13] local.INFO: Processing buffer {"connection_id":157624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195c1420012cec7c0007165d80001c015327..."} 
[2026-08-19 15:03:13] local.INFO: Packet analysis {"connection_id":157624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:03:13] local.INFO: Extracted packet for processing {"connection_id":157624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:03:13] local.INFO: GPS Element Parsed {"raw_longitude":753695744,"raw_latitude":118906240,"longitude_deg":75.3695744,"latitude_deg":11.890624,"altitude":28,"angle":339,"satellites":39,"speed":37,"hex_longitude":"2cec7c00","hex_latitude":"07165d80","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505753344001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385974344225914880,"note":"Value kept but may cause issues"} 
[2026-08-19 15:03:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1402730515999903744,"note":"Value kept but may cause issues"} 
[2026-08-19 15:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787131860000,"timestamp_ms":1787131860000,"timestamp_seconds":1787131860,"priority":1,"record_length":96,"hex_timestamp":"000001a0195c1420"} 
[2026-08-19 15:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:03:13] 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-08-19 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 15:03: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-08-19 15: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-08-19 15:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505753344001,"66":27919,"157":206,"2":54272,"24":37,"16":385974344225914880,"44":-1402730515999903744},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-08-19 15:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505753344001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:03:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-19 15:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385974344225914880,"km_value":385974344225914.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:03:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1402730515999903744,"description":"Unknown IO ID 44"} 
[2026-08-19 15:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505753344001,"power":27919,"unknown_157":206,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-1402730515999903744}} 
[2026-08-19 15:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":157624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:03:13] local.INFO: GPS data processed {"connection_id":157624,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:03:13] local.INFO: Acknowledgment sent {"connection_id":157624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:03:42] local.INFO: TCP Data received {"connection_id":158863,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0195c9cd8012d05c1c007025048000a00460d..."} 
[2026-08-19 15:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195c9cd8012d05c1c007025048000a00460d..."} 
[2026-08-19 15:03:42] local.INFO: Processing buffer {"connection_id":158863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195c9cd8012d05c1c007025048000a00460d..."} 
[2026-08-19 15:03:42] local.INFO: Packet analysis {"connection_id":158863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:03:42] local.INFO: Extracted packet for processing {"connection_id":158863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:03:42] local.INFO: GPS Element Parsed {"raw_longitude":755352000,"raw_latitude":117592136,"longitude_deg":75.5352,"latitude_deg":11.7592136,"altitude":10,"angle":70,"satellites":13,"speed":3,"hex_longitude":"2d05c1c0","hex_latitude":"07025048","is_valid_coordinates":true} 
[2026-08-19 15:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505765120001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28838076872654848,"note":"Value kept but may cause issues"} 
[2026-08-19 15:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414823777030916096,"note":"Value kept but may cause issues"} 
[2026-08-19 15:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787131895000,"timestamp_ms":1787131895000,"timestamp_seconds":1787131895,"priority":1,"record_length":96,"hex_timestamp":"000001a0195c9cd8"} 
[2026-08-19 15:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-19 15:03:42] 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-08-19 15:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158863,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158863,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505765120001,"66":14548,"60":206,"94":11008,"24":3,"16":28838076872654848,"45":414823777030916096},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-08-19 15:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505765120001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:03:42] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-19 15:03:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28838076872654848,"km_value":28838076872654.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":414823777030916096,"description":"Unknown IO ID 45"} 
[2026-08-19 15:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505765120001,"power":14548,"unknown_60":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":414823777030916096}} 
[2026-08-19 15:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":158863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665205,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:03:42] local.INFO: GPS data processed {"connection_id":158863,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:03:42] local.INFO: Acknowledgment sent {"connection_id":158863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:03:44] local.INFO: TCP Data received {"connection_id":157624,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0195c3748012cec6f0007167f30001b01542c..."} 
[2026-08-19 15:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195c3748012cec6f0007167f30001b01542c..."} 
[2026-08-19 15:03:44] local.INFO: Processing buffer {"connection_id":157624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195c3748012cec6f0007167f30001b01542c..."} 
[2026-08-19 15:03:44] local.INFO: Packet analysis {"connection_id":157624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:03:44] local.INFO: Extracted packet for processing {"connection_id":157624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:03:44] local.INFO: GPS Element Parsed {"raw_longitude":753692416,"raw_latitude":118914864,"longitude_deg":75.3692416,"latitude_deg":11.8914864,"altitude":27,"angle":340,"satellites":44,"speed":42,"hex_longitude":"2cec6f00","hex_latitude":"07167f30","is_valid_coordinates":true} 
[2026-08-19 15:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505756160001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385974790902513664,"note":"Value kept but may cause issues"} 
[2026-08-19 15:03:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1406248953206439936,"note":"Value kept but may cause issues"} 
[2026-08-19 15:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787131869000,"timestamp_ms":1787131869000,"timestamp_seconds":1787131869,"priority":1,"record_length":96,"hex_timestamp":"000001a0195c3748"} 
[2026-08-19 15:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 15:03:44] 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-08-19 15:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505756160001,"66":27908,"157":206,"2":54272,"24":42,"16":385974790902513664,"44":-1406248953206439936},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-08-19 15:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505756160001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:03:44] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-19 15:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385974790902513664,"km_value":385974790902513.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:03:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1406248953206439936,"description":"Unknown IO ID 44"} 
[2026-08-19 15:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505756160001,"power":27908,"unknown_157":206,"power_alt":54272,"ignition":42,"odometer":null,"unknown_44":-1406248953206439936}} 
[2026-08-19 15:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":157624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:03:44] local.INFO: GPS data processed {"connection_id":157624,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:03:44] local.INFO: Acknowledgment sent {"connection_id":157624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:03:59] local.INFO: TCP Data received {"connection_id":158002,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:03:59] local.INFO: Processing buffer {"connection_id":158002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:03:59] local.INFO: IMEI packet received {"connection_id":158002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":158002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:04:01] local.INFO: TCP Data received {"connection_id":158002,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:04:01] local.INFO: Processing buffer {"connection_id":158002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:04:01] local.INFO: IMEI packet received {"connection_id":158002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":158002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:04:04] local.INFO: TCP Data received {"connection_id":158002,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:04:04] local.INFO: Processing buffer {"connection_id":158002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:04:04] local.INFO: IMEI packet received {"connection_id":158002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":158002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:04:05] local.INFO: TCP Data received {"connection_id":158003,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158003,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:04:05] local.INFO: Processing buffer {"connection_id":158003,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:04:05] local.INFO: IMEI packet received {"connection_id":158003,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":158003,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:04:06] local.INFO: TCP Data received {"connection_id":158002,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0195c5a70012cec62000716a078001c01522b..."} 
[2026-08-19 15:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195c5a70012cec62000716a078001c01522b..."} 
[2026-08-19 15:04:06] local.INFO: Processing buffer {"connection_id":158002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195c5a70012cec62000716a078001c01522b..."} 
[2026-08-19 15:04:06] local.INFO: Packet analysis {"connection_id":158002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:04:06] local.INFO: Extracted packet for processing {"connection_id":158002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:04:06] local.INFO: GPS Element Parsed {"raw_longitude":753689088,"raw_latitude":118923384,"longitude_deg":75.3689088,"latitude_deg":11.8923384,"altitude":28,"angle":338,"satellites":43,"speed":34,"hex_longitude":"2cec6200","hex_latitude":"0716a078","is_valid_coordinates":true} 
[2026-08-19 15:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505758464001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385975233284145152,"note":"Value kept but may cause issues"} 
[2026-08-19 15:04:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409908127901470720,"note":"Value kept but may cause issues"} 
[2026-08-19 15:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787131878000,"timestamp_ms":1787131878000,"timestamp_seconds":1787131878,"priority":1,"record_length":96,"hex_timestamp":"000001a0195c5a70"} 
[2026-08-19 15:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:04: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-08-19 15:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 15:04:06] 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-08-19 15:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505758464001,"66":27887,"157":206,"2":54272,"24":34,"16":385975233284145152,"44":-1409908127901470720},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-08-19 15:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505758464001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:04:06] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-19 15:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385975233284145152,"km_value":385975233284145.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:04:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409908127901470720,"description":"Unknown IO ID 44"} 
[2026-08-19 15:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505758464001,"power":27887,"unknown_157":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-1409908127901470720}} 
[2026-08-19 15:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":158002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:04:06] local.INFO: GPS data processed {"connection_id":158002,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:04:06] local.INFO: Acknowledgment sent {"connection_id":158002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:04:10] local.INFO: TCP Data received {"connection_id":158003,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158003,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:04:10] local.INFO: Processing buffer {"connection_id":158003,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:04:10] local.INFO: IMEI packet received {"connection_id":158003,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":158003,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:04:11] local.INFO: TCP Data received {"connection_id":158003,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0195c9cd8012d05c1c007025048000a00460d..."} 
[2026-08-19 15:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195c9cd8012d05c1c007025048000a00460d..."} 
[2026-08-19 15:04:11] local.INFO: Processing buffer {"connection_id":158003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195c9cd8012d05c1c007025048000a00460d..."} 
[2026-08-19 15:04:11] local.INFO: Packet analysis {"connection_id":158003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:04:11] local.INFO: Extracted packet for processing {"connection_id":158003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:04:11] local.INFO: GPS Element Parsed {"raw_longitude":755352000,"raw_latitude":117592136,"longitude_deg":75.5352,"latitude_deg":11.7592136,"altitude":10,"angle":70,"satellites":13,"speed":3,"hex_longitude":"2d05c1c0","hex_latitude":"07025048","is_valid_coordinates":true} 
[2026-08-19 15:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505765120001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28838076872654848,"note":"Value kept but may cause issues"} 
[2026-08-19 15:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414823777030916096,"note":"Value kept but may cause issues"} 
[2026-08-19 15:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787131895000,"timestamp_ms":1787131895000,"timestamp_seconds":1787131895,"priority":1,"record_length":96,"hex_timestamp":"000001a0195c9cd8"} 
[2026-08-19 15:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-19 15:04:11] 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-08-19 15:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505765120001,"66":14548,"60":206,"94":11008,"24":3,"16":28838076872654848,"45":414823777030916096},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-08-19 15:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505765120001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:04:11] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-19 15:04:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28838076872654848,"km_value":28838076872654.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":414823777030916096,"description":"Unknown IO ID 45"} 
[2026-08-19 15:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505765120001,"power":14548,"unknown_60":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":414823777030916096}} 
[2026-08-19 15:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":158003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665208,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:04:11] local.INFO: GPS data processed {"connection_id":158003,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:04:11] local.INFO: Acknowledgment sent {"connection_id":158003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:04:37] local.INFO: TCP Data received {"connection_id":158002,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0195e94c0012cec56400717efe8002100072f..."} 
[2026-08-19 15:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195e94c0012cec56400717efe8002100072f..."} 
[2026-08-19 15:04:37] local.INFO: Processing buffer {"connection_id":158002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195e94c0012cec56400717efe8002100072f..."} 
[2026-08-19 15:04:37] local.INFO: Packet analysis {"connection_id":158002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195e"} 
[2026-08-19 15:04:37] local.INFO: Extracted packet for processing {"connection_id":158002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195e"} 
[2026-08-19 15:04:37] local.INFO: GPS Element Parsed {"raw_longitude":753686080,"raw_latitude":119009256,"longitude_deg":75.368608,"latitude_deg":11.9009256,"altitude":33,"angle":7,"satellites":47,"speed":6,"hex_longitude":"2cec5640","hex_latitude":"0717efe8","is_valid_coordinates":true} 
[2026-08-19 15:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505792768001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385979476711833600,"note":"Value kept but may cause issues"} 
[2026-08-19 15:04:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1417507952249260032,"note":"Value kept but may cause issues"} 
[2026-08-19 15:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787132024000,"timestamp_ms":1787132024000,"timestamp_seconds":1787132024,"priority":1,"record_length":96,"hex_timestamp":"000001a0195e94c0"} 
[2026-08-19 15:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:04: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-08-19 15:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 15:04:37] 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-08-19 15:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505792768001,"66":27843,"159":206,"2":54272,"24":6,"16":385979476711833600,"44":-1417507952249260032},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-08-19 15:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505792768001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:04:37] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-19 15:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385979476711833600,"km_value":385979476711833.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:04:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1417507952249260032,"description":"Unknown IO ID 44"} 
[2026-08-19 15:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505792768001,"power":27843,"unknown_159":206,"power_alt":54272,"ignition":6,"odometer":null,"unknown_44":-1417507952249260032}} 
[2026-08-19 15:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":158002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:04:37] local.INFO: GPS data processed {"connection_id":158002,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:04:37] local.INFO: Acknowledgment sent {"connection_id":158002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:04:42] local.INFO: TCP Data received {"connection_id":158003,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0195c9cd8012d05c1c007025048000a00460d..."} 
[2026-08-19 15:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195c9cd8012d05c1c007025048000a00460d..."} 
[2026-08-19 15:04:42] local.INFO: Processing buffer {"connection_id":158003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195c9cd8012d05c1c007025048000a00460d..."} 
[2026-08-19 15:04:42] local.INFO: Packet analysis {"connection_id":158003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:04:42] local.INFO: Extracted packet for processing {"connection_id":158003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195c"} 
[2026-08-19 15:04:42] local.INFO: GPS Element Parsed {"raw_longitude":755352000,"raw_latitude":117592136,"longitude_deg":75.5352,"latitude_deg":11.7592136,"altitude":10,"angle":70,"satellites":13,"speed":3,"hex_longitude":"2d05c1c0","hex_latitude":"07025048","is_valid_coordinates":true} 
[2026-08-19 15:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505765120001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28838076872654848,"note":"Value kept but may cause issues"} 
[2026-08-19 15:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414823777030916096,"note":"Value kept but may cause issues"} 
[2026-08-19 15:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787131895000,"timestamp_ms":1787131895000,"timestamp_seconds":1787131895,"priority":1,"record_length":96,"hex_timestamp":"000001a0195c9cd8"} 
[2026-08-19 15:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-19 15:04:42] 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-08-19 15:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158003,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505765120001,"66":14548,"60":206,"94":11008,"24":3,"16":28838076872654848,"45":414823777030916096},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-08-19 15:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505765120001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:04:42] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-19 15:04:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28838076872654848,"km_value":28838076872654.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":414823777030916096,"description":"Unknown IO ID 45"} 
[2026-08-19 15:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505765120001,"power":14548,"unknown_60":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":414823777030916096}} 
[2026-08-19 15:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":158003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665210,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:04:42] local.INFO: GPS data processed {"connection_id":158003,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:04:42] local.INFO: Acknowledgment sent {"connection_id":158003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:05:04] local.INFO: TCP Data received {"connection_id":157625,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:05:04] local.INFO: Processing buffer {"connection_id":157625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:05:04] local.INFO: IMEI packet received {"connection_id":157625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":157625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:05:05] local.INFO: TCP Data received {"connection_id":157626,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:05:05] local.INFO: Processing buffer {"connection_id":157626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:05:05] local.INFO: IMEI packet received {"connection_id":157626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":157626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:05:09] local.INFO: TCP Data received {"connection_id":157625,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:05:09] local.INFO: Processing buffer {"connection_id":157625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:05:09] local.INFO: IMEI packet received {"connection_id":157625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":157625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:05:10] local.INFO: TCP Data received {"connection_id":157625,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0195ea848012cec56c00717f4a00021001231..."} 
[2026-08-19 15:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195ea848012cec56c00717f4a00021001231..."} 
[2026-08-19 15:05:10] local.INFO: Processing buffer {"connection_id":157625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195ea848012cec56c00717f4a00021001231..."} 
[2026-08-19 15:05:10] local.INFO: Packet analysis {"connection_id":157625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195e"} 
[2026-08-19 15:05:10] local.INFO: Extracted packet for processing {"connection_id":157625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195e"} 
[2026-08-19 15:05:10] local.INFO: GPS Element Parsed {"raw_longitude":753686208,"raw_latitude":119010464,"longitude_deg":75.3686208,"latitude_deg":11.9010464,"altitude":33,"angle":18,"satellites":49,"speed":12,"hex_longitude":"2cec56c0","hex_latitude":"0717f4a0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505798144001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385979536841375744,"note":"Value kept but may cause issues"} 
[2026-08-19 15:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416874633550895104,"note":"Value kept but may cause issues"} 
[2026-08-19 15:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787132029000,"timestamp_ms":1787132029000,"timestamp_seconds":1787132029,"priority":1,"record_length":96,"hex_timestamp":"000001a0195ea848"} 
[2026-08-19 15:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:05: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-08-19 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 15:05:10] 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-08-19 15: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-08-19 15:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505798144001,"66":27767,"159":206,"2":54272,"24":12,"16":385979536841375744,"44":-1416874633550895104},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-08-19 15:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505798144001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:05:10] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-19 15:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385979536841375744,"km_value":385979536841375.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416874633550895104,"description":"Unknown IO ID 44"} 
[2026-08-19 15:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505798144001,"power":27767,"unknown_159":206,"power_alt":54272,"ignition":12,"odometer":null,"unknown_44":-1416874633550895104}} 
[2026-08-19 15:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":157625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:05:10] local.INFO: GPS data processed {"connection_id":157625,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:05:10] local.INFO: Acknowledgment sent {"connection_id":157625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:05:42] local.INFO: TCP Data received {"connection_id":157625,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0195ec788012cec57c00717fa200022000031..."} 
[2026-08-19 15:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195ec788012cec57c00717fa200022000031..."} 
[2026-08-19 15:05:42] local.INFO: Processing buffer {"connection_id":157625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195ec788012cec57c00717fa200022000031..."} 
[2026-08-19 15:05:42] local.INFO: Packet analysis {"connection_id":157625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195e"} 
[2026-08-19 15:05:42] local.INFO: Extracted packet for processing {"connection_id":157625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195e"} 
[2026-08-19 15:05:42] local.INFO: GPS Element Parsed {"raw_longitude":753686464,"raw_latitude":119011872,"longitude_deg":75.3686464,"latitude_deg":11.9011872,"altitude":34,"angle":0,"satellites":49,"speed":5,"hex_longitude":"2cec57c0","hex_latitude":"0717fa20","is_valid_coordinates":true} 
[2026-08-19 15:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505799424001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385979605560852480,"note":"Value kept but may cause issues"} 
[2026-08-19 15:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416733896062230528,"note":"Value kept but may cause issues"} 
[2026-08-19 15:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787132037000,"timestamp_ms":1787132037000,"timestamp_seconds":1787132037,"priority":1,"record_length":96,"hex_timestamp":"000001a0195ec788"} 
[2026-08-19 15:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:05: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-08-19 15:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 15:05:42] 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-08-19 15:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505799424001,"66":28050,"159":206,"2":54272,"24":5,"16":385979605560852480,"44":-1416733896062230528},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-08-19 15:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505799424001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:05:42] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-19 15:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385979605560852480,"km_value":385979605560852.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416733896062230528,"description":"Unknown IO ID 44"} 
[2026-08-19 15:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505799424001,"power":28050,"unknown_159":206,"power_alt":54272,"ignition":5,"odometer":null,"unknown_44":-1416733896062230528}} 
[2026-08-19 15:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":157625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:05:42] local.INFO: GPS data processed {"connection_id":157625,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:05:42] local.INFO: Acknowledgment sent {"connection_id":157625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:06:04] local.INFO: TCP Data received {"connection_id":160178,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:06:04] local.INFO: Processing buffer {"connection_id":160178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:06:04] local.INFO: IMEI packet received {"connection_id":160178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":160178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:06:09] local.INFO: TCP Data received {"connection_id":160178,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:06:09] local.INFO: Processing buffer {"connection_id":160178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:06:09] local.INFO: IMEI packet received {"connection_id":160178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":160178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:06:10] local.INFO: TCP Data received {"connection_id":160178,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0195ef280012cec59000717fda80021000c2f..."} 
[2026-08-19 15:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195ef280012cec59000717fda80021000c2f..."} 
[2026-08-19 15:06:10] local.INFO: Processing buffer {"connection_id":160178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195ef280012cec59000717fda80021000c2f..."} 
[2026-08-19 15:06:10] local.INFO: Packet analysis {"connection_id":160178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195e"} 
[2026-08-19 15:06:10] local.INFO: Extracted packet for processing {"connection_id":160178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195e"} 
[2026-08-19 15:06:10] local.INFO: GPS Element Parsed {"raw_longitude":753686784,"raw_latitude":119012776,"longitude_deg":75.3686784,"latitude_deg":11.9012776,"altitude":33,"angle":12,"satellites":47,"speed":10,"hex_longitude":"2cec5900","hex_latitude":"0717fda8","is_valid_coordinates":true} 
[2026-08-19 15:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505801472001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385979652805492736,"note":"Value kept but may cause issues"} 
[2026-08-19 15:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416452421085159424,"note":"Value kept but may cause issues"} 
[2026-08-19 15:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787132048000,"timestamp_ms":1787132048000,"timestamp_seconds":1787132048,"priority":1,"record_length":96,"hex_timestamp":"000001a0195ef280"} 
[2026-08-19 15:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:06: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-08-19 15:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 15:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505801472001,"66":27321,"159":206,"2":54272,"24":10,"16":385979652805492736,"44":-1416452421085159424},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-08-19 15:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505801472001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:06:10] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-19 15:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385979652805492736,"km_value":385979652805492.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416452421085159424,"description":"Unknown IO ID 44"} 
[2026-08-19 15:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505801472001,"power":27321,"unknown_159":206,"power_alt":54272,"ignition":10,"odometer":null,"unknown_44":-1416452421085159424}} 
[2026-08-19 15:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":160178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:06:10] local.INFO: GPS data processed {"connection_id":160178,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:06:10] local.INFO: Acknowledgment sent {"connection_id":160178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:06:12] local.INFO: TCP Data received {"connection_id":160178,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0195f0dd8012cec5a0007180830002101672b..."} 
[2026-08-19 15:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195f0dd8012cec5a0007180830002101672b..."} 
[2026-08-19 15:06:12] local.INFO: Processing buffer {"connection_id":160178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195f0dd8012cec5a0007180830002101672b..."} 
[2026-08-19 15:06:12] local.INFO: Packet analysis {"connection_id":160178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195f"} 
[2026-08-19 15:06:12] local.INFO: Extracted packet for processing {"connection_id":160178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195f"} 
[2026-08-19 15:06:12] local.INFO: GPS Element Parsed {"raw_longitude":753687040,"raw_latitude":119015472,"longitude_deg":75.368704,"latitude_deg":11.9015472,"altitude":33,"angle":359,"satellites":43,"speed":9,"hex_longitude":"2cec5a00","hex_latitude":"07180830","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505804288001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385979785949478912,"note":"Value kept but may cause issues"} 
[2026-08-19 15:06:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416100577364039680,"note":"Value kept but may cause issues"} 
[2026-08-19 15:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787132055000,"timestamp_ms":1787132055000,"timestamp_seconds":1787132055,"priority":1,"record_length":96,"hex_timestamp":"000001a0195f0dd8"} 
[2026-08-19 15:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 15:06:12] 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-08-19 15: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-08-19 15:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505804288001,"66":27930,"159":206,"2":54272,"24":9,"16":385979785949478912,"44":-1416100577364039680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-08-19 15:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505804288001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:06:12] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-19 15:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385979785949478912,"km_value":385979785949478.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:06:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416100577364039680,"description":"Unknown IO ID 44"} 
[2026-08-19 15:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505804288001,"power":27930,"unknown_159":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-1416100577364039680}} 
[2026-08-19 15:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":160178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:06:12] local.INFO: GPS data processed {"connection_id":160178,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:06:12] local.INFO: Acknowledgment sent {"connection_id":160178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:06:14] local.INFO: TCP Data received {"connection_id":157626,"ip":"42.109.136.0","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-19 15:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157626,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-19 15:06:14] local.INFO: Processing buffer {"connection_id":157626,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-19 15:06:14] local.INFO: IMEI packet received {"connection_id":157626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":157626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:06:43] local.INFO: TCP Data received {"connection_id":160178,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0195f5fe0012cec5b0007180ec8002000042e..."} 
[2026-08-19 15:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195f5fe0012cec5b0007180ec8002000042e..."} 
[2026-08-19 15:06:43] local.INFO: Processing buffer {"connection_id":160178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195f5fe0012cec5b0007180ec8002000042e..."} 
[2026-08-19 15:06:43] local.INFO: Packet analysis {"connection_id":160178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195f"} 
[2026-08-19 15:06:43] local.INFO: Extracted packet for processing {"connection_id":160178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195f"} 
[2026-08-19 15:06:43] local.INFO: GPS Element Parsed {"raw_longitude":753687296,"raw_latitude":119017160,"longitude_deg":75.3687296,"latitude_deg":11.901716,"altitude":32,"angle":4,"satellites":46,"speed":7,"hex_longitude":"2cec5b00","hex_latitude":"07180ec8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505806080001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385979871848824832,"note":"Value kept but may cause issues"} 
[2026-08-19 15:06:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415819102386638848,"note":"Value kept but may cause issues"} 
[2026-08-19 15:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787132076000,"timestamp_ms":1787132076000,"timestamp_seconds":1787132076,"priority":1,"record_length":96,"hex_timestamp":"000001a0195f5fe0"} 
[2026-08-19 15:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:06:43] 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-08-19 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 15:06:43] 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-08-19 15: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-08-19 15:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505806080001,"66":28006,"159":206,"2":54272,"24":7,"16":385979871848824832,"44":-1415819102386638848},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-08-19 15:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505806080001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:06:43] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-19 15:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385979871848824832,"km_value":385979871848824.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:06:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415819102386638848,"description":"Unknown IO ID 44"} 
[2026-08-19 15:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505806080001,"power":28006,"unknown_159":206,"power_alt":54272,"ignition":7,"odometer":null,"unknown_44":-1415819102386638848}} 
[2026-08-19 15:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":160178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:06:43] local.INFO: GPS data processed {"connection_id":160178,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:06:43] local.INFO: Acknowledgment sent {"connection_id":160178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:06:59] local.INFO: TCP Data received {"connection_id":158005,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:06:59] local.INFO: Processing buffer {"connection_id":158005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:06:59] local.INFO: IMEI packet received {"connection_id":158005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":158005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:07:04] local.INFO: TCP Data received {"connection_id":158005,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:07:04] local.INFO: Processing buffer {"connection_id":158005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:07:04] local.INFO: IMEI packet received {"connection_id":158005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":158005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:07:06] local.INFO: TCP Data received {"connection_id":158005,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0195f9a78012cec5d0007181c40001f00102d..."} 
[2026-08-19 15:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195f9a78012cec5d0007181c40001f00102d..."} 
[2026-08-19 15:07:06] local.INFO: Processing buffer {"connection_id":158005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195f9a78012cec5d0007181c40001f00102d..."} 
[2026-08-19 15:07:06] local.INFO: Packet analysis {"connection_id":158005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195f"} 
[2026-08-19 15:07:06] local.INFO: Extracted packet for processing {"connection_id":158005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195f"} 
[2026-08-19 15:07:06] local.INFO: GPS Element Parsed {"raw_longitude":753687808,"raw_latitude":119020608,"longitude_deg":75.3687808,"latitude_deg":11.9020608,"altitude":31,"angle":16,"satellites":45,"speed":9,"hex_longitude":"2cec5d00","hex_latitude":"07181c40","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505811456001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385980043647516672,"note":"Value kept but may cause issues"} 
[2026-08-19 15:07:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415537627409496064,"note":"Value kept but may cause issues"} 
[2026-08-19 15:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787132091000,"timestamp_ms":1787132091000,"timestamp_seconds":1787132091,"priority":1,"record_length":96,"hex_timestamp":"000001a0195f9a78"} 
[2026-08-19 15:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:07: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-08-19 15: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 15:07:06] 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-08-19 15: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-08-19 15:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505811456001,"66":27930,"80":206,"2":54272,"24":9,"16":385980043647516672,"44":-1415537627409496064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,2,24,16,44]} 
[2026-08-19 15:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505811456001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:07:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-19 15:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385980043647516672,"km_value":385980043647516.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:07:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415537627409496064,"description":"Unknown IO ID 44"} 
[2026-08-19 15:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505811456001,"power":27930,"unknown_80":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-1415537627409496064}} 
[2026-08-19 15:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":158005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:07:06] local.INFO: GPS data processed {"connection_id":158005,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:07:06] local.INFO: Acknowledgment sent {"connection_id":158005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:07:38] local.INFO: TCP Data received {"connection_id":158005,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0195fec80012cec614007182d80001e00112e..."} 
[2026-08-19 15:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0195fec80012cec614007182d80001e00112e..."} 
[2026-08-19 15:07:38] local.INFO: Processing buffer {"connection_id":158005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0195fec80012cec614007182d80001e00112e..."} 
[2026-08-19 15:07:38] local.INFO: Packet analysis {"connection_id":158005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0195f"} 
[2026-08-19 15:07:38] local.INFO: Extracted packet for processing {"connection_id":158005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0195f"} 
[2026-08-19 15:07:38] local.INFO: GPS Element Parsed {"raw_longitude":753688896,"raw_latitude":119025024,"longitude_deg":75.3688896,"latitude_deg":11.9025024,"altitude":30,"angle":17,"satellites":46,"speed":0,"hex_longitude":"2cec6140","hex_latitude":"07182d80","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505815296001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385980266985816064,"note":"Value kept but may cause issues"} 
[2026-08-19 15:07:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1414974677455192064,"note":"Value kept but may cause issues"} 
[2026-08-19 15:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787132112000,"timestamp_ms":1787132112000,"timestamp_seconds":1787132112,"priority":1,"record_length":96,"hex_timestamp":"000001a0195fec80"} 
[2026-08-19 15:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 15:07:38] 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-08-19 15: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-08-19 15:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505815296001,"66":28050,"80":206,"2":54272,"24":0,"16":385980266985816064,"44":-1414974677455192064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,2,24,16,44]} 
[2026-08-19 15:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505815296001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:07:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-19 15:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385980266985816064,"km_value":385980266985816.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:07:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1414974677455192064,"description":"Unknown IO ID 44"} 
[2026-08-19 15:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505815296001,"power":28050,"unknown_80":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1414974677455192064}} 
[2026-08-19 15:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":158005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:07:38] local.INFO: GPS data processed {"connection_id":158005,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:07:38] local.INFO: Acknowledgment sent {"connection_id":158005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:07:59] local.INFO: TCP Data received {"connection_id":160180,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:07:59] local.INFO: Processing buffer {"connection_id":160180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:07:59] local.INFO: IMEI packet received {"connection_id":160180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":160180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:08:03] local.INFO: TCP Data received {"connection_id":160180,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:08:03] local.INFO: Processing buffer {"connection_id":160180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:08:03] local.INFO: IMEI packet received {"connection_id":160180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":160180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:08:04] local.INFO: TCP Data received {"connection_id":160180,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019603e88012cec634007183468001f000f31..."} 
[2026-08-19 15:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019603e88012cec634007183468001f000f31..."} 
[2026-08-19 15:08:04] local.INFO: Processing buffer {"connection_id":160180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019603e88012cec634007183468001f000f31..."} 
[2026-08-19 15:08:04] local.INFO: Packet analysis {"connection_id":160180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01960"} 
[2026-08-19 15:08:04] local.INFO: Extracted packet for processing {"connection_id":160180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01960"} 
[2026-08-19 15:08:04] local.INFO: GPS Element Parsed {"raw_longitude":753689408,"raw_latitude":119026792,"longitude_deg":75.3689408,"latitude_deg":11.9026792,"altitude":31,"angle":15,"satellites":49,"speed":0,"hex_longitude":"2cec6340","hex_latitude":"07183468","is_valid_coordinates":true} 
[2026-08-19 15:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505820672001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385980361475096576,"note":"Value kept but may cause issues"} 
[2026-08-19 15:08:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413778408803041280,"note":"Value kept but may cause issues"} 
[2026-08-19 15:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787132133000,"timestamp_ms":1787132133000,"timestamp_seconds":1787132133,"priority":1,"record_length":96,"hex_timestamp":"000001a019603e88"} 
[2026-08-19 15:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:08: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-08-19 15:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 15:08:04] 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-08-19 15:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505820672001,"66":27615,"80":206,"2":54272,"24":0,"16":385980361475096576,"44":-1413778408803041280},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,2,24,16,44]} 
[2026-08-19 15:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505820672001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:08:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-19 15:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385980361475096576,"km_value":385980361475096.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:08:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413778408803041280,"description":"Unknown IO ID 44"} 
[2026-08-19 15:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505820672001,"power":27615,"unknown_80":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1413778408803041280}} 
[2026-08-19 15:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":160180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:08:04] local.INFO: GPS data processed {"connection_id":160180,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:08:04] local.INFO: Acknowledgment sent {"connection_id":160180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:08:13] local.INFO: TCP Data received {"connection_id":160181,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:08:13] local.INFO: Processing buffer {"connection_id":160181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:08:13] local.INFO: IMEI packet received {"connection_id":160181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":160181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:08:14] local.INFO: TCP Data received {"connection_id":160181,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019619a30012d19ac80072090a80032000429..."} 
[2026-08-19 15:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019619a30012d19ac80072090a80032000429..."} 
[2026-08-19 15:08:14] local.INFO: Processing buffer {"connection_id":160181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019619a30012d19ac80072090a80032000429..."} 
[2026-08-19 15:08:14] local.INFO: Packet analysis {"connection_id":160181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01961"} 
[2026-08-19 15:08:14] local.INFO: Extracted packet for processing {"connection_id":160181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01961"} 
[2026-08-19 15:08:14] local.INFO: GPS Element Parsed {"raw_longitude":756657280,"raw_latitude":119574696,"longitude_deg":75.665728,"latitude_deg":11.9574696,"altitude":50,"angle":4,"satellites":41,"speed":30,"hex_longitude":"2d19ac80","hex_latitude":"072090a8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505847808001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13777756869361664,"note":"Value kept but may cause issues"} 
[2026-08-19 15:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896250421248,"note":"Value kept but may cause issues"} 
[2026-08-19 15:08: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-08-19 15:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787132222000,"timestamp_ms":1787132222000,"timestamp_seconds":1787132222,"priority":1,"record_length":96,"hex_timestamp":"000001a019619a30"} 
[2026-08-19 15:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:08: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-08-19 15: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-19 15:08:14] 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-08-19 15: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-08-19 15:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505847808001,"66":13863,"121":206,"28":31744,"24":30,"16":13777756869361664,"45":1850486896250421248},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505847808001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:08:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:08:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13777756869361664,"km_value":13777756869361.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896250421248,"description":"Unknown IO ID 45"} 
[2026-08-19 15:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505847808001,"power":13863,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1850486896250421248}} 
[2026-08-19 15:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":160181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:08:15] local.INFO: GPS data processed {"connection_id":160181,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:08:15] local.INFO: Acknowledgment sent {"connection_id":160181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:08:36] local.INFO: TCP Data received {"connection_id":160180,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019609090012cec65c007183b30001f000f30..."} 
[2026-08-19 15:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019609090012cec65c007183b30001f000f30..."} 
[2026-08-19 15:08:36] local.INFO: Processing buffer {"connection_id":160180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019609090012cec65c007183b30001f000f30..."} 
[2026-08-19 15:08:36] local.INFO: Packet analysis {"connection_id":160180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01960"} 
[2026-08-19 15:08:36] local.INFO: Extracted packet for processing {"connection_id":160180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01960"} 
[2026-08-19 15:08:36] local.INFO: GPS Element Parsed {"raw_longitude":753690048,"raw_latitude":119028528,"longitude_deg":75.3690048,"latitude_deg":11.9028528,"altitude":31,"angle":15,"satellites":48,"speed":0,"hex_longitude":"2cec65c0","hex_latitude":"07183b30","is_valid_coordinates":true} 
[2026-08-19 15:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505826048001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385980455964377088,"note":"Value kept but may cause issues"} 
[2026-08-19 15:08:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413215458849167360,"note":"Value kept but may cause issues"} 
[2026-08-19 15:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787132154000,"timestamp_ms":1787132154000,"timestamp_seconds":1787132154,"priority":1,"record_length":96,"hex_timestamp":"000001a019609090"} 
[2026-08-19 15:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:08: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-08-19 15:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-19 15:08:36] 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-08-19 15:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505826048001,"66":28050,"80":206,"2":54272,"24":0,"16":385980455964377088,"44":-1413215458849167360},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,2,24,16,44]} 
[2026-08-19 15:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505826048001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:08:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-19 15:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385980455964377088,"km_value":385980455964377.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:08:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413215458849167360,"description":"Unknown IO ID 44"} 
[2026-08-19 15:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505826048001,"power":28050,"unknown_80":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1413215458849167360}} 
[2026-08-19 15:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":160180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:08:36] local.INFO: GPS data processed {"connection_id":160180,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:08:36] local.INFO: Acknowledgment sent {"connection_id":160180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:08:46] local.INFO: TCP Data received {"connection_id":160181,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019619e18012d19ad40072093a80033001129..."} 
[2026-08-19 15:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019619e18012d19ad40072093a80033001129..."} 
[2026-08-19 15:08:46] local.INFO: Processing buffer {"connection_id":160181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019619e18012d19ad40072093a80033001129..."} 
[2026-08-19 15:08:46] local.INFO: Packet analysis {"connection_id":160181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01961"} 
[2026-08-19 15:08:46] local.INFO: Extracted packet for processing {"connection_id":160181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01961"} 
[2026-08-19 15:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119575464,"longitude_deg":75.6657472,"latitude_deg":11.9575464,"altitude":51,"angle":17,"satellites":41,"speed":31,"hex_longitude":"2d19ad40","hex_latitude":"072093a8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505848832001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13777795524067328,"note":"Value kept but may cause issues"} 
[2026-08-19 15:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849994315041908736,"note":"Value kept but may cause issues"} 
[2026-08-19 15:08: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-08-19 15:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787132223000,"timestamp_ms":1787132223000,"timestamp_seconds":1787132223,"priority":1,"record_length":96,"hex_timestamp":"000001a019619e18"} 
[2026-08-19 15:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-19 15:08:46] 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-08-19 15: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-08-19 15:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505848832001,"66":13298,"121":206,"28":31744,"24":31,"16":13777795524067328,"45":1849994315041908736},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505848832001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:08:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:08:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13777795524067328,"km_value":13777795524067.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849994315041908736,"description":"Unknown IO ID 45"} 
[2026-08-19 15:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505848832001,"power":13298,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1849994315041908736}} 
[2026-08-19 15:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":160181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:08:46] local.INFO: GPS data processed {"connection_id":160181,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:08:46] local.INFO: Acknowledgment sent {"connection_id":160181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:08:58] local.INFO: TCP Data received {"connection_id":158866,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:08:58] local.INFO: Processing buffer {"connection_id":158866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:08:58] local.INFO: IMEI packet received {"connection_id":158866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":158866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:08:59] local.INFO: TCP Data received {"connection_id":158866,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:08:59] local.INFO: Processing buffer {"connection_id":158866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:08:59] local.INFO: IMEI packet received {"connection_id":158866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":158866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:09:04] local.INFO: TCP Data received {"connection_id":158866,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:09:04] local.INFO: Processing buffer {"connection_id":158866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:09:04] local.INFO: IMEI packet received {"connection_id":158866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":158866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:09:06] local.INFO: TCP Data received {"connection_id":158866,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196280a8012cec1c0007191048002301432e..."} 
[2026-08-19 15:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196280a8012cec1c0007191048002301432e..."} 
[2026-08-19 15:09:06] local.INFO: Processing buffer {"connection_id":158866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196280a8012cec1c0007191048002301432e..."} 
[2026-08-19 15:09:06] local.INFO: Packet analysis {"connection_id":158866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01962"} 
[2026-08-19 15:09:06] local.INFO: Extracted packet for processing {"connection_id":158866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01962"} 
[2026-08-19 15:09:06] local.INFO: GPS Element Parsed {"raw_longitude":753671168,"raw_latitude":119083080,"longitude_deg":75.3671168,"latitude_deg":11.908308,"altitude":35,"angle":323,"satellites":46,"speed":27,"hex_longitude":"2cec1c00","hex_latitude":"07191048","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505859840001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385983402311942144,"note":"Value kept but may cause issues"} 
[2026-08-19 15:09:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1426655888974479360,"note":"Value kept but may cause issues"} 
[2026-08-19 15:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787132281000,"timestamp_ms":1787132281000,"timestamp_seconds":1787132281,"priority":1,"record_length":96,"hex_timestamp":"000001a0196280a8"} 
[2026-08-19 15:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:09: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-08-19 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 15:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505859840001,"66":27213,"174":206,"2":54272,"24":27,"16":385983402311942144,"44":-1426655888974479360},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-08-19 15:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505859840001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:09:06] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-19 15:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385983402311942144,"km_value":385983402311942.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:09:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1426655888974479360,"description":"Unknown IO ID 44"} 
[2026-08-19 15:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505859840001,"power":27213,"unknown_174":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-1426655888974479360}} 
[2026-08-19 15:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":158866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:09:06] local.INFO: GPS data processed {"connection_id":158866,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:09:06] local.INFO: Acknowledgment sent {"connection_id":158866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:09:08] local.INFO: TCP Data received {"connection_id":160182,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:09:08] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:09:08] local.INFO: IMEI packet received {"connection_id":160182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":160182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:09:12] local.INFO: TCP Data received {"connection_id":160182,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:09:12] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:09:12] local.INFO: IMEI packet received {"connection_id":160182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":160182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:09:13] local.INFO: TCP Data received {"connection_id":160182,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:09:13] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:09:13] local.INFO: IMEI packet received {"connection_id":160182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":160182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:09:15] local.INFO: TCP Data received {"connection_id":160182,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0196280a8012d193ec00720b0600033012929..."} 
[2026-08-19 15:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196280a8012d193ec00720b0600033012929..."} 
[2026-08-19 15:09:15] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196280a8012d193ec00720b0600033012929..."} 
[2026-08-19 15:09:15] local.INFO: Packet analysis {"connection_id":160182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01962"} 
[2026-08-19 15:09:15] local.INFO: Extracted packet for processing {"connection_id":160182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01962"} 
[2026-08-19 15:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119582816,"longitude_deg":75.6629184,"latitude_deg":11.9582816,"altitude":51,"angle":297,"satellites":41,"speed":40,"hex_longitude":"2d193ec0","hex_latitude":"0720b060","is_valid_coordinates":true} 
[2026-08-19 15:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505862912001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13779642360004608,"note":"Value kept but may cause issues"} 
[2026-08-19 15:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823043086023602176,"note":"Value kept but may cause issues"} 
[2026-08-19 15:09: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-08-19 15:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787132281000,"timestamp_ms":1787132281000,"timestamp_seconds":1787132281,"priority":1,"record_length":96,"hex_timestamp":"000001a0196280a8"} 
[2026-08-19 15:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:09: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-08-19 15:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 15:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505862912001,"66":14048,"121":206,"28":31744,"24":40,"16":13779642360004608,"45":1823043086023602176},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505862912001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:09:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:09:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13779642360004608,"km_value":13779642360004.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823043086023602176,"description":"Unknown IO ID 45"} 
[2026-08-19 15:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505862912001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1823043086023602176}} 
[2026-08-19 15:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":160182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:09:15] local.INFO: GPS data processed {"connection_id":160182,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:09:15] local.INFO: Acknowledgment sent {"connection_id":160182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:09:17] local.INFO: TCP Data received {"connection_id":160182,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01962a3d0012d191dc00720c0100033012228..."} 
[2026-08-19 15:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01962a3d0012d191dc00720c0100033012228..."} 
[2026-08-19 15:09:17] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01962a3d0012d191dc00720c0100033012228..."} 
[2026-08-19 15:09:17] local.INFO: Packet analysis {"connection_id":160182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01962"} 
[2026-08-19 15:09:17] local.INFO: Extracted packet for processing {"connection_id":160182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01962"} 
[2026-08-19 15:09:17] local.INFO: GPS Element Parsed {"raw_longitude":756620736,"raw_latitude":119586832,"longitude_deg":75.6620736,"latitude_deg":11.9586832,"altitude":51,"angle":290,"satellites":40,"speed":40,"hex_longitude":"2d191dc0","hex_latitude":"0720c010","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505863936001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13780089036603392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436349992960,"note":"Value kept but may cause issues"} 
[2026-08-19 15:09: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-08-19 15:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787132290000,"timestamp_ms":1787132290000,"timestamp_seconds":1787132290,"priority":1,"record_length":96,"hex_timestamp":"000001a01962a3d0"} 
[2026-08-19 15:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 15:09:17] 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-08-19 15: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-08-19 15:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505863936001,"66":14070,"121":206,"28":31744,"24":40,"16":13780089036603392,"45":1819102436349992960},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505863936001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:09:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:09:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13780089036603392,"km_value":13780089036603.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436349992960,"description":"Unknown IO ID 45"} 
[2026-08-19 15:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505863936001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1819102436349992960}} 
[2026-08-19 15:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":160182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:09:17] local.INFO: GPS data processed {"connection_id":160182,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:09:17] local.INFO: Acknowledgment sent {"connection_id":160182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:09:38] local.INFO: TCP Data received {"connection_id":158866,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019629c00012cec1500071918f8002201372c..."} 
[2026-08-19 15:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019629c00012cec1500071918f8002201372c..."} 
[2026-08-19 15:09:38] local.INFO: Processing buffer {"connection_id":158866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019629c00012cec1500071918f8002201372c..."} 
[2026-08-19 15:09:38] local.INFO: Packet analysis {"connection_id":158866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01962"} 
[2026-08-19 15:09:38] local.INFO: Extracted packet for processing {"connection_id":158866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01962"} 
[2026-08-19 15:09:38] local.INFO: GPS Element Parsed {"raw_longitude":753669376,"raw_latitude":119085304,"longitude_deg":75.3669376,"latitude_deg":11.9085304,"altitude":34,"angle":311,"satellites":44,"speed":9,"hex_longitude":"2cec1500","hex_latitude":"071918f8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505863936001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385983544045862912,"note":"Value kept but may cause issues"} 
[2026-08-19 15:09:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1433270550925391872,"note":"Value kept but may cause issues"} 
[2026-08-19 15:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787132288000,"timestamp_ms":1787132288000,"timestamp_seconds":1787132288,"priority":1,"record_length":96,"hex_timestamp":"000001a019629c00"} 
[2026-08-19 15:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 15:09:38] 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-08-19 15: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-08-19 15:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505863936001,"66":27821,"161":206,"2":54272,"24":9,"16":385983544045862912,"44":-1433270550925391872},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,2,24,16,44]} 
[2026-08-19 15:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505863936001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:09:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 15:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385983544045862912,"km_value":385983544045862.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:09:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1433270550925391872,"description":"Unknown IO ID 44"} 
[2026-08-19 15:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505863936001,"power":27821,"unknown_161":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-1433270550925391872}} 
[2026-08-19 15:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":158866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:09:38] local.INFO: GPS data processed {"connection_id":158866,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:09:38] local.INFO: Acknowledgment sent {"connection_id":158866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:09:48] local.INFO: TCP Data received {"connection_id":160182,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01962bb40012d1909c00720c9b80037012d27..."} 
[2026-08-19 15:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01962bb40012d1909c00720c9b80037012d27..."} 
[2026-08-19 15:09:48] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01962bb40012d1909c00720c9b80037012d27..."} 
[2026-08-19 15:09:48] local.INFO: Packet analysis {"connection_id":160182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01962"} 
[2026-08-19 15:09:48] local.INFO: Extracted packet for processing {"connection_id":160182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01962"} 
[2026-08-19 15:09:48] local.INFO: GPS Element Parsed {"raw_longitude":756615616,"raw_latitude":119589304,"longitude_deg":75.6615616,"latitude_deg":11.9589304,"altitude":55,"angle":301,"satellites":39,"speed":34,"hex_longitude":"2d1909c0","hex_latitude":"0720c9b8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505866240001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13780359619543040,"note":"Value kept but may cause issues"} 
[2026-08-19 15:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809813762119569408,"note":"Value kept but may cause issues"} 
[2026-08-19 15:09: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-08-19 15:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787132296000,"timestamp_ms":1787132296000,"timestamp_seconds":1787132296,"priority":1,"record_length":96,"hex_timestamp":"000001a01962bb40"} 
[2026-08-19 15:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-19 15:09:49] 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-08-19 15: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-08-19 15:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505866240001,"66":14048,"121":206,"28":31744,"24":34,"16":13780359619543040,"45":1809813762119569408},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505866240001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:09:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:09:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13780359619543040,"km_value":13780359619543.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809813762119569408,"description":"Unknown IO ID 45"} 
[2026-08-19 15:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505866240001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1809813762119569408}} 
[2026-08-19 15:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":160182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:09:49] local.INFO: GPS data processed {"connection_id":160182,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:09:49] local.INFO: Acknowledgment sent {"connection_id":160182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:10:00] local.INFO: TCP Data received {"connection_id":158006,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:10:00] local.INFO: Processing buffer {"connection_id":158006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:10:00] local.INFO: IMEI packet received {"connection_id":158006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":158006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:10:04] local.INFO: TCP Data received {"connection_id":158006,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:10:04] local.INFO: Processing buffer {"connection_id":158006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:10:04] local.INFO: IMEI packet received {"connection_id":158006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":158006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:10:05] local.INFO: TCP Data received {"connection_id":158006,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01962cae0012cec010007192ad0002401282b..."} 
[2026-08-19 15:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01962cae0012cec010007192ad0002401282b..."} 
[2026-08-19 15:10:05] local.INFO: Processing buffer {"connection_id":158006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01962cae0012cec010007192ad0002401282b..."} 
[2026-08-19 15:10:05] local.INFO: Packet analysis {"connection_id":158006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01962"} 
[2026-08-19 15:10:05] local.INFO: Extracted packet for processing {"connection_id":158006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01962"} 
[2026-08-19 15:10:05] local.INFO: GPS Element Parsed {"raw_longitude":753664256,"raw_latitude":119089872,"longitude_deg":75.3664256,"latitude_deg":11.9089872,"altitude":36,"angle":296,"satellites":43,"speed":27,"hex_longitude":"2cec0100","hex_latitude":"07192ad0","is_valid_coordinates":true} 
[2026-08-19 15:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505865728001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385983874758344704,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1435240875761797120,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787132300000,"timestamp_ms":1787132300000,"timestamp_seconds":1787132300,"priority":1,"record_length":96,"hex_timestamp":"000001a01962cae0"} 
[2026-08-19 15:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 15:10: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-08-19 15:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505865728001,"66":27919,"161":206,"2":54272,"24":27,"16":385983874758344704,"44":-1435240875761797120},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,2,24,16,44]} 
[2026-08-19 15:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505865728001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:10:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 15:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385983874758344704,"km_value":385983874758344.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:10:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1435240875761797120,"description":"Unknown IO ID 44"} 
[2026-08-19 15:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505865728001,"power":27919,"unknown_161":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-1435240875761797120}} 
[2026-08-19 15:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":158006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:10:05] local.INFO: GPS data processed {"connection_id":158006,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:10:05] local.INFO: Acknowledgment sent {"connection_id":158006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:10:08] local.INFO: TCP Data received {"connection_id":158007,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:10:08] local.INFO: Processing buffer {"connection_id":158007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:10:08] local.INFO: IMEI packet received {"connection_id":158007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":158007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:10:12] local.INFO: TCP Data received {"connection_id":158007,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:10:12] local.INFO: Processing buffer {"connection_id":158007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:10:12] local.INFO: IMEI packet received {"connection_id":158007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":158007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:10:13] local.INFO: TCP Data received {"connection_id":158007,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:10:13] local.INFO: Processing buffer {"connection_id":158007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:10:13] local.INFO: IMEI packet received {"connection_id":158007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":158007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:10:15] local.INFO: TCP Data received {"connection_id":158007,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01962de68012d18f1c00720dad0003c013d28..."} 
[2026-08-19 15:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01962de68012d18f1c00720dad0003c013d28..."} 
[2026-08-19 15:10:15] local.INFO: Processing buffer {"connection_id":158007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01962de68012d18f1c00720dad0003c013d28..."} 
[2026-08-19 15:10:15] local.INFO: Packet analysis {"connection_id":158007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01962"} 
[2026-08-19 15:10:15] local.INFO: Extracted packet for processing {"connection_id":158007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01962"} 
[2026-08-19 15:10:15] local.INFO: GPS Element Parsed {"raw_longitude":756609472,"raw_latitude":119593680,"longitude_deg":75.6609472,"latitude_deg":11.959368,"altitude":60,"angle":317,"satellites":40,"speed":36,"hex_longitude":"2d18f1c0","hex_latitude":"0720dad0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505867776001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13780720396795904,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804184262585989120,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10: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-08-19 15:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787132305000,"timestamp_ms":1787132305000,"timestamp_seconds":1787132305,"priority":1,"record_length":96,"hex_timestamp":"000001a01962de68"} 
[2026-08-19 15:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:10: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-08-19 15: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 15:10:15] 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-08-19 15: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-08-19 15:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505867776001,"66":14048,"121":206,"28":31744,"24":36,"16":13780720396795904,"45":1804184262585989120},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505867776001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:10:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:10:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13780720396795904,"km_value":13780720396795.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804184262585989120,"description":"Unknown IO ID 45"} 
[2026-08-19 15:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505867776001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1804184262585989120}} 
[2026-08-19 15:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":158007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:10:15] local.INFO: GPS data processed {"connection_id":158007,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:10:15] local.INFO: Acknowledgment sent {"connection_id":158007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:10:16] local.INFO: TCP Data received {"connection_id":158007,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01962ea20012d18eb800720e460003c014a28..."} 
[2026-08-19 15:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01962ea20012d18eb800720e460003c014a28..."} 
[2026-08-19 15:10:16] local.INFO: Processing buffer {"connection_id":158007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01962ea20012d18eb800720e460003c014a28..."} 
[2026-08-19 15:10:16] local.INFO: Packet analysis {"connection_id":158007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01962"} 
[2026-08-19 15:10:16] local.INFO: Extracted packet for processing {"connection_id":158007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01962"} 
[2026-08-19 15:10:16] local.INFO: GPS Element Parsed {"raw_longitude":756607872,"raw_latitude":119596128,"longitude_deg":75.6607872,"latitude_deg":11.9596128,"altitude":60,"angle":330,"satellites":40,"speed":39,"hex_longitude":"2d18eb80","hex_latitude":"0720e460","is_valid_coordinates":true} 
[2026-08-19 15:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505870080001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13780862130716672,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797428863146053632,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10: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-08-19 15:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787132308000,"timestamp_ms":1787132308000,"timestamp_seconds":1787132308,"priority":1,"record_length":96,"hex_timestamp":"000001a01962ea20"} 
[2026-08-19 15:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:10: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-08-19 15:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 15:10: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-08-19 15:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505870080001,"66":13993,"121":206,"28":31744,"24":39,"16":13780862130716672,"45":1797428863146053632},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505870080001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:10:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:10:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13780862130716672,"km_value":13780862130716.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797428863146053632,"description":"Unknown IO ID 45"} 
[2026-08-19 15:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505870080001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1797428863146053632}} 
[2026-08-19 15:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":158007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:10:16] local.INFO: GPS data processed {"connection_id":158007,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:10:16] local.INFO: Acknowledgment sent {"connection_id":158007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:10:41] local.INFO: TCP Data received {"connection_id":158006,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01963a5a0012ceb9f400719aaa0001c014a2a..."} 
[2026-08-19 15:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01963a5a0012ceb9f400719aaa0001c014a2a..."} 
[2026-08-19 15:10:41] local.INFO: Processing buffer {"connection_id":158006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01963a5a0012ceb9f400719aaa0001c014a2a..."} 
[2026-08-19 15:10:41] local.INFO: Packet analysis {"connection_id":158006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01963"} 
[2026-08-19 15:10:41] local.INFO: Extracted packet for processing {"connection_id":158006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01963"} 
[2026-08-19 15:10:41] local.INFO: GPS Element Parsed {"raw_longitude":753639232,"raw_latitude":119122592,"longitude_deg":75.3639232,"latitude_deg":11.9122592,"altitude":28,"angle":330,"satellites":42,"speed":41,"hex_longitude":"2ceb9f40","hex_latitude":"0719aaa0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505880832001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385985923457744896,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1463247635936944128,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787132356000,"timestamp_ms":1787132356000,"timestamp_seconds":1787132356,"priority":1,"record_length":96,"hex_timestamp":"000001a01963a5a0"} 
[2026-08-19 15:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:10: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-08-19 15: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-19 15:10:41] 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-08-19 15: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-08-19 15:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505880832001,"66":27908,"162":206,"2":54272,"24":41,"16":385985923457744896,"44":-1463247635936944128},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-08-19 15:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505880832001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:10:41] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-19 15:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385985923457744896,"km_value":385985923457744.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:10:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1463247635936944128,"description":"Unknown IO ID 44"} 
[2026-08-19 15:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505880832001,"power":27908,"unknown_162":206,"power_alt":54272,"ignition":41,"odometer":null,"unknown_44":-1463247635936944128}} 
[2026-08-19 15:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":158006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:10:41] local.INFO: GPS data processed {"connection_id":158006,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:10:41] local.INFO: Acknowledgment sent {"connection_id":158006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:10:48] local.INFO: TCP Data received {"connection_id":158007,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019645d38012d18df4007214d680049008c2a..."} 
[2026-08-19 15:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019645d38012d18df4007214d680049008c2a..."} 
[2026-08-19 15:10:48] local.INFO: Processing buffer {"connection_id":158007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019645d38012d18df4007214d680049008c2a..."} 
[2026-08-19 15:10:48] local.INFO: Packet analysis {"connection_id":158007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:10:48] local.INFO: Extracted packet for processing {"connection_id":158007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:10:48] local.INFO: GPS Element Parsed {"raw_longitude":756604736,"raw_latitude":119623016,"longitude_deg":75.6604736,"latitude_deg":11.9623016,"altitude":73,"angle":140,"satellites":42,"speed":7,"hex_longitude":"2d18df40","hex_latitude":"07214d68","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505894656001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13782739031425024,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792010469852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10: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-08-19 15:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787132403000,"timestamp_ms":1787132403000,"timestamp_seconds":1787132403,"priority":1,"record_length":96,"hex_timestamp":"000001a019645d38"} 
[2026-08-19 15:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 15:10:48] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":67108864,"corrected_to":0} 
[2026-08-19 15:10:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10:48] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4564398505830459392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 15:10:48] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402215,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10:48] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4143906816,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10:48] local.WARNING: Large IO value detected {"io_id":60,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10:48] local.WARNING: Large IO value detected {"io_id":99,"raw_value":-1727129163895881721,"note":"Value kept but may cause issues"} 
[2026-08-19 15:10:48] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,247,160,81,45,80,71,42,10,66,77,192,19,1,240,137,25,33,4,113,205,6,7,196,224,239,54,2,48,60,99],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":247,"original":67108864,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 15:10:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116265274647904256,"timestamp_seconds":5116265274647904.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 15:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":158007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":158007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":158007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505894656001,"66":14298,"121":206,"28":31744,"24":7,"16":13782739031425024,"45":1792010469852004352},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505894656001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:10:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:10:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13782739031425024,"km_value":13782739031425.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792010469852004352,"description":"Unknown IO ID 45"} 
[2026-08-19 15:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505894656001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1792010469852004352}} 
[2026-08-19 15:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":158007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:10:49] local.INFO: GPS data processed {"connection_id":158007,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:10:49] local.INFO: Acknowledgment sent {"connection_id":158007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:10:59] local.INFO: TCP Data received {"connection_id":158867,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:10:59] local.INFO: Processing buffer {"connection_id":158867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:10:59] local.INFO: IMEI packet received {"connection_id":158867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":158867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:11:04] local.INFO: TCP Data received {"connection_id":158867,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:11:04] local.INFO: Processing buffer {"connection_id":158867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:11:04] local.INFO: IMEI packet received {"connection_id":158867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":158867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:11:05] local.INFO: TCP Data received {"connection_id":158867,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01963ccb0012ceb8c400719cb90001b014c2b..."} 
[2026-08-19 15:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01963ccb0012ceb8c400719cb90001b014c2b..."} 
[2026-08-19 15:11:05] local.INFO: Processing buffer {"connection_id":158867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01963ccb0012ceb8c400719cb90001b014c2b..."} 
[2026-08-19 15:11:05] local.INFO: Packet analysis {"connection_id":158867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01963"} 
[2026-08-19 15:11:05] local.INFO: Extracted packet for processing {"connection_id":158867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01963"} 
[2026-08-19 15:11:05] local.INFO: GPS Element Parsed {"raw_longitude":753634368,"raw_latitude":119131024,"longitude_deg":75.3634368,"latitude_deg":11.9131024,"altitude":27,"angle":332,"satellites":43,"speed":33,"hex_longitude":"2ceb8c40","hex_latitude":"0719cb90","is_valid_coordinates":true} 
[2026-08-19 15:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505883136001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385986391609180160,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1468384554259931136,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787132366000,"timestamp_ms":1787132366000,"timestamp_seconds":1787132366,"priority":1,"record_length":96,"hex_timestamp":"000001a01963ccb0"} 
[2026-08-19 15:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 15:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505883136001,"66":27865,"162":206,"2":54272,"24":33,"16":385986391609180160,"44":-1468384554259931136},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-08-19 15:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505883136001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:11:05] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-19 15:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385986391609180160,"km_value":385986391609180.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:11:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1468384554259931136,"description":"Unknown IO ID 44"} 
[2026-08-19 15:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505883136001,"power":27865,"unknown_162":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-1468384554259931136}} 
[2026-08-19 15:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":158867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:11:05] local.INFO: GPS data processed {"connection_id":158867,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:11:05] local.INFO: Acknowledgment sent {"connection_id":158867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:11:14] local.INFO: TCP Data received {"connection_id":158008,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:11:14] local.INFO: Processing buffer {"connection_id":158008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:11:14] local.INFO: IMEI packet received {"connection_id":158008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":158008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:11:16] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:11:16] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:11:16] local.INFO: IMEI packet received {"connection_id":160183,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":160183,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:11:18] local.INFO: TCP Data received {"connection_id":158008,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:11:18] local.INFO: Processing buffer {"connection_id":158008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:11:18] local.INFO: IMEI packet received {"connection_id":158008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":158008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:11:18] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:11:18] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:11:18] local.INFO: IMEI packet received {"connection_id":160183,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":160183,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:11:19] local.INFO: TCP Data received {"connection_id":158008,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019646120012d18e00007214d080049006f2a..."} 
[2026-08-19 15:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019646120012d18e00007214d080049006f2a..."} 
[2026-08-19 15:11:19] local.INFO: Processing buffer {"connection_id":158008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019646120012d18e00007214d080049006f2a..."} 
[2026-08-19 15:11:19] local.INFO: Packet analysis {"connection_id":158008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:11:19] local.INFO: Extracted packet for processing {"connection_id":158008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:11:19] local.INFO: GPS Element Parsed {"raw_longitude":756604928,"raw_latitude":119622920,"longitude_deg":75.6604928,"latitude_deg":11.962292,"altitude":73,"angle":111,"satellites":42,"speed":6,"hex_longitude":"2d18e000","hex_latitude":"07214d08","is_valid_coordinates":true} 
[2026-08-19 15:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505895168001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13782747621359616,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792221576084416512,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787132404000,"timestamp_ms":1787132404000,"timestamp_seconds":1787132404,"priority":1,"record_length":96,"hex_timestamp":"000001a019646120"} 
[2026-08-19 15:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:11: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-08-19 15:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-19 15:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505895168001,"66":14298,"121":206,"28":31744,"24":6,"16":13782747621359616,"45":1792221576084416512},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505895168001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:11:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:11:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13782747621359616,"km_value":13782747621359.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792221576084416512,"description":"Unknown IO ID 45"} 
[2026-08-19 15:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505895168001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1792221576084416512}} 
[2026-08-19 15:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":158008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:11:19] local.INFO: GPS data processed {"connection_id":158008,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:11:19] local.INFO: Acknowledgment sent {"connection_id":158008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:11:20] local.INFO: TCP Data received {"connection_id":158008,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0196468f0012d18e14007214cb80049005e2a..."} 
[2026-08-19 15:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196468f0012d18e14007214cb80049005e2a..."} 
[2026-08-19 15:11:20] local.INFO: Processing buffer {"connection_id":158008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196468f0012d18e14007214cb80049005e2a..."} 
[2026-08-19 15:11:20] local.INFO: Packet analysis {"connection_id":158008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:11:20] local.INFO: Extracted packet for processing {"connection_id":158008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:11:20] local.INFO: GPS Element Parsed {"raw_longitude":756605248,"raw_latitude":119622840,"longitude_deg":75.6605248,"latitude_deg":11.962284,"altitude":73,"angle":94,"satellites":42,"speed":7,"hex_longitude":"2d18e140","hex_latitude":"07214cb8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505895424001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13782764801228800,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792432682316924928,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787132406000,"timestamp_ms":1787132406000,"timestamp_seconds":1787132406,"priority":1,"record_length":96,"hex_timestamp":"000001a0196468f0"} 
[2026-08-19 15:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-19 15:11: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-08-19 15: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-08-19 15:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505895424001,"66":14341,"121":206,"28":31744,"24":7,"16":13782764801228800,"45":1792432682316924928},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505895424001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:11:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:11:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13782764801228800,"km_value":13782764801228.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792432682316924928,"description":"Unknown IO ID 45"} 
[2026-08-19 15:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505895424001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1792432682316924928}} 
[2026-08-19 15:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":158008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:11:20] local.INFO: GPS data processed {"connection_id":158008,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:11:20] local.INFO: Acknowledgment sent {"connection_id":158008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:11:21] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:11:21] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:11:21] local.INFO: IMEI packet received {"connection_id":160183,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":160183,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:11:22] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01964c2c8012d07c5000702bc00002a00641f..."} 
[2026-08-19 15:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01964c2c8012d07c5000702bc00002a00641f..."} 
[2026-08-19 15:11:22] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01964c2c8012d07c5000702bc00002a00641f..."} 
[2026-08-19 15:11:22] local.INFO: Packet analysis {"connection_id":160183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:11:22] local.INFO: Extracted packet for processing {"connection_id":160183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:11:22] local.INFO: GPS Element Parsed {"raw_longitude":755483904,"raw_latitude":117619712,"longitude_deg":75.5483904,"latitude_deg":11.7619712,"altitude":42,"angle":100,"satellites":31,"speed":42,"hex_longitude":"2d07c500","hex_latitude":"0702bc00","is_valid_coordinates":true} 
[2026-08-19 15:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28843716164714496,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:22] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-08-19 15:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787132429000,"timestamp_ms":1787132429000,"timestamp_seconds":1787132429,"priority":1,"record_length":96,"hex_timestamp":"000001a01964c2c8"} 
[2026-08-19 15:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:11:22] 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-08-19 15:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 15:11: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-08-19 15: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-08-19 15:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14537,"24":42,"16":28843716164714496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16]} 
[2026-08-19 15:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-19 15:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28843716164714496,"km_value":28843716164714.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:11:22] local.INFO: IO Data Validated and Processed {"original_count":4,"validated_count":4,"validated_data":{"unknown_0":0,"power":14537,"ignition":42,"odometer":null}} 
[2026-08-19 15:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":160183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665235,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:11:22] local.INFO: GPS data processed {"connection_id":160183,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:11:22] local.INFO: Acknowledgment sent {"connection_id":160183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:11:40] local.INFO: TCP Data received {"connection_id":158867,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019640360012ceb80c00719e260001c01572b..."} 
[2026-08-19 15:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019640360012ceb80c00719e260001c01572b..."} 
[2026-08-19 15:11:40] local.INFO: Processing buffer {"connection_id":158867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019640360012ceb80c00719e260001c01572b..."} 
[2026-08-19 15:11:40] local.INFO: Packet analysis {"connection_id":158867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:11:40] local.INFO: Extracted packet for processing {"connection_id":158867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:11:40] local.INFO: GPS Element Parsed {"raw_longitude":753631424,"raw_latitude":119136864,"longitude_deg":75.3631424,"latitude_deg":11.9136864,"altitude":28,"angle":343,"satellites":43,"speed":7,"hex_longitude":"2ceb80c0","hex_latitude":"0719e260","is_valid_coordinates":true} 
[2026-08-19 15:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505885696001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385986705141792768,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1473732578815275008,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787132380000,"timestamp_ms":1787132380000,"timestamp_seconds":1787132380,"priority":1,"record_length":96,"hex_timestamp":"000001a019640360"} 
[2026-08-19 15:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 15:11:40] 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-08-19 15:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505885696001,"66":27865,"162":206,"2":54272,"24":7,"16":385986705141792768,"44":-1473732578815275008},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-08-19 15:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505885696001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:11:40] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-19 15:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385986705141792768,"km_value":385986705141792.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:11:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1473732578815275008,"description":"Unknown IO ID 44"} 
[2026-08-19 15:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505885696001,"power":27865,"unknown_162":206,"power_alt":54272,"ignition":7,"odometer":null,"unknown_44":-1473732578815275008}} 
[2026-08-19 15:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":158867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:11:40] local.INFO: GPS data processed {"connection_id":158867,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:11:40] local.INFO: Acknowledgment sent {"connection_id":158867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:11:51] local.INFO: TCP Data received {"connection_id":158008,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01964b328012d18fcc007214a700048007b29..."} 
[2026-08-19 15:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01964b328012d18fcc007214a700048007b29..."} 
[2026-08-19 15:11:51] local.INFO: Processing buffer {"connection_id":158008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01964b328012d18fcc007214a700048007b29..."} 
[2026-08-19 15:11:51] local.INFO: Packet analysis {"connection_id":158008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:11:51] local.INFO: Extracted packet for processing {"connection_id":158008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756612288,"raw_latitude":119622256,"longitude_deg":75.6612288,"latitude_deg":11.9622256,"altitude":72,"angle":123,"satellites":41,"speed":8,"hex_longitude":"2d18fcc0","hex_latitude":"07214a70","is_valid_coordinates":true} 
[2026-08-19 15:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505895936001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13783104103645184,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792784526037792768,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787132425000,"timestamp_ms":1787132425000,"timestamp_seconds":1787132425,"priority":1,"record_length":96,"hex_timestamp":"000001a01964b328"} 
[2026-08-19 15:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 15:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6980985867,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:51] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503809930035200,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:51] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":1308622848,"corrected_to":0} 
[2026-08-19 15:11:51] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-19 15:11:51] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3221692753,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:51] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402215,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:51] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84751200230515027,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:51] local.WARNING: Large IO value detected {"io_id":88,"raw_value":19140526754235904,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:51] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,247,160,97,45,77,73,42,10,66,93,64,85,128,1,240,7,25,33,4,113,205,220,120,239,54,2,48,69,8,206,88],"length":529,"final_offset":659,"validated_count":38,"validation_warnings":[{"io_id":247,"original":1308622848,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-19 15:11:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260307899250835456,"timestamp_seconds":5260307899250835.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 15:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":158008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":158008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":158008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505895936001,"66":13167,"121":206,"28":31744,"24":8,"16":13783104103645184,"45":1792784526037792768},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505895936001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:11:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:11:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13783104103645184,"km_value":13783104103645.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792784526037792768,"description":"Unknown IO ID 45"} 
[2026-08-19 15:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505895936001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1792784526037792768}} 
[2026-08-19 15:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":158008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:11:52] local.INFO: GPS data processed {"connection_id":158008,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:11:52] local.INFO: Acknowledgment sent {"connection_id":158008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:11:54] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01964de20012d07e2800702b9080025005f20..."} 
[2026-08-19 15:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01964de20012d07e2800702b9080025005f20..."} 
[2026-08-19 15:11:54] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01964de20012d07e2800702b9080025005f20..."} 
[2026-08-19 15:11:54] local.INFO: Packet analysis {"connection_id":160183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:11:54] local.INFO: Extracted packet for processing {"connection_id":160183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:11:54] local.INFO: GPS Element Parsed {"raw_longitude":755491456,"raw_latitude":117618952,"longitude_deg":75.5491456,"latitude_deg":11.7618952,"altitude":37,"angle":95,"satellites":32,"speed":34,"hex_longitude":"2d07e280","hex_latitude":"0702b908","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505901824001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28844076941967360,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":559853758788141056,"note":"Value kept but may cause issues"} 
[2026-08-19 15:11:54] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-19 15:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787132436000,"timestamp_ms":1787132436000,"timestamp_seconds":1787132436,"priority":1,"record_length":96,"hex_timestamp":"000001a01964de20"} 
[2026-08-19 15:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-19 15:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505901824001,"66":14396,"24":34,"16":28844076941967360,"45":559853758788141056},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-19 15:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505901824001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28844076941967360,"km_value":28844076941967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":559853758788141056,"description":"Unknown IO ID 45"} 
[2026-08-19 15:11:54] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457505901824001,"power":14396,"ignition":34,"odometer":null,"unknown_45":559853758788141056}} 
[2026-08-19 15:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":160183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665238,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:11:54] local.INFO: GPS data processed {"connection_id":160183,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:11:54] local.INFO: Acknowledgment sent {"connection_id":160183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:11:55] local.INFO: TCP Data received {"connection_id":158868,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:11:55] local.INFO: Processing buffer {"connection_id":158868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:11:55] local.INFO: IMEI packet received {"connection_id":158868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":158868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:11:56] local.INFO: TCP Data received {"connection_id":158868,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:11:56] local.INFO: Processing buffer {"connection_id":158868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:11:56] local.INFO: IMEI packet received {"connection_id":158868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":158868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:11:59] local.INFO: TCP Data received {"connection_id":158869,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:11:59] local.INFO: Processing buffer {"connection_id":158869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:11:59] local.INFO: IMEI packet received {"connection_id":158869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":158869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:12:00] local.INFO: TCP Data received {"connection_id":158868,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:12:00] local.INFO: Processing buffer {"connection_id":158868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:12:00] local.INFO: IMEI packet received {"connection_id":158868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":158868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:12:00] local.INFO: TCP Data received {"connection_id":158868,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-19 15:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158868,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-19 15:12:00] local.INFO: Processing buffer {"connection_id":158868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-19 15:12:00] local.INFO: Packet analysis {"connection_id":158868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-19 15:12:00] local.INFO: Extracted packet for processing {"connection_id":158868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-19 15:12:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 15:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 15:12:00] 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-08-19 15:12:00] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-19 15:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":158868,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":158868,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-19 15:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":158868,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-19 15:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-19 15:12:00] local.WARNING: DEBUG: No valid data to process  
[2026-08-19 15:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":158868,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-19 15:12:00] local.ERROR: GPS data processing failed {"connection_id":158868,"error":"No valid data to process"} 
[2026-08-19 15:12:00] local.INFO: Acknowledgment sent {"connection_id":158868,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-19 15:12:04] local.INFO: TCP Data received {"connection_id":158869,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:12:04] local.INFO: Processing buffer {"connection_id":158869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:12:04] local.INFO: IMEI packet received {"connection_id":158869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":158869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:12:05] local.INFO: TCP Data received {"connection_id":158869,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019645568012ceb78c00719f510001d01522d..."} 
[2026-08-19 15:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019645568012ceb78c00719f510001d01522d..."} 
[2026-08-19 15:12:05] local.INFO: Processing buffer {"connection_id":158869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019645568012ceb78c00719f510001d01522d..."} 
[2026-08-19 15:12:05] local.INFO: Packet analysis {"connection_id":158869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:12:05] local.INFO: Extracted packet for processing {"connection_id":158869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":753629376,"raw_latitude":119141648,"longitude_deg":75.3629376,"latitude_deg":11.9141648,"altitude":29,"angle":338,"satellites":45,"speed":19,"hex_longitude":"2ceb78c0","hex_latitude":"0719f510","is_valid_coordinates":true} 
[2026-08-19 15:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505889280001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385986962839830528,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1476969541045952512,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787132401000,"timestamp_ms":1787132401000,"timestamp_seconds":1787132401,"priority":1,"record_length":96,"hex_timestamp":"000001a019645568"} 
[2026-08-19 15:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 15:12:05] 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-08-19 15:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505889280001,"66":27919,"162":206,"2":54272,"24":19,"16":385986962839830528,"44":-1476969541045952512},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-08-19 15:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505889280001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:12:05] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-19 15:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385986962839830528,"km_value":385986962839830.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:12:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1476969541045952512,"description":"Unknown IO ID 44"} 
[2026-08-19 15:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505889280001,"power":27919,"unknown_162":206,"power_alt":54272,"ignition":19,"odometer":null,"unknown_44":-1476969541045952512}} 
[2026-08-19 15:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":158869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:12:05] local.INFO: GPS data processed {"connection_id":158869,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:12:05] local.INFO: Acknowledgment sent {"connection_id":158869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:12:05] local.INFO: TCP Data received {"connection_id":158868,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-19 15:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158868,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-19 15:12:05] local.INFO: Processing buffer {"connection_id":158868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-19 15:12:05] local.INFO: Packet analysis {"connection_id":158868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-19 15:12:05] local.INFO: Extracted packet for processing {"connection_id":158868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-19 15:12: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-08-19 15:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 15:12:05] 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-08-19 15:12:05] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-19 15:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158868,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158868,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-19 15:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158868,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-19 15:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-19 15:12:05] local.WARNING: DEBUG: No valid data to process  
[2026-08-19 15:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":158868,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-19 15:12:05] local.ERROR: GPS data processing failed {"connection_id":158868,"error":"No valid data to process"} 
[2026-08-19 15:12:05] local.INFO: Acknowledgment sent {"connection_id":158868,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-19 15:12:09] local.INFO: TCP Data received {"connection_id":158870,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:12:09] local.INFO: Processing buffer {"connection_id":158870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:12:09] local.INFO: IMEI packet received {"connection_id":158870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":158870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:12:14] local.INFO: TCP Data received {"connection_id":158870,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:12:14] local.INFO: Processing buffer {"connection_id":158870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:12:14] local.INFO: IMEI packet received {"connection_id":158870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":158870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:12:15] local.INFO: TCP Data received {"connection_id":158870,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01964b710012d18fdc0072149d8004700872a..."} 
[2026-08-19 15:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01964b710012d18fdc0072149d8004700872a..."} 
[2026-08-19 15:12:15] local.INFO: Processing buffer {"connection_id":158870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01964b710012d18fdc0072149d8004700872a..."} 
[2026-08-19 15:12:15] local.INFO: Packet analysis {"connection_id":158870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:12:15] local.INFO: Extracted packet for processing {"connection_id":158870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756612544,"raw_latitude":119622104,"longitude_deg":75.6612544,"latitude_deg":11.9622104,"altitude":71,"angle":135,"satellites":42,"speed":9,"hex_longitude":"2d18fdc0","hex_latitude":"072149d8","is_valid_coordinates":true} 
[2026-08-19 15:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505900800001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13783116988547072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800525087897186304,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12: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-08-19 15:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787132426000,"timestamp_ms":1787132426000,"timestamp_seconds":1787132426,"priority":1,"record_length":96,"hex_timestamp":"000001a01964b710"} 
[2026-08-19 15:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:12: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-08-19 15:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-19 15:12:15] 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-08-19 15:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505900800001,"66":13167,"121":206,"28":31744,"24":9,"16":13783116988547072,"45":1800525087897186304},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505900800001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:12:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:12:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13783116988547072,"km_value":13783116988547.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800525087897186304,"description":"Unknown IO ID 45"} 
[2026-08-19 15:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505900800001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1800525087897186304}} 
[2026-08-19 15:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":158870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:12:15] local.INFO: GPS data processed {"connection_id":158870,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:12:15] local.INFO: Acknowledgment sent {"connection_id":158870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:12:19] local.INFO: TCP Data received {"connection_id":158870,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01964bee0012d18fec007214868004700a42a..."} 
[2026-08-19 15:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01964bee0012d18fec007214868004700a42a..."} 
[2026-08-19 15:12:19] local.INFO: Processing buffer {"connection_id":158870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01964bee0012d18fec007214868004700a42a..."} 
[2026-08-19 15:12:19] local.INFO: Packet analysis {"connection_id":158870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:12:19] local.INFO: Extracted packet for processing {"connection_id":158870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:12:19] local.INFO: GPS Element Parsed {"raw_longitude":756612800,"raw_latitude":119621736,"longitude_deg":75.66128,"latitude_deg":11.9621736,"altitude":71,"angle":164,"satellites":42,"speed":6,"hex_longitude":"2d18fec0","hex_latitude":"07214868","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505901056001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13783138463383552,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800806562873858048,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787132428000,"timestamp_ms":1787132428000,"timestamp_seconds":1787132428,"priority":1,"record_length":96,"hex_timestamp":"000001a01964bee0"} 
[2026-08-19 15:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:12: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-08-19 15: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-19 15:12:19] 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-08-19 15: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-08-19 15:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505901056001,"66":13102,"121":206,"28":31744,"24":6,"16":13783138463383552,"45":1800806562873858048},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505901056001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:12:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:12:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13783138463383552,"km_value":13783138463383.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800806562873858048,"description":"Unknown IO ID 45"} 
[2026-08-19 15:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505901056001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1800806562873858048}} 
[2026-08-19 15:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":158870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:12:19] local.INFO: GPS data processed {"connection_id":158870,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:12:19] local.INFO: Acknowledgment sent {"connection_id":158870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:12:25] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0196664c0012d092000070296780015009d24..."} 
[2026-08-19 15:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196664c0012d092000070296780015009d24..."} 
[2026-08-19 15:12:25] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196664c0012d092000070296780015009d24..."} 
[2026-08-19 15:12:25] local.INFO: Packet analysis {"connection_id":160183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01966"} 
[2026-08-19 15:12:25] local.INFO: Extracted packet for processing {"connection_id":160183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01966"} 
[2026-08-19 15:12:25] local.INFO: GPS Element Parsed {"raw_longitude":755572736,"raw_latitude":117610104,"longitude_deg":75.5572736,"latitude_deg":11.7610104,"altitude":21,"angle":157,"satellites":36,"speed":16,"hex_longitude":"2d092000","hex_latitude":"07029678","is_valid_coordinates":true} 
[2026-08-19 15:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505928960001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28848028311879680,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":657384838216007680,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787132536000,"timestamp_ms":1787132536000,"timestamp_seconds":1787132536,"priority":1,"record_length":96,"hex_timestamp":"000001a0196664c0"} 
[2026-08-19 15:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-19 15:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505928960001,"66":14102,"13":206,"94":11008,"24":16,"16":28848028311879680,"45":657384838216007680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,94,24,16,45]} 
[2026-08-19 15:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505928960001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:12:25] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-19 15:12:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28848028311879680,"km_value":28848028311879.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":657384838216007680,"description":"Unknown IO ID 45"} 
[2026-08-19 15:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505928960001,"power":14102,"unknown_13":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":657384838216007680}} 
[2026-08-19 15:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":160183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665242,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:12:25] local.INFO: GPS data processed {"connection_id":160183,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:12:25] local.INFO: Acknowledgment sent {"connection_id":160183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:12:37] local.INFO: TCP Data received {"connection_id":158868,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-19 15:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158868,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-19 15:12:37] local.INFO: Processing buffer {"connection_id":158868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-19 15:12:37] local.INFO: Packet analysis {"connection_id":158868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-19 15:12:37] local.INFO: Extracted packet for processing {"connection_id":158868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-19 15:12: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-08-19 15: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-08-19 15:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 15:12:37] 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-08-19 15:12:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-19 15:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158868,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158868,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-19 15:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158868,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-19 15:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-19 15:12:37] local.WARNING: DEBUG: No valid data to process  
[2026-08-19 15:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":158868,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-19 15:12:37] local.ERROR: GPS data processing failed {"connection_id":158868,"error":"No valid data to process"} 
[2026-08-19 15:12:37] local.INFO: Acknowledgment sent {"connection_id":158868,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-19 15:12:37] local.INFO: TCP Data received {"connection_id":158869,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019647890012ceb7000071a0888001e01452f..."} 
[2026-08-19 15:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019647890012ceb7000071a0888001e01452f..."} 
[2026-08-19 15:12:37] local.INFO: Processing buffer {"connection_id":158869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019647890012ceb7000071a0888001e01452f..."} 
[2026-08-19 15:12:37] local.INFO: Packet analysis {"connection_id":158869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:12:37] local.INFO: Extracted packet for processing {"connection_id":158869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:12:37] local.INFO: GPS Element Parsed {"raw_longitude":753627136,"raw_latitude":119146632,"longitude_deg":75.3627136,"latitude_deg":11.9146632,"altitude":30,"angle":325,"satellites":47,"speed":26,"hex_longitude":"2ceb7000","hex_latitude":"071a0888","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505894656001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385987224832835584,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479221340858413056,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787132410000,"timestamp_ms":1787132410000,"timestamp_seconds":1787132410,"priority":1,"record_length":96,"hex_timestamp":"000001a019647890"} 
[2026-08-19 15:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:12: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-08-19 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 15:12:37] 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-08-19 15: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-08-19 15:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505894656001,"66":27821,"162":206,"2":54272,"24":26,"16":385987224832835584,"44":-1479221340858413056},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-08-19 15:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505894656001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:12:37] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-19 15:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385987224832835584,"km_value":385987224832835.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:12:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479221340858413056,"description":"Unknown IO ID 44"} 
[2026-08-19 15:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505894656001,"power":27821,"unknown_162":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-1479221340858413056}} 
[2026-08-19 15:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":158869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:12:37] local.INFO: GPS data processed {"connection_id":158869,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:12:37] local.INFO: Acknowledgment sent {"connection_id":158869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:12:51] local.INFO: TCP Data received {"connection_id":158870,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01964e9d8012d190240072145800044008a2a..."} 
[2026-08-19 15:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01964e9d8012d190240072145800044008a2a..."} 
[2026-08-19 15:12:51] local.INFO: Processing buffer {"connection_id":158870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01964e9d8012d190240072145800044008a2a..."} 
[2026-08-19 15:12:51] local.INFO: Packet analysis {"connection_id":158870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:12:51] local.INFO: Extracted packet for processing {"connection_id":158870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756613696,"raw_latitude":119620992,"longitude_deg":75.6613696,"latitude_deg":11.9620992,"altitude":68,"angle":138,"satellites":42,"speed":6,"hex_longitude":"2d190240","hex_latitude":"07214580","is_valid_coordinates":true} 
[2026-08-19 15:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505901568001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13783198592925696,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801088037850474496,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787132439000,"timestamp_ms":1787132439000,"timestamp_seconds":1787132439,"priority":1,"record_length":96,"hex_timestamp":"000001a01964e9d8"} 
[2026-08-19 15:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 15:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":158870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":158870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":158870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505901568001,"66":13243,"121":206,"28":31744,"24":6,"16":13783198592925696,"45":1801088037850474496},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505901568001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:12:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:12:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13783198592925696,"km_value":13783198592925.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801088037850474496,"description":"Unknown IO ID 45"} 
[2026-08-19 15:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505901568001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1801088037850474496}} 
[2026-08-19 15:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":158870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:12:51] local.INFO: GPS data processed {"connection_id":158870,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:12:51] local.INFO: Acknowledgment sent {"connection_id":158870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:12:56] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0196668a8012d092080070294c8001500a824..."} 
[2026-08-19 15:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196668a8012d092080070294c8001500a824..."} 
[2026-08-19 15:12:56] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196668a8012d092080070294c8001500a824..."} 
[2026-08-19 15:12:56] local.INFO: Packet analysis {"connection_id":160183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01966"} 
[2026-08-19 15:12:56] local.INFO: Extracted packet for processing {"connection_id":160183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01966"} 
[2026-08-19 15:12:56] local.INFO: GPS Element Parsed {"raw_longitude":755572864,"raw_latitude":117609672,"longitude_deg":75.5572864,"latitude_deg":11.7609672,"altitude":21,"angle":168,"satellites":36,"speed":19,"hex_longitude":"2d092080","hex_latitude":"070294c8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505929216001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28848049786716160,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":657525575704279040,"note":"Value kept but may cause issues"} 
[2026-08-19 15:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787132537000,"timestamp_ms":1787132537000,"timestamp_seconds":1787132537,"priority":1,"record_length":96,"hex_timestamp":"000001a0196668a8"} 
[2026-08-19 15:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-19 15:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505929216001,"66":14407,"13":206,"94":11008,"24":19,"16":28848049786716160,"45":657525575704279040},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,94,24,16,45]} 
[2026-08-19 15:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505929216001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:12:56] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-19 15:12:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28848049786716160,"km_value":28848049786716.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":657525575704279040,"description":"Unknown IO ID 45"} 
[2026-08-19 15:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505929216001,"power":14407,"unknown_13":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":657525575704279040}} 
[2026-08-19 15:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":160183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665245,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:12:56] local.INFO: GPS data processed {"connection_id":160183,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:12:56] local.INFO: Acknowledgment sent {"connection_id":160183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:12:59] local.INFO: TCP Data received {"connection_id":158871,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:12:59] local.INFO: Processing buffer {"connection_id":158871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:12:59] local.INFO: IMEI packet received {"connection_id":158871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":158871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:13:04] local.INFO: TCP Data received {"connection_id":158871,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:13:04] local.INFO: Processing buffer {"connection_id":158871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:13:04] local.INFO: IMEI packet received {"connection_id":158871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":158871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:13:05] local.INFO: TCP Data received {"connection_id":158871,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019648060012ceb6cc0071a0c70001e01382e..."} 
[2026-08-19 15:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019648060012ceb6cc0071a0c70001e01382e..."} 
[2026-08-19 15:13:05] local.INFO: Processing buffer {"connection_id":158871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019648060012ceb6cc0071a0c70001e01382e..."} 
[2026-08-19 15:13:05] local.INFO: Packet analysis {"connection_id":158871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:13:05] local.INFO: Extracted packet for processing {"connection_id":158871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:13:05] local.INFO: GPS Element Parsed {"raw_longitude":753626304,"raw_latitude":119147632,"longitude_deg":75.3626304,"latitude_deg":11.9147632,"altitude":30,"angle":312,"satellites":46,"speed":25,"hex_longitude":"2ceb6cc0","hex_latitude":"071a0c70","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505896960001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385987289257345024,"note":"Value kept but may cause issues"} 
[2026-08-19 15:13:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481684246903355392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787132412000,"timestamp_ms":1787132412000,"timestamp_seconds":1787132412,"priority":1,"record_length":96,"hex_timestamp":"000001a019648060"} 
[2026-08-19 15:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 15:13: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-08-19 15: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-08-19 15:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505896960001,"66":27539,"162":206,"2":54272,"24":25,"16":385987289257345024,"44":-1481684246903355392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-08-19 15:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505896960001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:13:05] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-19 15:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385987289257345024,"km_value":385987289257345.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:13:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481684246903355392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505896960001,"power":27539,"unknown_162":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-1481684246903355392}} 
[2026-08-19 15:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":158871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:13:05] local.INFO: GPS data processed {"connection_id":158871,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:13:05] local.INFO: Acknowledgment sent {"connection_id":158871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:13:08] local.INFO: TCP Data received {"connection_id":158868,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01966b2e00100000000000000000000000000..."} 
[2026-08-19 15:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01966b2e00100000000000000000000000000..."} 
[2026-08-19 15:13:08] local.INFO: Processing buffer {"connection_id":158868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01966b2e00100000000000000000000000000..."} 
[2026-08-19 15:13:08] local.INFO: Packet analysis {"connection_id":158868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01966"} 
[2026-08-19 15:13:08] local.INFO: Extracted packet for processing {"connection_id":158868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01966"} 
[2026-08-19 15:13:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 15:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 15:13:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 15:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787132556000,"timestamp_ms":1787132556000,"timestamp_seconds":1787132556,"priority":1,"record_length":96,"hex_timestamp":"000001a01966b2e0"} 
[2026-08-19 15:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:13:08] 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-08-19 15:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-19 15:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":158868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":158868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":158868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:13:08] 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-08-19 15:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":158868,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 15:13:08] local.INFO: GPS data processed {"connection_id":158868,"processed":0,"errors":0,"total":1} 
[2026-08-19 15:13:08] local.INFO: Acknowledgment sent {"connection_id":158868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:13:08] local.INFO: TCP Data received {"connection_id":157628,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:13:08] local.INFO: Processing buffer {"connection_id":157628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:13:08] local.INFO: IMEI packet received {"connection_id":157628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":157628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:13:13] local.INFO: TCP Data received {"connection_id":157628,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:13:13] local.INFO: Processing buffer {"connection_id":157628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:13:13] local.INFO: IMEI packet received {"connection_id":157628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":157628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:13:15] local.INFO: TCP Data received {"connection_id":157628,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01964f1a8012d19034007214490004300982a..."} 
[2026-08-19 15:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01964f1a8012d19034007214490004300982a..."} 
[2026-08-19 15:13:15] local.INFO: Processing buffer {"connection_id":157628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01964f1a8012d19034007214490004300982a..."} 
[2026-08-19 15:13:15] local.INFO: Packet analysis {"connection_id":157628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:13:15] local.INFO: Extracted packet for processing {"connection_id":157628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756613952,"raw_latitude":119620752,"longitude_deg":75.6613952,"latitude_deg":11.9620752,"altitude":67,"angle":152,"satellites":42,"speed":5,"hex_longitude":"2d190340","hex_latitude":"07214490","is_valid_coordinates":true} 
[2026-08-19 15:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505904384001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13783215772794880,"note":"Value kept but may cause issues"} 
[2026-08-19 15:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802073200268771328,"note":"Value kept but may cause issues"} 
[2026-08-19 15:13: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-08-19 15:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787132441000,"timestamp_ms":1787132441000,"timestamp_seconds":1787132441,"priority":1,"record_length":96,"hex_timestamp":"000001a01964f1a8"} 
[2026-08-19 15:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:13: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-08-19 15:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 15:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505904384001,"66":13156,"121":206,"28":31744,"24":5,"16":13783215772794880,"45":1802073200268771328},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505904384001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:13:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:13:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13783215772794880,"km_value":13783215772794.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802073200268771328,"description":"Unknown IO ID 45"} 
[2026-08-19 15:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505904384001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1802073200268771328}} 
[2026-08-19 15:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":157628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:13:15] local.INFO: GPS data processed {"connection_id":157628,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:13:15] local.INFO: Acknowledgment sent {"connection_id":157628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:13:31] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a019675ec0012d099c80070251e0001a002b22..."} 
[2026-08-19 15:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019675ec0012d099c80070251e0001a002b22..."} 
[2026-08-19 15:13:31] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019675ec0012d099c80070251e0001a002b22..."} 
[2026-08-19 15:13:31] local.INFO: Packet analysis {"connection_id":160183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:13:31] local.INFO: Extracted packet for processing {"connection_id":160183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:13:31] local.INFO: GPS Element Parsed {"raw_longitude":755604608,"raw_latitude":117592544,"longitude_deg":75.5604608,"latitude_deg":11.7592544,"altitude":26,"angle":43,"satellites":34,"speed":27,"hex_longitude":"2d099c80","hex_latitude":"070251e0","is_valid_coordinates":true} 
[2026-08-19 15:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505945344001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28850454968401920,"note":"Value kept but may cause issues"} 
[2026-08-19 15:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":692146997835069440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787132600000,"timestamp_ms":1787132600000,"timestamp_seconds":1787132600,"priority":1,"record_length":96,"hex_timestamp":"000001a019675ec0"} 
[2026-08-19 15:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:13:31] 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-08-19 15:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 15:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505945344001,"66":14439,"230":206,"94":11008,"24":27,"16":28850454968401920,"45":692146997835069440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,94,24,16,45]} 
[2026-08-19 15:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505945344001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:13:31] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-19 15:13:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28850454968401920,"km_value":28850454968401.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":692146997835069440,"description":"Unknown IO ID 45"} 
[2026-08-19 15:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505945344001,"power":14439,"unknown_230":206,"unknown_94":11008,"ignition":27,"odometer":null,"unknown_45":692146997835069440}} 
[2026-08-19 15:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":160183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665248,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:13:31] local.INFO: GPS data processed {"connection_id":160183,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:13:31] local.INFO: Acknowledgment sent {"connection_id":160183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:13:37] local.INFO: TCP Data received {"connection_id":158871,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196493e8012ceb6440071a12a0001e012c2f..."} 
[2026-08-19 15:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196493e8012ceb6440071a12a0001e012c2f..."} 
[2026-08-19 15:13:37] local.INFO: Processing buffer {"connection_id":158871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196493e8012ceb6440071a12a0001e012c2f..."} 
[2026-08-19 15:13:37] local.INFO: Packet analysis {"connection_id":158871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:13:37] local.INFO: Extracted packet for processing {"connection_id":158871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:13:37] local.INFO: GPS Element Parsed {"raw_longitude":753624128,"raw_latitude":119149216,"longitude_deg":75.3624128,"latitude_deg":11.9149216,"altitude":30,"angle":300,"satellites":47,"speed":18,"hex_longitude":"2ceb6440","hex_latitude":"071a12a0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505897472001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385987418106363904,"note":"Value kept but may cause issues"} 
[2026-08-19 15:13:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482599040577409024,"note":"Value kept but may cause issues"} 
[2026-08-19 15:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787132417000,"timestamp_ms":1787132417000,"timestamp_seconds":1787132417,"priority":1,"record_length":96,"hex_timestamp":"000001a0196493e8"} 
[2026-08-19 15:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-19 15:13:37] 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-08-19 15: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-08-19 15:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505897472001,"66":27745,"162":206,"2":54272,"24":18,"16":385987418106363904,"44":-1482599040577409024},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-08-19 15:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505897472001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:13:37] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-19 15:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385987418106363904,"km_value":385987418106363.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:13:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482599040577409024,"description":"Unknown IO ID 44"} 
[2026-08-19 15:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505897472001,"power":27745,"unknown_162":206,"power_alt":54272,"ignition":18,"odometer":null,"unknown_44":-1482599040577409024}} 
[2026-08-19 15:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":158871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:13:37] local.INFO: GPS data processed {"connection_id":158871,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:13:37] local.INFO: Acknowledgment sent {"connection_id":158871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:13:39] local.INFO: TCP Data received {"connection_id":158868,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0196704e80100000000000000000000000000..."} 
[2026-08-19 15:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196704e80100000000000000000000000000..."} 
[2026-08-19 15:13:39] local.INFO: Processing buffer {"connection_id":158868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196704e80100000000000000000000000000..."} 
[2026-08-19 15:13:39] local.INFO: Packet analysis {"connection_id":158868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:13:39] local.INFO: Extracted packet for processing {"connection_id":158868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:13:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 15:13:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 15:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787132577000,"timestamp_ms":1787132577000,"timestamp_seconds":1787132577,"priority":1,"record_length":96,"hex_timestamp":"000001a0196704e8"} 
[2026-08-19 15:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 15:13:39] 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-08-19 15: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-08-19 15:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":158868,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 15:13:39] local.INFO: GPS data processed {"connection_id":158868,"processed":0,"errors":0,"total":1} 
[2026-08-19 15:13:39] local.INFO: Acknowledgment sent {"connection_id":158868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:13:47] local.INFO: TCP Data received {"connection_id":157628,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0196543b0012d190380072143080041009829..."} 
[2026-08-19 15:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196543b0012d190380072143080041009829..."} 
[2026-08-19 15:13:47] local.INFO: Processing buffer {"connection_id":157628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196543b0012d190380072143080041009829..."} 
[2026-08-19 15:13:47] local.INFO: Packet analysis {"connection_id":157628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01965"} 
[2026-08-19 15:13:47] local.INFO: Extracted packet for processing {"connection_id":157628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01965"} 
[2026-08-19 15:13:47] local.INFO: GPS Element Parsed {"raw_longitude":756614016,"raw_latitude":119620360,"longitude_deg":75.6614016,"latitude_deg":11.962036,"altitude":65,"angle":152,"satellites":41,"speed":0,"hex_longitude":"2d190380","hex_latitude":"07214308","is_valid_coordinates":true} 
[2026-08-19 15:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505904896001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13783237247631360,"note":"Value kept but may cause issues"} 
[2026-08-19 15:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802354675245420544,"note":"Value kept but may cause issues"} 
[2026-08-19 15:13: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-08-19 15:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787132462000,"timestamp_ms":1787132462000,"timestamp_seconds":1787132462,"priority":1,"record_length":96,"hex_timestamp":"000001a0196543b0"} 
[2026-08-19 15:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:13: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-08-19 15:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-19 15:13:47] 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-08-19 15:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505904896001,"66":13091,"121":206,"28":31744,"24":0,"16":13783237247631360,"45":1802354675245420544},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505904896001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:13:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:13:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13783237247631360,"km_value":13783237247631.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802354675245420544,"description":"Unknown IO ID 45"} 
[2026-08-19 15:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505904896001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1802354675245420544}} 
[2026-08-19 15:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":157628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:13:47] local.INFO: GPS data processed {"connection_id":157628,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:13:47] local.INFO: Acknowledgment sent {"connection_id":157628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:14:04] local.INFO: TCP Data received {"connection_id":158009,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:14:04] local.INFO: Processing buffer {"connection_id":158009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:14:04] local.INFO: IMEI packet received {"connection_id":158009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":158009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:14:07] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01967dbc0012d09f94007023c280011005a23..."} 
[2026-08-19 15:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01967dbc0012d09f94007023c280011005a23..."} 
[2026-08-19 15:14:07] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01967dbc0012d09f94007023c280011005a23..."} 
[2026-08-19 15:14:07] local.INFO: Packet analysis {"connection_id":160183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:14:07] local.INFO: Extracted packet for processing {"connection_id":160183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:14:07] local.INFO: GPS Element Parsed {"raw_longitude":755628352,"raw_latitude":117586984,"longitude_deg":75.5628352,"latitude_deg":11.7586984,"altitude":17,"angle":90,"satellites":35,"speed":25,"hex_longitude":"2d09f940","hex_latitude":"07023c28","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505952512001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28851915257282560,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":713679833552222208,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787132632000,"timestamp_ms":1787132632000,"timestamp_seconds":1787132632,"priority":1,"record_length":96,"hex_timestamp":"000001a01967dbc0"} 
[2026-08-19 15:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:14: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-08-19 15: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 15:14: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-08-19 15: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-08-19 15:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505952512001,"66":14548,"19":206,"94":11008,"24":25,"16":28851915257282560,"45":713679833552222208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505952512001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:14:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:14:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28851915257282560,"km_value":28851915257282.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":713679833552222208,"description":"Unknown IO ID 45"} 
[2026-08-19 15:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505952512001,"power":14548,"unknown_19":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":713679833552222208}} 
[2026-08-19 15:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":160183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665251,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:14:07] local.INFO: GPS data processed {"connection_id":160183,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:14:07] local.INFO: Acknowledgment sent {"connection_id":160183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:14:07] local.INFO: TCP Data received {"connection_id":160184,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:14:07] local.INFO: Processing buffer {"connection_id":160184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:14:07] local.INFO: IMEI packet received {"connection_id":160184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":160184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:14:08] local.INFO: TCP Data received {"connection_id":160184,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:14:08] local.INFO: Processing buffer {"connection_id":160184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:14:08] local.INFO: IMEI packet received {"connection_id":160184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":160184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:14:09] local.INFO: TCP Data received {"connection_id":158009,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:14:09] local.INFO: Processing buffer {"connection_id":158009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:14:09] local.INFO: IMEI packet received {"connection_id":158009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":158009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:14:10] local.INFO: TCP Data received {"connection_id":158009,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01964e5f0012ceb4440071a2288001e012a2b..."} 
[2026-08-19 15:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01964e5f0012ceb4440071a2288001e012a2b..."} 
[2026-08-19 15:14:10] local.INFO: Processing buffer {"connection_id":158009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01964e5f0012ceb4440071a2288001e012a2b..."} 
[2026-08-19 15:14:10] local.INFO: Packet analysis {"connection_id":158009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:14:10] local.INFO: Extracted packet for processing {"connection_id":158009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:14:10] local.INFO: GPS Element Parsed {"raw_longitude":753615936,"raw_latitude":119153288,"longitude_deg":75.3615936,"latitude_deg":11.9153288,"altitude":30,"angle":298,"satellites":43,"speed":16,"hex_longitude":"2ceb4440","hex_latitude":"071a2288","is_valid_coordinates":true} 
[2026-08-19 15:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505898752001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385987851898060800,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484991577879044096,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787132438000,"timestamp_ms":1787132438000,"timestamp_seconds":1787132438,"priority":1,"record_length":96,"hex_timestamp":"000001a01964e5f0"} 
[2026-08-19 15:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:14: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-08-19 15:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 15:14:10] 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-08-19 15:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505898752001,"66":27995,"8":206,"2":54272,"24":16,"16":385987851898060800,"44":-1484991577879044096},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505898752001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:14:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385987851898060800,"km_value":385987851898060.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484991577879044096,"description":"Unknown IO ID 44"} 
[2026-08-19 15:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505898752001,"power":27995,"unknown_8":206,"power_alt":54272,"ignition":16,"odometer":null,"unknown_44":-1484991577879044096}} 
[2026-08-19 15:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":158009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:14:10] local.INFO: GPS data processed {"connection_id":158009,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:14:10] local.INFO: Acknowledgment sent {"connection_id":158009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:14:12] local.INFO: TCP Data received {"connection_id":158868,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0196756f00100000000000000000000000000..."} 
[2026-08-19 15:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196756f00100000000000000000000000000..."} 
[2026-08-19 15:14:12] local.INFO: Processing buffer {"connection_id":158868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196756f00100000000000000000000000000..."} 
[2026-08-19 15:14:12] local.INFO: Packet analysis {"connection_id":158868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:14:12] local.INFO: Extracted packet for processing {"connection_id":158868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:14:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 15:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787132598000,"timestamp_ms":1787132598000,"timestamp_seconds":1787132598,"priority":1,"record_length":96,"hex_timestamp":"000001a0196756f0"} 
[2026-08-19 15:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:14:12] 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-08-19 15: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 15:14:12] 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-08-19 15: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-08-19 15:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:14:12] 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-08-19 15:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":158868,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 15:14:12] local.INFO: GPS data processed {"connection_id":158868,"processed":0,"errors":0,"total":1} 
[2026-08-19 15:14:12] local.INFO: Acknowledgment sent {"connection_id":158868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:14:14] local.INFO: TCP Data received {"connection_id":160184,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:14:14] local.INFO: Processing buffer {"connection_id":160184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:14:14] local.INFO: IMEI packet received {"connection_id":160184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":160184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:14:14] local.INFO: TCP Data received {"connection_id":158009,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01964e5f0012ceb4440071a2288001e012a2b..."} 
[2026-08-19 15:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01964e5f0012ceb4440071a2288001e012a2b..."} 
[2026-08-19 15:14:14] local.INFO: Processing buffer {"connection_id":158009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01964e5f0012ceb4440071a2288001e012a2b..."} 
[2026-08-19 15:14:14] local.INFO: Packet analysis {"connection_id":158009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:14:14] local.INFO: Extracted packet for processing {"connection_id":158009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01964"} 
[2026-08-19 15:14:14] local.INFO: GPS Element Parsed {"raw_longitude":753615936,"raw_latitude":119153288,"longitude_deg":75.3615936,"latitude_deg":11.9153288,"altitude":30,"angle":298,"satellites":43,"speed":16,"hex_longitude":"2ceb4440","hex_latitude":"071a2288","is_valid_coordinates":true} 
[2026-08-19 15:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505904128001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385987851898060800,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1493998777132742656,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787132438000,"timestamp_ms":1787132438000,"timestamp_seconds":1787132438,"priority":1,"record_length":96,"hex_timestamp":"000001a01964e5f0"} 
[2026-08-19 15:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:14:14] 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-08-19 15:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 15:14:14] 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-08-19 15:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505904128001,"66":27995,"8":206,"2":54272,"24":16,"16":385987851898060800,"44":-1493998777132742656},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505904128001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:14:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385987851898060800,"km_value":385987851898060.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:14:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1493998777132742656,"description":"Unknown IO ID 44"} 
[2026-08-19 15:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505904128001,"power":27995,"unknown_8":206,"power_alt":54272,"ignition":16,"odometer":null,"unknown_44":-1493998777132742656}} 
[2026-08-19 15:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":158009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:14:14] local.INFO: GPS data processed {"connection_id":158009,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:14:14] local.INFO: Acknowledgment sent {"connection_id":158009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:14:15] local.INFO: TCP Data received {"connection_id":160184,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0196595b8012d190380072143080041009828..."} 
[2026-08-19 15:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196595b8012d190380072143080041009828..."} 
[2026-08-19 15:14:15] local.INFO: Processing buffer {"connection_id":160184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196595b8012d190380072143080041009828..."} 
[2026-08-19 15:14:15] local.INFO: Packet analysis {"connection_id":160184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01965"} 
[2026-08-19 15:14:15] local.INFO: Extracted packet for processing {"connection_id":160184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01965"} 
[2026-08-19 15:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756614016,"raw_latitude":119620360,"longitude_deg":75.6614016,"latitude_deg":11.962036,"altitude":65,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d190380","hex_latitude":"07214308","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505910272001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13783237247631360,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802425043989497856,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14: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-08-19 15:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787132483000,"timestamp_ms":1787132483000,"timestamp_seconds":1787132483,"priority":1,"record_length":96,"hex_timestamp":"000001a0196595b8"} 
[2026-08-19 15:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:14: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-08-19 15: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 15:14:15] 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-08-19 15: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-08-19 15:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505910272001,"66":13091,"121":206,"28":31744,"24":0,"16":13783237247631360,"45":1802425043989497856},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505910272001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:14:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:14:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13783237247631360,"km_value":13783237247631.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802425043989497856,"description":"Unknown IO ID 45"} 
[2026-08-19 15:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505910272001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1802425043989497856}} 
[2026-08-19 15:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":160184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:14:15] local.INFO: GPS data processed {"connection_id":160184,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:14:15] local.INFO: Acknowledgment sent {"connection_id":160184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:14:41] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:14:41] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:14:41] local.INFO: Packet analysis {"connection_id":160183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:14:41] local.INFO: Extracted packet for processing {"connection_id":160183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:14:41] local.INFO: GPS Element Parsed {"raw_longitude":755630336,"raw_latitude":117586896,"longitude_deg":75.5630336,"latitude_deg":11.7586896,"altitude":17,"angle":94,"satellites":33,"speed":6,"hex_longitude":"2d0a0100","hex_latitude":"07023bd0","is_valid_coordinates":true} 
[2026-08-19 15:14:41] 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-08-19 15:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505953792001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852009746563072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":718676014388750336,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787132638000,"timestamp_ms":1787132638000,"timestamp_seconds":1787132638,"priority":1,"record_length":96,"hex_timestamp":"000001a01967f330"} 
[2026-08-19 15:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-19 15:14:41] 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-08-19 15:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505953792001,"66":13754,"19":206,"94":11008,"24":6,"16":28852009746563072,"45":718676014388750336},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505953792001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:14:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:14:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852009746563072,"km_value":28852009746563.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":718676014388750336,"description":"Unknown IO ID 45"} 
[2026-08-19 15:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505953792001,"power":13754,"unknown_19":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":718676014388750336}} 
[2026-08-19 15:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":160183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665255,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:14:41] local.INFO: GPS data processed {"connection_id":160183,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:14:41] local.INFO: Acknowledgment sent {"connection_id":160183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:14:44] local.INFO: TCP Data received {"connection_id":158868,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01967a8f80100000000000000000000000000..."} 
[2026-08-19 15:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01967a8f80100000000000000000000000000..."} 
[2026-08-19 15:14:44] local.INFO: Processing buffer {"connection_id":158868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01967a8f80100000000000000000000000000..."} 
[2026-08-19 15:14:44] local.INFO: Packet analysis {"connection_id":158868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:14:44] local.INFO: Extracted packet for processing {"connection_id":158868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:14: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-08-19 15:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14:44] 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-08-19 15:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787132619000,"timestamp_ms":1787132619000,"timestamp_seconds":1787132619,"priority":1,"record_length":96,"hex_timestamp":"000001a01967a8f8"} 
[2026-08-19 15:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-19 15:14:44] 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-08-19 15:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:14:44] 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-08-19 15:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":158868,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 15:14:44] local.INFO: GPS data processed {"connection_id":158868,"processed":0,"errors":0,"total":1} 
[2026-08-19 15:14:44] local.INFO: Acknowledgment sent {"connection_id":158868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:14:46] local.INFO: TCP Data received {"connection_id":160184,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01965e7c0012d190380072143080041009827..."} 
[2026-08-19 15:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01965e7c0012d190380072143080041009827..."} 
[2026-08-19 15:14:46] local.INFO: Processing buffer {"connection_id":160184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01965e7c0012d190380072143080041009827..."} 
[2026-08-19 15:14:46] local.INFO: Packet analysis {"connection_id":160184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01965"} 
[2026-08-19 15:14:46] local.INFO: Extracted packet for processing {"connection_id":160184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01965"} 
[2026-08-19 15:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756614016,"raw_latitude":119620360,"longitude_deg":75.6614016,"latitude_deg":11.962036,"altitude":65,"angle":152,"satellites":39,"speed":0,"hex_longitude":"2d190380","hex_latitude":"07214308","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505915648001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13783237247631360,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802425043989497856,"note":"Value kept but may cause issues"} 
[2026-08-19 15:14: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-08-19 15:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787132504000,"timestamp_ms":1787132504000,"timestamp_seconds":1787132504,"priority":1,"record_length":96,"hex_timestamp":"000001a01965e7c0"} 
[2026-08-19 15:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 15:14: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-08-19 15: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-08-19 15:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505915648001,"66":12993,"121":206,"28":31744,"24":0,"16":13783237247631360,"45":1802425043989497856},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505915648001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:14:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:14:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13783237247631360,"km_value":13783237247631.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802425043989497856,"description":"Unknown IO ID 45"} 
[2026-08-19 15:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505915648001,"power":12993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1802425043989497856}} 
[2026-08-19 15:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":160184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:14:46] local.INFO: GPS data processed {"connection_id":160184,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:14:46] local.INFO: Acknowledgment sent {"connection_id":160184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:14:59] local.INFO: TCP Data received {"connection_id":160185,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:14:59] local.INFO: Processing buffer {"connection_id":160185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:14:59] local.INFO: IMEI packet received {"connection_id":160185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":160185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:15:04] local.INFO: TCP Data received {"connection_id":160185,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:15:04] local.INFO: Processing buffer {"connection_id":160185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:15:04] local.INFO: IMEI packet received {"connection_id":160185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":160185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:15:05] local.INFO: TCP Data received {"connection_id":160185,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019652858012ceb2400071a3130001f01222d..."} 
[2026-08-19 15:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019652858012ceb2400071a3130001f01222d..."} 
[2026-08-19 15:15:05] local.INFO: Processing buffer {"connection_id":160185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019652858012ceb2400071a3130001f01222d..."} 
[2026-08-19 15:15:05] local.INFO: Packet analysis {"connection_id":160185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01965"} 
[2026-08-19 15:15:05] local.INFO: Extracted packet for processing {"connection_id":160185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01965"} 
[2026-08-19 15:15:05] local.INFO: GPS Element Parsed {"raw_longitude":753607680,"raw_latitude":119157040,"longitude_deg":75.360768,"latitude_deg":11.915704,"altitude":31,"angle":290,"satellites":45,"speed":23,"hex_longitude":"2ceb2400","hex_latitude":"071a3130","is_valid_coordinates":true} 
[2026-08-19 15:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505904128001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988285689757696,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1493998777132742656,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787132455000,"timestamp_ms":1787132455000,"timestamp_seconds":1787132455,"priority":1,"record_length":96,"hex_timestamp":"000001a019652858"} 
[2026-08-19 15:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 15:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505904128001,"66":27821,"8":206,"2":54272,"24":23,"16":385988285689757696,"44":-1493998777132742656},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505904128001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:15:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988285689757696,"km_value":385988285689757.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:15:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1493998777132742656,"description":"Unknown IO ID 44"} 
[2026-08-19 15:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505904128001,"power":27821,"unknown_8":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-1493998777132742656}} 
[2026-08-19 15:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":160185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:15:05] local.INFO: GPS data processed {"connection_id":160185,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:15:05] local.INFO: Acknowledgment sent {"connection_id":160185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:15:08] local.INFO: TCP Data received {"connection_id":158010,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:15:08] local.INFO: Processing buffer {"connection_id":158010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:15:08] local.INFO: IMEI packet received {"connection_id":158010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":158010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:15:11] local.INFO: TCP Data received {"connection_id":158010,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:15:11] local.INFO: Processing buffer {"connection_id":158010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:15:11] local.INFO: IMEI packet received {"connection_id":158010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":158010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:15:13] local.INFO: TCP Data received {"connection_id":158010,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:15:13] local.INFO: Processing buffer {"connection_id":158010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:15:13] local.INFO: IMEI packet received {"connection_id":158010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":158010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:15:15] local.INFO: TCP Data received {"connection_id":158010,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0196639c8012d190380072143080041009827..."} 
[2026-08-19 15:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196639c8012d190380072143080041009827..."} 
[2026-08-19 15:15:15] local.INFO: Processing buffer {"connection_id":158010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196639c8012d190380072143080041009827..."} 
[2026-08-19 15:15:15] local.INFO: Packet analysis {"connection_id":158010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01966"} 
[2026-08-19 15:15:15] local.INFO: Extracted packet for processing {"connection_id":158010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01966"} 
[2026-08-19 15:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756614016,"raw_latitude":119620360,"longitude_deg":75.6614016,"latitude_deg":11.962036,"altitude":65,"angle":152,"satellites":39,"speed":0,"hex_longitude":"2d190380","hex_latitude":"07214308","is_valid_coordinates":true} 
[2026-08-19 15:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505921024001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13783237247631360,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802425043989497856,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15: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-08-19 15:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787132525000,"timestamp_ms":1787132525000,"timestamp_seconds":1787132525,"priority":1,"record_length":96,"hex_timestamp":"000001a0196639c8"} 
[2026-08-19 15:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:15: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-08-19 15:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-19 15:15:15] 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-08-19 15:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505921024001,"66":13004,"121":206,"28":31744,"24":0,"16":13783237247631360,"45":1802425043989497856},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505921024001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:15:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:15:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13783237247631360,"km_value":13783237247631.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802425043989497856,"description":"Unknown IO ID 45"} 
[2026-08-19 15:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505921024001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1802425043989497856}} 
[2026-08-19 15:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":158010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:15:15] local.INFO: GPS data processed {"connection_id":158010,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:15:15] local.INFO: Acknowledgment sent {"connection_id":158010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:15:15] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:15:15] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:15:15] local.INFO: Packet analysis {"connection_id":160183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:15:15] local.INFO: Extracted packet for processing {"connection_id":160183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:15:15] local.INFO: GPS Element Parsed {"raw_longitude":755630336,"raw_latitude":117586896,"longitude_deg":75.5630336,"latitude_deg":11.7586896,"altitude":17,"angle":94,"satellites":33,"speed":6,"hex_longitude":"2d0a0100","hex_latitude":"07023bd0","is_valid_coordinates":true} 
[2026-08-19 15:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505955328001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852009746563072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720857445458235392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787132638000,"timestamp_ms":1787132638000,"timestamp_seconds":1787132638,"priority":1,"record_length":96,"hex_timestamp":"000001a01967f330"} 
[2026-08-19 15:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-19 15:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505955328001,"66":13754,"19":206,"94":11008,"24":6,"16":28852009746563072,"45":720857445458235392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505955328001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:15:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:15:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852009746563072,"km_value":28852009746563.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":720857445458235392,"description":"Unknown IO ID 45"} 
[2026-08-19 15:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505955328001,"power":13754,"unknown_19":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":720857445458235392}} 
[2026-08-19 15:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":160183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665259,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:15:16] local.INFO: GPS data processed {"connection_id":160183,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:15:16] local.INFO: Acknowledgment sent {"connection_id":160183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:15:16] local.INFO: TCP Data received {"connection_id":158868,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01967fb000100000000000000000000000000..."} 
[2026-08-19 15:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01967fb000100000000000000000000000000..."} 
[2026-08-19 15:15:16] local.INFO: Processing buffer {"connection_id":158868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01967fb000100000000000000000000000000..."} 
[2026-08-19 15:15:16] local.INFO: Packet analysis {"connection_id":158868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:15:16] local.INFO: Extracted packet for processing {"connection_id":158868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:15:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 15:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:16] 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-08-19 15:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787132640000,"timestamp_ms":1787132640000,"timestamp_seconds":1787132640,"priority":1,"record_length":96,"hex_timestamp":"000001a01967fb00"} 
[2026-08-19 15:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-19 15:15:16] 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-08-19 15: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-08-19 15:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:15:16] 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-08-19 15:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":158868,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 15:15:16] local.INFO: GPS data processed {"connection_id":158868,"processed":0,"errors":0,"total":1} 
[2026-08-19 15:15:16] local.INFO: Acknowledgment sent {"connection_id":158868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:15:37] local.INFO: TCP Data received {"connection_id":160185,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019656ea8012ceb04c0071a3e58001d012e2d..."} 
[2026-08-19 15:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019656ea8012ceb04c0071a3e58001d012e2d..."} 
[2026-08-19 15:15:37] local.INFO: Processing buffer {"connection_id":160185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019656ea8012ceb04c0071a3e58001d012e2d..."} 
[2026-08-19 15:15:37] local.INFO: Packet analysis {"connection_id":160185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01965"} 
[2026-08-19 15:15:37] local.INFO: Extracted packet for processing {"connection_id":160185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01965"} 
[2026-08-19 15:15:37] local.INFO: GPS Element Parsed {"raw_longitude":753599680,"raw_latitude":119160408,"longitude_deg":75.359968,"latitude_deg":11.9160408,"altitude":29,"angle":302,"satellites":45,"speed":8,"hex_longitude":"2ceb04c0","hex_latitude":"071a3e58","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505908480001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988698006618112,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1503076345130700800,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787132473000,"timestamp_ms":1787132473000,"timestamp_seconds":1787132473,"priority":1,"record_length":96,"hex_timestamp":"000001a019656ea8"} 
[2026-08-19 15:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 15:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505908480001,"66":28050,"8":206,"2":54272,"24":8,"16":385988698006618112,"44":-1503076345130700800},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505908480001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:15:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988698006618112,"km_value":385988698006618.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1503076345130700800,"description":"Unknown IO ID 44"} 
[2026-08-19 15:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505908480001,"power":28050,"unknown_8":206,"power_alt":54272,"ignition":8,"odometer":null,"unknown_44":-1503076345130700800}} 
[2026-08-19 15:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":160185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:15:37] local.INFO: GPS data processed {"connection_id":160185,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:15:37] local.INFO: Acknowledgment sent {"connection_id":160185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:15:46] local.INFO: TCP Data received {"connection_id":158010,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019668bd0012d190380072143080041009825..."} 
[2026-08-19 15:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019668bd0012d190380072143080041009825..."} 
[2026-08-19 15:15:46] local.INFO: Processing buffer {"connection_id":158010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019668bd0012d190380072143080041009825..."} 
[2026-08-19 15:15:46] local.INFO: Packet analysis {"connection_id":158010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01966"} 
[2026-08-19 15:15:46] local.INFO: Extracted packet for processing {"connection_id":158010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01966"} 
[2026-08-19 15:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756614016,"raw_latitude":119620360,"longitude_deg":75.6614016,"latitude_deg":11.962036,"altitude":65,"angle":152,"satellites":37,"speed":0,"hex_longitude":"2d190380","hex_latitude":"07214308","is_valid_coordinates":true} 
[2026-08-19 15:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505926400001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13783237247631360,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802425043989497856,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15: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-08-19 15:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787132546000,"timestamp_ms":1787132546000,"timestamp_seconds":1787132546,"priority":1,"record_length":96,"hex_timestamp":"000001a019668bd0"} 
[2026-08-19 15:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:15: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-08-19 15:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-19 15:15:46] 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-08-19 15:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505926400001,"66":13048,"121":206,"28":31744,"24":0,"16":13783237247631360,"45":1802425043989497856},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505926400001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:15:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:15:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13783237247631360,"km_value":13783237247631.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802425043989497856,"description":"Unknown IO ID 45"} 
[2026-08-19 15:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505926400001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1802425043989497856}} 
[2026-08-19 15:15:46] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:15:46] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:15:46] local.INFO: Packet analysis {"connection_id":160183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:15:46] local.INFO: Extracted packet for processing {"connection_id":160183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:15:46] local.INFO: GPS Element Parsed {"raw_longitude":755630336,"raw_latitude":117586896,"longitude_deg":75.5630336,"latitude_deg":11.7586896,"altitude":17,"angle":94,"satellites":33,"speed":6,"hex_longitude":"2d0a0100","hex_latitude":"07023bd0","is_valid_coordinates":true} 
[2026-08-19 15:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505955328001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852009746563072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720857445458235392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787132638000,"timestamp_ms":1787132638000,"timestamp_seconds":1787132638,"priority":1,"record_length":96,"hex_timestamp":"000001a01967f330"} 
[2026-08-19 15:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-19 15:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505955328001,"66":13754,"19":206,"94":11008,"24":6,"16":28852009746563072,"45":720857445458235392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505955328001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:15:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:15:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852009746563072,"km_value":28852009746563.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":720857445458235392,"description":"Unknown IO ID 45"} 
[2026-08-19 15:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505955328001,"power":13754,"unknown_19":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":720857445458235392}} 
[2026-08-19 15:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":158010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:15:47] local.INFO: GPS data processed {"connection_id":158010,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:15:47] local.INFO: Acknowledgment sent {"connection_id":158010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":160183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665262,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:15:47] local.INFO: GPS data processed {"connection_id":160183,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:15:47] local.INFO: Acknowledgment sent {"connection_id":160183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:15:52] local.INFO: TCP Data received {"connection_id":158868,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a019684d080100000000000000000000000000..."} 
[2026-08-19 15:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019684d080100000000000000000000000000..."} 
[2026-08-19 15:15:52] local.INFO: Processing buffer {"connection_id":158868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019684d080100000000000000000000000000..."} 
[2026-08-19 15:15:52] local.INFO: Packet analysis {"connection_id":158868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01968"} 
[2026-08-19 15:15:52] local.INFO: Extracted packet for processing {"connection_id":158868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01968"} 
[2026-08-19 15:15: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-08-19 15: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-08-19 15:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:52] 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-08-19 15:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787132661000,"timestamp_ms":1787132661000,"timestamp_seconds":1787132661,"priority":1,"record_length":96,"hex_timestamp":"000001a019684d08"} 
[2026-08-19 15:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:15:52] 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-08-19 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 15:15:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:52] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18627784277313901,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5993959051518541824,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-19 15:15:52] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2684420096,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:52] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3204500809,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:52] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3509452800,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3530596707974722048,"note":"Value kept but may cause issues"} 
[2026-08-19 15:15:52] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,110,87,24,241,157,16,209,160,168,10,66,86,109,4,1,240,62,227,25,113,205,9,239,2,45,172,44],"length":577,"final_offset":707,"validated_count":28,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-19 15:15:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 15:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":158868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":158868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":158868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:15:52] 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-08-19 15:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":158868,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 15:15:52] local.INFO: GPS data processed {"connection_id":158868,"processed":0,"errors":0,"total":1} 
[2026-08-19 15:15:52] local.INFO: Acknowledgment sent {"connection_id":158868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:16:00] local.INFO: TCP Data received {"connection_id":160186,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:16:00] local.INFO: Processing buffer {"connection_id":160186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:16:00] local.INFO: IMEI packet received {"connection_id":160186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":160186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:16:04] local.INFO: TCP Data received {"connection_id":160186,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:16:04] local.INFO: Processing buffer {"connection_id":160186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:16:04] local.INFO: IMEI packet received {"connection_id":160186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":160186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:16:05] local.INFO: TCP Data received {"connection_id":160186,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019657290012ceb0400071a3ef0001d013b2d..."} 
[2026-08-19 15:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019657290012ceb0400071a3ef0001d013b2d..."} 
[2026-08-19 15:16:05] local.INFO: Processing buffer {"connection_id":160186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019657290012ceb0400071a3ef0001d013b2d..."} 
[2026-08-19 15:16:05] local.INFO: Packet analysis {"connection_id":160186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01965"} 
[2026-08-19 15:16:05] local.INFO: Extracted packet for processing {"connection_id":160186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01965"} 
[2026-08-19 15:16:05] local.INFO: GPS Element Parsed {"raw_longitude":753599488,"raw_latitude":119160560,"longitude_deg":75.3599488,"latitude_deg":11.916056,"altitude":29,"angle":315,"satellites":45,"speed":9,"hex_longitude":"2ceb0400","hex_latitude":"071a3ef0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505913088001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988710891520000,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511872438152046592,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787132474000,"timestamp_ms":1787132474000,"timestamp_seconds":1787132474,"priority":1,"record_length":96,"hex_timestamp":"000001a019657290"} 
[2026-08-19 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-08-19 15:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 15:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 15:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505913088001,"66":27908,"8":206,"2":54272,"24":9,"16":385988710891520000,"44":-1511872438152046592},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505913088001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:16:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988710891520000,"km_value":385988710891520,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:16:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511872438152046592,"description":"Unknown IO ID 44"} 
[2026-08-19 15:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505913088001,"power":27908,"unknown_8":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-1511872438152046592}} 
[2026-08-19 15:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":160186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:16:05] local.INFO: GPS data processed {"connection_id":160186,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:16:05] local.INFO: Acknowledgment sent {"connection_id":160186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:16:14] local.INFO: TCP Data received {"connection_id":158872,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:16:14] local.INFO: Processing buffer {"connection_id":158872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:16:14] local.INFO: IMEI packet received {"connection_id":158872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":158872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:16:14] local.INFO: TCP Data received {"connection_id":158872,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:16:14] local.INFO: Processing buffer {"connection_id":158872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:16:14] local.INFO: IMEI packet received {"connection_id":158872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":158872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:16:18] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:16:18] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:16:18] local.INFO: Packet analysis {"connection_id":160183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:16:18] local.INFO: Extracted packet for processing {"connection_id":160183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:16:18] local.INFO: GPS Element Parsed {"raw_longitude":755630336,"raw_latitude":117586896,"longitude_deg":75.5630336,"latitude_deg":11.7586896,"altitude":17,"angle":94,"satellites":33,"speed":6,"hex_longitude":"2d0a0100","hex_latitude":"07023bd0","is_valid_coordinates":true} 
[2026-08-19 15:16:18] 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-08-19 15:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505955328001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852009746563072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720857445458235392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787132638000,"timestamp_ms":1787132638000,"timestamp_seconds":1787132638,"priority":1,"record_length":96,"hex_timestamp":"000001a01967f330"} 
[2026-08-19 15:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15: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":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-19 15:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505955328001,"66":13754,"19":206,"94":11008,"24":6,"16":28852009746563072,"45":720857445458235392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505955328001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:16:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:16:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852009746563072,"km_value":28852009746563.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":720857445458235392,"description":"Unknown IO ID 45"} 
[2026-08-19 15:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505955328001,"power":13754,"unknown_19":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":720857445458235392}} 
[2026-08-19 15:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":160183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665264,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:16:18] local.INFO: GPS data processed {"connection_id":160183,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:16:18] local.INFO: Acknowledgment sent {"connection_id":160183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:16:18] local.INFO: TCP Data received {"connection_id":158872,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:16:18] local.INFO: Processing buffer {"connection_id":158872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:16:18] local.INFO: IMEI packet received {"connection_id":158872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":158872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:16:19] local.INFO: TCP Data received {"connection_id":158872,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01966ddd8012d190380072143080041009823..."} 
[2026-08-19 15:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01966ddd8012d190380072143080041009823..."} 
[2026-08-19 15:16:19] local.INFO: Processing buffer {"connection_id":158872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01966ddd8012d190380072143080041009823..."} 
[2026-08-19 15:16:19] local.INFO: Packet analysis {"connection_id":158872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01966"} 
[2026-08-19 15:16:19] local.INFO: Extracted packet for processing {"connection_id":158872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01966"} 
[2026-08-19 15:16:19] local.INFO: GPS Element Parsed {"raw_longitude":756614016,"raw_latitude":119620360,"longitude_deg":75.6614016,"latitude_deg":11.962036,"altitude":65,"angle":152,"satellites":35,"speed":0,"hex_longitude":"2d190380","hex_latitude":"07214308","is_valid_coordinates":true} 
[2026-08-19 15:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505931776001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13783237247631360,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802425043989497856,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787132567000,"timestamp_ms":1787132567000,"timestamp_seconds":1787132567,"priority":1,"record_length":96,"hex_timestamp":"000001a01966ddd8"} 
[2026-08-19 15:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:16: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-08-19 15:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 15:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505931776001,"66":13004,"121":206,"28":31744,"24":0,"16":13783237247631360,"45":1802425043989497856},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505931776001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:16:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:16:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13783237247631360,"km_value":13783237247631.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802425043989497856,"description":"Unknown IO ID 45"} 
[2026-08-19 15:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505931776001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1802425043989497856}} 
[2026-08-19 15:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":158872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:16:20] local.INFO: GPS data processed {"connection_id":158872,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:16:20] local.INFO: Acknowledgment sent {"connection_id":158872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:16:24] local.INFO: TCP Data received {"connection_id":158872,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019672fe0012d190380072143080041009822..."} 
[2026-08-19 15:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019672fe0012d190380072143080041009822..."} 
[2026-08-19 15:16:24] local.INFO: Processing buffer {"connection_id":158872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019672fe0012d190380072143080041009822..."} 
[2026-08-19 15:16:24] local.INFO: Packet analysis {"connection_id":158872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:16:24] local.INFO: Extracted packet for processing {"connection_id":158872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:16:24] local.INFO: GPS Element Parsed {"raw_longitude":756614016,"raw_latitude":119620360,"longitude_deg":75.6614016,"latitude_deg":11.962036,"altitude":65,"angle":152,"satellites":34,"speed":0,"hex_longitude":"2d190380","hex_latitude":"07214308","is_valid_coordinates":true} 
[2026-08-19 15:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505937152001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13783237247631360,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802425043989497856,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16: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-08-19 15:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787132588000,"timestamp_ms":1787132588000,"timestamp_seconds":1787132588,"priority":1,"record_length":96,"hex_timestamp":"000001a019672fe0"} 
[2026-08-19 15:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:16:24] 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-08-19 15:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-19 15:16:24] 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-08-19 15:16:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505937152001,"66":12993,"121":206,"28":31744,"24":0,"16":13783237247631360,"45":1802425043989497856},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505937152001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:16:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:16:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13783237247631360,"km_value":13783237247631.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802425043989497856,"description":"Unknown IO ID 45"} 
[2026-08-19 15:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505937152001,"power":12993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1802425043989497856}} 
[2026-08-19 15:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":158872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:16:24] local.INFO: GPS data processed {"connection_id":158872,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:16:24] local.INFO: Acknowledgment sent {"connection_id":158872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:16:35] local.INFO: TCP Data received {"connection_id":158011,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:16:35] local.INFO: Processing buffer {"connection_id":158011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:16:35] local.INFO: IMEI packet received {"connection_id":158011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":158011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:16:37] local.INFO: TCP Data received {"connection_id":160186,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01965c498012ceb0640071a3eb0001e013b2d..."} 
[2026-08-19 15:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01965c498012ceb0640071a3eb0001e013b2d..."} 
[2026-08-19 15:16:37] local.INFO: Processing buffer {"connection_id":160186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01965c498012ceb0640071a3eb0001e013b2d..."} 
[2026-08-19 15:16:37] local.INFO: Packet analysis {"connection_id":160186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01965"} 
[2026-08-19 15:16:37] local.INFO: Extracted packet for processing {"connection_id":160186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01965"} 
[2026-08-19 15:16:37] local.INFO: GPS Element Parsed {"raw_longitude":753600064,"raw_latitude":119160496,"longitude_deg":75.3600064,"latitude_deg":11.9160496,"altitude":30,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2ceb0640","hex_latitude":"071a3eb0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505913344001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512083544384540672,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787132495000,"timestamp_ms":1787132495000,"timestamp_seconds":1787132495,"priority":1,"record_length":96,"hex_timestamp":"000001a01965c498"} 
[2026-08-19 15:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:16: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-08-19 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 15:16:37] 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-08-19 15: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-08-19 15:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505913344001,"66":27800,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512083544384540672},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505913344001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:16:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:16:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512083544384540672,"description":"Unknown IO ID 44"} 
[2026-08-19 15:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505913344001,"power":27800,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512083544384540672}} 
[2026-08-19 15:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":160186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:16:37] local.INFO: GPS data processed {"connection_id":160186,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:16:37] local.INFO: Acknowledgment sent {"connection_id":160186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:16:38] local.INFO: TCP Data received {"connection_id":158011,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:16:38] local.INFO: Processing buffer {"connection_id":158011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:16:38] local.INFO: IMEI packet received {"connection_id":158011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":158011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:16:40] local.INFO: TCP Data received {"connection_id":158011,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:16:40] local.INFO: Processing buffer {"connection_id":158011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:16:40] local.INFO: IMEI packet received {"connection_id":158011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":158011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:16:41] local.INFO: TCP Data received {"connection_id":158011,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a019689f100100000000000000000000000000..."} 
[2026-08-19 15:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019689f100100000000000000000000000000..."} 
[2026-08-19 15:16:41] local.INFO: Processing buffer {"connection_id":158011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019689f100100000000000000000000000000..."} 
[2026-08-19 15:16:41] local.INFO: Packet analysis {"connection_id":158011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01968"} 
[2026-08-19 15:16:41] local.INFO: Extracted packet for processing {"connection_id":158011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01968"} 
[2026-08-19 15:16: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-08-19 15:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120701285530861568,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16:41] 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-08-19 15:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787132682000,"timestamp_ms":1787132682000,"timestamp_seconds":1787132682,"priority":1,"record_length":96,"hex_timestamp":"000001a019689f10"} 
[2026-08-19 15:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:16:41] 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-08-19 15:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-19 15:16:41] 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-08-19 15:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:16:41] 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-08-19 15:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":158011,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-19 15:16:41] local.INFO: GPS data processed {"connection_id":158011,"processed":0,"errors":0,"total":1} 
[2026-08-19 15:16:41] local.INFO: Acknowledgment sent {"connection_id":158011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:16:49] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:16:49] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:16:49] local.INFO: Packet analysis {"connection_id":160183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:16:49] local.INFO: Extracted packet for processing {"connection_id":160183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:16:49] local.INFO: GPS Element Parsed {"raw_longitude":755630336,"raw_latitude":117586896,"longitude_deg":75.5630336,"latitude_deg":11.7586896,"altitude":17,"angle":94,"satellites":33,"speed":6,"hex_longitude":"2d0a0100","hex_latitude":"07023bd0","is_valid_coordinates":true} 
[2026-08-19 15:16:49] 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-08-19 15:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505955328001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852009746563072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720857445458235392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787132638000,"timestamp_ms":1787132638000,"timestamp_seconds":1787132638,"priority":1,"record_length":96,"hex_timestamp":"000001a01967f330"} 
[2026-08-19 15:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-19 15:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505955328001,"66":13754,"19":206,"94":11008,"24":6,"16":28852009746563072,"45":720857445458235392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505955328001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:16:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:16:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852009746563072,"km_value":28852009746563.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":720857445458235392,"description":"Unknown IO ID 45"} 
[2026-08-19 15:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505955328001,"power":13754,"unknown_19":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":720857445458235392}} 
[2026-08-19 15:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":160183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665268,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:16:49] local.INFO: GPS data processed {"connection_id":160183,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:16:49] local.INFO: Acknowledgment sent {"connection_id":160183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:16:59] local.INFO: TCP Data received {"connection_id":157629,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:16:59] local.INFO: Processing buffer {"connection_id":157629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:16:59] local.INFO: IMEI packet received {"connection_id":157629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":157629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:17:04] local.INFO: TCP Data received {"connection_id":157629,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:17:04] local.INFO: Processing buffer {"connection_id":157629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:17:04] local.INFO: IMEI packet received {"connection_id":157629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":157629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:17:06] local.INFO: TCP Data received {"connection_id":157629,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01965cc68012ceb0640071a3eb0001e013b2e..."} 
[2026-08-19 15:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01965cc68012ceb0640071a3eb0001e013b2e..."} 
[2026-08-19 15:17:06] local.INFO: Processing buffer {"connection_id":157629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01965cc68012ceb0640071a3eb0001e013b2e..."} 
[2026-08-19 15:17:06] local.INFO: Packet analysis {"connection_id":157629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01965"} 
[2026-08-19 15:17:06] local.INFO: Extracted packet for processing {"connection_id":157629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01965"} 
[2026-08-19 15:17:06] local.INFO: GPS Element Parsed {"raw_longitude":753600064,"raw_latitude":119160496,"longitude_deg":75.3600064,"latitude_deg":11.9160496,"altitude":30,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2ceb0640","hex_latitude":"071a3eb0","is_valid_coordinates":true} 
[2026-08-19 15:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505918720001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686958080,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787132497000,"timestamp_ms":1787132497000,"timestamp_seconds":1787132497,"priority":1,"record_length":96,"hex_timestamp":"000001a01965cc68"} 
[2026-08-19 15:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:17: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-08-19 15:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 15:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505918720001,"66":27800,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1511450225686958080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505918720001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:17:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:17:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686958080,"description":"Unknown IO ID 44"} 
[2026-08-19 15:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505918720001,"power":27800,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511450225686958080}} 
[2026-08-19 15:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":157629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:17:06] local.INFO: GPS data processed {"connection_id":157629,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:17:06] local.INFO: Acknowledgment sent {"connection_id":157629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:17:09] local.INFO: TCP Data received {"connection_id":157630,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:17:09] local.INFO: Processing buffer {"connection_id":157630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:17:09] local.INFO: IMEI packet received {"connection_id":157630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":157630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:17:12] local.INFO: TCP Data received {"connection_id":158011,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0196a9ae0012d7ab2c005ebb500000900f718..."} 
[2026-08-19 15:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196a9ae0012d7ab2c005ebb500000900f718..."} 
[2026-08-19 15:17:12] local.INFO: Processing buffer {"connection_id":158011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196a9ae0012d7ab2c005ebb500000900f718..."} 
[2026-08-19 15:17:12] local.INFO: Packet analysis {"connection_id":158011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:17:12] local.INFO: Extracted packet for processing {"connection_id":158011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763015872,"raw_latitude":99333376,"longitude_deg":76.3015872,"latitude_deg":9.9333376,"altitude":9,"angle":247,"satellites":24,"speed":40,"hex_longitude":"2d7ab2c0","hex_latitude":"05ebb500","is_valid_coordinates":true} 
[2026-08-19 15:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505997568001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120706108779134976,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851262143073705984,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787132812000,"timestamp_ms":1787132812000,"timestamp_seconds":1787132812,"priority":1,"record_length":96,"hex_timestamp":"000001a0196a9ae0"} 
[2026-08-19 15:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:17:12] 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-08-19 15:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-19 15:17:12] 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-08-19 15:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:17:12] 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-08-19 15:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505997568001,"66":13526,"98":206,"87":13824,"24":40,"16":120706108779134976,"45":8851262143073705984},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-19 15:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505997568001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:17:12] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-19 15:17:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120706108779134976,"km_value":120706108779134.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851262143073705984,"description":"Unknown IO ID 45"} 
[2026-08-19 15:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505997568001,"power":13526,"unknown_98":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8851262143073705984}} 
[2026-08-19 15:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":158011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:17:12] local.INFO: GPS data processed {"connection_id":158011,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:17:12] local.INFO: Acknowledgment sent {"connection_id":158011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:17:14] local.INFO: TCP Data received {"connection_id":157630,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:17:14] local.INFO: Processing buffer {"connection_id":157630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:17:14] local.INFO: IMEI packet received {"connection_id":157630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":157630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:17:15] local.INFO: TCP Data received {"connection_id":157630,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0196781e8012d190380072143080041009826..."} 
[2026-08-19 15:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196781e8012d190380072143080041009826..."} 
[2026-08-19 15:17:15] local.INFO: Processing buffer {"connection_id":157630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196781e8012d190380072143080041009826..."} 
[2026-08-19 15:17:15] local.INFO: Packet analysis {"connection_id":157630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:17:15] local.INFO: Extracted packet for processing {"connection_id":157630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:17:15] local.INFO: GPS Element Parsed {"raw_longitude":756614016,"raw_latitude":119620360,"longitude_deg":75.6614016,"latitude_deg":11.962036,"altitude":65,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d190380","hex_latitude":"07214308","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505942528001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13783237247631360,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802425043989497856,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17: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-08-19 15:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787132609000,"timestamp_ms":1787132609000,"timestamp_seconds":1787132609,"priority":1,"record_length":96,"hex_timestamp":"000001a0196781e8"} 
[2026-08-19 15:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:17: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-08-19 15: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-19 15:17:15] 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-08-19 15: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-08-19 15:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505942528001,"66":12939,"121":206,"28":31744,"24":0,"16":13783237247631360,"45":1802425043989497856},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505942528001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:17:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:17:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13783237247631360,"km_value":13783237247631.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802425043989497856,"description":"Unknown IO ID 45"} 
[2026-08-19 15:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505942528001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1802425043989497856}} 
[2026-08-19 15:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":157630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:17:15] local.INFO: GPS data processed {"connection_id":157630,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:17:15] local.INFO: Acknowledgment sent {"connection_id":157630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:17:20] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:17:20] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:17:20] local.INFO: Packet analysis {"connection_id":160183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:17:20] local.INFO: Extracted packet for processing {"connection_id":160183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:17:20] local.INFO: GPS Element Parsed {"raw_longitude":755630336,"raw_latitude":117586896,"longitude_deg":75.5630336,"latitude_deg":11.7586896,"altitude":17,"angle":94,"satellites":33,"speed":6,"hex_longitude":"2d0a0100","hex_latitude":"07023bd0","is_valid_coordinates":true} 
[2026-08-19 15:17:20] 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-08-19 15:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505955328001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852009746563072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720857445458235392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787132638000,"timestamp_ms":1787132638000,"timestamp_seconds":1787132638,"priority":1,"record_length":96,"hex_timestamp":"000001a01967f330"} 
[2026-08-19 15:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15: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":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-19 15:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505955328001,"66":13754,"19":206,"94":11008,"24":6,"16":28852009746563072,"45":720857445458235392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505955328001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:17:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:17:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852009746563072,"km_value":28852009746563.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":720857445458235392,"description":"Unknown IO ID 45"} 
[2026-08-19 15:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505955328001,"power":13754,"unknown_19":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":720857445458235392}} 
[2026-08-19 15:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":160183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665272,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:17:20] local.INFO: GPS data processed {"connection_id":160183,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:17:20] local.INFO: Acknowledgment sent {"connection_id":160183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:17:38] local.INFO: TCP Data received {"connection_id":157629,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:17:38] local.INFO: Processing buffer {"connection_id":157629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:17:38] local.INFO: Packet analysis {"connection_id":157629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:17:38] local.INFO: Extracted packet for processing {"connection_id":157629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:17:38] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":31,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505919232001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686958080,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787132802000,"timestamp_ms":1787132802000,"timestamp_seconds":1787132802,"priority":1,"record_length":96,"hex_timestamp":"000001a0196a73d0"} 
[2026-08-19 15:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 15:17:38] 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-08-19 15: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-08-19 15:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505919232001,"66":26452,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1511450225686958080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505919232001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:17:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:17:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686958080,"description":"Unknown IO ID 44"} 
[2026-08-19 15:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505919232001,"power":26452,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511450225686958080}} 
[2026-08-19 15:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":157629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:17:38] local.INFO: GPS data processed {"connection_id":157629,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:17:38] local.INFO: Acknowledgment sent {"connection_id":157629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:17:43] local.INFO: TCP Data received {"connection_id":158011,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0196ac1f0012d7a904005eba840000800f817..."} 
[2026-08-19 15:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196ac1f0012d7a904005eba840000800f817..."} 
[2026-08-19 15:17:43] local.INFO: Processing buffer {"connection_id":158011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196ac1f0012d7a904005eba840000800f817..."} 
[2026-08-19 15:17:43] local.INFO: Packet analysis {"connection_id":158011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:17:43] local.INFO: Extracted packet for processing {"connection_id":158011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:17:43] local.INFO: GPS Element Parsed {"raw_longitude":763007040,"raw_latitude":99330112,"longitude_deg":76.300704,"latitude_deg":9.9330112,"altitude":8,"angle":248,"satellites":23,"speed":27,"hex_longitude":"2d7a9040","hex_latitude":"05eba840","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505999872001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120706564045668352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841340150143582208,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787132822000,"timestamp_ms":1787132822000,"timestamp_seconds":1787132822,"priority":1,"record_length":96,"hex_timestamp":"000001a0196ac1f0"} 
[2026-08-19 15:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:17: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-08-19 15: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":214,"data_length":795,"current_offset":136} 
[2026-08-19 15:17:43] 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-08-19 15: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-08-19 15:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:17:43] 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-08-19 15:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505999872001,"66":13602,"98":206,"87":13824,"24":27,"16":120706564045668352,"45":8841340150143582208},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-19 15:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505999872001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:17:43] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-19 15:17:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120706564045668352,"km_value":120706564045668.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841340150143582208,"description":"Unknown IO ID 45"} 
[2026-08-19 15:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505999872001,"power":13602,"unknown_98":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8841340150143582208}} 
[2026-08-19 15:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":158011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:17:43] local.INFO: GPS data processed {"connection_id":158011,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:17:43] local.INFO: Acknowledgment sent {"connection_id":158011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:17:47] local.INFO: TCP Data received {"connection_id":157630,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01967d3f0012d190380072143080041009824..."} 
[2026-08-19 15:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01967d3f0012d190380072143080041009824..."} 
[2026-08-19 15:17:47] local.INFO: Processing buffer {"connection_id":157630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01967d3f0012d190380072143080041009824..."} 
[2026-08-19 15:17:47] local.INFO: Packet analysis {"connection_id":157630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:17:47] local.INFO: Extracted packet for processing {"connection_id":157630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:17:47] local.INFO: GPS Element Parsed {"raw_longitude":756614016,"raw_latitude":119620360,"longitude_deg":75.6614016,"latitude_deg":11.962036,"altitude":65,"angle":152,"satellites":36,"speed":0,"hex_longitude":"2d190380","hex_latitude":"07214308","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505947904001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13783237247631360,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802425043989497856,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17: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-08-19 15:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787132630000,"timestamp_ms":1787132630000,"timestamp_seconds":1787132630,"priority":1,"record_length":96,"hex_timestamp":"000001a01967d3f0"} 
[2026-08-19 15:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 15:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505947904001,"66":12950,"121":206,"28":31744,"24":0,"16":13783237247631360,"45":1802425043989497856},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505947904001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:17:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:17:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13783237247631360,"km_value":13783237247631.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802425043989497856,"description":"Unknown IO ID 45"} 
[2026-08-19 15:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505947904001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1802425043989497856}} 
[2026-08-19 15:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":157630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:17:47] local.INFO: GPS data processed {"connection_id":157630,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:17:47] local.INFO: Acknowledgment sent {"connection_id":157630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:17:51] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:17:51] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:17:51] local.INFO: Packet analysis {"connection_id":160183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:17:51] local.INFO: Extracted packet for processing {"connection_id":160183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:17:51] local.INFO: GPS Element Parsed {"raw_longitude":755630336,"raw_latitude":117586896,"longitude_deg":75.5630336,"latitude_deg":11.7586896,"altitude":17,"angle":94,"satellites":33,"speed":6,"hex_longitude":"2d0a0100","hex_latitude":"07023bd0","is_valid_coordinates":true} 
[2026-08-19 15:17:51] 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-08-19 15:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505955328001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852009746563072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720857445458235392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787132638000,"timestamp_ms":1787132638000,"timestamp_seconds":1787132638,"priority":1,"record_length":96,"hex_timestamp":"000001a01967f330"} 
[2026-08-19 15:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-19 15:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160183,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505955328001,"66":13754,"19":206,"94":11008,"24":6,"16":28852009746563072,"45":720857445458235392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505955328001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:17:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:17:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852009746563072,"km_value":28852009746563.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":720857445458235392,"description":"Unknown IO ID 45"} 
[2026-08-19 15:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505955328001,"power":13754,"unknown_19":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":720857445458235392}} 
[2026-08-19 15:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":160183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665276,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:17:51] local.INFO: GPS data processed {"connection_id":160183,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:17:51] local.INFO: Acknowledgment sent {"connection_id":160183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:17:59] local.INFO: TCP Data received {"connection_id":158873,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:17:59] local.INFO: Processing buffer {"connection_id":158873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:17:59] local.INFO: IMEI packet received {"connection_id":158873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":158873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:18:04] local.INFO: TCP Data received {"connection_id":158873,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:18:04] local.INFO: Processing buffer {"connection_id":158873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:18:04] local.INFO: IMEI packet received {"connection_id":158873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":158873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:18:05] local.INFO: TCP Data received {"connection_id":158873,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:18:05] local.INFO: Processing buffer {"connection_id":158873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:18:05] local.INFO: Packet analysis {"connection_id":158873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:18:05] local.INFO: Extracted packet for processing {"connection_id":158873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:18:05] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":31,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505919232001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686958080,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787132802000,"timestamp_ms":1787132802000,"timestamp_seconds":1787132802,"priority":1,"record_length":96,"hex_timestamp":"000001a0196a73d0"} 
[2026-08-19 15:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 15:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505919232001,"66":26452,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1511450225686958080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505919232001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:18:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:18:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686958080,"description":"Unknown IO ID 44"} 
[2026-08-19 15:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505919232001,"power":26452,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511450225686958080}} 
[2026-08-19 15:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":158873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:18:05] local.INFO: GPS data processed {"connection_id":158873,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:18:05] local.INFO: Acknowledgment sent {"connection_id":158873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:18:09] local.INFO: TCP Data received {"connection_id":157631,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:18:09] local.INFO: Processing buffer {"connection_id":157631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:18:09] local.INFO: IMEI packet received {"connection_id":157631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":157631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:18:10] local.INFO: TCP Data received {"connection_id":158873,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:18:10] local.INFO: Processing buffer {"connection_id":158873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:18:10] local.INFO: Packet analysis {"connection_id":158873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:18:10] local.INFO: Extracted packet for processing {"connection_id":158873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:18:10] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":31,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505919232001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686958080,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787132802000,"timestamp_ms":1787132802000,"timestamp_seconds":1787132802,"priority":1,"record_length":96,"hex_timestamp":"000001a0196a73d0"} 
[2026-08-19 15:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 15:18:10] 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-08-19 15: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-08-19 15:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505919232001,"66":26452,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1511450225686958080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505919232001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:18:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686958080,"description":"Unknown IO ID 44"} 
[2026-08-19 15:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505919232001,"power":26452,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511450225686958080}} 
[2026-08-19 15:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":158873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:18:10] local.INFO: GPS data processed {"connection_id":158873,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:18:10] local.INFO: Acknowledgment sent {"connection_id":158873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:18:14] local.INFO: TCP Data received {"connection_id":157631,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:18:14] local.INFO: Processing buffer {"connection_id":157631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:18:14] local.INFO: IMEI packet received {"connection_id":157631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":157631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:18:15] local.INFO: TCP Data received {"connection_id":158011,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0196add48012d7a858005eba4700008010315..."} 
[2026-08-19 15:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196add48012d7a858005eba4700008010315..."} 
[2026-08-19 15:18:15] local.INFO: Processing buffer {"connection_id":158011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196add48012d7a858005eba4700008010315..."} 
[2026-08-19 15:18:15] local.INFO: Packet analysis {"connection_id":158011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:18:15] local.INFO: Extracted packet for processing {"connection_id":158011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:18:15] local.INFO: GPS Element Parsed {"raw_longitude":763004288,"raw_latitude":99329136,"longitude_deg":76.3004288,"latitude_deg":9.9329136,"altitude":8,"angle":259,"satellites":21,"speed":9,"hex_longitude":"2d7a8580","hex_latitude":"05eba470","is_valid_coordinates":true} 
[2026-08-19 15:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506002432001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120706701484621824,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831629263446228992,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787132829000,"timestamp_ms":1787132829000,"timestamp_seconds":1787132829,"priority":1,"record_length":96,"hex_timestamp":"000001a0196add48"} 
[2026-08-19 15:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:18:15] 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-08-19 15:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-19 15:18: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-08-19 15:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:18:15] 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-08-19 15:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506002432001,"66":13656,"98":206,"87":13824,"24":9,"16":120706701484621824,"45":8831629263446228992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-19 15:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506002432001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:18:15] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-19 15:18:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120706701484621824,"km_value":120706701484621.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831629263446228992,"description":"Unknown IO ID 45"} 
[2026-08-19 15:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506002432001,"power":13656,"unknown_98":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8831629263446228992}} 
[2026-08-19 15:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":158011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:18:15] local.INFO: GPS data processed {"connection_id":158011,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:18:15] local.INFO: Acknowledgment sent {"connection_id":158011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:18:15] local.INFO: TCP Data received {"connection_id":157631,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0196825f8012d190380072143080041009825..."} 
[2026-08-19 15:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196825f8012d190380072143080041009825..."} 
[2026-08-19 15:18:15] local.INFO: Processing buffer {"connection_id":157631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196825f8012d190380072143080041009825..."} 
[2026-08-19 15:18:15] local.INFO: Packet analysis {"connection_id":157631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01968"} 
[2026-08-19 15:18:15] local.INFO: Extracted packet for processing {"connection_id":157631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01968"} 
[2026-08-19 15:18:15] local.INFO: GPS Element Parsed {"raw_longitude":756614016,"raw_latitude":119620360,"longitude_deg":75.6614016,"latitude_deg":11.962036,"altitude":65,"angle":152,"satellites":37,"speed":0,"hex_longitude":"2d190380","hex_latitude":"07214308","is_valid_coordinates":true} 
[2026-08-19 15:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505953280001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13783237247631360,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802425043989497856,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18: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-08-19 15:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787132651000,"timestamp_ms":1787132651000,"timestamp_seconds":1787132651,"priority":1,"record_length":96,"hex_timestamp":"000001a0196825f8"} 
[2026-08-19 15:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:18: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-08-19 15:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 15:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505953280001,"66":12885,"121":206,"28":31744,"24":0,"16":13783237247631360,"45":1802425043989497856},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505953280001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:18:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:18:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13783237247631360,"km_value":13783237247631.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802425043989497856,"description":"Unknown IO ID 45"} 
[2026-08-19 15:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505953280001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1802425043989497856}} 
[2026-08-19 15:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":157631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:18:15] local.INFO: GPS data processed {"connection_id":157631,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:18:15] local.INFO: Acknowledgment sent {"connection_id":157631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:18:35] local.INFO: TCP Data received {"connection_id":158874,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:18:35] local.INFO: Processing buffer {"connection_id":158874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:18:35] local.INFO: IMEI packet received {"connection_id":158874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":158874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:18:36] local.INFO: TCP Data received {"connection_id":158012,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158012,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:18:36] local.INFO: Processing buffer {"connection_id":158012,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:18:36] local.INFO: IMEI packet received {"connection_id":158012,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":158012,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:18:38] local.INFO: TCP Data received {"connection_id":158874,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:18:38] local.INFO: Processing buffer {"connection_id":158874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:18:38] local.INFO: IMEI packet received {"connection_id":158874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":158874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:18:40] local.INFO: TCP Data received {"connection_id":158874,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:18:40] local.INFO: Processing buffer {"connection_id":158874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:18:40] local.INFO: IMEI packet received {"connection_id":158874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":158874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:18:41] local.INFO: TCP Data received {"connection_id":158874,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0196aece8012d7a838005eba3c0000800f816..."} 
[2026-08-19 15:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196aece8012d7a838005eba3c0000800f816..."} 
[2026-08-19 15:18:41] local.INFO: Processing buffer {"connection_id":158874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196aece8012d7a838005eba3c0000800f816..."} 
[2026-08-19 15:18:41] local.INFO: Packet analysis {"connection_id":158874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:18:41] local.INFO: Extracted packet for processing {"connection_id":158874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763003776,"raw_latitude":99328960,"longitude_deg":76.3003776,"latitude_deg":9.932896,"altitude":8,"angle":248,"satellites":22,"speed":5,"hex_longitude":"2d7a8380","hex_latitude":"05eba3c0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506004224001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120706727254425600,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828603407446339584,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787132833000,"timestamp_ms":1787132833000,"timestamp_seconds":1787132833,"priority":1,"record_length":96,"hex_timestamp":"000001a0196aece8"} 
[2026-08-19 15:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:18:41] 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-08-19 15: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-19 15:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:18:41] 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-08-19 15:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506004224001,"66":13493,"98":206,"87":13824,"24":5,"16":120706727254425600,"45":8828603407446339584},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-19 15:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506004224001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:18:41] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-19 15:18:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120706727254425600,"km_value":120706727254425.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828603407446339584,"description":"Unknown IO ID 45"} 
[2026-08-19 15:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506004224001,"power":13493,"unknown_98":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8828603407446339584}} 
[2026-08-19 15:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":158874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:18:41] local.INFO: GPS data processed {"connection_id":158874,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:18:41] local.INFO: Acknowledgment sent {"connection_id":158874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:18:42] local.INFO: TCP Data received {"connection_id":158873,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:18:42] local.INFO: Processing buffer {"connection_id":158873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:18:42] local.INFO: Packet analysis {"connection_id":158873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:18:42] local.INFO: Extracted packet for processing {"connection_id":158873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:18:42] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":31,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505919232001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686958080,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787132802000,"timestamp_ms":1787132802000,"timestamp_seconds":1787132802,"priority":1,"record_length":96,"hex_timestamp":"000001a0196a73d0"} 
[2026-08-19 15:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 15:18:42] 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-08-19 15:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505919232001,"66":26452,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1511450225686958080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505919232001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:18:42] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686958080,"description":"Unknown IO ID 44"} 
[2026-08-19 15:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505919232001,"power":26452,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511450225686958080}} 
[2026-08-19 15:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":158873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:18:42] local.INFO: GPS data processed {"connection_id":158873,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:18:42] local.INFO: Acknowledgment sent {"connection_id":158873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:18:42] local.INFO: TCP Data received {"connection_id":158012,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158012,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:18:42] local.INFO: Processing buffer {"connection_id":158012,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:18:42] local.INFO: IMEI packet received {"connection_id":158012,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":158012,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:18:42] local.INFO: TCP Data received {"connection_id":158012,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:18:42] local.INFO: Processing buffer {"connection_id":158012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01967f330012d0a010007023bd00011005e21..."} 
[2026-08-19 15:18:42] local.INFO: Packet analysis {"connection_id":158012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:18:42] local.INFO: Extracted packet for processing {"connection_id":158012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01967"} 
[2026-08-19 15:18:42] local.INFO: GPS Element Parsed {"raw_longitude":755630336,"raw_latitude":117586896,"longitude_deg":75.5630336,"latitude_deg":11.7586896,"altitude":17,"angle":94,"satellites":33,"speed":6,"hex_longitude":"2d0a0100","hex_latitude":"07023bd0","is_valid_coordinates":true} 
[2026-08-19 15:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505955328001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852009746563072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720857445458235392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787132638000,"timestamp_ms":1787132638000,"timestamp_seconds":1787132638,"priority":1,"record_length":96,"hex_timestamp":"000001a01967f330"} 
[2026-08-19 15:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-19 15:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505955328001,"66":13754,"19":206,"94":11008,"24":6,"16":28852009746563072,"45":720857445458235392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505955328001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:18:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:18:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852009746563072,"km_value":28852009746563.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":720857445458235392,"description":"Unknown IO ID 45"} 
[2026-08-19 15:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505955328001,"power":13754,"unknown_19":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":720857445458235392}} 
[2026-08-19 15:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":158012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665283,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:18:42] local.INFO: GPS data processed {"connection_id":158012,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:18:42] local.INFO: Acknowledgment sent {"connection_id":158012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:18:47] local.INFO: TCP Data received {"connection_id":157631,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019687800012d190380072143080041009829..."} 
[2026-08-19 15:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019687800012d190380072143080041009829..."} 
[2026-08-19 15:18:47] local.INFO: Processing buffer {"connection_id":157631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019687800012d190380072143080041009829..."} 
[2026-08-19 15:18:47] local.INFO: Packet analysis {"connection_id":157631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01968"} 
[2026-08-19 15:18:47] local.INFO: Extracted packet for processing {"connection_id":157631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01968"} 
[2026-08-19 15:18:47] local.INFO: GPS Element Parsed {"raw_longitude":756614016,"raw_latitude":119620360,"longitude_deg":75.6614016,"latitude_deg":11.962036,"altitude":65,"angle":152,"satellites":41,"speed":0,"hex_longitude":"2d190380","hex_latitude":"07214308","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505958656001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13783237247631360,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802425043989497856,"note":"Value kept but may cause issues"} 
[2026-08-19 15:18: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-08-19 15:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787132672000,"timestamp_ms":1787132672000,"timestamp_seconds":1787132672,"priority":1,"record_length":96,"hex_timestamp":"000001a019687800"} 
[2026-08-19 15:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 15:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505958656001,"66":12841,"121":206,"28":31744,"24":0,"16":13783237247631360,"45":1802425043989497856},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505958656001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:18:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:18:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13783237247631360,"km_value":13783237247631.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802425043989497856,"description":"Unknown IO ID 45"} 
[2026-08-19 15:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505958656001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1802425043989497856}} 
[2026-08-19 15:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":157631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:18:47] local.INFO: GPS data processed {"connection_id":157631,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:18:47] local.INFO: Acknowledgment sent {"connection_id":157631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:18:59] local.INFO: TCP Data received {"connection_id":160187,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:18:59] local.INFO: Processing buffer {"connection_id":160187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:18:59] local.INFO: IMEI packet received {"connection_id":160187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":160187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:19:04] local.INFO: TCP Data received {"connection_id":160187,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:19:04] local.INFO: Processing buffer {"connection_id":160187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:19:04] local.INFO: IMEI packet received {"connection_id":160187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":160187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:19:05] local.INFO: TCP Data received {"connection_id":160187,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:19:05] local.INFO: Processing buffer {"connection_id":160187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:19:05] local.INFO: Packet analysis {"connection_id":160187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:19:05] local.INFO: Extracted packet for processing {"connection_id":160187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:19:05] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":31,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505919232001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686958080,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787132802000,"timestamp_ms":1787132802000,"timestamp_seconds":1787132802,"priority":1,"record_length":96,"hex_timestamp":"000001a0196a73d0"} 
[2026-08-19 15:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 15:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505919232001,"66":26452,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1511450225686958080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505919232001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:19:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:19:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686958080,"description":"Unknown IO ID 44"} 
[2026-08-19 15:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505919232001,"power":26452,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511450225686958080}} 
[2026-08-19 15:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":160187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:19:05] local.INFO: GPS data processed {"connection_id":160187,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:19:05] local.INFO: Acknowledgment sent {"connection_id":160187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:19:08] local.INFO: TCP Data received {"connection_id":160188,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:19:08] local.INFO: Processing buffer {"connection_id":160188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:19:08] local.INFO: IMEI packet received {"connection_id":160188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":160188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:19:12] local.INFO: TCP Data received {"connection_id":158874,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0196b3b08012d7a80c005eba310000900fa15..."} 
[2026-08-19 15:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196b3b08012d7a80c005eba310000900fa15..."} 
[2026-08-19 15:19:12] local.INFO: Processing buffer {"connection_id":158874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196b3b08012d7a80c005eba310000900fa15..."} 
[2026-08-19 15:19:12] local.INFO: Packet analysis {"connection_id":158874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196b"} 
[2026-08-19 15:19:12] local.INFO: Extracted packet for processing {"connection_id":158874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196b"} 
[2026-08-19 15:19:12] local.INFO: GPS Element Parsed {"raw_longitude":763003072,"raw_latitude":99328784,"longitude_deg":76.3003072,"latitude_deg":9.9328784,"altitude":9,"angle":250,"satellites":21,"speed":0,"hex_longitude":"2d7a80c0","hex_latitude":"05eba310","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506005248001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120706761614163968,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828040457492873216,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:12] 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-08-19 15:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787132853000,"timestamp_ms":1787132853000,"timestamp_seconds":1787132853,"priority":1,"record_length":96,"hex_timestamp":"000001a0196b3b08"} 
[2026-08-19 15:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:19:12] 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-08-19 15: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-19 15:19:12] 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-08-19 15: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-08-19 15:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:19:12] 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-08-19 15:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506005248001,"66":13276,"161":206,"87":13824,"24":0,"16":120706761614163968,"45":8828040457492873216},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-19 15:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506005248001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:19:12] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 15:19:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120706761614163968,"km_value":120706761614163.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828040457492873216,"description":"Unknown IO ID 45"} 
[2026-08-19 15:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506005248001,"power":13276,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8828040457492873216}} 
[2026-08-19 15:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":158874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:19:12] local.INFO: GPS data processed {"connection_id":158874,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:19:12] local.INFO: Acknowledgment sent {"connection_id":158874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:19:14] local.INFO: TCP Data received {"connection_id":158012,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:19:14] local.INFO: Processing buffer {"connection_id":158012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:19:14] local.INFO: Packet analysis {"connection_id":158012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196c"} 
[2026-08-19 15:19:14] local.INFO: Extracted packet for processing {"connection_id":158012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196c"} 
[2026-08-19 15:19:14] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586848,"longitude_deg":75.5630016,"latitude_deg":11.7586848,"altitude":17,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023ba0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505955328001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852009746563072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720857445458235392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787132940000,"timestamp_ms":1787132940000,"timestamp_seconds":1787132940,"priority":1,"record_length":96,"hex_timestamp":"000001a0196c8ee0"} 
[2026-08-19 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-08-19 15:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":186,"data_length":795,"current_offset":136} 
[2026-08-19 15:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 15:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505955328001,"66":12765,"19":206,"94":11008,"24":0,"16":28852009746563072,"45":720857445458235392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505955328001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:19:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:19:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852009746563072,"km_value":28852009746563.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":720857445458235392,"description":"Unknown IO ID 45"} 
[2026-08-19 15:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505955328001,"power":12765,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720857445458235392}} 
[2026-08-19 15:19:14] local.INFO: TCP Data received {"connection_id":160188,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:19:14] local.INFO: Processing buffer {"connection_id":160188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:19:14] local.INFO: IMEI packet received {"connection_id":160188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":160188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":158012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665287,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:19:14] local.INFO: GPS data processed {"connection_id":158012,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:19:14] local.INFO: Acknowledgment sent {"connection_id":158012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:19:15] local.INFO: TCP Data received {"connection_id":160188,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01968ca08012d190380072143080041009827..."} 
[2026-08-19 15:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01968ca08012d190380072143080041009827..."} 
[2026-08-19 15:19:15] local.INFO: Processing buffer {"connection_id":160188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01968ca08012d190380072143080041009827..."} 
[2026-08-19 15:19:15] local.INFO: Packet analysis {"connection_id":160188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01968"} 
[2026-08-19 15:19:15] local.INFO: Extracted packet for processing {"connection_id":160188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01968"} 
[2026-08-19 15:19:15] local.INFO: GPS Element Parsed {"raw_longitude":756614016,"raw_latitude":119620360,"longitude_deg":75.6614016,"latitude_deg":11.962036,"altitude":65,"angle":152,"satellites":39,"speed":0,"hex_longitude":"2d190380","hex_latitude":"07214308","is_valid_coordinates":true} 
[2026-08-19 15:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505964032001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13783237247631360,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802425043989497856,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19: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-08-19 15:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787132693000,"timestamp_ms":1787132693000,"timestamp_seconds":1787132693,"priority":1,"record_length":96,"hex_timestamp":"000001a01968ca08"} 
[2026-08-19 15:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:19: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-08-19 15:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 15:19: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-08-19 15:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505964032001,"66":12885,"121":206,"28":31744,"24":0,"16":13783237247631360,"45":1802425043989497856},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505964032001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:19:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:19:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13783237247631360,"km_value":13783237247631.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802425043989497856,"description":"Unknown IO ID 45"} 
[2026-08-19 15:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505964032001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1802425043989497856}} 
[2026-08-19 15:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":160188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:19:15] local.INFO: GPS data processed {"connection_id":160188,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:19:15] local.INFO: Acknowledgment sent {"connection_id":160188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:19:37] local.INFO: TCP Data received {"connection_id":157632,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157632,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:19:37] local.INFO: Processing buffer {"connection_id":157632,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:19:37] local.INFO: IMEI packet received {"connection_id":157632,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":157632,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:19:37] local.INFO: TCP Data received {"connection_id":160187,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:19:37] local.INFO: Processing buffer {"connection_id":160187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:19:37] local.INFO: Packet analysis {"connection_id":160187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:19:37] local.INFO: Extracted packet for processing {"connection_id":160187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:19:37] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":31,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505919232001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686958080,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787132802000,"timestamp_ms":1787132802000,"timestamp_seconds":1787132802,"priority":1,"record_length":96,"hex_timestamp":"000001a0196a73d0"} 
[2026-08-19 15:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 15:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505919232001,"66":26452,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1511450225686958080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505919232001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:19:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:19:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686958080,"description":"Unknown IO ID 44"} 
[2026-08-19 15:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505919232001,"power":26452,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511450225686958080}} 
[2026-08-19 15:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":160187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:19:37] local.INFO: GPS data processed {"connection_id":160187,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:19:37] local.INFO: Acknowledgment sent {"connection_id":160187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:19:40] local.INFO: TCP Data received {"connection_id":158875,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:19:40] local.INFO: Processing buffer {"connection_id":158875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:19:40] local.INFO: IMEI packet received {"connection_id":158875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":158875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:19:41] local.INFO: TCP Data received {"connection_id":158875,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:19:41] local.INFO: Processing buffer {"connection_id":158875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:19:41] local.INFO: IMEI packet received {"connection_id":158875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":158875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:19:41] local.INFO: TCP Data received {"connection_id":158875,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0196b8d10012d7a7dc005eba200000900fd15..."} 
[2026-08-19 15:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196b8d10012d7a7dc005eba200000900fd15..."} 
[2026-08-19 15:19:41] local.INFO: Processing buffer {"connection_id":158875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196b8d10012d7a7dc005eba200000900fd15..."} 
[2026-08-19 15:19:41] local.INFO: Packet analysis {"connection_id":158875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196b"} 
[2026-08-19 15:19:41] local.INFO: Extracted packet for processing {"connection_id":158875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196b"} 
[2026-08-19 15:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763002304,"raw_latitude":99328512,"longitude_deg":76.3002304,"latitude_deg":9.9328512,"altitude":9,"angle":253,"satellites":21,"speed":9,"hex_longitude":"2d7a7dc0","hex_latitude":"05eba200","is_valid_coordinates":true} 
[2026-08-19 15:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506010368001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120706800268869632,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827266401306873856,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:41] 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-08-19 15:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787132874000,"timestamp_ms":1787132874000,"timestamp_seconds":1787132874,"priority":1,"record_length":96,"hex_timestamp":"000001a0196b8d10"} 
[2026-08-19 15:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:19:41] 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-08-19 15:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-19 15:19:41] 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-08-19 15:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:19:41] 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-08-19 15:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506010368001,"66":13493,"161":206,"87":13824,"24":9,"16":120706800268869632,"45":8827266401306873856},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-19 15:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506010368001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:19:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 15:19:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120706800268869632,"km_value":120706800268869.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827266401306873856,"description":"Unknown IO ID 45"} 
[2026-08-19 15:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506010368001,"power":13493,"unknown_161":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8827266401306873856}} 
[2026-08-19 15:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":158875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:19:42] local.INFO: GPS data processed {"connection_id":158875,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:19:42] local.INFO: Acknowledgment sent {"connection_id":158875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:19:42] local.INFO: TCP Data received {"connection_id":157632,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157632,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:19:42] local.INFO: Processing buffer {"connection_id":157632,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:19:42] local.INFO: IMEI packet received {"connection_id":157632,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":157632,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:19:42] local.INFO: TCP Data received {"connection_id":157632,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:19:42] local.INFO: Processing buffer {"connection_id":157632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:19:42] local.INFO: Packet analysis {"connection_id":157632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196c"} 
[2026-08-19 15:19:42] local.INFO: Extracted packet for processing {"connection_id":157632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196c"} 
[2026-08-19 15:19:42] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586848,"longitude_deg":75.5630016,"latitude_deg":11.7586848,"altitude":17,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023ba0","is_valid_coordinates":true} 
[2026-08-19 15:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505955328001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852009746563072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720857445458235392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787132940000,"timestamp_ms":1787132940000,"timestamp_seconds":1787132940,"priority":1,"record_length":96,"hex_timestamp":"000001a0196c8ee0"} 
[2026-08-19 15:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-19 15:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157632,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157632,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505955328001,"66":12765,"19":206,"94":11008,"24":0,"16":28852009746563072,"45":720857445458235392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505955328001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:19:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:19:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852009746563072,"km_value":28852009746563.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":720857445458235392,"description":"Unknown IO ID 45"} 
[2026-08-19 15:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505955328001,"power":12765,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720857445458235392}} 
[2026-08-19 15:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":157632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665291,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:19:42] local.INFO: GPS data processed {"connection_id":157632,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:19:42] local.INFO: Acknowledgment sent {"connection_id":157632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:19:45] local.INFO: TCP Data received {"connection_id":158875,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0196b9cb0012d7a79c005eba030000800f114..."} 
[2026-08-19 15:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196b9cb0012d7a79c005eba030000800f114..."} 
[2026-08-19 15:19:45] local.INFO: Processing buffer {"connection_id":158875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196b9cb0012d7a79c005eba030000800f114..."} 
[2026-08-19 15:19:45] local.INFO: Packet analysis {"connection_id":158875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196b"} 
[2026-08-19 15:19:45] local.INFO: Extracted packet for processing {"connection_id":158875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196b"} 
[2026-08-19 15:19:45] local.INFO: GPS Element Parsed {"raw_longitude":763001280,"raw_latitude":99328048,"longitude_deg":76.300128,"latitude_deg":9.9328048,"altitude":8,"angle":241,"satellites":20,"speed":11,"hex_longitude":"2d7a79c0","hex_latitude":"05eba030","is_valid_coordinates":true} 
[2026-08-19 15:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506015744001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120706856103444480,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826421976376672256,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:45] 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-08-19 15:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787132878000,"timestamp_ms":1787132878000,"timestamp_seconds":1787132878,"priority":1,"record_length":96,"hex_timestamp":"000001a0196b9cb0"} 
[2026-08-19 15:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:19:45] 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-08-19 15:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-19 15:19:45] 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-08-19 15:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:19:45] 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-08-19 15:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506015744001,"66":13450,"161":206,"87":13824,"24":11,"16":120706856103444480,"45":8826421976376672256},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-19 15:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506015744001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:19:45] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 15:19:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120706856103444480,"km_value":120706856103444.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826421976376672256,"description":"Unknown IO ID 45"} 
[2026-08-19 15:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506015744001,"power":13450,"unknown_161":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8826421976376672256}} 
[2026-08-19 15:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":158875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:19:45] local.INFO: GPS data processed {"connection_id":158875,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:19:45] local.INFO: Acknowledgment sent {"connection_id":158875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:19:47] local.INFO: TCP Data received {"connection_id":160188,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0196c67d0012d1902c0072144000040002621..."} 
[2026-08-19 15:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196c67d0012d1902c0072144000040002621..."} 
[2026-08-19 15:19:47] local.INFO: Processing buffer {"connection_id":160188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196c67d0012d1902c0072144000040002621..."} 
[2026-08-19 15:19:47] local.INFO: Packet analysis {"connection_id":160188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196c"} 
[2026-08-19 15:19:47] local.INFO: Extracted packet for processing {"connection_id":160188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196c"} 
[2026-08-19 15:19:47] local.INFO: GPS Element Parsed {"raw_longitude":756613824,"raw_latitude":119620608,"longitude_deg":75.6613824,"latitude_deg":11.9620608,"altitude":64,"angle":38,"satellites":33,"speed":0,"hex_longitude":"2d1902c0","hex_latitude":"07214400","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506029312001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13783263017435136,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802143569012834304,"note":"Value kept but may cause issues"} 
[2026-08-19 15:19: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-08-19 15:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787132930000,"timestamp_ms":1787132930000,"timestamp_seconds":1787132930,"priority":1,"record_length":96,"hex_timestamp":"000001a0196c67d0"} 
[2026-08-19 15:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 15:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506029312001,"66":14396,"121":206,"28":31744,"24":0,"16":13783263017435136,"45":1802143569012834304},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-19 15:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506029312001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:19:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-19 15:19:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13783263017435136,"km_value":13783263017435.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802143569012834304,"description":"Unknown IO ID 45"} 
[2026-08-19 15:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506029312001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1802143569012834304}} 
[2026-08-19 15:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":160188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:19:47] local.INFO: GPS data processed {"connection_id":160188,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:19:47] local.INFO: Acknowledgment sent {"connection_id":160188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:19:59] local.INFO: TCP Data received {"connection_id":158876,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:19:59] local.INFO: Processing buffer {"connection_id":158876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:19:59] local.INFO: IMEI packet received {"connection_id":158876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":158876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:20:04] local.INFO: TCP Data received {"connection_id":158876,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:20:04] local.INFO: Processing buffer {"connection_id":158876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:20:04] local.INFO: IMEI packet received {"connection_id":158876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":158876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:20:06] local.INFO: TCP Data received {"connection_id":158876,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:20:06] local.INFO: Processing buffer {"connection_id":158876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:20:06] local.INFO: Packet analysis {"connection_id":158876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:20:06] local.INFO: Extracted packet for processing {"connection_id":158876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:20:06] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":31,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505919232001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686958080,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787132802000,"timestamp_ms":1787132802000,"timestamp_seconds":1787132802,"priority":1,"record_length":96,"hex_timestamp":"000001a0196a73d0"} 
[2026-08-19 15:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 15:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505919232001,"66":26452,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1511450225686958080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505919232001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:20:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:20:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686958080,"description":"Unknown IO ID 44"} 
[2026-08-19 15:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505919232001,"power":26452,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511450225686958080}} 
[2026-08-19 15:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":158876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:20:06] local.INFO: GPS data processed {"connection_id":158876,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:20:06] local.INFO: Acknowledgment sent {"connection_id":158876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:20:07] local.INFO: TCP Data received {"connection_id":158013,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:20:07] local.INFO: Processing buffer {"connection_id":158013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:20:07] local.INFO: IMEI packet received {"connection_id":158013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":158013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:20:08] local.INFO: TCP Data received {"connection_id":158013,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:20:08] local.INFO: Processing buffer {"connection_id":158013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:20:08] local.INFO: IMEI packet received {"connection_id":158013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":158013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:20:09] local.INFO: TCP Data received {"connection_id":158013,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:20:09] local.INFO: Processing buffer {"connection_id":158013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:20:09] local.INFO: IMEI packet received {"connection_id":158013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":158013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:20:10] local.INFO: TCP Data received {"connection_id":158013,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:20:10] local.INFO: Processing buffer {"connection_id":158013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:20:10] local.INFO: IMEI packet received {"connection_id":158013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":158013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:20:13] local.INFO: TCP Data received {"connection_id":157632,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:20:13] local.INFO: Processing buffer {"connection_id":157632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:20:13] local.INFO: Packet analysis {"connection_id":157632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196c"} 
[2026-08-19 15:20:13] local.INFO: Extracted packet for processing {"connection_id":157632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196c"} 
[2026-08-19 15:20:13] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586848,"longitude_deg":75.5630016,"latitude_deg":11.7586848,"altitude":17,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023ba0","is_valid_coordinates":true} 
[2026-08-19 15:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505955328001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852009746563072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720857445458235392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787132940000,"timestamp_ms":1787132940000,"timestamp_seconds":1787132940,"priority":1,"record_length":96,"hex_timestamp":"000001a0196c8ee0"} 
[2026-08-19 15:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-19 15:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157632,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157632,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505955328001,"66":12765,"19":206,"94":11008,"24":0,"16":28852009746563072,"45":720857445458235392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505955328001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:20:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:20:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852009746563072,"km_value":28852009746563.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":720857445458235392,"description":"Unknown IO ID 45"} 
[2026-08-19 15:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505955328001,"power":12765,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720857445458235392}} 
[2026-08-19 15:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":157632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665295,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:20:13] local.INFO: GPS data processed {"connection_id":157632,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:20:13] local.INFO: Acknowledgment sent {"connection_id":157632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:20:16] local.INFO: TCP Data received {"connection_id":158875,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0196d5618012d7a524005eb95e80003013518..."} 
[2026-08-19 15:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196d5618012d7a524005eb95e80003013518..."} 
[2026-08-19 15:20:16] local.INFO: Processing buffer {"connection_id":158875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196d5618012d7a524005eb95e80003013518..."} 
[2026-08-19 15:20:16] local.INFO: Packet analysis {"connection_id":158875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196d"} 
[2026-08-19 15:20:16] local.INFO: Extracted packet for processing {"connection_id":158875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196d"} 
[2026-08-19 15:20:16] local.INFO: GPS Element Parsed {"raw_longitude":762991168,"raw_latitude":99325416,"longitude_deg":76.2991168,"latitude_deg":9.9325416,"altitude":3,"angle":309,"satellites":24,"speed":16,"hex_longitude":"2d7a5240","hex_latitude":"05eb95e8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506045440001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120707371499520000,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814529658609803264,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787132991000,"timestamp_ms":1787132991000,"timestamp_seconds":1787132991,"priority":1,"record_length":96,"hex_timestamp":"000001a0196d5618"} 
[2026-08-19 15:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:20:16] 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-08-19 15: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-19 15:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:20:16] 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-08-19 15:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506045440001,"66":13580,"161":206,"87":13824,"24":16,"16":120707371499520000,"45":8814529658609803264},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-19 15:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506045440001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:20:16] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 15:20:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120707371499520000,"km_value":120707371499520,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814529658609803264,"description":"Unknown IO ID 45"} 
[2026-08-19 15:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506045440001,"power":13580,"unknown_161":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8814529658609803264}} 
[2026-08-19 15:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":158875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:20:16] local.INFO: GPS data processed {"connection_id":158875,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:20:16] local.INFO: Acknowledgment sent {"connection_id":158875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:20:35] local.INFO: TCP Data received {"connection_id":157633,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:20:35] local.INFO: Processing buffer {"connection_id":157633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:20:35] local.INFO: IMEI packet received {"connection_id":157633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":157633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:20:37] local.INFO: TCP Data received {"connection_id":158877,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158877,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:20:37] local.INFO: Processing buffer {"connection_id":158877,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:20:37] local.INFO: IMEI packet received {"connection_id":158877,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":158877,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:20:37] local.INFO: TCP Data received {"connection_id":158876,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:20:37] local.INFO: Processing buffer {"connection_id":158876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:20:37] local.INFO: Packet analysis {"connection_id":158876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:20:37] local.INFO: Extracted packet for processing {"connection_id":158876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:20:37] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":31,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505919232001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686958080,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787132802000,"timestamp_ms":1787132802000,"timestamp_seconds":1787132802,"priority":1,"record_length":96,"hex_timestamp":"000001a0196a73d0"} 
[2026-08-19 15:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 15:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505919232001,"66":26452,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1511450225686958080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505919232001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:20:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:20:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686958080,"description":"Unknown IO ID 44"} 
[2026-08-19 15:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505919232001,"power":26452,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511450225686958080}} 
[2026-08-19 15:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":158876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:20:37] local.INFO: GPS data processed {"connection_id":158876,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:20:37] local.INFO: Acknowledgment sent {"connection_id":158876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:20:37] local.INFO: TCP Data received {"connection_id":157633,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157633,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:20:37] local.INFO: Processing buffer {"connection_id":157633,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:20:37] local.INFO: IMEI packet received {"connection_id":157633,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":157633,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:20:38] local.INFO: TCP Data received {"connection_id":157633,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0196d5a00012d7a510005eb97300004014618..."} 
[2026-08-19 15:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196d5a00012d7a510005eb97300004014618..."} 
[2026-08-19 15:20:38] local.INFO: Processing buffer {"connection_id":157633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196d5a00012d7a510005eb97300004014618..."} 
[2026-08-19 15:20:38] local.INFO: Packet analysis {"connection_id":157633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196d"} 
[2026-08-19 15:20:38] local.INFO: Extracted packet for processing {"connection_id":157633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196d"} 
[2026-08-19 15:20:38] local.INFO: GPS Element Parsed {"raw_longitude":762990848,"raw_latitude":99325744,"longitude_deg":76.2990848,"latitude_deg":9.9325744,"altitude":4,"angle":326,"satellites":24,"speed":16,"hex_longitude":"2d7a5100","hex_latitude":"05eb9730","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506045696001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120707392974356480,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814177814888966144,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:38] 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-08-19 15:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787132992000,"timestamp_ms":1787132992000,"timestamp_seconds":1787132992,"priority":1,"record_length":96,"hex_timestamp":"000001a0196d5a00"} 
[2026-08-19 15:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:20: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-08-19 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 15:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623382,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:38] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2701131776,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":78250043525562378,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:38] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2557476868,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635021297200545,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765526222,"corrected_to":0} 
[2026-08-19 15:20:38] local.WARNING: Large IO value detected {"io_id":102,"raw_value":2147871641,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085549,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:38] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3598385152,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952687104,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:38] local.WARNING: Large IO value detected {"io_id":122,"raw_value":7385909898333650948,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:38] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-2521790195469070761,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:38] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:38] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,161,87,24,241,157,16,214,160,82,45,128,149,3,10,66,74,64,148,192,1,240,117,227,25,235,4,113,205,9,213,102,56,22,239,50,2,172,5,122,49,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":765526222,"validated":0}]} 
[2026-08-19 15:20:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216512634287030272,"timestamp_seconds":216512634287030.28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 15:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:20: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-08-19 15:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506045696001,"66":13580,"161":206,"87":13824,"24":16,"16":120707392974356480,"45":8814177814888966144},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-19 15:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506045696001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:20:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 15:20:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120707392974356480,"km_value":120707392974356.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814177814888966144,"description":"Unknown IO ID 45"} 
[2026-08-19 15:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506045696001,"power":13580,"unknown_161":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8814177814888966144}} 
[2026-08-19 15:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":157633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:20:38] local.INFO: GPS data processed {"connection_id":157633,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:20:38] local.INFO: Acknowledgment sent {"connection_id":157633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:20:42] local.INFO: TCP Data received {"connection_id":158877,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158877,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:20:42] local.INFO: Processing buffer {"connection_id":158877,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:20:42] local.INFO: IMEI packet received {"connection_id":158877,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":158877,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:20:42] local.INFO: TCP Data received {"connection_id":158877,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:20:42] local.INFO: Processing buffer {"connection_id":158877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:20:42] local.INFO: Packet analysis {"connection_id":158877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196c"} 
[2026-08-19 15:20:42] local.INFO: Extracted packet for processing {"connection_id":158877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196c"} 
[2026-08-19 15:20:42] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586848,"longitude_deg":75.5630016,"latitude_deg":11.7586848,"altitude":17,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023ba0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505955328001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852009746563072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720857445458235392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787132940000,"timestamp_ms":1787132940000,"timestamp_seconds":1787132940,"priority":1,"record_length":96,"hex_timestamp":"000001a0196c8ee0"} 
[2026-08-19 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-08-19 15:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":186,"data_length":795,"current_offset":136} 
[2026-08-19 15:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 15:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158877,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158877,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505955328001,"66":12765,"19":206,"94":11008,"24":0,"16":28852009746563072,"45":720857445458235392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505955328001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:20:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:20:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852009746563072,"km_value":28852009746563.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":720857445458235392,"description":"Unknown IO ID 45"} 
[2026-08-19 15:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505955328001,"power":12765,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720857445458235392}} 
[2026-08-19 15:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":158877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665299,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:20:42] local.INFO: GPS data processed {"connection_id":158877,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:20:42] local.INFO: Acknowledgment sent {"connection_id":158877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:20:59] local.INFO: TCP Data received {"connection_id":158014,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:20:59] local.INFO: Processing buffer {"connection_id":158014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:20:59] local.INFO: IMEI packet received {"connection_id":158014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":158014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:21:04] local.INFO: TCP Data received {"connection_id":158014,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:21:04] local.INFO: Processing buffer {"connection_id":158014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:21:04] local.INFO: IMEI packet received {"connection_id":158014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":158014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:21:06] local.INFO: TCP Data received {"connection_id":158014,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:21:06] local.INFO: Processing buffer {"connection_id":158014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:21:06] local.INFO: Packet analysis {"connection_id":158014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:21:06] local.INFO: Extracted packet for processing {"connection_id":158014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":31,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505919232001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686958080,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787132802000,"timestamp_ms":1787132802000,"timestamp_seconds":1787132802,"priority":1,"record_length":96,"hex_timestamp":"000001a0196a73d0"} 
[2026-08-19 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-08-19 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 15:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 15:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505919232001,"66":26452,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1511450225686958080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505919232001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:21:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:21:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686958080,"description":"Unknown IO ID 44"} 
[2026-08-19 15:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505919232001,"power":26452,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511450225686958080}} 
[2026-08-19 15:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":158014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:21:06] local.INFO: GPS data processed {"connection_id":158014,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:21:06] local.INFO: Acknowledgment sent {"connection_id":158014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:21:09] local.INFO: TCP Data received {"connection_id":157633,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0196d7170012d7a4d4005eb9ed00004015117..."} 
[2026-08-19 15:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196d7170012d7a4d4005eb9ed00004015117..."} 
[2026-08-19 15:21:09] local.INFO: Processing buffer {"connection_id":157633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196d7170012d7a4d4005eb9ed00004015117..."} 
[2026-08-19 15:21:09] local.INFO: Packet analysis {"connection_id":157633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196d"} 
[2026-08-19 15:21:09] local.INFO: Extracted packet for processing {"connection_id":157633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196d"} 
[2026-08-19 15:21:09] local.INFO: GPS Element Parsed {"raw_longitude":762989888,"raw_latitude":99327696,"longitude_deg":76.2989888,"latitude_deg":9.9327696,"altitude":4,"angle":337,"satellites":23,"speed":9,"hex_longitude":"2d7a4d40","hex_latitude":"05eb9ed0","is_valid_coordinates":true} 
[2026-08-19 15:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506045952001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120707500348538880,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813825971168161792,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21: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-08-19 15:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787132998000,"timestamp_ms":1787132998000,"timestamp_seconds":1787132998,"priority":1,"record_length":96,"hex_timestamp":"000001a0196d7170"} 
[2026-08-19 15:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 15:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623382,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:09] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2868903936,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":78250043525562378,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:09] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2501902339,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632921058192801,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765526222,"corrected_to":0} 
[2026-08-19 15:21:09] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2147871640,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:09] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391917,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:09] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3598909440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952687104,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:09] local.WARNING: Large IO value detected {"io_id":122,"raw_value":7385909898333650948,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:09] local.WARNING: Large IO value detected {"io_id":52,"raw_value":8358906504258047575,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:09] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:09] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,161,87,24,241,157,16,214,160,86,45,64,149,3,10,66,82,128,74,1,240,117,227,25,235,4,113,205,17,39,99,112,22,239,51,2,172,5,122,52,54],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":765526222,"validated":0}]} 
[2026-08-19 15:21:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288588920022630400,"timestamp_seconds":288588920022630.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 15:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157633,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:21:09] 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-08-19 15:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506045952001,"66":13624,"161":206,"87":13824,"24":9,"16":120707500348538880,"45":8813825971168161792},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-19 15:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506045952001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:21:09] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 15:21:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120707500348538880,"km_value":120707500348538.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813825971168161792,"description":"Unknown IO ID 45"} 
[2026-08-19 15:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506045952001,"power":13624,"unknown_161":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8813825971168161792}} 
[2026-08-19 15:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":157633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:21:09] local.INFO: GPS data processed {"connection_id":157633,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:21:09] local.INFO: Acknowledgment sent {"connection_id":157633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:21:13] local.INFO: TCP Data received {"connection_id":158877,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:21:13] local.INFO: Processing buffer {"connection_id":158877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:21:13] local.INFO: Packet analysis {"connection_id":158877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196c"} 
[2026-08-19 15:21:13] local.INFO: Extracted packet for processing {"connection_id":158877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196c"} 
[2026-08-19 15:21:13] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586848,"longitude_deg":75.5630016,"latitude_deg":11.7586848,"altitude":17,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023ba0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505955328001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852009746563072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720857445458235392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787132940000,"timestamp_ms":1787132940000,"timestamp_seconds":1787132940,"priority":1,"record_length":96,"hex_timestamp":"000001a0196c8ee0"} 
[2026-08-19 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-08-19 15:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-19 15:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 15:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158877,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158877,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505955328001,"66":12765,"19":206,"94":11008,"24":0,"16":28852009746563072,"45":720857445458235392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505955328001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:21:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:21:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852009746563072,"km_value":28852009746563.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":720857445458235392,"description":"Unknown IO ID 45"} 
[2026-08-19 15:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505955328001,"power":12765,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720857445458235392}} 
[2026-08-19 15:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":158877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665302,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:21:14] local.INFO: GPS data processed {"connection_id":158877,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:21:14] local.INFO: Acknowledgment sent {"connection_id":158877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:21:35] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:21:35] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:21:35] local.INFO: IMEI packet received {"connection_id":160189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":160189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:21:37] local.INFO: TCP Data received {"connection_id":158015,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158015,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:21:37] local.INFO: Processing buffer {"connection_id":158015,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:21:37] local.INFO: IMEI packet received {"connection_id":158015,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":158015,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:21:37] local.INFO: TCP Data received {"connection_id":158014,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:21:37] local.INFO: Processing buffer {"connection_id":158014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:21:37] local.INFO: Packet analysis {"connection_id":158014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:21:37] local.INFO: Extracted packet for processing {"connection_id":158014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:21:37] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":31,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505919232001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686958080,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787132802000,"timestamp_ms":1787132802000,"timestamp_seconds":1787132802,"priority":1,"record_length":96,"hex_timestamp":"000001a0196a73d0"} 
[2026-08-19 15:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 15:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505919232001,"66":26452,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1511450225686958080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505919232001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:21:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:21:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686958080,"description":"Unknown IO ID 44"} 
[2026-08-19 15:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505919232001,"power":26452,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511450225686958080}} 
[2026-08-19 15:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":158014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:21:37] local.INFO: GPS data processed {"connection_id":158014,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:21:37] local.INFO: Acknowledgment sent {"connection_id":158014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:21:40] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:21:40] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:21:40] local.INFO: IMEI packet received {"connection_id":160189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":160189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:21:41] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0196dbf90012d7a3e4005ebbdb00005014a18..."} 
[2026-08-19 15:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196dbf90012d7a3e4005ebbdb00005014a18..."} 
[2026-08-19 15:21:41] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196dbf90012d7a3e4005ebbdb00005014a18..."} 
[2026-08-19 15:21:41] local.INFO: Packet analysis {"connection_id":160189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196d"} 
[2026-08-19 15:21:41] local.INFO: Extracted packet for processing {"connection_id":160189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196d"} 
[2026-08-19 15:21:41] local.INFO: GPS Element Parsed {"raw_longitude":762986048,"raw_latitude":99335600,"longitude_deg":76.2986048,"latitude_deg":9.93356,"altitude":5,"angle":330,"satellites":24,"speed":19,"hex_longitude":"2d7a3e40","hex_latitude":"05ebbdb0","is_valid_coordinates":true} 
[2026-08-19 15:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506047488001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120707925550301184,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8812770440005996544,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:41] 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-08-19 15:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787133018000,"timestamp_ms":1787133018000,"timestamp_seconds":1787133018,"priority":1,"record_length":96,"hex_timestamp":"000001a0196dbf90"} 
[2026-08-19 15:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:21:41] 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-08-19 15:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-19 15:21:41] 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-08-19 15:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:21:41] 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-08-19 15:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506047488001,"66":13559,"163":206,"87":13824,"24":19,"16":120707925550301184,"45":8812770440005996544},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-19 15:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506047488001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:21:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 15:21:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120707925550301184,"km_value":120707925550301.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8812770440005996544,"description":"Unknown IO ID 45"} 
[2026-08-19 15:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506047488001,"power":13559,"unknown_163":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8812770440005996544}} 
[2026-08-19 15:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":160189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:21:41] local.INFO: GPS data processed {"connection_id":160189,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:21:41] local.INFO: Acknowledgment sent {"connection_id":160189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:21:42] local.INFO: TCP Data received {"connection_id":158015,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158015,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:21:42] local.INFO: Processing buffer {"connection_id":158015,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:21:42] local.INFO: IMEI packet received {"connection_id":158015,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":158015,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:21:42] local.INFO: TCP Data received {"connection_id":158015,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:21:42] local.INFO: Processing buffer {"connection_id":158015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:21:42] local.INFO: Packet analysis {"connection_id":158015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196c"} 
[2026-08-19 15:21:42] local.INFO: Extracted packet for processing {"connection_id":158015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196c"} 
[2026-08-19 15:21:42] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586848,"longitude_deg":75.5630016,"latitude_deg":11.7586848,"altitude":17,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023ba0","is_valid_coordinates":true} 
[2026-08-19 15:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505955328001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852009746563072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720857445458235392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787132940000,"timestamp_ms":1787132940000,"timestamp_seconds":1787132940,"priority":1,"record_length":96,"hex_timestamp":"000001a0196c8ee0"} 
[2026-08-19 15:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-19 15:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158015,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158015,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505955328001,"66":12765,"19":206,"94":11008,"24":0,"16":28852009746563072,"45":720857445458235392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505955328001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:21:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:21:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852009746563072,"km_value":28852009746563.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":720857445458235392,"description":"Unknown IO ID 45"} 
[2026-08-19 15:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505955328001,"power":12765,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720857445458235392}} 
[2026-08-19 15:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":158015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665305,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:21:42] local.INFO: GPS data processed {"connection_id":158015,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:21:42] local.INFO: Acknowledgment sent {"connection_id":158015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:21:59] local.INFO: TCP Data received {"connection_id":157634,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:21:59] local.INFO: Processing buffer {"connection_id":157634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:21:59] local.INFO: IMEI packet received {"connection_id":157634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":157634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:22:04] local.INFO: TCP Data received {"connection_id":157634,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:22:04] local.INFO: Processing buffer {"connection_id":157634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:22:04] local.INFO: IMEI packet received {"connection_id":157634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":157634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:22:05] local.INFO: TCP Data received {"connection_id":157634,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:22:05] local.INFO: Processing buffer {"connection_id":157634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196a73d0012ceb0340071a39e8001f013b26..."} 
[2026-08-19 15:22:05] local.INFO: Packet analysis {"connection_id":157634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:22:05] local.INFO: Extracted packet for processing {"connection_id":157634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196a"} 
[2026-08-19 15:22:05] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":31,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505919232001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:22:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225686958080,"note":"Value kept but may cause issues"} 
[2026-08-19 15:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787132802000,"timestamp_ms":1787132802000,"timestamp_seconds":1787132802,"priority":1,"record_length":96,"hex_timestamp":"000001a0196a73d0"} 
[2026-08-19 15:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 15:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505919232001,"66":26452,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1511450225686958080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505919232001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:22:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:22:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225686958080,"description":"Unknown IO ID 44"} 
[2026-08-19 15:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505919232001,"power":26452,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511450225686958080}} 
[2026-08-19 15:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":157634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:22:05] local.INFO: GPS data processed {"connection_id":157634,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:22:05] local.INFO: Acknowledgment sent {"connection_id":157634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:22:12] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0196e01f8012d7a2e4005ebdcc8000c014e18..."} 
[2026-08-19 15:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196e01f8012d7a2e4005ebdcc8000c014e18..."} 
[2026-08-19 15:22:12] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196e01f8012d7a2e4005ebdcc8000c014e18..."} 
[2026-08-19 15:22:12] local.INFO: Packet analysis {"connection_id":160189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196e"} 
[2026-08-19 15:22:12] local.INFO: Extracted packet for processing {"connection_id":160189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196e"} 
[2026-08-19 15:22:12] local.INFO: GPS Element Parsed {"raw_longitude":762981952,"raw_latitude":99343560,"longitude_deg":76.2981952,"latitude_deg":9.934356,"altitude":12,"angle":334,"satellites":24,"speed":25,"hex_longitude":"2d7a2e40","hex_latitude":"05ebdcc8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506052608001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120708359341998080,"note":"Value kept but may cause issues"} 
[2026-08-19 15:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808548315357360128,"note":"Value kept but may cause issues"} 
[2026-08-19 15:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787133035000,"timestamp_ms":1787133035000,"timestamp_seconds":1787133035,"priority":1,"record_length":96,"hex_timestamp":"000001a0196e01f8"} 
[2026-08-19 15:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-19 15:22:12] 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-08-19 15:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:22:12] 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-08-19 15:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506052608001,"66":13656,"163":206,"87":13824,"24":25,"16":120708359341998080,"45":8808548315357360128},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-19 15:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506052608001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:22:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 15:22:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120708359341998080,"km_value":120708359341998.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808548315357360128,"description":"Unknown IO ID 45"} 
[2026-08-19 15:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506052608001,"power":13656,"unknown_163":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8808548315357360128}} 
[2026-08-19 15:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":160189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:22:12] local.INFO: GPS data processed {"connection_id":160189,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:22:12] local.INFO: Acknowledgment sent {"connection_id":160189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:22:13] local.INFO: TCP Data received {"connection_id":158015,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:22:13] local.INFO: Processing buffer {"connection_id":158015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196c8ee0012d09ffc007023ba00011005e29..."} 
[2026-08-19 15:22:13] local.INFO: Packet analysis {"connection_id":158015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196c"} 
[2026-08-19 15:22:13] local.INFO: Extracted packet for processing {"connection_id":158015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196c"} 
[2026-08-19 15:22:13] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586848,"longitude_deg":75.5630016,"latitude_deg":11.7586848,"altitude":17,"angle":94,"satellites":41,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023ba0","is_valid_coordinates":true} 
[2026-08-19 15:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505955328001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852009746563072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720857445458235392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787132940000,"timestamp_ms":1787132940000,"timestamp_seconds":1787132940,"priority":1,"record_length":96,"hex_timestamp":"000001a0196c8ee0"} 
[2026-08-19 15:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-19 15:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158015,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158015,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505955328001,"66":12765,"19":206,"94":11008,"24":0,"16":28852009746563072,"45":720857445458235392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505955328001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:22:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:22:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852009746563072,"km_value":28852009746563.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":720857445458235392,"description":"Unknown IO ID 45"} 
[2026-08-19 15:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505955328001,"power":12765,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720857445458235392}} 
[2026-08-19 15:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":158015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665308,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:22:14] local.INFO: GPS data processed {"connection_id":158015,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:22:14] local.INFO: Acknowledgment sent {"connection_id":158015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:22:33] local.INFO: TCP Data received {"connection_id":157635,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:22:33] local.INFO: Processing buffer {"connection_id":157635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:22:33] local.INFO: IMEI packet received {"connection_id":157635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":157635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:22:35] local.INFO: TCP Data received {"connection_id":157635,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:22:35] local.INFO: Processing buffer {"connection_id":157635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:22:35] local.INFO: IMEI packet received {"connection_id":157635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":157635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:22:37] local.INFO: TCP Data received {"connection_id":157634,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:22:37] local.INFO: Processing buffer {"connection_id":157634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:22:37] local.INFO: Packet analysis {"connection_id":157634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:22:37] local.INFO: Extracted packet for processing {"connection_id":157634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":47,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505997312001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:22:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787133103000,"timestamp_ms":1787133103000,"timestamp_seconds":1787133103,"priority":1,"record_length":96,"hex_timestamp":"000001a0196f0b98"} 
[2026-08-19 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-08-19 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 15:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 15:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505997312001,"66":26158,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505997312001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:22:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:22:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505997312001,"power":26158,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":157634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:22:37] local.INFO: GPS data processed {"connection_id":157634,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:22:37] local.INFO: Acknowledgment sent {"connection_id":157634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:22:40] local.INFO: TCP Data received {"connection_id":157635,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:22:40] local.INFO: Processing buffer {"connection_id":157635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:22:40] local.INFO: IMEI packet received {"connection_id":157635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":157635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:22:41] local.INFO: TCP Data received {"connection_id":157635,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0196e34c0012d7a1e8005ebfe38000e015314..."} 
[2026-08-19 15:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196e34c0012d7a1e8005ebfe38000e015314..."} 
[2026-08-19 15:22:41] local.INFO: Processing buffer {"connection_id":157635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196e34c0012d7a1e8005ebfe38000e015314..."} 
[2026-08-19 15:22:41] local.INFO: Packet analysis {"connection_id":157635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196e"} 
[2026-08-19 15:22:41] local.INFO: Extracted packet for processing {"connection_id":157635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196e"} 
[2026-08-19 15:22:41] local.INFO: GPS Element Parsed {"raw_longitude":762977920,"raw_latitude":99352120,"longitude_deg":76.297792,"latitude_deg":9.935212,"altitude":14,"angle":339,"satellites":20,"speed":36,"hex_longitude":"2d7a1e80","hex_latitude":"05ebfe38","is_valid_coordinates":true} 
[2026-08-19 15:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506056960001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120708818903498752,"note":"Value kept but may cause issues"} 
[2026-08-19 15:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804044715732027392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:22:41] 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-08-19 15:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787133048000,"timestamp_ms":1787133048000,"timestamp_seconds":1787133048,"priority":1,"record_length":96,"hex_timestamp":"000001a0196e34c0"} 
[2026-08-19 15:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:22: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-08-19 15:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-19 15:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:22:41] 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-08-19 15:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506056960001,"66":13493,"163":206,"87":13824,"24":36,"16":120708818903498752,"45":8804044715732027392},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-19 15:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506056960001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:22:41] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 15:22:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120708818903498752,"km_value":120708818903498.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804044715732027392,"description":"Unknown IO ID 45"} 
[2026-08-19 15:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506056960001,"power":13493,"unknown_163":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8804044715732027392}} 
[2026-08-19 15:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":157635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:22:41] local.INFO: GPS data processed {"connection_id":157635,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:22:41] local.INFO: Acknowledgment sent {"connection_id":157635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:22:42] local.INFO: TCP Data received {"connection_id":160190,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160190,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:22:42] local.INFO: Processing buffer {"connection_id":160190,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:22:42] local.INFO: IMEI packet received {"connection_id":160190,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":160190,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:22:47] local.INFO: TCP Data received {"connection_id":160190,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160190,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:22:47] local.INFO: Processing buffer {"connection_id":160190,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:22:47] local.INFO: IMEI packet received {"connection_id":160190,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":160190,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:22:47] local.INFO: TCP Data received {"connection_id":160190,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0196f9838012d09ffc007023ba00011005e2e..."} 
[2026-08-19 15:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196f9838012d09ffc007023ba00011005e2e..."} 
[2026-08-19 15:22:47] local.INFO: Processing buffer {"connection_id":160190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196f9838012d09ffc007023ba00011005e2e..."} 
[2026-08-19 15:22:47] local.INFO: Packet analysis {"connection_id":160190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:22:47] local.INFO: Extracted packet for processing {"connection_id":160190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:22:47] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586848,"longitude_deg":75.5630016,"latitude_deg":11.7586848,"altitude":17,"angle":94,"satellites":46,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023ba0","is_valid_coordinates":true} 
[2026-08-19 15:22: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-08-19 15:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506032640001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852009746563072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720505601737334784,"note":"Value kept but may cause issues"} 
[2026-08-19 15:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787133139000,"timestamp_ms":1787133139000,"timestamp_seconds":1787133139,"priority":1,"record_length":96,"hex_timestamp":"000001a0196f9838"} 
[2026-08-19 15:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:22:47] 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-08-19 15: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-19 15:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506032640001,"66":12798,"19":206,"94":11008,"24":0,"16":28852009746563072,"45":720505601737334784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506032640001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:22:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:22:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852009746563072,"km_value":28852009746563.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":720505601737334784,"description":"Unknown IO ID 45"} 
[2026-08-19 15:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506032640001,"power":12798,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720505601737334784}} 
[2026-08-19 15:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":160190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665311,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:22:47] local.INFO: GPS data processed {"connection_id":160190,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:22:47] local.INFO: Acknowledgment sent {"connection_id":160190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:23:04] local.INFO: TCP Data received {"connection_id":157636,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:23:04] local.INFO: Processing buffer {"connection_id":157636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:23:04] local.INFO: IMEI packet received {"connection_id":157636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":157636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:23:09] local.INFO: TCP Data received {"connection_id":157636,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:23:09] local.INFO: Processing buffer {"connection_id":157636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:23:09] local.INFO: IMEI packet received {"connection_id":157636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":157636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:23:11] local.INFO: TCP Data received {"connection_id":157636,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:23:11] local.INFO: Processing buffer {"connection_id":157636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:23:11] local.INFO: Packet analysis {"connection_id":157636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:23:11] local.INFO: Extracted packet for processing {"connection_id":157636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:23:11] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":47,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505997312001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787133103000,"timestamp_ms":1787133103000,"timestamp_seconds":1787133103,"priority":1,"record_length":96,"hex_timestamp":"000001a0196f0b98"} 
[2026-08-19 15:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 15:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505997312001,"66":26158,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505997312001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:23:11] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505997312001,"power":26158,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":157636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:23:11] local.INFO: GPS data processed {"connection_id":157636,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:23:11] local.INFO: Acknowledgment sent {"connection_id":157636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:23:13] local.INFO: TCP Data received {"connection_id":157635,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0196e6f58012d7a11c005ec1ea0000e015016..."} 
[2026-08-19 15:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196e6f58012d7a11c005ec1ea0000e015016..."} 
[2026-08-19 15:23:13] local.INFO: Processing buffer {"connection_id":157635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196e6f58012d7a11c005ec1ea0000e015016..."} 
[2026-08-19 15:23:13] local.INFO: Packet analysis {"connection_id":157635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196e"} 
[2026-08-19 15:23:13] local.INFO: Extracted packet for processing {"connection_id":157635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196e"} 
[2026-08-19 15:23:13] local.INFO: GPS Element Parsed {"raw_longitude":762974656,"raw_latitude":99360416,"longitude_deg":76.2974656,"latitude_deg":9.9360416,"altitude":14,"angle":336,"satellites":22,"speed":15,"hex_longitude":"2d7a11c0","hex_latitude":"05ec1ea0","is_valid_coordinates":true} 
[2026-08-19 15:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506060288001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120709252695195648,"note":"Value kept but may cause issues"} 
[2026-08-19 15:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799611484851025920,"note":"Value kept but may cause issues"} 
[2026-08-19 15:23:13] 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-08-19 15:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787133063000,"timestamp_ms":1787133063000,"timestamp_seconds":1787133063,"priority":1,"record_length":96,"hex_timestamp":"000001a0196e6f58"} 
[2026-08-19 15:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:23:13] 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-08-19 15:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-19 15:23:13] 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-08-19 15:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:23:13] 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-08-19 15:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506060288001,"66":13624,"99":206,"87":13824,"24":15,"16":120709252695195648,"45":8799611484851025920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-19 15:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506060288001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:23:13] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-19 15:23:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120709252695195648,"km_value":120709252695195.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799611484851025920,"description":"Unknown IO ID 45"} 
[2026-08-19 15:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506060288001,"power":13624,"unknown_99":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8799611484851025920}} 
[2026-08-19 15:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":157635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:23:13] local.INFO: GPS data processed {"connection_id":157635,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:23:13] local.INFO: Acknowledgment sent {"connection_id":157635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:23:15] local.INFO: TCP Data received {"connection_id":157636,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:23:15] local.INFO: Processing buffer {"connection_id":157636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:23:15] local.INFO: Packet analysis {"connection_id":157636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:23:15] local.INFO: Extracted packet for processing {"connection_id":157636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:23:15] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":47,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505997312001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:23:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787133103000,"timestamp_ms":1787133103000,"timestamp_seconds":1787133103,"priority":1,"record_length":96,"hex_timestamp":"000001a0196f0b98"} 
[2026-08-19 15:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 15:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505997312001,"66":26158,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505997312001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:23:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:23:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505997312001,"power":26158,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":157636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:23:15] local.INFO: GPS data processed {"connection_id":157636,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:23:15] local.INFO: Acknowledgment sent {"connection_id":157636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:23:18] local.INFO: TCP Data received {"connection_id":160190,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0196f9838012d09ffc007023ba00011005e2e..."} 
[2026-08-19 15:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196f9838012d09ffc007023ba00011005e2e..."} 
[2026-08-19 15:23:18] local.INFO: Processing buffer {"connection_id":160190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196f9838012d09ffc007023ba00011005e2e..."} 
[2026-08-19 15:23:18] local.INFO: Packet analysis {"connection_id":160190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:23:18] local.INFO: Extracted packet for processing {"connection_id":160190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:23:18] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586848,"longitude_deg":75.5630016,"latitude_deg":11.7586848,"altitude":17,"angle":94,"satellites":46,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023ba0","is_valid_coordinates":true} 
[2026-08-19 15:23:18] 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-08-19 15:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506083584001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852009746563072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720505601737334784,"note":"Value kept but may cause issues"} 
[2026-08-19 15:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787133139000,"timestamp_ms":1787133139000,"timestamp_seconds":1787133139,"priority":1,"record_length":96,"hex_timestamp":"000001a0196f9838"} 
[2026-08-19 15:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-19 15:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506083584001,"66":12798,"19":206,"94":11008,"24":0,"16":28852009746563072,"45":720505601737334784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506083584001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:23:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:23:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852009746563072,"km_value":28852009746563.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":720505601737334784,"description":"Unknown IO ID 45"} 
[2026-08-19 15:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506083584001,"power":12798,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720505601737334784}} 
[2026-08-19 15:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":160190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665315,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:23:19] local.INFO: GPS data processed {"connection_id":160190,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:23:19] local.INFO: Acknowledgment sent {"connection_id":160190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:23:34] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:23:34] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:23:34] local.INFO: IMEI packet received {"connection_id":160191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":160191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:23:35] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:23:35] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:23:35] local.INFO: IMEI packet received {"connection_id":160191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":160191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:23:35] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:23:35] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:23:35] local.INFO: IMEI packet received {"connection_id":160191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":160191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:23:36] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:23:36] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:23:36] local.INFO: IMEI packet received {"connection_id":160191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":160191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:23:37] local.INFO: TCP Data received {"connection_id":158879,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158879,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:23:37] local.INFO: Processing buffer {"connection_id":158879,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:23:37] local.INFO: IMEI packet received {"connection_id":158879,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":158879,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:23:37] local.INFO: TCP Data received {"connection_id":158879,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158879,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:23:37] local.INFO: Processing buffer {"connection_id":158879,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:23:37] local.INFO: IMEI packet received {"connection_id":158879,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":158879,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:23:42] local.INFO: TCP Data received {"connection_id":158879,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158879,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:23:42] local.INFO: Processing buffer {"connection_id":158879,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:23:42] local.INFO: IMEI packet received {"connection_id":158879,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":158879,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:23:42] local.INFO: TCP Data received {"connection_id":158879,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0196fd2d0012d0a024007023a90000f00692e..."} 
[2026-08-19 15:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196fd2d0012d0a024007023a90000f00692e..."} 
[2026-08-19 15:23:42] local.INFO: Processing buffer {"connection_id":158879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196fd2d0012d0a024007023a90000f00692e..."} 
[2026-08-19 15:23:42] local.INFO: Packet analysis {"connection_id":158879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:23:42] local.INFO: Extracted packet for processing {"connection_id":158879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:23:42] local.INFO: GPS Element Parsed {"raw_longitude":755630656,"raw_latitude":117586576,"longitude_deg":75.5630656,"latitude_deg":11.7586576,"altitude":15,"angle":105,"satellites":46,"speed":2,"hex_longitude":"2d0a0240","hex_latitude":"07023a90","is_valid_coordinates":true} 
[2026-08-19 15:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506083584001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852026926432256,"note":"Value kept but may cause issues"} 
[2026-08-19 15:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720505601737334784,"note":"Value kept but may cause issues"} 
[2026-08-19 15:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787133154000,"timestamp_ms":1787133154000,"timestamp_seconds":1787133154,"priority":1,"record_length":96,"hex_timestamp":"000001a0196fd2d0"} 
[2026-08-19 15:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:23:42] 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-08-19 15:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-19 15:23:42] 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-08-19 15:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506083584001,"66":14450,"19":206,"94":11008,"24":2,"16":28852026926432256,"45":720505601737334784},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506083584001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:23:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:23:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852026926432256,"km_value":28852026926432.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":720505601737334784,"description":"Unknown IO ID 45"} 
[2026-08-19 15:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506083584001,"power":14450,"unknown_19":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":720505601737334784}} 
[2026-08-19 15:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":158879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665316,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:23:43] local.INFO: GPS data processed {"connection_id":158879,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:23:43] local.INFO: Acknowledgment sent {"connection_id":158879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:23:59] local.INFO: TCP Data received {"connection_id":158018,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:23:59] local.INFO: Processing buffer {"connection_id":158018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:23:59] local.INFO: IMEI packet received {"connection_id":158018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":158018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:24:04] local.INFO: TCP Data received {"connection_id":158018,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:24:04] local.INFO: Processing buffer {"connection_id":158018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:24:04] local.INFO: IMEI packet received {"connection_id":158018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":158018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:24:06] local.INFO: TCP Data received {"connection_id":158018,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:24:06] local.INFO: Processing buffer {"connection_id":158018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:24:06] local.INFO: Packet analysis {"connection_id":158018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:24:06] local.INFO: Extracted packet for processing {"connection_id":158018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:24:06] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":47,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505997312001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:24:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787133103000,"timestamp_ms":1787133103000,"timestamp_seconds":1787133103,"priority":1,"record_length":96,"hex_timestamp":"000001a0196f0b98"} 
[2026-08-19 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-08-19 15:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 15:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 15:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505997312001,"66":26158,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505997312001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:24:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:24:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505997312001,"power":26158,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":158018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:24:06] local.INFO: GPS data processed {"connection_id":158018,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:24:06] local.INFO: Acknowledgment sent {"connection_id":158018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:24:14] local.INFO: TCP Data received {"connection_id":158018,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:24:14] local.INFO: Processing buffer {"connection_id":158018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:24:14] local.INFO: Packet analysis {"connection_id":158018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:24:14] local.INFO: Extracted packet for processing {"connection_id":158018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:24:14] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":47,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:24: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-08-19 15:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505997312001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:24:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787133103000,"timestamp_ms":1787133103000,"timestamp_seconds":1787133103,"priority":1,"record_length":96,"hex_timestamp":"000001a0196f0b98"} 
[2026-08-19 15:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:24: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 15:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:24: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-08-19 15:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505997312001,"66":26158,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505997312001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:24:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:24:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505997312001,"power":26158,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":158018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:24:14] local.INFO: GPS data processed {"connection_id":158018,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:24:14] local.INFO: Acknowledgment sent {"connection_id":158018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:24:14] local.INFO: TCP Data received {"connection_id":158879,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a019701d08012d0a28c007023358001000692b..."} 
[2026-08-19 15:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019701d08012d0a28c007023358001000692b..."} 
[2026-08-19 15:24:14] local.INFO: Processing buffer {"connection_id":158879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019701d08012d0a28c007023358001000692b..."} 
[2026-08-19 15:24:14] local.INFO: Packet analysis {"connection_id":158879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01970"} 
[2026-08-19 15:24:14] local.INFO: Extracted packet for processing {"connection_id":158879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01970"} 
[2026-08-19 15:24:14] local.INFO: GPS Element Parsed {"raw_longitude":755640512,"raw_latitude":117584728,"longitude_deg":75.5640512,"latitude_deg":11.7584728,"altitude":16,"angle":105,"satellites":43,"speed":40,"hex_longitude":"2d0a28c0","hex_latitude":"07023358","is_valid_coordinates":true} 
[2026-08-19 15:24: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-08-19 15:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506087424001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28852503667802112,"note":"Value kept but may cause issues"} 
[2026-08-19 15:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":721209289179041792,"note":"Value kept but may cause issues"} 
[2026-08-19 15:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787133173000,"timestamp_ms":1787133173000,"timestamp_seconds":1787133173,"priority":1,"record_length":96,"hex_timestamp":"000001a019701d08"} 
[2026-08-19 15:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:24:14] 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-08-19 15:24: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":114,"data_length":795,"current_offset":136} 
[2026-08-19 15:24:14] 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-08-19 15:24: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-08-19 15:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158879,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506087424001,"66":14439,"19":206,"94":11008,"24":40,"16":28852503667802112,"45":721209289179041792},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-08-19 15:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506087424001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:24:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-19 15:24:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28852503667802112,"km_value":28852503667802.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":721209289179041792,"description":"Unknown IO ID 45"} 
[2026-08-19 15:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506087424001,"power":14439,"unknown_19":206,"unknown_94":11008,"ignition":40,"odometer":null,"unknown_45":721209289179041792}} 
[2026-08-19 15:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":158879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665319,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:24:14] local.INFO: GPS data processed {"connection_id":158879,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:24:14] local.INFO: Acknowledgment sent {"connection_id":158879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:24:37] local.INFO: TCP Data received {"connection_id":157637,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157637,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:24:37] local.INFO: Processing buffer {"connection_id":157637,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:24:37] local.INFO: IMEI packet received {"connection_id":157637,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":157637,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:24:42] local.INFO: TCP Data received {"connection_id":157637,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157637,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:24:42] local.INFO: Processing buffer {"connection_id":157637,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:24:42] local.INFO: IMEI packet received {"connection_id":157637,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":157637,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:24:42] local.INFO: TCP Data received {"connection_id":157637,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a019713a30012d0b244007022f98001100472a..."} 
[2026-08-19 15:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019713a30012d0b244007022f98001100472a..."} 
[2026-08-19 15:24:42] local.INFO: Processing buffer {"connection_id":157637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019713a30012d0b244007022f98001100472a..."} 
[2026-08-19 15:24:42] local.INFO: Packet analysis {"connection_id":157637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01971"} 
[2026-08-19 15:24:42] local.INFO: Extracted packet for processing {"connection_id":157637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01971"} 
[2026-08-19 15:24:42] local.INFO: GPS Element Parsed {"raw_longitude":755704896,"raw_latitude":117583768,"longitude_deg":75.5704896,"latitude_deg":11.7583768,"altitude":17,"angle":71,"satellites":42,"speed":6,"hex_longitude":"2d0b2440","hex_latitude":"07022f98","is_valid_coordinates":true} 
[2026-08-19 15:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506108928001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28855647583862784,"note":"Value kept but may cause issues"} 
[2026-08-19 15:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796996426657902592,"note":"Value kept but may cause issues"} 
[2026-08-19 15:24: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-08-19 15:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787133246000,"timestamp_ms":1787133246000,"timestamp_seconds":1787133246,"priority":1,"record_length":96,"hex_timestamp":"000001a019713a30"} 
[2026-08-19 15:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:24: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-08-19 15:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 15:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506108928001,"66":14396,"17":206,"94":11008,"24":6,"16":28855647583862784,"45":796996426657902592},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506108928001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:24:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28855647583862784,"km_value":28855647583862.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":796996426657902592,"description":"Unknown IO ID 45"} 
[2026-08-19 15:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506108928001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":796996426657902592}} 
[2026-08-19 15:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":157637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665320,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:24:42] local.INFO: GPS data processed {"connection_id":157637,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:24:42] local.INFO: Acknowledgment sent {"connection_id":157637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:24:59] local.INFO: TCP Data received {"connection_id":160192,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:24:59] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:24:59] local.INFO: IMEI packet received {"connection_id":160192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":160192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:25:04] local.INFO: TCP Data received {"connection_id":160192,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:25:04] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:25:04] local.INFO: IMEI packet received {"connection_id":160192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":160192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:25:05] local.INFO: TCP Data received {"connection_id":160192,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:25:05] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:25:05] local.INFO: Packet analysis {"connection_id":160192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:25:05] local.INFO: Extracted packet for processing {"connection_id":160192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":47,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505997312001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:25:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787133103000,"timestamp_ms":1787133103000,"timestamp_seconds":1787133103,"priority":1,"record_length":96,"hex_timestamp":"000001a0196f0b98"} 
[2026-08-19 15:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 15:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505997312001,"66":26158,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505997312001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:25:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:25:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505997312001,"power":26158,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":160192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:25:05] local.INFO: GPS data processed {"connection_id":160192,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:25:05] local.INFO: Acknowledgment sent {"connection_id":160192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:25:13] local.INFO: TCP Data received {"connection_id":160193,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:25:13] local.INFO: Processing buffer {"connection_id":160193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:25:13] local.INFO: IMEI packet received {"connection_id":160193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":160193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:25:14] local.INFO: TCP Data received {"connection_id":157637,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0197151a0012d0b244007023270001100002b..."} 
[2026-08-19 15:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197151a0012d0b244007023270001100002b..."} 
[2026-08-19 15:25:14] local.INFO: Processing buffer {"connection_id":157637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197151a0012d0b244007023270001100002b..."} 
[2026-08-19 15:25:14] local.INFO: Packet analysis {"connection_id":157637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01971"} 
[2026-08-19 15:25:14] local.INFO: Extracted packet for processing {"connection_id":157637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01971"} 
[2026-08-19 15:25:14] local.INFO: GPS Element Parsed {"raw_longitude":755704896,"raw_latitude":117584496,"longitude_deg":75.5704896,"latitude_deg":11.7584496,"altitude":17,"angle":0,"satellites":43,"speed":6,"hex_longitude":"2d0b2440","hex_latitude":"07023270","is_valid_coordinates":true} 
[2026-08-19 15:25: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-08-19 15:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506110976001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28855686238568448,"note":"Value kept but may cause issues"} 
[2026-08-19 15:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802837032424413184,"note":"Value kept but may cause issues"} 
[2026-08-19 15:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787133252000,"timestamp_ms":1787133252000,"timestamp_seconds":1787133252,"priority":1,"record_length":96,"hex_timestamp":"000001a0197151a0"} 
[2026-08-19 15:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:25: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-08-19 15:25: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-08-19 15:25: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-08-19 15:25: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-08-19 15:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506110976001,"66":14407,"17":206,"94":11008,"24":6,"16":28855686238568448,"45":802837032424413184},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506110976001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:25:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28855686238568448,"km_value":28855686238568.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":802837032424413184,"description":"Unknown IO ID 45"} 
[2026-08-19 15:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506110976001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":802837032424413184}} 
[2026-08-19 15:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":157637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665322,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:25:14] local.INFO: GPS data processed {"connection_id":157637,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:25:14] local.INFO: Acknowledgment sent {"connection_id":157637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:25:14] local.INFO: TCP Data received {"connection_id":160193,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019716cf8012d162b00071fe5e8002500f728..."} 
[2026-08-19 15:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019716cf8012d162b00071fe5e8002500f728..."} 
[2026-08-19 15:25:14] local.INFO: Processing buffer {"connection_id":160193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019716cf8012d162b00071fe5e8002500f728..."} 
[2026-08-19 15:25:14] local.INFO: Packet analysis {"connection_id":160193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01971"} 
[2026-08-19 15:25:14] local.INFO: Extracted packet for processing {"connection_id":160193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01971"} 
[2026-08-19 15:25:14] local.INFO: GPS Element Parsed {"raw_longitude":756427520,"raw_latitude":119530984,"longitude_deg":75.642752,"latitude_deg":11.9530984,"altitude":37,"angle":247,"satellites":40,"speed":37,"hex_longitude":"2d162b00","hex_latitude":"071fe5e8","is_valid_coordinates":true} 
[2026-08-19 15:25: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-08-19 15:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506111744001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13794906673774592,"note":"Value kept but may cause issues"} 
[2026-08-19 15:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1606870303897905152,"note":"Value kept but may cause issues"} 
[2026-08-19 15:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787133259000,"timestamp_ms":1787133259000,"timestamp_seconds":1787133259,"priority":1,"record_length":96,"hex_timestamp":"000001a019716cf8"} 
[2026-08-19 15:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:25: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-08-19 15:25: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-08-19 15:25: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-08-19 15:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506111744001,"66":14428,"131":206,"28":31744,"24":37,"16":13794906673774592,"45":1606870303897905152},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-19 15:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506111744001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:25:14] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-19 15:25:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13794906673774592,"km_value":13794906673774.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1606870303897905152,"description":"Unknown IO ID 45"} 
[2026-08-19 15:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506111744001,"power":14428,"unknown_131":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1606870303897905152}} 
[2026-08-19 15:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":160193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:25:14] local.INFO: GPS data processed {"connection_id":160193,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:25:14] local.INFO: Acknowledgment sent {"connection_id":160193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:25:34] local.INFO: TCP Data received {"connection_id":158880,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158880,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:25:34] local.INFO: Processing buffer {"connection_id":158880,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:25:34] local.INFO: IMEI packet received {"connection_id":158880,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":158880,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:25:37] local.INFO: TCP Data received {"connection_id":160192,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:25:37] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:25:37] local.INFO: Packet analysis {"connection_id":160192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:25:37] local.INFO: Extracted packet for processing {"connection_id":160192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:25:37] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":47,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505997312001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:25:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787133103000,"timestamp_ms":1787133103000,"timestamp_seconds":1787133103,"priority":1,"record_length":96,"hex_timestamp":"000001a0196f0b98"} 
[2026-08-19 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-08-19 15:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 15:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 15:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505997312001,"66":26158,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505997312001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:25:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:25:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505997312001,"power":26158,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":160192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:25:37] local.INFO: GPS data processed {"connection_id":160192,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:25:37] local.INFO: Acknowledgment sent {"connection_id":160192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:25:37] local.INFO: TCP Data received {"connection_id":158880,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158880,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:25:37] local.INFO: Processing buffer {"connection_id":158880,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:25:37] local.INFO: IMEI packet received {"connection_id":158880,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":158880,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:25:38] local.INFO: TCP Data received {"connection_id":158880,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158880,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:25:38] local.INFO: Processing buffer {"connection_id":158880,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:25:38] local.INFO: IMEI packet received {"connection_id":158880,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":158880,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:25:45] local.INFO: TCP Data received {"connection_id":158880,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158880,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:25:45] local.INFO: Processing buffer {"connection_id":158880,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:25:45] local.INFO: IMEI packet received {"connection_id":158880,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":158880,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:25:46] local.INFO: TCP Data received {"connection_id":158880,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a019722c60012d0b200007027948000f010a2c..."} 
[2026-08-19 15:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019722c60012d0b200007027948000f010a2c..."} 
[2026-08-19 15:25:46] local.INFO: Processing buffer {"connection_id":158880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019722c60012d0b200007027948000f010a2c..."} 
[2026-08-19 15:25:46] local.INFO: Packet analysis {"connection_id":158880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01972"} 
[2026-08-19 15:25:46] local.INFO: Extracted packet for processing {"connection_id":158880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01972"} 
[2026-08-19 15:25:46] local.INFO: GPS Element Parsed {"raw_longitude":755703808,"raw_latitude":117602632,"longitude_deg":75.5703808,"latitude_deg":11.7602632,"altitude":15,"angle":266,"satellites":44,"speed":19,"hex_longitude":"2d0b2000","hex_latitude":"07027948","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506126080001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28856734210588672,"note":"Value kept but may cause issues"} 
[2026-08-19 15:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802977769917593600,"note":"Value kept but may cause issues"} 
[2026-08-19 15:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787133308000,"timestamp_ms":1787133308000,"timestamp_seconds":1787133308,"priority":1,"record_length":96,"hex_timestamp":"000001a019722c60"} 
[2026-08-19 15:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 15:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506126080001,"66":14276,"17":206,"94":11008,"24":19,"16":28856734210588672,"45":802977769917593600},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506126080001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:25:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28856734210588672,"km_value":28856734210588.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":802977769917593600,"description":"Unknown IO ID 45"} 
[2026-08-19 15:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506126080001,"power":14276,"axis_x":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":802977769917593600}} 
[2026-08-19 15:25:46] local.INFO: TCP Data received {"connection_id":160193,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019718080012d161900071fe0d80024010428..."} 
[2026-08-19 15:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019718080012d161900071fe0d80024010428..."} 
[2026-08-19 15:25:46] local.INFO: Processing buffer {"connection_id":160193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019718080012d161900071fe0d80024010428..."} 
[2026-08-19 15:25:46] local.INFO: Packet analysis {"connection_id":160193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01971"} 
[2026-08-19 15:25:46] local.INFO: Extracted packet for processing {"connection_id":160193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01971"} 
[2026-08-19 15:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756422912,"raw_latitude":119529688,"longitude_deg":75.6422912,"latitude_deg":11.9529688,"altitude":36,"angle":260,"satellites":40,"speed":38,"hex_longitude":"2d161900","hex_latitude":"071fe0d8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506114304001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13795138602008576,"note":"Value kept but may cause issues"} 
[2026-08-19 15:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1597370523432904704,"note":"Value kept but may cause issues"} 
[2026-08-19 15:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787133264000,"timestamp_ms":1787133264000,"timestamp_seconds":1787133264,"priority":1,"record_length":96,"hex_timestamp":"000001a019718080"} 
[2026-08-19 15:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 15:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506114304001,"66":14428,"132":206,"28":31744,"24":38,"16":13795138602008576,"45":1597370523432904704},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-08-19 15:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506114304001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:25:46] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-19 15:25:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13795138602008576,"km_value":13795138602008.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1597370523432904704,"description":"Unknown IO ID 45"} 
[2026-08-19 15:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506114304001,"power":14428,"unknown_132":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1597370523432904704}} 
[2026-08-19 15:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":158880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665325,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:25:46] local.INFO: GPS data processed {"connection_id":158880,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:25:46] local.INFO: Acknowledgment sent {"connection_id":158880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":160193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:25:46] local.INFO: GPS data processed {"connection_id":160193,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:25:46] local.INFO: Acknowledgment sent {"connection_id":160193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:25:59] local.INFO: TCP Data received {"connection_id":157639,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:25:59] local.INFO: Processing buffer {"connection_id":157639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:25:59] local.INFO: IMEI packet received {"connection_id":157639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":157639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:26:04] local.INFO: TCP Data received {"connection_id":157639,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:26:04] local.INFO: Processing buffer {"connection_id":157639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:26:04] local.INFO: IMEI packet received {"connection_id":157639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":157639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:26:06] local.INFO: TCP Data received {"connection_id":157639,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:26:06] local.INFO: Processing buffer {"connection_id":157639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:26:06] local.INFO: Packet analysis {"connection_id":157639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:26:06] local.INFO: Extracted packet for processing {"connection_id":157639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:26:06] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":47,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505997312001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787133103000,"timestamp_ms":1787133103000,"timestamp_seconds":1787133103,"priority":1,"record_length":96,"hex_timestamp":"000001a0196f0b98"} 
[2026-08-19 15:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 15:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505997312001,"66":26158,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505997312001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:26:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:26:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505997312001,"power":26158,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":157639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:26:06] local.INFO: GPS data processed {"connection_id":157639,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:26:06] local.INFO: Acknowledgment sent {"connection_id":157639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:26:08] local.INFO: TCP Data received {"connection_id":158881,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:26:08] local.INFO: Processing buffer {"connection_id":158881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:26:08] local.INFO: IMEI packet received {"connection_id":158881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":158881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:26:09] local.INFO: TCP Data received {"connection_id":158881,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:26:09] local.INFO: Processing buffer {"connection_id":158881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:26:09] local.INFO: IMEI packet received {"connection_id":158881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":158881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:26:13] local.INFO: TCP Data received {"connection_id":158881,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:26:13] local.INFO: Processing buffer {"connection_id":158881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:26:13] local.INFO: IMEI packet received {"connection_id":158881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":158881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:26:14] local.INFO: TCP Data received {"connection_id":158881,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01971a790012d15f300071fdce00023010728..."} 
[2026-08-19 15:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01971a790012d15f300071fdce00023010728..."} 
[2026-08-19 15:26:14] local.INFO: Processing buffer {"connection_id":158881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01971a790012d15f300071fdce00023010728..."} 
[2026-08-19 15:26:14] local.INFO: Packet analysis {"connection_id":158881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01971"} 
[2026-08-19 15:26:14] local.INFO: Extracted packet for processing {"connection_id":158881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01971"} 
[2026-08-19 15:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756413184,"raw_latitude":119528672,"longitude_deg":75.6413184,"latitude_deg":11.9528672,"altitude":35,"angle":263,"satellites":40,"speed":40,"hex_longitude":"2d15f300","hex_latitude":"071fdce0","is_valid_coordinates":true} 
[2026-08-19 15:26: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-08-19 15:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506115584001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13795598163509248,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1592303973851781120,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787133274000,"timestamp_ms":1787133274000,"timestamp_seconds":1787133274,"priority":1,"record_length":96,"hex_timestamp":"000001a01971a790"} 
[2026-08-19 15:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:26: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-08-19 15:26: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-08-19 15:26: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-08-19 15:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506115584001,"66":14135,"132":206,"28":31744,"24":40,"16":13795598163509248,"45":1592303973851781120},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-08-19 15:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506115584001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:26:14] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-19 15:26:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13795598163509248,"km_value":13795598163509.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1592303973851781120,"description":"Unknown IO ID 45"} 
[2026-08-19 15:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506115584001,"power":14135,"unknown_132":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1592303973851781120}} 
[2026-08-19 15:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":158881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:26:14] local.INFO: GPS data processed {"connection_id":158881,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:26:14] local.INFO: Acknowledgment sent {"connection_id":158881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:26:17] local.INFO: TCP Data received {"connection_id":158880,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a019730ef0012d0b124007029de80010005e27..."} 
[2026-08-19 15:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019730ef0012d0b124007029de80010005e27..."} 
[2026-08-19 15:26:17] local.INFO: Processing buffer {"connection_id":158880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019730ef0012d0b124007029de80010005e27..."} 
[2026-08-19 15:26:17] local.INFO: Packet analysis {"connection_id":158880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:26:17] local.INFO: Extracted packet for processing {"connection_id":158880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:26:17] local.INFO: GPS Element Parsed {"raw_longitude":755700288,"raw_latitude":117612008,"longitude_deg":75.5700288,"latitude_deg":11.7612008,"altitude":16,"angle":94,"satellites":39,"speed":7,"hex_longitude":"2d0b1240","hex_latitude":"07029de8","is_valid_coordinates":true} 
[2026-08-19 15:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506141440001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28857429995290624,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797629745362493440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787133366000,"timestamp_ms":1787133366000,"timestamp_seconds":1787133366,"priority":1,"record_length":96,"hex_timestamp":"000001a019730ef0"} 
[2026-08-19 15:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:26:17] 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-08-19 15:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 15:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506141440001,"66":14428,"17":206,"94":11008,"24":7,"16":28857429995290624,"45":797629745362493440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506141440001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:26:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28857429995290624,"km_value":28857429995290.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":797629745362493440,"description":"Unknown IO ID 45"} 
[2026-08-19 15:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506141440001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":797629745362493440}} 
[2026-08-19 15:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":158880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665329,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:26:17] local.INFO: GPS data processed {"connection_id":158880,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:26:17] local.INFO: Acknowledgment sent {"connection_id":158880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:26:37] local.INFO: TCP Data received {"connection_id":157639,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:26:37] local.INFO: Processing buffer {"connection_id":157639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:26:37] local.INFO: Packet analysis {"connection_id":157639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:26:37] local.INFO: Extracted packet for processing {"connection_id":157639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:26:37] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":47,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505997312001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787133103000,"timestamp_ms":1787133103000,"timestamp_seconds":1787133103,"priority":1,"record_length":96,"hex_timestamp":"000001a0196f0b98"} 
[2026-08-19 15:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 15:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505997312001,"66":26158,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505997312001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:26:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:26:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505997312001,"power":26158,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":157639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:26:37] local.INFO: GPS data processed {"connection_id":157639,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:26:37] local.INFO: Acknowledgment sent {"connection_id":157639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:26:42] local.INFO: TCP Data received {"connection_id":160194,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160194,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:26:42] local.INFO: Processing buffer {"connection_id":160194,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:26:42] local.INFO: IMEI packet received {"connection_id":160194,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":160194,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:26:46] local.INFO: TCP Data received {"connection_id":158881,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01971cab8012d15cfc0071fd7f80022010427..."} 
[2026-08-19 15:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01971cab8012d15cfc0071fd7f80022010427..."} 
[2026-08-19 15:26:46] local.INFO: Processing buffer {"connection_id":158881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01971cab8012d15cfc0071fd7f80022010427..."} 
[2026-08-19 15:26:46] local.INFO: Packet analysis {"connection_id":158881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01971"} 
[2026-08-19 15:26:46] local.INFO: Extracted packet for processing {"connection_id":158881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01971"} 
[2026-08-19 15:26:46] local.INFO: GPS Element Parsed {"raw_longitude":756404160,"raw_latitude":119527416,"longitude_deg":75.640416,"latitude_deg":11.9527416,"altitude":34,"angle":260,"satellites":39,"speed":28,"hex_longitude":"2d15cfc0","hex_latitude":"071fd7f8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506118144001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13796031955206144,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1581607924736516096,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787133283000,"timestamp_ms":1787133283000,"timestamp_seconds":1787133283,"priority":1,"record_length":96,"hex_timestamp":"000001a01971cab8"} 
[2026-08-19 15:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:26: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-08-19 15: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 15:26:46] 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-08-19 15: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-08-19 15:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506118144001,"66":14461,"132":206,"28":31744,"24":28,"16":13796031955206144,"45":1581607924736516096},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-08-19 15:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506118144001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:26:46] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-19 15:26:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13796031955206144,"km_value":13796031955206.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1581607924736516096,"description":"Unknown IO ID 45"} 
[2026-08-19 15:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506118144001,"power":14461,"unknown_132":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1581607924736516096}} 
[2026-08-19 15:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":158881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:26:46] local.INFO: GPS data processed {"connection_id":158881,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:26:46] local.INFO: Acknowledgment sent {"connection_id":158881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:26:46] local.INFO: TCP Data received {"connection_id":160194,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160194,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:26:46] local.INFO: Processing buffer {"connection_id":160194,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:26:46] local.INFO: IMEI packet received {"connection_id":160194,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":160194,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:26:47] local.INFO: TCP Data received {"connection_id":160194,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0197312d8012d0b130007029dd80010005f27..."} 
[2026-08-19 15:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197312d8012d0b130007029dd80010005f27..."} 
[2026-08-19 15:26:47] local.INFO: Processing buffer {"connection_id":160194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197312d8012d0b130007029dd80010005f27..."} 
[2026-08-19 15:26:47] local.INFO: Packet analysis {"connection_id":160194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:26:47] local.INFO: Extracted packet for processing {"connection_id":160194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:26:47] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117611992,"longitude_deg":75.570048,"latitude_deg":11.7611992,"altitude":16,"angle":95,"satellites":39,"speed":6,"hex_longitude":"2d0b1300","hex_latitude":"07029dd8","is_valid_coordinates":true} 
[2026-08-19 15:26: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-08-19 15:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506141696001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28857438585225216,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797770482850850816,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:47] 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-08-19 15:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787133367000,"timestamp_ms":1787133367000,"timestamp_seconds":1787133367,"priority":1,"record_length":96,"hex_timestamp":"000001a0197312d8"} 
[2026-08-19 15:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 15:26:47] 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-08-19 15:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160194,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160194,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506141696001,"66":14407,"17":206,"94":11008,"24":6,"16":28857438585225216,"45":797770482850850816},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506141696001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:26:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28857438585225216,"km_value":28857438585225.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":797770482850850816,"description":"Unknown IO ID 45"} 
[2026-08-19 15:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506141696001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":797770482850850816}} 
[2026-08-19 15:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":160194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665332,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:26:47] local.INFO: GPS data processed {"connection_id":160194,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:26:47] local.INFO: Acknowledgment sent {"connection_id":160194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:26:52] local.INFO: TCP Data received {"connection_id":160194,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0197312d8012d0b130007029dd80010005f27..."} 
[2026-08-19 15:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197312d8012d0b130007029dd80010005f27..."} 
[2026-08-19 15:26:52] local.INFO: Processing buffer {"connection_id":160194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197312d8012d0b130007029dd80010005f27..."} 
[2026-08-19 15:26:52] local.INFO: Packet analysis {"connection_id":160194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:26:52] local.INFO: Extracted packet for processing {"connection_id":160194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:26:52] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117611992,"longitude_deg":75.570048,"latitude_deg":11.7611992,"altitude":16,"angle":95,"satellites":39,"speed":6,"hex_longitude":"2d0b1300","hex_latitude":"07029dd8","is_valid_coordinates":true} 
[2026-08-19 15:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506141952001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28857438585225216,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083379712,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26: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-08-19 15:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787133367000,"timestamp_ms":1787133367000,"timestamp_seconds":1787133367,"priority":1,"record_length":96,"hex_timestamp":"000001a0197312d8"} 
[2026-08-19 15:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 15:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160194,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160194,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506141952001,"66":14407,"17":206,"94":11008,"24":6,"16":28857438585225216,"45":797981589083379712},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506141952001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:26:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28857438585225216,"km_value":28857438585225.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083379712,"description":"Unknown IO ID 45"} 
[2026-08-19 15:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506141952001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":797981589083379712}} 
[2026-08-19 15:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":160194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665333,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:26:52] local.INFO: GPS data processed {"connection_id":160194,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:26:52] local.INFO: Acknowledgment sent {"connection_id":160194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:26:57] local.INFO: TCP Data received {"connection_id":160194,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0197312d8012d0b130007029dd80010005f27..."} 
[2026-08-19 15:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197312d8012d0b130007029dd80010005f27..."} 
[2026-08-19 15:26:57] local.INFO: Processing buffer {"connection_id":160194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197312d8012d0b130007029dd80010005f27..."} 
[2026-08-19 15:26:57] local.INFO: Packet analysis {"connection_id":160194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:26:57] local.INFO: Extracted packet for processing {"connection_id":160194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:26:57] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117611992,"longitude_deg":75.570048,"latitude_deg":11.7611992,"altitude":16,"angle":95,"satellites":39,"speed":6,"hex_longitude":"2d0b1300","hex_latitude":"07029dd8","is_valid_coordinates":true} 
[2026-08-19 15:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506141952001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28857438585225216,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083379712,"note":"Value kept but may cause issues"} 
[2026-08-19 15:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787133367000,"timestamp_ms":1787133367000,"timestamp_seconds":1787133367,"priority":1,"record_length":96,"hex_timestamp":"000001a0197312d8"} 
[2026-08-19 15:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 15:26:57] 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-08-19 15:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160194,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160194,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506141952001,"66":14407,"17":206,"94":11008,"24":6,"16":28857438585225216,"45":797981589083379712},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506141952001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:26:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28857438585225216,"km_value":28857438585225.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083379712,"description":"Unknown IO ID 45"} 
[2026-08-19 15:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506141952001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":797981589083379712}} 
[2026-08-19 15:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":160194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665334,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:26:58] local.INFO: GPS data processed {"connection_id":160194,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:26:58] local.INFO: Acknowledgment sent {"connection_id":160194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:27:04] local.INFO: TCP Data received {"connection_id":158021,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:27:04] local.INFO: Processing buffer {"connection_id":158021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:27:04] local.INFO: IMEI packet received {"connection_id":158021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":158021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:27:09] local.INFO: TCP Data received {"connection_id":158021,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:27:09] local.INFO: Processing buffer {"connection_id":158021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:27:09] local.INFO: IMEI packet received {"connection_id":158021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":158021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:27:10] local.INFO: TCP Data received {"connection_id":158021,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:27:10] local.INFO: Processing buffer {"connection_id":158021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:27:10] local.INFO: Packet analysis {"connection_id":158021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:27:10] local.INFO: Extracted packet for processing {"connection_id":158021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:27:10] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":47,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505997312001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:27:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787133103000,"timestamp_ms":1787133103000,"timestamp_seconds":1787133103,"priority":1,"record_length":96,"hex_timestamp":"000001a0196f0b98"} 
[2026-08-19 15:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 15:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505997312001,"66":26158,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505997312001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:27:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:27:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505997312001,"power":26158,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":158021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:27:10] local.INFO: GPS data processed {"connection_id":158021,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:27:10] local.INFO: Acknowledgment sent {"connection_id":158021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:27:14] local.INFO: TCP Data received {"connection_id":160195,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:27:14] local.INFO: Processing buffer {"connection_id":160195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:27:14] local.INFO: IMEI packet received {"connection_id":160195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":160195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:27:14] local.INFO: TCP Data received {"connection_id":160195,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:27:14] local.INFO: Processing buffer {"connection_id":160195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:27:14] local.INFO: IMEI packet received {"connection_id":160195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":160195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:27:15] local.INFO: TCP Data received {"connection_id":158021,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:27:15] local.INFO: Processing buffer {"connection_id":158021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0196f0b98012ceb0340071a39e8002f013b27..."} 
[2026-08-19 15:27:15] local.INFO: Packet analysis {"connection_id":158021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:27:15] local.INFO: Extracted packet for processing {"connection_id":158021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0196f"} 
[2026-08-19 15:27:15] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":47,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457505997312001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:27:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:27:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787133103000,"timestamp_ms":1787133103000,"timestamp_seconds":1787133103,"priority":1,"record_length":96,"hex_timestamp":"000001a0196f0b98"} 
[2026-08-19 15:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 15:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457505997312001,"66":26158,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457505997312001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:27:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:27:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457505997312001,"power":26158,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":158021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:27:15] local.INFO: GPS data processed {"connection_id":158021,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:27:15] local.INFO: Acknowledgment sent {"connection_id":158021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:27:18] local.INFO: TCP Data received {"connection_id":160195,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:27:18] local.INFO: Processing buffer {"connection_id":160195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:27:18] local.INFO: IMEI packet received {"connection_id":160195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":160195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:27:20] local.INFO: TCP Data received {"connection_id":160195,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019733218012d14acc0071f7c10003600f326..."} 
[2026-08-19 15:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019733218012d14acc0071f7c10003600f326..."} 
[2026-08-19 15:27:20] local.INFO: Processing buffer {"connection_id":160195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019733218012d14acc0071f7c10003600f326..."} 
[2026-08-19 15:27:20] local.INFO: Packet analysis {"connection_id":160195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:27:20] local.INFO: Extracted packet for processing {"connection_id":160195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:27:20] local.INFO: GPS Element Parsed {"raw_longitude":756329664,"raw_latitude":119503888,"longitude_deg":75.6329664,"latitude_deg":11.9503888,"altitude":54,"angle":243,"satellites":38,"speed":38,"hex_longitude":"2d14acc0","hex_latitude":"071f7c10","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506141440001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13799845886164992,"note":"Value kept but may cause issues"} 
[2026-08-19 15:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1499839443996659712,"note":"Value kept but may cause issues"} 
[2026-08-19 15:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787133375000,"timestamp_ms":1787133375000,"timestamp_seconds":1787133375,"priority":1,"record_length":96,"hex_timestamp":"000001a019733218"} 
[2026-08-19 15:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 15:27: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-08-19 15: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-08-19 15:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506141440001,"66":13798,"133":206,"28":31744,"24":38,"16":13799845886164992,"45":1499839443996659712},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-08-19 15:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506141440001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:27:20] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-19 15:27:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13799845886164992,"km_value":13799845886164.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1499839443996659712,"description":"Unknown IO ID 45"} 
[2026-08-19 15:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506141440001,"power":13798,"unknown_133":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1499839443996659712}} 
[2026-08-19 15:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":160195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:27:20] local.INFO: GPS data processed {"connection_id":160195,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:27:20] local.INFO: Acknowledgment sent {"connection_id":160195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:27:25] local.INFO: TCP Data received {"connection_id":160195,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019735928012d148c00071f6720003100e927..."} 
[2026-08-19 15:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019735928012d148c00071f6720003100e927..."} 
[2026-08-19 15:27:25] local.INFO: Processing buffer {"connection_id":160195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019735928012d148c00071f6720003100e927..."} 
[2026-08-19 15:27:25] local.INFO: Packet analysis {"connection_id":160195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:27:25] local.INFO: Extracted packet for processing {"connection_id":160195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:27:25] local.INFO: GPS Element Parsed {"raw_longitude":756321280,"raw_latitude":119498528,"longitude_deg":75.632128,"latitude_deg":11.9498528,"altitude":49,"angle":233,"satellites":39,"speed":39,"hex_longitude":"2d148c00","hex_latitude":"071f6720","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506144000001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13800322627534848,"note":"Value kept but may cause issues"} 
[2026-08-19 15:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1489776713578319872,"note":"Value kept but may cause issues"} 
[2026-08-19 15:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787133385000,"timestamp_ms":1787133385000,"timestamp_seconds":1787133385,"priority":1,"record_length":96,"hex_timestamp":"000001a019735928"} 
[2026-08-19 15:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:27: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-08-19 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-19 15:27:25] 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-08-19 15: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-08-19 15:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506144000001,"66":14396,"133":206,"28":31744,"24":39,"16":13800322627534848,"45":1489776713578319872},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-08-19 15:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506144000001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:27:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-19 15:27:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13800322627534848,"km_value":13800322627534.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1489776713578319872,"description":"Unknown IO ID 45"} 
[2026-08-19 15:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506144000001,"power":14396,"unknown_133":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1489776713578319872}} 
[2026-08-19 15:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":160195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:27:25] local.INFO: GPS data processed {"connection_id":160195,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:27:25] local.INFO: Acknowledgment sent {"connection_id":160195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:27:57] local.INFO: TCP Data received {"connection_id":158883,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158883,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:27:57] local.INFO: Processing buffer {"connection_id":158883,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:27:57] local.INFO: IMEI packet received {"connection_id":158883,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":158883,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:27:59] local.INFO: TCP Data received {"connection_id":157641,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:27:59] local.INFO: Processing buffer {"connection_id":157641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:27:59] local.INFO: IMEI packet received {"connection_id":157641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":157641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:28:02] local.INFO: TCP Data received {"connection_id":158883,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158883,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:28:02] local.INFO: Processing buffer {"connection_id":158883,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:28:02] local.INFO: IMEI packet received {"connection_id":158883,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":158883,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:28:03] local.INFO: TCP Data received {"connection_id":158883,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0197312d8012d0b130007029dd80010005f27..."} 
[2026-08-19 15:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197312d8012d0b130007029dd80010005f27..."} 
[2026-08-19 15:28:03] local.INFO: Processing buffer {"connection_id":158883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197312d8012d0b130007029dd80010005f27..."} 
[2026-08-19 15:28:03] local.INFO: Packet analysis {"connection_id":158883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:28:03] local.INFO: Extracted packet for processing {"connection_id":158883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:28:03] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117611992,"longitude_deg":75.570048,"latitude_deg":11.7611992,"altitude":16,"angle":95,"satellites":39,"speed":6,"hex_longitude":"2d0b1300","hex_latitude":"07029dd8","is_valid_coordinates":true} 
[2026-08-19 15:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506141952001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28857438585225216,"note":"Value kept but may cause issues"} 
[2026-08-19 15:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083379712,"note":"Value kept but may cause issues"} 
[2026-08-19 15:28: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-08-19 15:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787133367000,"timestamp_ms":1787133367000,"timestamp_seconds":1787133367,"priority":1,"record_length":96,"hex_timestamp":"000001a0197312d8"} 
[2026-08-19 15:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 15:28:03] 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-08-19 15:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":158883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":158883,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":158883,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506141952001,"66":14407,"17":206,"94":11008,"24":6,"16":28857438585225216,"45":797981589083379712},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506141952001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:28:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28857438585225216,"km_value":28857438585225.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083379712,"description":"Unknown IO ID 45"} 
[2026-08-19 15:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506141952001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":797981589083379712}} 
[2026-08-19 15:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":158883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665339,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:28:03] local.INFO: GPS data processed {"connection_id":158883,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:28:03] local.INFO: Acknowledgment sent {"connection_id":158883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:28:04] local.INFO: TCP Data received {"connection_id":157641,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:28:04] local.INFO: Processing buffer {"connection_id":157641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:28:04] local.INFO: IMEI packet received {"connection_id":157641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":157641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:28:05] local.INFO: TCP Data received {"connection_id":157641,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:28:05] local.INFO: Processing buffer {"connection_id":157641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:28:05] local.INFO: Packet analysis {"connection_id":157641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:28:05] local.INFO: Extracted packet for processing {"connection_id":157641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:28:05] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":45,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506074368001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:28:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787133404000,"timestamp_ms":1787133404000,"timestamp_seconds":1787133404,"priority":1,"record_length":96,"hex_timestamp":"000001a01973a360"} 
[2026-08-19 15:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 15:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506074368001,"66":25995,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506074368001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:28:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:28:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506074368001,"power":25995,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":157641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:28:05] local.INFO: GPS data processed {"connection_id":157641,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:28:05] local.INFO: Acknowledgment sent {"connection_id":157641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:28:09] local.INFO: TCP Data received {"connection_id":158022,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:28:09] local.INFO: Processing buffer {"connection_id":158022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:28:09] local.INFO: IMEI packet received {"connection_id":158022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":158022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:28:09] local.INFO: TCP Data received {"connection_id":158022,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:28:09] local.INFO: Processing buffer {"connection_id":158022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:28:09] local.INFO: IMEI packet received {"connection_id":158022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":158022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:28:14] local.INFO: TCP Data received {"connection_id":158022,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:28:14] local.INFO: Processing buffer {"connection_id":158022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:28:14] local.INFO: IMEI packet received {"connection_id":158022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":158022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:28:16] local.INFO: TCP Data received {"connection_id":158022,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a019738038012d146e00071f5208002d00ef2a..."} 
[2026-08-19 15:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019738038012d146e00071f5208002d00ef2a..."} 
[2026-08-19 15:28:16] local.INFO: Processing buffer {"connection_id":158022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019738038012d146e00071f5208002d00ef2a..."} 
[2026-08-19 15:28:16] local.INFO: Packet analysis {"connection_id":158022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:28:16] local.INFO: Extracted packet for processing {"connection_id":158022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:28:16] local.INFO: GPS Element Parsed {"raw_longitude":756313600,"raw_latitude":119493128,"longitude_deg":75.63136,"latitude_deg":11.9493128,"altitude":45,"angle":239,"satellites":42,"speed":23,"hex_longitude":"2d146e00","hex_latitude":"071f5208","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506146560001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13800769304133632,"note":"Value kept but may cause issues"} 
[2026-08-19 15:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1480558408089673728,"note":"Value kept but may cause issues"} 
[2026-08-19 15:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787133395000,"timestamp_ms":1787133395000,"timestamp_seconds":1787133395,"priority":1,"record_length":96,"hex_timestamp":"000001a019738038"} 
[2026-08-19 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-08-19 15:28: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-08-19 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 15:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 15:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506146560001,"66":14428,"133":206,"28":31744,"24":23,"16":13800769304133632,"45":1480558408089673728},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-08-19 15:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506146560001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:28:16] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-19 15:28:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13800769304133632,"km_value":13800769304133.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1480558408089673728,"description":"Unknown IO ID 45"} 
[2026-08-19 15:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506146560001,"power":14428,"unknown_133":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1480558408089673728}} 
[2026-08-19 15:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":158022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:28:16] local.INFO: GPS data processed {"connection_id":158022,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:28:16] local.INFO: Acknowledgment sent {"connection_id":158022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:28:23] local.INFO: TCP Data received {"connection_id":158022,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01973a748012d145200071f4558002900fb27..."} 
[2026-08-19 15:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01973a748012d145200071f4558002900fb27..."} 
[2026-08-19 15:28:23] local.INFO: Processing buffer {"connection_id":158022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01973a748012d145200071f4558002900fb27..."} 
[2026-08-19 15:28:23] local.INFO: Packet analysis {"connection_id":158022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:28:23] local.INFO: Extracted packet for processing {"connection_id":158022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:28:23] local.INFO: GPS Element Parsed {"raw_longitude":756306432,"raw_latitude":119489880,"longitude_deg":75.6306432,"latitude_deg":11.948988,"altitude":41,"angle":251,"satellites":39,"speed":39,"hex_longitude":"2d145200","hex_latitude":"071f4558","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506149120001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13801142966288384,"note":"Value kept but may cause issues"} 
[2026-08-19 15:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1472114158786971648,"note":"Value kept but may cause issues"} 
[2026-08-19 15:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787133405000,"timestamp_ms":1787133405000,"timestamp_seconds":1787133405,"priority":1,"record_length":96,"hex_timestamp":"000001a01973a748"} 
[2026-08-19 15:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 15:28: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-08-19 15: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-08-19 15:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506149120001,"66":14407,"133":206,"28":31744,"24":39,"16":13801142966288384,"45":1472114158786971648},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-08-19 15:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506149120001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:28:23] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-19 15:28:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13801142966288384,"km_value":13801142966288.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1472114158786971648,"description":"Unknown IO ID 45"} 
[2026-08-19 15:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506149120001,"power":14407,"unknown_133":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1472114158786971648}} 
[2026-08-19 15:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":158022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:28:23] local.INFO: GPS data processed {"connection_id":158022,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:28:23] local.INFO: Acknowledgment sent {"connection_id":158022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:28:38] local.INFO: TCP Data received {"connection_id":157641,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:28:38] local.INFO: Processing buffer {"connection_id":157641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:28:38] local.INFO: Packet analysis {"connection_id":157641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:28:38] local.INFO: Extracted packet for processing {"connection_id":157641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:28:38] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":45,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506074368001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:28:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787133404000,"timestamp_ms":1787133404000,"timestamp_seconds":1787133404,"priority":1,"record_length":96,"hex_timestamp":"000001a01973a360"} 
[2026-08-19 15:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 15:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506074368001,"66":25995,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506074368001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:28:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:28:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506074368001,"power":25995,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":157641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:28:38] local.INFO: GPS data processed {"connection_id":157641,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:28:38] local.INFO: Acknowledgment sent {"connection_id":157641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:28:39] local.INFO: TCP Data received {"connection_id":158023,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:28:39] local.INFO: Processing buffer {"connection_id":158023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:28:39] local.INFO: IMEI packet received {"connection_id":158023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":158023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:28:40] local.INFO: TCP Data received {"connection_id":158023,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01974ef68012d79f70005ec77d00010008d1b..."} 
[2026-08-19 15:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01974ef68012d79f70005ec77d00010008d1b..."} 
[2026-08-19 15:28:40] local.INFO: Processing buffer {"connection_id":158023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01974ef68012d79f70005ec77d00010008d1b..."} 
[2026-08-19 15:28:40] local.INFO: Packet analysis {"connection_id":158023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01974"} 
[2026-08-19 15:28:40] local.INFO: Extracted packet for processing {"connection_id":158023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01974"} 
[2026-08-19 15:28:40] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":99383248,"longitude_deg":76.2967808,"latitude_deg":9.9383248,"altitude":16,"angle":141,"satellites":27,"speed":11,"hex_longitude":"2d79f700","hex_latitude":"05ec77d0","is_valid_coordinates":true} 
[2026-08-19 15:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506169088001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120712396611256320,"note":"Value kept but may cause issues"} 
[2026-08-19 15:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786452529698537472,"note":"Value kept but may cause issues"} 
[2026-08-19 15:28:40] 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-08-19 15:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787133489000,"timestamp_ms":1787133489000,"timestamp_seconds":1787133489,"priority":1,"record_length":96,"hex_timestamp":"000001a01974ef68"} 
[2026-08-19 15:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:28:40] 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-08-19 15:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 15:28:40] 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-08-19 15:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:28:40] 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-08-19 15:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506169088001,"66":13363,"100":206,"87":13824,"24":11,"16":120712396611256320,"45":8786452529698537472},"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-08-19 15:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506169088001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:28:40] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 15:28:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120712396611256320,"km_value":120712396611256.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786452529698537472,"description":"Unknown IO ID 45"} 
[2026-08-19 15:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506169088001,"power":13363,"unknown_100":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8786452529698537472}} 
[2026-08-19 15:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":158023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:28:40] local.INFO: GPS data processed {"connection_id":158023,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:28:40] local.INFO: Acknowledgment sent {"connection_id":158023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:28:59] local.INFO: TCP Data received {"connection_id":158024,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:28:59] local.INFO: Processing buffer {"connection_id":158024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:28:59] local.INFO: IMEI packet received {"connection_id":158024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":158024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:29:04] local.INFO: TCP Data received {"connection_id":158024,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:29:04] local.INFO: Processing buffer {"connection_id":158024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:29:04] local.INFO: IMEI packet received {"connection_id":158024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":158024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:29:05] local.INFO: TCP Data received {"connection_id":158024,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:29:05] local.INFO: Processing buffer {"connection_id":158024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:29:05] local.INFO: Packet analysis {"connection_id":158024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:29:05] local.INFO: Extracted packet for processing {"connection_id":158024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:29:05] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":45,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506074368001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787133404000,"timestamp_ms":1787133404000,"timestamp_seconds":1787133404,"priority":1,"record_length":96,"hex_timestamp":"000001a01973a360"} 
[2026-08-19 15:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 15:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506074368001,"66":25995,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506074368001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:29:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:29:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506074368001,"power":25995,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":158024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:29:05] local.INFO: GPS data processed {"connection_id":158024,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:29:05] local.INFO: Acknowledgment sent {"connection_id":158024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:29:12] local.INFO: TCP Data received {"connection_id":158023,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01974f350012d79f80005ec7738000f00791b..."} 
[2026-08-19 15:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01974f350012d79f80005ec7738000f00791b..."} 
[2026-08-19 15:29:12] local.INFO: Processing buffer {"connection_id":158023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01974f350012d79f80005ec7738000f00791b..."} 
[2026-08-19 15:29:12] local.INFO: Packet analysis {"connection_id":158023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01974"} 
[2026-08-19 15:29:12] local.INFO: Extracted packet for processing {"connection_id":158023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01974"} 
[2026-08-19 15:29:12] local.INFO: GPS Element Parsed {"raw_longitude":762968064,"raw_latitude":99383096,"longitude_deg":76.2968064,"latitude_deg":9.9383096,"altitude":15,"angle":121,"satellites":27,"speed":8,"hex_longitude":"2d79f800","hex_latitude":"05ec7738","is_valid_coordinates":true} 
[2026-08-19 15:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506173184001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120712409496158208,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223278923776,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:12] 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-08-19 15:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787133490000,"timestamp_ms":1787133490000,"timestamp_seconds":1787133490,"priority":1,"record_length":96,"hex_timestamp":"000001a01974f350"} 
[2026-08-19 15:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:29: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-08-19 15:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 15:29: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-08-19 15:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:29:12] 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-08-19 15:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506173184001,"66":13363,"100":206,"87":13824,"24":8,"16":120712409496158208,"45":8788493223278923776},"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-08-19 15:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506173184001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:29:12] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 15:29:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120712409496158208,"km_value":120712409496158.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223278923776,"description":"Unknown IO ID 45"} 
[2026-08-19 15:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506173184001,"power":13363,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8788493223278923776}} 
[2026-08-19 15:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":158023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:29:12] local.INFO: GPS data processed {"connection_id":158023,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:29:12] local.INFO: Acknowledgment sent {"connection_id":158023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:29:35] local.INFO: TCP Data received {"connection_id":158884,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:29:35] local.INFO: Processing buffer {"connection_id":158884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:29:35] local.INFO: IMEI packet received {"connection_id":158884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":158884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:29:37] local.INFO: TCP Data received {"connection_id":158024,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:29:37] local.INFO: Processing buffer {"connection_id":158024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:29:37] local.INFO: Packet analysis {"connection_id":158024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:29:37] local.INFO: Extracted packet for processing {"connection_id":158024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":45,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506074368001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787133404000,"timestamp_ms":1787133404000,"timestamp_seconds":1787133404,"priority":1,"record_length":96,"hex_timestamp":"000001a01973a360"} 
[2026-08-19 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-08-19 15:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 15:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 15:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506074368001,"66":25995,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506074368001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:29:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:29:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506074368001,"power":25995,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":158024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:29:37] local.INFO: GPS data processed {"connection_id":158024,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:29:37] local.INFO: Acknowledgment sent {"connection_id":158024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:29:38] local.INFO: TCP Data received {"connection_id":158025,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158025,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:29:38] local.INFO: Processing buffer {"connection_id":158025,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:29:38] local.INFO: IMEI packet received {"connection_id":158025,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":158025,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:29:39] local.INFO: TCP Data received {"connection_id":158025,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158025,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:29:39] local.INFO: Processing buffer {"connection_id":158025,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:29:39] local.INFO: IMEI packet received {"connection_id":158025,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":158025,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:29:40] local.INFO: TCP Data received {"connection_id":158884,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:29:40] local.INFO: Processing buffer {"connection_id":158884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:29:40] local.INFO: IMEI packet received {"connection_id":158884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":158884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:29:41] local.INFO: TCP Data received {"connection_id":158025,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158025,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:29:41] local.INFO: Processing buffer {"connection_id":158025,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:29:41] local.INFO: IMEI packet received {"connection_id":158025,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":158025,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:29:41] local.INFO: TCP Data received {"connection_id":158884,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01975e580012d7a148005ec8030000d00111c..."} 
[2026-08-19 15:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01975e580012d7a148005ec8030000d00111c..."} 
[2026-08-19 15:29:41] local.INFO: Processing buffer {"connection_id":158884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01975e580012d7a148005ec8030000d00111c..."} 
[2026-08-19 15:29:41] local.INFO: Packet analysis {"connection_id":158884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01975"} 
[2026-08-19 15:29:41] local.INFO: Extracted packet for processing {"connection_id":158884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01975"} 
[2026-08-19 15:29:41] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":99385392,"longitude_deg":76.297536,"latitude_deg":9.9385392,"altitude":13,"angle":17,"satellites":28,"speed":0,"hex_longitude":"2d7a1480","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-08-19 15:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506189312001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120712843287855104,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796796735092436992,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:41] 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-08-19 15:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787133552000,"timestamp_ms":1787133552000,"timestamp_seconds":1787133552,"priority":1,"record_length":96,"hex_timestamp":"000001a01975e580"} 
[2026-08-19 15:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 15:29:41] 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-08-19 15:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:29:41] 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-08-19 15:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506189312001,"66":13363,"100":206,"87":13824,"24":0,"16":120712843287855104,"45":8796796735092436992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-19 15:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506189312001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:29:41] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 15:29:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120712843287855104,"km_value":120712843287855.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796796735092436992,"description":"Unknown IO ID 45"} 
[2026-08-19 15:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506189312001,"power":13363,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796796735092436992}} 
[2026-08-19 15:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":158884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:29:41] local.INFO: GPS data processed {"connection_id":158884,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:29:41] local.INFO: Acknowledgment sent {"connection_id":158884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:29:42] local.INFO: TCP Data received {"connection_id":158025,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01975ca28012d0b10000702a0000012013517..."} 
[2026-08-19 15:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01975ca28012d0b10000702a0000012013517..."} 
[2026-08-19 15:29:42] local.INFO: Processing buffer {"connection_id":158025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01975ca28012d0b10000702a0000012013517..."} 
[2026-08-19 15:29:42] local.INFO: Packet analysis {"connection_id":158025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01975"} 
[2026-08-19 15:29:42] local.INFO: Extracted packet for processing {"connection_id":158025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01975"} 
[2026-08-19 15:29:42] local.INFO: GPS Element Parsed {"raw_longitude":755699712,"raw_latitude":117612544,"longitude_deg":75.5699712,"latitude_deg":11.7612544,"altitude":18,"angle":309,"satellites":23,"speed":1,"hex_longitude":"2d0b1000","hex_latitude":"0702a000","is_valid_coordinates":true} 
[2026-08-19 15:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506186240001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28857477239930880,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797137164153366528,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787133545000,"timestamp_ms":1787133545000,"timestamp_seconds":1787133545,"priority":1,"record_length":96,"hex_timestamp":"000001a01975ca28"} 
[2026-08-19 15:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:29: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-08-19 15:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 15:29:42] 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-08-19 15:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506186240001,"66":14439,"147":206,"94":11008,"24":1,"16":28857477239930880,"45":797137164153366528},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-08-19 15:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506186240001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:29:42] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-19 15:29:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28857477239930880,"km_value":28857477239930.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":797137164153366528,"description":"Unknown IO ID 45"} 
[2026-08-19 15:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506186240001,"power":14439,"unknown_147":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":797137164153366528}} 
[2026-08-19 15:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":158025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665349,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:29:42] local.INFO: GPS data processed {"connection_id":158025,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:29:42] local.INFO: Acknowledgment sent {"connection_id":158025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:29:44] local.INFO: TCP Data received {"connection_id":158025,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01975d9c8012d0b0f400702a0a80012011e17..."} 
[2026-08-19 15:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01975d9c8012d0b0f400702a0a80012011e17..."} 
[2026-08-19 15:29:44] local.INFO: Processing buffer {"connection_id":158025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01975d9c8012d0b0f400702a0a80012011e17..."} 
[2026-08-19 15:29:44] local.INFO: Packet analysis {"connection_id":158025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01975"} 
[2026-08-19 15:29:44] local.INFO: Extracted packet for processing {"connection_id":158025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01975"} 
[2026-08-19 15:29:44] local.INFO: GPS Element Parsed {"raw_longitude":755699520,"raw_latitude":117612712,"longitude_deg":75.569952,"latitude_deg":11.7612712,"altitude":18,"angle":286,"satellites":23,"speed":2,"hex_longitude":"2d0b0f40","hex_latitude":"0702a0a8","is_valid_coordinates":true} 
[2026-08-19 15:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506187520001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28857490124832768,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797137164153389056,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787133549000,"timestamp_ms":1787133549000,"timestamp_seconds":1787133549,"priority":1,"record_length":96,"hex_timestamp":"000001a01975d9c8"} 
[2026-08-19 15:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:29: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-08-19 15:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 15:29:44] 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-08-19 15:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506187520001,"66":14374,"147":206,"94":11008,"24":2,"16":28857490124832768,"45":797137164153389056},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-08-19 15:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506187520001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:29:44] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-19 15:29:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28857490124832768,"km_value":28857490124832.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":797137164153389056,"description":"Unknown IO ID 45"} 
[2026-08-19 15:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506187520001,"power":14374,"unknown_147":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":797137164153389056}} 
[2026-08-19 15:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":158025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665350,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:29:44] local.INFO: GPS data processed {"connection_id":158025,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:29:44] local.INFO: Acknowledgment sent {"connection_id":158025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:29:46] local.INFO: TCP Data received {"connection_id":158025,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01975e580012d0b0f000702a0c80012014118..."} 
[2026-08-19 15:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01975e580012d0b0f000702a0c80012014118..."} 
[2026-08-19 15:29:46] local.INFO: Processing buffer {"connection_id":158025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01975e580012d0b0f000702a0c80012014118..."} 
[2026-08-19 15:29:46] local.INFO: Packet analysis {"connection_id":158025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01975"} 
[2026-08-19 15:29:46] local.INFO: Extracted packet for processing {"connection_id":158025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01975"} 
[2026-08-19 15:29:46] local.INFO: GPS Element Parsed {"raw_longitude":755699456,"raw_latitude":117612744,"longitude_deg":75.5699456,"latitude_deg":11.7612744,"altitude":18,"angle":321,"satellites":24,"speed":1,"hex_longitude":"2d0b0f00","hex_latitude":"0702a0c8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506188544001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28857494419800064,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796926057920899072,"note":"Value kept but may cause issues"} 
[2026-08-19 15:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787133552000,"timestamp_ms":1787133552000,"timestamp_seconds":1787133552,"priority":1,"record_length":96,"hex_timestamp":"000001a01975e580"} 
[2026-08-19 15:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 15:29:46] 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-08-19 15: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-08-19 15:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506188544001,"66":14439,"147":206,"94":11008,"24":1,"16":28857494419800064,"45":796926057920899072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,94,24,16,45]} 
[2026-08-19 15:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506188544001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:29:46] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-08-19 15:29:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28857494419800064,"km_value":28857494419800.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":796926057920899072,"description":"Unknown IO ID 45"} 
[2026-08-19 15:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506188544001,"power":14439,"unknown_147":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":796926057920899072}} 
[2026-08-19 15:29:46] local.INFO: TCP Data received {"connection_id":158885,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:29:46] local.INFO: Processing buffer {"connection_id":158885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:29:46] local.INFO: IMEI packet received {"connection_id":158885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":158885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":158025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665351,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:29:46] local.INFO: GPS data processed {"connection_id":158025,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:29:46] local.INFO: Acknowledgment sent {"connection_id":158025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:29:48] local.INFO: TCP Data received {"connection_id":158885,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:29:48] local.INFO: Processing buffer {"connection_id":158885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:29:48] local.INFO: IMEI packet received {"connection_id":158885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":158885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:29:50] local.INFO: TCP Data received {"connection_id":158885,"ip":"117.224.158.208","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 15:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158885,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 15:29:50] local.INFO: Processing buffer {"connection_id":158885,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 15:29:50] local.INFO: IMEI packet received {"connection_id":158885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":158885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:29:59] local.INFO: TCP Data received {"connection_id":160196,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:29:59] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:29:59] local.INFO: IMEI packet received {"connection_id":160196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":160196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:30:04] local.INFO: TCP Data received {"connection_id":160196,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:30:04] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:30:04] local.INFO: IMEI packet received {"connection_id":160196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":160196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:30:05] local.INFO: TCP Data received {"connection_id":160196,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:30:05] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:30:05] local.INFO: Packet analysis {"connection_id":160196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:30:05] local.INFO: Extracted packet for processing {"connection_id":160196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:30:05] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":45,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506074368001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:30:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787133404000,"timestamp_ms":1787133404000,"timestamp_seconds":1787133404,"priority":1,"record_length":96,"hex_timestamp":"000001a01973a360"} 
[2026-08-19 15:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 15:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506074368001,"66":25995,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506074368001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:30:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:30:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506074368001,"power":25995,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":160196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:30:06] local.INFO: GPS data processed {"connection_id":160196,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:30:06] local.INFO: Acknowledgment sent {"connection_id":160196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:30:12] local.INFO: TCP Data received {"connection_id":158884,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01975f520012d7a148005ec8030000d00111c..."} 
[2026-08-19 15:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01975f520012d7a148005ec8030000d00111c..."} 
[2026-08-19 15:30:12] local.INFO: Processing buffer {"connection_id":158884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01975f520012d7a148005ec8030000d00111c..."} 
[2026-08-19 15:30:12] local.INFO: Packet analysis {"connection_id":158884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01975"} 
[2026-08-19 15:30:12] local.INFO: Extracted packet for processing {"connection_id":158884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01975"} 
[2026-08-19 15:30:12] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":99385392,"longitude_deg":76.297536,"latitude_deg":9.9385392,"altitude":13,"angle":17,"satellites":28,"speed":0,"hex_longitude":"2d7a1480","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-08-19 15:30:12] 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-08-19 15:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506189312001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120712843287855104,"note":"Value kept but may cause issues"} 
[2026-08-19 15:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796796735092436992,"note":"Value kept but may cause issues"} 
[2026-08-19 15:30:12] 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-08-19 15:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787133556000,"timestamp_ms":1787133556000,"timestamp_seconds":1787133556,"priority":1,"record_length":96,"hex_timestamp":"000001a01975f520"} 
[2026-08-19 15:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:30:12] 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-08-19 15:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 15:30: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-08-19 15:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506189312001,"66":13341,"100":206,"87":13824,"24":0,"16":120712843287855104,"45":8796796735092436992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-19 15:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506189312001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:30:12] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 15:30:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120712843287855104,"km_value":120712843287855.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796796735092436992,"description":"Unknown IO ID 45"} 
[2026-08-19 15:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506189312001,"power":13341,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796796735092436992}} 
[2026-08-19 15:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":158884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:30:12] local.INFO: GPS data processed {"connection_id":158884,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:30:12] local.INFO: Acknowledgment sent {"connection_id":158884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:30:17] local.INFO: TCP Data received {"connection_id":158025,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01976d3c8012d0af2800702c6100008012f29..."} 
[2026-08-19 15:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01976d3c8012d0af2800702c6100008012f29..."} 
[2026-08-19 15:30:17] local.INFO: Processing buffer {"connection_id":158025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01976d3c8012d0af2800702c6100008012f29..."} 
[2026-08-19 15:30:17] local.INFO: Packet analysis {"connection_id":158025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01976"} 
[2026-08-19 15:30:17] local.INFO: Extracted packet for processing {"connection_id":158025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01976"} 
[2026-08-19 15:30:17] local.INFO: GPS Element Parsed {"raw_longitude":755692160,"raw_latitude":117622288,"longitude_deg":75.569216,"latitude_deg":11.7622288,"altitude":8,"angle":303,"satellites":41,"speed":13,"hex_longitude":"2d0af280","hex_latitude":"0702c610","is_valid_coordinates":true} 
[2026-08-19 15:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506204672001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28858203089403904,"note":"Value kept but may cause issues"} 
[2026-08-19 15:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789255864807952384,"note":"Value kept but may cause issues"} 
[2026-08-19 15:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787133613000,"timestamp_ms":1787133613000,"timestamp_seconds":1787133613,"priority":1,"record_length":96,"hex_timestamp":"000001a01976d3c8"} 
[2026-08-19 15:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:30:17] 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-08-19 15:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 15:30:17] 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-08-19 15:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158025,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506204672001,"66":14515,"17":206,"94":11008,"24":13,"16":28858203089403904,"45":789255864807952384},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506204672001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:30:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28858203089403904,"km_value":28858203089403.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":789255864807952384,"description":"Unknown IO ID 45"} 
[2026-08-19 15:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506204672001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":789255864807952384}} 
[2026-08-19 15:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":158025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665354,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:30:18] local.INFO: GPS data processed {"connection_id":158025,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:30:18] local.INFO: Acknowledgment sent {"connection_id":158025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:30:34] local.INFO: TCP Data received {"connection_id":157642,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157642,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:30:34] local.INFO: Processing buffer {"connection_id":157642,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:30:34] local.INFO: IMEI packet received {"connection_id":157642,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":157642,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:30:35] local.INFO: TCP Data received {"connection_id":157643,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:30:35] local.INFO: Processing buffer {"connection_id":157643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:30:35] local.INFO: IMEI packet received {"connection_id":157643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":157643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:30:36] local.INFO: TCP Data received {"connection_id":157642,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157642,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:30:36] local.INFO: Processing buffer {"connection_id":157642,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:30:36] local.INFO: IMEI packet received {"connection_id":157642,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":157642,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:30:37] local.INFO: TCP Data received {"connection_id":160196,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:30:37] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:30:37] local.INFO: Packet analysis {"connection_id":160196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:30:37] local.INFO: Extracted packet for processing {"connection_id":160196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:30:37] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":45,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506074368001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:30:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787133404000,"timestamp_ms":1787133404000,"timestamp_seconds":1787133404,"priority":1,"record_length":96,"hex_timestamp":"000001a01973a360"} 
[2026-08-19 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-08-19 15:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 15:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 15:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506074368001,"66":25995,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506074368001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:30:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:30:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506074368001,"power":25995,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":160196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:30:37] local.INFO: GPS data processed {"connection_id":160196,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:30:37] local.INFO: Acknowledgment sent {"connection_id":160196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:30:38] local.INFO: TCP Data received {"connection_id":157642,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157642,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:30:38] local.INFO: Processing buffer {"connection_id":157642,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:30:38] local.INFO: IMEI packet received {"connection_id":157642,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":157642,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:30:38] local.INFO: TCP Data received {"connection_id":157642,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01976d7b0012d0af1800702c6e00008013f2a..."} 
[2026-08-19 15:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01976d7b0012d0af1800702c6e00008013f2a..."} 
[2026-08-19 15:30:38] local.INFO: Processing buffer {"connection_id":157642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01976d7b0012d0af1800702c6e00008013f2a..."} 
[2026-08-19 15:30:38] local.INFO: Packet analysis {"connection_id":157642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01976"} 
[2026-08-19 15:30:38] local.INFO: Extracted packet for processing {"connection_id":157642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01976"} 
[2026-08-19 15:30:38] local.INFO: GPS Element Parsed {"raw_longitude":755691904,"raw_latitude":117622496,"longitude_deg":75.5691904,"latitude_deg":11.7622496,"altitude":8,"angle":319,"satellites":42,"speed":13,"hex_longitude":"2d0af180","hex_latitude":"0702c6e0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506204928001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28858215974305792,"note":"Value kept but may cause issues"} 
[2026-08-19 15:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788833652342919168,"note":"Value kept but may cause issues"} 
[2026-08-19 15:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787133614000,"timestamp_ms":1787133614000,"timestamp_seconds":1787133614,"priority":1,"record_length":96,"hex_timestamp":"000001a01976d7b0"} 
[2026-08-19 15:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:30: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-08-19 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 15:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506204928001,"66":14515,"17":206,"94":11008,"24":13,"16":28858215974305792,"45":788833652342919168},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506204928001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:30:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28858215974305792,"km_value":28858215974305.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":788833652342919168,"description":"Unknown IO ID 45"} 
[2026-08-19 15:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506204928001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":788833652342919168}} 
[2026-08-19 15:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":157642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665356,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:30:39] local.INFO: GPS data processed {"connection_id":157642,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:30:39] local.INFO: Acknowledgment sent {"connection_id":157642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:30:40] local.INFO: TCP Data received {"connection_id":157643,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:30:40] local.INFO: Processing buffer {"connection_id":157643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:30:40] local.INFO: IMEI packet received {"connection_id":157643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":157643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:31:04] local.INFO: TCP Data received {"connection_id":157644,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:31:04] local.INFO: Processing buffer {"connection_id":157644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:31:04] local.INFO: IMEI packet received {"connection_id":157644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":157644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:31:09] local.INFO: TCP Data received {"connection_id":157644,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:31:09] local.INFO: Processing buffer {"connection_id":157644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:31:09] local.INFO: IMEI packet received {"connection_id":157644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":157644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:31:10] local.INFO: TCP Data received {"connection_id":157642,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01976db98012d0af0c00702c7f80007014c29..."} 
[2026-08-19 15:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01976db98012d0af0c00702c7f80007014c29..."} 
[2026-08-19 15:31:10] local.INFO: Processing buffer {"connection_id":157642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01976db98012d0af0c00702c7f80007014c29..."} 
[2026-08-19 15:31:10] local.INFO: Packet analysis {"connection_id":157642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01976"} 
[2026-08-19 15:31:10] local.INFO: Extracted packet for processing {"connection_id":157642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01976"} 
[2026-08-19 15:31:10] local.INFO: GPS Element Parsed {"raw_longitude":755691712,"raw_latitude":117622776,"longitude_deg":75.5691712,"latitude_deg":11.7622776,"altitude":7,"angle":332,"satellites":41,"speed":14,"hex_longitude":"2d0af0c0","hex_latitude":"0702c7f8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506205184001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28858233154174976,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788552177366261760,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:10] 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-08-19 15:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787133615000,"timestamp_ms":1787133615000,"timestamp_seconds":1787133615,"priority":1,"record_length":96,"hex_timestamp":"000001a01976db98"} 
[2026-08-19 15:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15: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-08-19 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 15:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157642,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506205184001,"66":14396,"17":206,"94":11008,"24":14,"16":28858233154174976,"45":788552177366261760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506205184001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:31:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28858233154174976,"km_value":28858233154174.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":788552177366261760,"description":"Unknown IO ID 45"} 
[2026-08-19 15:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506205184001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":788552177366261760}} 
[2026-08-19 15:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":157642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665357,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:31:10] local.INFO: GPS data processed {"connection_id":157642,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:31:10] local.INFO: Acknowledgment sent {"connection_id":157642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:31:10] local.INFO: TCP Data received {"connection_id":157644,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:31:10] local.INFO: Processing buffer {"connection_id":157644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:31:10] local.INFO: Packet analysis {"connection_id":157644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:31:10] local.INFO: Extracted packet for processing {"connection_id":157644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:31:10] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":45,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506074368001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787133404000,"timestamp_ms":1787133404000,"timestamp_seconds":1787133404,"priority":1,"record_length":96,"hex_timestamp":"000001a01973a360"} 
[2026-08-19 15:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 15:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506074368001,"66":25995,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506074368001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:31:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506074368001,"power":25995,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":157644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:31:10] local.INFO: GPS data processed {"connection_id":157644,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:31:10] local.INFO: Acknowledgment sent {"connection_id":157644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:31:15] local.INFO: TCP Data received {"connection_id":157644,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:31:15] local.INFO: Processing buffer {"connection_id":157644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:31:15] local.INFO: Packet analysis {"connection_id":157644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:31:15] local.INFO: Extracted packet for processing {"connection_id":157644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:31:15] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":45,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506074368001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787133404000,"timestamp_ms":1787133404000,"timestamp_seconds":1787133404,"priority":1,"record_length":96,"hex_timestamp":"000001a01973a360"} 
[2026-08-19 15:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 15:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506074368001,"66":25995,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506074368001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:31:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506074368001,"power":25995,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":157644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:31:15] local.INFO: GPS data processed {"connection_id":157644,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:31:15] local.INFO: Acknowledgment sent {"connection_id":157644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:31:34] local.INFO: TCP Data received {"connection_id":157643,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01975f520012d7a148005ec8030000d00111c..."} 
[2026-08-19 15:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01975f520012d7a148005ec8030000d00111c..."} 
[2026-08-19 15:31:34] local.INFO: Processing buffer {"connection_id":157643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01975f520012d7a148005ec8030000d00111c..."} 
[2026-08-19 15:31:34] local.INFO: Packet analysis {"connection_id":157643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01975"} 
[2026-08-19 15:31:34] local.INFO: Extracted packet for processing {"connection_id":157643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01975"} 
[2026-08-19 15:31:34] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":99385392,"longitude_deg":76.297536,"latitude_deg":9.9385392,"altitude":13,"angle":17,"satellites":28,"speed":0,"hex_longitude":"2d7a1480","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-08-19 15:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506190336001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120712843287855104,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796796735092436992,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787133556000,"timestamp_ms":1787133556000,"timestamp_seconds":1787133556,"priority":1,"record_length":96,"hex_timestamp":"000001a01975f520"} 
[2026-08-19 15:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:31:34] 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-08-19 15:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 15:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":157643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":157643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":157643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506190336001,"66":13341,"100":206,"87":13824,"24":0,"16":120712843287855104,"45":8796796735092436992},"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-08-19 15:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506190336001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:31:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 15:31:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120712843287855104,"km_value":120712843287855.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796796735092436992,"description":"Unknown IO ID 45"} 
[2026-08-19 15:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506190336001,"power":13341,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796796735092436992}} 
[2026-08-19 15:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":157643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:31:34] local.INFO: GPS data processed {"connection_id":157643,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:31:34] local.INFO: Acknowledgment sent {"connection_id":157643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:31:35] local.INFO: TCP Data received {"connection_id":157643,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01975fcf0012d7a148005ec8030000d00111c..."} 
[2026-08-19 15:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01975fcf0012d7a148005ec8030000d00111c..."} 
[2026-08-19 15:31:35] local.INFO: Processing buffer {"connection_id":157643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01975fcf0012d7a148005ec8030000d00111c..."} 
[2026-08-19 15:31:35] local.INFO: Packet analysis {"connection_id":157643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01975"} 
[2026-08-19 15:31:35] local.INFO: Extracted packet for processing {"connection_id":157643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01975"} 
[2026-08-19 15:31:35] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":99385392,"longitude_deg":76.297536,"latitude_deg":9.9385392,"altitude":13,"angle":17,"satellites":28,"speed":0,"hex_longitude":"2d7a1480","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-08-19 15:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506190336001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120712843287855104,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796796735092436992,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:35] 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-08-19 15:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787133558000,"timestamp_ms":1787133558000,"timestamp_seconds":1787133558,"priority":1,"record_length":96,"hex_timestamp":"000001a01975fcf0"} 
[2026-08-19 15:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 15:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":157643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":157643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":157643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:31:35] 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-08-19 15:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506190336001,"66":4764,"100":206,"87":13824,"24":0,"16":120712843287855104,"45":8796796735092436992},"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-08-19 15:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506190336001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:31:35] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 15:31:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120712843287855104,"km_value":120712843287855.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796796735092436992,"description":"Unknown IO ID 45"} 
[2026-08-19 15:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506190336001,"power":4764,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796796735092436992}} 
[2026-08-19 15:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":157643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:31:35] local.INFO: GPS data processed {"connection_id":157643,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:31:35] local.ERROR: TCP Connection error {"connection_id":157643,"code":2,"message":"client closed"} 
[2026-08-19 15:31:35] local.INFO: Acknowledgment sent {"connection_id":157643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:31:38] local.INFO: TCP Data received {"connection_id":157645,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:31:38] local.INFO: Processing buffer {"connection_id":157645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:31:38] local.INFO: IMEI packet received {"connection_id":157645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":157645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:31:39] local.INFO: TCP Data received {"connection_id":157645,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:31:39] local.INFO: Processing buffer {"connection_id":157645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:31:39] local.INFO: IMEI packet received {"connection_id":157645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":157645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:31:40] local.INFO: TCP Data received {"connection_id":157645,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01977c5f8012d0b0740070324b8000c00172d..."} 
[2026-08-19 15:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01977c5f8012d0b0740070324b8000c00172d..."} 
[2026-08-19 15:31:40] local.INFO: Processing buffer {"connection_id":157645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01977c5f8012d0b0740070324b8000c00172d..."} 
[2026-08-19 15:31:40] local.INFO: Packet analysis {"connection_id":157645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01977"} 
[2026-08-19 15:31:40] local.INFO: Extracted packet for processing {"connection_id":157645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01977"} 
[2026-08-19 15:31:40] local.INFO: GPS Element Parsed {"raw_longitude":755697472,"raw_latitude":117646520,"longitude_deg":75.5697472,"latitude_deg":11.764652,"altitude":12,"angle":23,"satellites":45,"speed":28,"hex_longitude":"2d0b0740","hex_latitude":"070324b8","is_valid_coordinates":true} 
[2026-08-19 15:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506219008001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28859474399723520,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":793055776998694912,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:40] 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-08-19 15:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787133675000,"timestamp_ms":1787133675000,"timestamp_seconds":1787133675,"priority":1,"record_length":96,"hex_timestamp":"000001a01977c5f8"} 
[2026-08-19 15:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:31: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-08-19 15:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 15:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506219008001,"66":14396,"17":206,"94":11008,"24":28,"16":28859474399723520,"45":793055776998694912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506219008001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:31:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28859474399723520,"km_value":28859474399723.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":793055776998694912,"description":"Unknown IO ID 45"} 
[2026-08-19 15:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506219008001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":793055776998694912}} 
[2026-08-19 15:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":157645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665362,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:31:40] local.INFO: GPS data processed {"connection_id":157645,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:31:40] local.INFO: Acknowledgment sent {"connection_id":157645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:31:40] local.INFO: TCP Data received {"connection_id":157646,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:31:40] local.INFO: Processing buffer {"connection_id":157646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:31:40] local.INFO: IMEI packet received {"connection_id":157646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":157646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:31:42] local.INFO: TCP Data received {"connection_id":157645,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01977cdc8012d0b0a00070328e0000b00282e..."} 
[2026-08-19 15:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01977cdc8012d0b0a00070328e0000b00282e..."} 
[2026-08-19 15:31:42] local.INFO: Processing buffer {"connection_id":157645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01977cdc8012d0b0a00070328e0000b00282e..."} 
[2026-08-19 15:31:42] local.INFO: Packet analysis {"connection_id":157645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01977"} 
[2026-08-19 15:31:42] local.INFO: Extracted packet for processing {"connection_id":157645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01977"} 
[2026-08-19 15:31:42] local.INFO: GPS Element Parsed {"raw_longitude":755698176,"raw_latitude":117647584,"longitude_deg":75.5698176,"latitude_deg":11.7647584,"altitude":11,"angle":40,"satellites":46,"speed":21,"hex_longitude":"2d0b0a00","hex_latitude":"070328e0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506220800001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28859534529265664,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":794674258115868672,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31: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-08-19 15:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787133677000,"timestamp_ms":1787133677000,"timestamp_seconds":1787133677,"priority":1,"record_length":96,"hex_timestamp":"000001a01977cdc8"} 
[2026-08-19 15:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15: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-08-19 15: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":60,"data_length":795,"current_offset":136} 
[2026-08-19 15:31:42] 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-08-19 15: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-08-19 15:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506220800001,"66":14330,"17":206,"94":11008,"24":21,"16":28859534529265664,"45":794674258115868672},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506220800001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:31:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28859534529265664,"km_value":28859534529265.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":794674258115868672,"description":"Unknown IO ID 45"} 
[2026-08-19 15:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506220800001,"power":14330,"axis_x":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":794674258115868672}} 
[2026-08-19 15:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":157645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665363,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:31:43] local.INFO: GPS data processed {"connection_id":157645,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:31:43] local.INFO: Acknowledgment sent {"connection_id":157645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:31:45] local.INFO: TCP Data received {"connection_id":157646,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:31:45] local.INFO: Processing buffer {"connection_id":157646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:31:45] local.INFO: IMEI packet received {"connection_id":157646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":157646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:31:46] local.INFO: TCP Data received {"connection_id":157646,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01975fcf0012d7a148005ec8030000d00111c..."} 
[2026-08-19 15:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01975fcf0012d7a148005ec8030000d00111c..."} 
[2026-08-19 15:31:46] local.INFO: Processing buffer {"connection_id":157646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01975fcf0012d7a148005ec8030000d00111c..."} 
[2026-08-19 15:31:46] local.INFO: Packet analysis {"connection_id":157646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01975"} 
[2026-08-19 15:31:46] local.INFO: Extracted packet for processing {"connection_id":157646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01975"} 
[2026-08-19 15:31:46] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":99385392,"longitude_deg":76.297536,"latitude_deg":9.9385392,"altitude":13,"angle":17,"satellites":28,"speed":0,"hex_longitude":"2d7a1480","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-08-19 15:31:46] 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-08-19 15:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506190848001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120712843287855104,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796796735092436992,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:46] 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-08-19 15:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787133558000,"timestamp_ms":1787133558000,"timestamp_seconds":1787133558,"priority":1,"record_length":96,"hex_timestamp":"000001a01975fcf0"} 
[2026-08-19 15:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:31: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-08-19 15:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":18,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 15:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:31:46] 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-08-19 15:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506190848001,"66":4764,"100":206,"87":13824,"24":0,"16":120712843287855104,"45":8796796735092436992},"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-08-19 15:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506190848001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:31:46] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 15:31:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120712843287855104,"km_value":120712843287855.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796796735092436992,"description":"Unknown IO ID 45"} 
[2026-08-19 15:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506190848001,"power":4764,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796796735092436992}} 
[2026-08-19 15:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":157646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:31:46] local.INFO: GPS data processed {"connection_id":157646,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:31:46] local.INFO: Acknowledgment sent {"connection_id":157646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:31:50] local.INFO: TCP Data received {"connection_id":157646,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01977e538012d7a148005ec8028000d001120..."} 
[2026-08-19 15:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01977e538012d7a148005ec8028000d001120..."} 
[2026-08-19 15:31:50] local.INFO: Processing buffer {"connection_id":157646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01977e538012d7a148005ec8028000d001120..."} 
[2026-08-19 15:31:50] local.INFO: Packet analysis {"connection_id":157646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01977"} 
[2026-08-19 15:31:50] local.INFO: Extracted packet for processing {"connection_id":157646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01977"} 
[2026-08-19 15:31:50] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":99385384,"longitude_deg":76.297536,"latitude_deg":9.9385384,"altitude":13,"angle":17,"satellites":32,"speed":0,"hex_longitude":"2d7a1480","hex_latitude":"05ec8028","is_valid_coordinates":true} 
[2026-08-19 15:31: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-08-19 15:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506190848001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120712843287855104,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796796735092436992,"note":"Value kept but may cause issues"} 
[2026-08-19 15:31:50] 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-08-19 15:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787133683000,"timestamp_ms":1787133683000,"timestamp_seconds":1787133683,"priority":1,"record_length":96,"hex_timestamp":"000001a01977e538"} 
[2026-08-19 15:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":18,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 15:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":157646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":157646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":157646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:31:50] 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-08-19 15:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506190848001,"66":13015,"100":206,"87":13824,"24":0,"16":120712843287855104,"45":8796796735092436992},"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-08-19 15:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506190848001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:31:50] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 15:31:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120712843287855104,"km_value":120712843287855.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796796735092436992,"description":"Unknown IO ID 45"} 
[2026-08-19 15:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506190848001,"power":13015,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796796735092436992}} 
[2026-08-19 15:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":157646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:31:51] local.INFO: GPS data processed {"connection_id":157646,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:31:51] local.INFO: Acknowledgment sent {"connection_id":157646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:31:59] local.INFO: TCP Data received {"connection_id":160197,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:31:59] local.INFO: Processing buffer {"connection_id":160197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:31:59] local.INFO: IMEI packet received {"connection_id":160197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":160197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:32:04] local.INFO: TCP Data received {"connection_id":160197,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:32:04] local.INFO: Processing buffer {"connection_id":160197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:32:04] local.INFO: IMEI packet received {"connection_id":160197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":160197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:32:05] local.INFO: TCP Data received {"connection_id":160197,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:32:05] local.INFO: Processing buffer {"connection_id":160197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01973a360012ceb0340071a39e8002d013b25..."} 
[2026-08-19 15:32:05] local.INFO: Packet analysis {"connection_id":160197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:32:05] local.INFO: Extracted packet for processing {"connection_id":160197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01973"} 
[2026-08-19 15:32:05] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":45,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506074368001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:32:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787133404000,"timestamp_ms":1787133404000,"timestamp_seconds":1787133404,"priority":1,"record_length":96,"hex_timestamp":"000001a01973a360"} 
[2026-08-19 15:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 15:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506074368001,"66":25995,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506074368001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:32:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:32:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506074368001,"power":25995,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":160197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:32:05] local.INFO: GPS data processed {"connection_id":160197,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:32:05] local.INFO: Acknowledgment sent {"connection_id":160197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:32:14] local.INFO: TCP Data received {"connection_id":157645,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01977d1b0012d0b0b8007032a40000b00342e..."} 
[2026-08-19 15:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01977d1b0012d0b0b8007032a40000b00342e..."} 
[2026-08-19 15:32:14] local.INFO: Processing buffer {"connection_id":157645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01977d1b0012d0b0b8007032a40000b00342e..."} 
[2026-08-19 15:32:14] local.INFO: Packet analysis {"connection_id":157645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01977"} 
[2026-08-19 15:32:14] local.INFO: Extracted packet for processing {"connection_id":157645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01977"} 
[2026-08-19 15:32:14] local.INFO: GPS Element Parsed {"raw_longitude":755698560,"raw_latitude":117647936,"longitude_deg":75.569856,"latitude_deg":11.7647936,"altitude":11,"angle":52,"satellites":46,"speed":21,"hex_longitude":"2d0b0b80","hex_latitude":"07032a40","is_valid_coordinates":true} 
[2026-08-19 15:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506221312001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28859560299069440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795448314302095360,"note":"Value kept but may cause issues"} 
[2026-08-19 15:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787133678000,"timestamp_ms":1787133678000,"timestamp_seconds":1787133678,"priority":1,"record_length":96,"hex_timestamp":"000001a01977d1b0"} 
[2026-08-19 15:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:32: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-08-19 15:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-19 15:32:14] 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-08-19 15:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506221312001,"66":14330,"17":206,"94":11008,"24":21,"16":28859560299069440,"45":795448314302095360},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506221312001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:32:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28859560299069440,"km_value":28859560299069.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":795448314302095360,"description":"Unknown IO ID 45"} 
[2026-08-19 15:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506221312001,"power":14330,"axis_x":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":795448314302095360}} 
[2026-08-19 15:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":157645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665367,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:32:14] local.INFO: GPS data processed {"connection_id":157645,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:32:14] local.INFO: Acknowledgment sent {"connection_id":157645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:32:35] local.INFO: TCP Data received {"connection_id":158887,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:32:35] local.INFO: Processing buffer {"connection_id":158887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:32:35] local.INFO: IMEI packet received {"connection_id":158887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":158887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:32:37] local.INFO: TCP Data received {"connection_id":160197,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:32:37] local.INFO: Processing buffer {"connection_id":160197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:32:37] local.INFO: Packet analysis {"connection_id":160197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:32:37] local.INFO: Extracted packet for processing {"connection_id":160197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:32:37] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":44,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506151424001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:32:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787133705000,"timestamp_ms":1787133705000,"timestamp_seconds":1787133705,"priority":1,"record_length":96,"hex_timestamp":"000001a019783b28"} 
[2026-08-19 15:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 15:32:37] 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-08-19 15: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-08-19 15:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506151424001,"66":25919,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506151424001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:32:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:32:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506151424001,"power":25919,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":160197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:32:37] local.INFO: GPS data processed {"connection_id":160197,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:32:37] local.INFO: Acknowledgment sent {"connection_id":160197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:32:40] local.INFO: TCP Data received {"connection_id":158887,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:32:40] local.INFO: Processing buffer {"connection_id":158887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:32:40] local.INFO: IMEI packet received {"connection_id":158887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":158887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:32:41] local.INFO: TCP Data received {"connection_id":158028,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158028,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:32:41] local.INFO: Processing buffer {"connection_id":158028,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:32:41] local.INFO: IMEI packet received {"connection_id":158028,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":158028,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:32:41] local.INFO: TCP Data received {"connection_id":158887,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01977e538012d7a148005ec8028000d001120..."} 
[2026-08-19 15:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01977e538012d7a148005ec8028000d001120..."} 
[2026-08-19 15:32:41] local.INFO: Processing buffer {"connection_id":158887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01977e538012d7a148005ec8028000d001120..."} 
[2026-08-19 15:32:41] local.INFO: Packet analysis {"connection_id":158887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01977"} 
[2026-08-19 15:32:41] local.INFO: Extracted packet for processing {"connection_id":158887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01977"} 
[2026-08-19 15:32:41] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":99385384,"longitude_deg":76.297536,"latitude_deg":9.9385384,"altitude":13,"angle":17,"satellites":32,"speed":0,"hex_longitude":"2d7a1480","hex_latitude":"05ec8028","is_valid_coordinates":true} 
[2026-08-19 15:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506222848001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120712843287855104,"note":"Value kept but may cause issues"} 
[2026-08-19 15:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796796735092434944,"note":"Value kept but may cause issues"} 
[2026-08-19 15:32:41] 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-08-19 15:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787133683000,"timestamp_ms":1787133683000,"timestamp_seconds":1787133683,"priority":1,"record_length":96,"hex_timestamp":"000001a01977e538"} 
[2026-08-19 15:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:32:41] 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-08-19 15:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 15:32:41] 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-08-19 15:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:32:41] 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-08-19 15:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506222848001,"66":13015,"100":206,"87":13824,"24":0,"16":120712843287855104,"45":8796796735092434944},"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-08-19 15:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506222848001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:32:41] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 15:32:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120712843287855104,"km_value":120712843287855.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796796735092434944,"description":"Unknown IO ID 45"} 
[2026-08-19 15:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506222848001,"power":13015,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796796735092434944}} 
[2026-08-19 15:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":158887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:32:41] local.INFO: GPS data processed {"connection_id":158887,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:32:41] local.INFO: Acknowledgment sent {"connection_id":158887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:32:41] local.INFO: TCP Data received {"connection_id":158028,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158028,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:32:41] local.INFO: Processing buffer {"connection_id":158028,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:32:41] local.INFO: IMEI packet received {"connection_id":158028,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":158028,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:32:42] local.INFO: TCP Data received {"connection_id":158028,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158028,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:32:42] local.INFO: Processing buffer {"connection_id":158028,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:32:42] local.INFO: IMEI packet received {"connection_id":158028,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":158028,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:32:47] local.INFO: TCP Data received {"connection_id":158028,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158028,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:32:47] local.INFO: Processing buffer {"connection_id":158028,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:32:47] local.INFO: IMEI packet received {"connection_id":158028,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":158028,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:32:47] local.INFO: TCP Data received {"connection_id":158028,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a019788d30012d0b420007037f00000f001928..."} 
[2026-08-19 15:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019788d30012d0b420007037f00000f001928..."} 
[2026-08-19 15:32:47] local.INFO: Processing buffer {"connection_id":158028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019788d30012d0b420007037f00000f001928..."} 
[2026-08-19 15:32:47] local.INFO: Packet analysis {"connection_id":158028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:32:47] local.INFO: Extracted packet for processing {"connection_id":158028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:32:47] local.INFO: GPS Element Parsed {"raw_longitude":755712512,"raw_latitude":117669632,"longitude_deg":75.5712512,"latitude_deg":11.7669632,"altitude":15,"angle":25,"satellites":40,"speed":11,"hex_longitude":"2d0b4200","hex_latitude":"07037f00","is_valid_coordinates":true} 
[2026-08-19 15:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506233600001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28860857379192832,"note":"Value kept but may cause issues"} 
[2026-08-19 15:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811070175515119616,"note":"Value kept but may cause issues"} 
[2026-08-19 15:32:47] 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-08-19 15:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787133726000,"timestamp_ms":1787133726000,"timestamp_seconds":1787133726,"priority":1,"record_length":96,"hex_timestamp":"000001a019788d30"} 
[2026-08-19 15:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 15:32:47] 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-08-19 15:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158028,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158028,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506233600001,"66":14439,"17":206,"94":11008,"24":11,"16":28860857379192832,"45":811070175515119616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506233600001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:32:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28860857379192832,"km_value":28860857379192.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":811070175515119616,"description":"Unknown IO ID 45"} 
[2026-08-19 15:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506233600001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":811070175515119616}} 
[2026-08-19 15:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":158028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665370,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:32:48] local.INFO: GPS data processed {"connection_id":158028,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:32:48] local.INFO: Acknowledgment sent {"connection_id":158028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:33:04] local.INFO: TCP Data received {"connection_id":157647,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:33:04] local.INFO: Processing buffer {"connection_id":157647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:33:04] local.INFO: IMEI packet received {"connection_id":157647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":157647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:33:09] local.INFO: TCP Data received {"connection_id":157647,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:33:09] local.INFO: Processing buffer {"connection_id":157647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:33:09] local.INFO: IMEI packet received {"connection_id":157647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":157647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:33:10] local.INFO: TCP Data received {"connection_id":157647,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:33:10] local.INFO: Processing buffer {"connection_id":157647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:33:10] local.INFO: Packet analysis {"connection_id":157647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:33:10] local.INFO: Extracted packet for processing {"connection_id":157647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:33:10] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":44,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506151424001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787133705000,"timestamp_ms":1787133705000,"timestamp_seconds":1787133705,"priority":1,"record_length":96,"hex_timestamp":"000001a019783b28"} 
[2026-08-19 15:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 15:33:10] 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-08-19 15:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506151424001,"66":25919,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506151424001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:33:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506151424001,"power":25919,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":157647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:33:10] local.INFO: GPS data processed {"connection_id":157647,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:33:10] local.INFO: Acknowledgment sent {"connection_id":157647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:33:13] local.INFO: TCP Data received {"connection_id":158887,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01977e538012d7a148005ec8028000d001120..."} 
[2026-08-19 15:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01977e538012d7a148005ec8028000d001120..."} 
[2026-08-19 15:33:13] local.INFO: Processing buffer {"connection_id":158887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01977e538012d7a148005ec8028000d001120..."} 
[2026-08-19 15:33:13] local.INFO: Packet analysis {"connection_id":158887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01977"} 
[2026-08-19 15:33:13] local.INFO: Extracted packet for processing {"connection_id":158887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01977"} 
[2026-08-19 15:33:13] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":99385384,"longitude_deg":76.297536,"latitude_deg":9.9385384,"altitude":13,"angle":17,"satellites":32,"speed":0,"hex_longitude":"2d7a1480","hex_latitude":"05ec8028","is_valid_coordinates":true} 
[2026-08-19 15:33:13] 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-08-19 15:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506222848001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120712843287855104,"note":"Value kept but may cause issues"} 
[2026-08-19 15:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796796735092434944,"note":"Value kept but may cause issues"} 
[2026-08-19 15:33:13] 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-08-19 15:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787133683000,"timestamp_ms":1787133683000,"timestamp_seconds":1787133683,"priority":1,"record_length":96,"hex_timestamp":"000001a01977e538"} 
[2026-08-19 15:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:33:13] 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-08-19 15:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 15:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:33:13] 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-08-19 15:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506222848001,"66":13015,"100":206,"87":13824,"24":0,"16":120712843287855104,"45":8796796735092434944},"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-08-19 15:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506222848001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:33:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 15:33:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120712843287855104,"km_value":120712843287855.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796796735092434944,"description":"Unknown IO ID 45"} 
[2026-08-19 15:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506222848001,"power":13015,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796796735092434944}} 
[2026-08-19 15:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":158887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:33:13] local.INFO: GPS data processed {"connection_id":158887,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:33:13] local.INFO: Acknowledgment sent {"connection_id":158887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:33:15] local.INFO: TCP Data received {"connection_id":157647,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:33:15] local.INFO: Processing buffer {"connection_id":157647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:33:15] local.INFO: Packet analysis {"connection_id":157647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:33:15] local.INFO: Extracted packet for processing {"connection_id":157647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:33:15] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":44,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506151424001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:33:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787133705000,"timestamp_ms":1787133705000,"timestamp_seconds":1787133705,"priority":1,"record_length":96,"hex_timestamp":"000001a019783b28"} 
[2026-08-19 15:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 15:33:15] 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-08-19 15:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506151424001,"66":25919,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506151424001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:33:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:33:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506151424001,"power":25919,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":157647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:33:15] local.INFO: GPS data processed {"connection_id":157647,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:33:15] local.INFO: Acknowledgment sent {"connection_id":157647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:33:19] local.INFO: TCP Data received {"connection_id":158028,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0197992e8012d0b33800703fea8000f000224..."} 
[2026-08-19 15:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197992e8012d0b33800703fea8000f000224..."} 
[2026-08-19 15:33:19] local.INFO: Processing buffer {"connection_id":158028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197992e8012d0b33800703fea8000f000224..."} 
[2026-08-19 15:33:19] local.INFO: Packet analysis {"connection_id":158028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01979"} 
[2026-08-19 15:33:19] local.INFO: Extracted packet for processing {"connection_id":158028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01979"} 
[2026-08-19 15:33:19] local.INFO: GPS Element Parsed {"raw_longitude":755708800,"raw_latitude":117702312,"longitude_deg":75.57088,"latitude_deg":11.7702312,"altitude":15,"angle":2,"satellites":36,"speed":15,"hex_longitude":"2d0b3380","hex_latitude":"0703fea8","is_valid_coordinates":true} 
[2026-08-19 15:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506250752001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28862523826503680,"note":"Value kept but may cause issues"} 
[2026-08-19 15:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807129525849499648,"note":"Value kept but may cause issues"} 
[2026-08-19 15:33:19] 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-08-19 15:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787133793000,"timestamp_ms":1787133793000,"timestamp_seconds":1787133793,"priority":1,"record_length":96,"hex_timestamp":"000001a0197992e8"} 
[2026-08-19 15:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:33: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-08-19 15:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 15:33: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-08-19 15:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158028,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158028,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506250752001,"66":14613,"96":206,"94":10240,"24":15,"16":28862523826503680,"45":807129525849499648},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-19 15:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506250752001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:33:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 15:33:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 15:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28862523826503680,"km_value":28862523826503.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":807129525849499648,"description":"Unknown IO ID 45"} 
[2026-08-19 15:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506250752001,"power":14613,"unknown_96":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":807129525849499648}} 
[2026-08-19 15:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":158028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665374,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:33:19] local.INFO: GPS data processed {"connection_id":158028,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:33:19] local.INFO: Acknowledgment sent {"connection_id":158028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:33:35] local.INFO: TCP Data received {"connection_id":158029,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:33:35] local.INFO: Processing buffer {"connection_id":158029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:33:35] local.INFO: IMEI packet received {"connection_id":158029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":158029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:33:36] local.INFO: TCP Data received {"connection_id":158889,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158889,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:33:36] local.INFO: Processing buffer {"connection_id":158889,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:33:36] local.INFO: IMEI packet received {"connection_id":158889,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":158889,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:33:37] local.INFO: TCP Data received {"connection_id":158889,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158889,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:33:37] local.INFO: Processing buffer {"connection_id":158889,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:33:37] local.INFO: IMEI packet received {"connection_id":158889,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":158889,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:33:37] local.INFO: TCP Data received {"connection_id":158889,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158889,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:33:37] local.INFO: Processing buffer {"connection_id":158889,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:33:37] local.INFO: IMEI packet received {"connection_id":158889,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":158889,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:33:40] local.INFO: TCP Data received {"connection_id":158029,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:33:40] local.INFO: Processing buffer {"connection_id":158029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:33:40] local.INFO: IMEI packet received {"connection_id":158029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":158029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:33:41] local.INFO: TCP Data received {"connection_id":158029,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01977e538012d7a148005ec8028000d001120..."} 
[2026-08-19 15:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01977e538012d7a148005ec8028000d001120..."} 
[2026-08-19 15:33:41] local.INFO: Processing buffer {"connection_id":158029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01977e538012d7a148005ec8028000d001120..."} 
[2026-08-19 15:33:41] local.INFO: Packet analysis {"connection_id":158029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01977"} 
[2026-08-19 15:33:41] local.INFO: Extracted packet for processing {"connection_id":158029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01977"} 
[2026-08-19 15:33:41] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":99385384,"longitude_deg":76.297536,"latitude_deg":9.9385384,"altitude":13,"angle":17,"satellites":32,"speed":0,"hex_longitude":"2d7a1480","hex_latitude":"05ec8028","is_valid_coordinates":true} 
[2026-08-19 15:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506222848001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120712843287855104,"note":"Value kept but may cause issues"} 
[2026-08-19 15:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796796735092434944,"note":"Value kept but may cause issues"} 
[2026-08-19 15:33:41] 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-08-19 15:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787133683000,"timestamp_ms":1787133683000,"timestamp_seconds":1787133683,"priority":1,"record_length":96,"hex_timestamp":"000001a01977e538"} 
[2026-08-19 15:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:33:41] 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-08-19 15:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 15:33:41] 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-08-19 15:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:33:41] 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-08-19 15:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506222848001,"66":13015,"100":206,"87":13824,"24":0,"16":120712843287855104,"45":8796796735092434944},"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-08-19 15:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506222848001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:33:41] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 15:33:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120712843287855104,"km_value":120712843287855.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796796735092434944,"description":"Unknown IO ID 45"} 
[2026-08-19 15:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506222848001,"power":13015,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796796735092434944}} 
[2026-08-19 15:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":158029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:33:41] local.INFO: GPS data processed {"connection_id":158029,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:33:41] local.INFO: Acknowledgment sent {"connection_id":158029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:33:41] local.INFO: TCP Data received {"connection_id":158889,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158889,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:33:41] local.INFO: Processing buffer {"connection_id":158889,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:33:41] local.INFO: IMEI packet received {"connection_id":158889,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":158889,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:33:42] local.INFO: TCP Data received {"connection_id":158889,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0197996d0012d0b34000703fff8000f001527..."} 
[2026-08-19 15:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197996d0012d0b34000703fff8000f001527..."} 
[2026-08-19 15:33:42] local.INFO: Processing buffer {"connection_id":158889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197996d0012d0b34000703fff8000f001527..."} 
[2026-08-19 15:33:42] local.INFO: Packet analysis {"connection_id":158889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01979"} 
[2026-08-19 15:33:42] local.INFO: Extracted packet for processing {"connection_id":158889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01979"} 
[2026-08-19 15:33:42] local.INFO: GPS Element Parsed {"raw_longitude":755708928,"raw_latitude":117702648,"longitude_deg":75.5708928,"latitude_deg":11.7702648,"altitude":15,"angle":21,"satellites":39,"speed":16,"hex_longitude":"2d0b3400","hex_latitude":"0703fff8","is_valid_coordinates":true} 
[2026-08-19 15:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506251008001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28862541006372864,"note":"Value kept but may cause issues"} 
[2026-08-19 15:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807129525849597952,"note":"Value kept but may cause issues"} 
[2026-08-19 15:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787133794000,"timestamp_ms":1787133794000,"timestamp_seconds":1787133794,"priority":1,"record_length":96,"hex_timestamp":"000001a0197996d0"} 
[2026-08-19 15:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-08-19 15:33:42] 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-08-19 15:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506251008001,"66":14613,"96":206,"94":10240,"24":16,"16":28862541006372864,"45":807129525849597952},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-19 15:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506251008001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:33:42] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 15:33:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 15:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28862541006372864,"km_value":28862541006372.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":807129525849597952,"description":"Unknown IO ID 45"} 
[2026-08-19 15:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506251008001,"power":14613,"unknown_96":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":807129525849597952}} 
[2026-08-19 15:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":158889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665376,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:33:42] local.INFO: GPS data processed {"connection_id":158889,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:33:42] local.INFO: Acknowledgment sent {"connection_id":158889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:33:59] local.INFO: TCP Data received {"connection_id":160198,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:33:59] local.INFO: Processing buffer {"connection_id":160198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:33:59] local.INFO: IMEI packet received {"connection_id":160198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":160198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:34:04] local.INFO: TCP Data received {"connection_id":160198,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:34:04] local.INFO: Processing buffer {"connection_id":160198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:34:04] local.INFO: IMEI packet received {"connection_id":160198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":160198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:34:06] local.INFO: TCP Data received {"connection_id":160198,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:34:06] local.INFO: Processing buffer {"connection_id":160198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:34:06] local.INFO: Packet analysis {"connection_id":160198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:34:06] local.INFO: Extracted packet for processing {"connection_id":160198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:34:06] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":44,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506151424001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:34:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787133705000,"timestamp_ms":1787133705000,"timestamp_seconds":1787133705,"priority":1,"record_length":96,"hex_timestamp":"000001a019783b28"} 
[2026-08-19 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-08-19 15:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 15:34:06] 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-08-19 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-08-19 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-08-19 15:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506151424001,"66":25919,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506151424001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:34:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:34:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506151424001,"power":25919,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":160198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:34:06] local.INFO: GPS data processed {"connection_id":160198,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:34:06] local.INFO: Acknowledgment sent {"connection_id":160198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:34:12] local.INFO: TCP Data received {"connection_id":158029,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01977e538012d7a148005ec8028000d001120..."} 
[2026-08-19 15:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01977e538012d7a148005ec8028000d001120..."} 
[2026-08-19 15:34:12] local.INFO: Processing buffer {"connection_id":158029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01977e538012d7a148005ec8028000d001120..."} 
[2026-08-19 15:34:12] local.INFO: Packet analysis {"connection_id":158029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01977"} 
[2026-08-19 15:34:12] local.INFO: Extracted packet for processing {"connection_id":158029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01977"} 
[2026-08-19 15:34:12] local.INFO: GPS Element Parsed {"raw_longitude":762975360,"raw_latitude":99385384,"longitude_deg":76.297536,"latitude_deg":9.9385384,"altitude":13,"angle":17,"satellites":32,"speed":0,"hex_longitude":"2d7a1480","hex_latitude":"05ec8028","is_valid_coordinates":true} 
[2026-08-19 15:34:12] 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-08-19 15:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506222848001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120712843287855104,"note":"Value kept but may cause issues"} 
[2026-08-19 15:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796796735092434944,"note":"Value kept but may cause issues"} 
[2026-08-19 15:34:12] 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-08-19 15:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787133683000,"timestamp_ms":1787133683000,"timestamp_seconds":1787133683,"priority":1,"record_length":96,"hex_timestamp":"000001a01977e538"} 
[2026-08-19 15:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 15:34: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-08-19 15:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:34:12] 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-08-19 15:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506222848001,"66":13015,"100":206,"87":13824,"24":0,"16":120712843287855104,"45":8796796735092434944},"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-08-19 15:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506222848001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:34:12] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 15:34:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120712843287855104,"km_value":120712843287855.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796796735092434944,"description":"Unknown IO ID 45"} 
[2026-08-19 15:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506222848001,"power":13015,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796796735092434944}} 
[2026-08-19 15:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":158029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:34:12] local.INFO: GPS data processed {"connection_id":158029,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:34:12] local.INFO: Acknowledgment sent {"connection_id":158029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:34:13] local.INFO: TCP Data received {"connection_id":158889,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0197a6da8012d0b620007043780000e007e2a..."} 
[2026-08-19 15:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197a6da8012d0b620007043780000e007e2a..."} 
[2026-08-19 15:34:13] local.INFO: Processing buffer {"connection_id":158889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197a6da8012d0b620007043780000e007e2a..."} 
[2026-08-19 15:34:13] local.INFO: Packet analysis {"connection_id":158889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0197a"} 
[2026-08-19 15:34:13] local.INFO: Extracted packet for processing {"connection_id":158889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0197a"} 
[2026-08-19 15:34:13] local.INFO: GPS Element Parsed {"raw_longitude":755720704,"raw_latitude":117716864,"longitude_deg":75.5720704,"latitude_deg":11.7716864,"altitude":14,"angle":126,"satellites":42,"speed":8,"hex_longitude":"2d0b6200","hex_latitude":"07043780","is_valid_coordinates":true} 
[2026-08-19 15:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506265088001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28863666287804416,"note":"Value kept but may cause issues"} 
[2026-08-19 15:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819936637293670400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:34:13] 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-08-19 15:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787133849000,"timestamp_ms":1787133849000,"timestamp_seconds":1787133849,"priority":1,"record_length":96,"hex_timestamp":"000001a0197a6da8"} 
[2026-08-19 15:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-19 15:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506265088001,"66":14559,"96":206,"94":10240,"24":8,"16":28863666287804416,"45":819936637293670400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-19 15:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506265088001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:34:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 15:34:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 15:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28863666287804416,"km_value":28863666287804.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":819936637293670400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506265088001,"power":14559,"unknown_96":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":819936637293670400}} 
[2026-08-19 15:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":158889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665379,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:34:13] local.INFO: GPS data processed {"connection_id":158889,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:34:13] local.INFO: Acknowledgment sent {"connection_id":158889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:34:35] local.INFO: TCP Data received {"connection_id":160199,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:34:35] local.INFO: Processing buffer {"connection_id":160199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:34:35] local.INFO: IMEI packet received {"connection_id":160199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":160199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:34:36] local.INFO: TCP Data received {"connection_id":157649,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157649,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:34:36] local.INFO: Processing buffer {"connection_id":157649,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:34:36] local.INFO: IMEI packet received {"connection_id":157649,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":157649,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:34:38] local.INFO: TCP Data received {"connection_id":160198,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:34:38] local.INFO: Processing buffer {"connection_id":160198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:34:38] local.INFO: Packet analysis {"connection_id":160198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:34:38] local.INFO: Extracted packet for processing {"connection_id":160198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:34:38] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":44,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506151424001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:34:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787133705000,"timestamp_ms":1787133705000,"timestamp_seconds":1787133705,"priority":1,"record_length":96,"hex_timestamp":"000001a019783b28"} 
[2026-08-19 15:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 15:34:38] 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-08-19 15: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-08-19 15:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506151424001,"66":25919,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506151424001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:34:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:34:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506151424001,"power":25919,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":160198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:34:38] local.INFO: GPS data processed {"connection_id":160198,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:34:38] local.INFO: Acknowledgment sent {"connection_id":160198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:34:41] local.INFO: TCP Data received {"connection_id":157649,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157649,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:34:41] local.INFO: Processing buffer {"connection_id":157649,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:34:41] local.INFO: IMEI packet received {"connection_id":157649,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":157649,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:34:42] local.INFO: TCP Data received {"connection_id":157649,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0197a7190012d0b628007043708000e008c29..."} 
[2026-08-19 15:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197a7190012d0b628007043708000e008c29..."} 
[2026-08-19 15:34:42] local.INFO: Processing buffer {"connection_id":157649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197a7190012d0b628007043708000e008c29..."} 
[2026-08-19 15:34:42] local.INFO: Packet analysis {"connection_id":157649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0197a"} 
[2026-08-19 15:34:42] local.INFO: Extracted packet for processing {"connection_id":157649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0197a"} 
[2026-08-19 15:34:42] local.INFO: GPS Element Parsed {"raw_longitude":755720832,"raw_latitude":117716744,"longitude_deg":75.5720832,"latitude_deg":11.7716744,"altitude":14,"angle":140,"satellites":41,"speed":7,"hex_longitude":"2d0b6280","hex_latitude":"07043708","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506265344001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28863679172706304,"note":"Value kept but may cause issues"} 
[2026-08-19 15:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820218112270368768,"note":"Value kept but may cause issues"} 
[2026-08-19 15:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787133850000,"timestamp_ms":1787133850000,"timestamp_seconds":1787133850,"priority":1,"record_length":96,"hex_timestamp":"000001a0197a7190"} 
[2026-08-19 15:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-19 15:34:42] 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-08-19 15: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-08-19 15:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506265344001,"66":14428,"96":206,"94":10240,"24":7,"16":28863679172706304,"45":820218112270368768},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-19 15:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506265344001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:34:42] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 15:34:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 15:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28863679172706304,"km_value":28863679172706.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":820218112270368768,"description":"Unknown IO ID 45"} 
[2026-08-19 15:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506265344001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":820218112270368768}} 
[2026-08-19 15:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":157649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665381,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:34:42] local.INFO: GPS data processed {"connection_id":157649,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:34:42] local.INFO: Acknowledgment sent {"connection_id":157649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:34:59] local.INFO: TCP Data received {"connection_id":157650,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:34:59] local.INFO: Processing buffer {"connection_id":157650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:34:59] local.INFO: IMEI packet received {"connection_id":157650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":157650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:35:04] local.INFO: TCP Data received {"connection_id":157650,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:35:04] local.INFO: Processing buffer {"connection_id":157650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:35:04] local.INFO: IMEI packet received {"connection_id":157650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":157650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:35:05] local.INFO: TCP Data received {"connection_id":157650,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:35:05] local.INFO: Processing buffer {"connection_id":157650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:35:05] local.INFO: Packet analysis {"connection_id":157650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:35:05] local.INFO: Extracted packet for processing {"connection_id":157650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:35:05] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":44,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506151424001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787133705000,"timestamp_ms":1787133705000,"timestamp_seconds":1787133705,"priority":1,"record_length":96,"hex_timestamp":"000001a019783b28"} 
[2026-08-19 15:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 15:35:05] 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-08-19 15:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506151424001,"66":25919,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506151424001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:35:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506151424001,"power":25919,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":157650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:35:05] local.INFO: GPS data processed {"connection_id":157650,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:35:05] local.INFO: Acknowledgment sent {"connection_id":157650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:35:14] local.INFO: TCP Data received {"connection_id":157649,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0197a7578012d0b62c007043690000f009d28..."} 
[2026-08-19 15:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197a7578012d0b62c007043690000f009d28..."} 
[2026-08-19 15:35:14] local.INFO: Processing buffer {"connection_id":157649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197a7578012d0b62c007043690000f009d28..."} 
[2026-08-19 15:35:14] local.INFO: Packet analysis {"connection_id":157649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0197a"} 
[2026-08-19 15:35:14] local.INFO: Extracted packet for processing {"connection_id":157649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0197a"} 
[2026-08-19 15:35:14] local.INFO: GPS Element Parsed {"raw_longitude":755720896,"raw_latitude":117716624,"longitude_deg":75.5720896,"latitude_deg":11.7716624,"altitude":15,"angle":157,"satellites":40,"speed":6,"hex_longitude":"2d0b62c0","hex_latitude":"07043690","is_valid_coordinates":true} 
[2026-08-19 15:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506265600001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28863683467673600,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820358849758693376,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:14] 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-08-19 15:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787133851000,"timestamp_ms":1787133851000,"timestamp_seconds":1787133851,"priority":1,"record_length":96,"hex_timestamp":"000001a0197a7578"} 
[2026-08-19 15:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:35:14] 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-08-19 15:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 15:35: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-08-19 15:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157649,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506265600001,"66":14428,"96":206,"94":10240,"24":6,"16":28863683467673600,"45":820358849758693376},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-19 15:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506265600001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:35:14] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 15:35:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 15:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28863683467673600,"km_value":28863683467673.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":820358849758693376,"description":"Unknown IO ID 45"} 
[2026-08-19 15:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506265600001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":820358849758693376}} 
[2026-08-19 15:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":157649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665383,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:35:15] local.INFO: GPS data processed {"connection_id":157649,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:35:15] local.INFO: Acknowledgment sent {"connection_id":157649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:35:19] local.INFO: TCP Data received {"connection_id":158890,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:35:19] local.INFO: Processing buffer {"connection_id":158890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:35:19] local.INFO: IMEI packet received {"connection_id":158890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":158890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:35:23] local.INFO: TCP Data received {"connection_id":158890,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:35:23] local.INFO: Processing buffer {"connection_id":158890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:35:23] local.INFO: IMEI packet received {"connection_id":158890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":158890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:35:24] local.INFO: TCP Data received {"connection_id":158890,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a01977c9e0012d13bf00071da4f0003400b128..."} 
[2026-08-19 15:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01977c9e0012d13bf00071da4f0003400b128..."} 
[2026-08-19 15:35:24] local.INFO: Processing buffer {"connection_id":158890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01977c9e0012d13bf00071da4f0003400b128..."} 
[2026-08-19 15:35:24] local.INFO: Packet analysis {"connection_id":158890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01977"} 
[2026-08-19 15:35:24] local.INFO: Extracted packet for processing {"connection_id":158890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01977"} 
[2026-08-19 15:35:24] local.INFO: GPS Element Parsed {"raw_longitude":756268800,"raw_latitude":119383280,"longitude_deg":75.62688,"latitude_deg":11.938328,"altitude":52,"angle":177,"satellites":40,"speed":0,"hex_longitude":"2d13bf00","hex_latitude":"071da4f0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506215680001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13808384281149440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422856037834485760,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787133676000,"timestamp_ms":1787133676000,"timestamp_seconds":1787133676,"priority":1,"record_length":96,"hex_timestamp":"000001a01977c9e0"} 
[2026-08-19 15:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:35: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-08-19 15: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 15:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:24] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503810319974400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:24] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:24] local.WARNING: Large IO value detected {"io_id":25,"raw_value":8493137991388346624,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:24] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2778726453,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:24] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6125159380314030336,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1781454242360590312,"corrected_to":0} 
[2026-08-19 15:35:24] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3892391187,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:24] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182203939815680,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:24] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-1368867893508256228,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:24] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2145701340389615906,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:24] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755459570729201,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:24] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195028224,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:24] local.WARNING: Large IO value detected {"io_id":40,"raw_value":84745648985284056,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:24] local.WARNING: Large IO value detected {"io_id":8,"raw_value":11822731276330496,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:24] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,71,28,24,241,158,16,14,160,37,45,164,52,41,10,66,211,38,129,1,240,150,25,29,4,113,205,5,39,190,248,239,50,2,49,7,124,142,69,40,8],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":-1781454242360590312,"validated":0}]} 
[2026-08-19 15:35:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747189679624028160,"timestamp_seconds":3747189679624028.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 15:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506215680001,"66":12798,"71":206,"28":31744,"24":0,"16":13808384281149440,"45":1422856037834485760},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-08-19 15:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506215680001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:35:24] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-19 15:35:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13808384281149440,"km_value":13808384281149.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422856037834485760,"description":"Unknown IO ID 45"} 
[2026-08-19 15:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506215680001,"power":12798,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1422856037834485760}} 
[2026-08-19 15:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":158890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:35:24] local.INFO: GPS data processed {"connection_id":158890,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:35:24] local.INFO: Acknowledgment sent {"connection_id":158890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:35:37] local.INFO: TCP Data received {"connection_id":157650,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:35:37] local.INFO: Processing buffer {"connection_id":157650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:35:37] local.INFO: Packet analysis {"connection_id":157650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:35:37] local.INFO: Extracted packet for processing {"connection_id":157650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:35:37] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":44,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506151424001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787133705000,"timestamp_ms":1787133705000,"timestamp_seconds":1787133705,"priority":1,"record_length":96,"hex_timestamp":"000001a019783b28"} 
[2026-08-19 15:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 15:35:37] 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-08-19 15:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506151424001,"66":25919,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506151424001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:35:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:35:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506151424001,"power":25919,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":157650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:35:37] local.INFO: GPS data processed {"connection_id":157650,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:35:37] local.INFO: Acknowledgment sent {"connection_id":157650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:35:38] local.INFO: TCP Data received {"connection_id":157651,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157651,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:35:38] local.INFO: Processing buffer {"connection_id":157651,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:35:38] local.INFO: IMEI packet received {"connection_id":157651,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":157651,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:35:38] local.INFO: TCP Data received {"connection_id":157651,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157651,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:35:38] local.INFO: Processing buffer {"connection_id":157651,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:35:38] local.INFO: IMEI packet received {"connection_id":157651,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":157651,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:35:40] local.INFO: TCP Data received {"connection_id":157651,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157651,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:35:40] local.INFO: Processing buffer {"connection_id":157651,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:35:40] local.INFO: IMEI packet received {"connection_id":157651,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":157651,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:35:41] local.INFO: TCP Data received {"connection_id":157651,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157651,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:35:41] local.INFO: Processing buffer {"connection_id":157651,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:35:41] local.INFO: IMEI packet received {"connection_id":157651,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":157651,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:35:59] local.INFO: TCP Data received {"connection_id":157652,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:35:59] local.INFO: Processing buffer {"connection_id":157652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:35:59] local.INFO: IMEI packet received {"connection_id":157652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":157652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:36:04] local.INFO: TCP Data received {"connection_id":157652,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:36:04] local.INFO: Processing buffer {"connection_id":157652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:36:04] local.INFO: IMEI packet received {"connection_id":157652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":157652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:36:05] local.INFO: TCP Data received {"connection_id":157652,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:36:05] local.INFO: Processing buffer {"connection_id":157652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:36:05] local.INFO: Packet analysis {"connection_id":157652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:36:05] local.INFO: Extracted packet for processing {"connection_id":157652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:36:05] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":44,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506151424001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:36:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787133705000,"timestamp_ms":1787133705000,"timestamp_seconds":1787133705,"priority":1,"record_length":96,"hex_timestamp":"000001a019783b28"} 
[2026-08-19 15:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 15:36:05] 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-08-19 15:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506151424001,"66":25919,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506151424001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:36:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:36:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506151424001,"power":25919,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":157652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:36:05] local.INFO: GPS data processed {"connection_id":157652,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:36:05] local.INFO: Acknowledgment sent {"connection_id":157652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:36:14] local.INFO: TCP Data received {"connection_id":158891,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:36:14] local.INFO: Processing buffer {"connection_id":158891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:36:14] local.INFO: IMEI packet received {"connection_id":158891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":158891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:36:15] local.INFO: TCP Data received {"connection_id":158891,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:36:15] local.INFO: Processing buffer {"connection_id":158891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:36:15] local.INFO: IMEI packet received {"connection_id":158891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":158891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:36:19] local.INFO: TCP Data received {"connection_id":158891,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:36:19] local.INFO: Processing buffer {"connection_id":158891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:36:19] local.INFO: IMEI packet received {"connection_id":158891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":158891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:36:20] local.INFO: TCP Data received {"connection_id":158891,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0197b5038012d13bf00071da4f0003400b125..."} 
[2026-08-19 15:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197b5038012d13bf00071da4f0003400b125..."} 
[2026-08-19 15:36:20] local.INFO: Processing buffer {"connection_id":158891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197b5038012d13bf00071da4f0003400b125..."} 
[2026-08-19 15:36:20] local.INFO: Packet analysis {"connection_id":158891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0197b"} 
[2026-08-19 15:36:20] local.INFO: Extracted packet for processing {"connection_id":158891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0197b"} 
[2026-08-19 15:36:20] local.INFO: GPS Element Parsed {"raw_longitude":756268800,"raw_latitude":119383280,"longitude_deg":75.62688,"latitude_deg":11.938328,"altitude":52,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d13bf00","hex_latitude":"071da4f0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506274816001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13808384281149440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422856037834485760,"note":"Value kept but may cause issues"} 
[2026-08-19 15:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787133907000,"timestamp_ms":1787133907000,"timestamp_seconds":1787133907,"priority":1,"record_length":96,"hex_timestamp":"000001a0197b5038"} 
[2026-08-19 15:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 15:36:20] 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-08-19 15: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-08-19 15:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506274816001,"66":14157,"74":206,"28":31744,"24":0,"16":13808384281149440,"45":1422856037834485760},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-08-19 15:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506274816001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:36:20] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-19 15:36:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13808384281149440,"km_value":13808384281149.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422856037834485760,"description":"Unknown IO ID 45"} 
[2026-08-19 15:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506274816001,"power":14157,"unknown_74":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1422856037834485760}} 
[2026-08-19 15:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":158891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:36:20] local.INFO: GPS data processed {"connection_id":158891,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:36:20] local.INFO: Acknowledgment sent {"connection_id":158891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:36:37] local.INFO: TCP Data received {"connection_id":157652,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:36:37] local.INFO: Processing buffer {"connection_id":157652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019783b28012ceb0340071a39e8002c013b29..."} 
[2026-08-19 15:36:37] local.INFO: Packet analysis {"connection_id":157652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:36:37] local.INFO: Extracted packet for processing {"connection_id":157652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01978"} 
[2026-08-19 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":44,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506151424001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:36:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787133705000,"timestamp_ms":1787133705000,"timestamp_seconds":1787133705,"priority":1,"record_length":96,"hex_timestamp":"000001a019783b28"} 
[2026-08-19 15:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 15:36:37] 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-08-19 15:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506151424001,"66":25919,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506151424001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:36:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:36:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506151424001,"power":25919,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":157652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:36:37] local.INFO: GPS data processed {"connection_id":157652,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:36:37] local.INFO: Acknowledgment sent {"connection_id":157652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:36:52] local.INFO: TCP Data received {"connection_id":158891,"ip":"117.224.158.208","data_length":795,"data_hex":"000000000000030f8e0a000001a0197b67a8012d13be80071da220003700be29..."} 
[2026-08-19 15:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197b67a8012d13be80071da220003700be29..."} 
[2026-08-19 15:36:52] local.INFO: Processing buffer {"connection_id":158891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197b67a8012d13be80071da220003700be29..."} 
[2026-08-19 15:36:52] local.INFO: Packet analysis {"connection_id":158891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0197b"} 
[2026-08-19 15:36:52] local.INFO: Extracted packet for processing {"connection_id":158891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0197b"} 
[2026-08-19 15:36:52] local.INFO: GPS Element Parsed {"raw_longitude":756268672,"raw_latitude":119382560,"longitude_deg":75.6268672,"latitude_deg":11.938256,"altitude":55,"angle":190,"satellites":41,"speed":10,"hex_longitude":"2d13be80","hex_latitude":"071da220","is_valid_coordinates":true} 
[2026-08-19 15:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506280192001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13808422935855104,"note":"Value kept but may cause issues"} 
[2026-08-19 15:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422856037834485760,"note":"Value kept but may cause issues"} 
[2026-08-19 15:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787133913000,"timestamp_ms":1787133913000,"timestamp_seconds":1787133913,"priority":1,"record_length":96,"hex_timestamp":"000001a0197b67a8"} 
[2026-08-19 15:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:36:52] 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-08-19 15:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 15:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":158891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":158891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":158891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506280192001,"66":14211,"71":206,"28":31744,"24":10,"16":13808422935855104,"45":1422856037834485760},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-08-19 15:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506280192001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:36:52] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-19 15:36:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13808422935855104,"km_value":13808422935855.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422856037834485760,"description":"Unknown IO ID 45"} 
[2026-08-19 15:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506280192001,"power":14211,"unknown_71":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1422856037834485760}} 
[2026-08-19 15:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":158891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:36:52] local.INFO: GPS data processed {"connection_id":158891,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:36:52] local.INFO: Acknowledgment sent {"connection_id":158891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:36:59] local.INFO: TCP Data received {"connection_id":157653,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:36:59] local.INFO: Processing buffer {"connection_id":157653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:36:59] local.INFO: IMEI packet received {"connection_id":157653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":157653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:37:04] local.INFO: TCP Data received {"connection_id":157653,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:37:04] local.INFO: Processing buffer {"connection_id":157653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:37:04] local.INFO: IMEI packet received {"connection_id":157653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":157653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:37:05] local.INFO: TCP Data received {"connection_id":157653,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0197c5208012ceb0340071a39e8002f013b2c..."} 
[2026-08-19 15:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197c5208012ceb0340071a39e8002f013b2c..."} 
[2026-08-19 15:37:05] local.INFO: Processing buffer {"connection_id":157653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197c5208012ceb0340071a39e8002f013b2c..."} 
[2026-08-19 15:37:05] local.INFO: Packet analysis {"connection_id":157653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0197c"} 
[2026-08-19 15:37:05] local.INFO: Extracted packet for processing {"connection_id":157653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0197c"} 
[2026-08-19 15:37:05] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119159272,"longitude_deg":75.3599296,"latitude_deg":11.9159272,"altitude":47,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2ceb0340","hex_latitude":"071a39e8","is_valid_coordinates":true} 
[2026-08-19 15:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506228480001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:37:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787133973000,"timestamp_ms":1787133973000,"timestamp_seconds":1787133973,"priority":1,"record_length":96,"hex_timestamp":"000001a0197c5208"} 
[2026-08-19 15:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 15:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-19 15:37:05] 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-08-19 15:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506228480001,"66":25875,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506228480001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:37:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:37:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506228480001,"power":25875,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":157653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:37:05] local.INFO: GPS data processed {"connection_id":157653,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:37:05] local.INFO: Acknowledgment sent {"connection_id":157653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:37:29] local.INFO: TCP Data received {"connection_id":160201,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:37:29] local.INFO: Processing buffer {"connection_id":160201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:37:29] local.INFO: IMEI packet received {"connection_id":160201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":160201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:37:30] local.INFO: TCP Data received {"connection_id":160201,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:37:30] local.INFO: Processing buffer {"connection_id":160201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:37:30] local.INFO: IMEI packet received {"connection_id":160201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":160201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:37:37] local.INFO: TCP Data received {"connection_id":157653,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0197c61a8012ceb05c0071a3af8002f002a2a..."} 
[2026-08-19 15:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197c61a8012ceb05c0071a3af8002f002a2a..."} 
[2026-08-19 15:37:37] local.INFO: Processing buffer {"connection_id":157653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197c61a8012ceb05c0071a3af8002f002a2a..."} 
[2026-08-19 15:37:37] local.INFO: Packet analysis {"connection_id":157653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0197c"} 
[2026-08-19 15:37:37] local.INFO: Extracted packet for processing {"connection_id":157653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0197c"} 
[2026-08-19 15:37:37] local.INFO: GPS Element Parsed {"raw_longitude":753599936,"raw_latitude":119159544,"longitude_deg":75.3599936,"latitude_deg":11.9159544,"altitude":47,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2ceb05c0","hex_latitude":"071a3af8","is_valid_coordinates":true} 
[2026-08-19 15:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506297088001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988775316029440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:37:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650617403392,"note":"Value kept but may cause issues"} 
[2026-08-19 15:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787133977000,"timestamp_ms":1787133977000,"timestamp_seconds":1787133977,"priority":1,"record_length":96,"hex_timestamp":"000001a0197c61a8"} 
[2026-08-19 15:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 15:37:37] 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-08-19 15:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506297088001,"66":27463,"8":206,"2":54272,"24":0,"16":385988775316029440,"44":-1512294650617403392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506297088001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:37:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988775316029440,"km_value":385988775316029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:37:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650617403392,"description":"Unknown IO ID 44"} 
[2026-08-19 15:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506297088001,"power":27463,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1512294650617403392}} 
[2026-08-19 15:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":157653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:37:37] local.INFO: GPS data processed {"connection_id":157653,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:37:37] local.INFO: Acknowledgment sent {"connection_id":157653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:37:44] local.INFO: TCP Data received {"connection_id":160201,"ip":"117.224.158.208","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:37:44] local.INFO: Processing buffer {"connection_id":160201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:37:44] local.INFO: IMEI packet received {"connection_id":160201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":160201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:37:46] local.INFO: TCP Data received {"connection_id":160201,"ip":"117.224.158.208","data_length":1360,"data_hex":"000000000000030f8e0a000001a0197b9e58012d13b540071d8078003900c629..."} 
[2026-08-19 15:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160201,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a0197b9e58012d13b540071d8078003900c629..."} 
[2026-08-19 15:37:46] local.INFO: Processing buffer {"connection_id":160201,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a0197b9e58012d13b540071d8078003900c629..."} 
[2026-08-19 15:37:46] local.INFO: Packet analysis {"connection_id":160201,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a0197b"} 
[2026-08-19 15:37:46] local.INFO: Extracted packet for processing {"connection_id":160201,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a0197b"} 
[2026-08-19 15:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756266304,"raw_latitude":119373944,"longitude_deg":75.6266304,"latitude_deg":11.9373944,"altitude":57,"angle":198,"satellites":41,"speed":36,"hex_longitude":"2d13b540","hex_latitude":"071d8078","is_valid_coordinates":true} 
[2026-08-19 15:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506281728001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13808856727552000,"note":"Value kept but may cause issues"} 
[2026-08-19 15:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422715300345946112,"note":"Value kept but may cause issues"} 
[2026-08-19 15:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787133927000,"timestamp_ms":1787133927000,"timestamp_seconds":1787133927,"priority":1,"record_length":96,"hex_timestamp":"000001a0197b9e58"} 
[2026-08-19 15:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:37: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-08-19 15:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 15:37:46] 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-08-19 15:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.158.208","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506281728001,"66":14254,"71":206,"28":31744,"24":36,"16":13808856727552000,"45":1422715300345946112},"client_ip":"117.224.158.208","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-08-19 15:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506281728001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:37:47] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-19 15:37:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-19 15:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13808856727552000,"km_value":13808856727552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422715300345946112,"description":"Unknown IO ID 45"} 
[2026-08-19 15:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506281728001,"power":14254,"unknown_71":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1422715300345946112}} 
[2026-08-19 15:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":160201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:37:47] local.INFO: GPS data processed {"connection_id":160201,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:37:47] local.INFO: Acknowledgment sent {"connection_id":160201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:37:47] local.INFO: Packet analysis {"connection_id":160201,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a0197b"} 
[2026-08-19 15:37:47] local.INFO: Incomplete packet, waiting for more data {"connection_id":160201,"needed":795,"available":565} 
[2026-08-19 15:37:59] local.INFO: TCP Data received {"connection_id":157654,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:37:59] local.INFO: Processing buffer {"connection_id":157654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:37:59] local.INFO: IMEI packet received {"connection_id":157654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":157654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:38:00] local.INFO: TCP Data received {"connection_id":157654,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:38:00] local.INFO: Processing buffer {"connection_id":157654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:38:00] local.INFO: IMEI packet received {"connection_id":157654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":157654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:38:04] local.INFO: TCP Data received {"connection_id":157654,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:38:04] local.INFO: Processing buffer {"connection_id":157654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:38:04] local.INFO: IMEI packet received {"connection_id":157654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":157654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:38:05] local.INFO: TCP Data received {"connection_id":157654,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0197d4ff0012ceb0680071a4020002d01312a..."} 
[2026-08-19 15:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197d4ff0012ceb0680071a4020002d01312a..."} 
[2026-08-19 15:38:05] local.INFO: Processing buffer {"connection_id":157654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197d4ff0012ceb0680071a4020002d01312a..."} 
[2026-08-19 15:38:05] local.INFO: Packet analysis {"connection_id":157654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0197d"} 
[2026-08-19 15:38:05] local.INFO: Extracted packet for processing {"connection_id":157654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0197d"} 
[2026-08-19 15:38:05] local.INFO: GPS Element Parsed {"raw_longitude":753600128,"raw_latitude":119160864,"longitude_deg":75.3600128,"latitude_deg":11.9160864,"altitude":45,"angle":305,"satellites":42,"speed":9,"hex_longitude":"2ceb0680","hex_latitude":"071a4020","is_valid_coordinates":true} 
[2026-08-19 15:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506313216001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988865510342656,"note":"Value kept but may cause issues"} 
[2026-08-19 15:38:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966028800,"note":"Value kept but may cause issues"} 
[2026-08-19 15:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787134038000,"timestamp_ms":1787134038000,"timestamp_seconds":1787134038,"priority":1,"record_length":96,"hex_timestamp":"000001a0197d4ff0"} 
[2026-08-19 15:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:38: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-08-19 15:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 15:38:05] 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-08-19 15:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506313216001,"66":27300,"8":206,"2":54272,"24":9,"16":385988865510342656,"44":-1511098381966028800},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506313216001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:38:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988865510342656,"km_value":385988865510342.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:38:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966028800,"description":"Unknown IO ID 44"} 
[2026-08-19 15:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506313216001,"power":27300,"unknown_8":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-1511098381966028800}} 
[2026-08-19 15:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":157654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:38:05] local.INFO: GPS data processed {"connection_id":157654,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:38:05] local.INFO: Acknowledgment sent {"connection_id":157654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:38:37] local.INFO: TCP Data received {"connection_id":157654,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0197d53d8012ceb05c0071a4070002c01192c..."} 
[2026-08-19 15:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197d53d8012ceb05c0071a4070002c01192c..."} 
[2026-08-19 15:38:37] local.INFO: Processing buffer {"connection_id":157654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197d53d8012ceb05c0071a4070002c01192c..."} 
[2026-08-19 15:38:37] local.INFO: Packet analysis {"connection_id":157654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0197d"} 
[2026-08-19 15:38:37] local.INFO: Extracted packet for processing {"connection_id":157654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0197d"} 
[2026-08-19 15:38:37] local.INFO: GPS Element Parsed {"raw_longitude":753599936,"raw_latitude":119160944,"longitude_deg":75.3599936,"latitude_deg":11.9160944,"altitude":44,"angle":281,"satellites":44,"speed":7,"hex_longitude":"2ceb05c0","hex_latitude":"071a4070","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506313728001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988878395244544,"note":"Value kept but may cause issues"} 
[2026-08-19 15:38:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511379856942686208,"note":"Value kept but may cause issues"} 
[2026-08-19 15:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787134039000,"timestamp_ms":1787134039000,"timestamp_seconds":1787134039,"priority":1,"record_length":96,"hex_timestamp":"000001a0197d53d8"} 
[2026-08-19 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-08-19 15:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 15:38:37] 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-08-19 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-08-19 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-08-19 15:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506313728001,"66":27300,"8":206,"2":54272,"24":7,"16":385988878395244544,"44":-1511379856942686208},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506313728001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:38:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988878395244544,"km_value":385988878395244.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:38:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511379856942686208,"description":"Unknown IO ID 44"} 
[2026-08-19 15:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506313728001,"power":27300,"unknown_8":206,"power_alt":54272,"ignition":7,"odometer":null,"unknown_44":-1511379856942686208}} 
[2026-08-19 15:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":157654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:38:37] local.INFO: GPS data processed {"connection_id":157654,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:38:37] local.INFO: Acknowledgment sent {"connection_id":157654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:39:04] local.INFO: TCP Data received {"connection_id":160202,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:39:04] local.INFO: Processing buffer {"connection_id":160202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:39:04] local.INFO: IMEI packet received {"connection_id":160202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":160202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:39:10] local.INFO: TCP Data received {"connection_id":160202,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:39:10] local.INFO: Processing buffer {"connection_id":160202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:39:10] local.INFO: IMEI packet received {"connection_id":160202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":160202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:39:17] local.INFO: TCP Data received {"connection_id":160202,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0197d57c0012ceb04c0071a4098002c01082c..."} 
[2026-08-19 15:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197d57c0012ceb04c0071a4098002c01082c..."} 
[2026-08-19 15:39:17] local.INFO: Processing buffer {"connection_id":160202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197d57c0012ceb04c0071a4098002c01082c..."} 
[2026-08-19 15:39:17] local.INFO: Packet analysis {"connection_id":160202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0197d"} 
[2026-08-19 15:39:17] local.INFO: Extracted packet for processing {"connection_id":160202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0197d"} 
[2026-08-19 15:39:17] local.INFO: GPS Element Parsed {"raw_longitude":753599680,"raw_latitude":119160984,"longitude_deg":75.359968,"latitude_deg":11.9160984,"altitude":44,"angle":264,"satellites":44,"speed":5,"hex_longitude":"2ceb04c0","hex_latitude":"071a4098","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506313984001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988886985179136,"note":"Value kept but may cause issues"} 
[2026-08-19 15:39:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511590963175198720,"note":"Value kept but may cause issues"} 
[2026-08-19 15:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787134040000,"timestamp_ms":1787134040000,"timestamp_seconds":1787134040,"priority":1,"record_length":96,"hex_timestamp":"000001a0197d57c0"} 
[2026-08-19 15:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15: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-08-19 15: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 15:39:17] 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-08-19 15: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-08-19 15:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506313984001,"66":27615,"8":206,"2":54272,"24":5,"16":385988886985179136,"44":-1511590963175198720},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506313984001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:39:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988886985179136,"km_value":385988886985179.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:39:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511590963175198720,"description":"Unknown IO ID 44"} 
[2026-08-19 15:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506313984001,"power":27615,"unknown_8":206,"power_alt":54272,"ignition":5,"odometer":null,"unknown_44":-1511590963175198720}} 
[2026-08-19 15:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":160202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:39:17] local.INFO: GPS data processed {"connection_id":160202,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:39:17] local.INFO: Acknowledgment sent {"connection_id":160202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:39:28] local.INFO: TCP Data received {"connection_id":160202,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0197d5f90012ceb0340071a40d0002b011e2d..."} 
[2026-08-19 15:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197d5f90012ceb0340071a40d0002b011e2d..."} 
[2026-08-19 15:39:28] local.INFO: Processing buffer {"connection_id":160202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197d5f90012ceb0340071a40d0002b011e2d..."} 
[2026-08-19 15:39:28] local.INFO: Packet analysis {"connection_id":160202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0197d"} 
[2026-08-19 15:39:28] local.INFO: Extracted packet for processing {"connection_id":160202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0197d"} 
[2026-08-19 15:39:28] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":119161040,"longitude_deg":75.3599296,"latitude_deg":11.916104,"altitude":43,"angle":286,"satellites":45,"speed":8,"hex_longitude":"2ceb0340","hex_latitude":"071a40d0","is_valid_coordinates":true} 
[2026-08-19 15:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506314240001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385988908460015616,"note":"Value kept but may cause issues"} 
[2026-08-19 15:39:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511872438151899136,"note":"Value kept but may cause issues"} 
[2026-08-19 15:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787134042000,"timestamp_ms":1787134042000,"timestamp_seconds":1787134042,"priority":1,"record_length":96,"hex_timestamp":"000001a0197d5f90"} 
[2026-08-19 15:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:39: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-08-19 15:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-19 15:39:28] 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-08-19 15:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506314240001,"66":27821,"8":206,"2":54272,"24":8,"16":385988908460015616,"44":-1511872438151899136},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506314240001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:39:28] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385988908460015616,"km_value":385988908460015.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:39:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511872438151899136,"description":"Unknown IO ID 44"} 
[2026-08-19 15:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506314240001,"power":27821,"unknown_8":206,"power_alt":54272,"ignition":8,"odometer":null,"unknown_44":-1511872438151899136}} 
[2026-08-19 15:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":160202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:39:28] local.INFO: GPS data processed {"connection_id":160202,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:39:28] local.INFO: Acknowledgment sent {"connection_id":160202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:39:30] local.INFO: TCP Data received {"connection_id":157656,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:39:30] local.INFO: Processing buffer {"connection_id":157656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:39:30] local.INFO: IMEI packet received {"connection_id":157656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":157656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:39:59] local.INFO: TCP Data received {"connection_id":158892,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:39:59] local.INFO: Processing buffer {"connection_id":158892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:39:59] local.INFO: IMEI packet received {"connection_id":158892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":158892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:40:00] local.INFO: TCP Data received {"connection_id":158892,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:40:00] local.INFO: Processing buffer {"connection_id":158892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:40:00] local.INFO: IMEI packet received {"connection_id":158892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":158892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:40:02] local.INFO: TCP Data received {"connection_id":158892,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:40:02] local.INFO: Processing buffer {"connection_id":158892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:40:02] local.INFO: IMEI packet received {"connection_id":158892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":158892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:40:04] local.INFO: TCP Data received {"connection_id":158892,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0197da5e0012ceae080071a4f50002601242d..."} 
[2026-08-19 15:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197da5e0012ceae080071a4f50002601242d..."} 
[2026-08-19 15:40:04] local.INFO: Processing buffer {"connection_id":158892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197da5e0012ceae080071a4f50002601242d..."} 
[2026-08-19 15:40:04] local.INFO: Packet analysis {"connection_id":158892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0197d"} 
[2026-08-19 15:40:04] local.INFO: Extracted packet for processing {"connection_id":158892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0197d"} 
[2026-08-19 15:40:04] local.INFO: GPS Element Parsed {"raw_longitude":753590400,"raw_latitude":119164752,"longitude_deg":75.35904,"latitude_deg":11.9164752,"altitude":38,"angle":292,"satellites":45,"speed":30,"hex_longitude":"2ceae080","hex_latitude":"071a4f50","is_valid_coordinates":true} 
[2026-08-19 15:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506314752001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385989368021516288,"note":"Value kept but may cause issues"} 
[2026-08-19 15:40:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512294650616950784,"note":"Value kept but may cause issues"} 
[2026-08-19 15:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787134060000,"timestamp_ms":1787134060000,"timestamp_seconds":1787134060,"priority":1,"record_length":96,"hex_timestamp":"000001a0197da5e0"} 
[2026-08-19 15:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:40: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-08-19 15:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 15:40:04] 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-08-19 15:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506314752001,"66":27800,"8":206,"2":54272,"24":30,"16":385989368021516288,"44":-1512294650616950784},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506314752001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:40:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385989368021516288,"km_value":385989368021516.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:40:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512294650616950784,"description":"Unknown IO ID 44"} 
[2026-08-19 15:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506314752001,"power":27800,"unknown_8":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-1512294650616950784}} 
[2026-08-19 15:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":158892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:40:04] local.INFO: GPS data processed {"connection_id":158892,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:40:04] local.INFO: Acknowledgment sent {"connection_id":158892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:40:05] local.INFO: TCP Data received {"connection_id":158892,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0197dd4c0012ceabf00071a5c08002301212d..."} 
[2026-08-19 15:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197dd4c0012ceabf00071a5c08002301212d..."} 
[2026-08-19 15:40:05] local.INFO: Processing buffer {"connection_id":158892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197dd4c0012ceabf00071a5c08002301212d..."} 
[2026-08-19 15:40:05] local.INFO: Packet analysis {"connection_id":158892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0197d"} 
[2026-08-19 15:40:05] local.INFO: Extracted packet for processing {"connection_id":158892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0197d"} 
[2026-08-19 15:40:05] local.INFO: GPS Element Parsed {"raw_longitude":753581824,"raw_latitude":119168008,"longitude_deg":75.3581824,"latitude_deg":11.9168008,"altitude":35,"angle":289,"satellites":45,"speed":12,"hex_longitude":"2ceabf00","hex_latitude":"071a5c08","is_valid_coordinates":true} 
[2026-08-19 15:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506319360001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385989801813213184,"note":"Value kept but may cause issues"} 
[2026-08-19 15:40:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1522075906056695808,"note":"Value kept but may cause issues"} 
[2026-08-19 15:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787134072000,"timestamp_ms":1787134072000,"timestamp_seconds":1787134072,"priority":1,"record_length":96,"hex_timestamp":"000001a0197dd4c0"} 
[2026-08-19 15:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:40: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-08-19 15:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 15:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506319360001,"66":27843,"8":206,"2":54272,"24":12,"16":385989801813213184,"44":-1522075906056695808},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 15:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506319360001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:40:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385989801813213184,"km_value":385989801813213.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:40:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1522075906056695808,"description":"Unknown IO ID 44"} 
[2026-08-19 15:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506319360001,"power":27843,"unknown_8":206,"power_alt":54272,"ignition":12,"odometer":null,"unknown_44":-1522075906056695808}} 
[2026-08-19 15:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":158892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:40:05] local.INFO: GPS data processed {"connection_id":158892,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:40:05] local.INFO: Acknowledgment sent {"connection_id":158892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:40:37] local.INFO: TCP Data received {"connection_id":158892,"ip":"117.224.24.81","data_length":93,"data_hex":"00000000000000518e01000001a0197f6330012ce9d600071ae8700023010e2e..."} 
[2026-08-19 15:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158892,"packet_length":93,"packet_hex":"00000000000000518e01000001a0197f6330012ce9d600071ae8700023010e2e..."} 
[2026-08-19 15:40:37] local.INFO: Processing buffer {"connection_id":158892,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0197f6330012ce9d600071ae8700023010e2e..."} 
[2026-08-19 15:40:37] local.INFO: Packet analysis {"connection_id":158892,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0197f"} 
[2026-08-19 15:40:37] local.INFO: Extracted packet for processing {"connection_id":158892,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0197f"} 
[2026-08-19 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":753522176,"raw_latitude":119203952,"longitude_deg":75.3522176,"latitude_deg":11.9203952,"altitude":35,"angle":270,"satellites":46,"speed":5,"hex_longitude":"2ce9d600","hex_latitude":"071ae870","is_valid_coordinates":true} 
[2026-08-19 15: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":93,"current_offset":40} 
[2026-08-19 15:40:37] 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-08-19 15:40:37] 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-08-19 15:40:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:40:37] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-19 15:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158892,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-19 15:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158892,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-19 15:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158892,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-19 15:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-19 15:40:37] local.WARNING: DEBUG: No valid data to process  
[2026-08-19 15:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":158892,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-19 15:40:37] local.ERROR: GPS data processing failed {"connection_id":158892,"error":"No valid data to process"} 
[2026-08-19 15:40:37] local.INFO: Acknowledgment sent {"connection_id":158892,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-19 15:40:43] local.INFO: TCP Data received {"connection_id":158894,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158894,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:40:43] local.INFO: Processing buffer {"connection_id":158894,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:40:43] local.INFO: IMEI packet received {"connection_id":158894,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":158894,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:40:45] local.INFO: TCP Data received {"connection_id":158894,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0197f4fa8012d0b6c8007034bd0001400a127..."} 
[2026-08-19 15:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197f4fa8012d0b6c8007034bd0001400a127..."} 
[2026-08-19 15:40:45] local.INFO: Processing buffer {"connection_id":158894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197f4fa8012d0b6c8007034bd0001400a127..."} 
[2026-08-19 15:40:45] local.INFO: Packet analysis {"connection_id":158894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0197f"} 
[2026-08-19 15:40:45] local.INFO: Extracted packet for processing {"connection_id":158894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0197f"} 
[2026-08-19 15:40:45] local.INFO: GPS Element Parsed {"raw_longitude":755723392,"raw_latitude":117656528,"longitude_deg":75.5723392,"latitude_deg":11.7656528,"altitude":20,"angle":161,"satellites":39,"speed":12,"hex_longitude":"2d0b6c80","hex_latitude":"07034bd0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506347008001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28869112306335744,"note":"Value kept but may cause issues"} 
[2026-08-19 15:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823103230766268416,"note":"Value kept but may cause issues"} 
[2026-08-19 15:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787134169000,"timestamp_ms":1787134169000,"timestamp_seconds":1787134169,"priority":1,"record_length":96,"hex_timestamp":"000001a0197f4fa8"} 
[2026-08-19 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-08-19 15:40: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-08-19 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-19 15:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 15:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158894,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158894,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506347008001,"66":14439,"17":206,"94":11008,"24":12,"16":28869112306335744,"45":823103230766268416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506347008001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:40:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28869112306335744,"km_value":28869112306335.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":823103230766268416,"description":"Unknown IO ID 45"} 
[2026-08-19 15:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506347008001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":823103230766268416}} 
[2026-08-19 15:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":158894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665399,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:40:45] local.INFO: GPS data processed {"connection_id":158894,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:40:45] local.INFO: Acknowledgment sent {"connection_id":158894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:41:04] local.INFO: TCP Data received {"connection_id":157658,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:04] local.INFO: Processing buffer {"connection_id":157658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:04] local.INFO: IMEI packet received {"connection_id":157658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":157658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:41:05] local.INFO: TCP Data received {"connection_id":157658,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:05] local.INFO: Processing buffer {"connection_id":157658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:05] local.INFO: IMEI packet received {"connection_id":157658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":157658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:41:06] local.INFO: TCP Data received {"connection_id":157658,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:06] local.INFO: Processing buffer {"connection_id":157658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:06] local.INFO: IMEI packet received {"connection_id":157658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":157658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:41:09] local.INFO: TCP Data received {"connection_id":157658,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:09] local.INFO: Processing buffer {"connection_id":157658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:09] local.INFO: IMEI packet received {"connection_id":157658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":157658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:41:13] local.INFO: TCP Data received {"connection_id":157658,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0197fb538012ce9d240071ae490002000cc2e..."} 
[2026-08-19 15:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197fb538012ce9d240071ae490002000cc2e..."} 
[2026-08-19 15:41:13] local.INFO: Processing buffer {"connection_id":157658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197fb538012ce9d240071ae490002000cc2e..."} 
[2026-08-19 15:41:13] local.INFO: Packet analysis {"connection_id":157658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0197f"} 
[2026-08-19 15:41:13] local.INFO: Extracted packet for processing {"connection_id":157658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0197f"} 
[2026-08-19 15:41:13] local.INFO: GPS Element Parsed {"raw_longitude":753521216,"raw_latitude":119202960,"longitude_deg":75.3521216,"latitude_deg":11.920296,"altitude":32,"angle":204,"satellites":46,"speed":5,"hex_longitude":"2ce9d240","hex_latitude":"071ae490","is_valid_coordinates":true} 
[2026-08-19 15:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506348544001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385993353751166976,"note":"Value kept but may cause issues"} 
[2026-08-19 15:41:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1597088987340050432,"note":"Value kept but may cause issues"} 
[2026-08-19 15:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787134195000,"timestamp_ms":1787134195000,"timestamp_seconds":1787134195,"priority":1,"record_length":96,"hex_timestamp":"000001a0197fb538"} 
[2026-08-19 15:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:41:13] 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-08-19 15:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 15:41:13] 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-08-19 15:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506348544001,"66":27930,"10":206,"2":54272,"24":5,"16":385993353751166976,"44":-1597088987340050432},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 15:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506348544001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:41:13] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385993353751166976,"km_value":385993353751167.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:41:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1597088987340050432,"description":"Unknown IO ID 44"} 
[2026-08-19 15:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506348544001,"power":27930,"unknown_10":206,"power_alt":54272,"ignition":5,"odometer":null,"unknown_44":-1597088987340050432}} 
[2026-08-19 15:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":157658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:41:13] local.INFO: GPS data processed {"connection_id":157658,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:41:13] local.INFO: Acknowledgment sent {"connection_id":157658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:41:16] local.INFO: TCP Data received {"connection_id":158894,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0198070b8012d0b86c007035148001500552b..."} 
[2026-08-19 15:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198070b8012d0b86c007035148001500552b..."} 
[2026-08-19 15:41:16] local.INFO: Processing buffer {"connection_id":158894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198070b8012d0b86c007035148001500552b..."} 
[2026-08-19 15:41:16] local.INFO: Packet analysis {"connection_id":158894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01980"} 
[2026-08-19 15:41:16] local.INFO: Extracted packet for processing {"connection_id":158894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01980"} 
[2026-08-19 15:41:16] local.INFO: GPS Element Parsed {"raw_longitude":755730112,"raw_latitude":117657928,"longitude_deg":75.5730112,"latitude_deg":11.7657928,"altitude":21,"angle":85,"satellites":43,"speed":13,"hex_longitude":"2d0b86c0","hex_latitude":"07035148","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506365952001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28869606227574784,"note":"Value kept but may cause issues"} 
[2026-08-19 15:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830280842672676864,"note":"Value kept but may cause issues"} 
[2026-08-19 15:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787134243000,"timestamp_ms":1787134243000,"timestamp_seconds":1787134243,"priority":1,"record_length":96,"hex_timestamp":"000001a0198070b8"} 
[2026-08-19 15:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:41: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-08-19 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 15:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158894,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158894,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506365952001,"66":14439,"17":206,"94":11008,"24":13,"16":28869606227574784,"45":830280842672676864},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506365952001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:41:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28869606227574784,"km_value":28869606227574.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":830280842672676864,"description":"Unknown IO ID 45"} 
[2026-08-19 15:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506365952001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":830280842672676864}} 
[2026-08-19 15:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":158894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665401,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:41:16] local.INFO: GPS data processed {"connection_id":158894,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:41:16] local.INFO: Acknowledgment sent {"connection_id":158894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:41:17] local.INFO: TCP Data received {"connection_id":157658,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0197fb538012ce9d240071ae490002000cc2e..."} 
[2026-08-19 15:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0197fb538012ce9d240071ae490002000cc2e..."} 
[2026-08-19 15:41:17] local.INFO: Processing buffer {"connection_id":157658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0197fb538012ce9d240071ae490002000cc2e..."} 
[2026-08-19 15:41:17] local.INFO: Packet analysis {"connection_id":157658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0197f"} 
[2026-08-19 15:41:17] local.INFO: Extracted packet for processing {"connection_id":157658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0197f"} 
[2026-08-19 15:41:17] local.INFO: GPS Element Parsed {"raw_longitude":753521216,"raw_latitude":119202960,"longitude_deg":75.3521216,"latitude_deg":11.920296,"altitude":32,"angle":204,"satellites":46,"speed":5,"hex_longitude":"2ce9d240","hex_latitude":"071ae490","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506353920001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":385993353751166976,"note":"Value kept but may cause issues"} 
[2026-08-19 15:41:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1598144518502969344,"note":"Value kept but may cause issues"} 
[2026-08-19 15:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787134195000,"timestamp_ms":1787134195000,"timestamp_seconds":1787134195,"priority":1,"record_length":96,"hex_timestamp":"000001a0197fb538"} 
[2026-08-19 15:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 15:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506353920001,"66":27930,"10":206,"2":54272,"24":5,"16":385993353751166976,"44":-1598144518502969344},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 15:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506353920001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:41:17] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":385993353751166976,"km_value":385993353751167.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:41:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1598144518502969344,"description":"Unknown IO ID 44"} 
[2026-08-19 15:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506353920001,"power":27930,"unknown_10":206,"power_alt":54272,"ignition":5,"odometer":null,"unknown_44":-1598144518502969344}} 
[2026-08-19 15:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":157658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:41:17] local.INFO: GPS data processed {"connection_id":157658,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:41:17] local.INFO: Acknowledgment sent {"connection_id":157658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:41:42] local.INFO: TCP Data received {"connection_id":160204,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160204,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:41:42] local.INFO: Processing buffer {"connection_id":160204,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:41:42] local.INFO: IMEI packet received {"connection_id":160204,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":160204,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:41:43] local.INFO: TCP Data received {"connection_id":160204,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160204,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:41:43] local.INFO: Processing buffer {"connection_id":160204,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:41:43] local.INFO: IMEI packet received {"connection_id":160204,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":160204,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:41:46] local.INFO: TCP Data received {"connection_id":160204,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160204,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:41:46] local.INFO: Processing buffer {"connection_id":160204,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:41:46] local.INFO: IMEI packet received {"connection_id":160204,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":160204,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:41:47] local.INFO: TCP Data received {"connection_id":160204,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a019807888012d0b8a0007035120001600612b..."} 
[2026-08-19 15:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019807888012d0b8a0007035120001600612b..."} 
[2026-08-19 15:41:47] local.INFO: Processing buffer {"connection_id":160204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019807888012d0b8a0007035120001600612b..."} 
[2026-08-19 15:41:47] local.INFO: Packet analysis {"connection_id":160204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01980"} 
[2026-08-19 15:41:47] local.INFO: Extracted packet for processing {"connection_id":160204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01980"} 
[2026-08-19 15:41:47] local.INFO: GPS Element Parsed {"raw_longitude":755730944,"raw_latitude":117657888,"longitude_deg":75.5730944,"latitude_deg":11.7657888,"altitude":22,"angle":97,"satellites":43,"speed":15,"hex_longitude":"2d0b8a00","hex_latitude":"07035120","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506366208001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28869644882280448,"note":"Value kept but may cause issues"} 
[2026-08-19 15:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830562317649397760,"note":"Value kept but may cause issues"} 
[2026-08-19 15:41:47] 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-08-19 15:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787134245000,"timestamp_ms":1787134245000,"timestamp_seconds":1787134245,"priority":1,"record_length":96,"hex_timestamp":"000001a019807888"} 
[2026-08-19 15:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:41: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-08-19 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 15:41:47] 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-08-19 15: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-08-19 15:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160204,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160204,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506366208001,"66":14254,"17":206,"94":11008,"24":15,"16":28869644882280448,"45":830562317649397760},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506366208001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:41:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28869644882280448,"km_value":28869644882280.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":830562317649397760,"description":"Unknown IO ID 45"} 
[2026-08-19 15:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506366208001,"power":14254,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":830562317649397760}} 
[2026-08-19 15:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":160204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665403,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:41:47] local.INFO: GPS data processed {"connection_id":160204,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:41:47] local.INFO: Acknowledgment sent {"connection_id":160204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:41:57] local.INFO: TCP Data received {"connection_id":158031,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:57] local.INFO: Processing buffer {"connection_id":158031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:57] local.INFO: IMEI packet received {"connection_id":158031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":158031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:41:58] local.INFO: TCP Data received {"connection_id":158031,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:58] local.INFO: Processing buffer {"connection_id":158031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:58] local.INFO: IMEI packet received {"connection_id":158031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":158031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:41:59] local.INFO: TCP Data received {"connection_id":158031,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:59] local.INFO: Processing buffer {"connection_id":158031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:59] local.INFO: IMEI packet received {"connection_id":158031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":158031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:41:59] local.INFO: TCP Data received {"connection_id":158031,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:59] local.INFO: Processing buffer {"connection_id":158031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:41:59] local.INFO: IMEI packet received {"connection_id":158031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":158031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:42:03] local.INFO: TCP Data received {"connection_id":158895,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:42:03] local.INFO: Processing buffer {"connection_id":158895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:42:03] local.INFO: IMEI packet received {"connection_id":158895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":158895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:42:09] local.INFO: TCP Data received {"connection_id":158895,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:42:09] local.INFO: Processing buffer {"connection_id":158895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:42:09] local.INFO: IMEI packet received {"connection_id":158895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":158895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:42:09] local.INFO: TCP Data received {"connection_id":158895,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01980f1a0012d110a0007198e98004c00db26..."} 
[2026-08-19 15:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01980f1a0012d110a0007198e98004c00db26..."} 
[2026-08-19 15:42:09] local.INFO: Processing buffer {"connection_id":158895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01980f1a0012d110a0007198e98004c00db26..."} 
[2026-08-19 15:42:09] local.INFO: Packet analysis {"connection_id":158895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01980"} 
[2026-08-19 15:42:09] local.INFO: Extracted packet for processing {"connection_id":158895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01980"} 
[2026-08-19 15:42:09] local.INFO: GPS Element Parsed {"raw_longitude":756091392,"raw_latitude":119115416,"longitude_deg":75.6091392,"latitude_deg":11.9115416,"altitude":76,"angle":219,"satellites":38,"speed":32,"hex_longitude":"2d110a00","hex_latitude":"07198e98","is_valid_coordinates":true} 
[2026-08-19 15:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506374144001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13825091703930880,"note":"Value kept but may cause issues"} 
[2026-08-19 15:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1228990147556718592,"note":"Value kept but may cause issues"} 
[2026-08-19 15:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787134276000,"timestamp_ms":1787134276000,"timestamp_seconds":1787134276,"priority":1,"record_length":96,"hex_timestamp":"000001a01980f1a0"} 
[2026-08-19 15:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:42:09] 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-08-19 15:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-19 15:42: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-08-19 15:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":158895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":158895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":158895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506374144001,"66":13917,"23":206,"83":41984,"24":32,"16":13825091703930880,"45":1228990147556718592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506374144001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:42:09] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:42:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13825091703930880,"km_value":13825091703930.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1228990147556718592,"description":"Unknown IO ID 45"} 
[2026-08-19 15:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506374144001,"power":13917,"unknown_23":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1228990147556718592}} 
[2026-08-19 15:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":158895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:42:09] local.INFO: GPS data processed {"connection_id":158895,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:42:09] local.INFO: Acknowledgment sent {"connection_id":158895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:42:22] local.INFO: TCP Data received {"connection_id":160204,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01980c6a8012d0b97c007035090001800592b..."} 
[2026-08-19 15:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01980c6a8012d0b97c007035090001800592b..."} 
[2026-08-19 15:42:22] local.INFO: Processing buffer {"connection_id":160204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01980c6a8012d0b97c007035090001800592b..."} 
[2026-08-19 15:42:22] local.INFO: Packet analysis {"connection_id":160204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01980"} 
[2026-08-19 15:42:22] local.INFO: Extracted packet for processing {"connection_id":160204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01980"} 
[2026-08-19 15:42:22] local.INFO: GPS Element Parsed {"raw_longitude":755734464,"raw_latitude":117657744,"longitude_deg":75.5734464,"latitude_deg":11.7657744,"altitude":24,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d0b97c0","hex_latitude":"07035090","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506366720001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28869812386004992,"note":"Value kept but may cause issues"} 
[2026-08-19 15:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":831477111323697152,"note":"Value kept but may cause issues"} 
[2026-08-19 15:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787134265000,"timestamp_ms":1787134265000,"timestamp_seconds":1787134265,"priority":1,"record_length":96,"hex_timestamp":"000001a01980c6a8"} 
[2026-08-19 15:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:42: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-08-19 15:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 15:42:22] 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-08-19 15: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-08-19 15:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160204,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160204,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506366720001,"66":14439,"17":206,"94":11008,"24":0,"16":28869812386004992,"45":831477111323697152},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506366720001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:42:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28869812386004992,"km_value":28869812386004.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":831477111323697152,"description":"Unknown IO ID 45"} 
[2026-08-19 15:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506366720001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":831477111323697152}} 
[2026-08-19 15:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":160204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665405,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:42:22] local.INFO: GPS data processed {"connection_id":160204,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:42:22] local.INFO: Acknowledgment sent {"connection_id":160204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:42:36] local.INFO: TCP Data received {"connection_id":158032,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158032,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:42:36] local.INFO: Processing buffer {"connection_id":158032,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:42:36] local.INFO: IMEI packet received {"connection_id":158032,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":158032,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:42:37] local.INFO: TCP Data received {"connection_id":158032,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158032,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:42:37] local.INFO: Processing buffer {"connection_id":158032,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:42:37] local.INFO: IMEI packet received {"connection_id":158032,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":158032,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:42:38] local.INFO: TCP Data received {"connection_id":158032,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158032,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:42:38] local.INFO: Processing buffer {"connection_id":158032,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:42:38] local.INFO: IMEI packet received {"connection_id":158032,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":158032,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:42:41] local.INFO: TCP Data received {"connection_id":158895,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01980f970012d110680071988b8004b00cb27..."} 
[2026-08-19 15:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01980f970012d110680071988b8004b00cb27..."} 
[2026-08-19 15:42:41] local.INFO: Processing buffer {"connection_id":158895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01980f970012d110680071988b8004b00cb27..."} 
[2026-08-19 15:42:41] local.INFO: Packet analysis {"connection_id":158895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01980"} 
[2026-08-19 15:42:41] local.INFO: Extracted packet for processing {"connection_id":158895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01980"} 
[2026-08-19 15:42:41] local.INFO: GPS Element Parsed {"raw_longitude":756090496,"raw_latitude":119113912,"longitude_deg":75.6090496,"latitude_deg":11.9113912,"altitude":75,"angle":203,"satellites":39,"speed":35,"hex_longitude":"2d110680","hex_latitude":"071988b8","is_valid_coordinates":true} 
[2026-08-19 15:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506374656001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13825177603276800,"note":"Value kept but may cause issues"} 
[2026-08-19 15:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1227793878905427968,"note":"Value kept but may cause issues"} 
[2026-08-19 15:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787134278000,"timestamp_ms":1787134278000,"timestamp_seconds":1787134278,"priority":1,"record_length":96,"hex_timestamp":"000001a01980f970"} 
[2026-08-19 15:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:42:41] 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-08-19 15:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-19 15:42:41] 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-08-19 15:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506374656001,"66":13928,"23":206,"83":41984,"24":35,"16":13825177603276800,"45":1227793878905427968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506374656001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:42:41] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:42:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13825177603276800,"km_value":13825177603276.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1227793878905427968,"description":"Unknown IO ID 45"} 
[2026-08-19 15:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506374656001,"power":13928,"unknown_23":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1227793878905427968}} 
[2026-08-19 15:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":158895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:42:41] local.INFO: GPS data processed {"connection_id":158895,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:42:41] local.INFO: Acknowledgment sent {"connection_id":158895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:42:41] local.INFO: TCP Data received {"connection_id":158032,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158032,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:42:41] local.INFO: Processing buffer {"connection_id":158032,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:42:41] local.INFO: IMEI packet received {"connection_id":158032,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":158032,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:42:42] local.INFO: TCP Data received {"connection_id":158032,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01981fb40012d0c0040070358780015008828..."} 
[2026-08-19 15:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01981fb40012d0c0040070358780015008828..."} 
[2026-08-19 15:42:42] local.INFO: Processing buffer {"connection_id":158032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01981fb40012d0c0040070358780015008828..."} 
[2026-08-19 15:42:42] local.INFO: Packet analysis {"connection_id":158032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01981"} 
[2026-08-19 15:42:42] local.INFO: Extracted packet for processing {"connection_id":158032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01981"} 
[2026-08-19 15:42:42] local.INFO: GPS Element Parsed {"raw_longitude":755761216,"raw_latitude":117659768,"longitude_deg":75.5761216,"latitude_deg":11.7659768,"altitude":21,"angle":136,"satellites":40,"speed":9,"hex_longitude":"2d0c0040","hex_latitude":"07035878","is_valid_coordinates":true} 
[2026-08-19 15:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506391552001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28871148120834048,"note":"Value kept but may cause issues"} 
[2026-08-19 15:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":864409683599376384,"note":"Value kept but may cause issues"} 
[2026-08-19 15:42: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-08-19 15:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787134344000,"timestamp_ms":1787134344000,"timestamp_seconds":1787134344,"priority":1,"record_length":96,"hex_timestamp":"000001a01981fb40"} 
[2026-08-19 15:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:42: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-08-19 15:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-19 15:42:42] 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-08-19 15:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506391552001,"66":14439,"17":206,"94":11008,"24":9,"16":28871148120834048,"45":864409683599376384},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 15:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506391552001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:42:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28871148120834048,"km_value":28871148120834.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":864409683599376384,"description":"Unknown IO ID 45"} 
[2026-08-19 15:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506391552001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":864409683599376384}} 
[2026-08-19 15:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":158032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665407,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:42:42] local.INFO: GPS data processed {"connection_id":158032,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:42:42] local.INFO: Acknowledgment sent {"connection_id":158032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:43:08] local.INFO: TCP Data received {"connection_id":160205,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:43:08] local.INFO: Processing buffer {"connection_id":160205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:43:08] local.INFO: IMEI packet received {"connection_id":160205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":160205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:43:13] local.INFO: TCP Data received {"connection_id":158032,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a019829780012d0c1d40070351e0001600332b..."} 
[2026-08-19 15:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019829780012d0c1d40070351e0001600332b..."} 
[2026-08-19 15:43:13] local.INFO: Processing buffer {"connection_id":158032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019829780012d0c1d40070351e0001600332b..."} 
[2026-08-19 15:43:13] local.INFO: Packet analysis {"connection_id":158032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:43:13] local.INFO: Extracted packet for processing {"connection_id":158032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:43:13] local.INFO: GPS Element Parsed {"raw_longitude":755768640,"raw_latitude":117658080,"longitude_deg":75.576864,"latitude_deg":11.765808,"altitude":22,"angle":51,"satellites":43,"speed":14,"hex_longitude":"2d0c1d40","hex_latitude":"070351e0","is_valid_coordinates":true} 
[2026-08-19 15:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506402048001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28871904035078144,"note":"Value kept but may cause issues"} 
[2026-08-19 15:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872642826667624448,"note":"Value kept but may cause issues"} 
[2026-08-19 15:43: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-08-19 15:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787134384000,"timestamp_ms":1787134384000,"timestamp_seconds":1787134384,"priority":1,"record_length":96,"hex_timestamp":"000001a019829780"} 
[2026-08-19 15:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:43:13] 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-08-19 15:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 15:43: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-08-19 15:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158032,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506402048001,"66":14439,"37":206,"94":11008,"24":14,"16":28871904035078144,"45":872642826667624448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 15:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506402048001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:43:13] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 15:43:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28871904035078144,"km_value":28871904035078.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":872642826667624448,"description":"Unknown IO ID 45"} 
[2026-08-19 15:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506402048001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":872642826667624448}} 
[2026-08-19 15:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":158032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665408,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:43:13] local.INFO: GPS data processed {"connection_id":158032,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:43:13] local.INFO: Acknowledgment sent {"connection_id":158032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:43:13] local.INFO: TCP Data received {"connection_id":160205,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:43:13] local.INFO: Processing buffer {"connection_id":160205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:43:13] local.INFO: IMEI packet received {"connection_id":160205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":160205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:43:14] local.INFO: TCP Data received {"connection_id":160205,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019810140012d110440071981d8004b00c029..."} 
[2026-08-19 15:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019810140012d110440071981d8004b00c029..."} 
[2026-08-19 15:43:14] local.INFO: Processing buffer {"connection_id":160205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019810140012d110440071981d8004b00c029..."} 
[2026-08-19 15:43:14] local.INFO: Packet analysis {"connection_id":160205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01981"} 
[2026-08-19 15:43:14] local.INFO: Extracted packet for processing {"connection_id":160205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01981"} 
[2026-08-19 15:43:14] local.INFO: GPS Element Parsed {"raw_longitude":756089920,"raw_latitude":119112152,"longitude_deg":75.608992,"latitude_deg":11.9112152,"altitude":75,"angle":192,"satellites":41,"speed":37,"hex_longitude":"2d110440","hex_latitude":"071981d8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506375168001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13825263502622720,"note":"Value kept but may cause issues"} 
[2026-08-19 15:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1226808716486555648,"note":"Value kept but may cause issues"} 
[2026-08-19 15:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787134280000,"timestamp_ms":1787134280000,"timestamp_seconds":1787134280,"priority":1,"record_length":96,"hex_timestamp":"000001a019810140"} 
[2026-08-19 15:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 15:43:14] 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-08-19 15: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-08-19 15:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506375168001,"66":13928,"23":206,"83":41984,"24":37,"16":13825263502622720,"45":1226808716486555648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506375168001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:43:14] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:43:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13825263502622720,"km_value":13825263502622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1226808716486555648,"description":"Unknown IO ID 45"} 
[2026-08-19 15:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506375168001,"power":13928,"unknown_23":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1226808716486555648}} 
[2026-08-19 15:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":160205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:43:15] local.INFO: GPS data processed {"connection_id":160205,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:43:15] local.INFO: Acknowledgment sent {"connection_id":160205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:43:41] local.INFO: TCP Data received {"connection_id":157662,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157662,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:43:41] local.INFO: Processing buffer {"connection_id":157662,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:43:41] local.INFO: IMEI packet received {"connection_id":157662,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":157662,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:43:41] local.INFO: TCP Data received {"connection_id":157662,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157662,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:43:41] local.INFO: Processing buffer {"connection_id":157662,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:43:41] local.INFO: IMEI packet received {"connection_id":157662,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":157662,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:43:46] local.INFO: TCP Data received {"connection_id":160205,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0198260d0012d107ec0071940b8004f015928..."} 
[2026-08-19 15:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198260d0012d107ec0071940b8004f015928..."} 
[2026-08-19 15:43:46] local.INFO: Processing buffer {"connection_id":160205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198260d0012d107ec0071940b8004f015928..."} 
[2026-08-19 15:43:46] local.INFO: Packet analysis {"connection_id":160205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:43:46] local.INFO: Extracted packet for processing {"connection_id":160205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756055744,"raw_latitude":119095480,"longitude_deg":75.6055744,"latitude_deg":11.909548,"altitude":79,"angle":345,"satellites":40,"speed":4,"hex_longitude":"2d107ec0","hex_latitude":"071940b8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506397952001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13827492590649344,"note":"Value kept but may cause issues"} 
[2026-08-19 15:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1188879963369953280,"note":"Value kept but may cause issues"} 
[2026-08-19 15:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787134370000,"timestamp_ms":1787134370000,"timestamp_seconds":1787134370,"priority":1,"record_length":96,"hex_timestamp":"000001a0198260d0"} 
[2026-08-19 15:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:43: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-08-19 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 15:43:46] 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-08-19 15: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-08-19 15:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506397952001,"66":14004,"23":206,"83":41984,"24":4,"16":13827492590649344,"45":1188879963369953280},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506397952001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:43:46] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13827492590649344,"km_value":13827492590649.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1188879963369953280,"description":"Unknown IO ID 45"} 
[2026-08-19 15:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506397952001,"power":14004,"unknown_23":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1188879963369953280}} 
[2026-08-19 15:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":160205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:43:46] local.INFO: GPS data processed {"connection_id":160205,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:43:46] local.INFO: Acknowledgment sent {"connection_id":160205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:43:46] local.INFO: TCP Data received {"connection_id":157662,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157662,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:43:46] local.INFO: Processing buffer {"connection_id":157662,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:43:46] local.INFO: IMEI packet received {"connection_id":157662,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":157662,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:43:47] local.INFO: TCP Data received {"connection_id":157662,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a019829b68012d0c1ec0070352980016003f2c..."} 
[2026-08-19 15:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019829b68012d0c1ec0070352980016003f2c..."} 
[2026-08-19 15:43:47] local.INFO: Processing buffer {"connection_id":157662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019829b68012d0c1ec0070352980016003f2c..."} 
[2026-08-19 15:43:47] local.INFO: Packet analysis {"connection_id":157662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:43:47] local.INFO: Extracted packet for processing {"connection_id":157662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:43:47] local.INFO: GPS Element Parsed {"raw_longitude":755769024,"raw_latitude":117658264,"longitude_deg":75.5769024,"latitude_deg":11.7658264,"altitude":22,"angle":63,"satellites":44,"speed":16,"hex_longitude":"2d0c1ec0","hex_latitude":"07035298","is_valid_coordinates":true} 
[2026-08-19 15:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506402304001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28871921214947328,"note":"Value kept but may cause issues"} 
[2026-08-19 15:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872924301644390400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:43:47] 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-08-19 15:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787134385000,"timestamp_ms":1787134385000,"timestamp_seconds":1787134385,"priority":1,"record_length":96,"hex_timestamp":"000001a019829b68"} 
[2026-08-19 15:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:43: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-08-19 15:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 15:43:47] 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-08-19 15:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157662,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157662,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506402304001,"66":14537,"37":206,"94":11008,"24":16,"16":28871921214947328,"45":872924301644390400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 15:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506402304001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:43:47] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 15:43:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28871921214947328,"km_value":28871921214947.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":872924301644390400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506402304001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":872924301644390400}} 
[2026-08-19 15:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":157662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665411,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:43:47] local.INFO: GPS data processed {"connection_id":157662,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:43:47] local.INFO: Acknowledgment sent {"connection_id":157662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:43:52] local.INFO: TCP Data received {"connection_id":157662,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a01982aef0012d0c27c0070356280017004a2c..."} 
[2026-08-19 15:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01982aef0012d0c27c0070356280017004a2c..."} 
[2026-08-19 15:43:52] local.INFO: Processing buffer {"connection_id":157662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01982aef0012d0c27c0070356280017004a2c..."} 
[2026-08-19 15:43:52] local.INFO: Packet analysis {"connection_id":157662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:43:52] local.INFO: Extracted packet for processing {"connection_id":157662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:43:52] local.INFO: GPS Element Parsed {"raw_longitude":755771328,"raw_latitude":117659176,"longitude_deg":75.5771328,"latitude_deg":11.7659176,"altitude":23,"angle":74,"satellites":44,"speed":19,"hex_longitude":"2d0c27c0","hex_latitude":"07035628","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506402560001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28872041474031616,"note":"Value kept but may cause issues"} 
[2026-08-19 15:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873346514109503488,"note":"Value kept but may cause issues"} 
[2026-08-19 15:43: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-08-19 15:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787134390000,"timestamp_ms":1787134390000,"timestamp_seconds":1787134390,"priority":1,"record_length":96,"hex_timestamp":"000001a01982aef0"} 
[2026-08-19 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-08-19 15:43: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-08-19 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":201,"data_length":795,"current_offset":136} 
[2026-08-19 15:43:52] 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-08-19 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-08-19 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-08-19 15:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":157662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":157662,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":157662,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506402560001,"66":14439,"37":206,"94":11008,"24":19,"16":28872041474031616,"45":873346514109503488},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-19 15:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506402560001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:43:52] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-19 15:43:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28872041474031616,"km_value":28872041474031.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":873346514109503488,"description":"Unknown IO ID 45"} 
[2026-08-19 15:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506402560001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":873346514109503488}} 
[2026-08-19 15:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":157662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665412,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:43:52] local.INFO: GPS data processed {"connection_id":157662,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:43:52] local.INFO: Acknowledgment sent {"connection_id":157662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:44:08] local.INFO: TCP Data received {"connection_id":160207,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:44:08] local.INFO: Processing buffer {"connection_id":160207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:44:08] local.INFO: IMEI packet received {"connection_id":160207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":160207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:44:09] local.INFO: TCP Data received {"connection_id":160207,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:44:09] local.INFO: Processing buffer {"connection_id":160207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:44:09] local.INFO: IMEI packet received {"connection_id":160207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":160207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:44:13] local.INFO: TCP Data received {"connection_id":160207,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:44:13] local.INFO: Processing buffer {"connection_id":160207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:44:13] local.INFO: IMEI packet received {"connection_id":160207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":160207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:44:14] local.INFO: TCP Data received {"connection_id":160207,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0198264b8012d107ec0071940f8004f014127..."} 
[2026-08-19 15:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198264b8012d107ec0071940f8004f014127..."} 
[2026-08-19 15:44:14] local.INFO: Processing buffer {"connection_id":160207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198264b8012d107ec0071940f8004f014127..."} 
[2026-08-19 15:44:14] local.INFO: Packet analysis {"connection_id":160207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:44:14] local.INFO: Extracted packet for processing {"connection_id":160207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:44:14] local.INFO: GPS Element Parsed {"raw_longitude":756055744,"raw_latitude":119095544,"longitude_deg":75.6055744,"latitude_deg":11.9095544,"altitude":79,"angle":321,"satellites":39,"speed":0,"hex_longitude":"2d107ec0","hex_latitude":"071940f8","is_valid_coordinates":true} 
[2026-08-19 15:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506398720001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13827496885616640,"note":"Value kept but may cause issues"} 
[2026-08-19 15:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1188598488393365504,"note":"Value kept but may cause issues"} 
[2026-08-19 15:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787134371000,"timestamp_ms":1787134371000,"timestamp_seconds":1787134371,"priority":1,"record_length":96,"hex_timestamp":"000001a0198264b8"} 
[2026-08-19 15:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 15:44:14] 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-08-19 15:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506398720001,"66":13993,"23":206,"83":41984,"24":0,"16":13827496885616640,"45":1188598488393365504},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506398720001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:44:14] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:44:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13827496885616640,"km_value":13827496885616.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1188598488393365504,"description":"Unknown IO ID 45"} 
[2026-08-19 15:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506398720001,"power":13993,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1188598488393365504}} 
[2026-08-19 15:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":160207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:44:15] local.INFO: GPS data processed {"connection_id":160207,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:44:15] local.INFO: Acknowledgment sent {"connection_id":160207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:44:32] local.INFO: TCP Data received {"connection_id":160209,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160209,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:44:32] local.INFO: Processing buffer {"connection_id":160209,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:44:32] local.INFO: IMEI packet received {"connection_id":160209,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":160209,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:44:33] local.INFO: TCP Data received {"connection_id":160209,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160209,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:44:33] local.INFO: Processing buffer {"connection_id":160209,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:44:33] local.INFO: IMEI packet received {"connection_id":160209,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":160209,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:44:35] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:44:35] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:44:35] local.INFO: IMEI packet received {"connection_id":160208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":160208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:44:35] local.INFO: TCP Data received {"connection_id":160209,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160209,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:44:35] local.INFO: Processing buffer {"connection_id":160209,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:44:35] local.INFO: IMEI packet received {"connection_id":160209,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":160209,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:44:36] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:44:36] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:44:36] local.INFO: IMEI packet received {"connection_id":160208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":160208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:44:36] local.INFO: TCP Data received {"connection_id":160209,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160209,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:44:36] local.INFO: Processing buffer {"connection_id":160209,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:44:36] local.INFO: IMEI packet received {"connection_id":160209,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":160209,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:44:40] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:44:40] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:44:40] local.INFO: IMEI packet received {"connection_id":160208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":160208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:44:41] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019825518012d7b254005ebede0001200412a..."} 
[2026-08-19 15:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019825518012d7b254005ebede0001200412a..."} 
[2026-08-19 15:44:41] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019825518012d7b254005ebede0001200412a..."} 
[2026-08-19 15:44:41] local.INFO: Packet analysis {"connection_id":160208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:44:41] local.INFO: Extracted packet for processing {"connection_id":160208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:44:41] local.INFO: GPS Element Parsed {"raw_longitude":763045184,"raw_latitude":99347936,"longitude_deg":76.3045184,"latitude_deg":9.9347936,"altitude":18,"angle":65,"satellites":42,"speed":24,"hex_longitude":"2d7b2540","hex_latitude":"05ebede0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506393856001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120719070990434304,"note":"Value kept but may cause issues"} 
[2026-08-19 15:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864491466980728832,"note":"Value kept but may cause issues"} 
[2026-08-19 15:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787134367000,"timestamp_ms":1787134367000,"timestamp_seconds":1787134367,"priority":1,"record_length":96,"hex_timestamp":"000001a019825518"} 
[2026-08-19 15:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:44:41] 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-08-19 15: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":78,"data_length":795,"current_offset":136} 
[2026-08-19 15:44:41] 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-08-19 15: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-08-19 15:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:44:41] 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-08-19 15:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506393856001,"66":13276,"98":206,"87":13824,"24":24,"16":120719070990434304,"45":8864491466980728832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-19 15:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506393856001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:44:41] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-19 15:44:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120719070990434304,"km_value":120719070990434.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864491466980728832,"description":"Unknown IO ID 45"} 
[2026-08-19 15:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506393856001,"power":13276,"unknown_98":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8864491466980728832}} 
[2026-08-19 15:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":160208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:44:41] local.INFO: GPS data processed {"connection_id":160208,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:44:41] local.INFO: Acknowledgment sent {"connection_id":160208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:44:45] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019828010012d7b470005ebfea0001300402b..."} 
[2026-08-19 15:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019828010012d7b470005ebfea0001300402b..."} 
[2026-08-19 15:44:45] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019828010012d7b470005ebfea0001300402b..."} 
[2026-08-19 15:44:45] local.INFO: Packet analysis {"connection_id":160208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:44:45] local.INFO: Extracted packet for processing {"connection_id":160208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:44:45] local.INFO: GPS Element Parsed {"raw_longitude":763053824,"raw_latitude":99352224,"longitude_deg":76.3053824,"latitude_deg":9.9352224,"altitude":19,"angle":64,"satellites":43,"speed":40,"hex_longitude":"2d7b4700","hex_latitude":"05ebfea0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506397952001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120719530551934976,"note":"Value kept but may cause issues"} 
[2026-08-19 15:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873569034980679680,"note":"Value kept but may cause issues"} 
[2026-08-19 15:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787134378000,"timestamp_ms":1787134378000,"timestamp_seconds":1787134378,"priority":1,"record_length":96,"hex_timestamp":"000001a019828010"} 
[2026-08-19 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-08-19 15:44: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-08-19 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":220,"data_length":795,"current_offset":136} 
[2026-08-19 15:44: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-08-19 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-08-19 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-08-19 15:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:44:45] 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-08-19 15:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506397952001,"66":13428,"98":206,"87":13824,"24":40,"16":120719530551934976,"45":8873569034980679680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-19 15:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506397952001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:44:45] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-19 15:44:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120719530551934976,"km_value":120719530551934.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873569034980679680,"description":"Unknown IO ID 45"} 
[2026-08-19 15:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506397952001,"power":13428,"unknown_98":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8873569034980679680}} 
[2026-08-19 15:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":160208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:44:46] local.INFO: GPS data processed {"connection_id":160208,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:44:46] local.INFO: Acknowledgment sent {"connection_id":160208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:44:46] local.INFO: TCP Data received {"connection_id":160207,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019827c28012d107e8007194150004f015128..."} 
[2026-08-19 15:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019827c28012d107e8007194150004f015128..."} 
[2026-08-19 15:44:46] local.INFO: Processing buffer {"connection_id":160207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019827c28012d107e8007194150004f015128..."} 
[2026-08-19 15:44:46] local.INFO: Packet analysis {"connection_id":160207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:44:46] local.INFO: Extracted packet for processing {"connection_id":160207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756055680,"raw_latitude":119095632,"longitude_deg":75.605568,"latitude_deg":11.9095632,"altitude":79,"angle":337,"satellites":40,"speed":9,"hex_longitude":"2d107e80","hex_latitude":"07194150","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506398976001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13827505475551232,"note":"Value kept but may cause issues"} 
[2026-08-19 15:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1188598488393381888,"note":"Value kept but may cause issues"} 
[2026-08-19 15:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787134377000,"timestamp_ms":1787134377000,"timestamp_seconds":1787134377,"priority":1,"record_length":96,"hex_timestamp":"000001a019827c28"} 
[2026-08-19 15:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:44: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-08-19 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 15:44:46] 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-08-19 15: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-08-19 15:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506398976001,"66":13906,"23":206,"83":41984,"24":9,"16":13827505475551232,"45":1188598488393381888},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506398976001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:44:46] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13827505475551232,"km_value":13827505475551.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1188598488393381888,"description":"Unknown IO ID 45"} 
[2026-08-19 15:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506398976001,"power":13906,"unknown_23":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1188598488393381888}} 
[2026-08-19 15:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":160207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:44:46] local.INFO: GPS data processed {"connection_id":160207,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:44:46] local.INFO: Acknowledgment sent {"connection_id":160207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:45:08] local.INFO: TCP Data received {"connection_id":158033,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:45:08] local.INFO: Processing buffer {"connection_id":158033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:45:08] local.INFO: IMEI packet received {"connection_id":158033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":158033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:45:14] local.INFO: TCP Data received {"connection_id":158033,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:45:14] local.INFO: Processing buffer {"connection_id":158033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:45:14] local.INFO: IMEI packet received {"connection_id":158033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":158033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:45:15] local.INFO: TCP Data received {"connection_id":158033,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01982a720012d10764007195388004f016027..."} 
[2026-08-19 15:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01982a720012d10764007195388004f016027..."} 
[2026-08-19 15:45:15] local.INFO: Processing buffer {"connection_id":158033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01982a720012d10764007195388004f016027..."} 
[2026-08-19 15:45:15] local.INFO: Packet analysis {"connection_id":158033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:45:15] local.INFO: Extracted packet for processing {"connection_id":158033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:45:15] local.INFO: GPS Element Parsed {"raw_longitude":756053568,"raw_latitude":119100296,"longitude_deg":75.6053568,"latitude_deg":11.9100296,"altitude":79,"angle":352,"satellites":39,"speed":24,"hex_longitude":"2d107640","hex_latitude":"07195388","is_valid_coordinates":true} 
[2026-08-19 15:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506400512001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13827754583654400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1188528119649226752,"note":"Value kept but may cause issues"} 
[2026-08-19 15:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787134388000,"timestamp_ms":1787134388000,"timestamp_seconds":1787134388,"priority":1,"record_length":96,"hex_timestamp":"000001a01982a720"} 
[2026-08-19 15:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-19 15:45:15] 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-08-19 15:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506400512001,"66":14048,"23":206,"83":41984,"24":24,"16":13827754583654400,"45":1188528119649226752},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506400512001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:45:15] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:45:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13827754583654400,"km_value":13827754583654.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1188528119649226752,"description":"Unknown IO ID 45"} 
[2026-08-19 15:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506400512001,"power":14048,"unknown_23":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1188528119649226752}} 
[2026-08-19 15:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":158033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:45:15] local.INFO: GPS data processed {"connection_id":158033,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:45:15] local.INFO: Acknowledgment sent {"connection_id":158033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:45:17] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01982a338012d7b680005ec0bf8001400472b..."} 
[2026-08-19 15:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01982a338012d7b680005ec0bf8001400472b..."} 
[2026-08-19 15:45:17] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01982a338012d7b680005ec0bf8001400472b..."} 
[2026-08-19 15:45:17] local.INFO: Packet analysis {"connection_id":160208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:45:17] local.INFO: Extracted packet for processing {"connection_id":160208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:45:17] local.INFO: GPS Element Parsed {"raw_longitude":763062272,"raw_latitude":99355640,"longitude_deg":76.3062272,"latitude_deg":9.935564,"altitude":20,"angle":71,"satellites":43,"speed":32,"hex_longitude":"2d7b6800","hex_latitude":"05ec0bf8","is_valid_coordinates":true} 
[2026-08-19 15:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506400768001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120719968638599168,"note":"Value kept but may cause issues"} 
[2026-08-19 15:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883068815445762048,"note":"Value kept but may cause issues"} 
[2026-08-19 15:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787134387000,"timestamp_ms":1787134387000,"timestamp_seconds":1787134387,"priority":1,"record_length":96,"hex_timestamp":"000001a01982a338"} 
[2026-08-19 15:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:45:17] 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-08-19 15:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-19 15:45:17] 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-08-19 15:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:45:17] 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-08-19 15:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506400768001,"66":13189,"98":206,"87":13824,"24":32,"16":120719968638599168,"45":8883068815445762048},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-19 15:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506400768001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:45:17] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-19 15:45:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120719968638599168,"km_value":120719968638599.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883068815445762048,"description":"Unknown IO ID 45"} 
[2026-08-19 15:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506400768001,"power":13189,"unknown_98":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8883068815445762048}} 
[2026-08-19 15:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":160208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:45:17] local.INFO: GPS data processed {"connection_id":160208,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:45:17] local.INFO: Acknowledgment sent {"connection_id":160208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:45:35] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:45:35] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:45:35] local.INFO: IMEI packet received {"connection_id":160210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":160210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:45:42] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:45:42] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:45:42] local.INFO: IMEI packet received {"connection_id":160210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":160210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:45:42] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:45:42] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:45:42] local.INFO: IMEI packet received {"connection_id":160210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":160210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:45:43] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01984b678012d7cf24005ec3ae0000c00562a..."} 
[2026-08-19 15:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01984b678012d7cf24005ec3ae0000c00562a..."} 
[2026-08-19 15:45:43] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01984b678012d7cf24005ec3ae0000c00562a..."} 
[2026-08-19 15:45:43] local.INFO: Packet analysis {"connection_id":160210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01984"} 
[2026-08-19 15:45:43] local.INFO: Extracted packet for processing {"connection_id":160210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01984"} 
[2026-08-19 15:45:43] local.INFO: GPS Element Parsed {"raw_longitude":763163200,"raw_latitude":99367648,"longitude_deg":76.31632,"latitude_deg":9.9367648,"altitude":12,"angle":86,"satellites":42,"speed":27,"hex_longitude":"2d7cf240","hex_latitude":"05ec3ae0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506434560001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120724856311382016,"note":"Value kept but may cause issues"} 
[2026-08-19 15:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993125531343503360,"note":"Value kept but may cause issues"} 
[2026-08-19 15:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787134523000,"timestamp_ms":1787134523000,"timestamp_seconds":1787134523,"priority":1,"record_length":96,"hex_timestamp":"000001a01984b678"} 
[2026-08-19 15:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:45:43] 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-08-19 15: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-19 15:45:43] 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-08-19 15: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-08-19 15:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:45:43] 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-08-19 15:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506434560001,"66":13254,"198":206,"87":13824,"24":27,"16":120724856311382016,"45":8993125531343503360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-19 15:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506434560001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:45:43] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-19 15:45:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120724856311382016,"km_value":120724856311382.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993125531343503360,"description":"Unknown IO ID 45"} 
[2026-08-19 15:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506434560001,"power":13254,"unknown_198":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8993125531343503360}} 
[2026-08-19 15:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":160210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:45:44] local.INFO: GPS data processed {"connection_id":160210,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:45:44] local.INFO: Acknowledgment sent {"connection_id":160210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:45:44] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01984e558012d7d16c005ec3da0000d005527..."} 
[2026-08-19 15:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01984e558012d7d16c005ec3da0000d005527..."} 
[2026-08-19 15:45:44] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01984e558012d7d16c005ec3da0000d005527..."} 
[2026-08-19 15:45:44] local.INFO: Packet analysis {"connection_id":160210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01984"} 
[2026-08-19 15:45:44] local.INFO: Extracted packet for processing {"connection_id":160210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01984"} 
[2026-08-19 15:45:44] local.INFO: GPS Element Parsed {"raw_longitude":763172544,"raw_latitude":99368352,"longitude_deg":76.3172544,"latitude_deg":9.9368352,"altitude":13,"angle":85,"satellites":39,"speed":25,"hex_longitude":"2d7d16c0","hex_latitude":"05ec3da0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506437888001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120725302987980800,"note":"Value kept but may cause issues"} 
[2026-08-19 15:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003328999249338368,"note":"Value kept but may cause issues"} 
[2026-08-19 15:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787134535000,"timestamp_ms":1787134535000,"timestamp_seconds":1787134535,"priority":1,"record_length":96,"hex_timestamp":"000001a01984e558"} 
[2026-08-19 15:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:45:44] 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-08-19 15: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-19 15:45:44] 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-08-19 15: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-08-19 15:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:45:44] 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-08-19 15:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506437888001,"66":13222,"110":206,"87":13824,"24":25,"16":120725302987980800,"45":9003328999249338368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 15:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506437888001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:45:44] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 15:45:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120725302987980800,"km_value":120725302987980.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003328999249338368,"description":"Unknown IO ID 45"} 
[2026-08-19 15:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506437888001,"power":13222,"unknown_110":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":9003328999249338368}} 
[2026-08-19 15:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":160210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:45:44] local.INFO: GPS data processed {"connection_id":160210,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:45:44] local.INFO: Acknowledgment sent {"connection_id":160210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:45:46] local.INFO: TCP Data received {"connection_id":158033,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01982baa8012d1073c007195e600050015128..."} 
[2026-08-19 15:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01982baa8012d1073c007195e600050015128..."} 
[2026-08-19 15:45:46] local.INFO: Processing buffer {"connection_id":158033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01982baa8012d1073c007195e600050015128..."} 
[2026-08-19 15:45:46] local.INFO: Packet analysis {"connection_id":158033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:45:46] local.INFO: Extracted packet for processing {"connection_id":158033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01982"} 
[2026-08-19 15:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756052928,"raw_latitude":119103072,"longitude_deg":75.6052928,"latitude_deg":11.9103072,"altitude":80,"angle":337,"satellites":40,"speed":19,"hex_longitude":"2d1073c0","hex_latitude":"07195e60","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506403328001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13827892022607872,"note":"Value kept but may cause issues"} 
[2026-08-19 15:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1186205951092557824,"note":"Value kept but may cause issues"} 
[2026-08-19 15:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787134393000,"timestamp_ms":1787134393000,"timestamp_seconds":1787134393,"priority":1,"record_length":96,"hex_timestamp":"000001a01982baa8"} 
[2026-08-19 15:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:45: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-08-19 15: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 15:45:46] 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-08-19 15: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-08-19 15:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506403328001,"66":14004,"23":206,"83":41984,"24":19,"16":13827892022607872,"45":1186205951092557824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506403328001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:45:46] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13827892022607872,"km_value":13827892022607.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1186205951092557824,"description":"Unknown IO ID 45"} 
[2026-08-19 15:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506403328001,"power":14004,"unknown_23":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1186205951092557824}} 
[2026-08-19 15:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":158033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:45:46] local.INFO: GPS data processed {"connection_id":158033,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:45:46] local.INFO: Acknowledgment sent {"connection_id":158033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:46:08] local.INFO: TCP Data received {"connection_id":157664,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:46:08] local.INFO: Processing buffer {"connection_id":157664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:46:08] local.INFO: IMEI packet received {"connection_id":157664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":157664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:46:09] local.INFO: TCP Data received {"connection_id":157664,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:46:09] local.INFO: Processing buffer {"connection_id":157664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:46:09] local.INFO: IMEI packet received {"connection_id":157664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":157664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:46:09] local.INFO: TCP Data received {"connection_id":157664,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:46:09] local.INFO: Processing buffer {"connection_id":157664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:46:09] local.INFO: IMEI packet received {"connection_id":157664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":157664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:46:10] local.INFO: TCP Data received {"connection_id":157664,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:46:10] local.INFO: Processing buffer {"connection_id":157664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:46:10] local.INFO: IMEI packet received {"connection_id":157664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":157664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:46:16] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01984f110012d7d1bc005ec3e90000c003d24..."} 
[2026-08-19 15:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01984f110012d7d1bc005ec3e90000c003d24..."} 
[2026-08-19 15:46:16] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01984f110012d7d1bc005ec3e90000c003d24..."} 
[2026-08-19 15:46:16] local.INFO: Packet analysis {"connection_id":160210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01984"} 
[2026-08-19 15:46:16] local.INFO: Extracted packet for processing {"connection_id":160210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01984"} 
[2026-08-19 15:46:16] local.INFO: GPS Element Parsed {"raw_longitude":763173824,"raw_latitude":99368592,"longitude_deg":76.3173824,"latitude_deg":9.9368592,"altitude":12,"angle":61,"satellites":36,"speed":11,"hex_longitude":"2d7d1bc0","hex_latitude":"05ec3e90","is_valid_coordinates":true} 
[2026-08-19 15:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506440960001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120725363117522944,"note":"Value kept but may cause issues"} 
[2026-08-19 15:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013602835899457536,"note":"Value kept but may cause issues"} 
[2026-08-19 15:46: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-08-19 15:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787134538000,"timestamp_ms":1787134538000,"timestamp_seconds":1787134538,"priority":1,"record_length":96,"hex_timestamp":"000001a01984f110"} 
[2026-08-19 15:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:46:16] 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-08-19 15:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 15:46: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-08-19 15:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:46:16] 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-08-19 15:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506440960001,"66":13048,"110":206,"87":13824,"24":11,"16":120725363117522944,"45":9013602835899457536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 15:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506440960001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:46:16] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 15:46:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120725363117522944,"km_value":120725363117522.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013602835899457536,"description":"Unknown IO ID 45"} 
[2026-08-19 15:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506440960001,"power":13048,"unknown_110":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9013602835899457536}} 
[2026-08-19 15:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":160210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:46:16] local.INFO: GPS data processed {"connection_id":160210,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:46:16] local.INFO: Acknowledgment sent {"connection_id":160210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:46:35] local.INFO: TCP Data received {"connection_id":158896,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:46:35] local.INFO: Processing buffer {"connection_id":158896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:46:35] local.INFO: IMEI packet received {"connection_id":158896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":158896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:46:40] local.INFO: TCP Data received {"connection_id":158896,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:46:40] local.INFO: Processing buffer {"connection_id":158896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:46:40] local.INFO: IMEI packet received {"connection_id":158896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":158896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:46:42] local.INFO: TCP Data received {"connection_id":158896,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0198579c8012d7cc34005ec3f88000600fe24..."} 
[2026-08-19 15:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198579c8012d7cc34005ec3f88000600fe24..."} 
[2026-08-19 15:46:42] local.INFO: Processing buffer {"connection_id":158896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198579c8012d7cc34005ec3f88000600fe24..."} 
[2026-08-19 15:46:42] local.INFO: Packet analysis {"connection_id":158896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01985"} 
[2026-08-19 15:46:42] local.INFO: Extracted packet for processing {"connection_id":158896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01985"} 
[2026-08-19 15:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763151168,"raw_latitude":99368840,"longitude_deg":76.3151168,"latitude_deg":9.936884,"altitude":6,"angle":254,"satellites":36,"speed":15,"hex_longitude":"2d7cc340","hex_latitude":"05ec3f88","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506450432001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120726501283856384,"note":"Value kept but may cause issues"} 
[2026-08-19 15:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990521887809323008,"note":"Value kept but may cause issues"} 
[2026-08-19 15:46:42] 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-08-19 15:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787134573000,"timestamp_ms":1787134573000,"timestamp_seconds":1787134573,"priority":1,"record_length":96,"hex_timestamp":"000001a0198579c8"} 
[2026-08-19 15:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:46:42] 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-08-19 15: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 15:46:42] 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-08-19 15: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-08-19 15:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:46:42] 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-08-19 15:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506450432001,"66":13428,"110":206,"87":13824,"24":15,"16":120726501283856384,"45":8990521887809323008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-19 15:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506450432001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:46:42] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 15:46:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120726501283856384,"km_value":120726501283856.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990521887809323008,"description":"Unknown IO ID 45"} 
[2026-08-19 15:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506450432001,"power":13428,"unknown_110":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8990521887809323008}} 
[2026-08-19 15:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":158896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:46:42] local.INFO: GPS data processed {"connection_id":158896,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:46:42] local.INFO: Acknowledgment sent {"connection_id":158896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:47:01] local.INFO: TCP Data received {"connection_id":158897,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:47:01] local.INFO: Processing buffer {"connection_id":158897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:47:01] local.INFO: IMEI packet received {"connection_id":158897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":158897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:47:02] local.INFO: TCP Data received {"connection_id":158897,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019851c08012ce9718007178720001c00df2e..."} 
[2026-08-19 15:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019851c08012ce9718007178720001c00df2e..."} 
[2026-08-19 15:47:02] local.INFO: Processing buffer {"connection_id":158897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019851c08012ce9718007178720001c00df2e..."} 
[2026-08-19 15:47:02] local.INFO: Packet analysis {"connection_id":158897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01985"} 
[2026-08-19 15:47:02] local.INFO: Extracted packet for processing {"connection_id":158897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01985"} 
[2026-08-19 15:47:02] local.INFO: GPS Element Parsed {"raw_longitude":753496448,"raw_latitude":118982432,"longitude_deg":75.3496448,"latitude_deg":11.8982432,"altitude":28,"angle":223,"satellites":46,"speed":28,"hex_longitude":"2ce97180","hex_latitude":"07178720","is_valid_coordinates":true} 
[2026-08-19 15:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506444288001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386005091896786944,"note":"Value kept but may cause issues"} 
[2026-08-19 15:47:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1624673535114287104,"note":"Value kept but may cause issues"} 
[2026-08-19 15:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787134549000,"timestamp_ms":1787134549000,"timestamp_seconds":1787134549,"priority":1,"record_length":96,"hex_timestamp":"000001a019851c08"} 
[2026-08-19 15:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:47: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-08-19 15:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-19 15:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":158897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":158897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":158897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506444288001,"66":27658,"223":206,"2":54272,"24":28,"16":386005091896786944,"44":-1624673535114287104},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,2,24,16,44]} 
[2026-08-19 15:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506444288001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:47:02] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-19 15:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386005091896786944,"km_value":386005091896786.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:47:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1624673535114287104,"description":"Unknown IO ID 44"} 
[2026-08-19 15:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506444288001,"power":27658,"unknown_223":206,"power_alt":54272,"ignition":28,"odometer":null,"unknown_44":-1624673535114287104}} 
[2026-08-19 15:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":158897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:47:02] local.INFO: GPS data processed {"connection_id":158897,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:47:02] local.INFO: Acknowledgment sent {"connection_id":158897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:47:14] local.INFO: TCP Data received {"connection_id":158896,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019859520012d7cb08005ec3c900007010a1e..."} 
[2026-08-19 15:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019859520012d7cb08005ec3c900007010a1e..."} 
[2026-08-19 15:47:14] local.INFO: Processing buffer {"connection_id":158896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019859520012d7cb08005ec3c900007010a1e..."} 
[2026-08-19 15:47:14] local.INFO: Packet analysis {"connection_id":158896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01985"} 
[2026-08-19 15:47:14] local.INFO: Extracted packet for processing {"connection_id":158896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01985"} 
[2026-08-19 15:47:14] local.INFO: GPS Element Parsed {"raw_longitude":763146368,"raw_latitude":99368080,"longitude_deg":76.3146368,"latitude_deg":9.936808,"altitude":7,"angle":266,"satellites":30,"speed":33,"hex_longitude":"2d7cb080","hex_latitude":"05ec3c90","is_valid_coordinates":true} 
[2026-08-19 15:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506450688001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120726733212090368,"note":"Value kept but may cause issues"} 
[2026-08-19 15:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990099675344242688,"note":"Value kept but may cause issues"} 
[2026-08-19 15:47: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-08-19 15:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787134580000,"timestamp_ms":1787134580000,"timestamp_seconds":1787134580,"priority":1,"record_length":96,"hex_timestamp":"000001a019859520"} 
[2026-08-19 15:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:47: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-08-19 15:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-19 15:47: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-08-19 15:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:47:14] 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-08-19 15:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506450688001,"66":13091,"198":206,"87":13824,"24":33,"16":120726733212090368,"45":8990099675344242688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-19 15:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506450688001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:47:14] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-19 15:47:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120726733212090368,"km_value":120726733212090.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990099675344242688,"description":"Unknown IO ID 45"} 
[2026-08-19 15:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506450688001,"power":13091,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8990099675344242688}} 
[2026-08-19 15:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":158896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:47:14] local.INFO: GPS data processed {"connection_id":158896,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:47:14] local.INFO: Acknowledgment sent {"connection_id":158896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:47:34] local.INFO: TCP Data received {"connection_id":158897,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019851ff0012ce97000071784b0001c00ce2d..."} 
[2026-08-19 15:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019851ff0012ce97000071784b0001c00ce2d..."} 
[2026-08-19 15:47:34] local.INFO: Processing buffer {"connection_id":158897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019851ff0012ce97000071784b0001c00ce2d..."} 
[2026-08-19 15:47:34] local.INFO: Packet analysis {"connection_id":158897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01985"} 
[2026-08-19 15:47:34] local.INFO: Extracted packet for processing {"connection_id":158897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01985"} 
[2026-08-19 15:47:34] local.INFO: GPS Element Parsed {"raw_longitude":753496064,"raw_latitude":118981808,"longitude_deg":75.3496064,"latitude_deg":11.8981808,"altitude":28,"angle":206,"satellites":45,"speed":30,"hex_longitude":"2ce97000","hex_latitude":"071784b0","is_valid_coordinates":true} 
[2026-08-19 15:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506444544001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386005126256525312,"note":"Value kept but may cause issues"} 
[2026-08-19 15:47:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1625377222556180480,"note":"Value kept but may cause issues"} 
[2026-08-19 15:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787134550000,"timestamp_ms":1787134550000,"timestamp_seconds":1787134550,"priority":1,"record_length":96,"hex_timestamp":"000001a019851ff0"} 
[2026-08-19 15:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:47: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-08-19 15:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-19 15:47:34] 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-08-19 15:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":158897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":158897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":158897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506444544001,"66":27865,"223":206,"2":54272,"24":30,"16":386005126256525312,"44":-1625377222556180480},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,2,24,16,44]} 
[2026-08-19 15:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506444544001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:47:34] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-19 15:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386005126256525312,"km_value":386005126256525.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:47:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1625377222556180480,"description":"Unknown IO ID 44"} 
[2026-08-19 15:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506444544001,"power":27865,"unknown_223":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-1625377222556180480}} 
[2026-08-19 15:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":158897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:47:34] local.INFO: GPS data processed {"connection_id":158897,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:47:34] local.INFO: Acknowledgment sent {"connection_id":158897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:47:35] local.INFO: TCP Data received {"connection_id":158036,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:47:35] local.INFO: Processing buffer {"connection_id":158036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:47:35] local.INFO: IMEI packet received {"connection_id":158036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":158036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:47:37] local.INFO: TCP Data received {"connection_id":158036,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:47:37] local.INFO: Processing buffer {"connection_id":158036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:47:37] local.INFO: IMEI packet received {"connection_id":158036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":158036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:47:40] local.INFO: TCP Data received {"connection_id":158036,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:47:40] local.INFO: Processing buffer {"connection_id":158036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:47:40] local.INFO: IMEI packet received {"connection_id":158036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":158036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:47:42] local.INFO: TCP Data received {"connection_id":158036,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01985bc30012d7c8b8005ec3b480009010c23..."} 
[2026-08-19 15:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01985bc30012d7c8b8005ec3b480009010c23..."} 
[2026-08-19 15:47:42] local.INFO: Processing buffer {"connection_id":158036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01985bc30012d7c8b8005ec3b480009010c23..."} 
[2026-08-19 15:47:42] local.INFO: Packet analysis {"connection_id":158036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01985"} 
[2026-08-19 15:47:42] local.INFO: Extracted packet for processing {"connection_id":158036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01985"} 
[2026-08-19 15:47:42] local.INFO: GPS Element Parsed {"raw_longitude":763136896,"raw_latitude":99367752,"longitude_deg":76.3136896,"latitude_deg":9.9367752,"altitude":9,"angle":268,"satellites":35,"speed":33,"hex_longitude":"2d7c8b80","hex_latitude":"05ec3b48","is_valid_coordinates":true} 
[2026-08-19 15:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506452480001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120727188478623744,"note":"Value kept but may cause issues"} 
[2026-08-19 15:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984822019530723328,"note":"Value kept but may cause issues"} 
[2026-08-19 15:47:42] 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-08-19 15:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787134590000,"timestamp_ms":1787134590000,"timestamp_seconds":1787134590,"priority":1,"record_length":96,"hex_timestamp":"000001a01985bc30"} 
[2026-08-19 15:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:47:42] 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-08-19 15:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 15:47: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-08-19 15:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:47:42] 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-08-19 15:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506452480001,"66":13254,"198":206,"87":13824,"24":33,"16":120727188478623744,"45":8984822019530723328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-19 15:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506452480001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:47:42] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-19 15:47:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120727188478623744,"km_value":120727188478623.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984822019530723328,"description":"Unknown IO ID 45"} 
[2026-08-19 15:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506452480001,"power":13254,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8984822019530723328}} 
[2026-08-19 15:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":158036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:47:42] local.INFO: GPS data processed {"connection_id":158036,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:47:42] local.INFO: Acknowledgment sent {"connection_id":158036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:47:59] local.INFO: TCP Data received {"connection_id":158038,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:47:59] local.INFO: Processing buffer {"connection_id":158038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:47:59] local.INFO: IMEI packet received {"connection_id":158038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":158038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:48:01] local.INFO: TCP Data received {"connection_id":158038,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:48:01] local.INFO: Processing buffer {"connection_id":158038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:48:01] local.INFO: IMEI packet received {"connection_id":158038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":158038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:48:05] local.INFO: TCP Data received {"connection_id":158038,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:48:05] local.INFO: Processing buffer {"connection_id":158038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:48:05] local.INFO: IMEI packet received {"connection_id":158038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":158038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:48:06] local.INFO: TCP Data received {"connection_id":158038,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019863160012ce99f0007169c88000800b02e..."} 
[2026-08-19 15:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019863160012ce99f0007169c88000800b02e..."} 
[2026-08-19 15:48:06] local.INFO: Processing buffer {"connection_id":158038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019863160012ce99f0007169c88000800b02e..."} 
[2026-08-19 15:48:06] local.INFO: Packet analysis {"connection_id":158038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01986"} 
[2026-08-19 15:48:06] local.INFO: Extracted packet for processing {"connection_id":158038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01986"} 
[2026-08-19 15:48:06] local.INFO: GPS Element Parsed {"raw_longitude":753508096,"raw_latitude":118922376,"longitude_deg":75.3508096,"latitude_deg":11.8922376,"altitude":8,"angle":176,"satellites":46,"speed":34,"hex_longitude":"2ce99f00","hex_latitude":"07169c88","is_valid_coordinates":true} 
[2026-08-19 15:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506459648001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386008115553763328,"note":"Value kept but may cause issues"} 
[2026-08-19 15:48:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1612851586105452544,"note":"Value kept but may cause issues"} 
[2026-08-19 15:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787134620000,"timestamp_ms":1787134620000,"timestamp_seconds":1787134620,"priority":1,"record_length":96,"hex_timestamp":"000001a019863160"} 
[2026-08-19 15:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:48: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-08-19 15:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 15:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506459648001,"66":27908,"223":206,"2":54272,"24":34,"16":386008115553763328,"44":-1612851586105452544},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,2,24,16,44]} 
[2026-08-19 15:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506459648001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:48:06] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-19 15:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386008115553763328,"km_value":386008115553763.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:48:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1612851586105452544,"description":"Unknown IO ID 44"} 
[2026-08-19 15:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506459648001,"power":27908,"unknown_223":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-1612851586105452544}} 
[2026-08-19 15:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":158038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:48:06] local.INFO: GPS data processed {"connection_id":158038,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:48:06] local.INFO: Acknowledgment sent {"connection_id":158038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:48:10] local.INFO: TCP Data received {"connection_id":158038,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019865c58012ce9a28007167900000a00ab2d..."} 
[2026-08-19 15:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019865c58012ce9a28007167900000a00ab2d..."} 
[2026-08-19 15:48:10] local.INFO: Processing buffer {"connection_id":158038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019865c58012ce9a28007167900000a00ab2d..."} 
[2026-08-19 15:48:10] local.INFO: Packet analysis {"connection_id":158038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01986"} 
[2026-08-19 15:48:10] local.INFO: Extracted packet for processing {"connection_id":158038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01986"} 
[2026-08-19 15:48:10] local.INFO: GPS Element Parsed {"raw_longitude":753508992,"raw_latitude":118913280,"longitude_deg":75.3508992,"latitude_deg":11.891328,"altitude":10,"angle":171,"satellites":45,"speed":31,"hex_longitude":"2ce9a280","hex_latitude":"07167900","is_valid_coordinates":true} 
[2026-08-19 15:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506462720001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386008557935394816,"note":"Value kept but may cause issues"} 
[2026-08-19 15:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1612570111131219968,"note":"Value kept but may cause issues"} 
[2026-08-19 15:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787134631000,"timestamp_ms":1787134631000,"timestamp_seconds":1787134631,"priority":1,"record_length":96,"hex_timestamp":"000001a019865c58"} 
[2026-08-19 15:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:48: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-08-19 15:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 15:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506462720001,"66":27919,"223":206,"2":54272,"24":31,"16":386008557935394816,"44":-1612570111131219968},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,2,24,16,44]} 
[2026-08-19 15:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506462720001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:48:10] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-19 15:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386008557935394816,"km_value":386008557935394.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1612570111131219968,"description":"Unknown IO ID 44"} 
[2026-08-19 15:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506462720001,"power":27919,"unknown_223":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-1612570111131219968}} 
[2026-08-19 15:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":158038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:48:10] local.INFO: GPS data processed {"connection_id":158038,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:48:10] local.INFO: Acknowledgment sent {"connection_id":158038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:48:17] local.INFO: TCP Data received {"connection_id":158036,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01986ba18012d7beb4005ec24d0000400a61f..."} 
[2026-08-19 15:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01986ba18012d7beb4005ec24d0000400a61f..."} 
[2026-08-19 15:48:17] local.INFO: Processing buffer {"connection_id":158036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01986ba18012d7beb4005ec24d0000400a61f..."} 
[2026-08-19 15:48:17] local.INFO: Packet analysis {"connection_id":158036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01986"} 
[2026-08-19 15:48:17] local.INFO: Extracted packet for processing {"connection_id":158036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01986"} 
[2026-08-19 15:48:17] local.INFO: GPS Element Parsed {"raw_longitude":763095872,"raw_latitude":99362000,"longitude_deg":76.3095872,"latitude_deg":9.9362,"altitude":4,"angle":166,"satellites":31,"speed":18,"hex_longitude":"2d7beb40","hex_latitude":"05ec24d0","is_valid_coordinates":true} 
[2026-08-19 15:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506469888001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120729396091813888,"note":"Value kept but may cause issues"} 
[2026-08-19 15:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927964074234124288,"note":"Value kept but may cause issues"} 
[2026-08-19 15:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787134655000,"timestamp_ms":1787134655000,"timestamp_seconds":1787134655,"priority":1,"record_length":96,"hex_timestamp":"000001a01986ba18"} 
[2026-08-19 15:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:48:17] 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-08-19 15:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 15:48:17] 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-08-19 15:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:48:17] 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-08-19 15:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506469888001,"66":13298,"198":206,"87":13824,"24":18,"16":120729396091813888,"45":8927964074234124288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-19 15:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506469888001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:48:17] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-19 15:48:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120729396091813888,"km_value":120729396091813.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927964074234124288,"description":"Unknown IO ID 45"} 
[2026-08-19 15:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506469888001,"power":13298,"unknown_198":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8927964074234124288}} 
[2026-08-19 15:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":158036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:48:18] local.INFO: GPS data processed {"connection_id":158036,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:48:18] local.INFO: Acknowledgment sent {"connection_id":158036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:48:35] local.INFO: TCP Data received {"connection_id":158898,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:48:35] local.INFO: Processing buffer {"connection_id":158898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:48:35] local.INFO: IMEI packet received {"connection_id":158898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":158898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:48:41] local.INFO: TCP Data received {"connection_id":158898,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:48:41] local.INFO: Processing buffer {"connection_id":158898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:48:41] local.INFO: IMEI packet received {"connection_id":158898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":158898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:48:42] local.INFO: TCP Data received {"connection_id":158038,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019868b38012ce9aa40071656a0000900a52b..."} 
[2026-08-19 15:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019868b38012ce9aa40071656a0000900a52b..."} 
[2026-08-19 15:48:42] local.INFO: Processing buffer {"connection_id":158038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019868b38012ce9aa40071656a0000900a52b..."} 
[2026-08-19 15:48:42] local.INFO: Packet analysis {"connection_id":158038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01986"} 
[2026-08-19 15:48:42] local.INFO: Extracted packet for processing {"connection_id":158038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01986"} 
[2026-08-19 15:48:42] local.INFO: GPS Element Parsed {"raw_longitude":753510976,"raw_latitude":118904480,"longitude_deg":75.3510976,"latitude_deg":11.890448,"altitude":9,"angle":165,"satellites":43,"speed":33,"hex_longitude":"2ce9aa40","hex_latitude":"071656a0","is_valid_coordinates":true} 
[2026-08-19 15:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506465536001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386008996022059008,"note":"Value kept but may cause issues"} 
[2026-08-19 15:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1611584948715061248,"note":"Value kept but may cause issues"} 
[2026-08-19 15:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787134643000,"timestamp_ms":1787134643000,"timestamp_seconds":1787134643,"priority":1,"record_length":96,"hex_timestamp":"000001a019868b38"} 
[2026-08-19 15:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 15:48:42] 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-08-19 15:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506465536001,"66":27995,"223":206,"2":54272,"24":33,"16":386008996022059008,"44":-1611584948715061248},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,2,24,16,44]} 
[2026-08-19 15:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506465536001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:48:42] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-19 15:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386008996022059008,"km_value":386008996022059.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1611584948715061248,"description":"Unknown IO ID 44"} 
[2026-08-19 15:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506465536001,"power":27995,"unknown_223":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-1611584948715061248}} 
[2026-08-19 15:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":158038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:48:42] local.INFO: GPS data processed {"connection_id":158038,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:48:42] local.INFO: Acknowledgment sent {"connection_id":158038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:48:42] local.INFO: TCP Data received {"connection_id":158898,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01986f0c8012d7bf3c005ec0318000400ae28..."} 
[2026-08-19 15:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01986f0c8012d7bf3c005ec0318000400ae28..."} 
[2026-08-19 15:48:42] local.INFO: Processing buffer {"connection_id":158898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01986f0c8012d7bf3c005ec0318000400ae28..."} 
[2026-08-19 15:48:42] local.INFO: Packet analysis {"connection_id":158898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01986"} 
[2026-08-19 15:48:42] local.INFO: Extracted packet for processing {"connection_id":158898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01986"} 
[2026-08-19 15:48:42] local.INFO: GPS Element Parsed {"raw_longitude":763098048,"raw_latitude":99353368,"longitude_deg":76.3098048,"latitude_deg":9.9353368,"altitude":4,"angle":174,"satellites":40,"speed":25,"hex_longitude":"2d7bf3c0","hex_latitude":"05ec0318","is_valid_coordinates":true} 
[2026-08-19 15:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506471680001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120729829883510784,"note":"Value kept but may cause issues"} 
[2026-08-19 15:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929301080372989952,"note":"Value kept but may cause issues"} 
[2026-08-19 15:48:42] 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-08-19 15:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787134669000,"timestamp_ms":1787134669000,"timestamp_seconds":1787134669,"priority":1,"record_length":96,"hex_timestamp":"000001a01986f0c8"} 
[2026-08-19 15:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:48:42] 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-08-19 15:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-19 15:48:42] 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-08-19 15:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:48:42] 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-08-19 15:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506471680001,"66":13450,"198":206,"87":13824,"24":25,"16":120729829883510784,"45":8929301080372989952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-19 15:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506471680001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:48:42] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-19 15:48:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120729829883510784,"km_value":120729829883510.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929301080372989952,"description":"Unknown IO ID 45"} 
[2026-08-19 15:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506471680001,"power":13450,"unknown_198":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8929301080372989952}} 
[2026-08-19 15:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":158898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:48:42] local.INFO: GPS data processed {"connection_id":158898,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:48:42] local.INFO: Acknowledgment sent {"connection_id":158898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:48:59] local.INFO: TCP Data received {"connection_id":160212,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:48:59] local.INFO: Processing buffer {"connection_id":160212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:48:59] local.INFO: IMEI packet received {"connection_id":160212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":160212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:48:59] local.INFO: TCP Data received {"connection_id":160212,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:48:59] local.INFO: Processing buffer {"connection_id":160212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:48:59] local.INFO: IMEI packet received {"connection_id":160212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":160212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:49:04] local.INFO: TCP Data received {"connection_id":160212,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:49:04] local.INFO: Processing buffer {"connection_id":160212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:49:04] local.INFO: IMEI packet received {"connection_id":160212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":160212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:49:05] local.INFO: TCP Data received {"connection_id":160212,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01986cda0012ce9b2c0071634b0000800a32d..."} 
[2026-08-19 15:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01986cda0012ce9b2c0071634b0000800a32d..."} 
[2026-08-19 15:49:05] local.INFO: Processing buffer {"connection_id":160212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01986cda0012ce9b2c0071634b0000800a32d..."} 
[2026-08-19 15:49:05] local.INFO: Packet analysis {"connection_id":160212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01986"} 
[2026-08-19 15:49:05] local.INFO: Extracted packet for processing {"connection_id":160212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01986"} 
[2026-08-19 15:49:05] local.INFO: GPS Element Parsed {"raw_longitude":753513152,"raw_latitude":118895792,"longitude_deg":75.3513152,"latitude_deg":11.8895792,"altitude":8,"angle":163,"satellites":45,"speed":24,"hex_longitude":"2ce9b2c0","hex_latitude":"071634b0","is_valid_coordinates":true} 
[2026-08-19 15:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506468608001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386009429813755904,"note":"Value kept but may cause issues"} 
[2026-08-19 15:49:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609403517647806464,"note":"Value kept but may cause issues"} 
[2026-08-19 15:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787134660000,"timestamp_ms":1787134660000,"timestamp_seconds":1787134660,"priority":1,"record_length":96,"hex_timestamp":"000001a01986cda0"} 
[2026-08-19 15:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:49: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-08-19 15:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 15:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506468608001,"66":27876,"223":206,"2":54272,"24":24,"16":386009429813755904,"44":-1609403517647806464},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,2,24,16,44]} 
[2026-08-19 15:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506468608001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:49:05] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-19 15:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386009429813755904,"km_value":386009429813755.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:49:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609403517647806464,"description":"Unknown IO ID 44"} 
[2026-08-19 15:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506468608001,"power":27876,"unknown_223":206,"power_alt":54272,"ignition":24,"odometer":null,"unknown_44":-1609403517647806464}} 
[2026-08-19 15:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":160212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:49:05] local.INFO: GPS data processed {"connection_id":160212,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:49:05] local.INFO: Acknowledgment sent {"connection_id":160212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:49:13] local.INFO: TCP Data received {"connection_id":158898,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019873b00012d7bf9c005ebe088000200aa21..."} 
[2026-08-19 15:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019873b00012d7bf9c005ebe088000200aa21..."} 
[2026-08-19 15:49:13] local.INFO: Processing buffer {"connection_id":158898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019873b00012d7bf9c005ebe088000200aa21..."} 
[2026-08-19 15:49:13] local.INFO: Packet analysis {"connection_id":158898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01987"} 
[2026-08-19 15:49:13] local.INFO: Extracted packet for processing {"connection_id":158898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01987"} 
[2026-08-19 15:49:13] local.INFO: GPS Element Parsed {"raw_longitude":763099584,"raw_latitude":99344520,"longitude_deg":76.3099584,"latitude_deg":9.934452,"altitude":2,"angle":170,"satellites":33,"speed":11,"hex_longitude":"2d7bf9c0","hex_latitude":"05ebe088","is_valid_coordinates":true} 
[2026-08-19 15:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506475264001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120730267970174976,"note":"Value kept but may cause issues"} 
[2026-08-19 15:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931693617672820736,"note":"Value kept but may cause issues"} 
[2026-08-19 15:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787134688000,"timestamp_ms":1787134688000,"timestamp_seconds":1787134688,"priority":1,"record_length":96,"hex_timestamp":"000001a019873b00"} 
[2026-08-19 15:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:49: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-08-19 15:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-19 15:49:13] 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-08-19 15:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:49:13] 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-08-19 15:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506475264001,"66":13624,"198":206,"87":13824,"24":11,"16":120730267970174976,"45":8931693617672820736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-19 15:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506475264001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:49:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-19 15:49:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120730267970174976,"km_value":120730267970174.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931693617672820736,"description":"Unknown IO ID 45"} 
[2026-08-19 15:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506475264001,"power":13624,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8931693617672820736}} 
[2026-08-19 15:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":158898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:49:13] local.INFO: GPS data processed {"connection_id":158898,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:49:13] local.INFO: Acknowledgment sent {"connection_id":158898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:49:35] local.INFO: TCP Data received {"connection_id":160214,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:49:35] local.INFO: Processing buffer {"connection_id":160214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:49:35] local.INFO: IMEI packet received {"connection_id":160214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":160214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:49:36] local.INFO: TCP Data received {"connection_id":160212,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019870450012ce9bb8007161158000a00a72f..."} 
[2026-08-19 15:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019870450012ce9bb8007161158000a00a72f..."} 
[2026-08-19 15:49:36] local.INFO: Processing buffer {"connection_id":160212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019870450012ce9bb8007161158000a00a72f..."} 
[2026-08-19 15:49:36] local.INFO: Packet analysis {"connection_id":160212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01987"} 
[2026-08-19 15:49:36] local.INFO: Extracted packet for processing {"connection_id":160212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01987"} 
[2026-08-19 15:49:36] local.INFO: GPS Element Parsed {"raw_longitude":753515392,"raw_latitude":118886744,"longitude_deg":75.3515392,"latitude_deg":11.8886744,"altitude":10,"angle":167,"satellites":47,"speed":28,"hex_longitude":"2ce9bb80","hex_latitude":"07161158","is_valid_coordinates":true} 
[2026-08-19 15:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506472960001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386009880785321984,"note":"Value kept but may cause issues"} 
[2026-08-19 15:49:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1607010980347990016,"note":"Value kept but may cause issues"} 
[2026-08-19 15:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787134674000,"timestamp_ms":1787134674000,"timestamp_seconds":1787134674,"priority":1,"record_length":96,"hex_timestamp":"000001a019870450"} 
[2026-08-19 15:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 15:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506472960001,"66":27930,"223":206,"2":54272,"24":28,"16":386009880785321984,"44":-1607010980347990016},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,2,24,16,44]} 
[2026-08-19 15:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506472960001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:49:36] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-19 15:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386009880785321984,"km_value":386009880785322.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:49:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1607010980347990016,"description":"Unknown IO ID 44"} 
[2026-08-19 15:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506472960001,"power":27930,"unknown_223":206,"power_alt":54272,"ignition":28,"odometer":null,"unknown_44":-1607010980347990016}} 
[2026-08-19 15:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":160212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:49:36] local.INFO: GPS data processed {"connection_id":160212,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:49:36] local.INFO: Acknowledgment sent {"connection_id":160212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:49:40] local.INFO: TCP Data received {"connection_id":160214,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:49:40] local.INFO: Processing buffer {"connection_id":160214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:49:40] local.INFO: IMEI packet received {"connection_id":160214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":160214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:49:41] local.INFO: TCP Data received {"connection_id":160214,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019885058012d7c304005eb1cd0000600a926..."} 
[2026-08-19 15:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019885058012d7c304005eb1cd0000600a926..."} 
[2026-08-19 15:49:41] local.INFO: Processing buffer {"connection_id":160214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019885058012d7c304005eb1cd0000600a926..."} 
[2026-08-19 15:49:41] local.INFO: Packet analysis {"connection_id":160214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01988"} 
[2026-08-19 15:49:41] local.INFO: Extracted packet for processing {"connection_id":160214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01988"} 
[2026-08-19 15:49:41] local.INFO: GPS Element Parsed {"raw_longitude":763113536,"raw_latitude":99294416,"longitude_deg":76.3113536,"latitude_deg":9.9294416,"altitude":6,"angle":169,"satellites":38,"speed":24,"hex_longitude":"2d7c3040","hex_latitude":"05eb1cd0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506498048001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120732819180748800,"note":"Value kept but may cause issues"} 
[2026-08-19 15:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948582116260519936,"note":"Value kept but may cause issues"} 
[2026-08-19 15:49:41] 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-08-19 15:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787134759000,"timestamp_ms":1787134759000,"timestamp_seconds":1787134759,"priority":1,"record_length":96,"hex_timestamp":"000001a019885058"} 
[2026-08-19 15:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:49: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-08-19 15: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-19 15:49:41] 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-08-19 15: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-08-19 15:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:49:41] 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-08-19 15:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506498048001,"66":13363,"10":206,"87":13824,"24":24,"16":120732819180748800,"45":8948582116260519936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-19 15:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506498048001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:49:41] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:49:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120732819180748800,"km_value":120732819180748.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948582116260519936,"description":"Unknown IO ID 45"} 
[2026-08-19 15:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506498048001,"power":13363,"unknown_10":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8948582116260519936}} 
[2026-08-19 15:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":160214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:49:41] local.INFO: GPS data processed {"connection_id":160214,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:49:41] local.INFO: Acknowledgment sent {"connection_id":160214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:49:42] local.INFO: TCP Data received {"connection_id":160213,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160213,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:49:42] local.INFO: Processing buffer {"connection_id":160213,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:49:42] local.INFO: IMEI packet received {"connection_id":160213,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":160213,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:49:42] local.INFO: TCP Data received {"connection_id":160213,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a01987a478012d0cb04007044b30001d001228..."} 
[2026-08-19 15:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01987a478012d0cb04007044b30001d001228..."} 
[2026-08-19 15:49:42] local.INFO: Processing buffer {"connection_id":160213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01987a478012d0cb04007044b30001d001228..."} 
[2026-08-19 15:49:42] local.INFO: Packet analysis {"connection_id":160213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01987"} 
[2026-08-19 15:49:42] local.INFO: Extracted packet for processing {"connection_id":160213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01987"} 
[2026-08-19 15:49:42] local.INFO: GPS Element Parsed {"raw_longitude":755806272,"raw_latitude":117721904,"longitude_deg":75.5806272,"latitude_deg":11.7721904,"altitude":29,"angle":18,"satellites":40,"speed":42,"hex_longitude":"2d0cb040","hex_latitude":"07044b30","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506484736001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28876409455771648,"note":"Value kept but may cause issues"} 
[2026-08-19 15:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910360473560967168,"note":"Value kept but may cause issues"} 
[2026-08-19 15:49:42] 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-08-19 15:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787134715000,"timestamp_ms":1787134715000,"timestamp_seconds":1787134715,"priority":1,"record_length":96,"hex_timestamp":"000001a01987a478"} 
[2026-08-19 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-08-19 15:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 15:49: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-08-19 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-08-19 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-08-19 15:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160213,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160213,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506484736001,"66":13863,"16":28876409455771648,"94":11008,"24":42,"45":910360473560967168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-19 15:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506484736001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28876409455771648,"km_value":28876409455771.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:49:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 15:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":910360473560967168,"description":"Unknown IO ID 45"} 
[2026-08-19 15:49:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457506484736001,"power":13863,"odometer":null,"unknown_94":11008,"ignition":42,"unknown_45":910360473560967168}} 
[2026-08-19 15:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":160213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665437,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:49:42] local.INFO: GPS data processed {"connection_id":160213,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:49:42] local.INFO: Acknowledgment sent {"connection_id":160213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:49:58] local.INFO: TCP Data received {"connection_id":158899,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:49:58] local.INFO: Processing buffer {"connection_id":158899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:49:58] local.INFO: IMEI packet received {"connection_id":158899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":158899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:49:59] local.INFO: TCP Data received {"connection_id":158899,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:49:59] local.INFO: Processing buffer {"connection_id":158899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:49:59] local.INFO: IMEI packet received {"connection_id":158899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":158899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:50:04] local.INFO: TCP Data received {"connection_id":158899,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:50:04] local.INFO: Processing buffer {"connection_id":158899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:50:04] local.INFO: IMEI packet received {"connection_id":158899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":158899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:50:04] local.INFO: TCP Data received {"connection_id":158899,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019873ee8012ce9c3c00715ed38000d00a32d..."} 
[2026-08-19 15:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019873ee8012ce9c3c00715ed38000d00a32d..."} 
[2026-08-19 15:50:04] local.INFO: Processing buffer {"connection_id":158899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019873ee8012ce9c3c00715ed38000d00a32d..."} 
[2026-08-19 15:50:04] local.INFO: Packet analysis {"connection_id":158899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01987"} 
[2026-08-19 15:50:04] local.INFO: Extracted packet for processing {"connection_id":158899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01987"} 
[2026-08-19 15:50:04] local.INFO: GPS Element Parsed {"raw_longitude":753517504,"raw_latitude":118877496,"longitude_deg":75.3517504,"latitude_deg":11.8877496,"altitude":13,"angle":163,"satellites":45,"speed":27,"hex_longitude":"2ce9c3c0","hex_latitude":"0715ed38","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506476544001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386010344641789952,"note":"Value kept but may cause issues"} 
[2026-08-19 15:50:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1604548074304088064,"note":"Value kept but may cause issues"} 
[2026-08-19 15:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787134689000,"timestamp_ms":1787134689000,"timestamp_seconds":1787134689,"priority":1,"record_length":96,"hex_timestamp":"000001a019873ee8"} 
[2026-08-19 15:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:50: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-08-19 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 15:50:04] 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-08-19 15: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-08-19 15:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506476544001,"66":27800,"148":206,"2":54272,"24":27,"16":386010344641789952,"44":-1604548074304088064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,2,24,16,44]} 
[2026-08-19 15:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506476544001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:50:04] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-19 15:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386010344641789952,"km_value":386010344641789.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:50:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1604548074304088064,"description":"Unknown IO ID 44"} 
[2026-08-19 15:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506476544001,"power":27800,"unknown_148":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-1604548074304088064}} 
[2026-08-19 15:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":158899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:50:04] local.INFO: GPS data processed {"connection_id":158899,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:50:04] local.INFO: Acknowledgment sent {"connection_id":158899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:50:12] local.INFO: TCP Data received {"connection_id":160214,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0198863e0012d7c344005eb10f80006009228..."} 
[2026-08-19 15:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198863e0012d7c344005eb10f80006009228..."} 
[2026-08-19 15:50:12] local.INFO: Processing buffer {"connection_id":160214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198863e0012d7c344005eb10f80006009228..."} 
[2026-08-19 15:50:12] local.INFO: Packet analysis {"connection_id":160214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01988"} 
[2026-08-19 15:50:12] local.INFO: Extracted packet for processing {"connection_id":160214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01988"} 
[2026-08-19 15:50:12] local.INFO: GPS Element Parsed {"raw_longitude":763114560,"raw_latitude":99291384,"longitude_deg":76.311456,"latitude_deg":9.9291384,"altitude":6,"angle":146,"satellites":40,"speed":24,"hex_longitude":"2d7c3440","hex_latitude":"05eb10f8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506498304001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120732973799571456,"note":"Value kept but may cause issues"} 
[2026-08-19 15:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948722853748723712,"note":"Value kept but may cause issues"} 
[2026-08-19 15:50:12] 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-08-19 15:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787134764000,"timestamp_ms":1787134764000,"timestamp_seconds":1787134764,"priority":1,"record_length":96,"hex_timestamp":"000001a0198863e0"} 
[2026-08-19 15:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:50:12] 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-08-19 15: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 15:50: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-08-19 15: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-08-19 15:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:50:12] 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-08-19 15:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506498304001,"66":13450,"10":206,"87":13824,"24":24,"16":120732973799571456,"45":8948722853748723712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-19 15:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506498304001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:50:12] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:50:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120732973799571456,"km_value":120732973799571.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948722853748723712,"description":"Unknown IO ID 45"} 
[2026-08-19 15:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506498304001,"power":13450,"unknown_10":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8948722853748723712}} 
[2026-08-19 15:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":160214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:50:12] local.INFO: GPS data processed {"connection_id":160214,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:50:12] local.INFO: Acknowledgment sent {"connection_id":160214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:50:14] local.INFO: TCP Data received {"connection_id":160213,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a01988e8b0012d0c65c00704d510001f010525..."} 
[2026-08-19 15:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01988e8b0012d0c65c00704d510001f010525..."} 
[2026-08-19 15:50:14] local.INFO: Processing buffer {"connection_id":160213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01988e8b0012d0c65c00704d510001f010525..."} 
[2026-08-19 15:50:14] local.INFO: Packet analysis {"connection_id":160213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01988"} 
[2026-08-19 15:50:14] local.INFO: Extracted packet for processing {"connection_id":160213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01988"} 
[2026-08-19 15:50:14] local.INFO: GPS Element Parsed {"raw_longitude":755787200,"raw_latitude":117757200,"longitude_deg":75.57872,"latitude_deg":11.77572,"altitude":31,"angle":261,"satellites":37,"speed":46,"hex_longitude":"2d0c65c0","hex_latitude":"0704d510","is_valid_coordinates":true} 
[2026-08-19 15:50: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-08-19 15:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506507264001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28878728738111488,"note":"Value kept but may cause issues"} 
[2026-08-19 15:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":898468155806275584,"note":"Value kept but may cause issues"} 
[2026-08-19 15:50:14] 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-08-19 15:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787134798000,"timestamp_ms":1787134798000,"timestamp_seconds":1787134798,"priority":1,"record_length":96,"hex_timestamp":"000001a01988e8b0"} 
[2026-08-19 15:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 15:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:50: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-08-19 15:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160213,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160213,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506507264001,"66":14439,"95":206,"94":10240,"24":46,"16":28878728738111488,"45":898468155806275584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-19 15:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506507264001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:50:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 15:50:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 15:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28878728738111488,"km_value":28878728738111.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":898468155806275584,"description":"Unknown IO ID 45"} 
[2026-08-19 15:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506507264001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":46,"odometer":null,"unknown_45":898468155806275584}} 
[2026-08-19 15:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":160213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665440,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:50:14] local.INFO: GPS data processed {"connection_id":160213,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:50:14] local.INFO: Acknowledgment sent {"connection_id":160213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:50:35] local.INFO: TCP Data received {"connection_id":160216,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:50:35] local.INFO: Processing buffer {"connection_id":160216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:50:35] local.INFO: IMEI packet received {"connection_id":160216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":160216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:50:37] local.INFO: TCP Data received {"connection_id":158899,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019876dc8012ce9cc400715cb98000e00a82d..."} 
[2026-08-19 15:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019876dc8012ce9cc400715cb98000e00a82d..."} 
[2026-08-19 15:50:37] local.INFO: Processing buffer {"connection_id":158899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019876dc8012ce9cc400715cb98000e00a82d..."} 
[2026-08-19 15:50:37] local.INFO: Packet analysis {"connection_id":158899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01987"} 
[2026-08-19 15:50:37] local.INFO: Extracted packet for processing {"connection_id":158899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01987"} 
[2026-08-19 15:50:37] local.INFO: GPS Element Parsed {"raw_longitude":753519680,"raw_latitude":118868888,"longitude_deg":75.351968,"latitude_deg":11.8868888,"altitude":14,"angle":168,"satellites":45,"speed":27,"hex_longitude":"2ce9cc40","hex_latitude":"0715cb98","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506480384001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386010774138519552,"note":"Value kept but may cause issues"} 
[2026-08-19 15:50:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1602225905748592640,"note":"Value kept but may cause issues"} 
[2026-08-19 15:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787134701000,"timestamp_ms":1787134701000,"timestamp_seconds":1787134701,"priority":1,"record_length":96,"hex_timestamp":"000001a019876dc8"} 
[2026-08-19 15:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 15:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506480384001,"66":27843,"148":206,"2":54272,"24":27,"16":386010774138519552,"44":-1602225905748592640},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,2,24,16,44]} 
[2026-08-19 15:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506480384001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:50:37] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-19 15:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386010774138519552,"km_value":386010774138519.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:50:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1602225905748592640,"description":"Unknown IO ID 44"} 
[2026-08-19 15:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506480384001,"power":27843,"unknown_148":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-1602225905748592640}} 
[2026-08-19 15:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":158899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:50:37] local.INFO: GPS data processed {"connection_id":158899,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:50:37] local.INFO: Acknowledgment sent {"connection_id":158899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:50:39] local.INFO: TCP Data received {"connection_id":157668,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:50:39] local.INFO: Processing buffer {"connection_id":157668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:50:39] local.INFO: IMEI packet received {"connection_id":157668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":157668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:50:40] local.INFO: TCP Data received {"connection_id":160216,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:50:40] local.INFO: Processing buffer {"connection_id":160216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:50:40] local.INFO: IMEI packet received {"connection_id":160216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":160216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:50:40] local.INFO: TCP Data received {"connection_id":157668,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:50:40] local.INFO: Processing buffer {"connection_id":157668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:50:40] local.INFO: IMEI packet received {"connection_id":157668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":157668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:50:41] local.INFO: TCP Data received {"connection_id":160216,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019896998012d7c4f0005eac900000b004f26..."} 
[2026-08-19 15:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019896998012d7c4f0005eac900000b004f26..."} 
[2026-08-19 15:50:41] local.INFO: Processing buffer {"connection_id":160216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019896998012d7c4f0005eac900000b004f26..."} 
[2026-08-19 15:50:41] local.INFO: Packet analysis {"connection_id":160216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:50:41] local.INFO: Extracted packet for processing {"connection_id":160216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:50:41] local.INFO: GPS Element Parsed {"raw_longitude":763121408,"raw_latitude":99272960,"longitude_deg":76.3121408,"latitude_deg":9.927296,"altitude":11,"angle":79,"satellites":38,"speed":8,"hex_longitude":"2d7c4f00","hex_latitude":"05eac900","is_valid_coordinates":true} 
[2026-08-19 15:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506511360001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120734146325643264,"note":"Value kept but may cause issues"} 
[2026-08-19 15:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953437559602970624,"note":"Value kept but may cause issues"} 
[2026-08-19 15:50:41] 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-08-19 15:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787134831000,"timestamp_ms":1787134831000,"timestamp_seconds":1787134831,"priority":1,"record_length":96,"hex_timestamp":"000001a019896998"} 
[2026-08-19 15:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:50: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-08-19 15:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-19 15:50:41] 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-08-19 15:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:50:41] 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-08-19 15:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506511360001,"66":13341,"10":206,"87":13824,"24":8,"16":120734146325643264,"45":8953437559602970624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-19 15:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506511360001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:50:41] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:50:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120734146325643264,"km_value":120734146325643.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953437559602970624,"description":"Unknown IO ID 45"} 
[2026-08-19 15:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506511360001,"power":13341,"unknown_10":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8953437559602970624}} 
[2026-08-19 15:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":160216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:50:41] local.INFO: GPS data processed {"connection_id":160216,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:50:41] local.INFO: Acknowledgment sent {"connection_id":160216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:50:41] local.INFO: TCP Data received {"connection_id":157668,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:50:41] local.INFO: Processing buffer {"connection_id":157668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:50:41] local.INFO: IMEI packet received {"connection_id":157668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":157668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:50:44] local.INFO: TCP Data received {"connection_id":157668,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:50:44] local.INFO: Processing buffer {"connection_id":157668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:50:44] local.INFO: IMEI packet received {"connection_id":157668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":157668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:50:45] local.INFO: TCP Data received {"connection_id":157668,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a01988fc38012d0c52000704cfe8001f00f925..."} 
[2026-08-19 15:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01988fc38012d0c52000704cfe8001f00f925..."} 
[2026-08-19 15:50:45] local.INFO: Processing buffer {"connection_id":157668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01988fc38012d0c52000704cfe8001f00f925..."} 
[2026-08-19 15:50:45] local.INFO: Packet analysis {"connection_id":157668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01988"} 
[2026-08-19 15:50:45] local.INFO: Extracted packet for processing {"connection_id":157668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01988"} 
[2026-08-19 15:50:45] local.INFO: GPS Element Parsed {"raw_longitude":755782144,"raw_latitude":117755880,"longitude_deg":75.5782144,"latitude_deg":11.775588,"altitude":31,"angle":249,"satellites":37,"speed":33,"hex_longitude":"2d0c5200","hex_latitude":"0704cfe8","is_valid_coordinates":true} 
[2026-08-19 15:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506508288001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28878977846214656,"note":"Value kept but may cause issues"} 
[2026-08-19 15:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893331237481287680,"note":"Value kept but may cause issues"} 
[2026-08-19 15:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787134803000,"timestamp_ms":1787134803000,"timestamp_seconds":1787134803,"priority":1,"record_length":96,"hex_timestamp":"000001a01988fc38"} 
[2026-08-19 15:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 15:50: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-08-19 15:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506508288001,"66":14157,"95":206,"94":10240,"24":33,"16":28878977846214656,"45":893331237481287680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-19 15:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506508288001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:50:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 15:50:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 15:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28878977846214656,"km_value":28878977846214.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":893331237481287680,"description":"Unknown IO ID 45"} 
[2026-08-19 15:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506508288001,"power":14157,"unknown_95":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":893331237481287680}} 
[2026-08-19 15:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":157668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665443,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:50:45] local.INFO: GPS data processed {"connection_id":157668,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:50:45] local.INFO: Acknowledgment sent {"connection_id":157668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:50:59] local.INFO: TCP Data received {"connection_id":157669,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:50:59] local.INFO: Processing buffer {"connection_id":157669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:50:59] local.INFO: IMEI packet received {"connection_id":157669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":157669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:51:04] local.INFO: TCP Data received {"connection_id":157669,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:51:04] local.INFO: Processing buffer {"connection_id":157669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:51:04] local.INFO: IMEI packet received {"connection_id":157669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":157669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:51:04] local.INFO: TCP Data received {"connection_id":157669,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01987a478012ce9d4400715a770001000a62c..."} 
[2026-08-19 15:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01987a478012ce9d4400715a770001000a62c..."} 
[2026-08-19 15:51:04] local.INFO: Processing buffer {"connection_id":157669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01987a478012ce9d4400715a770001000a62c..."} 
[2026-08-19 15:51:04] local.INFO: Packet analysis {"connection_id":157669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01987"} 
[2026-08-19 15:51:04] local.INFO: Extracted packet for processing {"connection_id":157669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01987"} 
[2026-08-19 15:51:04] local.INFO: GPS Element Parsed {"raw_longitude":753521728,"raw_latitude":118859632,"longitude_deg":75.3521728,"latitude_deg":11.8859632,"altitude":16,"angle":166,"satellites":44,"speed":28,"hex_longitude":"2ce9d440","hex_latitude":"0715a770","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506483456001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386011233700020224,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1599833368448755712,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787134715000,"timestamp_ms":1787134715000,"timestamp_seconds":1787134715,"priority":1,"record_length":96,"hex_timestamp":"000001a01987a478"} 
[2026-08-19 15:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15: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-08-19 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 15:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506483456001,"66":28006,"148":206,"2":54272,"24":28,"16":386011233700020224,"44":-1599833368448755712},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,2,24,16,44]} 
[2026-08-19 15:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506483456001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:51:04] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-19 15:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386011233700020224,"km_value":386011233700020.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:51:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1599833368448755712,"description":"Unknown IO ID 44"} 
[2026-08-19 15:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506483456001,"power":28006,"unknown_148":206,"power_alt":54272,"ignition":28,"odometer":null,"unknown_44":-1599833368448755712}} 
[2026-08-19 15:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":157669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:51:04] local.INFO: GPS data processed {"connection_id":157669,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:51:04] local.INFO: Acknowledgment sent {"connection_id":157669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:51:12] local.INFO: TCP Data received {"connection_id":160216,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019896d80012d7c504005eac8e8000b005e27..."} 
[2026-08-19 15:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019896d80012d7c504005eac8e8000b005e27..."} 
[2026-08-19 15:51:12] local.INFO: Processing buffer {"connection_id":160216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019896d80012d7c504005eac8e8000b005e27..."} 
[2026-08-19 15:51:12] local.INFO: Packet analysis {"connection_id":160216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:51:12] local.INFO: Extracted packet for processing {"connection_id":160216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763121728,"raw_latitude":99272936,"longitude_deg":76.3121728,"latitude_deg":9.9272936,"altitude":11,"angle":94,"satellites":39,"speed":11,"hex_longitude":"2d7c5040","hex_latitude":"05eac8e8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506516736001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120734159210545152,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957378209277083648,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:12] 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-08-19 15:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787134832000,"timestamp_ms":1787134832000,"timestamp_seconds":1787134832,"priority":1,"record_length":96,"hex_timestamp":"000001a019896d80"} 
[2026-08-19 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-08-19 15:51: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-08-19 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 15:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 15:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:51:12] 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-08-19 15:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506516736001,"66":13341,"10":206,"87":13824,"24":11,"16":120734159210545152,"45":8957378209277083648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-19 15:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506516736001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:51:12] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:51:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120734159210545152,"km_value":120734159210545.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957378209277083648,"description":"Unknown IO ID 45"} 
[2026-08-19 15:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506516736001,"power":13341,"unknown_10":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8957378209277083648}} 
[2026-08-19 15:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":160216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:51:12] local.INFO: GPS data processed {"connection_id":160216,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:51:12] local.INFO: Acknowledgment sent {"connection_id":160216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:51:13] local.INFO: TCP Data received {"connection_id":158040,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:51:13] local.INFO: Processing buffer {"connection_id":158040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:51:13] local.INFO: IMEI packet received {"connection_id":158040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":158040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:51:14] local.INFO: TCP Data received {"connection_id":158040,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0198644e8012d108300071a2e18005e000125..."} 
[2026-08-19 15:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198644e8012d108300071a2e18005e000125..."} 
[2026-08-19 15:51:14] local.INFO: Processing buffer {"connection_id":158040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198644e8012d108300071a2e18005e000125..."} 
[2026-08-19 15:51:14] local.INFO: Packet analysis {"connection_id":158040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01986"} 
[2026-08-19 15:51:14] local.INFO: Extracted packet for processing {"connection_id":158040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01986"} 
[2026-08-19 15:51:14] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":37,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506458624001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787134625000,"timestamp_ms":1787134625000,"timestamp_seconds":1787134625,"priority":1,"record_length":96,"hex_timestamp":"000001a0198644e8"} 
[2026-08-19 15:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 15:51:14] 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-08-19 15:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506458624001,"66":12722,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506458624001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:51:14] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506458624001,"power":12722,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":158040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:51:14] local.INFO: GPS data processed {"connection_id":158040,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:51:14] local.INFO: Acknowledgment sent {"connection_id":158040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:51:16] local.INFO: TCP Data received {"connection_id":157668,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a01989fa20012d0b72000704c6e8001501112b..."} 
[2026-08-19 15:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01989fa20012d0b72000704c6e8001501112b..."} 
[2026-08-19 15:51:16] local.INFO: Processing buffer {"connection_id":157668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01989fa20012d0b72000704c6e8001501112b..."} 
[2026-08-19 15:51:16] local.INFO: Packet analysis {"connection_id":157668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:51:16] local.INFO: Extracted packet for processing {"connection_id":157668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:51:16] local.INFO: GPS Element Parsed {"raw_longitude":755724800,"raw_latitude":117753576,"longitude_deg":75.57248,"latitude_deg":11.7753576,"altitude":21,"angle":273,"satellites":43,"speed":26,"hex_longitude":"2d0b7200","hex_latitude":"0704c6e8","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506525696001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28881838294433792,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":826058718046484480,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:16] 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-08-19 15:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787134868000,"timestamp_ms":1787134868000,"timestamp_seconds":1787134868,"priority":1,"record_length":96,"hex_timestamp":"000001a01989fa20"} 
[2026-08-19 15:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:51: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-08-19 15: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 15:51:16] 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-08-19 15: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-08-19 15:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506525696001,"66":14189,"96":206,"94":10240,"24":26,"16":28881838294433792,"45":826058718046484480},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-19 15:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506525696001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:51:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 15:51:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 15:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28881838294433792,"km_value":28881838294433.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":826058718046484480,"description":"Unknown IO ID 45"} 
[2026-08-19 15:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506525696001,"power":14189,"unknown_96":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":826058718046484480}} 
[2026-08-19 15:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":157668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665447,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:51:17] local.INFO: GPS data processed {"connection_id":157668,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:51:17] local.INFO: Acknowledgment sent {"connection_id":157668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:51:36] local.INFO: TCP Data received {"connection_id":157669,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019898108012cea888007149580000f00892a..."} 
[2026-08-19 15:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019898108012cea888007149580000f00892a..."} 
[2026-08-19 15:51:36] local.INFO: Processing buffer {"connection_id":157669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019898108012cea888007149580000f00892a..."} 
[2026-08-19 15:51:36] local.INFO: Packet analysis {"connection_id":157669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:51:36] local.INFO: Extracted packet for processing {"connection_id":157669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:51:36] local.INFO: GPS Element Parsed {"raw_longitude":753567872,"raw_latitude":118789504,"longitude_deg":75.3567872,"latitude_deg":11.8789504,"altitude":15,"angle":137,"satellites":42,"speed":32,"hex_longitude":"2cea8880","hex_latitude":"07149580","is_valid_coordinates":true} 
[2026-08-19 15:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506515712001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386015391228362752,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1555360322147266560,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787134837000,"timestamp_ms":1787134837000,"timestamp_seconds":1787134837,"priority":1,"record_length":96,"hex_timestamp":"000001a019898108"} 
[2026-08-19 15:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:51: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-08-19 15:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 15:51:36] 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-08-19 15:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506515712001,"66":27876,"146":206,"2":54272,"24":32,"16":386015391228362752,"44":-1555360322147266560},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-19 15:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506515712001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:51:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-19 15:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386015391228362752,"km_value":386015391228362.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:51:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1555360322147266560,"description":"Unknown IO ID 44"} 
[2026-08-19 15:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506515712001,"power":27876,"unknown_146":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-1555360322147266560}} 
[2026-08-19 15:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":157669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:51:36] local.INFO: GPS data processed {"connection_id":157669,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:51:36] local.INFO: Acknowledgment sent {"connection_id":157669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:51:38] local.INFO: TCP Data received {"connection_id":157670,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:51:38] local.INFO: Processing buffer {"connection_id":157670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:51:38] local.INFO: IMEI packet received {"connection_id":157670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":157670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:51:40] local.INFO: TCP Data received {"connection_id":157670,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:51:40] local.INFO: Processing buffer {"connection_id":157670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:51:40] local.INFO: IMEI packet received {"connection_id":157670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":157670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:51:40] local.INFO: TCP Data received {"connection_id":157671,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:51:40] local.INFO: Processing buffer {"connection_id":157671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:51:40] local.INFO: IMEI packet received {"connection_id":157671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":157671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:51:40] local.INFO: TCP Data received {"connection_id":157670,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0198a0da8012d0b64000704c7e0001401232b..."} 
[2026-08-19 15:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198a0da8012d0b64000704c7e0001401232b..."} 
[2026-08-19 15:51:40] local.INFO: Processing buffer {"connection_id":157670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198a0da8012d0b64000704c7e0001401232b..."} 
[2026-08-19 15:51:40] local.INFO: Packet analysis {"connection_id":157670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198a"} 
[2026-08-19 15:51:40] local.INFO: Extracted packet for processing {"connection_id":157670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198a"} 
[2026-08-19 15:51:40] local.INFO: GPS Element Parsed {"raw_longitude":755721216,"raw_latitude":117753824,"longitude_deg":75.5721216,"latitude_deg":11.7753824,"altitude":20,"angle":291,"satellites":43,"speed":25,"hex_longitude":"2d0b6400","hex_latitude":"0704c7e0","is_valid_coordinates":true} 
[2026-08-19 15:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506526208001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28882010093125632,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824721711907137536,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787134873000,"timestamp_ms":1787134873000,"timestamp_seconds":1787134873,"priority":1,"record_length":96,"hex_timestamp":"000001a0198a0da8"} 
[2026-08-19 15:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 15:51:40] 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-08-19 15:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506526208001,"66":14428,"96":206,"94":10240,"24":25,"16":28882010093125632,"45":824721711907137536},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-19 15:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506526208001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:51:40] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 15:51:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 15:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28882010093125632,"km_value":28882010093125.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":824721711907137536,"description":"Unknown IO ID 45"} 
[2026-08-19 15:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506526208001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":824721711907137536}} 
[2026-08-19 15:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":157670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665449,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:51:41] local.INFO: GPS data processed {"connection_id":157670,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:51:41] local.INFO: Acknowledgment sent {"connection_id":157670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:51:41] local.INFO: TCP Data received {"connection_id":157671,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:51:41] local.INFO: Processing buffer {"connection_id":157671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:51:41] local.INFO: IMEI packet received {"connection_id":157671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":157671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:51:42] local.INFO: TCP Data received {"connection_id":157671,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0198984f0012d7c5cc005eac940000b004e27..."} 
[2026-08-19 15:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198984f0012d7c5cc005eac940000b004e27..."} 
[2026-08-19 15:51:42] local.INFO: Processing buffer {"connection_id":157671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198984f0012d7c5cc005eac940000b004e27..."} 
[2026-08-19 15:51:42] local.INFO: Packet analysis {"connection_id":157671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:51:42] local.INFO: Extracted packet for processing {"connection_id":157671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:51:42] local.INFO: GPS Element Parsed {"raw_longitude":763124928,"raw_latitude":99273024,"longitude_deg":76.3124928,"latitude_deg":9.9273024,"altitude":11,"angle":78,"satellites":39,"speed":26,"hex_longitude":"2d7c5cc0","hex_latitude":"05eac940","is_valid_coordinates":true} 
[2026-08-19 15:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506516992001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120734313829367808,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957730052997965824,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:42] 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-08-19 15:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787134838000,"timestamp_ms":1787134838000,"timestamp_seconds":1787134838,"priority":1,"record_length":96,"hex_timestamp":"000001a0198984f0"} 
[2026-08-19 15:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:51:42] 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-08-19 15:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 15:51:42] 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-08-19 15:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:51:42] 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-08-19 15:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506516992001,"66":13406,"10":206,"87":13824,"24":26,"16":120734313829367808,"45":8957730052997965824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-19 15:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506516992001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:51:42] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:51:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120734313829367808,"km_value":120734313829367.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957730052997965824,"description":"Unknown IO ID 45"} 
[2026-08-19 15:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506516992001,"power":13406,"unknown_10":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8957730052997965824}} 
[2026-08-19 15:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":157671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:51:42] local.INFO: GPS data processed {"connection_id":157671,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:51:42] local.INFO: Acknowledgment sent {"connection_id":157671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:51:45] local.INFO: TCP Data received {"connection_id":157671,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01989b3d0012d7c7c0005ead1c8000c004327..."} 
[2026-08-19 15:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01989b3d0012d7c7c0005ead1c8000c004327..."} 
[2026-08-19 15:51:45] local.INFO: Processing buffer {"connection_id":157671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01989b3d0012d7c7c0005ead1c8000c004327..."} 
[2026-08-19 15:51:45] local.INFO: Packet analysis {"connection_id":157671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:51:45] local.INFO: Extracted packet for processing {"connection_id":157671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:51:45] local.INFO: GPS Element Parsed {"raw_longitude":763132928,"raw_latitude":99275208,"longitude_deg":76.3132928,"latitude_deg":9.9275208,"altitude":12,"angle":67,"satellites":39,"speed":22,"hex_longitude":"2d7c7c00","hex_latitude":"05ead1c8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506518528001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120734713261326336,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961248490206871552,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51: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-08-19 15:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787134850000,"timestamp_ms":1787134850000,"timestamp_seconds":1787134850,"priority":1,"record_length":96,"hex_timestamp":"000001a01989b3d0"} 
[2026-08-19 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-08-19 15:51: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-08-19 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-19 15:51: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-08-19 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-08-19 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-08-19 15:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:51:45] 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-08-19 15:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506518528001,"66":13276,"10":206,"87":13824,"24":22,"16":120734713261326336,"45":8961248490206871552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-19 15:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506518528001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:51:45] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:51:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120734713261326336,"km_value":120734713261326.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961248490206871552,"description":"Unknown IO ID 45"} 
[2026-08-19 15:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506518528001,"power":13276,"unknown_10":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8961248490206871552}} 
[2026-08-19 15:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":157671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:51:45] local.INFO: GPS data processed {"connection_id":157671,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:51:45] local.INFO: Acknowledgment sent {"connection_id":157671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:51:46] local.INFO: TCP Data received {"connection_id":158040,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0198696f0012d108300071a2e18005e000126..."} 
[2026-08-19 15:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198696f0012d108300071a2e18005e000126..."} 
[2026-08-19 15:51:46] local.INFO: Processing buffer {"connection_id":158040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198696f0012d108300071a2e18005e000126..."} 
[2026-08-19 15:51:46] local.INFO: Packet analysis {"connection_id":158040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01986"} 
[2026-08-19 15:51:46] local.INFO: Extracted packet for processing {"connection_id":158040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01986"} 
[2026-08-19 15:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":38,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506464000001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787134646000,"timestamp_ms":1787134646000,"timestamp_seconds":1787134646,"priority":1,"record_length":96,"hex_timestamp":"000001a0198696f0"} 
[2026-08-19 15:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:51: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-08-19 15: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 15:51:46] 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-08-19 15: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-08-19 15:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506464000001,"66":12711,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506464000001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:51:46] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506464000001,"power":12711,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":158040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:51:46] local.INFO: GPS data processed {"connection_id":158040,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:51:46] local.INFO: Acknowledgment sent {"connection_id":158040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:52:02] local.INFO: TCP Data received {"connection_id":157672,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:52:02] local.INFO: Processing buffer {"connection_id":157672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:52:02] local.INFO: IMEI packet received {"connection_id":157672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":157672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:52:04] local.INFO: TCP Data received {"connection_id":157672,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:52:04] local.INFO: Processing buffer {"connection_id":157672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:52:04] local.INFO: IMEI packet received {"connection_id":157672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":157672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:52:08] local.INFO: TCP Data received {"connection_id":160217,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:52:08] local.INFO: Processing buffer {"connection_id":160217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:52:08] local.INFO: IMEI packet received {"connection_id":160217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":160217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:52:09] local.INFO: TCP Data received {"connection_id":157672,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:52:09] local.INFO: Processing buffer {"connection_id":157672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:52:09] local.INFO: IMEI packet received {"connection_id":157672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":157672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:52:10] local.INFO: TCP Data received {"connection_id":157672,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019899c60012cea9380071486c0000d009528..."} 
[2026-08-19 15:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019899c60012cea9380071486c0000d009528..."} 
[2026-08-19 15:52:10] local.INFO: Processing buffer {"connection_id":157672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019899c60012cea9380071486c0000d009528..."} 
[2026-08-19 15:52:10] local.INFO: Packet analysis {"connection_id":157672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:52:10] local.INFO: Extracted packet for processing {"connection_id":157672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:52:10] local.INFO: GPS Element Parsed {"raw_longitude":753570688,"raw_latitude":118785728,"longitude_deg":75.3570688,"latitude_deg":11.8785728,"altitude":13,"angle":149,"satellites":40,"speed":25,"hex_longitude":"2cea9380","hex_latitude":"071486c0","is_valid_coordinates":true} 
[2026-08-19 15:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506518272001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386015618861629440,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1546845704103297024,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787134844000,"timestamp_ms":1787134844000,"timestamp_seconds":1787134844,"priority":1,"record_length":96,"hex_timestamp":"000001a019899c60"} 
[2026-08-19 15:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:52: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-08-19 15:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 15:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506518272001,"66":27767,"146":206,"2":54272,"24":25,"16":386015618861629440,"44":-1546845704103297024},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-19 15:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506518272001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:52:10] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-19 15:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386015618861629440,"km_value":386015618861629.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1546845704103297024,"description":"Unknown IO ID 44"} 
[2026-08-19 15:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506518272001,"power":27767,"unknown_146":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-1546845704103297024}} 
[2026-08-19 15:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":157672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:52:10] local.INFO: GPS data processed {"connection_id":157672,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:52:10] local.INFO: Acknowledgment sent {"connection_id":157672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:52:13] local.INFO: TCP Data received {"connection_id":157670,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0198a1190012d0b62400704c980001401302b..."} 
[2026-08-19 15:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198a1190012d0b62400704c980001401302b..."} 
[2026-08-19 15:52:13] local.INFO: Processing buffer {"connection_id":157670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198a1190012d0b62400704c980001401302b..."} 
[2026-08-19 15:52:13] local.INFO: Packet analysis {"connection_id":157670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198a"} 
[2026-08-19 15:52:13] local.INFO: Extracted packet for processing {"connection_id":157670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198a"} 
[2026-08-19 15:52:13] local.INFO: GPS Element Parsed {"raw_longitude":755720768,"raw_latitude":117754240,"longitude_deg":75.5720768,"latitude_deg":11.775424,"altitude":20,"angle":304,"satellites":43,"speed":24,"hex_longitude":"2d0b6240","hex_latitude":"0704c980","is_valid_coordinates":true} 
[2026-08-19 15:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506527488001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28882040157896704,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820781062233251840,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:13] 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-08-19 15:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787134874000,"timestamp_ms":1787134874000,"timestamp_seconds":1787134874,"priority":1,"record_length":96,"hex_timestamp":"000001a0198a1190"} 
[2026-08-19 15:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:52: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-08-19 15:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 15:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157670,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506527488001,"66":14428,"96":206,"94":10240,"24":24,"16":28882040157896704,"45":820781062233251840},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-19 15:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506527488001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:52:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 15:52:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 15:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28882040157896704,"km_value":28882040157896.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":820781062233251840,"description":"Unknown IO ID 45"} 
[2026-08-19 15:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506527488001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":820781062233251840}} 
[2026-08-19 15:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":157670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665454,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:52:13] local.INFO: GPS data processed {"connection_id":157670,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:52:13] local.INFO: Acknowledgment sent {"connection_id":157670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:52:13] local.INFO: TCP Data received {"connection_id":160217,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:52:13] local.INFO: Processing buffer {"connection_id":160217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:52:13] local.INFO: IMEI packet received {"connection_id":160217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":160217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:52:14] local.INFO: TCP Data received {"connection_id":160217,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01986e8f8012d108300071a2e18005e000126..."} 
[2026-08-19 15:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01986e8f8012d108300071a2e18005e000126..."} 
[2026-08-19 15:52:14] local.INFO: Processing buffer {"connection_id":160217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01986e8f8012d108300071a2e18005e000126..."} 
[2026-08-19 15:52:14] local.INFO: Packet analysis {"connection_id":160217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01986"} 
[2026-08-19 15:52:14] local.INFO: Extracted packet for processing {"connection_id":160217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01986"} 
[2026-08-19 15:52:14] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":38,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15:52: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-08-19 15:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506469376001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787134667000,"timestamp_ms":1787134667000,"timestamp_seconds":1787134667,"priority":1,"record_length":96,"hex_timestamp":"000001a01986e8f8"} 
[2026-08-19 15:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:52: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-08-19 15:52: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-08-19 15:52: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-08-19 15:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506469376001,"66":12678,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506469376001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:52:14] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:52:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506469376001,"power":12678,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":160217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:52:14] local.INFO: GPS data processed {"connection_id":160217,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:52:14] local.INFO: Acknowledgment sent {"connection_id":160217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:52:17] local.INFO: TCP Data received {"connection_id":157671,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01989e2b0012d7c9d0005eadf80000c004723..."} 
[2026-08-19 15:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01989e2b0012d7c9d0005eadf80000c004723..."} 
[2026-08-19 15:52:17] local.INFO: Processing buffer {"connection_id":157671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01989e2b0012d7c9d0005eadf80000c004723..."} 
[2026-08-19 15:52:17] local.INFO: Packet analysis {"connection_id":157671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:52:17] local.INFO: Extracted packet for processing {"connection_id":157671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:52:17] local.INFO: GPS Element Parsed {"raw_longitude":763141376,"raw_latitude":99278720,"longitude_deg":76.3141376,"latitude_deg":9.927872,"altitude":12,"angle":71,"satellites":35,"speed":34,"hex_longitude":"2d7c9d00","hex_latitude":"05eadf80","is_valid_coordinates":true} 
[2026-08-19 15:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506521600001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120735151347990528,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970044583229638656,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787134862000,"timestamp_ms":1787134862000,"timestamp_seconds":1787134862,"priority":1,"record_length":96,"hex_timestamp":"000001a01989e2b0"} 
[2026-08-19 15:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:52:17] 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-08-19 15:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-19 15:52: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-08-19 15:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:52:17] 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-08-19 15:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506521600001,"66":13515,"10":206,"87":13824,"24":34,"16":120735151347990528,"45":8970044583229638656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-19 15:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506521600001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:52:17] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:52:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120735151347990528,"km_value":120735151347990.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970044583229638656,"description":"Unknown IO ID 45"} 
[2026-08-19 15:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506521600001,"power":13515,"unknown_10":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8970044583229638656}} 
[2026-08-19 15:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":157671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:52:17] local.INFO: GPS data processed {"connection_id":157671,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:52:17] local.INFO: Acknowledgment sent {"connection_id":157671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:52:33] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:52:33] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:52:33] local.INFO: IMEI packet received {"connection_id":160218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":160218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:52:35] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:52:35] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:52:35] local.INFO: IMEI packet received {"connection_id":160218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":160218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:52:40] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:52:40] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:52:40] local.INFO: IMEI packet received {"connection_id":160218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":160218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:52:41] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0198a1960012d7cc00005eaea68000c004620..."} 
[2026-08-19 15:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198a1960012d7cc00005eaea68000c004620..."} 
[2026-08-19 15:52:41] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198a1960012d7cc00005eaea68000c004620..."} 
[2026-08-19 15:52:41] local.INFO: Packet analysis {"connection_id":160218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198a"} 
[2026-08-19 15:52:41] local.INFO: Extracted packet for processing {"connection_id":160218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198a"} 
[2026-08-19 15:52:41] local.INFO: GPS Element Parsed {"raw_longitude":763150336,"raw_latitude":99281512,"longitude_deg":76.3150336,"latitude_deg":9.9281512,"altitude":12,"angle":70,"satellites":32,"speed":15,"hex_longitude":"2d7cc000","hex_latitude":"05eaea68","is_valid_coordinates":true} 
[2026-08-19 15:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506524672001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120735598024589312,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979333257461989376,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:41] 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-08-19 15:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787134876000,"timestamp_ms":1787134876000,"timestamp_seconds":1787134876,"priority":1,"record_length":96,"hex_timestamp":"000001a0198a1960"} 
[2026-08-19 15:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-19 15:52:41] 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-08-19 15:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:52:41] 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-08-19 15:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506524672001,"66":12939,"8":206,"87":13824,"24":15,"16":120735598024589312,"45":8979333257461989376},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-08-19 15:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506524672001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:52:41] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 15:52:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120735598024589312,"km_value":120735598024589.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979333257461989376,"description":"Unknown IO ID 45"} 
[2026-08-19 15:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506524672001,"power":12939,"unknown_8":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8979333257461989376}} 
[2026-08-19 15:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":160218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:52:41] local.INFO: GPS data processed {"connection_id":160218,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:52:41] local.INFO: Acknowledgment sent {"connection_id":160218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:52:42] local.INFO: TCP Data received {"connection_id":157672,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01989cf28012ceaa60007146708000f00942c..."} 
[2026-08-19 15:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01989cf28012ceaa60007146708000f00942c..."} 
[2026-08-19 15:52:42] local.INFO: Processing buffer {"connection_id":157672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01989cf28012ceaa60007146708000f00942c..."} 
[2026-08-19 15:52:42] local.INFO: Packet analysis {"connection_id":157672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:52:42] local.INFO: Extracted packet for processing {"connection_id":157672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:52:42] local.INFO: GPS Element Parsed {"raw_longitude":753575424,"raw_latitude":118777608,"longitude_deg":75.3575424,"latitude_deg":11.8777608,"altitude":15,"angle":148,"satellites":44,"speed":26,"hex_longitude":"2ceaa600","hex_latitude":"07146708","is_valid_coordinates":true} 
[2026-08-19 15:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506520064001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386016069833195520,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1543749479360446464,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787134857000,"timestamp_ms":1787134857000,"timestamp_seconds":1787134857,"priority":1,"record_length":96,"hex_timestamp":"000001a01989cf28"} 
[2026-08-19 15:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:52: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-08-19 15:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 15:52:42] 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-08-19 15:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506520064001,"66":28050,"146":206,"2":54272,"24":26,"16":386016069833195520,"44":-1543749479360446464},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-19 15:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506520064001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:52:42] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-19 15:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386016069833195520,"km_value":386016069833195.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1543749479360446464,"description":"Unknown IO ID 44"} 
[2026-08-19 15:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506520064001,"power":28050,"unknown_146":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-1543749479360446464}} 
[2026-08-19 15:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":157672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:52:42] local.INFO: GPS data processed {"connection_id":157672,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:52:42] local.INFO: Acknowledgment sent {"connection_id":157672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:52:46] local.INFO: TCP Data received {"connection_id":160217,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019873b00012d108300071a2e18005e000127..."} 
[2026-08-19 15:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019873b00012d108300071a2e18005e000127..."} 
[2026-08-19 15:52:46] local.INFO: Processing buffer {"connection_id":160217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019873b00012d108300071a2e18005e000127..."} 
[2026-08-19 15:52:46] local.INFO: Packet analysis {"connection_id":160217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01987"} 
[2026-08-19 15:52:46] local.INFO: Extracted packet for processing {"connection_id":160217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01987"} 
[2026-08-19 15:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506474752001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787134688000,"timestamp_ms":1787134688000,"timestamp_seconds":1787134688,"priority":1,"record_length":96,"hex_timestamp":"000001a019873b00"} 
[2026-08-19 15:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:52: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-08-19 15: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 15:52:46] 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-08-19 15: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-08-19 15:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506474752001,"66":12667,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506474752001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:52:46] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:52:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506474752001,"power":12667,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":160217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:52:46] local.INFO: GPS data processed {"connection_id":160217,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:52:46] local.INFO: Acknowledgment sent {"connection_id":160217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:52:57] local.INFO: TCP Data received {"connection_id":158900,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:52:57] local.INFO: Processing buffer {"connection_id":158900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:52:57] local.INFO: IMEI packet received {"connection_id":158900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":158900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:52:59] local.INFO: TCP Data received {"connection_id":158900,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:52:59] local.INFO: Processing buffer {"connection_id":158900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:52:59] local.INFO: IMEI packet received {"connection_id":158900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":158900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:53:04] local.INFO: TCP Data received {"connection_id":158900,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:53:04] local.INFO: Processing buffer {"connection_id":158900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:53:04] local.INFO: IMEI packet received {"connection_id":158900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":158900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:53:05] local.INFO: TCP Data received {"connection_id":158900,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0198a01f0012ceab800071447d0000e00962f..."} 
[2026-08-19 15:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198a01f0012ceab800071447d0000e00962f..."} 
[2026-08-19 15:53:05] local.INFO: Processing buffer {"connection_id":158900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198a01f0012ceab800071447d0000e00962f..."} 
[2026-08-19 15:53:05] local.INFO: Packet analysis {"connection_id":158900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198a"} 
[2026-08-19 15:53:05] local.INFO: Extracted packet for processing {"connection_id":158900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198a"} 
[2026-08-19 15:53:05] local.INFO: GPS Element Parsed {"raw_longitude":753580032,"raw_latitude":118769616,"longitude_deg":75.3580032,"latitude_deg":11.8769616,"altitude":14,"angle":150,"satellites":47,"speed":26,"hex_longitude":"2ceab800","hex_latitude":"071447d0","is_valid_coordinates":true} 
[2026-08-19 15:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506523392001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386016516509794304,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1538542192293378048,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787134870000,"timestamp_ms":1787134870000,"timestamp_seconds":1787134870,"priority":1,"record_length":96,"hex_timestamp":"000001a0198a01f0"} 
[2026-08-19 15:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 15:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506523392001,"66":27919,"146":206,"2":54272,"24":26,"16":386016516509794304,"44":-1538542192293378048},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-19 15:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506523392001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:53:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-19 15:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386016516509794304,"km_value":386016516509794.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:53:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1538542192293378048,"description":"Unknown IO ID 44"} 
[2026-08-19 15:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506523392001,"power":27919,"unknown_146":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-1538542192293378048}} 
[2026-08-19 15:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":158900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:53:05] local.INFO: GPS data processed {"connection_id":158900,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:53:05] local.INFO: Acknowledgment sent {"connection_id":158900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:53:08] local.INFO: TCP Data received {"connection_id":158901,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158901,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:53:08] local.INFO: Processing buffer {"connection_id":158901,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:53:08] local.INFO: IMEI packet received {"connection_id":158901,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":158901,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:53:09] local.INFO: TCP Data received {"connection_id":158901,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158901,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:53:09] local.INFO: Processing buffer {"connection_id":158901,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:53:09] local.INFO: IMEI packet received {"connection_id":158901,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":158901,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:53:10] local.INFO: TCP Data received {"connection_id":158901,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158901,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:53:10] local.INFO: Processing buffer {"connection_id":158901,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:53:10] local.INFO: IMEI packet received {"connection_id":158901,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":158901,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:53:11] local.INFO: TCP Data received {"connection_id":158901,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158901,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:53:11] local.INFO: Processing buffer {"connection_id":158901,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:53:11] local.INFO: IMEI packet received {"connection_id":158901,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":158901,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:53:12] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0198ba000012d7d1d0005eafce0000c003a27..."} 
[2026-08-19 15:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198ba000012d7d1d0005eafce0000c003a27..."} 
[2026-08-19 15:53:12] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198ba000012d7d1d0005eafce0000c003a27..."} 
[2026-08-19 15:53:12] local.INFO: Packet analysis {"connection_id":160218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198b"} 
[2026-08-19 15:53:12] local.INFO: Extracted packet for processing {"connection_id":160218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198b"} 
[2026-08-19 15:53:12] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":99286240,"longitude_deg":76.3174144,"latitude_deg":9.928624,"altitude":12,"angle":58,"satellites":39,"speed":6,"hex_longitude":"2d7d1d00","hex_latitude":"05eafce0","is_valid_coordinates":true} 
[2026-08-19 15:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506552576001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120736796320464896,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013180623413157888,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787134976000,"timestamp_ms":1787134976000,"timestamp_seconds":1787134976,"priority":1,"record_length":96,"hex_timestamp":"000001a0198ba000"} 
[2026-08-19 15:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 15:53:12] 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-08-19 15:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:53:12] 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-08-19 15:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506552576001,"66":13037,"158":206,"87":13824,"24":6,"16":120736796320464896,"45":9013180623413157888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-19 15:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506552576001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:53:12] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 15:53:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120736796320464896,"km_value":120736796320464.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013180623413157888,"description":"Unknown IO ID 45"} 
[2026-08-19 15:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506552576001,"power":13037,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9013180623413157888}} 
[2026-08-19 15:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":160218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:53:12] local.INFO: GPS data processed {"connection_id":160218,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:53:12] local.INFO: Acknowledgment sent {"connection_id":160218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:53:13] local.INFO: TCP Data received {"connection_id":160219,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:53:13] local.INFO: Processing buffer {"connection_id":160219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:53:13] local.INFO: IMEI packet received {"connection_id":160219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":160219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:53:18] local.INFO: TCP Data received {"connection_id":160219,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:53:18] local.INFO: Processing buffer {"connection_id":160219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:53:18] local.INFO: IMEI packet received {"connection_id":160219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":160219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:53:19] local.INFO: TCP Data received {"connection_id":160219,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019878d08012d108300071a2e18005e00011f..."} 
[2026-08-19 15:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019878d08012d108300071a2e18005e00011f..."} 
[2026-08-19 15:53:19] local.INFO: Processing buffer {"connection_id":160219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019878d08012d108300071a2e18005e00011f..."} 
[2026-08-19 15:53:19] local.INFO: Packet analysis {"connection_id":160219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01987"} 
[2026-08-19 15:53:19] local.INFO: Extracted packet for processing {"connection_id":160219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01987"} 
[2026-08-19 15:53:19] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":31,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506480128001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787134709000,"timestamp_ms":1787134709000,"timestamp_seconds":1787134709,"priority":1,"record_length":96,"hex_timestamp":"000001a019878d08"} 
[2026-08-19 15:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:53: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-08-19 15: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-19 15:53:19] 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-08-19 15: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-08-19 15:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506480128001,"66":12591,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506480128001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:53:19] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:53:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506480128001,"power":12591,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":160219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:53:19] local.INFO: GPS data processed {"connection_id":160219,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:53:19] local.INFO: Acknowledgment sent {"connection_id":160219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:53:20] local.INFO: TCP Data received {"connection_id":160219,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01987df10012d108300071a2e18005e000126..."} 
[2026-08-19 15:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01987df10012d108300071a2e18005e000126..."} 
[2026-08-19 15:53:20] local.INFO: Processing buffer {"connection_id":160219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01987df10012d108300071a2e18005e000126..."} 
[2026-08-19 15:53:20] local.INFO: Packet analysis {"connection_id":160219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01987"} 
[2026-08-19 15:53:20] local.INFO: Extracted packet for processing {"connection_id":160219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01987"} 
[2026-08-19 15:53:20] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":38,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506485504001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787134730000,"timestamp_ms":1787134730000,"timestamp_seconds":1787134730,"priority":1,"record_length":96,"hex_timestamp":"000001a01987df10"} 
[2026-08-19 15:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 15:53:20] 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-08-19 15: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-08-19 15:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506485504001,"66":12580,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506485504001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:53:20] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:53:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506485504001,"power":12580,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":160219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:53:20] local.INFO: GPS data processed {"connection_id":160219,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:53:20] local.INFO: Acknowledgment sent {"connection_id":160219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:53:35] local.INFO: TCP Data received {"connection_id":158902,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:53:35] local.INFO: Processing buffer {"connection_id":158902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:53:35] local.INFO: IMEI packet received {"connection_id":158902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":158902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:53:38] local.INFO: TCP Data received {"connection_id":158900,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0198b6950012ceb1d800713d908001300622d..."} 
[2026-08-19 15:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198b6950012ceb1d800713d908001300622d..."} 
[2026-08-19 15:53:38] local.INFO: Processing buffer {"connection_id":158900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198b6950012ceb1d800713d908001300622d..."} 
[2026-08-19 15:53:38] local.INFO: Packet analysis {"connection_id":158900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198b"} 
[2026-08-19 15:53:38] local.INFO: Extracted packet for processing {"connection_id":158900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198b"} 
[2026-08-19 15:53:38] local.INFO: GPS Element Parsed {"raw_longitude":753606016,"raw_latitude":118741256,"longitude_deg":75.3606016,"latitude_deg":11.8741256,"altitude":19,"angle":98,"satellites":45,"speed":28,"hex_longitude":"2ceb1d80","hex_latitude":"0713d908","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506549504001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386018453540044800,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1507228101143511040,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787134962000,"timestamp_ms":1787134962000,"timestamp_seconds":1787134962,"priority":1,"record_length":96,"hex_timestamp":"000001a0198b6950"} 
[2026-08-19 15:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 15:53:38] 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-08-19 15: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-08-19 15:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506549504001,"66":27800,"12":206,"2":54272,"24":28,"16":386018453540044800,"44":-1507228101143511040},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 15:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506549504001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:53:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 15:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386018453540044800,"km_value":386018453540044.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:53:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1507228101143511040,"description":"Unknown IO ID 44"} 
[2026-08-19 15:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506549504001,"power":27800,"unknown_12":206,"power_alt":54272,"ignition":28,"odometer":null,"unknown_44":-1507228101143511040}} 
[2026-08-19 15:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":158900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:53:38] local.INFO: GPS data processed {"connection_id":158900,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:53:38] local.INFO: Acknowledgment sent {"connection_id":158900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:53:40] local.INFO: TCP Data received {"connection_id":158902,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:53:40] local.INFO: Processing buffer {"connection_id":158902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:53:40] local.INFO: IMEI packet received {"connection_id":158902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":158902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:53:41] local.INFO: TCP Data received {"connection_id":158902,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0198ba7d0012d7d1dc005eafd38000c004927..."} 
[2026-08-19 15:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198ba7d0012d7d1dc005eafd38000c004927..."} 
[2026-08-19 15:53:41] local.INFO: Processing buffer {"connection_id":158902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198ba7d0012d7d1dc005eafd38000c004927..."} 
[2026-08-19 15:53:41] local.INFO: Packet analysis {"connection_id":158902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198b"} 
[2026-08-19 15:53:41] local.INFO: Extracted packet for processing {"connection_id":158902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198b"} 
[2026-08-19 15:53:41] local.INFO: GPS Element Parsed {"raw_longitude":763174336,"raw_latitude":99286328,"longitude_deg":76.3174336,"latitude_deg":9.9286328,"altitude":12,"angle":73,"satellites":39,"speed":6,"hex_longitude":"2d7d1dc0","hex_latitude":"05eafd38","is_valid_coordinates":true} 
[2026-08-19 15:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506553856001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120736804910399488,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054482878464,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:41] 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-08-19 15:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787134978000,"timestamp_ms":1787134978000,"timestamp_seconds":1787134978,"priority":1,"record_length":96,"hex_timestamp":"000001a0198ba7d0"} 
[2026-08-19 15:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:53:41] 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-08-19 15:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-19 15:53:41] 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-08-19 15:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:53:41] 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-08-19 15:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506553856001,"66":12906,"158":206,"87":13824,"24":6,"16":120736804910399488,"45":9015362054482878464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-19 15:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506553856001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:53:41] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 15:53:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120736804910399488,"km_value":120736804910399.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054482878464,"description":"Unknown IO ID 45"} 
[2026-08-19 15:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506553856001,"power":12906,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9015362054482878464}} 
[2026-08-19 15:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":158902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:53:41] local.INFO: GPS data processed {"connection_id":158902,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:53:41] local.INFO: Acknowledgment sent {"connection_id":158902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:53:51] local.INFO: TCP Data received {"connection_id":160219,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019883118012d108300071a2e18005e000129..."} 
[2026-08-19 15:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019883118012d108300071a2e18005e000129..."} 
[2026-08-19 15:53:51] local.INFO: Processing buffer {"connection_id":160219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019883118012d108300071a2e18005e000129..."} 
[2026-08-19 15:53:51] local.INFO: Packet analysis {"connection_id":160219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01988"} 
[2026-08-19 15:53:51] local.INFO: Extracted packet for processing {"connection_id":160219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01988"} 
[2026-08-19 15:53:51] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506490880001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787134751000,"timestamp_ms":1787134751000,"timestamp_seconds":1787134751,"priority":1,"record_length":96,"hex_timestamp":"000001a019883118"} 
[2026-08-19 15:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:53: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-08-19 15:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-19 15:53:51] 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-08-19 15:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506490880001,"66":12548,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506490880001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:53:51] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506490880001,"power":12548,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":160219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:53:51] local.INFO: GPS data processed {"connection_id":160219,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:53:51] local.INFO: Acknowledgment sent {"connection_id":160219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:53:59] local.INFO: TCP Data received {"connection_id":157673,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:53:59] local.INFO: Processing buffer {"connection_id":157673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:53:59] local.INFO: IMEI packet received {"connection_id":157673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":157673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:53:59] local.INFO: TCP Data received {"connection_id":157673,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:53:59] local.INFO: Processing buffer {"connection_id":157673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:53:59] local.INFO: IMEI packet received {"connection_id":157673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":157673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:54:00] local.INFO: TCP Data received {"connection_id":157673,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:54:00] local.INFO: Processing buffer {"connection_id":157673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:54:00] local.INFO: IMEI packet received {"connection_id":157673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":157673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:54:04] local.INFO: TCP Data received {"connection_id":157673,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:54:04] local.INFO: Processing buffer {"connection_id":157673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:54:04] local.INFO: IMEI packet received {"connection_id":157673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":157673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:54:04] local.INFO: TCP Data received {"connection_id":157673,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0198ba000012ceb3f000713d310000f006e2b..."} 
[2026-08-19 15:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198ba000012ceb3f000713d310000f006e2b..."} 
[2026-08-19 15:54:04] local.INFO: Processing buffer {"connection_id":157673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198ba000012ceb3f000713d310000f006e2b..."} 
[2026-08-19 15:54:04] local.INFO: Packet analysis {"connection_id":157673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198b"} 
[2026-08-19 15:54:04] local.INFO: Extracted packet for processing {"connection_id":157673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198b"} 
[2026-08-19 15:54:04] local.INFO: GPS Element Parsed {"raw_longitude":753614592,"raw_latitude":118739728,"longitude_deg":75.3614592,"latitude_deg":11.8739728,"altitude":15,"angle":110,"satellites":43,"speed":21,"hex_longitude":"2ceb3f00","hex_latitude":"0713d310","is_valid_coordinates":true} 
[2026-08-19 15:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506550272001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386018865856905216,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1504905932585760768,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787134976000,"timestamp_ms":1787134976000,"timestamp_seconds":1787134976,"priority":1,"record_length":96,"hex_timestamp":"000001a0198ba000"} 
[2026-08-19 15:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:54: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-08-19 15:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 15:54: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-08-19 15:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506550272001,"66":28006,"10":206,"2":54272,"24":21,"16":386018865856905216,"44":-1504905932585760768},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 15:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506550272001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:54:04] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386018865856905216,"km_value":386018865856905.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:54:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1504905932585760768,"description":"Unknown IO ID 44"} 
[2026-08-19 15:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506550272001,"power":28006,"unknown_10":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-1504905932585760768}} 
[2026-08-19 15:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":157673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:54:04] local.INFO: GPS data processed {"connection_id":157673,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:54:04] local.INFO: Acknowledgment sent {"connection_id":157673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:54:08] local.INFO: TCP Data received {"connection_id":158903,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:54:08] local.INFO: Processing buffer {"connection_id":158903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:54:08] local.INFO: IMEI packet received {"connection_id":158903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":158903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:54:13] local.INFO: TCP Data received {"connection_id":158902,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0198bcee0012d7d224005eafc50000b00a726..."} 
[2026-08-19 15:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198bcee0012d7d224005eafc50000b00a726..."} 
[2026-08-19 15:54:13] local.INFO: Processing buffer {"connection_id":158902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198bcee0012d7d224005eafc50000b00a726..."} 
[2026-08-19 15:54:13] local.INFO: Packet analysis {"connection_id":158902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198b"} 
[2026-08-19 15:54:13] local.INFO: Extracted packet for processing {"connection_id":158902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198b"} 
[2026-08-19 15:54:13] local.INFO: GPS Element Parsed {"raw_longitude":763175488,"raw_latitude":99286096,"longitude_deg":76.3175488,"latitude_deg":9.9286096,"altitude":11,"angle":167,"satellites":38,"speed":8,"hex_longitude":"2d7d2240","hex_latitude":"05eafc50","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506554368001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120736882219810816,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015573160715433984,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:13] 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-08-19 15:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787134988000,"timestamp_ms":1787134988000,"timestamp_seconds":1787134988,"priority":1,"record_length":96,"hex_timestamp":"000001a0198bcee0"} 
[2026-08-19 15:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-19 15:54:13] 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-08-19 15: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-08-19 15:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:54:13] 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-08-19 15:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506554368001,"66":13580,"158":206,"87":13824,"24":8,"16":120736882219810816,"45":9015573160715433984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-19 15:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506554368001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:54:13] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 15:54:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120736882219810816,"km_value":120736882219810.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015573160715433984,"description":"Unknown IO ID 45"} 
[2026-08-19 15:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506554368001,"power":13580,"unknown_158":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9015573160715433984}} 
[2026-08-19 15:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":158902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:54:13] local.INFO: GPS data processed {"connection_id":158902,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:54:13] local.INFO: Acknowledgment sent {"connection_id":158902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:54:13] local.INFO: TCP Data received {"connection_id":158903,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:54:13] local.INFO: Processing buffer {"connection_id":158903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:54:13] local.INFO: IMEI packet received {"connection_id":158903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":158903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:54:14] local.INFO: TCP Data received {"connection_id":158903,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019888320012d108300071a2e18005e000128..."} 
[2026-08-19 15:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019888320012d108300071a2e18005e000128..."} 
[2026-08-19 15:54:14] local.INFO: Processing buffer {"connection_id":158903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019888320012d108300071a2e18005e000128..."} 
[2026-08-19 15:54:14] local.INFO: Packet analysis {"connection_id":158903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01988"} 
[2026-08-19 15:54:14] local.INFO: Extracted packet for processing {"connection_id":158903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01988"} 
[2026-08-19 15:54:14] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":40,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506496256001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787134772000,"timestamp_ms":1787134772000,"timestamp_seconds":1787134772,"priority":1,"record_length":96,"hex_timestamp":"000001a019888320"} 
[2026-08-19 15:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":4,"data_length":795,"current_offset":136} 
[2026-08-19 15:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:14] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184208433357,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:14] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2263414785,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1763115214,"corrected_to":0} 
[2026-08-19 15:54:14] local.WARNING: Large IO value detected {"io_id":150,"raw_value":4026608912,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:14] local.WARNING: Large IO value detected {"io_id":105,"raw_value":1657551521501419520,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:14] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,23,83,24,241,157,16,34,160,223,45,46,94,38,10,66,141,31,59,1,240,123,227,25,26,4,113,205,150,131,239,49,2,7,105],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1763115214,"validated":0}]} 
[2026-08-19 15:54:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6773415115170512896,"timestamp_seconds":6773415115170513.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 15:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506496256001,"66":12504,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506496256001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:54:14] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:54:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506496256001,"power":12504,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":158903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:54:15] local.INFO: GPS data processed {"connection_id":158903,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:54:15] local.INFO: Acknowledgment sent {"connection_id":158903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:54:19] local.INFO: TCP Data received {"connection_id":158903,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01988d528012d108300071a2e18005e000125..."} 
[2026-08-19 15:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01988d528012d108300071a2e18005e000125..."} 
[2026-08-19 15:54:19] local.INFO: Processing buffer {"connection_id":158903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01988d528012d108300071a2e18005e000125..."} 
[2026-08-19 15:54:19] local.INFO: Packet analysis {"connection_id":158903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01988"} 
[2026-08-19 15:54:19] local.INFO: Extracted packet for processing {"connection_id":158903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01988"} 
[2026-08-19 15:54:19] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":37,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506501632001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787134793000,"timestamp_ms":1787134793000,"timestamp_seconds":1787134793,"priority":1,"record_length":96,"hex_timestamp":"000001a01988d528"} 
[2026-08-19 15:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:54: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-08-19 15:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 15:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506501632001,"66":12504,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506501632001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:54:19] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:54:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506501632001,"power":12504,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":158903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:54:19] local.INFO: GPS data processed {"connection_id":158903,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:54:19] local.INFO: Acknowledgment sent {"connection_id":158903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:54:35] local.INFO: TCP Data received {"connection_id":157674,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:54:35] local.INFO: Processing buffer {"connection_id":157674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:54:35] local.INFO: IMEI packet received {"connection_id":157674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":157674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:54:36] local.INFO: TCP Data received {"connection_id":157673,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0198ba7d0012ceb42800713d128000f007d2a..."} 
[2026-08-19 15:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198ba7d0012ceb42800713d128000f007d2a..."} 
[2026-08-19 15:54:36] local.INFO: Processing buffer {"connection_id":157673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198ba7d0012ceb42800713d128000f007d2a..."} 
[2026-08-19 15:54:36] local.INFO: Packet analysis {"connection_id":157673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198b"} 
[2026-08-19 15:54:36] local.INFO: Extracted packet for processing {"connection_id":157673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198b"} 
[2026-08-19 15:54:36] local.INFO: GPS Element Parsed {"raw_longitude":753615488,"raw_latitude":118739240,"longitude_deg":75.3615488,"latitude_deg":11.873924,"altitude":15,"angle":125,"satellites":42,"speed":18,"hex_longitude":"2ceb4280","hex_latitude":"0713d128","is_valid_coordinates":true} 
[2026-08-19 15:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506553856001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386018913101545472,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1495476520866344960,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787134978000,"timestamp_ms":1787134978000,"timestamp_seconds":1787134978,"priority":1,"record_length":96,"hex_timestamp":"000001a0198ba7d0"} 
[2026-08-19 15:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 15:54:36] 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-08-19 15:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506553856001,"66":27745,"10":206,"2":54272,"24":18,"16":386018913101545472,"44":-1495476520866344960},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 15:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506553856001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:54:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386018913101545472,"km_value":386018913101545.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:54:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1495476520866344960,"description":"Unknown IO ID 44"} 
[2026-08-19 15:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506553856001,"power":27745,"unknown_10":206,"power_alt":54272,"ignition":18,"odometer":null,"unknown_44":-1495476520866344960}} 
[2026-08-19 15:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":157673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:54:36] local.INFO: GPS data processed {"connection_id":157673,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:54:36] local.INFO: Acknowledgment sent {"connection_id":157673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:54:39] local.INFO: TCP Data received {"connection_id":157674,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:54:39] local.INFO: Processing buffer {"connection_id":157674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:54:39] local.INFO: IMEI packet received {"connection_id":157674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":157674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:54:48] local.INFO: TCP Data received {"connection_id":157674,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:54:48] local.INFO: Processing buffer {"connection_id":157674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:54:48] local.INFO: IMEI packet received {"connection_id":157674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":157674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:54:49] local.INFO: TCP Data received {"connection_id":157674,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0198bd6b0012d7d220005eaf838000a00b526..."} 
[2026-08-19 15:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198bd6b0012d7d220005eaf838000a00b526..."} 
[2026-08-19 15:54:49] local.INFO: Processing buffer {"connection_id":157674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198bd6b0012d7d220005eaf838000a00b526..."} 
[2026-08-19 15:54:49] local.INFO: Packet analysis {"connection_id":157674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198b"} 
[2026-08-19 15:54:49] local.INFO: Extracted packet for processing {"connection_id":157674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198b"} 
[2026-08-19 15:54:49] local.INFO: GPS Element Parsed {"raw_longitude":763175424,"raw_latitude":99285048,"longitude_deg":76.3175424,"latitude_deg":9.9285048,"altitude":10,"angle":181,"satellites":38,"speed":20,"hex_longitude":"2d7d2200","hex_latitude":"05eaf838","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506556928001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120736933759418368,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016839798110572544,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787134990000,"timestamp_ms":1787134990000,"timestamp_seconds":1787134990,"priority":1,"record_length":96,"hex_timestamp":"000001a0198bd6b0"} 
[2026-08-19 15:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:54:49] 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-08-19 15: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 15:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623408,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5984999131263795200,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:49] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2336118785,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:49] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3997696015,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634042044666014,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-08-19 15:54:49] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184336,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:49] local.WARNING: Large IO value detected {"io_id":248,"raw_value":2147871469,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:49] local.WARNING: Large IO value detected {"io_id":172,"raw_value":4043833344,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:49] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-774612629345796081,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:49] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-1008580570399060393,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:49] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:49] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,158,87,24,241,157,16,160,167,45,192,253,12,39,10,66,252,140,64,1,240,166,227,25,234,4,113,205,50,248,168,30,239,2,172,5,15,124,51,54],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-08-19 15:54:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792817316068327424,"timestamp_seconds":792817316068327.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 15:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":157674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":157674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":157674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:54:49] 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-08-19 15:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506556928001,"66":13319,"158":206,"87":13824,"24":20,"16":120736933759418368,"45":9016839798110572544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-19 15:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506556928001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:54:49] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 15:54:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120736933759418368,"km_value":120736933759418.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016839798110572544,"description":"Unknown IO ID 45"} 
[2026-08-19 15:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506556928001,"power":13319,"unknown_158":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":9016839798110572544}} 
[2026-08-19 15:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":157674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:54:49] local.INFO: GPS data processed {"connection_id":157674,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:54:49] local.INFO: Acknowledgment sent {"connection_id":157674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:54:50] local.INFO: TCP Data received {"connection_id":157674,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0198c01a8012d7d214005eaec60000b00c628..."} 
[2026-08-19 15:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198c01a8012d7d214005eaec60000b00c628..."} 
[2026-08-19 15:54:50] local.INFO: Processing buffer {"connection_id":157674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198c01a8012d7d214005eaec60000b00c628..."} 
[2026-08-19 15:54:50] local.INFO: Packet analysis {"connection_id":157674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198c"} 
[2026-08-19 15:54:50] local.INFO: Extracted packet for processing {"connection_id":157674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198c"} 
[2026-08-19 15:54:50] local.INFO: GPS Element Parsed {"raw_longitude":763175232,"raw_latitude":99282016,"longitude_deg":76.3175232,"latitude_deg":9.9282016,"altitude":11,"angle":198,"satellites":40,"speed":10,"hex_longitude":"2d7d2140","hex_latitude":"05eaec60","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506557440001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120737084083273728,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016769429366126592,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54: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-08-19 15:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787135001000,"timestamp_ms":1787135001000,"timestamp_seconds":1787135001,"priority":1,"record_length":96,"hex_timestamp":"000001a0198c01a8"} 
[2026-08-19 15:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:54: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-08-19 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 15:54:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:50] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2341238785,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:50] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-1346576224153361408,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-08-19 15:54:50] local.WARNING: Large IO value detected {"io_id":250,"raw_value":3221613294,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:50] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391952,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:50] local.WARNING: Large IO value detected {"io_id":172,"raw_value":4044292096,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3941443584,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:50] local.WARNING: Large IO value detected {"io_id":161,"raw_value":57791009774262070,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:50] local.WARNING: Large IO value detected {"io_id":139,"raw_value":3084967039630491653,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:50] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,158,87,24,241,157,16,160,206,45,64,252,11,38,10,66,167,192,253,12,39,1,240,237,227,25,234,4,113,205,62,250,72,32,239,51,2,172,5,15,8,161,139],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-08-19 15:54:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720775115193974784,"timestamp_seconds":720775115193974.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 15:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":157674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":157674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":157674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 15:54:50] 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-08-19 15:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 15:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 15:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506557440001,"66":13493,"158":206,"87":13824,"24":10,"16":120737084083273728,"45":9016769429366126592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-19 15:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 15:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 15:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506557440001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:54:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 15:54:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 15:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120737084083273728,"km_value":120737084083273.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016769429366126592,"description":"Unknown IO ID 45"} 
[2026-08-19 15:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506557440001,"power":13493,"unknown_158":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9016769429366126592}} 
[2026-08-19 15:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":157674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:54:50] local.INFO: GPS data processed {"connection_id":157674,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:54:50] local.INFO: Acknowledgment sent {"connection_id":157674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:54:50] local.INFO: TCP Data received {"connection_id":158903,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019892730012d108300071a2e18005e000127..."} 
[2026-08-19 15:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019892730012d108300071a2e18005e000127..."} 
[2026-08-19 15:54:50] local.INFO: Processing buffer {"connection_id":158903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019892730012d108300071a2e18005e000127..."} 
[2026-08-19 15:54:50] local.INFO: Packet analysis {"connection_id":158903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:54:50] local.INFO: Extracted packet for processing {"connection_id":158903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:54:50] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506507008001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787134814000,"timestamp_ms":1787134814000,"timestamp_seconds":1787134814,"priority":1,"record_length":96,"hex_timestamp":"000001a019892730"} 
[2026-08-19 15:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 15:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":158903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":158903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":158903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506507008001,"66":12461,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506507008001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:54:50] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:54:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506507008001,"power":12461,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":158903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:54:50] local.INFO: GPS data processed {"connection_id":158903,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:54:50] local.INFO: Acknowledgment sent {"connection_id":158903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:54:59] local.INFO: TCP Data received {"connection_id":158042,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:54:59] local.INFO: Processing buffer {"connection_id":158042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:54:59] local.INFO: IMEI packet received {"connection_id":158042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":158042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:55:03] local.INFO: TCP Data received {"connection_id":158042,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:55:03] local.INFO: Processing buffer {"connection_id":158042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:55:03] local.INFO: IMEI packet received {"connection_id":158042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":158042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:55:04] local.INFO: TCP Data received {"connection_id":158042,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0198be268012ceb5b000713c1300010006f2c..."} 
[2026-08-19 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198be268012ceb5b000713c1300010006f2c..."} 
[2026-08-19 15:55:04] local.INFO: Processing buffer {"connection_id":158042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198be268012ceb5b000713c1300010006f2c..."} 
[2026-08-19 15:55:04] local.INFO: Packet analysis {"connection_id":158042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198b"} 
[2026-08-19 15:55:04] local.INFO: Extracted packet for processing {"connection_id":158042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198b"} 
[2026-08-19 15:55:04] local.INFO: GPS Element Parsed {"raw_longitude":753621760,"raw_latitude":118735152,"longitude_deg":75.362176,"latitude_deg":11.8735152,"altitude":16,"angle":111,"satellites":44,"speed":14,"hex_longitude":"2ceb5b00","hex_latitude":"0713c130","is_valid_coordinates":true} 
[2026-08-19 15:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506554368001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019273878798336,"note":"Value kept but may cause issues"} 
[2026-08-19 15:55:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1494491358447982592,"note":"Value kept but may cause issues"} 
[2026-08-19 15:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787134993000,"timestamp_ms":1787134993000,"timestamp_seconds":1787134993,"priority":1,"record_length":96,"hex_timestamp":"000001a0198be268"} 
[2026-08-19 15:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:55: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-08-19 15:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 15:55:04] 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-08-19 15:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506554368001,"66":27865,"10":206,"2":54272,"24":14,"16":386019273878798336,"44":-1494491358447982592},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 15:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506554368001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:55:04] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019273878798336,"km_value":386019273878798.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:55:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1494491358447982592,"description":"Unknown IO ID 44"} 
[2026-08-19 15:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506554368001,"power":27865,"unknown_10":206,"power_alt":54272,"ignition":14,"odometer":null,"unknown_44":-1494491358447982592}} 
[2026-08-19 15:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":158042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:55:04] local.INFO: GPS data processed {"connection_id":158042,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:55:04] local.INFO: Acknowledgment sent {"connection_id":158042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:55:08] local.INFO: TCP Data received {"connection_id":158904,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:55:08] local.INFO: Processing buffer {"connection_id":158904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:55:08] local.INFO: IMEI packet received {"connection_id":158904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":158904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:55:13] local.INFO: TCP Data received {"connection_id":158904,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:55:13] local.INFO: Processing buffer {"connection_id":158904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:55:13] local.INFO: IMEI packet received {"connection_id":158904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":158904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:55:14] local.INFO: TCP Data received {"connection_id":158904,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019897938012d108300071a2e18005e000126..."} 
[2026-08-19 15:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019897938012d108300071a2e18005e000126..."} 
[2026-08-19 15:55:14] local.INFO: Processing buffer {"connection_id":158904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019897938012d108300071a2e18005e000126..."} 
[2026-08-19 15:55:14] local.INFO: Packet analysis {"connection_id":158904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:55:14] local.INFO: Extracted packet for processing {"connection_id":158904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:55:14] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":38,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15:55: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-08-19 15:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506512384001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787134835000,"timestamp_ms":1787134835000,"timestamp_seconds":1787134835,"priority":1,"record_length":96,"hex_timestamp":"000001a019897938"} 
[2026-08-19 15:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:55: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":173,"data_length":795,"current_offset":136} 
[2026-08-19 15:55:14] 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-08-19 15:55: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-08-19 15:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506512384001,"66":12461,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506512384001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:55:14] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:55:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506512384001,"power":12461,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":158904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:55:14] local.INFO: GPS data processed {"connection_id":158904,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:55:14] local.INFO: Acknowledgment sent {"connection_id":158904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:55:36] local.INFO: TCP Data received {"connection_id":158042,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0198bf5f0012ceb61000713bf480012005e2e..."} 
[2026-08-19 15:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198bf5f0012ceb61000713bf480012005e2e..."} 
[2026-08-19 15:55:36] local.INFO: Processing buffer {"connection_id":158042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198bf5f0012ceb61000713bf480012005e2e..."} 
[2026-08-19 15:55:36] local.INFO: Packet analysis {"connection_id":158042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198b"} 
[2026-08-19 15:55:36] local.INFO: Extracted packet for processing {"connection_id":158042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198b"} 
[2026-08-19 15:55:36] local.INFO: GPS Element Parsed {"raw_longitude":753623296,"raw_latitude":118734664,"longitude_deg":75.3623296,"latitude_deg":11.8734664,"altitude":18,"angle":94,"satellites":46,"speed":9,"hex_longitude":"2ceb6100","hex_latitude":"0713bf48","is_valid_coordinates":true} 
[2026-08-19 15:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506558208001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019351188209664,"note":"Value kept but may cause issues"} 
[2026-08-19 15:55:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1487595221519618048,"note":"Value kept but may cause issues"} 
[2026-08-19 15:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787134998000,"timestamp_ms":1787134998000,"timestamp_seconds":1787134998,"priority":1,"record_length":96,"hex_timestamp":"000001a0198bf5f0"} 
[2026-08-19 15:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 15:55:36] 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-08-19 15:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506558208001,"66":28028,"10":206,"2":54272,"24":9,"16":386019351188209664,"44":-1487595221519618048},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 15:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506558208001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:55:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019351188209664,"km_value":386019351188209.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:55:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1487595221519618048,"description":"Unknown IO ID 44"} 
[2026-08-19 15:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506558208001,"power":28028,"unknown_10":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-1487595221519618048}} 
[2026-08-19 15:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":158042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:55:36] local.INFO: GPS data processed {"connection_id":158042,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:55:36] local.INFO: Acknowledgment sent {"connection_id":158042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:55:37] local.INFO: TCP Data received {"connection_id":158043,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:55:37] local.INFO: Processing buffer {"connection_id":158043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:55:37] local.INFO: IMEI packet received {"connection_id":158043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 15:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":158043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:55:39] local.INFO: TCP Data received {"connection_id":158043,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:55:39] local.INFO: Processing buffer {"connection_id":158043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:55:39] local.INFO: IMEI packet received {"connection_id":158043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:55:39] local.INFO: IMEI acknowledgment sent {"connection_id":158043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:55:40] local.INFO: TCP Data received {"connection_id":158043,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:55:40] local.INFO: Processing buffer {"connection_id":158043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:55:40] local.INFO: IMEI packet received {"connection_id":158043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":158043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:55:40] local.INFO: TCP Data received {"connection_id":158043,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:55:40] local.INFO: Processing buffer {"connection_id":158043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 15:55:40] local.INFO: IMEI packet received {"connection_id":158043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 15:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":158043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:55:45] local.INFO: TCP Data received {"connection_id":158904,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01989cb40012d108300071a2e18005e000126..."} 
[2026-08-19 15:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01989cb40012d108300071a2e18005e000126..."} 
[2026-08-19 15:55:45] local.INFO: Processing buffer {"connection_id":158904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01989cb40012d108300071a2e18005e000126..."} 
[2026-08-19 15:55:45] local.INFO: Packet analysis {"connection_id":158904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:55:45] local.INFO: Extracted packet for processing {"connection_id":158904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01989"} 
[2026-08-19 15:55:45] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":38,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506517760001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787134856000,"timestamp_ms":1787134856000,"timestamp_seconds":1787134856,"priority":1,"record_length":96,"hex_timestamp":"000001a01989cb40"} 
[2026-08-19 15:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 15:55: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-08-19 15:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506517760001,"66":12461,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506517760001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:55:45] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:55:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506517760001,"power":12461,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":158904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:55:46] local.INFO: GPS data processed {"connection_id":158904,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:55:46] local.INFO: Acknowledgment sent {"connection_id":158904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:56:04] local.INFO: TCP Data received {"connection_id":160221,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:56:04] local.INFO: Processing buffer {"connection_id":160221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:56:04] local.INFO: IMEI packet received {"connection_id":160221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":160221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:56:06] local.INFO: TCP Data received {"connection_id":160221,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:56:06] local.INFO: Processing buffer {"connection_id":160221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:56:06] local.INFO: IMEI packet received {"connection_id":160221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":160221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:56:07] local.INFO: TCP Data received {"connection_id":160221,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0198c01a8012ceb63800713bf000011006c2e..."} 
[2026-08-19 15:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198c01a8012ceb63800713bf000011006c2e..."} 
[2026-08-19 15:56:07] local.INFO: Processing buffer {"connection_id":160221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198c01a8012ceb63800713bf000011006c2e..."} 
[2026-08-19 15:56:07] local.INFO: Packet analysis {"connection_id":160221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198c"} 
[2026-08-19 15:56:07] local.INFO: Extracted packet for processing {"connection_id":160221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198c"} 
[2026-08-19 15:56:07] local.INFO: GPS Element Parsed {"raw_longitude":753623936,"raw_latitude":118734592,"longitude_deg":75.3623936,"latitude_deg":11.8734592,"altitude":17,"angle":108,"satellites":46,"speed":8,"hex_longitude":"2ceb6380","hex_latitude":"0713bf00","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506559488001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019381252980736,"note":"Value kept but may cause issues"} 
[2026-08-19 15:56:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1485906371659479040,"note":"Value kept but may cause issues"} 
[2026-08-19 15:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787135001000,"timestamp_ms":1787135001000,"timestamp_seconds":1787135001,"priority":1,"record_length":96,"hex_timestamp":"000001a0198c01a8"} 
[2026-08-19 15:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:56: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-08-19 15: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-19 15:56:07] 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-08-19 15: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-08-19 15:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506559488001,"66":27908,"10":206,"2":54272,"24":8,"16":386019381252980736,"44":-1485906371659479040},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 15:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506559488001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:56:07] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019381252980736,"km_value":386019381252980.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:56:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1485906371659479040,"description":"Unknown IO ID 44"} 
[2026-08-19 15:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506559488001,"power":27908,"unknown_10":206,"power_alt":54272,"ignition":8,"odometer":null,"unknown_44":-1485906371659479040}} 
[2026-08-19 15:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":160221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:56:07] local.INFO: GPS data processed {"connection_id":160221,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:56:07] local.INFO: Acknowledgment sent {"connection_id":160221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:56:07] local.INFO: TCP Data received {"connection_id":158044,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:56:07] local.INFO: Processing buffer {"connection_id":158044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:56:07] local.INFO: IMEI packet received {"connection_id":158044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":158044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:56:08] local.INFO: TCP Data received {"connection_id":158044,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:56:08] local.INFO: Processing buffer {"connection_id":158044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:56:08] local.INFO: IMEI packet received {"connection_id":158044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":158044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:56:09] local.INFO: TCP Data received {"connection_id":160221,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0198c0590012ceb64400713be90001100842e..."} 
[2026-08-19 15:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198c0590012ceb64400713be90001100842e..."} 
[2026-08-19 15:56:09] local.INFO: Processing buffer {"connection_id":160221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198c0590012ceb64400713be90001100842e..."} 
[2026-08-19 15:56:09] local.INFO: Packet analysis {"connection_id":160221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198c"} 
[2026-08-19 15:56:09] local.INFO: Extracted packet for processing {"connection_id":160221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198c"} 
[2026-08-19 15:56:09] local.INFO: GPS Element Parsed {"raw_longitude":753624128,"raw_latitude":118734480,"longitude_deg":75.3624128,"latitude_deg":11.873448,"altitude":17,"angle":132,"satellites":46,"speed":6,"hex_longitude":"2ceb6440","hex_latitude":"0713be90","is_valid_coordinates":true} 
[2026-08-19 15:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506560256001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019389842915328,"note":"Value kept but may cause issues"} 
[2026-08-19 15:56:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1485202684217720832,"note":"Value kept but may cause issues"} 
[2026-08-19 15:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787135002000,"timestamp_ms":1787135002000,"timestamp_seconds":1787135002,"priority":1,"record_length":96,"hex_timestamp":"000001a0198c0590"} 
[2026-08-19 15:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:56: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-08-19 15:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 15:56:09] 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-08-19 15:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506560256001,"66":27843,"10":206,"2":54272,"24":6,"16":386019389842915328,"44":-1485202684217720832},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 15:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506560256001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:56:09] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019389842915328,"km_value":386019389842915.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:56:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1485202684217720832,"description":"Unknown IO ID 44"} 
[2026-08-19 15:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506560256001,"power":27843,"unknown_10":206,"power_alt":54272,"ignition":6,"odometer":null,"unknown_44":-1485202684217720832}} 
[2026-08-19 15:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":160221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:56:09] local.INFO: GPS data processed {"connection_id":160221,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:56:09] local.INFO: Acknowledgment sent {"connection_id":160221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:56:13] local.INFO: TCP Data received {"connection_id":158044,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:56:13] local.INFO: Processing buffer {"connection_id":158044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:56:13] local.INFO: IMEI packet received {"connection_id":158044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":158044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:56:14] local.INFO: TCP Data received {"connection_id":158044,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0198d5198012d108300071a2e18005e000129..."} 
[2026-08-19 15:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198d5198012d108300071a2e18005e000129..."} 
[2026-08-19 15:56:14] local.INFO: Processing buffer {"connection_id":158044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198d5198012d108300071a2e18005e000129..."} 
[2026-08-19 15:56:14] local.INFO: Packet analysis {"connection_id":158044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198d"} 
[2026-08-19 15:56:14] local.INFO: Extracted packet for processing {"connection_id":158044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198d"} 
[2026-08-19 15:56:14] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506576896001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787135087000,"timestamp_ms":1787135087000,"timestamp_seconds":1787135087,"priority":1,"record_length":96,"hex_timestamp":"000001a0198d5198"} 
[2026-08-19 15:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 15:56:14] 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-08-19 15: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-08-19 15:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506576896001,"66":12319,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506576896001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:56:14] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:56:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506576896001,"power":12319,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":158044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:56:14] local.INFO: GPS data processed {"connection_id":158044,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:56:14] local.INFO: Acknowledgment sent {"connection_id":158044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:56:41] local.INFO: TCP Data received {"connection_id":160221,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0198c5798012ceb64800713bc98001300842d..."} 
[2026-08-19 15:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198c5798012ceb64800713bc98001300842d..."} 
[2026-08-19 15:56:41] local.INFO: Processing buffer {"connection_id":160221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198c5798012ceb64800713bc98001300842d..."} 
[2026-08-19 15:56:41] local.INFO: Packet analysis {"connection_id":160221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198c"} 
[2026-08-19 15:56:41] local.INFO: Extracted packet for processing {"connection_id":160221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198c"} 
[2026-08-19 15:56:41] local.INFO: GPS Element Parsed {"raw_longitude":753624192,"raw_latitude":118733976,"longitude_deg":75.3624192,"latitude_deg":11.8733976,"altitude":19,"angle":132,"satellites":45,"speed":0,"hex_longitude":"2ceb6480","hex_latitude":"0713bc98","is_valid_coordinates":true} 
[2026-08-19 15:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506560512001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019445677490176,"note":"Value kept but may cause issues"} 
[2026-08-19 15:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484991577985216512,"note":"Value kept but may cause issues"} 
[2026-08-19 15:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787135023000,"timestamp_ms":1787135023000,"timestamp_seconds":1787135023,"priority":1,"record_length":96,"hex_timestamp":"000001a0198c5798"} 
[2026-08-19 15:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:56: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-08-19 15:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 15:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506560512001,"66":28028,"10":206,"2":54272,"24":0,"16":386019445677490176,"44":-1484991577985216512},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 15:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506560512001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:56:41] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019445677490176,"km_value":386019445677490.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484991577985216512,"description":"Unknown IO ID 44"} 
[2026-08-19 15:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506560512001,"power":28028,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484991577985216512}} 
[2026-08-19 15:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":160221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:56:41] local.INFO: GPS data processed {"connection_id":160221,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:56:41] local.INFO: Acknowledgment sent {"connection_id":160221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:56:45] local.INFO: TCP Data received {"connection_id":158044,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0198da3a0012d108300071a2e18005e000123..."} 
[2026-08-19 15:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198da3a0012d108300071a2e18005e000123..."} 
[2026-08-19 15:56:45] local.INFO: Processing buffer {"connection_id":158044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198da3a0012d108300071a2e18005e000123..."} 
[2026-08-19 15:56:45] local.INFO: Packet analysis {"connection_id":158044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198d"} 
[2026-08-19 15:56:45] local.INFO: Extracted packet for processing {"connection_id":158044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198d"} 
[2026-08-19 15:56:45] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":35,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506582272001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787135108000,"timestamp_ms":1787135108000,"timestamp_seconds":1787135108,"priority":1,"record_length":96,"hex_timestamp":"000001a0198da3a0"} 
[2026-08-19 15:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:56:45] 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-08-19 15: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-19 15:56:45] 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-08-19 15: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-08-19 15:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506582272001,"66":12385,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506582272001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:56:45] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:56:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506582272001,"power":12385,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":158044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:56:46] local.INFO: GPS data processed {"connection_id":158044,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:56:46] local.INFO: Acknowledgment sent {"connection_id":158044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:56:56] local.INFO: TCP Data received {"connection_id":157678,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:56:56] local.INFO: Processing buffer {"connection_id":157678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:56:56] local.INFO: IMEI packet received {"connection_id":157678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":157678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:56:59] local.INFO: TCP Data received {"connection_id":157678,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:56:59] local.INFO: Processing buffer {"connection_id":157678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:56:59] local.INFO: IMEI packet received {"connection_id":157678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":157678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:57:04] local.INFO: TCP Data received {"connection_id":157678,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:57:04] local.INFO: Processing buffer {"connection_id":157678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:57:04] local.INFO: IMEI packet received {"connection_id":157678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":157678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:57:05] local.INFO: TCP Data received {"connection_id":157678,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0198ea188012ceb58000713c168001101332d..."} 
[2026-08-19 15:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198ea188012ceb58000713c168001101332d..."} 
[2026-08-19 15:57:05] local.INFO: Processing buffer {"connection_id":157678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198ea188012ceb58000713c168001101332d..."} 
[2026-08-19 15:57:05] local.INFO: Packet analysis {"connection_id":157678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198e"} 
[2026-08-19 15:57:05] local.INFO: Extracted packet for processing {"connection_id":157678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198e"} 
[2026-08-19 15:57:05] local.INFO: GPS Element Parsed {"raw_longitude":753620992,"raw_latitude":118735208,"longitude_deg":75.3620992,"latitude_deg":11.8735208,"altitude":17,"angle":307,"satellites":45,"speed":16,"hex_longitude":"2ceb5800","hex_latitude":"0713c168","is_valid_coordinates":true} 
[2026-08-19 15:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506603776001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019630361083904,"note":"Value kept but may cause issues"} 
[2026-08-19 15:57:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1487665590263898112,"note":"Value kept but may cause issues"} 
[2026-08-19 15:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787135173000,"timestamp_ms":1787135173000,"timestamp_seconds":1787135173,"priority":1,"record_length":96,"hex_timestamp":"000001a0198ea188"} 
[2026-08-19 15:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 15:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506603776001,"66":28028,"10":206,"2":54272,"24":16,"16":386019630361083904,"44":-1487665590263898112},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 15:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506603776001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:57:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019630361083904,"km_value":386019630361083.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:57:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1487665590263898112,"description":"Unknown IO ID 44"} 
[2026-08-19 15:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506603776001,"power":28028,"unknown_10":206,"power_alt":54272,"ignition":16,"odometer":null,"unknown_44":-1487665590263898112}} 
[2026-08-19 15:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":157678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:57:05] local.INFO: GPS data processed {"connection_id":157678,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:57:05] local.INFO: Acknowledgment sent {"connection_id":157678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:57:08] local.INFO: TCP Data received {"connection_id":160222,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:57:08] local.INFO: Processing buffer {"connection_id":160222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:57:08] local.INFO: IMEI packet received {"connection_id":160222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":160222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:57:10] local.INFO: TCP Data received {"connection_id":160222,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:57:10] local.INFO: Processing buffer {"connection_id":160222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:57:10] local.INFO: IMEI packet received {"connection_id":160222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":160222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:57:13] local.INFO: TCP Data received {"connection_id":160222,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:57:13] local.INFO: Processing buffer {"connection_id":160222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:57:13] local.INFO: IMEI packet received {"connection_id":160222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":160222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:57:14] local.INFO: TCP Data received {"connection_id":160222,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0198df5a8012d108300071a2e18005e000128..."} 
[2026-08-19 15:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198df5a8012d108300071a2e18005e000128..."} 
[2026-08-19 15:57:14] local.INFO: Processing buffer {"connection_id":160222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198df5a8012d108300071a2e18005e000128..."} 
[2026-08-19 15:57:14] local.INFO: Packet analysis {"connection_id":160222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198d"} 
[2026-08-19 15:57:14] local.INFO: Extracted packet for processing {"connection_id":160222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198d"} 
[2026-08-19 15:57:14] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":40,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506587648001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787135129000,"timestamp_ms":1787135129000,"timestamp_seconds":1787135129,"priority":1,"record_length":96,"hex_timestamp":"000001a0198df5a8"} 
[2026-08-19 15:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 15:57:14] 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-08-19 15: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-08-19 15:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506587648001,"66":12341,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506587648001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:57:14] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:57:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506587648001,"power":12341,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":160222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:57:14] local.INFO: GPS data processed {"connection_id":160222,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:57:14] local.INFO: Acknowledgment sent {"connection_id":160222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:57:36] local.INFO: TCP Data received {"connection_id":157678,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0198eb128012ceb53800713c520001001272c..."} 
[2026-08-19 15:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198eb128012ceb53800713c520001001272c..."} 
[2026-08-19 15:57:36] local.INFO: Processing buffer {"connection_id":157678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198eb128012ceb53800713c520001001272c..."} 
[2026-08-19 15:57:36] local.INFO: Packet analysis {"connection_id":157678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198e"} 
[2026-08-19 15:57:36] local.INFO: Extracted packet for processing {"connection_id":157678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198e"} 
[2026-08-19 15:57:36] local.INFO: GPS Element Parsed {"raw_longitude":753619840,"raw_latitude":118736160,"longitude_deg":75.361984,"latitude_deg":11.873616,"altitude":16,"angle":295,"satellites":44,"speed":6,"hex_longitude":"2ceb5380","hex_latitude":"0713c520","is_valid_coordinates":true} 
[2026-08-19 15:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506604288001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019703375527936,"note":"Value kept but may cause issues"} 
[2026-08-19 15:57:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1488439646449735680,"note":"Value kept but may cause issues"} 
[2026-08-19 15:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787135177000,"timestamp_ms":1787135177000,"timestamp_seconds":1787135177,"priority":1,"record_length":96,"hex_timestamp":"000001a0198eb128"} 
[2026-08-19 15:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-19 15:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506604288001,"66":27995,"10":206,"2":54272,"24":6,"16":386019703375527936,"44":-1488439646449735680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 15:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506604288001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:57:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019703375527936,"km_value":386019703375527.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:57:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1488439646449735680,"description":"Unknown IO ID 44"} 
[2026-08-19 15:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506604288001,"power":27995,"unknown_10":206,"power_alt":54272,"ignition":6,"odometer":null,"unknown_44":-1488439646449735680}} 
[2026-08-19 15:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":157678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:57:36] local.INFO: GPS data processed {"connection_id":157678,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:57:36] local.INFO: Acknowledgment sent {"connection_id":157678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:57:45] local.INFO: TCP Data received {"connection_id":160222,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0198e47b0012d108300071a2e18005e000128..."} 
[2026-08-19 15:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198e47b0012d108300071a2e18005e000128..."} 
[2026-08-19 15:57:45] local.INFO: Processing buffer {"connection_id":160222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198e47b0012d108300071a2e18005e000128..."} 
[2026-08-19 15:57:45] local.INFO: Packet analysis {"connection_id":160222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198e"} 
[2026-08-19 15:57:45] local.INFO: Extracted packet for processing {"connection_id":160222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198e"} 
[2026-08-19 15:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":40,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506593024001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787135150000,"timestamp_ms":1787135150000,"timestamp_seconds":1787135150,"priority":1,"record_length":96,"hex_timestamp":"000001a0198e47b0"} 
[2026-08-19 15:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:57:45] 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-08-19 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-19 15:57:45] 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-08-19 15: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-08-19 15:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506593024001,"66":12363,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506593024001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:57:45] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:57:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506593024001,"power":12363,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":160222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:57:46] local.INFO: GPS data processed {"connection_id":160222,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:57:46] local.INFO: Acknowledgment sent {"connection_id":160222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:57:59] local.INFO: TCP Data received {"connection_id":157680,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:57:59] local.INFO: Processing buffer {"connection_id":157680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:57:59] local.INFO: IMEI packet received {"connection_id":157680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":157680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:58:03] local.INFO: TCP Data received {"connection_id":157680,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:58:03] local.INFO: Processing buffer {"connection_id":157680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:58:03] local.INFO: IMEI packet received {"connection_id":157680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":157680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:58:04] local.INFO: TCP Data received {"connection_id":157680,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0198eb510012ceb53000713c5a00010011b2c..."} 
[2026-08-19 15:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198eb510012ceb53000713c5a00010011b2c..."} 
[2026-08-19 15:58:04] local.INFO: Processing buffer {"connection_id":157680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198eb510012ceb53000713c5a00010011b2c..."} 
[2026-08-19 15:58:04] local.INFO: Packet analysis {"connection_id":157680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198e"} 
[2026-08-19 15:58:04] local.INFO: Extracted packet for processing {"connection_id":157680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198e"} 
[2026-08-19 15:58:04] local.INFO: GPS Element Parsed {"raw_longitude":753619712,"raw_latitude":118736288,"longitude_deg":75.3619712,"latitude_deg":11.8736288,"altitude":16,"angle":283,"satellites":44,"speed":5,"hex_longitude":"2ceb5300","hex_latitude":"0713c5a0","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506605312001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019711965462528,"note":"Value kept but may cause issues"} 
[2026-08-19 15:58:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1489706283844689920,"note":"Value kept but may cause issues"} 
[2026-08-19 15:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787135178000,"timestamp_ms":1787135178000,"timestamp_seconds":1787135178,"priority":1,"record_length":96,"hex_timestamp":"000001a0198eb510"} 
[2026-08-19 15:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:58: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-08-19 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 15:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506605312001,"66":28028,"10":206,"2":54272,"24":5,"16":386019711965462528,"44":-1489706283844689920},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 15:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506605312001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:58:04] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019711965462528,"km_value":386019711965462.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:58:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1489706283844689920,"description":"Unknown IO ID 44"} 
[2026-08-19 15:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506605312001,"power":28028,"unknown_10":206,"power_alt":54272,"ignition":5,"odometer":null,"unknown_44":-1489706283844689920}} 
[2026-08-19 15:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":157680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:58:04] local.INFO: GPS data processed {"connection_id":157680,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:58:04] local.INFO: Acknowledgment sent {"connection_id":157680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:58:08] local.INFO: TCP Data received {"connection_id":158905,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:58:08] local.INFO: Processing buffer {"connection_id":158905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:58:08] local.INFO: IMEI packet received {"connection_id":158905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":158905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:58:14] local.INFO: TCP Data received {"connection_id":158905,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:58:14] local.INFO: Processing buffer {"connection_id":158905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:58:14] local.INFO: IMEI packet received {"connection_id":158905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":158905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:58:14] local.INFO: TCP Data received {"connection_id":158905,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0198e99b8012d108300071a2e18005e000127..."} 
[2026-08-19 15:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198e99b8012d108300071a2e18005e000127..."} 
[2026-08-19 15:58:14] local.INFO: Processing buffer {"connection_id":158905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198e99b8012d108300071a2e18005e000127..."} 
[2026-08-19 15:58:14] local.INFO: Packet analysis {"connection_id":158905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198e"} 
[2026-08-19 15:58:14] local.INFO: Extracted packet for processing {"connection_id":158905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198e"} 
[2026-08-19 15:58:14] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506598400001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787135171000,"timestamp_ms":1787135171000,"timestamp_seconds":1787135171,"priority":1,"record_length":96,"hex_timestamp":"000001a0198e99b8"} 
[2026-08-19 15:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:58:14] 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-08-19 15: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-19 15:58:14] 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-08-19 15: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-08-19 15:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506598400001,"66":12374,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506598400001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:58:14] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:58:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506598400001,"power":12374,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":158905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:58:14] local.INFO: GPS data processed {"connection_id":158905,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:58:14] local.INFO: Acknowledgment sent {"connection_id":158905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:58:17] local.INFO: TCP Data received {"connection_id":157679,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157679,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:58:17] local.INFO: Processing buffer {"connection_id":157679,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:58:17] local.INFO: IMEI packet received {"connection_id":157679,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":157679,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:58:17] local.INFO: TCP Data received {"connection_id":157679,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0198ff560012d0a7380070604800015009e24..."} 
[2026-08-19 15:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198ff560012d0a7380070604800015009e24..."} 
[2026-08-19 15:58:17] local.INFO: Processing buffer {"connection_id":157679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198ff560012d0a7380070604800015009e24..."} 
[2026-08-19 15:58:17] local.INFO: Packet analysis {"connection_id":157679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198f"} 
[2026-08-19 15:58:17] local.INFO: Extracted packet for processing {"connection_id":157679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198f"} 
[2026-08-19 15:58:17] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117834880,"longitude_deg":75.5659648,"latitude_deg":11.783488,"altitude":21,"angle":158,"satellites":36,"speed":2,"hex_longitude":"2d0a7380","hex_latitude":"07060480","is_valid_coordinates":true} 
[2026-08-19 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-08-19 15:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506622720001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28888933580406784,"note":"Value kept but may cause issues"} 
[2026-08-19 15:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753015961610993664,"note":"Value kept but may cause issues"} 
[2026-08-19 15:58:17] 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-08-19 15:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787135260000,"timestamp_ms":1787135260000,"timestamp_seconds":1787135260,"priority":1,"record_length":96,"hex_timestamp":"000001a0198ff560"} 
[2026-08-19 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-08-19 15:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 15:58:17] 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-08-19 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-08-19 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-08-19 15:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157679,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 15:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 15:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 15:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506622720001,"66":14428,"153":206,"94":10240,"24":2,"16":28888933580406784,"45":753015961610993664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-19 15:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 15:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 15:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506622720001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:58:17] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 15:58:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 15:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28888933580406784,"km_value":28888933580406.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":753015961610993664,"description":"Unknown IO ID 45"} 
[2026-08-19 15:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506622720001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753015961610993664}} 
[2026-08-19 15:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":157679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665490,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:58:18] local.INFO: GPS data processed {"connection_id":157679,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:58:18] local.INFO: Acknowledgment sent {"connection_id":157679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:58:36] local.INFO: TCP Data received {"connection_id":157680,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0198ee7d8012ceb50400713c8f0001101342c..."} 
[2026-08-19 15:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198ee7d8012ceb50400713c8f0001101342c..."} 
[2026-08-19 15:58:36] local.INFO: Processing buffer {"connection_id":157680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198ee7d8012ceb50400713c8f0001101342c..."} 
[2026-08-19 15:58:36] local.INFO: Packet analysis {"connection_id":157680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198e"} 
[2026-08-19 15:58:36] local.INFO: Extracted packet for processing {"connection_id":157680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198e"} 
[2026-08-19 15:58:36] local.INFO: GPS Element Parsed {"raw_longitude":753619008,"raw_latitude":118737136,"longitude_deg":75.3619008,"latitude_deg":11.8737136,"altitude":17,"angle":308,"satellites":44,"speed":6,"hex_longitude":"2ceb5040","hex_latitude":"0713c8f0","is_valid_coordinates":true} 
[2026-08-19 15:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506605568001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019767800037376,"note":"Value kept but may cause issues"} 
[2026-08-19 15:58:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1489847021333012480,"note":"Value kept but may cause issues"} 
[2026-08-19 15:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787135191000,"timestamp_ms":1787135191000,"timestamp_seconds":1787135191,"priority":1,"record_length":96,"hex_timestamp":"000001a0198ee7d8"} 
[2026-08-19 15:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-19 15:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506605568001,"66":27995,"10":206,"2":54272,"24":6,"16":386019767800037376,"44":-1489847021333012480},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 15:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506605568001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:58:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019767800037376,"km_value":386019767800037.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:58:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1489847021333012480,"description":"Unknown IO ID 44"} 
[2026-08-19 15:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506605568001,"power":27995,"unknown_10":206,"power_alt":54272,"ignition":6,"odometer":null,"unknown_44":-1489847021333012480}} 
[2026-08-19 15:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":157680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:58:36] local.INFO: GPS data processed {"connection_id":157680,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:58:36] local.INFO: Acknowledgment sent {"connection_id":157680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:58:36] local.INFO: TCP Data received {"connection_id":160223,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:58:36] local.INFO: Processing buffer {"connection_id":160223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:58:36] local.INFO: IMEI packet received {"connection_id":160223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 15:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":160223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:58:37] local.INFO: TCP Data received {"connection_id":160223,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:58:37] local.INFO: Processing buffer {"connection_id":160223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:58:37] local.INFO: IMEI packet received {"connection_id":160223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":160223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:58:39] local.INFO: TCP Data received {"connection_id":160223,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:58:39] local.INFO: Processing buffer {"connection_id":160223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:58:39] local.INFO: IMEI packet received {"connection_id":160223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":160223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:58:40] local.INFO: TCP Data received {"connection_id":160223,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:58:40] local.INFO: Processing buffer {"connection_id":160223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 15:58:40] local.INFO: IMEI packet received {"connection_id":160223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 15:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":160223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:58:46] local.INFO: TCP Data received {"connection_id":158905,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0198eebc0012d108300071a2e18005e000129..."} 
[2026-08-19 15:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198eebc0012d108300071a2e18005e000129..."} 
[2026-08-19 15:58:46] local.INFO: Processing buffer {"connection_id":158905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198eebc0012d108300071a2e18005e000129..."} 
[2026-08-19 15:58:46] local.INFO: Packet analysis {"connection_id":158905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198e"} 
[2026-08-19 15:58:46] local.INFO: Extracted packet for processing {"connection_id":158905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198e"} 
[2026-08-19 15:58:46] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506603776001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787135192000,"timestamp_ms":1787135192000,"timestamp_seconds":1787135192,"priority":1,"record_length":96,"hex_timestamp":"000001a0198eebc0"} 
[2026-08-19 15:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:58: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-08-19 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-19 15:58:46] 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-08-19 15: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-08-19 15:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506603776001,"66":12363,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506603776001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:58:46] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:58:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506603776001,"power":12363,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":158905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:58:46] local.INFO: GPS data processed {"connection_id":158905,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:58:46] local.INFO: Acknowledgment sent {"connection_id":158905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:58:59] local.INFO: TCP Data received {"connection_id":158906,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:58:59] local.INFO: Processing buffer {"connection_id":158906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:58:59] local.INFO: IMEI packet received {"connection_id":158906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":158906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:59:04] local.INFO: TCP Data received {"connection_id":158906,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:59:04] local.INFO: Processing buffer {"connection_id":158906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:59:04] local.INFO: IMEI packet received {"connection_id":158906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 15:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":158906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:59:05] local.INFO: TCP Data received {"connection_id":158906,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0198eebc0012ceb4fc00713c968001101232c..."} 
[2026-08-19 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198eebc0012ceb4fc00713c968001101232c..."} 
[2026-08-19 15:59:05] local.INFO: Processing buffer {"connection_id":158906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198eebc0012ceb4fc00713c968001101232c..."} 
[2026-08-19 15:59:05] local.INFO: Packet analysis {"connection_id":158906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198e"} 
[2026-08-19 15:59:05] local.INFO: Extracted packet for processing {"connection_id":158906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198e"} 
[2026-08-19 15:59:05] local.INFO: GPS Element Parsed {"raw_longitude":753618880,"raw_latitude":118737256,"longitude_deg":75.361888,"latitude_deg":11.8737256,"altitude":17,"angle":291,"satellites":44,"speed":7,"hex_longitude":"2ceb4fc0","hex_latitude":"0713c968","is_valid_coordinates":true} 
[2026-08-19 15:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506608896001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019776389971968,"note":"Value kept but may cause issues"} 
[2026-08-19 15:59:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1490621077518749696,"note":"Value kept but may cause issues"} 
[2026-08-19 15:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787135192000,"timestamp_ms":1787135192000,"timestamp_seconds":1787135192,"priority":1,"record_length":96,"hex_timestamp":"000001a0198eebc0"} 
[2026-08-19 15:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 15:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15: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-08-19 15:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506608896001,"66":27952,"10":206,"2":54272,"24":7,"16":386019776389971968,"44":-1490621077518749696},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 15:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506608896001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:59:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019776389971968,"km_value":386019776389971.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:59:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1490621077518749696,"description":"Unknown IO ID 44"} 
[2026-08-19 15:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506608896001,"power":27952,"unknown_10":206,"power_alt":54272,"ignition":7,"odometer":null,"unknown_44":-1490621077518749696}} 
[2026-08-19 15:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":158906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:59:05] local.INFO: GPS data processed {"connection_id":158906,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:59:05] local.INFO: Acknowledgment sent {"connection_id":158906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:59:08] local.INFO: TCP Data received {"connection_id":158046,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:59:08] local.INFO: Processing buffer {"connection_id":158046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:59:08] local.INFO: IMEI packet received {"connection_id":158046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 15:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":158046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 15:59:13] local.INFO: TCP Data received {"connection_id":158046,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:59:13] local.INFO: Processing buffer {"connection_id":158046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 15:59:13] local.INFO: IMEI packet received {"connection_id":158046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 15:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":158046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 15:59:14] local.INFO: TCP Data received {"connection_id":158046,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0198f3dc8012d108300071a2e18005e000128..."} 
[2026-08-19 15:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198f3dc8012d108300071a2e18005e000128..."} 
[2026-08-19 15:59:14] local.INFO: Processing buffer {"connection_id":158046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198f3dc8012d108300071a2e18005e000128..."} 
[2026-08-19 15:59:14] local.INFO: Packet analysis {"connection_id":158046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198f"} 
[2026-08-19 15:59:14] local.INFO: Extracted packet for processing {"connection_id":158046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198f"} 
[2026-08-19 15:59:14] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":40,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15: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-08-19 15:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506609152001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787135213000,"timestamp_ms":1787135213000,"timestamp_seconds":1787135213,"priority":1,"record_length":96,"hex_timestamp":"000001a0198f3dc8"} 
[2026-08-19 15:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-19 15:59:14] 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-08-19 15:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506609152001,"66":12374,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506609152001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:59:14] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:59:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506609152001,"power":12374,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":158046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:59:14] local.INFO: GPS data processed {"connection_id":158046,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:59:14] local.INFO: Acknowledgment sent {"connection_id":158046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:59:37] local.INFO: TCP Data received {"connection_id":158906,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0198f0330012ceb4bc00713cbe80011012f2c..."} 
[2026-08-19 15:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198f0330012ceb4bc00713cbe80011012f2c..."} 
[2026-08-19 15:59:37] local.INFO: Processing buffer {"connection_id":158906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198f0330012ceb4bc00713cbe80011012f2c..."} 
[2026-08-19 15:59:37] local.INFO: Packet analysis {"connection_id":158906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198f"} 
[2026-08-19 15:59:37] local.INFO: Extracted packet for processing {"connection_id":158906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198f"} 
[2026-08-19 15:59:37] local.INFO: GPS Element Parsed {"raw_longitude":753617856,"raw_latitude":118737896,"longitude_deg":75.3617856,"latitude_deg":11.8737896,"altitude":17,"angle":303,"satellites":44,"speed":5,"hex_longitude":"2ceb4bc0","hex_latitude":"0713cbe8","is_valid_coordinates":true} 
[2026-08-19 15:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506609152001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019832224546816,"note":"Value kept but may cause issues"} 
[2026-08-19 15:59:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1490761815007074304,"note":"Value kept but may cause issues"} 
[2026-08-19 15:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787135198000,"timestamp_ms":1787135198000,"timestamp_seconds":1787135198,"priority":1,"record_length":96,"hex_timestamp":"000001a0198f0330"} 
[2026-08-19 15:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:59: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-08-19 15:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-08-19 15:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 15:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 15:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 15:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 15:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506609152001,"66":27919,"10":206,"2":54272,"24":5,"16":386019832224546816,"44":-1490761815007074304},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 15:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 15:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 15:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506609152001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:59:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 15:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019832224546816,"km_value":386019832224546.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:59:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1490761815007074304,"description":"Unknown IO ID 44"} 
[2026-08-19 15:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506609152001,"power":27919,"unknown_10":206,"power_alt":54272,"ignition":5,"odometer":null,"unknown_44":-1490761815007074304}} 
[2026-08-19 15:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":158906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:59:37] local.INFO: GPS data processed {"connection_id":158906,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:59:37] local.INFO: Acknowledgment sent {"connection_id":158906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:59:45] local.INFO: TCP Data received {"connection_id":158046,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0198f8fd0012d108300071a2e18005e000123..."} 
[2026-08-19 15:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198f8fd0012d108300071a2e18005e000123..."} 
[2026-08-19 15:59:45] local.INFO: Processing buffer {"connection_id":158046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198f8fd0012d108300071a2e18005e000123..."} 
[2026-08-19 15:59:45] local.INFO: Packet analysis {"connection_id":158046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198f"} 
[2026-08-19 15:59:45] local.INFO: Extracted packet for processing {"connection_id":158046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198f"} 
[2026-08-19 15:59:45] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":35,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 15:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 15:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506614528001,"note":"Value kept but may cause issues"} 
[2026-08-19 15:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 15:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 15:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 15:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787135234000,"timestamp_ms":1787135234000,"timestamp_seconds":1787135234,"priority":1,"record_length":96,"hex_timestamp":"000001a0198f8fd0"} 
[2026-08-19 15:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 15:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 15:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-19 15:59:45] 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-08-19 15:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 15:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 15:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 15:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 15:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 15:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 15:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 15:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 15:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506614528001,"66":12385,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 15:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 15:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 15:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506614528001,"description":"Unknown IO ID 0"} 
[2026-08-19 15:59:45] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 15:59:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 15:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 15:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 15:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506614528001,"power":12385,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 15:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":158046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 15:59:46] local.INFO: GPS data processed {"connection_id":158046,"processed":1,"errors":0,"total":1} 
[2026-08-19 15:59:46] local.INFO: Acknowledgment sent {"connection_id":158046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 15:59:59] local.INFO: TCP Data received {"connection_id":158907,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:59:59] local.INFO: Processing buffer {"connection_id":158907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 15:59:59] local.INFO: IMEI packet received {"connection_id":158907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 15:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":158907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:00:04] local.INFO: TCP Data received {"connection_id":158907,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:00:04] local.INFO: Processing buffer {"connection_id":158907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:00:04] local.INFO: IMEI packet received {"connection_id":158907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":158907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:00:06] local.INFO: TCP Data received {"connection_id":158907,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0198f16b8012ceb49000713cde00011013b2d..."} 
[2026-08-19 16:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198f16b8012ceb49000713cde00011013b2d..."} 
[2026-08-19 16:00:06] local.INFO: Processing buffer {"connection_id":158907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198f16b8012ceb49000713cde00011013b2d..."} 
[2026-08-19 16:00:06] local.INFO: Packet analysis {"connection_id":158907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198f"} 
[2026-08-19 16:00:06] local.INFO: Extracted packet for processing {"connection_id":158907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198f"} 
[2026-08-19 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":753617152,"raw_latitude":118738400,"longitude_deg":75.3617152,"latitude_deg":11.87384,"altitude":17,"angle":315,"satellites":45,"speed":5,"hex_longitude":"2ceb4900","hex_latitude":"0713cde0","is_valid_coordinates":true} 
[2026-08-19 16:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506610688001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019875174219776,"note":"Value kept but may cause issues"} 
[2026-08-19 16:00:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1491887714913753088,"note":"Value kept but may cause issues"} 
[2026-08-19 16:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787135203000,"timestamp_ms":1787135203000,"timestamp_seconds":1787135203,"priority":1,"record_length":96,"hex_timestamp":"000001a0198f16b8"} 
[2026-08-19 16:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:00: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-08-19 16:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 16:00:06] 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-08-19 16:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506610688001,"66":28093,"10":206,"2":54272,"24":5,"16":386019875174219776,"44":-1491887714913753088},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506610688001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:00:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019875174219776,"km_value":386019875174219.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:00:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1491887714913753088,"description":"Unknown IO ID 44"} 
[2026-08-19 16:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506610688001,"power":28093,"unknown_10":206,"power_alt":54272,"ignition":5,"odometer":null,"unknown_44":-1491887714913753088}} 
[2026-08-19 16:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":158907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:00:06] local.INFO: GPS data processed {"connection_id":158907,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:00:06] local.INFO: Acknowledgment sent {"connection_id":158907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:00:13] local.INFO: TCP Data received {"connection_id":160225,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:00:13] local.INFO: Processing buffer {"connection_id":160225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:00:13] local.INFO: IMEI packet received {"connection_id":160225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":160225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:00:18] local.INFO: TCP Data received {"connection_id":160225,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:00:18] local.INFO: Processing buffer {"connection_id":160225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:00:18] local.INFO: IMEI packet received {"connection_id":160225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":160225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:00:19] local.INFO: TCP Data received {"connection_id":160225,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0198fe1d8012d108300071a2e18005e000125..."} 
[2026-08-19 16:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198fe1d8012d108300071a2e18005e000125..."} 
[2026-08-19 16:00:19] local.INFO: Processing buffer {"connection_id":160225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198fe1d8012d108300071a2e18005e000125..."} 
[2026-08-19 16:00:19] local.INFO: Packet analysis {"connection_id":160225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198f"} 
[2026-08-19 16:00:19] local.INFO: Extracted packet for processing {"connection_id":160225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198f"} 
[2026-08-19 16:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":37,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506619904001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 16:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 16:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787135255000,"timestamp_ms":1787135255000,"timestamp_seconds":1787135255,"priority":1,"record_length":96,"hex_timestamp":"000001a0198fe1d8"} 
[2026-08-19 16:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 16:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506619904001,"66":12363,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 16:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506619904001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:00:19] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 16:00:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 16:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506619904001,"power":12363,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 16:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":160225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:00:19] local.INFO: GPS data processed {"connection_id":160225,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:00:19] local.INFO: Acknowledgment sent {"connection_id":160225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:00:38] local.INFO: TCP Data received {"connection_id":158907,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0198f68c0012ceb49000713cf20001201352c..."} 
[2026-08-19 16:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198f68c0012ceb49000713cf20001201352c..."} 
[2026-08-19 16:00:38] local.INFO: Processing buffer {"connection_id":158907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198f68c0012ceb49000713cf20001201352c..."} 
[2026-08-19 16:00:38] local.INFO: Packet analysis {"connection_id":158907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198f"} 
[2026-08-19 16:00:38] local.INFO: Extracted packet for processing {"connection_id":158907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198f"} 
[2026-08-19 16:00:38] local.INFO: GPS Element Parsed {"raw_longitude":753617152,"raw_latitude":118738720,"longitude_deg":75.3617152,"latitude_deg":11.873872,"altitude":18,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2ceb4900","hex_latitude":"0713cf20","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506611968001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019926713827328,"note":"Value kept but may cause issues"} 
[2026-08-19 16:00:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492661771099578368,"note":"Value kept but may cause issues"} 
[2026-08-19 16:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787135224000,"timestamp_ms":1787135224000,"timestamp_seconds":1787135224,"priority":1,"record_length":96,"hex_timestamp":"000001a0198f68c0"} 
[2026-08-19 16:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:00: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-08-19 16: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-19 16:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506611968001,"66":28028,"10":206,"2":54272,"24":0,"16":386019926713827328,"44":-1492661771099578368},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506611968001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:00:38] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019926713827328,"km_value":386019926713827.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:00:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492661771099578368,"description":"Unknown IO ID 44"} 
[2026-08-19 16:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506611968001,"power":28028,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492661771099578368}} 
[2026-08-19 16:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":158907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:00:38] local.INFO: GPS data processed {"connection_id":158907,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:00:38] local.INFO: Acknowledgment sent {"connection_id":158907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:00:45] local.INFO: TCP Data received {"connection_id":160226,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:00:45] local.INFO: Processing buffer {"connection_id":160226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:00:45] local.INFO: IMEI packet received {"connection_id":160226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":160226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:00:46] local.INFO: TCP Data received {"connection_id":160226,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0199279e8012d7b494005e92ec0000200ee1f..."} 
[2026-08-19 16:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199279e8012d7b494005e92ec0000200ee1f..."} 
[2026-08-19 16:00:46] local.INFO: Processing buffer {"connection_id":160226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199279e8012d7b494005e92ec0000200ee1f..."} 
[2026-08-19 16:00:46] local.INFO: Packet analysis {"connection_id":160226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01992"} 
[2026-08-19 16:00:46] local.INFO: Extracted packet for processing {"connection_id":160226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01992"} 
[2026-08-19 16:00:46] local.INFO: GPS Element Parsed {"raw_longitude":763054400,"raw_latitude":99167936,"longitude_deg":76.30544,"latitude_deg":9.9167936,"altitude":2,"angle":238,"satellites":31,"speed":5,"hex_longitude":"2d7b4940","hex_latitude":"05e92ec0","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506664448001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120747181551386624,"note":"Value kept but may cause issues"} 
[2026-08-19 16:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891935277165187072,"note":"Value kept but may cause issues"} 
[2026-08-19 16:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787135425000,"timestamp_ms":1787135425000,"timestamp_seconds":1787135425,"priority":1,"record_length":96,"hex_timestamp":"000001a0199279e8"} 
[2026-08-19 16:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:00: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-08-19 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-19 16:00:46] 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-08-19 16: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-08-19 16:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:00:46] 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-08-19 16:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506664448001,"66":12472,"156":206,"87":13824,"24":5,"16":120747181551386624,"45":8891935277165187072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-19 16:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506664448001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:00:46] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 16:00:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120747181551386624,"km_value":120747181551386.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891935277165187072,"description":"Unknown IO ID 45"} 
[2026-08-19 16:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506664448001,"power":12472,"unknown_156":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8891935277165187072}} 
[2026-08-19 16:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":160226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:00:46] local.INFO: GPS data processed {"connection_id":160226,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:00:46] local.INFO: Acknowledgment sent {"connection_id":160226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:00:50] local.INFO: TCP Data received {"connection_id":160225,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199033e0012d108300071a2e18005e000129..."} 
[2026-08-19 16:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199033e0012d108300071a2e18005e000129..."} 
[2026-08-19 16:00:50] local.INFO: Processing buffer {"connection_id":160225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199033e0012d108300071a2e18005e000129..."} 
[2026-08-19 16:00:50] local.INFO: Packet analysis {"connection_id":160225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01990"} 
[2026-08-19 16:00:50] local.INFO: Extracted packet for processing {"connection_id":160225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01990"} 
[2026-08-19 16:00:50] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506625280001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 16:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 16:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787135276000,"timestamp_ms":1787135276000,"timestamp_seconds":1787135276,"priority":1,"record_length":96,"hex_timestamp":"000001a0199033e0"} 
[2026-08-19 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-08-19 16:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-19 16:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 16:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506625280001,"66":12341,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 16:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506625280001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:00:50] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 16:00:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 16:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506625280001,"power":12341,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 16:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":160225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:00:50] local.INFO: GPS data processed {"connection_id":160225,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:00:50] local.INFO: Acknowledgment sent {"connection_id":160225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:01:04] local.INFO: TCP Data received {"connection_id":158047,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:01:04] local.INFO: Processing buffer {"connection_id":158047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:01:04] local.INFO: IMEI packet received {"connection_id":158047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":158047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:01:08] local.INFO: TCP Data received {"connection_id":160227,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:01:08] local.INFO: Processing buffer {"connection_id":160227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:01:08] local.INFO: IMEI packet received {"connection_id":160227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":160227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:01:09] local.INFO: TCP Data received {"connection_id":158047,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:01:09] local.INFO: Processing buffer {"connection_id":158047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:01:09] local.INFO: IMEI packet received {"connection_id":158047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":158047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:01:11] local.INFO: TCP Data received {"connection_id":158047,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0198fbac8012ceb49000713cf00001201352c..."} 
[2026-08-19 16:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0198fbac8012ceb49000713cf00001201352c..."} 
[2026-08-19 16:01:11] local.INFO: Processing buffer {"connection_id":158047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0198fbac8012ceb49000713cf00001201352c..."} 
[2026-08-19 16:01:11] local.INFO: Packet analysis {"connection_id":158047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0198f"} 
[2026-08-19 16:01:11] local.INFO: Extracted packet for processing {"connection_id":158047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0198f"} 
[2026-08-19 16:01:11] local.INFO: GPS Element Parsed {"raw_longitude":753617152,"raw_latitude":118738688,"longitude_deg":75.3617152,"latitude_deg":11.8738688,"altitude":18,"angle":309,"satellites":44,"speed":0,"hex_longitude":"2ceb4900","hex_latitude":"0713cf00","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506617344001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019931008794624,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492661771099496448,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787135245000,"timestamp_ms":1787135245000,"timestamp_seconds":1787135245,"priority":1,"record_length":96,"hex_timestamp":"000001a0198fbac8"} 
[2026-08-19 16:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-19 16:01:11] 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-08-19 16: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-08-19 16:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506617344001,"66":27767,"12":206,"2":54272,"24":0,"16":386019931008794624,"44":-1492661771099496448},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506617344001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:01:11] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019931008794624,"km_value":386019931008794.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492661771099496448,"description":"Unknown IO ID 44"} 
[2026-08-19 16:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506617344001,"power":27767,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492661771099496448}} 
[2026-08-19 16:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":158047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:01:11] local.INFO: GPS data processed {"connection_id":158047,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:01:11] local.INFO: Acknowledgment sent {"connection_id":158047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:01:13] local.INFO: TCP Data received {"connection_id":160227,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:01:13] local.INFO: Processing buffer {"connection_id":160227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:01:13] local.INFO: IMEI packet received {"connection_id":160227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":160227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:01:14] local.INFO: TCP Data received {"connection_id":160227,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199085e8012d108300071a2e18005e000126..."} 
[2026-08-19 16:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199085e8012d108300071a2e18005e000126..."} 
[2026-08-19 16:01:14] local.INFO: Processing buffer {"connection_id":160227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199085e8012d108300071a2e18005e000126..."} 
[2026-08-19 16:01:14] local.INFO: Packet analysis {"connection_id":160227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01990"} 
[2026-08-19 16:01:14] local.INFO: Extracted packet for processing {"connection_id":160227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01990"} 
[2026-08-19 16:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":38,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506630656001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787135297000,"timestamp_ms":1787135297000,"timestamp_seconds":1787135297,"priority":1,"record_length":96,"hex_timestamp":"000001a0199085e8"} 
[2026-08-19 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-08-19 16:01:14] 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-08-19 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-19 16:01:14] 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-08-19 16: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-08-19 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-08-19 16:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506630656001,"66":12341,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 16:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506630656001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:01:14] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 16:01:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 16:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506630656001,"power":12341,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 16:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":160227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:01:14] local.INFO: GPS data processed {"connection_id":160227,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:01:14] local.INFO: Acknowledgment sent {"connection_id":160227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:01:15] local.INFO: TCP Data received {"connection_id":158047,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019900cd0012ceb47400713d010001301352b..."} 
[2026-08-19 16:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019900cd0012ceb47400713d010001301352b..."} 
[2026-08-19 16:01:15] local.INFO: Processing buffer {"connection_id":158047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019900cd0012ceb47400713d010001301352b..."} 
[2026-08-19 16:01:15] local.INFO: Packet analysis {"connection_id":158047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01990"} 
[2026-08-19 16:01:15] local.INFO: Extracted packet for processing {"connection_id":158047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01990"} 
[2026-08-19 16:01:15] local.INFO: GPS Element Parsed {"raw_longitude":753616704,"raw_latitude":118738960,"longitude_deg":75.3616704,"latitude_deg":11.873896,"altitude":19,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2ceb4740","hex_latitude":"0713d010","is_valid_coordinates":true} 
[2026-08-19 16:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506622720001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019965368532992,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492661771099504640,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787135266000,"timestamp_ms":1787135266000,"timestamp_seconds":1787135266,"priority":1,"record_length":96,"hex_timestamp":"000001a019900cd0"} 
[2026-08-19 16:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 16:01: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-08-19 16:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506622720001,"66":27908,"12":206,"2":54272,"24":0,"16":386019965368532992,"44":-1492661771099504640},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506622720001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:01:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019965368532992,"km_value":386019965368533.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:01:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492661771099504640,"description":"Unknown IO ID 44"} 
[2026-08-19 16:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506622720001,"power":27908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492661771099504640}} 
[2026-08-19 16:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":158047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:01:15] local.INFO: GPS data processed {"connection_id":158047,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:01:15] local.INFO: Acknowledgment sent {"connection_id":158047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:01:18] local.INFO: TCP Data received {"connection_id":160227,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01990d7f0012d108300071a2e18005e000129..."} 
[2026-08-19 16:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01990d7f0012d108300071a2e18005e000129..."} 
[2026-08-19 16:01:18] local.INFO: Processing buffer {"connection_id":160227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01990d7f0012d108300071a2e18005e000129..."} 
[2026-08-19 16:01:18] local.INFO: Packet analysis {"connection_id":160227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01990"} 
[2026-08-19 16:01:18] local.INFO: Extracted packet for processing {"connection_id":160227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01990"} 
[2026-08-19 16:01:18] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506636032001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787135318000,"timestamp_ms":1787135318000,"timestamp_seconds":1787135318,"priority":1,"record_length":96,"hex_timestamp":"000001a01990d7f0"} 
[2026-08-19 16:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:01:18] 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-08-19 16: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-19 16:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506636032001,"66":12341,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 16:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506636032001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:01:18] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 16:01:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 16:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506636032001,"power":12341,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 16:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":160227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:01:19] local.INFO: GPS data processed {"connection_id":160227,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:01:19] local.INFO: Acknowledgment sent {"connection_id":160227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:01:19] local.INFO: TCP Data received {"connection_id":160226,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019927dd0012d7b490005e92e50000200d41f..."} 
[2026-08-19 16:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019927dd0012d7b490005e92e50000200d41f..."} 
[2026-08-19 16:01:19] local.INFO: Processing buffer {"connection_id":160226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019927dd0012d7b490005e92e50000200d41f..."} 
[2026-08-19 16:01:19] local.INFO: Packet analysis {"connection_id":160226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01992"} 
[2026-08-19 16:01:19] local.INFO: Extracted packet for processing {"connection_id":160226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01992"} 
[2026-08-19 16:01:19] local.INFO: GPS Element Parsed {"raw_longitude":763054336,"raw_latitude":99167824,"longitude_deg":76.3054336,"latitude_deg":9.9167824,"altitude":2,"angle":212,"satellites":31,"speed":6,"hex_longitude":"2d7b4900","hex_latitude":"05e92e50","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506668800001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120747190141321216,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883702134096183296,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01: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-08-19 16:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787135426000,"timestamp_ms":1787135426000,"timestamp_seconds":1787135426,"priority":1,"record_length":96,"hex_timestamp":"000001a019927dd0"} 
[2026-08-19 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-08-19 16:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 16:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 16:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:01:19] 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-08-19 16:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506668800001,"66":12472,"201":206,"87":13824,"24":6,"16":120747190141321216,"45":8883702134096183296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-19 16:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506668800001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:01:19] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-19 16:01:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120747190141321216,"km_value":120747190141321.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883702134096183296,"description":"Unknown IO ID 45"} 
[2026-08-19 16:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506668800001,"power":12472,"unknown_201":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8883702134096183296}} 
[2026-08-19 16:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":160226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:01:19] local.INFO: GPS data processed {"connection_id":160226,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:01:19] local.INFO: Acknowledgment sent {"connection_id":160226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:01:40] local.INFO: TCP Data received {"connection_id":160228,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:01:40] local.INFO: Processing buffer {"connection_id":160228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:01:40] local.INFO: IMEI packet received {"connection_id":160228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":160228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:01:45] local.INFO: TCP Data received {"connection_id":160228,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:01:45] local.INFO: Processing buffer {"connection_id":160228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:01:45] local.INFO: IMEI packet received {"connection_id":160228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":160228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:01:47] local.INFO: TCP Data received {"connection_id":160228,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0199281b8012d7b48c005e92da8000200be1f..."} 
[2026-08-19 16:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199281b8012d7b48c005e92da8000200be1f..."} 
[2026-08-19 16:01:47] local.INFO: Processing buffer {"connection_id":160228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199281b8012d7b48c005e92da8000200be1f..."} 
[2026-08-19 16:01:47] local.INFO: Packet analysis {"connection_id":160228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01992"} 
[2026-08-19 16:01:47] local.INFO: Extracted packet for processing {"connection_id":160228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01992"} 
[2026-08-19 16:01:47] local.INFO: GPS Element Parsed {"raw_longitude":763054272,"raw_latitude":99167656,"longitude_deg":76.3054272,"latitude_deg":9.9167656,"altitude":2,"angle":190,"satellites":31,"speed":7,"hex_longitude":"2d7b48c0","hex_latitude":"05e92da8","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506669056001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120747198731255808,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883631765351976960,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787135427000,"timestamp_ms":1787135427000,"timestamp_seconds":1787135427,"priority":1,"record_length":96,"hex_timestamp":"000001a0199281b8"} 
[2026-08-19 16:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 16:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:01:47] 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-08-19 16:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506669056001,"66":13602,"201":206,"87":13824,"24":7,"16":120747198731255808,"45":8883631765351976960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-19 16:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506669056001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:01:47] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-19 16:01:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120747198731255808,"km_value":120747198731255.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883631765351976960,"description":"Unknown IO ID 45"} 
[2026-08-19 16:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506669056001,"power":13602,"unknown_201":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8883631765351976960}} 
[2026-08-19 16:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":160228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:01:47] local.INFO: GPS data processed {"connection_id":160228,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:01:47] local.INFO: Acknowledgment sent {"connection_id":160228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:01:48] local.INFO: TCP Data received {"connection_id":160228,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019928d70012d7b48c005e929e0000300b01f..."} 
[2026-08-19 16:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019928d70012d7b48c005e929e0000300b01f..."} 
[2026-08-19 16:01:48] local.INFO: Processing buffer {"connection_id":160228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019928d70012d7b48c005e929e0000300b01f..."} 
[2026-08-19 16:01:48] local.INFO: Packet analysis {"connection_id":160228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01992"} 
[2026-08-19 16:01:48] local.INFO: Extracted packet for processing {"connection_id":160228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01992"} 
[2026-08-19 16:01:48] local.INFO: GPS Element Parsed {"raw_longitude":763054272,"raw_latitude":99166688,"longitude_deg":76.3054272,"latitude_deg":9.9166688,"altitude":3,"angle":176,"satellites":31,"speed":16,"hex_longitude":"2d7b48c0","hex_latitude":"05e929e0","is_valid_coordinates":true} 
[2026-08-19 16:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506669312001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120747245975896064,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883561396607756288,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787135430000,"timestamp_ms":1787135430000,"timestamp_seconds":1787135430,"priority":1,"record_length":96,"hex_timestamp":"000001a019928d70"} 
[2026-08-19 16:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-19 16:01:48] 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-08-19 16:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:01:48] 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-08-19 16:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506669312001,"66":13515,"201":206,"87":13824,"24":16,"16":120747245975896064,"45":8883561396607756288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-19 16:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506669312001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:01:48] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-19 16:01:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120747245975896064,"km_value":120747245975896.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883561396607756288,"description":"Unknown IO ID 45"} 
[2026-08-19 16:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506669312001,"power":13515,"unknown_201":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8883561396607756288}} 
[2026-08-19 16:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":160228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:01:48] local.INFO: GPS data processed {"connection_id":160228,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:01:48] local.INFO: Acknowledgment sent {"connection_id":160228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:01:50] local.INFO: TCP Data received {"connection_id":160227,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199129f8012d108300071a2e18005e00012a..."} 
[2026-08-19 16:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199129f8012d108300071a2e18005e00012a..."} 
[2026-08-19 16:01:50] local.INFO: Processing buffer {"connection_id":160227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199129f8012d108300071a2e18005e00012a..."} 
[2026-08-19 16:01:50] local.INFO: Packet analysis {"connection_id":160227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01991"} 
[2026-08-19 16:01:50] local.INFO: Extracted packet for processing {"connection_id":160227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01991"} 
[2026-08-19 16:01:50] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506641408001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 16:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787135339000,"timestamp_ms":1787135339000,"timestamp_seconds":1787135339,"priority":1,"record_length":96,"hex_timestamp":"000001a0199129f8"} 
[2026-08-19 16:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-19 16:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506641408001,"66":12341,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 16:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506641408001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:01:50] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 16:01:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 16:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506641408001,"power":12341,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 16:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":160227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:01:50] local.INFO: GPS data processed {"connection_id":160227,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:01:50] local.INFO: Acknowledgment sent {"connection_id":160227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:01:59] local.INFO: TCP Data received {"connection_id":158908,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:01:59] local.INFO: Processing buffer {"connection_id":158908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:01:59] local.INFO: IMEI packet received {"connection_id":158908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":158908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:02:04] local.INFO: TCP Data received {"connection_id":158908,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:02:04] local.INFO: Processing buffer {"connection_id":158908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:02:04] local.INFO: IMEI packet received {"connection_id":158908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":158908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:02:07] local.INFO: TCP Data received {"connection_id":158908,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019905ed8012ceb48800713cfc8001401352b..."} 
[2026-08-19 16:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019905ed8012ceb48800713cfc8001401352b..."} 
[2026-08-19 16:02:07] local.INFO: Processing buffer {"connection_id":158908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019905ed8012ceb48800713cfc8001401352b..."} 
[2026-08-19 16:02:07] local.INFO: Packet analysis {"connection_id":158908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01990"} 
[2026-08-19 16:02:07] local.INFO: Extracted packet for processing {"connection_id":158908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01990"} 
[2026-08-19 16:02:07] local.INFO: GPS Element Parsed {"raw_longitude":753617024,"raw_latitude":118738888,"longitude_deg":75.3617024,"latitude_deg":11.8738888,"altitude":20,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2ceb4880","hex_latitude":"0713cfc8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506628096001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019982548402176,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1493154352308678656,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787135287000,"timestamp_ms":1787135287000,"timestamp_seconds":1787135287,"priority":1,"record_length":96,"hex_timestamp":"000001a019905ed8"} 
[2026-08-19 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-08-19 16:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 16:02:07] 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-08-19 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-08-19 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-08-19 16:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506628096001,"66":27995,"12":206,"2":54272,"24":0,"16":386019982548402176,"44":-1493154352308678656},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506628096001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:02:07] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019982548402176,"km_value":386019982548402.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:02:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1493154352308678656,"description":"Unknown IO ID 44"} 
[2026-08-19 16:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506628096001,"power":27995,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1493154352308678656}} 
[2026-08-19 16:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":158908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:02:07] local.INFO: GPS data processed {"connection_id":158908,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:02:07] local.INFO: Acknowledgment sent {"connection_id":158908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:02:08] local.INFO: TCP Data received {"connection_id":157684,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:02:08] local.INFO: Processing buffer {"connection_id":157684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:02:08] local.INFO: IMEI packet received {"connection_id":157684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":157684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:02:13] local.INFO: TCP Data received {"connection_id":157684,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:02:13] local.INFO: Processing buffer {"connection_id":157684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:02:13] local.INFO: IMEI packet received {"connection_id":157684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":157684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:02:14] local.INFO: TCP Data received {"connection_id":157684,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019917c00012d108300071a2e18005e000128..."} 
[2026-08-19 16:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019917c00012d108300071a2e18005e000128..."} 
[2026-08-19 16:02:14] local.INFO: Processing buffer {"connection_id":157684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019917c00012d108300071a2e18005e000128..."} 
[2026-08-19 16:02:14] local.INFO: Packet analysis {"connection_id":157684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01991"} 
[2026-08-19 16:02:14] local.INFO: Extracted packet for processing {"connection_id":157684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01991"} 
[2026-08-19 16:02:14] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":40,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506646784001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787135360000,"timestamp_ms":1787135360000,"timestamp_seconds":1787135360,"priority":1,"record_length":96,"hex_timestamp":"000001a019917c00"} 
[2026-08-19 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-08-19 16:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-19 16:02:14] 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-08-19 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-08-19 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-08-19 16:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506646784001,"66":12298,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 16:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506646784001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:02:14] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 16:02:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 16:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506646784001,"power":12298,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 16:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":157684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:02:14] local.INFO: GPS data processed {"connection_id":157684,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:02:14] local.INFO: Acknowledgment sent {"connection_id":157684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:02:20] local.INFO: TCP Data received {"connection_id":160228,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019940088012d7b5c8005e7f960000200b521..."} 
[2026-08-19 16:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019940088012d7b5c8005e7f960000200b521..."} 
[2026-08-19 16:02:20] local.INFO: Processing buffer {"connection_id":160228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019940088012d7b5c8005e7f960000200b521..."} 
[2026-08-19 16:02:20] local.INFO: Packet analysis {"connection_id":160228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01994"} 
[2026-08-19 16:02:20] local.INFO: Extracted packet for processing {"connection_id":160228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01994"} 
[2026-08-19 16:02:20] local.INFO: GPS Element Parsed {"raw_longitude":763059328,"raw_latitude":99088736,"longitude_deg":76.3059328,"latitude_deg":9.9088736,"altitude":2,"angle":181,"satellites":33,"speed":35,"hex_longitude":"2d7b5c80","hex_latitude":"05e7f960","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506691584001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120751059906854912,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888909421146718208,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:20] 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-08-19 16:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787135525000,"timestamp_ms":1787135525000,"timestamp_seconds":1787135525,"priority":1,"record_length":96,"hex_timestamp":"000001a019940088"} 
[2026-08-19 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-08-19 16:02: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-08-19 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-19 16:02: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-08-19 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-08-19 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-08-19 16:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:02:20] 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-08-19 16:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506691584001,"66":13526,"201":206,"87":13824,"24":35,"16":120751059906854912,"45":8888909421146718208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-19 16:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506691584001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:02:20] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-19 16:02:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120751059906854912,"km_value":120751059906854.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888909421146718208,"description":"Unknown IO ID 45"} 
[2026-08-19 16:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506691584001,"power":13526,"unknown_201":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8888909421146718208}} 
[2026-08-19 16:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":160228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:02:20] local.INFO: GPS data processed {"connection_id":160228,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:02:20] local.INFO: Acknowledgment sent {"connection_id":160228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:02:39] local.INFO: TCP Data received {"connection_id":158908,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01990b0e0012ceb48800713cfc8001401352e..."} 
[2026-08-19 16:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01990b0e0012ceb48800713cfc8001401352e..."} 
[2026-08-19 16:02:39] local.INFO: Processing buffer {"connection_id":158908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01990b0e0012ceb48800713cfc8001401352e..."} 
[2026-08-19 16:02:39] local.INFO: Packet analysis {"connection_id":158908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01990"} 
[2026-08-19 16:02:39] local.INFO: Extracted packet for processing {"connection_id":158908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01990"} 
[2026-08-19 16:02:39] local.INFO: GPS Element Parsed {"raw_longitude":753617024,"raw_latitude":118738888,"longitude_deg":75.3617024,"latitude_deg":11.8738888,"altitude":20,"angle":309,"satellites":46,"speed":0,"hex_longitude":"2ceb4880","hex_latitude":"0713cfc8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506633472001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019982548402176,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492802508587808768,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787135308000,"timestamp_ms":1787135308000,"timestamp_seconds":1787135308,"priority":1,"record_length":96,"hex_timestamp":"000001a01990b0e0"} 
[2026-08-19 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-08-19 16:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 16:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 16:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506633472001,"66":27397,"12":206,"2":54272,"24":0,"16":386019982548402176,"44":-1492802508587808768},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506633472001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:02:39] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019982548402176,"km_value":386019982548402.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:02:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492802508587808768,"description":"Unknown IO ID 44"} 
[2026-08-19 16:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506633472001,"power":27397,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492802508587808768}} 
[2026-08-19 16:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":158908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:02:39] local.INFO: GPS data processed {"connection_id":158908,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:02:39] local.INFO: Acknowledgment sent {"connection_id":158908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:02:40] local.INFO: TCP Data received {"connection_id":157685,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:02:40] local.INFO: Processing buffer {"connection_id":157685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:02:40] local.INFO: IMEI packet received {"connection_id":157685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":157685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:02:45] local.INFO: TCP Data received {"connection_id":157685,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:02:45] local.INFO: Processing buffer {"connection_id":157685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:02:45] local.INFO: IMEI packet received {"connection_id":157685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":157685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:02:46] local.INFO: TCP Data received {"connection_id":157684,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01991ce08012d108300071a2e18005e000126..."} 
[2026-08-19 16:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01991ce08012d108300071a2e18005e000126..."} 
[2026-08-19 16:02:46] local.INFO: Processing buffer {"connection_id":157684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01991ce08012d108300071a2e18005e000126..."} 
[2026-08-19 16:02:46] local.INFO: Packet analysis {"connection_id":157684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01991"} 
[2026-08-19 16:02:46] local.INFO: Extracted packet for processing {"connection_id":157684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01991"} 
[2026-08-19 16:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":38,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506652160001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787135381000,"timestamp_ms":1787135381000,"timestamp_seconds":1787135381,"priority":1,"record_length":96,"hex_timestamp":"000001a01991ce08"} 
[2026-08-19 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-08-19 16:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-19 16:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":511772188280225793,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:46] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185649,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:46] local.WARNING: Large IO value detected {"io_id":34,"raw_value":-2666130979403333631,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":1841758701840306307,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:46] local.WARNING: Large IO value detected {"io_id":94,"raw_value":319957883682816,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:46] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:46] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068468792885454,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:46] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2419318785,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1763115214,"corrected_to":0} 
[2026-08-19 16:02:46] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3623955728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:46] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,23,83,24,241,157,16,34,160,41,45,46,94,42,10,66,215,133,1,240,53,227,25,26,4,113,205,225,131,37,239,48,2,49,7,40],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1763115214,"validated":0}]} 
[2026-08-19 16:02:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6773415110875545600,"timestamp_seconds":6773415110875546.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 16:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506652160001,"66":12287,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 16:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506652160001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:02:46] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 16:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 16:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506652160001,"power":12287,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 16:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":157684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:02:46] local.INFO: GPS data processed {"connection_id":157684,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:02:46] local.INFO: Acknowledgment sent {"connection_id":157684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:02:46] local.INFO: TCP Data received {"connection_id":157685,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019942b80012d7b5b4005e7d4f0000100aa27..."} 
[2026-08-19 16:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019942b80012d7b5b4005e7d4f0000100aa27..."} 
[2026-08-19 16:02:46] local.INFO: Processing buffer {"connection_id":157685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019942b80012d7b5b4005e7d4f0000100aa27..."} 
[2026-08-19 16:02:46] local.INFO: Packet analysis {"connection_id":157685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01994"} 
[2026-08-19 16:02:46] local.INFO: Extracted packet for processing {"connection_id":157685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01994"} 
[2026-08-19 16:02:46] local.INFO: GPS Element Parsed {"raw_longitude":763059008,"raw_latitude":99079408,"longitude_deg":76.3059008,"latitude_deg":9.9079408,"altitude":1,"angle":170,"satellites":39,"speed":32,"hex_longitude":"2d7b5b40","hex_latitude":"05e7d4f0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506694400001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120751515173388288,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889120527377588224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:02:46] 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-08-19 16:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787135536000,"timestamp_ms":1787135536000,"timestamp_seconds":1787135536,"priority":1,"record_length":96,"hex_timestamp":"000001a019942b80"} 
[2026-08-19 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-08-19 16:02: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-08-19 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":214,"data_length":795,"current_offset":136} 
[2026-08-19 16:02: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-08-19 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-08-19 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-08-19 16:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:02:46] 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-08-19 16:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506694400001,"66":12798,"201":206,"87":13824,"24":32,"16":120751515173388288,"45":8889120527377588224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-19 16:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506694400001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:02:46] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-19 16:02:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120751515173388288,"km_value":120751515173388.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889120527377588224,"description":"Unknown IO ID 45"} 
[2026-08-19 16:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506694400001,"power":12798,"unknown_201":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8889120527377588224}} 
[2026-08-19 16:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":157685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:02:46] local.INFO: GPS data processed {"connection_id":157685,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:02:46] local.INFO: Acknowledgment sent {"connection_id":157685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:02:59] local.INFO: TCP Data received {"connection_id":160229,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:02:59] local.INFO: Processing buffer {"connection_id":160229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:02:59] local.INFO: IMEI packet received {"connection_id":160229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":160229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:03:04] local.INFO: TCP Data received {"connection_id":160229,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:03:04] local.INFO: Processing buffer {"connection_id":160229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:03:04] local.INFO: IMEI packet received {"connection_id":160229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":160229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:03:05] local.INFO: TCP Data received {"connection_id":160229,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199102e8012ceb48800713cfc8001401352b..."} 
[2026-08-19 16:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199102e8012ceb48800713cfc8001401352b..."} 
[2026-08-19 16:03:05] local.INFO: Processing buffer {"connection_id":160229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199102e8012ceb48800713cfc8001401352b..."} 
[2026-08-19 16:03:05] local.INFO: Packet analysis {"connection_id":160229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01991"} 
[2026-08-19 16:03:05] local.INFO: Extracted packet for processing {"connection_id":160229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01991"} 
[2026-08-19 16:03:05] local.INFO: GPS Element Parsed {"raw_longitude":753617024,"raw_latitude":118738888,"longitude_deg":75.3617024,"latitude_deg":11.8738888,"altitude":20,"angle":309,"satellites":43,"speed":0,"hex_longitude":"2ceb4880","hex_latitude":"0713cfc8","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506638848001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019982548402176,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492802508587808768,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787135329000,"timestamp_ms":1787135329000,"timestamp_seconds":1787135329,"priority":1,"record_length":96,"hex_timestamp":"000001a0199102e8"} 
[2026-08-19 16:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 16:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506638848001,"66":28093,"12":206,"2":54272,"24":0,"16":386019982548402176,"44":-1492802508587808768},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506638848001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:03:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019982548402176,"km_value":386019982548402.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:03:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492802508587808768,"description":"Unknown IO ID 44"} 
[2026-08-19 16:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506638848001,"power":28093,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492802508587808768}} 
[2026-08-19 16:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":160229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:03:05] local.INFO: GPS data processed {"connection_id":160229,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:03:05] local.INFO: Acknowledgment sent {"connection_id":160229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:03:07] local.INFO: TCP Data received {"connection_id":158049,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:03:07] local.INFO: Processing buffer {"connection_id":158049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:03:07] local.INFO: IMEI packet received {"connection_id":158049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":158049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:03:08] local.INFO: TCP Data received {"connection_id":158049,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:03:08] local.INFO: Processing buffer {"connection_id":158049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:03:08] local.INFO: IMEI packet received {"connection_id":158049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":158049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:03:13] local.INFO: TCP Data received {"connection_id":158049,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:03:13] local.INFO: Processing buffer {"connection_id":158049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:03:13] local.INFO: IMEI packet received {"connection_id":158049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":158049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:03:14] local.INFO: TCP Data received {"connection_id":158049,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019922010012d108300071a2e18005e000128..."} 
[2026-08-19 16:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019922010012d108300071a2e18005e000128..."} 
[2026-08-19 16:03:15] local.INFO: Processing buffer {"connection_id":158049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019922010012d108300071a2e18005e000128..."} 
[2026-08-19 16:03:15] local.INFO: Packet analysis {"connection_id":158049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01992"} 
[2026-08-19 16:03:15] local.INFO: Extracted packet for processing {"connection_id":158049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01992"} 
[2026-08-19 16:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756056832,"raw_latitude":119156248,"longitude_deg":75.6056832,"latitude_deg":11.9156248,"altitude":94,"angle":1,"satellites":40,"speed":0,"hex_longitude":"2d108300","hex_latitude":"071a2e18","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506657536001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830597852004352,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189794757059942400,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787135402000,"timestamp_ms":1787135402000,"timestamp_seconds":1787135402,"priority":1,"record_length":96,"hex_timestamp":"000001a019922010"} 
[2026-08-19 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-08-19 16:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-19 16:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 16:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506657536001,"66":12319,"23":206,"83":41984,"24":0,"16":13830597852004352,"45":1189794757059942400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 16:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506657536001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:03:15] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 16:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830597852004352,"km_value":13830597852004.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189794757059942400,"description":"Unknown IO ID 45"} 
[2026-08-19 16:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506657536001,"power":12319,"unknown_23":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1189794757059942400}} 
[2026-08-19 16:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":158049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:03:15] local.INFO: GPS data processed {"connection_id":158049,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:03:15] local.INFO: Acknowledgment sent {"connection_id":158049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:03:17] local.INFO: TCP Data received {"connection_id":157685,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019942b80012d7b5b4005e7d4f0000100aa27..."} 
[2026-08-19 16:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019942b80012d7b5b4005e7d4f0000100aa27..."} 
[2026-08-19 16:03:17] local.INFO: Processing buffer {"connection_id":157685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019942b80012d7b5b4005e7d4f0000100aa27..."} 
[2026-08-19 16:03:17] local.INFO: Packet analysis {"connection_id":157685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01994"} 
[2026-08-19 16:03:17] local.INFO: Extracted packet for processing {"connection_id":157685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01994"} 
[2026-08-19 16:03:17] local.INFO: GPS Element Parsed {"raw_longitude":763059008,"raw_latitude":99079408,"longitude_deg":76.3059008,"latitude_deg":9.9079408,"altitude":1,"angle":170,"satellites":39,"speed":32,"hex_longitude":"2d7b5b40","hex_latitude":"05e7d4f0","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506697216001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120751515173388288,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888768683654311936,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:17] 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-08-19 16:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787135536000,"timestamp_ms":1787135536000,"timestamp_seconds":1787135536,"priority":1,"record_length":96,"hex_timestamp":"000001a019942b80"} 
[2026-08-19 16:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:03:17] 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-08-19 16: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-19 16:03:17] 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-08-19 16: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-08-19 16:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:03:17] 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-08-19 16:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506697216001,"66":12798,"201":206,"87":13824,"24":32,"16":120751515173388288,"45":8888768683654311936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-19 16:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506697216001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:03:17] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-19 16:03:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120751515173388288,"km_value":120751515173388.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888768683654311936,"description":"Unknown IO ID 45"} 
[2026-08-19 16:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506697216001,"power":12798,"unknown_201":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8888768683654311936}} 
[2026-08-19 16:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":157685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:03:17] local.INFO: GPS data processed {"connection_id":157685,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:03:17] local.INFO: Acknowledgment sent {"connection_id":157685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:03:34] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:03:34] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:03:34] local.INFO: IMEI packet received {"connection_id":160230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":160230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:03:35] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:03:35] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:03:35] local.INFO: IMEI packet received {"connection_id":160230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":160230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:03:36] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:03:36] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:03:36] local.INFO: IMEI packet received {"connection_id":160230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":160230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:03:40] local.INFO: TCP Data received {"connection_id":160229,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199154f0012ceb48800713cfc8001401352d..."} 
[2026-08-19 16:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199154f0012ceb48800713cfc8001401352d..."} 
[2026-08-19 16:03:40] local.INFO: Processing buffer {"connection_id":160229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199154f0012ceb48800713cfc8001401352d..."} 
[2026-08-19 16:03:40] local.INFO: Packet analysis {"connection_id":160229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01991"} 
[2026-08-19 16:03:40] local.INFO: Extracted packet for processing {"connection_id":160229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01991"} 
[2026-08-19 16:03:40] local.INFO: GPS Element Parsed {"raw_longitude":753617024,"raw_latitude":118738888,"longitude_deg":75.3617024,"latitude_deg":11.8738888,"altitude":20,"angle":309,"satellites":45,"speed":0,"hex_longitude":"2ceb4880","hex_latitude":"0713cfc8","is_valid_coordinates":true} 
[2026-08-19 16:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506644224001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019982548402176,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492802508587808768,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787135350000,"timestamp_ms":1787135350000,"timestamp_seconds":1787135350,"priority":1,"record_length":96,"hex_timestamp":"000001a0199154f0"} 
[2026-08-19 16:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-19 16:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506644224001,"66":27919,"12":206,"2":54272,"24":0,"16":386019982548402176,"44":-1492802508587808768},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506644224001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:03:40] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019982548402176,"km_value":386019982548402.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:03:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492802508587808768,"description":"Unknown IO ID 44"} 
[2026-08-19 16:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506644224001,"power":27919,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492802508587808768}} 
[2026-08-19 16:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":160229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:03:40] local.INFO: GPS data processed {"connection_id":160229,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:03:40] local.INFO: Acknowledgment sent {"connection_id":160229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:03:40] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:03:40] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:03:40] local.INFO: IMEI packet received {"connection_id":160230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":160230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:03:41] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0199471d0012d7b618005e7b270000100b125..."} 
[2026-08-19 16:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199471d0012d7b618005e7b270000100b125..."} 
[2026-08-19 16:03:41] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199471d0012d7b618005e7b270000100b125..."} 
[2026-08-19 16:03:41] local.INFO: Packet analysis {"connection_id":160230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01994"} 
[2026-08-19 16:03:41] local.INFO: Extracted packet for processing {"connection_id":160230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01994"} 
[2026-08-19 16:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763060608,"raw_latitude":99070576,"longitude_deg":76.3060608,"latitude_deg":9.9070576,"altitude":1,"angle":177,"satellites":37,"speed":18,"hex_longitude":"2d7b6180","hex_latitude":"05e7b270","is_valid_coordinates":true} 
[2026-08-19 16:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506697216001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120751953260052480,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888768683654311936,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:41] 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-08-19 16:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787135554000,"timestamp_ms":1787135554000,"timestamp_seconds":1787135554,"priority":1,"record_length":96,"hex_timestamp":"000001a0199471d0"} 
[2026-08-19 16:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-19 16:03:41] 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-08-19 16:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:03:41] 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-08-19 16:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506697216001,"66":13243,"201":206,"87":13824,"24":18,"16":120751953260052480,"45":8888768683654311936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-19 16:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506697216001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:03:41] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-19 16:03:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120751953260052480,"km_value":120751953260052.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888768683654311936,"description":"Unknown IO ID 45"} 
[2026-08-19 16:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506697216001,"power":13243,"unknown_201":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8888768683654311936}} 
[2026-08-19 16:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":160230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:03:41] local.INFO: GPS data processed {"connection_id":160230,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:03:41] local.INFO: Acknowledgment sent {"connection_id":160230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:03:41] local.INFO: TCP Data received {"connection_id":157686,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157686,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:03:41] local.INFO: Processing buffer {"connection_id":157686,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:03:41] local.INFO: IMEI packet received {"connection_id":157686,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":157686,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:03:42] local.INFO: TCP Data received {"connection_id":157686,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a01994d378012d09be0007054258001800c729..."} 
[2026-08-19 16:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01994d378012d09be0007054258001800c729..."} 
[2026-08-19 16:03:42] local.INFO: Processing buffer {"connection_id":157686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01994d378012d09be0007054258001800c729..."} 
[2026-08-19 16:03:42] local.INFO: Packet analysis {"connection_id":157686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01994"} 
[2026-08-19 16:03:42] local.INFO: Extracted packet for processing {"connection_id":157686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01994"} 
[2026-08-19 16:03:42] local.INFO: GPS Element Parsed {"raw_longitude":755613184,"raw_latitude":117785176,"longitude_deg":75.5613184,"latitude_deg":11.7785176,"altitude":24,"angle":199,"satellites":41,"speed":27,"hex_longitude":"2d09be00","hex_latitude":"07054258","is_valid_coordinates":true} 
[2026-08-19 16:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506705920001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28893713879007232,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703687471931146240,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787135579000,"timestamp_ms":1787135579000,"timestamp_seconds":1787135579,"priority":1,"record_length":96,"hex_timestamp":"000001a01994d378"} 
[2026-08-19 16:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:03: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-08-19 16:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 16:03:42] 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-08-19 16:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506705920001,"66":14439,"177":206,"94":10240,"24":27,"16":28893713879007232,"45":703687471931146240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-19 16:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506705920001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:03:42] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 16:03:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28893713879007232,"km_value":28893713879007.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":703687471931146240,"description":"Unknown IO ID 45"} 
[2026-08-19 16:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506705920001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":703687471931146240}} 
[2026-08-19 16:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":157686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665521,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:03:43] local.INFO: GPS data processed {"connection_id":157686,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:03:43] local.INFO: Acknowledgment sent {"connection_id":157686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:03:46] local.INFO: TCP Data received {"connection_id":158049,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01994b050012d107f00071a3020006d00052b..."} 
[2026-08-19 16:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01994b050012d107f00071a3020006d00052b..."} 
[2026-08-19 16:03:46] local.INFO: Processing buffer {"connection_id":158049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01994b050012d107f00071a3020006d00052b..."} 
[2026-08-19 16:03:46] local.INFO: Packet analysis {"connection_id":158049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01994"} 
[2026-08-19 16:03:46] local.INFO: Extracted packet for processing {"connection_id":158049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01994"} 
[2026-08-19 16:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756055808,"raw_latitude":119156768,"longitude_deg":75.6055808,"latitude_deg":11.9156768,"altitude":109,"angle":5,"satellites":43,"speed":7,"hex_longitude":"2d107f00","hex_latitude":"071a3020","is_valid_coordinates":true} 
[2026-08-19 16:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506705664001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830657981546496,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1188668857153196032,"note":"Value kept but may cause issues"} 
[2026-08-19 16:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787135570000,"timestamp_ms":1787135570000,"timestamp_seconds":1787135570,"priority":1,"record_length":96,"hex_timestamp":"000001a01994b050"} 
[2026-08-19 16:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:03: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-08-19 16:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-19 16:03:46] 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-08-19 16:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506705664001,"66":13798,"23":206,"83":41984,"24":7,"16":13830657981546496,"45":1188668857153196032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,45]} 
[2026-08-19 16:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506705664001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:03:46] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-19 16:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830657981546496,"km_value":13830657981546.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1188668857153196032,"description":"Unknown IO ID 45"} 
[2026-08-19 16:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506705664001,"power":13798,"unknown_23":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1188668857153196032}} 
[2026-08-19 16:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":158049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:03:46] local.INFO: GPS data processed {"connection_id":158049,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:03:46] local.INFO: Acknowledgment sent {"connection_id":158049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:03:59] local.INFO: TCP Data received {"connection_id":158910,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:03:59] local.INFO: Processing buffer {"connection_id":158910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:03:59] local.INFO: IMEI packet received {"connection_id":158910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":158910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:04:06] local.INFO: TCP Data received {"connection_id":158910,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:04:06] local.INFO: Processing buffer {"connection_id":158910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:04:06] local.INFO: IMEI packet received {"connection_id":158910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":158910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:04:08] local.INFO: TCP Data received {"connection_id":158910,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01991a310012ceb49800713cfa0001600712a..."} 
[2026-08-19 16:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01991a310012ceb49800713cfa0001600712a..."} 
[2026-08-19 16:04:08] local.INFO: Processing buffer {"connection_id":158910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01991a310012ceb49800713cfa0001600712a..."} 
[2026-08-19 16:04:08] local.INFO: Packet analysis {"connection_id":158910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01991"} 
[2026-08-19 16:04:08] local.INFO: Extracted packet for processing {"connection_id":158910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01991"} 
[2026-08-19 16:04:08] local.INFO: GPS Element Parsed {"raw_longitude":753617280,"raw_latitude":118738848,"longitude_deg":75.361728,"latitude_deg":11.8738848,"altitude":22,"angle":113,"satellites":42,"speed":2,"hex_longitude":"2ceb4980","hex_latitude":"0713cfa0","is_valid_coordinates":true} 
[2026-08-19 16:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506649600001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386019991138336768,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492802508587808768,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787135370000,"timestamp_ms":1787135370000,"timestamp_seconds":1787135370,"priority":1,"record_length":96,"hex_timestamp":"000001a01991a310"} 
[2026-08-19 16:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 16:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":158910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":158910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":158910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506649600001,"66":27767,"12":206,"2":54272,"24":2,"16":386019991138336768,"44":-1492802508587808768},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506649600001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:04:08] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386019991138336768,"km_value":386019991138336.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:04:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492802508587808768,"description":"Unknown IO ID 44"} 
[2026-08-19 16:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506649600001,"power":27767,"unknown_12":206,"power_alt":54272,"ignition":2,"odometer":null,"unknown_44":-1492802508587808768}} 
[2026-08-19 16:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":158910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:04:08] local.INFO: GPS data processed {"connection_id":158910,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:04:08] local.INFO: Acknowledgment sent {"connection_id":158910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:04:12] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01994bff0012d7b648005e79530000200a527..."} 
[2026-08-19 16:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01994bff0012d7b648005e79530000200a527..."} 
[2026-08-19 16:04:12] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01994bff0012d7b648005e79530000200a527..."} 
[2026-08-19 16:04:12] local.INFO: Packet analysis {"connection_id":160230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01994"} 
[2026-08-19 16:04:12] local.INFO: Extracted packet for processing {"connection_id":160230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01994"} 
[2026-08-19 16:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763061376,"raw_latitude":99063088,"longitude_deg":76.3061376,"latitude_deg":9.9063088,"altitude":2,"angle":165,"satellites":39,"speed":24,"hex_longitude":"2d7b6480","hex_latitude":"05e79530","is_valid_coordinates":true} 
[2026-08-19 16:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506701824001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120752318332272640,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890527902256492544,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787135574000,"timestamp_ms":1787135574000,"timestamp_seconds":1787135574,"priority":1,"record_length":96,"hex_timestamp":"000001a01994bff0"} 
[2026-08-19 16:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:04: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-08-19 16:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 16:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:04:12] 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-08-19 16:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506701824001,"66":13222,"96":206,"87":13824,"24":24,"16":120752318332272640,"45":8890527902256492544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-19 16:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506701824001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:04:12] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 16:04:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120752318332272640,"km_value":120752318332272.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890527902256492544,"description":"Unknown IO ID 45"} 
[2026-08-19 16:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506701824001,"power":13222,"unknown_96":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8890527902256492544}} 
[2026-08-19 16:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":160230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:04:12] local.INFO: GPS data processed {"connection_id":160230,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:04:12] local.INFO: Acknowledgment sent {"connection_id":160230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:04:13] local.INFO: TCP Data received {"connection_id":158911,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:04:13] local.INFO: Processing buffer {"connection_id":158911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:04:13] local.INFO: IMEI packet received {"connection_id":158911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":158911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:04:14] local.INFO: TCP Data received {"connection_id":157686,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a01995c5a8012d09c9400704fe20001200852a..."} 
[2026-08-19 16:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01995c5a8012d09c9400704fe20001200852a..."} 
[2026-08-19 16:04:14] local.INFO: Processing buffer {"connection_id":157686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01995c5a8012d09c9400704fe20001200852a..."} 
[2026-08-19 16:04:14] local.INFO: Packet analysis {"connection_id":157686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01995"} 
[2026-08-19 16:04:14] local.INFO: Extracted packet for processing {"connection_id":157686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01995"} 
[2026-08-19 16:04:14] local.INFO: GPS Element Parsed {"raw_longitude":755616064,"raw_latitude":117767712,"longitude_deg":75.5616064,"latitude_deg":11.7767712,"altitude":18,"angle":133,"satellites":42,"speed":11,"hex_longitude":"2d09c940","hex_latitude":"0704fe20","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506722816001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28894714606387200,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":704250421878941696,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:14] 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-08-19 16:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787135641000,"timestamp_ms":1787135641000,"timestamp_seconds":1787135641,"priority":1,"record_length":96,"hex_timestamp":"000001a01995c5a8"} 
[2026-08-19 16:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:04: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-08-19 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 16:04: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-08-19 16: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-08-19 16:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157686,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506722816001,"66":14450,"177":206,"94":10240,"24":11,"16":28894714606387200,"45":704250421878941696},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-19 16:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506722816001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:04:14] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-19 16:04:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28894714606387200,"km_value":28894714606387.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":704250421878941696,"description":"Unknown IO ID 45"} 
[2026-08-19 16:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506722816001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":704250421878941696}} 
[2026-08-19 16:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":157686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665525,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:04:14] local.INFO: GPS data processed {"connection_id":157686,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:04:14] local.INFO: Acknowledgment sent {"connection_id":157686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:04:18] local.INFO: TCP Data received {"connection_id":158911,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:04:18] local.INFO: Processing buffer {"connection_id":158911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:04:18] local.INFO: IMEI packet received {"connection_id":158911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":158911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:04:19] local.INFO: TCP Data received {"connection_id":158911,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01994bc08012d108040071a3298006c00122a..."} 
[2026-08-19 16:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01994bc08012d108040071a3298006c00122a..."} 
[2026-08-19 16:04:19] local.INFO: Processing buffer {"connection_id":158911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01994bc08012d108040071a3298006c00122a..."} 
[2026-08-19 16:04:19] local.INFO: Packet analysis {"connection_id":158911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01994"} 
[2026-08-19 16:04:19] local.INFO: Extracted packet for processing {"connection_id":158911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01994"} 
[2026-08-19 16:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756056128,"raw_latitude":119157400,"longitude_deg":75.6056128,"latitude_deg":11.91574,"altitude":108,"angle":18,"satellites":42,"speed":12,"hex_longitude":"2d108040","hex_latitude":"071a3298","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506705920001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830692341284864,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1188668857153232896,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787135573000,"timestamp_ms":1787135573000,"timestamp_seconds":1787135573,"priority":1,"record_length":96,"hex_timestamp":"000001a01994bc08"} 
[2026-08-19 16:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:04: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-08-19 16: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-19 16:04:19] 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-08-19 16: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-08-19 16:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506705920001,"66":13396,"53":206,"83":41984,"24":12,"16":13830692341284864,"45":1188668857153232896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,45]} 
[2026-08-19 16:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506705920001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:04:19] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-19 16:04:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830692341284864,"km_value":13830692341284.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1188668857153232896,"description":"Unknown IO ID 45"} 
[2026-08-19 16:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506705920001,"power":13396,"unknown_53":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1188668857153232896}} 
[2026-08-19 16:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":158911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:04:19] local.INFO: GPS data processed {"connection_id":158911,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:04:19] local.INFO: Acknowledgment sent {"connection_id":158911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:04:34] local.INFO: TCP Data received {"connection_id":157687,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157687,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:04:34] local.INFO: Processing buffer {"connection_id":157687,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:04:34] local.INFO: IMEI packet received {"connection_id":157687,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":157687,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:04:35] local.INFO: TCP Data received {"connection_id":158912,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:04:35] local.INFO: Processing buffer {"connection_id":158912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:04:35] local.INFO: IMEI packet received {"connection_id":158912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":158912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:04:35] local.INFO: TCP Data received {"connection_id":157687,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157687,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:04:35] local.INFO: Processing buffer {"connection_id":157687,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:04:35] local.INFO: IMEI packet received {"connection_id":157687,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":157687,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:04:36] local.INFO: TCP Data received {"connection_id":158912,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:04:36] local.INFO: Processing buffer {"connection_id":158912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:04:36] local.INFO: IMEI packet received {"connection_id":158912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":158912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:04:36] local.INFO: TCP Data received {"connection_id":157687,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157687,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:04:36] local.INFO: Processing buffer {"connection_id":157687,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:04:36] local.INFO: IMEI packet received {"connection_id":157687,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":157687,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:04:37] local.INFO: TCP Data received {"connection_id":157687,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157687,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:04:37] local.INFO: Processing buffer {"connection_id":157687,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:04:37] local.INFO: IMEI packet received {"connection_id":157687,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":157687,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:04:40] local.INFO: TCP Data received {"connection_id":158912,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:04:40] local.INFO: Processing buffer {"connection_id":158912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:04:40] local.INFO: IMEI packet received {"connection_id":158912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":158912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:04:40] local.INFO: TCP Data received {"connection_id":158910,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01991f518012ceb49000713cf58001600712b..."} 
[2026-08-19 16:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01991f518012ceb49000713cf58001600712b..."} 
[2026-08-19 16:04:40] local.INFO: Processing buffer {"connection_id":158910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01991f518012ceb49000713cf58001600712b..."} 
[2026-08-19 16:04:40] local.INFO: Packet analysis {"connection_id":158910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01991"} 
[2026-08-19 16:04:40] local.INFO: Extracted packet for processing {"connection_id":158910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01991"} 
[2026-08-19 16:04:40] local.INFO: GPS Element Parsed {"raw_longitude":753617152,"raw_latitude":118738776,"longitude_deg":75.3617152,"latitude_deg":11.8738776,"altitude":22,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4900","hex_latitude":"0713cf58","is_valid_coordinates":true} 
[2026-08-19 16:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506654720001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492521033611108352,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787135391000,"timestamp_ms":1787135391000,"timestamp_seconds":1787135391,"priority":1,"record_length":96,"hex_timestamp":"000001a01991f518"} 
[2026-08-19 16:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 16:04:40] 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-08-19 16:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506654720001,"66":28050,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492521033611108352},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506654720001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:04:40] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492521033611108352,"description":"Unknown IO ID 44"} 
[2026-08-19 16:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506654720001,"power":28050,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492521033611108352}} 
[2026-08-19 16:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":158910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:04:40] local.INFO: GPS data processed {"connection_id":158910,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:04:40] local.INFO: Acknowledgment sent {"connection_id":158910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:04:41] local.INFO: TCP Data received {"connection_id":158912,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019962b38012d7b7e0005e71b20000a00a029..."} 
[2026-08-19 16:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019962b38012d7b7e0005e71b20000a00a029..."} 
[2026-08-19 16:04:41] local.INFO: Processing buffer {"connection_id":158912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019962b38012d7b7e0005e71b20000a00a029..."} 
[2026-08-19 16:04:41] local.INFO: Packet analysis {"connection_id":158912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:04:41] local.INFO: Extracted packet for processing {"connection_id":158912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:04:41] local.INFO: GPS Element Parsed {"raw_longitude":763067904,"raw_latitude":99031840,"longitude_deg":76.3067904,"latitude_deg":9.903184,"altitude":10,"angle":160,"satellites":41,"speed":21,"hex_longitude":"2d7b7e00","hex_latitude":"05e71b20","is_valid_coordinates":true} 
[2026-08-19 16:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506728448001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120753894585270272,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897635145409431552,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:41] 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-08-19 16:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787135667000,"timestamp_ms":1787135667000,"timestamp_seconds":1787135667,"priority":1,"record_length":96,"hex_timestamp":"000001a019962b38"} 
[2026-08-19 16:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-19 16:04:41] 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-08-19 16:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:04:41] 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-08-19 16:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506728448001,"66":13689,"96":206,"87":13824,"24":21,"16":120753894585270272,"45":8897635145409431552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-19 16:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506728448001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:04:41] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 16:04:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120753894585270272,"km_value":120753894585270.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897635145409431552,"description":"Unknown IO ID 45"} 
[2026-08-19 16:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506728448001,"power":13689,"unknown_96":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8897635145409431552}} 
[2026-08-19 16:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":158912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:04:41] local.INFO: GPS data processed {"connection_id":158912,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:04:41] local.INFO: Acknowledgment sent {"connection_id":158912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:04:50] local.INFO: TCP Data received {"connection_id":158911,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01994c7c0012d108140071a36f0006b00052b..."} 
[2026-08-19 16:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01994c7c0012d108140071a36f0006b00052b..."} 
[2026-08-19 16:04:50] local.INFO: Processing buffer {"connection_id":158911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01994c7c0012d108140071a36f0006b00052b..."} 
[2026-08-19 16:04:50] local.INFO: Packet analysis {"connection_id":158911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01994"} 
[2026-08-19 16:04:50] local.INFO: Extracted packet for processing {"connection_id":158911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01994"} 
[2026-08-19 16:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756056384,"raw_latitude":119158512,"longitude_deg":75.6056384,"latitude_deg":11.9158512,"altitude":107,"angle":5,"satellites":43,"speed":15,"hex_longitude":"2d108140","hex_latitude":"071a36f0","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506706688001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13830748175859712,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189020700874283008,"note":"Value kept but may cause issues"} 
[2026-08-19 16:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787135576000,"timestamp_ms":1787135576000,"timestamp_seconds":1787135576,"priority":1,"record_length":96,"hex_timestamp":"000001a01994c7c0"} 
[2026-08-19 16:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 16:04:50] 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-08-19 16: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-08-19 16:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":158911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":158911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":158911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506706688001,"66":14070,"53":206,"83":41984,"24":15,"16":13830748175859712,"45":1189020700874283008},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,45]} 
[2026-08-19 16:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506706688001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:04:50] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-19 16:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13830748175859712,"km_value":13830748175859.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189020700874283008,"description":"Unknown IO ID 45"} 
[2026-08-19 16:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506706688001,"power":14070,"unknown_53":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1189020700874283008}} 
[2026-08-19 16:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":158911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:04:50] local.INFO: GPS data processed {"connection_id":158911,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:04:50] local.INFO: Acknowledgment sent {"connection_id":158911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:04:59] local.INFO: TCP Data received {"connection_id":160231,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:04:59] local.INFO: Processing buffer {"connection_id":160231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:04:59] local.INFO: IMEI packet received {"connection_id":160231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":160231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:05:04] local.INFO: TCP Data received {"connection_id":160231,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:05:04] local.INFO: Processing buffer {"connection_id":160231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:05:04] local.INFO: IMEI packet received {"connection_id":160231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":160231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:05:07] local.INFO: TCP Data received {"connection_id":160231,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019921070012ceb49000713cf58001600712d..."} 
[2026-08-19 16:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019921070012ceb49000713cf58001600712d..."} 
[2026-08-19 16:05:07] local.INFO: Processing buffer {"connection_id":160231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019921070012ceb49000713cf58001600712d..."} 
[2026-08-19 16:05:07] local.INFO: Packet analysis {"connection_id":160231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01992"} 
[2026-08-19 16:05:07] local.INFO: Extracted packet for processing {"connection_id":160231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01992"} 
[2026-08-19 16:05:07] local.INFO: GPS Element Parsed {"raw_longitude":753617152,"raw_latitude":118738776,"longitude_deg":75.3617152,"latitude_deg":11.8738776,"altitude":22,"angle":113,"satellites":45,"speed":0,"hex_longitude":"2ceb4900","hex_latitude":"0713cf58","is_valid_coordinates":true} 
[2026-08-19 16:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506660096001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492661771099482112,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787135398000,"timestamp_ms":1787135398000,"timestamp_seconds":1787135398,"priority":1,"record_length":96,"hex_timestamp":"000001a019921070"} 
[2026-08-19 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-08-19 16:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 16:05:07] 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-08-19 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-08-19 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-08-19 16:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506660096001,"66":27930,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492661771099482112},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506660096001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:05:07] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:05:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492661771099482112,"description":"Unknown IO ID 44"} 
[2026-08-19 16:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506660096001,"power":27930,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492661771099482112}} 
[2026-08-19 16:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":160231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:05:07] local.INFO: GPS data processed {"connection_id":160231,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:05:07] local.INFO: Acknowledgment sent {"connection_id":160231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:05:08] local.INFO: TCP Data received {"connection_id":158050,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:05:08] local.INFO: Processing buffer {"connection_id":158050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:05:08] local.INFO: IMEI packet received {"connection_id":158050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":158050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:05:09] local.INFO: TCP Data received {"connection_id":158050,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:05:09] local.INFO: Processing buffer {"connection_id":158050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:05:09] local.INFO: IMEI packet received {"connection_id":158050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":158050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:05:12] local.INFO: TCP Data received {"connection_id":158912,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0199636f0012d7b818005e714e0000a008f28..."} 
[2026-08-19 16:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199636f0012d7b818005e714e0000a008f28..."} 
[2026-08-19 16:05:12] local.INFO: Processing buffer {"connection_id":158912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199636f0012d7b818005e714e0000a008f28..."} 
[2026-08-19 16:05:12] local.INFO: Packet analysis {"connection_id":158912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:05:12] local.INFO: Extracted packet for processing {"connection_id":158912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:05:12] local.INFO: GPS Element Parsed {"raw_longitude":763068800,"raw_latitude":99030240,"longitude_deg":76.30688,"latitude_deg":9.903024,"altitude":10,"angle":143,"satellites":40,"speed":25,"hex_longitude":"2d7b8180","hex_latitude":"05e714e0","is_valid_coordinates":true} 
[2026-08-19 16:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506730752001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120753980484616192,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898549939082829824,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787135670000,"timestamp_ms":1787135670000,"timestamp_seconds":1787135670,"priority":1,"record_length":96,"hex_timestamp":"000001a0199636f0"} 
[2026-08-19 16:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-19 16:05:12] 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-08-19 16:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:05:12] 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-08-19 16:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506730752001,"66":13319,"96":206,"87":13824,"24":25,"16":120753980484616192,"45":8898549939082829824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-19 16:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506730752001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:05:12] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 16:05:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120753980484616192,"km_value":120753980484616.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898549939082829824,"description":"Unknown IO ID 45"} 
[2026-08-19 16:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506730752001,"power":13319,"unknown_96":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8898549939082829824}} 
[2026-08-19 16:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":158912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:05:12] local.INFO: GPS data processed {"connection_id":158912,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:05:12] local.INFO: Acknowledgment sent {"connection_id":158912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:05:13] local.INFO: TCP Data received {"connection_id":158050,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:05:13] local.INFO: Processing buffer {"connection_id":158050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:05:13] local.INFO: IMEI packet received {"connection_id":158050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":158050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:05:14] local.INFO: TCP Data received {"connection_id":158050,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019950a28012d108540071a59d8006701632d..."} 
[2026-08-19 16:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019950a28012d108540071a59d8006701632d..."} 
[2026-08-19 16:05:14] local.INFO: Processing buffer {"connection_id":158050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019950a28012d108540071a59d8006701632d..."} 
[2026-08-19 16:05:14] local.INFO: Packet analysis {"connection_id":158050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01995"} 
[2026-08-19 16:05:14] local.INFO: Extracted packet for processing {"connection_id":158050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01995"} 
[2026-08-19 16:05:14] local.INFO: GPS Element Parsed {"raw_longitude":756057408,"raw_latitude":119167448,"longitude_deg":75.6057408,"latitude_deg":11.9167448,"altitude":103,"angle":355,"satellites":45,"speed":20,"hex_longitude":"2d108540","hex_latitude":"071a59d8","is_valid_coordinates":true} 
[2026-08-19 16:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506707456001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13831186262523904,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1189302175851278336,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787135593000,"timestamp_ms":1787135593000,"timestamp_seconds":1787135593,"priority":1,"record_length":96,"hex_timestamp":"000001a019950a28"} 
[2026-08-19 16:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-19 16:05:14] 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-08-19 16:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506707456001,"66":13993,"53":206,"83":41984,"24":20,"16":13831186262523904,"45":1189302175851278336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,45]} 
[2026-08-19 16:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506707456001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:05:14] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-19 16:05:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13831186262523904,"km_value":13831186262523.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1189302175851278336,"description":"Unknown IO ID 45"} 
[2026-08-19 16:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506707456001,"power":13993,"unknown_53":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1189302175851278336}} 
[2026-08-19 16:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":158050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:05:14] local.INFO: GPS data processed {"connection_id":158050,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:05:14] local.INFO: Acknowledgment sent {"connection_id":158050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:05:35] local.INFO: TCP Data received {"connection_id":158913,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:05:35] local.INFO: Processing buffer {"connection_id":158913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:05:35] local.INFO: IMEI packet received {"connection_id":158913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":158913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:05:38] local.INFO: TCP Data received {"connection_id":158913,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:05:38] local.INFO: Processing buffer {"connection_id":158913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:05:38] local.INFO: IMEI packet received {"connection_id":158913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":158913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:05:38] local.INFO: TCP Data received {"connection_id":160231,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019921070012ceb49000713cf58001600712d..."} 
[2026-08-19 16:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019921070012ceb49000713cf58001600712d..."} 
[2026-08-19 16:05:38] local.INFO: Processing buffer {"connection_id":160231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019921070012ceb49000713cf58001600712d..."} 
[2026-08-19 16:05:38] local.INFO: Packet analysis {"connection_id":160231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01992"} 
[2026-08-19 16:05:38] local.INFO: Extracted packet for processing {"connection_id":160231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01992"} 
[2026-08-19 16:05:38] local.INFO: GPS Element Parsed {"raw_longitude":753617152,"raw_latitude":118738776,"longitude_deg":75.3617152,"latitude_deg":11.8738776,"altitude":22,"angle":113,"satellites":45,"speed":0,"hex_longitude":"2ceb4900","hex_latitude":"0713cf58","is_valid_coordinates":true} 
[2026-08-19 16:05:38] 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-08-19 16:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506660096001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492661771099482112,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787135398000,"timestamp_ms":1787135398000,"timestamp_seconds":1787135398,"priority":1,"record_length":96,"hex_timestamp":"000001a019921070"} 
[2026-08-19 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-08-19 16:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 16:05:38] 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-08-19 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-08-19 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-08-19 16:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506660096001,"66":27930,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492661771099482112},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506660096001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:05:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:05:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492661771099482112,"description":"Unknown IO ID 44"} 
[2026-08-19 16:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506660096001,"power":27930,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492661771099482112}} 
[2026-08-19 16:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":160231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:05:38] local.INFO: GPS data processed {"connection_id":160231,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:05:38] local.INFO: Acknowledgment sent {"connection_id":160231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:05:40] local.INFO: TCP Data received {"connection_id":158913,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:05:40] local.INFO: Processing buffer {"connection_id":158913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:05:40] local.INFO: IMEI packet received {"connection_id":158913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":158913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:05:40] local.INFO: TCP Data received {"connection_id":158913,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019964690012d7b874005e70c20000a00a028..."} 
[2026-08-19 16:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019964690012d7b874005e70c20000a00a028..."} 
[2026-08-19 16:05:40] local.INFO: Processing buffer {"connection_id":158913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019964690012d7b874005e70c20000a00a028..."} 
[2026-08-19 16:05:40] local.INFO: Packet analysis {"connection_id":158913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:05:40] local.INFO: Extracted packet for processing {"connection_id":158913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763070272,"raw_latitude":99028000,"longitude_deg":76.3070272,"latitude_deg":9.9028,"altitude":10,"angle":160,"satellites":40,"speed":26,"hex_longitude":"2d7b8740","hex_latitude":"05e70c20","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506731520001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120754113628602368,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899535101500907520,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:40] 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-08-19 16:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787135674000,"timestamp_ms":1787135674000,"timestamp_seconds":1787135674,"priority":1,"record_length":96,"hex_timestamp":"000001a019964690"} 
[2026-08-19 16:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:05: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-08-19 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 16:05:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:40] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2516086785,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:40] local.WARNING: Large IO value detected {"io_id":231,"raw_value":3911376310741968640,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-08-19 16:05:40] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2281778555,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:40] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2147870505,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:40] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728653,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3878434816,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:40] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57787444951406390,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:40] local.WARNING: Large IO value detected {"io_id":149,"raw_value":-6737383747689758715,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:40] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,96,87,24,241,157,16,1,160,43,45,27,10,41,66,8,192,9,4,128,240,34,227,25,231,113,205,244,122,224,239,52,2,173,5,12,182,149],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0}]} 
[2026-08-19 16:05:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720733342342381568,"timestamp_seconds":720733342342381.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 16:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:05:40] 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-08-19 16:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506731520001,"66":13515,"96":206,"87":13824,"24":26,"16":120754113628602368,"45":8899535101500907520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-19 16:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506731520001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:05:40] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 16:05:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120754113628602368,"km_value":120754113628602.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899535101500907520,"description":"Unknown IO ID 45"} 
[2026-08-19 16:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506731520001,"power":13515,"unknown_96":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8899535101500907520}} 
[2026-08-19 16:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":158913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:05:40] local.INFO: GPS data processed {"connection_id":158913,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:05:40] local.INFO: Acknowledgment sent {"connection_id":158913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:05:41] local.INFO: TCP Data received {"connection_id":158913,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019967d40012d7b930005e6e9d8000a00982b..."} 
[2026-08-19 16:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019967d40012d7b930005e6e9d8000a00982b..."} 
[2026-08-19 16:05:41] local.INFO: Processing buffer {"connection_id":158913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019967d40012d7b930005e6e9d8000a00982b..."} 
[2026-08-19 16:05:41] local.INFO: Packet analysis {"connection_id":158913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:05:41] local.INFO: Extracted packet for processing {"connection_id":158913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:05:41] local.INFO: GPS Element Parsed {"raw_longitude":763073280,"raw_latitude":99019224,"longitude_deg":76.307328,"latitude_deg":9.9019224,"altitude":10,"angle":152,"satellites":43,"speed":28,"hex_longitude":"2d7b9300","hex_latitude":"05e6e9d8","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506732544001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120754564600168448,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901153582616420352,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:41] 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-08-19 16:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787135688000,"timestamp_ms":1787135688000,"timestamp_seconds":1787135688,"priority":1,"record_length":96,"hex_timestamp":"000001a019967d40"} 
[2026-08-19 16:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-19 16:05:41] 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-08-19 16: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-08-19 16:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:05:41] 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-08-19 16:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506732544001,"66":13504,"96":206,"87":13824,"24":28,"16":120754564600168448,"45":8901153582616420352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-19 16:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506732544001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:05:41] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 16:05:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120754564600168448,"km_value":120754564600168.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901153582616420352,"description":"Unknown IO ID 45"} 
[2026-08-19 16:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506732544001,"power":13504,"unknown_96":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8901153582616420352}} 
[2026-08-19 16:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":158913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:05:41] local.INFO: GPS data processed {"connection_id":158913,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:05:41] local.INFO: Acknowledgment sent {"connection_id":158913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:05:45] local.INFO: TCP Data received {"connection_id":158050,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019968510012d106180071b4c60003f016524..."} 
[2026-08-19 16:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019968510012d106180071b4c60003f016524..."} 
[2026-08-19 16:05:45] local.INFO: Processing buffer {"connection_id":158050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019968510012d106180071b4c60003f016524..."} 
[2026-08-19 16:05:45] local.INFO: Packet analysis {"connection_id":158050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:05:45] local.INFO: Extracted packet for processing {"connection_id":158050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:05:45] local.INFO: GPS Element Parsed {"raw_longitude":756048256,"raw_latitude":119229536,"longitude_deg":75.6048256,"latitude_deg":11.9229536,"altitude":63,"angle":357,"satellites":36,"speed":33,"hex_longitude":"2d106180","hex_latitude":"071b4c60","is_valid_coordinates":true} 
[2026-08-19 16:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506734336001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13834265754075136,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1181069032798255104,"note":"Value kept but may cause issues"} 
[2026-08-19 16:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787135690000,"timestamp_ms":1787135690000,"timestamp_seconds":1787135690,"priority":1,"record_length":96,"hex_timestamp":"000001a019968510"} 
[2026-08-19 16:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:05:45] 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-08-19 16:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-19 16:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506734336001,"66":12711,"156":206,"83":41984,"24":33,"16":13834265754075136,"45":1181069032798255104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-08-19 16:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506734336001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:05:45] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 16:05:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13834265754075136,"km_value":13834265754075.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1181069032798255104,"description":"Unknown IO ID 45"} 
[2026-08-19 16:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506734336001,"power":12711,"unknown_156":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1181069032798255104}} 
[2026-08-19 16:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":158050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:05:45] local.INFO: GPS data processed {"connection_id":158050,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:05:45] local.INFO: Acknowledgment sent {"connection_id":158050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:06:04] local.INFO: TCP Data received {"connection_id":157689,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:06:04] local.INFO: Processing buffer {"connection_id":157689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:06:04] local.INFO: IMEI packet received {"connection_id":157689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":157689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:06:10] local.INFO: TCP Data received {"connection_id":157689,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:06:10] local.INFO: Processing buffer {"connection_id":157689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:06:10] local.INFO: IMEI packet received {"connection_id":157689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":157689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:06:11] local.INFO: TCP Data received {"connection_id":157689,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:06:11] local.INFO: Processing buffer {"connection_id":157689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:06:11] local.INFO: Packet analysis {"connection_id":157689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:06:11] local.INFO: Extracted packet for processing {"connection_id":157689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:06:11] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":45,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506661888001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492661771099482112,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787135702000,"timestamp_ms":1787135702000,"timestamp_seconds":1787135702,"priority":1,"record_length":96,"hex_timestamp":"000001a01996b3f0"} 
[2026-08-19 16:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 16:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506661888001,"66":26376,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492661771099482112},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506661888001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:06:11] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:06:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492661771099482112,"description":"Unknown IO ID 44"} 
[2026-08-19 16:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506661888001,"power":26376,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492661771099482112}} 
[2026-08-19 16:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":157689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:06:11] local.INFO: GPS data processed {"connection_id":157689,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:06:11] local.INFO: Acknowledgment sent {"connection_id":157689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:06:12] local.INFO: TCP Data received {"connection_id":158913,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019975418012d7b9d0005e69a38000a00a121..."} 
[2026-08-19 16:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019975418012d7b9d0005e69a38000a00a121..."} 
[2026-08-19 16:06:12] local.INFO: Processing buffer {"connection_id":158913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019975418012d7b9d0005e69a38000a00a121..."} 
[2026-08-19 16:06:12] local.INFO: Packet analysis {"connection_id":158913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01997"} 
[2026-08-19 16:06:12] local.INFO: Extracted packet for processing {"connection_id":158913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01997"} 
[2026-08-19 16:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763075840,"raw_latitude":98998840,"longitude_deg":76.307584,"latitude_deg":9.899884,"altitude":10,"angle":161,"satellites":33,"speed":2,"hex_longitude":"2d7b9d00","hex_latitude":"05e69a38","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506749696001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120755582507417600,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907205294608273408,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:12] 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-08-19 16:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787135743000,"timestamp_ms":1787135743000,"timestamp_seconds":1787135743,"priority":1,"record_length":96,"hex_timestamp":"000001a019975418"} 
[2026-08-19 16:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 16:06:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:12] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2535542785,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:12] local.WARNING: Large IO value detected {"io_id":230,"raw_value":-4278419607334739200,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-08-19 16:06:12] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308365,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3870787584,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:12] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57787444951406390,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:12] local.WARNING: Large IO value detected {"io_id":150,"raw_value":-5480879451651260411,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:12] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,95,87,24,241,157,16,2,160,72,45,128,155,10,34,66,68,156,56,64,1,240,110,227,25,230,4,113,205,211,152,144,37,239,52,96,173,5,9,31,122,150],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0}]} 
[2026-08-19 16:06:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720737714617843712,"timestamp_seconds":720737714617843.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 16:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:06:12] 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-08-19 16:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506749696001,"66":13493,"95":206,"87":13824,"24":2,"16":120755582507417600,"45":8907205294608273408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-19 16:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506749696001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:06:12] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 16:06:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120755582507417600,"km_value":120755582507417.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907205294608273408,"description":"Unknown IO ID 45"} 
[2026-08-19 16:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506749696001,"power":13493,"unknown_95":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8907205294608273408}} 
[2026-08-19 16:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":158913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:06:12] local.INFO: GPS data processed {"connection_id":158913,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:06:12] local.INFO: Acknowledgment sent {"connection_id":158913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:06:13] local.INFO: TCP Data received {"connection_id":157690,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:06:13] local.INFO: Processing buffer {"connection_id":157690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:06:13] local.INFO: IMEI packet received {"connection_id":157690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":157690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:06:16] local.INFO: TCP Data received {"connection_id":157690,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:06:16] local.INFO: Processing buffer {"connection_id":157690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:06:16] local.INFO: IMEI packet received {"connection_id":157690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":157690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:06:17] local.INFO: TCP Data received {"connection_id":157690,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199694b0012d106240071b5898003b000826..."} 
[2026-08-19 16:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199694b0012d106240071b5898003b000826..."} 
[2026-08-19 16:06:17] local.INFO: Processing buffer {"connection_id":157690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199694b0012d106240071b5898003b000826..."} 
[2026-08-19 16:06:17] local.INFO: Packet analysis {"connection_id":157690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:06:17] local.INFO: Extracted packet for processing {"connection_id":157690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756048448,"raw_latitude":119232664,"longitude_deg":75.6048448,"latitude_deg":11.9232664,"altitude":59,"angle":8,"satellites":38,"speed":30,"hex_longitude":"2d106240","hex_latitude":"071b5898","is_valid_coordinates":true} 
[2026-08-19 16:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506736640001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13834420372897792,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1180365345358897152,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787135694000,"timestamp_ms":1787135694000,"timestamp_seconds":1787135694,"priority":1,"record_length":96,"hex_timestamp":"000001a0199694b0"} 
[2026-08-19 16:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:06:17] 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-08-19 16:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-19 16:06:17] 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-08-19 16:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506736640001,"66":13863,"156":206,"83":41984,"24":30,"16":13834420372897792,"45":1180365345358897152},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-08-19 16:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506736640001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:06:17] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 16:06:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13834420372897792,"km_value":13834420372897.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1180365345358897152,"description":"Unknown IO ID 45"} 
[2026-08-19 16:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506736640001,"power":13863,"unknown_156":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1180365345358897152}} 
[2026-08-19 16:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":157690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:06:17] local.INFO: GPS data processed {"connection_id":157690,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:06:17] local.INFO: Acknowledgment sent {"connection_id":157690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:06:35] local.INFO: TCP Data received {"connection_id":160232,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:06:35] local.INFO: Processing buffer {"connection_id":160232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:06:35] local.INFO: IMEI packet received {"connection_id":160232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":160232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:06:39] local.INFO: TCP Data received {"connection_id":160232,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:06:39] local.INFO: Processing buffer {"connection_id":160232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:06:39] local.INFO: IMEI packet received {"connection_id":160232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":160232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:06:40] local.INFO: TCP Data received {"connection_id":160232,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:06:40] local.INFO: Processing buffer {"connection_id":160232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:06:40] local.INFO: IMEI packet received {"connection_id":160232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":160232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:06:40] local.INFO: TCP Data received {"connection_id":160232,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019978eb0012d7ba4c005e677f8000a00a828..."} 
[2026-08-19 16:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019978eb0012d7ba4c005e677f8000a00a828..."} 
[2026-08-19 16:06:40] local.INFO: Processing buffer {"connection_id":160232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019978eb0012d7ba4c005e677f8000a00a828..."} 
[2026-08-19 16:06:40] local.INFO: Packet analysis {"connection_id":160232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01997"} 
[2026-08-19 16:06:40] local.INFO: Extracted packet for processing {"connection_id":160232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01997"} 
[2026-08-19 16:06:40] local.INFO: GPS Element Parsed {"raw_longitude":763077824,"raw_latitude":98990072,"longitude_deg":76.3077824,"latitude_deg":9.8990072,"altitude":10,"angle":168,"satellites":40,"speed":37,"hex_longitude":"2d7ba4c0","hex_latitude":"05e677f8","is_valid_coordinates":true} 
[2026-08-19 16:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506750208001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120756020594081792,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907275663352412160,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787135758000,"timestamp_ms":1787135758000,"timestamp_seconds":1787135758,"priority":1,"record_length":96,"hex_timestamp":"000001a019978eb0"} 
[2026-08-19 16:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:06: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-08-19 16:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-19 16:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:06:40] 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-08-19 16:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506750208001,"66":13135,"95":206,"87":13824,"24":37,"16":120756020594081792,"45":8907275663352412160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-19 16:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506750208001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:06:40] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 16:06:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120756020594081792,"km_value":120756020594081.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907275663352412160,"description":"Unknown IO ID 45"} 
[2026-08-19 16:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506750208001,"power":13135,"unknown_95":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8907275663352412160}} 
[2026-08-19 16:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":160232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:06:40] local.INFO: GPS data processed {"connection_id":160232,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:06:40] local.INFO: Acknowledgment sent {"connection_id":160232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:06:43] local.INFO: TCP Data received {"connection_id":157689,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:06:43] local.INFO: Processing buffer {"connection_id":157689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:06:43] local.INFO: Packet analysis {"connection_id":157689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:06:43] local.INFO: Extracted packet for processing {"connection_id":157689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:06:43] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":45,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506661888001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492661771099482112,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787135702000,"timestamp_ms":1787135702000,"timestamp_seconds":1787135702,"priority":1,"record_length":96,"hex_timestamp":"000001a01996b3f0"} 
[2026-08-19 16:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 16:06:43] 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-08-19 16: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-08-19 16:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506661888001,"66":26376,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492661771099482112},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506661888001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:06:43] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:06:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492661771099482112,"description":"Unknown IO ID 44"} 
[2026-08-19 16:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506661888001,"power":26376,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492661771099482112}} 
[2026-08-19 16:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":157689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:06:43] local.INFO: GPS data processed {"connection_id":157689,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:06:43] local.INFO: Acknowledgment sent {"connection_id":157689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:06:48] local.INFO: TCP Data received {"connection_id":157690,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01997aa08012d108f40071b9de0003a004a2b..."} 
[2026-08-19 16:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01997aa08012d108f40071b9de0003a004a2b..."} 
[2026-08-19 16:06:48] local.INFO: Processing buffer {"connection_id":157690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01997aa08012d108f40071b9de0003a004a2b..."} 
[2026-08-19 16:06:48] local.INFO: Packet analysis {"connection_id":157690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01997"} 
[2026-08-19 16:06:48] local.INFO: Extracted packet for processing {"connection_id":157690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01997"} 
[2026-08-19 16:06:48] local.INFO: GPS Element Parsed {"raw_longitude":756059968,"raw_latitude":119250400,"longitude_deg":75.6059968,"latitude_deg":11.92504,"altitude":58,"angle":74,"satellites":43,"speed":23,"hex_longitude":"2d108f40","hex_latitude":"071b9de0","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506755584001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13835833417138176,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1192539138106947584,"note":"Value kept but may cause issues"} 
[2026-08-19 16:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787135765000,"timestamp_ms":1787135765000,"timestamp_seconds":1787135765,"priority":1,"record_length":96,"hex_timestamp":"000001a01997aa08"} 
[2026-08-19 16:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:06:48] 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-08-19 16: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-19 16:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":157690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":157690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":157690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506755584001,"66":13559,"155":206,"83":41984,"24":23,"16":13835833417138176,"45":1192539138106947584},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-08-19 16:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506755584001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:06:48] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 16:06:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13835833417138176,"km_value":13835833417138.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1192539138106947584,"description":"Unknown IO ID 45"} 
[2026-08-19 16:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506755584001,"power":13559,"unknown_155":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1192539138106947584}} 
[2026-08-19 16:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":157690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:06:48] local.INFO: GPS data processed {"connection_id":157690,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:06:48] local.INFO: Acknowledgment sent {"connection_id":157690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:06:59] local.INFO: TCP Data received {"connection_id":157691,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:06:59] local.INFO: Processing buffer {"connection_id":157691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:06:59] local.INFO: IMEI packet received {"connection_id":157691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":157691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:07:04] local.INFO: TCP Data received {"connection_id":157691,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:07:04] local.INFO: Processing buffer {"connection_id":157691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:07:04] local.INFO: IMEI packet received {"connection_id":157691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":157691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:07:06] local.INFO: TCP Data received {"connection_id":157692,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:07:06] local.INFO: Processing buffer {"connection_id":157692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:07:06] local.INFO: IMEI packet received {"connection_id":157692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":157692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:07:06] local.INFO: TCP Data received {"connection_id":157691,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:07:06] local.INFO: Processing buffer {"connection_id":157691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:07:06] local.INFO: Packet analysis {"connection_id":157691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:07:06] local.INFO: Extracted packet for processing {"connection_id":157691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:07:06] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":45,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506661888001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492661771099482112,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787135702000,"timestamp_ms":1787135702000,"timestamp_seconds":1787135702,"priority":1,"record_length":96,"hex_timestamp":"000001a01996b3f0"} 
[2026-08-19 16:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 16:07:06] 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-08-19 16: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-08-19 16:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506661888001,"66":26376,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492661771099482112},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506661888001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:07:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:07:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492661771099482112,"description":"Unknown IO ID 44"} 
[2026-08-19 16:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506661888001,"power":26376,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492661771099482112}} 
[2026-08-19 16:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":157691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:07:06] local.INFO: GPS data processed {"connection_id":157691,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:07:06] local.INFO: Acknowledgment sent {"connection_id":157691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:07:09] local.INFO: TCP Data received {"connection_id":157692,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:07:09] local.INFO: Processing buffer {"connection_id":157692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:07:09] local.INFO: IMEI packet received {"connection_id":157692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":157692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:07:09] local.INFO: TCP Data received {"connection_id":157692,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:07:09] local.INFO: Processing buffer {"connection_id":157692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:07:09] local.INFO: IMEI packet received {"connection_id":157692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":157692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:07:11] local.INFO: TCP Data received {"connection_id":160232,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019979e50012d7ba90005e66a20000a009a2a..."} 
[2026-08-19 16:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019979e50012d7ba90005e66a20000a009a2a..."} 
[2026-08-19 16:07:11] local.INFO: Processing buffer {"connection_id":160232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019979e50012d7ba90005e66a20000a009a2a..."} 
[2026-08-19 16:07:11] local.INFO: Packet analysis {"connection_id":160232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01997"} 
[2026-08-19 16:07:11] local.INFO: Extracted packet for processing {"connection_id":160232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01997"} 
[2026-08-19 16:07:11] local.INFO: GPS Element Parsed {"raw_longitude":763078912,"raw_latitude":98986528,"longitude_deg":76.3078912,"latitude_deg":9.8986528,"altitude":10,"angle":154,"satellites":42,"speed":37,"hex_longitude":"2d7ba900","hex_latitude":"05e66a20","is_valid_coordinates":true} 
[2026-08-19 16:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506754048001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120756200982708224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909457094419675136,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787135762000,"timestamp_ms":1787135762000,"timestamp_seconds":1787135762,"priority":1,"record_length":96,"hex_timestamp":"000001a019979e50"} 
[2026-08-19 16:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 16:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:07: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-08-19 16:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506754048001,"66":13428,"95":206,"87":13824,"24":37,"16":120756200982708224,"45":8909457094419675136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-19 16:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506754048001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:07:11] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 16:07:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120756200982708224,"km_value":120756200982708.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909457094419675136,"description":"Unknown IO ID 45"} 
[2026-08-19 16:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506754048001,"power":13428,"unknown_95":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8909457094419675136}} 
[2026-08-19 16:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":160232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:07:11] local.INFO: GPS data processed {"connection_id":160232,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:07:11] local.INFO: Acknowledgment sent {"connection_id":160232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:07:13] local.INFO: TCP Data received {"connection_id":157692,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:07:13] local.INFO: Processing buffer {"connection_id":157692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:07:13] local.INFO: IMEI packet received {"connection_id":157692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":157692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:07:14] local.INFO: TCP Data received {"connection_id":157692,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01997adf0012d109100071b9ec8003a003a2a..."} 
[2026-08-19 16:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01997adf0012d109100071b9ec8003a003a2a..."} 
[2026-08-19 16:07:14] local.INFO: Processing buffer {"connection_id":157692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01997adf0012d109100071b9ec8003a003a2a..."} 
[2026-08-19 16:07:14] local.INFO: Packet analysis {"connection_id":157692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01997"} 
[2026-08-19 16:07:14] local.INFO: Extracted packet for processing {"connection_id":157692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01997"} 
[2026-08-19 16:07:14] local.INFO: GPS Element Parsed {"raw_longitude":756060416,"raw_latitude":119250632,"longitude_deg":75.6060416,"latitude_deg":11.9250632,"altitude":58,"angle":58,"satellites":42,"speed":21,"hex_longitude":"2d109100","hex_latitude":"071b9ec8","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506755840001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13835854891974656,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1193242825548750848,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787135766000,"timestamp_ms":1787135766000,"timestamp_seconds":1787135766,"priority":1,"record_length":96,"hex_timestamp":"000001a01997adf0"} 
[2026-08-19 16:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:07:14] 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-08-19 16: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-19 16:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506755840001,"66":13559,"155":206,"83":41984,"24":21,"16":13835854891974656,"45":1193242825548750848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-08-19 16:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506755840001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:07:14] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 16:07:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13835854891974656,"km_value":13835854891974.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1193242825548750848,"description":"Unknown IO ID 45"} 
[2026-08-19 16:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506755840001,"power":13559,"unknown_155":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1193242825548750848}} 
[2026-08-19 16:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":157692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:07:14] local.INFO: GPS data processed {"connection_id":157692,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:07:14] local.INFO: Acknowledgment sent {"connection_id":157692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:07:37] local.INFO: TCP Data received {"connection_id":158915,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:07:37] local.INFO: Processing buffer {"connection_id":158915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:07:37] local.INFO: IMEI packet received {"connection_id":158915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":158915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:07:37] local.INFO: TCP Data received {"connection_id":158915,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:07:37] local.INFO: Processing buffer {"connection_id":158915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:07:37] local.INFO: IMEI packet received {"connection_id":158915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":158915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:07:39] local.INFO: TCP Data received {"connection_id":157691,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:07:39] local.INFO: Processing buffer {"connection_id":157691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:07:39] local.INFO: Packet analysis {"connection_id":157691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:07:39] local.INFO: Extracted packet for processing {"connection_id":157691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:07:39] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":45,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506661888001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492661771099482112,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787135702000,"timestamp_ms":1787135702000,"timestamp_seconds":1787135702,"priority":1,"record_length":96,"hex_timestamp":"000001a01996b3f0"} 
[2026-08-19 16:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 16:07:39] 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-08-19 16: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-08-19 16:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506661888001,"66":26376,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492661771099482112},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506661888001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:07:39] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:07:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492661771099482112,"description":"Unknown IO ID 44"} 
[2026-08-19 16:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506661888001,"power":26376,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492661771099482112}} 
[2026-08-19 16:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":157691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:07:39] local.INFO: GPS data processed {"connection_id":157691,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:07:39] local.INFO: Acknowledgment sent {"connection_id":157691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:07:40] local.INFO: TCP Data received {"connection_id":158915,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:07:40] local.INFO: Processing buffer {"connection_id":158915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:07:40] local.INFO: IMEI packet received {"connection_id":158915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":158915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:07:41] local.INFO: TCP Data received {"connection_id":158915,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:07:41] local.INFO: Processing buffer {"connection_id":158915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:07:41] local.INFO: IMEI packet received {"connection_id":158915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":158915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:07:42] local.INFO: TCP Data received {"connection_id":158915,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01998a020012d7bfa0005e5d748000a008925..."} 
[2026-08-19 16:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01998a020012d7bfa0005e5d748000a008925..."} 
[2026-08-19 16:07:42] local.INFO: Processing buffer {"connection_id":158915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01998a020012d7bfa0005e5d748000a008925..."} 
[2026-08-19 16:07:42] local.INFO: Packet analysis {"connection_id":158915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01998"} 
[2026-08-19 16:07:42] local.INFO: Extracted packet for processing {"connection_id":158915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01998"} 
[2026-08-19 16:07:42] local.INFO: GPS Element Parsed {"raw_longitude":763099648,"raw_latitude":98948936,"longitude_deg":76.3099648,"latitude_deg":9.8948936,"altitude":10,"angle":137,"satellites":37,"speed":22,"hex_longitude":"2d7bfa00","hex_latitude":"05e5d748","is_valid_coordinates":true} 
[2026-08-19 16:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506770176001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120758318401585152,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928878867803092992,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:42] 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-08-19 16:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787135828000,"timestamp_ms":1787135828000,"timestamp_seconds":1787135828,"priority":1,"record_length":96,"hex_timestamp":"000001a01998a020"} 
[2026-08-19 16:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:07: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-08-19 16:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 16:07: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-08-19 16:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:07:42] 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-08-19 16:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506770176001,"66":13559,"40":206,"87":13824,"24":22,"16":120758318401585152,"45":8928878867803092992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-08-19 16:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506770176001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:07:42] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-19 16:07:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120758318401585152,"km_value":120758318401585.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928878867803092992,"description":"Unknown IO ID 45"} 
[2026-08-19 16:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506770176001,"power":13559,"unknown_40":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8928878867803092992}} 
[2026-08-19 16:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":158915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:07:42] local.INFO: GPS data processed {"connection_id":158915,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:07:42] local.INFO: Acknowledgment sent {"connection_id":158915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:07:45] local.INFO: TCP Data received {"connection_id":158915,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01998bb78012d7c07c005e5c6780009009524..."} 
[2026-08-19 16:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01998bb78012d7c07c005e5c6780009009524..."} 
[2026-08-19 16:07:45] local.INFO: Processing buffer {"connection_id":158915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01998bb78012d7c07c005e5c6780009009524..."} 
[2026-08-19 16:07:45] local.INFO: Packet analysis {"connection_id":158915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01998"} 
[2026-08-19 16:07:45] local.INFO: Extracted packet for processing {"connection_id":158915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01998"} 
[2026-08-19 16:07:45] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":98944632,"longitude_deg":76.3103168,"latitude_deg":9.8944632,"altitude":9,"angle":149,"satellites":36,"speed":37,"hex_longitude":"2d7c07c0","hex_latitude":"05e5c678","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506771968001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120758588984524800,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933452836173727744,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:45] 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-08-19 16:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787135835000,"timestamp_ms":1787135835000,"timestamp_seconds":1787135835,"priority":1,"record_length":96,"hex_timestamp":"000001a01998bb78"} 
[2026-08-19 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-08-19 16:07: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-08-19 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-19 16:07:45] 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-08-19 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-08-19 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-08-19 16:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:07:45] 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-08-19 16:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506771968001,"66":13896,"40":206,"87":13824,"24":37,"16":120758588984524800,"45":8933452836173727744},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-08-19 16:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506771968001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:07:45] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-19 16:07:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120758588984524800,"km_value":120758588984524.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933452836173727744,"description":"Unknown IO ID 45"} 
[2026-08-19 16:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506771968001,"power":13896,"unknown_40":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8933452836173727744}} 
[2026-08-19 16:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":158915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:07:45] local.INFO: GPS data processed {"connection_id":158915,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:07:45] local.INFO: Acknowledgment sent {"connection_id":158915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:07:45] local.INFO: TCP Data received {"connection_id":157692,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199884c8012d10d540071bb0a00037002c2a..."} 
[2026-08-19 16:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199884c8012d10d540071bb0a00037002c2a..."} 
[2026-08-19 16:07:45] local.INFO: Processing buffer {"connection_id":157692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199884c8012d10d540071bb0a00037002c2a..."} 
[2026-08-19 16:07:45] local.INFO: Packet analysis {"connection_id":157692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01998"} 
[2026-08-19 16:07:45] local.INFO: Extracted packet for processing {"connection_id":157692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01998"} 
[2026-08-19 16:07:45] local.INFO: GPS Element Parsed {"raw_longitude":756077888,"raw_latitude":119255200,"longitude_deg":75.6077888,"latitude_deg":11.92552,"altitude":55,"angle":44,"satellites":42,"speed":12,"hex_longitude":"2d10d540","hex_latitude":"071bb0a0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506769664001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13836993058308096,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1212594230198718464,"note":"Value kept but may cause issues"} 
[2026-08-19 16:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787135821000,"timestamp_ms":1787135821000,"timestamp_seconds":1787135821,"priority":1,"record_length":96,"hex_timestamp":"000001a0199884c8"} 
[2026-08-19 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-08-19 16:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 16:07:45] 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-08-19 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-08-19 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-08-19 16:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506769664001,"66":14157,"155":206,"83":41984,"24":12,"16":13836993058308096,"45":1212594230198718464},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-08-19 16:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506769664001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:07:45] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 16:07:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13836993058308096,"km_value":13836993058308.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1212594230198718464,"description":"Unknown IO ID 45"} 
[2026-08-19 16:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506769664001,"power":14157,"unknown_155":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1212594230198718464}} 
[2026-08-19 16:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":157692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:07:45] local.INFO: GPS data processed {"connection_id":157692,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:07:45] local.INFO: Acknowledgment sent {"connection_id":157692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:07:59] local.INFO: TCP Data received {"connection_id":160233,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:07:59] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:07:59] local.INFO: IMEI packet received {"connection_id":160233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":160233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:08:04] local.INFO: TCP Data received {"connection_id":160233,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:08:04] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:08:04] local.INFO: IMEI packet received {"connection_id":160233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":160233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:08:05] local.INFO: TCP Data received {"connection_id":160233,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:08:06] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:08:06] local.INFO: Packet analysis {"connection_id":160233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:08:06] local.INFO: Extracted packet for processing {"connection_id":160233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":45,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506661888001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492661771099482112,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787135702000,"timestamp_ms":1787135702000,"timestamp_seconds":1787135702,"priority":1,"record_length":96,"hex_timestamp":"000001a01996b3f0"} 
[2026-08-19 16:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 16:08:06] 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-08-19 16: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-08-19 16:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506661888001,"66":26376,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492661771099482112},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506661888001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:08:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:08:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492661771099482112,"description":"Unknown IO ID 44"} 
[2026-08-19 16:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506661888001,"power":26376,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492661771099482112}} 
[2026-08-19 16:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":160233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:08:06] local.INFO: GPS data processed {"connection_id":160233,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:08:06] local.INFO: Acknowledgment sent {"connection_id":160233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:08:06] local.INFO: TCP Data received {"connection_id":158916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:08:06] local.INFO: Processing buffer {"connection_id":158916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:08:06] local.INFO: IMEI packet received {"connection_id":158916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":158916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:08:08] local.INFO: TCP Data received {"connection_id":158916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:08:08] local.INFO: Processing buffer {"connection_id":158916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:08:08] local.INFO: IMEI packet received {"connection_id":158916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":158916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:08:08] local.INFO: TCP Data received {"connection_id":158916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:08:08] local.INFO: Processing buffer {"connection_id":158916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:08:08] local.INFO: IMEI packet received {"connection_id":158916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":158916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:08:12] local.INFO: TCP Data received {"connection_id":158916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:08:12] local.INFO: Processing buffer {"connection_id":158916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:08:12] local.INFO: IMEI packet received {"connection_id":158916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":158916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:08:12] local.INFO: TCP Data received {"connection_id":158916,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01998ea58012d10fd40071baa500036004529..."} 
[2026-08-19 16:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01998ea58012d10fd40071baa500036004529..."} 
[2026-08-19 16:08:12] local.INFO: Processing buffer {"connection_id":158916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01998ea58012d10fd40071baa500036004529..."} 
[2026-08-19 16:08:12] local.INFO: Packet analysis {"connection_id":158916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01998"} 
[2026-08-19 16:08:12] local.INFO: Extracted packet for processing {"connection_id":158916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01998"} 
[2026-08-19 16:08:12] local.INFO: GPS Element Parsed {"raw_longitude":756088128,"raw_latitude":119253584,"longitude_deg":75.6088128,"latitude_deg":11.9253584,"altitude":54,"angle":69,"satellites":41,"speed":13,"hex_longitude":"2d10fd40","hex_latitude":"071baa50","is_valid_coordinates":true} 
[2026-08-19 16:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506776064001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13837512749350912,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1223008804336697344,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787135847000,"timestamp_ms":1787135847000,"timestamp_seconds":1787135847,"priority":1,"record_length":96,"hex_timestamp":"000001a01998ea58"} 
[2026-08-19 16:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:08: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-08-19 16:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-19 16:08:12] 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-08-19 16:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506776064001,"66":14254,"155":206,"83":41984,"24":13,"16":13837512749350912,"45":1223008804336697344},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-08-19 16:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506776064001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:08:12] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 16:08:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13837512749350912,"km_value":13837512749350.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1223008804336697344,"description":"Unknown IO ID 45"} 
[2026-08-19 16:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506776064001,"power":14254,"unknown_155":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1223008804336697344}} 
[2026-08-19 16:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":158916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:08:12] local.INFO: GPS data processed {"connection_id":158916,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:08:12] local.INFO: Acknowledgment sent {"connection_id":158916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:08:18] local.INFO: TCP Data received {"connection_id":158915,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01998dea0012d7c18c005e5a4a00008009726..."} 
[2026-08-19 16:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01998dea0012d7c18c005e5a4a00008009726..."} 
[2026-08-19 16:08:18] local.INFO: Processing buffer {"connection_id":158915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01998dea0012d7c18c005e5a4a00008009726..."} 
[2026-08-19 16:08:18] local.INFO: Packet analysis {"connection_id":158915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01998"} 
[2026-08-19 16:08:18] local.INFO: Extracted packet for processing {"connection_id":158915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01998"} 
[2026-08-19 16:08:18] local.INFO: GPS Element Parsed {"raw_longitude":763107520,"raw_latitude":98935968,"longitude_deg":76.310752,"latitude_deg":9.8935968,"altitude":8,"angle":151,"satellites":38,"speed":38,"hex_longitude":"2d7c18c0","hex_latitude":"05e5a4a0","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506773760001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120759057135960064,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323117102397440,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:18] 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-08-19 16:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787135844000,"timestamp_ms":1787135844000,"timestamp_seconds":1787135844,"priority":1,"record_length":96,"hex_timestamp":"000001a01998dea0"} 
[2026-08-19 16:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-08-19 16:08:18] 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-08-19 16: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-08-19 16:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:08:18] 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-08-19 16:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506773760001,"66":13406,"40":206,"87":13824,"24":38,"16":120759057135960064,"45":8937323117102397440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-08-19 16:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506773760001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:08:18] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-19 16:08:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120759057135960064,"km_value":120759057135960.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323117102397440,"description":"Unknown IO ID 45"} 
[2026-08-19 16:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506773760001,"power":13406,"unknown_40":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8937323117102397440}} 
[2026-08-19 16:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":158915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:08:18] local.INFO: GPS data processed {"connection_id":158915,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:08:18] local.INFO: Acknowledgment sent {"connection_id":158915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:08:35] local.INFO: TCP Data received {"connection_id":158051,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:08:35] local.INFO: Processing buffer {"connection_id":158051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:08:35] local.INFO: IMEI packet received {"connection_id":158051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":158051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:08:39] local.INFO: TCP Data received {"connection_id":160233,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:08:39] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:08:39] local.INFO: Packet analysis {"connection_id":160233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:08:39] local.INFO: Extracted packet for processing {"connection_id":160233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:08:39] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":45,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506661888001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492661771099482112,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787135702000,"timestamp_ms":1787135702000,"timestamp_seconds":1787135702,"priority":1,"record_length":96,"hex_timestamp":"000001a01996b3f0"} 
[2026-08-19 16:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 16:08:39] 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-08-19 16:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506661888001,"66":26376,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492661771099482112},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506661888001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:08:39] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:08:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492661771099482112,"description":"Unknown IO ID 44"} 
[2026-08-19 16:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506661888001,"power":26376,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492661771099482112}} 
[2026-08-19 16:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":160233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:08:39] local.INFO: GPS data processed {"connection_id":160233,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:08:39] local.INFO: Acknowledgment sent {"connection_id":160233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:08:41] local.INFO: TCP Data received {"connection_id":158051,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:08:41] local.INFO: Processing buffer {"connection_id":158051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:08:41] local.INFO: IMEI packet received {"connection_id":158051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":158051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:08:42] local.INFO: TCP Data received {"connection_id":158051,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019990998012d7c268005e58360000900a528..."} 
[2026-08-19 16:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019990998012d7c268005e58360000900a528..."} 
[2026-08-19 16:08:42] local.INFO: Processing buffer {"connection_id":158051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019990998012d7c268005e58360000900a528..."} 
[2026-08-19 16:08:42] local.INFO: Packet analysis {"connection_id":158051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01999"} 
[2026-08-19 16:08:42] local.INFO: Extracted packet for processing {"connection_id":158051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01999"} 
[2026-08-19 16:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98927456,"longitude_deg":76.311104,"latitude_deg":9.8927456,"altitude":9,"angle":165,"satellites":40,"speed":23,"hex_longitude":"2d7c2680","hex_latitude":"05e58360","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506776064001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120759503812558848,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942108191704260608,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:42] 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-08-19 16:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787135855000,"timestamp_ms":1787135855000,"timestamp_seconds":1787135855,"priority":1,"record_length":96,"hex_timestamp":"000001a019990998"} 
[2026-08-19 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-08-19 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-08-19 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-19 16:08:42] 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-08-19 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-08-19 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-08-19 16:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:08:42] 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-08-19 16:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506776064001,"66":13374,"40":206,"87":13824,"24":23,"16":120759503812558848,"45":8942108191704260608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-08-19 16:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506776064001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:08:42] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-19 16:08:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120759503812558848,"km_value":120759503812558.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942108191704260608,"description":"Unknown IO ID 45"} 
[2026-08-19 16:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506776064001,"power":13374,"unknown_40":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8942108191704260608}} 
[2026-08-19 16:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":158051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:08:42] local.INFO: GPS data processed {"connection_id":158051,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:08:42] local.INFO: Acknowledgment sent {"connection_id":158051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:08:43] local.INFO: TCP Data received {"connection_id":158051,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019990998012d7c268005e58360000900a528..."} 
[2026-08-19 16:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019990998012d7c268005e58360000900a528..."} 
[2026-08-19 16:08:43] local.INFO: Processing buffer {"connection_id":158051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019990998012d7c268005e58360000900a528..."} 
[2026-08-19 16:08:43] local.INFO: Packet analysis {"connection_id":158051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01999"} 
[2026-08-19 16:08:43] local.INFO: Extracted packet for processing {"connection_id":158051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01999"} 
[2026-08-19 16:08:43] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":98927456,"longitude_deg":76.311104,"latitude_deg":9.8927456,"altitude":9,"angle":165,"satellites":40,"speed":23,"hex_longitude":"2d7c2680","hex_latitude":"05e58360","is_valid_coordinates":true} 
[2026-08-19 16:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506778880001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120759503812558848,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472631853056,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:43] 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-08-19 16:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787135855000,"timestamp_ms":1787135855000,"timestamp_seconds":1787135855,"priority":1,"record_length":96,"hex_timestamp":"000001a019990998"} 
[2026-08-19 16:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 16:08:43] 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-08-19 16:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:08:43] 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-08-19 16:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506778880001,"66":13374,"40":206,"87":13824,"24":23,"16":120759503812558848,"45":8945978472631853056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-08-19 16:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506778880001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:08:43] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-19 16:08:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120759503812558848,"km_value":120759503812558.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472631853056,"description":"Unknown IO ID 45"} 
[2026-08-19 16:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506778880001,"power":13374,"unknown_40":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8945978472631853056}} 
[2026-08-19 16:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":158051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:08:43] local.INFO: GPS data processed {"connection_id":158051,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:08:43] local.INFO: Acknowledgment sent {"connection_id":158051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:08:44] local.INFO: TCP Data received {"connection_id":158916,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01998ee40012d10fe40071baaf8003600352a..."} 
[2026-08-19 16:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01998ee40012d10fe40071baaf8003600352a..."} 
[2026-08-19 16:08:44] local.INFO: Processing buffer {"connection_id":158916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01998ee40012d10fe40071baaf8003600352a..."} 
[2026-08-19 16:08:44] local.INFO: Packet analysis {"connection_id":158916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01998"} 
[2026-08-19 16:08:44] local.INFO: Extracted packet for processing {"connection_id":158916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01998"} 
[2026-08-19 16:08:44] local.INFO: GPS Element Parsed {"raw_longitude":756088384,"raw_latitude":119253752,"longitude_deg":75.6088384,"latitude_deg":11.9253752,"altitude":54,"angle":53,"satellites":42,"speed":13,"hex_longitude":"2d10fe40","hex_latitude":"071baaf8","is_valid_coordinates":true} 
[2026-08-19 16:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506776832001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13837529929220096,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224205072987738112,"note":"Value kept but may cause issues"} 
[2026-08-19 16:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787135848000,"timestamp_ms":1787135848000,"timestamp_seconds":1787135848,"priority":1,"record_length":96,"hex_timestamp":"000001a01998ee40"} 
[2026-08-19 16:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:08: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-08-19 16:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 16:08:44] 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-08-19 16:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506776832001,"66":14254,"155":206,"83":41984,"24":13,"16":13837529929220096,"45":1224205072987738112},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-08-19 16:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506776832001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:08:44] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 16:08:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13837529929220096,"km_value":13837529929220.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224205072987738112,"description":"Unknown IO ID 45"} 
[2026-08-19 16:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506776832001,"power":14254,"unknown_155":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1224205072987738112}} 
[2026-08-19 16:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":158916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:08:44] local.INFO: GPS data processed {"connection_id":158916,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:08:44] local.INFO: Acknowledgment sent {"connection_id":158916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:09:05] local.INFO: TCP Data received {"connection_id":160234,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:09:05] local.INFO: Processing buffer {"connection_id":160234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:09:05] local.INFO: IMEI packet received {"connection_id":160234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":160234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:09:09] local.INFO: TCP Data received {"connection_id":160234,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:09:09] local.INFO: Processing buffer {"connection_id":160234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:09:09] local.INFO: IMEI packet received {"connection_id":160234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":160234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:09:13] local.INFO: TCP Data received {"connection_id":158917,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:09:13] local.INFO: Processing buffer {"connection_id":158917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:09:13] local.INFO: IMEI packet received {"connection_id":158917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":158917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:09:14] local.INFO: TCP Data received {"connection_id":160234,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:09:14] local.INFO: Processing buffer {"connection_id":160234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:09:14] local.INFO: Packet analysis {"connection_id":160234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:09:14] local.INFO: Extracted packet for processing {"connection_id":160234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:09:14] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":45,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506661888001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492661771099482112,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787135702000,"timestamp_ms":1787135702000,"timestamp_seconds":1787135702,"priority":1,"record_length":96,"hex_timestamp":"000001a01996b3f0"} 
[2026-08-19 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-08-19 16:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 16:09:14] 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-08-19 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-08-19 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-08-19 16:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506661888001,"66":26376,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492661771099482112},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506661888001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:09:14] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:09:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492661771099482112,"description":"Unknown IO ID 44"} 
[2026-08-19 16:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506661888001,"power":26376,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492661771099482112}} 
[2026-08-19 16:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":160234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:09:14] local.INFO: GPS data processed {"connection_id":160234,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:09:14] local.INFO: Acknowledgment sent {"connection_id":160234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:09:15] local.INFO: TCP Data received {"connection_id":158051,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0199a3a48012d7c2f8005e4feb0000b00d22a..."} 
[2026-08-19 16:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199a3a48012d7c2f8005e4feb0000b00d22a..."} 
[2026-08-19 16:09:15] local.INFO: Processing buffer {"connection_id":158051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199a3a48012d7c2f8005e4feb0000b00d22a..."} 
[2026-08-19 16:09:15] local.INFO: Packet analysis {"connection_id":158051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199a"} 
[2026-08-19 16:09:15] local.INFO: Extracted packet for processing {"connection_id":158051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199a"} 
[2026-08-19 16:09:15] local.INFO: GPS Element Parsed {"raw_longitude":763113344,"raw_latitude":98893488,"longitude_deg":76.3113344,"latitude_deg":9.8893488,"altitude":11,"angle":210,"satellites":42,"speed":44,"hex_longitude":"2d7c2f80","hex_latitude":"05e4feb0","is_valid_coordinates":true} 
[2026-08-19 16:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506795520001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120761277634052096,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953859771973154816,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09: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-08-19 16:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787135933000,"timestamp_ms":1787135933000,"timestamp_seconds":1787135933,"priority":1,"record_length":96,"hex_timestamp":"000001a0199a3a48"} 
[2026-08-19 16:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:09: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-08-19 16:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 16:09:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:15] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2577526785,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:15] local.WARNING: Large IO value detected {"io_id":229,"raw_value":6370341715874687232,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-08-19 16:09:15] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2147870013,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:15] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2499857752,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:15] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3847550976,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:15] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:15] local.WARNING: Large IO value detected {"io_id":153,"raw_value":6602278348593905669,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:15] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,39,87,24,241,157,16,7,160,3,45,31,9,41,10,66,255,32,201,1,240,192,227,25,229,4,113,205,23,142,57,72,37,239,52,2,173,5,21,46,153],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-08-19 16:09:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648748316071034880,"timestamp_seconds":648748316071034.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 16:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:09: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-08-19 16:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506795520001,"66":13341,"39":206,"87":13824,"24":44,"16":120761277634052096,"45":8953859771973154816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-19 16:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506795520001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:09:15] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 16:09:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120761277634052096,"km_value":120761277634052.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953859771973154816,"description":"Unknown IO ID 45"} 
[2026-08-19 16:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506795520001,"power":13341,"unknown_39":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8953859771973154816}} 
[2026-08-19 16:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":158051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:09:16] local.INFO: GPS data processed {"connection_id":158051,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:09:16] local.INFO: Acknowledgment sent {"connection_id":158051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:09:18] local.INFO: TCP Data received {"connection_id":158917,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:09:18] local.INFO: Processing buffer {"connection_id":158917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:09:18] local.INFO: IMEI packet received {"connection_id":158917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":158917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:09:19] local.INFO: TCP Data received {"connection_id":158917,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01998f610012d110080071bac98003600292a..."} 
[2026-08-19 16:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01998f610012d110080071bac98003600292a..."} 
[2026-08-19 16:09:19] local.INFO: Processing buffer {"connection_id":158917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01998f610012d110080071bac98003600292a..."} 
[2026-08-19 16:09:19] local.INFO: Packet analysis {"connection_id":158917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01998"} 
[2026-08-19 16:09:19] local.INFO: Extracted packet for processing {"connection_id":158917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01998"} 
[2026-08-19 16:09:19] local.INFO: GPS Element Parsed {"raw_longitude":756088960,"raw_latitude":119254168,"longitude_deg":75.608896,"latitude_deg":11.9254168,"altitude":54,"angle":41,"satellites":42,"speed":11,"hex_longitude":"2d110080","hex_latitude":"071bac98","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506777088001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13837559993991168,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224486547964491776,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787135850000,"timestamp_ms":1787135850000,"timestamp_seconds":1787135850,"priority":1,"record_length":96,"hex_timestamp":"000001a01998f610"} 
[2026-08-19 16:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 16:09:19] 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-08-19 16: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-08-19 16:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506777088001,"66":13515,"155":206,"83":41984,"24":11,"16":13837559993991168,"45":1224486547964491776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-08-19 16:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506777088001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:09:19] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 16:09:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13837559993991168,"km_value":13837559993991.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224486547964491776,"description":"Unknown IO ID 45"} 
[2026-08-19 16:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506777088001,"power":13515,"unknown_155":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1224486547964491776}} 
[2026-08-19 16:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":158917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:09:19] local.INFO: GPS data processed {"connection_id":158917,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:09:19] local.INFO: Acknowledgment sent {"connection_id":158917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:09:24] local.INFO: TCP Data received {"connection_id":158917,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199901c8012d110200071baf380036001d2a..."} 
[2026-08-19 16:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199901c8012d110200071baf380036001d2a..."} 
[2026-08-19 16:09:24] local.INFO: Processing buffer {"connection_id":158917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199901c8012d110200071baf380036001d2a..."} 
[2026-08-19 16:09:24] local.INFO: Packet analysis {"connection_id":158917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01999"} 
[2026-08-19 16:09:24] local.INFO: Extracted packet for processing {"connection_id":158917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01999"} 
[2026-08-19 16:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756089344,"raw_latitude":119254840,"longitude_deg":75.6089344,"latitude_deg":11.925484,"altitude":54,"angle":29,"satellites":42,"speed":10,"hex_longitude":"2d110200","hex_latitude":"071baf38","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506777600001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13837598648696832,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225119866662197248,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787135853000,"timestamp_ms":1787135853000,"timestamp_seconds":1787135853,"priority":1,"record_length":96,"hex_timestamp":"000001a0199901c8"} 
[2026-08-19 16:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-19 16:09:24] 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-08-19 16: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-08-19 16:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506777600001,"66":13972,"155":206,"83":41984,"24":10,"16":13837598648696832,"45":1225119866662197248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-08-19 16:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506777600001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:09:24] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 16:09:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13837598648696832,"km_value":13837598648696.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225119866662197248,"description":"Unknown IO ID 45"} 
[2026-08-19 16:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506777600001,"power":13972,"unknown_155":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1225119866662197248}} 
[2026-08-19 16:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":158917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:09:24] local.INFO: GPS data processed {"connection_id":158917,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:09:24] local.INFO: Acknowledgment sent {"connection_id":158917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:09:32] local.INFO: TCP Data received {"connection_id":157694,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:09:32] local.INFO: Processing buffer {"connection_id":157694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:09:32] local.INFO: IMEI packet received {"connection_id":157694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":157694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:09:42] local.INFO: TCP Data received {"connection_id":160235,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160235,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:09:42] local.INFO: Processing buffer {"connection_id":160235,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:09:42] local.INFO: IMEI packet received {"connection_id":160235,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":160235,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:09:42] local.INFO: TCP Data received {"connection_id":160235,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0199a26c0012d0c41000704cac8002000532a..."} 
[2026-08-19 16:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199a26c0012d0c41000704cac8002000532a..."} 
[2026-08-19 16:09:42] local.INFO: Processing buffer {"connection_id":160235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199a26c0012d0c41000704cac8002000532a..."} 
[2026-08-19 16:09:42] local.INFO: Packet analysis {"connection_id":160235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199a"} 
[2026-08-19 16:09:42] local.INFO: Extracted packet for processing {"connection_id":160235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199a"} 
[2026-08-19 16:09:42] local.INFO: GPS Element Parsed {"raw_longitude":755777792,"raw_latitude":117754568,"longitude_deg":75.5777792,"latitude_deg":11.7754568,"altitude":32,"angle":83,"satellites":42,"speed":42,"hex_longitude":"2d0c4100","hex_latitude":"0704cac8","is_valid_coordinates":true} 
[2026-08-19 16:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506795008001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28903768397447168,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872079876738557952,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787135928000,"timestamp_ms":1787135928000,"timestamp_seconds":1787135928,"priority":1,"record_length":96,"hex_timestamp":"000001a0199a26c0"} 
[2026-08-19 16:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:09: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-08-19 16:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 16:09:42] 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-08-19 16:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506795008001,"66":14439,"96":206,"94":10240,"24":42,"16":28903768397447168,"45":872079876738557952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-19 16:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506795008001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:09:42] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 16:09:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28903768397447168,"km_value":28903768397447.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":872079876738557952,"description":"Unknown IO ID 45"} 
[2026-08-19 16:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506795008001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_45":872079876738557952}} 
[2026-08-19 16:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":160235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665561,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:09:42] local.INFO: GPS data processed {"connection_id":160235,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:09:42] local.INFO: Acknowledgment sent {"connection_id":160235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:09:55] local.INFO: TCP Data received {"connection_id":157694,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:09:55] local.INFO: Processing buffer {"connection_id":157694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:09:55] local.INFO: IMEI packet received {"connection_id":157694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":157694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:09:56] local.INFO: TCP Data received {"connection_id":157694,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:09:56] local.INFO: Processing buffer {"connection_id":157694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:09:56] local.INFO: IMEI packet received {"connection_id":157694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":157694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:09:57] local.INFO: TCP Data received {"connection_id":157694,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0199a5988012d7c1c4005e4dfb0000c00d428..."} 
[2026-08-19 16:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199a5988012d7c1c4005e4dfb0000c00d428..."} 
[2026-08-19 16:09:57] local.INFO: Processing buffer {"connection_id":157694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199a5988012d7c1c4005e4dfb0000c00d428..."} 
[2026-08-19 16:09:57] local.INFO: Packet analysis {"connection_id":157694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199a"} 
[2026-08-19 16:09:57] local.INFO: Extracted packet for processing {"connection_id":157694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199a"} 
[2026-08-19 16:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763108416,"raw_latitude":98885552,"longitude_deg":76.3108416,"latitude_deg":9.8885552,"altitude":12,"angle":212,"satellites":40,"speed":46,"hex_longitude":"2d7c1c40","hex_latitude":"05e4dfb0","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506798848001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120761728605618176,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948511747413553152,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:57] 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-08-19 16:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787135941000,"timestamp_ms":1787135941000,"timestamp_seconds":1787135941,"priority":1,"record_length":96,"hex_timestamp":"000001a0199a5988"} 
[2026-08-19 16:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 16:09:57] 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-08-19 16: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-08-19 16:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":157694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":157694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":157694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:09:57] 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-08-19 16:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506798848001,"66":12982,"39":206,"87":13824,"24":46,"16":120761728605618176,"45":8948511747413553152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-19 16:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506798848001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:09:57] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 16:09:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120761728605618176,"km_value":120761728605618.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948511747413553152,"description":"Unknown IO ID 45"} 
[2026-08-19 16:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506798848001,"power":12982,"unknown_39":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8948511747413553152}} 
[2026-08-19 16:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":157694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:09:58] local.INFO: GPS data processed {"connection_id":157694,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:09:58] local.INFO: Acknowledgment sent {"connection_id":157694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:09:58] local.INFO: TCP Data received {"connection_id":157694,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0199a7cb0012d7c08c005e4c1f0000d00d328..."} 
[2026-08-19 16:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199a7cb0012d7c08c005e4c1f0000d00d328..."} 
[2026-08-19 16:09:58] local.INFO: Processing buffer {"connection_id":157694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199a7cb0012d7c08c005e4c1f0000d00d328..."} 
[2026-08-19 16:09:58] local.INFO: Packet analysis {"connection_id":157694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199a"} 
[2026-08-19 16:09:58] local.INFO: Extracted packet for processing {"connection_id":157694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199a"} 
[2026-08-19 16:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763103424,"raw_latitude":98877936,"longitude_deg":76.3103424,"latitude_deg":9.8877936,"altitude":13,"angle":211,"satellites":40,"speed":41,"hex_longitude":"2d7c08c0","hex_latitude":"05e4c1f0","is_valid_coordinates":true} 
[2026-08-19 16:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506800896001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120762166692282368,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943093354109841408,"note":"Value kept but may cause issues"} 
[2026-08-19 16:09:58] 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-08-19 16:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787135950000,"timestamp_ms":1787135950000,"timestamp_seconds":1787135950,"priority":1,"record_length":96,"hex_timestamp":"000001a0199a7cb0"} 
[2026-08-19 16:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-19 16:09:58] 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-08-19 16:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":157694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":157694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":157694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:09:58] 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-08-19 16:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506800896001,"66":13580,"39":206,"87":13824,"24":41,"16":120762166692282368,"45":8943093354109841408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-19 16:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506800896001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:09:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 16:09:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120762166692282368,"km_value":120762166692282.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943093354109841408,"description":"Unknown IO ID 45"} 
[2026-08-19 16:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506800896001,"power":13580,"unknown_39":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8943093354109841408}} 
[2026-08-19 16:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":157694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:09:58] local.INFO: GPS data processed {"connection_id":157694,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:09:58] local.INFO: Acknowledgment sent {"connection_id":157694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:09:59] local.INFO: TCP Data received {"connection_id":158918,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:09:59] local.INFO: Processing buffer {"connection_id":158918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:09:59] local.INFO: IMEI packet received {"connection_id":158918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":158918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:10:04] local.INFO: TCP Data received {"connection_id":158918,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:10:04] local.INFO: Processing buffer {"connection_id":158918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:10:04] local.INFO: IMEI packet received {"connection_id":158918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":158918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:10:07] local.INFO: TCP Data received {"connection_id":158918,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:10:07] local.INFO: Processing buffer {"connection_id":158918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:10:07] local.INFO: Packet analysis {"connection_id":158918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:10:07] local.INFO: Extracted packet for processing {"connection_id":158918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:10:07] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":45,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506661888001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492661771099482112,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787135702000,"timestamp_ms":1787135702000,"timestamp_seconds":1787135702,"priority":1,"record_length":96,"hex_timestamp":"000001a01996b3f0"} 
[2026-08-19 16:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 16:10:07] 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-08-19 16: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-08-19 16:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506661888001,"66":26376,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492661771099482112},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506661888001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:10:07] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:10:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492661771099482112,"description":"Unknown IO ID 44"} 
[2026-08-19 16:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506661888001,"power":26376,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492661771099482112}} 
[2026-08-19 16:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":158918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:10:07] local.INFO: GPS data processed {"connection_id":158918,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:10:07] local.INFO: Acknowledgment sent {"connection_id":158918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:10:07] local.INFO: TCP Data received {"connection_id":158919,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:10:07] local.INFO: Processing buffer {"connection_id":158919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:10:07] local.INFO: IMEI packet received {"connection_id":158919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":158919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:10:08] local.INFO: TCP Data received {"connection_id":158919,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:10:08] local.INFO: Processing buffer {"connection_id":158919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:10:08] local.INFO: IMEI packet received {"connection_id":158919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":158919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:10:13] local.INFO: TCP Data received {"connection_id":160235,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0199a3660012d0c4e800704cde80020003f2a..."} 
[2026-08-19 16:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199a3660012d0c4e800704cde80020003f2a..."} 
[2026-08-19 16:10:13] local.INFO: Processing buffer {"connection_id":160235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199a3660012d0c4e800704cde80020003f2a..."} 
[2026-08-19 16:10:13] local.INFO: Packet analysis {"connection_id":160235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199a"} 
[2026-08-19 16:10:13] local.INFO: Extracted packet for processing {"connection_id":160235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199a"} 
[2026-08-19 16:10:13] local.INFO: GPS Element Parsed {"raw_longitude":755781248,"raw_latitude":117755368,"longitude_deg":75.5781248,"latitude_deg":11.7755368,"altitude":32,"angle":63,"satellites":42,"speed":27,"hex_longitude":"2d0c4e80","hex_latitude":"0704cde8","is_valid_coordinates":true} 
[2026-08-19 16:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506797568001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28903935901171712,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882987032086497280,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:13] 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-08-19 16:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787135932000,"timestamp_ms":1787135932000,"timestamp_seconds":1787135932,"priority":1,"record_length":96,"hex_timestamp":"000001a0199a3660"} 
[2026-08-19 16:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:10:13] 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-08-19 16:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 16:10: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-08-19 16:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160235,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506797568001,"66":14407,"96":206,"94":10240,"24":27,"16":28903935901171712,"45":882987032086497280},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-19 16:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506797568001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:10:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 16:10:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28903935901171712,"km_value":28903935901171.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":882987032086497280,"description":"Unknown IO ID 45"} 
[2026-08-19 16:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506797568001,"power":14407,"unknown_96":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":882987032086497280}} 
[2026-08-19 16:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":160235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665565,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:10:13] local.INFO: GPS data processed {"connection_id":160235,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:10:13] local.INFO: Acknowledgment sent {"connection_id":160235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:10:13] local.INFO: TCP Data received {"connection_id":158919,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:10:13] local.INFO: Processing buffer {"connection_id":158919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:10:13] local.INFO: IMEI packet received {"connection_id":158919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":158919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:10:14] local.INFO: TCP Data received {"connection_id":158919,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199a22d8012d117580071bb330003300682a..."} 
[2026-08-19 16:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199a22d8012d117580071bb330003300682a..."} 
[2026-08-19 16:10:14] local.INFO: Processing buffer {"connection_id":158919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199a22d8012d117580071bb330003300682a..."} 
[2026-08-19 16:10:14] local.INFO: Packet analysis {"connection_id":158919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199a"} 
[2026-08-19 16:10:14] local.INFO: Extracted packet for processing {"connection_id":158919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199a"} 
[2026-08-19 16:10:14] local.INFO: GPS Element Parsed {"raw_longitude":756118912,"raw_latitude":119255856,"longitude_deg":75.6118912,"latitude_deg":11.9255856,"altitude":51,"angle":104,"satellites":42,"speed":20,"hex_longitude":"2d117580","hex_latitude":"071bb330","is_valid_coordinates":true} 
[2026-08-19 16:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506791936001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13839058937577472,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1249608189637027840,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787135927000,"timestamp_ms":1787135927000,"timestamp_seconds":1787135927,"priority":1,"record_length":96,"hex_timestamp":"000001a0199a22d8"} 
[2026-08-19 16:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:10:14] 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-08-19 16:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 16:10:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:14] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3858759680,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:14] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2574454785,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:14] local.WARNING: Large IO value detected {"io_id":27,"raw_value":-5611484903769691648,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2040201422,"corrected_to":0} 
[2026-08-19 16:10:14] local.WARNING: Large IO value detected {"io_id":60,"raw_value":57836076866098084,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:14] local.WARNING: Large IO value detected {"io_id":153,"raw_value":1817203742714888199,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:14] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,155,83,24,241,157,16,42,160,197,45,188,57,10,66,185,64,187,59,146,1,240,227,41,25,27,4,113,205,107,38,184,239,56,2,49,7,60,153],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2040201422,"validated":0}]} 
[2026-08-19 16:10:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963282201685196800,"timestamp_seconds":3963282201685197.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 16:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506791936001,"66":14363,"155":206,"83":41984,"24":20,"16":13839058937577472,"45":1249608189637027840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-08-19 16:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506791936001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:10:14] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 16:10:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13839058937577472,"km_value":13839058937577.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1249608189637027840,"description":"Unknown IO ID 45"} 
[2026-08-19 16:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506791936001,"power":14363,"unknown_155":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1249608189637027840}} 
[2026-08-19 16:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":158919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:10:14] local.INFO: GPS data processed {"connection_id":158919,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:10:14] local.INFO: Acknowledgment sent {"connection_id":158919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:10:35] local.INFO: TCP Data received {"connection_id":158053,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:10:35] local.INFO: Processing buffer {"connection_id":158053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:10:35] local.INFO: IMEI packet received {"connection_id":158053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":158053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:10:37] local.INFO: TCP Data received {"connection_id":158920,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158920,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:10:37] local.INFO: Processing buffer {"connection_id":158920,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:10:37] local.INFO: IMEI packet received {"connection_id":158920,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":158920,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:10:37] local.INFO: TCP Data received {"connection_id":158053,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:10:37] local.INFO: Processing buffer {"connection_id":158053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:10:37] local.INFO: IMEI packet received {"connection_id":158053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":158053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:10:41] local.INFO: TCP Data received {"connection_id":158918,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:10:42] local.INFO: Processing buffer {"connection_id":158918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01996b3f0012ceb4ac00713cf80001500712d..."} 
[2026-08-19 16:10:42] local.INFO: Packet analysis {"connection_id":158918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:10:42] local.INFO: Extracted packet for processing {"connection_id":158918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01996"} 
[2026-08-19 16:10:42] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":45,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506661888001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492661771099482112,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787135702000,"timestamp_ms":1787135702000,"timestamp_seconds":1787135702,"priority":1,"record_length":96,"hex_timestamp":"000001a01996b3f0"} 
[2026-08-19 16:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 16:10:42] 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-08-19 16:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506661888001,"66":26376,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492661771099482112},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506661888001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:10:42] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492661771099482112,"description":"Unknown IO ID 44"} 
[2026-08-19 16:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506661888001,"power":26376,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492661771099482112}} 
[2026-08-19 16:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":158918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:10:42] local.INFO: GPS data processed {"connection_id":158918,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:10:42] local.INFO: Acknowledgment sent {"connection_id":158918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:10:44] local.INFO: TCP Data received {"connection_id":158053,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:10:44] local.INFO: Processing buffer {"connection_id":158053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:10:44] local.INFO: IMEI packet received {"connection_id":158053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":158053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:10:45] local.INFO: TCP Data received {"connection_id":158919,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199a74e0012d119440071baaf00036005e28..."} 
[2026-08-19 16:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199a74e0012d119440071baaf00036005e28..."} 
[2026-08-19 16:10:45] local.INFO: Processing buffer {"connection_id":158919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199a74e0012d119440071baaf00036005e28..."} 
[2026-08-19 16:10:45] local.INFO: Packet analysis {"connection_id":158919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199a"} 
[2026-08-19 16:10:45] local.INFO: Extracted packet for processing {"connection_id":158919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199a"} 
[2026-08-19 16:10:45] local.INFO: GPS Element Parsed {"raw_longitude":756126784,"raw_latitude":119253744,"longitude_deg":75.6126784,"latitude_deg":11.9253744,"altitude":54,"angle":94,"satellites":40,"speed":6,"hex_longitude":"2d119440","hex_latitude":"071baaf0","is_valid_coordinates":true} 
[2026-08-19 16:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506797312001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13839445484634112,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1258052438937776128,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787135948000,"timestamp_ms":1787135948000,"timestamp_seconds":1787135948,"priority":1,"record_length":96,"hex_timestamp":"000001a0199a74e0"} 
[2026-08-19 16:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:10:45] 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-08-19 16:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 16:10:45] 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-08-19 16:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506797312001,"66":14374,"155":206,"83":41984,"24":6,"16":13839445484634112,"45":1258052438937776128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-08-19 16:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506797312001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:10:45] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 16:10:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13839445484634112,"km_value":13839445484634.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1258052438937776128,"description":"Unknown IO ID 45"} 
[2026-08-19 16:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506797312001,"power":14374,"unknown_155":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1258052438937776128}} 
[2026-08-19 16:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":158919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:10:45] local.INFO: GPS data processed {"connection_id":158919,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:10:45] local.INFO: Acknowledgment sent {"connection_id":158919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:10:45] local.INFO: TCP Data received {"connection_id":158053,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0199aa3c0012d7bf4c005e4a290000f00d42b..."} 
[2026-08-19 16:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199aa3c0012d7bf4c005e4a290000f00d42b..."} 
[2026-08-19 16:10:45] local.INFO: Processing buffer {"connection_id":158053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199aa3c0012d7bf4c005e4a290000f00d42b..."} 
[2026-08-19 16:10:45] local.INFO: Packet analysis {"connection_id":158053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199a"} 
[2026-08-19 16:10:45] local.INFO: Extracted packet for processing {"connection_id":158053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199a"} 
[2026-08-19 16:10:45] local.INFO: GPS Element Parsed {"raw_longitude":763098304,"raw_latitude":98869904,"longitude_deg":76.3098304,"latitude_deg":9.8869904,"altitude":15,"angle":212,"satellites":43,"speed":32,"hex_longitude":"2d7bf4c0","hex_latitude":"05e4a290","is_valid_coordinates":true} 
[2026-08-19 16:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506803200001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120762626253783040,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937604592062033920,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:45] 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-08-19 16:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787135960000,"timestamp_ms":1787135960000,"timestamp_seconds":1787135960,"priority":1,"record_length":96,"hex_timestamp":"000001a0199aa3c0"} 
[2026-08-19 16:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 16:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623431,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5978740711078494208,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:45] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2583926785,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:45] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635347714725927,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-08-19 16:10:45] local.WARNING: Large IO value detected {"io_id":255,"raw_value":2952867196,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:45] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3844370432,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:45] local.WARNING: Large IO value detected {"io_id":124,"raw_value":4323462124279431177,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:45] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-1008580538035810729,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:45] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755498225434865,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:45] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,39,87,24,241,157,16,8,160,89,45,64,223,12,40,10,66,58,128,254,11,42,7,1,240,227,25,229,4,113,205,255,67,192,41,239,52,2,173,5,9,124,51,54],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-08-19 16:10:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936980891247902720,"timestamp_seconds":936980891247902.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 16:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:10:45] 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-08-19 16:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506803200001,"66":13080,"39":206,"87":13824,"24":32,"16":120762626253783040,"45":8937604592062033920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-19 16:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506803200001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:10:45] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 16:10:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120762626253783040,"km_value":120762626253783.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937604592062033920,"description":"Unknown IO ID 45"} 
[2026-08-19 16:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506803200001,"power":13080,"unknown_39":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8937604592062033920}} 
[2026-08-19 16:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":158053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:10:45] local.INFO: GPS data processed {"connection_id":158053,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:10:45] local.INFO: Acknowledgment sent {"connection_id":158053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:10:46] local.INFO: TCP Data received {"connection_id":158920,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158920,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:10:46] local.INFO: Processing buffer {"connection_id":158920,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:10:46] local.INFO: IMEI packet received {"connection_id":158920,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":158920,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:10:46] local.INFO: TCP Data received {"connection_id":158053,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0199acad0012d7be0c005e481e8001100d42b..."} 
[2026-08-19 16:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199acad0012d7be0c005e481e8001100d42b..."} 
[2026-08-19 16:10:46] local.INFO: Processing buffer {"connection_id":158053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199acad0012d7be0c005e481e8001100d42b..."} 
[2026-08-19 16:10:46] local.INFO: Packet analysis {"connection_id":158053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199a"} 
[2026-08-19 16:10:46] local.INFO: Extracted packet for processing {"connection_id":158053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199a"} 
[2026-08-19 16:10:46] local.INFO: GPS Element Parsed {"raw_longitude":763093184,"raw_latitude":98861544,"longitude_deg":76.3093184,"latitude_deg":9.8861544,"altitude":17,"angle":212,"satellites":43,"speed":48,"hex_longitude":"2d7be0c0","hex_latitude":"05e481e8","is_valid_coordinates":true} 
[2026-08-19 16:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506805760001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120763102995152896,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931975092525764608,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10: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-08-19 16:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787135970000,"timestamp_ms":1787135970000,"timestamp_seconds":1787135970,"priority":1,"record_length":96,"hex_timestamp":"000001a0199acad0"} 
[2026-08-19 16:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:10: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-08-19 16:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 16:10:46] 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-08-19 16:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:10:46] 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-08-19 16:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506805760001,"66":13189,"39":206,"87":13824,"24":48,"16":120763102995152896,"45":8931975092525764608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-19 16:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506805760001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:10:46] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 16:10:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120763102995152896,"km_value":120763102995152.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931975092525764608,"description":"Unknown IO ID 45"} 
[2026-08-19 16:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506805760001,"power":13189,"unknown_39":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":8931975092525764608}} 
[2026-08-19 16:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":158053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:10:46] local.INFO: GPS data processed {"connection_id":158053,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:10:46] local.INFO: Acknowledgment sent {"connection_id":158053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:10:48] local.INFO: TCP Data received {"connection_id":158920,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0199b20c0012d0c674007050e38002601672b..."} 
[2026-08-19 16:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199b20c0012d0c674007050e38002601672b..."} 
[2026-08-19 16:10:48] local.INFO: Processing buffer {"connection_id":158920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199b20c0012d0c674007050e38002601672b..."} 
[2026-08-19 16:10:48] local.INFO: Packet analysis {"connection_id":158920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:10:48] local.INFO: Extracted packet for processing {"connection_id":158920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:10:48] local.INFO: GPS Element Parsed {"raw_longitude":755787584,"raw_latitude":117771832,"longitude_deg":75.5787584,"latitude_deg":11.7771832,"altitude":38,"angle":359,"satellites":43,"speed":13,"hex_longitude":"2d0c6740","hex_latitude":"07050e38","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506812672001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28905628118286336,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894246031158679552,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:48] 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-08-19 16:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787135992000,"timestamp_ms":1787135992000,"timestamp_seconds":1787135992,"priority":1,"record_length":96,"hex_timestamp":"000001a0199b20c0"} 
[2026-08-19 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-08-19 16:10: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-08-19 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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-19 16:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143040,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:48] local.WARNING: Large IO value detected {"io_id":12,"raw_value":7980386257061543967,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:48] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504040678817792,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:48] local.WARNING: Large IO value detected {"io_id":176,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:48] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2596470785,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:48] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639178825544543,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:48] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5620756222048534784,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":861864142,"corrected_to":0} 
[2026-08-19 16:10:48] local.WARNING: Large IO value detected {"io_id":141,"raw_value":2147943638,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:48] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:48] local.WARNING: Large IO value detected {"io_id":102,"raw_value":2965045248,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84737763425322196,"corrected_to":0} 
[2026-08-19 16:10:48] local.WARNING: Large IO value detected {"io_id":88,"raw_value":9007633700752896,"note":"Value kept but may cause issues"} 
[2026-08-19 16:10:48] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,95,94,24,241,157,16,177,160,5,45,192,254,38,36,10,66,218,1,240,12,227,176,25,4,113,205,17,187,141,72,37,239,56,2,102,7,206,200,88],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":861864142,"validated":0},{"io_id":200,"original":84737763425322196,"validated":0}]} 
[2026-08-19 16:10:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738569180559966208,"timestamp_seconds":2738569180559966.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 16:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":158920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":158920,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":158920,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506812672001,"66":14407,"95":206,"94":10240,"24":13,"16":28905628118286336,"45":894246031158679552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-19 16:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506812672001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:10:48] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 16:10:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28905628118286336,"km_value":28905628118286.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":894246031158679552,"description":"Unknown IO ID 45"} 
[2026-08-19 16:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506812672001,"power":14407,"unknown_95":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":894246031158679552}} 
[2026-08-19 16:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":158920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665571,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:10:48] local.INFO: GPS data processed {"connection_id":158920,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:10:48] local.INFO: Acknowledgment sent {"connection_id":158920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:10:59] local.INFO: TCP Data received {"connection_id":160236,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:10:59] local.INFO: Processing buffer {"connection_id":160236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:10:59] local.INFO: IMEI packet received {"connection_id":160236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":160236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:11:04] local.INFO: TCP Data received {"connection_id":160236,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:11:04] local.INFO: Processing buffer {"connection_id":160236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:11:04] local.INFO: IMEI packet received {"connection_id":160236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":160236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:11:07] local.INFO: TCP Data received {"connection_id":160236,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:11:08] local.INFO: Processing buffer {"connection_id":160236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:11:08] local.INFO: Packet analysis {"connection_id":160236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:11:08] local.INFO: Extracted packet for processing {"connection_id":160236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:11:08] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506739712001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787136003000,"timestamp_ms":1787136003000,"timestamp_seconds":1787136003,"priority":1,"record_length":96,"hex_timestamp":"000001a0199b4bb8"} 
[2026-08-19 16:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-19 16:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506739712001,"66":26136,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506739712001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:11:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:11:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506739712001,"power":26136,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":160236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:11:08] local.INFO: GPS data processed {"connection_id":160236,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:11:08] local.INFO: Acknowledgment sent {"connection_id":160236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:11:08] local.INFO: TCP Data received {"connection_id":157695,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:11:08] local.INFO: Processing buffer {"connection_id":157695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:11:08] local.INFO: IMEI packet received {"connection_id":157695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":157695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:11:09] local.INFO: TCP Data received {"connection_id":157695,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:11:09] local.INFO: Processing buffer {"connection_id":157695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:11:09] local.INFO: IMEI packet received {"connection_id":157695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":157695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:11:10] local.INFO: TCP Data received {"connection_id":157695,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:11:10] local.INFO: Processing buffer {"connection_id":157695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:11:10] local.INFO: IMEI packet received {"connection_id":157695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":157695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:11:13] local.INFO: TCP Data received {"connection_id":157695,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:11:13] local.INFO: Processing buffer {"connection_id":157695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:11:13] local.INFO: IMEI packet received {"connection_id":157695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":157695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:11:13] local.INFO: TCP Data received {"connection_id":157695,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199b6710012d11bb40071bb3f00035004528..."} 
[2026-08-19 16:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199b6710012d11bb40071bb3f00035004528..."} 
[2026-08-19 16:11:13] local.INFO: Processing buffer {"connection_id":157695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199b6710012d11bb40071bb3f00035004528..."} 
[2026-08-19 16:11:13] local.INFO: Packet analysis {"connection_id":157695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:11:13] local.INFO: Extracted packet for processing {"connection_id":157695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:11:13] local.INFO: GPS Element Parsed {"raw_longitude":756136768,"raw_latitude":119256048,"longitude_deg":75.6136768,"latitude_deg":11.9256048,"altitude":53,"angle":69,"satellites":40,"speed":24,"hex_longitude":"2d11bb40","hex_latitude":"071bb3f0","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506817280001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13840068254892032,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1274237250098532352,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787136010000,"timestamp_ms":1787136010000,"timestamp_seconds":1787136010,"priority":1,"record_length":96,"hex_timestamp":"000001a0199b6710"} 
[2026-08-19 16:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:11: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-08-19 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 16:11: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-08-19 16: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-08-19 16:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506817280001,"66":14298,"155":206,"83":41984,"24":24,"16":13840068254892032,"45":1274237250098532352},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-08-19 16:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506817280001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:11:13] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 16:11:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13840068254892032,"km_value":13840068254892.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1274237250098532352,"description":"Unknown IO ID 45"} 
[2026-08-19 16:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506817280001,"power":14298,"unknown_155":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1274237250098532352}} 
[2026-08-19 16:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":157695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:11:13] local.INFO: GPS data processed {"connection_id":157695,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:11:13] local.INFO: Acknowledgment sent {"connection_id":157695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:11:17] local.INFO: TCP Data received {"connection_id":158053,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0199c3de8012d7b0cc005e33110000500b51e..."} 
[2026-08-19 16:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199c3de8012d7b0cc005e33110000500b51e..."} 
[2026-08-19 16:11:17] local.INFO: Processing buffer {"connection_id":158053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199c3de8012d7b0cc005e33110000500b51e..."} 
[2026-08-19 16:11:17] local.INFO: Packet analysis {"connection_id":158053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:11:17] local.INFO: Extracted packet for processing {"connection_id":158053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:11:17] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98775312,"longitude_deg":76.3038912,"latitude_deg":9.8775312,"altitude":5,"angle":181,"satellites":30,"speed":28,"hex_longitude":"2d7b0cc0","hex_latitude":"05e33110","is_valid_coordinates":true} 
[2026-08-19 16:11: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-08-19 16:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506831360001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120768042207543296,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867517322835830784,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11: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-08-19 16:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787136065000,"timestamp_ms":1787136065000,"timestamp_seconds":1787136065,"priority":1,"record_length":96,"hex_timestamp":"000001a0199c3de8"} 
[2026-08-19 16:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:11: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":181,"data_length":795,"current_offset":136} 
[2026-08-19 16:11:17] 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-08-19 16:11: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-08-19 16:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:11:17] 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-08-19 16:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506831360001,"66":13015,"208":206,"85":15104,"24":28,"16":120768042207543296,"45":8867517322835830784},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506831360001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:11:17] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:11:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120768042207543296,"km_value":120768042207543.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867517322835830784,"description":"Unknown IO ID 45"} 
[2026-08-19 16:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506831360001,"power":13015,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8867517322835830784}} 
[2026-08-19 16:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":158053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:11:18] local.INFO: GPS data processed {"connection_id":158053,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:11:18] local.INFO: Acknowledgment sent {"connection_id":158053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:11:21] local.INFO: TCP Data received {"connection_id":158920,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0199b6ee0012d0c6700070512780025016526..."} 
[2026-08-19 16:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199b6ee0012d0c6700070512780025016526..."} 
[2026-08-19 16:11:21] local.INFO: Processing buffer {"connection_id":158920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199b6ee0012d0c6700070512780025016526..."} 
[2026-08-19 16:11:21] local.INFO: Packet analysis {"connection_id":158920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:11:21] local.INFO: Extracted packet for processing {"connection_id":158920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:11:21] local.INFO: GPS Element Parsed {"raw_longitude":755787520,"raw_latitude":117772920,"longitude_deg":75.578752,"latitude_deg":11.777292,"altitude":37,"angle":357,"satellites":38,"speed":0,"hex_longitude":"2d0c6700","hex_latitude":"07051278","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506813952001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28905688247828480,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893753449950099456,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787136012000,"timestamp_ms":1787136012000,"timestamp_seconds":1787136012,"priority":1,"record_length":96,"hex_timestamp":"000001a0199b6ee0"} 
[2026-08-19 16:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 16:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":158920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":158920,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":158920,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506813952001,"66":14439,"95":206,"94":10240,"24":0,"16":28905688247828480,"45":893753449950099456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-19 16:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506813952001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:11:21] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 16:11:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28905688247828480,"km_value":28905688247828.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":893753449950099456,"description":"Unknown IO ID 45"} 
[2026-08-19 16:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506813952001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":893753449950099456}} 
[2026-08-19 16:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":158920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665575,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:11:22] local.INFO: GPS data processed {"connection_id":158920,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:11:22] local.INFO: Acknowledgment sent {"connection_id":158920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:11:35] local.INFO: TCP Data received {"connection_id":158054,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:11:35] local.INFO: Processing buffer {"connection_id":158054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:11:35] local.INFO: IMEI packet received {"connection_id":158054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":158054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:11:35] local.INFO: TCP Data received {"connection_id":158054,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:11:36] local.INFO: Processing buffer {"connection_id":158054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:11:36] local.INFO: IMEI packet received {"connection_id":158054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":158054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:11:39] local.INFO: TCP Data received {"connection_id":160236,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:11:39] local.INFO: Processing buffer {"connection_id":160236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:11:39] local.INFO: Packet analysis {"connection_id":160236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:11:39] local.INFO: Extracted packet for processing {"connection_id":160236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:11:39] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506739712001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787136003000,"timestamp_ms":1787136003000,"timestamp_seconds":1787136003,"priority":1,"record_length":96,"hex_timestamp":"000001a0199b4bb8"} 
[2026-08-19 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-08-19 16:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-19 16:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 16:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506739712001,"66":26136,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506739712001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:11:39] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:11:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506739712001,"power":26136,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":160236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:11:39] local.INFO: GPS data processed {"connection_id":160236,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:11:39] local.INFO: Acknowledgment sent {"connection_id":160236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:11:40] local.INFO: TCP Data received {"connection_id":158054,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:11:40] local.INFO: Processing buffer {"connection_id":158054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:11:40] local.INFO: IMEI packet received {"connection_id":158054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":158054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:11:41] local.INFO: TCP Data received {"connection_id":158054,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0199c5940012d7b0c4005e32720000300c21d..."} 
[2026-08-19 16:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199c5940012d7b0c4005e32720000300c21d..."} 
[2026-08-19 16:11:41] local.INFO: Processing buffer {"connection_id":158054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199c5940012d7b0c4005e32720000300c21d..."} 
[2026-08-19 16:11:41] local.INFO: Packet analysis {"connection_id":158054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:11:41] local.INFO: Extracted packet for processing {"connection_id":158054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:11:41] local.INFO: GPS Element Parsed {"raw_longitude":763038784,"raw_latitude":98772768,"longitude_deg":76.3038784,"latitude_deg":9.8772768,"altitude":3,"angle":194,"satellites":29,"speed":9,"hex_longitude":"2d7b0c40","hex_latitude":"05e32720","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506832640001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120768166761594880,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897904676864,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787136072000,"timestamp_ms":1787136072000,"timestamp_seconds":1787136072,"priority":1,"record_length":96,"hex_timestamp":"000001a0199c5940"} 
[2026-08-19 16:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:11: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-08-19 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 16:11:41] 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-08-19 16: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-08-19 16:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:11:41] 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-08-19 16:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506832640001,"66":12885,"208":206,"85":15104,"24":9,"16":120768166761594880,"45":8866672897904676864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506832640001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:11:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120768166761594880,"km_value":120768166761594.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897904676864,"description":"Unknown IO ID 45"} 
[2026-08-19 16:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506832640001,"power":12885,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8866672897904676864}} 
[2026-08-19 16:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":158054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:11:41] local.INFO: GPS data processed {"connection_id":158054,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:11:41] local.INFO: Acknowledgment sent {"connection_id":158054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:11:44] local.INFO: TCP Data received {"connection_id":157695,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199bb918012d11dbc0071bc0f00033005526..."} 
[2026-08-19 16:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199bb918012d11dbc0071bc0f00033005526..."} 
[2026-08-19 16:11:44] local.INFO: Processing buffer {"connection_id":157695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199bb918012d11dbc0071bc0f00033005526..."} 
[2026-08-19 16:11:44] local.INFO: Packet analysis {"connection_id":157695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:11:44] local.INFO: Extracted packet for processing {"connection_id":157695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:11:44] local.INFO: GPS Element Parsed {"raw_longitude":756145088,"raw_latitude":119259376,"longitude_deg":75.6145088,"latitude_deg":11.9259376,"altitude":51,"angle":85,"satellites":38,"speed":18,"hex_longitude":"2d11dbc0","hex_latitude":"071bc0f0","is_valid_coordinates":true} 
[2026-08-19 16:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506818560001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13840493456654336,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1277685318563393536,"note":"Value kept but may cause issues"} 
[2026-08-19 16:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787136031000,"timestamp_ms":1787136031000,"timestamp_seconds":1787136031,"priority":1,"record_length":96,"hex_timestamp":"000001a0199bb918"} 
[2026-08-19 16:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:11: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-08-19 16:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-19 16:11: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-08-19 16:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506818560001,"66":13906,"155":206,"83":41984,"24":18,"16":13840493456654336,"45":1277685318563393536},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-08-19 16:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506818560001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:11:44] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 16:11:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13840493456654336,"km_value":13840493456654.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1277685318563393536,"description":"Unknown IO ID 45"} 
[2026-08-19 16:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506818560001,"power":13906,"unknown_155":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1277685318563393536}} 
[2026-08-19 16:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":157695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:11:44] local.INFO: GPS data processed {"connection_id":157695,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:11:44] local.INFO: Acknowledgment sent {"connection_id":157695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:12:04] local.INFO: TCP Data received {"connection_id":158055,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:12:04] local.INFO: Processing buffer {"connection_id":158055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:12:04] local.INFO: IMEI packet received {"connection_id":158055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":158055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:12:09] local.INFO: TCP Data received {"connection_id":157696,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:12:09] local.INFO: Processing buffer {"connection_id":157696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:12:09] local.INFO: IMEI packet received {"connection_id":157696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":157696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:12:09] local.INFO: TCP Data received {"connection_id":158055,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:12:09] local.INFO: Processing buffer {"connection_id":158055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:12:09] local.INFO: IMEI packet received {"connection_id":158055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":158055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:12:09] local.INFO: TCP Data received {"connection_id":157696,"ip":"42.109.136.5","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 16:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157696,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 16:12:09] local.INFO: Processing buffer {"connection_id":157696,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 16:12:09] local.INFO: IMEI packet received {"connection_id":157696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":157696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:12:11] local.INFO: TCP Data received {"connection_id":158055,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:12:11] local.INFO: Processing buffer {"connection_id":158055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:12:11] local.INFO: Packet analysis {"connection_id":158055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:12:11] local.INFO: Extracted packet for processing {"connection_id":158055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:12:11] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506739712001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787136003000,"timestamp_ms":1787136003000,"timestamp_seconds":1787136003,"priority":1,"record_length":96,"hex_timestamp":"000001a0199b4bb8"} 
[2026-08-19 16:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-19 16:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506739712001,"66":26136,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506739712001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:12:11] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:12:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506739712001,"power":26136,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":158055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:12:11] local.INFO: GPS data processed {"connection_id":158055,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:12:11] local.INFO: Acknowledgment sent {"connection_id":158055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:12:12] local.INFO: TCP Data received {"connection_id":158054,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0199c5d28012d7b0c0005e32690000300d11d..."} 
[2026-08-19 16:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199c5d28012d7b0c0005e32690000300d11d..."} 
[2026-08-19 16:12:12] local.INFO: Processing buffer {"connection_id":158054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199c5d28012d7b0c0005e32690000300d11d..."} 
[2026-08-19 16:12:12] local.INFO: Packet analysis {"connection_id":158054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:12:12] local.INFO: Extracted packet for processing {"connection_id":158054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:12:12] local.INFO: GPS Element Parsed {"raw_longitude":763038720,"raw_latitude":98772624,"longitude_deg":76.303872,"latitude_deg":9.8772624,"altitude":3,"angle":209,"satellites":29,"speed":6,"hex_longitude":"2d7b0c00","hex_latitude":"05e32690","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506834432001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120768171056562176,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866532160415670272,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12: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-08-19 16:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787136073000,"timestamp_ms":1787136073000,"timestamp_seconds":1787136073,"priority":1,"record_length":96,"hex_timestamp":"000001a0199c5d28"} 
[2026-08-19 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-08-19 16:12: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-08-19 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 16:12: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-08-19 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-08-19 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-08-19 16:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:12:12] 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-08-19 16:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506834432001,"66":13472,"208":206,"85":15104,"24":6,"16":120768171056562176,"45":8866532160415670272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506834432001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:12:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120768171056562176,"km_value":120768171056562.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866532160415670272,"description":"Unknown IO ID 45"} 
[2026-08-19 16:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506834432001,"power":13472,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8866532160415670272}} 
[2026-08-19 16:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":158054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:12:12] local.INFO: GPS data processed {"connection_id":158054,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:12:12] local.INFO: Acknowledgment sent {"connection_id":158054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:12:14] local.INFO: TCP Data received {"connection_id":157696,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:12:14] local.INFO: Processing buffer {"connection_id":157696,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 16:12:14] local.INFO: IMEI packet received {"connection_id":157696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":157696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:12:15] local.INFO: TCP Data received {"connection_id":157696,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199c5940012d122f80071bcd380033002229..."} 
[2026-08-19 16:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199c5940012d122f80071bcd380033002229..."} 
[2026-08-19 16:12:15] local.INFO: Processing buffer {"connection_id":157696,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a019..."} 
[2026-08-19 16:12:15] local.INFO: IMEI packet received {"connection_id":157696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":157696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:12:15] local.INFO: TCP Data received {"connection_id":157696,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199c5d28012d123080071bcf080032001629..."} 
[2026-08-19 16:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199c5d28012d123080071bcf080032001629..."} 
[2026-08-19 16:12:15] local.INFO: Processing buffer {"connection_id":157696,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0199c5940012d122f80071bcd380033002229..."} 
[2026-08-19 16:12:15] local.INFO: Packet analysis {"connection_id":157696,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:12:15] local.INFO: Extracted packet for processing {"connection_id":157696,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756166528,"raw_latitude":119262520,"longitude_deg":75.6166528,"latitude_deg":11.926252,"altitude":51,"angle":34,"satellites":41,"speed":19,"hex_longitude":"2d122f80","hex_latitude":"071bcd38","is_valid_coordinates":true} 
[2026-08-19 16:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506834176001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13841550018609152,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1310054940886683648,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787136072000,"timestamp_ms":1787136072000,"timestamp_seconds":1787136072,"priority":1,"record_length":96,"hex_timestamp":"000001a0199c5940"} 
[2026-08-19 16:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 16:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506834176001,"66":14396,"155":206,"83":41984,"24":19,"16":13841550018609152,"45":1310054940886683648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-08-19 16:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506834176001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:12:15] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 16:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13841550018609152,"km_value":13841550018609.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1310054940886683648,"description":"Unknown IO ID 45"} 
[2026-08-19 16:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506834176001,"power":14396,"unknown_155":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1310054940886683648}} 
[2026-08-19 16:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":157696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:12:15] local.INFO: GPS data processed {"connection_id":157696,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:12:15] local.INFO: Acknowledgment sent {"connection_id":157696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:12:15] local.INFO: Packet analysis {"connection_id":157696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:12:15] local.INFO: Extracted packet for processing {"connection_id":157696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756166784,"raw_latitude":119262984,"longitude_deg":75.6166784,"latitude_deg":11.9262984,"altitude":50,"angle":22,"satellites":41,"speed":20,"hex_longitude":"2d123080","hex_latitude":"071bcf08","is_valid_coordinates":true} 
[2026-08-19 16:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506834432001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13841575788412928,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1310406784607664128,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787136073000,"timestamp_ms":1787136073000,"timestamp_seconds":1787136073,"priority":1,"record_length":96,"hex_timestamp":"000001a0199c5d28"} 
[2026-08-19 16:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 16:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506834432001,"66":14298,"155":206,"83":41984,"24":20,"16":13841575788412928,"45":1310406784607664128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-08-19 16:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506834432001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:12:15] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-19 16:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13841575788412928,"km_value":13841575788412.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1310406784607664128,"description":"Unknown IO ID 45"} 
[2026-08-19 16:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506834432001,"power":14298,"unknown_155":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1310406784607664128}} 
[2026-08-19 16:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":157696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:12:16] local.INFO: GPS data processed {"connection_id":157696,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:12:16] local.INFO: Acknowledgment sent {"connection_id":157696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:12:35] local.INFO: TCP Data received {"connection_id":160237,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:12:35] local.INFO: Processing buffer {"connection_id":160237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:12:35] local.INFO: IMEI packet received {"connection_id":160237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":160237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:12:35] local.INFO: TCP Data received {"connection_id":160237,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:12:35] local.INFO: Processing buffer {"connection_id":160237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:12:35] local.INFO: IMEI packet received {"connection_id":160237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":160237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:12:40] local.INFO: TCP Data received {"connection_id":160237,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:12:40] local.INFO: Processing buffer {"connection_id":160237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:12:40] local.INFO: IMEI packet received {"connection_id":160237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":160237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:12:41] local.INFO: TCP Data received {"connection_id":160237,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0199cab48012d7b0ac005e32588000300d11e..."} 
[2026-08-19 16:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199cab48012d7b0ac005e32588000300d11e..."} 
[2026-08-19 16:12:41] local.INFO: Processing buffer {"connection_id":160237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199cab48012d7b0ac005e32588000300d11e..."} 
[2026-08-19 16:12:41] local.INFO: Packet analysis {"connection_id":160237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:12:41] local.INFO: Extracted packet for processing {"connection_id":160237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:12:41] local.INFO: GPS Element Parsed {"raw_longitude":763038400,"raw_latitude":98772360,"longitude_deg":76.30384,"latitude_deg":9.877236,"altitude":3,"angle":209,"satellites":30,"speed":0,"hex_longitude":"2d7b0ac0","hex_latitude":"05e32588","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506834688001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120768201121333248,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866461791671455744,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787136093000,"timestamp_ms":1787136093000,"timestamp_seconds":1787136093,"priority":1,"record_length":96,"hex_timestamp":"000001a0199cab48"} 
[2026-08-19 16:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:12: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-08-19 16:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-19 16:12:41] 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-08-19 16:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:12:41] 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-08-19 16:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506834688001,"66":13015,"208":206,"85":15104,"24":0,"16":120768201121333248,"45":8866461791671455744},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506834688001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:12:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120768201121333248,"km_value":120768201121333.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866461791671455744,"description":"Unknown IO ID 45"} 
[2026-08-19 16:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506834688001,"power":13015,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8866461791671455744}} 
[2026-08-19 16:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":160237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:12:41] local.INFO: GPS data processed {"connection_id":160237,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:12:41] local.INFO: Acknowledgment sent {"connection_id":160237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:12:43] local.INFO: TCP Data received {"connection_id":158055,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:12:43] local.INFO: Processing buffer {"connection_id":158055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:12:43] local.INFO: Packet analysis {"connection_id":158055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:12:43] local.INFO: Extracted packet for processing {"connection_id":158055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:12:43] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506739712001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787136003000,"timestamp_ms":1787136003000,"timestamp_seconds":1787136003,"priority":1,"record_length":96,"hex_timestamp":"000001a0199b4bb8"} 
[2026-08-19 16:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-19 16:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506739712001,"66":26136,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506739712001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:12:43] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:12:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506739712001,"power":26136,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":158055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:12:43] local.INFO: GPS data processed {"connection_id":158055,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:12:43] local.INFO: Acknowledgment sent {"connection_id":158055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:12:47] local.INFO: TCP Data received {"connection_id":157696,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199c7880012d123580071bd8a80031002728..."} 
[2026-08-19 16:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199c7880012d123580071bd8a80031002728..."} 
[2026-08-19 16:12:47] local.INFO: Processing buffer {"connection_id":157696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199c7880012d123580071bd8a80031002728..."} 
[2026-08-19 16:12:47] local.INFO: Packet analysis {"connection_id":157696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:12:47] local.INFO: Extracted packet for processing {"connection_id":157696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:12:47] local.INFO: GPS Element Parsed {"raw_longitude":756168064,"raw_latitude":119265448,"longitude_deg":75.6168064,"latitude_deg":11.9265448,"altitude":49,"angle":39,"satellites":40,"speed":9,"hex_longitude":"2d123580","hex_latitude":"071bd8a8","is_valid_coordinates":true} 
[2026-08-19 16:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506834688001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13841708932399104,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1310688259584493568,"note":"Value kept but may cause issues"} 
[2026-08-19 16:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787136080000,"timestamp_ms":1787136080000,"timestamp_seconds":1787136080,"priority":1,"record_length":96,"hex_timestamp":"000001a0199c7880"} 
[2026-08-19 16:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-19 16:12:47] 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-08-19 16:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506834688001,"66":14048,"245":206,"83":41984,"24":9,"16":13841708932399104,"45":1310688259584493568},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,45]} 
[2026-08-19 16:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506834688001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:12:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13841708932399104,"km_value":13841708932399.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1310688259584493568,"description":"Unknown IO ID 45"} 
[2026-08-19 16:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506834688001,"power":14048,"geofence_id":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1310688259584493568}} 
[2026-08-19 16:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":157696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:12:47] local.INFO: GPS data processed {"connection_id":157696,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:12:47] local.INFO: Acknowledgment sent {"connection_id":157696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:13:00] local.INFO: TCP Data received {"connection_id":160238,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:13:00] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:13:00] local.INFO: IMEI packet received {"connection_id":160238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":160238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:13:04] local.INFO: TCP Data received {"connection_id":160238,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:13:04] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:13:04] local.INFO: IMEI packet received {"connection_id":160238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":160238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:13:06] local.INFO: TCP Data received {"connection_id":160238,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:13:06] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:13:06] local.INFO: Packet analysis {"connection_id":160238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:13:06] local.INFO: Extracted packet for processing {"connection_id":160238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:13:06] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506739712001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787136003000,"timestamp_ms":1787136003000,"timestamp_seconds":1787136003,"priority":1,"record_length":96,"hex_timestamp":"000001a0199b4bb8"} 
[2026-08-19 16:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-19 16:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506739712001,"66":26136,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506739712001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:13:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:13:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506739712001,"power":26136,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":160238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:13:06] local.INFO: GPS data processed {"connection_id":160238,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:13:06] local.INFO: Acknowledgment sent {"connection_id":160238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:13:08] local.INFO: TCP Data received {"connection_id":158921,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:13:08] local.INFO: Processing buffer {"connection_id":158921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:13:08] local.INFO: IMEI packet received {"connection_id":158921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":158921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:13:13] local.INFO: TCP Data received {"connection_id":160237,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0199cc2b8012d7b098005e325a0000201231f..."} 
[2026-08-19 16:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199cc2b8012d7b098005e325a0000201231f..."} 
[2026-08-19 16:13:13] local.INFO: Processing buffer {"connection_id":160237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199cc2b8012d7b098005e325a0000201231f..."} 
[2026-08-19 16:13:13] local.INFO: Packet analysis {"connection_id":160237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:13:13] local.INFO: Extracted packet for processing {"connection_id":160237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:13:13] local.INFO: GPS Element Parsed {"raw_longitude":763038080,"raw_latitude":98772384,"longitude_deg":76.303808,"latitude_deg":9.8772384,"altitude":2,"angle":291,"satellites":31,"speed":4,"hex_longitude":"2d7b0980","hex_latitude":"05e325a0","is_valid_coordinates":true} 
[2026-08-19 16:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506839808001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120768214006235136,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866109947950499840,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:13] 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-08-19 16:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787136099000,"timestamp_ms":1787136099000,"timestamp_seconds":1787136099,"priority":1,"record_length":96,"hex_timestamp":"000001a0199cc2b8"} 
[2026-08-19 16:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 16:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:13:13] 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-08-19 16:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506839808001,"66":13341,"208":206,"85":15104,"24":4,"16":120768214006235136,"45":8866109947950499840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506839808001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:13:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:13:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120768214006235136,"km_value":120768214006235.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866109947950499840,"description":"Unknown IO ID 45"} 
[2026-08-19 16:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506839808001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8866109947950499840}} 
[2026-08-19 16:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":160237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:13:13] local.INFO: GPS data processed {"connection_id":160237,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:13:13] local.INFO: Acknowledgment sent {"connection_id":160237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:13:13] local.INFO: TCP Data received {"connection_id":158921,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:13:13] local.INFO: Processing buffer {"connection_id":158921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:13:13] local.INFO: IMEI packet received {"connection_id":158921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":158921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:13:14] local.INFO: TCP Data received {"connection_id":158921,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199d6ab0012d1264c0071c05b8003800242d..."} 
[2026-08-19 16:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199d6ab0012d1264c0071c05b8003800242d..."} 
[2026-08-19 16:13:14] local.INFO: Processing buffer {"connection_id":158921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199d6ab0012d1264c0071c05b8003800242d..."} 
[2026-08-19 16:13:14] local.INFO: Packet analysis {"connection_id":158921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199d"} 
[2026-08-19 16:13:14] local.INFO: Extracted packet for processing {"connection_id":158921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199d"} 
[2026-08-19 16:13:14] local.INFO: GPS Element Parsed {"raw_longitude":756180160,"raw_latitude":119276984,"longitude_deg":75.618016,"latitude_deg":11.9276984,"altitude":56,"angle":36,"satellites":45,"speed":7,"hex_longitude":"2d1264c0","hex_latitude":"071c05b8","is_valid_coordinates":true} 
[2026-08-19 16:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506850304001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13842580810760192,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1325184220888604672,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787136142000,"timestamp_ms":1787136142000,"timestamp_seconds":1787136142,"priority":1,"record_length":96,"hex_timestamp":"000001a0199d6ab0"} 
[2026-08-19 16:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:13:14] 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-08-19 16:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 16:13:14] 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-08-19 16:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506850304001,"66":14374,"245":206,"83":41984,"24":7,"16":13842580810760192,"45":1325184220888604672},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,45]} 
[2026-08-19 16:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506850304001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:13:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13842580810760192,"km_value":13842580810760.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1325184220888604672,"description":"Unknown IO ID 45"} 
[2026-08-19 16:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506850304001,"power":14374,"geofence_id":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1325184220888604672}} 
[2026-08-19 16:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":158921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:13:14] local.INFO: GPS data processed {"connection_id":158921,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:13:14] local.INFO: Acknowledgment sent {"connection_id":158921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:13:38] local.INFO: TCP Data received {"connection_id":160238,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:13:38] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:13:38] local.INFO: Packet analysis {"connection_id":160238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:13:38] local.INFO: Extracted packet for processing {"connection_id":160238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:13:38] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506739712001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787136003000,"timestamp_ms":1787136003000,"timestamp_seconds":1787136003,"priority":1,"record_length":96,"hex_timestamp":"000001a0199b4bb8"} 
[2026-08-19 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-08-19 16:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-19 16:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 16:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506739712001,"66":26136,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506739712001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:13:38] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:13:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506739712001,"power":26136,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":160238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:13:38] local.INFO: GPS data processed {"connection_id":160238,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:13:38] local.INFO: Acknowledgment sent {"connection_id":160238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:13:40] local.INFO: TCP Data received {"connection_id":160239,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:13:40] local.INFO: Processing buffer {"connection_id":160239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:13:40] local.INFO: IMEI packet received {"connection_id":160239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":160239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:13:45] local.INFO: TCP Data received {"connection_id":158921,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199e0ec0012d128480071c8300003d001528..."} 
[2026-08-19 16:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199e0ec0012d128480071c8300003d001528..."} 
[2026-08-19 16:13:45] local.INFO: Processing buffer {"connection_id":158921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199e0ec0012d128480071c8300003d001528..."} 
[2026-08-19 16:13:45] local.INFO: Packet analysis {"connection_id":158921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199e"} 
[2026-08-19 16:13:45] local.INFO: Extracted packet for processing {"connection_id":158921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199e"} 
[2026-08-19 16:13:45] local.INFO: GPS Element Parsed {"raw_longitude":756188288,"raw_latitude":119309056,"longitude_deg":75.6188288,"latitude_deg":11.9309056,"altitude":61,"angle":21,"satellites":40,"speed":25,"hex_longitude":"2d128480","hex_latitude":"071c8300","is_valid_coordinates":true} 
[2026-08-19 16:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506862848001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13844285912776704,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1333980313918941184,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787136184000,"timestamp_ms":1787136184000,"timestamp_seconds":1787136184,"priority":1,"record_length":96,"hex_timestamp":"000001a0199e0ec0"} 
[2026-08-19 16:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:13:45] 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-08-19 16:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 16:13:45] 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-08-19 16:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506862848001,"66":14004,"243":206,"83":41984,"24":25,"16":13844285912776704,"45":1333980313918941184},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-08-19 16:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506862848001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:13:45] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-19 16:13:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13844285912776704,"km_value":13844285912776.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1333980313918941184,"description":"Unknown IO ID 45"} 
[2026-08-19 16:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506862848001,"power":14004,"unknown_243":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1333980313918941184}} 
[2026-08-19 16:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":158921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:13:45] local.INFO: GPS data processed {"connection_id":158921,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:13:45] local.INFO: Acknowledgment sent {"connection_id":158921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:13:45] local.INFO: TCP Data received {"connection_id":160239,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:13:45] local.INFO: Processing buffer {"connection_id":160239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:13:45] local.INFO: IMEI packet received {"connection_id":160239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":160239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:13:47] local.INFO: TCP Data received {"connection_id":160239,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0199cc6a0012d7b094005e325f8000201421e..."} 
[2026-08-19 16:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199cc6a0012d7b094005e325f8000201421e..."} 
[2026-08-19 16:13:47] local.INFO: Processing buffer {"connection_id":160239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199cc6a0012d7b094005e325f8000201421e..."} 
[2026-08-19 16:13:47] local.INFO: Packet analysis {"connection_id":160239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:13:47] local.INFO: Extracted packet for processing {"connection_id":160239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:13:47] local.INFO: GPS Element Parsed {"raw_longitude":763038016,"raw_latitude":98772472,"longitude_deg":76.3038016,"latitude_deg":9.8772472,"altitude":2,"angle":322,"satellites":30,"speed":5,"hex_longitude":"2d7b0940","hex_latitude":"05e325f8","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506841344001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120768218301202432,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865758104229617664,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:47] 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-08-19 16:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787136100000,"timestamp_ms":1787136100000,"timestamp_seconds":1787136100,"priority":1,"record_length":96,"hex_timestamp":"000001a0199cc6a0"} 
[2026-08-19 16:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 16:13:47] 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-08-19 16: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-08-19 16:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:13:47] 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-08-19 16:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506841344001,"66":13341,"208":206,"85":15104,"24":5,"16":120768218301202432,"45":8865758104229617664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506841344001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:13:47] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:13:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120768218301202432,"km_value":120768218301202.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865758104229617664,"description":"Unknown IO ID 45"} 
[2026-08-19 16:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506841344001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8865758104229617664}} 
[2026-08-19 16:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":160239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:13:47] local.INFO: GPS data processed {"connection_id":160239,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:13:47] local.INFO: Acknowledgment sent {"connection_id":160239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:13:51] local.INFO: TCP Data received {"connection_id":160239,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0199cce70012d7b080005e327780002014d1c..."} 
[2026-08-19 16:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199cce70012d7b080005e327780002014d1c..."} 
[2026-08-19 16:13:51] local.INFO: Processing buffer {"connection_id":160239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199cce70012d7b080005e327780002014d1c..."} 
[2026-08-19 16:13:51] local.INFO: Packet analysis {"connection_id":160239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:13:51] local.INFO: Extracted packet for processing {"connection_id":160239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199c"} 
[2026-08-19 16:13:51] local.INFO: GPS Element Parsed {"raw_longitude":763037696,"raw_latitude":98772856,"longitude_deg":76.3037696,"latitude_deg":9.8772856,"altitude":2,"angle":333,"satellites":28,"speed":10,"hex_longitude":"2d7b0800","hex_latitude":"05e32778","is_valid_coordinates":true} 
[2026-08-19 16:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506841600001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120768244071006208,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865687735485462528,"note":"Value kept but may cause issues"} 
[2026-08-19 16:13: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-08-19 16:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787136102000,"timestamp_ms":1787136102000,"timestamp_seconds":1787136102,"priority":1,"record_length":96,"hex_timestamp":"000001a0199cce70"} 
[2026-08-19 16:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:13: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-08-19 16:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 16:13:51] 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-08-19 16:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:13:51] 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-08-19 16:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506841600001,"66":13135,"208":206,"85":15104,"24":10,"16":120768244071006208,"45":8865687735485462528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506841600001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:13:51] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:13:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120768244071006208,"km_value":120768244071006.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865687735485462528,"description":"Unknown IO ID 45"} 
[2026-08-19 16:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506841600001,"power":13135,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8865687735485462528}} 
[2026-08-19 16:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":160239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:13:51] local.INFO: GPS data processed {"connection_id":160239,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:13:51] local.INFO: Acknowledgment sent {"connection_id":160239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:13:59] local.INFO: TCP Data received {"connection_id":157697,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:13:59] local.INFO: Processing buffer {"connection_id":157697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:13:59] local.INFO: IMEI packet received {"connection_id":157697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":157697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:14:04] local.INFO: TCP Data received {"connection_id":157697,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:14:04] local.INFO: Processing buffer {"connection_id":157697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:14:04] local.INFO: IMEI packet received {"connection_id":157697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":157697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:14:06] local.INFO: TCP Data received {"connection_id":157697,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:14:06] local.INFO: Processing buffer {"connection_id":157697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:14:06] local.INFO: Packet analysis {"connection_id":157697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:14:06] local.INFO: Extracted packet for processing {"connection_id":157697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:14:06] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506739712001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:14:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787136003000,"timestamp_ms":1787136003000,"timestamp_seconds":1787136003,"priority":1,"record_length":96,"hex_timestamp":"000001a0199b4bb8"} 
[2026-08-19 16:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-19 16:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506739712001,"66":26136,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506739712001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:14:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:14:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506739712001,"power":26136,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":157697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:14:06] local.INFO: GPS data processed {"connection_id":157697,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:14:06] local.INFO: Acknowledgment sent {"connection_id":157697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:14:08] local.INFO: TCP Data received {"connection_id":158922,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:14:08] local.INFO: Processing buffer {"connection_id":158922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:14:08] local.INFO: IMEI packet received {"connection_id":158922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":158922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:14:15] local.INFO: TCP Data received {"connection_id":158922,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:14:15] local.INFO: Processing buffer {"connection_id":158922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:14:15] local.INFO: IMEI packet received {"connection_id":158922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":158922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:14:16] local.INFO: TCP Data received {"connection_id":158922,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199e5ce0012d12a680071c9b080042004e27..."} 
[2026-08-19 16:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199e5ce0012d12a680071c9b080042004e27..."} 
[2026-08-19 16:14:16] local.INFO: Processing buffer {"connection_id":158922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199e5ce0012d12a680071c9b080042004e27..."} 
[2026-08-19 16:14:16] local.INFO: Packet analysis {"connection_id":158922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199e"} 
[2026-08-19 16:14:16] local.INFO: Extracted packet for processing {"connection_id":158922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199e"} 
[2026-08-19 16:14:16] local.INFO: GPS Element Parsed {"raw_longitude":756196992,"raw_latitude":119315208,"longitude_deg":75.6196992,"latitude_deg":11.9315208,"altitude":66,"angle":78,"satellites":39,"speed":34,"hex_longitude":"2d12a680","hex_latitude":"071c9b08","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506867712001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13844947337740288,"note":"Value kept but may cause issues"} 
[2026-08-19 16:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1342143088245145600,"note":"Value kept but may cause issues"} 
[2026-08-19 16:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787136204000,"timestamp_ms":1787136204000,"timestamp_seconds":1787136204,"priority":1,"record_length":96,"hex_timestamp":"000001a0199e5ce0"} 
[2026-08-19 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-08-19 16:14: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-08-19 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 16:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 16:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506867712001,"66":14265,"243":206,"83":41984,"24":34,"16":13844947337740288,"45":1342143088245145600},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-08-19 16:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506867712001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:14:16] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-19 16:14:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13844947337740288,"km_value":13844947337740.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1342143088245145600,"description":"Unknown IO ID 45"} 
[2026-08-19 16:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506867712001,"power":14265,"unknown_243":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1342143088245145600}} 
[2026-08-19 16:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":158922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:14:16] local.INFO: GPS data processed {"connection_id":158922,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:14:16] local.INFO: Acknowledgment sent {"connection_id":158922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:14:33] local.INFO: TCP Data received {"connection_id":158056,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:14:33] local.INFO: Processing buffer {"connection_id":158056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:14:33] local.INFO: IMEI packet received {"connection_id":158056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":158056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:14:35] local.INFO: TCP Data received {"connection_id":158056,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:14:35] local.INFO: Processing buffer {"connection_id":158056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:14:35] local.INFO: IMEI packet received {"connection_id":158056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":158056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:14:37] local.INFO: TCP Data received {"connection_id":158056,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:14:37] local.INFO: Processing buffer {"connection_id":158056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:14:37] local.INFO: IMEI packet received {"connection_id":158056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":158056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:14:38] local.INFO: TCP Data received {"connection_id":157697,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:14:38] local.INFO: Processing buffer {"connection_id":157697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:14:38] local.INFO: Packet analysis {"connection_id":157697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:14:38] local.INFO: Extracted packet for processing {"connection_id":157697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:14:38] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506739712001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:14:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787136003000,"timestamp_ms":1787136003000,"timestamp_seconds":1787136003,"priority":1,"record_length":96,"hex_timestamp":"000001a0199b4bb8"} 
[2026-08-19 16:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-19 16:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506739712001,"66":26136,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506739712001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:14:38] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:14:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506739712001,"power":26136,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":157697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:14:38] local.INFO: GPS data processed {"connection_id":157697,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:14:38] local.INFO: Acknowledgment sent {"connection_id":157697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:14:39] local.INFO: TCP Data received {"connection_id":158056,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0199f1c48012d7acb8005e410480006013c28..."} 
[2026-08-19 16:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199f1c48012d7acb8005e410480006013c28..."} 
[2026-08-19 16:14:39] local.INFO: Processing buffer {"connection_id":158056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199f1c48012d7acb8005e410480006013c28..."} 
[2026-08-19 16:14:39] local.INFO: Packet analysis {"connection_id":158056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:14:39] local.INFO: Extracted packet for processing {"connection_id":158056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:14:39] local.INFO: GPS Element Parsed {"raw_longitude":763022208,"raw_latitude":98832456,"longitude_deg":76.3022208,"latitude_deg":9.8832456,"altitude":6,"angle":316,"satellites":40,"speed":10,"hex_longitude":"2d7acb80","hex_latitude":"05e41048","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506880000001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120771254843080704,"note":"Value kept but may cause issues"} 
[2026-08-19 16:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848939974386264064,"note":"Value kept but may cause issues"} 
[2026-08-19 16:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787136253000,"timestamp_ms":1787136253000,"timestamp_seconds":1787136253,"priority":1,"record_length":96,"hex_timestamp":"000001a0199f1c48"} 
[2026-08-19 16:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:14: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-08-19 16: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-19 16:14:39] 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-08-19 16: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-08-19 16:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:14:39] 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-08-19 16:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506880000001,"66":12287,"208":206,"85":15104,"24":10,"16":120771254843080704,"45":8848939974386264064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506880000001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:14:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120771254843080704,"km_value":120771254843080.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848939974386264064,"description":"Unknown IO ID 45"} 
[2026-08-19 16:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506880000001,"power":12287,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8848939974386264064}} 
[2026-08-19 16:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":158056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:14:39] local.INFO: GPS data processed {"connection_id":158056,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:14:39] local.INFO: Acknowledgment sent {"connection_id":158056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:14:41] local.INFO: TCP Data received {"connection_id":158923,"ip":"117.225.194.99","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158923,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:14:41] local.INFO: Processing buffer {"connection_id":158923,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:14:41] local.INFO: IMEI packet received {"connection_id":158923,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":158923,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:14:47] local.INFO: TCP Data received {"connection_id":158923,"ip":"117.225.194.99","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158923,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:14:47] local.INFO: Processing buffer {"connection_id":158923,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:14:47] local.INFO: IMEI packet received {"connection_id":158923,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":158923,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:14:47] local.INFO: TCP Data received {"connection_id":158922,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199e64b0012d12ae00071c9b180041005b29..."} 
[2026-08-19 16:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199e64b0012d12ae00071c9b180041005b29..."} 
[2026-08-19 16:14:47] local.INFO: Processing buffer {"connection_id":158922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199e64b0012d12ae00071c9b180041005b29..."} 
[2026-08-19 16:14:47] local.INFO: Packet analysis {"connection_id":158922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199e"} 
[2026-08-19 16:14:47] local.INFO: Extracted packet for processing {"connection_id":158922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199e"} 
[2026-08-19 16:14:47] local.INFO: GPS Element Parsed {"raw_longitude":756198912,"raw_latitude":119315224,"longitude_deg":75.6198912,"latitude_deg":11.9315224,"altitude":65,"angle":91,"satellites":41,"speed":38,"hex_longitude":"2d12ae00","hex_latitude":"071c9b18","is_valid_coordinates":true} 
[2026-08-19 16:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506868224001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13845041827020800,"note":"Value kept but may cause issues"} 
[2026-08-19 16:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1343902306849720320,"note":"Value kept but may cause issues"} 
[2026-08-19 16:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787136206000,"timestamp_ms":1787136206000,"timestamp_seconds":1787136206,"priority":1,"record_length":96,"hex_timestamp":"000001a0199e64b0"} 
[2026-08-19 16:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 16:14:47] 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-08-19 16:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506868224001,"66":14341,"243":206,"83":41984,"24":38,"16":13845041827020800,"45":1343902306849720320},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-08-19 16:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506868224001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:14:47] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-19 16:14:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13845041827020800,"km_value":13845041827020.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1343902306849720320,"description":"Unknown IO ID 45"} 
[2026-08-19 16:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506868224001,"power":14341,"unknown_243":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1343902306849720320}} 
[2026-08-19 16:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":158922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:14:47] local.INFO: GPS data processed {"connection_id":158922,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:14:47] local.INFO: Acknowledgment sent {"connection_id":158922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:14:48] local.INFO: TCP Data received {"connection_id":158923,"ip":"117.225.194.99","data_length":795,"data_hex":"000000000000030f8e0a000001a0199f5ac8012d0d39c00705c450001900ae2c..."} 
[2026-08-19 16:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199f5ac8012d0d39c00705c450001900ae2c..."} 
[2026-08-19 16:14:48] local.INFO: Processing buffer {"connection_id":158923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199f5ac8012d0d39c00705c450001900ae2c..."} 
[2026-08-19 16:14:48] local.INFO: Packet analysis {"connection_id":158923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:14:48] local.INFO: Extracted packet for processing {"connection_id":158923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:14:48] local.INFO: GPS Element Parsed {"raw_longitude":755841472,"raw_latitude":117818448,"longitude_deg":75.5841472,"latitude_deg":11.7818448,"altitude":25,"angle":174,"satellites":44,"speed":15,"hex_longitude":"2d0d39c0","hex_latitude":"0705c450","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506882816001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28911052661981184,"note":"Value kept but may cause issues"} 
[2026-08-19 16:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953285407537270784,"note":"Value kept but may cause issues"} 
[2026-08-19 16:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787136269000,"timestamp_ms":1787136269000,"timestamp_seconds":1787136269,"priority":1,"record_length":96,"hex_timestamp":"000001a0199f5ac8"} 
[2026-08-19 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-08-19 16:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 16:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 16:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":158923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":158923,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":158923,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.194.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506882816001,"66":14396,"220":206,"28":32256,"24":15,"16":28911052661981184,"45":953285407537270784},"client_ip":"117.225.194.99","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-19 16:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506882816001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:14:48] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-19 16:14:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28911052661981184,"km_value":28911052661981.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":953285407537270784,"description":"Unknown IO ID 45"} 
[2026-08-19 16:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506882816001,"power":14396,"unknown_220":206,"unknown_28":32256,"ignition":15,"odometer":null,"unknown_45":953285407537270784}} 
[2026-08-19 16:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":158923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665598,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:14:48] local.INFO: GPS data processed {"connection_id":158923,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:14:48] local.INFO: Acknowledgment sent {"connection_id":158923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:14:59] local.INFO: TCP Data received {"connection_id":157698,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:14:59] local.INFO: Processing buffer {"connection_id":157698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:14:59] local.INFO: IMEI packet received {"connection_id":157698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":157698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:15:04] local.INFO: TCP Data received {"connection_id":157698,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:15:04] local.INFO: Processing buffer {"connection_id":157698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:15:04] local.INFO: IMEI packet received {"connection_id":157698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":157698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:15:05] local.INFO: TCP Data received {"connection_id":157698,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:15:05] local.INFO: Processing buffer {"connection_id":157698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:15:05] local.INFO: Packet analysis {"connection_id":157698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:15:05] local.INFO: Extracted packet for processing {"connection_id":157698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:15:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506739712001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787136003000,"timestamp_ms":1787136003000,"timestamp_seconds":1787136003,"priority":1,"record_length":96,"hex_timestamp":"000001a0199b4bb8"} 
[2026-08-19 16:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-19 16:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506739712001,"66":26136,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506739712001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:15:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:15:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506739712001,"power":26136,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":157698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:15:05] local.INFO: GPS data processed {"connection_id":157698,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:15:05] local.INFO: Acknowledgment sent {"connection_id":157698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:15:11] local.INFO: TCP Data received {"connection_id":158056,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0199f2030012d7acac005e410d00006012229..."} 
[2026-08-19 16:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199f2030012d7acac005e410d00006012229..."} 
[2026-08-19 16:15:11] local.INFO: Processing buffer {"connection_id":158056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199f2030012d7acac005e410d00006012229..."} 
[2026-08-19 16:15:11] local.INFO: Packet analysis {"connection_id":158056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:15:11] local.INFO: Extracted packet for processing {"connection_id":158056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:15:11] local.INFO: GPS Element Parsed {"raw_longitude":763022016,"raw_latitude":98832592,"longitude_deg":76.3022016,"latitude_deg":9.8832592,"altitude":6,"angle":290,"satellites":41,"speed":10,"hex_longitude":"2d7acac0","hex_latitude":"05e410d0","is_valid_coordinates":true} 
[2026-08-19 16:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506880768001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120771267727982592,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848306655688935424,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787136254000,"timestamp_ms":1787136254000,"timestamp_seconds":1787136254,"priority":1,"record_length":96,"hex_timestamp":"000001a0199f2030"} 
[2026-08-19 16:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:15: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-08-19 16:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-19 16:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:15: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-08-19 16:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506880768001,"66":12287,"208":206,"85":15104,"24":10,"16":120771267727982592,"45":8848306655688935424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506880768001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:15:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120771267727982592,"km_value":120771267727982.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848306655688935424,"description":"Unknown IO ID 45"} 
[2026-08-19 16:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506880768001,"power":12287,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8848306655688935424}} 
[2026-08-19 16:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":158056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:15:11] local.INFO: GPS data processed {"connection_id":158056,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:15:11] local.INFO: Acknowledgment sent {"connection_id":158056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:15:13] local.INFO: TCP Data received {"connection_id":160240,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:15:13] local.INFO: Processing buffer {"connection_id":160240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:15:13] local.INFO: IMEI packet received {"connection_id":160240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":160240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:15:18] local.INFO: TCP Data received {"connection_id":160240,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:15:18] local.INFO: Processing buffer {"connection_id":160240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:15:18] local.INFO: IMEI packet received {"connection_id":160240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":160240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:15:19] local.INFO: TCP Data received {"connection_id":158923,"ip":"117.225.194.99","data_length":795,"data_hex":"000000000000030f8e0a000001a0199f6298012d0d3a400705c218001900922c..."} 
[2026-08-19 16:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199f6298012d0d3a400705c218001900922c..."} 
[2026-08-19 16:15:19] local.INFO: Processing buffer {"connection_id":158923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199f6298012d0d3a400705c218001900922c..."} 
[2026-08-19 16:15:19] local.INFO: Packet analysis {"connection_id":158923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:15:19] local.INFO: Extracted packet for processing {"connection_id":158923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:15:19] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117817880,"longitude_deg":75.58416,"latitude_deg":11.781788,"altitude":25,"angle":146,"satellites":44,"speed":9,"hex_longitude":"2d0d3a40","hex_latitude":"0705c218","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506884864001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28911082726752256,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953003932559626240,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787136271000,"timestamp_ms":1787136271000,"timestamp_seconds":1787136271,"priority":1,"record_length":96,"hex_timestamp":"000001a0199f6298"} 
[2026-08-19 16:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:15: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-08-19 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 16:15: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-08-19 16: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-08-19 16:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158923,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158923,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.194.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506884864001,"66":14396,"220":206,"28":32256,"24":9,"16":28911082726752256,"45":953003932559626240},"client_ip":"117.225.194.99","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-19 16:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506884864001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:15:19] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-19 16:15:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28911082726752256,"km_value":28911082726752.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":953003932559626240,"description":"Unknown IO ID 45"} 
[2026-08-19 16:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506884864001,"power":14396,"unknown_220":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":953003932559626240}} 
[2026-08-19 16:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":158923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665601,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:15:19] local.INFO: GPS data processed {"connection_id":158923,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:15:19] local.INFO: Acknowledgment sent {"connection_id":158923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:15:19] local.INFO: TCP Data received {"connection_id":160240,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199e7068012d12b980071c98c80041006d29..."} 
[2026-08-19 16:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199e7068012d12b980071c98c80041006d29..."} 
[2026-08-19 16:15:19] local.INFO: Processing buffer {"connection_id":160240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199e7068012d12b980071c98c80041006d29..."} 
[2026-08-19 16:15:19] local.INFO: Packet analysis {"connection_id":160240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199e"} 
[2026-08-19 16:15:19] local.INFO: Extracted packet for processing {"connection_id":160240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199e"} 
[2026-08-19 16:15:19] local.INFO: GPS Element Parsed {"raw_longitude":756201856,"raw_latitude":119314632,"longitude_deg":75.6201856,"latitude_deg":11.9314632,"altitude":65,"angle":109,"satellites":41,"speed":39,"hex_longitude":"2d12b980","hex_latitude":"071c98c8","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506868736001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13845183560941568,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1346013369175054336,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787136209000,"timestamp_ms":1787136209000,"timestamp_seconds":1787136209,"priority":1,"record_length":96,"hex_timestamp":"000001a0199e7068"} 
[2026-08-19 16:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 16:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6981000746,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:19] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84744323987872916,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:19] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3137339392,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:19] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503810878275584,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:19] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2654838785,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:19] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2511863871,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":317915342,"corrected_to":0} 
[2026-08-19 16:15:19] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3221691541,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:19] local.WARNING: Large IO value detected {"io_id":80,"raw_value":17170150344102912,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:19] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,243,83,24,241,157,16,47,160,92,45,128,155,66,39,10,85,64,153,73,1,240,38,227,25,28,4,113,205,26,49,135,40,239,56,2,7,61,18,206,80],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":317915342,"validated":0}]} 
[2026-08-19 16:15:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4683843844119592960,"timestamp_seconds":4683843844119593.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 16:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506868736001,"66":14374,"243":206,"83":41984,"24":39,"16":13845183560941568,"45":1346013369175054336},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-08-19 16:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506868736001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:15:19] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-19 16:15:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13845183560941568,"km_value":13845183560941.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1346013369175054336,"description":"Unknown IO ID 45"} 
[2026-08-19 16:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506868736001,"power":14374,"unknown_243":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1346013369175054336}} 
[2026-08-19 16:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":160240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:15:19] local.INFO: GPS data processed {"connection_id":160240,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:15:19] local.INFO: Acknowledgment sent {"connection_id":160240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:15:21] local.INFO: TCP Data received {"connection_id":160240,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199e8bc0012d12d5c0071c91600041005d26..."} 
[2026-08-19 16:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199e8bc0012d12d5c0071c91600041005d26..."} 
[2026-08-19 16:15:21] local.INFO: Processing buffer {"connection_id":160240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199e8bc0012d12d5c0071c91600041005d26..."} 
[2026-08-19 16:15:21] local.INFO: Packet analysis {"connection_id":160240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199e"} 
[2026-08-19 16:15:21] local.INFO: Extracted packet for processing {"connection_id":160240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199e"} 
[2026-08-19 16:15:21] local.INFO: GPS Element Parsed {"raw_longitude":756209088,"raw_latitude":119312736,"longitude_deg":75.6209088,"latitude_deg":11.9312736,"altitude":65,"angle":93,"satellites":38,"speed":42,"hex_longitude":"2d12d5c0","hex_latitude":"071c9160","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506869504001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13845540043227136,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1349250331407075328,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787136216000,"timestamp_ms":1787136216000,"timestamp_seconds":1787136216,"priority":1,"record_length":96,"hex_timestamp":"000001a0199e8bc0"} 
[2026-08-19 16:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:15: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-08-19 16:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 16:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":160240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":160240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":160240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506869504001,"66":13091,"243":206,"83":41984,"24":42,"16":13845540043227136,"45":1349250331407075328},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-08-19 16:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506869504001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:15:21] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-19 16:15:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13845540043227136,"km_value":13845540043227.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1349250331407075328,"description":"Unknown IO ID 45"} 
[2026-08-19 16:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506869504001,"power":13091,"unknown_243":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1349250331407075328}} 
[2026-08-19 16:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":160240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:15:21] local.INFO: GPS data processed {"connection_id":160240,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:15:21] local.INFO: Acknowledgment sent {"connection_id":160240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:15:34] local.INFO: TCP Data received {"connection_id":160241,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:15:34] local.INFO: Processing buffer {"connection_id":160241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:15:34] local.INFO: IMEI packet received {"connection_id":160241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":160241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:15:35] local.INFO: TCP Data received {"connection_id":160241,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:15:35] local.INFO: Processing buffer {"connection_id":160241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:15:35] local.INFO: IMEI packet received {"connection_id":160241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":160241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:15:36] local.INFO: TCP Data received {"connection_id":160241,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:15:36] local.INFO: Processing buffer {"connection_id":160241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:15:36] local.INFO: IMEI packet received {"connection_id":160241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":160241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:15:36] local.INFO: TCP Data received {"connection_id":157699,"ip":"117.225.194.99","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157699,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:15:36] local.INFO: Processing buffer {"connection_id":157699,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:15:36] local.INFO: IMEI packet received {"connection_id":157699,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":157699,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:15:37] local.INFO: TCP Data received {"connection_id":157698,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:15:37] local.INFO: Processing buffer {"connection_id":157698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199b4bb8012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:15:37] local.INFO: Packet analysis {"connection_id":157698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:15:37] local.INFO: Extracted packet for processing {"connection_id":157698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199b"} 
[2026-08-19 16:15:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506739712001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787136003000,"timestamp_ms":1787136003000,"timestamp_seconds":1787136003,"priority":1,"record_length":96,"hex_timestamp":"000001a0199b4bb8"} 
[2026-08-19 16:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-19 16:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506739712001,"66":26136,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506739712001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:15:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506739712001,"power":26136,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":157698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:15:37] local.INFO: GPS data processed {"connection_id":157698,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:15:37] local.INFO: Acknowledgment sent {"connection_id":157698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:15:38] local.INFO: TCP Data received {"connection_id":160241,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:15:38] local.INFO: Processing buffer {"connection_id":160241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:15:38] local.INFO: IMEI packet received {"connection_id":160241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":160241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:15:39] local.INFO: TCP Data received {"connection_id":160241,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019a03588012d7ac4c005e410800009004e24..."} 
[2026-08-19 16:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a03588012d7ac4c005e410800009004e24..."} 
[2026-08-19 16:15:39] local.INFO: Processing buffer {"connection_id":160241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a03588012d7ac4c005e410800009004e24..."} 
[2026-08-19 16:15:39] local.INFO: Packet analysis {"connection_id":160241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a0"} 
[2026-08-19 16:15:39] local.INFO: Extracted packet for processing {"connection_id":160241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a0"} 
[2026-08-19 16:15:39] local.INFO: GPS Element Parsed {"raw_longitude":763020480,"raw_latitude":98832512,"longitude_deg":76.302048,"latitude_deg":9.8832512,"altitude":9,"angle":78,"satellites":36,"speed":26,"hex_longitude":"2d7ac4c0","hex_latitude":"05e41080","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506895616001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120772380124512256,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836414337922535424,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787136325000,"timestamp_ms":1787136325000,"timestamp_seconds":1787136325,"priority":1,"record_length":96,"hex_timestamp":"000001a019a03588"} 
[2026-08-19 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-08-19 16:15: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-08-19 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 16:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 16:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:15:39] 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-08-19 16:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506895616001,"66":12765,"208":206,"85":15104,"24":26,"16":120772380124512256,"45":8836414337922535424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506895616001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:15:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120772380124512256,"km_value":120772380124512.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836414337922535424,"description":"Unknown IO ID 45"} 
[2026-08-19 16:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506895616001,"power":12765,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8836414337922535424}} 
[2026-08-19 16:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":160241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:15:39] local.INFO: GPS data processed {"connection_id":160241,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:15:39] local.INFO: Acknowledgment sent {"connection_id":160241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:15:41] local.INFO: TCP Data received {"connection_id":157699,"ip":"117.225.194.99","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157699,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:15:41] local.INFO: Processing buffer {"connection_id":157699,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:15:41] local.INFO: IMEI packet received {"connection_id":157699,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":157699,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:15:43] local.INFO: TCP Data received {"connection_id":157699,"ip":"117.225.194.99","data_length":795,"data_hex":"000000000000030f8e0a000001a0199f6680012d0d3a800705c168001900842c..."} 
[2026-08-19 16:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199f6680012d0d3a800705c168001900842c..."} 
[2026-08-19 16:15:43] local.INFO: Processing buffer {"connection_id":157699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199f6680012d0d3a800705c168001900842c..."} 
[2026-08-19 16:15:43] local.INFO: Packet analysis {"connection_id":157699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:15:43] local.INFO: Extracted packet for processing {"connection_id":157699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:15:43] local.INFO: GPS Element Parsed {"raw_longitude":755841664,"raw_latitude":117817704,"longitude_deg":75.5841664,"latitude_deg":11.7817704,"altitude":25,"angle":132,"satellites":44,"speed":8,"hex_longitude":"2d0d3a80","hex_latitude":"0705c168","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506885376001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28911091316686848,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953144670047836160,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787136272000,"timestamp_ms":1787136272000,"timestamp_seconds":1787136272,"priority":1,"record_length":96,"hex_timestamp":"000001a0199f6680"} 
[2026-08-19 16:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 16:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.194.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506885376001,"66":14396,"220":206,"28":32256,"24":8,"16":28911091316686848,"45":953144670047836160},"client_ip":"117.225.194.99","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-19 16:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506885376001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:15:43] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-19 16:15:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28911091316686848,"km_value":28911091316686.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":953144670047836160,"description":"Unknown IO ID 45"} 
[2026-08-19 16:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506885376001,"power":14396,"unknown_220":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":953144670047836160}} 
[2026-08-19 16:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":157699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665606,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:15:43] local.INFO: GPS data processed {"connection_id":157699,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:15:43] local.INFO: Acknowledgment sent {"connection_id":157699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:15:53] local.INFO: TCP Data received {"connection_id":160240,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199e9390012d12de80071c92200041005127..."} 
[2026-08-19 16:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199e9390012d12de80071c92200041005127..."} 
[2026-08-19 16:15:53] local.INFO: Processing buffer {"connection_id":160240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199e9390012d12de80071c92200041005127..."} 
[2026-08-19 16:15:53] local.INFO: Packet analysis {"connection_id":160240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199e"} 
[2026-08-19 16:15:53] local.INFO: Extracted packet for processing {"connection_id":160240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199e"} 
[2026-08-19 16:15:53] local.INFO: GPS Element Parsed {"raw_longitude":756211328,"raw_latitude":119312928,"longitude_deg":75.6211328,"latitude_deg":11.9312928,"altitude":65,"angle":81,"satellites":39,"speed":42,"hex_longitude":"2d12de80","hex_latitude":"071c9220","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506871296001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13845647417409536,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1357201999498665984,"note":"Value kept but may cause issues"} 
[2026-08-19 16:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787136218000,"timestamp_ms":1787136218000,"timestamp_seconds":1787136218,"priority":1,"record_length":96,"hex_timestamp":"000001a0199e9390"} 
[2026-08-19 16:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 16:15:53] 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-08-19 16: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-08-19 16:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506871296001,"66":13080,"243":206,"83":41984,"24":42,"16":13845647417409536,"45":1357201999498665984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-08-19 16:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506871296001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:15:53] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-19 16:15:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13845647417409536,"km_value":13845647417409.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1357201999498665984,"description":"Unknown IO ID 45"} 
[2026-08-19 16:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506871296001,"power":13080,"unknown_243":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1357201999498665984}} 
[2026-08-19 16:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":160240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:15:53] local.INFO: GPS data processed {"connection_id":160240,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:15:53] local.INFO: Acknowledgment sent {"connection_id":160240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:16:04] local.INFO: TCP Data received {"connection_id":158057,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:16:04] local.INFO: Processing buffer {"connection_id":158057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:16:04] local.INFO: IMEI packet received {"connection_id":158057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":158057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:16:08] local.INFO: TCP Data received {"connection_id":160242,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:16:08] local.INFO: Processing buffer {"connection_id":160242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:16:08] local.INFO: IMEI packet received {"connection_id":160242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":160242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:16:09] local.INFO: TCP Data received {"connection_id":158057,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:16:09] local.INFO: Processing buffer {"connection_id":158057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:16:09] local.INFO: IMEI packet received {"connection_id":158057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":158057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:16:10] local.INFO: TCP Data received {"connection_id":158057,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:16:10] local.INFO: Processing buffer {"connection_id":158057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:16:10] local.INFO: Packet analysis {"connection_id":158057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:16:10] local.INFO: Extracted packet for processing {"connection_id":158057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506816768001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787136304000,"timestamp_ms":1787136304000,"timestamp_seconds":1787136304,"priority":1,"record_length":96,"hex_timestamp":"000001a0199fe380"} 
[2026-08-19 16:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 16:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506816768001,"66":25973,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506816768001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:16:10] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506816768001,"power":25973,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":158057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:16:10] local.INFO: GPS data processed {"connection_id":158057,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:16:10] local.INFO: Acknowledgment sent {"connection_id":158057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:16:10] local.INFO: TCP Data received {"connection_id":160241,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019a04528012d7aca8005e41170000a005c1f..."} 
[2026-08-19 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a04528012d7aca8005e41170000a005c1f..."} 
[2026-08-19 16:16:10] local.INFO: Processing buffer {"connection_id":160241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a04528012d7aca8005e41170000a005c1f..."} 
[2026-08-19 16:16:10] local.INFO: Packet analysis {"connection_id":160241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a0"} 
[2026-08-19 16:16:10] local.INFO: Extracted packet for processing {"connection_id":160241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a0"} 
[2026-08-19 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763021952,"raw_latitude":98832752,"longitude_deg":76.3021952,"latitude_deg":9.8832752,"altitude":10,"angle":92,"satellites":31,"speed":5,"hex_longitude":"2d7aca80","hex_latitude":"05e41170","is_valid_coordinates":true} 
[2026-08-19 16:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506899200001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120772448843988992,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846406699596152832,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:10] 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-08-19 16:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787136329000,"timestamp_ms":1787136329000,"timestamp_seconds":1787136329,"priority":1,"record_length":96,"hex_timestamp":"000001a019a04528"} 
[2026-08-19 16:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-19 16:16:10] 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-08-19 16:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:16:10] 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-08-19 16:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506899200001,"66":13341,"208":206,"85":15104,"24":5,"16":120772448843988992,"45":8846406699596152832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506899200001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:16:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120772448843988992,"km_value":120772448843988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846406699596152832,"description":"Unknown IO ID 45"} 
[2026-08-19 16:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506899200001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8846406699596152832}} 
[2026-08-19 16:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":160241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:16:10] local.INFO: GPS data processed {"connection_id":160241,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:16:10] local.INFO: Acknowledgment sent {"connection_id":160241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:16:13] local.INFO: TCP Data received {"connection_id":160242,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:16:13] local.INFO: Processing buffer {"connection_id":160242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:16:13] local.INFO: IMEI packet received {"connection_id":160242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":160242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:16:14] local.INFO: TCP Data received {"connection_id":160242,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199e9b60012d12e600071c94c80042004527..."} 
[2026-08-19 16:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199e9b60012d12e600071c94c80042004527..."} 
[2026-08-19 16:16:14] local.INFO: Processing buffer {"connection_id":160242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199e9b60012d12e600071c94c80042004527..."} 
[2026-08-19 16:16:14] local.INFO: Packet analysis {"connection_id":160242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199e"} 
[2026-08-19 16:16:14] local.INFO: Extracted packet for processing {"connection_id":160242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199e"} 
[2026-08-19 16:16:14] local.INFO: GPS Element Parsed {"raw_longitude":756213248,"raw_latitude":119313608,"longitude_deg":75.6213248,"latitude_deg":11.9313608,"altitude":66,"angle":69,"satellites":39,"speed":39,"hex_longitude":"2d12e600","hex_latitude":"071c94c8","is_valid_coordinates":true} 
[2026-08-19 16:16: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-08-19 16:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506871808001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13845746201657344,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1359664905544933376,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787136220000,"timestamp_ms":1787136220000,"timestamp_seconds":1787136220,"priority":1,"record_length":96,"hex_timestamp":"000001a0199e9b60"} 
[2026-08-19 16:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:16:14] 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-08-19 16:16: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":24,"data_length":795,"current_offset":136} 
[2026-08-19 16:16:14] 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-08-19 16:16: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-08-19 16:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506871808001,"66":13004,"243":206,"83":41984,"24":39,"16":13845746201657344,"45":1359664905544933376},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-08-19 16:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506871808001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:16:14] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-19 16:16:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13845746201657344,"km_value":13845746201657.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1359664905544933376,"description":"Unknown IO ID 45"} 
[2026-08-19 16:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506871808001,"power":13004,"unknown_243":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1359664905544933376}} 
[2026-08-19 16:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":160242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:16:14] local.INFO: GPS data processed {"connection_id":160242,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:16:14] local.INFO: Acknowledgment sent {"connection_id":160242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:16:15] local.INFO: TCP Data received {"connection_id":157699,"ip":"117.225.194.99","data_length":795,"data_hex":"000000000000030f8e0a000001a019a0c610012d0d3e800705d540001c00682a..."} 
[2026-08-19 16:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a0c610012d0d3e800705d540001c00682a..."} 
[2026-08-19 16:16:15] local.INFO: Processing buffer {"connection_id":157699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a0c610012d0d3e800705d540001c00682a..."} 
[2026-08-19 16:16:15] local.INFO: Packet analysis {"connection_id":157699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a0"} 
[2026-08-19 16:16:15] local.INFO: Extracted packet for processing {"connection_id":157699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a0"} 
[2026-08-19 16:16:15] local.INFO: GPS Element Parsed {"raw_longitude":755842688,"raw_latitude":117822784,"longitude_deg":75.5842688,"latitude_deg":11.7822784,"altitude":28,"angle":104,"satellites":42,"speed":12,"hex_longitude":"2d0d3e80","hex_latitude":"0705d540","is_valid_coordinates":true} 
[2026-08-19 16:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506908416001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28911555173154816,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953989094979229696,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787136362000,"timestamp_ms":1787136362000,"timestamp_seconds":1787136362,"priority":1,"record_length":96,"hex_timestamp":"000001a019a0c610"} 
[2026-08-19 16:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:16: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-08-19 16:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 16:16:15] 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-08-19 16:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.194.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506908416001,"66":14135,"220":206,"28":32256,"24":12,"16":28911555173154816,"45":953989094979229696},"client_ip":"117.225.194.99","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-19 16:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506908416001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:16:15] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-19 16:16:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28911555173154816,"km_value":28911555173154.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":953989094979229696,"description":"Unknown IO ID 45"} 
[2026-08-19 16:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506908416001,"power":14135,"unknown_220":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":953989094979229696}} 
[2026-08-19 16:16:15] local.INFO: TCP Data received {"connection_id":158057,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:16:15] local.INFO: Processing buffer {"connection_id":158057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:16:15] local.INFO: Packet analysis {"connection_id":158057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:16:15] local.INFO: Extracted packet for processing {"connection_id":158057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:16:15] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506816768001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787136304000,"timestamp_ms":1787136304000,"timestamp_seconds":1787136304,"priority":1,"record_length":96,"hex_timestamp":"000001a0199fe380"} 
[2026-08-19 16:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 16:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506816768001,"66":25973,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506816768001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:16:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:16:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506816768001,"power":25973,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":158057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:16:15] local.INFO: GPS data processed {"connection_id":158057,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:16:15] local.INFO: Acknowledgment sent {"connection_id":158057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":157699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665612,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:16:15] local.INFO: GPS data processed {"connection_id":157699,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:16:15] local.INFO: Acknowledgment sent {"connection_id":157699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:16:35] local.INFO: TCP Data received {"connection_id":158058,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:16:35] local.INFO: Processing buffer {"connection_id":158058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:16:35] local.INFO: IMEI packet received {"connection_id":158058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":158058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:16:36] local.INFO: TCP Data received {"connection_id":157700,"ip":"117.225.194.99","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157700,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:16:36] local.INFO: Processing buffer {"connection_id":157700,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:16:36] local.INFO: IMEI packet received {"connection_id":157700,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":157700,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:16:37] local.INFO: TCP Data received {"connection_id":157700,"ip":"117.225.194.99","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157700,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:16:37] local.INFO: Processing buffer {"connection_id":157700,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:16:37] local.INFO: IMEI packet received {"connection_id":157700,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":157700,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:16:38] local.INFO: TCP Data received {"connection_id":157700,"ip":"117.225.194.99","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157700,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:16:38] local.INFO: Processing buffer {"connection_id":157700,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:16:38] local.INFO: IMEI packet received {"connection_id":157700,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":157700,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:16:39] local.INFO: TCP Data received {"connection_id":157700,"ip":"117.225.194.99","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157700,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:16:39] local.INFO: Processing buffer {"connection_id":157700,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:16:39] local.INFO: IMEI packet received {"connection_id":157700,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":157700,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:16:41] local.INFO: TCP Data received {"connection_id":158058,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158058,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:16:41] local.INFO: Processing buffer {"connection_id":158058,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:16:41] local.INFO: IMEI packet received {"connection_id":158058,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":158058,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:16:43] local.INFO: TCP Data received {"connection_id":158058,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019a050e0012d7acc0005e41128000a00711f..."} 
[2026-08-19 16:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a050e0012d7acc0005e41128000a00711f..."} 
[2026-08-19 16:16:43] local.INFO: Processing buffer {"connection_id":158058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a050e0012d7acc0005e41128000a00711f..."} 
[2026-08-19 16:16:43] local.INFO: Packet analysis {"connection_id":158058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a0"} 
[2026-08-19 16:16:43] local.INFO: Extracted packet for processing {"connection_id":158058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a0"} 
[2026-08-19 16:16:43] local.INFO: GPS Element Parsed {"raw_longitude":763022336,"raw_latitude":98832680,"longitude_deg":76.3022336,"latitude_deg":9.883268,"altitude":10,"angle":113,"satellites":31,"speed":9,"hex_longitude":"2d7acc00","hex_latitude":"05e41128","is_valid_coordinates":true} 
[2026-08-19 16:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506900224001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120772470318825472,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848025180712300544,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16: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-08-19 16:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787136332000,"timestamp_ms":1787136332000,"timestamp_seconds":1787136332,"priority":1,"record_length":96,"hex_timestamp":"000001a019a050e0"} 
[2026-08-19 16:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:16: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-08-19 16:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 16:16:43] 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-08-19 16:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:16:43] 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-08-19 16:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506900224001,"66":13341,"208":206,"85":15104,"24":9,"16":120772470318825472,"45":8848025180712300544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506900224001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:16:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:16:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120772470318825472,"km_value":120772470318825.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848025180712300544,"description":"Unknown IO ID 45"} 
[2026-08-19 16:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506900224001,"power":13341,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8848025180712300544}} 
[2026-08-19 16:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":158058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:16:43] local.INFO: GPS data processed {"connection_id":158058,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:16:43] local.INFO: Acknowledgment sent {"connection_id":158058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:16:45] local.INFO: TCP Data received {"connection_id":160242,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199eca40012d130200071ca088004c00522b..."} 
[2026-08-19 16:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199eca40012d130200071ca088004c00522b..."} 
[2026-08-19 16:16:45] local.INFO: Processing buffer {"connection_id":160242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199eca40012d130200071ca088004c00522b..."} 
[2026-08-19 16:16:45] local.INFO: Packet analysis {"connection_id":160242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199e"} 
[2026-08-19 16:16:45] local.INFO: Extracted packet for processing {"connection_id":160242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199e"} 
[2026-08-19 16:16:45] local.INFO: GPS Element Parsed {"raw_longitude":756220416,"raw_latitude":119316616,"longitude_deg":75.6220416,"latitude_deg":11.9316616,"altitude":76,"angle":82,"satellites":43,"speed":19,"hex_longitude":"2d130200","hex_latitude":"071ca088","is_valid_coordinates":true} 
[2026-08-19 16:16: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-08-19 16:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506872320001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13846115568844800,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1361775967870437376,"note":"Value kept but may cause issues"} 
[2026-08-19 16:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787136232000,"timestamp_ms":1787136232000,"timestamp_seconds":1787136232,"priority":1,"record_length":96,"hex_timestamp":"000001a0199eca40"} 
[2026-08-19 16:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:16:45] 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-08-19 16:16: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":204,"data_length":795,"current_offset":136} 
[2026-08-19 16:16:45] 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-08-19 16:16: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-08-19 16:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506872320001,"66":12961,"243":206,"83":41984,"24":19,"16":13846115568844800,"45":1361775967870437376},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-08-19 16:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506872320001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:16:45] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-19 16:16:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13846115568844800,"km_value":13846115568844.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1361775967870437376,"description":"Unknown IO ID 45"} 
[2026-08-19 16:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506872320001,"power":12961,"unknown_243":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1361775967870437376}} 
[2026-08-19 16:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":160242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:16:45] local.INFO: GPS data processed {"connection_id":160242,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:16:45] local.INFO: Acknowledgment sent {"connection_id":160242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:16:59] local.INFO: TCP Data received {"connection_id":158059,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:16:59] local.INFO: Processing buffer {"connection_id":158059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:16:59] local.INFO: IMEI packet received {"connection_id":158059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":158059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:17:04] local.INFO: TCP Data received {"connection_id":158059,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:17:04] local.INFO: Processing buffer {"connection_id":158059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:17:04] local.INFO: IMEI packet received {"connection_id":158059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":158059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:17:05] local.INFO: TCP Data received {"connection_id":158059,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:17:05] local.INFO: Processing buffer {"connection_id":158059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:17:05] local.INFO: Packet analysis {"connection_id":158059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:17:05] local.INFO: Extracted packet for processing {"connection_id":158059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:17:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506816768001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:17:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787136304000,"timestamp_ms":1787136304000,"timestamp_seconds":1787136304,"priority":1,"record_length":96,"hex_timestamp":"000001a0199fe380"} 
[2026-08-19 16:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 16:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506816768001,"66":25973,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506816768001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:17:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:17:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506816768001,"power":25973,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":158059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:17:05] local.INFO: GPS data processed {"connection_id":158059,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:17:05] local.INFO: Acknowledgment sent {"connection_id":158059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:17:08] local.INFO: TCP Data received {"connection_id":157701,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:17:08] local.INFO: Processing buffer {"connection_id":157701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:17:08] local.INFO: IMEI packet received {"connection_id":157701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":157701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:17:13] local.INFO: TCP Data received {"connection_id":157701,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:17:13] local.INFO: Processing buffer {"connection_id":157701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:17:13] local.INFO: IMEI packet received {"connection_id":157701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":157701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:17:14] local.INFO: TCP Data received {"connection_id":157701,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199efd08012d132740071ca278005100592c..."} 
[2026-08-19 16:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199efd08012d132740071ca278005100592c..."} 
[2026-08-19 16:17:14] local.INFO: Processing buffer {"connection_id":157701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199efd08012d132740071ca278005100592c..."} 
[2026-08-19 16:17:14] local.INFO: Packet analysis {"connection_id":157701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199e"} 
[2026-08-19 16:17:14] local.INFO: Extracted packet for processing {"connection_id":157701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199e"} 
[2026-08-19 16:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756229952,"raw_latitude":119317112,"longitude_deg":75.6229952,"latitude_deg":11.9317112,"altitude":81,"angle":89,"satellites":44,"speed":40,"hex_longitude":"2d132740","hex_latitude":"071ca278","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506875392001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13846570835378176,"note":"Value kept but may cause issues"} 
[2026-08-19 16:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1369657267219105792,"note":"Value kept but may cause issues"} 
[2026-08-19 16:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787136245000,"timestamp_ms":1787136245000,"timestamp_seconds":1787136245,"priority":1,"record_length":96,"hex_timestamp":"000001a0199efd08"} 
[2026-08-19 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-08-19 16:17:14] 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-08-19 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-19 16:17:14] 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-08-19 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-08-19 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-08-19 16:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506875392001,"66":13091,"183":206,"83":41984,"24":40,"16":13846570835378176,"45":1369657267219105792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,45]} 
[2026-08-19 16:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506875392001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:17:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-19 16:17:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13846570835378176,"km_value":13846570835378.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1369657267219105792,"description":"Unknown IO ID 45"} 
[2026-08-19 16:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506875392001,"power":13091,"unknown_183":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1369657267219105792}} 
[2026-08-19 16:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":157701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:17:14] local.INFO: GPS data processed {"connection_id":157701,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:17:14] local.INFO: Acknowledgment sent {"connection_id":157701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:17:14] local.INFO: TCP Data received {"connection_id":158058,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019a058b0012d7acdc005e40fe8000a008a23..."} 
[2026-08-19 16:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a058b0012d7acdc005e40fe8000a008a23..."} 
[2026-08-19 16:17:14] local.INFO: Processing buffer {"connection_id":158058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a058b0012d7acdc005e40fe8000a008a23..."} 
[2026-08-19 16:17:14] local.INFO: Packet analysis {"connection_id":158058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a0"} 
[2026-08-19 16:17:14] local.INFO: Extracted packet for processing {"connection_id":158058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a0"} 
[2026-08-19 16:17:14] local.INFO: GPS Element Parsed {"raw_longitude":763022784,"raw_latitude":98832360,"longitude_deg":76.3022784,"latitude_deg":9.883236,"altitude":10,"angle":138,"satellites":35,"speed":12,"hex_longitude":"2d7acdc0","hex_latitude":"05e40fe8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506900992001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120772496088629248,"note":"Value kept but may cause issues"} 
[2026-08-19 16:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848447393177348096,"note":"Value kept but may cause issues"} 
[2026-08-19 16:17: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-08-19 16:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787136334000,"timestamp_ms":1787136334000,"timestamp_seconds":1787136334,"priority":1,"record_length":96,"hex_timestamp":"000001a019a058b0"} 
[2026-08-19 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-08-19 16:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 16:17:14] 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-08-19 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-08-19 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-08-19 16:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158058,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:17:14] 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-08-19 16:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506900992001,"66":13102,"208":206,"85":15104,"24":12,"16":120772496088629248,"45":8848447393177348096},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506900992001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:17:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:17:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120772496088629248,"km_value":120772496088629.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848447393177348096,"description":"Unknown IO ID 45"} 
[2026-08-19 16:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506900992001,"power":13102,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8848447393177348096}} 
[2026-08-19 16:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":158058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:17:14] local.INFO: GPS data processed {"connection_id":158058,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:17:14] local.INFO: Acknowledgment sent {"connection_id":158058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:17:35] local.INFO: TCP Data received {"connection_id":157702,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:17:35] local.INFO: Processing buffer {"connection_id":157702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:17:35] local.INFO: IMEI packet received {"connection_id":157702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":157702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:17:36] local.INFO: TCP Data received {"connection_id":158059,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:17:36] local.INFO: Processing buffer {"connection_id":158059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:17:36] local.INFO: Packet analysis {"connection_id":158059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:17:36] local.INFO: Extracted packet for processing {"connection_id":158059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:17:36] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506816768001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:17:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787136304000,"timestamp_ms":1787136304000,"timestamp_seconds":1787136304,"priority":1,"record_length":96,"hex_timestamp":"000001a0199fe380"} 
[2026-08-19 16:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 16:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506816768001,"66":25973,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506816768001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:17:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:17:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506816768001,"power":25973,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":158059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:17:36] local.INFO: GPS data processed {"connection_id":158059,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:17:36] local.INFO: Acknowledgment sent {"connection_id":158059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:17:40] local.INFO: TCP Data received {"connection_id":157702,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:17:40] local.INFO: Processing buffer {"connection_id":157702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:17:40] local.INFO: IMEI packet received {"connection_id":157702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":157702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:17:42] local.INFO: TCP Data received {"connection_id":157702,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019a06080012d7acf8005e40d00000a009d27..."} 
[2026-08-19 16:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a06080012d7acf8005e40d00000a009d27..."} 
[2026-08-19 16:17:42] local.INFO: Processing buffer {"connection_id":157702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a06080012d7acf8005e40d00000a009d27..."} 
[2026-08-19 16:17:42] local.INFO: Packet analysis {"connection_id":157702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a0"} 
[2026-08-19 16:17:42] local.INFO: Extracted packet for processing {"connection_id":157702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a0"} 
[2026-08-19 16:17:42] local.INFO: GPS Element Parsed {"raw_longitude":763023232,"raw_latitude":98831616,"longitude_deg":76.3023232,"latitude_deg":9.8831616,"altitude":10,"angle":157,"satellites":39,"speed":20,"hex_longitude":"2d7acf80","hex_latitude":"05e40d00","is_valid_coordinates":true} 
[2026-08-19 16:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506901504001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120772539038302208,"note":"Value kept but may cause issues"} 
[2026-08-19 16:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848939974386509824,"note":"Value kept but may cause issues"} 
[2026-08-19 16:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787136336000,"timestamp_ms":1787136336000,"timestamp_seconds":1787136336,"priority":1,"record_length":96,"hex_timestamp":"000001a019a06080"} 
[2026-08-19 16:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:17:42] 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-08-19 16:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 16:17:42] 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-08-19 16:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:17:42] 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-08-19 16:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506901504001,"66":13222,"208":206,"85":15104,"24":20,"16":120772539038302208,"45":8848939974386509824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506901504001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:17:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120772539038302208,"km_value":120772539038302.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848939974386509824,"description":"Unknown IO ID 45"} 
[2026-08-19 16:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506901504001,"power":13222,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8848939974386509824}} 
[2026-08-19 16:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":157702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:17:42] local.INFO: GPS data processed {"connection_id":157702,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:17:42] local.INFO: Acknowledgment sent {"connection_id":157702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:17:45] local.INFO: TCP Data received {"connection_id":157701,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199f2030012d134cc0071ca3a0004d00572d..."} 
[2026-08-19 16:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199f2030012d134cc0071ca3a0004d00572d..."} 
[2026-08-19 16:17:45] local.INFO: Processing buffer {"connection_id":157701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199f2030012d134cc0071ca3a0004d00572d..."} 
[2026-08-19 16:17:45] local.INFO: Packet analysis {"connection_id":157701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:17:45] local.INFO: Extracted packet for processing {"connection_id":157701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756239552,"raw_latitude":119317408,"longitude_deg":75.6239552,"latitude_deg":11.9317408,"altitude":77,"angle":87,"satellites":45,"speed":35,"hex_longitude":"2d134cc0","hex_latitude":"071ca3a0","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506878720001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13847026101911552,"note":"Value kept but may cause issues"} 
[2026-08-19 16:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1380142210101704704,"note":"Value kept but may cause issues"} 
[2026-08-19 16:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787136254000,"timestamp_ms":1787136254000,"timestamp_seconds":1787136254,"priority":1,"record_length":96,"hex_timestamp":"000001a0199f2030"} 
[2026-08-19 16:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:17:45] 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-08-19 16: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 16:17:45] 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-08-19 16: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-08-19 16:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506878720001,"66":13820,"183":206,"83":41984,"24":35,"16":13847026101911552,"45":1380142210101704704},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,45]} 
[2026-08-19 16:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506878720001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:17:45] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-19 16:17:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13847026101911552,"km_value":13847026101911.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1380142210101704704,"description":"Unknown IO ID 45"} 
[2026-08-19 16:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506878720001,"power":13820,"unknown_183":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1380142210101704704}} 
[2026-08-19 16:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":157701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:17:45] local.INFO: GPS data processed {"connection_id":157701,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:17:45] local.INFO: Acknowledgment sent {"connection_id":157701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:18:02] local.INFO: TCP Data received {"connection_id":160243,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:18:02] local.INFO: Processing buffer {"connection_id":160243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:18:02] local.INFO: IMEI packet received {"connection_id":160243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":160243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:18:04] local.INFO: TCP Data received {"connection_id":160243,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:18:04] local.INFO: Processing buffer {"connection_id":160243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:18:04] local.INFO: IMEI packet received {"connection_id":160243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":160243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:18:05] local.INFO: TCP Data received {"connection_id":160243,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:18:05] local.INFO: Processing buffer {"connection_id":160243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:18:05] local.INFO: Packet analysis {"connection_id":160243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:18:05] local.INFO: Extracted packet for processing {"connection_id":160243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:18:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506816768001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787136304000,"timestamp_ms":1787136304000,"timestamp_seconds":1787136304,"priority":1,"record_length":96,"hex_timestamp":"000001a0199fe380"} 
[2026-08-19 16:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 16:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506816768001,"66":25973,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506816768001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:18:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:18:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506816768001,"power":25973,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":160243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:18:05] local.INFO: GPS data processed {"connection_id":160243,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:18:05] local.INFO: Acknowledgment sent {"connection_id":160243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:18:08] local.INFO: TCP Data received {"connection_id":158061,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:18:08] local.INFO: Processing buffer {"connection_id":158061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:18:08] local.INFO: IMEI packet received {"connection_id":158061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":158061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:18:10] local.INFO: TCP Data received {"connection_id":160243,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:18:10] local.INFO: Processing buffer {"connection_id":160243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:18:10] local.INFO: Packet analysis {"connection_id":160243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:18:10] local.INFO: Extracted packet for processing {"connection_id":160243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:18:10] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506816768001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787136304000,"timestamp_ms":1787136304000,"timestamp_seconds":1787136304,"priority":1,"record_length":96,"hex_timestamp":"000001a0199fe380"} 
[2026-08-19 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-08-19 16:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 16:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 16:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506816768001,"66":25973,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506816768001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:18:10] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506816768001,"power":25973,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":160243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:18:10] local.INFO: GPS data processed {"connection_id":160243,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:18:10] local.INFO: Acknowledgment sent {"connection_id":160243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:18:13] local.INFO: TCP Data received {"connection_id":157702,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019a24cb0012d7b15c005e305e0000a00b11e..."} 
[2026-08-19 16:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a24cb0012d7b15c005e305e0000a00b11e..."} 
[2026-08-19 16:18:13] local.INFO: Processing buffer {"connection_id":157702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a24cb0012d7b15c005e305e0000a00b11e..."} 
[2026-08-19 16:18:13] local.INFO: Packet analysis {"connection_id":157702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:18:13] local.INFO: Extracted packet for processing {"connection_id":157702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:18:13] local.INFO: GPS Element Parsed {"raw_longitude":763041216,"raw_latitude":98764256,"longitude_deg":76.3041216,"latitude_deg":9.8764256,"altitude":10,"angle":177,"satellites":30,"speed":19,"hex_longitude":"2d7b15c0","hex_latitude":"05e305e0","is_valid_coordinates":true} 
[2026-08-19 16:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506929920001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120775936357433344,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867306216601427968,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:13] 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-08-19 16:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787136462000,"timestamp_ms":1787136462000,"timestamp_seconds":1787136462,"priority":1,"record_length":96,"hex_timestamp":"000001a019a24cb0"} 
[2026-08-19 16:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:18: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-08-19 16:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 16:18:13] 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-08-19 16:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:18:13] 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-08-19 16:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506929920001,"66":13254,"208":206,"85":15104,"24":19,"16":120775936357433344,"45":8867306216601427968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506929920001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:18:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120775936357433344,"km_value":120775936357433.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867306216601427968,"description":"Unknown IO ID 45"} 
[2026-08-19 16:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506929920001,"power":13254,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8867306216601427968}} 
[2026-08-19 16:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":157702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:18:13] local.INFO: GPS data processed {"connection_id":157702,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:18:13] local.INFO: Acknowledgment sent {"connection_id":157702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:18:13] local.INFO: TCP Data received {"connection_id":158061,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:18:13] local.INFO: Processing buffer {"connection_id":158061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:18:13] local.INFO: IMEI packet received {"connection_id":158061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":158061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:18:14] local.INFO: TCP Data received {"connection_id":158061,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0199f33b8012d135980071ca448004a003f2b..."} 
[2026-08-19 16:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199f33b8012d135980071ca448004a003f2b..."} 
[2026-08-19 16:18:14] local.INFO: Processing buffer {"connection_id":158061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199f33b8012d135980071ca448004a003f2b..."} 
[2026-08-19 16:18:14] local.INFO: Packet analysis {"connection_id":158061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:18:14] local.INFO: Extracted packet for processing {"connection_id":158061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756242816,"raw_latitude":119317576,"longitude_deg":75.6242816,"latitude_deg":11.9317576,"altitude":74,"angle":63,"satellites":43,"speed":21,"hex_longitude":"2d135980","hex_latitude":"071ca448","is_valid_coordinates":true} 
[2026-08-19 16:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506881024001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13847180720734208,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1390697521728430080,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787136259000,"timestamp_ms":1787136259000,"timestamp_seconds":1787136259,"priority":1,"record_length":96,"hex_timestamp":"000001a0199f33b8"} 
[2026-08-19 16:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:18: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-08-19 16:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-19 16:18:14] 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-08-19 16:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506881024001,"66":13787,"183":206,"83":41984,"24":21,"16":13847180720734208,"45":1390697521728430080},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,45]} 
[2026-08-19 16:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506881024001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:18:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-19 16:18:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13847180720734208,"km_value":13847180720734.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1390697521728430080,"description":"Unknown IO ID 45"} 
[2026-08-19 16:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506881024001,"power":13787,"unknown_183":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1390697521728430080}} 
[2026-08-19 16:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":158061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:18:14] local.INFO: GPS data processed {"connection_id":158061,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:18:14] local.INFO: Acknowledgment sent {"connection_id":158061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:18:35] local.INFO: TCP Data received {"connection_id":158924,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:18:35] local.INFO: Processing buffer {"connection_id":158924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:18:35] local.INFO: IMEI packet received {"connection_id":158924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":158924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:18:38] local.INFO: TCP Data received {"connection_id":158924,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:18:38] local.INFO: Processing buffer {"connection_id":158924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:18:38] local.INFO: IMEI packet received {"connection_id":158924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":158924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:18:40] local.INFO: TCP Data received {"connection_id":158924,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:18:40] local.INFO: Processing buffer {"connection_id":158924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:18:40] local.INFO: IMEI packet received {"connection_id":158924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":158924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:18:40] local.INFO: TCP Data received {"connection_id":158924,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019a27b90012d7b1d8005e2e3e8000b00a917..."} 
[2026-08-19 16:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a27b90012d7b1d8005e2e3e8000b00a917..."} 
[2026-08-19 16:18:40] local.INFO: Processing buffer {"connection_id":158924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a27b90012d7b1d8005e2e3e8000b00a917..."} 
[2026-08-19 16:18:40] local.INFO: Packet analysis {"connection_id":158924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:18:40] local.INFO: Extracted packet for processing {"connection_id":158924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:18:40] local.INFO: GPS Element Parsed {"raw_longitude":763043200,"raw_latitude":98755560,"longitude_deg":76.30432,"latitude_deg":9.875556,"altitude":11,"angle":169,"satellites":23,"speed":34,"hex_longitude":"2d7b1d80","hex_latitude":"05e2e3e8","is_valid_coordinates":true} 
[2026-08-19 16:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506934272001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120776370149130240,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869206172692242432,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787136474000,"timestamp_ms":1787136474000,"timestamp_seconds":1787136474,"priority":1,"record_length":96,"hex_timestamp":"000001a019a27b90"} 
[2026-08-19 16:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-19 16:18:40] 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-08-19 16:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:18:40] 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-08-19 16:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506934272001,"66":13330,"208":206,"85":15104,"24":34,"16":120776370149130240,"45":8869206172692242432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506934272001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:18:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120776370149130240,"km_value":120776370149130.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869206172692242432,"description":"Unknown IO ID 45"} 
[2026-08-19 16:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506934272001,"power":13330,"unknown_208":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8869206172692242432}} 
[2026-08-19 16:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":158924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:18:40] local.INFO: GPS data processed {"connection_id":158924,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:18:40] local.INFO: Acknowledgment sent {"connection_id":158924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:18:42] local.INFO: TCP Data received {"connection_id":160243,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:18:42] local.INFO: Processing buffer {"connection_id":160243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:18:42] local.INFO: Packet analysis {"connection_id":160243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:18:42] local.INFO: Extracted packet for processing {"connection_id":160243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:18:42] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506816768001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787136304000,"timestamp_ms":1787136304000,"timestamp_seconds":1787136304,"priority":1,"record_length":96,"hex_timestamp":"000001a0199fe380"} 
[2026-08-19 16:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 16:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506816768001,"66":25973,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506816768001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:18:42] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506816768001,"power":25973,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":160243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:18:42] local.INFO: GPS data processed {"connection_id":160243,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:18:42] local.INFO: Acknowledgment sent {"connection_id":160243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:18:45] local.INFO: TCP Data received {"connection_id":158061,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a26038012d137c00071ce7a0004000092a..."} 
[2026-08-19 16:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a26038012d137c00071ce7a0004000092a..."} 
[2026-08-19 16:18:45] local.INFO: Processing buffer {"connection_id":158061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a26038012d137c00071ce7a0004000092a..."} 
[2026-08-19 16:18:45] local.INFO: Packet analysis {"connection_id":158061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:18:45] local.INFO: Extracted packet for processing {"connection_id":158061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:18:45] local.INFO: GPS Element Parsed {"raw_longitude":756251648,"raw_latitude":119334816,"longitude_deg":75.6251648,"latitude_deg":11.9334816,"altitude":64,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d137c00","hex_latitude":"071ce7a0","is_valid_coordinates":true} 
[2026-08-19 16:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506930176001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13848129908506624,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1403997214382465024,"note":"Value kept but may cause issues"} 
[2026-08-19 16:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787136467000,"timestamp_ms":1787136467000,"timestamp_seconds":1787136467,"priority":1,"record_length":96,"hex_timestamp":"000001a019a26038"} 
[2026-08-19 16:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:18: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-08-19 16:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-19 16:18:45] 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-08-19 16:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506930176001,"66":14135,"183":206,"83":41984,"24":0,"16":13848129908506624,"45":1403997214382465024},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,45]} 
[2026-08-19 16:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506930176001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:18:45] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-19 16:18:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13848129908506624,"km_value":13848129908506.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1403997214382465024,"description":"Unknown IO ID 45"} 
[2026-08-19 16:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506930176001,"power":14135,"unknown_183":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1403997214382465024}} 
[2026-08-19 16:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":158061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:18:45] local.INFO: GPS data processed {"connection_id":158061,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:18:45] local.INFO: Acknowledgment sent {"connection_id":158061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:18:59] local.INFO: TCP Data received {"connection_id":160244,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:18:59] local.INFO: Processing buffer {"connection_id":160244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:18:59] local.INFO: IMEI packet received {"connection_id":160244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":160244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:19:04] local.INFO: TCP Data received {"connection_id":160244,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:19:04] local.INFO: Processing buffer {"connection_id":160244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:19:04] local.INFO: IMEI packet received {"connection_id":160244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":160244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:19:06] local.INFO: TCP Data received {"connection_id":160244,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:19:06] local.INFO: Processing buffer {"connection_id":160244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:19:06] local.INFO: Packet analysis {"connection_id":160244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:19:06] local.INFO: Extracted packet for processing {"connection_id":160244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:19:06] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506816768001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787136304000,"timestamp_ms":1787136304000,"timestamp_seconds":1787136304,"priority":1,"record_length":96,"hex_timestamp":"000001a0199fe380"} 
[2026-08-19 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-08-19 16:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 16:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 16:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506816768001,"66":25973,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506816768001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:19:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:19:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506816768001,"power":25973,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":160244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:19:06] local.INFO: GPS data processed {"connection_id":160244,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:19:06] local.INFO: Acknowledgment sent {"connection_id":160244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:19:08] local.INFO: TCP Data received {"connection_id":158925,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:19:08] local.INFO: Processing buffer {"connection_id":158925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:19:08] local.INFO: IMEI packet received {"connection_id":158925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":158925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:19:12] local.INFO: TCP Data received {"connection_id":158924,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019a2a2a0012d7b228005e2bde0000c00ab19..."} 
[2026-08-19 16:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a2a2a0012d7b228005e2bde0000c00ab19..."} 
[2026-08-19 16:19:12] local.INFO: Processing buffer {"connection_id":158924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a2a2a0012d7b228005e2bde0000c00ab19..."} 
[2026-08-19 16:19:12] local.INFO: Packet analysis {"connection_id":158924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:19:12] local.INFO: Extracted packet for processing {"connection_id":158924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:19:12] local.INFO: GPS Element Parsed {"raw_longitude":763044480,"raw_latitude":98745824,"longitude_deg":76.304448,"latitude_deg":9.8745824,"altitude":12,"angle":171,"satellites":25,"speed":37,"hex_longitude":"2d7b2280","hex_latitude":"05e2bde0","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506937344001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120776846890500096,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871387603759523840,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19: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-08-19 16:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787136484000,"timestamp_ms":1787136484000,"timestamp_seconds":1787136484,"priority":1,"record_length":96,"hex_timestamp":"000001a019a2a2a0"} 
[2026-08-19 16:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:19: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-08-19 16: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-19 16:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:12] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3814840320,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:12] local.WARNING: Large IO value detected {"io_id":10,"raw_value":3221611333,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:12] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277195836632830488,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:12] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-8941897021478459392,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:12] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2715766785,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-19 16:19:12] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085599,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:12] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:12] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3424988811463360517,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:12] local.WARNING: Large IO value detected {"io_id":13,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:12] local.WARNING: Large IO value detected {"io_id":95,"raw_value":-3458537648363137024,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:12] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,208,85,24,241,157,16,21,160,76,45,192,5,10,30,66,36,12,35,20,235,1,240,254,227,25,4,113,205,180,184,34,239,50,2,173,9,133,161,13,95],"length":626,"final_offset":756,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-19 16:19:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792819450668777472,"timestamp_seconds":792819450668777.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 16:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:19:12] 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-08-19 16:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506937344001,"66":13048,"208":206,"85":15104,"24":37,"16":120776846890500096,"45":8871387603759523840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506937344001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:19:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120776846890500096,"km_value":120776846890500.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871387603759523840,"description":"Unknown IO ID 45"} 
[2026-08-19 16:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506937344001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8871387603759523840}} 
[2026-08-19 16:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":158924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:19:12] local.INFO: GPS data processed {"connection_id":158924,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:19:12] local.INFO: Acknowledgment sent {"connection_id":158924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:19:13] local.INFO: TCP Data received {"connection_id":158925,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:19:13] local.INFO: Processing buffer {"connection_id":158925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:19:13] local.INFO: IMEI packet received {"connection_id":158925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":158925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:19:14] local.INFO: TCP Data received {"connection_id":158925,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a28b30012d137c80071ce8b0003b00212a..."} 
[2026-08-19 16:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a28b30012d137c80071ce8b0003b00212a..."} 
[2026-08-19 16:19:14] local.INFO: Processing buffer {"connection_id":158925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a28b30012d137c80071ce8b0003b00212a..."} 
[2026-08-19 16:19:14] local.INFO: Packet analysis {"connection_id":158925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:19:14] local.INFO: Extracted packet for processing {"connection_id":158925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:19:14] local.INFO: GPS Element Parsed {"raw_longitude":756251776,"raw_latitude":119335088,"longitude_deg":75.6251776,"latitude_deg":11.9335088,"altitude":59,"angle":33,"satellites":42,"speed":8,"hex_longitude":"2d137c80","hex_latitude":"071ce8b0","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506935552001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13848147088375808,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1403997214382465024,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787136478000,"timestamp_ms":1787136478000,"timestamp_seconds":1787136478,"priority":1,"record_length":96,"hex_timestamp":"000001a019a28b30"} 
[2026-08-19 16:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:19:14] 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-08-19 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 16:19:14] 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-08-19 16: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-08-19 16:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506935552001,"66":14233,"183":206,"83":41984,"24":8,"16":13848147088375808,"45":1403997214382465024},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,45]} 
[2026-08-19 16:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506935552001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:19:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-19 16:19:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13848147088375808,"km_value":13848147088375.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1403997214382465024,"description":"Unknown IO ID 45"} 
[2026-08-19 16:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506935552001,"power":14233,"unknown_183":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1403997214382465024}} 
[2026-08-19 16:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":158925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:19:14] local.INFO: GPS data processed {"connection_id":158925,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:19:14] local.INFO: Acknowledgment sent {"connection_id":158925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:19:35] local.INFO: TCP Data received {"connection_id":157705,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:19:35] local.INFO: Processing buffer {"connection_id":157705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:19:35] local.INFO: IMEI packet received {"connection_id":157705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":157705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:19:35] local.INFO: TCP Data received {"connection_id":157705,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:19:35] local.INFO: Processing buffer {"connection_id":157705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:19:35] local.INFO: IMEI packet received {"connection_id":157705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":157705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:19:37] local.INFO: TCP Data received {"connection_id":160244,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:19:37] local.INFO: Processing buffer {"connection_id":160244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:19:37] local.INFO: Packet analysis {"connection_id":160244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:19:37] local.INFO: Extracted packet for processing {"connection_id":160244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506816768001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787136304000,"timestamp_ms":1787136304000,"timestamp_seconds":1787136304,"priority":1,"record_length":96,"hex_timestamp":"000001a0199fe380"} 
[2026-08-19 16:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 16:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506816768001,"66":25973,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506816768001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:19:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:19:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506816768001,"power":25973,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":160244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:19:37] local.INFO: GPS data processed {"connection_id":160244,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:19:37] local.INFO: Acknowledgment sent {"connection_id":160244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:19:40] local.INFO: TCP Data received {"connection_id":157705,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157705,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:19:40] local.INFO: Processing buffer {"connection_id":157705,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:19:40] local.INFO: IMEI packet received {"connection_id":157705,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":157705,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:19:42] local.INFO: TCP Data received {"connection_id":157705,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019a2c1e0012d7b248005e2a5e8000b009e1c..."} 
[2026-08-19 16:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a2c1e0012d7b248005e2a5e8000b009e1c..."} 
[2026-08-19 16:19:42] local.INFO: Processing buffer {"connection_id":157705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a2c1e0012d7b248005e2a5e8000b009e1c..."} 
[2026-08-19 16:19:42] local.INFO: Packet analysis {"connection_id":157705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:19:42] local.INFO: Extracted packet for processing {"connection_id":157705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:19:42] local.INFO: GPS Element Parsed {"raw_longitude":763044992,"raw_latitude":98739688,"longitude_deg":76.3044992,"latitude_deg":9.8739688,"altitude":11,"angle":158,"satellites":28,"speed":15,"hex_longitude":"2d7b2480","hex_latitude":"05e2a5e8","is_valid_coordinates":true} 
[2026-08-19 16:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506939904001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120777147538210816,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872794978640584704,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787136492000,"timestamp_ms":1787136492000,"timestamp_seconds":1787136492,"priority":1,"record_length":96,"hex_timestamp":"000001a019a2c1e0"} 
[2026-08-19 16:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 16:19: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-08-19 16:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:19:42] 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-08-19 16:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506939904001,"66":12374,"208":206,"85":15104,"24":15,"16":120777147538210816,"45":8872794978640584704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506939904001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:19:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120777147538210816,"km_value":120777147538210.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872794978640584704,"description":"Unknown IO ID 45"} 
[2026-08-19 16:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506939904001,"power":12374,"unknown_208":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8872794978640584704}} 
[2026-08-19 16:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":157705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:19:42] local.INFO: GPS data processed {"connection_id":157705,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:19:42] local.INFO: Acknowledgment sent {"connection_id":157705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:19:46] local.INFO: TCP Data received {"connection_id":158925,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a296e8012d137d80071ceb50003b001529..."} 
[2026-08-19 16:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a296e8012d137d80071ceb50003b001529..."} 
[2026-08-19 16:19:46] local.INFO: Processing buffer {"connection_id":158925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a296e8012d137d80071ceb50003b001529..."} 
[2026-08-19 16:19:46] local.INFO: Packet analysis {"connection_id":158925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:19:46] local.INFO: Extracted packet for processing {"connection_id":158925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756252032,"raw_latitude":119335760,"longitude_deg":75.6252032,"latitude_deg":11.933576,"altitude":59,"angle":21,"satellites":41,"speed":11,"hex_longitude":"2d137d80","hex_latitude":"071ceb50","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506938368001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13848181448114176,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1404137951870889984,"note":"Value kept but may cause issues"} 
[2026-08-19 16:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787136481000,"timestamp_ms":1787136481000,"timestamp_seconds":1787136481,"priority":1,"record_length":96,"hex_timestamp":"000001a019a296e8"} 
[2026-08-19 16:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:19: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-08-19 16: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-19 16:19:46] 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-08-19 16: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-08-19 16:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506938368001,"66":14135,"183":206,"83":41984,"24":11,"16":13848181448114176,"45":1404137951870889984},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,45]} 
[2026-08-19 16:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506938368001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:19:46] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-19 16:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13848181448114176,"km_value":13848181448114.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1404137951870889984,"description":"Unknown IO ID 45"} 
[2026-08-19 16:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506938368001,"power":14135,"unknown_183":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1404137951870889984}} 
[2026-08-19 16:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":158925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:19:46] local.INFO: GPS data processed {"connection_id":158925,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:19:46] local.INFO: Acknowledgment sent {"connection_id":158925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:19:59] local.INFO: TCP Data received {"connection_id":158926,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:19:59] local.INFO: Processing buffer {"connection_id":158926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:19:59] local.INFO: IMEI packet received {"connection_id":158926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":158926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:20:04] local.INFO: TCP Data received {"connection_id":158926,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:20:04] local.INFO: Processing buffer {"connection_id":158926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:20:04] local.INFO: IMEI packet received {"connection_id":158926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":158926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:20:06] local.INFO: TCP Data received {"connection_id":158926,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:20:06] local.INFO: Processing buffer {"connection_id":158926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:20:06] local.INFO: Packet analysis {"connection_id":158926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:20:06] local.INFO: Extracted packet for processing {"connection_id":158926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:20:06] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506816768001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:20:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787136304000,"timestamp_ms":1787136304000,"timestamp_seconds":1787136304,"priority":1,"record_length":96,"hex_timestamp":"000001a0199fe380"} 
[2026-08-19 16:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 16:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506816768001,"66":25973,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506816768001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:20:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:20:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506816768001,"power":25973,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":158926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:20:06] local.INFO: GPS data processed {"connection_id":158926,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:20:06] local.INFO: Acknowledgment sent {"connection_id":158926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:20:09] local.INFO: TCP Data received {"connection_id":160245,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:20:09] local.INFO: Processing buffer {"connection_id":160245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:20:09] local.INFO: IMEI packet received {"connection_id":160245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":160245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:20:13] local.INFO: TCP Data received {"connection_id":157705,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019a463d8012d7b07c005e31de8000300031c..."} 
[2026-08-19 16:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a463d8012d7b07c005e31de8000300031c..."} 
[2026-08-19 16:20:13] local.INFO: Processing buffer {"connection_id":157705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a463d8012d7b07c005e31de8000300031c..."} 
[2026-08-19 16:20:13] local.INFO: Packet analysis {"connection_id":157705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:20:13] local.INFO: Extracted packet for processing {"connection_id":157705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:20:13] local.INFO: GPS Element Parsed {"raw_longitude":763037632,"raw_latitude":98770408,"longitude_deg":76.3037632,"latitude_deg":9.8770408,"altitude":3,"angle":3,"satellites":28,"speed":13,"hex_longitude":"2d7b07c0","hex_latitude":"05e31de8","is_valid_coordinates":true} 
[2026-08-19 16:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506967808001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120779307906760704,"note":"Value kept but may cause issues"} 
[2026-08-19 16:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865476629251962880,"note":"Value kept but may cause issues"} 
[2026-08-19 16:20:13] 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-08-19 16:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787136599000,"timestamp_ms":1787136599000,"timestamp_seconds":1787136599,"priority":1,"record_length":96,"hex_timestamp":"000001a019a463d8"} 
[2026-08-19 16:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:20: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-08-19 16:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-19 16:20:13] 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-08-19 16:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157705,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:20:13] 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-08-19 16:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506967808001,"66":13559,"208":206,"85":15104,"24":13,"16":120779307906760704,"45":8865476629251962880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506967808001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:20:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120779307906760704,"km_value":120779307906760.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865476629251962880,"description":"Unknown IO ID 45"} 
[2026-08-19 16:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506967808001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8865476629251962880}} 
[2026-08-19 16:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":157705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:20:13] local.INFO: GPS data processed {"connection_id":157705,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:20:13] local.INFO: Acknowledgment sent {"connection_id":157705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:20:13] local.INFO: TCP Data received {"connection_id":160245,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:20:13] local.INFO: Processing buffer {"connection_id":160245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:20:13] local.INFO: IMEI packet received {"connection_id":160245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":160245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:20:14] local.INFO: TCP Data received {"connection_id":160245,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a2d568012d138c40071d0d680038001a2a..."} 
[2026-08-19 16:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a2d568012d138c40071d0d680038001a2a..."} 
[2026-08-19 16:20:14] local.INFO: Processing buffer {"connection_id":160245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a2d568012d138c40071d0d680038001a2a..."} 
[2026-08-19 16:20:14] local.INFO: Packet analysis {"connection_id":160245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:20:14] local.INFO: Extracted packet for processing {"connection_id":160245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756255808,"raw_latitude":119344488,"longitude_deg":75.6255808,"latitude_deg":11.9344488,"altitude":56,"angle":26,"satellites":42,"speed":37,"hex_longitude":"2d138c40","hex_latitude":"071d0d68","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506939136001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13848641009614848,"note":"Value kept but may cause issues"} 
[2026-08-19 16:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1404419426847772672,"note":"Value kept but may cause issues"} 
[2026-08-19 16:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787136497000,"timestamp_ms":1787136497000,"timestamp_seconds":1787136497,"priority":1,"record_length":96,"hex_timestamp":"000001a019a2d568"} 
[2026-08-19 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-08-19 16:20: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-08-19 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 16:20:14] 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-08-19 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-08-19 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-08-19 16:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506939136001,"66":13961,"183":206,"83":41984,"24":37,"16":13848641009614848,"45":1404419426847772672},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,45]} 
[2026-08-19 16:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506939136001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:20:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-19 16:20:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13848641009614848,"km_value":13848641009614.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1404419426847772672,"description":"Unknown IO ID 45"} 
[2026-08-19 16:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506939136001,"power":13961,"unknown_183":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1404419426847772672}} 
[2026-08-19 16:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":160245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:20:14] local.INFO: GPS data processed {"connection_id":160245,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:20:14] local.INFO: Acknowledgment sent {"connection_id":160245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:20:37] local.INFO: TCP Data received {"connection_id":158926,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:20:37] local.INFO: Processing buffer {"connection_id":158926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0199fe380012ceb4ac00713cf800015007127..."} 
[2026-08-19 16:20:37] local.INFO: Packet analysis {"connection_id":158926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:20:37] local.INFO: Extracted packet for processing {"connection_id":158926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0199f"} 
[2026-08-19 16:20:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506816768001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:20:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787136304000,"timestamp_ms":1787136304000,"timestamp_seconds":1787136304,"priority":1,"record_length":96,"hex_timestamp":"000001a0199fe380"} 
[2026-08-19 16:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 16:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506816768001,"66":25973,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506816768001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:20:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:20:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506816768001,"power":25973,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":158926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:20:37] local.INFO: GPS data processed {"connection_id":158926,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:20:37] local.INFO: Acknowledgment sent {"connection_id":158926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:20:38] local.INFO: TCP Data received {"connection_id":158062,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:20:38] local.INFO: Processing buffer {"connection_id":158062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:20:38] local.INFO: IMEI packet received {"connection_id":158062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":158062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:20:40] local.INFO: TCP Data received {"connection_id":158062,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:20:40] local.INFO: Processing buffer {"connection_id":158062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:20:40] local.INFO: IMEI packet received {"connection_id":158062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":158062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:20:45] local.INFO: TCP Data received {"connection_id":158062,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:20:45] local.INFO: Processing buffer {"connection_id":158062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:20:45] local.INFO: IMEI packet received {"connection_id":158062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":158062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:20:45] local.INFO: TCP Data received {"connection_id":160245,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a2f890012d139bc0071d2e380037000d2a..."} 
[2026-08-19 16:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a2f890012d139bc0071d2e380037000d2a..."} 
[2026-08-19 16:20:45] local.INFO: Processing buffer {"connection_id":160245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a2f890012d139bc0071d2e380037000d2a..."} 
[2026-08-19 16:20:45] local.INFO: Packet analysis {"connection_id":160245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:20:45] local.INFO: Extracted packet for processing {"connection_id":160245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:20:45] local.INFO: GPS Element Parsed {"raw_longitude":756259776,"raw_latitude":119352888,"longitude_deg":75.6259776,"latitude_deg":11.9352888,"altitude":55,"angle":13,"satellites":42,"speed":44,"hex_longitude":"2d139bc0","hex_latitude":"071d2e38","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506943232001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13849091981180928,"note":"Value kept but may cause issues"} 
[2026-08-19 16:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1408571182756489216,"note":"Value kept but may cause issues"} 
[2026-08-19 16:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787136506000,"timestamp_ms":1787136506000,"timestamp_seconds":1787136506,"priority":1,"record_length":96,"hex_timestamp":"000001a019a2f890"} 
[2026-08-19 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-08-19 16:20: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-08-19 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-19 16:20:45] 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-08-19 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-08-19 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-08-19 16:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506943232001,"66":14363,"183":206,"83":41984,"24":44,"16":13849091981180928,"45":1408571182756489216},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,45]} 
[2026-08-19 16:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506943232001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:20:45] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-19 16:20:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13849091981180928,"km_value":13849091981180.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1408571182756489216,"description":"Unknown IO ID 45"} 
[2026-08-19 16:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506943232001,"power":14363,"unknown_183":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1408571182756489216}} 
[2026-08-19 16:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":160245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:20:46] local.INFO: GPS data processed {"connection_id":160245,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:20:46] local.INFO: Acknowledgment sent {"connection_id":160245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:20:47] local.INFO: TCP Data received {"connection_id":158062,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019a47378012d7b074005e326400002015e1d..."} 
[2026-08-19 16:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a47378012d7b074005e326400002015e1d..."} 
[2026-08-19 16:20:47] local.INFO: Processing buffer {"connection_id":158062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a47378012d7b074005e326400002015e1d..."} 
[2026-08-19 16:20:47] local.INFO: Packet analysis {"connection_id":158062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:20:47] local.INFO: Extracted packet for processing {"connection_id":158062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:20:47] local.INFO: GPS Element Parsed {"raw_longitude":763037504,"raw_latitude":98772544,"longitude_deg":76.3037504,"latitude_deg":9.8772544,"altitude":2,"angle":350,"satellites":29,"speed":26,"hex_longitude":"2d7b0740","hex_latitude":"05e32640","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506969344001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120779410985975808,"note":"Value kept but may cause issues"} 
[2026-08-19 16:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865265523019868160,"note":"Value kept but may cause issues"} 
[2026-08-19 16:20:47] 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-08-19 16:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787136603000,"timestamp_ms":1787136603000,"timestamp_seconds":1787136603,"priority":1,"record_length":96,"hex_timestamp":"000001a019a47378"} 
[2026-08-19 16:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-19 16:20:47] 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-08-19 16: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-08-19 16:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:20:47] 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-08-19 16:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506969344001,"66":13222,"208":206,"85":15104,"24":26,"16":120779410985975808,"45":8865265523019868160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506969344001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:20:47] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:20:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120779410985975808,"km_value":120779410985975.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865265523019868160,"description":"Unknown IO ID 45"} 
[2026-08-19 16:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506969344001,"power":13222,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8865265523019868160}} 
[2026-08-19 16:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":158062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:20:47] local.INFO: GPS data processed {"connection_id":158062,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:20:47] local.INFO: Acknowledgment sent {"connection_id":158062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:21:04] local.INFO: TCP Data received {"connection_id":158927,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:21:04] local.INFO: Processing buffer {"connection_id":158927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:21:04] local.INFO: IMEI packet received {"connection_id":158927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":158927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:21:08] local.INFO: TCP Data received {"connection_id":158063,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:21:08] local.INFO: Processing buffer {"connection_id":158063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:21:08] local.INFO: IMEI packet received {"connection_id":158063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":158063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:21:09] local.INFO: TCP Data received {"connection_id":158063,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:21:09] local.INFO: Processing buffer {"connection_id":158063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:21:09] local.INFO: IMEI packet received {"connection_id":158063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":158063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:21:09] local.INFO: TCP Data received {"connection_id":158927,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:21:09] local.INFO: Processing buffer {"connection_id":158927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:21:09] local.INFO: IMEI packet received {"connection_id":158927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":158927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:21:10] local.INFO: TCP Data received {"connection_id":158927,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:21:10] local.INFO: Processing buffer {"connection_id":158927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:21:10] local.INFO: Packet analysis {"connection_id":158927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:21:10] local.INFO: Extracted packet for processing {"connection_id":158927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:21:10] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506893824001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787136605000,"timestamp_ms":1787136605000,"timestamp_seconds":1787136605,"priority":1,"record_length":96,"hex_timestamp":"000001a019a47b48"} 
[2026-08-19 16:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 16:21:10] 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-08-19 16: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-08-19 16:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506893824001,"66":25875,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506893824001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:21:10] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506893824001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":158927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:21:10] local.INFO: GPS data processed {"connection_id":158927,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:21:10] local.INFO: Acknowledgment sent {"connection_id":158927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:21:13] local.INFO: TCP Data received {"connection_id":158063,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:21:13] local.INFO: Processing buffer {"connection_id":158063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:21:13] local.INFO: IMEI packet received {"connection_id":158063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":158063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:21:14] local.INFO: TCP Data received {"connection_id":158063,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a2f890012d139bc0071d2e380037000d2a..."} 
[2026-08-19 16:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a2f890012d139bc0071d2e380037000d2a..."} 
[2026-08-19 16:21:14] local.INFO: Processing buffer {"connection_id":158063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a2f890012d139bc0071d2e380037000d2a..."} 
[2026-08-19 16:21:14] local.INFO: Packet analysis {"connection_id":158063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:21:14] local.INFO: Extracted packet for processing {"connection_id":158063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a2"} 
[2026-08-19 16:21:14] local.INFO: GPS Element Parsed {"raw_longitude":756259776,"raw_latitude":119352888,"longitude_deg":75.6259776,"latitude_deg":11.9352888,"altitude":55,"angle":13,"satellites":42,"speed":44,"hex_longitude":"2d139bc0","hex_latitude":"071d2e38","is_valid_coordinates":true} 
[2026-08-19 16:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506945536001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13849091981180928,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1412934044897654784,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787136506000,"timestamp_ms":1787136506000,"timestamp_seconds":1787136506,"priority":1,"record_length":96,"hex_timestamp":"000001a019a2f890"} 
[2026-08-19 16:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:21:14] 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-08-19 16:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 16:21:14] 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-08-19 16:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506945536001,"66":14363,"183":206,"83":41984,"24":44,"16":13849091981180928,"45":1412934044897654784},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,45]} 
[2026-08-19 16:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506945536001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:21:14] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-19 16:21:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13849091981180928,"km_value":13849091981180.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1412934044897654784,"description":"Unknown IO ID 45"} 
[2026-08-19 16:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506945536001,"power":14363,"unknown_183":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1412934044897654784}} 
[2026-08-19 16:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":158063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:21:14] local.INFO: GPS data processed {"connection_id":158063,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:21:14] local.INFO: Acknowledgment sent {"connection_id":158063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:21:19] local.INFO: TCP Data received {"connection_id":158062,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019a48ae8012d7b068005e33a68000300011b..."} 
[2026-08-19 16:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a48ae8012d7b068005e33a68000300011b..."} 
[2026-08-19 16:21:19] local.INFO: Processing buffer {"connection_id":158062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a48ae8012d7b068005e33a68000300011b..."} 
[2026-08-19 16:21:19] local.INFO: Packet analysis {"connection_id":158062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:21:19] local.INFO: Extracted packet for processing {"connection_id":158062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:21:19] local.INFO: GPS Element Parsed {"raw_longitude":763037312,"raw_latitude":98777704,"longitude_deg":76.3037312,"latitude_deg":9.8777704,"altitude":3,"angle":1,"satellites":27,"speed":31,"hex_longitude":"2d7b0680","hex_latitude":"05e33a68","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506970368001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120779664389046272,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865124785532059648,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21: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-08-19 16:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787136609000,"timestamp_ms":1787136609000,"timestamp_seconds":1787136609,"priority":1,"record_length":96,"hex_timestamp":"000001a019a48ae8"} 
[2026-08-19 16:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 16:21:19] 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-08-19 16: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-08-19 16:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:21:19] 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-08-19 16:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506970368001,"66":13363,"208":206,"85":15104,"24":31,"16":120779664389046272,"45":8865124785532059648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506970368001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:21:19] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:21:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120779664389046272,"km_value":120779664389046.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865124785532059648,"description":"Unknown IO ID 45"} 
[2026-08-19 16:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506970368001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8865124785532059648}} 
[2026-08-19 16:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":158062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:21:19] local.INFO: GPS data processed {"connection_id":158062,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:21:19] local.INFO: Acknowledgment sent {"connection_id":158062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:21:35] local.INFO: TCP Data received {"connection_id":157706,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:21:35] local.INFO: Processing buffer {"connection_id":157706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:21:35] local.INFO: IMEI packet received {"connection_id":157706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":157706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:21:39] local.INFO: TCP Data received {"connection_id":157706,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:21:39] local.INFO: Processing buffer {"connection_id":157706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:21:39] local.INFO: IMEI packet received {"connection_id":157706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":157706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:21:40] local.INFO: TCP Data received {"connection_id":157706,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:21:40] local.INFO: Processing buffer {"connection_id":157706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:21:40] local.INFO: IMEI packet received {"connection_id":157706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":157706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:21:41] local.INFO: TCP Data received {"connection_id":157706,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019a496a0012d7b060005e345100004015c1e..."} 
[2026-08-19 16:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a496a0012d7b060005e345100004015c1e..."} 
[2026-08-19 16:21:41] local.INFO: Processing buffer {"connection_id":157706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a496a0012d7b060005e345100004015c1e..."} 
[2026-08-19 16:21:41] local.INFO: Packet analysis {"connection_id":157706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:21:41] local.INFO: Extracted packet for processing {"connection_id":157706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:21:41] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98780432,"longitude_deg":76.3037184,"latitude_deg":9.8780432,"altitude":4,"angle":348,"satellites":30,"speed":33,"hex_longitude":"2d7b0600","hex_latitude":"05e34510","is_valid_coordinates":true} 
[2026-08-19 16:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506971904001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120779793238065152,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864913679300847616,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787136612000,"timestamp_ms":1787136612000,"timestamp_seconds":1787136612,"priority":1,"record_length":96,"hex_timestamp":"000001a019a496a0"} 
[2026-08-19 16:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 16:21:41] 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-08-19 16:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:21:41] 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-08-19 16:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506971904001,"66":13602,"208":206,"85":15104,"24":33,"16":120779793238065152,"45":8864913679300847616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506971904001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:21:41] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120779793238065152,"km_value":120779793238065.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864913679300847616,"description":"Unknown IO ID 45"} 
[2026-08-19 16:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506971904001,"power":13602,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8864913679300847616}} 
[2026-08-19 16:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":157706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:21:41] local.INFO: GPS data processed {"connection_id":157706,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:21:41] local.INFO: Acknowledgment sent {"connection_id":157706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:21:41] local.INFO: TCP Data received {"connection_id":158064,"ip":"117.225.194.99","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158064,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:21:41] local.INFO: Processing buffer {"connection_id":158064,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:21:41] local.INFO: IMEI packet received {"connection_id":158064,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":158064,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:21:42] local.INFO: TCP Data received {"connection_id":158927,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:21:42] local.INFO: Processing buffer {"connection_id":158927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:21:42] local.INFO: Packet analysis {"connection_id":158927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:21:42] local.INFO: Extracted packet for processing {"connection_id":158927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:21:42] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506893824001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787136605000,"timestamp_ms":1787136605000,"timestamp_seconds":1787136605,"priority":1,"record_length":96,"hex_timestamp":"000001a019a47b48"} 
[2026-08-19 16:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 16:21:42] 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-08-19 16:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506893824001,"66":25875,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506893824001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:21:42] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:21:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506893824001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":158927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:21:42] local.INFO: GPS data processed {"connection_id":158927,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:21:42] local.INFO: Acknowledgment sent {"connection_id":158927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:21:42] local.INFO: TCP Data received {"connection_id":158064,"ip":"117.225.194.99","data_length":795,"data_hex":"000000000000030f8e0a000001a019a5bf80012d0dbe8007067ef8001e003d2a..."} 
[2026-08-19 16:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a5bf80012d0dbe8007067ef8001e003d2a..."} 
[2026-08-19 16:21:42] local.INFO: Processing buffer {"connection_id":158064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a5bf80012d0dbe8007067ef8001e003d2a..."} 
[2026-08-19 16:21:42] local.INFO: Packet analysis {"connection_id":158064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a5"} 
[2026-08-19 16:21:42] local.INFO: Extracted packet for processing {"connection_id":158064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a5"} 
[2026-08-19 16:21:42] local.INFO: GPS Element Parsed {"raw_longitude":755875456,"raw_latitude":117866232,"longitude_deg":75.5875456,"latitude_deg":11.7866232,"altitude":30,"angle":61,"satellites":42,"speed":19,"hex_longitude":"2d0dbe80","hex_latitude":"07067ef8","is_valid_coordinates":true} 
[2026-08-19 16:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506991872001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28917323314233344,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":989947523265048576,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787136688000,"timestamp_ms":1787136688000,"timestamp_seconds":1787136688,"priority":1,"record_length":96,"hex_timestamp":"000001a019a5bf80"} 
[2026-08-19 16:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:21: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-08-19 16:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-19 16:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.194.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506991872001,"66":13798,"220":206,"28":32256,"24":19,"16":28917323314233344,"45":989947523265048576},"client_ip":"117.225.194.99","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-19 16:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506991872001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:21:42] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-19 16:21:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28917323314233344,"km_value":28917323314233.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":989947523265048576,"description":"Unknown IO ID 45"} 
[2026-08-19 16:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506991872001,"power":13798,"unknown_220":206,"unknown_28":32256,"ignition":19,"odometer":null,"unknown_45":989947523265048576}} 
[2026-08-19 16:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":158064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665645,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:21:43] local.INFO: GPS data processed {"connection_id":158064,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:21:43] local.INFO: Acknowledgment sent {"connection_id":158064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:21:45] local.INFO: TCP Data received {"connection_id":158063,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a31bb8012d13a5c0071d52500035001228..."} 
[2026-08-19 16:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a31bb8012d13a5c0071d52500035001228..."} 
[2026-08-19 16:21:45] local.INFO: Processing buffer {"connection_id":158063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a31bb8012d13a5c0071d52500035001228..."} 
[2026-08-19 16:21:45] local.INFO: Packet analysis {"connection_id":158063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a3"} 
[2026-08-19 16:21:45] local.INFO: Extracted packet for processing {"connection_id":158063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a3"} 
[2026-08-19 16:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756262336,"raw_latitude":119362128,"longitude_deg":75.6262336,"latitude_deg":11.9362128,"altitude":53,"angle":18,"satellites":40,"speed":40,"hex_longitude":"2d13a5c0","hex_latitude":"071d5250","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506945536001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13849555837648896,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1412934044897654784,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787136515000,"timestamp_ms":1787136515000,"timestamp_seconds":1787136515,"priority":1,"record_length":96,"hex_timestamp":"000001a019a31bb8"} 
[2026-08-19 16:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:21:45] 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-08-19 16: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 16:21:45] 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-08-19 16: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-08-19 16:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506945536001,"66":14265,"183":206,"83":41984,"24":40,"16":13849555837648896,"45":1412934044897654784},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,45]} 
[2026-08-19 16:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506945536001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:21:45] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-19 16:21:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13849555837648896,"km_value":13849555837648.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1412934044897654784,"description":"Unknown IO ID 45"} 
[2026-08-19 16:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506945536001,"power":14265,"unknown_183":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1412934044897654784}} 
[2026-08-19 16:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":158063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:21:45] local.INFO: GPS data processed {"connection_id":158063,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:21:45] local.INFO: Acknowledgment sent {"connection_id":158063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:21:46] local.INFO: TCP Data received {"connection_id":157706,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019a4bdb0012d7afb0005e369800007015827..."} 
[2026-08-19 16:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a4bdb0012d7afb0005e369800007015827..."} 
[2026-08-19 16:21:46] local.INFO: Processing buffer {"connection_id":157706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a4bdb0012d7afb0005e369800007015827..."} 
[2026-08-19 16:21:46] local.INFO: Packet analysis {"connection_id":157706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:21:46] local.INFO: Extracted packet for processing {"connection_id":157706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:21:46] local.INFO: GPS Element Parsed {"raw_longitude":763034368,"raw_latitude":98789760,"longitude_deg":76.3034368,"latitude_deg":9.878976,"altitude":7,"angle":344,"satellites":39,"speed":41,"hex_longitude":"2d7afb00","hex_latitude":"05e36980","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506972672001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120780269979435008,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941813190656,"note":"Value kept but may cause issues"} 
[2026-08-19 16:21: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-08-19 16:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787136622000,"timestamp_ms":1787136622000,"timestamp_seconds":1787136622,"priority":1,"record_length":96,"hex_timestamp":"000001a019a4bdb0"} 
[2026-08-19 16:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-19 16:21: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-08-19 16: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-08-19 16:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:21:46] 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-08-19 16:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506972672001,"66":13363,"208":206,"85":15104,"24":41,"16":120780269979435008,"45":8864772941813190656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506972672001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:21:46] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:21:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120780269979435008,"km_value":120780269979435.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941813190656,"description":"Unknown IO ID 45"} 
[2026-08-19 16:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506972672001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8864772941813190656}} 
[2026-08-19 16:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":157706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:21:46] local.INFO: GPS data processed {"connection_id":157706,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:21:46] local.INFO: Acknowledgment sent {"connection_id":157706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:21:59] local.INFO: TCP Data received {"connection_id":157707,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:21:59] local.INFO: Processing buffer {"connection_id":157707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:21:59] local.INFO: IMEI packet received {"connection_id":157707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":157707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:22:04] local.INFO: TCP Data received {"connection_id":157707,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:22:04] local.INFO: Processing buffer {"connection_id":157707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:22:04] local.INFO: IMEI packet received {"connection_id":157707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":157707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:22:06] local.INFO: TCP Data received {"connection_id":157707,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:22:06] local.INFO: Processing buffer {"connection_id":157707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:22:06] local.INFO: Packet analysis {"connection_id":157707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:22:06] local.INFO: Extracted packet for processing {"connection_id":157707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:22:06] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506893824001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787136605000,"timestamp_ms":1787136605000,"timestamp_seconds":1787136605,"priority":1,"record_length":96,"hex_timestamp":"000001a019a47b48"} 
[2026-08-19 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-08-19 16:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 16:22:06] 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-08-19 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-08-19 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-08-19 16:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506893824001,"66":25875,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506893824001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:22:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:22:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506893824001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":157707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:22:06] local.INFO: GPS data processed {"connection_id":157707,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:22:06] local.INFO: Acknowledgment sent {"connection_id":157707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:22:12] local.INFO: TCP Data received {"connection_id":160247,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:22:12] local.INFO: Processing buffer {"connection_id":160247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:22:12] local.INFO: IMEI packet received {"connection_id":160247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":160247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:22:13] local.INFO: TCP Data received {"connection_id":160247,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:22:13] local.INFO: Processing buffer {"connection_id":160247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:22:13] local.INFO: IMEI packet received {"connection_id":160247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":160247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:22:14] local.INFO: TCP Data received {"connection_id":158064,"ip":"117.225.194.99","data_length":795,"data_hex":"000000000000030f8e0a000001a019a63c80012d0dec400706a4c00022002925..."} 
[2026-08-19 16:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a63c80012d0dec400706a4c00022002925..."} 
[2026-08-19 16:22:14] local.INFO: Processing buffer {"connection_id":158064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a63c80012d0dec400706a4c00022002925..."} 
[2026-08-19 16:22:14] local.INFO: Packet analysis {"connection_id":158064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a6"} 
[2026-08-19 16:22:14] local.INFO: Extracted packet for processing {"connection_id":158064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a6"} 
[2026-08-19 16:22:14] local.INFO: GPS Element Parsed {"raw_longitude":755887168,"raw_latitude":117875904,"longitude_deg":75.5887168,"latitude_deg":11.7875904,"altitude":34,"angle":41,"satellites":37,"speed":17,"hex_longitude":"2d0dec40","hex_latitude":"0706a4c0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507000064001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28918216667430912,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1002895372196216832,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787136720000,"timestamp_ms":1787136720000,"timestamp_seconds":1787136720,"priority":1,"record_length":96,"hex_timestamp":"000001a019a63c80"} 
[2026-08-19 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-08-19 16:22: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-08-19 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 16:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 16:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.194.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507000064001,"66":14461,"220":206,"28":32256,"24":17,"16":28918216667430912,"45":1002895372196216832},"client_ip":"117.225.194.99","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-19 16:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507000064001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:22:14] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-19 16:22:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28918216667430912,"km_value":28918216667430.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1002895372196216832,"description":"Unknown IO ID 45"} 
[2026-08-19 16:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507000064001,"power":14461,"unknown_220":206,"unknown_28":32256,"ignition":17,"odometer":null,"unknown_45":1002895372196216832}} 
[2026-08-19 16:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":158064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665649,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:22:14] local.INFO: GPS data processed {"connection_id":158064,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:22:14] local.INFO: Acknowledgment sent {"connection_id":158064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:22:18] local.INFO: TCP Data received {"connection_id":160247,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:22:18] local.INFO: Processing buffer {"connection_id":160247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:22:18] local.INFO: IMEI packet received {"connection_id":160247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":160247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:22:19] local.INFO: TCP Data received {"connection_id":157706,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019a63c80012d7a634005e467d80009011328..."} 
[2026-08-19 16:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a63c80012d7a634005e467d80009011328..."} 
[2026-08-19 16:22:19] local.INFO: Processing buffer {"connection_id":157706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a63c80012d7a634005e467d80009011328..."} 
[2026-08-19 16:22:19] local.INFO: Packet analysis {"connection_id":157706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a6"} 
[2026-08-19 16:22:19] local.INFO: Extracted packet for processing {"connection_id":157706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a6"} 
[2026-08-19 16:22:19] local.INFO: GPS Element Parsed {"raw_longitude":762995520,"raw_latitude":98854872,"longitude_deg":76.299552,"latitude_deg":9.8854872,"altitude":9,"angle":275,"satellites":40,"speed":8,"hex_longitude":"2d7a6340","hex_latitude":"05e467d8","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506999808001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120784105385230336,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819455470581803008,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22: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-08-19 16:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787136720000,"timestamp_ms":1787136720000,"timestamp_seconds":1787136720,"priority":1,"record_length":96,"hex_timestamp":"000001a019a63c80"} 
[2026-08-19 16:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-19 16:22:19] 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-08-19 16: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-08-19 16:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:22:19] 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-08-19 16:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506999808001,"66":13091,"208":206,"85":15104,"24":8,"16":120784105385230336,"45":8819455470581803008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 16:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506999808001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:22:19] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 16:22:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120784105385230336,"km_value":120784105385230.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819455470581803008,"description":"Unknown IO ID 45"} 
[2026-08-19 16:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506999808001,"power":13091,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8819455470581803008}} 
[2026-08-19 16:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":157706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:22:19] local.INFO: GPS data processed {"connection_id":157706,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:22:19] local.INFO: Acknowledgment sent {"connection_id":157706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:22:19] local.INFO: TCP Data received {"connection_id":160247,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a52ef8012d13bf80071df2380034001c29..."} 
[2026-08-19 16:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a52ef8012d13bf80071df2380034001c29..."} 
[2026-08-19 16:22:19] local.INFO: Processing buffer {"connection_id":160247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a52ef8012d13bf80071df2380034001c29..."} 
[2026-08-19 16:22:19] local.INFO: Packet analysis {"connection_id":160247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a5"} 
[2026-08-19 16:22:19] local.INFO: Extracted packet for processing {"connection_id":160247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a5"} 
[2026-08-19 16:22:19] local.INFO: GPS Element Parsed {"raw_longitude":756268928,"raw_latitude":119403064,"longitude_deg":75.6268928,"latitude_deg":11.9403064,"altitude":52,"angle":28,"satellites":41,"speed":0,"hex_longitude":"2d13bf80","hex_latitude":"071df238","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506977280001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13851617421950976,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422996775327905792,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787136651000,"timestamp_ms":1787136651000,"timestamp_seconds":1787136651,"priority":1,"record_length":96,"hex_timestamp":"000001a019a52ef8"} 
[2026-08-19 16:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 16:22: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-08-19 16: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-08-19 16:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506977280001,"66":14396,"185":206,"83":41984,"24":0,"16":13851617421950976,"45":1422996775327905792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-08-19 16:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506977280001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:22:19] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-19 16:22:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13851617421950976,"km_value":13851617421950.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422996775327905792,"description":"Unknown IO ID 45"} 
[2026-08-19 16:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506977280001,"power":14396,"unknown_185":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1422996775327905792}} 
[2026-08-19 16:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":160247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:22:19] local.INFO: GPS data processed {"connection_id":160247,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:22:19] local.INFO: Acknowledgment sent {"connection_id":160247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:22:20] local.INFO: TCP Data received {"connection_id":160247,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a58100012d13bf80071df2380034001c2b..."} 
[2026-08-19 16:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a58100012d13bf80071df2380034001c2b..."} 
[2026-08-19 16:22:20] local.INFO: Processing buffer {"connection_id":160247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a58100012d13bf80071df2380034001c2b..."} 
[2026-08-19 16:22:20] local.INFO: Packet analysis {"connection_id":160247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a5"} 
[2026-08-19 16:22:20] local.INFO: Extracted packet for processing {"connection_id":160247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a5"} 
[2026-08-19 16:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756268928,"raw_latitude":119403064,"longitude_deg":75.6268928,"latitude_deg":11.9403064,"altitude":52,"angle":28,"satellites":43,"speed":0,"hex_longitude":"2d13bf80","hex_latitude":"071df238","is_valid_coordinates":true} 
[2026-08-19 16:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506982656001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13851617421950976,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422996775327905792,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787136672000,"timestamp_ms":1787136672000,"timestamp_seconds":1787136672,"priority":1,"record_length":96,"hex_timestamp":"000001a019a58100"} 
[2026-08-19 16:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:22: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-08-19 16:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 16:22: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-08-19 16:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506982656001,"66":14070,"185":206,"83":41984,"24":0,"16":13851617421950976,"45":1422996775327905792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-08-19 16:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506982656001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:22:20] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-19 16:22:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13851617421950976,"km_value":13851617421950.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422996775327905792,"description":"Unknown IO ID 45"} 
[2026-08-19 16:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506982656001,"power":14070,"unknown_185":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1422996775327905792}} 
[2026-08-19 16:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":160247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:22:20] local.INFO: GPS data processed {"connection_id":160247,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:22:20] local.INFO: Acknowledgment sent {"connection_id":160247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:22:38] local.INFO: TCP Data received {"connection_id":157707,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:22:38] local.INFO: Processing buffer {"connection_id":157707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:22:38] local.INFO: Packet analysis {"connection_id":157707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:22:38] local.INFO: Extracted packet for processing {"connection_id":157707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:22:38] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506893824001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787136605000,"timestamp_ms":1787136605000,"timestamp_seconds":1787136605,"priority":1,"record_length":96,"hex_timestamp":"000001a019a47b48"} 
[2026-08-19 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-08-19 16:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 16:22:38] 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-08-19 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-08-19 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-08-19 16:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506893824001,"66":25875,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506893824001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:22:38] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:22:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506893824001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":157707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:22:38] local.INFO: GPS data processed {"connection_id":157707,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:22:38] local.INFO: Acknowledgment sent {"connection_id":157707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:22:38] local.INFO: TCP Data received {"connection_id":158066,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:22:38] local.INFO: Processing buffer {"connection_id":158066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:22:38] local.INFO: IMEI packet received {"connection_id":158066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":158066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:22:38] local.INFO: TCP Data received {"connection_id":158065,"ip":"117.225.194.99","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158065,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:22:38] local.INFO: Processing buffer {"connection_id":158065,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:22:38] local.INFO: IMEI packet received {"connection_id":158065,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":158065,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:22:39] local.INFO: TCP Data received {"connection_id":158066,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:22:39] local.INFO: Processing buffer {"connection_id":158066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:22:39] local.INFO: IMEI packet received {"connection_id":158066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":158066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:22:40] local.INFO: TCP Data received {"connection_id":158066,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:22:40] local.INFO: Processing buffer {"connection_id":158066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:22:40] local.INFO: IMEI packet received {"connection_id":158066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":158066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:22:42] local.INFO: TCP Data received {"connection_id":158066,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:22:42] local.INFO: Processing buffer {"connection_id":158066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:22:42] local.INFO: IMEI packet received {"connection_id":158066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":158066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:22:42] local.INFO: TCP Data received {"connection_id":158065,"ip":"117.225.194.99","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158065,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:22:42] local.INFO: Processing buffer {"connection_id":158065,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:22:42] local.INFO: IMEI packet received {"connection_id":158065,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":158065,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:22:45] local.INFO: TCP Data received {"connection_id":158065,"ip":"117.225.194.99","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158065,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:22:45] local.INFO: Processing buffer {"connection_id":158065,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:22:45] local.INFO: IMEI packet received {"connection_id":158065,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":158065,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:22:46] local.INFO: TCP Data received {"connection_id":158065,"ip":"117.225.194.99","data_length":795,"data_hex":"000000000000030f8e0a000001a019a64068012d0decc00706a6000023001426..."} 
[2026-08-19 16:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a64068012d0decc00706a6000023001426..."} 
[2026-08-19 16:22:46] local.INFO: Processing buffer {"connection_id":158065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a64068012d0decc00706a6000023001426..."} 
[2026-08-19 16:22:46] local.INFO: Packet analysis {"connection_id":158065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a6"} 
[2026-08-19 16:22:46] local.INFO: Extracted packet for processing {"connection_id":158065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a6"} 
[2026-08-19 16:22:46] local.INFO: GPS Element Parsed {"raw_longitude":755887296,"raw_latitude":117876224,"longitude_deg":75.5887296,"latitude_deg":11.7876224,"altitude":35,"angle":20,"satellites":38,"speed":13,"hex_longitude":"2d0decc0","hex_latitude":"0706a600","is_valid_coordinates":true} 
[2026-08-19 16:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507000320001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28918233847300096,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1003247215917187072,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787136721000,"timestamp_ms":1787136721000,"timestamp_seconds":1787136721,"priority":1,"record_length":96,"hex_timestamp":"000001a019a64068"} 
[2026-08-19 16:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:22: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-08-19 16:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 16:22:46] 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-08-19 16:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.194.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507000320001,"66":14439,"220":206,"28":32256,"24":13,"16":28918233847300096,"45":1003247215917187072},"client_ip":"117.225.194.99","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-19 16:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507000320001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:22:46] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-19 16:22:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28918233847300096,"km_value":28918233847300.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1003247215917187072,"description":"Unknown IO ID 45"} 
[2026-08-19 16:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507000320001,"power":14439,"unknown_220":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_45":1003247215917187072}} 
[2026-08-19 16:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":158065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665654,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:22:46] local.INFO: GPS data processed {"connection_id":158065,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:22:46] local.INFO: Acknowledgment sent {"connection_id":158065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:22:47] local.INFO: TCP Data received {"connection_id":158065,"ip":"117.225.194.99","data_length":795,"data_hex":"000000000000030f8e0a000001a019a64450012d0decc00706a7300023016624..."} 
[2026-08-19 16:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a64450012d0decc00706a7300023016624..."} 
[2026-08-19 16:22:47] local.INFO: Processing buffer {"connection_id":158065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a64450012d0decc00706a7300023016624..."} 
[2026-08-19 16:22:47] local.INFO: Packet analysis {"connection_id":158065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a6"} 
[2026-08-19 16:22:47] local.INFO: Extracted packet for processing {"connection_id":158065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a6"} 
[2026-08-19 16:22:47] local.INFO: GPS Element Parsed {"raw_longitude":755887296,"raw_latitude":117876528,"longitude_deg":75.5887296,"latitude_deg":11.7876528,"altitude":35,"angle":358,"satellites":36,"speed":10,"hex_longitude":"2d0decc0","hex_latitude":"0706a730","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507000576001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28918251027169280,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1003387953405624320,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787136722000,"timestamp_ms":1787136722000,"timestamp_seconds":1787136722,"priority":1,"record_length":96,"hex_timestamp":"000001a019a64450"} 
[2026-08-19 16:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:22: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-08-19 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 16:22:47] 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-08-19 16: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-08-19 16:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.194.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507000576001,"66":14439,"220":206,"28":32256,"24":10,"16":28918251027169280,"45":1003387953405624320},"client_ip":"117.225.194.99","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-19 16:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507000576001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:22:47] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-19 16:22:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28918251027169280,"km_value":28918251027169.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1003387953405624320,"description":"Unknown IO ID 45"} 
[2026-08-19 16:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507000576001,"power":14439,"unknown_220":206,"unknown_28":32256,"ignition":10,"odometer":null,"unknown_45":1003387953405624320}} 
[2026-08-19 16:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":158065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665655,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:22:47] local.INFO: GPS data processed {"connection_id":158065,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:22:47] local.INFO: Acknowledgment sent {"connection_id":158065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:22:51] local.INFO: TCP Data received {"connection_id":160247,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a5d308012d13bf80071df2380034001c28..."} 
[2026-08-19 16:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a5d308012d13bf80071df2380034001c28..."} 
[2026-08-19 16:22:51] local.INFO: Processing buffer {"connection_id":160247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a5d308012d13bf80071df2380034001c28..."} 
[2026-08-19 16:22:51] local.INFO: Packet analysis {"connection_id":160247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a5"} 
[2026-08-19 16:22:51] local.INFO: Extracted packet for processing {"connection_id":160247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a5"} 
[2026-08-19 16:22:51] local.INFO: GPS Element Parsed {"raw_longitude":756268928,"raw_latitude":119403064,"longitude_deg":75.6268928,"latitude_deg":11.9403064,"altitude":52,"angle":28,"satellites":40,"speed":0,"hex_longitude":"2d13bf80","hex_latitude":"071df238","is_valid_coordinates":true} 
[2026-08-19 16:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506988032001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13851617421950976,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422996775327905792,"note":"Value kept but may cause issues"} 
[2026-08-19 16:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787136693000,"timestamp_ms":1787136693000,"timestamp_seconds":1787136693,"priority":1,"record_length":96,"hex_timestamp":"000001a019a5d308"} 
[2026-08-19 16:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-19 16:22:51] 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-08-19 16:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506988032001,"66":14330,"185":206,"83":41984,"24":0,"16":13851617421950976,"45":1422996775327905792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-08-19 16:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506988032001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:22:51] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-19 16:22:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13851617421950976,"km_value":13851617421950.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422996775327905792,"description":"Unknown IO ID 45"} 
[2026-08-19 16:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506988032001,"power":14330,"unknown_185":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1422996775327905792}} 
[2026-08-19 16:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":160247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:22:51] local.INFO: GPS data processed {"connection_id":160247,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:22:51] local.INFO: Acknowledgment sent {"connection_id":160247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:22:59] local.INFO: TCP Data received {"connection_id":160248,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:22:59] local.INFO: Processing buffer {"connection_id":160248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:22:59] local.INFO: IMEI packet received {"connection_id":160248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":160248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:23:04] local.INFO: TCP Data received {"connection_id":160248,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:23:04] local.INFO: Processing buffer {"connection_id":160248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:23:04] local.INFO: IMEI packet received {"connection_id":160248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":160248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:23:05] local.INFO: TCP Data received {"connection_id":160248,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:23:05] local.INFO: Processing buffer {"connection_id":160248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:23:05] local.INFO: Packet analysis {"connection_id":160248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:23:05] local.INFO: Extracted packet for processing {"connection_id":160248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:23:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506893824001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:23:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787136605000,"timestamp_ms":1787136605000,"timestamp_seconds":1787136605,"priority":1,"record_length":96,"hex_timestamp":"000001a019a47b48"} 
[2026-08-19 16:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 16:23:05] 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-08-19 16:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506893824001,"66":25875,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506893824001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:23:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:23:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506893824001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":160248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:23:05] local.INFO: GPS data processed {"connection_id":160248,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:23:05] local.INFO: Acknowledgment sent {"connection_id":160248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:23:05] local.INFO: TCP Data received {"connection_id":158928,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:23:05] local.INFO: Processing buffer {"connection_id":158928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:23:05] local.INFO: IMEI packet received {"connection_id":158928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":158928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:23:08] local.INFO: TCP Data received {"connection_id":158928,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:23:08] local.INFO: Processing buffer {"connection_id":158928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:23:08] local.INFO: IMEI packet received {"connection_id":158928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":158928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:23:19] local.INFO: TCP Data received {"connection_id":158065,"ip":"117.225.194.99","data_length":795,"data_hex":"000000000000030f8e0a000001a019a74238012d0dc9400706f2200026011825..."} 
[2026-08-19 16:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a74238012d0dc9400706f2200026011825..."} 
[2026-08-19 16:23:19] local.INFO: Processing buffer {"connection_id":158065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a74238012d0dc9400706f2200026011825..."} 
[2026-08-19 16:23:19] local.INFO: Packet analysis {"connection_id":158065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a7"} 
[2026-08-19 16:23:19] local.INFO: Extracted packet for processing {"connection_id":158065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a7"} 
[2026-08-19 16:23:19] local.INFO: GPS Element Parsed {"raw_longitude":755878208,"raw_latitude":117895712,"longitude_deg":75.5878208,"latitude_deg":11.7895712,"altitude":38,"angle":280,"satellites":37,"speed":11,"hex_longitude":"2d0dc940","hex_latitude":"0706f220","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507017216001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28919453618012160,"note":"Value kept but may cause issues"} 
[2026-08-19 16:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993677066714079232,"note":"Value kept but may cause issues"} 
[2026-08-19 16:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787136787000,"timestamp_ms":1787136787000,"timestamp_seconds":1787136787,"priority":1,"record_length":96,"hex_timestamp":"000001a019a74238"} 
[2026-08-19 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-08-19 16:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 16:23:19] 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-08-19 16: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-08-19 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-08-19 16:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.194.99","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507017216001,"66":14450,"220":206,"28":32256,"24":11,"16":28919453618012160,"45":993677066714079232},"client_ip":"117.225.194.99","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-19 16:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507017216001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:23:19] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-19 16:23:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28919453618012160,"km_value":28919453618012.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":993677066714079232,"description":"Unknown IO ID 45"} 
[2026-08-19 16:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507017216001,"power":14450,"unknown_220":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":993677066714079232}} 
[2026-08-19 16:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":158065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665658,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:23:19] local.INFO: GPS data processed {"connection_id":158065,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:23:19] local.INFO: Acknowledgment sent {"connection_id":158065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:23:19] local.INFO: TCP Data received {"connection_id":158928,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:23:19] local.INFO: Processing buffer {"connection_id":158928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:23:19] local.INFO: IMEI packet received {"connection_id":158928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":158928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:23:20] local.INFO: TCP Data received {"connection_id":158928,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a5f630012d13bf40071df2c00036002b28..."} 
[2026-08-19 16:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a5f630012d13bf40071df2c00036002b28..."} 
[2026-08-19 16:23:20] local.INFO: Processing buffer {"connection_id":158928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a5f630012d13bf40071df2c00036002b28..."} 
[2026-08-19 16:23:20] local.INFO: Packet analysis {"connection_id":158928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a5"} 
[2026-08-19 16:23:20] local.INFO: Extracted packet for processing {"connection_id":158928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a5"} 
[2026-08-19 16:23:20] local.INFO: GPS Element Parsed {"raw_longitude":756268864,"raw_latitude":119403200,"longitude_deg":75.6268864,"latitude_deg":11.94032,"altitude":54,"angle":43,"satellites":40,"speed":2,"hex_longitude":"2d13bf40","hex_latitude":"071df2c0","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506993408001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13851621716918272,"note":"Value kept but may cause issues"} 
[2026-08-19 16:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422996775327905792,"note":"Value kept but may cause issues"} 
[2026-08-19 16:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787136702000,"timestamp_ms":1787136702000,"timestamp_seconds":1787136702,"priority":1,"record_length":96,"hex_timestamp":"000001a019a5f630"} 
[2026-08-19 16:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:23: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-08-19 16: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-19 16:23:20] 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-08-19 16: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-08-19 16:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506993408001,"66":13972,"185":206,"83":41984,"24":2,"16":13851621716918272,"45":1422996775327905792},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-08-19 16:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506993408001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:23:20] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-19 16:23:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13851621716918272,"km_value":13851621716918.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422996775327905792,"description":"Unknown IO ID 45"} 
[2026-08-19 16:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506993408001,"power":13972,"unknown_185":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1422996775327905792}} 
[2026-08-19 16:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":158928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:23:20] local.INFO: GPS data processed {"connection_id":158928,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:23:20] local.INFO: Acknowledgment sent {"connection_id":158928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:23:21] local.INFO: TCP Data received {"connection_id":158928,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a64838012d13bf80071df2c80036002c29..."} 
[2026-08-19 16:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a64838012d13bf80071df2c80036002c29..."} 
[2026-08-19 16:23:21] local.INFO: Processing buffer {"connection_id":158928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a64838012d13bf80071df2c80036002c29..."} 
[2026-08-19 16:23:21] local.INFO: Packet analysis {"connection_id":158928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a6"} 
[2026-08-19 16:23:21] local.INFO: Extracted packet for processing {"connection_id":158928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a6"} 
[2026-08-19 16:23:21] local.INFO: GPS Element Parsed {"raw_longitude":756268928,"raw_latitude":119403208,"longitude_deg":75.6268928,"latitude_deg":11.9403208,"altitude":54,"angle":44,"satellites":41,"speed":0,"hex_longitude":"2d13bf80","hex_latitude":"071df2c8","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506995712001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13851626011885568,"note":"Value kept but may cause issues"} 
[2026-08-19 16:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422926406583762944,"note":"Value kept but may cause issues"} 
[2026-08-19 16:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787136723000,"timestamp_ms":1787136723000,"timestamp_seconds":1787136723,"priority":1,"record_length":96,"hex_timestamp":"000001a019a64838"} 
[2026-08-19 16:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-19 16:23:21] 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-08-19 16: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-08-19 16:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":158928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":158928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":158928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506995712001,"66":14298,"185":206,"83":41984,"24":0,"16":13851626011885568,"45":1422926406583762944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-08-19 16:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506995712001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:23:21] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-19 16:23:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13851626011885568,"km_value":13851626011885.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422926406583762944,"description":"Unknown IO ID 45"} 
[2026-08-19 16:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506995712001,"power":14298,"unknown_185":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1422926406583762944}} 
[2026-08-19 16:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":158928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:23:21] local.INFO: GPS data processed {"connection_id":158928,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:23:21] local.INFO: Acknowledgment sent {"connection_id":158928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:23:37] local.INFO: TCP Data received {"connection_id":160248,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:23:37] local.INFO: Processing buffer {"connection_id":160248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:23:37] local.INFO: Packet analysis {"connection_id":160248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:23:37] local.INFO: Extracted packet for processing {"connection_id":160248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:23:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506893824001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:23:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787136605000,"timestamp_ms":1787136605000,"timestamp_seconds":1787136605,"priority":1,"record_length":96,"hex_timestamp":"000001a019a47b48"} 
[2026-08-19 16:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 16:23:37] 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-08-19 16:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506893824001,"66":25875,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506893824001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:23:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:23:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506893824001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":160248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:23:37] local.INFO: GPS data processed {"connection_id":160248,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:23:37] local.INFO: Acknowledgment sent {"connection_id":160248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:23:53] local.INFO: TCP Data received {"connection_id":158928,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a65fa8012d13c400071df8e00037001f2a..."} 
[2026-08-19 16:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a65fa8012d13c400071df8e00037001f2a..."} 
[2026-08-19 16:23:53] local.INFO: Processing buffer {"connection_id":158928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a65fa8012d13c400071df8e00037001f2a..."} 
[2026-08-19 16:23:53] local.INFO: Packet analysis {"connection_id":158928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a6"} 
[2026-08-19 16:23:53] local.INFO: Extracted packet for processing {"connection_id":158928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a6"} 
[2026-08-19 16:23:53] local.INFO: GPS Element Parsed {"raw_longitude":756270080,"raw_latitude":119404768,"longitude_deg":75.627008,"latitude_deg":11.9404768,"altitude":55,"angle":31,"satellites":42,"speed":20,"hex_longitude":"2d13c400","hex_latitude":"071df8e0","is_valid_coordinates":true} 
[2026-08-19 16:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507001088001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13851720501166080,"note":"Value kept but may cause issues"} 
[2026-08-19 16:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422996775327942656,"note":"Value kept but may cause issues"} 
[2026-08-19 16:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787136729000,"timestamp_ms":1787136729000,"timestamp_seconds":1787136729,"priority":1,"record_length":96,"hex_timestamp":"000001a019a65fa8"} 
[2026-08-19 16:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-19 16:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":158928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":158928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":158928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507001088001,"66":14298,"185":206,"83":41984,"24":20,"16":13851720501166080,"45":1422996775327942656},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-08-19 16:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507001088001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:23:53] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-19 16:23:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13851720501166080,"km_value":13851720501166.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422996775327942656,"description":"Unknown IO ID 45"} 
[2026-08-19 16:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507001088001,"power":14298,"unknown_185":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1422996775327942656}} 
[2026-08-19 16:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":158928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:23:53] local.INFO: GPS data processed {"connection_id":158928,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:23:53] local.INFO: Acknowledgment sent {"connection_id":158928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:24:05] local.INFO: TCP Data received {"connection_id":157709,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:24:05] local.INFO: Processing buffer {"connection_id":157709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:24:05] local.INFO: IMEI packet received {"connection_id":157709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":157709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:24:08] local.INFO: TCP Data received {"connection_id":158067,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:24:08] local.INFO: Processing buffer {"connection_id":158067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:24:08] local.INFO: IMEI packet received {"connection_id":158067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":158067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:24:09] local.INFO: TCP Data received {"connection_id":157709,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:24:09] local.INFO: Processing buffer {"connection_id":157709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:24:09] local.INFO: IMEI packet received {"connection_id":157709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":157709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:24:13] local.INFO: TCP Data received {"connection_id":158067,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:24:13] local.INFO: Processing buffer {"connection_id":158067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:24:13] local.INFO: IMEI packet received {"connection_id":158067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":158067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:24:13] local.INFO: TCP Data received {"connection_id":157709,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:24:13] local.INFO: Processing buffer {"connection_id":157709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:24:13] local.INFO: Packet analysis {"connection_id":157709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:24:13] local.INFO: Extracted packet for processing {"connection_id":157709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:24:13] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506893824001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:24:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787136605000,"timestamp_ms":1787136605000,"timestamp_seconds":1787136605,"priority":1,"record_length":96,"hex_timestamp":"000001a019a47b48"} 
[2026-08-19 16:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 16:24:13] 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-08-19 16:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506893824001,"66":25875,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506893824001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:24:13] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:24:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506893824001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":157709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:24:13] local.INFO: GPS data processed {"connection_id":157709,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:24:13] local.INFO: Acknowledgment sent {"connection_id":157709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:24:14] local.INFO: TCP Data received {"connection_id":158067,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a67b00012d13cc40071e09680036001227..."} 
[2026-08-19 16:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a67b00012d13cc40071e09680036001227..."} 
[2026-08-19 16:24:14] local.INFO: Processing buffer {"connection_id":158067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a67b00012d13cc40071e09680036001227..."} 
[2026-08-19 16:24:14] local.INFO: Packet analysis {"connection_id":158067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a6"} 
[2026-08-19 16:24:14] local.INFO: Extracted packet for processing {"connection_id":158067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a6"} 
[2026-08-19 16:24:14] local.INFO: GPS Element Parsed {"raw_longitude":756272192,"raw_latitude":119409000,"longitude_deg":75.6272192,"latitude_deg":11.9409,"altitude":54,"angle":18,"satellites":39,"speed":30,"hex_longitude":"2d13cc40","hex_latitude":"071e0968","is_valid_coordinates":true} 
[2026-08-19 16:24: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-08-19 16:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507002624001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13851952429400064,"note":"Value kept but may cause issues"} 
[2026-08-19 16:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1424263412723539968,"note":"Value kept but may cause issues"} 
[2026-08-19 16:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787136736000,"timestamp_ms":1787136736000,"timestamp_seconds":1787136736,"priority":1,"record_length":96,"hex_timestamp":"000001a019a67b00"} 
[2026-08-19 16:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:24: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-08-19 16:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-19 16:24:14] 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-08-19 16:24: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-08-19 16:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507002624001,"66":14135,"185":206,"83":41984,"24":30,"16":13851952429400064,"45":1424263412723539968},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-08-19 16:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507002624001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:24:14] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-19 16:24:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13851952429400064,"km_value":13851952429400.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1424263412723539968,"description":"Unknown IO ID 45"} 
[2026-08-19 16:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507002624001,"power":14135,"unknown_185":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1424263412723539968}} 
[2026-08-19 16:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":158067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:24:14] local.INFO: GPS data processed {"connection_id":158067,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:24:14] local.INFO: Acknowledgment sent {"connection_id":158067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:24:17] local.INFO: TCP Data received {"connection_id":157709,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:24:17] local.INFO: Processing buffer {"connection_id":157709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:24:17] local.INFO: Packet analysis {"connection_id":157709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:24:17] local.INFO: Extracted packet for processing {"connection_id":157709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:24:17] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506893824001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:24:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787136605000,"timestamp_ms":1787136605000,"timestamp_seconds":1787136605,"priority":1,"record_length":96,"hex_timestamp":"000001a019a47b48"} 
[2026-08-19 16:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 16:24:17] 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-08-19 16:24: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-08-19 16:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506893824001,"66":25875,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506893824001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:24:17] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:24:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506893824001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":157709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:24:17] local.INFO: GPS data processed {"connection_id":157709,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:24:17] local.INFO: Acknowledgment sent {"connection_id":157709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:24:45] local.INFO: TCP Data received {"connection_id":158067,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a80588012d137ec0071ef760002d002a28..."} 
[2026-08-19 16:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a80588012d137ec0071ef760002d002a28..."} 
[2026-08-19 16:24:45] local.INFO: Processing buffer {"connection_id":158067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a80588012d137ec0071ef760002d002a28..."} 
[2026-08-19 16:24:45] local.INFO: Packet analysis {"connection_id":158067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a8"} 
[2026-08-19 16:24:45] local.INFO: Extracted packet for processing {"connection_id":158067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a8"} 
[2026-08-19 16:24:45] local.INFO: GPS Element Parsed {"raw_longitude":756252352,"raw_latitude":119469920,"longitude_deg":75.6252352,"latitude_deg":11.946992,"altitude":45,"angle":42,"satellites":40,"speed":7,"hex_longitude":"2d137ec0","hex_latitude":"071ef760","is_valid_coordinates":true} 
[2026-08-19 16:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507030016001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13855126410231808,"note":"Value kept but may cause issues"} 
[2026-08-19 16:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1404700901858795520,"note":"Value kept but may cause issues"} 
[2026-08-19 16:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787136837000,"timestamp_ms":1787136837000,"timestamp_seconds":1787136837,"priority":1,"record_length":96,"hex_timestamp":"000001a019a80588"} 
[2026-08-19 16:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:24: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-08-19 16:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 16:24:45] 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-08-19 16:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507030016001,"66":13787,"11":206,"83":41984,"24":7,"16":13855126410231808,"45":1404700901858795520},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-19 16:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507030016001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:24:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 16:24:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13855126410231808,"km_value":13855126410231.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1404700901858795520,"description":"Unknown IO ID 45"} 
[2026-08-19 16:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507030016001,"power":13787,"unknown_11":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1404700901858795520}} 
[2026-08-19 16:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":158067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:24:46] local.INFO: GPS data processed {"connection_id":158067,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:24:46] local.INFO: Acknowledgment sent {"connection_id":158067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:24:59] local.INFO: TCP Data received {"connection_id":160250,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:24:59] local.INFO: Processing buffer {"connection_id":160250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:24:59] local.INFO: IMEI packet received {"connection_id":160250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":160250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:25:04] local.INFO: TCP Data received {"connection_id":160250,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:25:04] local.INFO: Processing buffer {"connection_id":160250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:25:04] local.INFO: IMEI packet received {"connection_id":160250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":160250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:25:07] local.INFO: TCP Data received {"connection_id":160250,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:25:07] local.INFO: Processing buffer {"connection_id":160250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:25:07] local.INFO: Packet analysis {"connection_id":160250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:25:07] local.INFO: Extracted packet for processing {"connection_id":160250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:25:07] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506893824001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:25:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787136605000,"timestamp_ms":1787136605000,"timestamp_seconds":1787136605,"priority":1,"record_length":96,"hex_timestamp":"000001a019a47b48"} 
[2026-08-19 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-08-19 16:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 16:25:07] 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-08-19 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-08-19 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-08-19 16:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506893824001,"66":25875,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506893824001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:25:07] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:25:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506893824001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":160250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:25:07] local.INFO: GPS data processed {"connection_id":160250,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:25:07] local.INFO: Acknowledgment sent {"connection_id":160250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:25:07] local.INFO: TCP Data received {"connection_id":158929,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:25:07] local.INFO: Processing buffer {"connection_id":158929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:25:07] local.INFO: IMEI packet received {"connection_id":158929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":158929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:25:08] local.INFO: TCP Data received {"connection_id":158929,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:25:08] local.INFO: Processing buffer {"connection_id":158929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:25:08] local.INFO: IMEI packet received {"connection_id":158929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":158929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:25:10] local.INFO: TCP Data received {"connection_id":160250,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:25:10] local.INFO: Processing buffer {"connection_id":160250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:25:10] local.INFO: Packet analysis {"connection_id":160250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:25:10] local.INFO: Extracted packet for processing {"connection_id":160250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506893824001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787136605000,"timestamp_ms":1787136605000,"timestamp_seconds":1787136605,"priority":1,"record_length":96,"hex_timestamp":"000001a019a47b48"} 
[2026-08-19 16:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 16:25:10] 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-08-19 16:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506893824001,"66":25875,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506893824001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:25:10] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506893824001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":160250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:25:10] local.INFO: GPS data processed {"connection_id":160250,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:25:10] local.INFO: Acknowledgment sent {"connection_id":160250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:25:13] local.INFO: TCP Data received {"connection_id":158929,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:25:13] local.INFO: Processing buffer {"connection_id":158929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:25:13] local.INFO: IMEI packet received {"connection_id":158929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":158929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:25:14] local.INFO: TCP Data received {"connection_id":158929,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a80970012d137fc0071ef7e8002d003a28..."} 
[2026-08-19 16:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a80970012d137fc0071ef7e8002d003a28..."} 
[2026-08-19 16:25:14] local.INFO: Processing buffer {"connection_id":158929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a80970012d137fc0071ef7e8002d003a28..."} 
[2026-08-19 16:25:14] local.INFO: Packet analysis {"connection_id":158929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a8"} 
[2026-08-19 16:25:14] local.INFO: Extracted packet for processing {"connection_id":158929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a8"} 
[2026-08-19 16:25:14] local.INFO: GPS Element Parsed {"raw_longitude":756252608,"raw_latitude":119470056,"longitude_deg":75.6252608,"latitude_deg":11.9470056,"altitude":45,"angle":58,"satellites":40,"speed":10,"hex_longitude":"2d137fc0","hex_latitude":"071ef7e8","is_valid_coordinates":true} 
[2026-08-19 16:25: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-08-19 16:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507030272001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13855139295133696,"note":"Value kept but may cause issues"} 
[2026-08-19 16:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1404771270603005952,"note":"Value kept but may cause issues"} 
[2026-08-19 16:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787136838000,"timestamp_ms":1787136838000,"timestamp_seconds":1787136838,"priority":1,"record_length":96,"hex_timestamp":"000001a019a80970"} 
[2026-08-19 16:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:25: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-08-19 16:25: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":219,"data_length":795,"current_offset":136} 
[2026-08-19 16:25:14] 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-08-19 16:25: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-08-19 16:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507030272001,"66":13787,"11":206,"83":41984,"24":10,"16":13855139295133696,"45":1404771270603005952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-19 16:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507030272001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:25:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 16:25:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13855139295133696,"km_value":13855139295133.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1404771270603005952,"description":"Unknown IO ID 45"} 
[2026-08-19 16:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507030272001,"power":13787,"unknown_11":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1404771270603005952}} 
[2026-08-19 16:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":158929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:25:14] local.INFO: GPS data processed {"connection_id":158929,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:25:14] local.INFO: Acknowledgment sent {"connection_id":158929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:25:42] local.INFO: TCP Data received {"connection_id":160250,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:25:42] local.INFO: Processing buffer {"connection_id":160250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a47b48012ceb4ac00713cf80001500712b..."} 
[2026-08-19 16:25:42] local.INFO: Packet analysis {"connection_id":160250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:25:42] local.INFO: Extracted packet for processing {"connection_id":160250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a4"} 
[2026-08-19 16:25:42] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":43,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506893824001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787136605000,"timestamp_ms":1787136605000,"timestamp_seconds":1787136605,"priority":1,"record_length":96,"hex_timestamp":"000001a019a47b48"} 
[2026-08-19 16:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 16:25:42] 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-08-19 16:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506893824001,"66":25875,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506893824001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:25:42] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506893824001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":160250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:25:42] local.INFO: GPS data processed {"connection_id":160250,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:25:42] local.INFO: Acknowledgment sent {"connection_id":160250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:25:50] local.INFO: TCP Data received {"connection_id":158929,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a81140012d138280071ef8e8002d004a28..."} 
[2026-08-19 16:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a81140012d138280071ef8e8002d004a28..."} 
[2026-08-19 16:25:50] local.INFO: Processing buffer {"connection_id":158929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a81140012d138280071ef8e8002d004a28..."} 
[2026-08-19 16:25:50] local.INFO: Packet analysis {"connection_id":158929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a8"} 
[2026-08-19 16:25:50] local.INFO: Extracted packet for processing {"connection_id":158929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a8"} 
[2026-08-19 16:25:50] local.INFO: GPS Element Parsed {"raw_longitude":756253312,"raw_latitude":119470312,"longitude_deg":75.6253312,"latitude_deg":11.9470312,"altitude":45,"angle":74,"satellites":40,"speed":18,"hex_longitude":"2d138280","hex_latitude":"071ef8e8","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507030528001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13855173654872064,"note":"Value kept but may cause issues"} 
[2026-08-19 16:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1405052745579751424,"note":"Value kept but may cause issues"} 
[2026-08-19 16:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787136840000,"timestamp_ms":1787136840000,"timestamp_seconds":1787136840,"priority":1,"record_length":96,"hex_timestamp":"000001a019a81140"} 
[2026-08-19 16:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-19 16:25:50] 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-08-19 16: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-08-19 16:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":158929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":158929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":158929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507030528001,"66":13896,"11":206,"83":41984,"24":18,"16":13855173654872064,"45":1405052745579751424},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-19 16:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507030528001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:25:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 16:25:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13855173654872064,"km_value":13855173654872.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1405052745579751424,"description":"Unknown IO ID 45"} 
[2026-08-19 16:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507030528001,"power":13896,"unknown_11":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1405052745579751424}} 
[2026-08-19 16:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":158929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:25:50] local.INFO: GPS data processed {"connection_id":158929,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:25:50] local.INFO: Acknowledgment sent {"connection_id":158929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:25:59] local.INFO: TCP Data received {"connection_id":158068,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:25:59] local.INFO: Processing buffer {"connection_id":158068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:25:59] local.INFO: IMEI packet received {"connection_id":158068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":158068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:26:04] local.INFO: TCP Data received {"connection_id":158068,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:26:04] local.INFO: Processing buffer {"connection_id":158068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:26:04] local.INFO: IMEI packet received {"connection_id":158068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":158068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:26:05] local.INFO: TCP Data received {"connection_id":158068,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:26:05] local.INFO: Processing buffer {"connection_id":158068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:26:05] local.INFO: Packet analysis {"connection_id":158068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:26:05] local.INFO: Extracted packet for processing {"connection_id":158068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:26:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506970880001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:26:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787136906000,"timestamp_ms":1787136906000,"timestamp_seconds":1787136906,"priority":1,"record_length":96,"hex_timestamp":"000001a019a91310"} 
[2026-08-19 16:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 16:26:05] 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-08-19 16:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506970880001,"66":25756,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506970880001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:26:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:26:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506970880001,"power":25756,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":158068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:26:05] local.INFO: GPS data processed {"connection_id":158068,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:26:05] local.INFO: Acknowledgment sent {"connection_id":158068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:26:08] local.INFO: TCP Data received {"connection_id":158930,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:26:08] local.INFO: Processing buffer {"connection_id":158930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:26:08] local.INFO: IMEI packet received {"connection_id":158930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":158930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:26:13] local.INFO: TCP Data received {"connection_id":158930,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:26:13] local.INFO: Processing buffer {"connection_id":158930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:26:13] local.INFO: IMEI packet received {"connection_id":158930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":158930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:26:14] local.INFO: TCP Data received {"connection_id":158930,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a83c38012d139e80071f02a8002f003f27..."} 
[2026-08-19 16:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a83c38012d139e80071f02a8002f003f27..."} 
[2026-08-19 16:26:14] local.INFO: Processing buffer {"connection_id":158930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a83c38012d139e80071f02a8002f003f27..."} 
[2026-08-19 16:26:14] local.INFO: Packet analysis {"connection_id":158930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a8"} 
[2026-08-19 16:26:14] local.INFO: Extracted packet for processing {"connection_id":158930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a8"} 
[2026-08-19 16:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756260480,"raw_latitude":119472808,"longitude_deg":75.626048,"latitude_deg":11.9472808,"altitude":47,"angle":63,"satellites":39,"speed":34,"hex_longitude":"2d139e80","hex_latitude":"071f02a8","is_valid_coordinates":true} 
[2026-08-19 16:26: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-08-19 16:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507031040001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13855538727092224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1405826801765771264,"note":"Value kept but may cause issues"} 
[2026-08-19 16:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787136851000,"timestamp_ms":1787136851000,"timestamp_seconds":1787136851,"priority":1,"record_length":96,"hex_timestamp":"000001a019a83c38"} 
[2026-08-19 16:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:26: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-08-19 16:26: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-08-19 16:26:14] 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-08-19 16:26: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-08-19 16:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507031040001,"66":13896,"11":206,"83":41984,"24":34,"16":13855538727092224,"45":1405826801765771264},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-19 16:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507031040001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:26:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 16:26:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13855538727092224,"km_value":13855538727092.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1405826801765771264,"description":"Unknown IO ID 45"} 
[2026-08-19 16:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507031040001,"power":13896,"unknown_11":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1405826801765771264}} 
[2026-08-19 16:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":158930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:26:14] local.INFO: GPS data processed {"connection_id":158930,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:26:14] local.INFO: Acknowledgment sent {"connection_id":158930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:26:36] local.INFO: TCP Data received {"connection_id":158068,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:26:36] local.INFO: Processing buffer {"connection_id":158068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:26:36] local.INFO: Packet analysis {"connection_id":158068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:26:36] local.INFO: Extracted packet for processing {"connection_id":158068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:26:36] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506970880001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:26:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787136906000,"timestamp_ms":1787136906000,"timestamp_seconds":1787136906,"priority":1,"record_length":96,"hex_timestamp":"000001a019a91310"} 
[2026-08-19 16:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 16:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506970880001,"66":25756,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506970880001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:26:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:26:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506970880001,"power":25756,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":158068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:26:36] local.INFO: GPS data processed {"connection_id":158068,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:26:36] local.INFO: Acknowledgment sent {"connection_id":158068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:26:44] local.INFO: TCP Data received {"connection_id":158930,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a9ce90012d150400071fa2d00035003725..."} 
[2026-08-19 16:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a9ce90012d150400071fa2d00035003725..."} 
[2026-08-19 16:26:44] local.INFO: Processing buffer {"connection_id":158930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a9ce90012d150400071fa2d00035003725..."} 
[2026-08-19 16:26:44] local.INFO: Packet analysis {"connection_id":158930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:26:44] local.INFO: Extracted packet for processing {"connection_id":158930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756352000,"raw_latitude":119513808,"longitude_deg":75.6352,"latitude_deg":11.9513808,"altitude":53,"angle":55,"satellites":37,"speed":39,"hex_longitude":"2d150400","hex_latitude":"071fa2d0","is_valid_coordinates":true} 
[2026-08-19 16:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507058176001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13860344795496448,"note":"Value kept but may cause issues"} 
[2026-08-19 16:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1506805949670909952,"note":"Value kept but may cause issues"} 
[2026-08-19 16:26:44] 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-08-19 16:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787136954000,"timestamp_ms":1787136954000,"timestamp_seconds":1787136954,"priority":1,"record_length":96,"hex_timestamp":"000001a019a9ce90"} 
[2026-08-19 16:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 16:26: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-08-19 16:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507058176001,"66":14428,"12":206,"83":41984,"24":39,"16":13860344795496448,"45":1506805949670909952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-19 16:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507058176001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:26:44] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:26:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13860344795496448,"km_value":13860344795496.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1506805949670909952,"description":"Unknown IO ID 45"} 
[2026-08-19 16:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507058176001,"power":14428,"unknown_12":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1506805949670909952}} 
[2026-08-19 16:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":158930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:26:45] local.INFO: GPS data processed {"connection_id":158930,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:26:45] local.INFO: Acknowledgment sent {"connection_id":158930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:26:59] local.INFO: TCP Data received {"connection_id":160251,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:26:59] local.INFO: Processing buffer {"connection_id":160251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:26:59] local.INFO: IMEI packet received {"connection_id":160251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":160251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:27:04] local.INFO: TCP Data received {"connection_id":160251,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:27:04] local.INFO: Processing buffer {"connection_id":160251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:27:04] local.INFO: IMEI packet received {"connection_id":160251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":160251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:27:05] local.INFO: TCP Data received {"connection_id":160251,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:27:05] local.INFO: Processing buffer {"connection_id":160251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:27:05] local.INFO: Packet analysis {"connection_id":160251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:27:05] local.INFO: Extracted packet for processing {"connection_id":160251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:27:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506970880001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:27:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787136906000,"timestamp_ms":1787136906000,"timestamp_seconds":1787136906,"priority":1,"record_length":96,"hex_timestamp":"000001a019a91310"} 
[2026-08-19 16:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 16:27:05] 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-08-19 16:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506970880001,"66":25756,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506970880001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:27:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:27:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506970880001,"power":25756,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":160251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:27:05] local.INFO: GPS data processed {"connection_id":160251,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:27:05] local.INFO: Acknowledgment sent {"connection_id":160251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:27:08] local.INFO: TCP Data received {"connection_id":157710,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:27:08] local.INFO: Processing buffer {"connection_id":157710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:27:08] local.INFO: IMEI packet received {"connection_id":157710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":157710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:27:10] local.INFO: TCP Data received {"connection_id":157710,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:27:10] local.INFO: Processing buffer {"connection_id":157710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:27:10] local.INFO: IMEI packet received {"connection_id":157710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":157710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:27:13] local.INFO: TCP Data received {"connection_id":157710,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:27:13] local.INFO: Processing buffer {"connection_id":157710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:27:13] local.INFO: IMEI packet received {"connection_id":157710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":157710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:27:14] local.INFO: TCP Data received {"connection_id":157710,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a9edd0012d152000071fba90002f003328..."} 
[2026-08-19 16:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a9edd0012d152000071fba90002f003328..."} 
[2026-08-19 16:27:14] local.INFO: Processing buffer {"connection_id":157710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a9edd0012d152000071fba90002f003328..."} 
[2026-08-19 16:27:14] local.INFO: Packet analysis {"connection_id":157710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:27:14] local.INFO: Extracted packet for processing {"connection_id":157710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:27:14] local.INFO: GPS Element Parsed {"raw_longitude":756359168,"raw_latitude":119519888,"longitude_deg":75.6359168,"latitude_deg":11.9519888,"altitude":47,"angle":51,"satellites":40,"speed":49,"hex_longitude":"2d152000","hex_latitude":"071fba90","is_valid_coordinates":true} 
[2026-08-19 16:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507060224001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13860795767062528,"note":"Value kept but may cause issues"} 
[2026-08-19 16:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1514335405298864128,"note":"Value kept but may cause issues"} 
[2026-08-19 16:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787136962000,"timestamp_ms":1787136962000,"timestamp_seconds":1787136962,"priority":1,"record_length":96,"hex_timestamp":"000001a019a9edd0"} 
[2026-08-19 16:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:27: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-08-19 16:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 16:27: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-08-19 16:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507060224001,"66":14080,"87":206,"83":41984,"24":49,"16":13860795767062528,"45":1514335405298864128},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-19 16:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507060224001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:27:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 16:27:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13860795767062528,"km_value":13860795767062.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1514335405298864128,"description":"Unknown IO ID 45"} 
[2026-08-19 16:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507060224001,"power":14080,"unknown_87":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1514335405298864128}} 
[2026-08-19 16:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":157710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:27:14] local.INFO: GPS data processed {"connection_id":157710,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:27:14] local.INFO: Acknowledgment sent {"connection_id":157710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:27:37] local.INFO: TCP Data received {"connection_id":160251,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:27:37] local.INFO: Processing buffer {"connection_id":160251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:27:37] local.INFO: Packet analysis {"connection_id":160251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:27:37] local.INFO: Extracted packet for processing {"connection_id":160251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:27:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506970880001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:27:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787136906000,"timestamp_ms":1787136906000,"timestamp_seconds":1787136906,"priority":1,"record_length":96,"hex_timestamp":"000001a019a91310"} 
[2026-08-19 16:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 16:27:37] 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-08-19 16:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506970880001,"66":25756,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506970880001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:27:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:27:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506970880001,"power":25756,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":160251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:27:37] local.INFO: GPS data processed {"connection_id":160251,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:27:37] local.INFO: Acknowledgment sent {"connection_id":160251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:27:46] local.INFO: TCP Data received {"connection_id":157710,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a9f988012d152c80071fc2a8002d003f28..."} 
[2026-08-19 16:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a9f988012d152c80071fc2a8002d003f28..."} 
[2026-08-19 16:27:46] local.INFO: Processing buffer {"connection_id":157710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a9f988012d152c80071fc2a8002d003f28..."} 
[2026-08-19 16:27:46] local.INFO: Packet analysis {"connection_id":157710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:27:46] local.INFO: Extracted packet for processing {"connection_id":157710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756362368,"raw_latitude":119521960,"longitude_deg":75.6362368,"latitude_deg":11.952196,"altitude":45,"angle":63,"satellites":40,"speed":50,"hex_longitude":"2d152c80","hex_latitude":"071fc2a8","is_valid_coordinates":true} 
[2026-08-19 16:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507062272001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13860980450656256,"note":"Value kept but may cause issues"} 
[2026-08-19 16:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1522216704648318976,"note":"Value kept but may cause issues"} 
[2026-08-19 16:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787136965000,"timestamp_ms":1787136965000,"timestamp_seconds":1787136965,"priority":1,"record_length":96,"hex_timestamp":"000001a019a9f988"} 
[2026-08-19 16:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:27: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-08-19 16:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-19 16:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446017024,"note":"Value kept but may cause issues"} 
[2026-08-19 16:27:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 16:27:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 16:27:46] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2840694785,"note":"Value kept but may cause issues"} 
[2026-08-19 16:27:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1712062670,"corrected_to":0} 
[2026-08-19 16:27:46] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2415996180,"note":"Value kept but may cause issues"} 
[2026-08-19 16:27:46] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,87,83,24,241,157,16,62,160,206,45,162,53,37,10,66,12,61,175,64,148,57,41,128,192,1,240,22,227,25,31,4,113,205,38,81,164,40,239,54,2,49,7,39],"length":479,"final_offset":609,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1712062670,"validated":0}]} 
[2026-08-19 16:27:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386763166677532672,"timestamp_seconds":3386763166677532.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 16:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507062272001,"66":14341,"87":206,"83":41984,"24":50,"16":13860980450656256,"45":1522216704648318976},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-19 16:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507062272001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:27:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 16:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13860980450656256,"km_value":13860980450656.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1522216704648318976,"description":"Unknown IO ID 45"} 
[2026-08-19 16:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507062272001,"power":14341,"unknown_87":206,"unknown_83":41984,"ignition":50,"odometer":null,"unknown_45":1522216704648318976}} 
[2026-08-19 16:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":157710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:27:46] local.INFO: GPS data processed {"connection_id":157710,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:27:46] local.INFO: Acknowledgment sent {"connection_id":157710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:27:59] local.INFO: TCP Data received {"connection_id":158069,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:27:59] local.INFO: Processing buffer {"connection_id":158069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:27:59] local.INFO: IMEI packet received {"connection_id":158069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":158069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:28:04] local.INFO: TCP Data received {"connection_id":158069,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:28:04] local.INFO: Processing buffer {"connection_id":158069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:28:04] local.INFO: IMEI packet received {"connection_id":158069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":158069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:28:05] local.INFO: TCP Data received {"connection_id":158069,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:28:05] local.INFO: Processing buffer {"connection_id":158069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:28:05] local.INFO: Packet analysis {"connection_id":158069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:28:05] local.INFO: Extracted packet for processing {"connection_id":158069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:28:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506970880001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787136906000,"timestamp_ms":1787136906000,"timestamp_seconds":1787136906,"priority":1,"record_length":96,"hex_timestamp":"000001a019a91310"} 
[2026-08-19 16:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 16:28:05] 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-08-19 16: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-08-19 16:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506970880001,"66":25756,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506970880001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:28:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:28:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506970880001,"power":25756,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":158069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:28:05] local.INFO: GPS data processed {"connection_id":158069,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:28:05] local.INFO: Acknowledgment sent {"connection_id":158069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:28:10] local.INFO: TCP Data received {"connection_id":158070,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:28:10] local.INFO: Processing buffer {"connection_id":158070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:28:10] local.INFO: IMEI packet received {"connection_id":158070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":158070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:28:13] local.INFO: TCP Data received {"connection_id":158070,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:28:13] local.INFO: Processing buffer {"connection_id":158070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:28:13] local.INFO: IMEI packet received {"connection_id":158070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":158070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:28:18] local.INFO: TCP Data received {"connection_id":158070,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:28:18] local.INFO: Processing buffer {"connection_id":158070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:28:18] local.INFO: IMEI packet received {"connection_id":158070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":158070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:28:19] local.INFO: TCP Data received {"connection_id":158070,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019aa0158012d153600071fc630002b004a29..."} 
[2026-08-19 16:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019aa0158012d153600071fc630002b004a29..."} 
[2026-08-19 16:28:19] local.INFO: Processing buffer {"connection_id":158070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019aa0158012d153600071fc630002b004a29..."} 
[2026-08-19 16:28:19] local.INFO: Packet analysis {"connection_id":158070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019aa"} 
[2026-08-19 16:28:19] local.INFO: Extracted packet for processing {"connection_id":158070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019aa"} 
[2026-08-19 16:28:19] local.INFO: GPS Element Parsed {"raw_longitude":756364800,"raw_latitude":119522864,"longitude_deg":75.63648,"latitude_deg":11.9522864,"altitude":43,"angle":74,"satellites":41,"speed":50,"hex_longitude":"2d153600","hex_latitude":"071fc630","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507063040001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13861105004707840,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1525735141857732608,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787136967000,"timestamp_ms":1787136967000,"timestamp_seconds":1787136967,"priority":1,"record_length":96,"hex_timestamp":"000001a019aa0158"} 
[2026-08-19 16:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 16:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":13792493590030080,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:19] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2466250752,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:19] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503811099918336,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:19] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2843766785,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2277507128,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1712062670,"corrected_to":0} 
[2026-08-19 16:28:19] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2415996180,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:19] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84746535896031076,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:19] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,87,83,24,241,157,16,62,160,237,45,186,47,40,10,66,206,162,53,37,12,61,175,64,1,240,92,227,25,31,4,113,205,27,81,164,192,239,54,2,49,7,52,38,104],"length":529,"final_offset":659,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1712062670,"validated":0}]} 
[2026-08-19 16:28:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242661172741275648,"timestamp_seconds":3242661172741275.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 16:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507063040001,"66":14363,"87":206,"83":41984,"24":50,"16":13861105004707840,"45":1525735141857732608},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-19 16:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507063040001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:28:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 16:28:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13861105004707840,"km_value":13861105004707.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1525735141857732608,"description":"Unknown IO ID 45"} 
[2026-08-19 16:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507063040001,"power":14363,"unknown_87":206,"unknown_83":41984,"ignition":50,"odometer":null,"unknown_45":1525735141857732608}} 
[2026-08-19 16:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":158070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:28:19] local.INFO: GPS data processed {"connection_id":158070,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:28:19] local.INFO: Acknowledgment sent {"connection_id":158070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:28:20] local.INFO: TCP Data received {"connection_id":158070,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019aa0d10012d154500071fc880002800572a..."} 
[2026-08-19 16:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019aa0d10012d154500071fc880002800572a..."} 
[2026-08-19 16:28:20] local.INFO: Processing buffer {"connection_id":158070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019aa0d10012d154500071fc880002800572a..."} 
[2026-08-19 16:28:20] local.INFO: Packet analysis {"connection_id":158070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019aa"} 
[2026-08-19 16:28:20] local.INFO: Extracted packet for processing {"connection_id":158070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019aa"} 
[2026-08-19 16:28:20] local.INFO: GPS Element Parsed {"raw_longitude":756368640,"raw_latitude":119523456,"longitude_deg":75.636864,"latitude_deg":11.9523456,"altitude":40,"angle":87,"satellites":42,"speed":49,"hex_longitude":"2d154500","hex_latitude":"071fc880","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507063552001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13861285393334272,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1528409154136715264,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787136970000,"timestamp_ms":1787136970000,"timestamp_seconds":1787136970,"priority":1,"record_length":96,"hex_timestamp":"000001a019aa0d10"} 
[2026-08-19 16:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:28: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-08-19 16: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 16:28:20] 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-08-19 16: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-08-19 16:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507063552001,"66":14363,"87":206,"83":41984,"24":49,"16":13861285393334272,"45":1528409154136715264},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-19 16:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507063552001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:28:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 16:28:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13861285393334272,"km_value":13861285393334.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1528409154136715264,"description":"Unknown IO ID 45"} 
[2026-08-19 16:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507063552001,"power":14363,"unknown_87":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1528409154136715264}} 
[2026-08-19 16:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":158070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:28:20] local.INFO: GPS data processed {"connection_id":158070,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:28:20] local.INFO: Acknowledgment sent {"connection_id":158070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:28:35] local.INFO: TCP Data received {"connection_id":158931,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:28:35] local.INFO: Processing buffer {"connection_id":158931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:28:35] local.INFO: IMEI packet received {"connection_id":158931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":158931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:28:37] local.INFO: TCP Data received {"connection_id":158932,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158932,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:28:37] local.INFO: Processing buffer {"connection_id":158932,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:28:37] local.INFO: IMEI packet received {"connection_id":158932,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":158932,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:28:37] local.INFO: TCP Data received {"connection_id":158069,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:28:37] local.INFO: Processing buffer {"connection_id":158069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:28:37] local.INFO: Packet analysis {"connection_id":158069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:28:37] local.INFO: Extracted packet for processing {"connection_id":158069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:28:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506970880001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787136906000,"timestamp_ms":1787136906000,"timestamp_seconds":1787136906,"priority":1,"record_length":96,"hex_timestamp":"000001a019a91310"} 
[2026-08-19 16:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 16:28:37] 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-08-19 16: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-08-19 16:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506970880001,"66":25756,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506970880001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:28:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:28:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506970880001,"power":25756,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":158069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:28:37] local.INFO: GPS data processed {"connection_id":158069,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:28:37] local.INFO: Acknowledgment sent {"connection_id":158069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:28:40] local.INFO: TCP Data received {"connection_id":158931,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:28:40] local.INFO: Processing buffer {"connection_id":158931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:28:40] local.INFO: IMEI packet received {"connection_id":158931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":158931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:28:41] local.INFO: TCP Data received {"connection_id":158931,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a6f800012d7a224005e46a400010015d25..."} 
[2026-08-19 16:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a6f800012d7a224005e46a400010015d25..."} 
[2026-08-19 16:28:41] local.INFO: Processing buffer {"connection_id":158931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a6f800012d7a224005e46a400010015d25..."} 
[2026-08-19 16:28:41] local.INFO: Packet analysis {"connection_id":158931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a6"} 
[2026-08-19 16:28:41] local.INFO: Extracted packet for processing {"connection_id":158931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a6"} 
[2026-08-19 16:28:41] local.INFO: GPS Element Parsed {"raw_longitude":762978880,"raw_latitude":98855488,"longitude_deg":76.297888,"latitude_deg":9.8855488,"altitude":16,"angle":349,"satellites":37,"speed":11,"hex_longitude":"2d7a2240","hex_latitude":"05e46a40","is_valid_coordinates":true} 
[2026-08-19 16:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507012352001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120785037393133568,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800878122119012352,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787136768000,"timestamp_ms":1787136768000,"timestamp_seconds":1787136768,"priority":1,"record_length":96,"hex_timestamp":"000001a019a6f800"} 
[2026-08-19 16:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:28: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-08-19 16:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 16:28:41] 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-08-19 16:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507012352001,"66":13363,"39":206,"87":13824,"24":11,"16":120785037393133568,"45":8800878122119012352},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-19 16:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507012352001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:28:41] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 16:28:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120785037393133568,"km_value":120785037393133.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800878122119012352,"description":"Unknown IO ID 45"} 
[2026-08-19 16:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507012352001,"power":13363,"unknown_39":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8800878122119012352}} 
[2026-08-19 16:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":158931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:28:41] local.INFO: GPS data processed {"connection_id":158931,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:28:41] local.INFO: Acknowledgment sent {"connection_id":158931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:28:42] local.INFO: TCP Data received {"connection_id":158932,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158932,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:28:42] local.INFO: Processing buffer {"connection_id":158932,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:28:42] local.INFO: IMEI packet received {"connection_id":158932,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":158932,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:28:46] local.INFO: TCP Data received {"connection_id":158932,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a019abfd28012d0be000070746980012010a28..."} 
[2026-08-19 16:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019abfd28012d0be000070746980012010a28..."} 
[2026-08-19 16:28:46] local.INFO: Processing buffer {"connection_id":158932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019abfd28012d0be000070746980012010a28..."} 
[2026-08-19 16:28:46] local.INFO: Packet analysis {"connection_id":158932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ab"} 
[2026-08-19 16:28:46] local.INFO: Extracted packet for processing {"connection_id":158932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ab"} 
[2026-08-19 16:28:46] local.INFO: GPS Element Parsed {"raw_longitude":755752960,"raw_latitude":117917336,"longitude_deg":75.575296,"latitude_deg":11.7917336,"altitude":18,"angle":266,"satellites":40,"speed":42,"hex_longitude":"2d0be000","hex_latitude":"07074698","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507095296001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28926828076859392,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863354152502992896,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787137097000,"timestamp_ms":1787137097000,"timestamp_seconds":1787137097,"priority":1,"record_length":96,"hex_timestamp":"000001a019abfd28"} 
[2026-08-19 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-08-19 16:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 16:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 16:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158932,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158932,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507095296001,"66":14548,"221":206,"94":10240,"24":42,"16":28926828076859392,"45":863354152502992896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-19 16:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507095296001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:28:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-19 16:28:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28926828076859392,"km_value":28926828076859.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":863354152502992896,"description":"Unknown IO ID 45"} 
[2026-08-19 16:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507095296001,"power":14548,"unknown_221":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_45":863354152502992896}} 
[2026-08-19 16:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":158932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665685,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:28:47] local.INFO: GPS data processed {"connection_id":158932,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:28:47] local.INFO: Acknowledgment sent {"connection_id":158932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:28:51] local.INFO: TCP Data received {"connection_id":158070,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019ab9798012d16ae8007202758002d003829..."} 
[2026-08-19 16:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ab9798012d16ae8007202758002d003829..."} 
[2026-08-19 16:28:51] local.INFO: Processing buffer {"connection_id":158070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ab9798012d16ae8007202758002d003829..."} 
[2026-08-19 16:28:51] local.INFO: Packet analysis {"connection_id":158070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ab"} 
[2026-08-19 16:28:51] local.INFO: Extracted packet for processing {"connection_id":158070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ab"} 
[2026-08-19 16:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756461184,"raw_latitude":119547736,"longitude_deg":75.6461184,"latitude_deg":11.9547736,"altitude":45,"angle":56,"satellites":41,"speed":33,"hex_longitude":"2d16ae80","hex_latitude":"07202758","is_valid_coordinates":true} 
[2026-08-19 16:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507087360001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13865915368079360,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1625377283618766848,"note":"Value kept but may cause issues"} 
[2026-08-19 16:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787137071000,"timestamp_ms":1787137071000,"timestamp_seconds":1787137071,"priority":1,"record_length":96,"hex_timestamp":"000001a019ab9798"} 
[2026-08-19 16:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:28: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-08-19 16:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 16:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":158070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":158070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":158070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507087360001,"66":14363,"85":206,"83":41984,"24":33,"16":13865915368079360,"45":1625377283618766848},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-19 16:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507087360001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:28:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-19 16:28:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13865915368079360,"km_value":13865915368079.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1625377283618766848,"description":"Unknown IO ID 45"} 
[2026-08-19 16:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507087360001,"power":14363,"unknown_85":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1625377283618766848}} 
[2026-08-19 16:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":158070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:28:51] local.INFO: GPS data processed {"connection_id":158070,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:28:51] local.INFO: Acknowledgment sent {"connection_id":158070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:29:04] local.INFO: TCP Data received {"connection_id":158071,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:29:04] local.INFO: Processing buffer {"connection_id":158071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:29:04] local.INFO: IMEI packet received {"connection_id":158071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":158071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:29:08] local.INFO: TCP Data received {"connection_id":158072,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:29:08] local.INFO: Processing buffer {"connection_id":158072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:29:08] local.INFO: IMEI packet received {"connection_id":158072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":158072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:29:08] local.INFO: TCP Data received {"connection_id":158072,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:29:08] local.INFO: Processing buffer {"connection_id":158072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:29:08] local.INFO: IMEI packet received {"connection_id":158072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":158072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:29:09] local.INFO: TCP Data received {"connection_id":158071,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:29:09] local.INFO: Processing buffer {"connection_id":158071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:29:09] local.INFO: IMEI packet received {"connection_id":158071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":158071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:29:11] local.INFO: TCP Data received {"connection_id":158071,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:29:11] local.INFO: Processing buffer {"connection_id":158071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:29:11] local.INFO: Packet analysis {"connection_id":158071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:29:11] local.INFO: Extracted packet for processing {"connection_id":158071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:29:11] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506970880001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787136906000,"timestamp_ms":1787136906000,"timestamp_seconds":1787136906,"priority":1,"record_length":96,"hex_timestamp":"000001a019a91310"} 
[2026-08-19 16:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 16:29:11] 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-08-19 16:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506970880001,"66":25756,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506970880001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:29:11] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506970880001,"power":25756,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":158071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:29:11] local.INFO: GPS data processed {"connection_id":158071,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:29:11] local.INFO: Acknowledgment sent {"connection_id":158071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:29:12] local.INFO: TCP Data received {"connection_id":158931,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a6fbe8012d7a224005e46b08000f000826..."} 
[2026-08-19 16:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a6fbe8012d7a224005e46b08000f000826..."} 
[2026-08-19 16:29:12] local.INFO: Processing buffer {"connection_id":158931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a6fbe8012d7a224005e46b08000f000826..."} 
[2026-08-19 16:29:12] local.INFO: Packet analysis {"connection_id":158931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a6"} 
[2026-08-19 16:29:12] local.INFO: Extracted packet for processing {"connection_id":158931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a6"} 
[2026-08-19 16:29:12] local.INFO: GPS Element Parsed {"raw_longitude":762978880,"raw_latitude":98855688,"longitude_deg":76.297888,"latitude_deg":9.8855688,"altitude":15,"angle":8,"satellites":38,"speed":7,"hex_longitude":"2d7a2240","hex_latitude":"05e46b08","is_valid_coordinates":true} 
[2026-08-19 16:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507012608001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120785050278035456,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800667015886553088,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:12] 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-08-19 16:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787136769000,"timestamp_ms":1787136769000,"timestamp_seconds":1787136769,"priority":1,"record_length":96,"hex_timestamp":"000001a019a6fbe8"} 
[2026-08-19 16:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 16:29: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-08-19 16:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:29: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-08-19 16:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507012608001,"66":13080,"39":206,"87":13824,"24":7,"16":120785050278035456,"45":8800667015886553088},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-19 16:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507012608001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:29:12] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 16:29:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120785050278035456,"km_value":120785050278035.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800667015886553088,"description":"Unknown IO ID 45"} 
[2026-08-19 16:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507012608001,"power":13080,"unknown_39":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8800667015886553088}} 
[2026-08-19 16:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":158931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:29:12] local.INFO: GPS data processed {"connection_id":158931,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:29:12] local.INFO: Acknowledgment sent {"connection_id":158931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:29:13] local.INFO: TCP Data received {"connection_id":158072,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:29:13] local.INFO: Processing buffer {"connection_id":158072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:29:13] local.INFO: IMEI packet received {"connection_id":158072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":158072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:29:14] local.INFO: TCP Data received {"connection_id":158072,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019abb2f0012d16c48007203a480029002c2a..."} 
[2026-08-19 16:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019abb2f0012d16c48007203a480029002c2a..."} 
[2026-08-19 16:29:14] local.INFO: Processing buffer {"connection_id":158072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019abb2f0012d16c48007203a480029002c2a..."} 
[2026-08-19 16:29:14] local.INFO: Packet analysis {"connection_id":158072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ab"} 
[2026-08-19 16:29:14] local.INFO: Extracted packet for processing {"connection_id":158072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ab"} 
[2026-08-19 16:29:14] local.INFO: GPS Element Parsed {"raw_longitude":756466816,"raw_latitude":119552584,"longitude_deg":75.6466816,"latitude_deg":11.9552584,"altitude":41,"angle":44,"satellites":42,"speed":47,"hex_longitude":"2d16c480","hex_latitude":"07203a48","is_valid_coordinates":true} 
[2026-08-19 16:29: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-08-19 16:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507090176001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13866271850364928,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1634384482874644480,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787137078000,"timestamp_ms":1787137078000,"timestamp_seconds":1787137078,"priority":1,"record_length":96,"hex_timestamp":"000001a019abb2f0"} 
[2026-08-19 16:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:29: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-08-19 16:29: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":27,"data_length":795,"current_offset":136} 
[2026-08-19 16:29:14] 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-08-19 16:29: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-08-19 16:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507090176001,"66":14341,"85":206,"83":41984,"24":47,"16":13866271850364928,"45":1634384482874644480},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-19 16:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507090176001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:29:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-19 16:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13866271850364928,"km_value":13866271850364.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1634384482874644480,"description":"Unknown IO ID 45"} 
[2026-08-19 16:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507090176001,"power":14341,"unknown_85":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1634384482874644480}} 
[2026-08-19 16:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":158072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:29:14] local.INFO: GPS data processed {"connection_id":158072,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:29:14] local.INFO: Acknowledgment sent {"connection_id":158072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:29:15] local.INFO: TCP Data received {"connection_id":158071,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:29:15] local.INFO: Processing buffer {"connection_id":158071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:29:15] local.INFO: Packet analysis {"connection_id":158071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:29:15] local.INFO: Extracted packet for processing {"connection_id":158071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:29:15] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506970880001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787136906000,"timestamp_ms":1787136906000,"timestamp_seconds":1787136906,"priority":1,"record_length":96,"hex_timestamp":"000001a019a91310"} 
[2026-08-19 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-08-19 16:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 16:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 16:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506970880001,"66":25756,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506970880001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:29:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:29:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506970880001,"power":25756,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":158071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:29:15] local.INFO: GPS data processed {"connection_id":158071,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:29:15] local.INFO: Acknowledgment sent {"connection_id":158071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:29:17] local.INFO: TCP Data received {"connection_id":158072,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019abd230012d16dd0007205668002700292b..."} 
[2026-08-19 16:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019abd230012d16dd0007205668002700292b..."} 
[2026-08-19 16:29:17] local.INFO: Processing buffer {"connection_id":158072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019abd230012d16dd0007205668002700292b..."} 
[2026-08-19 16:29:17] local.INFO: Packet analysis {"connection_id":158072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ab"} 
[2026-08-19 16:29:17] local.INFO: Extracted packet for processing {"connection_id":158072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ab"} 
[2026-08-19 16:29:17] local.INFO: GPS Element Parsed {"raw_longitude":756473088,"raw_latitude":119559784,"longitude_deg":75.6473088,"latitude_deg":11.9559784,"altitude":39,"angle":41,"satellites":43,"speed":44,"hex_longitude":"2d16dd00","hex_latitude":"07205668","is_valid_coordinates":true} 
[2026-08-19 16:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507091968001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13866731411865600,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1640576932363520000,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787137086000,"timestamp_ms":1787137086000,"timestamp_seconds":1787137086,"priority":1,"record_length":96,"hex_timestamp":"000001a019abd230"} 
[2026-08-19 16:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:29:17] 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-08-19 16:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 16:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6981003968,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":9289031418388224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:17] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503811173253120,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:17] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2871670785,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:17] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4121428011,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1783955662,"corrected_to":0} 
[2026-08-19 16:29:17] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2147950565,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:17] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84748094969159645,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:17] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,85,83,24,241,157,16,67,160,151,45,128,39,41,10,66,108,22,46,36,77,1,240,169,227,25,31,4,113,205,40,255,43,239,54,2,49,7,38,206,192],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1783955662,"validated":0}]} 
[2026-08-19 16:29:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954409914458374144,"timestamp_seconds":2954409914458374.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 16:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507091968001,"66":14352,"85":206,"83":41984,"24":44,"16":13866731411865600,"45":1640576932363520000},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-19 16:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507091968001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:29:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-19 16:29:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13866731411865600,"km_value":13866731411865.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1640576932363520000,"description":"Unknown IO ID 45"} 
[2026-08-19 16:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507091968001,"power":14352,"unknown_85":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1640576932363520000}} 
[2026-08-19 16:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":158072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:29:17] local.INFO: GPS data processed {"connection_id":158072,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:29:17] local.INFO: Acknowledgment sent {"connection_id":158072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:29:18] local.INFO: TCP Data received {"connection_id":158932,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a019ac9198012d0ba1c0070712580018010028..."} 
[2026-08-19 16:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ac9198012d0ba1c0070712580018010028..."} 
[2026-08-19 16:29:18] local.INFO: Processing buffer {"connection_id":158932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ac9198012d0ba1c0070712580018010028..."} 
[2026-08-19 16:29:18] local.INFO: Packet analysis {"connection_id":158932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ac"} 
[2026-08-19 16:29:18] local.INFO: Extracted packet for processing {"connection_id":158932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ac"} 
[2026-08-19 16:29:18] local.INFO: GPS Element Parsed {"raw_longitude":755737024,"raw_latitude":117903960,"longitude_deg":75.5737024,"latitude_deg":11.790396,"altitude":24,"angle":256,"satellites":40,"speed":33,"hex_longitude":"2d0ba1c0","hex_latitude":"07071258","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507105280001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28928112272080896,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842102791757883392,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:18] 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-08-19 16:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787137135000,"timestamp_ms":1787137135000,"timestamp_seconds":1787137135,"priority":1,"record_length":96,"hex_timestamp":"000001a019ac9198"} 
[2026-08-19 16:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 16:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158932,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158932,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507105280001,"66":14428,"163":206,"94":10240,"24":33,"16":28928112272080896,"45":842102791757883392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-19 16:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507105280001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:29:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 16:29:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28928112272080896,"km_value":28928112272080.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":842102791757883392,"description":"Unknown IO ID 45"} 
[2026-08-19 16:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507105280001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":842102791757883392}} 
[2026-08-19 16:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":158932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665692,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:29:18] local.INFO: GPS data processed {"connection_id":158932,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:29:18] local.INFO: Acknowledgment sent {"connection_id":158932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:29:35] local.INFO: TCP Data received {"connection_id":158933,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:29:35] local.INFO: Processing buffer {"connection_id":158933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:29:35] local.INFO: IMEI packet received {"connection_id":158933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":158933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:29:37] local.INFO: TCP Data received {"connection_id":160252,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160252,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:29:37] local.INFO: Processing buffer {"connection_id":160252,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:29:37] local.INFO: IMEI packet received {"connection_id":160252,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":160252,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:29:40] local.INFO: TCP Data received {"connection_id":160252,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160252,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:29:40] local.INFO: Processing buffer {"connection_id":160252,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:29:40] local.INFO: IMEI packet received {"connection_id":160252,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":160252,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:29:40] local.INFO: TCP Data received {"connection_id":158933,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:29:40] local.INFO: Processing buffer {"connection_id":158933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:29:40] local.INFO: IMEI packet received {"connection_id":158933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":158933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:29:41] local.INFO: TCP Data received {"connection_id":158933,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a74df0012d7a1f4005e46800000a000828..."} 
[2026-08-19 16:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a74df0012d7a1f4005e46800000a000828..."} 
[2026-08-19 16:29:41] local.INFO: Processing buffer {"connection_id":158933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a74df0012d7a1f4005e46800000a000828..."} 
[2026-08-19 16:29:41] local.INFO: Packet analysis {"connection_id":158933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a7"} 
[2026-08-19 16:29:41] local.INFO: Extracted packet for processing {"connection_id":158933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a7"} 
[2026-08-19 16:29:41] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854912,"longitude_deg":76.2978112,"latitude_deg":9.8854912,"altitude":10,"angle":8,"satellites":40,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46800","is_valid_coordinates":true} 
[2026-08-19 16:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507012864001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120785123292479488,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800667015886604288,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787136790000,"timestamp_ms":1787136790000,"timestamp_seconds":1787136790,"priority":1,"record_length":96,"hex_timestamp":"000001a019a74df0"} 
[2026-08-19 16:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:29: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-08-19 16:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 16:29: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-08-19 16:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507012864001,"66":13037,"39":206,"87":13824,"24":0,"16":120785123292479488,"45":8800667015886604288},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-19 16:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507012864001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:29:41] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-19 16:29:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-19 16:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120785123292479488,"km_value":120785123292479.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800667015886604288,"description":"Unknown IO ID 45"} 
[2026-08-19 16:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507012864001,"power":13037,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8800667015886604288}} 
[2026-08-19 16:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":158933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:29:41] local.INFO: GPS data processed {"connection_id":158933,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:29:41] local.INFO: Acknowledgment sent {"connection_id":158933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:29:41] local.INFO: TCP Data received {"connection_id":160252,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160252,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:29:41] local.INFO: Processing buffer {"connection_id":160252,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:29:41] local.INFO: IMEI packet received {"connection_id":160252,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":160252,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:29:42] local.INFO: TCP Data received {"connection_id":160252,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a019acb4c0012d0b820007070d300013010c28..."} 
[2026-08-19 16:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019acb4c0012d0b820007070d300013010c28..."} 
[2026-08-19 16:29:42] local.INFO: Processing buffer {"connection_id":160252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019acb4c0012d0b820007070d300013010c28..."} 
[2026-08-19 16:29:42] local.INFO: Packet analysis {"connection_id":160252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ac"} 
[2026-08-19 16:29:42] local.INFO: Extracted packet for processing {"connection_id":160252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ac"} 
[2026-08-19 16:29:42] local.INFO: GPS Element Parsed {"raw_longitude":755728896,"raw_latitude":117902640,"longitude_deg":75.5728896,"latitude_deg":11.790264,"altitude":19,"angle":268,"satellites":40,"speed":27,"hex_longitude":"2d0b8200","hex_latitude":"07070d30","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507106560001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28928503114104832,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":838162142083569664,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:42] 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-08-19 16:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787137144000,"timestamp_ms":1787137144000,"timestamp_seconds":1787137144,"priority":1,"record_length":96,"hex_timestamp":"000001a019acb4c0"} 
[2026-08-19 16:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:29: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-08-19 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 16:29:42] 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-08-19 16: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-08-19 16:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507106560001,"66":14439,"163":206,"94":10240,"24":27,"16":28928503114104832,"45":838162142083569664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-19 16:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507106560001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:29:42] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 16:29:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28928503114104832,"km_value":28928503114104.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":838162142083569664,"description":"Unknown IO ID 45"} 
[2026-08-19 16:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507106560001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":838162142083569664}} 
[2026-08-19 16:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":160252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665694,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:29:42] local.INFO: GPS data processed {"connection_id":160252,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:29:42] local.INFO: Acknowledgment sent {"connection_id":160252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:29:47] local.INFO: TCP Data received {"connection_id":160252,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a019acdfb8012d0b62c0070708f8000f00ff29..."} 
[2026-08-19 16:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019acdfb8012d0b62c0070708f8000f00ff29..."} 
[2026-08-19 16:29:47] local.INFO: Processing buffer {"connection_id":160252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019acdfb8012d0b62c0070708f8000f00ff29..."} 
[2026-08-19 16:29:47] local.INFO: Packet analysis {"connection_id":160252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ac"} 
[2026-08-19 16:29:47] local.INFO: Extracted packet for processing {"connection_id":160252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ac"} 
[2026-08-19 16:29:47] local.INFO: GPS Element Parsed {"raw_longitude":755720896,"raw_latitude":117901560,"longitude_deg":75.5720896,"latitude_deg":11.790156,"altitude":15,"angle":255,"satellites":41,"speed":36,"hex_longitude":"2d0b62c0","hex_latitude":"070708f8","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507108864001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28928885366194176,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829225311572668416,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:47] 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-08-19 16:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787137155000,"timestamp_ms":1787137155000,"timestamp_seconds":1787137155,"priority":1,"record_length":96,"hex_timestamp":"000001a019acdfb8"} 
[2026-08-19 16:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:29: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-08-19 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 16:29:47] 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-08-19 16: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-08-19 16:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507108864001,"66":14407,"163":206,"94":10240,"24":36,"16":28928885366194176,"45":829225311572668416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-19 16:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507108864001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:29:47] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 16:29:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28928885366194176,"km_value":28928885366194.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":829225311572668416,"description":"Unknown IO ID 45"} 
[2026-08-19 16:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507108864001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_45":829225311572668416}} 
[2026-08-19 16:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":160252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665695,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:29:47] local.INFO: GPS data processed {"connection_id":160252,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:29:47] local.INFO: Acknowledgment sent {"connection_id":160252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:29:48] local.INFO: TCP Data received {"connection_id":158072,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019abf170012d16f4c0072070f8002a002827..."} 
[2026-08-19 16:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019abf170012d16f4c0072070f8002a002827..."} 
[2026-08-19 16:29:48] local.INFO: Processing buffer {"connection_id":158072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019abf170012d16f4c0072070f8002a002827..."} 
[2026-08-19 16:29:48] local.INFO: Packet analysis {"connection_id":158072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ab"} 
[2026-08-19 16:29:48] local.INFO: Extracted packet for processing {"connection_id":158072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ab"} 
[2026-08-19 16:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756479168,"raw_latitude":119566584,"longitude_deg":75.6479168,"latitude_deg":11.9566584,"altitude":42,"angle":40,"satellites":39,"speed":45,"hex_longitude":"2d16f4c0","hex_latitude":"072070f8","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507094016001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13867169498529792,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1647473069294774272,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787137094000,"timestamp_ms":1787137094000,"timestamp_seconds":1787137094,"priority":1,"record_length":96,"hex_timestamp":"000001a019abf170"} 
[2026-08-19 16:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-19 16:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733145344,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:48] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503811176595456,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:48] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2873974785,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:48] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637074291583573,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:48] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6269274568389886208,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1783955662,"corrected_to":0} 
[2026-08-19 16:29:48] local.WARNING: Large IO value detected {"io_id":75,"raw_value":2147950581,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:48] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531178,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:48] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:48] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84748256030433248,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:48] local.WARNING: Large IO value detected {"io_id":21,"raw_value":-1044827280115761119,"note":"Value kept but may cause issues"} 
[2026-08-19 16:29:48] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,85,83,24,241,157,16,67,160,178,45,128,58,41,42,10,66,151,39,108,1,240,224,227,25,32,4,113,205,75,168,239,54,2,49,7,28,206,184,21],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1783955662,"validated":0}]} 
[2026-08-19 16:29:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810291432142405632,"timestamp_seconds":2810291432142405.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 16:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":158072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":158072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":158072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507094016001,"66":13863,"107":206,"83":41984,"24":45,"16":13867169498529792,"45":1647473069294774272},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 16:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507094016001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:29:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 16:29:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13867169498529792,"km_value":13867169498529.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1647473069294774272,"description":"Unknown IO ID 45"} 
[2026-08-19 16:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507094016001,"power":13863,"unknown_107":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1647473069294774272}} 
[2026-08-19 16:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":158072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:29:48] local.INFO: GPS data processed {"connection_id":158072,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:29:48] local.INFO: Acknowledgment sent {"connection_id":158072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:29:59] local.INFO: TCP Data received {"connection_id":157711,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:29:59] local.INFO: Processing buffer {"connection_id":157711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:29:59] local.INFO: IMEI packet received {"connection_id":157711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":157711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:30:04] local.INFO: TCP Data received {"connection_id":157711,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:30:04] local.INFO: Processing buffer {"connection_id":157711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:30:04] local.INFO: IMEI packet received {"connection_id":157711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":157711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:30:05] local.INFO: TCP Data received {"connection_id":157711,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:30:05] local.INFO: Processing buffer {"connection_id":157711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:30:05] local.INFO: Packet analysis {"connection_id":157711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:30:05] local.INFO: Extracted packet for processing {"connection_id":157711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506970880001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787136906000,"timestamp_ms":1787136906000,"timestamp_seconds":1787136906,"priority":1,"record_length":96,"hex_timestamp":"000001a019a91310"} 
[2026-08-19 16:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 16:30:05] 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-08-19 16:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506970880001,"66":25756,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506970880001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:30:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:30:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506970880001,"power":25756,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":157711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:30:05] local.INFO: GPS data processed {"connection_id":157711,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:30:05] local.INFO: Acknowledgment sent {"connection_id":157711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:30:08] local.INFO: TCP Data received {"connection_id":157712,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:30:08] local.INFO: Processing buffer {"connection_id":157712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:30:08] local.INFO: IMEI packet received {"connection_id":157712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":157712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:30:09] local.INFO: TCP Data received {"connection_id":157712,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:30:09] local.INFO: Processing buffer {"connection_id":157712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:30:09] local.INFO: IMEI packet received {"connection_id":157712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":157712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:30:12] local.INFO: TCP Data received {"connection_id":158933,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a79ff8012d7a1f0005e468080009000828..."} 
[2026-08-19 16:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a79ff8012d7a1f0005e468080009000828..."} 
[2026-08-19 16:30:12] local.INFO: Processing buffer {"connection_id":158933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a79ff8012d7a1f0005e468080009000828..."} 
[2026-08-19 16:30:12] local.INFO: Packet analysis {"connection_id":158933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a7"} 
[2026-08-19 16:30:12] local.INFO: Extracted packet for processing {"connection_id":158933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a7"} 
[2026-08-19 16:30:12] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98854920,"longitude_deg":76.2978048,"latitude_deg":9.885492,"altitude":9,"angle":8,"satellites":40,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-08-19 16:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507018240001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120785127587446784,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956273664,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787136811000,"timestamp_ms":1787136811000,"timestamp_seconds":1787136811,"priority":1,"record_length":96,"hex_timestamp":"000001a019a79ff8"} 
[2026-08-19 16:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:30: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-08-19 16:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-19 16:30: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-08-19 16:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:30: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-08-19 16:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507018240001,"66":12874,"114":206,"85":15104,"24":0,"16":120785127587446784,"45":8799822590956273664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-08-19 16:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507018240001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:30:12] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-19 16:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120785127587446784,"km_value":120785127587446.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956273664,"description":"Unknown IO ID 45"} 
[2026-08-19 16:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507018240001,"power":12874,"unknown_114":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799822590956273664}} 
[2026-08-19 16:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":158933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:30:12] local.INFO: GPS data processed {"connection_id":158933,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:30:12] local.INFO: Acknowledgment sent {"connection_id":158933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:30:13] local.INFO: TCP Data received {"connection_id":157712,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:30:13] local.INFO: Processing buffer {"connection_id":157712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:30:13] local.INFO: IMEI packet received {"connection_id":157712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":157712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:30:14] local.INFO: TCP Data received {"connection_id":157712,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019ac10b0012d170e4007208c48002b002b26..."} 
[2026-08-19 16:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ac10b0012d170e4007208c48002b002b26..."} 
[2026-08-19 16:30:14] local.INFO: Processing buffer {"connection_id":157712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ac10b0012d170e4007208c48002b002b26..."} 
[2026-08-19 16:30:14] local.INFO: Packet analysis {"connection_id":157712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ac"} 
[2026-08-19 16:30:14] local.INFO: Extracted packet for processing {"connection_id":157712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ac"} 
[2026-08-19 16:30:14] local.INFO: GPS Element Parsed {"raw_longitude":756485696,"raw_latitude":119573576,"longitude_deg":75.6485696,"latitude_deg":11.9573576,"altitude":43,"angle":43,"satellites":38,"speed":48,"hex_longitude":"2d170e40","hex_latitude":"07208c48","is_valid_coordinates":true} 
[2026-08-19 16:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507096064001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13867624765063168,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654158099993393152,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:14] 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-08-19 16:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787137102000,"timestamp_ms":1787137102000,"timestamp_seconds":1787137102,"priority":1,"record_length":96,"hex_timestamp":"000001a019ac10b0"} 
[2026-08-19 16:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:30: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-08-19 16:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-19 16:30:14] 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-08-19 16:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507096064001,"66":14070,"107":206,"83":41984,"24":48,"16":13867624765063168,"45":1654158099993393152},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 16:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507096064001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:30:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 16:30:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13867624765063168,"km_value":13867624765063.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654158099993393152,"description":"Unknown IO ID 45"} 
[2026-08-19 16:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507096064001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1654158099993393152}} 
[2026-08-19 16:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":157712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:30:14] local.INFO: GPS data processed {"connection_id":157712,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:30:14] local.INFO: Acknowledgment sent {"connection_id":157712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:30:19] local.INFO: TCP Data received {"connection_id":160252,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a019ada6f0012d0af40007067148000f00f125..."} 
[2026-08-19 16:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ada6f0012d0af40007067148000f00f125..."} 
[2026-08-19 16:30:19] local.INFO: Processing buffer {"connection_id":160252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ada6f0012d0af40007067148000f00f125..."} 
[2026-08-19 16:30:19] local.INFO: Packet analysis {"connection_id":160252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:30:19] local.INFO: Extracted packet for processing {"connection_id":160252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:30:19] local.INFO: GPS Element Parsed {"raw_longitude":755692544,"raw_latitude":117862728,"longitude_deg":75.5692544,"latitude_deg":11.7862728,"altitude":15,"angle":241,"satellites":37,"speed":16,"hex_longitude":"2d0af400","hex_latitude":"07067148","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507124480001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28931264778076160,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789678077334654976,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:19] 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-08-19 16:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787137206000,"timestamp_ms":1787137206000,"timestamp_seconds":1787137206,"priority":1,"record_length":96,"hex_timestamp":"000001a019ada6f0"} 
[2026-08-19 16:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:30: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-08-19 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 16:30: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-08-19 16: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-08-19 16:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507124480001,"66":14439,"163":206,"94":10240,"24":16,"16":28931264778076160,"45":789678077334654976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-19 16:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507124480001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:30:19] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 16:30:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28931264778076160,"km_value":28931264778076.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":789678077334654976,"description":"Unknown IO ID 45"} 
[2026-08-19 16:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507124480001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":789678077334654976}} 
[2026-08-19 16:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":160252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665700,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:30:20] local.INFO: GPS data processed {"connection_id":160252,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:30:20] local.INFO: Acknowledgment sent {"connection_id":160252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:30:36] local.INFO: TCP Data received {"connection_id":160253,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160253,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:30:36] local.INFO: Processing buffer {"connection_id":160253,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:30:36] local.INFO: IMEI packet received {"connection_id":160253,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":160253,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:30:38] local.INFO: TCP Data received {"connection_id":157711,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:30:38] local.INFO: Processing buffer {"connection_id":157711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a91310012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:30:38] local.INFO: Packet analysis {"connection_id":157711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:30:38] local.INFO: Extracted packet for processing {"connection_id":157711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a9"} 
[2026-08-19 16:30:38] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457506970880001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787136906000,"timestamp_ms":1787136906000,"timestamp_seconds":1787136906,"priority":1,"record_length":96,"hex_timestamp":"000001a019a91310"} 
[2026-08-19 16:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 16:30:38] 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-08-19 16: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-08-19 16:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457506970880001,"66":25756,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457506970880001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:30:38] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:30:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457506970880001,"power":25756,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":157711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:30:38] local.INFO: GPS data processed {"connection_id":157711,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:30:38] local.INFO: Acknowledgment sent {"connection_id":157711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:30:40] local.INFO: TCP Data received {"connection_id":158934,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:30:40] local.INFO: Processing buffer {"connection_id":158934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:30:40] local.INFO: IMEI packet received {"connection_id":158934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 16:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":158934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:30:42] local.INFO: TCP Data received {"connection_id":160253,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160253,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:30:42] local.INFO: Processing buffer {"connection_id":160253,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:30:42] local.INFO: IMEI packet received {"connection_id":160253,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":160253,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:30:43] local.INFO: TCP Data received {"connection_id":160253,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a019adb2a8012d0af10007066fa0001000e023..."} 
[2026-08-19 16:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019adb2a8012d0af10007066fa0001000e023..."} 
[2026-08-19 16:30:43] local.INFO: Processing buffer {"connection_id":160253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019adb2a8012d0af10007066fa0001000e023..."} 
[2026-08-19 16:30:43] local.INFO: Packet analysis {"connection_id":160253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:30:43] local.INFO: Extracted packet for processing {"connection_id":160253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:30:43] local.INFO: GPS Element Parsed {"raw_longitude":755691776,"raw_latitude":117862304,"longitude_deg":75.5691776,"latitude_deg":11.7862304,"altitude":16,"angle":224,"satellites":35,"speed":6,"hex_longitude":"2d0af100","hex_latitude":"07066fa0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507124736001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28931307727749120,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789255864869537792,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:43] 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-08-19 16:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787137209000,"timestamp_ms":1787137209000,"timestamp_seconds":1787137209,"priority":1,"record_length":96,"hex_timestamp":"000001a019adb2a8"} 
[2026-08-19 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-08-19 16:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 16:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 16:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507124736001,"66":14396,"163":206,"94":10240,"24":6,"16":28931307727749120,"45":789255864869537792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-19 16:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507124736001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:30:43] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 16:30:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28931307727749120,"km_value":28931307727749.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":789255864869537792,"description":"Unknown IO ID 45"} 
[2026-08-19 16:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507124736001,"power":14396,"unknown_163":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":789255864869537792}} 
[2026-08-19 16:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":160253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665702,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:30:43] local.INFO: GPS data processed {"connection_id":160253,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:30:43] local.INFO: Acknowledgment sent {"connection_id":160253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:30:45] local.INFO: TCP Data received {"connection_id":158934,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:30:45] local.INFO: Processing buffer {"connection_id":158934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 16:30:45] local.INFO: IMEI packet received {"connection_id":158934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 16:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":158934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:30:45] local.INFO: TCP Data received {"connection_id":157712,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019ac2ff0012d1728000720a548002c003129..."} 
[2026-08-19 16:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ac2ff0012d1728000720a548002c003129..."} 
[2026-08-19 16:30:45] local.INFO: Processing buffer {"connection_id":157712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ac2ff0012d1728000720a548002c003129..."} 
[2026-08-19 16:30:45] local.INFO: Packet analysis {"connection_id":157712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ac"} 
[2026-08-19 16:30:45] local.INFO: Extracted packet for processing {"connection_id":157712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ac"} 
[2026-08-19 16:30:45] local.INFO: GPS Element Parsed {"raw_longitude":756492288,"raw_latitude":119579976,"longitude_deg":75.6492288,"latitude_deg":11.9579976,"altitude":44,"angle":49,"satellites":41,"speed":44,"hex_longitude":"2d172800","hex_latitude":"0720a548","is_valid_coordinates":true} 
[2026-08-19 16:30: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-08-19 16:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507098112001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13868067146694656,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661335711901304832,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:45] 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-08-19 16:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787137110000,"timestamp_ms":1787137110000,"timestamp_seconds":1787137110,"priority":1,"record_length":96,"hex_timestamp":"000001a019ac2ff0"} 
[2026-08-19 16:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:30: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-08-19 16:30: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":246,"data_length":795,"current_offset":136} 
[2026-08-19 16:30:45] 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-08-19 16:30: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-08-19 16:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507098112001,"66":13993,"107":206,"83":41984,"24":44,"16":13868067146694656,"45":1661335711901304832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 16:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507098112001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:30:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 16:30:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13868067146694656,"km_value":13868067146694.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661335711901304832,"description":"Unknown IO ID 45"} 
[2026-08-19 16:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507098112001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1661335711901304832}} 
[2026-08-19 16:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":157712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:30:45] local.INFO: GPS data processed {"connection_id":157712,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:30:45] local.INFO: Acknowledgment sent {"connection_id":157712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:30:46] local.INFO: TCP Data received {"connection_id":158934,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019a7abb0012d7a1f0005e468080009000829..."} 
[2026-08-19 16:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019a7abb0012d7a1f0005e468080009000829..."} 
[2026-08-19 16:30:46] local.INFO: Processing buffer {"connection_id":158934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019a7abb0012d7a1f0005e468080009000829..."} 
[2026-08-19 16:30:46] local.INFO: Packet analysis {"connection_id":158934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019a7"} 
[2026-08-19 16:30:46] local.INFO: Extracted packet for processing {"connection_id":158934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019a7"} 
[2026-08-19 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98854920,"longitude_deg":76.2978048,"latitude_deg":9.885492,"altitude":9,"angle":8,"satellites":41,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e46808","is_valid_coordinates":true} 
[2026-08-19 16:30: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-08-19 16:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507023616001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120785127587446784,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212098048,"note":"Value kept but may cause issues"} 
[2026-08-19 16:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787136814000,"timestamp_ms":1787136814000,"timestamp_seconds":1787136814,"priority":1,"record_length":96,"hex_timestamp":"000001a019a7abb0"} 
[2026-08-19 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-08-19 16: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-08-19 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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-19 16:30:46] 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-08-19 16: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-08-19 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-08-19 16:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 16: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-08-19 16:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 16:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 16:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507023616001,"66":13200,"114":206,"85":15104,"24":0,"16":120785127587446784,"45":8799752222212098048},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-08-19 16:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 16:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 16:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507023616001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:30:46] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-19 16:30:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 16:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120785127587446784,"km_value":120785127587446.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212098048,"description":"Unknown IO ID 45"} 
[2026-08-19 16:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507023616001,"power":13200,"unknown_114":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212098048}} 
[2026-08-19 16:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":158934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:30:46] local.INFO: GPS data processed {"connection_id":158934,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:30:46] local.INFO: Acknowledgment sent {"connection_id":158934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:30:59] local.INFO: TCP Data received {"connection_id":158073,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:30:59] local.INFO: Processing buffer {"connection_id":158073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:30:59] local.INFO: IMEI packet received {"connection_id":158073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":158073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:31:04] local.INFO: TCP Data received {"connection_id":158073,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:31:04] local.INFO: Processing buffer {"connection_id":158073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:31:04] local.INFO: IMEI packet received {"connection_id":158073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":158073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:31:05] local.INFO: TCP Data received {"connection_id":158073,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:31:05] local.INFO: Processing buffer {"connection_id":158073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:31:05] local.INFO: Packet analysis {"connection_id":158073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:31:05] local.INFO: Extracted packet for processing {"connection_id":158073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:31:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507047936001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:31:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787137207000,"timestamp_ms":1787137207000,"timestamp_seconds":1787137207,"priority":1,"record_length":96,"hex_timestamp":"000001a019adaad8"} 
[2026-08-19 16:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 16:31: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-08-19 16:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507047936001,"66":25712,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507047936001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:31:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:31:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507047936001,"power":25712,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":158073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:31:05] local.INFO: GPS data processed {"connection_id":158073,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:31:05] local.INFO: Acknowledgment sent {"connection_id":158073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:31:07] local.INFO: TCP Data received {"connection_id":157713,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:31:07] local.INFO: Processing buffer {"connection_id":157713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:31:07] local.INFO: IMEI packet received {"connection_id":157713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":157713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:31:08] local.INFO: TCP Data received {"connection_id":157713,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:31:08] local.INFO: Processing buffer {"connection_id":157713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:31:08] local.INFO: IMEI packet received {"connection_id":157713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":157713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:31:13] local.INFO: TCP Data received {"connection_id":157713,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:31:13] local.INFO: Processing buffer {"connection_id":157713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:31:13] local.INFO: IMEI packet received {"connection_id":157713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":157713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:31:14] local.INFO: TCP Data received {"connection_id":160253,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a019adc630012d0aefc007066de0001100ab20..."} 
[2026-08-19 16:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019adc630012d0aefc007066de0001100ab20..."} 
[2026-08-19 16:31:14] local.INFO: Processing buffer {"connection_id":160253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019adc630012d0aefc007066de0001100ab20..."} 
[2026-08-19 16:31:14] local.INFO: Packet analysis {"connection_id":160253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:31:14] local.INFO: Extracted packet for processing {"connection_id":160253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:31:14] local.INFO: GPS Element Parsed {"raw_longitude":755691456,"raw_latitude":117861856,"longitude_deg":75.5691456,"latitude_deg":11.7861856,"altitude":17,"angle":171,"satellites":32,"speed":8,"hex_longitude":"2d0aefc0","hex_latitude":"07066de0","is_valid_coordinates":true} 
[2026-08-19 16:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507125504001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28931337792520192,"note":"Value kept but may cause issues"} 
[2026-08-19 16:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788411439939297280,"note":"Value kept but may cause issues"} 
[2026-08-19 16:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787137214000,"timestamp_ms":1787137214000,"timestamp_seconds":1787137214,"priority":1,"record_length":96,"hex_timestamp":"000001a019adc630"} 
[2026-08-19 16:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 16:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160253,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507125504001,"66":14428,"163":206,"94":10240,"24":8,"16":28931337792520192,"45":788411439939297280},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-19 16:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507125504001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:31:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 16:31:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28931337792520192,"km_value":28931337792520.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":788411439939297280,"description":"Unknown IO ID 45"} 
[2026-08-19 16:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507125504001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":788411439939297280}} 
[2026-08-19 16:31:14] local.INFO: TCP Data received {"connection_id":157713,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019add1e8012d1809c007218f680047002d2b..."} 
[2026-08-19 16:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019add1e8012d1809c007218f680047002d2b..."} 
[2026-08-19 16:31:14] local.INFO: Processing buffer {"connection_id":157713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019add1e8012d1809c007218f680047002d2b..."} 
[2026-08-19 16:31:14] local.INFO: Packet analysis {"connection_id":157713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:31:14] local.INFO: Extracted packet for processing {"connection_id":157713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:31:14] local.INFO: GPS Element Parsed {"raw_longitude":756550080,"raw_latitude":119639912,"longitude_deg":75.655008,"latitude_deg":11.9639912,"altitude":71,"angle":45,"satellites":43,"speed":24,"hex_longitude":"2d1809c0","hex_latitude":"07218f68","is_valid_coordinates":true} 
[2026-08-19 16:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507123712001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13872108710920192,"note":"Value kept but may cause issues"} 
[2026-08-19 16:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725723112839628800,"note":"Value kept but may cause issues"} 
[2026-08-19 16:31:14] 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-08-19 16:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787137217000,"timestamp_ms":1787137217000,"timestamp_seconds":1787137217,"priority":1,"record_length":96,"hex_timestamp":"000001a019add1e8"} 
[2026-08-19 16:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:31: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-08-19 16:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 16:31:14] 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-08-19 16:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507123712001,"66":13928,"107":206,"83":41984,"24":24,"16":13872108710920192,"45":1725723112839628800},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 16:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507123712001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:31:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 16:31:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13872108710920192,"km_value":13872108710920.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725723112839628800,"description":"Unknown IO ID 45"} 
[2026-08-19 16:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507123712001,"power":13928,"unknown_107":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1725723112839628800}} 
[2026-08-19 16:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":160253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665706,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:31:14] local.INFO: GPS data processed {"connection_id":160253,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:31:14] local.INFO: Acknowledgment sent {"connection_id":160253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":157713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:31:14] local.INFO: GPS data processed {"connection_id":157713,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:31:14] local.INFO: Acknowledgment sent {"connection_id":157713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:31:36] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:31:36] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:31:36] local.INFO: IMEI packet received {"connection_id":160254,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":160254,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:31:38] local.INFO: TCP Data received {"connection_id":158073,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:31:38] local.INFO: Processing buffer {"connection_id":158073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:31:38] local.INFO: Packet analysis {"connection_id":158073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:31:38] local.INFO: Extracted packet for processing {"connection_id":158073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:31:38] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507047936001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:31:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787137207000,"timestamp_ms":1787137207000,"timestamp_seconds":1787137207,"priority":1,"record_length":96,"hex_timestamp":"000001a019adaad8"} 
[2026-08-19 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-08-19 16:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 16:31:38] 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-08-19 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-08-19 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-08-19 16:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507047936001,"66":25712,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507047936001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:31:38] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:31:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507047936001,"power":25712,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":158073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:31:38] local.INFO: GPS data processed {"connection_id":158073,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:31:38] local.INFO: Acknowledgment sent {"connection_id":158073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:31:38] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:31:38] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:31:38] local.INFO: IMEI packet received {"connection_id":160254,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":160254,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:31:42] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:31:42] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:31:42] local.INFO: IMEI packet received {"connection_id":160254,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":160254,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:31:43] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a019adf8f8012d0af340070660900012009a26..."} 
[2026-08-19 16:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019adf8f8012d0af340070660900012009a26..."} 
[2026-08-19 16:31:43] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019adf8f8012d0af340070660900012009a26..."} 
[2026-08-19 16:31:43] local.INFO: Packet analysis {"connection_id":160254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:31:43] local.INFO: Extracted packet for processing {"connection_id":160254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:31:43] local.INFO: GPS Element Parsed {"raw_longitude":755692352,"raw_latitude":117858448,"longitude_deg":75.5692352,"latitude_deg":11.7858448,"altitude":18,"angle":154,"satellites":38,"speed":19,"hex_longitude":"2d0af340","hex_latitude":"07066090","is_valid_coordinates":true} 
[2026-08-19 16:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507126784001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28931509591212032,"note":"Value kept but may cause issues"} 
[2026-08-19 16:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788059596218294272,"note":"Value kept but may cause issues"} 
[2026-08-19 16:31:43] 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-08-19 16:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787137227000,"timestamp_ms":1787137227000,"timestamp_seconds":1787137227,"priority":1,"record_length":96,"hex_timestamp":"000001a019adf8f8"} 
[2026-08-19 16:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 16:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507126784001,"66":14407,"163":206,"94":10240,"24":19,"16":28931509591212032,"45":788059596218294272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-19 16:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507126784001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:31:43] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-19 16:31:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28931509591212032,"km_value":28931509591212.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":788059596218294272,"description":"Unknown IO ID 45"} 
[2026-08-19 16:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507126784001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":788059596218294272}} 
[2026-08-19 16:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":160254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665709,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:31:43] local.INFO: GPS data processed {"connection_id":160254,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:31:43] local.INFO: Acknowledgment sent {"connection_id":160254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:31:45] local.INFO: TCP Data received {"connection_id":157713,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019aded40012d18124007219a980048001f28..."} 
[2026-08-19 16:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019aded40012d18124007219a980048001f28..."} 
[2026-08-19 16:31:45] local.INFO: Processing buffer {"connection_id":157713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019aded40012d18124007219a980048001f28..."} 
[2026-08-19 16:31:45] local.INFO: Packet analysis {"connection_id":157713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:31:45] local.INFO: Extracted packet for processing {"connection_id":157713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:31:45] local.INFO: GPS Element Parsed {"raw_longitude":756552256,"raw_latitude":119642776,"longitude_deg":75.6552256,"latitude_deg":11.9642776,"altitude":72,"angle":31,"satellites":40,"speed":15,"hex_longitude":"2d181240","hex_latitude":"07219a98","is_valid_coordinates":true} 
[2026-08-19 16:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507127552001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13872280509612032,"note":"Value kept but may cause issues"} 
[2026-08-19 16:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732126668561016832,"note":"Value kept but may cause issues"} 
[2026-08-19 16:31:45] 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-08-19 16:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787137224000,"timestamp_ms":1787137224000,"timestamp_seconds":1787137224,"priority":1,"record_length":96,"hex_timestamp":"000001a019aded40"} 
[2026-08-19 16:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:31: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-08-19 16:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 16:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507127552001,"66":13993,"107":206,"83":41984,"24":15,"16":13872280509612032,"45":1732126668561016832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 16:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507127552001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:31:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 16:31:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13872280509612032,"km_value":13872280509612.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732126668561016832,"description":"Unknown IO ID 45"} 
[2026-08-19 16:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507127552001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1732126668561016832}} 
[2026-08-19 16:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":157713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:31:45] local.INFO: GPS data processed {"connection_id":157713,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:31:45] local.INFO: Acknowledgment sent {"connection_id":157713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:32:04] local.INFO: TCP Data received {"connection_id":158074,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:32:04] local.INFO: Processing buffer {"connection_id":158074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:32:04] local.INFO: IMEI packet received {"connection_id":158074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":158074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:32:09] local.INFO: TCP Data received {"connection_id":157714,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:32:09] local.INFO: Processing buffer {"connection_id":157714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:32:09] local.INFO: IMEI packet received {"connection_id":157714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":157714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:32:09] local.INFO: TCP Data received {"connection_id":158074,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:32:09] local.INFO: Processing buffer {"connection_id":158074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:32:09] local.INFO: IMEI packet received {"connection_id":158074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":158074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:32:10] local.INFO: TCP Data received {"connection_id":157714,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:32:10] local.INFO: Processing buffer {"connection_id":157714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:32:10] local.INFO: IMEI packet received {"connection_id":157714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":157714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:32:10] local.INFO: TCP Data received {"connection_id":158074,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:32:10] local.INFO: Processing buffer {"connection_id":158074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:32:10] local.INFO: Packet analysis {"connection_id":158074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:32:10] local.INFO: Extracted packet for processing {"connection_id":158074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:32:10] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507047936001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787137207000,"timestamp_ms":1787137207000,"timestamp_seconds":1787137207,"priority":1,"record_length":96,"hex_timestamp":"000001a019adaad8"} 
[2026-08-19 16:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 16:32:10] 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-08-19 16:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507047936001,"66":25712,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507047936001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:32:10] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507047936001,"power":25712,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":158074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:32:10] local.INFO: GPS data processed {"connection_id":158074,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:32:10] local.INFO: Acknowledgment sent {"connection_id":158074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:32:13] local.INFO: TCP Data received {"connection_id":157714,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:32:13] local.INFO: Processing buffer {"connection_id":157714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:32:13] local.INFO: IMEI packet received {"connection_id":157714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":157714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:32:14] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a019ae2bc0012d0b0580070641280010009424..."} 
[2026-08-19 16:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ae2bc0012d0b0580070641280010009424..."} 
[2026-08-19 16:32:14] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ae2bc0012d0b0580070641280010009424..."} 
[2026-08-19 16:32:14] local.INFO: Packet analysis {"connection_id":160254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ae"} 
[2026-08-19 16:32:14] local.INFO: Extracted packet for processing {"connection_id":160254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ae"} 
[2026-08-19 16:32:14] local.INFO: GPS Element Parsed {"raw_longitude":755697024,"raw_latitude":117850408,"longitude_deg":75.5697024,"latitude_deg":11.7850408,"altitude":16,"angle":148,"satellites":36,"speed":31,"hex_longitude":"2d0b0580","hex_latitude":"07064128","is_valid_coordinates":true} 
[2026-08-19 16:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507130112001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28931960562778112,"note":"Value kept but may cause issues"} 
[2026-08-19 16:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789044758635909120,"note":"Value kept but may cause issues"} 
[2026-08-19 16:32:14] 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-08-19 16:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787137240000,"timestamp_ms":1787137240000,"timestamp_seconds":1787137240,"priority":1,"record_length":96,"hex_timestamp":"000001a019ae2bc0"} 
[2026-08-19 16:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 16:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160254,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507130112001,"66":14428,"165":206,"94":10240,"24":31,"16":28931960562778112,"45":789044758635909120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-19 16:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507130112001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:32:14] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 16:32:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28931960562778112,"km_value":28931960562778.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":789044758635909120,"description":"Unknown IO ID 45"} 
[2026-08-19 16:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507130112001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":789044758635909120}} 
[2026-08-19 16:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":160254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665712,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:32:14] local.INFO: GPS data processed {"connection_id":160254,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:32:14] local.INFO: Acknowledgment sent {"connection_id":160254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:32:14] local.INFO: TCP Data received {"connection_id":157714,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019ae00c8012d1815000721a0100048001029..."} 
[2026-08-19 16:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ae00c8012d1815000721a0100048001029..."} 
[2026-08-19 16:32:14] local.INFO: Processing buffer {"connection_id":157714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ae00c8012d1815000721a0100048001029..."} 
[2026-08-19 16:32:14] local.INFO: Packet analysis {"connection_id":157714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ae"} 
[2026-08-19 16:32:14] local.INFO: Extracted packet for processing {"connection_id":157714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ae"} 
[2026-08-19 16:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756552960,"raw_latitude":119644176,"longitude_deg":75.655296,"latitude_deg":11.9644176,"altitude":72,"angle":16,"satellites":41,"speed":8,"hex_longitude":"2d181500","hex_latitude":"0721a010","is_valid_coordinates":true} 
[2026-08-19 16:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507129344001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13872357819023360,"note":"Value kept but may cause issues"} 
[2026-08-19 16:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734519205863790592,"note":"Value kept but may cause issues"} 
[2026-08-19 16:32:14] 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-08-19 16:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787137229000,"timestamp_ms":1787137229000,"timestamp_seconds":1787137229,"priority":1,"record_length":96,"hex_timestamp":"000001a019ae00c8"} 
[2026-08-19 16:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:32: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-08-19 16:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 16:32:14] 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-08-19 16:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507129344001,"66":13972,"107":206,"83":41984,"24":8,"16":13872357819023360,"45":1734519205863790592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 16:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507129344001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:32:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 16:32:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13872357819023360,"km_value":13872357819023.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734519205863790592,"description":"Unknown IO ID 45"} 
[2026-08-19 16:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507129344001,"power":13972,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1734519205863790592}} 
[2026-08-19 16:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":157714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:32:14] local.INFO: GPS data processed {"connection_id":157714,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:32:14] local.INFO: Acknowledgment sent {"connection_id":157714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:32:15] local.INFO: TCP Data received {"connection_id":158074,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:32:15] local.INFO: Processing buffer {"connection_id":158074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:32:15] local.INFO: Packet analysis {"connection_id":158074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:32:15] local.INFO: Extracted packet for processing {"connection_id":158074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:32:15] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507047936001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:32:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787137207000,"timestamp_ms":1787137207000,"timestamp_seconds":1787137207,"priority":1,"record_length":96,"hex_timestamp":"000001a019adaad8"} 
[2026-08-19 16:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 16:32:15] 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-08-19 16: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-08-19 16:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507047936001,"66":25712,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507047936001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:32:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:32:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507047936001,"power":25712,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":158074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:32:15] local.INFO: GPS data processed {"connection_id":158074,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:32:15] local.INFO: Acknowledgment sent {"connection_id":158074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:32:36] local.INFO: TCP Data received {"connection_id":157715,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157715,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:32:36] local.INFO: Processing buffer {"connection_id":157715,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:32:36] local.INFO: IMEI packet received {"connection_id":157715,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":157715,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:32:39] local.INFO: TCP Data received {"connection_id":157715,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157715,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:32:39] local.INFO: Processing buffer {"connection_id":157715,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:32:39] local.INFO: IMEI packet received {"connection_id":157715,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":157715,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:32:42] local.INFO: TCP Data received {"connection_id":157715,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157715,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:32:42] local.INFO: Processing buffer {"connection_id":157715,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:32:42] local.INFO: IMEI packet received {"connection_id":157715,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":157715,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:32:42] local.INFO: TCP Data received {"connection_id":157715,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a019ae79e0012d0b11c007062c880011009322..."} 
[2026-08-19 16:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ae79e0012d0b11c007062c880011009322..."} 
[2026-08-19 16:32:42] local.INFO: Processing buffer {"connection_id":157715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ae79e0012d0b11c007062c880011009322..."} 
[2026-08-19 16:32:42] local.INFO: Packet analysis {"connection_id":157715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ae"} 
[2026-08-19 16:32:42] local.INFO: Extracted packet for processing {"connection_id":157715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ae"} 
[2026-08-19 16:32:42] local.INFO: GPS Element Parsed {"raw_longitude":755700160,"raw_latitude":117845128,"longitude_deg":75.570016,"latitude_deg":11.7845128,"altitude":17,"angle":147,"satellites":34,"speed":0,"hex_longitude":"2d0b11c0","hex_latitude":"07062c88","is_valid_coordinates":true} 
[2026-08-19 16:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507133440001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28932256915521536,"note":"Value kept but may cause issues"} 
[2026-08-19 16:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":794181676958820352,"note":"Value kept but may cause issues"} 
[2026-08-19 16:32:42] 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-08-19 16:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787137260000,"timestamp_ms":1787137260000,"timestamp_seconds":1787137260,"priority":1,"record_length":96,"hex_timestamp":"000001a019ae79e0"} 
[2026-08-19 16:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:32: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-08-19 16:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 16:32:42] 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-08-19 16:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507133440001,"66":14428,"165":206,"94":10240,"24":0,"16":28932256915521536,"45":794181676958820352},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-19 16:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507133440001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:32:42] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 16:32:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28932256915521536,"km_value":28932256915521.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":794181676958820352,"description":"Unknown IO ID 45"} 
[2026-08-19 16:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507133440001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":794181676958820352}} 
[2026-08-19 16:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":157715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665715,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:32:43] local.INFO: GPS data processed {"connection_id":157715,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:32:43] local.INFO: Acknowledgment sent {"connection_id":157715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:32:46] local.INFO: TCP Data received {"connection_id":157714,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019ae52d0012d1816000721a198004a001327..."} 
[2026-08-19 16:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ae52d0012d1816000721a198004a001327..."} 
[2026-08-19 16:32:46] local.INFO: Processing buffer {"connection_id":157714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ae52d0012d1816000721a198004a001327..."} 
[2026-08-19 16:32:46] local.INFO: Packet analysis {"connection_id":157714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ae"} 
[2026-08-19 16:32:46] local.INFO: Extracted packet for processing {"connection_id":157714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ae"} 
[2026-08-19 16:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756553216,"raw_latitude":119644568,"longitude_deg":75.6553216,"latitude_deg":11.9644568,"altitude":74,"angle":19,"satellites":39,"speed":0,"hex_longitude":"2d181600","hex_latitude":"0721a198","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507130624001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13872383588827136,"note":"Value kept but may cause issues"} 
[2026-08-19 16:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735293262050103296,"note":"Value kept but may cause issues"} 
[2026-08-19 16:32:46] 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-08-19 16:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787137250000,"timestamp_ms":1787137250000,"timestamp_seconds":1787137250,"priority":1,"record_length":96,"hex_timestamp":"000001a019ae52d0"} 
[2026-08-19 16:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:32: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-08-19 16: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-19 16:32:46] 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-08-19 16: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-08-19 16:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507130624001,"66":13972,"107":206,"83":41984,"24":0,"16":13872383588827136,"45":1735293262050103296},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 16:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507130624001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:32:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 16:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13872383588827136,"km_value":13872383588827.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735293262050103296,"description":"Unknown IO ID 45"} 
[2026-08-19 16:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507130624001,"power":13972,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735293262050103296}} 
[2026-08-19 16:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":157714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:32:46] local.INFO: GPS data processed {"connection_id":157714,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:32:46] local.INFO: Acknowledgment sent {"connection_id":157714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:32:59] local.INFO: TCP Data received {"connection_id":158935,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:32:59] local.INFO: Processing buffer {"connection_id":158935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:32:59] local.INFO: IMEI packet received {"connection_id":158935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":158935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:33:04] local.INFO: TCP Data received {"connection_id":158935,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:33:04] local.INFO: Processing buffer {"connection_id":158935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:33:04] local.INFO: IMEI packet received {"connection_id":158935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":158935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:33:05] local.INFO: TCP Data received {"connection_id":158935,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:33:05] local.INFO: Processing buffer {"connection_id":158935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:33:05] local.INFO: Packet analysis {"connection_id":158935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:33:05] local.INFO: Extracted packet for processing {"connection_id":158935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:33:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507047936001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787137207000,"timestamp_ms":1787137207000,"timestamp_seconds":1787137207,"priority":1,"record_length":96,"hex_timestamp":"000001a019adaad8"} 
[2026-08-19 16:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 16:33: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-08-19 16:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507047936001,"66":25712,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507047936001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:33:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:33:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507047936001,"power":25712,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":158935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:33:05] local.INFO: GPS data processed {"connection_id":158935,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:33:05] local.INFO: Acknowledgment sent {"connection_id":158935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:33:08] local.INFO: TCP Data received {"connection_id":158075,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:33:08] local.INFO: Processing buffer {"connection_id":158075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:33:08] local.INFO: IMEI packet received {"connection_id":158075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":158075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:33:10] local.INFO: TCP Data received {"connection_id":158075,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:33:10] local.INFO: Processing buffer {"connection_id":158075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:33:10] local.INFO: IMEI packet received {"connection_id":158075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":158075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:33:13] local.INFO: TCP Data received {"connection_id":157715,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a019b01fc0012d0b52c007060790001600cb25..."} 
[2026-08-19 16:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b01fc0012d0b52c007060790001600cb25..."} 
[2026-08-19 16:33:13] local.INFO: Processing buffer {"connection_id":157715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b01fc0012d0b52c007060790001600cb25..."} 
[2026-08-19 16:33:13] local.INFO: Packet analysis {"connection_id":157715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b0"} 
[2026-08-19 16:33:13] local.INFO: Extracted packet for processing {"connection_id":157715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b0"} 
[2026-08-19 16:33:13] local.INFO: GPS Element Parsed {"raw_longitude":755716800,"raw_latitude":117835664,"longitude_deg":75.57168,"latitude_deg":11.7835664,"altitude":22,"angle":203,"satellites":37,"speed":4,"hex_longitude":"2d0b52c0","hex_latitude":"07060790","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507163392001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28933429441593344,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816207093882845184,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787137368000,"timestamp_ms":1787137368000,"timestamp_seconds":1787137368,"priority":1,"record_length":96,"hex_timestamp":"000001a019b01fc0"} 
[2026-08-19 16:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 16:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157715,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507163392001,"66":14439,"165":206,"94":10240,"24":4,"16":28933429441593344,"45":816207093882845184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-19 16:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507163392001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:33:13] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 16:33:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28933429441593344,"km_value":28933429441593.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":816207093882845184,"description":"Unknown IO ID 45"} 
[2026-08-19 16:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507163392001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":816207093882845184}} 
[2026-08-19 16:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":157715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665718,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:33:14] local.INFO: GPS data processed {"connection_id":157715,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:33:14] local.INFO: Acknowledgment sent {"connection_id":157715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:33:16] local.INFO: TCP Data received {"connection_id":158075,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:33:16] local.INFO: Processing buffer {"connection_id":158075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:33:16] local.INFO: IMEI packet received {"connection_id":158075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":158075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:33:17] local.INFO: TCP Data received {"connection_id":158075,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019afc9d0012d18508007218b080050007424..."} 
[2026-08-19 16:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019afc9d0012d18508007218b080050007424..."} 
[2026-08-19 16:33:17] local.INFO: Processing buffer {"connection_id":158075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019afc9d0012d18508007218b080050007424..."} 
[2026-08-19 16:33:17] local.INFO: Packet analysis {"connection_id":158075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019af"} 
[2026-08-19 16:33:17] local.INFO: Extracted packet for processing {"connection_id":158075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019af"} 
[2026-08-19 16:33:17] local.INFO: GPS Element Parsed {"raw_longitude":756568192,"raw_latitude":119638792,"longitude_deg":75.6568192,"latitude_deg":11.9638792,"altitude":80,"angle":116,"satellites":36,"speed":37,"hex_longitude":"2d185080","hex_latitude":"07218b08","is_valid_coordinates":true} 
[2026-08-19 16:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507157504001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13873238287319040,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211656192,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:17] 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-08-19 16:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787137346000,"timestamp_ms":1787137346000,"timestamp_seconds":1787137346,"priority":1,"record_length":96,"hex_timestamp":"000001a019afc9d0"} 
[2026-08-19 16:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:33:17] 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-08-19 16:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-19 16:33:17] 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-08-19 16:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507157504001,"66":14374,"106":206,"83":41984,"24":37,"16":13873238287319040,"45":1742400505211656192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 16:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507157504001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:33:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 16:33:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13873238287319040,"km_value":13873238287319.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211656192,"description":"Unknown IO ID 45"} 
[2026-08-19 16:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507157504001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1742400505211656192}} 
[2026-08-19 16:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":158075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:33:17] local.INFO: GPS data processed {"connection_id":158075,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:33:17] local.INFO: Acknowledgment sent {"connection_id":158075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:33:37] local.INFO: TCP Data received {"connection_id":158935,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:33:37] local.INFO: Processing buffer {"connection_id":158935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:33:37] local.INFO: Packet analysis {"connection_id":158935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:33:37] local.INFO: Extracted packet for processing {"connection_id":158935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507047936001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787137207000,"timestamp_ms":1787137207000,"timestamp_seconds":1787137207,"priority":1,"record_length":96,"hex_timestamp":"000001a019adaad8"} 
[2026-08-19 16:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 16:33:37] 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-08-19 16: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-08-19 16:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507047936001,"66":25712,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507047936001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:33:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:33:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507047936001,"power":25712,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":158935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:33:37] local.INFO: GPS data processed {"connection_id":158935,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:33:37] local.INFO: Acknowledgment sent {"connection_id":158935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:33:38] local.INFO: TCP Data received {"connection_id":157716,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157716,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:33:38] local.INFO: Processing buffer {"connection_id":157716,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:33:38] local.INFO: IMEI packet received {"connection_id":157716,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":157716,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:33:41] local.INFO: TCP Data received {"connection_id":157716,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157716,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:33:41] local.INFO: Processing buffer {"connection_id":157716,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:33:41] local.INFO: IMEI packet received {"connection_id":157716,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":157716,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:33:45] local.INFO: TCP Data received {"connection_id":157716,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157716,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:33:45] local.INFO: Processing buffer {"connection_id":157716,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:33:45] local.INFO: IMEI packet received {"connection_id":157716,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":157716,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:33:45] local.INFO: TCP Data received {"connection_id":157716,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a019b06de0012d0b4f0007060068001400ce26..."} 
[2026-08-19 16:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b06de0012d0b4f0007060068001400ce26..."} 
[2026-08-19 16:33:45] local.INFO: Processing buffer {"connection_id":157716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b06de0012d0b4f0007060068001400ce26..."} 
[2026-08-19 16:33:45] local.INFO: Packet analysis {"connection_id":157716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b0"} 
[2026-08-19 16:33:45] local.INFO: Extracted packet for processing {"connection_id":157716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b0"} 
[2026-08-19 16:33:45] local.INFO: GPS Element Parsed {"raw_longitude":755715840,"raw_latitude":117833832,"longitude_deg":75.571584,"latitude_deg":11.7833832,"altitude":20,"angle":206,"satellites":38,"speed":3,"hex_longitude":"2d0b4f00","hex_latitude":"07060068","is_valid_coordinates":true} 
[2026-08-19 16:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507166208001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28933532520808448,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815925618905944064,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787137388000,"timestamp_ms":1787137388000,"timestamp_seconds":1787137388,"priority":1,"record_length":96,"hex_timestamp":"000001a019b06de0"} 
[2026-08-19 16:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 16:33: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-08-19 16:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507166208001,"66":14396,"165":206,"94":10240,"24":3,"16":28933532520808448,"45":815925618905944064},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-19 16:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507166208001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:33:45] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 16:33:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28933532520808448,"km_value":28933532520808.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":815925618905944064,"description":"Unknown IO ID 45"} 
[2026-08-19 16:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507166208001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":815925618905944064}} 
[2026-08-19 16:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":157716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665721,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:33:45] local.INFO: GPS data processed {"connection_id":157716,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:33:45] local.INFO: Acknowledgment sent {"connection_id":157716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:33:47] local.INFO: TCP Data received {"connection_id":157716,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a019b075b0012d0b4ec007060000001400db26..."} 
[2026-08-19 16:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b075b0012d0b4ec007060000001400db26..."} 
[2026-08-19 16:33:47] local.INFO: Processing buffer {"connection_id":157716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b075b0012d0b4ec007060000001400db26..."} 
[2026-08-19 16:33:47] local.INFO: Packet analysis {"connection_id":157716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b0"} 
[2026-08-19 16:33:47] local.INFO: Extracted packet for processing {"connection_id":157716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b0"} 
[2026-08-19 16:33:47] local.INFO: GPS Element Parsed {"raw_longitude":755715776,"raw_latitude":117833728,"longitude_deg":75.5715776,"latitude_deg":11.7833728,"altitude":20,"angle":219,"satellites":38,"speed":2,"hex_longitude":"2d0b4ec0","hex_latitude":"07060000","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507171328001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28933541110743040,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814870087742810112,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787137390000,"timestamp_ms":1787137390000,"timestamp_seconds":1787137390,"priority":1,"record_length":96,"hex_timestamp":"000001a019b075b0"} 
[2026-08-19 16:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:33: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-08-19 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 16:33:47] 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-08-19 16: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-08-19 16:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507171328001,"66":14407,"165":206,"94":10240,"24":2,"16":28933541110743040,"45":814870087742810112},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-19 16:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507171328001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:33:47] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 16:33:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28933541110743040,"km_value":28933541110743.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":814870087742810112,"description":"Unknown IO ID 45"} 
[2026-08-19 16:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507171328001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":814870087742810112}} 
[2026-08-19 16:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":157716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665722,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:33:47] local.INFO: GPS data processed {"connection_id":157716,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:33:47] local.INFO: Acknowledgment sent {"connection_id":157716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:33:47] local.INFO: TCP Data received {"connection_id":158075,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019afe140012d1866c0072181b80050006526..."} 
[2026-08-19 16:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019afe140012d1866c0072181b80050006526..."} 
[2026-08-19 16:33:47] local.INFO: Processing buffer {"connection_id":158075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019afe140012d1866c0072181b80050006526..."} 
[2026-08-19 16:33:47] local.INFO: Packet analysis {"connection_id":158075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019af"} 
[2026-08-19 16:33:47] local.INFO: Extracted packet for processing {"connection_id":158075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019af"} 
[2026-08-19 16:33:47] local.INFO: GPS Element Parsed {"raw_longitude":756573888,"raw_latitude":119636408,"longitude_deg":75.6573888,"latitude_deg":11.9636408,"altitude":80,"angle":101,"satellites":38,"speed":38,"hex_longitude":"2d1866c0","hex_latitude":"072181b8","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507160576001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13873530345095168,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752041023163009024,"note":"Value kept but may cause issues"} 
[2026-08-19 16:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787137352000,"timestamp_ms":1787137352000,"timestamp_seconds":1787137352,"priority":1,"record_length":96,"hex_timestamp":"000001a019afe140"} 
[2026-08-19 16:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 16:33:47] 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-08-19 16: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-08-19 16:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507160576001,"66":14396,"106":206,"83":41984,"24":38,"16":13873530345095168,"45":1752041023163009024},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 16:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507160576001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:33:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 16:33:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13873530345095168,"km_value":13873530345095.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752041023163009024,"description":"Unknown IO ID 45"} 
[2026-08-19 16:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507160576001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1752041023163009024}} 
[2026-08-19 16:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":158075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:33:48] local.INFO: GPS data processed {"connection_id":158075,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:33:48] local.INFO: Acknowledgment sent {"connection_id":158075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:33:59] local.INFO: TCP Data received {"connection_id":158936,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:33:59] local.INFO: Processing buffer {"connection_id":158936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:33:59] local.INFO: IMEI packet received {"connection_id":158936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":158936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:34:04] local.INFO: TCP Data received {"connection_id":158936,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:34:04] local.INFO: Processing buffer {"connection_id":158936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:34:04] local.INFO: IMEI packet received {"connection_id":158936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":158936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:34:06] local.INFO: TCP Data received {"connection_id":158936,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:34:06] local.INFO: Processing buffer {"connection_id":158936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:34:06] local.INFO: Packet analysis {"connection_id":158936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:34:06] local.INFO: Extracted packet for processing {"connection_id":158936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:34:06] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507047936001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:34:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787137207000,"timestamp_ms":1787137207000,"timestamp_seconds":1787137207,"priority":1,"record_length":96,"hex_timestamp":"000001a019adaad8"} 
[2026-08-19 16:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 16:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507047936001,"66":25712,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507047936001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:34:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:34:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507047936001,"power":25712,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":158936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:34:06] local.INFO: GPS data processed {"connection_id":158936,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:34:06] local.INFO: Acknowledgment sent {"connection_id":158936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:34:13] local.INFO: TCP Data received {"connection_id":158937,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:34:13] local.INFO: Processing buffer {"connection_id":158937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:34:13] local.INFO: IMEI packet received {"connection_id":158937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":158937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:34:15] local.INFO: TCP Data received {"connection_id":158937,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:34:15] local.INFO: Processing buffer {"connection_id":158937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:34:15] local.INFO: IMEI packet received {"connection_id":158937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":158937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:34:16] local.INFO: TCP Data received {"connection_id":158937,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019b08168012d18d14007212840004900a025..."} 
[2026-08-19 16:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b08168012d18d14007212840004900a025..."} 
[2026-08-19 16:34:16] local.INFO: Processing buffer {"connection_id":158937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b08168012d18d14007212840004900a025..."} 
[2026-08-19 16:34:16] local.INFO: Packet analysis {"connection_id":158937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b0"} 
[2026-08-19 16:34:16] local.INFO: Extracted packet for processing {"connection_id":158937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b0"} 
[2026-08-19 16:34:16] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119613504,"longitude_deg":75.6601152,"latitude_deg":11.9613504,"altitude":73,"angle":160,"satellites":37,"speed":38,"hex_longitude":"2d18d140","hex_latitude":"07212840","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507171840001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13875463080378368,"note":"Value kept but may cause issues"} 
[2026-08-19 16:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786732814036781056,"note":"Value kept but may cause issues"} 
[2026-08-19 16:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787137393000,"timestamp_ms":1787137393000,"timestamp_seconds":1787137393,"priority":1,"record_length":96,"hex_timestamp":"000001a019b08168"} 
[2026-08-19 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-08-19 16:34: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-08-19 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-19 16:34:16] 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-08-19 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-08-19 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-08-19 16:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507171840001,"66":14396,"103":206,"83":41984,"24":38,"16":13875463080378368,"45":1786732814036781056},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 16:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507171840001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:34:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 16:34:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13875463080378368,"km_value":13875463080378.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786732814036781056,"description":"Unknown IO ID 45"} 
[2026-08-19 16:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507171840001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1786732814036781056}} 
[2026-08-19 16:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":158937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:34:16] local.INFO: GPS data processed {"connection_id":158937,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:34:16] local.INFO: Acknowledgment sent {"connection_id":158937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:34:18] local.INFO: TCP Data received {"connection_id":157716,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a019b094f0012d0b4d400705fea0001300ed26..."} 
[2026-08-19 16:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b094f0012d0b4d400705fea0001300ed26..."} 
[2026-08-19 16:34:18] local.INFO: Processing buffer {"connection_id":157716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b094f0012d0b4d400705fea0001300ed26..."} 
[2026-08-19 16:34:18] local.INFO: Packet analysis {"connection_id":157716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b0"} 
[2026-08-19 16:34:18] local.INFO: Extracted packet for processing {"connection_id":157716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b0"} 
[2026-08-19 16:34:18] local.INFO: GPS Element Parsed {"raw_longitude":755715392,"raw_latitude":117833376,"longitude_deg":75.5715392,"latitude_deg":11.7833376,"altitude":19,"angle":237,"satellites":38,"speed":2,"hex_longitude":"2d0b4d40","hex_latitude":"0705fea0","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507171840001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28933566880546816,"note":"Value kept but may cause issues"} 
[2026-08-19 16:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814799718998605824,"note":"Value kept but may cause issues"} 
[2026-08-19 16:34:18] 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-08-19 16:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787137398000,"timestamp_ms":1787137398000,"timestamp_seconds":1787137398,"priority":1,"record_length":96,"hex_timestamp":"000001a019b094f0"} 
[2026-08-19 16:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 16:34:18] 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-08-19 16: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-08-19 16:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157716,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507171840001,"66":14428,"165":206,"94":10240,"24":2,"16":28933566880546816,"45":814799718998605824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-19 16:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507171840001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:34:18] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 16:34:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28933566880546816,"km_value":28933566880546.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":814799718998605824,"description":"Unknown IO ID 45"} 
[2026-08-19 16:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507171840001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":814799718998605824}} 
[2026-08-19 16:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":157716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665726,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:34:18] local.INFO: GPS data processed {"connection_id":157716,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:34:18] local.INFO: Acknowledgment sent {"connection_id":157716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:34:19] local.INFO: TCP Data received {"connection_id":158937,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019b08938012d18d240072120b8004800b223..."} 
[2026-08-19 16:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b08938012d18d240072120b8004800b223..."} 
[2026-08-19 16:34:19] local.INFO: Processing buffer {"connection_id":158937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b08938012d18d240072120b8004800b223..."} 
[2026-08-19 16:34:19] local.INFO: Packet analysis {"connection_id":158937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b0"} 
[2026-08-19 16:34:19] local.INFO: Extracted packet for processing {"connection_id":158937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b0"} 
[2026-08-19 16:34:19] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119611576,"longitude_deg":75.6601408,"latitude_deg":11.9611576,"altitude":72,"angle":178,"satellites":35,"speed":39,"hex_longitude":"2d18d240","hex_latitude":"072120b8","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507172608001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13875557569658880,"note":"Value kept but may cause issues"} 
[2026-08-19 16:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926408032256,"note":"Value kept but may cause issues"} 
[2026-08-19 16:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787137395000,"timestamp_ms":1787137395000,"timestamp_seconds":1787137395,"priority":1,"record_length":96,"hex_timestamp":"000001a019b08938"} 
[2026-08-19 16:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":60,"data_length":795,"current_offset":136} 
[2026-08-19 16:34: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-08-19 16: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-08-19 16:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507172608001,"66":14396,"103":206,"83":41984,"24":39,"16":13875557569658880,"45":1788280926408032256},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 16:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507172608001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:34:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 16:34:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13875557569658880,"km_value":13875557569658.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926408032256,"description":"Unknown IO ID 45"} 
[2026-08-19 16:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507172608001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1788280926408032256}} 
[2026-08-19 16:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":158937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:34:19] local.INFO: GPS data processed {"connection_id":158937,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:34:19] local.INFO: Acknowledgment sent {"connection_id":158937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:34:39] local.INFO: TCP Data received {"connection_id":158936,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:34:39] local.INFO: Processing buffer {"connection_id":158936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:34:39] local.INFO: Packet analysis {"connection_id":158936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:34:39] local.INFO: Extracted packet for processing {"connection_id":158936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:34:39] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507047936001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:34:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787137207000,"timestamp_ms":1787137207000,"timestamp_seconds":1787137207,"priority":1,"record_length":96,"hex_timestamp":"000001a019adaad8"} 
[2026-08-19 16:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:34: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-08-19 16:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 16:34:39] 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-08-19 16:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507047936001,"66":25712,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507047936001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:34:39] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:34:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507047936001,"power":25712,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":158936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:34:39] local.INFO: GPS data processed {"connection_id":158936,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:34:39] local.INFO: Acknowledgment sent {"connection_id":158936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:34:41] local.INFO: TCP Data received {"connection_id":158076,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:34:41] local.INFO: Processing buffer {"connection_id":158076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:34:41] local.INFO: IMEI packet received {"connection_id":158076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":158076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:34:51] local.INFO: TCP Data received {"connection_id":158937,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019b0a0a8012d18d38007210890004400a625..."} 
[2026-08-19 16:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b0a0a8012d18d38007210890004400a625..."} 
[2026-08-19 16:34:51] local.INFO: Processing buffer {"connection_id":158937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b0a0a8012d18d38007210890004400a625..."} 
[2026-08-19 16:34:51] local.INFO: Packet analysis {"connection_id":158937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b0"} 
[2026-08-19 16:34:51] local.INFO: Extracted packet for processing {"connection_id":158937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b0"} 
[2026-08-19 16:34:51] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119605392,"longitude_deg":75.6601728,"latitude_deg":11.9605392,"altitude":68,"angle":166,"satellites":37,"speed":41,"hex_longitude":"2d18d380","hex_latitude":"07210890","is_valid_coordinates":true} 
[2026-08-19 16:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507173120001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13875858217369600,"note":"Value kept but may cause issues"} 
[2026-08-19 16:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384249344,"note":"Value kept but may cause issues"} 
[2026-08-19 16:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787137401000,"timestamp_ms":1787137401000,"timestamp_seconds":1787137401,"priority":1,"record_length":96,"hex_timestamp":"000001a019b0a0a8"} 
[2026-08-19 16:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:34: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-08-19 16:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 16:34: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-08-19 16:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":158937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":158937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":158937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507173120001,"66":14428,"103":206,"83":41984,"24":41,"16":13875858217369600,"45":1788562401384249344},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 16:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507173120001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:34:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 16:34:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13875858217369600,"km_value":13875858217369.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384249344,"description":"Unknown IO ID 45"} 
[2026-08-19 16:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507173120001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1788562401384249344}} 
[2026-08-19 16:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":158937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:34:51] local.INFO: GPS data processed {"connection_id":158937,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:34:51] local.INFO: Acknowledgment sent {"connection_id":158937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:34:59] local.INFO: TCP Data received {"connection_id":157717,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:34:59] local.INFO: Processing buffer {"connection_id":157717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:34:59] local.INFO: IMEI packet received {"connection_id":157717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":157717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:35:04] local.INFO: TCP Data received {"connection_id":157717,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:35:04] local.INFO: Processing buffer {"connection_id":157717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:35:04] local.INFO: IMEI packet received {"connection_id":157717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":157717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:35:06] local.INFO: TCP Data received {"connection_id":157717,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:35:06] local.INFO: Processing buffer {"connection_id":157717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:35:06] local.INFO: Packet analysis {"connection_id":157717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:35:06] local.INFO: Extracted packet for processing {"connection_id":157717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:35:06] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507047936001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:35:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787137207000,"timestamp_ms":1787137207000,"timestamp_seconds":1787137207,"priority":1,"record_length":96,"hex_timestamp":"000001a019adaad8"} 
[2026-08-19 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-08-19 16:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 16:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 16:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507047936001,"66":25712,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507047936001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:35:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:35:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507047936001,"power":25712,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":157717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:35:06] local.INFO: GPS data processed {"connection_id":157717,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:35:06] local.INFO: Acknowledgment sent {"connection_id":157717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:35:07] local.INFO: TCP Data received {"connection_id":157718,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:35:07] local.INFO: Processing buffer {"connection_id":157718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:35:07] local.INFO: IMEI packet received {"connection_id":157718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":157718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:35:08] local.INFO: TCP Data received {"connection_id":157718,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:35:08] local.INFO: Processing buffer {"connection_id":157718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:35:08] local.INFO: IMEI packet received {"connection_id":157718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":157718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:35:13] local.INFO: TCP Data received {"connection_id":157718,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:35:13] local.INFO: Processing buffer {"connection_id":157718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:35:13] local.INFO: IMEI packet received {"connection_id":157718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":157718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:35:14] local.INFO: TCP Data received {"connection_id":157718,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019b0ac60012d18d7800720fdc00043009625..."} 
[2026-08-19 16:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b0ac60012d18d7800720fdc00043009625..."} 
[2026-08-19 16:35:14] local.INFO: Processing buffer {"connection_id":157718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b0ac60012d18d7800720fdc00043009625..."} 
[2026-08-19 16:35:14] local.INFO: Packet analysis {"connection_id":157718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b0"} 
[2026-08-19 16:35:14] local.INFO: Extracted packet for processing {"connection_id":157718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b0"} 
[2026-08-19 16:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756602752,"raw_latitude":119602624,"longitude_deg":75.6602752,"latitude_deg":11.9602624,"altitude":67,"angle":150,"satellites":37,"speed":37,"hex_longitude":"2d18d780","hex_latitude":"0720fdc0","is_valid_coordinates":true} 
[2026-08-19 16:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507174656001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13875999951290368,"note":"Value kept but may cause issues"} 
[2026-08-19 16:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245103554560,"note":"Value kept but may cause issues"} 
[2026-08-19 16:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787137404000,"timestamp_ms":1787137404000,"timestamp_seconds":1787137404,"priority":1,"record_length":96,"hex_timestamp":"000001a019b0ac60"} 
[2026-08-19 16:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:35: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-08-19 16:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 16:35: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-08-19 16:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507174656001,"66":14363,"103":206,"83":41984,"24":37,"16":13875999951290368,"45":1788914245103554560},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 16:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507174656001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:35:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 16:35:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13875999951290368,"km_value":13875999951290.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245103554560,"description":"Unknown IO ID 45"} 
[2026-08-19 16:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507174656001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1788914245103554560}} 
[2026-08-19 16:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":157718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:35:14] local.INFO: GPS data processed {"connection_id":157718,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:35:14] local.INFO: Acknowledgment sent {"connection_id":157718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:35:38] local.INFO: TCP Data received {"connection_id":157717,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:35:38] local.INFO: Processing buffer {"connection_id":157717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019adaad8012ceb4ac00713cf800015007129..."} 
[2026-08-19 16:35:38] local.INFO: Packet analysis {"connection_id":157717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:35:38] local.INFO: Extracted packet for processing {"connection_id":157717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ad"} 
[2026-08-19 16:35:38] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":41,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507047936001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:35:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787137207000,"timestamp_ms":1787137207000,"timestamp_seconds":1787137207,"priority":1,"record_length":96,"hex_timestamp":"000001a019adaad8"} 
[2026-08-19 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-08-19 16:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-19 16:35:38] 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-08-19 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-08-19 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-08-19 16:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507047936001,"66":25712,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507047936001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:35:38] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:35:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507047936001,"power":25712,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":157717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:35:38] local.INFO: GPS data processed {"connection_id":157717,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:35:38] local.INFO: Acknowledgment sent {"connection_id":157717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:35:41] local.INFO: TCP Data received {"connection_id":158076,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-19 16:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158076,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-19 16:35:41] local.INFO: Processing buffer {"connection_id":158076,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-19 16:35:41] local.INFO: IMEI packet received {"connection_id":158076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":158076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:35:45] local.INFO: TCP Data received {"connection_id":157718,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019b21b90012d198f800720b4400037004b27..."} 
[2026-08-19 16:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b21b90012d198f800720b4400037004b27..."} 
[2026-08-19 16:35:45] local.INFO: Processing buffer {"connection_id":157718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b21b90012d198f800720b4400037004b27..."} 
[2026-08-19 16:35:45] local.INFO: Packet analysis {"connection_id":157718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:35:45] local.INFO: Extracted packet for processing {"connection_id":157718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:35:45] local.INFO: GPS Element Parsed {"raw_longitude":756649856,"raw_latitude":119583808,"longitude_deg":75.6649856,"latitude_deg":11.9583808,"altitude":55,"angle":75,"satellites":39,"speed":9,"hex_longitude":"2d198f80","hex_latitude":"0720b440","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507199488001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13878628471275520,"note":"Value kept but may cause issues"} 
[2026-08-19 16:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841831540719632384,"note":"Value kept but may cause issues"} 
[2026-08-19 16:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787137498000,"timestamp_ms":1787137498000,"timestamp_seconds":1787137498,"priority":1,"record_length":96,"hex_timestamp":"000001a019b21b90"} 
[2026-08-19 16:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:35: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-08-19 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 16:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507199488001,"66":14396,"103":206,"83":41984,"24":9,"16":13878628471275520,"45":1841831540719632384},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 16:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507199488001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:35:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 16:35:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13878628471275520,"km_value":13878628471275.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841831540719632384,"description":"Unknown IO ID 45"} 
[2026-08-19 16:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507199488001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1841831540719632384}} 
[2026-08-19 16:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":157718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:35:45] local.INFO: GPS data processed {"connection_id":157718,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:35:45] local.INFO: Acknowledgment sent {"connection_id":157718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:35:46] local.INFO: TCP Data received {"connection_id":158938,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158938,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:35:46] local.INFO: Processing buffer {"connection_id":158938,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:35:46] local.INFO: IMEI packet received {"connection_id":158938,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":158938,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:35:59] local.INFO: TCP Data received {"connection_id":158939,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:35:59] local.INFO: Processing buffer {"connection_id":158939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:35:59] local.INFO: IMEI packet received {"connection_id":158939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":158939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:36:04] local.INFO: TCP Data received {"connection_id":158939,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:36:04] local.INFO: Processing buffer {"connection_id":158939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:36:04] local.INFO: IMEI packet received {"connection_id":158939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":158939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:36:05] local.INFO: TCP Data received {"connection_id":158939,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:36:05] local.INFO: Processing buffer {"connection_id":158939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:36:05] local.INFO: Packet analysis {"connection_id":158939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:36:05] local.INFO: Extracted packet for processing {"connection_id":158939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:36:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507124992001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:36:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787137508000,"timestamp_ms":1787137508000,"timestamp_seconds":1787137508,"priority":1,"record_length":96,"hex_timestamp":"000001a019b242a0"} 
[2026-08-19 16:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 16:36:05] 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-08-19 16:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507124992001,"66":25702,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507124992001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:36:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:36:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507124992001,"power":25702,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":158939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:36:05] local.INFO: GPS data processed {"connection_id":158939,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:36:05] local.INFO: Acknowledgment sent {"connection_id":158939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:36:06] local.INFO: TCP Data received {"connection_id":160256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:36:06] local.INFO: Processing buffer {"connection_id":160256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:36:06] local.INFO: IMEI packet received {"connection_id":160256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":160256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:36:07] local.INFO: TCP Data received {"connection_id":160256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:36:07] local.INFO: Processing buffer {"connection_id":160256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:36:07] local.INFO: IMEI packet received {"connection_id":160256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":160256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:36:08] local.INFO: TCP Data received {"connection_id":160256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:36:08] local.INFO: Processing buffer {"connection_id":160256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:36:08] local.INFO: IMEI packet received {"connection_id":160256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":160256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:36:08] local.INFO: TCP Data received {"connection_id":160256,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:36:08] local.INFO: Processing buffer {"connection_id":160256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:36:08] local.INFO: IMEI packet received {"connection_id":160256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":160256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:36:38] local.INFO: TCP Data received {"connection_id":158939,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:36:38] local.INFO: Processing buffer {"connection_id":158939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:36:38] local.INFO: Packet analysis {"connection_id":158939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:36:38] local.INFO: Extracted packet for processing {"connection_id":158939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:36:38] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507124992001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:36:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787137508000,"timestamp_ms":1787137508000,"timestamp_seconds":1787137508,"priority":1,"record_length":96,"hex_timestamp":"000001a019b242a0"} 
[2026-08-19 16:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 16:36:38] 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-08-19 16:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507124992001,"66":25702,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507124992001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:36:38] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:36:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507124992001,"power":25702,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":158939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:36:38] local.INFO: GPS data processed {"connection_id":158939,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:36:38] local.INFO: Acknowledgment sent {"connection_id":158939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:36:59] local.INFO: TCP Data received {"connection_id":158940,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:36:59] local.INFO: Processing buffer {"connection_id":158940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:36:59] local.INFO: IMEI packet received {"connection_id":158940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":158940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:37:04] local.INFO: TCP Data received {"connection_id":158940,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:37:04] local.INFO: Processing buffer {"connection_id":158940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:37:04] local.INFO: IMEI packet received {"connection_id":158940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":158940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:37:06] local.INFO: TCP Data received {"connection_id":158940,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:37:06] local.INFO: Processing buffer {"connection_id":158940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:37:06] local.INFO: Packet analysis {"connection_id":158940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:37:06] local.INFO: Extracted packet for processing {"connection_id":158940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:37:06] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507124992001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:37:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787137508000,"timestamp_ms":1787137508000,"timestamp_seconds":1787137508,"priority":1,"record_length":96,"hex_timestamp":"000001a019b242a0"} 
[2026-08-19 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-08-19 16:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 16:37:06] 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-08-19 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-08-19 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-08-19 16:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507124992001,"66":25702,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507124992001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:37:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:37:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507124992001,"power":25702,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":158940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:37:06] local.INFO: GPS data processed {"connection_id":158940,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:37:06] local.INFO: Acknowledgment sent {"connection_id":158940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:37:39] local.INFO: TCP Data received {"connection_id":158940,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:37:39] local.INFO: Processing buffer {"connection_id":158940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:37:39] local.INFO: Packet analysis {"connection_id":158940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:37:39] local.INFO: Extracted packet for processing {"connection_id":158940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:37:39] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507124992001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:37:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787137508000,"timestamp_ms":1787137508000,"timestamp_seconds":1787137508,"priority":1,"record_length":96,"hex_timestamp":"000001a019b242a0"} 
[2026-08-19 16:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:37: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-08-19 16: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 16:37:39] 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-08-19 16: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-08-19 16:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507124992001,"66":25702,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507124992001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:37:39] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:37:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507124992001,"power":25702,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":158940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:37:39] local.INFO: GPS data processed {"connection_id":158940,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:37:39] local.INFO: Acknowledgment sent {"connection_id":158940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:37:59] local.INFO: TCP Data received {"connection_id":160257,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:37:59] local.INFO: Processing buffer {"connection_id":160257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:37:59] local.INFO: IMEI packet received {"connection_id":160257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":160257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:38:04] local.INFO: TCP Data received {"connection_id":160257,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:38:04] local.INFO: Processing buffer {"connection_id":160257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:38:04] local.INFO: IMEI packet received {"connection_id":160257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":160257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:38:06] local.INFO: TCP Data received {"connection_id":160257,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:38:06] local.INFO: Processing buffer {"connection_id":160257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:38:06] local.INFO: Packet analysis {"connection_id":160257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:38:06] local.INFO: Extracted packet for processing {"connection_id":160257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:38:06] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507124992001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:38:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787137508000,"timestamp_ms":1787137508000,"timestamp_seconds":1787137508,"priority":1,"record_length":96,"hex_timestamp":"000001a019b242a0"} 
[2026-08-19 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-08-19 16:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 16:38:06] 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-08-19 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-08-19 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-08-19 16:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507124992001,"66":25702,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507124992001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:38:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:38:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507124992001,"power":25702,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":160257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:38:06] local.INFO: GPS data processed {"connection_id":160257,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:38:06] local.INFO: Acknowledgment sent {"connection_id":160257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:38:38] local.INFO: TCP Data received {"connection_id":160257,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:38:38] local.INFO: Processing buffer {"connection_id":160257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:38:38] local.INFO: Packet analysis {"connection_id":160257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:38:38] local.INFO: Extracted packet for processing {"connection_id":160257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:38:38] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507124992001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:38:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787137508000,"timestamp_ms":1787137508000,"timestamp_seconds":1787137508,"priority":1,"record_length":96,"hex_timestamp":"000001a019b242a0"} 
[2026-08-19 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-08-19 16:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 16:38:38] 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-08-19 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-08-19 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-08-19 16:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507124992001,"66":25702,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507124992001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:38:38] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:38:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507124992001,"power":25702,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":160257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:38:38] local.INFO: GPS data processed {"connection_id":160257,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:38:38] local.INFO: Acknowledgment sent {"connection_id":160257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:39:04] local.INFO: TCP Data received {"connection_id":160258,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:39:04] local.INFO: Processing buffer {"connection_id":160258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:39:04] local.INFO: IMEI packet received {"connection_id":160258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":160258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:39:09] local.INFO: TCP Data received {"connection_id":160258,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:39:09] local.INFO: Processing buffer {"connection_id":160258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:39:09] local.INFO: IMEI packet received {"connection_id":160258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":160258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:39:10] local.INFO: TCP Data received {"connection_id":160258,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:39:10] local.INFO: Processing buffer {"connection_id":160258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:39:10] local.INFO: Packet analysis {"connection_id":160258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:39:10] local.INFO: Extracted packet for processing {"connection_id":160258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:39:10] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507124992001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787137508000,"timestamp_ms":1787137508000,"timestamp_seconds":1787137508,"priority":1,"record_length":96,"hex_timestamp":"000001a019b242a0"} 
[2026-08-19 16:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 16:39:10] 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-08-19 16:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507124992001,"66":25702,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507124992001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:39:10] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507124992001,"power":25702,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":160258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:39:10] local.INFO: GPS data processed {"connection_id":160258,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:39:10] local.INFO: Acknowledgment sent {"connection_id":160258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:39:41] local.INFO: TCP Data received {"connection_id":160258,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:39:41] local.INFO: Processing buffer {"connection_id":160258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:39:41] local.INFO: Packet analysis {"connection_id":160258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:39:41] local.INFO: Extracted packet for processing {"connection_id":160258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:39:41] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507124992001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787137508000,"timestamp_ms":1787137508000,"timestamp_seconds":1787137508,"priority":1,"record_length":96,"hex_timestamp":"000001a019b242a0"} 
[2026-08-19 16:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 16:39:41] 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-08-19 16: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-08-19 16:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507124992001,"66":25702,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507124992001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:39:41] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507124992001,"power":25702,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":160258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:39:41] local.INFO: GPS data processed {"connection_id":160258,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:39:41] local.INFO: Acknowledgment sent {"connection_id":160258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:39:59] local.INFO: TCP Data received {"connection_id":160260,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:39:59] local.INFO: Processing buffer {"connection_id":160260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:39:59] local.INFO: IMEI packet received {"connection_id":160260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":160260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:40:04] local.INFO: TCP Data received {"connection_id":160260,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:40:04] local.INFO: Processing buffer {"connection_id":160260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:40:04] local.INFO: IMEI packet received {"connection_id":160260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":160260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:40:06] local.INFO: TCP Data received {"connection_id":160260,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:40:06] local.INFO: Processing buffer {"connection_id":160260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:40:06] local.INFO: Packet analysis {"connection_id":160260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:40:06] local.INFO: Extracted packet for processing {"connection_id":160260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:40:06] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507124992001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:40:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787137508000,"timestamp_ms":1787137508000,"timestamp_seconds":1787137508,"priority":1,"record_length":96,"hex_timestamp":"000001a019b242a0"} 
[2026-08-19 16:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 16:40:06] 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-08-19 16:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507124992001,"66":25702,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507124992001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:40:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:40:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507124992001,"power":25702,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":160260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:40:06] local.INFO: GPS data processed {"connection_id":160260,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:40:06] local.INFO: Acknowledgment sent {"connection_id":160260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:40:38] local.INFO: TCP Data received {"connection_id":160260,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:40:38] local.INFO: Processing buffer {"connection_id":160260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b242a0012ceb4ac00713cf800015007128..."} 
[2026-08-19 16:40:38] local.INFO: Packet analysis {"connection_id":160260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:40:38] local.INFO: Extracted packet for processing {"connection_id":160260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b2"} 
[2026-08-19 16:40:38] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507124992001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:40:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787137508000,"timestamp_ms":1787137508000,"timestamp_seconds":1787137508,"priority":1,"record_length":96,"hex_timestamp":"000001a019b242a0"} 
[2026-08-19 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-08-19 16:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 16:40:38] 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-08-19 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-08-19 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-08-19 16:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507124992001,"66":25702,"10":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 16:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507124992001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:40:38] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 16:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:40:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507124992001,"power":25702,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":160260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:40:38] local.INFO: GPS data processed {"connection_id":160260,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:40:38] local.INFO: Acknowledgment sent {"connection_id":160260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:40:48] local.INFO: TCP Data received {"connection_id":158943,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158943,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:40:48] local.INFO: Processing buffer {"connection_id":158943,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:40:48] local.INFO: IMEI packet received {"connection_id":158943,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":158943,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:40:49] local.INFO: TCP Data received {"connection_id":158943,"ip":"117.224.251.252","data_length":795,"data_hex":"000000000000030f8e0a000001a019b74f98012d0c2b400702aca0001b00b224..."} 
[2026-08-19 16:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b74f98012d0c2b400702aca0001b00b224..."} 
[2026-08-19 16:40:49] local.INFO: Processing buffer {"connection_id":158943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b74f98012d0c2b400702aca0001b00b224..."} 
[2026-08-19 16:40:49] local.INFO: Packet analysis {"connection_id":158943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:40:49] local.INFO: Extracted packet for processing {"connection_id":158943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:40:49] local.INFO: GPS Element Parsed {"raw_longitude":755772224,"raw_latitude":117615776,"longitude_deg":75.5772224,"latitude_deg":11.7615776,"altitude":27,"angle":178,"satellites":36,"speed":3,"hex_longitude":"2d0c2b40","hex_latitude":"0702aca0","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507286272001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28947379495370752,"note":"Value kept but may cause issues"} 
[2026-08-19 16:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876794582563383296,"note":"Value kept but may cause issues"} 
[2026-08-19 16:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787137839000,"timestamp_ms":1787137839000,"timestamp_seconds":1787137839,"priority":1,"record_length":96,"hex_timestamp":"000001a019b74f98"} 
[2026-08-19 16:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":212,"data_length":795,"current_offset":136} 
[2026-08-19 16:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":158943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":158943,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":158943,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.251.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507286272001,"66":14374,"21":206,"28":32256,"24":3,"16":28947379495370752,"45":876794582563383296},"client_ip":"117.224.251.252","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507286272001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:40:49] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:40:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28947379495370752,"km_value":28947379495370.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":876794582563383296,"description":"Unknown IO ID 45"} 
[2026-08-19 16:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507286272001,"power":14374,"unknown_21":206,"unknown_28":32256,"ignition":3,"odometer":null,"unknown_45":876794582563383296}} 
[2026-08-19 16:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":158943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665744,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:40:49] local.INFO: GPS data processed {"connection_id":158943,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:40:49] local.INFO: Acknowledgment sent {"connection_id":158943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:41:04] local.INFO: TCP Data received {"connection_id":158078,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:41:04] local.INFO: Processing buffer {"connection_id":158078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:41:04] local.INFO: IMEI packet received {"connection_id":158078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":158078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:41:09] local.INFO: TCP Data received {"connection_id":158078,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:41:09] local.INFO: Processing buffer {"connection_id":158078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:41:09] local.INFO: IMEI packet received {"connection_id":158078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":158078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:41:10] local.INFO: TCP Data received {"connection_id":158078,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:41:10] local.INFO: Processing buffer {"connection_id":158078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:41:10] local.INFO: Packet analysis {"connection_id":158078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:41:10] local.INFO: Extracted packet for processing {"connection_id":158078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:41:10] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507202048001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787137809000,"timestamp_ms":1787137809000,"timestamp_seconds":1787137809,"priority":1,"record_length":96,"hex_timestamp":"000001a019b6da68"} 
[2026-08-19 16:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507202048001,"66":24908,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507202048001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:41:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507202048001,"power":24908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":158078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:41:10] local.INFO: GPS data processed {"connection_id":158078,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:41:10] local.INFO: Acknowledgment sent {"connection_id":158078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:41:14] local.INFO: TCP Data received {"connection_id":158944,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:41:14] local.INFO: Processing buffer {"connection_id":158944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:41:14] local.INFO: IMEI packet received {"connection_id":158944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":158944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:41:15] local.INFO: TCP Data received {"connection_id":158078,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:41:15] local.INFO: Processing buffer {"connection_id":158078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:41:15] local.INFO: Packet analysis {"connection_id":158078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:41:15] local.INFO: Extracted packet for processing {"connection_id":158078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:41:15] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507202048001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787137809000,"timestamp_ms":1787137809000,"timestamp_seconds":1787137809,"priority":1,"record_length":96,"hex_timestamp":"000001a019b6da68"} 
[2026-08-19 16:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507202048001,"66":24908,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507202048001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:41:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:41:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507202048001,"power":24908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":158078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:41:15] local.INFO: GPS data processed {"connection_id":158078,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:41:15] local.INFO: Acknowledgment sent {"connection_id":158078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:41:15] local.INFO: TCP Data received {"connection_id":158944,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019b674d8012d1b2780071eebc8004d008023..."} 
[2026-08-19 16:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b674d8012d1b2780071eebc8004d008023..."} 
[2026-08-19 16:41:15] local.INFO: Processing buffer {"connection_id":158944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b674d8012d1b2780071eebc8004d008023..."} 
[2026-08-19 16:41:15] local.INFO: Packet analysis {"connection_id":158944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:41:15] local.INFO: Extracted packet for processing {"connection_id":158944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:41:15] local.INFO: GPS Element Parsed {"raw_longitude":756754304,"raw_latitude":119466952,"longitude_deg":75.6754304,"latitude_deg":11.9466952,"altitude":77,"angle":128,"satellites":35,"speed":22,"hex_longitude":"2d1b2780","hex_latitude":"071eebc8","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507272192001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13887974320111616,"note":"Value kept but may cause issues"} 
[2026-08-19 16:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956180749978509312,"note":"Value kept but may cause issues"} 
[2026-08-19 16:41:15] 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-08-19 16:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787137783000,"timestamp_ms":1787137783000,"timestamp_seconds":1787137783,"priority":1,"record_length":96,"hex_timestamp":"000001a019b674d8"} 
[2026-08-19 16:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:41: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-08-19 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 16:41:15] 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-08-19 16: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-08-19 16:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507272192001,"66":14396,"106":206,"83":41984,"24":22,"16":13887974320111616,"45":1956180749978509312},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 16:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507272192001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:41:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 16:41:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13887974320111616,"km_value":13887974320111.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956180749978509312,"description":"Unknown IO ID 45"} 
[2026-08-19 16:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507272192001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1956180749978509312}} 
[2026-08-19 16:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":158944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:41:15] local.INFO: GPS data processed {"connection_id":158944,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:41:15] local.INFO: Acknowledgment sent {"connection_id":158944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:41:21] local.INFO: TCP Data received {"connection_id":158943,"ip":"117.224.251.252","data_length":795,"data_hex":"000000000000030f8e0a000001a019b75380012d0c2b000702ac30001b00d024..."} 
[2026-08-19 16:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b75380012d0c2b000702ac30001b00d024..."} 
[2026-08-19 16:41:21] local.INFO: Processing buffer {"connection_id":158943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b75380012d0c2b000702ac30001b00d024..."} 
[2026-08-19 16:41:21] local.INFO: Packet analysis {"connection_id":158943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:41:21] local.INFO: Extracted packet for processing {"connection_id":158943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:41:21] local.INFO: GPS Element Parsed {"raw_longitude":755772160,"raw_latitude":117615664,"longitude_deg":75.577216,"latitude_deg":11.7615664,"altitude":27,"angle":208,"satellites":36,"speed":4,"hex_longitude":"2d0c2b00","hex_latitude":"0702ac30","is_valid_coordinates":true} 
[2026-08-19 16:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507286784001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28947383790338048,"note":"Value kept but may cause issues"} 
[2026-08-19 16:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876864951307509760,"note":"Value kept but may cause issues"} 
[2026-08-19 16:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787137840000,"timestamp_ms":1787137840000,"timestamp_seconds":1787137840,"priority":1,"record_length":96,"hex_timestamp":"000001a019b75380"} 
[2026-08-19 16:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 16:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":158943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":158943,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":158943,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.251.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507286784001,"66":14374,"21":206,"28":32256,"24":4,"16":28947383790338048,"45":876864951307509760},"client_ip":"117.224.251.252","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507286784001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:41:21] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:41:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28947383790338048,"km_value":28947383790338.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":876864951307509760,"description":"Unknown IO ID 45"} 
[2026-08-19 16:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507286784001,"power":14374,"unknown_21":206,"unknown_28":32256,"ignition":4,"odometer":null,"unknown_45":876864951307509760}} 
[2026-08-19 16:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":158943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665748,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:41:21] local.INFO: GPS data processed {"connection_id":158943,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:41:21] local.INFO: Acknowledgment sent {"connection_id":158943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:41:36] local.INFO: TCP Data received {"connection_id":158945,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158945,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:41:36] local.INFO: Processing buffer {"connection_id":158945,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:41:36] local.INFO: IMEI packet received {"connection_id":158945,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":158945,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:41:41] local.INFO: TCP Data received {"connection_id":158945,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158945,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:41:41] local.INFO: Processing buffer {"connection_id":158945,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:41:41] local.INFO: IMEI packet received {"connection_id":158945,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":158945,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:41:42] local.INFO: TCP Data received {"connection_id":158945,"ip":"117.224.251.252","data_length":795,"data_hex":"000000000000030f8e0a000001a019b75768012d0c2ac00702abc8001b00dd24..."} 
[2026-08-19 16:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b75768012d0c2ac00702abc8001b00dd24..."} 
[2026-08-19 16:41:42] local.INFO: Processing buffer {"connection_id":158945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b75768012d0c2ac00702abc8001b00dd24..."} 
[2026-08-19 16:41:42] local.INFO: Packet analysis {"connection_id":158945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:41:42] local.INFO: Extracted packet for processing {"connection_id":158945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:41:42] local.INFO: GPS Element Parsed {"raw_longitude":755772096,"raw_latitude":117615560,"longitude_deg":75.5772096,"latitude_deg":11.761556,"altitude":27,"angle":221,"satellites":36,"speed":4,"hex_longitude":"2d0c2ac0","hex_latitude":"0702abc8","is_valid_coordinates":true} 
[2026-08-19 16:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507287040001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28947392380272640,"note":"Value kept but may cause issues"} 
[2026-08-19 16:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876794582563303424,"note":"Value kept but may cause issues"} 
[2026-08-19 16:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787137841000,"timestamp_ms":1787137841000,"timestamp_seconds":1787137841,"priority":1,"record_length":96,"hex_timestamp":"000001a019b75768"} 
[2026-08-19 16:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:41: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-08-19 16:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 16:41: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-08-19 16:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158945,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158945,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.251.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507287040001,"66":14070,"21":206,"28":32256,"24":4,"16":28947392380272640,"45":876794582563303424},"client_ip":"117.224.251.252","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507287040001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:41:42] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:41:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28947392380272640,"km_value":28947392380272.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":876794582563303424,"description":"Unknown IO ID 45"} 
[2026-08-19 16:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507287040001,"power":14070,"unknown_21":206,"unknown_28":32256,"ignition":4,"odometer":null,"unknown_45":876794582563303424}} 
[2026-08-19 16:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":158945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665749,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:41:42] local.INFO: GPS data processed {"connection_id":158945,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:41:42] local.INFO: Acknowledgment sent {"connection_id":158945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:41:47] local.INFO: TCP Data received {"connection_id":158944,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019b7a970012d1b6a80071ecb080054001922..."} 
[2026-08-19 16:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b7a970012d1b6a80071ecb080054001922..."} 
[2026-08-19 16:41:47] local.INFO: Processing buffer {"connection_id":158944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b7a970012d1b6a80071ecb080054001922..."} 
[2026-08-19 16:41:47] local.INFO: Packet analysis {"connection_id":158944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:41:47] local.INFO: Extracted packet for processing {"connection_id":158944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:41:47] local.INFO: GPS Element Parsed {"raw_longitude":756771456,"raw_latitude":119458568,"longitude_deg":75.6771456,"latitude_deg":11.9458568,"altitude":84,"angle":25,"satellites":34,"speed":11,"hex_longitude":"2d1b6a80","hex_latitude":"071ecb08","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507292416001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13889430314024960,"note":"Value kept but may cause issues"} 
[2026-08-19 16:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975461785880885248,"note":"Value kept but may cause issues"} 
[2026-08-19 16:41:47] 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-08-19 16:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787137862000,"timestamp_ms":1787137862000,"timestamp_seconds":1787137862,"priority":1,"record_length":96,"hex_timestamp":"000001a019b7a970"} 
[2026-08-19 16:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 16:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507292416001,"66":13135,"101":206,"83":41984,"24":11,"16":13889430314024960,"45":1975461785880885248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-19 16:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507292416001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:41:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 16:41:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13889430314024960,"km_value":13889430314024.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975461785880885248,"description":"Unknown IO ID 45"} 
[2026-08-19 16:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507292416001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1975461785880885248}} 
[2026-08-19 16:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":158944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:41:47] local.INFO: GPS data processed {"connection_id":158944,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:41:47] local.INFO: Acknowledgment sent {"connection_id":158944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:41:59] local.INFO: TCP Data received {"connection_id":158946,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:41:59] local.INFO: Processing buffer {"connection_id":158946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:41:59] local.INFO: IMEI packet received {"connection_id":158946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":158946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:42:04] local.INFO: TCP Data received {"connection_id":158946,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:42:04] local.INFO: Processing buffer {"connection_id":158946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:42:04] local.INFO: IMEI packet received {"connection_id":158946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":158946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:42:05] local.INFO: TCP Data received {"connection_id":158946,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:42:05] local.INFO: Processing buffer {"connection_id":158946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:42:05] local.INFO: Packet analysis {"connection_id":158946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:42:05] local.INFO: Extracted packet for processing {"connection_id":158946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:42:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507202048001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:42:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787137809000,"timestamp_ms":1787137809000,"timestamp_seconds":1787137809,"priority":1,"record_length":96,"hex_timestamp":"000001a019b6da68"} 
[2026-08-19 16:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507202048001,"66":24908,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507202048001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:42:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:42:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507202048001,"power":24908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":158946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:42:05] local.INFO: GPS data processed {"connection_id":158946,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:42:05] local.INFO: Acknowledgment sent {"connection_id":158946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:42:14] local.INFO: TCP Data received {"connection_id":158945,"ip":"117.224.251.252","data_length":795,"data_hex":"000000000000030f8e0a000001a019b87c60012d0bf7800702a130001400fe25..."} 
[2026-08-19 16:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b87c60012d0bf7800702a130001400fe25..."} 
[2026-08-19 16:42:14] local.INFO: Processing buffer {"connection_id":158945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b87c60012d0bf7800702a130001400fe25..."} 
[2026-08-19 16:42:14] local.INFO: Packet analysis {"connection_id":158945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b8"} 
[2026-08-19 16:42:14] local.INFO: Extracted packet for processing {"connection_id":158945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b8"} 
[2026-08-19 16:42:14] local.INFO: GPS Element Parsed {"raw_longitude":755758976,"raw_latitude":117612848,"longitude_deg":75.5758976,"latitude_deg":11.7612848,"altitude":20,"angle":254,"satellites":37,"speed":12,"hex_longitude":"2d0bf780","hex_latitude":"0702a130","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507305984001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28948066690138112,"note":"Value kept but may cause issues"} 
[2026-08-19 16:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862791202471282688,"note":"Value kept but may cause issues"} 
[2026-08-19 16:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787137916000,"timestamp_ms":1787137916000,"timestamp_seconds":1787137916,"priority":1,"record_length":96,"hex_timestamp":"000001a019b87c60"} 
[2026-08-19 16:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16: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-08-19 16: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-19 16:42:14] 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-08-19 16: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-08-19 16:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158945,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158945,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.251.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507305984001,"66":13722,"21":206,"28":32256,"24":12,"16":28948066690138112,"45":862791202471282688},"client_ip":"117.224.251.252","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507305984001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:42:14] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:42:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28948066690138112,"km_value":28948066690138.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":862791202471282688,"description":"Unknown IO ID 45"} 
[2026-08-19 16:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507305984001,"power":13722,"unknown_21":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":862791202471282688}} 
[2026-08-19 16:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":158945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665752,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:42:14] local.INFO: GPS data processed {"connection_id":158945,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:42:14] local.INFO: Acknowledgment sent {"connection_id":158945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:42:37] local.INFO: TCP Data received {"connection_id":158946,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:42:37] local.INFO: Processing buffer {"connection_id":158946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:42:37] local.INFO: Packet analysis {"connection_id":158946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:42:37] local.INFO: Extracted packet for processing {"connection_id":158946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:42:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507202048001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:42:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787137809000,"timestamp_ms":1787137809000,"timestamp_seconds":1787137809,"priority":1,"record_length":96,"hex_timestamp":"000001a019b6da68"} 
[2026-08-19 16:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507202048001,"66":24908,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507202048001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:42:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:42:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507202048001,"power":24908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":158946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:42:37] local.INFO: GPS data processed {"connection_id":158946,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:42:37] local.INFO: Acknowledgment sent {"connection_id":158946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:42:42] local.INFO: TCP Data received {"connection_id":158079,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158079,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:42:42] local.INFO: Processing buffer {"connection_id":158079,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:42:42] local.INFO: IMEI packet received {"connection_id":158079,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":158079,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:42:43] local.INFO: TCP Data received {"connection_id":158079,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158079,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:42:43] local.INFO: Processing buffer {"connection_id":158079,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:42:43] local.INFO: IMEI packet received {"connection_id":158079,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":158079,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:42:45] local.INFO: TCP Data received {"connection_id":158079,"ip":"117.224.251.252","data_length":795,"data_hex":"000000000000030f8e0a000001a019b88818012d0bf4000702a0880014011025..."} 
[2026-08-19 16:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b88818012d0bf4000702a0880014011025..."} 
[2026-08-19 16:42:45] local.INFO: Processing buffer {"connection_id":158079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b88818012d0bf4000702a0880014011025..."} 
[2026-08-19 16:42:45] local.INFO: Packet analysis {"connection_id":158079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b8"} 
[2026-08-19 16:42:45] local.INFO: Extracted packet for processing {"connection_id":158079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b8"} 
[2026-08-19 16:42:45] local.INFO: GPS Element Parsed {"raw_longitude":755758080,"raw_latitude":117612680,"longitude_deg":75.575808,"latitude_deg":11.761268,"altitude":20,"angle":272,"satellites":37,"speed":12,"hex_longitude":"2d0bf400","hex_latitude":"0702a088","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507306496001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28948109639811072,"note":"Value kept but may cause issues"} 
[2026-08-19 16:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862298621261983744,"note":"Value kept but may cause issues"} 
[2026-08-19 16:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787137919000,"timestamp_ms":1787137919000,"timestamp_seconds":1787137919,"priority":1,"record_length":96,"hex_timestamp":"000001a019b88818"} 
[2026-08-19 16:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:42: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-08-19 16: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-19 16:42:45] 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-08-19 16: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-08-19 16:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158079,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158079,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.251.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507306496001,"66":14374,"21":206,"28":32256,"24":12,"16":28948109639811072,"45":862298621261983744},"client_ip":"117.224.251.252","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507306496001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:42:45] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:42:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28948109639811072,"km_value":28948109639811.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":862298621261983744,"description":"Unknown IO ID 45"} 
[2026-08-19 16:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507306496001,"power":14374,"unknown_21":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":862298621261983744}} 
[2026-08-19 16:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":158079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665754,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:42:45] local.INFO: GPS data processed {"connection_id":158079,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:42:45] local.INFO: Acknowledgment sent {"connection_id":158079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:42:46] local.INFO: TCP Data received {"connection_id":158079,"ip":"117.224.251.252","data_length":795,"data_hex":"000000000000030f8e0a000001a019b893d0012d0befc00702a1100014011d25..."} 
[2026-08-19 16:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b893d0012d0befc00702a1100014011d25..."} 
[2026-08-19 16:42:46] local.INFO: Processing buffer {"connection_id":158079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b893d0012d0befc00702a1100014011d25..."} 
[2026-08-19 16:42:46] local.INFO: Packet analysis {"connection_id":158079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b8"} 
[2026-08-19 16:42:46] local.INFO: Extracted packet for processing {"connection_id":158079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b8"} 
[2026-08-19 16:42:46] local.INFO: GPS Element Parsed {"raw_longitude":755756992,"raw_latitude":117612816,"longitude_deg":75.5756992,"latitude_deg":11.7612816,"altitude":20,"angle":285,"satellites":37,"speed":16,"hex_longitude":"2d0befc0","hex_latitude":"0702a110","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507307264001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28948161179418624,"note":"Value kept but may cause issues"} 
[2026-08-19 16:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":861313458843453440,"note":"Value kept but may cause issues"} 
[2026-08-19 16:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787137922000,"timestamp_ms":1787137922000,"timestamp_seconds":1787137922,"priority":1,"record_length":96,"hex_timestamp":"000001a019b893d0"} 
[2026-08-19 16:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:42: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-08-19 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 16:42:46] 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-08-19 16: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-08-19 16:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158079,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158079,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.251.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507307264001,"66":14515,"21":206,"28":32256,"24":16,"16":28948161179418624,"45":861313458843453440},"client_ip":"117.224.251.252","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507307264001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:42:46] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:42:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28948161179418624,"km_value":28948161179418.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":861313458843453440,"description":"Unknown IO ID 45"} 
[2026-08-19 16:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507307264001,"power":14515,"unknown_21":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_45":861313458843453440}} 
[2026-08-19 16:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":158079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665755,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:42:46] local.INFO: GPS data processed {"connection_id":158079,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:42:46] local.INFO: Acknowledgment sent {"connection_id":158079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:42:59] local.INFO: TCP Data received {"connection_id":158080,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:42:59] local.INFO: Processing buffer {"connection_id":158080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:42:59] local.INFO: IMEI packet received {"connection_id":158080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":158080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:43:04] local.INFO: TCP Data received {"connection_id":158080,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:43:04] local.INFO: Processing buffer {"connection_id":158080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:43:04] local.INFO: IMEI packet received {"connection_id":158080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":158080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:43:05] local.INFO: TCP Data received {"connection_id":158080,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:43:05] local.INFO: Processing buffer {"connection_id":158080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:43:05] local.INFO: Packet analysis {"connection_id":158080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:43:05] local.INFO: Extracted packet for processing {"connection_id":158080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:43:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507202048001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:43:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787137809000,"timestamp_ms":1787137809000,"timestamp_seconds":1787137809,"priority":1,"record_length":96,"hex_timestamp":"000001a019b6da68"} 
[2026-08-19 16:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507202048001,"66":24908,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507202048001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:43:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:43:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507202048001,"power":24908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":158080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:43:05] local.INFO: GPS data processed {"connection_id":158080,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:43:05] local.INFO: Acknowledgment sent {"connection_id":158080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:43:18] local.INFO: TCP Data received {"connection_id":158079,"ip":"117.224.251.252","data_length":795,"data_hex":"000000000000030f8e0a000001a019b8d638012d0bda400702a4d00011010d26..."} 
[2026-08-19 16:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b8d638012d0bda400702a4d00011010d26..."} 
[2026-08-19 16:43:18] local.INFO: Processing buffer {"connection_id":158079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b8d638012d0bda400702a4d00011010d26..."} 
[2026-08-19 16:43:18] local.INFO: Packet analysis {"connection_id":158079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b8"} 
[2026-08-19 16:43:18] local.INFO: Extracted packet for processing {"connection_id":158079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b8"} 
[2026-08-19 16:43:18] local.INFO: GPS Element Parsed {"raw_longitude":755751488,"raw_latitude":117613776,"longitude_deg":75.5751488,"latitude_deg":11.7613776,"altitude":17,"angle":269,"satellites":38,"speed":16,"hex_longitude":"2d0bda40","hex_latitude":"0702a4d0","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507308032001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28948427467390976,"note":"Value kept but may cause issues"} 
[2026-08-19 16:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":860117190192467968,"note":"Value kept but may cause issues"} 
[2026-08-19 16:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787137939000,"timestamp_ms":1787137939000,"timestamp_seconds":1787137939,"priority":1,"record_length":96,"hex_timestamp":"000001a019b8d638"} 
[2026-08-19 16:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 16:43:18] 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-08-19 16: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-08-19 16:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158079,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158079,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.251.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507308032001,"66":14407,"21":206,"28":32256,"24":16,"16":28948427467390976,"45":860117190192467968},"client_ip":"117.224.251.252","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507308032001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:43:18] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:43:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28948427467390976,"km_value":28948427467390.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":860117190192467968,"description":"Unknown IO ID 45"} 
[2026-08-19 16:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507308032001,"power":14407,"unknown_21":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_45":860117190192467968}} 
[2026-08-19 16:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":158079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665757,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:43:18] local.INFO: GPS data processed {"connection_id":158079,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:43:18] local.INFO: Acknowledgment sent {"connection_id":158079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:43:37] local.INFO: TCP Data received {"connection_id":157720,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157720,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:43:37] local.INFO: Processing buffer {"connection_id":157720,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:43:37] local.INFO: IMEI packet received {"connection_id":157720,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":157720,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:43:37] local.INFO: TCP Data received {"connection_id":158080,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:43:37] local.INFO: Processing buffer {"connection_id":158080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:43:37] local.INFO: Packet analysis {"connection_id":158080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:43:37] local.INFO: Extracted packet for processing {"connection_id":158080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:43:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507202048001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:43:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787137809000,"timestamp_ms":1787137809000,"timestamp_seconds":1787137809,"priority":1,"record_length":96,"hex_timestamp":"000001a019b6da68"} 
[2026-08-19 16:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507202048001,"66":24908,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507202048001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:43:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:43:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507202048001,"power":24908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":158080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:43:37] local.INFO: GPS data processed {"connection_id":158080,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:43:37] local.INFO: Acknowledgment sent {"connection_id":158080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:43:38] local.INFO: TCP Data received {"connection_id":157720,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157720,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:43:39] local.INFO: Processing buffer {"connection_id":157720,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:43:39] local.INFO: IMEI packet received {"connection_id":157720,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":157720,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:43:40] local.INFO: TCP Data received {"connection_id":157720,"ip":"117.224.251.252","data_length":795,"data_hex":"000000000000030f8e0a000001a019b8f190012d0bd0400702a3f8001100fc26..."} 
[2026-08-19 16:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b8f190012d0bd0400702a3f8001100fc26..."} 
[2026-08-19 16:43:40] local.INFO: Processing buffer {"connection_id":157720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b8f190012d0bd0400702a3f8001100fc26..."} 
[2026-08-19 16:43:40] local.INFO: Packet analysis {"connection_id":157720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b8"} 
[2026-08-19 16:43:40] local.INFO: Extracted packet for processing {"connection_id":157720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b8"} 
[2026-08-19 16:43:40] local.INFO: GPS Element Parsed {"raw_longitude":755748928,"raw_latitude":117613560,"longitude_deg":75.5748928,"latitude_deg":11.761356,"altitude":17,"angle":252,"satellites":38,"speed":12,"hex_longitude":"2d0bd040","hex_latitude":"0702a3f8","is_valid_coordinates":true} 
[2026-08-19 16:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507312384001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28948552021442560,"note":"Value kept but may cause issues"} 
[2026-08-19 16:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":854065478193434624,"note":"Value kept but may cause issues"} 
[2026-08-19 16:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787137946000,"timestamp_ms":1787137946000,"timestamp_seconds":1787137946,"priority":1,"record_length":96,"hex_timestamp":"000001a019b8f190"} 
[2026-08-19 16:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:43:40] 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-08-19 16:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 16:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.251.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507312384001,"66":14461,"21":206,"28":32256,"24":12,"16":28948552021442560,"45":854065478193434624},"client_ip":"117.224.251.252","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507312384001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:43:40] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:43:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28948552021442560,"km_value":28948552021442.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":854065478193434624,"description":"Unknown IO ID 45"} 
[2026-08-19 16:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507312384001,"power":14461,"unknown_21":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":854065478193434624}} 
[2026-08-19 16:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":157720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665759,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:43:40] local.INFO: GPS data processed {"connection_id":157720,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:43:40] local.INFO: Acknowledgment sent {"connection_id":157720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:43:59] local.INFO: TCP Data received {"connection_id":158081,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:43:59] local.INFO: Processing buffer {"connection_id":158081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:43:59] local.INFO: IMEI packet received {"connection_id":158081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":158081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:44:04] local.INFO: TCP Data received {"connection_id":158081,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:44:04] local.INFO: Processing buffer {"connection_id":158081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:44:04] local.INFO: IMEI packet received {"connection_id":158081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":158081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:44:05] local.INFO: TCP Data received {"connection_id":158081,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:44:05] local.INFO: Processing buffer {"connection_id":158081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:44:05] local.INFO: Packet analysis {"connection_id":158081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:44:05] local.INFO: Extracted packet for processing {"connection_id":158081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:44:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507202048001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:44:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787137809000,"timestamp_ms":1787137809000,"timestamp_seconds":1787137809,"priority":1,"record_length":96,"hex_timestamp":"000001a019b6da68"} 
[2026-08-19 16:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507202048001,"66":24908,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507202048001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:44:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:44:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507202048001,"power":24908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":158081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:44:05] local.INFO: GPS data processed {"connection_id":158081,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:44:05] local.INFO: Acknowledgment sent {"connection_id":158081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:44:11] local.INFO: TCP Data received {"connection_id":157720,"ip":"117.224.251.252","data_length":795,"data_hex":"000000000000030f8e0a000001a019b93010012d0bbb8007029e180010010d24..."} 
[2026-08-19 16:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b93010012d0bbb8007029e180010010d24..."} 
[2026-08-19 16:44:11] local.INFO: Processing buffer {"connection_id":157720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b93010012d0bbb8007029e180010010d24..."} 
[2026-08-19 16:44:11] local.INFO: Packet analysis {"connection_id":157720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b9"} 
[2026-08-19 16:44:11] local.INFO: Extracted packet for processing {"connection_id":157720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b9"} 
[2026-08-19 16:44:11] local.INFO: GPS Element Parsed {"raw_longitude":755743616,"raw_latitude":117612056,"longitude_deg":75.5743616,"latitude_deg":11.7612056,"altitude":16,"angle":269,"satellites":36,"speed":17,"hex_longitude":"2d0bbb80","hex_latitude":"07029e18","is_valid_coordinates":true} 
[2026-08-19 16:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507314176001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28948809719480320,"note":"Value kept but may cause issues"} 
[2026-08-19 16:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851250728426272768,"note":"Value kept but may cause issues"} 
[2026-08-19 16:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787137962000,"timestamp_ms":1787137962000,"timestamp_seconds":1787137962,"priority":1,"record_length":96,"hex_timestamp":"000001a019b93010"} 
[2026-08-19 16:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:44: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-08-19 16:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 16:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157720,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.251.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507314176001,"66":14428,"21":206,"28":32256,"24":17,"16":28948809719480320,"45":851250728426272768},"client_ip":"117.224.251.252","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507314176001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:44:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:44:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28948809719480320,"km_value":28948809719480.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":851250728426272768,"description":"Unknown IO ID 45"} 
[2026-08-19 16:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507314176001,"power":14428,"unknown_21":206,"unknown_28":32256,"ignition":17,"odometer":null,"unknown_45":851250728426272768}} 
[2026-08-19 16:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":157720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665761,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:44:11] local.INFO: GPS data processed {"connection_id":157720,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:44:11] local.INFO: Acknowledgment sent {"connection_id":157720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:44:36] local.INFO: TCP Data received {"connection_id":160261,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:44:36] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:44:36] local.INFO: IMEI packet received {"connection_id":160261,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":160261,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:44:37] local.INFO: TCP Data received {"connection_id":160261,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:44:37] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:44:37] local.INFO: IMEI packet received {"connection_id":160261,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":160261,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:44:37] local.INFO: TCP Data received {"connection_id":158081,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:44:37] local.INFO: Processing buffer {"connection_id":158081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:44:37] local.INFO: Packet analysis {"connection_id":158081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:44:37] local.INFO: Extracted packet for processing {"connection_id":158081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:44:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507202048001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:44:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787137809000,"timestamp_ms":1787137809000,"timestamp_seconds":1787137809,"priority":1,"record_length":96,"hex_timestamp":"000001a019b6da68"} 
[2026-08-19 16:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507202048001,"66":24908,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507202048001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:44:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:44:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507202048001,"power":24908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":158081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:44:37] local.INFO: GPS data processed {"connection_id":158081,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:44:37] local.INFO: Acknowledgment sent {"connection_id":158081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:44:37] local.INFO: TCP Data received {"connection_id":160261,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:44:37] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:44:37] local.INFO: IMEI packet received {"connection_id":160261,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":160261,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:44:39] local.INFO: TCP Data received {"connection_id":160261,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:44:39] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:44:39] local.INFO: IMEI packet received {"connection_id":160261,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":160261,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:44:40] local.INFO: TCP Data received {"connection_id":160261,"ip":"117.224.251.252","data_length":795,"data_hex":"000000000000030f8e0a000001a019baa328012d0b574007029b60000e010622..."} 
[2026-08-19 16:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019baa328012d0b574007029b60000e010622..."} 
[2026-08-19 16:44:40] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019baa328012d0b574007029b60000e010622..."} 
[2026-08-19 16:44:40] local.INFO: Packet analysis {"connection_id":160261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ba"} 
[2026-08-19 16:44:40] local.INFO: Extracted packet for processing {"connection_id":160261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ba"} 
[2026-08-19 16:44:40] local.INFO: GPS Element Parsed {"raw_longitude":755717952,"raw_latitude":117611360,"longitude_deg":75.5717952,"latitude_deg":11.761136,"altitude":14,"angle":262,"satellites":34,"speed":22,"hex_longitude":"2d0b5740","hex_latitude":"07029b60","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507339776001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28950149749276672,"note":"Value kept but may cause issues"} 
[2026-08-19 16:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824721711871246336,"note":"Value kept but may cause issues"} 
[2026-08-19 16:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787138057000,"timestamp_ms":1787138057000,"timestamp_seconds":1787138057,"priority":1,"record_length":96,"hex_timestamp":"000001a019baa328"} 
[2026-08-19 16:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:44:40] 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-08-19 16:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 16:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.251.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507339776001,"66":14330,"21":206,"28":32256,"24":22,"16":28950149749276672,"45":824721711871246336},"client_ip":"117.224.251.252","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507339776001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:44:40] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:44:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28950149749276672,"km_value":28950149749276.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":824721711871246336,"description":"Unknown IO ID 45"} 
[2026-08-19 16:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507339776001,"power":14330,"unknown_21":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_45":824721711871246336}} 
[2026-08-19 16:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":160261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665763,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:44:40] local.INFO: GPS data processed {"connection_id":160261,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:44:40] local.INFO: Acknowledgment sent {"connection_id":160261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:45:04] local.INFO: TCP Data received {"connection_id":160262,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:45:04] local.INFO: Processing buffer {"connection_id":160262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:45:04] local.INFO: IMEI packet received {"connection_id":160262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":160262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:45:09] local.INFO: TCP Data received {"connection_id":160262,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:45:09] local.INFO: Processing buffer {"connection_id":160262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:45:09] local.INFO: IMEI packet received {"connection_id":160262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":160262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:45:10] local.INFO: TCP Data received {"connection_id":160262,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:45:10] local.INFO: Processing buffer {"connection_id":160262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:45:10] local.INFO: Packet analysis {"connection_id":160262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:45:10] local.INFO: Extracted packet for processing {"connection_id":160262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:45:10] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507202048001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787137809000,"timestamp_ms":1787137809000,"timestamp_seconds":1787137809,"priority":1,"record_length":96,"hex_timestamp":"000001a019b6da68"} 
[2026-08-19 16:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507202048001,"66":24908,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507202048001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:45:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507202048001,"power":24908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":160262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:45:10] local.INFO: GPS data processed {"connection_id":160262,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:45:10] local.INFO: Acknowledgment sent {"connection_id":160262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:45:12] local.INFO: TCP Data received {"connection_id":160261,"ip":"117.224.251.252","data_length":795,"data_hex":"000000000000030f8e0a000001a019bb2fc8012d0b24000702b8b8000d013b24..."} 
[2026-08-19 16:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bb2fc8012d0b24000702b8b8000d013b24..."} 
[2026-08-19 16:45:12] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bb2fc8012d0b24000702b8b8000d013b24..."} 
[2026-08-19 16:45:12] local.INFO: Packet analysis {"connection_id":160261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:45:12] local.INFO: Extracted packet for processing {"connection_id":160261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:45:12] local.INFO: GPS Element Parsed {"raw_longitude":755704832,"raw_latitude":117618872,"longitude_deg":75.5704832,"latitude_deg":11.7618872,"altitude":13,"angle":315,"satellites":36,"speed":9,"hex_longitude":"2d0b2400","hex_latitude":"0702b8b8","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507351040001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28950965793062912,"note":"Value kept but may cause issues"} 
[2026-08-19 16:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803048138665678848,"note":"Value kept but may cause issues"} 
[2026-08-19 16:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787138093000,"timestamp_ms":1787138093000,"timestamp_seconds":1787138093,"priority":1,"record_length":96,"hex_timestamp":"000001a019bb2fc8"} 
[2026-08-19 16:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:45: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-08-19 16:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 16:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.251.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507351040001,"66":14559,"21":206,"28":32256,"24":9,"16":28950965793062912,"45":803048138665678848},"client_ip":"117.224.251.252","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507351040001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:45:12] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:45:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28950965793062912,"km_value":28950965793062.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":803048138665678848,"description":"Unknown IO ID 45"} 
[2026-08-19 16:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507351040001,"power":14559,"unknown_21":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":803048138665678848}} 
[2026-08-19 16:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":160261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665765,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:45:12] local.INFO: GPS data processed {"connection_id":160261,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:45:12] local.INFO: Acknowledgment sent {"connection_id":160261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:45:15] local.INFO: TCP Data received {"connection_id":160262,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:45:15] local.INFO: Processing buffer {"connection_id":160262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b6da68012ceb4ac00713cf800015007124..."} 
[2026-08-19 16:45:15] local.INFO: Packet analysis {"connection_id":160262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:45:15] local.INFO: Extracted packet for processing {"connection_id":160262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b6"} 
[2026-08-19 16:45:15] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":36,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507202048001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:45:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787137809000,"timestamp_ms":1787137809000,"timestamp_seconds":1787137809,"priority":1,"record_length":96,"hex_timestamp":"000001a019b6da68"} 
[2026-08-19 16:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507202048001,"66":24908,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507202048001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:45:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:45:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507202048001,"power":24908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":160262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:45:15] local.INFO: GPS data processed {"connection_id":160262,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:45:15] local.INFO: Acknowledgment sent {"connection_id":160262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:45:35] local.INFO: TCP Data received {"connection_id":158947,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158947,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:45:35] local.INFO: Processing buffer {"connection_id":158947,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:45:35] local.INFO: IMEI packet received {"connection_id":158947,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":158947,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:45:36] local.INFO: TCP Data received {"connection_id":158947,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158947,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:45:36] local.INFO: Processing buffer {"connection_id":158947,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:45:36] local.INFO: IMEI packet received {"connection_id":158947,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":158947,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:45:37] local.INFO: TCP Data received {"connection_id":158947,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158947,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:45:37] local.INFO: Processing buffer {"connection_id":158947,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:45:37] local.INFO: IMEI packet received {"connection_id":158947,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":158947,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:45:42] local.INFO: TCP Data received {"connection_id":158947,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158947,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:45:42] local.INFO: Processing buffer {"connection_id":158947,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:45:42] local.INFO: IMEI packet received {"connection_id":158947,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":158947,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:45:44] local.INFO: TCP Data received {"connection_id":158947,"ip":"117.224.251.252","data_length":795,"data_hex":"000000000000030f8e0a000001a019bbc438012d0b0f400702a6380013008124..."} 
[2026-08-19 16:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bbc438012d0b0f400702a6380013008124..."} 
[2026-08-19 16:45:44] local.INFO: Processing buffer {"connection_id":158947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bbc438012d0b0f400702a6380013008124..."} 
[2026-08-19 16:45:44] local.INFO: Packet analysis {"connection_id":158947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:45:44] local.INFO: Extracted packet for processing {"connection_id":158947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:45:44] local.INFO: GPS Element Parsed {"raw_longitude":755699520,"raw_latitude":117614136,"longitude_deg":75.569952,"latitude_deg":11.7614136,"altitude":19,"angle":129,"satellites":36,"speed":17,"hex_longitude":"2d0b0f40","hex_latitude":"0702a638","is_valid_coordinates":true} 
[2026-08-19 16:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507360000001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951794721751040,"note":"Value kept but may cause issues"} 
[2026-08-19 16:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":794463151875592192,"note":"Value kept but may cause issues"} 
[2026-08-19 16:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787138131000,"timestamp_ms":1787138131000,"timestamp_seconds":1787138131,"priority":1,"record_length":96,"hex_timestamp":"000001a019bbc438"} 
[2026-08-19 16:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:45: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-08-19 16:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-19 16:45:44] 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-08-19 16: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-08-19 16:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.251.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507360000001,"66":14439,"21":206,"28":32256,"24":17,"16":28951794721751040,"45":794463151875592192},"client_ip":"117.224.251.252","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507360000001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:45:44] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:45:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951794721751040,"km_value":28951794721751.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":794463151875592192,"description":"Unknown IO ID 45"} 
[2026-08-19 16:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507360000001,"power":14439,"unknown_21":206,"unknown_28":32256,"ignition":17,"odometer":null,"unknown_45":794463151875592192}} 
[2026-08-19 16:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":158947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665767,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:45:44] local.INFO: GPS data processed {"connection_id":158947,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:45:44] local.INFO: Acknowledgment sent {"connection_id":158947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:45:59] local.INFO: TCP Data received {"connection_id":160263,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:45:59] local.INFO: Processing buffer {"connection_id":160263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:45:59] local.INFO: IMEI packet received {"connection_id":160263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":160263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:46:04] local.INFO: TCP Data received {"connection_id":160263,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:46:04] local.INFO: Processing buffer {"connection_id":160263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:46:04] local.INFO: IMEI packet received {"connection_id":160263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":160263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:46:06] local.INFO: TCP Data received {"connection_id":160263,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:46:06] local.INFO: Processing buffer {"connection_id":160263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:46:06] local.INFO: Packet analysis {"connection_id":160263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:46:06] local.INFO: Extracted packet for processing {"connection_id":160263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:46:06] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507279104001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:46:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787138110000,"timestamp_ms":1787138110000,"timestamp_seconds":1787138110,"priority":1,"record_length":96,"hex_timestamp":"000001a019bb7230"} 
[2026-08-19 16:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-19 16:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507279104001,"66":25702,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507279104001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:46:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:46:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507279104001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":160263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:46:06] local.INFO: GPS data processed {"connection_id":160263,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:46:06] local.INFO: Acknowledgment sent {"connection_id":160263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:46:20] local.INFO: TCP Data received {"connection_id":158947,"ip":"117.224.251.252","data_length":795,"data_hex":"000000000000030f8e0a000001a019bbcff0012d0b11000702a4780014009a23..."} 
[2026-08-19 16:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bbcff0012d0b11000702a4780014009a23..."} 
[2026-08-19 16:46:20] local.INFO: Processing buffer {"connection_id":158947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bbcff0012d0b11000702a4780014009a23..."} 
[2026-08-19 16:46:20] local.INFO: Packet analysis {"connection_id":158947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:46:20] local.INFO: Extracted packet for processing {"connection_id":158947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:46:20] local.INFO: GPS Element Parsed {"raw_longitude":755699968,"raw_latitude":117613688,"longitude_deg":75.5699968,"latitude_deg":11.7613688,"altitude":20,"angle":154,"satellites":35,"speed":5,"hex_longitude":"2d0b1100","hex_latitude":"0702a478","is_valid_coordinates":true} 
[2026-08-19 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-08-19 16:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507361536001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951824786522112,"note":"Value kept but may cause issues"} 
[2026-08-19 16:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796926057921263616,"note":"Value kept but may cause issues"} 
[2026-08-19 16:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787138134000,"timestamp_ms":1787138134000,"timestamp_seconds":1787138134,"priority":1,"record_length":96,"hex_timestamp":"000001a019bbcff0"} 
[2026-08-19 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-08-19 16:46: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-08-19 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":103,"data_length":795,"current_offset":136} 
[2026-08-19 16:46: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-08-19 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-08-19 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-08-19 16:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.251.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507361536001,"66":14396,"21":206,"28":32256,"24":5,"16":28951824786522112,"45":796926057921263616},"client_ip":"117.224.251.252","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507361536001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:46:20] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:46:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951824786522112,"km_value":28951824786522.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":796926057921263616,"description":"Unknown IO ID 45"} 
[2026-08-19 16:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507361536001,"power":14396,"unknown_21":206,"unknown_28":32256,"ignition":5,"odometer":null,"unknown_45":796926057921263616}} 
[2026-08-19 16:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":158947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665769,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:46:20] local.INFO: GPS data processed {"connection_id":158947,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:46:20] local.INFO: Acknowledgment sent {"connection_id":158947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:46:36] local.INFO: TCP Data received {"connection_id":160264,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160264,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:46:36] local.INFO: Processing buffer {"connection_id":160264,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:46:36] local.INFO: IMEI packet received {"connection_id":160264,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":160264,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:46:38] local.INFO: TCP Data received {"connection_id":160263,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:46:38] local.INFO: Processing buffer {"connection_id":160263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:46:38] local.INFO: Packet analysis {"connection_id":160263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:46:38] local.INFO: Extracted packet for processing {"connection_id":160263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:46:38] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507279104001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:46:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787138110000,"timestamp_ms":1787138110000,"timestamp_seconds":1787138110,"priority":1,"record_length":96,"hex_timestamp":"000001a019bb7230"} 
[2026-08-19 16:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-19 16:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507279104001,"66":25702,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507279104001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:46:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:46:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507279104001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":160263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:46:38] local.INFO: GPS data processed {"connection_id":160263,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:46:38] local.INFO: Acknowledgment sent {"connection_id":160263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:46:43] local.INFO: TCP Data received {"connection_id":160264,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160264,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:46:43] local.INFO: Processing buffer {"connection_id":160264,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:46:43] local.INFO: IMEI packet received {"connection_id":160264,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":160264,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:46:44] local.INFO: TCP Data received {"connection_id":160264,"ip":"117.224.251.252","data_length":795,"data_hex":"000000000000030f8e0a000001a019bbd7c0012d0b11800702a340001400a923..."} 
[2026-08-19 16:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bbd7c0012d0b11800702a340001400a923..."} 
[2026-08-19 16:46:44] local.INFO: Processing buffer {"connection_id":160264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bbd7c0012d0b11800702a340001400a923..."} 
[2026-08-19 16:46:44] local.INFO: Packet analysis {"connection_id":160264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:46:44] local.INFO: Extracted packet for processing {"connection_id":160264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:46:44] local.INFO: GPS Element Parsed {"raw_longitude":755700096,"raw_latitude":117613376,"longitude_deg":75.5700096,"latitude_deg":11.7613376,"altitude":20,"angle":169,"satellites":35,"speed":7,"hex_longitude":"2d0b1180","hex_latitude":"0702a340","is_valid_coordinates":true} 
[2026-08-19 16:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507362304001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951841966391296,"note":"Value kept but may cause issues"} 
[2026-08-19 16:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797418639130392576,"note":"Value kept but may cause issues"} 
[2026-08-19 16:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787138136000,"timestamp_ms":1787138136000,"timestamp_seconds":1787138136,"priority":1,"record_length":96,"hex_timestamp":"000001a019bbd7c0"} 
[2026-08-19 16:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:46: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-08-19 16:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 16:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160264,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160264,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.251.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507362304001,"66":14211,"21":206,"28":32256,"24":7,"16":28951841966391296,"45":797418639130392576},"client_ip":"117.224.251.252","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507362304001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:46:44] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:46:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951841966391296,"km_value":28951841966391.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":797418639130392576,"description":"Unknown IO ID 45"} 
[2026-08-19 16:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507362304001,"power":14211,"unknown_21":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_45":797418639130392576}} 
[2026-08-19 16:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":160264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665771,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:46:44] local.INFO: GPS data processed {"connection_id":160264,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:46:44] local.INFO: Acknowledgment sent {"connection_id":160264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:46:48] local.INFO: TCP Data received {"connection_id":157721,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:46:48] local.INFO: Processing buffer {"connection_id":157721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:46:48] local.INFO: IMEI packet received {"connection_id":157721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":157721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:46:59] local.INFO: TCP Data received {"connection_id":157722,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:46:59] local.INFO: Processing buffer {"connection_id":157722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:46:59] local.INFO: IMEI packet received {"connection_id":157722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":157722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:47:04] local.INFO: TCP Data received {"connection_id":157722,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:47:04] local.INFO: Processing buffer {"connection_id":157722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:47:04] local.INFO: IMEI packet received {"connection_id":157722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":157722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:47:05] local.INFO: TCP Data received {"connection_id":157722,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:47:05] local.INFO: Processing buffer {"connection_id":157722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:47:05] local.INFO: Packet analysis {"connection_id":157722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:47:05] local.INFO: Extracted packet for processing {"connection_id":157722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:47:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507279104001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:47:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787138110000,"timestamp_ms":1787138110000,"timestamp_seconds":1787138110,"priority":1,"record_length":96,"hex_timestamp":"000001a019bb7230"} 
[2026-08-19 16:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-19 16:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507279104001,"66":25702,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507279104001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:47:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:47:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507279104001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":157722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:47:05] local.INFO: GPS data processed {"connection_id":157722,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:47:05] local.INFO: Acknowledgment sent {"connection_id":157722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:47:18] local.INFO: TCP Data received {"connection_id":160264,"ip":"117.224.251.252","data_length":795,"data_hex":"000000000000030f8e0a000001a019bc1258012d0b13c007029f400016004422..."} 
[2026-08-19 16:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bc1258012d0b13c007029f400016004422..."} 
[2026-08-19 16:47:18] local.INFO: Processing buffer {"connection_id":160264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bc1258012d0b13c007029f400016004422..."} 
[2026-08-19 16:47:18] local.INFO: Packet analysis {"connection_id":160264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bc"} 
[2026-08-19 16:47:18] local.INFO: Extracted packet for processing {"connection_id":160264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bc"} 
[2026-08-19 16:47:18] local.INFO: GPS Element Parsed {"raw_longitude":755700672,"raw_latitude":117612352,"longitude_deg":75.5700672,"latitude_deg":11.7612352,"altitude":22,"angle":68,"satellites":34,"speed":1,"hex_longitude":"2d0b13c0","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507362816001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951923570769920,"note":"Value kept but may cause issues"} 
[2026-08-19 16:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797559376618668032,"note":"Value kept but may cause issues"} 
[2026-08-19 16:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787138151000,"timestamp_ms":1787138151000,"timestamp_seconds":1787138151,"priority":1,"record_length":96,"hex_timestamp":"000001a019bc1258"} 
[2026-08-19 16:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 16:47:18] 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-08-19 16: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-08-19 16:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160264,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160264,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.251.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507362816001,"66":14439,"21":206,"28":32256,"24":1,"16":28951923570769920,"45":797559376618668032},"client_ip":"117.224.251.252","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507362816001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:47:18] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:47:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951923570769920,"km_value":28951923570769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":797559376618668032,"description":"Unknown IO ID 45"} 
[2026-08-19 16:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507362816001,"power":14439,"unknown_21":206,"unknown_28":32256,"ignition":1,"odometer":null,"unknown_45":797559376618668032}} 
[2026-08-19 16:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":160264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665773,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:47:18] local.INFO: GPS data processed {"connection_id":160264,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:47:18] local.INFO: Acknowledgment sent {"connection_id":160264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:47:18] local.INFO: TCP Data received {"connection_id":160265,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:47:18] local.INFO: Processing buffer {"connection_id":160265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:47:18] local.INFO: IMEI packet received {"connection_id":160265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":160265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:47:23] local.INFO: TCP Data received {"connection_id":160265,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:47:23] local.INFO: Processing buffer {"connection_id":160265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:47:23] local.INFO: IMEI packet received {"connection_id":160265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":160265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:47:24] local.INFO: TCP Data received {"connection_id":160265,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a019b7ad58012d1b6b80071ecbf80054002a22..."} 
[2026-08-19 16:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b7ad58012d1b6b80071ecbf80054002a22..."} 
[2026-08-19 16:47:24] local.INFO: Processing buffer {"connection_id":160265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b7ad58012d1b6b80071ecbf80054002a22..."} 
[2026-08-19 16:47:24] local.INFO: Packet analysis {"connection_id":160265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:47:24] local.INFO: Extracted packet for processing {"connection_id":160265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:47:24] local.INFO: GPS Element Parsed {"raw_longitude":756771712,"raw_latitude":119458808,"longitude_deg":75.6771712,"latitude_deg":11.9458808,"altitude":84,"angle":42,"satellites":34,"speed":10,"hex_longitude":"2d1b6b80","hex_latitude":"071ecbf8","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507292672001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13889447493894144,"note":"Value kept but may cause issues"} 
[2026-08-19 16:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975532154625132544,"note":"Value kept but may cause issues"} 
[2026-08-19 16:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787137863000,"timestamp_ms":1787137863000,"timestamp_seconds":1787137863,"priority":1,"record_length":96,"hex_timestamp":"000001a019b7ad58"} 
[2026-08-19 16:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:47:24] 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-08-19 16: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 16:47:24] 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-08-19 16: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-08-19 16:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507292672001,"66":13135,"101":206,"83":41984,"24":10,"16":13889447493894144,"45":1975532154625132544},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-19 16:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507292672001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:47:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 16:47:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13889447493894144,"km_value":13889447493894.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975532154625132544,"description":"Unknown IO ID 45"} 
[2026-08-19 16:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507292672001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1975532154625132544}} 
[2026-08-19 16:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":160265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:47:24] local.INFO: GPS data processed {"connection_id":160265,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:47:24] local.INFO: Acknowledgment sent {"connection_id":160265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:47:36] local.INFO: TCP Data received {"connection_id":158948,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158948,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:47:36] local.INFO: Processing buffer {"connection_id":158948,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:47:36] local.INFO: IMEI packet received {"connection_id":158948,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":158948,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:47:37] local.INFO: TCP Data received {"connection_id":157722,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:47:37] local.INFO: Processing buffer {"connection_id":157722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:47:37] local.INFO: Packet analysis {"connection_id":157722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:47:37] local.INFO: Extracted packet for processing {"connection_id":157722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:47:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507279104001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:47:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787138110000,"timestamp_ms":1787138110000,"timestamp_seconds":1787138110,"priority":1,"record_length":96,"hex_timestamp":"000001a019bb7230"} 
[2026-08-19 16:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-19 16:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507279104001,"66":25702,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507279104001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:47:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:47:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507279104001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":157722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:47:37] local.INFO: GPS data processed {"connection_id":157722,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:47:37] local.INFO: Acknowledgment sent {"connection_id":157722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:47:42] local.INFO: TCP Data received {"connection_id":158948,"ip":"117.224.251.252","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158948,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:47:42] local.INFO: Processing buffer {"connection_id":158948,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:47:42] local.INFO: IMEI packet received {"connection_id":158948,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":158948,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:47:44] local.INFO: TCP Data received {"connection_id":158948,"ip":"117.224.251.252","data_length":795,"data_hex":"000000000000030f8e0a000001a019bc3968012d0b13c007029f600016003c23..."} 
[2026-08-19 16:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bc3968012d0b13c007029f600016003c23..."} 
[2026-08-19 16:47:44] local.INFO: Processing buffer {"connection_id":158948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bc3968012d0b13c007029f600016003c23..."} 
[2026-08-19 16:47:44] local.INFO: Packet analysis {"connection_id":158948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bc"} 
[2026-08-19 16:47:44] local.INFO: Extracted packet for processing {"connection_id":158948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bc"} 
[2026-08-19 16:47:44] local.INFO: GPS Element Parsed {"raw_longitude":755700672,"raw_latitude":117612384,"longitude_deg":75.5700672,"latitude_deg":11.7612384,"altitude":22,"angle":60,"satellites":35,"speed":0,"hex_longitude":"2d0b13c0","hex_latitude":"07029f60","is_valid_coordinates":true} 
[2026-08-19 16:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507366656001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951923570769920,"note":"Value kept but may cause issues"} 
[2026-08-19 16:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798192695316004864,"note":"Value kept but may cause issues"} 
[2026-08-19 16:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787138161000,"timestamp_ms":1787138161000,"timestamp_seconds":1787138161,"priority":1,"record_length":96,"hex_timestamp":"000001a019bc3968"} 
[2026-08-19 16:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16: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-08-19 16:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 16:47:44] 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-08-19 16: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-08-19 16:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158948,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158948,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.251.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507366656001,"66":14450,"21":206,"28":32256,"24":0,"16":28951923570769920,"45":798192695316004864},"client_ip":"117.224.251.252","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507366656001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:47:44] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:47:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951923570769920,"km_value":28951923570769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":798192695316004864,"description":"Unknown IO ID 45"} 
[2026-08-19 16:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507366656001,"power":14450,"unknown_21":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":798192695316004864}} 
[2026-08-19 16:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":158948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665776,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:47:44] local.INFO: GPS data processed {"connection_id":158948,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:47:44] local.INFO: Acknowledgment sent {"connection_id":158948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:48:04] local.INFO: TCP Data received {"connection_id":157723,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:48:04] local.INFO: Processing buffer {"connection_id":157723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:48:04] local.INFO: IMEI packet received {"connection_id":157723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":157723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:48:08] local.INFO: TCP Data received {"connection_id":157724,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:48:08] local.INFO: Processing buffer {"connection_id":157724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:48:08] local.INFO: IMEI packet received {"connection_id":157724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":157724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:48:09] local.INFO: TCP Data received {"connection_id":157723,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:48:09] local.INFO: Processing buffer {"connection_id":157723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:48:09] local.INFO: IMEI packet received {"connection_id":157723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":157723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:48:10] local.INFO: TCP Data received {"connection_id":157723,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:48:10] local.INFO: Processing buffer {"connection_id":157723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:48:10] local.INFO: Packet analysis {"connection_id":157723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:48:10] local.INFO: Extracted packet for processing {"connection_id":157723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:48:10] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507279104001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787138110000,"timestamp_ms":1787138110000,"timestamp_seconds":1787138110,"priority":1,"record_length":96,"hex_timestamp":"000001a019bb7230"} 
[2026-08-19 16:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-19 16:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507279104001,"66":25702,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507279104001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:48:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507279104001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":157723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:48:10] local.INFO: GPS data processed {"connection_id":157723,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:48:10] local.INFO: Acknowledgment sent {"connection_id":157723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:48:13] local.INFO: TCP Data received {"connection_id":157724,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:48:13] local.INFO: Processing buffer {"connection_id":157724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:48:13] local.INFO: IMEI packet received {"connection_id":157724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":157724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:48:14] local.INFO: TCP Data received {"connection_id":157724,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019b7b140012d1b6c00071ecc880054003a22..."} 
[2026-08-19 16:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b7b140012d1b6c00071ecc880054003a22..."} 
[2026-08-19 16:48:14] local.INFO: Processing buffer {"connection_id":157724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b7b140012d1b6c00071ecc880054003a22..."} 
[2026-08-19 16:48:14] local.INFO: Packet analysis {"connection_id":157724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:48:14] local.INFO: Extracted packet for processing {"connection_id":157724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756771840,"raw_latitude":119458952,"longitude_deg":75.677184,"latitude_deg":11.9458952,"altitude":84,"angle":58,"satellites":34,"speed":9,"hex_longitude":"2d1b6c00","hex_latitude":"071ecc88","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507292928001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13889456083828736,"note":"Value kept but may cause issues"} 
[2026-08-19 16:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975813629601904640,"note":"Value kept but may cause issues"} 
[2026-08-19 16:48:14] 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-08-19 16:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787137864000,"timestamp_ms":1787137864000,"timestamp_seconds":1787137864,"priority":1,"record_length":96,"hex_timestamp":"000001a019b7b140"} 
[2026-08-19 16:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 16:48:14] 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-08-19 16: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-08-19 16:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:48:14] 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-08-19 16:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507292928001,"66":13135,"101":206,"83":41984,"24":9,"16":13889456083828736,"45":1975813629601904640},"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-08-19 16:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507292928001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:48:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 16:48:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13889456083828736,"km_value":13889456083828.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975813629601904640,"description":"Unknown IO ID 45"} 
[2026-08-19 16:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507292928001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1975813629601904640}} 
[2026-08-19 16:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":157724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:48:15] local.INFO: GPS data processed {"connection_id":157724,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:48:15] local.INFO: Acknowledgment sent {"connection_id":157724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:48:15] local.INFO: TCP Data received {"connection_id":157723,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:48:15] local.INFO: Processing buffer {"connection_id":157723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:48:15] local.INFO: Packet analysis {"connection_id":157723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:48:15] local.INFO: Extracted packet for processing {"connection_id":157723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:48:15] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507279104001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:48:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787138110000,"timestamp_ms":1787138110000,"timestamp_seconds":1787138110,"priority":1,"record_length":96,"hex_timestamp":"000001a019bb7230"} 
[2026-08-19 16:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-19 16:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507279104001,"66":25702,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507279104001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:48:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:48:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507279104001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":157723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:48:15] local.INFO: GPS data processed {"connection_id":157723,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:48:15] local.INFO: Acknowledgment sent {"connection_id":157723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:48:16] local.INFO: TCP Data received {"connection_id":158948,"ip":"117.224.251.252","data_length":795,"data_hex":"000000000000030f8e0a000001a019bc3968012d0b13c007029f600016003c23..."} 
[2026-08-19 16:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bc3968012d0b13c007029f600016003c23..."} 
[2026-08-19 16:48:16] local.INFO: Processing buffer {"connection_id":158948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bc3968012d0b13c007029f600016003c23..."} 
[2026-08-19 16:48:16] local.INFO: Packet analysis {"connection_id":158948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bc"} 
[2026-08-19 16:48:16] local.INFO: Extracted packet for processing {"connection_id":158948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bc"} 
[2026-08-19 16:48:16] local.INFO: GPS Element Parsed {"raw_longitude":755700672,"raw_latitude":117612384,"longitude_deg":75.5700672,"latitude_deg":11.7612384,"altitude":22,"angle":60,"satellites":35,"speed":0,"hex_longitude":"2d0b13c0","hex_latitude":"07029f60","is_valid_coordinates":true} 
[2026-08-19 16:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507369216001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951923570769920,"note":"Value kept but may cause issues"} 
[2026-08-19 16:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798192695316013056,"note":"Value kept but may cause issues"} 
[2026-08-19 16:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787138161000,"timestamp_ms":1787138161000,"timestamp_seconds":1787138161,"priority":1,"record_length":96,"hex_timestamp":"000001a019bc3968"} 
[2026-08-19 16:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 16:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158948,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158948,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.251.252","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507369216001,"66":14450,"21":206,"28":32256,"24":0,"16":28951923570769920,"45":798192695316013056},"client_ip":"117.224.251.252","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507369216001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:48:16] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:48:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951923570769920,"km_value":28951923570769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":798192695316013056,"description":"Unknown IO ID 45"} 
[2026-08-19 16:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507369216001,"power":14450,"unknown_21":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":798192695316013056}} 
[2026-08-19 16:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":158948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665780,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:48:16] local.INFO: GPS data processed {"connection_id":158948,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:48:16] local.INFO: Acknowledgment sent {"connection_id":158948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:48:46] local.INFO: TCP Data received {"connection_id":157724,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019b7c8b0012d1b7080071ecea00056004f21..."} 
[2026-08-19 16:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b7c8b0012d1b7080071ecea00056004f21..."} 
[2026-08-19 16:48:46] local.INFO: Processing buffer {"connection_id":157724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b7c8b0012d1b7080071ecea00056004f21..."} 
[2026-08-19 16:48:46] local.INFO: Packet analysis {"connection_id":157724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:48:46] local.INFO: Extracted packet for processing {"connection_id":157724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":119459488,"longitude_deg":75.6772992,"latitude_deg":11.9459488,"altitude":86,"angle":79,"satellites":33,"speed":6,"hex_longitude":"2d1b7080","hex_latitude":"071ecea0","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507293184001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13889516213370880,"note":"Value kept but may cause issues"} 
[2026-08-19 16:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975954367090296832,"note":"Value kept but may cause issues"} 
[2026-08-19 16:48:46] 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-08-19 16:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787137870000,"timestamp_ms":1787137870000,"timestamp_seconds":1787137870,"priority":1,"record_length":96,"hex_timestamp":"000001a019b7c8b0"} 
[2026-08-19 16:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:48:46] 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-08-19 16:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 16:48:46] 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-08-19 16: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-08-19 16:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:48:46] 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-08-19 16:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507293184001,"66":13102,"101":206,"83":41984,"24":6,"16":13889516213370880,"45":1975954367090296832},"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-08-19 16:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507293184001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:48:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 16:48:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13889516213370880,"km_value":13889516213370.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975954367090296832,"description":"Unknown IO ID 45"} 
[2026-08-19 16:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507293184001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1975954367090296832}} 
[2026-08-19 16:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":157724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:48:46] local.INFO: GPS data processed {"connection_id":157724,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:48:46] local.INFO: Acknowledgment sent {"connection_id":157724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:48:59] local.INFO: TCP Data received {"connection_id":160266,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:48:59] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:48:59] local.INFO: IMEI packet received {"connection_id":160266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":160266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:49:04] local.INFO: TCP Data received {"connection_id":160266,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:49:04] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:49:04] local.INFO: IMEI packet received {"connection_id":160266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":160266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:49:05] local.INFO: TCP Data received {"connection_id":160266,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:49:05] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:49:05] local.INFO: Packet analysis {"connection_id":160266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:49:05] local.INFO: Extracted packet for processing {"connection_id":160266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:49:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507279104001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:49:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787138110000,"timestamp_ms":1787138110000,"timestamp_seconds":1787138110,"priority":1,"record_length":96,"hex_timestamp":"000001a019bb7230"} 
[2026-08-19 16:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-19 16:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507279104001,"66":25702,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507279104001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:49:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:49:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507279104001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":160266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:49:05] local.INFO: GPS data processed {"connection_id":160266,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:49:05] local.INFO: Acknowledgment sent {"connection_id":160266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:49:09] local.INFO: TCP Data received {"connection_id":160267,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:49:09] local.INFO: Processing buffer {"connection_id":160267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:49:09] local.INFO: IMEI packet received {"connection_id":160267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":160267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:49:10] local.INFO: TCP Data received {"connection_id":160266,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:49:10] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:49:10] local.INFO: Packet analysis {"connection_id":160266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:49:10] local.INFO: Extracted packet for processing {"connection_id":160266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:49:10] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507279104001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787138110000,"timestamp_ms":1787138110000,"timestamp_seconds":1787138110,"priority":1,"record_length":96,"hex_timestamp":"000001a019bb7230"} 
[2026-08-19 16:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-19 16:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507279104001,"66":25702,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507279104001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:49:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507279104001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":160266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:49:10] local.INFO: GPS data processed {"connection_id":160266,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:49:10] local.INFO: Acknowledgment sent {"connection_id":160266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:49:13] local.INFO: TCP Data received {"connection_id":160267,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:49:13] local.INFO: Processing buffer {"connection_id":160267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:49:13] local.INFO: IMEI packet received {"connection_id":160267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":160267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:49:14] local.INFO: TCP Data received {"connection_id":160267,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019b7dc38012d1b73c0071ecff80057003c22..."} 
[2026-08-19 16:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b7dc38012d1b73c0071ecff80057003c22..."} 
[2026-08-19 16:49:14] local.INFO: Processing buffer {"connection_id":160267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b7dc38012d1b73c0071ecff80057003c22..."} 
[2026-08-19 16:49:14] local.INFO: Packet analysis {"connection_id":160267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:49:14] local.INFO: Extracted packet for processing {"connection_id":160267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:49:14] local.INFO: GPS Element Parsed {"raw_longitude":756773824,"raw_latitude":119459832,"longitude_deg":75.6773824,"latitude_deg":11.9459832,"altitude":87,"angle":60,"satellites":34,"speed":5,"hex_longitude":"2d1b73c0","hex_latitude":"071ecff8","is_valid_coordinates":true} 
[2026-08-19 16:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507294720001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13889563458011136,"note":"Value kept but may cause issues"} 
[2026-08-19 16:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221004485632000,"note":"Value kept but may cause issues"} 
[2026-08-19 16:49:14] 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-08-19 16:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787137875000,"timestamp_ms":1787137875000,"timestamp_seconds":1787137875,"priority":1,"record_length":96,"hex_timestamp":"000001a019b7dc38"} 
[2026-08-19 16:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:49: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-08-19 16:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 16:49: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-08-19 16:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:49:14] 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-08-19 16:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507294720001,"66":13156,"101":206,"83":41984,"24":5,"16":13889563458011136,"45":1977221004485632000},"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-08-19 16:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507294720001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:49:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 16:49:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13889563458011136,"km_value":13889563458011.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221004485632000,"description":"Unknown IO ID 45"} 
[2026-08-19 16:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507294720001,"power":13156,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1977221004485632000}} 
[2026-08-19 16:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":160267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:49:14] local.INFO: GPS data processed {"connection_id":160267,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:49:14] local.INFO: Acknowledgment sent {"connection_id":160267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:49:42] local.INFO: TCP Data received {"connection_id":160266,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:49:42] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:49:42] local.INFO: Packet analysis {"connection_id":160266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:49:42] local.INFO: Extracted packet for processing {"connection_id":160266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:49:42] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507279104001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787138110000,"timestamp_ms":1787138110000,"timestamp_seconds":1787138110,"priority":1,"record_length":96,"hex_timestamp":"000001a019bb7230"} 
[2026-08-19 16:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-19 16:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507279104001,"66":25702,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507279104001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:49:42] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507279104001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":160266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:49:42] local.INFO: GPS data processed {"connection_id":160266,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:49:42] local.INFO: Acknowledgment sent {"connection_id":160266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:49:45] local.INFO: TCP Data received {"connection_id":160267,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019b7ebd8012d1b7680071ed1800058004822..."} 
[2026-08-19 16:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b7ebd8012d1b7680071ed1800058004822..."} 
[2026-08-19 16:49:45] local.INFO: Processing buffer {"connection_id":160267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b7ebd8012d1b7680071ed1800058004822..."} 
[2026-08-19 16:49:45] local.INFO: Packet analysis {"connection_id":160267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:49:45] local.INFO: Extracted packet for processing {"connection_id":160267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756774528,"raw_latitude":119460224,"longitude_deg":75.6774528,"latitude_deg":11.9460224,"altitude":88,"angle":72,"satellites":34,"speed":8,"hex_longitude":"2d1b7680","hex_latitude":"071ed180","is_valid_coordinates":true} 
[2026-08-19 16:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507296000001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13889597817749504,"note":"Value kept but may cause issues"} 
[2026-08-19 16:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978135798160029696,"note":"Value kept but may cause issues"} 
[2026-08-19 16:49:45] 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-08-19 16:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787137879000,"timestamp_ms":1787137879000,"timestamp_seconds":1787137879,"priority":1,"record_length":96,"hex_timestamp":"000001a019b7ebd8"} 
[2026-08-19 16:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:49: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-08-19 16:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-19 16:49:45] 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-08-19 16:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:49:45] 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-08-19 16:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507296000001,"66":13135,"101":206,"83":41984,"24":8,"16":13889597817749504,"45":1978135798160029696},"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-08-19 16:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507296000001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:49:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 16:49:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13889597817749504,"km_value":13889597817749.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978135798160029696,"description":"Unknown IO ID 45"} 
[2026-08-19 16:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507296000001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1978135798160029696}} 
[2026-08-19 16:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":160267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:49:45] local.INFO: GPS data processed {"connection_id":160267,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:49:45] local.INFO: Acknowledgment sent {"connection_id":160267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:49:59] local.INFO: TCP Data received {"connection_id":158949,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:49:59] local.INFO: Processing buffer {"connection_id":158949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:49:59] local.INFO: IMEI packet received {"connection_id":158949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":158949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:50:04] local.INFO: TCP Data received {"connection_id":158949,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:50:04] local.INFO: Processing buffer {"connection_id":158949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:50:04] local.INFO: IMEI packet received {"connection_id":158949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":158949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:50:06] local.INFO: TCP Data received {"connection_id":158949,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:50:06] local.INFO: Processing buffer {"connection_id":158949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:50:06] local.INFO: Packet analysis {"connection_id":158949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:50:06] local.INFO: Extracted packet for processing {"connection_id":158949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:50:06] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507279104001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:50:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787138110000,"timestamp_ms":1787138110000,"timestamp_seconds":1787138110,"priority":1,"record_length":96,"hex_timestamp":"000001a019bb7230"} 
[2026-08-19 16:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-19 16:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507279104001,"66":25702,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507279104001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:50:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:50:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507279104001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":158949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:50:06] local.INFO: GPS data processed {"connection_id":158949,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:50:06] local.INFO: Acknowledgment sent {"connection_id":158949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:50:08] local.INFO: TCP Data received {"connection_id":157726,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:50:08] local.INFO: Processing buffer {"connection_id":157726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:50:08] local.INFO: IMEI packet received {"connection_id":157726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":157726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:50:13] local.INFO: TCP Data received {"connection_id":157726,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:50:13] local.INFO: Processing buffer {"connection_id":157726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:50:13] local.INFO: IMEI packet received {"connection_id":157726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":157726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:50:14] local.INFO: TCP Data received {"connection_id":157726,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019b7f790012d1b7840071ed2980058003d22..."} 
[2026-08-19 16:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b7f790012d1b7840071ed2980058003d22..."} 
[2026-08-19 16:50:14] local.INFO: Processing buffer {"connection_id":157726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b7f790012d1b7840071ed2980058003d22..."} 
[2026-08-19 16:50:14] local.INFO: Packet analysis {"connection_id":157726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:50:14] local.INFO: Extracted packet for processing {"connection_id":157726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:50:14] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119460504,"longitude_deg":75.6774976,"latitude_deg":11.9460504,"altitude":88,"angle":61,"satellites":34,"speed":5,"hex_longitude":"2d1b7840","hex_latitude":"071ed298","is_valid_coordinates":true} 
[2026-08-19 16:50: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-08-19 16:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507297024001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13889623587553280,"note":"Value kept but may cause issues"} 
[2026-08-19 16:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978909854346084352,"note":"Value kept but may cause issues"} 
[2026-08-19 16:50:14] 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-08-19 16:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787137882000,"timestamp_ms":1787137882000,"timestamp_seconds":1787137882,"priority":1,"record_length":96,"hex_timestamp":"000001a019b7f790"} 
[2026-08-19 16:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:50: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-08-19 16:50: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":79,"data_length":795,"current_offset":136} 
[2026-08-19 16:50:14] 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-08-19 16:50: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-08-19 16:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:50:14] 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-08-19 16:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507297024001,"66":13048,"101":206,"83":41984,"24":5,"16":13889623587553280,"45":1978909854346084352},"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-08-19 16:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507297024001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:50:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 16:50:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13889623587553280,"km_value":13889623587553.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978909854346084352,"description":"Unknown IO ID 45"} 
[2026-08-19 16:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507297024001,"power":13048,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1978909854346084352}} 
[2026-08-19 16:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":157726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:50:14] local.INFO: GPS data processed {"connection_id":157726,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:50:14] local.INFO: Acknowledgment sent {"connection_id":157726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:50:39] local.INFO: TCP Data received {"connection_id":158949,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:50:39] local.INFO: Processing buffer {"connection_id":158949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bb7230012ceb4ac00713cf800015007122..."} 
[2026-08-19 16:50:39] local.INFO: Packet analysis {"connection_id":158949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:50:39] local.INFO: Extracted packet for processing {"connection_id":158949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bb"} 
[2026-08-19 16:50:39] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":34,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507279104001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:50:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787138110000,"timestamp_ms":1787138110000,"timestamp_seconds":1787138110,"priority":1,"record_length":96,"hex_timestamp":"000001a019bb7230"} 
[2026-08-19 16:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:50: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-08-19 16:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-19 16:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507279104001,"66":25702,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507279104001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:50:39] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:50:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507279104001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":158949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:50:39] local.INFO: GPS data processed {"connection_id":158949,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:50:39] local.INFO: Acknowledgment sent {"connection_id":158949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:50:45] local.INFO: TCP Data received {"connection_id":157726,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019b7fb78012d1b7880071ed2f00059003d22..."} 
[2026-08-19 16:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b7fb78012d1b7880071ed2f00059003d22..."} 
[2026-08-19 16:50:45] local.INFO: Processing buffer {"connection_id":157726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b7fb78012d1b7880071ed2f00059003d22..."} 
[2026-08-19 16:50:45] local.INFO: Packet analysis {"connection_id":157726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:50:45] local.INFO: Extracted packet for processing {"connection_id":157726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:50:45] local.INFO: GPS Element Parsed {"raw_longitude":756775040,"raw_latitude":119460592,"longitude_deg":75.677504,"latitude_deg":11.9460592,"altitude":89,"angle":61,"satellites":34,"speed":4,"hex_longitude":"2d1b7880","hex_latitude":"071ed2f0","is_valid_coordinates":true} 
[2026-08-19 16:50: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-08-19 16:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507297792001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13889632177487872,"note":"Value kept but may cause issues"} 
[2026-08-19 16:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435555399680,"note":"Value kept but may cause issues"} 
[2026-08-19 16:50:45] 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-08-19 16:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787137883000,"timestamp_ms":1787137883000,"timestamp_seconds":1787137883,"priority":1,"record_length":96,"hex_timestamp":"000001a019b7fb78"} 
[2026-08-19 16:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:50: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-08-19 16:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 16:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:50:45] 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-08-19 16:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507297792001,"66":13102,"101":206,"83":41984,"24":4,"16":13889632177487872,"45":1979402435555399680},"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-08-19 16:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507297792001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:50:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 16:50:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13889632177487872,"km_value":13889632177487.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435555399680,"description":"Unknown IO ID 45"} 
[2026-08-19 16:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507297792001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1979402435555399680}} 
[2026-08-19 16:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":157726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:50:45] local.INFO: GPS data processed {"connection_id":157726,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:50:45] local.INFO: Acknowledgment sent {"connection_id":157726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:50:51] local.INFO: TCP Data received {"connection_id":160269,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160269,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:50:51] local.INFO: Processing buffer {"connection_id":160269,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:50:51] local.INFO: IMEI packet received {"connection_id":160269,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":160269,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:50:56] local.INFO: TCP Data received {"connection_id":160269,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160269,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:50:56] local.INFO: Processing buffer {"connection_id":160269,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:50:56] local.INFO: IMEI packet received {"connection_id":160269,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":160269,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:50:58] local.INFO: TCP Data received {"connection_id":160269,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019bf71a0012d0b130007029f200017003c25..."} 
[2026-08-19 16:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bf71a0012d0b130007029f200017003c25..."} 
[2026-08-19 16:50:58] local.INFO: Processing buffer {"connection_id":160269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bf71a0012d0b130007029f200017003c25..."} 
[2026-08-19 16:50:58] local.INFO: Packet analysis {"connection_id":160269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bf"} 
[2026-08-19 16:50:58] local.INFO: Extracted packet for processing {"connection_id":160269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bf"} 
[2026-08-19 16:50:58] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612320,"longitude_deg":75.570048,"latitude_deg":11.761232,"altitude":23,"angle":60,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029f20","is_valid_coordinates":true} 
[2026-08-19 16:50: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-08-19 16:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507369216001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951923570769920,"note":"Value kept but may cause issues"} 
[2026-08-19 16:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798192695316013056,"note":"Value kept but may cause issues"} 
[2026-08-19 16:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787138372000,"timestamp_ms":1787138372000,"timestamp_seconds":1787138372,"priority":1,"record_length":96,"hex_timestamp":"000001a019bf71a0"} 
[2026-08-19 16:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 16:50:58] 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-08-19 16:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160269,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160269,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507369216001,"66":12906,"21":206,"28":32256,"24":0,"16":28951923570769920,"45":798192695316013056},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507369216001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:50:58] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:50:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951923570769920,"km_value":28951923570769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":798192695316013056,"description":"Unknown IO ID 45"} 
[2026-08-19 16:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507369216001,"power":12906,"unknown_21":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":798192695316013056}} 
[2026-08-19 16:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":160269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665791,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:50:58] local.INFO: GPS data processed {"connection_id":160269,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:50:58] local.INFO: Acknowledgment sent {"connection_id":160269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:50:59] local.INFO: TCP Data received {"connection_id":160270,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:50:59] local.INFO: Processing buffer {"connection_id":160270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:50:59] local.INFO: IMEI packet received {"connection_id":160270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":160270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:51:04] local.INFO: TCP Data received {"connection_id":160270,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:51:04] local.INFO: Processing buffer {"connection_id":160270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:51:04] local.INFO: IMEI packet received {"connection_id":160270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":160270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:51:06] local.INFO: TCP Data received {"connection_id":160270,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:51:06] local.INFO: Processing buffer {"connection_id":160270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:51:06] local.INFO: Packet analysis {"connection_id":160270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:51:06] local.INFO: Extracted packet for processing {"connection_id":160270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:51:06] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507356160001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:51:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787138411000,"timestamp_ms":1787138411000,"timestamp_seconds":1787138411,"priority":1,"record_length":96,"hex_timestamp":"000001a019c009f8"} 
[2026-08-19 16:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507356160001,"66":25680,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507356160001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:51:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:51:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507356160001,"power":25680,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":160270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:51:06] local.INFO: GPS data processed {"connection_id":160270,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:51:06] local.INFO: Acknowledgment sent {"connection_id":160270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:51:08] local.INFO: TCP Data received {"connection_id":157727,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:51:08] local.INFO: Processing buffer {"connection_id":157727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:51:08] local.INFO: IMEI packet received {"connection_id":157727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":157727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:51:13] local.INFO: TCP Data received {"connection_id":157727,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:51:13] local.INFO: Processing buffer {"connection_id":157727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:51:13] local.INFO: IMEI packet received {"connection_id":157727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":157727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:51:14] local.INFO: TCP Data received {"connection_id":157727,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019b7fb78012d1b7880071ed2f00059003d22..."} 
[2026-08-19 16:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b7fb78012d1b7880071ed2f00059003d22..."} 
[2026-08-19 16:51:14] local.INFO: Processing buffer {"connection_id":157727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b7fb78012d1b7880071ed2f00059003d22..."} 
[2026-08-19 16:51:14] local.INFO: Packet analysis {"connection_id":157727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:51:14] local.INFO: Extracted packet for processing {"connection_id":157727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:51:14] local.INFO: GPS Element Parsed {"raw_longitude":756775040,"raw_latitude":119460592,"longitude_deg":75.677504,"latitude_deg":11.9460592,"altitude":89,"angle":61,"satellites":34,"speed":4,"hex_longitude":"2d1b7880","hex_latitude":"071ed2f0","is_valid_coordinates":true} 
[2026-08-19 16:51:14] 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-08-19 16:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507298048001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13889632177487872,"note":"Value kept but may cause issues"} 
[2026-08-19 16:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979472804299599872,"note":"Value kept but may cause issues"} 
[2026-08-19 16:51:14] 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-08-19 16:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787137883000,"timestamp_ms":1787137883000,"timestamp_seconds":1787137883,"priority":1,"record_length":96,"hex_timestamp":"000001a019b7fb78"} 
[2026-08-19 16:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 16:51: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-08-19 16:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:51:14] 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-08-19 16:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507298048001,"66":13102,"101":206,"83":41984,"24":4,"16":13889632177487872,"45":1979472804299599872},"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-08-19 16:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507298048001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:51:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 16:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13889632177487872,"km_value":13889632177487.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979472804299599872,"description":"Unknown IO ID 45"} 
[2026-08-19 16:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507298048001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1979472804299599872}} 
[2026-08-19 16:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":157727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:51:14] local.INFO: GPS data processed {"connection_id":157727,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:51:14] local.INFO: Acknowledgment sent {"connection_id":157727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:51:39] local.INFO: TCP Data received {"connection_id":160270,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:51:39] local.INFO: Processing buffer {"connection_id":160270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:51:39] local.INFO: Packet analysis {"connection_id":160270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:51:39] local.INFO: Extracted packet for processing {"connection_id":160270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:51:39] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507356160001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:51:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787138411000,"timestamp_ms":1787138411000,"timestamp_seconds":1787138411,"priority":1,"record_length":96,"hex_timestamp":"000001a019c009f8"} 
[2026-08-19 16:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:51: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-08-19 16: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507356160001,"66":25680,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507356160001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:51:39] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:51:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507356160001,"power":25680,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":160270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:51:39] local.INFO: GPS data processed {"connection_id":160270,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:51:39] local.INFO: Acknowledgment sent {"connection_id":160270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:51:41] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:51:41] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:51:41] local.INFO: IMEI packet received {"connection_id":160271,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":160271,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:51:45] local.INFO: TCP Data received {"connection_id":157727,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019b7fb78012d1b7880071ed2f00059003d22..."} 
[2026-08-19 16:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019b7fb78012d1b7880071ed2f00059003d22..."} 
[2026-08-19 16:51:45] local.INFO: Processing buffer {"connection_id":157727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019b7fb78012d1b7880071ed2f00059003d22..."} 
[2026-08-19 16:51:45] local.INFO: Packet analysis {"connection_id":157727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:51:45] local.INFO: Extracted packet for processing {"connection_id":157727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019b7"} 
[2026-08-19 16:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756775040,"raw_latitude":119460592,"longitude_deg":75.677504,"latitude_deg":11.9460592,"altitude":89,"angle":61,"satellites":34,"speed":4,"hex_longitude":"2d1b7880","hex_latitude":"071ed2f0","is_valid_coordinates":true} 
[2026-08-19 16:51:45] 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-08-19 16:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507298048001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13889632177487872,"note":"Value kept but may cause issues"} 
[2026-08-19 16:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979472804299599872,"note":"Value kept but may cause issues"} 
[2026-08-19 16:51:45] 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-08-19 16:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787137883000,"timestamp_ms":1787137883000,"timestamp_seconds":1787137883,"priority":1,"record_length":96,"hex_timestamp":"000001a019b7fb78"} 
[2026-08-19 16:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 16:51:45] 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-08-19 16: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-08-19 16:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:51:45] 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-08-19 16:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507298048001,"66":13102,"101":206,"83":41984,"24":4,"16":13889632177487872,"45":1979472804299599872},"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-08-19 16:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507298048001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:51:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 16:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13889632177487872,"km_value":13889632177487.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979472804299599872,"description":"Unknown IO ID 45"} 
[2026-08-19 16:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507298048001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1979472804299599872}} 
[2026-08-19 16:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":157727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:51:45] local.INFO: GPS data processed {"connection_id":157727,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:51:45] local.INFO: Acknowledgment sent {"connection_id":157727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:51:46] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:51:46] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:51:46] local.INFO: IMEI packet received {"connection_id":160271,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":160271,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:51:47] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019bf71a0012d0b130007029f200017003c25..."} 
[2026-08-19 16:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bf71a0012d0b130007029f200017003c25..."} 
[2026-08-19 16:51:47] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bf71a0012d0b130007029f200017003c25..."} 
[2026-08-19 16:51:47] local.INFO: Packet analysis {"connection_id":160271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bf"} 
[2026-08-19 16:51:47] local.INFO: Extracted packet for processing {"connection_id":160271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bf"} 
[2026-08-19 16:51:47] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117612320,"longitude_deg":75.570048,"latitude_deg":11.761232,"altitude":23,"angle":60,"satellites":37,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07029f20","is_valid_coordinates":true} 
[2026-08-19 16:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507423232001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951923570769920,"note":"Value kept but may cause issues"} 
[2026-08-19 16:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083463680,"note":"Value kept but may cause issues"} 
[2026-08-19 16:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787138372000,"timestamp_ms":1787138372000,"timestamp_seconds":1787138372,"priority":1,"record_length":96,"hex_timestamp":"000001a019bf71a0"} 
[2026-08-19 16:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-19 16:51:47] 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-08-19 16: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-08-19 16:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507423232001,"66":12906,"21":206,"28":32256,"24":0,"16":28951923570769920,"45":797981589083463680},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507423232001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:51:47] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:51:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951923570769920,"km_value":28951923570769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083463680,"description":"Unknown IO ID 45"} 
[2026-08-19 16:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507423232001,"power":12906,"unknown_21":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":797981589083463680}} 
[2026-08-19 16:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":160271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665796,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:51:47] local.INFO: GPS data processed {"connection_id":160271,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:51:47] local.INFO: Acknowledgment sent {"connection_id":160271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:52:04] local.INFO: TCP Data received {"connection_id":158950,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:52:04] local.INFO: Processing buffer {"connection_id":158950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:52:04] local.INFO: IMEI packet received {"connection_id":158950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":158950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:52:08] local.INFO: TCP Data received {"connection_id":160272,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:52:08] local.INFO: Processing buffer {"connection_id":160272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:52:08] local.INFO: IMEI packet received {"connection_id":160272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":160272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:52:09] local.INFO: TCP Data received {"connection_id":160272,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:52:09] local.INFO: Processing buffer {"connection_id":160272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:52:09] local.INFO: IMEI packet received {"connection_id":160272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":160272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:52:09] local.INFO: TCP Data received {"connection_id":158950,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:52:09] local.INFO: Processing buffer {"connection_id":158950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:52:09] local.INFO: IMEI packet received {"connection_id":158950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":158950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:52:10] local.INFO: TCP Data received {"connection_id":158950,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:52:10] local.INFO: Processing buffer {"connection_id":158950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:52:10] local.INFO: Packet analysis {"connection_id":158950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:52:10] local.INFO: Extracted packet for processing {"connection_id":158950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:52:10] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507356160001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787138411000,"timestamp_ms":1787138411000,"timestamp_seconds":1787138411,"priority":1,"record_length":96,"hex_timestamp":"000001a019c009f8"} 
[2026-08-19 16:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507356160001,"66":25680,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507356160001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:52:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507356160001,"power":25680,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":158950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:52:10] local.INFO: GPS data processed {"connection_id":158950,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:52:10] local.INFO: Acknowledgment sent {"connection_id":158950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:52:13] local.INFO: TCP Data received {"connection_id":160272,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:52:13] local.INFO: Processing buffer {"connection_id":160272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:52:13] local.INFO: IMEI packet received {"connection_id":160272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":160272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:52:14] local.INFO: TCP Data received {"connection_id":160272,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019c0a638012d1b7940071ed418005a003d21..."} 
[2026-08-19 16:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c0a638012d1b7940071ed418005a003d21..."} 
[2026-08-19 16:52:14] local.INFO: Processing buffer {"connection_id":160272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c0a638012d1b7940071ed418005a003d21..."} 
[2026-08-19 16:52:14] local.INFO: Packet analysis {"connection_id":160272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:52:14] local.INFO: Extracted packet for processing {"connection_id":160272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:52:14] local.INFO: GPS Element Parsed {"raw_longitude":756775232,"raw_latitude":119460888,"longitude_deg":75.6775232,"latitude_deg":11.9460888,"altitude":90,"angle":61,"satellites":33,"speed":0,"hex_longitude":"2d1b7940","hex_latitude":"071ed418","is_valid_coordinates":true} 
[2026-08-19 16:52: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-08-19 16:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507298048001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13889632177487872,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979472804299599872,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:14] 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-08-19 16:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787138451000,"timestamp_ms":1787138451000,"timestamp_seconds":1787138451,"priority":1,"record_length":96,"hex_timestamp":"000001a019c0a638"} 
[2026-08-19 16:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:52: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-08-19 16:52: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-08-19 16:52: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-08-19 16:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:52:14] 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-08-19 16:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507298048001,"66":2166,"101":206,"83":41984,"24":0,"16":13889632177487872,"45":1979472804299599872},"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-08-19 16:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507298048001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:52:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 16:52:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13889632177487872,"km_value":13889632177487.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979472804299599872,"description":"Unknown IO ID 45"} 
[2026-08-19 16:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507298048001,"power":2166,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1979472804299599872}} 
[2026-08-19 16:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":160272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:52:14] local.INFO: GPS data processed {"connection_id":160272,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:52:14] local.INFO: Acknowledgment sent {"connection_id":160272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:52:15] local.INFO: TCP Data received {"connection_id":158950,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:52:15] local.INFO: Processing buffer {"connection_id":158950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:52:15] local.INFO: Packet analysis {"connection_id":158950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:52:15] local.INFO: Extracted packet for processing {"connection_id":158950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:52:15] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507356160001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787138411000,"timestamp_ms":1787138411000,"timestamp_seconds":1787138411,"priority":1,"record_length":96,"hex_timestamp":"000001a019c009f8"} 
[2026-08-19 16:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507356160001,"66":25680,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507356160001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:52:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:52:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507356160001,"power":25680,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":158950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:52:15] local.INFO: GPS data processed {"connection_id":158950,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:52:15] local.INFO: Acknowledgment sent {"connection_id":158950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:52:18] local.INFO: TCP Data received {"connection_id":160272,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019c0e0d0012d1b7940071ed418005a003d26..."} 
[2026-08-19 16:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c0e0d0012d1b7940071ed418005a003d26..."} 
[2026-08-19 16:52:18] local.INFO: Processing buffer {"connection_id":160272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c0e0d0012d1b7940071ed418005a003d26..."} 
[2026-08-19 16:52:18] local.INFO: Packet analysis {"connection_id":160272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:52:18] local.INFO: Extracted packet for processing {"connection_id":160272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756775232,"raw_latitude":119460888,"longitude_deg":75.6775232,"latitude_deg":11.9460888,"altitude":90,"angle":61,"satellites":38,"speed":0,"hex_longitude":"2d1b7940","hex_latitude":"071ed418","is_valid_coordinates":true} 
[2026-08-19 16:52:18] 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-08-19 16:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507443456001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13889632177487872,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979683910532208640,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:18] 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-08-19 16:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787138466000,"timestamp_ms":1787138466000,"timestamp_seconds":1787138466,"priority":1,"record_length":96,"hex_timestamp":"000001a019c0e0d0"} 
[2026-08-19 16:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 16:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:52:18] 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-08-19 16:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507443456001,"66":2177,"101":206,"83":41984,"24":0,"16":13889632177487872,"45":1979683910532208640},"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-08-19 16:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507443456001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:52:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 16:52:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13889632177487872,"km_value":13889632177487.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979683910532208640,"description":"Unknown IO ID 45"} 
[2026-08-19 16:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507443456001,"power":2177,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1979683910532208640}} 
[2026-08-19 16:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":160272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:52:19] local.INFO: GPS data processed {"connection_id":160272,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:52:19] local.INFO: Acknowledgment sent {"connection_id":160272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:52:19] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019bf8140012d0b120007029f400017007225..."} 
[2026-08-19 16:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bf8140012d0b120007029f400017007225..."} 
[2026-08-19 16:52:19] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bf8140012d0b120007029f400017007225..."} 
[2026-08-19 16:52:19] local.INFO: Packet analysis {"connection_id":160271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bf"} 
[2026-08-19 16:52:19] local.INFO: Extracted packet for processing {"connection_id":160271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bf"} 
[2026-08-19 16:52:19] local.INFO: GPS Element Parsed {"raw_longitude":755700224,"raw_latitude":117612352,"longitude_deg":75.5700224,"latitude_deg":11.7612352,"altitude":23,"angle":114,"satellites":37,"speed":0,"hex_longitude":"2d0b1200","hex_latitude":"07029f40","is_valid_coordinates":true} 
[2026-08-19 16:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507423232001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951923570769920,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589083463680,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787138376000,"timestamp_ms":1787138376000,"timestamp_seconds":1787138376,"priority":1,"record_length":96,"hex_timestamp":"000001a019bf8140"} 
[2026-08-19 16:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:52: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-08-19 16:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-19 16:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160271,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507423232001,"66":12254,"21":206,"28":32256,"24":0,"16":28951923570769920,"45":797981589083463680},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-08-19 16:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507423232001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:52:19] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-19 16:52:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 16:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951923570769920,"km_value":28951923570769.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589083463680,"description":"Unknown IO ID 45"} 
[2026-08-19 16:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507423232001,"power":12254,"unknown_21":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":797981589083463680}} 
[2026-08-19 16:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":160271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665801,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:52:20] local.INFO: GPS data processed {"connection_id":160271,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:52:20] local.INFO: Acknowledgment sent {"connection_id":160271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:52:44] local.INFO: TCP Data received {"connection_id":158082,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:52:44] local.INFO: Processing buffer {"connection_id":158082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:52:44] local.INFO: IMEI packet received {"connection_id":158082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":158082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:52:46] local.INFO: TCP Data received {"connection_id":158082,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:52:46] local.INFO: Processing buffer {"connection_id":158082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:52:46] local.INFO: IMEI packet received {"connection_id":158082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":158082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:52:47] local.INFO: TCP Data received {"connection_id":158082,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019bfb408012d0b104007029e580015005b20..."} 
[2026-08-19 16:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bfb408012d0b104007029e580015005b20..."} 
[2026-08-19 16:52:47] local.INFO: Processing buffer {"connection_id":158082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bfb408012d0b104007029e580015005b20..."} 
[2026-08-19 16:52:47] local.INFO: Packet analysis {"connection_id":158082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bf"} 
[2026-08-19 16:52:47] local.INFO: Extracted packet for processing {"connection_id":158082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bf"} 
[2026-08-19 16:52:47] local.INFO: GPS Element Parsed {"raw_longitude":755699776,"raw_latitude":117612120,"longitude_deg":75.5699776,"latitude_deg":11.761212,"altitude":21,"angle":91,"satellites":32,"speed":1,"hex_longitude":"2d0b1040","hex_latitude":"07029e58","is_valid_coordinates":true} 
[2026-08-19 16:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507424256001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951949340573696,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797700114106761216,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787138389000,"timestamp_ms":1787138389000,"timestamp_seconds":1787138389,"priority":1,"record_length":96,"hex_timestamp":"000001a019bfb408"} 
[2026-08-19 16:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-19 16:52:47] 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-08-19 16: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-08-19 16:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507424256001,"66":14374,"104":206,"94":10240,"24":1,"16":28951949340573696,"45":797700114106761216},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,94,24,16,45]} 
[2026-08-19 16:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507424256001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:52:47] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-19 16:52:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951949340573696,"km_value":28951949340573.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":797700114106761216,"description":"Unknown IO ID 45"} 
[2026-08-19 16:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507424256001,"power":14374,"unknown_104":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":797700114106761216}} 
[2026-08-19 16:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":158082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665802,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:52:47] local.INFO: GPS data processed {"connection_id":158082,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:52:47] local.INFO: Acknowledgment sent {"connection_id":158082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:52:50] local.INFO: TCP Data received {"connection_id":160272,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019c1cf18012d1b7b80071ed470006300e223..."} 
[2026-08-19 16:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c1cf18012d1b7b80071ed470006300e223..."} 
[2026-08-19 16:52:50] local.INFO: Processing buffer {"connection_id":160272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c1cf18012d1b7b80071ed470006300e223..."} 
[2026-08-19 16:52:50] local.INFO: Packet analysis {"connection_id":160272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c1"} 
[2026-08-19 16:52:50] local.INFO: Extracted packet for processing {"connection_id":160272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c1"} 
[2026-08-19 16:52:50] local.INFO: GPS Element Parsed {"raw_longitude":756775808,"raw_latitude":119460976,"longitude_deg":75.6775808,"latitude_deg":11.9460976,"altitude":99,"angle":226,"satellites":35,"speed":2,"hex_longitude":"2d1b7b80","hex_latitude":"071ed470","is_valid_coordinates":true} 
[2026-08-19 16:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507462656001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13889700896964608,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1980317229229846528,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787138527000,"timestamp_ms":1787138527000,"timestamp_seconds":1787138527,"priority":1,"record_length":96,"hex_timestamp":"000001a019c1cf18"} 
[2026-08-19 16:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 16:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:52:50] 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-08-19 16:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507462656001,"66":13363,"101":206,"83":41984,"24":2,"16":13889700896964608,"45":1980317229229846528},"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-08-19 16:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507462656001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:52:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 16:52:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13889700896964608,"km_value":13889700896964.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1980317229229846528,"description":"Unknown IO ID 45"} 
[2026-08-19 16:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507462656001,"power":13363,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1980317229229846528}} 
[2026-08-19 16:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":160272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:52:51] local.INFO: GPS data processed {"connection_id":160272,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:52:51] local.INFO: Acknowledgment sent {"connection_id":160272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:52:54] local.INFO: TCP Data received {"connection_id":158082,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019bfbfc0012d0b104007029e780015005420..."} 
[2026-08-19 16:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bfbfc0012d0b104007029e780015005420..."} 
[2026-08-19 16:52:54] local.INFO: Processing buffer {"connection_id":158082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bfbfc0012d0b104007029e780015005420..."} 
[2026-08-19 16:52:54] local.INFO: Packet analysis {"connection_id":158082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bf"} 
[2026-08-19 16:52:54] local.INFO: Extracted packet for processing {"connection_id":158082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bf"} 
[2026-08-19 16:52:54] local.INFO: GPS Element Parsed {"raw_longitude":755699776,"raw_latitude":117612152,"longitude_deg":75.5699776,"latitude_deg":11.7612152,"altitude":21,"angle":84,"satellites":32,"speed":0,"hex_longitude":"2d0b1040","hex_latitude":"07029e78","is_valid_coordinates":true} 
[2026-08-19 16:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507427584001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951957930508288,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797207532897458176,"note":"Value kept but may cause issues"} 
[2026-08-19 16:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787138392000,"timestamp_ms":1787138392000,"timestamp_seconds":1787138392,"priority":1,"record_length":96,"hex_timestamp":"000001a019bfbfc0"} 
[2026-08-19 16:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 16:52: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-08-19 16:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":158082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":158082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":158082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507427584001,"66":14580,"104":206,"94":10240,"24":0,"16":28951957930508288,"45":797207532897458176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,94,24,16,45]} 
[2026-08-19 16:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507427584001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:52:54] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-19 16:52:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951957930508288,"km_value":28951957930508.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":797207532897458176,"description":"Unknown IO ID 45"} 
[2026-08-19 16:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507427584001,"power":14580,"unknown_104":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797207532897458176}} 
[2026-08-19 16:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":158082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665804,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:52:54] local.INFO: GPS data processed {"connection_id":158082,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:52:54] local.INFO: Acknowledgment sent {"connection_id":158082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:52:59] local.INFO: TCP Data received {"connection_id":160273,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:52:59] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:52:59] local.INFO: IMEI packet received {"connection_id":160273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":160273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:53:04] local.INFO: TCP Data received {"connection_id":160273,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:53:04] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:53:04] local.INFO: IMEI packet received {"connection_id":160273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":160273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:53:05] local.INFO: TCP Data received {"connection_id":160273,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:53:05] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:53:05] local.INFO: Packet analysis {"connection_id":160273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:53:05] local.INFO: Extracted packet for processing {"connection_id":160273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:53:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507356160001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:53:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787138411000,"timestamp_ms":1787138411000,"timestamp_seconds":1787138411,"priority":1,"record_length":96,"hex_timestamp":"000001a019c009f8"} 
[2026-08-19 16:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507356160001,"66":25680,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507356160001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:53:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:53:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507356160001,"power":25680,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":160273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:53:05] local.INFO: GPS data processed {"connection_id":160273,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:53:05] local.INFO: Acknowledgment sent {"connection_id":160273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:53:10] local.INFO: TCP Data received {"connection_id":160273,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:53:10] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:53:10] local.INFO: Packet analysis {"connection_id":160273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:53:10] local.INFO: Extracted packet for processing {"connection_id":160273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:53:10] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507356160001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:53:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787138411000,"timestamp_ms":1787138411000,"timestamp_seconds":1787138411,"priority":1,"record_length":96,"hex_timestamp":"000001a019c009f8"} 
[2026-08-19 16:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507356160001,"66":25680,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507356160001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:53:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:53:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507356160001,"power":25680,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":160273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:53:10] local.INFO: GPS data processed {"connection_id":160273,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:53:10] local.INFO: Acknowledgment sent {"connection_id":160273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:53:41] local.INFO: TCP Data received {"connection_id":158952,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:53:41] local.INFO: Processing buffer {"connection_id":158952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:53:41] local.INFO: IMEI packet received {"connection_id":158952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":158952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:53:42] local.INFO: TCP Data received {"connection_id":160273,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:53:42] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:53:42] local.INFO: Packet analysis {"connection_id":160273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:53:42] local.INFO: Extracted packet for processing {"connection_id":160273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:53:42] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507356160001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787138411000,"timestamp_ms":1787138411000,"timestamp_seconds":1787138411,"priority":1,"record_length":96,"hex_timestamp":"000001a019c009f8"} 
[2026-08-19 16:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507356160001,"66":25680,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507356160001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:53:42] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507356160001,"power":25680,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":160273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:53:42] local.INFO: GPS data processed {"connection_id":160273,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:53:42] local.INFO: Acknowledgment sent {"connection_id":160273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:53:43] local.INFO: TCP Data received {"connection_id":158952,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:53:43] local.INFO: Processing buffer {"connection_id":158952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:53:43] local.INFO: IMEI packet received {"connection_id":158952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":158952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:53:48] local.INFO: TCP Data received {"connection_id":158952,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:53:48] local.INFO: Processing buffer {"connection_id":158952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:53:48] local.INFO: IMEI packet received {"connection_id":158952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":158952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:53:48] local.INFO: TCP Data received {"connection_id":158951,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158951,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:53:48] local.INFO: Processing buffer {"connection_id":158951,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:53:48] local.INFO: IMEI packet received {"connection_id":158951,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":158951,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:53:49] local.INFO: TCP Data received {"connection_id":158952,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019c26388012d1b7300071ebd18005000bb21..."} 
[2026-08-19 16:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c26388012d1b7300071ebd18005000bb21..."} 
[2026-08-19 16:53:49] local.INFO: Processing buffer {"connection_id":158952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c26388012d1b7300071ebd18005000bb21..."} 
[2026-08-19 16:53:49] local.INFO: Packet analysis {"connection_id":158952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c2"} 
[2026-08-19 16:53:49] local.INFO: Extracted packet for processing {"connection_id":158952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c2"} 
[2026-08-19 16:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756773632,"raw_latitude":119455000,"longitude_deg":75.6773632,"latitude_deg":11.9455,"altitude":80,"angle":187,"satellites":33,"speed":6,"hex_longitude":"2d1b7300","hex_latitude":"071ebd18","is_valid_coordinates":true} 
[2026-08-19 16:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507472128001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13890138983628800,"note":"Value kept but may cause issues"} 
[2026-08-19 16:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977995060670535680,"note":"Value kept but may cause issues"} 
[2026-08-19 16:53:49] 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-08-19 16:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787138565000,"timestamp_ms":1787138565000,"timestamp_seconds":1787138565,"priority":1,"record_length":96,"hex_timestamp":"000001a019c26388"} 
[2026-08-19 16:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:53: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-08-19 16:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 16:53:49] 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-08-19 16:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":158952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":158952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":158952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:53:49] 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-08-19 16:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507472128001,"66":14374,"106":206,"83":41984,"24":6,"16":13890138983628800,"45":1977995060670535680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 16:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507472128001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:53:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 16:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13890138983628800,"km_value":13890138983628.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977995060670535680,"description":"Unknown IO ID 45"} 
[2026-08-19 16:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507472128001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1977995060670535680}} 
[2026-08-19 16:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":158952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:53:49] local.INFO: GPS data processed {"connection_id":158952,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:53:49] local.INFO: Acknowledgment sent {"connection_id":158952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:53:49] local.INFO: TCP Data received {"connection_id":158951,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158951,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:53:49] local.INFO: Processing buffer {"connection_id":158951,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:53:49] local.INFO: IMEI packet received {"connection_id":158951,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":158951,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:53:50] local.INFO: TCP Data received {"connection_id":158951,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019bfbfc0012d0b104007029e780015005420..."} 
[2026-08-19 16:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bfbfc0012d0b104007029e780015005420..."} 
[2026-08-19 16:53:50] local.INFO: Processing buffer {"connection_id":158951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bfbfc0012d0b104007029e780015005420..."} 
[2026-08-19 16:53:50] local.INFO: Packet analysis {"connection_id":158951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bf"} 
[2026-08-19 16:53:50] local.INFO: Extracted packet for processing {"connection_id":158951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bf"} 
[2026-08-19 16:53:50] local.INFO: GPS Element Parsed {"raw_longitude":755699776,"raw_latitude":117612152,"longitude_deg":75.5699776,"latitude_deg":11.7612152,"altitude":21,"angle":84,"satellites":32,"speed":0,"hex_longitude":"2d0b1040","hex_latitude":"07029e78","is_valid_coordinates":true} 
[2026-08-19 16:53:50] 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-08-19 16:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507428352001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951957930508288,"note":"Value kept but may cause issues"} 
[2026-08-19 16:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797207532897466368,"note":"Value kept but may cause issues"} 
[2026-08-19 16:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787138392000,"timestamp_ms":1787138392000,"timestamp_seconds":1787138392,"priority":1,"record_length":96,"hex_timestamp":"000001a019bfbfc0"} 
[2026-08-19 16:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-19 16:53:50] 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-08-19 16:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":158951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":158951,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":158951,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507428352001,"66":14580,"104":206,"94":10240,"24":0,"16":28951957930508288,"45":797207532897466368},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,94,24,16,45]} 
[2026-08-19 16:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507428352001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:53:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-19 16:53:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951957930508288,"km_value":28951957930508.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797207532897466368,"description":"Unknown IO ID 45"} 
[2026-08-19 16:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507428352001,"power":14580,"unknown_104":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797207532897466368}} 
[2026-08-19 16:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":158951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665809,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:53:50] local.INFO: GPS data processed {"connection_id":158951,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:53:50] local.INFO: Acknowledgment sent {"connection_id":158951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:53:51] local.INFO: TCP Data received {"connection_id":158951,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019bfbfc0012d0b104007029e780015005420..."} 
[2026-08-19 16:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019bfbfc0012d0b104007029e780015005420..."} 
[2026-08-19 16:53:51] local.INFO: Processing buffer {"connection_id":158951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019bfbfc0012d0b104007029e780015005420..."} 
[2026-08-19 16:53:51] local.INFO: Packet analysis {"connection_id":158951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019bf"} 
[2026-08-19 16:53:51] local.INFO: Extracted packet for processing {"connection_id":158951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019bf"} 
[2026-08-19 16:53:51] local.INFO: GPS Element Parsed {"raw_longitude":755699776,"raw_latitude":117612152,"longitude_deg":75.5699776,"latitude_deg":11.7612152,"altitude":21,"angle":84,"satellites":32,"speed":0,"hex_longitude":"2d0b1040","hex_latitude":"07029e78","is_valid_coordinates":true} 
[2026-08-19 16:53:51] 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-08-19 16:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507428352001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951957930508288,"note":"Value kept but may cause issues"} 
[2026-08-19 16:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797207532897466368,"note":"Value kept but may cause issues"} 
[2026-08-19 16:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787138392000,"timestamp_ms":1787138392000,"timestamp_seconds":1787138392,"priority":1,"record_length":96,"hex_timestamp":"000001a019bfbfc0"} 
[2026-08-19 16:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-19 16:53: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-08-19 16:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":158951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":158951,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":158951,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507428352001,"66":14580,"104":206,"94":10240,"24":0,"16":28951957930508288,"45":797207532897466368},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,94,24,16,45]} 
[2026-08-19 16:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507428352001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:53:51] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-19 16:53:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-19 16:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951957930508288,"km_value":28951957930508.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":797207532897466368,"description":"Unknown IO ID 45"} 
[2026-08-19 16:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507428352001,"power":14580,"unknown_104":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":797207532897466368}} 
[2026-08-19 16:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":158951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665810,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:53:51] local.INFO: GPS data processed {"connection_id":158951,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:53:51] local.INFO: Acknowledgment sent {"connection_id":158951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:53:59] local.INFO: TCP Data received {"connection_id":158953,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:53:59] local.INFO: Processing buffer {"connection_id":158953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:53:59] local.INFO: IMEI packet received {"connection_id":158953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":158953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:54:04] local.INFO: TCP Data received {"connection_id":158953,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:54:04] local.INFO: Processing buffer {"connection_id":158953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:54:04] local.INFO: IMEI packet received {"connection_id":158953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":158953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:54:05] local.INFO: TCP Data received {"connection_id":158953,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:54:05] local.INFO: Processing buffer {"connection_id":158953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:54:05] local.INFO: Packet analysis {"connection_id":158953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:54:05] local.INFO: Extracted packet for processing {"connection_id":158953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:54:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507356160001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:54:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787138411000,"timestamp_ms":1787138411000,"timestamp_seconds":1787138411,"priority":1,"record_length":96,"hex_timestamp":"000001a019c009f8"} 
[2026-08-19 16:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507356160001,"66":25680,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507356160001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:54:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:54:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507356160001,"power":25680,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":158953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:54:05] local.INFO: GPS data processed {"connection_id":158953,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:54:05] local.INFO: Acknowledgment sent {"connection_id":158953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:54:09] local.INFO: TCP Data received {"connection_id":157728,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:54:09] local.INFO: Processing buffer {"connection_id":157728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:54:09] local.INFO: IMEI packet received {"connection_id":157728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":157728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:54:10] local.INFO: TCP Data received {"connection_id":157728,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:54:10] local.INFO: Processing buffer {"connection_id":157728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:54:10] local.INFO: IMEI packet received {"connection_id":157728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":157728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:54:14] local.INFO: TCP Data received {"connection_id":157728,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:54:14] local.INFO: Processing buffer {"connection_id":157728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:54:14] local.INFO: IMEI packet received {"connection_id":157728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":157728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:54:14] local.INFO: TCP Data received {"connection_id":157728,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:54:14] local.INFO: Processing buffer {"connection_id":157728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:54:14] local.INFO: IMEI packet received {"connection_id":157728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 16:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":157728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:54:37] local.INFO: TCP Data received {"connection_id":158953,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:54:37] local.INFO: Processing buffer {"connection_id":158953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:54:37] local.INFO: Packet analysis {"connection_id":158953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:54:37] local.INFO: Extracted packet for processing {"connection_id":158953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:54:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507356160001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:54:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787138411000,"timestamp_ms":1787138411000,"timestamp_seconds":1787138411,"priority":1,"record_length":96,"hex_timestamp":"000001a019c009f8"} 
[2026-08-19 16:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507356160001,"66":25680,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507356160001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:54:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:54:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507356160001,"power":25680,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":158953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:54:37] local.INFO: GPS data processed {"connection_id":158953,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:54:37] local.INFO: Acknowledgment sent {"connection_id":158953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:54:59] local.INFO: TCP Data received {"connection_id":160274,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:54:59] local.INFO: Processing buffer {"connection_id":160274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:54:59] local.INFO: IMEI packet received {"connection_id":160274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":160274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:55:02] local.INFO: TCP Data received {"connection_id":157729,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157729,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:55:02] local.INFO: Processing buffer {"connection_id":157729,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:55:02] local.INFO: IMEI packet received {"connection_id":157729,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":157729,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:55:04] local.INFO: TCP Data received {"connection_id":160274,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:55:04] local.INFO: Processing buffer {"connection_id":160274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:55:04] local.INFO: IMEI packet received {"connection_id":160274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":160274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:55:05] local.INFO: TCP Data received {"connection_id":160274,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:55:05] local.INFO: Processing buffer {"connection_id":160274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:55:05] local.INFO: Packet analysis {"connection_id":160274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:55:05] local.INFO: Extracted packet for processing {"connection_id":160274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:55:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507356160001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:55:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787138411000,"timestamp_ms":1787138411000,"timestamp_seconds":1787138411,"priority":1,"record_length":96,"hex_timestamp":"000001a019c009f8"} 
[2026-08-19 16:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507356160001,"66":25680,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507356160001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:55:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:55:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507356160001,"power":25680,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":160274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:55:05] local.INFO: GPS data processed {"connection_id":160274,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:55:05] local.INFO: Acknowledgment sent {"connection_id":160274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:55:14] local.INFO: TCP Data received {"connection_id":157729,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157729,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:55:14] local.INFO: Processing buffer {"connection_id":157729,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:55:14] local.INFO: IMEI packet received {"connection_id":157729,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":157729,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:55:21] local.INFO: TCP Data received {"connection_id":157729,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c48668012d0b10c007029ee00017005424..."} 
[2026-08-19 16:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c48668012d0b10c007029ee00017005424..."} 
[2026-08-19 16:55:21] local.INFO: Processing buffer {"connection_id":157729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c48668012d0b10c007029ee00017005424..."} 
[2026-08-19 16:55:21] local.INFO: Packet analysis {"connection_id":157729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:55:21] local.INFO: Extracted packet for processing {"connection_id":157729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:55:21] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612256,"longitude_deg":75.5699904,"latitude_deg":11.7612256,"altitude":23,"angle":84,"satellites":36,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029ee0","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507428352001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951957930508288,"note":"Value kept but may cause issues"} 
[2026-08-19 16:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797207532897466368,"note":"Value kept but may cause issues"} 
[2026-08-19 16:55:21] 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-08-19 16:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787138705000,"timestamp_ms":1787138705000,"timestamp_seconds":1787138705,"priority":1,"record_length":96,"hex_timestamp":"000001a019c48668"} 
[2026-08-19 16:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-19 16:55:21] 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-08-19 16: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-08-19 16:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":157729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":157729,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":157729,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507428352001,"66":12765,"17":206,"94":11008,"24":0,"16":28951957930508288,"45":797207532897466368},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 16:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507428352001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:55:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 16:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951957930508288,"km_value":28951957930508.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":797207532897466368,"description":"Unknown IO ID 45"} 
[2026-08-19 16:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507428352001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797207532897466368}} 
[2026-08-19 16:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":157729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665814,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:55:21] local.INFO: GPS data processed {"connection_id":157729,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:55:21] local.INFO: Acknowledgment sent {"connection_id":157729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:55:36] local.INFO: TCP Data received {"connection_id":158954,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158954,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:55:36] local.INFO: Processing buffer {"connection_id":158954,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:55:36] local.INFO: IMEI packet received {"connection_id":158954,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":158954,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:55:37] local.INFO: TCP Data received {"connection_id":160274,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:55:37] local.INFO: Processing buffer {"connection_id":160274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c009f8012ceb4ac00713cf800015007125..."} 
[2026-08-19 16:55:37] local.INFO: Packet analysis {"connection_id":160274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:55:37] local.INFO: Extracted packet for processing {"connection_id":160274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c0"} 
[2026-08-19 16:55:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":21,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507356160001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:55:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787138411000,"timestamp_ms":1787138411000,"timestamp_seconds":1787138411,"priority":1,"record_length":96,"hex_timestamp":"000001a019c009f8"} 
[2026-08-19 16:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 16:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507356160001,"66":25680,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507356160001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:55:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:55:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507356160001,"power":25680,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":160274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:55:37] local.INFO: GPS data processed {"connection_id":160274,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:55:37] local.INFO: Acknowledgment sent {"connection_id":160274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:55:41] local.INFO: TCP Data received {"connection_id":158954,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158954,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:55:41] local.INFO: Processing buffer {"connection_id":158954,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:55:41] local.INFO: IMEI packet received {"connection_id":158954,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":158954,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:55:43] local.INFO: TCP Data received {"connection_id":158954,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c4a1c0012d0b10c007029ee00017005423..."} 
[2026-08-19 16:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c4a1c0012d0b10c007029ee00017005423..."} 
[2026-08-19 16:55:43] local.INFO: Processing buffer {"connection_id":158954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c4a1c0012d0b10c007029ee00017005423..."} 
[2026-08-19 16:55:43] local.INFO: Packet analysis {"connection_id":158954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:55:43] local.INFO: Extracted packet for processing {"connection_id":158954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:55:43] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612256,"longitude_deg":75.5699904,"latitude_deg":11.7612256,"altitude":23,"angle":84,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029ee0","is_valid_coordinates":true} 
[2026-08-19 16:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507508480001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951957930508288,"note":"Value kept but may cause issues"} 
[2026-08-19 16:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385848320,"note":"Value kept but may cause issues"} 
[2026-08-19 16:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787138712000,"timestamp_ms":1787138712000,"timestamp_seconds":1787138712,"priority":1,"record_length":96,"hex_timestamp":"000001a019c4a1c0"} 
[2026-08-19 16:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-19 16:55:43] 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-08-19 16: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-08-19 16:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507508480001,"66":12678,"17":206,"94":11008,"24":0,"16":28951957930508288,"45":797348270385848320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 16:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507508480001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:55:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 16:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951957930508288,"km_value":28951957930508.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385848320,"description":"Unknown IO ID 45"} 
[2026-08-19 16:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507508480001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270385848320}} 
[2026-08-19 16:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":158954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665816,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:55:43] local.INFO: GPS data processed {"connection_id":158954,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:55:43] local.INFO: Acknowledgment sent {"connection_id":158954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:55:59] local.INFO: TCP Data received {"connection_id":158955,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:55:59] local.INFO: Processing buffer {"connection_id":158955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:55:59] local.INFO: IMEI packet received {"connection_id":158955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":158955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:56:04] local.INFO: TCP Data received {"connection_id":158955,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:56:04] local.INFO: Processing buffer {"connection_id":158955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:56:04] local.INFO: IMEI packet received {"connection_id":158955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":158955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:56:05] local.INFO: TCP Data received {"connection_id":158955,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:56:05] local.INFO: Processing buffer {"connection_id":158955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:56:05] local.INFO: Packet analysis {"connection_id":158955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:56:05] local.INFO: Extracted packet for processing {"connection_id":158955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:56:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507433216001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:56:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787138712000,"timestamp_ms":1787138712000,"timestamp_seconds":1787138712,"priority":1,"record_length":96,"hex_timestamp":"000001a019c4a1c0"} 
[2026-08-19 16:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 16:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507433216001,"66":25691,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507433216001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:56:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:56:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507433216001,"power":25691,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":158955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:56:06] local.INFO: GPS data processed {"connection_id":158955,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:56:06] local.INFO: Acknowledgment sent {"connection_id":158955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:56:15] local.INFO: TCP Data received {"connection_id":158954,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c4a1c0012d0b10c007029ee00017005423..."} 
[2026-08-19 16:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c4a1c0012d0b10c007029ee00017005423..."} 
[2026-08-19 16:56:15] local.INFO: Processing buffer {"connection_id":158954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c4a1c0012d0b10c007029ee00017005423..."} 
[2026-08-19 16:56:15] local.INFO: Packet analysis {"connection_id":158954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:56:15] local.INFO: Extracted packet for processing {"connection_id":158954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:56:15] local.INFO: GPS Element Parsed {"raw_longitude":755699904,"raw_latitude":117612256,"longitude_deg":75.5699904,"latitude_deg":11.7612256,"altitude":23,"angle":84,"satellites":35,"speed":0,"hex_longitude":"2d0b10c0","hex_latitude":"07029ee0","is_valid_coordinates":true} 
[2026-08-19 16:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507510272001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951957930508288,"note":"Value kept but may cause issues"} 
[2026-08-19 16:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385848320,"note":"Value kept but may cause issues"} 
[2026-08-19 16:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787138712000,"timestamp_ms":1787138712000,"timestamp_seconds":1787138712,"priority":1,"record_length":96,"hex_timestamp":"000001a019c4a1c0"} 
[2026-08-19 16:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:56:15] 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-08-19 16:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 16:56:15] 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-08-19 16: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-08-19 16:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507510272001,"66":12678,"17":206,"94":11008,"24":0,"16":28951957930508288,"45":797348270385848320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 16:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507510272001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:56:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 16:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951957930508288,"km_value":28951957930508.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385848320,"description":"Unknown IO ID 45"} 
[2026-08-19 16:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507510272001,"power":12678,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270385848320}} 
[2026-08-19 16:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":158954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665818,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:56:15] local.INFO: GPS data processed {"connection_id":158954,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:56:15] local.INFO: Acknowledgment sent {"connection_id":158954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:56:37] local.INFO: TCP Data received {"connection_id":158955,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:56:37] local.INFO: Processing buffer {"connection_id":158955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:56:37] local.INFO: Packet analysis {"connection_id":158955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:56:37] local.INFO: Extracted packet for processing {"connection_id":158955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507433216001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:56:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787138712000,"timestamp_ms":1787138712000,"timestamp_seconds":1787138712,"priority":1,"record_length":96,"hex_timestamp":"000001a019c4a1c0"} 
[2026-08-19 16:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 16:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507433216001,"66":25691,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507433216001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:56:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:56:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507433216001,"power":25691,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":158955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:56:37] local.INFO: GPS data processed {"connection_id":158955,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:56:37] local.INFO: Acknowledgment sent {"connection_id":158955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:56:41] local.INFO: TCP Data received {"connection_id":157730,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157730,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:56:41] local.INFO: Processing buffer {"connection_id":157730,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:56:41] local.INFO: IMEI packet received {"connection_id":157730,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":157730,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:56:46] local.INFO: TCP Data received {"connection_id":157730,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157730,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:56:46] local.INFO: Processing buffer {"connection_id":157730,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:56:46] local.INFO: IMEI packet received {"connection_id":157730,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":157730,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:56:48] local.INFO: TCP Data received {"connection_id":157730,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c4b160012d0b10000702a1400017013724..."} 
[2026-08-19 16:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c4b160012d0b10000702a1400017013724..."} 
[2026-08-19 16:56:48] local.INFO: Processing buffer {"connection_id":157730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c4b160012d0b10000702a1400017013724..."} 
[2026-08-19 16:56:48] local.INFO: Packet analysis {"connection_id":157730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:56:48] local.INFO: Extracted packet for processing {"connection_id":157730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:56:48] local.INFO: GPS Element Parsed {"raw_longitude":755699712,"raw_latitude":117612864,"longitude_deg":75.5699712,"latitude_deg":11.7612864,"altitude":23,"angle":311,"satellites":36,"speed":0,"hex_longitude":"2d0b1000","hex_latitude":"0702a140","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507510272001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951957930508288,"note":"Value kept but may cause issues"} 
[2026-08-19 16:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270385848320,"note":"Value kept but may cause issues"} 
[2026-08-19 16:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787138716000,"timestamp_ms":1787138716000,"timestamp_seconds":1787138716,"priority":1,"record_length":96,"hex_timestamp":"000001a019c4b160"} 
[2026-08-19 16:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:56:48] 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-08-19 16: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 16:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":157730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":157730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":157730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507510272001,"66":12113,"17":206,"94":11008,"24":0,"16":28951957930508288,"45":797348270385848320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 16:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507510272001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:56:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 16:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951957930508288,"km_value":28951957930508.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270385848320,"description":"Unknown IO ID 45"} 
[2026-08-19 16:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507510272001,"power":12113,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":797348270385848320}} 
[2026-08-19 16:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":157730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665820,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:56:48] local.INFO: GPS data processed {"connection_id":157730,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:56:48] local.INFO: Acknowledgment sent {"connection_id":157730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:57:04] local.INFO: TCP Data received {"connection_id":157731,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:57:04] local.INFO: Processing buffer {"connection_id":157731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:57:04] local.INFO: IMEI packet received {"connection_id":157731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":157731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:57:09] local.INFO: TCP Data received {"connection_id":157731,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:57:09] local.INFO: Processing buffer {"connection_id":157731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:57:09] local.INFO: IMEI packet received {"connection_id":157731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":157731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:57:10] local.INFO: TCP Data received {"connection_id":157731,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:57:10] local.INFO: Processing buffer {"connection_id":157731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:57:10] local.INFO: Packet analysis {"connection_id":157731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:57:10] local.INFO: Extracted packet for processing {"connection_id":157731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:57:10] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507433216001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:57:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787138712000,"timestamp_ms":1787138712000,"timestamp_seconds":1787138712,"priority":1,"record_length":96,"hex_timestamp":"000001a019c4a1c0"} 
[2026-08-19 16:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 16:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507433216001,"66":25691,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507433216001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:57:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:57:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507433216001,"power":25691,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":157731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:57:10] local.INFO: GPS data processed {"connection_id":157731,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:57:10] local.INFO: Acknowledgment sent {"connection_id":157731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:57:15] local.INFO: TCP Data received {"connection_id":157731,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:57:15] local.INFO: Processing buffer {"connection_id":157731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:57:15] local.INFO: Packet analysis {"connection_id":157731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:57:15] local.INFO: Extracted packet for processing {"connection_id":157731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:57:15] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507433216001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:57:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787138712000,"timestamp_ms":1787138712000,"timestamp_seconds":1787138712,"priority":1,"record_length":96,"hex_timestamp":"000001a019c4a1c0"} 
[2026-08-19 16:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 16:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507433216001,"66":25691,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507433216001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:57:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:57:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507433216001,"power":25691,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":157731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:57:15] local.INFO: GPS data processed {"connection_id":157731,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:57:15] local.INFO: Acknowledgment sent {"connection_id":157731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:57:20] local.INFO: TCP Data received {"connection_id":157730,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c4ebf8012d0b0f000702a198001700f71c..."} 
[2026-08-19 16:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c4ebf8012d0b0f000702a198001700f71c..."} 
[2026-08-19 16:57:20] local.INFO: Processing buffer {"connection_id":157730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c4ebf8012d0b0f000702a198001700f71c..."} 
[2026-08-19 16:57:20] local.INFO: Packet analysis {"connection_id":157730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:57:20] local.INFO: Extracted packet for processing {"connection_id":157730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:57:20] local.INFO: GPS Element Parsed {"raw_longitude":755699456,"raw_latitude":117612952,"longitude_deg":75.5699456,"latitude_deg":11.7612952,"altitude":23,"angle":247,"satellites":28,"speed":2,"hex_longitude":"2d0b0f00","hex_latitude":"0702a198","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507511296001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951966520442880,"note":"Value kept but may cause issues"} 
[2026-08-19 16:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797137164153470976,"note":"Value kept but may cause issues"} 
[2026-08-19 16:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787138731000,"timestamp_ms":1787138731000,"timestamp_seconds":1787138731,"priority":1,"record_length":96,"hex_timestamp":"000001a019c4ebf8"} 
[2026-08-19 16:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:57: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-08-19 16: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-19 16:57:20] 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-08-19 16: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-08-19 16:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157730,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507511296001,"66":14407,"17":206,"94":11008,"24":2,"16":28951966520442880,"45":797137164153470976},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 16:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507511296001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:57:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 16:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951966520442880,"km_value":28951966520442.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":797137164153470976,"description":"Unknown IO ID 45"} 
[2026-08-19 16:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507511296001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":797137164153470976}} 
[2026-08-19 16:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":157730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665823,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:57:20] local.INFO: GPS data processed {"connection_id":157730,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:57:20] local.INFO: Acknowledgment sent {"connection_id":157730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:57:37] local.INFO: TCP Data received {"connection_id":158956,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158956,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:57:37] local.INFO: Processing buffer {"connection_id":158956,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:57:37] local.INFO: IMEI packet received {"connection_id":158956,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":158956,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:57:42] local.INFO: TCP Data received {"connection_id":158956,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158956,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:57:42] local.INFO: Processing buffer {"connection_id":158956,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:57:42] local.INFO: IMEI packet received {"connection_id":158956,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":158956,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:57:43] local.INFO: TCP Data received {"connection_id":158956,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 16:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 16:57:43] local.INFO: Processing buffer {"connection_id":158956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 16:57:43] local.INFO: Packet analysis {"connection_id":158956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c5"} 
[2026-08-19 16:57:43] local.INFO: Extracted packet for processing {"connection_id":158956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c5"} 
[2026-08-19 16:57:43] local.INFO: GPS Element Parsed {"raw_longitude":755699392,"raw_latitude":117612896,"longitude_deg":75.5699392,"latitude_deg":11.7612896,"altitude":23,"angle":246,"satellites":33,"speed":0,"hex_longitude":"2d0b0ec0","hex_latitude":"0702a160","is_valid_coordinates":true} 
[2026-08-19 16:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507515136001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 16:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796855689176782848,"note":"Value kept but may cause issues"} 
[2026-08-19 16:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787138743000,"timestamp_ms":1787138743000,"timestamp_seconds":1787138743,"priority":1,"record_length":96,"hex_timestamp":"000001a019c51ad8"} 
[2026-08-19 16:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16: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-08-19 16:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 16:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158956,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158956,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507515136001,"66":14135,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796855689176782848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 16:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507515136001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:57:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 16:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":796855689176782848,"description":"Unknown IO ID 45"} 
[2026-08-19 16:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507515136001,"power":14135,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796855689176782848}} 
[2026-08-19 16:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":158956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665824,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:57:43] local.INFO: GPS data processed {"connection_id":158956,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:57:43] local.INFO: Acknowledgment sent {"connection_id":158956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:57:59] local.INFO: TCP Data received {"connection_id":158957,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:57:59] local.INFO: Processing buffer {"connection_id":158957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:57:59] local.INFO: IMEI packet received {"connection_id":158957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":158957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:58:04] local.INFO: TCP Data received {"connection_id":158957,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:58:04] local.INFO: Processing buffer {"connection_id":158957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:58:04] local.INFO: IMEI packet received {"connection_id":158957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":158957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:58:05] local.INFO: TCP Data received {"connection_id":158957,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:58:05] local.INFO: Processing buffer {"connection_id":158957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:58:05] local.INFO: Packet analysis {"connection_id":158957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:58:05] local.INFO: Extracted packet for processing {"connection_id":158957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:58:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507433216001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:58:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787138712000,"timestamp_ms":1787138712000,"timestamp_seconds":1787138712,"priority":1,"record_length":96,"hex_timestamp":"000001a019c4a1c0"} 
[2026-08-19 16:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 16:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507433216001,"66":25691,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507433216001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:58:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:58:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507433216001,"power":25691,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":158957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:58:05] local.INFO: GPS data processed {"connection_id":158957,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:58:05] local.INFO: Acknowledgment sent {"connection_id":158957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:58:14] local.INFO: TCP Data received {"connection_id":158956,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 16:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 16:58:14] local.INFO: Processing buffer {"connection_id":158956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 16:58:14] local.INFO: Packet analysis {"connection_id":158956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c5"} 
[2026-08-19 16:58:14] local.INFO: Extracted packet for processing {"connection_id":158956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c5"} 
[2026-08-19 16:58:14] local.INFO: GPS Element Parsed {"raw_longitude":755699392,"raw_latitude":117612896,"longitude_deg":75.5699392,"latitude_deg":11.7612896,"altitude":23,"angle":246,"satellites":33,"speed":0,"hex_longitude":"2d0b0ec0","hex_latitude":"0702a160","is_valid_coordinates":true} 
[2026-08-19 16:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507518208001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 16:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320432590848,"note":"Value kept but may cause issues"} 
[2026-08-19 16:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787138743000,"timestamp_ms":1787138743000,"timestamp_seconds":1787138743,"priority":1,"record_length":96,"hex_timestamp":"000001a019c51ad8"} 
[2026-08-19 16:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 16:58:14] 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-08-19 16: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-08-19 16:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158956,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158956,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507518208001,"66":14135,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796785320432590848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 16:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507518208001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:58:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 16:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320432590848,"description":"Unknown IO ID 45"} 
[2026-08-19 16:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507518208001,"power":14135,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796785320432590848}} 
[2026-08-19 16:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":158956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665826,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:58:14] local.INFO: GPS data processed {"connection_id":158956,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:58:14] local.INFO: Acknowledgment sent {"connection_id":158956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:58:36] local.INFO: TCP Data received {"connection_id":158958,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158958,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:58:36] local.INFO: Processing buffer {"connection_id":158958,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:58:36] local.INFO: IMEI packet received {"connection_id":158958,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":158958,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:58:37] local.INFO: TCP Data received {"connection_id":158957,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:58:37] local.INFO: Processing buffer {"connection_id":158957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:58:37] local.INFO: Packet analysis {"connection_id":158957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:58:37] local.INFO: Extracted packet for processing {"connection_id":158957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:58:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507433216001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:58:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787138712000,"timestamp_ms":1787138712000,"timestamp_seconds":1787138712,"priority":1,"record_length":96,"hex_timestamp":"000001a019c4a1c0"} 
[2026-08-19 16:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 16:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507433216001,"66":25691,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507433216001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:58:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:58:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507433216001,"power":25691,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":158957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:58:37] local.INFO: GPS data processed {"connection_id":158957,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:58:37] local.INFO: Acknowledgment sent {"connection_id":158957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:58:42] local.INFO: TCP Data received {"connection_id":158958,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158958,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:58:42] local.INFO: Processing buffer {"connection_id":158958,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:58:42] local.INFO: IMEI packet received {"connection_id":158958,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":158958,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:58:44] local.INFO: TCP Data received {"connection_id":158958,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 16:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 16:58:44] local.INFO: Processing buffer {"connection_id":158958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 16:58:44] local.INFO: Packet analysis {"connection_id":158958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c5"} 
[2026-08-19 16:58:44] local.INFO: Extracted packet for processing {"connection_id":158958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c5"} 
[2026-08-19 16:58:44] local.INFO: GPS Element Parsed {"raw_longitude":755699392,"raw_latitude":117612896,"longitude_deg":75.5699392,"latitude_deg":11.7612896,"altitude":23,"angle":246,"satellites":33,"speed":0,"hex_longitude":"2d0b0ec0","hex_latitude":"0702a160","is_valid_coordinates":true} 
[2026-08-19 16:58:44] 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-08-19 16:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507518208001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 16:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320432590848,"note":"Value kept but may cause issues"} 
[2026-08-19 16:58:44] 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-08-19 16:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787138743000,"timestamp_ms":1787138743000,"timestamp_seconds":1787138743,"priority":1,"record_length":96,"hex_timestamp":"000001a019c51ad8"} 
[2026-08-19 16:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 16:58: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-08-19 16:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507518208001,"66":14135,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796785320432590848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 16:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507518208001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:58:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 16:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320432590848,"description":"Unknown IO ID 45"} 
[2026-08-19 16:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507518208001,"power":14135,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796785320432590848}} 
[2026-08-19 16:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":158958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665828,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:58:44] local.INFO: GPS data processed {"connection_id":158958,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:58:44] local.INFO: Acknowledgment sent {"connection_id":158958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:59:04] local.INFO: TCP Data received {"connection_id":160276,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:59:04] local.INFO: Processing buffer {"connection_id":160276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:59:04] local.INFO: IMEI packet received {"connection_id":160276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":160276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:59:09] local.INFO: TCP Data received {"connection_id":160276,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:59:09] local.INFO: Processing buffer {"connection_id":160276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:59:09] local.INFO: IMEI packet received {"connection_id":160276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 16:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":160276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:59:10] local.INFO: TCP Data received {"connection_id":160276,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:59:10] local.INFO: Processing buffer {"connection_id":160276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:59:10] local.INFO: Packet analysis {"connection_id":160276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:59:10] local.INFO: Extracted packet for processing {"connection_id":160276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:59:10] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 16:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507433216001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787138712000,"timestamp_ms":1787138712000,"timestamp_seconds":1787138712,"priority":1,"record_length":96,"hex_timestamp":"000001a019c4a1c0"} 
[2026-08-19 16:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 16:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 16:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507433216001,"66":25691,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507433216001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:59:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507433216001,"power":25691,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":160276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:59:10] local.INFO: GPS data processed {"connection_id":160276,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:59:10] local.INFO: Acknowledgment sent {"connection_id":160276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:59:15] local.INFO: TCP Data received {"connection_id":160276,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:59:15] local.INFO: Processing buffer {"connection_id":160276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 16:59:15] local.INFO: Packet analysis {"connection_id":160276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:59:15] local.INFO: Extracted packet for processing {"connection_id":160276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 16:59:15] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507433216001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787138712000,"timestamp_ms":1787138712000,"timestamp_seconds":1787138712,"priority":1,"record_length":96,"hex_timestamp":"000001a019c4a1c0"} 
[2026-08-19 16:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 16:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 16: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-08-19 16:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 16:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 16:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 16:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507433216001,"66":25691,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 16:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 16:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 16:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507433216001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:59:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 16:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:59:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 16:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507433216001,"power":25691,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 16:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":160276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:59:15] local.INFO: GPS data processed {"connection_id":160276,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:59:15] local.INFO: Acknowledgment sent {"connection_id":160276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:59:18] local.INFO: TCP Data received {"connection_id":158958,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 16:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 16:59:18] local.INFO: Processing buffer {"connection_id":158958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 16:59:18] local.INFO: Packet analysis {"connection_id":158958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c5"} 
[2026-08-19 16:59:18] local.INFO: Extracted packet for processing {"connection_id":158958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c5"} 
[2026-08-19 16:59:18] local.INFO: GPS Element Parsed {"raw_longitude":755699392,"raw_latitude":117612896,"longitude_deg":75.5699392,"latitude_deg":11.7612896,"altitude":23,"angle":246,"satellites":33,"speed":0,"hex_longitude":"2d0b0ec0","hex_latitude":"0702a160","is_valid_coordinates":true} 
[2026-08-19 16:59:18] 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-08-19 16:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507518208001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320432590848,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:18] 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-08-19 16:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787138743000,"timestamp_ms":1787138743000,"timestamp_seconds":1787138743,"priority":1,"record_length":96,"hex_timestamp":"000001a019c51ad8"} 
[2026-08-19 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-08-19 16:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 16:59:18] 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-08-19 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-08-19 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-08-19 16:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507518208001,"66":14135,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796785320432590848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 16:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507518208001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:59:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 16:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320432590848,"description":"Unknown IO ID 45"} 
[2026-08-19 16:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507518208001,"power":14135,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796785320432590848}} 
[2026-08-19 16:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":158958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665831,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:59:18] local.INFO: GPS data processed {"connection_id":158958,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:59:18] local.INFO: Acknowledgment sent {"connection_id":158958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:59:18] local.INFO: TCP Data received {"connection_id":158086,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158086,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:59:18] local.INFO: Processing buffer {"connection_id":158086,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 16:59:18] local.INFO: IMEI packet received {"connection_id":158086,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 16:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":158086,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:59:19] local.INFO: TCP Data received {"connection_id":158086,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019c65358012d1a8c00071f34200045011623..."} 
[2026-08-19 16:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c65358012d1a8c00071f34200045011623..."} 
[2026-08-19 16:59:19] local.INFO: Processing buffer {"connection_id":158086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c65358012d1a8c00071f34200045011623..."} 
[2026-08-19 16:59:19] local.INFO: Packet analysis {"connection_id":158086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c6"} 
[2026-08-19 16:59:19] local.INFO: Extracted packet for processing {"connection_id":158086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c6"} 
[2026-08-19 16:59:19] local.INFO: GPS Element Parsed {"raw_longitude":756714496,"raw_latitude":119485472,"longitude_deg":75.6714496,"latitude_deg":11.9485472,"altitude":69,"angle":278,"satellites":35,"speed":12,"hex_longitude":"2d1a8c00","hex_latitude":"071f3420","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507537152001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13894343756611584,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915296509615998976,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787138823000,"timestamp_ms":1787138823000,"timestamp_seconds":1787138823,"priority":1,"record_length":96,"hex_timestamp":"000001a019c65358"} 
[2026-08-19 16:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 16:59:19] 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-08-19 16: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-08-19 16:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:59:19] 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-08-19 16:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507537152001,"66":13167,"101":206,"83":41984,"24":12,"16":13894343756611584,"45":1915296509615998976},"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-08-19 16:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507537152001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:59:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 16:59:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13894343756611584,"km_value":13894343756611.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915296509615998976,"description":"Unknown IO ID 45"} 
[2026-08-19 16:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507537152001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1915296509615998976}} 
[2026-08-19 16:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":158086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:59:19] local.INFO: GPS data processed {"connection_id":158086,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:59:19] local.INFO: Acknowledgment sent {"connection_id":158086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:59:44] local.INFO: TCP Data received {"connection_id":158087,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158087,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:59:44] local.INFO: Processing buffer {"connection_id":158087,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:59:44] local.INFO: IMEI packet received {"connection_id":158087,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 16:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":158087,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 16:59:46] local.INFO: TCP Data received {"connection_id":158087,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158087,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:59:46] local.INFO: Processing buffer {"connection_id":158087,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 16:59:46] local.INFO: IMEI packet received {"connection_id":158087,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 16:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":158087,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 16:59:48] local.INFO: TCP Data received {"connection_id":158087,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 16:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 16:59:48] local.INFO: Processing buffer {"connection_id":158087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 16:59:48] local.INFO: Packet analysis {"connection_id":158087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c5"} 
[2026-08-19 16:59:48] local.INFO: Extracted packet for processing {"connection_id":158087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c5"} 
[2026-08-19 16:59:48] local.INFO: GPS Element Parsed {"raw_longitude":755699392,"raw_latitude":117612896,"longitude_deg":75.5699392,"latitude_deg":11.7612896,"altitude":23,"angle":246,"satellites":33,"speed":0,"hex_longitude":"2d0b0ec0","hex_latitude":"0702a160","is_valid_coordinates":true} 
[2026-08-19 16:59:48] 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-08-19 16:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507518208001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320432590848,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787138743000,"timestamp_ms":1787138743000,"timestamp_seconds":1787138743,"priority":1,"record_length":96,"hex_timestamp":"000001a019c51ad8"} 
[2026-08-19 16:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 16: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 16:59:48] 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-08-19 16: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-08-19 16:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":158087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":158087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":158087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507518208001,"66":14135,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796785320432590848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 16:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507518208001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:59:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 16:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320432590848,"description":"Unknown IO ID 45"} 
[2026-08-19 16:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507518208001,"power":14135,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796785320432590848}} 
[2026-08-19 16:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":158087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665833,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:59:48] local.INFO: GPS data processed {"connection_id":158087,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:59:48] local.INFO: Acknowledgment sent {"connection_id":158087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:59:49] local.INFO: TCP Data received {"connection_id":158087,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 16:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 16:59:49] local.INFO: Processing buffer {"connection_id":158087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 16:59:49] local.INFO: Packet analysis {"connection_id":158087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c5"} 
[2026-08-19 16:59:49] local.INFO: Extracted packet for processing {"connection_id":158087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c5"} 
[2026-08-19 16:59:49] local.INFO: GPS Element Parsed {"raw_longitude":755699392,"raw_latitude":117612896,"longitude_deg":75.5699392,"latitude_deg":11.7612896,"altitude":23,"angle":246,"satellites":33,"speed":0,"hex_longitude":"2d0b0ec0","hex_latitude":"0702a160","is_valid_coordinates":true} 
[2026-08-19 16:59:49] 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-08-19 16:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507518208001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320432590848,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:49] 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-08-19 16:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787138743000,"timestamp_ms":1787138743000,"timestamp_seconds":1787138743,"priority":1,"record_length":96,"hex_timestamp":"000001a019c51ad8"} 
[2026-08-19 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-08-19 16:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 16:59:49] 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-08-19 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-08-19 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-08-19 16:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":158087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":158087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":158087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 16:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 16:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 16:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 16:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507518208001,"66":14135,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796785320432590848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 16:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 16:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 16:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507518208001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:59:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 16:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320432590848,"description":"Unknown IO ID 45"} 
[2026-08-19 16:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507518208001,"power":14135,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796785320432590848}} 
[2026-08-19 16:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":158087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665834,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:59:49] local.INFO: GPS data processed {"connection_id":158087,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:59:49] local.INFO: Acknowledgment sent {"connection_id":158087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:59:52] local.INFO: TCP Data received {"connection_id":158086,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019c67298012d1a8200071f35e00046012325..."} 
[2026-08-19 16:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c67298012d1a8200071f35e00046012325..."} 
[2026-08-19 16:59:52] local.INFO: Processing buffer {"connection_id":158086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c67298012d1a8200071f35e00046012325..."} 
[2026-08-19 16:59:52] local.INFO: Packet analysis {"connection_id":158086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c6"} 
[2026-08-19 16:59:52] local.INFO: Extracted packet for processing {"connection_id":158086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c6"} 
[2026-08-19 16:59:52] local.INFO: GPS Element Parsed {"raw_longitude":756711936,"raw_latitude":119485920,"longitude_deg":75.6711936,"latitude_deg":11.948592,"altitude":70,"angle":291,"satellites":37,"speed":6,"hex_longitude":"2d1a8200","hex_latitude":"071f35e0","is_valid_coordinates":true} 
[2026-08-19 16: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-08-19 16:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507538688001,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13894468310663168,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912903972313899008,"note":"Value kept but may cause issues"} 
[2026-08-19 16:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 16:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787138831000,"timestamp_ms":1787138831000,"timestamp_seconds":1787138831,"priority":1,"record_length":96,"hex_timestamp":"000001a019c67298"} 
[2026-08-19 16:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 16:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 16: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-19 16:59:52] 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-08-19 16: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-08-19 16:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 16:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 16:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":158086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 16:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":158086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":158086,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 16:59:52] 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-08-19 16:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 16:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 16:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507538688001,"66":13222,"101":206,"83":41984,"24":6,"16":13894468310663168,"45":1912903972313899008},"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-08-19 16:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 16:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 16:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507538688001,"description":"Unknown IO ID 0"} 
[2026-08-19 16:59:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 16:59:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 16:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13894468310663168,"km_value":13894468310663.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 16:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912903972313899008,"description":"Unknown IO ID 45"} 
[2026-08-19 16:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507538688001,"power":13222,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1912903972313899008}} 
[2026-08-19 16:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":158086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 16:59:52] local.INFO: GPS data processed {"connection_id":158086,"processed":1,"errors":0,"total":1} 
[2026-08-19 16:59:52] local.INFO: Acknowledgment sent {"connection_id":158086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 16:59:59] local.INFO: TCP Data received {"connection_id":160277,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:59:59] local.INFO: Processing buffer {"connection_id":160277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 16:59:59] local.INFO: IMEI packet received {"connection_id":160277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 16:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":160277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:00:04] local.INFO: TCP Data received {"connection_id":160277,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:00:04] local.INFO: Processing buffer {"connection_id":160277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:00:04] local.INFO: IMEI packet received {"connection_id":160277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":160277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:00:05] local.INFO: TCP Data received {"connection_id":160277,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:00:05] local.INFO: Processing buffer {"connection_id":160277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:00:05] local.INFO: Packet analysis {"connection_id":160277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 17:00:05] local.INFO: Extracted packet for processing {"connection_id":160277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 17:00:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507433216001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787138712000,"timestamp_ms":1787138712000,"timestamp_seconds":1787138712,"priority":1,"record_length":96,"hex_timestamp":"000001a019c4a1c0"} 
[2026-08-19 17:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 17:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507433216001,"66":25691,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507433216001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:00:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:00:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507433216001,"power":25691,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":160277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:00:05] local.INFO: GPS data processed {"connection_id":160277,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:00:05] local.INFO: Acknowledgment sent {"connection_id":160277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:00:08] local.INFO: TCP Data received {"connection_id":157732,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:00:08] local.INFO: Processing buffer {"connection_id":157732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:00:08] local.INFO: IMEI packet received {"connection_id":157732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":157732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:00:13] local.INFO: TCP Data received {"connection_id":157732,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:00:13] local.INFO: Processing buffer {"connection_id":157732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:00:13] local.INFO: IMEI packet received {"connection_id":157732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":157732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:00:14] local.INFO: TCP Data received {"connection_id":157732,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019c699a8012d1a7ec0071f36d00046011825..."} 
[2026-08-19 17:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c699a8012d1a7ec0071f36d00046011825..."} 
[2026-08-19 17:00:14] local.INFO: Processing buffer {"connection_id":157732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c699a8012d1a7ec0071f36d00046011825..."} 
[2026-08-19 17:00:14] local.INFO: Packet analysis {"connection_id":157732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c6"} 
[2026-08-19 17:00:14] local.INFO: Extracted packet for processing {"connection_id":157732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c6"} 
[2026-08-19 17:00:14] local.INFO: GPS Element Parsed {"raw_longitude":756711104,"raw_latitude":119486160,"longitude_deg":75.6711104,"latitude_deg":11.948616,"altitude":70,"angle":280,"satellites":37,"speed":10,"hex_longitude":"2d1a7ec0","hex_latitude":"071f36d0","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507540736001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13894511260336128,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910089222546907136,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:14] 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-08-19 17:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787138841000,"timestamp_ms":1787138841000,"timestamp_seconds":1787138841,"priority":1,"record_length":96,"hex_timestamp":"000001a019c699a8"} 
[2026-08-19 17:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:00:14] 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-08-19 17: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 17:00:14] 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-08-19 17: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-08-19 17:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:00:14] 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-08-19 17:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507540736001,"66":13167,"101":206,"83":41984,"24":10,"16":13894511260336128,"45":1910089222546907136},"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-08-19 17:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507540736001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:00:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 17:00:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13894511260336128,"km_value":13894511260336.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910089222546907136,"description":"Unknown IO ID 45"} 
[2026-08-19 17:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507540736001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1910089222546907136}} 
[2026-08-19 17:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":157732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:00:14] local.INFO: GPS data processed {"connection_id":157732,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:00:14] local.INFO: Acknowledgment sent {"connection_id":157732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:00:20] local.INFO: TCP Data received {"connection_id":158087,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 17:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 17:00:20] local.INFO: Processing buffer {"connection_id":158087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c51ad8012d0b0ec00702a160001700f621..."} 
[2026-08-19 17:00:20] local.INFO: Packet analysis {"connection_id":158087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c5"} 
[2026-08-19 17:00:20] local.INFO: Extracted packet for processing {"connection_id":158087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c5"} 
[2026-08-19 17:00:20] local.INFO: GPS Element Parsed {"raw_longitude":755699392,"raw_latitude":117612896,"longitude_deg":75.5699392,"latitude_deg":11.7612896,"altitude":23,"angle":246,"satellites":33,"speed":0,"hex_longitude":"2d0b0ec0","hex_latitude":"0702a160","is_valid_coordinates":true} 
[2026-08-19 17:00:20] 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-08-19 17:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507518208001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320432590848,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787138743000,"timestamp_ms":1787138743000,"timestamp_seconds":1787138743,"priority":1,"record_length":96,"hex_timestamp":"000001a019c51ad8"} 
[2026-08-19 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-08-19 17:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 17:00: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-08-19 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-08-19 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-08-19 17:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158087,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 17:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 17:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507518208001,"66":14135,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796785320432590848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 17:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 17:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 17:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507518208001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:00:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 17:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320432590848,"description":"Unknown IO ID 45"} 
[2026-08-19 17:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507518208001,"power":14135,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796785320432590848}} 
[2026-08-19 17:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":158087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665838,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:00:20] local.INFO: GPS data processed {"connection_id":158087,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:00:20] local.INFO: Acknowledgment sent {"connection_id":158087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:00:38] local.INFO: TCP Data received {"connection_id":160277,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:00:38] local.INFO: Processing buffer {"connection_id":160277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c4a1c0012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:00:38] local.INFO: Packet analysis {"connection_id":160277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 17:00:38] local.INFO: Extracted packet for processing {"connection_id":160277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c4"} 
[2026-08-19 17:00:38] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507433216001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787138712000,"timestamp_ms":1787138712000,"timestamp_seconds":1787138712,"priority":1,"record_length":96,"hex_timestamp":"000001a019c4a1c0"} 
[2026-08-19 17:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 17:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507433216001,"66":25691,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507433216001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:00:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:00:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507433216001,"power":25691,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":160277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:00:38] local.INFO: GPS data processed {"connection_id":160277,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:00:38] local.INFO: Acknowledgment sent {"connection_id":160277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:00:42] local.INFO: TCP Data received {"connection_id":158959,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:00:42] local.INFO: Processing buffer {"connection_id":158959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:00:42] local.INFO: IMEI packet received {"connection_id":158959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 17:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":158959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:00:45] local.INFO: TCP Data received {"connection_id":157732,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019c6b118012d1a7640071f37f00046012f25..."} 
[2026-08-19 17:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c6b118012d1a7640071f37f00046012f25..."} 
[2026-08-19 17:00:45] local.INFO: Processing buffer {"connection_id":157732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c6b118012d1a7640071f37f00046012f25..."} 
[2026-08-19 17:00:45] local.INFO: Packet analysis {"connection_id":157732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c6"} 
[2026-08-19 17:00:45] local.INFO: Extracted packet for processing {"connection_id":157732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c6"} 
[2026-08-19 17:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756708928,"raw_latitude":119486448,"longitude_deg":75.6708928,"latitude_deg":11.9486448,"altitude":70,"angle":303,"satellites":37,"speed":7,"hex_longitude":"2d1a7640","hex_latitude":"071f37f0","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507543296001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13894618634518528,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1909174428872658944,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:45] 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-08-19 17:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787138847000,"timestamp_ms":1787138847000,"timestamp_seconds":1787138847,"priority":1,"record_length":96,"hex_timestamp":"000001a019c6b118"} 
[2026-08-19 17:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:00:45] 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-08-19 17: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-19 17:00:45] 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-08-19 17: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-08-19 17:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:00:45] 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-08-19 17:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507543296001,"66":13167,"101":206,"83":41984,"24":7,"16":13894618634518528,"45":1909174428872658944},"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-08-19 17:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507543296001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:00:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 17:00:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13894618634518528,"km_value":13894618634518.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1909174428872658944,"description":"Unknown IO ID 45"} 
[2026-08-19 17:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507543296001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1909174428872658944}} 
[2026-08-19 17:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":157732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:00:45] local.INFO: GPS data processed {"connection_id":157732,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:00:45] local.INFO: Acknowledgment sent {"connection_id":157732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:00:46] local.INFO: TCP Data received {"connection_id":158959,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158959,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:00:46] local.INFO: Processing buffer {"connection_id":158959,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:00:46] local.INFO: IMEI packet received {"connection_id":158959,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 17:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":158959,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:00:50] local.INFO: TCP Data received {"connection_id":158959,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:00:50] local.INFO: Processing buffer {"connection_id":158959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:00:50] local.INFO: Packet analysis {"connection_id":158959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:00:50] local.INFO: Extracted packet for processing {"connection_id":158959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:00:50] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612904,"longitude_deg":75.5698752,"latitude_deg":11.7612904,"altitude":23,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a168","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507518208001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320432590848,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787139045000,"timestamp_ms":1787139045000,"timestamp_seconds":1787139045,"priority":1,"record_length":96,"hex_timestamp":"000001a019c9b688"} 
[2026-08-19 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-08-19 17:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 17:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 17:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":158959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":158959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":158959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 17:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 17:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507518208001,"66":12852,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796785320432590848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 17:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 17:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 17:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507518208001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:00:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 17:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320432590848,"description":"Unknown IO ID 45"} 
[2026-08-19 17:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507518208001,"power":12852,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796785320432590848}} 
[2026-08-19 17:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":158959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665841,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:00:50] local.INFO: GPS data processed {"connection_id":158959,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:00:50] local.INFO: Acknowledgment sent {"connection_id":158959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:00:51] local.INFO: TCP Data received {"connection_id":158959,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:00:51] local.INFO: Processing buffer {"connection_id":158959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:00:51] local.INFO: Packet analysis {"connection_id":158959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:00:51] local.INFO: Extracted packet for processing {"connection_id":158959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:00:51] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612904,"longitude_deg":75.5698752,"latitude_deg":11.7612904,"altitude":23,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a168","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507518208001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320432590848,"note":"Value kept but may cause issues"} 
[2026-08-19 17:00: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-08-19 17:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787139045000,"timestamp_ms":1787139045000,"timestamp_seconds":1787139045,"priority":1,"record_length":96,"hex_timestamp":"000001a019c9b688"} 
[2026-08-19 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-08-19 17:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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-08-19 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-08-19 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-08-19 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-08-19 17:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":158959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":158959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":158959,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 17:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 17:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507518208001,"66":12852,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796785320432590848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 17:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 17:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 17:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507518208001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:00:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 17:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320432590848,"description":"Unknown IO ID 45"} 
[2026-08-19 17:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507518208001,"power":12852,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796785320432590848}} 
[2026-08-19 17:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":158959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665842,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:00:51] local.INFO: GPS data processed {"connection_id":158959,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:00:51] local.INFO: Acknowledgment sent {"connection_id":158959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:00:59] local.INFO: TCP Data received {"connection_id":160278,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:00:59] local.INFO: Processing buffer {"connection_id":160278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:00:59] local.INFO: IMEI packet received {"connection_id":160278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":160278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:01:04] local.INFO: TCP Data received {"connection_id":160278,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:01:04] local.INFO: Processing buffer {"connection_id":160278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:01:04] local.INFO: IMEI packet received {"connection_id":160278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":160278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:01:05] local.INFO: TCP Data received {"connection_id":160278,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:01:05] local.INFO: Processing buffer {"connection_id":160278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:01:05] local.INFO: Packet analysis {"connection_id":160278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:01:05] local.INFO: Extracted packet for processing {"connection_id":160278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:01:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507510272001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:01:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787139013000,"timestamp_ms":1787139013000,"timestamp_seconds":1787139013,"priority":1,"record_length":96,"hex_timestamp":"000001a019c93988"} 
[2026-08-19 17:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 17:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507510272001,"66":25615,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507510272001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:01:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:01:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507510272001,"power":25615,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":160278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:01:05] local.INFO: GPS data processed {"connection_id":160278,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:01:05] local.INFO: Acknowledgment sent {"connection_id":160278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:01:08] local.INFO: TCP Data received {"connection_id":158088,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:01:08] local.INFO: Processing buffer {"connection_id":158088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:01:08] local.INFO: IMEI packet received {"connection_id":158088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":158088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:01:13] local.INFO: TCP Data received {"connection_id":158088,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:01:13] local.INFO: Processing buffer {"connection_id":158088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:01:13] local.INFO: IMEI packet received {"connection_id":158088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":158088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:01:14] local.INFO: TCP Data received {"connection_id":158088,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019c6b500012d1a75c0071f38800046015725..."} 
[2026-08-19 17:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c6b500012d1a75c0071f38800046015725..."} 
[2026-08-19 17:01:14] local.INFO: Processing buffer {"connection_id":158088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c6b500012d1a75c0071f38800046015725..."} 
[2026-08-19 17:01:14] local.INFO: Packet analysis {"connection_id":158088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c6"} 
[2026-08-19 17:01:14] local.INFO: Extracted packet for processing {"connection_id":158088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c6"} 
[2026-08-19 17:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756708800,"raw_latitude":119486592,"longitude_deg":75.67088,"latitude_deg":11.9486592,"altitude":70,"angle":343,"satellites":37,"speed":5,"hex_longitude":"2d1a75c0","hex_latitude":"071f3880","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507544832001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13894622929485824,"note":"Value kept but may cause issues"} 
[2026-08-19 17:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906781891570692096,"note":"Value kept but may cause issues"} 
[2026-08-19 17:01:14] 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-08-19 17:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787138848000,"timestamp_ms":1787138848000,"timestamp_seconds":1787138848,"priority":1,"record_length":96,"hex_timestamp":"000001a019c6b500"} 
[2026-08-19 17:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:01:14] 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-08-19 17: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":111,"data_length":795,"current_offset":136} 
[2026-08-19 17:01:14] 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-08-19 17: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-08-19 17:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:01:14] 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-08-19 17:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507544832001,"66":13167,"101":206,"83":41984,"24":5,"16":13894622929485824,"45":1906781891570692096},"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-08-19 17:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507544832001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:01:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 17:01:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13894622929485824,"km_value":13894622929485.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906781891570692096,"description":"Unknown IO ID 45"} 
[2026-08-19 17:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507544832001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1906781891570692096}} 
[2026-08-19 17:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":158088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:01:14] local.INFO: GPS data processed {"connection_id":158088,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:01:14] local.INFO: Acknowledgment sent {"connection_id":158088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:01:36] local.INFO: TCP Data received {"connection_id":157733,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157733,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:01:36] local.INFO: Processing buffer {"connection_id":157733,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:01:36] local.INFO: IMEI packet received {"connection_id":157733,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 17:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":157733,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:01:38] local.INFO: TCP Data received {"connection_id":160278,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:01:38] local.INFO: Processing buffer {"connection_id":160278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:01:38] local.INFO: Packet analysis {"connection_id":160278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:01:38] local.INFO: Extracted packet for processing {"connection_id":160278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:01:38] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507510272001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:01:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787139013000,"timestamp_ms":1787139013000,"timestamp_seconds":1787139013,"priority":1,"record_length":96,"hex_timestamp":"000001a019c93988"} 
[2026-08-19 17:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 17:01:38] 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-08-19 17:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507510272001,"66":25615,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507510272001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:01:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:01:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507510272001,"power":25615,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":160278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:01:38] local.INFO: GPS data processed {"connection_id":160278,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:01:38] local.INFO: Acknowledgment sent {"connection_id":160278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:01:42] local.INFO: TCP Data received {"connection_id":157733,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157733,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:01:42] local.INFO: Processing buffer {"connection_id":157733,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:01:42] local.INFO: IMEI packet received {"connection_id":157733,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 17:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":157733,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:01:45] local.INFO: TCP Data received {"connection_id":158088,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019c6b8e8012d1a7580071f38d00046014626..."} 
[2026-08-19 17:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c6b8e8012d1a7580071f38d00046014626..."} 
[2026-08-19 17:01:45] local.INFO: Processing buffer {"connection_id":158088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c6b8e8012d1a7580071f38d00046014626..."} 
[2026-08-19 17:01:45] local.INFO: Packet analysis {"connection_id":158088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c6"} 
[2026-08-19 17:01:45] local.INFO: Extracted packet for processing {"connection_id":158088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c6"} 
[2026-08-19 17:01:45] local.INFO: GPS Element Parsed {"raw_longitude":756708736,"raw_latitude":119486672,"longitude_deg":75.6708736,"latitude_deg":11.9486672,"altitude":70,"angle":326,"satellites":38,"speed":2,"hex_longitude":"2d1a7580","hex_latitude":"071f38d0","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507545088001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13894631519420416,"note":"Value kept but may cause issues"} 
[2026-08-19 17:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906641154082373632,"note":"Value kept but may cause issues"} 
[2026-08-19 17:01:45] 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-08-19 17:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787138849000,"timestamp_ms":1787138849000,"timestamp_seconds":1787138849,"priority":1,"record_length":96,"hex_timestamp":"000001a019c6b8e8"} 
[2026-08-19 17:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:01:45] 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-08-19 17: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-19 17:01:45] 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-08-19 17: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-08-19 17:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:01:45] 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-08-19 17:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507545088001,"66":13091,"101":206,"83":41984,"24":2,"16":13894631519420416,"45":1906641154082373632},"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-08-19 17:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507545088001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:01:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 17:01:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13894631519420416,"km_value":13894631519420.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906641154082373632,"description":"Unknown IO ID 45"} 
[2026-08-19 17:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507545088001,"power":13091,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1906641154082373632}} 
[2026-08-19 17:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":158088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:01:45] local.INFO: GPS data processed {"connection_id":158088,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:01:45] local.INFO: Acknowledgment sent {"connection_id":158088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:01:58] local.INFO: TCP Data received {"connection_id":160279,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:01:58] local.INFO: Processing buffer {"connection_id":160279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:01:58] local.INFO: IMEI packet received {"connection_id":160279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":160279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:01:59] local.INFO: TCP Data received {"connection_id":157733,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:01:59] local.INFO: Processing buffer {"connection_id":157733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:01:59] local.INFO: Packet analysis {"connection_id":157733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:01:59] local.INFO: Extracted packet for processing {"connection_id":157733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:01:59] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612904,"longitude_deg":75.5698752,"latitude_deg":11.7612904,"altitude":23,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a168","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507518208001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 17:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320432590848,"note":"Value kept but may cause issues"} 
[2026-08-19 17:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787139045000,"timestamp_ms":1787139045000,"timestamp_seconds":1787139045,"priority":1,"record_length":96,"hex_timestamp":"000001a019c9b688"} 
[2026-08-19 17:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 17:01:59] 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-08-19 17: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-08-19 17:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":157733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":157733,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":157733,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 17:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 17:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507518208001,"66":12852,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796785320432590848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 17:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 17:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 17:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507518208001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:01:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 17:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320432590848,"description":"Unknown IO ID 45"} 
[2026-08-19 17:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507518208001,"power":12852,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796785320432590848}} 
[2026-08-19 17:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":157733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665847,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:01:59] local.INFO: GPS data processed {"connection_id":157733,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:01:59] local.INFO: Acknowledgment sent {"connection_id":157733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:02:04] local.INFO: TCP Data received {"connection_id":160279,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:02:04] local.INFO: Processing buffer {"connection_id":160279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:02:04] local.INFO: IMEI packet received {"connection_id":160279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":160279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:02:06] local.INFO: TCP Data received {"connection_id":160279,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:02:06] local.INFO: Processing buffer {"connection_id":160279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:02:06] local.INFO: Packet analysis {"connection_id":160279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:02:06] local.INFO: Extracted packet for processing {"connection_id":160279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:02:06] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507510272001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:02:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787139013000,"timestamp_ms":1787139013000,"timestamp_seconds":1787139013,"priority":1,"record_length":96,"hex_timestamp":"000001a019c93988"} 
[2026-08-19 17:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 17:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507510272001,"66":25615,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507510272001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:02:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:02:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507510272001,"power":25615,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":160279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:02:06] local.INFO: GPS data processed {"connection_id":160279,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:02:06] local.INFO: Acknowledgment sent {"connection_id":160279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:02:08] local.INFO: TCP Data received {"connection_id":160280,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:02:08] local.INFO: Processing buffer {"connection_id":160280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:02:08] local.INFO: IMEI packet received {"connection_id":160280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":160280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:02:13] local.INFO: TCP Data received {"connection_id":160280,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:02:13] local.INFO: Processing buffer {"connection_id":160280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:02:13] local.INFO: IMEI packet received {"connection_id":160280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":160280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:02:14] local.INFO: TCP Data received {"connection_id":160280,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019c70af0012d1a7580071f39200046014624..."} 
[2026-08-19 17:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c70af0012d1a7580071f39200046014624..."} 
[2026-08-19 17:02:14] local.INFO: Processing buffer {"connection_id":160280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c70af0012d1a7580071f39200046014624..."} 
[2026-08-19 17:02:14] local.INFO: Packet analysis {"connection_id":160280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c7"} 
[2026-08-19 17:02:14] local.INFO: Extracted packet for processing {"connection_id":160280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c7"} 
[2026-08-19 17:02:14] local.INFO: GPS Element Parsed {"raw_longitude":756708736,"raw_latitude":119486752,"longitude_deg":75.6708736,"latitude_deg":11.9486752,"altitude":70,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d1a7580","hex_latitude":"071f3920","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507545344001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13894635814387712,"note":"Value kept but may cause issues"} 
[2026-08-19 17:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906570785338216448,"note":"Value kept but may cause issues"} 
[2026-08-19 17:02:14] 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-08-19 17:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787138870000,"timestamp_ms":1787138870000,"timestamp_seconds":1787138870,"priority":1,"record_length":96,"hex_timestamp":"000001a019c70af0"} 
[2026-08-19 17:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:02:14] 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-08-19 17: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":35,"data_length":795,"current_offset":136} 
[2026-08-19 17:02:14] 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-08-19 17: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-08-19 17:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:02:14] 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-08-19 17:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507545344001,"66":13135,"101":206,"83":41984,"24":0,"16":13894635814387712,"45":1906570785338216448},"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-08-19 17:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507545344001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:02:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 17:02:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13894635814387712,"km_value":13894635814387.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906570785338216448,"description":"Unknown IO ID 45"} 
[2026-08-19 17:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507545344001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906570785338216448}} 
[2026-08-19 17:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":160280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:02:14] local.INFO: GPS data processed {"connection_id":160280,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:02:14] local.INFO: Acknowledgment sent {"connection_id":160280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:02:37] local.INFO: TCP Data received {"connection_id":157734,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157734,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:02:37] local.INFO: Processing buffer {"connection_id":157734,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:02:37] local.INFO: IMEI packet received {"connection_id":157734,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 17:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":157734,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:02:38] local.INFO: TCP Data received {"connection_id":160279,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:02:38] local.INFO: Processing buffer {"connection_id":160279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:02:38] local.INFO: Packet analysis {"connection_id":160279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:02:38] local.INFO: Extracted packet for processing {"connection_id":160279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:02:38] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507510272001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:02:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787139013000,"timestamp_ms":1787139013000,"timestamp_seconds":1787139013,"priority":1,"record_length":96,"hex_timestamp":"000001a019c93988"} 
[2026-08-19 17:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 17:02:38] 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-08-19 17: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-08-19 17:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507510272001,"66":25615,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507510272001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:02:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:02:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507510272001,"power":25615,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":160279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:02:38] local.INFO: GPS data processed {"connection_id":160279,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:02:38] local.INFO: Acknowledgment sent {"connection_id":160279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:02:41] local.INFO: TCP Data received {"connection_id":157734,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157734,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:02:41] local.INFO: Processing buffer {"connection_id":157734,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:02:41] local.INFO: IMEI packet received {"connection_id":157734,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 17:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":157734,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:02:42] local.INFO: TCP Data received {"connection_id":157734,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:02:42] local.INFO: Processing buffer {"connection_id":157734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:02:42] local.INFO: Packet analysis {"connection_id":157734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:02:42] local.INFO: Extracted packet for processing {"connection_id":157734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:02:42] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612904,"longitude_deg":75.5698752,"latitude_deg":11.7612904,"altitude":23,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a168","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507518208001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 17:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320432590848,"note":"Value kept but may cause issues"} 
[2026-08-19 17:02: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-08-19 17:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787139045000,"timestamp_ms":1787139045000,"timestamp_seconds":1787139045,"priority":1,"record_length":96,"hex_timestamp":"000001a019c9b688"} 
[2026-08-19 17:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 17:02: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-08-19 17: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-08-19 17:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157734,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157734,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 17:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 17:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507518208001,"66":12852,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796785320432590848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 17:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 17:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 17:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507518208001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:02:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 17:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320432590848,"description":"Unknown IO ID 45"} 
[2026-08-19 17:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507518208001,"power":12852,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796785320432590848}} 
[2026-08-19 17:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":157734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665851,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:02:42] local.INFO: GPS data processed {"connection_id":157734,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:02:42] local.INFO: Acknowledgment sent {"connection_id":157734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:02:45] local.INFO: TCP Data received {"connection_id":160280,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019c75cf8012d1a7580071f39200046014628..."} 
[2026-08-19 17:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c75cf8012d1a7580071f39200046014628..."} 
[2026-08-19 17:02:45] local.INFO: Processing buffer {"connection_id":160280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c75cf8012d1a7580071f39200046014628..."} 
[2026-08-19 17:02:45] local.INFO: Packet analysis {"connection_id":160280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c7"} 
[2026-08-19 17:02:45] local.INFO: Extracted packet for processing {"connection_id":160280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c7"} 
[2026-08-19 17:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756708736,"raw_latitude":119486752,"longitude_deg":75.6708736,"latitude_deg":11.9486752,"altitude":70,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d1a7580","hex_latitude":"071f3920","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507550720001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13894635814387712,"note":"Value kept but may cause issues"} 
[2026-08-19 17:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906570785338236928,"note":"Value kept but may cause issues"} 
[2026-08-19 17:02:45] 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-08-19 17:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787138891000,"timestamp_ms":1787138891000,"timestamp_seconds":1787138891,"priority":1,"record_length":96,"hex_timestamp":"000001a019c75cf8"} 
[2026-08-19 17:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:02:45] 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-08-19 17: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 17:02: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-08-19 17: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-08-19 17:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:02:45] 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-08-19 17:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507550720001,"66":13015,"101":206,"83":41984,"24":0,"16":13894635814387712,"45":1906570785338236928},"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-08-19 17:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507550720001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:02:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 17:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13894635814387712,"km_value":13894635814387.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906570785338236928,"description":"Unknown IO ID 45"} 
[2026-08-19 17:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507550720001,"power":13015,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906570785338236928}} 
[2026-08-19 17:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":160280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:02:45] local.INFO: GPS data processed {"connection_id":160280,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:02:45] local.INFO: Acknowledgment sent {"connection_id":160280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:03:04] local.INFO: TCP Data received {"connection_id":160281,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:03:04] local.INFO: Processing buffer {"connection_id":160281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:03:04] local.INFO: IMEI packet received {"connection_id":160281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":160281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:03:09] local.INFO: TCP Data received {"connection_id":160281,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:03:09] local.INFO: Processing buffer {"connection_id":160281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:03:09] local.INFO: IMEI packet received {"connection_id":160281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":160281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:03:10] local.INFO: TCP Data received {"connection_id":160281,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:03:10] local.INFO: Processing buffer {"connection_id":160281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:03:10] local.INFO: Packet analysis {"connection_id":160281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:03:10] local.INFO: Extracted packet for processing {"connection_id":160281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:03:10] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507510272001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787139013000,"timestamp_ms":1787139013000,"timestamp_seconds":1787139013,"priority":1,"record_length":96,"hex_timestamp":"000001a019c93988"} 
[2026-08-19 17:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 17:03:10] 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-08-19 17:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507510272001,"66":25615,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507510272001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:03:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507510272001,"power":25615,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":160281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:03:10] local.INFO: GPS data processed {"connection_id":160281,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:03:10] local.INFO: Acknowledgment sent {"connection_id":160281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:03:13] local.INFO: TCP Data received {"connection_id":158089,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:03:13] local.INFO: Processing buffer {"connection_id":158089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:03:13] local.INFO: IMEI packet received {"connection_id":158089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":158089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:03:14] local.INFO: TCP Data received {"connection_id":157734,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:03:14] local.INFO: Processing buffer {"connection_id":157734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:03:14] local.INFO: Packet analysis {"connection_id":157734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:03:14] local.INFO: Extracted packet for processing {"connection_id":157734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:03:14] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612904,"longitude_deg":75.5698752,"latitude_deg":11.7612904,"altitude":23,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a168","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507518208001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 17:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320432590848,"note":"Value kept but may cause issues"} 
[2026-08-19 17:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787139045000,"timestamp_ms":1787139045000,"timestamp_seconds":1787139045,"priority":1,"record_length":96,"hex_timestamp":"000001a019c9b688"} 
[2026-08-19 17:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 17:03:14] 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-08-19 17: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-08-19 17:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157734,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157734,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 17:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 17:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507518208001,"66":12852,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796785320432590848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 17:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 17:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 17:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507518208001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:03:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 17:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320432590848,"description":"Unknown IO ID 45"} 
[2026-08-19 17:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507518208001,"power":12852,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796785320432590848}} 
[2026-08-19 17:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":157734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665854,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:03:14] local.INFO: GPS data processed {"connection_id":157734,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:03:14] local.INFO: Acknowledgment sent {"connection_id":157734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:03:15] local.INFO: TCP Data received {"connection_id":160281,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:03:15] local.INFO: Processing buffer {"connection_id":160281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:03:15] local.INFO: Packet analysis {"connection_id":160281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:03:15] local.INFO: Extracted packet for processing {"connection_id":160281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:03:15] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507510272001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:03:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787139013000,"timestamp_ms":1787139013000,"timestamp_seconds":1787139013,"priority":1,"record_length":96,"hex_timestamp":"000001a019c93988"} 
[2026-08-19 17:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 17:03:15] 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-08-19 17: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-08-19 17:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507510272001,"66":25615,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507510272001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:03:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:03:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507510272001,"power":25615,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":160281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:03:15] local.INFO: GPS data processed {"connection_id":160281,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:03:15] local.INFO: Acknowledgment sent {"connection_id":160281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:03:18] local.INFO: TCP Data received {"connection_id":158089,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:03:18] local.INFO: Processing buffer {"connection_id":158089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:03:18] local.INFO: IMEI packet received {"connection_id":158089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":158089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:03:19] local.INFO: TCP Data received {"connection_id":158089,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019c7af00012d1a7580071f39200046014623..."} 
[2026-08-19 17:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c7af00012d1a7580071f39200046014623..."} 
[2026-08-19 17:03:19] local.INFO: Processing buffer {"connection_id":158089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c7af00012d1a7580071f39200046014623..."} 
[2026-08-19 17:03:19] local.INFO: Packet analysis {"connection_id":158089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c7"} 
[2026-08-19 17:03:19] local.INFO: Extracted packet for processing {"connection_id":158089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c7"} 
[2026-08-19 17:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756708736,"raw_latitude":119486752,"longitude_deg":75.6708736,"latitude_deg":11.9486752,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d1a7580","hex_latitude":"071f3920","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507556096001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13894635814387712,"note":"Value kept but may cause issues"} 
[2026-08-19 17:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906570785338236928,"note":"Value kept but may cause issues"} 
[2026-08-19 17:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787138912000,"timestamp_ms":1787138912000,"timestamp_seconds":1787138912,"priority":1,"record_length":96,"hex_timestamp":"000001a019c7af00"} 
[2026-08-19 17:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 17:03:19] 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-08-19 17: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-08-19 17:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:03:19] 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-08-19 17:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507556096001,"66":13004,"101":206,"83":41984,"24":0,"16":13894635814387712,"45":1906570785338236928},"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-08-19 17:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507556096001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:03:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 17:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13894635814387712,"km_value":13894635814387.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906570785338236928,"description":"Unknown IO ID 45"} 
[2026-08-19 17:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507556096001,"power":13004,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906570785338236928}} 
[2026-08-19 17:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":158089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:03:19] local.INFO: GPS data processed {"connection_id":158089,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:03:19] local.INFO: Acknowledgment sent {"connection_id":158089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:03:23] local.INFO: TCP Data received {"connection_id":158089,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019c80108012d1a7580071f39200046014626..."} 
[2026-08-19 17:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c80108012d1a7580071f39200046014626..."} 
[2026-08-19 17:03:23] local.INFO: Processing buffer {"connection_id":158089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c80108012d1a7580071f39200046014626..."} 
[2026-08-19 17:03:23] local.INFO: Packet analysis {"connection_id":158089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c8"} 
[2026-08-19 17:03:23] local.INFO: Extracted packet for processing {"connection_id":158089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c8"} 
[2026-08-19 17:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756708736,"raw_latitude":119486752,"longitude_deg":75.6708736,"latitude_deg":11.9486752,"altitude":70,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d1a7580","hex_latitude":"071f3920","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507561472001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13894635814387712,"note":"Value kept but may cause issues"} 
[2026-08-19 17:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906570785338236928,"note":"Value kept but may cause issues"} 
[2026-08-19 17:03:23] 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-08-19 17:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787138933000,"timestamp_ms":1787138933000,"timestamp_seconds":1787138933,"priority":1,"record_length":96,"hex_timestamp":"000001a019c80108"} 
[2026-08-19 17:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:03:23] 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-08-19 17: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-19 17:03:23] 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-08-19 17: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-08-19 17:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:03:23] 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-08-19 17:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507561472001,"66":13004,"101":206,"83":41984,"24":0,"16":13894635814387712,"45":1906570785338236928},"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-08-19 17:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507561472001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:03:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 17:03:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13894635814387712,"km_value":13894635814387.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906570785338236928,"description":"Unknown IO ID 45"} 
[2026-08-19 17:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507561472001,"power":13004,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906570785338236928}} 
[2026-08-19 17:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":158089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:03:23] local.INFO: GPS data processed {"connection_id":158089,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:03:23] local.INFO: Acknowledgment sent {"connection_id":158089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:03:36] local.INFO: TCP Data received {"connection_id":157735,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157735,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:03:36] local.INFO: Processing buffer {"connection_id":157735,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:03:36] local.INFO: IMEI packet received {"connection_id":157735,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 17:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":157735,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:03:41] local.INFO: TCP Data received {"connection_id":157735,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157735,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:03:41] local.INFO: Processing buffer {"connection_id":157735,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:03:41] local.INFO: IMEI packet received {"connection_id":157735,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 17:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":157735,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:03:42] local.INFO: TCP Data received {"connection_id":157735,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:03:42] local.INFO: Processing buffer {"connection_id":157735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:03:42] local.INFO: Packet analysis {"connection_id":157735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:03:42] local.INFO: Extracted packet for processing {"connection_id":157735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:03:42] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612904,"longitude_deg":75.5698752,"latitude_deg":11.7612904,"altitude":23,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a168","is_valid_coordinates":true} 
[2026-08-19 17:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507518208001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 17:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320432590848,"note":"Value kept but may cause issues"} 
[2026-08-19 17:03: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-08-19 17:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787139045000,"timestamp_ms":1787139045000,"timestamp_seconds":1787139045,"priority":1,"record_length":96,"hex_timestamp":"000001a019c9b688"} 
[2026-08-19 17:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 17:03: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-08-19 17:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157735,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157735,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 17:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 17:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507518208001,"66":12852,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796785320432590848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 17:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 17:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 17:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507518208001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:03:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 17:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320432590848,"description":"Unknown IO ID 45"} 
[2026-08-19 17:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507518208001,"power":12852,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796785320432590848}} 
[2026-08-19 17:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":157735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665858,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:03:43] local.INFO: GPS data processed {"connection_id":157735,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:03:43] local.INFO: Acknowledgment sent {"connection_id":157735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:03:59] local.INFO: TCP Data received {"connection_id":157736,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:03:59] local.INFO: Processing buffer {"connection_id":157736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:03:59] local.INFO: IMEI packet received {"connection_id":157736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":157736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:04:04] local.INFO: TCP Data received {"connection_id":157736,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:04:04] local.INFO: Processing buffer {"connection_id":157736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:04:04] local.INFO: IMEI packet received {"connection_id":157736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":157736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:04:04] local.INFO: TCP Data received {"connection_id":157737,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:04:04] local.INFO: Processing buffer {"connection_id":157737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:04:04] local.INFO: IMEI packet received {"connection_id":157737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":157737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:04:06] local.INFO: TCP Data received {"connection_id":157736,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:04:06] local.INFO: Processing buffer {"connection_id":157736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:04:06] local.INFO: Packet analysis {"connection_id":157736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:04:06] local.INFO: Extracted packet for processing {"connection_id":157736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:04:06] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507510272001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787139013000,"timestamp_ms":1787139013000,"timestamp_seconds":1787139013,"priority":1,"record_length":96,"hex_timestamp":"000001a019c93988"} 
[2026-08-19 17:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 17:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507510272001,"66":25615,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507510272001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:04:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:04:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507510272001,"power":25615,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":157736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:04:06] local.INFO: GPS data processed {"connection_id":157736,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:04:06] local.INFO: Acknowledgment sent {"connection_id":157736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:04:08] local.INFO: TCP Data received {"connection_id":157737,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:04:08] local.INFO: Processing buffer {"connection_id":157737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:04:08] local.INFO: IMEI packet received {"connection_id":157737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":157737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:04:13] local.INFO: TCP Data received {"connection_id":157737,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:04:13] local.INFO: Processing buffer {"connection_id":157737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:04:13] local.INFO: IMEI packet received {"connection_id":157737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":157737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:04:15] local.INFO: TCP Data received {"connection_id":157735,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:04:15] local.INFO: Processing buffer {"connection_id":157735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:04:15] local.INFO: Packet analysis {"connection_id":157735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:04:15] local.INFO: Extracted packet for processing {"connection_id":157735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:04:15] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612904,"longitude_deg":75.5698752,"latitude_deg":11.7612904,"altitude":23,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a168","is_valid_coordinates":true} 
[2026-08-19 17:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507518208001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320432590848,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787139045000,"timestamp_ms":1787139045000,"timestamp_seconds":1787139045,"priority":1,"record_length":96,"hex_timestamp":"000001a019c9b688"} 
[2026-08-19 17:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 17:04:15] 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-08-19 17:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157735,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157735,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 17:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 17:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507518208001,"66":12852,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796785320432590848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 17:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 17:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 17:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507518208001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:04:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 17:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320432590848,"description":"Unknown IO ID 45"} 
[2026-08-19 17:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507518208001,"power":12852,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796785320432590848}} 
[2026-08-19 17:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":157735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665860,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:04:15] local.INFO: GPS data processed {"connection_id":157735,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:04:15] local.INFO: Acknowledgment sent {"connection_id":157735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:04:15] local.INFO: TCP Data received {"connection_id":157737,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019cb8760012d1a7580071f39200046014623..."} 
[2026-08-19 17:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019cb8760012d1a7580071f39200046014623..."} 
[2026-08-19 17:04:15] local.INFO: Processing buffer {"connection_id":157737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019cb8760012d1a7580071f39200046014623..."} 
[2026-08-19 17:04:15] local.INFO: Packet analysis {"connection_id":157737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019cb"} 
[2026-08-19 17:04:15] local.INFO: Extracted packet for processing {"connection_id":157737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019cb"} 
[2026-08-19 17:04:15] local.INFO: GPS Element Parsed {"raw_longitude":756708736,"raw_latitude":119486752,"longitude_deg":75.6708736,"latitude_deg":11.9486752,"altitude":70,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d1a7580","hex_latitude":"071f3920","is_valid_coordinates":true} 
[2026-08-19 17:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507620608001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13894635814387712,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906570785338236928,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787139164000,"timestamp_ms":1787139164000,"timestamp_seconds":1787139164,"priority":1,"record_length":96,"hex_timestamp":"000001a019cb8760"} 
[2026-08-19 17:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-19 17:04:15] 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-08-19 17:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:04:15] 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-08-19 17:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507620608001,"66":14265,"101":206,"83":41984,"24":0,"16":13894635814387712,"45":1906570785338236928},"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-08-19 17:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507620608001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:04:15] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 17:04:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13894635814387712,"km_value":13894635814387.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906570785338236928,"description":"Unknown IO ID 45"} 
[2026-08-19 17:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507620608001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1906570785338236928}} 
[2026-08-19 17:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":157737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:04:15] local.INFO: GPS data processed {"connection_id":157737,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:04:15] local.INFO: Acknowledgment sent {"connection_id":157737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:04:19] local.INFO: TCP Data received {"connection_id":157737,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019cbd580012d1a7640071f39680048005c22..."} 
[2026-08-19 17:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019cbd580012d1a7640071f39680048005c22..."} 
[2026-08-19 17:04:19] local.INFO: Processing buffer {"connection_id":157737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019cbd580012d1a7640071f39680048005c22..."} 
[2026-08-19 17:04:19] local.INFO: Packet analysis {"connection_id":157737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019cb"} 
[2026-08-19 17:04:19] local.INFO: Extracted packet for processing {"connection_id":157737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019cb"} 
[2026-08-19 17:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756708928,"raw_latitude":119486824,"longitude_deg":75.6708928,"latitude_deg":11.9486824,"altitude":72,"angle":92,"satellites":34,"speed":3,"hex_longitude":"2d1a7640","hex_latitude":"071f3968","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507625984001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13894640109355008,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906570785338236928,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787139184000,"timestamp_ms":1787139184000,"timestamp_seconds":1787139184,"priority":1,"record_length":96,"hex_timestamp":"000001a019cbd580"} 
[2026-08-19 17:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 17:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:04:19] 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-08-19 17:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507625984001,"66":14298,"101":206,"83":41984,"24":3,"16":13894640109355008,"45":1906570785338236928},"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-08-19 17:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507625984001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:04:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 17:04:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13894640109355008,"km_value":13894640109355.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906570785338236928,"description":"Unknown IO ID 45"} 
[2026-08-19 17:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507625984001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1906570785338236928}} 
[2026-08-19 17:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":157737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:04:19] local.INFO: GPS data processed {"connection_id":157737,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:04:19] local.INFO: Acknowledgment sent {"connection_id":157737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:04:36] local.INFO: TCP Data received {"connection_id":158960,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158960,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:04:36] local.INFO: Processing buffer {"connection_id":158960,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:04:36] local.INFO: IMEI packet received {"connection_id":158960,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 17:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":158960,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:04:38] local.INFO: TCP Data received {"connection_id":157736,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:04:38] local.INFO: Processing buffer {"connection_id":157736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:04:38] local.INFO: Packet analysis {"connection_id":157736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:04:38] local.INFO: Extracted packet for processing {"connection_id":157736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:04:38] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507510272001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787139013000,"timestamp_ms":1787139013000,"timestamp_seconds":1787139013,"priority":1,"record_length":96,"hex_timestamp":"000001a019c93988"} 
[2026-08-19 17:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 17:04:38] 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-08-19 17: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-08-19 17:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507510272001,"66":25615,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507510272001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:04:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:04:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507510272001,"power":25615,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":157736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:04:38] local.INFO: GPS data processed {"connection_id":157736,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:04:38] local.INFO: Acknowledgment sent {"connection_id":157736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:04:42] local.INFO: TCP Data received {"connection_id":158960,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158960,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:04:42] local.INFO: Processing buffer {"connection_id":158960,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:04:42] local.INFO: IMEI packet received {"connection_id":158960,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 17:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":158960,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:04:43] local.INFO: TCP Data received {"connection_id":158960,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:04:43] local.INFO: Processing buffer {"connection_id":158960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:04:43] local.INFO: Packet analysis {"connection_id":158960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:04:43] local.INFO: Extracted packet for processing {"connection_id":158960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:04:43] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612904,"longitude_deg":75.5698752,"latitude_deg":11.7612904,"altitude":23,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a168","is_valid_coordinates":true} 
[2026-08-19 17:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507518208001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320432590848,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787139045000,"timestamp_ms":1787139045000,"timestamp_seconds":1787139045,"priority":1,"record_length":96,"hex_timestamp":"000001a019c9b688"} 
[2026-08-19 17:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 17:04:43] 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-08-19 17:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158960,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158960,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 17:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 17:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507518208001,"66":12852,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796785320432590848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 17:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 17:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 17:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507518208001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:04:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 17:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320432590848,"description":"Unknown IO ID 45"} 
[2026-08-19 17:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507518208001,"power":12852,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796785320432590848}} 
[2026-08-19 17:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":158960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665864,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:04:43] local.INFO: GPS data processed {"connection_id":158960,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:04:43] local.INFO: Acknowledgment sent {"connection_id":158960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:04:50] local.INFO: TCP Data received {"connection_id":157737,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019cbe520012d1a79c0071f38c00048006823..."} 
[2026-08-19 17:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019cbe520012d1a79c0071f38c00048006823..."} 
[2026-08-19 17:04:50] local.INFO: Processing buffer {"connection_id":157737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019cbe520012d1a79c0071f38c00048006823..."} 
[2026-08-19 17:04:50] local.INFO: Packet analysis {"connection_id":157737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019cb"} 
[2026-08-19 17:04:50] local.INFO: Extracted packet for processing {"connection_id":157737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019cb"} 
[2026-08-19 17:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756709824,"raw_latitude":119486656,"longitude_deg":75.6709824,"latitude_deg":11.9486656,"altitude":72,"angle":104,"satellites":35,"speed":12,"hex_longitude":"2d1a79c0","hex_latitude":"071f38c0","is_valid_coordinates":true} 
[2026-08-19 17:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507631104001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13894687353995264,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906781891570788352,"note":"Value kept but may cause issues"} 
[2026-08-19 17:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787139188000,"timestamp_ms":1787139188000,"timestamp_seconds":1787139188,"priority":1,"record_length":96,"hex_timestamp":"000001a019cbe520"} 
[2026-08-19 17:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-19 17:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":157737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":157737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":157737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:04:50] 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-08-19 17:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507631104001,"66":13939,"101":206,"83":41984,"24":12,"16":13894687353995264,"45":1906781891570788352},"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-08-19 17:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507631104001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:04:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 17:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13894687353995264,"km_value":13894687353995.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906781891570788352,"description":"Unknown IO ID 45"} 
[2026-08-19 17:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507631104001,"power":13939,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1906781891570788352}} 
[2026-08-19 17:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":157737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:04:50] local.INFO: GPS data processed {"connection_id":157737,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:04:50] local.INFO: Acknowledgment sent {"connection_id":157737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:04:59] local.INFO: TCP Data received {"connection_id":158090,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:04:59] local.INFO: Processing buffer {"connection_id":158090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:04:59] local.INFO: IMEI packet received {"connection_id":158090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":158090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:05:04] local.INFO: TCP Data received {"connection_id":158090,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:05:04] local.INFO: Processing buffer {"connection_id":158090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:05:04] local.INFO: IMEI packet received {"connection_id":158090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":158090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:05:05] local.INFO: TCP Data received {"connection_id":158961,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:05:05] local.INFO: Processing buffer {"connection_id":158961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:05:05] local.INFO: IMEI packet received {"connection_id":158961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":158961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:05:05] local.INFO: TCP Data received {"connection_id":158090,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:05:05] local.INFO: Processing buffer {"connection_id":158090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:05:05] local.INFO: Packet analysis {"connection_id":158090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:05:05] local.INFO: Extracted packet for processing {"connection_id":158090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:05:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507510272001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:05:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787139013000,"timestamp_ms":1787139013000,"timestamp_seconds":1787139013,"priority":1,"record_length":96,"hex_timestamp":"000001a019c93988"} 
[2026-08-19 17:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 17:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507510272001,"66":25615,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507510272001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:05:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:05:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507510272001,"power":25615,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":158090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:05:05] local.INFO: GPS data processed {"connection_id":158090,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:05:05] local.INFO: Acknowledgment sent {"connection_id":158090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:05:05] local.INFO: TCP Data received {"connection_id":158961,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:05:05] local.INFO: Processing buffer {"connection_id":158961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:05:05] local.INFO: IMEI packet received {"connection_id":158961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":158961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:05:06] local.INFO: TCP Data received {"connection_id":158961,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:05:06] local.INFO: Processing buffer {"connection_id":158961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:05:06] local.INFO: IMEI packet received {"connection_id":158961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":158961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:05:07] local.INFO: TCP Data received {"connection_id":158961,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:05:07] local.INFO: Processing buffer {"connection_id":158961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:05:07] local.INFO: IMEI packet received {"connection_id":158961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":158961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:05:14] local.INFO: TCP Data received {"connection_id":158960,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:05:14] local.INFO: Processing buffer {"connection_id":158960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:05:14] local.INFO: Packet analysis {"connection_id":158960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:05:14] local.INFO: Extracted packet for processing {"connection_id":158960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:05:14] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612904,"longitude_deg":75.5698752,"latitude_deg":11.7612904,"altitude":23,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a168","is_valid_coordinates":true} 
[2026-08-19 17:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507518208001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 17:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320432590848,"note":"Value kept but may cause issues"} 
[2026-08-19 17:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787139045000,"timestamp_ms":1787139045000,"timestamp_seconds":1787139045,"priority":1,"record_length":96,"hex_timestamp":"000001a019c9b688"} 
[2026-08-19 17:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 17:05:14] 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-08-19 17:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158960,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158960,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 17:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 17:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507518208001,"66":12852,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796785320432590848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 17:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 17:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 17:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507518208001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:05:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 17:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320432590848,"description":"Unknown IO ID 45"} 
[2026-08-19 17:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507518208001,"power":12852,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796785320432590848}} 
[2026-08-19 17:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":158960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665867,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:05:14] local.INFO: GPS data processed {"connection_id":158960,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:05:14] local.INFO: Acknowledgment sent {"connection_id":158960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:05:36] local.INFO: TCP Data received {"connection_id":158962,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158962,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:05:36] local.INFO: Processing buffer {"connection_id":158962,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:05:36] local.INFO: IMEI packet received {"connection_id":158962,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 17:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":158962,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:05:37] local.INFO: TCP Data received {"connection_id":158090,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:05:37] local.INFO: Processing buffer {"connection_id":158090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c93988012ceb4ac00713cf800017007126..."} 
[2026-08-19 17:05:37] local.INFO: Packet analysis {"connection_id":158090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:05:37] local.INFO: Extracted packet for processing {"connection_id":158090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:05:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":38,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507510272001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:05:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787139013000,"timestamp_ms":1787139013000,"timestamp_seconds":1787139013,"priority":1,"record_length":96,"hex_timestamp":"000001a019c93988"} 
[2026-08-19 17:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 17:05:37] 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-08-19 17: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-08-19 17:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507510272001,"66":25615,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507510272001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:05:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:05:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507510272001,"power":25615,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":158090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:05:37] local.INFO: GPS data processed {"connection_id":158090,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:05:37] local.INFO: Acknowledgment sent {"connection_id":158090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:05:43] local.INFO: TCP Data received {"connection_id":158962,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158962,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:05:43] local.INFO: Processing buffer {"connection_id":158962,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:05:43] local.INFO: IMEI packet received {"connection_id":158962,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 17:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":158962,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:05:45] local.INFO: TCP Data received {"connection_id":158962,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:05:45] local.INFO: Processing buffer {"connection_id":158962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019c9b688012d0b0c400702a168001700f626..."} 
[2026-08-19 17:05:45] local.INFO: Packet analysis {"connection_id":158962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:05:45] local.INFO: Extracted packet for processing {"connection_id":158962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019c9"} 
[2026-08-19 17:05:45] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612904,"longitude_deg":75.5698752,"latitude_deg":11.7612904,"altitude":23,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a168","is_valid_coordinates":true} 
[2026-08-19 17:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507518208001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 17:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320432590848,"note":"Value kept but may cause issues"} 
[2026-08-19 17:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787139045000,"timestamp_ms":1787139045000,"timestamp_seconds":1787139045,"priority":1,"record_length":96,"hex_timestamp":"000001a019c9b688"} 
[2026-08-19 17:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 17:05:45] 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-08-19 17:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 17:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 17:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507518208001,"66":12852,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796785320432590848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 17:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 17:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 17:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507518208001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:05:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 17:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320432590848,"description":"Unknown IO ID 45"} 
[2026-08-19 17:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507518208001,"power":12852,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796785320432590848}} 
[2026-08-19 17:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":158962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665869,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:05:46] local.INFO: GPS data processed {"connection_id":158962,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:05:46] local.INFO: Acknowledgment sent {"connection_id":158962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:05:59] local.INFO: TCP Data received {"connection_id":158963,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:05:59] local.INFO: Processing buffer {"connection_id":158963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:05:59] local.INFO: IMEI packet received {"connection_id":158963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":158963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:06:04] local.INFO: TCP Data received {"connection_id":158963,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:06:04] local.INFO: Processing buffer {"connection_id":158963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:06:04] local.INFO: IMEI packet received {"connection_id":158963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":158963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:06:05] local.INFO: TCP Data received {"connection_id":158963,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:06:05] local.INFO: Processing buffer {"connection_id":158963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:06:05] local.INFO: Packet analysis {"connection_id":158963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:06:05] local.INFO: Extracted packet for processing {"connection_id":158963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:06:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507587328001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:06:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787139314000,"timestamp_ms":1787139314000,"timestamp_seconds":1787139314,"priority":1,"record_length":96,"hex_timestamp":"000001a019cdd150"} 
[2026-08-19 17:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 17:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507587328001,"66":25647,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507587328001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:06:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:06:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507587328001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":158963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:06:05] local.INFO: GPS data processed {"connection_id":158963,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:06:05] local.INFO: Acknowledgment sent {"connection_id":158963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:06:17] local.INFO: TCP Data received {"connection_id":158962,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019ce4e50012d0b0c400702a168001600f61f..."} 
[2026-08-19 17:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ce4e50012d0b0c400702a168001600f61f..."} 
[2026-08-19 17:06:17] local.INFO: Processing buffer {"connection_id":158962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ce4e50012d0b0c400702a168001600f61f..."} 
[2026-08-19 17:06:17] local.INFO: Packet analysis {"connection_id":158962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ce"} 
[2026-08-19 17:06:17] local.INFO: Extracted packet for processing {"connection_id":158962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ce"} 
[2026-08-19 17:06:17] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612904,"longitude_deg":75.5698752,"latitude_deg":11.7612904,"altitude":22,"angle":246,"satellites":31,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a168","is_valid_coordinates":true} 
[2026-08-19 17:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507595520001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 17:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796081632990816256,"note":"Value kept but may cause issues"} 
[2026-08-19 17:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787139346000,"timestamp_ms":1787139346000,"timestamp_seconds":1787139346,"priority":1,"record_length":96,"hex_timestamp":"000001a019ce4e50"} 
[2026-08-19 17:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:06:17] 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-08-19 17:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-19 17:06:17] 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-08-19 17:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158962,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 17:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 17:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507595520001,"66":12722,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796081632990816256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 17:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 17:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 17:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507595520001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:06:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 17:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":796081632990816256,"description":"Unknown IO ID 45"} 
[2026-08-19 17:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507595520001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796081632990816256}} 
[2026-08-19 17:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":158962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665871,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:06:17] local.INFO: GPS data processed {"connection_id":158962,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:06:17] local.INFO: Acknowledgment sent {"connection_id":158962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:06:37] local.INFO: TCP Data received {"connection_id":160282,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160282,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:06:37] local.INFO: Processing buffer {"connection_id":160282,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:06:37] local.INFO: IMEI packet received {"connection_id":160282,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 17:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":160282,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:06:37] local.INFO: TCP Data received {"connection_id":158963,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:06:37] local.INFO: Processing buffer {"connection_id":158963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:06:37] local.INFO: Packet analysis {"connection_id":158963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:06:37] local.INFO: Extracted packet for processing {"connection_id":158963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:06:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507587328001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:06:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787139314000,"timestamp_ms":1787139314000,"timestamp_seconds":1787139314,"priority":1,"record_length":96,"hex_timestamp":"000001a019cdd150"} 
[2026-08-19 17:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 17:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507587328001,"66":25647,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507587328001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:06:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:06:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507587328001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":158963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:06:38] local.INFO: GPS data processed {"connection_id":158963,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:06:38] local.INFO: Acknowledgment sent {"connection_id":158963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:06:43] local.INFO: TCP Data received {"connection_id":160282,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160282,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:06:43] local.INFO: Processing buffer {"connection_id":160282,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:06:43] local.INFO: IMEI packet received {"connection_id":160282,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 17:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":160282,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:06:45] local.INFO: TCP Data received {"connection_id":160282,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019ce4e50012d0b0c400702a168001600f61f..."} 
[2026-08-19 17:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ce4e50012d0b0c400702a168001600f61f..."} 
[2026-08-19 17:06:45] local.INFO: Processing buffer {"connection_id":160282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ce4e50012d0b0c400702a168001600f61f..."} 
[2026-08-19 17:06:45] local.INFO: Packet analysis {"connection_id":160282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ce"} 
[2026-08-19 17:06:45] local.INFO: Extracted packet for processing {"connection_id":160282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ce"} 
[2026-08-19 17:06:45] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612904,"longitude_deg":75.5698752,"latitude_deg":11.7612904,"altitude":22,"angle":246,"satellites":31,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a168","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507595520001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 17:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796081632990816256,"note":"Value kept but may cause issues"} 
[2026-08-19 17:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787139346000,"timestamp_ms":1787139346000,"timestamp_seconds":1787139346,"priority":1,"record_length":96,"hex_timestamp":"000001a019ce4e50"} 
[2026-08-19 17:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:06:45] 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-08-19 17: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-19 17:06:45] 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-08-19 17: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-08-19 17:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160282,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160282,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 17:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 17:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507595520001,"66":12722,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796081632990816256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 17:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 17:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 17:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507595520001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:06:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 17:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":796081632990816256,"description":"Unknown IO ID 45"} 
[2026-08-19 17:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507595520001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796081632990816256}} 
[2026-08-19 17:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":160282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665873,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:06:45] local.INFO: GPS data processed {"connection_id":160282,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:06:45] local.INFO: Acknowledgment sent {"connection_id":160282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:07:03] local.INFO: TCP Data received {"connection_id":157738,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:07:03] local.INFO: Processing buffer {"connection_id":157738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:07:03] local.INFO: IMEI packet received {"connection_id":157738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":157738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:07:09] local.INFO: TCP Data received {"connection_id":157738,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:07:09] local.INFO: Processing buffer {"connection_id":157738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:07:09] local.INFO: IMEI packet received {"connection_id":157738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":157738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:07:11] local.INFO: TCP Data received {"connection_id":157738,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:07:11] local.INFO: Processing buffer {"connection_id":157738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:07:11] local.INFO: Packet analysis {"connection_id":157738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:07:11] local.INFO: Extracted packet for processing {"connection_id":157738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:07:11] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507587328001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787139314000,"timestamp_ms":1787139314000,"timestamp_seconds":1787139314,"priority":1,"record_length":96,"hex_timestamp":"000001a019cdd150"} 
[2026-08-19 17:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 17:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507587328001,"66":25647,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507587328001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:07:11] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507587328001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":157738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:07:11] local.INFO: GPS data processed {"connection_id":157738,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:07:11] local.INFO: Acknowledgment sent {"connection_id":157738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:07:15] local.INFO: TCP Data received {"connection_id":157738,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:07:15] local.INFO: Processing buffer {"connection_id":157738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:07:15] local.INFO: Packet analysis {"connection_id":157738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:07:15] local.INFO: Extracted packet for processing {"connection_id":157738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:07:15] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507587328001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:07:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787139314000,"timestamp_ms":1787139314000,"timestamp_seconds":1787139314,"priority":1,"record_length":96,"hex_timestamp":"000001a019cdd150"} 
[2026-08-19 17:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 17:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507587328001,"66":25647,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507587328001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:07:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:07:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507587328001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":157738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:07:15] local.INFO: GPS data processed {"connection_id":157738,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:07:15] local.INFO: Acknowledgment sent {"connection_id":157738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:07:17] local.INFO: TCP Data received {"connection_id":160282,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019ce4e50012d0b0c400702a168001600f61f..."} 
[2026-08-19 17:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ce4e50012d0b0c400702a168001600f61f..."} 
[2026-08-19 17:07:17] local.INFO: Processing buffer {"connection_id":160282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ce4e50012d0b0c400702a168001600f61f..."} 
[2026-08-19 17:07:17] local.INFO: Packet analysis {"connection_id":160282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ce"} 
[2026-08-19 17:07:17] local.INFO: Extracted packet for processing {"connection_id":160282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ce"} 
[2026-08-19 17:07:17] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612904,"longitude_deg":75.5698752,"latitude_deg":11.7612904,"altitude":22,"angle":246,"satellites":31,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a168","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507595520001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 17:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796081632990816256,"note":"Value kept but may cause issues"} 
[2026-08-19 17:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787139346000,"timestamp_ms":1787139346000,"timestamp_seconds":1787139346,"priority":1,"record_length":96,"hex_timestamp":"000001a019ce4e50"} 
[2026-08-19 17:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:07:17] 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-08-19 17: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-19 17:07:17] 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-08-19 17: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-08-19 17:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160282,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160282,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 17:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 17:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507595520001,"66":12722,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796081632990816256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 17:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 17:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 17:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507595520001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:07:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 17:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":796081632990816256,"description":"Unknown IO ID 45"} 
[2026-08-19 17:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507595520001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796081632990816256}} 
[2026-08-19 17:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":160282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665876,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:07:17] local.INFO: GPS data processed {"connection_id":160282,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:07:17] local.INFO: Acknowledgment sent {"connection_id":160282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:07:38] local.INFO: TCP Data received {"connection_id":157740,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157740,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:07:38] local.INFO: Processing buffer {"connection_id":157740,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:07:38] local.INFO: IMEI packet received {"connection_id":157740,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-19 17:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":157740,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:07:42] local.INFO: TCP Data received {"connection_id":157740,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157740,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:07:42] local.INFO: Processing buffer {"connection_id":157740,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-19 17:07:42] local.INFO: IMEI packet received {"connection_id":157740,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-19 17:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":157740,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:07:54] local.INFO: TCP Data received {"connection_id":157740,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019ce4e50012d0b0c400702a168001600f61f..."} 
[2026-08-19 17:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ce4e50012d0b0c400702a168001600f61f..."} 
[2026-08-19 17:07:54] local.INFO: Processing buffer {"connection_id":157740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ce4e50012d0b0c400702a168001600f61f..."} 
[2026-08-19 17:07:54] local.INFO: Packet analysis {"connection_id":157740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ce"} 
[2026-08-19 17:07:54] local.INFO: Extracted packet for processing {"connection_id":157740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ce"} 
[2026-08-19 17:07:54] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612904,"longitude_deg":75.5698752,"latitude_deg":11.7612904,"altitude":22,"angle":246,"satellites":31,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a168","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507595520001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 17:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796081632990816256,"note":"Value kept but may cause issues"} 
[2026-08-19 17:07: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-08-19 17:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787139346000,"timestamp_ms":1787139346000,"timestamp_seconds":1787139346,"priority":1,"record_length":96,"hex_timestamp":"000001a019ce4e50"} 
[2026-08-19 17:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:07:54] 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-08-19 17: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-19 17:07:54] 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-08-19 17: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-08-19 17:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":157740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":157740,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":157740,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 17:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 17:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507595520001,"66":12722,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796081632990816256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 17:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 17:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 17:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507595520001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:07:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 17:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":796081632990816256,"description":"Unknown IO ID 45"} 
[2026-08-19 17:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507595520001,"power":12722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796081632990816256}} 
[2026-08-19 17:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":157740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665877,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:07:54] local.INFO: GPS data processed {"connection_id":157740,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:07:54] local.INFO: Acknowledgment sent {"connection_id":157740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:07:59] local.INFO: TCP Data received {"connection_id":158964,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:07:59] local.INFO: Processing buffer {"connection_id":158964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:07:59] local.INFO: IMEI packet received {"connection_id":158964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":158964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:08:02] local.INFO: TCP Data received {"connection_id":157740,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a019d00ba0012d0b0c400702a168001600f621..."} 
[2026-08-19 17:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d00ba0012d0b0c400702a168001600f621..."} 
[2026-08-19 17:08:02] local.INFO: Processing buffer {"connection_id":157740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d00ba0012d0b0c400702a168001600f621..."} 
[2026-08-19 17:08:02] local.INFO: Packet analysis {"connection_id":157740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d0"} 
[2026-08-19 17:08:02] local.INFO: Extracted packet for processing {"connection_id":157740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d0"} 
[2026-08-19 17:08:02] local.INFO: GPS Element Parsed {"raw_longitude":755698752,"raw_latitude":117612904,"longitude_deg":75.5698752,"latitude_deg":11.7612904,"altitude":22,"angle":246,"satellites":33,"speed":0,"hex_longitude":"2d0b0c40","hex_latitude":"0702a168","is_valid_coordinates":true} 
[2026-08-19 17:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507672576001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":28951975110377472,"note":"Value kept but may cause issues"} 
[2026-08-19 17:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796081632990816256,"note":"Value kept but may cause issues"} 
[2026-08-19 17:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787139460000,"timestamp_ms":1787139460000,"timestamp_seconds":1787139460,"priority":1,"record_length":96,"hex_timestamp":"000001a019d00ba0"} 
[2026-08-19 17:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 17:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":157740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":157740,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":157740,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-19 17:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-19 17:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-19 17:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507672576001,"66":12765,"17":206,"94":11008,"24":0,"16":28951975110377472,"45":796081632990816256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-19 17:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-19 17:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-19 17:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507672576001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:08:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-19 17:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":28951975110377472,"km_value":28951975110377.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":796081632990816256,"description":"Unknown IO ID 45"} 
[2026-08-19 17:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507672576001,"power":12765,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796081632990816256}} 
[2026-08-19 17:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":157740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665878,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:08:02] local.INFO: GPS data processed {"connection_id":157740,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:08:02] local.INFO: Acknowledgment sent {"connection_id":157740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:08:04] local.INFO: TCP Data received {"connection_id":158964,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:08:04] local.INFO: Processing buffer {"connection_id":158964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:08:04] local.INFO: IMEI packet received {"connection_id":158964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":158964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:08:06] local.INFO: TCP Data received {"connection_id":158964,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:08:06] local.INFO: Processing buffer {"connection_id":158964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:08:06] local.INFO: Packet analysis {"connection_id":158964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:08:06] local.INFO: Extracted packet for processing {"connection_id":158964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:08:06] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507587328001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:08:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787139314000,"timestamp_ms":1787139314000,"timestamp_seconds":1787139314,"priority":1,"record_length":96,"hex_timestamp":"000001a019cdd150"} 
[2026-08-19 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-08-19 17:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 17:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 17:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507587328001,"66":25647,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507587328001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:08:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:08:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507587328001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":158964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:08:06] local.INFO: GPS data processed {"connection_id":158964,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:08:06] local.INFO: Acknowledgment sent {"connection_id":158964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:08:38] local.INFO: TCP Data received {"connection_id":158964,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:08:38] local.INFO: Processing buffer {"connection_id":158964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:08:38] local.INFO: Packet analysis {"connection_id":158964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:08:38] local.INFO: Extracted packet for processing {"connection_id":158964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:08:38] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507587328001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:08:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787139314000,"timestamp_ms":1787139314000,"timestamp_seconds":1787139314,"priority":1,"record_length":96,"hex_timestamp":"000001a019cdd150"} 
[2026-08-19 17:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 17:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507587328001,"66":25647,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507587328001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:08:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:08:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507587328001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":158964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:08:38] local.INFO: GPS data processed {"connection_id":158964,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:08:38] local.INFO: Acknowledgment sent {"connection_id":158964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:08:59] local.INFO: TCP Data received {"connection_id":158965,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:08:59] local.INFO: Processing buffer {"connection_id":158965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:08:59] local.INFO: IMEI packet received {"connection_id":158965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":158965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:09:04] local.INFO: TCP Data received {"connection_id":158965,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:09:04] local.INFO: Processing buffer {"connection_id":158965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:09:04] local.INFO: IMEI packet received {"connection_id":158965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":158965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:09:05] local.INFO: TCP Data received {"connection_id":158965,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:09:05] local.INFO: Processing buffer {"connection_id":158965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:09:05] local.INFO: Packet analysis {"connection_id":158965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:09:05] local.INFO: Extracted packet for processing {"connection_id":158965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:09:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507587328001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:09:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787139314000,"timestamp_ms":1787139314000,"timestamp_seconds":1787139314,"priority":1,"record_length":96,"hex_timestamp":"000001a019cdd150"} 
[2026-08-19 17:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 17:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507587328001,"66":25647,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507587328001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:09:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:09:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507587328001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":158965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:09:05] local.INFO: GPS data processed {"connection_id":158965,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:09:05] local.INFO: Acknowledgment sent {"connection_id":158965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:09:37] local.INFO: TCP Data received {"connection_id":158965,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:09:37] local.INFO: Processing buffer {"connection_id":158965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:09:37] local.INFO: Packet analysis {"connection_id":158965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:09:37] local.INFO: Extracted packet for processing {"connection_id":158965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:09:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507587328001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:09:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787139314000,"timestamp_ms":1787139314000,"timestamp_seconds":1787139314,"priority":1,"record_length":96,"hex_timestamp":"000001a019cdd150"} 
[2026-08-19 17:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 17:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507587328001,"66":25647,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507587328001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:09:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:09:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507587328001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":158965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:09:37] local.INFO: GPS data processed {"connection_id":158965,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:09:37] local.INFO: Acknowledgment sent {"connection_id":158965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:09:59] local.INFO: TCP Data received {"connection_id":157742,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:09:59] local.INFO: Processing buffer {"connection_id":157742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:09:59] local.INFO: IMEI packet received {"connection_id":157742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":157742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:10:04] local.INFO: TCP Data received {"connection_id":157742,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:10:04] local.INFO: Processing buffer {"connection_id":157742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:10:04] local.INFO: IMEI packet received {"connection_id":157742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":157742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:10:05] local.INFO: TCP Data received {"connection_id":157742,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:10:05] local.INFO: Processing buffer {"connection_id":157742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:10:05] local.INFO: Packet analysis {"connection_id":157742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:10:05] local.INFO: Extracted packet for processing {"connection_id":157742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:10:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507587328001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:10:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787139314000,"timestamp_ms":1787139314000,"timestamp_seconds":1787139314,"priority":1,"record_length":96,"hex_timestamp":"000001a019cdd150"} 
[2026-08-19 17:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 17:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507587328001,"66":25647,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507587328001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:10:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:10:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507587328001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":157742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:10:05] local.INFO: GPS data processed {"connection_id":157742,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:10:05] local.INFO: Acknowledgment sent {"connection_id":157742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:10:08] local.INFO: TCP Data received {"connection_id":160283,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:10:08] local.INFO: Processing buffer {"connection_id":160283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:10:08] local.INFO: IMEI packet received {"connection_id":160283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":160283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:10:08] local.INFO: TCP Data received {"connection_id":160283,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:10:08] local.INFO: Processing buffer {"connection_id":160283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:10:08] local.INFO: IMEI packet received {"connection_id":160283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":160283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:10:11] local.INFO: TCP Data received {"connection_id":160283,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:10:11] local.INFO: Processing buffer {"connection_id":160283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:10:11] local.INFO: IMEI packet received {"connection_id":160283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":160283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:10:12] local.INFO: TCP Data received {"connection_id":160283,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d10988012d187840072181e8004d010120..."} 
[2026-08-19 17:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d10988012d187840072181e8004d010120..."} 
[2026-08-19 17:10:12] local.INFO: Processing buffer {"connection_id":160283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d10988012d187840072181e8004d010120..."} 
[2026-08-19 17:10:12] local.INFO: Packet analysis {"connection_id":160283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d1"} 
[2026-08-19 17:10:12] local.INFO: Extracted packet for processing {"connection_id":160283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d1"} 
[2026-08-19 17:10:12] local.INFO: GPS Element Parsed {"raw_longitude":756578368,"raw_latitude":119636456,"longitude_deg":75.6578368,"latitude_deg":11.9636456,"altitude":77,"angle":257,"satellites":32,"speed":9,"hex_longitude":"2d187840","hex_latitude":"072181e8","is_valid_coordinates":true} 
[2026-08-19 17:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507717120001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13907563665948672,"note":"Value kept but may cause issues"} 
[2026-08-19 17:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764566659626045440,"note":"Value kept but may cause issues"} 
[2026-08-19 17:10:12] 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-08-19 17:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787139525000,"timestamp_ms":1787139525000,"timestamp_seconds":1787139525,"priority":1,"record_length":96,"hex_timestamp":"000001a019d10988"} 
[2026-08-19 17:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-19 17:10:12] 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-08-19 17:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:10:12] 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-08-19 17:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507717120001,"66":14048,"106":206,"83":41984,"24":9,"16":13907563665948672,"45":1764566659626045440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507717120001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:10:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:10:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13907563665948672,"km_value":13907563665948.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764566659626045440,"description":"Unknown IO ID 45"} 
[2026-08-19 17:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507717120001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1764566659626045440}} 
[2026-08-19 17:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":160283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:10:12] local.INFO: GPS data processed {"connection_id":160283,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:10:12] local.INFO: Acknowledgment sent {"connection_id":160283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:10:37] local.INFO: TCP Data received {"connection_id":157742,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:10:37] local.INFO: Processing buffer {"connection_id":157742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019cdd150012ceb4ac00713cf800017007125..."} 
[2026-08-19 17:10:37] local.INFO: Packet analysis {"connection_id":157742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:10:37] local.INFO: Extracted packet for processing {"connection_id":157742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019cd"} 
[2026-08-19 17:10:37] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":37,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507587328001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:10:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787139314000,"timestamp_ms":1787139314000,"timestamp_seconds":1787139314,"priority":1,"record_length":96,"hex_timestamp":"000001a019cdd150"} 
[2026-08-19 17:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 17:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507587328001,"66":25647,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507587328001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:10:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:10:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507587328001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":157742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:10:37] local.INFO: GPS data processed {"connection_id":157742,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:10:37] local.INFO: Acknowledgment sent {"connection_id":157742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:10:43] local.INFO: TCP Data received {"connection_id":160283,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d14038012d18738007218148004d010c22..."} 
[2026-08-19 17:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d14038012d18738007218148004d010c22..."} 
[2026-08-19 17:10:43] local.INFO: Processing buffer {"connection_id":160283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d14038012d18738007218148004d010c22..."} 
[2026-08-19 17:10:43] local.INFO: Packet analysis {"connection_id":160283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d1"} 
[2026-08-19 17:10:43] local.INFO: Extracted packet for processing {"connection_id":160283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d1"} 
[2026-08-19 17:10:43] local.INFO: GPS Element Parsed {"raw_longitude":756577152,"raw_latitude":119636296,"longitude_deg":75.6577152,"latitude_deg":11.9636296,"altitude":77,"angle":268,"satellites":34,"speed":8,"hex_longitude":"2d187380","hex_latitude":"07218148","is_valid_coordinates":true} 
[2026-08-19 17:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507718400001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13907619500523520,"note":"Value kept but may cause issues"} 
[2026-08-19 17:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763229653486659584,"note":"Value kept but may cause issues"} 
[2026-08-19 17:10: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-08-19 17:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787139539000,"timestamp_ms":1787139539000,"timestamp_seconds":1787139539,"priority":1,"record_length":96,"hex_timestamp":"000001a019d14038"} 
[2026-08-19 17:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 17:10:43] 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-08-19 17:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:10:43] 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-08-19 17:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507718400001,"66":14102,"105":206,"83":41984,"24":8,"16":13907619500523520,"45":1763229653486659584},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507718400001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:10:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:10:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13907619500523520,"km_value":13907619500523.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763229653486659584,"description":"Unknown IO ID 45"} 
[2026-08-19 17:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507718400001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1763229653486659584}} 
[2026-08-19 17:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":160283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:10:43] local.INFO: GPS data processed {"connection_id":160283,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:10:43] local.INFO: Acknowledgment sent {"connection_id":160283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:10:58] local.INFO: TCP Data received {"connection_id":157743,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:10:58] local.INFO: Processing buffer {"connection_id":157743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:10:58] local.INFO: IMEI packet received {"connection_id":157743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":157743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:11:04] local.INFO: TCP Data received {"connection_id":157743,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:11:04] local.INFO: Processing buffer {"connection_id":157743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:11:04] local.INFO: IMEI packet received {"connection_id":157743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":157743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:11:05] local.INFO: TCP Data received {"connection_id":157743,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d26918012ceb4ac00713cf800017007128..."} 
[2026-08-19 17:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d26918012ceb4ac00713cf800017007128..."} 
[2026-08-19 17:11:05] local.INFO: Processing buffer {"connection_id":157743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d26918012ceb4ac00713cf800017007128..."} 
[2026-08-19 17:11:05] local.INFO: Packet analysis {"connection_id":157743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:11:05] local.INFO: Extracted packet for processing {"connection_id":157743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:11:05] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507664384001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:11:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787139615000,"timestamp_ms":1787139615000,"timestamp_seconds":1787139615,"priority":1,"record_length":96,"hex_timestamp":"000001a019d26918"} 
[2026-08-19 17:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507664384001,"66":25604,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507664384001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:11:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:11:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507664384001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":157743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:11:05] local.INFO: GPS data processed {"connection_id":157743,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:11:05] local.INFO: Acknowledgment sent {"connection_id":157743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:11:08] local.INFO: TCP Data received {"connection_id":158093,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:11:08] local.INFO: Processing buffer {"connection_id":158093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:11:08] local.INFO: IMEI packet received {"connection_id":158093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":158093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:11:13] local.INFO: TCP Data received {"connection_id":158093,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:11:13] local.INFO: Processing buffer {"connection_id":158093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:11:13] local.INFO: IMEI packet received {"connection_id":158093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":158093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:11:14] local.INFO: TCP Data received {"connection_id":158093,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d27ca0012d181e400721a670004d001522..."} 
[2026-08-19 17:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d27ca0012d181e400721a670004d001522..."} 
[2026-08-19 17:11:14] local.INFO: Processing buffer {"connection_id":158093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d27ca0012d181e400721a670004d001522..."} 
[2026-08-19 17:11:14] local.INFO: Packet analysis {"connection_id":158093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:11:14] local.INFO: Extracted packet for processing {"connection_id":158093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:11:14] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119645808,"longitude_deg":75.6555328,"latitude_deg":11.9645808,"altitude":77,"angle":21,"satellites":34,"speed":1,"hex_longitude":"2d181e40","hex_latitude":"0721a670","is_valid_coordinates":true} 
[2026-08-19 17:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507741696001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13908792026595328,"note":"Value kept but may cause issues"} 
[2026-08-19 17:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329227264,"note":"Value kept but may cause issues"} 
[2026-08-19 17:11: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-08-19 17:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787139620000,"timestamp_ms":1787139620000,"timestamp_seconds":1787139620,"priority":1,"record_length":96,"hex_timestamp":"000001a019d27ca0"} 
[2026-08-19 17:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:11: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-08-19 17:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 17:11:14] 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-08-19 17:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:11:14] 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-08-19 17:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507741696001,"66":14080,"105":206,"83":41984,"24":1,"16":13908792026595328,"45":1737967274329227264},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507741696001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:11:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:11:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13908792026595328,"km_value":13908792026595.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329227264,"description":"Unknown IO ID 45"} 
[2026-08-19 17:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507741696001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1737967274329227264}} 
[2026-08-19 17:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":158093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:11:14] local.INFO: GPS data processed {"connection_id":158093,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:11:14] local.INFO: Acknowledgment sent {"connection_id":158093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:11:38] local.INFO: TCP Data received {"connection_id":157743,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d2bb20012ceb4ac00713cf800017007127..."} 
[2026-08-19 17:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d2bb20012ceb4ac00713cf800017007127..."} 
[2026-08-19 17:11:38] local.INFO: Processing buffer {"connection_id":157743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d2bb20012ceb4ac00713cf800017007127..."} 
[2026-08-19 17:11:38] local.INFO: Packet analysis {"connection_id":157743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:11:38] local.INFO: Extracted packet for processing {"connection_id":157743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:11:38] local.INFO: GPS Element Parsed {"raw_longitude":753617600,"raw_latitude":118738816,"longitude_deg":75.36176,"latitude_deg":11.8738816,"altitude":23,"angle":113,"satellites":39,"speed":0,"hex_longitude":"2ceb4ac0","hex_latitude":"0713cf80","is_valid_coordinates":true} 
[2026-08-19 17:11:38] 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-08-19 17:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507741440001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:11:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787139636000,"timestamp_ms":1787139636000,"timestamp_seconds":1787139636,"priority":1,"record_length":96,"hex_timestamp":"000001a019d2bb20"} 
[2026-08-19 17:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 17:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507741440001,"66":25625,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507741440001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:11:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:11:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507741440001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":157743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:11:38] local.INFO: GPS data processed {"connection_id":157743,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:11:38] local.INFO: Acknowledgment sent {"connection_id":157743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:11:45] local.INFO: TCP Data received {"connection_id":158093,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d28470012d181e800721a700004d002522..."} 
[2026-08-19 17:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d28470012d181e800721a700004d002522..."} 
[2026-08-19 17:11:45] local.INFO: Processing buffer {"connection_id":158093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d28470012d181e800721a700004d002522..."} 
[2026-08-19 17:11:45] local.INFO: Packet analysis {"connection_id":158093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:11:45] local.INFO: Extracted packet for processing {"connection_id":158093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:11:45] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119645952,"longitude_deg":75.6555392,"latitude_deg":11.9645952,"altitude":77,"angle":37,"satellites":34,"speed":3,"hex_longitude":"2d181e80","hex_latitude":"0721a700","is_valid_coordinates":true} 
[2026-08-19 17:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507742720001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13908800616529920,"note":"Value kept but may cause issues"} 
[2026-08-19 17:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585094656,"note":"Value kept but may cause issues"} 
[2026-08-19 17:11: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-08-19 17:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787139622000,"timestamp_ms":1787139622000,"timestamp_seconds":1787139622,"priority":1,"record_length":96,"hex_timestamp":"000001a019d28470"} 
[2026-08-19 17:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-19 17:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-08-19 17:11:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:11:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 17:11:45] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13462121,"corrected_to":0} 
[2026-08-19 17:11:45] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3528566785,"note":"Value kept but may cause issues"} 
[2026-08-19 17:11:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-19 17:11:45] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,160,109,45,128,165,77,34,10,66,64,35,93,192,1,240,246,227,25,33,4,113,205,3,23,239,55,2,49,7],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":246,"original":13462121,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-19 17:11:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548457976693587968,"timestamp_seconds":5548457976693588.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 17:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:11:45] 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-08-19 17:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507742720001,"66":14004,"105":206,"83":41984,"24":3,"16":13908800616529920,"45":1737896905585094656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507742720001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:11:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:11:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13908800616529920,"km_value":13908800616529.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585094656,"description":"Unknown IO ID 45"} 
[2026-08-19 17:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507742720001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737896905585094656}} 
[2026-08-19 17:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":158093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:11:45] local.INFO: GPS data processed {"connection_id":158093,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:11:45] local.INFO: Acknowledgment sent {"connection_id":158093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:11:59] local.INFO: TCP Data received {"connection_id":157744,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:11:59] local.INFO: Processing buffer {"connection_id":157744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:11:59] local.INFO: IMEI packet received {"connection_id":157744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":157744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:12:02] local.INFO: TCP Data received {"connection_id":157744,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:12:02] local.INFO: Processing buffer {"connection_id":157744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:12:02] local.INFO: IMEI packet received {"connection_id":157744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":157744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:12:04] local.INFO: TCP Data received {"connection_id":157744,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:12:04] local.INFO: Processing buffer {"connection_id":157744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:12:04] local.INFO: IMEI packet received {"connection_id":157744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":157744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:12:05] local.INFO: TCP Data received {"connection_id":157744,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d2d290012ceb46000713ce600017015727..."} 
[2026-08-19 17:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d2d290012ceb46000713ce600017015727..."} 
[2026-08-19 17:12:05] local.INFO: Processing buffer {"connection_id":157744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d2d290012ceb46000713ce600017015727..."} 
[2026-08-19 17:12:05] local.INFO: Packet analysis {"connection_id":157744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:12:05] local.INFO: Extracted packet for processing {"connection_id":157744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:12:05] local.INFO: GPS Element Parsed {"raw_longitude":753616384,"raw_latitude":118738528,"longitude_deg":75.3616384,"latitude_deg":11.8738528,"altitude":23,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2ceb4600","hex_latitude":"0713ce60","is_valid_coordinates":true} 
[2026-08-19 17:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507746816001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:12:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492169189890228224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787139642000,"timestamp_ms":1787139642000,"timestamp_seconds":1787139642,"priority":1,"record_length":96,"hex_timestamp":"000001a019d2d290"} 
[2026-08-19 17:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:12: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-08-19 17:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 17:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507746816001,"66":27539,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1492169189890228224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507746816001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:12:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:12:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492169189890228224,"description":"Unknown IO ID 44"} 
[2026-08-19 17:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507746816001,"power":27539,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492169189890228224}} 
[2026-08-19 17:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":157744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:12:05] local.INFO: GPS data processed {"connection_id":157744,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:12:05] local.INFO: Acknowledgment sent {"connection_id":157744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:12:08] local.INFO: TCP Data received {"connection_id":158966,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:12:08] local.INFO: Processing buffer {"connection_id":158966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:12:08] local.INFO: IMEI packet received {"connection_id":158966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":158966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:12:10] local.INFO: TCP Data received {"connection_id":157744,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d32498012ceb46000713ce600017015727..."} 
[2026-08-19 17:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d32498012ceb46000713ce600017015727..."} 
[2026-08-19 17:12:10] local.INFO: Processing buffer {"connection_id":157744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d32498012ceb46000713ce600017015727..."} 
[2026-08-19 17:12:10] local.INFO: Packet analysis {"connection_id":157744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d3"} 
[2026-08-19 17:12:10] local.INFO: Extracted packet for processing {"connection_id":157744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d3"} 
[2026-08-19 17:12:10] local.INFO: GPS Element Parsed {"raw_longitude":753616384,"raw_latitude":118738528,"longitude_deg":75.3616384,"latitude_deg":11.8738528,"altitude":23,"angle":343,"satellites":39,"speed":0,"hex_longitude":"2ceb4600","hex_latitude":"0713ce60","is_valid_coordinates":true} 
[2026-08-19 17:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507748352001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1493506196029677568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787139663000,"timestamp_ms":1787139663000,"timestamp_seconds":1787139663,"priority":1,"record_length":96,"hex_timestamp":"000001a019d32498"} 
[2026-08-19 17:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:12: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-08-19 17:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-19 17:12:10] 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-08-19 17:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507748352001,"66":27865,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1493506196029677568},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507748352001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:12:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1493506196029677568,"description":"Unknown IO ID 44"} 
[2026-08-19 17:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507748352001,"power":27865,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1493506196029677568}} 
[2026-08-19 17:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":157744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:12:10] local.INFO: GPS data processed {"connection_id":157744,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:12:10] local.INFO: Acknowledgment sent {"connection_id":157744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:12:10] local.INFO: TCP Data received {"connection_id":158966,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:12:10] local.INFO: Processing buffer {"connection_id":158966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:12:10] local.INFO: IMEI packet received {"connection_id":158966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":158966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:12:11] local.INFO: TCP Data received {"connection_id":158966,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d28858012d181f400721a720004d003c22..."} 
[2026-08-19 17:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d28858012d181f400721a720004d003c22..."} 
[2026-08-19 17:12:11] local.INFO: Processing buffer {"connection_id":158966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d28858012d181f400721a720004d003c22..."} 
[2026-08-19 17:12:11] local.INFO: Packet analysis {"connection_id":158966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:12:11] local.INFO: Extracted packet for processing {"connection_id":158966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:12:11] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119645984,"longitude_deg":75.6555584,"latitude_deg":11.9645984,"altitude":77,"angle":60,"satellites":34,"speed":4,"hex_longitude":"2d181f40","hex_latitude":"0721a720","is_valid_coordinates":true} 
[2026-08-19 17:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507743232001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13908809206464512,"note":"Value kept but may cause issues"} 
[2026-08-19 17:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329309184,"note":"Value kept but may cause issues"} 
[2026-08-19 17:12: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-08-19 17:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787139623000,"timestamp_ms":1787139623000,"timestamp_seconds":1787139623,"priority":1,"record_length":96,"hex_timestamp":"000001a019d28858"} 
[2026-08-19 17:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:12: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-08-19 17:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 17:12: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-08-19 17:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:12: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-08-19 17:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507743232001,"66":14048,"105":206,"83":41984,"24":4,"16":13908809206464512,"45":1737967274329309184},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507743232001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:12:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:12:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13908809206464512,"km_value":13908809206464.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329309184,"description":"Unknown IO ID 45"} 
[2026-08-19 17:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507743232001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1737967274329309184}} 
[2026-08-19 17:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":158966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:12:11] local.INFO: GPS data processed {"connection_id":158966,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:12:11] local.INFO: Acknowledgment sent {"connection_id":158966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:12:42] local.INFO: TCP Data received {"connection_id":157744,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d376a0012ceb46000713ce600017015728..."} 
[2026-08-19 17:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d376a0012ceb46000713ce600017015728..."} 
[2026-08-19 17:12:42] local.INFO: Processing buffer {"connection_id":157744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d376a0012ceb46000713ce600017015728..."} 
[2026-08-19 17:12:42] local.INFO: Packet analysis {"connection_id":157744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d3"} 
[2026-08-19 17:12:42] local.INFO: Extracted packet for processing {"connection_id":157744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d3"} 
[2026-08-19 17:12:42] local.INFO: GPS Element Parsed {"raw_longitude":753616384,"raw_latitude":118738528,"longitude_deg":75.3616384,"latitude_deg":11.8738528,"altitude":23,"angle":343,"satellites":40,"speed":0,"hex_longitude":"2ceb4600","hex_latitude":"0713ce60","is_valid_coordinates":true} 
[2026-08-19 17:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507753728001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020034088009728,"note":"Value kept but may cause issues"} 
[2026-08-19 17:12:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1493506196029677568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787139684000,"timestamp_ms":1787139684000,"timestamp_seconds":1787139684,"priority":1,"record_length":96,"hex_timestamp":"000001a019d376a0"} 
[2026-08-19 17:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 17:12:42] 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-08-19 17:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507753728001,"66":27767,"12":206,"2":54272,"24":0,"16":386020034088009728,"44":-1493506196029677568},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507753728001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:12:42] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020034088009728,"km_value":386020034088009.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:12:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1493506196029677568,"description":"Unknown IO ID 44"} 
[2026-08-19 17:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507753728001,"power":27767,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1493506196029677568}} 
[2026-08-19 17:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":157744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:12:42] local.INFO: GPS data processed {"connection_id":157744,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:12:42] local.INFO: Acknowledgment sent {"connection_id":157744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:12:42] local.INFO: TCP Data received {"connection_id":158966,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d28c40012d181f800721a738004d004920..."} 
[2026-08-19 17:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d28c40012d181f800721a738004d004920..."} 
[2026-08-19 17:12:42] local.INFO: Processing buffer {"connection_id":158966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d28c40012d181f800721a738004d004920..."} 
[2026-08-19 17:12:42] local.INFO: Packet analysis {"connection_id":158966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:12:42] local.INFO: Extracted packet for processing {"connection_id":158966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:12:42] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646008,"longitude_deg":75.6555648,"latitude_deg":11.9646008,"altitude":77,"angle":73,"satellites":32,"speed":4,"hex_longitude":"2d181f80","hex_latitude":"0721a738","is_valid_coordinates":true} 
[2026-08-19 17:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507743488001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13908813501431808,"note":"Value kept but may cause issues"} 
[2026-08-19 17:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561850368,"note":"Value kept but may cause issues"} 
[2026-08-19 17:12: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-08-19 17:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787139624000,"timestamp_ms":1787139624000,"timestamp_seconds":1787139624,"priority":1,"record_length":96,"hex_timestamp":"000001a019d28c40"} 
[2026-08-19 17:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:12: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-08-19 17:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 17:12: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-08-19 17:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:12:42] 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-08-19 17:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507743488001,"66":14048,"105":206,"83":41984,"24":4,"16":13908813501431808,"45":1738178380561850368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507743488001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:12:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:12:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13908813501431808,"km_value":13908813501431.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561850368,"description":"Unknown IO ID 45"} 
[2026-08-19 17:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507743488001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1738178380561850368}} 
[2026-08-19 17:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":158966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:12:42] local.INFO: GPS data processed {"connection_id":158966,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:12:42] local.INFO: Acknowledgment sent {"connection_id":158966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:12:59] local.INFO: TCP Data received {"connection_id":157745,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:12:59] local.INFO: Processing buffer {"connection_id":157745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:12:59] local.INFO: IMEI packet received {"connection_id":157745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":157745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:13:03] local.INFO: TCP Data received {"connection_id":157745,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:13:03] local.INFO: Processing buffer {"connection_id":157745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:13:03] local.INFO: IMEI packet received {"connection_id":157745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":157745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:13:04] local.INFO: TCP Data received {"connection_id":157745,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d3c8a8012ceb49c00713cf280016015728..."} 
[2026-08-19 17:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d3c8a8012ceb49c00713cf280016015728..."} 
[2026-08-19 17:13:04] local.INFO: Processing buffer {"connection_id":157745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d3c8a8012ceb49c00713cf280016015728..."} 
[2026-08-19 17:13:04] local.INFO: Packet analysis {"connection_id":157745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d3"} 
[2026-08-19 17:13:04] local.INFO: Extracted packet for processing {"connection_id":157745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d3"} 
[2026-08-19 17:13:04] local.INFO: GPS Element Parsed {"raw_longitude":753617344,"raw_latitude":118738728,"longitude_deg":75.3617344,"latitude_deg":11.8738728,"altitude":22,"angle":343,"satellites":40,"speed":0,"hex_longitude":"2ceb49c0","hex_latitude":"0713cf28","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507759104001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020081332649984,"note":"Value kept but may cause issues"} 
[2026-08-19 17:13:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1493506196029677568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787139705000,"timestamp_ms":1787139705000,"timestamp_seconds":1787139705,"priority":1,"record_length":96,"hex_timestamp":"000001a019d3c8a8"} 
[2026-08-19 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-08-19 17:13: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-08-19 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 17:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 17:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507759104001,"66":28028,"12":206,"2":54272,"24":0,"16":386020081332649984,"44":-1493506196029677568},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507759104001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:13:04] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020081332649984,"km_value":386020081332650.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:13:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1493506196029677568,"description":"Unknown IO ID 44"} 
[2026-08-19 17:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507759104001,"power":28028,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1493506196029677568}} 
[2026-08-19 17:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":157745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:13:04] local.INFO: GPS data processed {"connection_id":157745,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:13:04] local.INFO: Acknowledgment sent {"connection_id":157745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:13:08] local.INFO: TCP Data received {"connection_id":158094,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:13:08] local.INFO: Processing buffer {"connection_id":158094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:13:08] local.INFO: IMEI packet received {"connection_id":158094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":158094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:13:13] local.INFO: TCP Data received {"connection_id":158094,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:13:13] local.INFO: Processing buffer {"connection_id":158094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:13:13] local.INFO: IMEI packet received {"connection_id":158094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":158094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:13:14] local.INFO: TCP Data received {"connection_id":158094,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d29028012d1820000721a708004d008320..."} 
[2026-08-19 17:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d29028012d1820000721a708004d008320..."} 
[2026-08-19 17:13:14] local.INFO: Processing buffer {"connection_id":158094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d29028012d1820000721a708004d008320..."} 
[2026-08-19 17:13:14] local.INFO: Packet analysis {"connection_id":158094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:13:14] local.INFO: Extracted packet for processing {"connection_id":158094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:13:14] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119645960,"longitude_deg":75.6555776,"latitude_deg":11.964596,"altitude":77,"angle":131,"satellites":32,"speed":6,"hex_longitude":"2d182000","hex_latitude":"0721a708","is_valid_coordinates":true} 
[2026-08-19 17:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507743744001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13908822091366400,"note":"Value kept but may cause issues"} 
[2026-08-19 17:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306034176,"note":"Value kept but may cause issues"} 
[2026-08-19 17:13: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-08-19 17:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787139625000,"timestamp_ms":1787139625000,"timestamp_seconds":1787139625,"priority":1,"record_length":96,"hex_timestamp":"000001a019d29028"} 
[2026-08-19 17:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:13: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-08-19 17:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 17:13:14] 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-08-19 17:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:13:14] 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-08-19 17:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507743744001,"66":14048,"105":206,"83":41984,"24":6,"16":13908822091366400,"45":1738248749306034176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507743744001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:13:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:13:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13908822091366400,"km_value":13908822091366.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306034176,"description":"Unknown IO ID 45"} 
[2026-08-19 17:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507743744001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738248749306034176}} 
[2026-08-19 17:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":158094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:13:14] local.INFO: GPS data processed {"connection_id":158094,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:13:14] local.INFO: Acknowledgment sent {"connection_id":158094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:13:35] local.INFO: TCP Data received {"connection_id":157745,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d41ab0012ceb49c00713cf280016015725..."} 
[2026-08-19 17:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d41ab0012ceb49c00713cf280016015725..."} 
[2026-08-19 17:13:35] local.INFO: Processing buffer {"connection_id":157745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d41ab0012ceb49c00713cf280016015725..."} 
[2026-08-19 17:13:35] local.INFO: Packet analysis {"connection_id":157745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d4"} 
[2026-08-19 17:13:35] local.INFO: Extracted packet for processing {"connection_id":157745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d4"} 
[2026-08-19 17:13:35] local.INFO: GPS Element Parsed {"raw_longitude":753617344,"raw_latitude":118738728,"longitude_deg":75.3617344,"latitude_deg":11.8738728,"altitude":22,"angle":343,"satellites":37,"speed":0,"hex_longitude":"2ceb49c0","hex_latitude":"0713cf28","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507764480001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020081332649984,"note":"Value kept but may cause issues"} 
[2026-08-19 17:13:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492450664866961408,"note":"Value kept but may cause issues"} 
[2026-08-19 17:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787139726000,"timestamp_ms":1787139726000,"timestamp_seconds":1787139726,"priority":1,"record_length":96,"hex_timestamp":"000001a019d41ab0"} 
[2026-08-19 17:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-19 17:13:35] 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-08-19 17: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-08-19 17:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":157745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":157745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":157745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507764480001,"66":27887,"12":206,"2":54272,"24":0,"16":386020081332649984,"44":-1492450664866961408},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507764480001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:13:35] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020081332649984,"km_value":386020081332650.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:13:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492450664866961408,"description":"Unknown IO ID 44"} 
[2026-08-19 17:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507764480001,"power":27887,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492450664866961408}} 
[2026-08-19 17:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":157745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:13:35] local.INFO: GPS data processed {"connection_id":157745,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:13:35] local.INFO: Acknowledgment sent {"connection_id":157745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:13:45] local.INFO: TCP Data received {"connection_id":158094,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d2e230012d18278007219f30004e007f1d..."} 
[2026-08-19 17:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d2e230012d18278007219f30004e007f1d..."} 
[2026-08-19 17:13:45] local.INFO: Processing buffer {"connection_id":158094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d2e230012d18278007219f30004e007f1d..."} 
[2026-08-19 17:13:45] local.INFO: Packet analysis {"connection_id":158094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:13:45] local.INFO: Extracted packet for processing {"connection_id":158094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:13:45] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119643952,"longitude_deg":75.6557696,"latitude_deg":11.9643952,"altitude":78,"angle":127,"satellites":29,"speed":6,"hex_longitude":"2d182780","hex_latitude":"07219f30","is_valid_coordinates":true} 
[2026-08-19 17:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507744000001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13908959530319872,"note":"Value kept but may cause issues"} 
[2026-08-19 17:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794377216,"note":"Value kept but may cause issues"} 
[2026-08-19 17:13: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-08-19 17:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787139646000,"timestamp_ms":1787139646000,"timestamp_seconds":1787139646,"priority":1,"record_length":96,"hex_timestamp":"000001a019d2e230"} 
[2026-08-19 17:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:13: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-08-19 17:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 17:13:45] 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-08-19 17:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:13:45] 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-08-19 17:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507744000001,"66":13167,"105":206,"83":41984,"24":6,"16":13908959530319872,"45":1738389486794377216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507744000001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:13:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:13:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13908959530319872,"km_value":13908959530319.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794377216,"description":"Unknown IO ID 45"} 
[2026-08-19 17:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507744000001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738389486794377216}} 
[2026-08-19 17:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":158094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:13:45] local.INFO: GPS data processed {"connection_id":158094,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:13:45] local.INFO: Acknowledgment sent {"connection_id":158094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:14:04] local.INFO: TCP Data received {"connection_id":158095,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:14:04] local.INFO: Processing buffer {"connection_id":158095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:14:04] local.INFO: IMEI packet received {"connection_id":158095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":158095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:14:08] local.INFO: TCP Data received {"connection_id":157746,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:14:08] local.INFO: Processing buffer {"connection_id":157746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:14:08] local.INFO: IMEI packet received {"connection_id":157746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":157746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:14:09] local.INFO: TCP Data received {"connection_id":158095,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:14:09] local.INFO: Processing buffer {"connection_id":158095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:14:09] local.INFO: IMEI packet received {"connection_id":158095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":158095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:14:10] local.INFO: TCP Data received {"connection_id":158095,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d464e8012ceb48800713d0880016013727..."} 
[2026-08-19 17:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d464e8012ceb48800713d0880016013727..."} 
[2026-08-19 17:14:10] local.INFO: Processing buffer {"connection_id":158095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d464e8012ceb48800713d0880016013727..."} 
[2026-08-19 17:14:10] local.INFO: Packet analysis {"connection_id":158095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d4"} 
[2026-08-19 17:14:10] local.INFO: Extracted packet for processing {"connection_id":158095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d4"} 
[2026-08-19 17:14:10] local.INFO: GPS Element Parsed {"raw_longitude":753617024,"raw_latitude":118739080,"longitude_deg":75.3617024,"latitude_deg":11.873908,"altitude":22,"angle":311,"satellites":39,"speed":8,"hex_longitude":"2ceb4880","hex_latitude":"0713d088","is_valid_coordinates":true} 
[2026-08-19 17:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507769856001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020107102453760,"note":"Value kept but may cause issues"} 
[2026-08-19 17:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492450664866961408,"note":"Value kept but may cause issues"} 
[2026-08-19 17:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787139745000,"timestamp_ms":1787139745000,"timestamp_seconds":1787139745,"priority":1,"record_length":96,"hex_timestamp":"000001a019d464e8"} 
[2026-08-19 17:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:14: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-08-19 17:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 17:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507769856001,"66":27865,"12":206,"2":54272,"24":8,"16":386020107102453760,"44":-1492450664866961408},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507769856001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:14:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020107102453760,"km_value":386020107102453.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492450664866961408,"description":"Unknown IO ID 44"} 
[2026-08-19 17:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507769856001,"power":27865,"unknown_12":206,"power_alt":54272,"ignition":8,"odometer":null,"unknown_44":-1492450664866961408}} 
[2026-08-19 17:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":158095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:14:10] local.INFO: GPS data processed {"connection_id":158095,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:14:10] local.INFO: Acknowledgment sent {"connection_id":158095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:14:13] local.INFO: TCP Data received {"connection_id":157746,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:14:13] local.INFO: Processing buffer {"connection_id":157746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:14:13] local.INFO: IMEI packet received {"connection_id":157746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":157746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:14:14] local.INFO: TCP Data received {"connection_id":157746,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d2f1d0012d18294007219e08004e008b1e..."} 
[2026-08-19 17:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d2f1d0012d18294007219e08004e008b1e..."} 
[2026-08-19 17:14:14] local.INFO: Processing buffer {"connection_id":157746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d2f1d0012d18294007219e08004e008b1e..."} 
[2026-08-19 17:14:14] local.INFO: Packet analysis {"connection_id":157746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:14:14] local.INFO: Extracted packet for processing {"connection_id":157746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d2"} 
[2026-08-19 17:14:14] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643656,"longitude_deg":75.6558144,"latitude_deg":11.9643656,"altitude":78,"angle":139,"satellites":30,"speed":2,"hex_longitude":"2d182940","hex_latitude":"07219e08","is_valid_coordinates":true} 
[2026-08-19 17:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507749376001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13908985300123648,"note":"Value kept but may cause issues"} 
[2026-08-19 17:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549119193088,"note":"Value kept but may cause issues"} 
[2026-08-19 17:14: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-08-19 17:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787139650000,"timestamp_ms":1787139650000,"timestamp_seconds":1787139650,"priority":1,"record_length":96,"hex_timestamp":"000001a019d2f1d0"} 
[2026-08-19 17:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:14: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-08-19 17:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-19 17:14:14] 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-08-19 17:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:14:14] 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-08-19 17:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507749376001,"66":13135,"105":206,"83":41984,"24":2,"16":13908985300123648,"45":1740500549119193088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507749376001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:14:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:14:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13908985300123648,"km_value":13908985300123.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549119193088,"description":"Unknown IO ID 45"} 
[2026-08-19 17:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507749376001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1740500549119193088}} 
[2026-08-19 17:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":157746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:14:14] local.INFO: GPS data processed {"connection_id":157746,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:14:14] local.INFO: Acknowledgment sent {"connection_id":157746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:14:16] local.INFO: TCP Data received {"connection_id":158095,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d468d0012ceb47800713d1080016012b27..."} 
[2026-08-19 17:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d468d0012ceb47800713d1080016012b27..."} 
[2026-08-19 17:14:16] local.INFO: Processing buffer {"connection_id":158095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d468d0012ceb47800713d1080016012b27..."} 
[2026-08-19 17:14:16] local.INFO: Packet analysis {"connection_id":158095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d4"} 
[2026-08-19 17:14:16] local.INFO: Extracted packet for processing {"connection_id":158095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d4"} 
[2026-08-19 17:14:16] local.INFO: GPS Element Parsed {"raw_longitude":753616768,"raw_latitude":118739208,"longitude_deg":75.3616768,"latitude_deg":11.8739208,"altitude":22,"angle":299,"satellites":39,"speed":9,"hex_longitude":"2ceb4780","hex_latitude":"0713d108","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507774720001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020119987355648,"note":"Value kept but may cause issues"} 
[2026-08-19 17:14:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492802508587759616,"note":"Value kept but may cause issues"} 
[2026-08-19 17:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787139746000,"timestamp_ms":1787139746000,"timestamp_seconds":1787139746,"priority":1,"record_length":96,"hex_timestamp":"000001a019d468d0"} 
[2026-08-19 17:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 17:14:16] 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-08-19 17: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-08-19 17:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507774720001,"66":27919,"12":206,"2":54272,"24":9,"16":386020119987355648,"44":-1492802508587759616},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507774720001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:14:16] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020119987355648,"km_value":386020119987355.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:14:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492802508587759616,"description":"Unknown IO ID 44"} 
[2026-08-19 17:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507774720001,"power":27919,"unknown_12":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-1492802508587759616}} 
[2026-08-19 17:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":158095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:14:16] local.INFO: GPS data processed {"connection_id":158095,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:14:16] local.INFO: Acknowledgment sent {"connection_id":158095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:14:45] local.INFO: TCP Data received {"connection_id":157746,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d343d8012d18294007219e00004e008b1d..."} 
[2026-08-19 17:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d343d8012d18294007219e00004e008b1d..."} 
[2026-08-19 17:14:45] local.INFO: Processing buffer {"connection_id":157746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d343d8012d18294007219e00004e008b1d..."} 
[2026-08-19 17:14:45] local.INFO: Packet analysis {"connection_id":157746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d3"} 
[2026-08-19 17:14:45] local.INFO: Extracted packet for processing {"connection_id":157746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d3"} 
[2026-08-19 17:14:45] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643648,"longitude_deg":75.6558144,"latitude_deg":11.9643648,"altitude":78,"angle":139,"satellites":29,"speed":0,"hex_longitude":"2d182940","hex_latitude":"07219e00","is_valid_coordinates":true} 
[2026-08-19 17:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507750400001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13908989595090944,"note":"Value kept but may cause issues"} 
[2026-08-19 17:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328360960,"note":"Value kept but may cause issues"} 
[2026-08-19 17:14: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-08-19 17:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787139671000,"timestamp_ms":1787139671000,"timestamp_seconds":1787139671,"priority":1,"record_length":96,"hex_timestamp":"000001a019d343d8"} 
[2026-08-19 17:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:14: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-08-19 17:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 17:14: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-08-19 17:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:14:45] 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-08-19 17:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507750400001,"66":13048,"105":206,"83":41984,"24":0,"16":13908989595090944,"45":1740993130328360960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507750400001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:14:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:14:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13908989595090944,"km_value":13908989595090.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328360960,"description":"Unknown IO ID 45"} 
[2026-08-19 17:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507750400001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740993130328360960}} 
[2026-08-19 17:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":157746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:14:45] local.INFO: GPS data processed {"connection_id":157746,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:14:45] local.INFO: Acknowledgment sent {"connection_id":157746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:14:59] local.INFO: TCP Data received {"connection_id":158967,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:14:59] local.INFO: Processing buffer {"connection_id":158967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:14:59] local.INFO: IMEI packet received {"connection_id":158967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":158967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:15:02] local.INFO: TCP Data received {"connection_id":158967,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:15:02] local.INFO: Processing buffer {"connection_id":158967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:15:02] local.INFO: IMEI packet received {"connection_id":158967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":158967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:15:03] local.INFO: TCP Data received {"connection_id":158967,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d5d418012ceb5d400713bd00000f00c32b..."} 
[2026-08-19 17:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d5d418012ceb5d400713bd00000f00c32b..."} 
[2026-08-19 17:15:03] local.INFO: Processing buffer {"connection_id":158967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d5d418012ceb5d400713bd00000f00c32b..."} 
[2026-08-19 17:15:03] local.INFO: Packet analysis {"connection_id":158967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d5"} 
[2026-08-19 17:15:03] local.INFO: Extracted packet for processing {"connection_id":158967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d5"} 
[2026-08-19 17:15:03] local.INFO: GPS Element Parsed {"raw_longitude":753622336,"raw_latitude":118734080,"longitude_deg":75.3622336,"latitude_deg":11.873408,"altitude":15,"angle":195,"satellites":43,"speed":6,"hex_longitude":"2ceb5d40","hex_latitude":"0713bd00","is_valid_coordinates":true} 
[2026-08-19 17:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507795456001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020820067024896,"note":"Value kept but may cause issues"} 
[2026-08-19 17:15:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1488298908961339392,"note":"Value kept but may cause issues"} 
[2026-08-19 17:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787139839000,"timestamp_ms":1787139839000,"timestamp_seconds":1787139839,"priority":1,"record_length":96,"hex_timestamp":"000001a019d5d418"} 
[2026-08-19 17:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-19 17:15:03] 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-08-19 17:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":158967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":158967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":158967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507795456001,"66":27984,"12":206,"2":54272,"24":6,"16":386020820067024896,"44":-1488298908961339392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507795456001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:15:03] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020820067024896,"km_value":386020820067024.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:15:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1488298908961339392,"description":"Unknown IO ID 44"} 
[2026-08-19 17:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507795456001,"power":27984,"unknown_12":206,"power_alt":54272,"ignition":6,"odometer":null,"unknown_44":-1488298908961339392}} 
[2026-08-19 17:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":158967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:15:03] local.INFO: GPS data processed {"connection_id":158967,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:15:03] local.INFO: Acknowledgment sent {"connection_id":158967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:15:09] local.INFO: TCP Data received {"connection_id":158096,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:15:09] local.INFO: Processing buffer {"connection_id":158096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:15:09] local.INFO: IMEI packet received {"connection_id":158096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":158096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:15:13] local.INFO: TCP Data received {"connection_id":158096,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:15:13] local.INFO: Processing buffer {"connection_id":158096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:15:13] local.INFO: IMEI packet received {"connection_id":158096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":158096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:15:15] local.INFO: TCP Data received {"connection_id":158096,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d61680012d185a40072186a8004f00761e..."} 
[2026-08-19 17:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d61680012d185a40072186a8004f00761e..."} 
[2026-08-19 17:15:15] local.INFO: Processing buffer {"connection_id":158096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d61680012d185a40072186a8004f00761e..."} 
[2026-08-19 17:15:15] local.INFO: Packet analysis {"connection_id":158096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d6"} 
[2026-08-19 17:15:15] local.INFO: Extracted packet for processing {"connection_id":158096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d6"} 
[2026-08-19 17:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756570688,"raw_latitude":119637672,"longitude_deg":75.6570688,"latitude_deg":11.9637672,"altitude":79,"angle":118,"satellites":30,"speed":39,"hex_longitude":"2d185a40","hex_latitude":"072186a8","is_valid_coordinates":true} 
[2026-08-19 17:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507800064001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13909651020054528,"note":"Value kept but may cause issues"} 
[2026-08-19 17:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745285623722622976,"note":"Value kept but may cause issues"} 
[2026-08-19 17:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787139856000,"timestamp_ms":1787139856000,"timestamp_seconds":1787139856,"priority":1,"record_length":96,"hex_timestamp":"000001a019d61680"} 
[2026-08-19 17:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-19 17:15:15] 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-08-19 17:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:15:15] 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-08-19 17:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507800064001,"66":14461,"105":206,"83":41984,"24":39,"16":13909651020054528,"45":1745285623722622976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507800064001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:15:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:15:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13909651020054528,"km_value":13909651020054.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745285623722622976,"description":"Unknown IO ID 45"} 
[2026-08-19 17:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507800064001,"power":14461,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1745285623722622976}} 
[2026-08-19 17:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":158096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:15:15] local.INFO: GPS data processed {"connection_id":158096,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:15:15] local.INFO: Acknowledgment sent {"connection_id":158096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:15:35] local.INFO: TCP Data received {"connection_id":158967,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d5dfd0012ceb5d400713ba48000f00a92c..."} 
[2026-08-19 17:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d5dfd0012ceb5d400713ba48000f00a92c..."} 
[2026-08-19 17:15:35] local.INFO: Processing buffer {"connection_id":158967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d5dfd0012ceb5d400713ba48000f00a92c..."} 
[2026-08-19 17:15:35] local.INFO: Packet analysis {"connection_id":158967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d5"} 
[2026-08-19 17:15:35] local.INFO: Extracted packet for processing {"connection_id":158967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d5"} 
[2026-08-19 17:15:35] local.INFO: GPS Element Parsed {"raw_longitude":753622336,"raw_latitude":118733384,"longitude_deg":75.3622336,"latitude_deg":11.8733384,"altitude":15,"angle":169,"satellites":44,"speed":8,"hex_longitude":"2ceb5d40","hex_latitude":"0713ba48","is_valid_coordinates":true} 
[2026-08-19 17:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507798784001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020854426763264,"note":"Value kept but may cause issues"} 
[2026-08-19 17:15:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486961902822293504,"note":"Value kept but may cause issues"} 
[2026-08-19 17:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787139842000,"timestamp_ms":1787139842000,"timestamp_seconds":1787139842,"priority":1,"record_length":96,"hex_timestamp":"000001a019d5dfd0"} 
[2026-08-19 17:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:15: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-08-19 17:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-19 17:15:35] 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-08-19 17:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507798784001,"66":27832,"12":206,"2":54272,"24":8,"16":386020854426763264,"44":-1486961902822293504},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507798784001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:15:35] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020854426763264,"km_value":386020854426763.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:15:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486961902822293504,"description":"Unknown IO ID 44"} 
[2026-08-19 17:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507798784001,"power":27832,"unknown_12":206,"power_alt":54272,"ignition":8,"odometer":null,"unknown_44":-1486961902822293504}} 
[2026-08-19 17:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":158967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:15:35] local.INFO: GPS data processed {"connection_id":158967,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:15:35] local.INFO: Acknowledgment sent {"connection_id":158967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:15:46] local.INFO: TCP Data received {"connection_id":158096,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d62238012d18650007218238004e00691e..."} 
[2026-08-19 17:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d62238012d18650007218238004e00691e..."} 
[2026-08-19 17:15:46] local.INFO: Processing buffer {"connection_id":158096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d62238012d18650007218238004e00691e..."} 
[2026-08-19 17:15:46] local.INFO: Packet analysis {"connection_id":158096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d6"} 
[2026-08-19 17:15:46] local.INFO: Extracted packet for processing {"connection_id":158096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d6"} 
[2026-08-19 17:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756573440,"raw_latitude":119636536,"longitude_deg":75.657344,"latitude_deg":11.9636536,"altitude":78,"angle":105,"satellites":30,"speed":37,"hex_longitude":"2d186500","hex_latitude":"07218238","is_valid_coordinates":true} 
[2026-08-19 17:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507803136001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13909792753975296,"note":"Value kept but may cause issues"} 
[2026-08-19 17:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754785404185651200,"note":"Value kept but may cause issues"} 
[2026-08-19 17:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787139859000,"timestamp_ms":1787139859000,"timestamp_seconds":1787139859,"priority":1,"record_length":96,"hex_timestamp":"000001a019d62238"} 
[2026-08-19 17:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:15: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-08-19 17:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 17:15:46] 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-08-19 17:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:15:46] 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-08-19 17:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507803136001,"66":14298,"105":206,"83":41984,"24":37,"16":13909792753975296,"45":1754785404185651200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507803136001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:15:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:15:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13909792753975296,"km_value":13909792753975.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754785404185651200,"description":"Unknown IO ID 45"} 
[2026-08-19 17:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507803136001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1754785404185651200}} 
[2026-08-19 17:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":158096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:15:46] local.INFO: GPS data processed {"connection_id":158096,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:15:46] local.INFO: Acknowledgment sent {"connection_id":158096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:15:58] local.INFO: TCP Data received {"connection_id":157747,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:15:58] local.INFO: Processing buffer {"connection_id":157747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:15:58] local.INFO: IMEI packet received {"connection_id":157747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":157747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:16:01] local.INFO: TCP Data received {"connection_id":157747,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:16:01] local.INFO: Processing buffer {"connection_id":157747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:16:01] local.INFO: IMEI packet received {"connection_id":157747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":157747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:16:04] local.INFO: TCP Data received {"connection_id":157747,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:16:04] local.INFO: Processing buffer {"connection_id":157747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:16:04] local.INFO: IMEI packet received {"connection_id":157747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":157747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:16:06] local.INFO: TCP Data received {"connection_id":157747,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d5e3b8012ceb5dc00713b970000f009c2c..."} 
[2026-08-19 17:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d5e3b8012ceb5dc00713b970000f009c2c..."} 
[2026-08-19 17:16:06] local.INFO: Processing buffer {"connection_id":157747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d5e3b8012ceb5dc00713b970000f009c2c..."} 
[2026-08-19 17:16:06] local.INFO: Packet analysis {"connection_id":157747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d5"} 
[2026-08-19 17:16:06] local.INFO: Extracted packet for processing {"connection_id":157747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d5"} 
[2026-08-19 17:16:06] local.INFO: GPS Element Parsed {"raw_longitude":753622464,"raw_latitude":118733168,"longitude_deg":75.3622464,"latitude_deg":11.8733168,"altitude":15,"angle":156,"satellites":44,"speed":9,"hex_longitude":"2ceb5dc0","hex_latitude":"0713b970","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507799552001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020867311665152,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486961902822471680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787139843000,"timestamp_ms":1787139843000,"timestamp_seconds":1787139843,"priority":1,"record_length":96,"hex_timestamp":"000001a019d5e3b8"} 
[2026-08-19 17:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:16: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-08-19 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 17:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507799552001,"66":27832,"12":206,"2":54272,"24":9,"16":386020867311665152,"44":-1486961902822471680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507799552001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:16:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020867311665152,"km_value":386020867311665.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:16:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486961902822471680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507799552001,"power":27832,"unknown_12":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-1486961902822471680}} 
[2026-08-19 17:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":157747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:16:06] local.INFO: GPS data processed {"connection_id":157747,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:16:06] local.INFO: Acknowledgment sent {"connection_id":157747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:16:08] local.INFO: TCP Data received {"connection_id":158968,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:16:08] local.INFO: Processing buffer {"connection_id":158968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:16:08] local.INFO: IMEI packet received {"connection_id":158968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":158968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:16:08] local.INFO: TCP Data received {"connection_id":158968,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:16:08] local.INFO: Processing buffer {"connection_id":158968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:16:08] local.INFO: IMEI packet received {"connection_id":158968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":158968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:16:10] local.INFO: TCP Data received {"connection_id":158968,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:16:10] local.INFO: Processing buffer {"connection_id":158968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:16:10] local.INFO: IMEI packet received {"connection_id":158968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":158968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:16:13] local.INFO: TCP Data received {"connection_id":158968,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:16:13] local.INFO: Processing buffer {"connection_id":158968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:16:13] local.INFO: IMEI packet received {"connection_id":158968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":158968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:16:14] local.INFO: TCP Data received {"connection_id":158968,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d62df0012d186ec007218118004e005b1e..."} 
[2026-08-19 17:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d62df0012d186ec007218118004e005b1e..."} 
[2026-08-19 17:16:14] local.INFO: Processing buffer {"connection_id":158968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d62df0012d186ec007218118004e005b1e..."} 
[2026-08-19 17:16:14] local.INFO: Packet analysis {"connection_id":158968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d6"} 
[2026-08-19 17:16:14] local.INFO: Extracted packet for processing {"connection_id":158968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d6"} 
[2026-08-19 17:16:14] local.INFO: GPS Element Parsed {"raw_longitude":756575936,"raw_latitude":119636248,"longitude_deg":75.6575936,"latitude_deg":11.9636248,"altitude":78,"angle":91,"satellites":30,"speed":28,"hex_longitude":"2d186ec0","hex_latitude":"07218118","is_valid_coordinates":true} 
[2026-08-19 17:16: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-08-19 17:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507803904001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13909913013059584,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757811260184999936,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16: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-08-19 17:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787139862000,"timestamp_ms":1787139862000,"timestamp_seconds":1787139862,"priority":1,"record_length":96,"hex_timestamp":"000001a019d62df0"} 
[2026-08-19 17:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:16: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-08-19 17:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-19 17:16:14] 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-08-19 17:16: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-08-19 17:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:16:14] 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-08-19 17:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507803904001,"66":14363,"105":206,"83":41984,"24":28,"16":13909913013059584,"45":1757811260184999936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507803904001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:16:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:16:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13909913013059584,"km_value":13909913013059.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757811260184999936,"description":"Unknown IO ID 45"} 
[2026-08-19 17:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507803904001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1757811260184999936}} 
[2026-08-19 17:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":158968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:16:14] local.INFO: GPS data processed {"connection_id":158968,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:16:14] local.INFO: Acknowledgment sent {"connection_id":158968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:16:37] local.INFO: TCP Data received {"connection_id":157747,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d635c0012ceb5f800713b530000f00a12b..."} 
[2026-08-19 17:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d635c0012ceb5f800713b530000f00a12b..."} 
[2026-08-19 17:16:37] local.INFO: Processing buffer {"connection_id":157747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d635c0012ceb5f800713b530000f00a12b..."} 
[2026-08-19 17:16:37] local.INFO: Packet analysis {"connection_id":157747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d6"} 
[2026-08-19 17:16:37] local.INFO: Extracted packet for processing {"connection_id":157747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d6"} 
[2026-08-19 17:16:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732080,"longitude_deg":75.3622912,"latitude_deg":11.873208,"altitude":15,"angle":161,"satellites":43,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b530","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507799808001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020923146240000,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486821165334171648,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787139864000,"timestamp_ms":1787139864000,"timestamp_seconds":1787139864,"priority":1,"record_length":96,"hex_timestamp":"000001a019d635c0"} 
[2026-08-19 17:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:16: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-08-19 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 17:16:37] 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-08-19 17: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-08-19 17:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507799808001,"66":27995,"12":206,"2":54272,"24":0,"16":386020923146240000,"44":-1486821165334171648},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507799808001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:16:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020923146240000,"km_value":386020923146240,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:16:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486821165334171648,"description":"Unknown IO ID 44"} 
[2026-08-19 17:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507799808001,"power":27995,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486821165334171648}} 
[2026-08-19 17:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":157747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:16:37] local.INFO: GPS data processed {"connection_id":157747,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:16:37] local.INFO: Acknowledgment sent {"connection_id":157747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:16:45] local.INFO: TCP Data received {"connection_id":158968,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d78d80012d18e6400720ef28003d009021..."} 
[2026-08-19 17:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d78d80012d18e6400720ef28003d009021..."} 
[2026-08-19 17:16:45] local.INFO: Processing buffer {"connection_id":158968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d78d80012d18e6400720ef28003d009021..."} 
[2026-08-19 17:16:45] local.INFO: Packet analysis {"connection_id":158968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:16:45] local.INFO: Extracted packet for processing {"connection_id":158968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:16:45] local.INFO: GPS Element Parsed {"raw_longitude":756606528,"raw_latitude":119598888,"longitude_deg":75.6606528,"latitude_deg":11.9598888,"altitude":61,"angle":144,"satellites":33,"speed":40,"hex_longitude":"2d18e640","hex_latitude":"0720ef28","is_valid_coordinates":true} 
[2026-08-19 17:16: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-08-19 17:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507826944001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13912541533044736,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792010469846284288,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787139952000,"timestamp_ms":1787139952000,"timestamp_seconds":1787139952,"priority":1,"record_length":96,"hex_timestamp":"000001a019d78d80"} 
[2026-08-19 17:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:16: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-08-19 17:16: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":3,"data_length":795,"current_offset":136} 
[2026-08-19 17:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303151520468344,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16:45] local.WARNING: Large IO value detected {"io_id":103,"raw_value":58075809043709993,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16:45] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16:45] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3612278785,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-19 17:16:45] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3221692725,"corrected_to":0} 
[2026-08-19 17:16:45] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:16:45] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,109,160,121,45,253,62,31,10,66,110,192,9,63,30,86,64,1,240,158,227,108,25,33,4,113,205,37,202,168,29,239,47,2,49,7,69,41],"length":486,"final_offset":616,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":202,"original":3221692725,"validated":0}]} 
[2026-08-19 17:16:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467716103327973376,"timestamp_seconds":4467716103327973.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 17:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:16:45] 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-08-19 17:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507826944001,"66":13972,"103":206,"83":41984,"24":40,"16":13912541533044736,"45":1792010469846284288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507826944001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:16:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:16:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13912541533044736,"km_value":13912541533044.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792010469846284288,"description":"Unknown IO ID 45"} 
[2026-08-19 17:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507826944001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1792010469846284288}} 
[2026-08-19 17:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":158968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:16:45] local.INFO: GPS data processed {"connection_id":158968,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:16:45] local.INFO: Acknowledgment sent {"connection_id":158968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:16:58] local.INFO: TCP Data received {"connection_id":160284,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:16:58] local.INFO: Processing buffer {"connection_id":160284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:16:58] local.INFO: IMEI packet received {"connection_id":160284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":160284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:17:03] local.INFO: TCP Data received {"connection_id":160284,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:17:03] local.INFO: Processing buffer {"connection_id":160284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:17:03] local.INFO: IMEI packet received {"connection_id":160284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":160284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:17:05] local.INFO: TCP Data received {"connection_id":160284,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d687c8012ceb5f800713b530000f00a12a..."} 
[2026-08-19 17:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d687c8012ceb5f800713b530000f00a12a..."} 
[2026-08-19 17:17:05] local.INFO: Processing buffer {"connection_id":160284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d687c8012ceb5f800713b530000f00a12a..."} 
[2026-08-19 17:17:05] local.INFO: Packet analysis {"connection_id":160284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d6"} 
[2026-08-19 17:17:05] local.INFO: Extracted packet for processing {"connection_id":160284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d6"} 
[2026-08-19 17:17:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732080,"longitude_deg":75.3622912,"latitude_deg":11.873208,"altitude":15,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b530","is_valid_coordinates":true} 
[2026-08-19 17:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507805184001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020923146240000,"note":"Value kept but may cause issues"} 
[2026-08-19 17:17:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584125206528,"note":"Value kept but may cause issues"} 
[2026-08-19 17:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787139885000,"timestamp_ms":1787139885000,"timestamp_seconds":1787139885,"priority":1,"record_length":96,"hex_timestamp":"000001a019d687c8"} 
[2026-08-19 17:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 17:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507805184001,"66":27800,"12":206,"2":54272,"24":0,"16":386020923146240000,"44":-1486328584125206528},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507805184001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:17:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020923146240000,"km_value":386020923146240,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:17:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584125206528,"description":"Unknown IO ID 44"} 
[2026-08-19 17:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507805184001,"power":27800,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584125206528}} 
[2026-08-19 17:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":160284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:17:05] local.INFO: GPS data processed {"connection_id":160284,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:17:05] local.INFO: Acknowledgment sent {"connection_id":160284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:17:06] local.INFO: TCP Data received {"connection_id":157748,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:17:06] local.INFO: Processing buffer {"connection_id":157748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:17:06] local.INFO: IMEI packet received {"connection_id":157748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":157748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:17:08] local.INFO: TCP Data received {"connection_id":160285,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:17:08] local.INFO: Processing buffer {"connection_id":160285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:17:08] local.INFO: IMEI packet received {"connection_id":160285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":160285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:17:11] local.INFO: TCP Data received {"connection_id":157748,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157748,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:17:11] local.INFO: Processing buffer {"connection_id":157748,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:17:11] local.INFO: IMEI packet received {"connection_id":157748,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":157748,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:17:12] local.INFO: TCP Data received {"connection_id":157748,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-19 17:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157748,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-19 17:17:12] local.INFO: Processing buffer {"connection_id":157748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-19 17:17:12] local.INFO: Packet analysis {"connection_id":157748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-19 17:17:12] local.INFO: Extracted packet for processing {"connection_id":157748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-19 17:17:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 17:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120785127587446784,"note":"Value kept but may cause issues"} 
[2026-08-19 17:17:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 17:17:12] 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-08-19 17:17:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-19 17:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157748,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157748,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-19 17:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157748,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-19 17:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-19 17:17:12] local.WARNING: DEBUG: No valid data to process  
[2026-08-19 17:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":157748,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-19 17:17:12] local.ERROR: GPS data processing failed {"connection_id":157748,"error":"No valid data to process"} 
[2026-08-19 17:17:12] local.INFO: Acknowledgment sent {"connection_id":157748,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-19 17:17:13] local.INFO: TCP Data received {"connection_id":160285,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:17:13] local.INFO: Processing buffer {"connection_id":160285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:17:13] local.INFO: IMEI packet received {"connection_id":160285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":160285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:17:14] local.INFO: TCP Data received {"connection_id":160285,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d7acc0012d18f9800720d480003a008220..."} 
[2026-08-19 17:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d7acc0012d18f9800720d480003a008220..."} 
[2026-08-19 17:17:14] local.INFO: Processing buffer {"connection_id":160285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d7acc0012d18f9800720d480003a008220..."} 
[2026-08-19 17:17:14] local.INFO: Packet analysis {"connection_id":160285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:17:14] local.INFO: Extracted packet for processing {"connection_id":160285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756611456,"raw_latitude":119592064,"longitude_deg":75.6611456,"latitude_deg":11.9592064,"altitude":58,"angle":130,"satellites":32,"speed":41,"hex_longitude":"2d18f980","hex_latitude":"0720d480","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507827712001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13912949554937856,"note":"Value kept but may cause issues"} 
[2026-08-19 17:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794191900915214336,"note":"Value kept but may cause issues"} 
[2026-08-19 17:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787139960000,"timestamp_ms":1787139960000,"timestamp_seconds":1787139960,"priority":1,"record_length":96,"hex_timestamp":"000001a019d7acc0"} 
[2026-08-19 17:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:17: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-08-19 17: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-19 17:17:14] 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-08-19 17: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-08-19 17:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:17:14] 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-08-19 17:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507827712001,"66":14080,"103":206,"83":41984,"24":41,"16":13912949554937856,"45":1794191900915214336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507827712001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:17:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:17:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13912949554937856,"km_value":13912949554937.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794191900915214336,"description":"Unknown IO ID 45"} 
[2026-08-19 17:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507827712001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1794191900915214336}} 
[2026-08-19 17:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":160285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:17:14] local.INFO: GPS data processed {"connection_id":160285,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:17:14] local.INFO: Acknowledgment sent {"connection_id":160285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:17:36] local.INFO: TCP Data received {"connection_id":160284,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d6d9d0012ceb5e000713b7e0001400a12a..."} 
[2026-08-19 17:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d6d9d0012ceb5e000713b7e0001400a12a..."} 
[2026-08-19 17:17:36] local.INFO: Processing buffer {"connection_id":160284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d6d9d0012ceb5e000713b7e0001400a12a..."} 
[2026-08-19 17:17:36] local.INFO: Packet analysis {"connection_id":160284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d6"} 
[2026-08-19 17:17:36] local.INFO: Extracted packet for processing {"connection_id":160284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d6"} 
[2026-08-19 17:17:36] local.INFO: GPS Element Parsed {"raw_longitude":753622528,"raw_latitude":118732768,"longitude_deg":75.3622528,"latitude_deg":11.8732768,"altitude":20,"angle":161,"satellites":42,"speed":1,"hex_longitude":"2ceb5e00","hex_latitude":"0713b7e0","is_valid_coordinates":true} 
[2026-08-19 17:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507810560001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020970390880256,"note":"Value kept but may cause issues"} 
[2026-08-19 17:17:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584125206528,"note":"Value kept but may cause issues"} 
[2026-08-19 17:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787139906000,"timestamp_ms":1787139906000,"timestamp_seconds":1787139906,"priority":1,"record_length":96,"hex_timestamp":"000001a019d6d9d0"} 
[2026-08-19 17:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 17:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507810560001,"66":27919,"12":206,"2":54272,"24":1,"16":386020970390880256,"44":-1486328584125206528},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507810560001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:17:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020970390880256,"km_value":386020970390880.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:17:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584125206528,"description":"Unknown IO ID 44"} 
[2026-08-19 17:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507810560001,"power":27919,"unknown_12":206,"power_alt":54272,"ignition":1,"odometer":null,"unknown_44":-1486328584125206528}} 
[2026-08-19 17:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":160284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:17:36] local.INFO: GPS data processed {"connection_id":160284,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:17:36] local.INFO: Acknowledgment sent {"connection_id":160284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:17:43] local.INFO: TCP Data received {"connection_id":157748,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-19 17:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157748,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-19 17:17:43] local.INFO: Processing buffer {"connection_id":157748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-19 17:17:43] local.INFO: Packet analysis {"connection_id":157748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-19 17:17:43] local.INFO: Extracted packet for processing {"connection_id":157748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-19 17:17:43] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120785127587446784,"note":"Value kept but may cause issues"} 
[2026-08-19 17:17:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 17:17:43] 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-08-19 17:17:43] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-19 17:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157748,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157748,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-19 17:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157748,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-19 17:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-19 17:17:43] local.WARNING: DEBUG: No valid data to process  
[2026-08-19 17:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":157748,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-19 17:17:43] local.ERROR: GPS data processing failed {"connection_id":157748,"error":"No valid data to process"} 
[2026-08-19 17:17:43] local.INFO: Acknowledgment sent {"connection_id":157748,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-19 17:17:45] local.INFO: TCP Data received {"connection_id":160285,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d89b08012d19b98007209d38003400cf1c..."} 
[2026-08-19 17:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d89b08012d19b98007209d38003400cf1c..."} 
[2026-08-19 17:17:45] local.INFO: Processing buffer {"connection_id":160285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d89b08012d19b98007209d38003400cf1c..."} 
[2026-08-19 17:17:45] local.INFO: Packet analysis {"connection_id":160285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d8"} 
[2026-08-19 17:17:45] local.INFO: Extracted packet for processing {"connection_id":160285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d8"} 
[2026-08-19 17:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756660608,"raw_latitude":119577912,"longitude_deg":75.6660608,"latitude_deg":11.9577912,"altitude":52,"angle":207,"satellites":28,"speed":28,"hex_longitude":"2d19b980","hex_latitude":"07209d38","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507845120001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13915633909497856,"note":"Value kept but may cause issues"} 
[2026-08-19 17:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177181908992,"note":"Value kept but may cause issues"} 
[2026-08-19 17:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787140021000,"timestamp_ms":1787140021000,"timestamp_seconds":1787140021,"priority":1,"record_length":96,"hex_timestamp":"000001a019d89b08"} 
[2026-08-19 17:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:17: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-08-19 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 17:17:45] 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-08-19 17: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-08-19 17:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:17:45] 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-08-19 17:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507845120001,"66":14004,"103":206,"83":41984,"24":28,"16":13915633909497856,"45":1854357177181908992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507845120001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:17:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:17:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13915633909497856,"km_value":13915633909497.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177181908992,"description":"Unknown IO ID 45"} 
[2026-08-19 17:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507845120001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1854357177181908992}} 
[2026-08-19 17:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":160285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:17:45] local.INFO: GPS data processed {"connection_id":160285,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:17:45] local.INFO: Acknowledgment sent {"connection_id":160285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:18:04] local.INFO: TCP Data received {"connection_id":158097,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:18:04] local.INFO: Processing buffer {"connection_id":158097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:18:04] local.INFO: IMEI packet received {"connection_id":158097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":158097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:18:09] local.INFO: TCP Data received {"connection_id":158097,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:18:09] local.INFO: Processing buffer {"connection_id":158097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:18:09] local.INFO: IMEI packet received {"connection_id":158097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":158097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:18:10] local.INFO: TCP Data received {"connection_id":158097,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:18:10] local.INFO: Processing buffer {"connection_id":158097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:18:10] local.INFO: Packet analysis {"connection_id":158097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:18:10] local.INFO: Extracted packet for processing {"connection_id":158097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:18:10] local.INFO: GPS Element Parsed {"raw_longitude":753622528,"raw_latitude":118732832,"longitude_deg":75.3622528,"latitude_deg":11.8732832,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5e00","hex_latitude":"0713b820","is_valid_coordinates":true} 
[2026-08-19 17:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507815936001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590096384,"note":"Value kept but may cause issues"} 
[2026-08-19 17:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787139922000,"timestamp_ms":1787139922000,"timestamp_seconds":1787139922,"priority":1,"record_length":96,"hex_timestamp":"000001a019d71850"} 
[2026-08-19 17:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:18: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-08-19 17:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 17:18:10] 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-08-19 17:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507815936001,"66":27908,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486750796590096384},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507815936001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:18:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590096384,"description":"Unknown IO ID 44"} 
[2026-08-19 17:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507815936001,"power":27908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486750796590096384}} 
[2026-08-19 17:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":158097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:18:10] local.INFO: GPS data processed {"connection_id":158097,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:18:10] local.INFO: Acknowledgment sent {"connection_id":158097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:18:12] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:18:12] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:18:12] local.INFO: IMEI packet received {"connection_id":160286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":160286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:18:13] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:18:13] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:18:13] local.INFO: IMEI packet received {"connection_id":160286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":160286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:18:13] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:18:13] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:18:13] local.INFO: IMEI packet received {"connection_id":160286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":160286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:18:14] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:18:14] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:18:14] local.INFO: IMEI packet received {"connection_id":160286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":160286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:18:15] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d89ef0012d19b64007209a98003300da1d..."} 
[2026-08-19 17:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d89ef0012d19b64007209a98003300da1d..."} 
[2026-08-19 17:18:15] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d89ef0012d19b64007209a98003300da1d..."} 
[2026-08-19 17:18:15] local.INFO: Packet analysis {"connection_id":160286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d8"} 
[2026-08-19 17:18:15] local.INFO: Extracted packet for processing {"connection_id":160286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d8"} 
[2026-08-19 17:18:15] local.INFO: GPS Element Parsed {"raw_longitude":756659776,"raw_latitude":119577240,"longitude_deg":75.6659776,"latitude_deg":11.957724,"altitude":51,"angle":218,"satellites":29,"speed":33,"hex_longitude":"2d19b640","hex_latitude":"07209a98","is_valid_coordinates":true} 
[2026-08-19 17:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507845376001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13915685449105408,"note":"Value kept but may cause issues"} 
[2026-08-19 17:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489739970560,"note":"Value kept but may cause issues"} 
[2026-08-19 17:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787140022000,"timestamp_ms":1787140022000,"timestamp_seconds":1787140022,"priority":1,"record_length":96,"hex_timestamp":"000001a019d89ef0"} 
[2026-08-19 17:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 17:18:15] 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-08-19 17:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:18:15] 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-08-19 17:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507845376001,"66":14004,"103":206,"83":41984,"24":33,"16":13915685449105408,"45":1853653489739970560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507845376001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:18:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:18:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13915685449105408,"km_value":13915685449105.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489739970560,"description":"Unknown IO ID 45"} 
[2026-08-19 17:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507845376001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1853653489739970560}} 
[2026-08-19 17:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":160286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:18:15] local.INFO: GPS data processed {"connection_id":160286,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:18:15] local.INFO: Acknowledgment sent {"connection_id":160286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:18:16] local.INFO: TCP Data received {"connection_id":158097,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:18:16] local.INFO: Processing buffer {"connection_id":158097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:18:16] local.INFO: Packet analysis {"connection_id":158097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:18:16] local.INFO: Extracted packet for processing {"connection_id":158097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:18:16] local.INFO: GPS Element Parsed {"raw_longitude":753622528,"raw_latitude":118732832,"longitude_deg":75.3622528,"latitude_deg":11.8732832,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5e00","hex_latitude":"0713b820","is_valid_coordinates":true} 
[2026-08-19 17:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507815936001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:18:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590096384,"note":"Value kept but may cause issues"} 
[2026-08-19 17:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787139922000,"timestamp_ms":1787139922000,"timestamp_seconds":1787139922,"priority":1,"record_length":96,"hex_timestamp":"000001a019d71850"} 
[2026-08-19 17:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 17:18:16] 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-08-19 17: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-08-19 17:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507815936001,"66":27908,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486750796590096384},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507815936001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:18:16] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:18:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590096384,"description":"Unknown IO ID 44"} 
[2026-08-19 17:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507815936001,"power":27908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486750796590096384}} 
[2026-08-19 17:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":158097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:18:16] local.INFO: GPS data processed {"connection_id":158097,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:18:16] local.INFO: Acknowledgment sent {"connection_id":158097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:18:17] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d8aaa8012d19af8007209228003200ca1d..."} 
[2026-08-19 17:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d8aaa8012d19af8007209228003200ca1d..."} 
[2026-08-19 17:18:17] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d8aaa8012d19af8007209228003200ca1d..."} 
[2026-08-19 17:18:17] local.INFO: Packet analysis {"connection_id":160286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d8"} 
[2026-08-19 17:18:17] local.INFO: Extracted packet for processing {"connection_id":160286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d8"} 
[2026-08-19 17:18:17] local.INFO: GPS Element Parsed {"raw_longitude":756658048,"raw_latitude":119575080,"longitude_deg":75.6658048,"latitude_deg":11.957508,"altitude":50,"angle":202,"satellites":29,"speed":33,"hex_longitude":"2d19af80","hex_latitude":"07209228","is_valid_coordinates":true} 
[2026-08-19 17:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507845632001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13915818593091584,"note":"Value kept but may cause issues"} 
[2026-08-19 17:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852738696065488896,"note":"Value kept but may cause issues"} 
[2026-08-19 17:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787140025000,"timestamp_ms":1787140025000,"timestamp_seconds":1787140025,"priority":1,"record_length":96,"hex_timestamp":"000001a019d8aaa8"} 
[2026-08-19 17:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:18:17] 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-08-19 17:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 17:18:17] 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-08-19 17:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:18:17] 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-08-19 17:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507845632001,"66":14265,"103":206,"83":41984,"24":33,"16":13915818593091584,"45":1852738696065488896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507845632001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:18:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:18:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13915818593091584,"km_value":13915818593091.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852738696065488896,"description":"Unknown IO ID 45"} 
[2026-08-19 17:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507845632001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1852738696065488896}} 
[2026-08-19 17:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":160286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:18:18] local.INFO: GPS data processed {"connection_id":160286,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:18:18] local.INFO: Acknowledgment sent {"connection_id":160286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:18:24] local.INFO: TCP Data received {"connection_id":157748,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a019d923c0012d7a3b0005e458a00079005109..."} 
[2026-08-19 17:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d923c0012d7a3b0005e458a00079005109..."} 
[2026-08-19 17:18:24] local.INFO: Processing buffer {"connection_id":157748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d923c0012d7a3b0005e458a00079005109..."} 
[2026-08-19 17:18:24] local.INFO: Packet analysis {"connection_id":157748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d9"} 
[2026-08-19 17:18:24] local.INFO: Extracted packet for processing {"connection_id":157748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d9"} 
[2026-08-19 17:18:24] local.INFO: GPS Element Parsed {"raw_longitude":762985216,"raw_latitude":98850976,"longitude_deg":76.2985216,"latitude_deg":9.8850976,"altitude":121,"angle":81,"satellites":9,"speed":11,"hex_longitude":"2d7a3b00","hex_latitude":"05e458a0","is_valid_coordinates":true} 
[2026-08-19 17:18:24] 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-08-19 17:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120785127587446784,"note":"Value kept but may cause issues"} 
[2026-08-19 17:18:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 17:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787140056000,"timestamp_ms":1787140056000,"timestamp_seconds":1787140056,"priority":1,"record_length":96,"hex_timestamp":"000001a019d923c0"} 
[2026-08-19 17:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:18:24] 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-08-19 17: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":45,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 17:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":963,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":157748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":157748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":157748,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:18:24] 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-08-19 17:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12863,"102":206,"87":12288,"24":11,"16":120785127587446784},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16]} 
[2026-08-19 17:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-19 17:18:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 17:18:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-19 17:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120785127587446784,"km_value":120785127587446.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:18:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12863,"unknown_102":206,"unknown_87":12288,"ignition":11,"odometer":null}} 
[2026-08-19 17:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":157748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:18:24] local.INFO: GPS data processed {"connection_id":157748,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:18:24] local.INFO: Acknowledgment sent {"connection_id":157748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:18:49] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d97d98012d19c6c0071ff090002e00fa20..."} 
[2026-08-19 17:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d97d98012d19c6c0071ff090002e00fa20..."} 
[2026-08-19 17:18:49] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d97d98012d19c6c0071ff090002e00fa20..."} 
[2026-08-19 17:18:49] local.INFO: Packet analysis {"connection_id":160286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d9"} 
[2026-08-19 17:18:49] local.INFO: Extracted packet for processing {"connection_id":160286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d9"} 
[2026-08-19 17:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756664000,"raw_latitude":119533712,"longitude_deg":75.6664,"latitude_deg":11.9533712,"altitude":46,"angle":250,"satellites":32,"speed":21,"hex_longitude":"2d19c6c0","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507859968001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13918137875431424,"note":"Value kept but may cause issues"} 
[2026-08-19 17:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857875614379370496,"note":"Value kept but may cause issues"} 
[2026-08-19 17:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787140079000,"timestamp_ms":1787140079000,"timestamp_seconds":1787140079,"priority":1,"record_length":96,"hex_timestamp":"000001a019d97d98"} 
[2026-08-19 17:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:18: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-08-19 17:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 17:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:18:49] 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-08-19 17:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507859968001,"66":13993,"101":206,"83":41984,"24":21,"16":13918137875431424,"45":1857875614379370496},"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-08-19 17:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507859968001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:18:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 17:18:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13918137875431424,"km_value":13918137875431.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857875614379370496,"description":"Unknown IO ID 45"} 
[2026-08-19 17:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507859968001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1857875614379370496}} 
[2026-08-19 17:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":160286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:18:49] local.INFO: GPS data processed {"connection_id":160286,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:18:49] local.INFO: Acknowledgment sent {"connection_id":160286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:18:59] local.INFO: TCP Data received {"connection_id":157749,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:18:59] local.INFO: Processing buffer {"connection_id":157749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:18:59] local.INFO: IMEI packet received {"connection_id":157749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":157749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:19:03] local.INFO: TCP Data received {"connection_id":157749,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:19:03] local.INFO: Processing buffer {"connection_id":157749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:19:03] local.INFO: IMEI packet received {"connection_id":157749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":157749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:19:05] local.INFO: TCP Data received {"connection_id":157749,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:19:05] local.INFO: Processing buffer {"connection_id":157749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:19:05] local.INFO: Packet analysis {"connection_id":157749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:19:05] local.INFO: Extracted packet for processing {"connection_id":157749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:19:05] local.INFO: GPS Element Parsed {"raw_longitude":753622528,"raw_latitude":118732832,"longitude_deg":75.3622528,"latitude_deg":11.8732832,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5e00","hex_latitude":"0713b820","is_valid_coordinates":true} 
[2026-08-19 17:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507815936001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:19:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590096384,"note":"Value kept but may cause issues"} 
[2026-08-19 17:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787139922000,"timestamp_ms":1787139922000,"timestamp_seconds":1787139922,"priority":1,"record_length":96,"hex_timestamp":"000001a019d71850"} 
[2026-08-19 17:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 17:19:05] 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-08-19 17: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-08-19 17:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507815936001,"66":27908,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486750796590096384},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507815936001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:19:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:19:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590096384,"description":"Unknown IO ID 44"} 
[2026-08-19 17:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507815936001,"power":27908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486750796590096384}} 
[2026-08-19 17:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":157749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:19:05] local.INFO: GPS data processed {"connection_id":157749,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:19:05] local.INFO: Acknowledgment sent {"connection_id":157749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:19:05] local.INFO: TCP Data received {"connection_id":158969,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:19:05] local.INFO: Processing buffer {"connection_id":158969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:19:05] local.INFO: IMEI packet received {"connection_id":158969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":158969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:19:08] local.INFO: TCP Data received {"connection_id":158969,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:19:08] local.INFO: Processing buffer {"connection_id":158969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:19:08] local.INFO: IMEI packet received {"connection_id":158969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":158969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:19:10] local.INFO: TCP Data received {"connection_id":157749,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:19:10] local.INFO: Processing buffer {"connection_id":157749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:19:10] local.INFO: Packet analysis {"connection_id":157749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:19:10] local.INFO: Extracted packet for processing {"connection_id":157749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:19:10] local.INFO: GPS Element Parsed {"raw_longitude":753622528,"raw_latitude":118732832,"longitude_deg":75.3622528,"latitude_deg":11.8732832,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5e00","hex_latitude":"0713b820","is_valid_coordinates":true} 
[2026-08-19 17:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507815936001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:19:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590096384,"note":"Value kept but may cause issues"} 
[2026-08-19 17:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787139922000,"timestamp_ms":1787139922000,"timestamp_seconds":1787139922,"priority":1,"record_length":96,"hex_timestamp":"000001a019d71850"} 
[2026-08-19 17:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:19: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-08-19 17:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 17:19:10] 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-08-19 17:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507815936001,"66":27908,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486750796590096384},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507815936001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:19:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:19:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590096384,"description":"Unknown IO ID 44"} 
[2026-08-19 17:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507815936001,"power":27908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486750796590096384}} 
[2026-08-19 17:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":157749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:19:10] local.INFO: GPS data processed {"connection_id":157749,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:19:10] local.INFO: Acknowledgment sent {"connection_id":157749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:19:10] local.INFO: TCP Data received {"connection_id":158969,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:19:10] local.INFO: Processing buffer {"connection_id":158969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:19:10] local.INFO: IMEI packet received {"connection_id":158969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":158969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:19:11] local.INFO: TCP Data received {"connection_id":158969,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d98568012d19c1c0071fefd8002d01071e..."} 
[2026-08-19 17:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d98568012d19c1c0071fefd8002d01071e..."} 
[2026-08-19 17:19:11] local.INFO: Processing buffer {"connection_id":158969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d98568012d19c1c0071fefd8002d01071e..."} 
[2026-08-19 17:19:11] local.INFO: Packet analysis {"connection_id":158969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d9"} 
[2026-08-19 17:19:11] local.INFO: Extracted packet for processing {"connection_id":158969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d9"} 
[2026-08-19 17:19:11] local.INFO: GPS Element Parsed {"raw_longitude":756662720,"raw_latitude":119533528,"longitude_deg":75.666272,"latitude_deg":11.9533528,"altitude":45,"angle":263,"satellites":30,"speed":26,"hex_longitude":"2d19c1c0","hex_latitude":"071fefd8","is_valid_coordinates":true} 
[2026-08-19 17:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507860224001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13918198004973568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857383033170071552,"note":"Value kept but may cause issues"} 
[2026-08-19 17:19: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-08-19 17:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787140081000,"timestamp_ms":1787140081000,"timestamp_seconds":1787140081,"priority":1,"record_length":96,"hex_timestamp":"000001a019d98568"} 
[2026-08-19 17:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:19: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-08-19 17:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 17:19: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-08-19 17:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:19: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-08-19 17:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507860224001,"66":13341,"101":206,"83":41984,"24":26,"16":13918198004973568,"45":1857383033170071552},"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-08-19 17:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507860224001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:19:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 17:19:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13918198004973568,"km_value":13918198004973.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857383033170071552,"description":"Unknown IO ID 45"} 
[2026-08-19 17:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507860224001,"power":13341,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1857383033170071552}} 
[2026-08-19 17:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":158969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:19:11] local.INFO: GPS data processed {"connection_id":158969,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:19:11] local.INFO: Acknowledgment sent {"connection_id":158969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:19:41] local.INFO: TCP Data received {"connection_id":157749,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:19:41] local.INFO: Processing buffer {"connection_id":157749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:19:41] local.INFO: Packet analysis {"connection_id":157749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:19:41] local.INFO: Extracted packet for processing {"connection_id":157749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:19:41] local.INFO: GPS Element Parsed {"raw_longitude":753622528,"raw_latitude":118732832,"longitude_deg":75.3622528,"latitude_deg":11.8732832,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5e00","hex_latitude":"0713b820","is_valid_coordinates":true} 
[2026-08-19 17:19:41] 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-08-19 17:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507815936001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:19:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590096384,"note":"Value kept but may cause issues"} 
[2026-08-19 17:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787139922000,"timestamp_ms":1787139922000,"timestamp_seconds":1787139922,"priority":1,"record_length":96,"hex_timestamp":"000001a019d71850"} 
[2026-08-19 17:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:19: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-08-19 17:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 17:19:41] 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-08-19 17:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507815936001,"66":27908,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486750796590096384},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507815936001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:19:41] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:19:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590096384,"description":"Unknown IO ID 44"} 
[2026-08-19 17:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507815936001,"power":27908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486750796590096384}} 
[2026-08-19 17:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":157749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:19:41] local.INFO: GPS data processed {"connection_id":157749,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:19:41] local.INFO: Acknowledgment sent {"connection_id":157749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:19:42] local.INFO: TCP Data received {"connection_id":158969,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019d9a0c0012d19ae80071fef28002f01181e..."} 
[2026-08-19 17:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d9a0c0012d19ae80071fef28002f01181e..."} 
[2026-08-19 17:19:42] local.INFO: Processing buffer {"connection_id":158969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d9a0c0012d19ae80071fef28002f01181e..."} 
[2026-08-19 17:19:42] local.INFO: Packet analysis {"connection_id":158969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d9"} 
[2026-08-19 17:19:42] local.INFO: Extracted packet for processing {"connection_id":158969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d9"} 
[2026-08-19 17:19:42] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119533352,"longitude_deg":75.6657792,"latitude_deg":11.9533352,"altitude":47,"angle":280,"satellites":30,"speed":28,"hex_longitude":"2d19ae80","hex_latitude":"071fef28","is_valid_coordinates":true} 
[2026-08-19 17:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507860736001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13918434228174848,"note":"Value kept but may cause issues"} 
[2026-08-19 17:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855975658286471168,"note":"Value kept but may cause issues"} 
[2026-08-19 17:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787140088000,"timestamp_ms":1787140088000,"timestamp_seconds":1787140088,"priority":1,"record_length":96,"hex_timestamp":"000001a019d9a0c0"} 
[2026-08-19 17:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:19: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-08-19 17:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 17:19:42] 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-08-19 17:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:19:42] 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-08-19 17:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507860736001,"66":14048,"101":206,"83":41984,"24":28,"16":13918434228174848,"45":1855975658286471168},"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-08-19 17:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507860736001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:19:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 17:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13918434228174848,"km_value":13918434228174.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855975658286471168,"description":"Unknown IO ID 45"} 
[2026-08-19 17:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507860736001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1855975658286471168}} 
[2026-08-19 17:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":158969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:19:42] local.INFO: GPS data processed {"connection_id":158969,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:19:42] local.INFO: Acknowledgment sent {"connection_id":158969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:20:00] local.INFO: TCP Data received {"connection_id":157750,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:20:00] local.INFO: Processing buffer {"connection_id":157750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:20:00] local.INFO: IMEI packet received {"connection_id":157750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":157750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:20:03] local.INFO: TCP Data received {"connection_id":157750,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:20:03] local.INFO: Processing buffer {"connection_id":157750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:20:03] local.INFO: IMEI packet received {"connection_id":157750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":157750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:20:05] local.INFO: TCP Data received {"connection_id":157750,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:20:05] local.INFO: Processing buffer {"connection_id":157750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:20:05] local.INFO: Packet analysis {"connection_id":157750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:20:05] local.INFO: Extracted packet for processing {"connection_id":157750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:20:05] local.INFO: GPS Element Parsed {"raw_longitude":753622528,"raw_latitude":118732832,"longitude_deg":75.3622528,"latitude_deg":11.8732832,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5e00","hex_latitude":"0713b820","is_valid_coordinates":true} 
[2026-08-19 17:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507815936001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:20:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590096384,"note":"Value kept but may cause issues"} 
[2026-08-19 17:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787139922000,"timestamp_ms":1787139922000,"timestamp_seconds":1787139922,"priority":1,"record_length":96,"hex_timestamp":"000001a019d71850"} 
[2026-08-19 17:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 17:20:05] 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-08-19 17: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-08-19 17:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507815936001,"66":27908,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486750796590096384},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507815936001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:20:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:20:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590096384,"description":"Unknown IO ID 44"} 
[2026-08-19 17:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507815936001,"power":27908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486750796590096384}} 
[2026-08-19 17:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":157750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:20:05] local.INFO: GPS data processed {"connection_id":157750,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:20:05] local.INFO: Acknowledgment sent {"connection_id":157750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:20:08] local.INFO: TCP Data received {"connection_id":157751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:20:08] local.INFO: Processing buffer {"connection_id":157751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:20:08] local.INFO: IMEI packet received {"connection_id":157751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":157751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:20:11] local.INFO: TCP Data received {"connection_id":157751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:20:11] local.INFO: Processing buffer {"connection_id":157751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:20:11] local.INFO: IMEI packet received {"connection_id":157751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":157751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:20:12] local.INFO: TCP Data received {"connection_id":157751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019da8350012d196ac0071fecb8003c005724..."} 
[2026-08-19 17:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019da8350012d196ac0071fecb8003c005724..."} 
[2026-08-19 17:20:12] local.INFO: Processing buffer {"connection_id":157751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019da8350012d196ac0071fecb8003c005724..."} 
[2026-08-19 17:20:12] local.INFO: Packet analysis {"connection_id":157751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019da"} 
[2026-08-19 17:20:12] local.INFO: Extracted packet for processing {"connection_id":157751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019da"} 
[2026-08-19 17:20:12] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532728,"longitude_deg":75.6640448,"latitude_deg":11.9532728,"altitude":60,"angle":87,"satellites":36,"speed":4,"hex_longitude":"2d196ac0","hex_latitude":"071fecb8","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507876096001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13919361941110784,"note":"Value kept but may cause issues"} 
[2026-08-19 17:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335724544,"note":"Value kept but may cause issues"} 
[2026-08-19 17:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787140146000,"timestamp_ms":1787140146000,"timestamp_seconds":1787140146,"priority":1,"record_length":96,"hex_timestamp":"000001a019da8350"} 
[2026-08-19 17:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 17:20: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-08-19 17: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-08-19 17:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:20:12] 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-08-19 17:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507876096001,"66":14102,"102":206,"83":41984,"24":4,"16":13919361941110784,"45":1831205860335724544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 17:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507876096001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:20:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 17:20:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13919361941110784,"km_value":13919361941110.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335724544,"description":"Unknown IO ID 45"} 
[2026-08-19 17:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507876096001,"power":14102,"unknown_102":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1831205860335724544}} 
[2026-08-19 17:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":157751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:20:12] local.INFO: GPS data processed {"connection_id":157751,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:20:12] local.INFO: Acknowledgment sent {"connection_id":157751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:20:37] local.INFO: TCP Data received {"connection_id":157750,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:20:37] local.INFO: Processing buffer {"connection_id":157750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:20:37] local.INFO: Packet analysis {"connection_id":157750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:20:37] local.INFO: Extracted packet for processing {"connection_id":157750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:20:37] local.INFO: GPS Element Parsed {"raw_longitude":753622528,"raw_latitude":118732832,"longitude_deg":75.3622528,"latitude_deg":11.8732832,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5e00","hex_latitude":"0713b820","is_valid_coordinates":true} 
[2026-08-19 17:20: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-08-19 17:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507815936001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:20:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590096384,"note":"Value kept but may cause issues"} 
[2026-08-19 17:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787139922000,"timestamp_ms":1787139922000,"timestamp_seconds":1787139922,"priority":1,"record_length":96,"hex_timestamp":"000001a019d71850"} 
[2026-08-19 17:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:20: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-08-19 17:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 17:20:37] 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-08-19 17:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507815936001,"66":27908,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486750796590096384},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507815936001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:20:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:20:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590096384,"description":"Unknown IO ID 44"} 
[2026-08-19 17:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507815936001,"power":27908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486750796590096384}} 
[2026-08-19 17:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":157750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:20:37] local.INFO: GPS data processed {"connection_id":157750,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:20:37] local.INFO: Acknowledgment sent {"connection_id":157750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:20:43] local.INFO: TCP Data received {"connection_id":157751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019db5a28012d19de00072007480031001c25..."} 
[2026-08-19 17:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019db5a28012d19de00072007480031001c25..."} 
[2026-08-19 17:20:43] local.INFO: Processing buffer {"connection_id":157751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019db5a28012d19de00072007480031001c25..."} 
[2026-08-19 17:20:43] local.INFO: Packet analysis {"connection_id":157751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:20:43] local.INFO: Extracted packet for processing {"connection_id":157751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:20:43] local.INFO: GPS Element Parsed {"raw_longitude":756669952,"raw_latitude":119539528,"longitude_deg":75.6669952,"latitude_deg":11.9539528,"altitude":49,"angle":28,"satellites":37,"speed":17,"hex_longitude":"2d19de00","hex_latitude":"07200748","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507890432001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13920899539402752,"note":"Value kept but may cause issues"} 
[2026-08-19 17:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862238476519321600,"note":"Value kept but may cause issues"} 
[2026-08-19 17:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787140201000,"timestamp_ms":1787140201000,"timestamp_seconds":1787140201,"priority":1,"record_length":96,"hex_timestamp":"000001a019db5a28"} 
[2026-08-19 17:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-19 17:20:43] 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-08-19 17: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-08-19 17:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:20:43] 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-08-19 17:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507890432001,"66":14396,"103":206,"83":41984,"24":17,"16":13920899539402752,"45":1862238476519321600},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507890432001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:20:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:20:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13920899539402752,"km_value":13920899539402.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862238476519321600,"description":"Unknown IO ID 45"} 
[2026-08-19 17:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507890432001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1862238476519321600}} 
[2026-08-19 17:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":157751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:20:43] local.INFO: GPS data processed {"connection_id":157751,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:20:43] local.INFO: Acknowledgment sent {"connection_id":157751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:20:59] local.INFO: TCP Data received {"connection_id":158970,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:20:59] local.INFO: Processing buffer {"connection_id":158970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:20:59] local.INFO: IMEI packet received {"connection_id":158970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":158970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:21:03] local.INFO: TCP Data received {"connection_id":158970,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:21:03] local.INFO: Processing buffer {"connection_id":158970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:21:03] local.INFO: IMEI packet received {"connection_id":158970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":158970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:21:05] local.INFO: TCP Data received {"connection_id":158970,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:21:05] local.INFO: Processing buffer {"connection_id":158970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019d71850012ceb5e000713b820001400a128..."} 
[2026-08-19 17:21:05] local.INFO: Packet analysis {"connection_id":158970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:21:05] local.INFO: Extracted packet for processing {"connection_id":158970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019d7"} 
[2026-08-19 17:21:05] local.INFO: GPS Element Parsed {"raw_longitude":753622528,"raw_latitude":118732832,"longitude_deg":75.3622528,"latitude_deg":11.8732832,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5e00","hex_latitude":"0713b820","is_valid_coordinates":true} 
[2026-08-19 17:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507815936001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:21:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590096384,"note":"Value kept but may cause issues"} 
[2026-08-19 17:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787139922000,"timestamp_ms":1787139922000,"timestamp_seconds":1787139922,"priority":1,"record_length":96,"hex_timestamp":"000001a019d71850"} 
[2026-08-19 17:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 17:21:05] 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-08-19 17: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-08-19 17:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507815936001,"66":27908,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486750796590096384},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507815936001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:21:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:21:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590096384,"description":"Unknown IO ID 44"} 
[2026-08-19 17:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507815936001,"power":27908,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486750796590096384}} 
[2026-08-19 17:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":158970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:21:05] local.INFO: GPS data processed {"connection_id":158970,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:21:05] local.INFO: Acknowledgment sent {"connection_id":158970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:21:08] local.INFO: TCP Data received {"connection_id":158098,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:21:08] local.INFO: Processing buffer {"connection_id":158098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:21:08] local.INFO: IMEI packet received {"connection_id":158098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":158098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:21:10] local.INFO: TCP Data received {"connection_id":158098,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:21:10] local.INFO: Processing buffer {"connection_id":158098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:21:10] local.INFO: IMEI packet received {"connection_id":158098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":158098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:21:13] local.INFO: TCP Data received {"connection_id":158098,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:21:13] local.INFO: Processing buffer {"connection_id":158098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:21:13] local.INFO: IMEI packet received {"connection_id":158098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":158098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:21:14] local.INFO: TCP Data received {"connection_id":158098,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019db61f8012d19de80072009680031016725..."} 
[2026-08-19 17:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019db61f8012d19de80072009680031016725..."} 
[2026-08-19 17:21:14] local.INFO: Processing buffer {"connection_id":158098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019db61f8012d19de80072009680031016725..."} 
[2026-08-19 17:21:14] local.INFO: Packet analysis {"connection_id":158098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:21:14] local.INFO: Extracted packet for processing {"connection_id":158098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:21:14] local.INFO: GPS Element Parsed {"raw_longitude":756670080,"raw_latitude":119540072,"longitude_deg":75.667008,"latitude_deg":11.9540072,"altitude":49,"angle":359,"satellites":37,"speed":8,"hex_longitude":"2d19de80","hex_latitude":"07200968","is_valid_coordinates":true} 
[2026-08-19 17:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507891456001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13920925309206528,"note":"Value kept but may cause issues"} 
[2026-08-19 17:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863927326380083200,"note":"Value kept but may cause issues"} 
[2026-08-19 17:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787140203000,"timestamp_ms":1787140203000,"timestamp_seconds":1787140203,"priority":1,"record_length":96,"hex_timestamp":"000001a019db61f8"} 
[2026-08-19 17:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:21: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-08-19 17:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 17:21: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-08-19 17:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:21:14] 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-08-19 17:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507891456001,"66":14363,"103":206,"83":41984,"24":8,"16":13920925309206528,"45":1863927326380083200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507891456001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:21:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:21:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13920925309206528,"km_value":13920925309206.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863927326380083200,"description":"Unknown IO ID 45"} 
[2026-08-19 17:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507891456001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1863927326380083200}} 
[2026-08-19 17:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":158098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:21:14] local.INFO: GPS data processed {"connection_id":158098,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:21:14] local.INFO: Acknowledgment sent {"connection_id":158098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:21:37] local.INFO: TCP Data received {"connection_id":158970,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:21:37] local.INFO: Processing buffer {"connection_id":158970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:21:37] local.INFO: Packet analysis {"connection_id":158970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:21:37] local.INFO: Extracted packet for processing {"connection_id":158970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:21:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507820032001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:21:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590080000,"note":"Value kept but may cause issues"} 
[2026-08-19 17:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787140227000,"timestamp_ms":1787140227000,"timestamp_seconds":1787140227,"priority":1,"record_length":96,"hex_timestamp":"000001a019dbbfb8"} 
[2026-08-19 17:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 17:21:37] 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-08-19 17: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-08-19 17:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507820032001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486750796590080000},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507820032001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:21:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:21:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590080000,"description":"Unknown IO ID 44"} 
[2026-08-19 17:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507820032001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486750796590080000}} 
[2026-08-19 17:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":158970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:21:37] local.INFO: GPS data processed {"connection_id":158970,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:21:37] local.INFO: Acknowledgment sent {"connection_id":158970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:21:41] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:21:41] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:21:41] local.INFO: IMEI packet received {"connection_id":160287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":160287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:21:42] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:21:42] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:21:42] local.INFO: IMEI packet received {"connection_id":160287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":160287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:21:45] local.INFO: TCP Data received {"connection_id":158098,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019dc2548012d19b7400720abb80031013b24..."} 
[2026-08-19 17:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dc2548012d19b7400720abb80031013b24..."} 
[2026-08-19 17:21:45] local.INFO: Processing buffer {"connection_id":158098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dc2548012d19b7400720abb80031013b24..."} 
[2026-08-19 17:21:45] local.INFO: Packet analysis {"connection_id":158098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019dc"} 
[2026-08-19 17:21:45] local.INFO: Extracted packet for processing {"connection_id":158098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019dc"} 
[2026-08-19 17:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756660032,"raw_latitude":119581624,"longitude_deg":75.6660032,"latitude_deg":11.9581624,"altitude":49,"angle":315,"satellites":36,"speed":21,"hex_longitude":"2d19b740","hex_latitude":"0720abb8","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507904512001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13923180167036928,"note":"Value kept but may cause issues"} 
[2026-08-19 17:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996653056,"note":"Value kept but may cause issues"} 
[2026-08-19 17:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787140253000,"timestamp_ms":1787140253000,"timestamp_seconds":1787140253,"priority":1,"record_length":96,"hex_timestamp":"000001a019dc2548"} 
[2026-08-19 17:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:21: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-08-19 17: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 17:21:45] 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-08-19 17: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-08-19 17:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:21:45] 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-08-19 17:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507904512001,"66":13917,"103":206,"83":41984,"24":21,"16":13923180167036928,"45":1853583120996653056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507904512001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:21:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:21:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13923180167036928,"km_value":13923180167036.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996653056,"description":"Unknown IO ID 45"} 
[2026-08-19 17:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507904512001,"power":13917,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1853583120996653056}} 
[2026-08-19 17:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":158098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:21:45] local.INFO: GPS data processed {"connection_id":158098,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:21:45] local.INFO: Acknowledgment sent {"connection_id":158098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:21:46] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:21:46] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:21:46] local.INFO: IMEI packet received {"connection_id":160287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":160287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:21:48] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019dbc3a0012d7af64005e385d0001600a50e..."} 
[2026-08-19 17:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dbc3a0012d7af64005e385d0001600a50e..."} 
[2026-08-19 17:21:48] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dbc3a0012d7af64005e385d0001600a50e..."} 
[2026-08-19 17:21:48] local.INFO: Packet analysis {"connection_id":160287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:21:48] local.INFO: Extracted packet for processing {"connection_id":160287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:21:48] local.INFO: GPS Element Parsed {"raw_longitude":763033152,"raw_latitude":98797008,"longitude_deg":76.3033152,"latitude_deg":9.8797008,"altitude":22,"angle":165,"satellites":14,"speed":10,"hex_longitude":"2d7af640","hex_latitude":"05e385d0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507896320001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120789134791933952,"note":"Value kept but may cause issues"} 
[2026-08-19 17:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859073073539727360,"note":"Value kept but may cause issues"} 
[2026-08-19 17:21: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-08-19 17:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787140228000,"timestamp_ms":1787140228000,"timestamp_seconds":1787140228,"priority":1,"record_length":96,"hex_timestamp":"000001a019dbc3a0"} 
[2026-08-19 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-08-19 17:21:48] 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-08-19 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-19 17:21: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-08-19 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-08-19 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-08-19 17:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:21:48] 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-08-19 17:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507896320001,"66":13363,"208":206,"85":15104,"24":10,"16":120789134791933952,"45":8859073073539727360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 17:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507896320001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:21:48] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 17:21:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120789134791933952,"km_value":120789134791933.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859073073539727360,"description":"Unknown IO ID 45"} 
[2026-08-19 17:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507896320001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8859073073539727360}} 
[2026-08-19 17:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":160287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:21:48] local.INFO: GPS data processed {"connection_id":160287,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:21:48] local.INFO: Acknowledgment sent {"connection_id":160287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:21:55] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019dc0220012d7b004005e363e8001700a00e..."} 
[2026-08-19 17:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dc0220012d7b004005e363e8001700a00e..."} 
[2026-08-19 17:21:55] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dc0220012d7b004005e363e8001700a00e..."} 
[2026-08-19 17:21:55] local.INFO: Packet analysis {"connection_id":160287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019dc"} 
[2026-08-19 17:21:55] local.INFO: Extracted packet for processing {"connection_id":160287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019dc"} 
[2026-08-19 17:21:55] local.INFO: GPS Element Parsed {"raw_longitude":763035712,"raw_latitude":98788328,"longitude_deg":76.3035712,"latitude_deg":9.8788328,"altitude":23,"angle":160,"satellites":14,"speed":32,"hex_longitude":"2d7b0040","hex_latitude":"05e363e8","is_valid_coordinates":true} 
[2026-08-19 17:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507898368001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120789572878598144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860339710934241280,"note":"Value kept but may cause issues"} 
[2026-08-19 17:21:55] 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-08-19 17:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787140244000,"timestamp_ms":1787140244000,"timestamp_seconds":1787140244,"priority":1,"record_length":96,"hex_timestamp":"000001a019dc0220"} 
[2026-08-19 17:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:21:55] 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-08-19 17:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 17:21:55] 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-08-19 17:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:21:55] 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-08-19 17:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507898368001,"66":13450,"208":206,"85":15104,"24":32,"16":120789572878598144,"45":8860339710934241280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 17:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507898368001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:21:55] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 17:21:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120789572878598144,"km_value":120789572878598.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860339710934241280,"description":"Unknown IO ID 45"} 
[2026-08-19 17:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507898368001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8860339710934241280}} 
[2026-08-19 17:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":160287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:21:55] local.INFO: GPS data processed {"connection_id":160287,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:21:55] local.INFO: Acknowledgment sent {"connection_id":160287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:21:59] local.INFO: TCP Data received {"connection_id":158099,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:21:59] local.INFO: Processing buffer {"connection_id":158099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:21:59] local.INFO: IMEI packet received {"connection_id":158099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":158099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:22:04] local.INFO: TCP Data received {"connection_id":158099,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:22:04] local.INFO: Processing buffer {"connection_id":158099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:22:04] local.INFO: IMEI packet received {"connection_id":158099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":158099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:22:05] local.INFO: TCP Data received {"connection_id":158099,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:22:05] local.INFO: Processing buffer {"connection_id":158099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:22:05] local.INFO: Packet analysis {"connection_id":158099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:22:05] local.INFO: Extracted packet for processing {"connection_id":158099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:22:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507820032001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590080000,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787140227000,"timestamp_ms":1787140227000,"timestamp_seconds":1787140227,"priority":1,"record_length":96,"hex_timestamp":"000001a019dbbfb8"} 
[2026-08-19 17:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 17:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507820032001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486750796590080000},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507820032001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:22:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:22:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590080000,"description":"Unknown IO ID 44"} 
[2026-08-19 17:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507820032001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486750796590080000}} 
[2026-08-19 17:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":158099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:22:05] local.INFO: GPS data processed {"connection_id":158099,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:22:05] local.INFO: Acknowledgment sent {"connection_id":158099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:22:08] local.INFO: TCP Data received {"connection_id":157752,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:22:08] local.INFO: Processing buffer {"connection_id":157752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:22:08] local.INFO: IMEI packet received {"connection_id":157752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":157752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:22:11] local.INFO: TCP Data received {"connection_id":157752,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:22:11] local.INFO: Processing buffer {"connection_id":157752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:22:11] local.INFO: IMEI packet received {"connection_id":157752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":157752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:22:12] local.INFO: TCP Data received {"connection_id":157752,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:22:12] local.INFO: Processing buffer {"connection_id":157752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:22:12] local.INFO: IMEI packet received {"connection_id":157752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":157752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:22:13] local.INFO: TCP Data received {"connection_id":157752,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019dc2930012d19b4400720ac980032012824..."} 
[2026-08-19 17:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dc2930012d19b4400720ac980032012824..."} 
[2026-08-19 17:22:13] local.INFO: Processing buffer {"connection_id":157752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dc2930012d19b4400720ac980032012824..."} 
[2026-08-19 17:22:13] local.INFO: Packet analysis {"connection_id":157752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019dc"} 
[2026-08-19 17:22:13] local.INFO: Extracted packet for processing {"connection_id":157752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019dc"} 
[2026-08-19 17:22:13] local.INFO: GPS Element Parsed {"raw_longitude":756659264,"raw_latitude":119581848,"longitude_deg":75.6659264,"latitude_deg":11.9581848,"altitude":50,"angle":296,"satellites":36,"speed":25,"hex_longitude":"2d19b440","hex_latitude":"0720ac98","is_valid_coordinates":true} 
[2026-08-19 17:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507904768001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13923218821742592,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853020171043321856,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787140254000,"timestamp_ms":1787140254000,"timestamp_seconds":1787140254,"priority":1,"record_length":96,"hex_timestamp":"000001a019dc2930"} 
[2026-08-19 17:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:22:13] 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-08-19 17:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-19 17:22:13] 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-08-19 17:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:22:13] 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-08-19 17:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507904768001,"66":13917,"103":206,"83":41984,"24":25,"16":13923218821742592,"45":1853020171043321856},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507904768001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:22:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:22:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13923218821742592,"km_value":13923218821742.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853020171043321856,"description":"Unknown IO ID 45"} 
[2026-08-19 17:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507904768001,"power":13917,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1853020171043321856}} 
[2026-08-19 17:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":157752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:22:13] local.INFO: GPS data processed {"connection_id":157752,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:22:13] local.INFO: Acknowledgment sent {"connection_id":157752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:22:13] local.INFO: TCP Data received {"connection_id":157752,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019dc38d0012d19a8800720afd8003501161e..."} 
[2026-08-19 17:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dc38d0012d19a8800720afd8003501161e..."} 
[2026-08-19 17:22:13] local.INFO: Processing buffer {"connection_id":157752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dc38d0012d19a8800720afd8003501161e..."} 
[2026-08-19 17:22:13] local.INFO: Packet analysis {"connection_id":157752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019dc"} 
[2026-08-19 17:22:13] local.INFO: Extracted packet for processing {"connection_id":157752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019dc"} 
[2026-08-19 17:22:13] local.INFO: GPS Element Parsed {"raw_longitude":756656256,"raw_latitude":119582680,"longitude_deg":75.6656256,"latitude_deg":11.958268,"altitude":53,"angle":278,"satellites":30,"speed":29,"hex_longitude":"2d19a880","hex_latitude":"0720afd8","is_valid_coordinates":true} 
[2026-08-19 17:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507905024001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13923364850630656,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852175746113247232,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787140258000,"timestamp_ms":1787140258000,"timestamp_seconds":1787140258,"priority":1,"record_length":96,"hex_timestamp":"000001a019dc38d0"} 
[2026-08-19 17:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:22:13] 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-08-19 17:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-19 17:22:13] 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-08-19 17:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:22:13] 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-08-19 17:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507905024001,"66":13993,"103":206,"83":41984,"24":29,"16":13923364850630656,"45":1852175746113247232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507905024001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:22:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:22:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13923364850630656,"km_value":13923364850630.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852175746113247232,"description":"Unknown IO ID 45"} 
[2026-08-19 17:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507905024001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1852175746113247232}} 
[2026-08-19 17:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":157752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:22:13] local.INFO: GPS data processed {"connection_id":157752,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:22:13] local.INFO: Acknowledgment sent {"connection_id":157752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:22:27] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019dc2d18012d7b0a0005e34cd0001500ae0e..."} 
[2026-08-19 17:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dc2d18012d7b0a0005e34cd0001500ae0e..."} 
[2026-08-19 17:22:27] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dc2d18012d7b0a0005e34cd0001500ae0e..."} 
[2026-08-19 17:22:27] local.INFO: Packet analysis {"connection_id":160287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019dc"} 
[2026-08-19 17:22:27] local.INFO: Extracted packet for processing {"connection_id":160287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019dc"} 
[2026-08-19 17:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763038208,"raw_latitude":98782416,"longitude_deg":76.3038208,"latitude_deg":9.8782416,"altitude":21,"angle":174,"satellites":14,"speed":11,"hex_longitude":"2d7b0a00","hex_latitude":"05e34cd0","is_valid_coordinates":true} 
[2026-08-19 17:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507902464001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120789890706178048,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863154460699125760,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:27] 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-08-19 17:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787140255000,"timestamp_ms":1787140255000,"timestamp_seconds":1787140255,"priority":1,"record_length":96,"hex_timestamp":"000001a019dc2d18"} 
[2026-08-19 17:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:22:27] 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-08-19 17:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-19 17:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:22: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-08-19 17:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:22:27] 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-08-19 17:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507902464001,"66":13580,"208":206,"85":15104,"24":11,"16":120789890706178048,"45":8863154460699125760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 17:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507902464001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:22:27] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 17:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120789890706178048,"km_value":120789890706178.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863154460699125760,"description":"Unknown IO ID 45"} 
[2026-08-19 17:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507902464001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8863154460699125760}} 
[2026-08-19 17:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":160287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:22:27] local.INFO: GPS data processed {"connection_id":160287,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:22:27] local.INFO: Acknowledgment sent {"connection_id":160287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:22:37] local.INFO: TCP Data received {"connection_id":158099,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:22:37] local.INFO: Processing buffer {"connection_id":158099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:22:37] local.INFO: Packet analysis {"connection_id":158099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:22:37] local.INFO: Extracted packet for processing {"connection_id":158099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:22:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507820032001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590080000,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787140227000,"timestamp_ms":1787140227000,"timestamp_seconds":1787140227,"priority":1,"record_length":96,"hex_timestamp":"000001a019dbbfb8"} 
[2026-08-19 17:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 17:22:37] 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-08-19 17: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-08-19 17:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507820032001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486750796590080000},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507820032001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:22:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:22:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590080000,"description":"Unknown IO ID 44"} 
[2026-08-19 17:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507820032001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486750796590080000}} 
[2026-08-19 17:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":158099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:22:37] local.INFO: GPS data processed {"connection_id":158099,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:22:37] local.INFO: Acknowledgment sent {"connection_id":158099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:22:44] local.INFO: TCP Data received {"connection_id":157752,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019dc67b0012d1989800720b2780037010923..."} 
[2026-08-19 17:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dc67b0012d1989800720b2780037010923..."} 
[2026-08-19 17:22:44] local.INFO: Processing buffer {"connection_id":157752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dc67b0012d1989800720b2780037010923..."} 
[2026-08-19 17:22:44] local.INFO: Packet analysis {"connection_id":157752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019dc"} 
[2026-08-19 17:22:44] local.INFO: Extracted packet for processing {"connection_id":157752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019dc"} 
[2026-08-19 17:22:44] local.INFO: GPS Element Parsed {"raw_longitude":756648320,"raw_latitude":119583352,"longitude_deg":75.664832,"latitude_deg":11.9583352,"altitude":55,"angle":265,"satellites":35,"speed":19,"hex_longitude":"2d198980","hex_latitude":"0720b278","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507906048001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13923742807752704,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848868415137110016,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22: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-08-19 17:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787140270000,"timestamp_ms":1787140270000,"timestamp_seconds":1787140270,"priority":1,"record_length":96,"hex_timestamp":"000001a019dc67b0"} 
[2026-08-19 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-08-19 17:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 17:22: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-08-19 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-08-19 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-08-19 17:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:22:44] 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-08-19 17:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507906048001,"66":14341,"103":206,"83":41984,"24":19,"16":13923742807752704,"45":1848868415137110016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507906048001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:22:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:22:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13923742807752704,"km_value":13923742807752.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848868415137110016,"description":"Unknown IO ID 45"} 
[2026-08-19 17:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507906048001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1848868415137110016}} 
[2026-08-19 17:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":157752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:22:44] local.INFO: GPS data processed {"connection_id":157752,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:22:44] local.INFO: Acknowledgment sent {"connection_id":157752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:22:57] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019dc7b38012d7b0dc005e32a78001300af0e..."} 
[2026-08-19 17:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dc7b38012d7b0dc005e32a78001300af0e..."} 
[2026-08-19 17:22:57] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dc7b38012d7b0dc005e32a78001300af0e..."} 
[2026-08-19 17:22:57] local.INFO: Packet analysis {"connection_id":160287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019dc"} 
[2026-08-19 17:22:57] local.INFO: Extracted packet for processing {"connection_id":160287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019dc"} 
[2026-08-19 17:22:57] local.INFO: GPS Element Parsed {"raw_longitude":763039168,"raw_latitude":98773624,"longitude_deg":76.3039168,"latitude_deg":9.8773624,"altitude":19,"angle":175,"satellites":14,"speed":19,"hex_longitude":"2d7b0dc0","hex_latitude":"05e32a78","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507905280001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120790320202907648,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865898841720541184,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22: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-08-19 17:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787140275000,"timestamp_ms":1787140275000,"timestamp_seconds":1787140275,"priority":1,"record_length":96,"hex_timestamp":"000001a019dc7b38"} 
[2026-08-19 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-08-19 17:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 17:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623455,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:57] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5971787399544438784,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:57] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2656567315,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:57] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4076863488,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:57] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3680630785,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959366183,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-19 17:22:57] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648813373469097,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3823423488,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:57] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-3476772435383549939,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:57] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755511110336753,"note":"Value kept but may cause issues"} 
[2026-08-19 17:22:57] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,208,85,24,241,157,16,33,160,2,45,64,99,23,14,10,66,195,133,22,164,192,1,240,56,227,32,25,4,113,205,9,51,226,13,239,53,173,5,43,122,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-19 17:22:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513400849949982720,"timestamp_seconds":1513400849949982.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 17:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:22:57] 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-08-19 17:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507905280001,"66":13091,"208":206,"85":15104,"24":19,"16":120790320202907648,"45":8865898841720541184},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 17:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507905280001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:22:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 17:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120790320202907648,"km_value":120790320202907.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865898841720541184,"description":"Unknown IO ID 45"} 
[2026-08-19 17:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507905280001,"power":13091,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8865898841720541184}} 
[2026-08-19 17:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":160287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:22:58] local.INFO: GPS data processed {"connection_id":160287,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:22:58] local.INFO: Acknowledgment sent {"connection_id":160287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:22:59] local.INFO: TCP Data received {"connection_id":158971,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:22:59] local.INFO: Processing buffer {"connection_id":158971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:22:59] local.INFO: IMEI packet received {"connection_id":158971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":158971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:23:03] local.INFO: TCP Data received {"connection_id":158971,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:23:03] local.INFO: Processing buffer {"connection_id":158971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:23:03] local.INFO: IMEI packet received {"connection_id":158971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":158971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:23:05] local.INFO: TCP Data received {"connection_id":158971,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:23:05] local.INFO: Processing buffer {"connection_id":158971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:23:05] local.INFO: Packet analysis {"connection_id":158971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:23:05] local.INFO: Extracted packet for processing {"connection_id":158971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:23:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507820032001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:23:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590080000,"note":"Value kept but may cause issues"} 
[2026-08-19 17:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787140227000,"timestamp_ms":1787140227000,"timestamp_seconds":1787140227,"priority":1,"record_length":96,"hex_timestamp":"000001a019dbbfb8"} 
[2026-08-19 17:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 17:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507820032001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486750796590080000},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507820032001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:23:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:23:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590080000,"description":"Unknown IO ID 44"} 
[2026-08-19 17:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507820032001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486750796590080000}} 
[2026-08-19 17:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":158971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:23:05] local.INFO: GPS data processed {"connection_id":158971,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:23:05] local.INFO: Acknowledgment sent {"connection_id":158971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:23:08] local.INFO: TCP Data received {"connection_id":157753,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:23:08] local.INFO: Processing buffer {"connection_id":157753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:23:08] local.INFO: IMEI packet received {"connection_id":157753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":157753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:23:09] local.INFO: TCP Data received {"connection_id":157753,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:23:09] local.INFO: Processing buffer {"connection_id":157753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:23:09] local.INFO: IMEI packet received {"connection_id":157753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":157753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:23:13] local.INFO: TCP Data received {"connection_id":157753,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:23:13] local.INFO: Processing buffer {"connection_id":157753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:23:13] local.INFO: IMEI packet received {"connection_id":157753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":157753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:23:14] local.INFO: TCP Data received {"connection_id":157753,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019dd84d8012d18d7800720fd88003c014924..."} 
[2026-08-19 17:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dd84d8012d18d7800720fd88003c014924..."} 
[2026-08-19 17:23:14] local.INFO: Processing buffer {"connection_id":157753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dd84d8012d18d7800720fd88003c014924..."} 
[2026-08-19 17:23:14] local.INFO: Packet analysis {"connection_id":157753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019dd"} 
[2026-08-19 17:23:14] local.INFO: Extracted packet for processing {"connection_id":157753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019dd"} 
[2026-08-19 17:23:14] local.INFO: GPS Element Parsed {"raw_longitude":756602752,"raw_latitude":119602568,"longitude_deg":75.6602752,"latitude_deg":11.9602568,"altitude":60,"angle":329,"satellites":36,"speed":31,"hex_longitude":"2d18d780","hex_latitude":"0720fd88","is_valid_coordinates":true} 
[2026-08-19 17:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507927040001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13926306903228416,"note":"Value kept but may cause issues"} 
[2026-08-19 17:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792151207334514688,"note":"Value kept but may cause issues"} 
[2026-08-19 17:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787140343000,"timestamp_ms":1787140343000,"timestamp_seconds":1787140343,"priority":1,"record_length":96,"hex_timestamp":"000001a019dd84d8"} 
[2026-08-19 17:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:23: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-08-19 17:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-19 17:23:14] 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-08-19 17:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:23:14] 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-08-19 17:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507927040001,"66":13906,"103":206,"83":41984,"24":31,"16":13926306903228416,"45":1792151207334514688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507927040001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:23:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:23:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13926306903228416,"km_value":13926306903228.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792151207334514688,"description":"Unknown IO ID 45"} 
[2026-08-19 17:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507927040001,"power":13906,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1792151207334514688}} 
[2026-08-19 17:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":157753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:23:14] local.INFO: GPS data processed {"connection_id":157753,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:23:14] local.INFO: Acknowledgment sent {"connection_id":157753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:23:29] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019dc7b38012d7b0dc005e32a78001300af0e..."} 
[2026-08-19 17:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dc7b38012d7b0dc005e32a78001300af0e..."} 
[2026-08-19 17:23:29] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dc7b38012d7b0dc005e32a78001300af0e..."} 
[2026-08-19 17:23:29] local.INFO: Packet analysis {"connection_id":160287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019dc"} 
[2026-08-19 17:23:29] local.INFO: Extracted packet for processing {"connection_id":160287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019dc"} 
[2026-08-19 17:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763039168,"raw_latitude":98773624,"longitude_deg":76.3039168,"latitude_deg":9.8773624,"altitude":19,"angle":175,"satellites":14,"speed":19,"hex_longitude":"2d7b0dc0","hex_latitude":"05e32a78","is_valid_coordinates":true} 
[2026-08-19 17:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507910400001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120790320202907648,"note":"Value kept but may cause issues"} 
[2026-08-19 17:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866954372880955392,"note":"Value kept but may cause issues"} 
[2026-08-19 17:23: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-08-19 17:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787140275000,"timestamp_ms":1787140275000,"timestamp_seconds":1787140275,"priority":1,"record_length":96,"hex_timestamp":"000001a019dc7b38"} 
[2026-08-19 17:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:23: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-08-19 17:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 17:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:23:29] 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-08-19 17:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507910400001,"66":13091,"208":206,"85":15104,"24":19,"16":120790320202907648,"45":8866954372880955392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 17:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507910400001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:23:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 17:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120790320202907648,"km_value":120790320202907.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866954372880955392,"description":"Unknown IO ID 45"} 
[2026-08-19 17:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507910400001,"power":13091,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8866954372880955392}} 
[2026-08-19 17:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":160287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:23:29] local.INFO: GPS data processed {"connection_id":160287,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:23:29] local.INFO: Acknowledgment sent {"connection_id":160287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:23:36] local.INFO: TCP Data received {"connection_id":158971,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:23:36] local.INFO: Processing buffer {"connection_id":158971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:23:36] local.INFO: Packet analysis {"connection_id":158971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:23:36] local.INFO: Extracted packet for processing {"connection_id":158971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:23:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507820032001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:23:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590080000,"note":"Value kept but may cause issues"} 
[2026-08-19 17:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787140227000,"timestamp_ms":1787140227000,"timestamp_seconds":1787140227,"priority":1,"record_length":96,"hex_timestamp":"000001a019dbbfb8"} 
[2026-08-19 17:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 17:23:36] 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-08-19 17:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507820032001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486750796590080000},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507820032001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:23:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:23:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590080000,"description":"Unknown IO ID 44"} 
[2026-08-19 17:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507820032001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486750796590080000}} 
[2026-08-19 17:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":158971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:23:36] local.INFO: GPS data processed {"connection_id":158971,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:23:36] local.INFO: Acknowledgment sent {"connection_id":158971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:23:46] local.INFO: TCP Data received {"connection_id":157753,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019dd8ca8012d18d54007210390003c015822..."} 
[2026-08-19 17:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dd8ca8012d18d54007210390003c015822..."} 
[2026-08-19 17:23:46] local.INFO: Processing buffer {"connection_id":157753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dd8ca8012d18d54007210390003c015822..."} 
[2026-08-19 17:23:46] local.INFO: Packet analysis {"connection_id":157753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019dd"} 
[2026-08-19 17:23:46] local.INFO: Extracted packet for processing {"connection_id":157753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019dd"} 
[2026-08-19 17:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756602176,"raw_latitude":119604112,"longitude_deg":75.6602176,"latitude_deg":11.9604112,"altitude":60,"angle":344,"satellites":34,"speed":33,"hex_longitude":"2d18d540","hex_latitude":"07210390","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507927808001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13926388507607040,"note":"Value kept but may cause issues"} 
[2026-08-19 17:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790040145009674240,"note":"Value kept but may cause issues"} 
[2026-08-19 17:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787140345000,"timestamp_ms":1787140345000,"timestamp_seconds":1787140345,"priority":1,"record_length":96,"hex_timestamp":"000001a019dd8ca8"} 
[2026-08-19 17:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:23:46] 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-08-19 17: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-19 17:23:46] 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-08-19 17: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-08-19 17:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:23:46] 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-08-19 17:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507927808001,"66":13972,"103":206,"83":41984,"24":33,"16":13926388507607040,"45":1790040145009674240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507927808001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:23:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13926388507607040,"km_value":13926388507607.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790040145009674240,"description":"Unknown IO ID 45"} 
[2026-08-19 17:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507927808001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1790040145009674240}} 
[2026-08-19 17:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":157753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:23:46] local.INFO: GPS data processed {"connection_id":157753,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:23:46] local.INFO: Acknowledgment sent {"connection_id":157753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:23:59] local.INFO: TCP Data received {"connection_id":158972,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:23:59] local.INFO: Processing buffer {"connection_id":158972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:23:59] local.INFO: IMEI packet received {"connection_id":158972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":158972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:24:00] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019dea5e8012d7b318005e247a0000000af10..."} 
[2026-08-19 17:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dea5e8012d7b318005e247a0000000af10..."} 
[2026-08-19 17:24:00] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dea5e8012d7b318005e247a0000000af10..."} 
[2026-08-19 17:24:00] local.INFO: Packet analysis {"connection_id":160287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019de"} 
[2026-08-19 17:24:00] local.INFO: Extracted packet for processing {"connection_id":160287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019de"} 
[2026-08-19 17:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763048320,"raw_latitude":98715552,"longitude_deg":76.304832,"latitude_deg":9.8715552,"altitude":0,"angle":175,"satellites":16,"speed":10,"hex_longitude":"2d7b3180","hex_latitude":"05e247a0","is_valid_coordinates":true} 
[2026-08-19 17:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507945216001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120793219305832448,"note":"Value kept but may cause issues"} 
[2026-08-19 17:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876876365795489792,"note":"Value kept but may cause issues"} 
[2026-08-19 17:24: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-08-19 17:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787140417000,"timestamp_ms":1787140417000,"timestamp_seconds":1787140417,"priority":1,"record_length":96,"hex_timestamp":"000001a019dea5e8"} 
[2026-08-19 17:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 17:24:00] 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-08-19 17:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:24:00] 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-08-19 17:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507945216001,"66":13472,"207":206,"85":15104,"24":10,"16":120793219305832448,"45":8876876365795489792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-19 17:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507945216001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:24:00] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-19 17:24:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120793219305832448,"km_value":120793219305832.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876876365795489792,"description":"Unknown IO ID 45"} 
[2026-08-19 17:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507945216001,"power":13472,"unknown_207":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8876876365795489792}} 
[2026-08-19 17:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":160287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:24:00] local.INFO: GPS data processed {"connection_id":160287,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:24:00] local.INFO: Acknowledgment sent {"connection_id":160287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:24:03] local.INFO: TCP Data received {"connection_id":158972,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:24:03] local.INFO: Processing buffer {"connection_id":158972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:24:03] local.INFO: IMEI packet received {"connection_id":158972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":158972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:24:05] local.INFO: TCP Data received {"connection_id":158972,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:24:05] local.INFO: Processing buffer {"connection_id":158972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:24:05] local.INFO: Packet analysis {"connection_id":158972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:24:05] local.INFO: Extracted packet for processing {"connection_id":158972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:24:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507820032001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:24:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590080000,"note":"Value kept but may cause issues"} 
[2026-08-19 17:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787140227000,"timestamp_ms":1787140227000,"timestamp_seconds":1787140227,"priority":1,"record_length":96,"hex_timestamp":"000001a019dbbfb8"} 
[2026-08-19 17:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 17:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507820032001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486750796590080000},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507820032001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:24:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:24:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590080000,"description":"Unknown IO ID 44"} 
[2026-08-19 17:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507820032001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486750796590080000}} 
[2026-08-19 17:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":158972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:24:05] local.INFO: GPS data processed {"connection_id":158972,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:24:05] local.INFO: Acknowledgment sent {"connection_id":158972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:24:08] local.INFO: TCP Data received {"connection_id":158100,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:24:08] local.INFO: Processing buffer {"connection_id":158100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:24:08] local.INFO: IMEI packet received {"connection_id":158100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":158100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:24:13] local.INFO: TCP Data received {"connection_id":158100,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:24:13] local.INFO: Processing buffer {"connection_id":158100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:24:13] local.INFO: IMEI packet received {"connection_id":158100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":158100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:24:14] local.INFO: TCP Data received {"connection_id":158100,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019dda030012d18d1c0072114e8003d016323..."} 
[2026-08-19 17:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dda030012d18d1c0072114e8003d016323..."} 
[2026-08-19 17:24:14] local.INFO: Processing buffer {"connection_id":158100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dda030012d18d1c0072114e8003d016323..."} 
[2026-08-19 17:24:14] local.INFO: Packet analysis {"connection_id":158100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019dd"} 
[2026-08-19 17:24:14] local.INFO: Extracted packet for processing {"connection_id":158100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019dd"} 
[2026-08-19 17:24:14] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119608552,"longitude_deg":75.660128,"latitude_deg":11.9608552,"altitude":61,"angle":355,"satellites":35,"speed":38,"hex_longitude":"2d18d1c0","hex_latitude":"072114e8","is_valid_coordinates":true} 
[2026-08-19 17:24: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-08-19 17:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507928320001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13926607550939136,"note":"Value kept but may cause issues"} 
[2026-08-19 17:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789406826312470528,"note":"Value kept but may cause issues"} 
[2026-08-19 17:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787140350000,"timestamp_ms":1787140350000,"timestamp_seconds":1787140350,"priority":1,"record_length":96,"hex_timestamp":"000001a019dda030"} 
[2026-08-19 17:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:24: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-08-19 17:24: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-19 17:24:14] 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-08-19 17:24: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-08-19 17:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:24:14] 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-08-19 17:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507928320001,"66":14004,"103":206,"83":41984,"24":38,"16":13926607550939136,"45":1789406826312470528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507928320001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:24:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:24:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13926607550939136,"km_value":13926607550939.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789406826312470528,"description":"Unknown IO ID 45"} 
[2026-08-19 17:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507928320001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1789406826312470528}} 
[2026-08-19 17:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":158100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:24:14] local.INFO: GPS data processed {"connection_id":158100,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:24:14] local.INFO: Acknowledgment sent {"connection_id":158100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:24:32] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ded0e0012d7b334005e23f80000000c110..."} 
[2026-08-19 17:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ded0e0012d7b334005e23f80000000c110..."} 
[2026-08-19 17:24:32] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ded0e0012d7b334005e23f80000000c110..."} 
[2026-08-19 17:24:32] local.INFO: Packet analysis {"connection_id":160287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019de"} 
[2026-08-19 17:24:32] local.INFO: Extracted packet for processing {"connection_id":160287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019de"} 
[2026-08-19 17:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763048768,"raw_latitude":98713472,"longitude_deg":76.3048768,"latitude_deg":9.8713472,"altitude":0,"angle":193,"satellites":16,"speed":2,"hex_longitude":"2d7b3340","hex_latitude":"05e23f80","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507946752001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120793322385047552,"note":"Value kept but may cause issues"} 
[2026-08-19 17:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877017103283494912,"note":"Value kept but may cause issues"} 
[2026-08-19 17:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787140428000,"timestamp_ms":1787140428000,"timestamp_seconds":1787140428,"priority":1,"record_length":96,"hex_timestamp":"000001a019ded0e0"} 
[2026-08-19 17:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:24:32] 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-08-19 17: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-19 17:24:32] 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-08-19 17:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:24:32] 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-08-19 17:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507946752001,"66":13374,"207":206,"85":15104,"24":2,"16":120793322385047552,"45":8877017103283494912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-19 17:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507946752001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:24:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-19 17:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120793322385047552,"km_value":120793322385047.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877017103283494912,"description":"Unknown IO ID 45"} 
[2026-08-19 17:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507946752001,"power":13374,"unknown_207":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8877017103283494912}} 
[2026-08-19 17:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":160287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:24:32] local.INFO: GPS data processed {"connection_id":160287,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:24:32] local.INFO: Acknowledgment sent {"connection_id":160287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:24:36] local.INFO: TCP Data received {"connection_id":158972,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:24:36] local.INFO: Processing buffer {"connection_id":158972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:24:36] local.INFO: Packet analysis {"connection_id":158972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:24:36] local.INFO: Extracted packet for processing {"connection_id":158972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:24:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507820032001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:24:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590080000,"note":"Value kept but may cause issues"} 
[2026-08-19 17:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787140227000,"timestamp_ms":1787140227000,"timestamp_seconds":1787140227,"priority":1,"record_length":96,"hex_timestamp":"000001a019dbbfb8"} 
[2026-08-19 17:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 17:24:36] 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-08-19 17:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507820032001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486750796590080000},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507820032001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:24:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:24:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590080000,"description":"Unknown IO ID 44"} 
[2026-08-19 17:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507820032001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486750796590080000}} 
[2026-08-19 17:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":158972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:24:36] local.INFO: GPS data processed {"connection_id":158972,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:24:36] local.INFO: Acknowledgment sent {"connection_id":158972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:24:45] local.INFO: TCP Data received {"connection_id":158100,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ddb7a0012d18d04007212aa0003f015025..."} 
[2026-08-19 17:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ddb7a0012d18d04007212aa0003f015025..."} 
[2026-08-19 17:24:45] local.INFO: Processing buffer {"connection_id":158100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ddb7a0012d18d04007212aa0003f015025..."} 
[2026-08-19 17:24:45] local.INFO: Packet analysis {"connection_id":158100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019dd"} 
[2026-08-19 17:24:45] local.INFO: Extracted packet for processing {"connection_id":158100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019dd"} 
[2026-08-19 17:24:45] local.INFO: GPS Element Parsed {"raw_longitude":756600896,"raw_latitude":119614112,"longitude_deg":75.6600896,"latitude_deg":11.9614112,"altitude":63,"angle":336,"satellites":37,"speed":35,"hex_longitude":"2d18d040","hex_latitude":"07212aa0","is_valid_coordinates":true} 
[2026-08-19 17:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507929600001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13926878133878784,"note":"Value kept but may cause issues"} 
[2026-08-19 17:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663895119872,"note":"Value kept but may cause issues"} 
[2026-08-19 17:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787140356000,"timestamp_ms":1787140356000,"timestamp_seconds":1787140356,"priority":1,"record_length":96,"hex_timestamp":"000001a019ddb7a0"} 
[2026-08-19 17:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:24: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-08-19 17:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 17:24:45] 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-08-19 17:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:24:45] 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-08-19 17:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507929600001,"66":14070,"103":206,"83":41984,"24":35,"16":13926878133878784,"45":1788421663895119872},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507929600001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:24:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:24:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13926878133878784,"km_value":13926878133878.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663895119872,"description":"Unknown IO ID 45"} 
[2026-08-19 17:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507929600001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1788421663895119872}} 
[2026-08-19 17:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":158100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:24:45] local.INFO: GPS data processed {"connection_id":158100,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:24:45] local.INFO: Acknowledgment sent {"connection_id":158100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:24:59] local.INFO: TCP Data received {"connection_id":160288,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:24:59] local.INFO: Processing buffer {"connection_id":160288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:24:59] local.INFO: IMEI packet received {"connection_id":160288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":160288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:25:03] local.INFO: TCP Data received {"connection_id":160288,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:25:03] local.INFO: Processing buffer {"connection_id":160288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:25:03] local.INFO: IMEI packet received {"connection_id":160288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":160288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:25:04] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019dee080012d7b334005e23d00000000b410..."} 
[2026-08-19 17:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dee080012d7b334005e23d00000000b410..."} 
[2026-08-19 17:25:04] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dee080012d7b334005e23d00000000b410..."} 
[2026-08-19 17:25:04] local.INFO: Packet analysis {"connection_id":160287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019de"} 
[2026-08-19 17:25:04] local.INFO: Extracted packet for processing {"connection_id":160287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019de"} 
[2026-08-19 17:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763048768,"raw_latitude":98712832,"longitude_deg":76.3048768,"latitude_deg":9.8712832,"altitude":0,"angle":180,"satellites":16,"speed":8,"hex_longitude":"2d7b3340","hex_latitude":"05e23d00","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507949568001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120793352449818624,"note":"Value kept but may cause issues"} 
[2026-08-19 17:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877509684492206080,"note":"Value kept but may cause issues"} 
[2026-08-19 17:25: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-08-19 17:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787140432000,"timestamp_ms":1787140432000,"timestamp_seconds":1787140432,"priority":1,"record_length":96,"hex_timestamp":"000001a019dee080"} 
[2026-08-19 17:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:25:04] 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-08-19 17:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 17:25: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-08-19 17: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-08-19 17:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:25:04] 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-08-19 17:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507949568001,"66":13396,"207":206,"85":15104,"24":8,"16":120793352449818624,"45":8877509684492206080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-19 17:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507949568001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:25:04] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-19 17:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120793352449818624,"km_value":120793352449818.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877509684492206080,"description":"Unknown IO ID 45"} 
[2026-08-19 17:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507949568001,"power":13396,"unknown_207":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8877509684492206080}} 
[2026-08-19 17:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":160287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:25:04] local.INFO: GPS data processed {"connection_id":160287,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:25:04] local.INFO: Acknowledgment sent {"connection_id":160287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:25:05] local.INFO: TCP Data received {"connection_id":160288,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:25:05] local.INFO: Processing buffer {"connection_id":160288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:25:05] local.INFO: Packet analysis {"connection_id":160288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:25:05] local.INFO: Extracted packet for processing {"connection_id":160288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:25:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507820032001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:25:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590080000,"note":"Value kept but may cause issues"} 
[2026-08-19 17:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787140227000,"timestamp_ms":1787140227000,"timestamp_seconds":1787140227,"priority":1,"record_length":96,"hex_timestamp":"000001a019dbbfb8"} 
[2026-08-19 17:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 17:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507820032001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486750796590080000},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507820032001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:25:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:25:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590080000,"description":"Unknown IO ID 44"} 
[2026-08-19 17:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507820032001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486750796590080000}} 
[2026-08-19 17:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":160288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:25:05] local.INFO: GPS data processed {"connection_id":160288,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:25:05] local.INFO: Acknowledgment sent {"connection_id":160288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:25:10] local.INFO: TCP Data received {"connection_id":158101,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:25:10] local.INFO: Processing buffer {"connection_id":158101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:25:10] local.INFO: IMEI packet received {"connection_id":158101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":158101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:25:13] local.INFO: TCP Data received {"connection_id":158101,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:25:13] local.INFO: Processing buffer {"connection_id":158101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:25:13] local.INFO: IMEI packet received {"connection_id":158101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":158101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:25:18] local.INFO: TCP Data received {"connection_id":158101,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:25:18] local.INFO: Processing buffer {"connection_id":158101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:25:18] local.INFO: IMEI packet received {"connection_id":158101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":158101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:25:19] local.INFO: TCP Data received {"connection_id":158101,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ddd2f8012d18c440072141d80042015e24..."} 
[2026-08-19 17:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ddd2f8012d18c440072141d80042015e24..."} 
[2026-08-19 17:25:19] local.INFO: Processing buffer {"connection_id":158101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ddd2f8012d18c440072141d80042015e24..."} 
[2026-08-19 17:25:19] local.INFO: Packet analysis {"connection_id":158101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019dd"} 
[2026-08-19 17:25:19] local.INFO: Extracted packet for processing {"connection_id":158101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019dd"} 
[2026-08-19 17:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119620056,"longitude_deg":75.6597824,"latitude_deg":11.9620056,"altitude":66,"angle":350,"satellites":36,"speed":39,"hex_longitude":"2d18c440","hex_latitude":"072141d8","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507931136001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13927204551393280,"note":"Value kept but may cause issues"} 
[2026-08-19 17:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787999451431477248,"note":"Value kept but may cause issues"} 
[2026-08-19 17:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787140363000,"timestamp_ms":1787140363000,"timestamp_seconds":1787140363,"priority":1,"record_length":96,"hex_timestamp":"000001a019ddd2f8"} 
[2026-08-19 17:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:25:19] 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-08-19 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-19 17:25:19] 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-08-19 17: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-08-19 17:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:25:19] 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-08-19 17:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507931136001,"66":13928,"103":206,"83":41984,"24":39,"16":13927204551393280,"45":1787999451431477248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507931136001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:25:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:25:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13927204551393280,"km_value":13927204551393.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787999451431477248,"description":"Unknown IO ID 45"} 
[2026-08-19 17:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507931136001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1787999451431477248}} 
[2026-08-19 17:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":158101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:25:19] local.INFO: GPS data processed {"connection_id":158101,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:25:19] local.INFO: Acknowledgment sent {"connection_id":158101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:25:23] local.INFO: TCP Data received {"connection_id":158101,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019dde680012d18c100072154d00043014a23..."} 
[2026-08-19 17:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dde680012d18c100072154d00043014a23..."} 
[2026-08-19 17:25:23] local.INFO: Processing buffer {"connection_id":158101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dde680012d18c100072154d00043014a23..."} 
[2026-08-19 17:25:23] local.INFO: Packet analysis {"connection_id":158101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019dd"} 
[2026-08-19 17:25:23] local.INFO: Extracted packet for processing {"connection_id":158101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019dd"} 
[2026-08-19 17:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756596992,"raw_latitude":119624912,"longitude_deg":75.6596992,"latitude_deg":11.9624912,"altitude":67,"angle":330,"satellites":35,"speed":39,"hex_longitude":"2d18c100","hex_latitude":"072154d0","is_valid_coordinates":true} 
[2026-08-19 17:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507932928001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13927445069561856,"note":"Value kept but may cause issues"} 
[2026-08-19 17:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751712471040,"note":"Value kept but may cause issues"} 
[2026-08-19 17:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787140368000,"timestamp_ms":1787140368000,"timestamp_seconds":1787140368,"priority":1,"record_length":96,"hex_timestamp":"000001a019dde680"} 
[2026-08-19 17:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:25:23] 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-08-19 17:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 17:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:25:23] 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-08-19 17:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507932928001,"66":14048,"103":206,"83":41984,"24":39,"16":13927445069561856,"45":1784621751712471040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507932928001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:25:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:25:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13927445069561856,"km_value":13927445069561.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751712471040,"description":"Unknown IO ID 45"} 
[2026-08-19 17:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507932928001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1784621751712471040}} 
[2026-08-19 17:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":158101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:25:24] local.INFO: GPS data processed {"connection_id":158101,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:25:24] local.INFO: Acknowledgment sent {"connection_id":158101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:25:34] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019df2ea0012d7b32c005e230e0000000af11..."} 
[2026-08-19 17:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019df2ea0012d7b32c005e230e0000000af11..."} 
[2026-08-19 17:25:34] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019df2ea0012d7b32c005e230e0000000af11..."} 
[2026-08-19 17:25:34] local.INFO: Packet analysis {"connection_id":160287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019df"} 
[2026-08-19 17:25:34] local.INFO: Extracted packet for processing {"connection_id":160287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019df"} 
[2026-08-19 17:25:34] local.INFO: GPS Element Parsed {"raw_longitude":763048640,"raw_latitude":98709728,"longitude_deg":76.304864,"latitude_deg":9.8709728,"altitude":0,"angle":175,"satellites":17,"speed":7,"hex_longitude":"2d7b32c0","hex_latitude":"05e230e0","is_valid_coordinates":true} 
[2026-08-19 17:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507950592001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120793511363608576,"note":"Value kept but may cause issues"} 
[2026-08-19 17:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877509684492042240,"note":"Value kept but may cause issues"} 
[2026-08-19 17:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787140452000,"timestamp_ms":1787140452000,"timestamp_seconds":1787140452,"priority":1,"record_length":96,"hex_timestamp":"000001a019df2ea0"} 
[2026-08-19 17:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:25:34] 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-08-19 17:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 17:25:34] 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-08-19 17:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507950592001,"66":13461,"207":206,"85":15104,"24":7,"16":120793511363608576,"45":8877509684492042240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-19 17:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507950592001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:25:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-19 17:25:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120793511363608576,"km_value":120793511363608.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877509684492042240,"description":"Unknown IO ID 45"} 
[2026-08-19 17:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507950592001,"power":13461,"unknown_207":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8877509684492042240}} 
[2026-08-19 17:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":160287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:25:34] local.INFO: GPS data processed {"connection_id":160287,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:25:34] local.INFO: Acknowledgment sent {"connection_id":160287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:25:36] local.INFO: TCP Data received {"connection_id":160288,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:25:36] local.INFO: Processing buffer {"connection_id":160288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dbbfb8012ceb5f800713b858001400a127..."} 
[2026-08-19 17:25:36] local.INFO: Packet analysis {"connection_id":160288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:25:36] local.INFO: Extracted packet for processing {"connection_id":160288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019db"} 
[2026-08-19 17:25:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507820032001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:25:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590080000,"note":"Value kept but may cause issues"} 
[2026-08-19 17:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787140227000,"timestamp_ms":1787140227000,"timestamp_seconds":1787140227,"priority":1,"record_length":96,"hex_timestamp":"000001a019dbbfb8"} 
[2026-08-19 17:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 17:25:36] 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-08-19 17:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507820032001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486750796590080000},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507820032001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:25:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:25:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590080000,"description":"Unknown IO ID 44"} 
[2026-08-19 17:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507820032001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486750796590080000}} 
[2026-08-19 17:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":160288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:25:36] local.INFO: GPS data processed {"connection_id":160288,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:25:36] local.INFO: Acknowledgment sent {"connection_id":160288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:26:03] local.INFO: TCP Data received {"connection_id":157754,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:26:03] local.INFO: Processing buffer {"connection_id":157754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:26:03] local.INFO: IMEI packet received {"connection_id":157754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":157754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:26:05] local.INFO: TCP Data received {"connection_id":157754,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:26:05] local.INFO: Processing buffer {"connection_id":157754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:26:05] local.INFO: IMEI packet received {"connection_id":157754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":157754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:26:06] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e076c0012d7b5a0005e1b2700001005911..."} 
[2026-08-19 17:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e076c0012d7b5a0005e1b2700001005911..."} 
[2026-08-19 17:26:06] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e076c0012d7b5a0005e1b2700001005911..."} 
[2026-08-19 17:26:06] local.INFO: Packet analysis {"connection_id":160287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:26:06] local.INFO: Extracted packet for processing {"connection_id":160287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763058688,"raw_latitude":98677360,"longitude_deg":76.3058688,"latitude_deg":9.867736,"altitude":1,"angle":89,"satellites":17,"speed":22,"hex_longitude":"2d7b5a00","hex_latitude":"05e1b270","is_valid_coordinates":true} 
[2026-08-19 17:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507975936001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885250246342356992,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120795431213989888,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-19 17:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787140536000,"timestamp_ms":1787140536000,"timestamp_seconds":1787140536,"priority":1,"record_length":96,"hex_timestamp":"000001a019e076c0"} 
[2026-08-19 17:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:26: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-08-19 17:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-19 17:26: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-08-19 17:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507975936001,"66":13374,"45":8885250246342356992,"85":15104,"24":22,"16":120795431213989888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-19 17:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507975936001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885250246342356992,"description":"Unknown IO ID 45"} 
[2026-08-19 17:26:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120795431213989888,"km_value":120795431213989.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:26:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457507975936001,"power":13374,"unknown_45":8885250246342356992,"unknown_85":15104,"ignition":22,"odometer":null}} 
[2026-08-19 17:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":160287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:26:06] local.INFO: GPS data processed {"connection_id":160287,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:26:06] local.INFO: Acknowledgment sent {"connection_id":160287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:26:07] local.INFO: TCP Data received {"connection_id":157754,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:26:07] local.INFO: Processing buffer {"connection_id":157754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:26:07] local.INFO: Packet analysis {"connection_id":157754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:26:07] local.INFO: Extracted packet for processing {"connection_id":157754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:26:07] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507898112001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787140528000,"timestamp_ms":1787140528000,"timestamp_seconds":1787140528,"priority":1,"record_length":96,"hex_timestamp":"000001a019e05780"} 
[2026-08-19 17:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507898112001,"66":26039,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507898112001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:26:07] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:26:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507898112001,"power":26039,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":157754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:26:07] local.INFO: GPS data processed {"connection_id":157754,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:26:07] local.INFO: Acknowledgment sent {"connection_id":157754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:26:08] local.INFO: TCP Data received {"connection_id":158973,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:26:08] local.INFO: Processing buffer {"connection_id":158973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:26:08] local.INFO: IMEI packet received {"connection_id":158973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":158973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:26:09] local.INFO: TCP Data received {"connection_id":157754,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:26:09] local.INFO: Processing buffer {"connection_id":157754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:26:09] local.INFO: Packet analysis {"connection_id":157754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:26:09] local.INFO: Extracted packet for processing {"connection_id":157754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:26:09] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507898112001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787140528000,"timestamp_ms":1787140528000,"timestamp_seconds":1787140528,"priority":1,"record_length":96,"hex_timestamp":"000001a019e05780"} 
[2026-08-19 17:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507898112001,"66":26039,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507898112001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:26:09] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:26:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507898112001,"power":26039,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":157754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:26:09] local.INFO: GPS data processed {"connection_id":157754,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:26:09] local.INFO: Acknowledgment sent {"connection_id":157754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:26:12] local.INFO: TCP Data received {"connection_id":158973,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:26:12] local.INFO: Processing buffer {"connection_id":158973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:26:12] local.INFO: IMEI packet received {"connection_id":158973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":158973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:26:13] local.INFO: TCP Data received {"connection_id":158973,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019dfc6f8012d182bc007219ae8004c012e20..."} 
[2026-08-19 17:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019dfc6f8012d182bc007219ae8004c012e20..."} 
[2026-08-19 17:26:13] local.INFO: Processing buffer {"connection_id":158973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019dfc6f8012d182bc007219ae8004c012e20..."} 
[2026-08-19 17:26:13] local.INFO: Packet analysis {"connection_id":158973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019df"} 
[2026-08-19 17:26:13] local.INFO: Extracted packet for processing {"connection_id":158973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019df"} 
[2026-08-19 17:26:13] local.INFO: GPS Element Parsed {"raw_longitude":756558784,"raw_latitude":119642856,"longitude_deg":75.6558784,"latitude_deg":11.9642856,"altitude":76,"angle":302,"satellites":32,"speed":21,"hex_longitude":"2d182bc0","hex_latitude":"07219ae8","is_valid_coordinates":true} 
[2026-08-19 17:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507960832001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13929575373340672,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746904104838494208,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787140491000,"timestamp_ms":1787140491000,"timestamp_seconds":1787140491,"priority":1,"record_length":96,"hex_timestamp":"000001a019dfc6f8"} 
[2026-08-19 17:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:26:13] 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-08-19 17:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 17:26:13] 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-08-19 17:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:26:13] 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-08-19 17:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507960832001,"66":13993,"105":206,"83":41984,"24":21,"16":13929575373340672,"45":1746904104838494208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507960832001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:26:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:26:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13929575373340672,"km_value":13929575373340.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746904104838494208,"description":"Unknown IO ID 45"} 
[2026-08-19 17:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507960832001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1746904104838494208}} 
[2026-08-19 17:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":158973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:26:13] local.INFO: GPS data processed {"connection_id":158973,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:26:13] local.INFO: Acknowledgment sent {"connection_id":158973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:26:38] local.INFO: TCP Data received {"connection_id":158102,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:26:38] local.INFO: Processing buffer {"connection_id":158102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:26:38] local.INFO: IMEI packet received {"connection_id":158102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":158102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:26:41] local.INFO: TCP Data received {"connection_id":158102,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:26:41] local.INFO: Processing buffer {"connection_id":158102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:26:41] local.INFO: IMEI packet received {"connection_id":158102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":158102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:26:41] local.INFO: TCP Data received {"connection_id":157754,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:26:41] local.INFO: Processing buffer {"connection_id":157754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:26:41] local.INFO: Packet analysis {"connection_id":157754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:26:41] local.INFO: Extracted packet for processing {"connection_id":157754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:26:41] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507898112001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787140528000,"timestamp_ms":1787140528000,"timestamp_seconds":1787140528,"priority":1,"record_length":96,"hex_timestamp":"000001a019e05780"} 
[2026-08-19 17:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507898112001,"66":26039,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507898112001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:26:41] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507898112001,"power":26039,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":157754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:26:41] local.INFO: GPS data processed {"connection_id":157754,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:26:41] local.INFO: Acknowledgment sent {"connection_id":157754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:26:44] local.INFO: TCP Data received {"connection_id":158973,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e0a988012d1821800721a550004c008a22..."} 
[2026-08-19 17:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e0a988012d1821800721a550004c008a22..."} 
[2026-08-19 17:26:44] local.INFO: Processing buffer {"connection_id":158973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e0a988012d1821800721a550004c008a22..."} 
[2026-08-19 17:26:44] local.INFO: Packet analysis {"connection_id":158973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:26:44] local.INFO: Extracted packet for processing {"connection_id":158973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119645520,"longitude_deg":75.655616,"latitude_deg":11.964552,"altitude":76,"angle":138,"satellites":34,"speed":13,"hex_longitude":"2d182180","hex_latitude":"0721a550","is_valid_coordinates":true} 
[2026-08-19 17:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507980032001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13929871726084096,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050177024,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787140549000,"timestamp_ms":1787140549000,"timestamp_seconds":1787140549,"priority":1,"record_length":96,"hex_timestamp":"000001a019e0a988"} 
[2026-08-19 17:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-19 17:26:44] 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-08-19 17:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:26:44] 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-08-19 17:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507980032001,"66":14211,"105":206,"83":41984,"24":13,"16":13929871726084096,"45":1738319118050177024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507980032001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:26:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:26:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13929871726084096,"km_value":13929871726084.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050177024,"description":"Unknown IO ID 45"} 
[2026-08-19 17:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507980032001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1738319118050177024}} 
[2026-08-19 17:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":158973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:26:44] local.INFO: GPS data processed {"connection_id":158973,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:26:44] local.INFO: Acknowledgment sent {"connection_id":158973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:26:45] local.INFO: TCP Data received {"connection_id":158102,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:26:45] local.INFO: Processing buffer {"connection_id":158102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:26:45] local.INFO: IMEI packet received {"connection_id":158102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":158102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:26:45] local.INFO: TCP Data received {"connection_id":158102,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e0c4e0012d7b754005e1b5d00006005711..."} 
[2026-08-19 17:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e0c4e0012d7b754005e1b5d00006005711..."} 
[2026-08-19 17:26:45] local.INFO: Processing buffer {"connection_id":158102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e0c4e0012d7b754005e1b5d00006005711..."} 
[2026-08-19 17:26:45] local.INFO: Packet analysis {"connection_id":158102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:26:45] local.INFO: Extracted packet for processing {"connection_id":158102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:26:45] local.INFO: GPS Element Parsed {"raw_longitude":763065664,"raw_latitude":98678224,"longitude_deg":76.3065664,"latitude_deg":9.8678224,"altitude":6,"angle":87,"satellites":17,"speed":10,"hex_longitude":"2d7b7540","hex_latitude":"05e1b5d0","is_valid_coordinates":true} 
[2026-08-19 17:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507977216001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888416839830499328,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120795766221438976,"note":"Value kept but may cause issues"} 
[2026-08-19 17:26: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-08-19 17:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787140556000,"timestamp_ms":1787140556000,"timestamp_seconds":1787140556,"priority":1,"record_length":96,"hex_timestamp":"000001a019e0c4e0"} 
[2026-08-19 17:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 17:26:45] 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-08-19 17:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:26:45] 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-08-19 17:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507977216001,"66":13515,"45":8888416839830499328,"85":15104,"24":10,"16":120795766221438976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-19 17:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507977216001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888416839830499328,"description":"Unknown IO ID 45"} 
[2026-08-19 17:26:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120795766221438976,"km_value":120795766221438.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:26:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457507977216001,"power":13515,"unknown_45":8888416839830499328,"unknown_85":15104,"ignition":10,"odometer":null}} 
[2026-08-19 17:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":158102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:26:46] local.INFO: GPS data processed {"connection_id":158102,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:26:46] local.INFO: Acknowledgment sent {"connection_id":158102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:26:58] local.INFO: TCP Data received {"connection_id":160289,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:26:58] local.INFO: Processing buffer {"connection_id":160289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:26:58] local.INFO: IMEI packet received {"connection_id":160289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":160289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:27:04] local.INFO: TCP Data received {"connection_id":160289,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:27:04] local.INFO: Processing buffer {"connection_id":160289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:27:04] local.INFO: IMEI packet received {"connection_id":160289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":160289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:27:05] local.INFO: TCP Data received {"connection_id":160289,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:27:05] local.INFO: Processing buffer {"connection_id":160289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:27:05] local.INFO: Packet analysis {"connection_id":160289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:27:05] local.INFO: Extracted packet for processing {"connection_id":160289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:27:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507898112001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787140528000,"timestamp_ms":1787140528000,"timestamp_seconds":1787140528,"priority":1,"record_length":96,"hex_timestamp":"000001a019e05780"} 
[2026-08-19 17:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507898112001,"66":26039,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507898112001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:27:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:27:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507898112001,"power":26039,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":160289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:27:05] local.INFO: GPS data processed {"connection_id":160289,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:27:05] local.INFO: Acknowledgment sent {"connection_id":160289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:27:06] local.INFO: TCP Data received {"connection_id":160290,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:27:06] local.INFO: Processing buffer {"connection_id":160290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:27:06] local.INFO: IMEI packet received {"connection_id":160290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":160290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:27:08] local.INFO: TCP Data received {"connection_id":160290,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:27:08] local.INFO: Processing buffer {"connection_id":160290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:27:08] local.INFO: IMEI packet received {"connection_id":160290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":160290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:27:13] local.INFO: TCP Data received {"connection_id":160290,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:27:13] local.INFO: Processing buffer {"connection_id":160290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:27:13] local.INFO: IMEI packet received {"connection_id":160290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":160290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:27:14] local.INFO: TCP Data received {"connection_id":160290,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e0d868012d182f80072197c8004e00781f..."} 
[2026-08-19 17:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e0d868012d182f80072197c8004e00781f..."} 
[2026-08-19 17:27:14] local.INFO: Processing buffer {"connection_id":160290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e0d868012d182f80072197c8004e00781f..."} 
[2026-08-19 17:27:14] local.INFO: Packet analysis {"connection_id":160290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:27:14] local.INFO: Extracted packet for processing {"connection_id":160290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:27:14] local.INFO: GPS Element Parsed {"raw_longitude":756559744,"raw_latitude":119642056,"longitude_deg":75.6559744,"latitude_deg":11.9642056,"altitude":78,"angle":120,"satellites":31,"speed":26,"hex_longitude":"2d182f80","hex_latitude":"072197c8","is_valid_coordinates":true} 
[2026-08-19 17:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507980544001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13930112244252672,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259330560,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:14] 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-08-19 17:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787140561000,"timestamp_ms":1787140561000,"timestamp_seconds":1787140561,"priority":1,"record_length":96,"hex_timestamp":"000001a019e0d868"} 
[2026-08-19 17:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:27: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-08-19 17:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 17:27:14] 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-08-19 17:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:27:14] 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-08-19 17:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507980544001,"66":13961,"106":206,"83":41984,"24":26,"16":13930112244252672,"45":1738811699259330560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507980544001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:27:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:27:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13930112244252672,"km_value":13930112244252.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259330560,"description":"Unknown IO ID 45"} 
[2026-08-19 17:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507980544001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1738811699259330560}} 
[2026-08-19 17:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":160290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:27:14] local.INFO: GPS data processed {"connection_id":160290,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:27:14] local.INFO: Acknowledgment sent {"connection_id":160290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:27:17] local.INFO: TCP Data received {"connection_id":158102,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e0d868012d7b7dc005e1b730000b004b11..."} 
[2026-08-19 17:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e0d868012d7b7dc005e1b730000b004b11..."} 
[2026-08-19 17:27:17] local.INFO: Processing buffer {"connection_id":158102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e0d868012d7b7dc005e1b730000b004b11..."} 
[2026-08-19 17:27:17] local.INFO: Packet analysis {"connection_id":158102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:27:17] local.INFO: Extracted packet for processing {"connection_id":158102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:27:17] local.INFO: GPS Element Parsed {"raw_longitude":763067840,"raw_latitude":98678576,"longitude_deg":76.306784,"latitude_deg":9.8678576,"altitude":11,"angle":75,"satellites":17,"speed":21,"hex_longitude":"2d7b7dc0","hex_latitude":"05e1b730","is_valid_coordinates":true} 
[2026-08-19 17:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507982336001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896087032946085888,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120795873595621376,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:17] 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-08-19 17:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787140561000,"timestamp_ms":1787140561000,"timestamp_seconds":1787140561,"priority":1,"record_length":96,"hex_timestamp":"000001a019e0d868"} 
[2026-08-19 17:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:27:17] 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-08-19 17:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-19 17:27:17] 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-08-19 17:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:27:17] 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-08-19 17:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507982336001,"66":13406,"45":8896087032946085888,"85":15104,"24":21,"16":120795873595621376},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-19 17:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507982336001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896087032946085888,"description":"Unknown IO ID 45"} 
[2026-08-19 17:27:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120795873595621376,"km_value":120795873595621.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:27:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457507982336001,"power":13406,"unknown_45":8896087032946085888,"unknown_85":15104,"ignition":21,"odometer":null}} 
[2026-08-19 17:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":158102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:27:17] local.INFO: GPS data processed {"connection_id":158102,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:27:17] local.INFO: Acknowledgment sent {"connection_id":158102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:27:37] local.INFO: TCP Data received {"connection_id":160289,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:27:37] local.INFO: Processing buffer {"connection_id":160289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:27:37] local.INFO: Packet analysis {"connection_id":160289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:27:37] local.INFO: Extracted packet for processing {"connection_id":160289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:27:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507898112001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787140528000,"timestamp_ms":1787140528000,"timestamp_seconds":1787140528,"priority":1,"record_length":96,"hex_timestamp":"000001a019e05780"} 
[2026-08-19 17:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507898112001,"66":26039,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507898112001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:27:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:27:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507898112001,"power":26039,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":160289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:27:37] local.INFO: GPS data processed {"connection_id":160289,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:27:37] local.INFO: Acknowledgment sent {"connection_id":160289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:27:41] local.INFO: TCP Data received {"connection_id":158974,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:27:41] local.INFO: Processing buffer {"connection_id":158974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:27:41] local.INFO: IMEI packet received {"connection_id":158974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":158974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:27:44] local.INFO: TCP Data received {"connection_id":158974,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:27:44] local.INFO: Processing buffer {"connection_id":158974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:27:44] local.INFO: IMEI packet received {"connection_id":158974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":158974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:27:45] local.INFO: TCP Data received {"connection_id":160290,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e0e038012d18350007219598004f006d1f..."} 
[2026-08-19 17:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e0e038012d18350007219598004f006d1f..."} 
[2026-08-19 17:27:45] local.INFO: Processing buffer {"connection_id":160290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e0e038012d18350007219598004f006d1f..."} 
[2026-08-19 17:27:45] local.INFO: Packet analysis {"connection_id":160290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:27:45] local.INFO: Extracted packet for processing {"connection_id":160290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:27:45] local.INFO: GPS Element Parsed {"raw_longitude":756561152,"raw_latitude":119641496,"longitude_deg":75.6561152,"latitude_deg":11.9641496,"altitude":79,"angle":109,"satellites":31,"speed":30,"hex_longitude":"2d183500","hex_latitude":"07219598","is_valid_coordinates":true} 
[2026-08-19 17:27: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-08-19 17:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507983616001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13930185258696704,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742752348932392960,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:45] 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-08-19 17:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787140563000,"timestamp_ms":1787140563000,"timestamp_seconds":1787140563,"priority":1,"record_length":96,"hex_timestamp":"000001a019e0e038"} 
[2026-08-19 17:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:27: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-08-19 17:27: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":137,"data_length":795,"current_offset":136} 
[2026-08-19 17:27:45] 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-08-19 17:27: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-08-19 17:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:27:45] 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-08-19 17:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507983616001,"66":13993,"106":206,"83":41984,"24":30,"16":13930185258696704,"45":1742752348932392960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507983616001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:27:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:27:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13930185258696704,"km_value":13930185258696.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742752348932392960,"description":"Unknown IO ID 45"} 
[2026-08-19 17:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507983616001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1742752348932392960}} 
[2026-08-19 17:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":160290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:27:45] local.INFO: GPS data processed {"connection_id":160290,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:27:45] local.INFO: Acknowledgment sent {"connection_id":160290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:27:46] local.INFO: TCP Data received {"connection_id":158974,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:27:46] local.INFO: Processing buffer {"connection_id":158974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:27:46] local.INFO: IMEI packet received {"connection_id":158974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":158974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:27:47] local.INFO: TCP Data received {"connection_id":158974,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e218b8012d7c378005e1df480005003d12..."} 
[2026-08-19 17:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e218b8012d7c378005e1df480005003d12..."} 
[2026-08-19 17:27:47] local.INFO: Processing buffer {"connection_id":158974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e218b8012d7c378005e1df480005003d12..."} 
[2026-08-19 17:27:47] local.INFO: Packet analysis {"connection_id":158974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e2"} 
[2026-08-19 17:27:47] local.INFO: Extracted packet for processing {"connection_id":158974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e2"} 
[2026-08-19 17:27:47] local.INFO: GPS Element Parsed {"raw_longitude":763115392,"raw_latitude":98688840,"longitude_deg":76.3115392,"latitude_deg":9.868884,"altitude":5,"angle":61,"satellites":18,"speed":23,"hex_longitude":"2d7c3780","hex_latitude":"05e1df48","is_valid_coordinates":true} 
[2026-08-19 17:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508002560001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944289622710468608,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120798283072274432,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:47] 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-08-19 17:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787140643000,"timestamp_ms":1787140643000,"timestamp_seconds":1787140643,"priority":1,"record_length":96,"hex_timestamp":"000001a019e218b8"} 
[2026-08-19 17:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:27:47] 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-08-19 17:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 17:27:47] 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-08-19 17:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:27:47] 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-08-19 17:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508002560001,"66":13472,"45":8944289622710468608,"85":15104,"24":23,"16":120798283072274432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-19 17:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508002560001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944289622710468608,"description":"Unknown IO ID 45"} 
[2026-08-19 17:27:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120798283072274432,"km_value":120798283072274.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:27:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457508002560001,"power":13472,"unknown_45":8944289622710468608,"unknown_85":15104,"ignition":23,"odometer":null}} 
[2026-08-19 17:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":158974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:27:47] local.INFO: GPS data processed {"connection_id":158974,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:27:47] local.INFO: Acknowledgment sent {"connection_id":158974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:27:48] local.INFO: TCP Data received {"connection_id":158974,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e22088012d7c3bc005e1e2500004002c12..."} 
[2026-08-19 17:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e22088012d7c3bc005e1e2500004002c12..."} 
[2026-08-19 17:27:48] local.INFO: Processing buffer {"connection_id":158974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e22088012d7c3bc005e1e2500004002c12..."} 
[2026-08-19 17:27:48] local.INFO: Packet analysis {"connection_id":158974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e2"} 
[2026-08-19 17:27:48] local.INFO: Extracted packet for processing {"connection_id":158974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e2"} 
[2026-08-19 17:27:48] local.INFO: GPS Element Parsed {"raw_longitude":763116480,"raw_latitude":98689616,"longitude_deg":76.311648,"latitude_deg":9.8689616,"altitude":4,"angle":44,"satellites":18,"speed":24,"hex_longitude":"2d7c3bc0","hex_latitude":"05e1e250","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508004608001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950763547174848512,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120798347496783872,"note":"Value kept but may cause issues"} 
[2026-08-19 17:27:48] 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-08-19 17:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787140645000,"timestamp_ms":1787140645000,"timestamp_seconds":1787140645,"priority":1,"record_length":96,"hex_timestamp":"000001a019e22088"} 
[2026-08-19 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-08-19 17:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-19 17:27:48] 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-08-19 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-08-19 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-08-19 17:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":158974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":158974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":158974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:27:48] 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-08-19 17:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508004608001,"66":13580,"45":8950763547174848512,"85":15104,"24":24,"16":120798347496783872},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-19 17:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508004608001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950763547174848512,"description":"Unknown IO ID 45"} 
[2026-08-19 17:27:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120798347496783872,"km_value":120798347496783.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:27:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457508004608001,"power":13580,"unknown_45":8950763547174848512,"unknown_85":15104,"ignition":24,"odometer":null}} 
[2026-08-19 17:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":158974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:27:48] local.INFO: GPS data processed {"connection_id":158974,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:27:48] local.INFO: Acknowledgment sent {"connection_id":158974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:28:04] local.INFO: TCP Data received {"connection_id":157755,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:28:04] local.INFO: Processing buffer {"connection_id":157755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:28:04] local.INFO: IMEI packet received {"connection_id":157755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":157755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:28:05] local.INFO: TCP Data received {"connection_id":157755,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:28:05] local.INFO: Processing buffer {"connection_id":157755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:28:05] local.INFO: Packet analysis {"connection_id":157755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:28:05] local.INFO: Extracted packet for processing {"connection_id":157755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:28:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507898112001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787140528000,"timestamp_ms":1787140528000,"timestamp_seconds":1787140528,"priority":1,"record_length":96,"hex_timestamp":"000001a019e05780"} 
[2026-08-19 17:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507898112001,"66":26039,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507898112001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:28:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:28:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507898112001,"power":26039,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":157755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:28:05] local.INFO: GPS data processed {"connection_id":157755,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:28:05] local.INFO: Acknowledgment sent {"connection_id":157755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:28:08] local.INFO: TCP Data received {"connection_id":158103,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:28:08] local.INFO: Processing buffer {"connection_id":158103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:28:08] local.INFO: IMEI packet received {"connection_id":158103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":158103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:28:09] local.INFO: TCP Data received {"connection_id":158103,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:28:09] local.INFO: Processing buffer {"connection_id":158103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:28:09] local.INFO: IMEI packet received {"connection_id":158103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":158103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:28:13] local.INFO: TCP Data received {"connection_id":158103,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:28:13] local.INFO: Processing buffer {"connection_id":158103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:28:13] local.INFO: IMEI packet received {"connection_id":158103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":158103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:28:14] local.INFO: TCP Data received {"connection_id":158103,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e10748012d1855c007218870004f007421..."} 
[2026-08-19 17:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e10748012d1855c007218870004f007421..."} 
[2026-08-19 17:28:14] local.INFO: Processing buffer {"connection_id":158103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e10748012d1855c007218870004f007421..."} 
[2026-08-19 17:28:14] local.INFO: Packet analysis {"connection_id":158103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e1"} 
[2026-08-19 17:28:14] local.INFO: Extracted packet for processing {"connection_id":158103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e1"} 
[2026-08-19 17:28:14] local.INFO: GPS Element Parsed {"raw_longitude":756569536,"raw_latitude":119638128,"longitude_deg":75.6569536,"latitude_deg":11.9638128,"altitude":79,"angle":116,"satellites":33,"speed":41,"hex_longitude":"2d1855c0","hex_latitude":"07218870","is_valid_coordinates":true} 
[2026-08-19 17:28: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-08-19 17:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507984128001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13930614755426304,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744300461304158208,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:14] 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-08-19 17:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787140573000,"timestamp_ms":1787140573000,"timestamp_seconds":1787140573,"priority":1,"record_length":96,"hex_timestamp":"000001a019e10748"} 
[2026-08-19 17:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:28: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-08-19 17:28: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 17:28:14] 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-08-19 17:28: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-08-19 17:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:28:14] 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-08-19 17:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507984128001,"66":13993,"106":206,"83":41984,"24":41,"16":13930614755426304,"45":1744300461304158208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507984128001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:28:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:28:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13930614755426304,"km_value":13930614755426.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744300461304158208,"description":"Unknown IO ID 45"} 
[2026-08-19 17:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507984128001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1744300461304158208}} 
[2026-08-19 17:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":158103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:28:14] local.INFO: GPS data processed {"connection_id":158103,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:28:14] local.INFO: Acknowledgment sent {"connection_id":158103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:28:19] local.INFO: TCP Data received {"connection_id":158974,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e22858012d7c3e4005e1e6480004001f12..."} 
[2026-08-19 17:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e22858012d7c3e4005e1e6480004001f12..."} 
[2026-08-19 17:28:19] local.INFO: Processing buffer {"connection_id":158974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e22858012d7c3e4005e1e6480004001f12..."} 
[2026-08-19 17:28:19] local.INFO: Packet analysis {"connection_id":158974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e2"} 
[2026-08-19 17:28:19] local.INFO: Extracted packet for processing {"connection_id":158974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e2"} 
[2026-08-19 17:28:19] local.INFO: GPS Element Parsed {"raw_longitude":763117120,"raw_latitude":98690632,"longitude_deg":76.311712,"latitude_deg":9.8690632,"altitude":4,"angle":31,"satellites":18,"speed":25,"hex_longitude":"2d7c3e40","hex_latitude":"05e1e648","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508005120001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951959815826067456,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120798407626326016,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:19] 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-08-19 17:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787140647000,"timestamp_ms":1787140647000,"timestamp_seconds":1787140647,"priority":1,"record_length":96,"hex_timestamp":"000001a019e22858"} 
[2026-08-19 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-08-19 17:28:19] 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-08-19 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 17:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623464,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3789326336,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:19] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":38913,"corrected_to":0} 
[2026-08-19 17:28:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5969447638800531456,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:19] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13454893,"corrected_to":0} 
[2026-08-19 17:28:19] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3087007744,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:19] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3701473287,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:19] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634926807928365,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-08-19 17:28:19] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376782,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:19] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:19] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-3566844437285306361,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:19] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864916864101305941,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:19] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:19] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,45,85,24,241,157,16,41,160,128,223,5,18,10,66,249,222,6,202,192,1,240,203,227,40,25,225,4,113,205,144,214,112,17,239,52,2,173,7,123,53,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":202,"original":38913,"validated":0},{"io_id":203,"original":13454893,"validated":0},{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-08-19 17:28:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288278831974318080,"timestamp_seconds":288278831974318.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 17:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:28:19] 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-08-19 17:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508005120001,"66":13406,"45":8951959815826067456,"85":15104,"24":25,"16":120798407626326016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-19 17:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508005120001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951959815826067456,"description":"Unknown IO ID 45"} 
[2026-08-19 17:28:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120798407626326016,"km_value":120798407626326.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:28:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457508005120001,"power":13406,"unknown_45":8951959815826067456,"unknown_85":15104,"ignition":25,"odometer":null}} 
[2026-08-19 17:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":158974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:28:19] local.INFO: GPS data processed {"connection_id":158974,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:28:19] local.INFO: Acknowledgment sent {"connection_id":158974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:28:37] local.INFO: TCP Data received {"connection_id":157755,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:28:37] local.INFO: Processing buffer {"connection_id":157755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:28:37] local.INFO: Packet analysis {"connection_id":157755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:28:37] local.INFO: Extracted packet for processing {"connection_id":157755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:28:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507898112001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787140528000,"timestamp_ms":1787140528000,"timestamp_seconds":1787140528,"priority":1,"record_length":96,"hex_timestamp":"000001a019e05780"} 
[2026-08-19 17:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507898112001,"66":26039,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507898112001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:28:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:28:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507898112001,"power":26039,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":157755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:28:37] local.INFO: GPS data processed {"connection_id":157755,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:28:37] local.INFO: Acknowledgment sent {"connection_id":157755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:28:42] local.INFO: TCP Data received {"connection_id":158104,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:28:42] local.INFO: Processing buffer {"connection_id":158104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:28:42] local.INFO: IMEI packet received {"connection_id":158104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":158104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:28:45] local.INFO: TCP Data received {"connection_id":158103,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e116e8012d18654007218270004e00641f..."} 
[2026-08-19 17:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e116e8012d18654007218270004e00641f..."} 
[2026-08-19 17:28:45] local.INFO: Processing buffer {"connection_id":158103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e116e8012d18654007218270004e00641f..."} 
[2026-08-19 17:28:45] local.INFO: Packet analysis {"connection_id":158103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e1"} 
[2026-08-19 17:28:45] local.INFO: Extracted packet for processing {"connection_id":158103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e1"} 
[2026-08-19 17:28:45] local.INFO: GPS Element Parsed {"raw_longitude":756573504,"raw_latitude":119636592,"longitude_deg":75.6573504,"latitude_deg":11.9636592,"altitude":78,"angle":100,"satellites":31,"speed":40,"hex_longitude":"2d186540","hex_latitude":"07218270","is_valid_coordinates":true} 
[2026-08-19 17:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507986688001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13930816618889216,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753518766790569984,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:45] 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-08-19 17:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787140577000,"timestamp_ms":1787140577000,"timestamp_seconds":1787140577,"priority":1,"record_length":96,"hex_timestamp":"000001a019e116e8"} 
[2026-08-19 17:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:28: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-08-19 17:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 17:28: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-08-19 17:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:28:45] 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-08-19 17:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507986688001,"66":14004,"106":206,"83":41984,"24":40,"16":13930816618889216,"45":1753518766790569984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507986688001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:28:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:28:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13930816618889216,"km_value":13930816618889.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753518766790569984,"description":"Unknown IO ID 45"} 
[2026-08-19 17:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507986688001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1753518766790569984}} 
[2026-08-19 17:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":158103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:28:45] local.INFO: GPS data processed {"connection_id":158103,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:28:45] local.INFO: Acknowledgment sent {"connection_id":158103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:28:46] local.INFO: TCP Data received {"connection_id":158104,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:28:46] local.INFO: Processing buffer {"connection_id":158104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:28:46] local.INFO: IMEI packet received {"connection_id":158104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":158104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:28:47] local.INFO: TCP Data received {"connection_id":158104,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e23be0012d7c458005e1f0680004002f12..."} 
[2026-08-19 17:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e23be0012d7c458005e1f0680004002f12..."} 
[2026-08-19 17:28:47] local.INFO: Processing buffer {"connection_id":158104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e23be0012d7c458005e1f0680004002f12..."} 
[2026-08-19 17:28:47] local.INFO: Packet analysis {"connection_id":158104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e2"} 
[2026-08-19 17:28:47] local.INFO: Extracted packet for processing {"connection_id":158104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e2"} 
[2026-08-19 17:28:47] local.INFO: GPS Element Parsed {"raw_longitude":763118976,"raw_latitude":98693224,"longitude_deg":76.3118976,"latitude_deg":9.8693224,"altitude":4,"angle":47,"satellites":18,"speed":24,"hex_longitude":"2d7c4580","hex_latitude":"05e1f068","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508005632001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952663503268104192,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120798562245148672,"note":"Value kept but may cause issues"} 
[2026-08-19 17:28:47] 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-08-19 17:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787140652000,"timestamp_ms":1787140652000,"timestamp_seconds":1787140652,"priority":1,"record_length":96,"hex_timestamp":"000001a019e23be0"} 
[2026-08-19 17:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-19 17:28:47] 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-08-19 17: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-08-19 17:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:28:47] 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-08-19 17:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508005632001,"66":13526,"45":8952663503268104192,"85":15104,"24":24,"16":120798562245148672},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-19 17:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508005632001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952663503268104192,"description":"Unknown IO ID 45"} 
[2026-08-19 17:28:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120798562245148672,"km_value":120798562245148.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:28:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457508005632001,"power":13526,"unknown_45":8952663503268104192,"unknown_85":15104,"ignition":24,"odometer":null}} 
[2026-08-19 17:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":158104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:28:47] local.INFO: GPS data processed {"connection_id":158104,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:28:47] local.INFO: Acknowledgment sent {"connection_id":158104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:28:59] local.INFO: TCP Data received {"connection_id":158975,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:28:59] local.INFO: Processing buffer {"connection_id":158975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:28:59] local.INFO: IMEI packet received {"connection_id":158975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":158975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:29:04] local.INFO: TCP Data received {"connection_id":158975,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:29:04] local.INFO: Processing buffer {"connection_id":158975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:29:04] local.INFO: IMEI packet received {"connection_id":158975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":158975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:29:05] local.INFO: TCP Data received {"connection_id":158975,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:29:05] local.INFO: Processing buffer {"connection_id":158975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:29:05] local.INFO: Packet analysis {"connection_id":158975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:29:05] local.INFO: Extracted packet for processing {"connection_id":158975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:29:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507898112001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787140528000,"timestamp_ms":1787140528000,"timestamp_seconds":1787140528,"priority":1,"record_length":96,"hex_timestamp":"000001a019e05780"} 
[2026-08-19 17:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507898112001,"66":26039,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507898112001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:29:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:29:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507898112001,"power":26039,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":158975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:29:05] local.INFO: GPS data processed {"connection_id":158975,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:29:05] local.INFO: Acknowledgment sent {"connection_id":158975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:29:09] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:29:09] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:29:09] local.INFO: IMEI packet received {"connection_id":160291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":160291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:29:09] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:29:09] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:29:09] local.INFO: IMEI packet received {"connection_id":160291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":160291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:29:11] local.INFO: TCP Data received {"connection_id":158975,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:29:11] local.INFO: Processing buffer {"connection_id":158975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:29:11] local.INFO: Packet analysis {"connection_id":158975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:29:11] local.INFO: Extracted packet for processing {"connection_id":158975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:29:11] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507898112001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787140528000,"timestamp_ms":1787140528000,"timestamp_seconds":1787140528,"priority":1,"record_length":96,"hex_timestamp":"000001a019e05780"} 
[2026-08-19 17:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507898112001,"66":26039,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507898112001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:29:11] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507898112001,"power":26039,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":158975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:29:11] local.INFO: GPS data processed {"connection_id":158975,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:29:11] local.INFO: Acknowledgment sent {"connection_id":158975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:29:12] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:29:12] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:29:12] local.INFO: IMEI packet received {"connection_id":160291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":160291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:29:13] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e2c498012d18c240072154700045009825..."} 
[2026-08-19 17:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e2c498012d18c240072154700045009825..."} 
[2026-08-19 17:29:13] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e2c498012d18c240072154700045009825..."} 
[2026-08-19 17:29:13] local.INFO: Packet analysis {"connection_id":160291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e2"} 
[2026-08-19 17:29:13] local.INFO: Extracted packet for processing {"connection_id":160291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e2"} 
[2026-08-19 17:29:13] local.INFO: GPS Element Parsed {"raw_longitude":756597312,"raw_latitude":119624816,"longitude_deg":75.6597312,"latitude_deg":11.9624816,"altitude":69,"angle":152,"satellites":37,"speed":29,"hex_longitude":"2d18c240","hex_latitude":"07215470","is_valid_coordinates":true} 
[2026-08-19 17:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508012800001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13932182418489344,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778429302227865600,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787140687000,"timestamp_ms":1787140687000,"timestamp_seconds":1787140687,"priority":1,"record_length":96,"hex_timestamp":"000001a019e2c498"} 
[2026-08-19 17:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:29:13] 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-08-19 17:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 17:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:29:13] 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-08-19 17:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508012800001,"66":12885,"106":206,"83":41984,"24":29,"16":13932182418489344,"45":1778429302227865600},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508012800001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:29:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:29:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13932182418489344,"km_value":13932182418489.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778429302227865600,"description":"Unknown IO ID 45"} 
[2026-08-19 17:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508012800001,"power":12885,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1778429302227865600}} 
[2026-08-19 17:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":160291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:29:13] local.INFO: GPS data processed {"connection_id":160291,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:29:13] local.INFO: Acknowledgment sent {"connection_id":160291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:29:18] local.INFO: TCP Data received {"connection_id":158104,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e3c668012d7cda8005e207f8000a004914..."} 
[2026-08-19 17:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e3c668012d7cda8005e207f8000a004914..."} 
[2026-08-19 17:29:18] local.INFO: Processing buffer {"connection_id":158104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e3c668012d7cda8005e207f8000a004914..."} 
[2026-08-19 17:29:18] local.INFO: Packet analysis {"connection_id":158104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e3"} 
[2026-08-19 17:29:18] local.INFO: Extracted packet for processing {"connection_id":158104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e3"} 
[2026-08-19 17:29:18] local.INFO: GPS Element Parsed {"raw_longitude":763157120,"raw_latitude":98699256,"longitude_deg":76.315712,"latitude_deg":9.8699256,"altitude":10,"angle":73,"satellites":20,"speed":0,"hex_longitude":"2d7cda80","hex_latitude":"05e207f8","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508027392001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120800623829450752,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996643968381351936,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:18] 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-08-19 17:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787140753000,"timestamp_ms":1787140753000,"timestamp_seconds":1787140753,"priority":1,"record_length":96,"hex_timestamp":"000001a019e3c668"} 
[2026-08-19 17:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:29:18] 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-08-19 17: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-19 17:29:18] 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-08-19 17: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-08-19 17:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:29:18] 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-08-19 17:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508027392001,"66":13493,"43":206,"85":15104,"24":0,"16":120800623829450752,"45":8996643968381351936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-19 17:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508027392001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:29:18] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-19 17:29:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120800623829450752,"km_value":120800623829450.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996643968381351936,"description":"Unknown IO ID 45"} 
[2026-08-19 17:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508027392001,"power":13493,"unknown_43":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8996643968381351936}} 
[2026-08-19 17:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":158104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:29:18] local.INFO: GPS data processed {"connection_id":158104,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:29:18] local.INFO: Acknowledgment sent {"connection_id":158104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:29:41] local.INFO: TCP Data received {"connection_id":157756,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:29:41] local.INFO: Processing buffer {"connection_id":157756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:29:41] local.INFO: IMEI packet received {"connection_id":157756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":157756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:29:43] local.INFO: TCP Data received {"connection_id":158975,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:29:43] local.INFO: Processing buffer {"connection_id":158975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:29:43] local.INFO: Packet analysis {"connection_id":158975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:29:43] local.INFO: Extracted packet for processing {"connection_id":158975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:29:43] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507898112001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787140528000,"timestamp_ms":1787140528000,"timestamp_seconds":1787140528,"priority":1,"record_length":96,"hex_timestamp":"000001a019e05780"} 
[2026-08-19 17:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507898112001,"66":26039,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507898112001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:29:43] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:29:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507898112001,"power":26039,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":158975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:29:43] local.INFO: GPS data processed {"connection_id":158975,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:29:43] local.INFO: Acknowledgment sent {"connection_id":158975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:29:45] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e2cc68012d18c44007214ee0004500a825..."} 
[2026-08-19 17:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e2cc68012d18c44007214ee0004500a825..."} 
[2026-08-19 17:29:45] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e2cc68012d18c44007214ee0004500a825..."} 
[2026-08-19 17:29:45] local.INFO: Packet analysis {"connection_id":160291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e2"} 
[2026-08-19 17:29:45] local.INFO: Extracted packet for processing {"connection_id":160291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e2"} 
[2026-08-19 17:29:45] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119623392,"longitude_deg":75.6597824,"latitude_deg":11.9623392,"altitude":69,"angle":168,"satellites":37,"speed":30,"hex_longitude":"2d18c440","hex_latitude":"07214ee0","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508015872001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13932255432933376,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784058801760268288,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:45] 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-08-19 17:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787140689000,"timestamp_ms":1787140689000,"timestamp_seconds":1787140689,"priority":1,"record_length":96,"hex_timestamp":"000001a019e2cc68"} 
[2026-08-19 17:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:29: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-08-19 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 17:29: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-08-19 17: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-08-19 17:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:29:45] 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-08-19 17:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508015872001,"66":12841,"106":206,"83":41984,"24":30,"16":13932255432933376,"45":1784058801760268288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508015872001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:29:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:29:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13932255432933376,"km_value":13932255432933.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784058801760268288,"description":"Unknown IO ID 45"} 
[2026-08-19 17:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508015872001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1784058801760268288}} 
[2026-08-19 17:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":160291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:29:45] local.INFO: GPS data processed {"connection_id":160291,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:29:45] local.INFO: Acknowledgment sent {"connection_id":160291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:29:46] local.INFO: TCP Data received {"connection_id":157756,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:29:46] local.INFO: Processing buffer {"connection_id":157756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:29:46] local.INFO: IMEI packet received {"connection_id":157756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":157756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:29:47] local.INFO: TCP Data received {"connection_id":157756,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e3ca50012d7cdbc005e207d0000a006914..."} 
[2026-08-19 17:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e3ca50012d7cdbc005e207d0000a006914..."} 
[2026-08-19 17:29:47] local.INFO: Processing buffer {"connection_id":157756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e3ca50012d7cdbc005e207d0000a006914..."} 
[2026-08-19 17:29:47] local.INFO: Packet analysis {"connection_id":157756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e3"} 
[2026-08-19 17:29:47] local.INFO: Extracted packet for processing {"connection_id":157756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e3"} 
[2026-08-19 17:29:47] local.INFO: GPS Element Parsed {"raw_longitude":763157440,"raw_latitude":98699216,"longitude_deg":76.315744,"latitude_deg":9.8699216,"altitude":10,"angle":105,"satellites":20,"speed":3,"hex_longitude":"2d7cdbc0","hex_latitude":"05e207d0","is_valid_coordinates":true} 
[2026-08-19 17:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508032768001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120800641009319936,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996643968381351936,"note":"Value kept but may cause issues"} 
[2026-08-19 17:29:47] 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-08-19 17:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787140754000,"timestamp_ms":1787140754000,"timestamp_seconds":1787140754,"priority":1,"record_length":96,"hex_timestamp":"000001a019e3ca50"} 
[2026-08-19 17:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:29:47] 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-08-19 17:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-19 17:29:47] 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-08-19 17:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:29:47] 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-08-19 17:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508032768001,"66":13493,"43":206,"85":15104,"24":3,"16":120800641009319936,"45":8996643968381351936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-19 17:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508032768001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:29:47] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-19 17:29:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120800641009319936,"km_value":120800641009319.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996643968381351936,"description":"Unknown IO ID 45"} 
[2026-08-19 17:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508032768001,"power":13493,"unknown_43":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8996643968381351936}} 
[2026-08-19 17:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":157756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:29:47] local.INFO: GPS data processed {"connection_id":157756,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:29:47] local.INFO: Acknowledgment sent {"connection_id":157756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:29:59] local.INFO: TCP Data received {"connection_id":157757,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:29:59] local.INFO: Processing buffer {"connection_id":157757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:29:59] local.INFO: IMEI packet received {"connection_id":157757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":157757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:30:03] local.INFO: TCP Data received {"connection_id":157757,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:30:03] local.INFO: Processing buffer {"connection_id":157757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:30:03] local.INFO: IMEI packet received {"connection_id":157757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":157757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:30:05] local.INFO: TCP Data received {"connection_id":157757,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:30:05] local.INFO: Processing buffer {"connection_id":157757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:30:05] local.INFO: Packet analysis {"connection_id":157757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:30:05] local.INFO: Extracted packet for processing {"connection_id":157757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:30:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507898112001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787140528000,"timestamp_ms":1787140528000,"timestamp_seconds":1787140528,"priority":1,"record_length":96,"hex_timestamp":"000001a019e05780"} 
[2026-08-19 17:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507898112001,"66":26039,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507898112001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:30:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:30:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507898112001,"power":26039,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":157757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:30:05] local.INFO: GPS data processed {"connection_id":157757,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:30:05] local.INFO: Acknowledgment sent {"connection_id":157757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:30:07] local.INFO: TCP Data received {"connection_id":158105,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:30:07] local.INFO: Processing buffer {"connection_id":158105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:30:07] local.INFO: IMEI packet received {"connection_id":158105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":158105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:30:08] local.INFO: TCP Data received {"connection_id":158105,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:30:08] local.INFO: Processing buffer {"connection_id":158105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:30:08] local.INFO: IMEI packet received {"connection_id":158105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":158105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:30:08] local.INFO: TCP Data received {"connection_id":158105,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:30:08] local.INFO: Processing buffer {"connection_id":158105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:30:08] local.INFO: IMEI packet received {"connection_id":158105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":158105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:30:12] local.INFO: TCP Data received {"connection_id":158105,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:30:12] local.INFO: Processing buffer {"connection_id":158105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:30:12] local.INFO: IMEI packet received {"connection_id":158105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":158105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:30:13] local.INFO: TCP Data received {"connection_id":158105,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e3ab10012d1934000720b8a80030007821..."} 
[2026-08-19 17:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e3ab10012d1934000720b8a80030007821..."} 
[2026-08-19 17:30:13] local.INFO: Processing buffer {"connection_id":158105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e3ab10012d1934000720b8a80030007821..."} 
[2026-08-19 17:30:13] local.INFO: Packet analysis {"connection_id":158105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e3"} 
[2026-08-19 17:30:13] local.INFO: Extracted packet for processing {"connection_id":158105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e3"} 
[2026-08-19 17:30:13] local.INFO: GPS Element Parsed {"raw_longitude":756626432,"raw_latitude":119584936,"longitude_deg":75.6626432,"latitude_deg":11.9584936,"altitude":48,"angle":120,"satellites":33,"speed":43,"hex_longitude":"2d193400","hex_latitude":"0720b8a8","is_valid_coordinates":true} 
[2026-08-19 17:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508028928001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13934759398866944,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806576799887763456,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787140746000,"timestamp_ms":1787140746000,"timestamp_seconds":1787140746,"priority":1,"record_length":96,"hex_timestamp":"000001a019e3ab10"} 
[2026-08-19 17:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:30:13] 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-08-19 17:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-19 17:30:13] 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-08-19 17:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:30:13] 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-08-19 17:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508028928001,"66":12722,"103":206,"83":41984,"24":43,"16":13934759398866944,"45":1806576799887763456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508028928001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:30:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:30:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13934759398866944,"km_value":13934759398866.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806576799887763456,"description":"Unknown IO ID 45"} 
[2026-08-19 17:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508028928001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1806576799887763456}} 
[2026-08-19 17:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":158105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:30:13] local.INFO: GPS data processed {"connection_id":158105,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:30:13] local.INFO: Acknowledgment sent {"connection_id":158105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:30:18] local.INFO: TCP Data received {"connection_id":157756,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e3ce38012d7cdc0005e207d0000a005114..."} 
[2026-08-19 17:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e3ce38012d7cdc0005e207d0000a005114..."} 
[2026-08-19 17:30:18] local.INFO: Processing buffer {"connection_id":157756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e3ce38012d7cdc0005e207d0000a005114..."} 
[2026-08-19 17:30:18] local.INFO: Packet analysis {"connection_id":157756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e3"} 
[2026-08-19 17:30:18] local.INFO: Extracted packet for processing {"connection_id":157756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e3"} 
[2026-08-19 17:30:18] local.INFO: GPS Element Parsed {"raw_longitude":763157504,"raw_latitude":98699216,"longitude_deg":76.3157504,"latitude_deg":9.8699216,"altitude":10,"angle":81,"satellites":20,"speed":5,"hex_longitude":"2d7cdc00","hex_latitude":"05e207d0","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508033024001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120800641009319936,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996995812102230016,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:18] 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-08-19 17:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787140755000,"timestamp_ms":1787140755000,"timestamp_seconds":1787140755,"priority":1,"record_length":96,"hex_timestamp":"000001a019e3ce38"} 
[2026-08-19 17:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:30:18] 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-08-19 17: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":181,"data_length":795,"current_offset":136} 
[2026-08-19 17:30:18] 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-08-19 17: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-08-19 17:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:30:18] 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-08-19 17:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508033024001,"66":13059,"43":206,"85":15104,"24":5,"16":120800641009319936,"45":8996995812102230016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-19 17:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508033024001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:30:18] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-19 17:30:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120800641009319936,"km_value":120800641009319.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996995812102230016,"description":"Unknown IO ID 45"} 
[2026-08-19 17:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508033024001,"power":13059,"unknown_43":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8996995812102230016}} 
[2026-08-19 17:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":157756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:30:18] local.INFO: GPS data processed {"connection_id":157756,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:30:18] local.INFO: Acknowledgment sent {"connection_id":157756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:30:36] local.INFO: TCP Data received {"connection_id":157757,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:30:36] local.INFO: Processing buffer {"connection_id":157757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:30:36] local.INFO: Packet analysis {"connection_id":157757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:30:36] local.INFO: Extracted packet for processing {"connection_id":157757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:30:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507898112001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787140528000,"timestamp_ms":1787140528000,"timestamp_seconds":1787140528,"priority":1,"record_length":96,"hex_timestamp":"000001a019e05780"} 
[2026-08-19 17:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507898112001,"66":26039,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507898112001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:30:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:30:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507898112001,"power":26039,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":157757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:30:36] local.INFO: GPS data processed {"connection_id":157757,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:30:36] local.INFO: Acknowledgment sent {"connection_id":157757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:30:41] local.INFO: TCP Data received {"connection_id":160292,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:30:41] local.INFO: Processing buffer {"connection_id":160292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:30:41] local.INFO: IMEI packet received {"connection_id":160292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":160292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:30:44] local.INFO: TCP Data received {"connection_id":158105,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e44368012d19518007209390002d008224..."} 
[2026-08-19 17:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e44368012d19518007209390002d008224..."} 
[2026-08-19 17:30:44] local.INFO: Processing buffer {"connection_id":158105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e44368012d19518007209390002d008224..."} 
[2026-08-19 17:30:44] local.INFO: Packet analysis {"connection_id":158105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:30:44] local.INFO: Extracted packet for processing {"connection_id":158105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:30:44] local.INFO: GPS Element Parsed {"raw_longitude":756633984,"raw_latitude":119575440,"longitude_deg":75.6633984,"latitude_deg":11.957544,"altitude":45,"angle":130,"satellites":36,"speed":12,"hex_longitude":"2d195180","hex_latitude":"07209390","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508040704001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13935635572195328,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824239354673131520,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30: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-08-19 17:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787140785000,"timestamp_ms":1787140785000,"timestamp_seconds":1787140785,"priority":1,"record_length":96,"hex_timestamp":"000001a019e44368"} 
[2026-08-19 17:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-19 17:30:44] 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-08-19 17: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-08-19 17:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:30:44] 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-08-19 17:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508040704001,"66":13928,"103":206,"83":41984,"24":12,"16":13935635572195328,"45":1824239354673131520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508040704001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:30:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:30:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13935635572195328,"km_value":13935635572195.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824239354673131520,"description":"Unknown IO ID 45"} 
[2026-08-19 17:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508040704001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1824239354673131520}} 
[2026-08-19 17:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":158105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:30:45] local.INFO: GPS data processed {"connection_id":158105,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:30:45] local.INFO: Acknowledgment sent {"connection_id":158105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:30:45] local.INFO: TCP Data received {"connection_id":160292,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:30:45] local.INFO: Processing buffer {"connection_id":160292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:30:45] local.INFO: IMEI packet received {"connection_id":160292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":160292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:30:46] local.INFO: TCP Data received {"connection_id":160292,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160292,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:30:46] local.INFO: Processing buffer {"connection_id":160292,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:30:46] local.INFO: IMEI packet received {"connection_id":160292,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":160292,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:30:47] local.INFO: TCP Data received {"connection_id":160292,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e3d9f0012d7cdec005e20868000a004614..."} 
[2026-08-19 17:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e3d9f0012d7cdec005e20868000a004614..."} 
[2026-08-19 17:30:47] local.INFO: Processing buffer {"connection_id":160292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e3d9f0012d7cdec005e20868000a004614..."} 
[2026-08-19 17:30:47] local.INFO: Packet analysis {"connection_id":160292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e3"} 
[2026-08-19 17:30:47] local.INFO: Extracted packet for processing {"connection_id":160292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e3"} 
[2026-08-19 17:30:47] local.INFO: GPS Element Parsed {"raw_longitude":763158208,"raw_latitude":98699368,"longitude_deg":76.3158208,"latitude_deg":9.8699368,"altitude":10,"angle":70,"satellites":20,"speed":11,"hex_longitude":"2d7cdec0","hex_latitude":"05e20868","is_valid_coordinates":true} 
[2026-08-19 17:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508033280001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120800675369058304,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997066180846407680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:47] 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-08-19 17:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787140758000,"timestamp_ms":1787140758000,"timestamp_seconds":1787140758,"priority":1,"record_length":96,"hex_timestamp":"000001a019e3d9f0"} 
[2026-08-19 17:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:30:47] 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-08-19 17:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 17:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303170847821134,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:47] local.WARNING: Large IO value detected {"io_id":43,"raw_value":58077557095399445,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:47] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":20481,"corrected_to":0} 
[2026-08-19 17:30:47] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3810934785,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-08-19 17:30:47] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2281778556,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:47] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3221611014,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792052224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:47] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,43,85,24,241,157,16,160,202,45,192,7,10,20,66,198,128,116,1,240,133,227,25,226,4,113,205,14,26,209,19,239,51,2,173,5,6,21],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":202,"original":20481,"validated":0},{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-08-19 17:30:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720665086720802816,"timestamp_seconds":720665086720802.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 17:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:30:47] 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-08-19 17:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508033280001,"66":13559,"43":206,"85":15104,"24":11,"16":120800675369058304,"45":8997066180846407680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-19 17:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508033280001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:30:47] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-19 17:30:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120800675369058304,"km_value":120800675369058.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997066180846407680,"description":"Unknown IO ID 45"} 
[2026-08-19 17:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508033280001,"power":13559,"unknown_43":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8997066180846407680}} 
[2026-08-19 17:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":160292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:30:47] local.INFO: GPS data processed {"connection_id":160292,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:30:47] local.INFO: Acknowledgment sent {"connection_id":160292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:30:50] local.INFO: TCP Data received {"connection_id":160292,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e40cb8012d7cf38005e20e70000d005414..."} 
[2026-08-19 17:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e40cb8012d7cf38005e20e70000d005414..."} 
[2026-08-19 17:30:50] local.INFO: Processing buffer {"connection_id":160292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e40cb8012d7cf38005e20e70000d005414..."} 
[2026-08-19 17:30:50] local.INFO: Packet analysis {"connection_id":160292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:30:50] local.INFO: Extracted packet for processing {"connection_id":160292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:30:50] local.INFO: GPS Element Parsed {"raw_longitude":763163520,"raw_latitude":98700912,"longitude_deg":76.316352,"latitude_deg":9.8700912,"altitude":13,"angle":84,"satellites":20,"speed":27,"hex_longitude":"2d7cf380","hex_latitude":"05e20e70","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508034048001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120800941657030656,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997840237032400896,"note":"Value kept but may cause issues"} 
[2026-08-19 17:30: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-08-19 17:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787140771000,"timestamp_ms":1787140771000,"timestamp_seconds":1787140771,"priority":1,"record_length":96,"hex_timestamp":"000001a019e40cb8"} 
[2026-08-19 17:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:30:50] 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-08-19 17: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-19 17:30: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-08-19 17: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-08-19 17:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:30:50] 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-08-19 17:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508034048001,"66":13580,"43":206,"85":15104,"24":27,"16":120800941657030656,"45":8997840237032400896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-19 17:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508034048001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:30:50] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-19 17:30:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120800941657030656,"km_value":120800941657030.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997840237032400896,"description":"Unknown IO ID 45"} 
[2026-08-19 17:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508034048001,"power":13580,"unknown_43":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8997840237032400896}} 
[2026-08-19 17:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":160292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:30:50] local.INFO: GPS data processed {"connection_id":160292,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:30:50] local.INFO: Acknowledgment sent {"connection_id":160292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:30:59] local.INFO: TCP Data received {"connection_id":158976,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:30:59] local.INFO: Processing buffer {"connection_id":158976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:30:59] local.INFO: IMEI packet received {"connection_id":158976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":158976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:31:04] local.INFO: TCP Data received {"connection_id":158976,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:31:04] local.INFO: Processing buffer {"connection_id":158976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:31:04] local.INFO: IMEI packet received {"connection_id":158976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":158976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:31:05] local.INFO: TCP Data received {"connection_id":158976,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:31:05] local.INFO: Processing buffer {"connection_id":158976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e05780012ceb5f800713b858001400a127..."} 
[2026-08-19 17:31:05] local.INFO: Packet analysis {"connection_id":158976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:31:05] local.INFO: Extracted packet for processing {"connection_id":158976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e0"} 
[2026-08-19 17:31:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":39,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507898112001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787140528000,"timestamp_ms":1787140528000,"timestamp_seconds":1787140528,"priority":1,"record_length":96,"hex_timestamp":"000001a019e05780"} 
[2026-08-19 17:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507898112001,"66":26039,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507898112001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:31:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:31:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507898112001,"power":26039,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":158976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:31:05] local.INFO: GPS data processed {"connection_id":158976,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:31:05] local.INFO: Acknowledgment sent {"connection_id":158976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:31:08] local.INFO: TCP Data received {"connection_id":158106,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:31:08] local.INFO: Processing buffer {"connection_id":158106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:31:08] local.INFO: IMEI packet received {"connection_id":158106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":158106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:31:13] local.INFO: TCP Data received {"connection_id":158106,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:31:13] local.INFO: Processing buffer {"connection_id":158106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:31:13] local.INFO: IMEI packet received {"connection_id":158106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":158106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:31:14] local.INFO: TCP Data received {"connection_id":158106,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e47630012d195a8007208bd0002d008d24..."} 
[2026-08-19 17:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e47630012d195a8007208bd0002d008d24..."} 
[2026-08-19 17:31:14] local.INFO: Processing buffer {"connection_id":158106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e47630012d195a8007208bd0002d008d24..."} 
[2026-08-19 17:31:14] local.INFO: Packet analysis {"connection_id":158106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:31:14] local.INFO: Extracted packet for processing {"connection_id":158106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:31:14] local.INFO: GPS Element Parsed {"raw_longitude":756636288,"raw_latitude":119573456,"longitude_deg":75.6636288,"latitude_deg":11.9573456,"altitude":45,"angle":141,"satellites":36,"speed":9,"hex_longitude":"2d195a80","hex_latitude":"07208bd0","is_valid_coordinates":true} 
[2026-08-19 17:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508040960001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13935785896050688,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824380092161429504,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787140798000,"timestamp_ms":1787140798000,"timestamp_seconds":1787140798,"priority":1,"record_length":96,"hex_timestamp":"000001a019e47630"} 
[2026-08-19 17:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:31: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-08-19 17:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 17:31:14] 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-08-19 17:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:31:14] 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-08-19 17:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508040960001,"66":13972,"103":206,"83":41984,"24":9,"16":13935785896050688,"45":1824380092161429504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508040960001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:31:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:31:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13935785896050688,"km_value":13935785896050.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824380092161429504,"description":"Unknown IO ID 45"} 
[2026-08-19 17:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508040960001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1824380092161429504}} 
[2026-08-19 17:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":158106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:31:14] local.INFO: GPS data processed {"connection_id":158106,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:31:14] local.INFO: Acknowledgment sent {"connection_id":158106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:31:22] local.INFO: TCP Data received {"connection_id":160292,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e42040012d7cff4005e20e30000d006014..."} 
[2026-08-19 17:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e42040012d7cff4005e20e30000d006014..."} 
[2026-08-19 17:31:22] local.INFO: Processing buffer {"connection_id":160292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e42040012d7cff4005e20e30000d006014..."} 
[2026-08-19 17:31:22] local.INFO: Packet analysis {"connection_id":160292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:31:22] local.INFO: Extracted packet for processing {"connection_id":160292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:31:22] local.INFO: GPS Element Parsed {"raw_longitude":763166528,"raw_latitude":98700848,"longitude_deg":76.3166528,"latitude_deg":9.8700848,"altitude":13,"angle":96,"satellites":20,"speed":14,"hex_longitude":"2d7cff40","hex_latitude":"05e20e30","is_valid_coordinates":true} 
[2026-08-19 17:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508037376001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120801087685918720,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003680842799542272,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:22] 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-08-19 17:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787140776000,"timestamp_ms":1787140776000,"timestamp_seconds":1787140776,"priority":1,"record_length":96,"hex_timestamp":"000001a019e42040"} 
[2026-08-19 17:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-19 17:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751623467,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:22] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":20481,"corrected_to":0} 
[2026-08-19 17:31:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5968539442195988480,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:22] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3821430785,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:22] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633573893230123,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-08-19 17:31:22] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2147869191,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:22] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398517726400085,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:22] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792095232,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:22] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-3332657255931707385,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:22] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755498225434865,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:22] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,43,85,24,241,157,16,160,217,45,192,8,10,20,66,206,7,202,1,240,181,227,25,226,4,113,205,116,218,248,19,239,51,2,173,5,14,124,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":202,"original":20481,"validated":0},{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-08-19 17:31:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936841167370911744,"timestamp_seconds":936841167370911.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 17:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160292,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:31:22] 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-08-19 17:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508037376001,"66":13624,"43":206,"85":15104,"24":14,"16":120801087685918720,"45":9003680842799542272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-19 17:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508037376001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:31:22] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-19 17:31:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120801087685918720,"km_value":120801087685918.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003680842799542272,"description":"Unknown IO ID 45"} 
[2026-08-19 17:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508037376001,"power":13624,"unknown_43":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9003680842799542272}} 
[2026-08-19 17:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":160292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:31:22] local.INFO: GPS data processed {"connection_id":160292,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:31:22] local.INFO: Acknowledgment sent {"connection_id":160292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:31:37] local.INFO: TCP Data received {"connection_id":158976,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:31:37] local.INFO: Processing buffer {"connection_id":158976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:31:37] local.INFO: Packet analysis {"connection_id":158976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:31:37] local.INFO: Extracted packet for processing {"connection_id":158976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:31:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507975168001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787140829000,"timestamp_ms":1787140829000,"timestamp_seconds":1787140829,"priority":1,"record_length":96,"hex_timestamp":"000001a019e4ef48"} 
[2026-08-19 17:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 17:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507975168001,"66":25973,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507975168001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:31:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:31:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507975168001,"power":25973,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":158976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:31:37] local.INFO: GPS data processed {"connection_id":158976,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:31:37] local.INFO: Acknowledgment sent {"connection_id":158976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:31:42] local.INFO: TCP Data received {"connection_id":157758,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:31:42] local.INFO: Processing buffer {"connection_id":157758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:31:42] local.INFO: IMEI packet received {"connection_id":157758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":157758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:31:43] local.INFO: TCP Data received {"connection_id":157758,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:31:43] local.INFO: Processing buffer {"connection_id":157758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:31:43] local.INFO: IMEI packet received {"connection_id":157758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":157758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:31:44] local.INFO: TCP Data received {"connection_id":157758,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:31:44] local.INFO: Processing buffer {"connection_id":157758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:31:44] local.INFO: IMEI packet received {"connection_id":157758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":157758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:31:45] local.INFO: TCP Data received {"connection_id":158106,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e485d0012d195c8007208848002c009b21..."} 
[2026-08-19 17:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e485d0012d195c8007208848002c009b21..."} 
[2026-08-19 17:31:45] local.INFO: Processing buffer {"connection_id":158106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e485d0012d195c8007208848002c009b21..."} 
[2026-08-19 17:31:45] local.INFO: Packet analysis {"connection_id":158106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:31:45] local.INFO: Extracted packet for processing {"connection_id":158106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:31:45] local.INFO: GPS Element Parsed {"raw_longitude":756636800,"raw_latitude":119572552,"longitude_deg":75.66368,"latitude_deg":11.9572552,"altitude":44,"angle":155,"satellites":33,"speed":10,"hex_longitude":"2d195c80","hex_latitude":"07208848","is_valid_coordinates":true} 
[2026-08-19 17:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508044288001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13935833140690944,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826913366951317504,"note":"Value kept but may cause issues"} 
[2026-08-19 17:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787140802000,"timestamp_ms":1787140802000,"timestamp_seconds":1787140802,"priority":1,"record_length":96,"hex_timestamp":"000001a019e485d0"} 
[2026-08-19 17:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:31: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-08-19 17:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-19 17:31:45] 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-08-19 17:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:31:45] 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-08-19 17:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508044288001,"66":13972,"103":206,"83":41984,"24":10,"16":13935833140690944,"45":1826913366951317504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508044288001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:31:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:31:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13935833140690944,"km_value":13935833140690.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826913366951317504,"description":"Unknown IO ID 45"} 
[2026-08-19 17:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508044288001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1826913366951317504}} 
[2026-08-19 17:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":158106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":665999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:31:45] local.INFO: GPS data processed {"connection_id":158106,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:31:45] local.INFO: Acknowledgment sent {"connection_id":158106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:31:46] local.INFO: TCP Data received {"connection_id":157758,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157758,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:31:46] local.INFO: Processing buffer {"connection_id":157758,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:31:46] local.INFO: IMEI packet received {"connection_id":157758,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":157758,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:32:03] local.INFO: TCP Data received {"connection_id":157759,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:32:03] local.INFO: Processing buffer {"connection_id":157759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:32:03] local.INFO: IMEI packet received {"connection_id":157759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":157759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:32:09] local.INFO: TCP Data received {"connection_id":157759,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:32:09] local.INFO: Processing buffer {"connection_id":157759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:32:09] local.INFO: IMEI packet received {"connection_id":157759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":157759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:32:10] local.INFO: TCP Data received {"connection_id":157759,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:32:10] local.INFO: Processing buffer {"connection_id":157759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:32:10] local.INFO: Packet analysis {"connection_id":157759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:32:10] local.INFO: Extracted packet for processing {"connection_id":157759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:32:10] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507975168001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787140829000,"timestamp_ms":1787140829000,"timestamp_seconds":1787140829,"priority":1,"record_length":96,"hex_timestamp":"000001a019e4ef48"} 
[2026-08-19 17:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 17:32:10] 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-08-19 17:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507975168001,"66":25973,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507975168001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:32:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507975168001,"power":25973,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":157759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:32:10] local.INFO: GPS data processed {"connection_id":157759,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:32:10] local.INFO: Acknowledgment sent {"connection_id":157759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:32:13] local.INFO: TCP Data received {"connection_id":158977,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:32:13] local.INFO: Processing buffer {"connection_id":158977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:32:13] local.INFO: IMEI packet received {"connection_id":158977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":158977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:32:18] local.INFO: TCP Data received {"connection_id":158977,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:32:18] local.INFO: Processing buffer {"connection_id":158977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:32:18] local.INFO: IMEI packet received {"connection_id":158977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":158977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:32:19] local.INFO: TCP Data received {"connection_id":158977,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e49958012d195e40072083a0002c00a821..."} 
[2026-08-19 17:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e49958012d195e40072083a0002c00a821..."} 
[2026-08-19 17:32:19] local.INFO: Processing buffer {"connection_id":158977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e49958012d195e40072083a0002c00a821..."} 
[2026-08-19 17:32:19] local.INFO: Packet analysis {"connection_id":158977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:32:19] local.INFO: Extracted packet for processing {"connection_id":158977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:32:19] local.INFO: GPS Element Parsed {"raw_longitude":756637248,"raw_latitude":119571360,"longitude_deg":75.6637248,"latitude_deg":11.957136,"altitude":44,"angle":168,"satellites":33,"speed":9,"hex_longitude":"2d195e40","hex_latitude":"072083a0","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508045312001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13935897565200384,"note":"Value kept but may cause issues"} 
[2026-08-19 17:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827476316904507392,"note":"Value kept but may cause issues"} 
[2026-08-19 17:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787140807000,"timestamp_ms":1787140807000,"timestamp_seconds":1787140807,"priority":1,"record_length":96,"hex_timestamp":"000001a019e49958"} 
[2026-08-19 17:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:32:19] 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-08-19 17: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-19 17:32:19] 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-08-19 17: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-08-19 17:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:32:19] 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-08-19 17:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508045312001,"66":13993,"103":206,"83":41984,"24":9,"16":13935897565200384,"45":1827476316904507392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508045312001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:32:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:32:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13935897565200384,"km_value":13935897565200.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827476316904507392,"description":"Unknown IO ID 45"} 
[2026-08-19 17:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508045312001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1827476316904507392}} 
[2026-08-19 17:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":158977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:32:19] local.INFO: GPS data processed {"connection_id":158977,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:32:19] local.INFO: Acknowledgment sent {"connection_id":158977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:32:20] local.INFO: TCP Data received {"connection_id":158977,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e4ace0012d195f8007207fd8002e009722..."} 
[2026-08-19 17:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e4ace0012d195f8007207fd8002e009722..."} 
[2026-08-19 17:32:20] local.INFO: Processing buffer {"connection_id":158977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e4ace0012d195f8007207fd8002e009722..."} 
[2026-08-19 17:32:20] local.INFO: Packet analysis {"connection_id":158977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:32:20] local.INFO: Extracted packet for processing {"connection_id":158977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756637568,"raw_latitude":119570392,"longitude_deg":75.6637568,"latitude_deg":11.9570392,"altitude":46,"angle":151,"satellites":34,"speed":5,"hex_longitude":"2d195f80","hex_latitude":"07207fd8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508046592001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13935949104807936,"note":"Value kept but may cause issues"} 
[2026-08-19 17:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827968898113445888,"note":"Value kept but may cause issues"} 
[2026-08-19 17:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787140812000,"timestamp_ms":1787140812000,"timestamp_seconds":1787140812,"priority":1,"record_length":96,"hex_timestamp":"000001a019e4ace0"} 
[2026-08-19 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-08-19 17:32: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-08-19 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 17:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 17:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:32:20] 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-08-19 17:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508046592001,"66":14004,"103":206,"83":41984,"24":5,"16":13935949104807936,"45":1827968898113445888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508046592001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:32:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:32:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13935949104807936,"km_value":13935949104807.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827968898113445888,"description":"Unknown IO ID 45"} 
[2026-08-19 17:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508046592001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1827968898113445888}} 
[2026-08-19 17:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":158977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:32:20] local.INFO: GPS data processed {"connection_id":158977,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:32:20] local.INFO: Acknowledgment sent {"connection_id":158977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:32:42] local.INFO: TCP Data received {"connection_id":157759,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:32:42] local.INFO: Processing buffer {"connection_id":157759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:32:42] local.INFO: Packet analysis {"connection_id":157759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:32:42] local.INFO: Extracted packet for processing {"connection_id":157759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:32:42] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507975168001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:32:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787140829000,"timestamp_ms":1787140829000,"timestamp_seconds":1787140829,"priority":1,"record_length":96,"hex_timestamp":"000001a019e4ef48"} 
[2026-08-19 17:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 17:32:42] 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-08-19 17:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507975168001,"66":25973,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507975168001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:32:42] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507975168001,"power":25973,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":157759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:32:42] local.INFO: GPS data processed {"connection_id":157759,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:32:42] local.INFO: Acknowledgment sent {"connection_id":157759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:32:51] local.INFO: TCP Data received {"connection_id":158977,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e4bc80012d1960c007207d30002e00b122..."} 
[2026-08-19 17:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e4bc80012d1960c007207d30002e00b122..."} 
[2026-08-19 17:32:51] local.INFO: Processing buffer {"connection_id":158977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e4bc80012d1960c007207d30002e00b122..."} 
[2026-08-19 17:32:51] local.INFO: Packet analysis {"connection_id":158977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:32:51] local.INFO: Extracted packet for processing {"connection_id":158977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756637888,"raw_latitude":119569712,"longitude_deg":75.6637888,"latitude_deg":11.9569712,"altitude":46,"angle":177,"satellites":34,"speed":7,"hex_longitude":"2d1960c0","hex_latitude":"07207d30","is_valid_coordinates":true} 
[2026-08-19 17:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508047872001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13935983464546304,"note":"Value kept but may cause issues"} 
[2026-08-19 17:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828320741834086400,"note":"Value kept but may cause issues"} 
[2026-08-19 17:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787140816000,"timestamp_ms":1787140816000,"timestamp_seconds":1787140816,"priority":1,"record_length":96,"hex_timestamp":"000001a019e4bc80"} 
[2026-08-19 17:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:32:51] 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-08-19 17:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 17:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":158977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":158977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":158977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:32:51] 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-08-19 17:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508047872001,"66":14004,"103":206,"83":41984,"24":7,"16":13935983464546304,"45":1828320741834086400},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508047872001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:32:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13935983464546304,"km_value":13935983464546.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828320741834086400,"description":"Unknown IO ID 45"} 
[2026-08-19 17:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508047872001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1828320741834086400}} 
[2026-08-19 17:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":158977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:32:51] local.INFO: GPS data processed {"connection_id":158977,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:32:51] local.INFO: Acknowledgment sent {"connection_id":158977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:32:59] local.INFO: TCP Data received {"connection_id":160294,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:32:59] local.INFO: Processing buffer {"connection_id":160294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:32:59] local.INFO: IMEI packet received {"connection_id":160294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":160294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:33:04] local.INFO: TCP Data received {"connection_id":160294,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:33:04] local.INFO: Processing buffer {"connection_id":160294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:33:04] local.INFO: IMEI packet received {"connection_id":160294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":160294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:33:05] local.INFO: TCP Data received {"connection_id":160294,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:33:05] local.INFO: Processing buffer {"connection_id":160294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:33:05] local.INFO: Packet analysis {"connection_id":160294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:33:05] local.INFO: Extracted packet for processing {"connection_id":160294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:33:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507975168001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:33:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787140829000,"timestamp_ms":1787140829000,"timestamp_seconds":1787140829,"priority":1,"record_length":96,"hex_timestamp":"000001a019e4ef48"} 
[2026-08-19 17:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 17:33:05] 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-08-19 17:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507975168001,"66":25973,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507975168001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:33:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:33:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507975168001,"power":25973,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":160294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:33:05] local.INFO: GPS data processed {"connection_id":160294,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:33:05] local.INFO: Acknowledgment sent {"connection_id":160294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:33:08] local.INFO: TCP Data received {"connection_id":157760,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:33:08] local.INFO: Processing buffer {"connection_id":157760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:33:08] local.INFO: IMEI packet received {"connection_id":157760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":157760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:33:13] local.INFO: TCP Data received {"connection_id":157760,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:33:13] local.INFO: Processing buffer {"connection_id":157760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:33:13] local.INFO: IMEI packet received {"connection_id":157760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":157760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:33:14] local.INFO: TCP Data received {"connection_id":157760,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e50e88012d19610007207c18003000b122..."} 
[2026-08-19 17:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e50e88012d19610007207c18003000b122..."} 
[2026-08-19 17:33:14] local.INFO: Processing buffer {"connection_id":157760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e50e88012d19610007207c18003000b122..."} 
[2026-08-19 17:33:14] local.INFO: Packet analysis {"connection_id":157760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e5"} 
[2026-08-19 17:33:14] local.INFO: Extracted packet for processing {"connection_id":157760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e5"} 
[2026-08-19 17:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756637952,"raw_latitude":119569432,"longitude_deg":75.6637952,"latitude_deg":11.9569432,"altitude":48,"angle":177,"satellites":34,"speed":0,"hex_longitude":"2d196100","hex_latitude":"07207c18","is_valid_coordinates":true} 
[2026-08-19 17:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508048896001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13936004939382784,"note":"Value kept but may cause issues"} 
[2026-08-19 17:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828672585554800640,"note":"Value kept but may cause issues"} 
[2026-08-19 17:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787140837000,"timestamp_ms":1787140837000,"timestamp_seconds":1787140837,"priority":1,"record_length":96,"hex_timestamp":"000001a019e50e88"} 
[2026-08-19 17:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:33: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-08-19 17:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 17:33:14] 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-08-19 17:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:33:14] 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-08-19 17:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508048896001,"66":13787,"103":206,"83":41984,"24":0,"16":13936004939382784,"45":1828672585554800640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508048896001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:33:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:33:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13936004939382784,"km_value":13936004939382.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828672585554800640,"description":"Unknown IO ID 45"} 
[2026-08-19 17:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508048896001,"power":13787,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828672585554800640}} 
[2026-08-19 17:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":157760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:33:14] local.INFO: GPS data processed {"connection_id":157760,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:33:14] local.INFO: Acknowledgment sent {"connection_id":157760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:33:37] local.INFO: TCP Data received {"connection_id":160294,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:33:37] local.INFO: Processing buffer {"connection_id":160294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:33:37] local.INFO: Packet analysis {"connection_id":160294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:33:37] local.INFO: Extracted packet for processing {"connection_id":160294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:33:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507975168001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:33:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787140829000,"timestamp_ms":1787140829000,"timestamp_seconds":1787140829,"priority":1,"record_length":96,"hex_timestamp":"000001a019e4ef48"} 
[2026-08-19 17:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 17:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507975168001,"66":25973,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507975168001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:33:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:33:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507975168001,"power":25973,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":160294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:33:37] local.INFO: GPS data processed {"connection_id":160294,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:33:37] local.INFO: Acknowledgment sent {"connection_id":160294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:33:45] local.INFO: TCP Data received {"connection_id":157760,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e56090012d19610007207c18003000b123..."} 
[2026-08-19 17:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e56090012d19610007207c18003000b123..."} 
[2026-08-19 17:33:45] local.INFO: Processing buffer {"connection_id":157760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e56090012d19610007207c18003000b123..."} 
[2026-08-19 17:33:45] local.INFO: Packet analysis {"connection_id":157760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e5"} 
[2026-08-19 17:33:45] local.INFO: Extracted packet for processing {"connection_id":157760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e5"} 
[2026-08-19 17:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756637952,"raw_latitude":119569432,"longitude_deg":75.6637952,"latitude_deg":11.9569432,"altitude":48,"angle":177,"satellites":35,"speed":0,"hex_longitude":"2d196100","hex_latitude":"07207c18","is_valid_coordinates":true} 
[2026-08-19 17:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508054272001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13936004939382784,"note":"Value kept but may cause issues"} 
[2026-08-19 17:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828742954298906624,"note":"Value kept but may cause issues"} 
[2026-08-19 17:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787140858000,"timestamp_ms":1787140858000,"timestamp_seconds":1787140858,"priority":1,"record_length":96,"hex_timestamp":"000001a019e56090"} 
[2026-08-19 17:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:33: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-08-19 17:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-19 17:33:45] 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-08-19 17:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:33:45] 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-08-19 17:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508054272001,"66":13928,"103":206,"83":41984,"24":0,"16":13936004939382784,"45":1828742954298906624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508054272001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:33:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13936004939382784,"km_value":13936004939382.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828742954298906624,"description":"Unknown IO ID 45"} 
[2026-08-19 17:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508054272001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828742954298906624}} 
[2026-08-19 17:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":157760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:33:45] local.INFO: GPS data processed {"connection_id":157760,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:33:45] local.INFO: Acknowledgment sent {"connection_id":157760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:33:59] local.INFO: TCP Data received {"connection_id":158108,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:33:59] local.INFO: Processing buffer {"connection_id":158108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:33:59] local.INFO: IMEI packet received {"connection_id":158108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":158108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:34:03] local.INFO: TCP Data received {"connection_id":158108,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:34:03] local.INFO: Processing buffer {"connection_id":158108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:34:03] local.INFO: IMEI packet received {"connection_id":158108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":158108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:34:05] local.INFO: TCP Data received {"connection_id":158108,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:34:05] local.INFO: Processing buffer {"connection_id":158108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:34:05] local.INFO: Packet analysis {"connection_id":158108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:34:05] local.INFO: Extracted packet for processing {"connection_id":158108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:34:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507975168001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:34:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787140829000,"timestamp_ms":1787140829000,"timestamp_seconds":1787140829,"priority":1,"record_length":96,"hex_timestamp":"000001a019e4ef48"} 
[2026-08-19 17:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 17:34:05] 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-08-19 17:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507975168001,"66":25973,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507975168001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:34:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:34:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507975168001,"power":25973,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":158108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:34:05] local.INFO: GPS data processed {"connection_id":158108,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:34:05] local.INFO: Acknowledgment sent {"connection_id":158108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:34:08] local.INFO: TCP Data received {"connection_id":160295,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:34:08] local.INFO: Processing buffer {"connection_id":160295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:34:08] local.INFO: IMEI packet received {"connection_id":160295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":160295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:34:09] local.INFO: TCP Data received {"connection_id":160295,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:34:09] local.INFO: Processing buffer {"connection_id":160295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:34:09] local.INFO: IMEI packet received {"connection_id":160295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":160295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:34:13] local.INFO: TCP Data received {"connection_id":160295,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:34:13] local.INFO: Processing buffer {"connection_id":160295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:34:13] local.INFO: IMEI packet received {"connection_id":160295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":160295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:34:14] local.INFO: TCP Data received {"connection_id":160295,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e5b298012d19610007207c18003000b121..."} 
[2026-08-19 17:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e5b298012d19610007207c18003000b121..."} 
[2026-08-19 17:34:14] local.INFO: Processing buffer {"connection_id":160295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e5b298012d19610007207c18003000b121..."} 
[2026-08-19 17:34:14] local.INFO: Packet analysis {"connection_id":160295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e5"} 
[2026-08-19 17:34:14] local.INFO: Extracted packet for processing {"connection_id":160295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e5"} 
[2026-08-19 17:34:14] local.INFO: GPS Element Parsed {"raw_longitude":756637952,"raw_latitude":119569432,"longitude_deg":75.6637952,"latitude_deg":11.9569432,"altitude":48,"angle":177,"satellites":33,"speed":0,"hex_longitude":"2d196100","hex_latitude":"07207c18","is_valid_coordinates":true} 
[2026-08-19 17:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508059648001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13936004939382784,"note":"Value kept but may cause issues"} 
[2026-08-19 17:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828742954298906624,"note":"Value kept but may cause issues"} 
[2026-08-19 17:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787140879000,"timestamp_ms":1787140879000,"timestamp_seconds":1787140879,"priority":1,"record_length":96,"hex_timestamp":"000001a019e5b298"} 
[2026-08-19 17:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:34: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-08-19 17:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 17:34:14] 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-08-19 17:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:34:14] 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-08-19 17:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508059648001,"66":13993,"103":206,"83":41984,"24":0,"16":13936004939382784,"45":1828742954298906624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508059648001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:34:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:34:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13936004939382784,"km_value":13936004939382.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828742954298906624,"description":"Unknown IO ID 45"} 
[2026-08-19 17:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508059648001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1828742954298906624}} 
[2026-08-19 17:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":160295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:34:14] local.INFO: GPS data processed {"connection_id":160295,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:34:14] local.INFO: Acknowledgment sent {"connection_id":160295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:34:36] local.INFO: TCP Data received {"connection_id":158108,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:34:36] local.INFO: Processing buffer {"connection_id":158108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:34:36] local.INFO: Packet analysis {"connection_id":158108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:34:36] local.INFO: Extracted packet for processing {"connection_id":158108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:34:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507975168001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:34:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787140829000,"timestamp_ms":1787140829000,"timestamp_seconds":1787140829,"priority":1,"record_length":96,"hex_timestamp":"000001a019e4ef48"} 
[2026-08-19 17:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 17:34:36] 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-08-19 17:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507975168001,"66":25973,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507975168001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:34:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:34:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507975168001,"power":25973,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":158108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:34:36] local.INFO: GPS data processed {"connection_id":158108,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:34:36] local.INFO: Acknowledgment sent {"connection_id":158108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:34:45] local.INFO: TCP Data received {"connection_id":160295,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e82f50012d195b400720a1100038001922..."} 
[2026-08-19 17:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e82f50012d195b400720a1100038001922..."} 
[2026-08-19 17:34:45] local.INFO: Processing buffer {"connection_id":160295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e82f50012d195b400720a1100038001922..."} 
[2026-08-19 17:34:45] local.INFO: Packet analysis {"connection_id":160295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e8"} 
[2026-08-19 17:34:45] local.INFO: Extracted packet for processing {"connection_id":160295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e8"} 
[2026-08-19 17:34:45] local.INFO: GPS Element Parsed {"raw_longitude":756636480,"raw_latitude":119578896,"longitude_deg":75.663648,"latitude_deg":11.9578896,"altitude":56,"angle":25,"satellites":34,"speed":12,"hex_longitude":"2d195b40","hex_latitude":"0720a110","is_valid_coordinates":true} 
[2026-08-19 17:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508106496001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13936662069379072,"note":"Value kept but may cause issues"} 
[2026-08-19 17:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826983735696812032,"note":"Value kept but may cause issues"} 
[2026-08-19 17:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787141042000,"timestamp_ms":1787141042000,"timestamp_seconds":1787141042,"priority":1,"record_length":96,"hex_timestamp":"000001a019e82f50"} 
[2026-08-19 17:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:34: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-08-19 17:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 17:34:45] 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-08-19 17:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:34:45] 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-08-19 17:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508106496001,"66":14363,"103":206,"83":41984,"24":12,"16":13936662069379072,"45":1826983735696812032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508106496001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:34:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:34:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13936662069379072,"km_value":13936662069379.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826983735696812032,"description":"Unknown IO ID 45"} 
[2026-08-19 17:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508106496001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1826983735696812032}} 
[2026-08-19 17:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":160295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:34:45] local.INFO: GPS data processed {"connection_id":160295,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:34:45] local.INFO: Acknowledgment sent {"connection_id":160295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:34:58] local.INFO: TCP Data received {"connection_id":158979,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:34:58] local.INFO: Processing buffer {"connection_id":158979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:34:58] local.INFO: IMEI packet received {"connection_id":158979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":158979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:35:04] local.INFO: TCP Data received {"connection_id":158979,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:35:04] local.INFO: Processing buffer {"connection_id":158979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:35:04] local.INFO: IMEI packet received {"connection_id":158979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":158979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:35:05] local.INFO: TCP Data received {"connection_id":158979,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:35:05] local.INFO: Processing buffer {"connection_id":158979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:35:05] local.INFO: Packet analysis {"connection_id":158979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:35:05] local.INFO: Extracted packet for processing {"connection_id":158979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:35:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507975168001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787140829000,"timestamp_ms":1787140829000,"timestamp_seconds":1787140829,"priority":1,"record_length":96,"hex_timestamp":"000001a019e4ef48"} 
[2026-08-19 17:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 17:35:05] 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-08-19 17:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507975168001,"66":25973,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507975168001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:35:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507975168001,"power":25973,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":158979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:35:05] local.INFO: GPS data processed {"connection_id":158979,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:35:05] local.INFO: Acknowledgment sent {"connection_id":158979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:35:09] local.INFO: TCP Data received {"connection_id":157761,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:35:09] local.INFO: Processing buffer {"connection_id":157761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:35:09] local.INFO: IMEI packet received {"connection_id":157761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":157761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:35:09] local.INFO: TCP Data received {"connection_id":157761,"ip":"42.109.136.2","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 17:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157761,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 17:35:09] local.INFO: Processing buffer {"connection_id":157761,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 17:35:09] local.INFO: IMEI packet received {"connection_id":157761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":157761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:35:13] local.INFO: TCP Data received {"connection_id":157761,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:35:13] local.INFO: Processing buffer {"connection_id":157761,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 17:35:13] local.INFO: IMEI packet received {"connection_id":157761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":157761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:35:14] local.INFO: TCP Data received {"connection_id":157761,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e83338012d195bc00720a2a00039000b22..."} 
[2026-08-19 17:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e83338012d195bc00720a2a00039000b22..."} 
[2026-08-19 17:35:14] local.INFO: Processing buffer {"connection_id":157761,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a019..."} 
[2026-08-19 17:35:14] local.INFO: IMEI packet received {"connection_id":157761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":157761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:35:15] local.INFO: TCP Data received {"connection_id":157761,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e83ef0012d195c400720a7280038016622..."} 
[2026-08-19 17:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e83ef0012d195c400720a7280038016622..."} 
[2026-08-19 17:35:15] local.INFO: Processing buffer {"connection_id":157761,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a019e83338012d195bc00720a2a00039000b22..."} 
[2026-08-19 17:35:15] local.INFO: Packet analysis {"connection_id":157761,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a019e8"} 
[2026-08-19 17:35:15] local.INFO: Extracted packet for processing {"connection_id":157761,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e8"} 
[2026-08-19 17:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756636608,"raw_latitude":119579296,"longitude_deg":75.6636608,"latitude_deg":11.9579296,"altitude":57,"angle":11,"satellites":34,"speed":16,"hex_longitude":"2d195bc0","hex_latitude":"0720a2a0","is_valid_coordinates":true} 
[2026-08-19 17:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508106752001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13936679249248256,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827124473185243136,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787141043000,"timestamp_ms":1787141043000,"timestamp_seconds":1787141043,"priority":1,"record_length":96,"hex_timestamp":"000001a019e83338"} 
[2026-08-19 17:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:35: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-08-19 17:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 17:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:35:15] 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-08-19 17:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508106752001,"66":13928,"103":206,"83":41984,"24":16,"16":13936679249248256,"45":1827124473185243136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508106752001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13936679249248256,"km_value":13936679249248.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827124473185243136,"description":"Unknown IO ID 45"} 
[2026-08-19 17:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508106752001,"power":13928,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1827124473185243136}} 
[2026-08-19 17:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":157761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:35:15] local.INFO: GPS data processed {"connection_id":157761,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:35:15] local.INFO: Acknowledgment sent {"connection_id":157761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:35:15] local.INFO: Packet analysis {"connection_id":157761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e8"} 
[2026-08-19 17:35:15] local.INFO: Extracted packet for processing {"connection_id":157761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e8"} 
[2026-08-19 17:35:15] local.INFO: GPS Element Parsed {"raw_longitude":756636736,"raw_latitude":119580456,"longitude_deg":75.6636736,"latitude_deg":11.9580456,"altitude":56,"angle":358,"satellites":34,"speed":10,"hex_longitude":"2d195c40","hex_latitude":"0720a728","is_valid_coordinates":true} 
[2026-08-19 17:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508107008001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13936739378790400,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827265210673700864,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787141046000,"timestamp_ms":1787141046000,"timestamp_seconds":1787141046,"priority":1,"record_length":96,"hex_timestamp":"000001a019e83ef0"} 
[2026-08-19 17:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:35:15] 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-08-19 17:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 17:35:15] 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-08-19 17:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:35:15] 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-08-19 17:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508107008001,"66":13961,"103":206,"83":41984,"24":10,"16":13936739378790400,"45":1827265210673700864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508107008001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13936739378790400,"km_value":13936739378790.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827265210673700864,"description":"Unknown IO ID 45"} 
[2026-08-19 17:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508107008001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1827265210673700864}} 
[2026-08-19 17:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":157761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:35:16] local.INFO: GPS data processed {"connection_id":157761,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:35:16] local.INFO: Acknowledgment sent {"connection_id":157761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:35:37] local.INFO: TCP Data received {"connection_id":158979,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:35:37] local.INFO: Processing buffer {"connection_id":158979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:35:37] local.INFO: Packet analysis {"connection_id":158979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:35:37] local.INFO: Extracted packet for processing {"connection_id":158979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:35:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507975168001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787140829000,"timestamp_ms":1787140829000,"timestamp_seconds":1787140829,"priority":1,"record_length":96,"hex_timestamp":"000001a019e4ef48"} 
[2026-08-19 17:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 17:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507975168001,"66":25973,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507975168001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:35:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:35:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507975168001,"power":25973,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":158979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:35:37] local.INFO: GPS data processed {"connection_id":158979,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:35:37] local.INFO: Acknowledgment sent {"connection_id":158979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:35:51] local.INFO: TCP Data received {"connection_id":157761,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e8f688012d18e0000720f5f0003d013922..."} 
[2026-08-19 17:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e8f688012d18e0000720f5f0003d013922..."} 
[2026-08-19 17:35:51] local.INFO: Processing buffer {"connection_id":157761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e8f688012d18e0000720f5f0003d013922..."} 
[2026-08-19 17:35:51] local.INFO: Packet analysis {"connection_id":157761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e8"} 
[2026-08-19 17:35:51] local.INFO: Extracted packet for processing {"connection_id":157761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e8"} 
[2026-08-19 17:35:51] local.INFO: GPS Element Parsed {"raw_longitude":756604928,"raw_latitude":119600624,"longitude_deg":75.6604928,"latitude_deg":11.9600624,"altitude":61,"angle":313,"satellites":34,"speed":36,"hex_longitude":"2d18e000","hex_latitude":"0720f5f0","is_valid_coordinates":true} 
[2026-08-19 17:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508118272001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13938616279498752,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795951119518844928,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787141093000,"timestamp_ms":1787141093000,"timestamp_seconds":1787141093,"priority":1,"record_length":96,"hex_timestamp":"000001a019e8f688"} 
[2026-08-19 17:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:35:51] 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-08-19 17: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 17:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1873497445153899520,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:51] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-1701771315861958144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:51] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3219128372,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-19 17:35:51] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3539245,"corrected_to":0} 
[2026-08-19 17:35:51] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2483080568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:51] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2210201600,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:51] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2353632183542944545,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:51] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241708335353427,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:51] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755541175107825,"note":"Value kept but may cause issues"} 
[2026-08-19 17:35:51] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,106,83,24,241,157,16,132,160,215,45,192,220,59,34,10,66,103,180,64,201,55,156,1,240,74,227,25,32,4,113,205,42,121,63,200,33,239,54,2,49,7,51,164,159],"length":535,"final_offset":665,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":200,"original":3539245,"validated":0}]} 
[2026-08-19 17:35:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323818627144220672,"timestamp_seconds":4323818627144220.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 17:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:35:51] 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-08-19 17:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508118272001,"66":12765,"106":206,"83":41984,"24":36,"16":13938616279498752,"45":1795951119518844928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508118272001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:35:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:35:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13938616279498752,"km_value":13938616279498.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795951119518844928,"description":"Unknown IO ID 45"} 
[2026-08-19 17:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508118272001,"power":12765,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1795951119518844928}} 
[2026-08-19 17:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":157761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:35:52] local.INFO: GPS data processed {"connection_id":157761,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:35:52] local.INFO: Acknowledgment sent {"connection_id":157761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:35:58] local.INFO: TCP Data received {"connection_id":158980,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:35:58] local.INFO: Processing buffer {"connection_id":158980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:35:58] local.INFO: IMEI packet received {"connection_id":158980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":158980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:36:03] local.INFO: TCP Data received {"connection_id":158980,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:36:03] local.INFO: Processing buffer {"connection_id":158980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:36:03] local.INFO: IMEI packet received {"connection_id":158980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":158980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:36:05] local.INFO: TCP Data received {"connection_id":158980,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:36:05] local.INFO: Processing buffer {"connection_id":158980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e4ef48012ceb5f800713b858001400a126..."} 
[2026-08-19 17:36:05] local.INFO: Packet analysis {"connection_id":158980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:36:05] local.INFO: Extracted packet for processing {"connection_id":158980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e4"} 
[2026-08-19 17:36:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457507975168001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:36:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787140829000,"timestamp_ms":1787140829000,"timestamp_seconds":1787140829,"priority":1,"record_length":96,"hex_timestamp":"000001a019e4ef48"} 
[2026-08-19 17:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 17:36:05] 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-08-19 17:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457507975168001,"66":25973,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457507975168001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:36:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:36:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457507975168001,"power":25973,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":158980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:36:05] local.INFO: GPS data processed {"connection_id":158980,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:36:05] local.INFO: Acknowledgment sent {"connection_id":158980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:36:08] local.INFO: TCP Data received {"connection_id":158981,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:36:08] local.INFO: Processing buffer {"connection_id":158981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:36:08] local.INFO: IMEI packet received {"connection_id":158981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":158981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:36:13] local.INFO: TCP Data received {"connection_id":158981,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:36:13] local.INFO: Processing buffer {"connection_id":158981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:36:13] local.INFO: IMEI packet received {"connection_id":158981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":158981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:36:14] local.INFO: TCP Data received {"connection_id":158981,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e90628012d18d7000720ff88003c014a22..."} 
[2026-08-19 17:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e90628012d18d7000720ff88003c014a22..."} 
[2026-08-19 17:36:14] local.INFO: Processing buffer {"connection_id":158981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e90628012d18d7000720ff88003c014a22..."} 
[2026-08-19 17:36:14] local.INFO: Packet analysis {"connection_id":158981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:36:14] local.INFO: Extracted packet for processing {"connection_id":158981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:36:14] local.INFO: GPS Element Parsed {"raw_longitude":756602624,"raw_latitude":119603080,"longitude_deg":75.6602624,"latitude_deg":11.960308,"altitude":60,"angle":330,"satellites":34,"speed":29,"hex_longitude":"2d18d700","hex_latitude":"0720ff88","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508119808001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13938775193288704,"note":"Value kept but may cause issues"} 
[2026-08-19 17:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792432682311217152,"note":"Value kept but may cause issues"} 
[2026-08-19 17:36:14] 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-08-19 17:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787141097000,"timestamp_ms":1787141097000,"timestamp_seconds":1787141097,"priority":1,"record_length":96,"hex_timestamp":"000001a019e90628"} 
[2026-08-19 17:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:36:14] 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-08-19 17:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-19 17:36:14] 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-08-19 17: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-08-19 17:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:36:14] 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-08-19 17:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508119808001,"66":12667,"106":206,"83":41984,"24":29,"16":13938775193288704,"45":1792432682311217152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508119808001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:36:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:36:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13938775193288704,"km_value":13938775193288.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792432682311217152,"description":"Unknown IO ID 45"} 
[2026-08-19 17:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508119808001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1792432682311217152}} 
[2026-08-19 17:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":158981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:36:14] local.INFO: GPS data processed {"connection_id":158981,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:36:14] local.INFO: Acknowledgment sent {"connection_id":158981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:36:37] local.INFO: TCP Data received {"connection_id":158980,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:36:37] local.INFO: Processing buffer {"connection_id":158980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:36:37] local.INFO: Packet analysis {"connection_id":158980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:36:37] local.INFO: Extracted packet for processing {"connection_id":158980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:36:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":37,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508052224001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:36:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787141130000,"timestamp_ms":1787141130000,"timestamp_seconds":1787141130,"priority":1,"record_length":96,"hex_timestamp":"000001a019e98710"} 
[2026-08-19 17:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 17:36:37] 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-08-19 17:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508052224001,"66":25549,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508052224001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:36:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:36:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508052224001,"power":25549,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":158980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:36:37] local.INFO: GPS data processed {"connection_id":158980,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:36:37] local.INFO: Acknowledgment sent {"connection_id":158980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:36:45] local.INFO: TCP Data received {"connection_id":158981,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e90df8012d18d500072104b0003c015822..."} 
[2026-08-19 17:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e90df8012d18d500072104b0003c015822..."} 
[2026-08-19 17:36:45] local.INFO: Processing buffer {"connection_id":158981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e90df8012d18d500072104b0003c015822..."} 
[2026-08-19 17:36:45] local.INFO: Packet analysis {"connection_id":158981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:36:45] local.INFO: Extracted packet for processing {"connection_id":158981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:36:45] local.INFO: GPS Element Parsed {"raw_longitude":756602112,"raw_latitude":119604400,"longitude_deg":75.6602112,"latitude_deg":11.96044,"altitude":60,"angle":344,"satellites":34,"speed":27,"hex_longitude":"2d18d500","hex_latitude":"072104b0","is_valid_coordinates":true} 
[2026-08-19 17:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508120832001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13938843912765440,"note":"Value kept but may cause issues"} 
[2026-08-19 17:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789899407521449984,"note":"Value kept but may cause issues"} 
[2026-08-19 17:36:45] 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-08-19 17:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787141099000,"timestamp_ms":1787141099000,"timestamp_seconds":1787141099,"priority":1,"record_length":96,"hex_timestamp":"000001a019e90df8"} 
[2026-08-19 17:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17: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-08-19 17:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-19 17:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:36:45] 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-08-19 17:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508120832001,"66":12613,"106":206,"83":41984,"24":27,"16":13938843912765440,"45":1789899407521449984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508120832001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:36:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:36:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13938843912765440,"km_value":13938843912765.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789899407521449984,"description":"Unknown IO ID 45"} 
[2026-08-19 17:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508120832001,"power":12613,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1789899407521449984}} 
[2026-08-19 17:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":158981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:36:45] local.INFO: GPS data processed {"connection_id":158981,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:36:45] local.INFO: Acknowledgment sent {"connection_id":158981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:36:53] local.INFO: TCP Data received {"connection_id":160297,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:36:53] local.INFO: Processing buffer {"connection_id":160297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:36:53] local.INFO: IMEI packet received {"connection_id":160297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":160297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:36:54] local.INFO: TCP Data received {"connection_id":160297,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e9a268012d7ec54005def568000600911b..."} 
[2026-08-19 17:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e9a268012d7ec54005def568000600911b..."} 
[2026-08-19 17:36:54] local.INFO: Processing buffer {"connection_id":160297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e9a268012d7ec54005def568000600911b..."} 
[2026-08-19 17:36:54] local.INFO: Packet analysis {"connection_id":160297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:36:54] local.INFO: Extracted packet for processing {"connection_id":160297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:36:54] local.INFO: GPS Element Parsed {"raw_longitude":763282752,"raw_latitude":98497896,"longitude_deg":76.3282752,"latitude_deg":9.8497896,"altitude":6,"angle":145,"satellites":27,"speed":25,"hex_longitude":"2d7ec540","hex_latitude":"05def568","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508125952001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120815312617603072,"note":"Value kept but may cause issues"} 
[2026-08-19 17:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128163151199664128,"note":"Value kept but may cause issues"} 
[2026-08-19 17:36: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-08-19 17:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787141137000,"timestamp_ms":1787141137000,"timestamp_seconds":1787141137,"priority":1,"record_length":96,"hex_timestamp":"000001a019e9a268"} 
[2026-08-19 17:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17: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-08-19 17: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-19 17:36:54] 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-08-19 17: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-08-19 17:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:36:54] 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-08-19 17:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508125952001,"66":13461,"207":206,"85":15104,"24":25,"16":120815312617603072,"45":9128163151199664128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-19 17:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508125952001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:36:54] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-19 17:36:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120815312617603072,"km_value":120815312617603.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128163151199664128,"description":"Unknown IO ID 45"} 
[2026-08-19 17:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508125952001,"power":13461,"unknown_207":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9128163151199664128}} 
[2026-08-19 17:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":160297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:36:54] local.INFO: GPS data processed {"connection_id":160297,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:36:54] local.INFO: Acknowledgment sent {"connection_id":160297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:36:59] local.INFO: TCP Data received {"connection_id":157762,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:36:59] local.INFO: Processing buffer {"connection_id":157762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:36:59] local.INFO: IMEI packet received {"connection_id":157762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":157762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:37:04] local.INFO: TCP Data received {"connection_id":157762,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:37:04] local.INFO: Processing buffer {"connection_id":157762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:37:04] local.INFO: IMEI packet received {"connection_id":157762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":157762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:37:05] local.INFO: TCP Data received {"connection_id":157762,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:37:05] local.INFO: Processing buffer {"connection_id":157762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:37:05] local.INFO: Packet analysis {"connection_id":157762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:37:05] local.INFO: Extracted packet for processing {"connection_id":157762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:37:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":37,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508052224001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787141130000,"timestamp_ms":1787141130000,"timestamp_seconds":1787141130,"priority":1,"record_length":96,"hex_timestamp":"000001a019e98710"} 
[2026-08-19 17:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 17:37:05] 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-08-19 17:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508052224001,"66":25549,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508052224001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:37:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:37:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508052224001,"power":25549,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":157762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:37:05] local.INFO: GPS data processed {"connection_id":157762,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:37:05] local.INFO: Acknowledgment sent {"connection_id":157762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:37:08] local.INFO: TCP Data received {"connection_id":158982,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:37:08] local.INFO: Processing buffer {"connection_id":158982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:37:08] local.INFO: IMEI packet received {"connection_id":158982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":158982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:37:13] local.INFO: TCP Data received {"connection_id":158982,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:37:13] local.INFO: Processing buffer {"connection_id":158982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:37:13] local.INFO: IMEI packet received {"connection_id":158982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":158982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:37:14] local.INFO: TCP Data received {"connection_id":158982,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e96000012d18d34007210d38003d015b22..."} 
[2026-08-19 17:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e96000012d18d34007210d38003d015b22..."} 
[2026-08-19 17:37:14] local.INFO: Processing buffer {"connection_id":158982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e96000012d18d34007210d38003d015b22..."} 
[2026-08-19 17:37:14] local.INFO: Packet analysis {"connection_id":158982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:37:14] local.INFO: Extracted packet for processing {"connection_id":158982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:37:14] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119606584,"longitude_deg":75.6601664,"latitude_deg":11.9606584,"altitude":61,"angle":347,"satellites":34,"speed":0,"hex_longitude":"2d18d340","hex_latitude":"07210d38","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508121344001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13938955581915136,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789336457568366592,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:14] 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-08-19 17:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787141120000,"timestamp_ms":1787141120000,"timestamp_seconds":1787141120,"priority":1,"record_length":96,"hex_timestamp":"000001a019e96000"} 
[2026-08-19 17:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17: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-08-19 17: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-19 17:37: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-08-19 17: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-08-19 17:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:37:14] 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-08-19 17:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508121344001,"66":12548,"106":206,"83":41984,"24":0,"16":13938955581915136,"45":1789336457568366592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508121344001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:37:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:37:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13938955581915136,"km_value":13938955581915.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789336457568366592,"description":"Unknown IO ID 45"} 
[2026-08-19 17:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508121344001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789336457568366592}} 
[2026-08-19 17:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":158982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:37:14] local.INFO: GPS data processed {"connection_id":158982,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:37:14] local.INFO: Acknowledgment sent {"connection_id":158982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:37:25] local.INFO: TCP Data received {"connection_id":160297,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e9a268012d7ec54005def568000600911b..."} 
[2026-08-19 17:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e9a268012d7ec54005def568000600911b..."} 
[2026-08-19 17:37:25] local.INFO: Processing buffer {"connection_id":160297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e9a268012d7ec54005def568000600911b..."} 
[2026-08-19 17:37:25] local.INFO: Packet analysis {"connection_id":160297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:37:25] local.INFO: Extracted packet for processing {"connection_id":160297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:37:25] local.INFO: GPS Element Parsed {"raw_longitude":763282752,"raw_latitude":98497896,"longitude_deg":76.3282752,"latitude_deg":9.8497896,"altitude":6,"angle":145,"satellites":27,"speed":25,"hex_longitude":"2d7ec540","hex_latitude":"05def568","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508131072001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120815312617603072,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9134777813150558208,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:25] 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-08-19 17:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787141137000,"timestamp_ms":1787141137000,"timestamp_seconds":1787141137,"priority":1,"record_length":96,"hex_timestamp":"000001a019e9a268"} 
[2026-08-19 17:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:37: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-08-19 17: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-19 17:37:25] 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-08-19 17: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-08-19 17:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:37:25] 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-08-19 17:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508131072001,"66":13461,"207":206,"85":15104,"24":25,"16":120815312617603072,"45":9134777813150558208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-19 17:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508131072001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:37:25] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-19 17:37:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120815312617603072,"km_value":120815312617603.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9134777813150558208,"description":"Unknown IO ID 45"} 
[2026-08-19 17:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508131072001,"power":13461,"unknown_207":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9134777813150558208}} 
[2026-08-19 17:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":160297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:37:25] local.INFO: GPS data processed {"connection_id":160297,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:37:25] local.INFO: Acknowledgment sent {"connection_id":160297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:37:37] local.INFO: TCP Data received {"connection_id":157762,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:37:37] local.INFO: Processing buffer {"connection_id":157762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:37:37] local.INFO: Packet analysis {"connection_id":157762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:37:37] local.INFO: Extracted packet for processing {"connection_id":157762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:37:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":37,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508052224001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787141130000,"timestamp_ms":1787141130000,"timestamp_seconds":1787141130,"priority":1,"record_length":96,"hex_timestamp":"000001a019e98710"} 
[2026-08-19 17:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 17:37:37] 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-08-19 17:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508052224001,"66":25549,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508052224001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:37:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:37:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508052224001,"power":25549,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":157762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:37:37] local.INFO: GPS data processed {"connection_id":157762,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:37:37] local.INFO: Acknowledgment sent {"connection_id":157762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:37:41] local.INFO: TCP Data received {"connection_id":157763,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:37:41] local.INFO: Processing buffer {"connection_id":157763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:37:41] local.INFO: IMEI packet received {"connection_id":157763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":157763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:37:45] local.INFO: TCP Data received {"connection_id":158982,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019e9b208012d18d34007210d38003d015b23..."} 
[2026-08-19 17:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e9b208012d18d34007210d38003d015b23..."} 
[2026-08-19 17:37:45] local.INFO: Processing buffer {"connection_id":158982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e9b208012d18d34007210d38003d015b23..."} 
[2026-08-19 17:37:45] local.INFO: Packet analysis {"connection_id":158982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:37:45] local.INFO: Extracted packet for processing {"connection_id":158982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:37:45] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119606584,"longitude_deg":75.6601664,"latitude_deg":11.9606584,"altitude":61,"angle":347,"satellites":35,"speed":0,"hex_longitude":"2d18d340","hex_latitude":"07210d38","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508126720001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13938955581915136,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876359682048,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:45] 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-08-19 17:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787141141000,"timestamp_ms":1787141141000,"timestamp_seconds":1787141141,"priority":1,"record_length":96,"hex_timestamp":"000001a019e9b208"} 
[2026-08-19 17:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17: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-08-19 17: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 17:37:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:45] local.WARNING: Large IO value detected {"io_id":34,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:45] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":34817,"corrected_to":0} 
[2026-08-19 17:37:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184226193613,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":3221692636,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:45] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3906934785,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:45] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3804758076,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-19 17:37:45] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2227175424,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:45] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:45] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,106,83,24,241,157,16,133,160,13,45,4,60,34,10,66,6,255,246,1,240,221,227,25,32,113,205,38,215,48,239,50,103,2,49,7,55,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":246,"original":34817,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-19 17:37:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395894912877330432,"timestamp_seconds":4395894912877330.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 17:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:37:45] 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-08-19 17:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508126720001,"66":12526,"106":206,"83":41984,"24":0,"16":13938955581915136,"45":1788843876359682048},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508126720001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:37:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:37:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13938955581915136,"km_value":13938955581915.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876359682048,"description":"Unknown IO ID 45"} 
[2026-08-19 17:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508126720001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788843876359682048}} 
[2026-08-19 17:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":158982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:37:45] local.INFO: GPS data processed {"connection_id":158982,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:37:45] local.INFO: Acknowledgment sent {"connection_id":158982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:37:46] local.INFO: TCP Data received {"connection_id":157763,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:37:46] local.INFO: Processing buffer {"connection_id":157763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:37:46] local.INFO: IMEI packet received {"connection_id":157763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":157763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:37:48] local.INFO: TCP Data received {"connection_id":157763,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019eb3c90012d7f320005ddbf180008009c1c..."} 
[2026-08-19 17:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019eb3c90012d7f320005ddbf180008009c1c..."} 
[2026-08-19 17:37:48] local.INFO: Processing buffer {"connection_id":157763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019eb3c90012d7f320005ddbf180008009c1c..."} 
[2026-08-19 17:37:48] local.INFO: Packet analysis {"connection_id":157763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019eb"} 
[2026-08-19 17:37:48] local.INFO: Extracted packet for processing {"connection_id":157763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019eb"} 
[2026-08-19 17:37:48] local.INFO: GPS Element Parsed {"raw_longitude":763310592,"raw_latitude":98418456,"longitude_deg":76.3310592,"latitude_deg":9.8418456,"altitude":8,"angle":156,"satellites":28,"speed":52,"hex_longitude":"2d7f3200","hex_latitude":"05ddbf18","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508155904001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120819431491239936,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159829086059481088,"note":"Value kept but may cause issues"} 
[2026-08-19 17:37:48] 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-08-19 17:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787141242000,"timestamp_ms":1787141242000,"timestamp_seconds":1787141242,"priority":1,"record_length":96,"hex_timestamp":"000001a019eb3c90"} 
[2026-08-19 17:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-19 17:37:48] 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-08-19 17: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-08-19 17:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":157763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":157763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":157763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:37:48] 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-08-19 17:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508155904001,"66":13504,"205":206,"85":15104,"24":52,"16":120819431491239936,"45":9159829086059481088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-19 17:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508155904001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:37:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120819431491239936,"km_value":120819431491239.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159829086059481088,"description":"Unknown IO ID 45"} 
[2026-08-19 17:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508155904001,"power":13504,"cell_id":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9159829086059481088}} 
[2026-08-19 17:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":157763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:37:48] local.INFO: GPS data processed {"connection_id":157763,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:37:48] local.INFO: Acknowledgment sent {"connection_id":157763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:37:58] local.INFO: TCP Data received {"connection_id":158109,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:37:58] local.INFO: Processing buffer {"connection_id":158109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:37:58] local.INFO: IMEI packet received {"connection_id":158109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":158109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:38:03] local.INFO: TCP Data received {"connection_id":158109,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:38:03] local.INFO: Processing buffer {"connection_id":158109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:38:03] local.INFO: IMEI packet received {"connection_id":158109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":158109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:38:05] local.INFO: TCP Data received {"connection_id":158109,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:38:05] local.INFO: Processing buffer {"connection_id":158109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:38:05] local.INFO: Packet analysis {"connection_id":158109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:38:05] local.INFO: Extracted packet for processing {"connection_id":158109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:38:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":37,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508052224001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787141130000,"timestamp_ms":1787141130000,"timestamp_seconds":1787141130,"priority":1,"record_length":96,"hex_timestamp":"000001a019e98710"} 
[2026-08-19 17:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 17:38:05] 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-08-19 17:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508052224001,"66":25549,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508052224001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:38:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:38:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508052224001,"power":25549,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":158109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:38:05] local.INFO: GPS data processed {"connection_id":158109,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:38:05] local.INFO: Acknowledgment sent {"connection_id":158109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:38:12] local.INFO: TCP Data received {"connection_id":158983,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:38:12] local.INFO: Processing buffer {"connection_id":158983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:38:12] local.INFO: IMEI packet received {"connection_id":158983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":158983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:38:13] local.INFO: TCP Data received {"connection_id":158983,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:38:13] local.INFO: Processing buffer {"connection_id":158983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:38:13] local.INFO: IMEI packet received {"connection_id":158983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":158983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:38:14] local.INFO: TCP Data received {"connection_id":158983,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:38:14] local.INFO: Processing buffer {"connection_id":158983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:38:14] local.INFO: IMEI packet received {"connection_id":158983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":158983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:38:15] local.INFO: TCP Data received {"connection_id":158983,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ea0410012d18d34007210d38003d015b20..."} 
[2026-08-19 17:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ea0410012d18d34007210d38003d015b20..."} 
[2026-08-19 17:38:15] local.INFO: Processing buffer {"connection_id":158983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ea0410012d18d34007210d38003d015b20..."} 
[2026-08-19 17:38:15] local.INFO: Packet analysis {"connection_id":158983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ea"} 
[2026-08-19 17:38:15] local.INFO: Extracted packet for processing {"connection_id":158983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ea"} 
[2026-08-19 17:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119606584,"longitude_deg":75.6601664,"latitude_deg":11.9606584,"altitude":61,"angle":347,"satellites":32,"speed":0,"hex_longitude":"2d18d340","hex_latitude":"07210d38","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508132096001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13938955581915136,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876359682048,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:15] 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-08-19 17:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787141162000,"timestamp_ms":1787141162000,"timestamp_seconds":1787141162,"priority":1,"record_length":96,"hex_timestamp":"000001a019ea0410"} 
[2026-08-19 17:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17: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-08-19 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 17:38:15] 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-08-19 17: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-08-19 17:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:38:15] 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-08-19 17:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508132096001,"66":12526,"106":206,"83":41984,"24":0,"16":13938955581915136,"45":1788843876359682048},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508132096001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:38:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:38:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13938955581915136,"km_value":13938955581915.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876359682048,"description":"Unknown IO ID 45"} 
[2026-08-19 17:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508132096001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788843876359682048}} 
[2026-08-19 17:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":158983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:38:15] local.INFO: GPS data processed {"connection_id":158983,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:38:15] local.INFO: Acknowledgment sent {"connection_id":158983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:38:25] local.INFO: TCP Data received {"connection_id":157763,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019eb57e8012d7f3cc005dd9d88000900aa1c..."} 
[2026-08-19 17:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019eb57e8012d7f3cc005dd9d88000900aa1c..."} 
[2026-08-19 17:38:25] local.INFO: Processing buffer {"connection_id":157763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019eb57e8012d7f3cc005dd9d88000900aa1c..."} 
[2026-08-19 17:38:25] local.INFO: Packet analysis {"connection_id":157763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019eb"} 
[2026-08-19 17:38:25] local.INFO: Extracted packet for processing {"connection_id":157763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019eb"} 
[2026-08-19 17:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763313344,"raw_latitude":98409864,"longitude_deg":76.3313344,"latitude_deg":9.8409864,"altitude":9,"angle":170,"satellites":28,"speed":49,"hex_longitude":"2d7f3cc0","hex_latitude":"05dd9d88","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508157952001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120819869577904128,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165388216847505408,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:25] 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-08-19 17:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787141249000,"timestamp_ms":1787141249000,"timestamp_seconds":1787141249,"priority":1,"record_length":96,"hex_timestamp":"000001a019eb57e8"} 
[2026-08-19 17:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:38:25] 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-08-19 17: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-19 17:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":157763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":157763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":157763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:38:25] 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-08-19 17:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508157952001,"66":13319,"205":206,"85":15104,"24":49,"16":120819869577904128,"45":9165388216847505408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-19 17:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508157952001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120819869577904128,"km_value":120819869577904.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165388216847505408,"description":"Unknown IO ID 45"} 
[2026-08-19 17:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508157952001,"power":13319,"cell_id":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9165388216847505408}} 
[2026-08-19 17:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":157763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:38:25] local.INFO: GPS data processed {"connection_id":157763,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:38:25] local.INFO: Acknowledgment sent {"connection_id":157763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:38:37] local.INFO: TCP Data received {"connection_id":158109,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:38:37] local.INFO: Processing buffer {"connection_id":158109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:38:37] local.INFO: Packet analysis {"connection_id":158109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:38:37] local.INFO: Extracted packet for processing {"connection_id":158109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:38:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":37,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508052224001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787141130000,"timestamp_ms":1787141130000,"timestamp_seconds":1787141130,"priority":1,"record_length":96,"hex_timestamp":"000001a019e98710"} 
[2026-08-19 17:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 17:38:37] 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-08-19 17: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-08-19 17:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508052224001,"66":25549,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508052224001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:38:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:38:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508052224001,"power":25549,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":158109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:38:37] local.INFO: GPS data processed {"connection_id":158109,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:38:37] local.INFO: Acknowledgment sent {"connection_id":158109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:38:43] local.INFO: TCP Data received {"connection_id":160298,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:38:43] local.INFO: Processing buffer {"connection_id":160298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:38:43] local.INFO: IMEI packet received {"connection_id":160298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":160298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:38:46] local.INFO: TCP Data received {"connection_id":160298,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:38:46] local.INFO: Processing buffer {"connection_id":160298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:38:46] local.INFO: IMEI packet received {"connection_id":160298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":160298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:38:46] local.INFO: TCP Data received {"connection_id":158983,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ebadd8012d18ae0007216e780049014122..."} 
[2026-08-19 17:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ebadd8012d18ae0007216e780049014122..."} 
[2026-08-19 17:38:46] local.INFO: Processing buffer {"connection_id":158983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ebadd8012d18ae0007216e780049014122..."} 
[2026-08-19 17:38:46] local.INFO: Packet analysis {"connection_id":158983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019eb"} 
[2026-08-19 17:38:46] local.INFO: Extracted packet for processing {"connection_id":158983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019eb"} 
[2026-08-19 17:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756592128,"raw_latitude":119631480,"longitude_deg":75.6592128,"latitude_deg":11.963148,"altitude":73,"angle":321,"satellites":34,"speed":34,"hex_longitude":"2d18ae00","hex_latitude":"07216e78","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508162816001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13940295611711488,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784129170504343552,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:46] 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-08-19 17:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787141271000,"timestamp_ms":1787141271000,"timestamp_seconds":1787141271,"priority":1,"record_length":96,"hex_timestamp":"000001a019ebadd8"} 
[2026-08-19 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-08-19 17:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 17:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6981020437,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:46] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503812319805440,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-19 17:38:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:46] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2240086016,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:46] local.WARNING: Large IO value detected {"io_id":128,"raw_value":84751260360057102,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:46] local.WARNING: Large IO value detected {"io_id":48,"raw_value":17171417275566336,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:46] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,106,83,24,241,157,16,134,160,115,45,192,66,67,35,10,107,60,133,84,64,1,240,169,227,25,33,4,113,205,44,209,239,55,2,49,7,61,206,128,48],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-19 17:38:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972339181098434560,"timestamp_seconds":4972339181098435.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 17:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:38:46] 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-08-19 17:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508162816001,"66":14352,"106":206,"83":41984,"24":34,"16":13940295611711488,"45":1784129170504343552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508162816001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:38:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13940295611711488,"km_value":13940295611711.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784129170504343552,"description":"Unknown IO ID 45"} 
[2026-08-19 17:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508162816001,"power":14352,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1784129170504343552}} 
[2026-08-19 17:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":158983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:38:46] local.INFO: GPS data processed {"connection_id":158983,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:38:46] local.INFO: Acknowledgment sent {"connection_id":158983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:38:51] local.INFO: TCP Data received {"connection_id":160298,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:38:51] local.INFO: Processing buffer {"connection_id":160298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:38:51] local.INFO: IMEI packet received {"connection_id":160298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":160298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:38:52] local.INFO: TCP Data received {"connection_id":160298,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ec32a8012d7f7f0005dcc850000300851a..."} 
[2026-08-19 17:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ec32a8012d7f7f0005dcc850000300851a..."} 
[2026-08-19 17:38:52] local.INFO: Processing buffer {"connection_id":160298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ec32a8012d7f7f0005dcc850000300851a..."} 
[2026-08-19 17:38:52] local.INFO: Packet analysis {"connection_id":160298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ec"} 
[2026-08-19 17:38:52] local.INFO: Extracted packet for processing {"connection_id":160298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ec"} 
[2026-08-19 17:38:52] local.INFO: GPS Element Parsed {"raw_longitude":763330304,"raw_latitude":98355280,"longitude_deg":76.3330304,"latitude_deg":9.835528,"altitude":3,"angle":133,"satellites":26,"speed":31,"hex_longitude":"2d7f7f00","hex_latitude":"05dcc850","is_valid_coordinates":true} 
[2026-08-19 17:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508173568001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120822695666384896,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9185865521387335680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:52] 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-08-19 17:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787141305000,"timestamp_ms":1787141305000,"timestamp_seconds":1787141305,"priority":1,"record_length":96,"hex_timestamp":"000001a019ec32a8"} 
[2026-08-19 17:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-19 17:38:52] 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-08-19 17:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:38:52] 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-08-19 17:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508173568001,"66":13178,"111":206,"85":15104,"24":31,"16":120822695666384896,"45":9185865521387335680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 17:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508173568001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:38:52] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 17:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120822695666384896,"km_value":120822695666384.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9185865521387335680,"description":"Unknown IO ID 45"} 
[2026-08-19 17:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508173568001,"power":13178,"unknown_111":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9185865521387335680}} 
[2026-08-19 17:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":160298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:38:52] local.INFO: GPS data processed {"connection_id":160298,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:38:52] local.INFO: Acknowledgment sent {"connection_id":160298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:38:54] local.INFO: TCP Data received {"connection_id":160298,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ec4248012d7f87c005dcbf80000300931c..."} 
[2026-08-19 17:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ec4248012d7f87c005dcbf80000300931c..."} 
[2026-08-19 17:38:54] local.INFO: Processing buffer {"connection_id":160298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ec4248012d7f87c005dcbf80000300931c..."} 
[2026-08-19 17:38:54] local.INFO: Packet analysis {"connection_id":160298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ec"} 
[2026-08-19 17:38:54] local.INFO: Extracted packet for processing {"connection_id":160298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ec"} 
[2026-08-19 17:38:54] local.INFO: GPS Element Parsed {"raw_longitude":763332544,"raw_latitude":98353024,"longitude_deg":76.3332544,"latitude_deg":9.8353024,"altitude":3,"angle":147,"satellites":28,"speed":31,"hex_longitude":"2d7f87c0","hex_latitude":"05dcbf80","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508174080001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120822845990240256,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9187061790038052864,"note":"Value kept but may cause issues"} 
[2026-08-19 17:38:54] 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-08-19 17:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787141309000,"timestamp_ms":1787141309000,"timestamp_seconds":1787141309,"priority":1,"record_length":96,"hex_timestamp":"000001a019ec4248"} 
[2026-08-19 17:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-19 17:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:38:54] 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-08-19 17:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508174080001,"66":13428,"111":206,"85":15104,"24":31,"16":120822845990240256,"45":9187061790038052864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 17:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508174080001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:38:55] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 17:38:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120822845990240256,"km_value":120822845990240.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9187061790038052864,"description":"Unknown IO ID 45"} 
[2026-08-19 17:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508174080001,"power":13428,"unknown_111":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9187061790038052864}} 
[2026-08-19 17:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":160298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:38:55] local.INFO: GPS data processed {"connection_id":160298,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:38:55] local.INFO: Acknowledgment sent {"connection_id":160298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:39:04] local.INFO: TCP Data received {"connection_id":158110,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:39:04] local.INFO: Processing buffer {"connection_id":158110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:39:04] local.INFO: IMEI packet received {"connection_id":158110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":158110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:39:07] local.INFO: TCP Data received {"connection_id":158111,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:39:07] local.INFO: Processing buffer {"connection_id":158111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:39:07] local.INFO: IMEI packet received {"connection_id":158111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":158111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:39:08] local.INFO: TCP Data received {"connection_id":158111,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:39:08] local.INFO: Processing buffer {"connection_id":158111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:39:08] local.INFO: IMEI packet received {"connection_id":158111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":158111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:39:09] local.INFO: TCP Data received {"connection_id":158110,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:39:09] local.INFO: Processing buffer {"connection_id":158110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:39:09] local.INFO: IMEI packet received {"connection_id":158110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":158110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:39:09] local.INFO: TCP Data received {"connection_id":158111,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:39:09] local.INFO: Processing buffer {"connection_id":158111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:39:09] local.INFO: IMEI packet received {"connection_id":158111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":158111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:39:10] local.INFO: TCP Data received {"connection_id":158111,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ebb5a8012d18a8c007217308004a013022..."} 
[2026-08-19 17:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ebb5a8012d18a8c007217308004a013022..."} 
[2026-08-19 17:39:10] local.INFO: Processing buffer {"connection_id":158111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ebb5a8012d18a8c007217308004a013022..."} 
[2026-08-19 17:39:10] local.INFO: Packet analysis {"connection_id":158111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019eb"} 
[2026-08-19 17:39:10] local.INFO: Extracted packet for processing {"connection_id":158111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019eb"} 
[2026-08-19 17:39:10] local.INFO: GPS Element Parsed {"raw_longitude":756590784,"raw_latitude":119632648,"longitude_deg":75.6590784,"latitude_deg":11.9632648,"altitude":74,"angle":304,"satellites":34,"speed":34,"hex_longitude":"2d18a8c0","hex_latitude":"07217308","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508165376001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13940377216090112,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778358933483583488,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787141273000,"timestamp_ms":1787141273000,"timestamp_seconds":1787141273,"priority":1,"record_length":96,"hex_timestamp":"000001a019ebb5a8"} 
[2026-08-19 17:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:39: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-08-19 17: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733145856,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-3278612690172379075,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5774459185873813514,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503812320854016,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":133,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3948150785,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637963349813866,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6413389756465742080,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402090,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2243690496,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84751257138831633,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":144,"raw_value":17171481700077568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,106,83,24,241,157,16,134,160,45,128,82,69,36,10,66,115,192,67,35,107,1,240,60,227,133,25,33,4,113,205,27,80,209,248,239,54,2,49,7,62,20,206,56,144],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-19 17:39:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260557454032371712,"timestamp_seconds":5260557454032372.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 17:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:39:10] 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-08-19 17:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508165376001,"66":14265,"106":206,"83":41984,"24":34,"16":13940377216090112,"45":1778358933483583488},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508165376001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:39:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:39:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13940377216090112,"km_value":13940377216090.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778358933483583488,"description":"Unknown IO ID 45"} 
[2026-08-19 17:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508165376001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1778358933483583488}} 
[2026-08-19 17:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":158111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:39:10] local.INFO: GPS data processed {"connection_id":158111,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:39:10] local.INFO: Acknowledgment sent {"connection_id":158111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:39:10] local.INFO: TCP Data received {"connection_id":158110,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:39:10] local.INFO: Processing buffer {"connection_id":158110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:39:10] local.INFO: Packet analysis {"connection_id":158110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:39:10] local.INFO: Extracted packet for processing {"connection_id":158110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:39:10] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":37,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508052224001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787141130000,"timestamp_ms":1787141130000,"timestamp_seconds":1787141130,"priority":1,"record_length":96,"hex_timestamp":"000001a019e98710"} 
[2026-08-19 17:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 17:39:10] 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-08-19 17: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-08-19 17:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508052224001,"66":25549,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508052224001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:39:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508052224001,"power":25549,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":158110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:39:10] local.INFO: GPS data processed {"connection_id":158110,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:39:10] local.INFO: Acknowledgment sent {"connection_id":158110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:39:14] local.INFO: TCP Data received {"connection_id":158110,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:39:14] local.INFO: Processing buffer {"connection_id":158110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:39:14] local.INFO: Packet analysis {"connection_id":158110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:39:14] local.INFO: Extracted packet for processing {"connection_id":158110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:39:14] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":37,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508052224001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787141130000,"timestamp_ms":1787141130000,"timestamp_seconds":1787141130,"priority":1,"record_length":96,"hex_timestamp":"000001a019e98710"} 
[2026-08-19 17:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 17:39:14] 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-08-19 17: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-08-19 17:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508052224001,"66":25549,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508052224001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:39:14] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:39:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508052224001,"power":25549,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":158110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:39:15] local.INFO: GPS data processed {"connection_id":158110,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:39:15] local.INFO: Acknowledgment sent {"connection_id":158110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:39:26] local.INFO: TCP Data received {"connection_id":160298,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ec4a18012d7f8a4005dcb970000200a01c..."} 
[2026-08-19 17:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ec4a18012d7f8a4005dcb970000200a01c..."} 
[2026-08-19 17:39:26] local.INFO: Processing buffer {"connection_id":160298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ec4a18012d7f8a4005dcb970000200a01c..."} 
[2026-08-19 17:39:26] local.INFO: Packet analysis {"connection_id":160298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ec"} 
[2026-08-19 17:39:26] local.INFO: Extracted packet for processing {"connection_id":160298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ec"} 
[2026-08-19 17:39:26] local.INFO: GPS Element Parsed {"raw_longitude":763333184,"raw_latitude":98351472,"longitude_deg":76.3333184,"latitude_deg":9.8351472,"altitude":2,"angle":160,"satellites":28,"speed":37,"hex_longitude":"2d7f8a40","hex_latitude":"05dcb970","is_valid_coordinates":true} 
[2026-08-19 17:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508175104001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120822927594618880,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189524696083693568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787141311000,"timestamp_ms":1787141311000,"timestamp_seconds":1787141311,"priority":1,"record_length":96,"hex_timestamp":"000001a019ec4a18"} 
[2026-08-19 17:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-19 17:39: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-08-19 17:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:39:26] 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-08-19 17:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508175104001,"66":13254,"111":206,"85":15104,"24":37,"16":120822927594618880,"45":9189524696083693568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 17:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508175104001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:39:26] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 17:39:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120822927594618880,"km_value":120822927594618.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189524696083693568,"description":"Unknown IO ID 45"} 
[2026-08-19 17:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508175104001,"power":13254,"unknown_111":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9189524696083693568}} 
[2026-08-19 17:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":160298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:39:26] local.INFO: GPS data processed {"connection_id":160298,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:39:26] local.INFO: Acknowledgment sent {"connection_id":160298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:39:41] local.INFO: TCP Data received {"connection_id":158111,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ebbd78012d18a28007217600004b012322..."} 
[2026-08-19 17:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ebbd78012d18a28007217600004b012322..."} 
[2026-08-19 17:39:41] local.INFO: Processing buffer {"connection_id":158111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ebbd78012d18a28007217600004b012322..."} 
[2026-08-19 17:39:41] local.INFO: Packet analysis {"connection_id":158111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019eb"} 
[2026-08-19 17:39:41] local.INFO: Extracted packet for processing {"connection_id":158111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019eb"} 
[2026-08-19 17:39:41] local.INFO: GPS Element Parsed {"raw_longitude":756589184,"raw_latitude":119633408,"longitude_deg":75.6589184,"latitude_deg":11.9633408,"altitude":75,"angle":291,"satellites":34,"speed":36,"hex_longitude":"2d18a280","hex_latitude":"07217600","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508165888001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13940463115436032,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776881189856151552,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:41] 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-08-19 17:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787141275000,"timestamp_ms":1787141275000,"timestamp_seconds":1787141275,"priority":1,"record_length":96,"hex_timestamp":"000001a019ebbd78"} 
[2026-08-19 17:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 17:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:39:41] 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-08-19 17:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508165888001,"66":14298,"106":206,"83":41984,"24":36,"16":13940463115436032,"45":1776881189856151552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508165888001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:39:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13940463115436032,"km_value":13940463115436.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776881189856151552,"description":"Unknown IO ID 45"} 
[2026-08-19 17:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508165888001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1776881189856151552}} 
[2026-08-19 17:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":158111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:39:41] local.INFO: GPS data processed {"connection_id":158111,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:39:41] local.INFO: Acknowledgment sent {"connection_id":158111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:39:41] local.INFO: TCP Data received {"connection_id":158984,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:39:41] local.INFO: Processing buffer {"connection_id":158984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:39:41] local.INFO: IMEI packet received {"connection_id":158984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":158984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:39:46] local.INFO: TCP Data received {"connection_id":158984,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:39:46] local.INFO: Processing buffer {"connection_id":158984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:39:46] local.INFO: IMEI packet received {"connection_id":158984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":158984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:39:47] local.INFO: TCP Data received {"connection_id":158984,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ec7128012d7f96c005dc9740000400a01a..."} 
[2026-08-19 17:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ec7128012d7f96c005dc9740000400a01a..."} 
[2026-08-19 17:39:47] local.INFO: Processing buffer {"connection_id":158984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ec7128012d7f96c005dc9740000400a01a..."} 
[2026-08-19 17:39:47] local.INFO: Packet analysis {"connection_id":158984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ec"} 
[2026-08-19 17:39:47] local.INFO: Extracted packet for processing {"connection_id":158984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ec"} 
[2026-08-19 17:39:47] local.INFO: GPS Element Parsed {"raw_longitude":763336384,"raw_latitude":98342720,"longitude_deg":76.3336384,"latitude_deg":9.834272,"altitude":4,"angle":160,"satellites":26,"speed":30,"hex_longitude":"2d7f96c0","hex_latitude":"05dc9740","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508175616001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120823378566184960,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190228383525072896,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787141321000,"timestamp_ms":1787141321000,"timestamp_seconds":1787141321,"priority":1,"record_length":96,"hex_timestamp":"000001a019ec7128"} 
[2026-08-19 17:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:39: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-08-19 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-19 17:39:47] 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-08-19 17: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-08-19 17:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:39:47] 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-08-19 17:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508175616001,"66":13222,"111":206,"85":15104,"24":30,"16":120823378566184960,"45":9190228383525072896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 17:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508175616001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:39:47] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 17:39:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120823378566184960,"km_value":120823378566184.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190228383525072896,"description":"Unknown IO ID 45"} 
[2026-08-19 17:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508175616001,"power":13222,"unknown_111":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9190228383525072896}} 
[2026-08-19 17:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":158984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:39:47] local.INFO: GPS data processed {"connection_id":158984,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:39:47] local.INFO: Acknowledgment sent {"connection_id":158984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:39:48] local.INFO: TCP Data received {"connection_id":158984,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ec9c20012d7f9f4005dc81400007008b1c..."} 
[2026-08-19 17:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ec9c20012d7f9f4005dc81400007008b1c..."} 
[2026-08-19 17:39:48] local.INFO: Processing buffer {"connection_id":158984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ec9c20012d7f9f4005dc81400007008b1c..."} 
[2026-08-19 17:39:48] local.INFO: Packet analysis {"connection_id":158984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ec"} 
[2026-08-19 17:39:48] local.INFO: Extracted packet for processing {"connection_id":158984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ec"} 
[2026-08-19 17:39:48] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":98337088,"longitude_deg":76.333856,"latitude_deg":9.8337088,"altitude":7,"angle":139,"satellites":28,"speed":22,"hex_longitude":"2d7f9f40","hex_latitude":"05dc8140","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508178176001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120823674918928384,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193746820731715584,"note":"Value kept but may cause issues"} 
[2026-08-19 17:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787141332000,"timestamp_ms":1787141332000,"timestamp_seconds":1787141332,"priority":1,"record_length":96,"hex_timestamp":"000001a019ec9c20"} 
[2026-08-19 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-08-19 17:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 17:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 17:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":158984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":158984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":158984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:39:48] 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-08-19 17:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508178176001,"66":13515,"53":206,"85":15104,"24":22,"16":120823674918928384,"45":9193746820731715584},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-19 17:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508178176001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:39:48] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-19 17:39:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120823674918928384,"km_value":120823674918928.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193746820731715584,"description":"Unknown IO ID 45"} 
[2026-08-19 17:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508178176001,"power":13515,"unknown_53":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9193746820731715584}} 
[2026-08-19 17:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":158984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:39:48] local.INFO: GPS data processed {"connection_id":158984,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:39:48] local.INFO: Acknowledgment sent {"connection_id":158984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:39:59] local.INFO: TCP Data received {"connection_id":158112,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:39:59] local.INFO: Processing buffer {"connection_id":158112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:39:59] local.INFO: IMEI packet received {"connection_id":158112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":158112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:40:03] local.INFO: TCP Data received {"connection_id":158112,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:40:03] local.INFO: Processing buffer {"connection_id":158112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:40:03] local.INFO: IMEI packet received {"connection_id":158112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":158112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:40:05] local.INFO: TCP Data received {"connection_id":158112,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:40:05] local.INFO: Processing buffer {"connection_id":158112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:40:05] local.INFO: Packet analysis {"connection_id":158112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:40:05] local.INFO: Extracted packet for processing {"connection_id":158112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:40:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":37,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508052224001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787141130000,"timestamp_ms":1787141130000,"timestamp_seconds":1787141130,"priority":1,"record_length":96,"hex_timestamp":"000001a019e98710"} 
[2026-08-19 17:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 17:40:05] 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-08-19 17:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508052224001,"66":25549,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508052224001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:40:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:40:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508052224001,"power":25549,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":158112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:40:05] local.INFO: GPS data processed {"connection_id":158112,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:40:05] local.INFO: Acknowledgment sent {"connection_id":158112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:40:08] local.INFO: TCP Data received {"connection_id":158985,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:40:08] local.INFO: Processing buffer {"connection_id":158985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:40:08] local.INFO: IMEI packet received {"connection_id":158985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":158985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:40:09] local.INFO: TCP Data received {"connection_id":158112,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:40:09] local.INFO: Processing buffer {"connection_id":158112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:40:09] local.INFO: Packet analysis {"connection_id":158112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:40:09] local.INFO: Extracted packet for processing {"connection_id":158112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":37,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508052224001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787141130000,"timestamp_ms":1787141130000,"timestamp_seconds":1787141130,"priority":1,"record_length":96,"hex_timestamp":"000001a019e98710"} 
[2026-08-19 17:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 17:40:09] 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-08-19 17:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":158112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":158112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":158112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508052224001,"66":25549,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508052224001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:40:09] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:40:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508052224001,"power":25549,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":158112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:40:10] local.INFO: GPS data processed {"connection_id":158112,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:40:10] local.INFO: Acknowledgment sent {"connection_id":158112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:40:11] local.INFO: TCP Data received {"connection_id":158985,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:40:11] local.INFO: Processing buffer {"connection_id":158985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:40:11] local.INFO: IMEI packet received {"connection_id":158985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":158985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:40:13] local.INFO: TCP Data received {"connection_id":158985,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:40:13] local.INFO: Processing buffer {"connection_id":158985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:40:13] local.INFO: IMEI packet received {"connection_id":158985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":158985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:40:14] local.INFO: TCP Data received {"connection_id":158985,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ed1538012d181e000721a748004a002322..."} 
[2026-08-19 17:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ed1538012d181e000721a748004a002322..."} 
[2026-08-19 17:40:14] local.INFO: Processing buffer {"connection_id":158985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ed1538012d181e000721a748004a002322..."} 
[2026-08-19 17:40:14] local.INFO: Packet analysis {"connection_id":158985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:40:14] local.INFO: Extracted packet for processing {"connection_id":158985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:40:14] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646024,"longitude_deg":75.6555264,"latitude_deg":11.9646024,"altitude":74,"angle":35,"satellites":34,"speed":7,"hex_longitude":"2d181e00","hex_latitude":"0721a748","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508188672001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13942267001700352,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840937472,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40: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-08-19 17:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787141363000,"timestamp_ms":1787141363000,"timestamp_seconds":1787141363,"priority":1,"record_length":96,"hex_timestamp":"000001a019ed1538"} 
[2026-08-19 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-08-19 17:40: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-08-19 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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146112,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-9205349797860999093,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84750859854356865,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1594837338301661194,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503812353818624,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3966838785,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2436366414,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637447953738346,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3221692802,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812266,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2274295808,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.WARNING: Large IO value detected {"io_id":208,"raw_value":21111757711874304,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:14] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,136,160,206,45,164,74,31,10,66,191,192,75,32,144,1,240,27,227,25,33,4,113,205,35,96,216,34,239,53,2,49,7,76,208],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-19 17:40:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332637034005921792,"timestamp_seconds":5332637034005922.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 17:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:40:14] 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-08-19 17:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508188672001,"66":14276,"105":206,"83":41984,"24":7,"16":13942267001700352,"45":1737826536840937472},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508188672001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:40:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:40:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13942267001700352,"km_value":13942267001700.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840937472,"description":"Unknown IO ID 45"} 
[2026-08-19 17:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508188672001,"power":14276,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737826536840937472}} 
[2026-08-19 17:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":158985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:40:14] local.INFO: GPS data processed {"connection_id":158985,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:40:14] local.INFO: Acknowledgment sent {"connection_id":158985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:40:15] local.INFO: TCP Data received {"connection_id":158985,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ed1920012d181ec00721a7a8004a004a22..."} 
[2026-08-19 17:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ed1920012d181ec00721a7a8004a004a22..."} 
[2026-08-19 17:40:15] local.INFO: Processing buffer {"connection_id":158985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ed1920012d181ec00721a7a8004a004a22..."} 
[2026-08-19 17:40:15] local.INFO: Packet analysis {"connection_id":158985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:40:15] local.INFO: Extracted packet for processing {"connection_id":158985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646120,"longitude_deg":75.6555456,"latitude_deg":11.964612,"altitude":74,"angle":74,"satellites":34,"speed":7,"hex_longitude":"2d181ec0","hex_latitude":"0721a7a8","is_valid_coordinates":true} 
[2026-08-19 17:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508188928001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13942275591634944,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840972288,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787141364000,"timestamp_ms":1787141364000,"timestamp_seconds":1787141364,"priority":1,"record_length":96,"hex_timestamp":"000001a019ed1920"} 
[2026-08-19 17:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:40:15] 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-08-19 17:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 17:40: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-08-19 17:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:40:15] 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-08-19 17:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508188928001,"66":14276,"105":206,"83":41984,"24":7,"16":13942275591634944,"45":1737826536840972288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508188928001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:40:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:40:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13942275591634944,"km_value":13942275591634.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840972288,"description":"Unknown IO ID 45"} 
[2026-08-19 17:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508188928001,"power":14276,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737826536840972288}} 
[2026-08-19 17:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":158985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:40:15] local.INFO: GPS data processed {"connection_id":158985,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:40:15] local.INFO: Acknowledgment sent {"connection_id":158985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:40:19] local.INFO: TCP Data received {"connection_id":158984,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019edb948012d80690005dca7d0000200771c..."} 
[2026-08-19 17:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019edb948012d80690005dca7d0000200771c..."} 
[2026-08-19 17:40:19] local.INFO: Processing buffer {"connection_id":158984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019edb948012d80690005dca7d0000200771c..."} 
[2026-08-19 17:40:19] local.INFO: Packet analysis {"connection_id":158984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:40:19] local.INFO: Extracted packet for processing {"connection_id":158984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:40:19] local.INFO: GPS Element Parsed {"raw_longitude":763390208,"raw_latitude":98346960,"longitude_deg":76.3390208,"latitude_deg":9.834696,"altitude":2,"angle":119,"satellites":28,"speed":18,"hex_longitude":"2d806900","hex_latitude":"05dca7d0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508199424001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120826217539567616,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194309720332535808,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:19] 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-08-19 17:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787141405000,"timestamp_ms":1787141405000,"timestamp_seconds":1787141405,"priority":1,"record_length":96,"hex_timestamp":"000001a019edb948"} 
[2026-08-19 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-08-19 17:40: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-08-19 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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-19 17:40:19] 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-08-19 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-08-19 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-08-19 17:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:40:19] 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-08-19 17:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508199424001,"66":13602,"251":206,"85":15104,"24":18,"16":120826217539567616,"45":-9194309720332535808},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-19 17:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508199424001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:40:19] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-19 17:40:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120826217539567616,"km_value":120826217539567.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194309720332535808,"description":"Unknown IO ID 45"} 
[2026-08-19 17:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508199424001,"power":13602,"unknown_251":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9194309720332535808}} 
[2026-08-19 17:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":158984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:40:19] local.INFO: GPS data processed {"connection_id":158984,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:40:19] local.INFO: Acknowledgment sent {"connection_id":158984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:40:41] local.INFO: TCP Data received {"connection_id":160299,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:40:41] local.INFO: Processing buffer {"connection_id":160299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:40:41] local.INFO: IMEI packet received {"connection_id":160299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":160299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:40:41] local.INFO: TCP Data received {"connection_id":158112,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:40:41] local.INFO: Processing buffer {"connection_id":158112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:40:41] local.INFO: Packet analysis {"connection_id":158112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:40:41] local.INFO: Extracted packet for processing {"connection_id":158112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:40:41] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":37,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508052224001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787141130000,"timestamp_ms":1787141130000,"timestamp_seconds":1787141130,"priority":1,"record_length":96,"hex_timestamp":"000001a019e98710"} 
[2026-08-19 17:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 17:40:41] 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-08-19 17:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508052224001,"66":25549,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508052224001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:40:41] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508052224001,"power":25549,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":158112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:40:41] local.INFO: GPS data processed {"connection_id":158112,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:40:41] local.INFO: Acknowledgment sent {"connection_id":158112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:40:44] local.INFO: TCP Data received {"connection_id":160299,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:40:44] local.INFO: Processing buffer {"connection_id":160299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:40:44] local.INFO: IMEI packet received {"connection_id":160299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":160299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:40:45] local.INFO: TCP Data received {"connection_id":160299,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019edbd30012d806a8005dca6b0000200831c..."} 
[2026-08-19 17:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019edbd30012d806a8005dca6b0000200831c..."} 
[2026-08-19 17:40:45] local.INFO: Processing buffer {"connection_id":160299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019edbd30012d806a8005dca6b0000200831c..."} 
[2026-08-19 17:40:45] local.INFO: Packet analysis {"connection_id":160299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:40:45] local.INFO: Extracted packet for processing {"connection_id":160299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:40:45] local.INFO: GPS Element Parsed {"raw_longitude":763390592,"raw_latitude":98346672,"longitude_deg":76.3390592,"latitude_deg":9.8346672,"altitude":2,"angle":131,"satellites":28,"speed":19,"hex_longitude":"2d806a80","hex_latitude":"05dca6b0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508199680001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120826239014404096,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193817139123335168,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:45] 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-08-19 17:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787141406000,"timestamp_ms":1787141406000,"timestamp_seconds":1787141406,"priority":1,"record_length":96,"hex_timestamp":"000001a019edbd30"} 
[2026-08-19 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-08-19 17:40: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-08-19 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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-19 17:40:45] 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-08-19 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-08-19 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-08-19 17:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:40:45] 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-08-19 17:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508199680001,"66":13602,"251":206,"85":15104,"24":19,"16":120826239014404096,"45":-9193817139123335168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-19 17:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508199680001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:40:45] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-19 17:40:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120826239014404096,"km_value":120826239014404.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193817139123335168,"description":"Unknown IO ID 45"} 
[2026-08-19 17:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508199680001,"power":13602,"unknown_251":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9193817139123335168}} 
[2026-08-19 17:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":160299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:40:45] local.INFO: GPS data processed {"connection_id":160299,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:40:45] local.INFO: Acknowledgment sent {"connection_id":160299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:40:46] local.INFO: TCP Data received {"connection_id":158985,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ed1d08012d181f800721a798004a006d23..."} 
[2026-08-19 17:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ed1d08012d181f800721a798004a006d23..."} 
[2026-08-19 17:40:46] local.INFO: Processing buffer {"connection_id":158985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ed1d08012d181f800721a798004a006d23..."} 
[2026-08-19 17:40:46] local.INFO: Packet analysis {"connection_id":158985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:40:46] local.INFO: Extracted packet for processing {"connection_id":158985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646104,"longitude_deg":75.6555648,"latitude_deg":11.9646104,"altitude":74,"angle":109,"satellites":35,"speed":9,"hex_longitude":"2d181f80","hex_latitude":"0721a798","is_valid_coordinates":true} 
[2026-08-19 17:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508189184001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13942284181569536,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073529856,"note":"Value kept but may cause issues"} 
[2026-08-19 17:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787141365000,"timestamp_ms":1787141365000,"timestamp_seconds":1787141365,"priority":1,"record_length":96,"hex_timestamp":"000001a019ed1d08"} 
[2026-08-19 17:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 17:40:46] 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-08-19 17:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:40:46] 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-08-19 17:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508189184001,"66":14070,"105":206,"83":41984,"24":9,"16":13942284181569536,"45":1738037643073529856},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508189184001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:40:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:40:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13942284181569536,"km_value":13942284181569.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073529856,"description":"Unknown IO ID 45"} 
[2026-08-19 17:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508189184001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738037643073529856}} 
[2026-08-19 17:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":158985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:40:47] local.INFO: GPS data processed {"connection_id":158985,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:40:47] local.INFO: Acknowledgment sent {"connection_id":158985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:40:59] local.INFO: TCP Data received {"connection_id":160300,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:40:59] local.INFO: Processing buffer {"connection_id":160300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:40:59] local.INFO: IMEI packet received {"connection_id":160300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":160300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:41:04] local.INFO: TCP Data received {"connection_id":160300,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:41:04] local.INFO: Processing buffer {"connection_id":160300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:41:04] local.INFO: IMEI packet received {"connection_id":160300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":160300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:41:05] local.INFO: TCP Data received {"connection_id":160300,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:41:05] local.INFO: Processing buffer {"connection_id":160300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019e98710012ceb5f800713b858001400a125..."} 
[2026-08-19 17:41:05] local.INFO: Packet analysis {"connection_id":160300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:41:05] local.INFO: Extracted packet for processing {"connection_id":160300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019e9"} 
[2026-08-19 17:41:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":37,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508052224001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787141130000,"timestamp_ms":1787141130000,"timestamp_seconds":1787141130,"priority":1,"record_length":96,"hex_timestamp":"000001a019e98710"} 
[2026-08-19 17:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 17:41:05] 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-08-19 17:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508052224001,"66":25549,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508052224001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:41:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508052224001,"power":25549,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":160300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:41:05] local.INFO: GPS data processed {"connection_id":160300,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:41:05] local.INFO: Acknowledgment sent {"connection_id":160300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:41:06] local.INFO: TCP Data received {"connection_id":158986,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:41:06] local.INFO: Processing buffer {"connection_id":158986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:41:06] local.INFO: IMEI packet received {"connection_id":158986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":158986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:41:08] local.INFO: TCP Data received {"connection_id":158986,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:41:08] local.INFO: Processing buffer {"connection_id":158986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:41:08] local.INFO: IMEI packet received {"connection_id":158986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":158986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:41:13] local.INFO: TCP Data received {"connection_id":158986,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:41:13] local.INFO: Processing buffer {"connection_id":158986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:41:13] local.INFO: IMEI packet received {"connection_id":158986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":158986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:41:14] local.INFO: TCP Data received {"connection_id":158986,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ed20f0012d1820000721a738004a008b21..."} 
[2026-08-19 17:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ed20f0012d1820000721a738004a008b21..."} 
[2026-08-19 17:41:14] local.INFO: Processing buffer {"connection_id":158986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ed20f0012d1820000721a738004a008b21..."} 
[2026-08-19 17:41:14] local.INFO: Packet analysis {"connection_id":158986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:41:14] local.INFO: Extracted packet for processing {"connection_id":158986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119646008,"longitude_deg":75.6555776,"latitude_deg":11.9646008,"altitude":74,"angle":139,"satellites":33,"speed":5,"hex_longitude":"2d182000","hex_latitude":"0721a738","is_valid_coordinates":true} 
[2026-08-19 17:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508189440001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13942292771504128,"note":"Value kept but may cause issues"} 
[2026-08-19 17:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306058752,"note":"Value kept but may cause issues"} 
[2026-08-19 17:41: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-08-19 17:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787141366000,"timestamp_ms":1787141366000,"timestamp_seconds":1787141366,"priority":1,"record_length":96,"hex_timestamp":"000001a019ed20f0"} 
[2026-08-19 17:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:41:14] 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-08-19 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-19 17:41:14] 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-08-19 17: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-08-19 17:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:41:14] 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-08-19 17:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508189440001,"66":14070,"105":206,"83":41984,"24":5,"16":13942292771504128,"45":1738248749306058752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508189440001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:41:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:41:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13942292771504128,"km_value":13942292771504.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306058752,"description":"Unknown IO ID 45"} 
[2026-08-19 17:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508189440001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738248749306058752}} 
[2026-08-19 17:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":158986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:41:14] local.INFO: GPS data processed {"connection_id":158986,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:41:14] local.INFO: Acknowledgment sent {"connection_id":158986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:41:16] local.INFO: TCP Data received {"connection_id":160299,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019edc500012d806c8005dca3b8000300961b..."} 
[2026-08-19 17:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019edc500012d806c8005dca3b8000300961b..."} 
[2026-08-19 17:41:16] local.INFO: Processing buffer {"connection_id":160299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019edc500012d806c8005dca3b8000300961b..."} 
[2026-08-19 17:41:16] local.INFO: Packet analysis {"connection_id":160299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:41:16] local.INFO: Extracted packet for processing {"connection_id":160299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:41:16] local.INFO: GPS Element Parsed {"raw_longitude":763391104,"raw_latitude":98345912,"longitude_deg":76.3391104,"latitude_deg":9.8345912,"altitude":3,"angle":150,"satellites":27,"speed":20,"hex_longitude":"2d806c80","hex_latitude":"05dca3b8","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508199936001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120826286259044352,"note":"Value kept but may cause issues"} 
[2026-08-19 17:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193394926658342912,"note":"Value kept but may cause issues"} 
[2026-08-19 17:41:16] 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-08-19 17:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787141408000,"timestamp_ms":1787141408000,"timestamp_seconds":1787141408,"priority":1,"record_length":96,"hex_timestamp":"000001a019edc500"} 
[2026-08-19 17:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17: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-08-19 17: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-08-19 17:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:41:16] 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-08-19 17:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508199936001,"66":13559,"251":206,"85":15104,"24":20,"16":120826286259044352,"45":-9193394926658342912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-19 17:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508199936001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:41:16] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-19 17:41:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120826286259044352,"km_value":120826286259044.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193394926658342912,"description":"Unknown IO ID 45"} 
[2026-08-19 17:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508199936001,"power":13559,"unknown_251":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9193394926658342912}} 
[2026-08-19 17:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":160299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:41:17] local.INFO: GPS data processed {"connection_id":160299,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:41:17] local.INFO: Acknowledgment sent {"connection_id":160299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:41:36] local.INFO: TCP Data received {"connection_id":160300,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:41:36] local.INFO: Processing buffer {"connection_id":160300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:41:36] local.INFO: Packet analysis {"connection_id":160300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:41:36] local.INFO: Extracted packet for processing {"connection_id":160300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:41:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508129280001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:41:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787141431000,"timestamp_ms":1787141431000,"timestamp_seconds":1787141431,"priority":1,"record_length":96,"hex_timestamp":"000001a019ee1ed8"} 
[2026-08-19 17:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 17:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508129280001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508129280001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:41:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:41:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508129280001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":160300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:41:36] local.INFO: GPS data processed {"connection_id":160300,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:41:36] local.INFO: Acknowledgment sent {"connection_id":160300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:41:41] local.INFO: TCP Data received {"connection_id":160301,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:41:41] local.INFO: Processing buffer {"connection_id":160301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:41:41] local.INFO: IMEI packet received {"connection_id":160301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":160301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:41:44] local.INFO: TCP Data received {"connection_id":160301,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:41:44] local.INFO: Processing buffer {"connection_id":160301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:41:44] local.INFO: IMEI packet received {"connection_id":160301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":160301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:41:45] local.INFO: TCP Data received {"connection_id":158986,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ed3860012d1823400721a3e8004c007e1e..."} 
[2026-08-19 17:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ed3860012d1823400721a3e8004c007e1e..."} 
[2026-08-19 17:41:45] local.INFO: Processing buffer {"connection_id":158986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ed3860012d1823400721a3e8004c007e1e..."} 
[2026-08-19 17:41:45] local.INFO: Packet analysis {"connection_id":158986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:41:45] local.INFO: Extracted packet for processing {"connection_id":158986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:41:45] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119645160,"longitude_deg":75.6556608,"latitude_deg":11.964516,"altitude":76,"angle":126,"satellites":30,"speed":12,"hex_longitude":"2d182340","hex_latitude":"0721a3e8","is_valid_coordinates":true} 
[2026-08-19 17:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508189696001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13942348606078976,"note":"Value kept but may cause issues"} 
[2026-08-19 17:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794389504,"note":"Value kept but may cause issues"} 
[2026-08-19 17:41: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-08-19 17:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787141372000,"timestamp_ms":1787141372000,"timestamp_seconds":1787141372,"priority":1,"record_length":96,"hex_timestamp":"000001a019ed3860"} 
[2026-08-19 17:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:41:45] 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-08-19 17:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-19 17:41:45] 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-08-19 17:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:41:45] 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-08-19 17:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508189696001,"66":14189,"105":206,"83":41984,"24":12,"16":13942348606078976,"45":1738389486794389504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508189696001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:41:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:41:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13942348606078976,"km_value":13942348606078.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794389504,"description":"Unknown IO ID 45"} 
[2026-08-19 17:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508189696001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1738389486794389504}} 
[2026-08-19 17:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":158986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:41:45] local.INFO: GPS data processed {"connection_id":158986,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:41:45] local.INFO: Acknowledgment sent {"connection_id":158986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:41:45] local.INFO: TCP Data received {"connection_id":160301,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019eecea0012d80ef4005db91880004009a1c..."} 
[2026-08-19 17:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019eecea0012d80ef4005db91880004009a1c..."} 
[2026-08-19 17:41:45] local.INFO: Processing buffer {"connection_id":160301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019eecea0012d80ef4005db91880004009a1c..."} 
[2026-08-19 17:41:45] local.INFO: Packet analysis {"connection_id":160301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:41:45] local.INFO: Extracted packet for processing {"connection_id":160301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:41:45] local.INFO: GPS Element Parsed {"raw_longitude":763424576,"raw_latitude":98275720,"longitude_deg":76.3424576,"latitude_deg":9.827572,"altitude":4,"angle":154,"satellites":28,"speed":47,"hex_longitude":"2d80ef40","hex_latitude":"05db9188","is_valid_coordinates":true} 
[2026-08-19 17:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508217344001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120830065830264832,"note":"Value kept but may cause issues"} 
[2026-08-19 17:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9157436498401198080,"note":"Value kept but may cause issues"} 
[2026-08-19 17:41:45] 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-08-19 17:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787141476000,"timestamp_ms":1787141476000,"timestamp_seconds":1787141476,"priority":1,"record_length":96,"hex_timestamp":"000001a019eecea0"} 
[2026-08-19 17:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-19 17:41: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-08-19 17:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:41:45] 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-08-19 17:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508217344001,"66":13450,"154":206,"85":15104,"24":47,"16":120830065830264832,"45":-9157436498401198080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-19 17:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508217344001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:41:45] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 17:41:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120830065830264832,"km_value":120830065830264.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9157436498401198080,"description":"Unknown IO ID 45"} 
[2026-08-19 17:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508217344001,"power":13450,"unknown_154":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9157436498401198080}} 
[2026-08-19 17:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":160301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:41:45] local.INFO: GPS data processed {"connection_id":160301,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:41:45] local.INFO: Acknowledgment sent {"connection_id":160301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:41:58] local.INFO: TCP Data received {"connection_id":158113,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:41:58] local.INFO: Processing buffer {"connection_id":158113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:41:58] local.INFO: IMEI packet received {"connection_id":158113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":158113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:42:03] local.INFO: TCP Data received {"connection_id":158113,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:42:03] local.INFO: Processing buffer {"connection_id":158113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:42:03] local.INFO: IMEI packet received {"connection_id":158113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":158113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:42:05] local.INFO: TCP Data received {"connection_id":158113,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:42:05] local.INFO: Processing buffer {"connection_id":158113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:42:05] local.INFO: Packet analysis {"connection_id":158113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:42:05] local.INFO: Extracted packet for processing {"connection_id":158113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:42:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508129280001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:42:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787141431000,"timestamp_ms":1787141431000,"timestamp_seconds":1787141431,"priority":1,"record_length":96,"hex_timestamp":"000001a019ee1ed8"} 
[2026-08-19 17:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 17:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508129280001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508129280001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:42:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:42:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508129280001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":158113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:42:05] local.INFO: GPS data processed {"connection_id":158113,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:42:05] local.INFO: Acknowledgment sent {"connection_id":158113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:42:09] local.INFO: TCP Data received {"connection_id":158987,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:42:09] local.INFO: Processing buffer {"connection_id":158987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:42:09] local.INFO: IMEI packet received {"connection_id":158987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":158987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:42:13] local.INFO: TCP Data received {"connection_id":158987,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:42:13] local.INFO: Processing buffer {"connection_id":158987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:42:13] local.INFO: IMEI packet received {"connection_id":158987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":158987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:42:14] local.INFO: TCP Data received {"connection_id":158987,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ed4be8012d18288007219f50004e008920..."} 
[2026-08-19 17:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ed4be8012d18288007219f50004e008920..."} 
[2026-08-19 17:42:14] local.INFO: Processing buffer {"connection_id":158987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ed4be8012d18288007219f50004e008920..."} 
[2026-08-19 17:42:14] local.INFO: Packet analysis {"connection_id":158987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:42:14] local.INFO: Extracted packet for processing {"connection_id":158987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:42:14] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119643984,"longitude_deg":75.6557952,"latitude_deg":11.9643984,"altitude":78,"angle":137,"satellites":32,"speed":10,"hex_longitude":"2d182880","hex_latitude":"07219f50","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508191232001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13942434505424896,"note":"Value kept but may cause issues"} 
[2026-08-19 17:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280468482048,"note":"Value kept but may cause issues"} 
[2026-08-19 17:42: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-08-19 17:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787141377000,"timestamp_ms":1787141377000,"timestamp_seconds":1787141377,"priority":1,"record_length":96,"hex_timestamp":"000001a019ed4be8"} 
[2026-08-19 17:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:42:14] 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-08-19 17: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 17:42:14] 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-08-19 17: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-08-19 17:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:42:14] 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-08-19 17:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508191232001,"66":14374,"105":206,"83":41984,"24":10,"16":13942434505424896,"45":1739304280468482048},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508191232001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:42:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:42:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13942434505424896,"km_value":13942434505424.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280468482048,"description":"Unknown IO ID 45"} 
[2026-08-19 17:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508191232001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1739304280468482048}} 
[2026-08-19 17:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":158987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:42:14] local.INFO: GPS data processed {"connection_id":158987,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:42:14] local.INFO: Acknowledgment sent {"connection_id":158987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:42:16] local.INFO: TCP Data received {"connection_id":160301,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019eeede0012d80fc0005db6e680004009f1b..."} 
[2026-08-19 17:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019eeede0012d80fc0005db6e680004009f1b..."} 
[2026-08-19 17:42:16] local.INFO: Processing buffer {"connection_id":160301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019eeede0012d80fc0005db6e680004009f1b..."} 
[2026-08-19 17:42:16] local.INFO: Packet analysis {"connection_id":160301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:42:16] local.INFO: Extracted packet for processing {"connection_id":160301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:42:16] local.INFO: GPS Element Parsed {"raw_longitude":763427840,"raw_latitude":98266728,"longitude_deg":76.342784,"latitude_deg":9.8266728,"altitude":4,"angle":159,"satellites":27,"speed":46,"hex_longitude":"2d80fc00","hex_latitude":"05db6e68","is_valid_coordinates":true} 
[2026-08-19 17:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508217856001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120830529686732800,"note":"Value kept but may cause issues"} 
[2026-08-19 17:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9156029123518167040,"note":"Value kept but may cause issues"} 
[2026-08-19 17:42:16] 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-08-19 17:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787141484000,"timestamp_ms":1787141484000,"timestamp_seconds":1787141484,"priority":1,"record_length":96,"hex_timestamp":"000001a019eeede0"} 
[2026-08-19 17:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:42:16] 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-08-19 17:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-19 17:42:16] 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-08-19 17:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:42:16] 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-08-19 17:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508217856001,"66":13515,"154":206,"85":15104,"24":46,"16":120830529686732800,"45":-9156029123518167040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-19 17:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508217856001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:42:16] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 17:42:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120830529686732800,"km_value":120830529686732.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9156029123518167040,"description":"Unknown IO ID 45"} 
[2026-08-19 17:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508217856001,"power":13515,"unknown_154":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9156029123518167040}} 
[2026-08-19 17:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":160301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:42:16] local.INFO: GPS data processed {"connection_id":160301,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:42:16] local.INFO: Acknowledgment sent {"connection_id":160301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:42:36] local.INFO: TCP Data received {"connection_id":158113,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:42:36] local.INFO: Processing buffer {"connection_id":158113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:42:36] local.INFO: Packet analysis {"connection_id":158113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:42:36] local.INFO: Extracted packet for processing {"connection_id":158113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:42:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508129280001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:42:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787141431000,"timestamp_ms":1787141431000,"timestamp_seconds":1787141431,"priority":1,"record_length":96,"hex_timestamp":"000001a019ee1ed8"} 
[2026-08-19 17:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 17:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508129280001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508129280001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:42:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:42:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508129280001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":158113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:42:36] local.INFO: GPS data processed {"connection_id":158113,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:42:36] local.INFO: Acknowledgment sent {"connection_id":158113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:42:41] local.INFO: TCP Data received {"connection_id":157764,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:42:41] local.INFO: Processing buffer {"connection_id":157764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:42:41] local.INFO: IMEI packet received {"connection_id":157764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":157764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:42:44] local.INFO: TCP Data received {"connection_id":157764,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:42:44] local.INFO: Processing buffer {"connection_id":157764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:42:44] local.INFO: IMEI packet received {"connection_id":157764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":157764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:42:45] local.INFO: TCP Data received {"connection_id":158987,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ed9df0012d1829c007219d90004e008c1f..."} 
[2026-08-19 17:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ed9df0012d1829c007219d90004e008c1f..."} 
[2026-08-19 17:42:45] local.INFO: Processing buffer {"connection_id":158987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ed9df0012d1829c007219d90004e008c1f..."} 
[2026-08-19 17:42:45] local.INFO: Packet analysis {"connection_id":158987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:42:45] local.INFO: Extracted packet for processing {"connection_id":158987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ed"} 
[2026-08-19 17:42:45] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643536,"longitude_deg":75.6558272,"latitude_deg":11.9643536,"altitude":78,"angle":140,"satellites":31,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219d90","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508192512001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13942464570195968,"note":"Value kept but may cause issues"} 
[2026-08-19 17:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095911936,"note":"Value kept but may cause issues"} 
[2026-08-19 17:42: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-08-19 17:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787141398000,"timestamp_ms":1787141398000,"timestamp_seconds":1787141398,"priority":1,"record_length":96,"hex_timestamp":"000001a019ed9df0"} 
[2026-08-19 17:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:42: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-08-19 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 17:42:45] 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-08-19 17: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-08-19 17:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:42:45] 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-08-19 17:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508192512001,"66":14070,"105":206,"83":41984,"24":0,"16":13942464570195968,"45":1740782024095911936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508192512001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:42:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:42:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13942464570195968,"km_value":13942464570195.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740782024095911936,"description":"Unknown IO ID 45"} 
[2026-08-19 17:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508192512001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740782024095911936}} 
[2026-08-19 17:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":158987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:42:45] local.INFO: GPS data processed {"connection_id":158987,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:42:45] local.INFO: Acknowledgment sent {"connection_id":158987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:42:45] local.INFO: TCP Data received {"connection_id":157764,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ef0168012d81050005db5ce0000300931b..."} 
[2026-08-19 17:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ef0168012d81050005db5ce0000300931b..."} 
[2026-08-19 17:42:45] local.INFO: Processing buffer {"connection_id":157764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ef0168012d81050005db5ce0000300931b..."} 
[2026-08-19 17:42:45] local.INFO: Packet analysis {"connection_id":157764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ef"} 
[2026-08-19 17:42:45] local.INFO: Extracted packet for processing {"connection_id":157764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ef"} 
[2026-08-19 17:42:45] local.INFO: GPS Element Parsed {"raw_longitude":763430144,"raw_latitude":98262240,"longitude_deg":76.3430144,"latitude_deg":9.826224,"altitude":3,"angle":147,"satellites":27,"speed":34,"hex_longitude":"2d810500","hex_latitude":"05db5ce0","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508219904001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120830774499868672,"note":"Value kept but may cause issues"} 
[2026-08-19 17:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9152440317567408128,"note":"Value kept but may cause issues"} 
[2026-08-19 17:42:45] 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-08-19 17:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787141489000,"timestamp_ms":1787141489000,"timestamp_seconds":1787141489,"priority":1,"record_length":96,"hex_timestamp":"000001a019ef0168"} 
[2026-08-19 17:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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":203,"data_length":795,"current_offset":136} 
[2026-08-19 17:42:45] 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-08-19 17: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-08-19 17:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:42:45] 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-08-19 17:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508219904001,"66":13243,"154":206,"85":15104,"24":34,"16":120830774499868672,"45":-9152440317567408128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-19 17:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508219904001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:42:45] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 17:42:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120830774499868672,"km_value":120830774499868.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9152440317567408128,"description":"Unknown IO ID 45"} 
[2026-08-19 17:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508219904001,"power":13243,"unknown_154":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9152440317567408128}} 
[2026-08-19 17:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":157764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:42:45] local.INFO: GPS data processed {"connection_id":157764,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:42:45] local.INFO: Acknowledgment sent {"connection_id":157764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:43:04] local.INFO: TCP Data received {"connection_id":160302,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:43:04] local.INFO: Processing buffer {"connection_id":160302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:43:04] local.INFO: IMEI packet received {"connection_id":160302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":160302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:43:08] local.INFO: TCP Data received {"connection_id":160303,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:43:08] local.INFO: Processing buffer {"connection_id":160303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:43:08] local.INFO: IMEI packet received {"connection_id":160303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":160303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:43:09] local.INFO: TCP Data received {"connection_id":160302,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:43:09] local.INFO: Processing buffer {"connection_id":160302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:43:09] local.INFO: IMEI packet received {"connection_id":160302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":160302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:43:09] local.INFO: TCP Data received {"connection_id":160303,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:43:09] local.INFO: Processing buffer {"connection_id":160303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:43:09] local.INFO: IMEI packet received {"connection_id":160303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":160303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:43:10] local.INFO: TCP Data received {"connection_id":160302,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:43:10] local.INFO: Processing buffer {"connection_id":160302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:43:10] local.INFO: Packet analysis {"connection_id":160302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:43:10] local.INFO: Extracted packet for processing {"connection_id":160302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:43:10] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508129280001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787141431000,"timestamp_ms":1787141431000,"timestamp_seconds":1787141431,"priority":1,"record_length":96,"hex_timestamp":"000001a019ee1ed8"} 
[2026-08-19 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-08-19 17:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 17:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 17:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508129280001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508129280001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:43:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508129280001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":160302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:43:10] local.INFO: GPS data processed {"connection_id":160302,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:43:10] local.INFO: Acknowledgment sent {"connection_id":160302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:43:13] local.INFO: TCP Data received {"connection_id":160303,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:43:13] local.INFO: Processing buffer {"connection_id":160303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:43:13] local.INFO: IMEI packet received {"connection_id":160303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":160303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:43:15] local.INFO: TCP Data received {"connection_id":160303,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ef43d0012d187980072182c0004e005d20..."} 
[2026-08-19 17:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ef43d0012d187980072182c0004e005d20..."} 
[2026-08-19 17:43:15] local.INFO: Processing buffer {"connection_id":160303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ef43d0012d187980072182c0004e005d20..."} 
[2026-08-19 17:43:15] local.INFO: Packet analysis {"connection_id":160303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ef"} 
[2026-08-19 17:43:15] local.INFO: Extracted packet for processing {"connection_id":160303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ef"} 
[2026-08-19 17:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756578688,"raw_latitude":119636672,"longitude_deg":75.6578688,"latitude_deg":11.9636672,"altitude":78,"angle":93,"satellites":32,"speed":0,"hex_longitude":"2d187980","hex_latitude":"072182c0","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508220160001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13943512542216192,"note":"Value kept but may cause issues"} 
[2026-08-19 17:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763581497207603200,"note":"Value kept but may cause issues"} 
[2026-08-19 17:43:15] 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-08-19 17:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787141506000,"timestamp_ms":1787141506000,"timestamp_seconds":1787141506,"priority":1,"record_length":96,"hex_timestamp":"000001a019ef43d0"} 
[2026-08-19 17:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:43: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-08-19 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 17:43: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-08-19 17: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-08-19 17:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:43:15] 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-08-19 17:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508220160001,"66":14135,"106":206,"83":41984,"24":0,"16":13943512542216192,"45":1763581497207603200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508220160001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:43:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13943512542216192,"km_value":13943512542216.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763581497207603200,"description":"Unknown IO ID 45"} 
[2026-08-19 17:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508220160001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1763581497207603200}} 
[2026-08-19 17:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":160303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:43:15] local.INFO: GPS data processed {"connection_id":160303,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:43:15] local.INFO: Acknowledgment sent {"connection_id":160303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:43:15] local.INFO: TCP Data received {"connection_id":160302,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:43:15] local.INFO: Processing buffer {"connection_id":160302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:43:15] local.INFO: Packet analysis {"connection_id":160302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:43:15] local.INFO: Extracted packet for processing {"connection_id":160302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:43:15] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508129280001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:43:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787141431000,"timestamp_ms":1787141431000,"timestamp_seconds":1787141431,"priority":1,"record_length":96,"hex_timestamp":"000001a019ee1ed8"} 
[2026-08-19 17:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 17:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508129280001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508129280001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:43:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:43:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508129280001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":160302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:43:15] local.INFO: GPS data processed {"connection_id":160302,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:43:15] local.INFO: Acknowledgment sent {"connection_id":160302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:43:17] local.INFO: TCP Data received {"connection_id":157764,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f05158012d81710005da80d8000800601c..."} 
[2026-08-19 17:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f05158012d81710005da80d8000800601c..."} 
[2026-08-19 17:43:17] local.INFO: Processing buffer {"connection_id":157764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f05158012d81710005da80d8000800601c..."} 
[2026-08-19 17:43:17] local.INFO: Packet analysis {"connection_id":157764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f0"} 
[2026-08-19 17:43:17] local.INFO: Extracted packet for processing {"connection_id":157764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f0"} 
[2026-08-19 17:43:17] local.INFO: GPS Element Parsed {"raw_longitude":763457792,"raw_latitude":98205912,"longitude_deg":76.3457792,"latitude_deg":9.8205912,"altitude":8,"angle":96,"satellites":28,"speed":29,"hex_longitude":"2d817100","hex_latitude":"05da80d8","is_valid_coordinates":true} 
[2026-08-19 17:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508242944001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120833892646125568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9120352170237945856,"note":"Value kept but may cause issues"} 
[2026-08-19 17:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787141575000,"timestamp_ms":1787141575000,"timestamp_seconds":1787141575,"priority":1,"record_length":96,"hex_timestamp":"000001a019f05158"} 
[2026-08-19 17:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:43: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-08-19 17:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-19 17:43:17] 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-08-19 17:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:43:17] 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-08-19 17:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508242944001,"66":13559,"153":206,"85":15104,"24":29,"16":120833892646125568,"45":-9120352170237945856},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-19 17:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508242944001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:43:17] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 17:43:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120833892646125568,"km_value":120833892646125.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9120352170237945856,"description":"Unknown IO ID 45"} 
[2026-08-19 17:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508242944001,"power":13559,"unknown_153":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9120352170237945856}} 
[2026-08-19 17:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":157764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:43:17] local.INFO: GPS data processed {"connection_id":157764,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:43:17] local.INFO: Acknowledgment sent {"connection_id":157764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:43:41] local.INFO: TCP Data received {"connection_id":160304,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:43:41] local.INFO: Processing buffer {"connection_id":160304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:43:41] local.INFO: IMEI packet received {"connection_id":160304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":160304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:43:41] local.INFO: TCP Data received {"connection_id":160304,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:43:41] local.INFO: Processing buffer {"connection_id":160304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:43:41] local.INFO: IMEI packet received {"connection_id":160304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":160304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:43:45] local.INFO: TCP Data received {"connection_id":160304,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:43:45] local.INFO: Processing buffer {"connection_id":160304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:43:45] local.INFO: IMEI packet received {"connection_id":160304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":160304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:43:47] local.INFO: TCP Data received {"connection_id":160303,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ef95d8012d187980072182c0004e005d20..."} 
[2026-08-19 17:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ef95d8012d187980072182c0004e005d20..."} 
[2026-08-19 17:43:47] local.INFO: Processing buffer {"connection_id":160303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ef95d8012d187980072182c0004e005d20..."} 
[2026-08-19 17:43:47] local.INFO: Packet analysis {"connection_id":160303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ef"} 
[2026-08-19 17:43:47] local.INFO: Extracted packet for processing {"connection_id":160303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ef"} 
[2026-08-19 17:43:47] local.INFO: GPS Element Parsed {"raw_longitude":756578688,"raw_latitude":119636672,"longitude_deg":75.6578688,"latitude_deg":11.9636672,"altitude":78,"angle":93,"satellites":32,"speed":0,"hex_longitude":"2d187980","hex_latitude":"072182c0","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508225536001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13943512542216192,"note":"Value kept but may cause issues"} 
[2026-08-19 17:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763581497207603200,"note":"Value kept but may cause issues"} 
[2026-08-19 17:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787141527000,"timestamp_ms":1787141527000,"timestamp_seconds":1787141527,"priority":1,"record_length":96,"hex_timestamp":"000001a019ef95d8"} 
[2026-08-19 17:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 17:43:47] 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-08-19 17: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-08-19 17:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:43:47] 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-08-19 17:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508225536001,"66":14233,"106":206,"83":41984,"24":0,"16":13943512542216192,"45":1763581497207603200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508225536001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:43:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13943512542216192,"km_value":13943512542216.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763581497207603200,"description":"Unknown IO ID 45"} 
[2026-08-19 17:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508225536001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1763581497207603200}} 
[2026-08-19 17:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":160303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:43:47] local.INFO: GPS data processed {"connection_id":160303,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:43:47] local.INFO: Acknowledgment sent {"connection_id":160303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:43:52] local.INFO: TCP Data received {"connection_id":160304,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f08038012d81950005da7f580008006b1d..."} 
[2026-08-19 17:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f08038012d81950005da7f580008006b1d..."} 
[2026-08-19 17:43:52] local.INFO: Processing buffer {"connection_id":160304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f08038012d81950005da7f580008006b1d..."} 
[2026-08-19 17:43:52] local.INFO: Packet analysis {"connection_id":160304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f0"} 
[2026-08-19 17:43:52] local.INFO: Extracted packet for processing {"connection_id":160304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f0"} 
[2026-08-19 17:43:52] local.INFO: GPS Element Parsed {"raw_longitude":763467008,"raw_latitude":98205528,"longitude_deg":76.3467008,"latitude_deg":9.8205528,"altitude":8,"angle":107,"satellites":29,"speed":33,"hex_longitude":"2d819500","hex_latitude":"05da7f58","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508243200001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120834339322724352,"note":"Value kept but may cause issues"} 
[2026-08-19 17:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9119507745307830272,"note":"Value kept but may cause issues"} 
[2026-08-19 17:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787141587000,"timestamp_ms":1787141587000,"timestamp_seconds":1787141587,"priority":1,"record_length":96,"hex_timestamp":"000001a019f08038"} 
[2026-08-19 17:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-19 17:43:52] 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-08-19 17: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-08-19 17:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:43:52] 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-08-19 17:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508243200001,"66":13341,"153":206,"85":15104,"24":33,"16":120834339322724352,"45":-9119507745307830272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-19 17:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508243200001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:43:52] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 17:43:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120834339322724352,"km_value":120834339322724.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9119507745307830272,"description":"Unknown IO ID 45"} 
[2026-08-19 17:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508243200001,"power":13341,"unknown_153":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9119507745307830272}} 
[2026-08-19 17:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":160304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:43:52] local.INFO: GPS data processed {"connection_id":160304,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:43:52] local.INFO: Acknowledgment sent {"connection_id":160304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:43:59] local.INFO: TCP Data received {"connection_id":157765,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:43:59] local.INFO: Processing buffer {"connection_id":157765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:43:59] local.INFO: IMEI packet received {"connection_id":157765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":157765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:44:03] local.INFO: TCP Data received {"connection_id":157765,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:44:03] local.INFO: Processing buffer {"connection_id":157765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:44:03] local.INFO: IMEI packet received {"connection_id":157765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":157765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:44:05] local.INFO: TCP Data received {"connection_id":157765,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:44:05] local.INFO: Processing buffer {"connection_id":157765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:44:05] local.INFO: Packet analysis {"connection_id":157765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:44:05] local.INFO: Extracted packet for processing {"connection_id":157765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:44:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508129280001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:44:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787141431000,"timestamp_ms":1787141431000,"timestamp_seconds":1787141431,"priority":1,"record_length":96,"hex_timestamp":"000001a019ee1ed8"} 
[2026-08-19 17:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 17:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508129280001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508129280001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:44:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:44:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508129280001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":157765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:44:05] local.INFO: GPS data processed {"connection_id":157765,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:44:05] local.INFO: Acknowledgment sent {"connection_id":157765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:44:08] local.INFO: TCP Data received {"connection_id":157766,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:44:08] local.INFO: Processing buffer {"connection_id":157766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:44:08] local.INFO: IMEI packet received {"connection_id":157766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":157766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:44:13] local.INFO: TCP Data received {"connection_id":157766,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:44:13] local.INFO: Processing buffer {"connection_id":157766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:44:13] local.INFO: IMEI packet received {"connection_id":157766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":157766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:44:14] local.INFO: TCP Data received {"connection_id":157766,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f093c0012d18d1c007212850004200a41f..."} 
[2026-08-19 17:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f093c0012d18d1c007212850004200a41f..."} 
[2026-08-19 17:44:14] local.INFO: Processing buffer {"connection_id":157766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f093c0012d18d1c007212850004200a41f..."} 
[2026-08-19 17:44:14] local.INFO: Packet analysis {"connection_id":157766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f0"} 
[2026-08-19 17:44:14] local.INFO: Extracted packet for processing {"connection_id":157766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f0"} 
[2026-08-19 17:44:14] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119613520,"longitude_deg":75.660128,"latitude_deg":11.961352,"altitude":66,"angle":164,"satellites":31,"speed":30,"hex_longitude":"2d18d1c0","hex_latitude":"07212850","is_valid_coordinates":true} 
[2026-08-19 17:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508246016001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13945221939200000,"note":"Value kept but may cause issues"} 
[2026-08-19 17:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785888389107011584,"note":"Value kept but may cause issues"} 
[2026-08-19 17:44:14] 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-08-19 17:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787141592000,"timestamp_ms":1787141592000,"timestamp_seconds":1787141592,"priority":1,"record_length":96,"hex_timestamp":"000001a019f093c0"} 
[2026-08-19 17:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:44:14] 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-08-19 17:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 17:44:14] 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-08-19 17:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:44:14] 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-08-19 17:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508246016001,"66":13993,"106":206,"83":41984,"24":30,"16":13945221939200000,"45":1785888389107011584},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 17:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508246016001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:44:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 17:44:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13945221939200000,"km_value":13945221939200,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785888389107011584,"description":"Unknown IO ID 45"} 
[2026-08-19 17:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508246016001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1785888389107011584}} 
[2026-08-19 17:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":157766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:44:14] local.INFO: GPS data processed {"connection_id":157766,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:44:14] local.INFO: Acknowledgment sent {"connection_id":157766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:44:23] local.INFO: TCP Data received {"connection_id":160304,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f14f40012d822f8005da6018000900a01d..."} 
[2026-08-19 17:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f14f40012d822f8005da6018000900a01d..."} 
[2026-08-19 17:44:23] local.INFO: Processing buffer {"connection_id":160304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f14f40012d822f8005da6018000900a01d..."} 
[2026-08-19 17:44:23] local.INFO: Packet analysis {"connection_id":160304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f1"} 
[2026-08-19 17:44:23] local.INFO: Extracted packet for processing {"connection_id":160304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f1"} 
[2026-08-19 17:44:23] local.INFO: GPS Element Parsed {"raw_longitude":763506560,"raw_latitude":98197528,"longitude_deg":76.350656,"latitude_deg":9.8197528,"altitude":9,"angle":160,"satellites":29,"speed":41,"hex_longitude":"2d822f80","hex_latitude":"05da6018","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508257280001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120836697259769856,"note":"Value kept but may cause issues"} 
[2026-08-19 17:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9069475568197316608,"note":"Value kept but may cause issues"} 
[2026-08-19 17:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787141640000,"timestamp_ms":1787141640000,"timestamp_seconds":1787141640,"priority":1,"record_length":96,"hex_timestamp":"000001a019f14f40"} 
[2026-08-19 17:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:44: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-08-19 17: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-19 17:44:23] 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-08-19 17: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-08-19 17:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:44:23] 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-08-19 17:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508257280001,"66":13602,"153":206,"85":15104,"24":41,"16":120836697259769856,"45":-9069475568197316608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-19 17:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508257280001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:44:23] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 17:44:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120836697259769856,"km_value":120836697259769.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9069475568197316608,"description":"Unknown IO ID 45"} 
[2026-08-19 17:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508257280001,"power":13602,"unknown_153":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9069475568197316608}} 
[2026-08-19 17:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":160304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:44:23] local.INFO: GPS data processed {"connection_id":160304,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:44:23] local.INFO: Acknowledgment sent {"connection_id":160304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:44:36] local.INFO: TCP Data received {"connection_id":157765,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:44:36] local.INFO: Processing buffer {"connection_id":157765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:44:36] local.INFO: Packet analysis {"connection_id":157765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:44:36] local.INFO: Extracted packet for processing {"connection_id":157765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:44:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508129280001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:44:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787141431000,"timestamp_ms":1787141431000,"timestamp_seconds":1787141431,"priority":1,"record_length":96,"hex_timestamp":"000001a019ee1ed8"} 
[2026-08-19 17:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 17:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508129280001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508129280001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:44:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:44:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508129280001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":157765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:44:36] local.INFO: GPS data processed {"connection_id":157765,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:44:36] local.INFO: Acknowledgment sent {"connection_id":157765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:44:41] local.INFO: TCP Data received {"connection_id":158114,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:44:41] local.INFO: Processing buffer {"connection_id":158114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:44:41] local.INFO: IMEI packet received {"connection_id":158114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":158114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:44:42] local.INFO: TCP Data received {"connection_id":158114,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:44:42] local.INFO: Processing buffer {"connection_id":158114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:44:42] local.INFO: IMEI packet received {"connection_id":158114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":158114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:44:45] local.INFO: TCP Data received {"connection_id":157766,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f14b58012d18c8c00720f2b0003d00a51d..."} 
[2026-08-19 17:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f14b58012d18c8c00720f2b0003d00a51d..."} 
[2026-08-19 17:44:45] local.INFO: Processing buffer {"connection_id":157766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f14b58012d18c8c00720f2b0003d00a51d..."} 
[2026-08-19 17:44:45] local.INFO: Packet analysis {"connection_id":157766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f1"} 
[2026-08-19 17:44:45] local.INFO: Extracted packet for processing {"connection_id":157766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f1"} 
[2026-08-19 17:44:45] local.INFO: GPS Element Parsed {"raw_longitude":756598976,"raw_latitude":119599792,"longitude_deg":75.6598976,"latitude_deg":11.9599792,"altitude":61,"angle":165,"satellites":29,"speed":14,"hex_longitude":"2d18c8c0","hex_latitude":"0720f2b0","is_valid_coordinates":true} 
[2026-08-19 17:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508259072001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13946007918215168,"note":"Value kept but may cause issues"} 
[2026-08-19 17:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785818020358508544,"note":"Value kept but may cause issues"} 
[2026-08-19 17:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787141639000,"timestamp_ms":1787141639000,"timestamp_seconds":1787141639,"priority":1,"record_length":96,"hex_timestamp":"000001a019f14b58"} 
[2026-08-19 17:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:44:45] 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-08-19 17:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 17:44:45] 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-08-19 17:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:44:45] 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-08-19 17:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508259072001,"66":13363,"103":206,"83":41984,"24":14,"16":13946007918215168,"45":1785818020358508544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508259072001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:44:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:44:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13946007918215168,"km_value":13946007918215.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785818020358508544,"description":"Unknown IO ID 45"} 
[2026-08-19 17:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508259072001,"power":13363,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1785818020358508544}} 
[2026-08-19 17:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":157766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:44:45] local.INFO: GPS data processed {"connection_id":157766,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:44:45] local.INFO: Acknowledgment sent {"connection_id":157766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:44:46] local.INFO: TCP Data received {"connection_id":158114,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:44:46] local.INFO: Processing buffer {"connection_id":158114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:44:46] local.INFO: IMEI packet received {"connection_id":158114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":158114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:44:48] local.INFO: TCP Data received {"connection_id":158114,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f16e80012d8237c005da3bb8000800a71c..."} 
[2026-08-19 17:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f16e80012d8237c005da3bb8000800a71c..."} 
[2026-08-19 17:44:48] local.INFO: Processing buffer {"connection_id":158114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f16e80012d8237c005da3bb8000800a71c..."} 
[2026-08-19 17:44:48] local.INFO: Packet analysis {"connection_id":158114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f1"} 
[2026-08-19 17:44:48] local.INFO: Extracted packet for processing {"connection_id":158114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f1"} 
[2026-08-19 17:44:48] local.INFO: GPS Element Parsed {"raw_longitude":763508672,"raw_latitude":98188216,"longitude_deg":76.3508672,"latitude_deg":9.8188216,"altitude":8,"angle":167,"satellites":28,"speed":50,"hex_longitude":"2d8237c0","hex_latitude":"05da3bb8","is_valid_coordinates":true} 
[2026-08-19 17:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508259840001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120837161116237824,"note":"Value kept but may cause issues"} 
[2026-08-19 17:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9065886762246596608,"note":"Value kept but may cause issues"} 
[2026-08-19 17:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787141648000,"timestamp_ms":1787141648000,"timestamp_seconds":1787141648,"priority":1,"record_length":96,"hex_timestamp":"000001a019f16e80"} 
[2026-08-19 17:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-19 17:44:48] 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-08-19 17:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":158114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":158114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":158114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:44:48] 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-08-19 17:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508259840001,"66":13059,"153":206,"85":15104,"24":50,"16":120837161116237824,"45":-9065886762246596608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-19 17:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508259840001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:44:48] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-19 17:44:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120837161116237824,"km_value":120837161116237.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9065886762246596608,"description":"Unknown IO ID 45"} 
[2026-08-19 17:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508259840001,"power":13059,"unknown_153":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":-9065886762246596608}} 
[2026-08-19 17:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":158114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:44:48] local.INFO: GPS data processed {"connection_id":158114,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:44:48] local.INFO: Acknowledgment sent {"connection_id":158114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:44:59] local.INFO: TCP Data received {"connection_id":158988,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:44:59] local.INFO: Processing buffer {"connection_id":158988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:44:59] local.INFO: IMEI packet received {"connection_id":158988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":158988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:45:04] local.INFO: TCP Data received {"connection_id":158988,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:45:04] local.INFO: Processing buffer {"connection_id":158988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:45:04] local.INFO: IMEI packet received {"connection_id":158988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":158988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:45:05] local.INFO: TCP Data received {"connection_id":158988,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:45:05] local.INFO: Processing buffer {"connection_id":158988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:45:05] local.INFO: Packet analysis {"connection_id":158988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:45:05] local.INFO: Extracted packet for processing {"connection_id":158988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:45:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508129280001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787141431000,"timestamp_ms":1787141431000,"timestamp_seconds":1787141431,"priority":1,"record_length":96,"hex_timestamp":"000001a019ee1ed8"} 
[2026-08-19 17:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 17:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508129280001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508129280001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:45:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:45:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508129280001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":158988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:45:05] local.INFO: GPS data processed {"connection_id":158988,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:45:05] local.INFO: Acknowledgment sent {"connection_id":158988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:45:08] local.INFO: TCP Data received {"connection_id":160305,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:45:08] local.INFO: Processing buffer {"connection_id":160305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:45:08] local.INFO: IMEI packet received {"connection_id":160305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":160305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:45:13] local.INFO: TCP Data received {"connection_id":160305,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:45:13] local.INFO: Processing buffer {"connection_id":160305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:45:13] local.INFO: IMEI packet received {"connection_id":160305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":160305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:45:14] local.INFO: TCP Data received {"connection_id":160305,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f15710012d18c9000720ef48003c00b71f..."} 
[2026-08-19 17:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f15710012d18c9000720ef48003c00b71f..."} 
[2026-08-19 17:45:14] local.INFO: Processing buffer {"connection_id":160305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f15710012d18c9000720ef48003c00b71f..."} 
[2026-08-19 17:45:14] local.INFO: Packet analysis {"connection_id":160305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f1"} 
[2026-08-19 17:45:14] local.INFO: Extracted packet for processing {"connection_id":160305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f1"} 
[2026-08-19 17:45:14] local.INFO: GPS Element Parsed {"raw_longitude":756599040,"raw_latitude":119598920,"longitude_deg":75.659904,"latitude_deg":11.959892,"altitude":60,"angle":183,"satellites":31,"speed":11,"hex_longitude":"2d18c900","hex_latitude":"0720ef48","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508259584001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13946050867888128,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785888389102481408,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787141642000,"timestamp_ms":1787141642000,"timestamp_seconds":1787141642,"priority":1,"record_length":96,"hex_timestamp":"000001a019f15710"} 
[2026-08-19 17:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:45:14] 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-08-19 17: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 17:45: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-08-19 17: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-08-19 17:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:45:14] 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-08-19 17:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508259584001,"66":14298,"103":206,"83":41984,"24":11,"16":13946050867888128,"45":1785888389102481408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508259584001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:45:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:45:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13946050867888128,"km_value":13946050867888.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785888389102481408,"description":"Unknown IO ID 45"} 
[2026-08-19 17:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508259584001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1785888389102481408}} 
[2026-08-19 17:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":160305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:45:14] local.INFO: GPS data processed {"connection_id":160305,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:45:14] local.INFO: Acknowledgment sent {"connection_id":160305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:45:19] local.INFO: TCP Data received {"connection_id":158114,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f189d8012d823d8005da1920000500a91d..."} 
[2026-08-19 17:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f189d8012d823d8005da1920000500a91d..."} 
[2026-08-19 17:45:19] local.INFO: Processing buffer {"connection_id":158114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f189d8012d823d8005da1920000500a91d..."} 
[2026-08-19 17:45:19] local.INFO: Packet analysis {"connection_id":158114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f1"} 
[2026-08-19 17:45:19] local.INFO: Extracted packet for processing {"connection_id":158114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f1"} 
[2026-08-19 17:45:19] local.INFO: GPS Element Parsed {"raw_longitude":763510144,"raw_latitude":98179360,"longitude_deg":76.3510144,"latitude_deg":9.817936,"altitude":5,"angle":169,"satellites":29,"speed":49,"hex_longitude":"2d823d80","hex_latitude":"05da1920","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508261888001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120837594907934720,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9063564593691117568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:19] 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-08-19 17:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787141655000,"timestamp_ms":1787141655000,"timestamp_seconds":1787141655,"priority":1,"record_length":96,"hex_timestamp":"000001a019f189d8"} 
[2026-08-19 17:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 17:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169572752808,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:19] local.WARNING: Large IO value detected {"io_id":153,"raw_value":58077557095399447,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:19] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2415996290,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2183118853,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:19] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3623878656,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:19] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4045174785,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:19] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2332557317,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2828599502,"corrected_to":0} 
[2026-08-19 17:45:19] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728744,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3666704384,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:19] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,153,85,24,241,157,16,76,160,79,45,128,96,9,29,10,66,40,192,131,6,75,32,1,240,181,227,25,218,4,113,205,21,30,120,28,239,52,2,173,5,23],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2828599502,"validated":0}]} 
[2026-08-19 17:45:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576644491007623168,"timestamp_seconds":576644491007623.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 17:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:45:19] 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-08-19 17:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508261888001,"66":13276,"71":206,"85":15104,"24":49,"16":120837594907934720,"45":-9063564593691117568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-19 17:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508261888001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:45:19] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-19 17:45:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120837594907934720,"km_value":120837594907934.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9063564593691117568,"description":"Unknown IO ID 45"} 
[2026-08-19 17:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508261888001,"power":13276,"unknown_71":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-9063564593691117568}} 
[2026-08-19 17:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":158114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:45:19] local.INFO: GPS data processed {"connection_id":158114,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:45:19] local.INFO: Acknowledgment sent {"connection_id":158114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:45:37] local.INFO: TCP Data received {"connection_id":158988,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:45:37] local.INFO: Processing buffer {"connection_id":158988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:45:37] local.INFO: Packet analysis {"connection_id":158988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:45:37] local.INFO: Extracted packet for processing {"connection_id":158988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:45:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508129280001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787141431000,"timestamp_ms":1787141431000,"timestamp_seconds":1787141431,"priority":1,"record_length":96,"hex_timestamp":"000001a019ee1ed8"} 
[2026-08-19 17:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 17:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508129280001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508129280001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:45:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:45:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508129280001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":158988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:45:37] local.INFO: GPS data processed {"connection_id":158988,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:45:37] local.INFO: Acknowledgment sent {"connection_id":158988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:45:41] local.INFO: TCP Data received {"connection_id":158115,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:45:41] local.INFO: Processing buffer {"connection_id":158115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:45:41] local.INFO: IMEI packet received {"connection_id":158115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":158115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:45:45] local.INFO: TCP Data received {"connection_id":160305,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f15ee0012d18c8000720ed68003c00c820..."} 
[2026-08-19 17:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f15ee0012d18c8000720ed68003c00c820..."} 
[2026-08-19 17:45:45] local.INFO: Processing buffer {"connection_id":160305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f15ee0012d18c8000720ed68003c00c820..."} 
[2026-08-19 17:45:45] local.INFO: Packet analysis {"connection_id":160305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f1"} 
[2026-08-19 17:45:45] local.INFO: Extracted packet for processing {"connection_id":160305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f1"} 
[2026-08-19 17:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756598784,"raw_latitude":119598440,"longitude_deg":75.6598784,"latitude_deg":11.959844,"altitude":60,"angle":200,"satellites":32,"speed":10,"hex_longitude":"2d18c800","hex_latitude":"0720ed68","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508260352001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13946076637691904,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785958757846435840,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787141644000,"timestamp_ms":1787141644000,"timestamp_seconds":1787141644,"priority":1,"record_length":96,"hex_timestamp":"000001a019f15ee0"} 
[2026-08-19 17:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:45:45] 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-08-19 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-19 17:45:45] 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-08-19 17: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-08-19 17:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:45:45] 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-08-19 17:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508260352001,"66":14363,"103":206,"83":41984,"24":10,"16":13946076637691904,"45":1785958757846435840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508260352001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:45:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13946076637691904,"km_value":13946076637691.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785958757846435840,"description":"Unknown IO ID 45"} 
[2026-08-19 17:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508260352001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1785958757846435840}} 
[2026-08-19 17:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":160305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:45:45] local.INFO: GPS data processed {"connection_id":160305,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:45:45] local.INFO: Acknowledgment sent {"connection_id":160305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:45:46] local.INFO: TCP Data received {"connection_id":158115,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:45:46] local.INFO: Processing buffer {"connection_id":158115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:45:46] local.INFO: IMEI packet received {"connection_id":158115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":158115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:45:47] local.INFO: TCP Data received {"connection_id":158115,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f1a918012d82440005d9f4f0000500aa1d..."} 
[2026-08-19 17:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f1a918012d82440005d9f4f0000500aa1d..."} 
[2026-08-19 17:45:47] local.INFO: Processing buffer {"connection_id":158115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f1a918012d82440005d9f4f0000500aa1d..."} 
[2026-08-19 17:45:47] local.INFO: Packet analysis {"connection_id":158115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f1"} 
[2026-08-19 17:45:47] local.INFO: Extracted packet for processing {"connection_id":158115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f1"} 
[2026-08-19 17:45:47] local.INFO: GPS Element Parsed {"raw_longitude":763511808,"raw_latitude":98170096,"longitude_deg":76.3511808,"latitude_deg":9.8170096,"altitude":5,"angle":170,"satellites":29,"speed":41,"hex_longitude":"2d824400","hex_latitude":"05d9f4f0","is_valid_coordinates":true} 
[2026-08-19 17:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508263680001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120838050174468096,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061946112577298432,"note":"Value kept but may cause issues"} 
[2026-08-19 17:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787141663000,"timestamp_ms":1787141663000,"timestamp_seconds":1787141663,"priority":1,"record_length":96,"hex_timestamp":"000001a019f1a918"} 
[2026-08-19 17:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:45: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-08-19 17:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-19 17:45:47] 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-08-19 17:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:45:47] 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-08-19 17:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508263680001,"66":13124,"71":206,"85":15104,"24":41,"16":120838050174468096,"45":-9061946112577298432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-19 17:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508263680001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:45:47] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-19 17:45:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120838050174468096,"km_value":120838050174468.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061946112577298432,"description":"Unknown IO ID 45"} 
[2026-08-19 17:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508263680001,"power":13124,"unknown_71":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9061946112577298432}} 
[2026-08-19 17:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":158115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666080,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:45:47] local.INFO: GPS data processed {"connection_id":158115,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:45:47] local.INFO: Acknowledgment sent {"connection_id":158115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:45:59] local.INFO: TCP Data received {"connection_id":160306,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:45:59] local.INFO: Processing buffer {"connection_id":160306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:45:59] local.INFO: IMEI packet received {"connection_id":160306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":160306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:46:03] local.INFO: TCP Data received {"connection_id":160306,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:46:03] local.INFO: Processing buffer {"connection_id":160306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:46:03] local.INFO: IMEI packet received {"connection_id":160306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":160306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:46:05] local.INFO: TCP Data received {"connection_id":160306,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:46:05] local.INFO: Processing buffer {"connection_id":160306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ee1ed8012ceb5f800713b858001400a12a..."} 
[2026-08-19 17:46:05] local.INFO: Packet analysis {"connection_id":160306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:46:05] local.INFO: Extracted packet for processing {"connection_id":160306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ee"} 
[2026-08-19 17:46:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508129280001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787141431000,"timestamp_ms":1787141431000,"timestamp_seconds":1787141431,"priority":1,"record_length":96,"hex_timestamp":"000001a019ee1ed8"} 
[2026-08-19 17:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 17:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508129280001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508129280001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:46:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:46:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508129280001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":160306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:46:05] local.INFO: GPS data processed {"connection_id":160306,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:46:05] local.INFO: Acknowledgment sent {"connection_id":160306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:46:11] local.INFO: TCP Data received {"connection_id":158116,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:46:11] local.INFO: Processing buffer {"connection_id":158116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:46:11] local.INFO: IMEI packet received {"connection_id":158116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":158116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:46:14] local.INFO: TCP Data received {"connection_id":158116,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:46:14] local.INFO: Processing buffer {"connection_id":158116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:46:14] local.INFO: IMEI packet received {"connection_id":158116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":158116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:46:14] local.INFO: TCP Data received {"connection_id":158116,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:46:14] local.INFO: Processing buffer {"connection_id":158116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:46:14] local.INFO: IMEI packet received {"connection_id":158116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":158116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:46:17] local.INFO: TCP Data received {"connection_id":158116,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:46:17] local.INFO: Processing buffer {"connection_id":158116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:46:17] local.INFO: IMEI packet received {"connection_id":158116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":158116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:46:18] local.INFO: TCP Data received {"connection_id":158116,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f27ff0012d18bdc007208d28001200931d..."} 
[2026-08-19 17:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f27ff0012d18bdc007208d28001200931d..."} 
[2026-08-19 17:46:18] local.INFO: Processing buffer {"connection_id":158116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f27ff0012d18bdc007208d28001200931d..."} 
[2026-08-19 17:46:18] local.INFO: Packet analysis {"connection_id":158116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:46:18] local.INFO: Extracted packet for processing {"connection_id":158116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:46:18] local.INFO: GPS Element Parsed {"raw_longitude":756596160,"raw_latitude":119573800,"longitude_deg":75.659616,"latitude_deg":11.95738,"altitude":18,"angle":147,"satellites":29,"speed":9,"hex_longitude":"2d18bdc0","hex_latitude":"07208d28","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508279040001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13947433847357440,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782581058119604224,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787141718000,"timestamp_ms":1787141718000,"timestamp_seconds":1787141718,"priority":1,"record_length":96,"hex_timestamp":"000001a019f27ff0"} 
[2026-08-19 17:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:46:18] 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-08-19 17: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-19 17:46:18] 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-08-19 17: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-08-19 17:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:46:18] 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-08-19 17:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508279040001,"66":13993,"103":206,"83":41984,"24":9,"16":13947433847357440,"45":1782581058119604224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508279040001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:46:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:46:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13947433847357440,"km_value":13947433847357.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782581058119604224,"description":"Unknown IO ID 45"} 
[2026-08-19 17:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508279040001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1782581058119604224}} 
[2026-08-19 17:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":158116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:46:18] local.INFO: GPS data processed {"connection_id":158116,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:46:18] local.INFO: Acknowledgment sent {"connection_id":158116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:46:19] local.INFO: TCP Data received {"connection_id":158116,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f287c0012d18be4007208b50001100a01e..."} 
[2026-08-19 17:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f287c0012d18be4007208b50001100a01e..."} 
[2026-08-19 17:46:19] local.INFO: Processing buffer {"connection_id":158116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f287c0012d18be4007208b50001100a01e..."} 
[2026-08-19 17:46:19] local.INFO: Packet analysis {"connection_id":158116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:46:19] local.INFO: Extracted packet for processing {"connection_id":158116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:46:19] local.INFO: GPS Element Parsed {"raw_longitude":756596288,"raw_latitude":119573328,"longitude_deg":75.6596288,"latitude_deg":11.9573328,"altitude":17,"angle":160,"satellites":30,"speed":11,"hex_longitude":"2d18be40","hex_latitude":"07208b50","is_valid_coordinates":true} 
[2026-08-19 17:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508279808001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13947455322193920,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782792164352010240,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787141720000,"timestamp_ms":1787141720000,"timestamp_seconds":1787141720,"priority":1,"record_length":96,"hex_timestamp":"000001a019f287c0"} 
[2026-08-19 17:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:46: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-08-19 17:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 17:46: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-08-19 17:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:46:19] 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-08-19 17:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508279808001,"66":14080,"103":206,"83":41984,"24":11,"16":13947455322193920,"45":1782792164352010240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508279808001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:46:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:46:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13947455322193920,"km_value":13947455322193.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782792164352010240,"description":"Unknown IO ID 45"} 
[2026-08-19 17:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508279808001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1782792164352010240}} 
[2026-08-19 17:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":158116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:46:19] local.INFO: GPS data processed {"connection_id":158116,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:46:19] local.INFO: Acknowledgment sent {"connection_id":158116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:46:19] local.INFO: TCP Data received {"connection_id":158115,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f1dfc8012d82490005d9d6000009009e1e..."} 
[2026-08-19 17:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f1dfc8012d82490005d9d6000009009e1e..."} 
[2026-08-19 17:46:19] local.INFO: Processing buffer {"connection_id":158115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f1dfc8012d82490005d9d6000009009e1e..."} 
[2026-08-19 17:46:19] local.INFO: Packet analysis {"connection_id":158115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f1"} 
[2026-08-19 17:46:19] local.INFO: Extracted packet for processing {"connection_id":158115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f1"} 
[2026-08-19 17:46:19] local.INFO: GPS Element Parsed {"raw_longitude":763513088,"raw_latitude":98162176,"longitude_deg":76.3513088,"latitude_deg":9.8162176,"altitude":9,"angle":158,"satellites":30,"speed":11,"hex_longitude":"2d824900","hex_latitude":"05d9d600","is_valid_coordinates":true} 
[2026-08-19 17:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508265728001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120838441016492032,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060116525231050752,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:19] 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-08-19 17:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787141677000,"timestamp_ms":1787141677000,"timestamp_seconds":1787141677,"priority":1,"record_length":96,"hex_timestamp":"000001a019f1dfc8"} 
[2026-08-19 17:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-19 17:46:19] 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-08-19 17:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:46:19] 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-08-19 17:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508265728001,"66":13559,"71":206,"85":15104,"24":11,"16":120838441016492032,"45":-9060116525231050752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-19 17:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508265728001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:46:19] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-19 17:46:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120838441016492032,"km_value":120838441016492.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060116525231050752,"description":"Unknown IO ID 45"} 
[2026-08-19 17:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508265728001,"power":13559,"unknown_71":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9060116525231050752}} 
[2026-08-19 17:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":158115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:46:19] local.INFO: GPS data processed {"connection_id":158115,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:46:19] local.INFO: Acknowledgment sent {"connection_id":158115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:46:23] local.INFO: TCP Data received {"connection_id":158116,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f2a318012d18c0c0072083c0000d008e1f..."} 
[2026-08-19 17:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f2a318012d18c0c0072083c0000d008e1f..."} 
[2026-08-19 17:46:23] local.INFO: Processing buffer {"connection_id":158116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f2a318012d18c0c0072083c0000d008e1f..."} 
[2026-08-19 17:46:23] local.INFO: Packet analysis {"connection_id":158116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:46:23] local.INFO: Extracted packet for processing {"connection_id":158116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756596928,"raw_latitude":119571392,"longitude_deg":75.6596928,"latitude_deg":11.9571392,"altitude":13,"angle":142,"satellites":31,"speed":10,"hex_longitude":"2d18c0c0","hex_latitude":"072083c0","is_valid_coordinates":true} 
[2026-08-19 17:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508280320001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13947558401409024,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782932901840244736,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787141727000,"timestamp_ms":1787141727000,"timestamp_seconds":1787141727,"priority":1,"record_length":96,"hex_timestamp":"000001a019f2a318"} 
[2026-08-19 17:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-19 17:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:23] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4066166785,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:23] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2393899033,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-19 17:46:23] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:23] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:23] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2366177280,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:23] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,141,160,127,45,192,18,29,10,66,116,143,20,28,96,128,1,240,149,227,25,32,4,113,205,6,88,193,30,239,55,2,49,7,26,15],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-19 17:46:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225155149354958848,"timestamp_seconds":1225155149354958.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 17:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:46:23] 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-08-19 17:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508280320001,"66":14374,"103":206,"83":41984,"24":10,"16":13947558401409024,"45":1782932901840244736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508280320001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:46:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:46:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13947558401409024,"km_value":13947558401409.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782932901840244736,"description":"Unknown IO ID 45"} 
[2026-08-19 17:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508280320001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1782932901840244736}} 
[2026-08-19 17:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":158116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:46:24] local.INFO: GPS data processed {"connection_id":158116,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:46:24] local.INFO: Acknowledgment sent {"connection_id":158116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:46:36] local.INFO: TCP Data received {"connection_id":160306,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:46:36] local.INFO: Processing buffer {"connection_id":160306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:46:36] local.INFO: Packet analysis {"connection_id":160306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:46:36] local.INFO: Extracted packet for processing {"connection_id":160306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:46:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508206336001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787141732000,"timestamp_ms":1787141732000,"timestamp_seconds":1787141732,"priority":1,"record_length":96,"hex_timestamp":"000001a019f2b6a0"} 
[2026-08-19 17:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508206336001,"66":25028,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508206336001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:46:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:46:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508206336001,"power":25028,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":160306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:46:36] local.INFO: GPS data processed {"connection_id":160306,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:46:36] local.INFO: Acknowledgment sent {"connection_id":160306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:46:46] local.INFO: TCP Data received {"connection_id":157767,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:46:46] local.INFO: Processing buffer {"connection_id":157767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:46:46] local.INFO: IMEI packet received {"connection_id":157767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":157767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:46:51] local.INFO: TCP Data received {"connection_id":157767,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157767,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:46:51] local.INFO: Processing buffer {"connection_id":157767,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:46:51] local.INFO: IMEI packet received {"connection_id":157767,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":157767,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:46:51] local.INFO: TCP Data received {"connection_id":157767,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f37dd8012d8289c005d888c8000700a31e..."} 
[2026-08-19 17:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f37dd8012d8289c005d888c8000700a31e..."} 
[2026-08-19 17:46:51] local.INFO: Processing buffer {"connection_id":157767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f37dd8012d8289c005d888c8000700a31e..."} 
[2026-08-19 17:46:51] local.INFO: Packet analysis {"connection_id":157767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f3"} 
[2026-08-19 17:46:51] local.INFO: Extracted packet for processing {"connection_id":157767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f3"} 
[2026-08-19 17:46:51] local.INFO: GPS Element Parsed {"raw_longitude":763529664,"raw_latitude":98076872,"longitude_deg":76.3529664,"latitude_deg":9.8076872,"altitude":7,"angle":163,"satellites":30,"speed":43,"hex_longitude":"2d8289c0","hex_latitude":"05d888c8","is_valid_coordinates":true} 
[2026-08-19 17:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508295680001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120842684444180480,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041187333070290944,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:51] 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-08-19 17:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787141783000,"timestamp_ms":1787141783000,"timestamp_seconds":1787141783,"priority":1,"record_length":96,"hex_timestamp":"000001a019f37dd8"} 
[2026-08-19 17:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:46: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-08-19 17:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 17:46:51] 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-08-19 17:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:46:51] 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-08-19 17:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508295680001,"66":13450,"49":206,"85":15104,"24":43,"16":120842684444180480,"45":-9041187333070290944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-19 17:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508295680001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:46:51] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-19 17:46:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120842684444180480,"km_value":120842684444180.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041187333070290944,"description":"Unknown IO ID 45"} 
[2026-08-19 17:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508295680001,"power":13450,"unknown_49":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9041187333070290944}} 
[2026-08-19 17:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":157767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:46:51] local.INFO: GPS data processed {"connection_id":157767,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:46:51] local.INFO: Acknowledgment sent {"connection_id":157767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:46:56] local.INFO: TCP Data received {"connection_id":157767,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f3a100012d8297c005d86678000800a21e..."} 
[2026-08-19 17:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f3a100012d8297c005d86678000800a21e..."} 
[2026-08-19 17:46:56] local.INFO: Processing buffer {"connection_id":157767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f3a100012d8297c005d86678000800a21e..."} 
[2026-08-19 17:46:56] local.INFO: Packet analysis {"connection_id":157767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f3"} 
[2026-08-19 17:46:56] local.INFO: Extracted packet for processing {"connection_id":157767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f3"} 
[2026-08-19 17:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763533248,"raw_latitude":98068088,"longitude_deg":76.3533248,"latitude_deg":9.8068088,"altitude":8,"angle":162,"satellites":30,"speed":37,"hex_longitude":"2d8297c0","hex_latitude":"05d86678","is_valid_coordinates":true} 
[2026-08-19 17:46: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-08-19 17:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508296448001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120843144005681152,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040483645629347840,"note":"Value kept but may cause issues"} 
[2026-08-19 17:46:56] 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-08-19 17:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787141792000,"timestamp_ms":1787141792000,"timestamp_seconds":1787141792,"priority":1,"record_length":96,"hex_timestamp":"000001a019f3a100"} 
[2026-08-19 17:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:46:56] 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-08-19 17:46: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-19 17:46:56] 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-08-19 17:46: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-08-19 17:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":157767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":157767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":157767,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:46:56] 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-08-19 17:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508296448001,"66":13091,"49":206,"85":15104,"24":37,"16":120843144005681152,"45":-9040483645629347840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-19 17:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508296448001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:46:56] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-19 17:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120843144005681152,"km_value":120843144005681.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040483645629347840,"description":"Unknown IO ID 45"} 
[2026-08-19 17:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508296448001,"power":13091,"unknown_49":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9040483645629347840}} 
[2026-08-19 17:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":157767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:46:56] local.INFO: GPS data processed {"connection_id":157767,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:46:56] local.INFO: Acknowledgment sent {"connection_id":157767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:46:59] local.INFO: TCP Data received {"connection_id":158989,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:46:59] local.INFO: Processing buffer {"connection_id":158989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:46:59] local.INFO: IMEI packet received {"connection_id":158989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":158989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:47:04] local.INFO: TCP Data received {"connection_id":158989,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:47:04] local.INFO: Processing buffer {"connection_id":158989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:47:04] local.INFO: IMEI packet received {"connection_id":158989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":158989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:47:05] local.INFO: TCP Data received {"connection_id":158990,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:47:05] local.INFO: Processing buffer {"connection_id":158990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:47:05] local.INFO: IMEI packet received {"connection_id":158990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":158990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:47:06] local.INFO: TCP Data received {"connection_id":158989,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:47:06] local.INFO: Processing buffer {"connection_id":158989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:47:06] local.INFO: Packet analysis {"connection_id":158989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:47:06] local.INFO: Extracted packet for processing {"connection_id":158989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:47:06] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508206336001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:47:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787141732000,"timestamp_ms":1787141732000,"timestamp_seconds":1787141732,"priority":1,"record_length":96,"hex_timestamp":"000001a019f2b6a0"} 
[2026-08-19 17:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508206336001,"66":25028,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508206336001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:47:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:47:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508206336001,"power":25028,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":158989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:47:06] local.INFO: GPS data processed {"connection_id":158989,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:47:06] local.INFO: Acknowledgment sent {"connection_id":158989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:47:08] local.INFO: TCP Data received {"connection_id":158990,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:47:08] local.INFO: Processing buffer {"connection_id":158990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:47:08] local.INFO: IMEI packet received {"connection_id":158990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":158990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:47:09] local.INFO: TCP Data received {"connection_id":158990,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:47:09] local.INFO: Processing buffer {"connection_id":158990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:47:09] local.INFO: IMEI packet received {"connection_id":158990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":158990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:47:13] local.INFO: TCP Data received {"connection_id":158990,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:47:13] local.INFO: Processing buffer {"connection_id":158990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:47:13] local.INFO: IMEI packet received {"connection_id":158990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":158990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:47:14] local.INFO: TCP Data received {"connection_id":158990,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f33b70012d18dc8007205a58001600811d..."} 
[2026-08-19 17:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f33b70012d18dc8007205a58001600811d..."} 
[2026-08-19 17:47:14] local.INFO: Processing buffer {"connection_id":158990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f33b70012d18dc8007205a58001600811d..."} 
[2026-08-19 17:47:14] local.INFO: Packet analysis {"connection_id":158990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f3"} 
[2026-08-19 17:47:14] local.INFO: Extracted packet for processing {"connection_id":158990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f3"} 
[2026-08-19 17:47:14] local.INFO: GPS Element Parsed {"raw_longitude":756604032,"raw_latitude":119560792,"longitude_deg":75.6604032,"latitude_deg":11.9560792,"altitude":22,"angle":129,"satellites":29,"speed":12,"hex_longitude":"2d18dc80","hex_latitude":"07205a58","is_valid_coordinates":true} 
[2026-08-19 17:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508291840001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13948215531405312,"note":"Value kept but may cause issues"} 
[2026-08-19 17:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791095676161699840,"note":"Value kept but may cause issues"} 
[2026-08-19 17:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787141766000,"timestamp_ms":1787141766000,"timestamp_seconds":1787141766,"priority":1,"record_length":96,"hex_timestamp":"000001a019f33b70"} 
[2026-08-19 17:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:47:14] 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-08-19 17:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-19 17:47:14] 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-08-19 17:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:47:14] 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-08-19 17:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508291840001,"66":13906,"103":206,"83":41984,"24":12,"16":13948215531405312,"45":1791095676161699840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508291840001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:47:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:47:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13948215531405312,"km_value":13948215531405.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791095676161699840,"description":"Unknown IO ID 45"} 
[2026-08-19 17:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508291840001,"power":13906,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1791095676161699840}} 
[2026-08-19 17:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":158990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:47:14] local.INFO: GPS data processed {"connection_id":158990,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:47:14] local.INFO: Acknowledgment sent {"connection_id":158990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:47:18] local.INFO: TCP Data received {"connection_id":158990,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f33f58012d18dd0007205950001700941d..."} 
[2026-08-19 17:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f33f58012d18dd0007205950001700941d..."} 
[2026-08-19 17:47:18] local.INFO: Processing buffer {"connection_id":158990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f33f58012d18dd0007205950001700941d..."} 
[2026-08-19 17:47:18] local.INFO: Packet analysis {"connection_id":158990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f3"} 
[2026-08-19 17:47:18] local.INFO: Extracted packet for processing {"connection_id":158990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f3"} 
[2026-08-19 17:47:18] local.INFO: GPS Element Parsed {"raw_longitude":756604160,"raw_latitude":119560528,"longitude_deg":75.660416,"latitude_deg":11.9560528,"altitude":23,"angle":148,"satellites":29,"speed":11,"hex_longitude":"2d18dd00","hex_latitude":"07205950","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508292096001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13948228416307200,"note":"Value kept but may cause issues"} 
[2026-08-19 17:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791447519882532864,"note":"Value kept but may cause issues"} 
[2026-08-19 17:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787141767000,"timestamp_ms":1787141767000,"timestamp_seconds":1787141767,"priority":1,"record_length":96,"hex_timestamp":"000001a019f33f58"} 
[2026-08-19 17:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:47:18] 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-08-19 17: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-19 17:47:18] 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-08-19 17: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-08-19 17:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:47:18] 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-08-19 17:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508292096001,"66":13972,"103":206,"83":41984,"24":11,"16":13948228416307200,"45":1791447519882532864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508292096001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:47:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:47:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13948228416307200,"km_value":13948228416307.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791447519882532864,"description":"Unknown IO ID 45"} 
[2026-08-19 17:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508292096001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1791447519882532864}} 
[2026-08-19 17:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":158990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:47:19] local.INFO: GPS data processed {"connection_id":158990,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:47:19] local.INFO: Acknowledgment sent {"connection_id":158990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:47:39] local.INFO: TCP Data received {"connection_id":158117,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:47:39] local.INFO: Processing buffer {"connection_id":158117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:47:39] local.INFO: IMEI packet received {"connection_id":158117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":158117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:47:39] local.INFO: TCP Data received {"connection_id":158989,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:47:39] local.INFO: Processing buffer {"connection_id":158989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:47:39] local.INFO: Packet analysis {"connection_id":158989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:47:39] local.INFO: Extracted packet for processing {"connection_id":158989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:47:39] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508206336001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:47:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787141732000,"timestamp_ms":1787141732000,"timestamp_seconds":1787141732,"priority":1,"record_length":96,"hex_timestamp":"000001a019f2b6a0"} 
[2026-08-19 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-08-19 17:47: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-08-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 17:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508206336001,"66":25028,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508206336001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:47:39] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:47:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508206336001,"power":25028,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":158989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:47:39] local.INFO: GPS data processed {"connection_id":158989,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:47:39] local.INFO: Acknowledgment sent {"connection_id":158989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:47:41] local.INFO: TCP Data received {"connection_id":158117,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:47:41] local.INFO: Processing buffer {"connection_id":158117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:47:41] local.INFO: IMEI packet received {"connection_id":158117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":158117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:47:46] local.INFO: TCP Data received {"connection_id":158117,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:47:46] local.INFO: Processing buffer {"connection_id":158117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:47:46] local.INFO: IMEI packet received {"connection_id":158117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":158117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:47:47] local.INFO: TCP Data received {"connection_id":158117,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f3bc58012d829c4005d84dc0000700ae1e..."} 
[2026-08-19 17:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f3bc58012d829c4005d84dc0000700ae1e..."} 
[2026-08-19 17:47:47] local.INFO: Processing buffer {"connection_id":158117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f3bc58012d829c4005d84dc0000700ae1e..."} 
[2026-08-19 17:47:47] local.INFO: Packet analysis {"connection_id":158117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f3"} 
[2026-08-19 17:47:47] local.INFO: Extracted packet for processing {"connection_id":158117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f3"} 
[2026-08-19 17:47:47] local.INFO: GPS Element Parsed {"raw_longitude":763534400,"raw_latitude":98061760,"longitude_deg":76.35344,"latitude_deg":9.806176,"altitude":7,"angle":174,"satellites":30,"speed":36,"hex_longitude":"2d829c40","hex_latitude":"05d84dc0","is_valid_coordinates":true} 
[2026-08-19 17:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508298752001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120843457538293760,"note":"Value kept but may cause issues"} 
[2026-08-19 17:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036542995957647360,"note":"Value kept but may cause issues"} 
[2026-08-19 17:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787141799000,"timestamp_ms":1787141799000,"timestamp_seconds":1787141799,"priority":1,"record_length":96,"hex_timestamp":"000001a019f3bc58"} 
[2026-08-19 17:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 17:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:47:47] 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-08-19 17:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508298752001,"66":12385,"47":206,"85":15104,"24":36,"16":120843457538293760,"45":-9036542995957647360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-19 17:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508298752001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:47:47] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-19 17:47:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120843457538293760,"km_value":120843457538293.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036542995957647360,"description":"Unknown IO ID 45"} 
[2026-08-19 17:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508298752001,"power":12385,"unknown_47":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9036542995957647360}} 
[2026-08-19 17:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":158117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:47:47] local.INFO: GPS data processed {"connection_id":158117,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:47:47] local.INFO: Acknowledgment sent {"connection_id":158117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:47:50] local.INFO: TCP Data received {"connection_id":158990,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f34728012d18dd8007205738001700ad1f..."} 
[2026-08-19 17:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f34728012d18dd8007205738001700ad1f..."} 
[2026-08-19 17:47:50] local.INFO: Processing buffer {"connection_id":158990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f34728012d18dd8007205738001700ad1f..."} 
[2026-08-19 17:47:50] local.INFO: Packet analysis {"connection_id":158990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f3"} 
[2026-08-19 17:47:50] local.INFO: Extracted packet for processing {"connection_id":158990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f3"} 
[2026-08-19 17:47:50] local.INFO: GPS Element Parsed {"raw_longitude":756604288,"raw_latitude":119559992,"longitude_deg":75.6604288,"latitude_deg":11.9559992,"altitude":23,"angle":173,"satellites":31,"speed":11,"hex_longitude":"2d18dd80","hex_latitude":"07205738","is_valid_coordinates":true} 
[2026-08-19 17:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508292352001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13948258481078272,"note":"Value kept but may cause issues"} 
[2026-08-19 17:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791588257370820608,"note":"Value kept but may cause issues"} 
[2026-08-19 17:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787141769000,"timestamp_ms":1787141769000,"timestamp_seconds":1787141769,"priority":1,"record_length":96,"hex_timestamp":"000001a019f34728"} 
[2026-08-19 17:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:47:50] 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-08-19 17:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-19 17:47:50] 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-08-19 17:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":158990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":158990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":158990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:47:50] 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-08-19 17:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508292352001,"66":13852,"102":206,"83":41984,"24":11,"16":13948258481078272,"45":1791588257370820608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 17:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508292352001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:47:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 17:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13948258481078272,"km_value":13948258481078.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791588257370820608,"description":"Unknown IO ID 45"} 
[2026-08-19 17:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508292352001,"power":13852,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1791588257370820608}} 
[2026-08-19 17:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":158990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:47:50] local.INFO: GPS data processed {"connection_id":158990,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:47:50] local.INFO: Acknowledgment sent {"connection_id":158990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:47:58] local.INFO: TCP Data received {"connection_id":157768,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:47:58] local.INFO: Processing buffer {"connection_id":157768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:47:58] local.INFO: IMEI packet received {"connection_id":157768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":157768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:48:03] local.INFO: TCP Data received {"connection_id":157768,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:48:03] local.INFO: Processing buffer {"connection_id":157768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:48:03] local.INFO: IMEI packet received {"connection_id":157768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":157768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:48:05] local.INFO: TCP Data received {"connection_id":157768,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:48:05] local.INFO: Processing buffer {"connection_id":157768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:48:05] local.INFO: Packet analysis {"connection_id":157768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:48:05] local.INFO: Extracted packet for processing {"connection_id":157768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:48:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508206336001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:48:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787141732000,"timestamp_ms":1787141732000,"timestamp_seconds":1787141732,"priority":1,"record_length":96,"hex_timestamp":"000001a019f2b6a0"} 
[2026-08-19 17:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508206336001,"66":25028,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508206336001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:48:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:48:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508206336001,"power":25028,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":157768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:48:05] local.INFO: GPS data processed {"connection_id":157768,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:48:05] local.INFO: Acknowledgment sent {"connection_id":157768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:48:08] local.INFO: TCP Data received {"connection_id":158118,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:48:08] local.INFO: Processing buffer {"connection_id":158118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:48:08] local.INFO: IMEI packet received {"connection_id":158118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":158118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:48:09] local.INFO: TCP Data received {"connection_id":158118,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:48:09] local.INFO: Processing buffer {"connection_id":158118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:48:09] local.INFO: IMEI packet received {"connection_id":158118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":158118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:48:10] local.INFO: TCP Data received {"connection_id":158118,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:48:10] local.INFO: Processing buffer {"connection_id":158118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:48:10] local.INFO: IMEI packet received {"connection_id":158118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":158118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:48:11] local.INFO: TCP Data received {"connection_id":158118,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f45c80012d190a0007201a78002500631e..."} 
[2026-08-19 17:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f45c80012d190a0007201a78002500631e..."} 
[2026-08-19 17:48:11] local.INFO: Processing buffer {"connection_id":158118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f45c80012d190a0007201a78002500631e..."} 
[2026-08-19 17:48:11] local.INFO: Packet analysis {"connection_id":158118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f4"} 
[2026-08-19 17:48:11] local.INFO: Extracted packet for processing {"connection_id":158118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f4"} 
[2026-08-19 17:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756615680,"raw_latitude":119544440,"longitude_deg":75.661568,"latitude_deg":11.954444,"altitude":37,"angle":99,"satellites":30,"speed":17,"hex_longitude":"2d190a00","hex_latitude":"07201a78","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508309248001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13949619985711104,"note":"Value kept but may cause issues"} 
[2026-08-19 17:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801228775319052288,"note":"Value kept but may cause issues"} 
[2026-08-19 17:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787141840000,"timestamp_ms":1787141840000,"timestamp_seconds":1787141840,"priority":1,"record_length":96,"hex_timestamp":"000001a019f45c80"} 
[2026-08-19 17:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:48: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-08-19 17: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-19 17:48: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-08-19 17: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-08-19 17:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:48: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-08-19 17:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508309248001,"66":14428,"102":206,"83":41984,"24":17,"16":13949619985711104,"45":1801228775319052288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 17:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508309248001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:48:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 17:48:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13949619985711104,"km_value":13949619985711.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801228775319052288,"description":"Unknown IO ID 45"} 
[2026-08-19 17:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508309248001,"power":14428,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1801228775319052288}} 
[2026-08-19 17:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":158118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:48:11] local.INFO: GPS data processed {"connection_id":158118,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:48:11] local.INFO: Acknowledgment sent {"connection_id":158118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:48:18] local.INFO: TCP Data received {"connection_id":158117,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f40a78012d829e0005d83f50000700b91f..."} 
[2026-08-19 17:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f40a78012d829e0005d83f50000700b91f..."} 
[2026-08-19 17:48:18] local.INFO: Processing buffer {"connection_id":158117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f40a78012d829e0005d83f50000700b91f..."} 
[2026-08-19 17:48:18] local.INFO: Packet analysis {"connection_id":158117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f4"} 
[2026-08-19 17:48:18] local.INFO: Extracted packet for processing {"connection_id":158117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f4"} 
[2026-08-19 17:48:18] local.INFO: GPS Element Parsed {"raw_longitude":763534848,"raw_latitude":98058064,"longitude_deg":76.3534848,"latitude_deg":9.8058064,"altitude":7,"angle":185,"satellites":31,"speed":11,"hex_longitude":"2d829e00","hex_latitude":"05d83f50","is_valid_coordinates":true} 
[2026-08-19 17:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508300544001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120843637926920192,"note":"Value kept but may cause issues"} 
[2026-08-19 17:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035276358564069376,"note":"Value kept but may cause issues"} 
[2026-08-19 17:48:18] 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-08-19 17:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787141819000,"timestamp_ms":1787141819000,"timestamp_seconds":1787141819,"priority":1,"record_length":96,"hex_timestamp":"000001a019f40a78"} 
[2026-08-19 17:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 17:48:18] 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-08-19 17:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:48:18] 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-08-19 17:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508300544001,"66":13363,"47":206,"85":15104,"24":11,"16":120843637926920192,"45":-9035276358564069376},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-19 17:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508300544001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:48:18] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-19 17:48:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120843637926920192,"km_value":120843637926920.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035276358564069376,"description":"Unknown IO ID 45"} 
[2026-08-19 17:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508300544001,"power":13363,"unknown_47":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9035276358564069376}} 
[2026-08-19 17:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":158117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:48:18] local.INFO: GPS data processed {"connection_id":158117,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:48:18] local.INFO: Acknowledgment sent {"connection_id":158117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:48:37] local.INFO: TCP Data received {"connection_id":157768,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:48:37] local.INFO: Processing buffer {"connection_id":157768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:48:37] local.INFO: Packet analysis {"connection_id":157768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:48:37] local.INFO: Extracted packet for processing {"connection_id":157768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508206336001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:48:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787141732000,"timestamp_ms":1787141732000,"timestamp_seconds":1787141732,"priority":1,"record_length":96,"hex_timestamp":"000001a019f2b6a0"} 
[2026-08-19 17:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508206336001,"66":25028,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508206336001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:48:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:48:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508206336001,"power":25028,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":157768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:48:37] local.INFO: GPS data processed {"connection_id":157768,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:48:37] local.INFO: Acknowledgment sent {"connection_id":157768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:48:41] local.INFO: TCP Data received {"connection_id":158119,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:48:41] local.INFO: Processing buffer {"connection_id":158119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:48:41] local.INFO: IMEI packet received {"connection_id":158119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":158119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:48:42] local.INFO: TCP Data received {"connection_id":158118,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f46450012d190d4007201940002600751e..."} 
[2026-08-19 17:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f46450012d190d4007201940002600751e..."} 
[2026-08-19 17:48:42] local.INFO: Processing buffer {"connection_id":158118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f46450012d190d4007201940002600751e..."} 
[2026-08-19 17:48:42] local.INFO: Packet analysis {"connection_id":158118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f4"} 
[2026-08-19 17:48:42] local.INFO: Extracted packet for processing {"connection_id":158118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f4"} 
[2026-08-19 17:48:42] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119544128,"longitude_deg":75.6616512,"latitude_deg":11.9544128,"altitude":38,"angle":117,"satellites":30,"speed":17,"hex_longitude":"2d190d40","hex_latitude":"07201940","is_valid_coordinates":true} 
[2026-08-19 17:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508311040001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13949662935384064,"note":"Value kept but may cause issues"} 
[2026-08-19 17:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804254631318681600,"note":"Value kept but may cause issues"} 
[2026-08-19 17:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787141842000,"timestamp_ms":1787141842000,"timestamp_seconds":1787141842,"priority":1,"record_length":96,"hex_timestamp":"000001a019f46450"} 
[2026-08-19 17:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 17:48:42] 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-08-19 17:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:48:42] 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-08-19 17:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508311040001,"66":14265,"102":206,"83":41984,"24":17,"16":13949662935384064,"45":1804254631318681600},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 17:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508311040001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:48:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 17:48:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13949662935384064,"km_value":13949662935384.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804254631318681600,"description":"Unknown IO ID 45"} 
[2026-08-19 17:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508311040001,"power":14265,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1804254631318681600}} 
[2026-08-19 17:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":158118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:48:42] local.INFO: GPS data processed {"connection_id":158118,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:48:42] local.INFO: Acknowledgment sent {"connection_id":158118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:48:45] local.INFO: TCP Data received {"connection_id":158119,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158119,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:48:45] local.INFO: Processing buffer {"connection_id":158119,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:48:45] local.INFO: IMEI packet received {"connection_id":158119,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":158119,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:48:46] local.INFO: TCP Data received {"connection_id":158119,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f43958012d829f0005d81a50000600b320..."} 
[2026-08-19 17:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f43958012d829f0005d81a50000600b320..."} 
[2026-08-19 17:48:46] local.INFO: Processing buffer {"connection_id":158119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f43958012d829f0005d81a50000600b320..."} 
[2026-08-19 17:48:46] local.INFO: Packet analysis {"connection_id":158119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f4"} 
[2026-08-19 17:48:46] local.INFO: Extracted packet for processing {"connection_id":158119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f4"} 
[2026-08-19 17:48:46] local.INFO: GPS Element Parsed {"raw_longitude":763535104,"raw_latitude":98048592,"longitude_deg":76.3535104,"latitude_deg":9.8048592,"altitude":6,"angle":179,"satellites":32,"speed":38,"hex_longitude":"2d829f00","hex_latitude":"05d81a50","is_valid_coordinates":true} 
[2026-08-19 17:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508305664001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120844097488420864,"note":"Value kept but may cause issues"} 
[2026-08-19 17:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034783777355771904,"note":"Value kept but may cause issues"} 
[2026-08-19 17:48:46] 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-08-19 17:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787141831000,"timestamp_ms":1787141831000,"timestamp_seconds":1787141831,"priority":1,"record_length":96,"hex_timestamp":"000001a019f43958"} 
[2026-08-19 17:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:48: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-08-19 17:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-19 17:48:46] 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-08-19 17: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-08-19 17:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:48:46] 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-08-19 17:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508305664001,"66":13200,"47":206,"85":15104,"24":38,"16":120844097488420864,"45":-9034783777355771904},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-19 17:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508305664001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:48:46] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-19 17:48:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120844097488420864,"km_value":120844097488420.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034783777355771904,"description":"Unknown IO ID 45"} 
[2026-08-19 17:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508305664001,"power":13200,"unknown_47":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9034783777355771904}} 
[2026-08-19 17:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":158119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:48:46] local.INFO: GPS data processed {"connection_id":158119,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:48:46] local.INFO: Acknowledgment sent {"connection_id":158119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:48:59] local.INFO: TCP Data received {"connection_id":160307,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:48:59] local.INFO: Processing buffer {"connection_id":160307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:48:59] local.INFO: IMEI packet received {"connection_id":160307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":160307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:49:04] local.INFO: TCP Data received {"connection_id":160307,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:49:04] local.INFO: Processing buffer {"connection_id":160307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:49:04] local.INFO: IMEI packet received {"connection_id":160307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":160307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:49:05] local.INFO: TCP Data received {"connection_id":160307,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:49:05] local.INFO: Processing buffer {"connection_id":160307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:49:05] local.INFO: Packet analysis {"connection_id":160307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:49:05] local.INFO: Extracted packet for processing {"connection_id":160307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:49:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508206336001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787141732000,"timestamp_ms":1787141732000,"timestamp_seconds":1787141732,"priority":1,"record_length":96,"hex_timestamp":"000001a019f2b6a0"} 
[2026-08-19 17:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508206336001,"66":25028,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508206336001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:49:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:49:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508206336001,"power":25028,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":160307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:49:05] local.INFO: GPS data processed {"connection_id":160307,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:49:05] local.INFO: Acknowledgment sent {"connection_id":160307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:49:06] local.INFO: TCP Data received {"connection_id":158120,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:49:06] local.INFO: Processing buffer {"connection_id":158120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:49:06] local.INFO: IMEI packet received {"connection_id":158120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":158120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:49:08] local.INFO: TCP Data received {"connection_id":158120,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:49:08] local.INFO: Processing buffer {"connection_id":158120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:49:08] local.INFO: IMEI packet received {"connection_id":158120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":158120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:49:13] local.INFO: TCP Data received {"connection_id":158120,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:49:13] local.INFO: Processing buffer {"connection_id":158120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:49:13] local.INFO: IMEI packet received {"connection_id":158120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":158120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:49:14] local.INFO: TCP Data received {"connection_id":158120,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f4f4d8012d190c40071fe8b8003900a81e..."} 
[2026-08-19 17:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f4f4d8012d190c40071fe8b8003900a81e..."} 
[2026-08-19 17:49:14] local.INFO: Processing buffer {"connection_id":158120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f4f4d8012d190c40071fe8b8003900a81e..."} 
[2026-08-19 17:49:14] local.INFO: Packet analysis {"connection_id":158120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f4"} 
[2026-08-19 17:49:14] local.INFO: Extracted packet for processing {"connection_id":158120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f4"} 
[2026-08-19 17:49:14] local.INFO: GPS Element Parsed {"raw_longitude":756616256,"raw_latitude":119531704,"longitude_deg":75.6616256,"latitude_deg":11.9531704,"altitude":57,"angle":168,"satellites":30,"speed":10,"hex_longitude":"2d190c40","hex_latitude":"071fe8b8","is_valid_coordinates":true} 
[2026-08-19 17:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508316416001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13950320065380352,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805450899968372736,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787141879000,"timestamp_ms":1787141879000,"timestamp_seconds":1787141879,"priority":1,"record_length":96,"hex_timestamp":"000001a019f4f4d8"} 
[2026-08-19 17:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:49:14] 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-08-19 17:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-19 17:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219712,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:14] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4103286785,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-19 17:49:14] local.WARNING: Large IO value detected {"io_id":18,"raw_value":3221692427,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2404581376,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:14] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,143,160,166,45,128,8,32,10,66,162,192,9,31,151,64,1,240,185,227,25,4,113,205,18,239,52,2,49,7,44],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-19 17:49:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314849570005778432,"timestamp_seconds":3314849570005778.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 17:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:49:14] 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-08-19 17:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508316416001,"66":13820,"102":206,"83":41984,"24":10,"16":13950320065380352,"45":1805450899968372736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 17:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508316416001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:49:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 17:49:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13950320065380352,"km_value":13950320065380.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805450899968372736,"description":"Unknown IO ID 45"} 
[2026-08-19 17:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508316416001,"power":13820,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1805450899968372736}} 
[2026-08-19 17:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":158120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:49:14] local.INFO: GPS data processed {"connection_id":158120,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:49:14] local.INFO: Acknowledgment sent {"connection_id":158120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:49:17] local.INFO: TCP Data received {"connection_id":158119,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f46068012d829fc005d7f508000600b120..."} 
[2026-08-19 17:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f46068012d829fc005d7f508000600b120..."} 
[2026-08-19 17:49:17] local.INFO: Processing buffer {"connection_id":158119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f46068012d829fc005d7f508000600b120..."} 
[2026-08-19 17:49:17] local.INFO: Packet analysis {"connection_id":158119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f4"} 
[2026-08-19 17:49:17] local.INFO: Extracted packet for processing {"connection_id":158119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f4"} 
[2026-08-19 17:49:17] local.INFO: GPS Element Parsed {"raw_longitude":763535296,"raw_latitude":98039048,"longitude_deg":76.3535296,"latitude_deg":9.8039048,"altitude":6,"angle":177,"satellites":32,"speed":38,"hex_longitude":"2d829fc0","hex_latitude":"05d7f508","is_valid_coordinates":true} 
[2026-08-19 17:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508308736001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120844561344888832,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034502302381486080,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:17] 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-08-19 17:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787141841000,"timestamp_ms":1787141841000,"timestamp_seconds":1787141841,"priority":1,"record_length":96,"hex_timestamp":"000001a019f46068"} 
[2026-08-19 17:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:49:17] 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-08-19 17:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-19 17:49:17] 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-08-19 17:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158119,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:49:17] 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-08-19 17:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508308736001,"66":13472,"47":206,"85":15104,"24":38,"16":120844561344888832,"45":-9034502302381486080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-19 17:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508308736001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:49:17] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-19 17:49:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120844561344888832,"km_value":120844561344888.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034502302381486080,"description":"Unknown IO ID 45"} 
[2026-08-19 17:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508308736001,"power":13472,"unknown_47":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9034502302381486080}} 
[2026-08-19 17:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":158119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:49:17] local.INFO: GPS data processed {"connection_id":158119,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:49:17] local.INFO: Acknowledgment sent {"connection_id":158119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:49:37] local.INFO: TCP Data received {"connection_id":160307,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:49:38] local.INFO: Processing buffer {"connection_id":160307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:49:38] local.INFO: Packet analysis {"connection_id":160307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:49:38] local.INFO: Extracted packet for processing {"connection_id":160307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:49:38] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508206336001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787141732000,"timestamp_ms":1787141732000,"timestamp_seconds":1787141732,"priority":1,"record_length":96,"hex_timestamp":"000001a019f2b6a0"} 
[2026-08-19 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-08-19 17:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 17:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508206336001,"66":25028,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508206336001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:49:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:49:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508206336001,"power":25028,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":160307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:49:38] local.INFO: GPS data processed {"connection_id":160307,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:49:38] local.INFO: Acknowledgment sent {"connection_id":160307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:49:41] local.INFO: TCP Data received {"connection_id":158121,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:49:41] local.INFO: Processing buffer {"connection_id":158121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:49:41] local.INFO: IMEI packet received {"connection_id":158121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":158121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:49:45] local.INFO: TCP Data received {"connection_id":158120,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f50860012d190d40071fe398003a00b51f..."} 
[2026-08-19 17:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f50860012d190d40071fe398003a00b51f..."} 
[2026-08-19 17:49:45] local.INFO: Processing buffer {"connection_id":158120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f50860012d190d40071fe398003a00b51f..."} 
[2026-08-19 17:49:45] local.INFO: Packet analysis {"connection_id":158120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f5"} 
[2026-08-19 17:49:45] local.INFO: Extracted packet for processing {"connection_id":158120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f5"} 
[2026-08-19 17:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756616512,"raw_latitude":119530392,"longitude_deg":75.6616512,"latitude_deg":11.9530392,"altitude":58,"angle":181,"satellites":31,"speed":10,"hex_longitude":"2d190d40","hex_latitude":"071fe398","is_valid_coordinates":true} 
[2026-08-19 17:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508321024001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13950388784857088,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804887950013020160,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787141884000,"timestamp_ms":1787141884000,"timestamp_seconds":1787141884,"priority":1,"record_length":96,"hex_timestamp":"000001a019f50860"} 
[2026-08-19 17:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-19 17:49:45] 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-08-19 17:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:49:45] 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-08-19 17:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508321024001,"66":13820,"102":206,"83":41984,"24":10,"16":13950388784857088,"45":1804887950013020160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 17:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508321024001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:49:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 17:49:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13950388784857088,"km_value":13950388784857.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804887950013020160,"description":"Unknown IO ID 45"} 
[2026-08-19 17:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508321024001,"power":13820,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1804887950013020160}} 
[2026-08-19 17:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":158120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:49:45] local.INFO: GPS data processed {"connection_id":158120,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:49:45] local.INFO: Acknowledgment sent {"connection_id":158120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:49:46] local.INFO: TCP Data received {"connection_id":158121,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:49:46] local.INFO: Processing buffer {"connection_id":158121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:49:46] local.INFO: IMEI packet received {"connection_id":158121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":158121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:49:47] local.INFO: TCP Data received {"connection_id":158121,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f62970012d82bb0005d6b0d8000c00b821..."} 
[2026-08-19 17:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f62970012d82bb0005d6b0d8000c00b821..."} 
[2026-08-19 17:49:47] local.INFO: Processing buffer {"connection_id":158121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f62970012d82bb0005d6b0d8000c00b821..."} 
[2026-08-19 17:49:47] local.INFO: Packet analysis {"connection_id":158121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f6"} 
[2026-08-19 17:49:47] local.INFO: Extracted packet for processing {"connection_id":158121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f6"} 
[2026-08-19 17:49:47] local.INFO: GPS Element Parsed {"raw_longitude":763542272,"raw_latitude":97956056,"longitude_deg":76.3542272,"latitude_deg":9.7956056,"altitude":12,"angle":184,"satellites":33,"speed":39,"hex_longitude":"2d82bb00","hex_latitude":"05d6b0d8","is_valid_coordinates":true} 
[2026-08-19 17:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508338688001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120848611499048960,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026480265566619648,"note":"Value kept but may cause issues"} 
[2026-08-19 17:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787141958000,"timestamp_ms":1787141958000,"timestamp_seconds":1787141958,"priority":1,"record_length":96,"hex_timestamp":"000001a019f62970"} 
[2026-08-19 17:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:49:47] 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-08-19 17:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-19 17:49:47] 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-08-19 17:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:49:47] 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-08-19 17:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508338688001,"66":13559,"156":206,"85":15104,"24":39,"16":120848611499048960,"45":-9026480265566619648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-19 17:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508338688001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:49:47] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 17:49:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120848611499048960,"km_value":120848611499048.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026480265566619648,"description":"Unknown IO ID 45"} 
[2026-08-19 17:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508338688001,"power":13559,"unknown_156":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9026480265566619648}} 
[2026-08-19 17:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":158121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:49:47] local.INFO: GPS data processed {"connection_id":158121,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:49:47] local.INFO: Acknowledgment sent {"connection_id":158121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:50:03] local.INFO: TCP Data received {"connection_id":158122,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:50:03] local.INFO: Processing buffer {"connection_id":158122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:50:03] local.INFO: IMEI packet received {"connection_id":158122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":158122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:50:06] local.INFO: TCP Data received {"connection_id":158991,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:50:06] local.INFO: Processing buffer {"connection_id":158991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:50:06] local.INFO: IMEI packet received {"connection_id":158991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":158991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:50:07] local.INFO: TCP Data received {"connection_id":158991,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:50:07] local.INFO: Processing buffer {"connection_id":158991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:50:07] local.INFO: IMEI packet received {"connection_id":158991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":158991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:50:08] local.INFO: TCP Data received {"connection_id":158991,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:50:08] local.INFO: Processing buffer {"connection_id":158991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:50:08] local.INFO: IMEI packet received {"connection_id":158991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":158991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:50:09] local.INFO: TCP Data received {"connection_id":158122,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:50:09] local.INFO: Processing buffer {"connection_id":158122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:50:09] local.INFO: IMEI packet received {"connection_id":158122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":158122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:50:10] local.INFO: TCP Data received {"connection_id":158122,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:50:10] local.INFO: Processing buffer {"connection_id":158122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:50:10] local.INFO: Packet analysis {"connection_id":158122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:50:10] local.INFO: Extracted packet for processing {"connection_id":158122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:50:10] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508206336001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787141732000,"timestamp_ms":1787141732000,"timestamp_seconds":1787141732,"priority":1,"record_length":96,"hex_timestamp":"000001a019f2b6a0"} 
[2026-08-19 17:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508206336001,"66":25028,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508206336001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:50:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508206336001,"power":25028,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":158122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:50:10] local.INFO: GPS data processed {"connection_id":158122,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:50:10] local.INFO: Acknowledgment sent {"connection_id":158122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:50:13] local.INFO: TCP Data received {"connection_id":158991,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:50:13] local.INFO: Processing buffer {"connection_id":158991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:50:13] local.INFO: IMEI packet received {"connection_id":158991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":158991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:50:14] local.INFO: TCP Data received {"connection_id":158122,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:50:14] local.INFO: Processing buffer {"connection_id":158122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:50:14] local.INFO: Packet analysis {"connection_id":158122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:50:14] local.INFO: Extracted packet for processing {"connection_id":158122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:50:14] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:50: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-08-19 17:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508206336001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787141732000,"timestamp_ms":1787141732000,"timestamp_seconds":1787141732,"priority":1,"record_length":96,"hex_timestamp":"000001a019f2b6a0"} 
[2026-08-19 17:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:50: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-08-19 17:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508206336001,"66":25028,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508206336001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:50:14] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:50:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508206336001,"power":25028,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":158122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:50:14] local.INFO: GPS data processed {"connection_id":158122,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:50:14] local.INFO: Acknowledgment sent {"connection_id":158122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:50:14] local.INFO: TCP Data received {"connection_id":158991,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e01000001a019f63cf8012d191d40071fd068003e00561e..."} 
[2026-08-19 17:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158991,"packet_length":93,"packet_hex":"00000000000000518e01000001a019f63cf8012d191d40071fd068003e00561e..."} 
[2026-08-19 17:50:14] local.INFO: Processing buffer {"connection_id":158991,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a019f63cf8012d191d40071fd068003e00561e..."} 
[2026-08-19 17:50:14] local.INFO: Packet analysis {"connection_id":158991,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a019f6"} 
[2026-08-19 17:50:14] local.INFO: Extracted packet for processing {"connection_id":158991,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a019f6"} 
[2026-08-19 17:50:14] local.INFO: GPS Element Parsed {"raw_longitude":756620608,"raw_latitude":119525480,"longitude_deg":75.6620608,"latitude_deg":11.952548,"altitude":62,"angle":86,"satellites":30,"speed":8,"hex_longitude":"2d191d40","hex_latitude":"071fd068","is_valid_coordinates":true} 
[2026-08-19 17:50: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":93,"current_offset":40} 
[2026-08-19 17:50:14] 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-08-19 17:50:14] 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-08-19 17:50:14] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:50:14] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-19 17:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158991,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-19 17:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158991,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-19 17:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158991,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-19 17:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-19 17:50:14] local.WARNING: DEBUG: No valid data to process  
[2026-08-19 17:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":158991,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-19 17:50:14] local.ERROR: GPS data processing failed {"connection_id":158991,"error":"No valid data to process"} 
[2026-08-19 17:50:14] local.INFO: Acknowledgment sent {"connection_id":158991,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-19 17:50:18] local.INFO: TCP Data received {"connection_id":158121,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f63cf8012d82ba8005d69e30000a00a820..."} 
[2026-08-19 17:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f63cf8012d82ba8005d69e30000a00a820..."} 
[2026-08-19 17:50:18] local.INFO: Processing buffer {"connection_id":158121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f63cf8012d82ba8005d69e30000a00a820..."} 
[2026-08-19 17:50:18] local.INFO: Packet analysis {"connection_id":158121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f6"} 
[2026-08-19 17:50:18] local.INFO: Extracted packet for processing {"connection_id":158121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f6"} 
[2026-08-19 17:50:18] local.INFO: GPS Element Parsed {"raw_longitude":763542144,"raw_latitude":97951280,"longitude_deg":76.3542144,"latitude_deg":9.795128,"altitude":10,"angle":168,"satellites":32,"speed":36,"hex_longitude":"2d82ba80","hex_latitude":"05d69e30","is_valid_coordinates":true} 
[2026-08-19 17:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508341248001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120848843427282944,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026621003057276928,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:18] 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-08-19 17:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787141963000,"timestamp_ms":1787141963000,"timestamp_seconds":1787141963,"priority":1,"record_length":96,"hex_timestamp":"000001a019f63cf8"} 
[2026-08-19 17:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-19 17:50:18] 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-08-19 17:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:50:18] 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-08-19 17:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508341248001,"66":13243,"156":206,"85":15104,"24":36,"16":120848843427282944,"45":-9026621003057276928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-19 17:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508341248001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:50:18] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 17:50:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120848843427282944,"km_value":120848843427282.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026621003057276928,"description":"Unknown IO ID 45"} 
[2026-08-19 17:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508341248001,"power":13243,"unknown_156":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9026621003057276928}} 
[2026-08-19 17:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":158121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:50:18] local.INFO: GPS data processed {"connection_id":158121,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:50:18] local.INFO: Acknowledgment sent {"connection_id":158121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:50:45] local.INFO: TCP Data received {"connection_id":158991,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f640e0012d191e40071fd090003e004b1f..."} 
[2026-08-19 17:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f640e0012d191e40071fd090003e004b1f..."} 
[2026-08-19 17:50:45] local.INFO: Processing buffer {"connection_id":158991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f640e0012d191e40071fd090003e004b1f..."} 
[2026-08-19 17:50:45] local.INFO: Packet analysis {"connection_id":158991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f6"} 
[2026-08-19 17:50:45] local.INFO: Extracted packet for processing {"connection_id":158991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f6"} 
[2026-08-19 17:50:45] local.INFO: GPS Element Parsed {"raw_longitude":756620864,"raw_latitude":119525520,"longitude_deg":75.6620864,"latitude_deg":11.952552,"altitude":62,"angle":75,"satellites":31,"speed":8,"hex_longitude":"2d191e40","hex_latitude":"071fd090","is_valid_coordinates":true} 
[2026-08-19 17:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508342528001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13950869821194240,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809673024615507968,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787141964000,"timestamp_ms":1787141964000,"timestamp_seconds":1787141964,"priority":1,"record_length":96,"hex_timestamp":"000001a019f640e0"} 
[2026-08-19 17:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 17:50: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-08-19 17:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:50:45] 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-08-19 17:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508342528001,"66":13993,"102":206,"83":41984,"24":8,"16":13950869821194240,"45":1809673024615507968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 17:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508342528001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:50:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 17:50:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13950869821194240,"km_value":13950869821194.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809673024615507968,"description":"Unknown IO ID 45"} 
[2026-08-19 17:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508342528001,"power":13993,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1809673024615507968}} 
[2026-08-19 17:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":158991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:50:46] local.INFO: GPS data processed {"connection_id":158991,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:50:46] local.INFO: Acknowledgment sent {"connection_id":158991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:50:48] local.INFO: TCP Data received {"connection_id":158123,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:50:48] local.INFO: Processing buffer {"connection_id":158123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:50:48] local.INFO: IMEI packet received {"connection_id":158123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":158123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:50:49] local.INFO: TCP Data received {"connection_id":158123,"ip":"42.109.136.2","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-19 17:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158123,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-19 17:50:49] local.INFO: Processing buffer {"connection_id":158123,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-19 17:50:49] local.INFO: IMEI packet received {"connection_id":158123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":158123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:50:50] local.INFO: TCP Data received {"connection_id":158123,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f73ae0012d82b74005d62d20000700e421..."} 
[2026-08-19 17:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f73ae0012d82b74005d62d20000700e421..."} 
[2026-08-19 17:50:50] local.INFO: Processing buffer {"connection_id":158123,"buffer_length":829,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-19 17:50:50] local.INFO: IMEI packet received {"connection_id":158123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":158123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:50:51] local.INFO: TCP Data received {"connection_id":158123,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f74698012d82b24005d62860000700d721..."} 
[2026-08-19 17:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f74698012d82b24005d62860000700d721..."} 
[2026-08-19 17:50:51] local.INFO: Processing buffer {"connection_id":158123,"buffer_length":1607,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a019..."} 
[2026-08-19 17:50:51] local.INFO: IMEI packet received {"connection_id":158123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":158123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:50:52] local.INFO: TCP Data received {"connection_id":158123,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f75638012d82ac8005d61f50000700cb1f..."} 
[2026-08-19 17:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f75638012d82ac8005d61f50000700cb1f..."} 
[2026-08-19 17:50:52] local.INFO: Processing buffer {"connection_id":158123,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a019f73ae0012d82b74005d62d20000700e421..."} 
[2026-08-19 17:50:52] local.INFO: Packet analysis {"connection_id":158123,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:50:52] local.INFO: Extracted packet for processing {"connection_id":158123,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:50:52] local.INFO: GPS Element Parsed {"raw_longitude":763541312,"raw_latitude":97922336,"longitude_deg":76.3541312,"latitude_deg":9.7922336,"altitude":7,"angle":228,"satellites":33,"speed":19,"hex_longitude":"2d82b740","hex_latitude":"05d62d20","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508358912001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120850432565182464,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027324690507606016,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50: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-08-19 17:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787142028000,"timestamp_ms":1787142028000,"timestamp_seconds":1787142028,"priority":1,"record_length":96,"hex_timestamp":"000001a019f73ae0"} 
[2026-08-19 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-08-19 17:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-19 17:50:52] 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-08-19 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-08-19 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-08-19 17:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":158123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":158123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":158123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:50:52] 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-08-19 17:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508358912001,"66":13493,"156":206,"85":15104,"24":19,"16":120850432565182464,"45":-9027324690507606016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-19 17:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508358912001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:50:52] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 17:50:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120850432565182464,"km_value":120850432565182.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027324690507606016,"description":"Unknown IO ID 45"} 
[2026-08-19 17:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508358912001,"power":13493,"unknown_156":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9027324690507606016}} 
[2026-08-19 17:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":158123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:50:52] local.INFO: GPS data processed {"connection_id":158123,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:50:52] local.INFO: Acknowledgment sent {"connection_id":158123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:50:52] local.INFO: Packet analysis {"connection_id":158123,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:50:52] local.INFO: Extracted packet for processing {"connection_id":158123,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:50:52] local.INFO: GPS Element Parsed {"raw_longitude":763540032,"raw_latitude":97921120,"longitude_deg":76.3540032,"latitude_deg":9.792112,"altitude":7,"angle":215,"satellites":33,"speed":27,"hex_longitude":"2d82b240","hex_latitude":"05d62860","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508359168001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120850518464528384,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027676534228574208,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50: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-08-19 17:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787142031000,"timestamp_ms":1787142031000,"timestamp_seconds":1787142031,"priority":1,"record_length":96,"hex_timestamp":"000001a019f74698"} 
[2026-08-19 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-08-19 17:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-19 17:50:52] 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-08-19 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-08-19 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-08-19 17:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":158123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":158123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":158123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:50:52] 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-08-19 17:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508359168001,"66":12917,"156":206,"85":15104,"24":27,"16":120850518464528384,"45":-9027676534228574208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-19 17:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508359168001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:50:52] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 17:50:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120850518464528384,"km_value":120850518464528.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027676534228574208,"description":"Unknown IO ID 45"} 
[2026-08-19 17:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508359168001,"power":12917,"unknown_156":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9027676534228574208}} 
[2026-08-19 17:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":158123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:50:52] local.INFO: GPS data processed {"connection_id":158123,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:50:52] local.INFO: Acknowledgment sent {"connection_id":158123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:50:52] local.INFO: Packet analysis {"connection_id":158123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:50:52] local.INFO: Extracted packet for processing {"connection_id":158123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:50:52] local.INFO: GPS Element Parsed {"raw_longitude":763538560,"raw_latitude":97918800,"longitude_deg":76.353856,"latitude_deg":9.79188,"altitude":7,"angle":203,"satellites":31,"speed":24,"hex_longitude":"2d82ac80","hex_latitude":"05d61f50","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508359936001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120850651608514560,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029083909112438784,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50: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-08-19 17:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787142035000,"timestamp_ms":1787142035000,"timestamp_seconds":1787142035,"priority":1,"record_length":96,"hex_timestamp":"000001a019f75638"} 
[2026-08-19 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-08-19 17:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 17:50:52] 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-08-19 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-08-19 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-08-19 17:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":158123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":158123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":158123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:50:52] 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-08-19 17:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508359936001,"66":13515,"156":206,"85":15104,"24":24,"16":120850651608514560,"45":-9029083909112438784},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-19 17:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508359936001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:50:52] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 17:50:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120850651608514560,"km_value":120850651608514.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029083909112438784,"description":"Unknown IO ID 45"} 
[2026-08-19 17:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508359936001,"power":13515,"unknown_156":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9029083909112438784}} 
[2026-08-19 17:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":158123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:50:52] local.INFO: GPS data processed {"connection_id":158123,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:50:52] local.INFO: Acknowledgment sent {"connection_id":158123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:50:53] local.INFO: TCP Data received {"connection_id":158123,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f761f0012d82a94005d61910000700da20..."} 
[2026-08-19 17:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f761f0012d82a94005d61910000700da20..."} 
[2026-08-19 17:50:53] local.INFO: Processing buffer {"connection_id":158123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f761f0012d82a94005d61910000700da20..."} 
[2026-08-19 17:50:53] local.INFO: Packet analysis {"connection_id":158123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:50:53] local.INFO: Extracted packet for processing {"connection_id":158123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:50:53] local.INFO: GPS Element Parsed {"raw_longitude":763537728,"raw_latitude":97917200,"longitude_deg":76.3537728,"latitude_deg":9.79172,"altitude":7,"angle":218,"satellites":32,"speed":22,"hex_longitude":"2d82a940","hex_latitude":"05d61910","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508360960001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120850737507860480,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9030702390229118976,"note":"Value kept but may cause issues"} 
[2026-08-19 17:50:53] 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-08-19 17:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787142038000,"timestamp_ms":1787142038000,"timestamp_seconds":1787142038,"priority":1,"record_length":96,"hex_timestamp":"000001a019f761f0"} 
[2026-08-19 17:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:50:53] 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-08-19 17: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-19 17:50:53] 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-08-19 17: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-08-19 17:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":158123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":158123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":158123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:50:53] 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-08-19 17:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508360960001,"66":13515,"156":206,"85":15104,"24":22,"16":120850737507860480,"45":-9030702390229118976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-19 17:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508360960001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:50:53] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 17:50:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120850737507860480,"km_value":120850737507860.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9030702390229118976,"description":"Unknown IO ID 45"} 
[2026-08-19 17:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508360960001,"power":13515,"unknown_156":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9030702390229118976}} 
[2026-08-19 17:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":158123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:50:53] local.INFO: GPS data processed {"connection_id":158123,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:50:53] local.INFO: Acknowledgment sent {"connection_id":158123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:50:59] local.INFO: TCP Data received {"connection_id":160308,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:50:59] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:50:59] local.INFO: IMEI packet received {"connection_id":160308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":160308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:51:04] local.INFO: TCP Data received {"connection_id":160308,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:51:04] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:51:04] local.INFO: IMEI packet received {"connection_id":160308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":160308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:51:05] local.INFO: TCP Data received {"connection_id":160308,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:51:05] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f2b6a0012ceb5f800713b858001400a129..."} 
[2026-08-19 17:51:05] local.INFO: Packet analysis {"connection_id":160308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:51:05] local.INFO: Extracted packet for processing {"connection_id":160308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f2"} 
[2026-08-19 17:51:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508206336001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:51:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787141732000,"timestamp_ms":1787141732000,"timestamp_seconds":1787141732,"priority":1,"record_length":96,"hex_timestamp":"000001a019f2b6a0"} 
[2026-08-19 17:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 17:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508206336001,"66":25028,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508206336001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:51:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:51:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508206336001,"power":25028,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":160308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:51:05] local.INFO: GPS data processed {"connection_id":160308,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:51:05] local.INFO: Acknowledgment sent {"connection_id":160308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:51:08] local.INFO: TCP Data received {"connection_id":158992,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:51:08] local.INFO: Processing buffer {"connection_id":158992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:51:08] local.INFO: IMEI packet received {"connection_id":158992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":158992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:51:13] local.INFO: TCP Data received {"connection_id":158992,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:51:13] local.INFO: Processing buffer {"connection_id":158992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:51:13] local.INFO: IMEI packet received {"connection_id":158992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":158992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:51:14] local.INFO: TCP Data received {"connection_id":158992,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f65080012d192100071fd0f0003d00571f..."} 
[2026-08-19 17:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f65080012d192100071fd0f0003d00571f..."} 
[2026-08-19 17:51:14] local.INFO: Processing buffer {"connection_id":158992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f65080012d192100071fd0f0003d00571f..."} 
[2026-08-19 17:51:14] local.INFO: Packet analysis {"connection_id":158992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f6"} 
[2026-08-19 17:51:14] local.INFO: Extracted packet for processing {"connection_id":158992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f6"} 
[2026-08-19 17:51:14] local.INFO: GPS Element Parsed {"raw_longitude":756621568,"raw_latitude":119525616,"longitude_deg":75.6621568,"latitude_deg":11.9525616,"altitude":61,"angle":87,"satellites":31,"speed":5,"hex_longitude":"2d192100","hex_latitude":"071fd0f0","is_valid_coordinates":true} 
[2026-08-19 17:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508342784001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13950899885965312,"note":"Value kept but may cause issues"} 
[2026-08-19 17:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809954499592228864,"note":"Value kept but may cause issues"} 
[2026-08-19 17:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787141968000,"timestamp_ms":1787141968000,"timestamp_seconds":1787141968,"priority":1,"record_length":96,"hex_timestamp":"000001a019f65080"} 
[2026-08-19 17:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:51:14] 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-08-19 17:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 17:51:14] 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-08-19 17:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:51:14] 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-08-19 17:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508342784001,"66":13972,"102":206,"83":41984,"24":5,"16":13950899885965312,"45":1809954499592228864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 17:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508342784001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:51:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 17:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13950899885965312,"km_value":13950899885965.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809954499592228864,"description":"Unknown IO ID 45"} 
[2026-08-19 17:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508342784001,"power":13972,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1809954499592228864}} 
[2026-08-19 17:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":158992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:51:14] local.INFO: GPS data processed {"connection_id":158992,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:51:14] local.INFO: Acknowledgment sent {"connection_id":158992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:51:24] local.INFO: TCP Data received {"connection_id":158123,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f7b7e0012d82a38005d5f848000700db21..."} 
[2026-08-19 17:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f7b7e0012d82a38005d5f848000700db21..."} 
[2026-08-19 17:51:24] local.INFO: Processing buffer {"connection_id":158123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f7b7e0012d82a38005d5f848000700db21..."} 
[2026-08-19 17:51:24] local.INFO: Packet analysis {"connection_id":158123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:51:24] local.INFO: Extracted packet for processing {"connection_id":158123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:51:24] local.INFO: GPS Element Parsed {"raw_longitude":763536256,"raw_latitude":97908808,"longitude_deg":76.3536256,"latitude_deg":9.7908808,"altitude":7,"angle":219,"satellites":33,"speed":13,"hex_longitude":"2d82a380","hex_latitude":"05d5f848","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508367104001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120851240019034112,"note":"Value kept but may cause issues"} 
[2026-08-19 17:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033094927533643776,"note":"Value kept but may cause issues"} 
[2026-08-19 17:51: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-08-19 17:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787142060000,"timestamp_ms":1787142060000,"timestamp_seconds":1787142060,"priority":1,"record_length":96,"hex_timestamp":"000001a019f7b7e0"} 
[2026-08-19 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-08-19 17:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 17:51:24] 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-08-19 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-08-19 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-08-19 17:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:51:24] 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-08-19 17:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508367104001,"66":13243,"156":206,"85":15104,"24":13,"16":120851240019034112,"45":-9033094927533643776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-19 17:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508367104001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:51:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-19 17:51:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120851240019034112,"km_value":120851240019034.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033094927533643776,"description":"Unknown IO ID 45"} 
[2026-08-19 17:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508367104001,"power":13243,"unknown_156":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9033094927533643776}} 
[2026-08-19 17:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":158123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:51:24] local.INFO: GPS data processed {"connection_id":158123,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:51:24] local.INFO: Acknowledgment sent {"connection_id":158123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:51:36] local.INFO: TCP Data received {"connection_id":160308,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:51:36] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:51:36] local.INFO: Packet analysis {"connection_id":160308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:51:36] local.INFO: Extracted packet for processing {"connection_id":160308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:51:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508283392001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:51:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787142033000,"timestamp_ms":1787142033000,"timestamp_seconds":1787142033,"priority":1,"record_length":96,"hex_timestamp":"000001a019f74e68"} 
[2026-08-19 17:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 17:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508283392001,"66":25702,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508283392001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:51:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:51:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508283392001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":160308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:51:36] local.INFO: GPS data processed {"connection_id":160308,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:51:36] local.INFO: Acknowledgment sent {"connection_id":160308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:51:42] local.INFO: TCP Data received {"connection_id":158124,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:51:42] local.INFO: Processing buffer {"connection_id":158124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:51:42] local.INFO: IMEI packet received {"connection_id":158124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":158124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:51:45] local.INFO: TCP Data received {"connection_id":158992,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f65468012d192180071fd0d8003d00631f..."} 
[2026-08-19 17:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f65468012d192180071fd0d8003d00631f..."} 
[2026-08-19 17:51:45] local.INFO: Processing buffer {"connection_id":158992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f65468012d192180071fd0d8003d00631f..."} 
[2026-08-19 17:51:45] local.INFO: Packet analysis {"connection_id":158992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f6"} 
[2026-08-19 17:51:45] local.INFO: Extracted packet for processing {"connection_id":158992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f6"} 
[2026-08-19 17:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756621696,"raw_latitude":119525592,"longitude_deg":75.6621696,"latitude_deg":11.9525592,"altitude":61,"angle":99,"satellites":31,"speed":3,"hex_longitude":"2d192180","hex_latitude":"071fd0d8","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508343808001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13950908475899904,"note":"Value kept but may cause issues"} 
[2026-08-19 17:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1810728555778207744,"note":"Value kept but may cause issues"} 
[2026-08-19 17:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787141969000,"timestamp_ms":1787141969000,"timestamp_seconds":1787141969,"priority":1,"record_length":96,"hex_timestamp":"000001a019f65468"} 
[2026-08-19 17:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:51:45] 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-08-19 17: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-19 17:51:45] 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-08-19 17: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-08-19 17:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:51:45] 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-08-19 17:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508343808001,"66":13928,"102":206,"83":41984,"24":3,"16":13950908475899904,"45":1810728555778207744},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 17:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508343808001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:51:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 17:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13950908475899904,"km_value":13950908475899.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1810728555778207744,"description":"Unknown IO ID 45"} 
[2026-08-19 17:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508343808001,"power":13928,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1810728555778207744}} 
[2026-08-19 17:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":158992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:51:45] local.INFO: GPS data processed {"connection_id":158992,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:51:45] local.INFO: Acknowledgment sent {"connection_id":158992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:51:51] local.INFO: TCP Data received {"connection_id":158124,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:51:51] local.INFO: Processing buffer {"connection_id":158124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:51:51] local.INFO: IMEI packet received {"connection_id":158124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":158124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:51:58] local.INFO: TCP Data received {"connection_id":157769,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:51:58] local.INFO: Processing buffer {"connection_id":157769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:51:58] local.INFO: IMEI packet received {"connection_id":157769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":157769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:52:03] local.INFO: TCP Data received {"connection_id":157769,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:52:03] local.INFO: Processing buffer {"connection_id":157769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:52:03] local.INFO: IMEI packet received {"connection_id":157769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":157769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:52:05] local.INFO: TCP Data received {"connection_id":157769,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:52:05] local.INFO: Processing buffer {"connection_id":157769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:52:05] local.INFO: Packet analysis {"connection_id":157769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:52:05] local.INFO: Extracted packet for processing {"connection_id":157769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:52:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508283392001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:52:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787142033000,"timestamp_ms":1787142033000,"timestamp_seconds":1787142033,"priority":1,"record_length":96,"hex_timestamp":"000001a019f74e68"} 
[2026-08-19 17:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 17:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508283392001,"66":25702,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508283392001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:52:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:52:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508283392001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":157769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:52:05] local.INFO: GPS data processed {"connection_id":157769,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:52:05] local.INFO: Acknowledgment sent {"connection_id":157769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:52:08] local.INFO: TCP Data received {"connection_id":158993,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:52:08] local.INFO: Processing buffer {"connection_id":158993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:52:08] local.INFO: IMEI packet received {"connection_id":158993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":158993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:52:13] local.INFO: TCP Data received {"connection_id":158993,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:52:13] local.INFO: Processing buffer {"connection_id":158993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:52:13] local.INFO: IMEI packet received {"connection_id":158993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":158993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:52:14] local.INFO: TCP Data received {"connection_id":158993,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f7e6c0012d193a40071fe4980042004021..."} 
[2026-08-19 17:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f7e6c0012d193a40071fe4980042004021..."} 
[2026-08-19 17:52:14] local.INFO: Processing buffer {"connection_id":158993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f7e6c0012d193a40071fe4980042004021..."} 
[2026-08-19 17:52:14] local.INFO: Packet analysis {"connection_id":158993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:52:14] local.INFO: Extracted packet for processing {"connection_id":158993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:52:14] local.INFO: GPS Element Parsed {"raw_longitude":756628032,"raw_latitude":119530648,"longitude_deg":75.6628032,"latitude_deg":11.9530648,"altitude":66,"angle":64,"satellites":33,"speed":9,"hex_longitude":"2d193a40","hex_latitude":"071fe498","is_valid_coordinates":true} 
[2026-08-19 17:52: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-08-19 17:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508370176001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13951389512237056,"note":"Value kept but may cause issues"} 
[2026-08-19 17:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817554323964694528,"note":"Value kept but may cause issues"} 
[2026-08-19 17:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787142072000,"timestamp_ms":1787142072000,"timestamp_seconds":1787142072,"priority":1,"record_length":96,"hex_timestamp":"000001a019f7e6c0"} 
[2026-08-19 17:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:52:14] 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-08-19 17:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-19 17:52:14] 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-08-19 17:52: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-08-19 17:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:52:14] 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-08-19 17:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508370176001,"66":14135,"102":206,"83":41984,"24":9,"16":13951389512237056,"45":1817554323964694528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 17:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508370176001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:52:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 17:52:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13951389512237056,"km_value":13951389512237.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817554323964694528,"description":"Unknown IO ID 45"} 
[2026-08-19 17:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508370176001,"power":14135,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1817554323964694528}} 
[2026-08-19 17:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":158993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:52:14] local.INFO: GPS data processed {"connection_id":158993,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:52:14] local.INFO: Acknowledgment sent {"connection_id":158993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:52:16] local.INFO: TCP Data received {"connection_id":158124,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:52:16] local.INFO: Processing buffer {"connection_id":158124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:52:16] local.INFO: IMEI packet received {"connection_id":158124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":158124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:52:36] local.INFO: TCP Data received {"connection_id":157769,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:52:36] local.INFO: Processing buffer {"connection_id":157769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:52:36] local.INFO: Packet analysis {"connection_id":157769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:52:36] local.INFO: Extracted packet for processing {"connection_id":157769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:52:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508283392001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:52:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787142033000,"timestamp_ms":1787142033000,"timestamp_seconds":1787142033,"priority":1,"record_length":96,"hex_timestamp":"000001a019f74e68"} 
[2026-08-19 17:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 17:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508283392001,"66":25702,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508283392001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:52:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:52:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508283392001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":157769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:52:36] local.INFO: GPS data processed {"connection_id":157769,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:52:36] local.INFO: Acknowledgment sent {"connection_id":157769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:52:45] local.INFO: TCP Data received {"connection_id":158993,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f8a240012d194a40071ffb20003e006d1f..."} 
[2026-08-19 17:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f8a240012d194a40071ffb20003e006d1f..."} 
[2026-08-19 17:52:45] local.INFO: Processing buffer {"connection_id":158993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f8a240012d194a40071ffb20003e006d1f..."} 
[2026-08-19 17:52:45] local.INFO: Packet analysis {"connection_id":158993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f8"} 
[2026-08-19 17:52:45] local.INFO: Extracted packet for processing {"connection_id":158993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f8"} 
[2026-08-19 17:52:45] local.INFO: GPS Element Parsed {"raw_longitude":756632128,"raw_latitude":119536416,"longitude_deg":75.6632128,"latitude_deg":11.9536416,"altitude":62,"angle":109,"satellites":31,"speed":8,"hex_longitude":"2d194a40","hex_latitude":"071ffb20","is_valid_coordinates":true} 
[2026-08-19 17:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508382208001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13951814713999360,"note":"Value kept but may cause issues"} 
[2026-08-19 17:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821846817361055744,"note":"Value kept but may cause issues"} 
[2026-08-19 17:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787142120000,"timestamp_ms":1787142120000,"timestamp_seconds":1787142120,"priority":1,"record_length":96,"hex_timestamp":"000001a019f8a240"} 
[2026-08-19 17:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 17:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:52:45] 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-08-19 17:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508382208001,"66":13439,"102":206,"83":41984,"24":8,"16":13951814713999360,"45":1821846817361055744},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 17:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508382208001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:52:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 17:52:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13951814713999360,"km_value":13951814713999.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821846817361055744,"description":"Unknown IO ID 45"} 
[2026-08-19 17:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508382208001,"power":13439,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1821846817361055744}} 
[2026-08-19 17:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":158993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:52:45] local.INFO: GPS data processed {"connection_id":158993,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:52:45] local.INFO: Acknowledgment sent {"connection_id":158993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:52:58] local.INFO: TCP Data received {"connection_id":158126,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:52:58] local.INFO: Processing buffer {"connection_id":158126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:52:58] local.INFO: IMEI packet received {"connection_id":158126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":158126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:53:04] local.INFO: TCP Data received {"connection_id":158126,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:53:04] local.INFO: Processing buffer {"connection_id":158126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:53:04] local.INFO: IMEI packet received {"connection_id":158126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":158126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:53:05] local.INFO: TCP Data received {"connection_id":158126,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:53:05] local.INFO: Processing buffer {"connection_id":158126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:53:05] local.INFO: Packet analysis {"connection_id":158126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:53:05] local.INFO: Extracted packet for processing {"connection_id":158126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:53:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508283392001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:53:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787142033000,"timestamp_ms":1787142033000,"timestamp_seconds":1787142033,"priority":1,"record_length":96,"hex_timestamp":"000001a019f74e68"} 
[2026-08-19 17:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 17:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508283392001,"66":25702,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508283392001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:53:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:53:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508283392001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":158126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:53:05] local.INFO: GPS data processed {"connection_id":158126,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:53:05] local.INFO: Acknowledgment sent {"connection_id":158126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:53:13] local.INFO: TCP Data received {"connection_id":160309,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:53:13] local.INFO: Processing buffer {"connection_id":160309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:53:13] local.INFO: IMEI packet received {"connection_id":160309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":160309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:53:18] local.INFO: TCP Data received {"connection_id":160309,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:53:18] local.INFO: Processing buffer {"connection_id":160309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:53:18] local.INFO: IMEI packet received {"connection_id":160309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":160309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:53:19] local.INFO: TCP Data received {"connection_id":160309,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f8b1e0012d194d40071ff9e8003f008620..."} 
[2026-08-19 17:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f8b1e0012d194d40071ff9e8003f008620..."} 
[2026-08-19 17:53:19] local.INFO: Processing buffer {"connection_id":160309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f8b1e0012d194d40071ff9e8003f008620..."} 
[2026-08-19 17:53:19] local.INFO: Packet analysis {"connection_id":160309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f8"} 
[2026-08-19 17:53:19] local.INFO: Extracted packet for processing {"connection_id":160309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f8"} 
[2026-08-19 17:53:19] local.INFO: GPS Element Parsed {"raw_longitude":756632896,"raw_latitude":119536104,"longitude_deg":75.6632896,"latitude_deg":11.9536104,"altitude":63,"angle":134,"satellites":32,"speed":9,"hex_longitude":"2d194d40","hex_latitude":"071ff9e8","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508382720001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13951853368705024,"note":"Value kept but may cause issues"} 
[2026-08-19 17:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822339398570287104,"note":"Value kept but may cause issues"} 
[2026-08-19 17:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787142124000,"timestamp_ms":1787142124000,"timestamp_seconds":1787142124,"priority":1,"record_length":96,"hex_timestamp":"000001a019f8b1e0"} 
[2026-08-19 17:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:53:19] 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-08-19 17: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-19 17:53:19] 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-08-19 17: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-08-19 17:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:53:19] 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-08-19 17:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508382720001,"66":14363,"103":206,"83":41984,"24":9,"16":13951853368705024,"45":1822339398570287104},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508382720001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:53:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:53:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13951853368705024,"km_value":13951853368705.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822339398570287104,"description":"Unknown IO ID 45"} 
[2026-08-19 17:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508382720001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1822339398570287104}} 
[2026-08-19 17:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":160309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:53:19] local.INFO: GPS data processed {"connection_id":160309,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:53:19] local.INFO: Acknowledgment sent {"connection_id":160309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:53:20] local.INFO: TCP Data received {"connection_id":160309,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f8b5c8012d194dc0071ff948003e009a20..."} 
[2026-08-19 17:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f8b5c8012d194dc0071ff948003e009a20..."} 
[2026-08-19 17:53:20] local.INFO: Processing buffer {"connection_id":160309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f8b5c8012d194dc0071ff948003e009a20..."} 
[2026-08-19 17:53:20] local.INFO: Packet analysis {"connection_id":160309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f8"} 
[2026-08-19 17:53:20] local.INFO: Extracted packet for processing {"connection_id":160309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f8"} 
[2026-08-19 17:53:20] local.INFO: GPS Element Parsed {"raw_longitude":756633024,"raw_latitude":119535944,"longitude_deg":75.6633024,"latitude_deg":11.9535944,"altitude":62,"angle":154,"satellites":32,"speed":9,"hex_longitude":"2d194dc0","hex_latitude":"071ff948","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508383744001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13951861958639616,"note":"Value kept but may cause issues"} 
[2026-08-19 17:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823183823500339200,"note":"Value kept but may cause issues"} 
[2026-08-19 17:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787142125000,"timestamp_ms":1787142125000,"timestamp_seconds":1787142125,"priority":1,"record_length":96,"hex_timestamp":"000001a019f8b5c8"} 
[2026-08-19 17:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:53: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-08-19 17:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 17:53:20] 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-08-19 17: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-08-19 17:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:53:20] 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-08-19 17:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508383744001,"66":14428,"103":206,"83":41984,"24":9,"16":13951861958639616,"45":1823183823500339200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508383744001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:53:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:53:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13951861958639616,"km_value":13951861958639.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823183823500339200,"description":"Unknown IO ID 45"} 
[2026-08-19 17:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508383744001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1823183823500339200}} 
[2026-08-19 17:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":160309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:53:20] local.INFO: GPS data processed {"connection_id":160309,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:53:20] local.INFO: Acknowledgment sent {"connection_id":160309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:53:36] local.INFO: TCP Data received {"connection_id":158126,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:53:36] local.INFO: Processing buffer {"connection_id":158126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:53:36] local.INFO: Packet analysis {"connection_id":158126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:53:36] local.INFO: Extracted packet for processing {"connection_id":158126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:53:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508283392001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:53:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787142033000,"timestamp_ms":1787142033000,"timestamp_seconds":1787142033,"priority":1,"record_length":96,"hex_timestamp":"000001a019f74e68"} 
[2026-08-19 17:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 17:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508283392001,"66":25702,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508283392001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:53:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:53:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508283392001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":158126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:53:36] local.INFO: GPS data processed {"connection_id":158126,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:53:36] local.INFO: Acknowledgment sent {"connection_id":158126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:53:51] local.INFO: TCP Data received {"connection_id":160309,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019f8c568012d194e80071ff770003d00a720..."} 
[2026-08-19 17:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f8c568012d194e80071ff770003d00a720..."} 
[2026-08-19 17:53:51] local.INFO: Processing buffer {"connection_id":160309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f8c568012d194e80071ff770003d00a720..."} 
[2026-08-19 17:53:51] local.INFO: Packet analysis {"connection_id":160309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f8"} 
[2026-08-19 17:53:51] local.INFO: Extracted packet for processing {"connection_id":160309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f8"} 
[2026-08-19 17:53:51] local.INFO: GPS Element Parsed {"raw_longitude":756633216,"raw_latitude":119535472,"longitude_deg":75.6633216,"latitude_deg":11.9535472,"altitude":61,"angle":167,"satellites":32,"speed":1,"hex_longitude":"2d194e80","hex_latitude":"071ff770","is_valid_coordinates":true} 
[2026-08-19 17:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508384000001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13951887728443392,"note":"Value kept but may cause issues"} 
[2026-08-19 17:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823324560988653568,"note":"Value kept but may cause issues"} 
[2026-08-19 17:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787142129000,"timestamp_ms":1787142129000,"timestamp_seconds":1787142129,"priority":1,"record_length":96,"hex_timestamp":"000001a019f8c568"} 
[2026-08-19 17:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:53: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-08-19 17:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 17:53: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-08-19 17:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:53:51] 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-08-19 17:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508384000001,"66":14352,"103":206,"83":41984,"24":1,"16":13951887728443392,"45":1823324560988653568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 17:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508384000001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:53:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 17:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13951887728443392,"km_value":13951887728443.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823324560988653568,"description":"Unknown IO ID 45"} 
[2026-08-19 17:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508384000001,"power":14352,"unknown_103":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1823324560988653568}} 
[2026-08-19 17:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":160309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:53:51] local.INFO: GPS data processed {"connection_id":160309,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:53:51] local.INFO: Acknowledgment sent {"connection_id":160309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:54:03] local.INFO: TCP Data received {"connection_id":158994,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:54:03] local.INFO: Processing buffer {"connection_id":158994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:54:03] local.INFO: IMEI packet received {"connection_id":158994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":158994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:54:04] local.INFO: TCP Data received {"connection_id":158995,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:54:04] local.INFO: Processing buffer {"connection_id":158995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:54:04] local.INFO: IMEI packet received {"connection_id":158995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":158995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:54:05] local.INFO: TCP Data received {"connection_id":158995,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:54:05] local.INFO: Processing buffer {"connection_id":158995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:54:05] local.INFO: IMEI packet received {"connection_id":158995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":158995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:54:07] local.INFO: TCP Data received {"connection_id":158995,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:54:07] local.INFO: Processing buffer {"connection_id":158995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:54:07] local.INFO: IMEI packet received {"connection_id":158995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":158995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:54:08] local.INFO: TCP Data received {"connection_id":158995,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:54:08] local.INFO: Processing buffer {"connection_id":158995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:54:08] local.INFO: IMEI packet received {"connection_id":158995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 17:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":158995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:54:09] local.INFO: TCP Data received {"connection_id":158994,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:54:09] local.INFO: Processing buffer {"connection_id":158994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:54:09] local.INFO: IMEI packet received {"connection_id":158994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":158994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:54:10] local.INFO: TCP Data received {"connection_id":158994,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:54:10] local.INFO: Processing buffer {"connection_id":158994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:54:10] local.INFO: Packet analysis {"connection_id":158994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:54:10] local.INFO: Extracted packet for processing {"connection_id":158994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:54:10] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508283392001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787142033000,"timestamp_ms":1787142033000,"timestamp_seconds":1787142033,"priority":1,"record_length":96,"hex_timestamp":"000001a019f74e68"} 
[2026-08-19 17:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 17:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508283392001,"66":25702,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508283392001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:54:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508283392001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":158994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:54:10] local.INFO: GPS data processed {"connection_id":158994,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:54:10] local.INFO: Acknowledgment sent {"connection_id":158994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:54:41] local.INFO: TCP Data received {"connection_id":158994,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:54:41] local.INFO: Processing buffer {"connection_id":158994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:54:41] local.INFO: Packet analysis {"connection_id":158994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:54:41] local.INFO: Extracted packet for processing {"connection_id":158994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:54:41] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508283392001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787142033000,"timestamp_ms":1787142033000,"timestamp_seconds":1787142033,"priority":1,"record_length":96,"hex_timestamp":"000001a019f74e68"} 
[2026-08-19 17:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 17:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508283392001,"66":25702,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508283392001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:54:41] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508283392001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":158994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:54:41] local.INFO: GPS data processed {"connection_id":158994,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:54:41] local.INFO: Acknowledgment sent {"connection_id":158994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:54:59] local.INFO: TCP Data received {"connection_id":157770,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:54:59] local.INFO: Processing buffer {"connection_id":157770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:54:59] local.INFO: IMEI packet received {"connection_id":157770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":157770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:55:04] local.INFO: TCP Data received {"connection_id":157770,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:55:04] local.INFO: Processing buffer {"connection_id":157770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:55:04] local.INFO: IMEI packet received {"connection_id":157770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":157770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:55:05] local.INFO: TCP Data received {"connection_id":157770,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:55:05] local.INFO: Processing buffer {"connection_id":157770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:55:05] local.INFO: Packet analysis {"connection_id":157770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:55:05] local.INFO: Extracted packet for processing {"connection_id":157770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:55:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508283392001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:55:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787142033000,"timestamp_ms":1787142033000,"timestamp_seconds":1787142033,"priority":1,"record_length":96,"hex_timestamp":"000001a019f74e68"} 
[2026-08-19 17:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 17:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508283392001,"66":25702,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508283392001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:55:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:55:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508283392001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":157770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:55:05] local.INFO: GPS data processed {"connection_id":157770,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:55:05] local.INFO: Acknowledgment sent {"connection_id":157770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:55:36] local.INFO: TCP Data received {"connection_id":157770,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:55:36] local.INFO: Processing buffer {"connection_id":157770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:55:36] local.INFO: Packet analysis {"connection_id":157770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:55:36] local.INFO: Extracted packet for processing {"connection_id":157770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:55:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508283392001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:55:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787142033000,"timestamp_ms":1787142033000,"timestamp_seconds":1787142033,"priority":1,"record_length":96,"hex_timestamp":"000001a019f74e68"} 
[2026-08-19 17:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 17:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508283392001,"66":25702,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508283392001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:55:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:55:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508283392001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":157770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:55:36] local.INFO: GPS data processed {"connection_id":157770,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:55:36] local.INFO: Acknowledgment sent {"connection_id":157770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:55:59] local.INFO: TCP Data received {"connection_id":158997,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:55:59] local.INFO: Processing buffer {"connection_id":158997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:55:59] local.INFO: IMEI packet received {"connection_id":158997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":158997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:56:03] local.INFO: TCP Data received {"connection_id":158997,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:56:03] local.INFO: Processing buffer {"connection_id":158997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:56:03] local.INFO: IMEI packet received {"connection_id":158997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":158997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:56:04] local.INFO: TCP Data received {"connection_id":158997,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:56:04] local.INFO: Processing buffer {"connection_id":158997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019f74e68012ceb5f800713b858001400a128..."} 
[2026-08-19 17:56:04] local.INFO: Packet analysis {"connection_id":158997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:56:04] local.INFO: Extracted packet for processing {"connection_id":158997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019f7"} 
[2026-08-19 17:56:04] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508283392001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:56:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787142033000,"timestamp_ms":1787142033000,"timestamp_seconds":1787142033,"priority":1,"record_length":96,"hex_timestamp":"000001a019f74e68"} 
[2026-08-19 17:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:56: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-08-19 17:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 17:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508283392001,"66":25702,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508283392001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:56:04] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:56:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508283392001,"power":25702,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":158997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:56:04] local.INFO: GPS data processed {"connection_id":158997,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:56:04] local.INFO: Acknowledgment sent {"connection_id":158997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:56:36] local.INFO: TCP Data received {"connection_id":158997,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:56:36] local.INFO: Processing buffer {"connection_id":158997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:56:36] local.INFO: Packet analysis {"connection_id":158997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 17:56:36] local.INFO: Extracted packet for processing {"connection_id":158997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 17:56:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:56:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787142334000,"timestamp_ms":1787142334000,"timestamp_seconds":1787142334,"priority":1,"record_length":96,"hex_timestamp":"000001a019fbe630"} 
[2026-08-19 17:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 17:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508360448001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:56:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:56:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508360448001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":158997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:56:36] local.INFO: GPS data processed {"connection_id":158997,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:56:36] local.INFO: Acknowledgment sent {"connection_id":158997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:57:03] local.INFO: TCP Data received {"connection_id":157771,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:57:03] local.INFO: Processing buffer {"connection_id":157771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:57:03] local.INFO: IMEI packet received {"connection_id":157771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":157771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:57:09] local.INFO: TCP Data received {"connection_id":157771,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:57:09] local.INFO: Processing buffer {"connection_id":157771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:57:09] local.INFO: IMEI packet received {"connection_id":157771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":157771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:57:10] local.INFO: TCP Data received {"connection_id":157771,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:57:10] local.INFO: Processing buffer {"connection_id":157771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:57:10] local.INFO: Packet analysis {"connection_id":157771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 17:57:10] local.INFO: Extracted packet for processing {"connection_id":157771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 17:57:10] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:57:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787142334000,"timestamp_ms":1787142334000,"timestamp_seconds":1787142334,"priority":1,"record_length":96,"hex_timestamp":"000001a019fbe630"} 
[2026-08-19 17:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 17:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508360448001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:57:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:57:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508360448001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":157771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:57:10] local.INFO: GPS data processed {"connection_id":157771,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:57:10] local.INFO: Acknowledgment sent {"connection_id":157771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:57:42] local.INFO: TCP Data received {"connection_id":157771,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:57:42] local.INFO: Processing buffer {"connection_id":157771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:57:42] local.INFO: Packet analysis {"connection_id":157771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 17:57:42] local.INFO: Extracted packet for processing {"connection_id":157771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 17:57:42] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787142334000,"timestamp_ms":1787142334000,"timestamp_seconds":1787142334,"priority":1,"record_length":96,"hex_timestamp":"000001a019fbe630"} 
[2026-08-19 17:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 17:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508360448001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:57:42] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508360448001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":157771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:57:42] local.INFO: GPS data processed {"connection_id":157771,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:57:42] local.INFO: Acknowledgment sent {"connection_id":157771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:57:46] local.INFO: TCP Data received {"connection_id":157773,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:57:46] local.INFO: Processing buffer {"connection_id":157773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:57:46] local.INFO: IMEI packet received {"connection_id":157773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":157773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:57:47] local.INFO: TCP Data received {"connection_id":157773,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:57:47] local.INFO: Processing buffer {"connection_id":157773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:57:47] local.INFO: IMEI packet received {"connection_id":157773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":157773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:57:47] local.INFO: TCP Data received {"connection_id":157773,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019fd68e8012d82818005d347a0000c00b121..."} 
[2026-08-19 17:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fd68e8012d82818005d347a0000c00b121..."} 
[2026-08-19 17:57:47] local.INFO: Processing buffer {"connection_id":157773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fd68e8012d82818005d347a0000c00b121..."} 
[2026-08-19 17:57:47] local.INFO: Packet analysis {"connection_id":157773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fd"} 
[2026-08-19 17:57:47] local.INFO: Extracted packet for processing {"connection_id":157773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fd"} 
[2026-08-19 17:57:47] local.INFO: GPS Element Parsed {"raw_longitude":763527552,"raw_latitude":97732512,"longitude_deg":76.3527552,"latitude_deg":9.7732512,"altitude":12,"angle":177,"satellites":33,"speed":5,"hex_longitude":"2d828180","hex_latitude":"05d347a0","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508462080001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120865331806732288,"note":"Value kept but may cause issues"} 
[2026-08-19 17:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042946551763582976,"note":"Value kept but may cause issues"} 
[2026-08-19 17:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787142433000,"timestamp_ms":1787142433000,"timestamp_seconds":1787142433,"priority":1,"record_length":96,"hex_timestamp":"000001a019fd68e8"} 
[2026-08-19 17:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 17:57:47] 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-08-19 17: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-08-19 17:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:57:47] 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-08-19 17:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508462080001,"66":13526,"67":206,"85":15104,"24":5,"16":120865331806732288,"45":-9042946551763582976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-19 17:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508462080001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:57:47] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 17:57:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120865331806732288,"km_value":120865331806732.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042946551763582976,"description":"Unknown IO ID 45"} 
[2026-08-19 17:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508462080001,"power":13526,"unknown_67":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9042946551763582976}} 
[2026-08-19 17:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":157773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:57:47] local.INFO: GPS data processed {"connection_id":157773,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:57:47] local.INFO: Acknowledgment sent {"connection_id":157773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:57:51] local.INFO: TCP Data received {"connection_id":157773,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019fdab50012d82838005d32498000b00b520..."} 
[2026-08-19 17:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fdab50012d82838005d32498000b00b520..."} 
[2026-08-19 17:57:51] local.INFO: Processing buffer {"connection_id":157773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fdab50012d82838005d32498000b00b520..."} 
[2026-08-19 17:57:51] local.INFO: Packet analysis {"connection_id":157773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fd"} 
[2026-08-19 17:57:51] local.INFO: Extracted packet for processing {"connection_id":157773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fd"} 
[2026-08-19 17:57:51] local.INFO: GPS Element Parsed {"raw_longitude":763528064,"raw_latitude":97723544,"longitude_deg":76.3528064,"latitude_deg":9.7723544,"altitude":11,"angle":181,"satellites":32,"speed":27,"hex_longitude":"2d828380","hex_latitude":"05d32498","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508462848001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120865769893396480,"note":"Value kept but may cause issues"} 
[2026-08-19 17:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042805814275366912,"note":"Value kept but may cause issues"} 
[2026-08-19 17:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787142450000,"timestamp_ms":1787142450000,"timestamp_seconds":1787142450,"priority":1,"record_length":96,"hex_timestamp":"000001a019fdab50"} 
[2026-08-19 17:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-19 17:57:51] 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-08-19 17: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-08-19 17:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:57:51] 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-08-19 17:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508462848001,"66":13341,"67":206,"85":15104,"24":27,"16":120865769893396480,"45":-9042805814275366912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-19 17:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508462848001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:57:51] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 17:57:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120865769893396480,"km_value":120865769893396.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042805814275366912,"description":"Unknown IO ID 45"} 
[2026-08-19 17:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508462848001,"power":13341,"unknown_67":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9042805814275366912}} 
[2026-08-19 17:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":157773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:57:51] local.INFO: GPS data processed {"connection_id":157773,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:57:51] local.INFO: Acknowledgment sent {"connection_id":157773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:57:59] local.INFO: TCP Data received {"connection_id":158998,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:57:59] local.INFO: Processing buffer {"connection_id":158998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:57:59] local.INFO: IMEI packet received {"connection_id":158998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":158998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:58:03] local.INFO: TCP Data received {"connection_id":158998,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:58:03] local.INFO: Processing buffer {"connection_id":158998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:58:03] local.INFO: IMEI packet received {"connection_id":158998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":158998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:58:05] local.INFO: TCP Data received {"connection_id":158998,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:58:05] local.INFO: Processing buffer {"connection_id":158998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:58:05] local.INFO: Packet analysis {"connection_id":158998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 17:58:05] local.INFO: Extracted packet for processing {"connection_id":158998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 17:58:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:58:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787142334000,"timestamp_ms":1787142334000,"timestamp_seconds":1787142334,"priority":1,"record_length":96,"hex_timestamp":"000001a019fbe630"} 
[2026-08-19 17:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 17:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508360448001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:58:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:58:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508360448001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":158998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:58:05] local.INFO: GPS data processed {"connection_id":158998,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:58:05] local.INFO: Acknowledgment sent {"connection_id":158998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:58:23] local.INFO: TCP Data received {"connection_id":157773,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019fde5e8012d8284c005d300b8000b00af21..."} 
[2026-08-19 17:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fde5e8012d8284c005d300b8000b00af21..."} 
[2026-08-19 17:58:23] local.INFO: Processing buffer {"connection_id":157773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fde5e8012d8284c005d300b8000b00af21..."} 
[2026-08-19 17:58:23] local.INFO: Packet analysis {"connection_id":157773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fd"} 
[2026-08-19 17:58:23] local.INFO: Extracted packet for processing {"connection_id":157773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fd"} 
[2026-08-19 17:58:23] local.INFO: GPS Element Parsed {"raw_longitude":763528384,"raw_latitude":97714360,"longitude_deg":76.3528384,"latitude_deg":9.771436,"altitude":11,"angle":175,"satellites":33,"speed":21,"hex_longitude":"2d8284c0","hex_latitude":"05d300b8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508467200001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120866212275027968,"note":"Value kept but may cause issues"} 
[2026-08-19 17:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042242864324241408,"note":"Value kept but may cause issues"} 
[2026-08-19 17:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787142465000,"timestamp_ms":1787142465000,"timestamp_seconds":1787142465,"priority":1,"record_length":96,"hex_timestamp":"000001a019fde5e8"} 
[2026-08-19 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-08-19 17:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 17:58:23] 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-08-19 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-08-19 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-08-19 17:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":157773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":157773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":157773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:58:23] 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-08-19 17:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508467200001,"66":13472,"67":206,"85":15104,"24":21,"16":120866212275027968,"45":-9042242864324241408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-19 17:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508467200001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:58:23] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 17:58:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120866212275027968,"km_value":120866212275027.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042242864324241408,"description":"Unknown IO ID 45"} 
[2026-08-19 17:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508467200001,"power":13472,"unknown_67":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9042242864324241408}} 
[2026-08-19 17:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":157773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:58:23] local.INFO: GPS data processed {"connection_id":157773,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:58:23] local.INFO: Acknowledgment sent {"connection_id":157773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:58:37] local.INFO: TCP Data received {"connection_id":158998,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:58:37] local.INFO: Processing buffer {"connection_id":158998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:58:37] local.INFO: Packet analysis {"connection_id":158998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 17:58:37] local.INFO: Extracted packet for processing {"connection_id":158998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 17:58:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:58:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787142334000,"timestamp_ms":1787142334000,"timestamp_seconds":1787142334,"priority":1,"record_length":96,"hex_timestamp":"000001a019fbe630"} 
[2026-08-19 17:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 17:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508360448001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:58:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:58:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508360448001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":158998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:58:37] local.INFO: GPS data processed {"connection_id":158998,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:58:37] local.INFO: Acknowledgment sent {"connection_id":158998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:58:41] local.INFO: TCP Data received {"connection_id":158131,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:58:41] local.INFO: Processing buffer {"connection_id":158131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:58:41] local.INFO: IMEI packet received {"connection_id":158131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":158131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:58:46] local.INFO: TCP Data received {"connection_id":158131,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:58:46] local.INFO: Processing buffer {"connection_id":158131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:58:46] local.INFO: IMEI packet received {"connection_id":158131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":158131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:58:46] local.INFO: TCP Data received {"connection_id":158131,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019fe0140012d82870005d2f460000b00a220..."} 
[2026-08-19 17:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fe0140012d82870005d2f460000b00a220..."} 
[2026-08-19 17:58:46] local.INFO: Processing buffer {"connection_id":158131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fe0140012d82870005d2f460000b00a220..."} 
[2026-08-19 17:58:46] local.INFO: Packet analysis {"connection_id":158131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fe"} 
[2026-08-19 17:58:46] local.INFO: Extracted packet for processing {"connection_id":158131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fe"} 
[2026-08-19 17:58:46] local.INFO: GPS Element Parsed {"raw_longitude":763528960,"raw_latitude":97711200,"longitude_deg":76.352896,"latitude_deg":9.77112,"altitude":11,"angle":162,"satellites":32,"speed":10,"hex_longitude":"2d828700","hex_latitude":"05d2f460","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508471040001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120866371188817920,"note":"Value kept but may cause issues"} 
[2026-08-19 17:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041891020605704192,"note":"Value kept but may cause issues"} 
[2026-08-19 17:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787142472000,"timestamp_ms":1787142472000,"timestamp_seconds":1787142472,"priority":1,"record_length":96,"hex_timestamp":"000001a019fe0140"} 
[2026-08-19 17:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:58: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-08-19 17: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-19 17:58: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-08-19 17: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-08-19 17:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:58:46] 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-08-19 17:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508471040001,"66":13222,"67":206,"85":15104,"24":10,"16":120866371188817920,"45":-9041891020605704192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-19 17:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508471040001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:58:46] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 17:58:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120866371188817920,"km_value":120866371188817.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041891020605704192,"description":"Unknown IO ID 45"} 
[2026-08-19 17:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508471040001,"power":13222,"unknown_67":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9041891020605704192}} 
[2026-08-19 17:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":158131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:58:46] local.INFO: GPS data processed {"connection_id":158131,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:58:46] local.INFO: Acknowledgment sent {"connection_id":158131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:58:50] local.INFO: TCP Data received {"connection_id":158131,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019fe18b0012d82884005d2ee90000c00af20..."} 
[2026-08-19 17:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fe18b0012d82884005d2ee90000c00af20..."} 
[2026-08-19 17:58:50] local.INFO: Processing buffer {"connection_id":158131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fe18b0012d82884005d2ee90000c00af20..."} 
[2026-08-19 17:58:50] local.INFO: Packet analysis {"connection_id":158131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fe"} 
[2026-08-19 17:58:50] local.INFO: Extracted packet for processing {"connection_id":158131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fe"} 
[2026-08-19 17:58:50] local.INFO: GPS Element Parsed {"raw_longitude":763529280,"raw_latitude":97709712,"longitude_deg":76.352928,"latitude_deg":9.7709712,"altitude":12,"angle":175,"satellites":32,"speed":10,"hex_longitude":"2d828840","hex_latitude":"05d2ee90","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508472832001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120866444203261952,"note":"Value kept but may cause issues"} 
[2026-08-19 17:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041257701908914176,"note":"Value kept but may cause issues"} 
[2026-08-19 17:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787142478000,"timestamp_ms":1787142478000,"timestamp_seconds":1787142478,"priority":1,"record_length":96,"hex_timestamp":"000001a019fe18b0"} 
[2026-08-19 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-08-19 17:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 17:58:50] 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-08-19 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-08-19 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-08-19 17:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":158131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":158131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":158131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:58:50] 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-08-19 17:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508472832001,"66":13646,"67":206,"85":15104,"24":10,"16":120866444203261952,"45":-9041257701908914176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,85,24,16,45]} 
[2026-08-19 17:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508472832001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:58:50] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 17:58:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120866444203261952,"km_value":120866444203261.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041257701908914176,"description":"Unknown IO ID 45"} 
[2026-08-19 17:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508472832001,"power":13646,"unknown_67":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9041257701908914176}} 
[2026-08-19 17:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":158131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:58:50] local.INFO: GPS data processed {"connection_id":158131,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:58:50] local.INFO: Acknowledgment sent {"connection_id":158131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:58:58] local.INFO: TCP Data received {"connection_id":160312,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:58:58] local.INFO: Processing buffer {"connection_id":160312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:58:58] local.INFO: IMEI packet received {"connection_id":160312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":160312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:59:04] local.INFO: TCP Data received {"connection_id":160312,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:59:04] local.INFO: Processing buffer {"connection_id":160312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:59:04] local.INFO: IMEI packet received {"connection_id":160312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 17:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":160312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:59:05] local.INFO: TCP Data received {"connection_id":160312,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:59:05] local.INFO: Processing buffer {"connection_id":160312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:59:05] local.INFO: Packet analysis {"connection_id":160312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 17:59:05] local.INFO: Extracted packet for processing {"connection_id":160312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 17:59:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787142334000,"timestamp_ms":1787142334000,"timestamp_seconds":1787142334,"priority":1,"record_length":96,"hex_timestamp":"000001a019fbe630"} 
[2026-08-19 17:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 17:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508360448001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:59:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:59:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508360448001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":160312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:59:05] local.INFO: GPS data processed {"connection_id":160312,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:59:05] local.INFO: Acknowledgment sent {"connection_id":160312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:59:13] local.INFO: TCP Data received {"connection_id":160313,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:59:13] local.INFO: Processing buffer {"connection_id":160313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 17:59:13] local.INFO: IMEI packet received {"connection_id":160313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 17:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":160313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:59:14] local.INFO: TCP Data received {"connection_id":160313,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019fe14c8012d186900072180b80048011123..."} 
[2026-08-19 17:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fe14c8012d186900072180b80048011123..."} 
[2026-08-19 17:59:14] local.INFO: Processing buffer {"connection_id":160313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fe14c8012d186900072180b80048011123..."} 
[2026-08-19 17:59:14] local.INFO: Packet analysis {"connection_id":160313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fe"} 
[2026-08-19 17:59:14] local.INFO: Extracted packet for processing {"connection_id":160313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fe"} 
[2026-08-19 17:59:14] local.INFO: GPS Element Parsed {"raw_longitude":756574464,"raw_latitude":119636152,"longitude_deg":75.6574464,"latitude_deg":11.9636152,"altitude":72,"angle":273,"satellites":35,"speed":28,"hex_longitude":"2d186900","hex_latitude":"072180b8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 17:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508472832001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13961624419303424,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762244491068157952,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59: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-08-19 17:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787142477000,"timestamp_ms":1787142477000,"timestamp_seconds":1787142477,"priority":1,"record_length":96,"hex_timestamp":"000001a019fe14c8"} 
[2026-08-19 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-08-19 17:59:14] 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-08-19 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-19 17:59:14] 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-08-19 17:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 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-08-19 17:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:59:14] 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-08-19 17:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508472832001,"66":13917,"105":206,"83":41984,"24":28,"16":13961624419303424,"45":1762244491068157952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508472832001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:59:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:59:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13961624419303424,"km_value":13961624419303.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762244491068157952,"description":"Unknown IO ID 45"} 
[2026-08-19 17:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508472832001,"power":13917,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1762244491068157952}} 
[2026-08-19 17:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":160313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:59:14] local.INFO: GPS data processed {"connection_id":160313,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:59:14] local.INFO: Acknowledgment sent {"connection_id":160313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:59:21] local.INFO: TCP Data received {"connection_id":158131,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019fe5730012d828e0005d2caa8000d00ab21..."} 
[2026-08-19 17:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fe5730012d828e0005d2caa8000d00ab21..."} 
[2026-08-19 17:59:21] local.INFO: Processing buffer {"connection_id":158131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fe5730012d828e0005d2caa8000d00ab21..."} 
[2026-08-19 17:59:21] local.INFO: Packet analysis {"connection_id":158131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fe"} 
[2026-08-19 17:59:21] local.INFO: Extracted packet for processing {"connection_id":158131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fe"} 
[2026-08-19 17:59:21] local.INFO: GPS Element Parsed {"raw_longitude":763530752,"raw_latitude":97700520,"longitude_deg":76.3530752,"latitude_deg":9.770052,"altitude":13,"angle":171,"satellites":33,"speed":27,"hex_longitude":"2d828e00","hex_latitude":"05d2caa8","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508474368001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120866895174828032,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040905858188406784,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:21] 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-08-19 17:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787142494000,"timestamp_ms":1787142494000,"timestamp_seconds":1787142494,"priority":1,"record_length":96,"hex_timestamp":"000001a019fe5730"} 
[2026-08-19 17:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:59: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-08-19 17: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-19 17:59:21] 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-08-19 17: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-08-19 17:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":158131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":158131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":158131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:59:21] 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-08-19 17:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508474368001,"66":13319,"68":206,"85":15104,"24":27,"16":120866895174828032,"45":-9040905858188406784},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-19 17:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508474368001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:59:21] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-19 17:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120866895174828032,"km_value":120866895174828.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040905858188406784,"description":"Unknown IO ID 45"} 
[2026-08-19 17:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508474368001,"power":13319,"unknown_68":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9040905858188406784}} 
[2026-08-19 17:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":158131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:59:21] local.INFO: GPS data processed {"connection_id":158131,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:59:21] local.INFO: Acknowledgment sent {"connection_id":158131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:59:38] local.INFO: TCP Data received {"connection_id":160312,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:59:38] local.INFO: Processing buffer {"connection_id":160312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 17:59:38] local.INFO: Packet analysis {"connection_id":160312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 17:59:38] local.INFO: Extracted packet for processing {"connection_id":160312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 17:59:38] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 17:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787142334000,"timestamp_ms":1787142334000,"timestamp_seconds":1787142334,"priority":1,"record_length":96,"hex_timestamp":"000001a019fbe630"} 
[2026-08-19 17:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 17:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 17: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-08-19 17:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 17:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 17:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 17:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 17:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508360448001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 17:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 17:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 17:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:59:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 17:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:59:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 17:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508360448001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 17:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":160312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:59:38] local.INFO: GPS data processed {"connection_id":160312,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:59:38] local.INFO: Acknowledgment sent {"connection_id":160312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:59:41] local.INFO: TCP Data received {"connection_id":157774,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:59:41] local.INFO: Processing buffer {"connection_id":157774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:59:41] local.INFO: IMEI packet received {"connection_id":157774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 17:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":157774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 17:59:42] local.INFO: TCP Data received {"connection_id":157774,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:59:42] local.INFO: Processing buffer {"connection_id":157774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:59:42] local.INFO: IMEI packet received {"connection_id":157774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":157774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:59:45] local.INFO: TCP Data received {"connection_id":160313,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019fe1c98012d186300072181e00048011f23..."} 
[2026-08-19 17:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fe1c98012d186300072181e00048011f23..."} 
[2026-08-19 17:59:45] local.INFO: Processing buffer {"connection_id":160313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fe1c98012d186300072181e00048011f23..."} 
[2026-08-19 17:59:45] local.INFO: Packet analysis {"connection_id":160313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fe"} 
[2026-08-19 17:59:45] local.INFO: Extracted packet for processing {"connection_id":160313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fe"} 
[2026-08-19 17:59:45] local.INFO: GPS Element Parsed {"raw_longitude":756572928,"raw_latitude":119636448,"longitude_deg":75.6572928,"latitude_deg":11.9636448,"altitude":72,"angle":287,"satellites":35,"speed":32,"hex_longitude":"2d186300","hex_latitude":"072181e0","is_valid_coordinates":true} 
[2026-08-19 17:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 17:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508474112001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13961697433747456,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758937160091744256,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59: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-08-19 17:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787142479000,"timestamp_ms":1787142479000,"timestamp_seconds":1787142479,"priority":1,"record_length":96,"hex_timestamp":"000001a019fe1c98"} 
[2026-08-19 17:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 17:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-19 17:59:45] 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-08-19 17:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 17:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 17:59:45] 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-08-19 17:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 17:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 17:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508474112001,"66":13820,"105":206,"83":41984,"24":32,"16":13961697433747456,"45":1758937160091744256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 17:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 17:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 17:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508474112001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:59:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 17:59:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 17:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13961697433747456,"km_value":13961697433747.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758937160091744256,"description":"Unknown IO ID 45"} 
[2026-08-19 17:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508474112001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1758937160091744256}} 
[2026-08-19 17:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":160313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:59:45] local.INFO: GPS data processed {"connection_id":160313,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:59:45] local.INFO: Acknowledgment sent {"connection_id":160313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:59:46] local.INFO: TCP Data received {"connection_id":157774,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:59:46] local.INFO: Processing buffer {"connection_id":157774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 17:59:46] local.INFO: IMEI packet received {"connection_id":157774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 17:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":157774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 17:59:47] local.INFO: TCP Data received {"connection_id":157774,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019fe8610012d82914005d2abc8000c00ba21..."} 
[2026-08-19 17:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fe8610012d82914005d2abc8000c00ba21..."} 
[2026-08-19 17:59:47] local.INFO: Processing buffer {"connection_id":157774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fe8610012d82914005d2abc8000c00ba21..."} 
[2026-08-19 17:59:47] local.INFO: Packet analysis {"connection_id":157774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fe"} 
[2026-08-19 17:59:47] local.INFO: Extracted packet for processing {"connection_id":157774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fe"} 
[2026-08-19 17:59:47] local.INFO: GPS Element Parsed {"raw_longitude":763531584,"raw_latitude":97692616,"longitude_deg":76.3531584,"latitude_deg":9.7692616,"altitude":12,"angle":186,"satellites":33,"speed":22,"hex_longitude":"2d829140","hex_latitude":"05d2abc8","is_valid_coordinates":true} 
[2026-08-19 17: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-08-19 17:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508478464001,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120867281721884672,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039287377074673664,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:47] 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-08-19 17:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787142506000,"timestamp_ms":1787142506000,"timestamp_seconds":1787142506,"priority":1,"record_length":96,"hex_timestamp":"000001a019fe8610"} 
[2026-08-19 17:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 17:59: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-08-19 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 17:59:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2189656069,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:47] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4255862785,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:47] local.WARNING: Large IO value detected {"io_id":211,"raw_value":5375046206814626048,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1665335502,"corrected_to":0} 
[2026-08-19 17:59:47] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3892391298,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:47] local.WARNING: Large IO value detected {"io_id":129,"raw_value":2147865415,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:47] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376803,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3544825856,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:47] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57811509653165371,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:47] local.WARNING: Large IO value detected {"io_id":253,"raw_value":6433393362673369093,"note":"Value kept but may cause issues"} 
[2026-08-19 17:59:47] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,68,85,24,241,157,16,103,160,45,64,238,12,32,10,66,67,1,244,11,229,192,240,227,25,211,4,113,205,27,104,129,33,239,52,2,173,5,117,253],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1665335502,"validated":0}]} 
[2026-08-19 17:59:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936936880717103104,"timestamp_seconds":936936880717103.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 17:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 17:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 17:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 17:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 17:59:47] 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-08-19 17:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 17:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 17:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508478464001,"66":13352,"68":206,"85":15104,"24":22,"16":120867281721884672,"45":-9039287377074673664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-19 17:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 17:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 17:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508478464001,"description":"Unknown IO ID 0"} 
[2026-08-19 17:59:47] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-19 17:59:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 17:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120867281721884672,"km_value":120867281721884.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 17:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039287377074673664,"description":"Unknown IO ID 45"} 
[2026-08-19 17:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508478464001,"power":13352,"unknown_68":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9039287377074673664}} 
[2026-08-19 17:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":157774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 17:59:47] local.INFO: GPS data processed {"connection_id":157774,"processed":1,"errors":0,"total":1} 
[2026-08-19 17:59:47] local.INFO: Acknowledgment sent {"connection_id":157774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 17:59:58] local.INFO: TCP Data received {"connection_id":157775,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:59:58] local.INFO: Processing buffer {"connection_id":157775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 17:59:58] local.INFO: IMEI packet received {"connection_id":157775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 17:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":157775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:00:03] local.INFO: TCP Data received {"connection_id":157775,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:00:03] local.INFO: Processing buffer {"connection_id":157775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:00:03] local.INFO: IMEI packet received {"connection_id":157775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":157775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:00:05] local.INFO: TCP Data received {"connection_id":157775,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 18:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 18:00:05] local.INFO: Processing buffer {"connection_id":157775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 18:00:05] local.INFO: Packet analysis {"connection_id":157775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 18:00:05] local.INFO: Extracted packet for processing {"connection_id":157775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 18:00:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:00:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787142334000,"timestamp_ms":1787142334000,"timestamp_seconds":1787142334,"priority":1,"record_length":96,"hex_timestamp":"000001a019fbe630"} 
[2026-08-19 18:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18: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":102,"data_length":795,"current_offset":136} 
[2026-08-19 18:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508360448001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:00:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:00:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508360448001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":157775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:00:05] local.INFO: GPS data processed {"connection_id":157775,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:00:05] local.INFO: Acknowledgment sent {"connection_id":157775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:00:08] local.INFO: TCP Data received {"connection_id":158999,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:00:08] local.INFO: Processing buffer {"connection_id":158999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:00:08] local.INFO: IMEI packet received {"connection_id":158999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":158999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:00:13] local.INFO: TCP Data received {"connection_id":158999,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:00:13] local.INFO: Processing buffer {"connection_id":158999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:00:13] local.INFO: IMEI packet received {"connection_id":158999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":158999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:00:14] local.INFO: TCP Data received {"connection_id":158999,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ff6c88012d1814c007219d30004e015a23..."} 
[2026-08-19 18:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ff6c88012d1814c007219d30004e015a23..."} 
[2026-08-19 18:00:14] local.INFO: Processing buffer {"connection_id":158999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ff6c88012d1814c007219d30004e015a23..."} 
[2026-08-19 18:00:14] local.INFO: Packet analysis {"connection_id":158999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ff"} 
[2026-08-19 18:00:14] local.INFO: Extracted packet for processing {"connection_id":158999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ff"} 
[2026-08-19 18:00:14] local.INFO: GPS Element Parsed {"raw_longitude":756552896,"raw_latitude":119643440,"longitude_deg":75.6552896,"latitude_deg":11.964344,"altitude":78,"angle":346,"satellites":35,"speed":6,"hex_longitude":"2d1814c0","hex_latitude":"07219d30","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508496384001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13962857074917376,"note":"Value kept but may cause issues"} 
[2026-08-19 18:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735293262049880064,"note":"Value kept but may cause issues"} 
[2026-08-19 18:00:14] 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-08-19 18:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787142565000,"timestamp_ms":1787142565000,"timestamp_seconds":1787142565,"priority":1,"record_length":96,"hex_timestamp":"000001a019ff6c88"} 
[2026-08-19 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-08-19 18:00:14] 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-08-19 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 18:00: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-08-19 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-08-19 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-08-19 18:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:00:14] 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-08-19 18:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508496384001,"66":13135,"107":206,"83":41984,"24":6,"16":13962857074917376,"45":1735293262049880064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 18:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508496384001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:00:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 18:00:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13962857074917376,"km_value":13962857074917.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735293262049880064,"description":"Unknown IO ID 45"} 
[2026-08-19 18:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508496384001,"power":13135,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1735293262049880064}} 
[2026-08-19 18:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":158999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:00:14] local.INFO: GPS data processed {"connection_id":158999,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:00:14] local.INFO: Acknowledgment sent {"connection_id":158999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:00:18] local.INFO: TCP Data received {"connection_id":157774,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019fea168012d828fc005d29bf0000d00ad21..."} 
[2026-08-19 18:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fea168012d828fc005d29bf0000d00ad21..."} 
[2026-08-19 18:00:18] local.INFO: Processing buffer {"connection_id":157774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fea168012d828fc005d29bf0000d00ad21..."} 
[2026-08-19 18:00:18] local.INFO: Packet analysis {"connection_id":157774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fe"} 
[2026-08-19 18:00:18] local.INFO: Extracted packet for processing {"connection_id":157774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fe"} 
[2026-08-19 18:00:18] local.INFO: GPS Element Parsed {"raw_longitude":763531200,"raw_latitude":97688560,"longitude_deg":76.35312,"latitude_deg":9.768856,"altitude":13,"angle":173,"satellites":33,"speed":23,"hex_longitude":"2d828fc0","hex_latitude":"05d29bf0","is_valid_coordinates":true} 
[2026-08-19 18:00: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-08-19 18:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508481536001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120867479290380288,"note":"Value kept but may cause issues"} 
[2026-08-19 18:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038372583402387456,"note":"Value kept but may cause issues"} 
[2026-08-19 18:00:18] 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-08-19 18:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787142513000,"timestamp_ms":1787142513000,"timestamp_seconds":1787142513,"priority":1,"record_length":96,"hex_timestamp":"000001a019fea168"} 
[2026-08-19 18:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:00: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":40,"data_length":795,"current_offset":136} 
[2026-08-19 18:00:18] 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-08-19 18:00: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-08-19 18:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:00:18] 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-08-19 18:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508481536001,"66":13580,"68":206,"85":15104,"24":23,"16":120867479290380288,"45":-9038372583402387456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-19 18:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508481536001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:00:18] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-19 18:00:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120867479290380288,"km_value":120867479290380.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038372583402387456,"description":"Unknown IO ID 45"} 
[2026-08-19 18:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508481536001,"power":13580,"unknown_68":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9038372583402387456}} 
[2026-08-19 18:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":157774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:00:18] local.INFO: GPS data processed {"connection_id":157774,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:00:18] local.INFO: Acknowledgment sent {"connection_id":157774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:00:37] local.INFO: TCP Data received {"connection_id":157775,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 18:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 18:00:37] local.INFO: Processing buffer {"connection_id":157775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 18:00:37] local.INFO: Packet analysis {"connection_id":157775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 18:00:37] local.INFO: Extracted packet for processing {"connection_id":157775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 18:00:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:00:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787142334000,"timestamp_ms":1787142334000,"timestamp_seconds":1787142334,"priority":1,"record_length":96,"hex_timestamp":"000001a019fbe630"} 
[2026-08-19 18:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18: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":102,"data_length":795,"current_offset":136} 
[2026-08-19 18:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508360448001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:00:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:00:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508360448001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":157775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:00:37] local.INFO: GPS data processed {"connection_id":157775,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:00:37] local.INFO: Acknowledgment sent {"connection_id":157775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:00:39] local.INFO: TCP Data received {"connection_id":158132,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:00:39] local.INFO: Processing buffer {"connection_id":158132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:00:39] local.INFO: IMEI packet received {"connection_id":158132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":158132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:00:40] local.INFO: TCP Data received {"connection_id":158132,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:00:40] local.INFO: Processing buffer {"connection_id":158132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:00:40] local.INFO: IMEI packet received {"connection_id":158132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":158132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:00:41] local.INFO: TCP Data received {"connection_id":158132,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:00:41] local.INFO: Processing buffer {"connection_id":158132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:00:41] local.INFO: IMEI packet received {"connection_id":158132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":158132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:00:41] local.INFO: TCP Data received {"connection_id":158132,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:00:41] local.INFO: Processing buffer {"connection_id":158132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:00:41] local.INFO: IMEI packet received {"connection_id":158132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":158132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:00:45] local.INFO: TCP Data received {"connection_id":158999,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ff7070012d1814c007219dc0004e016623..."} 
[2026-08-19 18:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ff7070012d1814c007219dc0004e016623..."} 
[2026-08-19 18:00:45] local.INFO: Processing buffer {"connection_id":158999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ff7070012d1814c007219dc0004e016623..."} 
[2026-08-19 18:00:45] local.INFO: Packet analysis {"connection_id":158999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ff"} 
[2026-08-19 18:00:45] local.INFO: Extracted packet for processing {"connection_id":158999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ff"} 
[2026-08-19 18:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756552896,"raw_latitude":119643584,"longitude_deg":75.6552896,"latitude_deg":11.9643584,"altitude":78,"angle":358,"satellites":35,"speed":6,"hex_longitude":"2d1814c0","hex_latitude":"07219dc0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508496640001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13962865664851968,"note":"Value kept but may cause issues"} 
[2026-08-19 18:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735222893305737216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:00:45] 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-08-19 18:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787142566000,"timestamp_ms":1787142566000,"timestamp_seconds":1787142566,"priority":1,"record_length":96,"hex_timestamp":"000001a019ff7070"} 
[2026-08-19 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-08-19 18:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-19 18:00: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-08-19 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-08-19 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-08-19 18:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:00:45] 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-08-19 18:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508496640001,"66":13135,"107":206,"83":41984,"24":6,"16":13962865664851968,"45":1735222893305737216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 18:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508496640001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:00:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 18:00:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13962865664851968,"km_value":13962865664851.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735222893305737216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508496640001,"power":13135,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1735222893305737216}} 
[2026-08-19 18:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":158999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:00:45] local.INFO: GPS data processed {"connection_id":158999,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:00:45] local.INFO: Acknowledgment sent {"connection_id":158999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:00:58] local.INFO: TCP Data received {"connection_id":157776,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:00:58] local.INFO: Processing buffer {"connection_id":157776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:00:58] local.INFO: IMEI packet received {"connection_id":157776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":157776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:01:04] local.INFO: TCP Data received {"connection_id":157776,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:01:04] local.INFO: Processing buffer {"connection_id":157776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:01:04] local.INFO: IMEI packet received {"connection_id":157776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":157776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:01:05] local.INFO: TCP Data received {"connection_id":157776,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 18:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 18:01:05] local.INFO: Processing buffer {"connection_id":157776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019fbe630012ceb5f800713b858001400a128..."} 
[2026-08-19 18:01:05] local.INFO: Packet analysis {"connection_id":157776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 18:01:05] local.INFO: Extracted packet for processing {"connection_id":157776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019fb"} 
[2026-08-19 18:01:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508360448001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:01:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787142334000,"timestamp_ms":1787142334000,"timestamp_seconds":1787142334,"priority":1,"record_length":96,"hex_timestamp":"000001a019fbe630"} 
[2026-08-19 18:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-19 18:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508360448001,"66":25647,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508360448001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:01:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:01:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508360448001,"power":25647,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":157776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:01:05] local.INFO: GPS data processed {"connection_id":157776,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:01:05] local.INFO: Acknowledgment sent {"connection_id":157776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:01:08] local.INFO: TCP Data received {"connection_id":159000,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:01:08] local.INFO: Processing buffer {"connection_id":159000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:01:08] local.INFO: IMEI packet received {"connection_id":159000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":159000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:01:08] local.INFO: TCP Data received {"connection_id":159000,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:01:08] local.INFO: Processing buffer {"connection_id":159000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:01:08] local.INFO: IMEI packet received {"connection_id":159000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":159000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:01:13] local.INFO: TCP Data received {"connection_id":159000,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:01:13] local.INFO: Processing buffer {"connection_id":159000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:01:13] local.INFO: IMEI packet received {"connection_id":159000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":159000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:01:14] local.INFO: TCP Data received {"connection_id":159000,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ff7458012d1814c007219e58004e001323..."} 
[2026-08-19 18:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ff7458012d1814c007219e58004e001323..."} 
[2026-08-19 18:01:14] local.INFO: Processing buffer {"connection_id":159000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ff7458012d1814c007219e58004e001323..."} 
[2026-08-19 18:01:14] local.INFO: Packet analysis {"connection_id":159000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ff"} 
[2026-08-19 18:01:14] local.INFO: Extracted packet for processing {"connection_id":159000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ff"} 
[2026-08-19 18:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756552896,"raw_latitude":119643736,"longitude_deg":75.6552896,"latitude_deg":11.9643736,"altitude":78,"angle":19,"satellites":35,"speed":6,"hex_longitude":"2d1814c0","hex_latitude":"07219e58","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508496896001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13962869959819264,"note":"Value kept but may cause issues"} 
[2026-08-19 18:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735222893305774080,"note":"Value kept but may cause issues"} 
[2026-08-19 18:01:14] 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-08-19 18:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787142567000,"timestamp_ms":1787142567000,"timestamp_seconds":1787142567,"priority":1,"record_length":96,"hex_timestamp":"000001a019ff7458"} 
[2026-08-19 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-08-19 18:01:14] 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-08-19 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":79,"data_length":795,"current_offset":136} 
[2026-08-19 18:01:14] 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-08-19 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-08-19 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-08-19 18:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:01:14] 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-08-19 18:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508496896001,"66":13080,"107":206,"83":41984,"24":6,"16":13962869959819264,"45":1735222893305774080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 18:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508496896001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:01:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 18:01:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13962869959819264,"km_value":13962869959819.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735222893305774080,"description":"Unknown IO ID 45"} 
[2026-08-19 18:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508496896001,"power":13080,"unknown_107":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1735222893305774080}} 
[2026-08-19 18:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":159000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:01:14] local.INFO: GPS data processed {"connection_id":159000,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:01:14] local.INFO: Acknowledgment sent {"connection_id":159000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:01:36] local.INFO: TCP Data received {"connection_id":157776,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:01:36] local.INFO: Processing buffer {"connection_id":157776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:01:36] local.INFO: Packet analysis {"connection_id":157776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:01:36] local.INFO: Extracted packet for processing {"connection_id":157776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:01:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508437504001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:01:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787142635000,"timestamp_ms":1787142635000,"timestamp_seconds":1787142635,"priority":1,"record_length":96,"hex_timestamp":"000001a01a007df8"} 
[2026-08-19 18:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 18:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508437504001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508437504001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:01:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:01:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508437504001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":157776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:01:36] local.INFO: GPS data processed {"connection_id":157776,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:01:36] local.INFO: Acknowledgment sent {"connection_id":157776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:01:45] local.INFO: TCP Data received {"connection_id":159000,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a019ffc660012d18150007219f90004e000d25..."} 
[2026-08-19 18:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a019ffc660012d18150007219f90004e000d25..."} 
[2026-08-19 18:01:45] local.INFO: Processing buffer {"connection_id":159000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a019ffc660012d18150007219f90004e000d25..."} 
[2026-08-19 18:01:45] local.INFO: Packet analysis {"connection_id":159000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a019ff"} 
[2026-08-19 18:01:45] local.INFO: Extracted packet for processing {"connection_id":159000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a019ff"} 
[2026-08-19 18:01:45] local.INFO: GPS Element Parsed {"raw_longitude":756552960,"raw_latitude":119644048,"longitude_deg":75.655296,"latitude_deg":11.9644048,"altitude":78,"angle":13,"satellites":37,"speed":0,"hex_longitude":"2d181500","hex_latitude":"07219f90","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508497152001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13962887139688448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735222893305812992,"note":"Value kept but may cause issues"} 
[2026-08-19 18:01:45] 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-08-19 18:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787142588000,"timestamp_ms":1787142588000,"timestamp_seconds":1787142588,"priority":1,"record_length":96,"hex_timestamp":"000001a019ffc660"} 
[2026-08-19 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-08-19 18:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 18:01: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-08-19 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-08-19 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-08-19 18:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:01:45] 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-08-19 18:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508497152001,"66":13091,"107":206,"83":41984,"24":0,"16":13962887139688448,"45":1735222893305812992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 18:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508497152001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:01:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 18:01:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13962887139688448,"km_value":13962887139688.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735222893305812992,"description":"Unknown IO ID 45"} 
[2026-08-19 18:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508497152001,"power":13091,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735222893305812992}} 
[2026-08-19 18:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":159000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:01:45] local.INFO: GPS data processed {"connection_id":159000,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:01:45] local.INFO: Acknowledgment sent {"connection_id":159000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:01:59] local.INFO: TCP Data received {"connection_id":157777,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:01:59] local.INFO: Processing buffer {"connection_id":157777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:01:59] local.INFO: IMEI packet received {"connection_id":157777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":157777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:02:03] local.INFO: TCP Data received {"connection_id":157777,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:02:03] local.INFO: Processing buffer {"connection_id":157777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:02:03] local.INFO: IMEI packet received {"connection_id":157777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":157777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:02:05] local.INFO: TCP Data received {"connection_id":157777,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:02:05] local.INFO: Processing buffer {"connection_id":157777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:02:05] local.INFO: Packet analysis {"connection_id":157777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:02:05] local.INFO: Extracted packet for processing {"connection_id":157777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:02:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508437504001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:02:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787142635000,"timestamp_ms":1787142635000,"timestamp_seconds":1787142635,"priority":1,"record_length":96,"hex_timestamp":"000001a01a007df8"} 
[2026-08-19 18:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 18:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508437504001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508437504001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:02:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:02:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508437504001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":157777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:02:05] local.INFO: GPS data processed {"connection_id":157777,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:02:05] local.INFO: Acknowledgment sent {"connection_id":157777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:02:08] local.INFO: TCP Data received {"connection_id":160314,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:02:08] local.INFO: Processing buffer {"connection_id":160314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:02:08] local.INFO: IMEI packet received {"connection_id":160314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":160314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:02:11] local.INFO: TCP Data received {"connection_id":160314,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:02:11] local.INFO: Processing buffer {"connection_id":160314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:02:11] local.INFO: IMEI packet received {"connection_id":160314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":160314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:02:13] local.INFO: TCP Data received {"connection_id":160314,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:02:13] local.INFO: Processing buffer {"connection_id":160314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:02:13] local.INFO: IMEI packet received {"connection_id":160314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":160314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:02:13] local.INFO: TCP Data received {"connection_id":160314,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a001868012d18150007219f90004e000d24..."} 
[2026-08-19 18:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a001868012d18150007219f90004e000d24..."} 
[2026-08-19 18:02:13] local.INFO: Processing buffer {"connection_id":160314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a001868012d18150007219f90004e000d24..."} 
[2026-08-19 18:02:13] local.INFO: Packet analysis {"connection_id":160314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:02:13] local.INFO: Extracted packet for processing {"connection_id":160314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:02:13] local.INFO: GPS Element Parsed {"raw_longitude":756552960,"raw_latitude":119644048,"longitude_deg":75.655296,"latitude_deg":11.9644048,"altitude":78,"angle":13,"satellites":36,"speed":0,"hex_longitude":"2d181500","hex_latitude":"07219f90","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508502528001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13962887139688448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735293262050070528,"note":"Value kept but may cause issues"} 
[2026-08-19 18:02:13] 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-08-19 18:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787142609000,"timestamp_ms":1787142609000,"timestamp_seconds":1787142609,"priority":1,"record_length":96,"hex_timestamp":"000001a01a001868"} 
[2026-08-19 18:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-19 18:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:02:13] 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-08-19 18:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508502528001,"66":13080,"107":206,"83":41984,"24":0,"16":13962887139688448,"45":1735293262050070528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 18:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508502528001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:02:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 18:02:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13962887139688448,"km_value":13962887139688.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735293262050070528,"description":"Unknown IO ID 45"} 
[2026-08-19 18:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508502528001,"power":13080,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735293262050070528}} 
[2026-08-19 18:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":160314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:02:14] local.INFO: GPS data processed {"connection_id":160314,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:02:14] local.INFO: Acknowledgment sent {"connection_id":160314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:02:37] local.INFO: TCP Data received {"connection_id":157777,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:02:37] local.INFO: Processing buffer {"connection_id":157777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:02:37] local.INFO: Packet analysis {"connection_id":157777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:02:37] local.INFO: Extracted packet for processing {"connection_id":157777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:02:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508437504001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:02:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787142635000,"timestamp_ms":1787142635000,"timestamp_seconds":1787142635,"priority":1,"record_length":96,"hex_timestamp":"000001a01a007df8"} 
[2026-08-19 18:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 18:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508437504001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508437504001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:02:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:02:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508437504001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":157777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:02:37] local.INFO: GPS data processed {"connection_id":157777,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:02:37] local.INFO: Acknowledgment sent {"connection_id":157777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:02:45] local.INFO: TCP Data received {"connection_id":160314,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a006a70012d18150007219f90004e000d26..."} 
[2026-08-19 18:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a006a70012d18150007219f90004e000d26..."} 
[2026-08-19 18:02:45] local.INFO: Processing buffer {"connection_id":160314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a006a70012d18150007219f90004e000d26..."} 
[2026-08-19 18:02:45] local.INFO: Packet analysis {"connection_id":160314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:02:45] local.INFO: Extracted packet for processing {"connection_id":160314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756552960,"raw_latitude":119644048,"longitude_deg":75.655296,"latitude_deg":11.9644048,"altitude":78,"angle":13,"satellites":38,"speed":0,"hex_longitude":"2d181500","hex_latitude":"07219f90","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508507904001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13962887139688448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735293262050070528,"note":"Value kept but may cause issues"} 
[2026-08-19 18:02:45] 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-08-19 18:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787142630000,"timestamp_ms":1787142630000,"timestamp_seconds":1787142630,"priority":1,"record_length":96,"hex_timestamp":"000001a01a006a70"} 
[2026-08-19 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-08-19 18:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-19 18:02: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-08-19 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-08-19 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-08-19 18:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:02:45] 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-08-19 18:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508507904001,"66":12993,"107":206,"83":41984,"24":0,"16":13962887139688448,"45":1735293262050070528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 18:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508507904001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:02:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 18:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13962887139688448,"km_value":13962887139688.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735293262050070528,"description":"Unknown IO ID 45"} 
[2026-08-19 18:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508507904001,"power":12993,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735293262050070528}} 
[2026-08-19 18:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":160314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:02:45] local.INFO: GPS data processed {"connection_id":160314,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:02:45] local.INFO: Acknowledgment sent {"connection_id":160314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:02:58] local.INFO: TCP Data received {"connection_id":159001,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:02:58] local.INFO: Processing buffer {"connection_id":159001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:02:58] local.INFO: IMEI packet received {"connection_id":159001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":159001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:03:04] local.INFO: TCP Data received {"connection_id":159001,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:03:04] local.INFO: Processing buffer {"connection_id":159001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:03:04] local.INFO: IMEI packet received {"connection_id":159001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":159001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:03:05] local.INFO: TCP Data received {"connection_id":159001,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:03:05] local.INFO: Processing buffer {"connection_id":159001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:03:05] local.INFO: Packet analysis {"connection_id":159001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:03:05] local.INFO: Extracted packet for processing {"connection_id":159001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:03:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508437504001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:03:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787142635000,"timestamp_ms":1787142635000,"timestamp_seconds":1787142635,"priority":1,"record_length":96,"hex_timestamp":"000001a01a007df8"} 
[2026-08-19 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-08-19 18:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 18:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 18:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508437504001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508437504001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:03:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:03:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508437504001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":159001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:03:05] local.INFO: GPS data processed {"connection_id":159001,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:03:05] local.INFO: Acknowledgment sent {"connection_id":159001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:03:08] local.INFO: TCP Data received {"connection_id":160315,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:03:08] local.INFO: Processing buffer {"connection_id":160315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:03:08] local.INFO: IMEI packet received {"connection_id":160315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":160315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:03:13] local.INFO: TCP Data received {"connection_id":160315,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:03:13] local.INFO: Processing buffer {"connection_id":160315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:03:13] local.INFO: IMEI packet received {"connection_id":160315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":160315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:03:14] local.INFO: TCP Data received {"connection_id":160315,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a00bc78012d18150007219f90004e000d24..."} 
[2026-08-19 18:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a00bc78012d18150007219f90004e000d24..."} 
[2026-08-19 18:03:14] local.INFO: Processing buffer {"connection_id":160315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a00bc78012d18150007219f90004e000d24..."} 
[2026-08-19 18:03:14] local.INFO: Packet analysis {"connection_id":160315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:03:14] local.INFO: Extracted packet for processing {"connection_id":160315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:03:14] local.INFO: GPS Element Parsed {"raw_longitude":756552960,"raw_latitude":119644048,"longitude_deg":75.655296,"latitude_deg":11.9644048,"altitude":78,"angle":13,"satellites":36,"speed":0,"hex_longitude":"2d181500","hex_latitude":"07219f90","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508513280001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13962887139688448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735293262050070528,"note":"Value kept but may cause issues"} 
[2026-08-19 18:03:14] 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-08-19 18:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787142651000,"timestamp_ms":1787142651000,"timestamp_seconds":1787142651,"priority":1,"record_length":96,"hex_timestamp":"000001a01a00bc78"} 
[2026-08-19 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-08-19 18:03:14] 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-08-19 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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-19 18:03: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-08-19 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-08-19 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-08-19 18:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:03:14] 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-08-19 18:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508513280001,"66":13015,"107":206,"83":41984,"24":0,"16":13962887139688448,"45":1735293262050070528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 18:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508513280001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:03:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 18:03:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13962887139688448,"km_value":13962887139688.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735293262050070528,"description":"Unknown IO ID 45"} 
[2026-08-19 18:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508513280001,"power":13015,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735293262050070528}} 
[2026-08-19 18:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":160315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:03:14] local.INFO: GPS data processed {"connection_id":160315,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:03:14] local.INFO: Acknowledgment sent {"connection_id":160315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:03:37] local.INFO: TCP Data received {"connection_id":159001,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:03:37] local.INFO: Processing buffer {"connection_id":159001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:03:37] local.INFO: Packet analysis {"connection_id":159001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:03:37] local.INFO: Extracted packet for processing {"connection_id":159001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:03:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508437504001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:03:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787142635000,"timestamp_ms":1787142635000,"timestamp_seconds":1787142635,"priority":1,"record_length":96,"hex_timestamp":"000001a01a007df8"} 
[2026-08-19 18:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 18:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508437504001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508437504001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:03:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:03:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508437504001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":159001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:03:37] local.INFO: GPS data processed {"connection_id":159001,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:03:37] local.INFO: Acknowledgment sent {"connection_id":159001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:03:45] local.INFO: TCP Data received {"connection_id":160315,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a010e80012d18150007219f90004e000d24..."} 
[2026-08-19 18:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a010e80012d18150007219f90004e000d24..."} 
[2026-08-19 18:03:45] local.INFO: Processing buffer {"connection_id":160315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a010e80012d18150007219f90004e000d24..."} 
[2026-08-19 18:03:45] local.INFO: Packet analysis {"connection_id":160315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a01"} 
[2026-08-19 18:03:45] local.INFO: Extracted packet for processing {"connection_id":160315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a01"} 
[2026-08-19 18:03:45] local.INFO: GPS Element Parsed {"raw_longitude":756552960,"raw_latitude":119644048,"longitude_deg":75.655296,"latitude_deg":11.9644048,"altitude":78,"angle":13,"satellites":36,"speed":0,"hex_longitude":"2d181500","hex_latitude":"07219f90","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508518656001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13962887139688448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735293262050070528,"note":"Value kept but may cause issues"} 
[2026-08-19 18:03:45] 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-08-19 18:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787142672000,"timestamp_ms":1787142672000,"timestamp_seconds":1787142672,"priority":1,"record_length":96,"hex_timestamp":"000001a01a010e80"} 
[2026-08-19 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-08-19 18:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 18:03: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-08-19 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-08-19 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-08-19 18:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:03:45] 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-08-19 18:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508518656001,"66":13004,"107":206,"83":41984,"24":0,"16":13962887139688448,"45":1735293262050070528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 18:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508518656001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:03:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 18:03:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13962887139688448,"km_value":13962887139688.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735293262050070528,"description":"Unknown IO ID 45"} 
[2026-08-19 18:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508518656001,"power":13004,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735293262050070528}} 
[2026-08-19 18:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":160315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:03:45] local.INFO: GPS data processed {"connection_id":160315,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:03:45] local.INFO: Acknowledgment sent {"connection_id":160315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:03:59] local.INFO: TCP Data received {"connection_id":158134,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:03:59] local.INFO: Processing buffer {"connection_id":158134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:03:59] local.INFO: IMEI packet received {"connection_id":158134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":158134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:04:03] local.INFO: TCP Data received {"connection_id":158134,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:04:03] local.INFO: Processing buffer {"connection_id":158134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:04:03] local.INFO: IMEI packet received {"connection_id":158134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":158134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:04:04] local.INFO: TCP Data received {"connection_id":158134,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:04:04] local.INFO: Processing buffer {"connection_id":158134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:04:04] local.INFO: Packet analysis {"connection_id":158134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:04:04] local.INFO: Extracted packet for processing {"connection_id":158134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:04:04] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508437504001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:04:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787142635000,"timestamp_ms":1787142635000,"timestamp_seconds":1787142635,"priority":1,"record_length":96,"hex_timestamp":"000001a01a007df8"} 
[2026-08-19 18:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:04: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-08-19 18:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 18:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508437504001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508437504001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:04:04] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:04:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508437504001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":158134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:04:05] local.INFO: GPS data processed {"connection_id":158134,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:04:05] local.INFO: Acknowledgment sent {"connection_id":158134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:04:13] local.INFO: TCP Data received {"connection_id":160317,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:04:13] local.INFO: Processing buffer {"connection_id":160317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:04:13] local.INFO: IMEI packet received {"connection_id":160317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":160317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:04:17] local.INFO: TCP Data received {"connection_id":160317,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:04:17] local.INFO: Processing buffer {"connection_id":160317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:04:17] local.INFO: IMEI packet received {"connection_id":160317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":160317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:04:18] local.INFO: TCP Data received {"connection_id":160317,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a016088012d18150007219f90004e000d26..."} 
[2026-08-19 18:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a016088012d18150007219f90004e000d26..."} 
[2026-08-19 18:04:18] local.INFO: Processing buffer {"connection_id":160317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a016088012d18150007219f90004e000d26..."} 
[2026-08-19 18:04:18] local.INFO: Packet analysis {"connection_id":160317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a01"} 
[2026-08-19 18:04:18] local.INFO: Extracted packet for processing {"connection_id":160317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a01"} 
[2026-08-19 18:04:18] local.INFO: GPS Element Parsed {"raw_longitude":756552960,"raw_latitude":119644048,"longitude_deg":75.655296,"latitude_deg":11.9644048,"altitude":78,"angle":13,"satellites":38,"speed":0,"hex_longitude":"2d181500","hex_latitude":"07219f90","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508524032001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13962887139688448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735293262050070528,"note":"Value kept but may cause issues"} 
[2026-08-19 18:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787142693000,"timestamp_ms":1787142693000,"timestamp_seconds":1787142693,"priority":1,"record_length":96,"hex_timestamp":"000001a01a016088"} 
[2026-08-19 18:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-19 18:04:18] 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-08-19 18: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-08-19 18:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:04:18] 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-08-19 18:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508524032001,"66":12982,"107":206,"83":41984,"24":0,"16":13962887139688448,"45":1735293262050070528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 18:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508524032001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:04:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 18:04:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13962887139688448,"km_value":13962887139688.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735293262050070528,"description":"Unknown IO ID 45"} 
[2026-08-19 18:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508524032001,"power":12982,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735293262050070528}} 
[2026-08-19 18:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":160317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:04:18] local.INFO: GPS data processed {"connection_id":160317,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:04:18] local.INFO: Acknowledgment sent {"connection_id":160317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:04:19] local.INFO: TCP Data received {"connection_id":160317,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a01b290012d18150007219f90004e000d26..."} 
[2026-08-19 18:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a01b290012d18150007219f90004e000d26..."} 
[2026-08-19 18:04:19] local.INFO: Processing buffer {"connection_id":160317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a01b290012d18150007219f90004e000d26..."} 
[2026-08-19 18:04:19] local.INFO: Packet analysis {"connection_id":160317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a01"} 
[2026-08-19 18:04:19] local.INFO: Extracted packet for processing {"connection_id":160317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a01"} 
[2026-08-19 18:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756552960,"raw_latitude":119644048,"longitude_deg":75.655296,"latitude_deg":11.9644048,"altitude":78,"angle":13,"satellites":38,"speed":0,"hex_longitude":"2d181500","hex_latitude":"07219f90","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508529408001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13962887139688448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735293262050070528,"note":"Value kept but may cause issues"} 
[2026-08-19 18:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787142714000,"timestamp_ms":1787142714000,"timestamp_seconds":1787142714,"priority":1,"record_length":96,"hex_timestamp":"000001a01a01b290"} 
[2026-08-19 18:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:04:19] 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-08-19 18: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-19 18:04:19] 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-08-19 18: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-08-19 18:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:04:19] 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-08-19 18:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508529408001,"66":12972,"107":206,"83":41984,"24":0,"16":13962887139688448,"45":1735293262050070528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 18:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508529408001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:04:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 18:04:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13962887139688448,"km_value":13962887139688.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735293262050070528,"description":"Unknown IO ID 45"} 
[2026-08-19 18:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508529408001,"power":12972,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735293262050070528}} 
[2026-08-19 18:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":160317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:04:19] local.INFO: GPS data processed {"connection_id":160317,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:04:19] local.INFO: Acknowledgment sent {"connection_id":160317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:04:36] local.INFO: TCP Data received {"connection_id":158134,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:04:36] local.INFO: Processing buffer {"connection_id":158134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:04:36] local.INFO: Packet analysis {"connection_id":158134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:04:36] local.INFO: Extracted packet for processing {"connection_id":158134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:04:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508437504001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:04:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787142635000,"timestamp_ms":1787142635000,"timestamp_seconds":1787142635,"priority":1,"record_length":96,"hex_timestamp":"000001a01a007df8"} 
[2026-08-19 18:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 18:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508437504001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508437504001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:04:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:04:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508437504001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":158134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:04:36] local.INFO: GPS data processed {"connection_id":158134,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:04:36] local.INFO: Acknowledgment sent {"connection_id":158134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:04:50] local.INFO: TCP Data received {"connection_id":160317,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a020498012d18150007219f90004e000d26..."} 
[2026-08-19 18:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a020498012d18150007219f90004e000d26..."} 
[2026-08-19 18:04:50] local.INFO: Processing buffer {"connection_id":160317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a020498012d18150007219f90004e000d26..."} 
[2026-08-19 18:04:50] local.INFO: Packet analysis {"connection_id":160317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a02"} 
[2026-08-19 18:04:50] local.INFO: Extracted packet for processing {"connection_id":160317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a02"} 
[2026-08-19 18:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756552960,"raw_latitude":119644048,"longitude_deg":75.655296,"latitude_deg":11.9644048,"altitude":78,"angle":13,"satellites":38,"speed":0,"hex_longitude":"2d181500","hex_latitude":"07219f90","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508534784001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13962887139688448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735293262050070528,"note":"Value kept but may cause issues"} 
[2026-08-19 18:04:50] 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-08-19 18:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787142735000,"timestamp_ms":1787142735000,"timestamp_seconds":1787142735,"priority":1,"record_length":96,"hex_timestamp":"000001a01a020498"} 
[2026-08-19 18:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:04:50] 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-08-19 18: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 18:04:50] 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-08-19 18: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-08-19 18:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:04:50] 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-08-19 18:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508534784001,"66":12939,"107":206,"83":41984,"24":0,"16":13962887139688448,"45":1735293262050070528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 18:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508534784001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:04:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 18:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13962887139688448,"km_value":13962887139688.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735293262050070528,"description":"Unknown IO ID 45"} 
[2026-08-19 18:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508534784001,"power":12939,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735293262050070528}} 
[2026-08-19 18:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":160317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:04:50] local.INFO: GPS data processed {"connection_id":160317,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:04:50] local.INFO: Acknowledgment sent {"connection_id":160317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:05:04] local.INFO: TCP Data received {"connection_id":159002,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:05:04] local.INFO: Processing buffer {"connection_id":159002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:05:04] local.INFO: IMEI packet received {"connection_id":159002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":159002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:05:08] local.INFO: TCP Data received {"connection_id":157780,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:05:08] local.INFO: Processing buffer {"connection_id":157780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:05:08] local.INFO: IMEI packet received {"connection_id":157780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":157780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:05:09] local.INFO: TCP Data received {"connection_id":159002,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:05:09] local.INFO: Processing buffer {"connection_id":159002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:05:09] local.INFO: IMEI packet received {"connection_id":159002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":159002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:05:10] local.INFO: TCP Data received {"connection_id":159002,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:05:10] local.INFO: Processing buffer {"connection_id":159002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:05:10] local.INFO: Packet analysis {"connection_id":159002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:05:10] local.INFO: Extracted packet for processing {"connection_id":159002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:05:10] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508437504001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787142635000,"timestamp_ms":1787142635000,"timestamp_seconds":1787142635,"priority":1,"record_length":96,"hex_timestamp":"000001a01a007df8"} 
[2026-08-19 18:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 18:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508437504001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508437504001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:05:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508437504001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":159002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:05:10] local.INFO: GPS data processed {"connection_id":159002,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:05:10] local.INFO: Acknowledgment sent {"connection_id":159002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:05:13] local.INFO: TCP Data received {"connection_id":157780,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:05:13] local.INFO: Processing buffer {"connection_id":157780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:05:13] local.INFO: IMEI packet received {"connection_id":157780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":157780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:05:14] local.INFO: TCP Data received {"connection_id":157780,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0256a0012d18150007219f90004e000d25..."} 
[2026-08-19 18:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0256a0012d18150007219f90004e000d25..."} 
[2026-08-19 18:05:14] local.INFO: Processing buffer {"connection_id":157780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0256a0012d18150007219f90004e000d25..."} 
[2026-08-19 18:05:14] local.INFO: Packet analysis {"connection_id":157780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a02"} 
[2026-08-19 18:05:14] local.INFO: Extracted packet for processing {"connection_id":157780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a02"} 
[2026-08-19 18:05:14] local.INFO: GPS Element Parsed {"raw_longitude":756552960,"raw_latitude":119644048,"longitude_deg":75.655296,"latitude_deg":11.9644048,"altitude":78,"angle":13,"satellites":37,"speed":0,"hex_longitude":"2d181500","hex_latitude":"07219f90","is_valid_coordinates":true} 
[2026-08-19 18:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508540160001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13962887139688448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735293262050070528,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:14] 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-08-19 18:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787142756000,"timestamp_ms":1787142756000,"timestamp_seconds":1787142756,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0256a0"} 
[2026-08-19 18:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:05:14] 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-08-19 18:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 18:05: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-08-19 18:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:05:14] 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-08-19 18:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508540160001,"66":12939,"107":206,"83":41984,"24":0,"16":13962887139688448,"45":1735293262050070528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 18:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508540160001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:05:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 18:05:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13962887139688448,"km_value":13962887139688.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735293262050070528,"description":"Unknown IO ID 45"} 
[2026-08-19 18:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508540160001,"power":12939,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735293262050070528}} 
[2026-08-19 18:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":157780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:05:14] local.INFO: GPS data processed {"connection_id":157780,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:05:14] local.INFO: Acknowledgment sent {"connection_id":157780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:05:14] local.INFO: TCP Data received {"connection_id":159002,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:05:14] local.INFO: Processing buffer {"connection_id":159002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:05:14] local.INFO: Packet analysis {"connection_id":159002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:05:14] local.INFO: Extracted packet for processing {"connection_id":159002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:05:14] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508437504001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787142635000,"timestamp_ms":1787142635000,"timestamp_seconds":1787142635,"priority":1,"record_length":96,"hex_timestamp":"000001a01a007df8"} 
[2026-08-19 18:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 18:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508437504001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508437504001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:05:14] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:05:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508437504001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":159002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:05:14] local.INFO: GPS data processed {"connection_id":159002,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:05:14] local.INFO: Acknowledgment sent {"connection_id":159002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:05:44] local.INFO: TCP Data received {"connection_id":159003,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:05:44] local.INFO: Processing buffer {"connection_id":159003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:05:44] local.INFO: IMEI packet received {"connection_id":159003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":159003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:05:45] local.INFO: TCP Data received {"connection_id":157780,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a02a8a8012d18150007219f90004e000d25..."} 
[2026-08-19 18:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a02a8a8012d18150007219f90004e000d25..."} 
[2026-08-19 18:05:45] local.INFO: Processing buffer {"connection_id":157780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a02a8a8012d18150007219f90004e000d25..."} 
[2026-08-19 18:05:45] local.INFO: Packet analysis {"connection_id":157780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a02"} 
[2026-08-19 18:05:45] local.INFO: Extracted packet for processing {"connection_id":157780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a02"} 
[2026-08-19 18:05:45] local.INFO: GPS Element Parsed {"raw_longitude":756552960,"raw_latitude":119644048,"longitude_deg":75.655296,"latitude_deg":11.9644048,"altitude":78,"angle":13,"satellites":37,"speed":0,"hex_longitude":"2d181500","hex_latitude":"07219f90","is_valid_coordinates":true} 
[2026-08-19 18:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508545536001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13962887139688448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735293262050070528,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:45] 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-08-19 18:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787142777000,"timestamp_ms":1787142777000,"timestamp_seconds":1787142777,"priority":1,"record_length":96,"hex_timestamp":"000001a01a02a8a8"} 
[2026-08-19 18:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 18:05: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-08-19 18:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:05:45] 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-08-19 18:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508545536001,"66":12939,"107":206,"83":41984,"24":0,"16":13962887139688448,"45":1735293262050070528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 18:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508545536001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:05:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 18:05:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13962887139688448,"km_value":13962887139688.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735293262050070528,"description":"Unknown IO ID 45"} 
[2026-08-19 18:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508545536001,"power":12939,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735293262050070528}} 
[2026-08-19 18:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":157780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:05:45] local.INFO: GPS data processed {"connection_id":157780,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:05:45] local.INFO: Acknowledgment sent {"connection_id":157780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:05:46] local.INFO: TCP Data received {"connection_id":159003,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:05:46] local.INFO: Processing buffer {"connection_id":159003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:05:46] local.INFO: IMEI packet received {"connection_id":159003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":159003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:05:51] local.INFO: TCP Data received {"connection_id":159003,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:05:51] local.INFO: Processing buffer {"connection_id":159003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:05:51] local.INFO: IMEI packet received {"connection_id":159003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":159003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:05:52] local.INFO: TCP Data received {"connection_id":159003,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0498c0012d811bc005d18b18000b010d24..."} 
[2026-08-19 18:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0498c0012d811bc005d18b18000b010d24..."} 
[2026-08-19 18:05:52] local.INFO: Processing buffer {"connection_id":159003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0498c0012d811bc005d18b18000b010d24..."} 
[2026-08-19 18:05:52] local.INFO: Packet analysis {"connection_id":159003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a04"} 
[2026-08-19 18:05:52] local.INFO: Extracted packet for processing {"connection_id":159003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a04"} 
[2026-08-19 18:05:52] local.INFO: GPS Element Parsed {"raw_longitude":763435968,"raw_latitude":97618712,"longitude_deg":76.3435968,"latitude_deg":9.7618712,"altitude":11,"angle":269,"satellites":36,"speed":20,"hex_longitude":"2d811bc0","hex_latitude":"05d18b18","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508583424001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120880205278478336,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143503487222736896,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:52] 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-08-19 18:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787142904000,"timestamp_ms":1787142904000,"timestamp_seconds":1787142904,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0498c0"} 
[2026-08-19 18:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:05:52] 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-08-19 18: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 18:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166284418382,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:52] local.WARNING: Large IO value detected {"io_id":65,"raw_value":58077557095399463,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2172207109,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:52] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2270167053,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312882894,"corrected_to":0} 
[2026-08-19 18:05:52] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3489738113,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3515140096,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:52] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,65,85,24,241,157,16,115,160,90,45,64,134,12,36,10,66,23,128,130,35,225,1,240,46,227,26,209,4,113,205,31,197,127,176,239,53,2,173,5,13,39],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1312882894,"validated":0}]} 
[2026-08-19 18:05:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792929457665212416,"timestamp_seconds":792929457665212.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 18:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":159003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":159003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":159003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:05:52] 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-08-19 18:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508583424001,"66":13059,"65":206,"85":15104,"24":20,"16":120880205278478336,"45":-9143503487222736896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-19 18:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508583424001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:05:52] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-19 18:05:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120880205278478336,"km_value":120880205278478.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143503487222736896,"description":"Unknown IO ID 45"} 
[2026-08-19 18:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508583424001,"power":13059,"unknown_65":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9143503487222736896}} 
[2026-08-19 18:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":159003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:05:52] local.INFO: GPS data processed {"connection_id":159003,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:05:52] local.INFO: Acknowledgment sent {"connection_id":159003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:05:54] local.INFO: TCP Data received {"connection_id":159003,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a04ac48012d81128005d18b18000b012524..."} 
[2026-08-19 18:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a04ac48012d81128005d18b18000b012524..."} 
[2026-08-19 18:05:54] local.INFO: Processing buffer {"connection_id":159003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a04ac48012d81128005d18b18000b012524..."} 
[2026-08-19 18:05:54] local.INFO: Packet analysis {"connection_id":159003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a04"} 
[2026-08-19 18:05:54] local.INFO: Extracted packet for processing {"connection_id":159003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a04"} 
[2026-08-19 18:05:54] local.INFO: GPS Element Parsed {"raw_longitude":763433600,"raw_latitude":97618712,"longitude_deg":76.34336,"latitude_deg":9.7618712,"altitude":11,"angle":293,"satellites":36,"speed":17,"hex_longitude":"2d811280","hex_latitude":"05d18b18","is_valid_coordinates":true} 
[2026-08-19 18:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508583424001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120880316947628032,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143503487222736896,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:54] 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-08-19 18:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787142909000,"timestamp_ms":1787142909000,"timestamp_seconds":1787142909,"priority":1,"record_length":96,"hex_timestamp":"000001a01a04ac48"} 
[2026-08-19 18:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 18:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303171753790798,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:54] local.WARNING: Large IO value detected {"io_id":65,"raw_value":58077557095399454,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2171289605,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:54] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2187853838,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2684431745,"corrected_to":0} 
[2026-08-19 18:05:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3515396096,"note":"Value kept but may cause issues"} 
[2026-08-19 18:05:54] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,65,85,24,241,157,16,115,160,152,45,192,139,11,36,10,66,90,64,134,12,23,128,1,240,51,227,26,209,4,113,205,25,121,80,35,239,53,2,173,5,13,30],"length":486,"final_offset":616,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2684431745,"validated":0}]} 
[2026-08-19 18:05:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792929457665212416,"timestamp_seconds":792929457665212.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 18:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:05:54] 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-08-19 18:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508583424001,"66":13406,"65":206,"85":15104,"24":17,"16":120880316947628032,"45":-9143503487222736896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-19 18:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508583424001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:05:54] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-19 18:05:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120880316947628032,"km_value":120880316947628.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143503487222736896,"description":"Unknown IO ID 45"} 
[2026-08-19 18:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508583424001,"power":13406,"unknown_65":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9143503487222736896}} 
[2026-08-19 18:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":159003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:05:55] local.INFO: GPS data processed {"connection_id":159003,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:05:55] local.INFO: Acknowledgment sent {"connection_id":159003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:05:59] local.INFO: TCP Data received {"connection_id":159004,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:05:59] local.INFO: Processing buffer {"connection_id":159004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:05:59] local.INFO: IMEI packet received {"connection_id":159004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":159004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:06:04] local.INFO: TCP Data received {"connection_id":159004,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:06:04] local.INFO: Processing buffer {"connection_id":159004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:06:04] local.INFO: IMEI packet received {"connection_id":159004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":159004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:06:06] local.INFO: TCP Data received {"connection_id":159004,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:06:06] local.INFO: Processing buffer {"connection_id":159004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a007df8012ceb5f800713b858001400a128..."} 
[2026-08-19 18:06:06] local.INFO: Packet analysis {"connection_id":159004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:06:06] local.INFO: Extracted packet for processing {"connection_id":159004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a00"} 
[2026-08-19 18:06:06] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508437504001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:06:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787142635000,"timestamp_ms":1787142635000,"timestamp_seconds":1787142635,"priority":1,"record_length":96,"hex_timestamp":"000001a01a007df8"} 
[2026-08-19 18:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 18:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508437504001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508437504001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:06:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:06:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508437504001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":159004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:06:06] local.INFO: GPS data processed {"connection_id":159004,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:06:06] local.INFO: Acknowledgment sent {"connection_id":159004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:06:08] local.INFO: TCP Data received {"connection_id":160318,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:06:08] local.INFO: Processing buffer {"connection_id":160318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:06:08] local.INFO: IMEI packet received {"connection_id":160318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":160318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:06:13] local.INFO: TCP Data received {"connection_id":160318,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:06:13] local.INFO: Processing buffer {"connection_id":160318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:06:13] local.INFO: IMEI packet received {"connection_id":160318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":160318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:06:14] local.INFO: TCP Data received {"connection_id":160318,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a02fab0012d18150007219f90004e000d24..."} 
[2026-08-19 18:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a02fab0012d18150007219f90004e000d24..."} 
[2026-08-19 18:06:14] local.INFO: Processing buffer {"connection_id":160318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a02fab0012d18150007219f90004e000d24..."} 
[2026-08-19 18:06:14] local.INFO: Packet analysis {"connection_id":160318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a02"} 
[2026-08-19 18:06:14] local.INFO: Extracted packet for processing {"connection_id":160318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a02"} 
[2026-08-19 18:06:14] local.INFO: GPS Element Parsed {"raw_longitude":756552960,"raw_latitude":119644048,"longitude_deg":75.655296,"latitude_deg":11.9644048,"altitude":78,"angle":13,"satellites":36,"speed":0,"hex_longitude":"2d181500","hex_latitude":"07219f90","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508550912001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13962887139688448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735293262050070528,"note":"Value kept but may cause issues"} 
[2026-08-19 18:06:14] 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-08-19 18:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787142798000,"timestamp_ms":1787142798000,"timestamp_seconds":1787142798,"priority":1,"record_length":96,"hex_timestamp":"000001a01a02fab0"} 
[2026-08-19 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-08-19 18:06:14] 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-08-19 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 18:06: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-08-19 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-08-19 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-08-19 18:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:06:14] 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-08-19 18:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508550912001,"66":12863,"107":206,"83":41984,"24":0,"16":13962887139688448,"45":1735293262050070528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 18:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508550912001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:06:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 18:06:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13962887139688448,"km_value":13962887139688.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735293262050070528,"description":"Unknown IO ID 45"} 
[2026-08-19 18:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508550912001,"power":12863,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735293262050070528}} 
[2026-08-19 18:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":160318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:06:14] local.INFO: GPS data processed {"connection_id":160318,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:06:14] local.INFO: Acknowledgment sent {"connection_id":160318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:06:26] local.INFO: TCP Data received {"connection_id":159003,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a05b5e8012d81078005d273300008015024..."} 
[2026-08-19 18:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a05b5e8012d81078005d273300008015024..."} 
[2026-08-19 18:06:26] local.INFO: Processing buffer {"connection_id":159003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a05b5e8012d81078005d273300008015024..."} 
[2026-08-19 18:06:26] local.INFO: Packet analysis {"connection_id":159003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:06:26] local.INFO: Extracted packet for processing {"connection_id":159003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:06:26] local.INFO: GPS Element Parsed {"raw_longitude":763430784,"raw_latitude":97678128,"longitude_deg":76.3430784,"latitude_deg":9.7678128,"altitude":8,"angle":336,"satellites":36,"speed":21,"hex_longitude":"2d810780","hex_latitude":"05d27330","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508601600001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120883396439179264,"note":"Value kept but may cause issues"} 
[2026-08-19 18:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9148710774276937728,"note":"Value kept but may cause issues"} 
[2026-08-19 18:06:26] 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-08-19 18:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787142977000,"timestamp_ms":1787142977000,"timestamp_seconds":1787142977,"priority":1,"record_length":96,"hex_timestamp":"000001a01a05b5e8"} 
[2026-08-19 18:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 18:06:26] 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-08-19 18: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-08-19 18:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:06:26] 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-08-19 18:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508601600001,"66":13319,"208":206,"85":15104,"24":21,"16":120883396439179264,"45":-9148710774276937728},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-19 18:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508601600001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:06:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 18:06:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120883396439179264,"km_value":120883396439179.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9148710774276937728,"description":"Unknown IO ID 45"} 
[2026-08-19 18:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508601600001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9148710774276937728}} 
[2026-08-19 18:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":159003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:06:26] local.INFO: GPS data processed {"connection_id":159003,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:06:26] local.INFO: Acknowledgment sent {"connection_id":159003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:06:38] local.INFO: TCP Data received {"connection_id":158135,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:06:38] local.INFO: Processing buffer {"connection_id":158135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:06:38] local.INFO: IMEI packet received {"connection_id":158135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":158135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:06:39] local.INFO: TCP Data received {"connection_id":159004,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:06:39] local.INFO: Processing buffer {"connection_id":159004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:06:39] local.INFO: Packet analysis {"connection_id":159004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:06:39] local.INFO: Extracted packet for processing {"connection_id":159004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:06:39] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508514560001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:06:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787142936000,"timestamp_ms":1787142936000,"timestamp_seconds":1787142936,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0515c0"} 
[2026-08-19 18:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:06: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-08-19 18:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508514560001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508514560001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:06:39] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:06:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508514560001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":159004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:06:39] local.INFO: GPS data processed {"connection_id":159004,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:06:39] local.INFO: Acknowledgment sent {"connection_id":159004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:06:42] local.INFO: TCP Data received {"connection_id":158135,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:06:42] local.INFO: Processing buffer {"connection_id":158135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:06:42] local.INFO: IMEI packet received {"connection_id":158135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":158135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:06:42] local.INFO: TCP Data received {"connection_id":158135,"ip":"42.109.136.2","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-19 18:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158135,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-19 18:06:42] local.INFO: Processing buffer {"connection_id":158135,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-19 18:06:42] local.INFO: IMEI packet received {"connection_id":158135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":158135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:06:45] local.INFO: TCP Data received {"connection_id":160318,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a034cb8012d18150007219f90004e000d26..."} 
[2026-08-19 18:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a034cb8012d18150007219f90004e000d26..."} 
[2026-08-19 18:06:45] local.INFO: Processing buffer {"connection_id":160318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a034cb8012d18150007219f90004e000d26..."} 
[2026-08-19 18:06:45] local.INFO: Packet analysis {"connection_id":160318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a03"} 
[2026-08-19 18:06:45] local.INFO: Extracted packet for processing {"connection_id":160318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a03"} 
[2026-08-19 18:06:45] local.INFO: GPS Element Parsed {"raw_longitude":756552960,"raw_latitude":119644048,"longitude_deg":75.655296,"latitude_deg":11.9644048,"altitude":78,"angle":13,"satellites":38,"speed":0,"hex_longitude":"2d181500","hex_latitude":"07219f90","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508556288001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13962887139688448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735293262050070528,"note":"Value kept but may cause issues"} 
[2026-08-19 18:06:45] 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-08-19 18:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787142819000,"timestamp_ms":1787142819000,"timestamp_seconds":1787142819,"priority":1,"record_length":96,"hex_timestamp":"000001a01a034cb8"} 
[2026-08-19 18:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-19 18:06: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-08-19 18: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-08-19 18:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:06:45] 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-08-19 18:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508556288001,"66":12841,"107":206,"83":41984,"24":0,"16":13962887139688448,"45":1735293262050070528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 18:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508556288001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:06:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 18:06:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13962887139688448,"km_value":13962887139688.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735293262050070528,"description":"Unknown IO ID 45"} 
[2026-08-19 18:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508556288001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1735293262050070528}} 
[2026-08-19 18:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":160318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:06:45] local.INFO: GPS data processed {"connection_id":160318,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:06:45] local.INFO: Acknowledgment sent {"connection_id":160318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:06:58] local.INFO: TCP Data received {"connection_id":158136,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:06:58] local.INFO: Processing buffer {"connection_id":158136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:06:58] local.INFO: IMEI packet received {"connection_id":158136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":158136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:07:04] local.INFO: TCP Data received {"connection_id":158136,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:07:04] local.INFO: Processing buffer {"connection_id":158136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:07:04] local.INFO: IMEI packet received {"connection_id":158136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":158136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:07:05] local.INFO: TCP Data received {"connection_id":158136,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:07:05] local.INFO: Processing buffer {"connection_id":158136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:07:05] local.INFO: Packet analysis {"connection_id":158136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:07:05] local.INFO: Extracted packet for processing {"connection_id":158136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:07:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508514560001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:07:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787142936000,"timestamp_ms":1787142936000,"timestamp_seconds":1787142936,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0515c0"} 
[2026-08-19 18:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508514560001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508514560001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:07:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:07:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508514560001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":158136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:07:05] local.INFO: GPS data processed {"connection_id":158136,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:07:05] local.INFO: Acknowledgment sent {"connection_id":158136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:07:07] local.INFO: TCP Data received {"connection_id":157781,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:07:07] local.INFO: Processing buffer {"connection_id":157781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:07:07] local.INFO: IMEI packet received {"connection_id":157781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":157781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:07:07] local.INFO: TCP Data received {"connection_id":157781,"ip":"42.109.136.2","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 18:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157781,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 18:07:07] local.INFO: Processing buffer {"connection_id":157781,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 18:07:07] local.INFO: IMEI packet received {"connection_id":157781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":157781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:07:08] local.INFO: TCP Data received {"connection_id":157781,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:07:08] local.INFO: Processing buffer {"connection_id":157781,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-19 18:07:08] local.INFO: IMEI packet received {"connection_id":157781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":157781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:07:37] local.INFO: TCP Data received {"connection_id":158136,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:07:37] local.INFO: Processing buffer {"connection_id":158136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:07:37] local.INFO: Packet analysis {"connection_id":158136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:07:37] local.INFO: Extracted packet for processing {"connection_id":158136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508514560001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:07:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787142936000,"timestamp_ms":1787142936000,"timestamp_seconds":1787142936,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0515c0"} 
[2026-08-19 18:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508514560001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508514560001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:07:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:07:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508514560001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":158136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:07:37] local.INFO: GPS data processed {"connection_id":158136,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:07:37] local.INFO: Acknowledgment sent {"connection_id":158136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:08:03] local.INFO: TCP Data received {"connection_id":157782,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:08:03] local.INFO: Processing buffer {"connection_id":157782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:08:03] local.INFO: IMEI packet received {"connection_id":157782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":157782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:08:08] local.INFO: TCP Data received {"connection_id":157782,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:08:08] local.INFO: Processing buffer {"connection_id":157782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:08:08] local.INFO: IMEI packet received {"connection_id":157782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":157782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:08:10] local.INFO: TCP Data received {"connection_id":157782,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:08:10] local.INFO: Processing buffer {"connection_id":157782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:08:10] local.INFO: Packet analysis {"connection_id":157782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:08:10] local.INFO: Extracted packet for processing {"connection_id":157782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:08:10] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508514560001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787142936000,"timestamp_ms":1787142936000,"timestamp_seconds":1787142936,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0515c0"} 
[2026-08-19 18:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508514560001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508514560001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:08:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508514560001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":157782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:08:10] local.INFO: GPS data processed {"connection_id":157782,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:08:10] local.INFO: Acknowledgment sent {"connection_id":157782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:08:14] local.INFO: TCP Data received {"connection_id":157782,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:08:14] local.INFO: Processing buffer {"connection_id":157782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:08:14] local.INFO: Packet analysis {"connection_id":157782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:08:14] local.INFO: Extracted packet for processing {"connection_id":157782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:08:14] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508514560001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:08:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787142936000,"timestamp_ms":1787142936000,"timestamp_seconds":1787142936,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0515c0"} 
[2026-08-19 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-08-19 18:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 18:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508514560001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508514560001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:08:14] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:08:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508514560001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":157782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:08:14] local.INFO: GPS data processed {"connection_id":157782,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:08:14] local.INFO: Acknowledgment sent {"connection_id":157782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:08:59] local.INFO: TCP Data received {"connection_id":160322,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:08:59] local.INFO: Processing buffer {"connection_id":160322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:08:59] local.INFO: IMEI packet received {"connection_id":160322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":160322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:09:04] local.INFO: TCP Data received {"connection_id":160322,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:09:04] local.INFO: Processing buffer {"connection_id":160322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:09:04] local.INFO: IMEI packet received {"connection_id":160322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":160322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:09:05] local.INFO: TCP Data received {"connection_id":160322,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:09:05] local.INFO: Processing buffer {"connection_id":160322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:09:05] local.INFO: Packet analysis {"connection_id":160322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:09:05] local.INFO: Extracted packet for processing {"connection_id":160322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:09:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508514560001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:09:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787142936000,"timestamp_ms":1787142936000,"timestamp_seconds":1787142936,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0515c0"} 
[2026-08-19 18:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508514560001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508514560001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:09:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:09:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508514560001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":160322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:09:05] local.INFO: GPS data processed {"connection_id":160322,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:09:05] local.INFO: Acknowledgment sent {"connection_id":160322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:09:37] local.INFO: TCP Data received {"connection_id":160322,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:09:37] local.INFO: Processing buffer {"connection_id":160322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:09:37] local.INFO: Packet analysis {"connection_id":160322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:09:37] local.INFO: Extracted packet for processing {"connection_id":160322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:09:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508514560001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:09:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787142936000,"timestamp_ms":1787142936000,"timestamp_seconds":1787142936,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0515c0"} 
[2026-08-19 18:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508514560001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508514560001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:09:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:09:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508514560001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":160322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:09:37] local.INFO: GPS data processed {"connection_id":160322,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:09:37] local.INFO: Acknowledgment sent {"connection_id":160322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:09:59] local.INFO: TCP Data received {"connection_id":160323,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:09:59] local.INFO: Processing buffer {"connection_id":160323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:09:59] local.INFO: IMEI packet received {"connection_id":160323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":160323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:10:03] local.INFO: TCP Data received {"connection_id":160323,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:10:03] local.INFO: Processing buffer {"connection_id":160323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:10:03] local.INFO: IMEI packet received {"connection_id":160323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":160323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:10:05] local.INFO: TCP Data received {"connection_id":160323,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:10:05] local.INFO: Processing buffer {"connection_id":160323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:10:05] local.INFO: Packet analysis {"connection_id":160323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:10:05] local.INFO: Extracted packet for processing {"connection_id":160323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:10:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508514560001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:10:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787142936000,"timestamp_ms":1787142936000,"timestamp_seconds":1787142936,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0515c0"} 
[2026-08-19 18:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508514560001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508514560001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:10:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:10:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508514560001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":160323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:10:05] local.INFO: GPS data processed {"connection_id":160323,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:10:05] local.INFO: Acknowledgment sent {"connection_id":160323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:10:36] local.INFO: TCP Data received {"connection_id":160323,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:10:36] local.INFO: Processing buffer {"connection_id":160323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:10:36] local.INFO: Packet analysis {"connection_id":160323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:10:36] local.INFO: Extracted packet for processing {"connection_id":160323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:10:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508514560001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:10:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787142936000,"timestamp_ms":1787142936000,"timestamp_seconds":1787142936,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0515c0"} 
[2026-08-19 18:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508514560001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508514560001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:10:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:10:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508514560001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":160323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:10:36] local.INFO: GPS data processed {"connection_id":160323,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:10:36] local.INFO: Acknowledgment sent {"connection_id":160323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:10:58] local.INFO: TCP Data received {"connection_id":158137,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:10:58] local.INFO: Processing buffer {"connection_id":158137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:10:58] local.INFO: IMEI packet received {"connection_id":158137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":158137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:11:04] local.INFO: TCP Data received {"connection_id":158137,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:11:04] local.INFO: Processing buffer {"connection_id":158137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:11:04] local.INFO: IMEI packet received {"connection_id":158137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":158137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:11:05] local.INFO: TCP Data received {"connection_id":158137,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:11:05] local.INFO: Processing buffer {"connection_id":158137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0515c0012ceb5f800713b858001400a12a..."} 
[2026-08-19 18:11:05] local.INFO: Packet analysis {"connection_id":158137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:11:05] local.INFO: Extracted packet for processing {"connection_id":158137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:11:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508514560001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:11:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787142936000,"timestamp_ms":1787142936000,"timestamp_seconds":1787142936,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0515c0"} 
[2026-08-19 18:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508514560001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508514560001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:11:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:11:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508514560001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":158137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:11:05] local.INFO: GPS data processed {"connection_id":158137,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:11:05] local.INFO: Acknowledgment sent {"connection_id":158137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:11:37] local.INFO: TCP Data received {"connection_id":158137,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:11:37] local.INFO: Processing buffer {"connection_id":158137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:11:37] local.INFO: Packet analysis {"connection_id":158137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:11:37] local.INFO: Extracted packet for processing {"connection_id":158137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:11:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508591616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:11:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787143237000,"timestamp_ms":1787143237000,"timestamp_seconds":1787143237,"priority":1,"record_length":96,"hex_timestamp":"000001a01a09ad88"} 
[2026-08-19 18:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508591616001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508591616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:11:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:11:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508591616001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":158137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:11:37] local.INFO: GPS data processed {"connection_id":158137,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:11:37] local.INFO: Acknowledgment sent {"connection_id":158137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:11:46] local.INFO: TCP Data received {"connection_id":160324,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:11:46] local.INFO: Processing buffer {"connection_id":160324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:11:46] local.INFO: IMEI packet received {"connection_id":160324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":160324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:11:47] local.INFO: TCP Data received {"connection_id":160324,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a09dc68012d7f35c005d36ef8000a00d526..."} 
[2026-08-19 18:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a09dc68012d7f35c005d36ef8000a00d526..."} 
[2026-08-19 18:11:47] local.INFO: Processing buffer {"connection_id":160324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a09dc68012d7f35c005d36ef8000a00d526..."} 
[2026-08-19 18:11:47] local.INFO: Packet analysis {"connection_id":160324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:11:47] local.INFO: Extracted packet for processing {"connection_id":160324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:11:47] local.INFO: GPS Element Parsed {"raw_longitude":763311552,"raw_latitude":97742584,"longitude_deg":76.3311552,"latitude_deg":9.7742584,"altitude":10,"angle":213,"satellites":38,"speed":46,"hex_longitude":"2d7f35c0","hex_latitude":"05d36ef8","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508670976001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120892235481874432,"note":"Value kept but may cause issues"} 
[2026-08-19 18:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168836285139847168,"note":"Value kept but may cause issues"} 
[2026-08-19 18:11:47] 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-08-19 18:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787143249000,"timestamp_ms":1787143249000,"timestamp_seconds":1787143249,"priority":1,"record_length":96,"hex_timestamp":"000001a01a09dc68"} 
[2026-08-19 18:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 18:11:47] 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-08-19 18: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-08-19 18:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:11:47] 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-08-19 18:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508670976001,"66":13200,"167":206,"85":15104,"24":46,"16":120892235481874432,"45":9168836285139847168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-19 18:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508670976001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:11:47] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 18:11:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120892235481874432,"km_value":120892235481874.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168836285139847168,"description":"Unknown IO ID 45"} 
[2026-08-19 18:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508670976001,"power":13200,"unknown_167":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9168836285139847168}} 
[2026-08-19 18:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":160324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:11:47] local.INFO: GPS data processed {"connection_id":160324,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:11:47] local.INFO: Acknowledgment sent {"connection_id":160324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:12:04] local.INFO: TCP Data received {"connection_id":158138,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:12:04] local.INFO: Processing buffer {"connection_id":158138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:12:04] local.INFO: IMEI packet received {"connection_id":158138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":158138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:12:08] local.INFO: TCP Data received {"connection_id":158138,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:12:08] local.INFO: Processing buffer {"connection_id":158138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:12:08] local.INFO: IMEI packet received {"connection_id":158138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":158138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:12:09] local.INFO: TCP Data received {"connection_id":158139,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:12:09] local.INFO: Processing buffer {"connection_id":158139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:12:09] local.INFO: IMEI packet received {"connection_id":158139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":158139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:12:10] local.INFO: TCP Data received {"connection_id":158138,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:12:10] local.INFO: Processing buffer {"connection_id":158138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:12:10] local.INFO: Packet analysis {"connection_id":158138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:12:10] local.INFO: Extracted packet for processing {"connection_id":158138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:12:10] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508591616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787143237000,"timestamp_ms":1787143237000,"timestamp_seconds":1787143237,"priority":1,"record_length":96,"hex_timestamp":"000001a01a09ad88"} 
[2026-08-19 18:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508591616001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508591616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:12:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508591616001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":158138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:12:10] local.INFO: GPS data processed {"connection_id":158138,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:12:10] local.INFO: Acknowledgment sent {"connection_id":158138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:12:13] local.INFO: TCP Data received {"connection_id":158139,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:12:13] local.INFO: Processing buffer {"connection_id":158139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:12:13] local.INFO: IMEI packet received {"connection_id":158139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":158139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:12:14] local.INFO: TCP Data received {"connection_id":158139,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01a05c1a0012d1825c00721b5d0004a00092b..."} 
[2026-08-19 18:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a05c1a0012d1825c00721b5d0004a00092b..."} 
[2026-08-19 18:12:14] local.INFO: Processing buffer {"connection_id":158139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a05c1a0012d1825c00721b5d0004a00092b..."} 
[2026-08-19 18:12:14] local.INFO: Packet analysis {"connection_id":158139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:12:14] local.INFO: Extracted packet for processing {"connection_id":158139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:12:14] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649744,"longitude_deg":75.6557248,"latitude_deg":11.9649744,"altitude":74,"angle":9,"satellites":43,"speed":11,"hex_longitude":"2d1825c0","hex_latitude":"0721b5d0","is_valid_coordinates":true} 
[2026-08-19 18:12: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-08-19 18:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508599808001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963252211908608,"note":"Value kept but may cause issues"} 
[2026-08-19 18:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631681536,"note":"Value kept but may cause issues"} 
[2026-08-19 18:12: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-08-19 18:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787142980000,"timestamp_ms":1787142980000,"timestamp_seconds":1787142980,"priority":1,"record_length":96,"hex_timestamp":"000001a01a05c1a0"} 
[2026-08-19 18:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:12: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-08-19 18:12: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-19 18:12:14] 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-08-19 18:12: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-08-19 18:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508599808001,"66":14265,"105":206,"83":41984,"24":11,"16":13963252211908608,"45":1737333955631681536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508599808001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:12:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:12:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963252211908608,"km_value":13963252211908.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631681536,"description":"Unknown IO ID 45"} 
[2026-08-19 18:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508599808001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737333955631681536}} 
[2026-08-19 18:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":158139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:12:14] local.INFO: GPS data processed {"connection_id":158139,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:12:14] local.INFO: Acknowledgment sent {"connection_id":158139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:12:15] local.INFO: TCP Data received {"connection_id":158138,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:12:15] local.INFO: Processing buffer {"connection_id":158138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:12:15] local.INFO: Packet analysis {"connection_id":158138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:12:15] local.INFO: Extracted packet for processing {"connection_id":158138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:12:15] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508591616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:12:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787143237000,"timestamp_ms":1787143237000,"timestamp_seconds":1787143237,"priority":1,"record_length":96,"hex_timestamp":"000001a01a09ad88"} 
[2026-08-19 18:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:12:15] 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-08-19 18:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508591616001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508591616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:12:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:12:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508591616001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":158138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:12:15] local.INFO: GPS data processed {"connection_id":158138,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:12:15] local.INFO: Acknowledgment sent {"connection_id":158138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:12:18] local.INFO: TCP Data received {"connection_id":160324,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a09fba8012d7f21c005d34e60000a00d725..."} 
[2026-08-19 18:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a09fba8012d7f21c005d34e60000a00d725..."} 
[2026-08-19 18:12:18] local.INFO: Processing buffer {"connection_id":160324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a09fba8012d7f21c005d34e60000a00d725..."} 
[2026-08-19 18:12:18] local.INFO: Packet analysis {"connection_id":160324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:12:18] local.INFO: Extracted packet for processing {"connection_id":160324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:12:18] local.INFO: GPS Element Parsed {"raw_longitude":763306432,"raw_latitude":97734240,"longitude_deg":76.3306432,"latitude_deg":9.773424,"altitude":10,"angle":215,"satellites":37,"speed":48,"hex_longitude":"2d7f21c0","hex_latitude":"05d34e60","is_valid_coordinates":true} 
[2026-08-19 18:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508671744001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120892707928276992,"note":"Value kept but may cause issues"} 
[2026-08-19 18:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166443747837147136,"note":"Value kept but may cause issues"} 
[2026-08-19 18:12: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-08-19 18:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787143257000,"timestamp_ms":1787143257000,"timestamp_seconds":1787143257,"priority":1,"record_length":96,"hex_timestamp":"000001a01a09fba8"} 
[2026-08-19 18:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:12: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-08-19 18:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-19 18:12:18] 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-08-19 18:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:12:18] 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-08-19 18:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508671744001,"66":12472,"167":206,"85":15104,"24":48,"16":120892707928276992,"45":9166443747837147136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-19 18:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508671744001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:12:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 18:12:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120892707928276992,"km_value":120892707928276.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166443747837147136,"description":"Unknown IO ID 45"} 
[2026-08-19 18:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508671744001,"power":12472,"unknown_167":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9166443747837147136}} 
[2026-08-19 18:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":160324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:12:18] local.INFO: GPS data processed {"connection_id":160324,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:12:18] local.INFO: Acknowledgment sent {"connection_id":160324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:12:41] local.INFO: TCP Data received {"connection_id":158140,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:12:41] local.INFO: Processing buffer {"connection_id":158140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:12:41] local.INFO: IMEI packet received {"connection_id":158140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":158140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:12:45] local.INFO: TCP Data received {"connection_id":158140,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:12:45] local.INFO: Processing buffer {"connection_id":158140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:12:45] local.INFO: IMEI packet received {"connection_id":158140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":158140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:12:45] local.INFO: TCP Data received {"connection_id":158139,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01a05c588012d1825c00721b6c0004a01562b..."} 
[2026-08-19 18:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a05c588012d1825c00721b6c0004a01562b..."} 
[2026-08-19 18:12:45] local.INFO: Processing buffer {"connection_id":158139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a05c588012d1825c00721b6c0004a01562b..."} 
[2026-08-19 18:12:45] local.INFO: Packet analysis {"connection_id":158139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:12:45] local.INFO: Extracted packet for processing {"connection_id":158139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:12:45] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119649984,"longitude_deg":75.6557248,"latitude_deg":11.9649984,"altitude":74,"angle":342,"satellites":43,"speed":6,"hex_longitude":"2d1825c0","hex_latitude":"0721b6c0","is_valid_coordinates":true} 
[2026-08-19 18:12: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-08-19 18:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508602880001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963265096810496,"note":"Value kept but may cause issues"} 
[2026-08-19 18:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911432192,"note":"Value kept but may cause issues"} 
[2026-08-19 18:12: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-08-19 18:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787142981000,"timestamp_ms":1787142981000,"timestamp_seconds":1787142981,"priority":1,"record_length":96,"hex_timestamp":"000001a01a05c588"} 
[2026-08-19 18:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:12: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-08-19 18:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 18:12:45] 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-08-19 18:12: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-08-19 18:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508602880001,"66":14189,"105":206,"83":41984,"24":6,"16":13963265096810496,"45":1740007967911432192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508602880001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:12:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:12:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963265096810496,"km_value":13963265096810.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911432192,"description":"Unknown IO ID 45"} 
[2026-08-19 18:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508602880001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1740007967911432192}} 
[2026-08-19 18:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":158139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:12:45] local.INFO: GPS data processed {"connection_id":158139,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:12:45] local.INFO: Acknowledgment sent {"connection_id":158139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:12:46] local.INFO: TCP Data received {"connection_id":158140,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0a22b8012d7f0a4005d33388000800e126..."} 
[2026-08-19 18:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0a22b8012d7f0a4005d33388000800e126..."} 
[2026-08-19 18:12:46] local.INFO: Processing buffer {"connection_id":158140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0a22b8012d7f0a4005d33388000800e126..."} 
[2026-08-19 18:12:46] local.INFO: Packet analysis {"connection_id":158140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0a"} 
[2026-08-19 18:12:46] local.INFO: Extracted packet for processing {"connection_id":158140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0a"} 
[2026-08-19 18:12:46] local.INFO: GPS Element Parsed {"raw_longitude":763300416,"raw_latitude":97727368,"longitude_deg":76.3300416,"latitude_deg":9.7727368,"altitude":8,"angle":225,"satellites":38,"speed":10,"hex_longitude":"2d7f0a40","hex_latitude":"05d33388","is_valid_coordinates":true} 
[2026-08-19 18:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508673792001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120893150309908480,"note":"Value kept but may cause issues"} 
[2026-08-19 18:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9160814248300797952,"note":"Value kept but may cause issues"} 
[2026-08-19 18:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787143267000,"timestamp_ms":1787143267000,"timestamp_seconds":1787143267,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0a22b8"} 
[2026-08-19 18:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:12: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-08-19 18:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 18:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:12:46] 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-08-19 18:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508673792001,"66":12982,"167":206,"85":15104,"24":10,"16":120893150309908480,"45":9160814248300797952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-08-19 18:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508673792001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:12:46] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 18:12:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120893150309908480,"km_value":120893150309908.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9160814248300797952,"description":"Unknown IO ID 45"} 
[2026-08-19 18:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508673792001,"power":12982,"unknown_167":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9160814248300797952}} 
[2026-08-19 18:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":158140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:12:46] local.INFO: GPS data processed {"connection_id":158140,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:12:46] local.INFO: Acknowledgment sent {"connection_id":158140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:12:59] local.INFO: TCP Data received {"connection_id":160325,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:12:59] local.INFO: Processing buffer {"connection_id":160325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:12:59] local.INFO: IMEI packet received {"connection_id":160325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":160325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:13:04] local.INFO: TCP Data received {"connection_id":160325,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:13:04] local.INFO: Processing buffer {"connection_id":160325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:13:04] local.INFO: IMEI packet received {"connection_id":160325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":160325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:13:05] local.INFO: TCP Data received {"connection_id":160325,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:13:05] local.INFO: Processing buffer {"connection_id":160325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:13:05] local.INFO: Packet analysis {"connection_id":160325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:13:05] local.INFO: Extracted packet for processing {"connection_id":160325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:13:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508591616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:13:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787143237000,"timestamp_ms":1787143237000,"timestamp_seconds":1787143237,"priority":1,"record_length":96,"hex_timestamp":"000001a01a09ad88"} 
[2026-08-19 18:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:13: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-08-19 18:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508591616001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508591616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:13:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:13:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508591616001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":160325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:13:05] local.INFO: GPS data processed {"connection_id":160325,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:13:05] local.INFO: Acknowledgment sent {"connection_id":160325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:13:08] local.INFO: TCP Data received {"connection_id":158141,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:13:08] local.INFO: Processing buffer {"connection_id":158141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:13:08] local.INFO: IMEI packet received {"connection_id":158141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":158141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:13:13] local.INFO: TCP Data received {"connection_id":158141,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:13:13] local.INFO: Processing buffer {"connection_id":158141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:13:13] local.INFO: IMEI packet received {"connection_id":158141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":158141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:13:14] local.INFO: TCP Data received {"connection_id":158141,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a05c970012d1825000721b7080049010f2b..."} 
[2026-08-19 18:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a05c970012d1825000721b7080049010f2b..."} 
[2026-08-19 18:13:14] local.INFO: Processing buffer {"connection_id":158141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a05c970012d1825000721b7080049010f2b..."} 
[2026-08-19 18:13:14] local.INFO: Packet analysis {"connection_id":158141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:13:14] local.INFO: Extracted packet for processing {"connection_id":158141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:13:14] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650056,"longitude_deg":75.6557056,"latitude_deg":11.9650056,"altitude":73,"angle":271,"satellites":43,"speed":6,"hex_longitude":"2d182500","hex_latitude":"0721b708","is_valid_coordinates":true} 
[2026-08-19 18:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508603136001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963273686745088,"note":"Value kept but may cause issues"} 
[2026-08-19 18:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911493632,"note":"Value kept but may cause issues"} 
[2026-08-19 18:13: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-08-19 18:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787142982000,"timestamp_ms":1787142982000,"timestamp_seconds":1787142982,"priority":1,"record_length":96,"hex_timestamp":"000001a01a05c970"} 
[2026-08-19 18:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:13: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-08-19 18:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 18:13:14] 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-08-19 18:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508603136001,"66":14189,"105":206,"83":41984,"24":6,"16":13963273686745088,"45":1740007967911493632},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508603136001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:13:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:13:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963273686745088,"km_value":13963273686745.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911493632,"description":"Unknown IO ID 45"} 
[2026-08-19 18:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508603136001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1740007967911493632}} 
[2026-08-19 18:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":158141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:13:14] local.INFO: GPS data processed {"connection_id":158141,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:13:14] local.INFO: Acknowledgment sent {"connection_id":158141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:13:17] local.INFO: TCP Data received {"connection_id":158140,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0bb8f8012d7e65c005d306c8000c016125..."} 
[2026-08-19 18:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0bb8f8012d7e65c005d306c8000c016125..."} 
[2026-08-19 18:13:17] local.INFO: Processing buffer {"connection_id":158140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0bb8f8012d7e65c005d306c8000c016125..."} 
[2026-08-19 18:13:17] local.INFO: Packet analysis {"connection_id":158140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0b"} 
[2026-08-19 18:13:17] local.INFO: Extracted packet for processing {"connection_id":158140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0b"} 
[2026-08-19 18:13:17] local.INFO: GPS Element Parsed {"raw_longitude":763258304,"raw_latitude":97715912,"longitude_deg":76.3258304,"latitude_deg":9.7715912,"altitude":12,"angle":353,"satellites":37,"speed":12,"hex_longitude":"2d7e65c0","hex_latitude":"05d306c8","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508702464001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120895345038196736,"note":"Value kept but may cause issues"} 
[2026-08-19 18:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107896952674363392,"note":"Value kept but may cause issues"} 
[2026-08-19 18:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787143371000,"timestamp_ms":1787143371000,"timestamp_seconds":1787143371,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0bb8f8"} 
[2026-08-19 18:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:13:17] 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-08-19 18: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-19 18:13:17] 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-08-19 18: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-08-19 18:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158140,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:13:17] 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-08-19 18:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508702464001,"66":13352,"109":206,"85":15104,"24":12,"16":120895345038196736,"45":9107896952674363392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508702464001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:13:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:13:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120895345038196736,"km_value":120895345038196.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107896952674363392,"description":"Unknown IO ID 45"} 
[2026-08-19 18:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508702464001,"power":13352,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9107896952674363392}} 
[2026-08-19 18:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":158140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:13:17] local.INFO: GPS data processed {"connection_id":158140,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:13:17] local.INFO: Acknowledgment sent {"connection_id":158140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:13:38] local.INFO: TCP Data received {"connection_id":160325,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:13:38] local.INFO: Processing buffer {"connection_id":160325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:13:38] local.INFO: Packet analysis {"connection_id":160325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:13:38] local.INFO: Extracted packet for processing {"connection_id":160325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:13:38] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508591616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:13:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787143237000,"timestamp_ms":1787143237000,"timestamp_seconds":1787143237,"priority":1,"record_length":96,"hex_timestamp":"000001a01a09ad88"} 
[2026-08-19 18:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508591616001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508591616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:13:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:13:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508591616001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":160325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:13:38] local.INFO: GPS data processed {"connection_id":160325,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:13:38] local.INFO: Acknowledgment sent {"connection_id":160325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:13:39] local.INFO: TCP Data received {"connection_id":157787,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:13:39] local.INFO: Processing buffer {"connection_id":157787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:13:39] local.INFO: IMEI packet received {"connection_id":157787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":157787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:13:41] local.INFO: TCP Data received {"connection_id":157787,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:13:41] local.INFO: Processing buffer {"connection_id":157787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:13:41] local.INFO: IMEI packet received {"connection_id":157787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":157787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:13:45] local.INFO: TCP Data received {"connection_id":158141,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a05e4c8012d1824c00721b7200049010f29..."} 
[2026-08-19 18:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a05e4c8012d1824c00721b7200049010f29..."} 
[2026-08-19 18:13:45] local.INFO: Processing buffer {"connection_id":158141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a05e4c8012d1824c00721b7200049010f29..."} 
[2026-08-19 18:13:45] local.INFO: Packet analysis {"connection_id":158141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:13:45] local.INFO: Extracted packet for processing {"connection_id":158141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:13:45] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650080,"longitude_deg":75.6556992,"latitude_deg":11.965008,"altitude":73,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b720","is_valid_coordinates":true} 
[2026-08-19 18:13: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-08-19 18:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508603392001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963290866614272,"note":"Value kept but may cause issues"} 
[2026-08-19 18:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861678979072,"note":"Value kept but may cause issues"} 
[2026-08-19 18:13: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-08-19 18:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787142989000,"timestamp_ms":1787142989000,"timestamp_seconds":1787142989,"priority":1,"record_length":96,"hex_timestamp":"000001a01a05e4c8"} 
[2026-08-19 18:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:13: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-08-19 18:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 18:13:45] 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-08-19 18:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508603392001,"66":13048,"105":206,"83":41984,"24":0,"16":13963290866614272,"45":1739796861678979072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508603392001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:13:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:13:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963290866614272,"km_value":13963290866614.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861678979072,"description":"Unknown IO ID 45"} 
[2026-08-19 18:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508603392001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861678979072}} 
[2026-08-19 18:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":158141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:13:45] local.INFO: GPS data processed {"connection_id":158141,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:13:45] local.INFO: Acknowledgment sent {"connection_id":158141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:13:46] local.INFO: TCP Data received {"connection_id":157787,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:13:46] local.INFO: Processing buffer {"connection_id":157787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:13:46] local.INFO: IMEI packet received {"connection_id":157787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":157787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:13:47] local.INFO: TCP Data received {"connection_id":157787,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0be008012d7e644005d31490000b000626..."} 
[2026-08-19 18:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0be008012d7e644005d31490000b000626..."} 
[2026-08-19 18:13:47] local.INFO: Processing buffer {"connection_id":157787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0be008012d7e644005d31490000b000626..."} 
[2026-08-19 18:13:47] local.INFO: Packet analysis {"connection_id":157787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0b"} 
[2026-08-19 18:13:47] local.INFO: Extracted packet for processing {"connection_id":157787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0b"} 
[2026-08-19 18:13:47] local.INFO: GPS Element Parsed {"raw_longitude":763257920,"raw_latitude":97719440,"longitude_deg":76.325792,"latitude_deg":9.771944,"altitude":11,"angle":6,"satellites":38,"speed":12,"hex_longitude":"2d7e6440","hex_latitude":"05d31490","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508702976001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120895516836888576,"note":"Value kept but may cause issues"} 
[2026-08-19 18:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107896952674502656,"note":"Value kept but may cause issues"} 
[2026-08-19 18:13: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-08-19 18:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787143381000,"timestamp_ms":1787143381000,"timestamp_seconds":1787143381,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0be008"} 
[2026-08-19 18:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 18:13:47] 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-08-19 18: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-08-19 18:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:13:47] 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-08-19 18:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508702976001,"66":13222,"109":206,"85":15104,"24":12,"16":120895516836888576,"45":9107896952674502656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508702976001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:13:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:13:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120895516836888576,"km_value":120895516836888.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107896952674502656,"description":"Unknown IO ID 45"} 
[2026-08-19 18:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508702976001,"power":13222,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9107896952674502656}} 
[2026-08-19 18:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":157787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:13:47] local.INFO: GPS data processed {"connection_id":157787,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:13:47] local.INFO: Acknowledgment sent {"connection_id":157787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:13:58] local.INFO: TCP Data received {"connection_id":157788,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:13:58] local.INFO: Processing buffer {"connection_id":157788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:13:58] local.INFO: IMEI packet received {"connection_id":157788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":157788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:14:03] local.INFO: TCP Data received {"connection_id":157788,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:14:03] local.INFO: Processing buffer {"connection_id":157788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:14:03] local.INFO: IMEI packet received {"connection_id":157788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":157788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:14:04] local.INFO: TCP Data received {"connection_id":157788,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:14:04] local.INFO: Processing buffer {"connection_id":157788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:14:04] local.INFO: Packet analysis {"connection_id":157788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:14:04] local.INFO: Extracted packet for processing {"connection_id":157788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:14:04] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508591616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:14:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787143237000,"timestamp_ms":1787143237000,"timestamp_seconds":1787143237,"priority":1,"record_length":96,"hex_timestamp":"000001a01a09ad88"} 
[2026-08-19 18:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508591616001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508591616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:14:04] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:14:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508591616001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":157788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:14:04] local.INFO: GPS data processed {"connection_id":157788,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:14:04] local.INFO: Acknowledgment sent {"connection_id":157788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:14:13] local.INFO: TCP Data received {"connection_id":158142,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:14:13] local.INFO: Processing buffer {"connection_id":158142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:14:13] local.INFO: IMEI packet received {"connection_id":158142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":158142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:14:18] local.INFO: TCP Data received {"connection_id":157787,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0befa8012d7e644005d31bf0000c016226..."} 
[2026-08-19 18:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0befa8012d7e644005d31bf0000c016226..."} 
[2026-08-19 18:14:18] local.INFO: Processing buffer {"connection_id":157787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0befa8012d7e644005d31bf0000c016226..."} 
[2026-08-19 18:14:18] local.INFO: Packet analysis {"connection_id":157787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0b"} 
[2026-08-19 18:14:18] local.INFO: Extracted packet for processing {"connection_id":157787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0b"} 
[2026-08-19 18:14:18] local.INFO: GPS Element Parsed {"raw_longitude":763257920,"raw_latitude":97721328,"longitude_deg":76.325792,"latitude_deg":9.7721328,"altitude":12,"angle":354,"satellites":38,"speed":21,"hex_longitude":"2d7e6440","hex_latitude":"05d31bf0","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508705536001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120895611326169088,"note":"Value kept but may cause issues"} 
[2026-08-19 18:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107474740210339840,"note":"Value kept but may cause issues"} 
[2026-08-19 18:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787143385000,"timestamp_ms":1787143385000,"timestamp_seconds":1787143385,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0befa8"} 
[2026-08-19 18:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:14: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-08-19 18:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 18:14:18] 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-08-19 18: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-08-19 18:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:14:18] 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-08-19 18:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508705536001,"66":13276,"109":206,"85":15104,"24":21,"16":120895611326169088,"45":9107474740210339840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508705536001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:14:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:14:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120895611326169088,"km_value":120895611326169.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107474740210339840,"description":"Unknown IO ID 45"} 
[2026-08-19 18:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508705536001,"power":13276,"unknown_109":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9107474740210339840}} 
[2026-08-19 18:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":157787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:14:18] local.INFO: GPS data processed {"connection_id":157787,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:14:18] local.INFO: Acknowledgment sent {"connection_id":157787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:14:18] local.INFO: TCP Data received {"connection_id":158142,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:14:18] local.INFO: Processing buffer {"connection_id":158142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:14:18] local.INFO: IMEI packet received {"connection_id":158142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":158142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:14:19] local.INFO: TCP Data received {"connection_id":158142,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a05e4c8012d1824c00721b7200049010f29..."} 
[2026-08-19 18:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a05e4c8012d1824c00721b7200049010f29..."} 
[2026-08-19 18:14:19] local.INFO: Processing buffer {"connection_id":158142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a05e4c8012d1824c00721b7200049010f29..."} 
[2026-08-19 18:14:19] local.INFO: Packet analysis {"connection_id":158142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:14:19] local.INFO: Extracted packet for processing {"connection_id":158142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:14:19] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650080,"longitude_deg":75.6556992,"latitude_deg":11.965008,"altitude":73,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b720","is_valid_coordinates":true} 
[2026-08-19 18:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508605184001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963290866614272,"note":"Value kept but may cause issues"} 
[2026-08-19 18:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934807552,"note":"Value kept but may cause issues"} 
[2026-08-19 18:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787142989000,"timestamp_ms":1787142989000,"timestamp_seconds":1787142989,"priority":1,"record_length":96,"hex_timestamp":"000001a01a05e4c8"} 
[2026-08-19 18:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18: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-08-19 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 18:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508605184001,"66":13048,"105":206,"83":41984,"24":0,"16":13963290866614272,"45":1739726492934807552},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508605184001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:14:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:14:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963290866614272,"km_value":13963290866614.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934807552,"description":"Unknown IO ID 45"} 
[2026-08-19 18:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508605184001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934807552}} 
[2026-08-19 18:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":158142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:14:19] local.INFO: GPS data processed {"connection_id":158142,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:14:19] local.INFO: Acknowledgment sent {"connection_id":158142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:14:36] local.INFO: TCP Data received {"connection_id":157788,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:14:36] local.INFO: Processing buffer {"connection_id":157788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:14:36] local.INFO: Packet analysis {"connection_id":157788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:14:36] local.INFO: Extracted packet for processing {"connection_id":157788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:14:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508591616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:14:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787143237000,"timestamp_ms":1787143237000,"timestamp_seconds":1787143237,"priority":1,"record_length":96,"hex_timestamp":"000001a01a09ad88"} 
[2026-08-19 18:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508591616001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508591616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:14:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:14:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508591616001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":157788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:14:36] local.INFO: GPS data processed {"connection_id":157788,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:14:36] local.INFO: Acknowledgment sent {"connection_id":157788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:14:40] local.INFO: TCP Data received {"connection_id":159006,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:14:40] local.INFO: Processing buffer {"connection_id":159006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:14:40] local.INFO: IMEI packet received {"connection_id":159006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":159006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:14:41] local.INFO: TCP Data received {"connection_id":159006,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:14:41] local.INFO: Processing buffer {"connection_id":159006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:14:41] local.INFO: IMEI packet received {"connection_id":159006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":159006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:14:44] local.INFO: TCP Data received {"connection_id":159006,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:14:44] local.INFO: Processing buffer {"connection_id":159006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:14:44] local.INFO: IMEI packet received {"connection_id":159006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":159006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:14:45] local.INFO: TCP Data received {"connection_id":159006,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0d37c8012d7e314005d356e0000800eb28..."} 
[2026-08-19 18:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0d37c8012d7e314005d356e0000800eb28..."} 
[2026-08-19 18:14:45] local.INFO: Processing buffer {"connection_id":159006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0d37c8012d7e314005d356e0000800eb28..."} 
[2026-08-19 18:14:45] local.INFO: Packet analysis {"connection_id":159006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0d"} 
[2026-08-19 18:14:45] local.INFO: Extracted packet for processing {"connection_id":159006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0d"} 
[2026-08-19 18:14:45] local.INFO: GPS Element Parsed {"raw_longitude":763244864,"raw_latitude":97736416,"longitude_deg":76.3244864,"latitude_deg":9.7736416,"altitude":8,"angle":235,"satellites":40,"speed":5,"hex_longitude":"2d7e3140","hex_latitude":"05d356e0","is_valid_coordinates":true} 
[2026-08-19 18:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508727808001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120896839686815744,"note":"Value kept but may cause issues"} 
[2026-08-19 18:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093260253890820096,"note":"Value kept but may cause issues"} 
[2026-08-19 18:14: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-08-19 18:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787143469000,"timestamp_ms":1787143469000,"timestamp_seconds":1787143469,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0d37c8"} 
[2026-08-19 18:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:14: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-08-19 18:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-19 18:14:45] 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-08-19 18:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:14:45] 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-08-19 18:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508727808001,"66":12374,"109":206,"85":15104,"24":5,"16":120896839686815744,"45":9093260253890820096},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508727808001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:14:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:14:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120896839686815744,"km_value":120896839686815.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093260253890820096,"description":"Unknown IO ID 45"} 
[2026-08-19 18:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508727808001,"power":12374,"unknown_109":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9093260253890820096}} 
[2026-08-19 18:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":159006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:14:45] local.INFO: GPS data processed {"connection_id":159006,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:14:45] local.INFO: Acknowledgment sent {"connection_id":159006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:14:50] local.INFO: TCP Data received {"connection_id":158142,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a05e4c8012d1824c00721b7200049010f29..."} 
[2026-08-19 18:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a05e4c8012d1824c00721b7200049010f29..."} 
[2026-08-19 18:14:50] local.INFO: Processing buffer {"connection_id":158142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a05e4c8012d1824c00721b7200049010f29..."} 
[2026-08-19 18:14:50] local.INFO: Packet analysis {"connection_id":158142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:14:50] local.INFO: Extracted packet for processing {"connection_id":158142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a05"} 
[2026-08-19 18:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650080,"longitude_deg":75.6556992,"latitude_deg":11.965008,"altitude":73,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b720","is_valid_coordinates":true} 
[2026-08-19 18:14:50] 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-08-19 18:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508605184001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963290866614272,"note":"Value kept but may cause issues"} 
[2026-08-19 18:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934807552,"note":"Value kept but may cause issues"} 
[2026-08-19 18:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787142989000,"timestamp_ms":1787142989000,"timestamp_seconds":1787142989,"priority":1,"record_length":96,"hex_timestamp":"000001a01a05e4c8"} 
[2026-08-19 18:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:14: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-08-19 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 18:14:50] 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-08-19 18: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-08-19 18:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":158142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":158142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":158142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508605184001,"66":13048,"105":206,"83":41984,"24":0,"16":13963290866614272,"45":1739726492934807552},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508605184001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:14:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963290866614272,"km_value":13963290866614.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934807552,"description":"Unknown IO ID 45"} 
[2026-08-19 18:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508605184001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934807552}} 
[2026-08-19 18:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":158142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:14:50] local.INFO: GPS data processed {"connection_id":158142,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:14:50] local.INFO: Acknowledgment sent {"connection_id":158142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:14:58] local.INFO: TCP Data received {"connection_id":160326,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:14:58] local.INFO: Processing buffer {"connection_id":160326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:14:58] local.INFO: IMEI packet received {"connection_id":160326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":160326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:15:04] local.INFO: TCP Data received {"connection_id":160326,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:15:04] local.INFO: Processing buffer {"connection_id":160326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:15:04] local.INFO: IMEI packet received {"connection_id":160326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":160326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:15:05] local.INFO: TCP Data received {"connection_id":160326,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:15:05] local.INFO: Processing buffer {"connection_id":160326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:15:05] local.INFO: Packet analysis {"connection_id":160326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:15:05] local.INFO: Extracted packet for processing {"connection_id":160326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:15:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508591616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:15:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787143237000,"timestamp_ms":1787143237000,"timestamp_seconds":1787143237,"priority":1,"record_length":96,"hex_timestamp":"000001a01a09ad88"} 
[2026-08-19 18:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:15: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-08-19 18:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508591616001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508591616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:15:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:15:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508591616001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":160326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:15:05] local.INFO: GPS data processed {"connection_id":160326,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:15:05] local.INFO: Acknowledgment sent {"connection_id":160326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:15:08] local.INFO: TCP Data received {"connection_id":159007,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:15:08] local.INFO: Processing buffer {"connection_id":159007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:15:08] local.INFO: IMEI packet received {"connection_id":159007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":159007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:15:12] local.INFO: TCP Data received {"connection_id":159007,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:15:12] local.INFO: Processing buffer {"connection_id":159007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:15:12] local.INFO: IMEI packet received {"connection_id":159007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":159007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:15:13] local.INFO: TCP Data received {"connection_id":159007,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0a8078012d1822800721b518004a010f2a..."} 
[2026-08-19 18:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0a8078012d1822800721b518004a010f2a..."} 
[2026-08-19 18:15:13] local.INFO: Processing buffer {"connection_id":159007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0a8078012d1822800721b518004a010f2a..."} 
[2026-08-19 18:15:13] local.INFO: Packet analysis {"connection_id":159007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0a"} 
[2026-08-19 18:15:13] local.INFO: Extracted packet for processing {"connection_id":159007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0a"} 
[2026-08-19 18:15:13] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649560,"longitude_deg":75.6556416,"latitude_deg":11.964956,"altitude":74,"angle":271,"satellites":42,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b518","is_valid_coordinates":true} 
[2026-08-19 18:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508605184001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963290866614272,"note":"Value kept but may cause issues"} 
[2026-08-19 18:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934807552,"note":"Value kept but may cause issues"} 
[2026-08-19 18:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787143291000,"timestamp_ms":1787143291000,"timestamp_seconds":1787143291,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0a8078"} 
[2026-08-19 18:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 18:15:13] 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-08-19 18:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508605184001,"66":2177,"105":206,"83":41984,"24":0,"16":13963290866614272,"45":1739726492934807552},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508605184001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:15:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963290866614272,"km_value":13963290866614.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934807552,"description":"Unknown IO ID 45"} 
[2026-08-19 18:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508605184001,"power":2177,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934807552}} 
[2026-08-19 18:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":159007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:15:13] local.INFO: GPS data processed {"connection_id":159007,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:15:13] local.INFO: Acknowledgment sent {"connection_id":159007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:15:16] local.INFO: TCP Data received {"connection_id":159006,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0d3bb0012d7e310005d35688000800de27..."} 
[2026-08-19 18:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0d3bb0012d7e310005d35688000800de27..."} 
[2026-08-19 18:15:16] local.INFO: Processing buffer {"connection_id":159006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0d3bb0012d7e310005d35688000800de27..."} 
[2026-08-19 18:15:16] local.INFO: Packet analysis {"connection_id":159006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0d"} 
[2026-08-19 18:15:16] local.INFO: Extracted packet for processing {"connection_id":159006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0d"} 
[2026-08-19 18:15:16] local.INFO: GPS Element Parsed {"raw_longitude":763244800,"raw_latitude":97736328,"longitude_deg":76.32448,"latitude_deg":9.7736328,"altitude":8,"angle":222,"satellites":39,"speed":4,"hex_longitude":"2d7e3100","hex_latitude":"05d35688","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508728064001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120896848276750336,"note":"Value kept but may cause issues"} 
[2026-08-19 18:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093119516402442240,"note":"Value kept but may cause issues"} 
[2026-08-19 18:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787143470000,"timestamp_ms":1787143470000,"timestamp_seconds":1787143470,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0d3bb0"} 
[2026-08-19 18:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:15: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-08-19 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-19 18:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:15:16] 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-08-19 18:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508728064001,"66":12374,"109":206,"85":15104,"24":4,"16":120896848276750336,"45":9093119516402442240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508728064001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:15:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:15:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120896848276750336,"km_value":120896848276750.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093119516402442240,"description":"Unknown IO ID 45"} 
[2026-08-19 18:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508728064001,"power":12374,"unknown_109":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9093119516402442240}} 
[2026-08-19 18:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":159006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:15:16] local.INFO: GPS data processed {"connection_id":159006,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:15:16] local.INFO: Acknowledgment sent {"connection_id":159006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:15:37] local.INFO: TCP Data received {"connection_id":160326,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:15:37] local.INFO: Processing buffer {"connection_id":160326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:15:37] local.INFO: Packet analysis {"connection_id":160326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:15:37] local.INFO: Extracted packet for processing {"connection_id":160326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:15:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508591616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787143237000,"timestamp_ms":1787143237000,"timestamp_seconds":1787143237,"priority":1,"record_length":96,"hex_timestamp":"000001a01a09ad88"} 
[2026-08-19 18:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508591616001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508591616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:15:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508591616001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":160326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:15:37] local.INFO: GPS data processed {"connection_id":160326,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:15:37] local.INFO: Acknowledgment sent {"connection_id":160326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:15:41] local.INFO: TCP Data received {"connection_id":160327,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:15:41] local.INFO: Processing buffer {"connection_id":160327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:15:41] local.INFO: IMEI packet received {"connection_id":160327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":160327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:15:44] local.INFO: TCP Data received {"connection_id":159007,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0be7d8012d1822800721b518004a010f29..."} 
[2026-08-19 18:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0be7d8012d1822800721b518004a010f29..."} 
[2026-08-19 18:15:44] local.INFO: Processing buffer {"connection_id":159007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0be7d8012d1822800721b518004a010f29..."} 
[2026-08-19 18:15:44] local.INFO: Packet analysis {"connection_id":159007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0b"} 
[2026-08-19 18:15:44] local.INFO: Extracted packet for processing {"connection_id":159007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0b"} 
[2026-08-19 18:15:44] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649560,"longitude_deg":75.6556416,"latitude_deg":11.964956,"altitude":74,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b518","is_valid_coordinates":true} 
[2026-08-19 18:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508682496001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963290866614272,"note":"Value kept but may cause issues"} 
[2026-08-19 18:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237075456,"note":"Value kept but may cause issues"} 
[2026-08-19 18:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787143383000,"timestamp_ms":1787143383000,"timestamp_seconds":1787143383,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0be7d8"} 
[2026-08-19 18:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-19 18:15:44] 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-08-19 18:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508682496001,"66":2166,"105":206,"83":41984,"24":0,"16":13963290866614272,"45":1739093174237075456},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508682496001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:15:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:15:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963290866614272,"km_value":13963290866614.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237075456,"description":"Unknown IO ID 45"} 
[2026-08-19 18:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508682496001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237075456}} 
[2026-08-19 18:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":159007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:15:44] local.INFO: GPS data processed {"connection_id":159007,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:15:44] local.INFO: Acknowledgment sent {"connection_id":159007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:15:46] local.INFO: TCP Data received {"connection_id":160327,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:15:46] local.INFO: Processing buffer {"connection_id":160327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:15:46] local.INFO: IMEI packet received {"connection_id":160327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":160327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:15:47] local.INFO: TCP Data received {"connection_id":160327,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0d3f98012d7e30c005d35618000800c128..."} 
[2026-08-19 18:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0d3f98012d7e30c005d35618000800c128..."} 
[2026-08-19 18:15:47] local.INFO: Processing buffer {"connection_id":160327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0d3f98012d7e30c005d35618000800c128..."} 
[2026-08-19 18:15:47] local.INFO: Packet analysis {"connection_id":160327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0d"} 
[2026-08-19 18:15:47] local.INFO: Extracted packet for processing {"connection_id":160327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0d"} 
[2026-08-19 18:15:47] local.INFO: GPS Element Parsed {"raw_longitude":763244736,"raw_latitude":97736216,"longitude_deg":76.3244736,"latitude_deg":9.7736216,"altitude":8,"angle":193,"satellites":40,"speed":5,"hex_longitude":"2d7e30c0","hex_latitude":"05d35618","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508728320001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120896852571717632,"note":"Value kept but may cause issues"} 
[2026-08-19 18:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093049147658242048,"note":"Value kept but may cause issues"} 
[2026-08-19 18:15: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-08-19 18:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787143471000,"timestamp_ms":1787143471000,"timestamp_seconds":1787143471,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0d3f98"} 
[2026-08-19 18:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-19 18:15:47] 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-08-19 18: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-08-19 18:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:15:47] 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-08-19 18:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508728320001,"66":13048,"109":206,"85":15104,"24":5,"16":120896852571717632,"45":9093049147658242048},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508728320001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:15:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:15:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120896852571717632,"km_value":120896852571717.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093049147658242048,"description":"Unknown IO ID 45"} 
[2026-08-19 18:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508728320001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9093049147658242048}} 
[2026-08-19 18:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":160327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:15:47] local.INFO: GPS data processed {"connection_id":160327,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:15:47] local.INFO: Acknowledgment sent {"connection_id":160327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:15:58] local.INFO: TCP Data received {"connection_id":159008,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:15:58] local.INFO: Processing buffer {"connection_id":159008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:15:58] local.INFO: IMEI packet received {"connection_id":159008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":159008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:16:03] local.INFO: TCP Data received {"connection_id":159008,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:16:03] local.INFO: Processing buffer {"connection_id":159008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:16:03] local.INFO: IMEI packet received {"connection_id":159008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":159008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:16:05] local.INFO: TCP Data received {"connection_id":159008,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:16:05] local.INFO: Processing buffer {"connection_id":159008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a09ad88012ceb5f800713b858001400a129..."} 
[2026-08-19 18:16:05] local.INFO: Packet analysis {"connection_id":159008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:16:05] local.INFO: Extracted packet for processing {"connection_id":159008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a09"} 
[2026-08-19 18:16:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508591616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:16:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787143237000,"timestamp_ms":1787143237000,"timestamp_seconds":1787143237,"priority":1,"record_length":96,"hex_timestamp":"000001a01a09ad88"} 
[2026-08-19 18:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:16: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-08-19 18:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508591616001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508591616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:16:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:16:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508591616001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":159008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:16:05] local.INFO: GPS data processed {"connection_id":159008,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:16:05] local.INFO: Acknowledgment sent {"connection_id":159008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:16:08] local.INFO: TCP Data received {"connection_id":157789,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:16:08] local.INFO: Processing buffer {"connection_id":157789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:16:08] local.INFO: IMEI packet received {"connection_id":157789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":157789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:16:13] local.INFO: TCP Data received {"connection_id":157789,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:16:13] local.INFO: Processing buffer {"connection_id":157789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:16:13] local.INFO: IMEI packet received {"connection_id":157789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":157789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:16:14] local.INFO: TCP Data received {"connection_id":157789,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0be7d8012d1822800721b518004a010f29..."} 
[2026-08-19 18:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0be7d8012d1822800721b518004a010f29..."} 
[2026-08-19 18:16:14] local.INFO: Processing buffer {"connection_id":157789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0be7d8012d1822800721b518004a010f29..."} 
[2026-08-19 18:16:14] local.INFO: Packet analysis {"connection_id":157789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0b"} 
[2026-08-19 18:16:14] local.INFO: Extracted packet for processing {"connection_id":157789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0b"} 
[2026-08-19 18:16:14] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649560,"longitude_deg":75.6556416,"latitude_deg":11.964956,"altitude":74,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b518","is_valid_coordinates":true} 
[2026-08-19 18:16: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-08-19 18:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508706048001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963290866614272,"note":"Value kept but may cause issues"} 
[2026-08-19 18:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237075456,"note":"Value kept but may cause issues"} 
[2026-08-19 18:16: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-08-19 18:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787143383000,"timestamp_ms":1787143383000,"timestamp_seconds":1787143383,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0be7d8"} 
[2026-08-19 18:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:16: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-08-19 18:16: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":118,"data_length":795,"current_offset":136} 
[2026-08-19 18:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:16: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-08-19 18:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508706048001,"66":2166,"105":206,"83":41984,"24":0,"16":13963290866614272,"45":1739093174237075456},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508706048001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:16:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:16:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963290866614272,"km_value":13963290866614.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237075456,"description":"Unknown IO ID 45"} 
[2026-08-19 18:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508706048001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237075456}} 
[2026-08-19 18:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":157789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:16:14] local.INFO: GPS data processed {"connection_id":157789,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:16:14] local.INFO: Acknowledgment sent {"connection_id":157789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:16:18] local.INFO: TCP Data received {"connection_id":160327,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0d4380012d7e30c005d35578000800b228..."} 
[2026-08-19 18:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0d4380012d7e30c005d35578000800b228..."} 
[2026-08-19 18:16:18] local.INFO: Processing buffer {"connection_id":160327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0d4380012d7e30c005d35578000800b228..."} 
[2026-08-19 18:16:18] local.INFO: Packet analysis {"connection_id":160327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0d"} 
[2026-08-19 18:16:18] local.INFO: Extracted packet for processing {"connection_id":160327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0d"} 
[2026-08-19 18:16:18] local.INFO: GPS Element Parsed {"raw_longitude":763244736,"raw_latitude":97736056,"longitude_deg":76.3244736,"latitude_deg":9.7736056,"altitude":8,"angle":178,"satellites":40,"speed":6,"hex_longitude":"2d7e30c0","hex_latitude":"05d35578","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508728576001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120896861161652224,"note":"Value kept but may cause issues"} 
[2026-08-19 18:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092978778914035712,"note":"Value kept but may cause issues"} 
[2026-08-19 18:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787143472000,"timestamp_ms":1787143472000,"timestamp_seconds":1787143472,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0d4380"} 
[2026-08-19 18:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:16:18] 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-08-19 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 18:16:18] 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-08-19 18: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-08-19 18:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:16:18] 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-08-19 18:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508728576001,"66":13048,"109":206,"85":15104,"24":6,"16":120896861161652224,"45":9092978778914035712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508728576001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:16:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:16:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120896861161652224,"km_value":120896861161652.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092978778914035712,"description":"Unknown IO ID 45"} 
[2026-08-19 18:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508728576001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9092978778914035712}} 
[2026-08-19 18:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":160327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:16:18] local.INFO: GPS data processed {"connection_id":160327,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:16:18] local.INFO: Acknowledgment sent {"connection_id":160327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:16:36] local.INFO: TCP Data received {"connection_id":159008,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:16:36] local.INFO: Processing buffer {"connection_id":159008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:16:36] local.INFO: Packet analysis {"connection_id":159008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:16:36] local.INFO: Extracted packet for processing {"connection_id":159008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:16:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508668672001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:16:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787143538000,"timestamp_ms":1787143538000,"timestamp_seconds":1787143538,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0e4550"} 
[2026-08-19 18:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508668672001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508668672001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:16:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:16:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508668672001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":159008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:16:36] local.INFO: GPS data processed {"connection_id":159008,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:16:36] local.INFO: Acknowledgment sent {"connection_id":159008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:16:41] local.INFO: TCP Data received {"connection_id":158143,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:16:41] local.INFO: Processing buffer {"connection_id":158143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:16:41] local.INFO: IMEI packet received {"connection_id":158143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":158143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:16:45] local.INFO: TCP Data received {"connection_id":157789,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0be7d8012d1822800721b518004a010f29..."} 
[2026-08-19 18:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0be7d8012d1822800721b518004a010f29..."} 
[2026-08-19 18:16:45] local.INFO: Processing buffer {"connection_id":157789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0be7d8012d1822800721b518004a010f29..."} 
[2026-08-19 18:16:45] local.INFO: Packet analysis {"connection_id":157789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0b"} 
[2026-08-19 18:16:45] local.INFO: Extracted packet for processing {"connection_id":157789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0b"} 
[2026-08-19 18:16:45] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649560,"longitude_deg":75.6556416,"latitude_deg":11.964956,"altitude":74,"angle":271,"satellites":41,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b518","is_valid_coordinates":true} 
[2026-08-19 18:16: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-08-19 18:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508706048001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963290866614272,"note":"Value kept but may cause issues"} 
[2026-08-19 18:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237075456,"note":"Value kept but may cause issues"} 
[2026-08-19 18:16: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-08-19 18:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787143383000,"timestamp_ms":1787143383000,"timestamp_seconds":1787143383,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0be7d8"} 
[2026-08-19 18:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:16: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":118,"data_length":795,"current_offset":136} 
[2026-08-19 18:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:16: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-08-19 18:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508706048001,"66":2166,"105":206,"83":41984,"24":0,"16":13963290866614272,"45":1739093174237075456},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508706048001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:16:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:16:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963290866614272,"km_value":13963290866614.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237075456,"description":"Unknown IO ID 45"} 
[2026-08-19 18:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508706048001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237075456}} 
[2026-08-19 18:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":157789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:16:45] local.INFO: GPS data processed {"connection_id":157789,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:16:45] local.INFO: Acknowledgment sent {"connection_id":157789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:16:46] local.INFO: TCP Data received {"connection_id":158143,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:16:46] local.INFO: Processing buffer {"connection_id":158143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:16:46] local.INFO: IMEI packet received {"connection_id":158143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":158143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:16:47] local.INFO: TCP Data received {"connection_id":158143,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0d4f38012d7e30c005d35430000900a528..."} 
[2026-08-19 18:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0d4f38012d7e30c005d35430000900a528..."} 
[2026-08-19 18:16:47] local.INFO: Processing buffer {"connection_id":158143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0d4f38012d7e30c005d35430000900a528..."} 
[2026-08-19 18:16:47] local.INFO: Packet analysis {"connection_id":158143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0d"} 
[2026-08-19 18:16:47] local.INFO: Extracted packet for processing {"connection_id":158143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0d"} 
[2026-08-19 18:16:47] local.INFO: GPS Element Parsed {"raw_longitude":763244736,"raw_latitude":97735728,"longitude_deg":76.3244736,"latitude_deg":9.7735728,"altitude":9,"angle":165,"satellites":40,"speed":3,"hex_longitude":"2d7e30c0","hex_latitude":"05d35430","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508728832001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120896878341521408,"note":"Value kept but may cause issues"} 
[2026-08-19 18:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092978778913994752,"note":"Value kept but may cause issues"} 
[2026-08-19 18:16: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-08-19 18:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787143475000,"timestamp_ms":1787143475000,"timestamp_seconds":1787143475,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0d4f38"} 
[2026-08-19 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-08-19 18:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 18:16:47] 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-08-19 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-08-19 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-08-19 18:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:16:47] 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-08-19 18:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508728832001,"66":13200,"109":206,"85":15104,"24":3,"16":120896878341521408,"45":9092978778913994752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508728832001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:16:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:16:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120896878341521408,"km_value":120896878341521.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092978778913994752,"description":"Unknown IO ID 45"} 
[2026-08-19 18:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508728832001,"power":13200,"unknown_109":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9092978778913994752}} 
[2026-08-19 18:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":158143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:16:47] local.INFO: GPS data processed {"connection_id":158143,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:16:47] local.INFO: Acknowledgment sent {"connection_id":158143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:16:58] local.INFO: TCP Data received {"connection_id":157790,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:16:58] local.INFO: Processing buffer {"connection_id":157790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:16:58] local.INFO: IMEI packet received {"connection_id":157790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":157790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:17:04] local.INFO: TCP Data received {"connection_id":157790,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:17:04] local.INFO: Processing buffer {"connection_id":157790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:17:04] local.INFO: IMEI packet received {"connection_id":157790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":157790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:17:05] local.INFO: TCP Data received {"connection_id":157790,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:17:05] local.INFO: Processing buffer {"connection_id":157790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:17:05] local.INFO: Packet analysis {"connection_id":157790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:17:05] local.INFO: Extracted packet for processing {"connection_id":157790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:17:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508668672001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787143538000,"timestamp_ms":1787143538000,"timestamp_seconds":1787143538,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0e4550"} 
[2026-08-19 18:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:17: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-08-19 18:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508668672001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508668672001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:17:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:17:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508668672001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":157790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:17:05] local.INFO: GPS data processed {"connection_id":157790,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:17:05] local.INFO: Acknowledgment sent {"connection_id":157790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:17:08] local.INFO: TCP Data received {"connection_id":159009,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:17:08] local.INFO: Processing buffer {"connection_id":159009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:17:08] local.INFO: IMEI packet received {"connection_id":159009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":159009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:17:13] local.INFO: TCP Data received {"connection_id":159009,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:17:13] local.INFO: Processing buffer {"connection_id":159009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:17:13] local.INFO: IMEI packet received {"connection_id":159009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":159009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:17:14] local.INFO: TCP Data received {"connection_id":159009,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0c41b0012d1822400721b408004a010f2a..."} 
[2026-08-19 18:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0c41b0012d1822400721b408004a010f2a..."} 
[2026-08-19 18:17:14] local.INFO: Processing buffer {"connection_id":159009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0c41b0012d1822400721b408004a010f2a..."} 
[2026-08-19 18:17:14] local.INFO: Packet analysis {"connection_id":159009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0c"} 
[2026-08-19 18:17:14] local.INFO: Extracted packet for processing {"connection_id":159009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0c"} 
[2026-08-19 18:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649288,"longitude_deg":75.6556352,"latitude_deg":11.9649288,"altitude":74,"angle":271,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b408","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508706048001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963290866614272,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237075456,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17: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-08-19 18:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787143406000,"timestamp_ms":1787143406000,"timestamp_seconds":1787143406,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0c41b0"} 
[2026-08-19 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-08-19 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-08-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 18:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 18:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508706048001,"66":12841,"105":206,"83":41984,"24":0,"16":13963290866614272,"45":1739093174237075456},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508706048001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:17:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:17:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963290866614272,"km_value":13963290866614.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237075456,"description":"Unknown IO ID 45"} 
[2026-08-19 18:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508706048001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237075456}} 
[2026-08-19 18:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":159009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:17:14] local.INFO: GPS data processed {"connection_id":159009,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:17:14] local.INFO: Acknowledgment sent {"connection_id":159009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:17:18] local.INFO: TCP Data received {"connection_id":158143,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0fa0f8012d7e30c005d356880006002b2b..."} 
[2026-08-19 18:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0fa0f8012d7e30c005d356880006002b2b..."} 
[2026-08-19 18:17:18] local.INFO: Processing buffer {"connection_id":158143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0fa0f8012d7e30c005d356880006002b2b..."} 
[2026-08-19 18:17:18] local.INFO: Packet analysis {"connection_id":158143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0f"} 
[2026-08-19 18:17:18] local.INFO: Extracted packet for processing {"connection_id":158143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0f"} 
[2026-08-19 18:17:18] local.INFO: GPS Element Parsed {"raw_longitude":763244736,"raw_latitude":97736328,"longitude_deg":76.3244736,"latitude_deg":9.7736328,"altitude":6,"angle":43,"satellites":43,"speed":6,"hex_longitude":"2d7e30c0","hex_latitude":"05d35688","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508765440001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897247708708864,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092767672681355264,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787143627000,"timestamp_ms":1787143627000,"timestamp_seconds":1787143627,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0fa0f8"} 
[2026-08-19 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-08-19 18:17:18] 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-08-19 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 18:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113134925,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:18] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-19 18:17:18] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3305164109,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":327748,"corrected_to":0} 
[2026-08-19 18:17:18] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2202402816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:18] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,131,160,106,45,192,82,5,44,10,66,77,4,128,1,240,88,227,26,211,113,205,116,53,200,43,239,2,173],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":200,"original":327748,"validated":0}]} 
[2026-08-19 18:17:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360677381989859328,"timestamp_seconds":360677381989859.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 18:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:17:18] 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-08-19 18:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508765440001,"66":13526,"109":206,"85":15104,"24":6,"16":120897247708708864,"45":9092767672681355264},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508765440001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:17:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:17:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897247708708864,"km_value":120897247708708.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092767672681355264,"description":"Unknown IO ID 45"} 
[2026-08-19 18:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508765440001,"power":13526,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9092767672681355264}} 
[2026-08-19 18:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":158143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:17:18] local.INFO: GPS data processed {"connection_id":158143,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:17:18] local.INFO: Acknowledgment sent {"connection_id":158143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:17:37] local.INFO: TCP Data received {"connection_id":157790,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:17:37] local.INFO: Processing buffer {"connection_id":157790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:17:37] local.INFO: Packet analysis {"connection_id":157790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:17:37] local.INFO: Extracted packet for processing {"connection_id":157790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:17:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508668672001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787143538000,"timestamp_ms":1787143538000,"timestamp_seconds":1787143538,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0e4550"} 
[2026-08-19 18:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508668672001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508668672001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:17:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:17:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508668672001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":157790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:17:37] local.INFO: GPS data processed {"connection_id":157790,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:17:37] local.INFO: Acknowledgment sent {"connection_id":157790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:17:46] local.INFO: TCP Data received {"connection_id":159009,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0c5538012d1820c00721b2e0004700cf2a..."} 
[2026-08-19 18:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0c5538012d1820c00721b2e0004700cf2a..."} 
[2026-08-19 18:17:46] local.INFO: Processing buffer {"connection_id":159009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0c5538012d1820c00721b2e0004700cf2a..."} 
[2026-08-19 18:17:46] local.INFO: Packet analysis {"connection_id":159009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0c"} 
[2026-08-19 18:17:46] local.INFO: Extracted packet for processing {"connection_id":159009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0c"} 
[2026-08-19 18:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648992,"longitude_deg":75.6555968,"latitude_deg":11.9648992,"altitude":71,"angle":207,"satellites":42,"speed":2,"hex_longitude":"2d1820c0","hex_latitude":"0721b2e0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508711936001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963316636418048,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492828160,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787143411000,"timestamp_ms":1787143411000,"timestamp_seconds":1787143411,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0c5538"} 
[2026-08-19 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-08-19 18:17: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-08-19 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 18:17: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-08-19 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-08-19 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-08-19 18:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":159009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":159009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":159009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508711936001,"66":12819,"105":206,"83":41984,"24":2,"16":13963316636418048,"45":1739022805492828160},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508711936001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:17:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:17:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963316636418048,"km_value":13963316636418.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492828160,"description":"Unknown IO ID 45"} 
[2026-08-19 18:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508711936001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739022805492828160}} 
[2026-08-19 18:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":159009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:17:46] local.INFO: GPS data processed {"connection_id":159009,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:17:46] local.INFO: Acknowledgment sent {"connection_id":159009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:17:46] local.INFO: TCP Data received {"connection_id":159010,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:17:46] local.INFO: Processing buffer {"connection_id":159010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:17:46] local.INFO: IMEI packet received {"connection_id":159010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":159010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:17:51] local.INFO: TCP Data received {"connection_id":159010,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:17:51] local.INFO: Processing buffer {"connection_id":159010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:17:51] local.INFO: IMEI packet received {"connection_id":159010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":159010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:17:51] local.INFO: TCP Data received {"connection_id":159010,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0fa4e0012d7e314005d35708000600362b..."} 
[2026-08-19 18:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0fa4e0012d7e314005d35708000600362b..."} 
[2026-08-19 18:17:51] local.INFO: Processing buffer {"connection_id":159010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0fa4e0012d7e314005d35708000600362b..."} 
[2026-08-19 18:17:51] local.INFO: Packet analysis {"connection_id":159010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0f"} 
[2026-08-19 18:17:51] local.INFO: Extracted packet for processing {"connection_id":159010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0f"} 
[2026-08-19 18:17:51] local.INFO: GPS Element Parsed {"raw_longitude":763244864,"raw_latitude":97736456,"longitude_deg":76.3244864,"latitude_deg":9.7736456,"altitude":6,"angle":54,"satellites":43,"speed":7,"hex_longitude":"2d7e3140","hex_latitude":"05d35708","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508768512001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897256298643456,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092978778914064384,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787143628000,"timestamp_ms":1787143628000,"timestamp_seconds":1787143628,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0fa4e0"} 
[2026-08-19 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-08-19 18:17:51] 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-08-19 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-19 18:17:51] 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-08-19 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-08-19 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-08-19 18:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":159010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":159010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":159010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:17:51] 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-08-19 18:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508768512001,"66":13526,"109":206,"85":15104,"24":7,"16":120897256298643456,"45":9092978778914064384},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508768512001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:17:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:17:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897256298643456,"km_value":120897256298643.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092978778914064384,"description":"Unknown IO ID 45"} 
[2026-08-19 18:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508768512001,"power":13526,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9092978778914064384}} 
[2026-08-19 18:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":159010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:17:51] local.INFO: GPS data processed {"connection_id":159010,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:17:51] local.INFO: Acknowledgment sent {"connection_id":159010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:17:53] local.INFO: TCP Data received {"connection_id":159010,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0fa8c8012d7e31c005d357580006004b2b..."} 
[2026-08-19 18:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0fa8c8012d7e31c005d357580006004b2b..."} 
[2026-08-19 18:17:53] local.INFO: Processing buffer {"connection_id":159010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0fa8c8012d7e31c005d357580006004b2b..."} 
[2026-08-19 18:17:53] local.INFO: Packet analysis {"connection_id":159010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0f"} 
[2026-08-19 18:17:53] local.INFO: Extracted packet for processing {"connection_id":159010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0f"} 
[2026-08-19 18:17:53] local.INFO: GPS Element Parsed {"raw_longitude":763244992,"raw_latitude":97736536,"longitude_deg":76.3244992,"latitude_deg":9.7736536,"altitude":6,"angle":75,"satellites":43,"speed":9,"hex_longitude":"2d7e31c0","hex_latitude":"05d35758","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508768768001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897264888578048,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093119516402452480,"note":"Value kept but may cause issues"} 
[2026-08-19 18:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787143629000,"timestamp_ms":1787143629000,"timestamp_seconds":1787143629,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0fa8c8"} 
[2026-08-19 18:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:17:53] 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-08-19 18: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-19 18:17:53] 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-08-19 18: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-08-19 18:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:17:53] 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-08-19 18:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508768768001,"66":13678,"109":206,"85":15104,"24":9,"16":120897264888578048,"45":9093119516402452480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508768768001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:17:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:17:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897264888578048,"km_value":120897264888578.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093119516402452480,"description":"Unknown IO ID 45"} 
[2026-08-19 18:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508768768001,"power":13678,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9093119516402452480}} 
[2026-08-19 18:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":159010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:17:53] local.INFO: GPS data processed {"connection_id":159010,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:17:53] local.INFO: Acknowledgment sent {"connection_id":159010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:17:58] local.INFO: TCP Data received {"connection_id":160328,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:17:58] local.INFO: Processing buffer {"connection_id":160328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:17:58] local.INFO: IMEI packet received {"connection_id":160328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":160328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:18:03] local.INFO: TCP Data received {"connection_id":160328,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:18:03] local.INFO: Processing buffer {"connection_id":160328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:18:03] local.INFO: IMEI packet received {"connection_id":160328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":160328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:18:05] local.INFO: TCP Data received {"connection_id":160328,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:18:05] local.INFO: Processing buffer {"connection_id":160328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:18:05] local.INFO: Packet analysis {"connection_id":160328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:18:05] local.INFO: Extracted packet for processing {"connection_id":160328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:18:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508668672001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787143538000,"timestamp_ms":1787143538000,"timestamp_seconds":1787143538,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0e4550"} 
[2026-08-19 18:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:18: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-08-19 18:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508668672001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508668672001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:18:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:18:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508668672001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":160328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:18:05] local.INFO: GPS data processed {"connection_id":160328,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:18:05] local.INFO: Acknowledgment sent {"connection_id":160328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:18:08] local.INFO: TCP Data received {"connection_id":158144,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:18:08] local.INFO: Processing buffer {"connection_id":158144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:18:08] local.INFO: IMEI packet received {"connection_id":158144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":158144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:18:13] local.INFO: TCP Data received {"connection_id":158144,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:18:13] local.INFO: Processing buffer {"connection_id":158144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:18:13] local.INFO: IMEI packet received {"connection_id":158144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":158144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:18:13] local.INFO: TCP Data received {"connection_id":158144,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0ca740012d1820400721b248004700cd2b..."} 
[2026-08-19 18:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0ca740012d1820400721b248004700cd2b..."} 
[2026-08-19 18:18:14] local.INFO: Processing buffer {"connection_id":158144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0ca740012d1820400721b248004700cd2b..."} 
[2026-08-19 18:18:14] local.INFO: Packet analysis {"connection_id":158144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0c"} 
[2026-08-19 18:18:14] local.INFO: Extracted packet for processing {"connection_id":158144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0c"} 
[2026-08-19 18:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648840,"longitude_deg":75.655584,"latitude_deg":11.964884,"altitude":71,"angle":205,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b248","is_valid_coordinates":true} 
[2026-08-19 18:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508713216001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963325226352640,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027686400,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18: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-08-19 18:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787143432000,"timestamp_ms":1787143432000,"timestamp_seconds":1787143432,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0ca740"} 
[2026-08-19 18:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:18: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-08-19 18:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6981027300,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2315255808,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503812690280448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":26,"raw_value":424684172256748736,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3038249034,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6629562534284558592,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147951029,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":8,"raw_value":2164313450,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2609512448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429445709586566953,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-576234895391535533,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195075584,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84750514109489591,"corrected_to":0} 
[2026-08-19 18:18:14] local.WARNING: Large IO value detected {"io_id":32,"raw_value":20548837923880960,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:14] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,155,160,65,45,64,180,74,42,10,66,231,128,181,41,1,240,118,227,26,33,4,113,205,34,239,8,2,49,7,73,50,164,138,69,200,32],"length":625,"final_offset":755,"validated_count":43,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0},{"io_id":200,"original":84750514109489591,"validated":0}]} 
[2026-08-19 18:18:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116316955988590592,"timestamp_seconds":5116316955988591.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 18:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508713216001,"66":12841,"105":206,"83":41984,"24":0,"16":13963325226352640,"45":1738600593027686400},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508713216001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:18:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:18:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963325226352640,"km_value":13963325226352.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027686400,"description":"Unknown IO ID 45"} 
[2026-08-19 18:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508713216001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027686400}} 
[2026-08-19 18:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":158144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:18:14] local.INFO: GPS data processed {"connection_id":158144,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:18:14] local.INFO: Acknowledgment sent {"connection_id":158144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:18:24] local.INFO: TCP Data received {"connection_id":159010,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0ffad0012d7e380005d359000006004e2b..."} 
[2026-08-19 18:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0ffad0012d7e380005d359000006004e2b..."} 
[2026-08-19 18:18:24] local.INFO: Processing buffer {"connection_id":159010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0ffad0012d7e380005d359000006004e2b..."} 
[2026-08-19 18:18:24] local.INFO: Packet analysis {"connection_id":159010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0f"} 
[2026-08-19 18:18:24] local.INFO: Extracted packet for processing {"connection_id":159010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0f"} 
[2026-08-19 18:18:24] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97736960,"longitude_deg":76.3246592,"latitude_deg":9.773696,"altitude":6,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d35900","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508769024001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897346492956672,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093260253890828288,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18: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-08-19 18:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787143650000,"timestamp_ms":1787143650000,"timestamp_seconds":1787143650,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0ffad0"} 
[2026-08-19 18:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:18:24] 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-08-19 18: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-19 18:18: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-08-19 18: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-08-19 18:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:18:24] 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-08-19 18:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508769024001,"66":13798,"109":206,"85":15104,"24":0,"16":120897346492956672,"45":9093260253890828288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508769024001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:18:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:18:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897346492956672,"km_value":120897346492956.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093260253890828288,"description":"Unknown IO ID 45"} 
[2026-08-19 18:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508769024001,"power":13798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093260253890828288}} 
[2026-08-19 18:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":159010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:18:24] local.INFO: GPS data processed {"connection_id":159010,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:18:24] local.INFO: Acknowledgment sent {"connection_id":159010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:18:36] local.INFO: TCP Data received {"connection_id":160328,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:18:36] local.INFO: Processing buffer {"connection_id":160328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:18:36] local.INFO: Packet analysis {"connection_id":160328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:18:36] local.INFO: Extracted packet for processing {"connection_id":160328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:18:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508668672001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787143538000,"timestamp_ms":1787143538000,"timestamp_seconds":1787143538,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0e4550"} 
[2026-08-19 18:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508668672001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508668672001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:18:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:18:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508668672001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":160328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:18:36] local.INFO: GPS data processed {"connection_id":160328,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:18:36] local.INFO: Acknowledgment sent {"connection_id":160328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:18:41] local.INFO: TCP Data received {"connection_id":159011,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:18:41] local.INFO: Processing buffer {"connection_id":159011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:18:41] local.INFO: IMEI packet received {"connection_id":159011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":159011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:18:44] local.INFO: TCP Data received {"connection_id":158144,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0cf948012d1820400721b248004700cd29..."} 
[2026-08-19 18:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0cf948012d1820400721b248004700cd29..."} 
[2026-08-19 18:18:44] local.INFO: Processing buffer {"connection_id":158144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0cf948012d1820400721b248004700cd29..."} 
[2026-08-19 18:18:44] local.INFO: Packet analysis {"connection_id":158144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0c"} 
[2026-08-19 18:18:44] local.INFO: Extracted packet for processing {"connection_id":158144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0c"} 
[2026-08-19 18:18:44] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648840,"longitude_deg":75.655584,"latitude_deg":11.964884,"altitude":71,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b248","is_valid_coordinates":true} 
[2026-08-19 18:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508718592001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963325226352640,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539292160,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787143453000,"timestamp_ms":1787143453000,"timestamp_seconds":1787143453,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0cf948"} 
[2026-08-19 18:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 18:18:44] 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-08-19 18:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508718592001,"66":12841,"105":206,"83":41984,"24":0,"16":13963325226352640,"45":1738459855539292160},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508718592001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:18:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:18:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963325226352640,"km_value":13963325226352.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539292160,"description":"Unknown IO ID 45"} 
[2026-08-19 18:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508718592001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539292160}} 
[2026-08-19 18:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":158144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:18:44] local.INFO: GPS data processed {"connection_id":158144,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:18:44] local.INFO: Acknowledgment sent {"connection_id":158144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:18:46] local.INFO: TCP Data received {"connection_id":159011,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:18:46] local.INFO: Processing buffer {"connection_id":159011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:18:46] local.INFO: IMEI packet received {"connection_id":159011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":159011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:18:47] local.INFO: TCP Data received {"connection_id":159011,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a104cd8012d7e374005d359680006004e2c..."} 
[2026-08-19 18:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a104cd8012d7e374005d359680006004e2c..."} 
[2026-08-19 18:18:47] local.INFO: Processing buffer {"connection_id":159011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a104cd8012d7e374005d359680006004e2c..."} 
[2026-08-19 18:18:47] local.INFO: Packet analysis {"connection_id":159011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a10"} 
[2026-08-19 18:18:47] local.INFO: Extracted packet for processing {"connection_id":159011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a10"} 
[2026-08-19 18:18:47] local.INFO: GPS Element Parsed {"raw_longitude":763246400,"raw_latitude":97737064,"longitude_deg":76.32464,"latitude_deg":9.7737064,"altitude":6,"angle":78,"satellites":44,"speed":2,"hex_longitude":"2d7e3740","hex_latitude":"05d35968","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508774400001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897359377858560,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472495378432,"note":"Value kept but may cause issues"} 
[2026-08-19 18:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787143671000,"timestamp_ms":1787143671000,"timestamp_seconds":1787143671,"priority":1,"record_length":96,"hex_timestamp":"000001a01a104cd8"} 
[2026-08-19 18:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-19 18:18:47] 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-08-19 18: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-08-19 18:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":159011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":159011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":159011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:18:47] 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-08-19 18:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508774400001,"66":13602,"109":206,"85":15104,"24":2,"16":120897359377858560,"45":9095019472495378432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508774400001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:18:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:18:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897359377858560,"km_value":120897359377858.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472495378432,"description":"Unknown IO ID 45"} 
[2026-08-19 18:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508774400001,"power":13602,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9095019472495378432}} 
[2026-08-19 18:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":159011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:18:47] local.INFO: GPS data processed {"connection_id":159011,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:18:47] local.INFO: Acknowledgment sent {"connection_id":159011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:18:58] local.INFO: TCP Data received {"connection_id":158145,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:18:58] local.INFO: Processing buffer {"connection_id":158145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:18:58] local.INFO: IMEI packet received {"connection_id":158145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":158145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:19:04] local.INFO: TCP Data received {"connection_id":158145,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:19:04] local.INFO: Processing buffer {"connection_id":158145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:19:04] local.INFO: IMEI packet received {"connection_id":158145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":158145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:19:05] local.INFO: TCP Data received {"connection_id":158145,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:19:05] local.INFO: Processing buffer {"connection_id":158145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:19:05] local.INFO: Packet analysis {"connection_id":158145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:19:05] local.INFO: Extracted packet for processing {"connection_id":158145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:19:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508668672001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:19:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787143538000,"timestamp_ms":1787143538000,"timestamp_seconds":1787143538,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0e4550"} 
[2026-08-19 18:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:19: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-08-19 18:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508668672001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508668672001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:19:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:19:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508668672001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":158145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:19:05] local.INFO: GPS data processed {"connection_id":158145,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:19:05] local.INFO: Acknowledgment sent {"connection_id":158145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:19:13] local.INFO: TCP Data received {"connection_id":158146,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:19:13] local.INFO: Processing buffer {"connection_id":158146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:19:13] local.INFO: IMEI packet received {"connection_id":158146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":158146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:19:18] local.INFO: TCP Data received {"connection_id":159011,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:19:18] local.INFO: Processing buffer {"connection_id":159011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:19:18] local.INFO: Packet analysis {"connection_id":159011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a10"} 
[2026-08-19 18:19:18] local.INFO: Extracted packet for processing {"connection_id":159011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a10"} 
[2026-08-19 18:19:18] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736928,"longitude_deg":76.3247168,"latitude_deg":9.7736928,"altitude":6,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358e0","is_valid_coordinates":true} 
[2026-08-19 18:19: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-08-19 18:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508779776001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094808366262872064,"note":"Value kept but may cause issues"} 
[2026-08-19 18:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787143686000,"timestamp_ms":1787143686000,"timestamp_seconds":1787143686,"priority":1,"record_length":96,"hex_timestamp":"000001a01a108770"} 
[2026-08-19 18:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:19:18] 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-08-19 18: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-19 18:19:18] 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-08-19 18: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-08-19 18:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:19:18] 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-08-19 18:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508779776001,"66":13374,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9094808366262872064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508779776001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:19:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:19:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094808366262872064,"description":"Unknown IO ID 45"} 
[2026-08-19 18:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508779776001,"power":13374,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094808366262872064}} 
[2026-08-19 18:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":159011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:19:18] local.INFO: GPS data processed {"connection_id":159011,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:19:18] local.INFO: Acknowledgment sent {"connection_id":159011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:19:18] local.INFO: TCP Data received {"connection_id":158146,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:19:18] local.INFO: Processing buffer {"connection_id":158146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:19:18] local.INFO: IMEI packet received {"connection_id":158146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":158146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:19:19] local.INFO: TCP Data received {"connection_id":158146,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0d4b50012d1820400721b248004700cd2a..."} 
[2026-08-19 18:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0d4b50012d1820400721b248004700cd2a..."} 
[2026-08-19 18:19:19] local.INFO: Processing buffer {"connection_id":158146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0d4b50012d1820400721b248004700cd2a..."} 
[2026-08-19 18:19:19] local.INFO: Packet analysis {"connection_id":158146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0d"} 
[2026-08-19 18:19:19] local.INFO: Extracted packet for processing {"connection_id":158146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0d"} 
[2026-08-19 18:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648840,"longitude_deg":75.655584,"latitude_deg":11.964884,"altitude":71,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b248","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508723968001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963325226352640,"note":"Value kept but may cause issues"} 
[2026-08-19 18:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539292160,"note":"Value kept but may cause issues"} 
[2026-08-19 18:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787143474000,"timestamp_ms":1787143474000,"timestamp_seconds":1787143474,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0d4b50"} 
[2026-08-19 18:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 18:19:19] 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-08-19 18: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-08-19 18:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508723968001,"66":12841,"105":206,"83":41984,"24":0,"16":13963325226352640,"45":1738459855539292160},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508723968001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:19:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963325226352640,"km_value":13963325226352.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539292160,"description":"Unknown IO ID 45"} 
[2026-08-19 18:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508723968001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539292160}} 
[2026-08-19 18:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":158146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:19:19] local.INFO: GPS data processed {"connection_id":158146,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:19:19] local.INFO: Acknowledgment sent {"connection_id":158146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:19:24] local.INFO: TCP Data received {"connection_id":158146,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0d9d58012d1820400721b248004700cd28..."} 
[2026-08-19 18:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0d9d58012d1820400721b248004700cd28..."} 
[2026-08-19 18:19:24] local.INFO: Processing buffer {"connection_id":158146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0d9d58012d1820400721b248004700cd28..."} 
[2026-08-19 18:19:24] local.INFO: Packet analysis {"connection_id":158146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0d"} 
[2026-08-19 18:19:24] local.INFO: Extracted packet for processing {"connection_id":158146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0d"} 
[2026-08-19 18:19:24] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648840,"longitude_deg":75.655584,"latitude_deg":11.964884,"altitude":71,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b248","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508729344001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963325226352640,"note":"Value kept but may cause issues"} 
[2026-08-19 18:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539292160,"note":"Value kept but may cause issues"} 
[2026-08-19 18:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787143495000,"timestamp_ms":1787143495000,"timestamp_seconds":1787143495,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0d9d58"} 
[2026-08-19 18:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:19:24] 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-08-19 18:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 18:19:24] 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-08-19 18: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-08-19 18:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508729344001,"66":12776,"105":206,"83":41984,"24":0,"16":13963325226352640,"45":1738459855539292160},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508729344001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:19:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:19:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963325226352640,"km_value":13963325226352.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539292160,"description":"Unknown IO ID 45"} 
[2026-08-19 18:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508729344001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539292160}} 
[2026-08-19 18:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":158146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:19:24] local.INFO: GPS data processed {"connection_id":158146,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:19:24] local.INFO: Acknowledgment sent {"connection_id":158146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:19:37] local.INFO: TCP Data received {"connection_id":158145,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:19:37] local.INFO: Processing buffer {"connection_id":158145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:19:37] local.INFO: Packet analysis {"connection_id":158145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:19:37] local.INFO: Extracted packet for processing {"connection_id":158145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:19:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508668672001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:19:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787143538000,"timestamp_ms":1787143538000,"timestamp_seconds":1787143538,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0e4550"} 
[2026-08-19 18:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508668672001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508668672001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:19:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:19:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508668672001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":158145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:19:37] local.INFO: GPS data processed {"connection_id":158145,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:19:37] local.INFO: Acknowledgment sent {"connection_id":158145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:19:41] local.INFO: TCP Data received {"connection_id":158147,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:19:41] local.INFO: Processing buffer {"connection_id":158147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:19:41] local.INFO: IMEI packet received {"connection_id":158147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":158147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:19:47] local.INFO: TCP Data received {"connection_id":158147,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:19:47] local.INFO: Processing buffer {"connection_id":158147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:19:47] local.INFO: IMEI packet received {"connection_id":158147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":158147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:19:48] local.INFO: TCP Data received {"connection_id":158147,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:19:48] local.INFO: Processing buffer {"connection_id":158147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:19:48] local.INFO: Packet analysis {"connection_id":158147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a10"} 
[2026-08-19 18:19:48] local.INFO: Extracted packet for processing {"connection_id":158147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a10"} 
[2026-08-19 18:19:48] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736928,"longitude_deg":76.3247168,"latitude_deg":9.7736928,"altitude":6,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358e0","is_valid_coordinates":true} 
[2026-08-19 18:19:48] 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-08-19 18:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787143686000,"timestamp_ms":1787143686000,"timestamp_seconds":1787143686,"priority":1,"record_length":96,"hex_timestamp":"000001a01a108770"} 
[2026-08-19 18:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18: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-08-19 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 18:19:48] 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-08-19 18: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-08-19 18:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":158147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":158147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":158147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:19:48] 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-08-19 18:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":13374,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:19:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:19:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":13374,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":158147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:19:48] local.INFO: GPS data processed {"connection_id":158147,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:19:48] local.INFO: Acknowledgment sent {"connection_id":158147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:20:03] local.INFO: TCP Data received {"connection_id":160329,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:20:03] local.INFO: Processing buffer {"connection_id":160329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:20:03] local.INFO: IMEI packet received {"connection_id":160329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":160329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:20:06] local.INFO: TCP Data received {"connection_id":160330,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:20:06] local.INFO: Processing buffer {"connection_id":160330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:20:06] local.INFO: IMEI packet received {"connection_id":160330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":160330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:20:08] local.INFO: TCP Data received {"connection_id":160330,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:20:08] local.INFO: Processing buffer {"connection_id":160330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:20:08] local.INFO: IMEI packet received {"connection_id":160330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":160330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:20:09] local.INFO: TCP Data received {"connection_id":160329,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:20:09] local.INFO: Processing buffer {"connection_id":160329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:20:09] local.INFO: IMEI packet received {"connection_id":160329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":160329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:20:10] local.INFO: TCP Data received {"connection_id":160329,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:20:10] local.INFO: Processing buffer {"connection_id":160329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:20:10] local.INFO: Packet analysis {"connection_id":160329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:20:10] local.INFO: Extracted packet for processing {"connection_id":160329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:20:10] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508668672001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787143538000,"timestamp_ms":1787143538000,"timestamp_seconds":1787143538,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0e4550"} 
[2026-08-19 18:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508668672001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508668672001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:20:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508668672001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":160329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:20:10] local.INFO: GPS data processed {"connection_id":160329,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:20:10] local.INFO: Acknowledgment sent {"connection_id":160329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:20:13] local.INFO: TCP Data received {"connection_id":160330,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:20:13] local.INFO: Processing buffer {"connection_id":160330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:20:13] local.INFO: IMEI packet received {"connection_id":160330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":160330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:20:14] local.INFO: TCP Data received {"connection_id":160330,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1123b0012d1820400721b248004700cd2a..."} 
[2026-08-19 18:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1123b0012d1820400721b248004700cd2a..."} 
[2026-08-19 18:20:14] local.INFO: Processing buffer {"connection_id":160330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1123b0012d1820400721b248004700cd2a..."} 
[2026-08-19 18:20:14] local.INFO: Packet analysis {"connection_id":160330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a11"} 
[2026-08-19 18:20:14] local.INFO: Extracted packet for processing {"connection_id":160330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a11"} 
[2026-08-19 18:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648840,"longitude_deg":75.655584,"latitude_deg":11.964884,"altitude":71,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b248","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508788480001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963325226352640,"note":"Value kept but may cause issues"} 
[2026-08-19 18:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539292160,"note":"Value kept but may cause issues"} 
[2026-08-19 18:20:14] 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-08-19 18:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787143726000,"timestamp_ms":1787143726000,"timestamp_seconds":1787143726,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1123b0"} 
[2026-08-19 18:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:20: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-08-19 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 18:20:14] 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-08-19 18: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-08-19 18:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508788480001,"66":12689,"107":206,"83":41984,"24":0,"16":13963325226352640,"45":1738459855539292160},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 18:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508788480001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:20:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 18:20:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963325226352640,"km_value":13963325226352.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539292160,"description":"Unknown IO ID 45"} 
[2026-08-19 18:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508788480001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539292160}} 
[2026-08-19 18:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":160330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:20:14] local.INFO: GPS data processed {"connection_id":160330,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:20:14] local.INFO: Acknowledgment sent {"connection_id":160330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:20:19] local.INFO: TCP Data received {"connection_id":158147,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:20:19] local.INFO: Processing buffer {"connection_id":158147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:20:19] local.INFO: Packet analysis {"connection_id":158147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a10"} 
[2026-08-19 18:20:19] local.INFO: Extracted packet for processing {"connection_id":158147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a10"} 
[2026-08-19 18:20:19] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736928,"longitude_deg":76.3247168,"latitude_deg":9.7736928,"altitude":6,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358e0","is_valid_coordinates":true} 
[2026-08-19 18:20: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-08-19 18:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:20: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-08-19 18:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787143686000,"timestamp_ms":1787143686000,"timestamp_seconds":1787143686,"priority":1,"record_length":96,"hex_timestamp":"000001a01a108770"} 
[2026-08-19 18:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:20: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-08-19 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 18:20: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-08-19 18: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-08-19 18:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:20:19] 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-08-19 18:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":13374,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:20:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:20:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":13374,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":158147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:20:19] local.INFO: GPS data processed {"connection_id":158147,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:20:19] local.INFO: Acknowledgment sent {"connection_id":158147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:20:42] local.INFO: TCP Data received {"connection_id":160329,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:20:42] local.INFO: Processing buffer {"connection_id":160329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:20:42] local.INFO: Packet analysis {"connection_id":160329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:20:42] local.INFO: Extracted packet for processing {"connection_id":160329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:20:42] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508668672001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:20:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787143538000,"timestamp_ms":1787143538000,"timestamp_seconds":1787143538,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0e4550"} 
[2026-08-19 18:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:20:42] 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-08-19 18: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508668672001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508668672001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:20:42] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:20:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508668672001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":160329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:20:42] local.INFO: GPS data processed {"connection_id":160329,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:20:42] local.INFO: Acknowledgment sent {"connection_id":160329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:20:43] local.INFO: TCP Data received {"connection_id":157791,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:20:43] local.INFO: Processing buffer {"connection_id":157791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:20:43] local.INFO: IMEI packet received {"connection_id":157791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":157791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:20:45] local.INFO: TCP Data received {"connection_id":160330,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1175b8012d1820400721b248004700cd28..."} 
[2026-08-19 18:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1175b8012d1820400721b248004700cd28..."} 
[2026-08-19 18:20:45] local.INFO: Processing buffer {"connection_id":160330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1175b8012d1820400721b248004700cd28..."} 
[2026-08-19 18:20:45] local.INFO: Packet analysis {"connection_id":160330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a11"} 
[2026-08-19 18:20:45] local.INFO: Extracted packet for processing {"connection_id":160330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a11"} 
[2026-08-19 18:20:45] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648840,"longitude_deg":75.655584,"latitude_deg":11.964884,"altitude":71,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b248","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508793856001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963325226352640,"note":"Value kept but may cause issues"} 
[2026-08-19 18:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539292160,"note":"Value kept but may cause issues"} 
[2026-08-19 18:20:45] 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-08-19 18:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787143747000,"timestamp_ms":1787143747000,"timestamp_seconds":1787143747,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1175b8"} 
[2026-08-19 18:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:20: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-08-19 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 18:20: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-08-19 18: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-08-19 18:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508793856001,"66":12645,"107":206,"83":41984,"24":0,"16":13963325226352640,"45":1738459855539292160},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 18:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508793856001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:20:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 18:20:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963325226352640,"km_value":13963325226352.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539292160,"description":"Unknown IO ID 45"} 
[2026-08-19 18:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508793856001,"power":12645,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539292160}} 
[2026-08-19 18:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":160330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:20:45] local.INFO: GPS data processed {"connection_id":160330,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:20:45] local.INFO: Acknowledgment sent {"connection_id":160330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:20:47] local.INFO: TCP Data received {"connection_id":157791,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:20:47] local.INFO: Processing buffer {"connection_id":157791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:20:47] local.INFO: IMEI packet received {"connection_id":157791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":157791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:20:48] local.INFO: TCP Data received {"connection_id":157791,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:20:48] local.INFO: Processing buffer {"connection_id":157791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:20:48] local.INFO: Packet analysis {"connection_id":157791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a10"} 
[2026-08-19 18:20:48] local.INFO: Extracted packet for processing {"connection_id":157791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a10"} 
[2026-08-19 18:20:48] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736928,"longitude_deg":76.3247168,"latitude_deg":9.7736928,"altitude":6,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358e0","is_valid_coordinates":true} 
[2026-08-19 18:20:48] 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-08-19 18:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787143686000,"timestamp_ms":1787143686000,"timestamp_seconds":1787143686,"priority":1,"record_length":96,"hex_timestamp":"000001a01a108770"} 
[2026-08-19 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-08-19 18: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-08-19 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 18:20:48] 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-08-19 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-08-19 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-08-19 18:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":157791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":157791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":157791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:20:48] 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-08-19 18:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":13374,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:20:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:20:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":13374,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":157791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:20:48] local.INFO: GPS data processed {"connection_id":157791,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:20:48] local.INFO: Acknowledgment sent {"connection_id":157791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:20:59] local.INFO: TCP Data received {"connection_id":159012,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:20:59] local.INFO: Processing buffer {"connection_id":159012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:20:59] local.INFO: IMEI packet received {"connection_id":159012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":159012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:21:04] local.INFO: TCP Data received {"connection_id":159012,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:21:04] local.INFO: Processing buffer {"connection_id":159012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:21:04] local.INFO: IMEI packet received {"connection_id":159012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":159012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:21:05] local.INFO: TCP Data received {"connection_id":159012,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:21:05] local.INFO: Processing buffer {"connection_id":159012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a0e4550012ceb5f800713b858001400a128..."} 
[2026-08-19 18:21:05] local.INFO: Packet analysis {"connection_id":159012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:21:05] local.INFO: Extracted packet for processing {"connection_id":159012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a0e"} 
[2026-08-19 18:21:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508668672001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:21:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787143538000,"timestamp_ms":1787143538000,"timestamp_seconds":1787143538,"priority":1,"record_length":96,"hex_timestamp":"000001a01a0e4550"} 
[2026-08-19 18:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:21: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-08-19 18:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508668672001,"66":25604,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508668672001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:21:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:21:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508668672001,"power":25604,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":159012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:21:05] local.INFO: GPS data processed {"connection_id":159012,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:21:05] local.INFO: Acknowledgment sent {"connection_id":159012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:21:08] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:21:08] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:21:08] local.INFO: IMEI packet received {"connection_id":160331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":160331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:21:09] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:21:09] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:21:09] local.INFO: IMEI packet received {"connection_id":160331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":160331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:21:13] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:21:13] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:21:13] local.INFO: IMEI packet received {"connection_id":160331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":160331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:21:14] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a11c7c0012d1820400721b248004700cd2a..."} 
[2026-08-19 18:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a11c7c0012d1820400721b248004700cd2a..."} 
[2026-08-19 18:21:14] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a11c7c0012d1820400721b248004700cd2a..."} 
[2026-08-19 18:21:14] local.INFO: Packet analysis {"connection_id":160331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a11"} 
[2026-08-19 18:21:14] local.INFO: Extracted packet for processing {"connection_id":160331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a11"} 
[2026-08-19 18:21:14] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648840,"longitude_deg":75.655584,"latitude_deg":11.964884,"altitude":71,"angle":205,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b248","is_valid_coordinates":true} 
[2026-08-19 18:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508799232001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963325226352640,"note":"Value kept but may cause issues"} 
[2026-08-19 18:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539292160,"note":"Value kept but may cause issues"} 
[2026-08-19 18:21: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-08-19 18:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787143768000,"timestamp_ms":1787143768000,"timestamp_seconds":1787143768,"priority":1,"record_length":96,"hex_timestamp":"000001a01a11c7c0"} 
[2026-08-19 18:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:21: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-08-19 18:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-19 18:21:14] 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-08-19 18:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508799232001,"66":12602,"105":206,"83":41984,"24":0,"16":13963325226352640,"45":1738459855539292160},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508799232001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:21:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:21:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963325226352640,"km_value":13963325226352.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539292160,"description":"Unknown IO ID 45"} 
[2026-08-19 18:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508799232001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539292160}} 
[2026-08-19 18:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":160331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:21:14] local.INFO: GPS data processed {"connection_id":160331,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:21:14] local.INFO: Acknowledgment sent {"connection_id":160331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:21:19] local.INFO: TCP Data received {"connection_id":157791,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:21:19] local.INFO: Processing buffer {"connection_id":157791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:21:19] local.INFO: Packet analysis {"connection_id":157791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a10"} 
[2026-08-19 18:21:19] local.INFO: Extracted packet for processing {"connection_id":157791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a10"} 
[2026-08-19 18:21:19] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736928,"longitude_deg":76.3247168,"latitude_deg":9.7736928,"altitude":6,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358e0","is_valid_coordinates":true} 
[2026-08-19 18:21: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-08-19 18:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:21: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-08-19 18:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787143686000,"timestamp_ms":1787143686000,"timestamp_seconds":1787143686,"priority":1,"record_length":96,"hex_timestamp":"000001a01a108770"} 
[2026-08-19 18:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:21: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-08-19 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 18:21: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-08-19 18: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-08-19 18:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:21:19] 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-08-19 18:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":13374,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:21:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:21:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":13374,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":157791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:21:19] local.INFO: GPS data processed {"connection_id":157791,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:21:19] local.INFO: Acknowledgment sent {"connection_id":157791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:21:36] local.INFO: TCP Data received {"connection_id":159012,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:21:36] local.INFO: Processing buffer {"connection_id":159012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:21:36] local.INFO: Packet analysis {"connection_id":159012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:21:36] local.INFO: Extracted packet for processing {"connection_id":159012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:21:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508745728001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:21:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787143839000,"timestamp_ms":1787143839000,"timestamp_seconds":1787143839,"priority":1,"record_length":96,"hex_timestamp":"000001a01a12dd18"} 
[2026-08-19 18:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508745728001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508745728001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:21:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:21:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508745728001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":159012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:21:37] local.INFO: GPS data processed {"connection_id":159012,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:21:37] local.INFO: Acknowledgment sent {"connection_id":159012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:21:41] local.INFO: TCP Data received {"connection_id":159013,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159013,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:21:41] local.INFO: Processing buffer {"connection_id":159013,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:21:41] local.INFO: IMEI packet received {"connection_id":159013,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":159013,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:21:45] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1219c8012d1820000721b058004a00d42a..."} 
[2026-08-19 18:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1219c8012d1820000721b058004a00d42a..."} 
[2026-08-19 18:21:45] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1219c8012d1820000721b058004a00d42a..."} 
[2026-08-19 18:21:45] local.INFO: Packet analysis {"connection_id":160331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:21:45] local.INFO: Extracted packet for processing {"connection_id":160331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648344,"longitude_deg":75.6555776,"latitude_deg":11.9648344,"altitude":74,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b058","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508804608001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963355291123712,"note":"Value kept but may cause issues"} 
[2026-08-19 18:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539292160,"note":"Value kept but may cause issues"} 
[2026-08-19 18:21: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-08-19 18:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787143789000,"timestamp_ms":1787143789000,"timestamp_seconds":1787143789,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1219c8"} 
[2026-08-19 18:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:21:45] 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-08-19 18: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-19 18:21:45] 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-08-19 18: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-08-19 18:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508804608001,"66":12667,"105":206,"83":41984,"24":0,"16":13963355291123712,"45":1738459855539292160},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508804608001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:21:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:21:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963355291123712,"km_value":13963355291123.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539292160,"description":"Unknown IO ID 45"} 
[2026-08-19 18:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508804608001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539292160}} 
[2026-08-19 18:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":160331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:21:45] local.INFO: GPS data processed {"connection_id":160331,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:21:45] local.INFO: Acknowledgment sent {"connection_id":160331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:21:46] local.INFO: TCP Data received {"connection_id":159013,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159013,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:21:46] local.INFO: Processing buffer {"connection_id":159013,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:21:46] local.INFO: IMEI packet received {"connection_id":159013,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":159013,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:21:47] local.INFO: TCP Data received {"connection_id":159013,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:21:47] local.INFO: Processing buffer {"connection_id":159013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:21:47] local.INFO: Packet analysis {"connection_id":159013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a10"} 
[2026-08-19 18:21:47] local.INFO: Extracted packet for processing {"connection_id":159013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a10"} 
[2026-08-19 18:21:47] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736928,"longitude_deg":76.3247168,"latitude_deg":9.7736928,"altitude":6,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358e0","is_valid_coordinates":true} 
[2026-08-19 18:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:21: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-08-19 18:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787143686000,"timestamp_ms":1787143686000,"timestamp_seconds":1787143686,"priority":1,"record_length":96,"hex_timestamp":"000001a01a108770"} 
[2026-08-19 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-08-19 18:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 18:21:47] 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-08-19 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-08-19 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-08-19 18:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":159013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":159013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":159013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:21:47] 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-08-19 18:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":13374,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:21:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:21:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":13374,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":159013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:21:47] local.INFO: GPS data processed {"connection_id":159013,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:21:47] local.INFO: Acknowledgment sent {"connection_id":159013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:21:58] local.INFO: TCP Data received {"connection_id":160332,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:21:58] local.INFO: Processing buffer {"connection_id":160332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:21:58] local.INFO: IMEI packet received {"connection_id":160332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":160332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:22:03] local.INFO: TCP Data received {"connection_id":160332,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:22:03] local.INFO: Processing buffer {"connection_id":160332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:22:03] local.INFO: IMEI packet received {"connection_id":160332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":160332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:22:05] local.INFO: TCP Data received {"connection_id":160332,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:22:05] local.INFO: Processing buffer {"connection_id":160332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:22:05] local.INFO: Packet analysis {"connection_id":160332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:22:05] local.INFO: Extracted packet for processing {"connection_id":160332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:22:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508745728001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787143839000,"timestamp_ms":1787143839000,"timestamp_seconds":1787143839,"priority":1,"record_length":96,"hex_timestamp":"000001a01a12dd18"} 
[2026-08-19 18:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:22: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-08-19 18:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508745728001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508745728001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:22:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:22:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508745728001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":160332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:22:05] local.INFO: GPS data processed {"connection_id":160332,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:22:05] local.INFO: Acknowledgment sent {"connection_id":160332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:22:08] local.INFO: TCP Data received {"connection_id":159014,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:22:08] local.INFO: Processing buffer {"connection_id":159014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:22:08] local.INFO: IMEI packet received {"connection_id":159014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":159014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:22:12] local.INFO: TCP Data received {"connection_id":159014,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:22:12] local.INFO: Processing buffer {"connection_id":159014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:22:12] local.INFO: IMEI packet received {"connection_id":159014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":159014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:22:13] local.INFO: TCP Data received {"connection_id":159014,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a126bd0012d1820000721b058004a00d428..."} 
[2026-08-19 18:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a126bd0012d1820000721b058004a00d428..."} 
[2026-08-19 18:22:13] local.INFO: Processing buffer {"connection_id":159014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a126bd0012d1820000721b058004a00d428..."} 
[2026-08-19 18:22:13] local.INFO: Packet analysis {"connection_id":159014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:22:13] local.INFO: Extracted packet for processing {"connection_id":159014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:22:13] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648344,"longitude_deg":75.6555776,"latitude_deg":11.9648344,"altitude":74,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b058","is_valid_coordinates":true} 
[2026-08-19 18:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508809984001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963355291123712,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794987520,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787143810000,"timestamp_ms":1787143810000,"timestamp_seconds":1787143810,"priority":1,"record_length":96,"hex_timestamp":"000001a01a126bd0"} 
[2026-08-19 18:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:22:13] 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-08-19 18:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-19 18:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508809984001,"66":12558,"105":206,"83":41984,"24":0,"16":13963355291123712,"45":1738389486794987520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508809984001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:22:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:22:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963355291123712,"km_value":13963355291123.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794987520,"description":"Unknown IO ID 45"} 
[2026-08-19 18:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508809984001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486794987520}} 
[2026-08-19 18:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":159014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:22:13] local.INFO: GPS data processed {"connection_id":159014,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:22:13] local.INFO: Acknowledgment sent {"connection_id":159014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:22:18] local.INFO: TCP Data received {"connection_id":159013,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:22:18] local.INFO: Processing buffer {"connection_id":159013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:22:18] local.INFO: Packet analysis {"connection_id":159013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a10"} 
[2026-08-19 18:22:18] local.INFO: Extracted packet for processing {"connection_id":159013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a10"} 
[2026-08-19 18:22:18] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736928,"longitude_deg":76.3247168,"latitude_deg":9.7736928,"altitude":6,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358e0","is_valid_coordinates":true} 
[2026-08-19 18:22:18] 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-08-19 18:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787143686000,"timestamp_ms":1787143686000,"timestamp_seconds":1787143686,"priority":1,"record_length":96,"hex_timestamp":"000001a01a108770"} 
[2026-08-19 18:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 18:22:18] 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-08-19 18: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-08-19 18:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:22:18] 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-08-19 18:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":13374,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:22:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:22:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":13374,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":159013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:22:18] local.INFO: GPS data processed {"connection_id":159013,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:22:18] local.INFO: Acknowledgment sent {"connection_id":159013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:22:36] local.INFO: TCP Data received {"connection_id":160332,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:22:36] local.INFO: Processing buffer {"connection_id":160332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:22:36] local.INFO: Packet analysis {"connection_id":160332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:22:36] local.INFO: Extracted packet for processing {"connection_id":160332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:22:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508745728001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787143839000,"timestamp_ms":1787143839000,"timestamp_seconds":1787143839,"priority":1,"record_length":96,"hex_timestamp":"000001a01a12dd18"} 
[2026-08-19 18:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508745728001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508745728001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:22:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:22:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508745728001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":160332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:22:36] local.INFO: GPS data processed {"connection_id":160332,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:22:36] local.INFO: Acknowledgment sent {"connection_id":160332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:22:41] local.INFO: TCP Data received {"connection_id":157792,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:22:41] local.INFO: Processing buffer {"connection_id":157792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:22:41] local.INFO: IMEI packet received {"connection_id":157792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":157792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:22:44] local.INFO: TCP Data received {"connection_id":159014,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a12bdd8012d1820000721b058004a00d428..."} 
[2026-08-19 18:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a12bdd8012d1820000721b058004a00d428..."} 
[2026-08-19 18:22:44] local.INFO: Processing buffer {"connection_id":159014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a12bdd8012d1820000721b058004a00d428..."} 
[2026-08-19 18:22:44] local.INFO: Packet analysis {"connection_id":159014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:22:44] local.INFO: Extracted packet for processing {"connection_id":159014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:22:44] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648344,"longitude_deg":75.6555776,"latitude_deg":11.9648344,"altitude":74,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b058","is_valid_coordinates":true} 
[2026-08-19 18:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508815360001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963355291123712,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794987520,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787143831000,"timestamp_ms":1787143831000,"timestamp_seconds":1787143831,"priority":1,"record_length":96,"hex_timestamp":"000001a01a12bdd8"} 
[2026-08-19 18:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-19 18:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:44] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382590517457480,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:44] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2991063111,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-19 18:22:44] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:44] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2610036736,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:44] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:44] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:44] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:44] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,155,160,25,45,176,74,42,10,66,199,64,178,71,117,1,240,101,227,26,33,4,113,205,209,32,72,41,239,49,107,2,7,106,88,206],"length":575,"final_offset":705,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-19 18:22:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332495227070447616,"timestamp_seconds":5332495227070448.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 18:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508815360001,"66":12591,"105":206,"83":41984,"24":0,"16":13963355291123712,"45":1738389486794987520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508815360001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:22:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:22:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963355291123712,"km_value":13963355291123.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794987520,"description":"Unknown IO ID 45"} 
[2026-08-19 18:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508815360001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486794987520}} 
[2026-08-19 18:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":159014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:22:44] local.INFO: GPS data processed {"connection_id":159014,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:22:44] local.INFO: Acknowledgment sent {"connection_id":159014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:22:47] local.INFO: TCP Data received {"connection_id":157792,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:22:47] local.INFO: Processing buffer {"connection_id":157792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:22:47] local.INFO: IMEI packet received {"connection_id":157792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":157792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:22:48] local.INFO: TCP Data received {"connection_id":157792,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:22:48] local.INFO: Processing buffer {"connection_id":157792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a108770012d7e3a4005d358e00006004e2c..."} 
[2026-08-19 18:22:48] local.INFO: Packet analysis {"connection_id":157792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a10"} 
[2026-08-19 18:22:48] local.INFO: Extracted packet for processing {"connection_id":157792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a10"} 
[2026-08-19 18:22:48] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736928,"longitude_deg":76.3247168,"latitude_deg":9.7736928,"altitude":6,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358e0","is_valid_coordinates":true} 
[2026-08-19 18:22:48] 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-08-19 18:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787143686000,"timestamp_ms":1787143686000,"timestamp_seconds":1787143686,"priority":1,"record_length":96,"hex_timestamp":"000001a01a108770"} 
[2026-08-19 18:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18: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-08-19 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 18:22:48] 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-08-19 18: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-08-19 18:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":157792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":157792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":157792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:22:48] 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-08-19 18:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":13374,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:22:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:22:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":13374,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":157792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:22:48] local.INFO: GPS data processed {"connection_id":157792,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:22:48] local.INFO: Acknowledgment sent {"connection_id":157792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:22:58] local.INFO: TCP Data received {"connection_id":159015,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:22:58] local.INFO: Processing buffer {"connection_id":159015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:22:58] local.INFO: IMEI packet received {"connection_id":159015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":159015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:23:04] local.INFO: TCP Data received {"connection_id":159015,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:23:04] local.INFO: Processing buffer {"connection_id":159015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:23:04] local.INFO: IMEI packet received {"connection_id":159015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":159015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:23:05] local.INFO: TCP Data received {"connection_id":159015,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:23:05] local.INFO: Processing buffer {"connection_id":159015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:23:05] local.INFO: Packet analysis {"connection_id":159015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:23:05] local.INFO: Extracted packet for processing {"connection_id":159015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:23:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508745728001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787143839000,"timestamp_ms":1787143839000,"timestamp_seconds":1787143839,"priority":1,"record_length":96,"hex_timestamp":"000001a01a12dd18"} 
[2026-08-19 18:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:23: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-08-19 18:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508745728001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508745728001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:23:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:23:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508745728001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":159015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:23:05] local.INFO: GPS data processed {"connection_id":159015,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:23:05] local.INFO: Acknowledgment sent {"connection_id":159015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:23:08] local.INFO: TCP Data received {"connection_id":158148,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:23:08] local.INFO: Processing buffer {"connection_id":158148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:23:08] local.INFO: IMEI packet received {"connection_id":158148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":158148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:23:13] local.INFO: TCP Data received {"connection_id":158148,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:23:13] local.INFO: Processing buffer {"connection_id":158148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:23:13] local.INFO: IMEI packet received {"connection_id":158148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":158148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:23:14] local.INFO: TCP Data received {"connection_id":158148,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a130fe0012d1820000721b058004a00d42b..."} 
[2026-08-19 18:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a130fe0012d1820000721b058004a00d42b..."} 
[2026-08-19 18:23:14] local.INFO: Processing buffer {"connection_id":158148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a130fe0012d1820000721b058004a00d42b..."} 
[2026-08-19 18:23:14] local.INFO: Packet analysis {"connection_id":158148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a13"} 
[2026-08-19 18:23:14] local.INFO: Extracted packet for processing {"connection_id":158148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a13"} 
[2026-08-19 18:23:14] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648344,"longitude_deg":75.6555776,"latitude_deg":11.9648344,"altitude":74,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b058","is_valid_coordinates":true} 
[2026-08-19 18:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508820736001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963355291123712,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794987520,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23: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-08-19 18:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787143852000,"timestamp_ms":1787143852000,"timestamp_seconds":1787143852,"priority":1,"record_length":96,"hex_timestamp":"000001a01a130fe0"} 
[2026-08-19 18:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:23:14] 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-08-19 18:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 18:23:14] 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-08-19 18:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508820736001,"66":12613,"105":206,"83":41984,"24":0,"16":13963355291123712,"45":1738389486794987520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508820736001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:23:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:23:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963355291123712,"km_value":13963355291123.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794987520,"description":"Unknown IO ID 45"} 
[2026-08-19 18:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508820736001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486794987520}} 
[2026-08-19 18:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":158148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:23:14] local.INFO: GPS data processed {"connection_id":158148,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:23:14] local.INFO: Acknowledgment sent {"connection_id":158148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:23:19] local.INFO: TCP Data received {"connection_id":157792,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:23:19] local.INFO: Processing buffer {"connection_id":157792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:23:19] local.INFO: Packet analysis {"connection_id":157792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:23:19] local.INFO: Extracted packet for processing {"connection_id":157792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:23:19] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736872,"longitude_deg":76.3247168,"latitude_deg":9.7736872,"altitude":6,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358a8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23: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-08-19 18:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787143989000,"timestamp_ms":1787143989000,"timestamp_seconds":1787143989,"priority":1,"record_length":96,"hex_timestamp":"000001a01a152708"} 
[2026-08-19 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-08-19 18:23: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-08-19 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-08-19 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-08-19 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-08-19 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-08-19 18:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:23:19] 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-08-19 18:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":12961,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:23:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:23:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":12961,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":157792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:23:19] local.INFO: GPS data processed {"connection_id":157792,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:23:19] local.INFO: Acknowledgment sent {"connection_id":157792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:23:37] local.INFO: TCP Data received {"connection_id":159015,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:23:37] local.INFO: Processing buffer {"connection_id":159015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:23:37] local.INFO: Packet analysis {"connection_id":159015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:23:37] local.INFO: Extracted packet for processing {"connection_id":159015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:23:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508745728001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787143839000,"timestamp_ms":1787143839000,"timestamp_seconds":1787143839,"priority":1,"record_length":96,"hex_timestamp":"000001a01a12dd18"} 
[2026-08-19 18:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508745728001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508745728001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:23:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:23:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508745728001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":159015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:23:37] local.INFO: GPS data processed {"connection_id":159015,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:23:37] local.INFO: Acknowledgment sent {"connection_id":159015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:23:42] local.INFO: TCP Data received {"connection_id":158149,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:23:42] local.INFO: Processing buffer {"connection_id":158149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:23:42] local.INFO: IMEI packet received {"connection_id":158149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":158149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:23:45] local.INFO: TCP Data received {"connection_id":158148,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1361e8012d1820000721b058004a00d429..."} 
[2026-08-19 18:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1361e8012d1820000721b058004a00d429..."} 
[2026-08-19 18:23:45] local.INFO: Processing buffer {"connection_id":158148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1361e8012d1820000721b058004a00d429..."} 
[2026-08-19 18:23:45] local.INFO: Packet analysis {"connection_id":158148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a13"} 
[2026-08-19 18:23:45] local.INFO: Extracted packet for processing {"connection_id":158148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a13"} 
[2026-08-19 18:23:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648344,"longitude_deg":75.6555776,"latitude_deg":11.9648344,"altitude":74,"angle":212,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b058","is_valid_coordinates":true} 
[2026-08-19 18:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508826112001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963355291123712,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794987520,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23: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-08-19 18:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787143873000,"timestamp_ms":1787143873000,"timestamp_seconds":1787143873,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1361e8"} 
[2026-08-19 18:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:23:45] 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-08-19 18:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-19 18:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508826112001,"66":12548,"105":206,"83":41984,"24":0,"16":13963355291123712,"45":1738389486794987520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508826112001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:23:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:23:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963355291123712,"km_value":13963355291123.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794987520,"description":"Unknown IO ID 45"} 
[2026-08-19 18:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508826112001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486794987520}} 
[2026-08-19 18:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":158148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:23:45] local.INFO: GPS data processed {"connection_id":158148,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:23:45] local.INFO: Acknowledgment sent {"connection_id":158148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:23:46] local.INFO: TCP Data received {"connection_id":158149,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:23:46] local.INFO: Processing buffer {"connection_id":158149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:23:46] local.INFO: IMEI packet received {"connection_id":158149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":158149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:23:47] local.INFO: TCP Data received {"connection_id":158149,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:23:47] local.INFO: Processing buffer {"connection_id":158149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:23:47] local.INFO: Packet analysis {"connection_id":158149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:23:47] local.INFO: Extracted packet for processing {"connection_id":158149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:23:47] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736872,"longitude_deg":76.3247168,"latitude_deg":9.7736872,"altitude":6,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358a8","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23: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-08-19 18:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787143989000,"timestamp_ms":1787143989000,"timestamp_seconds":1787143989,"priority":1,"record_length":96,"hex_timestamp":"000001a01a152708"} 
[2026-08-19 18:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 18:23:47] 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-08-19 18: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-08-19 18:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:23:47] 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-08-19 18:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":12961,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:23:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:23:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":12961,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":158149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:23:47] local.INFO: GPS data processed {"connection_id":158149,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:23:47] local.INFO: Acknowledgment sent {"connection_id":158149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:23:51] local.INFO: TCP Data received {"connection_id":158149,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:23:51] local.INFO: Processing buffer {"connection_id":158149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:23:51] local.INFO: Packet analysis {"connection_id":158149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:23:51] local.INFO: Extracted packet for processing {"connection_id":158149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:23:51] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736872,"longitude_deg":76.3247168,"latitude_deg":9.7736872,"altitude":6,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358a8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787143989000,"timestamp_ms":1787143989000,"timestamp_seconds":1787143989,"priority":1,"record_length":96,"hex_timestamp":"000001a01a152708"} 
[2026-08-19 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-08-19 18:23: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-08-19 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 18:23:51] 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-08-19 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-08-19 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-08-19 18:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":158149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":158149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":158149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:23:51] 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-08-19 18:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":12961,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:23:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:23:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":12961,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":158149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:23:51] local.INFO: GPS data processed {"connection_id":158149,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:23:51] local.INFO: Acknowledgment sent {"connection_id":158149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:24:03] local.INFO: TCP Data received {"connection_id":159016,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:24:03] local.INFO: Processing buffer {"connection_id":159016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:24:03] local.INFO: IMEI packet received {"connection_id":159016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":159016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:24:09] local.INFO: TCP Data received {"connection_id":159016,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:24:09] local.INFO: Processing buffer {"connection_id":159016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:24:09] local.INFO: IMEI packet received {"connection_id":159016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":159016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:24:10] local.INFO: TCP Data received {"connection_id":159016,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:24:10] local.INFO: Processing buffer {"connection_id":159016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:24:10] local.INFO: Packet analysis {"connection_id":159016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:24:10] local.INFO: Extracted packet for processing {"connection_id":159016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:24:10] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508745728001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787143839000,"timestamp_ms":1787143839000,"timestamp_seconds":1787143839,"priority":1,"record_length":96,"hex_timestamp":"000001a01a12dd18"} 
[2026-08-19 18:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508745728001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508745728001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:24:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508745728001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":159016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:24:10] local.INFO: GPS data processed {"connection_id":159016,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:24:10] local.INFO: Acknowledgment sent {"connection_id":159016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:24:13] local.INFO: TCP Data received {"connection_id":157793,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:24:13] local.INFO: Processing buffer {"connection_id":157793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:24:13] local.INFO: IMEI packet received {"connection_id":157793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":157793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:24:18] local.INFO: TCP Data received {"connection_id":157793,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:24:18] local.INFO: Processing buffer {"connection_id":157793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:24:18] local.INFO: IMEI packet received {"connection_id":157793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":157793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:24:19] local.INFO: TCP Data received {"connection_id":157793,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a13b3f0012d1820000721b058004a00d428..."} 
[2026-08-19 18:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a13b3f0012d1820000721b058004a00d428..."} 
[2026-08-19 18:24:19] local.INFO: Processing buffer {"connection_id":157793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a13b3f0012d1820000721b058004a00d428..."} 
[2026-08-19 18:24:19] local.INFO: Packet analysis {"connection_id":157793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a13"} 
[2026-08-19 18:24:19] local.INFO: Extracted packet for processing {"connection_id":157793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a13"} 
[2026-08-19 18:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648344,"longitude_deg":75.6555776,"latitude_deg":11.9648344,"altitude":74,"angle":212,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b058","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508831488001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963355291123712,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794987520,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787143894000,"timestamp_ms":1787143894000,"timestamp_seconds":1787143894,"priority":1,"record_length":96,"hex_timestamp":"000001a01a13b3f0"} 
[2026-08-19 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-08-19 18:24: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-08-19 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2958557258,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2610036736,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,155,160,15,45,176,74,43,10,66,189,40,107,1,240,14,227,26,33,4,113,205,199,32,72,42,239,49,2,7,71,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-19 18:24:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332495231365414912,"timestamp_seconds":5332495231365415.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 18:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508831488001,"66":12548,"105":206,"83":41984,"24":0,"16":13963355291123712,"45":1738389486794987520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508831488001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:24:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:24:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963355291123712,"km_value":13963355291123.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794987520,"description":"Unknown IO ID 45"} 
[2026-08-19 18:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508831488001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486794987520}} 
[2026-08-19 18:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":157793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:24:19] local.INFO: GPS data processed {"connection_id":157793,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:24:19] local.INFO: Acknowledgment sent {"connection_id":157793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:24:19] local.INFO: TCP Data received {"connection_id":157793,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1405f8012d181e000721af48004600d12b..."} 
[2026-08-19 18:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1405f8012d181e000721af48004600d12b..."} 
[2026-08-19 18:24:19] local.INFO: Processing buffer {"connection_id":157793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1405f8012d181e000721af48004600d12b..."} 
[2026-08-19 18:24:19] local.INFO: Packet analysis {"connection_id":157793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a14"} 
[2026-08-19 18:24:19] local.INFO: Extracted packet for processing {"connection_id":157793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a14"} 
[2026-08-19 18:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648072,"longitude_deg":75.6555264,"latitude_deg":11.9648072,"altitude":70,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508836864001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963381060927488,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794987520,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787143915000,"timestamp_ms":1787143915000,"timestamp_seconds":1787143915,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1405f8"} 
[2026-08-19 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-08-19 18:24:19] 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-08-19 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184200569037,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2958557258,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2610495488,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,155,160,97,45,176,74,41,10,66,15,43,189,1,240,47,227,26,33,4,113,205,25,32,88,42,239,49,2,7,71,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-19 18:24:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332495227070447616,"timestamp_seconds":5332495227070448.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 18:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508836864001,"66":12548,"105":206,"83":41984,"24":0,"16":13963381060927488,"45":1738389486794987520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508836864001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:24:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:24:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963381060927488,"km_value":13963381060927.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794987520,"description":"Unknown IO ID 45"} 
[2026-08-19 18:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508836864001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486794987520}} 
[2026-08-19 18:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":157793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:24:20] local.INFO: GPS data processed {"connection_id":157793,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:24:20] local.INFO: Acknowledgment sent {"connection_id":157793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:24:22] local.INFO: TCP Data received {"connection_id":158149,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:24:22] local.INFO: Processing buffer {"connection_id":158149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:24:22] local.INFO: Packet analysis {"connection_id":158149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:24:22] local.INFO: Extracted packet for processing {"connection_id":158149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:24:22] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736872,"longitude_deg":76.3247168,"latitude_deg":9.7736872,"altitude":6,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358a8","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787143989000,"timestamp_ms":1787143989000,"timestamp_seconds":1787143989,"priority":1,"record_length":96,"hex_timestamp":"000001a01a152708"} 
[2026-08-19 18:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:24: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-08-19 18: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-08-19 18: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-08-19 18: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-08-19 18:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:24:22] 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-08-19 18:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":12961,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:24:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:24:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":12961,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":158149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:24:22] local.INFO: GPS data processed {"connection_id":158149,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:24:22] local.INFO: Acknowledgment sent {"connection_id":158149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:24:41] local.INFO: TCP Data received {"connection_id":157794,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:24:41] local.INFO: Processing buffer {"connection_id":157794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:24:41] local.INFO: IMEI packet received {"connection_id":157794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":157794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:24:42] local.INFO: TCP Data received {"connection_id":159016,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:24:42] local.INFO: Processing buffer {"connection_id":159016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:24:42] local.INFO: Packet analysis {"connection_id":159016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:24:42] local.INFO: Extracted packet for processing {"connection_id":159016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:24:42] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508745728001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787143839000,"timestamp_ms":1787143839000,"timestamp_seconds":1787143839,"priority":1,"record_length":96,"hex_timestamp":"000001a01a12dd18"} 
[2026-08-19 18:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:24:42] 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-08-19 18:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508745728001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508745728001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:24:42] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508745728001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":159016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:24:42] local.INFO: GPS data processed {"connection_id":159016,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:24:42] local.INFO: Acknowledgment sent {"connection_id":159016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:24:46] local.INFO: TCP Data received {"connection_id":157794,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157794,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:24:46] local.INFO: Processing buffer {"connection_id":157794,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:24:46] local.INFO: IMEI packet received {"connection_id":157794,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":157794,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:24:47] local.INFO: TCP Data received {"connection_id":157794,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:24:47] local.INFO: Processing buffer {"connection_id":157794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:24:47] local.INFO: Packet analysis {"connection_id":157794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:24:47] local.INFO: Extracted packet for processing {"connection_id":157794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:24:47] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736872,"longitude_deg":76.3247168,"latitude_deg":9.7736872,"altitude":6,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358a8","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24: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-08-19 18:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787143989000,"timestamp_ms":1787143989000,"timestamp_seconds":1787143989,"priority":1,"record_length":96,"hex_timestamp":"000001a01a152708"} 
[2026-08-19 18:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 18:24:47] 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-08-19 18: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-08-19 18:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:24:47] 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-08-19 18:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":12961,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:24:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:24:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":12961,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":157794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:24:47] local.INFO: GPS data processed {"connection_id":157794,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:24:47] local.INFO: Acknowledgment sent {"connection_id":157794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:24:51] local.INFO: TCP Data received {"connection_id":157793,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a145800012d181e000721af48004600d12a..."} 
[2026-08-19 18:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a145800012d181e000721af48004600d12a..."} 
[2026-08-19 18:24:51] local.INFO: Processing buffer {"connection_id":157793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a145800012d181e000721af48004600d12a..."} 
[2026-08-19 18:24:51] local.INFO: Packet analysis {"connection_id":157793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a14"} 
[2026-08-19 18:24:51] local.INFO: Extracted packet for processing {"connection_id":157793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a14"} 
[2026-08-19 18:24:51] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648072,"longitude_deg":75.6555264,"latitude_deg":11.9648072,"altitude":70,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508842240001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963381060927488,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841496576,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787143936000,"timestamp_ms":1787143936000,"timestamp_seconds":1787143936,"priority":1,"record_length":96,"hex_timestamp":"000001a01a145800"} 
[2026-08-19 18:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:24: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-08-19 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:51] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2958557258,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-19 18:24:51] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:51] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2610495488,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:51] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-19 18:24:51] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,155,160,179,45,176,74,40,10,66,97,41,15,1,240,69,227,26,33,4,113,205,107,32,88,239,49,2,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-19 18:24:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044261565268754432,"timestamp_seconds":5044261565268754.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 18:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508842240001,"66":12558,"105":206,"83":41984,"24":0,"16":13963381060927488,"45":1737826536841496576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508842240001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:24:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:24:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963381060927488,"km_value":13963381060927.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841496576,"description":"Unknown IO ID 45"} 
[2026-08-19 18:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508842240001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841496576}} 
[2026-08-19 18:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":157793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:24:51] local.INFO: GPS data processed {"connection_id":157793,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:24:51] local.INFO: Acknowledgment sent {"connection_id":157793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:24:58] local.INFO: TCP Data received {"connection_id":160333,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:24:58] local.INFO: Processing buffer {"connection_id":160333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:24:58] local.INFO: IMEI packet received {"connection_id":160333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":160333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:25:04] local.INFO: TCP Data received {"connection_id":160333,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:25:04] local.INFO: Processing buffer {"connection_id":160333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:25:04] local.INFO: IMEI packet received {"connection_id":160333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":160333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:25:05] local.INFO: TCP Data received {"connection_id":160333,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:25:05] local.INFO: Processing buffer {"connection_id":160333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:25:05] local.INFO: Packet analysis {"connection_id":160333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:25:05] local.INFO: Extracted packet for processing {"connection_id":160333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:25:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508745728001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787143839000,"timestamp_ms":1787143839000,"timestamp_seconds":1787143839,"priority":1,"record_length":96,"hex_timestamp":"000001a01a12dd18"} 
[2026-08-19 18:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:25: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-08-19 18:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508745728001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508745728001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:25:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:25:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508745728001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":160333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:25:05] local.INFO: GPS data processed {"connection_id":160333,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:25:05] local.INFO: Acknowledgment sent {"connection_id":160333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:25:08] local.INFO: TCP Data received {"connection_id":158150,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:25:08] local.INFO: Processing buffer {"connection_id":158150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:25:08] local.INFO: IMEI packet received {"connection_id":158150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":158150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:25:13] local.INFO: TCP Data received {"connection_id":158150,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:25:13] local.INFO: Processing buffer {"connection_id":158150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:25:13] local.INFO: IMEI packet received {"connection_id":158150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":158150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:25:14] local.INFO: TCP Data received {"connection_id":158150,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a14aa08012d181e000721af48004600d12a..."} 
[2026-08-19 18:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a14aa08012d181e000721af48004600d12a..."} 
[2026-08-19 18:25:14] local.INFO: Processing buffer {"connection_id":158150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a14aa08012d181e000721af48004600d12a..."} 
[2026-08-19 18:25:14] local.INFO: Packet analysis {"connection_id":158150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a14"} 
[2026-08-19 18:25:14] local.INFO: Extracted packet for processing {"connection_id":158150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a14"} 
[2026-08-19 18:25:14] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648072,"longitude_deg":75.6555264,"latitude_deg":11.9648072,"altitude":70,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-19 18:25: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-08-19 18:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508847616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963381060927488,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841496576,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25: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-08-19 18:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787143957000,"timestamp_ms":1787143957000,"timestamp_seconds":1787143957,"priority":1,"record_length":96,"hex_timestamp":"000001a01a14aa08"} 
[2026-08-19 18:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:25:14] 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-08-19 18:25: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":14,"data_length":795,"current_offset":136} 
[2026-08-19 18:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:14] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382315639550040,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:14] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2958557258,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-19 18:25:14] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:14] local.WARNING: Large IO value detected {"io_id":88,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2610495488,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:14] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:14] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:14] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,155,160,5,45,175,70,43,10,66,179,176,74,40,97,1,240,4,227,26,33,113,205,189,32,88,239,49,2,7,106,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-19 18:25:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044261560973787136,"timestamp_seconds":5044261560973787.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 18:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508847616001,"66":12504,"105":206,"83":41984,"24":0,"16":13963381060927488,"45":1737826536841496576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508847616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:25:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:25:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963381060927488,"km_value":13963381060927.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841496576,"description":"Unknown IO ID 45"} 
[2026-08-19 18:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508847616001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841496576}} 
[2026-08-19 18:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":158150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:25:14] local.INFO: GPS data processed {"connection_id":158150,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:25:14] local.INFO: Acknowledgment sent {"connection_id":158150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:25:18] local.INFO: TCP Data received {"connection_id":157794,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:25:18] local.INFO: Processing buffer {"connection_id":157794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:25:18] local.INFO: Packet analysis {"connection_id":157794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:25:18] local.INFO: Extracted packet for processing {"connection_id":157794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:25:18] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736872,"longitude_deg":76.3247168,"latitude_deg":9.7736872,"altitude":6,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358a8","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787143989000,"timestamp_ms":1787143989000,"timestamp_seconds":1787143989,"priority":1,"record_length":96,"hex_timestamp":"000001a01a152708"} 
[2026-08-19 18:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 18:25:18] 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-08-19 18: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-08-19 18:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157794,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:25:18] 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-08-19 18:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":12961,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:25:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:25:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":12961,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":157794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:25:18] local.INFO: GPS data processed {"connection_id":157794,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:25:18] local.INFO: Acknowledgment sent {"connection_id":157794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:25:37] local.INFO: TCP Data received {"connection_id":160333,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:25:37] local.INFO: Processing buffer {"connection_id":160333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:25:37] local.INFO: Packet analysis {"connection_id":160333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:25:37] local.INFO: Extracted packet for processing {"connection_id":160333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508745728001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787143839000,"timestamp_ms":1787143839000,"timestamp_seconds":1787143839,"priority":1,"record_length":96,"hex_timestamp":"000001a01a12dd18"} 
[2026-08-19 18:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508745728001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508745728001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:25:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:25:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508745728001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":160333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:25:37] local.INFO: GPS data processed {"connection_id":160333,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:25:37] local.INFO: Acknowledgment sent {"connection_id":160333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:25:42] local.INFO: TCP Data received {"connection_id":158151,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:25:42] local.INFO: Processing buffer {"connection_id":158151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:25:42] local.INFO: IMEI packet received {"connection_id":158151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":158151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:25:45] local.INFO: TCP Data received {"connection_id":158150,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a14fc10012d181e000721af48004600d12a..."} 
[2026-08-19 18:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a14fc10012d181e000721af48004600d12a..."} 
[2026-08-19 18:25:45] local.INFO: Processing buffer {"connection_id":158150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a14fc10012d181e000721af48004600d12a..."} 
[2026-08-19 18:25:45] local.INFO: Packet analysis {"connection_id":158150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a14"} 
[2026-08-19 18:25:45] local.INFO: Extracted packet for processing {"connection_id":158150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a14"} 
[2026-08-19 18:25:45] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648072,"longitude_deg":75.6555264,"latitude_deg":11.9648072,"altitude":70,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-19 18:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508852992001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963381060927488,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841496576,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25: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-08-19 18:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787143978000,"timestamp_ms":1787143978000,"timestamp_seconds":1787143978,"priority":1,"record_length":96,"hex_timestamp":"000001a01a14fc10"} 
[2026-08-19 18:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:25:45] 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-08-19 18:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 18:25: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-08-19 18:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508852992001,"66":12558,"105":206,"83":41984,"24":0,"16":13963381060927488,"45":1737826536841496576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508852992001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:25:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:25:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963381060927488,"km_value":13963381060927.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841496576,"description":"Unknown IO ID 45"} 
[2026-08-19 18:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508852992001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841496576}} 
[2026-08-19 18:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":158150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:25:45] local.INFO: GPS data processed {"connection_id":158150,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:25:45] local.INFO: Acknowledgment sent {"connection_id":158150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:25:46] local.INFO: TCP Data received {"connection_id":158151,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:25:46] local.INFO: Processing buffer {"connection_id":158151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:25:46] local.INFO: IMEI packet received {"connection_id":158151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":158151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:25:47] local.INFO: TCP Data received {"connection_id":158151,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:25:47] local.INFO: Processing buffer {"connection_id":158151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:25:47] local.INFO: Packet analysis {"connection_id":158151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:25:47] local.INFO: Extracted packet for processing {"connection_id":158151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:25:47] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736872,"longitude_deg":76.3247168,"latitude_deg":9.7736872,"altitude":6,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358a8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:25: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-08-19 18:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787143989000,"timestamp_ms":1787143989000,"timestamp_seconds":1787143989,"priority":1,"record_length":96,"hex_timestamp":"000001a01a152708"} 
[2026-08-19 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-08-19 18:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 18:25:47] 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-08-19 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-08-19 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-08-19 18:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:25:47] 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-08-19 18:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":12961,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:25:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:25:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":12961,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":158151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:25:47] local.INFO: GPS data processed {"connection_id":158151,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:25:47] local.INFO: Acknowledgment sent {"connection_id":158151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:25:58] local.INFO: TCP Data received {"connection_id":158152,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:25:58] local.INFO: Processing buffer {"connection_id":158152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:25:58] local.INFO: IMEI packet received {"connection_id":158152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":158152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:26:03] local.INFO: TCP Data received {"connection_id":158152,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:26:03] local.INFO: Processing buffer {"connection_id":158152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:26:03] local.INFO: IMEI packet received {"connection_id":158152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":158152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:26:05] local.INFO: TCP Data received {"connection_id":158152,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:26:05] local.INFO: Processing buffer {"connection_id":158152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a12dd18012ceb5f800713b858001400a128..."} 
[2026-08-19 18:26:05] local.INFO: Packet analysis {"connection_id":158152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:26:05] local.INFO: Extracted packet for processing {"connection_id":158152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a12"} 
[2026-08-19 18:26:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":40,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508745728001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787143839000,"timestamp_ms":1787143839000,"timestamp_seconds":1787143839,"priority":1,"record_length":96,"hex_timestamp":"000001a01a12dd18"} 
[2026-08-19 18:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:26: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-08-19 18:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508745728001,"66":25625,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508745728001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:26:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:26:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508745728001,"power":25625,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":158152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:26:05] local.INFO: GPS data processed {"connection_id":158152,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:26:05] local.INFO: Acknowledgment sent {"connection_id":158152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:26:08] local.INFO: TCP Data received {"connection_id":157795,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:26:08] local.INFO: Processing buffer {"connection_id":157795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:26:08] local.INFO: IMEI packet received {"connection_id":157795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":157795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:26:13] local.INFO: TCP Data received {"connection_id":157795,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:26:13] local.INFO: Processing buffer {"connection_id":157795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:26:13] local.INFO: IMEI packet received {"connection_id":157795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":157795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:26:14] local.INFO: TCP Data received {"connection_id":157795,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a154e18012d181e000721af48004600d12b..."} 
[2026-08-19 18:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a154e18012d181e000721af48004600d12b..."} 
[2026-08-19 18:26:14] local.INFO: Processing buffer {"connection_id":157795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a154e18012d181e000721af48004600d12b..."} 
[2026-08-19 18:26:14] local.INFO: Packet analysis {"connection_id":157795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:26:14] local.INFO: Extracted packet for processing {"connection_id":157795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648072,"longitude_deg":75.6555264,"latitude_deg":11.9648072,"altitude":70,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-19 18:26: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-08-19 18:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508858368001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963381060927488,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841496576,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26: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-08-19 18:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787143999000,"timestamp_ms":1787143999000,"timestamp_seconds":1787143999,"priority":1,"record_length":96,"hex_timestamp":"000001a01a154e18"} 
[2026-08-19 18:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:26:14] 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-08-19 18:26: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":14,"data_length":795,"current_offset":136} 
[2026-08-19 18:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:14] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382315639550040,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:14] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2958557258,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-19 18:26:14] local.WARNING: Large IO value detected {"io_id":97,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2610495488,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:14] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:14] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:14] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:14] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,155,160,170,45,175,70,42,10,66,88,5,1,240,4,227,26,33,113,205,97,32,41,239,49,2,7,74,106,90,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-19 18:26:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044261560973787136,"timestamp_seconds":5044261560973787.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 18:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508858368001,"66":12537,"105":206,"83":41984,"24":0,"16":13963381060927488,"45":1737826536841496576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508858368001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:26:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:26:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963381060927488,"km_value":13963381060927.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841496576,"description":"Unknown IO ID 45"} 
[2026-08-19 18:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508858368001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841496576}} 
[2026-08-19 18:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":157795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:26:14] local.INFO: GPS data processed {"connection_id":157795,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:26:14] local.INFO: Acknowledgment sent {"connection_id":157795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:26:18] local.INFO: TCP Data received {"connection_id":158151,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:26:18] local.INFO: Processing buffer {"connection_id":158151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:26:18] local.INFO: Packet analysis {"connection_id":158151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:26:18] local.INFO: Extracted packet for processing {"connection_id":158151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:26:18] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736872,"longitude_deg":76.3247168,"latitude_deg":9.7736872,"altitude":6,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358a8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787143989000,"timestamp_ms":1787143989000,"timestamp_seconds":1787143989,"priority":1,"record_length":96,"hex_timestamp":"000001a01a152708"} 
[2026-08-19 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-08-19 18:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 18:26:18] 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-08-19 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-08-19 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-08-19 18:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:26:18] 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-08-19 18:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":12961,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:26:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:26:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":12961,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":158151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:26:18] local.INFO: GPS data processed {"connection_id":158151,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:26:18] local.INFO: Acknowledgment sent {"connection_id":158151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:26:37] local.INFO: TCP Data received {"connection_id":158152,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:26:37] local.INFO: Processing buffer {"connection_id":158152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:26:37] local.INFO: Packet analysis {"connection_id":158152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:26:37] local.INFO: Extracted packet for processing {"connection_id":158152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:26:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508822784001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787144140000,"timestamp_ms":1787144140000,"timestamp_seconds":1787144140,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1774e0"} 
[2026-08-19 18:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508822784001,"66":25593,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508822784001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:26:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:26:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508822784001,"power":25593,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":158152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:26:37] local.INFO: GPS data processed {"connection_id":158152,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:26:37] local.INFO: Acknowledgment sent {"connection_id":158152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:26:41] local.INFO: TCP Data received {"connection_id":160334,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:26:41] local.INFO: Processing buffer {"connection_id":160334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:26:41] local.INFO: IMEI packet received {"connection_id":160334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":160334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:26:46] local.INFO: TCP Data received {"connection_id":157795,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a15a020012d181e000721af48004600d12b..."} 
[2026-08-19 18:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a15a020012d181e000721af48004600d12b..."} 
[2026-08-19 18:26:46] local.INFO: Processing buffer {"connection_id":157795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a15a020012d181e000721af48004600d12b..."} 
[2026-08-19 18:26:46] local.INFO: Packet analysis {"connection_id":157795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:26:46] local.INFO: Extracted packet for processing {"connection_id":157795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:26:46] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648072,"longitude_deg":75.6555264,"latitude_deg":11.9648072,"altitude":70,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af48","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508863744001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13963381060927488,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841496576,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787144020000,"timestamp_ms":1787144020000,"timestamp_seconds":1787144020,"priority":1,"record_length":96,"hex_timestamp":"000001a01a15a020"} 
[2026-08-19 18:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 18:26:46] 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-08-19 18: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-08-19 18:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508863744001,"66":12526,"105":206,"83":41984,"24":0,"16":13963381060927488,"45":1737826536841496576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508863744001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:26:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:26:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13963381060927488,"km_value":13963381060927.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841496576,"description":"Unknown IO ID 45"} 
[2026-08-19 18:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508863744001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841496576}} 
[2026-08-19 18:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":157795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:26:46] local.INFO: GPS data processed {"connection_id":157795,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:26:46] local.INFO: Acknowledgment sent {"connection_id":157795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:26:46] local.INFO: TCP Data received {"connection_id":160334,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:26:46] local.INFO: Processing buffer {"connection_id":160334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:26:46] local.INFO: IMEI packet received {"connection_id":160334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":160334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:26:47] local.INFO: TCP Data received {"connection_id":160334,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:26:47] local.INFO: Processing buffer {"connection_id":160334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:26:47] local.INFO: Packet analysis {"connection_id":160334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:26:47] local.INFO: Extracted packet for processing {"connection_id":160334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:26:47] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736872,"longitude_deg":76.3247168,"latitude_deg":9.7736872,"altitude":6,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358a8","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:26: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-08-19 18:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787143989000,"timestamp_ms":1787143989000,"timestamp_seconds":1787143989,"priority":1,"record_length":96,"hex_timestamp":"000001a01a152708"} 
[2026-08-19 18:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 18:26:47] 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-08-19 18: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-08-19 18:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:26:47] 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-08-19 18:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":12961,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:26:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:26:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":12961,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":160334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:26:47] local.INFO: GPS data processed {"connection_id":160334,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:26:47] local.INFO: Acknowledgment sent {"connection_id":160334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:26:59] local.INFO: TCP Data received {"connection_id":159017,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:26:59] local.INFO: Processing buffer {"connection_id":159017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:26:59] local.INFO: IMEI packet received {"connection_id":159017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":159017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:27:04] local.INFO: TCP Data received {"connection_id":159017,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:27:04] local.INFO: Processing buffer {"connection_id":159017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:27:04] local.INFO: IMEI packet received {"connection_id":159017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":159017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:27:05] local.INFO: TCP Data received {"connection_id":159017,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:27:05] local.INFO: Processing buffer {"connection_id":159017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:27:05] local.INFO: Packet analysis {"connection_id":159017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:27:05] local.INFO: Extracted packet for processing {"connection_id":159017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:27:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508822784001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787144140000,"timestamp_ms":1787144140000,"timestamp_seconds":1787144140,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1774e0"} 
[2026-08-19 18:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:27: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-08-19 18:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508822784001,"66":25593,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508822784001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:27:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:27:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508822784001,"power":25593,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":159017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:27:05] local.INFO: GPS data processed {"connection_id":159017,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:27:05] local.INFO: Acknowledgment sent {"connection_id":159017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:27:06] local.INFO: TCP Data received {"connection_id":158153,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:27:06] local.INFO: Processing buffer {"connection_id":158153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:27:06] local.INFO: IMEI packet received {"connection_id":158153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":158153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:27:08] local.INFO: TCP Data received {"connection_id":158153,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:27:08] local.INFO: Processing buffer {"connection_id":158153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:27:08] local.INFO: IMEI packet received {"connection_id":158153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":158153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:27:10] local.INFO: TCP Data received {"connection_id":158153,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:27:10] local.INFO: Processing buffer {"connection_id":158153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:27:10] local.INFO: IMEI packet received {"connection_id":158153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":158153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:27:13] local.INFO: TCP Data received {"connection_id":158153,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:27:13] local.INFO: Processing buffer {"connection_id":158153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:27:13] local.INFO: IMEI packet received {"connection_id":158153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":158153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:27:14] local.INFO: TCP Data received {"connection_id":158153,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a180568012d186500072182d8004c006626..."} 
[2026-08-19 18:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a180568012d186500072182d8004c006626..."} 
[2026-08-19 18:27:14] local.INFO: Processing buffer {"connection_id":158153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a180568012d186500072182d8004c006626..."} 
[2026-08-19 18:27:14] local.INFO: Packet analysis {"connection_id":158153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a18"} 
[2026-08-19 18:27:14] local.INFO: Extracted packet for processing {"connection_id":158153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a18"} 
[2026-08-19 18:27:14] local.INFO: GPS Element Parsed {"raw_longitude":756573440,"raw_latitude":119636696,"longitude_deg":75.657344,"latitude_deg":11.9636696,"altitude":76,"angle":102,"satellites":38,"speed":29,"hex_longitude":"2d186500","hex_latitude":"072182d8","is_valid_coordinates":true} 
[2026-08-19 18:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508908032001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13964463392686080,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753659504278929408,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:14] 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-08-19 18:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787144177000,"timestamp_ms":1787144177000,"timestamp_seconds":1787144177,"priority":1,"record_length":96,"hex_timestamp":"000001a01a180568"} 
[2026-08-19 18:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:27:14] 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-08-19 18:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-19 18:27:14] 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-08-19 18:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508908032001,"66":13972,"106":206,"83":41984,"24":29,"16":13964463392686080,"45":1753659504278929408},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 18:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508908032001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:27:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 18:27:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13964463392686080,"km_value":13964463392686.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753659504278929408,"description":"Unknown IO ID 45"} 
[2026-08-19 18:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508908032001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1753659504278929408}} 
[2026-08-19 18:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":158153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:27:14] local.INFO: GPS data processed {"connection_id":158153,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:27:14] local.INFO: Acknowledgment sent {"connection_id":158153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:27:18] local.INFO: TCP Data received {"connection_id":160334,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:27:18] local.INFO: Processing buffer {"connection_id":160334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:27:18] local.INFO: Packet analysis {"connection_id":160334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:27:18] local.INFO: Extracted packet for processing {"connection_id":160334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:27:18] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736872,"longitude_deg":76.3247168,"latitude_deg":9.7736872,"altitude":6,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358a8","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787143989000,"timestamp_ms":1787143989000,"timestamp_seconds":1787143989,"priority":1,"record_length":96,"hex_timestamp":"000001a01a152708"} 
[2026-08-19 18:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 18:27:18] 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-08-19 18: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-08-19 18:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:27:18] 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-08-19 18:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":12961,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:27:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:27:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":12961,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":160334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:27:18] local.INFO: GPS data processed {"connection_id":160334,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:27:18] local.INFO: Acknowledgment sent {"connection_id":160334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:27:18] local.INFO: TCP Data received {"connection_id":158153,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a181508012d18700007218208004b005426..."} 
[2026-08-19 18:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a181508012d18700007218208004b005426..."} 
[2026-08-19 18:27:18] local.INFO: Processing buffer {"connection_id":158153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a181508012d18700007218208004b005426..."} 
[2026-08-19 18:27:18] local.INFO: Packet analysis {"connection_id":158153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a18"} 
[2026-08-19 18:27:18] local.INFO: Extracted packet for processing {"connection_id":158153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a18"} 
[2026-08-19 18:27:18] local.INFO: GPS Element Parsed {"raw_longitude":756576256,"raw_latitude":119636488,"longitude_deg":75.6576256,"latitude_deg":11.9636488,"altitude":75,"angle":84,"satellites":38,"speed":25,"hex_longitude":"2d187000","hex_latitude":"07218208","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508909312001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13964600831639552,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757811260185040896,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787144181000,"timestamp_ms":1787144181000,"timestamp_seconds":1787144181,"priority":1,"record_length":96,"hex_timestamp":"000001a01a181508"} 
[2026-08-19 18:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:27:18] 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-08-19 18: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-19 18:27:18] 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-08-19 18: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-08-19 18:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508909312001,"66":14341,"106":206,"83":41984,"24":25,"16":13964600831639552,"45":1757811260185040896},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 18:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508909312001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:27:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 18:27:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13964600831639552,"km_value":13964600831639.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757811260185040896,"description":"Unknown IO ID 45"} 
[2026-08-19 18:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508909312001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1757811260185040896}} 
[2026-08-19 18:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":158153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:27:19] local.INFO: GPS data processed {"connection_id":158153,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:27:19] local.INFO: Acknowledgment sent {"connection_id":158153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:27:37] local.INFO: TCP Data received {"connection_id":159017,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:27:37] local.INFO: Processing buffer {"connection_id":159017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:27:37] local.INFO: Packet analysis {"connection_id":159017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:27:37] local.INFO: Extracted packet for processing {"connection_id":159017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:27:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508822784001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787144140000,"timestamp_ms":1787144140000,"timestamp_seconds":1787144140,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1774e0"} 
[2026-08-19 18:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508822784001,"66":25593,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508822784001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:27:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:27:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508822784001,"power":25593,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":159017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:27:37] local.INFO: GPS data processed {"connection_id":159017,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:27:37] local.INFO: Acknowledgment sent {"connection_id":159017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:27:46] local.INFO: TCP Data received {"connection_id":158154,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:27:46] local.INFO: Processing buffer {"connection_id":158154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:27:46] local.INFO: IMEI packet received {"connection_id":158154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":158154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:27:50] local.INFO: TCP Data received {"connection_id":158153,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a183060012d1881c007218208004b006427..."} 
[2026-08-19 18:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a183060012d1881c007218208004b006427..."} 
[2026-08-19 18:27:50] local.INFO: Processing buffer {"connection_id":158153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a183060012d1881c007218208004b006427..."} 
[2026-08-19 18:27:50] local.INFO: Packet analysis {"connection_id":158153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a18"} 
[2026-08-19 18:27:50] local.INFO: Extracted packet for processing {"connection_id":158153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a18"} 
[2026-08-19 18:27:50] local.INFO: GPS Element Parsed {"raw_longitude":756580800,"raw_latitude":119636488,"longitude_deg":75.65808,"latitude_deg":11.9636488,"altitude":75,"angle":100,"satellites":39,"speed":28,"hex_longitude":"2d1881c0","hex_latitude":"07218208","is_valid_coordinates":true} 
[2026-08-19 18:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508910336001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13964819874971648,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760907484928804864,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787144188000,"timestamp_ms":1787144188000,"timestamp_seconds":1787144188,"priority":1,"record_length":96,"hex_timestamp":"000001a01a183060"} 
[2026-08-19 18:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:27:50] 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-08-19 18:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 18:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6981031726,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":21674372758503936,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503812692443136,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:50] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2802843724,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-19 18:27:50] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2611740672,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:50] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84750481897234859,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:50] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,106,83,24,241,157,16,156,160,5,45,130,76,38,10,66,64,136,78,39,191,128,1,240,185,227,26,33,4,113,205,58,29,40,239,55,105,2,49,7,77,3,206,144],"length":529,"final_offset":659,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-19 18:27:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404412075031724032,"timestamp_seconds":5404412075031724.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 18:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":158153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":158153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":158153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508910336001,"66":14113,"106":206,"83":41984,"24":28,"16":13964819874971648,"45":1760907484928804864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 18:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508910336001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:27:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 18:27:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13964819874971648,"km_value":13964819874971.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760907484928804864,"description":"Unknown IO ID 45"} 
[2026-08-19 18:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508910336001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1760907484928804864}} 
[2026-08-19 18:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":158153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:27:50] local.INFO: GPS data processed {"connection_id":158153,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:27:50] local.INFO: Acknowledgment sent {"connection_id":158153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:27:51] local.INFO: TCP Data received {"connection_id":158154,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:27:51] local.INFO: Processing buffer {"connection_id":158154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:27:51] local.INFO: IMEI packet received {"connection_id":158154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":158154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:27:52] local.INFO: TCP Data received {"connection_id":158154,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:27:52] local.INFO: Processing buffer {"connection_id":158154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:27:52] local.INFO: Packet analysis {"connection_id":158154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:27:52] local.INFO: Extracted packet for processing {"connection_id":158154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:27:52] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736872,"longitude_deg":76.3247168,"latitude_deg":9.7736872,"altitude":6,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358a8","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787143989000,"timestamp_ms":1787143989000,"timestamp_seconds":1787143989,"priority":1,"record_length":96,"hex_timestamp":"000001a01a152708"} 
[2026-08-19 18:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 18:27:52] 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-08-19 18: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-08-19 18:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":158154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":158154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":158154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:27:52] 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-08-19 18:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":12961,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:27:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:27:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":12961,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":158154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:27:52] local.INFO: GPS data processed {"connection_id":158154,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:27:52] local.INFO: Acknowledgment sent {"connection_id":158154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:27:56] local.INFO: TCP Data received {"connection_id":158154,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:27:56] local.INFO: Processing buffer {"connection_id":158154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a152708012d7e3a4005d358a80006004e2b..."} 
[2026-08-19 18:27:56] local.INFO: Packet analysis {"connection_id":158154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:27:56] local.INFO: Extracted packet for processing {"connection_id":158154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a15"} 
[2026-08-19 18:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736872,"longitude_deg":76.3247168,"latitude_deg":9.7736872,"altitude":6,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358a8","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508783616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192969216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:27: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-08-19 18:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787143989000,"timestamp_ms":1787143989000,"timestamp_seconds":1787143989,"priority":1,"record_length":96,"hex_timestamp":"000001a01a152708"} 
[2026-08-19 18:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 18:27:56] 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-08-19 18: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-08-19 18:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":158154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":158154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":158154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:27:56] 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-08-19 18:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508783616001,"66":12961,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192969216},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508783616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:27:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192969216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508783616001,"power":12961,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192969216}} 
[2026-08-19 18:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":158154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:27:56] local.INFO: GPS data processed {"connection_id":158154,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:27:56] local.INFO: Acknowledgment sent {"connection_id":158154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:27:59] local.INFO: TCP Data received {"connection_id":157796,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:27:59] local.INFO: Processing buffer {"connection_id":157796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:27:59] local.INFO: IMEI packet received {"connection_id":157796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":157796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:28:03] local.INFO: TCP Data received {"connection_id":157796,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:28:03] local.INFO: Processing buffer {"connection_id":157796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:28:03] local.INFO: IMEI packet received {"connection_id":157796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":157796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:28:05] local.INFO: TCP Data received {"connection_id":157796,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:28:05] local.INFO: Processing buffer {"connection_id":157796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:28:05] local.INFO: Packet analysis {"connection_id":157796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:28:05] local.INFO: Extracted packet for processing {"connection_id":157796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:28:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508822784001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:28:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787144140000,"timestamp_ms":1787144140000,"timestamp_seconds":1787144140,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1774e0"} 
[2026-08-19 18:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:28: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-08-19 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508822784001,"66":25593,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508822784001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:28:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:28:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508822784001,"power":25593,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":157796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:28:05] local.INFO: GPS data processed {"connection_id":157796,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:28:05] local.INFO: Acknowledgment sent {"connection_id":157796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:28:06] local.INFO: TCP Data received {"connection_id":160335,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:28:06] local.INFO: Processing buffer {"connection_id":160335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:28:06] local.INFO: IMEI packet received {"connection_id":160335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":160335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:28:08] local.INFO: TCP Data received {"connection_id":160335,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:28:08] local.INFO: Processing buffer {"connection_id":160335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:28:08] local.INFO: IMEI packet received {"connection_id":160335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":160335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:28:12] local.INFO: TCP Data received {"connection_id":160335,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:28:12] local.INFO: Processing buffer {"connection_id":160335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:28:12] local.INFO: IMEI packet received {"connection_id":160335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":160335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:28:13] local.INFO: TCP Data received {"connection_id":160335,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a184000012d188cc007217f10004b007128..."} 
[2026-08-19 18:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a184000012d188cc007217f10004b007128..."} 
[2026-08-19 18:28:13] local.INFO: Processing buffer {"connection_id":160335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a184000012d188cc007217f10004b007128..."} 
[2026-08-19 18:28:13] local.INFO: Packet analysis {"connection_id":160335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a18"} 
[2026-08-19 18:28:13] local.INFO: Extracted packet for processing {"connection_id":160335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a18"} 
[2026-08-19 18:28:13] local.INFO: GPS Element Parsed {"raw_longitude":756583616,"raw_latitude":119635728,"longitude_deg":75.6583616,"latitude_deg":11.9635728,"altitude":75,"angle":113,"satellites":40,"speed":29,"hex_longitude":"2d188cc0","hex_latitude":"07217f10","is_valid_coordinates":true} 
[2026-08-19 18:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508912128001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13964957313925120,"note":"Value kept but may cause issues"} 
[2026-08-19 18:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765903665765419008,"note":"Value kept but may cause issues"} 
[2026-08-19 18:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787144192000,"timestamp_ms":1787144192000,"timestamp_seconds":1787144192,"priority":1,"record_length":96,"hex_timestamp":"000001a01a184000"} 
[2026-08-19 18:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-19 18:28:13] 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-08-19 18:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508912128001,"66":14004,"106":206,"83":41984,"24":29,"16":13964957313925120,"45":1765903665765419008},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 18:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508912128001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:28:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 18:28:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13964957313925120,"km_value":13964957313925.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765903665765419008,"description":"Unknown IO ID 45"} 
[2026-08-19 18:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508912128001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1765903665765419008}} 
[2026-08-19 18:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":160335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:28:13] local.INFO: GPS data processed {"connection_id":160335,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:28:13] local.INFO: Acknowledgment sent {"connection_id":160335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:28:37] local.INFO: TCP Data received {"connection_id":157796,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:28:37] local.INFO: Processing buffer {"connection_id":157796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:28:37] local.INFO: Packet analysis {"connection_id":157796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:28:37] local.INFO: Extracted packet for processing {"connection_id":157796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:28:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508822784001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:28:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787144140000,"timestamp_ms":1787144140000,"timestamp_seconds":1787144140,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1774e0"} 
[2026-08-19 18:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508822784001,"66":25593,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508822784001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:28:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:28:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508822784001,"power":25593,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":157796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:28:37] local.INFO: GPS data processed {"connection_id":157796,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:28:37] local.INFO: Acknowledgment sent {"connection_id":157796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:28:44] local.INFO: TCP Data received {"connection_id":160335,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1970b0012d1909000720cb880032007427..."} 
[2026-08-19 18:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1970b0012d1909000720cb880032007427..."} 
[2026-08-19 18:28:44] local.INFO: Processing buffer {"connection_id":160335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1970b0012d1909000720cb880032007427..."} 
[2026-08-19 18:28:44] local.INFO: Packet analysis {"connection_id":160335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a19"} 
[2026-08-19 18:28:44] local.INFO: Extracted packet for processing {"connection_id":160335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a19"} 
[2026-08-19 18:28:44] local.INFO: GPS Element Parsed {"raw_longitude":756615424,"raw_latitude":119589768,"longitude_deg":75.6615424,"latitude_deg":11.9589768,"altitude":50,"angle":116,"satellites":39,"speed":29,"hex_longitude":"2d190900","hex_latitude":"0720cb88","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508931584001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13967830647046144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799821400447729664,"note":"Value kept but may cause issues"} 
[2026-08-19 18:28: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-08-19 18:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787144270000,"timestamp_ms":1787144270000,"timestamp_seconds":1787144270,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1970b0"} 
[2026-08-19 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-08-19 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-08-19 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 18:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 18:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508931584001,"66":14004,"103":206,"83":41984,"24":29,"16":13967830647046144,"45":1799821400447729664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508931584001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:28:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:28:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13967830647046144,"km_value":13967830647046.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799821400447729664,"description":"Unknown IO ID 45"} 
[2026-08-19 18:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508931584001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1799821400447729664}} 
[2026-08-19 18:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":160335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:28:44] local.INFO: GPS data processed {"connection_id":160335,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:28:44] local.INFO: Acknowledgment sent {"connection_id":160335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:28:58] local.INFO: TCP Data received {"connection_id":158155,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:28:58] local.INFO: Processing buffer {"connection_id":158155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:28:58] local.INFO: IMEI packet received {"connection_id":158155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":158155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:29:04] local.INFO: TCP Data received {"connection_id":158155,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:29:04] local.INFO: Processing buffer {"connection_id":158155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:29:04] local.INFO: IMEI packet received {"connection_id":158155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":158155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:29:06] local.INFO: TCP Data received {"connection_id":158155,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:29:06] local.INFO: Processing buffer {"connection_id":158155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:29:06] local.INFO: Packet analysis {"connection_id":158155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:29:06] local.INFO: Extracted packet for processing {"connection_id":158155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:29:06] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508822784001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:29:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787144140000,"timestamp_ms":1787144140000,"timestamp_seconds":1787144140,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1774e0"} 
[2026-08-19 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-08-19 18:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 18:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508822784001,"66":25593,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508822784001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:29:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:29:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508822784001,"power":25593,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":158155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:29:06] local.INFO: GPS data processed {"connection_id":158155,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:29:06] local.INFO: Acknowledgment sent {"connection_id":158155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:29:08] local.INFO: TCP Data received {"connection_id":159018,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:29:08] local.INFO: Processing buffer {"connection_id":159018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:29:08] local.INFO: IMEI packet received {"connection_id":159018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":159018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:29:13] local.INFO: TCP Data received {"connection_id":159018,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:29:13] local.INFO: Processing buffer {"connection_id":159018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:29:13] local.INFO: IMEI packet received {"connection_id":159018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":159018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:29:14] local.INFO: TCP Data received {"connection_id":159018,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1997c0012d192c000720bd28002b006e28..."} 
[2026-08-19 18:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1997c0012d192c000720bd28002b006e28..."} 
[2026-08-19 18:29:14] local.INFO: Processing buffer {"connection_id":159018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1997c0012d192c000720bd28002b006e28..."} 
[2026-08-19 18:29:14] local.INFO: Packet analysis {"connection_id":159018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a19"} 
[2026-08-19 18:29:14] local.INFO: Extracted packet for processing {"connection_id":159018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a19"} 
[2026-08-19 18:29:14] local.INFO: GPS Element Parsed {"raw_longitude":756624384,"raw_latitude":119586088,"longitude_deg":75.6624384,"latitude_deg":11.9586088,"altitude":43,"angle":110,"satellites":40,"speed":36,"hex_longitude":"2d192c00","hex_latitude":"0720bd28","is_valid_coordinates":true} 
[2026-08-19 18:29: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-08-19 18:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508933120001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13968290208546816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803973156353574912,"note":"Value kept but may cause issues"} 
[2026-08-19 18:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787144280000,"timestamp_ms":1787144280000,"timestamp_seconds":1787144280,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1997c0"} 
[2026-08-19 18:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:29:14] 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-08-19 18:29: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 18:29:14] 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-08-19 18:29: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-08-19 18:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508933120001,"66":14048,"103":206,"83":41984,"24":36,"16":13968290208546816,"45":1803973156353574912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508933120001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:29:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13968290208546816,"km_value":13968290208546.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803973156353574912,"description":"Unknown IO ID 45"} 
[2026-08-19 18:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508933120001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1803973156353574912}} 
[2026-08-19 18:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":159018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:29:14] local.INFO: GPS data processed {"connection_id":159018,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:29:14] local.INFO: Acknowledgment sent {"connection_id":159018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:29:37] local.INFO: TCP Data received {"connection_id":158155,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:29:37] local.INFO: Processing buffer {"connection_id":158155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:29:37] local.INFO: Packet analysis {"connection_id":158155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:29:37] local.INFO: Extracted packet for processing {"connection_id":158155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:29:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508822784001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:29:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787144140000,"timestamp_ms":1787144140000,"timestamp_seconds":1787144140,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1774e0"} 
[2026-08-19 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-08-19 18:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 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-08-19 18:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508822784001,"66":25593,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508822784001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:29:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:29:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508822784001,"power":25593,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":158155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:29:37] local.INFO: GPS data processed {"connection_id":158155,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:29:37] local.INFO: Acknowledgment sent {"connection_id":158155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:29:45] local.INFO: TCP Data received {"connection_id":159018,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1a91c0012d193d000720d1b0002800c92b..."} 
[2026-08-19 18:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1a91c0012d193d000720d1b0002800c92b..."} 
[2026-08-19 18:29:45] local.INFO: Processing buffer {"connection_id":159018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1a91c0012d193d000720d1b0002800c92b..."} 
[2026-08-19 18:29:45] local.INFO: Packet analysis {"connection_id":159018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1a"} 
[2026-08-19 18:29:45] local.INFO: Extracted packet for processing {"connection_id":159018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1a"} 
[2026-08-19 18:29:45] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119591344,"longitude_deg":75.6628736,"latitude_deg":11.9591344,"altitude":40,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d193d00","hex_latitude":"0720d1b0","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508951296001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13968822784491520,"note":"Value kept but may cause issues"} 
[2026-08-19 18:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818539486398722048,"note":"Value kept but may cause issues"} 
[2026-08-19 18:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787144344000,"timestamp_ms":1787144344000,"timestamp_seconds":1787144344,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1a91c0"} 
[2026-08-19 18:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:29:45] 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-08-19 18: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 18:29:45] 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-08-19 18: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-08-19 18:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508951296001,"66":14298,"103":206,"83":41984,"24":0,"16":13968822784491520,"45":1818539486398722048},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508951296001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:29:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:29:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13968822784491520,"km_value":13968822784491.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818539486398722048,"description":"Unknown IO ID 45"} 
[2026-08-19 18:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508951296001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818539486398722048}} 
[2026-08-19 18:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":159018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:29:45] local.INFO: GPS data processed {"connection_id":159018,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:29:45] local.INFO: Acknowledgment sent {"connection_id":159018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:29:58] local.INFO: TCP Data received {"connection_id":158156,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:29:58] local.INFO: Processing buffer {"connection_id":158156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:29:58] local.INFO: IMEI packet received {"connection_id":158156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":158156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:30:03] local.INFO: TCP Data received {"connection_id":158156,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:30:03] local.INFO: Processing buffer {"connection_id":158156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:30:03] local.INFO: IMEI packet received {"connection_id":158156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":158156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:30:05] local.INFO: TCP Data received {"connection_id":158156,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:30:05] local.INFO: Processing buffer {"connection_id":158156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:30:05] local.INFO: Packet analysis {"connection_id":158156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:30:05] local.INFO: Extracted packet for processing {"connection_id":158156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:30:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508822784001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:30:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787144140000,"timestamp_ms":1787144140000,"timestamp_seconds":1787144140,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1774e0"} 
[2026-08-19 18:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:30: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-08-19 18:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508822784001,"66":25593,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508822784001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:30:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:30:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508822784001,"power":25593,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":158156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:30:05] local.INFO: GPS data processed {"connection_id":158156,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:30:05] local.INFO: Acknowledgment sent {"connection_id":158156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:30:08] local.INFO: TCP Data received {"connection_id":160336,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:30:08] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:30:08] local.INFO: IMEI packet received {"connection_id":160336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":160336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:30:09] local.INFO: TCP Data received {"connection_id":160336,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:30:09] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:30:09] local.INFO: IMEI packet received {"connection_id":160336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":160336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:30:12] local.INFO: TCP Data received {"connection_id":160336,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:30:12] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:30:12] local.INFO: IMEI packet received {"connection_id":160336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":160336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:30:13] local.INFO: TCP Data received {"connection_id":160336,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:30:13] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:30:13] local.INFO: IMEI packet received {"connection_id":160336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":160336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:30:13] local.INFO: TCP Data received {"connection_id":160336,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1a95a8012d193cc00720d168002800bd2b..."} 
[2026-08-19 18:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1a95a8012d193cc00720d168002800bd2b..."} 
[2026-08-19 18:30:13] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1a95a8012d193cc00720d168002800bd2b..."} 
[2026-08-19 18:30:13] local.INFO: Packet analysis {"connection_id":160336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1a"} 
[2026-08-19 18:30:13] local.INFO: Extracted packet for processing {"connection_id":160336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1a"} 
[2026-08-19 18:30:13] local.INFO: GPS Element Parsed {"raw_longitude":756628672,"raw_latitude":119591272,"longitude_deg":75.6628672,"latitude_deg":11.9591272,"altitude":40,"angle":189,"satellites":43,"speed":0,"hex_longitude":"2d193cc0","hex_latitude":"0720d168","is_valid_coordinates":true} 
[2026-08-19 18:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508952064001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13968827079458816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818609855142932480,"note":"Value kept but may cause issues"} 
[2026-08-19 18:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787144345000,"timestamp_ms":1787144345000,"timestamp_seconds":1787144345,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1a95a8"} 
[2026-08-19 18:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-19 18:30: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-08-19 18:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508952064001,"66":13439,"103":206,"83":41984,"24":0,"16":13968827079458816,"45":1818609855142932480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508952064001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:30:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:30:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13968827079458816,"km_value":13968827079458.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818609855142932480,"description":"Unknown IO ID 45"} 
[2026-08-19 18:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508952064001,"power":13439,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818609855142932480}} 
[2026-08-19 18:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":160336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:30:13] local.INFO: GPS data processed {"connection_id":160336,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:30:13] local.INFO: Acknowledgment sent {"connection_id":160336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:30:19] local.INFO: TCP Data received {"connection_id":160336,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1a9990012d193cc00720d128002800c92b..."} 
[2026-08-19 18:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1a9990012d193cc00720d128002800c92b..."} 
[2026-08-19 18:30:19] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1a9990012d193cc00720d128002800c92b..."} 
[2026-08-19 18:30:19] local.INFO: Packet analysis {"connection_id":160336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1a"} 
[2026-08-19 18:30:19] local.INFO: Extracted packet for processing {"connection_id":160336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1a"} 
[2026-08-19 18:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756628672,"raw_latitude":119591208,"longitude_deg":75.6628672,"latitude_deg":11.9591208,"altitude":40,"angle":201,"satellites":43,"speed":3,"hex_longitude":"2d193cc0","hex_latitude":"0720d128","is_valid_coordinates":true} 
[2026-08-19 18:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508952320001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13968831374426112,"note":"Value kept but may cause issues"} 
[2026-08-19 18:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818539486398736384,"note":"Value kept but may cause issues"} 
[2026-08-19 18:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787144346000,"timestamp_ms":1787144346000,"timestamp_seconds":1787144346,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1a9990"} 
[2026-08-19 18:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:30: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-08-19 18:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-19 18:30:19] 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-08-19 18:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508952320001,"66":13439,"103":206,"83":41984,"24":3,"16":13968831374426112,"45":1818539486398736384},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508952320001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:30:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:30:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13968831374426112,"km_value":13968831374426.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818539486398736384,"description":"Unknown IO ID 45"} 
[2026-08-19 18:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508952320001,"power":13439,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1818539486398736384}} 
[2026-08-19 18:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":160336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:30:19] local.INFO: GPS data processed {"connection_id":160336,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:30:19] local.INFO: Acknowledgment sent {"connection_id":160336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:30:37] local.INFO: TCP Data received {"connection_id":158156,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:30:37] local.INFO: Processing buffer {"connection_id":158156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:30:37] local.INFO: Packet analysis {"connection_id":158156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:30:37] local.INFO: Extracted packet for processing {"connection_id":158156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:30:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508822784001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:30:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787144140000,"timestamp_ms":1787144140000,"timestamp_seconds":1787144140,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1774e0"} 
[2026-08-19 18:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508822784001,"66":25593,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508822784001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:30:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:30:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508822784001,"power":25593,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":158156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:30:37] local.INFO: GPS data processed {"connection_id":158156,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:30:37] local.INFO: Acknowledgment sent {"connection_id":158156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:30:50] local.INFO: TCP Data received {"connection_id":160336,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1b4188012d1948400720b0300026006b2b..."} 
[2026-08-19 18:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1b4188012d1948400720b0300026006b2b..."} 
[2026-08-19 18:30:50] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1b4188012d1948400720b0300026006b2b..."} 
[2026-08-19 18:30:50] local.INFO: Packet analysis {"connection_id":160336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1b"} 
[2026-08-19 18:30:50] local.INFO: Extracted packet for processing {"connection_id":160336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1b"} 
[2026-08-19 18:30:50] local.INFO: GPS Element Parsed {"raw_longitude":756631616,"raw_latitude":119582768,"longitude_deg":75.6631616,"latitude_deg":11.9582768,"altitude":38,"angle":107,"satellites":43,"speed":28,"hex_longitude":"2d194840","hex_latitude":"0720b030","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508961792001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13969385425207296,"note":"Value kept but may cause issues"} 
[2026-08-19 18:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817765430211055616,"note":"Value kept but may cause issues"} 
[2026-08-19 18:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787144389000,"timestamp_ms":1787144389000,"timestamp_seconds":1787144389,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1b4188"} 
[2026-08-19 18:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:30:50] 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-08-19 18:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 18:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":160336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":160336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":160336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508961792001,"66":14004,"103":206,"83":41984,"24":28,"16":13969385425207296,"45":1817765430211055616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508961792001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:30:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:30:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13969385425207296,"km_value":13969385425207.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817765430211055616,"description":"Unknown IO ID 45"} 
[2026-08-19 18:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508961792001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1817765430211055616}} 
[2026-08-19 18:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":160336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:30:50] local.INFO: GPS data processed {"connection_id":160336,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:30:50] local.INFO: Acknowledgment sent {"connection_id":160336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:31:04] local.INFO: TCP Data received {"connection_id":157799,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:31:04] local.INFO: Processing buffer {"connection_id":157799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:31:04] local.INFO: IMEI packet received {"connection_id":157799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":157799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:31:08] local.INFO: TCP Data received {"connection_id":157799,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:31:08] local.INFO: Processing buffer {"connection_id":157799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:31:08] local.INFO: IMEI packet received {"connection_id":157799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":157799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:31:09] local.INFO: TCP Data received {"connection_id":157799,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:31:10] local.INFO: Processing buffer {"connection_id":157799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:31:10] local.INFO: Packet analysis {"connection_id":157799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:31:10] local.INFO: Extracted packet for processing {"connection_id":157799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:31:10] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508822784001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787144140000,"timestamp_ms":1787144140000,"timestamp_seconds":1787144140,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1774e0"} 
[2026-08-19 18:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508822784001,"66":25593,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508822784001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:31:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508822784001,"power":25593,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":157799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:31:10] local.INFO: GPS data processed {"connection_id":157799,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:31:10] local.INFO: Acknowledgment sent {"connection_id":157799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:31:13] local.INFO: TCP Data received {"connection_id":159019,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:31:13] local.INFO: Processing buffer {"connection_id":159019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:31:13] local.INFO: IMEI packet received {"connection_id":159019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":159019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:31:15] local.INFO: TCP Data received {"connection_id":157799,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:31:15] local.INFO: Processing buffer {"connection_id":157799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1774e0012ceb5f800713b858001400a129..."} 
[2026-08-19 18:31:15] local.INFO: Packet analysis {"connection_id":157799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:31:15] local.INFO: Extracted packet for processing {"connection_id":157799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a17"} 
[2026-08-19 18:31:15] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508822784001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787144140000,"timestamp_ms":1787144140000,"timestamp_seconds":1787144140,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1774e0"} 
[2026-08-19 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-08-19 18:31:15] 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-08-19 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-19 18:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 18:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508822784001,"66":25593,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508822784001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:31:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508822784001,"power":25593,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":157799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:31:15] local.INFO: GPS data processed {"connection_id":157799,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:31:15] local.INFO: Acknowledgment sent {"connection_id":157799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:31:16] local.INFO: TCP Data received {"connection_id":159019,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:31:16] local.INFO: Processing buffer {"connection_id":159019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:31:16] local.INFO: IMEI packet received {"connection_id":159019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":159019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:31:17] local.INFO: TCP Data received {"connection_id":159019,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1b5128012d1954400720ad380026005e2a..."} 
[2026-08-19 18:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1b5128012d1954400720ad380026005e2a..."} 
[2026-08-19 18:31:17] local.INFO: Processing buffer {"connection_id":159019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1b5128012d1954400720ad380026005e2a..."} 
[2026-08-19 18:31:17] local.INFO: Packet analysis {"connection_id":159019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1b"} 
[2026-08-19 18:31:17] local.INFO: Extracted packet for processing {"connection_id":159019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1b"} 
[2026-08-19 18:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756634688,"raw_latitude":119582008,"longitude_deg":75.6634688,"latitude_deg":11.9582008,"altitude":38,"angle":94,"satellites":42,"speed":32,"hex_longitude":"2d195440","hex_latitude":"0720ad38","is_valid_coordinates":true} 
[2026-08-19 18:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508963584001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13969535749062656,"note":"Value kept but may cause issues"} 
[2026-08-19 18:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821776448628731904,"note":"Value kept but may cause issues"} 
[2026-08-19 18:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787144393000,"timestamp_ms":1787144393000,"timestamp_seconds":1787144393,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1b5128"} 
[2026-08-19 18:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:31:17] 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-08-19 18:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 18:31:17] 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-08-19 18:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508963584001,"66":14004,"103":206,"83":41984,"24":32,"16":13969535749062656,"45":1821776448628731904},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508963584001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:31:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:31:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13969535749062656,"km_value":13969535749062.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821776448628731904,"description":"Unknown IO ID 45"} 
[2026-08-19 18:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508963584001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1821776448628731904}} 
[2026-08-19 18:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":159019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:31:17] local.INFO: GPS data processed {"connection_id":159019,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:31:17] local.INFO: Acknowledgment sent {"connection_id":159019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:31:18] local.INFO: TCP Data received {"connection_id":159019,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1b5ce0012d195d400720ad48002700522a..."} 
[2026-08-19 18:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1b5ce0012d195d400720ad48002700522a..."} 
[2026-08-19 18:31:18] local.INFO: Processing buffer {"connection_id":159019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1b5ce0012d195d400720ad48002700522a..."} 
[2026-08-19 18:31:18] local.INFO: Packet analysis {"connection_id":159019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1b"} 
[2026-08-19 18:31:18] local.INFO: Extracted packet for processing {"connection_id":159019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1b"} 
[2026-08-19 18:31:18] local.INFO: GPS Element Parsed {"raw_longitude":756636992,"raw_latitude":119582024,"longitude_deg":75.6636992,"latitude_deg":11.9582024,"altitude":39,"angle":82,"satellites":42,"speed":24,"hex_longitude":"2d195d40","hex_latitude":"0720ad48","is_valid_coordinates":true} 
[2026-08-19 18:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508964608001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13969643123245056,"note":"Value kept but may cause issues"} 
[2026-08-19 18:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825154148349065216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787144396000,"timestamp_ms":1787144396000,"timestamp_seconds":1787144396,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1b5ce0"} 
[2026-08-19 18:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 18:31:18] 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-08-19 18:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508964608001,"66":13961,"103":206,"83":41984,"24":24,"16":13969643123245056,"45":1825154148349065216},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508964608001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:31:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:31:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13969643123245056,"km_value":13969643123245.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825154148349065216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508964608001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1825154148349065216}} 
[2026-08-19 18:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":159019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:31:18] local.INFO: GPS data processed {"connection_id":159019,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:31:18] local.INFO: Acknowledgment sent {"connection_id":159019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:31:49] local.INFO: TCP Data received {"connection_id":159019,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1baee8012d1962800720ad680029005029..."} 
[2026-08-19 18:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1baee8012d1962800720ad680029005029..."} 
[2026-08-19 18:31:49] local.INFO: Processing buffer {"connection_id":159019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1baee8012d1962800720ad680029005029..."} 
[2026-08-19 18:31:49] local.INFO: Packet analysis {"connection_id":159019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1b"} 
[2026-08-19 18:31:49] local.INFO: Extracted packet for processing {"connection_id":159019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1b"} 
[2026-08-19 18:31:49] local.INFO: GPS Element Parsed {"raw_longitude":756638336,"raw_latitude":119582056,"longitude_deg":75.6638336,"latitude_deg":11.9582056,"altitude":41,"angle":80,"satellites":41,"speed":0,"hex_longitude":"2d196280","hex_latitude":"0720ad68","is_valid_coordinates":true} 
[2026-08-19 18:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508965376001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13969707547754496,"note":"Value kept but may cause issues"} 
[2026-08-19 18:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827687423139465216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787144417000,"timestamp_ms":1787144417000,"timestamp_seconds":1787144417,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1baee8"} 
[2026-08-19 18:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:31:49] 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-08-19 18:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-19 18:31:49] 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-08-19 18:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":159019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":159019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":159019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508965376001,"66":13961,"103":206,"83":41984,"24":0,"16":13969707547754496,"45":1827687423139465216},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508965376001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:31:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:31:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13969707547754496,"km_value":13969707547754.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827687423139465216,"description":"Unknown IO ID 45"} 
[2026-08-19 18:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508965376001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1827687423139465216}} 
[2026-08-19 18:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":159019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:31:49] local.INFO: GPS data processed {"connection_id":159019,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:31:49] local.INFO: Acknowledgment sent {"connection_id":159019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:31:58] local.INFO: TCP Data received {"connection_id":157800,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:31:58] local.INFO: Processing buffer {"connection_id":157800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:31:58] local.INFO: IMEI packet received {"connection_id":157800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":157800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:32:03] local.INFO: TCP Data received {"connection_id":157800,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:32:03] local.INFO: Processing buffer {"connection_id":157800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:32:03] local.INFO: IMEI packet received {"connection_id":157800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":157800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:32:05] local.INFO: TCP Data received {"connection_id":157800,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:32:05] local.INFO: Processing buffer {"connection_id":157800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:32:05] local.INFO: Packet analysis {"connection_id":157800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:32:05] local.INFO: Extracted packet for processing {"connection_id":157800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:32:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508899840001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:32:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787144441000,"timestamp_ms":1787144441000,"timestamp_seconds":1787144441,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1c0ca8"} 
[2026-08-19 18:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:32: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-08-19 18:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 18:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508899840001,"66":24995,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508899840001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:32:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:32:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508899840001,"power":24995,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":157800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:32:05] local.INFO: GPS data processed {"connection_id":157800,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:32:05] local.INFO: Acknowledgment sent {"connection_id":157800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:32:08] local.INFO: TCP Data received {"connection_id":159020,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:32:08] local.INFO: Processing buffer {"connection_id":159020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:32:08] local.INFO: IMEI packet received {"connection_id":159020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":159020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:32:13] local.INFO: TCP Data received {"connection_id":159020,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:32:13] local.INFO: Processing buffer {"connection_id":159020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:32:13] local.INFO: IMEI packet received {"connection_id":159020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":159020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:32:14] local.INFO: TCP Data received {"connection_id":159020,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1c00f0012d1962800720ad500029005126..."} 
[2026-08-19 18:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1c00f0012d1962800720ad500029005126..."} 
[2026-08-19 18:32:14] local.INFO: Processing buffer {"connection_id":159020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1c00f0012d1962800720ad500029005126..."} 
[2026-08-19 18:32:14] local.INFO: Packet analysis {"connection_id":159020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:32:14] local.INFO: Extracted packet for processing {"connection_id":159020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756638336,"raw_latitude":119582032,"longitude_deg":75.6638336,"latitude_deg":11.9582032,"altitude":41,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d196280","hex_latitude":"0720ad50","is_valid_coordinates":true} 
[2026-08-19 18:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508970752001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13969707547754496,"note":"Value kept but may cause issues"} 
[2026-08-19 18:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829165166767204352,"note":"Value kept but may cause issues"} 
[2026-08-19 18:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787144438000,"timestamp_ms":1787144438000,"timestamp_seconds":1787144438,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1c00f0"} 
[2026-08-19 18:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:32:14] 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-08-19 18:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-19 18:32:14] 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-08-19 18:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508970752001,"66":13972,"103":206,"83":41984,"24":0,"16":13969707547754496,"45":1829165166767204352},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508970752001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:32:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:32:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13969707547754496,"km_value":13969707547754.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829165166767204352,"description":"Unknown IO ID 45"} 
[2026-08-19 18:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508970752001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829165166767204352}} 
[2026-08-19 18:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":159020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:32:14] local.INFO: GPS data processed {"connection_id":159020,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:32:14] local.INFO: Acknowledgment sent {"connection_id":159020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:32:36] local.INFO: TCP Data received {"connection_id":157800,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:32:36] local.INFO: Processing buffer {"connection_id":157800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:32:36] local.INFO: Packet analysis {"connection_id":157800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:32:36] local.INFO: Extracted packet for processing {"connection_id":157800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:32:36] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508899840001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:32:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787144441000,"timestamp_ms":1787144441000,"timestamp_seconds":1787144441,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1c0ca8"} 
[2026-08-19 18:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 18:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508899840001,"66":24995,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508899840001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:32:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:32:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508899840001,"power":24995,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":157800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:32:36] local.INFO: GPS data processed {"connection_id":157800,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:32:36] local.INFO: Acknowledgment sent {"connection_id":157800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:32:45] local.INFO: TCP Data received {"connection_id":159020,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1c52f8012d1962800720ad500029005126..."} 
[2026-08-19 18:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1c52f8012d1962800720ad500029005126..."} 
[2026-08-19 18:32:45] local.INFO: Processing buffer {"connection_id":159020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1c52f8012d1962800720ad500029005126..."} 
[2026-08-19 18:32:45] local.INFO: Packet analysis {"connection_id":159020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:32:45] local.INFO: Extracted packet for processing {"connection_id":159020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:32:45] local.INFO: GPS Element Parsed {"raw_longitude":756638336,"raw_latitude":119582032,"longitude_deg":75.6638336,"latitude_deg":11.9582032,"altitude":41,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d196280","hex_latitude":"0720ad50","is_valid_coordinates":true} 
[2026-08-19 18:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508976128001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13969707547754496,"note":"Value kept but may cause issues"} 
[2026-08-19 18:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829165166767198208,"note":"Value kept but may cause issues"} 
[2026-08-19 18:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787144459000,"timestamp_ms":1787144459000,"timestamp_seconds":1787144459,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1c52f8"} 
[2026-08-19 18:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-19 18:32:45] 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-08-19 18:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508976128001,"66":14004,"103":206,"83":41984,"24":0,"16":13969707547754496,"45":1829165166767198208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508976128001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:32:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:32:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13969707547754496,"km_value":13969707547754.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829165166767198208,"description":"Unknown IO ID 45"} 
[2026-08-19 18:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508976128001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829165166767198208}} 
[2026-08-19 18:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":159020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:32:45] local.INFO: GPS data processed {"connection_id":159020,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:32:45] local.INFO: Acknowledgment sent {"connection_id":159020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:32:56] local.INFO: TCP Data received {"connection_id":158157,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:32:56] local.INFO: Processing buffer {"connection_id":158157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:32:56] local.INFO: IMEI packet received {"connection_id":158157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":158157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:32:58] local.INFO: TCP Data received {"connection_id":160337,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:32:58] local.INFO: Processing buffer {"connection_id":160337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:32:58] local.INFO: IMEI packet received {"connection_id":160337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":160337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:33:01] local.INFO: TCP Data received {"connection_id":158157,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:33:01] local.INFO: Processing buffer {"connection_id":158157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:33:01] local.INFO: IMEI packet received {"connection_id":158157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":158157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:33:02] local.INFO: TCP Data received {"connection_id":158157,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a01a19ab48012d7e3a4005d358a80006004e2a..."} 
[2026-08-19 18:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a19ab48012d7e3a4005d358a80006004e2a..."} 
[2026-08-19 18:33:02] local.INFO: Processing buffer {"connection_id":158157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a19ab48012d7e3a4005d358a80006004e2a..."} 
[2026-08-19 18:33:02] local.INFO: Packet analysis {"connection_id":158157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a19"} 
[2026-08-19 18:33:02] local.INFO: Extracted packet for processing {"connection_id":158157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a19"} 
[2026-08-19 18:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736872,"longitude_deg":76.3247168,"latitude_deg":9.7736872,"altitude":6,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358a8","is_valid_coordinates":true} 
[2026-08-19 18:33:02] 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-08-19 18:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508861184001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192954880,"note":"Value kept but may cause issues"} 
[2026-08-19 18:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787144285000,"timestamp_ms":1787144285000,"timestamp_seconds":1787144285,"priority":1,"record_length":96,"hex_timestamp":"000001a01a19ab48"} 
[2026-08-19 18:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-19 18:33:02] 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-08-19 18:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":158157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":158157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":158157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508861184001,"66":12689,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192954880},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508861184001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:33:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192954880,"description":"Unknown IO ID 45"} 
[2026-08-19 18:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508861184001,"power":12689,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192954880}} 
[2026-08-19 18:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":158157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:33:02] local.INFO: GPS data processed {"connection_id":158157,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:33:02] local.INFO: Acknowledgment sent {"connection_id":158157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:33:04] local.INFO: TCP Data received {"connection_id":160337,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:33:04] local.INFO: Processing buffer {"connection_id":160337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:33:04] local.INFO: IMEI packet received {"connection_id":160337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":160337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:33:05] local.INFO: TCP Data received {"connection_id":160337,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:33:05] local.INFO: Processing buffer {"connection_id":160337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:33:05] local.INFO: Packet analysis {"connection_id":160337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:33:05] local.INFO: Extracted packet for processing {"connection_id":160337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:33:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508899840001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:33:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787144441000,"timestamp_ms":1787144441000,"timestamp_seconds":1787144441,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1c0ca8"} 
[2026-08-19 18:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:33: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-08-19 18:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 18:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508899840001,"66":24995,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508899840001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:33:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:33:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508899840001,"power":24995,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":160337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:33:05] local.INFO: GPS data processed {"connection_id":160337,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:33:05] local.INFO: Acknowledgment sent {"connection_id":160337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:33:08] local.INFO: TCP Data received {"connection_id":159021,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:33:08] local.INFO: Processing buffer {"connection_id":159021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:33:08] local.INFO: IMEI packet received {"connection_id":159021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":159021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:33:13] local.INFO: TCP Data received {"connection_id":159021,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:33:13] local.INFO: Processing buffer {"connection_id":159021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:33:13] local.INFO: IMEI packet received {"connection_id":159021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":159021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:33:14] local.INFO: TCP Data received {"connection_id":159021,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1d9b18012d19cb800720a5c80030003d24..."} 
[2026-08-19 18:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1d9b18012d19cb800720a5c80030003d24..."} 
[2026-08-19 18:33:14] local.INFO: Processing buffer {"connection_id":159021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1d9b18012d19cb800720a5c80030003d24..."} 
[2026-08-19 18:33:14] local.INFO: Packet analysis {"connection_id":159021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1d"} 
[2026-08-19 18:33:14] local.INFO: Extracted packet for processing {"connection_id":159021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1d"} 
[2026-08-19 18:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756665216,"raw_latitude":119580104,"longitude_deg":75.6665216,"latitude_deg":11.9580104,"altitude":48,"angle":61,"satellites":36,"speed":8,"hex_longitude":"2d19cb80","hex_latitude":"0720a5c8","is_valid_coordinates":true} 
[2026-08-19 18:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509002496001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13971038987616256,"note":"Value kept but may cause issues"} 
[2026-08-19 18:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858157089367865344,"note":"Value kept but may cause issues"} 
[2026-08-19 18:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787144543000,"timestamp_ms":1787144543000,"timestamp_seconds":1787144543,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1d9b18"} 
[2026-08-19 18:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:33:14] 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-08-19 18:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-19 18:33:14] 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-08-19 18:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509002496001,"66":14374,"103":206,"83":41984,"24":8,"16":13971038987616256,"45":1858157089367865344},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509002496001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:33:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:33:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13971038987616256,"km_value":13971038987616.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858157089367865344,"description":"Unknown IO ID 45"} 
[2026-08-19 18:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509002496001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1858157089367865344}} 
[2026-08-19 18:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":159021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:33:14] local.INFO: GPS data processed {"connection_id":159021,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:33:14] local.INFO: Acknowledgment sent {"connection_id":159021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:33:36] local.INFO: TCP Data received {"connection_id":158158,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:33:36] local.INFO: Processing buffer {"connection_id":158158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:33:36] local.INFO: IMEI packet received {"connection_id":158158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":158158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:33:37] local.INFO: TCP Data received {"connection_id":160337,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:33:37] local.INFO: Processing buffer {"connection_id":160337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:33:37] local.INFO: Packet analysis {"connection_id":160337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:33:37] local.INFO: Extracted packet for processing {"connection_id":160337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:33:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508899840001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:33:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787144441000,"timestamp_ms":1787144441000,"timestamp_seconds":1787144441,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1c0ca8"} 
[2026-08-19 18:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 18:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508899840001,"66":24995,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508899840001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:33:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:33:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508899840001,"power":24995,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":160337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:33:37] local.INFO: GPS data processed {"connection_id":160337,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:33:37] local.INFO: Acknowledgment sent {"connection_id":160337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:33:41] local.INFO: TCP Data received {"connection_id":158158,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:33:41] local.INFO: Processing buffer {"connection_id":158158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:33:41] local.INFO: IMEI packet received {"connection_id":158158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":158158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:33:42] local.INFO: TCP Data received {"connection_id":158158,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a01a19ab48012d7e3a4005d358a80006004e2a..."} 
[2026-08-19 18:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a19ab48012d7e3a4005d358a80006004e2a..."} 
[2026-08-19 18:33:42] local.INFO: Processing buffer {"connection_id":158158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a19ab48012d7e3a4005d358a80006004e2a..."} 
[2026-08-19 18:33:42] local.INFO: Packet analysis {"connection_id":158158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a19"} 
[2026-08-19 18:33:42] local.INFO: Extracted packet for processing {"connection_id":158158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a19"} 
[2026-08-19 18:33:42] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736872,"longitude_deg":76.3247168,"latitude_deg":9.7736872,"altitude":6,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358a8","is_valid_coordinates":true} 
[2026-08-19 18:33:42] 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-08-19 18:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508936960001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192954880,"note":"Value kept but may cause issues"} 
[2026-08-19 18:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787144285000,"timestamp_ms":1787144285000,"timestamp_seconds":1787144285,"priority":1,"record_length":96,"hex_timestamp":"000001a01a19ab48"} 
[2026-08-19 18:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 18:33:42] 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-08-19 18:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508936960001,"66":12689,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192954880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508936960001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:33:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192954880,"description":"Unknown IO ID 45"} 
[2026-08-19 18:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508936960001,"power":12689,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192954880}} 
[2026-08-19 18:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":158158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:33:42] local.INFO: GPS data processed {"connection_id":158158,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:33:42] local.INFO: Acknowledgment sent {"connection_id":158158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:33:45] local.INFO: TCP Data received {"connection_id":159021,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1da2e8012d19cd000720a7480031002f26..."} 
[2026-08-19 18:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1da2e8012d19cd000720a7480031002f26..."} 
[2026-08-19 18:33:45] local.INFO: Processing buffer {"connection_id":159021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1da2e8012d19cd000720a7480031002f26..."} 
[2026-08-19 18:33:45] local.INFO: Packet analysis {"connection_id":159021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1d"} 
[2026-08-19 18:33:45] local.INFO: Extracted packet for processing {"connection_id":159021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1d"} 
[2026-08-19 18:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119580488,"longitude_deg":75.66656,"latitude_deg":11.9580488,"altitude":49,"angle":47,"satellites":38,"speed":14,"hex_longitude":"2d19cd00","hex_latitude":"0720a748","is_valid_coordinates":true} 
[2026-08-19 18:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509003008001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13971064757420032,"note":"Value kept but may cause issues"} 
[2026-08-19 18:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039321323520,"note":"Value kept but may cause issues"} 
[2026-08-19 18:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787144545000,"timestamp_ms":1787144545000,"timestamp_seconds":1787144545,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1da2e8"} 
[2026-08-19 18:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 18:33:45] 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-08-19 18:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509003008001,"66":14374,"103":206,"83":41984,"24":14,"16":13971064757420032,"45":1858720039321323520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509003008001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:33:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13971064757420032,"km_value":13971064757420.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039321323520,"description":"Unknown IO ID 45"} 
[2026-08-19 18:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509003008001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1858720039321323520}} 
[2026-08-19 18:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":159021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:33:45] local.INFO: GPS data processed {"connection_id":159021,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:33:45] local.INFO: Acknowledgment sent {"connection_id":159021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:34:03] local.INFO: TCP Data received {"connection_id":158159,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:34:03] local.INFO: Processing buffer {"connection_id":158159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:34:03] local.INFO: IMEI packet received {"connection_id":158159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":158159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:34:08] local.INFO: TCP Data received {"connection_id":157801,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:34:08] local.INFO: Processing buffer {"connection_id":157801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:34:08] local.INFO: IMEI packet received {"connection_id":157801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":157801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:34:09] local.INFO: TCP Data received {"connection_id":158159,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:34:09] local.INFO: Processing buffer {"connection_id":158159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:34:09] local.INFO: IMEI packet received {"connection_id":158159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":158159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:34:10] local.INFO: TCP Data received {"connection_id":158159,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:34:10] local.INFO: Processing buffer {"connection_id":158159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:34:10] local.INFO: Packet analysis {"connection_id":158159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:34:10] local.INFO: Extracted packet for processing {"connection_id":158159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:34:10] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508899840001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787144441000,"timestamp_ms":1787144441000,"timestamp_seconds":1787144441,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1c0ca8"} 
[2026-08-19 18:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 18:34:10] 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-08-19 18:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508899840001,"66":24995,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508899840001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:34:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508899840001,"power":24995,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":158159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:34:10] local.INFO: GPS data processed {"connection_id":158159,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:34:10] local.INFO: Acknowledgment sent {"connection_id":158159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:34:13] local.INFO: TCP Data received {"connection_id":157801,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:34:13] local.INFO: Processing buffer {"connection_id":157801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:34:13] local.INFO: IMEI packet received {"connection_id":157801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":157801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:34:14] local.INFO: TCP Data received {"connection_id":157801,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1dc9f8012d19d9c00720b2600032004428..."} 
[2026-08-19 18:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1dc9f8012d19d9c00720b2600032004428..."} 
[2026-08-19 18:34:14] local.INFO: Processing buffer {"connection_id":157801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1dc9f8012d19d9c00720b2600032004428..."} 
[2026-08-19 18:34:14] local.INFO: Packet analysis {"connection_id":157801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1d"} 
[2026-08-19 18:34:14] local.INFO: Extracted packet for processing {"connection_id":157801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1d"} 
[2026-08-19 18:34:14] local.INFO: GPS Element Parsed {"raw_longitude":756668864,"raw_latitude":119583328,"longitude_deg":75.6668864,"latitude_deg":11.9583328,"altitude":50,"angle":68,"satellites":40,"speed":20,"hex_longitude":"2d19d9c0","hex_latitude":"0720b260","is_valid_coordinates":true} 
[2026-08-19 18:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509003520001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13971275210817536,"note":"Value kept but may cause issues"} 
[2026-08-19 18:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251786487808,"note":"Value kept but may cause issues"} 
[2026-08-19 18:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787144555000,"timestamp_ms":1787144555000,"timestamp_seconds":1787144555,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1dc9f8"} 
[2026-08-19 18:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:34:14] 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-08-19 18:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 18:34: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-08-19 18:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509003520001,"66":14428,"103":206,"83":41984,"24":20,"16":13971275210817536,"45":1859142251786487808},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509003520001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:34:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:34:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13971275210817536,"km_value":13971275210817.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251786487808,"description":"Unknown IO ID 45"} 
[2026-08-19 18:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509003520001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1859142251786487808}} 
[2026-08-19 18:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":157801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:34:14] local.INFO: GPS data processed {"connection_id":157801,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:34:14] local.INFO: Acknowledgment sent {"connection_id":157801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:34:14] local.INFO: TCP Data received {"connection_id":158159,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:34:14] local.INFO: Processing buffer {"connection_id":158159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:34:14] local.INFO: Packet analysis {"connection_id":158159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:34:14] local.INFO: Extracted packet for processing {"connection_id":158159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:34:14] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508899840001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:34:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787144441000,"timestamp_ms":1787144441000,"timestamp_seconds":1787144441,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1c0ca8"} 
[2026-08-19 18:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:34:14] 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-08-19 18:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 18:34:14] 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-08-19 18:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508899840001,"66":24995,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508899840001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:34:14] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:34:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508899840001,"power":24995,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":158159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:34:14] local.INFO: GPS data processed {"connection_id":158159,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:34:14] local.INFO: Acknowledgment sent {"connection_id":158159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:34:18] local.INFO: TCP Data received {"connection_id":158158,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a01a19bed0012d7e3a4005d358a80006004e2a..."} 
[2026-08-19 18:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a19bed0012d7e3a4005d358a80006004e2a..."} 
[2026-08-19 18:34:18] local.INFO: Processing buffer {"connection_id":158158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a19bed0012d7e3a4005d358a80006004e2a..."} 
[2026-08-19 18:34:18] local.INFO: Packet analysis {"connection_id":158158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a19"} 
[2026-08-19 18:34:18] local.INFO: Extracted packet for processing {"connection_id":158158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a19"} 
[2026-08-19 18:34:18] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736872,"longitude_deg":76.3247168,"latitude_deg":9.7736872,"altitude":6,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7e3a40","hex_latitude":"05d358a8","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508936960001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897406622498816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192954880,"note":"Value kept but may cause issues"} 
[2026-08-19 18:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787144290000,"timestamp_ms":1787144290000,"timestamp_seconds":1787144290,"priority":1,"record_length":96,"hex_timestamp":"000001a01a19bed0"} 
[2026-08-19 18:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 18:34:18] 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-08-19 18: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-08-19 18:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508936960001,"66":4286,"109":206,"85":15104,"24":0,"16":120897406622498816,"45":9095652791192954880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 18:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508936960001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:34:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:34:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897406622498816,"km_value":120897406622498.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192954880,"description":"Unknown IO ID 45"} 
[2026-08-19 18:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508936960001,"power":4286,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095652791192954880}} 
[2026-08-19 18:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":158158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:34:18] local.INFO: GPS data processed {"connection_id":158158,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:34:18] local.INFO: Acknowledgment sent {"connection_id":158158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:34:36] local.INFO: TCP Data received {"connection_id":160338,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:34:36] local.INFO: Processing buffer {"connection_id":160338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:34:36] local.INFO: IMEI packet received {"connection_id":160338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":160338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:34:45] local.INFO: TCP Data received {"connection_id":157801,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1dcde0012d19dc000720b2c80032005228..."} 
[2026-08-19 18:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1dcde0012d19dc000720b2c80032005228..."} 
[2026-08-19 18:34:45] local.INFO: Processing buffer {"connection_id":157801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1dcde0012d19dc000720b2c80032005228..."} 
[2026-08-19 18:34:45] local.INFO: Packet analysis {"connection_id":157801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1d"} 
[2026-08-19 18:34:45] local.INFO: Extracted packet for processing {"connection_id":157801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1d"} 
[2026-08-19 18:34:45] local.INFO: GPS Element Parsed {"raw_longitude":756669440,"raw_latitude":119583432,"longitude_deg":75.666944,"latitude_deg":11.9583432,"altitude":50,"angle":82,"satellites":40,"speed":22,"hex_longitude":"2d19dc00","hex_latitude":"0720b2c8","is_valid_coordinates":true} 
[2026-08-19 18:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509006080001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13971300980621312,"note":"Value kept but may cause issues"} 
[2026-08-19 18:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862731057740275712,"note":"Value kept but may cause issues"} 
[2026-08-19 18:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787144556000,"timestamp_ms":1787144556000,"timestamp_seconds":1787144556,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1dcde0"} 
[2026-08-19 18:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 18:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509006080001,"66":14428,"103":206,"83":41984,"24":22,"16":13971300980621312,"45":1862731057740275712},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509006080001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:34:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:34:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13971300980621312,"km_value":13971300980621.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862731057740275712,"description":"Unknown IO ID 45"} 
[2026-08-19 18:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509006080001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1862731057740275712}} 
[2026-08-19 18:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":157801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:34:45] local.INFO: GPS data processed {"connection_id":157801,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:34:45] local.INFO: Acknowledgment sent {"connection_id":157801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:34:59] local.INFO: TCP Data received {"connection_id":158160,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:34:59] local.INFO: Processing buffer {"connection_id":158160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:34:59] local.INFO: IMEI packet received {"connection_id":158160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":158160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:35:04] local.INFO: TCP Data received {"connection_id":158160,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:35:04] local.INFO: Processing buffer {"connection_id":158160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:35:04] local.INFO: IMEI packet received {"connection_id":158160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":158160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:35:05] local.INFO: TCP Data received {"connection_id":158160,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:35:05] local.INFO: Processing buffer {"connection_id":158160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:35:05] local.INFO: Packet analysis {"connection_id":158160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:35:05] local.INFO: Extracted packet for processing {"connection_id":158160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:35:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508899840001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787144441000,"timestamp_ms":1787144441000,"timestamp_seconds":1787144441,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1c0ca8"} 
[2026-08-19 18:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:35: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-08-19 18:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 18:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508899840001,"66":24995,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508899840001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:35:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508899840001,"power":24995,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":158160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:35:05] local.INFO: GPS data processed {"connection_id":158160,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:35:05] local.INFO: Acknowledgment sent {"connection_id":158160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:35:09] local.INFO: TCP Data received {"connection_id":158161,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:35:09] local.INFO: Processing buffer {"connection_id":158161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:35:09] local.INFO: IMEI packet received {"connection_id":158161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":158161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:35:13] local.INFO: TCP Data received {"connection_id":158161,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:35:13] local.INFO: Processing buffer {"connection_id":158161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:35:13] local.INFO: IMEI packet received {"connection_id":158161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":158161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:35:14] local.INFO: TCP Data received {"connection_id":158161,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1dd5b0012d19e0800720b2b00033006028..."} 
[2026-08-19 18:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1dd5b0012d19e0800720b2b00033006028..."} 
[2026-08-19 18:35:14] local.INFO: Processing buffer {"connection_id":158161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1dd5b0012d19e0800720b2b00033006028..."} 
[2026-08-19 18:35:14] local.INFO: Packet analysis {"connection_id":158161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1d"} 
[2026-08-19 18:35:14] local.INFO: Extracted packet for processing {"connection_id":158161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1d"} 
[2026-08-19 18:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756670592,"raw_latitude":119583408,"longitude_deg":75.6670592,"latitude_deg":11.9583408,"altitude":51,"angle":96,"satellites":40,"speed":23,"hex_longitude":"2d19e080","hex_latitude":"0720b2b0","is_valid_coordinates":true} 
[2026-08-19 18:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509006336001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13971356815196160,"note":"Value kept but may cause issues"} 
[2026-08-19 18:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863364376437901312,"note":"Value kept but may cause issues"} 
[2026-08-19 18:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787144558000,"timestamp_ms":1787144558000,"timestamp_seconds":1787144558,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1dd5b0"} 
[2026-08-19 18:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:35:14] 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-08-19 18:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 18:35: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-08-19 18:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509006336001,"66":14363,"103":206,"83":41984,"24":23,"16":13971356815196160,"45":1863364376437901312},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509006336001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:35:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:35:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13971356815196160,"km_value":13971356815196.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863364376437901312,"description":"Unknown IO ID 45"} 
[2026-08-19 18:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509006336001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1863364376437901312}} 
[2026-08-19 18:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":158161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:35:14] local.INFO: GPS data processed {"connection_id":158161,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:35:14] local.INFO: Acknowledgment sent {"connection_id":158161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:35:37] local.INFO: TCP Data received {"connection_id":158160,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:35:37] local.INFO: Processing buffer {"connection_id":158160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:35:37] local.INFO: Packet analysis {"connection_id":158160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:35:37] local.INFO: Extracted packet for processing {"connection_id":158160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:35:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508899840001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:35:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787144441000,"timestamp_ms":1787144441000,"timestamp_seconds":1787144441,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1c0ca8"} 
[2026-08-19 18:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 18:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508899840001,"66":24995,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508899840001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:35:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:35:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508899840001,"power":24995,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":158160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:35:37] local.INFO: GPS data processed {"connection_id":158160,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:35:37] local.INFO: Acknowledgment sent {"connection_id":158160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:35:45] local.INFO: TCP Data received {"connection_id":158161,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a200448012d1a3dc00720f918003e003929..."} 
[2026-08-19 18:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a200448012d1a3dc00720f918003e003929..."} 
[2026-08-19 18:35:45] local.INFO: Processing buffer {"connection_id":158161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a200448012d1a3dc00720f918003e003929..."} 
[2026-08-19 18:35:45] local.INFO: Packet analysis {"connection_id":158161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a20"} 
[2026-08-19 18:35:45] local.INFO: Extracted packet for processing {"connection_id":158161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a20"} 
[2026-08-19 18:35:45] local.INFO: GPS Element Parsed {"raw_longitude":756694464,"raw_latitude":119601432,"longitude_deg":75.6694464,"latitude_deg":11.9601432,"altitude":62,"angle":57,"satellites":41,"speed":3,"hex_longitude":"2d1a3dc0","hex_latitude":"0720f918","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509038336001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13972881528586240,"note":"Value kept but may cause issues"} 
[2026-08-19 18:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890808186671783936,"note":"Value kept but may cause issues"} 
[2026-08-19 18:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787144701000,"timestamp_ms":1787144701000,"timestamp_seconds":1787144701,"priority":1,"record_length":96,"hex_timestamp":"000001a01a200448"} 
[2026-08-19 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-08-19 18:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 18:35:45] 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-08-19 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-08-19 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-08-19 18:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509038336001,"66":13917,"103":206,"83":41984,"24":3,"16":13972881528586240,"45":1890808186671783936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509038336001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:35:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:35:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13972881528586240,"km_value":13972881528586.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890808186671783936,"description":"Unknown IO ID 45"} 
[2026-08-19 18:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509038336001,"power":13917,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1890808186671783936}} 
[2026-08-19 18:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":158161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:35:45] local.INFO: GPS data processed {"connection_id":158161,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:35:45] local.INFO: Acknowledgment sent {"connection_id":158161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:35:59] local.INFO: TCP Data received {"connection_id":157802,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:35:59] local.INFO: Processing buffer {"connection_id":157802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:35:59] local.INFO: IMEI packet received {"connection_id":157802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":157802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:36:03] local.INFO: TCP Data received {"connection_id":157802,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:36:03] local.INFO: Processing buffer {"connection_id":157802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:36:03] local.INFO: IMEI packet received {"connection_id":157802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":157802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:36:04] local.INFO: TCP Data received {"connection_id":157802,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:36:04] local.INFO: Processing buffer {"connection_id":157802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a1c0ca8012ceb5f800713b858001400a126..."} 
[2026-08-19 18:36:04] local.INFO: Packet analysis {"connection_id":157802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:36:04] local.INFO: Extracted packet for processing {"connection_id":157802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a1c"} 
[2026-08-19 18:36:04] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":38,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508899840001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:36:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787144441000,"timestamp_ms":1787144441000,"timestamp_seconds":1787144441,"priority":1,"record_length":96,"hex_timestamp":"000001a01a1c0ca8"} 
[2026-08-19 18:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 18:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508899840001,"66":24995,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508899840001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:36:04] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:36:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508899840001,"power":24995,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":157802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:36:04] local.INFO: GPS data processed {"connection_id":157802,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:36:04] local.INFO: Acknowledgment sent {"connection_id":157802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:36:08] local.INFO: TCP Data received {"connection_id":158162,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:36:08] local.INFO: Processing buffer {"connection_id":158162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:36:08] local.INFO: IMEI packet received {"connection_id":158162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":158162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:36:08] local.INFO: TCP Data received {"connection_id":158162,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:36:08] local.INFO: Processing buffer {"connection_id":158162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:36:08] local.INFO: IMEI packet received {"connection_id":158162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":158162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:36:10] local.INFO: TCP Data received {"connection_id":158162,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:36:10] local.INFO: Processing buffer {"connection_id":158162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:36:10] local.INFO: IMEI packet received {"connection_id":158162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":158162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:36:13] local.INFO: TCP Data received {"connection_id":158162,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:36:13] local.INFO: Processing buffer {"connection_id":158162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:36:13] local.INFO: IMEI packet received {"connection_id":158162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":158162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:36:14] local.INFO: TCP Data received {"connection_id":158162,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2013e8012d1a3e400720f920003e00c929..."} 
[2026-08-19 18:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2013e8012d1a3e400720f920003e00c929..."} 
[2026-08-19 18:36:14] local.INFO: Processing buffer {"connection_id":158162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2013e8012d1a3e400720f920003e00c929..."} 
[2026-08-19 18:36:14] local.INFO: Packet analysis {"connection_id":158162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a20"} 
[2026-08-19 18:36:14] local.INFO: Extracted packet for processing {"connection_id":158162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a20"} 
[2026-08-19 18:36:14] local.INFO: GPS Element Parsed {"raw_longitude":756694592,"raw_latitude":119601440,"longitude_deg":75.6694592,"latitude_deg":11.960144,"altitude":62,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2d1a3e40","hex_latitude":"0720f920","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509043456001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13972894413488128,"note":"Value kept but may cause issues"} 
[2026-08-19 18:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890878555415975936,"note":"Value kept but may cause issues"} 
[2026-08-19 18:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787144705000,"timestamp_ms":1787144705000,"timestamp_seconds":1787144705,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2013e8"} 
[2026-08-19 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-08-19 18:36:14] 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-08-19 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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-19 18:36:14] 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-08-19 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-08-19 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-08-19 18:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509043456001,"66":14004,"103":206,"83":41984,"24":0,"16":13972894413488128,"45":1890878555415975936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509043456001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:36:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:36:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13972894413488128,"km_value":13972894413488.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890878555415975936,"description":"Unknown IO ID 45"} 
[2026-08-19 18:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509043456001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1890878555415975936}} 
[2026-08-19 18:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":158162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:36:14] local.INFO: GPS data processed {"connection_id":158162,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:36:14] local.INFO: Acknowledgment sent {"connection_id":158162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:36:37] local.INFO: TCP Data received {"connection_id":157802,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a20a470012ceb5f800713b858001400a12c..."} 
[2026-08-19 18:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a20a470012ceb5f800713b858001400a12c..."} 
[2026-08-19 18:36:37] local.INFO: Processing buffer {"connection_id":157802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a20a470012ceb5f800713b858001400a12c..."} 
[2026-08-19 18:36:37] local.INFO: Packet analysis {"connection_id":157802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a20"} 
[2026-08-19 18:36:37] local.INFO: Extracted packet for processing {"connection_id":157802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a20"} 
[2026-08-19 18:36:37] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":44,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508976896001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:36:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787144742000,"timestamp_ms":1787144742000,"timestamp_seconds":1787144742,"priority":1,"record_length":96,"hex_timestamp":"000001a01a20a470"} 
[2026-08-19 18:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:36: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-08-19 18:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-19 18:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508976896001,"66":25593,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508976896001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:36:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:36:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508976896001,"power":25593,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":157802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:36:37] local.INFO: GPS data processed {"connection_id":157802,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:36:37] local.INFO: Acknowledgment sent {"connection_id":157802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:36:45] local.INFO: TCP Data received {"connection_id":158162,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a20c3b0012d1a07000720be98003700f128..."} 
[2026-08-19 18:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a20c3b0012d1a07000720be98003700f128..."} 
[2026-08-19 18:36:45] local.INFO: Processing buffer {"connection_id":158162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a20c3b0012d1a07000720be98003700f128..."} 
[2026-08-19 18:36:45] local.INFO: Packet analysis {"connection_id":158162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a20"} 
[2026-08-19 18:36:45] local.INFO: Extracted packet for processing {"connection_id":158162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a20"} 
[2026-08-19 18:36:45] local.INFO: GPS Element Parsed {"raw_longitude":756680448,"raw_latitude":119586456,"longitude_deg":75.6680448,"latitude_deg":11.9586456,"altitude":55,"angle":241,"satellites":40,"speed":28,"hex_longitude":"2d1a0700","hex_latitude":"0720be98","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509054976001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13973929500606464,"note":"Value kept but may cause issues"} 
[2026-08-19 18:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878071443972227072,"note":"Value kept but may cause issues"} 
[2026-08-19 18:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787144750000,"timestamp_ms":1787144750000,"timestamp_seconds":1787144750,"priority":1,"record_length":96,"hex_timestamp":"000001a01a20c3b0"} 
[2026-08-19 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-08-19 18:36: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-08-19 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 18:36:45] 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-08-19 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-08-19 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-08-19 18:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509054976001,"66":14428,"103":206,"83":41984,"24":28,"16":13973929500606464,"45":1878071443972227072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509054976001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:36:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:36:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13973929500606464,"km_value":13973929500606.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878071443972227072,"description":"Unknown IO ID 45"} 
[2026-08-19 18:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509054976001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1878071443972227072}} 
[2026-08-19 18:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":158162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:36:45] local.INFO: GPS data processed {"connection_id":158162,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:36:45] local.INFO: Acknowledgment sent {"connection_id":158162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:36:59] local.INFO: TCP Data received {"connection_id":159022,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:36:59] local.INFO: Processing buffer {"connection_id":159022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:36:59] local.INFO: IMEI packet received {"connection_id":159022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":159022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:37:04] local.INFO: TCP Data received {"connection_id":159022,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:37:04] local.INFO: Processing buffer {"connection_id":159022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:37:04] local.INFO: IMEI packet received {"connection_id":159022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":159022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:37:05] local.INFO: TCP Data received {"connection_id":159022,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a20a470012ceb5f800713b858001400a12c..."} 
[2026-08-19 18:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a20a470012ceb5f800713b858001400a12c..."} 
[2026-08-19 18:37:05] local.INFO: Processing buffer {"connection_id":159022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a20a470012ceb5f800713b858001400a12c..."} 
[2026-08-19 18:37:05] local.INFO: Packet analysis {"connection_id":159022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a20"} 
[2026-08-19 18:37:05] local.INFO: Extracted packet for processing {"connection_id":159022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a20"} 
[2026-08-19 18:37:05] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":44,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508976896001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:37:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787144742000,"timestamp_ms":1787144742000,"timestamp_seconds":1787144742,"priority":1,"record_length":96,"hex_timestamp":"000001a01a20a470"} 
[2026-08-19 18:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-19 18:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508976896001,"66":25593,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508976896001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:37:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:37:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508976896001,"power":25593,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":159022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:37:05] local.INFO: GPS data processed {"connection_id":159022,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:37:05] local.INFO: Acknowledgment sent {"connection_id":159022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:37:08] local.INFO: TCP Data received {"connection_id":157803,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:37:08] local.INFO: Processing buffer {"connection_id":157803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:37:08] local.INFO: IMEI packet received {"connection_id":157803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":157803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:37:08] local.INFO: TCP Data received {"connection_id":157803,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:37:08] local.INFO: Processing buffer {"connection_id":157803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:37:08] local.INFO: IMEI packet received {"connection_id":157803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":157803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:37:13] local.INFO: TCP Data received {"connection_id":157803,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:37:13] local.INFO: Processing buffer {"connection_id":157803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:37:13] local.INFO: IMEI packet received {"connection_id":157803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":157803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:37:14] local.INFO: TCP Data received {"connection_id":157803,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a20f290012d19eb400720b2c0003500fd29..."} 
[2026-08-19 18:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a20f290012d19eb400720b2c0003500fd29..."} 
[2026-08-19 18:37:14] local.INFO: Processing buffer {"connection_id":157803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a20f290012d19eb400720b2c0003500fd29..."} 
[2026-08-19 18:37:14] local.INFO: Packet analysis {"connection_id":157803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a20"} 
[2026-08-19 18:37:14] local.INFO: Extracted packet for processing {"connection_id":157803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a20"} 
[2026-08-19 18:37:14] local.INFO: GPS Element Parsed {"raw_longitude":756673344,"raw_latitude":119583424,"longitude_deg":75.6673344,"latitude_deg":11.9583424,"altitude":53,"angle":253,"satellites":41,"speed":23,"hex_longitude":"2d19eb40","hex_latitude":"0720b2c0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509056000001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13974294572826624,"note":"Value kept but may cause issues"} 
[2026-08-19 18:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1875467800437233664,"note":"Value kept but may cause issues"} 
[2026-08-19 18:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787144762000,"timestamp_ms":1787144762000,"timestamp_seconds":1787144762,"priority":1,"record_length":96,"hex_timestamp":"000001a01a20f290"} 
[2026-08-19 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-08-19 18:37: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-08-19 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 18:37: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-08-19 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-08-19 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-08-19 18:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509056000001,"66":14396,"103":206,"83":41984,"24":23,"16":13974294572826624,"45":1875467800437233664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509056000001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:37:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:37:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13974294572826624,"km_value":13974294572826.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1875467800437233664,"description":"Unknown IO ID 45"} 
[2026-08-19 18:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509056000001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1875467800437233664}} 
[2026-08-19 18:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":157803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:37:14] local.INFO: GPS data processed {"connection_id":157803,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:37:14] local.INFO: Acknowledgment sent {"connection_id":157803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:37:38] local.INFO: TCP Data received {"connection_id":159022,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a20a470012ceb5f800713b858001400a12c..."} 
[2026-08-19 18:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a20a470012ceb5f800713b858001400a12c..."} 
[2026-08-19 18:37:38] local.INFO: Processing buffer {"connection_id":159022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a20a470012ceb5f800713b858001400a12c..."} 
[2026-08-19 18:37:38] local.INFO: Packet analysis {"connection_id":159022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a20"} 
[2026-08-19 18:37:38] local.INFO: Extracted packet for processing {"connection_id":159022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a20"} 
[2026-08-19 18:37:38] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":44,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508976896001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:37:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787144742000,"timestamp_ms":1787144742000,"timestamp_seconds":1787144742,"priority":1,"record_length":96,"hex_timestamp":"000001a01a20a470"} 
[2026-08-19 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-08-19 18:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-19 18:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 18:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508976896001,"66":25593,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508976896001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:37:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:37:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508976896001,"power":25593,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":159022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:37:38] local.INFO: GPS data processed {"connection_id":159022,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:37:38] local.INFO: Acknowledgment sent {"connection_id":159022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:37:45] local.INFO: TCP Data received {"connection_id":157803,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a20fa60012d19e6800720b2300034010d29..."} 
[2026-08-19 18:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a20fa60012d19e6800720b2300034010d29..."} 
[2026-08-19 18:37:45] local.INFO: Processing buffer {"connection_id":157803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a20fa60012d19e6800720b2300034010d29..."} 
[2026-08-19 18:37:45] local.INFO: Packet analysis {"connection_id":157803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a20"} 
[2026-08-19 18:37:45] local.INFO: Extracted packet for processing {"connection_id":157803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a20"} 
[2026-08-19 18:37:45] local.INFO: GPS Element Parsed {"raw_longitude":756672128,"raw_latitude":119583280,"longitude_deg":75.6672128,"latitude_deg":11.958328,"altitude":52,"angle":269,"satellites":41,"speed":23,"hex_longitude":"2d19e680","hex_latitude":"0720b230","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509059072001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13974354702368768,"note":"Value kept but may cause issues"} 
[2026-08-19 18:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867656869832736768,"note":"Value kept but may cause issues"} 
[2026-08-19 18:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787144764000,"timestamp_ms":1787144764000,"timestamp_seconds":1787144764,"priority":1,"record_length":96,"hex_timestamp":"000001a01a20fa60"} 
[2026-08-19 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-08-19 18:37: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-08-19 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 18:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 18:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509059072001,"66":13580,"103":206,"83":41984,"24":23,"16":13974354702368768,"45":1867656869832736768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509059072001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:37:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:37:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13974354702368768,"km_value":13974354702368.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867656869832736768,"description":"Unknown IO ID 45"} 
[2026-08-19 18:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509059072001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1867656869832736768}} 
[2026-08-19 18:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":157803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:37:45] local.INFO: GPS data processed {"connection_id":157803,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:37:45] local.INFO: Acknowledgment sent {"connection_id":157803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:37:59] local.INFO: TCP Data received {"connection_id":157804,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:37:59] local.INFO: Processing buffer {"connection_id":157804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:37:59] local.INFO: IMEI packet received {"connection_id":157804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":157804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:38:03] local.INFO: TCP Data received {"connection_id":157804,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:38:03] local.INFO: Processing buffer {"connection_id":157804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:38:03] local.INFO: IMEI packet received {"connection_id":157804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":157804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:38:04] local.INFO: TCP Data received {"connection_id":157804,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a20a470012ceb5f800713b858001400a12c..."} 
[2026-08-19 18:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a20a470012ceb5f800713b858001400a12c..."} 
[2026-08-19 18:38:04] local.INFO: Processing buffer {"connection_id":157804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a20a470012ceb5f800713b858001400a12c..."} 
[2026-08-19 18:38:04] local.INFO: Packet analysis {"connection_id":157804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a20"} 
[2026-08-19 18:38:04] local.INFO: Extracted packet for processing {"connection_id":157804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a20"} 
[2026-08-19 18:38:04] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":44,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457508976896001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:38:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787144742000,"timestamp_ms":1787144742000,"timestamp_seconds":1787144742,"priority":1,"record_length":96,"hex_timestamp":"000001a01a20a470"} 
[2026-08-19 18:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:38: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-08-19 18: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-19 18:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457508976896001,"66":25593,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457508976896001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:38:04] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:38:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457508976896001,"power":25593,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":157804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:38:04] local.INFO: GPS data processed {"connection_id":157804,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:38:04] local.INFO: Acknowledgment sent {"connection_id":157804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:38:12] local.INFO: TCP Data received {"connection_id":159023,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:38:12] local.INFO: Processing buffer {"connection_id":159023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:38:12] local.INFO: IMEI packet received {"connection_id":159023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":159023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:38:13] local.INFO: TCP Data received {"connection_id":159023,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:38:13] local.INFO: Processing buffer {"connection_id":159023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:38:13] local.INFO: IMEI packet received {"connection_id":159023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":159023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:38:18] local.INFO: TCP Data received {"connection_id":159023,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:38:18] local.INFO: Processing buffer {"connection_id":159023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:38:18] local.INFO: IMEI packet received {"connection_id":159023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":159023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:38:19] local.INFO: TCP Data received {"connection_id":159023,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a21ec90012d195b000720aba80036010d26..."} 
[2026-08-19 18:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a21ec90012d195b000720aba80036010d26..."} 
[2026-08-19 18:38:19] local.INFO: Processing buffer {"connection_id":159023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a21ec90012d195b000720aba80036010d26..."} 
[2026-08-19 18:38:19] local.INFO: Packet analysis {"connection_id":159023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a21"} 
[2026-08-19 18:38:19] local.INFO: Extracted packet for processing {"connection_id":159023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a21"} 
[2026-08-19 18:38:19] local.INFO: GPS Element Parsed {"raw_longitude":756636416,"raw_latitude":119581608,"longitude_deg":75.6636416,"latitude_deg":11.9581608,"altitude":54,"angle":269,"satellites":38,"speed":31,"hex_longitude":"2d195b00","hex_latitude":"0720aba8","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509072640001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13976158588633088,"note":"Value kept but may cause issues"} 
[2026-08-19 18:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837116834859573248,"note":"Value kept but may cause issues"} 
[2026-08-19 18:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787144826000,"timestamp_ms":1787144826000,"timestamp_seconds":1787144826,"priority":1,"record_length":96,"hex_timestamp":"000001a01a21ec90"} 
[2026-08-19 18:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:38: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-08-19 18: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 18:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509072640001,"66":14515,"103":206,"83":41984,"24":31,"16":13976158588633088,"45":1837116834859573248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509072640001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:38:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:38:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13976158588633088,"km_value":13976158588633.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837116834859573248,"description":"Unknown IO ID 45"} 
[2026-08-19 18:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509072640001,"power":14515,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1837116834859573248}} 
[2026-08-19 18:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":159023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:38:19] local.INFO: GPS data processed {"connection_id":159023,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:38:19] local.INFO: Acknowledgment sent {"connection_id":159023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:38:35] local.INFO: TCP Data received {"connection_id":157804,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a224e38012ceb5f800713b858001400a12c..."} 
[2026-08-19 18:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a224e38012ceb5f800713b858001400a12c..."} 
[2026-08-19 18:38:35] local.INFO: Processing buffer {"connection_id":157804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a224e38012ceb5f800713b858001400a12c..."} 
[2026-08-19 18:38:35] local.INFO: Packet analysis {"connection_id":157804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a22"} 
[2026-08-19 18:38:35] local.INFO: Extracted packet for processing {"connection_id":157804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a22"} 
[2026-08-19 18:38:35] local.INFO: GPS Element Parsed {"raw_longitude":753622912,"raw_latitude":118732888,"longitude_deg":75.3622912,"latitude_deg":11.8732888,"altitude":20,"angle":161,"satellites":44,"speed":0,"hex_longitude":"2ceb5f80","hex_latitude":"0713b858","is_valid_coordinates":true} 
[2026-08-19 18:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509053952001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:38:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787144851000,"timestamp_ms":1787144851000,"timestamp_seconds":1787144851,"priority":1,"record_length":96,"hex_timestamp":"000001a01a224e38"} 
[2026-08-19 18:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 18:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":157804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":157804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":157804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509053952001,"66":25593,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509053952001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:38:35] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:38:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509053952001,"power":25593,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":157804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:38:35] local.INFO: GPS data processed {"connection_id":157804,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:38:35] local.INFO: Acknowledgment sent {"connection_id":157804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:38:50] local.INFO: TCP Data received {"connection_id":159023,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a21fc30012d194e800720abc80036011927..."} 
[2026-08-19 18:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a21fc30012d194e800720abc80036011927..."} 
[2026-08-19 18:38:50] local.INFO: Processing buffer {"connection_id":159023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a21fc30012d194e800720abc80036011927..."} 
[2026-08-19 18:38:50] local.INFO: Packet analysis {"connection_id":159023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a21"} 
[2026-08-19 18:38:50] local.INFO: Extracted packet for processing {"connection_id":159023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a21"} 
[2026-08-19 18:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756633216,"raw_latitude":119581640,"longitude_deg":75.6633216,"latitude_deg":11.958164,"altitude":54,"angle":281,"satellites":39,"speed":32,"hex_longitude":"2d194e80","hex_latitude":"0720abc8","is_valid_coordinates":true} 
[2026-08-19 18:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509075456001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13976308912488448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827054104441759744,"note":"Value kept but may cause issues"} 
[2026-08-19 18:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787144830000,"timestamp_ms":1787144830000,"timestamp_seconds":1787144830,"priority":1,"record_length":96,"hex_timestamp":"000001a01a21fc30"} 
[2026-08-19 18:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:38:50] 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-08-19 18:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 18:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":159023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":159023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":159023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509075456001,"66":14363,"103":206,"83":41984,"24":32,"16":13976308912488448,"45":1827054104441759744},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509075456001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:38:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13976308912488448,"km_value":13976308912488.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827054104441759744,"description":"Unknown IO ID 45"} 
[2026-08-19 18:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509075456001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1827054104441759744}} 
[2026-08-19 18:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":159023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:38:51] local.INFO: GPS data processed {"connection_id":159023,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:38:51] local.INFO: Acknowledgment sent {"connection_id":159023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:38:58] local.INFO: TCP Data received {"connection_id":160339,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:38:58] local.INFO: Processing buffer {"connection_id":160339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:38:58] local.INFO: IMEI packet received {"connection_id":160339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":160339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:39:04] local.INFO: TCP Data received {"connection_id":160339,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:39:04] local.INFO: Processing buffer {"connection_id":160339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:39:04] local.INFO: IMEI packet received {"connection_id":160339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":160339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:39:05] local.INFO: TCP Data received {"connection_id":160339,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a22afe0012ceb5e000713b820001400a129..."} 
[2026-08-19 18:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a22afe0012ceb5e000713b820001400a129..."} 
[2026-08-19 18:39:05] local.INFO: Processing buffer {"connection_id":160339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a22afe0012ceb5e000713b820001400a129..."} 
[2026-08-19 18:39:05] local.INFO: Packet analysis {"connection_id":160339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a22"} 
[2026-08-19 18:39:05] local.INFO: Extracted packet for processing {"connection_id":160339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a22"} 
[2026-08-19 18:39:05] local.INFO: GPS Element Parsed {"raw_longitude":753622528,"raw_latitude":118732832,"longitude_deg":75.3622528,"latitude_deg":11.8732832,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5e00","hex_latitude":"0713b820","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509081856001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486328584124999680,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787144876000,"timestamp_ms":1787144876000,"timestamp_seconds":1787144876,"priority":1,"record_length":96,"hex_timestamp":"000001a01a22afe0"} 
[2026-08-19 18:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 18:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509081856001,"66":27626,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486328584124999680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509081856001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:39:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:39:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486328584124999680,"description":"Unknown IO ID 44"} 
[2026-08-19 18:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509081856001,"power":27626,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486328584124999680}} 
[2026-08-19 18:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":160339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:39:05] local.INFO: GPS data processed {"connection_id":160339,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:39:05] local.INFO: Acknowledgment sent {"connection_id":160339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:39:08] local.INFO: TCP Data received {"connection_id":158163,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:39:08] local.INFO: Processing buffer {"connection_id":158163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:39:08] local.INFO: IMEI packet received {"connection_id":158163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":158163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:39:13] local.INFO: TCP Data received {"connection_id":158163,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:39:13] local.INFO: Processing buffer {"connection_id":158163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:39:13] local.INFO: IMEI packet received {"connection_id":158163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":158163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:39:14] local.INFO: TCP Data received {"connection_id":158163,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a220bd0012d1942000720afa80033012628..."} 
[2026-08-19 18:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a220bd0012d1942000720afa80033012628..."} 
[2026-08-19 18:39:14] local.INFO: Processing buffer {"connection_id":158163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a220bd0012d1942000720afa80033012628..."} 
[2026-08-19 18:39:14] local.INFO: Packet analysis {"connection_id":158163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a22"} 
[2026-08-19 18:39:14] local.INFO: Extracted packet for processing {"connection_id":158163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a22"} 
[2026-08-19 18:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756630016,"raw_latitude":119582632,"longitude_deg":75.6630016,"latitude_deg":11.9582632,"altitude":51,"angle":294,"satellites":40,"speed":33,"hex_longitude":"2d194200","hex_latitude":"0720afa8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509076480001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13976472121245696,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823535667232884736,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787144834000,"timestamp_ms":1787144834000,"timestamp_seconds":1787144834,"priority":1,"record_length":96,"hex_timestamp":"000001a01a220bd0"} 
[2026-08-19 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-08-19 18:39: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-08-19 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-19 18:39:14] 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-08-19 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-08-19 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-08-19 18:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509076480001,"66":14428,"103":206,"83":41984,"24":33,"16":13976472121245696,"45":1823535667232884736},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 18:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509076480001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:39:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 18:39:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13976472121245696,"km_value":13976472121245.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823535667232884736,"description":"Unknown IO ID 45"} 
[2026-08-19 18:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509076480001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1823535667232884736}} 
[2026-08-19 18:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":158163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:39:14] local.INFO: GPS data processed {"connection_id":158163,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:39:14] local.INFO: Acknowledgment sent {"connection_id":158163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:39:37] local.INFO: TCP Data received {"connection_id":160339,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2301e8012ceb5e000713b820001400a129..."} 
[2026-08-19 18:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2301e8012ceb5e000713b820001400a129..."} 
[2026-08-19 18:39:37] local.INFO: Processing buffer {"connection_id":160339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2301e8012ceb5e000713b820001400a129..."} 
[2026-08-19 18:39:37] local.INFO: Packet analysis {"connection_id":160339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a23"} 
[2026-08-19 18:39:37] local.INFO: Extracted packet for processing {"connection_id":160339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a23"} 
[2026-08-19 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":753622528,"raw_latitude":118732832,"longitude_deg":75.3622528,"latitude_deg":11.8732832,"altitude":20,"angle":161,"satellites":41,"speed":0,"hex_longitude":"2ceb5e00","hex_latitude":"0713b820","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509088256001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386020983275782144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590080000,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787144897000,"timestamp_ms":1787144897000,"timestamp_seconds":1787144897,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2301e8"} 
[2026-08-19 18:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-19 18:39:37] 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-08-19 18: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-08-19 18:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509088256001,"66":27843,"12":206,"2":54272,"24":0,"16":386020983275782144,"44":-1486750796590080000},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509088256001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:39:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386020983275782144,"km_value":386020983275782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:39:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590080000,"description":"Unknown IO ID 44"} 
[2026-08-19 18:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509088256001,"power":27843,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486750796590080000}} 
[2026-08-19 18:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":160339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:39:37] local.INFO: GPS data processed {"connection_id":160339,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:39:37] local.INFO: Acknowledgment sent {"connection_id":160339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:39:45] local.INFO: TCP Data received {"connection_id":158163,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a238aa0012d18c3c0072141700041015f27..."} 
[2026-08-19 18:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a238aa0012d18c3c0072141700041015f27..."} 
[2026-08-19 18:39:45] local.INFO: Processing buffer {"connection_id":158163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a238aa0012d18c3c0072141700041015f27..."} 
[2026-08-19 18:39:45] local.INFO: Packet analysis {"connection_id":158163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a23"} 
[2026-08-19 18:39:45] local.INFO: Extracted packet for processing {"connection_id":158163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a23"} 
[2026-08-19 18:39:45] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119619952,"longitude_deg":75.6597696,"latitude_deg":11.9619952,"altitude":65,"angle":351,"satellites":39,"speed":31,"hex_longitude":"2d18c3c0","hex_latitude":"07214170","is_valid_coordinates":true} 
[2026-08-19 18:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509100288001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13979027626786816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787858713943128064,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:45] 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-08-19 18:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787144932000,"timestamp_ms":1787144932000,"timestamp_seconds":1787144932,"priority":1,"record_length":96,"hex_timestamp":"000001a01a238aa0"} 
[2026-08-19 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-08-19 18:39:45] 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-08-19 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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 18:39:45] 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-08-19 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-08-19 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-08-19 18:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509100288001,"66":14004,"106":206,"83":41984,"24":31,"16":13979027626786816,"45":1787858713943128064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 18:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509100288001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:39:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 18:39:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13979027626786816,"km_value":13979027626786.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787858713943128064,"description":"Unknown IO ID 45"} 
[2026-08-19 18:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509100288001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1787858713943128064}} 
[2026-08-19 18:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":158163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:39:45] local.INFO: GPS data processed {"connection_id":158163,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:39:45] local.INFO: Acknowledgment sent {"connection_id":158163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:39:52] local.INFO: TCP Data received {"connection_id":158164,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:39:52] local.INFO: Processing buffer {"connection_id":158164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:39:52] local.INFO: IMEI packet received {"connection_id":158164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":158164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:39:52] local.INFO: TCP Data received {"connection_id":158164,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a237718012d7e560005d35628000800322d..."} 
[2026-08-19 18:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a237718012d7e560005d35628000800322d..."} 
[2026-08-19 18:39:52] local.INFO: Processing buffer {"connection_id":158164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a237718012d7e560005d35628000800322d..."} 
[2026-08-19 18:39:52] local.INFO: Packet analysis {"connection_id":158164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a23"} 
[2026-08-19 18:39:52] local.INFO: Extracted packet for processing {"connection_id":158164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a23"} 
[2026-08-19 18:39:52] local.INFO: GPS Element Parsed {"raw_longitude":763254272,"raw_latitude":97736232,"longitude_deg":76.3254272,"latitude_deg":9.7736232,"altitude":8,"angle":50,"satellites":45,"speed":4,"hex_longitude":"2d7e5600","hex_latitude":"05d35628","is_valid_coordinates":true} 
[2026-08-19 18:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509101056001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897870478966784,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103322984308144128,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:52] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-19 18:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787144927000,"timestamp_ms":1787144927000,"timestamp_seconds":1787144927,"priority":1,"record_length":96,"hex_timestamp":"000001a01a237718"} 
[2026-08-19 18:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:39: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-08-19 18:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 18:39:52] local.WARNING: Large IO value detected {"io_id":131,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:52] local.WARNING: Large IO value detected {"io_id":211,"raw_value":6437895684512427008,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3192979662,"corrected_to":0} 
[2026-08-19 18:39:52] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":805383550,"corrected_to":0} 
[2026-08-19 18:39:52] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2147865432,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:52] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2208497664,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:52] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57911625340835131,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:52] local.WARNING: Large IO value detected {"io_id":34,"raw_value":-3521813613700759547,"note":"Value kept but may cause issues"} 
[2026-08-19 18:39:52] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,24,241,16,131,160,107,45,128,86,8,43,10,66,103,192,1,240,26,211,4,113,205,85,246,65,48,239,51,81,2,157,173,5,182,34],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3192979662,"validated":0},{"io_id":246,"original":805383550,"validated":0}]} 
[2026-08-19 18:39:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576553295964012544,"timestamp_seconds":576553295964012.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 18:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":158164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":158164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":158164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:39:52] 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-08-19 18:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509101056001,"66":12819,"24":4,"16":120897870478966784,"45":9103322984308144128},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-19 18:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509101056001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897870478966784,"km_value":120897870478966.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103322984308144128,"description":"Unknown IO ID 45"} 
[2026-08-19 18:39:52] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457509101056001,"power":12819,"ignition":4,"odometer":null,"unknown_45":9103322984308144128}} 
[2026-08-19 18:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":158164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:39:52] local.INFO: GPS data processed {"connection_id":158164,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:39:52] local.INFO: Acknowledgment sent {"connection_id":158164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:39:58] local.INFO: TCP Data received {"connection_id":160340,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:39:58] local.INFO: Processing buffer {"connection_id":160340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:39:58] local.INFO: IMEI packet received {"connection_id":160340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":160340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:39:59] local.INFO: TCP Data received {"connection_id":160340,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:39:59] local.INFO: Processing buffer {"connection_id":160340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:39:59] local.INFO: IMEI packet received {"connection_id":160340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":160340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:40:01] local.INFO: TCP Data received {"connection_id":160340,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:40:01] local.INFO: Processing buffer {"connection_id":160340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:40:01] local.INFO: IMEI packet received {"connection_id":160340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":160340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:40:03] local.INFO: TCP Data received {"connection_id":160340,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:40:03] local.INFO: Processing buffer {"connection_id":160340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:40:03] local.INFO: IMEI packet received {"connection_id":160340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":160340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:40:05] local.INFO: TCP Data received {"connection_id":157805,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:40:05] local.INFO: Processing buffer {"connection_id":157805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:40:05] local.INFO: IMEI packet received {"connection_id":157805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":157805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:40:05] local.INFO: TCP Data received {"connection_id":160340,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2328f8012ceb5e800713bb08000e00042b..."} 
[2026-08-19 18:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2328f8012ceb5e800713bb08000e00042b..."} 
[2026-08-19 18:40:05] local.INFO: Processing buffer {"connection_id":160340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2328f8012ceb5e800713bb08000e00042b..."} 
[2026-08-19 18:40:05] local.INFO: Packet analysis {"connection_id":160340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a23"} 
[2026-08-19 18:40:05] local.INFO: Extracted packet for processing {"connection_id":160340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a23"} 
[2026-08-19 18:40:05] local.INFO: GPS Element Parsed {"raw_longitude":753622656,"raw_latitude":118733576,"longitude_deg":75.3622656,"latitude_deg":11.8733576,"altitude":14,"angle":4,"satellites":43,"speed":3,"hex_longitude":"2ceb5e80","hex_latitude":"0713bb08","is_valid_coordinates":true} 
[2026-08-19 18:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509093632001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386021017635520512,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796590080000,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787144907000,"timestamp_ms":1787144907000,"timestamp_seconds":1787144907,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2328f8"} 
[2026-08-19 18:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:40: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-08-19 18:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 18:40: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-08-19 18:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509093632001,"66":27865,"12":206,"2":54272,"24":3,"16":386021017635520512,"44":-1486750796590080000},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509093632001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:40:05] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386021017635520512,"km_value":386021017635520.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:40:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796590080000,"description":"Unknown IO ID 44"} 
[2026-08-19 18:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509093632001,"power":27865,"unknown_12":206,"power_alt":54272,"ignition":3,"odometer":null,"unknown_44":-1486750796590080000}} 
[2026-08-19 18:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":160340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:40:05] local.INFO: GPS data processed {"connection_id":160340,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:40:05] local.INFO: Acknowledgment sent {"connection_id":160340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:40:08] local.INFO: TCP Data received {"connection_id":157805,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:40:08] local.INFO: Processing buffer {"connection_id":157805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:40:08] local.INFO: IMEI packet received {"connection_id":157805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":157805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:40:13] local.INFO: TCP Data received {"connection_id":157805,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:40:13] local.INFO: Processing buffer {"connection_id":157805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:40:13] local.INFO: IMEI packet received {"connection_id":157805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":157805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:40:14] local.INFO: TCP Data received {"connection_id":157805,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a23a210012d18c180072153780042014c27..."} 
[2026-08-19 18:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a23a210012d18c180072153780042014c27..."} 
[2026-08-19 18:40:14] local.INFO: Processing buffer {"connection_id":157805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a23a210012d18c180072153780042014c27..."} 
[2026-08-19 18:40:14] local.INFO: Packet analysis {"connection_id":157805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a23"} 
[2026-08-19 18:40:14] local.INFO: Extracted packet for processing {"connection_id":157805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a23"} 
[2026-08-19 18:40:14] local.INFO: GPS Element Parsed {"raw_longitude":756597120,"raw_latitude":119624568,"longitude_deg":75.659712,"latitude_deg":11.9624568,"altitude":66,"angle":332,"satellites":39,"speed":29,"hex_longitude":"2d18c180","hex_latitude":"07215378","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509102592001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13979255260053504,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784481014224089088,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:14] 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-08-19 18:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787144938000,"timestamp_ms":1787144938000,"timestamp_seconds":1787144938,"priority":1,"record_length":96,"hex_timestamp":"000001a01a23a210"} 
[2026-08-19 18:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:40:14] 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-08-19 18: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 18:40:14] 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-08-19 18: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-08-19 18:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509102592001,"66":14233,"106":206,"83":41984,"24":29,"16":13979255260053504,"45":1784481014224089088},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 18:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509102592001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:40:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 18:40:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13979255260053504,"km_value":13979255260053.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784481014224089088,"description":"Unknown IO ID 45"} 
[2026-08-19 18:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509102592001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1784481014224089088}} 
[2026-08-19 18:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":157805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:40:14] local.INFO: GPS data processed {"connection_id":157805,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:40:14] local.INFO: Acknowledgment sent {"connection_id":157805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:40:24] local.INFO: TCP Data received {"connection_id":158164,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a237b00012d7e564005d356800008001e2d..."} 
[2026-08-19 18:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a237b00012d7e564005d356800008001e2d..."} 
[2026-08-19 18:40:24] local.INFO: Processing buffer {"connection_id":158164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a237b00012d7e564005d356800008001e2d..."} 
[2026-08-19 18:40:24] local.INFO: Packet analysis {"connection_id":158164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a23"} 
[2026-08-19 18:40:24] local.INFO: Extracted packet for processing {"connection_id":158164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a23"} 
[2026-08-19 18:40:24] local.INFO: GPS Element Parsed {"raw_longitude":763254336,"raw_latitude":97736320,"longitude_deg":76.3254336,"latitude_deg":9.773632,"altitude":8,"angle":30,"satellites":45,"speed":3,"hex_longitude":"2d7e5640","hex_latitude":"05d35680","is_valid_coordinates":true} 
[2026-08-19 18:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509101312001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897874773934080,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103463721796511744,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-19 18:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787144928000,"timestamp_ms":1787144928000,"timestamp_seconds":1787144928,"priority":1,"record_length":96,"hex_timestamp":"000001a01a237b00"} 
[2026-08-19 18:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3942645760,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2515955288293392448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5260468251858895104,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-4733000847196487656,"corrected_to":0} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154110,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2208956416,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3217663603997905107,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522242008613965397,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195058688,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505444376510464,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84862760932201305,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.WARNING: Large IO value detected {"io_id":88,"raw_value":1126321551836160,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:24] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,24,241,16,131,160,115,45,128,85,8,43,10,66,107,86,103,192,1,240,166,26,211,4,113,205,68,64,44,239,50,81,2,157,173,5,6,51,59,163,69,227,32,88],"length":625,"final_offset":755,"validated_count":44,"validation_warnings":[{"io_id":205,"original":-4733000847196487656,"validated":0}]} 
[2026-08-19 18:40:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576515921158602752,"timestamp_seconds":576515921158602.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 18:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:40:24] 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-08-19 18:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509101312001,"66":12819,"24":3,"16":120897874773934080,"45":9103463721796511744},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-19 18:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509101312001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897874773934080,"km_value":120897874773934.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103463721796511744,"description":"Unknown IO ID 45"} 
[2026-08-19 18:40:24] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457509101312001,"power":12819,"ignition":3,"odometer":null,"unknown_45":9103463721796511744}} 
[2026-08-19 18:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":158164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:40:24] local.INFO: GPS data processed {"connection_id":158164,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:40:24] local.INFO: Acknowledgment sent {"connection_id":158164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:40:37] local.INFO: TCP Data received {"connection_id":160340,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a247118012ceaf0c00713ea78001100bf2c..."} 
[2026-08-19 18:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a247118012ceaf0c00713ea78001100bf2c..."} 
[2026-08-19 18:40:37] local.INFO: Processing buffer {"connection_id":160340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a247118012ceaf0c00713ea78001100bf2c..."} 
[2026-08-19 18:40:37] local.INFO: Packet analysis {"connection_id":160340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:40:37] local.INFO: Extracted packet for processing {"connection_id":160340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:40:37] local.INFO: GPS Element Parsed {"raw_longitude":753594560,"raw_latitude":118745720,"longitude_deg":75.359456,"latitude_deg":11.874572,"altitude":17,"angle":191,"satellites":44,"speed":14,"hex_longitude":"2ceaf0c0","hex_latitude":"0713ea78","is_valid_coordinates":true} 
[2026-08-19 18:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509117440001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386022581003616256,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1517290831559798784,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787144991000,"timestamp_ms":1787144991000,"timestamp_seconds":1787144991,"priority":1,"record_length":96,"hex_timestamp":"000001a01a247118"} 
[2026-08-19 18:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 18:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509117440001,"66":27821,"12":206,"2":54272,"24":14,"16":386022581003616256,"44":-1517290831559798784},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509117440001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:40:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386022581003616256,"km_value":386022581003616.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:40:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1517290831559798784,"description":"Unknown IO ID 44"} 
[2026-08-19 18:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509117440001,"power":27821,"unknown_12":206,"power_alt":54272,"ignition":14,"odometer":null,"unknown_44":-1517290831559798784}} 
[2026-08-19 18:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":160340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:40:37] local.INFO: GPS data processed {"connection_id":160340,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:40:37] local.INFO: Acknowledgment sent {"connection_id":160340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:40:41] local.INFO: TCP Data received {"connection_id":160341,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:40:41] local.INFO: Processing buffer {"connection_id":160341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:40:41] local.INFO: IMEI packet received {"connection_id":160341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":160341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:40:45] local.INFO: TCP Data received {"connection_id":160341,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:40:45] local.INFO: Processing buffer {"connection_id":160341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:40:45] local.INFO: IMEI packet received {"connection_id":160341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":160341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:40:45] local.INFO: TCP Data received {"connection_id":157805,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a23b598012d18b94007215f280044014128..."} 
[2026-08-19 18:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a23b598012d18b94007215f280044014128..."} 
[2026-08-19 18:40:45] local.INFO: Processing buffer {"connection_id":157805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a23b598012d18b94007215f280044014128..."} 
[2026-08-19 18:40:45] local.INFO: Packet analysis {"connection_id":157805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a23"} 
[2026-08-19 18:40:45] local.INFO: Extracted packet for processing {"connection_id":157805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a23"} 
[2026-08-19 18:40:45] local.INFO: GPS Element Parsed {"raw_longitude":756595008,"raw_latitude":119627560,"longitude_deg":75.6595008,"latitude_deg":11.962756,"altitude":68,"angle":321,"satellites":40,"speed":29,"hex_longitude":"2d18b940","hex_latitude":"07215f28","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509104128001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13979431353712640,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783847695527671808,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:45] 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-08-19 18:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787144943000,"timestamp_ms":1787144943000,"timestamp_seconds":1787144943,"priority":1,"record_length":96,"hex_timestamp":"000001a01a23b598"} 
[2026-08-19 18:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:40:45] 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-08-19 18: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-19 18:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509104128001,"66":14211,"106":206,"83":41984,"24":29,"16":13979431353712640,"45":1783847695527671808},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-19 18:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509104128001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:40:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 18:40:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13979431353712640,"km_value":13979431353712.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783847695527671808,"description":"Unknown IO ID 45"} 
[2026-08-19 18:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509104128001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1783847695527671808}} 
[2026-08-19 18:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":157805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:40:45] local.INFO: GPS data processed {"connection_id":157805,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:40:45] local.INFO: Acknowledgment sent {"connection_id":157805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:40:46] local.INFO: TCP Data received {"connection_id":160341,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2386b8012d7e564005d35690000800c52d..."} 
[2026-08-19 18:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2386b8012d7e564005d35690000800c52d..."} 
[2026-08-19 18:40:46] local.INFO: Processing buffer {"connection_id":160341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2386b8012d7e564005d35690000800c52d..."} 
[2026-08-19 18:40:46] local.INFO: Packet analysis {"connection_id":160341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a23"} 
[2026-08-19 18:40:46] local.INFO: Extracted packet for processing {"connection_id":160341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a23"} 
[2026-08-19 18:40:46] local.INFO: GPS Element Parsed {"raw_longitude":763254336,"raw_latitude":97736336,"longitude_deg":76.3254336,"latitude_deg":9.7736336,"altitude":8,"angle":197,"satellites":45,"speed":0,"hex_longitude":"2d7e5640","hex_latitude":"05d35690","is_valid_coordinates":true} 
[2026-08-19 18:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509101568001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897883363868672,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103534090540711936,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:46] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-19 18:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787144931000,"timestamp_ms":1787144931000,"timestamp_seconds":1787144931,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2386b8"} 
[2026-08-19 18:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 18:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:46] local.WARNING: Large IO value detected {"io_id":131,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:46] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2519253823176720768,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:46] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-4733000847196487656,"corrected_to":0} 
[2026-08-19 18:40:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3221607254,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:46] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:46] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2209480704,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3217769157114174931,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:46] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-2954135138268557739,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:46] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:46] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195086592,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505444376838144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:46] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84862782407037784,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:46] local.WARNING: Large IO value detected {"io_id":144,"raw_value":1407852379899136,"note":"Value kept but may cause issues"} 
[2026-08-19 18:40:46] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,24,241,16,131,160,119,45,86,8,10,66,115,128,85,43,107,1,240,46,26,211,4,113,205,103,83,64,239,51,2,173,5,6,50,59,170,69,227,120,144],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":-4733000847196487656,"validated":0}]} 
[2026-08-19 18:40:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576493930925981696,"timestamp_seconds":576493930925981.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 18:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:40: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-08-19 18:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509101568001,"66":13178,"24":0,"16":120897883363868672,"45":9103534090540711936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-19 18:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509101568001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897883363868672,"km_value":120897883363868.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103534090540711936,"description":"Unknown IO ID 45"} 
[2026-08-19 18:40:46] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457509101568001,"power":13178,"ignition":0,"odometer":null,"unknown_45":9103534090540711936}} 
[2026-08-19 18:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":160341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:40:46] local.INFO: GPS data processed {"connection_id":160341,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:40:46] local.INFO: Acknowledgment sent {"connection_id":160341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:41:03] local.INFO: TCP Data received {"connection_id":157806,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:41:03] local.INFO: Processing buffer {"connection_id":157806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:41:03] local.INFO: IMEI packet received {"connection_id":157806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":157806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:41:07] local.INFO: TCP Data received {"connection_id":157807,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:41:07] local.INFO: Processing buffer {"connection_id":157807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:41:07] local.INFO: IMEI packet received {"connection_id":157807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":157807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:41:08] local.INFO: TCP Data received {"connection_id":157807,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:41:08] local.INFO: Processing buffer {"connection_id":157807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:41:08] local.INFO: IMEI packet received {"connection_id":157807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":157807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:41:09] local.INFO: TCP Data received {"connection_id":157806,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:41:09] local.INFO: Processing buffer {"connection_id":157806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:41:09] local.INFO: IMEI packet received {"connection_id":157806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":157806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:41:10] local.INFO: TCP Data received {"connection_id":157806,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a247500012ceaf0c00713e8f8001100ac2c..."} 
[2026-08-19 18:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a247500012ceaf0c00713e8f8001100ac2c..."} 
[2026-08-19 18:41:10] local.INFO: Processing buffer {"connection_id":157806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a247500012ceaf0c00713e8f8001100ac2c..."} 
[2026-08-19 18:41:10] local.INFO: Packet analysis {"connection_id":157806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:41:10] local.INFO: Extracted packet for processing {"connection_id":157806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:41:10] local.INFO: GPS Element Parsed {"raw_longitude":753594560,"raw_latitude":118745336,"longitude_deg":75.359456,"latitude_deg":11.8745336,"altitude":17,"angle":172,"satellites":44,"speed":14,"hex_longitude":"2ceaf0c0","hex_latitude":"0713e8f8","is_valid_coordinates":true} 
[2026-08-19 18:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509117696001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386022598183485440,"note":"Value kept but may cause issues"} 
[2026-08-19 18:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1517501937792419840,"note":"Value kept but may cause issues"} 
[2026-08-19 18:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787144992000,"timestamp_ms":1787144992000,"timestamp_seconds":1787144992,"priority":1,"record_length":96,"hex_timestamp":"000001a01a247500"} 
[2026-08-19 18:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:41: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-08-19 18:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 18:41:10] 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-08-19 18:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509117696001,"66":27821,"12":206,"2":54272,"24":14,"16":386022598183485440,"44":-1517501937792419840},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509117696001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:41:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386022598183485440,"km_value":386022598183485.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1517501937792419840,"description":"Unknown IO ID 44"} 
[2026-08-19 18:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509117696001,"power":27821,"unknown_12":206,"power_alt":54272,"ignition":14,"odometer":null,"unknown_44":-1517501937792419840}} 
[2026-08-19 18:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":157806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:41:10] local.INFO: GPS data processed {"connection_id":157806,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:41:10] local.INFO: Acknowledgment sent {"connection_id":157806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:41:12] local.INFO: TCP Data received {"connection_id":157806,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2478e8012ceaf1800713e7780011009d2c..."} 
[2026-08-19 18:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2478e8012ceaf1800713e7780011009d2c..."} 
[2026-08-19 18:41:12] local.INFO: Processing buffer {"connection_id":157806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2478e8012ceaf1800713e7780011009d2c..."} 
[2026-08-19 18:41:12] local.INFO: Packet analysis {"connection_id":157806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:41:12] local.INFO: Extracted packet for processing {"connection_id":157806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:41:12] local.INFO: GPS Element Parsed {"raw_longitude":753594752,"raw_latitude":118744952,"longitude_deg":75.3594752,"latitude_deg":11.8744952,"altitude":17,"angle":157,"satellites":44,"speed":14,"hex_longitude":"2ceaf180","hex_latitude":"0713e778","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509117952001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386022619658321920,"note":"Value kept but may cause issues"} 
[2026-08-19 18:41:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1517501937792518144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787144993000,"timestamp_ms":1787144993000,"timestamp_seconds":1787144993,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2478e8"} 
[2026-08-19 18:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 18:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509117952001,"66":27821,"12":206,"2":54272,"24":14,"16":386022619658321920,"44":-1517501937792518144},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509117952001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:41:12] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386022619658321920,"km_value":386022619658321.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:41:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1517501937792518144,"description":"Unknown IO ID 44"} 
[2026-08-19 18:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509117952001,"power":27821,"unknown_12":206,"power_alt":54272,"ignition":14,"odometer":null,"unknown_44":-1517501937792518144}} 
[2026-08-19 18:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":157806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:41:12] local.INFO: GPS data processed {"connection_id":157806,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:41:12] local.INFO: Acknowledgment sent {"connection_id":157806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:41:13] local.INFO: TCP Data received {"connection_id":157807,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:41:13] local.INFO: Processing buffer {"connection_id":157807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:41:13] local.INFO: IMEI packet received {"connection_id":157807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":157807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:41:14] local.INFO: TCP Data received {"connection_id":157807,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a24c320012d181fc00721a4a00049011f26..."} 
[2026-08-19 18:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a24c320012d181fc00721a4a00049011f26..."} 
[2026-08-19 18:41:14] local.INFO: Processing buffer {"connection_id":157807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a24c320012d181fc00721a4a00049011f26..."} 
[2026-08-19 18:41:14] local.INFO: Packet analysis {"connection_id":157807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:41:14] local.INFO: Extracted packet for processing {"connection_id":157807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119645344,"longitude_deg":75.6555712,"latitude_deg":11.9645344,"altitude":73,"angle":287,"satellites":38,"speed":9,"hex_longitude":"2d181fc0","hex_latitude":"0721a4a0","is_valid_coordinates":true} 
[2026-08-19 18:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509122816001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13981561657491456,"note":"Value kept but may cause issues"} 
[2026-08-19 18:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593026725888,"note":"Value kept but may cause issues"} 
[2026-08-19 18:41: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-08-19 18:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787145012000,"timestamp_ms":1787145012000,"timestamp_seconds":1787145012,"priority":1,"record_length":96,"hex_timestamp":"000001a01a24c320"} 
[2026-08-19 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-08-19 18:41: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-08-19 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 18:41:14] 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-08-19 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-08-19 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-08-19 18:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509122816001,"66":13993,"105":206,"83":41984,"24":9,"16":13981561657491456,"45":1738600593026725888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509122816001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:41:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:41:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13981561657491456,"km_value":13981561657491.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593026725888,"description":"Unknown IO ID 45"} 
[2026-08-19 18:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509122816001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738600593026725888}} 
[2026-08-19 18:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":157807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:41:14] local.INFO: GPS data processed {"connection_id":157807,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:41:14] local.INFO: Acknowledgment sent {"connection_id":157807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:41:17] local.INFO: TCP Data received {"connection_id":160341,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a238e88012d7e564005d35650000900d52d..."} 
[2026-08-19 18:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a238e88012d7e564005d35650000900d52d..."} 
[2026-08-19 18:41:17] local.INFO: Processing buffer {"connection_id":160341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a238e88012d7e564005d35650000900d52d..."} 
[2026-08-19 18:41:17] local.INFO: Packet analysis {"connection_id":160341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a23"} 
[2026-08-19 18:41:17] local.INFO: Extracted packet for processing {"connection_id":160341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a23"} 
[2026-08-19 18:41:17] local.INFO: GPS Element Parsed {"raw_longitude":763254336,"raw_latitude":97736272,"longitude_deg":76.3254336,"latitude_deg":9.7736272,"altitude":9,"angle":213,"satellites":45,"speed":1,"hex_longitude":"2d7e5640","hex_latitude":"05d35650","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509102336001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897883363868672,"note":"Value kept but may cause issues"} 
[2026-08-19 18:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103534090540716032,"note":"Value kept but may cause issues"} 
[2026-08-19 18:41:17] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-19 18:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787144933000,"timestamp_ms":1787144933000,"timestamp_seconds":1787144933,"priority":1,"record_length":96,"hex_timestamp":"000001a01a238e88"} 
[2026-08-19 18:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:41:17] 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-08-19 18: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-19 18:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:41:17] 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-08-19 18:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509102336001,"66":13189,"24":1,"16":120897883363868672,"45":9103534090540716032},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-19 18:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509102336001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897883363868672,"km_value":120897883363868.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103534090540716032,"description":"Unknown IO ID 45"} 
[2026-08-19 18:41:17] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457509102336001,"power":13189,"ignition":1,"odometer":null,"unknown_45":9103534090540716032}} 
[2026-08-19 18:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":160341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:41:17] local.INFO: GPS data processed {"connection_id":160341,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:41:17] local.INFO: Acknowledgment sent {"connection_id":160341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:41:41] local.INFO: TCP Data received {"connection_id":160342,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:41:41] local.INFO: Processing buffer {"connection_id":160342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:41:41] local.INFO: IMEI packet received {"connection_id":160342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":160342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:41:45] local.INFO: TCP Data received {"connection_id":157807,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a24f9d0012d181dc00721a768004a000026..."} 
[2026-08-19 18:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a24f9d0012d181dc00721a768004a000026..."} 
[2026-08-19 18:41:45] local.INFO: Processing buffer {"connection_id":157807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a24f9d0012d181dc00721a768004a000026..."} 
[2026-08-19 18:41:45] local.INFO: Packet analysis {"connection_id":157807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:41:45] local.INFO: Extracted packet for processing {"connection_id":157807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:41:45] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646056,"longitude_deg":75.65552,"latitude_deg":11.9646056,"altitude":74,"angle":0,"satellites":38,"speed":4,"hex_longitude":"2d181dc0","hex_latitude":"0721a768","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509123072001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13981613197099008,"note":"Value kept but may cause issues"} 
[2026-08-19 18:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050041856,"note":"Value kept but may cause issues"} 
[2026-08-19 18:41: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-08-19 18:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787145026000,"timestamp_ms":1787145026000,"timestamp_seconds":1787145026,"priority":1,"record_length":96,"hex_timestamp":"000001a01a24f9d0"} 
[2026-08-19 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-08-19 18:41: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-08-19 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 18:41: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-08-19 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-08-19 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-08-19 18:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509123072001,"66":13961,"105":206,"83":41984,"24":4,"16":13981613197099008,"45":1738319118050041856},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509123072001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:41:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:41:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13981613197099008,"km_value":13981613197099.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050041856,"description":"Unknown IO ID 45"} 
[2026-08-19 18:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509123072001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1738319118050041856}} 
[2026-08-19 18:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":157807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:41:45] local.INFO: GPS data processed {"connection_id":157807,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:41:45] local.INFO: Acknowledgment sent {"connection_id":157807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:41:46] local.INFO: TCP Data received {"connection_id":160342,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:41:46] local.INFO: Processing buffer {"connection_id":160342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:41:46] local.INFO: IMEI packet received {"connection_id":160342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":160342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:41:47] local.INFO: TCP Data received {"connection_id":160342,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a242eb0012d7e564005d35638000900dc2a..."} 
[2026-08-19 18:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a242eb0012d7e564005d35638000900dc2a..."} 
[2026-08-19 18:41:47] local.INFO: Processing buffer {"connection_id":160342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a242eb0012d7e564005d35638000900dc2a..."} 
[2026-08-19 18:41:47] local.INFO: Packet analysis {"connection_id":160342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:41:47] local.INFO: Extracted packet for processing {"connection_id":160342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:41:47] local.INFO: GPS Element Parsed {"raw_longitude":763254336,"raw_latitude":97736248,"longitude_deg":76.3254336,"latitude_deg":9.7736248,"altitude":9,"angle":220,"satellites":42,"speed":0,"hex_longitude":"2d7e5640","hex_latitude":"05d35638","is_valid_coordinates":true} 
[2026-08-19 18:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509102848001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897887658835968,"note":"Value kept but may cause issues"} 
[2026-08-19 18:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103534090540699648,"note":"Value kept but may cause issues"} 
[2026-08-19 18:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787144974000,"timestamp_ms":1787144974000,"timestamp_seconds":1787144974,"priority":1,"record_length":96,"hex_timestamp":"000001a01a242eb0"} 
[2026-08-19 18:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:41:47] 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-08-19 18:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-19 18:41: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-08-19 18:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:41:47] 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-08-19 18:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509102848001,"66":13243,"109":206,"85":15104,"24":0,"16":120897887658835968,"45":9103534090540699648},"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-08-19 18:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509102848001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:41:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:41:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897887658835968,"km_value":120897887658835.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103534090540699648,"description":"Unknown IO ID 45"} 
[2026-08-19 18:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509102848001,"power":13243,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9103534090540699648}} 
[2026-08-19 18:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":160342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:41:47] local.INFO: GPS data processed {"connection_id":160342,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:41:47] local.INFO: Acknowledgment sent {"connection_id":160342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:42:08] local.INFO: TCP Data received {"connection_id":158165,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:42:08] local.INFO: Processing buffer {"connection_id":158165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:42:08] local.INFO: IMEI packet received {"connection_id":158165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":158165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:42:13] local.INFO: TCP Data received {"connection_id":158165,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:42:13] local.INFO: Processing buffer {"connection_id":158165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:42:13] local.INFO: IMEI packet received {"connection_id":158165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":158165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:42:14] local.INFO: TCP Data received {"connection_id":158165,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a24fdb8012d181e000721a800004a001426..."} 
[2026-08-19 18:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a24fdb8012d181e000721a800004a001426..."} 
[2026-08-19 18:42:14] local.INFO: Processing buffer {"connection_id":158165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a24fdb8012d181e000721a800004a001426..."} 
[2026-08-19 18:42:14] local.INFO: Packet analysis {"connection_id":158165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:42:14] local.INFO: Extracted packet for processing {"connection_id":158165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:42:14] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119646208,"longitude_deg":75.6555264,"latitude_deg":11.9646208,"altitude":74,"angle":20,"satellites":38,"speed":8,"hex_longitude":"2d181e00","hex_latitude":"0721a800","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509126656001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13981621787033600,"note":"Value kept but may cause issues"} 
[2026-08-19 18:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096802816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:42: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-08-19 18:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787145027000,"timestamp_ms":1787145027000,"timestamp_seconds":1787145027,"priority":1,"record_length":96,"hex_timestamp":"000001a01a24fdb8"} 
[2026-08-19 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-08-19 18:42:14] 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-08-19 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-19 18:42:14] 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-08-19 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-08-19 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-08-19 18:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509126656001,"66":13928,"105":206,"83":41984,"24":8,"16":13981621787033600,"45":1737756168096802816},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509126656001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:42:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:42:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13981621787033600,"km_value":13981621787033.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096802816,"description":"Unknown IO ID 45"} 
[2026-08-19 18:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509126656001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737756168096802816}} 
[2026-08-19 18:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":158165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:42:14] local.INFO: GPS data processed {"connection_id":158165,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:42:14] local.INFO: Acknowledgment sent {"connection_id":158165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:42:19] local.INFO: TCP Data received {"connection_id":160342,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a246d30012d7e568005d357980008015a2e..."} 
[2026-08-19 18:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a246d30012d7e568005d357980008015a2e..."} 
[2026-08-19 18:42:19] local.INFO: Processing buffer {"connection_id":160342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a246d30012d7e568005d357980008015a2e..."} 
[2026-08-19 18:42:19] local.INFO: Packet analysis {"connection_id":160342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:42:19] local.INFO: Extracted packet for processing {"connection_id":160342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:42:19] local.INFO: GPS Element Parsed {"raw_longitude":763254400,"raw_latitude":97736600,"longitude_deg":76.32544,"latitude_deg":9.77366,"altitude":8,"angle":346,"satellites":46,"speed":2,"hex_longitude":"2d7e5680","hex_latitude":"05d35798","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509113344001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897904838705152,"note":"Value kept but may cause issues"} 
[2026-08-19 18:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103534090540693504,"note":"Value kept but may cause issues"} 
[2026-08-19 18:42: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-08-19 18:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787144990000,"timestamp_ms":1787144990000,"timestamp_seconds":1787144990,"priority":1,"record_length":96,"hex_timestamp":"000001a01a246d30"} 
[2026-08-19 18:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:42: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-08-19 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-19 18:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:42:19] 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-08-19 18:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509113344001,"66":13222,"109":206,"85":15104,"24":2,"16":120897904838705152,"45":9103534090540693504},"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-08-19 18:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509113344001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:42:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:42:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897904838705152,"km_value":120897904838705.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103534090540693504,"description":"Unknown IO ID 45"} 
[2026-08-19 18:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509113344001,"power":13222,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9103534090540693504}} 
[2026-08-19 18:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":160342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:42:19] local.INFO: GPS data processed {"connection_id":160342,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:42:19] local.INFO: Acknowledgment sent {"connection_id":160342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:42:28] local.INFO: TCP Data received {"connection_id":159024,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:42:28] local.INFO: Processing buffer {"connection_id":159024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:42:28] local.INFO: IMEI packet received {"connection_id":159024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":159024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:42:34] local.INFO: TCP Data received {"connection_id":159024,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:42:34] local.INFO: Processing buffer {"connection_id":159024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:42:34] local.INFO: IMEI packet received {"connection_id":159024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":159024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:42:35] local.INFO: TCP Data received {"connection_id":159024,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a24bf38012ceafcc00713c620001300a42c..."} 
[2026-08-19 18:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a24bf38012ceafcc00713c620001300a42c..."} 
[2026-08-19 18:42:35] local.INFO: Processing buffer {"connection_id":159024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a24bf38012ceafcc00713c620001300a42c..."} 
[2026-08-19 18:42:35] local.INFO: Packet analysis {"connection_id":159024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:42:35] local.INFO: Extracted packet for processing {"connection_id":159024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:42:35] local.INFO: GPS Element Parsed {"raw_longitude":753597632,"raw_latitude":118736416,"longitude_deg":75.3597632,"latitude_deg":11.8736416,"altitude":19,"angle":164,"satellites":44,"speed":23,"hex_longitude":"2ceafcc0","hex_latitude":"0713c620","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509118208001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386023053450018816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:42:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1517290831560083456,"note":"Value kept but may cause issues"} 
[2026-08-19 18:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787145011000,"timestamp_ms":1787145011000,"timestamp_seconds":1787145011,"priority":1,"record_length":96,"hex_timestamp":"000001a01a24bf38"} 
[2026-08-19 18:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 18:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509118208001,"66":27974,"12":206,"2":54272,"24":23,"16":386023053450018816,"44":-1517290831560083456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509118208001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:42:35] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386023053450018816,"km_value":386023053450018.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:42:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1517290831560083456,"description":"Unknown IO ID 44"} 
[2026-08-19 18:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509118208001,"power":27974,"unknown_12":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-1517290831560083456}} 
[2026-08-19 18:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":159024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:42:35] local.INFO: GPS data processed {"connection_id":159024,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:42:35] local.INFO: Acknowledgment sent {"connection_id":159024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:42:40] local.INFO: TCP Data received {"connection_id":157808,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:42:40] local.INFO: Processing buffer {"connection_id":157808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:42:40] local.INFO: IMEI packet received {"connection_id":157808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":157808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:42:41] local.INFO: TCP Data received {"connection_id":157808,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:42:41] local.INFO: Processing buffer {"connection_id":157808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:42:41] local.INFO: IMEI packet received {"connection_id":157808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":157808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:42:45] local.INFO: TCP Data received {"connection_id":158165,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2678a0012d1829c00721bd60004d01302a..."} 
[2026-08-19 18:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2678a0012d1829c00721bd60004d01302a..."} 
[2026-08-19 18:42:45] local.INFO: Processing buffer {"connection_id":158165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2678a0012d1829c00721bd60004d01302a..."} 
[2026-08-19 18:42:45] local.INFO: Packet analysis {"connection_id":158165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:42:45] local.INFO: Extracted packet for processing {"connection_id":158165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:42:45] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119651680,"longitude_deg":75.6558272,"latitude_deg":11.965168,"altitude":77,"angle":304,"satellites":42,"speed":6,"hex_longitude":"2d1829c0","hex_latitude":"0721bd60","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509151488001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13981973974351872,"note":"Value kept but may cause issues"} 
[2026-08-19 18:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605307097088,"note":"Value kept but may cause issues"} 
[2026-08-19 18:42: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-08-19 18:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787145124000,"timestamp_ms":1787145124000,"timestamp_seconds":1787145124,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2678a0"} 
[2026-08-19 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-08-19 18:42: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-08-19 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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-19 18:42:45] 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-08-19 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-08-19 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-08-19 18:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509151488001,"66":12961,"105":206,"83":41984,"24":6,"16":13981973974351872,"45":1741274605307097088},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509151488001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:42:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:42:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13981973974351872,"km_value":13981973974351.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605307097088,"description":"Unknown IO ID 45"} 
[2026-08-19 18:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509151488001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1741274605307097088}} 
[2026-08-19 18:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":158165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:42:45] local.INFO: GPS data processed {"connection_id":158165,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:42:45] local.INFO: Acknowledgment sent {"connection_id":158165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:42:46] local.INFO: TCP Data received {"connection_id":157808,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:42:46] local.INFO: Processing buffer {"connection_id":157808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:42:46] local.INFO: IMEI packet received {"connection_id":157808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":157808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:42:47] local.INFO: TCP Data received {"connection_id":157808,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a247500012d7e564005d358480008014b2e..."} 
[2026-08-19 18:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a247500012d7e564005d358480008014b2e..."} 
[2026-08-19 18:42:47] local.INFO: Processing buffer {"connection_id":157808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a247500012d7e564005d358480008014b2e..."} 
[2026-08-19 18:42:47] local.INFO: Packet analysis {"connection_id":157808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:42:47] local.INFO: Extracted packet for processing {"connection_id":157808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:42:47] local.INFO: GPS Element Parsed {"raw_longitude":763254336,"raw_latitude":97736776,"longitude_deg":76.3254336,"latitude_deg":9.7736776,"altitude":8,"angle":331,"satellites":46,"speed":4,"hex_longitude":"2d7e5640","hex_latitude":"05d35848","is_valid_coordinates":true} 
[2026-08-19 18:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509117440001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120897913428639744,"note":"Value kept but may cause issues"} 
[2026-08-19 18:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103604459284961280,"note":"Value kept but may cause issues"} 
[2026-08-19 18:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787144992000,"timestamp_ms":1787144992000,"timestamp_seconds":1787144992,"priority":1,"record_length":96,"hex_timestamp":"000001a01a247500"} 
[2026-08-19 18:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 18:42:47] 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-08-19 18:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:42:47] 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-08-19 18:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509117440001,"66":13222,"109":206,"85":15104,"24":4,"16":120897913428639744,"45":9103604459284961280},"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-08-19 18:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509117440001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:42:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:42:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120897913428639744,"km_value":120897913428639.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103604459284961280,"description":"Unknown IO ID 45"} 
[2026-08-19 18:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509117440001,"power":13222,"unknown_109":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9103604459284961280}} 
[2026-08-19 18:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":157808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:42:47] local.INFO: GPS data processed {"connection_id":157808,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:42:47] local.INFO: Acknowledgment sent {"connection_id":157808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:42:58] local.INFO: TCP Data received {"connection_id":160343,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:42:58] local.INFO: Processing buffer {"connection_id":160343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:42:58] local.INFO: IMEI packet received {"connection_id":160343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":160343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:43:04] local.INFO: TCP Data received {"connection_id":160343,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:43:04] local.INFO: Processing buffer {"connection_id":160343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:43:04] local.INFO: IMEI packet received {"connection_id":160343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":160343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:43:06] local.INFO: TCP Data received {"connection_id":160343,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a24e260012ceb00400713af90001300b02e..."} 
[2026-08-19 18:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a24e260012ceb00400713af90001300b02e..."} 
[2026-08-19 18:43:06] local.INFO: Processing buffer {"connection_id":160343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a24e260012ceb00400713af90001300b02e..."} 
[2026-08-19 18:43:06] local.INFO: Packet analysis {"connection_id":160343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:43:06] local.INFO: Extracted packet for processing {"connection_id":160343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a24"} 
[2026-08-19 18:43:06] local.INFO: GPS Element Parsed {"raw_longitude":753598528,"raw_latitude":118730640,"longitude_deg":75.3598528,"latitude_deg":11.873064,"altitude":19,"angle":176,"satellites":46,"speed":27,"hex_longitude":"2ceb0040","hex_latitude":"0713af90","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509122816001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386023336917860352,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1514124238074273792,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787145020000,"timestamp_ms":1787145020000,"timestamp_seconds":1787145020,"priority":1,"record_length":96,"hex_timestamp":"000001a01a24e260"} 
[2026-08-19 18:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 18:43:06] 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-08-19 18: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-08-19 18:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509122816001,"66":27984,"12":206,"2":54272,"24":27,"16":386023336917860352,"44":-1514124238074273792},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-08-19 18:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509122816001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:43:06] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-19 18:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386023336917860352,"km_value":386023336917860.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:43:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1514124238074273792,"description":"Unknown IO ID 44"} 
[2026-08-19 18:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509122816001,"power":27984,"unknown_12":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-1514124238074273792}} 
[2026-08-19 18:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":160343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:43:06] local.INFO: GPS data processed {"connection_id":160343,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:43:06] local.INFO: Acknowledgment sent {"connection_id":160343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:43:08] local.INFO: TCP Data received {"connection_id":159025,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:43:08] local.INFO: Processing buffer {"connection_id":159025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:43:08] local.INFO: IMEI packet received {"connection_id":159025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":159025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:43:11] local.INFO: TCP Data received {"connection_id":159025,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:43:11] local.INFO: Processing buffer {"connection_id":159025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:43:11] local.INFO: IMEI packet received {"connection_id":159025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":159025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:43:13] local.INFO: TCP Data received {"connection_id":159025,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:43:13] local.INFO: Processing buffer {"connection_id":159025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:43:13] local.INFO: IMEI packet received {"connection_id":159025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":159025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:43:13] local.INFO: TCP Data received {"connection_id":159025,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a267c88012d1829400721bd80004d01062a..."} 
[2026-08-19 18:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a267c88012d1829400721bd80004d01062a..."} 
[2026-08-19 18:43:13] local.INFO: Processing buffer {"connection_id":159025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a267c88012d1829400721bd80004d01062a..."} 
[2026-08-19 18:43:13] local.INFO: Packet analysis {"connection_id":159025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:43:13] local.INFO: Extracted packet for processing {"connection_id":159025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:43:13] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119651712,"longitude_deg":75.6558144,"latitude_deg":11.9651712,"altitude":77,"angle":262,"satellites":42,"speed":7,"hex_longitude":"2d182940","hex_latitude":"0721bd80","is_valid_coordinates":true} 
[2026-08-19 18:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509151744001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13981982564286464,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867818770432,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787145125000,"timestamp_ms":1787145125000,"timestamp_seconds":1787145125,"priority":1,"record_length":96,"hex_timestamp":"000001a01a267c88"} 
[2026-08-19 18:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:43:13] 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-08-19 18:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-19 18:43:13] 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-08-19 18:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509151744001,"66":12982,"105":206,"83":41984,"24":7,"16":13981982564286464,"45":1741133867818770432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509151744001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:43:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:43:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13981982564286464,"km_value":13981982564286.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867818770432,"description":"Unknown IO ID 45"} 
[2026-08-19 18:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509151744001,"power":12982,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1741133867818770432}} 
[2026-08-19 18:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":159025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:43:13] local.INFO: GPS data processed {"connection_id":159025,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:43:13] local.INFO: Acknowledgment sent {"connection_id":159025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:43:18] local.INFO: TCP Data received {"connection_id":157808,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a26fd70012d7e478005d3e850000701632b..."} 
[2026-08-19 18:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a26fd70012d7e478005d3e850000701632b..."} 
[2026-08-19 18:43:18] local.INFO: Processing buffer {"connection_id":157808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a26fd70012d7e478005d3e850000701632b..."} 
[2026-08-19 18:43:18] local.INFO: Packet analysis {"connection_id":157808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:43:18] local.INFO: Extracted packet for processing {"connection_id":157808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:43:18] local.INFO: GPS Element Parsed {"raw_longitude":763250560,"raw_latitude":97773648,"longitude_deg":76.325056,"latitude_deg":9.7773648,"altitude":7,"angle":355,"satellites":43,"speed":9,"hex_longitude":"2d7e4780","hex_latitude":"05d3e850","is_valid_coordinates":true} 
[2026-08-19 18:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509155072001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120899751674642432,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099593440874225664,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787145158000,"timestamp_ms":1787145158000,"timestamp_seconds":1787145158,"priority":1,"record_length":96,"hex_timestamp":"000001a01a26fd70"} 
[2026-08-19 18:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-19 18:43:18] 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-08-19 18:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:43:18] 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-08-19 18:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509155072001,"66":13102,"109":206,"85":15104,"24":9,"16":120899751674642432,"45":9099593440874225664},"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-08-19 18:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509155072001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:43:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:43:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120899751674642432,"km_value":120899751674642.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099593440874225664,"description":"Unknown IO ID 45"} 
[2026-08-19 18:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509155072001,"power":13102,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9099593440874225664}} 
[2026-08-19 18:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":157808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666368,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:43:18] local.INFO: GPS data processed {"connection_id":157808,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:43:18] local.INFO: Acknowledgment sent {"connection_id":157808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:43:18] local.INFO: TCP Data received {"connection_id":159025,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a268070012d1828c00721bd38004d00e52a..."} 
[2026-08-19 18:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a268070012d1828c00721bd38004d00e52a..."} 
[2026-08-19 18:43:18] local.INFO: Processing buffer {"connection_id":159025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a268070012d1828c00721bd38004d00e52a..."} 
[2026-08-19 18:43:18] local.INFO: Packet analysis {"connection_id":159025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:43:18] local.INFO: Extracted packet for processing {"connection_id":159025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119651640,"longitude_deg":75.6558016,"latitude_deg":11.965164,"altitude":77,"angle":229,"satellites":42,"speed":6,"hex_longitude":"2d1828c0","hex_latitude":"0721bd38","is_valid_coordinates":true} 
[2026-08-19 18:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509152000001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13981986859253760,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130330423296,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787145126000,"timestamp_ms":1787145126000,"timestamp_seconds":1787145126,"priority":1,"record_length":96,"hex_timestamp":"000001a01a268070"} 
[2026-08-19 18:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:43:18] 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-08-19 18:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-19 18:43:18] 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-08-19 18:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509152000001,"66":12982,"105":206,"83":41984,"24":6,"16":13981986859253760,"45":1740993130330423296},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509152000001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:43:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:43:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13981986859253760,"km_value":13981986859253.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130330423296,"description":"Unknown IO ID 45"} 
[2026-08-19 18:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509152000001,"power":12982,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1740993130330423296}} 
[2026-08-19 18:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":159025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:43:18] local.INFO: GPS data processed {"connection_id":159025,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:43:18] local.INFO: Acknowledgment sent {"connection_id":159025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:43:37] local.INFO: TCP Data received {"connection_id":160343,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a268c28012ceb750007138220001600482c..."} 
[2026-08-19 18:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a268c28012ceb750007138220001600482c..."} 
[2026-08-19 18:43:37] local.INFO: Processing buffer {"connection_id":160343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a268c28012ceb750007138220001600482c..."} 
[2026-08-19 18:43:37] local.INFO: Packet analysis {"connection_id":160343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:43:37] local.INFO: Extracted packet for processing {"connection_id":160343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:43:37] local.INFO: GPS Element Parsed {"raw_longitude":753628416,"raw_latitude":118719008,"longitude_deg":75.3628416,"latitude_deg":11.8719008,"altitude":22,"angle":72,"satellites":44,"speed":7,"hex_longitude":"2ceb7500","hex_latitude":"07138220","is_valid_coordinates":true} 
[2026-08-19 18:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509147648001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386025772164317184,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482880515664056320,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787145129000,"timestamp_ms":1787145129000,"timestamp_seconds":1787145129,"priority":1,"record_length":96,"hex_timestamp":"000001a01a268c28"} 
[2026-08-19 18:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 18:43:37] 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-08-19 18:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509147648001,"66":27908,"11":206,"2":54272,"24":7,"16":386025772164317184,"44":-1482880515664056320},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,44]} 
[2026-08-19 18:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509147648001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:43:37] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 18:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386025772164317184,"km_value":386025772164317.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:43:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482880515664056320,"description":"Unknown IO ID 44"} 
[2026-08-19 18:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509147648001,"power":27908,"unknown_11":206,"power_alt":54272,"ignition":7,"odometer":null,"unknown_44":-1482880515664056320}} 
[2026-08-19 18:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":160343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:43:37] local.INFO: GPS data processed {"connection_id":160343,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:43:37] local.INFO: Acknowledgment sent {"connection_id":160343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:43:41] local.INFO: TCP Data received {"connection_id":157809,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:43:41] local.INFO: Processing buffer {"connection_id":157809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:43:41] local.INFO: IMEI packet received {"connection_id":157809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":157809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:43:41] local.INFO: TCP Data received {"connection_id":157809,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:43:41] local.INFO: Processing buffer {"connection_id":157809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:43:41] local.INFO: IMEI packet received {"connection_id":157809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":157809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:43:42] local.INFO: TCP Data received {"connection_id":157809,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:43:42] local.INFO: Processing buffer {"connection_id":157809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:43:42] local.INFO: IMEI packet received {"connection_id":157809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":157809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:43:45] local.INFO: TCP Data received {"connection_id":157809,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:43:45] local.INFO: Processing buffer {"connection_id":157809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:43:45] local.INFO: IMEI packet received {"connection_id":157809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":157809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:43:45] local.INFO: TCP Data received {"connection_id":157809,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a274f78012d7e45c005d3fec8000701642c..."} 
[2026-08-19 18:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a274f78012d7e45c005d3fec8000701642c..."} 
[2026-08-19 18:43:45] local.INFO: Processing buffer {"connection_id":157809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a274f78012d7e45c005d3fec8000701642c..."} 
[2026-08-19 18:43:45] local.INFO: Packet analysis {"connection_id":157809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:43:45] local.INFO: Extracted packet for processing {"connection_id":157809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":763250112,"raw_latitude":97779400,"longitude_deg":76.3250112,"latitude_deg":9.77794,"altitude":7,"angle":356,"satellites":44,"speed":22,"hex_longitude":"2d7e45c0","hex_latitude":"05d3fec8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509160448001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120900035142483968,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099382334643785728,"note":"Value kept but may cause issues"} 
[2026-08-19 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-08-19 18:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787145179000,"timestamp_ms":1787145179000,"timestamp_seconds":1787145179,"priority":1,"record_length":96,"hex_timestamp":"000001a01a274f78"} 
[2026-08-19 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-08-19 18:43: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-08-19 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 18:43:45] 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-08-19 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-08-19 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-08-19 18:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:43: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-08-19 18:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509160448001,"66":13319,"109":206,"85":15104,"24":22,"16":120900035142483968,"45":9099382334643785728},"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-08-19 18:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509160448001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:43:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:43:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120900035142483968,"km_value":120900035142483.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099382334643785728,"description":"Unknown IO ID 45"} 
[2026-08-19 18:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509160448001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9099382334643785728}} 
[2026-08-19 18:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":157809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:43:45] local.INFO: GPS data processed {"connection_id":157809,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:43:45] local.INFO: Acknowledgment sent {"connection_id":157809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:43:49] local.INFO: TCP Data received {"connection_id":159025,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a268458012d1828000721bcc8004d00d52a..."} 
[2026-08-19 18:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a268458012d1828000721bcc8004d00d52a..."} 
[2026-08-19 18:43:49] local.INFO: Processing buffer {"connection_id":159025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a268458012d1828000721bcc8004d00d52a..."} 
[2026-08-19 18:43:49] local.INFO: Packet analysis {"connection_id":159025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:43:49] local.INFO: Extracted packet for processing {"connection_id":159025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:43:49] local.INFO: GPS Element Parsed {"raw_longitude":756557824,"raw_latitude":119651528,"longitude_deg":75.6557824,"latitude_deg":11.9651528,"altitude":77,"angle":213,"satellites":42,"speed":6,"hex_longitude":"2d182800","hex_latitude":"0721bcc8","is_valid_coordinates":true} 
[2026-08-19 18:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509152256001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13981999744155648,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392842049536,"note":"Value kept but may cause issues"} 
[2026-08-19 18:43: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-08-19 18:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787145127000,"timestamp_ms":1787145127000,"timestamp_seconds":1787145127,"priority":1,"record_length":96,"hex_timestamp":"000001a01a268458"} 
[2026-08-19 18:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-19 18:43:50] 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-08-19 18:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":159025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":159025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":159025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509152256001,"66":12917,"105":206,"83":41984,"24":6,"16":13981999744155648,"45":1740852392842049536},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509152256001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:43:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:43:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13981999744155648,"km_value":13981999744155.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392842049536,"description":"Unknown IO ID 45"} 
[2026-08-19 18:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509152256001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1740852392842049536}} 
[2026-08-19 18:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":159025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:43:50] local.INFO: GPS data processed {"connection_id":159025,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:43:50] local.INFO: Acknowledgment sent {"connection_id":159025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:43:58] local.INFO: TCP Data received {"connection_id":160344,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:43:58] local.INFO: Processing buffer {"connection_id":160344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:43:58] local.INFO: IMEI packet received {"connection_id":160344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":160344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:44:03] local.INFO: TCP Data received {"connection_id":160344,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:44:03] local.INFO: Processing buffer {"connection_id":160344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:44:03] local.INFO: IMEI packet received {"connection_id":160344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":160344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:44:04] local.INFO: TCP Data received {"connection_id":160344,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a26de30012ceb88c007138898001800482c..."} 
[2026-08-19 18:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a26de30012ceb88c007138898001800482c..."} 
[2026-08-19 18:44:04] local.INFO: Processing buffer {"connection_id":160344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a26de30012ceb88c007138898001800482c..."} 
[2026-08-19 18:44:04] local.INFO: Packet analysis {"connection_id":160344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:44:04] local.INFO: Extracted packet for processing {"connection_id":160344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:44:04] local.INFO: GPS Element Parsed {"raw_longitude":753633472,"raw_latitude":118720664,"longitude_deg":75.3633472,"latitude_deg":11.8720664,"altitude":24,"angle":72,"satellites":44,"speed":17,"hex_longitude":"2ceb88c0","hex_latitude":"07138898","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509153024001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386026025567387648,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1480276872129273856,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787145150000,"timestamp_ms":1787145150000,"timestamp_seconds":1787145150,"priority":1,"record_length":96,"hex_timestamp":"000001a01a26de30"} 
[2026-08-19 18:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:44: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-08-19 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509153024001,"66":27213,"11":206,"2":54272,"24":17,"16":386026025567387648,"44":-1480276872129273856},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,44]} 
[2026-08-19 18:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509153024001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:44:04] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 18:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386026025567387648,"km_value":386026025567387.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:44:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1480276872129273856,"description":"Unknown IO ID 44"} 
[2026-08-19 18:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509153024001,"power":27213,"unknown_11":206,"power_alt":54272,"ignition":17,"odometer":null,"unknown_44":-1480276872129273856}} 
[2026-08-19 18:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":160344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:44:05] local.INFO: GPS data processed {"connection_id":160344,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:44:05] local.INFO: Acknowledgment sent {"connection_id":160344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:44:08] local.INFO: TCP Data received {"connection_id":158166,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:44:08] local.INFO: Processing buffer {"connection_id":158166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:44:08] local.INFO: IMEI packet received {"connection_id":158166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":158166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:44:13] local.INFO: TCP Data received {"connection_id":158166,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:44:13] local.INFO: Processing buffer {"connection_id":158166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:44:13] local.INFO: IMEI packet received {"connection_id":158166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":158166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:44:14] local.INFO: TCP Data received {"connection_id":158166,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a269010012d1827400721bae0004d00c72a..."} 
[2026-08-19 18:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a269010012d1827400721bae0004d00c72a..."} 
[2026-08-19 18:44:14] local.INFO: Processing buffer {"connection_id":158166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a269010012d1827400721bae0004d00c72a..."} 
[2026-08-19 18:44:14] local.INFO: Packet analysis {"connection_id":158166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:44:14] local.INFO: Extracted packet for processing {"connection_id":158166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:44:14] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119651040,"longitude_deg":75.6557632,"latitude_deg":11.965104,"altitude":77,"angle":199,"satellites":42,"speed":6,"hex_longitude":"2d182740","hex_latitude":"0721bae0","is_valid_coordinates":true} 
[2026-08-19 18:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509152512001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982025513959424,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740641286609487872,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44: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-08-19 18:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787145130000,"timestamp_ms":1787145130000,"timestamp_seconds":1787145130,"priority":1,"record_length":96,"hex_timestamp":"000001a01a269010"} 
[2026-08-19 18:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:44: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-08-19 18:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 18:44: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-08-19 18:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509152512001,"66":12939,"105":206,"83":41984,"24":6,"16":13982025513959424,"45":1740641286609487872},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509152512001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:44:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:44:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982025513959424,"km_value":13982025513959.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740641286609487872,"description":"Unknown IO ID 45"} 
[2026-08-19 18:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509152512001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1740641286609487872}} 
[2026-08-19 18:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":158166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:44:14] local.INFO: GPS data processed {"connection_id":158166,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:44:14] local.INFO: Acknowledgment sent {"connection_id":158166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:44:17] local.INFO: TCP Data received {"connection_id":157809,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a275f18012d7e43c005d409e8000701592c..."} 
[2026-08-19 18:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a275f18012d7e43c005d409e8000701592c..."} 
[2026-08-19 18:44:17] local.INFO: Processing buffer {"connection_id":157809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a275f18012d7e43c005d409e8000701592c..."} 
[2026-08-19 18:44:17] local.INFO: Packet analysis {"connection_id":157809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:44:17] local.INFO: Extracted packet for processing {"connection_id":157809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:44:17] local.INFO: GPS Element Parsed {"raw_longitude":763249600,"raw_latitude":97782248,"longitude_deg":76.32496,"latitude_deg":9.7782248,"altitude":7,"angle":345,"satellites":44,"speed":30,"hex_longitude":"2d7e43c0","hex_latitude":"05d409e8","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509165824001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120900176876404736,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098889753436014592,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787145183000,"timestamp_ms":1787145183000,"timestamp_seconds":1787145183,"priority":1,"record_length":96,"hex_timestamp":"000001a01a275f18"} 
[2026-08-19 18:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:44: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-08-19 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 18:44:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":262477,"corrected_to":0} 
[2026-08-19 18:44:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:17] local.WARNING: Large IO value detected {"io_id":132,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:17] local.WARNING: Large IO value detected {"io_id":211,"raw_value":-6876996613792715520,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-19 18:44:17] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391949,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:17] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2229469184,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3550660608,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:17] local.WARNING: Large IO value detected {"io_id":248,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:17] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4339219535875620869,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:17] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,109,85,24,241,157,16,133,160,253,45,128,232,7,43,10,66,171,64,200,6,46,93,1,240,181,227,132,26,211,4,113,205,220,76,239,51,2,173,5,248,37],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":200,"original":262477,"validated":0},{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-19 18:44:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504794773384986624,"timestamp_seconds":504794773384986.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 18:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:44:17] 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-08-19 18:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509165824001,"66":13461,"109":206,"85":15104,"24":30,"16":120900176876404736,"45":9098889753436014592},"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-08-19 18:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509165824001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:44:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:44:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120900176876404736,"km_value":120900176876404.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098889753436014592,"description":"Unknown IO ID 45"} 
[2026-08-19 18:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509165824001,"power":13461,"unknown_109":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9098889753436014592}} 
[2026-08-19 18:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":157809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:44:17] local.INFO: GPS data processed {"connection_id":157809,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:44:17] local.INFO: Acknowledgment sent {"connection_id":157809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:44:36] local.INFO: TCP Data received {"connection_id":160344,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2710f8012ceb9b40071390b80016003c2a..."} 
[2026-08-19 18:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2710f8012ceb9b40071390b80016003c2a..."} 
[2026-08-19 18:44:36] local.INFO: Processing buffer {"connection_id":160344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2710f8012ceb9b40071390b80016003c2a..."} 
[2026-08-19 18:44:36] local.INFO: Packet analysis {"connection_id":160344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:44:36] local.INFO: Extracted packet for processing {"connection_id":160344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:44:36] local.INFO: GPS Element Parsed {"raw_longitude":753638208,"raw_latitude":118722744,"longitude_deg":75.3638208,"latitude_deg":11.8722744,"altitude":22,"angle":60,"satellites":42,"speed":15,"hex_longitude":"2ceb9b40","hex_latitude":"071390b8","is_valid_coordinates":true} 
[2026-08-19 18:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509158400001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386026274675490816,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1474717741338814464,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787145163000,"timestamp_ms":1787145163000,"timestamp_seconds":1787145163,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2710f8"} 
[2026-08-19 18:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:44: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-08-19 18:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 18:44:36] 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-08-19 18:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509158400001,"66":27463,"11":206,"2":54272,"24":15,"16":386026274675490816,"44":-1474717741338814464},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,44]} 
[2026-08-19 18:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509158400001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:44:36] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 18:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386026274675490816,"km_value":386026274675490.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:44:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1474717741338814464,"description":"Unknown IO ID 44"} 
[2026-08-19 18:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509158400001,"power":27463,"unknown_11":206,"power_alt":54272,"ignition":15,"odometer":null,"unknown_44":-1474717741338814464}} 
[2026-08-19 18:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":160344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:44:36] local.INFO: GPS data processed {"connection_id":160344,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:44:36] local.INFO: Acknowledgment sent {"connection_id":160344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:44:41] local.INFO: TCP Data received {"connection_id":158167,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:44:41] local.INFO: Processing buffer {"connection_id":158167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:44:41] local.INFO: IMEI packet received {"connection_id":158167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":158167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:44:45] local.INFO: TCP Data received {"connection_id":158166,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2697e0012d1827000721ba00004c00d629..."} 
[2026-08-19 18:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2697e0012d1827000721ba00004c00d629..."} 
[2026-08-19 18:44:45] local.INFO: Processing buffer {"connection_id":158166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2697e0012d1827000721ba00004c00d629..."} 
[2026-08-19 18:44:45] local.INFO: Packet analysis {"connection_id":158166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:44:45] local.INFO: Extracted packet for processing {"connection_id":158166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:44:45] local.INFO: GPS Element Parsed {"raw_longitude":756557568,"raw_latitude":119650816,"longitude_deg":75.6557568,"latitude_deg":11.9650816,"altitude":76,"angle":214,"satellites":41,"speed":3,"hex_longitude":"2d182700","hex_latitude":"0721ba00","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509153280001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982034103894016,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740430180376829952,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44: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-08-19 18:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787145132000,"timestamp_ms":1787145132000,"timestamp_seconds":1787145132,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2697e0"} 
[2026-08-19 18:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:44:45] 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-08-19 18: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 18:44: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-08-19 18: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-08-19 18:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509153280001,"66":12939,"105":206,"83":41984,"24":3,"16":13982034103894016,"45":1740430180376829952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509153280001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:44:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:44:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982034103894016,"km_value":13982034103894.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740430180376829952,"description":"Unknown IO ID 45"} 
[2026-08-19 18:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509153280001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1740430180376829952}} 
[2026-08-19 18:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":158166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:44:45] local.INFO: GPS data processed {"connection_id":158166,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:44:45] local.INFO: Acknowledgment sent {"connection_id":158166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:44:45] local.INFO: TCP Data received {"connection_id":158167,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:44:45] local.INFO: Processing buffer {"connection_id":158167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:44:45] local.INFO: IMEI packet received {"connection_id":158167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":158167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:44:46] local.INFO: TCP Data received {"connection_id":158167,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:44:46] local.INFO: Processing buffer {"connection_id":158167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:44:46] local.INFO: IMEI packet received {"connection_id":158167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":158167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:44:46] local.INFO: TCP Data received {"connection_id":158167,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2799b0012d7e3ac005d42c78000401622c..."} 
[2026-08-19 18:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2799b0012d7e3ac005d42c78000401622c..."} 
[2026-08-19 18:44:46] local.INFO: Processing buffer {"connection_id":158167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2799b0012d7e3ac005d42c78000401622c..."} 
[2026-08-19 18:44:46] local.INFO: Packet analysis {"connection_id":158167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:44:46] local.INFO: Extracted packet for processing {"connection_id":158167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:44:46] local.INFO: GPS Element Parsed {"raw_longitude":763247296,"raw_latitude":97791096,"longitude_deg":76.3247296,"latitude_deg":9.7791096,"altitude":4,"angle":354,"satellites":44,"speed":24,"hex_longitude":"2d7e3ac0","hex_latitude":"05d42c78","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509166848001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120900619258036224,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098326803483322368,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44: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-08-19 18:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787145198000,"timestamp_ms":1787145198000,"timestamp_seconds":1787145198,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2799b0"} 
[2026-08-19 18:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-19 18:44:46] 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-08-19 18: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-08-19 18:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:44: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-08-19 18:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509166848001,"66":13559,"109":206,"85":15104,"24":24,"16":120900619258036224,"45":9098326803483322368},"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-08-19 18:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509166848001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:44:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:44:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120900619258036224,"km_value":120900619258036.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098326803483322368,"description":"Unknown IO ID 45"} 
[2026-08-19 18:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509166848001,"power":13559,"unknown_109":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9098326803483322368}} 
[2026-08-19 18:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":158167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:44:46] local.INFO: GPS data processed {"connection_id":158167,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:44:46] local.INFO: Acknowledgment sent {"connection_id":158167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:44:47] local.INFO: TCP Data received {"connection_id":158167,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a27c890012d7e388005d451500005015d2e..."} 
[2026-08-19 18:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a27c890012d7e388005d451500005015d2e..."} 
[2026-08-19 18:44:47] local.INFO: Processing buffer {"connection_id":158167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a27c890012d7e388005d451500005015d2e..."} 
[2026-08-19 18:44:47] local.INFO: Packet analysis {"connection_id":158167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:44:47] local.INFO: Extracted packet for processing {"connection_id":158167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:44:47] local.INFO: GPS Element Parsed {"raw_longitude":763246720,"raw_latitude":97800528,"longitude_deg":76.324672,"latitude_deg":9.7800528,"altitude":5,"angle":349,"satellites":46,"speed":27,"hex_longitude":"2d7e3880","hex_latitude":"05d45150","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509170688001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120901078819536896,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095793528695191552,"note":"Value kept but may cause issues"} 
[2026-08-19 18:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787145210000,"timestamp_ms":1787145210000,"timestamp_seconds":1787145210,"priority":1,"record_length":96,"hex_timestamp":"000001a01a27c890"} 
[2026-08-19 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-08-19 18:44: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-08-19 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-19 18:44:47] 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-08-19 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-08-19 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-08-19 18:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:44:47] 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-08-19 18:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509170688001,"66":13428,"109":206,"85":15104,"24":27,"16":120901078819536896,"45":9095793528695191552},"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-08-19 18:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509170688001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:44:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 18:44:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120901078819536896,"km_value":120901078819536.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095793528695191552,"description":"Unknown IO ID 45"} 
[2026-08-19 18:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509170688001,"power":13428,"unknown_109":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9095793528695191552}} 
[2026-08-19 18:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":158167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:44:47] local.INFO: GPS data processed {"connection_id":158167,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:44:47] local.INFO: Acknowledgment sent {"connection_id":158167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:45:02] local.INFO: TCP Data received {"connection_id":160345,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:45:02] local.INFO: Processing buffer {"connection_id":160345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:45:02] local.INFO: IMEI packet received {"connection_id":160345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":160345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:45:03] local.INFO: TCP Data received {"connection_id":160345,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:45:03] local.INFO: Processing buffer {"connection_id":160345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:45:03] local.INFO: IMEI packet received {"connection_id":160345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":160345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:45:08] local.INFO: TCP Data received {"connection_id":159026,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:45:08] local.INFO: Processing buffer {"connection_id":159026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:45:08] local.INFO: IMEI packet received {"connection_id":159026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":159026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:45:08] local.INFO: TCP Data received {"connection_id":160345,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:45:08] local.INFO: Processing buffer {"connection_id":160345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:45:08] local.INFO: IMEI packet received {"connection_id":160345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":160345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:45:10] local.INFO: TCP Data received {"connection_id":160345,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a276300012cebaec007139bf8000e003a2d..."} 
[2026-08-19 18:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a276300012cebaec007139bf8000e003a2d..."} 
[2026-08-19 18:45:10] local.INFO: Processing buffer {"connection_id":160345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a276300012cebaec007139bf8000e003a2d..."} 
[2026-08-19 18:45:10] local.INFO: Packet analysis {"connection_id":160345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:45:10] local.INFO: Extracted packet for processing {"connection_id":160345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:45:10] local.INFO: GPS Element Parsed {"raw_longitude":753643200,"raw_latitude":118725624,"longitude_deg":75.36432,"latitude_deg":11.8725624,"altitude":14,"angle":58,"satellites":45,"speed":12,"hex_longitude":"2cebaec0","hex_latitude":"07139bf8","is_valid_coordinates":true} 
[2026-08-19 18:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509161728001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386026549553397760,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1469510454269134848,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787145184000,"timestamp_ms":1787145184000,"timestamp_seconds":1787145184,"priority":1,"record_length":96,"hex_timestamp":"000001a01a276300"} 
[2026-08-19 18:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:45: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-08-19 18:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 18:45:10] 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-08-19 18:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509161728001,"66":27995,"143":206,"2":54272,"24":12,"16":386026549553397760,"44":-1469510454269134848},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,2,24,16,44]} 
[2026-08-19 18:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509161728001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:45:10] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-19 18:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386026549553397760,"km_value":386026549553397.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1469510454269134848,"description":"Unknown IO ID 44"} 
[2026-08-19 18:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509161728001,"power":27995,"unknown_143":206,"power_alt":54272,"ignition":12,"odometer":null,"unknown_44":-1469510454269134848}} 
[2026-08-19 18:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":160345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:45:10] local.INFO: GPS data processed {"connection_id":160345,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:45:10] local.INFO: Acknowledgment sent {"connection_id":160345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:45:13] local.INFO: TCP Data received {"connection_id":159026,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:45:13] local.INFO: Processing buffer {"connection_id":159026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:45:13] local.INFO: IMEI packet received {"connection_id":159026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":159026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:45:14] local.INFO: TCP Data received {"connection_id":159026,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a26e9e8012d1826800721b9e0004c00d629..."} 
[2026-08-19 18:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a26e9e8012d1826800721b9e0004c00d629..."} 
[2026-08-19 18:45:14] local.INFO: Processing buffer {"connection_id":159026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a26e9e8012d1826800721b9e0004c00d629..."} 
[2026-08-19 18:45:14] local.INFO: Packet analysis {"connection_id":159026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:45:14] local.INFO: Extracted packet for processing {"connection_id":159026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a26"} 
[2026-08-19 18:45:14] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119650784,"longitude_deg":75.655744,"latitude_deg":11.9650784,"altitude":76,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b9e0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509153792001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982038398861312,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811632594944,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45: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-08-19 18:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787145153000,"timestamp_ms":1787145153000,"timestamp_seconds":1787145153,"priority":1,"record_length":96,"hex_timestamp":"000001a01a26e9e8"} 
[2026-08-19 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-08-19 18:45:14] 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-08-19 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-19 18:45: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-08-19 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-08-19 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-08-19 18:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509153792001,"66":12863,"105":206,"83":41984,"24":0,"16":13982038398861312,"45":1740359811632594944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509153792001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:45:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:45:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982038398861312,"km_value":13982038398861.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811632594944,"description":"Unknown IO ID 45"} 
[2026-08-19 18:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509153792001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740359811632594944}} 
[2026-08-19 18:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":159026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:45:14] local.INFO: GPS data processed {"connection_id":159026,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:45:14] local.INFO: Acknowledgment sent {"connection_id":159026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:45:15] local.INFO: TCP Data received {"connection_id":160345,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a277688012cebb4c00713a0c0000e002e2b..."} 
[2026-08-19 18:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a277688012cebb4c00713a0c0000e002e2b..."} 
[2026-08-19 18:45:15] local.INFO: Processing buffer {"connection_id":160345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a277688012cebb4c00713a0c0000e002e2b..."} 
[2026-08-19 18:45:15] local.INFO: Packet analysis {"connection_id":160345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:45:15] local.INFO: Extracted packet for processing {"connection_id":160345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:45:15] local.INFO: GPS Element Parsed {"raw_longitude":753644736,"raw_latitude":118726848,"longitude_deg":75.3644736,"latitude_deg":11.8726848,"altitude":14,"angle":46,"satellites":43,"speed":14,"hex_longitude":"2cebb4c0","hex_latitude":"0713a0c0","is_valid_coordinates":true} 
[2026-08-19 18:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509167104001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386026639747710976,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1464021692222539776,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787145189000,"timestamp_ms":1787145189000,"timestamp_seconds":1787145189,"priority":1,"record_length":96,"hex_timestamp":"000001a01a277688"} 
[2026-08-19 18:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-19 18:45:15] 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-08-19 18:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509167104001,"66":27876,"143":206,"2":54272,"24":14,"16":386026639747710976,"44":-1464021692222539776},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,2,24,16,44]} 
[2026-08-19 18:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509167104001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:45:15] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-19 18:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386026639747710976,"km_value":386026639747711.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:45:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1464021692222539776,"description":"Unknown IO ID 44"} 
[2026-08-19 18:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509167104001,"power":27876,"unknown_143":206,"power_alt":54272,"ignition":14,"odometer":null,"unknown_44":-1464021692222539776}} 
[2026-08-19 18:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":160345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:45:15] local.INFO: GPS data processed {"connection_id":160345,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:45:15] local.INFO: Acknowledgment sent {"connection_id":160345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:45:18] local.INFO: TCP Data received {"connection_id":158167,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a27ebb8012d7e370005d458800004000628..."} 
[2026-08-19 18:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a27ebb8012d7e370005d458800004000628..."} 
[2026-08-19 18:45:18] local.INFO: Processing buffer {"connection_id":158167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a27ebb8012d7e370005d458800004000628..."} 
[2026-08-19 18:45:18] local.INFO: Packet analysis {"connection_id":158167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:45:18] local.INFO: Extracted packet for processing {"connection_id":158167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:45:18] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97802368,"longitude_deg":76.3246336,"latitude_deg":9.7802368,"altitude":4,"angle":6,"satellites":40,"speed":9,"hex_longitude":"2d7e3700","hex_latitude":"05d45880","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509173760001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120901173308817408,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160210000007168,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787145219000,"timestamp_ms":1787145219000,"timestamp_seconds":1787145219,"priority":1,"record_length":96,"hex_timestamp":"000001a01a27ebb8"} 
[2026-08-19 18:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-19 18:45:18] 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-08-19 18: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-08-19 18:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:45:18] 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-08-19 18:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509173760001,"66":13559,"110":206,"85":15104,"24":9,"16":120901173308817408,"45":9095160210000007168},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-19 18:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509173760001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:45:18] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 18:45:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120901173308817408,"km_value":120901173308817.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160210000007168,"description":"Unknown IO ID 45"} 
[2026-08-19 18:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509173760001,"power":13559,"unknown_110":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9095160210000007168}} 
[2026-08-19 18:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":158167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:45:18] local.INFO: GPS data processed {"connection_id":158167,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:45:18] local.INFO: Acknowledgment sent {"connection_id":158167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:45:45] local.INFO: TCP Data received {"connection_id":159026,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a273bf0012d1826800721b9e0004c00d626..."} 
[2026-08-19 18:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a273bf0012d1826800721b9e0004c00d626..."} 
[2026-08-19 18:45:45] local.INFO: Processing buffer {"connection_id":159026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a273bf0012d1826800721b9e0004c00d626..."} 
[2026-08-19 18:45:45] local.INFO: Packet analysis {"connection_id":159026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:45:45] local.INFO: Extracted packet for processing {"connection_id":159026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119650784,"longitude_deg":75.655744,"latitude_deg":11.9650784,"altitude":76,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b9e0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509159168001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982038398861312,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144231424,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45: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-08-19 18:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787145174000,"timestamp_ms":1787145174000,"timestamp_seconds":1787145174,"priority":1,"record_length":96,"hex_timestamp":"000001a01a273bf0"} 
[2026-08-19 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-08-19 18:45: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-08-19 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-19 18:45: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-08-19 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-08-19 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-08-19 18:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509159168001,"66":12809,"105":206,"83":41984,"24":0,"16":13982038398861312,"45":1740219074144231424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509159168001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:45:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982038398861312,"km_value":13982038398861.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144231424,"description":"Unknown IO ID 45"} 
[2026-08-19 18:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509159168001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144231424}} 
[2026-08-19 18:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":159026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:45:45] local.INFO: GPS data processed {"connection_id":159026,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:45:45] local.INFO: Acknowledgment sent {"connection_id":159026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:45:45] local.INFO: TCP Data received {"connection_id":158168,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:45:45] local.INFO: Processing buffer {"connection_id":158168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:45:45] local.INFO: IMEI packet received {"connection_id":158168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":158168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:45:46] local.INFO: TCP Data received {"connection_id":158168,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:45:46] local.INFO: Processing buffer {"connection_id":158168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:45:46] local.INFO: IMEI packet received {"connection_id":158168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":158168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:45:51] local.INFO: TCP Data received {"connection_id":158168,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:45:51] local.INFO: Processing buffer {"connection_id":158168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:45:51] local.INFO: IMEI packet received {"connection_id":158168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":158168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:45:51] local.INFO: TCP Data received {"connection_id":158168,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a27efa0012d7e370005d45970000401602b..."} 
[2026-08-19 18:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a27efa0012d7e370005d45970000401602b..."} 
[2026-08-19 18:45:51] local.INFO: Processing buffer {"connection_id":158168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a27efa0012d7e370005d45970000401602b..."} 
[2026-08-19 18:45:51] local.INFO: Packet analysis {"connection_id":158168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:45:51] local.INFO: Extracted packet for processing {"connection_id":158168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:45:51] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97802608,"longitude_deg":76.3246336,"latitude_deg":9.7802608,"altitude":4,"angle":352,"satellites":43,"speed":10,"hex_longitude":"2d7e3700","hex_latitude":"05d45970","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509176064001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120901186193719296,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997535412224,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787145220000,"timestamp_ms":1787145220000,"timestamp_seconds":1787145220,"priority":1,"record_length":96,"hex_timestamp":"000001a01a27efa0"} 
[2026-08-19 18:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-19 18:45:51] 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-08-19 18: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-08-19 18:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":158168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":158168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":158168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:45:51] 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-08-19 18:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509176064001,"66":13559,"110":206,"85":15104,"24":10,"16":120901186193719296,"45":9094737997535412224},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-19 18:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509176064001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:45:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 18:45:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120901186193719296,"km_value":120901186193719.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997535412224,"description":"Unknown IO ID 45"} 
[2026-08-19 18:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509176064001,"power":13559,"unknown_110":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9094737997535412224}} 
[2026-08-19 18:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":158168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:45:51] local.INFO: GPS data processed {"connection_id":158168,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:45:51] local.INFO: Acknowledgment sent {"connection_id":158168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:45:52] local.INFO: TCP Data received {"connection_id":158168,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a27fb58012d7e370005d45c50000400032c..."} 
[2026-08-19 18:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a27fb58012d7e370005d45c50000400032c..."} 
[2026-08-19 18:45:52] local.INFO: Processing buffer {"connection_id":158168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a27fb58012d7e370005d45c50000400032c..."} 
[2026-08-19 18:45:52] local.INFO: Packet analysis {"connection_id":158168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:45:52] local.INFO: Extracted packet for processing {"connection_id":158168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:45:52] local.INFO: GPS Element Parsed {"raw_longitude":763246336,"raw_latitude":97803344,"longitude_deg":76.3246336,"latitude_deg":9.7803344,"altitude":4,"angle":3,"satellites":44,"speed":11,"hex_longitude":"2d7e3700","hex_latitude":"05d45c50","is_valid_coordinates":true} 
[2026-08-19 18:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509176320001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120901220553457664,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997535473664,"note":"Value kept but may cause issues"} 
[2026-08-19 18:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787145223000,"timestamp_ms":1787145223000,"timestamp_seconds":1787145223,"priority":1,"record_length":96,"hex_timestamp":"000001a01a27fb58"} 
[2026-08-19 18:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-19 18:45:52] 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-08-19 18:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":158168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":158168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":158168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:45:52] 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-08-19 18:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509176320001,"66":13559,"110":206,"85":15104,"24":11,"16":120901220553457664,"45":9094737997535473664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-19 18:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509176320001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:45:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 18:45:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120901220553457664,"km_value":120901220553457.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997535473664,"description":"Unknown IO ID 45"} 
[2026-08-19 18:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509176320001,"power":13559,"unknown_110":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9094737997535473664}} 
[2026-08-19 18:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":158168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:45:52] local.INFO: GPS data processed {"connection_id":158168,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:45:52] local.INFO: Acknowledgment sent {"connection_id":158168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:45:58] local.INFO: TCP Data received {"connection_id":157810,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:45:58] local.INFO: Processing buffer {"connection_id":157810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:45:58] local.INFO: IMEI packet received {"connection_id":157810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":157810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:46:03] local.INFO: TCP Data received {"connection_id":157810,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:46:03] local.INFO: Processing buffer {"connection_id":157810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:46:03] local.INFO: IMEI packet received {"connection_id":157810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":157810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:46:05] local.INFO: TCP Data received {"connection_id":157810,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a291880012cebbfc00713fce0000e002e2c..."} 
[2026-08-19 18:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a291880012cebbfc00713fce0000e002e2c..."} 
[2026-08-19 18:46:05] local.INFO: Processing buffer {"connection_id":157810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a291880012cebbfc00713fce0000e002e2c..."} 
[2026-08-19 18:46:05] local.INFO: Packet analysis {"connection_id":157810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a29"} 
[2026-08-19 18:46:05] local.INFO: Extracted packet for processing {"connection_id":157810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a29"} 
[2026-08-19 18:46:05] local.INFO: GPS Element Parsed {"raw_longitude":753647552,"raw_latitude":118750432,"longitude_deg":75.3647552,"latitude_deg":11.8750432,"altitude":14,"angle":46,"satellites":44,"speed":9,"hex_longitude":"2cebbfc0","hex_latitude":"0713fce0","is_valid_coordinates":true} 
[2026-08-19 18:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509195264001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386027949712736256,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1459588461333104640,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787145296000,"timestamp_ms":1787145296000,"timestamp_seconds":1787145296,"priority":1,"record_length":96,"hex_timestamp":"000001a01a291880"} 
[2026-08-19 18:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:46: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-08-19 18:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-19 18:46: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-08-19 18:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509195264001,"66":27745,"10":206,"2":54272,"24":9,"16":386027949712736256,"44":-1459588461333104640},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 18:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509195264001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:46:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 18:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386027949712736256,"km_value":386027949712736.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:46:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1459588461333104640,"description":"Unknown IO ID 44"} 
[2026-08-19 18:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509195264001,"power":27745,"unknown_10":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-1459588461333104640}} 
[2026-08-19 18:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":157810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:46:05] local.INFO: GPS data processed {"connection_id":157810,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:46:05] local.INFO: Acknowledgment sent {"connection_id":157810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:46:08] local.INFO: TCP Data received {"connection_id":160346,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:46:08] local.INFO: Processing buffer {"connection_id":160346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:46:08] local.INFO: IMEI packet received {"connection_id":160346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":160346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:46:13] local.INFO: TCP Data received {"connection_id":160346,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:46:13] local.INFO: Processing buffer {"connection_id":160346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:46:13] local.INFO: IMEI packet received {"connection_id":160346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":160346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:46:14] local.INFO: TCP Data received {"connection_id":160346,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a278df8012d1826800721b9e0004c00d624..."} 
[2026-08-19 18:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a278df8012d1826800721b9e0004c00d624..."} 
[2026-08-19 18:46:14] local.INFO: Processing buffer {"connection_id":160346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a278df8012d1826800721b9e0004c00d624..."} 
[2026-08-19 18:46:14] local.INFO: Packet analysis {"connection_id":160346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:46:14] local.INFO: Extracted packet for processing {"connection_id":160346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:46:14] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119650784,"longitude_deg":75.655744,"latitude_deg":11.9650784,"altitude":76,"angle":214,"satellites":36,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b9e0","is_valid_coordinates":true} 
[2026-08-19 18:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509164544001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982038398861312,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144231424,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46: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-08-19 18:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787145195000,"timestamp_ms":1787145195000,"timestamp_seconds":1787145195,"priority":1,"record_length":96,"hex_timestamp":"000001a01a278df8"} 
[2026-08-19 18:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:46: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-08-19 18:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 18:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:14] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2483027968,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:14] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2772141497558510016,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:14] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3167223885,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-19 18:46:14] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3221692861,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:14] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-5332036101894779309,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2894790656,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:14] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2431204928258125866,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:14] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:14] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,172,160,233,45,128,185,76,41,10,66,151,186,144,64,1,240,139,227,26,33,4,113,205,6,40,56,42,239,50,2,49,7,77,164,138],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-19 18:46:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476612605579624448,"timestamp_seconds":5476612605579624.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 18:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509164544001,"66":12689,"105":206,"83":41984,"24":0,"16":13982038398861312,"45":1740219074144231424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509164544001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:46:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:46:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982038398861312,"km_value":13982038398861.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144231424,"description":"Unknown IO ID 45"} 
[2026-08-19 18:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509164544001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144231424}} 
[2026-08-19 18:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":160346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:46:14] local.INFO: GPS data processed {"connection_id":160346,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:46:14] local.INFO: Acknowledgment sent {"connection_id":160346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:46:23] local.INFO: TCP Data received {"connection_id":158168,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2a54e8012d7e1bc005d56188000701432d..."} 
[2026-08-19 18:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2a54e8012d7e1bc005d56188000701432d..."} 
[2026-08-19 18:46:23] local.INFO: Processing buffer {"connection_id":158168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2a54e8012d7e1bc005d56188000701432d..."} 
[2026-08-19 18:46:23] local.INFO: Packet analysis {"connection_id":158168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2a"} 
[2026-08-19 18:46:23] local.INFO: Extracted packet for processing {"connection_id":158168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2a"} 
[2026-08-19 18:46:23] local.INFO: GPS Element Parsed {"raw_longitude":763239360,"raw_latitude":97870216,"longitude_deg":76.323936,"latitude_deg":9.7870216,"altitude":7,"angle":323,"satellites":45,"speed":12,"hex_longitude":"2d7e1bc0","hex_latitude":"05d56188","is_valid_coordinates":true} 
[2026-08-19 18:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509216256001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120904527678275584,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087208541925693440,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:23] 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-08-19 18:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787145377000,"timestamp_ms":1787145377000,"timestamp_seconds":1787145377,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2a54e8"} 
[2026-08-19 18:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:46:23] 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-08-19 18:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 18:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:46:23] 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-08-19 18:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509216256001,"66":12504,"111":206,"85":15104,"24":12,"16":120904527678275584,"45":9087208541925693440},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 18:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509216256001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:46:23] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 18:46:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120904527678275584,"km_value":120904527678275.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087208541925693440,"description":"Unknown IO ID 45"} 
[2026-08-19 18:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509216256001,"power":12504,"unknown_111":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9087208541925693440}} 
[2026-08-19 18:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":158168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:46:23] local.INFO: GPS data processed {"connection_id":158168,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:46:23] local.INFO: Acknowledgment sent {"connection_id":158168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:46:37] local.INFO: TCP Data received {"connection_id":157810,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a291c68012cebc0400713fd58000e003d2e..."} 
[2026-08-19 18:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a291c68012cebc0400713fd58000e003d2e..."} 
[2026-08-19 18:46:37] local.INFO: Processing buffer {"connection_id":157810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a291c68012cebc0400713fd58000e003d2e..."} 
[2026-08-19 18:46:37] local.INFO: Packet analysis {"connection_id":157810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a29"} 
[2026-08-19 18:46:37] local.INFO: Extracted packet for processing {"connection_id":157810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a29"} 
[2026-08-19 18:46:37] local.INFO: GPS Element Parsed {"raw_longitude":753647680,"raw_latitude":118750552,"longitude_deg":75.364768,"latitude_deg":11.8750552,"altitude":14,"angle":61,"satellites":46,"speed":9,"hex_longitude":"2cebc040","hex_latitude":"0713fd58","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509195776001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386027958302670848,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1459236617612107776,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787145297000,"timestamp_ms":1787145297000,"timestamp_seconds":1787145297,"priority":1,"record_length":96,"hex_timestamp":"000001a01a291c68"} 
[2026-08-19 18:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 18:46:37] 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-08-19 18: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-08-19 18:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509195776001,"66":27658,"10":206,"2":54272,"24":9,"16":386027958302670848,"44":-1459236617612107776},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 18:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509195776001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:46:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 18:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386027958302670848,"km_value":386027958302670.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:46:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1459236617612107776,"description":"Unknown IO ID 44"} 
[2026-08-19 18:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509195776001,"power":27658,"unknown_10":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-1459236617612107776}} 
[2026-08-19 18:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":157810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:46:37] local.INFO: GPS data processed {"connection_id":157810,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:46:37] local.INFO: Acknowledgment sent {"connection_id":157810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:46:37] local.INFO: TCP Data received {"connection_id":159027,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:46:37] local.INFO: Processing buffer {"connection_id":159027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:46:37] local.INFO: IMEI packet received {"connection_id":159027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":159027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:46:39] local.INFO: TCP Data received {"connection_id":159027,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:46:39] local.INFO: Processing buffer {"connection_id":159027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:46:39] local.INFO: IMEI packet received {"connection_id":159027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":159027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:46:41] local.INFO: TCP Data received {"connection_id":159027,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:46:41] local.INFO: Processing buffer {"connection_id":159027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:46:41] local.INFO: IMEI packet received {"connection_id":159027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":159027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:46:45] local.INFO: TCP Data received {"connection_id":160346,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a27e000012d1826800721b9e0004c00d625..."} 
[2026-08-19 18:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a27e000012d1826800721b9e0004c00d625..."} 
[2026-08-19 18:46:45] local.INFO: Processing buffer {"connection_id":160346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a27e000012d1826800721b9e0004c00d625..."} 
[2026-08-19 18:46:45] local.INFO: Packet analysis {"connection_id":160346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:46:45] local.INFO: Extracted packet for processing {"connection_id":160346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a27"} 
[2026-08-19 18:46:45] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119650784,"longitude_deg":75.655744,"latitude_deg":11.9650784,"altitude":76,"angle":214,"satellites":37,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b9e0","is_valid_coordinates":true} 
[2026-08-19 18:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509169920001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982038398861312,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144231424,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46: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-08-19 18:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787145216000,"timestamp_ms":1787145216000,"timestamp_seconds":1787145216,"priority":1,"record_length":96,"hex_timestamp":"000001a01a27e000"} 
[2026-08-19 18:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:46: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-08-19 18:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 18:46: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-08-19 18:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509169920001,"66":12722,"105":206,"83":41984,"24":0,"16":13982038398861312,"45":1740219074144231424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509169920001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:46:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:46:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982038398861312,"km_value":13982038398861.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144231424,"description":"Unknown IO ID 45"} 
[2026-08-19 18:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509169920001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144231424}} 
[2026-08-19 18:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":160346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:46:45] local.INFO: GPS data processed {"connection_id":160346,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:46:45] local.INFO: Acknowledgment sent {"connection_id":160346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:46:47] local.INFO: TCP Data received {"connection_id":159027,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:46:47] local.INFO: Processing buffer {"connection_id":159027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:46:47] local.INFO: IMEI packet received {"connection_id":159027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":159027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:46:48] local.INFO: TCP Data received {"connection_id":159027,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2a58d0012d7e1ac005d562580006012b2d..."} 
[2026-08-19 18:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2a58d0012d7e1ac005d562580006012b2d..."} 
[2026-08-19 18:46:48] local.INFO: Processing buffer {"connection_id":159027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2a58d0012d7e1ac005d562580006012b2d..."} 
[2026-08-19 18:46:48] local.INFO: Packet analysis {"connection_id":159027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2a"} 
[2026-08-19 18:46:48] local.INFO: Extracted packet for processing {"connection_id":159027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2a"} 
[2026-08-19 18:46:48] local.INFO: GPS Element Parsed {"raw_longitude":763239104,"raw_latitude":97870424,"longitude_deg":76.3239104,"latitude_deg":9.7870424,"altitude":6,"angle":299,"satellites":45,"speed":11,"hex_longitude":"2d7e1ac0","hex_latitude":"05d56258","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509216512001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120904540563177472,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087067804437415936,"note":"Value kept but may cause issues"} 
[2026-08-19 18:46:48] 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-08-19 18:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787145378000,"timestamp_ms":1787145378000,"timestamp_seconds":1787145378,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2a58d0"} 
[2026-08-19 18:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 18:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":159027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":159027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":159027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:46:48] 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-08-19 18:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509216512001,"66":12504,"111":206,"85":15104,"24":11,"16":120904540563177472,"45":9087067804437415936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 18:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509216512001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:46:48] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 18:46:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120904540563177472,"km_value":120904540563177.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087067804437415936,"description":"Unknown IO ID 45"} 
[2026-08-19 18:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509216512001,"power":12504,"unknown_111":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9087067804437415936}} 
[2026-08-19 18:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":159027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:46:48] local.INFO: GPS data processed {"connection_id":159027,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:46:48] local.INFO: Acknowledgment sent {"connection_id":159027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:46:58] local.INFO: TCP Data received {"connection_id":160347,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:46:58] local.INFO: Processing buffer {"connection_id":160347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:46:58] local.INFO: IMEI packet received {"connection_id":160347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":160347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:47:03] local.INFO: TCP Data received {"connection_id":160347,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:47:03] local.INFO: Processing buffer {"connection_id":160347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:47:03] local.INFO: IMEI packet received {"connection_id":160347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":160347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:47:04] local.INFO: TCP Data received {"connection_id":160347,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2962b8012cebdd8007140808000c00492b..."} 
[2026-08-19 18:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2962b8012cebdd8007140808000c00492b..."} 
[2026-08-19 18:47:05] local.INFO: Processing buffer {"connection_id":160347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2962b8012cebdd8007140808000c00492b..."} 
[2026-08-19 18:47:05] local.INFO: Packet analysis {"connection_id":160347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a29"} 
[2026-08-19 18:47:05] local.INFO: Extracted packet for processing {"connection_id":160347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a29"} 
[2026-08-19 18:47:05] local.INFO: GPS Element Parsed {"raw_longitude":753655168,"raw_latitude":118753288,"longitude_deg":75.3655168,"latitude_deg":11.8753288,"altitude":12,"angle":73,"satellites":43,"speed":17,"hex_longitude":"2cebdd80","hex_latitude":"07140808","is_valid_coordinates":true} 
[2026-08-19 18:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509196032001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386028336259792896,"note":"Value kept but may cause issues"} 
[2026-08-19 18:47:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1459095880123721728,"note":"Value kept but may cause issues"} 
[2026-08-19 18:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787145315000,"timestamp_ms":1787145315000,"timestamp_seconds":1787145315,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2962b8"} 
[2026-08-19 18:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:47: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-08-19 18:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-19 18:47:05] 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-08-19 18:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509196032001,"66":27767,"172":206,"2":54272,"24":17,"16":386028336259792896,"44":-1459095880123721728},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,2,24,16,44]} 
[2026-08-19 18:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509196032001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:47:05] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-19 18:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386028336259792896,"km_value":386028336259792.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:47:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1459095880123721728,"description":"Unknown IO ID 44"} 
[2026-08-19 18:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509196032001,"power":27767,"unknown_172":206,"power_alt":54272,"ignition":17,"odometer":null,"unknown_44":-1459095880123721728}} 
[2026-08-19 18:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":160347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:47:05] local.INFO: GPS data processed {"connection_id":160347,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:47:05] local.INFO: Acknowledgment sent {"connection_id":160347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:47:13] local.INFO: TCP Data received {"connection_id":159028,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:47:13] local.INFO: Processing buffer {"connection_id":159028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:47:13] local.INFO: IMEI packet received {"connection_id":159028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":159028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:47:18] local.INFO: TCP Data received {"connection_id":159028,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:47:18] local.INFO: Processing buffer {"connection_id":159028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:47:18] local.INFO: IMEI packet received {"connection_id":159028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":159028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:47:19] local.INFO: TCP Data received {"connection_id":159027,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2b23f0012d7dc5c005d57d600001011d2b..."} 
[2026-08-19 18:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2b23f0012d7dc5c005d57d600001011d2b..."} 
[2026-08-19 18:47:19] local.INFO: Processing buffer {"connection_id":159027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2b23f0012d7dc5c005d57d600001011d2b..."} 
[2026-08-19 18:47:19] local.INFO: Packet analysis {"connection_id":159027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2b"} 
[2026-08-19 18:47:19] local.INFO: Extracted packet for processing {"connection_id":159027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2b"} 
[2026-08-19 18:47:19] local.INFO: GPS Element Parsed {"raw_longitude":763217344,"raw_latitude":97877344,"longitude_deg":76.3217344,"latitude_deg":9.7877344,"altitude":1,"angle":285,"satellites":43,"speed":14,"hex_longitude":"2d7dc5c0","hex_latitude":"05d57d60","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509229824001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120905730269118464,"note":"Value kept but may cause issues"} 
[2026-08-19 18:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063142431418798080,"note":"Value kept but may cause issues"} 
[2026-08-19 18:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787145430000,"timestamp_ms":1787145430000,"timestamp_seconds":1787145430,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2b23f0"} 
[2026-08-19 18:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:47: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-08-19 18: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-19 18:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:47:19] 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-08-19 18:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509229824001,"66":12385,"111":206,"85":15104,"24":14,"16":120905730269118464,"45":9063142431418798080},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 18:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509229824001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:47:19] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 18:47:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120905730269118464,"km_value":120905730269118.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063142431418798080,"description":"Unknown IO ID 45"} 
[2026-08-19 18:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509229824001,"power":12385,"unknown_111":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9063142431418798080}} 
[2026-08-19 18:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":159027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:47:19] local.INFO: GPS data processed {"connection_id":159027,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:47:19] local.INFO: Acknowledgment sent {"connection_id":159027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:47:19] local.INFO: TCP Data received {"connection_id":159028,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a283208012d1826800721b9e0004c00d629..."} 
[2026-08-19 18:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a283208012d1826800721b9e0004c00d629..."} 
[2026-08-19 18:47:19] local.INFO: Processing buffer {"connection_id":159028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a283208012d1826800721b9e0004c00d629..."} 
[2026-08-19 18:47:19] local.INFO: Packet analysis {"connection_id":159028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a28"} 
[2026-08-19 18:47:19] local.INFO: Extracted packet for processing {"connection_id":159028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a28"} 
[2026-08-19 18:47:19] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119650784,"longitude_deg":75.655744,"latitude_deg":11.9650784,"altitude":76,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b9e0","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509175296001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982038398861312,"note":"Value kept but may cause issues"} 
[2026-08-19 18:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144231424,"note":"Value kept but may cause issues"} 
[2026-08-19 18:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787145237000,"timestamp_ms":1787145237000,"timestamp_seconds":1787145237,"priority":1,"record_length":96,"hex_timestamp":"000001a01a283208"} 
[2026-08-19 18:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 18:47:19] 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-08-19 18: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-08-19 18:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509175296001,"66":12722,"105":206,"83":41984,"24":0,"16":13982038398861312,"45":1740219074144231424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509175296001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:47:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:47:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982038398861312,"km_value":13982038398861.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144231424,"description":"Unknown IO ID 45"} 
[2026-08-19 18:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509175296001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144231424}} 
[2026-08-19 18:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":159028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:47:19] local.INFO: GPS data processed {"connection_id":159028,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:47:19] local.INFO: Acknowledgment sent {"connection_id":159028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:47:23] local.INFO: TCP Data received {"connection_id":159028,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a288410012d1826800721b9e0004c00d628..."} 
[2026-08-19 18:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a288410012d1826800721b9e0004c00d628..."} 
[2026-08-19 18:47:23] local.INFO: Processing buffer {"connection_id":159028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a288410012d1826800721b9e0004c00d628..."} 
[2026-08-19 18:47:23] local.INFO: Packet analysis {"connection_id":159028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a28"} 
[2026-08-19 18:47:23] local.INFO: Extracted packet for processing {"connection_id":159028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a28"} 
[2026-08-19 18:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119650784,"longitude_deg":75.655744,"latitude_deg":11.9650784,"altitude":76,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b9e0","is_valid_coordinates":true} 
[2026-08-19 18:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509180672001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982038398861312,"note":"Value kept but may cause issues"} 
[2026-08-19 18:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144231424,"note":"Value kept but may cause issues"} 
[2026-08-19 18:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787145258000,"timestamp_ms":1787145258000,"timestamp_seconds":1787145258,"priority":1,"record_length":96,"hex_timestamp":"000001a01a288410"} 
[2026-08-19 18:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 18:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509180672001,"66":12689,"105":206,"83":41984,"24":0,"16":13982038398861312,"45":1740219074144231424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509180672001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:47:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:47:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982038398861312,"km_value":13982038398861.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144231424,"description":"Unknown IO ID 45"} 
[2026-08-19 18:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509180672001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144231424}} 
[2026-08-19 18:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":159028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:47:23] local.INFO: GPS data processed {"connection_id":159028,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:47:23] local.INFO: Acknowledgment sent {"connection_id":159028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:47:37] local.INFO: TCP Data received {"connection_id":160347,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a299580012cebf6c0071410c8000f003c29..."} 
[2026-08-19 18:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a299580012cebf6c0071410c8000f003c29..."} 
[2026-08-19 18:47:37] local.INFO: Processing buffer {"connection_id":160347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a299580012cebf6c0071410c8000f003c29..."} 
[2026-08-19 18:47:37] local.INFO: Packet analysis {"connection_id":160347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a29"} 
[2026-08-19 18:47:37] local.INFO: Extracted packet for processing {"connection_id":160347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a29"} 
[2026-08-19 18:47:37] local.INFO: GPS Element Parsed {"raw_longitude":753661632,"raw_latitude":118755528,"longitude_deg":75.3661632,"latitude_deg":11.8755528,"altitude":15,"angle":60,"satellites":41,"speed":22,"hex_longitude":"2cebf6c0","hex_latitude":"071410c8","is_valid_coordinates":true} 
[2026-08-19 18:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509200640001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386028662677307392,"note":"Value kept but may cause issues"} 
[2026-08-19 18:47:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1450862737054234624,"note":"Value kept but may cause issues"} 
[2026-08-19 18:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787145328000,"timestamp_ms":1787145328000,"timestamp_seconds":1787145328,"priority":1,"record_length":96,"hex_timestamp":"000001a01a299580"} 
[2026-08-19 18:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 18:47:37] 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-08-19 18:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509200640001,"66":27745,"172":206,"2":54272,"24":22,"16":386028662677307392,"44":-1450862737054234624},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,2,24,16,44]} 
[2026-08-19 18:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509200640001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:47:37] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-19 18:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386028662677307392,"km_value":386028662677307.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:47:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1450862737054234624,"description":"Unknown IO ID 44"} 
[2026-08-19 18:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509200640001,"power":27745,"unknown_172":206,"power_alt":54272,"ignition":22,"odometer":null,"unknown_44":-1450862737054234624}} 
[2026-08-19 18:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":160347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:47:37] local.INFO: GPS data processed {"connection_id":160347,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:47:37] local.INFO: Acknowledgment sent {"connection_id":160347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:47:38] local.INFO: TCP Data received {"connection_id":157811,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:47:38] local.INFO: Processing buffer {"connection_id":157811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:47:38] local.INFO: IMEI packet received {"connection_id":157811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":157811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:47:41] local.INFO: TCP Data received {"connection_id":157811,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:47:41] local.INFO: Processing buffer {"connection_id":157811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:47:41] local.INFO: IMEI packet received {"connection_id":157811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":157811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:47:46] local.INFO: TCP Data received {"connection_id":157811,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:47:46] local.INFO: Processing buffer {"connection_id":157811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:47:46] local.INFO: IMEI packet received {"connection_id":157811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":157811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:47:47] local.INFO: TCP Data received {"connection_id":157811,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2b27d8012d7dc3c005d57d780001010a2b..."} 
[2026-08-19 18:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2b27d8012d7dc3c005d57d780001010a2b..."} 
[2026-08-19 18:47:47] local.INFO: Processing buffer {"connection_id":157811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2b27d8012d7dc3c005d57d780001010a2b..."} 
[2026-08-19 18:47:47] local.INFO: Packet analysis {"connection_id":157811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2b"} 
[2026-08-19 18:47:47] local.INFO: Extracted packet for processing {"connection_id":157811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2b"} 
[2026-08-19 18:47:47] local.INFO: GPS Element Parsed {"raw_longitude":763216832,"raw_latitude":97877368,"longitude_deg":76.3216832,"latitude_deg":9.7877368,"altitude":1,"angle":266,"satellites":43,"speed":16,"hex_longitude":"2d7dc3c0","hex_latitude":"05d57d78","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509230080001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120905756038922240,"note":"Value kept but may cause issues"} 
[2026-08-19 18:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062860956442124288,"note":"Value kept but may cause issues"} 
[2026-08-19 18:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787145431000,"timestamp_ms":1787145431000,"timestamp_seconds":1787145431,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2b27d8"} 
[2026-08-19 18:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 18:47:47] 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-08-19 18: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-08-19 18:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:47:47] 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-08-19 18:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509230080001,"66":12385,"111":206,"85":15104,"24":16,"16":120905756038922240,"45":9062860956442124288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 18:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509230080001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:47:47] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 18:47:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120905756038922240,"km_value":120905756038922.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062860956442124288,"description":"Unknown IO ID 45"} 
[2026-08-19 18:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509230080001,"power":12385,"unknown_111":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9062860956442124288}} 
[2026-08-19 18:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":157811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:47:47] local.INFO: GPS data processed {"connection_id":157811,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:47:47] local.INFO: Acknowledgment sent {"connection_id":157811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:48:03] local.INFO: TCP Data received {"connection_id":160348,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:48:03] local.INFO: Processing buffer {"connection_id":160348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:48:03] local.INFO: IMEI packet received {"connection_id":160348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":160348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:48:05] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:48:05] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:48:05] local.INFO: IMEI packet received {"connection_id":160349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":160349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:48:08] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:48:08] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:48:08] local.INFO: IMEI packet received {"connection_id":160349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":160349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:48:13] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:48:13] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:48:13] local.INFO: IMEI packet received {"connection_id":160349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":160349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:48:14] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a28d618012d1826800721b9e0004c00d627..."} 
[2026-08-19 18:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a28d618012d1826800721b9e0004c00d627..."} 
[2026-08-19 18:48:14] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a28d618012d1826800721b9e0004c00d627..."} 
[2026-08-19 18:48:14] local.INFO: Packet analysis {"connection_id":160349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a28"} 
[2026-08-19 18:48:14] local.INFO: Extracted packet for processing {"connection_id":160349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a28"} 
[2026-08-19 18:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119650784,"longitude_deg":75.655744,"latitude_deg":11.9650784,"altitude":76,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b9e0","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509186048001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982038398861312,"note":"Value kept but may cause issues"} 
[2026-08-19 18:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144231424,"note":"Value kept but may cause issues"} 
[2026-08-19 18:48: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-08-19 18:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787145279000,"timestamp_ms":1787145279000,"timestamp_seconds":1787145279,"priority":1,"record_length":96,"hex_timestamp":"000001a01a28d618"} 
[2026-08-19 18:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:48:14] 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-08-19 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 18:48:14] 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-08-19 18: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-08-19 18:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509186048001,"66":12722,"105":206,"83":41984,"24":0,"16":13982038398861312,"45":1740219074144231424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509186048001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:48:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:48:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982038398861312,"km_value":13982038398861.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144231424,"description":"Unknown IO ID 45"} 
[2026-08-19 18:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509186048001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144231424}} 
[2026-08-19 18:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":160349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:48:14] local.INFO: GPS data processed {"connection_id":160349,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:48:14] local.INFO: Acknowledgment sent {"connection_id":160349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:48:14] local.INFO: TCP Data received {"connection_id":160348,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:48:14] local.INFO: Processing buffer {"connection_id":160348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:48:14] local.INFO: IMEI packet received {"connection_id":160348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":160348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:48:15] local.INFO: TCP Data received {"connection_id":160348,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a29a520012cebfe00071416d80010002d2a..."} 
[2026-08-19 18:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a29a520012cebfe00071416d80010002d2a..."} 
[2026-08-19 18:48:15] local.INFO: Processing buffer {"connection_id":160348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a29a520012cebfe00071416d80010002d2a..."} 
[2026-08-19 18:48:15] local.INFO: Packet analysis {"connection_id":160348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a29"} 
[2026-08-19 18:48:15] local.INFO: Extracted packet for processing {"connection_id":160348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a29"} 
[2026-08-19 18:48:15] local.INFO: GPS Element Parsed {"raw_longitude":753663488,"raw_latitude":118757080,"longitude_deg":75.3663488,"latitude_deg":11.875708,"altitude":16,"angle":45,"satellites":42,"speed":21,"hex_longitude":"2cebfe00","hex_latitude":"071416d8","is_valid_coordinates":true} 
[2026-08-19 18:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509203968001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386028778641424384,"note":"Value kept but may cause issues"} 
[2026-08-19 18:48:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1443755493891717120,"note":"Value kept but may cause issues"} 
[2026-08-19 18:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787145332000,"timestamp_ms":1787145332000,"timestamp_seconds":1787145332,"priority":1,"record_length":96,"hex_timestamp":"000001a01a29a520"} 
[2026-08-19 18:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 18:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509203968001,"66":27767,"172":206,"2":54272,"24":21,"16":386028778641424384,"44":-1443755493891717120},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,2,24,16,44]} 
[2026-08-19 18:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509203968001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:48:15] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-19 18:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386028778641424384,"km_value":386028778641424.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:48:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1443755493891717120,"description":"Unknown IO ID 44"} 
[2026-08-19 18:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509203968001,"power":27767,"unknown_172":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-1443755493891717120}} 
[2026-08-19 18:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":160348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:48:15] local.INFO: GPS data processed {"connection_id":160348,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:48:15] local.INFO: Acknowledgment sent {"connection_id":160348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:48:18] local.INFO: TCP Data received {"connection_id":157811,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2b2bc0012d7dc20005d57d18000200fc2b..."} 
[2026-08-19 18:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2b2bc0012d7dc20005d57d18000200fc2b..."} 
[2026-08-19 18:48:18] local.INFO: Processing buffer {"connection_id":157811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2b2bc0012d7dc20005d57d18000200fc2b..."} 
[2026-08-19 18:48:18] local.INFO: Packet analysis {"connection_id":157811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2b"} 
[2026-08-19 18:48:18] local.INFO: Extracted packet for processing {"connection_id":157811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2b"} 
[2026-08-19 18:48:18] local.INFO: GPS Element Parsed {"raw_longitude":763216384,"raw_latitude":97877272,"longitude_deg":76.3216384,"latitude_deg":9.7877272,"altitude":2,"angle":252,"satellites":43,"speed":17,"hex_longitude":"2d7dc200","hex_latitude":"05d57d18","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509230336001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120905777513758720,"note":"Value kept but may cause issues"} 
[2026-08-19 18:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062298006488709120,"note":"Value kept but may cause issues"} 
[2026-08-19 18:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787145432000,"timestamp_ms":1787145432000,"timestamp_seconds":1787145432,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2b2bc0"} 
[2026-08-19 18:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:48:18] 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-08-19 18:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 18:48:18] 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-08-19 18: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-08-19 18:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:48:18] 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-08-19 18:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509230336001,"66":12385,"111":206,"85":15104,"24":17,"16":120905777513758720,"45":9062298006488709120},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 18:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509230336001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:48:18] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 18:48:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120905777513758720,"km_value":120905777513758.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062298006488709120,"description":"Unknown IO ID 45"} 
[2026-08-19 18:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509230336001,"power":12385,"unknown_111":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9062298006488709120}} 
[2026-08-19 18:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":157811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:48:18] local.INFO: GPS data processed {"connection_id":157811,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:48:18] local.INFO: Acknowledgment sent {"connection_id":157811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:48:41] local.INFO: TCP Data received {"connection_id":158169,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:48:41] local.INFO: Processing buffer {"connection_id":158169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:48:41] local.INFO: IMEI packet received {"connection_id":158169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":158169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:48:42] local.INFO: TCP Data received {"connection_id":158169,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:48:42] local.INFO: Processing buffer {"connection_id":158169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:48:42] local.INFO: IMEI packet received {"connection_id":158169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":158169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:48:44] local.INFO: TCP Data received {"connection_id":158169,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:48:44] local.INFO: Processing buffer {"connection_id":158169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:48:44] local.INFO: IMEI packet received {"connection_id":158169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":158169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:48:45] local.INFO: TCP Data received {"connection_id":158169,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2b4ee8012d7dae0005d579500004010929..."} 
[2026-08-19 18:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2b4ee8012d7dae0005d579500004010929..."} 
[2026-08-19 18:48:45] local.INFO: Processing buffer {"connection_id":158169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2b4ee8012d7dae0005d579500004010929..."} 
[2026-08-19 18:48:45] local.INFO: Packet analysis {"connection_id":158169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2b"} 
[2026-08-19 18:48:45] local.INFO: Extracted packet for processing {"connection_id":158169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2b"} 
[2026-08-19 18:48:45] local.INFO: GPS Element Parsed {"raw_longitude":763211264,"raw_latitude":97876304,"longitude_deg":76.3211264,"latitude_deg":9.7876304,"altitude":4,"angle":265,"satellites":41,"speed":22,"hex_longitude":"2d7dae00","hex_latitude":"05d57950","is_valid_coordinates":true} 
[2026-08-19 18:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509230592001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120906026621861888,"note":"Value kept but may cause issues"} 
[2026-08-19 18:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9061805425279440896,"note":"Value kept but may cause issues"} 
[2026-08-19 18:48:45] 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-08-19 18:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787145441000,"timestamp_ms":1787145441000,"timestamp_seconds":1787145441,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2b4ee8"} 
[2026-08-19 18:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 18:48:45] 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-08-19 18:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:48: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-08-19 18:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509230592001,"66":12461,"111":206,"85":15104,"24":22,"16":120906026621861888,"45":9061805425279440896},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 18:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509230592001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:48:45] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 18:48:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120906026621861888,"km_value":120906026621861.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9061805425279440896,"description":"Unknown IO ID 45"} 
[2026-08-19 18:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509230592001,"power":12461,"unknown_111":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9061805425279440896}} 
[2026-08-19 18:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":158169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:48:45] local.INFO: GPS data processed {"connection_id":158169,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:48:45] local.INFO: Acknowledgment sent {"connection_id":158169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:48:45] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a292820012d1826800721b9e0004c00d62a..."} 
[2026-08-19 18:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a292820012d1826800721b9e0004c00d62a..."} 
[2026-08-19 18:48:45] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a292820012d1826800721b9e0004c00d62a..."} 
[2026-08-19 18:48:45] local.INFO: Packet analysis {"connection_id":160349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a29"} 
[2026-08-19 18:48:45] local.INFO: Extracted packet for processing {"connection_id":160349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a29"} 
[2026-08-19 18:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119650784,"longitude_deg":75.655744,"latitude_deg":11.9650784,"altitude":76,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b9e0","is_valid_coordinates":true} 
[2026-08-19 18:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509191424001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982038398861312,"note":"Value kept but may cause issues"} 
[2026-08-19 18:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144231424,"note":"Value kept but may cause issues"} 
[2026-08-19 18:48: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-08-19 18:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787145300000,"timestamp_ms":1787145300000,"timestamp_seconds":1787145300,"priority":1,"record_length":96,"hex_timestamp":"000001a01a292820"} 
[2026-08-19 18:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:48: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-08-19 18:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 18:48:45] 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-08-19 18:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509191424001,"66":12711,"105":206,"83":41984,"24":0,"16":13982038398861312,"45":1740219074144231424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509191424001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:48:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982038398861312,"km_value":13982038398861.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144231424,"description":"Unknown IO ID 45"} 
[2026-08-19 18:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509191424001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144231424}} 
[2026-08-19 18:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":160349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:48:45] local.INFO: GPS data processed {"connection_id":160349,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:48:45] local.INFO: Acknowledgment sent {"connection_id":160349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:48:57] local.INFO: TCP Data received {"connection_id":160350,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:48:57] local.INFO: Processing buffer {"connection_id":160350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:48:57] local.INFO: IMEI packet received {"connection_id":160350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":160350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:48:58] local.INFO: TCP Data received {"connection_id":160350,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:48:58] local.INFO: Processing buffer {"connection_id":160350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:48:58] local.INFO: IMEI packet received {"connection_id":160350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":160350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:48:58] local.INFO: TCP Data received {"connection_id":160350,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:48:58] local.INFO: Processing buffer {"connection_id":160350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:48:58] local.INFO: IMEI packet received {"connection_id":160350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":160350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:49:05] local.INFO: TCP Data received {"connection_id":160350,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:49:05] local.INFO: Processing buffer {"connection_id":160350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:49:05] local.INFO: IMEI packet received {"connection_id":160350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":160350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:49:07] local.INFO: TCP Data received {"connection_id":160350,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2b9d08012cecbfc00714d9d0001800152d..."} 
[2026-08-19 18:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2b9d08012cecbfc00714d9d0001800152d..."} 
[2026-08-19 18:49:07] local.INFO: Processing buffer {"connection_id":160350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2b9d08012cecbfc00714d9d0001800152d..."} 
[2026-08-19 18:49:07] local.INFO: Packet analysis {"connection_id":160350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2b"} 
[2026-08-19 18:49:07] local.INFO: Extracted packet for processing {"connection_id":160350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2b"} 
[2026-08-19 18:49:07] local.INFO: GPS Element Parsed {"raw_longitude":753713088,"raw_latitude":118806992,"longitude_deg":75.3713088,"latitude_deg":11.8806992,"altitude":24,"angle":21,"satellites":45,"speed":31,"hex_longitude":"2cecbfc0","hex_latitude":"0714d9d0","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509235456001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386032510968004608,"note":"Value kept but may cause issues"} 
[2026-08-19 18:49:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1391190041979959296,"note":"Value kept but may cause issues"} 
[2026-08-19 18:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787145461000,"timestamp_ms":1787145461000,"timestamp_seconds":1787145461,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2b9d08"} 
[2026-08-19 18:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:49: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-08-19 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 18:49: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-08-19 18: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-08-19 18:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509235456001,"66":27104,"87":206,"2":54272,"24":31,"16":386032510968004608,"44":-1391190041979959296},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 18:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509235456001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:49:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 18:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386032510968004608,"km_value":386032510968004.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:49:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1391190041979959296,"description":"Unknown IO ID 44"} 
[2026-08-19 18:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509235456001,"power":27104,"unknown_87":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-1391190041979959296}} 
[2026-08-19 18:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":160350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:49:07] local.INFO: GPS data processed {"connection_id":160350,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:49:07] local.INFO: Acknowledgment sent {"connection_id":160350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:49:08] local.INFO: TCP Data received {"connection_id":159029,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:49:08] local.INFO: Processing buffer {"connection_id":159029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:49:08] local.INFO: IMEI packet received {"connection_id":159029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":159029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:49:08] local.INFO: TCP Data received {"connection_id":159029,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:49:08] local.INFO: Processing buffer {"connection_id":159029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:49:08] local.INFO: IMEI packet received {"connection_id":159029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":159029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:49:13] local.INFO: TCP Data received {"connection_id":159029,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:49:13] local.INFO: Processing buffer {"connection_id":159029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:49:13] local.INFO: IMEI packet received {"connection_id":159029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":159029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:49:14] local.INFO: TCP Data received {"connection_id":159029,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a297a28012d1826800721b9e0004c00d629..."} 
[2026-08-19 18:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a297a28012d1826800721b9e0004c00d629..."} 
[2026-08-19 18:49:14] local.INFO: Processing buffer {"connection_id":159029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a297a28012d1826800721b9e0004c00d629..."} 
[2026-08-19 18:49:14] local.INFO: Packet analysis {"connection_id":159029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a29"} 
[2026-08-19 18:49:14] local.INFO: Extracted packet for processing {"connection_id":159029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a29"} 
[2026-08-19 18:49:14] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119650784,"longitude_deg":75.655744,"latitude_deg":11.9650784,"altitude":76,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b9e0","is_valid_coordinates":true} 
[2026-08-19 18:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509196800001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982038398861312,"note":"Value kept but may cause issues"} 
[2026-08-19 18:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144231424,"note":"Value kept but may cause issues"} 
[2026-08-19 18:49: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-08-19 18:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787145321000,"timestamp_ms":1787145321000,"timestamp_seconds":1787145321,"priority":1,"record_length":96,"hex_timestamp":"000001a01a297a28"} 
[2026-08-19 18:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:49:14] 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-08-19 18:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-19 18:49: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-08-19 18:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509196800001,"66":12711,"105":206,"83":41984,"24":0,"16":13982038398861312,"45":1740219074144231424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509196800001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:49:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:49:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982038398861312,"km_value":13982038398861.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144231424,"description":"Unknown IO ID 45"} 
[2026-08-19 18:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509196800001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144231424}} 
[2026-08-19 18:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":159029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:49:14] local.INFO: GPS data processed {"connection_id":159029,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:49:14] local.INFO: Acknowledgment sent {"connection_id":159029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:49:16] local.INFO: TCP Data received {"connection_id":158169,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2cae78012d7d304005d57718000b01562d..."} 
[2026-08-19 18:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2cae78012d7d304005d57718000b01562d..."} 
[2026-08-19 18:49:16] local.INFO: Processing buffer {"connection_id":158169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2cae78012d7d304005d57718000b01562d..."} 
[2026-08-19 18:49:16] local.INFO: Packet analysis {"connection_id":158169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2c"} 
[2026-08-19 18:49:16] local.INFO: Extracted packet for processing {"connection_id":158169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2c"} 
[2026-08-19 18:49:16] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":97875736,"longitude_deg":76.3179072,"latitude_deg":9.7875736,"altitude":11,"angle":342,"satellites":45,"speed":8,"hex_longitude":"2d7d3040","hex_latitude":"05d57718","is_valid_coordinates":true} 
[2026-08-19 18:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509255424001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120907602874859520,"note":"Value kept but may cause issues"} 
[2026-08-19 18:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991553655926784,"note":"Value kept but may cause issues"} 
[2026-08-19 18:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787145531000,"timestamp_ms":1787145531000,"timestamp_seconds":1787145531,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2cae78"} 
[2026-08-19 18:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:49: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-08-19 18:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-19 18:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:49:16] 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-08-19 18:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509255424001,"66":12058,"253":206,"85":15104,"24":8,"16":120907602874859520,"45":9020991553655926784},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-19 18:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509255424001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:49:16] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-19 18:49:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120907602874859520,"km_value":120907602874859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991553655926784,"description":"Unknown IO ID 45"} 
[2026-08-19 18:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509255424001,"power":12058,"unknown_253":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9020991553655926784}} 
[2026-08-19 18:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":158169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:49:16] local.INFO: GPS data processed {"connection_id":158169,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:49:16] local.INFO: Acknowledgment sent {"connection_id":158169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:49:38] local.INFO: TCP Data received {"connection_id":160350,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2bb478012cecc4400714ea30001900092e..."} 
[2026-08-19 18:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2bb478012cecc4400714ea30001900092e..."} 
[2026-08-19 18:49:38] local.INFO: Processing buffer {"connection_id":160350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2bb478012cecc4400714ea30001900092e..."} 
[2026-08-19 18:49:38] local.INFO: Packet analysis {"connection_id":160350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2b"} 
[2026-08-19 18:49:38] local.INFO: Extracted packet for processing {"connection_id":160350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2b"} 
[2026-08-19 18:49:38] local.INFO: GPS Element Parsed {"raw_longitude":753714240,"raw_latitude":118811184,"longitude_deg":75.371424,"latitude_deg":11.8811184,"altitude":25,"angle":9,"satellites":46,"speed":27,"hex_longitude":"2cecc440","hex_latitude":"0714ea30","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509238016001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386032721421402112,"note":"Value kept but may cause issues"} 
[2026-08-19 18:49:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1387179023559700480,"note":"Value kept but may cause issues"} 
[2026-08-19 18:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787145467000,"timestamp_ms":1787145467000,"timestamp_seconds":1787145467,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2bb478"} 
[2026-08-19 18:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:49: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-08-19 18: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 18:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509238016001,"66":27876,"87":206,"2":54272,"24":27,"16":386032721421402112,"44":-1387179023559700480},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 18:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509238016001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:49:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 18:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386032721421402112,"km_value":386032721421402.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:49:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1387179023559700480,"description":"Unknown IO ID 44"} 
[2026-08-19 18:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509238016001,"power":27876,"unknown_87":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-1387179023559700480}} 
[2026-08-19 18:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":160350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:49:38] local.INFO: GPS data processed {"connection_id":160350,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:49:38] local.INFO: Acknowledgment sent {"connection_id":160350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:49:45] local.INFO: TCP Data received {"connection_id":159029,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a29cc30012d1826800721b9e0004c00d627..."} 
[2026-08-19 18:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a29cc30012d1826800721b9e0004c00d627..."} 
[2026-08-19 18:49:45] local.INFO: Processing buffer {"connection_id":159029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a29cc30012d1826800721b9e0004c00d627..."} 
[2026-08-19 18:49:45] local.INFO: Packet analysis {"connection_id":159029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a29"} 
[2026-08-19 18:49:45] local.INFO: Extracted packet for processing {"connection_id":159029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a29"} 
[2026-08-19 18:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119650784,"longitude_deg":75.655744,"latitude_deg":11.9650784,"altitude":76,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b9e0","is_valid_coordinates":true} 
[2026-08-19 18:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509202176001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982038398861312,"note":"Value kept but may cause issues"} 
[2026-08-19 18:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144231424,"note":"Value kept but may cause issues"} 
[2026-08-19 18:49: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-08-19 18:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787145342000,"timestamp_ms":1787145342000,"timestamp_seconds":1787145342,"priority":1,"record_length":96,"hex_timestamp":"000001a01a29cc30"} 
[2026-08-19 18:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:49:45] 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-08-19 18:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-19 18:49: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-08-19 18:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509202176001,"66":12689,"105":206,"83":41984,"24":0,"16":13982038398861312,"45":1740219074144231424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509202176001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:49:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:49:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982038398861312,"km_value":13982038398861.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144231424,"description":"Unknown IO ID 45"} 
[2026-08-19 18:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509202176001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144231424}} 
[2026-08-19 18:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":159029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:49:45] local.INFO: GPS data processed {"connection_id":159029,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:49:45] local.INFO: Acknowledgment sent {"connection_id":159029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:49:46] local.INFO: TCP Data received {"connection_id":160351,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:49:46] local.INFO: Processing buffer {"connection_id":160351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:49:46] local.INFO: IMEI packet received {"connection_id":160351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":160351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:49:50] local.INFO: TCP Data received {"connection_id":160351,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:49:50] local.INFO: Processing buffer {"connection_id":160351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:49:50] local.INFO: IMEI packet received {"connection_id":160351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":160351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:49:51] local.INFO: TCP Data received {"connection_id":160351,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2cb260012d7d300005d57800000b00032c..."} 
[2026-08-19 18:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2cb260012d7d300005d57800000b00032c..."} 
[2026-08-19 18:49:51] local.INFO: Processing buffer {"connection_id":160351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2cb260012d7d300005d57800000b00032c..."} 
[2026-08-19 18:49:51] local.INFO: Packet analysis {"connection_id":160351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2c"} 
[2026-08-19 18:49:51] local.INFO: Extracted packet for processing {"connection_id":160351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2c"} 
[2026-08-19 18:49:51] local.INFO: GPS Element Parsed {"raw_longitude":763179008,"raw_latitude":97875968,"longitude_deg":76.3179008,"latitude_deg":9.7875968,"altitude":11,"angle":3,"satellites":44,"speed":8,"hex_longitude":"2d7d3000","hex_latitude":"05d57800","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509255936001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120907615759761408,"note":"Value kept but may cause issues"} 
[2026-08-19 18:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447423469568,"note":"Value kept but may cause issues"} 
[2026-08-19 18:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787145532000,"timestamp_ms":1787145532000,"timestamp_seconds":1787145532,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2cb260"} 
[2026-08-19 18:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:49: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-08-19 18:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 18:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:49:51] 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-08-19 18:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509255936001,"66":12058,"253":206,"85":15104,"24":8,"16":120907615759761408,"45":9020780447423469568},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-19 18:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509255936001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:49:51] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-19 18:49:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120907615759761408,"km_value":120907615759761.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447423469568,"description":"Unknown IO ID 45"} 
[2026-08-19 18:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509255936001,"power":12058,"unknown_253":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9020780447423469568}} 
[2026-08-19 18:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":160351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:49:51] local.INFO: GPS data processed {"connection_id":160351,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:49:51] local.INFO: Acknowledgment sent {"connection_id":160351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:49:58] local.INFO: TCP Data received {"connection_id":157812,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:49:58] local.INFO: Processing buffer {"connection_id":157812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:49:58] local.INFO: IMEI packet received {"connection_id":157812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":157812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:50:04] local.INFO: TCP Data received {"connection_id":157812,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:50:04] local.INFO: Processing buffer {"connection_id":157812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:50:04] local.INFO: IMEI packet received {"connection_id":157812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":157812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:50:06] local.INFO: TCP Data received {"connection_id":157812,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2bef10012cecc9c007150cf8001900092b..."} 
[2026-08-19 18:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2bef10012cecc9c007150cf8001900092b..."} 
[2026-08-19 18:50:06] local.INFO: Processing buffer {"connection_id":157812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2bef10012cecc9c007150cf8001900092b..."} 
[2026-08-19 18:50:06] local.INFO: Packet analysis {"connection_id":157812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2b"} 
[2026-08-19 18:50:06] local.INFO: Extracted packet for processing {"connection_id":157812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2b"} 
[2026-08-19 18:50:06] local.INFO: GPS Element Parsed {"raw_longitude":753715648,"raw_latitude":118820088,"longitude_deg":75.3715648,"latitude_deg":11.8820088,"altitude":25,"angle":9,"satellites":43,"speed":21,"hex_longitude":"2cecc9c0","hex_latitude":"07150cf8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509239552001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386033159508066304,"note":"Value kept but may cause issues"} 
[2026-08-19 18:50:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1385912386163429376,"note":"Value kept but may cause issues"} 
[2026-08-19 18:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787145482000,"timestamp_ms":1787145482000,"timestamp_seconds":1787145482,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2bef10"} 
[2026-08-19 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-08-19 18:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-19 18:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 18:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509239552001,"66":27800,"87":206,"2":54272,"24":21,"16":386033159508066304,"44":-1385912386163429376},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 18:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509239552001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:50:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 18:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386033159508066304,"km_value":386033159508066.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:50:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1385912386163429376,"description":"Unknown IO ID 44"} 
[2026-08-19 18:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509239552001,"power":27800,"unknown_87":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-1385912386163429376}} 
[2026-08-19 18:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":157812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:50:06] local.INFO: GPS data processed {"connection_id":157812,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:50:06] local.INFO: Acknowledgment sent {"connection_id":157812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:50:08] local.INFO: TCP Data received {"connection_id":158170,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:50:08] local.INFO: Processing buffer {"connection_id":158170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:50:08] local.INFO: IMEI packet received {"connection_id":158170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":158170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:50:11] local.INFO: TCP Data received {"connection_id":158170,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:50:11] local.INFO: Processing buffer {"connection_id":158170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:50:11] local.INFO: IMEI packet received {"connection_id":158170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":158170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:50:12] local.INFO: TCP Data received {"connection_id":158170,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2a1e38012d1826800721b9e0004c00d62a..."} 
[2026-08-19 18:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2a1e38012d1826800721b9e0004c00d62a..."} 
[2026-08-19 18:50:12] local.INFO: Processing buffer {"connection_id":158170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2a1e38012d1826800721b9e0004c00d62a..."} 
[2026-08-19 18:50:12] local.INFO: Packet analysis {"connection_id":158170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2a"} 
[2026-08-19 18:50:12] local.INFO: Extracted packet for processing {"connection_id":158170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2a"} 
[2026-08-19 18:50:12] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119650784,"longitude_deg":75.655744,"latitude_deg":11.9650784,"altitude":76,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b9e0","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509207552001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982038398861312,"note":"Value kept but may cause issues"} 
[2026-08-19 18:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144231424,"note":"Value kept but may cause issues"} 
[2026-08-19 18:50: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-08-19 18:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787145363000,"timestamp_ms":1787145363000,"timestamp_seconds":1787145363,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2a1e38"} 
[2026-08-19 18:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:50: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-08-19 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-19 18:50: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-08-19 18: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-08-19 18:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509207552001,"66":12711,"105":206,"83":41984,"24":0,"16":13982038398861312,"45":1740219074144231424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509207552001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:50:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:50:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982038398861312,"km_value":13982038398861.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144231424,"description":"Unknown IO ID 45"} 
[2026-08-19 18:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509207552001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144231424}} 
[2026-08-19 18:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":158170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:50:12] local.INFO: GPS data processed {"connection_id":158170,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:50:12] local.INFO: Acknowledgment sent {"connection_id":158170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:50:22] local.INFO: TCP Data received {"connection_id":160351,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2ce140012d7d30c005d59180000801602a..."} 
[2026-08-19 18:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2ce140012d7d30c005d59180000801602a..."} 
[2026-08-19 18:50:22] local.INFO: Processing buffer {"connection_id":160351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2ce140012d7d30c005d59180000801602a..."} 
[2026-08-19 18:50:22] local.INFO: Packet analysis {"connection_id":160351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2c"} 
[2026-08-19 18:50:22] local.INFO: Extracted packet for processing {"connection_id":160351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2c"} 
[2026-08-19 18:50:22] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":97882496,"longitude_deg":76.31792,"latitude_deg":9.7882496,"altitude":8,"angle":352,"satellites":42,"speed":30,"hex_longitude":"2d7d30c0","hex_latitude":"05d59180","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509256192001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120907933587341312,"note":"Value kept but may cause issues"} 
[2026-08-19 18:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020710078679351296,"note":"Value kept but may cause issues"} 
[2026-08-19 18:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787145544000,"timestamp_ms":1787145544000,"timestamp_seconds":1787145544,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2ce140"} 
[2026-08-19 18:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-19 18:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:50:22] 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-08-19 18:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509256192001,"66":12461,"253":206,"85":15104,"24":30,"16":120907933587341312,"45":9020710078679351296},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-19 18:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509256192001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:50:22] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-19 18:50:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120907933587341312,"km_value":120907933587341.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020710078679351296,"description":"Unknown IO ID 45"} 
[2026-08-19 18:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509256192001,"power":12461,"unknown_253":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9020710078679351296}} 
[2026-08-19 18:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":160351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:50:22] local.INFO: GPS data processed {"connection_id":160351,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:50:22] local.INFO: Acknowledgment sent {"connection_id":160351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:50:38] local.INFO: TCP Data received {"connection_id":157812,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2c3178012cecd1c007152eb8001800192f..."} 
[2026-08-19 18:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2c3178012cecd1c007152eb8001800192f..."} 
[2026-08-19 18:50:38] local.INFO: Processing buffer {"connection_id":157812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2c3178012cecd1c007152eb8001800192f..."} 
[2026-08-19 18:50:38] local.INFO: Packet analysis {"connection_id":157812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2c"} 
[2026-08-19 18:50:38] local.INFO: Extracted packet for processing {"connection_id":157812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2c"} 
[2026-08-19 18:50:38] local.INFO: GPS Element Parsed {"raw_longitude":753717696,"raw_latitude":118828728,"longitude_deg":75.3717696,"latitude_deg":11.8828728,"altitude":24,"angle":25,"satellites":47,"speed":20,"hex_longitude":"2cecd1c0","hex_latitude":"07152eb8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509243392001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386033589004795904,"note":"Value kept but may cause issues"} 
[2026-08-19 18:50:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1384364273789241344,"note":"Value kept but may cause issues"} 
[2026-08-19 18:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787145499000,"timestamp_ms":1787145499000,"timestamp_seconds":1787145499,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2c3178"} 
[2026-08-19 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-08-19 18:50: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-08-19 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 18:50:38] 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-08-19 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-08-19 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-08-19 18:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509243392001,"66":27626,"87":206,"2":54272,"24":20,"16":386033589004795904,"44":-1384364273789241344},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 18:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509243392001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:50:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 18:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386033589004795904,"km_value":386033589004795.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:50:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1384364273789241344,"description":"Unknown IO ID 44"} 
[2026-08-19 18:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509243392001,"power":27626,"unknown_87":206,"power_alt":54272,"ignition":20,"odometer":null,"unknown_44":-1384364273789241344}} 
[2026-08-19 18:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":157812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:50:38] local.INFO: GPS data processed {"connection_id":157812,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:50:38] local.INFO: Acknowledgment sent {"connection_id":157812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:50:41] local.INFO: TCP Data received {"connection_id":157813,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:50:41] local.INFO: Processing buffer {"connection_id":157813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:50:41] local.INFO: IMEI packet received {"connection_id":157813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":157813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:50:43] local.INFO: TCP Data received {"connection_id":158170,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2a7040012d1826800721b9e0004c00d626..."} 
[2026-08-19 18:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2a7040012d1826800721b9e0004c00d626..."} 
[2026-08-19 18:50:43] local.INFO: Processing buffer {"connection_id":158170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2a7040012d1826800721b9e0004c00d626..."} 
[2026-08-19 18:50:43] local.INFO: Packet analysis {"connection_id":158170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2a"} 
[2026-08-19 18:50:43] local.INFO: Extracted packet for processing {"connection_id":158170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2a"} 
[2026-08-19 18:50:43] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119650784,"longitude_deg":75.655744,"latitude_deg":11.9650784,"altitude":76,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b9e0","is_valid_coordinates":true} 
[2026-08-19 18:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509212928001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982038398861312,"note":"Value kept but may cause issues"} 
[2026-08-19 18:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144231424,"note":"Value kept but may cause issues"} 
[2026-08-19 18:50: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-08-19 18:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787145384000,"timestamp_ms":1787145384000,"timestamp_seconds":1787145384,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2a7040"} 
[2026-08-19 18:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:50: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-08-19 18:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-19 18:50:43] 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-08-19 18:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509212928001,"66":13059,"105":206,"83":41984,"24":0,"16":13982038398861312,"45":1740219074144231424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509212928001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:50:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:50:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982038398861312,"km_value":13982038398861.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144231424,"description":"Unknown IO ID 45"} 
[2026-08-19 18:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509212928001,"power":13059,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144231424}} 
[2026-08-19 18:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":158170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:50:43] local.INFO: GPS data processed {"connection_id":158170,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:50:43] local.INFO: Acknowledgment sent {"connection_id":158170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:50:46] local.INFO: TCP Data received {"connection_id":157813,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:50:46] local.INFO: Processing buffer {"connection_id":157813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:50:46] local.INFO: IMEI packet received {"connection_id":157813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":157813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:50:47] local.INFO: TCP Data received {"connection_id":157813,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2d0c38012d7d2a0005d5b450000701612a..."} 
[2026-08-19 18:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2d0c38012d7d2a0005d5b450000701612a..."} 
[2026-08-19 18:50:47] local.INFO: Processing buffer {"connection_id":157813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2d0c38012d7d2a0005d5b450000701612a..."} 
[2026-08-19 18:50:47] local.INFO: Packet analysis {"connection_id":157813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2d"} 
[2026-08-19 18:50:47] local.INFO: Extracted packet for processing {"connection_id":157813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2d"} 
[2026-08-19 18:50:47] local.INFO: GPS Element Parsed {"raw_longitude":763177472,"raw_latitude":97891408,"longitude_deg":76.3177472,"latitude_deg":9.7891408,"altitude":7,"angle":353,"satellites":42,"speed":28,"hex_longitude":"2d7d2a00","hex_latitude":"05d5b450","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509259264001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120908371674005504,"note":"Value kept but may cause issues"} 
[2026-08-19 18:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921184913555456,"note":"Value kept but may cause issues"} 
[2026-08-19 18:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787145555000,"timestamp_ms":1787145555000,"timestamp_seconds":1787145555,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2d0c38"} 
[2026-08-19 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-08-19 18:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 18:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 18:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:50:47] 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-08-19 18:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509259264001,"66":12341,"253":206,"85":15104,"24":28,"16":120908371674005504,"45":9020921184913555456},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-19 18:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509259264001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:50:47] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-19 18:50:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120908371674005504,"km_value":120908371674005.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921184913555456,"description":"Unknown IO ID 45"} 
[2026-08-19 18:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509259264001,"power":12341,"unknown_253":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9020921184913555456}} 
[2026-08-19 18:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":157813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:50:47] local.INFO: GPS data processed {"connection_id":157813,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:50:47] local.INFO: Acknowledgment sent {"connection_id":157813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:50:58] local.INFO: TCP Data received {"connection_id":160352,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:50:58] local.INFO: Processing buffer {"connection_id":160352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:50:58] local.INFO: IMEI packet received {"connection_id":160352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":160352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:51:04] local.INFO: TCP Data received {"connection_id":160352,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:51:04] local.INFO: Processing buffer {"connection_id":160352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:51:04] local.INFO: IMEI packet received {"connection_id":160352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":160352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:51:05] local.INFO: TCP Data received {"connection_id":160352,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2c3178012cecd1c007152eb8001800192f..."} 
[2026-08-19 18:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2c3178012cecd1c007152eb8001800192f..."} 
[2026-08-19 18:51:05] local.INFO: Processing buffer {"connection_id":160352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2c3178012cecd1c007152eb8001800192f..."} 
[2026-08-19 18:51:05] local.INFO: Packet analysis {"connection_id":160352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2c"} 
[2026-08-19 18:51:05] local.INFO: Extracted packet for processing {"connection_id":160352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2c"} 
[2026-08-19 18:51:05] local.INFO: GPS Element Parsed {"raw_longitude":753717696,"raw_latitude":118828728,"longitude_deg":75.3717696,"latitude_deg":11.8828728,"altitude":24,"angle":25,"satellites":47,"speed":20,"hex_longitude":"2cecd1c0","hex_latitude":"07152eb8","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509247744001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386033589004795904,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1382112473973344256,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787145499000,"timestamp_ms":1787145499000,"timestamp_seconds":1787145499,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2c3178"} 
[2026-08-19 18:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:51: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-08-19 18: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-19 18:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509247744001,"66":27626,"87":206,"2":54272,"24":20,"16":386033589004795904,"44":-1382112473973344256},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 18:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509247744001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:51:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 18:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386033589004795904,"km_value":386033589004795.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:51:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1382112473973344256,"description":"Unknown IO ID 44"} 
[2026-08-19 18:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509247744001,"power":27626,"unknown_87":206,"power_alt":54272,"ignition":20,"odometer":null,"unknown_44":-1382112473973344256}} 
[2026-08-19 18:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":160352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:51:05] local.INFO: GPS data processed {"connection_id":160352,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:51:05] local.INFO: Acknowledgment sent {"connection_id":160352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:51:08] local.INFO: TCP Data received {"connection_id":157814,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:51:08] local.INFO: Processing buffer {"connection_id":157814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:51:08] local.INFO: IMEI packet received {"connection_id":157814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":157814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:51:13] local.INFO: TCP Data received {"connection_id":157814,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:51:13] local.INFO: Processing buffer {"connection_id":157814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:51:13] local.INFO: IMEI packet received {"connection_id":157814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":157814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:51:14] local.INFO: TCP Data received {"connection_id":157814,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2ac248012d1826800721b9e0004c00d629..."} 
[2026-08-19 18:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2ac248012d1826800721b9e0004c00d629..."} 
[2026-08-19 18:51:14] local.INFO: Processing buffer {"connection_id":157814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2ac248012d1826800721b9e0004c00d629..."} 
[2026-08-19 18:51:14] local.INFO: Packet analysis {"connection_id":157814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2a"} 
[2026-08-19 18:51:14] local.INFO: Extracted packet for processing {"connection_id":157814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2a"} 
[2026-08-19 18:51:14] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119650784,"longitude_deg":75.655744,"latitude_deg":11.9650784,"altitude":76,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721b9e0","is_valid_coordinates":true} 
[2026-08-19 18:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509218304001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982038398861312,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144231424,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51: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-08-19 18:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787145405000,"timestamp_ms":1787145405000,"timestamp_seconds":1787145405,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2ac248"} 
[2026-08-19 18:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:51: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-08-19 18:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 18:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303156805291370,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:14] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709952,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:14] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:14] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3118465100,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-19 18:51:14] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2147951033,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2895577088,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:14] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,172,160,30,45,128,185,76,42,10,66,204,39,122,1,240,167,227,26,33,4,113,205,214,38,224,239,49,2,7],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-19 18:51:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476612605579624448,"timestamp_seconds":5476612605579624.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 18:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509218304001,"66":12841,"105":206,"83":41984,"24":0,"16":13982038398861312,"45":1740219074144231424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509218304001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:51:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982038398861312,"km_value":13982038398861.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144231424,"description":"Unknown IO ID 45"} 
[2026-08-19 18:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509218304001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144231424}} 
[2026-08-19 18:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":157814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:51:14] local.INFO: GPS data processed {"connection_id":157814,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:51:14] local.INFO: Acknowledgment sent {"connection_id":157814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:51:18] local.INFO: TCP Data received {"connection_id":157813,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2d2f60012d7d280005d5c7a8000601562c..."} 
[2026-08-19 18:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2d2f60012d7d280005d5c7a8000601562c..."} 
[2026-08-19 18:51:18] local.INFO: Processing buffer {"connection_id":157813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2d2f60012d7d280005d5c7a8000601562c..."} 
[2026-08-19 18:51:18] local.INFO: Packet analysis {"connection_id":157813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2d"} 
[2026-08-19 18:51:18] local.INFO: Extracted packet for processing {"connection_id":157813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2d"} 
[2026-08-19 18:51:18] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":97896360,"longitude_deg":76.317696,"latitude_deg":9.789636,"altitude":6,"angle":342,"satellites":44,"speed":13,"hex_longitude":"2d7d2800","hex_latitude":"05d5c7a8","is_valid_coordinates":true} 
[2026-08-19 18:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509262080001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120908616487141376,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019021228823040000,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787145564000,"timestamp_ms":1787145564000,"timestamp_seconds":1787145564,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2d2f60"} 
[2026-08-19 18:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:51:18] 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-08-19 18:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-19 18:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:51:18] 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-08-19 18:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509262080001,"66":12439,"253":206,"85":15104,"24":13,"16":120908616487141376,"45":9019021228823040000},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-19 18:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509262080001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:51:18] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-19 18:51:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120908616487141376,"km_value":120908616487141.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019021228823040000,"description":"Unknown IO ID 45"} 
[2026-08-19 18:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509262080001,"power":12439,"unknown_253":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9019021228823040000}} 
[2026-08-19 18:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":157813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:51:18] local.INFO: GPS data processed {"connection_id":157813,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:51:18] local.INFO: Acknowledgment sent {"connection_id":157813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:51:36] local.INFO: TCP Data received {"connection_id":160352,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2c6828012cece38007154df80015001c2d..."} 
[2026-08-19 18:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2c6828012cece38007154df80015001c2d..."} 
[2026-08-19 18:51:36] local.INFO: Processing buffer {"connection_id":160352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2c6828012cece38007154df80015001c2d..."} 
[2026-08-19 18:51:36] local.INFO: Packet analysis {"connection_id":160352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2c"} 
[2026-08-19 18:51:36] local.INFO: Extracted packet for processing {"connection_id":160352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2c"} 
[2026-08-19 18:51:36] local.INFO: GPS Element Parsed {"raw_longitude":753722240,"raw_latitude":118836728,"longitude_deg":75.372224,"latitude_deg":11.8836728,"altitude":21,"angle":28,"satellites":45,"speed":29,"hex_longitude":"2cece380","hex_latitude":"07154df8","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509247744001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386034035681394688,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1382112473973344256,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787145513000,"timestamp_ms":1787145513000,"timestamp_seconds":1787145513,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2c6828"} 
[2026-08-19 18:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:51: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-08-19 18: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-19 18:51:36] 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-08-19 18: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-08-19 18:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509247744001,"66":27137,"87":206,"2":54272,"24":29,"16":386034035681394688,"44":-1382112473973344256},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 18:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509247744001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:51:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 18:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386034035681394688,"km_value":386034035681394.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:51:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1382112473973344256,"description":"Unknown IO ID 44"} 
[2026-08-19 18:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509247744001,"power":27137,"unknown_87":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-1382112473973344256}} 
[2026-08-19 18:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":160352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:51:36] local.INFO: GPS data processed {"connection_id":160352,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:51:36] local.INFO: Acknowledgment sent {"connection_id":160352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:51:41] local.INFO: TCP Data received {"connection_id":160353,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:51:41] local.INFO: Processing buffer {"connection_id":160353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:51:41] local.INFO: IMEI packet received {"connection_id":160353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":160353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:51:45] local.INFO: TCP Data received {"connection_id":157814,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2b1450012d1824400721b6a8004b00d529..."} 
[2026-08-19 18:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2b1450012d1824400721b6a8004b00d529..."} 
[2026-08-19 18:51:45] local.INFO: Processing buffer {"connection_id":157814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2b1450012d1824400721b6a8004b00d529..."} 
[2026-08-19 18:51:45] local.INFO: Packet analysis {"connection_id":157814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2b"} 
[2026-08-19 18:51:45] local.INFO: Extracted packet for processing {"connection_id":157814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2b"} 
[2026-08-19 18:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119649960,"longitude_deg":75.6556864,"latitude_deg":11.964996,"altitude":75,"angle":213,"satellites":41,"speed":6,"hex_longitude":"2d182440","hex_latitude":"0721b6a8","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509223680001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982089938468864,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144231424,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51: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-08-19 18:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787145426000,"timestamp_ms":1787145426000,"timestamp_seconds":1787145426,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2b1450"} 
[2026-08-19 18:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:51: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-08-19 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 18:51:45] 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-08-19 18: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-08-19 18:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509223680001,"66":12798,"105":206,"83":41984,"24":6,"16":13982089938468864,"45":1740219074144231424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509223680001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:51:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982089938468864,"km_value":13982089938468.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144231424,"description":"Unknown IO ID 45"} 
[2026-08-19 18:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509223680001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1740219074144231424}} 
[2026-08-19 18:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":157814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:51:45] local.INFO: GPS data processed {"connection_id":157814,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:51:45] local.INFO: Acknowledgment sent {"connection_id":157814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:51:46] local.INFO: TCP Data received {"connection_id":160353,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:51:46] local.INFO: Processing buffer {"connection_id":160353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:51:46] local.INFO: IMEI packet received {"connection_id":160353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":160353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:51:47] local.INFO: TCP Data received {"connection_id":160353,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2d3730012d7d278005d5ca60000701622c..."} 
[2026-08-19 18:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2d3730012d7d278005d5ca60000701622c..."} 
[2026-08-19 18:51:47] local.INFO: Processing buffer {"connection_id":160353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2d3730012d7d278005d5ca60000701622c..."} 
[2026-08-19 18:51:47] local.INFO: Packet analysis {"connection_id":160353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2d"} 
[2026-08-19 18:51:47] local.INFO: Extracted packet for processing {"connection_id":160353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2d"} 
[2026-08-19 18:51:47] local.INFO: GPS Element Parsed {"raw_longitude":763176832,"raw_latitude":97897056,"longitude_deg":76.3176832,"latitude_deg":9.7897056,"altitude":7,"angle":354,"satellites":44,"speed":16,"hex_longitude":"2d7d2780","hex_latitude":"05d5ca60","is_valid_coordinates":true} 
[2026-08-19 18:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509264384001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120908650846879744,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018458278870886400,"note":"Value kept but may cause issues"} 
[2026-08-19 18:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787145566000,"timestamp_ms":1787145566000,"timestamp_seconds":1787145566,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2d3730"} 
[2026-08-19 18:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-19 18:51:47] 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-08-19 18:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:51:47] 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-08-19 18:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509264384001,"66":12645,"253":206,"85":15104,"24":16,"16":120908650846879744,"45":9018458278870886400},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-19 18:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509264384001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:51:47] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-19 18:51:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120908650846879744,"km_value":120908650846879.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018458278870886400,"description":"Unknown IO ID 45"} 
[2026-08-19 18:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509264384001,"power":12645,"unknown_253":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9018458278870886400}} 
[2026-08-19 18:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":160353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:51:47] local.INFO: GPS data processed {"connection_id":160353,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:51:47] local.INFO: Acknowledgment sent {"connection_id":160353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:51:58] local.INFO: TCP Data received {"connection_id":159030,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:51:58] local.INFO: Processing buffer {"connection_id":159030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:51:58] local.INFO: IMEI packet received {"connection_id":159030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":159030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:52:04] local.INFO: TCP Data received {"connection_id":159030,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:52:04] local.INFO: Processing buffer {"connection_id":159030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:52:04] local.INFO: IMEI packet received {"connection_id":159030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":159030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:52:05] local.INFO: TCP Data received {"connection_id":159030,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2e7f50012cec980007162698001701412c..."} 
[2026-08-19 18:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2e7f50012cec980007162698001701412c..."} 
[2026-08-19 18:52:05] local.INFO: Processing buffer {"connection_id":159030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2e7f50012cec980007162698001701412c..."} 
[2026-08-19 18:52:05] local.INFO: Packet analysis {"connection_id":159030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2e"} 
[2026-08-19 18:52:05] local.INFO: Extracted packet for processing {"connection_id":159030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2e"} 
[2026-08-19 18:52:05] local.INFO: GPS Element Parsed {"raw_longitude":753702912,"raw_latitude":118892184,"longitude_deg":75.3702912,"latitude_deg":11.8892184,"altitude":23,"angle":321,"satellites":44,"speed":20,"hex_longitude":"2cec9800","hex_latitude":"07162698","is_valid_coordinates":true} 
[2026-08-19 18:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509281280001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386037072223272960,"note":"Value kept but may cause issues"} 
[2026-08-19 18:52:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1394497372933404672,"note":"Value kept but may cause issues"} 
[2026-08-19 18:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787145650000,"timestamp_ms":1787145650000,"timestamp_seconds":1787145650,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2e7f50"} 
[2026-08-19 18:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:52: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-08-19 18:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 18:52:05] 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-08-19 18:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509281280001,"66":27908,"34":206,"2":54272,"24":20,"16":386037072223272960,"44":-1394497372933404672},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,2,24,16,44]} 
[2026-08-19 18:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509281280001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:52:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-19 18:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386037072223272960,"km_value":386037072223272.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:52:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1394497372933404672,"description":"Unknown IO ID 44"} 
[2026-08-19 18:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509281280001,"power":27908,"unknown_34":206,"power_alt":54272,"ignition":20,"odometer":null,"unknown_44":-1394497372933404672}} 
[2026-08-19 18:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":159030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:52:05] local.INFO: GPS data processed {"connection_id":159030,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:52:05] local.INFO: Acknowledgment sent {"connection_id":159030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:52:08] local.INFO: TCP Data received {"connection_id":158171,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:52:08] local.INFO: Processing buffer {"connection_id":158171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:52:08] local.INFO: IMEI packet received {"connection_id":158171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":158171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:52:13] local.INFO: TCP Data received {"connection_id":158171,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:52:13] local.INFO: Processing buffer {"connection_id":158171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:52:13] local.INFO: IMEI packet received {"connection_id":158171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":158171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:52:14] local.INFO: TCP Data received {"connection_id":158171,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2b6658012d1823800721b5e0004a00d429..."} 
[2026-08-19 18:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2b6658012d1823800721b5e0004a00d429..."} 
[2026-08-19 18:52:14] local.INFO: Processing buffer {"connection_id":158171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2b6658012d1823800721b5e0004a00d429..."} 
[2026-08-19 18:52:14] local.INFO: Packet analysis {"connection_id":158171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2b"} 
[2026-08-19 18:52:14] local.INFO: Extracted packet for processing {"connection_id":158171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2b"} 
[2026-08-19 18:52:14] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649760,"longitude_deg":75.6556672,"latitude_deg":11.964976,"altitude":74,"angle":212,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b5e0","is_valid_coordinates":true} 
[2026-08-19 18:52: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-08-19 18:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509229056001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982102823370752,"note":"Value kept but may cause issues"} 
[2026-08-19 18:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446421504,"note":"Value kept but may cause issues"} 
[2026-08-19 18:52: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-08-19 18:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787145447000,"timestamp_ms":1787145447000,"timestamp_seconds":1787145447,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2b6658"} 
[2026-08-19 18:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:52: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-08-19 18:52: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":254,"data_length":795,"current_offset":136} 
[2026-08-19 18:52:14] 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-08-19 18:52: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-08-19 18:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509229056001,"66":12722,"105":206,"83":41984,"24":0,"16":13982102823370752,"45":1739585755446421504},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509229056001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:52:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:52:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982102823370752,"km_value":13982102823370.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446421504,"description":"Unknown IO ID 45"} 
[2026-08-19 18:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509229056001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446421504}} 
[2026-08-19 18:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":158171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:52:14] local.INFO: GPS data processed {"connection_id":158171,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:52:14] local.INFO: Acknowledgment sent {"connection_id":158171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:52:18] local.INFO: TCP Data received {"connection_id":160353,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2fac18012d7ced4005d69080000b01412d..."} 
[2026-08-19 18:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2fac18012d7ced4005d69080000b01412d..."} 
[2026-08-19 18:52:18] local.INFO: Processing buffer {"connection_id":160353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2fac18012d7ced4005d69080000b01412d..."} 
[2026-08-19 18:52:18] local.INFO: Packet analysis {"connection_id":160353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:52:18] local.INFO: Extracted packet for processing {"connection_id":160353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:52:18] local.INFO: GPS Element Parsed {"raw_longitude":763161920,"raw_latitude":97947776,"longitude_deg":76.316192,"latitude_deg":9.7947776,"altitude":11,"angle":321,"satellites":45,"speed":9,"hex_longitude":"2d7ced40","hex_latitude":"05d69080","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509303552001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120911240712159232,"note":"Value kept but may cause issues"} 
[2026-08-19 18:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002414205211348992,"note":"Value kept but may cause issues"} 
[2026-08-19 18:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787145727000,"timestamp_ms":1787145727000,"timestamp_seconds":1787145727,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2fac18"} 
[2026-08-19 18:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:52: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-08-19 18: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 18:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:52:18] 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-08-19 18:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509303552001,"66":12287,"30":206,"85":15104,"24":9,"16":120911240712159232,"45":9002414205211348992},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-19 18:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509303552001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:52:18] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-19 18:52:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120911240712159232,"km_value":120911240712159.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002414205211348992,"description":"Unknown IO ID 45"} 
[2026-08-19 18:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509303552001,"power":12287,"unknown_30":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9002414205211348992}} 
[2026-08-19 18:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":160353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:52:18] local.INFO: GPS data processed {"connection_id":160353,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:52:18] local.INFO: Acknowledgment sent {"connection_id":160353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:52:37] local.INFO: TCP Data received {"connection_id":159030,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2ea278012cec880007163b980017014d29..."} 
[2026-08-19 18:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2ea278012cec880007163b980017014d29..."} 
[2026-08-19 18:52:37] local.INFO: Processing buffer {"connection_id":159030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2ea278012cec880007163b980017014d29..."} 
[2026-08-19 18:52:37] local.INFO: Packet analysis {"connection_id":159030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2e"} 
[2026-08-19 18:52:37] local.INFO: Extracted packet for processing {"connection_id":159030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2e"} 
[2026-08-19 18:52:37] local.INFO: GPS Element Parsed {"raw_longitude":753698816,"raw_latitude":118897560,"longitude_deg":75.3698816,"latitude_deg":11.889756,"altitude":23,"angle":333,"satellites":41,"speed":35,"hex_longitude":"2cec8800","hex_latitude":"07163b98","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509286400001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386037398640787456,"note":"Value kept but may cause issues"} 
[2026-08-19 18:52:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1398367653862139904,"note":"Value kept but may cause issues"} 
[2026-08-19 18:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787145659000,"timestamp_ms":1787145659000,"timestamp_seconds":1787145659,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2ea278"} 
[2026-08-19 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-08-19 18:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:52:37] 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-08-19 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-08-19 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-08-19 18:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509286400001,"66":27713,"34":206,"2":54272,"24":35,"16":386037398640787456,"44":-1398367653862139904},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,2,24,16,44]} 
[2026-08-19 18:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509286400001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:52:37] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-19 18:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386037398640787456,"km_value":386037398640787.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:52:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1398367653862139904,"description":"Unknown IO ID 44"} 
[2026-08-19 18:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509286400001,"power":27713,"unknown_34":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-1398367653862139904}} 
[2026-08-19 18:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":159030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:52:37] local.INFO: GPS data processed {"connection_id":159030,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:52:37] local.INFO: Acknowledgment sent {"connection_id":159030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:52:41] local.INFO: TCP Data received {"connection_id":160354,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:52:41] local.INFO: Processing buffer {"connection_id":160354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:52:41] local.INFO: IMEI packet received {"connection_id":160354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":160354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:52:41] local.INFO: TCP Data received {"connection_id":160354,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:52:41] local.INFO: Processing buffer {"connection_id":160354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:52:41] local.INFO: IMEI packet received {"connection_id":160354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":160354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:52:45] local.INFO: TCP Data received {"connection_id":158171,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2eecb0012d1821000721b370004b00d528..."} 
[2026-08-19 18:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2eecb0012d1821000721b370004b00d528..."} 
[2026-08-19 18:52:45] local.INFO: Processing buffer {"connection_id":158171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2eecb0012d1821000721b370004b00d528..."} 
[2026-08-19 18:52:45] local.INFO: Packet analysis {"connection_id":158171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2e"} 
[2026-08-19 18:52:45] local.INFO: Extracted packet for processing {"connection_id":158171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2e"} 
[2026-08-19 18:52:45] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 18:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509288192001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 18:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 18:52: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-08-19 18:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787145678000,"timestamp_ms":1787145678000,"timestamp_seconds":1787145678,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2eecb0"} 
[2026-08-19 18:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:52: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-08-19 18:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-19 18:52: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-08-19 18:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509288192001,"66":12580,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509288192001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:52:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:52:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 18:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509288192001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 18:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":158171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:52:45] local.INFO: GPS data processed {"connection_id":158171,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:52:45] local.INFO: Acknowledgment sent {"connection_id":158171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:52:46] local.INFO: TCP Data received {"connection_id":160354,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:52:46] local.INFO: Processing buffer {"connection_id":160354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:52:46] local.INFO: IMEI packet received {"connection_id":160354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":160354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:52:47] local.INFO: TCP Data received {"connection_id":160354,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2fb7d0012d7ceb0005d69290000b01322d..."} 
[2026-08-19 18:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2fb7d0012d7ceb0005d69290000b01322d..."} 
[2026-08-19 18:52:47] local.INFO: Processing buffer {"connection_id":160354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2fb7d0012d7ceb0005d69290000b01322d..."} 
[2026-08-19 18:52:47] local.INFO: Packet analysis {"connection_id":160354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:52:47] local.INFO: Extracted packet for processing {"connection_id":160354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:52:47] local.INFO: GPS Element Parsed {"raw_longitude":763161344,"raw_latitude":97948304,"longitude_deg":76.3161344,"latitude_deg":9.7948304,"altitude":11,"angle":306,"satellites":45,"speed":8,"hex_longitude":"2d7ceb00","hex_latitude":"05d69290","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509306112001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120911279366864896,"note":"Value kept but may cause issues"} 
[2026-08-19 18:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001921624002297856,"note":"Value kept but may cause issues"} 
[2026-08-19 18:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787145730000,"timestamp_ms":1787145730000,"timestamp_seconds":1787145730,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2fb7d0"} 
[2026-08-19 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-08-19 18:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-19 18:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 18:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:52:47] 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-08-19 18:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509306112001,"66":12211,"30":206,"85":15104,"24":8,"16":120911279366864896,"45":9001921624002297856},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-19 18:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509306112001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:52:47] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-19 18:52:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120911279366864896,"km_value":120911279366864.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001921624002297856,"description":"Unknown IO ID 45"} 
[2026-08-19 18:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509306112001,"power":12211,"unknown_30":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9001921624002297856}} 
[2026-08-19 18:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":160354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:52:47] local.INFO: GPS data processed {"connection_id":160354,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:52:47] local.INFO: Acknowledgment sent {"connection_id":160354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:52:58] local.INFO: TCP Data received {"connection_id":158172,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:52:58] local.INFO: Processing buffer {"connection_id":158172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:52:58] local.INFO: IMEI packet received {"connection_id":158172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":158172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:53:04] local.INFO: TCP Data received {"connection_id":158172,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:53:04] local.INFO: Processing buffer {"connection_id":158172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:53:04] local.INFO: IMEI packet received {"connection_id":158172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":158172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:53:05] local.INFO: TCP Data received {"connection_id":158172,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2ecd70012cec7bc007165e800017015429..."} 
[2026-08-19 18:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2ecd70012cec7bc007165e800017015429..."} 
[2026-08-19 18:53:05] local.INFO: Processing buffer {"connection_id":158172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2ecd70012cec7bc007165e800017015429..."} 
[2026-08-19 18:53:05] local.INFO: Packet analysis {"connection_id":158172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2e"} 
[2026-08-19 18:53:05] local.INFO: Extracted packet for processing {"connection_id":158172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2e"} 
[2026-08-19 18:53:05] local.INFO: GPS Element Parsed {"raw_longitude":753695680,"raw_latitude":118906496,"longitude_deg":75.369568,"latitude_deg":11.8906496,"altitude":23,"angle":340,"satellites":41,"speed":35,"hex_longitude":"2cec7bc0","hex_latitude":"07165e80","is_valid_coordinates":true} 
[2026-08-19 18:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509288704001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386037858202288128,"note":"Value kept but may cause issues"} 
[2026-08-19 18:53:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1402871253488134144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787145670000,"timestamp_ms":1787145670000,"timestamp_seconds":1787145670,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2ecd70"} 
[2026-08-19 18:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:53: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-08-19 18:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-19 18:53:05] 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-08-19 18:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509288704001,"66":27767,"34":206,"2":54272,"24":35,"16":386037858202288128,"44":-1402871253488134144},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,2,24,16,44]} 
[2026-08-19 18:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509288704001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:53:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-19 18:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386037858202288128,"km_value":386037858202288.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:53:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1402871253488134144,"description":"Unknown IO ID 44"} 
[2026-08-19 18:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509288704001,"power":27767,"unknown_34":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-1402871253488134144}} 
[2026-08-19 18:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":158172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:53:05] local.INFO: GPS data processed {"connection_id":158172,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:53:05] local.INFO: Acknowledgment sent {"connection_id":158172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:53:08] local.INFO: TCP Data received {"connection_id":160355,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:53:08] local.INFO: Processing buffer {"connection_id":160355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:53:08] local.INFO: IMEI packet received {"connection_id":160355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":160355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:53:13] local.INFO: TCP Data received {"connection_id":160355,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:53:13] local.INFO: Processing buffer {"connection_id":160355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:53:13] local.INFO: IMEI packet received {"connection_id":160355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":160355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:53:14] local.INFO: TCP Data received {"connection_id":160355,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2f3eb8012d1821000721b370004b00d528..."} 
[2026-08-19 18:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2f3eb8012d1821000721b370004b00d528..."} 
[2026-08-19 18:53:14] local.INFO: Processing buffer {"connection_id":160355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2f3eb8012d1821000721b370004b00d528..."} 
[2026-08-19 18:53:14] local.INFO: Packet analysis {"connection_id":160355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:53:14] local.INFO: Extracted packet for processing {"connection_id":160355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:53:14] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 18:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509293568001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 18:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 18:53: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-08-19 18:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787145699000,"timestamp_ms":1787145699000,"timestamp_seconds":1787145699,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2f3eb8"} 
[2026-08-19 18:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:53: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-08-19 18:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-19 18:53:14] 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-08-19 18:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509293568001,"66":12613,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509293568001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:53:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:53:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 18:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509293568001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 18:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":160355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:53:14] local.INFO: GPS data processed {"connection_id":160355,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:53:14] local.INFO: Acknowledgment sent {"connection_id":160355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:53:19] local.INFO: TCP Data received {"connection_id":160354,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2fcb58012d7ce80005d69550000a01442d..."} 
[2026-08-19 18:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2fcb58012d7ce80005d69550000a01442d..."} 
[2026-08-19 18:53:19] local.INFO: Processing buffer {"connection_id":160354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2fcb58012d7ce80005d69550000a01442d..."} 
[2026-08-19 18:53:19] local.INFO: Packet analysis {"connection_id":160354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:53:19] local.INFO: Extracted packet for processing {"connection_id":160354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:53:19] local.INFO: GPS Element Parsed {"raw_longitude":763160576,"raw_latitude":97949008,"longitude_deg":76.3160576,"latitude_deg":9.7949008,"altitude":10,"angle":324,"satellites":45,"speed":12,"hex_longitude":"2d7ce800","hex_latitude":"05d69550","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509306880001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120911326611505152,"note":"Value kept but may cause issues"} 
[2026-08-19 18:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001288305304834048,"note":"Value kept but may cause issues"} 
[2026-08-19 18:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787145735000,"timestamp_ms":1787145735000,"timestamp_seconds":1787145735,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2fcb58"} 
[2026-08-19 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-08-19 18:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-19 18:53:19] 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-08-19 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-08-19 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-08-19 18:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:53:19] 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-08-19 18:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509306880001,"66":12069,"30":206,"85":15104,"24":12,"16":120911326611505152,"45":9001288305304834048},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-19 18:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509306880001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:53:19] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-19 18:53:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120911326611505152,"km_value":120911326611505.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001288305304834048,"description":"Unknown IO ID 45"} 
[2026-08-19 18:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509306880001,"power":12069,"unknown_30":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9001288305304834048}} 
[2026-08-19 18:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":160354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:53:19] local.INFO: GPS data processed {"connection_id":160354,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:53:19] local.INFO: Acknowledgment sent {"connection_id":160354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:53:36] local.INFO: TCP Data received {"connection_id":158172,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2f0bf0012cec6ec0071680b8001801522c..."} 
[2026-08-19 18:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2f0bf0012cec6ec0071680b8001801522c..."} 
[2026-08-19 18:53:36] local.INFO: Processing buffer {"connection_id":158172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2f0bf0012cec6ec0071680b8001801522c..."} 
[2026-08-19 18:53:36] local.INFO: Packet analysis {"connection_id":158172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:53:36] local.INFO: Extracted packet for processing {"connection_id":158172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:53:36] local.INFO: GPS Element Parsed {"raw_longitude":753692352,"raw_latitude":118915256,"longitude_deg":75.3692352,"latitude_deg":11.8915256,"altitude":24,"angle":338,"satellites":44,"speed":24,"hex_longitude":"2cec6ec0","hex_latitude":"071680b8","is_valid_coordinates":true} 
[2026-08-19 18:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509291520001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386038313468821504,"note":"Value kept but may cause issues"} 
[2026-08-19 18:53:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1406319321950552064,"note":"Value kept but may cause issues"} 
[2026-08-19 18:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787145686000,"timestamp_ms":1787145686000,"timestamp_seconds":1787145686,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2f0bf0"} 
[2026-08-19 18:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:53: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-08-19 18:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 18:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509291520001,"66":27832,"157":206,"2":54272,"24":24,"16":386038313468821504,"44":-1406319321950552064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-08-19 18:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509291520001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:53:36] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-19 18:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386038313468821504,"km_value":386038313468821.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:53:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1406319321950552064,"description":"Unknown IO ID 44"} 
[2026-08-19 18:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509291520001,"power":27832,"unknown_157":206,"power_alt":54272,"ignition":24,"odometer":null,"unknown_44":-1406319321950552064}} 
[2026-08-19 18:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":158172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:53:36] local.INFO: GPS data processed {"connection_id":158172,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:53:36] local.INFO: Acknowledgment sent {"connection_id":158172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:53:41] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:53:41] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:53:41] local.INFO: IMEI packet received {"connection_id":160356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":160356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:53:44] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:53:44] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:53:44] local.INFO: IMEI packet received {"connection_id":160356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":160356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:53:45] local.INFO: TCP Data received {"connection_id":160355,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2f90c0012d1821000721b370004b00d526..."} 
[2026-08-19 18:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2f90c0012d1821000721b370004b00d526..."} 
[2026-08-19 18:53:45] local.INFO: Processing buffer {"connection_id":160355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2f90c0012d1821000721b370004b00d526..."} 
[2026-08-19 18:53:45] local.INFO: Packet analysis {"connection_id":160355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:53:45] local.INFO: Extracted packet for processing {"connection_id":160355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:53:45] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 18:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509298944001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 18:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 18:53: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-08-19 18:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787145720000,"timestamp_ms":1787145720000,"timestamp_seconds":1787145720,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2f90c0"} 
[2026-08-19 18:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:53: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-08-19 18:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-19 18:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509298944001,"66":12613,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509298944001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:53:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:53:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 18:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509298944001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 18:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":160355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:53:45] local.INFO: GPS data processed {"connection_id":160355,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:53:45] local.INFO: Acknowledgment sent {"connection_id":160355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:53:46] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:53:46] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:53:46] local.INFO: IMEI packet received {"connection_id":160356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":160356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:53:46] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2fcf40012d7ce74005d696a8000a01512c..."} 
[2026-08-19 18:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2fcf40012d7ce74005d696a8000a01512c..."} 
[2026-08-19 18:53:46] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2fcf40012d7ce74005d696a8000a01512c..."} 
[2026-08-19 18:53:46] local.INFO: Packet analysis {"connection_id":160356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:53:46] local.INFO: Extracted packet for processing {"connection_id":160356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:53:46] local.INFO: GPS Element Parsed {"raw_longitude":763160384,"raw_latitude":97949352,"longitude_deg":76.3160384,"latitude_deg":9.7949352,"altitude":10,"angle":337,"satellites":44,"speed":15,"hex_longitude":"2d7ce740","hex_latitude":"05d696a8","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509308160001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120911348086341632,"note":"Value kept but may cause issues"} 
[2026-08-19 18:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000443880374882304,"note":"Value kept but may cause issues"} 
[2026-08-19 18:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787145736000,"timestamp_ms":1787145736000,"timestamp_seconds":1787145736,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2fcf40"} 
[2026-08-19 18:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:53: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-08-19 18: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-19 18:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:53: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-08-19 18:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509308160001,"66":12069,"30":206,"85":15104,"24":15,"16":120911348086341632,"45":9000443880374882304},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-19 18:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509308160001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:53:46] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-19 18:53:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120911348086341632,"km_value":120911348086341.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000443880374882304,"description":"Unknown IO ID 45"} 
[2026-08-19 18:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509308160001,"power":12069,"unknown_30":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9000443880374882304}} 
[2026-08-19 18:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":160356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:53:47] local.INFO: GPS data processed {"connection_id":160356,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:53:47] local.INFO: Acknowledgment sent {"connection_id":160356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:54:04] local.INFO: TCP Data received {"connection_id":157815,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:54:04] local.INFO: Processing buffer {"connection_id":157815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:54:04] local.INFO: IMEI packet received {"connection_id":157815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":157815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:54:08] local.INFO: TCP Data received {"connection_id":158173,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:54:08] local.INFO: Processing buffer {"connection_id":158173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:54:08] local.INFO: IMEI packet received {"connection_id":158173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":158173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:54:09] local.INFO: TCP Data received {"connection_id":157815,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:54:09] local.INFO: Processing buffer {"connection_id":157815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:54:09] local.INFO: IMEI packet received {"connection_id":157815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":157815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:54:10] local.INFO: TCP Data received {"connection_id":157815,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2f42a0012cec62800716a258001d01552d..."} 
[2026-08-19 18:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2f42a0012cec62800716a258001d01552d..."} 
[2026-08-19 18:54:10] local.INFO: Processing buffer {"connection_id":157815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2f42a0012cec62800716a258001d01552d..."} 
[2026-08-19 18:54:10] local.INFO: Packet analysis {"connection_id":157815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:54:10] local.INFO: Extracted packet for processing {"connection_id":157815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:54:10] local.INFO: GPS Element Parsed {"raw_longitude":753689216,"raw_latitude":118923864,"longitude_deg":75.3689216,"latitude_deg":11.8923864,"altitude":29,"angle":341,"satellites":45,"speed":23,"hex_longitude":"2cec6280","hex_latitude":"0716a258","is_valid_coordinates":true} 
[2026-08-19 18:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509295616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386038755850452992,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409978496645548032,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787145700000,"timestamp_ms":1787145700000,"timestamp_seconds":1787145700,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2f42a0"} 
[2026-08-19 18:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-19 18:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509295616001,"66":27484,"157":206,"2":54272,"24":23,"16":386038755850452992,"44":-1409978496645548032},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-08-19 18:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509295616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:54:10] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-19 18:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386038755850452992,"km_value":386038755850453.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409978496645548032,"description":"Unknown IO ID 44"} 
[2026-08-19 18:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509295616001,"power":27484,"unknown_157":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-1409978496645548032}} 
[2026-08-19 18:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":157815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:54:10] local.INFO: GPS data processed {"connection_id":157815,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:54:10] local.INFO: Acknowledgment sent {"connection_id":157815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:54:11] local.INFO: TCP Data received {"connection_id":157815,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2f7568012cec56000716c2a8002101592a..."} 
[2026-08-19 18:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2f7568012cec56000716c2a8002101592a..."} 
[2026-08-19 18:54:11] local.INFO: Processing buffer {"connection_id":157815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2f7568012cec56000716c2a8002101592a..."} 
[2026-08-19 18:54:11] local.INFO: Packet analysis {"connection_id":157815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:54:11] local.INFO: Extracted packet for processing {"connection_id":157815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:54:11] local.INFO: GPS Element Parsed {"raw_longitude":753686016,"raw_latitude":118932136,"longitude_deg":75.3686016,"latitude_deg":11.8932136,"altitude":33,"angle":345,"satellites":42,"speed":32,"hex_longitude":"2cec5600","hex_latitude":"0716c2a8","is_valid_coordinates":true} 
[2026-08-19 18:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509299200001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386039185347182592,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413426565108049920,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787145713000,"timestamp_ms":1787145713000,"timestamp_seconds":1787145713,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2f7568"} 
[2026-08-19 18:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:54: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-08-19 18:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 18:54:11] 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-08-19 18:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509299200001,"66":27767,"157":206,"2":54272,"24":32,"16":386039185347182592,"44":-1413426565108049920},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-08-19 18:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509299200001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:54:11] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-19 18:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386039185347182592,"km_value":386039185347182.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:54:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413426565108049920,"description":"Unknown IO ID 44"} 
[2026-08-19 18:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509299200001,"power":27767,"unknown_157":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-1413426565108049920}} 
[2026-08-19 18:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":157815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:54:11] local.INFO: GPS data processed {"connection_id":157815,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:54:11] local.INFO: Acknowledgment sent {"connection_id":157815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:54:13] local.INFO: TCP Data received {"connection_id":158173,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:54:13] local.INFO: Processing buffer {"connection_id":158173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:54:13] local.INFO: IMEI packet received {"connection_id":158173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":158173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:54:14] local.INFO: TCP Data received {"connection_id":158173,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2fe2c8012d1821000721b370004b00d529..."} 
[2026-08-19 18:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2fe2c8012d1821000721b370004b00d529..."} 
[2026-08-19 18:54:14] local.INFO: Processing buffer {"connection_id":158173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2fe2c8012d1821000721b370004b00d529..."} 
[2026-08-19 18:54:14] local.INFO: Packet analysis {"connection_id":158173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:54:14] local.INFO: Extracted packet for processing {"connection_id":158173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:54:14] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509304320001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54: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-08-19 18:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787145741000,"timestamp_ms":1787145741000,"timestamp_seconds":1787145741,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2fe2c8"} 
[2026-08-19 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-08-19 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-08-19 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":69,"data_length":795,"current_offset":136} 
[2026-08-19 18:54: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-08-19 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-08-19 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-08-19 18:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509304320001,"66":12602,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509304320001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:54:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:54:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 18:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509304320001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 18:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":158173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:54:14] local.INFO: GPS data processed {"connection_id":158173,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:54:14] local.INFO: Acknowledgment sent {"connection_id":158173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:54:18] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3159c8012d7cb1c005d751f8000000762a..."} 
[2026-08-19 18:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3159c8012d7cb1c005d751f8000000762a..."} 
[2026-08-19 18:54:18] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3159c8012d7cb1c005d751f8000000762a..."} 
[2026-08-19 18:54:18] local.INFO: Packet analysis {"connection_id":160356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:54:18] local.INFO: Extracted packet for processing {"connection_id":160356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:54:18] local.INFO: GPS Element Parsed {"raw_longitude":763146688,"raw_latitude":97997304,"longitude_deg":76.3146688,"latitude_deg":9.7997304,"altitude":0,"angle":118,"satellites":42,"speed":2,"hex_longitude":"2d7cb1c0","hex_latitude":"05d751f8","is_valid_coordinates":true} 
[2026-08-19 18:54: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-08-19 18:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509333760001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914118340247552,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985033125412356096,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787145837000,"timestamp_ms":1787145837000,"timestamp_seconds":1787145837,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3159c8"} 
[2026-08-19 18:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:54:18] 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-08-19 18: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-19 18:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:54:18] 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-08-19 18:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509333760001,"66":12232,"7":206,"85":15104,"24":2,"16":120914118340247552,"45":8985033125412356096},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 18:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509333760001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:54:18] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 18:54:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914118340247552,"km_value":120914118340247.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985033125412356096,"description":"Unknown IO ID 45"} 
[2026-08-19 18:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509333760001,"power":12232,"unknown_7":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8985033125412356096}} 
[2026-08-19 18:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":160356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:54:18] local.INFO: GPS data processed {"connection_id":160356,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:54:18] local.INFO: Acknowledgment sent {"connection_id":160356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:54:43] local.INFO: TCP Data received {"connection_id":157815,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a2fa060012cec4b400716e5d0002701572c..."} 
[2026-08-19 18:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a2fa060012cec4b400716e5d0002701572c..."} 
[2026-08-19 18:54:43] local.INFO: Processing buffer {"connection_id":157815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a2fa060012cec4b400716e5d0002701572c..."} 
[2026-08-19 18:54:43] local.INFO: Packet analysis {"connection_id":157815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:54:43] local.INFO: Extracted packet for processing {"connection_id":157815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a2f"} 
[2026-08-19 18:54:43] local.INFO: GPS Element Parsed {"raw_longitude":753683264,"raw_latitude":118941136,"longitude_deg":75.3683264,"latitude_deg":11.8941136,"altitude":39,"angle":343,"satellites":44,"speed":35,"hex_longitude":"2cec4b40","hex_latitude":"0716e5d0","is_valid_coordinates":true} 
[2026-08-19 18:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509302528001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386039640613715968,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416945002314815488,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787145724000,"timestamp_ms":1787145724000,"timestamp_seconds":1787145724,"priority":1,"record_length":96,"hex_timestamp":"000001a01a2fa060"} 
[2026-08-19 18:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 18:54:43] 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-08-19 18:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509302528001,"66":27745,"159":206,"2":54272,"24":35,"16":386039640613715968,"44":-1416945002314815488},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-08-19 18:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509302528001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:54:43] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-19 18:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386039640613715968,"km_value":386039640613715.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:54:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416945002314815488,"description":"Unknown IO ID 44"} 
[2026-08-19 18:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509302528001,"power":27745,"unknown_159":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-1416945002314815488}} 
[2026-08-19 18:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":157815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:54:43] local.INFO: GPS data processed {"connection_id":157815,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:54:43] local.INFO: Acknowledgment sent {"connection_id":157815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:54:45] local.INFO: TCP Data received {"connection_id":158173,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3034d0012d1821000721b370004b00d529..."} 
[2026-08-19 18:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3034d0012d1821000721b370004b00d529..."} 
[2026-08-19 18:54:45] local.INFO: Processing buffer {"connection_id":158173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3034d0012d1821000721b370004b00d529..."} 
[2026-08-19 18:54:45] local.INFO: Packet analysis {"connection_id":158173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a30"} 
[2026-08-19 18:54:45] local.INFO: Extracted packet for processing {"connection_id":158173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a30"} 
[2026-08-19 18:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509309696001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54: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-08-19 18:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787145762000,"timestamp_ms":1787145762000,"timestamp_seconds":1787145762,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3034d0"} 
[2026-08-19 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-08-19 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-08-19 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":58,"data_length":795,"current_offset":136} 
[2026-08-19 18:54:45] 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-08-19 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-08-19 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-08-19 18:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509309696001,"66":12591,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509309696001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:54:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:54:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 18:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509309696001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 18:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":158173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:54:45] local.INFO: GPS data processed {"connection_id":158173,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:54:45] local.INFO: Acknowledgment sent {"connection_id":158173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:54:46] local.INFO: TCP Data received {"connection_id":159031,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:54:46] local.INFO: Processing buffer {"connection_id":159031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:54:46] local.INFO: IMEI packet received {"connection_id":159031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":159031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:54:51] local.INFO: TCP Data received {"connection_id":159031,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:54:51] local.INFO: Processing buffer {"connection_id":159031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:54:51] local.INFO: IMEI packet received {"connection_id":159031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":159031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:54:52] local.INFO: TCP Data received {"connection_id":159031,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3159c8012d7cb1c005d751f8000000762a..."} 
[2026-08-19 18:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3159c8012d7cb1c005d751f8000000762a..."} 
[2026-08-19 18:54:52] local.INFO: Processing buffer {"connection_id":159031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3159c8012d7cb1c005d751f8000000762a..."} 
[2026-08-19 18:54:52] local.INFO: Packet analysis {"connection_id":159031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:54:52] local.INFO: Extracted packet for processing {"connection_id":159031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:54:52] local.INFO: GPS Element Parsed {"raw_longitude":763146688,"raw_latitude":97997304,"longitude_deg":76.3146688,"latitude_deg":9.7997304,"altitude":0,"angle":118,"satellites":42,"speed":2,"hex_longitude":"2d7cb1c0","hex_latitude":"05d751f8","is_valid_coordinates":true} 
[2026-08-19 18:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509334272001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914118340247552,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985173862900692992,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787145837000,"timestamp_ms":1787145837000,"timestamp_seconds":1787145837,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3159c8"} 
[2026-08-19 18:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-19 18:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":159031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":159031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":159031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:54:52] 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-08-19 18:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509334272001,"66":12232,"7":206,"85":15104,"24":2,"16":120914118340247552,"45":8985173862900692992},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 18:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509334272001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:54:52] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 18:54:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914118340247552,"km_value":120914118340247.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985173862900692992,"description":"Unknown IO ID 45"} 
[2026-08-19 18:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509334272001,"power":12232,"unknown_7":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8985173862900692992}} 
[2026-08-19 18:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":159031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:54:52] local.INFO: GPS data processed {"connection_id":159031,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:54:52] local.INFO: Acknowledgment sent {"connection_id":159031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:54:56] local.INFO: TCP Data received {"connection_id":159031,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a315db0012d7cb1c005d751f00000006b2a..."} 
[2026-08-19 18:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a315db0012d7cb1c005d751f00000006b2a..."} 
[2026-08-19 18:54:56] local.INFO: Processing buffer {"connection_id":159031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a315db0012d7cb1c005d751f00000006b2a..."} 
[2026-08-19 18:54:56] local.INFO: Packet analysis {"connection_id":159031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:54:56] local.INFO: Extracted packet for processing {"connection_id":159031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:54:56] local.INFO: GPS Element Parsed {"raw_longitude":763146688,"raw_latitude":97997296,"longitude_deg":76.3146688,"latitude_deg":9.7997296,"altitude":0,"angle":107,"satellites":42,"speed":1,"hex_longitude":"2d7cb1c0","hex_latitude":"05d751f0","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509334272001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914118340247552,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985173862900692992,"note":"Value kept but may cause issues"} 
[2026-08-19 18:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787145838000,"timestamp_ms":1787145838000,"timestamp_seconds":1787145838,"priority":1,"record_length":96,"hex_timestamp":"000001a01a315db0"} 
[2026-08-19 18:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-19 18:54:56] 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-08-19 18: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-08-19 18:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:54:56] 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-08-19 18:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509334272001,"66":12232,"7":206,"85":15104,"24":1,"16":120914118340247552,"45":8985173862900692992},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 18:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509334272001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:54:56] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 18:54:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914118340247552,"km_value":120914118340247.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985173862900692992,"description":"Unknown IO ID 45"} 
[2026-08-19 18:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509334272001,"power":12232,"unknown_7":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8985173862900692992}} 
[2026-08-19 18:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":159031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:54:56] local.INFO: GPS data processed {"connection_id":159031,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:54:56] local.INFO: Acknowledgment sent {"connection_id":159031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:54:58] local.INFO: TCP Data received {"connection_id":160357,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:54:58] local.INFO: Processing buffer {"connection_id":160357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:54:58] local.INFO: IMEI packet received {"connection_id":160357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":160357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:54:58] local.INFO: TCP Data received {"connection_id":160357,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:54:58] local.INFO: Processing buffer {"connection_id":160357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:54:58] local.INFO: IMEI packet received {"connection_id":160357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":160357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:55:01] local.INFO: TCP Data received {"connection_id":160357,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:55:01] local.INFO: Processing buffer {"connection_id":160357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:55:01] local.INFO: IMEI packet received {"connection_id":160357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":160357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:55:02] local.INFO: TCP Data received {"connection_id":160357,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3180d8012cec6840071842e8001c000d2e..."} 
[2026-08-19 18:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3180d8012cec6840071842e8001c000d2e..."} 
[2026-08-19 18:55:02] local.INFO: Processing buffer {"connection_id":160357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3180d8012cec6840071842e8001c000d2e..."} 
[2026-08-19 18:55:02] local.INFO: Packet analysis {"connection_id":160357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:55:02] local.INFO: Extracted packet for processing {"connection_id":160357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:55:02] local.INFO: GPS Element Parsed {"raw_longitude":753690688,"raw_latitude":119030504,"longitude_deg":75.3690688,"latitude_deg":11.9030504,"altitude":28,"angle":13,"satellites":46,"speed":32,"hex_longitude":"2cec6840","hex_latitude":"071842e8","is_valid_coordinates":true} 
[2026-08-19 18:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509334016001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386044025775325184,"note":"Value kept but may cause issues"} 
[2026-08-19 18:55:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1414341358757281792,"note":"Value kept but may cause issues"} 
[2026-08-19 18:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787145847000,"timestamp_ms":1787145847000,"timestamp_seconds":1787145847,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3180d8"} 
[2026-08-19 18:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 18:55: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-08-19 18:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509334016001,"66":27713,"174":206,"2":54272,"24":32,"16":386044025775325184,"44":-1414341358757281792},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-08-19 18:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509334016001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:55:02] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-19 18:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386044025775325184,"km_value":386044025775325.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:55:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1414341358757281792,"description":"Unknown IO ID 44"} 
[2026-08-19 18:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509334016001,"power":27713,"unknown_174":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-1414341358757281792}} 
[2026-08-19 18:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":160357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:55:02] local.INFO: GPS data processed {"connection_id":160357,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:55:02] local.INFO: Acknowledgment sent {"connection_id":160357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:55:13] local.INFO: TCP Data received {"connection_id":158174,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:55:13] local.INFO: Processing buffer {"connection_id":158174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:55:13] local.INFO: IMEI packet received {"connection_id":158174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":158174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:55:18] local.INFO: TCP Data received {"connection_id":158174,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:55:18] local.INFO: Processing buffer {"connection_id":158174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:55:18] local.INFO: IMEI packet received {"connection_id":158174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":158174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:55:19] local.INFO: TCP Data received {"connection_id":158174,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3086d8012d1821000721b370004b00d529..."} 
[2026-08-19 18:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3086d8012d1821000721b370004b00d529..."} 
[2026-08-19 18:55:19] local.INFO: Processing buffer {"connection_id":158174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3086d8012d1821000721b370004b00d529..."} 
[2026-08-19 18:55:19] local.INFO: Packet analysis {"connection_id":158174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a30"} 
[2026-08-19 18:55:19] local.INFO: Extracted packet for processing {"connection_id":158174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a30"} 
[2026-08-19 18:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 18:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509315072001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 18:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 18:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787145783000,"timestamp_ms":1787145783000,"timestamp_seconds":1787145783,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3086d8"} 
[2026-08-19 18:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:55: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-08-19 18:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 18:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509315072001,"66":12591,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509315072001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:55:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:55:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 18:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509315072001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 18:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":158174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:55:19] local.INFO: GPS data processed {"connection_id":158174,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:55:19] local.INFO: Acknowledgment sent {"connection_id":158174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:55:23] local.INFO: TCP Data received {"connection_id":158174,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a30d8e0012d1821000721b370004b00d527..."} 
[2026-08-19 18:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a30d8e0012d1821000721b370004b00d527..."} 
[2026-08-19 18:55:23] local.INFO: Processing buffer {"connection_id":158174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a30d8e0012d1821000721b370004b00d527..."} 
[2026-08-19 18:55:23] local.INFO: Packet analysis {"connection_id":158174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a30"} 
[2026-08-19 18:55:23] local.INFO: Extracted packet for processing {"connection_id":158174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a30"} 
[2026-08-19 18:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509320448001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 18:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 18:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787145804000,"timestamp_ms":1787145804000,"timestamp_seconds":1787145804,"priority":1,"record_length":96,"hex_timestamp":"000001a01a30d8e0"} 
[2026-08-19 18:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:55:23] 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-08-19 18:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 18:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509320448001,"66":12558,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509320448001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:55:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 18:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509320448001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 18:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":158174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:55:23] local.INFO: GPS data processed {"connection_id":158174,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:55:23] local.INFO: Acknowledgment sent {"connection_id":158174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:55:34] local.INFO: TCP Data received {"connection_id":160357,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a31afb8012cec6f8007186780001e00072b..."} 
[2026-08-19 18:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a31afb8012cec6f8007186780001e00072b..."} 
[2026-08-19 18:55:34] local.INFO: Processing buffer {"connection_id":160357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a31afb8012cec6f8007186780001e00072b..."} 
[2026-08-19 18:55:34] local.INFO: Packet analysis {"connection_id":160357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:55:34] local.INFO: Extracted packet for processing {"connection_id":160357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:55:34] local.INFO: GPS Element Parsed {"raw_longitude":753692544,"raw_latitude":119039872,"longitude_deg":75.3692544,"latitude_deg":11.9039872,"altitude":30,"angle":7,"satellites":43,"speed":29,"hex_longitude":"2cec6f80","hex_latitude":"07186780","is_valid_coordinates":true} 
[2026-08-19 18:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509336832001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386044485336825856,"note":"Value kept but may cause issues"} 
[2026-08-19 18:55:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1411808083964663808,"note":"Value kept but may cause issues"} 
[2026-08-19 18:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787145859000,"timestamp_ms":1787145859000,"timestamp_seconds":1787145859,"priority":1,"record_length":96,"hex_timestamp":"000001a01a31afb8"} 
[2026-08-19 18:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-19 18:55:34] 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-08-19 18:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509336832001,"66":27767,"174":206,"2":54272,"24":29,"16":386044485336825856,"44":-1411808083964663808},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-08-19 18:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509336832001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:55:34] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-19 18:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386044485336825856,"km_value":386044485336825.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:55:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1411808083964663808,"description":"Unknown IO ID 44"} 
[2026-08-19 18:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509336832001,"power":27767,"unknown_174":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-1411808083964663808}} 
[2026-08-19 18:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":160357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:55:34] local.INFO: GPS data processed {"connection_id":160357,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:55:34] local.INFO: Acknowledgment sent {"connection_id":160357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:55:41] local.INFO: TCP Data received {"connection_id":157816,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:55:41] local.INFO: Processing buffer {"connection_id":157816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:55:41] local.INFO: IMEI packet received {"connection_id":157816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":157816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:55:46] local.INFO: TCP Data received {"connection_id":157816,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:55:46] local.INFO: Processing buffer {"connection_id":157816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:55:46] local.INFO: IMEI packet received {"connection_id":157816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":157816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:55:47] local.INFO: TCP Data received {"connection_id":157816,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a315db0012d7cb1c005d751f00000006b2a..."} 
[2026-08-19 18:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a315db0012d7cb1c005d751f00000006b2a..."} 
[2026-08-19 18:55:47] local.INFO: Processing buffer {"connection_id":157816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a315db0012d7cb1c005d751f00000006b2a..."} 
[2026-08-19 18:55:47] local.INFO: Packet analysis {"connection_id":157816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:55:47] local.INFO: Extracted packet for processing {"connection_id":157816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:55:47] local.INFO: GPS Element Parsed {"raw_longitude":763146688,"raw_latitude":97997296,"longitude_deg":76.3146688,"latitude_deg":9.7997296,"altitude":0,"angle":107,"satellites":42,"speed":1,"hex_longitude":"2d7cb1c0","hex_latitude":"05d751f0","is_valid_coordinates":true} 
[2026-08-19 18:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509334272001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914118340247552,"note":"Value kept but may cause issues"} 
[2026-08-19 18:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985173862900692992,"note":"Value kept but may cause issues"} 
[2026-08-19 18:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787145838000,"timestamp_ms":1787145838000,"timestamp_seconds":1787145838,"priority":1,"record_length":96,"hex_timestamp":"000001a01a315db0"} 
[2026-08-19 18:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-19 18:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:55:47] 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-08-19 18:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509334272001,"66":12232,"7":206,"85":15104,"24":1,"16":120914118340247552,"45":8985173862900692992},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 18:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509334272001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:55:47] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 18:55:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914118340247552,"km_value":120914118340247.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985173862900692992,"description":"Unknown IO ID 45"} 
[2026-08-19 18:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509334272001,"power":12232,"unknown_7":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8985173862900692992}} 
[2026-08-19 18:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":157816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:55:47] local.INFO: GPS data processed {"connection_id":157816,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:55:47] local.INFO: Acknowledgment sent {"connection_id":157816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:55:59] local.INFO: TCP Data received {"connection_id":157817,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:55:59] local.INFO: Processing buffer {"connection_id":157817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:55:59] local.INFO: IMEI packet received {"connection_id":157817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":157817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:55:59] local.INFO: TCP Data received {"connection_id":157817,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:55:59] local.INFO: Processing buffer {"connection_id":157817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:55:59] local.INFO: IMEI packet received {"connection_id":157817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":157817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:56:03] local.INFO: TCP Data received {"connection_id":157817,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:56:03] local.INFO: Processing buffer {"connection_id":157817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:56:03] local.INFO: IMEI packet received {"connection_id":157817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":157817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:56:05] local.INFO: TCP Data received {"connection_id":157817,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a31bf58012cec700007187338001e01642b..."} 
[2026-08-19 18:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a31bf58012cec700007187338001e01642b..."} 
[2026-08-19 18:56:05] local.INFO: Processing buffer {"connection_id":157817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a31bf58012cec700007187338001e01642b..."} 
[2026-08-19 18:56:05] local.INFO: Packet analysis {"connection_id":157817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:56:05] local.INFO: Extracted packet for processing {"connection_id":157817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:56:05] local.INFO: GPS Element Parsed {"raw_longitude":753692672,"raw_latitude":119042872,"longitude_deg":75.3692672,"latitude_deg":11.9042872,"altitude":30,"angle":356,"satellites":43,"speed":29,"hex_longitude":"2cec7000","hex_latitude":"07187338","is_valid_coordinates":true} 
[2026-08-19 18:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509339904001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386044631365713920,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409767390381113344,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787145863000,"timestamp_ms":1787145863000,"timestamp_seconds":1787145863,"priority":1,"record_length":96,"hex_timestamp":"000001a01a31bf58"} 
[2026-08-19 18:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:56: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-08-19 18:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 18:56:05] 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-08-19 18:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509339904001,"66":27767,"174":206,"2":54272,"24":29,"16":386044631365713920,"44":-1409767390381113344},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-08-19 18:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509339904001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:56:05] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-19 18:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386044631365713920,"km_value":386044631365713.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:56:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409767390381113344,"description":"Unknown IO ID 44"} 
[2026-08-19 18:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509339904001,"power":27767,"unknown_174":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-1409767390381113344}} 
[2026-08-19 18:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":157817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:56:05] local.INFO: GPS data processed {"connection_id":157817,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:56:05] local.INFO: Acknowledgment sent {"connection_id":157817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:56:08] local.INFO: TCP Data received {"connection_id":158175,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:56:08] local.INFO: Processing buffer {"connection_id":158175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:56:08] local.INFO: IMEI packet received {"connection_id":158175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":158175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:56:08] local.INFO: TCP Data received {"connection_id":158175,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:56:08] local.INFO: Processing buffer {"connection_id":158175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:56:08] local.INFO: IMEI packet received {"connection_id":158175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":158175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:56:13] local.INFO: TCP Data received {"connection_id":158175,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:56:13] local.INFO: Processing buffer {"connection_id":158175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:56:13] local.INFO: IMEI packet received {"connection_id":158175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":158175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:56:14] local.INFO: TCP Data received {"connection_id":158175,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a312ae8012d1821000721b370004b00d528..."} 
[2026-08-19 18:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a312ae8012d1821000721b370004b00d528..."} 
[2026-08-19 18:56:14] local.INFO: Processing buffer {"connection_id":158175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a312ae8012d1821000721b370004b00d528..."} 
[2026-08-19 18:56:14] local.INFO: Packet analysis {"connection_id":158175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:56:14] local.INFO: Extracted packet for processing {"connection_id":158175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:56:14] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509325824001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 18: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-08-19 18:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787145825000,"timestamp_ms":1787145825000,"timestamp_seconds":1787145825,"priority":1,"record_length":96,"hex_timestamp":"000001a01a312ae8"} 
[2026-08-19 18:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:56: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-08-19 18: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-19 18:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:14] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383415151178608,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-19 18:56:14] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2897346560,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:14] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:14] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:14] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:14] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,172,160,134,45,179,75,41,10,66,52,226,1,240,58,227,26,33,4,113,205,62,112,40,239,49,2,7,106,92,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-19 18:56:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404553916325036032,"timestamp_seconds":5404553916325036.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 18:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509325824001,"66":12548,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509325824001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:56:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:56:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 18:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509325824001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 18:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":158175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:56:14] local.INFO: GPS data processed {"connection_id":158175,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:56:14] local.INFO: Acknowledgment sent {"connection_id":158175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:56:18] local.INFO: TCP Data received {"connection_id":157816,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a315db0012d7cb1c005d751f00000006b2a..."} 
[2026-08-19 18:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a315db0012d7cb1c005d751f00000006b2a..."} 
[2026-08-19 18:56:18] local.INFO: Processing buffer {"connection_id":157816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a315db0012d7cb1c005d751f00000006b2a..."} 
[2026-08-19 18:56:18] local.INFO: Packet analysis {"connection_id":157816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:56:18] local.INFO: Extracted packet for processing {"connection_id":157816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:56:18] local.INFO: GPS Element Parsed {"raw_longitude":763146688,"raw_latitude":97997296,"longitude_deg":76.3146688,"latitude_deg":9.7997296,"altitude":0,"angle":107,"satellites":42,"speed":1,"hex_longitude":"2d7cb1c0","hex_latitude":"05d751f0","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509334272001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914118340247552,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985173862900692992,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787145838000,"timestamp_ms":1787145838000,"timestamp_seconds":1787145838,"priority":1,"record_length":96,"hex_timestamp":"000001a01a315db0"} 
[2026-08-19 18:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-19 18:56:18] 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-08-19 18: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-08-19 18:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:56:18] 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-08-19 18:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509334272001,"66":12232,"7":206,"85":15104,"24":1,"16":120914118340247552,"45":8985173862900692992},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 18:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509334272001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:56:18] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 18:56:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914118340247552,"km_value":120914118340247.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985173862900692992,"description":"Unknown IO ID 45"} 
[2026-08-19 18:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509334272001,"power":12232,"unknown_7":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8985173862900692992}} 
[2026-08-19 18:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":157816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:56:18] local.INFO: GPS data processed {"connection_id":157816,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:56:18] local.INFO: Acknowledgment sent {"connection_id":157816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:56:37] local.INFO: TCP Data received {"connection_id":157817,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a32dc80012cebe14007193cb8001b014a2a..."} 
[2026-08-19 18:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a32dc80012cebe14007193cb8001b014a2a..."} 
[2026-08-19 18:56:37] local.INFO: Processing buffer {"connection_id":157817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a32dc80012cebe14007193cb8001b014a2a..."} 
[2026-08-19 18:56:37] local.INFO: Packet analysis {"connection_id":157817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a32"} 
[2026-08-19 18:56:37] local.INFO: Extracted packet for processing {"connection_id":157817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a32"} 
[2026-08-19 18:56:37] local.INFO: GPS Element Parsed {"raw_longitude":753656128,"raw_latitude":119094456,"longitude_deg":75.3656128,"latitude_deg":11.9094456,"altitude":27,"angle":330,"satellites":42,"speed":6,"hex_longitude":"2cebe140","hex_latitude":"07193cb8","is_valid_coordinates":true} 
[2026-08-19 18:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509358848001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386047783871709184,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1449173887106807808,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787145936000,"timestamp_ms":1787145936000,"timestamp_seconds":1787145936,"priority":1,"record_length":96,"hex_timestamp":"000001a01a32dc80"} 
[2026-08-19 18:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 18:56:37] 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-08-19 18:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509358848001,"66":27300,"161":206,"2":54272,"24":6,"16":386047783871709184,"44":-1449173887106807808},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,2,24,16,44]} 
[2026-08-19 18:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509358848001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:56:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 18:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386047783871709184,"km_value":386047783871709.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:56:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1449173887106807808,"description":"Unknown IO ID 44"} 
[2026-08-19 18:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509358848001,"power":27300,"unknown_161":206,"power_alt":54272,"ignition":6,"odometer":null,"unknown_44":-1449173887106807808}} 
[2026-08-19 18:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":157817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:56:37] local.INFO: GPS data processed {"connection_id":157817,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:56:37] local.INFO: Acknowledgment sent {"connection_id":157817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:56:41] local.INFO: TCP Data received {"connection_id":158176,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:56:41] local.INFO: Processing buffer {"connection_id":158176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:56:41] local.INFO: IMEI packet received {"connection_id":158176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":158176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:56:45] local.INFO: TCP Data received {"connection_id":158175,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a317cf0012d1821000721b370004b00d529..."} 
[2026-08-19 18:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a317cf0012d1821000721b370004b00d529..."} 
[2026-08-19 18:56:45] local.INFO: Processing buffer {"connection_id":158175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a317cf0012d1821000721b370004b00d529..."} 
[2026-08-19 18:56:45] local.INFO: Packet analysis {"connection_id":158175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:56:45] local.INFO: Extracted packet for processing {"connection_id":158175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:56:45] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509331200001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 18: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-08-19 18:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787145846000,"timestamp_ms":1787145846000,"timestamp_seconds":1787145846,"priority":1,"record_length":96,"hex_timestamp":"000001a01a317cf0"} 
[2026-08-19 18:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:45] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-19 18:56:45] local.WARNING: Large IO value detected {"io_id":144,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:45] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2897346560,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:45] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:45] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,172,160,216,45,179,75,39,10,66,134,41,52,1,240,47,227,26,33,4,113,205,144,112,38,239,49,2,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-19 18:56:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404553920620003328,"timestamp_seconds":5404553920620003.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 18:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509331200001,"66":12548,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509331200001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:56:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:56:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 18:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509331200001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 18:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":158175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:56:45] local.INFO: GPS data processed {"connection_id":158175,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:56:45] local.INFO: Acknowledgment sent {"connection_id":158175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:56:46] local.INFO: TCP Data received {"connection_id":158176,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:56:46] local.INFO: Processing buffer {"connection_id":158176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:56:46] local.INFO: IMEI packet received {"connection_id":158176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":158176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:56:47] local.INFO: TCP Data received {"connection_id":158176,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a315db0012d7cb1c005d751f00000006b2a..."} 
[2026-08-19 18:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a315db0012d7cb1c005d751f00000006b2a..."} 
[2026-08-19 18:56:47] local.INFO: Processing buffer {"connection_id":158176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a315db0012d7cb1c005d751f00000006b2a..."} 
[2026-08-19 18:56:47] local.INFO: Packet analysis {"connection_id":158176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:56:47] local.INFO: Extracted packet for processing {"connection_id":158176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:56:47] local.INFO: GPS Element Parsed {"raw_longitude":763146688,"raw_latitude":97997296,"longitude_deg":76.3146688,"latitude_deg":9.7997296,"altitude":0,"angle":107,"satellites":42,"speed":1,"hex_longitude":"2d7cb1c0","hex_latitude":"05d751f0","is_valid_coordinates":true} 
[2026-08-19 18:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509334272001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914118340247552,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985173862900692992,"note":"Value kept but may cause issues"} 
[2026-08-19 18:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787145838000,"timestamp_ms":1787145838000,"timestamp_seconds":1787145838,"priority":1,"record_length":96,"hex_timestamp":"000001a01a315db0"} 
[2026-08-19 18:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-19 18:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:56:47] 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-08-19 18:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509334272001,"66":12232,"7":206,"85":15104,"24":1,"16":120914118340247552,"45":8985173862900692992},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 18:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509334272001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:56:47] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 18:56:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914118340247552,"km_value":120914118340247.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985173862900692992,"description":"Unknown IO ID 45"} 
[2026-08-19 18:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509334272001,"power":12232,"unknown_7":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8985173862900692992}} 
[2026-08-19 18:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":158176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:56:47] local.INFO: GPS data processed {"connection_id":158176,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:56:47] local.INFO: Acknowledgment sent {"connection_id":158176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:56:59] local.INFO: TCP Data received {"connection_id":159032,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:56:59] local.INFO: Processing buffer {"connection_id":159032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:56:59] local.INFO: IMEI packet received {"connection_id":159032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":159032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:57:02] local.INFO: TCP Data received {"connection_id":159032,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:57:02] local.INFO: Processing buffer {"connection_id":159032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:57:02] local.INFO: IMEI packet received {"connection_id":159032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":159032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:57:03] local.INFO: TCP Data received {"connection_id":159032,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a32e068012cebe0c007193d50001c013f2a..."} 
[2026-08-19 18:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a32e068012cebe0c007193d50001c013f2a..."} 
[2026-08-19 18:57:03] local.INFO: Processing buffer {"connection_id":159032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a32e068012cebe0c007193d50001c013f2a..."} 
[2026-08-19 18:57:03] local.INFO: Packet analysis {"connection_id":159032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a32"} 
[2026-08-19 18:57:03] local.INFO: Extracted packet for processing {"connection_id":159032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a32"} 
[2026-08-19 18:57:03] local.INFO: GPS Element Parsed {"raw_longitude":753656000,"raw_latitude":119094608,"longitude_deg":75.3656,"latitude_deg":11.9094608,"altitude":28,"angle":319,"satellites":42,"speed":8,"hex_longitude":"2cebe0c0","hex_latitude":"07193d50","is_valid_coordinates":true} 
[2026-08-19 18:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509359616001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386047796756611072,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1449807205804230656,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787145937000,"timestamp_ms":1787145937000,"timestamp_seconds":1787145937,"priority":1,"record_length":96,"hex_timestamp":"000001a01a32e068"} 
[2026-08-19 18:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 18:57:03] 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-08-19 18:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509359616001,"66":27321,"161":206,"2":54272,"24":8,"16":386047796756611072,"44":-1449807205804230656},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,2,24,16,44]} 
[2026-08-19 18:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509359616001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:57:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 18:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386047796756611072,"km_value":386047796756611.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:57:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1449807205804230656,"description":"Unknown IO ID 44"} 
[2026-08-19 18:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509359616001,"power":27321,"unknown_161":206,"power_alt":54272,"ignition":8,"odometer":null,"unknown_44":-1449807205804230656}} 
[2026-08-19 18:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":159032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:57:03] local.INFO: GPS data processed {"connection_id":159032,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:57:03] local.INFO: Acknowledgment sent {"connection_id":159032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:57:04] local.INFO: TCP Data received {"connection_id":159032,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a331718012cebcf40071956a0001e014c2c..."} 
[2026-08-19 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a331718012cebcf40071956a0001e014c2c..."} 
[2026-08-19 18:57:04] local.INFO: Processing buffer {"connection_id":159032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a331718012cebcf40071956a0001e014c2c..."} 
[2026-08-19 18:57:04] local.INFO: Packet analysis {"connection_id":159032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a33"} 
[2026-08-19 18:57:04] local.INFO: Extracted packet for processing {"connection_id":159032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a33"} 
[2026-08-19 18:57:04] local.INFO: GPS Element Parsed {"raw_longitude":753651520,"raw_latitude":119101088,"longitude_deg":75.365152,"latitude_deg":11.9101088,"altitude":30,"angle":332,"satellites":44,"speed":30,"hex_longitude":"2cebcf40","hex_latitude":"071956a0","is_valid_coordinates":true} 
[2026-08-19 18:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509359872001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386048179008700416,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1449947943292547072,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787145951000,"timestamp_ms":1787145951000,"timestamp_seconds":1787145951,"priority":1,"record_length":96,"hex_timestamp":"000001a01a331718"} 
[2026-08-19 18:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:57: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-08-19 18:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 18:57:04] 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-08-19 18:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509359872001,"66":27332,"161":206,"2":54272,"24":30,"16":386048179008700416,"44":-1449947943292547072},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,2,24,16,44]} 
[2026-08-19 18:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509359872001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:57:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 18:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386048179008700416,"km_value":386048179008700.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:57:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1449947943292547072,"description":"Unknown IO ID 44"} 
[2026-08-19 18:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509359872001,"power":27332,"unknown_161":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-1449947943292547072}} 
[2026-08-19 18:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":159032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:57:04] local.INFO: GPS data processed {"connection_id":159032,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:57:04] local.INFO: Acknowledgment sent {"connection_id":159032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:57:08] local.INFO: TCP Data received {"connection_id":158177,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:57:08] local.INFO: Processing buffer {"connection_id":158177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:57:08] local.INFO: IMEI packet received {"connection_id":158177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":158177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:57:11] local.INFO: TCP Data received {"connection_id":158177,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:57:11] local.INFO: Processing buffer {"connection_id":158177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:57:11] local.INFO: IMEI packet received {"connection_id":158177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":158177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:57:12] local.INFO: TCP Data received {"connection_id":158177,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a31cef8012d1821000721b370004b00d529..."} 
[2026-08-19 18:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a31cef8012d1821000721b370004b00d529..."} 
[2026-08-19 18:57:12] local.INFO: Processing buffer {"connection_id":158177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a31cef8012d1821000721b370004b00d529..."} 
[2026-08-19 18:57:12] local.INFO: Packet analysis {"connection_id":158177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:57:12] local.INFO: Extracted packet for processing {"connection_id":158177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a31"} 
[2026-08-19 18:57:12] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 18:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509336576001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57: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-08-19 18:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787145867000,"timestamp_ms":1787145867000,"timestamp_seconds":1787145867,"priority":1,"record_length":96,"hex_timestamp":"000001a01a31cef8"} 
[2026-08-19 18:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:57: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-08-19 18:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:12] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-19 18:57:12] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:12] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2897346560,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:12] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:12] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,172,160,42,45,179,75,40,10,66,216,39,134,1,240,47,227,26,33,4,113,205,226,112,41,239,49,2,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-19 18:57:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404553924914970624,"timestamp_seconds":5404553924914971.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 18:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509336576001,"66":12548,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509336576001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:57:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:57:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 18:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509336576001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 18:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":158177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:57:12] local.INFO: GPS data processed {"connection_id":158177,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:57:12] local.INFO: Acknowledgment sent {"connection_id":158177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:57:18] local.INFO: TCP Data received {"connection_id":158176,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a343ff8012d7cb1c005d752380000006127..."} 
[2026-08-19 18:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a343ff8012d7cb1c005d752380000006127..."} 
[2026-08-19 18:57:18] local.INFO: Processing buffer {"connection_id":158176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a343ff8012d7cb1c005d752380000006127..."} 
[2026-08-19 18:57:18] local.INFO: Packet analysis {"connection_id":158176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 18:57:18] local.INFO: Extracted packet for processing {"connection_id":158176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 18:57:18] local.INFO: GPS Element Parsed {"raw_longitude":763146688,"raw_latitude":97997368,"longitude_deg":76.3146688,"latitude_deg":9.7997368,"altitude":0,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d7cb1c0","hex_latitude":"05d75238","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509334528001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914118340247552,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985173862900690944,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787146027000,"timestamp_ms":1787146027000,"timestamp_seconds":1787146027,"priority":1,"record_length":96,"hex_timestamp":"000001a01a343ff8"} 
[2026-08-19 18:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 18: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-19 18:57:18] 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-08-19 18: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-08-19 18:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:57:18] 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-08-19 18:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509334528001,"66":13015,"195":206,"85":15104,"24":0,"16":120914118340247552,"45":8985173862900690944},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-19 18:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509334528001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:57:18] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-19 18:57:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914118340247552,"km_value":120914118340247.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985173862900690944,"description":"Unknown IO ID 45"} 
[2026-08-19 18:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509334528001,"power":13015,"unknown_195":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8985173862900690944}} 
[2026-08-19 18:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":158176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:57:18] local.INFO: GPS data processed {"connection_id":158176,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:57:18] local.INFO: Acknowledgment sent {"connection_id":158176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:57:36] local.INFO: TCP Data received {"connection_id":159032,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a334210012cebbe80071977b0001d014d30..."} 
[2026-08-19 18:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a334210012cebbe80071977b0001d014d30..."} 
[2026-08-19 18:57:36] local.INFO: Processing buffer {"connection_id":159032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a334210012cebbe80071977b0001d014d30..."} 
[2026-08-19 18:57:36] local.INFO: Packet analysis {"connection_id":159032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a33"} 
[2026-08-19 18:57:36] local.INFO: Extracted packet for processing {"connection_id":159032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a33"} 
[2026-08-19 18:57:36] local.INFO: GPS Element Parsed {"raw_longitude":753647232,"raw_latitude":119109552,"longitude_deg":75.3647232,"latitude_deg":11.9109552,"altitude":29,"angle":333,"satellites":48,"speed":33,"hex_longitude":"2cebbe80","hex_latitude":"071977b0","is_valid_coordinates":true} 
[2026-08-19 18:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509363456001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386048634275233792,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1454873755383324672,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787145962000,"timestamp_ms":1787145962000,"timestamp_seconds":1787145962,"priority":1,"record_length":96,"hex_timestamp":"000001a01a334210"} 
[2026-08-19 18:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:57: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-08-19 18:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 18:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509363456001,"66":27343,"161":206,"2":54272,"24":33,"16":386048634275233792,"44":-1454873755383324672},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,2,24,16,44]} 
[2026-08-19 18:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509363456001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:57:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 18:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386048634275233792,"km_value":386048634275233.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:57:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1454873755383324672,"description":"Unknown IO ID 44"} 
[2026-08-19 18:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509363456001,"power":27343,"unknown_161":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-1454873755383324672}} 
[2026-08-19 18:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":159032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:57:36] local.INFO: GPS data processed {"connection_id":159032,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:57:36] local.INFO: Acknowledgment sent {"connection_id":159032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:57:41] local.INFO: TCP Data received {"connection_id":160358,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:57:41] local.INFO: Processing buffer {"connection_id":160358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:57:41] local.INFO: IMEI packet received {"connection_id":160358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":160358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:57:43] local.INFO: TCP Data received {"connection_id":158177,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a322100012d1821000721b370004b00d529..."} 
[2026-08-19 18:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a322100012d1821000721b370004b00d529..."} 
[2026-08-19 18:57:43] local.INFO: Processing buffer {"connection_id":158177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a322100012d1821000721b370004b00d529..."} 
[2026-08-19 18:57:43] local.INFO: Packet analysis {"connection_id":158177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a32"} 
[2026-08-19 18:57:43] local.INFO: Extracted packet for processing {"connection_id":158177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a32"} 
[2026-08-19 18:57:43] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509341952001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 18: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-08-19 18:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787145888000,"timestamp_ms":1787145888000,"timestamp_seconds":1787145888,"priority":1,"record_length":96,"hex_timestamp":"000001a01a322100"} 
[2026-08-19 18:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:57: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-08-19 18: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":4,"data_length":795,"current_offset":136} 
[2026-08-19 18:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:43] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184200569037,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-19 18:57:43] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:43] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2897346560,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:43] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:43] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,172,160,124,45,179,75,41,10,66,42,40,216,1,240,14,227,26,33,4,113,205,52,112,239,49,2,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-19 18:57:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404553924914970624,"timestamp_seconds":5404553924914971.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 18:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509341952001,"66":12537,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509341952001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:57:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:57:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 18:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509341952001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 18:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":158177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:57:43] local.INFO: GPS data processed {"connection_id":158177,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:57:43] local.INFO: Acknowledgment sent {"connection_id":158177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:57:45] local.INFO: TCP Data received {"connection_id":160358,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160358,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:57:45] local.INFO: Processing buffer {"connection_id":160358,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:57:45] local.INFO: IMEI packet received {"connection_id":160358,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":160358,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:57:46] local.INFO: TCP Data received {"connection_id":160358,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a343ff8012d7cb1c005d752380000006127..."} 
[2026-08-19 18:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a343ff8012d7cb1c005d752380000006127..."} 
[2026-08-19 18:57:46] local.INFO: Processing buffer {"connection_id":160358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a343ff8012d7cb1c005d752380000006127..."} 
[2026-08-19 18:57:46] local.INFO: Packet analysis {"connection_id":160358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 18:57:46] local.INFO: Extracted packet for processing {"connection_id":160358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 18:57:46] local.INFO: GPS Element Parsed {"raw_longitude":763146688,"raw_latitude":97997368,"longitude_deg":76.3146688,"latitude_deg":9.7997368,"altitude":0,"angle":97,"satellites":39,"speed":0,"hex_longitude":"2d7cb1c0","hex_latitude":"05d75238","is_valid_coordinates":true} 
[2026-08-19 18:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509382912001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914118340247552,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985173862900709376,"note":"Value kept but may cause issues"} 
[2026-08-19 18:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787146027000,"timestamp_ms":1787146027000,"timestamp_seconds":1787146027,"priority":1,"record_length":96,"hex_timestamp":"000001a01a343ff8"} 
[2026-08-19 18:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:57: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-08-19 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 18:57:46] 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-08-19 18: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-08-19 18:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:57: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-08-19 18:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509382912001,"66":13015,"195":206,"85":15104,"24":0,"16":120914118340247552,"45":8985173862900709376},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-19 18:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509382912001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:57:46] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-19 18:57:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914118340247552,"km_value":120914118340247.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985173862900709376,"description":"Unknown IO ID 45"} 
[2026-08-19 18:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509382912001,"power":13015,"unknown_195":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8985173862900709376}} 
[2026-08-19 18:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":160358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:57:46] local.INFO: GPS data processed {"connection_id":160358,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:57:46] local.INFO: Acknowledgment sent {"connection_id":160358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:57:58] local.INFO: TCP Data received {"connection_id":159033,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:57:58] local.INFO: Processing buffer {"connection_id":159033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:57:58] local.INFO: IMEI packet received {"connection_id":159033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":159033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:58:03] local.INFO: TCP Data received {"connection_id":159033,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:58:03] local.INFO: Processing buffer {"connection_id":159033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:58:03] local.INFO: IMEI packet received {"connection_id":159033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":159033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:58:05] local.INFO: TCP Data received {"connection_id":159033,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a336d08012cebaa4007199870001e014a2e..."} 
[2026-08-19 18:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a336d08012cebaa4007199870001e014a2e..."} 
[2026-08-19 18:58:05] local.INFO: Processing buffer {"connection_id":159033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a336d08012cebaa4007199870001e014a2e..."} 
[2026-08-19 18:58:05] local.INFO: Packet analysis {"connection_id":159033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a33"} 
[2026-08-19 18:58:05] local.INFO: Extracted packet for processing {"connection_id":159033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a33"} 
[2026-08-19 18:58:05] local.INFO: GPS Element Parsed {"raw_longitude":753642048,"raw_latitude":119117936,"longitude_deg":75.3642048,"latitude_deg":11.9117936,"altitude":30,"angle":330,"satellites":46,"speed":38,"hex_longitude":"2cebaa40","hex_latitude":"07199870","is_valid_coordinates":true} 
[2026-08-19 18:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509366272001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386049111016603648,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1459588461241061376,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787145973000,"timestamp_ms":1787145973000,"timestamp_seconds":1787145973,"priority":1,"record_length":96,"hex_timestamp":"000001a01a336d08"} 
[2026-08-19 18:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 18:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509366272001,"66":27300,"162":206,"2":54272,"24":38,"16":386049111016603648,"44":-1459588461241061376},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-08-19 18:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509366272001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:58:05] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-19 18:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386049111016603648,"km_value":386049111016603.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:58:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1459588461241061376,"description":"Unknown IO ID 44"} 
[2026-08-19 18:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509366272001,"power":27300,"unknown_162":206,"power_alt":54272,"ignition":38,"odometer":null,"unknown_44":-1459588461241061376}} 
[2026-08-19 18:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":159033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:58:05] local.INFO: GPS data processed {"connection_id":159033,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:58:05] local.INFO: Acknowledgment sent {"connection_id":159033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:58:07] local.INFO: TCP Data received {"connection_id":159033,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a339418012ceb98400719b718001a01482b..."} 
[2026-08-19 18:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a339418012ceb98400719b718001a01482b..."} 
[2026-08-19 18:58:07] local.INFO: Processing buffer {"connection_id":159033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a339418012ceb98400719b718001a01482b..."} 
[2026-08-19 18:58:07] local.INFO: Packet analysis {"connection_id":159033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a33"} 
[2026-08-19 18:58:07] local.INFO: Extracted packet for processing {"connection_id":159033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a33"} 
[2026-08-19 18:58:07] local.INFO: GPS Element Parsed {"raw_longitude":753637440,"raw_latitude":119125784,"longitude_deg":75.363744,"latitude_deg":11.9125784,"altitude":26,"angle":328,"satellites":43,"speed":37,"hex_longitude":"2ceb9840","hex_latitude":"0719b718","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509369088001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386049549103267840,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1465288329517305856,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787145983000,"timestamp_ms":1787145983000,"timestamp_seconds":1787145983,"priority":1,"record_length":96,"hex_timestamp":"000001a01a339418"} 
[2026-08-19 18:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:58: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-08-19 18: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 18:58:07] 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-08-19 18: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-08-19 18:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509369088001,"66":27267,"162":206,"2":54272,"24":37,"16":386049549103267840,"44":-1465288329517305856},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-08-19 18:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509369088001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:58:07] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-19 18:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386049549103267840,"km_value":386049549103267.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:58:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1465288329517305856,"description":"Unknown IO ID 44"} 
[2026-08-19 18:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509369088001,"power":27267,"unknown_162":206,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-1465288329517305856}} 
[2026-08-19 18:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":159033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:58:07] local.INFO: GPS data processed {"connection_id":159033,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:58:07] local.INFO: Acknowledgment sent {"connection_id":159033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:58:08] local.INFO: TCP Data received {"connection_id":158178,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:58:08] local.INFO: Processing buffer {"connection_id":158178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:58:08] local.INFO: IMEI packet received {"connection_id":158178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":158178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:58:13] local.INFO: TCP Data received {"connection_id":158178,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:58:13] local.INFO: Processing buffer {"connection_id":158178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:58:13] local.INFO: IMEI packet received {"connection_id":158178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":158178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:58:14] local.INFO: TCP Data received {"connection_id":158178,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a327308012d1821000721b370004b00d529..."} 
[2026-08-19 18:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a327308012d1821000721b370004b00d529..."} 
[2026-08-19 18:58:14] local.INFO: Processing buffer {"connection_id":158178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a327308012d1821000721b370004b00d529..."} 
[2026-08-19 18:58:14] local.INFO: Packet analysis {"connection_id":158178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a32"} 
[2026-08-19 18:58:14] local.INFO: Extracted packet for processing {"connection_id":158178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a32"} 
[2026-08-19 18:58:14] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509347328001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58: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-08-19 18:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787145909000,"timestamp_ms":1787145909000,"timestamp_seconds":1787145909,"priority":1,"record_length":96,"hex_timestamp":"000001a01a327308"} 
[2026-08-19 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-08-19 18:58: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-08-19 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-19 18:58:14] 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-08-19 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-08-19 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-08-19 18:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509347328001,"66":12287,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509347328001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:58:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:58:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 18:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509347328001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 18:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":158178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:58:14] local.INFO: GPS data processed {"connection_id":158178,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:58:14] local.INFO: Acknowledgment sent {"connection_id":158178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:58:17] local.INFO: TCP Data received {"connection_id":160358,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3476a8012d7cb10005d752900000015b28..."} 
[2026-08-19 18:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3476a8012d7cb10005d752900000015b28..."} 
[2026-08-19 18:58:17] local.INFO: Processing buffer {"connection_id":160358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3476a8012d7cb10005d752900000015b28..."} 
[2026-08-19 18:58:17] local.INFO: Packet analysis {"connection_id":160358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 18:58:17] local.INFO: Extracted packet for processing {"connection_id":160358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 18:58:17] local.INFO: GPS Element Parsed {"raw_longitude":763146496,"raw_latitude":97997456,"longitude_deg":76.3146496,"latitude_deg":9.7997456,"altitude":0,"angle":347,"satellites":40,"speed":4,"hex_longitude":"2d7cb100","hex_latitude":"05d75290","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509382912001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914135520116736,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985173862900709376,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787146041000,"timestamp_ms":1787146041000,"timestamp_seconds":1787146041,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3476a8"} 
[2026-08-19 18:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:58: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-08-19 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 18:58:17] 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-08-19 18: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-08-19 18:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160358,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:58:17] 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-08-19 18:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509382912001,"66":11569,"195":206,"85":15104,"24":4,"16":120914135520116736,"45":8985173862900709376},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-19 18:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509382912001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:58:17] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-19 18:58:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914135520116736,"km_value":120914135520116.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985173862900709376,"description":"Unknown IO ID 45"} 
[2026-08-19 18:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509382912001,"power":11569,"unknown_195":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8985173862900709376}} 
[2026-08-19 18:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":160358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:58:17] local.INFO: GPS data processed {"connection_id":160358,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:58:17] local.INFO: Acknowledgment sent {"connection_id":160358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:58:39] local.INFO: TCP Data received {"connection_id":159033,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a33bb28012ceb87c00719d5c0001a014d2c..."} 
[2026-08-19 18:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a33bb28012ceb87c00719d5c0001a014d2c..."} 
[2026-08-19 18:58:39] local.INFO: Processing buffer {"connection_id":159033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a33bb28012ceb87c00719d5c0001a014d2c..."} 
[2026-08-19 18:58:39] local.INFO: Packet analysis {"connection_id":159033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a33"} 
[2026-08-19 18:58:39] local.INFO: Extracted packet for processing {"connection_id":159033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a33"} 
[2026-08-19 18:58:39] local.INFO: GPS Element Parsed {"raw_longitude":753633216,"raw_latitude":119133632,"longitude_deg":75.3633216,"latitude_deg":11.9133632,"altitude":26,"angle":333,"satellites":44,"speed":30,"hex_longitude":"2ceb87c0","hex_latitude":"0719d5c0","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509371648001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386049982894964736,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1470354879096088576,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787145993000,"timestamp_ms":1787145993000,"timestamp_seconds":1787145993,"priority":1,"record_length":96,"hex_timestamp":"000001a01a33bb28"} 
[2026-08-19 18:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 18:58:39] 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-08-19 18:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509371648001,"66":27365,"162":206,"2":54272,"24":30,"16":386049982894964736,"44":-1470354879096088576},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-08-19 18:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509371648001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:58:39] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-19 18:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386049982894964736,"km_value":386049982894964.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:58:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1470354879096088576,"description":"Unknown IO ID 44"} 
[2026-08-19 18:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509371648001,"power":27365,"unknown_162":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-1470354879096088576}} 
[2026-08-19 18:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":159033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:58:39] local.INFO: GPS data processed {"connection_id":159033,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:58:39] local.INFO: Acknowledgment sent {"connection_id":159033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:58:41] local.INFO: TCP Data received {"connection_id":158179,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:58:41] local.INFO: Processing buffer {"connection_id":158179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:58:41] local.INFO: IMEI packet received {"connection_id":158179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":158179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:58:44] local.INFO: TCP Data received {"connection_id":158179,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:58:44] local.INFO: Processing buffer {"connection_id":158179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:58:44] local.INFO: IMEI packet received {"connection_id":158179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":158179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:58:45] local.INFO: TCP Data received {"connection_id":158178,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a32c510012d1821000721b370004b00d529..."} 
[2026-08-19 18:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a32c510012d1821000721b370004b00d529..."} 
[2026-08-19 18:58:45] local.INFO: Processing buffer {"connection_id":158178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a32c510012d1821000721b370004b00d529..."} 
[2026-08-19 18:58:45] local.INFO: Packet analysis {"connection_id":158178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a32"} 
[2026-08-19 18:58:45] local.INFO: Extracted packet for processing {"connection_id":158178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a32"} 
[2026-08-19 18:58:45] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509352704001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58: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-08-19 18:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787145930000,"timestamp_ms":1787145930000,"timestamp_seconds":1787145930,"priority":1,"record_length":96,"hex_timestamp":"000001a01a32c510"} 
[2026-08-19 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-08-19 18:58: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-08-19 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-19 18:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 18:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509352704001,"66":12504,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509352704001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:58:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:58:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 18:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509352704001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 18:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":158178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:58:45] local.INFO: GPS data processed {"connection_id":158178,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:58:45] local.INFO: Acknowledgment sent {"connection_id":158178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:58:46] local.INFO: TCP Data received {"connection_id":158179,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:58:46] local.INFO: Processing buffer {"connection_id":158179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:58:46] local.INFO: IMEI packet received {"connection_id":158179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":158179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:58:47] local.INFO: TCP Data received {"connection_id":158179,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a348260012d7cb0c005d753880000015028..."} 
[2026-08-19 18:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a348260012d7cb0c005d753880000015028..."} 
[2026-08-19 18:58:47] local.INFO: Processing buffer {"connection_id":158179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a348260012d7cb0c005d753880000015028..."} 
[2026-08-19 18:58:47] local.INFO: Packet analysis {"connection_id":158179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 18:58:47] local.INFO: Extracted packet for processing {"connection_id":158179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 18:58:47] local.INFO: GPS Element Parsed {"raw_longitude":763146432,"raw_latitude":97997704,"longitude_deg":76.3146432,"latitude_deg":9.7997704,"altitude":0,"angle":336,"satellites":40,"speed":2,"hex_longitude":"2d7cb0c0","hex_latitude":"05d75388","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509386496001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914148405018624,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984962756668198912,"note":"Value kept but may cause issues"} 
[2026-08-19 18:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787146044000,"timestamp_ms":1787146044000,"timestamp_seconds":1787146044,"priority":1,"record_length":96,"hex_timestamp":"000001a01a348260"} 
[2026-08-19 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-08-19 18:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-08-19 18:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":864,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 18:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:58:47] 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-08-19 18:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509386496001,"66":11580,"195":206,"85":15104,"24":2,"16":120914148405018624,"45":8984962756668198912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-19 18:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509386496001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:58:47] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-19 18:58:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914148405018624,"km_value":120914148405018.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984962756668198912,"description":"Unknown IO ID 45"} 
[2026-08-19 18:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509386496001,"power":11580,"unknown_195":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8984962756668198912}} 
[2026-08-19 18:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":158179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:58:47] local.INFO: GPS data processed {"connection_id":158179,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:58:47] local.INFO: Acknowledgment sent {"connection_id":158179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:59:04] local.INFO: TCP Data received {"connection_id":159034,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:59:04] local.INFO: Processing buffer {"connection_id":159034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:59:04] local.INFO: IMEI packet received {"connection_id":159034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":159034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:59:04] local.INFO: TCP Data received {"connection_id":159034,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:59:04] local.INFO: Processing buffer {"connection_id":159034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:59:04] local.INFO: IMEI packet received {"connection_id":159034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 18:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":159034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:59:06] local.INFO: TCP Data received {"connection_id":159034,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a340d30012ceb79400719f618001901512e..."} 
[2026-08-19 18:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a340d30012ceb79400719f618001901512e..."} 
[2026-08-19 18:59:06] local.INFO: Processing buffer {"connection_id":159034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a340d30012ceb79400719f618001901512e..."} 
[2026-08-19 18:59:06] local.INFO: Packet analysis {"connection_id":159034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 18:59:06] local.INFO: Extracted packet for processing {"connection_id":159034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 18:59:06] local.INFO: GPS Element Parsed {"raw_longitude":753629504,"raw_latitude":119141912,"longitude_deg":75.3629504,"latitude_deg":11.9141912,"altitude":25,"angle":337,"satellites":46,"speed":16,"hex_longitude":"2ceb7940","hex_latitude":"0719f618","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509374208001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386050420981628928,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1474999216209805312,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787146014000,"timestamp_ms":1787146014000,"timestamp_seconds":1787146014,"priority":1,"record_length":96,"hex_timestamp":"000001a01a340d30"} 
[2026-08-19 18:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 18:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509374208001,"66":27234,"162":206,"2":54272,"24":16,"16":386050420981628928,"44":-1474999216209805312},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-08-19 18:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509374208001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:59:06] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-19 18:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386050420981628928,"km_value":386050420981628.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:59:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1474999216209805312,"description":"Unknown IO ID 44"} 
[2026-08-19 18:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509374208001,"power":27234,"unknown_162":206,"power_alt":54272,"ignition":16,"odometer":null,"unknown_44":-1474999216209805312}} 
[2026-08-19 18:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":159034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:59:06] local.INFO: GPS data processed {"connection_id":159034,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:59:06] local.INFO: Acknowledgment sent {"connection_id":159034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:59:08] local.INFO: TCP Data received {"connection_id":157818,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:59:08] local.INFO: Processing buffer {"connection_id":157818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:59:08] local.INFO: IMEI packet received {"connection_id":157818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 18:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":157818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:59:10] local.INFO: TCP Data received {"connection_id":159034,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a340d30012ceb79400719f618001901512e..."} 
[2026-08-19 18:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a340d30012ceb79400719f618001901512e..."} 
[2026-08-19 18:59:10] local.INFO: Processing buffer {"connection_id":159034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a340d30012ceb79400719f618001901512e..."} 
[2026-08-19 18:59:10] local.INFO: Packet analysis {"connection_id":159034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 18:59:10] local.INFO: Extracted packet for processing {"connection_id":159034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 18:59:10] local.INFO: GPS Element Parsed {"raw_longitude":753629504,"raw_latitude":119141912,"longitude_deg":75.3629504,"latitude_deg":11.9141912,"altitude":25,"angle":337,"satellites":46,"speed":16,"hex_longitude":"2ceb7940","hex_latitude":"0719f618","is_valid_coordinates":true} 
[2026-08-19 18:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509379584001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386050420981628928,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479080603369990144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787146014000,"timestamp_ms":1787146014000,"timestamp_seconds":1787146014,"priority":1,"record_length":96,"hex_timestamp":"000001a01a340d30"} 
[2026-08-19 18:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:59: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-08-19 18:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 18:59:10] 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-08-19 18:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509379584001,"66":27234,"162":206,"2":54272,"24":16,"16":386050420981628928,"44":-1479080603369990144},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-08-19 18:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509379584001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:59:10] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-19 18:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386050420981628928,"km_value":386050420981628.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479080603369990144,"description":"Unknown IO ID 44"} 
[2026-08-19 18:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509379584001,"power":27234,"unknown_162":206,"power_alt":54272,"ignition":16,"odometer":null,"unknown_44":-1479080603369990144}} 
[2026-08-19 18:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":159034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:59:10] local.INFO: GPS data processed {"connection_id":159034,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:59:10] local.INFO: Acknowledgment sent {"connection_id":159034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:59:13] local.INFO: TCP Data received {"connection_id":157818,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:59:13] local.INFO: Processing buffer {"connection_id":157818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 18:59:13] local.INFO: IMEI packet received {"connection_id":157818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 18:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":157818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:59:14] local.INFO: TCP Data received {"connection_id":157818,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a331718012d1821000721b370004b00d526..."} 
[2026-08-19 18:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a331718012d1821000721b370004b00d526..."} 
[2026-08-19 18:59:14] local.INFO: Processing buffer {"connection_id":157818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a331718012d1821000721b370004b00d526..."} 
[2026-08-19 18:59:14] local.INFO: Packet analysis {"connection_id":157818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a33"} 
[2026-08-19 18:59:14] local.INFO: Extracted packet for processing {"connection_id":157818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a33"} 
[2026-08-19 18:59:14] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":38,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509358080001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59: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-08-19 18:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787145951000,"timestamp_ms":1787145951000,"timestamp_seconds":1787145951,"priority":1,"record_length":96,"hex_timestamp":"000001a01a331718"} 
[2026-08-19 18:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:59: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-08-19 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 18:59: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-08-19 18:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509358080001,"66":12526,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509358080001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:59:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:59:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 18:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509358080001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 18:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":157818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:59:14] local.INFO: GPS data processed {"connection_id":157818,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:59:14] local.INFO: Acknowledgment sent {"connection_id":157818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:59:18] local.INFO: TCP Data received {"connection_id":158179,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a34cc98012d7cb20005d752b00000009d25..."} 
[2026-08-19 18:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a34cc98012d7cb20005d752b00000009d25..."} 
[2026-08-19 18:59:18] local.INFO: Processing buffer {"connection_id":158179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a34cc98012d7cb20005d752b00000009d25..."} 
[2026-08-19 18:59:18] local.INFO: Packet analysis {"connection_id":158179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 18:59:18] local.INFO: Extracted packet for processing {"connection_id":158179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 18:59:18] local.INFO: GPS Element Parsed {"raw_longitude":763146752,"raw_latitude":97997488,"longitude_deg":76.3146752,"latitude_deg":9.7997488,"altitude":0,"angle":157,"satellites":37,"speed":2,"hex_longitude":"2d7cb200","hex_latitude":"05d752b0","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509387264001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914165584887808,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984892387924084736,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787146063000,"timestamp_ms":1787146063000,"timestamp_seconds":1787146063,"priority":1,"record_length":96,"hex_timestamp":"000001a01a34cc98"} 
[2026-08-19 18:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:59:18] 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-08-19 18: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":45,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-19 18:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":963,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 18: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-08-19 18:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:59:18] 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-08-19 18:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509387264001,"66":11700,"195":206,"85":15104,"24":2,"16":120914165584887808,"45":8984892387924084736},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-19 18:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509387264001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:59:18] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-19 18:59:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914165584887808,"km_value":120914165584887.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984892387924084736,"description":"Unknown IO ID 45"} 
[2026-08-19 18:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509387264001,"power":11700,"unknown_195":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8984892387924084736}} 
[2026-08-19 18:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":158179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:59:18] local.INFO: GPS data processed {"connection_id":158179,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:59:18] local.INFO: Acknowledgment sent {"connection_id":158179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:59:42] local.INFO: TCP Data received {"connection_id":159034,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a342c70012ceb7200071a0600001a01462e..."} 
[2026-08-19 18:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a342c70012ceb7200071a0600001a01462e..."} 
[2026-08-19 18:59:42] local.INFO: Processing buffer {"connection_id":159034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a342c70012ceb7200071a0600001a01462e..."} 
[2026-08-19 18:59:42] local.INFO: Packet analysis {"connection_id":159034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 18:59:42] local.INFO: Extracted packet for processing {"connection_id":159034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 18:59:42] local.INFO: GPS Element Parsed {"raw_longitude":753627648,"raw_latitude":119145984,"longitude_deg":75.3627648,"latitude_deg":11.9145984,"altitude":26,"angle":326,"satellites":46,"speed":24,"hex_longitude":"2ceb7200","hex_latitude":"071a0600","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509379584001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386050640024961024,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479080603369990144,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787146022000,"timestamp_ms":1787146022000,"timestamp_seconds":1787146022,"priority":1,"record_length":96,"hex_timestamp":"000001a01a342c70"} 
[2026-08-19 18:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 18:59:42] 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-08-19 18: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-08-19 18:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 18:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 18:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 18:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509379584001,"66":26582,"162":206,"2":54272,"24":24,"16":386050640024961024,"44":-1479080603369990144},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-08-19 18:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 18:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 18:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509379584001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:59:42] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-19 18:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386050640024961024,"km_value":386050640024961.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:59:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479080603369990144,"description":"Unknown IO ID 44"} 
[2026-08-19 18:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509379584001,"power":26582,"unknown_162":206,"power_alt":54272,"ignition":24,"odometer":null,"unknown_44":-1479080603369990144}} 
[2026-08-19 18:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":159034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:59:42] local.INFO: GPS data processed {"connection_id":159034,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:59:42] local.INFO: Acknowledgment sent {"connection_id":159034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:59:45] local.INFO: TCP Data received {"connection_id":157818,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a336920012d1821000721b370004b00d528..."} 
[2026-08-19 18:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a336920012d1821000721b370004b00d528..."} 
[2026-08-19 18:59:45] local.INFO: Processing buffer {"connection_id":157818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a336920012d1821000721b370004b00d528..."} 
[2026-08-19 18:59:45] local.INFO: Packet analysis {"connection_id":157818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a33"} 
[2026-08-19 18:59:45] local.INFO: Extracted packet for processing {"connection_id":157818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a33"} 
[2026-08-19 18:59:45] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 18:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 18:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509363456001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59: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-08-19 18:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787145972000,"timestamp_ms":1787145972000,"timestamp_seconds":1787145972,"priority":1,"record_length":96,"hex_timestamp":"000001a01a336920"} 
[2026-08-19 18:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 18:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 18:59:45] 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-08-19 18:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 18:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 18:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 18:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 18:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 18:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509363456001,"66":12504,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 18:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 18:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 18:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509363456001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:59:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 18:59:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 18:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 18:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509363456001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 18:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":157818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:59:45] local.INFO: GPS data processed {"connection_id":157818,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:59:45] local.INFO: Acknowledgment sent {"connection_id":157818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:59:46] local.INFO: TCP Data received {"connection_id":160359,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:59:46] local.INFO: Processing buffer {"connection_id":160359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:59:46] local.INFO: IMEI packet received {"connection_id":160359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 18:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":160359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 18:59:51] local.INFO: TCP Data received {"connection_id":160359,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:59:51] local.INFO: Processing buffer {"connection_id":160359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 18:59:51] local.INFO: IMEI packet received {"connection_id":160359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 18:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":160359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 18:59:52] local.INFO: TCP Data received {"connection_id":160359,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a34e020012d7cb24005d751a00000009022..."} 
[2026-08-19 18:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a34e020012d7cb24005d751a00000009022..."} 
[2026-08-19 18:59:52] local.INFO: Processing buffer {"connection_id":160359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a34e020012d7cb24005d751a00000009022..."} 
[2026-08-19 18:59:52] local.INFO: Packet analysis {"connection_id":160359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 18:59:52] local.INFO: Extracted packet for processing {"connection_id":160359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 18:59:52] local.INFO: GPS Element Parsed {"raw_longitude":763146816,"raw_latitude":97997216,"longitude_deg":76.3146816,"latitude_deg":9.7997216,"altitude":0,"angle":144,"satellites":34,"speed":1,"hex_longitude":"2d7cb240","hex_latitude":"05d751a0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 18:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509392128001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914182764756992,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985244231644917760,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787146068000,"timestamp_ms":1787146068000,"timestamp_seconds":1787146068,"priority":1,"record_length":96,"hex_timestamp":"000001a01a34e020"} 
[2026-08-19 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-08-19 18:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 18:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 18:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:59:52] 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-08-19 18:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509392128001,"66":11721,"195":206,"85":15104,"24":1,"16":120914182764756992,"45":8985244231644917760},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-19 18:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509392128001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:59:52] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-19 18:59:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914182764756992,"km_value":120914182764756.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985244231644917760,"description":"Unknown IO ID 45"} 
[2026-08-19 18:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509392128001,"power":11721,"unknown_195":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8985244231644917760}} 
[2026-08-19 18:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":160359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:59:52] local.INFO: GPS data processed {"connection_id":160359,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:59:52] local.INFO: Acknowledgment sent {"connection_id":160359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:59:56] local.INFO: TCP Data received {"connection_id":160359,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a351ab8012d7cb24005d750b0000000a020..."} 
[2026-08-19 18:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a351ab8012d7cb24005d750b0000000a020..."} 
[2026-08-19 18:59:56] local.INFO: Processing buffer {"connection_id":160359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a351ab8012d7cb24005d750b0000000a020..."} 
[2026-08-19 18:59:56] local.INFO: Packet analysis {"connection_id":160359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 18:59:56] local.INFO: Extracted packet for processing {"connection_id":160359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 18:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763146816,"raw_latitude":97996976,"longitude_deg":76.3146816,"latitude_deg":9.7996976,"altitude":0,"angle":160,"satellites":32,"speed":2,"hex_longitude":"2d7cb240","hex_latitude":"05d750b0","is_valid_coordinates":true} 
[2026-08-19 18: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-08-19 18:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509393408001,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914199944626176,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985314600389025792,"note":"Value kept but may cause issues"} 
[2026-08-19 18:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 18:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787146083000,"timestamp_ms":1787146083000,"timestamp_seconds":1787146083,"priority":1,"record_length":96,"hex_timestamp":"000001a01a351ab8"} 
[2026-08-19 18:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 18:59:56] 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-08-19 18: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-19 18:59:56] 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-08-19 18: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-08-19 18:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 18:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 18:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 18:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 18:59:56] 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-08-19 18:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 18:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 18:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509393408001,"66":12526,"195":206,"85":15104,"24":2,"16":120914199944626176,"45":8985314600389025792},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-19 18:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 18:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 18:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509393408001,"description":"Unknown IO ID 0"} 
[2026-08-19 18:59:56] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-19 18:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 18:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914199944626176,"km_value":120914199944626.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 18:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985314600389025792,"description":"Unknown IO ID 45"} 
[2026-08-19 18:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509393408001,"power":12526,"unknown_195":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8985314600389025792}} 
[2026-08-19 18:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":160359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 18:59:56] local.INFO: GPS data processed {"connection_id":160359,"processed":1,"errors":0,"total":1} 
[2026-08-19 18:59:56] local.INFO: Acknowledgment sent {"connection_id":160359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 18:59:59] local.INFO: TCP Data received {"connection_id":160360,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:59:59] local.INFO: Processing buffer {"connection_id":160360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 18:59:59] local.INFO: IMEI packet received {"connection_id":160360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 18:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":160360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:00:00] local.INFO: TCP Data received {"connection_id":160360,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:00:00] local.INFO: Processing buffer {"connection_id":160360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:00:00] local.INFO: IMEI packet received {"connection_id":160360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":160360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:00:01] local.INFO: TCP Data received {"connection_id":160360,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a343c10012ceb6b40071a0de8001a01372c..."} 
[2026-08-19 19:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a343c10012ceb6b40071a0de8001a01372c..."} 
[2026-08-19 19:00:01] local.INFO: Processing buffer {"connection_id":160360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a343c10012ceb6b40071a0de8001a01372c..."} 
[2026-08-19 19:00:01] local.INFO: Packet analysis {"connection_id":160360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 19:00:01] local.INFO: Extracted packet for processing {"connection_id":160360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 19:00:01] local.INFO: GPS Element Parsed {"raw_longitude":753625920,"raw_latitude":119148008,"longitude_deg":75.362592,"latitude_deg":11.9148008,"altitude":26,"angle":311,"satellites":44,"speed":28,"hex_longitude":"2ceb6b40","hex_latitude":"071a0de8","is_valid_coordinates":true} 
[2026-08-19 19:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509381632001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386050764579012608,"note":"Value kept but may cause issues"} 
[2026-08-19 19:00:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481121296950099968,"note":"Value kept but may cause issues"} 
[2026-08-19 19:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787146026000,"timestamp_ms":1787146026000,"timestamp_seconds":1787146026,"priority":1,"record_length":96,"hex_timestamp":"000001a01a343c10"} 
[2026-08-19 19:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-19 19:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509381632001,"66":27267,"8":206,"2":54272,"24":28,"16":386050764579012608,"44":-1481121296950099968},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509381632001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:00:01] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386050764579012608,"km_value":386050764579012.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:00:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481121296950099968,"description":"Unknown IO ID 44"} 
[2026-08-19 19:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509381632001,"power":27267,"unknown_8":206,"power_alt":54272,"ignition":28,"odometer":null,"unknown_44":-1481121296950099968}} 
[2026-08-19 19:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":160360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:00:01] local.INFO: GPS data processed {"connection_id":160360,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:00:01] local.INFO: Acknowledgment sent {"connection_id":160360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:00:04] local.INFO: TCP Data received {"connection_id":160360,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3447c8012ceb6440071a12b8001b012c2c..."} 
[2026-08-19 19:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3447c8012ceb6440071a12b8001b012c2c..."} 
[2026-08-19 19:00:04] local.INFO: Processing buffer {"connection_id":160360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3447c8012ceb6440071a12b8001b012c2c..."} 
[2026-08-19 19:00:04] local.INFO: Packet analysis {"connection_id":160360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 19:00:04] local.INFO: Extracted packet for processing {"connection_id":160360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 19:00:04] local.INFO: GPS Element Parsed {"raw_longitude":753624128,"raw_latitude":119149240,"longitude_deg":75.3624128,"latitude_deg":11.914924,"altitude":27,"angle":300,"satellites":44,"speed":28,"hex_longitude":"2ceb6440","hex_latitude":"071a12b8","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509382656001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386050871953195008,"note":"Value kept but may cause issues"} 
[2026-08-19 19:00:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483021253042378752,"note":"Value kept but may cause issues"} 
[2026-08-19 19:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787146029000,"timestamp_ms":1787146029000,"timestamp_seconds":1787146029,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3447c8"} 
[2026-08-19 19:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 19:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509382656001,"66":27332,"8":206,"2":54272,"24":28,"16":386050871953195008,"44":-1483021253042378752},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509382656001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:00:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386050871953195008,"km_value":386050871953195.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:00:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483021253042378752,"description":"Unknown IO ID 44"} 
[2026-08-19 19:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509382656001,"power":27332,"unknown_8":206,"power_alt":54272,"ignition":28,"odometer":null,"unknown_44":-1483021253042378752}} 
[2026-08-19 19:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":160360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:00:04] local.INFO: GPS data processed {"connection_id":160360,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:00:04] local.INFO: Acknowledgment sent {"connection_id":160360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:00:08] local.INFO: TCP Data received {"connection_id":160361,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:00:08] local.INFO: Processing buffer {"connection_id":160361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:00:08] local.INFO: IMEI packet received {"connection_id":160361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":160361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:00:13] local.INFO: TCP Data received {"connection_id":160361,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:00:13] local.INFO: Processing buffer {"connection_id":160361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:00:13] local.INFO: IMEI packet received {"connection_id":160361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":160361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:00:14] local.INFO: TCP Data received {"connection_id":160361,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a33bb28012d1821000721b370004b00d527..."} 
[2026-08-19 19:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a33bb28012d1821000721b370004b00d527..."} 
[2026-08-19 19:00:14] local.INFO: Processing buffer {"connection_id":160361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a33bb28012d1821000721b370004b00d527..."} 
[2026-08-19 19:00:14] local.INFO: Packet analysis {"connection_id":160361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a33"} 
[2026-08-19 19:00:14] local.INFO: Extracted packet for processing {"connection_id":160361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a33"} 
[2026-08-19 19:00:14] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509368832001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 19:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 19:00: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-08-19 19:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787145993000,"timestamp_ms":1787145993000,"timestamp_seconds":1787145993,"priority":1,"record_length":96,"hex_timestamp":"000001a01a33bb28"} 
[2026-08-19 19:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:00: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-08-19 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 19:00: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-08-19 19: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-08-19 19:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509368832001,"66":12526,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509368832001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:00:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:00:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 19:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509368832001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 19:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":160361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:00:14] local.INFO: GPS data processed {"connection_id":160361,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:00:14] local.INFO: Acknowledgment sent {"connection_id":160361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:00:36] local.INFO: TCP Data received {"connection_id":160360,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a348260012ceb4440071a2288001b01292a..."} 
[2026-08-19 19:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a348260012ceb4440071a2288001b01292a..."} 
[2026-08-19 19:00:36] local.INFO: Processing buffer {"connection_id":160360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a348260012ceb4440071a2288001b01292a..."} 
[2026-08-19 19:00:36] local.INFO: Packet analysis {"connection_id":160360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 19:00:36] local.INFO: Extracted packet for processing {"connection_id":160360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 19:00:36] local.INFO: GPS Element Parsed {"raw_longitude":753615936,"raw_latitude":119153288,"longitude_deg":75.3615936,"latitude_deg":11.9153288,"altitude":27,"angle":297,"satellites":42,"speed":16,"hex_longitude":"2ceb4440","hex_latitude":"071a2288","is_valid_coordinates":true} 
[2026-08-19 19:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509383424001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386051305744891904,"note":"Value kept but may cause issues"} 
[2026-08-19 19:00:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484991577879037952,"note":"Value kept but may cause issues"} 
[2026-08-19 19:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787146044000,"timestamp_ms":1787146044000,"timestamp_seconds":1787146044,"priority":1,"record_length":96,"hex_timestamp":"000001a01a348260"} 
[2026-08-19 19:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:00: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-08-19 19:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 19:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509383424001,"66":27213,"8":206,"2":54272,"24":16,"16":386051305744891904,"44":-1484991577879037952},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509383424001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:00:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386051305744891904,"km_value":386051305744891.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:00:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484991577879037952,"description":"Unknown IO ID 44"} 
[2026-08-19 19:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509383424001,"power":27213,"unknown_8":206,"power_alt":54272,"ignition":16,"odometer":null,"unknown_44":-1484991577879037952}} 
[2026-08-19 19:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":160360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:00:36] local.INFO: GPS data processed {"connection_id":160360,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:00:36] local.INFO: Acknowledgment sent {"connection_id":160360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:00:41] local.INFO: TCP Data received {"connection_id":157819,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:00:41] local.INFO: Processing buffer {"connection_id":157819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:00:41] local.INFO: IMEI packet received {"connection_id":157819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":157819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:00:45] local.INFO: TCP Data received {"connection_id":160361,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a340d30012d1821000721b370004b00d529..."} 
[2026-08-19 19:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a340d30012d1821000721b370004b00d529..."} 
[2026-08-19 19:00:45] local.INFO: Processing buffer {"connection_id":160361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a340d30012d1821000721b370004b00d529..."} 
[2026-08-19 19:00:45] local.INFO: Packet analysis {"connection_id":160361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 19:00:45] local.INFO: Extracted packet for processing {"connection_id":160361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 19:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509374208001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 19:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 19:00: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-08-19 19:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787146014000,"timestamp_ms":1787146014000,"timestamp_seconds":1787146014,"priority":1,"record_length":96,"hex_timestamp":"000001a01a340d30"} 
[2026-08-19 19:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:00: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-08-19 19: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":238,"data_length":795,"current_offset":136} 
[2026-08-19 19:00:45] 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-08-19 19: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-08-19 19:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509374208001,"66":12461,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509374208001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:00:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:00:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 19:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509374208001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 19:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":160361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:00:46] local.INFO: GPS data processed {"connection_id":160361,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:00:46] local.INFO: Acknowledgment sent {"connection_id":160361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:00:46] local.INFO: TCP Data received {"connection_id":157819,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:00:46] local.INFO: Processing buffer {"connection_id":157819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:00:46] local.INFO: IMEI packet received {"connection_id":157819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":157819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:00:47] local.INFO: TCP Data received {"connection_id":157819,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a352670012d7cb28005d74ff8000000b222..."} 
[2026-08-19 19:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a352670012d7cb28005d74ff8000000b222..."} 
[2026-08-19 19:00:47] local.INFO: Processing buffer {"connection_id":157819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a352670012d7cb28005d74ff8000000b222..."} 
[2026-08-19 19:00:47] local.INFO: Packet analysis {"connection_id":157819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:00:47] local.INFO: Extracted packet for processing {"connection_id":157819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:00:47] local.INFO: GPS Element Parsed {"raw_longitude":763146880,"raw_latitude":97996792,"longitude_deg":76.314688,"latitude_deg":9.7996792,"altitude":0,"angle":178,"satellites":34,"speed":2,"hex_longitude":"2d7cb280","hex_latitude":"05d74ff8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 19:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509397248001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914212829528064,"note":"Value kept but may cause issues"} 
[2026-08-19 19:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985314600388964352,"note":"Value kept but may cause issues"} 
[2026-08-19 19:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787146086000,"timestamp_ms":1787146086000,"timestamp_seconds":1787146086,"priority":1,"record_length":96,"hex_timestamp":"000001a01a352670"} 
[2026-08-19 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-08-19 19:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 19:00:47] 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-08-19 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-08-19 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-08-19 19:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:00:47] 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-08-19 19:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509397248001,"66":12917,"195":206,"85":15104,"24":2,"16":120914212829528064,"45":8985314600388964352},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-19 19:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509397248001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:00:47] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-19 19:00:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914212829528064,"km_value":120914212829528.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985314600388964352,"description":"Unknown IO ID 45"} 
[2026-08-19 19:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509397248001,"power":12917,"unknown_195":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8985314600388964352}} 
[2026-08-19 19:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":157819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:00:47] local.INFO: GPS data processed {"connection_id":157819,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:00:47] local.INFO: Acknowledgment sent {"connection_id":157819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:00:59] local.INFO: TCP Data received {"connection_id":158180,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:00:59] local.INFO: Processing buffer {"connection_id":158180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:00:59] local.INFO: IMEI packet received {"connection_id":158180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":158180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:01:04] local.INFO: TCP Data received {"connection_id":158180,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:01:04] local.INFO: Processing buffer {"connection_id":158180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:01:04] local.INFO: IMEI packet received {"connection_id":158180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":158180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:01:05] local.INFO: TCP Data received {"connection_id":158180,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a34d468012ceb2600071a2ff0001b01252c..."} 
[2026-08-19 19:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a34d468012ceb2600071a2ff0001b01252c..."} 
[2026-08-19 19:01:05] local.INFO: Processing buffer {"connection_id":158180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a34d468012ceb2600071a2ff0001b01252c..."} 
[2026-08-19 19:01:05] local.INFO: Packet analysis {"connection_id":158180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 19:01:05] local.INFO: Extracted packet for processing {"connection_id":158180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 19:01:05] local.INFO: GPS Element Parsed {"raw_longitude":753608192,"raw_latitude":119156720,"longitude_deg":75.3608192,"latitude_deg":11.915672,"altitude":27,"angle":293,"satellites":44,"speed":19,"hex_longitude":"2ceb2600","hex_latitude":"071a2ff0","is_valid_coordinates":true} 
[2026-08-19 19:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509387264001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386051709471817728,"note":"Value kept but may cause issues"} 
[2026-08-19 19:01:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1493998777132742656,"note":"Value kept but may cause issues"} 
[2026-08-19 19:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787146065000,"timestamp_ms":1787146065000,"timestamp_seconds":1787146065,"priority":1,"record_length":96,"hex_timestamp":"000001a01a34d468"} 
[2026-08-19 19:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 19:01:05] 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-08-19 19:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509387264001,"66":27321,"8":206,"2":54272,"24":19,"16":386051709471817728,"44":-1493998777132742656},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509387264001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:01:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386051709471817728,"km_value":386051709471817.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:01:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1493998777132742656,"description":"Unknown IO ID 44"} 
[2026-08-19 19:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509387264001,"power":27321,"unknown_8":206,"power_alt":54272,"ignition":19,"odometer":null,"unknown_44":-1493998777132742656}} 
[2026-08-19 19:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":158180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:01:05] local.INFO: GPS data processed {"connection_id":158180,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:01:05] local.INFO: Acknowledgment sent {"connection_id":158180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:01:08] local.INFO: TCP Data received {"connection_id":160362,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:01:08] local.INFO: Processing buffer {"connection_id":160362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:01:08] local.INFO: IMEI packet received {"connection_id":160362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":160362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:01:13] local.INFO: TCP Data received {"connection_id":160362,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:01:13] local.INFO: Processing buffer {"connection_id":160362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:01:13] local.INFO: IMEI packet received {"connection_id":160362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":160362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:01:14] local.INFO: TCP Data received {"connection_id":160362,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a345f38012d1821000721b370004b00d529..."} 
[2026-08-19 19:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a345f38012d1821000721b370004b00d529..."} 
[2026-08-19 19:01:14] local.INFO: Processing buffer {"connection_id":160362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a345f38012d1821000721b370004b00d529..."} 
[2026-08-19 19:01:14] local.INFO: Packet analysis {"connection_id":160362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 19:01:14] local.INFO: Extracted packet for processing {"connection_id":160362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 19:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 19:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509379584001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 19:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 19:01: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-08-19 19:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787146035000,"timestamp_ms":1787146035000,"timestamp_seconds":1787146035,"priority":1,"record_length":96,"hex_timestamp":"000001a01a345f38"} 
[2026-08-19 19:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:01: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-08-19 19:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 19:01:14] 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-08-19 19:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509379584001,"66":12504,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509379584001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:01:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:01:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 19:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509379584001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 19:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":160362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:01:14] local.INFO: GPS data processed {"connection_id":160362,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:01:14] local.INFO: Acknowledgment sent {"connection_id":160362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:01:18] local.INFO: TCP Data received {"connection_id":157819,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a357878012d7cb28005d74f98000000b128..."} 
[2026-08-19 19:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a357878012d7cb28005d74f98000000b128..."} 
[2026-08-19 19:01:18] local.INFO: Processing buffer {"connection_id":157819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a357878012d7cb28005d74f98000000b128..."} 
[2026-08-19 19:01:18] local.INFO: Packet analysis {"connection_id":157819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:01:18] local.INFO: Extracted packet for processing {"connection_id":157819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:01:18] local.INFO: GPS Element Parsed {"raw_longitude":763146880,"raw_latitude":97996696,"longitude_deg":76.314688,"latitude_deg":9.7996696,"altitude":0,"angle":177,"satellites":40,"speed":0,"hex_longitude":"2d7cb280","hex_latitude":"05d74f98","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509398016001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914221419462656,"note":"Value kept but may cause issues"} 
[2026-08-19 19:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985384969133094912,"note":"Value kept but may cause issues"} 
[2026-08-19 19:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787146107000,"timestamp_ms":1787146107000,"timestamp_seconds":1787146107,"priority":1,"record_length":96,"hex_timestamp":"000001a01a357878"} 
[2026-08-19 19:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:01: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-08-19 19: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 19:01:18] 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-08-19 19: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-08-19 19:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:01:18] 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-08-19 19:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509398016001,"66":13102,"195":206,"85":15104,"24":0,"16":120914221419462656,"45":8985384969133094912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-19 19:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509398016001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:01:18] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-19 19:01:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914221419462656,"km_value":120914221419462.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985384969133094912,"description":"Unknown IO ID 45"} 
[2026-08-19 19:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509398016001,"power":13102,"unknown_195":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8985384969133094912}} 
[2026-08-19 19:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":157819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:01:18] local.INFO: GPS data processed {"connection_id":157819,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:01:18] local.INFO: Acknowledgment sent {"connection_id":157819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:01:37] local.INFO: TCP Data received {"connection_id":158180,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a352288012ceb0700071a3ce0001c01342b..."} 
[2026-08-19 19:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a352288012ceb0700071a3ce0001c01342b..."} 
[2026-08-19 19:01:37] local.INFO: Processing buffer {"connection_id":158180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a352288012ceb0700071a3ce0001c01342b..."} 
[2026-08-19 19:01:37] local.INFO: Packet analysis {"connection_id":158180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:01:37] local.INFO: Extracted packet for processing {"connection_id":158180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":753600256,"raw_latitude":119160032,"longitude_deg":75.3600256,"latitude_deg":11.9160032,"altitude":28,"angle":308,"satellites":43,"speed":5,"hex_longitude":"2ceb0700","hex_latitude":"071a3ce0","is_valid_coordinates":true} 
[2026-08-19 19:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509392640001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052121788678144,"note":"Value kept but may cause issues"} 
[2026-08-19 19:01:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1502513395177361408,"note":"Value kept but may cause issues"} 
[2026-08-19 19:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787146085000,"timestamp_ms":1787146085000,"timestamp_seconds":1787146085,"priority":1,"record_length":96,"hex_timestamp":"000001a01a352288"} 
[2026-08-19 19:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 19:01:37] 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-08-19 19:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509392640001,"66":27539,"8":206,"2":54272,"24":5,"16":386052121788678144,"44":-1502513395177361408},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509392640001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:01:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052121788678144,"km_value":386052121788678.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:01:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1502513395177361408,"description":"Unknown IO ID 44"} 
[2026-08-19 19:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509392640001,"power":27539,"unknown_8":206,"power_alt":54272,"ignition":5,"odometer":null,"unknown_44":-1502513395177361408}} 
[2026-08-19 19:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":158180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:01:37] local.INFO: GPS data processed {"connection_id":158180,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:01:37] local.INFO: Acknowledgment sent {"connection_id":158180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:01:41] local.INFO: TCP Data received {"connection_id":157820,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:01:41] local.INFO: Processing buffer {"connection_id":157820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:01:41] local.INFO: IMEI packet received {"connection_id":157820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":157820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:01:45] local.INFO: TCP Data received {"connection_id":160362,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a34b140012d1821000721b370004b00d528..."} 
[2026-08-19 19:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a34b140012d1821000721b370004b00d528..."} 
[2026-08-19 19:01:45] local.INFO: Processing buffer {"connection_id":160362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a34b140012d1821000721b370004b00d528..."} 
[2026-08-19 19:01:45] local.INFO: Packet analysis {"connection_id":160362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 19:01:45] local.INFO: Extracted packet for processing {"connection_id":160362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a34"} 
[2026-08-19 19:01:45] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509384960001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 19:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 19:01: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-08-19 19:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787146056000,"timestamp_ms":1787146056000,"timestamp_seconds":1787146056,"priority":1,"record_length":96,"hex_timestamp":"000001a01a34b140"} 
[2026-08-19 19:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:01: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-08-19 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 19:01: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-08-19 19: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-08-19 19:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509384960001,"66":12461,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509384960001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:01:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:01:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 19:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509384960001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 19:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":160362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:01:45] local.INFO: GPS data processed {"connection_id":160362,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:01:45] local.INFO: Acknowledgment sent {"connection_id":160362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:01:46] local.INFO: TCP Data received {"connection_id":157820,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:01:46] local.INFO: Processing buffer {"connection_id":157820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:01:46] local.INFO: IMEI packet received {"connection_id":157820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":157820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:01:47] local.INFO: TCP Data received {"connection_id":157820,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a357c60012d7cb14005d74ed0000000ef28..."} 
[2026-08-19 19:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a357c60012d7cb14005d74ed0000000ef28..."} 
[2026-08-19 19:01:47] local.INFO: Processing buffer {"connection_id":157820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a357c60012d7cb14005d74ed0000000ef28..."} 
[2026-08-19 19:01:47] local.INFO: Packet analysis {"connection_id":157820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:01:47] local.INFO: Extracted packet for processing {"connection_id":157820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:01:47] local.INFO: GPS Element Parsed {"raw_longitude":763146560,"raw_latitude":97996496,"longitude_deg":76.314656,"latitude_deg":9.7996496,"altitude":0,"angle":239,"satellites":40,"speed":1,"hex_longitude":"2d7cb140","hex_latitude":"05d74ed0","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509403392001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914238599331840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985384969133070336,"note":"Value kept but may cause issues"} 
[2026-08-19 19:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787146108000,"timestamp_ms":1787146108000,"timestamp_seconds":1787146108,"priority":1,"record_length":96,"hex_timestamp":"000001a01a357c60"} 
[2026-08-19 19:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-19 19:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:01:47] 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-08-19 19:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509403392001,"66":13048,"195":206,"85":15104,"24":1,"16":120914238599331840,"45":8985384969133070336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-19 19:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509403392001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:01:47] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-19 19:01:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914238599331840,"km_value":120914238599331.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985384969133070336,"description":"Unknown IO ID 45"} 
[2026-08-19 19:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509403392001,"power":13048,"unknown_195":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8985384969133070336}} 
[2026-08-19 19:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":157820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:01:47] local.INFO: GPS data processed {"connection_id":157820,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:01:47] local.INFO: Acknowledgment sent {"connection_id":157820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:01:59] local.INFO: TCP Data received {"connection_id":159035,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:01:59] local.INFO: Processing buffer {"connection_id":159035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:01:59] local.INFO: IMEI packet received {"connection_id":159035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":159035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:02:04] local.INFO: TCP Data received {"connection_id":159035,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:02:04] local.INFO: Processing buffer {"connection_id":159035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:02:04] local.INFO: IMEI packet received {"connection_id":159035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":159035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:02:05] local.INFO: TCP Data received {"connection_id":159035,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a357490012ceb0480071a3e68001c01342d..."} 
[2026-08-19 19:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a357490012ceb0480071a3e68001c01342d..."} 
[2026-08-19 19:02:05] local.INFO: Processing buffer {"connection_id":159035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a357490012ceb0480071a3e68001c01342d..."} 
[2026-08-19 19:02:05] local.INFO: Packet analysis {"connection_id":159035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:02:05] local.INFO: Extracted packet for processing {"connection_id":159035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:02:05] local.INFO: GPS Element Parsed {"raw_longitude":753599616,"raw_latitude":119160424,"longitude_deg":75.3599616,"latitude_deg":11.9160424,"altitude":28,"angle":308,"satellites":45,"speed":0,"hex_longitude":"2ceb0480","hex_latitude":"071a3e68","is_valid_coordinates":true} 
[2026-08-19 19:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509397760001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052156148416512,"note":"Value kept but may cause issues"} 
[2026-08-19 19:02:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454543872,"note":"Value kept but may cause issues"} 
[2026-08-19 19:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787146106000,"timestamp_ms":1787146106000,"timestamp_seconds":1787146106,"priority":1,"record_length":96,"hex_timestamp":"000001a01a357490"} 
[2026-08-19 19:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:02: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-08-19 19:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-19 19:02:05] 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-08-19 19:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509397760001,"66":27365,"8":206,"2":54272,"24":0,"16":386052156148416512,"44":-1511239119454543872},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509397760001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:02:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052156148416512,"km_value":386052156148416.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:02:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454543872,"description":"Unknown IO ID 44"} 
[2026-08-19 19:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509397760001,"power":27365,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511239119454543872}} 
[2026-08-19 19:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":159035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:02:05] local.INFO: GPS data processed {"connection_id":159035,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:02:05] local.INFO: Acknowledgment sent {"connection_id":159035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:02:08] local.INFO: TCP Data received {"connection_id":157821,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:02:08] local.INFO: Processing buffer {"connection_id":157821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:02:08] local.INFO: IMEI packet received {"connection_id":157821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":157821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:02:13] local.INFO: TCP Data received {"connection_id":157821,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:02:13] local.INFO: Processing buffer {"connection_id":157821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:02:13] local.INFO: IMEI packet received {"connection_id":157821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":157821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:02:14] local.INFO: TCP Data received {"connection_id":157821,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a350348012d1821000721b370004b00d528..."} 
[2026-08-19 19:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a350348012d1821000721b370004b00d528..."} 
[2026-08-19 19:02:14] local.INFO: Processing buffer {"connection_id":157821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a350348012d1821000721b370004b00d528..."} 
[2026-08-19 19:02:14] local.INFO: Packet analysis {"connection_id":157821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:02:14] local.INFO: Extracted packet for processing {"connection_id":157821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:02:14] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 19:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509390336001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 19:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 19:02: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-08-19 19:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787146077000,"timestamp_ms":1787146077000,"timestamp_seconds":1787146077,"priority":1,"record_length":96,"hex_timestamp":"000001a01a350348"} 
[2026-08-19 19:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:02: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-08-19 19:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 19:02:14] 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-08-19 19:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509390336001,"66":12493,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509390336001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:02:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:02:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 19:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509390336001,"power":12493,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 19:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":157821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:02:14] local.INFO: GPS data processed {"connection_id":157821,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:02:14] local.INFO: Acknowledgment sent {"connection_id":157821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:02:18] local.INFO: TCP Data received {"connection_id":157820,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a358fe8012d7cb0c005d74e880000010329..."} 
[2026-08-19 19:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a358fe8012d7cb0c005d74e880000010329..."} 
[2026-08-19 19:02:18] local.INFO: Processing buffer {"connection_id":157820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a358fe8012d7cb0c005d74e880000010329..."} 
[2026-08-19 19:02:18] local.INFO: Packet analysis {"connection_id":157820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:02:18] local.INFO: Extracted packet for processing {"connection_id":157820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:02:18] local.INFO: GPS Element Parsed {"raw_longitude":763146432,"raw_latitude":97996424,"longitude_deg":76.3146432,"latitude_deg":9.7996424,"altitude":0,"angle":259,"satellites":41,"speed":1,"hex_longitude":"2d7cb0c0","hex_latitude":"05d74e88","is_valid_coordinates":true} 
[2026-08-19 19:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509403648001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914247189266432,"note":"Value kept but may cause issues"} 
[2026-08-19 19:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8985033125412130816,"note":"Value kept but may cause issues"} 
[2026-08-19 19:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787146113000,"timestamp_ms":1787146113000,"timestamp_seconds":1787146113,"priority":1,"record_length":96,"hex_timestamp":"000001a01a358fe8"} 
[2026-08-19 19:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:02:18] 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-08-19 19:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-19 19:02:18] 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-08-19 19:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:02:18] 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-08-19 19:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509403648001,"66":13222,"195":206,"85":15104,"24":1,"16":120914247189266432,"45":8985033125412130816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-19 19:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509403648001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:02:18] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-19 19:02:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914247189266432,"km_value":120914247189266.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8985033125412130816,"description":"Unknown IO ID 45"} 
[2026-08-19 19:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509403648001,"power":13222,"unknown_195":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8985033125412130816}} 
[2026-08-19 19:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":157820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:02:18] local.INFO: GPS data processed {"connection_id":157820,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:02:18] local.INFO: Acknowledgment sent {"connection_id":157820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:02:37] local.INFO: TCP Data received {"connection_id":159035,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a35c698012ceb05c0071a3ef0001c01322c..."} 
[2026-08-19 19:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a35c698012ceb05c0071a3ef0001c01322c..."} 
[2026-08-19 19:02:37] local.INFO: Processing buffer {"connection_id":159035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a35c698012ceb05c0071a3ef0001c01322c..."} 
[2026-08-19 19:02:37] local.INFO: Packet analysis {"connection_id":159035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:02:37] local.INFO: Extracted packet for processing {"connection_id":159035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:02:37] local.INFO: GPS Element Parsed {"raw_longitude":753599936,"raw_latitude":119160560,"longitude_deg":75.3599936,"latitude_deg":11.916056,"altitude":28,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2ceb05c0","hex_latitude":"071a3ef0","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509403136001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052199098089472,"note":"Value kept but may cause issues"} 
[2026-08-19 19:02:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511942806896220160,"note":"Value kept but may cause issues"} 
[2026-08-19 19:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787146127000,"timestamp_ms":1787146127000,"timestamp_seconds":1787146127,"priority":1,"record_length":96,"hex_timestamp":"000001a01a35c698"} 
[2026-08-19 19:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 19:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509403136001,"66":27245,"8":206,"2":54272,"24":0,"16":386052199098089472,"44":-1511942806896220160},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509403136001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:02:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052199098089472,"km_value":386052199098089.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:02:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511942806896220160,"description":"Unknown IO ID 44"} 
[2026-08-19 19:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509403136001,"power":27245,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511942806896220160}} 
[2026-08-19 19:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":159035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:02:37] local.INFO: GPS data processed {"connection_id":159035,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:02:37] local.INFO: Acknowledgment sent {"connection_id":159035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:02:41] local.INFO: TCP Data received {"connection_id":158181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:02:41] local.INFO: Processing buffer {"connection_id":158181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:02:41] local.INFO: IMEI packet received {"connection_id":158181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":158181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:02:45] local.INFO: TCP Data received {"connection_id":157821,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a355550012d1821000721b370004b00d529..."} 
[2026-08-19 19:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a355550012d1821000721b370004b00d529..."} 
[2026-08-19 19:02:45] local.INFO: Processing buffer {"connection_id":157821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a355550012d1821000721b370004b00d529..."} 
[2026-08-19 19:02:45] local.INFO: Packet analysis {"connection_id":157821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:02:45] local.INFO: Extracted packet for processing {"connection_id":157821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 19:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509395712001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 19:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 19:02: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-08-19 19:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787146098000,"timestamp_ms":1787146098000,"timestamp_seconds":1787146098,"priority":1,"record_length":96,"hex_timestamp":"000001a01a355550"} 
[2026-08-19 19:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:02: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-08-19 19:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 19:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509395712001,"66":12461,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509395712001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:02:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 19:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509395712001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 19:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":157821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:02:45] local.INFO: GPS data processed {"connection_id":157821,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:02:45] local.INFO: Acknowledgment sent {"connection_id":157821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:02:46] local.INFO: TCP Data received {"connection_id":158181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:02:46] local.INFO: Processing buffer {"connection_id":158181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:02:46] local.INFO: IMEI packet received {"connection_id":158181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":158181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:02:47] local.INFO: TCP Data received {"connection_id":158181,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a35b310012d7cb00005d74e58000000f629..."} 
[2026-08-19 19:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a35b310012d7cb00005d74e58000000f629..."} 
[2026-08-19 19:02:47] local.INFO: Processing buffer {"connection_id":158181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a35b310012d7cb00005d74e58000000f629..."} 
[2026-08-19 19:02:47] local.INFO: Packet analysis {"connection_id":158181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:02:47] local.INFO: Extracted packet for processing {"connection_id":158181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:02:47] local.INFO: GPS Element Parsed {"raw_longitude":763146240,"raw_latitude":97996376,"longitude_deg":76.314624,"latitude_deg":9.7996376,"altitude":0,"angle":246,"satellites":41,"speed":1,"hex_longitude":"2d7cb000","hex_latitude":"05d74e58","is_valid_coordinates":true} 
[2026-08-19 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-08-19 19:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509404928001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914260074168320,"note":"Value kept but may cause issues"} 
[2026-08-19 19:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984892387923757056,"note":"Value kept but may cause issues"} 
[2026-08-19 19:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787146122000,"timestamp_ms":1787146122000,"timestamp_seconds":1787146122,"priority":1,"record_length":96,"hex_timestamp":"000001a01a35b310"} 
[2026-08-19 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-08-19 19:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 19:02:47] 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-08-19 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-08-19 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-08-19 19:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:02:47] 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-08-19 19:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509404928001,"66":13200,"195":206,"85":15104,"24":1,"16":120914260074168320,"45":8984892387923757056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-19 19:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509404928001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:02:47] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-19 19:02:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914260074168320,"km_value":120914260074168.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984892387923757056,"description":"Unknown IO ID 45"} 
[2026-08-19 19:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509404928001,"power":13200,"unknown_195":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8984892387923757056}} 
[2026-08-19 19:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":158181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:02:47] local.INFO: GPS data processed {"connection_id":158181,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:02:47] local.INFO: Acknowledgment sent {"connection_id":158181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:02:58] local.INFO: TCP Data received {"connection_id":159036,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:02:58] local.INFO: Processing buffer {"connection_id":159036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:02:58] local.INFO: IMEI packet received {"connection_id":159036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":159036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:03:04] local.INFO: TCP Data received {"connection_id":159036,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:03:04] local.INFO: Processing buffer {"connection_id":159036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:03:04] local.INFO: IMEI packet received {"connection_id":159036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":159036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:03:05] local.INFO: TCP Data received {"connection_id":159036,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3618a0012ceb0740071a3d20001b01322a..."} 
[2026-08-19 19:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3618a0012ceb0740071a3d20001b01322a..."} 
[2026-08-19 19:03:05] local.INFO: Processing buffer {"connection_id":159036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3618a0012ceb0740071a3d20001b01322a..."} 
[2026-08-19 19:03:05] local.INFO: Packet analysis {"connection_id":159036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a36"} 
[2026-08-19 19:03:05] local.INFO: Extracted packet for processing {"connection_id":159036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a36"} 
[2026-08-19 19:03:05] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119160096,"longitude_deg":75.360032,"latitude_deg":11.9160096,"altitude":27,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3d20","is_valid_coordinates":true} 
[2026-08-19 19:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509408512001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052224867893248,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511590963175297024,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787146148000,"timestamp_ms":1787146148000,"timestamp_seconds":1787146148,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3618a0"} 
[2026-08-19 19:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 19:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509408512001,"66":27332,"8":206,"2":54272,"24":0,"16":386052224867893248,"44":-1511590963175297024},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509408512001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:03:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052224867893248,"km_value":386052224867893.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:03:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511590963175297024,"description":"Unknown IO ID 44"} 
[2026-08-19 19:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509408512001,"power":27332,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511590963175297024}} 
[2026-08-19 19:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":159036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:03:05] local.INFO: GPS data processed {"connection_id":159036,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:03:05] local.INFO: Acknowledgment sent {"connection_id":159036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:03:08] local.INFO: TCP Data received {"connection_id":158182,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:03:08] local.INFO: Processing buffer {"connection_id":158182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:03:08] local.INFO: IMEI packet received {"connection_id":158182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":158182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:03:08] local.INFO: TCP Data received {"connection_id":158182,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:03:08] local.INFO: Processing buffer {"connection_id":158182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:03:08] local.INFO: IMEI packet received {"connection_id":158182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":158182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:03:13] local.INFO: TCP Data received {"connection_id":158182,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:03:13] local.INFO: Processing buffer {"connection_id":158182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:03:13] local.INFO: IMEI packet received {"connection_id":158182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":158182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:03:18] local.INFO: TCP Data received {"connection_id":158182,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:03:18] local.INFO: Processing buffer {"connection_id":158182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:03:18] local.INFO: IMEI packet received {"connection_id":158182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":158182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:03:18] local.INFO: TCP Data received {"connection_id":158181,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a35de08012d7cb00005d74e60000000f229..."} 
[2026-08-19 19:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a35de08012d7cb00005d74e60000000f229..."} 
[2026-08-19 19:03:18] local.INFO: Processing buffer {"connection_id":158181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a35de08012d7cb00005d74e60000000f229..."} 
[2026-08-19 19:03:18] local.INFO: Packet analysis {"connection_id":158181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:03:18] local.INFO: Extracted packet for processing {"connection_id":158181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:03:18] local.INFO: GPS Element Parsed {"raw_longitude":763146240,"raw_latitude":97996384,"longitude_deg":76.314624,"latitude_deg":9.7996384,"altitude":0,"angle":242,"satellites":41,"speed":0,"hex_longitude":"2d7cb000","hex_latitude":"05d74e60","is_valid_coordinates":true} 
[2026-08-19 19:03: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-08-19 19:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509407232001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691211776,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787146133000,"timestamp_ms":1787146133000,"timestamp_seconds":1787146133,"priority":1,"record_length":96,"hex_timestamp":"000001a01a35de08"} 
[2026-08-19 19:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:03: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-08-19 19: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-19 19:03:18] 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-08-19 19: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-08-19 19:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:03:18] 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-08-19 19:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509407232001,"66":13319,"195":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691211776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-19 19:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509407232001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:03:18] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-19 19:03:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691211776,"description":"Unknown IO ID 45"} 
[2026-08-19 19:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509407232001,"power":13319,"unknown_195":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691211776}} 
[2026-08-19 19:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":158181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:03:18] local.INFO: GPS data processed {"connection_id":158181,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:03:18] local.INFO: Acknowledgment sent {"connection_id":158181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:03:19] local.INFO: TCP Data received {"connection_id":158182,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a35a758012d1821000721b370004b00d529..."} 
[2026-08-19 19:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a35a758012d1821000721b370004b00d529..."} 
[2026-08-19 19:03:19] local.INFO: Processing buffer {"connection_id":158182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a35a758012d1821000721b370004b00d529..."} 
[2026-08-19 19:03:19] local.INFO: Packet analysis {"connection_id":158182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:03:19] local.INFO: Extracted packet for processing {"connection_id":158182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":41,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 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-08-19 19:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509401088001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787146119000,"timestamp_ms":1787146119000,"timestamp_seconds":1787146119,"priority":1,"record_length":96,"hex_timestamp":"000001a01a35a758"} 
[2026-08-19 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-08-19 19:03: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-08-19 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 19:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 19:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509401088001,"66":12504,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509401088001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:03:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 19:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509401088001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 19:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":158182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:03:19] local.INFO: GPS data processed {"connection_id":158182,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:03:19] local.INFO: Acknowledgment sent {"connection_id":158182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:03:23] local.INFO: TCP Data received {"connection_id":158182,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a35f960012d1821000721b370004b00d52a..."} 
[2026-08-19 19:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a35f960012d1821000721b370004b00d52a..."} 
[2026-08-19 19:03:23] local.INFO: Processing buffer {"connection_id":158182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a35f960012d1821000721b370004b00d52a..."} 
[2026-08-19 19:03:23] local.INFO: Packet analysis {"connection_id":158182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:03:23] local.INFO: Extracted packet for processing {"connection_id":158182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649136,"longitude_deg":75.6556032,"latitude_deg":11.9649136,"altitude":75,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509406464001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982154362978304,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771900928,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787146140000,"timestamp_ms":1787146140000,"timestamp_seconds":1787146140,"priority":1,"record_length":96,"hex_timestamp":"000001a01a35f960"} 
[2026-08-19 19:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:03:23] 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-08-19 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-19 19:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509406464001,"66":12504,"105":206,"83":41984,"24":0,"16":13982154362978304,"45":1738670961771900928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509406464001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:03:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:03:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982154362978304,"km_value":13982154362978.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771900928,"description":"Unknown IO ID 45"} 
[2026-08-19 19:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509406464001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771900928}} 
[2026-08-19 19:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":158182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:03:23] local.INFO: GPS data processed {"connection_id":158182,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:03:23] local.INFO: Acknowledgment sent {"connection_id":158182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:03:36] local.INFO: TCP Data received {"connection_id":159036,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a364b68012ceb0780071a3d30001b01322b..."} 
[2026-08-19 19:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a364b68012ceb0780071a3d30001b01322b..."} 
[2026-08-19 19:03:36] local.INFO: Processing buffer {"connection_id":159036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a364b68012ceb0780071a3d30001b01322b..."} 
[2026-08-19 19:03:36] local.INFO: Packet analysis {"connection_id":159036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a36"} 
[2026-08-19 19:03:36] local.INFO: Extracted packet for processing {"connection_id":159036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a36"} 
[2026-08-19 19:03:36] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119160112,"longitude_deg":75.3600384,"latitude_deg":11.9160112,"altitude":27,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3d30","is_valid_coordinates":true} 
[2026-08-19 19:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509413888001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710349824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787146161000,"timestamp_ms":1787146161000,"timestamp_seconds":1787146161,"priority":1,"record_length":96,"hex_timestamp":"000001a01a364b68"} 
[2026-08-19 19:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:03: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-08-19 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 19:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509413888001,"66":27908,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511168750710349824},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509413888001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:03:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:03:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710349824,"description":"Unknown IO ID 44"} 
[2026-08-19 19:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509413888001,"power":27908,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511168750710349824}} 
[2026-08-19 19:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":159036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:03:36] local.INFO: GPS data processed {"connection_id":159036,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:03:36] local.INFO: Acknowledgment sent {"connection_id":159036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:03:41] local.INFO: TCP Data received {"connection_id":158183,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:03:41] local.INFO: Processing buffer {"connection_id":158183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:03:41] local.INFO: IMEI packet received {"connection_id":158183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":158183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:03:46] local.INFO: TCP Data received {"connection_id":158183,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:03:46] local.INFO: Processing buffer {"connection_id":158183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:03:46] local.INFO: IMEI packet received {"connection_id":158183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":158183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:03:47] local.INFO: TCP Data received {"connection_id":158183,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a35de08012d7cb00005d74e60000000f229..."} 
[2026-08-19 19:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a35de08012d7cb00005d74e60000000f229..."} 
[2026-08-19 19:03:47] local.INFO: Processing buffer {"connection_id":158183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a35de08012d7cb00005d74e60000000f229..."} 
[2026-08-19 19:03:47] local.INFO: Packet analysis {"connection_id":158183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:03:47] local.INFO: Extracted packet for processing {"connection_id":158183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a35"} 
[2026-08-19 19:03:47] local.INFO: GPS Element Parsed {"raw_longitude":763146240,"raw_latitude":97996384,"longitude_deg":76.314624,"latitude_deg":9.7996384,"altitude":0,"angle":242,"satellites":41,"speed":0,"hex_longitude":"2d7cb000","hex_latitude":"05d74e60","is_valid_coordinates":true} 
[2026-08-19 19:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509410048001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787146133000,"timestamp_ms":1787146133000,"timestamp_seconds":1787146133,"priority":1,"record_length":96,"hex_timestamp":"000001a01a35de08"} 
[2026-08-19 19:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 19:03:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:47] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3690987520,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:47] local.WARNING: Large IO value detected {"io_id":215,"raw_value":5881701113355313664,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455620302,"corrected_to":0} 
[2026-08-19 19:03:47] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2147866447,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:47] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2463498240,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3612389376,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:47] local.WARNING: Large IO value detected {"io_id":238,"raw_value":57797765757818171,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:47] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-2296834515081740283,"note":"Value kept but may cause issues"} 
[2026-08-19 19:03:47] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,195,85,24,241,157,16,146,160,179,45,78,41,10,66,143,192,124,64,1,240,248,227,26,215,4,113,205,38,178,34,239,50,2,173,5,238,52],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1455620302,"validated":0}]} 
[2026-08-19 19:03:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":266257907581167,"timestamp_seconds":266257907581.167,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:03:47] 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-08-19 19:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509410048001,"66":13319,"195":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-19 19:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509410048001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:03:47] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-19 19:03:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509410048001,"power":13319,"unknown_195":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":158183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:03:47] local.INFO: GPS data processed {"connection_id":158183,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:03:47] local.INFO: Acknowledgment sent {"connection_id":158183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:03:58] local.INFO: TCP Data received {"connection_id":159037,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:03:58] local.INFO: Processing buffer {"connection_id":159037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:03:58] local.INFO: IMEI packet received {"connection_id":159037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":159037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:04:04] local.INFO: TCP Data received {"connection_id":159037,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:04:04] local.INFO: Processing buffer {"connection_id":159037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:04:04] local.INFO: IMEI packet received {"connection_id":159037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":159037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:04:05] local.INFO: TCP Data received {"connection_id":159037,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a364b68012ceb0780071a3d30001b01322b..."} 
[2026-08-19 19:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a364b68012ceb0780071a3d30001b01322b..."} 
[2026-08-19 19:04:05] local.INFO: Processing buffer {"connection_id":159037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a364b68012ceb0780071a3d30001b01322b..."} 
[2026-08-19 19:04:05] local.INFO: Packet analysis {"connection_id":159037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a36"} 
[2026-08-19 19:04:05] local.INFO: Extracted packet for processing {"connection_id":159037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a36"} 
[2026-08-19 19:04:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119160112,"longitude_deg":75.3600384,"latitude_deg":11.9160112,"altitude":27,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3d30","is_valid_coordinates":true} 
[2026-08-19 19:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509413888001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710349824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787146161000,"timestamp_ms":1787146161000,"timestamp_seconds":1787146161,"priority":1,"record_length":96,"hex_timestamp":"000001a01a364b68"} 
[2026-08-19 19:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:04: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-08-19 19:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 19:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509413888001,"66":27908,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511168750710349824},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509413888001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:04:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:04:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710349824,"description":"Unknown IO ID 44"} 
[2026-08-19 19:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509413888001,"power":27908,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511168750710349824}} 
[2026-08-19 19:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":159037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:04:05] local.INFO: GPS data processed {"connection_id":159037,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:04:05] local.INFO: Acknowledgment sent {"connection_id":159037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:04:08] local.INFO: TCP Data received {"connection_id":158184,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:04:08] local.INFO: Processing buffer {"connection_id":158184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:04:08] local.INFO: IMEI packet received {"connection_id":158184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":158184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:04:11] local.INFO: TCP Data received {"connection_id":158184,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:04:11] local.INFO: Processing buffer {"connection_id":158184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:04:11] local.INFO: IMEI packet received {"connection_id":158184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":158184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:04:12] local.INFO: TCP Data received {"connection_id":158184,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a397fb8012d181e400721aed8004f00d227..."} 
[2026-08-19 19:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a397fb8012d181e400721aed8004f00d227..."} 
[2026-08-19 19:04:12] local.INFO: Processing buffer {"connection_id":158184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a397fb8012d181e400721aed8004f00d227..."} 
[2026-08-19 19:04:12] local.INFO: Packet analysis {"connection_id":158184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a39"} 
[2026-08-19 19:04:12] local.INFO: Extracted packet for processing {"connection_id":158184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a39"} 
[2026-08-19 19:04:12] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647960,"longitude_deg":75.6555328,"latitude_deg":11.964796,"altitude":79,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aed8","is_valid_coordinates":true} 
[2026-08-19 19:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509465600001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982227377422336,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585645568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04: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-08-19 19:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787146371000,"timestamp_ms":1787146371000,"timestamp_seconds":1787146371,"priority":1,"record_length":96,"hex_timestamp":"000001a01a397fb8"} 
[2026-08-19 19:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:04: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-08-19 19:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 19:04: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-08-19 19:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509465600001,"66":12406,"105":206,"83":41984,"24":0,"16":13982227377422336,"45":1737896905585645568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509465600001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:04:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:04:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982227377422336,"km_value":13982227377422.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585645568,"description":"Unknown IO ID 45"} 
[2026-08-19 19:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509465600001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585645568}} 
[2026-08-19 19:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":158184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:04:12] local.INFO: GPS data processed {"connection_id":158184,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:04:12] local.INFO: Acknowledgment sent {"connection_id":158184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:04:18] local.INFO: TCP Data received {"connection_id":158183,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:04:18] local.INFO: Processing buffer {"connection_id":158183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:04:18] local.INFO: Packet analysis {"connection_id":158183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:04:18] local.INFO: Extracted packet for processing {"connection_id":158183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:04:18] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509410048001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787146434000,"timestamp_ms":1787146434000,"timestamp_seconds":1787146434,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3a75d0"} 
[2026-08-19 19:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 19:04:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:18] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:18] local.WARNING: Large IO value detected {"io_id":215,"raw_value":5814147118945804288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455620302,"corrected_to":0} 
[2026-08-19 19:04:18] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2147866447,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:18] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2463629312,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3612342272,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:18] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57797765757818171,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:18] local.WARNING: Large IO value detected {"io_id":53,"raw_value":1925290135578099717,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:18] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,195,85,24,241,157,16,146,160,222,45,78,41,10,66,179,143,192,1,240,166,227,26,215,4,113,205,120,178,152,40,239,51,2,173,5,117,53],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1455620302,"validated":0}]} 
[2026-08-19 19:04:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":266257907581168,"timestamp_seconds":266257907581.168,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:04:18] 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-08-19 19:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509410048001,"66":12722,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509410048001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:04:18] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:04:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509410048001,"power":12722,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":158183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:04:18] local.INFO: GPS data processed {"connection_id":158183,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:04:18] local.INFO: Acknowledgment sent {"connection_id":158183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:04:37] local.INFO: TCP Data received {"connection_id":159037,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a364b68012ceb0780071a3d30001b01322b..."} 
[2026-08-19 19:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a364b68012ceb0780071a3d30001b01322b..."} 
[2026-08-19 19:04:37] local.INFO: Processing buffer {"connection_id":159037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a364b68012ceb0780071a3d30001b01322b..."} 
[2026-08-19 19:04:37] local.INFO: Packet analysis {"connection_id":159037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a36"} 
[2026-08-19 19:04:37] local.INFO: Extracted packet for processing {"connection_id":159037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a36"} 
[2026-08-19 19:04:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119160112,"longitude_deg":75.3600384,"latitude_deg":11.9160112,"altitude":27,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3d30","is_valid_coordinates":true} 
[2026-08-19 19:04: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-08-19 19:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509413888001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710349824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787146161000,"timestamp_ms":1787146161000,"timestamp_seconds":1787146161,"priority":1,"record_length":96,"hex_timestamp":"000001a01a364b68"} 
[2026-08-19 19:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 19:04:37] 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-08-19 19:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509413888001,"66":27908,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511168750710349824},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509413888001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:04:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:04:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710349824,"description":"Unknown IO ID 44"} 
[2026-08-19 19:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509413888001,"power":27908,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511168750710349824}} 
[2026-08-19 19:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":159037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:04:37] local.INFO: GPS data processed {"connection_id":159037,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:04:37] local.INFO: Acknowledgment sent {"connection_id":159037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:04:43] local.INFO: TCP Data received {"connection_id":158184,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a39d1c0012d181e400721aed8004f00d224..."} 
[2026-08-19 19:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a39d1c0012d181e400721aed8004f00d224..."} 
[2026-08-19 19:04:43] local.INFO: Processing buffer {"connection_id":158184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a39d1c0012d181e400721aed8004f00d224..."} 
[2026-08-19 19:04:43] local.INFO: Packet analysis {"connection_id":158184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a39"} 
[2026-08-19 19:04:43] local.INFO: Extracted packet for processing {"connection_id":158184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a39"} 
[2026-08-19 19:04:43] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647960,"longitude_deg":75.6555328,"latitude_deg":11.964796,"altitude":79,"angle":210,"satellites":36,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aed8","is_valid_coordinates":true} 
[2026-08-19 19:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509470976001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982227377422336,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585645568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04: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-08-19 19:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787146392000,"timestamp_ms":1787146392000,"timestamp_seconds":1787146392,"priority":1,"record_length":96,"hex_timestamp":"000001a01a39d1c0"} 
[2026-08-19 19:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:04: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-08-19 19:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:04: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-08-19 19:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509470976001,"66":12385,"105":206,"83":41984,"24":0,"16":13982227377422336,"45":1737896905585645568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509470976001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:04:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:04:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982227377422336,"km_value":13982227377422.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585645568,"description":"Unknown IO ID 45"} 
[2026-08-19 19:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509470976001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585645568}} 
[2026-08-19 19:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":158184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:04:43] local.INFO: GPS data processed {"connection_id":158184,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:04:43] local.INFO: Acknowledgment sent {"connection_id":158184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:04:46] local.INFO: TCP Data received {"connection_id":157822,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:04:46] local.INFO: Processing buffer {"connection_id":157822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:04:46] local.INFO: IMEI packet received {"connection_id":157822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":157822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:04:51] local.INFO: TCP Data received {"connection_id":157822,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:04:51] local.INFO: Processing buffer {"connection_id":157822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:04:51] local.INFO: IMEI packet received {"connection_id":157822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":157822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:04:52] local.INFO: TCP Data received {"connection_id":157822,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:04:52] local.INFO: Processing buffer {"connection_id":157822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:04:52] local.INFO: Packet analysis {"connection_id":157822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:04:52] local.INFO: Extracted packet for processing {"connection_id":157822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:04:52] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509410048001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787146434000,"timestamp_ms":1787146434000,"timestamp_seconds":1787146434,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3a75d0"} 
[2026-08-19 19:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 19:04:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:52] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:52] local.WARNING: Large IO value detected {"io_id":215,"raw_value":5814147118945804288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455620302,"corrected_to":0} 
[2026-08-19 19:04:52] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2147866447,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:52] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2463629312,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3612342272,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:52] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57797765757818171,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:52] local.WARNING: Large IO value detected {"io_id":53,"raw_value":1925290135578099717,"note":"Value kept but may cause issues"} 
[2026-08-19 19:04:52] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,195,85,24,241,157,16,146,160,222,45,78,41,10,66,179,143,192,1,240,166,227,26,215,4,113,205,120,178,152,40,239,51,2,173,5,117,53],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1455620302,"validated":0}]} 
[2026-08-19 19:04:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":266257907581168,"timestamp_seconds":266257907581.168,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":157822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":157822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":157822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509410048001,"66":12722,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509410048001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:04:52] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:04:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509410048001,"power":12722,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":157822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:04:52] local.INFO: GPS data processed {"connection_id":157822,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:04:52] local.INFO: Acknowledgment sent {"connection_id":157822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:05:03] local.INFO: TCP Data received {"connection_id":160363,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:05:03] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:05:03] local.INFO: IMEI packet received {"connection_id":160363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":160363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:05:04] local.INFO: TCP Data received {"connection_id":160363,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:05:04] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:05:04] local.INFO: IMEI packet received {"connection_id":160363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":160363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:05:05] local.INFO: TCP Data received {"connection_id":160363,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:05:05] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:05:05] local.INFO: Packet analysis {"connection_id":160363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:05:05] local.INFO: Extracted packet for processing {"connection_id":160363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:05:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509417216001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966168064,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787146466000,"timestamp_ms":1787146466000,"timestamp_seconds":1787146466,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3af2d0"} 
[2026-08-19 19:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 19:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509417216001,"66":26408,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966168064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509417216001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:05:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:05:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966168064,"description":"Unknown IO ID 44"} 
[2026-08-19 19:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509417216001,"power":26408,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966168064}} 
[2026-08-19 19:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":160363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:05:05] local.INFO: GPS data processed {"connection_id":160363,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:05:05] local.INFO: Acknowledgment sent {"connection_id":160363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:05:08] local.INFO: TCP Data received {"connection_id":158185,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:05:08] local.INFO: Processing buffer {"connection_id":158185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:05:08] local.INFO: IMEI packet received {"connection_id":158185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":158185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:05:13] local.INFO: TCP Data received {"connection_id":158185,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:05:13] local.INFO: Processing buffer {"connection_id":158185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:05:13] local.INFO: IMEI packet received {"connection_id":158185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":158185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:05:14] local.INFO: TCP Data received {"connection_id":158185,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3a23c8012d181e400721aed8004f00d227..."} 
[2026-08-19 19:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3a23c8012d181e400721aed8004f00d227..."} 
[2026-08-19 19:05:14] local.INFO: Processing buffer {"connection_id":158185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3a23c8012d181e400721aed8004f00d227..."} 
[2026-08-19 19:05:14] local.INFO: Packet analysis {"connection_id":158185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:05:14] local.INFO: Extracted packet for processing {"connection_id":158185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:05:14] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647960,"longitude_deg":75.6555328,"latitude_deg":11.964796,"altitude":79,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aed8","is_valid_coordinates":true} 
[2026-08-19 19:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509476352001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982227377422336,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585645568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05: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-08-19 19:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787146413000,"timestamp_ms":1787146413000,"timestamp_seconds":1787146413,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3a23c8"} 
[2026-08-19 19:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:05: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-08-19 19:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 19:05:14] 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-08-19 19:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509476352001,"66":12232,"105":206,"83":41984,"24":0,"16":13982227377422336,"45":1737896905585645568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509476352001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:05:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:05:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982227377422336,"km_value":13982227377422.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585645568,"description":"Unknown IO ID 45"} 
[2026-08-19 19:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509476352001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585645568}} 
[2026-08-19 19:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":158185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:05:14] local.INFO: GPS data processed {"connection_id":158185,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:05:14] local.INFO: Acknowledgment sent {"connection_id":158185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:05:23] local.INFO: TCP Data received {"connection_id":157822,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:05:23] local.INFO: Processing buffer {"connection_id":157822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:05:23] local.INFO: Packet analysis {"connection_id":157822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:05:23] local.INFO: Extracted packet for processing {"connection_id":157822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:05:23] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509410048001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787146434000,"timestamp_ms":1787146434000,"timestamp_seconds":1787146434,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3a75d0"} 
[2026-08-19 19:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 19:05:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:23] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:23] local.WARNING: Large IO value detected {"io_id":215,"raw_value":5814147118945804288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455620302,"corrected_to":0} 
[2026-08-19 19:05:23] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2147866447,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:23] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2463629312,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3612342272,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:23] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57797765757818171,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:23] local.WARNING: Large IO value detected {"io_id":53,"raw_value":1925290135578099717,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:23] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,195,85,24,241,157,16,146,160,222,45,78,41,10,66,179,143,192,1,240,166,227,26,215,4,113,205,120,178,152,40,239,51,2,173,5,117,53],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1455620302,"validated":0}]} 
[2026-08-19 19:05:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":266257907581168,"timestamp_seconds":266257907581.168,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":157822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":157822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":157822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:05:23] 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-08-19 19:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509410048001,"66":12722,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509410048001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:05:23] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:05:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509410048001,"power":12722,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":157822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:05:23] local.INFO: GPS data processed {"connection_id":157822,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:05:23] local.INFO: Acknowledgment sent {"connection_id":157822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:05:37] local.INFO: TCP Data received {"connection_id":160363,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:05:37] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:05:37] local.INFO: Packet analysis {"connection_id":160363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:05:37] local.INFO: Extracted packet for processing {"connection_id":160363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:05:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509417216001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966168064,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787146466000,"timestamp_ms":1787146466000,"timestamp_seconds":1787146466,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3af2d0"} 
[2026-08-19 19:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 19:05:37] 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-08-19 19: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-08-19 19:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509417216001,"66":26408,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966168064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509417216001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:05:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:05:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966168064,"description":"Unknown IO ID 44"} 
[2026-08-19 19:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509417216001,"power":26408,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966168064}} 
[2026-08-19 19:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":160363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:05:37] local.INFO: GPS data processed {"connection_id":160363,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:05:37] local.INFO: Acknowledgment sent {"connection_id":160363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:05:41] local.INFO: TCP Data received {"connection_id":158186,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:05:41] local.INFO: Processing buffer {"connection_id":158186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:05:41] local.INFO: IMEI packet received {"connection_id":158186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":158186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:05:45] local.INFO: TCP Data received {"connection_id":158185,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3a75d0012d181e400721aed8004f00d227..."} 
[2026-08-19 19:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3a75d0012d181e400721aed8004f00d227..."} 
[2026-08-19 19:05:45] local.INFO: Processing buffer {"connection_id":158185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3a75d0012d181e400721aed8004f00d227..."} 
[2026-08-19 19:05:45] local.INFO: Packet analysis {"connection_id":158185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:05:45] local.INFO: Extracted packet for processing {"connection_id":158185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:05:45] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647960,"longitude_deg":75.6555328,"latitude_deg":11.964796,"altitude":79,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aed8","is_valid_coordinates":true} 
[2026-08-19 19:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509481728001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982227377422336,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585645568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05: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-08-19 19:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787146434000,"timestamp_ms":1787146434000,"timestamp_seconds":1787146434,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3a75d0"} 
[2026-08-19 19:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-19 19:05:45] 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-08-19 19:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509481728001,"66":12374,"105":206,"83":41984,"24":0,"16":13982227377422336,"45":1737896905585645568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509481728001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:05:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:05:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982227377422336,"km_value":13982227377422.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585645568,"description":"Unknown IO ID 45"} 
[2026-08-19 19:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509481728001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585645568}} 
[2026-08-19 19:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":158185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:05:45] local.INFO: GPS data processed {"connection_id":158185,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:05:45] local.INFO: Acknowledgment sent {"connection_id":158185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:05:46] local.INFO: TCP Data received {"connection_id":158186,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:05:46] local.INFO: Processing buffer {"connection_id":158186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:05:46] local.INFO: IMEI packet received {"connection_id":158186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":158186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:05:47] local.INFO: TCP Data received {"connection_id":158186,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:05:47] local.INFO: Processing buffer {"connection_id":158186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:05:47] local.INFO: Packet analysis {"connection_id":158186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:05:47] local.INFO: Extracted packet for processing {"connection_id":158186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:05:47] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509410048001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787146434000,"timestamp_ms":1787146434000,"timestamp_seconds":1787146434,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3a75d0"} 
[2026-08-19 19:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 19:05:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:47] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:47] local.WARNING: Large IO value detected {"io_id":215,"raw_value":5814147118945804288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455620302,"corrected_to":0} 
[2026-08-19 19:05:47] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2147866447,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:47] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2463629312,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3612342272,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:47] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57797765757818171,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:47] local.WARNING: Large IO value detected {"io_id":53,"raw_value":1925290135578099717,"note":"Value kept but may cause issues"} 
[2026-08-19 19:05:47] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,195,85,24,241,157,16,146,160,222,45,78,41,10,66,179,143,192,1,240,166,227,26,215,4,113,205,120,178,152,40,239,51,2,173,5,117,53],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1455620302,"validated":0}]} 
[2026-08-19 19:05:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":266257907581168,"timestamp_seconds":266257907581.168,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:05:47] 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-08-19 19:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509410048001,"66":12722,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509410048001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:05:47] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:05:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509410048001,"power":12722,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":158186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:05:47] local.INFO: GPS data processed {"connection_id":158186,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:05:47] local.INFO: Acknowledgment sent {"connection_id":158186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:05:59] local.INFO: TCP Data received {"connection_id":157823,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:05:59] local.INFO: Processing buffer {"connection_id":157823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:05:59] local.INFO: IMEI packet received {"connection_id":157823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":157823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:06:04] local.INFO: TCP Data received {"connection_id":157823,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:06:04] local.INFO: Processing buffer {"connection_id":157823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:06:04] local.INFO: IMEI packet received {"connection_id":157823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":157823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:06:05] local.INFO: TCP Data received {"connection_id":157823,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:06:05] local.INFO: Processing buffer {"connection_id":157823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:06:05] local.INFO: Packet analysis {"connection_id":157823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:06:05] local.INFO: Extracted packet for processing {"connection_id":157823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:06:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509417216001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966168064,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787146466000,"timestamp_ms":1787146466000,"timestamp_seconds":1787146466,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3af2d0"} 
[2026-08-19 19:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 19:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509417216001,"66":26408,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966168064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509417216001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:06:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:06:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966168064,"description":"Unknown IO ID 44"} 
[2026-08-19 19:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509417216001,"power":26408,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966168064}} 
[2026-08-19 19:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":157823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:06:05] local.INFO: GPS data processed {"connection_id":157823,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:06:05] local.INFO: Acknowledgment sent {"connection_id":157823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:06:08] local.INFO: TCP Data received {"connection_id":159038,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:06:08] local.INFO: Processing buffer {"connection_id":159038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:06:08] local.INFO: IMEI packet received {"connection_id":159038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":159038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:06:13] local.INFO: TCP Data received {"connection_id":159038,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:06:13] local.INFO: Processing buffer {"connection_id":159038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:06:13] local.INFO: IMEI packet received {"connection_id":159038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":159038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:06:14] local.INFO: TCP Data received {"connection_id":159038,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3ac7d8012d181e400721aed8004f00d227..."} 
[2026-08-19 19:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3ac7d8012d181e400721aed8004f00d227..."} 
[2026-08-19 19:06:14] local.INFO: Processing buffer {"connection_id":159038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3ac7d8012d181e400721aed8004f00d227..."} 
[2026-08-19 19:06:14] local.INFO: Packet analysis {"connection_id":159038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:06:14] local.INFO: Extracted packet for processing {"connection_id":159038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:06:14] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647960,"longitude_deg":75.6555328,"latitude_deg":11.964796,"altitude":79,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aed8","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509487104001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982227377422336,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585645568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06: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-08-19 19:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787146455000,"timestamp_ms":1787146455000,"timestamp_seconds":1787146455,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3ac7d8"} 
[2026-08-19 19:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:06: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-08-19 19: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":86,"data_length":795,"current_offset":136} 
[2026-08-19 19:06:14] 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-08-19 19: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-08-19 19:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509487104001,"66":12341,"105":206,"83":41984,"24":0,"16":13982227377422336,"45":1737896905585645568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509487104001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:06:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:06:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982227377422336,"km_value":13982227377422.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585645568,"description":"Unknown IO ID 45"} 
[2026-08-19 19:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509487104001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585645568}} 
[2026-08-19 19:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":159038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:06:14] local.INFO: GPS data processed {"connection_id":159038,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:06:14] local.INFO: Acknowledgment sent {"connection_id":159038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:06:18] local.INFO: TCP Data received {"connection_id":158186,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:06:18] local.INFO: Processing buffer {"connection_id":158186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:06:18] local.INFO: Packet analysis {"connection_id":158186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:06:18] local.INFO: Extracted packet for processing {"connection_id":158186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:06:18] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509410048001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787146434000,"timestamp_ms":1787146434000,"timestamp_seconds":1787146434,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3a75d0"} 
[2026-08-19 19:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 19:06:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:18] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:18] local.WARNING: Large IO value detected {"io_id":215,"raw_value":5814147118945804288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455620302,"corrected_to":0} 
[2026-08-19 19:06:18] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2147866447,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:18] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2463629312,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3612342272,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:18] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57797765757818171,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:18] local.WARNING: Large IO value detected {"io_id":53,"raw_value":1925290135578099717,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:18] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,195,85,24,241,157,16,146,160,222,45,78,41,10,66,179,143,192,1,240,166,227,26,215,4,113,205,120,178,152,40,239,51,2,173,5,117,53],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1455620302,"validated":0}]} 
[2026-08-19 19:06:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":266257907581168,"timestamp_seconds":266257907581.168,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:06:18] 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-08-19 19:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509410048001,"66":12722,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509410048001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:06:18] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:06:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509410048001,"power":12722,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":158186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:06:18] local.INFO: GPS data processed {"connection_id":158186,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:06:18] local.INFO: Acknowledgment sent {"connection_id":158186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:06:37] local.INFO: TCP Data received {"connection_id":157823,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:06:37] local.INFO: Processing buffer {"connection_id":157823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:06:37] local.INFO: Packet analysis {"connection_id":157823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:06:37] local.INFO: Extracted packet for processing {"connection_id":157823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:06:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509417216001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966168064,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787146466000,"timestamp_ms":1787146466000,"timestamp_seconds":1787146466,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3af2d0"} 
[2026-08-19 19:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 19:06:37] 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-08-19 19:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509417216001,"66":26408,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966168064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509417216001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:06:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:06:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966168064,"description":"Unknown IO ID 44"} 
[2026-08-19 19:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509417216001,"power":26408,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966168064}} 
[2026-08-19 19:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":157823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:06:37] local.INFO: GPS data processed {"connection_id":157823,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:06:37] local.INFO: Acknowledgment sent {"connection_id":157823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:06:41] local.INFO: TCP Data received {"connection_id":159039,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:06:41] local.INFO: Processing buffer {"connection_id":159039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:06:41] local.INFO: IMEI packet received {"connection_id":159039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":159039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:06:45] local.INFO: TCP Data received {"connection_id":159038,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3b19e0012d181e400721aed8004f00d226..."} 
[2026-08-19 19:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3b19e0012d181e400721aed8004f00d226..."} 
[2026-08-19 19:06:45] local.INFO: Processing buffer {"connection_id":159038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3b19e0012d181e400721aed8004f00d226..."} 
[2026-08-19 19:06:45] local.INFO: Packet analysis {"connection_id":159038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3b"} 
[2026-08-19 19:06:45] local.INFO: Extracted packet for processing {"connection_id":159038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3b"} 
[2026-08-19 19:06:45] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647960,"longitude_deg":75.6555328,"latitude_deg":11.964796,"altitude":79,"angle":210,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aed8","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509492480001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982227377422336,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585645568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06: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-08-19 19:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787146476000,"timestamp_ms":1787146476000,"timestamp_seconds":1787146476,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3b19e0"} 
[2026-08-19 19:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-19 19:06:45] 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-08-19 19: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-08-19 19:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509492480001,"66":12341,"105":206,"83":41984,"24":0,"16":13982227377422336,"45":1737896905585645568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509492480001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:06:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:06:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982227377422336,"km_value":13982227377422.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585645568,"description":"Unknown IO ID 45"} 
[2026-08-19 19:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509492480001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585645568}} 
[2026-08-19 19:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":159038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:06:46] local.INFO: GPS data processed {"connection_id":159038,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:06:46] local.INFO: Acknowledgment sent {"connection_id":159038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:06:46] local.INFO: TCP Data received {"connection_id":159039,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:06:46] local.INFO: Processing buffer {"connection_id":159039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:06:46] local.INFO: IMEI packet received {"connection_id":159039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":159039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:06:47] local.INFO: TCP Data received {"connection_id":159039,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:06:47] local.INFO: Processing buffer {"connection_id":159039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:06:47] local.INFO: Packet analysis {"connection_id":159039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:06:47] local.INFO: Extracted packet for processing {"connection_id":159039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:06:47] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 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-08-19 19:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509410048001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787146434000,"timestamp_ms":1787146434000,"timestamp_seconds":1787146434,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3a75d0"} 
[2026-08-19 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-08-19 19:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 19:06:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:47] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:47] local.WARNING: Large IO value detected {"io_id":215,"raw_value":5814147118945804288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455620302,"corrected_to":0} 
[2026-08-19 19:06:47] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2147866447,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:47] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2463629312,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3612342272,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:47] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57797765757818171,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:47] local.WARNING: Large IO value detected {"io_id":53,"raw_value":1925290135578099717,"note":"Value kept but may cause issues"} 
[2026-08-19 19:06:47] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,195,85,24,241,157,16,146,160,222,45,78,41,10,66,179,143,192,1,240,166,227,26,215,4,113,205,120,178,152,40,239,51,2,173,5,117,53],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1455620302,"validated":0}]} 
[2026-08-19 19:06:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":266257907581168,"timestamp_seconds":266257907581.168,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 19:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":159039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":159039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":159039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:06:47] 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-08-19 19:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509410048001,"66":12722,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509410048001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:06:47] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:06:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509410048001,"power":12722,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":159039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:06:47] local.INFO: GPS data processed {"connection_id":159039,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:06:47] local.INFO: Acknowledgment sent {"connection_id":159039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:06:58] local.INFO: TCP Data received {"connection_id":158187,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:06:58] local.INFO: Processing buffer {"connection_id":158187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:06:58] local.INFO: IMEI packet received {"connection_id":158187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":158187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:07:04] local.INFO: TCP Data received {"connection_id":158187,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:07:04] local.INFO: Processing buffer {"connection_id":158187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:07:04] local.INFO: IMEI packet received {"connection_id":158187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":158187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:07:05] local.INFO: TCP Data received {"connection_id":158187,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:07:05] local.INFO: Processing buffer {"connection_id":158187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:07:05] local.INFO: Packet analysis {"connection_id":158187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:07:05] local.INFO: Extracted packet for processing {"connection_id":158187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:07:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509417216001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966168064,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787146466000,"timestamp_ms":1787146466000,"timestamp_seconds":1787146466,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3af2d0"} 
[2026-08-19 19:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 19:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509417216001,"66":26408,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966168064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509417216001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:07:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:07:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966168064,"description":"Unknown IO ID 44"} 
[2026-08-19 19:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509417216001,"power":26408,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966168064}} 
[2026-08-19 19:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":158187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:07:05] local.INFO: GPS data processed {"connection_id":158187,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:07:05] local.INFO: Acknowledgment sent {"connection_id":158187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:07:08] local.INFO: TCP Data received {"connection_id":160364,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:07:08] local.INFO: Processing buffer {"connection_id":160364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:07:08] local.INFO: IMEI packet received {"connection_id":160364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":160364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:07:13] local.INFO: TCP Data received {"connection_id":160364,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:07:13] local.INFO: Processing buffer {"connection_id":160364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:07:13] local.INFO: IMEI packet received {"connection_id":160364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":160364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:07:14] local.INFO: TCP Data received {"connection_id":160364,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3b6be8012d181e400721aed8004f00d226..."} 
[2026-08-19 19:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3b6be8012d181e400721aed8004f00d226..."} 
[2026-08-19 19:07:14] local.INFO: Processing buffer {"connection_id":160364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3b6be8012d181e400721aed8004f00d226..."} 
[2026-08-19 19:07:14] local.INFO: Packet analysis {"connection_id":160364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3b"} 
[2026-08-19 19:07:14] local.INFO: Extracted packet for processing {"connection_id":160364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3b"} 
[2026-08-19 19:07:14] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647960,"longitude_deg":75.6555328,"latitude_deg":11.964796,"altitude":79,"angle":210,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aed8","is_valid_coordinates":true} 
[2026-08-19 19:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509497856001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982227377422336,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585645568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07: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-08-19 19:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787146497000,"timestamp_ms":1787146497000,"timestamp_seconds":1787146497,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3b6be8"} 
[2026-08-19 19:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:07: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-08-19 19:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-19 19:07:14] 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-08-19 19:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509497856001,"66":12298,"105":206,"83":41984,"24":0,"16":13982227377422336,"45":1737896905585645568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509497856001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:07:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:07:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982227377422336,"km_value":13982227377422.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585645568,"description":"Unknown IO ID 45"} 
[2026-08-19 19:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509497856001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585645568}} 
[2026-08-19 19:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":160364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:07:14] local.INFO: GPS data processed {"connection_id":160364,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:07:14] local.INFO: Acknowledgment sent {"connection_id":160364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:07:18] local.INFO: TCP Data received {"connection_id":159039,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:07:18] local.INFO: Processing buffer {"connection_id":159039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:07:18] local.INFO: Packet analysis {"connection_id":159039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:07:18] local.INFO: Extracted packet for processing {"connection_id":159039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:07:18] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509410048001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787146434000,"timestamp_ms":1787146434000,"timestamp_seconds":1787146434,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3a75d0"} 
[2026-08-19 19:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 19:07:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:18] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:18] local.WARNING: Large IO value detected {"io_id":215,"raw_value":5814147118945804288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455620302,"corrected_to":0} 
[2026-08-19 19:07:18] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2147866447,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:18] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2463629312,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3612342272,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:18] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57797765757818171,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:18] local.WARNING: Large IO value detected {"io_id":53,"raw_value":1925290135578099717,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:18] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,195,85,24,241,157,16,146,160,222,45,78,41,10,66,179,143,192,1,240,166,227,26,215,4,113,205,120,178,152,40,239,51,2,173,5,117,53],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1455620302,"validated":0}]} 
[2026-08-19 19:07:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":266257907581168,"timestamp_seconds":266257907581.168,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:07:18] 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-08-19 19:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509410048001,"66":12722,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509410048001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:07:18] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:07:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509410048001,"power":12722,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":159039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:07:18] local.INFO: GPS data processed {"connection_id":159039,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:07:18] local.INFO: Acknowledgment sent {"connection_id":159039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:07:37] local.INFO: TCP Data received {"connection_id":158187,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:07:37] local.INFO: Processing buffer {"connection_id":158187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:07:37] local.INFO: Packet analysis {"connection_id":158187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:07:37] local.INFO: Extracted packet for processing {"connection_id":158187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:07:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509417216001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966168064,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787146466000,"timestamp_ms":1787146466000,"timestamp_seconds":1787146466,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3af2d0"} 
[2026-08-19 19:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 19:07:37] 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-08-19 19:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509417216001,"66":26408,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966168064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509417216001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:07:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:07:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966168064,"description":"Unknown IO ID 44"} 
[2026-08-19 19:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509417216001,"power":26408,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966168064}} 
[2026-08-19 19:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":158187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:07:37] local.INFO: GPS data processed {"connection_id":158187,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:07:37] local.INFO: Acknowledgment sent {"connection_id":158187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:07:41] local.INFO: TCP Data received {"connection_id":160365,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:07:41] local.INFO: Processing buffer {"connection_id":160365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:07:41] local.INFO: IMEI packet received {"connection_id":160365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":160365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:07:46] local.INFO: TCP Data received {"connection_id":160364,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3bbdf0012d181e400721aed8004f00d226..."} 
[2026-08-19 19:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3bbdf0012d181e400721aed8004f00d226..."} 
[2026-08-19 19:07:46] local.INFO: Processing buffer {"connection_id":160364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3bbdf0012d181e400721aed8004f00d226..."} 
[2026-08-19 19:07:46] local.INFO: Packet analysis {"connection_id":160364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3b"} 
[2026-08-19 19:07:46] local.INFO: Extracted packet for processing {"connection_id":160364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3b"} 
[2026-08-19 19:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647960,"longitude_deg":75.6555328,"latitude_deg":11.964796,"altitude":79,"angle":210,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aed8","is_valid_coordinates":true} 
[2026-08-19 19:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509503232001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982227377422336,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585645568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787146518000,"timestamp_ms":1787146518000,"timestamp_seconds":1787146518,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3bbdf0"} 
[2026-08-19 19:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:07: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-08-19 19:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-19 19:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:46] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185649,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:46] local.WARNING: Large IO value detected {"io_id":172,"raw_value":-4395513236313604095,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":1889591752615860254,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:46] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513884075238293714,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:46] local.WARNING: Large IO value detected {"io_id":79,"raw_value":59152626062721024,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:46] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:46] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3491979443325960398,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2933391439,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-19 19:07:46] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:46] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2898460672,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:46] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,172,160,25,45,64,174,79,38,10,66,199,39,117,1,240,86,227,26,33,4,113,205,209,30,216,36,239,48,2,49,7,40],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-19 19:07:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692780989646897152,"timestamp_seconds":5692780989646897.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509503232001,"66":12265,"105":206,"83":41984,"24":0,"16":13982227377422336,"45":1737896905585645568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509503232001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:07:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982227377422336,"km_value":13982227377422.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585645568,"description":"Unknown IO ID 45"} 
[2026-08-19 19:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509503232001,"power":12265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585645568}} 
[2026-08-19 19:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":160364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:07:46] local.INFO: GPS data processed {"connection_id":160364,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:07:46] local.INFO: Acknowledgment sent {"connection_id":160364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:07:46] local.INFO: TCP Data received {"connection_id":160365,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:07:46] local.INFO: Processing buffer {"connection_id":160365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:07:46] local.INFO: IMEI packet received {"connection_id":160365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":160365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:07:47] local.INFO: TCP Data received {"connection_id":160365,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:07:47] local.INFO: Processing buffer {"connection_id":160365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:07:47] local.INFO: Packet analysis {"connection_id":160365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:07:47] local.INFO: Extracted packet for processing {"connection_id":160365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:07:47] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509410048001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787146434000,"timestamp_ms":1787146434000,"timestamp_seconds":1787146434,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3a75d0"} 
[2026-08-19 19:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 19:07:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:47] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:47] local.WARNING: Large IO value detected {"io_id":215,"raw_value":5814147118945804288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455620302,"corrected_to":0} 
[2026-08-19 19:07:47] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2147866447,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:47] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2463629312,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3612342272,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:47] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57797765757818171,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:47] local.WARNING: Large IO value detected {"io_id":53,"raw_value":1925290135578099717,"note":"Value kept but may cause issues"} 
[2026-08-19 19:07:47] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,195,85,24,241,157,16,146,160,222,45,78,41,10,66,179,143,192,1,240,166,227,26,215,4,113,205,120,178,152,40,239,51,2,173,5,117,53],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1455620302,"validated":0}]} 
[2026-08-19 19:07:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":266257907581168,"timestamp_seconds":266257907581.168,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:07:47] 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-08-19 19:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509410048001,"66":12722,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509410048001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:07:47] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:07:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509410048001,"power":12722,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":160365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:07:47] local.INFO: GPS data processed {"connection_id":160365,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:07:47] local.INFO: Acknowledgment sent {"connection_id":160365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:08:03] local.INFO: TCP Data received {"connection_id":158188,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:08:03] local.INFO: Processing buffer {"connection_id":158188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:08:03] local.INFO: IMEI packet received {"connection_id":158188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":158188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:08:05] local.INFO: TCP Data received {"connection_id":158188,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:08:05] local.INFO: Processing buffer {"connection_id":158188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:08:05] local.INFO: Packet analysis {"connection_id":158188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:08:05] local.INFO: Extracted packet for processing {"connection_id":158188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:08:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509417216001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966168064,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787146466000,"timestamp_ms":1787146466000,"timestamp_seconds":1787146466,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3af2d0"} 
[2026-08-19 19:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 19:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509417216001,"66":26408,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966168064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509417216001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:08:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:08:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966168064,"description":"Unknown IO ID 44"} 
[2026-08-19 19:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509417216001,"power":26408,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966168064}} 
[2026-08-19 19:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":158188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:08:05] local.INFO: GPS data processed {"connection_id":158188,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:08:05] local.INFO: Acknowledgment sent {"connection_id":158188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:08:08] local.INFO: TCP Data received {"connection_id":157824,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:08:08] local.INFO: Processing buffer {"connection_id":157824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:08:08] local.INFO: IMEI packet received {"connection_id":157824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":157824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:08:11] local.INFO: TCP Data received {"connection_id":157824,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:08:11] local.INFO: Processing buffer {"connection_id":157824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:08:11] local.INFO: IMEI packet received {"connection_id":157824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":157824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:08:13] local.INFO: TCP Data received {"connection_id":157824,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:08:13] local.INFO: Processing buffer {"connection_id":157824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:08:13] local.INFO: IMEI packet received {"connection_id":157824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":157824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:08:13] local.INFO: TCP Data received {"connection_id":157824,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3c0ff8012d181e400721aed8004f00d227..."} 
[2026-08-19 19:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3c0ff8012d181e400721aed8004f00d227..."} 
[2026-08-19 19:08:13] local.INFO: Processing buffer {"connection_id":157824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3c0ff8012d181e400721aed8004f00d227..."} 
[2026-08-19 19:08:13] local.INFO: Packet analysis {"connection_id":157824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3c"} 
[2026-08-19 19:08:13] local.INFO: Extracted packet for processing {"connection_id":157824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3c"} 
[2026-08-19 19:08:13] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647960,"longitude_deg":75.6555328,"latitude_deg":11.964796,"altitude":79,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aed8","is_valid_coordinates":true} 
[2026-08-19 19:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509508608001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982227377422336,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585645568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:13] 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-08-19 19:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787146539000,"timestamp_ms":1787146539000,"timestamp_seconds":1787146539,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3c0ff8"} 
[2026-08-19 19:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:08:13] 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-08-19 19:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-19 19:08:13] 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-08-19 19:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509508608001,"66":12287,"107":206,"83":41984,"24":0,"16":13982227377422336,"45":1737896905585645568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-19 19:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509508608001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:08:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-19 19:08:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982227377422336,"km_value":13982227377422.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585645568,"description":"Unknown IO ID 45"} 
[2026-08-19 19:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509508608001,"power":12287,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585645568}} 
[2026-08-19 19:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":157824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:08:14] local.INFO: GPS data processed {"connection_id":157824,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:08:14] local.INFO: Acknowledgment sent {"connection_id":157824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:08:18] local.INFO: TCP Data received {"connection_id":160365,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:08:18] local.INFO: Processing buffer {"connection_id":160365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:08:18] local.INFO: Packet analysis {"connection_id":160365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:08:18] local.INFO: Extracted packet for processing {"connection_id":160365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:08:18] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509410048001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787146434000,"timestamp_ms":1787146434000,"timestamp_seconds":1787146434,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3a75d0"} 
[2026-08-19 19:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 19:08:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:18] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:18] local.WARNING: Large IO value detected {"io_id":215,"raw_value":5814147118945804288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455620302,"corrected_to":0} 
[2026-08-19 19:08:18] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2147866447,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:18] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2463629312,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3612342272,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:18] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57797765757818171,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:18] local.WARNING: Large IO value detected {"io_id":53,"raw_value":1925290135578099717,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:18] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,195,85,24,241,157,16,146,160,222,45,78,41,10,66,179,143,192,1,240,166,227,26,215,4,113,205,120,178,152,40,239,51,2,173,5,117,53],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1455620302,"validated":0}]} 
[2026-08-19 19:08:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":266257907581168,"timestamp_seconds":266257907581.168,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:08:18] 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-08-19 19:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509410048001,"66":12722,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509410048001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:08:18] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:08:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509410048001,"power":12722,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":160365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:08:18] local.INFO: GPS data processed {"connection_id":160365,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:08:18] local.INFO: Acknowledgment sent {"connection_id":160365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:08:36] local.INFO: TCP Data received {"connection_id":158188,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:08:36] local.INFO: Processing buffer {"connection_id":158188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:08:36] local.INFO: Packet analysis {"connection_id":158188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:08:36] local.INFO: Extracted packet for processing {"connection_id":158188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:08:36] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509417216001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966168064,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787146466000,"timestamp_ms":1787146466000,"timestamp_seconds":1787146466,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3af2d0"} 
[2026-08-19 19:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 19:08:36] 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-08-19 19:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509417216001,"66":26408,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966168064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509417216001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:08:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:08:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966168064,"description":"Unknown IO ID 44"} 
[2026-08-19 19:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509417216001,"power":26408,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966168064}} 
[2026-08-19 19:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":158188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:08:36] local.INFO: GPS data processed {"connection_id":158188,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:08:36] local.INFO: Acknowledgment sent {"connection_id":158188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:08:45] local.INFO: TCP Data received {"connection_id":157824,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3e1780012d1828c007219f480052006c26..."} 
[2026-08-19 19:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3e1780012d1828c007219f480052006c26..."} 
[2026-08-19 19:08:45] local.INFO: Processing buffer {"connection_id":157824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3e1780012d1828c007219f480052006c26..."} 
[2026-08-19 19:08:45] local.INFO: Packet analysis {"connection_id":157824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3e"} 
[2026-08-19 19:08:45] local.INFO: Extracted packet for processing {"connection_id":157824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3e"} 
[2026-08-19 19:08:45] local.INFO: GPS Element Parsed {"raw_longitude":756558016,"raw_latitude":119643976,"longitude_deg":75.6558016,"latitude_deg":11.9643976,"altitude":82,"angle":108,"satellites":38,"speed":7,"hex_longitude":"2d1828c0","hex_latitude":"07219f48","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509547776001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982493665394688,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740641286607577088,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08: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-08-19 19:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787146672000,"timestamp_ms":1787146672000,"timestamp_seconds":1787146672,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3e1780"} 
[2026-08-19 19:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:08: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-08-19 19: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 19:08:45] 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-08-19 19: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-08-19 19:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509547776001,"66":12776,"105":206,"83":41984,"24":7,"16":13982493665394688,"45":1740641286607577088},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509547776001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:08:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:08:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982493665394688,"km_value":13982493665394.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740641286607577088,"description":"Unknown IO ID 45"} 
[2026-08-19 19:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509547776001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1740641286607577088}} 
[2026-08-19 19:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":157824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:08:45] local.INFO: GPS data processed {"connection_id":157824,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:08:45] local.INFO: Acknowledgment sent {"connection_id":157824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:08:46] local.INFO: TCP Data received {"connection_id":157825,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:08:46] local.INFO: Processing buffer {"connection_id":157825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:08:46] local.INFO: IMEI packet received {"connection_id":157825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":157825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:08:51] local.INFO: TCP Data received {"connection_id":157825,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:08:51] local.INFO: Processing buffer {"connection_id":157825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:08:51] local.INFO: IMEI packet received {"connection_id":157825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":157825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:08:51] local.INFO: TCP Data received {"connection_id":157825,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:08:51] local.INFO: Processing buffer {"connection_id":157825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3a75d0012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:08:51] local.INFO: Packet analysis {"connection_id":157825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:08:51] local.INFO: Extracted packet for processing {"connection_id":157825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:08:51] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509410048001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787146434000,"timestamp_ms":1787146434000,"timestamp_seconds":1787146434,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3a75d0"} 
[2026-08-19 19:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 19:08:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:51] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:51] local.WARNING: Large IO value detected {"io_id":215,"raw_value":5814147118945804288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455620302,"corrected_to":0} 
[2026-08-19 19:08:51] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2147866447,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:51] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2463629312,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3612342272,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:51] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57797765757818171,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:51] local.WARNING: Large IO value detected {"io_id":53,"raw_value":1925290135578099717,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:51] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,195,85,24,241,157,16,146,160,222,45,78,41,10,66,179,143,192,1,240,166,227,26,215,4,113,205,120,178,152,40,239,51,2,173,5,117,53],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1455620302,"validated":0}]} 
[2026-08-19 19:08:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":266257907581168,"timestamp_seconds":266257907581.168,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:08:51] 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-08-19 19:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509410048001,"66":12722,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509410048001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:08:51] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:08:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509410048001,"power":12722,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":157825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:08:52] local.INFO: GPS data processed {"connection_id":157825,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:08:52] local.INFO: Acknowledgment sent {"connection_id":157825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:08:55] local.INFO: TCP Data received {"connection_id":157825,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3f01e0012d7cb04005d74e80000000f228..."} 
[2026-08-19 19:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3f01e0012d7cb04005d74e80000000f228..."} 
[2026-08-19 19:08:55] local.INFO: Processing buffer {"connection_id":157825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3f01e0012d7cb04005d74e80000000f228..."} 
[2026-08-19 19:08:55] local.INFO: Packet analysis {"connection_id":157825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:08:55] local.INFO: Extracted packet for processing {"connection_id":157825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:08:55] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":40,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:08:55] 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-08-19 19:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509487104001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650435399680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787146732000,"timestamp_ms":1787146732000,"timestamp_seconds":1787146732,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3f01e0"} 
[2026-08-19 19:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:08:55] 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-08-19 19:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 19:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":157825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":157825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":157825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509487104001,"66":12613,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984751650435399680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509487104001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:08:55] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:08:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650435399680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509487104001,"power":12613,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650435399680}} 
[2026-08-19 19:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":157825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:08:55] local.INFO: GPS data processed {"connection_id":157825,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:08:55] local.INFO: Acknowledgment sent {"connection_id":157825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:08:59] local.INFO: TCP Data received {"connection_id":160366,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:08:59] local.INFO: Processing buffer {"connection_id":160366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:08:59] local.INFO: IMEI packet received {"connection_id":160366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":160366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:09:04] local.INFO: TCP Data received {"connection_id":160366,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:09:04] local.INFO: Processing buffer {"connection_id":160366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:09:04] local.INFO: IMEI packet received {"connection_id":160366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":160366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:09:05] local.INFO: TCP Data received {"connection_id":160366,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:09:05] local.INFO: Processing buffer {"connection_id":160366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:09:05] local.INFO: Packet analysis {"connection_id":160366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:09:05] local.INFO: Extracted packet for processing {"connection_id":160366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:09:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509417216001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966168064,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787146466000,"timestamp_ms":1787146466000,"timestamp_seconds":1787146466,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3af2d0"} 
[2026-08-19 19:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 19:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509417216001,"66":26408,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966168064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509417216001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:09:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:09:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966168064,"description":"Unknown IO ID 44"} 
[2026-08-19 19:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509417216001,"power":26408,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966168064}} 
[2026-08-19 19:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":160366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:09:05] local.INFO: GPS data processed {"connection_id":160366,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:09:05] local.INFO: Acknowledgment sent {"connection_id":160366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:09:09] local.INFO: TCP Data received {"connection_id":160366,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:09:09] local.INFO: Processing buffer {"connection_id":160366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:09:09] local.INFO: Packet analysis {"connection_id":160366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:09:09] local.INFO: Extracted packet for processing {"connection_id":160366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:09:09] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509417216001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966168064,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787146466000,"timestamp_ms":1787146466000,"timestamp_seconds":1787146466,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3af2d0"} 
[2026-08-19 19:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 19:09:09] 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-08-19 19: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-08-19 19:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509417216001,"66":26408,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966168064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509417216001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:09:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:09:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966168064,"description":"Unknown IO ID 44"} 
[2026-08-19 19:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509417216001,"power":26408,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966168064}} 
[2026-08-19 19:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":160366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:09:09] local.INFO: GPS data processed {"connection_id":160366,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:09:09] local.INFO: Acknowledgment sent {"connection_id":160366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:09:13] local.INFO: TCP Data received {"connection_id":159040,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:09:13] local.INFO: Processing buffer {"connection_id":159040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:09:13] local.INFO: IMEI packet received {"connection_id":159040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":159040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:09:16] local.INFO: TCP Data received {"connection_id":159040,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:09:16] local.INFO: Processing buffer {"connection_id":159040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:09:16] local.INFO: IMEI packet received {"connection_id":159040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":159040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:09:17] local.INFO: TCP Data received {"connection_id":159040,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3e1b68012d18294007219ef00052007b27..."} 
[2026-08-19 19:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3e1b68012d18294007219ef00052007b27..."} 
[2026-08-19 19:09:17] local.INFO: Processing buffer {"connection_id":159040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3e1b68012d18294007219ef00052007b27..."} 
[2026-08-19 19:09:17] local.INFO: Packet analysis {"connection_id":159040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3e"} 
[2026-08-19 19:09:17] local.INFO: Extracted packet for processing {"connection_id":159040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3e"} 
[2026-08-19 19:09:17] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643888,"longitude_deg":75.6558144,"latitude_deg":11.9643888,"altitude":82,"angle":123,"satellites":39,"speed":5,"hex_longitude":"2d182940","hex_latitude":"07219ef0","is_valid_coordinates":true} 
[2026-08-19 19:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509548032001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982497960361984,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392840087552,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787146673000,"timestamp_ms":1787146673000,"timestamp_seconds":1787146673,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3e1b68"} 
[2026-08-19 19:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:09: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-08-19 19:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-19 19:09:17] 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-08-19 19:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509548032001,"66":12667,"105":206,"83":41984,"24":5,"16":13982497960361984,"45":1740852392840087552},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509548032001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:09:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:09:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982497960361984,"km_value":13982497960361.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392840087552,"description":"Unknown IO ID 45"} 
[2026-08-19 19:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509548032001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1740852392840087552}} 
[2026-08-19 19:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":159040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:09:17] local.INFO: GPS data processed {"connection_id":159040,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:09:17] local.INFO: Acknowledgment sent {"connection_id":159040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:09:18] local.INFO: TCP Data received {"connection_id":159040,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3e2720012d182a4007219e480052008a27..."} 
[2026-08-19 19:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3e2720012d182a4007219e480052008a27..."} 
[2026-08-19 19:09:18] local.INFO: Processing buffer {"connection_id":159040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3e2720012d182a4007219e480052008a27..."} 
[2026-08-19 19:09:18] local.INFO: Packet analysis {"connection_id":159040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3e"} 
[2026-08-19 19:09:18] local.INFO: Extracted packet for processing {"connection_id":159040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3e"} 
[2026-08-19 19:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643720,"longitude_deg":75.65584,"latitude_deg":11.964372,"altitude":82,"angle":138,"satellites":39,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219e48","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509548288001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982515140231168,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328420352,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787146676000,"timestamp_ms":1787146676000,"timestamp_seconds":1787146676,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3e2720"} 
[2026-08-19 19:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:09:18] 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-08-19 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-19 19:09:18] 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-08-19 19: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-08-19 19:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509548288001,"66":12667,"105":206,"83":41984,"24":0,"16":13982515140231168,"45":1740993130328420352},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509548288001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:09:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:09:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982515140231168,"km_value":13982515140231.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328420352,"description":"Unknown IO ID 45"} 
[2026-08-19 19:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509548288001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740993130328420352}} 
[2026-08-19 19:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":159040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:09:18] local.INFO: GPS data processed {"connection_id":159040,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:09:18] local.INFO: Acknowledgment sent {"connection_id":159040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:09:26] local.INFO: TCP Data received {"connection_id":157825,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3f01e0012d7cb04005d74e80000000f228..."} 
[2026-08-19 19:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3f01e0012d7cb04005d74e80000000f228..."} 
[2026-08-19 19:09:26] local.INFO: Processing buffer {"connection_id":157825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3f01e0012d7cb04005d74e80000000f228..."} 
[2026-08-19 19:09:26] local.INFO: Packet analysis {"connection_id":157825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:09:26] local.INFO: Extracted packet for processing {"connection_id":157825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:09:26] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":40,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:09:26] 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-08-19 19:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509563392001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650435399680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787146732000,"timestamp_ms":1787146732000,"timestamp_seconds":1787146732,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3f01e0"} 
[2026-08-19 19:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:09:26] 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-08-19 19: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-19 19:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:09:26] 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-08-19 19:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509563392001,"66":12613,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984751650435399680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509563392001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:09:26] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:09:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650435399680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509563392001,"power":12613,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650435399680}} 
[2026-08-19 19:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":157825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:09:26] local.INFO: GPS data processed {"connection_id":157825,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:09:26] local.INFO: Acknowledgment sent {"connection_id":157825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:09:41] local.INFO: TCP Data received {"connection_id":158189,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:09:41] local.INFO: Processing buffer {"connection_id":158189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:09:41] local.INFO: IMEI packet received {"connection_id":158189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":158189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:09:41] local.INFO: TCP Data received {"connection_id":160366,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:09:41] local.INFO: Processing buffer {"connection_id":160366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:09:41] local.INFO: Packet analysis {"connection_id":160366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:09:41] local.INFO: Extracted packet for processing {"connection_id":160366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:09:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509417216001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966168064,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787146466000,"timestamp_ms":1787146466000,"timestamp_seconds":1787146466,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3af2d0"} 
[2026-08-19 19:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 19:09:41] 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-08-19 19:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509417216001,"66":26408,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966168064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509417216001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:09:41] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966168064,"description":"Unknown IO ID 44"} 
[2026-08-19 19:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509417216001,"power":26408,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966168064}} 
[2026-08-19 19:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":160366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:09:41] local.INFO: GPS data processed {"connection_id":160366,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:09:41] local.INFO: Acknowledgment sent {"connection_id":160366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:09:46] local.INFO: TCP Data received {"connection_id":158189,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:09:46] local.INFO: Processing buffer {"connection_id":158189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:09:46] local.INFO: IMEI packet received {"connection_id":158189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":158189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:09:47] local.INFO: TCP Data received {"connection_id":158189,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3f0d98012d7cb04005d74e80000000f228..."} 
[2026-08-19 19:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3f0d98012d7cb04005d74e80000000f228..."} 
[2026-08-19 19:09:47] local.INFO: Processing buffer {"connection_id":158189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3f0d98012d7cb04005d74e80000000f228..."} 
[2026-08-19 19:09:47] local.INFO: Packet analysis {"connection_id":158189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:09:47] local.INFO: Extracted packet for processing {"connection_id":158189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:09:47] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":40,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509563392001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650435399680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787146735000,"timestamp_ms":1787146735000,"timestamp_seconds":1787146735,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3f0d98"} 
[2026-08-19 19:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-19 19:09:47] 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-08-19 19:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:09:47] 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-08-19 19:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509563392001,"66":2775,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984751650435399680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509563392001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:09:47] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:09:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650435399680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509563392001,"power":2775,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650435399680}} 
[2026-08-19 19:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":158189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:09:47] local.INFO: GPS data processed {"connection_id":158189,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:09:47] local.INFO: Acknowledgment sent {"connection_id":158189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:09:49] local.INFO: TCP Data received {"connection_id":159040,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3e7928012d182a4007219e300052008a26..."} 
[2026-08-19 19:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3e7928012d182a4007219e300052008a26..."} 
[2026-08-19 19:09:49] local.INFO: Processing buffer {"connection_id":159040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3e7928012d182a4007219e300052008a26..."} 
[2026-08-19 19:09:49] local.INFO: Packet analysis {"connection_id":159040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3e"} 
[2026-08-19 19:09:49] local.INFO: Extracted packet for processing {"connection_id":159040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3e"} 
[2026-08-19 19:09:49] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643696,"longitude_deg":75.65584,"latitude_deg":11.9643696,"altitude":82,"angle":138,"satellites":38,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219e30","is_valid_coordinates":true} 
[2026-08-19 19:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509549056001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982515140231168,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305088000,"note":"Value kept but may cause issues"} 
[2026-08-19 19:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787146697000,"timestamp_ms":1787146697000,"timestamp_seconds":1787146697,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3e7928"} 
[2026-08-19 19:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:09: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-08-19 19:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-19 19:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":159040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":159040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":159040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509549056001,"66":12667,"105":206,"83":41984,"24":0,"16":13982515140231168,"45":1741274605305088000},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509549056001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:09:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:09:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982515140231168,"km_value":13982515140231.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305088000,"description":"Unknown IO ID 45"} 
[2026-08-19 19:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509549056001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605305088000}} 
[2026-08-19 19:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":159040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:09:49] local.INFO: GPS data processed {"connection_id":159040,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:09:49] local.INFO: Acknowledgment sent {"connection_id":159040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:09:58] local.INFO: TCP Data received {"connection_id":160367,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:09:58] local.INFO: Processing buffer {"connection_id":160367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:09:58] local.INFO: IMEI packet received {"connection_id":160367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":160367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:10:03] local.INFO: TCP Data received {"connection_id":160367,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:10:03] local.INFO: Processing buffer {"connection_id":160367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:10:03] local.INFO: IMEI packet received {"connection_id":160367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":160367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:10:04] local.INFO: TCP Data received {"connection_id":160367,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:10:04] local.INFO: Processing buffer {"connection_id":160367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3af2d0012ceb0780071a3b28001e013228..."} 
[2026-08-19 19:10:04] local.INFO: Packet analysis {"connection_id":160367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:10:04] local.INFO: Extracted packet for processing {"connection_id":160367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3a"} 
[2026-08-19 19:10:04] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509417216001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966168064,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787146466000,"timestamp_ms":1787146466000,"timestamp_seconds":1787146466,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3af2d0"} 
[2026-08-19 19:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:10: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-08-19 19:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 19:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509417216001,"66":26408,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966168064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509417216001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:10:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:10:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966168064,"description":"Unknown IO ID 44"} 
[2026-08-19 19:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509417216001,"power":26408,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966168064}} 
[2026-08-19 19:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":160367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:10:04] local.INFO: GPS data processed {"connection_id":160367,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:10:04] local.INFO: Acknowledgment sent {"connection_id":160367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:10:08] local.INFO: TCP Data received {"connection_id":158190,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:10:08] local.INFO: Processing buffer {"connection_id":158190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:10:08] local.INFO: IMEI packet received {"connection_id":158190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":158190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:10:08] local.INFO: TCP Data received {"connection_id":158190,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:10:08] local.INFO: Processing buffer {"connection_id":158190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:10:08] local.INFO: IMEI packet received {"connection_id":158190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":158190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:10:13] local.INFO: TCP Data received {"connection_id":158190,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:10:13] local.INFO: Processing buffer {"connection_id":158190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:10:13] local.INFO: IMEI packet received {"connection_id":158190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":158190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:10:14] local.INFO: TCP Data received {"connection_id":158190,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3ecb30012d182a4007219e300052008a28..."} 
[2026-08-19 19:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3ecb30012d182a4007219e300052008a28..."} 
[2026-08-19 19:10:14] local.INFO: Processing buffer {"connection_id":158190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3ecb30012d182a4007219e300052008a28..."} 
[2026-08-19 19:10:14] local.INFO: Packet analysis {"connection_id":158190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3e"} 
[2026-08-19 19:10:14] local.INFO: Extracted packet for processing {"connection_id":158190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3e"} 
[2026-08-19 19:10:14] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643696,"longitude_deg":75.65584,"latitude_deg":11.9643696,"altitude":82,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219e30","is_valid_coordinates":true} 
[2026-08-19 19:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509554432001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982515140231168,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305081856,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10: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-08-19 19:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787146718000,"timestamp_ms":1787146718000,"timestamp_seconds":1787146718,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3ecb30"} 
[2026-08-19 19:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:10: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-08-19 19:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-19 19:10:14] 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-08-19 19:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509554432001,"66":12613,"105":206,"83":41984,"24":0,"16":13982515140231168,"45":1741274605305081856},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509554432001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:10:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:10:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982515140231168,"km_value":13982515140231.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305081856,"description":"Unknown IO ID 45"} 
[2026-08-19 19:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509554432001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605305081856}} 
[2026-08-19 19:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":158190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:10:14] local.INFO: GPS data processed {"connection_id":158190,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:10:14] local.INFO: Acknowledgment sent {"connection_id":158190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:10:14] local.INFO: TCP Data received {"connection_id":158190,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3f1d38012d182a4007219e300052008a28..."} 
[2026-08-19 19:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3f1d38012d182a4007219e300052008a28..."} 
[2026-08-19 19:10:14] local.INFO: Processing buffer {"connection_id":158190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3f1d38012d182a4007219e300052008a28..."} 
[2026-08-19 19:10:14] local.INFO: Packet analysis {"connection_id":158190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:10:14] local.INFO: Extracted packet for processing {"connection_id":158190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:10:14] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643696,"longitude_deg":75.65584,"latitude_deg":11.9643696,"altitude":82,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219e30","is_valid_coordinates":true} 
[2026-08-19 19:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509559808001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982515140231168,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305081856,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10: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-08-19 19:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787146739000,"timestamp_ms":1787146739000,"timestamp_seconds":1787146739,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3f1d38"} 
[2026-08-19 19:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:10: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-08-19 19:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-19 19:10: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-08-19 19:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509559808001,"66":13396,"105":206,"83":41984,"24":0,"16":13982515140231168,"45":1741274605305081856},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509559808001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:10:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:10:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982515140231168,"km_value":13982515140231.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305081856,"description":"Unknown IO ID 45"} 
[2026-08-19 19:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509559808001,"power":13396,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605305081856}} 
[2026-08-19 19:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":158190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:10:14] local.INFO: GPS data processed {"connection_id":158190,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:10:14] local.INFO: Acknowledgment sent {"connection_id":158190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:10:18] local.INFO: TCP Data received {"connection_id":158189,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3f0d98012d7cb04005d74e80000000f228..."} 
[2026-08-19 19:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3f0d98012d7cb04005d74e80000000f228..."} 
[2026-08-19 19:10:18] local.INFO: Processing buffer {"connection_id":158189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3f0d98012d7cb04005d74e80000000f228..."} 
[2026-08-19 19:10:18] local.INFO: Packet analysis {"connection_id":158189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:10:18] local.INFO: Extracted packet for processing {"connection_id":158189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:10:18] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":40,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509563392001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650435399680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787146735000,"timestamp_ms":1787146735000,"timestamp_seconds":1787146735,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3f0d98"} 
[2026-08-19 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-08-19 19:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-19 19:10:18] 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-08-19 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-08-19 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-08-19 19:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:10:18] 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-08-19 19:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509563392001,"66":2775,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984751650435399680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509563392001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:10:18] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:10:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650435399680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509563392001,"power":2775,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650435399680}} 
[2026-08-19 19:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":158189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:10:18] local.INFO: GPS data processed {"connection_id":158189,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:10:18] local.INFO: Acknowledgment sent {"connection_id":158189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:10:36] local.INFO: TCP Data received {"connection_id":160367,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:10:36] local.INFO: Processing buffer {"connection_id":160367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:10:36] local.INFO: Packet analysis {"connection_id":160367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:10:36] local.INFO: Extracted packet for processing {"connection_id":160367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:10:36] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509495296001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787146767000,"timestamp_ms":1787146767000,"timestamp_seconds":1787146767,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3f8a98"} 
[2026-08-19 19:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 19:10:36] 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-08-19 19:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509495296001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509495296001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:10:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:10:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509495296001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":160367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:10:36] local.INFO: GPS data processed {"connection_id":160367,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:10:36] local.INFO: Acknowledgment sent {"connection_id":160367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:10:41] local.INFO: TCP Data received {"connection_id":159041,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:10:41] local.INFO: Processing buffer {"connection_id":159041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:10:41] local.INFO: IMEI packet received {"connection_id":159041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":159041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:10:46] local.INFO: TCP Data received {"connection_id":158190,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3f6f40012d182a4007219e300052008a22..."} 
[2026-08-19 19:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3f6f40012d182a4007219e300052008a22..."} 
[2026-08-19 19:10:46] local.INFO: Processing buffer {"connection_id":158190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3f6f40012d182a4007219e300052008a22..."} 
[2026-08-19 19:10:46] local.INFO: Packet analysis {"connection_id":158190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:10:46] local.INFO: Extracted packet for processing {"connection_id":158190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:10:46] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643696,"longitude_deg":75.65584,"latitude_deg":11.9643696,"altitude":82,"angle":138,"satellites":34,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219e30","is_valid_coordinates":true} 
[2026-08-19 19:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509565184001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13982515140231168,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305081856,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787146760000,"timestamp_ms":1787146760000,"timestamp_seconds":1787146760,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3f6f40"} 
[2026-08-19 19:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:10: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-08-19 19:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-19 19:10:46] 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-08-19 19:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509565184001,"66":13439,"105":206,"83":41984,"24":0,"16":13982515140231168,"45":1741274605305081856},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-19 19:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509565184001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:10:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 19:10:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13982515140231168,"km_value":13982515140231.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305081856,"description":"Unknown IO ID 45"} 
[2026-08-19 19:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509565184001,"power":13439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605305081856}} 
[2026-08-19 19:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":158190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:10:46] local.INFO: GPS data processed {"connection_id":158190,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:10:46] local.INFO: Acknowledgment sent {"connection_id":158190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:10:46] local.INFO: TCP Data received {"connection_id":159041,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:10:46] local.INFO: Processing buffer {"connection_id":159041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:10:46] local.INFO: IMEI packet received {"connection_id":159041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":159041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:10:47] local.INFO: TCP Data received {"connection_id":159041,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3f0d98012d7cb04005d74e80000000f228..."} 
[2026-08-19 19:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3f0d98012d7cb04005d74e80000000f228..."} 
[2026-08-19 19:10:47] local.INFO: Processing buffer {"connection_id":159041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3f0d98012d7cb04005d74e80000000f228..."} 
[2026-08-19 19:10:47] local.INFO: Packet analysis {"connection_id":159041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:10:47] local.INFO: Extracted packet for processing {"connection_id":159041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:10:47] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":40,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509563392001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650435399680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787146735000,"timestamp_ms":1787146735000,"timestamp_seconds":1787146735,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3f0d98"} 
[2026-08-19 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-08-19 19:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-19 19:10:47] 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-08-19 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-08-19 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-08-19 19:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":159041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":159041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":159041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:10:47] 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-08-19 19:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509563392001,"66":2775,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984751650435399680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509563392001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:10:47] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:10:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650435399680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509563392001,"power":2775,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650435399680}} 
[2026-08-19 19:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":159041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:10:47] local.INFO: GPS data processed {"connection_id":159041,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:10:47] local.INFO: Acknowledgment sent {"connection_id":159041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:10:58] local.INFO: TCP Data received {"connection_id":159042,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:10:58] local.INFO: Processing buffer {"connection_id":159042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:10:58] local.INFO: IMEI packet received {"connection_id":159042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":159042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:11:04] local.INFO: TCP Data received {"connection_id":159042,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:11:04] local.INFO: Processing buffer {"connection_id":159042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:11:04] local.INFO: IMEI packet received {"connection_id":159042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":159042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:11:05] local.INFO: TCP Data received {"connection_id":159042,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:11:05] local.INFO: Processing buffer {"connection_id":159042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:11:05] local.INFO: Packet analysis {"connection_id":159042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:11:05] local.INFO: Extracted packet for processing {"connection_id":159042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:11:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509495296001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:11:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787146767000,"timestamp_ms":1787146767000,"timestamp_seconds":1787146767,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3f8a98"} 
[2026-08-19 19:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 19:11:05] 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-08-19 19:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509495296001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509495296001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:11:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:11:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509495296001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":159042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:11:05] local.INFO: GPS data processed {"connection_id":159042,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:11:05] local.INFO: Acknowledgment sent {"connection_id":159042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:11:06] local.INFO: TCP Data received {"connection_id":159043,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:11:06] local.INFO: Processing buffer {"connection_id":159043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:11:06] local.INFO: IMEI packet received {"connection_id":159043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":159043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:11:08] local.INFO: TCP Data received {"connection_id":159043,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:11:08] local.INFO: Processing buffer {"connection_id":159043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:11:08] local.INFO: IMEI packet received {"connection_id":159043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":159043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:11:13] local.INFO: TCP Data received {"connection_id":159043,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:11:13] local.INFO: Processing buffer {"connection_id":159043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:11:13] local.INFO: IMEI packet received {"connection_id":159043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":159043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:11:14] local.INFO: TCP Data received {"connection_id":159043,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a406558012d18c54007214b98004700ad26..."} 
[2026-08-19 19:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a406558012d18c54007214b98004700ad26..."} 
[2026-08-19 19:11:14] local.INFO: Processing buffer {"connection_id":159043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a406558012d18c54007214b98004700ad26..."} 
[2026-08-19 19:11:14] local.INFO: Packet analysis {"connection_id":159043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a40"} 
[2026-08-19 19:11:14] local.INFO: Extracted packet for processing {"connection_id":159043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a40"} 
[2026-08-19 19:11:14] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119622552,"longitude_deg":75.659808,"latitude_deg":11.9622552,"altitude":71,"angle":173,"satellites":38,"speed":37,"hex_longitude":"2d18c540","hex_latitude":"07214b98","is_valid_coordinates":true} 
[2026-08-19 19:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509586176001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13984791472898048,"note":"Value kept but may cause issues"} 
[2026-08-19 19:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784340276736862208,"note":"Value kept but may cause issues"} 
[2026-08-19 19:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787146823000,"timestamp_ms":1787146823000,"timestamp_seconds":1787146823,"priority":1,"record_length":96,"hex_timestamp":"000001a01a406558"} 
[2026-08-19 19:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:11:14] 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-08-19 19:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-19 19:11:14] 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-08-19 19:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509586176001,"66":13124,"103":206,"83":41984,"24":37,"16":13984791472898048,"45":1784340276736862208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 19:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509586176001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:11:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 19:11:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13984791472898048,"km_value":13984791472898.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784340276736862208,"description":"Unknown IO ID 45"} 
[2026-08-19 19:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509586176001,"power":13124,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1784340276736862208}} 
[2026-08-19 19:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":159043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:11:14] local.INFO: GPS data processed {"connection_id":159043,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:11:14] local.INFO: Acknowledgment sent {"connection_id":159043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:11:18] local.INFO: TCP Data received {"connection_id":159041,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3f0d98012d7cb04005d74e80000000f228..."} 
[2026-08-19 19:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3f0d98012d7cb04005d74e80000000f228..."} 
[2026-08-19 19:11:18] local.INFO: Processing buffer {"connection_id":159041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3f0d98012d7cb04005d74e80000000f228..."} 
[2026-08-19 19:11:18] local.INFO: Packet analysis {"connection_id":159041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:11:18] local.INFO: Extracted packet for processing {"connection_id":159041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:11:18] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":40,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509563392001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650435399680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787146735000,"timestamp_ms":1787146735000,"timestamp_seconds":1787146735,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3f0d98"} 
[2026-08-19 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-08-19 19:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-19 19:11:18] 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-08-19 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-08-19 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-08-19 19:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:11:18] 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-08-19 19:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509563392001,"66":2775,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984751650435399680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509563392001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:11:18] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:11:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650435399680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509563392001,"power":2775,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650435399680}} 
[2026-08-19 19:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":159041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:11:18] local.INFO: GPS data processed {"connection_id":159041,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:11:18] local.INFO: Acknowledgment sent {"connection_id":159041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:11:36] local.INFO: TCP Data received {"connection_id":159042,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:11:36] local.INFO: Processing buffer {"connection_id":159042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:11:36] local.INFO: Packet analysis {"connection_id":159042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:11:36] local.INFO: Extracted packet for processing {"connection_id":159042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:11:36] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509495296001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:11:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787146767000,"timestamp_ms":1787146767000,"timestamp_seconds":1787146767,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3f8a98"} 
[2026-08-19 19:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 19:11:36] 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-08-19 19:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509495296001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509495296001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:11:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:11:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509495296001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":159042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:11:36] local.INFO: GPS data processed {"connection_id":159042,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:11:36] local.INFO: Acknowledgment sent {"connection_id":159042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:11:41] local.INFO: TCP Data received {"connection_id":159044,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:11:41] local.INFO: Processing buffer {"connection_id":159044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:11:41] local.INFO: IMEI packet received {"connection_id":159044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":159044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:11:45] local.INFO: TCP Data received {"connection_id":159043,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4078e0012d18c880072139d00045009a26..."} 
[2026-08-19 19:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4078e0012d18c880072139d00045009a26..."} 
[2026-08-19 19:11:45] local.INFO: Processing buffer {"connection_id":159043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4078e0012d18c880072139d00045009a26..."} 
[2026-08-19 19:11:45] local.INFO: Packet analysis {"connection_id":159043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a40"} 
[2026-08-19 19:11:45] local.INFO: Extracted packet for processing {"connection_id":159043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a40"} 
[2026-08-19 19:11:45] local.INFO: GPS Element Parsed {"raw_longitude":756598912,"raw_latitude":119618000,"longitude_deg":75.6598912,"latitude_deg":11.9618,"altitude":69,"angle":154,"satellites":38,"speed":35,"hex_longitude":"2d18c880","hex_latitude":"072139d0","is_valid_coordinates":true} 
[2026-08-19 19:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509586688001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13985019106164736,"note":"Value kept but may cause issues"} 
[2026-08-19 19:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226689820672,"note":"Value kept but may cause issues"} 
[2026-08-19 19:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787146828000,"timestamp_ms":1787146828000,"timestamp_seconds":1787146828,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4078e0"} 
[2026-08-19 19:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:11: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-08-19 19:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-19 19:11:45] 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-08-19 19:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509586688001,"66":12428,"103":206,"83":41984,"24":35,"16":13985019106164736,"45":1784903226689820672},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 19:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509586688001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:11:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 19:11:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13985019106164736,"km_value":13985019106164.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226689820672,"description":"Unknown IO ID 45"} 
[2026-08-19 19:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509586688001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1784903226689820672}} 
[2026-08-19 19:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":159043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:11:45] local.INFO: GPS data processed {"connection_id":159043,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:11:45] local.INFO: Acknowledgment sent {"connection_id":159043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:11:46] local.INFO: TCP Data received {"connection_id":159044,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:11:46] local.INFO: Processing buffer {"connection_id":159044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:11:46] local.INFO: IMEI packet received {"connection_id":159044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":159044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:11:47] local.INFO: TCP Data received {"connection_id":159044,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01a415788012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a415788012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:11:47] local.INFO: Processing buffer {"connection_id":159044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a415788012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:11:47] local.INFO: Packet analysis {"connection_id":159044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a41"} 
[2026-08-19 19:11:47] local.INFO: Extracted packet for processing {"connection_id":159044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a41"} 
[2026-08-19 19:11:47] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509564160001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650435399680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787146885000,"timestamp_ms":1787146885000,"timestamp_seconds":1787146885,"priority":1,"record_length":96,"hex_timestamp":"000001a01a415788"} 
[2026-08-19 19:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-19 19:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":159044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":159044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":159044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:11:47] 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-08-19 19:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509564160001,"66":2253,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984751650435399680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509564160001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:11:47] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:11:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650435399680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509564160001,"power":2253,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650435399680}} 
[2026-08-19 19:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":159044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:11:47] local.INFO: GPS data processed {"connection_id":159044,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:11:47] local.INFO: Acknowledgment sent {"connection_id":159044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:12:04] local.INFO: TCP Data received {"connection_id":160368,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:12:04] local.INFO: Processing buffer {"connection_id":160368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:12:04] local.INFO: IMEI packet received {"connection_id":160368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":160368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:12:06] local.INFO: TCP Data received {"connection_id":160369,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:12:06] local.INFO: Processing buffer {"connection_id":160369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:12:06] local.INFO: IMEI packet received {"connection_id":160369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":160369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:12:08] local.INFO: TCP Data received {"connection_id":160369,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:12:08] local.INFO: Processing buffer {"connection_id":160369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:12:08] local.INFO: IMEI packet received {"connection_id":160369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":160369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:12:08] local.INFO: TCP Data received {"connection_id":160368,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:12:08] local.INFO: Processing buffer {"connection_id":160368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:12:08] local.INFO: IMEI packet received {"connection_id":160368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":160368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:12:09] local.INFO: TCP Data received {"connection_id":160368,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:12:09] local.INFO: Processing buffer {"connection_id":160368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:12:09] local.INFO: Packet analysis {"connection_id":160368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:12:09] local.INFO: Extracted packet for processing {"connection_id":160368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:12:09] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509495296001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787146767000,"timestamp_ms":1787146767000,"timestamp_seconds":1787146767,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3f8a98"} 
[2026-08-19 19:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 19:12:09] 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-08-19 19:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509495296001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509495296001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:12:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:12:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509495296001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":160368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:12:09] local.INFO: GPS data processed {"connection_id":160368,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:12:09] local.INFO: Acknowledgment sent {"connection_id":160368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:12:13] local.INFO: TCP Data received {"connection_id":160369,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:12:13] local.INFO: Processing buffer {"connection_id":160369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:12:13] local.INFO: IMEI packet received {"connection_id":160369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":160369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:12:14] local.INFO: TCP Data received {"connection_id":160369,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a409438012d18d34007212418004200ab22..."} 
[2026-08-19 19:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a409438012d18d34007212418004200ab22..."} 
[2026-08-19 19:12:14] local.INFO: Processing buffer {"connection_id":160369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a409438012d18d34007212418004200ab22..."} 
[2026-08-19 19:12:14] local.INFO: Packet analysis {"connection_id":160369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a40"} 
[2026-08-19 19:12:14] local.INFO: Extracted packet for processing {"connection_id":160369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a40"} 
[2026-08-19 19:12:14] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119612440,"longitude_deg":75.6601664,"latitude_deg":11.961244,"altitude":66,"angle":171,"satellites":34,"speed":36,"hex_longitude":"2d18d340","hex_latitude":"07212418","is_valid_coordinates":true} 
[2026-08-19 19:12: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-08-19 19:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509587968001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13985324048842752,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785818020362964992,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787146835000,"timestamp_ms":1787146835000,"timestamp_seconds":1787146835,"priority":1,"record_length":96,"hex_timestamp":"000001a01a409438"} 
[2026-08-19 19:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:12: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-08-19 19:12: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":140,"data_length":795,"current_offset":136} 
[2026-08-19 19:12:14] 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-08-19 19:12: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-08-19 19:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509587968001,"66":12841,"103":206,"83":41984,"24":36,"16":13985324048842752,"45":1785818020362964992},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 19:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509587968001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:12:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 19:12:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13985324048842752,"km_value":13985324048842.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785818020362964992,"description":"Unknown IO ID 45"} 
[2026-08-19 19:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509587968001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1785818020362964992}} 
[2026-08-19 19:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":160369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:12:14] local.INFO: GPS data processed {"connection_id":160369,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:12:14] local.INFO: Acknowledgment sent {"connection_id":160369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:12:14] local.INFO: TCP Data received {"connection_id":160368,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:12:14] local.INFO: Processing buffer {"connection_id":160368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:12:14] local.INFO: Packet analysis {"connection_id":160368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:12:14] local.INFO: Extracted packet for processing {"connection_id":160368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:12:14] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:12: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-08-19 19:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509495296001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787146767000,"timestamp_ms":1787146767000,"timestamp_seconds":1787146767,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3f8a98"} 
[2026-08-19 19:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:12: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 19:12:14] 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-08-19 19:12: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-08-19 19:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509495296001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509495296001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:12:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:12:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509495296001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":160368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:12:14] local.INFO: GPS data processed {"connection_id":160368,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:12:14] local.INFO: Acknowledgment sent {"connection_id":160368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:12:18] local.INFO: TCP Data received {"connection_id":159044,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01a415788012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a415788012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:12:18] local.INFO: Processing buffer {"connection_id":159044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a415788012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:12:18] local.INFO: Packet analysis {"connection_id":159044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a41"} 
[2026-08-19 19:12:18] local.INFO: Extracted packet for processing {"connection_id":159044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a41"} 
[2026-08-19 19:12:18] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:12:18] 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-08-19 19:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509602560001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650435399680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787146885000,"timestamp_ms":1787146885000,"timestamp_seconds":1787146885,"priority":1,"record_length":96,"hex_timestamp":"000001a01a415788"} 
[2026-08-19 19:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:12:18] 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-08-19 19: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 19:12:18] 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-08-19 19: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-08-19 19:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:12:18] 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-08-19 19:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509602560001,"66":2253,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984751650435399680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509602560001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:12:18] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:12:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650435399680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509602560001,"power":2253,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650435399680}} 
[2026-08-19 19:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":159044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:12:18] local.INFO: GPS data processed {"connection_id":159044,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:12:18] local.INFO: Acknowledgment sent {"connection_id":159044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:12:45] local.INFO: TCP Data received {"connection_id":160369,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a41e040012d19cc000720a538002d003f26..."} 
[2026-08-19 19:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a41e040012d19cc000720a538002d003f26..."} 
[2026-08-19 19:12:45] local.INFO: Processing buffer {"connection_id":160369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a41e040012d19cc000720a538002d003f26..."} 
[2026-08-19 19:12:45] local.INFO: Packet analysis {"connection_id":160369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a41"} 
[2026-08-19 19:12:45] local.INFO: Extracted packet for processing {"connection_id":160369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a41"} 
[2026-08-19 19:12:45] local.INFO: GPS Element Parsed {"raw_longitude":756665344,"raw_latitude":119579960,"longitude_deg":75.6665344,"latitude_deg":11.957996,"altitude":45,"angle":63,"satellites":38,"speed":16,"hex_longitude":"2d19cc00","hex_latitude":"0720a538","is_valid_coordinates":true} 
[2026-08-19 19:12: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-08-19 19:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509611008001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13989193814376448,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857945983135277056,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787146920000,"timestamp_ms":1787146920000,"timestamp_seconds":1787146920,"priority":1,"record_length":96,"hex_timestamp":"000001a01a41e040"} 
[2026-08-19 19:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:12: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-08-19 19:12: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":225,"data_length":795,"current_offset":136} 
[2026-08-19 19:12:45] 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-08-19 19:12: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-08-19 19:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509611008001,"66":13450,"103":206,"83":41984,"24":16,"16":13989193814376448,"45":1857945983135277056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 19:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509611008001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:12:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 19:12:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13989193814376448,"km_value":13989193814376.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857945983135277056,"description":"Unknown IO ID 45"} 
[2026-08-19 19:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509611008001,"power":13450,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1857945983135277056}} 
[2026-08-19 19:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":160369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:12:45] local.INFO: GPS data processed {"connection_id":160369,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:12:45] local.INFO: Acknowledgment sent {"connection_id":160369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:12:46] local.INFO: TCP Data received {"connection_id":157826,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:12:46] local.INFO: Processing buffer {"connection_id":157826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:12:46] local.INFO: IMEI packet received {"connection_id":157826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":157826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:12:51] local.INFO: TCP Data received {"connection_id":157826,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:12:51] local.INFO: Processing buffer {"connection_id":157826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:12:51] local.INFO: IMEI packet received {"connection_id":157826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":157826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:12:52] local.INFO: TCP Data received {"connection_id":157826,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01a415788012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a415788012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:12:52] local.INFO: Processing buffer {"connection_id":157826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a415788012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:12:52] local.INFO: Packet analysis {"connection_id":157826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a41"} 
[2026-08-19 19:12:52] local.INFO: Extracted packet for processing {"connection_id":157826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a41"} 
[2026-08-19 19:12:52] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509602560001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650435399680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787146885000,"timestamp_ms":1787146885000,"timestamp_seconds":1787146885,"priority":1,"record_length":96,"hex_timestamp":"000001a01a415788"} 
[2026-08-19 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-08-19 19:12:52] 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-08-19 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 19:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 19:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":157826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":157826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":157826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:12:52] 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-08-19 19:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509602560001,"66":2253,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984751650435399680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509602560001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:12:52] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:12:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650435399680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509602560001,"power":2253,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650435399680}} 
[2026-08-19 19:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":157826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:12:52] local.INFO: GPS data processed {"connection_id":157826,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:12:52] local.INFO: Acknowledgment sent {"connection_id":157826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:12:56] local.INFO: TCP Data received {"connection_id":157826,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01a415788012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a415788012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:12:56] local.INFO: Processing buffer {"connection_id":157826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a415788012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:12:56] local.INFO: Packet analysis {"connection_id":157826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a41"} 
[2026-08-19 19:12:56] local.INFO: Extracted packet for processing {"connection_id":157826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a41"} 
[2026-08-19 19:12:56] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:12:56] 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-08-19 19:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509602560001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650435399680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787146885000,"timestamp_ms":1787146885000,"timestamp_seconds":1787146885,"priority":1,"record_length":96,"hex_timestamp":"000001a01a415788"} 
[2026-08-19 19:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 19:12:56] 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-08-19 19: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-08-19 19:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":157826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":157826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":157826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:12:56] 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-08-19 19:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509602560001,"66":2253,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984751650435399680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509602560001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:12:56] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:12:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650435399680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509602560001,"power":2253,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650435399680}} 
[2026-08-19 19:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":157826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:12:56] local.INFO: GPS data processed {"connection_id":157826,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:12:56] local.INFO: Acknowledgment sent {"connection_id":157826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:12:59] local.INFO: TCP Data received {"connection_id":158191,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:12:59] local.INFO: Processing buffer {"connection_id":158191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:12:59] local.INFO: IMEI packet received {"connection_id":158191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":158191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:13:04] local.INFO: TCP Data received {"connection_id":158191,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:13:04] local.INFO: Processing buffer {"connection_id":158191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:13:04] local.INFO: IMEI packet received {"connection_id":158191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":158191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:13:05] local.INFO: TCP Data received {"connection_id":158191,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:13:05] local.INFO: Processing buffer {"connection_id":158191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:13:05] local.INFO: Packet analysis {"connection_id":158191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:13:05] local.INFO: Extracted packet for processing {"connection_id":158191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:13:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509495296001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:13:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787146767000,"timestamp_ms":1787146767000,"timestamp_seconds":1787146767,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3f8a98"} 
[2026-08-19 19:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 19:13:05] 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-08-19 19:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509495296001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509495296001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:13:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:13:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509495296001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":158191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:13:05] local.INFO: GPS data processed {"connection_id":158191,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:13:05] local.INFO: Acknowledgment sent {"connection_id":158191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:13:08] local.INFO: TCP Data received {"connection_id":158192,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:13:08] local.INFO: Processing buffer {"connection_id":158192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:13:08] local.INFO: IMEI packet received {"connection_id":158192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":158192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:13:08] local.INFO: TCP Data received {"connection_id":158192,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:13:08] local.INFO: Processing buffer {"connection_id":158192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:13:08] local.INFO: IMEI packet received {"connection_id":158192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":158192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:13:12] local.INFO: TCP Data received {"connection_id":158192,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:13:12] local.INFO: Processing buffer {"connection_id":158192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:13:12] local.INFO: IMEI packet received {"connection_id":158192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":158192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:13:13] local.INFO: TCP Data received {"connection_id":158192,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a41e810012d19ce000720a728002e003226..."} 
[2026-08-19 19:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a41e810012d19ce000720a728002e003226..."} 
[2026-08-19 19:13:13] local.INFO: Processing buffer {"connection_id":158192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a41e810012d19ce000720a728002e003226..."} 
[2026-08-19 19:13:13] local.INFO: Packet analysis {"connection_id":158192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a41"} 
[2026-08-19 19:13:13] local.INFO: Extracted packet for processing {"connection_id":158192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a41"} 
[2026-08-19 19:13:13] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119580456,"longitude_deg":75.6665856,"latitude_deg":11.9580456,"altitude":46,"angle":50,"satellites":38,"speed":14,"hex_longitude":"2d19ce00","hex_latitude":"0720a728","is_valid_coordinates":true} 
[2026-08-19 19:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509611520001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13989228174114816,"note":"Value kept but may cause issues"} 
[2026-08-19 19:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858860776809641984,"note":"Value kept but may cause issues"} 
[2026-08-19 19:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787146922000,"timestamp_ms":1787146922000,"timestamp_seconds":1787146922,"priority":1,"record_length":96,"hex_timestamp":"000001a01a41e810"} 
[2026-08-19 19:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:13:13] 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-08-19 19:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-19 19:13:13] 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-08-19 19:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509611520001,"66":12428,"103":206,"83":41984,"24":14,"16":13989228174114816,"45":1858860776809641984},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 19:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509611520001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:13:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 19:13:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13989228174114816,"km_value":13989228174114.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858860776809641984,"description":"Unknown IO ID 45"} 
[2026-08-19 19:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509611520001,"power":12428,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1858860776809641984}} 
[2026-08-19 19:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":158192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:13:13] local.INFO: GPS data processed {"connection_id":158192,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:13:13] local.INFO: Acknowledgment sent {"connection_id":158192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:13:36] local.INFO: TCP Data received {"connection_id":158191,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:13:36] local.INFO: Processing buffer {"connection_id":158191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:13:36] local.INFO: Packet analysis {"connection_id":158191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:13:36] local.INFO: Extracted packet for processing {"connection_id":158191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:13:36] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509495296001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:13:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787146767000,"timestamp_ms":1787146767000,"timestamp_seconds":1787146767,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3f8a98"} 
[2026-08-19 19:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 19:13:36] 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-08-19 19:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509495296001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509495296001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:13:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:13:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509495296001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":158191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:13:36] local.INFO: GPS data processed {"connection_id":158191,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:13:36] local.INFO: Acknowledgment sent {"connection_id":158191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:13:42] local.INFO: TCP Data received {"connection_id":158193,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:13:42] local.INFO: Processing buffer {"connection_id":158193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:13:42] local.INFO: IMEI packet received {"connection_id":158193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":158193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:13:44] local.INFO: TCP Data received {"connection_id":158192,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a41f3c8012d19d1c00720ab28002e002226..."} 
[2026-08-19 19:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a41f3c8012d19d1c00720ab28002e002226..."} 
[2026-08-19 19:13:44] local.INFO: Processing buffer {"connection_id":158192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a41f3c8012d19d1c00720ab28002e002226..."} 
[2026-08-19 19:13:44] local.INFO: Packet analysis {"connection_id":158192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a41"} 
[2026-08-19 19:13:44] local.INFO: Extracted packet for processing {"connection_id":158192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a41"} 
[2026-08-19 19:13:44] local.INFO: GPS Element Parsed {"raw_longitude":756666816,"raw_latitude":119581480,"longitude_deg":75.6666816,"latitude_deg":11.958148,"altitude":46,"angle":34,"satellites":38,"speed":16,"hex_longitude":"2d19d1c0","hex_latitude":"0720ab28","is_valid_coordinates":true} 
[2026-08-19 19:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509612032001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13989296893591552,"note":"Value kept but may cause issues"} 
[2026-08-19 19:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726763190272,"note":"Value kept but may cause issues"} 
[2026-08-19 19:13: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-08-19 19:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787146925000,"timestamp_ms":1787146925000,"timestamp_seconds":1787146925,"priority":1,"record_length":96,"hex_timestamp":"000001a01a41f3c8"} 
[2026-08-19 19:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-19 19:13:44] 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-08-19 19:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509612032001,"66":13493,"103":206,"83":41984,"24":16,"16":13989296893591552,"45":1859423726763190272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 19:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509612032001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:13:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 19:13:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13989296893591552,"km_value":13989296893591.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726763190272,"description":"Unknown IO ID 45"} 
[2026-08-19 19:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509612032001,"power":13493,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1859423726763190272}} 
[2026-08-19 19:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":158192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:13:44] local.INFO: GPS data processed {"connection_id":158192,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:13:44] local.INFO: Acknowledgment sent {"connection_id":158192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:13:46] local.INFO: TCP Data received {"connection_id":158193,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:13:46] local.INFO: Processing buffer {"connection_id":158193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:13:46] local.INFO: IMEI packet received {"connection_id":158193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":158193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:13:47] local.INFO: TCP Data received {"connection_id":158193,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a415788012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a415788012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:13:47] local.INFO: Processing buffer {"connection_id":158193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a415788012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:13:47] local.INFO: Packet analysis {"connection_id":158193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a41"} 
[2026-08-19 19:13:47] local.INFO: Extracted packet for processing {"connection_id":158193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a41"} 
[2026-08-19 19:13:47] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509602560001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650435399680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787146885000,"timestamp_ms":1787146885000,"timestamp_seconds":1787146885,"priority":1,"record_length":96,"hex_timestamp":"000001a01a415788"} 
[2026-08-19 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-08-19 19:13:47] 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-08-19 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 19:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 19:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:13:47] 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-08-19 19:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509602560001,"66":2253,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984751650435399680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509602560001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:13:47] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:13:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650435399680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509602560001,"power":2253,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650435399680}} 
[2026-08-19 19:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":158193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:13:47] local.INFO: GPS data processed {"connection_id":158193,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:13:47] local.INFO: Acknowledgment sent {"connection_id":158193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:13:51] local.INFO: TCP Data received {"connection_id":158193,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a415788012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a415788012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:13:51] local.INFO: Processing buffer {"connection_id":158193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a415788012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:13:51] local.INFO: Packet analysis {"connection_id":158193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a41"} 
[2026-08-19 19:13:51] local.INFO: Extracted packet for processing {"connection_id":158193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a41"} 
[2026-08-19 19:13:51] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509602560001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650435399680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787146885000,"timestamp_ms":1787146885000,"timestamp_seconds":1787146885,"priority":1,"record_length":96,"hex_timestamp":"000001a01a415788"} 
[2026-08-19 19:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 19:13:51] 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-08-19 19:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":158193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":158193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":158193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:13:51] 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-08-19 19:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509602560001,"66":2253,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984751650435399680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509602560001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:13:51] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:13:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650435399680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509602560001,"power":2253,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650435399680}} 
[2026-08-19 19:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":158193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:13:51] local.INFO: GPS data processed {"connection_id":158193,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:13:51] local.INFO: Acknowledgment sent {"connection_id":158193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:13:58] local.INFO: TCP Data received {"connection_id":159045,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:13:58] local.INFO: Processing buffer {"connection_id":159045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:13:58] local.INFO: IMEI packet received {"connection_id":159045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":159045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:14:04] local.INFO: TCP Data received {"connection_id":159045,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:14:04] local.INFO: Processing buffer {"connection_id":159045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:14:04] local.INFO: IMEI packet received {"connection_id":159045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":159045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:14:05] local.INFO: TCP Data received {"connection_id":159045,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:14:05] local.INFO: Processing buffer {"connection_id":159045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:14:05] local.INFO: Packet analysis {"connection_id":159045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:14:05] local.INFO: Extracted packet for processing {"connection_id":159045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:14:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509495296001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787146767000,"timestamp_ms":1787146767000,"timestamp_seconds":1787146767,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3f8a98"} 
[2026-08-19 19:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 19:14:05] 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-08-19 19:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509495296001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509495296001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:14:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:14:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509495296001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":159045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:14:05] local.INFO: GPS data processed {"connection_id":159045,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:14:05] local.INFO: Acknowledgment sent {"connection_id":159045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:14:08] local.INFO: TCP Data received {"connection_id":160370,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:14:08] local.INFO: Processing buffer {"connection_id":160370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:14:08] local.INFO: IMEI packet received {"connection_id":160370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":160370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:14:10] local.INFO: TCP Data received {"connection_id":160370,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:14:10] local.INFO: Processing buffer {"connection_id":160370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:14:10] local.INFO: IMEI packet received {"connection_id":160370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":160370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:14:11] local.INFO: TCP Data received {"connection_id":160370,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:14:11] local.INFO: Processing buffer {"connection_id":160370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:14:11] local.INFO: IMEI packet received {"connection_id":160370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":160370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:14:13] local.INFO: TCP Data received {"connection_id":160370,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:14:13] local.INFO: Processing buffer {"connection_id":160370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:14:13] local.INFO: IMEI packet received {"connection_id":160370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":160370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:14:13] local.INFO: TCP Data received {"connection_id":160370,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a42bb00012d1a30800720de980035001c27..."} 
[2026-08-19 19:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a42bb00012d1a30800720de980035001c27..."} 
[2026-08-19 19:14:13] local.INFO: Processing buffer {"connection_id":160370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a42bb00012d1a30800720de980035001c27..."} 
[2026-08-19 19:14:13] local.INFO: Packet analysis {"connection_id":160370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a42"} 
[2026-08-19 19:14:13] local.INFO: Extracted packet for processing {"connection_id":160370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a42"} 
[2026-08-19 19:14:13] local.INFO: GPS Element Parsed {"raw_longitude":756691072,"raw_latitude":119594648,"longitude_deg":75.6691072,"latitude_deg":11.9594648,"altitude":53,"angle":28,"satellites":39,"speed":25,"hex_longitude":"2d1a3080","hex_latitude":"0720de98","is_valid_coordinates":true} 
[2026-08-19 19:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509625344001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13990666988158976,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886515693274929152,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787146976000,"timestamp_ms":1787146976000,"timestamp_seconds":1787146976,"priority":1,"record_length":96,"hex_timestamp":"000001a01a42bb00"} 
[2026-08-19 19:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:14:13] 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-08-19 19:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-19 19:14:13] 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-08-19 19:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509625344001,"66":13493,"103":206,"83":41984,"24":25,"16":13990666988158976,"45":1886515693274929152},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 19:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509625344001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:14:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 19:14:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13990666988158976,"km_value":13990666988158.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886515693274929152,"description":"Unknown IO ID 45"} 
[2026-08-19 19:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509625344001,"power":13493,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1886515693274929152}} 
[2026-08-19 19:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":160370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:14:14] local.INFO: GPS data processed {"connection_id":160370,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:14:14] local.INFO: Acknowledgment sent {"connection_id":160370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:14:22] local.INFO: TCP Data received {"connection_id":158193,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a43a560012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a43a560012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:14:22] local.INFO: Processing buffer {"connection_id":158193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a43a560012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:14:22] local.INFO: Packet analysis {"connection_id":158193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a43"} 
[2026-08-19 19:14:22] local.INFO: Extracted packet for processing {"connection_id":158193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a43"} 
[2026-08-19 19:14:22] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509602560001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650435399680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787147036000,"timestamp_ms":1787147036000,"timestamp_seconds":1787147036,"priority":1,"record_length":96,"hex_timestamp":"000001a01a43a560"} 
[2026-08-19 19:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 19:14:22] 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-08-19 19:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:14:22] 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-08-19 19:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509602560001,"66":12526,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984751650435399680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509602560001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:14:22] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:14:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650435399680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509602560001,"power":12526,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650435399680}} 
[2026-08-19 19:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":158193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:14:22] local.INFO: GPS data processed {"connection_id":158193,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:14:22] local.INFO: Acknowledgment sent {"connection_id":158193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:14:37] local.INFO: TCP Data received {"connection_id":159045,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:14:37] local.INFO: Processing buffer {"connection_id":159045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:14:37] local.INFO: Packet analysis {"connection_id":159045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:14:37] local.INFO: Extracted packet for processing {"connection_id":159045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:14:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509495296001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787146767000,"timestamp_ms":1787146767000,"timestamp_seconds":1787146767,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3f8a98"} 
[2026-08-19 19:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 19:14:37] 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-08-19 19: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-08-19 19:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509495296001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509495296001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:14:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:14:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509495296001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":159045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:14:37] local.INFO: GPS data processed {"connection_id":159045,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:14:37] local.INFO: Acknowledgment sent {"connection_id":159045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:14:41] local.INFO: TCP Data received {"connection_id":157827,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:14:41] local.INFO: Processing buffer {"connection_id":157827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:14:41] local.INFO: IMEI packet received {"connection_id":157827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":157827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:14:45] local.INFO: TCP Data received {"connection_id":160370,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a43a560012d1a2e400720dae8003c00d828..."} 
[2026-08-19 19:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a43a560012d1a2e400720dae8003c00d828..."} 
[2026-08-19 19:14:45] local.INFO: Processing buffer {"connection_id":160370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a43a560012d1a2e400720dae8003c00d828..."} 
[2026-08-19 19:14:45] local.INFO: Packet analysis {"connection_id":160370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a43"} 
[2026-08-19 19:14:45] local.INFO: Extracted packet for processing {"connection_id":160370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a43"} 
[2026-08-19 19:14:45] local.INFO: GPS Element Parsed {"raw_longitude":756690496,"raw_latitude":119593704,"longitude_deg":75.6690496,"latitude_deg":11.9593704,"altitude":60,"angle":216,"satellites":40,"speed":22,"hex_longitude":"2d1a2e40","hex_latitude":"0720dae8","is_valid_coordinates":true} 
[2026-08-19 19:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509638656001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13991483031945216,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889400811787759616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787147036000,"timestamp_ms":1787147036000,"timestamp_seconds":1787147036,"priority":1,"record_length":96,"hex_timestamp":"000001a01a43a560"} 
[2026-08-19 19:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:14: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-08-19 19:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-19 19:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:45] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3523215360,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:45] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":38912,"corrected_to":0} 
[2026-08-19 19:14:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249977426308036856,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:45] local.WARNING: Large IO value detected {"io_id":32,"raw_value":-520165507836204544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-19 19:14:45] local.WARNING: Large IO value detected {"io_id":2,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:45] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3033399296,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:45] local.WARNING: Large IO value detected {"io_id":85,"raw_value":57834754016170916,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:45] local.WARNING: Large IO value detected {"io_id":67,"raw_value":6005551396323917831,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:45] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:45] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:45] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,180,160,118,45,64,244,58,42,10,66,110,246,106,192,1,240,9,227,26,32,4,113,205,95,61,128,239,50,2,49,7,85,67,120,92],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":246,"original":38912,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-19 19:14:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251622528999751680,"timestamp_seconds":4251622528999751.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509638656001,"66":13330,"103":206,"83":41984,"24":22,"16":13991483031945216,"45":1889400811787759616},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-19 19:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509638656001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:14:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-19 19:14:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13991483031945216,"km_value":13991483031945.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889400811787759616,"description":"Unknown IO ID 45"} 
[2026-08-19 19:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509638656001,"power":13330,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1889400811787759616}} 
[2026-08-19 19:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":160370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:14:45] local.INFO: GPS data processed {"connection_id":160370,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:14:45] local.INFO: Acknowledgment sent {"connection_id":160370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:14:46] local.INFO: TCP Data received {"connection_id":157827,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157827,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:14:46] local.INFO: Processing buffer {"connection_id":157827,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:14:46] local.INFO: IMEI packet received {"connection_id":157827,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":157827,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:14:47] local.INFO: TCP Data received {"connection_id":157827,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a43a560012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a43a560012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:14:47] local.INFO: Processing buffer {"connection_id":157827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a43a560012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:14:47] local.INFO: Packet analysis {"connection_id":157827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a43"} 
[2026-08-19 19:14:47] local.INFO: Extracted packet for processing {"connection_id":157827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a43"} 
[2026-08-19 19:14:47] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509602560001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650435399680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787147036000,"timestamp_ms":1787147036000,"timestamp_seconds":1787147036,"priority":1,"record_length":96,"hex_timestamp":"000001a01a43a560"} 
[2026-08-19 19:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:14:47] 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-08-19 19:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 19:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:14:47] 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-08-19 19:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509602560001,"66":12526,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984751650435399680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509602560001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:14:47] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:14:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650435399680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509602560001,"power":12526,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650435399680}} 
[2026-08-19 19:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":157827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:14:47] local.INFO: GPS data processed {"connection_id":157827,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:14:47] local.INFO: Acknowledgment sent {"connection_id":157827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:14:58] local.INFO: TCP Data received {"connection_id":158194,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:14:58] local.INFO: Processing buffer {"connection_id":158194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:14:58] local.INFO: IMEI packet received {"connection_id":158194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":158194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:15:04] local.INFO: TCP Data received {"connection_id":158194,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:15:04] local.INFO: Processing buffer {"connection_id":158194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:15:04] local.INFO: IMEI packet received {"connection_id":158194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":158194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:15:05] local.INFO: TCP Data received {"connection_id":158194,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:15:05] local.INFO: Processing buffer {"connection_id":158194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a3f8a98012ceb0780071a3b28001e013227..."} 
[2026-08-19 19:15:05] local.INFO: Packet analysis {"connection_id":158194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:15:05] local.INFO: Extracted packet for processing {"connection_id":158194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a3f"} 
[2026-08-19 19:15:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":39,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509495296001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:15:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787146767000,"timestamp_ms":1787146767000,"timestamp_seconds":1787146767,"priority":1,"record_length":96,"hex_timestamp":"000001a01a3f8a98"} 
[2026-08-19 19:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-19 19:15:05] 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-08-19 19:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509495296001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509495296001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:15:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:15:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509495296001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":158194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:15:05] local.INFO: GPS data processed {"connection_id":158194,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:15:05] local.INFO: Acknowledgment sent {"connection_id":158194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:15:08] local.INFO: TCP Data received {"connection_id":160371,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:15:08] local.INFO: Processing buffer {"connection_id":160371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:15:08] local.INFO: IMEI packet received {"connection_id":160371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":160371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:15:10] local.INFO: TCP Data received {"connection_id":160371,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:15:10] local.INFO: Processing buffer {"connection_id":160371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:15:10] local.INFO: IMEI packet received {"connection_id":160371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":160371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:15:11] local.INFO: TCP Data received {"connection_id":160371,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:15:11] local.INFO: Processing buffer {"connection_id":160371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:15:11] local.INFO: IMEI packet received {"connection_id":160371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":160371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:15:12] local.INFO: TCP Data received {"connection_id":160371,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:15:12] local.INFO: Processing buffer {"connection_id":160371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:15:12] local.INFO: IMEI packet received {"connection_id":160371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":160371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:15:18] local.INFO: TCP Data received {"connection_id":157827,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a43a560012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a43a560012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:15:18] local.INFO: Processing buffer {"connection_id":157827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a43a560012d7cb04005d74e80000000f224..."} 
[2026-08-19 19:15:18] local.INFO: Packet analysis {"connection_id":157827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a43"} 
[2026-08-19 19:15:18] local.INFO: Extracted packet for processing {"connection_id":157827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a43"} 
[2026-08-19 19:15:18] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509602560001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650435399680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787147036000,"timestamp_ms":1787147036000,"timestamp_seconds":1787147036,"priority":1,"record_length":96,"hex_timestamp":"000001a01a43a560"} 
[2026-08-19 19:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:15:18] 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-08-19 19:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-19 19:15:18] 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-08-19 19:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157827,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:15:18] 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-08-19 19:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509602560001,"66":12526,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984751650435399680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509602560001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:15:18] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:15:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650435399680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509602560001,"power":12526,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650435399680}} 
[2026-08-19 19:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":157827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:15:18] local.INFO: GPS data processed {"connection_id":157827,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:15:18] local.INFO: Acknowledgment sent {"connection_id":157827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:15:37] local.INFO: TCP Data received {"connection_id":158194,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:15:37] local.INFO: Processing buffer {"connection_id":158194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:15:37] local.INFO: Packet analysis {"connection_id":158194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:15:37] local.INFO: Extracted packet for processing {"connection_id":158194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:15:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509572352001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787147068000,"timestamp_ms":1787147068000,"timestamp_seconds":1787147068,"priority":1,"record_length":96,"hex_timestamp":"000001a01a442260"} 
[2026-08-19 19:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:15: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-08-19 19: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-08-19 19:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509572352001,"66":25973,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509572352001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:15:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509572352001,"power":25973,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":158194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:15:37] local.INFO: GPS data processed {"connection_id":158194,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:15:37] local.INFO: Acknowledgment sent {"connection_id":158194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:15:41] local.INFO: TCP Data received {"connection_id":159046,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:15:41] local.INFO: Processing buffer {"connection_id":159046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:15:41] local.INFO: IMEI packet received {"connection_id":159046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":159046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:15:46] local.INFO: TCP Data received {"connection_id":159046,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:15:46] local.INFO: Processing buffer {"connection_id":159046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:15:46] local.INFO: IMEI packet received {"connection_id":159046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":159046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:15:47] local.INFO: TCP Data received {"connection_id":159046,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a451490012d7cb04005d74e80000000f220..."} 
[2026-08-19 19:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a451490012d7cb04005d74e80000000f220..."} 
[2026-08-19 19:15:47] local.INFO: Processing buffer {"connection_id":159046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a451490012d7cb04005d74e80000000f220..."} 
[2026-08-19 19:15:47] local.INFO: Packet analysis {"connection_id":159046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a45"} 
[2026-08-19 19:15:47] local.INFO: Extracted packet for processing {"connection_id":159046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a45"} 
[2026-08-19 19:15:47] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":32,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:15: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-08-19 19:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509641216001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650435399680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787147130000,"timestamp_ms":1787147130000,"timestamp_seconds":1787147130,"priority":1,"record_length":96,"hex_timestamp":"000001a01a451490"} 
[2026-08-19 19:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 19:15:47] 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-08-19 19: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-08-19 19:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":159046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":159046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":159046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:15:47] 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-08-19 19:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509641216001,"66":12515,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984751650435399680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509641216001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:15:47] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:15:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650435399680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509641216001,"power":12515,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650435399680}} 
[2026-08-19 19:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":159046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:15:47] local.INFO: GPS data processed {"connection_id":159046,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:15:47] local.INFO: Acknowledgment sent {"connection_id":159046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:16:04] local.INFO: TCP Data received {"connection_id":160372,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:16:04] local.INFO: Processing buffer {"connection_id":160372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:16:04] local.INFO: IMEI packet received {"connection_id":160372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":160372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:16:08] local.INFO: TCP Data received {"connection_id":160372,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:16:08] local.INFO: Processing buffer {"connection_id":160372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:16:08] local.INFO: IMEI packet received {"connection_id":160372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":160372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:16:09] local.INFO: TCP Data received {"connection_id":160372,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:16:09] local.INFO: Processing buffer {"connection_id":160372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:16:09] local.INFO: Packet analysis {"connection_id":160372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:16:09] local.INFO: Extracted packet for processing {"connection_id":160372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:16:09] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509572352001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:16:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787147068000,"timestamp_ms":1787147068000,"timestamp_seconds":1787147068,"priority":1,"record_length":96,"hex_timestamp":"000001a01a442260"} 
[2026-08-19 19:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:16:09] 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-08-19 19:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509572352001,"66":25973,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509572352001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:16:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:16:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509572352001,"power":25973,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":160372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:16:09] local.INFO: GPS data processed {"connection_id":160372,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:16:09] local.INFO: Acknowledgment sent {"connection_id":160372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:16:14] local.INFO: TCP Data received {"connection_id":160372,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:16:14] local.INFO: Processing buffer {"connection_id":160372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:16:14] local.INFO: Packet analysis {"connection_id":160372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:16:14] local.INFO: Extracted packet for processing {"connection_id":160372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:16:14] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:16: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-08-19 19:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509572352001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:16:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787147068000,"timestamp_ms":1787147068000,"timestamp_seconds":1787147068,"priority":1,"record_length":96,"hex_timestamp":"000001a01a442260"} 
[2026-08-19 19:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:16:14] 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-08-19 19:16: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-08-19 19:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509572352001,"66":25973,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509572352001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:16:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:16:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509572352001,"power":25973,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":160372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:16:14] local.INFO: GPS data processed {"connection_id":160372,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:16:14] local.INFO: Acknowledgment sent {"connection_id":160372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:16:17] local.INFO: TCP Data received {"connection_id":159046,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a451878012d7cb04005d74e80000000f221..."} 
[2026-08-19 19:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a451878012d7cb04005d74e80000000f221..."} 
[2026-08-19 19:16:17] local.INFO: Processing buffer {"connection_id":159046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a451878012d7cb04005d74e80000000f221..."} 
[2026-08-19 19:16:17] local.INFO: Packet analysis {"connection_id":159046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a45"} 
[2026-08-19 19:16:17] local.INFO: Extracted packet for processing {"connection_id":159046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a45"} 
[2026-08-19 19:16:17] local.INFO: GPS Element Parsed {"raw_longitude":763146304,"raw_latitude":97996416,"longitude_deg":76.3146304,"latitude_deg":9.7996416,"altitude":0,"angle":242,"satellites":33,"speed":0,"hex_longitude":"2d7cb040","hex_latitude":"05d74e80","is_valid_coordinates":true} 
[2026-08-19 19:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509665280001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650435399680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787147131000,"timestamp_ms":1787147131000,"timestamp_seconds":1787147131,"priority":1,"record_length":96,"hex_timestamp":"000001a01a451878"} 
[2026-08-19 19:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:16:17] 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-08-19 19:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-19 19:16:17] 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-08-19 19:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:16: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-08-19 19:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509665280001,"66":12515,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984751650435399680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509665280001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:16:17] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:16:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650435399680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509665280001,"power":12515,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650435399680}} 
[2026-08-19 19:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":159046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:16:17] local.INFO: GPS data processed {"connection_id":159046,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:16:17] local.INFO: Acknowledgment sent {"connection_id":159046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:16:41] local.INFO: TCP Data received {"connection_id":157828,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:16:41] local.INFO: Processing buffer {"connection_id":157828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:16:41] local.INFO: IMEI packet received {"connection_id":157828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":157828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:16:46] local.INFO: TCP Data received {"connection_id":157828,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:16:46] local.INFO: Processing buffer {"connection_id":157828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:16:46] local.INFO: IMEI packet received {"connection_id":157828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":157828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:16:46] local.INFO: TCP Data received {"connection_id":157828,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a457250012d7cb00005d74e60000000f222..."} 
[2026-08-19 19:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a457250012d7cb00005d74e60000000f222..."} 
[2026-08-19 19:16:46] local.INFO: Processing buffer {"connection_id":157828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a457250012d7cb00005d74e60000000f222..."} 
[2026-08-19 19:16:46] local.INFO: Packet analysis {"connection_id":157828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a45"} 
[2026-08-19 19:16:46] local.INFO: Extracted packet for processing {"connection_id":157828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a45"} 
[2026-08-19 19:16:46] local.INFO: GPS Element Parsed {"raw_longitude":763146240,"raw_latitude":97996384,"longitude_deg":76.314624,"latitude_deg":9.7996384,"altitude":0,"angle":242,"satellites":34,"speed":0,"hex_longitude":"2d7cb000","hex_latitude":"05d74e60","is_valid_coordinates":true} 
[2026-08-19 19:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509665536001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984751650435399680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787147154000,"timestamp_ms":1787147154000,"timestamp_seconds":1787147154,"priority":1,"record_length":96,"hex_timestamp":"000001a01a457250"} 
[2026-08-19 19:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:16: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-08-19 19:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-19 19:16:46] 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-08-19 19:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:16: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-08-19 19:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509665536001,"66":10656,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984751650435399680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509665536001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:16:46] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:16:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984751650435399680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509665536001,"power":10656,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984751650435399680}} 
[2026-08-19 19:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":157828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:16:47] local.INFO: GPS data processed {"connection_id":157828,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:16:47] local.INFO: Acknowledgment sent {"connection_id":157828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:16:59] local.INFO: TCP Data received {"connection_id":160374,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:16:59] local.INFO: Processing buffer {"connection_id":160374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:16:59] local.INFO: IMEI packet received {"connection_id":160374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":160374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:17:04] local.INFO: TCP Data received {"connection_id":160374,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:17:04] local.INFO: Processing buffer {"connection_id":160374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:17:04] local.INFO: IMEI packet received {"connection_id":160374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":160374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:17:05] local.INFO: TCP Data received {"connection_id":160374,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:17:05] local.INFO: Processing buffer {"connection_id":160374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:17:05] local.INFO: Packet analysis {"connection_id":160374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:17:05] local.INFO: Extracted packet for processing {"connection_id":160374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:17:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509572352001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:17:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787147068000,"timestamp_ms":1787147068000,"timestamp_seconds":1787147068,"priority":1,"record_length":96,"hex_timestamp":"000001a01a442260"} 
[2026-08-19 19:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:17:05] 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-08-19 19:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509572352001,"66":25973,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509572352001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:17:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:17:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509572352001,"power":25973,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":160374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:17:05] local.INFO: GPS data processed {"connection_id":160374,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:17:05] local.INFO: Acknowledgment sent {"connection_id":160374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:17:18] local.INFO: TCP Data received {"connection_id":157828,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a45c458012d7cb00005d74e60000000f224..."} 
[2026-08-19 19:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a45c458012d7cb00005d74e60000000f224..."} 
[2026-08-19 19:17:18] local.INFO: Processing buffer {"connection_id":157828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a45c458012d7cb00005d74e60000000f224..."} 
[2026-08-19 19:17:18] local.INFO: Packet analysis {"connection_id":157828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a45"} 
[2026-08-19 19:17:18] local.INFO: Extracted packet for processing {"connection_id":157828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a45"} 
[2026-08-19 19:17:18] local.INFO: GPS Element Parsed {"raw_longitude":763146240,"raw_latitude":97996384,"longitude_deg":76.314624,"latitude_deg":9.7996384,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb000","hex_latitude":"05d74e60","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509671424001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787147175000,"timestamp_ms":1787147175000,"timestamp_seconds":1787147175,"priority":1,"record_length":96,"hex_timestamp":"000001a01a45c458"} 
[2026-08-19 19:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19: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":41,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-19 19:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1843,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:17:18] 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-08-19 19:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509671424001,"66":11634,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509671424001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:17:18] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:17:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509671424001,"power":11634,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":157828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:17:18] local.INFO: GPS data processed {"connection_id":157828,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:17:18] local.INFO: Acknowledgment sent {"connection_id":157828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:17:37] local.INFO: TCP Data received {"connection_id":160374,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:17:37] local.INFO: Processing buffer {"connection_id":160374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:17:37] local.INFO: Packet analysis {"connection_id":160374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:17:37] local.INFO: Extracted packet for processing {"connection_id":160374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:17:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509572352001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:17:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787147068000,"timestamp_ms":1787147068000,"timestamp_seconds":1787147068,"priority":1,"record_length":96,"hex_timestamp":"000001a01a442260"} 
[2026-08-19 19:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:17: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-08-19 19:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509572352001,"66":25973,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509572352001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:17:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:17:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509572352001,"power":25973,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":160374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:17:37] local.INFO: GPS data processed {"connection_id":160374,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:17:37] local.INFO: Acknowledgment sent {"connection_id":160374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:17:46] local.INFO: TCP Data received {"connection_id":159048,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:17:46] local.INFO: Processing buffer {"connection_id":159048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:17:46] local.INFO: IMEI packet received {"connection_id":159048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":159048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:17:51] local.INFO: TCP Data received {"connection_id":159048,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:17:51] local.INFO: Processing buffer {"connection_id":159048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:17:51] local.INFO: IMEI packet received {"connection_id":159048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":159048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:17:52] local.INFO: TCP Data received {"connection_id":159048,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a461660012d7cb00005d74e60000000f223..."} 
[2026-08-19 19:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a461660012d7cb00005d74e60000000f223..."} 
[2026-08-19 19:17:52] local.INFO: Processing buffer {"connection_id":159048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a461660012d7cb00005d74e60000000f223..."} 
[2026-08-19 19:17:52] local.INFO: Packet analysis {"connection_id":159048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a46"} 
[2026-08-19 19:17:52] local.INFO: Extracted packet for processing {"connection_id":159048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a46"} 
[2026-08-19 19:17:52] local.INFO: GPS Element Parsed {"raw_longitude":763146240,"raw_latitude":97996384,"longitude_deg":76.314624,"latitude_deg":9.7996384,"altitude":0,"angle":242,"satellites":35,"speed":0,"hex_longitude":"2d7cb000","hex_latitude":"05d74e60","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509676800001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787147196000,"timestamp_ms":1787147196000,"timestamp_seconds":1787147196,"priority":1,"record_length":96,"hex_timestamp":"000001a01a461660"} 
[2026-08-19 19:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:17: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-08-19 19:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 19:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":159048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":159048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":159048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:17:52] 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-08-19 19:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509676800001,"66":11602,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509676800001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:17:52] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:17:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509676800001,"power":11602,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":159048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:17:52] local.INFO: GPS data processed {"connection_id":159048,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:17:52] local.INFO: Acknowledgment sent {"connection_id":159048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:17:56] local.INFO: TCP Data received {"connection_id":159048,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a466868012d7cb00005d74e60000000f224..."} 
[2026-08-19 19:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a466868012d7cb00005d74e60000000f224..."} 
[2026-08-19 19:17:56] local.INFO: Processing buffer {"connection_id":159048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a466868012d7cb00005d74e60000000f224..."} 
[2026-08-19 19:17:56] local.INFO: Packet analysis {"connection_id":159048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a46"} 
[2026-08-19 19:17:56] local.INFO: Extracted packet for processing {"connection_id":159048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a46"} 
[2026-08-19 19:17:56] local.INFO: GPS Element Parsed {"raw_longitude":763146240,"raw_latitude":97996384,"longitude_deg":76.314624,"latitude_deg":9.7996384,"altitude":0,"angle":242,"satellites":36,"speed":0,"hex_longitude":"2d7cb000","hex_latitude":"05d74e60","is_valid_coordinates":true} 
[2026-08-19 19:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509682176001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787147217000,"timestamp_ms":1787147217000,"timestamp_seconds":1787147217,"priority":1,"record_length":96,"hex_timestamp":"000001a01a466868"} 
[2026-08-19 19:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-19 19:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:17:56] 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-08-19 19:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509682176001,"66":11624,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509682176001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:17:56] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509682176001,"power":11624,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":159048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:17:56] local.INFO: GPS data processed {"connection_id":159048,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:17:56] local.INFO: Acknowledgment sent {"connection_id":159048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:17:58] local.INFO: TCP Data received {"connection_id":158195,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:17:58] local.INFO: Processing buffer {"connection_id":158195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:17:58] local.INFO: IMEI packet received {"connection_id":158195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":158195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:18:04] local.INFO: TCP Data received {"connection_id":158195,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:18:04] local.INFO: Processing buffer {"connection_id":158195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:18:04] local.INFO: IMEI packet received {"connection_id":158195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":158195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:18:05] local.INFO: TCP Data received {"connection_id":158195,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:18:05] local.INFO: Processing buffer {"connection_id":158195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:18:05] local.INFO: Packet analysis {"connection_id":158195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:18:05] local.INFO: Extracted packet for processing {"connection_id":158195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:18:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509572352001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:18:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787147068000,"timestamp_ms":1787147068000,"timestamp_seconds":1787147068,"priority":1,"record_length":96,"hex_timestamp":"000001a01a442260"} 
[2026-08-19 19:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:18:05] 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-08-19 19:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509572352001,"66":25973,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509572352001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:18:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:18:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509572352001,"power":25973,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":158195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:18:05] local.INFO: GPS data processed {"connection_id":158195,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:18:05] local.INFO: Acknowledgment sent {"connection_id":158195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:18:37] local.INFO: TCP Data received {"connection_id":158195,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:18:37] local.INFO: Processing buffer {"connection_id":158195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:18:37] local.INFO: Packet analysis {"connection_id":158195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:18:37] local.INFO: Extracted packet for processing {"connection_id":158195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:18:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509572352001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:18:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787147068000,"timestamp_ms":1787147068000,"timestamp_seconds":1787147068,"priority":1,"record_length":96,"hex_timestamp":"000001a01a442260"} 
[2026-08-19 19:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:18: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-08-19 19:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509572352001,"66":25973,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509572352001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:18:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:18:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509572352001,"power":25973,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":158195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:18:37] local.INFO: GPS data processed {"connection_id":158195,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:18:37] local.INFO: Acknowledgment sent {"connection_id":158195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:18:41] local.INFO: TCP Data received {"connection_id":160375,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160375,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:18:41] local.INFO: Processing buffer {"connection_id":160375,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:18:41] local.INFO: IMEI packet received {"connection_id":160375,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":160375,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:18:44] local.INFO: TCP Data received {"connection_id":160375,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160375,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:18:44] local.INFO: Processing buffer {"connection_id":160375,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:18:44] local.INFO: IMEI packet received {"connection_id":160375,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":160375,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:18:45] local.INFO: TCP Data received {"connection_id":160375,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a46ba70012d7cb00005d74e60000000f221..."} 
[2026-08-19 19:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a46ba70012d7cb00005d74e60000000f221..."} 
[2026-08-19 19:18:45] local.INFO: Processing buffer {"connection_id":160375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a46ba70012d7cb00005d74e60000000f221..."} 
[2026-08-19 19:18:45] local.INFO: Packet analysis {"connection_id":160375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a46"} 
[2026-08-19 19:18:45] local.INFO: Extracted packet for processing {"connection_id":160375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a46"} 
[2026-08-19 19:18:45] local.INFO: GPS Element Parsed {"raw_longitude":763146240,"raw_latitude":97996384,"longitude_deg":76.314624,"latitude_deg":9.7996384,"altitude":0,"angle":242,"satellites":33,"speed":0,"hex_longitude":"2d7cb000","hex_latitude":"05d74e60","is_valid_coordinates":true} 
[2026-08-19 19:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509687552001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787147238000,"timestamp_ms":1787147238000,"timestamp_seconds":1787147238,"priority":1,"record_length":96,"hex_timestamp":"000001a01a46ba70"} 
[2026-08-19 19:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 19:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:18: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-08-19 19:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509687552001,"66":11634,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509687552001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:18:45] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:18:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509687552001,"power":11634,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":160375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:18:45] local.INFO: GPS data processed {"connection_id":160375,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:18:45] local.INFO: Acknowledgment sent {"connection_id":160375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:18:46] local.INFO: TCP Data received {"connection_id":160375,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a470c78012d7cb00005d74e60000000f223..."} 
[2026-08-19 19:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a470c78012d7cb00005d74e60000000f223..."} 
[2026-08-19 19:18:46] local.INFO: Processing buffer {"connection_id":160375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a470c78012d7cb00005d74e60000000f223..."} 
[2026-08-19 19:18:46] local.INFO: Packet analysis {"connection_id":160375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a47"} 
[2026-08-19 19:18:46] local.INFO: Extracted packet for processing {"connection_id":160375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a47"} 
[2026-08-19 19:18:46] local.INFO: GPS Element Parsed {"raw_longitude":763146240,"raw_latitude":97996384,"longitude_deg":76.314624,"latitude_deg":9.7996384,"altitude":0,"angle":242,"satellites":35,"speed":0,"hex_longitude":"2d7cb000","hex_latitude":"05d74e60","is_valid_coordinates":true} 
[2026-08-19 19:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509692928001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787147259000,"timestamp_ms":1787147259000,"timestamp_seconds":1787147259,"priority":1,"record_length":96,"hex_timestamp":"000001a01a470c78"} 
[2026-08-19 19:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:18: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-08-19 19:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 19:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:18: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-08-19 19:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509692928001,"66":11634,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509692928001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:18:46] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:18:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509692928001,"power":11634,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":160375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:18:46] local.INFO: GPS data processed {"connection_id":160375,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:18:46] local.INFO: Acknowledgment sent {"connection_id":160375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:18:58] local.INFO: TCP Data received {"connection_id":159049,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:18:58] local.INFO: Processing buffer {"connection_id":159049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:18:58] local.INFO: IMEI packet received {"connection_id":159049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":159049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:19:04] local.INFO: TCP Data received {"connection_id":159049,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:19:04] local.INFO: Processing buffer {"connection_id":159049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:19:04] local.INFO: IMEI packet received {"connection_id":159049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":159049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:19:05] local.INFO: TCP Data received {"connection_id":159049,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:19:05] local.INFO: Processing buffer {"connection_id":159049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:19:05] local.INFO: Packet analysis {"connection_id":159049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:19:05] local.INFO: Extracted packet for processing {"connection_id":159049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:19:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509572352001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:19:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787147068000,"timestamp_ms":1787147068000,"timestamp_seconds":1787147068,"priority":1,"record_length":96,"hex_timestamp":"000001a01a442260"} 
[2026-08-19 19:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:19:05] 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-08-19 19:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509572352001,"66":25973,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509572352001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:19:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:19:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509572352001,"power":25973,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":159049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:19:05] local.INFO: GPS data processed {"connection_id":159049,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:19:05] local.INFO: Acknowledgment sent {"connection_id":159049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:19:17] local.INFO: TCP Data received {"connection_id":160375,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a475e80012d7cb00005d74e60000000f223..."} 
[2026-08-19 19:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a475e80012d7cb00005d74e60000000f223..."} 
[2026-08-19 19:19:17] local.INFO: Processing buffer {"connection_id":160375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a475e80012d7cb00005d74e60000000f223..."} 
[2026-08-19 19:19:17] local.INFO: Packet analysis {"connection_id":160375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a47"} 
[2026-08-19 19:19:17] local.INFO: Extracted packet for processing {"connection_id":160375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a47"} 
[2026-08-19 19:19:17] local.INFO: GPS Element Parsed {"raw_longitude":763146240,"raw_latitude":97996384,"longitude_deg":76.314624,"latitude_deg":9.7996384,"altitude":0,"angle":242,"satellites":35,"speed":0,"hex_longitude":"2d7cb000","hex_latitude":"05d74e60","is_valid_coordinates":true} 
[2026-08-19 19:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509698304001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787147280000,"timestamp_ms":1787147280000,"timestamp_seconds":1787147280,"priority":1,"record_length":96,"hex_timestamp":"000001a01a475e80"} 
[2026-08-19 19:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 19:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:19: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-08-19 19:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509698304001,"66":11634,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509698304001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:19:17] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:19:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509698304001,"power":11634,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":160375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:19:17] local.INFO: GPS data processed {"connection_id":160375,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:19:17] local.INFO: Acknowledgment sent {"connection_id":160375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:19:36] local.INFO: TCP Data received {"connection_id":159049,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:19:36] local.INFO: Processing buffer {"connection_id":159049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:19:36] local.INFO: Packet analysis {"connection_id":159049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:19:36] local.INFO: Extracted packet for processing {"connection_id":159049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:19:36] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509572352001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:19:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787147068000,"timestamp_ms":1787147068000,"timestamp_seconds":1787147068,"priority":1,"record_length":96,"hex_timestamp":"000001a01a442260"} 
[2026-08-19 19:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:19:36] 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-08-19 19:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509572352001,"66":25973,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509572352001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:19:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:19:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509572352001,"power":25973,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":159049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:19:36] local.INFO: GPS data processed {"connection_id":159049,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:19:36] local.INFO: Acknowledgment sent {"connection_id":159049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:19:41] local.INFO: TCP Data received {"connection_id":158197,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:19:41] local.INFO: Processing buffer {"connection_id":158197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:19:41] local.INFO: IMEI packet received {"connection_id":158197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":158197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:19:46] local.INFO: TCP Data received {"connection_id":158197,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:19:46] local.INFO: Processing buffer {"connection_id":158197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:19:46] local.INFO: IMEI packet received {"connection_id":158197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":158197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:19:47] local.INFO: TCP Data received {"connection_id":158197,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a47b088012d7cb00005d74e60000000f226..."} 
[2026-08-19 19:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a47b088012d7cb00005d74e60000000f226..."} 
[2026-08-19 19:19:47] local.INFO: Processing buffer {"connection_id":158197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a47b088012d7cb00005d74e60000000f226..."} 
[2026-08-19 19:19:47] local.INFO: Packet analysis {"connection_id":158197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a47"} 
[2026-08-19 19:19:47] local.INFO: Extracted packet for processing {"connection_id":158197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a47"} 
[2026-08-19 19:19:47] local.INFO: GPS Element Parsed {"raw_longitude":763146240,"raw_latitude":97996384,"longitude_deg":76.314624,"latitude_deg":9.7996384,"altitude":0,"angle":242,"satellites":38,"speed":0,"hex_longitude":"2d7cb000","hex_latitude":"05d74e60","is_valid_coordinates":true} 
[2026-08-19 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-08-19 19:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509703680001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787147301000,"timestamp_ms":1787147301000,"timestamp_seconds":1787147301,"priority":1,"record_length":96,"hex_timestamp":"000001a01a47b088"} 
[2026-08-19 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-08-19 19:19: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-08-19 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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-19 19:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 19:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:19:47] 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-08-19 19:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509703680001,"66":11656,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509703680001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:19:47] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:19:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509703680001,"power":11656,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":158197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:19:47] local.INFO: GPS data processed {"connection_id":158197,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:19:47] local.INFO: Acknowledgment sent {"connection_id":158197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:19:58] local.INFO: TCP Data received {"connection_id":160376,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:19:58] local.INFO: Processing buffer {"connection_id":160376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:19:58] local.INFO: IMEI packet received {"connection_id":160376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":160376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:20:04] local.INFO: TCP Data received {"connection_id":160376,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:20:04] local.INFO: Processing buffer {"connection_id":160376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:20:04] local.INFO: IMEI packet received {"connection_id":160376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":160376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:20:05] local.INFO: TCP Data received {"connection_id":160376,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:20:05] local.INFO: Processing buffer {"connection_id":160376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a442260012ceb0780071a3b28001e01322d..."} 
[2026-08-19 19:20:05] local.INFO: Packet analysis {"connection_id":160376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:20:05] local.INFO: Extracted packet for processing {"connection_id":160376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a44"} 
[2026-08-19 19:20:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":45,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509572352001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:20:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787147068000,"timestamp_ms":1787147068000,"timestamp_seconds":1787147068,"priority":1,"record_length":96,"hex_timestamp":"000001a01a442260"} 
[2026-08-19 19:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:20:05] 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-08-19 19:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509572352001,"66":25973,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509572352001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:20:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:20:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509572352001,"power":25973,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":160376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:20:05] local.INFO: GPS data processed {"connection_id":160376,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:20:05] local.INFO: Acknowledgment sent {"connection_id":160376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:20:13] local.INFO: TCP Data received {"connection_id":158198,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:20:13] local.INFO: Processing buffer {"connection_id":158198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:20:13] local.INFO: IMEI packet received {"connection_id":158198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":158198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:20:14] local.INFO: TCP Data received {"connection_id":158198,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a47fea8012d199f00071ff0a0003a010728..."} 
[2026-08-19 19:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a47fea8012d199f00071ff0a0003a010728..."} 
[2026-08-19 19:20:14] local.INFO: Processing buffer {"connection_id":158198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a47fea8012d199f00071ff0a0003a010728..."} 
[2026-08-19 19:20:14] local.INFO: Packet analysis {"connection_id":158198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a47"} 
[2026-08-19 19:20:14] local.INFO: Extracted packet for processing {"connection_id":158198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a47"} 
[2026-08-19 19:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756653824,"raw_latitude":119533728,"longitude_deg":75.6653824,"latitude_deg":11.9533728,"altitude":58,"angle":263,"satellites":40,"speed":11,"hex_longitude":"2d199f00","hex_latitude":"071ff0a0","is_valid_coordinates":true} 
[2026-08-19 19:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509713152001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996186021134336,"note":"Value kept but may cause issues"} 
[2026-08-19 19:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847249934008600576,"note":"Value kept but may cause issues"} 
[2026-08-19 19:20:14] 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-08-19 19:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787147321000,"timestamp_ms":1787147321000,"timestamp_seconds":1787147321,"priority":1,"record_length":96,"hex_timestamp":"000001a01a47fea8"} 
[2026-08-19 19:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:20:14] 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-08-19 19:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-19 19:20: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-08-19 19:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509713152001,"66":12798,"101":206,"83":41984,"24":11,"16":13996186021134336,"45":1847249934008600576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-19 19:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509713152001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:20:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 19:20:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996186021134336,"km_value":13996186021134.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847249934008600576,"description":"Unknown IO ID 45"} 
[2026-08-19 19:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509713152001,"power":12798,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1847249934008600576}} 
[2026-08-19 19:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":158198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:20:14] local.INFO: GPS data processed {"connection_id":158198,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:20:14] local.INFO: Acknowledgment sent {"connection_id":158198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:20:18] local.INFO: TCP Data received {"connection_id":158197,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a480290012d7cb00005d74e60000000f223..."} 
[2026-08-19 19:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a480290012d7cb00005d74e60000000f223..."} 
[2026-08-19 19:20:18] local.INFO: Processing buffer {"connection_id":158197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a480290012d7cb00005d74e60000000f223..."} 
[2026-08-19 19:20:18] local.INFO: Packet analysis {"connection_id":158197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:20:18] local.INFO: Extracted packet for processing {"connection_id":158197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:20:18] local.INFO: GPS Element Parsed {"raw_longitude":763146240,"raw_latitude":97996384,"longitude_deg":76.314624,"latitude_deg":9.7996384,"altitude":0,"angle":242,"satellites":35,"speed":0,"hex_longitude":"2d7cb000","hex_latitude":"05d74e60","is_valid_coordinates":true} 
[2026-08-19 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-08-19 19:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509709056001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787147322000,"timestamp_ms":1787147322000,"timestamp_seconds":1787147322,"priority":1,"record_length":96,"hex_timestamp":"000001a01a480290"} 
[2026-08-19 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-08-19 19:20:18] 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-08-19 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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-08-19 19:20:18] 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-08-19 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-08-19 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-08-19 19:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:20:18] 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-08-19 19:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509709056001,"66":11602,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509709056001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:20:18] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:20:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509709056001,"power":11602,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":158197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:20:18] local.INFO: GPS data processed {"connection_id":158197,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:20:18] local.INFO: Acknowledgment sent {"connection_id":158197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:20:36] local.INFO: TCP Data received {"connection_id":160376,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:20:36] local.INFO: Processing buffer {"connection_id":160376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:20:36] local.INFO: Packet analysis {"connection_id":160376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:20:36] local.INFO: Extracted packet for processing {"connection_id":160376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:20:36] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509649408001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:20:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787147369000,"timestamp_ms":1787147369000,"timestamp_seconds":1787147369,"priority":1,"record_length":96,"hex_timestamp":"000001a01a48ba28"} 
[2026-08-19 19:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 19:20:36] 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-08-19 19:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509649408001,"66":25071,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509649408001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:20:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:20:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509649408001,"power":25071,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":160376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:20:36] local.INFO: GPS data processed {"connection_id":160376,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:20:36] local.INFO: Acknowledgment sent {"connection_id":160376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:20:41] local.INFO: TCP Data received {"connection_id":160377,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:20:41] local.INFO: Processing buffer {"connection_id":160377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:20:41] local.INFO: IMEI packet received {"connection_id":160377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":160377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:20:45] local.INFO: TCP Data received {"connection_id":158198,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a48f4c0012d196780071fef480040014c29..."} 
[2026-08-19 19:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a48f4c0012d196780071fef480040014c29..."} 
[2026-08-19 19:20:45] local.INFO: Processing buffer {"connection_id":158198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a48f4c0012d196780071fef480040014c29..."} 
[2026-08-19 19:20:45] local.INFO: Packet analysis {"connection_id":158198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:20:45] local.INFO: Extracted packet for processing {"connection_id":158198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:20:45] local.INFO: GPS Element Parsed {"raw_longitude":756639616,"raw_latitude":119533384,"longitude_deg":75.6639616,"latitude_deg":11.9533384,"altitude":64,"angle":332,"satellites":41,"speed":3,"hex_longitude":"2d196780","hex_latitude":"071fef48","is_valid_coordinates":true} 
[2026-08-19 19:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509730048001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996890395770880,"note":"Value kept but may cause issues"} 
[2026-08-19 19:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382450688,"note":"Value kept but may cause issues"} 
[2026-08-19 19:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787147384000,"timestamp_ms":1787147384000,"timestamp_seconds":1787147384,"priority":1,"record_length":96,"hex_timestamp":"000001a01a48f4c0"} 
[2026-08-19 19:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:20:45] 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-08-19 19:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 19:20:45] 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-08-19 19:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509730048001,"66":12972,"102":206,"83":41984,"24":3,"16":13996890395770880,"45":1830642910382450688},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509730048001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:20:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:20:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996890395770880,"km_value":13996890395770.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382450688,"description":"Unknown IO ID 45"} 
[2026-08-19 19:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509730048001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830642910382450688}} 
[2026-08-19 19:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":158198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:20:45] local.INFO: GPS data processed {"connection_id":158198,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:20:45] local.INFO: Acknowledgment sent {"connection_id":158198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:20:46] local.INFO: TCP Data received {"connection_id":160377,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:20:46] local.INFO: Processing buffer {"connection_id":160377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:20:46] local.INFO: IMEI packet received {"connection_id":160377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":160377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:20:47] local.INFO: TCP Data received {"connection_id":160377,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a485498012d7cb00005d74e60000000f227..."} 
[2026-08-19 19:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a485498012d7cb00005d74e60000000f227..."} 
[2026-08-19 19:20:47] local.INFO: Processing buffer {"connection_id":160377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a485498012d7cb00005d74e60000000f227..."} 
[2026-08-19 19:20:47] local.INFO: Packet analysis {"connection_id":160377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:20:47] local.INFO: Extracted packet for processing {"connection_id":160377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:20:47] local.INFO: GPS Element Parsed {"raw_longitude":763146240,"raw_latitude":97996384,"longitude_deg":76.314624,"latitude_deg":9.7996384,"altitude":0,"angle":242,"satellites":39,"speed":0,"hex_longitude":"2d7cb000","hex_latitude":"05d74e60","is_valid_coordinates":true} 
[2026-08-19 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-08-19 19:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509714432001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787147343000,"timestamp_ms":1787147343000,"timestamp_seconds":1787147343,"priority":1,"record_length":96,"hex_timestamp":"000001a01a485498"} 
[2026-08-19 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-08-19 19:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-19 19:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 19:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:20:47] 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-08-19 19:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509714432001,"66":11558,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509714432001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:20:47] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:20:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509714432001,"power":11558,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":160377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:20:47] local.INFO: GPS data processed {"connection_id":160377,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:20:47] local.INFO: Acknowledgment sent {"connection_id":160377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:20:59] local.INFO: TCP Data received {"connection_id":160378,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:20:59] local.INFO: Processing buffer {"connection_id":160378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:20:59] local.INFO: IMEI packet received {"connection_id":160378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":160378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:21:04] local.INFO: TCP Data received {"connection_id":160378,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:21:04] local.INFO: Processing buffer {"connection_id":160378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:21:04] local.INFO: IMEI packet received {"connection_id":160378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":160378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:21:05] local.INFO: TCP Data received {"connection_id":160378,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:21:05] local.INFO: Processing buffer {"connection_id":160378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:21:05] local.INFO: Packet analysis {"connection_id":160378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:21:05] local.INFO: Extracted packet for processing {"connection_id":160378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:21:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509649408001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:21:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787147369000,"timestamp_ms":1787147369000,"timestamp_seconds":1787147369,"priority":1,"record_length":96,"hex_timestamp":"000001a01a48ba28"} 
[2026-08-19 19:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 19:21:05] 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-08-19 19:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509649408001,"66":25071,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509649408001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:21:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:21:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509649408001,"power":25071,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":160378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:21:05] local.INFO: GPS data processed {"connection_id":160378,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:21:05] local.INFO: Acknowledgment sent {"connection_id":160378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:21:08] local.INFO: TCP Data received {"connection_id":159050,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:21:08] local.INFO: Processing buffer {"connection_id":159050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:21:08] local.INFO: IMEI packet received {"connection_id":159050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":159050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:21:13] local.INFO: TCP Data received {"connection_id":159050,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:21:13] local.INFO: Processing buffer {"connection_id":159050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:21:13] local.INFO: IMEI packet received {"connection_id":159050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":159050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:21:14] local.INFO: TCP Data received {"connection_id":159050,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a48fc90012d1966c0071ff0100040013829..."} 
[2026-08-19 19:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a48fc90012d1966c0071ff0100040013829..."} 
[2026-08-19 19:21:14] local.INFO: Processing buffer {"connection_id":159050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a48fc90012d1966c0071ff0100040013829..."} 
[2026-08-19 19:21:14] local.INFO: Packet analysis {"connection_id":159050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:21:14] local.INFO: Extracted packet for processing {"connection_id":159050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:21:14] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533584,"longitude_deg":75.6639424,"latitude_deg":11.9533584,"altitude":64,"angle":312,"satellites":41,"speed":6,"hex_longitude":"2d1966c0","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-08-19 19:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509730304001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996903280672768,"note":"Value kept but may cause issues"} 
[2026-08-19 19:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830572541638297600,"note":"Value kept but may cause issues"} 
[2026-08-19 19:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787147386000,"timestamp_ms":1787147386000,"timestamp_seconds":1787147386,"priority":1,"record_length":96,"hex_timestamp":"000001a01a48fc90"} 
[2026-08-19 19:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:21:14] 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-08-19 19:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 19:21:14] 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-08-19 19:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509730304001,"66":12885,"102":206,"83":41984,"24":6,"16":13996903280672768,"45":1830572541638297600},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509730304001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:21:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:21:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996903280672768,"km_value":13996903280672.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830572541638297600,"description":"Unknown IO ID 45"} 
[2026-08-19 19:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509730304001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1830572541638297600}} 
[2026-08-19 19:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":159050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:21:14] local.INFO: GPS data processed {"connection_id":159050,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:21:14] local.INFO: Acknowledgment sent {"connection_id":159050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:21:18] local.INFO: TCP Data received {"connection_id":160377,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a48a6a0012d7cb00005d74e60000000f226..."} 
[2026-08-19 19:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a48a6a0012d7cb00005d74e60000000f226..."} 
[2026-08-19 19:21:18] local.INFO: Processing buffer {"connection_id":160377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a48a6a0012d7cb00005d74e60000000f226..."} 
[2026-08-19 19:21:18] local.INFO: Packet analysis {"connection_id":160377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:21:18] local.INFO: Extracted packet for processing {"connection_id":160377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:21:18] local.INFO: GPS Element Parsed {"raw_longitude":763146240,"raw_latitude":97996384,"longitude_deg":76.314624,"latitude_deg":9.7996384,"altitude":0,"angle":242,"satellites":38,"speed":0,"hex_longitude":"2d7cb000","hex_latitude":"05d74e60","is_valid_coordinates":true} 
[2026-08-19 19:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509719808001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120914264369135616,"note":"Value kept but may cause issues"} 
[2026-08-19 19:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681281691213824,"note":"Value kept but may cause issues"} 
[2026-08-19 19:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787147364000,"timestamp_ms":1787147364000,"timestamp_seconds":1787147364,"priority":1,"record_length":96,"hex_timestamp":"000001a01a48a6a0"} 
[2026-08-19 19:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:21:18] 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-08-19 19:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 19:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":765,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:21:18] 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-08-19 19:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509719808001,"66":11711,"7":206,"85":15104,"24":0,"16":120914264369135616,"45":8984681281691213824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-19 19:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509719808001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:21:18] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-19 19:21:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120914264369135616,"km_value":120914264369135.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681281691213824,"description":"Unknown IO ID 45"} 
[2026-08-19 19:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509719808001,"power":11711,"unknown_7":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8984681281691213824}} 
[2026-08-19 19:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":160377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:21:18] local.INFO: GPS data processed {"connection_id":160377,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:21:18] local.INFO: Acknowledgment sent {"connection_id":160377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:21:37] local.INFO: TCP Data received {"connection_id":160378,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:21:37] local.INFO: Processing buffer {"connection_id":160378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:21:37] local.INFO: Packet analysis {"connection_id":160378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:21:37] local.INFO: Extracted packet for processing {"connection_id":160378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:21:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509649408001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:21:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787147369000,"timestamp_ms":1787147369000,"timestamp_seconds":1787147369,"priority":1,"record_length":96,"hex_timestamp":"000001a01a48ba28"} 
[2026-08-19 19:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 19:21:37] 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-08-19 19: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-08-19 19:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509649408001,"66":25071,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509649408001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:21:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:21:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509649408001,"power":25071,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":160378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:21:37] local.INFO: GPS data processed {"connection_id":160378,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:21:37] local.INFO: Acknowledgment sent {"connection_id":160378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:21:40] local.INFO: TCP Data received {"connection_id":158199,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:21:40] local.INFO: Processing buffer {"connection_id":158199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:21:40] local.INFO: IMEI packet received {"connection_id":158199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":158199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:21:41] local.INFO: TCP Data received {"connection_id":158199,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:21:41] local.INFO: Processing buffer {"connection_id":158199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:21:41] local.INFO: IMEI packet received {"connection_id":158199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":158199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:21:41] local.INFO: TCP Data received {"connection_id":158199,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:21:41] local.INFO: Processing buffer {"connection_id":158199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:21:41] local.INFO: IMEI packet received {"connection_id":158199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":158199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:21:42] local.INFO: TCP Data received {"connection_id":158199,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:21:42] local.INFO: Processing buffer {"connection_id":158199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:21:42] local.INFO: IMEI packet received {"connection_id":158199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":158199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:21:44] local.INFO: TCP Data received {"connection_id":159050,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a490078012d196680071ff0980040014429..."} 
[2026-08-19 19:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a490078012d196680071ff0980040014429..."} 
[2026-08-19 19:21:44] local.INFO: Processing buffer {"connection_id":159050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a490078012d196680071ff0980040014429..."} 
[2026-08-19 19:21:44] local.INFO: Packet analysis {"connection_id":159050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a49"} 
[2026-08-19 19:21:44] local.INFO: Extracted packet for processing {"connection_id":159050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a49"} 
[2026-08-19 19:21:44] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533720,"longitude_deg":75.663936,"latitude_deg":11.953372,"altitude":64,"angle":324,"satellites":41,"speed":7,"hex_longitude":"2d196680","hex_latitude":"071ff098","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509730816001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996911870607360,"note":"Value kept but may cause issues"} 
[2026-08-19 19:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405815808,"note":"Value kept but may cause issues"} 
[2026-08-19 19:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787147387000,"timestamp_ms":1787147387000,"timestamp_seconds":1787147387,"priority":1,"record_length":96,"hex_timestamp":"000001a01a490078"} 
[2026-08-19 19:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-19 19:21:44] 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-08-19 19: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-08-19 19:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509730816001,"66":12667,"102":206,"83":41984,"24":7,"16":13996911870607360,"45":1830361435405815808},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509730816001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:21:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:21:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996911870607360,"km_value":13996911870607.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405815808,"description":"Unknown IO ID 45"} 
[2026-08-19 19:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509730816001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1830361435405815808}} 
[2026-08-19 19:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":159050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:21:45] local.INFO: GPS data processed {"connection_id":159050,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:21:45] local.INFO: Acknowledgment sent {"connection_id":159050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:21:59] local.INFO: TCP Data received {"connection_id":157830,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:21:59] local.INFO: Processing buffer {"connection_id":157830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:21:59] local.INFO: IMEI packet received {"connection_id":157830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":157830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:22:04] local.INFO: TCP Data received {"connection_id":157830,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:22:04] local.INFO: Processing buffer {"connection_id":157830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:22:04] local.INFO: IMEI packet received {"connection_id":157830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":157830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:22:05] local.INFO: TCP Data received {"connection_id":157830,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:22:05] local.INFO: Processing buffer {"connection_id":157830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:22:05] local.INFO: Packet analysis {"connection_id":157830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:22:05] local.INFO: Extracted packet for processing {"connection_id":157830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:22:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509649408001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:22:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787147369000,"timestamp_ms":1787147369000,"timestamp_seconds":1787147369,"priority":1,"record_length":96,"hex_timestamp":"000001a01a48ba28"} 
[2026-08-19 19:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 19:22:05] 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-08-19 19:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509649408001,"66":25071,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509649408001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:22:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:22:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509649408001,"power":25071,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":157830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:22:05] local.INFO: GPS data processed {"connection_id":157830,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:22:05] local.INFO: Acknowledgment sent {"connection_id":157830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:22:13] local.INFO: TCP Data received {"connection_id":160379,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:22:13] local.INFO: Processing buffer {"connection_id":160379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:22:13] local.INFO: IMEI packet received {"connection_id":160379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":160379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:22:18] local.INFO: TCP Data received {"connection_id":160379,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:22:18] local.INFO: Processing buffer {"connection_id":160379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:22:18] local.INFO: IMEI packet received {"connection_id":160379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":160379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:22:19] local.INFO: TCP Data received {"connection_id":160379,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a495280012d196580071ff1580040014628..."} 
[2026-08-19 19:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a495280012d196580071ff1580040014628..."} 
[2026-08-19 19:22:19] local.INFO: Processing buffer {"connection_id":160379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a495280012d196580071ff1580040014628..."} 
[2026-08-19 19:22:19] local.INFO: Packet analysis {"connection_id":160379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a49"} 
[2026-08-19 19:22:19] local.INFO: Extracted packet for processing {"connection_id":160379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a49"} 
[2026-08-19 19:22:19] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533912,"longitude_deg":75.6639104,"latitude_deg":11.9533912,"altitude":64,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509731072001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661672960,"note":"Value kept but may cause issues"} 
[2026-08-19 19:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787147408000,"timestamp_ms":1787147408000,"timestamp_seconds":1787147408,"priority":1,"record_length":96,"hex_timestamp":"000001a01a495280"} 
[2026-08-19 19:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-19 19:22:19] 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-08-19 19: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-08-19 19:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509731072001,"66":12526,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830291066661672960},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509731072001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:22:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:22:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661672960,"description":"Unknown IO ID 45"} 
[2026-08-19 19:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509731072001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661672960}} 
[2026-08-19 19:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":160379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:22:19] local.INFO: GPS data processed {"connection_id":160379,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:22:19] local.INFO: Acknowledgment sent {"connection_id":160379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:22:23] local.INFO: TCP Data received {"connection_id":160379,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a49a488012d196580071ff1580040014627..."} 
[2026-08-19 19:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a49a488012d196580071ff1580040014627..."} 
[2026-08-19 19:22:23] local.INFO: Processing buffer {"connection_id":160379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a49a488012d196580071ff1580040014627..."} 
[2026-08-19 19:22:23] local.INFO: Packet analysis {"connection_id":160379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a49"} 
[2026-08-19 19:22:23] local.INFO: Extracted packet for processing {"connection_id":160379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a49"} 
[2026-08-19 19:22:23] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533912,"longitude_deg":75.6639104,"latitude_deg":11.9533912,"altitude":64,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-08-19 19:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509736448001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787147429000,"timestamp_ms":1787147429000,"timestamp_seconds":1787147429,"priority":1,"record_length":96,"hex_timestamp":"000001a01a49a488"} 
[2026-08-19 19:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 19:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509736448001,"66":12852,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509736448001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:22:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:22:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509736448001,"power":12852,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":160379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:22:23] local.INFO: GPS data processed {"connection_id":160379,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:22:23] local.INFO: Acknowledgment sent {"connection_id":160379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:22:37] local.INFO: TCP Data received {"connection_id":157830,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:22:37] local.INFO: Processing buffer {"connection_id":157830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:22:37] local.INFO: Packet analysis {"connection_id":157830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:22:37] local.INFO: Extracted packet for processing {"connection_id":157830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:22:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509649408001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:22:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787147369000,"timestamp_ms":1787147369000,"timestamp_seconds":1787147369,"priority":1,"record_length":96,"hex_timestamp":"000001a01a48ba28"} 
[2026-08-19 19:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 19:22:37] 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-08-19 19: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-08-19 19:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509649408001,"66":25071,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509649408001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:22:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:22:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509649408001,"power":25071,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":157830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:22:37] local.INFO: GPS data processed {"connection_id":157830,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:22:37] local.INFO: Acknowledgment sent {"connection_id":157830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:22:58] local.INFO: TCP Data received {"connection_id":158200,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:22:58] local.INFO: Processing buffer {"connection_id":158200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:22:58] local.INFO: IMEI packet received {"connection_id":158200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":158200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:23:04] local.INFO: TCP Data received {"connection_id":158200,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:23:04] local.INFO: Processing buffer {"connection_id":158200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:23:04] local.INFO: IMEI packet received {"connection_id":158200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":158200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:23:05] local.INFO: TCP Data received {"connection_id":158200,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:23:05] local.INFO: Processing buffer {"connection_id":158200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:23:05] local.INFO: Packet analysis {"connection_id":158200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:23:05] local.INFO: Extracted packet for processing {"connection_id":158200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:23:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509649408001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:23:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787147369000,"timestamp_ms":1787147369000,"timestamp_seconds":1787147369,"priority":1,"record_length":96,"hex_timestamp":"000001a01a48ba28"} 
[2026-08-19 19:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 19:23:05] 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-08-19 19:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509649408001,"66":25071,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509649408001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:23:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:23:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509649408001,"power":25071,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":158200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:23:05] local.INFO: GPS data processed {"connection_id":158200,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:23:05] local.INFO: Acknowledgment sent {"connection_id":158200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:23:08] local.INFO: TCP Data received {"connection_id":159052,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:23:08] local.INFO: Processing buffer {"connection_id":159052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:23:08] local.INFO: IMEI packet received {"connection_id":159052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":159052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:23:13] local.INFO: TCP Data received {"connection_id":159052,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:23:13] local.INFO: Processing buffer {"connection_id":159052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:23:13] local.INFO: IMEI packet received {"connection_id":159052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":159052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:23:14] local.INFO: TCP Data received {"connection_id":159052,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01a49f690012d196580071ff1580040014628..."} 
[2026-08-19 19:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a49f690012d196580071ff1580040014628..."} 
[2026-08-19 19:23:14] local.INFO: Processing buffer {"connection_id":159052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a49f690012d196580071ff1580040014628..."} 
[2026-08-19 19:23:14] local.INFO: Packet analysis {"connection_id":159052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a49"} 
[2026-08-19 19:23:14] local.INFO: Extracted packet for processing {"connection_id":159052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a49"} 
[2026-08-19 19:23:14] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533912,"longitude_deg":75.6639104,"latitude_deg":11.9533912,"altitude":64,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-08-19 19:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509741824001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787147450000,"timestamp_ms":1787147450000,"timestamp_seconds":1787147450,"priority":1,"record_length":96,"hex_timestamp":"000001a01a49f690"} 
[2026-08-19 19:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:23:14] 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-08-19 19:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-19 19:23:14] 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-08-19 19:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509741824001,"66":12841,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509741824001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:23:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:23:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509741824001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":159052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:23:14] local.INFO: GPS data processed {"connection_id":159052,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:23:14] local.INFO: Acknowledgment sent {"connection_id":159052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:23:37] local.INFO: TCP Data received {"connection_id":158200,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:23:37] local.INFO: Processing buffer {"connection_id":158200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:23:37] local.INFO: Packet analysis {"connection_id":158200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:23:37] local.INFO: Extracted packet for processing {"connection_id":158200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:23:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509649408001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:23:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787147369000,"timestamp_ms":1787147369000,"timestamp_seconds":1787147369,"priority":1,"record_length":96,"hex_timestamp":"000001a01a48ba28"} 
[2026-08-19 19:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 19:23:37] 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-08-19 19:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509649408001,"66":25071,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509649408001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:23:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:23:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509649408001,"power":25071,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":158200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:23:37] local.INFO: GPS data processed {"connection_id":158200,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:23:37] local.INFO: Acknowledgment sent {"connection_id":158200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:23:45] local.INFO: TCP Data received {"connection_id":159052,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:23:45] local.INFO: Processing buffer {"connection_id":159052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:23:45] local.INFO: Packet analysis {"connection_id":159052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4a"} 
[2026-08-19 19:23:45] local.INFO: Extracted packet for processing {"connection_id":159052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4a"} 
[2026-08-19 19:23:45] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533912,"longitude_deg":75.6639104,"latitude_deg":11.9533912,"altitude":64,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-08-19 19:23: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-08-19 19:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509747200001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787147465000,"timestamp_ms":1787147465000,"timestamp_seconds":1787147465,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4a3128"} 
[2026-08-19 19:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:23: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-08-19 19:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-19 19:23:45] 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-08-19 19:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509747200001,"66":12809,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509747200001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:23:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:23:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509747200001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":159052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:23:45] local.INFO: GPS data processed {"connection_id":159052,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:23:45] local.INFO: Acknowledgment sent {"connection_id":159052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:23:58] local.INFO: TCP Data received {"connection_id":158201,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:23:58] local.INFO: Processing buffer {"connection_id":158201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:23:58] local.INFO: IMEI packet received {"connection_id":158201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":158201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:24:04] local.INFO: TCP Data received {"connection_id":158201,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:24:04] local.INFO: Processing buffer {"connection_id":158201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:24:04] local.INFO: IMEI packet received {"connection_id":158201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":158201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:24:05] local.INFO: TCP Data received {"connection_id":158201,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:24:05] local.INFO: Processing buffer {"connection_id":158201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:24:05] local.INFO: Packet analysis {"connection_id":158201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:24:05] local.INFO: Extracted packet for processing {"connection_id":158201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:24:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509649408001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787147369000,"timestamp_ms":1787147369000,"timestamp_seconds":1787147369,"priority":1,"record_length":96,"hex_timestamp":"000001a01a48ba28"} 
[2026-08-19 19:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 19:24:05] 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-08-19 19:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509649408001,"66":25071,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509649408001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:24:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:24:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509649408001,"power":25071,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":158201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:24:05] local.INFO: GPS data processed {"connection_id":158201,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:24:05] local.INFO: Acknowledgment sent {"connection_id":158201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:24:08] local.INFO: TCP Data received {"connection_id":157832,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:24:08] local.INFO: Processing buffer {"connection_id":157832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:24:08] local.INFO: IMEI packet received {"connection_id":157832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":157832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:24:13] local.INFO: TCP Data received {"connection_id":157832,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:24:13] local.INFO: Processing buffer {"connection_id":157832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:24:13] local.INFO: IMEI packet received {"connection_id":157832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":157832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:24:14] local.INFO: TCP Data received {"connection_id":157832,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:24:14] local.INFO: Processing buffer {"connection_id":157832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:24:14] local.INFO: Packet analysis {"connection_id":157832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4a"} 
[2026-08-19 19:24:14] local.INFO: Extracted packet for processing {"connection_id":157832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4a"} 
[2026-08-19 19:24:14] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533912,"longitude_deg":75.6639104,"latitude_deg":11.9533912,"altitude":64,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-08-19 19:24:14] 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-08-19 19:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509751040001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787147465000,"timestamp_ms":1787147465000,"timestamp_seconds":1787147465,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4a3128"} 
[2026-08-19 19:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:24: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":9,"data_length":795,"current_offset":136} 
[2026-08-19 19:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144115188243629056,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:14] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-08-19 19:24:14] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:14] local.WARNING: Large IO value detected {"io_id":26,"raw_value":5255938264704575424,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:14] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4036493376,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-19 19:24:14] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301031547404377386,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:14] local.WARNING: Large IO value detected {"io_id":252,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:14] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052611982194848173,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3122397184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:14] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,186,160,246,45,128,64,40,10,66,164,39,82,1,240,238,227,26,31,4,113,205,7,252,41,239,50,2,49,3,25],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-19 19:24:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612044631016734959,"timestamp_seconds":4612044631016735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509751040001,"66":12809,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509751040001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:24:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:24:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509751040001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":157832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:24:14] local.INFO: GPS data processed {"connection_id":157832,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:24:14] local.INFO: Acknowledgment sent {"connection_id":157832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:24:37] local.INFO: TCP Data received {"connection_id":158201,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:24:37] local.INFO: Processing buffer {"connection_id":158201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a48ba28012ceb0780071a3b28001e013226..."} 
[2026-08-19 19:24:37] local.INFO: Packet analysis {"connection_id":158201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:24:37] local.INFO: Extracted packet for processing {"connection_id":158201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a48"} 
[2026-08-19 19:24:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":30,"angle":306,"satellites":38,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509649408001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787147369000,"timestamp_ms":1787147369000,"timestamp_seconds":1787147369,"priority":1,"record_length":96,"hex_timestamp":"000001a01a48ba28"} 
[2026-08-19 19:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-19 19:24:37] 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-08-19 19: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-08-19 19:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509649408001,"66":25071,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509649408001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:24:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:24:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509649408001,"power":25071,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":158201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:24:37] local.INFO: GPS data processed {"connection_id":158201,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:24:37] local.INFO: Acknowledgment sent {"connection_id":158201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:24:44] local.INFO: TCP Data received {"connection_id":157832,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:24:44] local.INFO: Processing buffer {"connection_id":157832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:24:44] local.INFO: Packet analysis {"connection_id":157832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4a"} 
[2026-08-19 19:24:44] local.INFO: Extracted packet for processing {"connection_id":157832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4a"} 
[2026-08-19 19:24:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533912,"longitude_deg":75.6639104,"latitude_deg":11.9533912,"altitude":64,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-08-19 19:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509751040001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787147465000,"timestamp_ms":1787147465000,"timestamp_seconds":1787147465,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4a3128"} 
[2026-08-19 19:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:24: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-08-19 19:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 19:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":216172782281556992,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:44] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3122528256,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:44] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-08-19 19:24:44] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:44] local.WARNING: Large IO value detected {"io_id":26,"raw_value":5257037776332351360,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:44] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4049076288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-19 19:24:44] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301137100520639529,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:44] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121410214973011,"note":"Value kept but may cause issues"} 
[2026-08-19 19:24:44] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,186,160,49,45,128,64,40,10,66,246,164,1,240,52,227,26,31,4,113,205,152,41,239,2,7,6,50,28],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-19 19:24:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612044631016734751,"timestamp_seconds":4612044631016735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509751040001,"66":12809,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509751040001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:24:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:24:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509751040001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":157832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:24:45] local.INFO: GPS data processed {"connection_id":157832,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:24:45] local.INFO: Acknowledgment sent {"connection_id":157832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:25:04] local.INFO: TCP Data received {"connection_id":160381,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:25:04] local.INFO: Processing buffer {"connection_id":160381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:25:04] local.INFO: IMEI packet received {"connection_id":160381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":160381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:25:08] local.INFO: TCP Data received {"connection_id":160382,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:25:08] local.INFO: Processing buffer {"connection_id":160382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:25:08] local.INFO: IMEI packet received {"connection_id":160382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":160382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:25:09] local.INFO: TCP Data received {"connection_id":160381,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:25:09] local.INFO: Processing buffer {"connection_id":160381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:25:09] local.INFO: IMEI packet received {"connection_id":160381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":160381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:25:10] local.INFO: TCP Data received {"connection_id":160381,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:25:10] local.INFO: Processing buffer {"connection_id":160381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:25:10] local.INFO: Packet analysis {"connection_id":160381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:25:10] local.INFO: Extracted packet for processing {"connection_id":160381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:25:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":45,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509726464001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787147670000,"timestamp_ms":1787147670000,"timestamp_seconds":1787147670,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4d51f0"} 
[2026-08-19 19:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 19:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509726464001,"66":25875,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509726464001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:25:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509726464001,"power":25875,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":160381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:25:10] local.INFO: GPS data processed {"connection_id":160381,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:25:10] local.INFO: Acknowledgment sent {"connection_id":160381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:25:11] local.INFO: TCP Data received {"connection_id":160381,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:25:11] local.INFO: Processing buffer {"connection_id":160381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:25:11] local.INFO: Packet analysis {"connection_id":160381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:25:11] local.INFO: Extracted packet for processing {"connection_id":160381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:25:11] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":45,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509726464001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787147670000,"timestamp_ms":1787147670000,"timestamp_seconds":1787147670,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4d51f0"} 
[2026-08-19 19:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 19:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509726464001,"66":25875,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509726464001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:25:11] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:25:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509726464001,"power":25875,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":160381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:25:11] local.INFO: GPS data processed {"connection_id":160381,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:25:11] local.INFO: Acknowledgment sent {"connection_id":160381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:25:13] local.INFO: TCP Data received {"connection_id":160382,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:25:13] local.INFO: Processing buffer {"connection_id":160382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:25:13] local.INFO: IMEI packet received {"connection_id":160382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":160382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:25:14] local.INFO: TCP Data received {"connection_id":160382,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:25:14] local.INFO: Processing buffer {"connection_id":160382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:25:14] local.INFO: Packet analysis {"connection_id":160382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4a"} 
[2026-08-19 19:25:14] local.INFO: Extracted packet for processing {"connection_id":160382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4a"} 
[2026-08-19 19:25:14] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533912,"longitude_deg":75.6639104,"latitude_deg":11.9533912,"altitude":64,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-08-19 19:25: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-08-19 19:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509751040001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787147465000,"timestamp_ms":1787147465000,"timestamp_seconds":1787147465,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4a3128"} 
[2026-08-19 19:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:25: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":9,"data_length":795,"current_offset":136} 
[2026-08-19 19:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":216172782281556992,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3122528256,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:14] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-08-19 19:25:14] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:14] local.WARNING: Large IO value detected {"io_id":26,"raw_value":5257037776332351360,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:14] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4049076288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-19 19:25:14] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301137100520639529,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:14] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121410214973011,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:14] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,186,160,49,45,128,64,40,10,66,246,164,1,240,52,227,26,31,4,113,205,152,41,239,2,7,6,50,28],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-19 19:25:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612044631016734751,"timestamp_seconds":4612044631016735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:25:14] 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-08-19 19:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509751040001,"66":12809,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509751040001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:25:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:25:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509751040001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":160382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:25:14] local.INFO: GPS data processed {"connection_id":160382,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:25:14] local.INFO: Acknowledgment sent {"connection_id":160382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:25:43] local.INFO: TCP Data received {"connection_id":160381,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:25:43] local.INFO: Processing buffer {"connection_id":160381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:25:43] local.INFO: Packet analysis {"connection_id":160381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:25:43] local.INFO: Extracted packet for processing {"connection_id":160381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:25:43] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":45,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509726464001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787147670000,"timestamp_ms":1787147670000,"timestamp_seconds":1787147670,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4d51f0"} 
[2026-08-19 19:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 19:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509726464001,"66":25875,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509726464001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:25:43] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:25:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509726464001,"power":25875,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":160381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:25:43] local.INFO: GPS data processed {"connection_id":160381,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:25:43] local.INFO: Acknowledgment sent {"connection_id":160381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:25:45] local.INFO: TCP Data received {"connection_id":160382,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:25:45] local.INFO: Processing buffer {"connection_id":160382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:25:45] local.INFO: Packet analysis {"connection_id":160382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4a"} 
[2026-08-19 19:25:45] local.INFO: Extracted packet for processing {"connection_id":160382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4a"} 
[2026-08-19 19:25:45] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533912,"longitude_deg":75.6639104,"latitude_deg":11.9533912,"altitude":64,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-08-19 19:25:45] 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-08-19 19:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509751040001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787147465000,"timestamp_ms":1787147465000,"timestamp_seconds":1787147465,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4a3128"} 
[2026-08-19 19:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 19:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":216172782281556992,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:45] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3122528256,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:45] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-08-19 19:25:45] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:45] local.WARNING: Large IO value detected {"io_id":26,"raw_value":5257037776332351360,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4049076288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-19 19:25:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301137100520639529,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121410214973011,"note":"Value kept but may cause issues"} 
[2026-08-19 19:25:45] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,186,160,49,45,128,64,40,10,66,246,164,1,240,52,227,26,31,4,113,205,152,41,239,2,7,6,50,28],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-19 19:25:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612044631016734751,"timestamp_seconds":4612044631016735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:25:45] 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-08-19 19:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509751040001,"66":12809,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509751040001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:25:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:25:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509751040001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":160382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:25:45] local.INFO: GPS data processed {"connection_id":160382,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:25:45] local.INFO: Acknowledgment sent {"connection_id":160382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:25:58] local.INFO: TCP Data received {"connection_id":159053,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:25:58] local.INFO: Processing buffer {"connection_id":159053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:25:58] local.INFO: IMEI packet received {"connection_id":159053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":159053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:26:04] local.INFO: TCP Data received {"connection_id":159053,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:26:04] local.INFO: Processing buffer {"connection_id":159053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:26:04] local.INFO: IMEI packet received {"connection_id":159053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":159053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:26:06] local.INFO: TCP Data received {"connection_id":159053,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:26:06] local.INFO: Processing buffer {"connection_id":159053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:26:06] local.INFO: Packet analysis {"connection_id":159053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:26:06] local.INFO: Extracted packet for processing {"connection_id":159053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:26:06] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":45,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509726464001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787147670000,"timestamp_ms":1787147670000,"timestamp_seconds":1787147670,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4d51f0"} 
[2026-08-19 19:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 19:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509726464001,"66":25875,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509726464001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:26:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:26:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509726464001,"power":25875,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":159053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:26:06] local.INFO: GPS data processed {"connection_id":159053,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:26:06] local.INFO: Acknowledgment sent {"connection_id":159053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:26:08] local.INFO: TCP Data received {"connection_id":158202,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:26:08] local.INFO: Processing buffer {"connection_id":158202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:26:08] local.INFO: IMEI packet received {"connection_id":158202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":158202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:26:13] local.INFO: TCP Data received {"connection_id":158202,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:26:13] local.INFO: Processing buffer {"connection_id":158202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:26:13] local.INFO: IMEI packet received {"connection_id":158202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":158202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:26:14] local.INFO: TCP Data received {"connection_id":158202,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:26:14] local.INFO: Processing buffer {"connection_id":158202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:26:14] local.INFO: Packet analysis {"connection_id":158202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4a"} 
[2026-08-19 19:26:14] local.INFO: Extracted packet for processing {"connection_id":158202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4a"} 
[2026-08-19 19:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533912,"longitude_deg":75.6639104,"latitude_deg":11.9533912,"altitude":64,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-08-19 19:26: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-08-19 19:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509751040001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787147465000,"timestamp_ms":1787147465000,"timestamp_seconds":1787147465,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4a3128"} 
[2026-08-19 19:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:26: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":9,"data_length":795,"current_offset":136} 
[2026-08-19 19:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":216172782281556992,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3122528256,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:14] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-08-19 19:26:14] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:14] local.WARNING: Large IO value detected {"io_id":26,"raw_value":5257037776332351360,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:14] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4049076288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-19 19:26:14] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301137100520639529,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:14] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121410214973011,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:14] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,186,160,49,45,128,64,40,10,66,246,164,1,240,52,227,26,31,4,113,205,152,41,239,2,7,6,50,28],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-19 19:26:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612044631016734751,"timestamp_seconds":4612044631016735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509751040001,"66":12809,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509751040001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:26:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:26:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509751040001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":158202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:26:14] local.INFO: GPS data processed {"connection_id":158202,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:26:14] local.INFO: Acknowledgment sent {"connection_id":158202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:26:37] local.INFO: TCP Data received {"connection_id":159053,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:26:37] local.INFO: Processing buffer {"connection_id":159053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:26:37] local.INFO: Packet analysis {"connection_id":159053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:26:37] local.INFO: Extracted packet for processing {"connection_id":159053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:26:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":45,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509726464001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787147670000,"timestamp_ms":1787147670000,"timestamp_seconds":1787147670,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4d51f0"} 
[2026-08-19 19:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 19:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509726464001,"66":25875,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509726464001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:26:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:26:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509726464001,"power":25875,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":159053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:26:37] local.INFO: GPS data processed {"connection_id":159053,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:26:37] local.INFO: Acknowledgment sent {"connection_id":159053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:26:44] local.INFO: TCP Data received {"connection_id":158202,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:26:44] local.INFO: Processing buffer {"connection_id":158202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4a3128012d196580071ff1580040014628..."} 
[2026-08-19 19:26:44] local.INFO: Packet analysis {"connection_id":158202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4a"} 
[2026-08-19 19:26:44] local.INFO: Extracted packet for processing {"connection_id":158202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4a"} 
[2026-08-19 19:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533912,"longitude_deg":75.6639104,"latitude_deg":11.9533912,"altitude":64,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff158","is_valid_coordinates":true} 
[2026-08-19 19:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509751040001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787147465000,"timestamp_ms":1787147465000,"timestamp_seconds":1787147465,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4a3128"} 
[2026-08-19 19:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:26: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-08-19 19:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 19:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":216172782281556992,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:44] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3122528256,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:44] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-08-19 19:26:44] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:44] local.WARNING: Large IO value detected {"io_id":26,"raw_value":5257037776332351360,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:44] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4049076288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-19 19:26:44] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301137100520639529,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:44] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121410214973011,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:44] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,186,160,49,45,128,64,40,10,66,246,164,1,240,52,227,26,31,4,113,205,152,41,239,2,7,6,50,28],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-19 19:26:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612044631016734751,"timestamp_seconds":4612044631016735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509751040001,"66":12809,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509751040001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:26:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:26:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509751040001,"power":12809,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":158202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:26:45] local.INFO: GPS data processed {"connection_id":158202,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:26:45] local.INFO: Acknowledgment sent {"connection_id":158202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:26:46] local.INFO: TCP Data received {"connection_id":160383,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:26:46] local.INFO: Processing buffer {"connection_id":160383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:26:46] local.INFO: IMEI packet received {"connection_id":160383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":160383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:26:47] local.INFO: TCP Data received {"connection_id":160383,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4ead98012d7e1d4005d55e00000400b228..."} 
[2026-08-19 19:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4ead98012d7e1d4005d55e00000400b228..."} 
[2026-08-19 19:26:47] local.INFO: Processing buffer {"connection_id":160383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4ead98012d7e1d4005d55e00000400b228..."} 
[2026-08-19 19:26:47] local.INFO: Packet analysis {"connection_id":160383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:26:47] local.INFO: Extracted packet for processing {"connection_id":160383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:26:47] local.INFO: GPS Element Parsed {"raw_longitude":763239744,"raw_latitude":97869312,"longitude_deg":76.3239744,"latitude_deg":9.7869312,"altitude":4,"angle":178,"satellites":40,"speed":22,"hex_longitude":"2d7e1d40","hex_latitude":"05d55e00","is_valid_coordinates":true} 
[2026-08-19 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-08-19 19:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509826048001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120925843600965632,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087419648158203904,"note":"Value kept but may cause issues"} 
[2026-08-19 19:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787147759000,"timestamp_ms":1787147759000,"timestamp_seconds":1787147759,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4ead98"} 
[2026-08-19 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-08-19 19:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-19 19:26:47] 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-08-19 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-08-19 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-08-19 19:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:26:47] 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-08-19 19:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509826048001,"66":12189,"29":206,"85":15104,"24":22,"16":120925843600965632,"45":9087419648158203904},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-19 19:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509826048001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:26:47] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-19 19:26:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120925843600965632,"km_value":120925843600965.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087419648158203904,"description":"Unknown IO ID 45"} 
[2026-08-19 19:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509826048001,"power":12189,"unknown_29":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9087419648158203904}} 
[2026-08-19 19:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":160383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:26:47] local.INFO: GPS data processed {"connection_id":160383,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:26:47] local.INFO: Acknowledgment sent {"connection_id":160383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:26:58] local.INFO: TCP Data received {"connection_id":157834,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:26:58] local.INFO: Processing buffer {"connection_id":157834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:26:58] local.INFO: IMEI packet received {"connection_id":157834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":157834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:27:04] local.INFO: TCP Data received {"connection_id":157834,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:27:04] local.INFO: Processing buffer {"connection_id":157834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:27:04] local.INFO: IMEI packet received {"connection_id":157834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":157834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:27:05] local.INFO: TCP Data received {"connection_id":157834,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:27:05] local.INFO: Processing buffer {"connection_id":157834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:27:05] local.INFO: Packet analysis {"connection_id":157834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:27:05] local.INFO: Extracted packet for processing {"connection_id":157834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:27:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":45,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509726464001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787147670000,"timestamp_ms":1787147670000,"timestamp_seconds":1787147670,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4d51f0"} 
[2026-08-19 19:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 19:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509726464001,"66":25875,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509726464001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:27:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:27:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509726464001,"power":25875,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":157834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:27:05] local.INFO: GPS data processed {"connection_id":157834,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:27:05] local.INFO: Acknowledgment sent {"connection_id":157834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:27:13] local.INFO: TCP Data received {"connection_id":159054,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:27:13] local.INFO: Processing buffer {"connection_id":159054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:27:13] local.INFO: IMEI packet received {"connection_id":159054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":159054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:27:18] local.INFO: TCP Data received {"connection_id":160383,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4ee448012d7e200005d53ac0000500b228..."} 
[2026-08-19 19:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4ee448012d7e200005d53ac0000500b228..."} 
[2026-08-19 19:27:18] local.INFO: Processing buffer {"connection_id":160383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4ee448012d7e200005d53ac0000500b228..."} 
[2026-08-19 19:27:18] local.INFO: Packet analysis {"connection_id":160383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:27:18] local.INFO: Extracted packet for processing {"connection_id":160383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:27:18] local.INFO: GPS Element Parsed {"raw_longitude":763240448,"raw_latitude":97860288,"longitude_deg":76.3240448,"latitude_deg":9.7860288,"altitude":5,"angle":178,"satellites":40,"speed":28,"hex_longitude":"2d7e2000","hex_latitude":"05d53ac0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 19:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509826304001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120926285982597120,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087490016902250496,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787147773000,"timestamp_ms":1787147773000,"timestamp_seconds":1787147773,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4ee448"} 
[2026-08-19 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-08-19 19:27:18] 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-08-19 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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-19 19:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 19:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:27:18] 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-08-19 19:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509826304001,"66":12156,"111":206,"85":15104,"24":28,"16":120926285982597120,"45":9087490016902250496},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 19:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509826304001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:27:18] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 19:27:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120926285982597120,"km_value":120926285982597.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087490016902250496,"description":"Unknown IO ID 45"} 
[2026-08-19 19:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509826304001,"power":12156,"unknown_111":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9087490016902250496}} 
[2026-08-19 19:27:18] local.INFO: TCP Data received {"connection_id":159054,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:27:18] local.INFO: Processing buffer {"connection_id":159054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:27:18] local.INFO: IMEI packet received {"connection_id":159054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":159054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":160383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:27:18] local.INFO: GPS data processed {"connection_id":160383,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:27:18] local.INFO: Acknowledgment sent {"connection_id":160383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:27:19] local.INFO: TCP Data received {"connection_id":159054,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:27:19] local.INFO: Processing buffer {"connection_id":159054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:27:19] local.INFO: Packet analysis {"connection_id":159054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:27:19] local.INFO: Extracted packet for processing {"connection_id":159054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:27:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509751040001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787147771000,"timestamp_ms":1787147771000,"timestamp_seconds":1787147771,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4edc78"} 
[2026-08-19 19:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19: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-08-19 19:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 19:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:19] local.WARNING: Large IO value detected {"io_id":49,"raw_value":8863309983656234579,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:19] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-08-19 19:27:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:19] local.WARNING: Large IO value detected {"io_id":26,"raw_value":5259236799587903168,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4049076288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-19 19:27:19] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:19] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:19] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:19] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301357002846189609,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:19] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:19] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,186,160,49,45,128,64,40,10,66,246,1,240,41,227,26,31,4,113,205,82,101,88,239,48,2,7,164,30],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-19 19:27:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612044631016734786,"timestamp_seconds":4612044631016735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509751040001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509751040001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:27:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:27:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509751040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":159054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:27:19] local.INFO: GPS data processed {"connection_id":159054,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:27:19] local.INFO: Acknowledgment sent {"connection_id":159054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:27:23] local.INFO: TCP Data received {"connection_id":159054,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:27:23] local.INFO: Processing buffer {"connection_id":159054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:27:23] local.INFO: Packet analysis {"connection_id":159054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:27:23] local.INFO: Extracted packet for processing {"connection_id":159054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509751040001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787147771000,"timestamp_ms":1787147771000,"timestamp_seconds":1787147771,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4edc78"} 
[2026-08-19 19:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:27: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-08-19 19: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 19:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:23] local.WARNING: Large IO value detected {"io_id":49,"raw_value":8863309983656234579,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:23] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-08-19 19:27:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:23] local.WARNING: Large IO value detected {"io_id":26,"raw_value":5259236799587903168,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:23] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4049076288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-19 19:27:23] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:23] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:23] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:23] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301357002846189609,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:23] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:23] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,186,160,49,45,128,64,40,10,66,246,1,240,41,227,26,31,4,113,205,82,101,88,239,48,2,7,164,30],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-19 19:27:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612044631016734786,"timestamp_seconds":4612044631016735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509751040001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509751040001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:27:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509751040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":159054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:27:23] local.INFO: GPS data processed {"connection_id":159054,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:27:23] local.INFO: Acknowledgment sent {"connection_id":159054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:27:36] local.INFO: TCP Data received {"connection_id":157834,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:27:36] local.INFO: Processing buffer {"connection_id":157834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:27:36] local.INFO: Packet analysis {"connection_id":157834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:27:36] local.INFO: Extracted packet for processing {"connection_id":157834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:27:36] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":45,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509726464001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787147670000,"timestamp_ms":1787147670000,"timestamp_seconds":1787147670,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4d51f0"} 
[2026-08-19 19:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 19:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509726464001,"66":25875,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509726464001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:27:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:27:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509726464001,"power":25875,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":157834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:27:37] local.INFO: GPS data processed {"connection_id":157834,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:27:37] local.INFO: Acknowledgment sent {"connection_id":157834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:27:46] local.INFO: TCP Data received {"connection_id":160384,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:27:46] local.INFO: Processing buffer {"connection_id":160384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:27:46] local.INFO: IMEI packet received {"connection_id":160384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":160384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:27:51] local.INFO: TCP Data received {"connection_id":160384,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:27:51] local.INFO: Processing buffer {"connection_id":160384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:27:51] local.INFO: IMEI packet received {"connection_id":160384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":160384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:27:52] local.INFO: TCP Data received {"connection_id":160384,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4f3268012d7e20c005d524a0000300b529..."} 
[2026-08-19 19:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4f3268012d7e20c005d524a0000300b529..."} 
[2026-08-19 19:27:52] local.INFO: Processing buffer {"connection_id":160384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4f3268012d7e20c005d524a0000300b529..."} 
[2026-08-19 19:27:52] local.INFO: Packet analysis {"connection_id":160384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4f"} 
[2026-08-19 19:27:52] local.INFO: Extracted packet for processing {"connection_id":160384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4f"} 
[2026-08-19 19:27:52] local.INFO: GPS Element Parsed {"raw_longitude":763240640,"raw_latitude":97854624,"longitude_deg":76.324064,"latitude_deg":9.7854624,"altitude":3,"angle":181,"satellites":41,"speed":11,"hex_longitude":"2d7e20c0","hex_latitude":"05d524a0","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509829888001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120926560860504064,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088264073085894656,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:52] 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-08-19 19:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787147793000,"timestamp_ms":1787147793000,"timestamp_seconds":1787147793,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4f3268"} 
[2026-08-19 19:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:27:52] 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-08-19 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-19 19:27:52] 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-08-19 19: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-08-19 19:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:27:52] 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-08-19 19:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509829888001,"66":12156,"111":206,"85":15104,"24":11,"16":120926560860504064,"45":9088264073085894656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 19:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509829888001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:27:52] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 19:27:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120926560860504064,"km_value":120926560860504.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088264073085894656,"description":"Unknown IO ID 45"} 
[2026-08-19 19:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509829888001,"power":12156,"unknown_111":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9088264073085894656}} 
[2026-08-19 19:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":160384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:27:52] local.INFO: GPS data processed {"connection_id":160384,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:27:52] local.INFO: Acknowledgment sent {"connection_id":160384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:27:56] local.INFO: TCP Data received {"connection_id":160384,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4f4208012d7e218005d51ed0000300a929..."} 
[2026-08-19 19:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4f4208012d7e218005d51ed0000300a929..."} 
[2026-08-19 19:27:56] local.INFO: Processing buffer {"connection_id":160384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4f4208012d7e218005d51ed0000300a929..."} 
[2026-08-19 19:27:56] local.INFO: Packet analysis {"connection_id":160384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4f"} 
[2026-08-19 19:27:56] local.INFO: Extracted packet for processing {"connection_id":160384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4f"} 
[2026-08-19 19:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763240832,"raw_latitude":97853136,"longitude_deg":76.3240832,"latitude_deg":9.7853136,"altitude":3,"angle":169,"satellites":41,"speed":18,"hex_longitude":"2d7e2180","hex_latitude":"05d51ed0","is_valid_coordinates":true} 
[2026-08-19 19:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509835008001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120926633874948096,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088475179316977664,"note":"Value kept but may cause issues"} 
[2026-08-19 19:27:56] 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-08-19 19:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787147797000,"timestamp_ms":1787147797000,"timestamp_seconds":1787147797,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4f4208"} 
[2026-08-19 19:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:27:56] 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-08-19 19:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-19 19:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:27:56] 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-08-19 19:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509835008001,"66":12135,"111":206,"85":15104,"24":18,"16":120926633874948096,"45":9088475179316977664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 19:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509835008001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:27:56] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 19:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120926633874948096,"km_value":120926633874948.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088475179316977664,"description":"Unknown IO ID 45"} 
[2026-08-19 19:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509835008001,"power":12135,"unknown_111":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9088475179316977664}} 
[2026-08-19 19:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":160384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:27:56] local.INFO: GPS data processed {"connection_id":160384,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:27:56] local.INFO: Acknowledgment sent {"connection_id":160384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:27:58] local.INFO: TCP Data received {"connection_id":159055,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:27:58] local.INFO: Processing buffer {"connection_id":159055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:27:58] local.INFO: IMEI packet received {"connection_id":159055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":159055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:28:04] local.INFO: TCP Data received {"connection_id":159055,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:28:04] local.INFO: Processing buffer {"connection_id":159055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:28:04] local.INFO: IMEI packet received {"connection_id":159055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":159055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:28:05] local.INFO: TCP Data received {"connection_id":159055,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:28:05] local.INFO: Processing buffer {"connection_id":159055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:28:05] local.INFO: Packet analysis {"connection_id":159055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:28:05] local.INFO: Extracted packet for processing {"connection_id":159055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:28:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":45,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509726464001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787147670000,"timestamp_ms":1787147670000,"timestamp_seconds":1787147670,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4d51f0"} 
[2026-08-19 19:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 19:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509726464001,"66":25875,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509726464001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:28:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:28:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509726464001,"power":25875,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":159055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:28:05] local.INFO: GPS data processed {"connection_id":159055,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:28:05] local.INFO: Acknowledgment sent {"connection_id":159055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:28:08] local.INFO: TCP Data received {"connection_id":158203,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:28:08] local.INFO: Processing buffer {"connection_id":158203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:28:08] local.INFO: IMEI packet received {"connection_id":158203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":158203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:28:13] local.INFO: TCP Data received {"connection_id":158203,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:28:13] local.INFO: Processing buffer {"connection_id":158203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:28:13] local.INFO: IMEI packet received {"connection_id":158203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":158203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:28:14] local.INFO: TCP Data received {"connection_id":158203,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:28:14] local.INFO: Processing buffer {"connection_id":158203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:28:14] local.INFO: Packet analysis {"connection_id":158203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:28:14] local.INFO: Extracted packet for processing {"connection_id":158203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:28:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:28: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-08-19 19:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509751040001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787147771000,"timestamp_ms":1787147771000,"timestamp_seconds":1787147771,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4edc78"} 
[2026-08-19 19:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:28: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":9,"data_length":795,"current_offset":136} 
[2026-08-19 19:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":8863309983656234579,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:14] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-08-19 19:28:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:14] local.WARNING: Large IO value detected {"io_id":26,"raw_value":5259236799587903168,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:14] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4049076288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-19 19:28:14] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:14] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:14] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:14] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301357002846189609,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:14] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:14] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,186,160,49,45,128,64,40,10,66,246,1,240,41,227,26,31,4,113,205,82,101,88,239,48,2,7,164,30],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-19 19:28:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612044631016734786,"timestamp_seconds":4612044631016735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509751040001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509751040001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:28:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:28:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509751040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":158203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:28:14] local.INFO: GPS data processed {"connection_id":158203,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:28:14] local.INFO: Acknowledgment sent {"connection_id":158203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:28:37] local.INFO: TCP Data received {"connection_id":159055,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:28:37] local.INFO: Processing buffer {"connection_id":159055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:28:37] local.INFO: Packet analysis {"connection_id":159055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:28:37] local.INFO: Extracted packet for processing {"connection_id":159055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:28:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":45,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509726464001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787147670000,"timestamp_ms":1787147670000,"timestamp_seconds":1787147670,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4d51f0"} 
[2026-08-19 19:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 19:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509726464001,"66":25875,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509726464001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:28:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:28:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509726464001,"power":25875,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":159055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:28:37] local.INFO: GPS data processed {"connection_id":159055,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:28:37] local.INFO: Acknowledgment sent {"connection_id":159055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:28:40] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:28:40] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:28:40] local.INFO: IMEI packet received {"connection_id":160385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":160385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:28:41] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:28:41] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:28:41] local.INFO: IMEI packet received {"connection_id":160385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":160385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:28:45] local.INFO: TCP Data received {"connection_id":158203,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:28:45] local.INFO: Processing buffer {"connection_id":158203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:28:45] local.INFO: Packet analysis {"connection_id":158203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:28:45] local.INFO: Extracted packet for processing {"connection_id":158203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:28:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509751040001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787147771000,"timestamp_ms":1787147771000,"timestamp_seconds":1787147771,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4edc78"} 
[2026-08-19 19:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 19:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:45] local.WARNING: Large IO value detected {"io_id":49,"raw_value":8863309983656234579,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:45] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-08-19 19:28:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:45] local.WARNING: Large IO value detected {"io_id":26,"raw_value":5259236799587903168,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4049076288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-19 19:28:45] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:45] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:45] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301357002846189609,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:45] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:45] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,186,160,49,45,128,64,40,10,66,246,1,240,41,227,26,31,4,113,205,82,101,88,239,48,2,7,164,30],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-19 19:28:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612044631016734786,"timestamp_seconds":4612044631016735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509751040001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509751040001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:28:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:28:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509751040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":158203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:28:45] local.INFO: GPS data processed {"connection_id":158203,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:28:45] local.INFO: Acknowledgment sent {"connection_id":158203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:28:46] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:28:46] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:28:46] local.INFO: IMEI packet received {"connection_id":160385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":160385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:28:47] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4f74d0012d7e268005d4fa08000400ad2a..."} 
[2026-08-19 19:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4f74d0012d7e268005d4fa08000400ad2a..."} 
[2026-08-19 19:28:47] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4f74d0012d7e268005d4fa08000400ad2a..."} 
[2026-08-19 19:28:47] local.INFO: Packet analysis {"connection_id":160385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4f"} 
[2026-08-19 19:28:47] local.INFO: Extracted packet for processing {"connection_id":160385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4f"} 
[2026-08-19 19:28:47] local.INFO: GPS Element Parsed {"raw_longitude":763242112,"raw_latitude":97843720,"longitude_deg":76.3242112,"latitude_deg":9.784372,"altitude":4,"angle":173,"satellites":42,"speed":30,"hex_longitude":"2d7e2680","hex_latitude":"05d4fa08","is_valid_coordinates":true} 
[2026-08-19 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-08-19 19:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509836032001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120927093436448768,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088686285549129728,"note":"Value kept but may cause issues"} 
[2026-08-19 19:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787147810000,"timestamp_ms":1787147810000,"timestamp_seconds":1787147810,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4f74d0"} 
[2026-08-19 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-08-19 19:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 19:28:47] 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-08-19 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-08-19 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-08-19 19:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:28:47] 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-08-19 19:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509836032001,"66":12037,"111":206,"85":15104,"24":30,"16":120927093436448768,"45":9088686285549129728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-19 19:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509836032001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:28:47] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-19 19:28:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120927093436448768,"km_value":120927093436448.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088686285549129728,"description":"Unknown IO ID 45"} 
[2026-08-19 19:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509836032001,"power":12037,"unknown_111":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9088686285549129728}} 
[2026-08-19 19:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":160385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:28:47] local.INFO: GPS data processed {"connection_id":160385,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:28:47] local.INFO: Acknowledgment sent {"connection_id":160385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:29:04] local.INFO: TCP Data received {"connection_id":160386,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:29:04] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:29:04] local.INFO: IMEI packet received {"connection_id":160386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":160386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:29:08] local.INFO: TCP Data received {"connection_id":157835,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:29:08] local.INFO: Processing buffer {"connection_id":157835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:29:08] local.INFO: IMEI packet received {"connection_id":157835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":157835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:29:09] local.INFO: TCP Data received {"connection_id":160386,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:29:09] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:29:09] local.INFO: IMEI packet received {"connection_id":160386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":160386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:29:10] local.INFO: TCP Data received {"connection_id":160386,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:29:10] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:29:10] local.INFO: Packet analysis {"connection_id":160386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:29:10] local.INFO: Extracted packet for processing {"connection_id":160386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:29:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":45,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509726464001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787147670000,"timestamp_ms":1787147670000,"timestamp_seconds":1787147670,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4d51f0"} 
[2026-08-19 19:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 19:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509726464001,"66":25875,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509726464001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:29:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509726464001,"power":25875,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":160386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:29:10] local.INFO: GPS data processed {"connection_id":160386,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:29:10] local.INFO: Acknowledgment sent {"connection_id":160386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:29:13] local.INFO: TCP Data received {"connection_id":157835,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:29:13] local.INFO: Processing buffer {"connection_id":157835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:29:13] local.INFO: IMEI packet received {"connection_id":157835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":157835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:29:14] local.INFO: TCP Data received {"connection_id":157835,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:29:14] local.INFO: Processing buffer {"connection_id":157835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:29:14] local.INFO: Packet analysis {"connection_id":157835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:29:14] local.INFO: Extracted packet for processing {"connection_id":157835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:29:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:29: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-08-19 19:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509751040001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787147771000,"timestamp_ms":1787147771000,"timestamp_seconds":1787147771,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4edc78"} 
[2026-08-19 19:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:29: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":9,"data_length":795,"current_offset":136} 
[2026-08-19 19:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":8863309983656234579,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:14] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-08-19 19:29:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:14] local.WARNING: Large IO value detected {"io_id":26,"raw_value":5259236799587903168,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:14] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4049076288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-19 19:29:14] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:14] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:14] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:14] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301357002846189609,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:14] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:14] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,186,160,49,45,128,64,40,10,66,246,1,240,41,227,26,31,4,113,205,82,101,88,239,48,2,7,164,30],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-19 19:29:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612044631016734786,"timestamp_seconds":4612044631016735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509751040001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509751040001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:29:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509751040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":157835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:29:14] local.INFO: GPS data processed {"connection_id":157835,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:29:14] local.INFO: Acknowledgment sent {"connection_id":157835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:29:14] local.INFO: TCP Data received {"connection_id":160386,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:29:14] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:29:14] local.INFO: Packet analysis {"connection_id":160386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:29:14] local.INFO: Extracted packet for processing {"connection_id":160386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:29:14] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":45,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:29: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-08-19 19:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509726464001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787147670000,"timestamp_ms":1787147670000,"timestamp_seconds":1787147670,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4d51f0"} 
[2026-08-19 19:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 19:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:29: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-08-19 19:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509726464001,"66":25875,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509726464001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:29:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:29:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509726464001,"power":25875,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":160386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:29:14] local.INFO: GPS data processed {"connection_id":160386,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:29:14] local.INFO: Acknowledgment sent {"connection_id":160386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:29:18] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a511ab0012d7e454005d40650000600ab2b..."} 
[2026-08-19 19:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a511ab0012d7e454005d40650000600ab2b..."} 
[2026-08-19 19:29:18] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a511ab0012d7e454005d40650000600ab2b..."} 
[2026-08-19 19:29:18] local.INFO: Packet analysis {"connection_id":160385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:29:18] local.INFO: Extracted packet for processing {"connection_id":160385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:29:18] local.INFO: GPS Element Parsed {"raw_longitude":763249984,"raw_latitude":97781328,"longitude_deg":76.3249984,"latitude_deg":9.7781328,"altitude":6,"angle":171,"satellites":43,"speed":33,"hex_longitude":"2d7e4540","hex_latitude":"05d40650","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509865472001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120930181517934592,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097200903577444352,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787147918000,"timestamp_ms":1787147918000,"timestamp_seconds":1787147918,"priority":1,"record_length":96,"hex_timestamp":"000001a01a511ab0"} 
[2026-08-19 19:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:29:18] 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-08-19 19: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 19:29:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788845,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:18] local.WARNING: Large IO value detected {"io_id":212,"raw_value":-3548836480588043520,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1299120334,"corrected_to":0} 
[2026-08-19 19:29:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607153997,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:18] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2676621312,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3570003968,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:18] local.WARNING: Large IO value detected {"io_id":201,"raw_value":57787509375915323,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:18] local.WARNING: Large IO value detected {"io_id":79,"raw_value":-4681490517749202939,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:18] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,111,85,24,241,157,16,161,160,235,45,128,42,6,10,66,188,192,78,7,130,64,1,240,187,227,26,212,4,113,205,57,239,50,2,173,5,201,79],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1299120334,"validated":0}]} 
[2026-08-19 19:29:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432520571261943808,"timestamp_seconds":432520571261943.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:29:18] 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-08-19 19:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509865472001,"66":12156,"110":206,"85":15104,"24":33,"16":120930181517934592,"45":9097200903577444352},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-19 19:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509865472001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:29:18] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 19:29:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120930181517934592,"km_value":120930181517934.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097200903577444352,"description":"Unknown IO ID 45"} 
[2026-08-19 19:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509865472001,"power":12156,"unknown_110":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9097200903577444352}} 
[2026-08-19 19:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":160385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:29:18] local.INFO: GPS data processed {"connection_id":160385,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:29:18] local.INFO: Acknowledgment sent {"connection_id":160385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:29:38] local.INFO: TCP Data received {"connection_id":157836,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:29:38] local.INFO: Processing buffer {"connection_id":157836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:29:38] local.INFO: IMEI packet received {"connection_id":157836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":157836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:29:41] local.INFO: TCP Data received {"connection_id":157836,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:29:41] local.INFO: Processing buffer {"connection_id":157836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:29:41] local.INFO: IMEI packet received {"connection_id":157836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":157836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:29:44] local.INFO: TCP Data received {"connection_id":157835,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:29:44] local.INFO: Processing buffer {"connection_id":157835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:29:44] local.INFO: Packet analysis {"connection_id":157835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:29:44] local.INFO: Extracted packet for processing {"connection_id":157835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:29:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509751040001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787147771000,"timestamp_ms":1787147771000,"timestamp_seconds":1787147771,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4edc78"} 
[2026-08-19 19:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:29: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-08-19 19:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 19:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:44] local.WARNING: Large IO value detected {"io_id":49,"raw_value":8863309983656234579,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:44] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-08-19 19:29:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:44] local.WARNING: Large IO value detected {"io_id":26,"raw_value":5259236799587903168,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:44] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4049076288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-19 19:29:44] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:44] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:44] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:44] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301357002846189609,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:44] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:44] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,186,160,49,45,128,64,40,10,66,246,1,240,41,227,26,31,4,113,205,82,101,88,239,48,2,7,164,30],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-19 19:29:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612044631016734786,"timestamp_seconds":4612044631016735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509751040001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509751040001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:29:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:29:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509751040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":157835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:29:45] local.INFO: GPS data processed {"connection_id":157835,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:29:45] local.INFO: Acknowledgment sent {"connection_id":157835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:29:46] local.INFO: TCP Data received {"connection_id":157836,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:29:46] local.INFO: Processing buffer {"connection_id":157836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:29:46] local.INFO: IMEI packet received {"connection_id":157836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":157836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:29:47] local.INFO: TCP Data received {"connection_id":157836,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a514d78012d7e488005d3e158000800b029..."} 
[2026-08-19 19:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a514d78012d7e488005d3e158000800b029..."} 
[2026-08-19 19:29:47] local.INFO: Processing buffer {"connection_id":157836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a514d78012d7e488005d3e158000800b029..."} 
[2026-08-19 19:29:47] local.INFO: Packet analysis {"connection_id":157836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:29:47] local.INFO: Extracted packet for processing {"connection_id":157836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:29:47] local.INFO: GPS Element Parsed {"raw_longitude":763250816,"raw_latitude":97771864,"longitude_deg":76.3250816,"latitude_deg":9.7771864,"altitude":8,"angle":176,"satellites":41,"speed":29,"hex_longitude":"2d7e4880","hex_latitude":"05d3e158","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509867008001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120930645374402560,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098749015948152832,"note":"Value kept but may cause issues"} 
[2026-08-19 19:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787147931000,"timestamp_ms":1787147931000,"timestamp_seconds":1787147931,"priority":1,"record_length":96,"hex_timestamp":"000001a01a514d78"} 
[2026-08-19 19:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-19 19:29:47] 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-08-19 19: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-08-19 19:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:29:47] 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-08-19 19:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509867008001,"66":12287,"110":206,"85":15104,"24":29,"16":120930645374402560,"45":9098749015948152832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-19 19:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509867008001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:29:47] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 19:29:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120930645374402560,"km_value":120930645374402.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098749015948152832,"description":"Unknown IO ID 45"} 
[2026-08-19 19:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509867008001,"power":12287,"unknown_110":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9098749015948152832}} 
[2026-08-19 19:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":157836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:29:47] local.INFO: GPS data processed {"connection_id":157836,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:29:47] local.INFO: Acknowledgment sent {"connection_id":157836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:29:59] local.INFO: TCP Data received {"connection_id":158204,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:29:59] local.INFO: Processing buffer {"connection_id":158204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:29:59] local.INFO: IMEI packet received {"connection_id":158204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":158204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:30:04] local.INFO: TCP Data received {"connection_id":158204,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:30:04] local.INFO: Processing buffer {"connection_id":158204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:30:04] local.INFO: IMEI packet received {"connection_id":158204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":158204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:30:05] local.INFO: TCP Data received {"connection_id":158204,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:30:05] local.INFO: Processing buffer {"connection_id":158204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4d51f0012ceb0780071a3b28002d013228..."} 
[2026-08-19 19:30:05] local.INFO: Packet analysis {"connection_id":158204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:30:05] local.INFO: Extracted packet for processing {"connection_id":158204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4d"} 
[2026-08-19 19:30:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":45,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509726464001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787147670000,"timestamp_ms":1787147670000,"timestamp_seconds":1787147670,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4d51f0"} 
[2026-08-19 19:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 19:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509726464001,"66":25875,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509726464001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:30:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:30:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509726464001,"power":25875,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":158204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:30:05] local.INFO: GPS data processed {"connection_id":158204,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:30:05] local.INFO: Acknowledgment sent {"connection_id":158204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:30:08] local.INFO: TCP Data received {"connection_id":159056,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:30:08] local.INFO: Processing buffer {"connection_id":159056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:30:08] local.INFO: IMEI packet received {"connection_id":159056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":159056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:30:13] local.INFO: TCP Data received {"connection_id":159056,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:30:13] local.INFO: Processing buffer {"connection_id":159056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:30:13] local.INFO: IMEI packet received {"connection_id":159056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":159056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:30:14] local.INFO: TCP Data received {"connection_id":159056,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:30:14] local.INFO: Processing buffer {"connection_id":159056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:30:14] local.INFO: Packet analysis {"connection_id":159056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:30:14] local.INFO: Extracted packet for processing {"connection_id":159056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:30:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509751040001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787147771000,"timestamp_ms":1787147771000,"timestamp_seconds":1787147771,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4edc78"} 
[2026-08-19 19:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 19:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":8863309983656234579,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:14] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-08-19 19:30:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:14] local.WARNING: Large IO value detected {"io_id":26,"raw_value":5259236799587903168,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:14] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4049076288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-19 19:30:14] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:14] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:14] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:14] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301357002846189609,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:14] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:14] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,186,160,49,45,128,64,40,10,66,246,1,240,41,227,26,31,4,113,205,82,101,88,239,48,2,7,164,30],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-19 19:30:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612044631016734786,"timestamp_seconds":4612044631016735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509751040001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509751040001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:30:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:30:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509751040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":159056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:30:14] local.INFO: GPS data processed {"connection_id":159056,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:30:14] local.INFO: Acknowledgment sent {"connection_id":159056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:30:18] local.INFO: TCP Data received {"connection_id":157836,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a519b98012d7e494005d3be08000700aa29..."} 
[2026-08-19 19:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a519b98012d7e494005d3be08000700aa29..."} 
[2026-08-19 19:30:18] local.INFO: Processing buffer {"connection_id":157836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a519b98012d7e494005d3be08000700aa29..."} 
[2026-08-19 19:30:18] local.INFO: Packet analysis {"connection_id":157836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:30:18] local.INFO: Extracted packet for processing {"connection_id":157836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:30:18] local.INFO: GPS Element Parsed {"raw_longitude":763251008,"raw_latitude":97762824,"longitude_deg":76.3251008,"latitude_deg":9.7762824,"altitude":7,"angle":170,"satellites":41,"speed":16,"hex_longitude":"2d7e4940","hex_latitude":"05d3be08","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509870336001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120931083461066752,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099663809620039680,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787147951000,"timestamp_ms":1787147951000,"timestamp_seconds":1787147951,"priority":1,"record_length":96,"hex_timestamp":"000001a01a519b98"} 
[2026-08-19 19:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:30:18] 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-08-19 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-19 19:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:30:18] 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-08-19 19:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509870336001,"66":13124,"109":206,"85":15104,"24":16,"16":120931083461066752,"45":9099663809620039680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 19:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509870336001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:30:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 19:30:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120931083461066752,"km_value":120931083461066.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099663809620039680,"description":"Unknown IO ID 45"} 
[2026-08-19 19:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509870336001,"power":13124,"unknown_109":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9099663809620039680}} 
[2026-08-19 19:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":157836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:30:18] local.INFO: GPS data processed {"connection_id":157836,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:30:18] local.INFO: Acknowledgment sent {"connection_id":157836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:30:36] local.INFO: TCP Data received {"connection_id":158204,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:30:36] local.INFO: Processing buffer {"connection_id":158204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:30:36] local.INFO: Packet analysis {"connection_id":158204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:30:36] local.INFO: Extracted packet for processing {"connection_id":158204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:30:36] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509803520001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787147971000,"timestamp_ms":1787147971000,"timestamp_seconds":1787147971,"priority":1,"record_length":96,"hex_timestamp":"000001a01a51e9b8"} 
[2026-08-19 19:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 19:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509803520001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509803520001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:30:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:30:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509803520001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":158204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:30:36] local.INFO: GPS data processed {"connection_id":158204,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:30:36] local.INFO: Acknowledgment sent {"connection_id":158204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:30:41] local.INFO: TCP Data received {"connection_id":157837,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:30:41] local.INFO: Processing buffer {"connection_id":157837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:30:41] local.INFO: IMEI packet received {"connection_id":157837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":157837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:30:42] local.INFO: TCP Data received {"connection_id":157837,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:30:42] local.INFO: Processing buffer {"connection_id":157837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:30:42] local.INFO: IMEI packet received {"connection_id":157837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":157837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:30:43] local.INFO: TCP Data received {"connection_id":157837,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:30:43] local.INFO: Processing buffer {"connection_id":157837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:30:43] local.INFO: IMEI packet received {"connection_id":157837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":157837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:30:45] local.INFO: TCP Data received {"connection_id":157837,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:30:45] local.INFO: Processing buffer {"connection_id":157837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:30:45] local.INFO: IMEI packet received {"connection_id":157837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":157837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:30:45] local.INFO: TCP Data received {"connection_id":159056,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:30:45] local.INFO: Processing buffer {"connection_id":159056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:30:45] local.INFO: Packet analysis {"connection_id":159056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:30:45] local.INFO: Extracted packet for processing {"connection_id":159056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:30:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:30: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-08-19 19:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509751040001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787147771000,"timestamp_ms":1787147771000,"timestamp_seconds":1787147771,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4edc78"} 
[2026-08-19 19:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:30: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":9,"data_length":795,"current_offset":136} 
[2026-08-19 19:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:45] local.WARNING: Large IO value detected {"io_id":49,"raw_value":8863309983656234579,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:45] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-08-19 19:30:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:45] local.WARNING: Large IO value detected {"io_id":26,"raw_value":5259236799587903168,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4049076288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-19 19:30:45] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:45] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:45] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301357002846189609,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:45] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:45] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,186,160,49,45,128,64,40,10,66,246,1,240,41,227,26,31,4,113,205,82,101,88,239,48,2,7,164,30],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-19 19:30:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612044631016734786,"timestamp_seconds":4612044631016735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509751040001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509751040001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:30:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:30:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509751040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":159056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:30:45] local.INFO: GPS data processed {"connection_id":159056,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:30:45] local.INFO: Acknowledgment sent {"connection_id":159056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:30:45] local.INFO: TCP Data received {"connection_id":157837,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a52f740012d7e554005d355c8000501232b..."} 
[2026-08-19 19:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a52f740012d7e554005d355c8000501232b..."} 
[2026-08-19 19:30:45] local.INFO: Processing buffer {"connection_id":157837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a52f740012d7e554005d355c8000501232b..."} 
[2026-08-19 19:30:45] local.INFO: Packet analysis {"connection_id":157837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a52"} 
[2026-08-19 19:30:45] local.INFO: Extracted packet for processing {"connection_id":157837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a52"} 
[2026-08-19 19:30:45] local.INFO: GPS Element Parsed {"raw_longitude":763254080,"raw_latitude":97736136,"longitude_deg":76.325408,"latitude_deg":9.7736136,"altitude":5,"angle":291,"satellites":43,"speed":5,"hex_longitude":"2d7e5540","hex_latitude":"05d355c8","is_valid_coordinates":true} 
[2026-08-19 19:30: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-08-19 19:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509896192001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120932436375764992,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103604459284824064,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30: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-08-19 19:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787148040000,"timestamp_ms":1787148040000,"timestamp_seconds":1787148040,"priority":1,"record_length":96,"hex_timestamp":"000001a01a52f740"} 
[2026-08-19 19:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:30:45] 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-08-19 19:30: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 19:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:30: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-08-19 19:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:30: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-08-19 19:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509896192001,"66":11895,"109":206,"85":15104,"24":5,"16":120932436375764992,"45":9103604459284824064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 19:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509896192001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:30:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 19:30:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120932436375764992,"km_value":120932436375764.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103604459284824064,"description":"Unknown IO ID 45"} 
[2026-08-19 19:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509896192001,"power":11895,"unknown_109":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9103604459284824064}} 
[2026-08-19 19:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":157837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:30:45] local.INFO: GPS data processed {"connection_id":157837,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:30:45] local.INFO: Acknowledgment sent {"connection_id":157837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:30:46] local.INFO: TCP Data received {"connection_id":157837,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a52fb28012d7e54c005d356100005012f2a..."} 
[2026-08-19 19:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a52fb28012d7e54c005d356100005012f2a..."} 
[2026-08-19 19:30:46] local.INFO: Processing buffer {"connection_id":157837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a52fb28012d7e54c005d356100005012f2a..."} 
[2026-08-19 19:30:46] local.INFO: Packet analysis {"connection_id":157837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a52"} 
[2026-08-19 19:30:46] local.INFO: Extracted packet for processing {"connection_id":157837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a52"} 
[2026-08-19 19:30:46] local.INFO: GPS Element Parsed {"raw_longitude":763253952,"raw_latitude":97736208,"longitude_deg":76.3253952,"latitude_deg":9.7736208,"altitude":5,"angle":303,"satellites":42,"speed":6,"hex_longitude":"2d7e54c0","hex_latitude":"05d35610","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509898240001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120932444965699584,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103252615563954176,"note":"Value kept but may cause issues"} 
[2026-08-19 19:30: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-08-19 19:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787148041000,"timestamp_ms":1787148041000,"timestamp_seconds":1787148041,"priority":1,"record_length":96,"hex_timestamp":"000001a01a52fb28"} 
[2026-08-19 19:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:30:46] 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-08-19 19: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 19:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":157837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":157837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":157837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:30: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-08-19 19:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509898240001,"66":11776,"109":206,"85":15104,"24":6,"16":120932444965699584,"45":9103252615563954176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 19:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509898240001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:30:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 19:30:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120932444965699584,"km_value":120932444965699.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103252615563954176,"description":"Unknown IO ID 45"} 
[2026-08-19 19:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509898240001,"power":11776,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9103252615563954176}} 
[2026-08-19 19:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":157837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:30:46] local.INFO: GPS data processed {"connection_id":157837,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:30:46] local.INFO: Acknowledgment sent {"connection_id":157837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:30:58] local.INFO: TCP Data received {"connection_id":160387,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:30:58] local.INFO: Processing buffer {"connection_id":160387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:30:58] local.INFO: IMEI packet received {"connection_id":160387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":160387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:31:04] local.INFO: TCP Data received {"connection_id":160387,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:31:04] local.INFO: Processing buffer {"connection_id":160387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:31:04] local.INFO: IMEI packet received {"connection_id":160387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":160387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:31:05] local.INFO: TCP Data received {"connection_id":160387,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:31:05] local.INFO: Processing buffer {"connection_id":160387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:31:05] local.INFO: Packet analysis {"connection_id":160387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:31:05] local.INFO: Extracted packet for processing {"connection_id":160387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:31:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509803520001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787147971000,"timestamp_ms":1787147971000,"timestamp_seconds":1787147971,"priority":1,"record_length":96,"hex_timestamp":"000001a01a51e9b8"} 
[2026-08-19 19:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 19:31:05] 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-08-19 19:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509803520001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509803520001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:31:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:31:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509803520001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":160387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:31:05] local.INFO: GPS data processed {"connection_id":160387,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:31:05] local.INFO: Acknowledgment sent {"connection_id":160387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:31:08] local.INFO: TCP Data received {"connection_id":159057,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:31:08] local.INFO: Processing buffer {"connection_id":159057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:31:08] local.INFO: IMEI packet received {"connection_id":159057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":159057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:31:13] local.INFO: TCP Data received {"connection_id":159057,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:31:13] local.INFO: Processing buffer {"connection_id":159057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:31:13] local.INFO: IMEI packet received {"connection_id":159057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":159057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:31:14] local.INFO: TCP Data received {"connection_id":159057,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:31:14] local.INFO: Processing buffer {"connection_id":159057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:31:14] local.INFO: Packet analysis {"connection_id":159057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:31:14] local.INFO: Extracted packet for processing {"connection_id":159057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:31:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509751040001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787147771000,"timestamp_ms":1787147771000,"timestamp_seconds":1787147771,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4edc78"} 
[2026-08-19 19:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 19:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":8863309983656234579,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:14] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-08-19 19:31:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:14] local.WARNING: Large IO value detected {"io_id":26,"raw_value":5259236799587903168,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:14] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4049076288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-19 19:31:14] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:14] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:14] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:14] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301357002846189609,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:14] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:14] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,186,160,49,45,128,64,40,10,66,246,1,240,41,227,26,31,4,113,205,82,101,88,239,48,2,7,164,30],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-19 19:31:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612044631016734786,"timestamp_seconds":4612044631016735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509751040001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509751040001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:31:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:31:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509751040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":159057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:31:14] local.INFO: GPS data processed {"connection_id":159057,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:31:14] local.INFO: Acknowledgment sent {"connection_id":159057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:31:17] local.INFO: TCP Data received {"connection_id":157837,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5302f8012d7e534005d356a0000501212a..."} 
[2026-08-19 19:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5302f8012d7e534005d356a0000501212a..."} 
[2026-08-19 19:31:17] local.INFO: Processing buffer {"connection_id":157837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5302f8012d7e534005d356a0000501212a..."} 
[2026-08-19 19:31:17] local.INFO: Packet analysis {"connection_id":157837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:31:17] local.INFO: Extracted packet for processing {"connection_id":157837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:31:17] local.INFO: GPS Element Parsed {"raw_longitude":763253568,"raw_latitude":97736352,"longitude_deg":76.3253568,"latitude_deg":9.7736352,"altitude":5,"angle":289,"satellites":42,"speed":9,"hex_longitude":"2d7e5340","hex_latitude":"05d356a0","is_valid_coordinates":true} 
[2026-08-19 19:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509898496001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120932466440536064,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103111878075617280,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787148043000,"timestamp_ms":1787148043000,"timestamp_seconds":1787148043,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5302f8"} 
[2026-08-19 19:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:31:17] 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-08-19 19:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-19 19:31:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:17] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":16385,"corrected_to":0} 
[2026-08-19 19:31:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-19 19:31:17] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2740518912,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:17] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,109,85,24,241,157,16,163,160,247,45,64,5,43,10,66,216,128,42,133,1,240,98,227,26,211,4,113,205,114,86,239,2,173],"length":434,"final_offset":564,"validated_count":34,"validation_warnings":[{"io_id":247,"original":16385,"validated":0},{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-19 19:31:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360621302601875456,"timestamp_seconds":360621302601875.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":157837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":157837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":157837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:31: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-08-19 19:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509898496001,"66":12102,"109":206,"85":15104,"24":9,"16":120932466440536064,"45":9103111878075617280},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 19:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509898496001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:31:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 19:31:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120932466440536064,"km_value":120932466440536.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103111878075617280,"description":"Unknown IO ID 45"} 
[2026-08-19 19:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509898496001,"power":12102,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9103111878075617280}} 
[2026-08-19 19:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":157837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:31:17] local.INFO: GPS data processed {"connection_id":157837,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:31:17] local.INFO: Acknowledgment sent {"connection_id":157837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:31:37] local.INFO: TCP Data received {"connection_id":160387,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:31:37] local.INFO: Processing buffer {"connection_id":160387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:31:37] local.INFO: Packet analysis {"connection_id":160387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:31:37] local.INFO: Extracted packet for processing {"connection_id":160387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:31:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509803520001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787147971000,"timestamp_ms":1787147971000,"timestamp_seconds":1787147971,"priority":1,"record_length":96,"hex_timestamp":"000001a01a51e9b8"} 
[2026-08-19 19:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 19:31:37] 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-08-19 19:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509803520001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509803520001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:31:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:31:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509803520001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":160387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:31:37] local.INFO: GPS data processed {"connection_id":160387,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:31:37] local.INFO: Acknowledgment sent {"connection_id":160387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:31:41] local.INFO: TCP Data received {"connection_id":157838,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:31:41] local.INFO: Processing buffer {"connection_id":157838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:31:41] local.INFO: IMEI packet received {"connection_id":157838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":157838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:31:45] local.INFO: TCP Data received {"connection_id":159057,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:31:45] local.INFO: Processing buffer {"connection_id":159057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a4edc78012d196500071ff128004001462d..."} 
[2026-08-19 19:31:45] local.INFO: Packet analysis {"connection_id":159057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:31:45] local.INFO: Extracted packet for processing {"connection_id":159057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a4e"} 
[2026-08-19 19:31:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509751040001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591685011456,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787147771000,"timestamp_ms":1787147771000,"timestamp_seconds":1787147771,"priority":1,"record_length":96,"hex_timestamp":"000001a01a4edc78"} 
[2026-08-19 19:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-19 19:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:45] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:45] local.WARNING: Large IO value detected {"io_id":49,"raw_value":8863309983656234579,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:45] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":36865,"corrected_to":0} 
[2026-08-19 19:31:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:45] local.WARNING: Large IO value detected {"io_id":26,"raw_value":5259236799587903168,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4049076288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-19 19:31:45] local.WARNING: Large IO value detected {"io_id":82,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:45] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950577,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:45] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301357002846189609,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:45] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:45] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,186,160,49,45,128,64,40,10,66,246,1,240,41,227,26,31,4,113,205,82,101,88,239,48,2,7,164,30],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":246,"original":36865,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-19 19:31:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612044631016734786,"timestamp_seconds":4612044631016735.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509751040001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1830009591685011456},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509751040001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:31:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:31:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591685011456,"description":"Unknown IO ID 45"} 
[2026-08-19 19:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509751040001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830009591685011456}} 
[2026-08-19 19:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":159057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:31:45] local.INFO: GPS data processed {"connection_id":159057,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:31:45] local.INFO: Acknowledgment sent {"connection_id":159057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:31:46] local.INFO: TCP Data received {"connection_id":157838,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:31:46] local.INFO: Processing buffer {"connection_id":157838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:31:46] local.INFO: IMEI packet received {"connection_id":157838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":157838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:31:47] local.INFO: TCP Data received {"connection_id":157838,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a538bb0012d7e310005d35540000600a32c..."} 
[2026-08-19 19:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a538bb0012d7e310005d35540000600a32c..."} 
[2026-08-19 19:31:47] local.INFO: Processing buffer {"connection_id":157838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a538bb0012d7e310005d35540000600a32c..."} 
[2026-08-19 19:31:47] local.INFO: Packet analysis {"connection_id":157838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:31:47] local.INFO: Extracted packet for processing {"connection_id":157838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:31:47] local.INFO: GPS Element Parsed {"raw_longitude":763244800,"raw_latitude":97736000,"longitude_deg":76.32448,"latitude_deg":9.7736,"altitude":6,"angle":163,"satellites":44,"speed":7,"hex_longitude":"2d7e3100","hex_latitude":"05d35540","is_valid_coordinates":true} 
[2026-08-19 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-08-19 19:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509907712001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120932913117134848,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093049147658203136,"note":"Value kept but may cause issues"} 
[2026-08-19 19:31: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-08-19 19:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787148078000,"timestamp_ms":1787148078000,"timestamp_seconds":1787148078,"priority":1,"record_length":96,"hex_timestamp":"000001a01a538bb0"} 
[2026-08-19 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-08-19 19:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-19 19:31:47] 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-08-19 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-08-19 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-08-19 19:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:31:47] 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-08-19 19:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509907712001,"66":11721,"109":206,"85":15104,"24":7,"16":120932913117134848,"45":9093049147658203136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 19:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509907712001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:31:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 19:31:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120932913117134848,"km_value":120932913117134.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093049147658203136,"description":"Unknown IO ID 45"} 
[2026-08-19 19:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509907712001,"power":11721,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9093049147658203136}} 
[2026-08-19 19:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":157838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:31:47] local.INFO: GPS data processed {"connection_id":157838,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:31:47] local.INFO: Acknowledgment sent {"connection_id":157838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:32:04] local.INFO: TCP Data received {"connection_id":158205,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:32:04] local.INFO: Processing buffer {"connection_id":158205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:32:04] local.INFO: IMEI packet received {"connection_id":158205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":158205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:32:08] local.INFO: TCP Data received {"connection_id":160388,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:32:08] local.INFO: Processing buffer {"connection_id":160388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:32:08] local.INFO: IMEI packet received {"connection_id":160388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":160388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:32:08] local.INFO: TCP Data received {"connection_id":158205,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:32:08] local.INFO: Processing buffer {"connection_id":158205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:32:08] local.INFO: IMEI packet received {"connection_id":158205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":158205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:32:09] local.INFO: TCP Data received {"connection_id":158205,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:32:09] local.INFO: Processing buffer {"connection_id":158205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:32:09] local.INFO: Packet analysis {"connection_id":158205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:32:09] local.INFO: Extracted packet for processing {"connection_id":158205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:32:09] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509803520001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:32:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787147971000,"timestamp_ms":1787147971000,"timestamp_seconds":1787147971,"priority":1,"record_length":96,"hex_timestamp":"000001a01a51e9b8"} 
[2026-08-19 19:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 19:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":158205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":158205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":158205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509803520001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509803520001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:32:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:32:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509803520001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":158205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:32:09] local.INFO: GPS data processed {"connection_id":158205,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:32:09] local.INFO: Acknowledgment sent {"connection_id":158205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:32:13] local.INFO: TCP Data received {"connection_id":160388,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:32:13] local.INFO: Processing buffer {"connection_id":160388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:32:13] local.INFO: IMEI packet received {"connection_id":160388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":160388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:32:14] local.INFO: TCP Data received {"connection_id":160388,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:32:14] local.INFO: Processing buffer {"connection_id":160388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:32:14] local.INFO: Packet analysis {"connection_id":160388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:32:14] local.INFO: Extracted packet for processing {"connection_id":160388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509829376001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787148072000,"timestamp_ms":1787148072000,"timestamp_seconds":1787148072,"priority":1,"record_length":96,"hex_timestamp":"000001a01a537440"} 
[2026-08-19 19:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509829376001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509829376001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:32:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:32:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509829376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":160388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:32:14] local.INFO: GPS data processed {"connection_id":160388,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:32:14] local.INFO: Acknowledgment sent {"connection_id":160388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:32:14] local.INFO: TCP Data received {"connection_id":158205,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:32:14] local.INFO: Processing buffer {"connection_id":158205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:32:14] local.INFO: Packet analysis {"connection_id":158205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:32:14] local.INFO: Extracted packet for processing {"connection_id":158205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:32:14] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509803520001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:32:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787147971000,"timestamp_ms":1787147971000,"timestamp_seconds":1787147971,"priority":1,"record_length":96,"hex_timestamp":"000001a01a51e9b8"} 
[2026-08-19 19:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 19:32:14] 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-08-19 19:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509803520001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509803520001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:32:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:32:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509803520001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":158205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:32:14] local.INFO: GPS data processed {"connection_id":158205,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:32:14] local.INFO: Acknowledgment sent {"connection_id":158205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:32:45] local.INFO: TCP Data received {"connection_id":160388,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:32:45] local.INFO: Processing buffer {"connection_id":160388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:32:45] local.INFO: Packet analysis {"connection_id":160388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:32:45] local.INFO: Extracted packet for processing {"connection_id":160388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:32:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509829376001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787148072000,"timestamp_ms":1787148072000,"timestamp_seconds":1787148072,"priority":1,"record_length":96,"hex_timestamp":"000001a01a537440"} 
[2026-08-19 19:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509829376001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509829376001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:32:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:32:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509829376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":160388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:32:45] local.INFO: GPS data processed {"connection_id":160388,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:32:45] local.INFO: Acknowledgment sent {"connection_id":160388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:32:59] local.INFO: TCP Data received {"connection_id":157839,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:32:59] local.INFO: Processing buffer {"connection_id":157839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:32:59] local.INFO: IMEI packet received {"connection_id":157839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":157839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:33:04] local.INFO: TCP Data received {"connection_id":157839,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:33:04] local.INFO: Processing buffer {"connection_id":157839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:33:04] local.INFO: IMEI packet received {"connection_id":157839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":157839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:33:05] local.INFO: TCP Data received {"connection_id":157839,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:33:05] local.INFO: Processing buffer {"connection_id":157839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:33:05] local.INFO: Packet analysis {"connection_id":157839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:33:05] local.INFO: Extracted packet for processing {"connection_id":157839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:33:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509803520001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:33:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787147971000,"timestamp_ms":1787147971000,"timestamp_seconds":1787147971,"priority":1,"record_length":96,"hex_timestamp":"000001a01a51e9b8"} 
[2026-08-19 19:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 19:33:05] 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-08-19 19:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509803520001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509803520001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:33:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:33:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509803520001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":157839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:33:05] local.INFO: GPS data processed {"connection_id":157839,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:33:05] local.INFO: Acknowledgment sent {"connection_id":157839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:33:08] local.INFO: TCP Data received {"connection_id":160389,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:33:08] local.INFO: Processing buffer {"connection_id":160389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:33:08] local.INFO: IMEI packet received {"connection_id":160389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":160389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:33:13] local.INFO: TCP Data received {"connection_id":160389,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:33:13] local.INFO: Processing buffer {"connection_id":160389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:33:13] local.INFO: IMEI packet received {"connection_id":160389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":160389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:33:14] local.INFO: TCP Data received {"connection_id":160389,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:33:14] local.INFO: Processing buffer {"connection_id":160389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:33:14] local.INFO: Packet analysis {"connection_id":160389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:33:14] local.INFO: Extracted packet for processing {"connection_id":160389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509829376001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787148072000,"timestamp_ms":1787148072000,"timestamp_seconds":1787148072,"priority":1,"record_length":96,"hex_timestamp":"000001a01a537440"} 
[2026-08-19 19:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509829376001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509829376001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:33:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:33:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509829376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":160389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:33:14] local.INFO: GPS data processed {"connection_id":160389,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:33:14] local.INFO: Acknowledgment sent {"connection_id":160389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:33:37] local.INFO: TCP Data received {"connection_id":157839,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:33:37] local.INFO: Processing buffer {"connection_id":157839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:33:37] local.INFO: Packet analysis {"connection_id":157839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:33:37] local.INFO: Extracted packet for processing {"connection_id":157839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:33:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509803520001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:33:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787147971000,"timestamp_ms":1787147971000,"timestamp_seconds":1787147971,"priority":1,"record_length":96,"hex_timestamp":"000001a01a51e9b8"} 
[2026-08-19 19:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 19:33:37] 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-08-19 19: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-08-19 19:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509803520001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509803520001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:33:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:33:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509803520001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":157839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:33:37] local.INFO: GPS data processed {"connection_id":157839,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:33:37] local.INFO: Acknowledgment sent {"connection_id":157839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:33:45] local.INFO: TCP Data received {"connection_id":160389,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:33:45] local.INFO: Processing buffer {"connection_id":160389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:33:45] local.INFO: Packet analysis {"connection_id":160389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:33:45] local.INFO: Extracted packet for processing {"connection_id":160389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509829376001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787148072000,"timestamp_ms":1787148072000,"timestamp_seconds":1787148072,"priority":1,"record_length":96,"hex_timestamp":"000001a01a537440"} 
[2026-08-19 19:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509829376001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509829376001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:33:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509829376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":160389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:33:45] local.INFO: GPS data processed {"connection_id":160389,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:33:45] local.INFO: Acknowledgment sent {"connection_id":160389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:33:59] local.INFO: TCP Data received {"connection_id":159058,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:33:59] local.INFO: Processing buffer {"connection_id":159058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:33:59] local.INFO: IMEI packet received {"connection_id":159058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":159058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:34:04] local.INFO: TCP Data received {"connection_id":159058,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:34:04] local.INFO: Processing buffer {"connection_id":159058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:34:04] local.INFO: IMEI packet received {"connection_id":159058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":159058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:34:06] local.INFO: TCP Data received {"connection_id":159058,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:34:06] local.INFO: Processing buffer {"connection_id":159058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:34:06] local.INFO: Packet analysis {"connection_id":159058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:34:06] local.INFO: Extracted packet for processing {"connection_id":159058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:34:06] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509803520001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:34:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787147971000,"timestamp_ms":1787147971000,"timestamp_seconds":1787147971,"priority":1,"record_length":96,"hex_timestamp":"000001a01a51e9b8"} 
[2026-08-19 19:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 19:34:06] 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-08-19 19: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-08-19 19:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509803520001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509803520001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:34:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:34:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509803520001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":159058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:34:06] local.INFO: GPS data processed {"connection_id":159058,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:34:06] local.INFO: Acknowledgment sent {"connection_id":159058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:34:08] local.INFO: TCP Data received {"connection_id":157840,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:34:08] local.INFO: Processing buffer {"connection_id":157840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:34:08] local.INFO: IMEI packet received {"connection_id":157840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":157840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:34:13] local.INFO: TCP Data received {"connection_id":157840,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:34:13] local.INFO: Processing buffer {"connection_id":157840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:34:13] local.INFO: IMEI packet received {"connection_id":157840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":157840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:34:14] local.INFO: TCP Data received {"connection_id":157840,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:34:14] local.INFO: Processing buffer {"connection_id":157840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:34:14] local.INFO: Packet analysis {"connection_id":157840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:34:14] local.INFO: Extracted packet for processing {"connection_id":157840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:34:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509829376001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787148072000,"timestamp_ms":1787148072000,"timestamp_seconds":1787148072,"priority":1,"record_length":96,"hex_timestamp":"000001a01a537440"} 
[2026-08-19 19:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509829376001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509829376001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:34:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:34:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509829376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":157840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:34:14] local.INFO: GPS data processed {"connection_id":157840,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:34:14] local.INFO: Acknowledgment sent {"connection_id":157840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:34:37] local.INFO: TCP Data received {"connection_id":159058,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:34:37] local.INFO: Processing buffer {"connection_id":159058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:34:37] local.INFO: Packet analysis {"connection_id":159058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:34:37] local.INFO: Extracted packet for processing {"connection_id":159058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:34:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509803520001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:34:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787147971000,"timestamp_ms":1787147971000,"timestamp_seconds":1787147971,"priority":1,"record_length":96,"hex_timestamp":"000001a01a51e9b8"} 
[2026-08-19 19:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 19:34:37] 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-08-19 19: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-08-19 19:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509803520001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509803520001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:34:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:34:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509803520001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":159058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:34:37] local.INFO: GPS data processed {"connection_id":159058,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:34:37] local.INFO: Acknowledgment sent {"connection_id":159058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:34:45] local.INFO: TCP Data received {"connection_id":157840,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:34:45] local.INFO: Processing buffer {"connection_id":157840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:34:45] local.INFO: Packet analysis {"connection_id":157840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:34:45] local.INFO: Extracted packet for processing {"connection_id":157840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:34:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509829376001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787148072000,"timestamp_ms":1787148072000,"timestamp_seconds":1787148072,"priority":1,"record_length":96,"hex_timestamp":"000001a01a537440"} 
[2026-08-19 19:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509829376001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509829376001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:34:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:34:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509829376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":157840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:34:45] local.INFO: GPS data processed {"connection_id":157840,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:34:45] local.INFO: Acknowledgment sent {"connection_id":157840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:34:58] local.INFO: TCP Data received {"connection_id":160390,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:34:58] local.INFO: Processing buffer {"connection_id":160390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:34:58] local.INFO: IMEI packet received {"connection_id":160390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":160390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:35:04] local.INFO: TCP Data received {"connection_id":160390,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:35:04] local.INFO: Processing buffer {"connection_id":160390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:35:04] local.INFO: IMEI packet received {"connection_id":160390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":160390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:35:05] local.INFO: TCP Data received {"connection_id":160390,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:35:05] local.INFO: Processing buffer {"connection_id":160390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a51e9b8012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:35:05] local.INFO: Packet analysis {"connection_id":160390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:35:05] local.INFO: Extracted packet for processing {"connection_id":160390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a51"} 
[2026-08-19 19:35:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509803520001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787147971000,"timestamp_ms":1787147971000,"timestamp_seconds":1787147971,"priority":1,"record_length":96,"hex_timestamp":"000001a01a51e9b8"} 
[2026-08-19 19:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-19 19:35:05] 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-08-19 19:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509803520001,"66":25712,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509803520001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:35:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509803520001,"power":25712,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":160390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:35:05] local.INFO: GPS data processed {"connection_id":160390,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:35:05] local.INFO: Acknowledgment sent {"connection_id":160390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:35:08] local.INFO: TCP Data received {"connection_id":158206,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:35:08] local.INFO: Processing buffer {"connection_id":158206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:35:08] local.INFO: IMEI packet received {"connection_id":158206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":158206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:35:13] local.INFO: TCP Data received {"connection_id":158206,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:35:13] local.INFO: Processing buffer {"connection_id":158206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:35:13] local.INFO: IMEI packet received {"connection_id":158206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":158206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:35:14] local.INFO: TCP Data received {"connection_id":158206,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:35:14] local.INFO: Processing buffer {"connection_id":158206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:35:14] local.INFO: Packet analysis {"connection_id":158206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:35:14] local.INFO: Extracted packet for processing {"connection_id":158206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509829376001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787148072000,"timestamp_ms":1787148072000,"timestamp_seconds":1787148072,"priority":1,"record_length":96,"hex_timestamp":"000001a01a537440"} 
[2026-08-19 19:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509829376001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509829376001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:35:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:35:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509829376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":158206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:35:14] local.INFO: GPS data processed {"connection_id":158206,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:35:14] local.INFO: Acknowledgment sent {"connection_id":158206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:35:36] local.INFO: TCP Data received {"connection_id":160390,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:35:36] local.INFO: Processing buffer {"connection_id":160390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:35:36] local.INFO: Packet analysis {"connection_id":160390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:35:36] local.INFO: Extracted packet for processing {"connection_id":160390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:35:36] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509880576001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:35:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787148272000,"timestamp_ms":1787148272000,"timestamp_seconds":1787148272,"priority":1,"record_length":96,"hex_timestamp":"000001a01a568180"} 
[2026-08-19 19:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:35:36] 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-08-19 19:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509880576001,"66":25734,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509880576001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:35:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:35:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509880576001,"power":25734,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":160390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:35:36] local.INFO: GPS data processed {"connection_id":160390,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:35:36] local.INFO: Acknowledgment sent {"connection_id":160390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:35:45] local.INFO: TCP Data received {"connection_id":158206,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:35:45] local.INFO: Processing buffer {"connection_id":158206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:35:45] local.INFO: Packet analysis {"connection_id":158206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:35:45] local.INFO: Extracted packet for processing {"connection_id":158206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:35:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509829376001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787148072000,"timestamp_ms":1787148072000,"timestamp_seconds":1787148072,"priority":1,"record_length":96,"hex_timestamp":"000001a01a537440"} 
[2026-08-19 19:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509829376001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509829376001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:35:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:35:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509829376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":158206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:35:45] local.INFO: GPS data processed {"connection_id":158206,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:35:45] local.INFO: Acknowledgment sent {"connection_id":158206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:35:59] local.INFO: TCP Data received {"connection_id":158207,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:35:59] local.INFO: Processing buffer {"connection_id":158207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:35:59] local.INFO: IMEI packet received {"connection_id":158207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":158207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:36:04] local.INFO: TCP Data received {"connection_id":158207,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:36:04] local.INFO: Processing buffer {"connection_id":158207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:36:04] local.INFO: IMEI packet received {"connection_id":158207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":158207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:36:05] local.INFO: TCP Data received {"connection_id":158207,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:36:05] local.INFO: Processing buffer {"connection_id":158207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:36:05] local.INFO: Packet analysis {"connection_id":158207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:36:05] local.INFO: Extracted packet for processing {"connection_id":158207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:36:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509880576001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:36:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787148272000,"timestamp_ms":1787148272000,"timestamp_seconds":1787148272,"priority":1,"record_length":96,"hex_timestamp":"000001a01a568180"} 
[2026-08-19 19:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:36: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-08-19 19:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:36:05] 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-08-19 19:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509880576001,"66":25734,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509880576001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:36:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:36:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509880576001,"power":25734,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":158207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:36:05] local.INFO: GPS data processed {"connection_id":158207,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:36:05] local.INFO: Acknowledgment sent {"connection_id":158207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:36:13] local.INFO: TCP Data received {"connection_id":159059,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:36:13] local.INFO: Processing buffer {"connection_id":159059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:36:13] local.INFO: IMEI packet received {"connection_id":159059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":159059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:36:18] local.INFO: TCP Data received {"connection_id":159059,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:36:18] local.INFO: Processing buffer {"connection_id":159059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:36:18] local.INFO: IMEI packet received {"connection_id":159059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":159059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:36:19] local.INFO: TCP Data received {"connection_id":159059,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:36:19] local.INFO: Processing buffer {"connection_id":159059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:36:19] local.INFO: Packet analysis {"connection_id":159059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:36:19] local.INFO: Extracted packet for processing {"connection_id":159059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:36:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 19:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509829376001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787148072000,"timestamp_ms":1787148072000,"timestamp_seconds":1787148072,"priority":1,"record_length":96,"hex_timestamp":"000001a01a537440"} 
[2026-08-19 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-08-19 19:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 19:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509829376001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509829376001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:36:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:36:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509829376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":159059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:36:19] local.INFO: GPS data processed {"connection_id":159059,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:36:19] local.INFO: Acknowledgment sent {"connection_id":159059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:36:23] local.INFO: TCP Data received {"connection_id":159059,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:36:23] local.INFO: Processing buffer {"connection_id":159059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a537440012d196500071ff128004001462a..."} 
[2026-08-19 19:36:23] local.INFO: Packet analysis {"connection_id":159059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:36:23] local.INFO: Extracted packet for processing {"connection_id":159059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509829376001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787148072000,"timestamp_ms":1787148072000,"timestamp_seconds":1787148072,"priority":1,"record_length":96,"hex_timestamp":"000001a01a537440"} 
[2026-08-19 19:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509829376001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509829376001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:36:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509829376001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":159059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:36:23] local.INFO: GPS data processed {"connection_id":159059,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:36:23] local.INFO: Acknowledgment sent {"connection_id":159059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:36:37] local.INFO: TCP Data received {"connection_id":158207,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:36:37] local.INFO: Processing buffer {"connection_id":158207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:36:37] local.INFO: Packet analysis {"connection_id":158207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:36:37] local.INFO: Extracted packet for processing {"connection_id":158207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:36:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509880576001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:36:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787148272000,"timestamp_ms":1787148272000,"timestamp_seconds":1787148272,"priority":1,"record_length":96,"hex_timestamp":"000001a01a568180"} 
[2026-08-19 19:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:36: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-08-19 19:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509880576001,"66":25734,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509880576001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:36:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:36:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509880576001,"power":25734,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":158207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:36:37] local.INFO: GPS data processed {"connection_id":158207,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:36:37] local.INFO: Acknowledgment sent {"connection_id":158207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:36:59] local.INFO: TCP Data received {"connection_id":159060,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:36:59] local.INFO: Processing buffer {"connection_id":159060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:36:59] local.INFO: IMEI packet received {"connection_id":159060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":159060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:37:01] local.INFO: TCP Data received {"connection_id":160391,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:37:01] local.INFO: Processing buffer {"connection_id":160391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:37:01] local.INFO: IMEI packet received {"connection_id":160391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":160391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:37:04] local.INFO: TCP Data received {"connection_id":159060,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:37:04] local.INFO: Processing buffer {"connection_id":159060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:37:04] local.INFO: IMEI packet received {"connection_id":159060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":159060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:37:05] local.INFO: TCP Data received {"connection_id":159060,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:37:05] local.INFO: Processing buffer {"connection_id":159060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:37:05] local.INFO: Packet analysis {"connection_id":159060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:37:05] local.INFO: Extracted packet for processing {"connection_id":159060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:37:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509880576001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:37:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787148272000,"timestamp_ms":1787148272000,"timestamp_seconds":1787148272,"priority":1,"record_length":96,"hex_timestamp":"000001a01a568180"} 
[2026-08-19 19:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:37: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-08-19 19:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:37:05] 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-08-19 19:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509880576001,"66":25734,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509880576001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:37:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:37:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509880576001,"power":25734,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":159060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:37:05] local.INFO: GPS data processed {"connection_id":159060,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:37:05] local.INFO: Acknowledgment sent {"connection_id":159060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:37:06] local.INFO: TCP Data received {"connection_id":160391,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:37:06] local.INFO: Processing buffer {"connection_id":160391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:37:06] local.INFO: IMEI packet received {"connection_id":160391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":160391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:37:07] local.INFO: TCP Data received {"connection_id":160391,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a53a320012d7e348005d34f70000600832b..."} 
[2026-08-19 19:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a53a320012d7e348005d34f70000600832b..."} 
[2026-08-19 19:37:07] local.INFO: Processing buffer {"connection_id":160391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a53a320012d7e348005d34f70000600832b..."} 
[2026-08-19 19:37:07] local.INFO: Packet analysis {"connection_id":160391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:37:07] local.INFO: Extracted packet for processing {"connection_id":160391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:37:07] local.INFO: GPS Element Parsed {"raw_longitude":763245696,"raw_latitude":97734512,"longitude_deg":76.3245696,"latitude_deg":9.7734512,"altitude":6,"angle":131,"satellites":43,"speed":11,"hex_longitude":"2d7e3480","hex_latitude":"05d34f70","is_valid_coordinates":true} 
[2026-08-19 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-08-19 19:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509908992001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120932999016480768,"note":"Value kept but may cause issues"} 
[2026-08-19 19:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093612097611321344,"note":"Value kept but may cause issues"} 
[2026-08-19 19:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787148084000,"timestamp_ms":1787148084000,"timestamp_seconds":1787148084,"priority":1,"record_length":96,"hex_timestamp":"000001a01a53a320"} 
[2026-08-19 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-08-19 19:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-19 19:37:07] 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-08-19 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-08-19 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-08-19 19:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:37:07] 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-08-19 19:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509908992001,"66":11950,"109":206,"85":15104,"24":11,"16":120932999016480768,"45":9093612097611321344},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 19:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509908992001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:37:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 19:37:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120932999016480768,"km_value":120932999016480.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093612097611321344,"description":"Unknown IO ID 45"} 
[2026-08-19 19:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509908992001,"power":11950,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9093612097611321344}} 
[2026-08-19 19:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":160391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:37:07] local.INFO: GPS data processed {"connection_id":160391,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:37:07] local.INFO: Acknowledgment sent {"connection_id":160391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:37:08] local.INFO: TCP Data received {"connection_id":159061,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:37:08] local.INFO: Processing buffer {"connection_id":159061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:37:08] local.INFO: IMEI packet received {"connection_id":159061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":159061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:37:13] local.INFO: TCP Data received {"connection_id":159061,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:37:13] local.INFO: Processing buffer {"connection_id":159061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:37:13] local.INFO: IMEI packet received {"connection_id":159061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":159061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:37:14] local.INFO: TCP Data received {"connection_id":159061,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:37:14] local.INFO: Processing buffer {"connection_id":159061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:37:14] local.INFO: Packet analysis {"connection_id":159061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:37:14] local.INFO: Extracted packet for processing {"connection_id":159061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:37:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509906432001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787148373000,"timestamp_ms":1787148373000,"timestamp_seconds":1787148373,"priority":1,"record_length":96,"hex_timestamp":"000001a01a580c08"} 
[2026-08-19 19:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509906432001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509906432001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:37:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:37:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509906432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":159061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:37:14] local.INFO: GPS data processed {"connection_id":159061,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:37:14] local.INFO: Acknowledgment sent {"connection_id":159061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:37:36] local.INFO: TCP Data received {"connection_id":159060,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:37:36] local.INFO: Processing buffer {"connection_id":159060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:37:36] local.INFO: Packet analysis {"connection_id":159060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:37:36] local.INFO: Extracted packet for processing {"connection_id":159060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:37:36] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509880576001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:37:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787148272000,"timestamp_ms":1787148272000,"timestamp_seconds":1787148272,"priority":1,"record_length":96,"hex_timestamp":"000001a01a568180"} 
[2026-08-19 19:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:37:36] 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-08-19 19:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509880576001,"66":25734,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509880576001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:37:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:37:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509880576001,"power":25734,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":159060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:37:36] local.INFO: GPS data processed {"connection_id":159060,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:37:36] local.INFO: Acknowledgment sent {"connection_id":159060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:37:41] local.INFO: TCP Data received {"connection_id":157841,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:37:41] local.INFO: Processing buffer {"connection_id":157841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:37:41] local.INFO: IMEI packet received {"connection_id":157841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":157841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:37:45] local.INFO: TCP Data received {"connection_id":159061,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:37:45] local.INFO: Processing buffer {"connection_id":159061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:37:45] local.INFO: Packet analysis {"connection_id":159061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:37:45] local.INFO: Extracted packet for processing {"connection_id":159061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:37:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509906432001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787148373000,"timestamp_ms":1787148373000,"timestamp_seconds":1787148373,"priority":1,"record_length":96,"hex_timestamp":"000001a01a580c08"} 
[2026-08-19 19:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509906432001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509906432001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:37:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:37:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509906432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":159061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:37:45] local.INFO: GPS data processed {"connection_id":159061,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:37:45] local.INFO: Acknowledgment sent {"connection_id":159061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:37:46] local.INFO: TCP Data received {"connection_id":157841,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:37:46] local.INFO: Processing buffer {"connection_id":157841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:37:46] local.INFO: IMEI packet received {"connection_id":157841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":157841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:37:47] local.INFO: TCP Data received {"connection_id":157841,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a53a708012d7e358005d34ee8000700722b..."} 
[2026-08-19 19:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a53a708012d7e358005d34ee8000700722b..."} 
[2026-08-19 19:37:47] local.INFO: Processing buffer {"connection_id":157841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a53a708012d7e358005d34ee8000700722b..."} 
[2026-08-19 19:37:47] local.INFO: Packet analysis {"connection_id":157841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:37:47] local.INFO: Extracted packet for processing {"connection_id":157841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:37:47] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97734376,"longitude_deg":76.3245952,"latitude_deg":9.7734376,"altitude":7,"angle":114,"satellites":43,"speed":11,"hex_longitude":"2d7e3580","hex_latitude":"05d34ee8","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509909504001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120933011901382656,"note":"Value kept but may cause issues"} 
[2026-08-19 19:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094034310076264448,"note":"Value kept but may cause issues"} 
[2026-08-19 19:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787148085000,"timestamp_ms":1787148085000,"timestamp_seconds":1787148085,"priority":1,"record_length":96,"hex_timestamp":"000001a01a53a708"} 
[2026-08-19 19:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 19:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":157841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":157841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":157841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:37:47] 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-08-19 19:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509909504001,"66":12135,"109":206,"85":15104,"24":11,"16":120933011901382656,"45":9094034310076264448},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 19:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509909504001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:37:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 19:37:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120933011901382656,"km_value":120933011901382.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094034310076264448,"description":"Unknown IO ID 45"} 
[2026-08-19 19:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509909504001,"power":12135,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9094034310076264448}} 
[2026-08-19 19:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":157841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:37:47] local.INFO: GPS data processed {"connection_id":157841,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:37:47] local.INFO: Acknowledgment sent {"connection_id":157841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:37:58] local.INFO: TCP Data received {"connection_id":159062,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:37:58] local.INFO: Processing buffer {"connection_id":159062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:37:58] local.INFO: IMEI packet received {"connection_id":159062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":159062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:38:04] local.INFO: TCP Data received {"connection_id":159062,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:38:04] local.INFO: Processing buffer {"connection_id":159062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:38:04] local.INFO: IMEI packet received {"connection_id":159062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":159062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:38:05] local.INFO: TCP Data received {"connection_id":159062,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:38:05] local.INFO: Processing buffer {"connection_id":159062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:38:05] local.INFO: Packet analysis {"connection_id":159062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:38:05] local.INFO: Extracted packet for processing {"connection_id":159062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:38:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509880576001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:38:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787148272000,"timestamp_ms":1787148272000,"timestamp_seconds":1787148272,"priority":1,"record_length":96,"hex_timestamp":"000001a01a568180"} 
[2026-08-19 19:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:38: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-08-19 19:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:38:05] 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-08-19 19:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509880576001,"66":25734,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509880576001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:38:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:38:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509880576001,"power":25734,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":159062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:38:05] local.INFO: GPS data processed {"connection_id":159062,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:38:05] local.INFO: Acknowledgment sent {"connection_id":159062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:38:08] local.INFO: TCP Data received {"connection_id":159063,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:38:08] local.INFO: Processing buffer {"connection_id":159063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:38:08] local.INFO: IMEI packet received {"connection_id":159063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":159063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:38:14] local.INFO: TCP Data received {"connection_id":159063,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:38:14] local.INFO: Processing buffer {"connection_id":159063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:38:14] local.INFO: IMEI packet received {"connection_id":159063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":159063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:38:15] local.INFO: TCP Data received {"connection_id":159063,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:38:15] local.INFO: Processing buffer {"connection_id":159063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:38:15] local.INFO: Packet analysis {"connection_id":159063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:38:15] local.INFO: Extracted packet for processing {"connection_id":159063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509906432001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787148373000,"timestamp_ms":1787148373000,"timestamp_seconds":1787148373,"priority":1,"record_length":96,"hex_timestamp":"000001a01a580c08"} 
[2026-08-19 19:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:38: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-08-19 19: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-08-19 19:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":159063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":159063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509906432001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509906432001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:38:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:38:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509906432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":159063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:38:15] local.INFO: GPS data processed {"connection_id":159063,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:38:15] local.INFO: Acknowledgment sent {"connection_id":159063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:38:18] local.INFO: TCP Data received {"connection_id":157841,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a53aaf0012d7e368005d34e98000700662b..."} 
[2026-08-19 19:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a53aaf0012d7e368005d34e98000700662b..."} 
[2026-08-19 19:38:18] local.INFO: Processing buffer {"connection_id":157841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a53aaf0012d7e368005d34e98000700662b..."} 
[2026-08-19 19:38:18] local.INFO: Packet analysis {"connection_id":157841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:38:18] local.INFO: Extracted packet for processing {"connection_id":157841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:38:18] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97734296,"longitude_deg":76.3246208,"latitude_deg":9.7734296,"altitude":7,"angle":102,"satellites":43,"speed":11,"hex_longitude":"2d7e3680","hex_latitude":"05d34e98","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509909760001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120933024786284544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052940288,"note":"Value kept but may cause issues"} 
[2026-08-19 19:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787148086000,"timestamp_ms":1787148086000,"timestamp_seconds":1787148086,"priority":1,"record_length":96,"hex_timestamp":"000001a01a53aaf0"} 
[2026-08-19 19:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:38:18] 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-08-19 19: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 19:38:18] 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-08-19 19: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-08-19 19:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:38:18] 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-08-19 19:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509909760001,"66":12135,"109":206,"85":15104,"24":11,"16":120933024786284544,"45":9094315785052940288},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 19:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509909760001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:38:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 19:38:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120933024786284544,"km_value":120933024786284.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052940288,"description":"Unknown IO ID 45"} 
[2026-08-19 19:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509909760001,"power":12135,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9094315785052940288}} 
[2026-08-19 19:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":157841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:38:18] local.INFO: GPS data processed {"connection_id":157841,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:38:18] local.INFO: Acknowledgment sent {"connection_id":157841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:38:37] local.INFO: TCP Data received {"connection_id":159062,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:38:37] local.INFO: Processing buffer {"connection_id":159062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:38:37] local.INFO: Packet analysis {"connection_id":159062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:38:37] local.INFO: Extracted packet for processing {"connection_id":159062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:38:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509880576001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:38:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787148272000,"timestamp_ms":1787148272000,"timestamp_seconds":1787148272,"priority":1,"record_length":96,"hex_timestamp":"000001a01a568180"} 
[2026-08-19 19:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:38: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-08-19 19: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-08-19 19:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509880576001,"66":25734,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509880576001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:38:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:38:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509880576001,"power":25734,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":159062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:38:37] local.INFO: GPS data processed {"connection_id":159062,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:38:37] local.INFO: Acknowledgment sent {"connection_id":159062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:38:41] local.INFO: TCP Data received {"connection_id":160392,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:38:41] local.INFO: Processing buffer {"connection_id":160392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:38:41] local.INFO: IMEI packet received {"connection_id":160392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":160392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:38:46] local.INFO: TCP Data received {"connection_id":160392,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:38:46] local.INFO: Processing buffer {"connection_id":160392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:38:46] local.INFO: IMEI packet received {"connection_id":160392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":160392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:38:46] local.INFO: TCP Data received {"connection_id":159063,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:38:46] local.INFO: Processing buffer {"connection_id":159063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:38:46] local.INFO: Packet analysis {"connection_id":159063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:38:46] local.INFO: Extracted packet for processing {"connection_id":159063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509906432001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787148373000,"timestamp_ms":1787148373000,"timestamp_seconds":1787148373,"priority":1,"record_length":96,"hex_timestamp":"000001a01a580c08"} 
[2026-08-19 19:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":159063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":159063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":159063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509906432001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509906432001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:38:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509906432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":159063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:38:46] local.INFO: GPS data processed {"connection_id":159063,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:38:46] local.INFO: Acknowledgment sent {"connection_id":159063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:38:47] local.INFO: TCP Data received {"connection_id":160392,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a53aed8012d7e378005d34e900007005a2b..."} 
[2026-08-19 19:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a53aed8012d7e378005d34e900007005a2b..."} 
[2026-08-19 19:38:47] local.INFO: Processing buffer {"connection_id":160392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a53aed8012d7e378005d34e900007005a2b..."} 
[2026-08-19 19:38:47] local.INFO: Packet analysis {"connection_id":160392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:38:47] local.INFO: Extracted packet for processing {"connection_id":160392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:38:47] local.INFO: GPS Element Parsed {"raw_longitude":763246464,"raw_latitude":97734288,"longitude_deg":76.3246464,"latitude_deg":9.7734288,"altitude":7,"angle":90,"satellites":43,"speed":10,"hex_longitude":"2d7e3780","hex_latitude":"05d34e90","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509910016001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120933037671186432,"note":"Value kept but may cause issues"} 
[2026-08-19 19:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029630464,"note":"Value kept but may cause issues"} 
[2026-08-19 19:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787148087000,"timestamp_ms":1787148087000,"timestamp_seconds":1787148087,"priority":1,"record_length":96,"hex_timestamp":"000001a01a53aed8"} 
[2026-08-19 19:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-19 19:38:47] 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-08-19 19: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-08-19 19:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:38:47] 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-08-19 19:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509910016001,"66":11700,"109":206,"85":15104,"24":10,"16":120933037671186432,"45":9094597260029630464},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 19:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509910016001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:38:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 19:38:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120933037671186432,"km_value":120933037671186.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029630464,"description":"Unknown IO ID 45"} 
[2026-08-19 19:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509910016001,"power":11700,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9094597260029630464}} 
[2026-08-19 19:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":160392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:38:47] local.INFO: GPS data processed {"connection_id":160392,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:38:47] local.INFO: Acknowledgment sent {"connection_id":160392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:38:58] local.INFO: TCP Data received {"connection_id":157842,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:38:58] local.INFO: Processing buffer {"connection_id":157842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:38:58] local.INFO: IMEI packet received {"connection_id":157842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":157842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:39:04] local.INFO: TCP Data received {"connection_id":157842,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:39:04] local.INFO: Processing buffer {"connection_id":157842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:39:04] local.INFO: IMEI packet received {"connection_id":157842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":157842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:39:05] local.INFO: TCP Data received {"connection_id":157842,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:39:05] local.INFO: Processing buffer {"connection_id":157842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:39:05] local.INFO: Packet analysis {"connection_id":157842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:39:05] local.INFO: Extracted packet for processing {"connection_id":157842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:39:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509880576001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:39:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787148272000,"timestamp_ms":1787148272000,"timestamp_seconds":1787148272,"priority":1,"record_length":96,"hex_timestamp":"000001a01a568180"} 
[2026-08-19 19:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:39: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-08-19 19:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:39:05] 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-08-19 19: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-08-19 19:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509880576001,"66":25734,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509880576001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:39:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:39:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509880576001,"power":25734,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":157842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:39:05] local.INFO: GPS data processed {"connection_id":157842,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:39:05] local.INFO: Acknowledgment sent {"connection_id":157842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:39:08] local.INFO: TCP Data received {"connection_id":158208,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:39:08] local.INFO: Processing buffer {"connection_id":158208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:39:08] local.INFO: IMEI packet received {"connection_id":158208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":158208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:39:13] local.INFO: TCP Data received {"connection_id":158208,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:39:13] local.INFO: Processing buffer {"connection_id":158208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:39:13] local.INFO: IMEI packet received {"connection_id":158208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":158208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:39:14] local.INFO: TCP Data received {"connection_id":158208,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:39:14] local.INFO: Processing buffer {"connection_id":158208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:39:14] local.INFO: Packet analysis {"connection_id":158208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:39:14] local.INFO: Extracted packet for processing {"connection_id":158208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509906432001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787148373000,"timestamp_ms":1787148373000,"timestamp_seconds":1787148373,"priority":1,"record_length":96,"hex_timestamp":"000001a01a580c08"} 
[2026-08-19 19:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509906432001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509906432001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:39:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:39:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509906432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":158208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:39:14] local.INFO: GPS data processed {"connection_id":158208,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:39:14] local.INFO: Acknowledgment sent {"connection_id":158208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:39:18] local.INFO: TCP Data received {"connection_id":160392,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a53fcf8012d7e360005d34dc8000500542c..."} 
[2026-08-19 19:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a53fcf8012d7e360005d34dc8000500542c..."} 
[2026-08-19 19:39:18] local.INFO: Processing buffer {"connection_id":160392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a53fcf8012d7e360005d34dc8000500542c..."} 
[2026-08-19 19:39:18] local.INFO: Packet analysis {"connection_id":160392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:39:18] local.INFO: Extracted packet for processing {"connection_id":160392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a53"} 
[2026-08-19 19:39:18] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734088,"longitude_deg":76.324608,"latitude_deg":9.7734088,"altitude":5,"angle":84,"satellites":44,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34dc8","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509910272001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120933097800728576,"note":"Value kept but may cause issues"} 
[2026-08-19 19:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006339072,"note":"Value kept but may cause issues"} 
[2026-08-19 19:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787148107000,"timestamp_ms":1787148107000,"timestamp_seconds":1787148107,"priority":1,"record_length":96,"hex_timestamp":"000001a01a53fcf8"} 
[2026-08-19 19:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:39:18] 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-08-19 19: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-19 19:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:39:18] 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-08-19 19:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509910272001,"66":12972,"109":206,"85":15104,"24":0,"16":120933097800728576,"45":9094878735006339072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 19:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509910272001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:39:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 19:39:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120933097800728576,"km_value":120933097800728.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006339072,"description":"Unknown IO ID 45"} 
[2026-08-19 19:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509910272001,"power":12972,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735006339072}} 
[2026-08-19 19:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":160392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:39:18] local.INFO: GPS data processed {"connection_id":160392,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:39:18] local.INFO: Acknowledgment sent {"connection_id":160392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:39:37] local.INFO: TCP Data received {"connection_id":157842,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:39:37] local.INFO: Processing buffer {"connection_id":157842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:39:37] local.INFO: Packet analysis {"connection_id":157842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:39:37] local.INFO: Extracted packet for processing {"connection_id":157842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:39:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509880576001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:39:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787148272000,"timestamp_ms":1787148272000,"timestamp_seconds":1787148272,"priority":1,"record_length":96,"hex_timestamp":"000001a01a568180"} 
[2026-08-19 19:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:39: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-08-19 19: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-08-19 19:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509880576001,"66":25734,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509880576001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:39:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:39:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509880576001,"power":25734,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":157842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:39:37] local.INFO: GPS data processed {"connection_id":157842,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:39:37] local.INFO: Acknowledgment sent {"connection_id":157842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:39:41] local.INFO: TCP Data received {"connection_id":158209,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:39:41] local.INFO: Processing buffer {"connection_id":158209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:39:41] local.INFO: IMEI packet received {"connection_id":158209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":158209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:39:45] local.INFO: TCP Data received {"connection_id":158208,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:39:45] local.INFO: Processing buffer {"connection_id":158208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:39:45] local.INFO: Packet analysis {"connection_id":158208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:39:45] local.INFO: Extracted packet for processing {"connection_id":158208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:39:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509906432001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787148373000,"timestamp_ms":1787148373000,"timestamp_seconds":1787148373,"priority":1,"record_length":96,"hex_timestamp":"000001a01a580c08"} 
[2026-08-19 19:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509906432001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509906432001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:39:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:39:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509906432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":158208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:39:45] local.INFO: GPS data processed {"connection_id":158208,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:39:45] local.INFO: Acknowledgment sent {"connection_id":158208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:39:46] local.INFO: TCP Data received {"connection_id":158209,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:39:46] local.INFO: Processing buffer {"connection_id":158209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:39:46] local.INFO: IMEI packet received {"connection_id":158209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":158209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:39:47] local.INFO: TCP Data received {"connection_id":158209,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a544f00012d7e360005d34dc8000500542a..."} 
[2026-08-19 19:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a544f00012d7e360005d34dc8000500542a..."} 
[2026-08-19 19:39:47] local.INFO: Processing buffer {"connection_id":158209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a544f00012d7e360005d34dc8000500542a..."} 
[2026-08-19 19:39:47] local.INFO: Packet analysis {"connection_id":158209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a54"} 
[2026-08-19 19:39:47] local.INFO: Extracted packet for processing {"connection_id":158209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a54"} 
[2026-08-19 19:39:47] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734088,"longitude_deg":76.324608,"latitude_deg":9.7734088,"altitude":5,"angle":84,"satellites":42,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34dc8","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509915392001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120933097800728576,"note":"Value kept but may cause issues"} 
[2026-08-19 19:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541221888,"note":"Value kept but may cause issues"} 
[2026-08-19 19:39: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-08-19 19:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787148128000,"timestamp_ms":1787148128000,"timestamp_seconds":1787148128,"priority":1,"record_length":96,"hex_timestamp":"000001a01a544f00"} 
[2026-08-19 19:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-19 19:39:47] 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-08-19 19: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-08-19 19:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:39:47] 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-08-19 19:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509915392001,"66":13222,"109":206,"85":15104,"24":0,"16":120933097800728576,"45":9094456522541221888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 19:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509915392001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:39:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 19:39:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120933097800728576,"km_value":120933097800728.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541221888,"description":"Unknown IO ID 45"} 
[2026-08-19 19:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509915392001,"power":13222,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541221888}} 
[2026-08-19 19:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":158209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:39:47] local.INFO: GPS data processed {"connection_id":158209,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:39:47] local.INFO: Acknowledgment sent {"connection_id":158209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:40:04] local.INFO: TCP Data received {"connection_id":157843,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:40:04] local.INFO: Processing buffer {"connection_id":157843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:40:04] local.INFO: IMEI packet received {"connection_id":157843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":157843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:40:08] local.INFO: TCP Data received {"connection_id":157844,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:40:08] local.INFO: Processing buffer {"connection_id":157844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:40:08] local.INFO: IMEI packet received {"connection_id":157844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":157844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:40:08] local.INFO: TCP Data received {"connection_id":157843,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:40:08] local.INFO: Processing buffer {"connection_id":157843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:40:08] local.INFO: IMEI packet received {"connection_id":157843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":157843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:40:10] local.INFO: TCP Data received {"connection_id":157843,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:40:10] local.INFO: Processing buffer {"connection_id":157843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a568180012ceb0780071a3b28002801322a..."} 
[2026-08-19 19:40:10] local.INFO: Packet analysis {"connection_id":157843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:40:10] local.INFO: Extracted packet for processing {"connection_id":157843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a56"} 
[2026-08-19 19:40:10] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":40,"angle":306,"satellites":42,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509880576001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787148272000,"timestamp_ms":1787148272000,"timestamp_seconds":1787148272,"priority":1,"record_length":96,"hex_timestamp":"000001a01a568180"} 
[2026-08-19 19:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-19 19:40:10] 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-08-19 19:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509880576001,"66":25734,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509880576001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:40:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509880576001,"power":25734,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":157843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:40:11] local.INFO: GPS data processed {"connection_id":157843,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:40:11] local.INFO: Acknowledgment sent {"connection_id":157843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:40:12] local.INFO: TCP Data received {"connection_id":157843,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:40:12] local.INFO: Processing buffer {"connection_id":157843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:40:12] local.INFO: Packet analysis {"connection_id":157843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:40:12] local.INFO: Extracted packet for processing {"connection_id":157843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:40:12] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509957632001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787148573000,"timestamp_ms":1787148573000,"timestamp_seconds":1787148573,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5b1948"} 
[2026-08-19 19:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:40:12] 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-08-19 19:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 19:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509957632001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509957632001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:40:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:40:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509957632001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":157843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:40:12] local.INFO: GPS data processed {"connection_id":157843,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:40:12] local.INFO: Acknowledgment sent {"connection_id":157843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:40:13] local.INFO: TCP Data received {"connection_id":157844,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:40:13] local.INFO: Processing buffer {"connection_id":157844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:40:13] local.INFO: IMEI packet received {"connection_id":157844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":157844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:40:14] local.INFO: TCP Data received {"connection_id":157844,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:40:14] local.INFO: Processing buffer {"connection_id":157844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:40:14] local.INFO: Packet analysis {"connection_id":157844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:40:14] local.INFO: Extracted packet for processing {"connection_id":157844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:40:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509906432001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787148373000,"timestamp_ms":1787148373000,"timestamp_seconds":1787148373,"priority":1,"record_length":96,"hex_timestamp":"000001a01a580c08"} 
[2026-08-19 19:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509906432001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509906432001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:40:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:40:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509906432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":157844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:40:14] local.INFO: GPS data processed {"connection_id":157844,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:40:14] local.INFO: Acknowledgment sent {"connection_id":157844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:40:18] local.INFO: TCP Data received {"connection_id":158209,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a545ea0012d7e360005d34dc8000500542a..."} 
[2026-08-19 19:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a545ea0012d7e360005d34dc8000500542a..."} 
[2026-08-19 19:40:18] local.INFO: Processing buffer {"connection_id":158209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a545ea0012d7e360005d34dc8000500542a..."} 
[2026-08-19 19:40:18] local.INFO: Packet analysis {"connection_id":158209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a54"} 
[2026-08-19 19:40:18] local.INFO: Extracted packet for processing {"connection_id":158209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a54"} 
[2026-08-19 19:40:18] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734088,"longitude_deg":76.324608,"latitude_deg":9.7734088,"altitude":5,"angle":84,"satellites":42,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34dc8","is_valid_coordinates":true} 
[2026-08-19 19:40: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-08-19 19:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509920768001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120933097800728576,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541221888,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787148132000,"timestamp_ms":1787148132000,"timestamp_seconds":1787148132,"priority":1,"record_length":96,"hex_timestamp":"000001a01a545ea0"} 
[2026-08-19 19:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 19: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-19 19:40:18] 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-08-19 19: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-08-19 19:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:40:18] 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-08-19 19:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509920768001,"66":13124,"109":206,"85":15104,"24":0,"16":120933097800728576,"45":9094456522541221888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 19:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509920768001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:40:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 19:40:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120933097800728576,"km_value":120933097800728.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541221888,"description":"Unknown IO ID 45"} 
[2026-08-19 19:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509920768001,"power":13124,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541221888}} 
[2026-08-19 19:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":158209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:40:18] local.INFO: GPS data processed {"connection_id":158209,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:40:18] local.INFO: Acknowledgment sent {"connection_id":158209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:40:44] local.INFO: TCP Data received {"connection_id":157843,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:40:44] local.INFO: Processing buffer {"connection_id":157843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:40:44] local.INFO: Packet analysis {"connection_id":157843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:40:44] local.INFO: Extracted packet for processing {"connection_id":157843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:40:44] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509957632001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787148573000,"timestamp_ms":1787148573000,"timestamp_seconds":1787148573,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5b1948"} 
[2026-08-19 19:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 19:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509957632001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509957632001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:40:44] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:40:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509957632001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":157843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:40:44] local.INFO: GPS data processed {"connection_id":157843,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:40:44] local.INFO: Acknowledgment sent {"connection_id":157843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:40:45] local.INFO: TCP Data received {"connection_id":157844,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:40:45] local.INFO: Processing buffer {"connection_id":157844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:40:45] local.INFO: Packet analysis {"connection_id":157844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:40:45] local.INFO: Extracted packet for processing {"connection_id":157844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:40:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509906432001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787148373000,"timestamp_ms":1787148373000,"timestamp_seconds":1787148373,"priority":1,"record_length":96,"hex_timestamp":"000001a01a580c08"} 
[2026-08-19 19:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509906432001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509906432001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:40:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:40:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509906432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":157844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:40:45] local.INFO: GPS data processed {"connection_id":157844,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:40:45] local.INFO: Acknowledgment sent {"connection_id":157844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:40:46] local.INFO: TCP Data received {"connection_id":158210,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:40:46] local.INFO: Processing buffer {"connection_id":158210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:40:46] local.INFO: IMEI packet received {"connection_id":158210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":158210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:40:51] local.INFO: TCP Data received {"connection_id":158210,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:40:51] local.INFO: Processing buffer {"connection_id":158210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:40:51] local.INFO: IMEI packet received {"connection_id":158210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":158210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:40:52] local.INFO: TCP Data received {"connection_id":158210,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a545ea0012d7e360005d34dc8000500542a..."} 
[2026-08-19 19:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a545ea0012d7e360005d34dc8000500542a..."} 
[2026-08-19 19:40:52] local.INFO: Processing buffer {"connection_id":158210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a545ea0012d7e360005d34dc8000500542a..."} 
[2026-08-19 19:40:52] local.INFO: Packet analysis {"connection_id":158210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a54"} 
[2026-08-19 19:40:52] local.INFO: Extracted packet for processing {"connection_id":158210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a54"} 
[2026-08-19 19:40:52] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734088,"longitude_deg":76.324608,"latitude_deg":9.7734088,"altitude":5,"angle":84,"satellites":42,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34dc8","is_valid_coordinates":true} 
[2026-08-19 19:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509921792001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120933097800728576,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541221888,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787148132000,"timestamp_ms":1787148132000,"timestamp_seconds":1787148132,"priority":1,"record_length":96,"hex_timestamp":"000001a01a545ea0"} 
[2026-08-19 19:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:40: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-08-19 19:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-19 19:40:52] 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-08-19 19:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":158210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":158210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":158210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:40:52] 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-08-19 19:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509921792001,"66":13124,"109":206,"85":15104,"24":0,"16":120933097800728576,"45":9094456522541221888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 19:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509921792001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:40:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 19:40:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120933097800728576,"km_value":120933097800728.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541221888,"description":"Unknown IO ID 45"} 
[2026-08-19 19:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509921792001,"power":13124,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541221888}} 
[2026-08-19 19:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":158210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:40:52] local.INFO: GPS data processed {"connection_id":158210,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:40:52] local.INFO: Acknowledgment sent {"connection_id":158210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:40:56] local.INFO: TCP Data received {"connection_id":158210,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a546e40012d7e360005d34dc8000500542b..."} 
[2026-08-19 19:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a546e40012d7e360005d34dc8000500542b..."} 
[2026-08-19 19:40:56] local.INFO: Processing buffer {"connection_id":158210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a546e40012d7e360005d34dc8000500542b..."} 
[2026-08-19 19:40:56] local.INFO: Packet analysis {"connection_id":158210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a54"} 
[2026-08-19 19:40:56] local.INFO: Extracted packet for processing {"connection_id":158210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a54"} 
[2026-08-19 19:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734088,"longitude_deg":76.324608,"latitude_deg":9.7734088,"altitude":5,"angle":84,"satellites":43,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34dc8","is_valid_coordinates":true} 
[2026-08-19 19:40:56] 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-08-19 19:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509921792001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120933097800728576,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541221888,"note":"Value kept but may cause issues"} 
[2026-08-19 19:40: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-08-19 19:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787148136000,"timestamp_ms":1787148136000,"timestamp_seconds":1787148136,"priority":1,"record_length":96,"hex_timestamp":"000001a01a546e40"} 
[2026-08-19 19:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:40: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-08-19 19: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-19 19:40:56] 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-08-19 19: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-08-19 19:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":158210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":158210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":158210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:40:56] 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-08-19 19:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509921792001,"66":8199,"109":206,"85":15104,"24":0,"16":120933097800728576,"45":9094456522541221888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 19:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509921792001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:40:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 19:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120933097800728576,"km_value":120933097800728.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541221888,"description":"Unknown IO ID 45"} 
[2026-08-19 19:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509921792001,"power":8199,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541221888}} 
[2026-08-19 19:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":158210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:40:56] local.INFO: GPS data processed {"connection_id":158210,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:40:56] local.INFO: Acknowledgment sent {"connection_id":158210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:40:58] local.INFO: TCP Data received {"connection_id":160393,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:40:58] local.INFO: Processing buffer {"connection_id":160393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:40:58] local.INFO: IMEI packet received {"connection_id":160393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":160393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:41:04] local.INFO: TCP Data received {"connection_id":160393,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:41:04] local.INFO: Processing buffer {"connection_id":160393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:41:04] local.INFO: IMEI packet received {"connection_id":160393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":160393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:41:05] local.INFO: TCP Data received {"connection_id":160393,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:41:05] local.INFO: Processing buffer {"connection_id":160393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:41:05] local.INFO: Packet analysis {"connection_id":160393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:41:05] local.INFO: Extracted packet for processing {"connection_id":160393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:41:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509957632001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787148573000,"timestamp_ms":1787148573000,"timestamp_seconds":1787148573,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5b1948"} 
[2026-08-19 19:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:41: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-08-19 19:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 19:41:05] 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-08-19 19:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509957632001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509957632001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:41:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:41:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509957632001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":160393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:41:05] local.INFO: GPS data processed {"connection_id":160393,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:41:05] local.INFO: Acknowledgment sent {"connection_id":160393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:41:08] local.INFO: TCP Data received {"connection_id":160394,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:41:08] local.INFO: Processing buffer {"connection_id":160394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:41:08] local.INFO: IMEI packet received {"connection_id":160394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":160394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:41:13] local.INFO: TCP Data received {"connection_id":160394,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:41:13] local.INFO: Processing buffer {"connection_id":160394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:41:13] local.INFO: IMEI packet received {"connection_id":160394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":160394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:41:14] local.INFO: TCP Data received {"connection_id":160394,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:41:14] local.INFO: Processing buffer {"connection_id":160394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:41:14] local.INFO: Packet analysis {"connection_id":160394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:41:14] local.INFO: Extracted packet for processing {"connection_id":160394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:41:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509906432001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787148373000,"timestamp_ms":1787148373000,"timestamp_seconds":1787148373,"priority":1,"record_length":96,"hex_timestamp":"000001a01a580c08"} 
[2026-08-19 19:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509906432001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509906432001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:41:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:41:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509906432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":160394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:41:14] local.INFO: GPS data processed {"connection_id":160394,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:41:14] local.INFO: Acknowledgment sent {"connection_id":160394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:41:36] local.INFO: TCP Data received {"connection_id":160393,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:41:36] local.INFO: Processing buffer {"connection_id":160393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:41:36] local.INFO: Packet analysis {"connection_id":160393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:41:36] local.INFO: Extracted packet for processing {"connection_id":160393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:41:36] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509957632001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787148573000,"timestamp_ms":1787148573000,"timestamp_seconds":1787148573,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5b1948"} 
[2026-08-19 19:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 19:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509957632001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509957632001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:41:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:41:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509957632001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":160393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:41:36] local.INFO: GPS data processed {"connection_id":160393,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:41:36] local.INFO: Acknowledgment sent {"connection_id":160393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:41:41] local.INFO: TCP Data received {"connection_id":159064,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:41:41] local.INFO: Processing buffer {"connection_id":159064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:41:41] local.INFO: IMEI packet received {"connection_id":159064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":159064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:41:45] local.INFO: TCP Data received {"connection_id":160394,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:41:45] local.INFO: Processing buffer {"connection_id":160394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a580c08012d196500071ff128004001462a..."} 
[2026-08-19 19:41:45] local.INFO: Packet analysis {"connection_id":160394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:41:45] local.INFO: Extracted packet for processing {"connection_id":160394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a58"} 
[2026-08-19 19:41:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509906432001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787148373000,"timestamp_ms":1787148373000,"timestamp_seconds":1787148373,"priority":1,"record_length":96,"hex_timestamp":"000001a01a580c08"} 
[2026-08-19 19:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509906432001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509906432001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:41:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:41:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509906432001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":160394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:41:45] local.INFO: GPS data processed {"connection_id":160394,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:41:45] local.INFO: Acknowledgment sent {"connection_id":160394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:41:46] local.INFO: TCP Data received {"connection_id":159064,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:41:46] local.INFO: Processing buffer {"connection_id":159064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:41:46] local.INFO: IMEI packet received {"connection_id":159064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":159064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:41:47] local.INFO: TCP Data received {"connection_id":159064,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a546e40012d7e360005d34dc8000500542b..."} 
[2026-08-19 19:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a546e40012d7e360005d34dc8000500542b..."} 
[2026-08-19 19:41:47] local.INFO: Processing buffer {"connection_id":159064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a546e40012d7e360005d34dc8000500542b..."} 
[2026-08-19 19:41:47] local.INFO: Packet analysis {"connection_id":159064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a54"} 
[2026-08-19 19:41:47] local.INFO: Extracted packet for processing {"connection_id":159064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a54"} 
[2026-08-19 19:41:47] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734088,"longitude_deg":76.324608,"latitude_deg":9.7734088,"altitude":5,"angle":84,"satellites":43,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34dc8","is_valid_coordinates":true} 
[2026-08-19 19:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509922816001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120933097800728576,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541221888,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787148136000,"timestamp_ms":1787148136000,"timestamp_seconds":1787148136,"priority":1,"record_length":96,"hex_timestamp":"000001a01a546e40"} 
[2026-08-19 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-08-19 19:41: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-08-19 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":32,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 19:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287296512,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5934630503595376640,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18627599593721197,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:47] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-19 19:41:47] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3623955838,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:47] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2147865422,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:47] local.WARNING: Large IO value detected {"io_id":144,"raw_value":1970712105454080,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 19:41:47] local.INFO: IO Element Parsed {"io_data_count":30,"io_data_keys":[0,109,85,24,241,157,16,164,160,94,45,77,5,42,10,66,79,1,240,166,227,26,211,4,113,205,174,55,144,2],"length":427,"final_offset":557,"validated_count":30,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-08-19 19:41:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360380513849966623,"timestamp_seconds":360380513849966.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 19:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":159064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":159064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":159064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:41:47] 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-08-19 19:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509922816001,"66":8199,"109":206,"85":15104,"24":0,"16":120933097800728576,"45":9094456522541221888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-19 19:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509922816001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:41:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 19:41:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120933097800728576,"km_value":120933097800728.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541221888,"description":"Unknown IO ID 45"} 
[2026-08-19 19:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509922816001,"power":8199,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541221888}} 
[2026-08-19 19:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":159064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:41:47] local.INFO: GPS data processed {"connection_id":159064,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:41:47] local.INFO: Acknowledgment sent {"connection_id":159064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:42:04] local.INFO: TCP Data received {"connection_id":158211,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:42:04] local.INFO: Processing buffer {"connection_id":158211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:42:04] local.INFO: IMEI packet received {"connection_id":158211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":158211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:42:08] local.INFO: TCP Data received {"connection_id":158211,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:42:08] local.INFO: Processing buffer {"connection_id":158211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:42:08] local.INFO: IMEI packet received {"connection_id":158211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":158211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:42:09] local.INFO: TCP Data received {"connection_id":158211,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:42:09] local.INFO: Processing buffer {"connection_id":158211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:42:09] local.INFO: Packet analysis {"connection_id":158211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:42:09] local.INFO: Extracted packet for processing {"connection_id":158211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:42:09] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509957632001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787148573000,"timestamp_ms":1787148573000,"timestamp_seconds":1787148573,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5b1948"} 
[2026-08-19 19:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:42:09] 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-08-19 19:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 19:42:09] 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-08-19 19:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":158211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":158211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":158211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509957632001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509957632001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:42:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:42:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509957632001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":158211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:42:09] local.INFO: GPS data processed {"connection_id":158211,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:42:09] local.INFO: Acknowledgment sent {"connection_id":158211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:42:13] local.INFO: TCP Data received {"connection_id":157845,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:42:13] local.INFO: Processing buffer {"connection_id":157845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:42:13] local.INFO: IMEI packet received {"connection_id":157845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":157845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:42:14] local.INFO: TCP Data received {"connection_id":158211,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:42:14] local.INFO: Processing buffer {"connection_id":158211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:42:14] local.INFO: Packet analysis {"connection_id":158211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:42:14] local.INFO: Extracted packet for processing {"connection_id":158211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:42:14] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509957632001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787148573000,"timestamp_ms":1787148573000,"timestamp_seconds":1787148573,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5b1948"} 
[2026-08-19 19:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:42:14] 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-08-19 19: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 19:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509957632001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509957632001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:42:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:42:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509957632001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":158211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:42:14] local.INFO: GPS data processed {"connection_id":158211,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:42:14] local.INFO: Acknowledgment sent {"connection_id":158211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:42:18] local.INFO: TCP Data received {"connection_id":159064,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5d1900012d7e380005d34dd80005005431..."} 
[2026-08-19 19:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5d1900012d7e380005d34dd80005005431..."} 
[2026-08-19 19:42:18] local.INFO: Processing buffer {"connection_id":159064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5d1900012d7e380005d34dd80005005431..."} 
[2026-08-19 19:42:18] local.INFO: Packet analysis {"connection_id":159064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5d"} 
[2026-08-19 19:42:18] local.INFO: Extracted packet for processing {"connection_id":159064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5d"} 
[2026-08-19 19:42:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":5,"angle":84,"satellites":49,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509922816001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120933097800728576,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541221888,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787148704000,"timestamp_ms":1787148704000,"timestamp_seconds":1787148704,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5d1900"} 
[2026-08-19 19:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:42: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-08-19 19: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":32,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 19:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287299072,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633062792121709,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:18] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-19 19:42:18] local.WARNING: Large IO value detected {"io_id":252,"raw_value":4160826750,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1407736399003648,"corrected_to":0} 
[2026-08-19 19:42:18] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5934615110432587776,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:18] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,109,85,24,241,157,16,164,160,110,45,77,5,43,10,66,94,42,240,68,227,26,211,4,113,205,252,54,200,2,1],"length":427,"final_offset":557,"validated_count":31,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":200,"original":1407736399003648,"validated":0}]} 
[2026-08-19 19:42:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360380513849966658,"timestamp_seconds":360380513849966.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 19:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:42:18] 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-08-19 19:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509922816001,"66":2242,"81":206,"85":15104,"24":0,"16":120933097800728576,"45":9094456522541221888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-19 19:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509922816001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-19 19:42:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120933097800728576,"km_value":120933097800728.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541221888,"description":"Unknown IO ID 45"} 
[2026-08-19 19:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509922816001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541221888}} 
[2026-08-19 19:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":159064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:42:18] local.INFO: GPS data processed {"connection_id":159064,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:42:18] local.INFO: Acknowledgment sent {"connection_id":159064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:42:18] local.INFO: TCP Data received {"connection_id":157845,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:42:18] local.INFO: Processing buffer {"connection_id":157845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:42:18] local.INFO: IMEI packet received {"connection_id":157845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":157845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:42:19] local.INFO: TCP Data received {"connection_id":157845,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:42:19] local.INFO: Processing buffer {"connection_id":157845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:42:19] local.INFO: Packet analysis {"connection_id":157845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:42:19] local.INFO: Extracted packet for processing {"connection_id":157845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:42:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 19:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509983488001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787148674000,"timestamp_ms":1787148674000,"timestamp_seconds":1787148674,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5ca3d0"} 
[2026-08-19 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-08-19 19:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 19:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509983488001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509983488001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:42:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:42:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509983488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":157845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:42:19] local.INFO: GPS data processed {"connection_id":157845,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:42:19] local.INFO: Acknowledgment sent {"connection_id":157845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:42:41] local.INFO: TCP Data received {"connection_id":159065,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:42:41] local.INFO: Processing buffer {"connection_id":159065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:42:41] local.INFO: IMEI packet received {"connection_id":159065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":159065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:42:46] local.INFO: TCP Data received {"connection_id":159065,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:42:46] local.INFO: Processing buffer {"connection_id":159065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:42:46] local.INFO: IMEI packet received {"connection_id":159065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":159065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:42:47] local.INFO: TCP Data received {"connection_id":159065,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5d1900012d7e380005d34dd80005005431..."} 
[2026-08-19 19:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5d1900012d7e380005d34dd80005005431..."} 
[2026-08-19 19:42:47] local.INFO: Processing buffer {"connection_id":159065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5d1900012d7e380005d34dd80005005431..."} 
[2026-08-19 19:42:47] local.INFO: Packet analysis {"connection_id":159065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5d"} 
[2026-08-19 19:42:47] local.INFO: Extracted packet for processing {"connection_id":159065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5d"} 
[2026-08-19 19:42:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":5,"angle":84,"satellites":49,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 19:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509922816001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120933097800728576,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541221888,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787148704000,"timestamp_ms":1787148704000,"timestamp_seconds":1787148704,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5d1900"} 
[2026-08-19 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-08-19 19:42: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-08-19 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":32,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 19:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287299072,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633062792121709,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:47] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-19 19:42:47] local.WARNING: Large IO value detected {"io_id":252,"raw_value":4160826750,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1407736399003648,"corrected_to":0} 
[2026-08-19 19:42:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5934615110432587776,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:47] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,109,85,24,241,157,16,164,160,110,45,77,5,43,10,66,94,42,240,68,227,26,211,4,113,205,252,54,200,2,1],"length":427,"final_offset":557,"validated_count":31,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":200,"original":1407736399003648,"validated":0}]} 
[2026-08-19 19:42:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360380513849966658,"timestamp_seconds":360380513849966.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 19:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":159065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":159065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":159065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:42:47] 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-08-19 19:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509922816001,"66":2242,"81":206,"85":15104,"24":0,"16":120933097800728576,"45":9094456522541221888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-19 19:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509922816001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:42:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-19 19:42:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120933097800728576,"km_value":120933097800728.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541221888,"description":"Unknown IO ID 45"} 
[2026-08-19 19:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509922816001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541221888}} 
[2026-08-19 19:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":159065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:42:47] local.INFO: GPS data processed {"connection_id":159065,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:42:47] local.INFO: Acknowledgment sent {"connection_id":159065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:42:50] local.INFO: TCP Data received {"connection_id":157845,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:42:50] local.INFO: Processing buffer {"connection_id":157845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:42:50] local.INFO: Packet analysis {"connection_id":157845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:42:50] local.INFO: Extracted packet for processing {"connection_id":157845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509983488001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787148674000,"timestamp_ms":1787148674000,"timestamp_seconds":1787148674,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5ca3d0"} 
[2026-08-19 19:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":157845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":157845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":157845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509983488001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509983488001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:42:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509983488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":157845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:42:50] local.INFO: GPS data processed {"connection_id":157845,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:42:50] local.INFO: Acknowledgment sent {"connection_id":157845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:42:59] local.INFO: TCP Data received {"connection_id":160395,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:42:59] local.INFO: Processing buffer {"connection_id":160395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:42:59] local.INFO: IMEI packet received {"connection_id":160395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":160395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:43:04] local.INFO: TCP Data received {"connection_id":160395,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:43:04] local.INFO: Processing buffer {"connection_id":160395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:43:04] local.INFO: IMEI packet received {"connection_id":160395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":160395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:43:05] local.INFO: TCP Data received {"connection_id":160395,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:43:05] local.INFO: Processing buffer {"connection_id":160395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:43:05] local.INFO: Packet analysis {"connection_id":160395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:43:05] local.INFO: Extracted packet for processing {"connection_id":160395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:43:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509957632001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787148573000,"timestamp_ms":1787148573000,"timestamp_seconds":1787148573,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5b1948"} 
[2026-08-19 19:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:43: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-08-19 19:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 19:43:05] 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-08-19 19:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509957632001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509957632001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:43:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:43:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509957632001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":160395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:43:05] local.INFO: GPS data processed {"connection_id":160395,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:43:05] local.INFO: Acknowledgment sent {"connection_id":160395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:43:08] local.INFO: TCP Data received {"connection_id":160396,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:43:08] local.INFO: Processing buffer {"connection_id":160396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:43:08] local.INFO: IMEI packet received {"connection_id":160396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":160396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:43:13] local.INFO: TCP Data received {"connection_id":160396,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:43:13] local.INFO: Processing buffer {"connection_id":160396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:43:13] local.INFO: IMEI packet received {"connection_id":160396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":160396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:43:14] local.INFO: TCP Data received {"connection_id":160396,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:43:14] local.INFO: Processing buffer {"connection_id":160396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:43:14] local.INFO: Packet analysis {"connection_id":160396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:43:14] local.INFO: Extracted packet for processing {"connection_id":160396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:43:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509983488001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787148674000,"timestamp_ms":1787148674000,"timestamp_seconds":1787148674,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5ca3d0"} 
[2026-08-19 19:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509983488001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509983488001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:43:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:43:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509983488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":160396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:43:14] local.INFO: GPS data processed {"connection_id":160396,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:43:14] local.INFO: Acknowledgment sent {"connection_id":160396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:43:18] local.INFO: TCP Data received {"connection_id":159065,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5d1900012d7e380005d34dd80005005431..."} 
[2026-08-19 19:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5d1900012d7e380005d34dd80005005431..."} 
[2026-08-19 19:43:18] local.INFO: Processing buffer {"connection_id":159065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5d1900012d7e380005d34dd80005005431..."} 
[2026-08-19 19:43:18] local.INFO: Packet analysis {"connection_id":159065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5d"} 
[2026-08-19 19:43:18] local.INFO: Extracted packet for processing {"connection_id":159065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5d"} 
[2026-08-19 19:43:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":5,"angle":84,"satellites":49,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 19:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509922816001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120933097800728576,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541221888,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787148704000,"timestamp_ms":1787148704000,"timestamp_seconds":1787148704,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5d1900"} 
[2026-08-19 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-08-19 19:43: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-08-19 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":32,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 19:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287299072,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633062792121709,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:18] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-19 19:43:18] local.WARNING: Large IO value detected {"io_id":252,"raw_value":4160826750,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1407736399003648,"corrected_to":0} 
[2026-08-19 19:43:18] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5934615110432587776,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:18] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,109,85,24,241,157,16,164,160,110,45,77,5,43,10,66,94,42,240,68,227,26,211,4,113,205,252,54,200,2,1],"length":427,"final_offset":557,"validated_count":31,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":200,"original":1407736399003648,"validated":0}]} 
[2026-08-19 19:43:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360380513849966658,"timestamp_seconds":360380513849966.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 19:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:43:18] 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-08-19 19:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509922816001,"66":2242,"81":206,"85":15104,"24":0,"16":120933097800728576,"45":9094456522541221888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-19 19:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509922816001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:43:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-19 19:43:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120933097800728576,"km_value":120933097800728.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541221888,"description":"Unknown IO ID 45"} 
[2026-08-19 19:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509922816001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541221888}} 
[2026-08-19 19:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":159065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:43:18] local.INFO: GPS data processed {"connection_id":159065,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:43:18] local.INFO: Acknowledgment sent {"connection_id":159065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:43:36] local.INFO: TCP Data received {"connection_id":160395,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:43:36] local.INFO: Processing buffer {"connection_id":160395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:43:36] local.INFO: Packet analysis {"connection_id":160395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:43:36] local.INFO: Extracted packet for processing {"connection_id":160395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:43:36] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509957632001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787148573000,"timestamp_ms":1787148573000,"timestamp_seconds":1787148573,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5b1948"} 
[2026-08-19 19:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 19:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509957632001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509957632001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:43:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:43:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509957632001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":160395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:43:36] local.INFO: GPS data processed {"connection_id":160395,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:43:36] local.INFO: Acknowledgment sent {"connection_id":160395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:43:41] local.INFO: TCP Data received {"connection_id":160397,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:43:41] local.INFO: Processing buffer {"connection_id":160397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:43:41] local.INFO: IMEI packet received {"connection_id":160397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":160397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:43:45] local.INFO: TCP Data received {"connection_id":160396,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:43:45] local.INFO: Processing buffer {"connection_id":160396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:43:45] local.INFO: Packet analysis {"connection_id":160396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:43:45] local.INFO: Extracted packet for processing {"connection_id":160396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:43:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509983488001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787148674000,"timestamp_ms":1787148674000,"timestamp_seconds":1787148674,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5ca3d0"} 
[2026-08-19 19:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509983488001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509983488001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:43:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:43:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509983488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":160396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:43:45] local.INFO: GPS data processed {"connection_id":160396,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:43:45] local.INFO: Acknowledgment sent {"connection_id":160396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:43:46] local.INFO: TCP Data received {"connection_id":160397,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:43:46] local.INFO: Processing buffer {"connection_id":160397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:43:46] local.INFO: IMEI packet received {"connection_id":160397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-19 19:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":160397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:43:47] local.INFO: TCP Data received {"connection_id":160397,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5d1900012d7e380005d34dd80005005431..."} 
[2026-08-19 19:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5d1900012d7e380005d34dd80005005431..."} 
[2026-08-19 19:43:47] local.INFO: Processing buffer {"connection_id":160397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5d1900012d7e380005d34dd80005005431..."} 
[2026-08-19 19:43:47] local.INFO: Packet analysis {"connection_id":160397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5d"} 
[2026-08-19 19:43:47] local.INFO: Extracted packet for processing {"connection_id":160397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5d"} 
[2026-08-19 19:43:47] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734104,"longitude_deg":76.3246592,"latitude_deg":9.7734104,"altitude":5,"angle":84,"satellites":49,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 19:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509922816001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":120933097800728576,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541221888,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787148704000,"timestamp_ms":1787148704000,"timestamp_seconds":1787148704,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5d1900"} 
[2026-08-19 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-08-19 19:43: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-08-19 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":32,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-19 19:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287299072,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633062792121709,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:47] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6485447350503670016,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-08-19 19:43:47] local.WARNING: Large IO value detected {"io_id":252,"raw_value":4160826750,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1407736399003648,"corrected_to":0} 
[2026-08-19 19:43:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5934615110432587776,"note":"Value kept but may cause issues"} 
[2026-08-19 19:43:47] local.INFO: IO Element Parsed {"io_data_count":31,"io_data_keys":[0,109,85,24,241,157,16,164,160,110,45,77,5,43,10,66,94,42,240,68,227,26,211,4,113,205,252,54,200,2,1],"length":427,"final_offset":557,"validated_count":31,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":200,"original":1407736399003648,"validated":0}]} 
[2026-08-19 19:43:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360380513849966658,"timestamp_seconds":360380513849966.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-19 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-08-19 19:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-19 19:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-19 19:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-19 19:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509922816001,"66":2242,"81":206,"85":15104,"24":0,"16":120933097800728576,"45":9094456522541221888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-19 19:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-19 19:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-19 19:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509922816001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:43:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-19 19:43:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-19 19:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":120933097800728576,"km_value":120933097800728.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541221888,"description":"Unknown IO ID 45"} 
[2026-08-19 19:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509922816001,"power":2242,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541221888}} 
[2026-08-19 19:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":160397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:43:47] local.INFO: GPS data processed {"connection_id":160397,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:43:47] local.INFO: Acknowledgment sent {"connection_id":160397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:43:58] local.INFO: TCP Data received {"connection_id":157846,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:43:58] local.INFO: Processing buffer {"connection_id":157846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:43:58] local.INFO: IMEI packet received {"connection_id":157846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":157846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:44:04] local.INFO: TCP Data received {"connection_id":157846,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:44:04] local.INFO: Processing buffer {"connection_id":157846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:44:04] local.INFO: IMEI packet received {"connection_id":157846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":157846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:44:05] local.INFO: TCP Data received {"connection_id":157846,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:44:05] local.INFO: Processing buffer {"connection_id":157846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:44:05] local.INFO: Packet analysis {"connection_id":157846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:44:05] local.INFO: Extracted packet for processing {"connection_id":157846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:44:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509957632001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:44:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787148573000,"timestamp_ms":1787148573000,"timestamp_seconds":1787148573,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5b1948"} 
[2026-08-19 19:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:44: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-08-19 19: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 19:44:05] 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-08-19 19: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-08-19 19:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509957632001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509957632001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:44:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:44:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509957632001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":157846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:44:05] local.INFO: GPS data processed {"connection_id":157846,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:44:05] local.INFO: Acknowledgment sent {"connection_id":157846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:44:08] local.INFO: TCP Data received {"connection_id":158212,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:44:08] local.INFO: Processing buffer {"connection_id":158212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:44:08] local.INFO: IMEI packet received {"connection_id":158212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":158212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:44:13] local.INFO: TCP Data received {"connection_id":158212,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:44:13] local.INFO: Processing buffer {"connection_id":158212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:44:13] local.INFO: IMEI packet received {"connection_id":158212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":158212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:44:14] local.INFO: TCP Data received {"connection_id":158212,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:44:14] local.INFO: Processing buffer {"connection_id":158212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:44:14] local.INFO: Packet analysis {"connection_id":158212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:44:14] local.INFO: Extracted packet for processing {"connection_id":158212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:44:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509983488001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787148674000,"timestamp_ms":1787148674000,"timestamp_seconds":1787148674,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5ca3d0"} 
[2026-08-19 19:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509983488001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509983488001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:44:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:44:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509983488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":158212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:44:14] local.INFO: GPS data processed {"connection_id":158212,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:44:14] local.INFO: Acknowledgment sent {"connection_id":158212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:44:37] local.INFO: TCP Data received {"connection_id":157846,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:44:37] local.INFO: Processing buffer {"connection_id":157846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:44:37] local.INFO: Packet analysis {"connection_id":157846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:44:37] local.INFO: Extracted packet for processing {"connection_id":157846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:44:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509957632001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:44:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787148573000,"timestamp_ms":1787148573000,"timestamp_seconds":1787148573,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5b1948"} 
[2026-08-19 19:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 19:44:37] 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-08-19 19:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509957632001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509957632001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:44:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:44:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509957632001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":157846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:44:37] local.INFO: GPS data processed {"connection_id":157846,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:44:37] local.INFO: Acknowledgment sent {"connection_id":157846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:44:45] local.INFO: TCP Data received {"connection_id":158212,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:44:45] local.INFO: Processing buffer {"connection_id":158212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:44:45] local.INFO: Packet analysis {"connection_id":158212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:44:45] local.INFO: Extracted packet for processing {"connection_id":158212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:44:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509983488001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787148674000,"timestamp_ms":1787148674000,"timestamp_seconds":1787148674,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5ca3d0"} 
[2026-08-19 19:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509983488001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509983488001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:44:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:44:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509983488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":158212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:44:45] local.INFO: GPS data processed {"connection_id":158212,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:44:45] local.INFO: Acknowledgment sent {"connection_id":158212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:44:58] local.INFO: TCP Data received {"connection_id":160398,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:44:58] local.INFO: Processing buffer {"connection_id":160398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:44:58] local.INFO: IMEI packet received {"connection_id":160398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":160398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:45:04] local.INFO: TCP Data received {"connection_id":160398,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:45:04] local.INFO: Processing buffer {"connection_id":160398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:45:04] local.INFO: IMEI packet received {"connection_id":160398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":160398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:45:05] local.INFO: TCP Data received {"connection_id":160398,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:45:05] local.INFO: Processing buffer {"connection_id":160398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5b1948012ceb0780071a3b280029013228..."} 
[2026-08-19 19:45:05] local.INFO: Packet analysis {"connection_id":160398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:45:05] local.INFO: Extracted packet for processing {"connection_id":160398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5b"} 
[2026-08-19 19:45:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":40,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509957632001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:45:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787148573000,"timestamp_ms":1787148573000,"timestamp_seconds":1787148573,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5b1948"} 
[2026-08-19 19:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:45: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-08-19 19: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-19 19:45:05] 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-08-19 19: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-08-19 19:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509957632001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509957632001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:45:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:45:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509957632001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":160398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:45:05] local.INFO: GPS data processed {"connection_id":160398,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:45:05] local.INFO: Acknowledgment sent {"connection_id":160398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:45:08] local.INFO: TCP Data received {"connection_id":159066,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:45:08] local.INFO: Processing buffer {"connection_id":159066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:45:08] local.INFO: IMEI packet received {"connection_id":159066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":159066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:45:13] local.INFO: TCP Data received {"connection_id":159066,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:45:13] local.INFO: Processing buffer {"connection_id":159066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:45:13] local.INFO: IMEI packet received {"connection_id":159066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":159066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:45:14] local.INFO: TCP Data received {"connection_id":159066,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:45:14] local.INFO: Processing buffer {"connection_id":159066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:45:14] local.INFO: Packet analysis {"connection_id":159066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:45:14] local.INFO: Extracted packet for processing {"connection_id":159066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:45:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509983488001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787148674000,"timestamp_ms":1787148674000,"timestamp_seconds":1787148674,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5ca3d0"} 
[2026-08-19 19:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509983488001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509983488001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:45:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:45:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509983488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":159066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:45:14] local.INFO: GPS data processed {"connection_id":159066,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:45:14] local.INFO: Acknowledgment sent {"connection_id":159066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:45:36] local.INFO: TCP Data received {"connection_id":160398,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:45:36] local.INFO: Processing buffer {"connection_id":160398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:45:36] local.INFO: Packet analysis {"connection_id":160398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:45:36] local.INFO: Extracted packet for processing {"connection_id":160398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:45:36] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510034688001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:45:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787148874000,"timestamp_ms":1787148874000,"timestamp_seconds":1787148874,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5fb110"} 
[2026-08-19 19:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510034688001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510034688001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:45:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:45:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510034688001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":160398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:45:36] local.INFO: GPS data processed {"connection_id":160398,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:45:36] local.INFO: Acknowledgment sent {"connection_id":160398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:45:45] local.INFO: TCP Data received {"connection_id":159066,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:45:45] local.INFO: Processing buffer {"connection_id":159066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:45:45] local.INFO: Packet analysis {"connection_id":159066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:45:45] local.INFO: Extracted packet for processing {"connection_id":159066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509983488001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787148674000,"timestamp_ms":1787148674000,"timestamp_seconds":1787148674,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5ca3d0"} 
[2026-08-19 19:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509983488001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509983488001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:45:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509983488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":159066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:45:45] local.INFO: GPS data processed {"connection_id":159066,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:45:45] local.INFO: Acknowledgment sent {"connection_id":159066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:46:04] local.INFO: TCP Data received {"connection_id":157847,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:46:04] local.INFO: Processing buffer {"connection_id":157847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:46:04] local.INFO: IMEI packet received {"connection_id":157847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":157847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:46:07] local.INFO: TCP Data received {"connection_id":157848,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:46:07] local.INFO: Processing buffer {"connection_id":157848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:46:07] local.INFO: IMEI packet received {"connection_id":157848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":157848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:46:08] local.INFO: TCP Data received {"connection_id":157847,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:46:08] local.INFO: Processing buffer {"connection_id":157847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:46:08] local.INFO: IMEI packet received {"connection_id":157847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":157847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:46:09] local.INFO: TCP Data received {"connection_id":157847,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:46:09] local.INFO: Processing buffer {"connection_id":157847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:46:09] local.INFO: Packet analysis {"connection_id":157847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:46:09] local.INFO: Extracted packet for processing {"connection_id":157847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:46:09] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510034688001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:46:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787148874000,"timestamp_ms":1787148874000,"timestamp_seconds":1787148874,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5fb110"} 
[2026-08-19 19:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510034688001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510034688001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:46:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:46:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510034688001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":157847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:46:09] local.INFO: GPS data processed {"connection_id":157847,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:46:09] local.INFO: Acknowledgment sent {"connection_id":157847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:46:13] local.INFO: TCP Data received {"connection_id":157848,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:46:13] local.INFO: Processing buffer {"connection_id":157848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:46:13] local.INFO: IMEI packet received {"connection_id":157848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":157848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:46:14] local.INFO: TCP Data received {"connection_id":157848,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:46:14] local.INFO: Processing buffer {"connection_id":157848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:46:14] local.INFO: Packet analysis {"connection_id":157848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:46:14] local.INFO: Extracted packet for processing {"connection_id":157848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:46:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509983488001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787148674000,"timestamp_ms":1787148674000,"timestamp_seconds":1787148674,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5ca3d0"} 
[2026-08-19 19:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509983488001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509983488001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:46:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:46:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509983488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":157848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:46:14] local.INFO: GPS data processed {"connection_id":157848,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:46:14] local.INFO: Acknowledgment sent {"connection_id":157848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:46:14] local.INFO: TCP Data received {"connection_id":157847,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:46:14] local.INFO: Processing buffer {"connection_id":157847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:46:14] local.INFO: Packet analysis {"connection_id":157847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:46:14] local.INFO: Extracted packet for processing {"connection_id":157847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:46:14] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510034688001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:46:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787148874000,"timestamp_ms":1787148874000,"timestamp_seconds":1787148874,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5fb110"} 
[2026-08-19 19:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510034688001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510034688001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:46:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:46:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510034688001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":157847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:46:14] local.INFO: GPS data processed {"connection_id":157847,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:46:14] local.INFO: Acknowledgment sent {"connection_id":157847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:46:45] local.INFO: TCP Data received {"connection_id":157848,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:46:45] local.INFO: Processing buffer {"connection_id":157848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5ca3d0012d196500071ff128004001462b..."} 
[2026-08-19 19:46:45] local.INFO: Packet analysis {"connection_id":157848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:46:45] local.INFO: Extracted packet for processing {"connection_id":157848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5c"} 
[2026-08-19 19:46:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":64,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457509983488001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787148674000,"timestamp_ms":1787148674000,"timestamp_seconds":1787148674,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5ca3d0"} 
[2026-08-19 19:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457509983488001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457509983488001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:46:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:46:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457509983488001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":157848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:46:45] local.INFO: GPS data processed {"connection_id":157848,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:46:45] local.INFO: Acknowledgment sent {"connection_id":157848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:46:59] local.INFO: TCP Data received {"connection_id":160399,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:46:59] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:46:59] local.INFO: IMEI packet received {"connection_id":160399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":160399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:47:04] local.INFO: TCP Data received {"connection_id":160399,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:47:04] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:47:04] local.INFO: IMEI packet received {"connection_id":160399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":160399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:47:05] local.INFO: TCP Data received {"connection_id":160399,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:47:05] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:47:05] local.INFO: Packet analysis {"connection_id":160399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:47:05] local.INFO: Extracted packet for processing {"connection_id":160399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:47:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510034688001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:47:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787148874000,"timestamp_ms":1787148874000,"timestamp_seconds":1787148874,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5fb110"} 
[2026-08-19 19:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510034688001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510034688001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:47:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:47:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510034688001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":160399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:47:05] local.INFO: GPS data processed {"connection_id":160399,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:47:05] local.INFO: Acknowledgment sent {"connection_id":160399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:47:09] local.INFO: TCP Data received {"connection_id":160399,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:47:09] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:47:09] local.INFO: Packet analysis {"connection_id":160399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:47:09] local.INFO: Extracted packet for processing {"connection_id":160399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:47:09] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510034688001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:47:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787148874000,"timestamp_ms":1787148874000,"timestamp_seconds":1787148874,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5fb110"} 
[2026-08-19 19:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510034688001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510034688001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:47:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:47:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510034688001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":160399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:47:09] local.INFO: GPS data processed {"connection_id":160399,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:47:09] local.INFO: Acknowledgment sent {"connection_id":160399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:47:13] local.INFO: TCP Data received {"connection_id":159067,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:47:13] local.INFO: Processing buffer {"connection_id":159067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:47:13] local.INFO: IMEI packet received {"connection_id":159067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":159067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:47:18] local.INFO: TCP Data received {"connection_id":159067,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:47:18] local.INFO: Processing buffer {"connection_id":159067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:47:18] local.INFO: IMEI packet received {"connection_id":159067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":159067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:47:19] local.INFO: TCP Data received {"connection_id":159067,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:47:19] local.INFO: Processing buffer {"connection_id":159067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:47:19] local.INFO: Packet analysis {"connection_id":159067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:47:19] local.INFO: Extracted packet for processing {"connection_id":159067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:47:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510060544001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787148975000,"timestamp_ms":1787148975000,"timestamp_seconds":1787148975,"priority":1,"record_length":96,"hex_timestamp":"000001a01a613b98"} 
[2026-08-19 19:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510060544001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510060544001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:47:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:47:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510060544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":159067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:47:19] local.INFO: GPS data processed {"connection_id":159067,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:47:19] local.INFO: Acknowledgment sent {"connection_id":159067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:47:23] local.INFO: TCP Data received {"connection_id":159067,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:47:23] local.INFO: Processing buffer {"connection_id":159067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:47:23] local.INFO: Packet analysis {"connection_id":159067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:47:23] local.INFO: Extracted packet for processing {"connection_id":159067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510060544001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787148975000,"timestamp_ms":1787148975000,"timestamp_seconds":1787148975,"priority":1,"record_length":96,"hex_timestamp":"000001a01a613b98"} 
[2026-08-19 19:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510060544001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510060544001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:47:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:47:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510060544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":159067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:47:23] local.INFO: GPS data processed {"connection_id":159067,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:47:23] local.INFO: Acknowledgment sent {"connection_id":159067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:47:41] local.INFO: TCP Data received {"connection_id":160399,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:47:41] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:47:41] local.INFO: Packet analysis {"connection_id":160399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:47:41] local.INFO: Extracted packet for processing {"connection_id":160399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:47:41] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510034688001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787148874000,"timestamp_ms":1787148874000,"timestamp_seconds":1787148874,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5fb110"} 
[2026-08-19 19:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510034688001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510034688001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:47:41] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510034688001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":160399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:47:41] local.INFO: GPS data processed {"connection_id":160399,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:47:41] local.INFO: Acknowledgment sent {"connection_id":160399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:47:59] local.INFO: TCP Data received {"connection_id":159068,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:47:59] local.INFO: Processing buffer {"connection_id":159068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:47:59] local.INFO: IMEI packet received {"connection_id":159068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":159068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:48:03] local.INFO: TCP Data received {"connection_id":159068,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:48:03] local.INFO: Processing buffer {"connection_id":159068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:48:03] local.INFO: IMEI packet received {"connection_id":159068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":159068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:48:04] local.INFO: TCP Data received {"connection_id":159068,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:48:04] local.INFO: Processing buffer {"connection_id":159068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:48:04] local.INFO: Packet analysis {"connection_id":159068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:48:04] local.INFO: Extracted packet for processing {"connection_id":159068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:48:04] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510034688001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:48:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787148874000,"timestamp_ms":1787148874000,"timestamp_seconds":1787148874,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5fb110"} 
[2026-08-19 19:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:48: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-08-19 19:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510034688001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510034688001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:48:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:48:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510034688001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":159068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:48:04] local.INFO: GPS data processed {"connection_id":159068,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:48:04] local.INFO: Acknowledgment sent {"connection_id":159068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:48:08] local.INFO: TCP Data received {"connection_id":159069,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:48:08] local.INFO: Processing buffer {"connection_id":159069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:48:08] local.INFO: IMEI packet received {"connection_id":159069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":159069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:48:13] local.INFO: TCP Data received {"connection_id":159069,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:48:13] local.INFO: Processing buffer {"connection_id":159069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:48:13] local.INFO: IMEI packet received {"connection_id":159069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":159069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:48:14] local.INFO: TCP Data received {"connection_id":159069,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:48:14] local.INFO: Processing buffer {"connection_id":159069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:48:14] local.INFO: Packet analysis {"connection_id":159069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:48:14] local.INFO: Extracted packet for processing {"connection_id":159069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510060544001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787148975000,"timestamp_ms":1787148975000,"timestamp_seconds":1787148975,"priority":1,"record_length":96,"hex_timestamp":"000001a01a613b98"} 
[2026-08-19 19:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510060544001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510060544001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:48:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:48:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510060544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":159069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:48:14] local.INFO: GPS data processed {"connection_id":159069,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:48:14] local.INFO: Acknowledgment sent {"connection_id":159069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:48:36] local.INFO: TCP Data received {"connection_id":159068,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:48:36] local.INFO: Processing buffer {"connection_id":159068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:48:36] local.INFO: Packet analysis {"connection_id":159068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:48:36] local.INFO: Extracted packet for processing {"connection_id":159068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:48:36] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510034688001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:48:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787148874000,"timestamp_ms":1787148874000,"timestamp_seconds":1787148874,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5fb110"} 
[2026-08-19 19:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510034688001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510034688001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:48:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:48:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510034688001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":159068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:48:36] local.INFO: GPS data processed {"connection_id":159068,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:48:36] local.INFO: Acknowledgment sent {"connection_id":159068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:48:45] local.INFO: TCP Data received {"connection_id":159069,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:48:45] local.INFO: Processing buffer {"connection_id":159069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:48:45] local.INFO: Packet analysis {"connection_id":159069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:48:45] local.INFO: Extracted packet for processing {"connection_id":159069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510060544001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787148975000,"timestamp_ms":1787148975000,"timestamp_seconds":1787148975,"priority":1,"record_length":96,"hex_timestamp":"000001a01a613b98"} 
[2026-08-19 19:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510060544001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510060544001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:48:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510060544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":159069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:48:45] local.INFO: GPS data processed {"connection_id":159069,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:48:45] local.INFO: Acknowledgment sent {"connection_id":159069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:48:58] local.INFO: TCP Data received {"connection_id":160400,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:48:58] local.INFO: Processing buffer {"connection_id":160400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:48:58] local.INFO: IMEI packet received {"connection_id":160400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":160400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:49:04] local.INFO: TCP Data received {"connection_id":160400,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:49:04] local.INFO: Processing buffer {"connection_id":160400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:49:04] local.INFO: IMEI packet received {"connection_id":160400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":160400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:49:05] local.INFO: TCP Data received {"connection_id":160400,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:49:05] local.INFO: Processing buffer {"connection_id":160400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:49:05] local.INFO: Packet analysis {"connection_id":160400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:49:05] local.INFO: Extracted packet for processing {"connection_id":160400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:49:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510034688001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:49:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787148874000,"timestamp_ms":1787148874000,"timestamp_seconds":1787148874,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5fb110"} 
[2026-08-19 19:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510034688001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510034688001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:49:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:49:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510034688001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":160400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:49:05] local.INFO: GPS data processed {"connection_id":160400,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:49:05] local.INFO: Acknowledgment sent {"connection_id":160400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:49:08] local.INFO: TCP Data received {"connection_id":158213,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:49:08] local.INFO: Processing buffer {"connection_id":158213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:49:08] local.INFO: IMEI packet received {"connection_id":158213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":158213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:49:13] local.INFO: TCP Data received {"connection_id":158213,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:49:13] local.INFO: Processing buffer {"connection_id":158213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:49:13] local.INFO: IMEI packet received {"connection_id":158213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":158213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:49:14] local.INFO: TCP Data received {"connection_id":158213,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:49:14] local.INFO: Processing buffer {"connection_id":158213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:49:14] local.INFO: Packet analysis {"connection_id":158213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:49:14] local.INFO: Extracted packet for processing {"connection_id":158213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:49:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510060544001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787148975000,"timestamp_ms":1787148975000,"timestamp_seconds":1787148975,"priority":1,"record_length":96,"hex_timestamp":"000001a01a613b98"} 
[2026-08-19 19:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510060544001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510060544001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:49:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:49:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510060544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":158213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:49:14] local.INFO: GPS data processed {"connection_id":158213,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:49:14] local.INFO: Acknowledgment sent {"connection_id":158213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:49:21] local.INFO: TCP Data received {"connection_id":158214,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:49:21] local.INFO: Processing buffer {"connection_id":158214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-19 19:49:21] local.INFO: IMEI packet received {"connection_id":158214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-19 19:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":158214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:49:37] local.INFO: TCP Data received {"connection_id":160400,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:49:37] local.INFO: Processing buffer {"connection_id":160400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:49:37] local.INFO: Packet analysis {"connection_id":160400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:49:37] local.INFO: Extracted packet for processing {"connection_id":160400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:49:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510034688001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:49:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787148874000,"timestamp_ms":1787148874000,"timestamp_seconds":1787148874,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5fb110"} 
[2026-08-19 19:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510034688001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510034688001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:49:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:49:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510034688001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":160400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:49:37] local.INFO: GPS data processed {"connection_id":160400,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:49:37] local.INFO: Acknowledgment sent {"connection_id":160400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:49:45] local.INFO: TCP Data received {"connection_id":158213,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:49:45] local.INFO: Processing buffer {"connection_id":158213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:49:45] local.INFO: Packet analysis {"connection_id":158213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:49:45] local.INFO: Extracted packet for processing {"connection_id":158213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510060544001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787148975000,"timestamp_ms":1787148975000,"timestamp_seconds":1787148975,"priority":1,"record_length":96,"hex_timestamp":"000001a01a613b98"} 
[2026-08-19 19:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510060544001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510060544001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:49:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:49:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510060544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":158213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:49:45] local.INFO: GPS data processed {"connection_id":158213,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:49:45] local.INFO: Acknowledgment sent {"connection_id":158213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:49:58] local.INFO: TCP Data received {"connection_id":157849,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:49:58] local.INFO: Processing buffer {"connection_id":157849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:49:58] local.INFO: IMEI packet received {"connection_id":157849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":157849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:50:04] local.INFO: TCP Data received {"connection_id":157849,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:50:04] local.INFO: Processing buffer {"connection_id":157849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:50:04] local.INFO: IMEI packet received {"connection_id":157849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":157849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:50:05] local.INFO: TCP Data received {"connection_id":157849,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:50:05] local.INFO: Processing buffer {"connection_id":157849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a5fb110012ceb0780071a3b28002901322c..."} 
[2026-08-19 19:50:05] local.INFO: Packet analysis {"connection_id":157849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:50:05] local.INFO: Extracted packet for processing {"connection_id":157849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a5f"} 
[2026-08-19 19:50:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510034688001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:50:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787148874000,"timestamp_ms":1787148874000,"timestamp_seconds":1787148874,"priority":1,"record_length":96,"hex_timestamp":"000001a01a5fb110"} 
[2026-08-19 19:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510034688001,"66":25647,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510034688001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:50:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:50:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510034688001,"power":25647,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":157849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:50:05] local.INFO: GPS data processed {"connection_id":157849,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:50:05] local.INFO: Acknowledgment sent {"connection_id":157849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:50:08] local.INFO: TCP Data received {"connection_id":157850,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:50:08] local.INFO: Processing buffer {"connection_id":157850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:50:08] local.INFO: IMEI packet received {"connection_id":157850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":157850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:50:13] local.INFO: TCP Data received {"connection_id":157850,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:50:13] local.INFO: Processing buffer {"connection_id":157850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:50:13] local.INFO: IMEI packet received {"connection_id":157850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":157850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:50:14] local.INFO: TCP Data received {"connection_id":157850,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:50:14] local.INFO: Processing buffer {"connection_id":157850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:50:14] local.INFO: Packet analysis {"connection_id":157850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:50:14] local.INFO: Extracted packet for processing {"connection_id":157850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:50:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:50: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-08-19 19:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510060544001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787148975000,"timestamp_ms":1787148975000,"timestamp_seconds":1787148975,"priority":1,"record_length":96,"hex_timestamp":"000001a01a613b98"} 
[2026-08-19 19:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:50: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":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:50: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-08-19 19:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510060544001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510060544001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:50:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:50:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510060544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":157850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:50:14] local.INFO: GPS data processed {"connection_id":157850,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:50:14] local.INFO: Acknowledgment sent {"connection_id":157850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:50:37] local.INFO: TCP Data received {"connection_id":157849,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:50:37] local.INFO: Processing buffer {"connection_id":157849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:50:37] local.INFO: Packet analysis {"connection_id":157849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:50:37] local.INFO: Extracted packet for processing {"connection_id":157849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:50:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510111744001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:50:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787149175000,"timestamp_ms":1787149175000,"timestamp_seconds":1787149175,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6448d8"} 
[2026-08-19 19:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510111744001,"66":25615,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510111744001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:50:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:50:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510111744001,"power":25615,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":157849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:50:37] local.INFO: GPS data processed {"connection_id":157849,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:50:37] local.INFO: Acknowledgment sent {"connection_id":157849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:50:45] local.INFO: TCP Data received {"connection_id":157850,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:50:45] local.INFO: Processing buffer {"connection_id":157850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:50:45] local.INFO: Packet analysis {"connection_id":157850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:50:45] local.INFO: Extracted packet for processing {"connection_id":157850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:50:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510060544001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787148975000,"timestamp_ms":1787148975000,"timestamp_seconds":1787148975,"priority":1,"record_length":96,"hex_timestamp":"000001a01a613b98"} 
[2026-08-19 19:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510060544001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510060544001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:50:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:50:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510060544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":157850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:50:45] local.INFO: GPS data processed {"connection_id":157850,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:50:45] local.INFO: Acknowledgment sent {"connection_id":157850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:50:59] local.INFO: TCP Data received {"connection_id":159070,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:50:59] local.INFO: Processing buffer {"connection_id":159070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:50:59] local.INFO: IMEI packet received {"connection_id":159070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":159070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:51:04] local.INFO: TCP Data received {"connection_id":159070,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:51:04] local.INFO: Processing buffer {"connection_id":159070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:51:04] local.INFO: IMEI packet received {"connection_id":159070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":159070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:51:05] local.INFO: TCP Data received {"connection_id":159070,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:51:05] local.INFO: Processing buffer {"connection_id":159070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:51:05] local.INFO: Packet analysis {"connection_id":159070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:51:05] local.INFO: Extracted packet for processing {"connection_id":159070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:51:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510111744001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:51:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787149175000,"timestamp_ms":1787149175000,"timestamp_seconds":1787149175,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6448d8"} 
[2026-08-19 19:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:51: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-08-19 19: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510111744001,"66":25615,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510111744001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:51:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:51:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510111744001,"power":25615,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":159070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:51:05] local.INFO: GPS data processed {"connection_id":159070,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:51:05] local.INFO: Acknowledgment sent {"connection_id":159070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:51:07] local.INFO: TCP Data received {"connection_id":158215,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:51:07] local.INFO: Processing buffer {"connection_id":158215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:51:07] local.INFO: IMEI packet received {"connection_id":158215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":158215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:51:13] local.INFO: TCP Data received {"connection_id":158215,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:51:13] local.INFO: Processing buffer {"connection_id":158215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:51:13] local.INFO: IMEI packet received {"connection_id":158215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":158215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:51:14] local.INFO: TCP Data received {"connection_id":158215,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:51:14] local.INFO: Processing buffer {"connection_id":158215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:51:14] local.INFO: Packet analysis {"connection_id":158215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:51:14] local.INFO: Extracted packet for processing {"connection_id":158215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:51:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510060544001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787148975000,"timestamp_ms":1787148975000,"timestamp_seconds":1787148975,"priority":1,"record_length":96,"hex_timestamp":"000001a01a613b98"} 
[2026-08-19 19:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510060544001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510060544001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:51:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510060544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":158215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:51:14] local.INFO: GPS data processed {"connection_id":158215,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:51:14] local.INFO: Acknowledgment sent {"connection_id":158215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:51:37] local.INFO: TCP Data received {"connection_id":159070,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:51:37] local.INFO: Processing buffer {"connection_id":159070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:51:37] local.INFO: Packet analysis {"connection_id":159070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:51:37] local.INFO: Extracted packet for processing {"connection_id":159070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510111744001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:51:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787149175000,"timestamp_ms":1787149175000,"timestamp_seconds":1787149175,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6448d8"} 
[2026-08-19 19:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510111744001,"66":25615,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510111744001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:51:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:51:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510111744001,"power":25615,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":159070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:51:37] local.INFO: GPS data processed {"connection_id":159070,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:51:37] local.INFO: Acknowledgment sent {"connection_id":159070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:51:45] local.INFO: TCP Data received {"connection_id":158215,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:51:45] local.INFO: Processing buffer {"connection_id":158215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a613b98012d196500071ff128004a01462d..."} 
[2026-08-19 19:51:45] local.INFO: Packet analysis {"connection_id":158215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:51:45] local.INFO: Extracted packet for processing {"connection_id":158215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a61"} 
[2026-08-19 19:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510060544001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787148975000,"timestamp_ms":1787148975000,"timestamp_seconds":1787148975,"priority":1,"record_length":96,"hex_timestamp":"000001a01a613b98"} 
[2026-08-19 19:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510060544001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510060544001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:51:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510060544001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":158215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:51:45] local.INFO: GPS data processed {"connection_id":158215,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:51:45] local.INFO: Acknowledgment sent {"connection_id":158215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:51:59] local.INFO: TCP Data received {"connection_id":160401,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:51:59] local.INFO: Processing buffer {"connection_id":160401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:51:59] local.INFO: IMEI packet received {"connection_id":160401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":160401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:52:04] local.INFO: TCP Data received {"connection_id":160401,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:52:04] local.INFO: Processing buffer {"connection_id":160401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:52:04] local.INFO: IMEI packet received {"connection_id":160401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":160401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:52:05] local.INFO: TCP Data received {"connection_id":160401,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:52:05] local.INFO: Processing buffer {"connection_id":160401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:52:05] local.INFO: Packet analysis {"connection_id":160401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:52:05] local.INFO: Extracted packet for processing {"connection_id":160401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:52:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510111744001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:52:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787149175000,"timestamp_ms":1787149175000,"timestamp_seconds":1787149175,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6448d8"} 
[2026-08-19 19:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:52: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-08-19 19:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510111744001,"66":25615,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510111744001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:52:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:52:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510111744001,"power":25615,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":160401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:52:05] local.INFO: GPS data processed {"connection_id":160401,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:52:05] local.INFO: Acknowledgment sent {"connection_id":160401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:52:13] local.INFO: TCP Data received {"connection_id":159071,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:52:13] local.INFO: Processing buffer {"connection_id":159071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:52:13] local.INFO: IMEI packet received {"connection_id":159071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":159071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:52:18] local.INFO: TCP Data received {"connection_id":159071,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:52:18] local.INFO: Processing buffer {"connection_id":159071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:52:18] local.INFO: IMEI packet received {"connection_id":159071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":159071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:52:19] local.INFO: TCP Data received {"connection_id":159071,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:52:19] local.INFO: Processing buffer {"connection_id":159071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:52:19] local.INFO: Packet analysis {"connection_id":159071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:52:19] local.INFO: Extracted packet for processing {"connection_id":159071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:52:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510137600001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787149276000,"timestamp_ms":1787149276000,"timestamp_seconds":1787149276,"priority":1,"record_length":96,"hex_timestamp":"000001a01a65d360"} 
[2026-08-19 19:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:52:19] 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-08-19 19:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510137600001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510137600001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:52:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:52:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510137600001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":159071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:52:19] local.INFO: GPS data processed {"connection_id":159071,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:52:19] local.INFO: Acknowledgment sent {"connection_id":159071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:52:23] local.INFO: TCP Data received {"connection_id":159071,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:52:23] local.INFO: Processing buffer {"connection_id":159071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:52:23] local.INFO: Packet analysis {"connection_id":159071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:52:23] local.INFO: Extracted packet for processing {"connection_id":159071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:52:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510137600001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787149276000,"timestamp_ms":1787149276000,"timestamp_seconds":1787149276,"priority":1,"record_length":96,"hex_timestamp":"000001a01a65d360"} 
[2026-08-19 19:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:52:23] 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-08-19 19:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510137600001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510137600001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:52:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:52:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510137600001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":159071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:52:23] local.INFO: GPS data processed {"connection_id":159071,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:52:23] local.INFO: Acknowledgment sent {"connection_id":159071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:52:36] local.INFO: TCP Data received {"connection_id":160401,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:52:36] local.INFO: Processing buffer {"connection_id":160401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:52:36] local.INFO: Packet analysis {"connection_id":160401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:52:36] local.INFO: Extracted packet for processing {"connection_id":160401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:52:36] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510111744001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:52:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787149175000,"timestamp_ms":1787149175000,"timestamp_seconds":1787149175,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6448d8"} 
[2026-08-19 19:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510111744001,"66":25615,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510111744001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:52:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:52:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510111744001,"power":25615,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":160401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:52:37] local.INFO: GPS data processed {"connection_id":160401,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:52:37] local.INFO: Acknowledgment sent {"connection_id":160401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:52:58] local.INFO: TCP Data received {"connection_id":159072,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:52:58] local.INFO: Processing buffer {"connection_id":159072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:52:58] local.INFO: IMEI packet received {"connection_id":159072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":159072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:53:04] local.INFO: TCP Data received {"connection_id":159072,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:53:04] local.INFO: Processing buffer {"connection_id":159072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:53:04] local.INFO: IMEI packet received {"connection_id":159072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":159072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:53:05] local.INFO: TCP Data received {"connection_id":159072,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:53:05] local.INFO: Processing buffer {"connection_id":159072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:53:05] local.INFO: Packet analysis {"connection_id":159072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:53:05] local.INFO: Extracted packet for processing {"connection_id":159072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:53:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510111744001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:53:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787149175000,"timestamp_ms":1787149175000,"timestamp_seconds":1787149175,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6448d8"} 
[2026-08-19 19:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:53: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-08-19 19:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510111744001,"66":25615,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510111744001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:53:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:53:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510111744001,"power":25615,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":159072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:53:05] local.INFO: GPS data processed {"connection_id":159072,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:53:05] local.INFO: Acknowledgment sent {"connection_id":159072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:53:08] local.INFO: TCP Data received {"connection_id":159073,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:53:08] local.INFO: Processing buffer {"connection_id":159073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:53:08] local.INFO: IMEI packet received {"connection_id":159073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":159073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:53:13] local.INFO: TCP Data received {"connection_id":159073,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:53:13] local.INFO: Processing buffer {"connection_id":159073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:53:13] local.INFO: IMEI packet received {"connection_id":159073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":159073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:53:14] local.INFO: TCP Data received {"connection_id":159073,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:53:14] local.INFO: Processing buffer {"connection_id":159073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:53:14] local.INFO: Packet analysis {"connection_id":159073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:53:14] local.INFO: Extracted packet for processing {"connection_id":159073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:53:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510137600001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787149276000,"timestamp_ms":1787149276000,"timestamp_seconds":1787149276,"priority":1,"record_length":96,"hex_timestamp":"000001a01a65d360"} 
[2026-08-19 19:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:53:14] 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-08-19 19:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510137600001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510137600001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:53:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:53:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510137600001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":159073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:53:14] local.INFO: GPS data processed {"connection_id":159073,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:53:14] local.INFO: Acknowledgment sent {"connection_id":159073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:53:37] local.INFO: TCP Data received {"connection_id":159072,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:53:37] local.INFO: Processing buffer {"connection_id":159072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:53:37] local.INFO: Packet analysis {"connection_id":159072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:53:37] local.INFO: Extracted packet for processing {"connection_id":159072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510111744001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:53:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787149175000,"timestamp_ms":1787149175000,"timestamp_seconds":1787149175,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6448d8"} 
[2026-08-19 19:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510111744001,"66":25615,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510111744001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:53:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:53:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510111744001,"power":25615,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":159072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:53:37] local.INFO: GPS data processed {"connection_id":159072,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:53:37] local.INFO: Acknowledgment sent {"connection_id":159072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:53:45] local.INFO: TCP Data received {"connection_id":159073,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:53:45] local.INFO: Processing buffer {"connection_id":159073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:53:45] local.INFO: Packet analysis {"connection_id":159073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:53:45] local.INFO: Extracted packet for processing {"connection_id":159073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:53:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510137600001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787149276000,"timestamp_ms":1787149276000,"timestamp_seconds":1787149276,"priority":1,"record_length":96,"hex_timestamp":"000001a01a65d360"} 
[2026-08-19 19:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:53:45] 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-08-19 19:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510137600001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510137600001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:53:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:53:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510137600001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":159073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:53:45] local.INFO: GPS data processed {"connection_id":159073,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:53:45] local.INFO: Acknowledgment sent {"connection_id":159073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:54:04] local.INFO: TCP Data received {"connection_id":159074,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:54:04] local.INFO: Processing buffer {"connection_id":159074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:54:04] local.INFO: IMEI packet received {"connection_id":159074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":159074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:54:08] local.INFO: TCP Data received {"connection_id":160402,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:54:08] local.INFO: Processing buffer {"connection_id":160402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:54:08] local.INFO: IMEI packet received {"connection_id":160402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":160402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:54:08] local.INFO: TCP Data received {"connection_id":159074,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:54:08] local.INFO: Processing buffer {"connection_id":159074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:54:08] local.INFO: IMEI packet received {"connection_id":159074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":159074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:54:12] local.INFO: TCP Data received {"connection_id":159074,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:54:12] local.INFO: Processing buffer {"connection_id":159074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:54:12] local.INFO: Packet analysis {"connection_id":159074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:54:12] local.INFO: Extracted packet for processing {"connection_id":159074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:54:12] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510111744001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787149175000,"timestamp_ms":1787149175000,"timestamp_seconds":1787149175,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6448d8"} 
[2026-08-19 19:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:54:12] 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-08-19 19:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510111744001,"66":25615,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510111744001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:54:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510111744001,"power":25615,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":159074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:54:12] local.INFO: GPS data processed {"connection_id":159074,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:54:12] local.INFO: Acknowledgment sent {"connection_id":159074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:54:13] local.INFO: TCP Data received {"connection_id":160402,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:54:13] local.INFO: Processing buffer {"connection_id":160402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:54:13] local.INFO: IMEI packet received {"connection_id":160402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":160402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:54:14] local.INFO: TCP Data received {"connection_id":159074,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:54:14] local.INFO: Processing buffer {"connection_id":159074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:54:14] local.INFO: Packet analysis {"connection_id":159074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:54:14] local.INFO: Extracted packet for processing {"connection_id":159074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:54:14] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510111744001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:54:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787149175000,"timestamp_ms":1787149175000,"timestamp_seconds":1787149175,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6448d8"} 
[2026-08-19 19:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:54:14] 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-08-19 19: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510111744001,"66":25615,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510111744001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:54:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:54:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510111744001,"power":25615,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":159074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:54:14] local.INFO: GPS data processed {"connection_id":159074,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:54:14] local.INFO: Acknowledgment sent {"connection_id":159074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:54:14] local.INFO: TCP Data received {"connection_id":160402,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:54:14] local.INFO: Processing buffer {"connection_id":160402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:54:14] local.INFO: Packet analysis {"connection_id":160402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:54:14] local.INFO: Extracted packet for processing {"connection_id":160402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:54:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510137600001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787149276000,"timestamp_ms":1787149276000,"timestamp_seconds":1787149276,"priority":1,"record_length":96,"hex_timestamp":"000001a01a65d360"} 
[2026-08-19 19:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:54:14] 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-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510137600001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510137600001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:54:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:54:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510137600001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":160402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:54:14] local.INFO: GPS data processed {"connection_id":160402,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:54:14] local.INFO: Acknowledgment sent {"connection_id":160402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:54:45] local.INFO: TCP Data received {"connection_id":160402,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:54:45] local.INFO: Processing buffer {"connection_id":160402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:54:45] local.INFO: Packet analysis {"connection_id":160402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:54:45] local.INFO: Extracted packet for processing {"connection_id":160402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510137600001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787149276000,"timestamp_ms":1787149276000,"timestamp_seconds":1787149276,"priority":1,"record_length":96,"hex_timestamp":"000001a01a65d360"} 
[2026-08-19 19:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:54:45] 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-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510137600001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510137600001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:54:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:54:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510137600001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":160402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:54:45] local.INFO: GPS data processed {"connection_id":160402,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:54:45] local.INFO: Acknowledgment sent {"connection_id":160402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:54:59] local.INFO: TCP Data received {"connection_id":157851,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:54:59] local.INFO: Processing buffer {"connection_id":157851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:54:59] local.INFO: IMEI packet received {"connection_id":157851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":157851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:55:04] local.INFO: TCP Data received {"connection_id":157851,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:55:04] local.INFO: Processing buffer {"connection_id":157851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:55:04] local.INFO: IMEI packet received {"connection_id":157851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":157851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:55:05] local.INFO: TCP Data received {"connection_id":157851,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:55:05] local.INFO: Processing buffer {"connection_id":157851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6448d8012ceb0780071a3b28002901322b..."} 
[2026-08-19 19:55:05] local.INFO: Packet analysis {"connection_id":157851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:55:05] local.INFO: Extracted packet for processing {"connection_id":157851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a64"} 
[2026-08-19 19:55:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":41,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510111744001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:55:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787149175000,"timestamp_ms":1787149175000,"timestamp_seconds":1787149175,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6448d8"} 
[2026-08-19 19:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:55: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-08-19 19:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-19 19:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510111744001,"66":25615,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510111744001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:55:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:55:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510111744001,"power":25615,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":157851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:55:05] local.INFO: GPS data processed {"connection_id":157851,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:55:05] local.INFO: Acknowledgment sent {"connection_id":157851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:55:07] local.INFO: TCP Data received {"connection_id":158216,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:55:07] local.INFO: Processing buffer {"connection_id":158216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:55:07] local.INFO: IMEI packet received {"connection_id":158216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":158216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:55:13] local.INFO: TCP Data received {"connection_id":158216,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:55:13] local.INFO: Processing buffer {"connection_id":158216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:55:13] local.INFO: IMEI packet received {"connection_id":158216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":158216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:55:14] local.INFO: TCP Data received {"connection_id":158216,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:55:14] local.INFO: Processing buffer {"connection_id":158216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:55:14] local.INFO: Packet analysis {"connection_id":158216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:55:14] local.INFO: Extracted packet for processing {"connection_id":158216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:55:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:55: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-08-19 19:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510137600001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787149276000,"timestamp_ms":1787149276000,"timestamp_seconds":1787149276,"priority":1,"record_length":96,"hex_timestamp":"000001a01a65d360"} 
[2026-08-19 19:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:55:14] 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-08-19 19:55: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":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:55: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-08-19 19:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510137600001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510137600001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:55:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:55:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510137600001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":158216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:55:14] local.INFO: GPS data processed {"connection_id":158216,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:55:14] local.INFO: Acknowledgment sent {"connection_id":158216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:55:36] local.INFO: TCP Data received {"connection_id":157851,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:55:36] local.INFO: Processing buffer {"connection_id":157851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:55:36] local.INFO: Packet analysis {"connection_id":157851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a68"} 
[2026-08-19 19:55:36] local.INFO: Extracted packet for processing {"connection_id":157851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a68"} 
[2026-08-19 19:55:36] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":57,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510188800001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:55:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787149476000,"timestamp_ms":1787149476000,"timestamp_seconds":1787149476,"priority":1,"record_length":96,"hex_timestamp":"000001a01a68e0a0"} 
[2026-08-19 19:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 19:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510188800001,"66":25604,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510188800001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:55:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:55:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510188800001,"power":25604,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":157851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:55:36] local.INFO: GPS data processed {"connection_id":157851,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:55:36] local.INFO: Acknowledgment sent {"connection_id":157851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:55:45] local.INFO: TCP Data received {"connection_id":158216,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:55:45] local.INFO: Processing buffer {"connection_id":158216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:55:45] local.INFO: Packet analysis {"connection_id":158216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:55:45] local.INFO: Extracted packet for processing {"connection_id":158216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:55:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510137600001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787149276000,"timestamp_ms":1787149276000,"timestamp_seconds":1787149276,"priority":1,"record_length":96,"hex_timestamp":"000001a01a65d360"} 
[2026-08-19 19:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:55:45] 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-08-19 19:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510137600001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510137600001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:55:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:55:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510137600001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":158216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:55:45] local.INFO: GPS data processed {"connection_id":158216,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:55:45] local.INFO: Acknowledgment sent {"connection_id":158216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:55:58] local.INFO: TCP Data received {"connection_id":158217,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:55:58] local.INFO: Processing buffer {"connection_id":158217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:55:58] local.INFO: IMEI packet received {"connection_id":158217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":158217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:56:04] local.INFO: TCP Data received {"connection_id":158217,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:56:04] local.INFO: Processing buffer {"connection_id":158217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:56:04] local.INFO: IMEI packet received {"connection_id":158217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":158217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:56:05] local.INFO: TCP Data received {"connection_id":158217,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:56:05] local.INFO: Processing buffer {"connection_id":158217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:56:05] local.INFO: Packet analysis {"connection_id":158217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a68"} 
[2026-08-19 19:56:05] local.INFO: Extracted packet for processing {"connection_id":158217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a68"} 
[2026-08-19 19:56:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":57,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510188800001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:56:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787149476000,"timestamp_ms":1787149476000,"timestamp_seconds":1787149476,"priority":1,"record_length":96,"hex_timestamp":"000001a01a68e0a0"} 
[2026-08-19 19:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:56: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-08-19 19:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 19:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510188800001,"66":25604,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510188800001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:56:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:56:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510188800001,"power":25604,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":158217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:56:05] local.INFO: GPS data processed {"connection_id":158217,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:56:05] local.INFO: Acknowledgment sent {"connection_id":158217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:56:07] local.INFO: TCP Data received {"connection_id":157852,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:56:07] local.INFO: Processing buffer {"connection_id":157852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:56:07] local.INFO: IMEI packet received {"connection_id":157852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":157852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:56:13] local.INFO: TCP Data received {"connection_id":157852,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:56:13] local.INFO: Processing buffer {"connection_id":157852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:56:13] local.INFO: IMEI packet received {"connection_id":157852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":157852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:56:14] local.INFO: TCP Data received {"connection_id":157852,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:56:14] local.INFO: Processing buffer {"connection_id":157852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:56:14] local.INFO: Packet analysis {"connection_id":157852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:56:14] local.INFO: Extracted packet for processing {"connection_id":157852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:56:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510137600001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787149276000,"timestamp_ms":1787149276000,"timestamp_seconds":1787149276,"priority":1,"record_length":96,"hex_timestamp":"000001a01a65d360"} 
[2026-08-19 19:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:56:14] 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-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:56:14] 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-08-19 19:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510137600001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510137600001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:56:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:56:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510137600001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":157852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:56:14] local.INFO: GPS data processed {"connection_id":157852,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:56:14] local.INFO: Acknowledgment sent {"connection_id":157852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:56:37] local.INFO: TCP Data received {"connection_id":158217,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:56:37] local.INFO: Processing buffer {"connection_id":158217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:56:37] local.INFO: Packet analysis {"connection_id":158217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a68"} 
[2026-08-19 19:56:37] local.INFO: Extracted packet for processing {"connection_id":158217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a68"} 
[2026-08-19 19:56:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":57,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510188800001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:56:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787149476000,"timestamp_ms":1787149476000,"timestamp_seconds":1787149476,"priority":1,"record_length":96,"hex_timestamp":"000001a01a68e0a0"} 
[2026-08-19 19:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 19:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510188800001,"66":25604,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510188800001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:56:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:56:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510188800001,"power":25604,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":158217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:56:37] local.INFO: GPS data processed {"connection_id":158217,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:56:37] local.INFO: Acknowledgment sent {"connection_id":158217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:56:45] local.INFO: TCP Data received {"connection_id":157852,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:56:45] local.INFO: Processing buffer {"connection_id":157852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a65d360012d196500071ff128004a01462c..."} 
[2026-08-19 19:56:45] local.INFO: Packet analysis {"connection_id":157852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:56:45] local.INFO: Extracted packet for processing {"connection_id":157852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a65"} 
[2026-08-19 19:56:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":74,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510137600001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787149276000,"timestamp_ms":1787149276000,"timestamp_seconds":1787149276,"priority":1,"record_length":96,"hex_timestamp":"000001a01a65d360"} 
[2026-08-19 19:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:56:45] 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-08-19 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 19:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:56:45] 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-08-19 19:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510137600001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510137600001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:56:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:56:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510137600001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":157852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:56:45] local.INFO: GPS data processed {"connection_id":157852,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:56:45] local.INFO: Acknowledgment sent {"connection_id":157852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:56:58] local.INFO: TCP Data received {"connection_id":158218,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:56:58] local.INFO: Processing buffer {"connection_id":158218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:56:58] local.INFO: IMEI packet received {"connection_id":158218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":158218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:57:04] local.INFO: TCP Data received {"connection_id":158218,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:57:04] local.INFO: Processing buffer {"connection_id":158218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:57:04] local.INFO: IMEI packet received {"connection_id":158218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":158218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:57:05] local.INFO: TCP Data received {"connection_id":158218,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:57:05] local.INFO: Processing buffer {"connection_id":158218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:57:05] local.INFO: Packet analysis {"connection_id":158218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a68"} 
[2026-08-19 19:57:05] local.INFO: Extracted packet for processing {"connection_id":158218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a68"} 
[2026-08-19 19:57:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":57,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510188800001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:57:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787149476000,"timestamp_ms":1787149476000,"timestamp_seconds":1787149476,"priority":1,"record_length":96,"hex_timestamp":"000001a01a68e0a0"} 
[2026-08-19 19:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:57: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-08-19 19:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 19:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510188800001,"66":25604,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510188800001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:57:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:57:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510188800001,"power":25604,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":158218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:57:05] local.INFO: GPS data processed {"connection_id":158218,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:57:05] local.INFO: Acknowledgment sent {"connection_id":158218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:57:13] local.INFO: TCP Data received {"connection_id":158219,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:57:13] local.INFO: Processing buffer {"connection_id":158219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:57:13] local.INFO: IMEI packet received {"connection_id":158219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":158219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:57:18] local.INFO: TCP Data received {"connection_id":158219,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:57:18] local.INFO: Processing buffer {"connection_id":158219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:57:18] local.INFO: IMEI packet received {"connection_id":158219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":158219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:57:19] local.INFO: TCP Data received {"connection_id":158219,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 19:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 19:57:19] local.INFO: Processing buffer {"connection_id":158219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 19:57:19] local.INFO: Packet analysis {"connection_id":158219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 19:57:19] local.INFO: Extracted packet for processing {"connection_id":158219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 19:57:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510214656001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787149577000,"timestamp_ms":1787149577000,"timestamp_seconds":1787149577,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6a6b28"} 
[2026-08-19 19:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:57:19] 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-08-19 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-19 19:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510214656001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510214656001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:57:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:57:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510214656001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":158219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:57:19] local.INFO: GPS data processed {"connection_id":158219,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:57:19] local.INFO: Acknowledgment sent {"connection_id":158219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:57:23] local.INFO: TCP Data received {"connection_id":158219,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 19:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 19:57:23] local.INFO: Processing buffer {"connection_id":158219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 19:57:23] local.INFO: Packet analysis {"connection_id":158219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 19:57:23] local.INFO: Extracted packet for processing {"connection_id":158219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 19:57:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510214656001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787149577000,"timestamp_ms":1787149577000,"timestamp_seconds":1787149577,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6a6b28"} 
[2026-08-19 19:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:57:23] 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-08-19 19: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-19 19:57:23] 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-08-19 19: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-08-19 19:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510214656001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510214656001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:57:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:57:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510214656001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":158219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:57:23] local.INFO: GPS data processed {"connection_id":158219,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:57:23] local.INFO: Acknowledgment sent {"connection_id":158219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:57:37] local.INFO: TCP Data received {"connection_id":158218,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:57:37] local.INFO: Processing buffer {"connection_id":158218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:57:37] local.INFO: Packet analysis {"connection_id":158218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a68"} 
[2026-08-19 19:57:37] local.INFO: Extracted packet for processing {"connection_id":158218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a68"} 
[2026-08-19 19:57:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":57,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510188800001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:57:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787149476000,"timestamp_ms":1787149476000,"timestamp_seconds":1787149476,"priority":1,"record_length":96,"hex_timestamp":"000001a01a68e0a0"} 
[2026-08-19 19:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 19:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510188800001,"66":25604,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510188800001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:57:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:57:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510188800001,"power":25604,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":158218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:57:37] local.INFO: GPS data processed {"connection_id":158218,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:57:37] local.INFO: Acknowledgment sent {"connection_id":158218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:58:04] local.INFO: TCP Data received {"connection_id":160403,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:58:04] local.INFO: Processing buffer {"connection_id":160403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:58:04] local.INFO: IMEI packet received {"connection_id":160403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":160403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:58:08] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:58:08] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:58:08] local.INFO: IMEI packet received {"connection_id":160404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":160404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:58:08] local.INFO: TCP Data received {"connection_id":160403,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:58:08] local.INFO: Processing buffer {"connection_id":160403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:58:08] local.INFO: IMEI packet received {"connection_id":160403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":160403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:58:09] local.INFO: TCP Data received {"connection_id":160403,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:58:09] local.INFO: Processing buffer {"connection_id":160403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:58:09] local.INFO: Packet analysis {"connection_id":160403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a68"} 
[2026-08-19 19:58:09] local.INFO: Extracted packet for processing {"connection_id":160403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a68"} 
[2026-08-19 19:58:09] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":57,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510188800001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:58:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787149476000,"timestamp_ms":1787149476000,"timestamp_seconds":1787149476,"priority":1,"record_length":96,"hex_timestamp":"000001a01a68e0a0"} 
[2026-08-19 19:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:58:09] 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-08-19 19:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 19:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510188800001,"66":25604,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510188800001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:58:09] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:58:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510188800001,"power":25604,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":160403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:58:09] local.INFO: GPS data processed {"connection_id":160403,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:58:09] local.INFO: Acknowledgment sent {"connection_id":160403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:58:13] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:58:13] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:58:13] local.INFO: IMEI packet received {"connection_id":160404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":160404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:58:14] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 19:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 19:58:14] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 19:58:14] local.INFO: Packet analysis {"connection_id":160404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 19:58:14] local.INFO: Extracted packet for processing {"connection_id":160404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 19:58:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510214656001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787149577000,"timestamp_ms":1787149577000,"timestamp_seconds":1787149577,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6a6b28"} 
[2026-08-19 19:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:58:14] 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-08-19 19: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":129,"data_length":795,"current_offset":136} 
[2026-08-19 19:58:14] 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-08-19 19: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-08-19 19:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510214656001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510214656001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:58:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:58:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510214656001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":160404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:58:14] local.INFO: GPS data processed {"connection_id":160404,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:58:14] local.INFO: Acknowledgment sent {"connection_id":160404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:58:14] local.INFO: TCP Data received {"connection_id":160403,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:58:14] local.INFO: Processing buffer {"connection_id":160403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:58:14] local.INFO: Packet analysis {"connection_id":160403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a68"} 
[2026-08-19 19:58:14] local.INFO: Extracted packet for processing {"connection_id":160403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a68"} 
[2026-08-19 19:58:14] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":57,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510188800001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:58:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787149476000,"timestamp_ms":1787149476000,"timestamp_seconds":1787149476,"priority":1,"record_length":96,"hex_timestamp":"000001a01a68e0a0"} 
[2026-08-19 19:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:58:14] 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-08-19 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 19:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19: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-08-19 19:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510188800001,"66":25604,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510188800001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:58:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:58:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510188800001,"power":25604,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":160403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:58:14] local.INFO: GPS data processed {"connection_id":160403,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:58:14] local.INFO: Acknowledgment sent {"connection_id":160403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:58:45] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 19:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 19:58:45] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 19:58:45] local.INFO: Packet analysis {"connection_id":160404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 19:58:45] local.INFO: Extracted packet for processing {"connection_id":160404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 19:58:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19: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-08-19 19:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510214656001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787149577000,"timestamp_ms":1787149577000,"timestamp_seconds":1787149577,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6a6b28"} 
[2026-08-19 19:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:58:45] 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-08-19 19: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":129,"data_length":795,"current_offset":136} 
[2026-08-19 19:58:45] 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-08-19 19: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-08-19 19:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510214656001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510214656001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:58:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:58:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510214656001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":160404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:58:45] local.INFO: GPS data processed {"connection_id":160404,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:58:45] local.INFO: Acknowledgment sent {"connection_id":160404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:58:59] local.INFO: TCP Data received {"connection_id":157853,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:58:59] local.INFO: Processing buffer {"connection_id":157853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:58:59] local.INFO: IMEI packet received {"connection_id":157853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":157853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:59:04] local.INFO: TCP Data received {"connection_id":157853,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:59:04] local.INFO: Processing buffer {"connection_id":157853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:59:04] local.INFO: IMEI packet received {"connection_id":157853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 19:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":157853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:59:05] local.INFO: TCP Data received {"connection_id":157853,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:59:05] local.INFO: Processing buffer {"connection_id":157853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:59:05] local.INFO: Packet analysis {"connection_id":157853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a68"} 
[2026-08-19 19:59:05] local.INFO: Extracted packet for processing {"connection_id":157853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a68"} 
[2026-08-19 19:59:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":57,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510188800001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:59:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787149476000,"timestamp_ms":1787149476000,"timestamp_seconds":1787149476,"priority":1,"record_length":96,"hex_timestamp":"000001a01a68e0a0"} 
[2026-08-19 19:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:59: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-08-19 19:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 19:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510188800001,"66":25604,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510188800001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:59:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:59:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510188800001,"power":25604,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":157853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:59:05] local.INFO: GPS data processed {"connection_id":157853,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:59:05] local.INFO: Acknowledgment sent {"connection_id":157853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:59:08] local.INFO: TCP Data received {"connection_id":159075,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:59:08] local.INFO: Processing buffer {"connection_id":159075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:59:08] local.INFO: IMEI packet received {"connection_id":159075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 19:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":159075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 19:59:13] local.INFO: TCP Data received {"connection_id":159075,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:59:13] local.INFO: Processing buffer {"connection_id":159075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 19:59:13] local.INFO: IMEI packet received {"connection_id":159075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 19:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":159075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 19:59:13] local.INFO: TCP Data received {"connection_id":159075,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 19:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 19:59:13] local.INFO: Processing buffer {"connection_id":159075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 19:59:13] local.INFO: Packet analysis {"connection_id":159075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 19:59:13] local.INFO: Extracted packet for processing {"connection_id":159075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 19:59:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510214656001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787149577000,"timestamp_ms":1787149577000,"timestamp_seconds":1787149577,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6a6b28"} 
[2026-08-19 19:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:59:13] 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-08-19 19:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-19 19:59: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-08-19 19:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510214656001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510214656001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:59:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:59:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510214656001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":159075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:59:14] local.INFO: GPS data processed {"connection_id":159075,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:59:14] local.INFO: Acknowledgment sent {"connection_id":159075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:59:37] local.INFO: TCP Data received {"connection_id":157853,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:59:37] local.INFO: Processing buffer {"connection_id":157853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a68e0a0012ceb0780071a3b28003901322b..."} 
[2026-08-19 19:59:37] local.INFO: Packet analysis {"connection_id":157853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a68"} 
[2026-08-19 19:59:37] local.INFO: Extracted packet for processing {"connection_id":157853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a68"} 
[2026-08-19 19:59:37] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":57,"angle":306,"satellites":43,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 19:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510188800001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:59:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 19:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787149476000,"timestamp_ms":1787149476000,"timestamp_seconds":1787149476,"priority":1,"record_length":96,"hex_timestamp":"000001a01a68e0a0"} 
[2026-08-19 19:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 19:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-19 19:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 19:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 19:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 19:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 19:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510188800001,"66":25604,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 19:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 19:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 19:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510188800001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:59:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 19:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:59:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 19:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510188800001,"power":25604,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 19:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":157853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:59:37] local.INFO: GPS data processed {"connection_id":157853,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:59:37] local.INFO: Acknowledgment sent {"connection_id":157853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:59:45] local.INFO: TCP Data received {"connection_id":159075,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 19:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 19:59:45] local.INFO: Processing buffer {"connection_id":159075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 19:59:45] local.INFO: Packet analysis {"connection_id":159075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 19:59:45] local.INFO: Extracted packet for processing {"connection_id":159075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 19:59:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 19:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 19:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510214656001,"note":"Value kept but may cause issues"} 
[2026-08-19 19:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 19:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 19:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 19:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787149577000,"timestamp_ms":1787149577000,"timestamp_seconds":1787149577,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6a6b28"} 
[2026-08-19 19:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 19:59:45] 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-08-19 19:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-19 19:59:45] 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-08-19 19:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 19:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 19:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 19:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 19:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 19:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 19:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 19:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 19:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510214656001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 19:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 19:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 19:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510214656001,"description":"Unknown IO ID 0"} 
[2026-08-19 19:59:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 19:59:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 19:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 19:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 19:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510214656001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 19:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":159075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 19:59:45] local.INFO: GPS data processed {"connection_id":159075,"processed":1,"errors":0,"total":1} 
[2026-08-19 19:59:45] local.INFO: Acknowledgment sent {"connection_id":159075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 19:59:58] local.INFO: TCP Data received {"connection_id":158220,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:59:58] local.INFO: Processing buffer {"connection_id":158220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 19:59:58] local.INFO: IMEI packet received {"connection_id":158220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 19:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":158220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:00:04] local.INFO: TCP Data received {"connection_id":158220,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:00:04] local.INFO: Processing buffer {"connection_id":158220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:00:04] local.INFO: IMEI packet received {"connection_id":158220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":158220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:00:05] local.INFO: TCP Data received {"connection_id":158220,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6d4988012ceb0780071a3b28003901322c..."} 
[2026-08-19 20:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6d4988012ceb0780071a3b28003901322c..."} 
[2026-08-19 20:00:05] local.INFO: Processing buffer {"connection_id":158220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6d4988012ceb0780071a3b28003901322c..."} 
[2026-08-19 20:00:05] local.INFO: Packet analysis {"connection_id":158220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6d"} 
[2026-08-19 20:00:05] local.INFO: Extracted packet for processing {"connection_id":158220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6d"} 
[2026-08-19 20:00:05] local.INFO: GPS Element Parsed {"raw_longitude":753600384,"raw_latitude":119159592,"longitude_deg":75.3600384,"latitude_deg":11.9159592,"altitude":57,"angle":306,"satellites":44,"speed":0,"hex_longitude":"2ceb0780","hex_latitude":"071a3b28","is_valid_coordinates":true} 
[2026-08-19 20:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510265856001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052229162860544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:00:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 20:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787149765000,"timestamp_ms":1787149765000,"timestamp_seconds":1787149765,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6d4988"} 
[2026-08-19 20:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:00: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-08-19 20:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 20:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510265856001,"66":25582,"8":206,"2":54272,"24":0,"16":386052229162860544,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 20:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510265856001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:00:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 20:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052229162860544,"km_value":386052229162860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:00:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 20:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510265856001,"power":25582,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 20:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":158220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:00:05] local.INFO: GPS data processed {"connection_id":158220,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:00:05] local.INFO: Acknowledgment sent {"connection_id":158220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:00:07] local.INFO: TCP Data received {"connection_id":157854,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:00:07] local.INFO: Processing buffer {"connection_id":157854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:00:07] local.INFO: IMEI packet received {"connection_id":157854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":157854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:00:13] local.INFO: TCP Data received {"connection_id":157854,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:00:13] local.INFO: Processing buffer {"connection_id":157854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:00:13] local.INFO: IMEI packet received {"connection_id":157854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":157854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:00:14] local.INFO: TCP Data received {"connection_id":157854,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 20:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 20:00:14] local.INFO: Processing buffer {"connection_id":157854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 20:00:14] local.INFO: Packet analysis {"connection_id":157854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 20:00:14] local.INFO: Extracted packet for processing {"connection_id":157854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 20:00:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510214656001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787149577000,"timestamp_ms":1787149577000,"timestamp_seconds":1787149577,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6a6b28"} 
[2026-08-19 20:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:00:14] 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-08-19 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-19 20:00:14] 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-08-19 20: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-08-19 20:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:00:14] 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-08-19 20:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510214656001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510214656001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:00:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:00:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510214656001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":157854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:00:14] local.INFO: GPS data processed {"connection_id":157854,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:00:14] local.INFO: Acknowledgment sent {"connection_id":157854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:00:36] local.INFO: TCP Data received {"connection_id":158220,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6d60f8012ceb0700071a3a68002c00dc2b..."} 
[2026-08-19 20:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6d60f8012ceb0700071a3a68002c00dc2b..."} 
[2026-08-19 20:00:36] local.INFO: Processing buffer {"connection_id":158220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6d60f8012ceb0700071a3a68002c00dc2b..."} 
[2026-08-19 20:00:36] local.INFO: Packet analysis {"connection_id":158220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6d"} 
[2026-08-19 20:00:36] local.INFO: Extracted packet for processing {"connection_id":158220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6d"} 
[2026-08-19 20:00:36] local.INFO: GPS Element Parsed {"raw_longitude":753600256,"raw_latitude":119159400,"longitude_deg":75.3600256,"latitude_deg":11.91594,"altitude":44,"angle":220,"satellites":43,"speed":0,"hex_longitude":"2ceb0700","hex_latitude":"071a3a68","is_valid_coordinates":true} 
[2026-08-19 20:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510339840001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052272112533504,"note":"Value kept but may cause issues"} 
[2026-08-19 20:00:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511098381966301184,"note":"Value kept but may cause issues"} 
[2026-08-19 20:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787149771000,"timestamp_ms":1787149771000,"timestamp_seconds":1787149771,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6d60f8"} 
[2026-08-19 20:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:00: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-08-19 20:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-19 20:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510339840001,"66":27745,"8":206,"2":54272,"24":0,"16":386052272112533504,"44":-1511098381966301184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 20:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510339840001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:00:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 20:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052272112533504,"km_value":386052272112533.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:00:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511098381966301184,"description":"Unknown IO ID 44"} 
[2026-08-19 20:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510339840001,"power":27745,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511098381966301184}} 
[2026-08-19 20:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":158220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:00:36] local.INFO: GPS data processed {"connection_id":158220,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:00:36] local.INFO: Acknowledgment sent {"connection_id":158220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:00:45] local.INFO: TCP Data received {"connection_id":157854,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 20:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 20:00:45] local.INFO: Processing buffer {"connection_id":157854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 20:00:45] local.INFO: Packet analysis {"connection_id":157854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 20:00:45] local.INFO: Extracted packet for processing {"connection_id":157854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 20:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510214656001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787149577000,"timestamp_ms":1787149577000,"timestamp_seconds":1787149577,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6a6b28"} 
[2026-08-19 20:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:00:45] 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-08-19 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-19 20:00:45] 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-08-19 20: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-08-19 20:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:00:45] 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-08-19 20:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510214656001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510214656001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:00:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:00:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510214656001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":157854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:00:45] local.INFO: GPS data processed {"connection_id":157854,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:00:45] local.INFO: Acknowledgment sent {"connection_id":157854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:01:04] local.INFO: TCP Data received {"connection_id":159076,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:01:04] local.INFO: Processing buffer {"connection_id":159076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:01:04] local.INFO: IMEI packet received {"connection_id":159076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":159076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:01:09] local.INFO: TCP Data received {"connection_id":159076,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:01:09] local.INFO: Processing buffer {"connection_id":159076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:01:09] local.INFO: IMEI packet received {"connection_id":159076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":159076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:01:10] local.INFO: TCP Data received {"connection_id":159076,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6db300012ceb0680071a3a68002c00dc29..."} 
[2026-08-19 20:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6db300012ceb0680071a3a68002c00dc29..."} 
[2026-08-19 20:01:10] local.INFO: Processing buffer {"connection_id":159076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6db300012ceb0680071a3a68002c00dc29..."} 
[2026-08-19 20:01:10] local.INFO: Packet analysis {"connection_id":159076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6d"} 
[2026-08-19 20:01:10] local.INFO: Extracted packet for processing {"connection_id":159076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6d"} 
[2026-08-19 20:01:10] local.INFO: GPS Element Parsed {"raw_longitude":753600128,"raw_latitude":119159400,"longitude_deg":75.3600128,"latitude_deg":11.91594,"altitude":44,"angle":220,"satellites":41,"speed":0,"hex_longitude":"2ceb0680","hex_latitude":"071a3a68","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510341376001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052276407500800,"note":"Value kept but may cause issues"} 
[2026-08-19 20:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454705664,"note":"Value kept but may cause issues"} 
[2026-08-19 20:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787149792000,"timestamp_ms":1787149792000,"timestamp_seconds":1787149792,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6db300"} 
[2026-08-19 20:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-19 20:01:10] 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-08-19 20:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510341376001,"66":27365,"8":206,"2":54272,"24":0,"16":386052276407500800,"44":-1511239119454705664},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 20:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510341376001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:01:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 20:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052276407500800,"km_value":386052276407500.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454705664,"description":"Unknown IO ID 44"} 
[2026-08-19 20:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510341376001,"power":27365,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511239119454705664}} 
[2026-08-19 20:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":159076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:01:10] local.INFO: GPS data processed {"connection_id":159076,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:01:10] local.INFO: Acknowledgment sent {"connection_id":159076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:01:12] local.INFO: TCP Data received {"connection_id":159076,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6e0508012ceb0680071a3a68002c00dc28..."} 
[2026-08-19 20:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6e0508012ceb0680071a3a68002c00dc28..."} 
[2026-08-19 20:01:12] local.INFO: Processing buffer {"connection_id":159076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6e0508012ceb0680071a3a68002c00dc28..."} 
[2026-08-19 20:01:12] local.INFO: Packet analysis {"connection_id":159076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6e"} 
[2026-08-19 20:01:12] local.INFO: Extracted packet for processing {"connection_id":159076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6e"} 
[2026-08-19 20:01:12] local.INFO: GPS Element Parsed {"raw_longitude":753600128,"raw_latitude":119159400,"longitude_deg":75.3600128,"latitude_deg":11.91594,"altitude":44,"angle":220,"satellites":40,"speed":0,"hex_longitude":"2ceb0680","hex_latitude":"071a3a68","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510346752001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052276407500800,"note":"Value kept but may cause issues"} 
[2026-08-19 20:01:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511379856943060992,"note":"Value kept but may cause issues"} 
[2026-08-19 20:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787149813000,"timestamp_ms":1787149813000,"timestamp_seconds":1787149813,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6e0508"} 
[2026-08-19 20:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 20:01:12] 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-08-19 20: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-08-19 20:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510346752001,"66":27267,"8":206,"2":54272,"24":0,"16":386052276407500800,"44":-1511379856943060992},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 20:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510346752001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:01:12] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 20:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052276407500800,"km_value":386052276407500.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:01:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511379856943060992,"description":"Unknown IO ID 44"} 
[2026-08-19 20:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510346752001,"power":27267,"unknown_8":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1511379856943060992}} 
[2026-08-19 20:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":159076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:01:12] local.INFO: GPS data processed {"connection_id":159076,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:01:12] local.INFO: Acknowledgment sent {"connection_id":159076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:01:13] local.INFO: TCP Data received {"connection_id":159077,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:01:13] local.INFO: Processing buffer {"connection_id":159077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:01:13] local.INFO: IMEI packet received {"connection_id":159077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":159077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:01:18] local.INFO: TCP Data received {"connection_id":159077,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:01:18] local.INFO: Processing buffer {"connection_id":159077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:01:18] local.INFO: IMEI packet received {"connection_id":159077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":159077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:01:19] local.INFO: TCP Data received {"connection_id":159077,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 20:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 20:01:19] local.INFO: Processing buffer {"connection_id":159077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 20:01:19] local.INFO: Packet analysis {"connection_id":159077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 20:01:19] local.INFO: Extracted packet for processing {"connection_id":159077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 20:01:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 20:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510214656001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787149577000,"timestamp_ms":1787149577000,"timestamp_seconds":1787149577,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6a6b28"} 
[2026-08-19 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-08-19 20:01:19] 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-08-19 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-19 20:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 20:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510214656001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510214656001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:01:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:01:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510214656001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":159077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:01:19] local.INFO: GPS data processed {"connection_id":159077,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:01:19] local.INFO: Acknowledgment sent {"connection_id":159077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:01:23] local.INFO: TCP Data received {"connection_id":159077,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 20:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 20:01:23] local.INFO: Processing buffer {"connection_id":159077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6a6b28012d196500071ff128004701462a..."} 
[2026-08-19 20:01:23] local.INFO: Packet analysis {"connection_id":159077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 20:01:23] local.INFO: Extracted packet for processing {"connection_id":159077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6a"} 
[2026-08-19 20:01:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510214656001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787149577000,"timestamp_ms":1787149577000,"timestamp_seconds":1787149577,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6a6b28"} 
[2026-08-19 20:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:01:23] 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-08-19 20:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-19 20:01:23] 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-08-19 20:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510214656001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510214656001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:01:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:01:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510214656001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":159077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:01:23] local.INFO: GPS data processed {"connection_id":159077,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:01:23] local.INFO: Acknowledgment sent {"connection_id":159077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:01:59] local.INFO: TCP Data received {"connection_id":158221,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:01:59] local.INFO: Processing buffer {"connection_id":158221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:01:59] local.INFO: IMEI packet received {"connection_id":158221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":158221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:02:05] local.INFO: TCP Data received {"connection_id":158221,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:02:05] local.INFO: Processing buffer {"connection_id":158221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:02:05] local.INFO: IMEI packet received {"connection_id":158221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":158221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:02:08] local.INFO: TCP Data received {"connection_id":159078,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:02:08] local.INFO: Processing buffer {"connection_id":159078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:02:08] local.INFO: IMEI packet received {"connection_id":159078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":159078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:02:13] local.INFO: TCP Data received {"connection_id":158221,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6e5328012ceb0740071a3c50002800082c..."} 
[2026-08-19 20:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6e5328012ceb0740071a3c50002800082c..."} 
[2026-08-19 20:02:13] local.INFO: Processing buffer {"connection_id":158221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6e5328012ceb0740071a3c50002800082c..."} 
[2026-08-19 20:02:13] local.INFO: Packet analysis {"connection_id":158221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6e"} 
[2026-08-19 20:02:13] local.INFO: Extracted packet for processing {"connection_id":158221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6e"} 
[2026-08-19 20:02:13] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159888,"longitude_deg":75.360032,"latitude_deg":11.9159888,"altitude":40,"angle":8,"satellites":44,"speed":1,"hex_longitude":"2ceb0740","hex_latitude":"071a3c50","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510352128001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386052302177304576,"note":"Value kept but may cause issues"} 
[2026-08-19 20:02:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511379856943060992,"note":"Value kept but may cause issues"} 
[2026-08-19 20:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787149833000,"timestamp_ms":1787149833000,"timestamp_seconds":1787149833,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6e5328"} 
[2026-08-19 20:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:02: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-08-19 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 20:02:13] 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-08-19 20: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-08-19 20:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510352128001,"66":27213,"8":206,"2":54272,"24":1,"16":386052302177304576,"44":-1511379856943060992},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 20:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510352128001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:02:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 20:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386052302177304576,"km_value":386052302177304.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:02:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511379856943060992,"description":"Unknown IO ID 44"} 
[2026-08-19 20:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510352128001,"power":27213,"unknown_8":206,"power_alt":54272,"ignition":1,"odometer":null,"unknown_44":-1511379856943060992}} 
[2026-08-19 20:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":158221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:02:13] local.INFO: GPS data processed {"connection_id":158221,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:02:13] local.INFO: Acknowledgment sent {"connection_id":158221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:02:13] local.INFO: TCP Data received {"connection_id":159078,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:02:13] local.INFO: Processing buffer {"connection_id":159078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:02:13] local.INFO: IMEI packet received {"connection_id":159078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":159078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:02:14] local.INFO: TCP Data received {"connection_id":159078,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:02:14] local.INFO: Processing buffer {"connection_id":159078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:02:14] local.INFO: Packet analysis {"connection_id":159078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:02:14] local.INFO: Extracted packet for processing {"connection_id":159078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:02:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510291712001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787149878000,"timestamp_ms":1787149878000,"timestamp_seconds":1787149878,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6f02f0"} 
[2026-08-19 20:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510291712001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510291712001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:02:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:02:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510291712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":159078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:02:14] local.INFO: GPS data processed {"connection_id":159078,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:02:14] local.INFO: Acknowledgment sent {"connection_id":159078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:02:45] local.INFO: TCP Data received {"connection_id":159078,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:02:45] local.INFO: Processing buffer {"connection_id":159078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:02:45] local.INFO: Packet analysis {"connection_id":159078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:02:45] local.INFO: Extracted packet for processing {"connection_id":159078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510291712001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787149878000,"timestamp_ms":1787149878000,"timestamp_seconds":1787149878,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6f02f0"} 
[2026-08-19 20:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510291712001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510291712001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:02:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510291712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":159078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:02:45] local.INFO: GPS data processed {"connection_id":159078,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:02:45] local.INFO: Acknowledgment sent {"connection_id":159078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:02:58] local.INFO: TCP Data received {"connection_id":159079,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:02:58] local.INFO: Processing buffer {"connection_id":159079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:02:58] local.INFO: IMEI packet received {"connection_id":159079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":159079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:03:04] local.INFO: TCP Data received {"connection_id":159079,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:03:04] local.INFO: Processing buffer {"connection_id":159079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:03:04] local.INFO: IMEI packet received {"connection_id":159079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":159079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:03:05] local.INFO: TCP Data received {"connection_id":159079,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6f7ff0012cea95c0071a6f58001c00182c..."} 
[2026-08-19 20:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6f7ff0012cea95c0071a6f58001c00182c..."} 
[2026-08-19 20:03:05] local.INFO: Processing buffer {"connection_id":159079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6f7ff0012cea95c0071a6f58001c00182c..."} 
[2026-08-19 20:03:05] local.INFO: Packet analysis {"connection_id":159079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:03:05] local.INFO: Extracted packet for processing {"connection_id":159079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:03:05] local.INFO: GPS Element Parsed {"raw_longitude":753571264,"raw_latitude":119172952,"longitude_deg":75.3571264,"latitude_deg":11.9172952,"altitude":28,"angle":24,"satellites":44,"speed":5,"hex_longitude":"2cea95c0","hex_latitude":"071a6f58","is_valid_coordinates":true} 
[2026-08-19 20:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510376704001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386053861250433024,"note":"Value kept but may cause issues"} 
[2026-08-19 20:03:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1543256898052112384,"note":"Value kept but may cause issues"} 
[2026-08-19 20:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787149910000,"timestamp_ms":1787149910000,"timestamp_seconds":1787149910,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6f7ff0"} 
[2026-08-19 20:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20: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-08-19 20:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 20:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510376704001,"66":27343,"10":206,"2":54272,"24":5,"16":386053861250433024,"44":-1543256898052112384},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-08-19 20:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510376704001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:03:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 20:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386053861250433024,"km_value":386053861250433.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:03:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1543256898052112384,"description":"Unknown IO ID 44"} 
[2026-08-19 20:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510376704001,"power":27343,"unknown_10":206,"power_alt":54272,"ignition":5,"odometer":null,"unknown_44":-1543256898052112384}} 
[2026-08-19 20:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":159079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:03:05] local.INFO: GPS data processed {"connection_id":159079,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:03:05] local.INFO: Acknowledgment sent {"connection_id":159079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:03:08] local.INFO: TCP Data received {"connection_id":157855,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:03:08] local.INFO: Processing buffer {"connection_id":157855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:03:08] local.INFO: IMEI packet received {"connection_id":157855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":157855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:03:13] local.INFO: TCP Data received {"connection_id":157855,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:03:13] local.INFO: Processing buffer {"connection_id":157855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:03:13] local.INFO: IMEI packet received {"connection_id":157855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":157855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:03:14] local.INFO: TCP Data received {"connection_id":157855,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:03:14] local.INFO: Processing buffer {"connection_id":157855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:03:14] local.INFO: Packet analysis {"connection_id":157855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:03:14] local.INFO: Extracted packet for processing {"connection_id":157855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:03:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510291712001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787149878000,"timestamp_ms":1787149878000,"timestamp_seconds":1787149878,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6f02f0"} 
[2026-08-19 20:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510291712001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510291712001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:03:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:03:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510291712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":157855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:03:14] local.INFO: GPS data processed {"connection_id":157855,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:03:14] local.INFO: Acknowledgment sent {"connection_id":157855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:03:37] local.INFO: TCP Data received {"connection_id":159079,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6fb2b8012cea9900071a7158001c00612f..."} 
[2026-08-19 20:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6fb2b8012cea9900071a7158001c00612f..."} 
[2026-08-19 20:03:37] local.INFO: Processing buffer {"connection_id":159079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6fb2b8012cea9900071a7158001c00612f..."} 
[2026-08-19 20:03:37] local.INFO: Packet analysis {"connection_id":159079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:03:37] local.INFO: Extracted packet for processing {"connection_id":159079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:03:37] local.INFO: GPS Element Parsed {"raw_longitude":753572096,"raw_latitude":119173464,"longitude_deg":75.3572096,"latitude_deg":11.9173464,"altitude":28,"angle":97,"satellites":47,"speed":6,"hex_longitude":"2cea9900","hex_latitude":"071a7158","is_valid_coordinates":true} 
[2026-08-19 20:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510376960001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386053917085007872,"note":"Value kept but may cause issues"} 
[2026-08-19 20:03:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1543116160563718144,"note":"Value kept but may cause issues"} 
[2026-08-19 20:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787149923000,"timestamp_ms":1787149923000,"timestamp_seconds":1787149923,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6fb2b8"} 
[2026-08-19 20:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 20:03:37] 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-08-19 20:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510376960001,"66":27376,"8":206,"2":54272,"24":6,"16":386053917085007872,"44":-1543116160563718144},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 20:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510376960001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:03:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 20:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386053917085007872,"km_value":386053917085007.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:03:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1543116160563718144,"description":"Unknown IO ID 44"} 
[2026-08-19 20:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510376960001,"power":27376,"unknown_8":206,"power_alt":54272,"ignition":6,"odometer":null,"unknown_44":-1543116160563718144}} 
[2026-08-19 20:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":159079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:03:37] local.INFO: GPS data processed {"connection_id":159079,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:03:37] local.INFO: Acknowledgment sent {"connection_id":159079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:03:45] local.INFO: TCP Data received {"connection_id":157855,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:03:45] local.INFO: Processing buffer {"connection_id":157855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:03:45] local.INFO: Packet analysis {"connection_id":157855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:03:45] local.INFO: Extracted packet for processing {"connection_id":157855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:03:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510291712001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787149878000,"timestamp_ms":1787149878000,"timestamp_seconds":1787149878,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6f02f0"} 
[2026-08-19 20:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510291712001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510291712001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:03:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:03:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510291712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":157855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:03:45] local.INFO: GPS data processed {"connection_id":157855,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:03:45] local.INFO: Acknowledgment sent {"connection_id":157855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:03:58] local.INFO: TCP Data received {"connection_id":160405,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:03:58] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:03:58] local.INFO: IMEI packet received {"connection_id":160405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":160405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:04:04] local.INFO: TCP Data received {"connection_id":160405,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:04:04] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:04:04] local.INFO: IMEI packet received {"connection_id":160405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":160405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:04:05] local.INFO: TCP Data received {"connection_id":160405,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6fb6a0012cea9980071a7118001c007031..."} 
[2026-08-19 20:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6fb6a0012cea9980071a7118001c007031..."} 
[2026-08-19 20:04:05] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6fb6a0012cea9980071a7118001c007031..."} 
[2026-08-19 20:04:05] local.INFO: Packet analysis {"connection_id":160405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:04:05] local.INFO: Extracted packet for processing {"connection_id":160405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:04:05] local.INFO: GPS Element Parsed {"raw_longitude":753572224,"raw_latitude":119173400,"longitude_deg":75.3572224,"latitude_deg":11.91734,"altitude":28,"angle":112,"satellites":49,"speed":9,"hex_longitude":"2cea9980","hex_latitude":"071a7118","is_valid_coordinates":true} 
[2026-08-19 20:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510380288001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386053921379975168,"note":"Value kept but may cause issues"} 
[2026-08-19 20:04:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1542201366889277440,"note":"Value kept but may cause issues"} 
[2026-08-19 20:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787149924000,"timestamp_ms":1787149924000,"timestamp_seconds":1787149924,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6fb6a0"} 
[2026-08-19 20:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:04: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-08-19 20:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 20:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510380288001,"66":27376,"8":206,"2":54272,"24":9,"16":386053921379975168,"44":-1542201366889277440},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 20:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510380288001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:04:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 20:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386053921379975168,"km_value":386053921379975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:04:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1542201366889277440,"description":"Unknown IO ID 44"} 
[2026-08-19 20:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510380288001,"power":27376,"unknown_8":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-1542201366889277440}} 
[2026-08-19 20:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":160405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:04:05] local.INFO: GPS data processed {"connection_id":160405,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:04:05] local.INFO: Acknowledgment sent {"connection_id":160405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:04:07] local.INFO: TCP Data received {"connection_id":158222,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:04:07] local.INFO: Processing buffer {"connection_id":158222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:04:07] local.INFO: IMEI packet received {"connection_id":158222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":158222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:04:13] local.INFO: TCP Data received {"connection_id":158222,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:04:13] local.INFO: Processing buffer {"connection_id":158222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:04:13] local.INFO: IMEI packet received {"connection_id":158222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":158222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:04:14] local.INFO: TCP Data received {"connection_id":158222,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:04:14] local.INFO: Processing buffer {"connection_id":158222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:04:14] local.INFO: Packet analysis {"connection_id":158222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:04:14] local.INFO: Extracted packet for processing {"connection_id":158222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:04:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510291712001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787149878000,"timestamp_ms":1787149878000,"timestamp_seconds":1787149878,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6f02f0"} 
[2026-08-19 20:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510291712001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510291712001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:04:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:04:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510291712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":158222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:04:14] local.INFO: GPS data processed {"connection_id":158222,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:04:14] local.INFO: Acknowledgment sent {"connection_id":158222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:04:36] local.INFO: TCP Data received {"connection_id":160405,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6fbe70012cea9b40071a7000001c008230..."} 
[2026-08-19 20:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6fbe70012cea9b40071a7000001c008230..."} 
[2026-08-19 20:04:36] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6fbe70012cea9b40071a7000001c008230..."} 
[2026-08-19 20:04:36] local.INFO: Packet analysis {"connection_id":160405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:04:36] local.INFO: Extracted packet for processing {"connection_id":160405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:04:36] local.INFO: GPS Element Parsed {"raw_longitude":753572672,"raw_latitude":119173120,"longitude_deg":75.3572672,"latitude_deg":11.917312,"altitude":28,"angle":130,"satellites":48,"speed":10,"hex_longitude":"2cea9b40","hex_latitude":"071a7000","is_valid_coordinates":true} 
[2026-08-19 20:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510380544001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386053947149778944,"note":"Value kept but may cause issues"} 
[2026-08-19 20:04:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1542060629400938496,"note":"Value kept but may cause issues"} 
[2026-08-19 20:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787149926000,"timestamp_ms":1787149926000,"timestamp_seconds":1787149926,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6fbe70"} 
[2026-08-19 20:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:04: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-08-19 20:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 20:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510380544001,"66":27397,"8":206,"2":54272,"24":10,"16":386053947149778944,"44":-1542060629400938496},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 20:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510380544001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:04:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 20:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386053947149778944,"km_value":386053947149778.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:04:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1542060629400938496,"description":"Unknown IO ID 44"} 
[2026-08-19 20:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510380544001,"power":27397,"unknown_8":206,"power_alt":54272,"ignition":10,"odometer":null,"unknown_44":-1542060629400938496}} 
[2026-08-19 20:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":160405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:04:36] local.INFO: GPS data processed {"connection_id":160405,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:04:36] local.INFO: Acknowledgment sent {"connection_id":160405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:04:45] local.INFO: TCP Data received {"connection_id":158222,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:04:45] local.INFO: Processing buffer {"connection_id":158222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:04:45] local.INFO: Packet analysis {"connection_id":158222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:04:45] local.INFO: Extracted packet for processing {"connection_id":158222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:04:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510291712001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787149878000,"timestamp_ms":1787149878000,"timestamp_seconds":1787149878,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6f02f0"} 
[2026-08-19 20:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510291712001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510291712001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:04:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:04:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510291712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":158222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:04:45] local.INFO: GPS data processed {"connection_id":158222,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:04:45] local.INFO: Acknowledgment sent {"connection_id":158222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:05:04] local.INFO: TCP Data received {"connection_id":158223,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:05:04] local.INFO: Processing buffer {"connection_id":158223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:05:04] local.INFO: IMEI packet received {"connection_id":158223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":158223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:05:07] local.INFO: TCP Data received {"connection_id":157856,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:05:07] local.INFO: Processing buffer {"connection_id":157856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:05:07] local.INFO: IMEI packet received {"connection_id":157856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":157856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:05:09] local.INFO: TCP Data received {"connection_id":158223,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:05:09] local.INFO: Processing buffer {"connection_id":158223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:05:09] local.INFO: IMEI packet received {"connection_id":158223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":158223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:05:10] local.INFO: TCP Data received {"connection_id":158223,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6fd5e0012ceaa240071a6aa8001d007731..."} 
[2026-08-19 20:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6fd5e0012ceaa240071a6aa8001d007731..."} 
[2026-08-19 20:05:10] local.INFO: Processing buffer {"connection_id":158223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6fd5e0012ceaa240071a6aa8001d007731..."} 
[2026-08-19 20:05:10] local.INFO: Packet analysis {"connection_id":158223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:05:10] local.INFO: Extracted packet for processing {"connection_id":158223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:05:10] local.INFO: GPS Element Parsed {"raw_longitude":753574464,"raw_latitude":119171752,"longitude_deg":75.3574464,"latitude_deg":11.9171752,"altitude":29,"angle":119,"satellites":49,"speed":20,"hex_longitude":"2ceaa240","hex_latitude":"071a6aa8","is_valid_coordinates":true} 
[2026-08-19 20:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510381056001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386054054523961344,"note":"Value kept but may cause issues"} 
[2026-08-19 20:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1541568048191766528,"note":"Value kept but may cause issues"} 
[2026-08-19 20:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787149932000,"timestamp_ms":1787149932000,"timestamp_seconds":1787149932,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6fd5e0"} 
[2026-08-19 20:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:05: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-08-19 20:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 20:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510381056001,"66":27321,"8":206,"2":54272,"24":20,"16":386054054523961344,"44":-1541568048191766528},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 20:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510381056001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:05:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 20:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386054054523961344,"km_value":386054054523961.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1541568048191766528,"description":"Unknown IO ID 44"} 
[2026-08-19 20:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510381056001,"power":27321,"unknown_8":206,"power_alt":54272,"ignition":20,"odometer":null,"unknown_44":-1541568048191766528}} 
[2026-08-19 20:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":158223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:05:10] local.INFO: GPS data processed {"connection_id":158223,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:05:10] local.INFO: Acknowledgment sent {"connection_id":158223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:05:13] local.INFO: TCP Data received {"connection_id":157856,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:05:13] local.INFO: Processing buffer {"connection_id":157856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:05:13] local.INFO: IMEI packet received {"connection_id":157856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":157856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:05:13] local.INFO: TCP Data received {"connection_id":158223,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7027e8012ceabe80071a5d88001e006f30..."} 
[2026-08-19 20:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7027e8012ceabe80071a5d88001e006f30..."} 
[2026-08-19 20:05:13] local.INFO: Processing buffer {"connection_id":158223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7027e8012ceabe80071a5d88001e006f30..."} 
[2026-08-19 20:05:13] local.INFO: Packet analysis {"connection_id":158223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a70"} 
[2026-08-19 20:05:13] local.INFO: Extracted packet for processing {"connection_id":158223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a70"} 
[2026-08-19 20:05:13] local.INFO: GPS Element Parsed {"raw_longitude":753581696,"raw_latitude":119168392,"longitude_deg":75.3581696,"latitude_deg":11.9168392,"altitude":30,"angle":111,"satellites":48,"speed":11,"hex_longitude":"2ceabe80","hex_latitude":"071a5d88","is_valid_coordinates":true} 
[2026-08-19 20:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510382592001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386054436776050688,"note":"Value kept but may cause issues"} 
[2026-08-19 20:05:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1539597723355142144,"note":"Value kept but may cause issues"} 
[2026-08-19 20:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787149953000,"timestamp_ms":1787149953000,"timestamp_seconds":1787149953,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7027e8"} 
[2026-08-19 20:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:05: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-08-19 20:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 20:05:13] 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-08-19 20:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510382592001,"66":27463,"8":206,"2":54272,"24":11,"16":386054436776050688,"44":-1539597723355142144},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 20:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510382592001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:05:13] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 20:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386054436776050688,"km_value":386054436776050.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:05:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1539597723355142144,"description":"Unknown IO ID 44"} 
[2026-08-19 20:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510382592001,"power":27463,"unknown_8":206,"power_alt":54272,"ignition":11,"odometer":null,"unknown_44":-1539597723355142144}} 
[2026-08-19 20:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":158223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:05:13] local.INFO: GPS data processed {"connection_id":158223,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:05:13] local.INFO: Acknowledgment sent {"connection_id":158223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:05:14] local.INFO: TCP Data received {"connection_id":157856,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:05:14] local.INFO: Processing buffer {"connection_id":157856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:05:14] local.INFO: Packet analysis {"connection_id":157856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:05:14] local.INFO: Extracted packet for processing {"connection_id":157856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:05:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510291712001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787149878000,"timestamp_ms":1787149878000,"timestamp_seconds":1787149878,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6f02f0"} 
[2026-08-19 20:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510291712001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510291712001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:05:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:05:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510291712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":157856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:05:14] local.INFO: GPS data processed {"connection_id":157856,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:05:14] local.INFO: Acknowledgment sent {"connection_id":157856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:05:45] local.INFO: TCP Data received {"connection_id":157856,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:05:45] local.INFO: Processing buffer {"connection_id":157856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:05:45] local.INFO: Packet analysis {"connection_id":157856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:05:45] local.INFO: Extracted packet for processing {"connection_id":157856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:05:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510291712001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787149878000,"timestamp_ms":1787149878000,"timestamp_seconds":1787149878,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6f02f0"} 
[2026-08-19 20:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510291712001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510291712001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:05:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:05:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510291712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":157856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:05:45] local.INFO: GPS data processed {"connection_id":157856,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:05:45] local.INFO: Acknowledgment sent {"connection_id":157856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:05:58] local.INFO: TCP Data received {"connection_id":160406,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:05:58] local.INFO: Processing buffer {"connection_id":160406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:05:58] local.INFO: IMEI packet received {"connection_id":160406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":160406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:06:03] local.INFO: TCP Data received {"connection_id":160406,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:06:03] local.INFO: Processing buffer {"connection_id":160406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:06:03] local.INFO: IMEI packet received {"connection_id":160406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":160406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:06:04] local.INFO: TCP Data received {"connection_id":160406,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7079f0012cead100071a55f00020006932..."} 
[2026-08-19 20:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7079f0012cead100071a55f00020006932..."} 
[2026-08-19 20:06:04] local.INFO: Processing buffer {"connection_id":160406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7079f0012cead100071a55f00020006932..."} 
[2026-08-19 20:06:04] local.INFO: Packet analysis {"connection_id":160406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a70"} 
[2026-08-19 20:06:04] local.INFO: Extracted packet for processing {"connection_id":160406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a70"} 
[2026-08-19 20:06:04] local.INFO: GPS Element Parsed {"raw_longitude":753586432,"raw_latitude":119166448,"longitude_deg":75.3586432,"latitude_deg":11.9166448,"altitude":32,"angle":105,"satellites":50,"speed":9,"hex_longitude":"2cead100","hex_latitude":"071a55f0","is_valid_coordinates":true} 
[2026-08-19 20:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510387968001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386054681589186560,"note":"Value kept but may cause issues"} 
[2026-08-19 20:06:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1531646055263926272,"note":"Value kept but may cause issues"} 
[2026-08-19 20:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787149974000,"timestamp_ms":1787149974000,"timestamp_seconds":1787149974,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7079f0"} 
[2026-08-19 20:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:06: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-08-19 20:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 20:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510387968001,"66":27397,"8":206,"2":54272,"24":9,"16":386054681589186560,"44":-1531646055263926272},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 20:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510387968001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:06:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 20:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386054681589186560,"km_value":386054681589186.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:06:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1531646055263926272,"description":"Unknown IO ID 44"} 
[2026-08-19 20:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510387968001,"power":27397,"unknown_8":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-1531646055263926272}} 
[2026-08-19 20:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":160406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:06:04] local.INFO: GPS data processed {"connection_id":160406,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:06:04] local.INFO: Acknowledgment sent {"connection_id":160406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:06:13] local.INFO: TCP Data received {"connection_id":159080,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:06:13] local.INFO: Processing buffer {"connection_id":159080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:06:13] local.INFO: IMEI packet received {"connection_id":159080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":159080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:06:18] local.INFO: TCP Data received {"connection_id":159080,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:06:18] local.INFO: Processing buffer {"connection_id":159080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:06:18] local.INFO: IMEI packet received {"connection_id":159080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":159080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:06:19] local.INFO: TCP Data received {"connection_id":159080,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:06:19] local.INFO: Processing buffer {"connection_id":159080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:06:19] local.INFO: Packet analysis {"connection_id":159080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:06:19] local.INFO: Extracted packet for processing {"connection_id":159080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:06:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510291712001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787149878000,"timestamp_ms":1787149878000,"timestamp_seconds":1787149878,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6f02f0"} 
[2026-08-19 20:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:06:19] 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-08-19 20:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510291712001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510291712001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:06:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:06:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510291712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":159080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:06:19] local.INFO: GPS data processed {"connection_id":159080,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:06:19] local.INFO: Acknowledgment sent {"connection_id":159080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:06:23] local.INFO: TCP Data received {"connection_id":159080,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:06:23] local.INFO: Processing buffer {"connection_id":159080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a6f02f0012d196500071ff128004701462b..."} 
[2026-08-19 20:06:23] local.INFO: Packet analysis {"connection_id":159080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:06:23] local.INFO: Extracted packet for processing {"connection_id":159080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a6f"} 
[2026-08-19 20:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510291712001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787149878000,"timestamp_ms":1787149878000,"timestamp_seconds":1787149878,"priority":1,"record_length":96,"hex_timestamp":"000001a01a6f02f0"} 
[2026-08-19 20:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:06:23] 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-08-19 20:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510291712001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510291712001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:06:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:06:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510291712001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":159080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:06:23] local.INFO: GPS data processed {"connection_id":159080,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:06:23] local.INFO: Acknowledgment sent {"connection_id":159080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:06:37] local.INFO: TCP Data received {"connection_id":160406,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a70cbf8012ceaf040071a48a80021007331..."} 
[2026-08-19 20:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a70cbf8012ceaf040071a48a80021007331..."} 
[2026-08-19 20:06:37] local.INFO: Processing buffer {"connection_id":160406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a70cbf8012ceaf040071a48a80021007331..."} 
[2026-08-19 20:06:37] local.INFO: Packet analysis {"connection_id":160406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a70"} 
[2026-08-19 20:06:37] local.INFO: Extracted packet for processing {"connection_id":160406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a70"} 
[2026-08-19 20:06:37] local.INFO: GPS Element Parsed {"raw_longitude":753594432,"raw_latitude":119163048,"longitude_deg":75.3594432,"latitude_deg":11.9163048,"altitude":33,"angle":115,"satellites":49,"speed":17,"hex_longitude":"2ceaf040","hex_latitude":"071a48a8","is_valid_coordinates":true} 
[2026-08-19 20:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510393344001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386055093906046976,"note":"Value kept but may cause issues"} 
[2026-08-19 20:06:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1526438768195276800,"note":"Value kept but may cause issues"} 
[2026-08-19 20:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787149995000,"timestamp_ms":1787149995000,"timestamp_seconds":1787149995,"priority":1,"record_length":96,"hex_timestamp":"000001a01a70cbf8"} 
[2026-08-19 20:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:06: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-08-19 20:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 20:06:37] 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-08-19 20:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510393344001,"66":27484,"8":206,"2":54272,"24":17,"16":386055093906046976,"44":-1526438768195276800},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,2,24,16,44]} 
[2026-08-19 20:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510393344001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:06:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 20:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386055093906046976,"km_value":386055093906047.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:06:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1526438768195276800,"description":"Unknown IO ID 44"} 
[2026-08-19 20:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510393344001,"power":27484,"unknown_8":206,"power_alt":54272,"ignition":17,"odometer":null,"unknown_44":-1526438768195276800}} 
[2026-08-19 20:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":160406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:06:37] local.INFO: GPS data processed {"connection_id":160406,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:06:37] local.INFO: Acknowledgment sent {"connection_id":160406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:06:59] local.INFO: TCP Data received {"connection_id":158224,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:06:59] local.INFO: Processing buffer {"connection_id":158224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:06:59] local.INFO: IMEI packet received {"connection_id":158224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":158224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:07:00] local.INFO: TCP Data received {"connection_id":158224,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:07:00] local.INFO: Processing buffer {"connection_id":158224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:07:00] local.INFO: IMEI packet received {"connection_id":158224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":158224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:07:03] local.INFO: TCP Data received {"connection_id":158224,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:07:03] local.INFO: Processing buffer {"connection_id":158224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:07:03] local.INFO: IMEI packet received {"connection_id":158224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":158224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:07:05] local.INFO: TCP Data received {"connection_id":158224,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a735468012cebc640071968e0001e00982e..."} 
[2026-08-19 20:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a735468012cebc640071968e0001e00982e..."} 
[2026-08-19 20:07:05] local.INFO: Processing buffer {"connection_id":158224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a735468012cebc640071968e0001e00982e..."} 
[2026-08-19 20:07:05] local.INFO: Packet analysis {"connection_id":158224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:07:05] local.INFO: Extracted packet for processing {"connection_id":158224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:07:05] local.INFO: GPS Element Parsed {"raw_longitude":753649216,"raw_latitude":119105760,"longitude_deg":75.3649216,"latitude_deg":11.910576,"altitude":30,"angle":152,"satellites":46,"speed":34,"hex_longitude":"2cebc640","hex_latitude":"071968e0","is_valid_coordinates":true} 
[2026-08-19 20:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510438400001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386059109700468736,"note":"Value kept but may cause issues"} 
[2026-08-19 20:07:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1462473579751237632,"note":"Value kept but may cause issues"} 
[2026-08-19 20:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787150161000,"timestamp_ms":1787150161000,"timestamp_seconds":1787150161,"priority":1,"record_length":96,"hex_timestamp":"000001a01a735468"} 
[2026-08-19 20:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:07: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-08-19 20:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 20:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510438400001,"66":27332,"161":206,"2":54272,"24":34,"16":386059109700468736,"44":-1462473579751237632},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,2,24,16,44]} 
[2026-08-19 20:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510438400001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:07:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-19 20:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386059109700468736,"km_value":386059109700468.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:07:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1462473579751237632,"description":"Unknown IO ID 44"} 
[2026-08-19 20:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510438400001,"power":27332,"unknown_161":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-1462473579751237632}} 
[2026-08-19 20:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":158224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:07:05] local.INFO: GPS data processed {"connection_id":158224,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:07:05] local.INFO: Acknowledgment sent {"connection_id":158224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:07:07] local.INFO: TCP Data received {"connection_id":158224,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a738b18012cebd780071949a8001c00972f..."} 
[2026-08-19 20:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a738b18012cebd780071949a8001c00972f..."} 
[2026-08-19 20:07:07] local.INFO: Processing buffer {"connection_id":158224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a738b18012cebd780071949a8001c00972f..."} 
[2026-08-19 20:07:07] local.INFO: Packet analysis {"connection_id":158224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:07:07] local.INFO: Extracted packet for processing {"connection_id":158224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:07:07] local.INFO: GPS Element Parsed {"raw_longitude":753653632,"raw_latitude":119097768,"longitude_deg":75.3653632,"latitude_deg":11.9097768,"altitude":28,"angle":151,"satellites":47,"speed":27,"hex_longitude":"2cebd780","hex_latitude":"071949a8","is_valid_coordinates":true} 
[2026-08-19 20:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510441216001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386059547787132928,"note":"Value kept but may cause issues"} 
[2026-08-19 20:07:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1457407030172524544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787150175000,"timestamp_ms":1787150175000,"timestamp_seconds":1787150175,"priority":1,"record_length":96,"hex_timestamp":"000001a01a738b18"} 
[2026-08-19 20:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:07: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-08-19 20:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 20:07:07] 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-08-19 20:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510441216001,"66":27300,"174":206,"2":54272,"24":27,"16":386059547787132928,"44":-1457407030172524544},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-08-19 20:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510441216001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:07:07] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-19 20:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386059547787132928,"km_value":386059547787132.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:07:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1457407030172524544,"description":"Unknown IO ID 44"} 
[2026-08-19 20:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510441216001,"power":27300,"unknown_174":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-1457407030172524544}} 
[2026-08-19 20:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":158224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:07:07] local.INFO: GPS data processed {"connection_id":158224,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:07:07] local.INFO: Acknowledgment sent {"connection_id":158224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:07:08] local.INFO: TCP Data received {"connection_id":157857,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:07:08] local.INFO: Processing buffer {"connection_id":157857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:07:08] local.INFO: IMEI packet received {"connection_id":157857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":157857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:07:13] local.INFO: TCP Data received {"connection_id":157857,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:07:13] local.INFO: Processing buffer {"connection_id":157857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:07:13] local.INFO: IMEI packet received {"connection_id":157857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":157857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:07:14] local.INFO: TCP Data received {"connection_id":157857,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:07:14] local.INFO: Processing buffer {"connection_id":157857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:07:14] local.INFO: Packet analysis {"connection_id":157857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:07:14] local.INFO: Extracted packet for processing {"connection_id":157857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:07:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510368768001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787150179000,"timestamp_ms":1787150179000,"timestamp_seconds":1787150179,"priority":1,"record_length":96,"hex_timestamp":"000001a01a739ab8"} 
[2026-08-19 20:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510368768001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510368768001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:07:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:07:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510368768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":157857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:07:14] local.INFO: GPS data processed {"connection_id":157857,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:07:14] local.INFO: Acknowledgment sent {"connection_id":157857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:07:38] local.INFO: TCP Data received {"connection_id":158224,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a739ea0012cebdf4007193e00001d008b2f..."} 
[2026-08-19 20:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a739ea0012cebdf4007193e00001d008b2f..."} 
[2026-08-19 20:07:38] local.INFO: Processing buffer {"connection_id":158224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a739ea0012cebdf4007193e00001d008b2f..."} 
[2026-08-19 20:07:38] local.INFO: Packet analysis {"connection_id":158224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:07:38] local.INFO: Extracted packet for processing {"connection_id":158224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:07:38] local.INFO: GPS Element Parsed {"raw_longitude":753655616,"raw_latitude":119094784,"longitude_deg":75.3655616,"latitude_deg":11.9094784,"altitude":29,"angle":139,"satellites":47,"speed":31,"hex_longitude":"2cebdf40","hex_latitude":"07193e00","is_valid_coordinates":true} 
[2026-08-19 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-08-19 20:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510444800001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386059723880792064,"note":"Value kept but may cause issues"} 
[2026-08-19 20:07:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1452551586826311680,"note":"Value kept but may cause issues"} 
[2026-08-19 20:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787150180000,"timestamp_ms":1787150180000,"timestamp_seconds":1787150180,"priority":1,"record_length":96,"hex_timestamp":"000001a01a739ea0"} 
[2026-08-19 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-08-19 20:07: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-08-19 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 20:07:38] 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-08-19 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-08-19 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-08-19 20:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510444800001,"66":27376,"174":206,"2":54272,"24":31,"16":386059723880792064,"44":-1452551586826311680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-08-19 20:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510444800001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:07:38] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-19 20:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386059723880792064,"km_value":386059723880792.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:07:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1452551586826311680,"description":"Unknown IO ID 44"} 
[2026-08-19 20:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510444800001,"power":27376,"unknown_174":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-1452551586826311680}} 
[2026-08-19 20:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":158224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:07:38] local.INFO: GPS data processed {"connection_id":158224,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:07:38] local.INFO: Acknowledgment sent {"connection_id":158224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:07:45] local.INFO: TCP Data received {"connection_id":157857,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:07:45] local.INFO: Processing buffer {"connection_id":157857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:07:45] local.INFO: Packet analysis {"connection_id":157857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:07:45] local.INFO: Extracted packet for processing {"connection_id":157857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:07:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510368768001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787150179000,"timestamp_ms":1787150179000,"timestamp_seconds":1787150179,"priority":1,"record_length":96,"hex_timestamp":"000001a01a739ab8"} 
[2026-08-19 20:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510368768001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510368768001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:07:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:07:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510368768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":157857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:07:45] local.INFO: GPS data processed {"connection_id":157857,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:07:45] local.INFO: Acknowledgment sent {"connection_id":157857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:07:58] local.INFO: TCP Data received {"connection_id":157858,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:07:58] local.INFO: Processing buffer {"connection_id":157858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:07:58] local.INFO: IMEI packet received {"connection_id":157858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":157858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:08:00] local.INFO: TCP Data received {"connection_id":157858,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:08:00] local.INFO: Processing buffer {"connection_id":157858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:08:00] local.INFO: IMEI packet received {"connection_id":157858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":157858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:08:04] local.INFO: TCP Data received {"connection_id":157858,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:08:04] local.INFO: Processing buffer {"connection_id":157858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:08:04] local.INFO: IMEI packet received {"connection_id":157858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":157858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:08:07] local.INFO: TCP Data received {"connection_id":157858,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a73b228012cebeb4007193310001f00792e..."} 
[2026-08-19 20:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a73b228012cebeb4007193310001f00792e..."} 
[2026-08-19 20:08:07] local.INFO: Processing buffer {"connection_id":157858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a73b228012cebeb4007193310001f00792e..."} 
[2026-08-19 20:08:07] local.INFO: Packet analysis {"connection_id":157858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:08:07] local.INFO: Extracted packet for processing {"connection_id":157858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:08:07] local.INFO: GPS Element Parsed {"raw_longitude":753658688,"raw_latitude":119091984,"longitude_deg":75.3658688,"latitude_deg":11.9091984,"altitude":31,"angle":121,"satellites":46,"speed":32,"hex_longitude":"2cebeb40","hex_latitude":"07193310","is_valid_coordinates":true} 
[2026-08-19 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-08-19 20:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510446080001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386059921449287680,"note":"Value kept but may cause issues"} 
[2026-08-19 20:08:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1450370155757568000,"note":"Value kept but may cause issues"} 
[2026-08-19 20:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787150185000,"timestamp_ms":1787150185000,"timestamp_seconds":1787150185,"priority":1,"record_length":96,"hex_timestamp":"000001a01a73b228"} 
[2026-08-19 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-08-19 20:08: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-08-19 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 20:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 20:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510446080001,"66":27397,"174":206,"2":54272,"24":32,"16":386059921449287680,"44":-1450370155757568000},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-08-19 20:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510446080001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:08:07] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-19 20:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386059921449287680,"km_value":386059921449287.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:08:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1450370155757568000,"description":"Unknown IO ID 44"} 
[2026-08-19 20:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510446080001,"power":27397,"unknown_174":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-1450370155757568000}} 
[2026-08-19 20:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":157858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:08:07] local.INFO: GPS data processed {"connection_id":157858,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:08:07] local.INFO: Acknowledgment sent {"connection_id":157858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:08:08] local.INFO: TCP Data received {"connection_id":159081,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:08:08] local.INFO: Processing buffer {"connection_id":159081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:08:08] local.INFO: IMEI packet received {"connection_id":159081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":159081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:08:13] local.INFO: TCP Data received {"connection_id":159081,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:08:13] local.INFO: Processing buffer {"connection_id":159081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:08:13] local.INFO: IMEI packet received {"connection_id":159081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":159081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:08:14] local.INFO: TCP Data received {"connection_id":159081,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:08:14] local.INFO: Processing buffer {"connection_id":159081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:08:14] local.INFO: Packet analysis {"connection_id":159081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:08:14] local.INFO: Extracted packet for processing {"connection_id":159081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:08:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510368768001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787150179000,"timestamp_ms":1787150179000,"timestamp_seconds":1787150179,"priority":1,"record_length":96,"hex_timestamp":"000001a01a739ab8"} 
[2026-08-19 20:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510368768001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510368768001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:08:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:08:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510368768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":159081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:08:14] local.INFO: GPS data processed {"connection_id":159081,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:08:14] local.INFO: Acknowledgment sent {"connection_id":159081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:08:39] local.INFO: TCP Data received {"connection_id":157858,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a73dd20012cec080007192480002000882b..."} 
[2026-08-19 20:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a73dd20012cec080007192480002000882b..."} 
[2026-08-19 20:08:39] local.INFO: Processing buffer {"connection_id":157858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a73dd20012cec080007192480002000882b..."} 
[2026-08-19 20:08:39] local.INFO: Packet analysis {"connection_id":157858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:08:39] local.INFO: Extracted packet for processing {"connection_id":157858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:08:39] local.INFO: GPS Element Parsed {"raw_longitude":753666048,"raw_latitude":119088256,"longitude_deg":75.3666048,"latitude_deg":11.9088256,"altitude":32,"angle":136,"satellites":43,"speed":29,"hex_longitude":"2cec0800","hex_latitude":"07192480","is_valid_coordinates":true} 
[2026-08-19 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-08-19 20:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510447360001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386060320881246208,"note":"Value kept but may cause issues"} 
[2026-08-19 20:08:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1446992456037756928,"note":"Value kept but may cause issues"} 
[2026-08-19 20:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787150196000,"timestamp_ms":1787150196000,"timestamp_seconds":1787150196,"priority":1,"record_length":96,"hex_timestamp":"000001a01a73dd20"} 
[2026-08-19 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-08-19 20:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 20:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 20:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510447360001,"66":27397,"174":206,"2":54272,"24":29,"16":386060320881246208,"44":-1446992456037756928},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-08-19 20:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510447360001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:08:39] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-19 20:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386060320881246208,"km_value":386060320881246.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:08:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1446992456037756928,"description":"Unknown IO ID 44"} 
[2026-08-19 20:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510447360001,"power":27397,"unknown_174":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-1446992456037756928}} 
[2026-08-19 20:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":157858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:08:39] local.INFO: GPS data processed {"connection_id":157858,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:08:39] local.INFO: Acknowledgment sent {"connection_id":157858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:08:45] local.INFO: TCP Data received {"connection_id":159081,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:08:45] local.INFO: Processing buffer {"connection_id":159081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:08:45] local.INFO: Packet analysis {"connection_id":159081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:08:45] local.INFO: Extracted packet for processing {"connection_id":159081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:08:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510368768001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787150179000,"timestamp_ms":1787150179000,"timestamp_seconds":1787150179,"priority":1,"record_length":96,"hex_timestamp":"000001a01a739ab8"} 
[2026-08-19 20:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510368768001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510368768001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:08:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:08:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510368768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":159081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:08:45] local.INFO: GPS data processed {"connection_id":159081,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:08:45] local.INFO: Acknowledgment sent {"connection_id":159081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:08:58] local.INFO: TCP Data received {"connection_id":158225,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:08:58] local.INFO: Processing buffer {"connection_id":158225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:08:58] local.INFO: IMEI packet received {"connection_id":158225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":158225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:08:59] local.INFO: TCP Data received {"connection_id":158225,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:08:59] local.INFO: Processing buffer {"connection_id":158225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:08:59] local.INFO: IMEI packet received {"connection_id":158225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":158225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:09:03] local.INFO: TCP Data received {"connection_id":158225,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:09:03] local.INFO: Processing buffer {"connection_id":158225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:09:03] local.INFO: IMEI packet received {"connection_id":158225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":158225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:09:04] local.INFO: TCP Data received {"connection_id":158225,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a740c00012cec218007190920001e008a2e..."} 
[2026-08-19 20:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a740c00012cec218007190920001e008a2e..."} 
[2026-08-19 20:09:04] local.INFO: Processing buffer {"connection_id":158225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a740c00012cec218007190920001e008a2e..."} 
[2026-08-19 20:09:04] local.INFO: Packet analysis {"connection_id":158225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a74"} 
[2026-08-19 20:09:04] local.INFO: Extracted packet for processing {"connection_id":158225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a74"} 
[2026-08-19 20:09:04] local.INFO: GPS Element Parsed {"raw_longitude":753672576,"raw_latitude":119081248,"longitude_deg":75.3672576,"latitude_deg":11.9081248,"altitude":30,"angle":138,"satellites":46,"speed":35,"hex_longitude":"2cec2180","hex_latitude":"07190920","is_valid_coordinates":true} 
[2026-08-19 20:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510450176001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386060780442746880,"note":"Value kept but may cause issues"} 
[2026-08-19 20:09:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1438900050458279936,"note":"Value kept but may cause issues"} 
[2026-08-19 20:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787150208000,"timestamp_ms":1787150208000,"timestamp_seconds":1787150208,"priority":1,"record_length":96,"hex_timestamp":"000001a01a740c00"} 
[2026-08-19 20:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:09: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-08-19 20:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 20:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510450176001,"66":27332,"174":206,"2":54272,"24":35,"16":386060780442746880,"44":-1438900050458279936},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-08-19 20:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510450176001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:09:04] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-08-19 20:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386060780442746880,"km_value":386060780442746.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:09:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1438900050458279936,"description":"Unknown IO ID 44"} 
[2026-08-19 20:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510450176001,"power":27332,"unknown_174":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-1438900050458279936}} 
[2026-08-19 20:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":158225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:09:05] local.INFO: GPS data processed {"connection_id":158225,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:09:05] local.INFO: Acknowledgment sent {"connection_id":158225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:09:07] local.INFO: TCP Data received {"connection_id":158226,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:09:07] local.INFO: Processing buffer {"connection_id":158226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:09:07] local.INFO: IMEI packet received {"connection_id":158226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":158226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:09:13] local.INFO: TCP Data received {"connection_id":158226,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:09:13] local.INFO: Processing buffer {"connection_id":158226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:09:13] local.INFO: IMEI packet received {"connection_id":158226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":158226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:09:14] local.INFO: TCP Data received {"connection_id":158226,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:09:14] local.INFO: Processing buffer {"connection_id":158226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:09:14] local.INFO: Packet analysis {"connection_id":158226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:09:14] local.INFO: Extracted packet for processing {"connection_id":158226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:09:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510368768001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787150179000,"timestamp_ms":1787150179000,"timestamp_seconds":1787150179,"priority":1,"record_length":96,"hex_timestamp":"000001a01a739ab8"} 
[2026-08-19 20:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510368768001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510368768001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:09:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:09:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510368768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":158226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:09:14] local.INFO: GPS data processed {"connection_id":158226,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:09:14] local.INFO: Acknowledgment sent {"connection_id":158226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:09:37] local.INFO: TCP Data received {"connection_id":158225,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a759688012cec54000717d4c8002000bc2d..."} 
[2026-08-19 20:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a759688012cec54000717d4c8002000bc2d..."} 
[2026-08-19 20:09:37] local.INFO: Processing buffer {"connection_id":158225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a759688012cec54000717d4c8002000bc2d..."} 
[2026-08-19 20:09:37] local.INFO: Packet analysis {"connection_id":158225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a75"} 
[2026-08-19 20:09:37] local.INFO: Extracted packet for processing {"connection_id":158225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a75"} 
[2026-08-19 20:09:37] local.INFO: GPS Element Parsed {"raw_longitude":753685504,"raw_latitude":119002312,"longitude_deg":75.3685504,"latitude_deg":11.9002312,"altitude":32,"angle":188,"satellites":45,"speed":39,"hex_longitude":"2cec5400","hex_latitude":"0717d4c8","is_valid_coordinates":true} 
[2026-08-19 20:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510476800001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386064912201285632,"note":"Value kept but may cause issues"} 
[2026-08-19 20:09:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416311683596996608,"note":"Value kept but may cause issues"} 
[2026-08-19 20:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787150309000,"timestamp_ms":1787150309000,"timestamp_seconds":1787150309,"priority":1,"record_length":96,"hex_timestamp":"000001a01a759688"} 
[2026-08-19 20:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 20:09:37] 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-08-19 20:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510476800001,"66":27463,"159":206,"2":54272,"24":39,"16":386064912201285632,"44":-1416311683596996608},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-08-19 20:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510476800001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:09:37] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-19 20:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386064912201285632,"km_value":386064912201285.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:09:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416311683596996608,"description":"Unknown IO ID 44"} 
[2026-08-19 20:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510476800001,"power":27463,"unknown_159":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-1416311683596996608}} 
[2026-08-19 20:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":158225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:09:37] local.INFO: GPS data processed {"connection_id":158225,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:09:37] local.INFO: Acknowledgment sent {"connection_id":158225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:09:45] local.INFO: TCP Data received {"connection_id":158226,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:09:45] local.INFO: Processing buffer {"connection_id":158226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:09:45] local.INFO: Packet analysis {"connection_id":158226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:09:45] local.INFO: Extracted packet for processing {"connection_id":158226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:09:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510368768001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787150179000,"timestamp_ms":1787150179000,"timestamp_seconds":1787150179,"priority":1,"record_length":96,"hex_timestamp":"000001a01a739ab8"} 
[2026-08-19 20:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510368768001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510368768001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:09:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:09:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510368768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":158226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:09:45] local.INFO: GPS data processed {"connection_id":158226,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:09:45] local.INFO: Acknowledgment sent {"connection_id":158226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:09:58] local.INFO: TCP Data received {"connection_id":157859,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:09:58] local.INFO: Processing buffer {"connection_id":157859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:09:58] local.INFO: IMEI packet received {"connection_id":157859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":157859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:09:59] local.INFO: TCP Data received {"connection_id":157859,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:09:59] local.INFO: Processing buffer {"connection_id":157859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:09:59] local.INFO: IMEI packet received {"connection_id":157859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":157859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:10:03] local.INFO: TCP Data received {"connection_id":157859,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:10:03] local.INFO: Processing buffer {"connection_id":157859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:10:03] local.INFO: IMEI packet received {"connection_id":157859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":157859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:10:04] local.INFO: TCP Data received {"connection_id":157859,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a75bd98012cec51800717b0c0002300b62d..."} 
[2026-08-19 20:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a75bd98012cec51800717b0c0002300b62d..."} 
[2026-08-19 20:10:04] local.INFO: Processing buffer {"connection_id":157859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a75bd98012cec51800717b0c0002300b62d..."} 
[2026-08-19 20:10:04] local.INFO: Packet analysis {"connection_id":157859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a75"} 
[2026-08-19 20:10:04] local.INFO: Extracted packet for processing {"connection_id":157859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a75"} 
[2026-08-19 20:10:04] local.INFO: GPS Element Parsed {"raw_longitude":753684864,"raw_latitude":118993088,"longitude_deg":75.3684864,"latitude_deg":11.8993088,"altitude":35,"angle":182,"satellites":45,"speed":37,"hex_longitude":"2cec5180","hex_latitude":"0717b0c0","is_valid_coordinates":true} 
[2026-08-19 20:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510479104001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386065358877884416,"note":"Value kept but may cause issues"} 
[2026-08-19 20:10:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1417507952250271744,"note":"Value kept but may cause issues"} 
[2026-08-19 20:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787150319000,"timestamp_ms":1787150319000,"timestamp_seconds":1787150319,"priority":1,"record_length":96,"hex_timestamp":"000001a01a75bd98"} 
[2026-08-19 20:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:10: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-08-19 20:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 20:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510479104001,"66":27376,"159":206,"2":54272,"24":37,"16":386065358877884416,"44":-1417507952250271744},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-08-19 20:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510479104001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:10:04] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-19 20:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386065358877884416,"km_value":386065358877884.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:10:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1417507952250271744,"description":"Unknown IO ID 44"} 
[2026-08-19 20:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510479104001,"power":27376,"unknown_159":206,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-1417507952250271744}} 
[2026-08-19 20:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":157859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:10:04] local.INFO: GPS data processed {"connection_id":157859,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:10:04] local.INFO: Acknowledgment sent {"connection_id":157859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:10:07] local.INFO: TCP Data received {"connection_id":159082,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:10:07] local.INFO: Processing buffer {"connection_id":159082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:10:07] local.INFO: IMEI packet received {"connection_id":159082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":159082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:10:13] local.INFO: TCP Data received {"connection_id":159082,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:10:13] local.INFO: Processing buffer {"connection_id":159082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:10:13] local.INFO: IMEI packet received {"connection_id":159082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":159082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:10:14] local.INFO: TCP Data received {"connection_id":159082,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:10:14] local.INFO: Processing buffer {"connection_id":159082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:10:14] local.INFO: Packet analysis {"connection_id":159082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:10:14] local.INFO: Extracted packet for processing {"connection_id":159082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:10:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510368768001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787150179000,"timestamp_ms":1787150179000,"timestamp_seconds":1787150179,"priority":1,"record_length":96,"hex_timestamp":"000001a01a739ab8"} 
[2026-08-19 20:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510368768001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510368768001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:10:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:10:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510368768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":159082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:10:14] local.INFO: GPS data processed {"connection_id":159082,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:10:14] local.INFO: Acknowledgment sent {"connection_id":159082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:10:36] local.INFO: TCP Data received {"connection_id":157859,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a75e0c0012cec500007178df8002300b62c..."} 
[2026-08-19 20:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a75e0c0012cec500007178df8002300b62c..."} 
[2026-08-19 20:10:36] local.INFO: Processing buffer {"connection_id":157859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a75e0c0012cec500007178df8002300b62c..."} 
[2026-08-19 20:10:36] local.INFO: Packet analysis {"connection_id":157859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a75"} 
[2026-08-19 20:10:36] local.INFO: Extracted packet for processing {"connection_id":157859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a75"} 
[2026-08-19 20:10:36] local.INFO: GPS Element Parsed {"raw_longitude":753684480,"raw_latitude":118984184,"longitude_deg":75.368448,"latitude_deg":11.8984184,"altitude":35,"angle":182,"satellites":44,"speed":40,"hex_longitude":"2cec5000","hex_latitude":"07178df8","is_valid_coordinates":true} 
[2026-08-19 20:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510481664001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386065792669581312,"note":"Value kept but may cause issues"} 
[2026-08-19 20:10:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418211639694409728,"note":"Value kept but may cause issues"} 
[2026-08-19 20:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787150328000,"timestamp_ms":1787150328000,"timestamp_seconds":1787150328,"priority":1,"record_length":96,"hex_timestamp":"000001a01a75e0c0"} 
[2026-08-19 20:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 20:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510481664001,"66":26876,"159":206,"2":54272,"24":40,"16":386065792669581312,"44":-1418211639694409728},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-08-19 20:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510481664001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:10:36] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-19 20:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386065792669581312,"km_value":386065792669581.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:10:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418211639694409728,"description":"Unknown IO ID 44"} 
[2026-08-19 20:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510481664001,"power":26876,"unknown_159":206,"power_alt":54272,"ignition":40,"odometer":null,"unknown_44":-1418211639694409728}} 
[2026-08-19 20:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":157859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:10:36] local.INFO: GPS data processed {"connection_id":157859,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:10:36] local.INFO: Acknowledgment sent {"connection_id":157859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:10:45] local.INFO: TCP Data received {"connection_id":159082,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:10:45] local.INFO: Processing buffer {"connection_id":159082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:10:45] local.INFO: Packet analysis {"connection_id":159082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:10:45] local.INFO: Extracted packet for processing {"connection_id":159082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:10:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510368768001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787150179000,"timestamp_ms":1787150179000,"timestamp_seconds":1787150179,"priority":1,"record_length":96,"hex_timestamp":"000001a01a739ab8"} 
[2026-08-19 20:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510368768001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510368768001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:10:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:10:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510368768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":159082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:10:45] local.INFO: GPS data processed {"connection_id":159082,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:10:45] local.INFO: Acknowledgment sent {"connection_id":159082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:11:03] local.INFO: TCP Data received {"connection_id":157860,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:11:03] local.INFO: Processing buffer {"connection_id":157860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:11:03] local.INFO: IMEI packet received {"connection_id":157860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":157860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:11:04] local.INFO: TCP Data received {"connection_id":157860,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:11:04] local.INFO: Processing buffer {"connection_id":157860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:11:04] local.INFO: IMEI packet received {"connection_id":157860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":157860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:11:05] local.INFO: TCP Data received {"connection_id":157860,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7607d0012cec4d80071767e0002400b92a..."} 
[2026-08-19 20:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7607d0012cec4d80071767e0002400b92a..."} 
[2026-08-19 20:11:05] local.INFO: Processing buffer {"connection_id":157860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7607d0012cec4d80071767e0002400b92a..."} 
[2026-08-19 20:11:05] local.INFO: Packet analysis {"connection_id":157860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a76"} 
[2026-08-19 20:11:05] local.INFO: Extracted packet for processing {"connection_id":157860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a76"} 
[2026-08-19 20:11:05] local.INFO: GPS Element Parsed {"raw_longitude":753683840,"raw_latitude":118974432,"longitude_deg":75.368384,"latitude_deg":11.8974432,"altitude":36,"angle":185,"satellites":42,"speed":36,"hex_longitude":"2cec4d80","hex_latitude":"071767e0","is_valid_coordinates":true} 
[2026-08-19 20:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510483968001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386066265115983872,"note":"Value kept but may cause issues"} 
[2026-08-19 20:11:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418633852161755136,"note":"Value kept but may cause issues"} 
[2026-08-19 20:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787150338000,"timestamp_ms":1787150338000,"timestamp_seconds":1787150338,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7607d0"} 
[2026-08-19 20:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:11: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-08-19 20:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-19 20:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510483968001,"66":27343,"159":206,"2":54272,"24":36,"16":386066265115983872,"44":-1418633852161755136},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-08-19 20:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510483968001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:11:05] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-08-19 20:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386066265115983872,"km_value":386066265115983.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:11:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418633852161755136,"description":"Unknown IO ID 44"} 
[2026-08-19 20:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510483968001,"power":27343,"unknown_159":206,"power_alt":54272,"ignition":36,"odometer":null,"unknown_44":-1418633852161755136}} 
[2026-08-19 20:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":157860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:11:05] local.INFO: GPS data processed {"connection_id":157860,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:11:05] local.INFO: Acknowledgment sent {"connection_id":157860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:11:13] local.INFO: TCP Data received {"connection_id":158227,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:11:13] local.INFO: Processing buffer {"connection_id":158227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:11:13] local.INFO: IMEI packet received {"connection_id":158227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":158227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:11:18] local.INFO: TCP Data received {"connection_id":158227,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:11:18] local.INFO: Processing buffer {"connection_id":158227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:11:18] local.INFO: IMEI packet received {"connection_id":158227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":158227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:11:19] local.INFO: TCP Data received {"connection_id":158227,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:11:19] local.INFO: Processing buffer {"connection_id":158227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:11:19] local.INFO: Packet analysis {"connection_id":158227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:11:19] local.INFO: Extracted packet for processing {"connection_id":158227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:11:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 20:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510368768001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787150179000,"timestamp_ms":1787150179000,"timestamp_seconds":1787150179,"priority":1,"record_length":96,"hex_timestamp":"000001a01a739ab8"} 
[2026-08-19 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-08-19 20:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 20:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510368768001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510368768001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:11:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:11:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510368768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":158227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:11:19] local.INFO: GPS data processed {"connection_id":158227,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:11:19] local.INFO: Acknowledgment sent {"connection_id":158227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:11:23] local.INFO: TCP Data received {"connection_id":158227,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:11:23] local.INFO: Processing buffer {"connection_id":158227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a739ab8012d196500071ff128004701462a..."} 
[2026-08-19 20:11:23] local.INFO: Packet analysis {"connection_id":158227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:11:23] local.INFO: Extracted packet for processing {"connection_id":158227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a73"} 
[2026-08-19 20:11:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510368768001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787150179000,"timestamp_ms":1787150179000,"timestamp_seconds":1787150179,"priority":1,"record_length":96,"hex_timestamp":"000001a01a739ab8"} 
[2026-08-19 20:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510368768001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510368768001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:11:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:11:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510368768001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":158227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:11:23] local.INFO: GPS data processed {"connection_id":158227,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:11:23] local.INFO: Acknowledgment sent {"connection_id":158227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:11:37] local.INFO: TCP Data received {"connection_id":157860,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7636b0012cec498007174378002600b928..."} 
[2026-08-19 20:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7636b0012cec498007174378002600b928..."} 
[2026-08-19 20:11:37] local.INFO: Processing buffer {"connection_id":157860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7636b0012cec498007174378002600b928..."} 
[2026-08-19 20:11:37] local.INFO: Packet analysis {"connection_id":157860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a76"} 
[2026-08-19 20:11:37] local.INFO: Extracted packet for processing {"connection_id":157860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a76"} 
[2026-08-19 20:11:37] local.INFO: GPS Element Parsed {"raw_longitude":753682816,"raw_latitude":118965112,"longitude_deg":75.3682816,"latitude_deg":11.8965112,"altitude":38,"angle":185,"satellites":40,"speed":26,"hex_longitude":"2cec4980","hex_latitude":"07174378","is_valid_coordinates":true} 
[2026-08-19 20:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510486528001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386066720382517248,"note":"Value kept but may cause issues"} 
[2026-08-19 20:11:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1419337539606028288,"note":"Value kept but may cause issues"} 
[2026-08-19 20:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787150350000,"timestamp_ms":1787150350000,"timestamp_seconds":1787150350,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7636b0"} 
[2026-08-19 20:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 20:11:37] 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-08-19 20:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510486528001,"66":27376,"157":206,"2":54272,"24":26,"16":386066720382517248,"44":-1419337539606028288},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-08-19 20:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510486528001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:11:37] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-19 20:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386066720382517248,"km_value":386066720382517.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:11:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1419337539606028288,"description":"Unknown IO ID 44"} 
[2026-08-19 20:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510486528001,"power":27376,"unknown_157":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-1419337539606028288}} 
[2026-08-19 20:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":157860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:11:37] local.INFO: GPS data processed {"connection_id":157860,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:11:37] local.INFO: Acknowledgment sent {"connection_id":157860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:11:58] local.INFO: TCP Data received {"connection_id":159083,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:11:58] local.INFO: Processing buffer {"connection_id":159083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:11:58] local.INFO: IMEI packet received {"connection_id":159083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":159083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:11:59] local.INFO: TCP Data received {"connection_id":159083,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:11:59] local.INFO: Processing buffer {"connection_id":159083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:11:59] local.INFO: IMEI packet received {"connection_id":159083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":159083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:12:04] local.INFO: TCP Data received {"connection_id":159083,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:12:04] local.INFO: Processing buffer {"connection_id":159083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:12:04] local.INFO: IMEI packet received {"connection_id":159083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":159083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:12:08] local.INFO: TCP Data received {"connection_id":160407,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:12:08] local.INFO: Processing buffer {"connection_id":160407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:12:08] local.INFO: IMEI packet received {"connection_id":160407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":160407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:12:09] local.INFO: TCP Data received {"connection_id":159083,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a77d8a8012cecbbc00715f5a8001c00932f..."} 
[2026-08-19 20:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a77d8a8012cecbbc00715f5a8001c00932f..."} 
[2026-08-19 20:12:09] local.INFO: Processing buffer {"connection_id":159083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a77d8a8012cecbbc00715f5a8001c00932f..."} 
[2026-08-19 20:12:09] local.INFO: Packet analysis {"connection_id":159083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a77"} 
[2026-08-19 20:12:09] local.INFO: Extracted packet for processing {"connection_id":159083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a77"} 
[2026-08-19 20:12:09] local.INFO: GPS Element Parsed {"raw_longitude":753712064,"raw_latitude":118879656,"longitude_deg":75.3712064,"latitude_deg":11.8879656,"altitude":28,"angle":147,"satellites":47,"speed":25,"hex_longitude":"2cecbbc0","hex_latitude":"0715f5a8","is_valid_coordinates":true} 
[2026-08-19 20:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510513152001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386071208623341568,"note":"Value kept but may cause issues"} 
[2026-08-19 20:12:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1394356635445254144,"note":"Value kept but may cause issues"} 
[2026-08-19 20:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787150457000,"timestamp_ms":1787150457000,"timestamp_seconds":1787150457,"priority":1,"record_length":96,"hex_timestamp":"000001a01a77d8a8"} 
[2026-08-19 20:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 20:12:09] 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-08-19 20:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510513152001,"66":27463,"33":206,"2":54272,"24":25,"16":386071208623341568,"44":-1394356635445254144},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-08-19 20:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510513152001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:12:09] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-19 20:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386071208623341568,"km_value":386071208623341.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:12:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1394356635445254144,"description":"Unknown IO ID 44"} 
[2026-08-19 20:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510513152001,"power":27463,"unknown_33":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-1394356635445254144}} 
[2026-08-19 20:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":159083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:12:09] local.INFO: GPS data processed {"connection_id":159083,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:12:09] local.INFO: Acknowledgment sent {"connection_id":159083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:12:13] local.INFO: TCP Data received {"connection_id":160407,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:12:13] local.INFO: Processing buffer {"connection_id":160407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:12:13] local.INFO: IMEI packet received {"connection_id":160407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":160407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:12:14] local.INFO: TCP Data received {"connection_id":160407,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:12:14] local.INFO: Processing buffer {"connection_id":160407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:12:14] local.INFO: Packet analysis {"connection_id":160407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:12:14] local.INFO: Extracted packet for processing {"connection_id":160407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:12:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:12: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-08-19 20:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510445824001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787150480000,"timestamp_ms":1787150480000,"timestamp_seconds":1787150480,"priority":1,"record_length":96,"hex_timestamp":"000001a01a783280"} 
[2026-08-19 20:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:12: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":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:12: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-08-19 20:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510445824001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510445824001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:12:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:12:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510445824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":160407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:12:14] local.INFO: GPS data processed {"connection_id":160407,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:12:14] local.INFO: Acknowledgment sent {"connection_id":160407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:12:41] local.INFO: TCP Data received {"connection_id":159083,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a780b70012ceccd800715d468001d00972e..."} 
[2026-08-19 20:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a780b70012ceccd800715d468001d00972e..."} 
[2026-08-19 20:12:41] local.INFO: Processing buffer {"connection_id":159083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a780b70012ceccd800715d468001d00972e..."} 
[2026-08-19 20:12:41] local.INFO: Packet analysis {"connection_id":159083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:12:41] local.INFO: Extracted packet for processing {"connection_id":159083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:12:41] local.INFO: GPS Element Parsed {"raw_longitude":753716608,"raw_latitude":118871144,"longitude_deg":75.3716608,"latitude_deg":11.8871144,"altitude":29,"angle":151,"satellites":46,"speed":30,"hex_longitude":"2ceccd80","hex_latitude":"0715d468","is_valid_coordinates":true} 
[2026-08-19 20:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510516992001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386071676774776832,"note":"Value kept but may cause issues"} 
[2026-08-19 20:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1388304923447941120,"note":"Value kept but may cause issues"} 
[2026-08-19 20:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787150470000,"timestamp_ms":1787150470000,"timestamp_seconds":1787150470,"priority":1,"record_length":96,"hex_timestamp":"000001a01a780b70"} 
[2026-08-19 20:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 20:12:41] 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-08-19 20:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510516992001,"66":27463,"33":206,"2":54272,"24":30,"16":386071676774776832,"44":-1388304923447941120},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-08-19 20:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510516992001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:12:41] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-19 20:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386071676774776832,"km_value":386071676774776.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1388304923447941120,"description":"Unknown IO ID 44"} 
[2026-08-19 20:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510516992001,"power":27463,"unknown_33":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-1388304923447941120}} 
[2026-08-19 20:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":159083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:12:41] local.INFO: GPS data processed {"connection_id":159083,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:12:41] local.INFO: Acknowledgment sent {"connection_id":159083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:12:45] local.INFO: TCP Data received {"connection_id":160407,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:12:45] local.INFO: Processing buffer {"connection_id":160407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:12:45] local.INFO: Packet analysis {"connection_id":160407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:12:45] local.INFO: Extracted packet for processing {"connection_id":160407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:12:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:12: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-08-19 20:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510445824001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787150480000,"timestamp_ms":1787150480000,"timestamp_seconds":1787150480,"priority":1,"record_length":96,"hex_timestamp":"000001a01a783280"} 
[2026-08-19 20:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:12: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":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:12: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-08-19 20:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510445824001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510445824001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:12:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:12:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510445824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":160407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:12:45] local.INFO: GPS data processed {"connection_id":160407,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:12:45] local.INFO: Acknowledgment sent {"connection_id":160407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:12:58] local.INFO: TCP Data received {"connection_id":159084,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:12:58] local.INFO: Processing buffer {"connection_id":159084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:12:58] local.INFO: IMEI packet received {"connection_id":159084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":159084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:13:03] local.INFO: TCP Data received {"connection_id":159084,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:13:03] local.INFO: Processing buffer {"connection_id":159084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:13:03] local.INFO: IMEI packet received {"connection_id":159084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":159084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:13:04] local.INFO: TCP Data received {"connection_id":159084,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a782e98012cecd3c00715c600001f00a32f..."} 
[2026-08-19 20:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a782e98012cecd3c00715c600001f00a32f..."} 
[2026-08-19 20:13:04] local.INFO: Processing buffer {"connection_id":159084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a782e98012cecd3c00715c600001f00a32f..."} 
[2026-08-19 20:13:04] local.INFO: Packet analysis {"connection_id":159084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:13:04] local.INFO: Extracted packet for processing {"connection_id":159084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:13:04] local.INFO: GPS Element Parsed {"raw_longitude":753718208,"raw_latitude":118867456,"longitude_deg":75.3718208,"latitude_deg":11.8867456,"altitude":31,"angle":163,"satellites":47,"speed":20,"hex_longitude":"2cecd3c0","hex_latitude":"0715c600","is_valid_coordinates":true} 
[2026-08-19 20:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510520320001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386071870048305152,"note":"Value kept but may cause issues"} 
[2026-08-19 20:13:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1383308742613506048,"note":"Value kept but may cause issues"} 
[2026-08-19 20:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787150479000,"timestamp_ms":1787150479000,"timestamp_seconds":1787150479,"priority":1,"record_length":96,"hex_timestamp":"000001a01a782e98"} 
[2026-08-19 20:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:13: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-08-19 20:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 20:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510520320001,"66":27300,"33":206,"2":54272,"24":20,"16":386071870048305152,"44":-1383308742613506048},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-08-19 20:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510520320001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:13:04] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-19 20:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386071870048305152,"km_value":386071870048305.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:13:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1383308742613506048,"description":"Unknown IO ID 44"} 
[2026-08-19 20:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510520320001,"power":27300,"unknown_33":206,"power_alt":54272,"ignition":20,"odometer":null,"unknown_44":-1383308742613506048}} 
[2026-08-19 20:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":159084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:13:04] local.INFO: GPS data processed {"connection_id":159084,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:13:04] local.INFO: Acknowledgment sent {"connection_id":159084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:13:08] local.INFO: TCP Data received {"connection_id":160408,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:13:08] local.INFO: Processing buffer {"connection_id":160408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:13:08] local.INFO: IMEI packet received {"connection_id":160408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":160408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:13:13] local.INFO: TCP Data received {"connection_id":160408,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:13:13] local.INFO: Processing buffer {"connection_id":160408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:13:13] local.INFO: IMEI packet received {"connection_id":160408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":160408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:13:14] local.INFO: TCP Data received {"connection_id":160408,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:13:14] local.INFO: Processing buffer {"connection_id":160408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:13:14] local.INFO: Packet analysis {"connection_id":160408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:13:14] local.INFO: Extracted packet for processing {"connection_id":160408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:13:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510445824001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787150480000,"timestamp_ms":1787150480000,"timestamp_seconds":1787150480,"priority":1,"record_length":96,"hex_timestamp":"000001a01a783280"} 
[2026-08-19 20:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510445824001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510445824001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:13:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:13:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510445824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":160408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:13:14] local.INFO: GPS data processed {"connection_id":160408,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:13:14] local.INFO: Acknowledgment sent {"connection_id":160408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:13:36] local.INFO: TCP Data received {"connection_id":159084,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a786930012cece0c00715a4d0001f009f2f..."} 
[2026-08-19 20:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a786930012cece0c00715a4d0001f009f2f..."} 
[2026-08-19 20:13:36] local.INFO: Processing buffer {"connection_id":159084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a786930012cece0c00715a4d0001f009f2f..."} 
[2026-08-19 20:13:36] local.INFO: Packet analysis {"connection_id":159084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:13:36] local.INFO: Extracted packet for processing {"connection_id":159084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:13:36] local.INFO: GPS Element Parsed {"raw_longitude":753721536,"raw_latitude":118858960,"longitude_deg":75.3721536,"latitude_deg":11.885896,"altitude":31,"angle":159,"satellites":47,"speed":13,"hex_longitude":"2cece0c0","hex_latitude":"0715a4d0","is_valid_coordinates":true} 
[2026-08-19 20:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510522624001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386072312429936640,"note":"Value kept but may cause issues"} 
[2026-08-19 20:13:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1381549524010008576,"note":"Value kept but may cause issues"} 
[2026-08-19 20:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787150494000,"timestamp_ms":1787150494000,"timestamp_seconds":1787150494,"priority":1,"record_length":96,"hex_timestamp":"000001a01a786930"} 
[2026-08-19 20:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:13: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-08-19 20:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 20:13:36] 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-08-19 20:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510522624001,"66":27137,"87":206,"2":54272,"24":13,"16":386072312429936640,"44":-1381549524010008576},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 20:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510522624001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:13:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 20:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386072312429936640,"km_value":386072312429936.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:13:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1381549524010008576,"description":"Unknown IO ID 44"} 
[2026-08-19 20:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510522624001,"power":27137,"unknown_87":206,"power_alt":54272,"ignition":13,"odometer":null,"unknown_44":-1381549524010008576}} 
[2026-08-19 20:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":159084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:13:36] local.INFO: GPS data processed {"connection_id":159084,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:13:36] local.INFO: Acknowledgment sent {"connection_id":159084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:13:45] local.INFO: TCP Data received {"connection_id":160408,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:13:45] local.INFO: Processing buffer {"connection_id":160408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:13:45] local.INFO: Packet analysis {"connection_id":160408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:13:45] local.INFO: Extracted packet for processing {"connection_id":160408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:13:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510445824001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787150480000,"timestamp_ms":1787150480000,"timestamp_seconds":1787150480,"priority":1,"record_length":96,"hex_timestamp":"000001a01a783280"} 
[2026-08-19 20:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510445824001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510445824001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:13:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:13:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510445824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":160408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:13:45] local.INFO: GPS data processed {"connection_id":160408,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:13:45] local.INFO: Acknowledgment sent {"connection_id":160408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:14:03] local.INFO: TCP Data received {"connection_id":158228,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:14:03] local.INFO: Processing buffer {"connection_id":158228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:14:03] local.INFO: IMEI packet received {"connection_id":158228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":158228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:14:07] local.INFO: TCP Data received {"connection_id":159085,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:14:07] local.INFO: Processing buffer {"connection_id":159085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:14:07] local.INFO: IMEI packet received {"connection_id":159085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":159085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:14:08] local.INFO: TCP Data received {"connection_id":158228,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:14:08] local.INFO: Processing buffer {"connection_id":158228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:14:08] local.INFO: IMEI packet received {"connection_id":158228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":158228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:14:09] local.INFO: TCP Data received {"connection_id":158228,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a78a3c8012cecefc0071588d0001d00942c..."} 
[2026-08-19 20:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a78a3c8012cecefc0071588d0001d00942c..."} 
[2026-08-19 20:14:09] local.INFO: Processing buffer {"connection_id":158228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a78a3c8012cecefc0071588d0001d00942c..."} 
[2026-08-19 20:14:09] local.INFO: Packet analysis {"connection_id":158228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:14:09] local.INFO: Extracted packet for processing {"connection_id":158228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:14:09] local.INFO: GPS Element Parsed {"raw_longitude":753725376,"raw_latitude":118851792,"longitude_deg":75.3725376,"latitude_deg":11.8851792,"altitude":29,"angle":148,"satellites":44,"speed":30,"hex_longitude":"2cecefc0","hex_latitude":"071588d0","is_valid_coordinates":true} 
[2026-08-19 20:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510526464001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386072707566927872,"note":"Value kept but may cause issues"} 
[2026-08-19 20:14:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1377890349314945024,"note":"Value kept but may cause issues"} 
[2026-08-19 20:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787150509000,"timestamp_ms":1787150509000,"timestamp_seconds":1787150509,"priority":1,"record_length":96,"hex_timestamp":"000001a01a78a3c8"} 
[2026-08-19 20:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-08-19 20:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":158228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":158228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":158228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510526464001,"66":27300,"87":206,"2":54272,"24":30,"16":386072707566927872,"44":-1377890349314945024},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 20:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510526464001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:14:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 20:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386072707566927872,"km_value":386072707566927.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:14:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1377890349314945024,"description":"Unknown IO ID 44"} 
[2026-08-19 20:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510526464001,"power":27300,"unknown_87":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-1377890349314945024}} 
[2026-08-19 20:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":158228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:14:09] local.INFO: GPS data processed {"connection_id":158228,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:14:09] local.INFO: Acknowledgment sent {"connection_id":158228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:14:13] local.INFO: TCP Data received {"connection_id":159085,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:14:13] local.INFO: Processing buffer {"connection_id":159085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:14:13] local.INFO: IMEI packet received {"connection_id":159085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":159085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:14:14] local.INFO: TCP Data received {"connection_id":159085,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:14:14] local.INFO: Processing buffer {"connection_id":159085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:14:14] local.INFO: Packet analysis {"connection_id":159085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:14:14] local.INFO: Extracted packet for processing {"connection_id":159085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:14:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510445824001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787150480000,"timestamp_ms":1787150480000,"timestamp_seconds":1787150480,"priority":1,"record_length":96,"hex_timestamp":"000001a01a783280"} 
[2026-08-19 20:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510445824001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510445824001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:14:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:14:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510445824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":159085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:14:14] local.INFO: GPS data processed {"connection_id":159085,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:14:14] local.INFO: Acknowledgment sent {"connection_id":159085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:14:14] local.INFO: TCP Data received {"connection_id":158228,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a78f1e8012ced028007156ab0001b00952b..."} 
[2026-08-19 20:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a78f1e8012ced028007156ab0001b00952b..."} 
[2026-08-19 20:14:14] local.INFO: Processing buffer {"connection_id":158228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a78f1e8012ced028007156ab0001b00952b..."} 
[2026-08-19 20:14:14] local.INFO: Packet analysis {"connection_id":158228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:14:14] local.INFO: Extracted packet for processing {"connection_id":158228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:14:14] local.INFO: GPS Element Parsed {"raw_longitude":753730176,"raw_latitude":118844080,"longitude_deg":75.3730176,"latitude_deg":11.884408,"altitude":27,"angle":149,"satellites":43,"speed":32,"hex_longitude":"2ced0280","hex_latitude":"07156ab0","is_valid_coordinates":true} 
[2026-08-19 20:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510530304001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386073145653592064,"note":"Value kept but may cause issues"} 
[2026-08-19 20:14:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1373668224666120192,"note":"Value kept but may cause issues"} 
[2026-08-19 20:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787150529000,"timestamp_ms":1787150529000,"timestamp_seconds":1787150529,"priority":1,"record_length":96,"hex_timestamp":"000001a01a78f1e8"} 
[2026-08-19 20:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:14: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-08-19 20:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 20:14:14] 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-08-19 20:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510530304001,"66":27343,"87":206,"2":54272,"24":32,"16":386073145653592064,"44":-1373668224666120192},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-08-19 20:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510530304001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:14:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-19 20:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386073145653592064,"km_value":386073145653592.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:14:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1373668224666120192,"description":"Unknown IO ID 44"} 
[2026-08-19 20:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510530304001,"power":27343,"unknown_87":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-1373668224666120192}} 
[2026-08-19 20:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":158228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:14:14] local.INFO: GPS data processed {"connection_id":158228,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:14:14] local.INFO: Acknowledgment sent {"connection_id":158228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:14:22] local.INFO: TCP Data received {"connection_id":157861,"ip":"193.24.211.39","data_length":49,"data_hex":"030000312ce00000000000436f6f6b69653a206d737473686173683d51593070..."} 
[2026-08-19 20:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157861,"packet_length":49,"packet_hex":"030000312ce00000000000436f6f6b69653a206d737473686173683d51593070..."} 
[2026-08-19 20:14:22] local.INFO: Processing buffer {"connection_id":157861,"buffer_length":49,"buffer_hex":"030000312ce00000000000436f6f6b69653a206d737473686173683d51593070..."} 
[2026-08-19 20:14:22] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":157861,"buffer_length":49,"first_bytes_hex":"030000312ce00000000000436f6f6b69"} 
[2026-08-19 20:14:45] local.INFO: TCP Data received {"connection_id":159085,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:14:45] local.INFO: Processing buffer {"connection_id":159085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:14:45] local.INFO: Packet analysis {"connection_id":159085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:14:45] local.INFO: Extracted packet for processing {"connection_id":159085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:14:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510445824001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787150480000,"timestamp_ms":1787150480000,"timestamp_seconds":1787150480,"priority":1,"record_length":96,"hex_timestamp":"000001a01a783280"} 
[2026-08-19 20:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510445824001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510445824001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:14:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:14:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510445824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":159085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:14:45] local.INFO: GPS data processed {"connection_id":159085,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:14:45] local.INFO: Acknowledgment sent {"connection_id":159085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:14:56] local.INFO: TCP Data received {"connection_id":158229,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:14:56] local.INFO: Processing buffer {"connection_id":158229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:14:56] local.INFO: IMEI packet received {"connection_id":158229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":158229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:14:58] local.INFO: TCP Data received {"connection_id":158229,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:14:58] local.INFO: Processing buffer {"connection_id":158229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:14:58] local.INFO: IMEI packet received {"connection_id":158229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":158229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:15:03] local.INFO: TCP Data received {"connection_id":158229,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:15:03] local.INFO: Processing buffer {"connection_id":158229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:15:03] local.INFO: IMEI packet received {"connection_id":158229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":158229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:15:05] local.INFO: TCP Data received {"connection_id":158229,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7abed8012ced2200071439e8001a00be28..."} 
[2026-08-19 20:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7abed8012ced2200071439e8001a00be28..."} 
[2026-08-19 20:15:05] local.INFO: Processing buffer {"connection_id":158229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7abed8012ced2200071439e8001a00be28..."} 
[2026-08-19 20:15:05] local.INFO: Packet analysis {"connection_id":158229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7a"} 
[2026-08-19 20:15:05] local.INFO: Extracted packet for processing {"connection_id":158229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7a"} 
[2026-08-19 20:15:05] local.INFO: GPS Element Parsed {"raw_longitude":753738240,"raw_latitude":118766056,"longitude_deg":75.373824,"latitude_deg":11.8766056,"altitude":26,"angle":190,"satellites":40,"speed":22,"hex_longitude":"2ced2200","hex_latitude":"071439e8","is_valid_coordinates":true} 
[2026-08-19 20:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510564608001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386077118498340864,"note":"Value kept but may cause issues"} 
[2026-08-19 20:15:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1358609313433436160,"note":"Value kept but may cause issues"} 
[2026-08-19 20:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787150647000,"timestamp_ms":1787150647000,"timestamp_seconds":1787150647,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7abed8"} 
[2026-08-19 20:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:15: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-08-19 20:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 20:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510564608001,"66":27365,"144":206,"2":54272,"24":22,"16":386077118498340864,"44":-1358609313433436160},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-08-19 20:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510564608001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:15:05] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-19 20:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386077118498340864,"km_value":386077118498340.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:15:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1358609313433436160,"description":"Unknown IO ID 44"} 
[2026-08-19 20:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510564608001,"power":27365,"unknown_144":206,"power_alt":54272,"ignition":22,"odometer":null,"unknown_44":-1358609313433436160}} 
[2026-08-19 20:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":158229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:15:05] local.INFO: GPS data processed {"connection_id":158229,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:15:05] local.INFO: Acknowledgment sent {"connection_id":158229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:15:07] local.INFO: TCP Data received {"connection_id":160409,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:15:07] local.INFO: Processing buffer {"connection_id":160409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:15:07] local.INFO: IMEI packet received {"connection_id":160409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":160409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:15:13] local.INFO: TCP Data received {"connection_id":160409,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:15:13] local.INFO: Processing buffer {"connection_id":160409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:15:13] local.INFO: IMEI packet received {"connection_id":160409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":160409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:15:14] local.INFO: TCP Data received {"connection_id":160409,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:15:14] local.INFO: Processing buffer {"connection_id":160409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:15:14] local.INFO: Packet analysis {"connection_id":160409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:15:14] local.INFO: Extracted packet for processing {"connection_id":160409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:15:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510445824001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787150480000,"timestamp_ms":1787150480000,"timestamp_seconds":1787150480,"priority":1,"record_length":96,"hex_timestamp":"000001a01a783280"} 
[2026-08-19 20:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510445824001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510445824001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:15:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:15:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510445824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":160409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:15:14] local.INFO: GPS data processed {"connection_id":160409,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:15:14] local.INFO: Acknowledgment sent {"connection_id":160409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:15:36] local.INFO: TCP Data received {"connection_id":158229,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7ae9d0012ced200007142490001a00b22e..."} 
[2026-08-19 20:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7ae9d0012ced200007142490001a00b22e..."} 
[2026-08-19 20:15:36] local.INFO: Processing buffer {"connection_id":158229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7ae9d0012ced200007142490001a00b22e..."} 
[2026-08-19 20:15:36] local.INFO: Packet analysis {"connection_id":158229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7a"} 
[2026-08-19 20:15:36] local.INFO: Extracted packet for processing {"connection_id":158229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7a"} 
[2026-08-19 20:15:36] local.INFO: GPS Element Parsed {"raw_longitude":753737728,"raw_latitude":118760592,"longitude_deg":75.3737728,"latitude_deg":11.8760592,"altitude":26,"angle":178,"satellites":46,"speed":21,"hex_longitude":"2ced2000","hex_latitude":"07142490","is_valid_coordinates":true} 
[2026-08-19 20:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510565632001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386077384786313216,"note":"Value kept but may cause issues"} 
[2026-08-19 20:15:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1359524107108358144,"note":"Value kept but may cause issues"} 
[2026-08-19 20:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787150658000,"timestamp_ms":1787150658000,"timestamp_seconds":1787150658,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7ae9d0"} 
[2026-08-19 20:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 20:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510565632001,"66":27343,"142":206,"2":54272,"24":21,"16":386077384786313216,"44":-1359524107108358144},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-08-19 20:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510565632001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:15:36] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-19 20:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386077384786313216,"km_value":386077384786313.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:15:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1359524107108358144,"description":"Unknown IO ID 44"} 
[2026-08-19 20:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510565632001,"power":27343,"unknown_142":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-1359524107108358144}} 
[2026-08-19 20:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":158229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:15:36] local.INFO: GPS data processed {"connection_id":158229,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:15:36] local.INFO: Acknowledgment sent {"connection_id":158229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:15:45] local.INFO: TCP Data received {"connection_id":160409,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:15:45] local.INFO: Processing buffer {"connection_id":160409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:15:45] local.INFO: Packet analysis {"connection_id":160409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:15:45] local.INFO: Extracted packet for processing {"connection_id":160409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510445824001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787150480000,"timestamp_ms":1787150480000,"timestamp_seconds":1787150480,"priority":1,"record_length":96,"hex_timestamp":"000001a01a783280"} 
[2026-08-19 20:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510445824001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510445824001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:15:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:15:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510445824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":160409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:15:45] local.INFO: GPS data processed {"connection_id":160409,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:15:45] local.INFO: Acknowledgment sent {"connection_id":160409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:15:58] local.INFO: TCP Data received {"connection_id":159086,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:15:58] local.INFO: Processing buffer {"connection_id":159086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:15:58] local.INFO: IMEI packet received {"connection_id":159086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":159086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:16:00] local.INFO: TCP Data received {"connection_id":159086,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:16:00] local.INFO: Processing buffer {"connection_id":159086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:16:00] local.INFO: IMEI packet received {"connection_id":159086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":159086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:16:03] local.INFO: TCP Data received {"connection_id":159086,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:16:03] local.INFO: Processing buffer {"connection_id":159086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:16:03] local.INFO: IMEI packet received {"connection_id":159086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":159086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:16:04] local.INFO: TCP Data received {"connection_id":159086,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7b0140012ced21c007141898001800a530..."} 
[2026-08-19 20:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7b0140012ced21c007141898001800a530..."} 
[2026-08-19 20:16:04] local.INFO: Processing buffer {"connection_id":159086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7b0140012ced21c007141898001800a530..."} 
[2026-08-19 20:16:04] local.INFO: Packet analysis {"connection_id":159086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7b"} 
[2026-08-19 20:16:04] local.INFO: Extracted packet for processing {"connection_id":159086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7b"} 
[2026-08-19 20:16:04] local.INFO: GPS Element Parsed {"raw_longitude":753738176,"raw_latitude":118757528,"longitude_deg":75.3738176,"latitude_deg":11.8757528,"altitude":24,"angle":165,"satellites":48,"speed":18,"hex_longitude":"2ced21c0","hex_latitude":"07141898","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510568448001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386077535110168576,"note":"Value kept but may cause issues"} 
[2026-08-19 20:16:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1360087057063178240,"note":"Value kept but may cause issues"} 
[2026-08-19 20:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787150664000,"timestamp_ms":1787150664000,"timestamp_seconds":1787150664,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7b0140"} 
[2026-08-19 20:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 20:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510568448001,"66":27365,"142":206,"2":54272,"24":18,"16":386077535110168576,"44":-1360087057063178240},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-08-19 20:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510568448001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:16:04] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-19 20:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386077535110168576,"km_value":386077535110168.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:16:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1360087057063178240,"description":"Unknown IO ID 44"} 
[2026-08-19 20:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510568448001,"power":27365,"unknown_142":206,"power_alt":54272,"ignition":18,"odometer":null,"unknown_44":-1360087057063178240}} 
[2026-08-19 20:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":159086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:16:04] local.INFO: GPS data processed {"connection_id":159086,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:16:04] local.INFO: Acknowledgment sent {"connection_id":159086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:16:13] local.INFO: TCP Data received {"connection_id":159087,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:16:13] local.INFO: Processing buffer {"connection_id":159087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:16:13] local.INFO: IMEI packet received {"connection_id":159087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":159087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:16:18] local.INFO: TCP Data received {"connection_id":159087,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:16:18] local.INFO: Processing buffer {"connection_id":159087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:16:18] local.INFO: IMEI packet received {"connection_id":159087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":159087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:16:18] local.INFO: TCP Data received {"connection_id":159087,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:16:18] local.INFO: Processing buffer {"connection_id":159087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:16:18] local.INFO: Packet analysis {"connection_id":159087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:16:18] local.INFO: Extracted packet for processing {"connection_id":159087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:16:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510445824001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787150480000,"timestamp_ms":1787150480000,"timestamp_seconds":1787150480,"priority":1,"record_length":96,"hex_timestamp":"000001a01a783280"} 
[2026-08-19 20:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:16:18] 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-08-19 20:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510445824001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510445824001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:16:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:16:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510445824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":159087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:16:19] local.INFO: GPS data processed {"connection_id":159087,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:16:19] local.INFO: Acknowledgment sent {"connection_id":159087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:16:23] local.INFO: TCP Data received {"connection_id":159087,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:16:23] local.INFO: Processing buffer {"connection_id":159087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a783280012d196500071ff128004701462c..."} 
[2026-08-19 20:16:23] local.INFO: Packet analysis {"connection_id":159087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:16:23] local.INFO: Extracted packet for processing {"connection_id":159087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a78"} 
[2026-08-19 20:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510445824001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787150480000,"timestamp_ms":1787150480000,"timestamp_seconds":1787150480,"priority":1,"record_length":96,"hex_timestamp":"000001a01a783280"} 
[2026-08-19 20:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:16:23] 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-08-19 20:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510445824001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510445824001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:16:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:16:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510445824001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":159087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:16:23] local.INFO: GPS data processed {"connection_id":159087,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:16:23] local.INFO: Acknowledgment sent {"connection_id":159087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:16:36] local.INFO: TCP Data received {"connection_id":159086,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7b18b0012ced258007140c80001700972f..."} 
[2026-08-19 20:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7b18b0012ced258007140c80001700972f..."} 
[2026-08-19 20:16:36] local.INFO: Processing buffer {"connection_id":159086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7b18b0012ced258007140c80001700972f..."} 
[2026-08-19 20:16:36] local.INFO: Packet analysis {"connection_id":159086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7b"} 
[2026-08-19 20:16:36] local.INFO: Extracted packet for processing {"connection_id":159086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7b"} 
[2026-08-19 20:16:36] local.INFO: GPS Element Parsed {"raw_longitude":753739136,"raw_latitude":118754432,"longitude_deg":75.3739136,"latitude_deg":11.8754432,"altitude":23,"angle":151,"satellites":47,"speed":23,"hex_longitude":"2ced2580","hex_latitude":"07140c80","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510569984001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386077694023958528,"note":"Value kept but may cause issues"} 
[2026-08-19 20:16:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1359594475854718976,"note":"Value kept but may cause issues"} 
[2026-08-19 20:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787150670000,"timestamp_ms":1787150670000,"timestamp_seconds":1787150670,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7b18b0"} 
[2026-08-19 20:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 20:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510569984001,"66":27343,"142":206,"2":54272,"24":23,"16":386077694023958528,"44":-1359594475854718976},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-08-19 20:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510569984001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:16:36] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-19 20:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386077694023958528,"km_value":386077694023958.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:16:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1359594475854718976,"description":"Unknown IO ID 44"} 
[2026-08-19 20:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510569984001,"power":27343,"unknown_142":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-1359594475854718976}} 
[2026-08-19 20:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":159086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:16:36] local.INFO: GPS data processed {"connection_id":159086,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:16:36] local.INFO: Acknowledgment sent {"connection_id":159086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:16:58] local.INFO: TCP Data received {"connection_id":159088,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:16:58] local.INFO: Processing buffer {"connection_id":159088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:16:58] local.INFO: IMEI packet received {"connection_id":159088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":159088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:17:03] local.INFO: TCP Data received {"connection_id":159088,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:17:03] local.INFO: Processing buffer {"connection_id":159088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:17:03] local.INFO: IMEI packet received {"connection_id":159088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":159088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:17:05] local.INFO: TCP Data received {"connection_id":159088,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7b2850012ced2c40071403f80017008a30..."} 
[2026-08-19 20:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7b2850012ced2c40071403f80017008a30..."} 
[2026-08-19 20:17:05] local.INFO: Processing buffer {"connection_id":159088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7b2850012ced2c40071403f80017008a30..."} 
[2026-08-19 20:17:05] local.INFO: Packet analysis {"connection_id":159088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7b"} 
[2026-08-19 20:17:05] local.INFO: Extracted packet for processing {"connection_id":159088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7b"} 
[2026-08-19 20:17:05] local.INFO: GPS Element Parsed {"raw_longitude":753740864,"raw_latitude":118752248,"longitude_deg":75.3740864,"latitude_deg":11.8752248,"altitude":23,"angle":138,"satellites":48,"speed":30,"hex_longitude":"2ced2c40","hex_latitude":"071403f8","is_valid_coordinates":true} 
[2026-08-19 20:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510571520001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386077827167944704,"note":"Value kept but may cause issues"} 
[2026-08-19 20:17:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1358538944692846592,"note":"Value kept but may cause issues"} 
[2026-08-19 20:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787150674000,"timestamp_ms":1787150674000,"timestamp_seconds":1787150674,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7b2850"} 
[2026-08-19 20:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 20:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510571520001,"66":27071,"142":206,"2":54272,"24":30,"16":386077827167944704,"44":-1358538944692846592},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-08-19 20:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510571520001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:17:05] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-19 20:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386077827167944704,"km_value":386077827167944.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:17:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1358538944692846592,"description":"Unknown IO ID 44"} 
[2026-08-19 20:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510571520001,"power":27071,"unknown_142":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-1358538944692846592}} 
[2026-08-19 20:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":159088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:17:05] local.INFO: GPS data processed {"connection_id":159088,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:17:05] local.INFO: Acknowledgment sent {"connection_id":159088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:17:08] local.INFO: TCP Data received {"connection_id":159089,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:17:08] local.INFO: Processing buffer {"connection_id":159089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:17:08] local.INFO: IMEI packet received {"connection_id":159089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":159089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:17:13] local.INFO: TCP Data received {"connection_id":159089,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:17:13] local.INFO: Processing buffer {"connection_id":159089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:17:13] local.INFO: IMEI packet received {"connection_id":159089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":159089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:17:14] local.INFO: TCP Data received {"connection_id":159089,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:17:14] local.INFO: Processing buffer {"connection_id":159089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:17:14] local.INFO: Packet analysis {"connection_id":159089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:17:14] local.INFO: Extracted packet for processing {"connection_id":159089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510522880001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787150781000,"timestamp_ms":1787150781000,"timestamp_seconds":1787150781,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7cca48"} 
[2026-08-19 20:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510522880001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510522880001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:17:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:17:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510522880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":159089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:17:14] local.INFO: GPS data processed {"connection_id":159089,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:17:14] local.INFO: Acknowledgment sent {"connection_id":159089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:17:39] local.INFO: TCP Data received {"connection_id":159088,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7b37f0012ced35000713fbc80018007b2f..."} 
[2026-08-19 20:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7b37f0012ced35000713fbc80018007b2f..."} 
[2026-08-19 20:17:39] local.INFO: Processing buffer {"connection_id":159088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7b37f0012ced35000713fbc80018007b2f..."} 
[2026-08-19 20:17:39] local.INFO: Packet analysis {"connection_id":159088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7b"} 
[2026-08-19 20:17:39] local.INFO: Extracted packet for processing {"connection_id":159088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7b"} 
[2026-08-19 20:17:39] local.INFO: GPS Element Parsed {"raw_longitude":753743104,"raw_latitude":118750152,"longitude_deg":75.3743104,"latitude_deg":11.8750152,"altitude":24,"angle":123,"satellites":47,"speed":29,"hex_longitude":"2ced3500","hex_latitude":"0713fbc8","is_valid_coordinates":true} 
[2026-08-19 20:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510572544001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386077973196832768,"note":"Value kept but may cause issues"} 
[2026-08-19 20:17:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1356638988600608768,"note":"Value kept but may cause issues"} 
[2026-08-19 20:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787150678000,"timestamp_ms":1787150678000,"timestamp_seconds":1787150678,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7b37f0"} 
[2026-08-19 20:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-19 20:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510572544001,"66":26582,"142":206,"2":54272,"24":29,"16":386077973196832768,"44":-1356638988600608768},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,2,24,16,44]} 
[2026-08-19 20:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510572544001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:17:39] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-19 20:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386077973196832768,"km_value":386077973196832.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:17:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1356638988600608768,"description":"Unknown IO ID 44"} 
[2026-08-19 20:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510572544001,"power":26582,"unknown_142":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-1356638988600608768}} 
[2026-08-19 20:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":159088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:17:39] local.INFO: GPS data processed {"connection_id":159088,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:17:39] local.INFO: Acknowledgment sent {"connection_id":159088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:17:45] local.INFO: TCP Data received {"connection_id":159089,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:17:45] local.INFO: Processing buffer {"connection_id":159089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:17:45] local.INFO: Packet analysis {"connection_id":159089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:17:45] local.INFO: Extracted packet for processing {"connection_id":159089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510522880001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787150781000,"timestamp_ms":1787150781000,"timestamp_seconds":1787150781,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7cca48"} 
[2026-08-19 20:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510522880001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510522880001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:17:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:17:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510522880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":159089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:17:45] local.INFO: GPS data processed {"connection_id":159089,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:17:45] local.INFO: Acknowledgment sent {"connection_id":159089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:18:00] local.INFO: TCP Data received {"connection_id":159090,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:18:00] local.INFO: Processing buffer {"connection_id":159090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:18:00] local.INFO: IMEI packet received {"connection_id":159090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":159090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:18:03] local.INFO: TCP Data received {"connection_id":159090,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:18:03] local.INFO: Processing buffer {"connection_id":159090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:18:03] local.INFO: IMEI packet received {"connection_id":159090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":159090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:18:07] local.INFO: TCP Data received {"connection_id":160410,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:18:07] local.INFO: Processing buffer {"connection_id":160410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:18:07] local.INFO: IMEI packet received {"connection_id":160410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":160410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:18:08] local.INFO: TCP Data received {"connection_id":159090,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:18:08] local.INFO: Processing buffer {"connection_id":159090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:18:08] local.INFO: IMEI packet received {"connection_id":159090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":159090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:18:10] local.INFO: TCP Data received {"connection_id":159090,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7d5ad0012cee93800713dd18002700542f..."} 
[2026-08-19 20:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7d5ad0012cee93800713dd18002700542f..."} 
[2026-08-19 20:18:10] local.INFO: Processing buffer {"connection_id":159090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7d5ad0012cee93800713dd18002700542f..."} 
[2026-08-19 20:18:10] local.INFO: Packet analysis {"connection_id":159090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7d"} 
[2026-08-19 20:18:10] local.INFO: Extracted packet for processing {"connection_id":159090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7d"} 
[2026-08-19 20:18:10] local.INFO: GPS Element Parsed {"raw_longitude":753832832,"raw_latitude":118742296,"longitude_deg":75.3832832,"latitude_deg":11.8742296,"altitude":39,"angle":84,"satellites":47,"speed":38,"hex_longitude":"2cee9380","hex_latitude":"0713dd18","is_valid_coordinates":true} 
[2026-08-19 20:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510607360001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386082281049030656,"note":"Value kept but may cause issues"} 
[2026-08-19 20:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264455933730500608,"note":"Value kept but may cause issues"} 
[2026-08-19 20:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787150818000,"timestamp_ms":1787150818000,"timestamp_seconds":1787150818,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7d5ad0"} 
[2026-08-19 20:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:18: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-08-19 20:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 20:18:10] 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-08-19 20:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510607360001,"66":27332,"206":206,"2":54272,"24":38,"16":386082281049030656,"44":-1264455933730500608},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-08-19 20:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510607360001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:18:10] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-19 20:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386082281049030656,"km_value":386082281049030.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264455933730500608,"description":"Unknown IO ID 44"} 
[2026-08-19 20:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510607360001,"power":27332,"unknown_206":206,"power_alt":54272,"ignition":38,"odometer":null,"unknown_44":-1264455933730500608}} 
[2026-08-19 20:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":159090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:18:10] local.INFO: GPS data processed {"connection_id":159090,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:18:10] local.INFO: Acknowledgment sent {"connection_id":159090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:18:13] local.INFO: TCP Data received {"connection_id":160410,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:18:13] local.INFO: Processing buffer {"connection_id":160410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:18:13] local.INFO: IMEI packet received {"connection_id":160410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":160410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:18:14] local.INFO: TCP Data received {"connection_id":160410,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:18:14] local.INFO: Processing buffer {"connection_id":160410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:18:14] local.INFO: Packet analysis {"connection_id":160410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:18:14] local.INFO: Extracted packet for processing {"connection_id":160410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510522880001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787150781000,"timestamp_ms":1787150781000,"timestamp_seconds":1787150781,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7cca48"} 
[2026-08-19 20:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510522880001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510522880001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:18:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:18:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510522880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":160410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:18:14] local.INFO: GPS data processed {"connection_id":160410,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:18:14] local.INFO: Acknowledgment sent {"connection_id":160410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:18:41] local.INFO: TCP Data received {"connection_id":159090,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7d81e0012ceeb8800713e260002900562e..."} 
[2026-08-19 20:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7d81e0012ceeb8800713e260002900562e..."} 
[2026-08-19 20:18:41] local.INFO: Processing buffer {"connection_id":159090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7d81e0012ceeb8800713e260002900562e..."} 
[2026-08-19 20:18:41] local.INFO: Packet analysis {"connection_id":159090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7d"} 
[2026-08-19 20:18:41] local.INFO: Extracted packet for processing {"connection_id":159090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7d"} 
[2026-08-19 20:18:41] local.INFO: GPS Element Parsed {"raw_longitude":753842304,"raw_latitude":118743648,"longitude_deg":75.3842304,"latitude_deg":11.8743648,"altitude":41,"angle":86,"satellites":46,"speed":34,"hex_longitude":"2ceeb880","hex_latitude":"0713e260","is_valid_coordinates":true} 
[2026-08-19 20:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510609408001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386082732020596736,"note":"Value kept but may cause issues"} 
[2026-08-19 20:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1255519103219853312,"note":"Value kept but may cause issues"} 
[2026-08-19 20:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787150828000,"timestamp_ms":1787150828000,"timestamp_seconds":1787150828,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7d81e0"} 
[2026-08-19 20:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:18: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-08-19 20:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 20:18:41] 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-08-19 20:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510609408001,"66":27245,"206":206,"2":54272,"24":34,"16":386082732020596736,"44":-1255519103219853312},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-08-19 20:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510609408001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:18:41] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-08-19 20:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386082732020596736,"km_value":386082732020596.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1255519103219853312,"description":"Unknown IO ID 44"} 
[2026-08-19 20:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510609408001,"power":27245,"unknown_206":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-1255519103219853312}} 
[2026-08-19 20:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":159090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:18:41] local.INFO: GPS data processed {"connection_id":159090,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:18:41] local.INFO: Acknowledgment sent {"connection_id":159090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:18:45] local.INFO: TCP Data received {"connection_id":160410,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:18:45] local.INFO: Processing buffer {"connection_id":160410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:18:45] local.INFO: Packet analysis {"connection_id":160410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:18:45] local.INFO: Extracted packet for processing {"connection_id":160410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:18:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510522880001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787150781000,"timestamp_ms":1787150781000,"timestamp_seconds":1787150781,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7cca48"} 
[2026-08-19 20:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510522880001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510522880001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:18:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:18:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510522880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":160410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:18:45] local.INFO: GPS data processed {"connection_id":160410,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:18:45] local.INFO: Acknowledgment sent {"connection_id":160410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:19:00] local.INFO: TCP Data received {"connection_id":157862,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:19:00] local.INFO: Processing buffer {"connection_id":157862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:19:00] local.INFO: IMEI packet received {"connection_id":157862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":157862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:19:03] local.INFO: TCP Data received {"connection_id":157862,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:19:03] local.INFO: Processing buffer {"connection_id":157862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:19:03] local.INFO: IMEI packet received {"connection_id":157862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":157862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:19:04] local.INFO: TCP Data received {"connection_id":157862,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7db890012ceedd000713e188002a00612f..."} 
[2026-08-19 20:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7db890012ceedd000713e188002a00612f..."} 
[2026-08-19 20:19:04] local.INFO: Processing buffer {"connection_id":157862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7db890012ceedd000713e188002a00612f..."} 
[2026-08-19 20:19:04] local.INFO: Packet analysis {"connection_id":157862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7d"} 
[2026-08-19 20:19:04] local.INFO: Extracted packet for processing {"connection_id":157862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7d"} 
[2026-08-19 20:19:04] local.INFO: GPS Element Parsed {"raw_longitude":753851648,"raw_latitude":118743432,"longitude_deg":75.3851648,"latitude_deg":11.8743432,"altitude":42,"angle":97,"satellites":47,"speed":23,"hex_longitude":"2ceedd00","hex_latitude":"0713e188","is_valid_coordinates":true} 
[2026-08-19 20:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510611968001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386083174402228224,"note":"Value kept but may cause issues"} 
[2026-08-19 20:19:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1245104529081212928,"note":"Value kept but may cause issues"} 
[2026-08-19 20:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787150842000,"timestamp_ms":1787150842000,"timestamp_seconds":1787150842,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7db890"} 
[2026-08-19 20:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 20:19:04] 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-08-19 20:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510611968001,"66":26810,"71":206,"2":54272,"24":23,"16":386083174402228224,"44":-1245104529081212928},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-08-19 20:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510611968001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:19:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-19 20:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386083174402228224,"km_value":386083174402228.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:19:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1245104529081212928,"description":"Unknown IO ID 44"} 
[2026-08-19 20:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510611968001,"power":26810,"unknown_71":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-1245104529081212928}} 
[2026-08-19 20:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":157862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:19:04] local.INFO: GPS data processed {"connection_id":157862,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:19:04] local.INFO: Acknowledgment sent {"connection_id":157862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:19:05] local.INFO: TCP Data received {"connection_id":157862,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7df710012cef01800713dc980029006130..."} 
[2026-08-19 20:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7df710012cef01800713dc980029006130..."} 
[2026-08-19 20:19:05] local.INFO: Processing buffer {"connection_id":157862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7df710012cef01800713dc980029006130..."} 
[2026-08-19 20:19:05] local.INFO: Packet analysis {"connection_id":157862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7d"} 
[2026-08-19 20:19:05] local.INFO: Extracted packet for processing {"connection_id":157862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7d"} 
[2026-08-19 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":753860992,"raw_latitude":118742168,"longitude_deg":75.3860992,"latitude_deg":11.8742168,"altitude":41,"angle":97,"satellites":48,"speed":23,"hex_longitude":"2cef0180","hex_latitude":"0713dc98","is_valid_coordinates":true} 
[2026-08-19 20:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510615552001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386083625373794304,"note":"Value kept but may cause issues"} 
[2026-08-19 20:19:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1234830692431329280,"note":"Value kept but may cause issues"} 
[2026-08-19 20:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787150858000,"timestamp_ms":1787150858000,"timestamp_seconds":1787150858,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7df710"} 
[2026-08-19 20:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:19: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-08-19 20:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-19 20:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2392,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510615552001,"66":27397,"71":206,"2":54272,"24":23,"16":386083625373794304,"44":-1234830692431329280},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-08-19 20:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510615552001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:19:05] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-19 20:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386083625373794304,"km_value":386083625373794.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:19:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1234830692431329280,"description":"Unknown IO ID 44"} 
[2026-08-19 20:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510615552001,"power":27397,"unknown_71":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-1234830692431329280}} 
[2026-08-19 20:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":157862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:19:05] local.INFO: GPS data processed {"connection_id":157862,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:19:05] local.INFO: Acknowledgment sent {"connection_id":157862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:19:13] local.INFO: TCP Data received {"connection_id":158230,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:19:13] local.INFO: Processing buffer {"connection_id":158230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:19:13] local.INFO: IMEI packet received {"connection_id":158230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":158230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:19:18] local.INFO: TCP Data received {"connection_id":158230,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:19:18] local.INFO: Processing buffer {"connection_id":158230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:19:18] local.INFO: IMEI packet received {"connection_id":158230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":158230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:19:19] local.INFO: TCP Data received {"connection_id":158230,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:19:19] local.INFO: Processing buffer {"connection_id":158230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:19:19] local.INFO: Packet analysis {"connection_id":158230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:19:19] local.INFO: Extracted packet for processing {"connection_id":158230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 20:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510522880001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787150781000,"timestamp_ms":1787150781000,"timestamp_seconds":1787150781,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7cca48"} 
[2026-08-19 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-08-19 20:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 20:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:19:19] 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-08-19 20:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510522880001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510522880001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:19:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510522880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":158230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:19:19] local.INFO: GPS data processed {"connection_id":158230,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:19:19] local.INFO: Acknowledgment sent {"connection_id":158230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:19:23] local.INFO: TCP Data received {"connection_id":158230,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:19:23] local.INFO: Processing buffer {"connection_id":158230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:19:23] local.INFO: Packet analysis {"connection_id":158230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:19:23] local.INFO: Extracted packet for processing {"connection_id":158230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:19:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510522880001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787150781000,"timestamp_ms":1787150781000,"timestamp_seconds":1787150781,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7cca48"} 
[2026-08-19 20:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:19:23] 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-08-19 20:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510522880001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510522880001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:19:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:19:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510522880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":158230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:19:23] local.INFO: GPS data processed {"connection_id":158230,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:19:23] local.INFO: Acknowledgment sent {"connection_id":158230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:19:36] local.INFO: TCP Data received {"connection_id":157862,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7e31a8012cef27000713d8b00025005e31..."} 
[2026-08-19 20:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7e31a8012cef27000713d8b00025005e31..."} 
[2026-08-19 20:19:36] local.INFO: Processing buffer {"connection_id":157862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7e31a8012cef27000713d8b00025005e31..."} 
[2026-08-19 20:19:36] local.INFO: Packet analysis {"connection_id":157862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7e"} 
[2026-08-19 20:19:36] local.INFO: Extracted packet for processing {"connection_id":157862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7e"} 
[2026-08-19 20:19:36] local.INFO: GPS Element Parsed {"raw_longitude":753870592,"raw_latitude":118741168,"longitude_deg":75.3870592,"latitude_deg":11.8741168,"altitude":37,"angle":94,"satellites":49,"speed":26,"hex_longitude":"2cef2700","hex_latitude":"0713d8b0","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510619648001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386084084935294976,"note":"Value kept but may cause issues"} 
[2026-08-19 20:19:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1224556855781713920,"note":"Value kept but may cause issues"} 
[2026-08-19 20:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787150873000,"timestamp_ms":1787150873000,"timestamp_seconds":1787150873,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7e31a8"} 
[2026-08-19 20:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:19: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-08-19 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 20:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510619648001,"66":27343,"71":206,"2":54272,"24":26,"16":386084084935294976,"44":-1224556855781713920},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-08-19 20:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510619648001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:19:36] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-19 20:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386084084935294976,"km_value":386084084935295.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:19:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1224556855781713920,"description":"Unknown IO ID 44"} 
[2026-08-19 20:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510619648001,"power":27343,"unknown_71":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-1224556855781713920}} 
[2026-08-19 20:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":157862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:19:36] local.INFO: GPS data processed {"connection_id":157862,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:19:36] local.INFO: Acknowledgment sent {"connection_id":157862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:19:57] local.INFO: TCP Data received {"connection_id":158231,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:19:57] local.INFO: Processing buffer {"connection_id":158231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:19:57] local.INFO: IMEI packet received {"connection_id":158231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":158231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:19:58] local.INFO: TCP Data received {"connection_id":158231,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:19:58] local.INFO: Processing buffer {"connection_id":158231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:19:58] local.INFO: IMEI packet received {"connection_id":158231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":158231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:20:04] local.INFO: TCP Data received {"connection_id":158231,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:20:04] local.INFO: Processing buffer {"connection_id":158231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:20:04] local.INFO: IMEI packet received {"connection_id":158231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":158231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:20:06] local.INFO: TCP Data received {"connection_id":158231,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7e6858012cef4a800713d6280025005e2f..."} 
[2026-08-19 20:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7e6858012cef4a800713d6280025005e2f..."} 
[2026-08-19 20:20:06] local.INFO: Processing buffer {"connection_id":158231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7e6858012cef4a800713d6280025005e2f..."} 
[2026-08-19 20:20:06] local.INFO: Packet analysis {"connection_id":158231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7e"} 
[2026-08-19 20:20:06] local.INFO: Extracted packet for processing {"connection_id":158231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7e"} 
[2026-08-19 20:20:06] local.INFO: GPS Element Parsed {"raw_longitude":753879680,"raw_latitude":118740520,"longitude_deg":75.387968,"latitude_deg":11.874052,"altitude":37,"angle":94,"satellites":47,"speed":25,"hex_longitude":"2cef4a80","hex_latitude":"0713d628","is_valid_coordinates":true} 
[2026-08-19 20:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510623488001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386084514432024576,"note":"Value kept but may cause issues"} 
[2026-08-19 20:20:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1214001544155320320,"note":"Value kept but may cause issues"} 
[2026-08-19 20:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787150887000,"timestamp_ms":1787150887000,"timestamp_seconds":1787150887,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7e6858"} 
[2026-08-19 20:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 20:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510623488001,"66":27245,"71":206,"2":54272,"24":25,"16":386084514432024576,"44":-1214001544155320320},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-08-19 20:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510623488001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:20:06] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-19 20:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386084514432024576,"km_value":386084514432024.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:20:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1214001544155320320,"description":"Unknown IO ID 44"} 
[2026-08-19 20:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510623488001,"power":27245,"unknown_71":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-1214001544155320320}} 
[2026-08-19 20:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":158231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:20:06] local.INFO: GPS data processed {"connection_id":158231,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:20:06] local.INFO: Acknowledgment sent {"connection_id":158231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:20:08] local.INFO: TCP Data received {"connection_id":158232,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:20:08] local.INFO: Processing buffer {"connection_id":158232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:20:08] local.INFO: IMEI packet received {"connection_id":158232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":158232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:20:13] local.INFO: TCP Data received {"connection_id":158232,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:20:13] local.INFO: Processing buffer {"connection_id":158232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:20:13] local.INFO: IMEI packet received {"connection_id":158232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":158232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:20:14] local.INFO: TCP Data received {"connection_id":158232,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:20:14] local.INFO: Processing buffer {"connection_id":158232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:20:14] local.INFO: Packet analysis {"connection_id":158232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:20:14] local.INFO: Extracted packet for processing {"connection_id":158232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510522880001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787150781000,"timestamp_ms":1787150781000,"timestamp_seconds":1787150781,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7cca48"} 
[2026-08-19 20:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510522880001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510522880001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:20:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:20:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510522880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":158232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:20:14] local.INFO: GPS data processed {"connection_id":158232,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:20:14] local.INFO: Acknowledgment sent {"connection_id":158232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:20:37] local.INFO: TCP Data received {"connection_id":158231,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7eaea8012cef6e400713d3c80027006731..."} 
[2026-08-19 20:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7eaea8012cef6e400713d3c80027006731..."} 
[2026-08-19 20:20:37] local.INFO: Processing buffer {"connection_id":158231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7eaea8012cef6e400713d3c80027006731..."} 
[2026-08-19 20:20:37] local.INFO: Packet analysis {"connection_id":158231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7e"} 
[2026-08-19 20:20:37] local.INFO: Extracted packet for processing {"connection_id":158231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7e"} 
[2026-08-19 20:20:37] local.INFO: GPS Element Parsed {"raw_longitude":753888832,"raw_latitude":118739912,"longitude_deg":75.3888832,"latitude_deg":11.8739912,"altitude":39,"angle":103,"satellites":49,"speed":18,"hex_longitude":"2cef6e40","hex_latitude":"0713d3c8","is_valid_coordinates":true} 
[2026-08-19 20:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510627072001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386084952518688768,"note":"Value kept but may cause issues"} 
[2026-08-19 20:20:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1204009182482257920,"note":"Value kept but may cause issues"} 
[2026-08-19 20:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787150905000,"timestamp_ms":1787150905000,"timestamp_seconds":1787150905,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7eaea8"} 
[2026-08-19 20:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 20:20:37] 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-08-19 20:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510627072001,"66":27343,"71":206,"2":54272,"24":18,"16":386084952518688768,"44":-1204009182482257920},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,44]} 
[2026-08-19 20:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510627072001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:20:37] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-19 20:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386084952518688768,"km_value":386084952518688.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:20:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1204009182482257920,"description":"Unknown IO ID 44"} 
[2026-08-19 20:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510627072001,"power":27343,"unknown_71":206,"power_alt":54272,"ignition":18,"odometer":null,"unknown_44":-1204009182482257920}} 
[2026-08-19 20:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":158231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:20:37] local.INFO: GPS data processed {"connection_id":158231,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:20:37] local.INFO: Acknowledgment sent {"connection_id":158231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:20:45] local.INFO: TCP Data received {"connection_id":158232,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:20:45] local.INFO: Processing buffer {"connection_id":158232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:20:45] local.INFO: Packet analysis {"connection_id":158232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:20:45] local.INFO: Extracted packet for processing {"connection_id":158232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:20:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510522880001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787150781000,"timestamp_ms":1787150781000,"timestamp_seconds":1787150781,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7cca48"} 
[2026-08-19 20:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510522880001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510522880001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:20:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:20:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510522880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":158232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:20:45] local.INFO: GPS data processed {"connection_id":158232,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:20:45] local.INFO: Acknowledgment sent {"connection_id":158232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:20:58] local.INFO: TCP Data received {"connection_id":159091,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:20:58] local.INFO: Processing buffer {"connection_id":159091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:20:58] local.INFO: IMEI packet received {"connection_id":159091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":159091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:21:04] local.INFO: TCP Data received {"connection_id":159091,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:21:04] local.INFO: Processing buffer {"connection_id":159091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:21:04] local.INFO: IMEI packet received {"connection_id":159091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":159091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:21:05] local.INFO: TCP Data received {"connection_id":159091,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7ec618012cef78400713d0180027007431..."} 
[2026-08-19 20:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7ec618012cef78400713d0180027007431..."} 
[2026-08-19 20:21:05] local.INFO: Processing buffer {"connection_id":159091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7ec618012cef78400713d0180027007431..."} 
[2026-08-19 20:21:05] local.INFO: Packet analysis {"connection_id":159091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7e"} 
[2026-08-19 20:21:05] local.INFO: Extracted packet for processing {"connection_id":159091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7e"} 
[2026-08-19 20:21:05] local.INFO: GPS Element Parsed {"raw_longitude":753891392,"raw_latitude":118738968,"longitude_deg":75.3891392,"latitude_deg":11.8738968,"altitude":39,"angle":116,"satellites":49,"speed":17,"hex_longitude":"2cef7840","hex_latitude":"0713d018","is_valid_coordinates":true} 
[2026-08-19 20:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510631680001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386085081367707648,"note":"Value kept but may cause issues"} 
[2026-08-19 20:21:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1193946452065007616,"note":"Value kept but may cause issues"} 
[2026-08-19 20:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787150911000,"timestamp_ms":1787150911000,"timestamp_seconds":1787150911,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7ec618"} 
[2026-08-19 20:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:21: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-08-19 20:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 20:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510631680001,"66":27343,"154":206,"2":54272,"24":17,"16":386085081367707648,"44":-1193946452065007616},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,2,24,16,44]} 
[2026-08-19 20:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510631680001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:21:05] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 20:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386085081367707648,"km_value":386085081367707.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:21:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1193946452065007616,"description":"Unknown IO ID 44"} 
[2026-08-19 20:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510631680001,"power":27343,"unknown_154":206,"power_alt":54272,"ignition":17,"odometer":null,"unknown_44":-1193946452065007616}} 
[2026-08-19 20:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":159091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:21:05] local.INFO: GPS data processed {"connection_id":159091,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:21:05] local.INFO: Acknowledgment sent {"connection_id":159091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:21:08] local.INFO: TCP Data received {"connection_id":159092,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:21:08] local.INFO: Processing buffer {"connection_id":159092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:21:08] local.INFO: IMEI packet received {"connection_id":159092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":159092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:21:13] local.INFO: TCP Data received {"connection_id":159092,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:21:13] local.INFO: Processing buffer {"connection_id":159092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:21:13] local.INFO: IMEI packet received {"connection_id":159092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":159092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:21:14] local.INFO: TCP Data received {"connection_id":159092,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:21:14] local.INFO: Processing buffer {"connection_id":159092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:21:14] local.INFO: Packet analysis {"connection_id":159092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:21:14] local.INFO: Extracted packet for processing {"connection_id":159092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:21:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510522880001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787150781000,"timestamp_ms":1787150781000,"timestamp_seconds":1787150781,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7cca48"} 
[2026-08-19 20:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510522880001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510522880001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:21:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:21:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510522880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":159092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:21:14] local.INFO: GPS data processed {"connection_id":159092,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:21:14] local.INFO: Acknowledgment sent {"connection_id":159092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:21:37] local.INFO: TCP Data received {"connection_id":159091,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7ed9a0012cef80800713caa80028008031..."} 
[2026-08-19 20:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7ed9a0012cef80800713caa80028008031..."} 
[2026-08-19 20:21:37] local.INFO: Processing buffer {"connection_id":159091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7ed9a0012cef80800713caa80028008031..."} 
[2026-08-19 20:21:37] local.INFO: Packet analysis {"connection_id":159091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7e"} 
[2026-08-19 20:21:37] local.INFO: Extracted packet for processing {"connection_id":159091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7e"} 
[2026-08-19 20:21:37] local.INFO: GPS Element Parsed {"raw_longitude":753893504,"raw_latitude":118737576,"longitude_deg":75.3893504,"latitude_deg":11.8737576,"altitude":40,"angle":128,"satellites":49,"speed":22,"hex_longitude":"2cef8080","hex_latitude":"0713caa8","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510633216001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386085201626791936,"note":"Value kept but may cause issues"} 
[2026-08-19 20:21:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1191131702298142720,"note":"Value kept but may cause issues"} 
[2026-08-19 20:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787150916000,"timestamp_ms":1787150916000,"timestamp_seconds":1787150916,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7ed9a0"} 
[2026-08-19 20:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 20:21:37] 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-08-19 20: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-08-19 20:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510633216001,"66":27365,"154":206,"2":54272,"24":22,"16":386085201626791936,"44":-1191131702298142720},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,2,24,16,44]} 
[2026-08-19 20:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510633216001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:21:37] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 20:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386085201626791936,"km_value":386085201626791.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:21:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1191131702298142720,"description":"Unknown IO ID 44"} 
[2026-08-19 20:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510633216001,"power":27365,"unknown_154":206,"power_alt":54272,"ignition":22,"odometer":null,"unknown_44":-1191131702298142720}} 
[2026-08-19 20:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":159091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:21:37] local.INFO: GPS data processed {"connection_id":159091,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:21:37] local.INFO: Acknowledgment sent {"connection_id":159091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:21:45] local.INFO: TCP Data received {"connection_id":159092,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:21:45] local.INFO: Processing buffer {"connection_id":159092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7cca48012d196500071ff128004701462b..."} 
[2026-08-19 20:21:45] local.INFO: Packet analysis {"connection_id":159092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:21:45] local.INFO: Extracted packet for processing {"connection_id":159092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7c"} 
[2026-08-19 20:21:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510522880001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787150781000,"timestamp_ms":1787150781000,"timestamp_seconds":1787150781,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7cca48"} 
[2026-08-19 20:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510522880001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510522880001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:21:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:21:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510522880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":159092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:21:45] local.INFO: GPS data processed {"connection_id":159092,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:21:45] local.INFO: Acknowledgment sent {"connection_id":159092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:21:58] local.INFO: TCP Data received {"connection_id":159093,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:21:58] local.INFO: Processing buffer {"connection_id":159093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:21:58] local.INFO: IMEI packet received {"connection_id":159093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":159093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:22:04] local.INFO: TCP Data received {"connection_id":159093,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:22:04] local.INFO: Processing buffer {"connection_id":159093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:22:04] local.INFO: IMEI packet received {"connection_id":159093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":159093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:22:05] local.INFO: TCP Data received {"connection_id":159093,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7f2ba8012cef92c00713b7780029008a30..."} 
[2026-08-19 20:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7f2ba8012cef92c00713b7780029008a30..."} 
[2026-08-19 20:22:05] local.INFO: Processing buffer {"connection_id":159093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7f2ba8012cef92c00713b7780029008a30..."} 
[2026-08-19 20:22:05] local.INFO: Packet analysis {"connection_id":159093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7f"} 
[2026-08-19 20:22:05] local.INFO: Extracted packet for processing {"connection_id":159093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7f"} 
[2026-08-19 20:22:05] local.INFO: GPS Element Parsed {"raw_longitude":753898176,"raw_latitude":118732664,"longitude_deg":75.3898176,"latitude_deg":11.8732664,"altitude":41,"angle":138,"satellites":48,"speed":15,"hex_longitude":"2cef92c0","hex_latitude":"0713b778","is_valid_coordinates":true} 
[2026-08-19 20:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510634496001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386085528044306432,"note":"Value kept but may cause issues"} 
[2026-08-19 20:22:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1188809533740636160,"note":"Value kept but may cause issues"} 
[2026-08-19 20:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787150937000,"timestamp_ms":1787150937000,"timestamp_seconds":1787150937,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7f2ba8"} 
[2026-08-19 20:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:22: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-08-19 20:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 20:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510634496001,"66":27463,"154":206,"2":54272,"24":15,"16":386085528044306432,"44":-1188809533740636160},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,2,24,16,44]} 
[2026-08-19 20:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510634496001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:22:05] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 20:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386085528044306432,"km_value":386085528044306.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:22:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1188809533740636160,"description":"Unknown IO ID 44"} 
[2026-08-19 20:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510634496001,"power":27463,"unknown_154":206,"power_alt":54272,"ignition":15,"odometer":null,"unknown_44":-1188809533740636160}} 
[2026-08-19 20:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":159093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:22:05] local.INFO: GPS data processed {"connection_id":159093,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:22:05] local.INFO: Acknowledgment sent {"connection_id":159093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:22:08] local.INFO: TCP Data received {"connection_id":157863,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:22:08] local.INFO: Processing buffer {"connection_id":157863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:22:08] local.INFO: IMEI packet received {"connection_id":157863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":157863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:22:13] local.INFO: TCP Data received {"connection_id":157863,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:22:13] local.INFO: Processing buffer {"connection_id":157863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:22:13] local.INFO: IMEI packet received {"connection_id":157863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":157863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:22:14] local.INFO: TCP Data received {"connection_id":157863,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:22:14] local.INFO: Processing buffer {"connection_id":157863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:22:14] local.INFO: Packet analysis {"connection_id":157863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:22:14] local.INFO: Extracted packet for processing {"connection_id":157863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:22:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510599936001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787151082000,"timestamp_ms":1787151082000,"timestamp_seconds":1787151082,"priority":1,"record_length":96,"hex_timestamp":"000001a01a816210"} 
[2026-08-19 20:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:22:14] 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-08-19 20: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-08-19 20:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510599936001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510599936001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:22:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:22:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510599936001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":157863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:22:14] local.INFO: GPS data processed {"connection_id":157863,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:22:14] local.INFO: Acknowledgment sent {"connection_id":157863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:22:36] local.INFO: TCP Data received {"connection_id":159093,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a7f4700012cef9f000713ab880029007d30..."} 
[2026-08-19 20:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a7f4700012cef9f000713ab880029007d30..."} 
[2026-08-19 20:22:36] local.INFO: Processing buffer {"connection_id":159093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a7f4700012cef9f000713ab880029007d30..."} 
[2026-08-19 20:22:36] local.INFO: Packet analysis {"connection_id":159093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a7f"} 
[2026-08-19 20:22:36] local.INFO: Extracted packet for processing {"connection_id":159093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a7f"} 
[2026-08-19 20:22:36] local.INFO: GPS Element Parsed {"raw_longitude":753901312,"raw_latitude":118729608,"longitude_deg":75.3901312,"latitude_deg":11.8729608,"altitude":41,"angle":125,"satellites":48,"speed":30,"hex_longitude":"2cef9f00","hex_latitude":"0713ab88","is_valid_coordinates":true} 
[2026-08-19 20:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510639872001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386085738497703936,"note":"Value kept but may cause issues"} 
[2026-08-19 20:22:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1183672615416924160,"note":"Value kept but may cause issues"} 
[2026-08-19 20:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787150944000,"timestamp_ms":1787150944000,"timestamp_seconds":1787150944,"priority":1,"record_length":96,"hex_timestamp":"000001a01a7f4700"} 
[2026-08-19 20:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:22: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-08-19 20:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 20:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510639872001,"66":27158,"154":206,"2":54272,"24":30,"16":386085738497703936,"44":-1183672615416924160},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,2,24,16,44]} 
[2026-08-19 20:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510639872001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:22:36] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 20:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386085738497703936,"km_value":386085738497703.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:22:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1183672615416924160,"description":"Unknown IO ID 44"} 
[2026-08-19 20:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510639872001,"power":27158,"unknown_154":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-1183672615416924160}} 
[2026-08-19 20:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":159093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:22:36] local.INFO: GPS data processed {"connection_id":159093,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:22:36] local.INFO: Acknowledgment sent {"connection_id":159093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:22:45] local.INFO: TCP Data received {"connection_id":157863,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:22:45] local.INFO: Processing buffer {"connection_id":157863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:22:45] local.INFO: Packet analysis {"connection_id":157863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:22:45] local.INFO: Extracted packet for processing {"connection_id":157863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510599936001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787151082000,"timestamp_ms":1787151082000,"timestamp_seconds":1787151082,"priority":1,"record_length":96,"hex_timestamp":"000001a01a816210"} 
[2026-08-19 20:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:22:45] 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-08-19 20: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-08-19 20:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510599936001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510599936001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:22:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:22:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510599936001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":157863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:22:45] local.INFO: GPS data processed {"connection_id":157863,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:22:45] local.INFO: Acknowledgment sent {"connection_id":157863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:23:04] local.INFO: TCP Data received {"connection_id":160411,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:23:04] local.INFO: Processing buffer {"connection_id":160411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:23:04] local.INFO: IMEI packet received {"connection_id":160411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":160411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:23:08] local.INFO: TCP Data received {"connection_id":160411,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:23:08] local.INFO: Processing buffer {"connection_id":160411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:23:08] local.INFO: IMEI packet received {"connection_id":160411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":160411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:23:10] local.INFO: TCP Data received {"connection_id":160411,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a81a090012cf07e4007136e70002e004931..."} 
[2026-08-19 20:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a81a090012cf07e4007136e70002e004931..."} 
[2026-08-19 20:23:10] local.INFO: Processing buffer {"connection_id":160411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a81a090012cf07e4007136e70002e004931..."} 
[2026-08-19 20:23:10] local.INFO: Packet analysis {"connection_id":160411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:23:10] local.INFO: Extracted packet for processing {"connection_id":160411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:23:10] local.INFO: GPS Element Parsed {"raw_longitude":753958464,"raw_latitude":118713968,"longitude_deg":75.3958464,"latitude_deg":11.8713968,"altitude":46,"angle":73,"satellites":49,"speed":0,"hex_longitude":"2cf07e40","hex_latitude":"07136e70","is_valid_coordinates":true} 
[2026-08-19 20:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510675712001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386088616125792256,"note":"Value kept but may cause issues"} 
[2026-08-19 20:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1121888858033991680,"note":"Value kept but may cause issues"} 
[2026-08-19 20:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787151098000,"timestamp_ms":1787151098000,"timestamp_seconds":1787151098,"priority":1,"record_length":96,"hex_timestamp":"000001a01a81a090"} 
[2026-08-19 20:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:23: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-08-19 20:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 20:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510675712001,"66":27539,"64":206,"2":54272,"24":0,"16":386088616125792256,"44":-1121888858033991680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-19 20:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510675712001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:23:10] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-19 20:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386088616125792256,"km_value":386088616125792.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1121888858033991680,"description":"Unknown IO ID 44"} 
[2026-08-19 20:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510675712001,"power":27539,"unknown_64":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1121888858033991680}} 
[2026-08-19 20:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":160411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:23:10] local.INFO: GPS data processed {"connection_id":160411,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:23:10] local.INFO: Acknowledgment sent {"connection_id":160411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:23:13] local.INFO: TCP Data received {"connection_id":158233,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:23:13] local.INFO: Processing buffer {"connection_id":158233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:23:13] local.INFO: IMEI packet received {"connection_id":158233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":158233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:23:14] local.INFO: TCP Data received {"connection_id":160411,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a81f298012cf081c007136fb80030004930..."} 
[2026-08-19 20:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a81f298012cf081c007136fb80030004930..."} 
[2026-08-19 20:23:14] local.INFO: Processing buffer {"connection_id":160411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a81f298012cf081c007136fb80030004930..."} 
[2026-08-19 20:23:14] local.INFO: Packet analysis {"connection_id":160411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:23:14] local.INFO: Extracted packet for processing {"connection_id":160411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:23:14] local.INFO: GPS Element Parsed {"raw_longitude":753959360,"raw_latitude":118714296,"longitude_deg":75.395936,"latitude_deg":11.8714296,"altitude":48,"angle":73,"satellites":48,"speed":0,"hex_longitude":"2cf081c0","hex_latitude":"07136fb8","is_valid_coordinates":true} 
[2026-08-19 20:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510681088001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386088667665399808,"note":"Value kept but may cause issues"} 
[2026-08-19 20:23:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1117385258406350848,"note":"Value kept but may cause issues"} 
[2026-08-19 20:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787151119000,"timestamp_ms":1787151119000,"timestamp_seconds":1787151119,"priority":1,"record_length":96,"hex_timestamp":"000001a01a81f298"} 
[2026-08-19 20:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:23: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-08-19 20:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-19 20:23:14] 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-08-19 20:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510681088001,"66":27082,"64":206,"2":54272,"24":0,"16":386088667665399808,"44":-1117385258406350848},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-19 20:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510681088001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:23:14] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-19 20:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386088667665399808,"km_value":386088667665399.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:23:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1117385258406350848,"description":"Unknown IO ID 44"} 
[2026-08-19 20:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510681088001,"power":27082,"unknown_64":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1117385258406350848}} 
[2026-08-19 20:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":160411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:23:14] local.INFO: GPS data processed {"connection_id":160411,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:23:14] local.INFO: Acknowledgment sent {"connection_id":160411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:23:18] local.INFO: TCP Data received {"connection_id":158233,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:23:18] local.INFO: Processing buffer {"connection_id":158233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:23:18] local.INFO: IMEI packet received {"connection_id":158233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":158233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:23:19] local.INFO: TCP Data received {"connection_id":158233,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:23:19] local.INFO: Processing buffer {"connection_id":158233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:23:19] local.INFO: Packet analysis {"connection_id":158233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:23:19] local.INFO: Extracted packet for processing {"connection_id":158233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:23:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510599936001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787151082000,"timestamp_ms":1787151082000,"timestamp_seconds":1787151082,"priority":1,"record_length":96,"hex_timestamp":"000001a01a816210"} 
[2026-08-19 20:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510599936001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510599936001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:23:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:23:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510599936001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":158233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:23:19] local.INFO: GPS data processed {"connection_id":158233,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:23:19] local.INFO: Acknowledgment sent {"connection_id":158233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:23:23] local.INFO: TCP Data received {"connection_id":158233,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:23:23] local.INFO: Processing buffer {"connection_id":158233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:23:23] local.INFO: Packet analysis {"connection_id":158233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:23:23] local.INFO: Extracted packet for processing {"connection_id":158233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:23:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510599936001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787151082000,"timestamp_ms":1787151082000,"timestamp_seconds":1787151082,"priority":1,"record_length":96,"hex_timestamp":"000001a01a816210"} 
[2026-08-19 20:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:23:23] 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-08-19 20:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510599936001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510599936001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:23:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:23:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510599936001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":158233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:23:23] local.INFO: GPS data processed {"connection_id":158233,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:23:23] local.INFO: Acknowledgment sent {"connection_id":158233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:23:59] local.INFO: TCP Data received {"connection_id":160412,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:23:59] local.INFO: Processing buffer {"connection_id":160412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:23:59] local.INFO: IMEI packet received {"connection_id":160412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":160412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:24:04] local.INFO: TCP Data received {"connection_id":160412,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:24:04] local.INFO: Processing buffer {"connection_id":160412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:24:04] local.INFO: IMEI packet received {"connection_id":160412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":160412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:24:05] local.INFO: TCP Data received {"connection_id":160412,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8244a0012cf08600071371300033004931..."} 
[2026-08-19 20:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8244a0012cf08600071371300033004931..."} 
[2026-08-19 20:24:05] local.INFO: Processing buffer {"connection_id":160412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8244a0012cf08600071371300033004931..."} 
[2026-08-19 20:24:05] local.INFO: Packet analysis {"connection_id":160412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a82"} 
[2026-08-19 20:24:05] local.INFO: Extracted packet for processing {"connection_id":160412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a82"} 
[2026-08-19 20:24:05] local.INFO: GPS Element Parsed {"raw_longitude":753960448,"raw_latitude":118714672,"longitude_deg":75.3960448,"latitude_deg":11.8714672,"altitude":51,"angle":73,"satellites":49,"speed":3,"hex_longitude":"2cf08600","hex_latitude":"07137130","is_valid_coordinates":true} 
[2026-08-19 20:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510686464001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386088719205007360,"note":"Value kept but may cause issues"} 
[2026-08-19 20:24:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1116400095987779584,"note":"Value kept but may cause issues"} 
[2026-08-19 20:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787151140000,"timestamp_ms":1787151140000,"timestamp_seconds":1787151140,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8244a0"} 
[2026-08-19 20:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:24: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-08-19 20:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-19 20:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510686464001,"66":27332,"64":206,"2":54272,"24":3,"16":386088719205007360,"44":-1116400095987779584},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-19 20:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510686464001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:24:05] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-19 20:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386088719205007360,"km_value":386088719205007.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:24:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1116400095987779584,"description":"Unknown IO ID 44"} 
[2026-08-19 20:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510686464001,"power":27332,"unknown_64":206,"power_alt":54272,"ignition":3,"odometer":null,"unknown_44":-1116400095987779584}} 
[2026-08-19 20:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":160412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:24:05] local.INFO: GPS data processed {"connection_id":160412,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:24:05] local.INFO: Acknowledgment sent {"connection_id":160412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:24:08] local.INFO: TCP Data received {"connection_id":159094,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:24:08] local.INFO: Processing buffer {"connection_id":159094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:24:08] local.INFO: IMEI packet received {"connection_id":159094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":159094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:24:13] local.INFO: TCP Data received {"connection_id":159094,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:24:13] local.INFO: Processing buffer {"connection_id":159094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:24:13] local.INFO: IMEI packet received {"connection_id":159094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":159094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:24:14] local.INFO: TCP Data received {"connection_id":159094,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:24:14] local.INFO: Processing buffer {"connection_id":159094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:24:14] local.INFO: Packet analysis {"connection_id":159094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:24:14] local.INFO: Extracted packet for processing {"connection_id":159094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:24:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:24: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-08-19 20:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510599936001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787151082000,"timestamp_ms":1787151082000,"timestamp_seconds":1787151082,"priority":1,"record_length":96,"hex_timestamp":"000001a01a816210"} 
[2026-08-19 20:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:24: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":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:24:14] 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-08-19 20:24: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-08-19 20:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510599936001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510599936001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:24:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:24:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510599936001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":159094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:24:14] local.INFO: GPS data processed {"connection_id":159094,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:24:14] local.INFO: Acknowledgment sent {"connection_id":159094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:24:40] local.INFO: TCP Data received {"connection_id":160412,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8296a8012cf089c0071372700034004930..."} 
[2026-08-19 20:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8296a8012cf089c0071372700034004930..."} 
[2026-08-19 20:24:40] local.INFO: Processing buffer {"connection_id":160412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8296a8012cf089c0071372700034004930..."} 
[2026-08-19 20:24:40] local.INFO: Packet analysis {"connection_id":160412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a82"} 
[2026-08-19 20:24:40] local.INFO: Extracted packet for processing {"connection_id":160412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a82"} 
[2026-08-19 20:24:40] local.INFO: GPS Element Parsed {"raw_longitude":753961408,"raw_latitude":118714992,"longitude_deg":75.3961408,"latitude_deg":11.8714992,"altitude":52,"angle":73,"satellites":48,"speed":0,"hex_longitude":"2cf089c0","hex_latitude":"07137270","is_valid_coordinates":true} 
[2026-08-19 20:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510691840001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386088770744614912,"note":"Value kept but may cause issues"} 
[2026-08-19 20:24:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1115203827336663040,"note":"Value kept but may cause issues"} 
[2026-08-19 20:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787151161000,"timestamp_ms":1787151161000,"timestamp_seconds":1787151161,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8296a8"} 
[2026-08-19 20:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 20:24:40] 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-08-19 20:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510691840001,"66":27397,"64":206,"2":54272,"24":0,"16":386088770744614912,"44":-1115203827336663040},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-08-19 20:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510691840001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:24:40] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-19 20:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386088770744614912,"km_value":386088770744614.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:24:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1115203827336663040,"description":"Unknown IO ID 44"} 
[2026-08-19 20:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510691840001,"power":27397,"unknown_64":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1115203827336663040}} 
[2026-08-19 20:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":160412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:24:40] local.INFO: GPS data processed {"connection_id":160412,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:24:40] local.INFO: Acknowledgment sent {"connection_id":160412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:24:45] local.INFO: TCP Data received {"connection_id":159094,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:24:45] local.INFO: Processing buffer {"connection_id":159094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:24:45] local.INFO: Packet analysis {"connection_id":159094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:24:45] local.INFO: Extracted packet for processing {"connection_id":159094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:24:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510599936001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787151082000,"timestamp_ms":1787151082000,"timestamp_seconds":1787151082,"priority":1,"record_length":96,"hex_timestamp":"000001a01a816210"} 
[2026-08-19 20:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:24:45] 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-08-19 20:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510599936001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510599936001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:24:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:24:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510599936001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":159094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:24:45] local.INFO: GPS data processed {"connection_id":159094,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:24:45] local.INFO: Acknowledgment sent {"connection_id":159094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:24:59] local.INFO: TCP Data received {"connection_id":159095,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:24:59] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:24:59] local.INFO: IMEI packet received {"connection_id":159095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":159095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:25:03] local.INFO: TCP Data received {"connection_id":159095,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:25:03] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:25:03] local.INFO: IMEI packet received {"connection_id":159095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":159095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:25:04] local.INFO: TCP Data received {"connection_id":159095,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a83ea80012cf12dc007136758001b007227..."} 
[2026-08-19 20:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a83ea80012cf12dc007136758001b007227..."} 
[2026-08-19 20:25:04] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a83ea80012cf12dc007136758001b007227..."} 
[2026-08-19 20:25:04] local.INFO: Packet analysis {"connection_id":159095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a83"} 
[2026-08-19 20:25:04] local.INFO: Extracted packet for processing {"connection_id":159095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a83"} 
[2026-08-19 20:25:04] local.INFO: GPS Element Parsed {"raw_longitude":754003392,"raw_latitude":118712152,"longitude_deg":75.4003392,"latitude_deg":11.8712152,"altitude":27,"angle":114,"satellites":39,"speed":43,"hex_longitude":"2cf12dc0","hex_latitude":"07136758","is_valid_coordinates":true} 
[2026-08-19 20:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510717184001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386090845213818880,"note":"Value kept but may cause issues"} 
[2026-08-19 20:25:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1077626917945378816,"note":"Value kept but may cause issues"} 
[2026-08-19 20:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787151248000,"timestamp_ms":1787151248000,"timestamp_seconds":1787151248,"priority":1,"record_length":96,"hex_timestamp":"000001a01a83ea80"} 
[2026-08-19 20:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:25: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-08-19 20:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 20:25:04] 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-08-19 20:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510717184001,"66":27321,"63":206,"2":54272,"24":43,"16":386090845213818880,"44":-1077626917945378816},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,44]} 
[2026-08-19 20:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510717184001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:25:04] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-19 20:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386090845213818880,"km_value":386090845213818.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:25:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1077626917945378816,"description":"Unknown IO ID 44"} 
[2026-08-19 20:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510717184001,"power":27321,"unknown_63":206,"power_alt":54272,"ignition":43,"odometer":null,"unknown_44":-1077626917945378816}} 
[2026-08-19 20:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":159095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:25:04] local.INFO: GPS data processed {"connection_id":159095,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:25:04] local.INFO: Acknowledgment sent {"connection_id":159095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:25:08] local.INFO: TCP Data received {"connection_id":160413,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:25:08] local.INFO: Processing buffer {"connection_id":160413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:25:08] local.INFO: IMEI packet received {"connection_id":160413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":160413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:25:13] local.INFO: TCP Data received {"connection_id":160413,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:25:13] local.INFO: Processing buffer {"connection_id":160413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:25:13] local.INFO: IMEI packet received {"connection_id":160413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":160413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:25:14] local.INFO: TCP Data received {"connection_id":160413,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:25:14] local.INFO: Processing buffer {"connection_id":160413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:25:14] local.INFO: Packet analysis {"connection_id":160413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:25:14] local.INFO: Extracted packet for processing {"connection_id":160413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:25:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:25: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-08-19 20:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510599936001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787151082000,"timestamp_ms":1787151082000,"timestamp_seconds":1787151082,"priority":1,"record_length":96,"hex_timestamp":"000001a01a816210"} 
[2026-08-19 20:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:25: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":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:25:14] 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-08-19 20:25: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-08-19 20:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510599936001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510599936001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:25:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:25:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510599936001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":160413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:25:14] local.INFO: GPS data processed {"connection_id":160413,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:25:14] local.INFO: Acknowledgment sent {"connection_id":160413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:25:36] local.INFO: TCP Data received {"connection_id":159095,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8405d8012cf14880071358800018007e2f..."} 
[2026-08-19 20:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8405d8012cf14880071358800018007e2f..."} 
[2026-08-19 20:25:36] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8405d8012cf14880071358800018007e2f..."} 
[2026-08-19 20:25:36] local.INFO: Packet analysis {"connection_id":159095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a84"} 
[2026-08-19 20:25:36] local.INFO: Extracted packet for processing {"connection_id":159095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a84"} 
[2026-08-19 20:25:36] local.INFO: GPS Element Parsed {"raw_longitude":754010240,"raw_latitude":118708352,"longitude_deg":75.401024,"latitude_deg":11.8708352,"altitude":24,"angle":126,"satellites":47,"speed":43,"hex_longitude":"2cf14880","hex_latitude":"07135880","is_valid_coordinates":true} 
[2026-08-19 20:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510719488001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386091218875973632,"note":"Value kept but may cause issues"} 
[2026-08-19 20:25:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1067986399994095616,"note":"Value kept but may cause issues"} 
[2026-08-19 20:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787151255000,"timestamp_ms":1787151255000,"timestamp_seconds":1787151255,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8405d8"} 
[2026-08-19 20:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:25: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-08-19 20:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 20:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510719488001,"66":27310,"96":206,"2":54272,"24":43,"16":386091218875973632,"44":-1067986399994095616},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-08-19 20:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510719488001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:25:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 20:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386091218875973632,"km_value":386091218875973.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:25:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1067986399994095616,"description":"Unknown IO ID 44"} 
[2026-08-19 20:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510719488001,"power":27310,"unknown_96":206,"power_alt":54272,"ignition":43,"odometer":null,"unknown_44":-1067986399994095616}} 
[2026-08-19 20:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":159095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:25:36] local.INFO: GPS data processed {"connection_id":159095,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:25:36] local.INFO: Acknowledgment sent {"connection_id":159095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:25:45] local.INFO: TCP Data received {"connection_id":160413,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:25:45] local.INFO: Processing buffer {"connection_id":160413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:25:45] local.INFO: Packet analysis {"connection_id":160413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:25:45] local.INFO: Extracted packet for processing {"connection_id":160413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:25:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510599936001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787151082000,"timestamp_ms":1787151082000,"timestamp_seconds":1787151082,"priority":1,"record_length":96,"hex_timestamp":"000001a01a816210"} 
[2026-08-19 20:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:25:45] 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-08-19 20: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-08-19 20:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510599936001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510599936001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:25:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:25:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510599936001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":160413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:25:45] local.INFO: GPS data processed {"connection_id":160413,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:25:45] local.INFO: Acknowledgment sent {"connection_id":160413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:25:59] local.INFO: TCP Data received {"connection_id":159096,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:25:59] local.INFO: Processing buffer {"connection_id":159096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:25:59] local.INFO: IMEI packet received {"connection_id":159096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":159096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:26:04] local.INFO: TCP Data received {"connection_id":159096,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:26:04] local.INFO: Processing buffer {"connection_id":159096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:26:04] local.INFO: IMEI packet received {"connection_id":159096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":159096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:26:05] local.INFO: TCP Data received {"connection_id":159096,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a842900012cf165c0071340000016008432..."} 
[2026-08-19 20:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a842900012cf165c0071340000016008432..."} 
[2026-08-19 20:26:05] local.INFO: Processing buffer {"connection_id":159096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a842900012cf165c0071340000016008432..."} 
[2026-08-19 20:26:05] local.INFO: Packet analysis {"connection_id":159096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a84"} 
[2026-08-19 20:26:05] local.INFO: Extracted packet for processing {"connection_id":159096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a84"} 
[2026-08-19 20:26:05] local.INFO: GPS Element Parsed {"raw_longitude":754017728,"raw_latitude":118702080,"longitude_deg":75.4017728,"latitude_deg":11.870208,"altitude":22,"angle":132,"satellites":50,"speed":43,"hex_longitude":"2cf165c0","hex_latitude":"07134000","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510721280001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386091687027408896,"note":"Value kept but may cause issues"} 
[2026-08-19 20:26:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1060456944368058368,"note":"Value kept but may cause issues"} 
[2026-08-19 20:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787151264000,"timestamp_ms":1787151264000,"timestamp_seconds":1787151264,"priority":1,"record_length":96,"hex_timestamp":"000001a01a842900"} 
[2026-08-19 20:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:26: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-08-19 20: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 20:26:05] 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-08-19 20: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-08-19 20:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510721280001,"66":27376,"96":206,"2":54272,"24":43,"16":386091687027408896,"44":-1060456944368058368},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-08-19 20:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510721280001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:26:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 20:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386091687027408896,"km_value":386091687027408.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:26:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1060456944368058368,"description":"Unknown IO ID 44"} 
[2026-08-19 20:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510721280001,"power":27376,"unknown_96":206,"power_alt":54272,"ignition":43,"odometer":null,"unknown_44":-1060456944368058368}} 
[2026-08-19 20:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":159096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:26:05] local.INFO: GPS data processed {"connection_id":159096,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:26:05] local.INFO: Acknowledgment sent {"connection_id":159096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:26:07] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:26:07] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:26:07] local.INFO: IMEI packet received {"connection_id":160414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":160414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:26:13] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:26:13] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:26:13] local.INFO: IMEI packet received {"connection_id":160414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":160414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:26:14] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:26:14] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:26:14] local.INFO: Packet analysis {"connection_id":160414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:26:14] local.INFO: Extracted packet for processing {"connection_id":160414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:26: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-08-19 20:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510599936001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787151082000,"timestamp_ms":1787151082000,"timestamp_seconds":1787151082,"priority":1,"record_length":96,"hex_timestamp":"000001a01a816210"} 
[2026-08-19 20:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:26: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":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:26:14] 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-08-19 20:26: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-08-19 20:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510599936001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510599936001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:26:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:26:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510599936001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":160414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:26:14] local.INFO: GPS data processed {"connection_id":160414,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:26:14] local.INFO: Acknowledgment sent {"connection_id":160414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:26:41] local.INFO: TCP Data received {"connection_id":159096,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a844c28012cf18240071326b00013008230..."} 
[2026-08-19 20:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a844c28012cf18240071326b00013008230..."} 
[2026-08-19 20:26:41] local.INFO: Processing buffer {"connection_id":159096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a844c28012cf18240071326b00013008230..."} 
[2026-08-19 20:26:41] local.INFO: Packet analysis {"connection_id":159096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a84"} 
[2026-08-19 20:26:41] local.INFO: Extracted packet for processing {"connection_id":159096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a84"} 
[2026-08-19 20:26:41] local.INFO: GPS Element Parsed {"raw_longitude":754025024,"raw_latitude":118695600,"longitude_deg":75.4025024,"latitude_deg":11.86956,"altitude":19,"angle":130,"satellites":48,"speed":41,"hex_longitude":"2cf18240","hex_latitude":"071326b0","is_valid_coordinates":true} 
[2026-08-19 20:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510723584001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386092155178844160,"note":"Value kept but may cause issues"} 
[2026-08-19 20:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1052223801300877312,"note":"Value kept but may cause issues"} 
[2026-08-19 20:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787151273000,"timestamp_ms":1787151273000,"timestamp_seconds":1787151273,"priority":1,"record_length":96,"hex_timestamp":"000001a01a844c28"} 
[2026-08-19 20:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:26: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-08-19 20:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 20:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510723584001,"66":27343,"96":206,"2":54272,"24":41,"16":386092155178844160,"44":-1052223801300877312},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-08-19 20:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510723584001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:26:41] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-19 20:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386092155178844160,"km_value":386092155178844.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1052223801300877312,"description":"Unknown IO ID 44"} 
[2026-08-19 20:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510723584001,"power":27343,"unknown_96":206,"power_alt":54272,"ignition":41,"odometer":null,"unknown_44":-1052223801300877312}} 
[2026-08-19 20:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":159096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:26:41] local.INFO: GPS data processed {"connection_id":159096,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:26:41] local.INFO: Acknowledgment sent {"connection_id":159096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:26:45] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:26:45] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a816210012d196500071ff128004701462a..."} 
[2026-08-19 20:26:45] local.INFO: Packet analysis {"connection_id":160414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:26:45] local.INFO: Extracted packet for processing {"connection_id":160414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a81"} 
[2026-08-19 20:26:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510599936001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787151082000,"timestamp_ms":1787151082000,"timestamp_seconds":1787151082,"priority":1,"record_length":96,"hex_timestamp":"000001a01a816210"} 
[2026-08-19 20:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:26:45] 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-08-19 20:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510599936001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510599936001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:26:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:26:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510599936001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":160414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:26:45] local.INFO: GPS data processed {"connection_id":160414,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:26:45] local.INFO: Acknowledgment sent {"connection_id":160414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:26:58] local.INFO: TCP Data received {"connection_id":157864,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:26:58] local.INFO: Processing buffer {"connection_id":157864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:26:58] local.INFO: IMEI packet received {"connection_id":157864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":157864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:27:03] local.INFO: TCP Data received {"connection_id":157864,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:27:03] local.INFO: Processing buffer {"connection_id":157864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:27:03] local.INFO: IMEI packet received {"connection_id":157864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":157864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:27:04] local.INFO: TCP Data received {"connection_id":157864,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a85c328012cf253c007126f98000e008132..."} 
[2026-08-19 20:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a85c328012cf253c007126f98000e008132..."} 
[2026-08-19 20:27:04] local.INFO: Processing buffer {"connection_id":157864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a85c328012cf253c007126f98000e008132..."} 
[2026-08-19 20:27:04] local.INFO: Packet analysis {"connection_id":157864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:27:04] local.INFO: Extracted packet for processing {"connection_id":157864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:27:04] local.INFO: GPS Element Parsed {"raw_longitude":754078656,"raw_latitude":118648728,"longitude_deg":75.4078656,"latitude_deg":11.8648728,"altitude":14,"angle":129,"satellites":50,"speed":17,"hex_longitude":"2cf253c0","hex_latitude":"07126f98","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510750464001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386095625512419328,"note":"Value kept but may cause issues"} 
[2026-08-19 20:27:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-985232756857399296,"note":"Value kept but may cause issues"} 
[2026-08-19 20:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787151369000,"timestamp_ms":1787151369000,"timestamp_seconds":1787151369,"priority":1,"record_length":96,"hex_timestamp":"000001a01a85c328"} 
[2026-08-19 20:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:27: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-08-19 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 20:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510750464001,"66":27343,"101":206,"2":54272,"24":17,"16":386095625512419328,"44":-985232756857399296},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-19 20:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510750464001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:27:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 20:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386095625512419328,"km_value":386095625512419.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:27:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-985232756857399296,"description":"Unknown IO ID 44"} 
[2026-08-19 20:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510750464001,"power":27343,"unknown_101":206,"power_alt":54272,"ignition":17,"odometer":null,"unknown_44":-985232756857399296}} 
[2026-08-19 20:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":157864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:27:04] local.INFO: GPS data processed {"connection_id":157864,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:27:04] local.INFO: Acknowledgment sent {"connection_id":157864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:27:07] local.INFO: TCP Data received {"connection_id":158234,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:27:07] local.INFO: Processing buffer {"connection_id":158234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:27:07] local.INFO: IMEI packet received {"connection_id":158234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":158234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:27:13] local.INFO: TCP Data received {"connection_id":158234,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:27:13] local.INFO: Processing buffer {"connection_id":158234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:27:13] local.INFO: IMEI packet received {"connection_id":158234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":158234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:27:14] local.INFO: TCP Data received {"connection_id":158234,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:27:14] local.INFO: Processing buffer {"connection_id":158234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:27:14] local.INFO: Packet analysis {"connection_id":158234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:27:14] local.INFO: Extracted packet for processing {"connection_id":158234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:27:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510676992001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787151383000,"timestamp_ms":1787151383000,"timestamp_seconds":1787151383,"priority":1,"record_length":96,"hex_timestamp":"000001a01a85f9d8"} 
[2026-08-19 20:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510676992001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510676992001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:27:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:27:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510676992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":158234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:27:14] local.INFO: GPS data processed {"connection_id":158234,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:27:14] local.INFO: Acknowledgment sent {"connection_id":158234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:27:36] local.INFO: TCP Data received {"connection_id":157864,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a85caf8012cf256c007126df8000d006a31..."} 
[2026-08-19 20:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a85caf8012cf256c007126df8000d006a31..."} 
[2026-08-19 20:27:36] local.INFO: Processing buffer {"connection_id":157864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a85caf8012cf256c007126df8000d006a31..."} 
[2026-08-19 20:27:36] local.INFO: Packet analysis {"connection_id":157864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:27:36] local.INFO: Extracted packet for processing {"connection_id":157864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:27:36] local.INFO: GPS Element Parsed {"raw_longitude":754079424,"raw_latitude":118648312,"longitude_deg":75.4079424,"latitude_deg":11.8648312,"altitude":13,"angle":106,"satellites":49,"speed":15,"hex_longitude":"2cf256c0","hex_latitude":"07126df8","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510750464001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386095668462092288,"note":"Value kept but may cause issues"} 
[2026-08-19 20:27:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-985232756857399296,"note":"Value kept but may cause issues"} 
[2026-08-19 20:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787151371000,"timestamp_ms":1787151371000,"timestamp_seconds":1787151371,"priority":1,"record_length":96,"hex_timestamp":"000001a01a85caf8"} 
[2026-08-19 20:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:27: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-08-19 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 20:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510750464001,"66":27104,"101":206,"2":54272,"24":15,"16":386095668462092288,"44":-985232756857399296},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-19 20:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510750464001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:27:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 20:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386095668462092288,"km_value":386095668462092.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:27:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-985232756857399296,"description":"Unknown IO ID 44"} 
[2026-08-19 20:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510750464001,"power":27104,"unknown_101":206,"power_alt":54272,"ignition":15,"odometer":null,"unknown_44":-985232756857399296}} 
[2026-08-19 20:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":157864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:27:36] local.INFO: GPS data processed {"connection_id":157864,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:27:36] local.INFO: Acknowledgment sent {"connection_id":157864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:27:45] local.INFO: TCP Data received {"connection_id":158234,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:27:45] local.INFO: Processing buffer {"connection_id":158234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:27:45] local.INFO: Packet analysis {"connection_id":158234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:27:45] local.INFO: Extracted packet for processing {"connection_id":158234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:27:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:27: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-08-19 20:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510676992001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787151383000,"timestamp_ms":1787151383000,"timestamp_seconds":1787151383,"priority":1,"record_length":96,"hex_timestamp":"000001a01a85f9d8"} 
[2026-08-19 20:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:27:45] 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-08-19 20:27: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":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:27: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-08-19 20:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510676992001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510676992001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:27:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:27:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510676992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":158234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:27:45] local.INFO: GPS data processed {"connection_id":158234,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:27:45] local.INFO: Acknowledgment sent {"connection_id":158234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:28:00] local.INFO: TCP Data received {"connection_id":159097,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:28:00] local.INFO: Processing buffer {"connection_id":159097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:28:00] local.INFO: IMEI packet received {"connection_id":159097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":159097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:28:03] local.INFO: TCP Data received {"connection_id":159097,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:28:03] local.INFO: Processing buffer {"connection_id":159097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:28:03] local.INFO: IMEI packet received {"connection_id":159097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":159097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:28:08] local.INFO: TCP Data received {"connection_id":160415,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:28:08] local.INFO: Processing buffer {"connection_id":160415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:28:08] local.INFO: IMEI packet received {"connection_id":160415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":160415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:28:09] local.INFO: TCP Data received {"connection_id":159097,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:28:09] local.INFO: Processing buffer {"connection_id":159097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:28:09] local.INFO: IMEI packet received {"connection_id":159097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":159097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:28:13] local.INFO: TCP Data received {"connection_id":160415,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:28:13] local.INFO: Processing buffer {"connection_id":160415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:28:13] local.INFO: IMEI packet received {"connection_id":160415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":160415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:28:14] local.INFO: TCP Data received {"connection_id":160415,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:28:14] local.INFO: Processing buffer {"connection_id":160415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:28:14] local.INFO: Packet analysis {"connection_id":160415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:28:14] local.INFO: Extracted packet for processing {"connection_id":160415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:28:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:28: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-08-19 20:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510676992001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787151383000,"timestamp_ms":1787151383000,"timestamp_seconds":1787151383,"priority":1,"record_length":96,"hex_timestamp":"000001a01a85f9d8"} 
[2026-08-19 20:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:28: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":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:28: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-08-19 20:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510676992001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510676992001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:28:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:28:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510676992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":160415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:28:14] local.INFO: GPS data processed {"connection_id":160415,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:28:14] local.INFO: Acknowledgment sent {"connection_id":160415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:28:20] local.INFO: TCP Data received {"connection_id":159097,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a85de80012cf25e4007126b40000c00772f..."} 
[2026-08-19 20:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a85de80012cf25e4007126b40000c00772f..."} 
[2026-08-19 20:28:20] local.INFO: Processing buffer {"connection_id":159097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a85de80012cf25e4007126b40000c00772f..."} 
[2026-08-19 20:28:20] local.INFO: Packet analysis {"connection_id":159097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:28:20] local.INFO: Extracted packet for processing {"connection_id":159097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:28:20] local.INFO: GPS Element Parsed {"raw_longitude":754081344,"raw_latitude":118647616,"longitude_deg":75.4081344,"latitude_deg":11.8647616,"altitude":12,"angle":119,"satellites":47,"speed":14,"hex_longitude":"2cf25e40","hex_latitude":"07126b40","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510750976001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386095762951372800,"note":"Value kept but may cause issues"} 
[2026-08-19 20:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-984388331927373824,"note":"Value kept but may cause issues"} 
[2026-08-19 20:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787151376000,"timestamp_ms":1787151376000,"timestamp_seconds":1787151376,"priority":1,"record_length":96,"hex_timestamp":"000001a01a85de80"} 
[2026-08-19 20:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20: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-08-19 20: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-19 20:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":159097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":159097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":159097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510750976001,"66":27213,"101":206,"2":54272,"24":14,"16":386095762951372800,"44":-984388331927373824},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-19 20:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510750976001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:28:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 20:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386095762951372800,"km_value":386095762951372.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-984388331927373824,"description":"Unknown IO ID 44"} 
[2026-08-19 20:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510750976001,"power":27213,"unknown_101":206,"power_alt":54272,"ignition":14,"odometer":null,"unknown_44":-984388331927373824}} 
[2026-08-19 20:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":159097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:28:20] local.INFO: GPS data processed {"connection_id":159097,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:28:20] local.INFO: Acknowledgment sent {"connection_id":159097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:28:26] local.INFO: TCP Data received {"connection_id":159097,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8628b8012cf27e80071258e0000e007c30..."} 
[2026-08-19 20:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8628b8012cf27e80071258e0000e007c30..."} 
[2026-08-19 20:28:26] local.INFO: Processing buffer {"connection_id":159097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8628b8012cf27e80071258e0000e007c30..."} 
[2026-08-19 20:28:26] local.INFO: Packet analysis {"connection_id":159097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a86"} 
[2026-08-19 20:28:26] local.INFO: Extracted packet for processing {"connection_id":159097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a86"} 
[2026-08-19 20:28:26] local.INFO: GPS Element Parsed {"raw_longitude":754089600,"raw_latitude":118642912,"longitude_deg":75.40896,"latitude_deg":11.8642912,"altitude":14,"angle":124,"satellites":48,"speed":28,"hex_longitude":"2cf27e80","hex_latitude":"071258e0","is_valid_coordinates":true} 
[2026-08-19 20:28: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-08-19 20:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510752256001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386096218217906176,"note":"Value kept but may cause issues"} 
[2026-08-19 20:28:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-982277269602222080,"note":"Value kept but may cause issues"} 
[2026-08-19 20:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787151395000,"timestamp_ms":1787151395000,"timestamp_seconds":1787151395,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8628b8"} 
[2026-08-19 20:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:28: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-08-19 20:28: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":77,"data_length":795,"current_offset":136} 
[2026-08-19 20:28:26] 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-08-19 20:28: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-08-19 20:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510752256001,"66":27376,"101":206,"2":54272,"24":28,"16":386096218217906176,"44":-982277269602222080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-19 20:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510752256001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:28:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 20:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386096218217906176,"km_value":386096218217906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:28:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-982277269602222080,"description":"Unknown IO ID 44"} 
[2026-08-19 20:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510752256001,"power":27376,"unknown_101":206,"power_alt":54272,"ignition":28,"odometer":null,"unknown_44":-982277269602222080}} 
[2026-08-19 20:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":159097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:28:26] local.INFO: GPS data processed {"connection_id":159097,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:28:26] local.INFO: Acknowledgment sent {"connection_id":159097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:28:45] local.INFO: TCP Data received {"connection_id":160415,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:28:45] local.INFO: Processing buffer {"connection_id":160415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:28:45] local.INFO: Packet analysis {"connection_id":160415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:28:45] local.INFO: Extracted packet for processing {"connection_id":160415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:28:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510676992001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787151383000,"timestamp_ms":1787151383000,"timestamp_seconds":1787151383,"priority":1,"record_length":96,"hex_timestamp":"000001a01a85f9d8"} 
[2026-08-19 20:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:28:45] 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-08-19 20:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510676992001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510676992001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:28:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:28:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510676992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":160415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:28:45] local.INFO: GPS data processed {"connection_id":160415,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:28:45] local.INFO: Acknowledgment sent {"connection_id":160415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:28:55] local.INFO: TCP Data received {"connection_id":159098,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:28:55] local.INFO: Processing buffer {"connection_id":159098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:28:55] local.INFO: IMEI packet received {"connection_id":159098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":159098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:29:00] local.INFO: TCP Data received {"connection_id":159098,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:29:00] local.INFO: Processing buffer {"connection_id":159098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:29:00] local.INFO: IMEI packet received {"connection_id":159098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":159098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:29:03] local.INFO: TCP Data received {"connection_id":159098,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:29:03] local.INFO: Processing buffer {"connection_id":159098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:29:03] local.INFO: IMEI packet received {"connection_id":159098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":159098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:29:06] local.INFO: TCP Data received {"connection_id":159098,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a865f68012cf29cc0071246f8000e007832..."} 
[2026-08-19 20:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a865f68012cf29cc0071246f8000e007832..."} 
[2026-08-19 20:29:06] local.INFO: Processing buffer {"connection_id":159098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a865f68012cf29cc0071246f8000e007832..."} 
[2026-08-19 20:29:06] local.INFO: Packet analysis {"connection_id":159098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a86"} 
[2026-08-19 20:29:06] local.INFO: Extracted packet for processing {"connection_id":159098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a86"} 
[2026-08-19 20:29:06] local.INFO: GPS Element Parsed {"raw_longitude":754097344,"raw_latitude":118638328,"longitude_deg":75.4097344,"latitude_deg":11.8638328,"altitude":14,"angle":120,"satellites":50,"speed":34,"hex_longitude":"2cf29cc0","hex_latitude":"071246f8","is_valid_coordinates":true} 
[2026-08-19 20:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510757120001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386096647714635776,"note":"Value kept but may cause issues"} 
[2026-08-19 20:29:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-973199701604507648,"note":"Value kept but may cause issues"} 
[2026-08-19 20:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787151409000,"timestamp_ms":1787151409000,"timestamp_seconds":1787151409,"priority":1,"record_length":96,"hex_timestamp":"000001a01a865f68"} 
[2026-08-19 20:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 20:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510757120001,"66":27365,"101":206,"2":54272,"24":34,"16":386096647714635776,"44":-973199701604507648},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-19 20:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510757120001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:29:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 20:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386096647714635776,"km_value":386096647714635.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:29:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-973199701604507648,"description":"Unknown IO ID 44"} 
[2026-08-19 20:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510757120001,"power":27365,"unknown_101":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-973199701604507648}} 
[2026-08-19 20:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":159098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:29:06] local.INFO: GPS data processed {"connection_id":159098,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:29:06] local.INFO: Acknowledgment sent {"connection_id":159098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:29:08] local.INFO: TCP Data received {"connection_id":160416,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:29:08] local.INFO: Processing buffer {"connection_id":160416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:29:08] local.INFO: IMEI packet received {"connection_id":160416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":160416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:29:10] local.INFO: TCP Data received {"connection_id":159098,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a868a60012cf2bd40071232a0000b007c32..."} 
[2026-08-19 20:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a868a60012cf2bd40071232a0000b007c32..."} 
[2026-08-19 20:29:10] local.INFO: Processing buffer {"connection_id":159098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a868a60012cf2bd40071232a0000b007c32..."} 
[2026-08-19 20:29:10] local.INFO: Packet analysis {"connection_id":159098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a86"} 
[2026-08-19 20:29:10] local.INFO: Extracted packet for processing {"connection_id":159098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a86"} 
[2026-08-19 20:29:10] local.INFO: GPS Element Parsed {"raw_longitude":754105664,"raw_latitude":118633120,"longitude_deg":75.4105664,"latitude_deg":11.863312,"altitude":11,"angle":124,"satellites":50,"speed":35,"hex_longitude":"2cf2bd40","hex_latitude":"071232a0","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510760704001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386097115866071040,"note":"Value kept but may cause issues"} 
[2026-08-19 20:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-964685083560183808,"note":"Value kept but may cause issues"} 
[2026-08-19 20:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787151420000,"timestamp_ms":1787151420000,"timestamp_seconds":1787151420,"priority":1,"record_length":96,"hex_timestamp":"000001a01a868a60"} 
[2026-08-19 20:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:29: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-08-19 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 20:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510760704001,"66":27180,"101":206,"2":54272,"24":35,"16":386097115866071040,"44":-964685083560183808},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-19 20:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510760704001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:29:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 20:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386097115866071040,"km_value":386097115866071.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-964685083560183808,"description":"Unknown IO ID 44"} 
[2026-08-19 20:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510760704001,"power":27180,"unknown_101":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-964685083560183808}} 
[2026-08-19 20:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":159098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:29:10] local.INFO: GPS data processed {"connection_id":159098,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:29:10] local.INFO: Acknowledgment sent {"connection_id":159098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:29:13] local.INFO: TCP Data received {"connection_id":160416,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:29:13] local.INFO: Processing buffer {"connection_id":160416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:29:13] local.INFO: IMEI packet received {"connection_id":160416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":160416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:29:14] local.INFO: TCP Data received {"connection_id":160416,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:29:14] local.INFO: Processing buffer {"connection_id":160416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:29:14] local.INFO: Packet analysis {"connection_id":160416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:29:14] local.INFO: Extracted packet for processing {"connection_id":160416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:29:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:29: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-08-19 20:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510676992001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787151383000,"timestamp_ms":1787151383000,"timestamp_seconds":1787151383,"priority":1,"record_length":96,"hex_timestamp":"000001a01a85f9d8"} 
[2026-08-19 20:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:29: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":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:29: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-08-19 20:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510676992001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510676992001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:29:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510676992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":160416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:29:14] local.INFO: GPS data processed {"connection_id":160416,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:29:14] local.INFO: Acknowledgment sent {"connection_id":160416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:29:43] local.INFO: TCP Data received {"connection_id":159098,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a86b558012cf2dc0007121be8000a008131..."} 
[2026-08-19 20:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a86b558012cf2dc0007121be8000a008131..."} 
[2026-08-19 20:29:43] local.INFO: Processing buffer {"connection_id":159098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a86b558012cf2dc0007121be8000a008131..."} 
[2026-08-19 20:29:43] local.INFO: Packet analysis {"connection_id":159098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a86"} 
[2026-08-19 20:29:43] local.INFO: Extracted packet for processing {"connection_id":159098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a86"} 
[2026-08-19 20:29:43] local.INFO: GPS Element Parsed {"raw_longitude":754113536,"raw_latitude":118627304,"longitude_deg":75.4113536,"latitude_deg":11.8627304,"altitude":10,"angle":129,"satellites":49,"speed":33,"hex_longitude":"2cf2dc00","hex_latitude":"07121be8","is_valid_coordinates":true} 
[2026-08-19 20:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510763520001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386097584017506304,"note":"Value kept but may cause issues"} 
[2026-08-19 20:29:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-955537146818420736,"note":"Value kept but may cause issues"} 
[2026-08-19 20:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787151431000,"timestamp_ms":1787151431000,"timestamp_seconds":1787151431,"priority":1,"record_length":96,"hex_timestamp":"000001a01a86b558"} 
[2026-08-19 20:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-19 20:29:43] 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-08-19 20:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510763520001,"66":27539,"101":206,"2":54272,"24":33,"16":386097584017506304,"44":-955537146818420736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-19 20:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510763520001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:29:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 20:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386097584017506304,"km_value":386097584017506.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:29:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-955537146818420736,"description":"Unknown IO ID 44"} 
[2026-08-19 20:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510763520001,"power":27539,"unknown_101":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-955537146818420736}} 
[2026-08-19 20:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":159098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:29:43] local.INFO: GPS data processed {"connection_id":159098,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:29:43] local.INFO: Acknowledgment sent {"connection_id":159098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:29:45] local.INFO: TCP Data received {"connection_id":160416,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:29:45] local.INFO: Processing buffer {"connection_id":160416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:29:45] local.INFO: Packet analysis {"connection_id":160416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:29:45] local.INFO: Extracted packet for processing {"connection_id":160416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:29:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510676992001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787151383000,"timestamp_ms":1787151383000,"timestamp_seconds":1787151383,"priority":1,"record_length":96,"hex_timestamp":"000001a01a85f9d8"} 
[2026-08-19 20:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:29:45] 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-08-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510676992001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510676992001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:29:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:29:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510676992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":160416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:29:45] local.INFO: GPS data processed {"connection_id":160416,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:29:45] local.INFO: Acknowledgment sent {"connection_id":160416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:29:59] local.INFO: TCP Data received {"connection_id":157865,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:29:59] local.INFO: Processing buffer {"connection_id":157865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:29:59] local.INFO: IMEI packet received {"connection_id":157865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":157865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:29:59] local.INFO: TCP Data received {"connection_id":157865,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:29:59] local.INFO: Processing buffer {"connection_id":157865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:29:59] local.INFO: IMEI packet received {"connection_id":157865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":157865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:30:05] local.INFO: TCP Data received {"connection_id":157865,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:30:05] local.INFO: Processing buffer {"connection_id":157865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:30:05] local.INFO: IMEI packet received {"connection_id":157865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":157865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:30:06] local.INFO: TCP Data received {"connection_id":157865,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a86e050012cf2f94007120430000a008933..."} 
[2026-08-19 20:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a86e050012cf2f94007120430000a008933..."} 
[2026-08-19 20:30:06] local.INFO: Processing buffer {"connection_id":157865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a86e050012cf2f94007120430000a008933..."} 
[2026-08-19 20:30:06] local.INFO: Packet analysis {"connection_id":157865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a86"} 
[2026-08-19 20:30:06] local.INFO: Extracted packet for processing {"connection_id":157865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a86"} 
[2026-08-19 20:30:06] local.INFO: GPS Element Parsed {"raw_longitude":754121024,"raw_latitude":118621232,"longitude_deg":75.4121024,"latitude_deg":11.8621232,"altitude":10,"angle":137,"satellites":51,"speed":25,"hex_longitude":"2cf2f940","hex_latitude":"07120430","is_valid_coordinates":true} 
[2026-08-19 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-08-19 20:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510766336001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386098043579006976,"note":"Value kept but may cause issues"} 
[2026-08-19 20:30:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-946881791286056960,"note":"Value kept but may cause issues"} 
[2026-08-19 20:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787151442000,"timestamp_ms":1787151442000,"timestamp_seconds":1787151442,"priority":1,"record_length":96,"hex_timestamp":"000001a01a86e050"} 
[2026-08-19 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-08-19 20:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-19 20:30:06] 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-08-19 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-08-19 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-08-19 20:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510766336001,"66":27223,"101":206,"2":54272,"24":25,"16":386098043579006976,"44":-946881791286056960},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-19 20:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510766336001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:30:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 20:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386098043579006976,"km_value":386098043579007.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:30:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-946881791286056960,"description":"Unknown IO ID 44"} 
[2026-08-19 20:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510766336001,"power":27223,"unknown_101":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-946881791286056960}} 
[2026-08-19 20:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":157865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:30:06] local.INFO: GPS data processed {"connection_id":157865,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:30:06] local.INFO: Acknowledgment sent {"connection_id":157865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:30:08] local.INFO: TCP Data received {"connection_id":158235,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:30:08] local.INFO: Processing buffer {"connection_id":158235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:30:08] local.INFO: IMEI packet received {"connection_id":158235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":158235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:30:13] local.INFO: TCP Data received {"connection_id":158235,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:30:13] local.INFO: Processing buffer {"connection_id":158235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:30:13] local.INFO: IMEI packet received {"connection_id":158235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":158235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:30:14] local.INFO: TCP Data received {"connection_id":158235,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:30:14] local.INFO: Processing buffer {"connection_id":158235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:30:14] local.INFO: Packet analysis {"connection_id":158235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:30:14] local.INFO: Extracted packet for processing {"connection_id":158235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:30:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510676992001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787151383000,"timestamp_ms":1787151383000,"timestamp_seconds":1787151383,"priority":1,"record_length":96,"hex_timestamp":"000001a01a85f9d8"} 
[2026-08-19 20:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510676992001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510676992001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:30:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:30:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510676992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":158235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:30:14] local.INFO: GPS data processed {"connection_id":158235,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:30:14] local.INFO: Acknowledgment sent {"connection_id":158235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:30:38] local.INFO: TCP Data received {"connection_id":157865,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a871700012cf313400711eaf0000a008633..."} 
[2026-08-19 20:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a871700012cf313400711eaf0000a008633..."} 
[2026-08-19 20:30:38] local.INFO: Processing buffer {"connection_id":157865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a871700012cf313400711eaf0000a008633..."} 
[2026-08-19 20:30:38] local.INFO: Packet analysis {"connection_id":157865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a87"} 
[2026-08-19 20:30:38] local.INFO: Extracted packet for processing {"connection_id":157865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a87"} 
[2026-08-19 20:30:38] local.INFO: GPS Element Parsed {"raw_longitude":754127680,"raw_latitude":118614768,"longitude_deg":75.412768,"latitude_deg":11.8614768,"altitude":10,"angle":134,"satellites":51,"speed":27,"hex_longitude":"2cf31340","hex_latitude":"0711eaf0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 20:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510769152001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386098490255605760,"note":"Value kept but may cause issues"} 
[2026-08-19 20:30:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-938648648218824704,"note":"Value kept but may cause issues"} 
[2026-08-19 20:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787151456000,"timestamp_ms":1787151456000,"timestamp_seconds":1787151456,"priority":1,"record_length":96,"hex_timestamp":"000001a01a871700"} 
[2026-08-19 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-08-19 20:30: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-08-19 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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-19 20:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 20:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510769152001,"66":27365,"101":206,"2":54272,"24":27,"16":386098490255605760,"44":-938648648218824704},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-08-19 20:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510769152001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:30:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-19 20:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386098490255605760,"km_value":386098490255605.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:30:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-938648648218824704,"description":"Unknown IO ID 44"} 
[2026-08-19 20:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510769152001,"power":27365,"unknown_101":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-938648648218824704}} 
[2026-08-19 20:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":157865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:30:38] local.INFO: GPS data processed {"connection_id":157865,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:30:38] local.INFO: Acknowledgment sent {"connection_id":157865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:30:45] local.INFO: TCP Data received {"connection_id":158235,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:30:45] local.INFO: Processing buffer {"connection_id":158235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:30:45] local.INFO: Packet analysis {"connection_id":158235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:30:45] local.INFO: Extracted packet for processing {"connection_id":158235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:30:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:30: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-08-19 20:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510676992001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787151383000,"timestamp_ms":1787151383000,"timestamp_seconds":1787151383,"priority":1,"record_length":96,"hex_timestamp":"000001a01a85f9d8"} 
[2026-08-19 20:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:30:45] 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-08-19 20:30: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":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:30: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-08-19 20:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510676992001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510676992001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:30:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:30:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510676992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":158235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:30:45] local.INFO: GPS data processed {"connection_id":158235,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:30:45] local.INFO: Acknowledgment sent {"connection_id":158235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:30:58] local.INFO: TCP Data received {"connection_id":157866,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:30:58] local.INFO: Processing buffer {"connection_id":157866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:30:58] local.INFO: IMEI packet received {"connection_id":157866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":157866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:31:03] local.INFO: TCP Data received {"connection_id":157866,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:31:03] local.INFO: Processing buffer {"connection_id":157866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:31:03] local.INFO: IMEI packet received {"connection_id":157866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":157866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:31:06] local.INFO: TCP Data received {"connection_id":157866,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a876908012cf327800711d720000b008832..."} 
[2026-08-19 20:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a876908012cf327800711d720000b008832..."} 
[2026-08-19 20:31:06] local.INFO: Processing buffer {"connection_id":157866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a876908012cf327800711d720000b008832..."} 
[2026-08-19 20:31:06] local.INFO: Packet analysis {"connection_id":157866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a87"} 
[2026-08-19 20:31:06] local.INFO: Extracted packet for processing {"connection_id":157866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a87"} 
[2026-08-19 20:31:06] local.INFO: GPS Element Parsed {"raw_longitude":754132864,"raw_latitude":118609696,"longitude_deg":75.4132864,"latitude_deg":11.8609696,"altitude":11,"angle":136,"satellites":50,"speed":14,"hex_longitude":"2cf32780","hex_latitude":"0711d720","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510772736001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386098838147956736,"note":"Value kept but may cause issues"} 
[2026-08-19 20:31:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-931330298826002432,"note":"Value kept but may cause issues"} 
[2026-08-19 20:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787151477000,"timestamp_ms":1787151477000,"timestamp_seconds":1787151477,"priority":1,"record_length":96,"hex_timestamp":"000001a01a876908"} 
[2026-08-19 20:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 20:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510772736001,"66":27332,"100":206,"2":54272,"24":14,"16":386098838147956736,"44":-931330298826002432},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-19 20:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510772736001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:31:06] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 20:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386098838147956736,"km_value":386098838147956.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:31:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-931330298826002432,"description":"Unknown IO ID 44"} 
[2026-08-19 20:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510772736001,"power":27332,"unknown_100":206,"power_alt":54272,"ignition":14,"odometer":null,"unknown_44":-931330298826002432}} 
[2026-08-19 20:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":157866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:31:06] local.INFO: GPS data processed {"connection_id":157866,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:31:06] local.INFO: Acknowledgment sent {"connection_id":157866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:31:07] local.INFO: TCP Data received {"connection_id":157867,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:31:07] local.INFO: Processing buffer {"connection_id":157867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:31:07] local.INFO: IMEI packet received {"connection_id":157867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":157867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:31:13] local.INFO: TCP Data received {"connection_id":157867,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:31:13] local.INFO: Processing buffer {"connection_id":157867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:31:13] local.INFO: IMEI packet received {"connection_id":157867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":157867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:31:14] local.INFO: TCP Data received {"connection_id":157867,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:31:14] local.INFO: Processing buffer {"connection_id":157867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:31:14] local.INFO: Packet analysis {"connection_id":157867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:31:14] local.INFO: Extracted packet for processing {"connection_id":157867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:31:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510676992001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787151383000,"timestamp_ms":1787151383000,"timestamp_seconds":1787151383,"priority":1,"record_length":96,"hex_timestamp":"000001a01a85f9d8"} 
[2026-08-19 20:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510676992001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510676992001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:31:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:31:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510676992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":157867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:31:14] local.INFO: GPS data processed {"connection_id":157867,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:31:14] local.INFO: Acknowledgment sent {"connection_id":157867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:31:39] local.INFO: TCP Data received {"connection_id":157866,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a87b728012cf341000711be48000b008533..."} 
[2026-08-19 20:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a87b728012cf341000711be48000b008533..."} 
[2026-08-19 20:31:39] local.INFO: Processing buffer {"connection_id":157866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a87b728012cf341000711be48000b008533..."} 
[2026-08-19 20:31:39] local.INFO: Packet analysis {"connection_id":157866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a87"} 
[2026-08-19 20:31:39] local.INFO: Extracted packet for processing {"connection_id":157866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a87"} 
[2026-08-19 20:31:39] local.INFO: GPS Element Parsed {"raw_longitude":754139392,"raw_latitude":118603336,"longitude_deg":75.4139392,"latitude_deg":11.8603336,"altitude":11,"angle":133,"satellites":51,"speed":9,"hex_longitude":"2cf34100","hex_latitude":"0711be48","is_valid_coordinates":true} 
[2026-08-19 20:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510778112001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386099280529588224,"note":"Value kept but may cause issues"} 
[2026-08-19 20:31:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-925630430548910080,"note":"Value kept but may cause issues"} 
[2026-08-19 20:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787151497000,"timestamp_ms":1787151497000,"timestamp_seconds":1787151497,"priority":1,"record_length":96,"hex_timestamp":"000001a01a87b728"} 
[2026-08-19 20:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 20:31:39] 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-08-19 20:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510778112001,"66":27213,"100":206,"2":54272,"24":9,"16":386099280529588224,"44":-925630430548910080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-19 20:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510778112001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:31:39] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 20:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386099280529588224,"km_value":386099280529588.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:31:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-925630430548910080,"description":"Unknown IO ID 44"} 
[2026-08-19 20:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510778112001,"power":27213,"unknown_100":206,"power_alt":54272,"ignition":9,"odometer":null,"unknown_44":-925630430548910080}} 
[2026-08-19 20:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":157866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:31:39] local.INFO: GPS data processed {"connection_id":157866,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:31:39] local.INFO: Acknowledgment sent {"connection_id":157866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:31:45] local.INFO: TCP Data received {"connection_id":157867,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:31:45] local.INFO: Processing buffer {"connection_id":157867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a85f9d8012d196500071ff1280047014629..."} 
[2026-08-19 20:31:45] local.INFO: Packet analysis {"connection_id":157867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:31:45] local.INFO: Extracted packet for processing {"connection_id":157867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a85"} 
[2026-08-19 20:31:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510676992001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787151383000,"timestamp_ms":1787151383000,"timestamp_seconds":1787151383,"priority":1,"record_length":96,"hex_timestamp":"000001a01a85f9d8"} 
[2026-08-19 20:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:31:45] 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-08-19 20:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510676992001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510676992001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:31:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:31:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510676992001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":157867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:31:45] local.INFO: GPS data processed {"connection_id":157867,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:31:45] local.INFO: Acknowledgment sent {"connection_id":157867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:32:03] local.INFO: TCP Data received {"connection_id":159099,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:32:03] local.INFO: Processing buffer {"connection_id":159099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:32:03] local.INFO: IMEI packet received {"connection_id":159099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":159099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:32:04] local.INFO: TCP Data received {"connection_id":159099,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:32:04] local.INFO: Processing buffer {"connection_id":159099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:32:04] local.INFO: IMEI packet received {"connection_id":159099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":159099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:32:09] local.INFO: TCP Data received {"connection_id":159099,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:32:09] local.INFO: Processing buffer {"connection_id":159099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:32:09] local.INFO: IMEI packet received {"connection_id":159099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":159099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:32:12] local.INFO: TCP Data received {"connection_id":159099,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a880930012cf357000711a950000b008633..."} 
[2026-08-19 20:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a880930012cf357000711a950000b008633..."} 
[2026-08-19 20:32:12] local.INFO: Processing buffer {"connection_id":159099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a880930012cf357000711a950000b008633..."} 
[2026-08-19 20:32:12] local.INFO: Packet analysis {"connection_id":159099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a88"} 
[2026-08-19 20:32:12] local.INFO: Extracted packet for processing {"connection_id":159099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a88"} 
[2026-08-19 20:32:12] local.INFO: GPS Element Parsed {"raw_longitude":754145024,"raw_latitude":118597968,"longitude_deg":75.4145024,"latitude_deg":11.8597968,"altitude":11,"angle":134,"satellites":51,"speed":17,"hex_longitude":"2cf35700","hex_latitude":"0711a950","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510783232001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386099654191742976,"note":"Value kept but may cause issues"} 
[2026-08-19 20:32:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-918452818644416512,"note":"Value kept but may cause issues"} 
[2026-08-19 20:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787151518000,"timestamp_ms":1787151518000,"timestamp_seconds":1787151518,"priority":1,"record_length":96,"hex_timestamp":"000001a01a880930"} 
[2026-08-19 20:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 20:32:12] 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-08-19 20: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-08-19 20:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510783232001,"66":27223,"100":206,"2":54272,"24":17,"16":386099654191742976,"44":-918452818644416512},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-19 20:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510783232001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:32:12] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 20:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386099654191742976,"km_value":386099654191743.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:32:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-918452818644416512,"description":"Unknown IO ID 44"} 
[2026-08-19 20:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510783232001,"power":27223,"unknown_100":206,"power_alt":54272,"ignition":17,"odometer":null,"unknown_44":-918452818644416512}} 
[2026-08-19 20:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":159099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:32:12] local.INFO: GPS data processed {"connection_id":159099,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:32:12] local.INFO: Acknowledgment sent {"connection_id":159099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:32:13] local.INFO: TCP Data received {"connection_id":159100,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:32:13] local.INFO: Processing buffer {"connection_id":159100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:32:13] local.INFO: IMEI packet received {"connection_id":159100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":159100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:32:18] local.INFO: TCP Data received {"connection_id":159100,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:32:18] local.INFO: Processing buffer {"connection_id":159100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:32:18] local.INFO: IMEI packet received {"connection_id":159100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":159100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:32:19] local.INFO: TCP Data received {"connection_id":159100,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:32:19] local.INFO: Processing buffer {"connection_id":159100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:32:19] local.INFO: Packet analysis {"connection_id":159100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:32:19] local.INFO: Extracted packet for processing {"connection_id":159100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:32:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 20:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510754048001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787151684000,"timestamp_ms":1787151684000,"timestamp_seconds":1787151684,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8a91a0"} 
[2026-08-19 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-08-19 20:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 20:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510754048001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510754048001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:32:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:32:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510754048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":159100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:32:19] local.INFO: GPS data processed {"connection_id":159100,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:32:19] local.INFO: Acknowledgment sent {"connection_id":159100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:32:23] local.INFO: TCP Data received {"connection_id":159100,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:32:23] local.INFO: Processing buffer {"connection_id":159100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:32:23] local.INFO: Packet analysis {"connection_id":159100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:32:23] local.INFO: Extracted packet for processing {"connection_id":159100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:32:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510754048001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787151684000,"timestamp_ms":1787151684000,"timestamp_seconds":1787151684,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8a91a0"} 
[2026-08-19 20:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510754048001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510754048001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:32:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:32:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510754048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":159100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:32:23] local.INFO: GPS data processed {"connection_id":159100,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:32:23] local.INFO: Acknowledgment sent {"connection_id":159100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:32:43] local.INFO: TCP Data received {"connection_id":159099,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a885b38012cf3648007119d00000c008534..."} 
[2026-08-19 20:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a885b38012cf3648007119d00000c008534..."} 
[2026-08-19 20:32:43] local.INFO: Processing buffer {"connection_id":159099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a885b38012cf3648007119d00000c008534..."} 
[2026-08-19 20:32:43] local.INFO: Packet analysis {"connection_id":159099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a88"} 
[2026-08-19 20:32:43] local.INFO: Extracted packet for processing {"connection_id":159099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a88"} 
[2026-08-19 20:32:43] local.INFO: GPS Element Parsed {"raw_longitude":754148480,"raw_latitude":118594816,"longitude_deg":75.414848,"latitude_deg":11.8594816,"altitude":12,"angle":133,"satellites":52,"speed":7,"hex_longitude":"2cf36480","hex_latitude":"07119d00","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510788608001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386099877530042368,"note":"Value kept but may cause issues"} 
[2026-08-19 20:32:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-912260369158156288,"note":"Value kept but may cause issues"} 
[2026-08-19 20:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787151539000,"timestamp_ms":1787151539000,"timestamp_seconds":1787151539,"priority":1,"record_length":96,"hex_timestamp":"000001a01a885b38"} 
[2026-08-19 20:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-19 20:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510788608001,"66":27321,"100":206,"2":54272,"24":7,"16":386099877530042368,"44":-912260369158156288},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-19 20:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510788608001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:32:43] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 20:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386099877530042368,"km_value":386099877530042.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:32:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-912260369158156288,"description":"Unknown IO ID 44"} 
[2026-08-19 20:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510788608001,"power":27321,"unknown_100":206,"power_alt":54272,"ignition":7,"odometer":null,"unknown_44":-912260369158156288}} 
[2026-08-19 20:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":159099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:32:43] local.INFO: GPS data processed {"connection_id":159099,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:32:43] local.INFO: Acknowledgment sent {"connection_id":159099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:33:04] local.INFO: TCP Data received {"connection_id":157868,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:33:04] local.INFO: Processing buffer {"connection_id":157868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:33:04] local.INFO: IMEI packet received {"connection_id":157868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":157868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:33:07] local.INFO: TCP Data received {"connection_id":157868,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:33:07] local.INFO: Processing buffer {"connection_id":157868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:33:07] local.INFO: IMEI packet received {"connection_id":157868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":157868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:33:08] local.INFO: TCP Data received {"connection_id":157869,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:33:08] local.INFO: Processing buffer {"connection_id":157869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:33:08] local.INFO: IMEI packet received {"connection_id":157869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":157869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:33:08] local.INFO: TCP Data received {"connection_id":157868,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:33:08] local.INFO: Processing buffer {"connection_id":157868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:33:08] local.INFO: IMEI packet received {"connection_id":157868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":157868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:33:13] local.INFO: TCP Data received {"connection_id":157869,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:33:13] local.INFO: Processing buffer {"connection_id":157869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:33:13] local.INFO: IMEI packet received {"connection_id":157869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":157869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:33:14] local.INFO: TCP Data received {"connection_id":157868,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:33:14] local.INFO: Processing buffer {"connection_id":157868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:33:14] local.INFO: IMEI packet received {"connection_id":157868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":157868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:33:14] local.INFO: TCP Data received {"connection_id":157869,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:33:14] local.INFO: Processing buffer {"connection_id":157869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:33:14] local.INFO: Packet analysis {"connection_id":157869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:33:14] local.INFO: Extracted packet for processing {"connection_id":157869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510754048001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787151684000,"timestamp_ms":1787151684000,"timestamp_seconds":1787151684,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8a91a0"} 
[2026-08-19 20:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:33:14] 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-08-19 20:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:33:14] 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-08-19 20:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510754048001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510754048001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:33:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:33:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510754048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":157869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:33:14] local.INFO: GPS data processed {"connection_id":157869,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:33:14] local.INFO: Acknowledgment sent {"connection_id":157869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:33:15] local.INFO: TCP Data received {"connection_id":157868,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8ae790012cf3d08007113560000e00812f..."} 
[2026-08-19 20:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8ae790012cf3d08007113560000e00812f..."} 
[2026-08-19 20:33:15] local.INFO: Processing buffer {"connection_id":157868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8ae790012cf3d08007113560000e00812f..."} 
[2026-08-19 20:33:15] local.INFO: Packet analysis {"connection_id":157868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:33:15] local.INFO: Extracted packet for processing {"connection_id":157868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:33:15] local.INFO: GPS Element Parsed {"raw_longitude":754176128,"raw_latitude":118568288,"longitude_deg":75.4176128,"latitude_deg":11.8568288,"altitude":14,"angle":129,"satellites":47,"speed":8,"hex_longitude":"2cf3d080","hex_latitude":"07113560","is_valid_coordinates":true} 
[2026-08-19 20:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510836736001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386101745840816128,"note":"Value kept but may cause issues"} 
[2026-08-19 20:33:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-878061159495409664,"note":"Value kept but may cause issues"} 
[2026-08-19 20:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787151706000,"timestamp_ms":1787151706000,"timestamp_seconds":1787151706,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8ae790"} 
[2026-08-19 20:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-19 20:33:15] 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-08-19 20:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":157868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":157868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":157868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510836736001,"66":27180,"100":206,"2":54272,"24":8,"16":386101745840816128,"44":-878061159495409664},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-19 20:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510836736001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:33:15] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 20:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386101745840816128,"km_value":386101745840816.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:33:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-878061159495409664,"description":"Unknown IO ID 44"} 
[2026-08-19 20:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510836736001,"power":27180,"unknown_100":206,"power_alt":54272,"ignition":8,"odometer":null,"unknown_44":-878061159495409664}} 
[2026-08-19 20:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":157868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:33:15] local.INFO: GPS data processed {"connection_id":157868,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:33:15] local.INFO: Acknowledgment sent {"connection_id":157868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:33:20] local.INFO: TCP Data received {"connection_id":157868,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8b3998012cf3e54007112158000f00892d..."} 
[2026-08-19 20:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8b3998012cf3e54007112158000f00892d..."} 
[2026-08-19 20:33:20] local.INFO: Processing buffer {"connection_id":157868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8b3998012cf3e54007112158000f00892d..."} 
[2026-08-19 20:33:20] local.INFO: Packet analysis {"connection_id":157868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8b"} 
[2026-08-19 20:33:20] local.INFO: Extracted packet for processing {"connection_id":157868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8b"} 
[2026-08-19 20:33:20] local.INFO: GPS Element Parsed {"raw_longitude":754181440,"raw_latitude":118563160,"longitude_deg":75.418144,"latitude_deg":11.856316,"altitude":15,"angle":137,"satellites":45,"speed":11,"hex_longitude":"2cf3e540","hex_latitude":"07112158","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510836736001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386102102323101696,"note":"Value kept but may cause issues"} 
[2026-08-19 20:33:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-878061159495409664,"note":"Value kept but may cause issues"} 
[2026-08-19 20:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787151727000,"timestamp_ms":1787151727000,"timestamp_seconds":1787151727,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8b3998"} 
[2026-08-19 20:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20: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-08-19 20: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-19 20:33:20] 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-08-19 20: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-08-19 20:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":157868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":157868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":157868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510836736001,"66":27343,"100":206,"2":54272,"24":11,"16":386102102323101696,"44":-878061159495409664},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-08-19 20:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510836736001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:33:20] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-19 20:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386102102323101696,"km_value":386102102323101.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:33:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-878061159495409664,"description":"Unknown IO ID 44"} 
[2026-08-19 20:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510836736001,"power":27343,"unknown_100":206,"power_alt":54272,"ignition":11,"odometer":null,"unknown_44":-878061159495409664}} 
[2026-08-19 20:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":157868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:33:20] local.INFO: GPS data processed {"connection_id":157868,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:33:20] local.INFO: Acknowledgment sent {"connection_id":157868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:33:45] local.INFO: TCP Data received {"connection_id":157869,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:33:45] local.INFO: Processing buffer {"connection_id":157869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:33:45] local.INFO: Packet analysis {"connection_id":157869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:33:45] local.INFO: Extracted packet for processing {"connection_id":157869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510754048001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787151684000,"timestamp_ms":1787151684000,"timestamp_seconds":1787151684,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8a91a0"} 
[2026-08-19 20:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:33:45] 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-08-19 20:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510754048001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510754048001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:33:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510754048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":157869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:33:45] local.INFO: GPS data processed {"connection_id":157869,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:33:45] local.INFO: Acknowledgment sent {"connection_id":157869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:33:59] local.INFO: TCP Data received {"connection_id":160417,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:33:59] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:33:59] local.INFO: IMEI packet received {"connection_id":160417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":160417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:34:01] local.INFO: TCP Data received {"connection_id":160417,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:34:01] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:34:01] local.INFO: IMEI packet received {"connection_id":160417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":160417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:34:02] local.INFO: TCP Data received {"connection_id":160417,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8b8ba0012cf3fb80071108f0001400852f..."} 
[2026-08-19 20:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8b8ba0012cf3fb80071108f0001400852f..."} 
[2026-08-19 20:34:02] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8b8ba0012cf3fb80071108f0001400852f..."} 
[2026-08-19 20:34:02] local.INFO: Packet analysis {"connection_id":160417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8b"} 
[2026-08-19 20:34:02] local.INFO: Extracted packet for processing {"connection_id":160417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8b"} 
[2026-08-19 20:34:02] local.INFO: GPS Element Parsed {"raw_longitude":754187136,"raw_latitude":118556912,"longitude_deg":75.4187136,"latitude_deg":11.8556912,"altitude":20,"angle":133,"satellites":47,"speed":27,"hex_longitude":"2cf3fb80","hex_latitude":"071108f0","is_valid_coordinates":true} 
[2026-08-19 20:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510842112001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386102510344994816,"note":"Value kept but may cause issues"} 
[2026-08-19 20:34:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-872220553729976320,"note":"Value kept but may cause issues"} 
[2026-08-19 20:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787151748000,"timestamp_ms":1787151748000,"timestamp_seconds":1787151748,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8b8ba0"} 
[2026-08-19 20:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:34: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-08-19 20:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 20:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510842112001,"66":27365,"108":206,"2":54272,"24":27,"16":386102510344994816,"44":-872220553729976320},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-08-19 20:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510842112001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:34:02] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-19 20:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386102510344994816,"km_value":386102510344994.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:34:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-872220553729976320,"description":"Unknown IO ID 44"} 
[2026-08-19 20:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510842112001,"power":27365,"unknown_108":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-872220553729976320}} 
[2026-08-19 20:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":160417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:34:02] local.INFO: GPS data processed {"connection_id":160417,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:34:02] local.INFO: Acknowledgment sent {"connection_id":160417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:34:04] local.INFO: TCP Data received {"connection_id":160417,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8bc250012cf417000710ef98001800862c..."} 
[2026-08-19 20:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8bc250012cf417000710ef98001800862c..."} 
[2026-08-19 20:34:04] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8bc250012cf417000710ef98001800862c..."} 
[2026-08-19 20:34:04] local.INFO: Packet analysis {"connection_id":160417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8b"} 
[2026-08-19 20:34:04] local.INFO: Extracted packet for processing {"connection_id":160417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8b"} 
[2026-08-19 20:34:04] local.INFO: GPS Element Parsed {"raw_longitude":754194176,"raw_latitude":118550424,"longitude_deg":75.4194176,"latitude_deg":11.8550424,"altitude":24,"angle":134,"satellites":44,"speed":23,"hex_longitude":"2cf41700","hex_latitude":"0710ef98","is_valid_coordinates":true} 
[2026-08-19 20:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510847488001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386102969906495488,"note":"Value kept but may cause issues"} 
[2026-08-19 20:34:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-865957735499763712,"note":"Value kept but may cause issues"} 
[2026-08-19 20:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787151762000,"timestamp_ms":1787151762000,"timestamp_seconds":1787151762,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8bc250"} 
[2026-08-19 20:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:34: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-08-19 20:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 20:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510847488001,"66":27365,"108":206,"2":54272,"24":23,"16":386102969906495488,"44":-865957735499763712},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-08-19 20:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510847488001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:34:04] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-19 20:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386102969906495488,"km_value":386102969906495.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:34:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-865957735499763712,"description":"Unknown IO ID 44"} 
[2026-08-19 20:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510847488001,"power":27365,"unknown_108":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-865957735499763712}} 
[2026-08-19 20:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":160417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:34:04] local.INFO: GPS data processed {"connection_id":160417,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:34:04] local.INFO: Acknowledgment sent {"connection_id":160417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:34:08] local.INFO: TCP Data received {"connection_id":159101,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:34:08] local.INFO: Processing buffer {"connection_id":159101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:34:08] local.INFO: IMEI packet received {"connection_id":159101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":159101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:34:13] local.INFO: TCP Data received {"connection_id":159101,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:34:13] local.INFO: Processing buffer {"connection_id":159101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:34:13] local.INFO: IMEI packet received {"connection_id":159101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":159101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:34:14] local.INFO: TCP Data received {"connection_id":159101,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:34:14] local.INFO: Processing buffer {"connection_id":159101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:34:14] local.INFO: Packet analysis {"connection_id":159101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:34:14] local.INFO: Extracted packet for processing {"connection_id":159101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:34:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510754048001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787151684000,"timestamp_ms":1787151684000,"timestamp_seconds":1787151684,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8a91a0"} 
[2026-08-19 20:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:34:14] 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-08-19 20:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510754048001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510754048001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:34:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:34:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510754048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":159101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:34:14] local.INFO: GPS data processed {"connection_id":159101,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:34:14] local.INFO: Acknowledgment sent {"connection_id":159101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:34:36] local.INFO: TCP Data received {"connection_id":160417,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8c1070012cf430400710d6f8001b00852f..."} 
[2026-08-19 20:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8c1070012cf430400710d6f8001b00852f..."} 
[2026-08-19 20:34:36] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8c1070012cf430400710d6f8001b00852f..."} 
[2026-08-19 20:34:36] local.INFO: Packet analysis {"connection_id":160417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8c"} 
[2026-08-19 20:34:36] local.INFO: Extracted packet for processing {"connection_id":160417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8c"} 
[2026-08-19 20:34:36] local.INFO: GPS Element Parsed {"raw_longitude":754200640,"raw_latitude":118544120,"longitude_deg":75.420064,"latitude_deg":11.854412,"altitude":27,"angle":133,"satellites":47,"speed":15,"hex_longitude":"2cf43040","hex_latitude":"0710d6f8","is_valid_coordinates":true} 
[2026-08-19 20:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510851072001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386103403698192384,"note":"Value kept but may cause issues"} 
[2026-08-19 20:34:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-858217173641881600,"note":"Value kept but may cause issues"} 
[2026-08-19 20:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787151782000,"timestamp_ms":1787151782000,"timestamp_seconds":1787151782,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8c1070"} 
[2026-08-19 20:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:34: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-08-19 20:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 20:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510851072001,"66":27343,"108":206,"2":54272,"24":15,"16":386103403698192384,"44":-858217173641881600},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-08-19 20:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510851072001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:34:36] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-19 20:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386103403698192384,"km_value":386103403698192.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:34:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-858217173641881600,"description":"Unknown IO ID 44"} 
[2026-08-19 20:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510851072001,"power":27343,"unknown_108":206,"power_alt":54272,"ignition":15,"odometer":null,"unknown_44":-858217173641881600}} 
[2026-08-19 20:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":160417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:34:36] local.INFO: GPS data processed {"connection_id":160417,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:34:36] local.INFO: Acknowledgment sent {"connection_id":160417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:34:45] local.INFO: TCP Data received {"connection_id":159101,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:34:45] local.INFO: Processing buffer {"connection_id":159101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:34:45] local.INFO: Packet analysis {"connection_id":159101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:34:45] local.INFO: Extracted packet for processing {"connection_id":159101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:34:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510754048001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787151684000,"timestamp_ms":1787151684000,"timestamp_seconds":1787151684,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8a91a0"} 
[2026-08-19 20:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510754048001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510754048001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:34:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:34:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510754048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":159101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:34:45] local.INFO: GPS data processed {"connection_id":159101,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:34:45] local.INFO: Acknowledgment sent {"connection_id":159101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:34:55] local.INFO: TCP Data received {"connection_id":159102,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:34:55] local.INFO: Processing buffer {"connection_id":159102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:34:55] local.INFO: IMEI packet received {"connection_id":159102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":159102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:35:02] local.INFO: TCP Data received {"connection_id":159102,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:35:02] local.INFO: Processing buffer {"connection_id":159102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:35:02] local.INFO: IMEI packet received {"connection_id":159102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":159102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:35:04] local.INFO: TCP Data received {"connection_id":159102,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:35:04] local.INFO: Processing buffer {"connection_id":159102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:35:04] local.INFO: IMEI packet received {"connection_id":159102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":159102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:35:07] local.INFO: TCP Data received {"connection_id":157870,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:35:07] local.INFO: Processing buffer {"connection_id":157870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:35:07] local.INFO: IMEI packet received {"connection_id":157870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":157870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:35:12] local.INFO: TCP Data received {"connection_id":159102,"ip":"117.224.24.81","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a01a..."} 
[2026-08-19 20:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159102,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a01a..."} 
[2026-08-19 20:35:12] local.INFO: Processing buffer {"connection_id":159102,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a01a..."} 
[2026-08-19 20:35:12] local.INFO: IMEI packet received {"connection_id":159102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":159102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:35:13] local.INFO: TCP Data received {"connection_id":157870,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:35:13] local.INFO: Processing buffer {"connection_id":157870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:35:13] local.INFO: IMEI packet received {"connection_id":157870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":157870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:35:13] local.INFO: TCP Data received {"connection_id":159102,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8cb480012cf44f000710ba68001d00862f..."} 
[2026-08-19 20:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8cb480012cf44f000710ba68001d00862f..."} 
[2026-08-19 20:35:13] local.INFO: Processing buffer {"connection_id":159102,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a01a8c6278012cf441000710c770001b00882f..."} 
[2026-08-19 20:35:13] local.INFO: Packet analysis {"connection_id":159102,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a01a8c"} 
[2026-08-19 20:35:13] local.INFO: Extracted packet for processing {"connection_id":159102,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8c"} 
[2026-08-19 20:35:13] local.INFO: GPS Element Parsed {"raw_longitude":754204928,"raw_latitude":118540144,"longitude_deg":75.4204928,"latitude_deg":11.8540144,"altitude":27,"angle":136,"satellites":47,"speed":3,"hex_longitude":"2cf44100","hex_latitude":"0710c770","is_valid_coordinates":true} 
[2026-08-19 20:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510856192001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386103682871066624,"note":"Value kept but may cause issues"} 
[2026-08-19 20:35:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-851109930481551360,"note":"Value kept but may cause issues"} 
[2026-08-19 20:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787151803000,"timestamp_ms":1787151803000,"timestamp_seconds":1787151803,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8c6278"} 
[2026-08-19 20:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:35: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-08-19 20:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 20:35:13] 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-08-19 20:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510856192001,"66":27321,"108":206,"2":54272,"24":3,"16":386103682871066624,"44":-851109930481551360},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-08-19 20:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510856192001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:35:13] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-19 20:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386103682871066624,"km_value":386103682871066.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:35:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-851109930481551360,"description":"Unknown IO ID 44"} 
[2026-08-19 20:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510856192001,"power":27321,"unknown_108":206,"power_alt":54272,"ignition":3,"odometer":null,"unknown_44":-851109930481551360}} 
[2026-08-19 20:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":159102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:35:13] local.INFO: GPS data processed {"connection_id":159102,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:35:13] local.INFO: Acknowledgment sent {"connection_id":159102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:35:13] local.INFO: Packet analysis {"connection_id":159102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8c"} 
[2026-08-19 20:35:13] local.INFO: Extracted packet for processing {"connection_id":159102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8c"} 
[2026-08-19 20:35:13] local.INFO: GPS Element Parsed {"raw_longitude":754208512,"raw_latitude":118536808,"longitude_deg":75.4208512,"latitude_deg":11.8536808,"altitude":29,"angle":134,"satellites":47,"speed":8,"hex_longitude":"2cf44f00","hex_latitude":"0710ba68","is_valid_coordinates":true} 
[2026-08-19 20:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510861568001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386103919094267904,"note":"Value kept but may cause issues"} 
[2026-08-19 20:35:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-846395224622665728,"note":"Value kept but may cause issues"} 
[2026-08-19 20:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787151824000,"timestamp_ms":1787151824000,"timestamp_seconds":1787151824,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8cb480"} 
[2026-08-19 20:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:35: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-08-19 20:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 20:35:13] 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-08-19 20:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510861568001,"66":27376,"108":206,"2":54272,"24":8,"16":386103919094267904,"44":-846395224622665728},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-08-19 20:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510861568001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:35:13] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-19 20:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386103919094267904,"km_value":386103919094267.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:35:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-846395224622665728,"description":"Unknown IO ID 44"} 
[2026-08-19 20:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510861568001,"power":27376,"unknown_108":206,"power_alt":54272,"ignition":8,"odometer":null,"unknown_44":-846395224622665728}} 
[2026-08-19 20:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":159102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:35:13] local.INFO: GPS data processed {"connection_id":159102,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:35:13] local.INFO: Acknowledgment sent {"connection_id":159102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:35:13] local.INFO: TCP Data received {"connection_id":157870,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:35:13] local.INFO: Processing buffer {"connection_id":157870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:35:13] local.INFO: Packet analysis {"connection_id":157870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:35:13] local.INFO: Extracted packet for processing {"connection_id":157870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:35:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510754048001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787151684000,"timestamp_ms":1787151684000,"timestamp_seconds":1787151684,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8a91a0"} 
[2026-08-19 20:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:35:13] 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-08-19 20:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:35:13] 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-08-19 20:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510754048001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510754048001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:35:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:35:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510754048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":157870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:35:14] local.INFO: GPS data processed {"connection_id":157870,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:35:14] local.INFO: Acknowledgment sent {"connection_id":157870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:35:14] local.INFO: TCP Data received {"connection_id":159102,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8d0688012cf459c00710af980020008931..."} 
[2026-08-19 20:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8d0688012cf459c00710af980020008931..."} 
[2026-08-19 20:35:14] local.INFO: Processing buffer {"connection_id":159102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8d0688012cf459c00710af980020008931..."} 
[2026-08-19 20:35:14] local.INFO: Packet analysis {"connection_id":159102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8d"} 
[2026-08-19 20:35:14] local.INFO: Extracted packet for processing {"connection_id":159102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8d"} 
[2026-08-19 20:35:14] local.INFO: GPS Element Parsed {"raw_longitude":754211264,"raw_latitude":118534040,"longitude_deg":75.4211264,"latitude_deg":11.853404,"altitude":32,"angle":137,"satellites":49,"speed":8,"hex_longitude":"2cf459c0","hex_latitude":"0710af98","is_valid_coordinates":true} 
[2026-08-19 20:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510866944001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386104108072828928,"note":"Value kept but may cause issues"} 
[2026-08-19 20:35:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-842454574949570560,"note":"Value kept but may cause issues"} 
[2026-08-19 20:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787151845000,"timestamp_ms":1787151845000,"timestamp_seconds":1787151845,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8d0688"} 
[2026-08-19 20:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:35: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-08-19 20:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 20:35:14] 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-08-19 20:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510866944001,"66":27397,"108":206,"2":54272,"24":8,"16":386104108072828928,"44":-842454574949570560},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-08-19 20:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510866944001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:35:14] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-19 20:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386104108072828928,"km_value":386104108072828.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:35:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-842454574949570560,"description":"Unknown IO ID 44"} 
[2026-08-19 20:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510866944001,"power":27397,"unknown_108":206,"power_alt":54272,"ignition":8,"odometer":null,"unknown_44":-842454574949570560}} 
[2026-08-19 20:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":159102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:35:14] local.INFO: GPS data processed {"connection_id":159102,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:35:14] local.INFO: Acknowledgment sent {"connection_id":159102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:35:45] local.INFO: TCP Data received {"connection_id":157870,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:35:45] local.INFO: Processing buffer {"connection_id":157870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:35:45] local.INFO: Packet analysis {"connection_id":157870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:35:45] local.INFO: Extracted packet for processing {"connection_id":157870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:35:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510754048001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787151684000,"timestamp_ms":1787151684000,"timestamp_seconds":1787151684,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8a91a0"} 
[2026-08-19 20:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:35:45] 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-08-19 20:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510754048001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510754048001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:35:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:35:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510754048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":157870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:35:45] local.INFO: GPS data processed {"connection_id":157870,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:35:45] local.INFO: Acknowledgment sent {"connection_id":157870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:35:58] local.INFO: TCP Data received {"connection_id":158236,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:35:58] local.INFO: Processing buffer {"connection_id":158236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:35:58] local.INFO: IMEI packet received {"connection_id":158236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":158236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:36:03] local.INFO: TCP Data received {"connection_id":158236,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:36:03] local.INFO: Processing buffer {"connection_id":158236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:36:03] local.INFO: IMEI packet received {"connection_id":158236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":158236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:36:04] local.INFO: TCP Data received {"connection_id":158236,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8d3568012cf460400710a8d80022007b33..."} 
[2026-08-19 20:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8d3568012cf460400710a8d80022007b33..."} 
[2026-08-19 20:36:04] local.INFO: Processing buffer {"connection_id":158236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8d3568012cf460400710a8d80022007b33..."} 
[2026-08-19 20:36:04] local.INFO: Packet analysis {"connection_id":158236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8d"} 
[2026-08-19 20:36:04] local.INFO: Extracted packet for processing {"connection_id":158236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8d"} 
[2026-08-19 20:36:04] local.INFO: GPS Element Parsed {"raw_longitude":754212928,"raw_latitude":118532312,"longitude_deg":75.4212928,"latitude_deg":11.8532312,"altitude":34,"angle":123,"satellites":51,"speed":13,"hex_longitude":"2cf46040","hex_latitude":"0710a8d8","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510872320001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386104224036945920,"note":"Value kept but may cause issues"} 
[2026-08-19 20:36:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-839428718950639616,"note":"Value kept but may cause issues"} 
[2026-08-19 20:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787151857000,"timestamp_ms":1787151857000,"timestamp_seconds":1787151857,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8d3568"} 
[2026-08-19 20:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:36: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-08-19 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 20:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510872320001,"66":27300,"108":206,"2":54272,"24":13,"16":386104224036945920,"44":-839428718950639616},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-08-19 20:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510872320001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:36:04] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-19 20:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386104224036945920,"km_value":386104224036945.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:36:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-839428718950639616,"description":"Unknown IO ID 44"} 
[2026-08-19 20:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510872320001,"power":27300,"unknown_108":206,"power_alt":54272,"ignition":13,"odometer":null,"unknown_44":-839428718950639616}} 
[2026-08-19 20:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":158236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:36:04] local.INFO: GPS data processed {"connection_id":158236,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:36:04] local.INFO: Acknowledgment sent {"connection_id":158236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:36:07] local.INFO: TCP Data received {"connection_id":159103,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:36:07] local.INFO: Processing buffer {"connection_id":159103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:36:07] local.INFO: IMEI packet received {"connection_id":159103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":159103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:36:13] local.INFO: TCP Data received {"connection_id":159103,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:36:13] local.INFO: Processing buffer {"connection_id":159103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:36:13] local.INFO: IMEI packet received {"connection_id":159103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":159103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:36:14] local.INFO: TCP Data received {"connection_id":159103,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:36:14] local.INFO: Processing buffer {"connection_id":159103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:36:14] local.INFO: Packet analysis {"connection_id":159103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:36:14] local.INFO: Extracted packet for processing {"connection_id":159103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:36:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510754048001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787151684000,"timestamp_ms":1787151684000,"timestamp_seconds":1787151684,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8a91a0"} 
[2026-08-19 20:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:36:14] 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-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:36:14] 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-08-19 20:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510754048001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510754048001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:36:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:36:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510754048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":159103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:36:14] local.INFO: GPS data processed {"connection_id":159103,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:36:14] local.INFO: Acknowledgment sent {"connection_id":159103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:36:35] local.INFO: TCP Data received {"connection_id":158236,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8d4120012cf464000710a6f00022006f33..."} 
[2026-08-19 20:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8d4120012cf464000710a6f00022006f33..."} 
[2026-08-19 20:36:35] local.INFO: Processing buffer {"connection_id":158236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8d4120012cf464000710a6f00022006f33..."} 
[2026-08-19 20:36:35] local.INFO: Packet analysis {"connection_id":158236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8d"} 
[2026-08-19 20:36:35] local.INFO: Extracted packet for processing {"connection_id":158236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8d"} 
[2026-08-19 20:36:35] local.INFO: GPS Element Parsed {"raw_longitude":754213888,"raw_latitude":118531824,"longitude_deg":75.4213888,"latitude_deg":11.8531824,"altitude":34,"angle":111,"satellites":51,"speed":13,"hex_longitude":"2cf46400","hex_latitude":"0710a6f0","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510875392001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386104275576553472,"note":"Value kept but may cause issues"} 
[2026-08-19 20:36:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-837599131602462720,"note":"Value kept but may cause issues"} 
[2026-08-19 20:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787151860000,"timestamp_ms":1787151860000,"timestamp_seconds":1787151860,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8d4120"} 
[2026-08-19 20:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 20:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510875392001,"66":26723,"108":206,"2":54272,"24":13,"16":386104275576553472,"44":-837599131602462720},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-08-19 20:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510875392001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:36:35] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-19 20:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386104275576553472,"km_value":386104275576553.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:36:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-837599131602462720,"description":"Unknown IO ID 44"} 
[2026-08-19 20:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510875392001,"power":26723,"unknown_108":206,"power_alt":54272,"ignition":13,"odometer":null,"unknown_44":-837599131602462720}} 
[2026-08-19 20:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":158236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:36:35] local.INFO: GPS data processed {"connection_id":158236,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:36:35] local.INFO: Acknowledgment sent {"connection_id":158236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:36:45] local.INFO: TCP Data received {"connection_id":159103,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:36:45] local.INFO: Processing buffer {"connection_id":159103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8a91a0012d196500071ff128004701462b..."} 
[2026-08-19 20:36:45] local.INFO: Packet analysis {"connection_id":159103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:36:45] local.INFO: Extracted packet for processing {"connection_id":159103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8a"} 
[2026-08-19 20:36:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510754048001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787151684000,"timestamp_ms":1787151684000,"timestamp_seconds":1787151684,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8a91a0"} 
[2026-08-19 20:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:36:45] 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-08-19 20:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510754048001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510754048001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:36:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:36:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510754048001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":159103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:36:45] local.INFO: GPS data processed {"connection_id":159103,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:36:45] local.INFO: Acknowledgment sent {"connection_id":159103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:36:58] local.INFO: TCP Data received {"connection_id":160418,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:36:58] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:36:58] local.INFO: IMEI packet received {"connection_id":160418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":160418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:37:03] local.INFO: TCP Data received {"connection_id":160418,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:37:03] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:37:03] local.INFO: IMEI packet received {"connection_id":160418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":160418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:37:05] local.INFO: TCP Data received {"connection_id":160418,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8d73e8012cf4780007109f380022007d31..."} 
[2026-08-19 20:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8d73e8012cf4780007109f380022007d31..."} 
[2026-08-19 20:37:05] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8d73e8012cf4780007109f380022007d31..."} 
[2026-08-19 20:37:05] local.INFO: Packet analysis {"connection_id":160418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8d"} 
[2026-08-19 20:37:05] local.INFO: Extracted packet for processing {"connection_id":160418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8d"} 
[2026-08-19 20:37:05] local.INFO: GPS Element Parsed {"raw_longitude":754219008,"raw_latitude":118529848,"longitude_deg":75.4219008,"latitude_deg":11.8529848,"altitude":34,"angle":125,"satellites":49,"speed":21,"hex_longitude":"2cf47800","hex_latitude":"07109f38","is_valid_coordinates":true} 
[2026-08-19 20:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510876160001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386104537569558528,"note":"Value kept but may cause issues"} 
[2026-08-19 20:37:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-836543600439922688,"note":"Value kept but may cause issues"} 
[2026-08-19 20:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787151873000,"timestamp_ms":1787151873000,"timestamp_seconds":1787151873,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8d73e8"} 
[2026-08-19 20:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:37: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-08-19 20:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-08-19 20:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1609,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510876160001,"66":27234,"108":206,"2":54272,"24":21,"16":386104537569558528,"44":-836543600439922688},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-08-19 20:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510876160001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:37:05] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-19 20:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386104537569558528,"km_value":386104537569558.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:37:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-836543600439922688,"description":"Unknown IO ID 44"} 
[2026-08-19 20:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510876160001,"power":27234,"unknown_108":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-836543600439922688}} 
[2026-08-19 20:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":160418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:37:05] local.INFO: GPS data processed {"connection_id":160418,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:37:05] local.INFO: Acknowledgment sent {"connection_id":160418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:37:13] local.INFO: TCP Data received {"connection_id":157871,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:37:13] local.INFO: Processing buffer {"connection_id":157871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:37:13] local.INFO: IMEI packet received {"connection_id":157871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":157871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:37:18] local.INFO: TCP Data received {"connection_id":157871,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:37:18] local.INFO: Processing buffer {"connection_id":157871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:37:18] local.INFO: IMEI packet received {"connection_id":157871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":157871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:37:19] local.INFO: TCP Data received {"connection_id":157871,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:37:19] local.INFO: Processing buffer {"connection_id":157871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:37:19] local.INFO: Packet analysis {"connection_id":157871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:37:19] local.INFO: Extracted packet for processing {"connection_id":157871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:37:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 20:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510831104001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787151985000,"timestamp_ms":1787151985000,"timestamp_seconds":1787151985,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8f2968"} 
[2026-08-19 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-08-19 20:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 20:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510831104001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510831104001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:37:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:37:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510831104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":157871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:37:19] local.INFO: GPS data processed {"connection_id":157871,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:37:19] local.INFO: Acknowledgment sent {"connection_id":157871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:37:23] local.INFO: TCP Data received {"connection_id":157871,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:37:23] local.INFO: Processing buffer {"connection_id":157871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:37:23] local.INFO: Packet analysis {"connection_id":157871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:37:23] local.INFO: Extracted packet for processing {"connection_id":157871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:37:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510831104001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787151985000,"timestamp_ms":1787151985000,"timestamp_seconds":1787151985,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8f2968"} 
[2026-08-19 20:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":157871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":157871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":157871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510831104001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510831104001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:37:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:37:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510831104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":157871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:37:23] local.INFO: GPS data processed {"connection_id":157871,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:37:23] local.INFO: Acknowledgment sent {"connection_id":157871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:37:37] local.INFO: TCP Data received {"connection_id":160418,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8f73a0012cf58280070fc338001200a533..."} 
[2026-08-19 20:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8f73a0012cf58280070fc338001200a533..."} 
[2026-08-19 20:37:37] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8f73a0012cf58280070fc338001200a533..."} 
[2026-08-19 20:37:37] local.INFO: Packet analysis {"connection_id":160418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:37:37] local.INFO: Extracted packet for processing {"connection_id":160418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:37:37] local.INFO: GPS Element Parsed {"raw_longitude":754287232,"raw_latitude":118473528,"longitude_deg":75.4287232,"latitude_deg":11.8473528,"altitude":18,"angle":165,"satellites":51,"speed":49,"hex_longitude":"2cf58280","hex_latitude":"070fc338","is_valid_coordinates":true} 
[2026-08-19 20:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510911744001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386108875486527488,"note":"Value kept but may cause issues"} 
[2026-08-19 20:37:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-758293556927864832,"note":"Value kept but may cause issues"} 
[2026-08-19 20:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787152004000,"timestamp_ms":1787152004000,"timestamp_seconds":1787152004,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8f73a0"} 
[2026-08-19 20:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 20:37:37] 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-08-19 20:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510911744001,"66":27267,"36":206,"2":54272,"24":49,"16":386108875486527488,"44":-758293556927864832},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-08-19 20:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510911744001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:37:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-19 20:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386108875486527488,"km_value":386108875486527.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:37:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-758293556927864832,"description":"Unknown IO ID 44"} 
[2026-08-19 20:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510911744001,"power":27267,"unknown_36":206,"power_alt":54272,"ignition":49,"odometer":null,"unknown_44":-758293556927864832}} 
[2026-08-19 20:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":160418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:37:37] local.INFO: GPS data processed {"connection_id":160418,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:37:37] local.INFO: Acknowledgment sent {"connection_id":160418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:37:58] local.INFO: TCP Data received {"connection_id":160419,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:37:58] local.INFO: Processing buffer {"connection_id":160419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:37:58] local.INFO: IMEI packet received {"connection_id":160419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":160419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:37:59] local.INFO: TCP Data received {"connection_id":160419,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:37:59] local.INFO: Processing buffer {"connection_id":160419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:37:59] local.INFO: IMEI packet received {"connection_id":160419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":160419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:38:04] local.INFO: TCP Data received {"connection_id":160419,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:38:04] local.INFO: Processing buffer {"connection_id":160419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:38:04] local.INFO: IMEI packet received {"connection_id":160419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":160419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:38:05] local.INFO: TCP Data received {"connection_id":160419,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8f8b10012cf58700070fa390001000b333..."} 
[2026-08-19 20:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8f8b10012cf58700070fa390001000b333..."} 
[2026-08-19 20:38:05] local.INFO: Processing buffer {"connection_id":160419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8f8b10012cf58700070fa390001000b333..."} 
[2026-08-19 20:38:05] local.INFO: Packet analysis {"connection_id":160419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:38:05] local.INFO: Extracted packet for processing {"connection_id":160419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:38:05] local.INFO: GPS Element Parsed {"raw_longitude":754288384,"raw_latitude":118465424,"longitude_deg":75.4288384,"latitude_deg":11.8465424,"altitude":16,"angle":179,"satellites":51,"speed":58,"hex_longitude":"2cf58700","hex_latitude":"070fa390","is_valid_coordinates":true} 
[2026-08-19 20:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510913024001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386109274918486016,"note":"Value kept but may cause issues"} 
[2026-08-19 20:38:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-755901019627243520,"note":"Value kept but may cause issues"} 
[2026-08-19 20:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787152010000,"timestamp_ms":1787152010000,"timestamp_seconds":1787152010,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8f8b10"} 
[2026-08-19 20:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:38: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-08-19 20:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 20:38:05] 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-08-19 20:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510913024001,"66":27245,"146":206,"2":54272,"24":58,"16":386109274918486016,"44":-755901019627243520},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-19 20:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510913024001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:38:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-19 20:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386109274918486016,"km_value":386109274918486.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:38:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-755901019627243520,"description":"Unknown IO ID 44"} 
[2026-08-19 20:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510913024001,"power":27245,"unknown_146":206,"power_alt":54272,"ignition":58,"odometer":null,"unknown_44":-755901019627243520}} 
[2026-08-19 20:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":160419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:38:05] local.INFO: GPS data processed {"connection_id":160419,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:38:05] local.INFO: Acknowledgment sent {"connection_id":160419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:38:08] local.INFO: TCP Data received {"connection_id":158237,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:38:08] local.INFO: Processing buffer {"connection_id":158237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:38:08] local.INFO: IMEI packet received {"connection_id":158237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":158237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:38:13] local.INFO: TCP Data received {"connection_id":158237,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:38:13] local.INFO: Processing buffer {"connection_id":158237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:38:13] local.INFO: IMEI packet received {"connection_id":158237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":158237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:38:14] local.INFO: TCP Data received {"connection_id":158237,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:38:14] local.INFO: Processing buffer {"connection_id":158237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:38:14] local.INFO: Packet analysis {"connection_id":158237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:38:14] local.INFO: Extracted packet for processing {"connection_id":158237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:38:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510831104001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787151985000,"timestamp_ms":1787151985000,"timestamp_seconds":1787151985,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8f2968"} 
[2026-08-19 20:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510831104001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510831104001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:38:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:38:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510831104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":158237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:38:14] local.INFO: GPS data processed {"connection_id":158237,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:38:14] local.INFO: Acknowledgment sent {"connection_id":158237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:38:37] local.INFO: TCP Data received {"connection_id":160419,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8f9ab0012cf58400070f8c08000e00c033..."} 
[2026-08-19 20:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8f9ab0012cf58400070f8c08000e00c033..."} 
[2026-08-19 20:38:37] local.INFO: Processing buffer {"connection_id":160419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8f9ab0012cf58400070f8c08000e00c033..."} 
[2026-08-19 20:38:37] local.INFO: Packet analysis {"connection_id":160419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:38:37] local.INFO: Extracted packet for processing {"connection_id":160419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:38:37] local.INFO: GPS Element Parsed {"raw_longitude":754287616,"raw_latitude":118459400,"longitude_deg":75.4287616,"latitude_deg":11.84594,"altitude":14,"angle":192,"satellites":51,"speed":61,"hex_longitude":"2cf58400","hex_latitude":"070f8c08","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510914560001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386109566976262144,"note":"Value kept but may cause issues"} 
[2026-08-19 20:38:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-754634382234120192,"note":"Value kept but may cause issues"} 
[2026-08-19 20:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787152014000,"timestamp_ms":1787152014000,"timestamp_seconds":1787152014,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8f9ab0"} 
[2026-08-19 20:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 20:38:37] 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-08-19 20: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-08-19 20:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510914560001,"66":27213,"146":206,"2":54272,"24":61,"16":386109566976262144,"44":-754634382234120192},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-19 20:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510914560001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:38:37] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-19 20:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386109566976262144,"km_value":386109566976262.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:38:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-754634382234120192,"description":"Unknown IO ID 44"} 
[2026-08-19 20:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510914560001,"power":27213,"unknown_146":206,"power_alt":54272,"ignition":61,"odometer":null,"unknown_44":-754634382234120192}} 
[2026-08-19 20:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":160419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:38:37] local.INFO: GPS data processed {"connection_id":160419,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:38:37] local.INFO: Acknowledgment sent {"connection_id":160419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:38:45] local.INFO: TCP Data received {"connection_id":158237,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:38:45] local.INFO: Processing buffer {"connection_id":158237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:38:45] local.INFO: Packet analysis {"connection_id":158237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:38:45] local.INFO: Extracted packet for processing {"connection_id":158237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:38:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510831104001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787151985000,"timestamp_ms":1787151985000,"timestamp_seconds":1787151985,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8f2968"} 
[2026-08-19 20:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510831104001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510831104001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:38:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:38:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510831104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":158237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:38:45] local.INFO: GPS data processed {"connection_id":158237,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:38:45] local.INFO: Acknowledgment sent {"connection_id":158237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:39:03] local.INFO: TCP Data received {"connection_id":160420,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:39:03] local.INFO: Processing buffer {"connection_id":160420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:39:03] local.INFO: IMEI packet received {"connection_id":160420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":160420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:39:06] local.INFO: TCP Data received {"connection_id":160420,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:39:06] local.INFO: Processing buffer {"connection_id":160420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:39:06] local.INFO: IMEI packet received {"connection_id":160420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":160420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:39:07] local.INFO: TCP Data received {"connection_id":160420,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8fb220012cf579c0070f6950000b00c431..."} 
[2026-08-19 20:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8fb220012cf579c0070f6950000b00c431..."} 
[2026-08-19 20:39:07] local.INFO: Processing buffer {"connection_id":160420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8fb220012cf579c0070f6950000b00c431..."} 
[2026-08-19 20:39:07] local.INFO: Packet analysis {"connection_id":160420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:39:07] local.INFO: Extracted packet for processing {"connection_id":160420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:39:07] local.INFO: GPS Element Parsed {"raw_longitude":754284992,"raw_latitude":118450512,"longitude_deg":75.4284992,"latitude_deg":11.8450512,"altitude":11,"angle":196,"satellites":49,"speed":62,"hex_longitude":"2cf579c0","hex_latitude":"070f6950","is_valid_coordinates":true} 
[2026-08-19 20:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510915584001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386110017947828224,"note":"Value kept but may cause issues"} 
[2026-08-19 20:39:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-755478807165794304,"note":"Value kept but may cause issues"} 
[2026-08-19 20:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787152020000,"timestamp_ms":1787152020000,"timestamp_seconds":1787152020,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8fb220"} 
[2026-08-19 20:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 20:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510915584001,"66":27267,"146":206,"2":54272,"24":62,"16":386110017947828224,"44":-755478807165794304},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-19 20:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510915584001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:39:07] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-19 20:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386110017947828224,"km_value":386110017947828.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:39:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-755478807165794304,"description":"Unknown IO ID 44"} 
[2026-08-19 20:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510915584001,"power":27267,"unknown_146":206,"power_alt":54272,"ignition":62,"odometer":null,"unknown_44":-755478807165794304}} 
[2026-08-19 20:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":160420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:39:07] local.INFO: GPS data processed {"connection_id":160420,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:39:07] local.INFO: Acknowledgment sent {"connection_id":160420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:39:08] local.INFO: TCP Data received {"connection_id":158238,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:39:08] local.INFO: Processing buffer {"connection_id":158238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:39:08] local.INFO: IMEI packet received {"connection_id":158238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":158238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:39:08] local.INFO: TCP Data received {"connection_id":160420,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8fc990012cf57100070f45f0000b00bc32..."} 
[2026-08-19 20:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8fc990012cf57100070f45f0000b00bc32..."} 
[2026-08-19 20:39:08] local.INFO: Processing buffer {"connection_id":160420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8fc990012cf57100070f45f0000b00bc32..."} 
[2026-08-19 20:39:08] local.INFO: Packet analysis {"connection_id":160420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:39:08] local.INFO: Extracted packet for processing {"connection_id":160420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:39:08] local.INFO: GPS Element Parsed {"raw_longitude":754282752,"raw_latitude":118441456,"longitude_deg":75.4282752,"latitude_deg":11.8441456,"altitude":11,"angle":188,"satellites":50,"speed":60,"hex_longitude":"2cf57100","hex_latitude":"070f45f0","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510917120001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386110468919394304,"note":"Value kept but may cause issues"} 
[2026-08-19 20:39:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-758363925679353856,"note":"Value kept but may cause issues"} 
[2026-08-19 20:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787152026000,"timestamp_ms":1787152026000,"timestamp_seconds":1787152026,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8fc990"} 
[2026-08-19 20:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:39: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-08-19 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 20:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510917120001,"66":27365,"146":206,"2":54272,"24":60,"16":386110468919394304,"44":-758363925679353856},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-08-19 20:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510917120001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:39:08] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-19 20:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386110468919394304,"km_value":386110468919394.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:39:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-758363925679353856,"description":"Unknown IO ID 44"} 
[2026-08-19 20:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510917120001,"power":27365,"unknown_146":206,"power_alt":54272,"ignition":60,"odometer":null,"unknown_44":-758363925679353856}} 
[2026-08-19 20:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":160420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:39:08] local.INFO: GPS data processed {"connection_id":160420,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:39:08] local.INFO: Acknowledgment sent {"connection_id":160420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:39:13] local.INFO: TCP Data received {"connection_id":158238,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:39:13] local.INFO: Processing buffer {"connection_id":158238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:39:13] local.INFO: IMEI packet received {"connection_id":158238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":158238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:39:13] local.INFO: TCP Data received {"connection_id":158238,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:39:13] local.INFO: Processing buffer {"connection_id":158238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:39:13] local.INFO: Packet analysis {"connection_id":158238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:39:13] local.INFO: Extracted packet for processing {"connection_id":158238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:39:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510831104001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787151985000,"timestamp_ms":1787151985000,"timestamp_seconds":1787151985,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8f2968"} 
[2026-08-19 20:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510831104001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510831104001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:39:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:39:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510831104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":158238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:39:14] local.INFO: GPS data processed {"connection_id":158238,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:39:14] local.INFO: Acknowledgment sent {"connection_id":158238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:39:40] local.INFO: TCP Data received {"connection_id":160420,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a915418012cf5fe00070d7820000d009f34..."} 
[2026-08-19 20:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a915418012cf5fe00070d7820000d009f34..."} 
[2026-08-19 20:39:40] local.INFO: Processing buffer {"connection_id":160420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a915418012cf5fe00070d7820000d009f34..."} 
[2026-08-19 20:39:40] local.INFO: Packet analysis {"connection_id":160420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a91"} 
[2026-08-19 20:39:40] local.INFO: Extracted packet for processing {"connection_id":160420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a91"} 
[2026-08-19 20:39:40] local.INFO: GPS Element Parsed {"raw_longitude":754318848,"raw_latitude":118323232,"longitude_deg":75.4318848,"latitude_deg":11.8323232,"altitude":13,"angle":159,"satellites":52,"speed":57,"hex_longitude":"2cf5fe00","hex_latitude":"070d7820","is_valid_coordinates":true} 
[2026-08-19 20:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510942720001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386116494758510592,"note":"Value kept but may cause issues"} 
[2026-08-19 20:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-724798034736818176,"note":"Value kept but may cause issues"} 
[2026-08-19 20:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787152127000,"timestamp_ms":1787152127000,"timestamp_seconds":1787152127,"priority":1,"record_length":96,"hex_timestamp":"000001a01a915418"} 
[2026-08-19 20:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 20:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510942720001,"66":27300,"208":206,"2":54272,"24":57,"16":386116494758510592,"44":-724798034736818176},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-08-19 20:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510942720001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:39:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 20:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386116494758510592,"km_value":386116494758510.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-724798034736818176,"description":"Unknown IO ID 44"} 
[2026-08-19 20:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510942720001,"power":27300,"unknown_208":206,"power_alt":54272,"ignition":57,"odometer":null,"unknown_44":-724798034736818176}} 
[2026-08-19 20:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":160420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:39:40] local.INFO: GPS data processed {"connection_id":160420,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:39:40] local.INFO: Acknowledgment sent {"connection_id":160420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:39:45] local.INFO: TCP Data received {"connection_id":158238,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:39:45] local.INFO: Processing buffer {"connection_id":158238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:39:45] local.INFO: Packet analysis {"connection_id":158238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:39:45] local.INFO: Extracted packet for processing {"connection_id":158238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:39:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510831104001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787151985000,"timestamp_ms":1787151985000,"timestamp_seconds":1787151985,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8f2968"} 
[2026-08-19 20:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510831104001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510831104001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:39:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:39:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510831104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":158238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:39:45] local.INFO: GPS data processed {"connection_id":158238,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:39:45] local.INFO: Acknowledgment sent {"connection_id":158238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:39:59] local.INFO: TCP Data received {"connection_id":159104,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:39:59] local.INFO: Processing buffer {"connection_id":159104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:39:59] local.INFO: IMEI packet received {"connection_id":159104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":159104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:39:59] local.INFO: TCP Data received {"connection_id":159104,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:39:59] local.INFO: Processing buffer {"connection_id":159104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:39:59] local.INFO: IMEI packet received {"connection_id":159104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":159104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:40:04] local.INFO: TCP Data received {"connection_id":159104,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:40:04] local.INFO: Processing buffer {"connection_id":159104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:40:04] local.INFO: IMEI packet received {"connection_id":159104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":159104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:40:07] local.INFO: TCP Data received {"connection_id":157872,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:40:07] local.INFO: Processing buffer {"connection_id":157872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:40:07] local.INFO: IMEI packet received {"connection_id":157872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":157872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:40:10] local.INFO: TCP Data received {"connection_id":159104,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a916f70012cf60c40070d52c8000d009f33..."} 
[2026-08-19 20:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a916f70012cf60c40070d52c8000d009f33..."} 
[2026-08-19 20:40:10] local.INFO: Processing buffer {"connection_id":159104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a916f70012cf60c40070d52c8000d009f33..."} 
[2026-08-19 20:40:10] local.INFO: Packet analysis {"connection_id":159104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a91"} 
[2026-08-19 20:40:10] local.INFO: Extracted packet for processing {"connection_id":159104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a91"} 
[2026-08-19 20:40:10] local.INFO: GPS Element Parsed {"raw_longitude":754322496,"raw_latitude":118313672,"longitude_deg":75.4322496,"latitude_deg":11.8313672,"altitude":13,"angle":159,"satellites":51,"speed":58,"hex_longitude":"2cf60c40","hex_latitude":"070d52c8","is_valid_coordinates":true} 
[2026-08-19 20:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510944512001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386116992974716928,"note":"Value kept but may cause issues"} 
[2026-08-19 20:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-721138860041953280,"note":"Value kept but may cause issues"} 
[2026-08-19 20:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787152134000,"timestamp_ms":1787152134000,"timestamp_seconds":1787152134,"priority":1,"record_length":96,"hex_timestamp":"000001a01a916f70"} 
[2026-08-19 20:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 20:40:10] 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-08-19 20:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510944512001,"66":27300,"208":206,"2":54272,"24":58,"16":386116992974716928,"44":-721138860041953280},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-08-19 20:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510944512001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:40:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 20:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386116992974716928,"km_value":386116992974716.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-721138860041953280,"description":"Unknown IO ID 44"} 
[2026-08-19 20:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510944512001,"power":27300,"unknown_208":206,"power_alt":54272,"ignition":58,"odometer":null,"unknown_44":-721138860041953280}} 
[2026-08-19 20:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":159104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:40:10] local.INFO: GPS data processed {"connection_id":159104,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:40:10] local.INFO: Acknowledgment sent {"connection_id":159104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:40:13] local.INFO: TCP Data received {"connection_id":157872,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:40:13] local.INFO: Processing buffer {"connection_id":157872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:40:13] local.INFO: IMEI packet received {"connection_id":157872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":157872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:40:14] local.INFO: TCP Data received {"connection_id":157872,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:40:14] local.INFO: Processing buffer {"connection_id":157872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:40:14] local.INFO: Packet analysis {"connection_id":157872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:40:14] local.INFO: Extracted packet for processing {"connection_id":157872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:40:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510831104001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787151985000,"timestamp_ms":1787151985000,"timestamp_seconds":1787151985,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8f2968"} 
[2026-08-19 20:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:40:14] 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-08-19 20:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510831104001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510831104001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:40:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:40:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510831104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":157872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:40:14] local.INFO: GPS data processed {"connection_id":157872,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:40:14] local.INFO: Acknowledgment sent {"connection_id":157872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:40:14] local.INFO: TCP Data received {"connection_id":159104,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9186e0012cf617c0070d3198000d00a333..."} 
[2026-08-19 20:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9186e0012cf617c0070d3198000d00a333..."} 
[2026-08-19 20:40:14] local.INFO: Processing buffer {"connection_id":159104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9186e0012cf617c0070d3198000d00a333..."} 
[2026-08-19 20:40:14] local.INFO: Packet analysis {"connection_id":159104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a91"} 
[2026-08-19 20:40:14] local.INFO: Extracted packet for processing {"connection_id":159104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a91"} 
[2026-08-19 20:40:14] local.INFO: GPS Element Parsed {"raw_longitude":754325440,"raw_latitude":118305176,"longitude_deg":75.432544,"latitude_deg":11.8305176,"altitude":13,"angle":163,"satellites":51,"speed":59,"hex_longitude":"2cf617c0","hex_latitude":"070d3198","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510946304001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386117426766413824,"note":"Value kept but may cause issues"} 
[2026-08-19 20:40:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-717127841626273792,"note":"Value kept but may cause issues"} 
[2026-08-19 20:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787152140000,"timestamp_ms":1787152140000,"timestamp_seconds":1787152140,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9186e0"} 
[2026-08-19 20:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:40: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-08-19 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 20:40:14] 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-08-19 20: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-08-19 20:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510946304001,"66":27343,"208":206,"2":54272,"24":59,"16":386117426766413824,"44":-717127841626273792},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-08-19 20:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510946304001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:40:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 20:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386117426766413824,"km_value":386117426766413.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:40:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-717127841626273792,"description":"Unknown IO ID 44"} 
[2026-08-19 20:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510946304001,"power":27343,"unknown_208":206,"power_alt":54272,"ignition":59,"odometer":null,"unknown_44":-717127841626273792}} 
[2026-08-19 20:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":159104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:40:14] local.INFO: GPS data processed {"connection_id":159104,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:40:14] local.INFO: Acknowledgment sent {"connection_id":159104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:40:45] local.INFO: TCP Data received {"connection_id":157872,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:40:45] local.INFO: Processing buffer {"connection_id":157872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:40:45] local.INFO: Packet analysis {"connection_id":157872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:40:45] local.INFO: Extracted packet for processing {"connection_id":157872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:40:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510831104001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787151985000,"timestamp_ms":1787151985000,"timestamp_seconds":1787151985,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8f2968"} 
[2026-08-19 20:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:40:45] 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-08-19 20:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510831104001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510831104001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:40:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:40:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510831104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":157872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:40:45] local.INFO: GPS data processed {"connection_id":157872,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:40:45] local.INFO: Acknowledgment sent {"connection_id":157872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:40:58] local.INFO: TCP Data received {"connection_id":160421,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:40:58] local.INFO: Processing buffer {"connection_id":160421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:40:58] local.INFO: IMEI packet received {"connection_id":160421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":160421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:41:00] local.INFO: TCP Data received {"connection_id":160421,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:41:00] local.INFO: Processing buffer {"connection_id":160421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:41:00] local.INFO: IMEI packet received {"connection_id":160421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":160421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:41:04] local.INFO: TCP Data received {"connection_id":160421,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:41:04] local.INFO: Processing buffer {"connection_id":160421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:41:04] local.INFO: IMEI packet received {"connection_id":160421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":160421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:41:06] local.INFO: TCP Data received {"connection_id":160421,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a919e50012cf61e40070d0fd0000d00af33..."} 
[2026-08-19 20:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a919e50012cf61e40070d0fd0000d00af33..."} 
[2026-08-19 20:41:06] local.INFO: Processing buffer {"connection_id":160421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a919e50012cf61e40070d0fd0000d00af33..."} 
[2026-08-19 20:41:06] local.INFO: Packet analysis {"connection_id":160421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a91"} 
[2026-08-19 20:41:06] local.INFO: Extracted packet for processing {"connection_id":160421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a91"} 
[2026-08-19 20:41:06] local.INFO: GPS Element Parsed {"raw_longitude":754327104,"raw_latitude":118296528,"longitude_deg":75.4327104,"latitude_deg":11.8296528,"altitude":13,"angle":175,"satellites":51,"speed":57,"hex_longitude":"2cf61e40","hex_latitude":"070d0fd0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 20:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510947840001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386117851968176128,"note":"Value kept but may cause issues"} 
[2026-08-19 20:41:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-713890879396276224,"note":"Value kept but may cause issues"} 
[2026-08-19 20:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787152146000,"timestamp_ms":1787152146000,"timestamp_seconds":1787152146,"priority":1,"record_length":96,"hex_timestamp":"000001a01a919e50"} 
[2026-08-19 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-08-19 20:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 20:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 20:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510947840001,"66":27300,"208":206,"2":54272,"24":57,"16":386117851968176128,"44":-713890879396276224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-08-19 20:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510947840001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:41:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-19 20:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386117851968176128,"km_value":386117851968176.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:41:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-713890879396276224,"description":"Unknown IO ID 44"} 
[2026-08-19 20:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510947840001,"power":27300,"unknown_208":206,"power_alt":54272,"ignition":57,"odometer":null,"unknown_44":-713890879396276224}} 
[2026-08-19 20:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":160421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:41:06] local.INFO: GPS data processed {"connection_id":160421,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:41:06] local.INFO: Acknowledgment sent {"connection_id":160421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:41:13] local.INFO: TCP Data received {"connection_id":158239,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:41:13] local.INFO: Processing buffer {"connection_id":158239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:41:13] local.INFO: IMEI packet received {"connection_id":158239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":158239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:41:18] local.INFO: TCP Data received {"connection_id":158239,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:41:18] local.INFO: Processing buffer {"connection_id":158239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:41:18] local.INFO: IMEI packet received {"connection_id":158239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":158239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:41:18] local.INFO: TCP Data received {"connection_id":158239,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:41:18] local.INFO: Processing buffer {"connection_id":158239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:41:18] local.INFO: Packet analysis {"connection_id":158239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:41:18] local.INFO: Extracted packet for processing {"connection_id":158239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:41:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510831104001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787151985000,"timestamp_ms":1787151985000,"timestamp_seconds":1787151985,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8f2968"} 
[2026-08-19 20:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510831104001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510831104001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:41:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:41:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510831104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":158239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:41:19] local.INFO: GPS data processed {"connection_id":158239,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:41:19] local.INFO: Acknowledgment sent {"connection_id":158239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:41:23] local.INFO: TCP Data received {"connection_id":158239,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:41:23] local.INFO: Processing buffer {"connection_id":158239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a8f2968012d196500071ff128004701462b..."} 
[2026-08-19 20:41:23] local.INFO: Packet analysis {"connection_id":158239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:41:23] local.INFO: Extracted packet for processing {"connection_id":158239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a8f"} 
[2026-08-19 20:41:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510831104001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787151985000,"timestamp_ms":1787151985000,"timestamp_seconds":1787151985,"priority":1,"record_length":96,"hex_timestamp":"000001a01a8f2968"} 
[2026-08-19 20:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510831104001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510831104001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:41:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:41:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510831104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":158239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:41:23] local.INFO: GPS data processed {"connection_id":158239,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:41:23] local.INFO: Acknowledgment sent {"connection_id":158239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:41:38] local.INFO: TCP Data received {"connection_id":160421,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a92ea58012cf67040070b81d00008009d35..."} 
[2026-08-19 20:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a92ea58012cf67040070b81d00008009d35..."} 
[2026-08-19 20:41:38] local.INFO: Processing buffer {"connection_id":160421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a92ea58012cf67040070b81d00008009d35..."} 
[2026-08-19 20:41:38] local.INFO: Packet analysis {"connection_id":160421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a92"} 
[2026-08-19 20:41:38] local.INFO: Extracted packet for processing {"connection_id":160421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a92"} 
[2026-08-19 20:41:38] local.INFO: GPS Element Parsed {"raw_longitude":754348096,"raw_latitude":118194640,"longitude_deg":75.4348096,"latitude_deg":11.819464,"altitude":8,"angle":157,"satellites":53,"speed":34,"hex_longitude":"2cf67040","hex_latitude":"070b81d0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 20:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510968832001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386122984454094848,"note":"Value kept but may cause issues"} 
[2026-08-19 20:41:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-693202468634177536,"note":"Value kept but may cause issues"} 
[2026-08-19 20:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787152231000,"timestamp_ms":1787152231000,"timestamp_seconds":1787152231,"priority":1,"record_length":96,"hex_timestamp":"000001a01a92ea58"} 
[2026-08-19 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-08-19 20:41: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-08-19 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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-19 20:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 20:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510968832001,"66":27234,"32":206,"2":54272,"24":34,"16":386122984454094848,"44":-693202468634177536},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 20:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510968832001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:41:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 20:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386122984454094848,"km_value":386122984454094.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:41:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-693202468634177536,"description":"Unknown IO ID 44"} 
[2026-08-19 20:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510968832001,"power":27234,"unknown_32":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-693202468634177536}} 
[2026-08-19 20:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":160421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:41:38] local.INFO: GPS data processed {"connection_id":160421,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:41:38] local.INFO: Acknowledgment sent {"connection_id":160421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:41:58] local.INFO: TCP Data received {"connection_id":159105,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:41:58] local.INFO: Processing buffer {"connection_id":159105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:41:58] local.INFO: IMEI packet received {"connection_id":159105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":159105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:42:03] local.INFO: TCP Data received {"connection_id":159105,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:42:03] local.INFO: Processing buffer {"connection_id":159105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:42:03] local.INFO: IMEI packet received {"connection_id":159105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":159105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:42:06] local.INFO: TCP Data received {"connection_id":159105,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a931168012cf67dc0070b60480009009d35..."} 
[2026-08-19 20:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a931168012cf67dc0070b60480009009d35..."} 
[2026-08-19 20:42:06] local.INFO: Processing buffer {"connection_id":159105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a931168012cf67dc0070b60480009009d35..."} 
[2026-08-19 20:42:06] local.INFO: Packet analysis {"connection_id":159105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:42:06] local.INFO: Extracted packet for processing {"connection_id":159105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:42:06] local.INFO: GPS Element Parsed {"raw_longitude":754351552,"raw_latitude":118186056,"longitude_deg":75.4351552,"latitude_deg":11.8186056,"altitude":9,"angle":157,"satellites":53,"speed":38,"hex_longitude":"2cf67dc0","hex_latitude":"070b6048","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510971136001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386123431130693632,"note":"Value kept but may cause issues"} 
[2026-08-19 20:42:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-688980343985680384,"note":"Value kept but may cause issues"} 
[2026-08-19 20:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787152241000,"timestamp_ms":1787152241000,"timestamp_seconds":1787152241,"priority":1,"record_length":96,"hex_timestamp":"000001a01a931168"} 
[2026-08-19 20:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 20:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510971136001,"66":27343,"32":206,"2":54272,"24":38,"16":386123431130693632,"44":-688980343985680384},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 20:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510971136001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:42:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 20:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386123431130693632,"km_value":386123431130693.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:42:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-688980343985680384,"description":"Unknown IO ID 44"} 
[2026-08-19 20:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510971136001,"power":27343,"unknown_32":206,"power_alt":54272,"ignition":38,"odometer":null,"unknown_44":-688980343985680384}} 
[2026-08-19 20:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":159105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:42:06] local.INFO: GPS data processed {"connection_id":159105,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:42:06] local.INFO: Acknowledgment sent {"connection_id":159105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:42:08] local.INFO: TCP Data received {"connection_id":157873,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:42:08] local.INFO: Processing buffer {"connection_id":157873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:42:08] local.INFO: IMEI packet received {"connection_id":157873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":157873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:42:13] local.INFO: TCP Data received {"connection_id":157873,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:42:13] local.INFO: Processing buffer {"connection_id":157873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:42:13] local.INFO: IMEI packet received {"connection_id":157873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":157873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:42:14] local.INFO: TCP Data received {"connection_id":157873,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:42:14] local.INFO: Processing buffer {"connection_id":157873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:42:14] local.INFO: Packet analysis {"connection_id":157873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:42:14] local.INFO: Extracted packet for processing {"connection_id":157873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:42:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510908160001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787152286000,"timestamp_ms":1787152286000,"timestamp_seconds":1787152286,"priority":1,"record_length":96,"hex_timestamp":"000001a01a93c130"} 
[2026-08-19 20:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:42:14] 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-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510908160001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510908160001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:42:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:42:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510908160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":157873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:42:14] local.INFO: GPS data processed {"connection_id":157873,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:42:14] local.INFO: Acknowledgment sent {"connection_id":157873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:42:38] local.INFO: TCP Data received {"connection_id":159105,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a933490012cf68d00070b40700009009535..."} 
[2026-08-19 20:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a933490012cf68d00070b40700009009535..."} 
[2026-08-19 20:42:38] local.INFO: Processing buffer {"connection_id":159105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a933490012cf68d00070b40700009009535..."} 
[2026-08-19 20:42:38] local.INFO: Packet analysis {"connection_id":159105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:42:38] local.INFO: Extracted packet for processing {"connection_id":159105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:42:38] local.INFO: GPS Element Parsed {"raw_longitude":754355456,"raw_latitude":118177904,"longitude_deg":75.4355456,"latitude_deg":11.8177904,"altitude":9,"angle":149,"satellites":53,"speed":38,"hex_longitude":"2cf68d00","hex_latitude":"070b4070","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510973696001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386123869217357824,"note":"Value kept but may cause issues"} 
[2026-08-19 20:42:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-685180431802284032,"note":"Value kept but may cause issues"} 
[2026-08-19 20:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787152250000,"timestamp_ms":1787152250000,"timestamp_seconds":1787152250,"priority":1,"record_length":96,"hex_timestamp":"000001a01a933490"} 
[2026-08-19 20:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:42: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-08-19 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 20:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510973696001,"66":27223,"32":206,"2":54272,"24":38,"16":386123869217357824,"44":-685180431802284032},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 20:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510973696001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:42:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 20:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386123869217357824,"km_value":386123869217357.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:42:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-685180431802284032,"description":"Unknown IO ID 44"} 
[2026-08-19 20:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510973696001,"power":27223,"unknown_32":206,"power_alt":54272,"ignition":38,"odometer":null,"unknown_44":-685180431802284032}} 
[2026-08-19 20:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":159105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:42:39] local.INFO: GPS data processed {"connection_id":159105,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:42:39] local.INFO: Acknowledgment sent {"connection_id":159105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:42:45] local.INFO: TCP Data received {"connection_id":157873,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:42:45] local.INFO: Processing buffer {"connection_id":157873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:42:45] local.INFO: Packet analysis {"connection_id":157873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:42:45] local.INFO: Extracted packet for processing {"connection_id":157873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:42:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510908160001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787152286000,"timestamp_ms":1787152286000,"timestamp_seconds":1787152286,"priority":1,"record_length":96,"hex_timestamp":"000001a01a93c130"} 
[2026-08-19 20:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:42:45] 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-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510908160001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510908160001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:42:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:42:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510908160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":157873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:42:45] local.INFO: GPS data processed {"connection_id":157873,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:42:45] local.INFO: Acknowledgment sent {"connection_id":157873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:43:04] local.INFO: TCP Data received {"connection_id":160422,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:43:04] local.INFO: Processing buffer {"connection_id":160422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:43:04] local.INFO: IMEI packet received {"connection_id":160422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":160422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:43:06] local.INFO: TCP Data received {"connection_id":160422,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:43:06] local.INFO: Processing buffer {"connection_id":160422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:43:06] local.INFO: IMEI packet received {"connection_id":160422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":160422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:43:07] local.INFO: TCP Data received {"connection_id":160422,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a936758012cf6a180070b22700009008e34..."} 
[2026-08-19 20:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a936758012cf6a180070b22700009008e34..."} 
[2026-08-19 20:43:07] local.INFO: Processing buffer {"connection_id":160422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a936758012cf6a180070b22700009008e34..."} 
[2026-08-19 20:43:07] local.INFO: Packet analysis {"connection_id":160422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:43:07] local.INFO: Extracted packet for processing {"connection_id":160422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:43:07] local.INFO: GPS Element Parsed {"raw_longitude":754360704,"raw_latitude":118170224,"longitude_deg":75.4360704,"latitude_deg":11.8170224,"altitude":9,"angle":142,"satellites":52,"speed":27,"hex_longitude":"2cf6a180","hex_latitude":"070b2270","is_valid_coordinates":true} 
[2026-08-19 20:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510976000001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386124315893956608,"note":"Value kept but may cause issues"} 
[2026-08-19 20:43:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-680887938409533440,"note":"Value kept but may cause issues"} 
[2026-08-19 20:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787152263000,"timestamp_ms":1787152263000,"timestamp_seconds":1787152263,"priority":1,"record_length":96,"hex_timestamp":"000001a01a936758"} 
[2026-08-19 20:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:43: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-08-19 20:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-19 20:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510976000001,"66":27267,"32":206,"2":54272,"24":27,"16":386124315893956608,"44":-680887938409533440},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 20:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510976000001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:43:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 20:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386124315893956608,"km_value":386124315893956.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:43:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-680887938409533440,"description":"Unknown IO ID 44"} 
[2026-08-19 20:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510976000001,"power":27267,"unknown_32":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-680887938409533440}} 
[2026-08-19 20:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":160422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:43:07] local.INFO: GPS data processed {"connection_id":160422,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:43:07] local.INFO: Acknowledgment sent {"connection_id":160422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:43:08] local.INFO: TCP Data received {"connection_id":159106,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:43:08] local.INFO: Processing buffer {"connection_id":159106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:43:08] local.INFO: IMEI packet received {"connection_id":159106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":159106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:43:13] local.INFO: TCP Data received {"connection_id":159106,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:43:13] local.INFO: Processing buffer {"connection_id":159106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:43:13] local.INFO: IMEI packet received {"connection_id":159106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":159106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:43:14] local.INFO: TCP Data received {"connection_id":159106,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:43:14] local.INFO: Processing buffer {"connection_id":159106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:43:14] local.INFO: Packet analysis {"connection_id":159106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:43:14] local.INFO: Extracted packet for processing {"connection_id":159106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:43:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510908160001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787152286000,"timestamp_ms":1787152286000,"timestamp_seconds":1787152286,"priority":1,"record_length":96,"hex_timestamp":"000001a01a93c130"} 
[2026-08-19 20:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:43:14] 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-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:43:14] 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-08-19 20:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510908160001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510908160001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:43:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:43:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510908160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":159106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:43:14] local.INFO: GPS data processed {"connection_id":159106,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:43:14] local.INFO: Acknowledgment sent {"connection_id":159106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:43:21] local.INFO: TCP Data received {"connection_id":160422,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a939638012cf6b8c0070b06600008008d34..."} 
[2026-08-19 20:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a939638012cf6b8c0070b06600008008d34..."} 
[2026-08-19 20:43:21] local.INFO: Processing buffer {"connection_id":160422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a939638012cf6b8c0070b06600008008d34..."} 
[2026-08-19 20:43:21] local.INFO: Packet analysis {"connection_id":160422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:43:21] local.INFO: Extracted packet for processing {"connection_id":160422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:43:21] local.INFO: GPS Element Parsed {"raw_longitude":754366656,"raw_latitude":118163040,"longitude_deg":75.4366656,"latitude_deg":11.816304,"altitude":8,"angle":141,"satellites":52,"speed":35,"hex_longitude":"2cf6b8c0","hex_latitude":"070b0660","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510979328001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386124766865522688,"note":"Value kept but may cause issues"} 
[2026-08-19 20:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-675117701388931072,"note":"Value kept but may cause issues"} 
[2026-08-19 20:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787152275000,"timestamp_ms":1787152275000,"timestamp_seconds":1787152275,"priority":1,"record_length":96,"hex_timestamp":"000001a01a939638"} 
[2026-08-19 20:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:43: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-08-19 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 20:43:21] 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-08-19 20: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-08-19 20:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":160422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":160422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":160422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510979328001,"66":27223,"32":206,"2":54272,"24":35,"16":386124766865522688,"44":-675117701388931072},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-08-19 20:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510979328001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:43:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-19 20:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386124766865522688,"km_value":386124766865522.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-675117701388931072,"description":"Unknown IO ID 44"} 
[2026-08-19 20:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510979328001,"power":27223,"unknown_32":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-675117701388931072}} 
[2026-08-19 20:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":160422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:43:21] local.INFO: GPS data processed {"connection_id":160422,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:43:21] local.INFO: Acknowledgment sent {"connection_id":160422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:43:45] local.INFO: TCP Data received {"connection_id":159106,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:43:45] local.INFO: Processing buffer {"connection_id":159106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:43:45] local.INFO: Packet analysis {"connection_id":159106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:43:45] local.INFO: Extracted packet for processing {"connection_id":159106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:43:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510908160001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787152286000,"timestamp_ms":1787152286000,"timestamp_seconds":1787152286,"priority":1,"record_length":96,"hex_timestamp":"000001a01a93c130"} 
[2026-08-19 20:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:43:45] 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-08-19 20: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":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:43:45] 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-08-19 20:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510908160001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510908160001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:43:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:43:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510908160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":159106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:43:45] local.INFO: GPS data processed {"connection_id":159106,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:43:45] local.INFO: Acknowledgment sent {"connection_id":159106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:43:55] local.INFO: TCP Data received {"connection_id":158240,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:43:55] local.INFO: Processing buffer {"connection_id":158240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:43:55] local.INFO: IMEI packet received {"connection_id":158240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":158240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:43:58] local.INFO: TCP Data received {"connection_id":158240,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:43:58] local.INFO: Processing buffer {"connection_id":158240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:43:58] local.INFO: IMEI packet received {"connection_id":158240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":158240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:44:03] local.INFO: TCP Data received {"connection_id":158240,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:44:03] local.INFO: Processing buffer {"connection_id":158240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:44:03] local.INFO: IMEI packet received {"connection_id":158240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":158240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:44:04] local.INFO: TCP Data received {"connection_id":158240,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a950180012cf7ba000709c848000b008a31..."} 
[2026-08-19 20:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a950180012cf7ba000709c848000b008a31..."} 
[2026-08-19 20:44:04] local.INFO: Processing buffer {"connection_id":158240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a950180012cf7ba000709c848000b008a31..."} 
[2026-08-19 20:44:04] local.INFO: Packet analysis {"connection_id":158240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a95"} 
[2026-08-19 20:44:04] local.INFO: Extracted packet for processing {"connection_id":158240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a95"} 
[2026-08-19 20:44:04] local.INFO: GPS Element Parsed {"raw_longitude":754432512,"raw_latitude":118081608,"longitude_deg":75.4432512,"latitude_deg":11.8081608,"altitude":11,"angle":138,"satellites":49,"speed":54,"hex_longitude":"2cf7ba00","hex_latitude":"0709c848","is_valid_coordinates":true} 
[2026-08-19 20:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511004416001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386129804862160896,"note":"Value kept but may cause issues"} 
[2026-08-19 20:44:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-603341582348531712,"note":"Value kept but may cause issues"} 
[2026-08-19 20:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787152368000,"timestamp_ms":1787152368000,"timestamp_seconds":1787152368,"priority":1,"record_length":96,"hex_timestamp":"000001a01a950180"} 
[2026-08-19 20:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:44: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-08-19 20:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 20:44:04] 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-08-19 20:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511004416001,"66":27343,"167":206,"28":32256,"24":54,"16":386129804862160896,"44":-603341582348531712},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-08-19 20:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511004416001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:44:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 20:44:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386129804862160896,"km_value":386129804862160.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:44:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-603341582348531712,"description":"Unknown IO ID 44"} 
[2026-08-19 20:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511004416001,"power":27343,"unknown_167":206,"unknown_28":32256,"ignition":54,"odometer":null,"unknown_44":-603341582348531712}} 
[2026-08-19 20:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":158240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:44:04] local.INFO: GPS data processed {"connection_id":158240,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:44:04] local.INFO: Acknowledgment sent {"connection_id":158240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:44:07] local.INFO: TCP Data received {"connection_id":158241,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:44:07] local.INFO: Processing buffer {"connection_id":158241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:44:07] local.INFO: IMEI packet received {"connection_id":158241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":158241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:44:13] local.INFO: TCP Data received {"connection_id":158241,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:44:13] local.INFO: Processing buffer {"connection_id":158241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:44:13] local.INFO: IMEI packet received {"connection_id":158241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":158241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:44:14] local.INFO: TCP Data received {"connection_id":158241,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:44:14] local.INFO: Processing buffer {"connection_id":158241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:44:14] local.INFO: Packet analysis {"connection_id":158241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:44:14] local.INFO: Extracted packet for processing {"connection_id":158241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:44:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510908160001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787152286000,"timestamp_ms":1787152286000,"timestamp_seconds":1787152286,"priority":1,"record_length":96,"hex_timestamp":"000001a01a93c130"} 
[2026-08-19 20:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:44:14] 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-08-19 20:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510908160001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510908160001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:44:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:44:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510908160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":158241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:44:14] local.INFO: GPS data processed {"connection_id":158241,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:44:14] local.INFO: Acknowledgment sent {"connection_id":158241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:44:45] local.INFO: TCP Data received {"connection_id":158240,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a951cd8012cf7d1800709acf8000e008d30..."} 
[2026-08-19 20:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a951cd8012cf7d1800709acf8000e008d30..."} 
[2026-08-19 20:44:45] local.INFO: Processing buffer {"connection_id":158240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a951cd8012cf7d1800709acf8000e008d30..."} 
[2026-08-19 20:44:45] local.INFO: Packet analysis {"connection_id":158240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a95"} 
[2026-08-19 20:44:45] local.INFO: Extracted packet for processing {"connection_id":158240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a95"} 
[2026-08-19 20:44:45] local.INFO: GPS Element Parsed {"raw_longitude":754438528,"raw_latitude":118074616,"longitude_deg":75.4438528,"latitude_deg":11.8074616,"altitude":14,"angle":141,"satellites":48,"speed":49,"hex_longitude":"2cf7d180","hex_latitude":"0709acf8","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511006208001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386130247243792384,"note":"Value kept but may cause issues"} 
[2026-08-19 20:44:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-596163970444277760,"note":"Value kept but may cause issues"} 
[2026-08-19 20:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787152375000,"timestamp_ms":1787152375000,"timestamp_seconds":1787152375,"priority":1,"record_length":96,"hex_timestamp":"000001a01a951cd8"} 
[2026-08-19 20:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:44: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-08-19 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 20:44:45] 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-08-19 20: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-08-19 20:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511006208001,"66":27213,"167":206,"28":32256,"24":49,"16":386130247243792384,"44":-596163970444277760},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-08-19 20:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511006208001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:44:45] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-19 20:44:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386130247243792384,"km_value":386130247243792.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:44:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-596163970444277760,"description":"Unknown IO ID 44"} 
[2026-08-19 20:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511006208001,"power":27213,"unknown_167":206,"unknown_28":32256,"ignition":49,"odometer":null,"unknown_44":-596163970444277760}} 
[2026-08-19 20:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":158240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:44:45] local.INFO: GPS data processed {"connection_id":158240,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:44:45] local.INFO: Acknowledgment sent {"connection_id":158240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:44:45] local.INFO: TCP Data received {"connection_id":158241,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:44:45] local.INFO: Processing buffer {"connection_id":158241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:44:45] local.INFO: Packet analysis {"connection_id":158241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:44:45] local.INFO: Extracted packet for processing {"connection_id":158241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:44:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510908160001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787152286000,"timestamp_ms":1787152286000,"timestamp_seconds":1787152286,"priority":1,"record_length":96,"hex_timestamp":"000001a01a93c130"} 
[2026-08-19 20:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:44:45] 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-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510908160001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510908160001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:44:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:44:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510908160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":158241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:44:45] local.INFO: GPS data processed {"connection_id":158241,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:44:45] local.INFO: Acknowledgment sent {"connection_id":158241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:45:03] local.INFO: TCP Data received {"connection_id":157874,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:45:03] local.INFO: Processing buffer {"connection_id":157874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:45:03] local.INFO: IMEI packet received {"connection_id":157874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":157874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:45:03] local.INFO: TCP Data received {"connection_id":157874,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:45:03] local.INFO: Processing buffer {"connection_id":157874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:45:03] local.INFO: IMEI packet received {"connection_id":157874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":157874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:45:07] local.INFO: TCP Data received {"connection_id":157874,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:45:07] local.INFO: Processing buffer {"connection_id":157874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:45:07] local.INFO: IMEI packet received {"connection_id":157874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":157874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:45:07] local.INFO: TCP Data received {"connection_id":159107,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:45:07] local.INFO: Processing buffer {"connection_id":159107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:45:07] local.INFO: IMEI packet received {"connection_id":159107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":159107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:45:09] local.INFO: TCP Data received {"connection_id":157874,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9641d0012cf8a58007086d38000b008f34..."} 
[2026-08-19 20:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9641d0012cf8a58007086d38000b008f34..."} 
[2026-08-19 20:45:09] local.INFO: Processing buffer {"connection_id":157874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9641d0012cf8a58007086d38000b008f34..."} 
[2026-08-19 20:45:09] local.INFO: Packet analysis {"connection_id":157874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a96"} 
[2026-08-19 20:45:09] local.INFO: Extracted packet for processing {"connection_id":157874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a96"} 
[2026-08-19 20:45:09] local.INFO: GPS Element Parsed {"raw_longitude":754492800,"raw_latitude":117992760,"longitude_deg":75.44928,"latitude_deg":11.799276,"altitude":11,"angle":143,"satellites":52,"speed":57,"hex_longitude":"2cf8a580","hex_latitude":"07086d38","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511025408001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386135018952458240,"note":"Value kept but may cause issues"} 
[2026-08-19 20:45:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-536069062937266176,"note":"Value kept but may cause issues"} 
[2026-08-19 20:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787152450000,"timestamp_ms":1787152450000,"timestamp_seconds":1787152450,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9641d0"} 
[2026-08-19 20:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 20:45:09] 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-08-19 20: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-08-19 20:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511025408001,"66":27050,"165":206,"28":32256,"24":57,"16":386135018952458240,"44":-536069062937266176},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-19 20:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511025408001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:45:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 20:45:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386135018952458240,"km_value":386135018952458.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:45:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-536069062937266176,"description":"Unknown IO ID 44"} 
[2026-08-19 20:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511025408001,"power":27050,"unknown_165":206,"unknown_28":32256,"ignition":57,"odometer":null,"unknown_44":-536069062937266176}} 
[2026-08-19 20:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":157874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:45:09] local.INFO: GPS data processed {"connection_id":157874,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:45:09] local.INFO: Acknowledgment sent {"connection_id":157874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:45:13] local.INFO: TCP Data received {"connection_id":159107,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:45:13] local.INFO: Processing buffer {"connection_id":159107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:45:13] local.INFO: IMEI packet received {"connection_id":159107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":159107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:45:14] local.INFO: TCP Data received {"connection_id":159107,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:45:14] local.INFO: Processing buffer {"connection_id":159107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:45:14] local.INFO: Packet analysis {"connection_id":159107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:45:14] local.INFO: Extracted packet for processing {"connection_id":159107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:45:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510908160001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787152286000,"timestamp_ms":1787152286000,"timestamp_seconds":1787152286,"priority":1,"record_length":96,"hex_timestamp":"000001a01a93c130"} 
[2026-08-19 20:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:45:14] 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-08-19 20:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510908160001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510908160001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:45:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:45:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510908160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":159107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:45:14] local.INFO: GPS data processed {"connection_id":159107,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:45:14] local.INFO: Acknowledgment sent {"connection_id":159107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:45:45] local.INFO: TCP Data received {"connection_id":157874,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a965940012cf8bb0007085098000a008f35..."} 
[2026-08-19 20:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a965940012cf8bb0007085098000a008f35..."} 
[2026-08-19 20:45:45] local.INFO: Processing buffer {"connection_id":157874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a965940012cf8bb0007085098000a008f35..."} 
[2026-08-19 20:45:45] local.INFO: Packet analysis {"connection_id":157874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a96"} 
[2026-08-19 20:45:45] local.INFO: Extracted packet for processing {"connection_id":157874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a96"} 
[2026-08-19 20:45:45] local.INFO: GPS Element Parsed {"raw_longitude":754498304,"raw_latitude":117985432,"longitude_deg":75.4498304,"latitude_deg":11.7985432,"altitude":10,"angle":143,"satellites":53,"speed":60,"hex_longitude":"2cf8bb00","hex_latitude":"07085098","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511027200001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386135461334089728,"note":"Value kept but may cause issues"} 
[2026-08-19 20:45:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-529876613451663360,"note":"Value kept but may cause issues"} 
[2026-08-19 20:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787152456000,"timestamp_ms":1787152456000,"timestamp_seconds":1787152456,"priority":1,"record_length":96,"hex_timestamp":"000001a01a965940"} 
[2026-08-19 20:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:45: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-08-19 20: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-19 20:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511027200001,"66":27300,"165":206,"28":32256,"24":60,"16":386135461334089728,"44":-529876613451663360},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-19 20:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511027200001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:45:45] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 20:45:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386135461334089728,"km_value":386135461334089.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:45:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-529876613451663360,"description":"Unknown IO ID 44"} 
[2026-08-19 20:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511027200001,"power":27300,"unknown_165":206,"unknown_28":32256,"ignition":60,"odometer":null,"unknown_44":-529876613451663360}} 
[2026-08-19 20:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":157874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:45:45] local.INFO: GPS data processed {"connection_id":157874,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:45:45] local.INFO: Acknowledgment sent {"connection_id":157874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:45:45] local.INFO: TCP Data received {"connection_id":159107,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:45:45] local.INFO: Processing buffer {"connection_id":159107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:45:45] local.INFO: Packet analysis {"connection_id":159107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:45:45] local.INFO: Extracted packet for processing {"connection_id":159107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510908160001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787152286000,"timestamp_ms":1787152286000,"timestamp_seconds":1787152286,"priority":1,"record_length":96,"hex_timestamp":"000001a01a93c130"} 
[2026-08-19 20:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:45:45] 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-08-19 20: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":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510908160001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510908160001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:45:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510908160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":159107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:45:45] local.INFO: GPS data processed {"connection_id":159107,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:45:45] local.INFO: Acknowledgment sent {"connection_id":159107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:45:58] local.INFO: TCP Data received {"connection_id":160423,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:45:58] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:45:58] local.INFO: IMEI packet received {"connection_id":160423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":160423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:46:05] local.INFO: TCP Data received {"connection_id":160423,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:46:05] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:46:05] local.INFO: IMEI packet received {"connection_id":160423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":160423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:46:11] local.INFO: TCP Data received {"connection_id":160423,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9670b0012cf8d00007083460000a008f34..."} 
[2026-08-19 20:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9670b0012cf8d00007083460000a008f34..."} 
[2026-08-19 20:46:11] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9670b0012cf8d00007083460000a008f34..."} 
[2026-08-19 20:46:11] local.INFO: Packet analysis {"connection_id":160423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a96"} 
[2026-08-19 20:46:11] local.INFO: Extracted packet for processing {"connection_id":160423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a96"} 
[2026-08-19 20:46:11] local.INFO: GPS Element Parsed {"raw_longitude":754503680,"raw_latitude":117978208,"longitude_deg":75.450368,"latitude_deg":11.7978208,"altitude":10,"angle":143,"satellites":52,"speed":58,"hex_longitude":"2cf8d000","hex_latitude":"07083460","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511028736001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386135895125786624,"note":"Value kept but may cause issues"} 
[2026-08-19 20:46:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-523824901454260224,"note":"Value kept but may cause issues"} 
[2026-08-19 20:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787152462000,"timestamp_ms":1787152462000,"timestamp_seconds":1787152462,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9670b0"} 
[2026-08-19 20:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:46: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-08-19 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 20:46:11] 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-08-19 20: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-08-19 20:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511028736001,"66":27180,"165":206,"28":32256,"24":58,"16":386135895125786624,"44":-523824901454260224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-19 20:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511028736001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:46:11] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 20:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386135895125786624,"km_value":386135895125786.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:46:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-523824901454260224,"description":"Unknown IO ID 44"} 
[2026-08-19 20:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511028736001,"power":27180,"unknown_165":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_44":-523824901454260224}} 
[2026-08-19 20:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":160423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:46:11] local.INFO: GPS data processed {"connection_id":160423,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:46:11] local.INFO: Acknowledgment sent {"connection_id":160423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:46:13] local.INFO: TCP Data received {"connection_id":157875,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:46:13] local.INFO: Processing buffer {"connection_id":157875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:46:13] local.INFO: IMEI packet received {"connection_id":157875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":157875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:46:18] local.INFO: TCP Data received {"connection_id":157875,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:46:18] local.INFO: Processing buffer {"connection_id":157875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:46:18] local.INFO: IMEI packet received {"connection_id":157875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":157875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:46:18] local.INFO: TCP Data received {"connection_id":157875,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:46:18] local.INFO: Processing buffer {"connection_id":157875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:46:18] local.INFO: Packet analysis {"connection_id":157875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:46:18] local.INFO: Extracted packet for processing {"connection_id":157875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:46:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510908160001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787152286000,"timestamp_ms":1787152286000,"timestamp_seconds":1787152286,"priority":1,"record_length":96,"hex_timestamp":"000001a01a93c130"} 
[2026-08-19 20:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:46:18] 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-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510908160001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510908160001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:46:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:46:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510908160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":157875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:46:19] local.INFO: GPS data processed {"connection_id":157875,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:46:19] local.INFO: Acknowledgment sent {"connection_id":157875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:46:26] local.INFO: TCP Data received {"connection_id":157875,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:46:26] local.INFO: Processing buffer {"connection_id":157875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a93c130012d196500071ff128004701462c..."} 
[2026-08-19 20:46:26] local.INFO: Packet analysis {"connection_id":157875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:46:26] local.INFO: Extracted packet for processing {"connection_id":157875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a93"} 
[2026-08-19 20:46:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510908160001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787152286000,"timestamp_ms":1787152286000,"timestamp_seconds":1787152286,"priority":1,"record_length":96,"hex_timestamp":"000001a01a93c130"} 
[2026-08-19 20:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:46:26] 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-08-19 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 20:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":157875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":157875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":157875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510908160001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510908160001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:46:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:46:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510908160001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":157875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:46:27] local.INFO: GPS data processed {"connection_id":157875,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:46:27] local.INFO: Acknowledgment sent {"connection_id":157875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:46:42] local.INFO: TCP Data received {"connection_id":160423,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a968c08012cf8e7c0070813e0000c009033..."} 
[2026-08-19 20:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a968c08012cf8e7c0070813e0000c009033..."} 
[2026-08-19 20:46:42] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a968c08012cf8e7c0070813e0000c009033..."} 
[2026-08-19 20:46:42] local.INFO: Packet analysis {"connection_id":160423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a96"} 
[2026-08-19 20:46:42] local.INFO: Extracted packet for processing {"connection_id":160423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a96"} 
[2026-08-19 20:46:42] local.INFO: GPS Element Parsed {"raw_longitude":754509760,"raw_latitude":117969888,"longitude_deg":75.450976,"latitude_deg":11.7969888,"altitude":12,"angle":144,"satellites":51,"speed":57,"hex_longitude":"2cf8e7c0","hex_latitude":"070813e0","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511030272001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386136389047025664,"note":"Value kept but may cause issues"} 
[2026-08-19 20:46:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-517913926945185792,"note":"Value kept but may cause issues"} 
[2026-08-19 20:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787152469000,"timestamp_ms":1787152469000,"timestamp_seconds":1787152469,"priority":1,"record_length":96,"hex_timestamp":"000001a01a968c08"} 
[2026-08-19 20:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-19 20:46:42] 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-08-19 20: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-08-19 20:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511030272001,"66":26636,"165":206,"28":32256,"24":57,"16":386136389047025664,"44":-517913926945185792},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-19 20:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511030272001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:46:42] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 20:46:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386136389047025664,"km_value":386136389047025.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:46:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-517913926945185792,"description":"Unknown IO ID 44"} 
[2026-08-19 20:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511030272001,"power":26636,"unknown_165":206,"unknown_28":32256,"ignition":57,"odometer":null,"unknown_44":-517913926945185792}} 
[2026-08-19 20:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":160423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:46:42] local.INFO: GPS data processed {"connection_id":160423,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:46:42] local.INFO: Acknowledgment sent {"connection_id":160423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:46:57] local.INFO: TCP Data received {"connection_id":158242,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:46:57] local.INFO: Processing buffer {"connection_id":158242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:46:57] local.INFO: IMEI packet received {"connection_id":158242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":158242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:46:58] local.INFO: TCP Data received {"connection_id":158242,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:46:58] local.INFO: Processing buffer {"connection_id":158242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:46:58] local.INFO: IMEI packet received {"connection_id":158242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":158242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:47:03] local.INFO: TCP Data received {"connection_id":158242,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:47:03] local.INFO: Processing buffer {"connection_id":158242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:47:03] local.INFO: IMEI packet received {"connection_id":158242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":158242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:47:04] local.INFO: TCP Data received {"connection_id":158242,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a97f750012cf99b000706e508000500862f..."} 
[2026-08-19 20:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a97f750012cf99b000706e508000500862f..."} 
[2026-08-19 20:47:04] local.INFO: Processing buffer {"connection_id":158242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a97f750012cf99b000706e508000500862f..."} 
[2026-08-19 20:47:04] local.INFO: Packet analysis {"connection_id":158242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a97"} 
[2026-08-19 20:47:04] local.INFO: Extracted packet for processing {"connection_id":158242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a97"} 
[2026-08-19 20:47:04] local.INFO: GPS Element Parsed {"raw_longitude":754555648,"raw_latitude":117892360,"longitude_deg":75.4555648,"latitude_deg":11.789236,"altitude":5,"angle":134,"satellites":47,"speed":6,"hex_longitude":"2cf99b00","hex_latitude":"0706e508","is_valid_coordinates":true} 
[2026-08-19 20:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511052032001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386140778503602176,"note":"Value kept but may cause issues"} 
[2026-08-19 20:47:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-464504050135304192,"note":"Value kept but may cause issues"} 
[2026-08-19 20:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787152562000,"timestamp_ms":1787152562000,"timestamp_seconds":1787152562,"priority":1,"record_length":96,"hex_timestamp":"000001a01a97f750"} 
[2026-08-19 20:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 20:47:04] 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-08-19 20:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511052032001,"66":27343,"165":206,"28":32256,"24":6,"16":386140778503602176,"44":-464504050135304192},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-19 20:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511052032001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:47:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 20:47:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386140778503602176,"km_value":386140778503602.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:47:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-464504050135304192,"description":"Unknown IO ID 44"} 
[2026-08-19 20:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511052032001,"power":27343,"unknown_165":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_44":-464504050135304192}} 
[2026-08-19 20:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":158242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:47:04] local.INFO: GPS data processed {"connection_id":158242,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:47:04] local.INFO: Acknowledgment sent {"connection_id":158242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:47:04] local.INFO: TCP Data received {"connection_id":159108,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:47:04] local.INFO: Processing buffer {"connection_id":159108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:47:04] local.INFO: IMEI packet received {"connection_id":159108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":159108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:47:08] local.INFO: TCP Data received {"connection_id":159108,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:47:08] local.INFO: Processing buffer {"connection_id":159108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:47:08] local.INFO: IMEI packet received {"connection_id":159108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":159108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:47:13] local.INFO: TCP Data received {"connection_id":159108,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:47:13] local.INFO: Processing buffer {"connection_id":159108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:47:13] local.INFO: IMEI packet received {"connection_id":159108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":159108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:47:13] local.INFO: TCP Data received {"connection_id":159108,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:47:13] local.INFO: Processing buffer {"connection_id":159108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:47:13] local.INFO: Packet analysis {"connection_id":159108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:47:13] local.INFO: Extracted packet for processing {"connection_id":159108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:47:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510985216001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787152587000,"timestamp_ms":1787152587000,"timestamp_seconds":1787152587,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9858f8"} 
[2026-08-19 20:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:47: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-08-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510985216001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510985216001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:47:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:47:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510985216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":159108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:47:14] local.INFO: GPS data processed {"connection_id":159108,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:47:14] local.INFO: Acknowledgment sent {"connection_id":159108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:47:36] local.INFO: TCP Data received {"connection_id":158242,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a986898012cf98c800706d100000600be32..."} 
[2026-08-19 20:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a986898012cf98c800706d100000600be32..."} 
[2026-08-19 20:47:36] local.INFO: Processing buffer {"connection_id":158242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a986898012cf98c800706d100000600be32..."} 
[2026-08-19 20:47:36] local.INFO: Packet analysis {"connection_id":158242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:47:36] local.INFO: Extracted packet for processing {"connection_id":158242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:47:36] local.INFO: GPS Element Parsed {"raw_longitude":754551936,"raw_latitude":117887232,"longitude_deg":75.4551936,"latitude_deg":11.7887232,"altitude":6,"angle":190,"satellites":50,"speed":11,"hex_longitude":"2cf98c80","hex_latitude":"0706d100","is_valid_coordinates":true} 
[2026-08-19 20:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511063040001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386141152165756928,"note":"Value kept but may cause issues"} 
[2026-08-19 20:47:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-464715156370100224,"note":"Value kept but may cause issues"} 
[2026-08-19 20:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787152591000,"timestamp_ms":1787152591000,"timestamp_seconds":1787152591,"priority":1,"record_length":96,"hex_timestamp":"000001a01a986898"} 
[2026-08-19 20:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:47: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-08-19 20:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 20:47:36] 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-08-19 20:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511063040001,"66":27332,"165":206,"28":32256,"24":11,"16":386141152165756928,"44":-464715156370100224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-19 20:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511063040001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:47:36] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 20:47:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386141152165756928,"km_value":386141152165756.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:47:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-464715156370100224,"description":"Unknown IO ID 44"} 
[2026-08-19 20:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511063040001,"power":27332,"unknown_165":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_44":-464715156370100224}} 
[2026-08-19 20:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":158242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:47:36] local.INFO: GPS data processed {"connection_id":158242,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:47:36] local.INFO: Acknowledgment sent {"connection_id":158242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:47:45] local.INFO: TCP Data received {"connection_id":159108,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:47:45] local.INFO: Processing buffer {"connection_id":159108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:47:45] local.INFO: Packet analysis {"connection_id":159108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:47:45] local.INFO: Extracted packet for processing {"connection_id":159108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:47:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510985216001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787152587000,"timestamp_ms":1787152587000,"timestamp_seconds":1787152587,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9858f8"} 
[2026-08-19 20:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:47:45] 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-08-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510985216001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510985216001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:47:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:47:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510985216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":159108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:47:45] local.INFO: GPS data processed {"connection_id":159108,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:47:45] local.INFO: Acknowledgment sent {"connection_id":159108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:47:58] local.INFO: TCP Data received {"connection_id":157876,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:47:58] local.INFO: Processing buffer {"connection_id":157876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:47:58] local.INFO: IMEI packet received {"connection_id":157876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":157876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:48:03] local.INFO: TCP Data received {"connection_id":157876,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:48:03] local.INFO: Processing buffer {"connection_id":157876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:48:03] local.INFO: IMEI packet received {"connection_id":157876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":157876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:48:04] local.INFO: TCP Data received {"connection_id":157876,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a986c80012cf98c800706cfd8000600ac33..."} 
[2026-08-19 20:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a986c80012cf98c800706cfd8000600ac33..."} 
[2026-08-19 20:48:04] local.INFO: Processing buffer {"connection_id":157876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a986c80012cf98c800706cfd8000600ac33..."} 
[2026-08-19 20:48:04] local.INFO: Packet analysis {"connection_id":157876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:48:04] local.INFO: Extracted packet for processing {"connection_id":157876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:48:04] local.INFO: GPS Element Parsed {"raw_longitude":754551936,"raw_latitude":117886936,"longitude_deg":75.4551936,"latitude_deg":11.7886936,"altitude":6,"angle":172,"satellites":51,"speed":12,"hex_longitude":"2cf98c80","hex_latitude":"0706cfd8","is_valid_coordinates":true} 
[2026-08-19 20:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511063296001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386141165050658816,"note":"Value kept but may cause issues"} 
[2026-08-19 20:48:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-464855893858516992,"note":"Value kept but may cause issues"} 
[2026-08-19 20:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787152592000,"timestamp_ms":1787152592000,"timestamp_seconds":1787152592,"priority":1,"record_length":96,"hex_timestamp":"000001a01a986c80"} 
[2026-08-19 20:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:48: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-08-19 20:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 20:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511063296001,"66":27332,"165":206,"28":32256,"24":12,"16":386141165050658816,"44":-464855893858516992},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-08-19 20:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511063296001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:48:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-19 20:48:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386141165050658816,"km_value":386141165050658.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:48:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-464855893858516992,"description":"Unknown IO ID 44"} 
[2026-08-19 20:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511063296001,"power":27332,"unknown_165":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_44":-464855893858516992}} 
[2026-08-19 20:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":157876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:48:04] local.INFO: GPS data processed {"connection_id":157876,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:48:04] local.INFO: Acknowledgment sent {"connection_id":157876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:48:08] local.INFO: TCP Data received {"connection_id":160424,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:48:08] local.INFO: Processing buffer {"connection_id":160424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:48:08] local.INFO: IMEI packet received {"connection_id":160424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":160424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:48:13] local.INFO: TCP Data received {"connection_id":160424,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:48:13] local.INFO: Processing buffer {"connection_id":160424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:48:13] local.INFO: IMEI packet received {"connection_id":160424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":160424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:48:13] local.INFO: TCP Data received {"connection_id":160424,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:48:13] local.INFO: Processing buffer {"connection_id":160424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:48:13] local.INFO: Packet analysis {"connection_id":160424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:48:13] local.INFO: Extracted packet for processing {"connection_id":160424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:48:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510985216001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787152587000,"timestamp_ms":1787152587000,"timestamp_seconds":1787152587,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9858f8"} 
[2026-08-19 20:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:48: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-08-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510985216001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510985216001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:48:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:48:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510985216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":160424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:48:14] local.INFO: GPS data processed {"connection_id":160424,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:48:14] local.INFO: Acknowledgment sent {"connection_id":160424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:48:35] local.INFO: TCP Data received {"connection_id":157876,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a98ab00012cf994c00706b0e0000a00a132..."} 
[2026-08-19 20:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a98ab00012cf994c00706b0e0000a00a132..."} 
[2026-08-19 20:48:35] local.INFO: Processing buffer {"connection_id":157876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a98ab00012cf994c00706b0e0000a00a132..."} 
[2026-08-19 20:48:35] local.INFO: Packet analysis {"connection_id":157876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:48:35] local.INFO: Extracted packet for processing {"connection_id":157876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:48:35] local.INFO: GPS Element Parsed {"raw_longitude":754554048,"raw_latitude":117879008,"longitude_deg":75.4554048,"latitude_deg":11.7879008,"altitude":10,"angle":161,"satellites":50,"speed":29,"hex_longitude":"2cf994c0","hex_latitude":"0706b0e0","is_valid_coordinates":true} 
[2026-08-19 20:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511063552001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386141564482617344,"note":"Value kept but may cause issues"} 
[2026-08-19 20:48:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-464855893858592768,"note":"Value kept but may cause issues"} 
[2026-08-19 20:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787152608000,"timestamp_ms":1787152608000,"timestamp_seconds":1787152608,"priority":1,"record_length":96,"hex_timestamp":"000001a01a98ab00"} 
[2026-08-19 20:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 20:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":157876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":157876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":157876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511063552001,"66":27365,"11":206,"28":32256,"24":29,"16":386141564482617344,"44":-464855893858592768},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-08-19 20:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511063552001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:48:35] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 20:48:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386141564482617344,"km_value":386141564482617.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:48:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-464855893858592768,"description":"Unknown IO ID 44"} 
[2026-08-19 20:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511063552001,"power":27365,"unknown_11":206,"unknown_28":32256,"ignition":29,"odometer":null,"unknown_44":-464855893858592768}} 
[2026-08-19 20:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":157876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:48:35] local.INFO: GPS data processed {"connection_id":157876,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:48:35] local.INFO: Acknowledgment sent {"connection_id":157876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:48:45] local.INFO: TCP Data received {"connection_id":160424,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:48:45] local.INFO: Processing buffer {"connection_id":160424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:48:45] local.INFO: Packet analysis {"connection_id":160424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:48:45] local.INFO: Extracted packet for processing {"connection_id":160424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510985216001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787152587000,"timestamp_ms":1787152587000,"timestamp_seconds":1787152587,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9858f8"} 
[2026-08-19 20:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:48:45] 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-08-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510985216001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510985216001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:48:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510985216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":160424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:48:45] local.INFO: GPS data processed {"connection_id":160424,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:48:45] local.INFO: Acknowledgment sent {"connection_id":160424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:49:03] local.INFO: TCP Data received {"connection_id":157877,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:49:03] local.INFO: Processing buffer {"connection_id":157877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:49:03] local.INFO: IMEI packet received {"connection_id":157877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":157877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:49:07] local.INFO: TCP Data received {"connection_id":157877,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:49:07] local.INFO: Processing buffer {"connection_id":157877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:49:07] local.INFO: IMEI packet received {"connection_id":157877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":157877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:49:08] local.INFO: TCP Data received {"connection_id":159109,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:49:08] local.INFO: Processing buffer {"connection_id":159109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:49:08] local.INFO: IMEI packet received {"connection_id":159109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":159109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:49:13] local.INFO: TCP Data received {"connection_id":159109,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:49:13] local.INFO: Processing buffer {"connection_id":159109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:49:13] local.INFO: IMEI packet received {"connection_id":159109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":159109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:49:13] local.INFO: TCP Data received {"connection_id":157877,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a99eb50012cfa118007058880000c008d32..."} 
[2026-08-19 20:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a99eb50012cfa118007058880000c008d32..."} 
[2026-08-19 20:49:13] local.INFO: Processing buffer {"connection_id":157877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a99eb50012cfa118007058880000c008d32..."} 
[2026-08-19 20:49:13] local.INFO: Packet analysis {"connection_id":157877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a99"} 
[2026-08-19 20:49:13] local.INFO: Extracted packet for processing {"connection_id":157877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a99"} 
[2026-08-19 20:49:13] local.INFO: GPS Element Parsed {"raw_longitude":754585984,"raw_latitude":117803136,"longitude_deg":75.4585984,"latitude_deg":11.7803136,"altitude":12,"angle":141,"satellites":50,"speed":43,"hex_longitude":"2cfa1180","hex_latitude":"07058880","is_valid_coordinates":true} 
[2026-08-19 20:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511086592001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386145614636777472,"note":"Value kept but may cause issues"} 
[2026-08-19 20:49:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-433471433974978560,"note":"Value kept but may cause issues"} 
[2026-08-19 20:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787152690000,"timestamp_ms":1787152690000,"timestamp_seconds":1787152690,"priority":1,"record_length":96,"hex_timestamp":"000001a01a99eb50"} 
[2026-08-19 20:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:49: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-08-19 20:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 20:49:13] 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-08-19 20:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511086592001,"66":27267,"11":206,"28":32256,"24":43,"16":386145614636777472,"44":-433471433974978560},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-08-19 20:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511086592001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:49:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 20:49:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386145614636777472,"km_value":386145614636777.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:49:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-433471433974978560,"description":"Unknown IO ID 44"} 
[2026-08-19 20:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511086592001,"power":27267,"unknown_11":206,"unknown_28":32256,"ignition":43,"odometer":null,"unknown_44":-433471433974978560}} 
[2026-08-19 20:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":157877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:49:13] local.INFO: GPS data processed {"connection_id":157877,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:49:13] local.INFO: Acknowledgment sent {"connection_id":157877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:49:14] local.INFO: TCP Data received {"connection_id":159109,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:49:14] local.INFO: Processing buffer {"connection_id":159109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:49:14] local.INFO: Packet analysis {"connection_id":159109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:49:14] local.INFO: Extracted packet for processing {"connection_id":159109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:49:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510985216001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787152587000,"timestamp_ms":1787152587000,"timestamp_seconds":1787152587,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9858f8"} 
[2026-08-19 20:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510985216001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510985216001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:49:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:49:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510985216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":159109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:49:14] local.INFO: GPS data processed {"connection_id":159109,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:49:14] local.INFO: Acknowledgment sent {"connection_id":159109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:49:14] local.INFO: TCP Data received {"connection_id":157877,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9a02c0012cfa234007057668000c008031..."} 
[2026-08-19 20:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9a02c0012cfa234007057668000c008031..."} 
[2026-08-19 20:49:14] local.INFO: Processing buffer {"connection_id":157877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9a02c0012cfa234007057668000c008031..."} 
[2026-08-19 20:49:14] local.INFO: Packet analysis {"connection_id":157877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9a"} 
[2026-08-19 20:49:14] local.INFO: Extracted packet for processing {"connection_id":157877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9a"} 
[2026-08-19 20:49:14] local.INFO: GPS Element Parsed {"raw_longitude":754590528,"raw_latitude":117798504,"longitude_deg":75.4590528,"latitude_deg":11.7798504,"altitude":12,"angle":128,"satellites":49,"speed":42,"hex_longitude":"2cfa2340","hex_latitude":"07057668","is_valid_coordinates":true} 
[2026-08-19 20:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511088640001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386145928169390080,"note":"Value kept but may cause issues"} 
[2026-08-19 20:49:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-427419721977528320,"note":"Value kept but may cause issues"} 
[2026-08-19 20:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787152696000,"timestamp_ms":1787152696000,"timestamp_seconds":1787152696,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9a02c0"} 
[2026-08-19 20:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:49: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-08-19 20:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 20:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511088640001,"66":26691,"11":206,"28":32256,"24":42,"16":386145928169390080,"44":-427419721977528320},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-08-19 20:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511088640001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:49:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 20:49:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386145928169390080,"km_value":386145928169390.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:49:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-427419721977528320,"description":"Unknown IO ID 44"} 
[2026-08-19 20:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511088640001,"power":26691,"unknown_11":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_44":-427419721977528320}} 
[2026-08-19 20:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":157877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:49:14] local.INFO: GPS data processed {"connection_id":157877,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:49:14] local.INFO: Acknowledgment sent {"connection_id":157877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:49:45] local.INFO: TCP Data received {"connection_id":159109,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:49:45] local.INFO: Processing buffer {"connection_id":159109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:49:45] local.INFO: Packet analysis {"connection_id":159109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:49:45] local.INFO: Extracted packet for processing {"connection_id":159109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510985216001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787152587000,"timestamp_ms":1787152587000,"timestamp_seconds":1787152587,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9858f8"} 
[2026-08-19 20:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:49:45] 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-08-19 20:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510985216001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510985216001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:49:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:49:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510985216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":159109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:49:45] local.INFO: GPS data processed {"connection_id":159109,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:49:45] local.INFO: Acknowledgment sent {"connection_id":159109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:49:58] local.INFO: TCP Data received {"connection_id":159110,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:49:58] local.INFO: Processing buffer {"connection_id":159110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:49:58] local.INFO: IMEI packet received {"connection_id":159110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":159110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:49:59] local.INFO: TCP Data received {"connection_id":159110,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:49:59] local.INFO: Processing buffer {"connection_id":159110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:49:59] local.INFO: IMEI packet received {"connection_id":159110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":159110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:50:03] local.INFO: TCP Data received {"connection_id":159110,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:50:03] local.INFO: Processing buffer {"connection_id":159110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:50:03] local.INFO: IMEI packet received {"connection_id":159110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":159110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:50:04] local.INFO: TCP Data received {"connection_id":159110,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9a1260012cfa31c007056d80000c006f34..."} 
[2026-08-19 20:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9a1260012cfa31c007056d80000c006f34..."} 
[2026-08-19 20:50:04] local.INFO: Processing buffer {"connection_id":159110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9a1260012cfa31c007056d80000c006f34..."} 
[2026-08-19 20:50:04] local.INFO: Packet analysis {"connection_id":159110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9a"} 
[2026-08-19 20:50:04] local.INFO: Extracted packet for processing {"connection_id":159110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9a"} 
[2026-08-19 20:50:04] local.INFO: GPS Element Parsed {"raw_longitude":754594240,"raw_latitude":117796224,"longitude_deg":75.459424,"latitude_deg":11.7796224,"altitude":12,"angle":111,"satellites":52,"speed":42,"hex_longitude":"2cfa31c0","hex_latitude":"07056d80","is_valid_coordinates":true} 
[2026-08-19 20:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511090176001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386146134327820288,"note":"Value kept but may cause issues"} 
[2026-08-19 20:50:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-422423541142099968,"note":"Value kept but may cause issues"} 
[2026-08-19 20:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787152700000,"timestamp_ms":1787152700000,"timestamp_seconds":1787152700,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9a1260"} 
[2026-08-19 20:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:50: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-08-19 20:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-08-19 20:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511090176001,"66":27234,"11":206,"28":32256,"24":42,"16":386146134327820288,"44":-422423541142099968},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-08-19 20:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511090176001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:50:04] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 20:50:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386146134327820288,"km_value":386146134327820.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:50:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-422423541142099968,"description":"Unknown IO ID 44"} 
[2026-08-19 20:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511090176001,"power":27234,"unknown_11":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_44":-422423541142099968}} 
[2026-08-19 20:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":159110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:50:04] local.INFO: GPS data processed {"connection_id":159110,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:50:04] local.INFO: Acknowledgment sent {"connection_id":159110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:50:07] local.INFO: TCP Data received {"connection_id":160425,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:50:07] local.INFO: Processing buffer {"connection_id":160425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:50:07] local.INFO: IMEI packet received {"connection_id":160425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":160425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:50:13] local.INFO: TCP Data received {"connection_id":160425,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:50:13] local.INFO: Processing buffer {"connection_id":160425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:50:13] local.INFO: IMEI packet received {"connection_id":160425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":160425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:50:13] local.INFO: TCP Data received {"connection_id":160425,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:50:13] local.INFO: Processing buffer {"connection_id":160425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:50:13] local.INFO: Packet analysis {"connection_id":160425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:50:13] local.INFO: Extracted packet for processing {"connection_id":160425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:50:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510985216001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787152587000,"timestamp_ms":1787152587000,"timestamp_seconds":1787152587,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9858f8"} 
[2026-08-19 20:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:50: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-08-19 20:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510985216001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510985216001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:50:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:50:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510985216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":160425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:50:14] local.INFO: GPS data processed {"connection_id":160425,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:50:14] local.INFO: Acknowledgment sent {"connection_id":160425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:50:36] local.INFO: TCP Data received {"connection_id":159110,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9b5a80012cfb47000704a1e0000b008430..."} 
[2026-08-19 20:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9b5a80012cfb47000704a1e0000b008430..."} 
[2026-08-19 20:50:36] local.INFO: Processing buffer {"connection_id":159110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9b5a80012cfb47000704a1e0000b008430..."} 
[2026-08-19 20:50:36] local.INFO: Packet analysis {"connection_id":159110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9b"} 
[2026-08-19 20:50:36] local.INFO: Extracted packet for processing {"connection_id":159110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9b"} 
[2026-08-19 20:50:36] local.INFO: GPS Element Parsed {"raw_longitude":754665216,"raw_latitude":117744096,"longitude_deg":75.4665216,"latitude_deg":11.7744096,"altitude":11,"angle":132,"satellites":48,"speed":28,"hex_longitude":"2cfb4700","hex_latitude":"0704a1e0","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511112448001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386150498014593024,"note":"Value kept but may cause issues"} 
[2026-08-19 20:50:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-340936535398187008,"note":"Value kept but may cause issues"} 
[2026-08-19 20:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787152784000,"timestamp_ms":1787152784000,"timestamp_seconds":1787152784,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9b5a80"} 
[2026-08-19 20:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20: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-08-19 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 20:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511112448001,"66":27321,"8":206,"28":32256,"24":28,"16":386150498014593024,"44":-340936535398187008},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,28,24,16,44]} 
[2026-08-19 20:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511112448001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:50:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 20:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386150498014593024,"km_value":386150498014593.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:50:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-340936535398187008,"description":"Unknown IO ID 44"} 
[2026-08-19 20:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511112448001,"power":27321,"unknown_8":206,"unknown_28":32256,"ignition":28,"odometer":null,"unknown_44":-340936535398187008}} 
[2026-08-19 20:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":159110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:50:36] local.INFO: GPS data processed {"connection_id":159110,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:50:36] local.INFO: Acknowledgment sent {"connection_id":159110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:50:48] local.INFO: TCP Data received {"connection_id":160425,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:50:48] local.INFO: Processing buffer {"connection_id":160425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:50:48] local.INFO: Packet analysis {"connection_id":160425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:50:48] local.INFO: Extracted packet for processing {"connection_id":160425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:50:48] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510985216001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787152587000,"timestamp_ms":1787152587000,"timestamp_seconds":1787152587,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9858f8"} 
[2026-08-19 20:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510985216001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510985216001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:50:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:50:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510985216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":160425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:50:48] local.INFO: GPS data processed {"connection_id":160425,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:50:48] local.INFO: Acknowledgment sent {"connection_id":160425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:51:09] local.INFO: TCP Data received {"connection_id":159111,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:51:09] local.INFO: Processing buffer {"connection_id":159111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:51:09] local.INFO: IMEI packet received {"connection_id":159111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":159111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:51:13] local.INFO: TCP Data received {"connection_id":157878,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:51:13] local.INFO: Processing buffer {"connection_id":157878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:51:13] local.INFO: IMEI packet received {"connection_id":157878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":157878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:51:13] local.INFO: TCP Data received {"connection_id":159111,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:51:13] local.INFO: Processing buffer {"connection_id":159111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:51:13] local.INFO: IMEI packet received {"connection_id":159111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":159111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:51:14] local.INFO: TCP Data received {"connection_id":159111,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9b5e68012cfb48c007049fc8000b009031..."} 
[2026-08-19 20:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9b5e68012cfb48c007049fc8000b009031..."} 
[2026-08-19 20:51:14] local.INFO: Processing buffer {"connection_id":159111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9b5e68012cfb48c007049fc8000b009031..."} 
[2026-08-19 20:51:14] local.INFO: Packet analysis {"connection_id":159111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9b"} 
[2026-08-19 20:51:14] local.INFO: Extracted packet for processing {"connection_id":159111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9b"} 
[2026-08-19 20:51:14] local.INFO: GPS Element Parsed {"raw_longitude":754665664,"raw_latitude":117743560,"longitude_deg":75.4665664,"latitude_deg":11.774356,"altitude":11,"angle":144,"satellites":49,"speed":28,"hex_longitude":"2cfb48c0","hex_latitude":"07049fc8","is_valid_coordinates":true} 
[2026-08-19 20:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511112704001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386150532374331392,"note":"Value kept but may cause issues"} 
[2026-08-19 20:51:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-340303216700694528,"note":"Value kept but may cause issues"} 
[2026-08-19 20:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787152785000,"timestamp_ms":1787152785000,"timestamp_seconds":1787152785,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9b5e68"} 
[2026-08-19 20:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:51: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-08-19 20:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 20:51:14] 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-08-19 20:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511112704001,"66":27234,"8":206,"28":32256,"24":28,"16":386150532374331392,"44":-340303216700694528},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,28,24,16,44]} 
[2026-08-19 20:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511112704001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:51:14] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-19 20:51:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386150532374331392,"km_value":386150532374331.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:51:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-340303216700694528,"description":"Unknown IO ID 44"} 
[2026-08-19 20:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511112704001,"power":27234,"unknown_8":206,"unknown_28":32256,"ignition":28,"odometer":null,"unknown_44":-340303216700694528}} 
[2026-08-19 20:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":159111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:51:14] local.INFO: GPS data processed {"connection_id":159111,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:51:14] local.INFO: Acknowledgment sent {"connection_id":159111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:51:15] local.INFO: TCP Data received {"connection_id":159111,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9b8960012cfb578007048200000d009d30..."} 
[2026-08-19 20:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9b8960012cfb578007048200000d009d30..."} 
[2026-08-19 20:51:15] local.INFO: Processing buffer {"connection_id":159111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9b8960012cfb578007048200000d009d30..."} 
[2026-08-19 20:51:15] local.INFO: Packet analysis {"connection_id":159111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9b"} 
[2026-08-19 20:51:15] local.INFO: Extracted packet for processing {"connection_id":159111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9b"} 
[2026-08-19 20:51:15] local.INFO: GPS Element Parsed {"raw_longitude":754669440,"raw_latitude":117735936,"longitude_deg":75.466944,"latitude_deg":11.7735936,"altitude":13,"angle":157,"satellites":48,"speed":34,"hex_longitude":"2cfb5780","hex_latitude":"07048200","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511112960001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386150940396224512,"note":"Value kept but may cause issues"} 
[2026-08-19 20:51:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-339810635491588096,"note":"Value kept but may cause issues"} 
[2026-08-19 20:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787152796000,"timestamp_ms":1787152796000,"timestamp_seconds":1787152796,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9b8960"} 
[2026-08-19 20:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 20:51:15] 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-08-19 20: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-08-19 20:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":159111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":159111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511112960001,"66":27397,"9":206,"28":32256,"24":34,"16":386150940396224512,"44":-339810635491588096},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,28,24,16,44]} 
[2026-08-19 20:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511112960001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:51:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-19 20:51:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386150940396224512,"km_value":386150940396224.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:51:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-339810635491588096,"description":"Unknown IO ID 44"} 
[2026-08-19 20:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511112960001,"power":27397,"unknown_9":206,"unknown_28":32256,"ignition":34,"odometer":null,"unknown_44":-339810635491588096}} 
[2026-08-19 20:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":159111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:51:15] local.INFO: GPS data processed {"connection_id":159111,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:51:15] local.INFO: Acknowledgment sent {"connection_id":159111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:51:18] local.INFO: TCP Data received {"connection_id":157878,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:51:18] local.INFO: Processing buffer {"connection_id":157878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:51:18] local.INFO: IMEI packet received {"connection_id":157878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":157878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:51:19] local.INFO: TCP Data received {"connection_id":157878,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:51:19] local.INFO: Processing buffer {"connection_id":157878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:51:19] local.INFO: Packet analysis {"connection_id":157878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:51:19] local.INFO: Extracted packet for processing {"connection_id":157878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:51:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510985216001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787152587000,"timestamp_ms":1787152587000,"timestamp_seconds":1787152587,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9858f8"} 
[2026-08-19 20:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510985216001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510985216001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:51:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:51:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510985216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":157878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:51:19] local.INFO: GPS data processed {"connection_id":157878,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:51:19] local.INFO: Acknowledgment sent {"connection_id":157878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:51:23] local.INFO: TCP Data received {"connection_id":157878,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:51:23] local.INFO: Processing buffer {"connection_id":157878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9858f8012d196500071ff128004701462c..."} 
[2026-08-19 20:51:23] local.INFO: Packet analysis {"connection_id":157878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:51:23] local.INFO: Extracted packet for processing {"connection_id":157878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a98"} 
[2026-08-19 20:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457510985216001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787152587000,"timestamp_ms":1787152587000,"timestamp_seconds":1787152587,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9858f8"} 
[2026-08-19 20:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":157878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":157878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":157878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457510985216001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457510985216001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:51:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457510985216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":157878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:51:23] local.INFO: GPS data processed {"connection_id":157878,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:51:23] local.INFO: Acknowledgment sent {"connection_id":157878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:51:56] local.INFO: TCP Data received {"connection_id":157879,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:51:56] local.INFO: Processing buffer {"connection_id":157879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:51:56] local.INFO: IMEI packet received {"connection_id":157879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":157879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:51:58] local.INFO: TCP Data received {"connection_id":157879,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:51:58] local.INFO: Processing buffer {"connection_id":157879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:51:58] local.INFO: IMEI packet received {"connection_id":157879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":157879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:52:05] local.INFO: TCP Data received {"connection_id":157879,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:52:05] local.INFO: Processing buffer {"connection_id":157879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:52:05] local.INFO: IMEI packet received {"connection_id":157879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":157879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:52:06] local.INFO: TCP Data received {"connection_id":157880,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:52:06] local.INFO: Processing buffer {"connection_id":157880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:52:06] local.INFO: IMEI packet received {"connection_id":157880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":157880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:52:06] local.INFO: TCP Data received {"connection_id":157879,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9bb070012cfb688007046100000e009431..."} 
[2026-08-19 20:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9bb070012cfb688007046100000e009431..."} 
[2026-08-19 20:52:06] local.INFO: Processing buffer {"connection_id":157879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9bb070012cfb688007046100000e009431..."} 
[2026-08-19 20:52:06] local.INFO: Packet analysis {"connection_id":157879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9b"} 
[2026-08-19 20:52:06] local.INFO: Extracted packet for processing {"connection_id":157879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9b"} 
[2026-08-19 20:52:06] local.INFO: GPS Element Parsed {"raw_longitude":754673792,"raw_latitude":117727488,"longitude_deg":75.4673792,"latitude_deg":11.7727488,"altitude":14,"angle":148,"satellites":49,"speed":40,"hex_longitude":"2cfb6880","hex_latitude":"07046100","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511115776001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386151399957725184,"note":"Value kept but may cause issues"} 
[2026-08-19 20:52:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-335658879587057664,"note":"Value kept but may cause issues"} 
[2026-08-19 20:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787152806000,"timestamp_ms":1787152806000,"timestamp_seconds":1787152806,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9bb070"} 
[2026-08-19 20:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 20:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511115776001,"66":27484,"9":206,"28":32256,"24":40,"16":386151399957725184,"44":-335658879587057664},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,28,24,16,44]} 
[2026-08-19 20:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511115776001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:52:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-19 20:52:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386151399957725184,"km_value":386151399957725.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:52:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-335658879587057664,"description":"Unknown IO ID 44"} 
[2026-08-19 20:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511115776001,"power":27484,"unknown_9":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_44":-335658879587057664}} 
[2026-08-19 20:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":157879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:52:06] local.INFO: GPS data processed {"connection_id":157879,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:52:06] local.INFO: Acknowledgment sent {"connection_id":157879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:52:07] local.INFO: TCP Data received {"connection_id":157880,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:52:07] local.INFO: Processing buffer {"connection_id":157880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:52:07] local.INFO: IMEI packet received {"connection_id":157880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":157880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:52:13] local.INFO: TCP Data received {"connection_id":157880,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:52:13] local.INFO: Processing buffer {"connection_id":157880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:52:13] local.INFO: IMEI packet received {"connection_id":157880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":157880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:52:14] local.INFO: TCP Data received {"connection_id":157880,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:52:14] local.INFO: Processing buffer {"connection_id":157880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:52:14] local.INFO: Packet analysis {"connection_id":157880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:52:14] local.INFO: Extracted packet for processing {"connection_id":157880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:52:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:52: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-08-19 20:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511062272001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787152888000,"timestamp_ms":1787152888000,"timestamp_seconds":1787152888,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9cf0c0"} 
[2026-08-19 20:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:52:14] 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-08-19 20:52: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":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:52:14] 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-08-19 20:52: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-08-19 20:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511062272001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511062272001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:52:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:52:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511062272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":157880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:52:14] local.INFO: GPS data processed {"connection_id":157880,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:52:14] local.INFO: Acknowledgment sent {"connection_id":157880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:52:40] local.INFO: TCP Data received {"connection_id":157879,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9ce508012cfc5fc00703bf000007007334..."} 
[2026-08-19 20:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9ce508012cfc5fc00703bf000007007334..."} 
[2026-08-19 20:52:40] local.INFO: Processing buffer {"connection_id":157879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9ce508012cfc5fc00703bf000007007334..."} 
[2026-08-19 20:52:40] local.INFO: Packet analysis {"connection_id":157879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:52:40] local.INFO: Extracted packet for processing {"connection_id":157879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:52:40] local.INFO: GPS Element Parsed {"raw_longitude":754737088,"raw_latitude":117686016,"longitude_deg":75.4737088,"latitude_deg":11.7686016,"altitude":7,"angle":115,"satellites":52,"speed":44,"hex_longitude":"2cfc5fc0","hex_latitude":"0703bf00","is_valid_coordinates":true} 
[2026-08-19 20:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511136512001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386155201003782144,"note":"Value kept but may cause issues"} 
[2026-08-19 20:52:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-270427053746163712,"note":"Value kept but may cause issues"} 
[2026-08-19 20:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787152885000,"timestamp_ms":1787152885000,"timestamp_seconds":1787152885,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9ce508"} 
[2026-08-19 20:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 20:52:40] 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-08-19 20:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511136512001,"66":27397,"95":206,"28":32256,"24":44,"16":386155201003782144,"44":-270427053746163712},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,28,24,16,44]} 
[2026-08-19 20:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511136512001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:52:40] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 20:52:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386155201003782144,"km_value":386155201003782.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:52:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-270427053746163712,"description":"Unknown IO ID 44"} 
[2026-08-19 20:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511136512001,"power":27397,"unknown_95":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_44":-270427053746163712}} 
[2026-08-19 20:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":157879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:52:40] local.INFO: GPS data processed {"connection_id":157879,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:52:40] local.INFO: Acknowledgment sent {"connection_id":157879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:52:45] local.INFO: TCP Data received {"connection_id":157880,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:52:45] local.INFO: Processing buffer {"connection_id":157880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:52:45] local.INFO: Packet analysis {"connection_id":157880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:52:45] local.INFO: Extracted packet for processing {"connection_id":157880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:52:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511062272001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787152888000,"timestamp_ms":1787152888000,"timestamp_seconds":1787152888,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9cf0c0"} 
[2026-08-19 20:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:52:45] 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-08-19 20:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511062272001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511062272001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:52:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:52:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511062272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":157880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":666999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:52:45] local.INFO: GPS data processed {"connection_id":157880,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:52:45] local.INFO: Acknowledgment sent {"connection_id":157880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:52:59] local.INFO: TCP Data received {"connection_id":159112,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:52:59] local.INFO: Processing buffer {"connection_id":159112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:52:59] local.INFO: IMEI packet received {"connection_id":159112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":159112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:53:05] local.INFO: TCP Data received {"connection_id":159112,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:53:05] local.INFO: Processing buffer {"connection_id":159112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:53:05] local.INFO: IMEI packet received {"connection_id":159112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":159112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:53:06] local.INFO: TCP Data received {"connection_id":159112,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9d0830012cfc82400703ade80008007533..."} 
[2026-08-19 20:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9d0830012cfc82400703ade80008007533..."} 
[2026-08-19 20:53:06] local.INFO: Processing buffer {"connection_id":159112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9d0830012cfc82400703ade80008007533..."} 
[2026-08-19 20:53:06] local.INFO: Packet analysis {"connection_id":159112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9d"} 
[2026-08-19 20:53:06] local.INFO: Extracted packet for processing {"connection_id":159112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9d"} 
[2026-08-19 20:53:06] local.INFO: GPS Element Parsed {"raw_longitude":754745920,"raw_latitude":117681640,"longitude_deg":75.474592,"latitude_deg":11.768164,"altitude":8,"angle":117,"satellites":51,"speed":41,"hex_longitude":"2cfc8240","hex_latitude":"0703ade8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 20:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511138560001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386155669155217408,"note":"Value kept but may cause issues"} 
[2026-08-19 20:53:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-261279117004046336,"note":"Value kept but may cause issues"} 
[2026-08-19 20:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787152894000,"timestamp_ms":1787152894000,"timestamp_seconds":1787152894,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9d0830"} 
[2026-08-19 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-08-19 20:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 20:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 20:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511138560001,"66":27332,"95":206,"28":32256,"24":41,"16":386155669155217408,"44":-261279117004046336},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,28,24,16,44]} 
[2026-08-19 20:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511138560001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:53:06] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-19 20:53:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386155669155217408,"km_value":386155669155217.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:53:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-261279117004046336,"description":"Unknown IO ID 44"} 
[2026-08-19 20:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511138560001,"power":27332,"unknown_95":206,"unknown_28":32256,"ignition":41,"odometer":null,"unknown_44":-261279117004046336}} 
[2026-08-19 20:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":159112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:53:06] local.INFO: GPS data processed {"connection_id":159112,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:53:06] local.INFO: Acknowledgment sent {"connection_id":159112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:53:08] local.INFO: TCP Data received {"connection_id":158243,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:53:08] local.INFO: Processing buffer {"connection_id":158243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:53:08] local.INFO: IMEI packet received {"connection_id":158243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":158243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:53:13] local.INFO: TCP Data received {"connection_id":158243,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:53:13] local.INFO: Processing buffer {"connection_id":158243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:53:13] local.INFO: IMEI packet received {"connection_id":158243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":158243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:53:13] local.INFO: TCP Data received {"connection_id":158243,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:53:13] local.INFO: Processing buffer {"connection_id":158243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:53:13] local.INFO: Packet analysis {"connection_id":158243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:53:13] local.INFO: Extracted packet for processing {"connection_id":158243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:53:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511062272001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787152888000,"timestamp_ms":1787152888000,"timestamp_seconds":1787152888,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9cf0c0"} 
[2026-08-19 20:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:53:13] 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-08-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:53:13] 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-08-19 20: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-08-19 20:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:53:13] 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-08-19 20:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511062272001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511062272001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:53:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511062272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":158243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:53:14] local.INFO: GPS data processed {"connection_id":158243,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:53:14] local.INFO: Acknowledgment sent {"connection_id":158243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:53:38] local.INFO: TCP Data received {"connection_id":159112,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9d5268012cfcd080070387900007007233..."} 
[2026-08-19 20:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9d5268012cfcd080070387900007007233..."} 
[2026-08-19 20:53:38] local.INFO: Processing buffer {"connection_id":159112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9d5268012cfcd080070387900007007233..."} 
[2026-08-19 20:53:38] local.INFO: Packet analysis {"connection_id":159112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9d"} 
[2026-08-19 20:53:38] local.INFO: Extracted packet for processing {"connection_id":159112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9d"} 
[2026-08-19 20:53:38] local.INFO: GPS Element Parsed {"raw_longitude":754765952,"raw_latitude":117671824,"longitude_deg":75.4765952,"latitude_deg":11.7671824,"altitude":7,"angle":114,"satellites":51,"speed":48,"hex_longitude":"2cfcd080","hex_latitude":"07038790","is_valid_coordinates":true} 
[2026-08-19 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-08-19 20:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511140864001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386156115831816192,"note":"Value kept but may cause issues"} 
[2026-08-19 20:53:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-251568230308648960,"note":"Value kept but may cause issues"} 
[2026-08-19 20:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787152913000,"timestamp_ms":1787152913000,"timestamp_seconds":1787152913,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9d5268"} 
[2026-08-19 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-08-19 20:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 20:53:38] 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-08-19 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-08-19 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-08-19 20:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511140864001,"66":26767,"92":206,"28":32256,"24":48,"16":386156115831816192,"44":-251568230308648960},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,44]} 
[2026-08-19 20:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511140864001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:53:38] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 20:53:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386156115831816192,"km_value":386156115831816.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:53:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-251568230308648960,"description":"Unknown IO ID 44"} 
[2026-08-19 20:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511140864001,"power":26767,"unknown_92":206,"unknown_28":32256,"ignition":48,"odometer":null,"unknown_44":-251568230308648960}} 
[2026-08-19 20:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":159112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:53:38] local.INFO: GPS data processed {"connection_id":159112,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:53:38] local.INFO: Acknowledgment sent {"connection_id":159112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:53:45] local.INFO: TCP Data received {"connection_id":158243,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:53:45] local.INFO: Processing buffer {"connection_id":158243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:53:45] local.INFO: Packet analysis {"connection_id":158243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:53:45] local.INFO: Extracted packet for processing {"connection_id":158243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:53:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511062272001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787152888000,"timestamp_ms":1787152888000,"timestamp_seconds":1787152888,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9cf0c0"} 
[2026-08-19 20:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:53:45] 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-08-19 20:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:53:45] 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-08-19 20:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511062272001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511062272001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:53:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:53:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511062272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":158243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:53:45] local.INFO: GPS data processed {"connection_id":158243,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:53:45] local.INFO: Acknowledgment sent {"connection_id":158243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:53:58] local.INFO: TCP Data received {"connection_id":157881,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:53:58] local.INFO: Processing buffer {"connection_id":157881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:53:58] local.INFO: IMEI packet received {"connection_id":157881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":157881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:54:01] local.INFO: TCP Data received {"connection_id":157881,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:54:01] local.INFO: Processing buffer {"connection_id":157881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:54:01] local.INFO: IMEI packet received {"connection_id":157881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":157881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:54:03] local.INFO: TCP Data received {"connection_id":157881,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:54:03] local.INFO: Processing buffer {"connection_id":157881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:54:03] local.INFO: IMEI packet received {"connection_id":157881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":157881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:54:04] local.INFO: TCP Data received {"connection_id":157881,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9d71a8012cfcf44007037ba00007006a33..."} 
[2026-08-19 20:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9d71a8012cfcf44007037ba00007006a33..."} 
[2026-08-19 20:54:04] local.INFO: Processing buffer {"connection_id":157881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9d71a8012cfcf44007037ba00007006a33..."} 
[2026-08-19 20:54:04] local.INFO: Packet analysis {"connection_id":157881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9d"} 
[2026-08-19 20:54:04] local.INFO: Extracted packet for processing {"connection_id":157881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9d"} 
[2026-08-19 20:54:04] local.INFO: GPS Element Parsed {"raw_longitude":754775104,"raw_latitude":117668768,"longitude_deg":75.4775104,"latitude_deg":11.7668768,"altitude":7,"angle":106,"satellites":51,"speed":47,"hex_longitude":"2cfcf440","hex_latitude":"07037ba0","is_valid_coordinates":true} 
[2026-08-19 20:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511145728001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386156575393316864,"note":"Value kept but may cause issues"} 
[2026-08-19 20:54:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-229542813383553024,"note":"Value kept but may cause issues"} 
[2026-08-19 20:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787152921000,"timestamp_ms":1787152921000,"timestamp_seconds":1787152921,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9d71a8"} 
[2026-08-19 20:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-19 20:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511145728001,"66":27397,"92":206,"28":32256,"24":47,"16":386156575393316864,"44":-229542813383553024},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,44]} 
[2026-08-19 20:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511145728001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:54:04] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 20:54:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386156575393316864,"km_value":386156575393316.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:54:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-229542813383553024,"description":"Unknown IO ID 44"} 
[2026-08-19 20:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511145728001,"power":27397,"unknown_92":206,"unknown_28":32256,"ignition":47,"odometer":null,"unknown_44":-229542813383553024}} 
[2026-08-19 20:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":157881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:54:04] local.INFO: GPS data processed {"connection_id":157881,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:54:04] local.INFO: Acknowledgment sent {"connection_id":157881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:54:07] local.INFO: TCP Data received {"connection_id":160426,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:54:07] local.INFO: Processing buffer {"connection_id":160426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:54:07] local.INFO: IMEI packet received {"connection_id":160426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":160426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:54:09] local.INFO: TCP Data received {"connection_id":157881,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9d90e8012cfd174007036ff00007007233..."} 
[2026-08-19 20:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9d90e8012cfd174007036ff00007007233..."} 
[2026-08-19 20:54:09] local.INFO: Processing buffer {"connection_id":157881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9d90e8012cfd174007036ff00007007233..."} 
[2026-08-19 20:54:09] local.INFO: Packet analysis {"connection_id":157881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9d"} 
[2026-08-19 20:54:09] local.INFO: Extracted packet for processing {"connection_id":157881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9d"} 
[2026-08-19 20:54:09] local.INFO: GPS Element Parsed {"raw_longitude":754784064,"raw_latitude":117665776,"longitude_deg":75.4784064,"latitude_deg":11.7665776,"altitude":7,"angle":114,"satellites":51,"speed":44,"hex_longitude":"2cfd1740","hex_latitude":"07036ff0","is_valid_coordinates":true} 
[2026-08-19 20:54: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-08-19 20:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511147776001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386157026364882944,"note":"Value kept but may cause issues"} 
[2026-08-19 20:54:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-219480082966929408,"note":"Value kept but may cause issues"} 
[2026-08-19 20:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787152929000,"timestamp_ms":1787152929000,"timestamp_seconds":1787152929,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9d90e8"} 
[2026-08-19 20:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 20:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:54: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-08-19 20:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511147776001,"66":27376,"92":206,"28":32256,"24":44,"16":386157026364882944,"44":-219480082966929408},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,44]} 
[2026-08-19 20:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511147776001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:54:09] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-19 20:54:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386157026364882944,"km_value":386157026364882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:54:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-219480082966929408,"description":"Unknown IO ID 44"} 
[2026-08-19 20:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511147776001,"power":27376,"unknown_92":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_44":-219480082966929408}} 
[2026-08-19 20:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":157881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:54:09] local.INFO: GPS data processed {"connection_id":157881,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:54:09] local.INFO: Acknowledgment sent {"connection_id":157881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:54:13] local.INFO: TCP Data received {"connection_id":160426,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:54:13] local.INFO: Processing buffer {"connection_id":160426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:54:13] local.INFO: IMEI packet received {"connection_id":160426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":160426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:54:13] local.INFO: TCP Data received {"connection_id":160426,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:54:13] local.INFO: Processing buffer {"connection_id":160426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:54:13] local.INFO: Packet analysis {"connection_id":160426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:54:13] local.INFO: Extracted packet for processing {"connection_id":160426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:54:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511062272001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787152888000,"timestamp_ms":1787152888000,"timestamp_seconds":1787152888,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9cf0c0"} 
[2026-08-19 20:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:54:13] 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-08-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:54:13] 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-08-19 20: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-08-19 20:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511062272001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511062272001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:54:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:54:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511062272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":160426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:54:14] local.INFO: GPS data processed {"connection_id":160426,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:54:14] local.INFO: Acknowledgment sent {"connection_id":160426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:54:41] local.INFO: TCP Data received {"connection_id":157881,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9f1f58012cfd408007021430000b00ad2a..."} 
[2026-08-19 20:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9f1f58012cfd408007021430000b00ad2a..."} 
[2026-08-19 20:54:41] local.INFO: Processing buffer {"connection_id":157881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9f1f58012cfd408007021430000b00ad2a..."} 
[2026-08-19 20:54:41] local.INFO: Packet analysis {"connection_id":157881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9f"} 
[2026-08-19 20:54:41] local.INFO: Extracted packet for processing {"connection_id":157881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9f"} 
[2026-08-19 20:54:41] local.INFO: GPS Element Parsed {"raw_longitude":754794624,"raw_latitude":117576752,"longitude_deg":75.4794624,"latitude_deg":11.7576752,"altitude":11,"angle":173,"satellites":42,"speed":30,"hex_longitude":"2cfd4080","hex_latitude":"07021430","is_valid_coordinates":true} 
[2026-08-19 20:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511175680001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386161746533941248,"note":"Value kept but may cause issues"} 
[2026-08-19 20:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-198017616016103424,"note":"Value kept but may cause issues"} 
[2026-08-19 20:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787153031000,"timestamp_ms":1787153031000,"timestamp_seconds":1787153031,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9f1f58"} 
[2026-08-19 20:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:54: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-08-19 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 20:54:41] 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-08-19 20: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-08-19 20:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511175680001,"66":27039,"93":206,"28":32256,"24":30,"16":386161746533941248,"44":-198017616016103424},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,28,24,16,44]} 
[2026-08-19 20:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511175680001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:54:41] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-19 20:54:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386161746533941248,"km_value":386161746533941.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-198017616016103424,"description":"Unknown IO ID 44"} 
[2026-08-19 20:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511175680001,"power":27039,"unknown_93":206,"unknown_28":32256,"ignition":30,"odometer":null,"unknown_44":-198017616016103424}} 
[2026-08-19 20:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":157881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:54:41] local.INFO: GPS data processed {"connection_id":157881,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:54:41] local.INFO: Acknowledgment sent {"connection_id":157881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:54:45] local.INFO: TCP Data received {"connection_id":160426,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:54:45] local.INFO: Processing buffer {"connection_id":160426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:54:45] local.INFO: Packet analysis {"connection_id":160426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:54:45] local.INFO: Extracted packet for processing {"connection_id":160426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511062272001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787152888000,"timestamp_ms":1787152888000,"timestamp_seconds":1787152888,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9cf0c0"} 
[2026-08-19 20:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:54:45] 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-08-19 20: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-08-19 20:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511062272001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511062272001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:54:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:54:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511062272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":160426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:54:45] local.INFO: GPS data processed {"connection_id":160426,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:54:45] local.INFO: Acknowledgment sent {"connection_id":160426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:55:02] local.INFO: TCP Data received {"connection_id":160427,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:55:02] local.INFO: Processing buffer {"connection_id":160427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:55:02] local.INFO: IMEI packet received {"connection_id":160427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":160427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:55:03] local.INFO: TCP Data received {"connection_id":160427,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:55:03] local.INFO: Processing buffer {"connection_id":160427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:55:03] local.INFO: IMEI packet received {"connection_id":160427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":160427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:55:10] local.INFO: TCP Data received {"connection_id":160427,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:55:10] local.INFO: Processing buffer {"connection_id":160427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:55:10] local.INFO: IMEI packet received {"connection_id":160427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":160427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:55:11] local.INFO: TCP Data received {"connection_id":160427,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9f2340012cfd414007021120000b00a02c..."} 
[2026-08-19 20:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9f2340012cfd414007021120000b00a02c..."} 
[2026-08-19 20:55:11] local.INFO: Processing buffer {"connection_id":160427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9f2340012cfd414007021120000b00a02c..."} 
[2026-08-19 20:55:11] local.INFO: Packet analysis {"connection_id":160427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9f"} 
[2026-08-19 20:55:11] local.INFO: Extracted packet for processing {"connection_id":160427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9f"} 
[2026-08-19 20:55:11] local.INFO: GPS Element Parsed {"raw_longitude":754794816,"raw_latitude":117575968,"longitude_deg":75.4794816,"latitude_deg":11.7575968,"altitude":11,"angle":160,"satellites":44,"speed":31,"hex_longitude":"2cfd4140","hex_latitude":"07021120","is_valid_coordinates":true} 
[2026-08-19 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-08-19 20:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511175936001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386161785188646912,"note":"Value kept but may cause issues"} 
[2026-08-19 20:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-198017616016297984,"note":"Value kept but may cause issues"} 
[2026-08-19 20:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787153032000,"timestamp_ms":1787153032000,"timestamp_seconds":1787153032,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9f2340"} 
[2026-08-19 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-08-19 20:55: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-08-19 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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-19 20:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 20:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511175936001,"66":27039,"93":206,"28":32256,"24":31,"16":386161785188646912,"44":-198017616016297984},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,28,24,16,44]} 
[2026-08-19 20:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511175936001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:55:11] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-19 20:55:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386161785188646912,"km_value":386161785188646.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-198017616016297984,"description":"Unknown IO ID 44"} 
[2026-08-19 20:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511175936001,"power":27039,"unknown_93":206,"unknown_28":32256,"ignition":31,"odometer":null,"unknown_44":-198017616016297984}} 
[2026-08-19 20:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":160427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:55:11] local.INFO: GPS data processed {"connection_id":160427,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:55:11] local.INFO: Acknowledgment sent {"connection_id":160427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:55:13] local.INFO: TCP Data received {"connection_id":158244,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:55:13] local.INFO: Processing buffer {"connection_id":158244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:55:13] local.INFO: IMEI packet received {"connection_id":158244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":158244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:55:18] local.INFO: TCP Data received {"connection_id":158244,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:55:18] local.INFO: Processing buffer {"connection_id":158244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:55:18] local.INFO: IMEI packet received {"connection_id":158244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":158244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:55:18] local.INFO: TCP Data received {"connection_id":158244,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:55:18] local.INFO: Processing buffer {"connection_id":158244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:55:18] local.INFO: Packet analysis {"connection_id":158244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:55:18] local.INFO: Extracted packet for processing {"connection_id":158244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:55:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 20:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511062272001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787152888000,"timestamp_ms":1787152888000,"timestamp_seconds":1787152888,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9cf0c0"} 
[2026-08-19 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-08-19 20:55:18] 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-08-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:55:18] 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-08-19 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-08-19 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-08-19 20:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511062272001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511062272001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:55:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:55:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511062272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":158244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:55:19] local.INFO: GPS data processed {"connection_id":158244,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:55:19] local.INFO: Acknowledgment sent {"connection_id":158244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:55:23] local.INFO: TCP Data received {"connection_id":158244,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:55:23] local.INFO: Processing buffer {"connection_id":158244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:55:23] local.INFO: Packet analysis {"connection_id":158244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:55:23] local.INFO: Extracted packet for processing {"connection_id":158244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511062272001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787152888000,"timestamp_ms":1787152888000,"timestamp_seconds":1787152888,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9cf0c0"} 
[2026-08-19 20:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:55:23] 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-08-19 20: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-08-19 20:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511062272001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511062272001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:55:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511062272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":158244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:55:23] local.INFO: GPS data processed {"connection_id":158244,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:55:23] local.INFO: Acknowledgment sent {"connection_id":158244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:56:01] local.INFO: TCP Data received {"connection_id":157882,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:56:01] local.INFO: Processing buffer {"connection_id":157882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:56:01] local.INFO: IMEI packet received {"connection_id":157882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":157882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:56:01] local.INFO: TCP Data received {"connection_id":157882,"ip":"117.224.24.81","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 20:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157882,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 20:56:01] local.INFO: Processing buffer {"connection_id":157882,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 20:56:01] local.INFO: IMEI packet received {"connection_id":157882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":157882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:56:03] local.INFO: TCP Data received {"connection_id":157882,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:56:03] local.INFO: Processing buffer {"connection_id":157882,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 20:56:03] local.INFO: IMEI packet received {"connection_id":157882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":157882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:56:04] local.INFO: TCP Data received {"connection_id":157882,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9f2b10012cfd444007020b78000b008f28..."} 
[2026-08-19 20:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9f2b10012cfd444007020b78000b008f28..."} 
[2026-08-19 20:56:04] local.INFO: Processing buffer {"connection_id":157882,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a01a..."} 
[2026-08-19 20:56:04] local.INFO: IMEI packet received {"connection_id":157882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":157882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:56:08] local.INFO: TCP Data received {"connection_id":159113,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:56:08] local.INFO: Processing buffer {"connection_id":159113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:56:08] local.INFO: IMEI packet received {"connection_id":159113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":159113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:56:09] local.INFO: TCP Data received {"connection_id":157882,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9f7d18012cfd50400701fd40000d008c33..."} 
[2026-08-19 20:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9f7d18012cfd50400701fd40000d008c33..."} 
[2026-08-19 20:56:09] local.INFO: Processing buffer {"connection_id":157882,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a01a9f2b10012cfd444007020b78000b008f28..."} 
[2026-08-19 20:56:09] local.INFO: Packet analysis {"connection_id":157882,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a01a9f"} 
[2026-08-19 20:56:09] local.INFO: Extracted packet for processing {"connection_id":157882,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9f"} 
[2026-08-19 20:56:09] local.INFO: GPS Element Parsed {"raw_longitude":754795584,"raw_latitude":117574520,"longitude_deg":75.4795584,"latitude_deg":11.757452,"altitude":11,"angle":143,"satellites":40,"speed":32,"hex_longitude":"2cfd4440","hex_latitude":"07020b78","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511176192001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386161866793025536,"note":"Value kept but may cause issues"} 
[2026-08-19 20:56:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-197806509783965696,"note":"Value kept but may cause issues"} 
[2026-08-19 20:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787153034000,"timestamp_ms":1787153034000,"timestamp_seconds":1787153034,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9f2b10"} 
[2026-08-19 20:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-19 20:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511176192001,"66":27321,"93":206,"28":32256,"24":32,"16":386161866793025536,"44":-197806509783965696},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,28,24,16,44]} 
[2026-08-19 20:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511176192001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:56:09] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-19 20:56:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386161866793025536,"km_value":386161866793025.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:56:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-197806509783965696,"description":"Unknown IO ID 44"} 
[2026-08-19 20:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511176192001,"power":27321,"unknown_93":206,"unknown_28":32256,"ignition":32,"odometer":null,"unknown_44":-197806509783965696}} 
[2026-08-19 20:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":157882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:56:09] local.INFO: GPS data processed {"connection_id":157882,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:56:09] local.INFO: Acknowledgment sent {"connection_id":157882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:56:09] local.INFO: Packet analysis {"connection_id":157882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9f"} 
[2026-08-19 20:56:09] local.INFO: Extracted packet for processing {"connection_id":157882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9f"} 
[2026-08-19 20:56:09] local.INFO: GPS Element Parsed {"raw_longitude":754798656,"raw_latitude":117570880,"longitude_deg":75.4798656,"latitude_deg":11.757088,"altitude":13,"angle":140,"satellites":51,"speed":3,"hex_longitude":"2cfd5040","hex_latitude":"0701fd40","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511176704001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386162098721259520,"note":"Value kept but may cause issues"} 
[2026-08-19 20:56:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-196962084854204416,"note":"Value kept but may cause issues"} 
[2026-08-19 20:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787153055000,"timestamp_ms":1787153055000,"timestamp_seconds":1787153055,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9f7d18"} 
[2026-08-19 20:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 20:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511176704001,"66":26984,"93":206,"28":32256,"24":3,"16":386162098721259520,"44":-196962084854204416},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,28,24,16,44]} 
[2026-08-19 20:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511176704001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:56:09] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-19 20:56:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386162098721259520,"km_value":386162098721259.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:56:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-196962084854204416,"description":"Unknown IO ID 44"} 
[2026-08-19 20:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511176704001,"power":26984,"unknown_93":206,"unknown_28":32256,"ignition":3,"odometer":null,"unknown_44":-196962084854204416}} 
[2026-08-19 20:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":157882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:56:09] local.INFO: GPS data processed {"connection_id":157882,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:56:09] local.INFO: Acknowledgment sent {"connection_id":157882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:56:13] local.INFO: TCP Data received {"connection_id":159113,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:56:13] local.INFO: Processing buffer {"connection_id":159113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:56:13] local.INFO: IMEI packet received {"connection_id":159113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":159113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:56:14] local.INFO: TCP Data received {"connection_id":159113,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:56:14] local.INFO: Processing buffer {"connection_id":159113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:56:14] local.INFO: Packet analysis {"connection_id":159113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:56:14] local.INFO: Extracted packet for processing {"connection_id":159113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:56:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511062272001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787152888000,"timestamp_ms":1787152888000,"timestamp_seconds":1787152888,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9cf0c0"} 
[2026-08-19 20:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:56:14] 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-08-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:56:14] 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-08-19 20: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-08-19 20:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511062272001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511062272001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:56:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:56:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511062272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":159113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:56:14] local.INFO: GPS data processed {"connection_id":159113,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:56:14] local.INFO: Acknowledgment sent {"connection_id":159113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:56:42] local.INFO: TCP Data received {"connection_id":157882,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9fa040012cfd53c00701fa40000c007d33..."} 
[2026-08-19 20:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9fa040012cfd53c00701fa40000c007d33..."} 
[2026-08-19 20:56:42] local.INFO: Processing buffer {"connection_id":157882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9fa040012cfd53c00701fa40000c007d33..."} 
[2026-08-19 20:56:42] local.INFO: Packet analysis {"connection_id":157882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9f"} 
[2026-08-19 20:56:42] local.INFO: Extracted packet for processing {"connection_id":157882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9f"} 
[2026-08-19 20:56:42] local.INFO: GPS Element Parsed {"raw_longitude":754799552,"raw_latitude":117570112,"longitude_deg":75.4799552,"latitude_deg":11.7570112,"altitude":12,"angle":125,"satellites":51,"speed":5,"hex_longitude":"2cfd53c0","hex_latitude":"0701fa40","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511182080001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386162154555834368,"note":"Value kept but may cause issues"} 
[2026-08-19 20:56:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-193584385134608384,"note":"Value kept but may cause issues"} 
[2026-08-19 20:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787153064000,"timestamp_ms":1787153064000,"timestamp_seconds":1787153064,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9fa040"} 
[2026-08-19 20:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 20: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 20:56:42] 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-08-19 20: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-08-19 20:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511182080001,"66":26810,"93":206,"28":32256,"24":5,"16":386162154555834368,"44":-193584385134608384},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,28,24,16,44]} 
[2026-08-19 20:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511182080001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:56:42] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-19 20:56:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386162154555834368,"km_value":386162154555834.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:56:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-193584385134608384,"description":"Unknown IO ID 44"} 
[2026-08-19 20:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511182080001,"power":26810,"unknown_93":206,"unknown_28":32256,"ignition":5,"odometer":null,"unknown_44":-193584385134608384}} 
[2026-08-19 20:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":157882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:56:42] local.INFO: GPS data processed {"connection_id":157882,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:56:42] local.INFO: Acknowledgment sent {"connection_id":157882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:56:45] local.INFO: TCP Data received {"connection_id":159113,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:56:45] local.INFO: Processing buffer {"connection_id":159113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9cf0c0012d196500071ff128004701462d..."} 
[2026-08-19 20:56:45] local.INFO: Packet analysis {"connection_id":159113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:56:45] local.INFO: Extracted packet for processing {"connection_id":159113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9c"} 
[2026-08-19 20:56:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511062272001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787152888000,"timestamp_ms":1787152888000,"timestamp_seconds":1787152888,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9cf0c0"} 
[2026-08-19 20:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 20:56:45] 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-08-19 20: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-08-19 20:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511062272001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511062272001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:56:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:56:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511062272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":159113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:56:45] local.INFO: GPS data processed {"connection_id":159113,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:56:45] local.INFO: Acknowledgment sent {"connection_id":159113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:56:58] local.INFO: TCP Data received {"connection_id":158245,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:56:58] local.INFO: Processing buffer {"connection_id":158245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:56:58] local.INFO: IMEI packet received {"connection_id":158245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":158245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:57:03] local.INFO: TCP Data received {"connection_id":158245,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:57:03] local.INFO: Processing buffer {"connection_id":158245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:57:03] local.INFO: IMEI packet received {"connection_id":158245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":158245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:57:05] local.INFO: TCP Data received {"connection_id":158245,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01a9fc750012cfd56c00701f758000c008a32..."} 
[2026-08-19 20:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01a9fc750012cfd56c00701f758000c008a32..."} 
[2026-08-19 20:57:05] local.INFO: Processing buffer {"connection_id":158245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01a9fc750012cfd56c00701f758000c008a32..."} 
[2026-08-19 20:57:05] local.INFO: Packet analysis {"connection_id":158245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01a9f"} 
[2026-08-19 20:57:05] local.INFO: Extracted packet for processing {"connection_id":158245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01a9f"} 
[2026-08-19 20:57:05] local.INFO: GPS Element Parsed {"raw_longitude":754800320,"raw_latitude":117569368,"longitude_deg":75.480032,"latitude_deg":11.7569368,"altitude":12,"angle":138,"satellites":50,"speed":8,"hex_longitude":"2cfd56c0","hex_latitude":"0701f758","is_valid_coordinates":true} 
[2026-08-19 20:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511184384001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386162206095441920,"note":"Value kept but may cause issues"} 
[2026-08-19 20:57:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-192599222716317696,"note":"Value kept but may cause issues"} 
[2026-08-19 20:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787153074000,"timestamp_ms":1787153074000,"timestamp_seconds":1787153074,"priority":1,"record_length":96,"hex_timestamp":"000001a01a9fc750"} 
[2026-08-19 20:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:57: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-08-19 20:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-08-19 20:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2392,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511184384001,"66":27180,"93":206,"28":32256,"24":8,"16":386162206095441920,"44":-192599222716317696},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,28,24,16,44]} 
[2026-08-19 20:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511184384001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:57:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-19 20:57:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386162206095441920,"km_value":386162206095441.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:57:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-192599222716317696,"description":"Unknown IO ID 44"} 
[2026-08-19 20:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511184384001,"power":27180,"unknown_93":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_44":-192599222716317696}} 
[2026-08-19 20:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":158245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:57:05] local.INFO: GPS data processed {"connection_id":158245,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:57:05] local.INFO: Acknowledgment sent {"connection_id":158245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:57:07] local.INFO: TCP Data received {"connection_id":157883,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:57:07] local.INFO: Processing buffer {"connection_id":157883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:57:07] local.INFO: IMEI packet received {"connection_id":157883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":157883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:57:07] local.INFO: TCP Data received {"connection_id":157883,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:57:07] local.INFO: Processing buffer {"connection_id":157883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:57:07] local.INFO: IMEI packet received {"connection_id":157883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":157883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:57:13] local.INFO: TCP Data received {"connection_id":157883,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:57:13] local.INFO: Processing buffer {"connection_id":157883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:57:13] local.INFO: IMEI packet received {"connection_id":157883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":157883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:57:14] local.INFO: TCP Data received {"connection_id":157883,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 20:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 20:57:14] local.INFO: Processing buffer {"connection_id":157883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 20:57:14] local.INFO: Packet analysis {"connection_id":157883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 20:57:14] local.INFO: Extracted packet for processing {"connection_id":157883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 20:57:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511139328001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787153189000,"timestamp_ms":1787153189000,"timestamp_seconds":1787153189,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa18888"} 
[2026-08-19 20:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:57:14] 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-08-19 20: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":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511139328001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511139328001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:57:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:57:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511139328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":157883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:57:14] local.INFO: GPS data processed {"connection_id":157883,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:57:14] local.INFO: Acknowledgment sent {"connection_id":157883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:57:36] local.INFO: TCP Data received {"connection_id":158245,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa1ea30012cfe48c00700e770000900a230..."} 
[2026-08-19 20:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa1ea30012cfe48c00700e770000900a230..."} 
[2026-08-19 20:57:36] local.INFO: Processing buffer {"connection_id":158245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa1ea30012cfe48c00700e770000900a230..."} 
[2026-08-19 20:57:36] local.INFO: Packet analysis {"connection_id":158245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 20:57:36] local.INFO: Extracted packet for processing {"connection_id":158245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 20:57:36] local.INFO: GPS Element Parsed {"raw_longitude":754862272,"raw_latitude":117499760,"longitude_deg":75.4862272,"latitude_deg":11.749976,"altitude":9,"angle":162,"satellites":48,"speed":22,"hex_longitude":"2cfe48c0","hex_latitude":"0700e770","is_valid_coordinates":true} 
[2026-08-19 20:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511222528001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386167162487701504,"note":"Value kept but may cause issues"} 
[2026-08-19 20:57:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-123708222184247296,"note":"Value kept but may cause issues"} 
[2026-08-19 20:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787153214000,"timestamp_ms":1787153214000,"timestamp_seconds":1787153214,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa1ea30"} 
[2026-08-19 20:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:57: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-08-19 20:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 20:57:36] 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-08-19 20:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511222528001,"66":27213,"31":206,"28":32256,"24":22,"16":386167162487701504,"44":-123708222184247296},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,28,24,16,44]} 
[2026-08-19 20:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511222528001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:57:36] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-19 20:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386167162487701504,"km_value":386167162487701.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:57:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-123708222184247296,"description":"Unknown IO ID 44"} 
[2026-08-19 20:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511222528001,"power":27213,"unknown_31":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_44":-123708222184247296}} 
[2026-08-19 20:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":158245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:57:36] local.INFO: GPS data processed {"connection_id":158245,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:57:36] local.INFO: Acknowledgment sent {"connection_id":158245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:57:45] local.INFO: TCP Data received {"connection_id":157883,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 20:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 20:57:45] local.INFO: Processing buffer {"connection_id":157883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 20:57:45] local.INFO: Packet analysis {"connection_id":157883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 20:57:45] local.INFO: Extracted packet for processing {"connection_id":157883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 20:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511139328001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787153189000,"timestamp_ms":1787153189000,"timestamp_seconds":1787153189,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa18888"} 
[2026-08-19 20:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511139328001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511139328001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:57:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:57:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511139328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":157883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:57:45] local.INFO: GPS data processed {"connection_id":157883,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:57:45] local.INFO: Acknowledgment sent {"connection_id":157883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:58:03] local.INFO: TCP Data received {"connection_id":160428,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:58:03] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:58:03] local.INFO: IMEI packet received {"connection_id":160428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":160428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:58:04] local.INFO: TCP Data received {"connection_id":160428,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:58:04] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:58:04] local.INFO: IMEI packet received {"connection_id":160428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":160428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:58:07] local.INFO: TCP Data received {"connection_id":158246,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:58:07] local.INFO: Processing buffer {"connection_id":158246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:58:07] local.INFO: IMEI packet received {"connection_id":158246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":158246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:58:08] local.INFO: TCP Data received {"connection_id":160428,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:58:08] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:58:08] local.INFO: IMEI packet received {"connection_id":160428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":160428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:58:10] local.INFO: TCP Data received {"connection_id":160428,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa1ee18012cfe4a000700e5800009008b31..."} 
[2026-08-19 20:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa1ee18012cfe4a000700e5800009008b31..."} 
[2026-08-19 20:58:10] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa1ee18012cfe4a000700e5800009008b31..."} 
[2026-08-19 20:58:10] local.INFO: Packet analysis {"connection_id":160428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 20:58:10] local.INFO: Extracted packet for processing {"connection_id":160428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 20:58:10] local.INFO: GPS Element Parsed {"raw_longitude":754862592,"raw_latitude":117499264,"longitude_deg":75.4862592,"latitude_deg":11.7499264,"altitude":9,"angle":139,"satellites":49,"speed":24,"hex_longitude":"2cfe4a00","hex_latitude":"0700e580","is_valid_coordinates":true} 
[2026-08-19 20:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511222784001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386167188257505280,"note":"Value kept but may cause issues"} 
[2026-08-19 20:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-123637853440217088,"note":"Value kept but may cause issues"} 
[2026-08-19 20:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787153215000,"timestamp_ms":1787153215000,"timestamp_seconds":1787153215,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa1ee18"} 
[2026-08-19 20:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:58: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-08-19 20:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 20:58:10] 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-08-19 20:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511222784001,"66":27267,"31":206,"28":32256,"24":24,"16":386167188257505280,"44":-123637853440217088},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,28,24,16,44]} 
[2026-08-19 20:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511222784001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:58:10] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-19 20:58:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386167188257505280,"km_value":386167188257505.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-123637853440217088,"description":"Unknown IO ID 44"} 
[2026-08-19 20:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511222784001,"power":27267,"unknown_31":206,"unknown_28":32256,"ignition":24,"odometer":null,"unknown_44":-123637853440217088}} 
[2026-08-19 20:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":160428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:58:10] local.INFO: GPS data processed {"connection_id":160428,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:58:10] local.INFO: Acknowledgment sent {"connection_id":160428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:58:13] local.INFO: TCP Data received {"connection_id":158246,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:58:13] local.INFO: Processing buffer {"connection_id":158246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:58:13] local.INFO: IMEI packet received {"connection_id":158246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":158246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:58:13] local.INFO: TCP Data received {"connection_id":158246,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 20:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 20:58:13] local.INFO: Processing buffer {"connection_id":158246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 20:58:13] local.INFO: Packet analysis {"connection_id":158246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 20:58:13] local.INFO: Extracted packet for processing {"connection_id":158246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 20:58:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511139328001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787153189000,"timestamp_ms":1787153189000,"timestamp_seconds":1787153189,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa18888"} 
[2026-08-19 20:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:58:13] 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-08-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511139328001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511139328001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:58:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511139328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":158246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:58:14] local.INFO: GPS data processed {"connection_id":158246,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:58:14] local.INFO: Acknowledgment sent {"connection_id":158246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:58:14] local.INFO: TCP Data received {"connection_id":160428,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa1f200012cfe4c000700e3e80009007c32..."} 
[2026-08-19 20:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa1f200012cfe4c000700e3e80009007c32..."} 
[2026-08-19 20:58:14] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa1f200012cfe4c000700e3e80009007c32..."} 
[2026-08-19 20:58:14] local.INFO: Packet analysis {"connection_id":160428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 20:58:14] local.INFO: Extracted packet for processing {"connection_id":160428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 20:58:14] local.INFO: GPS Element Parsed {"raw_longitude":754863104,"raw_latitude":117498856,"longitude_deg":75.4863104,"latitude_deg":11.7498856,"altitude":9,"angle":124,"satellites":50,"speed":24,"hex_longitude":"2cfe4c00","hex_latitude":"0700e3e8","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511223040001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386167222617243648,"note":"Value kept but may cause issues"} 
[2026-08-19 20:58:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-123286009719455744,"note":"Value kept but may cause issues"} 
[2026-08-19 20:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787153216000,"timestamp_ms":1787153216000,"timestamp_seconds":1787153216,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa1f200"} 
[2026-08-19 20:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:58: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-08-19 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 20:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511223040001,"66":27267,"31":206,"28":32256,"24":24,"16":386167222617243648,"44":-123286009719455744},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,28,24,16,44]} 
[2026-08-19 20:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511223040001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:58:14] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-19 20:58:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386167222617243648,"km_value":386167222617243.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:58:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-123286009719455744,"description":"Unknown IO ID 44"} 
[2026-08-19 20:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511223040001,"power":27267,"unknown_31":206,"unknown_28":32256,"ignition":24,"odometer":null,"unknown_44":-123286009719455744}} 
[2026-08-19 20:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":160428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:58:14] local.INFO: GPS data processed {"connection_id":160428,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:58:14] local.INFO: Acknowledgment sent {"connection_id":160428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:58:45] local.INFO: TCP Data received {"connection_id":158246,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 20:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 20:58:45] local.INFO: Processing buffer {"connection_id":158246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 20:58:45] local.INFO: Packet analysis {"connection_id":158246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 20:58:45] local.INFO: Extracted packet for processing {"connection_id":158246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 20:58:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511139328001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787153189000,"timestamp_ms":1787153189000,"timestamp_seconds":1787153189,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa18888"} 
[2026-08-19 20:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20: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":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511139328001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511139328001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:58:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:58:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511139328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":158246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:58:45] local.INFO: GPS data processed {"connection_id":158246,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:58:45] local.INFO: Acknowledgment sent {"connection_id":158246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:58:58] local.INFO: TCP Data received {"connection_id":159114,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:58:58] local.INFO: Processing buffer {"connection_id":159114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:58:58] local.INFO: IMEI packet received {"connection_id":159114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":159114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:59:01] local.INFO: TCP Data received {"connection_id":159114,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:59:01] local.INFO: Processing buffer {"connection_id":159114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:59:01] local.INFO: IMEI packet received {"connection_id":159114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 20:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":159114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:59:02] local.INFO: TCP Data received {"connection_id":159114,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa20d58012cfe5b400700d8480009008e2d..."} 
[2026-08-19 20:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa20d58012cfe5b400700d8480009008e2d..."} 
[2026-08-19 20:59:02] local.INFO: Processing buffer {"connection_id":159114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa20d58012cfe5b400700d8480009008e2d..."} 
[2026-08-19 20:59:02] local.INFO: Packet analysis {"connection_id":159114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa2"} 
[2026-08-19 20:59:02] local.INFO: Extracted packet for processing {"connection_id":159114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa2"} 
[2026-08-19 20:59:02] local.INFO: GPS Element Parsed {"raw_longitude":754867008,"raw_latitude":117495880,"longitude_deg":75.4867008,"latitude_deg":11.749588,"altitude":9,"angle":142,"satellites":45,"speed":32,"hex_longitude":"2cfe5b40","hex_latitude":"0700d848","is_valid_coordinates":true} 
[2026-08-19 20:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511223296001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386167458840444928,"note":"Value kept but may cause issues"} 
[2026-08-19 20:59:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-122723059766138880,"note":"Value kept but may cause issues"} 
[2026-08-19 20:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787153223000,"timestamp_ms":1787153223000,"timestamp_seconds":1787153223,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa20d58"} 
[2026-08-19 20:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:59: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-08-19 20:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 20:59:02] 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-08-19 20:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511223296001,"66":27310,"31":206,"28":32256,"24":32,"16":386167458840444928,"44":-122723059766138880},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,28,24,16,44]} 
[2026-08-19 20:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511223296001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:59:02] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-19 20:59:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386167458840444928,"km_value":386167458840444.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:59:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-122723059766138880,"description":"Unknown IO ID 44"} 
[2026-08-19 20:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511223296001,"power":27310,"unknown_31":206,"unknown_28":32256,"ignition":32,"odometer":null,"unknown_44":-122723059766138880}} 
[2026-08-19 20:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":159114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:59:02] local.INFO: GPS data processed {"connection_id":159114,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:59:02] local.INFO: Acknowledgment sent {"connection_id":159114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:59:13] local.INFO: TCP Data received {"connection_id":157884,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:59:13] local.INFO: Processing buffer {"connection_id":157884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:59:13] local.INFO: IMEI packet received {"connection_id":157884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 20:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":157884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 20:59:18] local.INFO: TCP Data received {"connection_id":157884,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:59:18] local.INFO: Processing buffer {"connection_id":157884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 20:59:18] local.INFO: IMEI packet received {"connection_id":157884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 20:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":157884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 20:59:18] local.INFO: TCP Data received {"connection_id":157884,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 20:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 20:59:18] local.INFO: Processing buffer {"connection_id":157884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 20:59:18] local.INFO: Packet analysis {"connection_id":157884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 20:59:18] local.INFO: Extracted packet for processing {"connection_id":157884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 20:59:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511139328001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787153189000,"timestamp_ms":1787153189000,"timestamp_seconds":1787153189,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa18888"} 
[2026-08-19 20:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:59:18] 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-08-19 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20: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-08-19 20:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:59:18] 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-08-19 20:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511139328001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511139328001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:59:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:59:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511139328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":157884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:59:19] local.INFO: GPS data processed {"connection_id":157884,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:59:19] local.INFO: Acknowledgment sent {"connection_id":157884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:59:23] local.INFO: TCP Data received {"connection_id":157884,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 20:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 20:59:23] local.INFO: Processing buffer {"connection_id":157884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 20:59:23] local.INFO: Packet analysis {"connection_id":157884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 20:59:23] local.INFO: Extracted packet for processing {"connection_id":157884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 20:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 20:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 20:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511139328001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 20:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 20:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787153189000,"timestamp_ms":1787153189000,"timestamp_seconds":1787153189,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa18888"} 
[2026-08-19 20:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 20:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 20:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 20:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 20:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":157884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":157884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":157884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 20:59:23] 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-08-19 20:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 20:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 20:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511139328001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 20:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 20:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 20:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511139328001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:59:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 20:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 20:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 20:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511139328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 20:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":157884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:59:23] local.INFO: GPS data processed {"connection_id":157884,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:59:23] local.INFO: Acknowledgment sent {"connection_id":157884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:59:36] local.INFO: TCP Data received {"connection_id":159114,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa21140012cfe5cc00700d580000a009a2c..."} 
[2026-08-19 20:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa21140012cfe5cc00700d580000a009a2c..."} 
[2026-08-19 20:59:36] local.INFO: Processing buffer {"connection_id":159114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa21140012cfe5cc00700d580000a009a2c..."} 
[2026-08-19 20:59:36] local.INFO: Packet analysis {"connection_id":159114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa2"} 
[2026-08-19 20:59:36] local.INFO: Extracted packet for processing {"connection_id":159114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa2"} 
[2026-08-19 20:59:36] local.INFO: GPS Element Parsed {"raw_longitude":754867392,"raw_latitude":117495168,"longitude_deg":75.4867392,"latitude_deg":11.7495168,"altitude":10,"angle":154,"satellites":44,"speed":32,"hex_longitude":"2cfe5cc0","hex_latitude":"0700d580","is_valid_coordinates":true} 
[2026-08-19 20: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-08-19 20:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511225088001,"note":"Value kept but may cause issues"} 
[2026-08-19 20:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386167497495150592,"note":"Value kept but may cause issues"} 
[2026-08-19 20:59:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-118430566372063232,"note":"Value kept but may cause issues"} 
[2026-08-19 20:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 20:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787153224000,"timestamp_ms":1787153224000,"timestamp_seconds":1787153224,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa21140"} 
[2026-08-19 20:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 20:59: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-08-19 20:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 20:59:36] 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-08-19 20: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-08-19 20:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 20:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 20:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 20:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 20:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 20:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 20:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 20:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511225088001,"66":27310,"31":206,"28":32256,"24":32,"16":386167497495150592,"44":-118430566372063232},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,28,24,16,44]} 
[2026-08-19 20:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 20:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 20:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511225088001,"description":"Unknown IO ID 0"} 
[2026-08-19 20:59:36] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-19 20:59:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 20:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386167497495150592,"km_value":386167497495150.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 20:59:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-118430566372063232,"description":"Unknown IO ID 44"} 
[2026-08-19 20:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511225088001,"power":27310,"unknown_31":206,"unknown_28":32256,"ignition":32,"odometer":null,"unknown_44":-118430566372063232}} 
[2026-08-19 20:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":159114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 20:59:36] local.INFO: GPS data processed {"connection_id":159114,"processed":1,"errors":0,"total":1} 
[2026-08-19 20:59:36] local.INFO: Acknowledgment sent {"connection_id":159114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 20:59:59] local.INFO: TCP Data received {"connection_id":157885,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:59:59] local.INFO: Processing buffer {"connection_id":157885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 20:59:59] local.INFO: IMEI packet received {"connection_id":157885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 20:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":157885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:00:00] local.INFO: TCP Data received {"connection_id":157885,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:00:00] local.INFO: Processing buffer {"connection_id":157885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:00:00] local.INFO: IMEI packet received {"connection_id":157885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":157885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:00:03] local.INFO: TCP Data received {"connection_id":157885,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:00:03] local.INFO: Processing buffer {"connection_id":157885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:00:03] local.INFO: IMEI packet received {"connection_id":157885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":157885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:00:05] local.INFO: TCP Data received {"connection_id":157885,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa3d278012cff0e80070045b0000d008c31..."} 
[2026-08-19 21:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa3d278012cff0e80070045b0000d008c31..."} 
[2026-08-19 21:00:05] local.INFO: Processing buffer {"connection_id":157885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa3d278012cff0e80070045b0000d008c31..."} 
[2026-08-19 21:00:05] local.INFO: Packet analysis {"connection_id":157885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa3"} 
[2026-08-19 21:00:05] local.INFO: Extracted packet for processing {"connection_id":157885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa3"} 
[2026-08-19 21:00:05] local.INFO: GPS Element Parsed {"raw_longitude":754912896,"raw_latitude":117458352,"longitude_deg":75.4912896,"latitude_deg":11.7458352,"altitude":13,"angle":140,"satellites":49,"speed":20,"hex_longitude":"2cff0e80","hex_latitude":"070045b0","is_valid_coordinates":true} 
[2026-08-19 21:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511249408001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386170413777944576,"note":"Value kept but may cause issues"} 
[2026-08-19 21:00:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257548095488,"note":"Value kept but may cause issues"} 
[2026-08-19 21:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787153339000,"timestamp_ms":1787153339000,"timestamp_seconds":1787153339,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa3d278"} 
[2026-08-19 21:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:00: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-08-19 21:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 21:00:05] 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-08-19 21:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511249408001,"66":27300,"33":206,"28":32256,"24":20,"16":386170413777944576,"44":-74098257548095488},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-08-19 21:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511249408001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:00:05] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-19 21:00:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386170413777944576,"km_value":386170413777944.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:00:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257548095488,"description":"Unknown IO ID 44"} 
[2026-08-19 21:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511249408001,"power":27300,"unknown_33":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_44":-74098257548095488}} 
[2026-08-19 21:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":157885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:00:05] local.INFO: GPS data processed {"connection_id":157885,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:00:05] local.INFO: Acknowledgment sent {"connection_id":157885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:00:08] local.INFO: TCP Data received {"connection_id":157886,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:00:08] local.INFO: Processing buffer {"connection_id":157886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:00:08] local.INFO: IMEI packet received {"connection_id":157886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":157886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:00:13] local.INFO: TCP Data received {"connection_id":157886,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:00:13] local.INFO: Processing buffer {"connection_id":157886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:00:13] local.INFO: IMEI packet received {"connection_id":157886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":157886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:00:13] local.INFO: TCP Data received {"connection_id":157886,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 21:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 21:00:13] local.INFO: Processing buffer {"connection_id":157886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 21:00:13] local.INFO: Packet analysis {"connection_id":157886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 21:00:13] local.INFO: Extracted packet for processing {"connection_id":157886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 21:00:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511139328001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787153189000,"timestamp_ms":1787153189000,"timestamp_seconds":1787153189,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa18888"} 
[2026-08-19 21:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:00:13] 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-08-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 21:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511139328001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511139328001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:00:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:00:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511139328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":157886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:00:14] local.INFO: GPS data processed {"connection_id":157886,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:00:14] local.INFO: Acknowledgment sent {"connection_id":157886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:00:36] local.INFO: TCP Data received {"connection_id":157885,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa40158012cff25c007002b18000b008931..."} 
[2026-08-19 21:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa40158012cff25c007002b18000b008931..."} 
[2026-08-19 21:00:36] local.INFO: Processing buffer {"connection_id":157885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa40158012cff25c007002b18000b008931..."} 
[2026-08-19 21:00:36] local.INFO: Packet analysis {"connection_id":157885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa4"} 
[2026-08-19 21:00:36] local.INFO: Extracted packet for processing {"connection_id":157885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa4"} 
[2026-08-19 21:00:36] local.INFO: GPS Element Parsed {"raw_longitude":754918848,"raw_latitude":117451544,"longitude_deg":75.4918848,"latitude_deg":11.7451544,"altitude":11,"angle":137,"satellites":49,"speed":36,"hex_longitude":"2cff25c0","hex_latitude":"07002b18","is_valid_coordinates":true} 
[2026-08-19 21:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511254784001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386170847569641472,"note":"Value kept but may cause issues"} 
[2026-08-19 21:00:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-67976176806285312,"note":"Value kept but may cause issues"} 
[2026-08-19 21:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787153351000,"timestamp_ms":1787153351000,"timestamp_seconds":1787153351,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa40158"} 
[2026-08-19 21:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:00: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-08-19 21:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 21:00:36] 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-08-19 21:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511254784001,"66":27463,"196":206,"28":32256,"24":36,"16":386170847569641472,"44":-67976176806285312},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,44]} 
[2026-08-19 21:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511254784001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:00:36] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-19 21:00:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386170847569641472,"km_value":386170847569641.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:00:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-67976176806285312,"description":"Unknown IO ID 44"} 
[2026-08-19 21:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511254784001,"power":27463,"unknown_196":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_44":-67976176806285312}} 
[2026-08-19 21:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":157885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:00:36] local.INFO: GPS data processed {"connection_id":157885,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:00:36] local.INFO: Acknowledgment sent {"connection_id":157885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:00:45] local.INFO: TCP Data received {"connection_id":157886,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 21:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 21:00:45] local.INFO: Processing buffer {"connection_id":157886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 21:00:45] local.INFO: Packet analysis {"connection_id":157886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 21:00:45] local.INFO: Extracted packet for processing {"connection_id":157886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 21:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511139328001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787153189000,"timestamp_ms":1787153189000,"timestamp_seconds":1787153189,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa18888"} 
[2026-08-19 21:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 21:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511139328001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511139328001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:00:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:00:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511139328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":157886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:00:45] local.INFO: GPS data processed {"connection_id":157886,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:00:45] local.INFO: Acknowledgment sent {"connection_id":157886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:00:57] local.INFO: TCP Data received {"connection_id":157887,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:00:57] local.INFO: Processing buffer {"connection_id":157887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:00:57] local.INFO: IMEI packet received {"connection_id":157887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":157887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:00:58] local.INFO: TCP Data received {"connection_id":157887,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:00:58] local.INFO: Processing buffer {"connection_id":157887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:00:58] local.INFO: IMEI packet received {"connection_id":157887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":157887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:01:03] local.INFO: TCP Data received {"connection_id":157887,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:01:03] local.INFO: Processing buffer {"connection_id":157887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:01:03] local.INFO: IMEI packet received {"connection_id":157887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":157887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:01:05] local.INFO: TCP Data received {"connection_id":157887,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa42868012cff3d8007000ef8000b008b2f..."} 
[2026-08-19 21:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa42868012cff3d8007000ef8000b008b2f..."} 
[2026-08-19 21:01:05] local.INFO: Processing buffer {"connection_id":157887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa42868012cff3d8007000ef8000b008b2f..."} 
[2026-08-19 21:01:05] local.INFO: Packet analysis {"connection_id":157887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa4"} 
[2026-08-19 21:01:05] local.INFO: Extracted packet for processing {"connection_id":157887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa4"} 
[2026-08-19 21:01:05] local.INFO: GPS Element Parsed {"raw_longitude":754924928,"raw_latitude":117444344,"longitude_deg":75.4924928,"latitude_deg":11.7444344,"altitude":11,"angle":139,"satellites":47,"speed":39,"hex_longitude":"2cff3d80","hex_latitude":"07000ef8","is_valid_coordinates":true} 
[2026-08-19 21:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511257856001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386171302836174848,"note":"Value kept but may cause issues"} 
[2026-08-19 21:01:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-61431883599505408,"note":"Value kept but may cause issues"} 
[2026-08-19 21:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787153361000,"timestamp_ms":1787153361000,"timestamp_seconds":1787153361,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa42868"} 
[2026-08-19 21:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 21:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511257856001,"66":27484,"196":206,"28":32256,"24":39,"16":386171302836174848,"44":-61431883599505408},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,44]} 
[2026-08-19 21:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511257856001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:01:05] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-19 21:01:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386171302836174848,"km_value":386171302836174.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:01:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-61431883599505408,"description":"Unknown IO ID 44"} 
[2026-08-19 21:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511257856001,"power":27484,"unknown_196":206,"unknown_28":32256,"ignition":39,"odometer":null,"unknown_44":-61431883599505408}} 
[2026-08-19 21:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":157887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:01:05] local.INFO: GPS data processed {"connection_id":157887,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:01:05] local.INFO: Acknowledgment sent {"connection_id":157887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:01:08] local.INFO: TCP Data received {"connection_id":158247,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:01:08] local.INFO: Processing buffer {"connection_id":158247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:01:08] local.INFO: IMEI packet received {"connection_id":158247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":158247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:01:13] local.INFO: TCP Data received {"connection_id":158247,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:01:13] local.INFO: Processing buffer {"connection_id":158247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:01:13] local.INFO: IMEI packet received {"connection_id":158247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":158247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:01:14] local.INFO: TCP Data received {"connection_id":158247,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 21:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 21:01:14] local.INFO: Processing buffer {"connection_id":158247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 21:01:14] local.INFO: Packet analysis {"connection_id":158247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 21:01:14] local.INFO: Extracted packet for processing {"connection_id":158247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 21:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511139328001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787153189000,"timestamp_ms":1787153189000,"timestamp_seconds":1787153189,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa18888"} 
[2026-08-19 21:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:01:14] 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-08-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 21:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511139328001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511139328001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:01:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:01:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511139328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":158247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:01:14] local.INFO: GPS data processed {"connection_id":158247,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:01:14] local.INFO: Acknowledgment sent {"connection_id":158247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:01:36] local.INFO: TCP Data received {"connection_id":157887,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa44b90012cff574006fff5c8000c008030..."} 
[2026-08-19 21:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa44b90012cff574006fff5c8000c008030..."} 
[2026-08-19 21:01:36] local.INFO: Processing buffer {"connection_id":157887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa44b90012cff574006fff5c8000c008030..."} 
[2026-08-19 21:01:36] local.INFO: Packet analysis {"connection_id":157887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa4"} 
[2026-08-19 21:01:36] local.INFO: Extracted packet for processing {"connection_id":157887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa4"} 
[2026-08-19 21:01:36] local.INFO: GPS Element Parsed {"raw_longitude":754931520,"raw_latitude":117437896,"longitude_deg":75.493152,"latitude_deg":11.7437896,"altitude":12,"angle":128,"satellites":48,"speed":40,"hex_longitude":"2cff5740","hex_latitude":"06fff5c8","is_valid_coordinates":true} 
[2026-08-19 21:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511260416001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386171740922839040,"note":"Value kept but may cause issues"} 
[2026-08-19 21:01:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-54746852904470528,"note":"Value kept but may cause issues"} 
[2026-08-19 21:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787153370000,"timestamp_ms":1787153370000,"timestamp_seconds":1787153370,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa44b90"} 
[2026-08-19 21:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 21:01:36] 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-08-19 21:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511260416001,"66":27463,"196":206,"28":32256,"24":40,"16":386171740922839040,"44":-54746852904470528},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,44]} 
[2026-08-19 21:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511260416001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:01:36] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-19 21:01:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386171740922839040,"km_value":386171740922839.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:01:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-54746852904470528,"description":"Unknown IO ID 44"} 
[2026-08-19 21:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511260416001,"power":27463,"unknown_196":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_44":-54746852904470528}} 
[2026-08-19 21:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":157887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:01:36] local.INFO: GPS data processed {"connection_id":157887,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:01:36] local.INFO: Acknowledgment sent {"connection_id":157887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:01:45] local.INFO: TCP Data received {"connection_id":158247,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 21:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 21:01:45] local.INFO: Processing buffer {"connection_id":158247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa18888012d196500071ff128004701462c..."} 
[2026-08-19 21:01:45] local.INFO: Packet analysis {"connection_id":158247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 21:01:45] local.INFO: Extracted packet for processing {"connection_id":158247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa1"} 
[2026-08-19 21:01:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511139328001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787153189000,"timestamp_ms":1787153189000,"timestamp_seconds":1787153189,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa18888"} 
[2026-08-19 21:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 21:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511139328001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511139328001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:01:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:01:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511139328001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":158247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:01:45] local.INFO: GPS data processed {"connection_id":158247,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:01:45] local.INFO: Acknowledgment sent {"connection_id":158247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:02:03] local.INFO: TCP Data received {"connection_id":160429,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:02:03] local.INFO: Processing buffer {"connection_id":160429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:02:03] local.INFO: IMEI packet received {"connection_id":160429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":160429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:02:03] local.INFO: TCP Data received {"connection_id":160429,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:02:03] local.INFO: Processing buffer {"connection_id":160429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:02:03] local.INFO: IMEI packet received {"connection_id":160429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":160429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:02:07] local.INFO: TCP Data received {"connection_id":160430,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:02:07] local.INFO: Processing buffer {"connection_id":160430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:02:07] local.INFO: IMEI packet received {"connection_id":160430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":160430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:02:08] local.INFO: TCP Data received {"connection_id":160430,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:02:08] local.INFO: Processing buffer {"connection_id":160430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:02:08] local.INFO: IMEI packet received {"connection_id":160430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":160430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:02:08] local.INFO: TCP Data received {"connection_id":160429,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:02:08] local.INFO: Processing buffer {"connection_id":160429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:02:08] local.INFO: IMEI packet received {"connection_id":160429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":160429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:02:09] local.INFO: TCP Data received {"connection_id":160429,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa466e8012cff6c0006ffe700000c007132..."} 
[2026-08-19 21:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa466e8012cff6c0006ffe700000c007132..."} 
[2026-08-19 21:02:09] local.INFO: Processing buffer {"connection_id":160429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa466e8012cff6c0006ffe700000c007132..."} 
[2026-08-19 21:02:09] local.INFO: Packet analysis {"connection_id":160429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa4"} 
[2026-08-19 21:02:09] local.INFO: Extracted packet for processing {"connection_id":160429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa4"} 
[2026-08-19 21:02:09] local.INFO: GPS Element Parsed {"raw_longitude":754936832,"raw_latitude":117434112,"longitude_deg":75.4936832,"latitude_deg":11.7434112,"altitude":12,"angle":113,"satellites":50,"speed":33,"hex_longitude":"2cff6c00","hex_latitude":"06ffe700","is_valid_coordinates":true} 
[2026-08-19 21:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511262720001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386172054455451648,"note":"Value kept but may cause issues"} 
[2026-08-19 21:02:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-47498872255821824,"note":"Value kept but may cause issues"} 
[2026-08-19 21:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787153377000,"timestamp_ms":1787153377000,"timestamp_seconds":1787153377,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa466e8"} 
[2026-08-19 21:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 21:02:09] 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-08-19 21:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511262720001,"66":27332,"196":206,"28":32256,"24":33,"16":386172054455451648,"44":-47498872255821824},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,44]} 
[2026-08-19 21:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511262720001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:02:09] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-19 21:02:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386172054455451648,"km_value":386172054455451.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:02:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-47498872255821824,"description":"Unknown IO ID 44"} 
[2026-08-19 21:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511262720001,"power":27332,"unknown_196":206,"unknown_28":32256,"ignition":33,"odometer":null,"unknown_44":-47498872255821824}} 
[2026-08-19 21:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":160429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:02:09] local.INFO: GPS data processed {"connection_id":160429,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:02:09] local.INFO: Acknowledgment sent {"connection_id":160429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:02:13] local.INFO: TCP Data received {"connection_id":160430,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:02:13] local.INFO: Processing buffer {"connection_id":160430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:02:13] local.INFO: IMEI packet received {"connection_id":160430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":160430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:02:13] local.INFO: TCP Data received {"connection_id":160430,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:02:13] local.INFO: Processing buffer {"connection_id":160430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:02:13] local.INFO: Packet analysis {"connection_id":160430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:02:13] local.INFO: Extracted packet for processing {"connection_id":160430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:02:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511216384001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787153490000,"timestamp_ms":1787153490000,"timestamp_seconds":1787153490,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa62050"} 
[2026-08-19 21:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:02:13] 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-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511216384001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511216384001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:02:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:02:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511216384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":160430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:02:14] local.INFO: GPS data processed {"connection_id":160430,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:02:14] local.INFO: Acknowledgment sent {"connection_id":160430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:02:14] local.INFO: TCP Data received {"connection_id":160429,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa495c8012cff8f8006ffdb68000c007236..."} 
[2026-08-19 21:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa495c8012cff8f8006ffdb68000c007236..."} 
[2026-08-19 21:02:14] local.INFO: Processing buffer {"connection_id":160429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa495c8012cff8f8006ffdb68000c007236..."} 
[2026-08-19 21:02:14] local.INFO: Packet analysis {"connection_id":160429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa4"} 
[2026-08-19 21:02:14] local.INFO: Extracted packet for processing {"connection_id":160429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa4"} 
[2026-08-19 21:02:14] local.INFO: GPS Element Parsed {"raw_longitude":754945920,"raw_latitude":117431144,"longitude_deg":75.494592,"latitude_deg":11.7431144,"altitude":12,"angle":114,"satellites":54,"speed":31,"hex_longitude":"2cff8f80","hex_latitude":"06ffdb68","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511264512001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386172509721985024,"note":"Value kept but may cause issues"} 
[2026-08-19 21:02:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-41658266490044416,"note":"Value kept but may cause issues"} 
[2026-08-19 21:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787153389000,"timestamp_ms":1787153389000,"timestamp_seconds":1787153389,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa495c8"} 
[2026-08-19 21:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 21:02:14] 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-08-19 21: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-08-19 21:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511264512001,"66":27332,"196":206,"28":32256,"24":31,"16":386172509721985024,"44":-41658266490044416},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,44]} 
[2026-08-19 21:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511264512001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:02:14] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-19 21:02:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386172509721985024,"km_value":386172509721985.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:02:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-41658266490044416,"description":"Unknown IO ID 44"} 
[2026-08-19 21:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511264512001,"power":27332,"unknown_196":206,"unknown_28":32256,"ignition":31,"odometer":null,"unknown_44":-41658266490044416}} 
[2026-08-19 21:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":160429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:02:14] local.INFO: GPS data processed {"connection_id":160429,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:02:14] local.INFO: Acknowledgment sent {"connection_id":160429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:02:45] local.INFO: TCP Data received {"connection_id":160430,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:02:45] local.INFO: Processing buffer {"connection_id":160430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:02:45] local.INFO: Packet analysis {"connection_id":160430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:02:45] local.INFO: Extracted packet for processing {"connection_id":160430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511216384001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787153490000,"timestamp_ms":1787153490000,"timestamp_seconds":1787153490,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa62050"} 
[2026-08-19 21:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:02: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-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511216384001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511216384001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:02:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511216384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":160430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:02:45] local.INFO: GPS data processed {"connection_id":160430,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:02:45] local.INFO: Acknowledgment sent {"connection_id":160430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:02:59] local.INFO: TCP Data received {"connection_id":158248,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:02:59] local.INFO: Processing buffer {"connection_id":158248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:02:59] local.INFO: IMEI packet received {"connection_id":158248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":158248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:03:00] local.INFO: TCP Data received {"connection_id":158248,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:03:00] local.INFO: Processing buffer {"connection_id":158248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:03:00] local.INFO: IMEI packet received {"connection_id":158248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":158248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:03:01] local.INFO: TCP Data received {"connection_id":158248,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa66a88012d00658006ff58b0001000a136..."} 
[2026-08-19 21:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa66a88012d00658006ff58b0001000a136..."} 
[2026-08-19 21:03:01] local.INFO: Processing buffer {"connection_id":158248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa66a88012d00658006ff58b0001000a136..."} 
[2026-08-19 21:03:01] local.INFO: Packet analysis {"connection_id":158248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:03:01] local.INFO: Extracted packet for processing {"connection_id":158248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:03:01] local.INFO: GPS Element Parsed {"raw_longitude":755000704,"raw_latitude":117397680,"longitude_deg":75.5000704,"latitude_deg":11.739768,"altitude":16,"angle":161,"satellites":54,"speed":22,"hex_longitude":"2d006580","hex_latitude":"06ff58b0","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511297536001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386175636458176512,"note":"Value kept but may cause issues"} 
[2026-08-19 21:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":27866052748525568,"note":"Value kept but may cause issues"} 
[2026-08-19 21:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787153509000,"timestamp_ms":1787153509000,"timestamp_seconds":1787153509,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa66a88"} 
[2026-08-19 21:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:03: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-08-19 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 21:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":158248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":158248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":158248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511297536001,"66":26517,"17":206,"28":32256,"24":22,"16":386175636458176512,"45":27866052748525568},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,28,24,16,45]} 
[2026-08-19 21:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511297536001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:03:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386175636458176512,"km_value":386175636458176.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":27866052748525568,"description":"Unknown IO ID 45"} 
[2026-08-19 21:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511297536001,"power":26517,"axis_x":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_45":27866052748525568}} 
[2026-08-19 21:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":158248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:03:01] local.INFO: GPS data processed {"connection_id":158248,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:03:01] local.INFO: Acknowledgment sent {"connection_id":158248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:03:04] local.INFO: TCP Data received {"connection_id":158248,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa69d50012d006bc006ff3668000e00aa31..."} 
[2026-08-19 21:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa69d50012d006bc006ff3668000e00aa31..."} 
[2026-08-19 21:03:04] local.INFO: Processing buffer {"connection_id":158248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa69d50012d006bc006ff3668000e00aa31..."} 
[2026-08-19 21:03:04] local.INFO: Packet analysis {"connection_id":158248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:03:04] local.INFO: Extracted packet for processing {"connection_id":158248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:03:04] local.INFO: GPS Element Parsed {"raw_longitude":755002304,"raw_latitude":117388904,"longitude_deg":75.5002304,"latitude_deg":11.7388904,"altitude":14,"angle":170,"satellites":49,"speed":30,"hex_longitude":"2d006bc0","hex_latitude":"06ff3668","is_valid_coordinates":true} 
[2026-08-19 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-08-19 21:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511298304001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386176070249873408,"note":"Value kept but may cause issues"} 
[2026-08-19 21:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":28569740189937664,"note":"Value kept but may cause issues"} 
[2026-08-19 21:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787153522000,"timestamp_ms":1787153522000,"timestamp_seconds":1787153522,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa69d50"} 
[2026-08-19 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-08-19 21:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-19 21:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 21:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511298304001,"66":27376,"15":206,"28":32256,"24":30,"16":386176070249873408,"45":28569740189937664},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-08-19 21:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511298304001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:03:04] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-19 21:03:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386176070249873408,"km_value":386176070249873.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":28569740189937664,"description":"Unknown IO ID 45"} 
[2026-08-19 21:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511298304001,"power":27376,"unknown_15":206,"unknown_28":32256,"ignition":30,"odometer":null,"unknown_45":28569740189937664}} 
[2026-08-19 21:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":158248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:03:04] local.INFO: GPS data processed {"connection_id":158248,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:03:04] local.INFO: Acknowledgment sent {"connection_id":158248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:03:13] local.INFO: TCP Data received {"connection_id":158249,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:03:13] local.INFO: Processing buffer {"connection_id":158249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:03:13] local.INFO: IMEI packet received {"connection_id":158249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":158249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:03:18] local.INFO: TCP Data received {"connection_id":158249,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:03:18] local.INFO: Processing buffer {"connection_id":158249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:03:18] local.INFO: IMEI packet received {"connection_id":158249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":158249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:03:18] local.INFO: TCP Data received {"connection_id":158249,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:03:18] local.INFO: Processing buffer {"connection_id":158249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:03:18] local.INFO: Packet analysis {"connection_id":158249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:03:18] local.INFO: Extracted packet for processing {"connection_id":158249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511216384001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787153490000,"timestamp_ms":1787153490000,"timestamp_seconds":1787153490,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa62050"} 
[2026-08-19 21:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:03:18] 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-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511216384001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511216384001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:03:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511216384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":158249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:03:18] local.INFO: GPS data processed {"connection_id":158249,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:03:18] local.INFO: Acknowledgment sent {"connection_id":158249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:03:23] local.INFO: TCP Data received {"connection_id":158249,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:03:23] local.INFO: Processing buffer {"connection_id":158249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:03:23] local.INFO: Packet analysis {"connection_id":158249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:03:23] local.INFO: Extracted packet for processing {"connection_id":158249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511216384001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787153490000,"timestamp_ms":1787153490000,"timestamp_seconds":1787153490,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa62050"} 
[2026-08-19 21:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511216384001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511216384001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:03:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:03:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511216384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":158249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:03:23] local.INFO: GPS data processed {"connection_id":158249,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:03:23] local.INFO: Acknowledgment sent {"connection_id":158249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:03:35] local.INFO: TCP Data received {"connection_id":158248,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa6c848012d00704006ff1370001200ab31..."} 
[2026-08-19 21:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa6c848012d00704006ff1370001200ab31..."} 
[2026-08-19 21:03:35] local.INFO: Processing buffer {"connection_id":158248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa6c848012d00704006ff1370001200ab31..."} 
[2026-08-19 21:03:35] local.INFO: Packet analysis {"connection_id":158248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:03:35] local.INFO: Extracted packet for processing {"connection_id":158248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:03:35] local.INFO: GPS Element Parsed {"raw_longitude":755003456,"raw_latitude":117379952,"longitude_deg":75.5003456,"latitude_deg":11.7379952,"altitude":18,"angle":171,"satellites":49,"speed":34,"hex_longitude":"2d007040","hex_latitude":"06ff1370","is_valid_coordinates":true} 
[2026-08-19 21:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511301632001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386176508336537600,"note":"Value kept but may cause issues"} 
[2026-08-19 21:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":30328958792132608,"note":"Value kept but may cause issues"} 
[2026-08-19 21:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787153533000,"timestamp_ms":1787153533000,"timestamp_seconds":1787153533,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa6c848"} 
[2026-08-19 21:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 21:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511301632001,"66":27484,"15":206,"28":32256,"24":34,"16":386176508336537600,"45":30328958792132608},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-08-19 21:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511301632001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:03:35] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-19 21:03:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386176508336537600,"km_value":386176508336537.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":30328958792132608,"description":"Unknown IO ID 45"} 
[2026-08-19 21:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511301632001,"power":27484,"unknown_15":206,"unknown_28":32256,"ignition":34,"odometer":null,"unknown_45":30328958792132608}} 
[2026-08-19 21:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":158248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:03:35] local.INFO: GPS data processed {"connection_id":158248,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:03:35] local.INFO: Acknowledgment sent {"connection_id":158248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:03:59] local.INFO: TCP Data received {"connection_id":160431,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:03:59] local.INFO: Processing buffer {"connection_id":160431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:03:59] local.INFO: IMEI packet received {"connection_id":160431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":160431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:04:03] local.INFO: TCP Data received {"connection_id":160431,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:04:03] local.INFO: Processing buffer {"connection_id":160431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:04:03] local.INFO: IMEI packet received {"connection_id":160431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":160431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:04:08] local.INFO: TCP Data received {"connection_id":159115,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:04:08] local.INFO: Processing buffer {"connection_id":159115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:04:08] local.INFO: IMEI packet received {"connection_id":159115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":159115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:04:08] local.INFO: TCP Data received {"connection_id":160431,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa6eb70012d00758006fef060001000a832..."} 
[2026-08-19 21:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa6eb70012d00758006fef060001000a832..."} 
[2026-08-19 21:04:08] local.INFO: Processing buffer {"connection_id":160431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa6eb70012d00758006fef060001000a832..."} 
[2026-08-19 21:04:08] local.INFO: Packet analysis {"connection_id":160431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:04:08] local.INFO: Extracted packet for processing {"connection_id":160431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:04:08] local.INFO: GPS Element Parsed {"raw_longitude":755004800,"raw_latitude":117370976,"longitude_deg":75.50048,"latitude_deg":11.7370976,"altitude":16,"angle":168,"satellites":50,"speed":44,"hex_longitude":"2d007580","hex_latitude":"06fef060","is_valid_coordinates":true} 
[2026-08-19 21:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511304448001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386176950718169088,"note":"Value kept but may cause issues"} 
[2026-08-19 21:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":31595596185038848,"note":"Value kept but may cause issues"} 
[2026-08-19 21:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787153542000,"timestamp_ms":1787153542000,"timestamp_seconds":1787153542,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa6eb70"} 
[2026-08-19 21:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:04: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-08-19 21:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 21:04:08] 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-08-19 21:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511304448001,"66":27321,"15":206,"28":32256,"24":44,"16":386176950718169088,"45":31595596185038848},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-08-19 21:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511304448001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:04:08] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-19 21:04:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386176950718169088,"km_value":386176950718169.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":31595596185038848,"description":"Unknown IO ID 45"} 
[2026-08-19 21:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511304448001,"power":27321,"unknown_15":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_45":31595596185038848}} 
[2026-08-19 21:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":160431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:04:08] local.INFO: GPS data processed {"connection_id":160431,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:04:08] local.INFO: Acknowledgment sent {"connection_id":160431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:04:09] local.INFO: TCP Data received {"connection_id":160431,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa70e98012d007d0006feca80000b00a031..."} 
[2026-08-19 21:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa70e98012d007d0006feca80000b00a031..."} 
[2026-08-19 21:04:09] local.INFO: Processing buffer {"connection_id":160431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa70e98012d007d0006feca80000b00a031..."} 
[2026-08-19 21:04:09] local.INFO: Packet analysis {"connection_id":160431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa7"} 
[2026-08-19 21:04:09] local.INFO: Extracted packet for processing {"connection_id":160431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa7"} 
[2026-08-19 21:04:09] local.INFO: GPS Element Parsed {"raw_longitude":755006720,"raw_latitude":117361280,"longitude_deg":75.500672,"latitude_deg":11.736128,"altitude":11,"angle":160,"satellites":49,"speed":40,"hex_longitude":"2d007d00","hex_latitude":"06feca80","is_valid_coordinates":true} 
[2026-08-19 21:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511306752001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386177427459538944,"note":"Value kept but may cause issues"} 
[2026-08-19 21:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":33073339810471936,"note":"Value kept but may cause issues"} 
[2026-08-19 21:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787153551000,"timestamp_ms":1787153551000,"timestamp_seconds":1787153551,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa70e98"} 
[2026-08-19 21:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 21:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511306752001,"66":27343,"15":206,"28":32256,"24":40,"16":386177427459538944,"45":33073339810471936},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-08-19 21:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511306752001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:04:09] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-19 21:04:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386177427459538944,"km_value":386177427459538.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":33073339810471936,"description":"Unknown IO ID 45"} 
[2026-08-19 21:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511306752001,"power":27343,"unknown_15":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_45":33073339810471936}} 
[2026-08-19 21:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":160431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:04:09] local.INFO: GPS data processed {"connection_id":160431,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:04:09] local.INFO: Acknowledgment sent {"connection_id":160431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:04:13] local.INFO: TCP Data received {"connection_id":159115,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:04:13] local.INFO: Processing buffer {"connection_id":159115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:04:13] local.INFO: IMEI packet received {"connection_id":159115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":159115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:04:13] local.INFO: TCP Data received {"connection_id":159115,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:04:13] local.INFO: Processing buffer {"connection_id":159115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:04:13] local.INFO: Packet analysis {"connection_id":159115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:04:13] local.INFO: Extracted packet for processing {"connection_id":159115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:04:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511216384001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787153490000,"timestamp_ms":1787153490000,"timestamp_seconds":1787153490,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa62050"} 
[2026-08-19 21:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:04:13] 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-08-19 21:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511216384001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511216384001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:04:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511216384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":159115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:04:14] local.INFO: GPS data processed {"connection_id":159115,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:04:14] local.INFO: Acknowledgment sent {"connection_id":159115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:04:41] local.INFO: TCP Data received {"connection_id":160431,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa83b60012d0186c006fe4ca00005007f32..."} 
[2026-08-19 21:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa83b60012d0186c006fe4ca00005007f32..."} 
[2026-08-19 21:04:41] local.INFO: Processing buffer {"connection_id":160431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa83b60012d0186c006fe4ca00005007f32..."} 
[2026-08-19 21:04:41] local.INFO: Packet analysis {"connection_id":160431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa8"} 
[2026-08-19 21:04:41] local.INFO: Extracted packet for processing {"connection_id":160431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa8"} 
[2026-08-19 21:04:41] local.INFO: GPS Element Parsed {"raw_longitude":755074752,"raw_latitude":117329056,"longitude_deg":75.5074752,"latitude_deg":11.7329056,"altitude":5,"angle":127,"satellites":50,"speed":44,"hex_longitude":"2d0186c0","hex_latitude":"06fe4ca0","is_valid_coordinates":true} 
[2026-08-19 21:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511326464001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386181108246511616,"note":"Value kept but may cause issues"} 
[2026-08-19 21:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":99782909281183744,"note":"Value kept but may cause issues"} 
[2026-08-19 21:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787153628000,"timestamp_ms":1787153628000,"timestamp_seconds":1787153628,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa83b60"} 
[2026-08-19 21:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:04: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-08-19 21:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 21:04:41] 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-08-19 21:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511326464001,"66":27321,"110":206,"28":32256,"24":44,"16":386181108246511616,"45":99782909281183744},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-08-19 21:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511326464001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:04:41] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 21:04:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386181108246511616,"km_value":386181108246511.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":99782909281183744,"description":"Unknown IO ID 45"} 
[2026-08-19 21:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511326464001,"power":27321,"unknown_110":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_45":99782909281183744}} 
[2026-08-19 21:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":160431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:04:41] local.INFO: GPS data processed {"connection_id":160431,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:04:41] local.INFO: Acknowledgment sent {"connection_id":160431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:04:45] local.INFO: TCP Data received {"connection_id":159115,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:04:45] local.INFO: Processing buffer {"connection_id":159115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:04:45] local.INFO: Packet analysis {"connection_id":159115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:04:45] local.INFO: Extracted packet for processing {"connection_id":159115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:04:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511216384001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787153490000,"timestamp_ms":1787153490000,"timestamp_seconds":1787153490,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa62050"} 
[2026-08-19 21:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:04: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-08-19 21:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511216384001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511216384001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:04:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:04:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511216384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":159115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:04:45] local.INFO: GPS data processed {"connection_id":159115,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:04:45] local.INFO: Acknowledgment sent {"connection_id":159115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:04:58] local.INFO: TCP Data received {"connection_id":157888,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:04:58] local.INFO: Processing buffer {"connection_id":157888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:04:58] local.INFO: IMEI packet received {"connection_id":157888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":157888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:05:00] local.INFO: TCP Data received {"connection_id":157888,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:05:00] local.INFO: Processing buffer {"connection_id":157888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:05:00] local.INFO: IMEI packet received {"connection_id":157888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":157888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:05:03] local.INFO: TCP Data received {"connection_id":157888,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:05:03] local.INFO: Processing buffer {"connection_id":157888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:05:03] local.INFO: IMEI packet received {"connection_id":157888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":157888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:05:04] local.INFO: TCP Data received {"connection_id":157888,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa83b60012d0186c006fe4ca00005007f32..."} 
[2026-08-19 21:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa83b60012d0186c006fe4ca00005007f32..."} 
[2026-08-19 21:05:04] local.INFO: Processing buffer {"connection_id":157888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa83b60012d0186c006fe4ca00005007f32..."} 
[2026-08-19 21:05:04] local.INFO: Packet analysis {"connection_id":157888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa8"} 
[2026-08-19 21:05:04] local.INFO: Extracted packet for processing {"connection_id":157888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa8"} 
[2026-08-19 21:05:04] local.INFO: GPS Element Parsed {"raw_longitude":755074752,"raw_latitude":117329056,"longitude_deg":75.5074752,"latitude_deg":11.7329056,"altitude":5,"angle":127,"satellites":50,"speed":44,"hex_longitude":"2d0186c0","hex_latitude":"06fe4ca0","is_valid_coordinates":true} 
[2026-08-19 21:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511328768001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386181108246511616,"note":"Value kept but may cause issues"} 
[2026-08-19 21:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109986377185927168,"note":"Value kept but may cause issues"} 
[2026-08-19 21:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787153628000,"timestamp_ms":1787153628000,"timestamp_seconds":1787153628,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa83b60"} 
[2026-08-19 21:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:05: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-08-19 21:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 21:05:04] 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-08-19 21:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511328768001,"66":27321,"110":206,"28":32256,"24":44,"16":386181108246511616,"45":109986377185927168},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-08-19 21:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511328768001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:05:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 21:05:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386181108246511616,"km_value":386181108246511.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":109986377185927168,"description":"Unknown IO ID 45"} 
[2026-08-19 21:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511328768001,"power":27321,"unknown_110":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_45":109986377185927168}} 
[2026-08-19 21:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":157888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:05:04] local.INFO: GPS data processed {"connection_id":157888,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:05:04] local.INFO: Acknowledgment sent {"connection_id":157888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:05:08] local.INFO: TCP Data received {"connection_id":160432,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:05:08] local.INFO: Processing buffer {"connection_id":160432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:05:08] local.INFO: IMEI packet received {"connection_id":160432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":160432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:05:09] local.INFO: TCP Data received {"connection_id":157888,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa85e88012d01a24006fe34d00006008732..."} 
[2026-08-19 21:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa85e88012d01a24006fe34d00006008732..."} 
[2026-08-19 21:05:09] local.INFO: Processing buffer {"connection_id":157888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa85e88012d01a24006fe34d00006008732..."} 
[2026-08-19 21:05:09] local.INFO: Packet analysis {"connection_id":157888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa8"} 
[2026-08-19 21:05:09] local.INFO: Extracted packet for processing {"connection_id":157888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa8"} 
[2026-08-19 21:05:09] local.INFO: GPS Element Parsed {"raw_longitude":755081792,"raw_latitude":117322960,"longitude_deg":75.5081792,"latitude_deg":11.732296,"altitude":6,"angle":135,"satellites":50,"speed":36,"hex_longitude":"2d01a240","hex_latitude":"06fe34d0","is_valid_coordinates":true} 
[2026-08-19 21:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511328768001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386181550628143104,"note":"Value kept but may cause issues"} 
[2026-08-19 21:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109986377185927168,"note":"Value kept but may cause issues"} 
[2026-08-19 21:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787153637000,"timestamp_ms":1787153637000,"timestamp_seconds":1787153637,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa85e88"} 
[2026-08-19 21:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 21:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511328768001,"66":27245,"110":206,"28":32256,"24":36,"16":386181550628143104,"45":109986377185927168},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-08-19 21:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511328768001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:05:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 21:05:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386181550628143104,"km_value":386181550628143.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":109986377185927168,"description":"Unknown IO ID 45"} 
[2026-08-19 21:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511328768001,"power":27245,"unknown_110":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_45":109986377185927168}} 
[2026-08-19 21:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":157888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:05:09] local.INFO: GPS data processed {"connection_id":157888,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:05:09] local.INFO: Acknowledgment sent {"connection_id":157888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:05:13] local.INFO: TCP Data received {"connection_id":160432,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:05:13] local.INFO: Processing buffer {"connection_id":160432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:05:13] local.INFO: IMEI packet received {"connection_id":160432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":160432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:05:13] local.INFO: TCP Data received {"connection_id":160432,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:05:13] local.INFO: Processing buffer {"connection_id":160432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:05:13] local.INFO: Packet analysis {"connection_id":160432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:05:13] local.INFO: Extracted packet for processing {"connection_id":160432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:05:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511216384001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787153490000,"timestamp_ms":1787153490000,"timestamp_seconds":1787153490,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa62050"} 
[2026-08-19 21:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:05:13] 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-08-19 21:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511216384001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511216384001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:05:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:05:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511216384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":160432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:05:14] local.INFO: GPS data processed {"connection_id":160432,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:05:14] local.INFO: Acknowledgment sent {"connection_id":160432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:05:40] local.INFO: TCP Data received {"connection_id":157888,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa89150012d01bc8006fe1ae80008008932..."} 
[2026-08-19 21:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa89150012d01bc8006fe1ae80008008932..."} 
[2026-08-19 21:05:40] local.INFO: Processing buffer {"connection_id":157888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa89150012d01bc8006fe1ae80008008932..."} 
[2026-08-19 21:05:40] local.INFO: Packet analysis {"connection_id":157888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa8"} 
[2026-08-19 21:05:40] local.INFO: Extracted packet for processing {"connection_id":157888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa8"} 
[2026-08-19 21:05:40] local.INFO: GPS Element Parsed {"raw_longitude":755088512,"raw_latitude":117316328,"longitude_deg":75.5088512,"latitude_deg":11.7316328,"altitude":8,"angle":137,"satellites":50,"speed":27,"hex_longitude":"2d01bc80","hex_latitude":"06fe1ae8","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511331072001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386182005894676480,"note":"Value kept but may cause issues"} 
[2026-08-19 21:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":117726939043909632,"note":"Value kept but may cause issues"} 
[2026-08-19 21:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787153650000,"timestamp_ms":1787153650000,"timestamp_seconds":1787153650,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa89150"} 
[2026-08-19 21:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 21:05:40] 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-08-19 21: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-08-19 21:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511331072001,"66":27365,"110":206,"28":32256,"24":27,"16":386182005894676480,"45":117726939043909632},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-08-19 21:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511331072001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:05:40] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 21:05:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386182005894676480,"km_value":386182005894676.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":117726939043909632,"description":"Unknown IO ID 45"} 
[2026-08-19 21:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511331072001,"power":27365,"unknown_110":206,"unknown_28":32256,"ignition":27,"odometer":null,"unknown_45":117726939043909632}} 
[2026-08-19 21:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":157888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:05:40] local.INFO: GPS data processed {"connection_id":157888,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:05:40] local.INFO: Acknowledgment sent {"connection_id":157888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:05:45] local.INFO: TCP Data received {"connection_id":160432,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:05:45] local.INFO: Processing buffer {"connection_id":160432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:05:45] local.INFO: Packet analysis {"connection_id":160432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:05:45] local.INFO: Extracted packet for processing {"connection_id":160432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:05:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511216384001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787153490000,"timestamp_ms":1787153490000,"timestamp_seconds":1787153490,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa62050"} 
[2026-08-19 21:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:05: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-08-19 21:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511216384001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511216384001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:05:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:05:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511216384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":160432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:05:45] local.INFO: GPS data processed {"connection_id":160432,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:05:45] local.INFO: Acknowledgment sent {"connection_id":160432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:05:58] local.INFO: TCP Data received {"connection_id":157889,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:05:58] local.INFO: Processing buffer {"connection_id":157889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:05:58] local.INFO: IMEI packet received {"connection_id":157889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":157889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:06:02] local.INFO: TCP Data received {"connection_id":157889,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:06:02] local.INFO: Processing buffer {"connection_id":157889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:06:02] local.INFO: IMEI packet received {"connection_id":157889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":157889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:06:03] local.INFO: TCP Data received {"connection_id":157889,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa8bc48012d01d70006fe01100009008533..."} 
[2026-08-19 21:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa8bc48012d01d70006fe01100009008533..."} 
[2026-08-19 21:06:03] local.INFO: Processing buffer {"connection_id":157889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa8bc48012d01d70006fe01100009008533..."} 
[2026-08-19 21:06:03] local.INFO: Packet analysis {"connection_id":157889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa8"} 
[2026-08-19 21:06:03] local.INFO: Extracted packet for processing {"connection_id":157889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa8"} 
[2026-08-19 21:06:03] local.INFO: GPS Element Parsed {"raw_longitude":755095296,"raw_latitude":117309712,"longitude_deg":75.5095296,"latitude_deg":11.7309712,"altitude":9,"angle":133,"satellites":51,"speed":36,"hex_longitude":"2d01d700","hex_latitude":"06fe0110","is_valid_coordinates":true} 
[2026-08-19 21:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511334400001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386182461161209856,"note":"Value kept but may cause issues"} 
[2026-08-19 21:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":125115657180866560,"note":"Value kept but may cause issues"} 
[2026-08-19 21:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787153661000,"timestamp_ms":1787153661000,"timestamp_seconds":1787153661,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa8bc48"} 
[2026-08-19 21:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 21:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":157889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":157889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":157889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511334400001,"66":27376,"110":206,"28":32256,"24":36,"16":386182461161209856,"45":125115657180866560},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-08-19 21:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511334400001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:06:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 21:06:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386182461161209856,"km_value":386182461161209.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":125115657180866560,"description":"Unknown IO ID 45"} 
[2026-08-19 21:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511334400001,"power":27376,"unknown_110":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_45":125115657180866560}} 
[2026-08-19 21:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":157889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:06:03] local.INFO: GPS data processed {"connection_id":157889,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:06:03] local.INFO: Acknowledgment sent {"connection_id":157889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:06:08] local.INFO: TCP Data received {"connection_id":159116,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:06:08] local.INFO: Processing buffer {"connection_id":159116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:06:08] local.INFO: IMEI packet received {"connection_id":159116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":159116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:06:13] local.INFO: TCP Data received {"connection_id":159116,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:06:13] local.INFO: Processing buffer {"connection_id":159116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:06:13] local.INFO: IMEI packet received {"connection_id":159116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":159116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:06:14] local.INFO: TCP Data received {"connection_id":159116,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:06:14] local.INFO: Processing buffer {"connection_id":159116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:06:14] local.INFO: Packet analysis {"connection_id":159116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:06:14] local.INFO: Extracted packet for processing {"connection_id":159116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:06:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511216384001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787153490000,"timestamp_ms":1787153490000,"timestamp_seconds":1787153490,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa62050"} 
[2026-08-19 21:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:06: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-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511216384001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511216384001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:06:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:06:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511216384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":159116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:06:14] local.INFO: GPS data processed {"connection_id":159116,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:06:14] local.INFO: Acknowledgment sent {"connection_id":159116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:06:37] local.INFO: TCP Data received {"connection_id":157889,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa8e358012d01f08006fde8580009008635..."} 
[2026-08-19 21:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa8e358012d01f08006fde8580009008635..."} 
[2026-08-19 21:06:37] local.INFO: Processing buffer {"connection_id":157889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa8e358012d01f08006fde8580009008635..."} 
[2026-08-19 21:06:37] local.INFO: Packet analysis {"connection_id":157889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa8"} 
[2026-08-19 21:06:37] local.INFO: Extracted packet for processing {"connection_id":157889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa8"} 
[2026-08-19 21:06:37] local.INFO: GPS Element Parsed {"raw_longitude":755101824,"raw_latitude":117303384,"longitude_deg":75.5101824,"latitude_deg":11.7303384,"altitude":9,"angle":134,"satellites":53,"speed":36,"hex_longitude":"2d01f080","hex_latitude":"06fde858","is_valid_coordinates":true} 
[2026-08-19 21:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511337216001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386182899247874048,"note":"Value kept but may cause issues"} 
[2026-08-19 21:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":132574744062005248,"note":"Value kept but may cause issues"} 
[2026-08-19 21:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787153671000,"timestamp_ms":1787153671000,"timestamp_seconds":1787153671,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa8e358"} 
[2026-08-19 21:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 21:06:37] 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-08-19 21:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511337216001,"66":27376,"110":206,"28":32256,"24":36,"16":386182899247874048,"45":132574744062005248},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-08-19 21:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511337216001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:06:37] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 21:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386182899247874048,"km_value":386182899247874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":132574744062005248,"description":"Unknown IO ID 45"} 
[2026-08-19 21:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511337216001,"power":27376,"unknown_110":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_45":132574744062005248}} 
[2026-08-19 21:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":157889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:06:37] local.INFO: GPS data processed {"connection_id":157889,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:06:37] local.INFO: Acknowledgment sent {"connection_id":157889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:06:45] local.INFO: TCP Data received {"connection_id":159116,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:06:45] local.INFO: Processing buffer {"connection_id":159116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aa62050012d196500071ff128004101462b..."} 
[2026-08-19 21:06:45] local.INFO: Packet analysis {"connection_id":159116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:06:45] local.INFO: Extracted packet for processing {"connection_id":159116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aa6"} 
[2026-08-19 21:06:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511216384001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787153490000,"timestamp_ms":1787153490000,"timestamp_seconds":1787153490,"priority":1,"record_length":96,"hex_timestamp":"000001a01aa62050"} 
[2026-08-19 21:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:06: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-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511216384001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511216384001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:06:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:06:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511216384001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":159116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:06:45] local.INFO: GPS data processed {"connection_id":159116,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:06:45] local.INFO: Acknowledgment sent {"connection_id":159116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:06:58] local.INFO: TCP Data received {"connection_id":158250,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:06:58] local.INFO: Processing buffer {"connection_id":158250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:06:58] local.INFO: IMEI packet received {"connection_id":158250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":158250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:06:59] local.INFO: TCP Data received {"connection_id":158250,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:06:59] local.INFO: Processing buffer {"connection_id":158250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:06:59] local.INFO: IMEI packet received {"connection_id":158250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":158250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:07:03] local.INFO: TCP Data received {"connection_id":158250,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:07:03] local.INFO: Processing buffer {"connection_id":158250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:07:03] local.INFO: IMEI packet received {"connection_id":158250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":158250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:07:05] local.INFO: TCP Data received {"connection_id":158250,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaa6228012d0298c006fcb9d00007008934..."} 
[2026-08-19 21:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaa6228012d0298c006fcb9d00007008934..."} 
[2026-08-19 21:07:05] local.INFO: Processing buffer {"connection_id":158250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaa6228012d0298c006fcb9d00007008934..."} 
[2026-08-19 21:07:05] local.INFO: Packet analysis {"connection_id":158250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:07:05] local.INFO: Extracted packet for processing {"connection_id":158250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:07:05] local.INFO: GPS Element Parsed {"raw_longitude":755144896,"raw_latitude":117225936,"longitude_deg":75.5144896,"latitude_deg":11.7225936,"altitude":7,"angle":137,"satellites":52,"speed":35,"hex_longitude":"2d0298c0","hex_latitude":"06fcb9d0","is_valid_coordinates":true} 
[2026-08-19 21:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511364352001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386187211395039232,"note":"Value kept but may cause issues"} 
[2026-08-19 21:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":185914252127604736,"note":"Value kept but may cause issues"} 
[2026-08-19 21:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787153769000,"timestamp_ms":1787153769000,"timestamp_seconds":1787153769,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaa6228"} 
[2026-08-19 21:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:07: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-08-19 21:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 21:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511364352001,"66":27300,"109":206,"28":32256,"24":35,"16":386187211395039232,"45":185914252127604736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-19 21:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511364352001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:07:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 21:07:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386187211395039232,"km_value":386187211395039.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":185914252127604736,"description":"Unknown IO ID 45"} 
[2026-08-19 21:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511364352001,"power":27300,"unknown_109":206,"unknown_28":32256,"ignition":35,"odometer":null,"unknown_45":185914252127604736}} 
[2026-08-19 21:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":158250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:07:05] local.INFO: GPS data processed {"connection_id":158250,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:07:05] local.INFO: Acknowledgment sent {"connection_id":158250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:07:07] local.INFO: TCP Data received {"connection_id":158251,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:07:07] local.INFO: Processing buffer {"connection_id":158251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:07:07] local.INFO: IMEI packet received {"connection_id":158251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":158251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:07:08] local.INFO: TCP Data received {"connection_id":158251,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:07:08] local.INFO: Processing buffer {"connection_id":158251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:07:08] local.INFO: IMEI packet received {"connection_id":158251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":158251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:07:13] local.INFO: TCP Data received {"connection_id":158251,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:07:13] local.INFO: Processing buffer {"connection_id":158251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:07:13] local.INFO: IMEI packet received {"connection_id":158251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":158251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:07:13] local.INFO: TCP Data received {"connection_id":158251,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:07:13] local.INFO: Processing buffer {"connection_id":158251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:07:13] local.INFO: Packet analysis {"connection_id":158251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:07:13] local.INFO: Extracted packet for processing {"connection_id":158251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:07:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511293440001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787153791000,"timestamp_ms":1787153791000,"timestamp_seconds":1787153791,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaab818"} 
[2026-08-19 21:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:07:13] 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-08-19 21:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511293440001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511293440001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:07:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:07:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511293440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":158251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:07:14] local.INFO: GPS data processed {"connection_id":158251,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:07:14] local.INFO: Acknowledgment sent {"connection_id":158251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:07:36] local.INFO: TCP Data received {"connection_id":158250,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaa69f8012d029e0006fcb5300007007e34..."} 
[2026-08-19 21:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaa69f8012d029e0006fcb5300007007e34..."} 
[2026-08-19 21:07:36] local.INFO: Processing buffer {"connection_id":158250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaa69f8012d029e0006fcb5300007007e34..."} 
[2026-08-19 21:07:36] local.INFO: Packet analysis {"connection_id":158250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:07:36] local.INFO: Extracted packet for processing {"connection_id":158250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:07:36] local.INFO: GPS Element Parsed {"raw_longitude":755146240,"raw_latitude":117224752,"longitude_deg":75.514624,"latitude_deg":11.7224752,"altitude":7,"angle":126,"satellites":52,"speed":35,"hex_longitude":"2d029e00","hex_latitude":"06fcb530","is_valid_coordinates":true} 
[2026-08-19 21:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511364864001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386187297294385152,"note":"Value kept but may cause issues"} 
[2026-08-19 21:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":187110520778248192,"note":"Value kept but may cause issues"} 
[2026-08-19 21:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787153771000,"timestamp_ms":1787153771000,"timestamp_seconds":1787153771,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaa69f8"} 
[2026-08-19 21:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:07: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-08-19 21:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 21:07:36] 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-08-19 21:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511364864001,"66":27343,"109":206,"28":32256,"24":35,"16":386187297294385152,"45":187110520778248192},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-19 21:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511364864001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:07:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 21:07:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386187297294385152,"km_value":386187297294385.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":187110520778248192,"description":"Unknown IO ID 45"} 
[2026-08-19 21:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511364864001,"power":27343,"unknown_109":206,"unknown_28":32256,"ignition":35,"odometer":null,"unknown_45":187110520778248192}} 
[2026-08-19 21:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":158250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:07:36] local.INFO: GPS data processed {"connection_id":158250,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:07:36] local.INFO: Acknowledgment sent {"connection_id":158250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:07:45] local.INFO: TCP Data received {"connection_id":158251,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:07:45] local.INFO: Processing buffer {"connection_id":158251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:07:45] local.INFO: Packet analysis {"connection_id":158251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:07:45] local.INFO: Extracted packet for processing {"connection_id":158251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:07:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511293440001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787153791000,"timestamp_ms":1787153791000,"timestamp_seconds":1787153791,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaab818"} 
[2026-08-19 21:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:07: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-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511293440001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511293440001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:07:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:07:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511293440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":158251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:07:45] local.INFO: GPS data processed {"connection_id":158251,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:07:45] local.INFO: Acknowledgment sent {"connection_id":158251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:07:58] local.INFO: TCP Data received {"connection_id":157890,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:07:58] local.INFO: Processing buffer {"connection_id":157890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:07:58] local.INFO: IMEI packet received {"connection_id":157890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":157890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:07:58] local.INFO: TCP Data received {"connection_id":157890,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:07:58] local.INFO: Processing buffer {"connection_id":157890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:07:58] local.INFO: IMEI packet received {"connection_id":157890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":157890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:08:00] local.INFO: TCP Data received {"connection_id":157890,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:08:00] local.INFO: Processing buffer {"connection_id":157890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:08:00] local.INFO: IMEI packet received {"connection_id":157890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":157890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:08:03] local.INFO: TCP Data received {"connection_id":157890,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:08:03] local.INFO: Processing buffer {"connection_id":157890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:08:03] local.INFO: IMEI packet received {"connection_id":157890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":157890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:08:04] local.INFO: TCP Data received {"connection_id":157890,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaa9108012d02be4006fca0380005007b34..."} 
[2026-08-19 21:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaa9108012d02be4006fca0380005007b34..."} 
[2026-08-19 21:08:04] local.INFO: Processing buffer {"connection_id":157890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaa9108012d02be4006fca0380005007b34..."} 
[2026-08-19 21:08:04] local.INFO: Packet analysis {"connection_id":157890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:08:04] local.INFO: Extracted packet for processing {"connection_id":157890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:08:04] local.INFO: GPS Element Parsed {"raw_longitude":755154496,"raw_latitude":117219384,"longitude_deg":75.5154496,"latitude_deg":11.7219384,"altitude":5,"angle":123,"satellites":52,"speed":40,"hex_longitude":"2d02be40","hex_latitude":"06fca038","is_valid_coordinates":true} 
[2026-08-19 21:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511365376001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386187769740787712,"note":"Value kept but may cause issues"} 
[2026-08-19 21:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":188588264405676032,"note":"Value kept but may cause issues"} 
[2026-08-19 21:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787153781000,"timestamp_ms":1787153781000,"timestamp_seconds":1787153781,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaa9108"} 
[2026-08-19 21:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:08: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-08-19 21:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 21:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511365376001,"66":27365,"109":206,"28":32256,"24":40,"16":386187769740787712,"45":188588264405676032},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-19 21:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511365376001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:08:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 21:08:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386187769740787712,"km_value":386187769740787.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":188588264405676032,"description":"Unknown IO ID 45"} 
[2026-08-19 21:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511365376001,"power":27365,"unknown_109":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_45":188588264405676032}} 
[2026-08-19 21:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":157890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:08:04] local.INFO: GPS data processed {"connection_id":157890,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:08:04] local.INFO: Acknowledgment sent {"connection_id":157890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:08:08] local.INFO: TCP Data received {"connection_id":157891,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:08:08] local.INFO: Processing buffer {"connection_id":157891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:08:08] local.INFO: IMEI packet received {"connection_id":157891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":157891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:08:13] local.INFO: TCP Data received {"connection_id":157891,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:08:13] local.INFO: Processing buffer {"connection_id":157891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:08:13] local.INFO: IMEI packet received {"connection_id":157891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":157891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:08:13] local.INFO: TCP Data received {"connection_id":157891,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:08:13] local.INFO: Processing buffer {"connection_id":157891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:08:13] local.INFO: Packet analysis {"connection_id":157891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:08:13] local.INFO: Extracted packet for processing {"connection_id":157891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:08:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511293440001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787153791000,"timestamp_ms":1787153791000,"timestamp_seconds":1787153791,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaab818"} 
[2026-08-19 21:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:08:13] 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-08-19 21:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511293440001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511293440001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:08:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:08:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511293440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":157891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:08:14] local.INFO: GPS data processed {"connection_id":157891,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:08:14] local.INFO: Acknowledgment sent {"connection_id":157891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:08:35] local.INFO: TCP Data received {"connection_id":157890,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aabb600012d037e4006fbd7b80008009032..."} 
[2026-08-19 21:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aabb600012d037e4006fbd7b80008009032..."} 
[2026-08-19 21:08:35] local.INFO: Processing buffer {"connection_id":157890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aabb600012d037e4006fbd7b80008009032..."} 
[2026-08-19 21:08:35] local.INFO: Packet analysis {"connection_id":157890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aab"} 
[2026-08-19 21:08:35] local.INFO: Extracted packet for processing {"connection_id":157890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aab"} 
[2026-08-19 21:08:35] local.INFO: GPS Element Parsed {"raw_longitude":755203648,"raw_latitude":117168056,"longitude_deg":75.5203648,"latitude_deg":11.7168056,"altitude":8,"angle":144,"satellites":50,"speed":40,"hex_longitude":"2d037e40","hex_latitude":"06fbd7b8","is_valid_coordinates":true} 
[2026-08-19 21:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511386624001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386191454822727680,"note":"Value kept but may cause issues"} 
[2026-08-19 21:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":250512759267987456,"note":"Value kept but may cause issues"} 
[2026-08-19 21:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787153856000,"timestamp_ms":1787153856000,"timestamp_seconds":1787153856,"priority":1,"record_length":96,"hex_timestamp":"000001a01aabb600"} 
[2026-08-19 21:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 21:08:35] 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-08-19 21:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":157890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":157890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":157890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511386624001,"66":26854,"109":206,"28":32256,"24":40,"16":386191454822727680,"45":250512759267987456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-19 21:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511386624001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:08:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 21:08:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386191454822727680,"km_value":386191454822727.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":250512759267987456,"description":"Unknown IO ID 45"} 
[2026-08-19 21:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511386624001,"power":26854,"unknown_109":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_45":250512759267987456}} 
[2026-08-19 21:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":157890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:08:35] local.INFO: GPS data processed {"connection_id":157890,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:08:35] local.INFO: Acknowledgment sent {"connection_id":157890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:08:45] local.INFO: TCP Data received {"connection_id":157891,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:08:45] local.INFO: Processing buffer {"connection_id":157891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:08:45] local.INFO: Packet analysis {"connection_id":157891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:08:45] local.INFO: Extracted packet for processing {"connection_id":157891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:08:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511293440001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787153791000,"timestamp_ms":1787153791000,"timestamp_seconds":1787153791,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaab818"} 
[2026-08-19 21:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:08: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-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511293440001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511293440001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:08:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:08:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511293440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":157891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:08:45] local.INFO: GPS data processed {"connection_id":157891,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:08:45] local.INFO: Acknowledgment sent {"connection_id":157891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:09:03] local.INFO: TCP Data received {"connection_id":157892,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:09:03] local.INFO: Processing buffer {"connection_id":157892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:09:03] local.INFO: IMEI packet received {"connection_id":157892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":157892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:09:06] local.INFO: TCP Data received {"connection_id":157892,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:09:06] local.INFO: Processing buffer {"connection_id":157892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:09:06] local.INFO: IMEI packet received {"connection_id":157892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":157892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:09:07] local.INFO: TCP Data received {"connection_id":157892,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aabc1b8012d03850006fbcfb8000a008331..."} 
[2026-08-19 21:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aabc1b8012d03850006fbcfb8000a008331..."} 
[2026-08-19 21:09:07] local.INFO: Processing buffer {"connection_id":157892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aabc1b8012d03850006fbcfb8000a008331..."} 
[2026-08-19 21:09:07] local.INFO: Packet analysis {"connection_id":157892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aab"} 
[2026-08-19 21:09:07] local.INFO: Extracted packet for processing {"connection_id":157892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aab"} 
[2026-08-19 21:09:07] local.INFO: GPS Element Parsed {"raw_longitude":755205376,"raw_latitude":117166008,"longitude_deg":75.5205376,"latitude_deg":11.7166008,"altitude":10,"angle":131,"satellites":49,"speed":32,"hex_longitude":"2d038500","hex_latitude":"06fbcfb8","is_valid_coordinates":true} 
[2026-08-19 21:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511387136001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386191583671746560,"note":"Value kept but may cause issues"} 
[2026-08-19 21:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":251709027918526464,"note":"Value kept but may cause issues"} 
[2026-08-19 21:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787153859000,"timestamp_ms":1787153859000,"timestamp_seconds":1787153859,"priority":1,"record_length":96,"hex_timestamp":"000001a01aabc1b8"} 
[2026-08-19 21:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-19 21:09:07] 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-08-19 21:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511387136001,"66":27343,"109":206,"28":32256,"24":32,"16":386191583671746560,"45":251709027918526464},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-19 21:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511387136001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:09:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 21:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386191583671746560,"km_value":386191583671746.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":251709027918526464,"description":"Unknown IO ID 45"} 
[2026-08-19 21:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511387136001,"power":27343,"unknown_109":206,"unknown_28":32256,"ignition":32,"odometer":null,"unknown_45":251709027918526464}} 
[2026-08-19 21:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":157892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:09:07] local.INFO: GPS data processed {"connection_id":157892,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:09:07] local.INFO: Acknowledgment sent {"connection_id":157892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:09:08] local.INFO: TCP Data received {"connection_id":157893,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:09:08] local.INFO: Processing buffer {"connection_id":157893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:09:08] local.INFO: IMEI packet received {"connection_id":157893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":157893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:09:09] local.INFO: TCP Data received {"connection_id":157892,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aac0420012d03a1c006fbb9e80012008231..."} 
[2026-08-19 21:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aac0420012d03a1c006fbb9e80012008231..."} 
[2026-08-19 21:09:09] local.INFO: Processing buffer {"connection_id":157892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aac0420012d03a1c006fbb9e80012008231..."} 
[2026-08-19 21:09:09] local.INFO: Packet analysis {"connection_id":157892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aac"} 
[2026-08-19 21:09:09] local.INFO: Extracted packet for processing {"connection_id":157892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aac"} 
[2026-08-19 21:09:09] local.INFO: GPS Element Parsed {"raw_longitude":755212736,"raw_latitude":117160424,"longitude_deg":75.5212736,"latitude_deg":11.7160424,"altitude":18,"angle":130,"satellites":49,"speed":17,"hex_longitude":"2d03a1c0","hex_latitude":"06fbb9e8","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511387904001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386192026053378048,"note":"Value kept but may cause issues"} 
[2026-08-19 21:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":253608984010799104,"note":"Value kept but may cause issues"} 
[2026-08-19 21:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787153876000,"timestamp_ms":1787153876000,"timestamp_seconds":1787153876,"priority":1,"record_length":96,"hex_timestamp":"000001a01aac0420"} 
[2026-08-19 21:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 21:09:09] 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-08-19 21: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-08-19 21:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511387904001,"66":27332,"109":206,"28":32256,"24":17,"16":386192026053378048,"45":253608984010799104},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-19 21:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511387904001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:09:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 21:09:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386192026053378048,"km_value":386192026053378.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":253608984010799104,"description":"Unknown IO ID 45"} 
[2026-08-19 21:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511387904001,"power":27332,"unknown_109":206,"unknown_28":32256,"ignition":17,"odometer":null,"unknown_45":253608984010799104}} 
[2026-08-19 21:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":157892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:09:09] local.INFO: GPS data processed {"connection_id":157892,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:09:09] local.INFO: Acknowledgment sent {"connection_id":157892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:09:13] local.INFO: TCP Data received {"connection_id":157893,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:09:13] local.INFO: Processing buffer {"connection_id":157893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:09:13] local.INFO: IMEI packet received {"connection_id":157893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":157893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:09:13] local.INFO: TCP Data received {"connection_id":157893,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:09:13] local.INFO: Processing buffer {"connection_id":157893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:09:13] local.INFO: Packet analysis {"connection_id":157893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:09:13] local.INFO: Extracted packet for processing {"connection_id":157893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:09:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511293440001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787153791000,"timestamp_ms":1787153791000,"timestamp_seconds":1787153791,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaab818"} 
[2026-08-19 21:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:09:13] 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-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511293440001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511293440001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:09:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:09:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511293440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":157893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:09:14] local.INFO: GPS data processed {"connection_id":157893,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:09:14] local.INFO: Acknowledgment sent {"connection_id":157893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:09:42] local.INFO: TCP Data received {"connection_id":157892,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aac4688012d03bdc006fba3900016007531..."} 
[2026-08-19 21:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aac4688012d03bdc006fba3900016007531..."} 
[2026-08-19 21:09:42] local.INFO: Processing buffer {"connection_id":157892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aac4688012d03bdc006fba3900016007531..."} 
[2026-08-19 21:09:42] local.INFO: Packet analysis {"connection_id":157892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aac"} 
[2026-08-19 21:09:42] local.INFO: Extracted packet for processing {"connection_id":157892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aac"} 
[2026-08-19 21:09:42] local.INFO: GPS Element Parsed {"raw_longitude":755219904,"raw_latitude":117154704,"longitude_deg":75.5219904,"latitude_deg":11.7154704,"altitude":22,"angle":117,"satellites":49,"speed":23,"hex_longitude":"2d03bdc0","hex_latitude":"06fba390","is_valid_coordinates":true} 
[2026-08-19 21:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511392256001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386192464140042240,"note":"Value kept but may cause issues"} 
[2026-08-19 21:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":261701389589800960,"note":"Value kept but may cause issues"} 
[2026-08-19 21:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787153893000,"timestamp_ms":1787153893000,"timestamp_seconds":1787153893,"priority":1,"record_length":96,"hex_timestamp":"000001a01aac4688"} 
[2026-08-19 21:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 21:09:42] 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-08-19 21:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511392256001,"66":27267,"109":206,"28":32256,"24":23,"16":386192464140042240,"45":261701389589800960},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-19 21:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511392256001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:09:42] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 21:09:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386192464140042240,"km_value":386192464140042.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":261701389589800960,"description":"Unknown IO ID 45"} 
[2026-08-19 21:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511392256001,"power":27267,"unknown_109":206,"unknown_28":32256,"ignition":23,"odometer":null,"unknown_45":261701389589800960}} 
[2026-08-19 21:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":157892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:09:42] local.INFO: GPS data processed {"connection_id":157892,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:09:42] local.INFO: Acknowledgment sent {"connection_id":157892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:09:45] local.INFO: TCP Data received {"connection_id":157893,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:09:45] local.INFO: Processing buffer {"connection_id":157893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:09:45] local.INFO: Packet analysis {"connection_id":157893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:09:45] local.INFO: Extracted packet for processing {"connection_id":157893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:09:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511293440001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787153791000,"timestamp_ms":1787153791000,"timestamp_seconds":1787153791,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaab818"} 
[2026-08-19 21:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:09: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-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511293440001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511293440001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:09:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:09:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511293440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":157893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:09:45] local.INFO: GPS data processed {"connection_id":157893,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:09:45] local.INFO: Acknowledgment sent {"connection_id":157893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:09:58] local.INFO: TCP Data received {"connection_id":157894,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:09:58] local.INFO: Processing buffer {"connection_id":157894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:09:58] local.INFO: IMEI packet received {"connection_id":157894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":157894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:10:05] local.INFO: TCP Data received {"connection_id":157894,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:10:05] local.INFO: Processing buffer {"connection_id":157894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:10:05] local.INFO: IMEI packet received {"connection_id":157894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":157894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:10:06] local.INFO: TCP Data received {"connection_id":157894,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aac4688012d03bdc006fba3900016007531..."} 
[2026-08-19 21:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aac4688012d03bdc006fba3900016007531..."} 
[2026-08-19 21:10:06] local.INFO: Processing buffer {"connection_id":157894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aac4688012d03bdc006fba3900016007531..."} 
[2026-08-19 21:10:06] local.INFO: Packet analysis {"connection_id":157894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aac"} 
[2026-08-19 21:10:06] local.INFO: Extracted packet for processing {"connection_id":157894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aac"} 
[2026-08-19 21:10:06] local.INFO: GPS Element Parsed {"raw_longitude":755219904,"raw_latitude":117154704,"longitude_deg":75.5219904,"latitude_deg":11.7154704,"altitude":22,"angle":117,"satellites":49,"speed":23,"hex_longitude":"2d03bdc0","hex_latitude":"06fba390","is_valid_coordinates":true} 
[2026-08-19 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-08-19 21:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511396608001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386192464140042240,"note":"Value kept but may cause issues"} 
[2026-08-19 21:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":269582688936235008,"note":"Value kept but may cause issues"} 
[2026-08-19 21:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787153893000,"timestamp_ms":1787153893000,"timestamp_seconds":1787153893,"priority":1,"record_length":96,"hex_timestamp":"000001a01aac4688"} 
[2026-08-19 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-08-19 21:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 21:10:06] 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-08-19 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-08-19 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-08-19 21:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511396608001,"66":27267,"109":206,"28":32256,"24":23,"16":386192464140042240,"45":269582688936235008},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-08-19 21:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511396608001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:10:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-19 21:10:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386192464140042240,"km_value":386192464140042.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":269582688936235008,"description":"Unknown IO ID 45"} 
[2026-08-19 21:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511396608001,"power":27267,"unknown_109":206,"unknown_28":32256,"ignition":23,"odometer":null,"unknown_45":269582688936235008}} 
[2026-08-19 21:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":157894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:10:06] local.INFO: GPS data processed {"connection_id":157894,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:10:06] local.INFO: Acknowledgment sent {"connection_id":157894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:10:08] local.INFO: TCP Data received {"connection_id":160433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:10:08] local.INFO: Processing buffer {"connection_id":160433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:10:08] local.INFO: IMEI packet received {"connection_id":160433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":160433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:10:13] local.INFO: TCP Data received {"connection_id":160433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:10:13] local.INFO: Processing buffer {"connection_id":160433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:10:13] local.INFO: IMEI packet received {"connection_id":160433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":160433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:10:13] local.INFO: TCP Data received {"connection_id":160433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:10:13] local.INFO: Processing buffer {"connection_id":160433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:10:13] local.INFO: Packet analysis {"connection_id":160433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:10:13] local.INFO: Extracted packet for processing {"connection_id":160433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:10:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511293440001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787153791000,"timestamp_ms":1787153791000,"timestamp_seconds":1787153791,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaab818"} 
[2026-08-19 21:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:10:13] 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-08-19 21:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511293440001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511293440001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:10:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:10:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511293440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":160433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:10:14] local.INFO: GPS data processed {"connection_id":160433,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:10:14] local.INFO: Acknowledgment sent {"connection_id":160433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:10:38] local.INFO: TCP Data received {"connection_id":157894,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aada618012d04878006fb1f880013009a2f..."} 
[2026-08-19 21:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aada618012d04878006fb1f880013009a2f..."} 
[2026-08-19 21:10:38] local.INFO: Processing buffer {"connection_id":157894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aada618012d04878006fb1f880013009a2f..."} 
[2026-08-19 21:10:38] local.INFO: Packet analysis {"connection_id":157894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aad"} 
[2026-08-19 21:10:38] local.INFO: Extracted packet for processing {"connection_id":157894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aad"} 
[2026-08-19 21:10:38] local.INFO: GPS Element Parsed {"raw_longitude":755271552,"raw_latitude":117120904,"longitude_deg":75.5271552,"latitude_deg":11.7120904,"altitude":19,"angle":154,"satellites":47,"speed":37,"hex_longitude":"2d048780","hex_latitude":"06fb1f88","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511418368001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386195522156756992,"note":"Value kept but may cause issues"} 
[2026-08-19 21:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":324048096922095616,"note":"Value kept but may cause issues"} 
[2026-08-19 21:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787153983000,"timestamp_ms":1787153983000,"timestamp_seconds":1787153983,"priority":1,"record_length":96,"hex_timestamp":"000001a01aada618"} 
[2026-08-19 21:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 21:10:38] 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-08-19 21: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-08-19 21:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511418368001,"66":27310,"189":206,"28":32256,"24":37,"16":386195522156756992,"45":324048096922095616},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,28,24,16,45]} 
[2026-08-19 21:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511418368001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:10:38] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-19 21:10:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386195522156756992,"km_value":386195522156757.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":324048096922095616,"description":"Unknown IO ID 45"} 
[2026-08-19 21:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511418368001,"power":27310,"unknown_189":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_45":324048096922095616}} 
[2026-08-19 21:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":157894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:10:38] local.INFO: GPS data processed {"connection_id":157894,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:10:38] local.INFO: Acknowledgment sent {"connection_id":157894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:10:45] local.INFO: TCP Data received {"connection_id":160433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:10:45] local.INFO: Processing buffer {"connection_id":160433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:10:45] local.INFO: Packet analysis {"connection_id":160433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:10:45] local.INFO: Extracted packet for processing {"connection_id":160433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:10:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511293440001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787153791000,"timestamp_ms":1787153791000,"timestamp_seconds":1787153791,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaab818"} 
[2026-08-19 21:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:10: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-08-19 21:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511293440001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511293440001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:10:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:10:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511293440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":160433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:10:45] local.INFO: GPS data processed {"connection_id":160433,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:10:45] local.INFO: Acknowledgment sent {"connection_id":160433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:10:56] local.INFO: TCP Data received {"connection_id":158252,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:10:56] local.INFO: Processing buffer {"connection_id":158252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:10:56] local.INFO: IMEI packet received {"connection_id":158252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":158252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:10:57] local.INFO: TCP Data received {"connection_id":158252,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:10:57] local.INFO: Processing buffer {"connection_id":158252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:10:57] local.INFO: IMEI packet received {"connection_id":158252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":158252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:10:58] local.INFO: TCP Data received {"connection_id":158252,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:10:58] local.INFO: Processing buffer {"connection_id":158252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:10:58] local.INFO: IMEI packet received {"connection_id":158252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":158252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:10:59] local.INFO: TCP Data received {"connection_id":158252,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:10:59] local.INFO: Processing buffer {"connection_id":158252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:10:59] local.INFO: IMEI packet received {"connection_id":158252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":158252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:11:07] local.INFO: TCP Data received {"connection_id":159117,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:11:07] local.INFO: Processing buffer {"connection_id":159117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:11:07] local.INFO: IMEI packet received {"connection_id":159117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":159117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:11:13] local.INFO: TCP Data received {"connection_id":159117,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:11:13] local.INFO: Processing buffer {"connection_id":159117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:11:13] local.INFO: IMEI packet received {"connection_id":159117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":159117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:11:14] local.INFO: TCP Data received {"connection_id":159117,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:11:14] local.INFO: Processing buffer {"connection_id":159117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:11:14] local.INFO: Packet analysis {"connection_id":159117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:11:14] local.INFO: Extracted packet for processing {"connection_id":159117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:11:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511293440001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787153791000,"timestamp_ms":1787153791000,"timestamp_seconds":1787153791,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaab818"} 
[2026-08-19 21:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:11: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-08-19 21:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511293440001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511293440001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:11:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:11:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511293440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":159117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:11:14] local.INFO: GPS data processed {"connection_id":159117,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:11:14] local.INFO: Acknowledgment sent {"connection_id":159117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:11:45] local.INFO: TCP Data received {"connection_id":159117,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:11:45] local.INFO: Processing buffer {"connection_id":159117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaab818012d196500071ff128004101462c..."} 
[2026-08-19 21:11:45] local.INFO: Packet analysis {"connection_id":159117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:11:45] local.INFO: Extracted packet for processing {"connection_id":159117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaa"} 
[2026-08-19 21:11:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511293440001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787153791000,"timestamp_ms":1787153791000,"timestamp_seconds":1787153791,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaab818"} 
[2026-08-19 21:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:11: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-08-19 21:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511293440001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511293440001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:11:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:11:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511293440001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":159117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:11:45] local.INFO: GPS data processed {"connection_id":159117,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:11:45] local.INFO: Acknowledgment sent {"connection_id":159117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:12:07] local.INFO: TCP Data received {"connection_id":160434,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:12:07] local.INFO: Processing buffer {"connection_id":160434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:12:07] local.INFO: IMEI packet received {"connection_id":160434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":160434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:12:10] local.INFO: TCP Data received {"connection_id":160434,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:12:10] local.INFO: Processing buffer {"connection_id":160434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:12:10] local.INFO: IMEI packet received {"connection_id":160434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":160434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:12:13] local.INFO: TCP Data received {"connection_id":160434,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:12:13] local.INFO: Processing buffer {"connection_id":160434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:12:13] local.INFO: IMEI packet received {"connection_id":160434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":160434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:12:14] local.INFO: TCP Data received {"connection_id":160434,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:12:14] local.INFO: Processing buffer {"connection_id":160434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:12:14] local.INFO: Packet analysis {"connection_id":160434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:12:14] local.INFO: Extracted packet for processing {"connection_id":160434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:12:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:12: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-08-19 21:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511370496001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787154092000,"timestamp_ms":1787154092000,"timestamp_seconds":1787154092,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaf4fe0"} 
[2026-08-19 21:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:12:14] 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-08-19 21:12: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":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:12:14] 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-08-19 21:12: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-08-19 21:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511370496001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511370496001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:12:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:12:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511370496001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":160434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:12:14] local.INFO: GPS data processed {"connection_id":160434,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:12:14] local.INFO: Acknowledgment sent {"connection_id":160434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:12:45] local.INFO: TCP Data received {"connection_id":160434,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:12:45] local.INFO: Processing buffer {"connection_id":160434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:12:45] local.INFO: Packet analysis {"connection_id":160434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:12:45] local.INFO: Extracted packet for processing {"connection_id":160434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:12:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:12: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-08-19 21:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511370496001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787154092000,"timestamp_ms":1787154092000,"timestamp_seconds":1787154092,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaf4fe0"} 
[2026-08-19 21:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:12:45] 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-08-19 21:12: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":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:12:45] 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-08-19 21:12: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-08-19 21:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511370496001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511370496001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:12:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:12:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511370496001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":160434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:12:45] local.INFO: GPS data processed {"connection_id":160434,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:12:45] local.INFO: Acknowledgment sent {"connection_id":160434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:13:08] local.INFO: TCP Data received {"connection_id":157896,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:13:08] local.INFO: Processing buffer {"connection_id":157896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:13:08] local.INFO: IMEI packet received {"connection_id":157896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":157896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:13:13] local.INFO: TCP Data received {"connection_id":157896,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:13:13] local.INFO: Processing buffer {"connection_id":157896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:13:13] local.INFO: IMEI packet received {"connection_id":157896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":157896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:13:13] local.INFO: TCP Data received {"connection_id":157896,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:13:13] local.INFO: Processing buffer {"connection_id":157896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:13:13] local.INFO: Packet analysis {"connection_id":157896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:13:13] local.INFO: Extracted packet for processing {"connection_id":157896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:13:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511370496001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787154092000,"timestamp_ms":1787154092000,"timestamp_seconds":1787154092,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaf4fe0"} 
[2026-08-19 21:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:13:13] 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-08-19 21:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:13:13] 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-08-19 21:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511370496001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511370496001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:13:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:13:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511370496001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":157896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:13:14] local.INFO: GPS data processed {"connection_id":157896,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:13:14] local.INFO: Acknowledgment sent {"connection_id":157896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:13:45] local.INFO: TCP Data received {"connection_id":157896,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:13:45] local.INFO: Processing buffer {"connection_id":157896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:13:45] local.INFO: Packet analysis {"connection_id":157896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:13:45] local.INFO: Extracted packet for processing {"connection_id":157896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:13:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511370496001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787154092000,"timestamp_ms":1787154092000,"timestamp_seconds":1787154092,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaf4fe0"} 
[2026-08-19 21:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:13:45] 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-08-19 21:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:13:45] 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-08-19 21:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511370496001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511370496001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:13:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:13:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511370496001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":157896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:13:45] local.INFO: GPS data processed {"connection_id":157896,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:13:45] local.INFO: Acknowledgment sent {"connection_id":157896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:14:08] local.INFO: TCP Data received {"connection_id":159119,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:14:08] local.INFO: Processing buffer {"connection_id":159119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:14:08] local.INFO: IMEI packet received {"connection_id":159119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":159119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:14:13] local.INFO: TCP Data received {"connection_id":159119,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:14:13] local.INFO: Processing buffer {"connection_id":159119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:14:13] local.INFO: IMEI packet received {"connection_id":159119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":159119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:14:14] local.INFO: TCP Data received {"connection_id":159119,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:14:14] local.INFO: Processing buffer {"connection_id":159119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:14:14] local.INFO: Packet analysis {"connection_id":159119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:14:14] local.INFO: Extracted packet for processing {"connection_id":159119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:14:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511370496001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787154092000,"timestamp_ms":1787154092000,"timestamp_seconds":1787154092,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaf4fe0"} 
[2026-08-19 21:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:14:14] 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-08-19 21:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:14:14] 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-08-19 21:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511370496001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511370496001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:14:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:14:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511370496001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":159119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:14:14] local.INFO: GPS data processed {"connection_id":159119,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:14:14] local.INFO: Acknowledgment sent {"connection_id":159119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:14:45] local.INFO: TCP Data received {"connection_id":159119,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:14:45] local.INFO: Processing buffer {"connection_id":159119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:14:45] local.INFO: Packet analysis {"connection_id":159119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:14:45] local.INFO: Extracted packet for processing {"connection_id":159119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:14:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511370496001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787154092000,"timestamp_ms":1787154092000,"timestamp_seconds":1787154092,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaf4fe0"} 
[2026-08-19 21:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:14:45] 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-08-19 21:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:14:45] 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-08-19 21:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511370496001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511370496001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:14:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:14:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511370496001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":159119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:14:45] local.INFO: GPS data processed {"connection_id":159119,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:14:45] local.INFO: Acknowledgment sent {"connection_id":159119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:15:08] local.INFO: TCP Data received {"connection_id":158253,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:15:08] local.INFO: Processing buffer {"connection_id":158253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:15:08] local.INFO: IMEI packet received {"connection_id":158253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":158253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:15:13] local.INFO: TCP Data received {"connection_id":158253,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:15:13] local.INFO: Processing buffer {"connection_id":158253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:15:13] local.INFO: IMEI packet received {"connection_id":158253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":158253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:15:13] local.INFO: TCP Data received {"connection_id":158253,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:15:13] local.INFO: Processing buffer {"connection_id":158253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:15:13] local.INFO: Packet analysis {"connection_id":158253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:15:13] local.INFO: Extracted packet for processing {"connection_id":158253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:15:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511370496001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787154092000,"timestamp_ms":1787154092000,"timestamp_seconds":1787154092,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaf4fe0"} 
[2026-08-19 21:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:15:13] 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-08-19 21:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:15:13] 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-08-19 21:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511370496001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511370496001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:15:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511370496001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":158253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:15:14] local.INFO: GPS data processed {"connection_id":158253,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:15:14] local.INFO: Acknowledgment sent {"connection_id":158253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:15:45] local.INFO: TCP Data received {"connection_id":158253,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:15:45] local.INFO: Processing buffer {"connection_id":158253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:15:45] local.INFO: Packet analysis {"connection_id":158253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:15:45] local.INFO: Extracted packet for processing {"connection_id":158253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511370496001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787154092000,"timestamp_ms":1787154092000,"timestamp_seconds":1787154092,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaf4fe0"} 
[2026-08-19 21:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:15:45] 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-08-19 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:15:45] 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-08-19 21: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-08-19 21:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511370496001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511370496001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:15:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:15:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511370496001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":158253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:15:45] local.INFO: GPS data processed {"connection_id":158253,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:15:45] local.INFO: Acknowledgment sent {"connection_id":158253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:16:03] local.INFO: TCP Data received {"connection_id":157897,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:16:03] local.INFO: Processing buffer {"connection_id":157897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:16:03] local.INFO: IMEI packet received {"connection_id":157897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":157897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:16:07] local.INFO: TCP Data received {"connection_id":157898,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:16:07] local.INFO: Processing buffer {"connection_id":157898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:16:07] local.INFO: IMEI packet received {"connection_id":157898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":157898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:16:08] local.INFO: TCP Data received {"connection_id":157897,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab22670012d05b98006f9c968001200c22e..."} 
[2026-08-19 21:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab22670012d05b98006f9c968001200c22e..."} 
[2026-08-19 21:16:08] local.INFO: Processing buffer {"connection_id":157897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab22670012d05b98006f9c968001200c22e..."} 
[2026-08-19 21:16:08] local.INFO: Packet analysis {"connection_id":157897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab2"} 
[2026-08-19 21:16:08] local.INFO: Extracted packet for processing {"connection_id":157897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab2"} 
[2026-08-19 21:16:08] local.INFO: GPS Element Parsed {"raw_longitude":755349888,"raw_latitude":117033320,"longitude_deg":75.5349888,"latitude_deg":11.703332,"altitude":18,"angle":194,"satellites":46,"speed":23,"hex_longitude":"2d05b980","hex_latitude":"06f9c968","is_valid_coordinates":true} 
[2026-08-19 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-08-19 21:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511491584001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386201389082083328,"note":"Value kept but may cause issues"} 
[2026-08-19 21:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413768245727471616,"note":"Value kept but may cause issues"} 
[2026-08-19 21:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787154278000,"timestamp_ms":1787154278000,"timestamp_seconds":1787154278,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab22670"} 
[2026-08-19 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-08-19 21:16: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-08-19 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 21:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 21:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":157897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":157897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":157897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511491584001,"66":27365,"74":206,"28":32256,"24":23,"16":386201389082083328,"45":413768245727471616},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-08-19 21:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511491584001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:16:08] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-19 21:16:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386201389082083328,"km_value":386201389082083.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":413768245727471616,"description":"Unknown IO ID 45"} 
[2026-08-19 21:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511491584001,"power":27365,"unknown_74":206,"unknown_28":32256,"ignition":23,"odometer":null,"unknown_45":413768245727471616}} 
[2026-08-19 21:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":157897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:16:08] local.INFO: GPS data processed {"connection_id":157897,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:16:08] local.INFO: Acknowledgment sent {"connection_id":157897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:16:13] local.INFO: TCP Data received {"connection_id":157898,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:16:13] local.INFO: Processing buffer {"connection_id":157898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:16:13] local.INFO: IMEI packet received {"connection_id":157898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":157898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:16:14] local.INFO: TCP Data received {"connection_id":157898,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:16:14] local.INFO: Processing buffer {"connection_id":157898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:16:14] local.INFO: Packet analysis {"connection_id":157898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:16:14] local.INFO: Extracted packet for processing {"connection_id":157898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:16:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:16: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-08-19 21:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511370496001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787154092000,"timestamp_ms":1787154092000,"timestamp_seconds":1787154092,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaf4fe0"} 
[2026-08-19 21:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:16:14] 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-08-19 21:16: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":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:16:14] 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-08-19 21:16: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-08-19 21:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511370496001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511370496001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:16:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:16:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511370496001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":157898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:16:14] local.INFO: GPS data processed {"connection_id":157898,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:16:14] local.INFO: Acknowledgment sent {"connection_id":157898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:16:40] local.INFO: TCP Data received {"connection_id":157897,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab22a58012d05b88006f9c718001300ce33..."} 
[2026-08-19 21:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab22a58012d05b88006f9c718001300ce33..."} 
[2026-08-19 21:16:40] local.INFO: Processing buffer {"connection_id":157897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab22a58012d05b88006f9c718001300ce33..."} 
[2026-08-19 21:16:40] local.INFO: Packet analysis {"connection_id":157897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab2"} 
[2026-08-19 21:16:40] local.INFO: Extracted packet for processing {"connection_id":157897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab2"} 
[2026-08-19 21:16:40] local.INFO: GPS Element Parsed {"raw_longitude":755349632,"raw_latitude":117032728,"longitude_deg":75.5349632,"latitude_deg":11.7032728,"altitude":19,"angle":206,"satellites":51,"speed":25,"hex_longitude":"2d05b880","hex_latitude":"06f9c718","is_valid_coordinates":true} 
[2026-08-19 21:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511495168001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386201419146854400,"note":"Value kept but may cause issues"} 
[2026-08-19 21:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":412501608329996288,"note":"Value kept but may cause issues"} 
[2026-08-19 21:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787154279000,"timestamp_ms":1787154279000,"timestamp_seconds":1787154279,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab22a58"} 
[2026-08-19 21:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 21:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511495168001,"66":27321,"74":206,"28":32256,"24":25,"16":386201419146854400,"45":412501608329996288},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-08-19 21:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511495168001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:16:40] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-19 21:16:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386201419146854400,"km_value":386201419146854.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":412501608329996288,"description":"Unknown IO ID 45"} 
[2026-08-19 21:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511495168001,"power":27321,"unknown_74":206,"unknown_28":32256,"ignition":25,"odometer":null,"unknown_45":412501608329996288}} 
[2026-08-19 21:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":157897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:16:40] local.INFO: GPS data processed {"connection_id":157897,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:16:40] local.INFO: Acknowledgment sent {"connection_id":157897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:16:45] local.INFO: TCP Data received {"connection_id":157898,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:16:45] local.INFO: Processing buffer {"connection_id":157898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aaf4fe0012d196500071ff128004101462c..."} 
[2026-08-19 21:16:45] local.INFO: Packet analysis {"connection_id":157898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:16:45] local.INFO: Extracted packet for processing {"connection_id":157898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aaf"} 
[2026-08-19 21:16:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:16: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-08-19 21:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511370496001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787154092000,"timestamp_ms":1787154092000,"timestamp_seconds":1787154092,"priority":1,"record_length":96,"hex_timestamp":"000001a01aaf4fe0"} 
[2026-08-19 21:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:16:45] 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-08-19 21:16: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":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:16:45] 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-08-19 21:16: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-08-19 21:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511370496001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511370496001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:16:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:16:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511370496001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":157898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:16:45] local.INFO: GPS data processed {"connection_id":157898,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:16:45] local.INFO: Acknowledgment sent {"connection_id":157898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:17:01] local.INFO: TCP Data received {"connection_id":160437,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:17:01] local.INFO: Processing buffer {"connection_id":160437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:17:01] local.INFO: IMEI packet received {"connection_id":160437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":160437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:17:03] local.INFO: TCP Data received {"connection_id":160437,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:17:03] local.INFO: Processing buffer {"connection_id":160437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:17:03] local.INFO: IMEI packet received {"connection_id":160437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":160437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:17:08] local.INFO: TCP Data received {"connection_id":160437,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:17:08] local.INFO: Processing buffer {"connection_id":160437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:17:08] local.INFO: IMEI packet received {"connection_id":160437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":160437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:17:10] local.INFO: TCP Data received {"connection_id":160437,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab25938012d05a74006f9ac30001300c233..."} 
[2026-08-19 21:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab25938012d05a74006f9ac30001300c233..."} 
[2026-08-19 21:17:10] local.INFO: Processing buffer {"connection_id":160437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab25938012d05a74006f9ac30001300c233..."} 
[2026-08-19 21:17:10] local.INFO: Packet analysis {"connection_id":160437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab2"} 
[2026-08-19 21:17:10] local.INFO: Extracted packet for processing {"connection_id":160437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab2"} 
[2026-08-19 21:17:10] local.INFO: GPS Element Parsed {"raw_longitude":755345216,"raw_latitude":117025840,"longitude_deg":75.5345216,"latitude_deg":11.702584,"altitude":19,"angle":194,"satellites":51,"speed":24,"hex_longitude":"2d05a740","hex_latitude":"06f9ac30","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511495424001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386201814283845632,"note":"Value kept but may cause issues"} 
[2026-08-19 21:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":412220133353134080,"note":"Value kept but may cause issues"} 
[2026-08-19 21:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787154291000,"timestamp_ms":1787154291000,"timestamp_seconds":1787154291,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab25938"} 
[2026-08-19 21:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:17: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-08-19 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 21:17:10] 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-08-19 21: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-08-19 21:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511495424001,"66":27332,"74":206,"28":32256,"24":24,"16":386201814283845632,"45":412220133353134080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-08-19 21:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511495424001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:17:10] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-08-19 21:17:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386201814283845632,"km_value":386201814283845.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":412220133353134080,"description":"Unknown IO ID 45"} 
[2026-08-19 21:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511495424001,"power":27332,"unknown_74":206,"unknown_28":32256,"ignition":24,"odometer":null,"unknown_45":412220133353134080}} 
[2026-08-19 21:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":160437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:17:10] local.INFO: GPS data processed {"connection_id":160437,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:17:10] local.INFO: Acknowledgment sent {"connection_id":160437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:17:11] local.INFO: TCP Data received {"connection_id":158254,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:17:11] local.INFO: Processing buffer {"connection_id":158254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:17:11] local.INFO: IMEI packet received {"connection_id":158254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":158254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:17:12] local.INFO: TCP Data received {"connection_id":158254,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:17:12] local.INFO: Processing buffer {"connection_id":158254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:17:12] local.INFO: IMEI packet received {"connection_id":158254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":158254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:17:18] local.INFO: TCP Data received {"connection_id":158254,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:17:18] local.INFO: Processing buffer {"connection_id":158254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:17:18] local.INFO: IMEI packet received {"connection_id":158254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":158254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:17:18] local.INFO: TCP Data received {"connection_id":158254,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:17:18] local.INFO: Processing buffer {"connection_id":158254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:17:18] local.INFO: Packet analysis {"connection_id":158254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:17:18] local.INFO: Extracted packet for processing {"connection_id":158254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:17:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511447552001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787154393000,"timestamp_ms":1787154393000,"timestamp_seconds":1787154393,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab3e7a8"} 
[2026-08-19 21:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:17:18] 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-08-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 21:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511447552001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511447552001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:17:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:17:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511447552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":158254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:17:18] local.INFO: GPS data processed {"connection_id":158254,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:17:18] local.INFO: Acknowledgment sent {"connection_id":158254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:17:23] local.INFO: TCP Data received {"connection_id":158254,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:17:23] local.INFO: Processing buffer {"connection_id":158254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:17:23] local.INFO: Packet analysis {"connection_id":158254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:17:23] local.INFO: Extracted packet for processing {"connection_id":158254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:17:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511447552001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787154393000,"timestamp_ms":1787154393000,"timestamp_seconds":1787154393,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab3e7a8"} 
[2026-08-19 21:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 21:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511447552001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511447552001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:17:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:17:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511447552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":158254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:17:23] local.INFO: GPS data processed {"connection_id":158254,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:17:23] local.INFO: Acknowledgment sent {"connection_id":158254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:17:41] local.INFO: TCP Data received {"connection_id":160437,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab40eb8012d06170006f85a70000a00802e..."} 
[2026-08-19 21:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab40eb8012d06170006f85a70000a00802e..."} 
[2026-08-19 21:17:41] local.INFO: Processing buffer {"connection_id":160437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab40eb8012d06170006f85a70000a00802e..."} 
[2026-08-19 21:17:41] local.INFO: Packet analysis {"connection_id":160437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab4"} 
[2026-08-19 21:17:41] local.INFO: Extracted packet for processing {"connection_id":160437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab4"} 
[2026-08-19 21:17:41] local.INFO: GPS Element Parsed {"raw_longitude":755373824,"raw_latitude":116939376,"longitude_deg":75.5373824,"latitude_deg":11.6939376,"altitude":10,"angle":128,"satellites":46,"speed":40,"hex_longitude":"2d061700","hex_latitude":"06f85a70","is_valid_coordinates":true} 
[2026-08-19 21:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511524608001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386206431373688832,"note":"Value kept but may cause issues"} 
[2026-08-19 21:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":431008588026314752,"note":"Value kept but may cause issues"} 
[2026-08-19 21:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787154403000,"timestamp_ms":1787154403000,"timestamp_seconds":1787154403,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab40eb8"} 
[2026-08-19 21:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:17: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-08-19 21:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 21:17:41] 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-08-19 21:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511524608001,"66":27300,"73":206,"28":32256,"24":40,"16":386206431373688832,"45":431008588026314752},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-08-19 21:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511524608001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:17:41] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-19 21:17:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386206431373688832,"km_value":386206431373688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":431008588026314752,"description":"Unknown IO ID 45"} 
[2026-08-19 21:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511524608001,"power":27300,"unknown_73":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_45":431008588026314752}} 
[2026-08-19 21:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":160437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:17:41] local.INFO: GPS data processed {"connection_id":160437,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:17:41] local.INFO: Acknowledgment sent {"connection_id":160437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:17:58] local.INFO: TCP Data received {"connection_id":158255,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:17:58] local.INFO: Processing buffer {"connection_id":158255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:17:58] local.INFO: IMEI packet received {"connection_id":158255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":158255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:18:03] local.INFO: TCP Data received {"connection_id":158255,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:18:03] local.INFO: Processing buffer {"connection_id":158255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:18:03] local.INFO: IMEI packet received {"connection_id":158255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":158255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:18:04] local.INFO: TCP Data received {"connection_id":158255,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab431e0012d06320006f84178000c00892f..."} 
[2026-08-19 21:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab431e0012d06320006f84178000c00892f..."} 
[2026-08-19 21:18:04] local.INFO: Processing buffer {"connection_id":158255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab431e0012d06320006f84178000c00892f..."} 
[2026-08-19 21:18:04] local.INFO: Packet analysis {"connection_id":158255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab4"} 
[2026-08-19 21:18:04] local.INFO: Extracted packet for processing {"connection_id":158255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab4"} 
[2026-08-19 21:18:04] local.INFO: GPS Element Parsed {"raw_longitude":755380736,"raw_latitude":116932984,"longitude_deg":75.5380736,"latitude_deg":11.6932984,"altitude":12,"angle":137,"satellites":47,"speed":42,"hex_longitude":"2d063200","hex_latitude":"06f84178","is_valid_coordinates":true} 
[2026-08-19 21:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511527168001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386206882345254912,"note":"Value kept but may cause issues"} 
[2026-08-19 21:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":438819518628392960,"note":"Value kept but may cause issues"} 
[2026-08-19 21:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787154412000,"timestamp_ms":1787154412000,"timestamp_seconds":1787154412,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab431e0"} 
[2026-08-19 21:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 21:18:04] 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-08-19 21:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511527168001,"66":27463,"73":206,"28":32256,"24":42,"16":386206882345254912,"45":438819518628392960},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-08-19 21:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511527168001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:18:04] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-19 21:18:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386206882345254912,"km_value":386206882345254.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":438819518628392960,"description":"Unknown IO ID 45"} 
[2026-08-19 21:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511527168001,"power":27463,"unknown_73":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_45":438819518628392960}} 
[2026-08-19 21:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":158255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:18:04] local.INFO: GPS data processed {"connection_id":158255,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:18:04] local.INFO: Acknowledgment sent {"connection_id":158255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:18:08] local.INFO: TCP Data received {"connection_id":158256,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:18:08] local.INFO: Processing buffer {"connection_id":158256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:18:08] local.INFO: IMEI packet received {"connection_id":158256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":158256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:18:13] local.INFO: TCP Data received {"connection_id":158256,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:18:13] local.INFO: Processing buffer {"connection_id":158256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:18:13] local.INFO: IMEI packet received {"connection_id":158256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":158256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:18:13] local.INFO: TCP Data received {"connection_id":158256,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:18:13] local.INFO: Processing buffer {"connection_id":158256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:18:13] local.INFO: Packet analysis {"connection_id":158256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:18:13] local.INFO: Extracted packet for processing {"connection_id":158256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:18:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511447552001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787154393000,"timestamp_ms":1787154393000,"timestamp_seconds":1787154393,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab3e7a8"} 
[2026-08-19 21:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:18:13] 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-08-19 21:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 21:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511447552001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511447552001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:18:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:18:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511447552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":158256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:18:14] local.INFO: GPS data processed {"connection_id":158256,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:18:14] local.INFO: Acknowledgment sent {"connection_id":158256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:18:36] local.INFO: TCP Data received {"connection_id":158255,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab458f0012d064bc006f82538000a008932..."} 
[2026-08-19 21:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab458f0012d064bc006f82538000a008932..."} 
[2026-08-19 21:18:36] local.INFO: Processing buffer {"connection_id":158255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab458f0012d064bc006f82538000a008932..."} 
[2026-08-19 21:18:36] local.INFO: Packet analysis {"connection_id":158255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab4"} 
[2026-08-19 21:18:36] local.INFO: Extracted packet for processing {"connection_id":158255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab4"} 
[2026-08-19 21:18:36] local.INFO: GPS Element Parsed {"raw_longitude":755387328,"raw_latitude":116925752,"longitude_deg":75.5387328,"latitude_deg":11.6925752,"altitude":10,"angle":137,"satellites":50,"speed":37,"hex_longitude":"2d064bc0","hex_latitude":"06f82538","is_valid_coordinates":true} 
[2026-08-19 21:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511529472001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386207354791657472,"note":"Value kept but may cause issues"} 
[2026-08-19 21:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":446419342997944320,"note":"Value kept but may cause issues"} 
[2026-08-19 21:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787154422000,"timestamp_ms":1787154422000,"timestamp_seconds":1787154422,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab458f0"} 
[2026-08-19 21:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:18: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-08-19 21:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 21:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511529472001,"66":27343,"73":206,"28":32256,"24":37,"16":386207354791657472,"45":446419342997944320},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-08-19 21:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511529472001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:18:36] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-19 21:18:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386207354791657472,"km_value":386207354791657.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":446419342997944320,"description":"Unknown IO ID 45"} 
[2026-08-19 21:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511529472001,"power":27343,"unknown_73":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_45":446419342997944320}} 
[2026-08-19 21:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":158255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:18:36] local.INFO: GPS data processed {"connection_id":158255,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:18:36] local.INFO: Acknowledgment sent {"connection_id":158255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:18:45] local.INFO: TCP Data received {"connection_id":158256,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:18:45] local.INFO: Processing buffer {"connection_id":158256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:18:45] local.INFO: Packet analysis {"connection_id":158256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:18:45] local.INFO: Extracted packet for processing {"connection_id":158256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:18:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511447552001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787154393000,"timestamp_ms":1787154393000,"timestamp_seconds":1787154393,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab3e7a8"} 
[2026-08-19 21:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 21:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511447552001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511447552001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:18:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:18:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511447552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":158256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:18:45] local.INFO: GPS data processed {"connection_id":158256,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:18:45] local.INFO: Acknowledgment sent {"connection_id":158256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:19:08] local.INFO: TCP Data received {"connection_id":159120,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:19:08] local.INFO: Processing buffer {"connection_id":159120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:19:08] local.INFO: IMEI packet received {"connection_id":159120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":159120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:19:13] local.INFO: TCP Data received {"connection_id":159120,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:19:13] local.INFO: Processing buffer {"connection_id":159120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:19:13] local.INFO: IMEI packet received {"connection_id":159120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":159120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:19:14] local.INFO: TCP Data received {"connection_id":159120,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:19:14] local.INFO: Processing buffer {"connection_id":159120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:19:14] local.INFO: Packet analysis {"connection_id":159120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:19:14] local.INFO: Extracted packet for processing {"connection_id":159120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:19:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511447552001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787154393000,"timestamp_ms":1787154393000,"timestamp_seconds":1787154393,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab3e7a8"} 
[2026-08-19 21:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:19:14] 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-08-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 21:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511447552001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511447552001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:19:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:19:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511447552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":159120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:19:14] local.INFO: GPS data processed {"connection_id":159120,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:19:14] local.INFO: Acknowledgment sent {"connection_id":159120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:19:33] local.INFO: TCP Data received {"connection_id":157899,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:19:33] local.INFO: Processing buffer {"connection_id":157899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:19:33] local.INFO: IMEI packet received {"connection_id":157899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":157899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:19:35] local.INFO: TCP Data received {"connection_id":157899,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:19:35] local.INFO: Processing buffer {"connection_id":157899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:19:35] local.INFO: IMEI packet received {"connection_id":157899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":157899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:19:36] local.INFO: TCP Data received {"connection_id":157899,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab48000012d06644006f80aa8000a008a32..."} 
[2026-08-19 21:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab48000012d06644006f80aa8000a008a32..."} 
[2026-08-19 21:19:36] local.INFO: Processing buffer {"connection_id":157899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab48000012d06644006f80aa8000a008a32..."} 
[2026-08-19 21:19:36] local.INFO: Packet analysis {"connection_id":157899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab4"} 
[2026-08-19 21:19:36] local.INFO: Extracted packet for processing {"connection_id":157899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab4"} 
[2026-08-19 21:19:36] local.INFO: GPS Element Parsed {"raw_longitude":755393600,"raw_latitude":116918952,"longitude_deg":75.53936,"latitude_deg":11.6918952,"altitude":10,"angle":138,"satellites":50,"speed":33,"hex_longitude":"2d066440","hex_latitude":"06f80aa8","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511532032001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386207797173288960,"note":"Value kept but may cause issues"} 
[2026-08-19 21:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":453667323646392320,"note":"Value kept but may cause issues"} 
[2026-08-19 21:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787154432000,"timestamp_ms":1787154432000,"timestamp_seconds":1787154432,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab48000"} 
[2026-08-19 21:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:19: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-08-19 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 21:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511532032001,"66":27365,"73":206,"28":32256,"24":33,"16":386207797173288960,"45":453667323646392320},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-08-19 21:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511532032001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:19:36] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-08-19 21:19:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-19 21:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386207797173288960,"km_value":386207797173288.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":453667323646392320,"description":"Unknown IO ID 45"} 
[2026-08-19 21:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511532032001,"power":27365,"unknown_73":206,"unknown_28":32256,"ignition":33,"odometer":null,"unknown_45":453667323646392320}} 
[2026-08-19 21:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":157899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:19:37] local.INFO: GPS data processed {"connection_id":157899,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:19:37] local.INFO: Acknowledgment sent {"connection_id":157899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:19:45] local.INFO: TCP Data received {"connection_id":159120,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:19:45] local.INFO: Processing buffer {"connection_id":159120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:19:45] local.INFO: Packet analysis {"connection_id":159120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:19:45] local.INFO: Extracted packet for processing {"connection_id":159120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:19:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511447552001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787154393000,"timestamp_ms":1787154393000,"timestamp_seconds":1787154393,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab3e7a8"} 
[2026-08-19 21:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 21:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511447552001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511447552001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:19:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:19:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511447552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":159120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:19:45] local.INFO: GPS data processed {"connection_id":159120,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:19:45] local.INFO: Acknowledgment sent {"connection_id":159120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:20:03] local.INFO: TCP Data received {"connection_id":160438,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:20:03] local.INFO: Processing buffer {"connection_id":160438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:20:03] local.INFO: IMEI packet received {"connection_id":160438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":160438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:20:07] local.INFO: TCP Data received {"connection_id":159121,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:20:07] local.INFO: Processing buffer {"connection_id":159121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:20:07] local.INFO: IMEI packet received {"connection_id":159121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":159121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:20:08] local.INFO: TCP Data received {"connection_id":160438,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:20:08] local.INFO: Processing buffer {"connection_id":160438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:20:08] local.INFO: IMEI packet received {"connection_id":160438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":160438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:20:09] local.INFO: TCP Data received {"connection_id":160438,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab64138012d075ac006f6ec38000f006f32..."} 
[2026-08-19 21:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab64138012d075ac006f6ec38000f006f32..."} 
[2026-08-19 21:20:09] local.INFO: Processing buffer {"connection_id":160438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab64138012d075ac006f6ec38000f006f32..."} 
[2026-08-19 21:20:09] local.INFO: Packet analysis {"connection_id":160438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab6"} 
[2026-08-19 21:20:09] local.INFO: Extracted packet for processing {"connection_id":160438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab6"} 
[2026-08-19 21:20:09] local.INFO: GPS Element Parsed {"raw_longitude":755456704,"raw_latitude":116845624,"longitude_deg":75.5456704,"latitude_deg":11.6845624,"altitude":15,"angle":111,"satellites":50,"speed":12,"hex_longitude":"2d075ac0","hex_latitude":"06f6ec38","is_valid_coordinates":true} 
[2026-08-19 21:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511561472001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386212448622870528,"note":"Value kept but may cause issues"} 
[2026-08-19 21:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":526639711339012096,"note":"Value kept but may cause issues"} 
[2026-08-19 21:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787154547000,"timestamp_ms":1787154547000,"timestamp_seconds":1787154547,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab64138"} 
[2026-08-19 21:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-19 21:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511561472001,"66":27213,"69":206,"2":56576,"24":12,"16":386212448622870528,"45":526639711339012096},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-19 21:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511561472001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:20:09] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-19 21:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386212448622870528,"km_value":386212448622870.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":526639711339012096,"description":"Unknown IO ID 45"} 
[2026-08-19 21:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511561472001,"power":27213,"unknown_69":206,"power_alt":56576,"ignition":12,"odometer":null,"unknown_45":526639711339012096}} 
[2026-08-19 21:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":160438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:20:09] local.INFO: GPS data processed {"connection_id":160438,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:20:09] local.INFO: Acknowledgment sent {"connection_id":160438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:20:13] local.INFO: TCP Data received {"connection_id":159121,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:20:13] local.INFO: Processing buffer {"connection_id":159121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:20:13] local.INFO: IMEI packet received {"connection_id":159121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":159121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:20:14] local.INFO: TCP Data received {"connection_id":159121,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:20:14] local.INFO: Processing buffer {"connection_id":159121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:20:14] local.INFO: Packet analysis {"connection_id":159121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:20:14] local.INFO: Extracted packet for processing {"connection_id":159121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511447552001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787154393000,"timestamp_ms":1787154393000,"timestamp_seconds":1787154393,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab3e7a8"} 
[2026-08-19 21:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:20:14] 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-08-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 21:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511447552001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511447552001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:20:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:20:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511447552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":159121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:20:14] local.INFO: GPS data processed {"connection_id":159121,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:20:14] local.INFO: Acknowledgment sent {"connection_id":159121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:20:41] local.INFO: TCP Data received {"connection_id":160438,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab64520012d075c4006f6ebf0000f005f31..."} 
[2026-08-19 21:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab64520012d075c4006f6ebf0000f005f31..."} 
[2026-08-19 21:20:41] local.INFO: Processing buffer {"connection_id":160438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab64520012d075c4006f6ebf0000f005f31..."} 
[2026-08-19 21:20:41] local.INFO: Packet analysis {"connection_id":160438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab6"} 
[2026-08-19 21:20:41] local.INFO: Extracted packet for processing {"connection_id":160438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab6"} 
[2026-08-19 21:20:41] local.INFO: GPS Element Parsed {"raw_longitude":755457088,"raw_latitude":116845552,"longitude_deg":75.5457088,"latitude_deg":11.6845552,"altitude":15,"angle":95,"satellites":49,"speed":13,"hex_longitude":"2d075c40","hex_latitude":"06f6ebf0","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511564032001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386212470097707008,"note":"Value kept but may cause issues"} 
[2026-08-19 21:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":529947042314467328,"note":"Value kept but may cause issues"} 
[2026-08-19 21:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787154548000,"timestamp_ms":1787154548000,"timestamp_seconds":1787154548,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab64520"} 
[2026-08-19 21:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:20: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-08-19 21: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 21:20:41] 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-08-19 21: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-08-19 21:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511564032001,"66":27213,"69":206,"2":56576,"24":13,"16":386212470097707008,"45":529947042314467328},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-19 21:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511564032001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:20:41] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-19 21:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386212470097707008,"km_value":386212470097707.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":529947042314467328,"description":"Unknown IO ID 45"} 
[2026-08-19 21:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511564032001,"power":27213,"unknown_69":206,"power_alt":56576,"ignition":13,"odometer":null,"unknown_45":529947042314467328}} 
[2026-08-19 21:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":160438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:20:41] local.INFO: GPS data processed {"connection_id":160438,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:20:41] local.INFO: Acknowledgment sent {"connection_id":160438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:20:45] local.INFO: TCP Data received {"connection_id":159121,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:20:45] local.INFO: Processing buffer {"connection_id":159121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:20:45] local.INFO: Packet analysis {"connection_id":159121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:20:45] local.INFO: Extracted packet for processing {"connection_id":159121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:20:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511447552001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787154393000,"timestamp_ms":1787154393000,"timestamp_seconds":1787154393,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab3e7a8"} 
[2026-08-19 21:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 21:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511447552001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511447552001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:20:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:20:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511447552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":159121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:20:45] local.INFO: GPS data processed {"connection_id":159121,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:20:45] local.INFO: Acknowledgment sent {"connection_id":159121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:20:58] local.INFO: TCP Data received {"connection_id":160439,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:20:58] local.INFO: Processing buffer {"connection_id":160439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:20:58] local.INFO: IMEI packet received {"connection_id":160439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":160439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:21:04] local.INFO: TCP Data received {"connection_id":160439,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:21:04] local.INFO: Processing buffer {"connection_id":160439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:21:04] local.INFO: IMEI packet received {"connection_id":160439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":160439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:21:07] local.INFO: TCP Data received {"connection_id":160439,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab64908012d075d8006f6ec00000f005031..."} 
[2026-08-19 21:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab64908012d075d8006f6ec00000f005031..."} 
[2026-08-19 21:21:07] local.INFO: Processing buffer {"connection_id":160439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab64908012d075d8006f6ec00000f005031..."} 
[2026-08-19 21:21:07] local.INFO: Packet analysis {"connection_id":160439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab6"} 
[2026-08-19 21:21:07] local.INFO: Extracted packet for processing {"connection_id":160439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab6"} 
[2026-08-19 21:21:07] local.INFO: GPS Element Parsed {"raw_longitude":755457408,"raw_latitude":116845568,"longitude_deg":75.5457408,"latitude_deg":11.6845568,"altitude":15,"angle":80,"satellites":49,"speed":14,"hex_longitude":"2d075d80","hex_latitude":"06f6ec00","is_valid_coordinates":true} 
[2026-08-19 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-08-19 21:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511564288001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386212482982608896,"note":"Value kept but may cause issues"} 
[2026-08-19 21:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":530369254779514880,"note":"Value kept but may cause issues"} 
[2026-08-19 21:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787154549000,"timestamp_ms":1787154549000,"timestamp_seconds":1787154549,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab64908"} 
[2026-08-19 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-08-19 21:21: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-08-19 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 21:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 21:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511564288001,"66":27234,"69":206,"2":56576,"24":14,"16":386212482982608896,"45":530369254779514880},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-19 21:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511564288001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:21:07] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-19 21:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386212482982608896,"km_value":386212482982608.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":530369254779514880,"description":"Unknown IO ID 45"} 
[2026-08-19 21:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511564288001,"power":27234,"unknown_69":206,"power_alt":56576,"ignition":14,"odometer":null,"unknown_45":530369254779514880}} 
[2026-08-19 21:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":160439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:21:07] local.INFO: GPS data processed {"connection_id":160439,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:21:07] local.INFO: Acknowledgment sent {"connection_id":160439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:21:13] local.INFO: TCP Data received {"connection_id":158257,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:21:13] local.INFO: Processing buffer {"connection_id":158257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:21:13] local.INFO: IMEI packet received {"connection_id":158257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":158257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:21:18] local.INFO: TCP Data received {"connection_id":158257,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:21:18] local.INFO: Processing buffer {"connection_id":158257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:21:18] local.INFO: IMEI packet received {"connection_id":158257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":158257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:21:18] local.INFO: TCP Data received {"connection_id":158257,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:21:18] local.INFO: Processing buffer {"connection_id":158257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:21:18] local.INFO: Packet analysis {"connection_id":158257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:21:18] local.INFO: Extracted packet for processing {"connection_id":158257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511447552001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787154393000,"timestamp_ms":1787154393000,"timestamp_seconds":1787154393,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab3e7a8"} 
[2026-08-19 21:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:21:18] 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-08-19 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 21:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511447552001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511447552001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:21:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511447552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":158257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:21:19] local.INFO: GPS data processed {"connection_id":158257,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:21:19] local.INFO: Acknowledgment sent {"connection_id":158257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:21:23] local.INFO: TCP Data received {"connection_id":158257,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:21:23] local.INFO: Processing buffer {"connection_id":158257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab3e7a8012d196500071ff128004101462d..."} 
[2026-08-19 21:21:23] local.INFO: Packet analysis {"connection_id":158257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:21:23] local.INFO: Extracted packet for processing {"connection_id":158257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab3"} 
[2026-08-19 21:21:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 21:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511447552001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787154393000,"timestamp_ms":1787154393000,"timestamp_seconds":1787154393,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab3e7a8"} 
[2026-08-19 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-08-19 21:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 21:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 21:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511447552001,"66":2177,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511447552001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:21:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:21:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511447552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":158257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:21:23] local.INFO: GPS data processed {"connection_id":158257,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:21:23] local.INFO: Acknowledgment sent {"connection_id":158257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:21:39] local.INFO: TCP Data received {"connection_id":160439,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab752a8012d07d54006f66500000f008d30..."} 
[2026-08-19 21:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab752a8012d07d54006f66500000f008d30..."} 
[2026-08-19 21:21:39] local.INFO: Processing buffer {"connection_id":160439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab752a8012d07d54006f66500000f008d30..."} 
[2026-08-19 21:21:39] local.INFO: Packet analysis {"connection_id":160439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab7"} 
[2026-08-19 21:21:39] local.INFO: Extracted packet for processing {"connection_id":160439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab7"} 
[2026-08-19 21:21:39] local.INFO: GPS Element Parsed {"raw_longitude":755488064,"raw_latitude":116811008,"longitude_deg":75.5488064,"latitude_deg":11.6811008,"altitude":15,"angle":141,"satellites":48,"speed":23,"hex_longitude":"2d07d540","hex_latitude":"06f66500","is_valid_coordinates":true} 
[2026-08-19 21:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511578624001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386214767905210368,"note":"Value kept but may cause issues"} 
[2026-08-19 21:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":558305646211000320,"note":"Value kept but may cause issues"} 
[2026-08-19 21:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787154617000,"timestamp_ms":1787154617000,"timestamp_seconds":1787154617,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab752a8"} 
[2026-08-19 21:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 21:21:39] 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-08-19 21:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511578624001,"66":27180,"69":206,"2":56576,"24":23,"16":386214767905210368,"45":558305646211000320},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-19 21:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511578624001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:21:39] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-19 21:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386214767905210368,"km_value":386214767905210.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":558305646211000320,"description":"Unknown IO ID 45"} 
[2026-08-19 21:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511578624001,"power":27180,"unknown_69":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":558305646211000320}} 
[2026-08-19 21:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":160439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:21:39] local.INFO: GPS data processed {"connection_id":160439,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:21:39] local.INFO: Acknowledgment sent {"connection_id":160439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:22:04] local.INFO: TCP Data received {"connection_id":160440,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:22:04] local.INFO: Processing buffer {"connection_id":160440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:22:04] local.INFO: IMEI packet received {"connection_id":160440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":160440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:22:08] local.INFO: TCP Data received {"connection_id":158258,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:22:08] local.INFO: Processing buffer {"connection_id":158258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:22:08] local.INFO: IMEI packet received {"connection_id":158258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":158258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:22:08] local.INFO: TCP Data received {"connection_id":160440,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:22:08] local.INFO: Processing buffer {"connection_id":160440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:22:08] local.INFO: IMEI packet received {"connection_id":160440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":160440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:22:10] local.INFO: TCP Data received {"connection_id":160440,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab7a4b0012d07e78006f64e70000d008d32..."} 
[2026-08-19 21:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab7a4b0012d07e78006f64e70000d008d32..."} 
[2026-08-19 21:22:10] local.INFO: Processing buffer {"connection_id":160440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab7a4b0012d07e78006f64e70000d008d32..."} 
[2026-08-19 21:22:10] local.INFO: Packet analysis {"connection_id":160440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab7"} 
[2026-08-19 21:22:10] local.INFO: Extracted packet for processing {"connection_id":160440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab7"} 
[2026-08-19 21:22:10] local.INFO: GPS Element Parsed {"raw_longitude":755492736,"raw_latitude":116805232,"longitude_deg":75.5492736,"latitude_deg":11.6805232,"altitude":13,"angle":141,"satellites":50,"speed":17,"hex_longitude":"2d07e780","hex_latitude":"06f64e70","is_valid_coordinates":true} 
[2026-08-19 21:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511581952001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386215124387495936,"note":"Value kept but may cause issues"} 
[2026-08-19 21:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564427726952660992,"note":"Value kept but may cause issues"} 
[2026-08-19 21:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787154638000,"timestamp_ms":1787154638000,"timestamp_seconds":1787154638,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab7a4b0"} 
[2026-08-19 21:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-19 21:22:10] 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-08-19 21:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511581952001,"66":27463,"69":206,"2":56576,"24":17,"16":386215124387495936,"45":564427726952660992},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-19 21:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511581952001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:22:10] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-19 21:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386215124387495936,"km_value":386215124387495.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":564427726952660992,"description":"Unknown IO ID 45"} 
[2026-08-19 21:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511581952001,"power":27463,"unknown_69":206,"power_alt":56576,"ignition":17,"odometer":null,"unknown_45":564427726952660992}} 
[2026-08-19 21:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":160440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:22:10] local.INFO: GPS data processed {"connection_id":160440,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:22:10] local.INFO: Acknowledgment sent {"connection_id":160440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:22:12] local.INFO: TCP Data received {"connection_id":158258,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:22:12] local.INFO: Processing buffer {"connection_id":158258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:22:12] local.INFO: IMEI packet received {"connection_id":158258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":158258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:22:12] local.INFO: TCP Data received {"connection_id":158258,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:22:12] local.INFO: Processing buffer {"connection_id":158258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:22:12] local.INFO: Packet analysis {"connection_id":158258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:22:12] local.INFO: Extracted packet for processing {"connection_id":158258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:22:12] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511524608001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787154694000,"timestamp_ms":1787154694000,"timestamp_seconds":1787154694,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab87f70"} 
[2026-08-19 21:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-19 21:22: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-08-19 21:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511524608001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511524608001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:22:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:22:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511524608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":158258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:22:12] local.INFO: GPS data processed {"connection_id":158258,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:22:12] local.INFO: Acknowledgment sent {"connection_id":158258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:22:14] local.INFO: TCP Data received {"connection_id":160440,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab7eee8012d07fec006f633c0000d008f34..."} 
[2026-08-19 21:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab7eee8012d07fec006f633c0000d008f34..."} 
[2026-08-19 21:22:14] local.INFO: Processing buffer {"connection_id":160440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab7eee8012d07fec006f633c0000d008f34..."} 
[2026-08-19 21:22:14] local.INFO: Packet analysis {"connection_id":160440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab7"} 
[2026-08-19 21:22:14] local.INFO: Extracted packet for processing {"connection_id":160440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab7"} 
[2026-08-19 21:22:14] local.INFO: GPS Element Parsed {"raw_longitude":755498688,"raw_latitude":116798400,"longitude_deg":75.5498688,"latitude_deg":11.67984,"altitude":13,"angle":143,"satellites":52,"speed":15,"hex_longitude":"2d07fec0","hex_latitude":"06f633c0","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511587328001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386215562474160128,"note":"Value kept but may cause issues"} 
[2026-08-19 21:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":569564645276151808,"note":"Value kept but may cause issues"} 
[2026-08-19 21:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787154657000,"timestamp_ms":1787154657000,"timestamp_seconds":1787154657,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab7eee8"} 
[2026-08-19 21:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:22: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-08-19 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 21:22:14] 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-08-19 21: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-08-19 21:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511587328001,"66":27365,"69":206,"2":56576,"24":15,"16":386215562474160128,"45":569564645276151808},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-19 21:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511587328001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:22:14] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-19 21:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386215562474160128,"km_value":386215562474160.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":569564645276151808,"description":"Unknown IO ID 45"} 
[2026-08-19 21:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511587328001,"power":27365,"unknown_69":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":569564645276151808}} 
[2026-08-19 21:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":160440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:22:14] local.INFO: GPS data processed {"connection_id":160440,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:22:14] local.INFO: Acknowledgment sent {"connection_id":160440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:22:44] local.INFO: TCP Data received {"connection_id":158258,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:22:44] local.INFO: Processing buffer {"connection_id":158258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:22:44] local.INFO: Packet analysis {"connection_id":158258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:22:44] local.INFO: Extracted packet for processing {"connection_id":158258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:22:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511524608001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787154694000,"timestamp_ms":1787154694000,"timestamp_seconds":1787154694,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab87f70"} 
[2026-08-19 21:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-19 21:22:44] 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-08-19 21: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-08-19 21:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511524608001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511524608001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:22:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:22:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511524608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":158258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:22:44] local.INFO: GPS data processed {"connection_id":158258,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:22:44] local.INFO: Acknowledgment sent {"connection_id":158258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:22:59] local.INFO: TCP Data received {"connection_id":160441,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:22:59] local.INFO: Processing buffer {"connection_id":160441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:22:59] local.INFO: IMEI packet received {"connection_id":160441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":160441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:23:01] local.INFO: TCP Data received {"connection_id":160441,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:23:01] local.INFO: Processing buffer {"connection_id":160441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:23:01] local.INFO: IMEI packet received {"connection_id":160441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":160441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:23:02] local.INFO: TCP Data received {"connection_id":160441,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab840f0012d08078006f62978000d008f32..."} 
[2026-08-19 21:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab840f0012d08078006f62978000d008f32..."} 
[2026-08-19 21:23:02] local.INFO: Processing buffer {"connection_id":160441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab840f0012d08078006f62978000d008f32..."} 
[2026-08-19 21:23:02] local.INFO: Packet analysis {"connection_id":160441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:23:02] local.INFO: Extracted packet for processing {"connection_id":160441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:23:02] local.INFO: GPS Element Parsed {"raw_longitude":755500928,"raw_latitude":116795768,"longitude_deg":75.5500928,"latitude_deg":11.6795768,"altitude":13,"angle":143,"satellites":50,"speed":4,"hex_longitude":"2d080780","hex_latitude":"06f62978","is_valid_coordinates":true} 
[2026-08-19 21:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511592192001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386215729977884672,"note":"Value kept but may cause issues"} 
[2026-08-19 21:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":576108938482925568,"note":"Value kept but may cause issues"} 
[2026-08-19 21:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787154678000,"timestamp_ms":1787154678000,"timestamp_seconds":1787154678,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab840f0"} 
[2026-08-19 21:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 21:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511592192001,"66":26582,"69":206,"2":56576,"24":4,"16":386215729977884672,"45":576108938482925568},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-19 21:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511592192001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:23:02] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-19 21:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386215729977884672,"km_value":386215729977884.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":576108938482925568,"description":"Unknown IO ID 45"} 
[2026-08-19 21:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511592192001,"power":26582,"unknown_69":206,"power_alt":56576,"ignition":4,"odometer":null,"unknown_45":576108938482925568}} 
[2026-08-19 21:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":160441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:23:02] local.INFO: GPS data processed {"connection_id":160441,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:23:02] local.INFO: Acknowledgment sent {"connection_id":160441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:23:04] local.INFO: TCP Data received {"connection_id":160441,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab892f8012d08160006f618d0000f008a34..."} 
[2026-08-19 21:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab892f8012d08160006f618d0000f008a34..."} 
[2026-08-19 21:23:04] local.INFO: Processing buffer {"connection_id":160441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab892f8012d08160006f618d0000f008a34..."} 
[2026-08-19 21:23:04] local.INFO: Packet analysis {"connection_id":160441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:23:04] local.INFO: Extracted packet for processing {"connection_id":160441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:23:04] local.INFO: GPS Element Parsed {"raw_longitude":755504640,"raw_latitude":116791504,"longitude_deg":75.550464,"latitude_deg":11.6791504,"altitude":15,"angle":138,"satellites":52,"speed":22,"hex_longitude":"2d081600","hex_latitude":"06f618d0","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511597568001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386216000560824320,"note":"Value kept but may cause issues"} 
[2026-08-19 21:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":578571844528470016,"note":"Value kept but may cause issues"} 
[2026-08-19 21:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787154699000,"timestamp_ms":1787154699000,"timestamp_seconds":1787154699,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab892f8"} 
[2026-08-19 21:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:23: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-08-19 21: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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-19 21:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511597568001,"66":27321,"69":206,"2":56576,"24":22,"16":386216000560824320,"45":578571844528470016},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-19 21:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511597568001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:23:04] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-19 21:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386216000560824320,"km_value":386216000560824.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":578571844528470016,"description":"Unknown IO ID 45"} 
[2026-08-19 21:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511597568001,"power":27321,"unknown_69":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":578571844528470016}} 
[2026-08-19 21:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":160441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:23:04] local.INFO: GPS data processed {"connection_id":160441,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:23:04] local.INFO: Acknowledgment sent {"connection_id":160441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:23:08] local.INFO: TCP Data received {"connection_id":157900,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:23:08] local.INFO: Processing buffer {"connection_id":157900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:23:08] local.INFO: IMEI packet received {"connection_id":157900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":157900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:23:13] local.INFO: TCP Data received {"connection_id":157900,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:23:13] local.INFO: Processing buffer {"connection_id":157900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:23:13] local.INFO: IMEI packet received {"connection_id":157900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":157900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:23:13] local.INFO: TCP Data received {"connection_id":157900,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:23:13] local.INFO: Processing buffer {"connection_id":157900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:23:13] local.INFO: Packet analysis {"connection_id":157900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:23:13] local.INFO: Extracted packet for processing {"connection_id":157900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:23:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511524608001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787154694000,"timestamp_ms":1787154694000,"timestamp_seconds":1787154694,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab87f70"} 
[2026-08-19 21:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:23:13] 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-08-19 21:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-19 21:23: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-08-19 21:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511524608001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511524608001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:23:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:23:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511524608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":157900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:23:14] local.INFO: GPS data processed {"connection_id":157900,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:23:14] local.INFO: Acknowledgment sent {"connection_id":157900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:23:36] local.INFO: TCP Data received {"connection_id":160441,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab8a680012d081cc006f610780010009631..."} 
[2026-08-19 21:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab8a680012d081cc006f610780010009631..."} 
[2026-08-19 21:23:36] local.INFO: Processing buffer {"connection_id":160441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab8a680012d081cc006f610780010009631..."} 
[2026-08-19 21:23:36] local.INFO: Packet analysis {"connection_id":160441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:23:36] local.INFO: Extracted packet for processing {"connection_id":160441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:23:36] local.INFO: GPS Element Parsed {"raw_longitude":755506368,"raw_latitude":116789368,"longitude_deg":75.5506368,"latitude_deg":11.6789368,"altitude":16,"angle":150,"satellites":49,"speed":23,"hex_longitude":"2d081cc0","hex_latitude":"06f61078","is_valid_coordinates":true} 
[2026-08-19 21:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511602944001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386216133704810496,"note":"Value kept but may cause issues"} 
[2026-08-19 21:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":582653231689682944,"note":"Value kept but may cause issues"} 
[2026-08-19 21:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787154704000,"timestamp_ms":1787154704000,"timestamp_seconds":1787154704,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab8a680"} 
[2026-08-19 21:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 21:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511602944001,"66":27365,"69":206,"2":56576,"24":23,"16":386216133704810496,"45":582653231689682944},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-19 21:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511602944001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:23:36] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-19 21:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386216133704810496,"km_value":386216133704810.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":582653231689682944,"description":"Unknown IO ID 45"} 
[2026-08-19 21:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511602944001,"power":27365,"unknown_69":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":582653231689682944}} 
[2026-08-19 21:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":160441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:23:36] local.INFO: GPS data processed {"connection_id":160441,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:23:36] local.INFO: Acknowledgment sent {"connection_id":160441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:23:44] local.INFO: TCP Data received {"connection_id":157900,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:23:44] local.INFO: Processing buffer {"connection_id":157900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:23:44] local.INFO: Packet analysis {"connection_id":157900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:23:44] local.INFO: Extracted packet for processing {"connection_id":157900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:23:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 21:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511524608001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787154694000,"timestamp_ms":1787154694000,"timestamp_seconds":1787154694,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab87f70"} 
[2026-08-19 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-08-19 21:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":129,"data_length":795,"current_offset":136} 
[2026-08-19 21:23:44] 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-08-19 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-08-19 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-08-19 21:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511524608001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511524608001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:23:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:23:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511524608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":157900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:23:45] local.INFO: GPS data processed {"connection_id":157900,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:23:45] local.INFO: Acknowledgment sent {"connection_id":157900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:23:58] local.INFO: TCP Data received {"connection_id":157901,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:23:58] local.INFO: Processing buffer {"connection_id":157901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:23:58] local.INFO: IMEI packet received {"connection_id":157901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":157901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:23:59] local.INFO: TCP Data received {"connection_id":157901,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:23:59] local.INFO: Processing buffer {"connection_id":157901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:23:59] local.INFO: IMEI packet received {"connection_id":157901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":157901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:24:03] local.INFO: TCP Data received {"connection_id":157901,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:24:03] local.INFO: Processing buffer {"connection_id":157901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:24:03] local.INFO: IMEI packet received {"connection_id":157901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":157901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:24:05] local.INFO: TCP Data received {"connection_id":157901,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab8b620012d0822c006f608380010008831..."} 
[2026-08-19 21:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab8b620012d0822c006f608380010008831..."} 
[2026-08-19 21:24:05] local.INFO: Processing buffer {"connection_id":157901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab8b620012d0822c006f608380010008831..."} 
[2026-08-19 21:24:05] local.INFO: Packet analysis {"connection_id":157901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:24:05] local.INFO: Extracted packet for processing {"connection_id":157901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:24:05] local.INFO: GPS Element Parsed {"raw_longitude":755507904,"raw_latitude":116787256,"longitude_deg":75.5507904,"latitude_deg":11.6787256,"altitude":16,"angle":136,"satellites":49,"speed":28,"hex_longitude":"2d0822c0","hex_latitude":"06f60838","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511604224001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386216262553829376,"note":"Value kept but may cause issues"} 
[2026-08-19 21:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":584553187781933056,"note":"Value kept but may cause issues"} 
[2026-08-19 21:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787154708000,"timestamp_ms":1787154708000,"timestamp_seconds":1787154708,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab8b620"} 
[2026-08-19 21:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:24: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-08-19 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 21:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511604224001,"66":27300,"69":206,"2":56576,"24":28,"16":386216262553829376,"45":584553187781933056},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-19 21:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511604224001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:24:05] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-19 21:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386216262553829376,"km_value":386216262553829.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":584553187781933056,"description":"Unknown IO ID 45"} 
[2026-08-19 21:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511604224001,"power":27300,"unknown_69":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":584553187781933056}} 
[2026-08-19 21:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":157901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:24:05] local.INFO: GPS data processed {"connection_id":157901,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:24:05] local.INFO: Acknowledgment sent {"connection_id":157901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:24:06] local.INFO: TCP Data received {"connection_id":157901,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab8dd30012d083b4006f5ee600010008b33..."} 
[2026-08-19 21:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab8dd30012d083b4006f5ee600010008b33..."} 
[2026-08-19 21:24:06] local.INFO: Processing buffer {"connection_id":157901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab8dd30012d083b4006f5ee600010008b33..."} 
[2026-08-19 21:24:06] local.INFO: Packet analysis {"connection_id":157901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:24:06] local.INFO: Extracted packet for processing {"connection_id":157901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:24:06] local.INFO: GPS Element Parsed {"raw_longitude":755514176,"raw_latitude":116780640,"longitude_deg":75.5514176,"latitude_deg":11.678064,"altitude":16,"angle":139,"satellites":51,"speed":42,"hex_longitude":"2d083b40","hex_latitude":"06f5ee60","is_valid_coordinates":true} 
[2026-08-19 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-08-19 21:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511605248001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386216696345526272,"note":"Value kept but may cause issues"} 
[2026-08-19 21:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":586242037641656320,"note":"Value kept but may cause issues"} 
[2026-08-19 21:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787154718000,"timestamp_ms":1787154718000,"timestamp_seconds":1787154718,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab8dd30"} 
[2026-08-19 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-08-19 21:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 21:24:06] 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-08-19 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-08-19 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-08-19 21:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511605248001,"66":27213,"69":206,"2":56576,"24":42,"16":386216696345526272,"45":586242037641656320},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-08-19 21:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511605248001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:24:06] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-19 21:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386216696345526272,"km_value":386216696345526.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":586242037641656320,"description":"Unknown IO ID 45"} 
[2026-08-19 21:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511605248001,"power":27213,"unknown_69":206,"power_alt":56576,"ignition":42,"odometer":null,"unknown_45":586242037641656320}} 
[2026-08-19 21:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":157901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:24:06] local.INFO: GPS data processed {"connection_id":157901,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:24:06] local.INFO: Acknowledgment sent {"connection_id":157901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:24:07] local.INFO: TCP Data received {"connection_id":158259,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:24:07] local.INFO: Processing buffer {"connection_id":158259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:24:07] local.INFO: IMEI packet received {"connection_id":158259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":158259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:24:13] local.INFO: TCP Data received {"connection_id":158259,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:24:13] local.INFO: Processing buffer {"connection_id":158259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:24:13] local.INFO: IMEI packet received {"connection_id":158259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":158259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:24:13] local.INFO: TCP Data received {"connection_id":158259,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:24:13] local.INFO: Processing buffer {"connection_id":158259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:24:13] local.INFO: Packet analysis {"connection_id":158259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:24:13] local.INFO: Extracted packet for processing {"connection_id":158259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:24:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511524608001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787154694000,"timestamp_ms":1787154694000,"timestamp_seconds":1787154694,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab87f70"} 
[2026-08-19 21:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:24:13] 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-08-19 21:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-19 21:24: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-08-19 21:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:24:13] 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-08-19 21:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511524608001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511524608001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:24:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:24:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511524608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":158259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:24:13] local.INFO: GPS data processed {"connection_id":158259,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:24:13] local.INFO: Acknowledgment sent {"connection_id":158259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:24:38] local.INFO: TCP Data received {"connection_id":157901,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aba63d0012d09154006f4d6b8000c008d34..."} 
[2026-08-19 21:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aba63d0012d09154006f4d6b8000c008d34..."} 
[2026-08-19 21:24:38] local.INFO: Processing buffer {"connection_id":157901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aba63d0012d09154006f4d6b8000c008d34..."} 
[2026-08-19 21:24:38] local.INFO: Packet analysis {"connection_id":157901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aba"} 
[2026-08-19 21:24:38] local.INFO: Extracted packet for processing {"connection_id":157901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aba"} 
[2026-08-19 21:24:38] local.INFO: GPS Element Parsed {"raw_longitude":755569984,"raw_latitude":116709048,"longitude_deg":75.5569984,"latitude_deg":11.6709048,"altitude":12,"angle":141,"satellites":52,"speed":38,"hex_longitude":"2d091540","hex_latitude":"06f4d6b8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 21:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511630336001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386221098687004672,"note":"Value kept but may cause issues"} 
[2026-08-19 21:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":647603582546458624,"note":"Value kept but may cause issues"} 
[2026-08-19 21:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787154818000,"timestamp_ms":1787154818000,"timestamp_seconds":1787154818,"priority":1,"record_length":96,"hex_timestamp":"000001a01aba63d0"} 
[2026-08-19 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-08-19 21:24: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-08-19 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 21:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 21:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511630336001,"66":27397,"67":206,"2":56576,"24":38,"16":386221098687004672,"45":647603582546458624},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-19 21:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511630336001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:24:38] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 21:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386221098687004672,"km_value":386221098687004.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":647603582546458624,"description":"Unknown IO ID 45"} 
[2026-08-19 21:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511630336001,"power":27397,"unknown_67":206,"power_alt":56576,"ignition":38,"odometer":null,"unknown_45":647603582546458624}} 
[2026-08-19 21:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":157901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:24:38] local.INFO: GPS data processed {"connection_id":157901,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:24:38] local.INFO: Acknowledgment sent {"connection_id":157901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:24:45] local.INFO: TCP Data received {"connection_id":158259,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:24:45] local.INFO: Processing buffer {"connection_id":158259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:24:45] local.INFO: Packet analysis {"connection_id":158259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:24:45] local.INFO: Extracted packet for processing {"connection_id":158259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:24:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511524608001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787154694000,"timestamp_ms":1787154694000,"timestamp_seconds":1787154694,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab87f70"} 
[2026-08-19 21:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:24:45] 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-08-19 21:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-19 21:24:45] 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-08-19 21:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:24:45] 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-08-19 21:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511524608001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511524608001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:24:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:24:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511524608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":158259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:24:45] local.INFO: GPS data processed {"connection_id":158259,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:24:45] local.INFO: Acknowledgment sent {"connection_id":158259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:24:58] local.INFO: TCP Data received {"connection_id":157902,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:24:58] local.INFO: Processing buffer {"connection_id":157902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:24:58] local.INFO: IMEI packet received {"connection_id":157902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":157902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:25:02] local.INFO: TCP Data received {"connection_id":157902,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:25:02] local.INFO: Processing buffer {"connection_id":157902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:25:02] local.INFO: IMEI packet received {"connection_id":157902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":157902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:25:03] local.INFO: TCP Data received {"connection_id":157902,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aba86f8012d092c8006f4b7e0000c008e33..."} 
[2026-08-19 21:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aba86f8012d092c8006f4b7e0000c008e33..."} 
[2026-08-19 21:25:03] local.INFO: Processing buffer {"connection_id":157902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aba86f8012d092c8006f4b7e0000c008e33..."} 
[2026-08-19 21:25:03] local.INFO: Packet analysis {"connection_id":157902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aba"} 
[2026-08-19 21:25:03] local.INFO: Extracted packet for processing {"connection_id":157902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aba"} 
[2026-08-19 21:25:03] local.INFO: GPS Element Parsed {"raw_longitude":755575936,"raw_latitude":116701152,"longitude_deg":75.5575936,"latitude_deg":11.6701152,"altitude":12,"angle":142,"satellites":51,"speed":45,"hex_longitude":"2d092c80","hex_latitude":"06f4b7e0","is_valid_coordinates":true} 
[2026-08-19 21:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511633408001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386221575428374528,"note":"Value kept but may cause issues"} 
[2026-08-19 21:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":654499719473969152,"note":"Value kept but may cause issues"} 
[2026-08-19 21:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787154827000,"timestamp_ms":1787154827000,"timestamp_seconds":1787154827,"priority":1,"record_length":96,"hex_timestamp":"000001a01aba86f8"} 
[2026-08-19 21:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:25: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-08-19 21:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 21:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":157902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":157902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":157902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511633408001,"66":27300,"67":206,"2":56576,"24":45,"16":386221575428374528,"45":654499719473969152},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-19 21:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511633408001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:25:03] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 21:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386221575428374528,"km_value":386221575428374.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":654499719473969152,"description":"Unknown IO ID 45"} 
[2026-08-19 21:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511633408001,"power":27300,"unknown_67":206,"power_alt":56576,"ignition":45,"odometer":null,"unknown_45":654499719473969152}} 
[2026-08-19 21:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":157902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:25:03] local.INFO: GPS data processed {"connection_id":157902,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:25:03] local.INFO: Acknowledgment sent {"connection_id":157902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:25:07] local.INFO: TCP Data received {"connection_id":159122,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:25:07] local.INFO: Processing buffer {"connection_id":159122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:25:07] local.INFO: IMEI packet received {"connection_id":159122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":159122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:25:13] local.INFO: TCP Data received {"connection_id":159122,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:25:13] local.INFO: Processing buffer {"connection_id":159122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:25:13] local.INFO: IMEI packet received {"connection_id":159122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":159122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:25:13] local.INFO: TCP Data received {"connection_id":159122,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:25:13] local.INFO: Processing buffer {"connection_id":159122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:25:13] local.INFO: Packet analysis {"connection_id":159122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:25:13] local.INFO: Extracted packet for processing {"connection_id":159122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:25:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511524608001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787154694000,"timestamp_ms":1787154694000,"timestamp_seconds":1787154694,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab87f70"} 
[2026-08-19 21:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:25:13] 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-08-19 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-19 21:25: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-08-19 21: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-08-19 21:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511524608001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511524608001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:25:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:25:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511524608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":159122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:25:13] local.INFO: GPS data processed {"connection_id":159122,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:25:13] local.INFO: Acknowledgment sent {"connection_id":159122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:25:36] local.INFO: TCP Data received {"connection_id":157902,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01abaa638012d09430006f498f0000c009434..."} 
[2026-08-19 21:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abaa638012d09430006f498f0000c009434..."} 
[2026-08-19 21:25:36] local.INFO: Processing buffer {"connection_id":157902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abaa638012d09430006f498f0000c009434..."} 
[2026-08-19 21:25:36] local.INFO: Packet analysis {"connection_id":157902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aba"} 
[2026-08-19 21:25:36] local.INFO: Extracted packet for processing {"connection_id":157902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aba"} 
[2026-08-19 21:25:36] local.INFO: GPS Element Parsed {"raw_longitude":755581696,"raw_latitude":116693232,"longitude_deg":75.5581696,"latitude_deg":11.6693232,"altitude":12,"angle":148,"satellites":52,"speed":46,"hex_longitude":"2d094300","hex_latitude":"06f498f0","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511635712001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386222047874777088,"note":"Value kept but may cause issues"} 
[2026-08-19 21:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":661044012680470528,"note":"Value kept but may cause issues"} 
[2026-08-19 21:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787154835000,"timestamp_ms":1787154835000,"timestamp_seconds":1787154835,"priority":1,"record_length":96,"hex_timestamp":"000001a01abaa638"} 
[2026-08-19 21:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:25: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-08-19 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 21:25:36] 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-08-19 21: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-08-19 21:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511635712001,"66":27332,"67":206,"2":56576,"24":46,"16":386222047874777088,"45":661044012680470528},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-19 21:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511635712001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:25:36] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 21:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386222047874777088,"km_value":386222047874777.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":661044012680470528,"description":"Unknown IO ID 45"} 
[2026-08-19 21:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511635712001,"power":27332,"unknown_67":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":661044012680470528}} 
[2026-08-19 21:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":157902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:25:36] local.INFO: GPS data processed {"connection_id":157902,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:25:36] local.INFO: Acknowledgment sent {"connection_id":157902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:25:44] local.INFO: TCP Data received {"connection_id":159122,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:25:44] local.INFO: Processing buffer {"connection_id":159122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:25:44] local.INFO: Packet analysis {"connection_id":159122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:25:44] local.INFO: Extracted packet for processing {"connection_id":159122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:25:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511524608001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787154694000,"timestamp_ms":1787154694000,"timestamp_seconds":1787154694,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab87f70"} 
[2026-08-19 21:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-19 21:25:44] 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-08-19 21: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-08-19 21:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511524608001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511524608001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:25:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:25:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511524608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":159122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:25:45] local.INFO: GPS data processed {"connection_id":159122,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:25:45] local.INFO: Acknowledgment sent {"connection_id":159122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:25:58] local.INFO: TCP Data received {"connection_id":159123,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:25:58] local.INFO: Processing buffer {"connection_id":159123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:25:58] local.INFO: IMEI packet received {"connection_id":159123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":159123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:25:58] local.INFO: TCP Data received {"connection_id":159123,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:25:58] local.INFO: Processing buffer {"connection_id":159123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:25:58] local.INFO: IMEI packet received {"connection_id":159123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":159123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:26:03] local.INFO: TCP Data received {"connection_id":159123,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:26:03] local.INFO: Processing buffer {"connection_id":159123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:26:03] local.INFO: IMEI packet received {"connection_id":159123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":159123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:26:05] local.INFO: TCP Data received {"connection_id":159123,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01abac578012d09554006f47698000d009a33..."} 
[2026-08-19 21:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abac578012d09554006f47698000d009a33..."} 
[2026-08-19 21:26:05] local.INFO: Processing buffer {"connection_id":159123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abac578012d09554006f47698000d009a33..."} 
[2026-08-19 21:26:05] local.INFO: Packet analysis {"connection_id":159123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aba"} 
[2026-08-19 21:26:05] local.INFO: Extracted packet for processing {"connection_id":159123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aba"} 
[2026-08-19 21:26:05] local.INFO: GPS Element Parsed {"raw_longitude":755586368,"raw_latitude":116684440,"longitude_deg":75.5586368,"latitude_deg":11.668444,"altitude":13,"angle":154,"satellites":51,"speed":52,"hex_longitude":"2d095540","hex_latitude":"06f47698","is_valid_coordinates":true} 
[2026-08-19 21:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511637760001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386222528911114240,"note":"Value kept but may cause issues"} 
[2026-08-19 21:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":667377199654432768,"note":"Value kept but may cause issues"} 
[2026-08-19 21:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787154843000,"timestamp_ms":1787154843000,"timestamp_seconds":1787154843,"priority":1,"record_length":96,"hex_timestamp":"000001a01abac578"} 
[2026-08-19 21:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:26: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-08-19 21:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 21:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511637760001,"66":27267,"67":206,"2":56576,"24":52,"16":386222528911114240,"45":667377199654432768},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-19 21:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511637760001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:26:05] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 21:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386222528911114240,"km_value":386222528911114.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":667377199654432768,"description":"Unknown IO ID 45"} 
[2026-08-19 21:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511637760001,"power":27267,"unknown_67":206,"power_alt":56576,"ignition":52,"odometer":null,"unknown_45":667377199654432768}} 
[2026-08-19 21:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":159123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:26:05] local.INFO: GPS data processed {"connection_id":159123,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:26:05] local.INFO: Acknowledgment sent {"connection_id":159123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:26:13] local.INFO: TCP Data received {"connection_id":160442,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:26:13] local.INFO: Processing buffer {"connection_id":160442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:26:13] local.INFO: IMEI packet received {"connection_id":160442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":160442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:26:18] local.INFO: TCP Data received {"connection_id":160442,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:26:18] local.INFO: Processing buffer {"connection_id":160442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:26:18] local.INFO: IMEI packet received {"connection_id":160442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":160442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:26:18] local.INFO: TCP Data received {"connection_id":160442,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:26:18] local.INFO: Processing buffer {"connection_id":160442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:26:18] local.INFO: Packet analysis {"connection_id":160442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:26:18] local.INFO: Extracted packet for processing {"connection_id":160442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511524608001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787154694000,"timestamp_ms":1787154694000,"timestamp_seconds":1787154694,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab87f70"} 
[2026-08-19 21:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:26:18] 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-08-19 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-19 21:26:18] 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-08-19 21: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-08-19 21:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511524608001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511524608001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:26:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:26:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511524608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":160442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:26:18] local.INFO: GPS data processed {"connection_id":160442,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:26:18] local.INFO: Acknowledgment sent {"connection_id":160442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:26:23] local.INFO: TCP Data received {"connection_id":160442,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:26:23] local.INFO: Processing buffer {"connection_id":160442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ab87f70012d196500071ff128004101462b..."} 
[2026-08-19 21:26:23] local.INFO: Packet analysis {"connection_id":160442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:26:23] local.INFO: Extracted packet for processing {"connection_id":160442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ab8"} 
[2026-08-19 21:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 21:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511524608001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787154694000,"timestamp_ms":1787154694000,"timestamp_seconds":1787154694,"priority":1,"record_length":96,"hex_timestamp":"000001a01ab87f70"} 
[2026-08-19 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-08-19 21:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-19 21:26:23] 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-08-19 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-08-19 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-08-19 21:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511524608001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511524608001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:26:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:26:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511524608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":160442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:26:23] local.INFO: GPS data processed {"connection_id":160442,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:26:23] local.INFO: Acknowledgment sent {"connection_id":160442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:26:36] local.INFO: TCP Data received {"connection_id":159123,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01abae0d0012d09618006f45380000d00a334..."} 
[2026-08-19 21:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abae0d0012d09618006f45380000d00a334..."} 
[2026-08-19 21:26:36] local.INFO: Processing buffer {"connection_id":159123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abae0d0012d09618006f45380000d00a334..."} 
[2026-08-19 21:26:36] local.INFO: Packet analysis {"connection_id":159123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aba"} 
[2026-08-19 21:26:36] local.INFO: Extracted packet for processing {"connection_id":159123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aba"} 
[2026-08-19 21:26:36] local.INFO: GPS Element Parsed {"raw_longitude":755589504,"raw_latitude":116675456,"longitude_deg":75.5589504,"latitude_deg":11.6675456,"altitude":13,"angle":163,"satellites":52,"speed":56,"hex_longitude":"2d096180","hex_latitude":"06f45380","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511639808001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386222988472614912,"note":"Value kept but may cause issues"} 
[2026-08-19 21:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":672514117977151488,"note":"Value kept but may cause issues"} 
[2026-08-19 21:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787154850000,"timestamp_ms":1787154850000,"timestamp_seconds":1787154850,"priority":1,"record_length":96,"hex_timestamp":"000001a01abae0d0"} 
[2026-08-19 21:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:26: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-08-19 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 21:26:36] 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-08-19 21: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-08-19 21:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511639808001,"66":27397,"67":206,"2":56576,"24":56,"16":386222988472614912,"45":672514117977151488},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-08-19 21:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511639808001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:26:36] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-19 21:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386222988472614912,"km_value":386222988472614.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":672514117977151488,"description":"Unknown IO ID 45"} 
[2026-08-19 21:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511639808001,"power":27397,"unknown_67":206,"power_alt":56576,"ignition":56,"odometer":null,"unknown_45":672514117977151488}} 
[2026-08-19 21:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":159123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:26:36] local.INFO: GPS data processed {"connection_id":159123,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:26:36] local.INFO: Acknowledgment sent {"connection_id":159123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:26:58] local.INFO: TCP Data received {"connection_id":157903,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:26:58] local.INFO: Processing buffer {"connection_id":157903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:26:58] local.INFO: IMEI packet received {"connection_id":157903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":157903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:27:03] local.INFO: TCP Data received {"connection_id":157903,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:27:03] local.INFO: Processing buffer {"connection_id":157903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:27:03] local.INFO: IMEI packet received {"connection_id":157903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":157903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:27:06] local.INFO: TCP Data received {"connection_id":157903,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01abc7710012d09ad0006f2db40001300ae30..."} 
[2026-08-19 21:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abc7710012d09ad0006f2db40001300ae30..."} 
[2026-08-19 21:27:06] local.INFO: Processing buffer {"connection_id":157903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abc7710012d09ad0006f2db40001300ae30..."} 
[2026-08-19 21:27:06] local.INFO: Packet analysis {"connection_id":157903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abc"} 
[2026-08-19 21:27:06] local.INFO: Extracted packet for processing {"connection_id":157903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abc"} 
[2026-08-19 21:27:06] local.INFO: GPS Element Parsed {"raw_longitude":755608832,"raw_latitude":116579136,"longitude_deg":75.5608832,"latitude_deg":11.6579136,"altitude":19,"angle":174,"satellites":48,"speed":35,"hex_longitude":"2d09ad00","hex_latitude":"06f2db40","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511665664001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386227768771215360,"note":"Value kept but may cause issues"} 
[2026-08-19 21:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":696087647252164608,"note":"Value kept but may cause issues"} 
[2026-08-19 21:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787154954000,"timestamp_ms":1787154954000,"timestamp_seconds":1787154954,"priority":1,"record_length":96,"hex_timestamp":"000001a01abc7710"} 
[2026-08-19 21:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 21:27:06] 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-08-19 21: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-08-19 21:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511665664001,"66":27397,"119":206,"2":56576,"24":35,"16":386227768771215360,"45":696087647252164608},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511665664001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:27:06] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386227768771215360,"km_value":386227768771215.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":696087647252164608,"description":"Unknown IO ID 45"} 
[2026-08-19 21:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511665664001,"power":27397,"unknown_119":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":696087647252164608}} 
[2026-08-19 21:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":157903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:27:06] local.INFO: GPS data processed {"connection_id":157903,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:27:06] local.INFO: Acknowledgment sent {"connection_id":157903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:27:08] local.INFO: TCP Data received {"connection_id":157904,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:27:08] local.INFO: Processing buffer {"connection_id":157904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:27:08] local.INFO: IMEI packet received {"connection_id":157904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":157904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:27:13] local.INFO: TCP Data received {"connection_id":157904,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:27:13] local.INFO: Processing buffer {"connection_id":157904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:27:13] local.INFO: IMEI packet received {"connection_id":157904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":157904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:27:13] local.INFO: TCP Data received {"connection_id":157904,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:27:13] local.INFO: Processing buffer {"connection_id":157904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:27:13] local.INFO: Packet analysis {"connection_id":157904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:27:13] local.INFO: Extracted packet for processing {"connection_id":157904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:27:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511601664001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787154994000,"timestamp_ms":1787154994000,"timestamp_seconds":1787154994,"priority":1,"record_length":96,"hex_timestamp":"000001a01abd1350"} 
[2026-08-19 21:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511601664001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511601664001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:27:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:27:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511601664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":157904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:27:13] local.INFO: GPS data processed {"connection_id":157904,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:27:13] local.INFO: Acknowledgment sent {"connection_id":157904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:27:39] local.INFO: TCP Data received {"connection_id":157903,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01abca208012d09b00006f2c010001100a231..."} 
[2026-08-19 21:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abca208012d09b00006f2c010001100a231..."} 
[2026-08-19 21:27:39] local.INFO: Processing buffer {"connection_id":157903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abca208012d09b00006f2c010001100a231..."} 
[2026-08-19 21:27:39] local.INFO: Packet analysis {"connection_id":157903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abc"} 
[2026-08-19 21:27:39] local.INFO: Extracted packet for processing {"connection_id":157903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abc"} 
[2026-08-19 21:27:39] local.INFO: GPS Element Parsed {"raw_longitude":755609600,"raw_latitude":116572176,"longitude_deg":75.56096,"latitude_deg":11.6572176,"altitude":17,"angle":162,"satellites":49,"speed":19,"hex_longitude":"2d09b000","hex_latitude":"06f2c010","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511668224001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386228108073631744,"note":"Value kept but may cause issues"} 
[2026-08-19 21:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697213547156553728,"note":"Value kept but may cause issues"} 
[2026-08-19 21:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787154965000,"timestamp_ms":1787154965000,"timestamp_seconds":1787154965,"priority":1,"record_length":96,"hex_timestamp":"000001a01abca208"} 
[2026-08-19 21:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 21:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511668224001,"66":27213,"119":206,"2":56576,"24":19,"16":386228108073631744,"45":697213547156553728},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511668224001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:27:39] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386228108073631744,"km_value":386228108073631.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":697213547156553728,"description":"Unknown IO ID 45"} 
[2026-08-19 21:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511668224001,"power":27213,"unknown_119":206,"power_alt":56576,"ignition":19,"odometer":null,"unknown_45":697213547156553728}} 
[2026-08-19 21:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":157903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:27:39] local.INFO: GPS data processed {"connection_id":157903,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:27:39] local.INFO: Acknowledgment sent {"connection_id":157903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:27:45] local.INFO: TCP Data received {"connection_id":157904,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:27:45] local.INFO: Processing buffer {"connection_id":157904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:27:45] local.INFO: Packet analysis {"connection_id":157904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:27:45] local.INFO: Extracted packet for processing {"connection_id":157904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:27:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:27: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-08-19 21:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511601664001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787154994000,"timestamp_ms":1787154994000,"timestamp_seconds":1787154994,"priority":1,"record_length":96,"hex_timestamp":"000001a01abd1350"} 
[2026-08-19 21:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:27: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":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:27: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-08-19 21:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511601664001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511601664001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:27:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:27:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511601664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":157904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:27:45] local.INFO: GPS data processed {"connection_id":157904,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:27:45] local.INFO: Acknowledgment sent {"connection_id":157904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:28:03] local.INFO: TCP Data received {"connection_id":157905,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:28:03] local.INFO: Processing buffer {"connection_id":157905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:28:03] local.INFO: IMEI packet received {"connection_id":157905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":157905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:28:07] local.INFO: TCP Data received {"connection_id":157906,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:28:07] local.INFO: Processing buffer {"connection_id":157906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:28:07] local.INFO: IMEI packet received {"connection_id":157906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":157906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:28:08] local.INFO: TCP Data received {"connection_id":157905,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:28:08] local.INFO: Processing buffer {"connection_id":157905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:28:08] local.INFO: IMEI packet received {"connection_id":157905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":157905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:28:10] local.INFO: TCP Data received {"connection_id":157905,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01abcc530012d09b54006f2ae28000e00ae31..."} 
[2026-08-19 21:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abcc530012d09b54006f2ae28000e00ae31..."} 
[2026-08-19 21:28:10] local.INFO: Processing buffer {"connection_id":157905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abcc530012d09b54006f2ae28000e00ae31..."} 
[2026-08-19 21:28:10] local.INFO: Packet analysis {"connection_id":157905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abc"} 
[2026-08-19 21:28:10] local.INFO: Extracted packet for processing {"connection_id":157905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abc"} 
[2026-08-19 21:28:10] local.INFO: GPS Element Parsed {"raw_longitude":755610944,"raw_latitude":116567592,"longitude_deg":75.5610944,"latitude_deg":11.6567592,"altitude":14,"angle":174,"satellites":49,"speed":25,"hex_longitude":"2d09b540","hex_latitude":"06f2ae28","is_valid_coordinates":true} 
[2026-08-19 21:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511671040001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386228340001865728,"note":"Value kept but may cause issues"} 
[2026-08-19 21:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":698057972084903936,"note":"Value kept but may cause issues"} 
[2026-08-19 21:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787154974000,"timestamp_ms":1787154974000,"timestamp_seconds":1787154974,"priority":1,"record_length":96,"hex_timestamp":"000001a01abcc530"} 
[2026-08-19 21:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:28: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-08-19 21:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 21:28:10] 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-08-19 21:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511671040001,"66":27343,"119":206,"2":56576,"24":25,"16":386228340001865728,"45":698057972084903936},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511671040001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:28:10] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386228340001865728,"km_value":386228340001865.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":698057972084903936,"description":"Unknown IO ID 45"} 
[2026-08-19 21:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511671040001,"power":27343,"unknown_119":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":698057972084903936}} 
[2026-08-19 21:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":157905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:28:10] local.INFO: GPS data processed {"connection_id":157905,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:28:10] local.INFO: Acknowledgment sent {"connection_id":157905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:28:12] local.INFO: TCP Data received {"connection_id":157905,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01abcf7f8012d09bc0006f28b18000b00a62f..."} 
[2026-08-19 21:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abcf7f8012d09bc0006f28b18000b00a62f..."} 
[2026-08-19 21:28:12] local.INFO: Processing buffer {"connection_id":157905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abcf7f8012d09bc0006f28b18000b00a62f..."} 
[2026-08-19 21:28:12] local.INFO: Packet analysis {"connection_id":157905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abc"} 
[2026-08-19 21:28:12] local.INFO: Extracted packet for processing {"connection_id":157905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abc"} 
[2026-08-19 21:28:12] local.INFO: GPS Element Parsed {"raw_longitude":755612672,"raw_latitude":116558616,"longitude_deg":75.5612672,"latitude_deg":11.6558616,"altitude":11,"angle":166,"satellites":47,"speed":28,"hex_longitude":"2d09bc00","hex_latitude":"06f28b18","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511673344001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386228782383497216,"note":"Value kept but may cause issues"} 
[2026-08-19 21:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":699535715711461376,"note":"Value kept but may cause issues"} 
[2026-08-19 21:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787154987000,"timestamp_ms":1787154987000,"timestamp_seconds":1787154987,"priority":1,"record_length":96,"hex_timestamp":"000001a01abcf7f8"} 
[2026-08-19 21:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 21:28:12] 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-08-19 21: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-08-19 21:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511673344001,"66":26930,"119":206,"2":56576,"24":28,"16":386228782383497216,"45":699535715711461376},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511673344001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:28:12] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386228782383497216,"km_value":386228782383497.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":699535715711461376,"description":"Unknown IO ID 45"} 
[2026-08-19 21:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511673344001,"power":26930,"unknown_119":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":699535715711461376}} 
[2026-08-19 21:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":157905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:28:12] local.INFO: GPS data processed {"connection_id":157905,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:28:12] local.INFO: Acknowledgment sent {"connection_id":157905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:28:13] local.INFO: TCP Data received {"connection_id":157906,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:28:13] local.INFO: Processing buffer {"connection_id":157906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:28:13] local.INFO: IMEI packet received {"connection_id":157906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":157906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:28:14] local.INFO: TCP Data received {"connection_id":157906,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:28:14] local.INFO: Processing buffer {"connection_id":157906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:28:14] local.INFO: Packet analysis {"connection_id":157906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:28:14] local.INFO: Extracted packet for processing {"connection_id":157906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:28:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:28: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-08-19 21:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511601664001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787154994000,"timestamp_ms":1787154994000,"timestamp_seconds":1787154994,"priority":1,"record_length":96,"hex_timestamp":"000001a01abd1350"} 
[2026-08-19 21:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:28: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":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:28: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-08-19 21:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511601664001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511601664001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:28:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:28:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511601664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":157906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:28:14] local.INFO: GPS data processed {"connection_id":157906,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:28:14] local.INFO: Acknowledgment sent {"connection_id":157906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:28:44] local.INFO: TCP Data received {"connection_id":157905,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01abd3290012d09c4c006f268c8000800a532..."} 
[2026-08-19 21:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abd3290012d09c4c006f268c8000800a532..."} 
[2026-08-19 21:28:44] local.INFO: Processing buffer {"connection_id":157905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abd3290012d09c4c006f268c8000800a532..."} 
[2026-08-19 21:28:44] local.INFO: Packet analysis {"connection_id":157905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:28:44] local.INFO: Extracted packet for processing {"connection_id":157905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:28:44] local.INFO: GPS Element Parsed {"raw_longitude":755614912,"raw_latitude":116549832,"longitude_deg":75.5614912,"latitude_deg":11.6549832,"altitude":8,"angle":165,"satellites":50,"speed":24,"hex_longitude":"2d09c4c0","hex_latitude":"06f268c8","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511676672001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386229224765128704,"note":"Value kept but may cause issues"} 
[2026-08-19 21:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":701435671801960448,"note":"Value kept but may cause issues"} 
[2026-08-19 21:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787155002000,"timestamp_ms":1787155002000,"timestamp_seconds":1787155002,"priority":1,"record_length":96,"hex_timestamp":"000001a01abd3290"} 
[2026-08-19 21:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:28: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-08-19 21: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-19 21:28: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-08-19 21: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-08-19 21:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511676672001,"66":27365,"119":206,"2":56576,"24":24,"16":386229224765128704,"45":701435671801960448},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511676672001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:28:44] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386229224765128704,"km_value":386229224765128.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":701435671801960448,"description":"Unknown IO ID 45"} 
[2026-08-19 21:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511676672001,"power":27365,"unknown_119":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":701435671801960448}} 
[2026-08-19 21:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":157905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:28:44] local.INFO: GPS data processed {"connection_id":157905,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:28:44] local.INFO: Acknowledgment sent {"connection_id":157905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:28:45] local.INFO: TCP Data received {"connection_id":157906,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:28:45] local.INFO: Processing buffer {"connection_id":157906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:28:45] local.INFO: Packet analysis {"connection_id":157906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:28:45] local.INFO: Extracted packet for processing {"connection_id":157906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:28:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511601664001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787154994000,"timestamp_ms":1787154994000,"timestamp_seconds":1787154994,"priority":1,"record_length":96,"hex_timestamp":"000001a01abd1350"} 
[2026-08-19 21:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511601664001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511601664001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:28:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:28:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511601664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":157906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:28:45] local.INFO: GPS data processed {"connection_id":157906,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:28:45] local.INFO: Acknowledgment sent {"connection_id":157906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:28:58] local.INFO: TCP Data received {"connection_id":157907,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:28:58] local.INFO: Processing buffer {"connection_id":157907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:28:58] local.INFO: IMEI packet received {"connection_id":157907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":157907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:29:02] local.INFO: TCP Data received {"connection_id":157907,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:29:02] local.INFO: Processing buffer {"connection_id":157907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:29:02] local.INFO: IMEI packet received {"connection_id":157907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":157907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:29:04] local.INFO: TCP Data received {"connection_id":157907,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01abd7cc8012d09ce0006f24620000700a32e..."} 
[2026-08-19 21:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abd7cc8012d09ce0006f24620000700a32e..."} 
[2026-08-19 21:29:04] local.INFO: Processing buffer {"connection_id":157907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abd7cc8012d09ce0006f24620000700a32e..."} 
[2026-08-19 21:29:04] local.INFO: Packet analysis {"connection_id":157907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:29:04] local.INFO: Extracted packet for processing {"connection_id":157907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:29:04] local.INFO: GPS Element Parsed {"raw_longitude":755617280,"raw_latitude":116540960,"longitude_deg":75.561728,"latitude_deg":11.654096,"altitude":7,"angle":163,"satellites":46,"speed":24,"hex_longitude":"2d09ce00","hex_latitude":"06f24620","is_valid_coordinates":true} 
[2026-08-19 21:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511680512001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386229667146760192,"note":"Value kept but may cause issues"} 
[2026-08-19 21:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703898577845929984,"note":"Value kept but may cause issues"} 
[2026-08-19 21:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787155021000,"timestamp_ms":1787155021000,"timestamp_seconds":1787155021,"priority":1,"record_length":96,"hex_timestamp":"000001a01abd7cc8"} 
[2026-08-19 21:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:29: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-08-19 21:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 21:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511680512001,"66":27234,"119":206,"2":56576,"24":24,"16":386229667146760192,"45":703898577845929984},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511680512001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:29:04] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386229667146760192,"km_value":386229667146760.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":703898577845929984,"description":"Unknown IO ID 45"} 
[2026-08-19 21:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511680512001,"power":27234,"unknown_119":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":703898577845929984}} 
[2026-08-19 21:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":157907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:29:04] local.INFO: GPS data processed {"connection_id":157907,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:29:04] local.INFO: Acknowledgment sent {"connection_id":157907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:29:07] local.INFO: TCP Data received {"connection_id":159124,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:29:07] local.INFO: Processing buffer {"connection_id":159124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:29:07] local.INFO: IMEI packet received {"connection_id":159124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":159124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:29:13] local.INFO: TCP Data received {"connection_id":159124,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:29:13] local.INFO: Processing buffer {"connection_id":159124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:29:13] local.INFO: IMEI packet received {"connection_id":159124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":159124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:29:13] local.INFO: TCP Data received {"connection_id":159124,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:29:13] local.INFO: Processing buffer {"connection_id":159124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:29:13] local.INFO: Packet analysis {"connection_id":159124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:29:13] local.INFO: Extracted packet for processing {"connection_id":159124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:29:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511601664001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787154994000,"timestamp_ms":1787154994000,"timestamp_seconds":1787154994,"priority":1,"record_length":96,"hex_timestamp":"000001a01abd1350"} 
[2026-08-19 21:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511601664001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511601664001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:29:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:29:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511601664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":159124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:29:14] local.INFO: GPS data processed {"connection_id":159124,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:29:14] local.INFO: Acknowledgment sent {"connection_id":159124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:29:36] local.INFO: TCP Data received {"connection_id":157907,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01abdaf90012d09d80006f22250000700a532..."} 
[2026-08-19 21:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abdaf90012d09d80006f22250000700a532..."} 
[2026-08-19 21:29:36] local.INFO: Processing buffer {"connection_id":157907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abdaf90012d09d80006f22250000700a532..."} 
[2026-08-19 21:29:36] local.INFO: Packet analysis {"connection_id":157907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:29:36] local.INFO: Extracted packet for processing {"connection_id":157907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:29:36] local.INFO: GPS Element Parsed {"raw_longitude":755619840,"raw_latitude":116531792,"longitude_deg":75.561984,"latitude_deg":11.6531792,"altitude":7,"angle":165,"satellites":50,"speed":27,"hex_longitude":"2d09d800","hex_latitude":"06f22250","is_valid_coordinates":true} 
[2026-08-19 21:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511685376001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386230131003228160,"note":"Value kept but may cause issues"} 
[2026-08-19 21:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":706502221378232320,"note":"Value kept but may cause issues"} 
[2026-08-19 21:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787155034000,"timestamp_ms":1787155034000,"timestamp_seconds":1787155034,"priority":1,"record_length":96,"hex_timestamp":"000001a01abdaf90"} 
[2026-08-19 21:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:29: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-08-19 21:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 21:29:36] 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-08-19 21:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511685376001,"66":27300,"119":206,"2":56576,"24":27,"16":386230131003228160,"45":706502221378232320},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511685376001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:29:36] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386230131003228160,"km_value":386230131003228.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":706502221378232320,"description":"Unknown IO ID 45"} 
[2026-08-19 21:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511685376001,"power":27300,"unknown_119":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":706502221378232320}} 
[2026-08-19 21:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":157907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:29:36] local.INFO: GPS data processed {"connection_id":157907,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:29:36] local.INFO: Acknowledgment sent {"connection_id":157907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:29:45] local.INFO: TCP Data received {"connection_id":159124,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:29:45] local.INFO: Processing buffer {"connection_id":159124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:29:45] local.INFO: Packet analysis {"connection_id":159124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:29:45] local.INFO: Extracted packet for processing {"connection_id":159124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:29:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511601664001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787154994000,"timestamp_ms":1787154994000,"timestamp_seconds":1787154994,"priority":1,"record_length":96,"hex_timestamp":"000001a01abd1350"} 
[2026-08-19 21:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511601664001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511601664001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:29:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:29:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511601664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":159124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:29:45] local.INFO: GPS data processed {"connection_id":159124,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:29:45] local.INFO: Acknowledgment sent {"connection_id":159124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:29:58] local.INFO: TCP Data received {"connection_id":157908,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:29:58] local.INFO: Processing buffer {"connection_id":157908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:29:58] local.INFO: IMEI packet received {"connection_id":157908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":157908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:30:03] local.INFO: TCP Data received {"connection_id":157908,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:30:03] local.INFO: Processing buffer {"connection_id":157908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:30:03] local.INFO: IMEI packet received {"connection_id":157908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":157908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:30:05] local.INFO: TCP Data received {"connection_id":157908,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01abdea28012d09e08006f20058000800a432..."} 
[2026-08-19 21:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abdea28012d09e08006f20058000800a432..."} 
[2026-08-19 21:30:05] local.INFO: Processing buffer {"connection_id":157908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abdea28012d09e08006f20058000800a432..."} 
[2026-08-19 21:30:05] local.INFO: Packet analysis {"connection_id":157908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:30:05] local.INFO: Extracted packet for processing {"connection_id":157908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:30:05] local.INFO: GPS Element Parsed {"raw_longitude":755622016,"raw_latitude":116523096,"longitude_deg":75.5622016,"latitude_deg":11.6523096,"altitude":8,"angle":164,"satellites":50,"speed":23,"hex_longitude":"2d09e080","hex_latitude":"06f20058","is_valid_coordinates":true} 
[2026-08-19 21:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511688704001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386230564794925056,"note":"Value kept but may cause issues"} 
[2026-08-19 21:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":709316971142991872,"note":"Value kept but may cause issues"} 
[2026-08-19 21:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787155049000,"timestamp_ms":1787155049000,"timestamp_seconds":1787155049,"priority":1,"record_length":96,"hex_timestamp":"000001a01abdea28"} 
[2026-08-19 21:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 21:30:05] 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-08-19 21:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511688704001,"66":27343,"119":206,"2":56576,"24":23,"16":386230564794925056,"45":709316971142991872},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511688704001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:30:05] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386230564794925056,"km_value":386230564794925.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":709316971142991872,"description":"Unknown IO ID 45"} 
[2026-08-19 21:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511688704001,"power":27343,"unknown_119":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":709316971142991872}} 
[2026-08-19 21:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":157908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:30:05] local.INFO: GPS data processed {"connection_id":157908,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:30:05] local.INFO: Acknowledgment sent {"connection_id":157908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:30:13] local.INFO: TCP Data received {"connection_id":160443,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:30:13] local.INFO: Processing buffer {"connection_id":160443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:30:13] local.INFO: IMEI packet received {"connection_id":160443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":160443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:30:18] local.INFO: TCP Data received {"connection_id":160443,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:30:18] local.INFO: Processing buffer {"connection_id":160443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:30:18] local.INFO: IMEI packet received {"connection_id":160443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":160443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:30:19] local.INFO: TCP Data received {"connection_id":160443,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:30:19] local.INFO: Processing buffer {"connection_id":160443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:30:19] local.INFO: Packet analysis {"connection_id":160443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:30:19] local.INFO: Extracted packet for processing {"connection_id":160443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511601664001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787154994000,"timestamp_ms":1787154994000,"timestamp_seconds":1787154994,"priority":1,"record_length":96,"hex_timestamp":"000001a01abd1350"} 
[2026-08-19 21:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511601664001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511601664001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:30:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:30:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511601664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":160443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:30:19] local.INFO: GPS data processed {"connection_id":160443,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:30:19] local.INFO: Acknowledgment sent {"connection_id":160443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:30:23] local.INFO: TCP Data received {"connection_id":160443,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:30:23] local.INFO: Processing buffer {"connection_id":160443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:30:23] local.INFO: Packet analysis {"connection_id":160443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:30:23] local.INFO: Extracted packet for processing {"connection_id":160443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:30:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511601664001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787154994000,"timestamp_ms":1787154994000,"timestamp_seconds":1787154994,"priority":1,"record_length":96,"hex_timestamp":"000001a01abd1350"} 
[2026-08-19 21:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511601664001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511601664001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:30:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:30:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511601664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":160443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:30:23] local.INFO: GPS data processed {"connection_id":160443,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:30:23] local.INFO: Acknowledgment sent {"connection_id":160443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:30:37] local.INFO: TCP Data received {"connection_id":157908,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01abe24c0012d09ea4006f1df00000900a132..."} 
[2026-08-19 21:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abe24c0012d09ea4006f1df00000900a132..."} 
[2026-08-19 21:30:37] local.INFO: Processing buffer {"connection_id":157908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abe24c0012d09ea4006f1df00000900a132..."} 
[2026-08-19 21:30:37] local.INFO: Packet analysis {"connection_id":157908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abe"} 
[2026-08-19 21:30:37] local.INFO: Extracted packet for processing {"connection_id":157908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abe"} 
[2026-08-19 21:30:37] local.INFO: GPS Element Parsed {"raw_longitude":755624512,"raw_latitude":116514560,"longitude_deg":75.5624512,"latitude_deg":11.651456,"altitude":9,"angle":161,"satellites":50,"speed":24,"hex_longitude":"2d09ea40","hex_latitude":"06f1df00","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511692544001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386230994291654656,"note":"Value kept but may cause issues"} 
[2026-08-19 21:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":711709508442806272,"note":"Value kept but may cause issues"} 
[2026-08-19 21:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787155064000,"timestamp_ms":1787155064000,"timestamp_seconds":1787155064,"priority":1,"record_length":96,"hex_timestamp":"000001a01abe24c0"} 
[2026-08-19 21:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 21:30:37] 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-08-19 21: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-08-19 21:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511692544001,"66":27365,"119":206,"2":56576,"24":24,"16":386230994291654656,"45":711709508442806272},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511692544001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:30:37] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386230994291654656,"km_value":386230994291654.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":711709508442806272,"description":"Unknown IO ID 45"} 
[2026-08-19 21:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511692544001,"power":27365,"unknown_119":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":711709508442806272}} 
[2026-08-19 21:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":157908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:30:37] local.INFO: GPS data processed {"connection_id":157908,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:30:37] local.INFO: Acknowledgment sent {"connection_id":157908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:30:58] local.INFO: TCP Data received {"connection_id":158260,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:30:58] local.INFO: Processing buffer {"connection_id":158260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:30:58] local.INFO: IMEI packet received {"connection_id":158260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":158260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:31:03] local.INFO: TCP Data received {"connection_id":158260,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:31:03] local.INFO: Processing buffer {"connection_id":158260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:31:03] local.INFO: IMEI packet received {"connection_id":158260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":158260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:31:06] local.INFO: TCP Data received {"connection_id":158260,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01abe4bd0012d09f28006f1cbb0000a009031..."} 
[2026-08-19 21:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abe4bd0012d09f28006f1cbb0000a009031..."} 
[2026-08-19 21:31:06] local.INFO: Processing buffer {"connection_id":158260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abe4bd0012d09f28006f1cbb0000a009031..."} 
[2026-08-19 21:31:06] local.INFO: Packet analysis {"connection_id":158260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abe"} 
[2026-08-19 21:31:06] local.INFO: Extracted packet for processing {"connection_id":158260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abe"} 
[2026-08-19 21:31:06] local.INFO: GPS Element Parsed {"raw_longitude":755626624,"raw_latitude":116509616,"longitude_deg":75.5626624,"latitude_deg":11.6509616,"altitude":10,"angle":144,"satellites":49,"speed":15,"hex_longitude":"2d09f280","hex_latitude":"06f1cbb0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 21:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511696384001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386231256284659712,"note":"Value kept but may cause issues"} 
[2026-08-19 21:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714453889463549952,"note":"Value kept but may cause issues"} 
[2026-08-19 21:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787155074000,"timestamp_ms":1787155074000,"timestamp_seconds":1787155074,"priority":1,"record_length":96,"hex_timestamp":"000001a01abe4bd0"} 
[2026-08-19 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-08-19 21:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 21:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 21:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511696384001,"66":27267,"119":206,"2":56576,"24":15,"16":386231256284659712,"45":714453889463549952},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511696384001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:31:06] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386231256284659712,"km_value":386231256284659.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":714453889463549952,"description":"Unknown IO ID 45"} 
[2026-08-19 21:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511696384001,"power":27267,"unknown_119":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":714453889463549952}} 
[2026-08-19 21:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":158260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:31:06] local.INFO: GPS data processed {"connection_id":158260,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:31:06] local.INFO: Acknowledgment sent {"connection_id":158260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:31:08] local.INFO: TCP Data received {"connection_id":159125,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:31:08] local.INFO: Processing buffer {"connection_id":159125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:31:08] local.INFO: IMEI packet received {"connection_id":159125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":159125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:31:13] local.INFO: TCP Data received {"connection_id":159125,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:31:13] local.INFO: Processing buffer {"connection_id":159125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:31:13] local.INFO: IMEI packet received {"connection_id":159125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":159125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:31:13] local.INFO: TCP Data received {"connection_id":159125,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:31:13] local.INFO: Processing buffer {"connection_id":159125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:31:13] local.INFO: Packet analysis {"connection_id":159125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:31:13] local.INFO: Extracted packet for processing {"connection_id":159125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:31:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511601664001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787154994000,"timestamp_ms":1787154994000,"timestamp_seconds":1787154994,"priority":1,"record_length":96,"hex_timestamp":"000001a01abd1350"} 
[2026-08-19 21:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511601664001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511601664001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:31:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:31:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511601664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":159125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:31:13] local.INFO: GPS data processed {"connection_id":159125,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:31:13] local.INFO: Acknowledgment sent {"connection_id":159125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:31:44] local.INFO: TCP Data received {"connection_id":159125,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:31:44] local.INFO: Processing buffer {"connection_id":159125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:31:44] local.INFO: Packet analysis {"connection_id":159125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:31:44] local.INFO: Extracted packet for processing {"connection_id":159125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:31:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511601664001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787154994000,"timestamp_ms":1787154994000,"timestamp_seconds":1787154994,"priority":1,"record_length":96,"hex_timestamp":"000001a01abd1350"} 
[2026-08-19 21:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511601664001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511601664001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:31:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:31:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511601664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":159125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:31:45] local.INFO: GPS data processed {"connection_id":159125,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:31:45] local.INFO: Acknowledgment sent {"connection_id":159125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:31:52] local.INFO: TCP Data received {"connection_id":158260,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01abe9608012d0a074006f1ae58000e009032..."} 
[2026-08-19 21:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abe9608012d0a074006f1ae58000e009032..."} 
[2026-08-19 21:31:52] local.INFO: Processing buffer {"connection_id":158260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abe9608012d0a074006f1ae58000e009032..."} 
[2026-08-19 21:31:52] local.INFO: Packet analysis {"connection_id":158260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abe"} 
[2026-08-19 21:31:52] local.INFO: Extracted packet for processing {"connection_id":158260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abe"} 
[2026-08-19 21:31:52] local.INFO: GPS Element Parsed {"raw_longitude":755631936,"raw_latitude":116502104,"longitude_deg":75.5631936,"latitude_deg":11.6502104,"altitude":14,"angle":144,"satellites":50,"speed":18,"hex_longitude":"2d0a0740","hex_latitude":"06f1ae58","is_valid_coordinates":true} 
[2026-08-19 21:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511698944001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386231698666291200,"note":"Value kept but may cause issues"} 
[2026-08-19 21:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":716776058020147200,"note":"Value kept but may cause issues"} 
[2026-08-19 21:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787155093000,"timestamp_ms":1787155093000,"timestamp_seconds":1787155093,"priority":1,"record_length":96,"hex_timestamp":"000001a01abe9608"} 
[2026-08-19 21:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:31: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-08-19 21:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 21:31: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-08-19 21:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":158260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":158260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":158260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511698944001,"66":27245,"119":206,"2":56576,"24":18,"16":386231698666291200,"45":716776058020147200},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511698944001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:31:52] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386231698666291200,"km_value":386231698666291.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":716776058020147200,"description":"Unknown IO ID 45"} 
[2026-08-19 21:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511698944001,"power":27245,"unknown_119":206,"power_alt":56576,"ignition":18,"odometer":null,"unknown_45":716776058020147200}} 
[2026-08-19 21:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":158260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:31:52] local.INFO: GPS data processed {"connection_id":158260,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:31:52] local.INFO: Acknowledgment sent {"connection_id":158260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:32:05] local.INFO: TCP Data received {"connection_id":160445,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:32:05] local.INFO: Processing buffer {"connection_id":160445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:32:05] local.INFO: IMEI packet received {"connection_id":160445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":160445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:32:08] local.INFO: TCP Data received {"connection_id":160444,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:32:08] local.INFO: Processing buffer {"connection_id":160444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:32:08] local.INFO: IMEI packet received {"connection_id":160444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":160444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:32:09] local.INFO: TCP Data received {"connection_id":160445,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:32:09] local.INFO: Processing buffer {"connection_id":160445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:32:09] local.INFO: IMEI packet received {"connection_id":160445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":160445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:32:12] local.INFO: TCP Data received {"connection_id":160445,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01abebd18012d0a10c006f1a1200010008432..."} 
[2026-08-19 21:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abebd18012d0a10c006f1a1200010008432..."} 
[2026-08-19 21:32:12] local.INFO: Processing buffer {"connection_id":160445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abebd18012d0a10c006f1a1200010008432..."} 
[2026-08-19 21:32:12] local.INFO: Packet analysis {"connection_id":160445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abe"} 
[2026-08-19 21:32:12] local.INFO: Extracted packet for processing {"connection_id":160445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abe"} 
[2026-08-19 21:32:12] local.INFO: GPS Element Parsed {"raw_longitude":755634368,"raw_latitude":116498720,"longitude_deg":75.5634368,"latitude_deg":11.649872,"altitude":16,"angle":132,"satellites":50,"speed":10,"hex_longitude":"2d0a10c0","hex_latitude":"06f1a120","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511703808001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386231900529754112,"note":"Value kept but may cause issues"} 
[2026-08-19 21:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":722616663784970240,"note":"Value kept but may cause issues"} 
[2026-08-19 21:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787155103000,"timestamp_ms":1787155103000,"timestamp_seconds":1787155103,"priority":1,"record_length":96,"hex_timestamp":"000001a01abebd18"} 
[2026-08-19 21:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 21:32:12] 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-08-19 21: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-08-19 21:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511703808001,"66":27180,"119":206,"2":56576,"24":10,"16":386231900529754112,"45":722616663784970240},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511703808001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:32:12] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386231900529754112,"km_value":386231900529754.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":722616663784970240,"description":"Unknown IO ID 45"} 
[2026-08-19 21:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511703808001,"power":27180,"unknown_119":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":722616663784970240}} 
[2026-08-19 21:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":160445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:32:12] local.INFO: GPS data processed {"connection_id":160445,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:32:12] local.INFO: Acknowledgment sent {"connection_id":160445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:32:13] local.INFO: TCP Data received {"connection_id":160444,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:32:13] local.INFO: Processing buffer {"connection_id":160444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:32:13] local.INFO: IMEI packet received {"connection_id":160444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":160444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:32:14] local.INFO: TCP Data received {"connection_id":160444,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:32:14] local.INFO: Processing buffer {"connection_id":160444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abd1350012d196500071ff128004101462d..."} 
[2026-08-19 21:32:14] local.INFO: Packet analysis {"connection_id":160444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:32:14] local.INFO: Extracted packet for processing {"connection_id":160444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abd"} 
[2026-08-19 21:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511601664001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787154994000,"timestamp_ms":1787154994000,"timestamp_seconds":1787154994,"priority":1,"record_length":96,"hex_timestamp":"000001a01abd1350"} 
[2026-08-19 21:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511601664001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511601664001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:32:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:32:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511601664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":160444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:32:14] local.INFO: GPS data processed {"connection_id":160444,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:32:14] local.INFO: Acknowledgment sent {"connection_id":160444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:32:45] local.INFO: TCP Data received {"connection_id":160444,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:32:45] local.INFO: Processing buffer {"connection_id":160444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:32:45] local.INFO: Packet analysis {"connection_id":160444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:32:45] local.INFO: Extracted packet for processing {"connection_id":160444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:32:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511678464001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787155295000,"timestamp_ms":1787155295000,"timestamp_seconds":1787155295,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac1ab18"} 
[2026-08-19 21:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:32:45] 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-08-19 21:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511678464001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511678464001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:32:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:32:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511678464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":160444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:32:45] local.INFO: GPS data processed {"connection_id":160444,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:32:45] local.INFO: Acknowledgment sent {"connection_id":160444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:32:51] local.INFO: TCP Data received {"connection_id":160445,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01abf0f20012d0a140006f19e300011007e32..."} 
[2026-08-19 21:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abf0f20012d0a140006f19e300011007e32..."} 
[2026-08-19 21:32:51] local.INFO: Processing buffer {"connection_id":160445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abf0f20012d0a140006f19e300011007e32..."} 
[2026-08-19 21:32:51] local.INFO: Packet analysis {"connection_id":160445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abf"} 
[2026-08-19 21:32:51] local.INFO: Extracted packet for processing {"connection_id":160445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abf"} 
[2026-08-19 21:32:51] local.INFO: GPS Element Parsed {"raw_longitude":755635200,"raw_latitude":116497968,"longitude_deg":75.56352,"latitude_deg":11.6497968,"altitude":17,"angle":126,"satellites":50,"speed":6,"hex_longitude":"2d0a1400","hex_latitude":"06f19e30","is_valid_coordinates":true} 
[2026-08-19 21:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511706368001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386231956364328960,"note":"Value kept but may cause issues"} 
[2026-08-19 21:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":725290676062855168,"note":"Value kept but may cause issues"} 
[2026-08-19 21:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787155124000,"timestamp_ms":1787155124000,"timestamp_seconds":1787155124,"priority":1,"record_length":96,"hex_timestamp":"000001a01abf0f20"} 
[2026-08-19 21:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:32: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-08-19 21:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-19 21:32:51] 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-08-19 21:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511706368001,"66":27321,"119":206,"2":56576,"24":6,"16":386231956364328960,"45":725290676062855168},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511706368001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:32:51] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386231956364328960,"km_value":386231956364328.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":725290676062855168,"description":"Unknown IO ID 45"} 
[2026-08-19 21:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511706368001,"power":27321,"unknown_119":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":725290676062855168}} 
[2026-08-19 21:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":160445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:32:51] local.INFO: GPS data processed {"connection_id":160445,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:32:51] local.INFO: Acknowledgment sent {"connection_id":160445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:33:06] local.INFO: TCP Data received {"connection_id":157909,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:33:06] local.INFO: Processing buffer {"connection_id":157909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:33:06] local.INFO: IMEI packet received {"connection_id":157909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":157909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:33:07] local.INFO: TCP Data received {"connection_id":158261,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:33:07] local.INFO: Processing buffer {"connection_id":158261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:33:07] local.INFO: IMEI packet received {"connection_id":158261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":158261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:33:10] local.INFO: TCP Data received {"connection_id":157909,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:33:10] local.INFO: Processing buffer {"connection_id":157909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:33:10] local.INFO: IMEI packet received {"connection_id":157909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":157909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:33:13] local.INFO: TCP Data received {"connection_id":158261,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:33:13] local.INFO: Processing buffer {"connection_id":158261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:33:13] local.INFO: IMEI packet received {"connection_id":158261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":158261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:33:13] local.INFO: TCP Data received {"connection_id":157909,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01abf6128012d0a18c006f19a800012008133..."} 
[2026-08-19 21:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abf6128012d0a18c006f19a800012008133..."} 
[2026-08-19 21:33:13] local.INFO: Processing buffer {"connection_id":157909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abf6128012d0a18c006f19a800012008133..."} 
[2026-08-19 21:33:13] local.INFO: Packet analysis {"connection_id":157909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abf"} 
[2026-08-19 21:33:13] local.INFO: Extracted packet for processing {"connection_id":157909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abf"} 
[2026-08-19 21:33:13] local.INFO: GPS Element Parsed {"raw_longitude":755636416,"raw_latitude":116497024,"longitude_deg":75.5636416,"latitude_deg":11.6497024,"altitude":18,"angle":129,"satellites":51,"speed":0,"hex_longitude":"2d0a18c0","hex_latitude":"06f19a80","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511711744001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386232033673740288,"note":"Value kept but may cause issues"} 
[2026-08-19 21:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":726205469736972288,"note":"Value kept but may cause issues"} 
[2026-08-19 21:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787155145000,"timestamp_ms":1787155145000,"timestamp_seconds":1787155145,"priority":1,"record_length":96,"hex_timestamp":"000001a01abf6128"} 
[2026-08-19 21:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:33: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-08-19 21:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 21:33:13] 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-08-19 21:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511711744001,"66":27343,"119":206,"2":56576,"24":0,"16":386232033673740288,"45":726205469736972288},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511711744001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:33:13] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386232033673740288,"km_value":386232033673740.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":726205469736972288,"description":"Unknown IO ID 45"} 
[2026-08-19 21:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511711744001,"power":27343,"unknown_119":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":726205469736972288}} 
[2026-08-19 21:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":157909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:33:13] local.INFO: GPS data processed {"connection_id":157909,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:33:13] local.INFO: Acknowledgment sent {"connection_id":157909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:33:13] local.INFO: TCP Data received {"connection_id":158261,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:33:13] local.INFO: Processing buffer {"connection_id":158261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:33:13] local.INFO: Packet analysis {"connection_id":158261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:33:13] local.INFO: Extracted packet for processing {"connection_id":158261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:33:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511678464001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787155295000,"timestamp_ms":1787155295000,"timestamp_seconds":1787155295,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac1ab18"} 
[2026-08-19 21:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:33:13] 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-08-19 21:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511678464001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511678464001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:33:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:33:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511678464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":158261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:33:13] local.INFO: GPS data processed {"connection_id":158261,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:33:13] local.INFO: Acknowledgment sent {"connection_id":158261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:33:16] local.INFO: TCP Data received {"connection_id":157909,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01abfb330012d0a1dc006f196800013008032..."} 
[2026-08-19 21:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01abfb330012d0a1dc006f196800013008032..."} 
[2026-08-19 21:33:16] local.INFO: Processing buffer {"connection_id":157909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01abfb330012d0a1dc006f196800013008032..."} 
[2026-08-19 21:33:16] local.INFO: Packet analysis {"connection_id":157909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01abf"} 
[2026-08-19 21:33:16] local.INFO: Extracted packet for processing {"connection_id":157909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01abf"} 
[2026-08-19 21:33:16] local.INFO: GPS Element Parsed {"raw_longitude":755637696,"raw_latitude":116496000,"longitude_deg":75.5637696,"latitude_deg":11.6496,"altitude":19,"angle":128,"satellites":50,"speed":1,"hex_longitude":"2d0a1dc0","hex_latitude":"06f19680","is_valid_coordinates":true} 
[2026-08-19 21:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511717120001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386232110983151616,"note":"Value kept but may cause issues"} 
[2026-08-19 21:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":727542475876106240,"note":"Value kept but may cause issues"} 
[2026-08-19 21:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787155166000,"timestamp_ms":1787155166000,"timestamp_seconds":1787155166,"priority":1,"record_length":96,"hex_timestamp":"000001a01abfb330"} 
[2026-08-19 21:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:33: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-08-19 21:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 21:33:16] 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-08-19 21:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":157909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":157909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":157909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511717120001,"66":27484,"119":206,"2":56576,"24":1,"16":386232110983151616,"45":727542475876106240},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511717120001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:33:16] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386232110983151616,"km_value":386232110983151.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":727542475876106240,"description":"Unknown IO ID 45"} 
[2026-08-19 21:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511717120001,"power":27484,"unknown_119":206,"power_alt":56576,"ignition":1,"odometer":null,"unknown_45":727542475876106240}} 
[2026-08-19 21:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":157909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:33:16] local.INFO: GPS data processed {"connection_id":157909,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:33:16] local.INFO: Acknowledgment sent {"connection_id":157909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:33:45] local.INFO: TCP Data received {"connection_id":158261,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:33:45] local.INFO: Processing buffer {"connection_id":158261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:33:45] local.INFO: Packet analysis {"connection_id":158261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:33:45] local.INFO: Extracted packet for processing {"connection_id":158261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511678464001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787155295000,"timestamp_ms":1787155295000,"timestamp_seconds":1787155295,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac1ab18"} 
[2026-08-19 21:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:33:45] 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-08-19 21:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511678464001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511678464001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:33:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511678464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":158261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:33:45] local.INFO: GPS data processed {"connection_id":158261,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:33:45] local.INFO: Acknowledgment sent {"connection_id":158261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:33:56] local.INFO: TCP Data received {"connection_id":160446,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:33:56] local.INFO: Processing buffer {"connection_id":160446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:33:56] local.INFO: IMEI packet received {"connection_id":160446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":160446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:33:58] local.INFO: TCP Data received {"connection_id":160446,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:33:58] local.INFO: Processing buffer {"connection_id":160446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:33:58] local.INFO: IMEI packet received {"connection_id":160446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":160446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:34:04] local.INFO: TCP Data received {"connection_id":160446,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:34:04] local.INFO: Processing buffer {"connection_id":160446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:34:04] local.INFO: IMEI packet received {"connection_id":160446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":160446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:34:05] local.INFO: TCP Data received {"connection_id":160446,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac00538012d0a260006f190680015007d31..."} 
[2026-08-19 21:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac00538012d0a260006f190680015007d31..."} 
[2026-08-19 21:34:05] local.INFO: Processing buffer {"connection_id":160446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac00538012d0a260006f190680015007d31..."} 
[2026-08-19 21:34:05] local.INFO: Packet analysis {"connection_id":160446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac0"} 
[2026-08-19 21:34:05] local.INFO: Extracted packet for processing {"connection_id":160446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac0"} 
[2026-08-19 21:34:05] local.INFO: GPS Element Parsed {"raw_longitude":755639808,"raw_latitude":116494440,"longitude_deg":75.5639808,"latitude_deg":11.649444,"altitude":21,"angle":125,"satellites":49,"speed":7,"hex_longitude":"2d0a2600","hex_latitude":"06f19068","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511722496001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386232239832170496,"note":"Value kept but may cause issues"} 
[2026-08-19 21:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":728949850759397376,"note":"Value kept but may cause issues"} 
[2026-08-19 21:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787155187000,"timestamp_ms":1787155187000,"timestamp_seconds":1787155187,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac00538"} 
[2026-08-19 21:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:34: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-08-19 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 21:34:05] 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-08-19 21: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-08-19 21:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511722496001,"66":27376,"119":206,"2":56576,"24":7,"16":386232239832170496,"45":728949850759397376},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511722496001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:34:05] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386232239832170496,"km_value":386232239832170.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":728949850759397376,"description":"Unknown IO ID 45"} 
[2026-08-19 21:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511722496001,"power":27376,"unknown_119":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":728949850759397376}} 
[2026-08-19 21:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":160446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:34:05] local.INFO: GPS data processed {"connection_id":160446,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:34:05] local.INFO: Acknowledgment sent {"connection_id":160446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:34:13] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:34:13] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:34:13] local.INFO: IMEI packet received {"connection_id":159126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":159126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:34:18] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:34:18] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:34:18] local.INFO: IMEI packet received {"connection_id":159126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":159126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:34:18] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:34:18] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:34:18] local.INFO: Packet analysis {"connection_id":159126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:34:18] local.INFO: Extracted packet for processing {"connection_id":159126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511678464001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787155295000,"timestamp_ms":1787155295000,"timestamp_seconds":1787155295,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac1ab18"} 
[2026-08-19 21:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:34:18] 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-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511678464001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511678464001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:34:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:34:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511678464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":159126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:34:18] local.INFO: GPS data processed {"connection_id":159126,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:34:18] local.INFO: Acknowledgment sent {"connection_id":159126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:34:23] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:34:23] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:34:23] local.INFO: Packet analysis {"connection_id":159126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:34:23] local.INFO: Extracted packet for processing {"connection_id":159126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:34:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511678464001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787155295000,"timestamp_ms":1787155295000,"timestamp_seconds":1787155295,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac1ab18"} 
[2026-08-19 21:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511678464001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511678464001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:34:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:34:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511678464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":159126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:34:23] local.INFO: GPS data processed {"connection_id":159126,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:34:23] local.INFO: Acknowledgment sent {"connection_id":159126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:34:39] local.INFO: TCP Data received {"connection_id":160446,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac05740012d0a2e4006f18af00015007c32..."} 
[2026-08-19 21:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac05740012d0a2e4006f18af00015007c32..."} 
[2026-08-19 21:34:39] local.INFO: Processing buffer {"connection_id":160446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac05740012d0a2e4006f18af00015007c32..."} 
[2026-08-19 21:34:39] local.INFO: Packet analysis {"connection_id":160446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac0"} 
[2026-08-19 21:34:39] local.INFO: Extracted packet for processing {"connection_id":160446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac0"} 
[2026-08-19 21:34:39] local.INFO: GPS Element Parsed {"raw_longitude":755641920,"raw_latitude":116493040,"longitude_deg":75.564192,"latitude_deg":11.649304,"altitude":21,"angle":124,"satellites":50,"speed":9,"hex_longitude":"2d0a2e40","hex_latitude":"06f18af0","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511727872001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386232364386222080,"note":"Value kept but may cause issues"} 
[2026-08-19 21:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":731272019316860928,"note":"Value kept but may cause issues"} 
[2026-08-19 21:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787155208000,"timestamp_ms":1787155208000,"timestamp_seconds":1787155208,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac05740"} 
[2026-08-19 21:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 21:34:39] 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-08-19 21: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-08-19 21:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511727872001,"66":27463,"119":206,"2":56576,"24":9,"16":386232364386222080,"45":731272019316860928},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511727872001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:34:39] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386232364386222080,"km_value":386232364386222.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":731272019316860928,"description":"Unknown IO ID 45"} 
[2026-08-19 21:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511727872001,"power":27463,"unknown_119":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":731272019316860928}} 
[2026-08-19 21:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":160446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:34:39] local.INFO: GPS data processed {"connection_id":160446,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:34:39] local.INFO: Acknowledgment sent {"connection_id":160446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:34:59] local.INFO: TCP Data received {"connection_id":158262,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:34:59] local.INFO: Processing buffer {"connection_id":158262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:34:59] local.INFO: IMEI packet received {"connection_id":158262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":158262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:34:59] local.INFO: TCP Data received {"connection_id":158262,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:34:59] local.INFO: Processing buffer {"connection_id":158262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:34:59] local.INFO: IMEI packet received {"connection_id":158262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":158262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:35:03] local.INFO: TCP Data received {"connection_id":158262,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:35:03] local.INFO: Processing buffer {"connection_id":158262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:35:03] local.INFO: IMEI packet received {"connection_id":158262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":158262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:35:05] local.INFO: TCP Data received {"connection_id":158262,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac0a948012d0a3c8006f181880016007930..."} 
[2026-08-19 21:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac0a948012d0a3c8006f181880016007930..."} 
[2026-08-19 21:35:05] local.INFO: Processing buffer {"connection_id":158262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac0a948012d0a3c8006f181880016007930..."} 
[2026-08-19 21:35:05] local.INFO: Packet analysis {"connection_id":158262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac0"} 
[2026-08-19 21:35:05] local.INFO: Extracted packet for processing {"connection_id":158262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac0"} 
[2026-08-19 21:35:05] local.INFO: GPS Element Parsed {"raw_longitude":755645568,"raw_latitude":116490632,"longitude_deg":75.5645568,"latitude_deg":11.6490632,"altitude":22,"angle":121,"satellites":48,"speed":3,"hex_longitude":"2d0a3c80","hex_latitude":"06f18188","is_valid_coordinates":true} 
[2026-08-19 21:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511733248001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386232574839619584,"note":"Value kept but may cause issues"} 
[2026-08-19 21:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":733594187874365440,"note":"Value kept but may cause issues"} 
[2026-08-19 21:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787155229000,"timestamp_ms":1787155229000,"timestamp_seconds":1787155229,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac0a948"} 
[2026-08-19 21:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 21:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511733248001,"66":27267,"119":206,"2":56576,"24":3,"16":386232574839619584,"45":733594187874365440},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511733248001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:35:05] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386232574839619584,"km_value":386232574839619.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":733594187874365440,"description":"Unknown IO ID 45"} 
[2026-08-19 21:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511733248001,"power":27267,"unknown_119":206,"power_alt":56576,"ignition":3,"odometer":null,"unknown_45":733594187874365440}} 
[2026-08-19 21:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":158262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:35:05] local.INFO: GPS data processed {"connection_id":158262,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:35:05] local.INFO: Acknowledgment sent {"connection_id":158262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:35:08] local.INFO: TCP Data received {"connection_id":159127,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:35:08] local.INFO: Processing buffer {"connection_id":159127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:35:08] local.INFO: IMEI packet received {"connection_id":159127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":159127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:35:13] local.INFO: TCP Data received {"connection_id":159127,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:35:13] local.INFO: Processing buffer {"connection_id":159127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:35:13] local.INFO: IMEI packet received {"connection_id":159127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":159127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:35:13] local.INFO: TCP Data received {"connection_id":159127,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:35:13] local.INFO: Processing buffer {"connection_id":159127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:35:13] local.INFO: Packet analysis {"connection_id":159127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:35:13] local.INFO: Extracted packet for processing {"connection_id":159127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:35:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511678464001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787155295000,"timestamp_ms":1787155295000,"timestamp_seconds":1787155295,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac1ab18"} 
[2026-08-19 21:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:35:13] 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-08-19 21:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511678464001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511678464001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:35:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:35:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511678464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":159127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:35:14] local.INFO: GPS data processed {"connection_id":159127,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:35:14] local.INFO: Acknowledgment sent {"connection_id":159127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:35:38] local.INFO: TCP Data received {"connection_id":158262,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac0fb50012d0a3f8006f17f480018007930..."} 
[2026-08-19 21:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac0fb50012d0a3f8006f17f480018007930..."} 
[2026-08-19 21:35:38] local.INFO: Processing buffer {"connection_id":158262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac0fb50012d0a3f8006f17f480018007930..."} 
[2026-08-19 21:35:38] local.INFO: Packet analysis {"connection_id":158262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac0"} 
[2026-08-19 21:35:38] local.INFO: Extracted packet for processing {"connection_id":158262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac0"} 
[2026-08-19 21:35:38] local.INFO: GPS Element Parsed {"raw_longitude":755646336,"raw_latitude":116490056,"longitude_deg":75.5646336,"latitude_deg":11.6490056,"altitude":24,"angle":121,"satellites":48,"speed":0,"hex_longitude":"2d0a3f80","hex_latitude":"06f17f48","is_valid_coordinates":true} 
[2026-08-19 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-08-19 21:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511738624001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386232626379227136,"note":"Value kept but may cause issues"} 
[2026-08-19 21:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":737605206291875840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787155250000,"timestamp_ms":1787155250000,"timestamp_seconds":1787155250,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac0fb50"} 
[2026-08-19 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-08-19 21:35: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-08-19 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 21:35:38] 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-08-19 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-08-19 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-08-19 21:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511738624001,"66":27365,"119":206,"2":56576,"24":0,"16":386232626379227136,"45":737605206291875840},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-08-19 21:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511738624001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:35:38] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-19 21:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386232626379227136,"km_value":386232626379227.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":737605206291875840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511738624001,"power":27365,"unknown_119":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":737605206291875840}} 
[2026-08-19 21:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":158262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:35:38] local.INFO: GPS data processed {"connection_id":158262,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:35:38] local.INFO: Acknowledgment sent {"connection_id":158262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:35:45] local.INFO: TCP Data received {"connection_id":159127,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:35:45] local.INFO: Processing buffer {"connection_id":159127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:35:45] local.INFO: Packet analysis {"connection_id":159127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:35:45] local.INFO: Extracted packet for processing {"connection_id":159127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:35:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511678464001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787155295000,"timestamp_ms":1787155295000,"timestamp_seconds":1787155295,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac1ab18"} 
[2026-08-19 21:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:35:45] 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-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511678464001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511678464001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:35:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:35:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511678464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":159127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:35:45] local.INFO: GPS data processed {"connection_id":159127,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:35:45] local.INFO: Acknowledgment sent {"connection_id":159127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:35:58] local.INFO: TCP Data received {"connection_id":159128,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:35:58] local.INFO: Processing buffer {"connection_id":159128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:35:58] local.INFO: IMEI packet received {"connection_id":159128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":159128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:36:02] local.INFO: TCP Data received {"connection_id":159128,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:36:02] local.INFO: Processing buffer {"connection_id":159128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:36:02] local.INFO: IMEI packet received {"connection_id":159128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":159128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:36:03] local.INFO: TCP Data received {"connection_id":159128,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:36:03] local.INFO: Processing buffer {"connection_id":159128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:36:03] local.INFO: IMEI packet received {"connection_id":159128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":159128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:36:07] local.INFO: TCP Data received {"connection_id":159128,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac481a8012d0a8ac006f14f30001a007932..."} 
[2026-08-19 21:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac481a8012d0a8ac006f14f30001a007932..."} 
[2026-08-19 21:36:07] local.INFO: Processing buffer {"connection_id":159128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac481a8012d0a8ac006f14f30001a007932..."} 
[2026-08-19 21:36:07] local.INFO: Packet analysis {"connection_id":159128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac4"} 
[2026-08-19 21:36:07] local.INFO: Extracted packet for processing {"connection_id":159128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac4"} 
[2026-08-19 21:36:07] local.INFO: GPS Element Parsed {"raw_longitude":755665600,"raw_latitude":116477744,"longitude_deg":75.56656,"latitude_deg":11.6477744,"altitude":26,"angle":121,"satellites":50,"speed":8,"hex_longitude":"2d0a8ac0","hex_latitude":"06f14f30","is_valid_coordinates":true} 
[2026-08-19 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-08-19 21:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511797760001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386233734480789504,"note":"Value kept but may cause issues"} 
[2026-08-19 21:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":755267761077823488,"note":"Value kept but may cause issues"} 
[2026-08-19 21:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787155481000,"timestamp_ms":1787155481000,"timestamp_seconds":1787155481,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac481a8"} 
[2026-08-19 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-08-19 21:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 21:36:07] 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-08-19 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-08-19 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-08-19 21:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511797760001,"66":27267,"118":206,"2":56576,"24":8,"16":386233734480789504,"45":755267761077823488},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511797760001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:36:07] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386233734480789504,"km_value":386233734480789.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":755267761077823488,"description":"Unknown IO ID 45"} 
[2026-08-19 21:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511797760001,"power":27267,"unknown_118":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":755267761077823488}} 
[2026-08-19 21:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":159128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:36:08] local.INFO: GPS data processed {"connection_id":159128,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:36:08] local.INFO: Acknowledgment sent {"connection_id":159128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:36:08] local.INFO: TCP Data received {"connection_id":159129,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:36:08] local.INFO: Processing buffer {"connection_id":159129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:36:08] local.INFO: IMEI packet received {"connection_id":159129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":159129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:36:11] local.INFO: TCP Data received {"connection_id":159128,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac4d3b0012d0a8d8006f14dc00019007a32..."} 
[2026-08-19 21:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac4d3b0012d0a8d8006f14dc00019007a32..."} 
[2026-08-19 21:36:11] local.INFO: Processing buffer {"connection_id":159128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac4d3b0012d0a8d8006f14dc00019007a32..."} 
[2026-08-19 21:36:11] local.INFO: Packet analysis {"connection_id":159128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac4"} 
[2026-08-19 21:36:11] local.INFO: Extracted packet for processing {"connection_id":159128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac4"} 
[2026-08-19 21:36:11] local.INFO: GPS Element Parsed {"raw_longitude":755666304,"raw_latitude":116477376,"longitude_deg":75.5666304,"latitude_deg":11.6477376,"altitude":25,"angle":122,"satellites":50,"speed":0,"hex_longitude":"2d0a8d80","hex_latitude":"06f14dc0","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511803136001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386233773135495168,"note":"Value kept but may cause issues"} 
[2026-08-19 21:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":759630623216185344,"note":"Value kept but may cause issues"} 
[2026-08-19 21:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787155502000,"timestamp_ms":1787155502000,"timestamp_seconds":1787155502,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac4d3b0"} 
[2026-08-19 21:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:36: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-08-19 21:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 21:36:11] 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-08-19 21: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-08-19 21:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511803136001,"66":27234,"118":206,"2":56576,"24":0,"16":386233773135495168,"45":759630623216185344},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511803136001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:36:11] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386233773135495168,"km_value":386233773135495.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":759630623216185344,"description":"Unknown IO ID 45"} 
[2026-08-19 21:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511803136001,"power":27234,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":759630623216185344}} 
[2026-08-19 21:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":159128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:36:11] local.INFO: GPS data processed {"connection_id":159128,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:36:11] local.INFO: Acknowledgment sent {"connection_id":159128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:36:13] local.INFO: TCP Data received {"connection_id":159129,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:36:13] local.INFO: Processing buffer {"connection_id":159129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:36:13] local.INFO: IMEI packet received {"connection_id":159129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":159129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:36:13] local.INFO: TCP Data received {"connection_id":159129,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:36:13] local.INFO: Processing buffer {"connection_id":159129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:36:13] local.INFO: Packet analysis {"connection_id":159129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:36:13] local.INFO: Extracted packet for processing {"connection_id":159129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:36:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511678464001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787155295000,"timestamp_ms":1787155295000,"timestamp_seconds":1787155295,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac1ab18"} 
[2026-08-19 21:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:36:13] 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-08-19 21:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511678464001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511678464001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:36:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:36:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511678464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":159129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:36:14] local.INFO: GPS data processed {"connection_id":159129,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:36:14] local.INFO: Acknowledgment sent {"connection_id":159129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:36:44] local.INFO: TCP Data received {"connection_id":159128,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac525b8012d0a994006f146c80018007831..."} 
[2026-08-19 21:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac525b8012d0a994006f146c80018007831..."} 
[2026-08-19 21:36:44] local.INFO: Processing buffer {"connection_id":159128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac525b8012d0a994006f146c80018007831..."} 
[2026-08-19 21:36:44] local.INFO: Packet analysis {"connection_id":159128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac5"} 
[2026-08-19 21:36:44] local.INFO: Extracted packet for processing {"connection_id":159128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac5"} 
[2026-08-19 21:36:44] local.INFO: GPS Element Parsed {"raw_longitude":755669312,"raw_latitude":116475592,"longitude_deg":75.5669312,"latitude_deg":11.6475592,"altitude":24,"angle":120,"satellites":49,"speed":7,"hex_longitude":"2d0a9940","hex_latitude":"06f146c8","is_valid_coordinates":true} 
[2026-08-19 21:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511808512001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386233940639219712,"note":"Value kept but may cause issues"} 
[2026-08-19 21:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":760404679402045440,"note":"Value kept but may cause issues"} 
[2026-08-19 21:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787155523000,"timestamp_ms":1787155523000,"timestamp_seconds":1787155523,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac525b8"} 
[2026-08-19 21:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:36: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-08-19 21:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 21:36:44] 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-08-19 21:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511808512001,"66":27332,"118":206,"2":56576,"24":7,"16":386233940639219712,"45":760404679402045440},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511808512001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:36:44] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386233940639219712,"km_value":386233940639219.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":760404679402045440,"description":"Unknown IO ID 45"} 
[2026-08-19 21:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511808512001,"power":27332,"unknown_118":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":760404679402045440}} 
[2026-08-19 21:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":159128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:36:44] local.INFO: GPS data processed {"connection_id":159128,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:36:44] local.INFO: Acknowledgment sent {"connection_id":159128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:36:45] local.INFO: TCP Data received {"connection_id":159129,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:36:45] local.INFO: Processing buffer {"connection_id":159129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:36:45] local.INFO: Packet analysis {"connection_id":159129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:36:45] local.INFO: Extracted packet for processing {"connection_id":159129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:36:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511678464001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787155295000,"timestamp_ms":1787155295000,"timestamp_seconds":1787155295,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac1ab18"} 
[2026-08-19 21:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:36:45] 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-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511678464001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511678464001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:36:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:36:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511678464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":159129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:36:45] local.INFO: GPS data processed {"connection_id":159129,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:36:45] local.INFO: Acknowledgment sent {"connection_id":159129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:37:03] local.INFO: TCP Data received {"connection_id":158263,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:37:03] local.INFO: Processing buffer {"connection_id":158263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:37:03] local.INFO: IMEI packet received {"connection_id":158263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":158263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:37:08] local.INFO: TCP Data received {"connection_id":159130,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:37:08] local.INFO: Processing buffer {"connection_id":159130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:37:08] local.INFO: IMEI packet received {"connection_id":159130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":159130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:37:08] local.INFO: TCP Data received {"connection_id":158263,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:37:08] local.INFO: Processing buffer {"connection_id":158263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:37:08] local.INFO: IMEI packet received {"connection_id":158263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":158263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:37:10] local.INFO: TCP Data received {"connection_id":158263,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac53558012d0a9bc006f145c00017006a31..."} 
[2026-08-19 21:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac53558012d0a9bc006f145c00017006a31..."} 
[2026-08-19 21:37:10] local.INFO: Processing buffer {"connection_id":158263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac53558012d0a9bc006f145c00017006a31..."} 
[2026-08-19 21:37:10] local.INFO: Packet analysis {"connection_id":158263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac5"} 
[2026-08-19 21:37:10] local.INFO: Extracted packet for processing {"connection_id":158263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac5"} 
[2026-08-19 21:37:10] local.INFO: GPS Element Parsed {"raw_longitude":755669952,"raw_latitude":116475328,"longitude_deg":75.5669952,"latitude_deg":11.6475328,"altitude":23,"angle":106,"satellites":49,"speed":7,"hex_longitude":"2d0a9bc0","hex_latitude":"06f145c0","is_valid_coordinates":true} 
[2026-08-19 21:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511813888001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386233970703990784,"note":"Value kept but may cause issues"} 
[2026-08-19 21:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":763712010377938944,"note":"Value kept but may cause issues"} 
[2026-08-19 21:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787155527000,"timestamp_ms":1787155527000,"timestamp_seconds":1787155527,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac53558"} 
[2026-08-19 21:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:37: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-08-19 21:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 21:37:10] 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-08-19 21:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511813888001,"66":27267,"118":206,"2":56576,"24":7,"16":386233970703990784,"45":763712010377938944},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511813888001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:37:10] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386233970703990784,"km_value":386233970703990.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":763712010377938944,"description":"Unknown IO ID 45"} 
[2026-08-19 21:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511813888001,"power":27267,"unknown_118":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":763712010377938944}} 
[2026-08-19 21:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":158263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:37:11] local.INFO: GPS data processed {"connection_id":158263,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:37:11] local.INFO: Acknowledgment sent {"connection_id":158263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:37:13] local.INFO: TCP Data received {"connection_id":159130,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:37:13] local.INFO: Processing buffer {"connection_id":159130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:37:13] local.INFO: IMEI packet received {"connection_id":159130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":159130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:37:13] local.INFO: TCP Data received {"connection_id":159130,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:37:13] local.INFO: Processing buffer {"connection_id":159130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac1ab18012d196500071ff128004101462d..."} 
[2026-08-19 21:37:13] local.INFO: Packet analysis {"connection_id":159130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:37:13] local.INFO: Extracted packet for processing {"connection_id":159130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac1"} 
[2026-08-19 21:37:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511678464001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787155295000,"timestamp_ms":1787155295000,"timestamp_seconds":1787155295,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac1ab18"} 
[2026-08-19 21:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:37:13] 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-08-19 21:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511678464001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511678464001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:37:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:37:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511678464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":159130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:37:13] local.INFO: GPS data processed {"connection_id":159130,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:37:13] local.INFO: Acknowledgment sent {"connection_id":159130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:37:42] local.INFO: TCP Data received {"connection_id":158263,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac54110012d0a9e0006f145500017005c31..."} 
[2026-08-19 21:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac54110012d0a9e0006f145500017005c31..."} 
[2026-08-19 21:37:42] local.INFO: Processing buffer {"connection_id":158263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac54110012d0a9e0006f145500017005c31..."} 
[2026-08-19 21:37:42] local.INFO: Packet analysis {"connection_id":158263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac5"} 
[2026-08-19 21:37:42] local.INFO: Extracted packet for processing {"connection_id":158263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac5"} 
[2026-08-19 21:37:42] local.INFO: GPS Element Parsed {"raw_longitude":755670528,"raw_latitude":116475216,"longitude_deg":75.5670528,"latitude_deg":11.6475216,"altitude":23,"angle":92,"satellites":49,"speed":9,"hex_longitude":"2d0a9e00","hex_latitude":"06f14550","is_valid_coordinates":true} 
[2026-08-19 21:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511814912001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386234000768761856,"note":"Value kept but may cause issues"} 
[2026-08-19 21:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764415697819648000,"note":"Value kept but may cause issues"} 
[2026-08-19 21:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787155530000,"timestamp_ms":1787155530000,"timestamp_seconds":1787155530,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac54110"} 
[2026-08-19 21:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 21:37:42] 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-08-19 21:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511814912001,"66":27365,"118":206,"2":56576,"24":9,"16":386234000768761856,"45":764415697819648000},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511814912001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:37:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386234000768761856,"km_value":386234000768761.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":764415697819648000,"description":"Unknown IO ID 45"} 
[2026-08-19 21:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511814912001,"power":27365,"unknown_118":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":764415697819648000}} 
[2026-08-19 21:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":158263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:37:42] local.INFO: GPS data processed {"connection_id":158263,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:37:42] local.INFO: Acknowledgment sent {"connection_id":158263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:37:45] local.INFO: TCP Data received {"connection_id":159130,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:37:45] local.INFO: Processing buffer {"connection_id":159130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:37:45] local.INFO: Packet analysis {"connection_id":159130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:37:45] local.INFO: Extracted packet for processing {"connection_id":159130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:37:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511755520001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787155596000,"timestamp_ms":1787155596000,"timestamp_seconds":1787155596,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac642e0"} 
[2026-08-19 21:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:37:45] 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-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511755520001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511755520001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:37:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:37:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511755520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":159130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:37:45] local.INFO: GPS data processed {"connection_id":159130,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:37:45] local.INFO: Acknowledgment sent {"connection_id":159130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:37:58] local.INFO: TCP Data received {"connection_id":157910,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:37:58] local.INFO: Processing buffer {"connection_id":157910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:37:58] local.INFO: IMEI packet received {"connection_id":157910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":157910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:38:00] local.INFO: TCP Data received {"connection_id":157910,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:38:00] local.INFO: Processing buffer {"connection_id":157910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:38:00] local.INFO: IMEI packet received {"connection_id":157910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":157910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:38:03] local.INFO: TCP Data received {"connection_id":157910,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:38:03] local.INFO: Processing buffer {"connection_id":157910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:38:03] local.INFO: IMEI packet received {"connection_id":157910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":157910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:38:04] local.INFO: TCP Data received {"connection_id":157910,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac59318012d0aa44006f145000014006432..."} 
[2026-08-19 21:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac59318012d0aa44006f145000014006432..."} 
[2026-08-19 21:38:04] local.INFO: Processing buffer {"connection_id":157910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac59318012d0aa44006f145000014006432..."} 
[2026-08-19 21:38:04] local.INFO: Packet analysis {"connection_id":157910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac5"} 
[2026-08-19 21:38:04] local.INFO: Extracted packet for processing {"connection_id":157910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac5"} 
[2026-08-19 21:38:04] local.INFO: GPS Element Parsed {"raw_longitude":755672128,"raw_latitude":116475136,"longitude_deg":75.5672128,"latitude_deg":11.6475136,"altitude":20,"angle":100,"satellites":50,"speed":0,"hex_longitude":"2d0aa440","hex_latitude":"06f14500","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511815680001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386234078078173184,"note":"Value kept but may cause issues"} 
[2026-08-19 21:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765049016517218304,"note":"Value kept but may cause issues"} 
[2026-08-19 21:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787155551000,"timestamp_ms":1787155551000,"timestamp_seconds":1787155551,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac59318"} 
[2026-08-19 21:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:38: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-08-19 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 21:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511815680001,"66":27343,"118":206,"2":56576,"24":0,"16":386234078078173184,"45":765049016517218304},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511815680001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:38:04] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386234078078173184,"km_value":386234078078173.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":765049016517218304,"description":"Unknown IO ID 45"} 
[2026-08-19 21:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511815680001,"power":27343,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":765049016517218304}} 
[2026-08-19 21:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":157910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:38:04] local.INFO: GPS data processed {"connection_id":157910,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:38:04] local.INFO: Acknowledgment sent {"connection_id":157910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:38:07] local.INFO: TCP Data received {"connection_id":159131,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:38:07] local.INFO: Processing buffer {"connection_id":159131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:38:07] local.INFO: IMEI packet received {"connection_id":159131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":159131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:38:09] local.INFO: TCP Data received {"connection_id":157910,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac5ae70012d0aa70006f143a80015007b32..."} 
[2026-08-19 21:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac5ae70012d0aa70006f143a80015007b32..."} 
[2026-08-19 21:38:09] local.INFO: Processing buffer {"connection_id":157910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac5ae70012d0aa70006f143a80015007b32..."} 
[2026-08-19 21:38:09] local.INFO: Packet analysis {"connection_id":157910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac5"} 
[2026-08-19 21:38:09] local.INFO: Extracted packet for processing {"connection_id":157910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac5"} 
[2026-08-19 21:38:09] local.INFO: GPS Element Parsed {"raw_longitude":755672832,"raw_latitude":116474792,"longitude_deg":75.5672832,"latitude_deg":11.6474792,"altitude":21,"angle":123,"satellites":50,"speed":6,"hex_longitude":"2d0aa700","hex_latitude":"06f143a8","is_valid_coordinates":true} 
[2026-08-19 21:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511821056001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386234116732878848,"note":"Value kept but may cause issues"} 
[2026-08-19 21:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":766808235121639424,"note":"Value kept but may cause issues"} 
[2026-08-19 21:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787155558000,"timestamp_ms":1787155558000,"timestamp_seconds":1787155558,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac5ae70"} 
[2026-08-19 21:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 21:38:09] 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-08-19 21:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511821056001,"66":27376,"118":206,"2":56576,"24":6,"16":386234116732878848,"45":766808235121639424},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511821056001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:38:09] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386234116732878848,"km_value":386234116732878.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":766808235121639424,"description":"Unknown IO ID 45"} 
[2026-08-19 21:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511821056001,"power":27376,"unknown_118":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":766808235121639424}} 
[2026-08-19 21:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":157910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:38:09] local.INFO: GPS data processed {"connection_id":157910,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:38:09] local.INFO: Acknowledgment sent {"connection_id":157910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:38:13] local.INFO: TCP Data received {"connection_id":159131,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:38:13] local.INFO: Processing buffer {"connection_id":159131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:38:13] local.INFO: IMEI packet received {"connection_id":159131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":159131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:38:13] local.INFO: TCP Data received {"connection_id":159131,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:38:13] local.INFO: Processing buffer {"connection_id":159131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:38:13] local.INFO: Packet analysis {"connection_id":159131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:38:13] local.INFO: Extracted packet for processing {"connection_id":159131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:38:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511755520001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787155596000,"timestamp_ms":1787155596000,"timestamp_seconds":1787155596,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac642e0"} 
[2026-08-19 21:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:38:13] 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-08-19 21:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511755520001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511755520001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:38:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:38:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511755520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":159131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:38:13] local.INFO: GPS data processed {"connection_id":159131,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:38:13] local.INFO: Acknowledgment sent {"connection_id":159131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:38:42] local.INFO: TCP Data received {"connection_id":157910,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac60078012d0ab00006f13db80015007b30..."} 
[2026-08-19 21:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac60078012d0ab00006f13db80015007b30..."} 
[2026-08-19 21:38:42] local.INFO: Processing buffer {"connection_id":157910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac60078012d0ab00006f13db80015007b30..."} 
[2026-08-19 21:38:42] local.INFO: Packet analysis {"connection_id":157910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:38:42] local.INFO: Extracted packet for processing {"connection_id":157910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:38:42] local.INFO: GPS Element Parsed {"raw_longitude":755675136,"raw_latitude":116473272,"longitude_deg":75.5675136,"latitude_deg":11.6473272,"altitude":21,"angle":123,"satellites":48,"speed":0,"hex_longitude":"2d0ab000","hex_latitude":"06f13db8","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511822848001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386234249876865024,"note":"Value kept but may cause issues"} 
[2026-08-19 21:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":767582291307505664,"note":"Value kept but may cause issues"} 
[2026-08-19 21:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787155579000,"timestamp_ms":1787155579000,"timestamp_seconds":1787155579,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac60078"} 
[2026-08-19 21:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 21:38:42] 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-08-19 21: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-08-19 21:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511822848001,"66":27213,"118":206,"2":56576,"24":0,"16":386234249876865024,"45":767582291307505664},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511822848001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:38:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386234249876865024,"km_value":386234249876865.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":767582291307505664,"description":"Unknown IO ID 45"} 
[2026-08-19 21:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511822848001,"power":27213,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":767582291307505664}} 
[2026-08-19 21:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":157910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:38:42] local.INFO: GPS data processed {"connection_id":157910,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:38:42] local.INFO: Acknowledgment sent {"connection_id":157910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:38:44] local.INFO: TCP Data received {"connection_id":159131,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:38:44] local.INFO: Processing buffer {"connection_id":159131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:38:44] local.INFO: Packet analysis {"connection_id":159131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:38:44] local.INFO: Extracted packet for processing {"connection_id":159131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:38:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511755520001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787155596000,"timestamp_ms":1787155596000,"timestamp_seconds":1787155596,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac642e0"} 
[2026-08-19 21:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511755520001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511755520001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:38:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:38:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511755520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":159131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:38:45] local.INFO: GPS data processed {"connection_id":159131,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:38:45] local.INFO: Acknowledgment sent {"connection_id":159131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:38:59] local.INFO: TCP Data received {"connection_id":160447,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:38:59] local.INFO: Processing buffer {"connection_id":160447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:38:59] local.INFO: IMEI packet received {"connection_id":160447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":160447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:39:04] local.INFO: TCP Data received {"connection_id":160447,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:39:04] local.INFO: Processing buffer {"connection_id":160447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:39:04] local.INFO: IMEI packet received {"connection_id":160447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":160447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:39:05] local.INFO: TCP Data received {"connection_id":160447,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac65280012d0ab00006f13db80015007b30..."} 
[2026-08-19 21:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac65280012d0ab00006f13db80015007b30..."} 
[2026-08-19 21:39:06] local.INFO: Processing buffer {"connection_id":160447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac65280012d0ab00006f13db80015007b30..."} 
[2026-08-19 21:39:06] local.INFO: Packet analysis {"connection_id":160447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:39:06] local.INFO: Extracted packet for processing {"connection_id":160447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:39:06] local.INFO: GPS Element Parsed {"raw_longitude":755675136,"raw_latitude":116473272,"longitude_deg":75.5675136,"latitude_deg":11.6473272,"altitude":21,"angle":123,"satellites":48,"speed":0,"hex_longitude":"2d0ab000","hex_latitude":"06f13db8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 21:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511828224001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386234249876865024,"note":"Value kept but may cause issues"} 
[2026-08-19 21:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":770115566097512448,"note":"Value kept but may cause issues"} 
[2026-08-19 21:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787155600000,"timestamp_ms":1787155600000,"timestamp_seconds":1787155600,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac65280"} 
[2026-08-19 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-08-19 21:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 21:39:06] 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-08-19 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-08-19 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-08-19 21:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511828224001,"66":26930,"118":206,"2":56576,"24":0,"16":386234249876865024,"45":770115566097512448},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511828224001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:39:06] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386234249876865024,"km_value":386234249876865.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":770115566097512448,"description":"Unknown IO ID 45"} 
[2026-08-19 21:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511828224001,"power":26930,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":770115566097512448}} 
[2026-08-19 21:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":160447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:39:06] local.INFO: GPS data processed {"connection_id":160447,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:39:06] local.INFO: Acknowledgment sent {"connection_id":160447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:39:13] local.INFO: TCP Data received {"connection_id":158264,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:39:13] local.INFO: Processing buffer {"connection_id":158264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:39:13] local.INFO: IMEI packet received {"connection_id":158264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":158264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:39:18] local.INFO: TCP Data received {"connection_id":158264,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:39:18] local.INFO: Processing buffer {"connection_id":158264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:39:18] local.INFO: IMEI packet received {"connection_id":158264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":158264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:39:18] local.INFO: TCP Data received {"connection_id":158264,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:39:18] local.INFO: Processing buffer {"connection_id":158264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:39:18] local.INFO: Packet analysis {"connection_id":158264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:39:18] local.INFO: Extracted packet for processing {"connection_id":158264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 21:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511755520001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787155596000,"timestamp_ms":1787155596000,"timestamp_seconds":1787155596,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac642e0"} 
[2026-08-19 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-08-19 21:39:18] 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-08-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 21:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:39:18] 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-08-19 21:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511755520001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511755520001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:39:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:39:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511755520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":158264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:39:18] local.INFO: GPS data processed {"connection_id":158264,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:39:18] local.INFO: Acknowledgment sent {"connection_id":158264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:39:23] local.INFO: TCP Data received {"connection_id":158264,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:39:23] local.INFO: Processing buffer {"connection_id":158264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:39:23] local.INFO: Packet analysis {"connection_id":158264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:39:23] local.INFO: Extracted packet for processing {"connection_id":158264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:39:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511755520001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787155596000,"timestamp_ms":1787155596000,"timestamp_seconds":1787155596,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac642e0"} 
[2026-08-19 21:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:39:23] 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-08-19 21:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511755520001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511755520001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:39:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:39:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511755520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":158264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:39:23] local.INFO: GPS data processed {"connection_id":158264,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:39:23] local.INFO: Acknowledgment sent {"connection_id":158264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:39:41] local.INFO: TCP Data received {"connection_id":160447,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac6a488012d0ab1c006f13c880015007b31..."} 
[2026-08-19 21:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac6a488012d0ab1c006f13c880015007b31..."} 
[2026-08-19 21:39:41] local.INFO: Processing buffer {"connection_id":160447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac6a488012d0ab1c006f13c880015007b31..."} 
[2026-08-19 21:39:41] local.INFO: Packet analysis {"connection_id":160447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:39:41] local.INFO: Extracted packet for processing {"connection_id":160447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:39:41] local.INFO: GPS Element Parsed {"raw_longitude":755675584,"raw_latitude":116472968,"longitude_deg":75.5675584,"latitude_deg":11.6472968,"altitude":21,"angle":123,"satellites":49,"speed":6,"hex_longitude":"2d0ab1c0","hex_latitude":"06f13c88","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511833600001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386234275646668800,"note":"Value kept but may cause issues"} 
[2026-08-19 21:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":770115566097512448,"note":"Value kept but may cause issues"} 
[2026-08-19 21:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787155621000,"timestamp_ms":1787155621000,"timestamp_seconds":1787155621,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac6a488"} 
[2026-08-19 21:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:39: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-08-19 21: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-19 21:39:41] 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-08-19 21: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-08-19 21:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511833600001,"66":27463,"118":206,"2":56576,"24":6,"16":386234275646668800,"45":770115566097512448},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511833600001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:39:41] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386234275646668800,"km_value":386234275646668.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":770115566097512448,"description":"Unknown IO ID 45"} 
[2026-08-19 21:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511833600001,"power":27463,"unknown_118":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":770115566097512448}} 
[2026-08-19 21:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":160447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:39:41] local.INFO: GPS data processed {"connection_id":160447,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:39:41] local.INFO: Acknowledgment sent {"connection_id":160447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:40:04] local.INFO: TCP Data received {"connection_id":158265,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:40:04] local.INFO: Processing buffer {"connection_id":158265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:40:04] local.INFO: IMEI packet received {"connection_id":158265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":158265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:40:07] local.INFO: TCP Data received {"connection_id":158265,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:40:07] local.INFO: Processing buffer {"connection_id":158265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:40:07] local.INFO: IMEI packet received {"connection_id":158265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":158265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:40:08] local.INFO: TCP Data received {"connection_id":157911,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:40:08] local.INFO: Processing buffer {"connection_id":157911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:40:08] local.INFO: IMEI packet received {"connection_id":157911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":157911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:40:10] local.INFO: TCP Data received {"connection_id":158265,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac6f690012d0abac006f136b00014007c2e..."} 
[2026-08-19 21:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac6f690012d0abac006f136b00014007c2e..."} 
[2026-08-19 21:40:10] local.INFO: Processing buffer {"connection_id":158265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac6f690012d0abac006f136b00014007c2e..."} 
[2026-08-19 21:40:10] local.INFO: Packet analysis {"connection_id":158265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:40:10] local.INFO: Extracted packet for processing {"connection_id":158265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:40:10] local.INFO: GPS Element Parsed {"raw_longitude":755677888,"raw_latitude":116471472,"longitude_deg":75.5677888,"latitude_deg":11.6471472,"altitude":20,"angle":124,"satellites":46,"speed":5,"hex_longitude":"2d0abac0","hex_latitude":"06f136b0","is_valid_coordinates":true} 
[2026-08-19 21:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511838976001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386234408790654976,"note":"Value kept but may cause issues"} 
[2026-08-19 21:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":770608147306678272,"note":"Value kept but may cause issues"} 
[2026-08-19 21:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787155642000,"timestamp_ms":1787155642000,"timestamp_seconds":1787155642,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac6f690"} 
[2026-08-19 21:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 21:40:10] 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-08-19 21:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511838976001,"66":27300,"118":206,"2":56576,"24":5,"16":386234408790654976,"45":770608147306678272},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511838976001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:40:10] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386234408790654976,"km_value":386234408790655.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":770608147306678272,"description":"Unknown IO ID 45"} 
[2026-08-19 21:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511838976001,"power":27300,"unknown_118":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":770608147306678272}} 
[2026-08-19 21:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":158265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:40:10] local.INFO: GPS data processed {"connection_id":158265,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:40:10] local.INFO: Acknowledgment sent {"connection_id":158265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:40:12] local.INFO: TCP Data received {"connection_id":158265,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac74898012d0ac34006f131200013007a2f..."} 
[2026-08-19 21:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac74898012d0ac34006f131200013007a2f..."} 
[2026-08-19 21:40:12] local.INFO: Processing buffer {"connection_id":158265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac74898012d0ac34006f131200013007a2f..."} 
[2026-08-19 21:40:12] local.INFO: Packet analysis {"connection_id":158265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac7"} 
[2026-08-19 21:40:12] local.INFO: Extracted packet for processing {"connection_id":158265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac7"} 
[2026-08-19 21:40:12] local.INFO: GPS Element Parsed {"raw_longitude":755680064,"raw_latitude":116470048,"longitude_deg":75.5680064,"latitude_deg":11.6470048,"altitude":19,"angle":122,"satellites":47,"speed":0,"hex_longitude":"2d0ac340","hex_latitude":"06f13120","is_valid_coordinates":true} 
[2026-08-19 21:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511844352001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386234533344706560,"note":"Value kept but may cause issues"} 
[2026-08-19 21:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":773141422096691200,"note":"Value kept but may cause issues"} 
[2026-08-19 21:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787155663000,"timestamp_ms":1787155663000,"timestamp_seconds":1787155663,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac74898"} 
[2026-08-19 21:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 21:40:12] 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-08-19 21:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511844352001,"66":27343,"118":206,"2":56576,"24":0,"16":386234533344706560,"45":773141422096691200},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511844352001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:40:12] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386234533344706560,"km_value":386234533344706.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":773141422096691200,"description":"Unknown IO ID 45"} 
[2026-08-19 21:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511844352001,"power":27343,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":773141422096691200}} 
[2026-08-19 21:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":158265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:40:12] local.INFO: GPS data processed {"connection_id":158265,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:40:12] local.INFO: Acknowledgment sent {"connection_id":158265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:40:13] local.INFO: TCP Data received {"connection_id":157911,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:40:13] local.INFO: Processing buffer {"connection_id":157911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:40:13] local.INFO: IMEI packet received {"connection_id":157911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":157911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:40:13] local.INFO: TCP Data received {"connection_id":157911,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:40:13] local.INFO: Processing buffer {"connection_id":157911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:40:13] local.INFO: Packet analysis {"connection_id":157911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:40:13] local.INFO: Extracted packet for processing {"connection_id":157911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:40:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511755520001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787155596000,"timestamp_ms":1787155596000,"timestamp_seconds":1787155596,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac642e0"} 
[2026-08-19 21:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:40:13] 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-08-19 21:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511755520001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511755520001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:40:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:40:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511755520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":157911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:40:14] local.INFO: GPS data processed {"connection_id":157911,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:40:14] local.INFO: Acknowledgment sent {"connection_id":157911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:40:44] local.INFO: TCP Data received {"connection_id":158265,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac79aa0012d0ac80006f12d900013007d2e..."} 
[2026-08-19 21:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac79aa0012d0ac80006f12d900013007d2e..."} 
[2026-08-19 21:40:44] local.INFO: Processing buffer {"connection_id":158265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac79aa0012d0ac80006f12d900013007d2e..."} 
[2026-08-19 21:40:44] local.INFO: Packet analysis {"connection_id":158265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac7"} 
[2026-08-19 21:40:44] local.INFO: Extracted packet for processing {"connection_id":158265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac7"} 
[2026-08-19 21:40:44] local.INFO: GPS Element Parsed {"raw_longitude":755681280,"raw_latitude":116469136,"longitude_deg":75.568128,"latitude_deg":11.6469136,"altitude":19,"angle":125,"satellites":46,"speed":9,"hex_longitude":"2d0ac800","hex_latitude":"06f12d90","is_valid_coordinates":true} 
[2026-08-19 21:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511849728001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386234606359150592,"note":"Value kept but may cause issues"} 
[2026-08-19 21:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":775533959398367232,"note":"Value kept but may cause issues"} 
[2026-08-19 21:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787155684000,"timestamp_ms":1787155684000,"timestamp_seconds":1787155684,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac79aa0"} 
[2026-08-19 21:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:40: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-08-19 21:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 21:40:44] 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-08-19 21:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511849728001,"66":27321,"118":206,"2":56576,"24":9,"16":386234606359150592,"45":775533959398367232},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511849728001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:40:44] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386234606359150592,"km_value":386234606359150.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":775533959398367232,"description":"Unknown IO ID 45"} 
[2026-08-19 21:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511849728001,"power":27321,"unknown_118":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":775533959398367232}} 
[2026-08-19 21:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":158265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:40:44] local.INFO: GPS data processed {"connection_id":158265,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:40:44] local.INFO: Acknowledgment sent {"connection_id":158265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:40:45] local.INFO: TCP Data received {"connection_id":157911,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:40:45] local.INFO: Processing buffer {"connection_id":157911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:40:45] local.INFO: Packet analysis {"connection_id":157911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:40:45] local.INFO: Extracted packet for processing {"connection_id":157911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:40:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511755520001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787155596000,"timestamp_ms":1787155596000,"timestamp_seconds":1787155596,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac642e0"} 
[2026-08-19 21:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:40:45] 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-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511755520001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511755520001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:40:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:40:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511755520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":157911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:40:45] local.INFO: GPS data processed {"connection_id":157911,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:40:45] local.INFO: Acknowledgment sent {"connection_id":157911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:40:58] local.INFO: TCP Data received {"connection_id":158266,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:40:58] local.INFO: Processing buffer {"connection_id":158266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:40:58] local.INFO: IMEI packet received {"connection_id":158266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":158266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:41:03] local.INFO: TCP Data received {"connection_id":158266,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:41:03] local.INFO: Processing buffer {"connection_id":158266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:41:03] local.INFO: IMEI packet received {"connection_id":158266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":158266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:41:05] local.INFO: TCP Data received {"connection_id":158266,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac7eca8012d0accc006f12ab80012007a2f..."} 
[2026-08-19 21:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac7eca8012d0accc006f12ab80012007a2f..."} 
[2026-08-19 21:41:05] local.INFO: Processing buffer {"connection_id":158266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac7eca8012d0accc006f12ab80012007a2f..."} 
[2026-08-19 21:41:05] local.INFO: Packet analysis {"connection_id":158266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac7"} 
[2026-08-19 21:41:05] local.INFO: Extracted packet for processing {"connection_id":158266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac7"} 
[2026-08-19 21:41:05] local.INFO: GPS Element Parsed {"raw_longitude":755682496,"raw_latitude":116468408,"longitude_deg":75.5682496,"latitude_deg":11.6468408,"altitude":18,"angle":122,"satellites":47,"speed":0,"hex_longitude":"2d0accc0","hex_latitude":"06f12ab8","is_valid_coordinates":true} 
[2026-08-19 21:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511855104001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386234679373594624,"note":"Value kept but may cause issues"} 
[2026-08-19 21:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":776870965537509376,"note":"Value kept but may cause issues"} 
[2026-08-19 21:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787155705000,"timestamp_ms":1787155705000,"timestamp_seconds":1787155705,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac7eca8"} 
[2026-08-19 21:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:41: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-08-19 21:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 21:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511855104001,"66":27213,"118":206,"2":56576,"24":0,"16":386234679373594624,"45":776870965537509376},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511855104001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:41:05] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386234679373594624,"km_value":386234679373594.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":776870965537509376,"description":"Unknown IO ID 45"} 
[2026-08-19 21:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511855104001,"power":27213,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":776870965537509376}} 
[2026-08-19 21:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":158266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:41:05] local.INFO: GPS data processed {"connection_id":158266,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:41:05] local.INFO: Acknowledgment sent {"connection_id":158266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:41:08] local.INFO: TCP Data received {"connection_id":158267,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:41:08] local.INFO: Processing buffer {"connection_id":158267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:41:08] local.INFO: IMEI packet received {"connection_id":158267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":158267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:41:13] local.INFO: TCP Data received {"connection_id":158267,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:41:13] local.INFO: Processing buffer {"connection_id":158267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:41:13] local.INFO: IMEI packet received {"connection_id":158267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":158267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:41:13] local.INFO: TCP Data received {"connection_id":158267,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:41:13] local.INFO: Processing buffer {"connection_id":158267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:41:13] local.INFO: Packet analysis {"connection_id":158267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:41:13] local.INFO: Extracted packet for processing {"connection_id":158267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:41:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511755520001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787155596000,"timestamp_ms":1787155596000,"timestamp_seconds":1787155596,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac642e0"} 
[2026-08-19 21:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:41:13] 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-08-19 21:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511755520001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511755520001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:41:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:41:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511755520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":158267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:41:14] local.INFO: GPS data processed {"connection_id":158267,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:41:14] local.INFO: Acknowledgment sent {"connection_id":158267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:41:38] local.INFO: TCP Data received {"connection_id":158266,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac83eb0012d0ada4006f12170001200802f..."} 
[2026-08-19 21:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac83eb0012d0ada4006f12170001200802f..."} 
[2026-08-19 21:41:38] local.INFO: Processing buffer {"connection_id":158266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac83eb0012d0ada4006f12170001200802f..."} 
[2026-08-19 21:41:38] local.INFO: Packet analysis {"connection_id":158266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac8"} 
[2026-08-19 21:41:38] local.INFO: Extracted packet for processing {"connection_id":158266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac8"} 
[2026-08-19 21:41:38] local.INFO: GPS Element Parsed {"raw_longitude":755685952,"raw_latitude":116466032,"longitude_deg":75.5685952,"latitude_deg":11.6466032,"altitude":18,"angle":128,"satellites":47,"speed":6,"hex_longitude":"2d0ada40","hex_latitude":"06f12170","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511860480001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386234881237057536,"note":"Value kept but may cause issues"} 
[2026-08-19 21:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":778207971676698624,"note":"Value kept but may cause issues"} 
[2026-08-19 21:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787155726000,"timestamp_ms":1787155726000,"timestamp_seconds":1787155726,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac83eb0"} 
[2026-08-19 21:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:41: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-08-19 21: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 21:41:38] 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-08-19 21: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-08-19 21:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511860480001,"66":27397,"118":206,"2":56576,"24":6,"16":386234881237057536,"45":778207971676698624},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511860480001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:41:38] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386234881237057536,"km_value":386234881237057.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":778207971676698624,"description":"Unknown IO ID 45"} 
[2026-08-19 21:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511860480001,"power":27397,"unknown_118":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":778207971676698624}} 
[2026-08-19 21:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":158266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:41:38] local.INFO: GPS data processed {"connection_id":158266,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:41:38] local.INFO: Acknowledgment sent {"connection_id":158266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:41:44] local.INFO: TCP Data received {"connection_id":158267,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:41:44] local.INFO: Processing buffer {"connection_id":158267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:41:44] local.INFO: Packet analysis {"connection_id":158267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:41:44] local.INFO: Extracted packet for processing {"connection_id":158267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:41:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511755520001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787155596000,"timestamp_ms":1787155596000,"timestamp_seconds":1787155596,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac642e0"} 
[2026-08-19 21:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511755520001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511755520001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:41:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:41:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511755520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":158267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:41:45] local.INFO: GPS data processed {"connection_id":158267,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:41:45] local.INFO: Acknowledgment sent {"connection_id":158267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:41:57] local.INFO: TCP Data received {"connection_id":157912,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:41:57] local.INFO: Processing buffer {"connection_id":157912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:41:57] local.INFO: IMEI packet received {"connection_id":157912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":157912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:41:58] local.INFO: TCP Data received {"connection_id":157912,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:41:58] local.INFO: Processing buffer {"connection_id":157912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:41:58] local.INFO: IMEI packet received {"connection_id":157912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":157912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:42:00] local.INFO: TCP Data received {"connection_id":157912,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:42:00] local.INFO: Processing buffer {"connection_id":157912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:42:00] local.INFO: IMEI packet received {"connection_id":157912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":157912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:42:03] local.INFO: TCP Data received {"connection_id":157912,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:42:03] local.INFO: Processing buffer {"connection_id":157912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:42:03] local.INFO: IMEI packet received {"connection_id":157912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":157912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:42:05] local.INFO: TCP Data received {"connection_id":157912,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac890b8012d0adf4006f11db00013008131..."} 
[2026-08-19 21:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac890b8012d0adf4006f11db00013008131..."} 
[2026-08-19 21:42:05] local.INFO: Processing buffer {"connection_id":157912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac890b8012d0adf4006f11db00013008131..."} 
[2026-08-19 21:42:05] local.INFO: Packet analysis {"connection_id":157912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac8"} 
[2026-08-19 21:42:05] local.INFO: Extracted packet for processing {"connection_id":157912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac8"} 
[2026-08-19 21:42:05] local.INFO: GPS Element Parsed {"raw_longitude":755687232,"raw_latitude":116465072,"longitude_deg":75.5687232,"latitude_deg":11.6465072,"altitude":19,"angle":129,"satellites":49,"speed":4,"hex_longitude":"2d0adf40","hex_latitude":"06f11db0","is_valid_coordinates":true} 
[2026-08-19 21:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511865856001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386234958546468864,"note":"Value kept but may cause issues"} 
[2026-08-19 21:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":782007883861684224,"note":"Value kept but may cause issues"} 
[2026-08-19 21:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787155747000,"timestamp_ms":1787155747000,"timestamp_seconds":1787155747,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac890b8"} 
[2026-08-19 21:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:42: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-08-19 21:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 21:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511865856001,"66":27484,"118":206,"2":56576,"24":4,"16":386234958546468864,"45":782007883861684224},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511865856001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:42:05] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386234958546468864,"km_value":386234958546468.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":782007883861684224,"description":"Unknown IO ID 45"} 
[2026-08-19 21:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511865856001,"power":27484,"unknown_118":206,"power_alt":56576,"ignition":4,"odometer":null,"unknown_45":782007883861684224}} 
[2026-08-19 21:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":157912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:42:05] local.INFO: GPS data processed {"connection_id":157912,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:42:05] local.INFO: Acknowledgment sent {"connection_id":157912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:42:08] local.INFO: TCP Data received {"connection_id":157913,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:42:08] local.INFO: Processing buffer {"connection_id":157913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:42:08] local.INFO: IMEI packet received {"connection_id":157913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":157913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:42:13] local.INFO: TCP Data received {"connection_id":157913,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:42:13] local.INFO: Processing buffer {"connection_id":157913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:42:13] local.INFO: IMEI packet received {"connection_id":157913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":157913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:42:13] local.INFO: TCP Data received {"connection_id":157913,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:42:13] local.INFO: Processing buffer {"connection_id":157913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ac642e0012d196500071ff128004101462b..."} 
[2026-08-19 21:42:13] local.INFO: Packet analysis {"connection_id":157913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:42:13] local.INFO: Extracted packet for processing {"connection_id":157913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ac6"} 
[2026-08-19 21:42:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511755520001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787155596000,"timestamp_ms":1787155596000,"timestamp_seconds":1787155596,"priority":1,"record_length":96,"hex_timestamp":"000001a01ac642e0"} 
[2026-08-19 21:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:42:13] 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-08-19 21:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511755520001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511755520001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:42:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:42:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511755520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":157913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:42:14] local.INFO: GPS data processed {"connection_id":157913,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:42:14] local.INFO: Acknowledgment sent {"connection_id":157913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:42:37] local.INFO: TCP Data received {"connection_id":157912,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01acae660012d0b27c006f0cdc00011009033..."} 
[2026-08-19 21:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acae660012d0b27c006f0cdc00011009033..."} 
[2026-08-19 21:42:37] local.INFO: Processing buffer {"connection_id":157912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acae660012d0b27c006f0cdc00011009033..."} 
[2026-08-19 21:42:37] local.INFO: Packet analysis {"connection_id":157912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:42:37] local.INFO: Extracted packet for processing {"connection_id":157912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:42:37] local.INFO: GPS Element Parsed {"raw_longitude":755705792,"raw_latitude":116444608,"longitude_deg":75.5705792,"latitude_deg":11.6444608,"altitude":17,"angle":144,"satellites":51,"speed":24,"hex_longitude":"2d0b27c0","hex_latitude":"06f0cdc0","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511905024001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386236315756134400,"note":"Value kept but may cause issues"} 
[2026-08-19 21:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797629745065482240,"note":"Value kept but may cause issues"} 
[2026-08-19 21:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787155900000,"timestamp_ms":1787155900000,"timestamp_seconds":1787155900,"priority":1,"record_length":96,"hex_timestamp":"000001a01acae660"} 
[2026-08-19 21:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-08-19 21:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511905024001,"66":27365,"118":206,"2":56576,"24":24,"16":386236315756134400,"45":797629745065482240},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511905024001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:42:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386236315756134400,"km_value":386236315756134.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":797629745065482240,"description":"Unknown IO ID 45"} 
[2026-08-19 21:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511905024001,"power":27365,"unknown_118":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":797629745065482240}} 
[2026-08-19 21:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":157912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:42:37] local.INFO: GPS data processed {"connection_id":157912,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:42:37] local.INFO: Acknowledgment sent {"connection_id":157912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:42:45] local.INFO: TCP Data received {"connection_id":157913,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:42:45] local.INFO: Processing buffer {"connection_id":157913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:42:45] local.INFO: Packet analysis {"connection_id":157913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:42:45] local.INFO: Extracted packet for processing {"connection_id":157913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:42:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511832576001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787155897000,"timestamp_ms":1787155897000,"timestamp_seconds":1787155897,"priority":1,"record_length":96,"hex_timestamp":"000001a01acadaa8"} 
[2026-08-19 21:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511832576001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511832576001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:42:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:42:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511832576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":157913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:42:45] local.INFO: GPS data processed {"connection_id":157913,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:42:45] local.INFO: Acknowledgment sent {"connection_id":157913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:42:58] local.INFO: TCP Data received {"connection_id":158268,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:42:58] local.INFO: Processing buffer {"connection_id":158268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:42:58] local.INFO: IMEI packet received {"connection_id":158268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":158268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:43:00] local.INFO: TCP Data received {"connection_id":158268,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:43:00] local.INFO: Processing buffer {"connection_id":158268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:43:00] local.INFO: IMEI packet received {"connection_id":158268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":158268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:43:03] local.INFO: TCP Data received {"connection_id":158268,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:43:03] local.INFO: Processing buffer {"connection_id":158268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:43:03] local.INFO: IMEI packet received {"connection_id":158268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":158268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:43:05] local.INFO: TCP Data received {"connection_id":158268,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01acae660012d0b27c006f0cdc00011009033..."} 
[2026-08-19 21:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acae660012d0b27c006f0cdc00011009033..."} 
[2026-08-19 21:43:05] local.INFO: Processing buffer {"connection_id":158268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acae660012d0b27c006f0cdc00011009033..."} 
[2026-08-19 21:43:05] local.INFO: Packet analysis {"connection_id":158268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:43:05] local.INFO: Extracted packet for processing {"connection_id":158268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:43:05] local.INFO: GPS Element Parsed {"raw_longitude":755705792,"raw_latitude":116444608,"longitude_deg":75.5705792,"latitude_deg":11.6444608,"altitude":17,"angle":144,"satellites":51,"speed":24,"hex_longitude":"2d0b27c0","hex_latitude":"06f0cdc0","is_valid_coordinates":true} 
[2026-08-19 21:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511910400001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386236315756134400,"note":"Value kept but may cause issues"} 
[2026-08-19 21:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803822194551275520,"note":"Value kept but may cause issues"} 
[2026-08-19 21:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787155900000,"timestamp_ms":1787155900000,"timestamp_seconds":1787155900,"priority":1,"record_length":96,"hex_timestamp":"000001a01acae660"} 
[2026-08-19 21:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 21:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511910400001,"66":27365,"118":206,"2":56576,"24":24,"16":386236315756134400,"45":803822194551275520},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511910400001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:43:05] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386236315756134400,"km_value":386236315756134.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":803822194551275520,"description":"Unknown IO ID 45"} 
[2026-08-19 21:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511910400001,"power":27365,"unknown_118":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":803822194551275520}} 
[2026-08-19 21:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":158268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:43:05] local.INFO: GPS data processed {"connection_id":158268,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:43:05] local.INFO: Acknowledgment sent {"connection_id":158268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:43:13] local.INFO: TCP Data received {"connection_id":160448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:43:13] local.INFO: Processing buffer {"connection_id":160448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:43:13] local.INFO: IMEI packet received {"connection_id":160448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":160448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:43:18] local.INFO: TCP Data received {"connection_id":160448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:43:18] local.INFO: Processing buffer {"connection_id":160448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:43:18] local.INFO: IMEI packet received {"connection_id":160448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":160448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:43:18] local.INFO: TCP Data received {"connection_id":160448,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:43:18] local.INFO: Processing buffer {"connection_id":160448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:43:18] local.INFO: Packet analysis {"connection_id":160448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:43:18] local.INFO: Extracted packet for processing {"connection_id":160448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 21:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511832576001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787155897000,"timestamp_ms":1787155897000,"timestamp_seconds":1787155897,"priority":1,"record_length":96,"hex_timestamp":"000001a01acadaa8"} 
[2026-08-19 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-08-19 21:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 21:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511832576001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511832576001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:43:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:43:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511832576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":160448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:43:18] local.INFO: GPS data processed {"connection_id":160448,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:43:18] local.INFO: Acknowledgment sent {"connection_id":160448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:43:23] local.INFO: TCP Data received {"connection_id":160448,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:43:23] local.INFO: Processing buffer {"connection_id":160448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:43:23] local.INFO: Packet analysis {"connection_id":160448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:43:23] local.INFO: Extracted packet for processing {"connection_id":160448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:43:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511832576001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787155897000,"timestamp_ms":1787155897000,"timestamp_seconds":1787155897,"priority":1,"record_length":96,"hex_timestamp":"000001a01acadaa8"} 
[2026-08-19 21:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511832576001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511832576001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:43:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:43:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511832576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":160448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:43:23] local.INFO: GPS data processed {"connection_id":160448,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:43:23] local.INFO: Acknowledgment sent {"connection_id":160448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:43:39] local.INFO: TCP Data received {"connection_id":158268,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01acb1540012d0b3ac006f0adb80011009933..."} 
[2026-08-19 21:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acb1540012d0b3ac006f0adb80011009933..."} 
[2026-08-19 21:43:39] local.INFO: Processing buffer {"connection_id":158268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acb1540012d0b3ac006f0adb80011009933..."} 
[2026-08-19 21:43:39] local.INFO: Packet analysis {"connection_id":158268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acb"} 
[2026-08-19 21:43:39] local.INFO: Extracted packet for processing {"connection_id":158268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acb"} 
[2026-08-19 21:43:39] local.INFO: GPS Element Parsed {"raw_longitude":755710656,"raw_latitude":116436408,"longitude_deg":75.5710656,"latitude_deg":11.6436408,"altitude":17,"angle":153,"satellites":51,"speed":40,"hex_longitude":"2d0b3ac0","hex_latitude":"06f0adb8","is_valid_coordinates":true} 
[2026-08-19 21:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511910400001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386236775317635072,"note":"Value kept but may cause issues"} 
[2026-08-19 21:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803822194551275520,"note":"Value kept but may cause issues"} 
[2026-08-19 21:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787155912000,"timestamp_ms":1787155912000,"timestamp_seconds":1787155912,"priority":1,"record_length":96,"hex_timestamp":"000001a01acb1540"} 
[2026-08-19 21:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 21:43:39] 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-08-19 21:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511910400001,"66":27332,"118":206,"2":56576,"24":40,"16":386236775317635072,"45":803822194551275520},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511910400001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:43:39] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386236775317635072,"km_value":386236775317635.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":803822194551275520,"description":"Unknown IO ID 45"} 
[2026-08-19 21:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511910400001,"power":27332,"unknown_118":206,"power_alt":56576,"ignition":40,"odometer":null,"unknown_45":803822194551275520}} 
[2026-08-19 21:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":158268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:43:39] local.INFO: GPS data processed {"connection_id":158268,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:43:39] local.INFO: Acknowledgment sent {"connection_id":158268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:44:04] local.INFO: TCP Data received {"connection_id":157914,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:44:04] local.INFO: Processing buffer {"connection_id":157914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:44:04] local.INFO: IMEI packet received {"connection_id":157914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":157914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:44:06] local.INFO: TCP Data received {"connection_id":157914,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:44:06] local.INFO: Processing buffer {"connection_id":157914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:44:06] local.INFO: IMEI packet received {"connection_id":157914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":157914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:44:08] local.INFO: TCP Data received {"connection_id":159132,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:44:08] local.INFO: Processing buffer {"connection_id":159132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:44:08] local.INFO: IMEI packet received {"connection_id":159132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":159132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:44:09] local.INFO: TCP Data received {"connection_id":157914,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01acb3480012d0b49c006f08d780010009c33..."} 
[2026-08-19 21:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acb3480012d0b49c006f08d780010009c33..."} 
[2026-08-19 21:44:09] local.INFO: Processing buffer {"connection_id":157914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acb3480012d0b49c006f08d780010009c33..."} 
[2026-08-19 21:44:09] local.INFO: Packet analysis {"connection_id":157914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acb"} 
[2026-08-19 21:44:09] local.INFO: Extracted packet for processing {"connection_id":157914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acb"} 
[2026-08-19 21:44:09] local.INFO: GPS Element Parsed {"raw_longitude":755714496,"raw_latitude":116428152,"longitude_deg":75.5714496,"latitude_deg":11.6428152,"altitude":16,"angle":156,"satellites":51,"speed":47,"hex_longitude":"2d0b49c0","hex_latitude":"06f08d78","is_valid_coordinates":true} 
[2026-08-19 21:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511913472001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386237213404299264,"note":"Value kept but may cause issues"} 
[2026-08-19 21:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809170219106678784,"note":"Value kept but may cause issues"} 
[2026-08-19 21:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787155920000,"timestamp_ms":1787155920000,"timestamp_seconds":1787155920,"priority":1,"record_length":96,"hex_timestamp":"000001a01acb3480"} 
[2026-08-19 21:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:44: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-08-19 21:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 21:44:09] 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-08-19 21:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511913472001,"66":27115,"118":206,"2":56576,"24":47,"16":386237213404299264,"45":809170219106678784},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511913472001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:44:09] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386237213404299264,"km_value":386237213404299.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":809170219106678784,"description":"Unknown IO ID 45"} 
[2026-08-19 21:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511913472001,"power":27115,"unknown_118":206,"power_alt":56576,"ignition":47,"odometer":null,"unknown_45":809170219106678784}} 
[2026-08-19 21:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":157914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:44:09] local.INFO: GPS data processed {"connection_id":157914,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:44:09] local.INFO: Acknowledgment sent {"connection_id":157914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:44:11] local.INFO: TCP Data received {"connection_id":157914,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01acb4fd8012d0b55c006f06ca0001000a232..."} 
[2026-08-19 21:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acb4fd8012d0b55c006f06ca0001000a232..."} 
[2026-08-19 21:44:11] local.INFO: Processing buffer {"connection_id":157914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acb4fd8012d0b55c006f06ca0001000a232..."} 
[2026-08-19 21:44:11] local.INFO: Packet analysis {"connection_id":157914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acb"} 
[2026-08-19 21:44:11] local.INFO: Extracted packet for processing {"connection_id":157914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acb"} 
[2026-08-19 21:44:11] local.INFO: GPS Element Parsed {"raw_longitude":755717568,"raw_latitude":116419744,"longitude_deg":75.5717568,"latitude_deg":11.6419744,"altitude":16,"angle":162,"satellites":50,"speed":54,"hex_longitude":"2d0b55c0","hex_latitude":"06f06ca0","is_valid_coordinates":true} 
[2026-08-19 21:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511915520001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386237647195996160,"note":"Value kept but may cause issues"} 
[2026-08-19 21:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813392343755225088,"note":"Value kept but may cause issues"} 
[2026-08-19 21:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787155927000,"timestamp_ms":1787155927000,"timestamp_seconds":1787155927,"priority":1,"record_length":96,"hex_timestamp":"000001a01acb4fd8"} 
[2026-08-19 21:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-19 21:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511915520001,"66":27300,"118":206,"2":56576,"24":54,"16":386237647195996160,"45":813392343755225088},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511915520001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:44:11] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386237647195996160,"km_value":386237647195996.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":813392343755225088,"description":"Unknown IO ID 45"} 
[2026-08-19 21:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511915520001,"power":27300,"unknown_118":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":813392343755225088}} 
[2026-08-19 21:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":157914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:44:11] local.INFO: GPS data processed {"connection_id":157914,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:44:11] local.INFO: Acknowledgment sent {"connection_id":157914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:44:13] local.INFO: TCP Data received {"connection_id":159132,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:44:13] local.INFO: Processing buffer {"connection_id":159132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:44:13] local.INFO: IMEI packet received {"connection_id":159132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":159132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:44:14] local.INFO: TCP Data received {"connection_id":159132,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:44:14] local.INFO: Processing buffer {"connection_id":159132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:44:14] local.INFO: Packet analysis {"connection_id":159132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:44:14] local.INFO: Extracted packet for processing {"connection_id":159132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:44:14] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511832576001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787155897000,"timestamp_ms":1787155897000,"timestamp_seconds":1787155897,"priority":1,"record_length":96,"hex_timestamp":"000001a01acadaa8"} 
[2026-08-19 21:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511832576001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511832576001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:44:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:44:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511832576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":159132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:44:14] local.INFO: GPS data processed {"connection_id":159132,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:44:14] local.INFO: Acknowledgment sent {"connection_id":159132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:44:43] local.INFO: TCP Data received {"connection_id":157914,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01acccac0012d0bcec006eeca280010009d33..."} 
[2026-08-19 21:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acccac0012d0bcec006eeca280010009d33..."} 
[2026-08-19 21:44:43] local.INFO: Processing buffer {"connection_id":157914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acccac0012d0bcec006eeca280010009d33..."} 
[2026-08-19 21:44:43] local.INFO: Packet analysis {"connection_id":157914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acc"} 
[2026-08-19 21:44:43] local.INFO: Extracted packet for processing {"connection_id":157914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acc"} 
[2026-08-19 21:44:43] local.INFO: GPS Element Parsed {"raw_longitude":755748544,"raw_latitude":116312616,"longitude_deg":75.5748544,"latitude_deg":11.6312616,"altitude":16,"angle":157,"satellites":51,"speed":48,"hex_longitude":"2d0bcec0","hex_latitude":"06eeca28","is_valid_coordinates":true} 
[2026-08-19 21:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511940096001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386243058854789120,"note":"Value kept but may cause issues"} 
[2026-08-19 21:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":847028603444834304,"note":"Value kept but may cause issues"} 
[2026-08-19 21:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787156024000,"timestamp_ms":1787156024000,"timestamp_seconds":1787156024,"priority":1,"record_length":96,"hex_timestamp":"000001a01acccac0"} 
[2026-08-19 21:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 21:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511940096001,"66":27343,"118":206,"2":56576,"24":48,"16":386243058854789120,"45":847028603444834304},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511940096001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:44:43] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386243058854789120,"km_value":386243058854789.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":847028603444834304,"description":"Unknown IO ID 45"} 
[2026-08-19 21:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511940096001,"power":27343,"unknown_118":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":847028603444834304}} 
[2026-08-19 21:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":157914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:44:43] local.INFO: GPS data processed {"connection_id":157914,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:44:43] local.INFO: Acknowledgment sent {"connection_id":157914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:44:45] local.INFO: TCP Data received {"connection_id":159132,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:44:45] local.INFO: Processing buffer {"connection_id":159132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:44:45] local.INFO: Packet analysis {"connection_id":159132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:44:45] local.INFO: Extracted packet for processing {"connection_id":159132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:44:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511832576001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787155897000,"timestamp_ms":1787155897000,"timestamp_seconds":1787155897,"priority":1,"record_length":96,"hex_timestamp":"000001a01acadaa8"} 
[2026-08-19 21:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511832576001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511832576001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:44:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:44:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511832576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":159132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:44:45] local.INFO: GPS data processed {"connection_id":159132,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:44:45] local.INFO: Acknowledgment sent {"connection_id":159132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:44:58] local.INFO: TCP Data received {"connection_id":158269,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:44:58] local.INFO: Processing buffer {"connection_id":158269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:44:58] local.INFO: IMEI packet received {"connection_id":158269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":158269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:45:00] local.INFO: TCP Data received {"connection_id":158269,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:45:00] local.INFO: Processing buffer {"connection_id":158269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:45:00] local.INFO: IMEI packet received {"connection_id":158269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":158269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:45:01] local.INFO: TCP Data received {"connection_id":158269,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01accea00012d0be04006eea6f80012009732..."} 
[2026-08-19 21:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01accea00012d0be04006eea6f80012009732..."} 
[2026-08-19 21:45:01] local.INFO: Processing buffer {"connection_id":158269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01accea00012d0be04006eea6f80012009732..."} 
[2026-08-19 21:45:01] local.INFO: Packet analysis {"connection_id":158269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acc"} 
[2026-08-19 21:45:01] local.INFO: Extracted packet for processing {"connection_id":158269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acc"} 
[2026-08-19 21:45:01] local.INFO: GPS Element Parsed {"raw_longitude":755753024,"raw_latitude":116303608,"longitude_deg":75.5753024,"latitude_deg":11.6303608,"altitude":18,"angle":151,"satellites":50,"speed":48,"hex_longitude":"2d0be040","hex_latitude":"06eea6f8","is_valid_coordinates":true} 
[2026-08-19 21:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511942144001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386243544186093568,"note":"Value kept but may cause issues"} 
[2026-08-19 21:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":850828515628165120,"note":"Value kept but may cause issues"} 
[2026-08-19 21:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787156032000,"timestamp_ms":1787156032000,"timestamp_seconds":1787156032,"priority":1,"record_length":96,"hex_timestamp":"000001a01accea00"} 
[2026-08-19 21:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 21:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":158269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":158269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":158269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511942144001,"66":27310,"118":206,"2":56576,"24":48,"16":386243544186093568,"45":850828515628165120},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511942144001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:45:01] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386243544186093568,"km_value":386243544186093.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":850828515628165120,"description":"Unknown IO ID 45"} 
[2026-08-19 21:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511942144001,"power":27310,"unknown_118":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":850828515628165120}} 
[2026-08-19 21:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":158269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:45:01] local.INFO: GPS data processed {"connection_id":158269,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:45:01] local.INFO: Acknowledgment sent {"connection_id":158269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:45:08] local.INFO: TCP Data received {"connection_id":159133,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:45:08] local.INFO: Processing buffer {"connection_id":159133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:45:08] local.INFO: IMEI packet received {"connection_id":159133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":159133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:45:13] local.INFO: TCP Data received {"connection_id":159133,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:45:13] local.INFO: Processing buffer {"connection_id":159133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:45:13] local.INFO: IMEI packet received {"connection_id":159133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":159133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:45:13] local.INFO: TCP Data received {"connection_id":159133,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:45:13] local.INFO: Processing buffer {"connection_id":159133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:45:13] local.INFO: Packet analysis {"connection_id":159133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:45:13] local.INFO: Extracted packet for processing {"connection_id":159133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:45:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511832576001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787155897000,"timestamp_ms":1787155897000,"timestamp_seconds":1787155897,"priority":1,"record_length":96,"hex_timestamp":"000001a01acadaa8"} 
[2026-08-19 21:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511832576001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511832576001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:45:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:45:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511832576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":159133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:45:13] local.INFO: GPS data processed {"connection_id":159133,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:45:13] local.INFO: Acknowledgment sent {"connection_id":159133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:45:32] local.INFO: TCP Data received {"connection_id":158269,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01acd0940012d0be90006ee92d8001300a533..."} 
[2026-08-19 21:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acd0940012d0be90006ee92d8001300a533..."} 
[2026-08-19 21:45:32] local.INFO: Processing buffer {"connection_id":158269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acd0940012d0be90006ee92d8001300a533..."} 
[2026-08-19 21:45:32] local.INFO: Packet analysis {"connection_id":158269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acd"} 
[2026-08-19 21:45:32] local.INFO: Extracted packet for processing {"connection_id":158269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acd"} 
[2026-08-19 21:45:32] local.INFO: GPS Element Parsed {"raw_longitude":755755264,"raw_latitude":116298456,"longitude_deg":75.5755264,"latitude_deg":11.6298456,"altitude":19,"angle":165,"satellites":51,"speed":14,"hex_longitude":"2d0be900","hex_latitude":"06ee92d8","is_valid_coordinates":true} 
[2026-08-19 21:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511944192001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386243814769033216,"note":"Value kept but may cause issues"} 
[2026-08-19 21:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":855754327718295552,"note":"Value kept but may cause issues"} 
[2026-08-19 21:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787156040000,"timestamp_ms":1787156040000,"timestamp_seconds":1787156040,"priority":1,"record_length":96,"hex_timestamp":"000001a01acd0940"} 
[2026-08-19 21:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:45: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-08-19 21:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 21:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511944192001,"66":27397,"118":206,"2":56576,"24":14,"16":386243814769033216,"45":855754327718295552},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511944192001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:45:32] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386243814769033216,"km_value":386243814769033.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":855754327718295552,"description":"Unknown IO ID 45"} 
[2026-08-19 21:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511944192001,"power":27397,"unknown_118":206,"power_alt":56576,"ignition":14,"odometer":null,"unknown_45":855754327718295552}} 
[2026-08-19 21:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":158269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:45:32] local.INFO: GPS data processed {"connection_id":158269,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:45:32] local.INFO: Acknowledgment sent {"connection_id":158269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:45:45] local.INFO: TCP Data received {"connection_id":159133,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:45:45] local.INFO: Processing buffer {"connection_id":159133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:45:45] local.INFO: Packet analysis {"connection_id":159133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:45:45] local.INFO: Extracted packet for processing {"connection_id":159133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511832576001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787155897000,"timestamp_ms":1787155897000,"timestamp_seconds":1787155897,"priority":1,"record_length":96,"hex_timestamp":"000001a01acadaa8"} 
[2026-08-19 21:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511832576001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511832576001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:45:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511832576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":159133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:45:45] local.INFO: GPS data processed {"connection_id":159133,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:45:45] local.INFO: Acknowledgment sent {"connection_id":159133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:45:59] local.INFO: TCP Data received {"connection_id":158270,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:45:59] local.INFO: Processing buffer {"connection_id":158270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:45:59] local.INFO: IMEI packet received {"connection_id":158270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":158270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:46:03] local.INFO: TCP Data received {"connection_id":158270,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:46:03] local.INFO: Processing buffer {"connection_id":158270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:46:03] local.INFO: IMEI packet received {"connection_id":158270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":158270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:46:06] local.INFO: TCP Data received {"connection_id":158270,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01acd2880012d0becc006ee85200014009a33..."} 
[2026-08-19 21:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acd2880012d0becc006ee85200014009a33..."} 
[2026-08-19 21:46:06] local.INFO: Processing buffer {"connection_id":158270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acd2880012d0becc006ee85200014009a33..."} 
[2026-08-19 21:46:06] local.INFO: Packet analysis {"connection_id":158270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acd"} 
[2026-08-19 21:46:06] local.INFO: Extracted packet for processing {"connection_id":158270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acd"} 
[2026-08-19 21:46:06] local.INFO: GPS Element Parsed {"raw_longitude":755756224,"raw_latitude":116294944,"longitude_deg":75.5756224,"latitude_deg":11.6294944,"altitude":20,"angle":154,"satellites":51,"speed":22,"hex_longitude":"2d0becc0","hex_latitude":"06ee8520","is_valid_coordinates":true} 
[2026-08-19 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-08-19 21:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511946240001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386243995157659648,"note":"Value kept but may cause issues"} 
[2026-08-19 21:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":858217233763194880,"note":"Value kept but may cause issues"} 
[2026-08-19 21:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787156048000,"timestamp_ms":1787156048000,"timestamp_seconds":1787156048,"priority":1,"record_length":96,"hex_timestamp":"000001a01acd2880"} 
[2026-08-19 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-08-19 21:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 21:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 21:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511946240001,"66":26789,"118":206,"2":56576,"24":22,"16":386243995157659648,"45":858217233763194880},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 21:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511946240001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:46:06] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 21:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386243995157659648,"km_value":386243995157659.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":858217233763194880,"description":"Unknown IO ID 45"} 
[2026-08-19 21:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511946240001,"power":26789,"unknown_118":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":858217233763194880}} 
[2026-08-19 21:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":158270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:46:06] local.INFO: GPS data processed {"connection_id":158270,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:46:06] local.INFO: Acknowledgment sent {"connection_id":158270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:46:08] local.INFO: TCP Data received {"connection_id":160449,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:46:08] local.INFO: Processing buffer {"connection_id":160449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:46:08] local.INFO: IMEI packet received {"connection_id":160449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":160449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:46:13] local.INFO: TCP Data received {"connection_id":160449,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:46:13] local.INFO: Processing buffer {"connection_id":160449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:46:13] local.INFO: IMEI packet received {"connection_id":160449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":160449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:46:13] local.INFO: TCP Data received {"connection_id":160449,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:46:13] local.INFO: Processing buffer {"connection_id":160449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:46:13] local.INFO: Packet analysis {"connection_id":160449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:46:13] local.INFO: Extracted packet for processing {"connection_id":160449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:46:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511832576001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787155897000,"timestamp_ms":1787155897000,"timestamp_seconds":1787155897,"priority":1,"record_length":96,"hex_timestamp":"000001a01acadaa8"} 
[2026-08-19 21:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511832576001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511832576001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:46:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:46:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511832576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":160449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:46:14] local.INFO: GPS data processed {"connection_id":160449,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:46:14] local.INFO: Acknowledgment sent {"connection_id":160449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:46:38] local.INFO: TCP Data received {"connection_id":158270,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01acd5f30012d0bfd8006ee66f00015008c33..."} 
[2026-08-19 21:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acd5f30012d0bfd8006ee66f00015008c33..."} 
[2026-08-19 21:46:38] local.INFO: Processing buffer {"connection_id":158270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acd5f30012d0bfd8006ee66f00015008c33..."} 
[2026-08-19 21:46:38] local.INFO: Packet analysis {"connection_id":158270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acd"} 
[2026-08-19 21:46:38] local.INFO: Extracted packet for processing {"connection_id":158270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acd"} 
[2026-08-19 21:46:38] local.INFO: GPS Element Parsed {"raw_longitude":755760512,"raw_latitude":116287216,"longitude_deg":75.5760512,"latitude_deg":11.6287216,"altitude":21,"angle":140,"satellites":51,"speed":18,"hex_longitude":"2d0bfd80","hex_latitude":"06ee66f0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 21:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511948288001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386244420359421952,"note":"Value kept but may cause issues"} 
[2026-08-19 21:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":859272764924960768,"note":"Value kept but may cause issues"} 
[2026-08-19 21:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787156062000,"timestamp_ms":1787156062000,"timestamp_seconds":1787156062,"priority":1,"record_length":96,"hex_timestamp":"000001a01acd5f30"} 
[2026-08-19 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-08-19 21:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-08-19 21:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 21:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511948288001,"66":27343,"158":206,"2":56576,"24":18,"16":386244420359421952,"45":859272764924960768},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-19 21:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511948288001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:46:38] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 21:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386244420359421952,"km_value":386244420359421.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":859272764924960768,"description":"Unknown IO ID 45"} 
[2026-08-19 21:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511948288001,"power":27343,"unknown_158":206,"power_alt":56576,"ignition":18,"odometer":null,"unknown_45":859272764924960768}} 
[2026-08-19 21:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":158270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:46:38] local.INFO: GPS data processed {"connection_id":158270,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:46:38] local.INFO: Acknowledgment sent {"connection_id":158270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:46:45] local.INFO: TCP Data received {"connection_id":160449,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:46:45] local.INFO: Processing buffer {"connection_id":160449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:46:45] local.INFO: Packet analysis {"connection_id":160449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:46:45] local.INFO: Extracted packet for processing {"connection_id":160449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:46:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511832576001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787155897000,"timestamp_ms":1787155897000,"timestamp_seconds":1787155897,"priority":1,"record_length":96,"hex_timestamp":"000001a01acadaa8"} 
[2026-08-19 21:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511832576001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511832576001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:46:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:46:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511832576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":160449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:46:45] local.INFO: GPS data processed {"connection_id":160449,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:46:45] local.INFO: Acknowledgment sent {"connection_id":160449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:47:03] local.INFO: TCP Data received {"connection_id":159134,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:47:03] local.INFO: Processing buffer {"connection_id":159134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:47:03] local.INFO: IMEI packet received {"connection_id":159134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":159134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:47:04] local.INFO: TCP Data received {"connection_id":159134,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:47:04] local.INFO: Processing buffer {"connection_id":159134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:47:04] local.INFO: IMEI packet received {"connection_id":159134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":159134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:47:07] local.INFO: TCP Data received {"connection_id":158271,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:47:07] local.INFO: Processing buffer {"connection_id":158271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:47:07] local.INFO: IMEI packet received {"connection_id":158271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":158271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:47:08] local.INFO: TCP Data received {"connection_id":159134,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:47:08] local.INFO: Processing buffer {"connection_id":159134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:47:08] local.INFO: IMEI packet received {"connection_id":159134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":159134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:47:11] local.INFO: TCP Data received {"connection_id":159134,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01acede00012d0c630006edbde0000c00a432..."} 
[2026-08-19 21:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acede00012d0c630006edbde0000c00a432..."} 
[2026-08-19 21:47:11] local.INFO: Processing buffer {"connection_id":159134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acede00012d0c630006edbde0000c00a432..."} 
[2026-08-19 21:47:11] local.INFO: Packet analysis {"connection_id":159134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ace"} 
[2026-08-19 21:47:11] local.INFO: Extracted packet for processing {"connection_id":159134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ace"} 
[2026-08-19 21:47:11] local.INFO: GPS Element Parsed {"raw_longitude":755786496,"raw_latitude":116243936,"longitude_deg":75.5786496,"latitude_deg":11.6243936,"altitude":12,"angle":164,"satellites":50,"speed":26,"hex_longitude":"2d0c6300","hex_latitude":"06edbde0","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511973376001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386246898555551744,"note":"Value kept but may cause issues"} 
[2026-08-19 21:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889320218677952512,"note":"Value kept but may cause issues"} 
[2026-08-19 21:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787156160000,"timestamp_ms":1787156160000,"timestamp_seconds":1787156160,"priority":1,"record_length":96,"hex_timestamp":"000001a01acede00"} 
[2026-08-19 21:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 21:47:11] 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-08-19 21: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-08-19 21:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511973376001,"66":27332,"158":206,"2":56576,"24":26,"16":386246898555551744,"45":889320218677952512},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-19 21:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511973376001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:47:11] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 21:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386246898555551744,"km_value":386246898555551.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":889320218677952512,"description":"Unknown IO ID 45"} 
[2026-08-19 21:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511973376001,"power":27332,"unknown_158":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":889320218677952512}} 
[2026-08-19 21:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":159134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:47:11] local.INFO: GPS data processed {"connection_id":159134,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:47:11] local.INFO: Acknowledgment sent {"connection_id":159134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:47:13] local.INFO: TCP Data received {"connection_id":158271,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:47:13] local.INFO: Processing buffer {"connection_id":158271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:47:13] local.INFO: IMEI packet received {"connection_id":158271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":158271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:47:13] local.INFO: TCP Data received {"connection_id":158271,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:47:13] local.INFO: Processing buffer {"connection_id":158271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acadaa8012d196500071ff1280041014629..."} 
[2026-08-19 21:47:13] local.INFO: Packet analysis {"connection_id":158271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:47:13] local.INFO: Extracted packet for processing {"connection_id":158271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aca"} 
[2026-08-19 21:47:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511832576001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787155897000,"timestamp_ms":1787155897000,"timestamp_seconds":1787155897,"priority":1,"record_length":96,"hex_timestamp":"000001a01acadaa8"} 
[2026-08-19 21:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511832576001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511832576001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:47:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:47:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511832576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":158271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:47:14] local.INFO: GPS data processed {"connection_id":158271,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:47:14] local.INFO: Acknowledgment sent {"connection_id":158271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:47:42] local.INFO: TCP Data received {"connection_id":159134,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01acf0ce0012d0c69c006ed9888000b00ae33..."} 
[2026-08-19 21:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acf0ce0012d0c69c006ed9888000b00ae33..."} 
[2026-08-19 21:47:42] local.INFO: Processing buffer {"connection_id":159134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acf0ce0012d0c69c006ed9888000b00ae33..."} 
[2026-08-19 21:47:42] local.INFO: Packet analysis {"connection_id":159134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:47:42] local.INFO: Extracted packet for processing {"connection_id":159134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:47:42] local.INFO: GPS Element Parsed {"raw_longitude":755788224,"raw_latitude":116234376,"longitude_deg":75.5788224,"latitude_deg":11.6234376,"altitude":11,"angle":174,"satellites":51,"speed":33,"hex_longitude":"2d0c69c0","hex_latitude":"06ed9888","is_valid_coordinates":true} 
[2026-08-19 21:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511976960001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386247366706987008,"note":"Value kept but may cause issues"} 
[2026-08-19 21:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892557180907937792,"note":"Value kept but may cause issues"} 
[2026-08-19 21:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787156172000,"timestamp_ms":1787156172000,"timestamp_seconds":1787156172,"priority":1,"record_length":96,"hex_timestamp":"000001a01acf0ce0"} 
[2026-08-19 21:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 21:47:42] 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-08-19 21:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511976960001,"66":27267,"158":206,"2":56576,"24":33,"16":386247366706987008,"45":892557180907937792},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-19 21:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511976960001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:47:42] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 21:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386247366706987008,"km_value":386247366706987.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":892557180907937792,"description":"Unknown IO ID 45"} 
[2026-08-19 21:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511976960001,"power":27267,"unknown_158":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":892557180907937792}} 
[2026-08-19 21:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":159134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:47:42] local.INFO: GPS data processed {"connection_id":159134,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:47:42] local.INFO: Acknowledgment sent {"connection_id":159134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:47:44] local.INFO: TCP Data received {"connection_id":158271,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:47:44] local.INFO: Processing buffer {"connection_id":158271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:47:44] local.INFO: Packet analysis {"connection_id":158271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:47:44] local.INFO: Extracted packet for processing {"connection_id":158271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:47:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511909632001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787156198000,"timestamp_ms":1787156198000,"timestamp_seconds":1787156198,"priority":1,"record_length":96,"hex_timestamp":"000001a01acf7270"} 
[2026-08-19 21:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511909632001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511909632001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:47:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:47:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511909632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":158271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:47:44] local.INFO: GPS data processed {"connection_id":158271,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:47:44] local.INFO: Acknowledgment sent {"connection_id":158271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:47:58] local.INFO: TCP Data received {"connection_id":160450,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:47:58] local.INFO: Processing buffer {"connection_id":160450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:47:58] local.INFO: IMEI packet received {"connection_id":160450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":160450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:47:59] local.INFO: TCP Data received {"connection_id":160450,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:47:59] local.INFO: Processing buffer {"connection_id":160450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:47:59] local.INFO: IMEI packet received {"connection_id":160450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":160450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:48:03] local.INFO: TCP Data received {"connection_id":160450,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:48:03] local.INFO: Processing buffer {"connection_id":160450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:48:03] local.INFO: IMEI packet received {"connection_id":160450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":160450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:48:04] local.INFO: TCP Data received {"connection_id":160450,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01acf3fa8012d0c690006ed7380000a00b933..."} 
[2026-08-19 21:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acf3fa8012d0c690006ed7380000a00b933..."} 
[2026-08-19 21:48:04] local.INFO: Processing buffer {"connection_id":160450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acf3fa8012d0c690006ed7380000a00b933..."} 
[2026-08-19 21:48:04] local.INFO: Packet analysis {"connection_id":160450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:48:04] local.INFO: Extracted packet for processing {"connection_id":160450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:48:04] local.INFO: GPS Element Parsed {"raw_longitude":755788032,"raw_latitude":116224896,"longitude_deg":75.5788032,"latitude_deg":11.6224896,"altitude":10,"angle":185,"satellites":51,"speed":25,"hex_longitude":"2d0c6900","hex_latitude":"06ed7380","is_valid_coordinates":true} 
[2026-08-19 21:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511980032001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386247830563454976,"note":"Value kept but may cause issues"} 
[2026-08-19 21:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894457136998287360,"note":"Value kept but may cause issues"} 
[2026-08-19 21:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787156185000,"timestamp_ms":1787156185000,"timestamp_seconds":1787156185,"priority":1,"record_length":96,"hex_timestamp":"000001a01acf3fa8"} 
[2026-08-19 21:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:48: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-08-19 21:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 21:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511980032001,"66":27343,"158":206,"2":56576,"24":25,"16":386247830563454976,"45":894457136998287360},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-19 21:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511980032001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:48:04] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 21:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386247830563454976,"km_value":386247830563455.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":894457136998287360,"description":"Unknown IO ID 45"} 
[2026-08-19 21:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511980032001,"power":27343,"unknown_158":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":894457136998287360}} 
[2026-08-19 21:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":160450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:48:04] local.INFO: GPS data processed {"connection_id":160450,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:48:04] local.INFO: Acknowledgment sent {"connection_id":160450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:48:08] local.INFO: TCP Data received {"connection_id":159135,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:48:08] local.INFO: Processing buffer {"connection_id":159135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:48:08] local.INFO: IMEI packet received {"connection_id":159135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":159135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:48:13] local.INFO: TCP Data received {"connection_id":159135,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:48:13] local.INFO: Processing buffer {"connection_id":159135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:48:13] local.INFO: IMEI packet received {"connection_id":159135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":159135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:48:13] local.INFO: TCP Data received {"connection_id":159135,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:48:13] local.INFO: Processing buffer {"connection_id":159135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:48:13] local.INFO: Packet analysis {"connection_id":159135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:48:13] local.INFO: Extracted packet for processing {"connection_id":159135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:48:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511909632001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787156198000,"timestamp_ms":1787156198000,"timestamp_seconds":1787156198,"priority":1,"record_length":96,"hex_timestamp":"000001a01acf7270"} 
[2026-08-19 21:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:48:13] 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-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511909632001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511909632001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:48:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:48:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511909632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":159135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:48:14] local.INFO: GPS data processed {"connection_id":159135,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:48:14] local.INFO: Acknowledgment sent {"connection_id":159135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:48:35] local.INFO: TCP Data received {"connection_id":160450,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01acf6e88012d0c648006ed50b0000a00bb32..."} 
[2026-08-19 21:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acf6e88012d0c648006ed50b0000a00bb32..."} 
[2026-08-19 21:48:35] local.INFO: Processing buffer {"connection_id":160450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acf6e88012d0c648006ed50b0000a00bb32..."} 
[2026-08-19 21:48:35] local.INFO: Packet analysis {"connection_id":160450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:48:35] local.INFO: Extracted packet for processing {"connection_id":160450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:48:35] local.INFO: GPS Element Parsed {"raw_longitude":755786880,"raw_latitude":116215984,"longitude_deg":75.578688,"latitude_deg":11.6215984,"altitude":10,"angle":187,"satellites":50,"speed":31,"hex_longitude":"2d0c6480","hex_latitude":"06ed50b0","is_valid_coordinates":true} 
[2026-08-19 21:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511983360001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386248264355151872,"note":"Value kept but may cause issues"} 
[2026-08-19 21:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894246030763327488,"note":"Value kept but may cause issues"} 
[2026-08-19 21:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787156197000,"timestamp_ms":1787156197000,"timestamp_seconds":1787156197,"priority":1,"record_length":96,"hex_timestamp":"000001a01acf6e88"} 
[2026-08-19 21:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 21:48:35] 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-08-19 21:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511983360001,"66":27332,"158":206,"2":56576,"24":31,"16":386248264355151872,"45":894246030763327488},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-19 21:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511983360001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:48:35] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 21:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386248264355151872,"km_value":386248264355151.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":894246030763327488,"description":"Unknown IO ID 45"} 
[2026-08-19 21:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511983360001,"power":27332,"unknown_158":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":894246030763327488}} 
[2026-08-19 21:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":160450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:48:35] local.INFO: GPS data processed {"connection_id":160450,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:48:35] local.INFO: Acknowledgment sent {"connection_id":160450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:48:45] local.INFO: TCP Data received {"connection_id":159135,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:48:45] local.INFO: Processing buffer {"connection_id":159135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:48:45] local.INFO: Packet analysis {"connection_id":159135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:48:45] local.INFO: Extracted packet for processing {"connection_id":159135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511909632001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787156198000,"timestamp_ms":1787156198000,"timestamp_seconds":1787156198,"priority":1,"record_length":96,"hex_timestamp":"000001a01acf7270"} 
[2026-08-19 21:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:48:45] 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-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511909632001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511909632001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:48:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511909632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":159135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:48:45] local.INFO: GPS data processed {"connection_id":159135,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:48:45] local.INFO: Acknowledgment sent {"connection_id":159135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:48:58] local.INFO: TCP Data received {"connection_id":160451,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:48:58] local.INFO: Processing buffer {"connection_id":160451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:48:58] local.INFO: IMEI packet received {"connection_id":160451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":160451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:49:03] local.INFO: TCP Data received {"connection_id":160451,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:49:03] local.INFO: Processing buffer {"connection_id":160451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:49:03] local.INFO: IMEI packet received {"connection_id":160451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":160451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:49:05] local.INFO: TCP Data received {"connection_id":160451,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01acf9d68012d0c5f4006ed2bd0000b00ba32..."} 
[2026-08-19 21:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acf9d68012d0c5f4006ed2bd0000b00ba32..."} 
[2026-08-19 21:49:05] local.INFO: Processing buffer {"connection_id":160451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acf9d68012d0c5f4006ed2bd0000b00ba32..."} 
[2026-08-19 21:49:05] local.INFO: Packet analysis {"connection_id":160451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:49:05] local.INFO: Extracted packet for processing {"connection_id":160451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:49:05] local.INFO: GPS Element Parsed {"raw_longitude":755785536,"raw_latitude":116206544,"longitude_deg":75.5785536,"latitude_deg":11.6206544,"altitude":11,"angle":186,"satellites":50,"speed":26,"hex_longitude":"2d0c5f40","hex_latitude":"06ed2bd0","is_valid_coordinates":true} 
[2026-08-19 21:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511986432001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386248728211619840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892979393365848064,"note":"Value kept but may cause issues"} 
[2026-08-19 21:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787156209000,"timestamp_ms":1787156209000,"timestamp_seconds":1787156209,"priority":1,"record_length":96,"hex_timestamp":"000001a01acf9d68"} 
[2026-08-19 21:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:49: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-08-19 21:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 21:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511986432001,"66":27365,"158":206,"2":56576,"24":26,"16":386248728211619840,"45":892979393365848064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-08-19 21:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511986432001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:49:05] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-19 21:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386248728211619840,"km_value":386248728211619.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":892979393365848064,"description":"Unknown IO ID 45"} 
[2026-08-19 21:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511986432001,"power":27365,"unknown_158":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":892979393365848064}} 
[2026-08-19 21:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":160451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:49:05] local.INFO: GPS data processed {"connection_id":160451,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:49:05] local.INFO: Acknowledgment sent {"connection_id":160451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:49:08] local.INFO: TCP Data received {"connection_id":158272,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:49:08] local.INFO: Processing buffer {"connection_id":158272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:49:08] local.INFO: IMEI packet received {"connection_id":158272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":158272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:49:13] local.INFO: TCP Data received {"connection_id":158272,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:49:13] local.INFO: Processing buffer {"connection_id":158272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:49:13] local.INFO: IMEI packet received {"connection_id":158272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":158272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:49:13] local.INFO: TCP Data received {"connection_id":158272,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:49:13] local.INFO: Processing buffer {"connection_id":158272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:49:13] local.INFO: Packet analysis {"connection_id":158272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:49:13] local.INFO: Extracted packet for processing {"connection_id":158272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:49:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511909632001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787156198000,"timestamp_ms":1787156198000,"timestamp_seconds":1787156198,"priority":1,"record_length":96,"hex_timestamp":"000001a01acf7270"} 
[2026-08-19 21:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:49:13] 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-08-19 21:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511909632001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511909632001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:49:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:49:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511909632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":158272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:49:13] local.INFO: GPS data processed {"connection_id":158272,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:49:13] local.INFO: Acknowledgment sent {"connection_id":158272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:49:38] local.INFO: TCP Data received {"connection_id":160451,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad133a8012d0c45c006ec6660001500af34..."} 
[2026-08-19 21:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad133a8012d0c45c006ec6660001500af34..."} 
[2026-08-19 21:49:38] local.INFO: Processing buffer {"connection_id":160451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad133a8012d0c45c006ec6660001500af34..."} 
[2026-08-19 21:49:38] local.INFO: Packet analysis {"connection_id":160451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad1"} 
[2026-08-19 21:49:38] local.INFO: Extracted packet for processing {"connection_id":160451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad1"} 
[2026-08-19 21:49:38] local.INFO: GPS Element Parsed {"raw_longitude":755779008,"raw_latitude":116156000,"longitude_deg":75.5779008,"latitude_deg":11.6156,"altitude":21,"angle":175,"satellites":52,"speed":19,"hex_longitude":"2d0c45c0","hex_latitude":"06ec6660","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512011264001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386251249357422592,"note":"Value kept but may cause issues"} 
[2026-08-19 21:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884886987771975680,"note":"Value kept but may cause issues"} 
[2026-08-19 21:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787156313000,"timestamp_ms":1787156313000,"timestamp_seconds":1787156313,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad133a8"} 
[2026-08-19 21:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:49: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-08-19 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 21:49:38] 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-08-19 21: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-08-19 21:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512011264001,"66":27376,"42":206,"2":56576,"24":19,"16":386251249357422592,"45":884886987771975680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-19 21:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512011264001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:49:38] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-19 21:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386251249357422592,"km_value":386251249357422.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":884886987771975680,"description":"Unknown IO ID 45"} 
[2026-08-19 21:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512011264001,"power":27376,"unknown_42":206,"power_alt":56576,"ignition":19,"odometer":null,"unknown_45":884886987771975680}} 
[2026-08-19 21:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":160451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:49:39] local.INFO: GPS data processed {"connection_id":160451,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:49:39] local.INFO: Acknowledgment sent {"connection_id":160451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:49:45] local.INFO: TCP Data received {"connection_id":158272,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:49:45] local.INFO: Processing buffer {"connection_id":158272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:49:45] local.INFO: Packet analysis {"connection_id":158272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:49:45] local.INFO: Extracted packet for processing {"connection_id":158272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511909632001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787156198000,"timestamp_ms":1787156198000,"timestamp_seconds":1787156198,"priority":1,"record_length":96,"hex_timestamp":"000001a01acf7270"} 
[2026-08-19 21:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:49:45] 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-08-19 21:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511909632001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511909632001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:49:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:49:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511909632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":158272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:49:45] local.INFO: GPS data processed {"connection_id":158272,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:49:45] local.INFO: Acknowledgment sent {"connection_id":158272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:49:58] local.INFO: TCP Data received {"connection_id":158273,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:49:58] local.INFO: Processing buffer {"connection_id":158273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:49:58] local.INFO: IMEI packet received {"connection_id":158273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":158273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:50:00] local.INFO: TCP Data received {"connection_id":158273,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:50:00] local.INFO: Processing buffer {"connection_id":158273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:50:00] local.INFO: IMEI packet received {"connection_id":158273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":158273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:50:03] local.INFO: TCP Data received {"connection_id":158273,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:50:03] local.INFO: Processing buffer {"connection_id":158273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:50:03] local.INFO: IMEI packet received {"connection_id":158273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":158273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:50:04] local.INFO: TCP Data received {"connection_id":158273,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad14b18012d0c484006ec5aa8001700a434..."} 
[2026-08-19 21:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad14b18012d0c484006ec5aa8001700a434..."} 
[2026-08-19 21:50:04] local.INFO: Processing buffer {"connection_id":158273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad14b18012d0c484006ec5aa8001700a434..."} 
[2026-08-19 21:50:04] local.INFO: Packet analysis {"connection_id":158273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad1"} 
[2026-08-19 21:50:04] local.INFO: Extracted packet for processing {"connection_id":158273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad1"} 
[2026-08-19 21:50:04] local.INFO: GPS Element Parsed {"raw_longitude":755779648,"raw_latitude":116153000,"longitude_deg":75.5779648,"latitude_deg":11.6153,"altitude":23,"angle":164,"satellites":52,"speed":21,"hex_longitude":"2d0c4840","hex_latitude":"06ec5aa8","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512016128001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386251395386310656,"note":"Value kept but may cause issues"} 
[2026-08-19 21:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884324037816639488,"note":"Value kept but may cause issues"} 
[2026-08-19 21:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787156319000,"timestamp_ms":1787156319000,"timestamp_seconds":1787156319,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad14b18"} 
[2026-08-19 21:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:50: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-08-19 21:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 21:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512016128001,"66":27376,"42":206,"2":56576,"24":21,"16":386251395386310656,"45":884324037816639488},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-19 21:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512016128001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:50:04] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-19 21:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386251395386310656,"km_value":386251395386310.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":884324037816639488,"description":"Unknown IO ID 45"} 
[2026-08-19 21:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512016128001,"power":27376,"unknown_42":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":884324037816639488}} 
[2026-08-19 21:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":158273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:50:04] local.INFO: GPS data processed {"connection_id":158273,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:50:04] local.INFO: Acknowledgment sent {"connection_id":158273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:50:08] local.INFO: TCP Data received {"connection_id":159136,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:50:08] local.INFO: Processing buffer {"connection_id":159136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:50:08] local.INFO: IMEI packet received {"connection_id":159136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":159136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:50:13] local.INFO: TCP Data received {"connection_id":159136,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:50:13] local.INFO: Processing buffer {"connection_id":159136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:50:13] local.INFO: IMEI packet received {"connection_id":159136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":159136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:50:13] local.INFO: TCP Data received {"connection_id":159136,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:50:13] local.INFO: Processing buffer {"connection_id":159136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:50:13] local.INFO: Packet analysis {"connection_id":159136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:50:13] local.INFO: Extracted packet for processing {"connection_id":159136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:50:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511909632001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787156198000,"timestamp_ms":1787156198000,"timestamp_seconds":1787156198,"priority":1,"record_length":96,"hex_timestamp":"000001a01acf7270"} 
[2026-08-19 21:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:50:13] 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-08-19 21:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511909632001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511909632001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:50:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:50:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511909632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":159136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:50:13] local.INFO: GPS data processed {"connection_id":159136,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:50:13] local.INFO: Acknowledgment sent {"connection_id":159136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:50:35] local.INFO: TCP Data received {"connection_id":158273,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad16670012d0c4d8006ec4d180018009834..."} 
[2026-08-19 21:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad16670012d0c4d8006ec4d180018009834..."} 
[2026-08-19 21:50:35] local.INFO: Processing buffer {"connection_id":158273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad16670012d0c4d8006ec4d180018009834..."} 
[2026-08-19 21:50:35] local.INFO: Packet analysis {"connection_id":158273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad1"} 
[2026-08-19 21:50:35] local.INFO: Extracted packet for processing {"connection_id":158273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad1"} 
[2026-08-19 21:50:35] local.INFO: GPS Element Parsed {"raw_longitude":755780992,"raw_latitude":116149528,"longitude_deg":75.5780992,"latitude_deg":11.6149528,"altitude":24,"angle":152,"satellites":52,"speed":16,"hex_longitude":"2d0c4d80","hex_latitude":"06ec4d18","is_valid_coordinates":true} 
[2026-08-19 21:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512017664001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386251575774937088,"note":"Value kept but may cause issues"} 
[2026-08-19 21:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885027725257648128,"note":"Value kept but may cause issues"} 
[2026-08-19 21:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787156326000,"timestamp_ms":1787156326000,"timestamp_seconds":1787156326,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad16670"} 
[2026-08-19 21:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 21:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512017664001,"66":26658,"42":206,"2":56576,"24":16,"16":386251575774937088,"45":885027725257648128},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-19 21:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512017664001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:50:35] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-19 21:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386251575774937088,"km_value":386251575774937.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":885027725257648128,"description":"Unknown IO ID 45"} 
[2026-08-19 21:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512017664001,"power":26658,"unknown_42":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":885027725257648128}} 
[2026-08-19 21:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":158273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:50:35] local.INFO: GPS data processed {"connection_id":158273,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:50:35] local.INFO: Acknowledgment sent {"connection_id":158273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:50:44] local.INFO: TCP Data received {"connection_id":159136,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:50:44] local.INFO: Processing buffer {"connection_id":159136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:50:44] local.INFO: Packet analysis {"connection_id":159136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:50:44] local.INFO: Extracted packet for processing {"connection_id":159136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:50:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511909632001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787156198000,"timestamp_ms":1787156198000,"timestamp_seconds":1787156198,"priority":1,"record_length":96,"hex_timestamp":"000001a01acf7270"} 
[2026-08-19 21:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511909632001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511909632001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:50:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:50:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511909632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":159136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:50:45] local.INFO: GPS data processed {"connection_id":159136,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:50:45] local.INFO: Acknowledgment sent {"connection_id":159136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:51:03] local.INFO: TCP Data received {"connection_id":158274,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:51:03] local.INFO: Processing buffer {"connection_id":158274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:51:03] local.INFO: IMEI packet received {"connection_id":158274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":158274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:51:06] local.INFO: TCP Data received {"connection_id":158274,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:51:06] local.INFO: Processing buffer {"connection_id":158274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:51:06] local.INFO: IMEI packet received {"connection_id":158274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":158274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:51:07] local.INFO: TCP Data received {"connection_id":159137,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:51:07] local.INFO: Processing buffer {"connection_id":159137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:51:07] local.INFO: IMEI packet received {"connection_id":159137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":159137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:51:08] local.INFO: TCP Data received {"connection_id":158274,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad29ef0012d0c930006eb81d8001300bf32..."} 
[2026-08-19 21:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad29ef0012d0c930006eb81d8001300bf32..."} 
[2026-08-19 21:51:08] local.INFO: Processing buffer {"connection_id":158274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad29ef0012d0c930006eb81d8001300bf32..."} 
[2026-08-19 21:51:08] local.INFO: Packet analysis {"connection_id":158274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad2"} 
[2026-08-19 21:51:08] local.INFO: Extracted packet for processing {"connection_id":158274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad2"} 
[2026-08-19 21:51:08] local.INFO: GPS Element Parsed {"raw_longitude":755798784,"raw_latitude":116097496,"longitude_deg":75.5798784,"latitude_deg":11.6097496,"altitude":19,"angle":191,"satellites":50,"speed":17,"hex_longitude":"2d0c9300","hex_latitude":"06eb81d8","is_valid_coordinates":true} 
[2026-08-19 21:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512039424001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386254324554006528,"note":"Value kept but may cause issues"} 
[2026-08-19 21:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906138348496949248,"note":"Value kept but may cause issues"} 
[2026-08-19 21:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787156406000,"timestamp_ms":1787156406000,"timestamp_seconds":1787156406,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad29ef0"} 
[2026-08-19 21:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:51: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-08-19 21:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 21:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":158274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":158274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":158274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512039424001,"66":27234,"42":206,"2":56576,"24":17,"16":386254324554006528,"45":906138348496949248},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-19 21:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512039424001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:51:08] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-19 21:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386254324554006528,"km_value":386254324554006.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":906138348496949248,"description":"Unknown IO ID 45"} 
[2026-08-19 21:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512039424001,"power":27234,"unknown_42":206,"power_alt":56576,"ignition":17,"odometer":null,"unknown_45":906138348496949248}} 
[2026-08-19 21:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":158274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:51:08] local.INFO: GPS data processed {"connection_id":158274,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:51:08] local.INFO: Acknowledgment sent {"connection_id":158274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:51:10] local.INFO: TCP Data received {"connection_id":158274,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad2a6c0012d0c918006eb7f18001300d032..."} 
[2026-08-19 21:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad2a6c0012d0c918006eb7f18001300d032..."} 
[2026-08-19 21:51:10] local.INFO: Processing buffer {"connection_id":158274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad2a6c0012d0c918006eb7f18001300d032..."} 
[2026-08-19 21:51:10] local.INFO: Packet analysis {"connection_id":158274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad2"} 
[2026-08-19 21:51:10] local.INFO: Extracted packet for processing {"connection_id":158274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad2"} 
[2026-08-19 21:51:10] local.INFO: GPS Element Parsed {"raw_longitude":755798400,"raw_latitude":116096792,"longitude_deg":75.57984,"latitude_deg":11.6096792,"altitude":19,"angle":208,"satellites":50,"speed":17,"hex_longitude":"2d0c9180","hex_latitude":"06eb7f18","is_valid_coordinates":true} 
[2026-08-19 21:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512039936001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386254363208712192,"note":"Value kept but may cause issues"} 
[2026-08-19 21:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906067979752560640,"note":"Value kept but may cause issues"} 
[2026-08-19 21:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787156408000,"timestamp_ms":1787156408000,"timestamp_seconds":1787156408,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad2a6c0"} 
[2026-08-19 21:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:51: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-08-19 21:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 21:51:10] 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-08-19 21:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512039936001,"66":27245,"42":206,"2":56576,"24":17,"16":386254363208712192,"45":906067979752560640},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-19 21:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512039936001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:51:10] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-19 21:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386254363208712192,"km_value":386254363208712.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":906067979752560640,"description":"Unknown IO ID 45"} 
[2026-08-19 21:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512039936001,"power":27245,"unknown_42":206,"power_alt":56576,"ignition":17,"odometer":null,"unknown_45":906067979752560640}} 
[2026-08-19 21:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":158274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:51:10] local.INFO: GPS data processed {"connection_id":158274,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:51:10] local.INFO: Acknowledgment sent {"connection_id":158274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:51:13] local.INFO: TCP Data received {"connection_id":159137,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:51:13] local.INFO: Processing buffer {"connection_id":159137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:51:13] local.INFO: IMEI packet received {"connection_id":159137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":159137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:51:13] local.INFO: TCP Data received {"connection_id":159137,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:51:13] local.INFO: Processing buffer {"connection_id":159137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:51:13] local.INFO: Packet analysis {"connection_id":159137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:51:13] local.INFO: Extracted packet for processing {"connection_id":159137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:51:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511909632001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787156198000,"timestamp_ms":1787156198000,"timestamp_seconds":1787156198,"priority":1,"record_length":96,"hex_timestamp":"000001a01acf7270"} 
[2026-08-19 21:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:51:13] 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-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511909632001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511909632001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:51:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:51:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511909632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":159137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:51:13] local.INFO: GPS data processed {"connection_id":159137,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:51:13] local.INFO: Acknowledgment sent {"connection_id":159137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:51:42] local.INFO: TCP Data received {"connection_id":158274,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad2ae90012d0c900006eb7d30001300c131..."} 
[2026-08-19 21:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad2ae90012d0c900006eb7d30001300c131..."} 
[2026-08-19 21:51:42] local.INFO: Processing buffer {"connection_id":158274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad2ae90012d0c900006eb7d30001300c131..."} 
[2026-08-19 21:51:42] local.INFO: Packet analysis {"connection_id":158274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad2"} 
[2026-08-19 21:51:42] local.INFO: Extracted packet for processing {"connection_id":158274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad2"} 
[2026-08-19 21:51:42] local.INFO: GPS Element Parsed {"raw_longitude":755798016,"raw_latitude":116096304,"longitude_deg":75.5798016,"latitude_deg":11.6096304,"altitude":19,"angle":193,"satellites":49,"speed":12,"hex_longitude":"2d0c9000","hex_latitude":"06eb7d30","is_valid_coordinates":true} 
[2026-08-19 21:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512040448001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386254393273483264,"note":"Value kept but may cause issues"} 
[2026-08-19 21:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905645767287314432,"note":"Value kept but may cause issues"} 
[2026-08-19 21:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787156410000,"timestamp_ms":1787156410000,"timestamp_seconds":1787156410,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad2ae90"} 
[2026-08-19 21:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 21:51:42] 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-08-19 21:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512040448001,"66":27332,"42":206,"2":56576,"24":12,"16":386254393273483264,"45":905645767287314432},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-19 21:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512040448001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:51:42] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-19 21:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386254393273483264,"km_value":386254393273483.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":905645767287314432,"description":"Unknown IO ID 45"} 
[2026-08-19 21:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512040448001,"power":27332,"unknown_42":206,"power_alt":56576,"ignition":12,"odometer":null,"unknown_45":905645767287314432}} 
[2026-08-19 21:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":158274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:51:42] local.INFO: GPS data processed {"connection_id":158274,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:51:42] local.INFO: Acknowledgment sent {"connection_id":158274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:51:45] local.INFO: TCP Data received {"connection_id":159137,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:51:45] local.INFO: Processing buffer {"connection_id":159137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:51:45] local.INFO: Packet analysis {"connection_id":159137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:51:45] local.INFO: Extracted packet for processing {"connection_id":159137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511909632001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787156198000,"timestamp_ms":1787156198000,"timestamp_seconds":1787156198,"priority":1,"record_length":96,"hex_timestamp":"000001a01acf7270"} 
[2026-08-19 21:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:51:45] 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-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511909632001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511909632001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:51:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511909632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":159137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:51:45] local.INFO: GPS data processed {"connection_id":159137,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:51:45] local.INFO: Acknowledgment sent {"connection_id":159137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:51:58] local.INFO: TCP Data received {"connection_id":160452,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:51:58] local.INFO: Processing buffer {"connection_id":160452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:51:58] local.INFO: IMEI packet received {"connection_id":160452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":160452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:52:03] local.INFO: TCP Data received {"connection_id":160452,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:52:03] local.INFO: Processing buffer {"connection_id":160452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:52:03] local.INFO: IMEI packet received {"connection_id":160452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":160452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:52:06] local.INFO: TCP Data received {"connection_id":160452,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad2b278012d0c8fc006eb7c08001300b232..."} 
[2026-08-19 21:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad2b278012d0c8fc006eb7c08001300b232..."} 
[2026-08-19 21:52:06] local.INFO: Processing buffer {"connection_id":160452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad2b278012d0c8fc006eb7c08001300b232..."} 
[2026-08-19 21:52:06] local.INFO: Packet analysis {"connection_id":160452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad2"} 
[2026-08-19 21:52:06] local.INFO: Extracted packet for processing {"connection_id":160452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad2"} 
[2026-08-19 21:52:06] local.INFO: GPS Element Parsed {"raw_longitude":755797952,"raw_latitude":116096008,"longitude_deg":75.5797952,"latitude_deg":11.6096008,"altitude":19,"angle":178,"satellites":50,"speed":11,"hex_longitude":"2d0c8fc0","hex_latitude":"06eb7c08","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512040960001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386254410453352448,"note":"Value kept but may cause issues"} 
[2026-08-19 21:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905223554822123520,"note":"Value kept but may cause issues"} 
[2026-08-19 21:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787156411000,"timestamp_ms":1787156411000,"timestamp_seconds":1787156411,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad2b278"} 
[2026-08-19 21:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 21:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512040960001,"66":26789,"42":206,"2":56576,"24":11,"16":386254410453352448,"45":905223554822123520},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-19 21:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512040960001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:52:06] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-19 21:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386254410453352448,"km_value":386254410453352.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":905223554822123520,"description":"Unknown IO ID 45"} 
[2026-08-19 21:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512040960001,"power":26789,"unknown_42":206,"power_alt":56576,"ignition":11,"odometer":null,"unknown_45":905223554822123520}} 
[2026-08-19 21:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":160452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:52:06] local.INFO: GPS data processed {"connection_id":160452,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:52:06] local.INFO: Acknowledgment sent {"connection_id":160452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:52:07] local.INFO: TCP Data received {"connection_id":159138,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:52:07] local.INFO: Processing buffer {"connection_id":159138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:52:07] local.INFO: IMEI packet received {"connection_id":159138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":159138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:52:13] local.INFO: TCP Data received {"connection_id":159138,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:52:13] local.INFO: Processing buffer {"connection_id":159138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:52:13] local.INFO: IMEI packet received {"connection_id":159138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":159138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:52:13] local.INFO: TCP Data received {"connection_id":159138,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:52:13] local.INFO: Processing buffer {"connection_id":159138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01acf7270012d196500071ff1280041014628..."} 
[2026-08-19 21:52:13] local.INFO: Packet analysis {"connection_id":159138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:52:13] local.INFO: Extracted packet for processing {"connection_id":159138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01acf"} 
[2026-08-19 21:52:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511909632001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787156198000,"timestamp_ms":1787156198000,"timestamp_seconds":1787156198,"priority":1,"record_length":96,"hex_timestamp":"000001a01acf7270"} 
[2026-08-19 21:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:52:13] 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-08-19 21:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511909632001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511909632001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:52:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:52:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511909632001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":159138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:52:14] local.INFO: GPS data processed {"connection_id":159138,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:52:14] local.INFO: Acknowledgment sent {"connection_id":159138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:52:37] local.INFO: TCP Data received {"connection_id":160452,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad2b660012d0c900006eb7af0001300a531..."} 
[2026-08-19 21:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad2b660012d0c900006eb7af0001300a531..."} 
[2026-08-19 21:52:37] local.INFO: Processing buffer {"connection_id":160452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad2b660012d0c900006eb7af0001300a531..."} 
[2026-08-19 21:52:37] local.INFO: Packet analysis {"connection_id":160452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad2"} 
[2026-08-19 21:52:37] local.INFO: Extracted packet for processing {"connection_id":160452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad2"} 
[2026-08-19 21:52:37] local.INFO: GPS Element Parsed {"raw_longitude":755798016,"raw_latitude":116095728,"longitude_deg":75.5798016,"latitude_deg":11.6095728,"altitude":19,"angle":165,"satellites":49,"speed":11,"hex_longitude":"2d0c9000","hex_latitude":"06eb7af0","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512041216001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386254423338254336,"note":"Value kept but may cause issues"} 
[2026-08-19 21:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905153186077870080,"note":"Value kept but may cause issues"} 
[2026-08-19 21:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787156412000,"timestamp_ms":1787156412000,"timestamp_seconds":1787156412,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad2b660"} 
[2026-08-19 21:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21: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":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-08-19 21:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512041216001,"66":26789,"42":206,"2":56576,"24":11,"16":386254423338254336,"45":905153186077870080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-08-19 21:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512041216001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:52:37] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-19 21:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386254423338254336,"km_value":386254423338254.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":905153186077870080,"description":"Unknown IO ID 45"} 
[2026-08-19 21:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512041216001,"power":26789,"unknown_42":206,"power_alt":56576,"ignition":11,"odometer":null,"unknown_45":905153186077870080}} 
[2026-08-19 21:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":160452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:52:37] local.INFO: GPS data processed {"connection_id":160452,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:52:37] local.INFO: Acknowledgment sent {"connection_id":160452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:52:44] local.INFO: TCP Data received {"connection_id":159138,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:52:44] local.INFO: Processing buffer {"connection_id":159138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:52:44] local.INFO: Packet analysis {"connection_id":159138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:52:44] local.INFO: Extracted packet for processing {"connection_id":159138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:52:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511986688001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787156499000,"timestamp_ms":1787156499000,"timestamp_seconds":1787156499,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad40a38"} 
[2026-08-19 21:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:52:44] 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-08-19 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:52:44] 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-08-19 21: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-08-19 21:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511986688001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511986688001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:52:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:52:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511986688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":159138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:52:44] local.INFO: GPS data processed {"connection_id":159138,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:52:44] local.INFO: Acknowledgment sent {"connection_id":159138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:52:59] local.INFO: TCP Data received {"connection_id":157915,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:52:59] local.INFO: Processing buffer {"connection_id":157915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:52:59] local.INFO: IMEI packet received {"connection_id":157915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":157915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:53:02] local.INFO: TCP Data received {"connection_id":157915,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:53:02] local.INFO: Processing buffer {"connection_id":157915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:53:02] local.INFO: IMEI packet received {"connection_id":157915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":157915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:53:03] local.INFO: TCP Data received {"connection_id":157915,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad46410012d0d474006eaa6380019008c33..."} 
[2026-08-19 21:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad46410012d0d474006eaa6380019008c33..."} 
[2026-08-19 21:53:03] local.INFO: Processing buffer {"connection_id":157915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad46410012d0d474006eaa6380019008c33..."} 
[2026-08-19 21:53:03] local.INFO: Packet analysis {"connection_id":157915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:53:03] local.INFO: Extracted packet for processing {"connection_id":157915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:53:03] local.INFO: GPS Element Parsed {"raw_longitude":755844928,"raw_latitude":116041272,"longitude_deg":75.5844928,"latitude_deg":11.6041272,"altitude":25,"angle":140,"satellites":51,"speed":7,"hex_longitude":"2d0d4740","hex_latitude":"06eaa638","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512065024001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386257949506404352,"note":"Value kept but may cause issues"} 
[2026-08-19 21:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":955889050616338432,"note":"Value kept but may cause issues"} 
[2026-08-19 21:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787156522000,"timestamp_ms":1787156522000,"timestamp_seconds":1787156522,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad46410"} 
[2026-08-19 21:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:53: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-08-19 21: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 21:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":157915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":157915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":157915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512065024001,"66":27245,"58":206,"2":56576,"24":7,"16":386257949506404352,"45":955889050616338432},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,2,24,16,45]} 
[2026-08-19 21:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512065024001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:53:03] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-19 21:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386257949506404352,"km_value":386257949506404.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":955889050616338432,"description":"Unknown IO ID 45"} 
[2026-08-19 21:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512065024001,"power":27245,"unknown_58":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":955889050616338432}} 
[2026-08-19 21:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":157915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:53:03] local.INFO: GPS data processed {"connection_id":157915,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:53:03] local.INFO: Acknowledgment sent {"connection_id":157915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:53:08] local.INFO: TCP Data received {"connection_id":160453,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:53:08] local.INFO: Processing buffer {"connection_id":160453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:53:08] local.INFO: IMEI packet received {"connection_id":160453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":160453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:53:13] local.INFO: TCP Data received {"connection_id":160453,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:53:13] local.INFO: Processing buffer {"connection_id":160453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:53:13] local.INFO: IMEI packet received {"connection_id":160453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":160453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:53:13] local.INFO: TCP Data received {"connection_id":160453,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:53:13] local.INFO: Processing buffer {"connection_id":160453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:53:13] local.INFO: Packet analysis {"connection_id":160453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:53:13] local.INFO: Extracted packet for processing {"connection_id":160453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:53:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511986688001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787156499000,"timestamp_ms":1787156499000,"timestamp_seconds":1787156499,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad40a38"} 
[2026-08-19 21:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:53:13] 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-08-19 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:53:13] 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-08-19 21: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-08-19 21:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511986688001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511986688001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:53:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511986688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":160453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:53:13] local.INFO: GPS data processed {"connection_id":160453,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:53:13] local.INFO: Acknowledgment sent {"connection_id":160453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:53:35] local.INFO: TCP Data received {"connection_id":157915,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad46fc8012d0d48c006eaa3f80019009833..."} 
[2026-08-19 21:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad46fc8012d0d48c006eaa3f80019009833..."} 
[2026-08-19 21:53:35] local.INFO: Processing buffer {"connection_id":157915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad46fc8012d0d48c006eaa3f80019009833..."} 
[2026-08-19 21:53:35] local.INFO: Packet analysis {"connection_id":157915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:53:35] local.INFO: Extracted packet for processing {"connection_id":157915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:53:35] local.INFO: GPS Element Parsed {"raw_longitude":755845312,"raw_latitude":116040696,"longitude_deg":75.5845312,"latitude_deg":11.6040696,"altitude":25,"angle":152,"satellites":51,"speed":9,"hex_longitude":"2d0d48c0","hex_latitude":"06eaa3f8","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512069632001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386257979571175424,"note":"Value kept but may cause issues"} 
[2026-08-19 21:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":956803844290263040,"note":"Value kept but may cause issues"} 
[2026-08-19 21:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787156525000,"timestamp_ms":1787156525000,"timestamp_seconds":1787156525,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad46fc8"} 
[2026-08-19 21:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 21:53:35] 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-08-19 21: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-08-19 21:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":157915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":157915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":157915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512069632001,"66":26984,"58":206,"2":56576,"24":9,"16":386257979571175424,"45":956803844290263040},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,2,24,16,45]} 
[2026-08-19 21:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512069632001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:53:35] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-19 21:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386257979571175424,"km_value":386257979571175.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":956803844290263040,"description":"Unknown IO ID 45"} 
[2026-08-19 21:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512069632001,"power":26984,"unknown_58":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":956803844290263040}} 
[2026-08-19 21:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":157915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:53:35] local.INFO: GPS data processed {"connection_id":157915,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:53:35] local.INFO: Acknowledgment sent {"connection_id":157915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:53:44] local.INFO: TCP Data received {"connection_id":160453,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:53:44] local.INFO: Processing buffer {"connection_id":160453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:53:44] local.INFO: Packet analysis {"connection_id":160453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:53:44] local.INFO: Extracted packet for processing {"connection_id":160453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:53:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511986688001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787156499000,"timestamp_ms":1787156499000,"timestamp_seconds":1787156499,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad40a38"} 
[2026-08-19 21:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:53:44] 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-08-19 21:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:53:44] 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-08-19 21:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511986688001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511986688001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:53:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:53:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511986688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":160453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:53:45] local.INFO: GPS data processed {"connection_id":160453,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:53:45] local.INFO: Acknowledgment sent {"connection_id":160453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:53:58] local.INFO: TCP Data received {"connection_id":157916,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:53:58] local.INFO: Processing buffer {"connection_id":157916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:53:58] local.INFO: IMEI packet received {"connection_id":157916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":157916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:54:03] local.INFO: TCP Data received {"connection_id":157916,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:54:03] local.INFO: Processing buffer {"connection_id":157916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:54:03] local.INFO: IMEI packet received {"connection_id":157916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":157916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:54:05] local.INFO: TCP Data received {"connection_id":157916,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad4b618012d0d56c006ea88f8001400a631..."} 
[2026-08-19 21:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad4b618012d0d56c006ea88f8001400a631..."} 
[2026-08-19 21:54:05] local.INFO: Processing buffer {"connection_id":157916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad4b618012d0d56c006ea88f8001400a631..."} 
[2026-08-19 21:54:05] local.INFO: Packet analysis {"connection_id":157916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:54:05] local.INFO: Extracted packet for processing {"connection_id":157916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:54:05] local.INFO: GPS Element Parsed {"raw_longitude":755848896,"raw_latitude":116033784,"longitude_deg":75.5848896,"latitude_deg":11.6033784,"altitude":20,"angle":166,"satellites":49,"speed":14,"hex_longitude":"2d0d56c0","hex_latitude":"06ea88f8","is_valid_coordinates":true} 
[2026-08-19 21:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512070400001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386258357528297472,"note":"Value kept but may cause issues"} 
[2026-08-19 21:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":957226056755181568,"note":"Value kept but may cause issues"} 
[2026-08-19 21:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787156543000,"timestamp_ms":1787156543000,"timestamp_seconds":1787156543,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad4b618"} 
[2026-08-19 21:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 21:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512070400001,"66":27343,"58":206,"2":56576,"24":14,"16":386258357528297472,"45":957226056755181568},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,2,24,16,45]} 
[2026-08-19 21:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512070400001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:54:05] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-19 21:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386258357528297472,"km_value":386258357528297.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":957226056755181568,"description":"Unknown IO ID 45"} 
[2026-08-19 21:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512070400001,"power":27343,"unknown_58":206,"power_alt":56576,"ignition":14,"odometer":null,"unknown_45":957226056755181568}} 
[2026-08-19 21:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":157916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:54:05] local.INFO: GPS data processed {"connection_id":157916,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:54:05] local.INFO: Acknowledgment sent {"connection_id":157916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:54:08] local.INFO: TCP Data received {"connection_id":158275,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:54:08] local.INFO: Processing buffer {"connection_id":158275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:54:08] local.INFO: IMEI packet received {"connection_id":158275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":158275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:54:13] local.INFO: TCP Data received {"connection_id":158275,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:54:13] local.INFO: Processing buffer {"connection_id":158275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:54:13] local.INFO: IMEI packet received {"connection_id":158275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":158275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:54:13] local.INFO: TCP Data received {"connection_id":158275,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:54:13] local.INFO: Processing buffer {"connection_id":158275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:54:13] local.INFO: Packet analysis {"connection_id":158275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:54:13] local.INFO: Extracted packet for processing {"connection_id":158275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:54:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511986688001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787156499000,"timestamp_ms":1787156499000,"timestamp_seconds":1787156499,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad40a38"} 
[2026-08-19 21:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:54:13] 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-08-19 21:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:54:13] 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-08-19 21:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511986688001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511986688001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:54:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:54:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511986688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":158275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:54:13] local.INFO: GPS data processed {"connection_id":158275,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:54:13] local.INFO: Acknowledgment sent {"connection_id":158275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:54:36] local.INFO: TCP Data received {"connection_id":157916,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad4c5b8012d0d578006ea81b0001200b230..."} 
[2026-08-19 21:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad4c5b8012d0d578006ea81b0001200b230..."} 
[2026-08-19 21:54:36] local.INFO: Processing buffer {"connection_id":157916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad4c5b8012d0d578006ea81b0001200b230..."} 
[2026-08-19 21:54:36] local.INFO: Packet analysis {"connection_id":157916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:54:36] local.INFO: Extracted packet for processing {"connection_id":157916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:54:36] local.INFO: GPS Element Parsed {"raw_longitude":755849088,"raw_latitude":116031920,"longitude_deg":75.5849088,"latitude_deg":11.603192,"altitude":18,"angle":178,"satellites":48,"speed":23,"hex_longitude":"2d0d5780","hex_latitude":"06ea81b0","is_valid_coordinates":true} 
[2026-08-19 21:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512075008001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386258452017577984,"note":"Value kept but may cause issues"} 
[2026-08-19 21:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":961166706427361280,"note":"Value kept but may cause issues"} 
[2026-08-19 21:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787156547000,"timestamp_ms":1787156547000,"timestamp_seconds":1787156547,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad4c5b8"} 
[2026-08-19 21:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:54: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-08-19 21:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 21:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512075008001,"66":26723,"58":206,"2":56576,"24":23,"16":386258452017577984,"45":961166706427361280},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,2,24,16,45]} 
[2026-08-19 21:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512075008001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:54:36] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-08-19 21:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386258452017577984,"km_value":386258452017578.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":961166706427361280,"description":"Unknown IO ID 45"} 
[2026-08-19 21:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512075008001,"power":26723,"unknown_58":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":961166706427361280}} 
[2026-08-19 21:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":157916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:54:36] local.INFO: GPS data processed {"connection_id":157916,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:54:36] local.INFO: Acknowledgment sent {"connection_id":157916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:54:45] local.INFO: TCP Data received {"connection_id":158275,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:54:45] local.INFO: Processing buffer {"connection_id":158275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:54:45] local.INFO: Packet analysis {"connection_id":158275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:54:45] local.INFO: Extracted packet for processing {"connection_id":158275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511986688001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787156499000,"timestamp_ms":1787156499000,"timestamp_seconds":1787156499,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad40a38"} 
[2026-08-19 21:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:54:45] 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-08-19 21:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:54:45] 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-08-19 21:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511986688001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511986688001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:54:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:54:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511986688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":158275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:54:45] local.INFO: GPS data processed {"connection_id":158275,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:54:45] local.INFO: Acknowledgment sent {"connection_id":158275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:54:58] local.INFO: TCP Data received {"connection_id":159139,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:54:58] local.INFO: Processing buffer {"connection_id":159139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:54:58] local.INFO: IMEI packet received {"connection_id":159139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":159139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:55:03] local.INFO: TCP Data received {"connection_id":159139,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:55:03] local.INFO: Processing buffer {"connection_id":159139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:55:03] local.INFO: IMEI packet received {"connection_id":159139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":159139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:55:05] local.INFO: TCP Data received {"connection_id":159139,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad65bf8012d0d758006e9f5d00019006a31..."} 
[2026-08-19 21:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad65bf8012d0d758006e9f5d00019006a31..."} 
[2026-08-19 21:55:05] local.INFO: Processing buffer {"connection_id":159139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad65bf8012d0d758006e9f5d00019006a31..."} 
[2026-08-19 21:55:05] local.INFO: Packet analysis {"connection_id":159139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad6"} 
[2026-08-19 21:55:05] local.INFO: Extracted packet for processing {"connection_id":159139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad6"} 
[2026-08-19 21:55:05] local.INFO: GPS Element Parsed {"raw_longitude":755856768,"raw_latitude":115996112,"longitude_deg":75.5856768,"latitude_deg":11.5996112,"altitude":25,"angle":106,"satellites":49,"speed":7,"hex_longitude":"2d0d7580","hex_latitude":"06e9f5d0","is_valid_coordinates":true} 
[2026-08-19 21:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512099840001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386260358983057408,"note":"Value kept but may cause issues"} 
[2026-08-19 21:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":968414687068104704,"note":"Value kept but may cause issues"} 
[2026-08-19 21:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787156651000,"timestamp_ms":1787156651000,"timestamp_seconds":1787156651,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad65bf8"} 
[2026-08-19 21:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:55: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-08-19 21:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 21:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512099840001,"66":27343,"41":206,"2":56576,"24":7,"16":386260358983057408,"45":968414687068104704},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-08-19 21:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512099840001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:55:05] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-19 21:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386260358983057408,"km_value":386260358983057.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":968414687068104704,"description":"Unknown IO ID 45"} 
[2026-08-19 21:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512099840001,"power":27343,"unknown_41":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":968414687068104704}} 
[2026-08-19 21:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":159139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:55:05] local.INFO: GPS data processed {"connection_id":159139,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:55:05] local.INFO: Acknowledgment sent {"connection_id":159139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:55:07] local.INFO: TCP Data received {"connection_id":160454,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:55:07] local.INFO: Processing buffer {"connection_id":160454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:55:07] local.INFO: IMEI packet received {"connection_id":160454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":160454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:55:13] local.INFO: TCP Data received {"connection_id":160454,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:55:13] local.INFO: Processing buffer {"connection_id":160454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:55:13] local.INFO: IMEI packet received {"connection_id":160454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":160454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:55:13] local.INFO: TCP Data received {"connection_id":160454,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:55:13] local.INFO: Processing buffer {"connection_id":160454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:55:13] local.INFO: Packet analysis {"connection_id":160454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:55:13] local.INFO: Extracted packet for processing {"connection_id":160454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:55:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511986688001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787156499000,"timestamp_ms":1787156499000,"timestamp_seconds":1787156499,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad40a38"} 
[2026-08-19 21:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:55:13] 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-08-19 21:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:55:13] 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-08-19 21:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511986688001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511986688001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:55:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:55:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511986688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":160454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:55:13] local.INFO: GPS data processed {"connection_id":160454,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:55:13] local.INFO: Acknowledgment sent {"connection_id":160454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:55:36] local.INFO: TCP Data received {"connection_id":159139,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad65fe0012d0d768006e9f5880019007831..."} 
[2026-08-19 21:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad65fe0012d0d768006e9f5880019007831..."} 
[2026-08-19 21:55:36] local.INFO: Processing buffer {"connection_id":159139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad65fe0012d0d768006e9f5880019007831..."} 
[2026-08-19 21:55:36] local.INFO: Packet analysis {"connection_id":159139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad6"} 
[2026-08-19 21:55:36] local.INFO: Extracted packet for processing {"connection_id":159139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad6"} 
[2026-08-19 21:55:36] local.INFO: GPS Element Parsed {"raw_longitude":755857024,"raw_latitude":115996040,"longitude_deg":75.5857024,"latitude_deg":11.599604,"altitude":25,"angle":120,"satellites":49,"speed":7,"hex_longitude":"2d0d7680","hex_latitude":"06e9f588","is_valid_coordinates":true} 
[2026-08-19 21:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512102656001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386260371867959296,"note":"Value kept but may cause issues"} 
[2026-08-19 21:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":969822061951569920,"note":"Value kept but may cause issues"} 
[2026-08-19 21:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787156652000,"timestamp_ms":1787156652000,"timestamp_seconds":1787156652,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad65fe0"} 
[2026-08-19 21:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:55: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-08-19 21:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 21:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512102656001,"66":27343,"41":206,"2":56576,"24":7,"16":386260371867959296,"45":969822061951569920},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-08-19 21:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512102656001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:55:36] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-19 21:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386260371867959296,"km_value":386260371867959.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":969822061951569920,"description":"Unknown IO ID 45"} 
[2026-08-19 21:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512102656001,"power":27343,"unknown_41":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":969822061951569920}} 
[2026-08-19 21:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":159139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:55:36] local.INFO: GPS data processed {"connection_id":159139,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:55:36] local.INFO: Acknowledgment sent {"connection_id":159139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:55:44] local.INFO: TCP Data received {"connection_id":160454,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:55:44] local.INFO: Processing buffer {"connection_id":160454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:55:44] local.INFO: Packet analysis {"connection_id":160454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:55:44] local.INFO: Extracted packet for processing {"connection_id":160454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:55:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511986688001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787156499000,"timestamp_ms":1787156499000,"timestamp_seconds":1787156499,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad40a38"} 
[2026-08-19 21:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:55:44] 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-08-19 21:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:55:44] 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-08-19 21:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511986688001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511986688001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:55:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:55:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511986688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":160454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:55:45] local.INFO: GPS data processed {"connection_id":160454,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:55:45] local.INFO: Acknowledgment sent {"connection_id":160454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:55:58] local.INFO: TCP Data received {"connection_id":158276,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:55:58] local.INFO: Processing buffer {"connection_id":158276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:55:58] local.INFO: IMEI packet received {"connection_id":158276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":158276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:56:01] local.INFO: TCP Data received {"connection_id":158276,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:56:01] local.INFO: Processing buffer {"connection_id":158276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:56:01] local.INFO: IMEI packet received {"connection_id":158276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":158276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:56:03] local.INFO: TCP Data received {"connection_id":158276,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:56:03] local.INFO: Processing buffer {"connection_id":158276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:56:03] local.INFO: IMEI packet received {"connection_id":158276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":158276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:56:05] local.INFO: TCP Data received {"connection_id":158276,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad66f80012d0d784006e9f3a8001a008a31..."} 
[2026-08-19 21:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad66f80012d0d784006e9f3a8001a008a31..."} 
[2026-08-19 21:56:05] local.INFO: Processing buffer {"connection_id":158276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad66f80012d0d784006e9f3a8001a008a31..."} 
[2026-08-19 21:56:05] local.INFO: Packet analysis {"connection_id":158276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad6"} 
[2026-08-19 21:56:05] local.INFO: Extracted packet for processing {"connection_id":158276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad6"} 
[2026-08-19 21:56:05] local.INFO: GPS Element Parsed {"raw_longitude":755857472,"raw_latitude":115995560,"longitude_deg":75.5857472,"latitude_deg":11.599556,"altitude":26,"angle":138,"satellites":49,"speed":5,"hex_longitude":"2d0d7840","hex_latitude":"06e9f3a8","is_valid_coordinates":true} 
[2026-08-19 21:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512102912001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386260401932730368,"note":"Value kept but may cause issues"} 
[2026-08-19 21:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":970103536928262144,"note":"Value kept but may cause issues"} 
[2026-08-19 21:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787156656000,"timestamp_ms":1787156656000,"timestamp_seconds":1787156656,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad66f80"} 
[2026-08-19 21:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:56: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-08-19 21:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 21:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512102912001,"66":27332,"41":206,"2":56576,"24":5,"16":386260401932730368,"45":970103536928262144},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-08-19 21:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512102912001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:56:05] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-19 21:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386260401932730368,"km_value":386260401932730.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":970103536928262144,"description":"Unknown IO ID 45"} 
[2026-08-19 21:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512102912001,"power":27332,"unknown_41":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":970103536928262144}} 
[2026-08-19 21:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":158276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:56:05] local.INFO: GPS data processed {"connection_id":158276,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:56:05] local.INFO: Acknowledgment sent {"connection_id":158276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:56:07] local.INFO: TCP Data received {"connection_id":159140,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:56:07] local.INFO: Processing buffer {"connection_id":159140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:56:07] local.INFO: IMEI packet received {"connection_id":159140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":159140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:56:13] local.INFO: TCP Data received {"connection_id":159140,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:56:13] local.INFO: Processing buffer {"connection_id":159140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:56:13] local.INFO: IMEI packet received {"connection_id":159140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":159140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:56:13] local.INFO: TCP Data received {"connection_id":159140,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:56:13] local.INFO: Processing buffer {"connection_id":159140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:56:13] local.INFO: Packet analysis {"connection_id":159140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:56:13] local.INFO: Extracted packet for processing {"connection_id":159140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:56:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511986688001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787156499000,"timestamp_ms":1787156499000,"timestamp_seconds":1787156499,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad40a38"} 
[2026-08-19 21:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:56:13] 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-08-19 21:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:56:13] 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-08-19 21:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:56:13] 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-08-19 21:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511986688001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511986688001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:56:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:56:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511986688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":159140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:56:13] local.INFO: GPS data processed {"connection_id":159140,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:56:13] local.INFO: Acknowledgment sent {"connection_id":159140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:56:38] local.INFO: TCP Data received {"connection_id":158276,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad7cb28012d0dacc006e9cf20002300a632..."} 
[2026-08-19 21:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad7cb28012d0dacc006e9cf20002300a632..."} 
[2026-08-19 21:56:38] local.INFO: Processing buffer {"connection_id":158276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad7cb28012d0dacc006e9cf20002300a632..."} 
[2026-08-19 21:56:38] local.INFO: Packet analysis {"connection_id":158276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad7"} 
[2026-08-19 21:56:38] local.INFO: Extracted packet for processing {"connection_id":158276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad7"} 
[2026-08-19 21:56:38] local.INFO: GPS Element Parsed {"raw_longitude":755870912,"raw_latitude":115986208,"longitude_deg":75.5870912,"latitude_deg":11.5986208,"altitude":35,"angle":166,"satellites":50,"speed":10,"hex_longitude":"2d0dacc0","hex_latitude":"06e9cf20","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512126464001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386261230861418496,"note":"Value kept but may cause issues"} 
[2026-08-19 21:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":985303185668177920,"note":"Value kept but may cause issues"} 
[2026-08-19 21:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787156745000,"timestamp_ms":1787156745000,"timestamp_seconds":1787156745,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad7cb28"} 
[2026-08-19 21:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:56: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-08-19 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 21:56:38] 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-08-19 21: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-08-19 21:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512126464001,"66":27180,"57":206,"2":56576,"24":10,"16":386261230861418496,"45":985303185668177920},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,2,24,16,45]} 
[2026-08-19 21:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512126464001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:56:38] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-19 21:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386261230861418496,"km_value":386261230861418.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":985303185668177920,"description":"Unknown IO ID 45"} 
[2026-08-19 21:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512126464001,"power":27180,"unknown_57":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":985303185668177920}} 
[2026-08-19 21:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":158276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:56:38] local.INFO: GPS data processed {"connection_id":158276,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:56:38] local.INFO: Acknowledgment sent {"connection_id":158276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:56:44] local.INFO: TCP Data received {"connection_id":159140,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:56:44] local.INFO: Processing buffer {"connection_id":159140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:56:44] local.INFO: Packet analysis {"connection_id":159140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:56:44] local.INFO: Extracted packet for processing {"connection_id":159140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:56:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511986688001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787156499000,"timestamp_ms":1787156499000,"timestamp_seconds":1787156499,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad40a38"} 
[2026-08-19 21:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:56:44] 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-08-19 21:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:56:44] 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-08-19 21:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:56:44] 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-08-19 21:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511986688001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511986688001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:56:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:56:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511986688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":159140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:56:44] local.INFO: GPS data processed {"connection_id":159140,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:56:44] local.INFO: Acknowledgment sent {"connection_id":159140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:57:03] local.INFO: TCP Data received {"connection_id":160455,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:57:03] local.INFO: Processing buffer {"connection_id":160455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:57:03] local.INFO: IMEI packet received {"connection_id":160455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":160455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:57:08] local.INFO: TCP Data received {"connection_id":160455,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:57:08] local.INFO: Processing buffer {"connection_id":160455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:57:08] local.INFO: IMEI packet received {"connection_id":160455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":160455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:57:12] local.INFO: TCP Data received {"connection_id":160455,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad7d6e0012d0dae4006e9cb700022009431..."} 
[2026-08-19 21:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad7d6e0012d0dae4006e9cb700022009431..."} 
[2026-08-19 21:57:12] local.INFO: Processing buffer {"connection_id":160455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad7d6e0012d0dae4006e9cb700022009431..."} 
[2026-08-19 21:57:12] local.INFO: Packet analysis {"connection_id":160455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad7"} 
[2026-08-19 21:57:12] local.INFO: Extracted packet for processing {"connection_id":160455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad7"} 
[2026-08-19 21:57:12] local.INFO: GPS Element Parsed {"raw_longitude":755871296,"raw_latitude":115985264,"longitude_deg":75.5871296,"latitude_deg":11.5985264,"altitude":34,"angle":148,"satellites":49,"speed":16,"hex_longitude":"2d0dae40","hex_latitude":"06e9cb70","is_valid_coordinates":true} 
[2026-08-19 21:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512126720001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386261278106058752,"note":"Value kept but may cause issues"} 
[2026-08-19 21:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":985373554412298240,"note":"Value kept but may cause issues"} 
[2026-08-19 21:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787156748000,"timestamp_ms":1787156748000,"timestamp_seconds":1787156748,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad7d6e0"} 
[2026-08-19 21:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-19 21:57:12] 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-08-19 21:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512126720001,"66":27245,"57":206,"2":56576,"24":16,"16":386261278106058752,"45":985373554412298240},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,2,24,16,45]} 
[2026-08-19 21:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512126720001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:57:12] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-19 21:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386261278106058752,"km_value":386261278106058.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":985373554412298240,"description":"Unknown IO ID 45"} 
[2026-08-19 21:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512126720001,"power":27245,"unknown_57":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":985373554412298240}} 
[2026-08-19 21:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":160455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:57:12] local.INFO: GPS data processed {"connection_id":160455,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:57:12] local.INFO: Acknowledgment sent {"connection_id":160455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:57:13] local.INFO: TCP Data received {"connection_id":157917,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:57:13] local.INFO: Processing buffer {"connection_id":157917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:57:13] local.INFO: IMEI packet received {"connection_id":157917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":157917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:57:15] local.INFO: TCP Data received {"connection_id":160455,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad7f238012d0db50006e9c2c00021008530..."} 
[2026-08-19 21:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad7f238012d0db50006e9c2c00021008530..."} 
[2026-08-19 21:57:15] local.INFO: Processing buffer {"connection_id":160455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad7f238012d0db50006e9c2c00021008530..."} 
[2026-08-19 21:57:15] local.INFO: Packet analysis {"connection_id":160455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad7"} 
[2026-08-19 21:57:15] local.INFO: Extracted packet for processing {"connection_id":160455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad7"} 
[2026-08-19 21:57:15] local.INFO: GPS Element Parsed {"raw_longitude":755873024,"raw_latitude":115983040,"longitude_deg":75.5873024,"latitude_deg":11.598304,"altitude":33,"angle":133,"satellites":48,"speed":5,"hex_longitude":"2d0db500","hex_latitude":"06e9c2c0","is_valid_coordinates":true} 
[2026-08-19 21:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512127488001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386261415545012224,"note":"Value kept but may cause issues"} 
[2026-08-19 21:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":985795766877122560,"note":"Value kept but may cause issues"} 
[2026-08-19 21:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787156755000,"timestamp_ms":1787156755000,"timestamp_seconds":1787156755,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad7f238"} 
[2026-08-19 21:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 21:57:15] 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-08-19 21:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512127488001,"66":27267,"57":206,"2":56576,"24":5,"16":386261415545012224,"45":985795766877122560},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,2,24,16,45]} 
[2026-08-19 21:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512127488001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:57:15] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-19 21:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386261415545012224,"km_value":386261415545012.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":985795766877122560,"description":"Unknown IO ID 45"} 
[2026-08-19 21:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512127488001,"power":27267,"unknown_57":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":985795766877122560}} 
[2026-08-19 21:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":160455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:57:15] local.INFO: GPS data processed {"connection_id":160455,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:57:15] local.INFO: Acknowledgment sent {"connection_id":160455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:57:18] local.INFO: TCP Data received {"connection_id":157917,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:57:18] local.INFO: Processing buffer {"connection_id":157917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:57:18] local.INFO: IMEI packet received {"connection_id":157917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":157917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:57:18] local.INFO: TCP Data received {"connection_id":157917,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:57:18] local.INFO: Processing buffer {"connection_id":157917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad40a38012d196500071ff1280041014629..."} 
[2026-08-19 21:57:18] local.INFO: Packet analysis {"connection_id":157917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:57:18] local.INFO: Extracted packet for processing {"connection_id":157917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad4"} 
[2026-08-19 21:57:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457511986688001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787156499000,"timestamp_ms":1787156499000,"timestamp_seconds":1787156499,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad40a38"} 
[2026-08-19 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-08-19 21:57:18] 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-08-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 21:57:18] 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-08-19 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-08-19 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-08-19 21:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":157917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":157917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":157917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:57:18] 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-08-19 21:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457511986688001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457511986688001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:57:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:57:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457511986688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":157917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:57:18] local.INFO: GPS data processed {"connection_id":157917,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:57:18] local.INFO: Acknowledgment sent {"connection_id":157917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:57:19] local.INFO: TCP Data received {"connection_id":157917,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 21:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 21:57:19] local.INFO: Processing buffer {"connection_id":157917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 21:57:19] local.INFO: Packet analysis {"connection_id":157917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 21:57:19] local.INFO: Extracted packet for processing {"connection_id":157917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 21:57:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512063744001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787156800000,"timestamp_ms":1787156800000,"timestamp_seconds":1787156800,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad8a200"} 
[2026-08-19 21:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:57:19] 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-08-19 21:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512063744001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512063744001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:57:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:57:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512063744001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":157917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:57:19] local.INFO: GPS data processed {"connection_id":157917,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:57:19] local.INFO: Acknowledgment sent {"connection_id":157917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:57:50] local.INFO: TCP Data received {"connection_id":157917,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 21:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 21:57:50] local.INFO: Processing buffer {"connection_id":157917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 21:57:50] local.INFO: Packet analysis {"connection_id":157917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 21:57:50] local.INFO: Extracted packet for processing {"connection_id":157917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 21:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512063744001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787156800000,"timestamp_ms":1787156800000,"timestamp_seconds":1787156800,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad8a200"} 
[2026-08-19 21:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":157917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":157917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":157917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:57:50] 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-08-19 21:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512063744001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512063744001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:57:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512063744001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":157917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:57:50] local.INFO: GPS data processed {"connection_id":157917,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:57:50] local.INFO: Acknowledgment sent {"connection_id":157917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:57:57] local.INFO: TCP Data received {"connection_id":160456,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:57:57] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:57:57] local.INFO: IMEI packet received {"connection_id":160456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":160456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:57:58] local.INFO: TCP Data received {"connection_id":160456,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:57:58] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:57:58] local.INFO: IMEI packet received {"connection_id":160456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":160456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:58:04] local.INFO: TCP Data received {"connection_id":160456,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:58:04] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:58:04] local.INFO: IMEI packet received {"connection_id":160456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":160456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:58:07] local.INFO: TCP Data received {"connection_id":160456,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad84440012d0db5c006e9c270002100852e..."} 
[2026-08-19 21:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad84440012d0db5c006e9c270002100852e..."} 
[2026-08-19 21:58:07] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad84440012d0db5c006e9c270002100852e..."} 
[2026-08-19 21:58:07] local.INFO: Packet analysis {"connection_id":160456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 21:58:07] local.INFO: Extracted packet for processing {"connection_id":160456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 21:58:07] local.INFO: GPS Element Parsed {"raw_longitude":755873216,"raw_latitude":115982960,"longitude_deg":75.5873216,"latitude_deg":11.598296,"altitude":33,"angle":133,"satellites":46,"speed":0,"hex_longitude":"2d0db5c0","hex_latitude":"06e9c270","is_valid_coordinates":true} 
[2026-08-19 21:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512129280001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386261424134946816,"note":"Value kept but may cause issues"} 
[2026-08-19 21:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":987695722969350144,"note":"Value kept but may cause issues"} 
[2026-08-19 21:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787156776000,"timestamp_ms":1787156776000,"timestamp_seconds":1787156776,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad84440"} 
[2026-08-19 21:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:58: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-08-19 21:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 21:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512129280001,"66":27517,"57":206,"2":56576,"24":0,"16":386261424134946816,"45":987695722969350144},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,2,24,16,45]} 
[2026-08-19 21:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512129280001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:58:07] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-19 21:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386261424134946816,"km_value":386261424134946.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":987695722969350144,"description":"Unknown IO ID 45"} 
[2026-08-19 21:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512129280001,"power":27517,"unknown_57":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":987695722969350144}} 
[2026-08-19 21:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":160456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:58:07] local.INFO: GPS data processed {"connection_id":160456,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:58:07] local.INFO: Acknowledgment sent {"connection_id":160456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:58:08] local.INFO: TCP Data received {"connection_id":159141,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:58:08] local.INFO: Processing buffer {"connection_id":159141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:58:08] local.INFO: IMEI packet received {"connection_id":159141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":159141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:58:13] local.INFO: TCP Data received {"connection_id":159141,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:58:13] local.INFO: Processing buffer {"connection_id":159141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:58:13] local.INFO: IMEI packet received {"connection_id":159141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":159141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:58:13] local.INFO: TCP Data received {"connection_id":159141,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 21:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 21:58:13] local.INFO: Processing buffer {"connection_id":159141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 21:58:13] local.INFO: Packet analysis {"connection_id":159141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 21:58:13] local.INFO: Extracted packet for processing {"connection_id":159141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 21:58:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21: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-08-19 21:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512063744001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787156800000,"timestamp_ms":1787156800000,"timestamp_seconds":1787156800,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad8a200"} 
[2026-08-19 21:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21: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-08-19 21:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512063744001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512063744001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:58:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512063744001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":159141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:58:13] local.INFO: GPS data processed {"connection_id":159141,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:58:13] local.INFO: Acknowledgment sent {"connection_id":159141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:58:40] local.INFO: TCP Data received {"connection_id":160456,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad89648012d0dc70006e9aff80024008830..."} 
[2026-08-19 21:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad89648012d0dc70006e9aff80024008830..."} 
[2026-08-19 21:58:40] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad89648012d0dc70006e9aff80024008830..."} 
[2026-08-19 21:58:40] local.INFO: Packet analysis {"connection_id":160456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 21:58:40] local.INFO: Extracted packet for processing {"connection_id":160456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 21:58:40] local.INFO: GPS Element Parsed {"raw_longitude":755877632,"raw_latitude":115978232,"longitude_deg":75.5877632,"latitude_deg":11.5978232,"altitude":36,"angle":136,"satellites":48,"speed":20,"hex_longitude":"2d0dc700","hex_latitude":"06e9aff8","is_valid_coordinates":true} 
[2026-08-19 21:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512134656001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386261737667559424,"note":"Value kept but may cause issues"} 
[2026-08-19 21:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":987906829201862656,"note":"Value kept but may cause issues"} 
[2026-08-19 21:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787156797000,"timestamp_ms":1787156797000,"timestamp_seconds":1787156797,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad89648"} 
[2026-08-19 21:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-19 21:58:40] 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-08-19 21:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512134656001,"66":26832,"57":206,"2":56576,"24":20,"16":386261737667559424,"45":987906829201862656},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,2,24,16,45]} 
[2026-08-19 21:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512134656001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:58:40] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-19 21:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386261737667559424,"km_value":386261737667559.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":987906829201862656,"description":"Unknown IO ID 45"} 
[2026-08-19 21:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512134656001,"power":26832,"unknown_57":206,"power_alt":56576,"ignition":20,"odometer":null,"unknown_45":987906829201862656}} 
[2026-08-19 21:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":160456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:58:40] local.INFO: GPS data processed {"connection_id":160456,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:58:40] local.INFO: Acknowledgment sent {"connection_id":160456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:58:44] local.INFO: TCP Data received {"connection_id":159141,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 21:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 21:58:44] local.INFO: Processing buffer {"connection_id":159141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 21:58:44] local.INFO: Packet analysis {"connection_id":159141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 21:58:44] local.INFO: Extracted packet for processing {"connection_id":159141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 21:58:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512063744001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787156800000,"timestamp_ms":1787156800000,"timestamp_seconds":1787156800,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad8a200"} 
[2026-08-19 21:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512063744001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512063744001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:58:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:58:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512063744001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":159141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:58:45] local.INFO: GPS data processed {"connection_id":159141,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:58:45] local.INFO: Acknowledgment sent {"connection_id":159141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:58:58] local.INFO: TCP Data received {"connection_id":157918,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:58:58] local.INFO: Processing buffer {"connection_id":157918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:58:58] local.INFO: IMEI packet received {"connection_id":157918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":157918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:59:04] local.INFO: TCP Data received {"connection_id":157918,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:59:04] local.INFO: Processing buffer {"connection_id":157918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:59:04] local.INFO: IMEI packet received {"connection_id":157918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 21:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":157918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:59:07] local.INFO: TCP Data received {"connection_id":157918,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad8d8b0012d0de08006e998100024008231..."} 
[2026-08-19 21:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad8d8b0012d0de08006e998100024008231..."} 
[2026-08-19 21:59:07] local.INFO: Processing buffer {"connection_id":157918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad8d8b0012d0de08006e998100024008231..."} 
[2026-08-19 21:59:07] local.INFO: Packet analysis {"connection_id":157918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 21:59:07] local.INFO: Extracted packet for processing {"connection_id":157918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 21:59:07] local.INFO: GPS Element Parsed {"raw_longitude":755884160,"raw_latitude":115972112,"longitude_deg":75.588416,"latitude_deg":11.5972112,"altitude":36,"angle":130,"satellites":49,"speed":15,"hex_longitude":"2d0de080","hex_latitude":"06e99810","is_valid_coordinates":true} 
[2026-08-19 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-08-19 21:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512140032001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386262167164289024,"note":"Value kept but may cause issues"} 
[2026-08-19 21:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":992762272548911104,"note":"Value kept but may cause issues"} 
[2026-08-19 21:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787156814000,"timestamp_ms":1787156814000,"timestamp_seconds":1787156814,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad8d8b0"} 
[2026-08-19 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-08-19 21:59: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-08-19 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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-19 21:59:07] 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-08-19 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-08-19 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-08-19 21:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512140032001,"66":27137,"57":206,"2":56576,"24":15,"16":386262167164289024,"45":992762272548911104},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,2,24,16,45]} 
[2026-08-19 21:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512140032001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:59:07] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-19 21:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386262167164289024,"km_value":386262167164289.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":992762272548911104,"description":"Unknown IO ID 45"} 
[2026-08-19 21:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512140032001,"power":27137,"unknown_57":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":992762272548911104}} 
[2026-08-19 21:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":157918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:59:07] local.INFO: GPS data processed {"connection_id":157918,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:59:07] local.INFO: Acknowledgment sent {"connection_id":157918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:59:08] local.INFO: TCP Data received {"connection_id":160457,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:59:08] local.INFO: Processing buffer {"connection_id":160457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:59:08] local.INFO: IMEI packet received {"connection_id":160457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 21:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":160457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 21:59:12] local.INFO: TCP Data received {"connection_id":160457,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:59:12] local.INFO: Processing buffer {"connection_id":160457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 21:59:12] local.INFO: IMEI packet received {"connection_id":160457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 21:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":160457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 21:59:13] local.INFO: TCP Data received {"connection_id":160457,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 21:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 21:59:13] local.INFO: Processing buffer {"connection_id":160457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 21:59:13] local.INFO: Packet analysis {"connection_id":160457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 21:59:13] local.INFO: Extracted packet for processing {"connection_id":160457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 21:59:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512063744001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787156800000,"timestamp_ms":1787156800000,"timestamp_seconds":1787156800,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad8a200"} 
[2026-08-19 21:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512063744001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512063744001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:59:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:59:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512063744001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":160457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:59:13] local.INFO: GPS data processed {"connection_id":160457,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:59:13] local.INFO: Acknowledgment sent {"connection_id":160457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:59:40] local.INFO: TCP Data received {"connection_id":157918,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad90b78012d0dfd4006e97e18001f00832e..."} 
[2026-08-19 21:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad90b78012d0dfd4006e97e18001f00832e..."} 
[2026-08-19 21:59:40] local.INFO: Processing buffer {"connection_id":157918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad90b78012d0dfd4006e97e18001f00832e..."} 
[2026-08-19 21:59:40] local.INFO: Packet analysis {"connection_id":157918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad9"} 
[2026-08-19 21:59:40] local.INFO: Extracted packet for processing {"connection_id":157918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad9"} 
[2026-08-19 21:59:40] local.INFO: GPS Element Parsed {"raw_longitude":755891520,"raw_latitude":115965464,"longitude_deg":75.589152,"latitude_deg":11.5965464,"altitude":31,"angle":131,"satellites":46,"speed":37,"hex_longitude":"2d0dfd40","hex_latitude":"06e97e18","is_valid_coordinates":true} 
[2026-08-19 21:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512144384001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386262643905658880,"note":"Value kept but may cause issues"} 
[2026-08-19 21:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":999939884453466112,"note":"Value kept but may cause issues"} 
[2026-08-19 21:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787156827000,"timestamp_ms":1787156827000,"timestamp_seconds":1787156827,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad90b78"} 
[2026-08-19 21:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 21:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-08-19 21:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 21:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 21:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 21:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512144384001,"66":27343,"57":206,"2":56576,"24":37,"16":386262643905658880,"45":999939884453466112},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,2,24,16,45]} 
[2026-08-19 21:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 21:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 21:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512144384001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:59:40] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-19 21:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386262643905658880,"km_value":386262643905658.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":999939884453466112,"description":"Unknown IO ID 45"} 
[2026-08-19 21:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512144384001,"power":27343,"unknown_57":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":999939884453466112}} 
[2026-08-19 21:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":157918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:59:40] local.INFO: GPS data processed {"connection_id":157918,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:59:40] local.INFO: Acknowledgment sent {"connection_id":157918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:59:44] local.INFO: TCP Data received {"connection_id":160457,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 21:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 21:59:44] local.INFO: Processing buffer {"connection_id":160457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 21:59:44] local.INFO: Packet analysis {"connection_id":160457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 21:59:44] local.INFO: Extracted packet for processing {"connection_id":160457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 21:59:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 21:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 21:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512063744001,"note":"Value kept but may cause issues"} 
[2026-08-19 21:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 21:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 21:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 21:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787156800000,"timestamp_ms":1787156800000,"timestamp_seconds":1787156800,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad8a200"} 
[2026-08-19 21:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 21:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 21:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 21:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 21:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 21:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 21:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 21:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 21:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 21:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 21:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 21:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 21:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512063744001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 21:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 21:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 21:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512063744001,"description":"Unknown IO ID 0"} 
[2026-08-19 21:59:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 21:59:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 21:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 21:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 21:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512063744001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 21:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":160457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 21:59:44] local.INFO: GPS data processed {"connection_id":160457,"processed":1,"errors":0,"total":1} 
[2026-08-19 21:59:44] local.INFO: Acknowledgment sent {"connection_id":160457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 21:59:58] local.INFO: TCP Data received {"connection_id":160458,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:59:58] local.INFO: Processing buffer {"connection_id":160458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 21:59:58] local.INFO: IMEI packet received {"connection_id":160458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 21:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":160458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:00:00] local.INFO: TCP Data received {"connection_id":160458,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:00:00] local.INFO: Processing buffer {"connection_id":160458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:00:00] local.INFO: IMEI packet received {"connection_id":160458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":160458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:00:04] local.INFO: TCP Data received {"connection_id":160458,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:00:04] local.INFO: Processing buffer {"connection_id":160458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:00:04] local.INFO: IMEI packet received {"connection_id":160458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":160458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:00:07] local.INFO: TCP Data received {"connection_id":160458,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad93670012d0e16c006e96548001a00842e..."} 
[2026-08-19 22:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad93670012d0e16c006e96548001a00842e..."} 
[2026-08-19 22:00:07] local.INFO: Processing buffer {"connection_id":160458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad93670012d0e16c006e96548001a00842e..."} 
[2026-08-19 22:00:07] local.INFO: Packet analysis {"connection_id":160458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad9"} 
[2026-08-19 22:00:07] local.INFO: Extracted packet for processing {"connection_id":160458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad9"} 
[2026-08-19 22:00:07] local.INFO: GPS Element Parsed {"raw_longitude":755898048,"raw_latitude":115959112,"longitude_deg":75.5898048,"latitude_deg":11.5959112,"altitude":26,"angle":132,"satellites":46,"speed":30,"hex_longitude":"2d0e16c0","hex_latitude":"06e96548","is_valid_coordinates":true} 
[2026-08-19 22:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512147712001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386263081992323072,"note":"Value kept but may cause issues"} 
[2026-08-19 22:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1008032290032195584,"note":"Value kept but may cause issues"} 
[2026-08-19 22:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787156838000,"timestamp_ms":1787156838000,"timestamp_seconds":1787156838,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad93670"} 
[2026-08-19 22:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:00: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-08-19 22:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 22:00:07] 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-08-19 22:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512147712001,"66":27463,"132":206,"2":56576,"24":30,"16":386263081992323072,"45":1008032290032195584},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,2,24,16,45]} 
[2026-08-19 22:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512147712001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:00:07] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-08-19 22:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386263081992323072,"km_value":386263081992323.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1008032290032195584,"description":"Unknown IO ID 45"} 
[2026-08-19 22:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512147712001,"power":27463,"unknown_132":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":1008032290032195584}} 
[2026-08-19 22:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":160458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:00:07] local.INFO: GPS data processed {"connection_id":160458,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:00:07] local.INFO: Acknowledgment sent {"connection_id":160458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:00:13] local.INFO: TCP Data received {"connection_id":159142,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:00:13] local.INFO: Processing buffer {"connection_id":159142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:00:13] local.INFO: IMEI packet received {"connection_id":159142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":159142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:00:18] local.INFO: TCP Data received {"connection_id":159142,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:00:18] local.INFO: Processing buffer {"connection_id":159142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:00:18] local.INFO: IMEI packet received {"connection_id":159142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":159142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:00:18] local.INFO: TCP Data received {"connection_id":159142,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 22:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 22:00:18] local.INFO: Processing buffer {"connection_id":159142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 22:00:18] local.INFO: Packet analysis {"connection_id":159142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 22:00:18] local.INFO: Extracted packet for processing {"connection_id":159142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 22:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:00: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-08-19 22:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512063744001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787156800000,"timestamp_ms":1787156800000,"timestamp_seconds":1787156800,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad8a200"} 
[2026-08-19 22:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:00: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-08-19 22:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512063744001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512063744001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:00:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512063744001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":159142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:00:18] local.INFO: GPS data processed {"connection_id":159142,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:00:18] local.INFO: Acknowledgment sent {"connection_id":159142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:00:23] local.INFO: TCP Data received {"connection_id":159142,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 22:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 22:00:23] local.INFO: Processing buffer {"connection_id":159142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 22:00:23] local.INFO: Packet analysis {"connection_id":159142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 22:00:23] local.INFO: Extracted packet for processing {"connection_id":159142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 22:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512063744001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787156800000,"timestamp_ms":1787156800000,"timestamp_seconds":1787156800,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad8a200"} 
[2026-08-19 22:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512063744001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512063744001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:00:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:00:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512063744001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":159142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:00:23] local.INFO: GPS data processed {"connection_id":159142,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:00:23] local.INFO: Acknowledgment sent {"connection_id":159142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:00:41] local.INFO: TCP Data received {"connection_id":160458,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01adb3a10012d0e664006e854f8000c00a72e..."} 
[2026-08-19 22:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01adb3a10012d0e664006e854f8000c00a72e..."} 
[2026-08-19 22:00:41] local.INFO: Processing buffer {"connection_id":160458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01adb3a10012d0e664006e854f8000c00a72e..."} 
[2026-08-19 22:00:41] local.INFO: Packet analysis {"connection_id":160458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01adb"} 
[2026-08-19 22:00:41] local.INFO: Extracted packet for processing {"connection_id":160458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01adb"} 
[2026-08-19 22:00:41] local.INFO: GPS Element Parsed {"raw_longitude":755918400,"raw_latitude":115889400,"longitude_deg":75.59184,"latitude_deg":11.58894,"altitude":12,"angle":167,"satellites":46,"speed":41,"hex_longitude":"2d0e6640","hex_latitude":"06e854f8","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512181760001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386266681174917120,"note":"Value kept but may cause issues"} 
[2026-08-19 22:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1035124256523583488,"note":"Value kept but may cause issues"} 
[2026-08-19 22:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787156970000,"timestamp_ms":1787156970000,"timestamp_seconds":1787156970,"priority":1,"record_length":96,"hex_timestamp":"000001a01adb3a10"} 
[2026-08-19 22:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:00: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-08-19 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 22:00:41] 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-08-19 22: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-08-19 22:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512181760001,"66":27365,"218":206,"2":56576,"24":41,"16":386266681174917120,"45":1035124256523583488},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,2,24,16,45]} 
[2026-08-19 22:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512181760001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:00:41] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-19 22:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386266681174917120,"km_value":386266681174917.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1035124256523583488,"description":"Unknown IO ID 45"} 
[2026-08-19 22:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512181760001,"power":27365,"unknown_218":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":1035124256523583488}} 
[2026-08-19 22:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":160458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:00:41] local.INFO: GPS data processed {"connection_id":160458,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:00:41] local.INFO: Acknowledgment sent {"connection_id":160458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:00:59] local.INFO: TCP Data received {"connection_id":158277,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:00:59] local.INFO: Processing buffer {"connection_id":158277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:00:59] local.INFO: IMEI packet received {"connection_id":158277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":158277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:01:03] local.INFO: TCP Data received {"connection_id":158277,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:01:03] local.INFO: Processing buffer {"connection_id":158277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:01:03] local.INFO: IMEI packet received {"connection_id":158277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":158277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:01:08] local.INFO: TCP Data received {"connection_id":157919,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:01:08] local.INFO: Processing buffer {"connection_id":157919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:01:08] local.INFO: IMEI packet received {"connection_id":157919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":157919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:01:09] local.INFO: TCP Data received {"connection_id":158277,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:01:09] local.INFO: Processing buffer {"connection_id":158277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:01:09] local.INFO: IMEI packet received {"connection_id":158277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":158277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:01:11] local.INFO: TCP Data received {"connection_id":158277,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01adb5d38012d0e6bc006e831f0000c00ad31..."} 
[2026-08-19 22:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01adb5d38012d0e6bc006e831f0000c00ad31..."} 
[2026-08-19 22:01:11] local.INFO: Processing buffer {"connection_id":158277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01adb5d38012d0e6bc006e831f0000c00ad31..."} 
[2026-08-19 22:01:11] local.INFO: Packet analysis {"connection_id":158277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01adb"} 
[2026-08-19 22:01:11] local.INFO: Extracted packet for processing {"connection_id":158277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01adb"} 
[2026-08-19 22:01:11] local.INFO: GPS Element Parsed {"raw_longitude":755919808,"raw_latitude":115880432,"longitude_deg":75.5919808,"latitude_deg":11.5880432,"altitude":12,"angle":173,"satellites":49,"speed":30,"hex_longitude":"2d0e6bc0","hex_latitude":"06e831f0","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512184320001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386267119261581312,"note":"Value kept but may cause issues"} 
[2026-08-19 22:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037587162567342080,"note":"Value kept but may cause issues"} 
[2026-08-19 22:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787156979000,"timestamp_ms":1787156979000,"timestamp_seconds":1787156979,"priority":1,"record_length":96,"hex_timestamp":"000001a01adb5d38"} 
[2026-08-19 22:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:01: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-08-19 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 22:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512184320001,"66":27484,"218":206,"2":56576,"24":30,"16":386267119261581312,"45":1037587162567342080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,2,24,16,45]} 
[2026-08-19 22:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512184320001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:01:11] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-19 22:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386267119261581312,"km_value":386267119261581.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037587162567342080,"description":"Unknown IO ID 45"} 
[2026-08-19 22:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512184320001,"power":27484,"unknown_218":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":1037587162567342080}} 
[2026-08-19 22:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":158277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:01:11] local.INFO: GPS data processed {"connection_id":158277,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:01:11] local.INFO: Acknowledgment sent {"connection_id":158277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:01:13] local.INFO: TCP Data received {"connection_id":157919,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:01:13] local.INFO: Processing buffer {"connection_id":157919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:01:13] local.INFO: IMEI packet received {"connection_id":157919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":157919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:01:13] local.INFO: TCP Data received {"connection_id":157919,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 22:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 22:01:13] local.INFO: Processing buffer {"connection_id":157919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 22:01:13] local.INFO: Packet analysis {"connection_id":157919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 22:01:13] local.INFO: Extracted packet for processing {"connection_id":157919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 22:01:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512063744001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787156800000,"timestamp_ms":1787156800000,"timestamp_seconds":1787156800,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad8a200"} 
[2026-08-19 22:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512063744001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512063744001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:01:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:01:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512063744001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":157919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:01:13] local.INFO: GPS data processed {"connection_id":157919,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:01:13] local.INFO: Acknowledgment sent {"connection_id":157919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:01:43] local.INFO: TCP Data received {"connection_id":158277,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01adbaf40012d0e6f4006e81be0000b00a832..."} 
[2026-08-19 22:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01adbaf40012d0e6f4006e81be0000b00a832..."} 
[2026-08-19 22:01:43] local.INFO: Processing buffer {"connection_id":158277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01adbaf40012d0e6f4006e81be0000b00a832..."} 
[2026-08-19 22:01:43] local.INFO: Packet analysis {"connection_id":158277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01adb"} 
[2026-08-19 22:01:43] local.INFO: Extracted packet for processing {"connection_id":158277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01adb"} 
[2026-08-19 22:01:43] local.INFO: GPS Element Parsed {"raw_longitude":755920704,"raw_latitude":115874784,"longitude_deg":75.5920704,"latitude_deg":11.5874784,"altitude":11,"angle":168,"satellites":50,"speed":0,"hex_longitude":"2d0e6f40","hex_latitude":"06e81be0","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512186624001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386267402729422848,"note":"Value kept but may cause issues"} 
[2026-08-19 22:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1039135274936954880,"note":"Value kept but may cause issues"} 
[2026-08-19 22:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787157000000,"timestamp_ms":1787157000000,"timestamp_seconds":1787157000,"priority":1,"record_length":96,"hex_timestamp":"000001a01adbaf40"} 
[2026-08-19 22:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 22:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512186624001,"66":27300,"218":206,"2":56576,"24":0,"16":386267402729422848,"45":1039135274936954880},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,2,24,16,45]} 
[2026-08-19 22:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512186624001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:01:43] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-19 22:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386267402729422848,"km_value":386267402729422.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1039135274936954880,"description":"Unknown IO ID 45"} 
[2026-08-19 22:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512186624001,"power":27300,"unknown_218":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1039135274936954880}} 
[2026-08-19 22:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":158277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:01:43] local.INFO: GPS data processed {"connection_id":158277,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:01:43] local.INFO: Acknowledgment sent {"connection_id":158277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:01:44] local.INFO: TCP Data received {"connection_id":157919,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 22:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 22:01:44] local.INFO: Processing buffer {"connection_id":157919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 22:01:44] local.INFO: Packet analysis {"connection_id":157919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 22:01:44] local.INFO: Extracted packet for processing {"connection_id":157919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 22:01:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512063744001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787156800000,"timestamp_ms":1787156800000,"timestamp_seconds":1787156800,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad8a200"} 
[2026-08-19 22:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512063744001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512063744001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:01:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:01:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512063744001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":157919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:01:45] local.INFO: GPS data processed {"connection_id":157919,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:01:45] local.INFO: Acknowledgment sent {"connection_id":157919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:01:58] local.INFO: TCP Data received {"connection_id":160459,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:01:58] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:01:58] local.INFO: IMEI packet received {"connection_id":160459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":160459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:01:59] local.INFO: TCP Data received {"connection_id":160459,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:01:59] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:01:59] local.INFO: IMEI packet received {"connection_id":160459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":160459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:02:03] local.INFO: TCP Data received {"connection_id":160459,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:02:03] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:02:03] local.INFO: IMEI packet received {"connection_id":160459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":160459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:02:05] local.INFO: TCP Data received {"connection_id":160459,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01adc0148012d0e6f4006e81be0000b00a832..."} 
[2026-08-19 22:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01adc0148012d0e6f4006e81be0000b00a832..."} 
[2026-08-19 22:02:05] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01adc0148012d0e6f4006e81be0000b00a832..."} 
[2026-08-19 22:02:05] local.INFO: Packet analysis {"connection_id":160459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01adc"} 
[2026-08-19 22:02:05] local.INFO: Extracted packet for processing {"connection_id":160459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01adc"} 
[2026-08-19 22:02:05] local.INFO: GPS Element Parsed {"raw_longitude":755920704,"raw_latitude":115874784,"longitude_deg":75.5920704,"latitude_deg":11.5874784,"altitude":11,"angle":168,"satellites":50,"speed":0,"hex_longitude":"2d0e6f40","hex_latitude":"06e81be0","is_valid_coordinates":true} 
[2026-08-19 22:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512192000001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386267402729422848,"note":"Value kept but may cause issues"} 
[2026-08-19 22:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1040120437353996288,"note":"Value kept but may cause issues"} 
[2026-08-19 22:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787157021000,"timestamp_ms":1787157021000,"timestamp_seconds":1787157021,"priority":1,"record_length":96,"hex_timestamp":"000001a01adc0148"} 
[2026-08-19 22:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:02: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-08-19 22:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 22:02:05] 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-08-19 22:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512192000001,"66":27365,"218":206,"2":56576,"24":0,"16":386267402729422848,"45":1040120437353996288},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,2,24,16,45]} 
[2026-08-19 22:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512192000001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:02:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-19 22:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386267402729422848,"km_value":386267402729422.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1040120437353996288,"description":"Unknown IO ID 45"} 
[2026-08-19 22:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512192000001,"power":27365,"unknown_218":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1040120437353996288}} 
[2026-08-19 22:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":160459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:02:05] local.INFO: GPS data processed {"connection_id":160459,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:02:05] local.INFO: Acknowledgment sent {"connection_id":160459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:02:07] local.INFO: TCP Data received {"connection_id":158278,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:02:08] local.INFO: Processing buffer {"connection_id":158278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:02:08] local.INFO: IMEI packet received {"connection_id":158278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":158278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:02:10] local.INFO: TCP Data received {"connection_id":160459,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01adc4798012d0e6f4006e816980011009b31..."} 
[2026-08-19 22:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01adc4798012d0e6f4006e816980011009b31..."} 
[2026-08-19 22:02:10] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01adc4798012d0e6f4006e816980011009b31..."} 
[2026-08-19 22:02:10] local.INFO: Packet analysis {"connection_id":160459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01adc"} 
[2026-08-19 22:02:10] local.INFO: Extracted packet for processing {"connection_id":160459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01adc"} 
[2026-08-19 22:02:10] local.INFO: GPS Element Parsed {"raw_longitude":755920704,"raw_latitude":115873432,"longitude_deg":75.5920704,"latitude_deg":11.5873432,"altitude":17,"angle":155,"satellites":49,"speed":8,"hex_longitude":"2d0e6f40","hex_latitude":"06e81698","is_valid_coordinates":true} 
[2026-08-19 22:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512197376001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386267475743866880,"note":"Value kept but may cause issues"} 
[2026-08-19 22:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1040120437353996288,"note":"Value kept but may cause issues"} 
[2026-08-19 22:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787157039000,"timestamp_ms":1787157039000,"timestamp_seconds":1787157039,"priority":1,"record_length":96,"hex_timestamp":"000001a01adc4798"} 
[2026-08-19 22:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 22:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512197376001,"66":27365,"218":206,"2":56576,"24":8,"16":386267475743866880,"45":1040120437353996288},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,2,24,16,45]} 
[2026-08-19 22:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512197376001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:02:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-19 22:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386267475743866880,"km_value":386267475743866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1040120437353996288,"description":"Unknown IO ID 45"} 
[2026-08-19 22:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512197376001,"power":27365,"unknown_218":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":1040120437353996288}} 
[2026-08-19 22:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":160459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:02:10] local.INFO: GPS data processed {"connection_id":160459,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:02:10] local.INFO: Acknowledgment sent {"connection_id":160459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:02:13] local.INFO: TCP Data received {"connection_id":158278,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:02:13] local.INFO: Processing buffer {"connection_id":158278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:02:13] local.INFO: IMEI packet received {"connection_id":158278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":158278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:02:13] local.INFO: TCP Data received {"connection_id":158278,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 22:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 22:02:13] local.INFO: Processing buffer {"connection_id":158278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ad8a200012d196500071ff1280041014627..."} 
[2026-08-19 22:02:13] local.INFO: Packet analysis {"connection_id":158278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 22:02:13] local.INFO: Extracted packet for processing {"connection_id":158278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ad8"} 
[2026-08-19 22:02:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512063744001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787156800000,"timestamp_ms":1787156800000,"timestamp_seconds":1787156800,"priority":1,"record_length":96,"hex_timestamp":"000001a01ad8a200"} 
[2026-08-19 22:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512063744001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512063744001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:02:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:02:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512063744001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":158278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:02:13] local.INFO: GPS data processed {"connection_id":158278,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:02:13] local.INFO: Acknowledgment sent {"connection_id":158278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:02:41] local.INFO: TCP Data received {"connection_id":160459,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01adc99a0012d0e704006e81068001600a330..."} 
[2026-08-19 22:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01adc99a0012d0e704006e81068001600a330..."} 
[2026-08-19 22:02:41] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01adc99a0012d0e704006e81068001600a330..."} 
[2026-08-19 22:02:41] local.INFO: Packet analysis {"connection_id":160459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01adc"} 
[2026-08-19 22:02:41] local.INFO: Extracted packet for processing {"connection_id":160459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01adc"} 
[2026-08-19 22:02:41] local.INFO: GPS Element Parsed {"raw_longitude":755920960,"raw_latitude":115871848,"longitude_deg":75.592096,"latitude_deg":11.5871848,"altitude":22,"angle":163,"satellites":48,"speed":0,"hex_longitude":"2d0e7040","hex_latitude":"06e81068","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512201984001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386267557348245504,"note":"Value kept but may cause issues"} 
[2026-08-19 22:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1040120437353650176,"note":"Value kept but may cause issues"} 
[2026-08-19 22:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787157060000,"timestamp_ms":1787157060000,"timestamp_seconds":1787157060,"priority":1,"record_length":96,"hex_timestamp":"000001a01adc99a0"} 
[2026-08-19 22:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:02: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-08-19 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 22:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512201984001,"66":27213,"216":206,"2":56576,"24":0,"16":386267557348245504,"45":1040120437353650176},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,2,24,16,45]} 
[2026-08-19 22:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512201984001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:02:41] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-19 22:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386267557348245504,"km_value":386267557348245.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1040120437353650176,"description":"Unknown IO ID 45"} 
[2026-08-19 22:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512201984001,"power":27213,"unknown_216":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1040120437353650176}} 
[2026-08-19 22:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":160459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:02:41] local.INFO: GPS data processed {"connection_id":160459,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:02:41] local.INFO: Acknowledgment sent {"connection_id":160459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:02:44] local.INFO: TCP Data received {"connection_id":158278,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:02:44] local.INFO: Processing buffer {"connection_id":158278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:02:44] local.INFO: Packet analysis {"connection_id":158278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:02:44] local.INFO: Extracted packet for processing {"connection_id":158278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:02:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512140800001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787157101000,"timestamp_ms":1787157101000,"timestamp_seconds":1787157101,"priority":1,"record_length":96,"hex_timestamp":"000001a01add39c8"} 
[2026-08-19 22:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:02:44] 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-08-19 22:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:02:44] 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-08-19 22:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512140800001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512140800001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:02:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:02:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512140800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":158278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:02:44] local.INFO: GPS data processed {"connection_id":158278,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:02:44] local.INFO: Acknowledgment sent {"connection_id":158278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:02:58] local.INFO: TCP Data received {"connection_id":158279,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:02:58] local.INFO: Processing buffer {"connection_id":158279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:02:58] local.INFO: IMEI packet received {"connection_id":158279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":158279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:03:03] local.INFO: TCP Data received {"connection_id":158279,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:03:03] local.INFO: Processing buffer {"connection_id":158279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:03:03] local.INFO: IMEI packet received {"connection_id":158279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":158279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:03:04] local.INFO: TCP Data received {"connection_id":158279,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01adceba8012d0e72c006e808f0001500a932..."} 
[2026-08-19 22:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01adceba8012d0e72c006e808f0001500a932..."} 
[2026-08-19 22:03:04] local.INFO: Processing buffer {"connection_id":158279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01adceba8012d0e72c006e808f0001500a932..."} 
[2026-08-19 22:03:04] local.INFO: Packet analysis {"connection_id":158279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01adc"} 
[2026-08-19 22:03:04] local.INFO: Extracted packet for processing {"connection_id":158279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01adc"} 
[2026-08-19 22:03:04] local.INFO: GPS Element Parsed {"raw_longitude":755921600,"raw_latitude":115869936,"longitude_deg":75.59216,"latitude_deg":11.5869936,"altitude":21,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2d0e72c0","hex_latitude":"06e808f0","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512207360001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386267664722427904,"note":"Value kept but may cause issues"} 
[2026-08-19 22:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1040401912329955328,"note":"Value kept but may cause issues"} 
[2026-08-19 22:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787157081000,"timestamp_ms":1787157081000,"timestamp_seconds":1787157081,"priority":1,"record_length":96,"hex_timestamp":"000001a01adceba8"} 
[2026-08-19 22:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 22:03:04] 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-08-19 22: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-08-19 22:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512207360001,"66":27234,"216":206,"2":56576,"24":0,"16":386267664722427904,"45":1040401912329955328},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,2,24,16,45]} 
[2026-08-19 22:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512207360001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:03:04] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-19 22:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386267664722427904,"km_value":386267664722427.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1040401912329955328,"description":"Unknown IO ID 45"} 
[2026-08-19 22:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512207360001,"power":27234,"unknown_216":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1040401912329955328}} 
[2026-08-19 22:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":158279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:03:04] local.INFO: GPS data processed {"connection_id":158279,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:03:04] local.INFO: Acknowledgment sent {"connection_id":158279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:03:07] local.INFO: TCP Data received {"connection_id":158280,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:03:07] local.INFO: Processing buffer {"connection_id":158280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:03:07] local.INFO: IMEI packet received {"connection_id":158280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":158280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:03:13] local.INFO: TCP Data received {"connection_id":158280,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:03:13] local.INFO: Processing buffer {"connection_id":158280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:03:13] local.INFO: IMEI packet received {"connection_id":158280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":158280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:03:13] local.INFO: TCP Data received {"connection_id":158280,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:03:13] local.INFO: Processing buffer {"connection_id":158280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:03:13] local.INFO: Packet analysis {"connection_id":158280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:03:13] local.INFO: Extracted packet for processing {"connection_id":158280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:03:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512140800001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787157101000,"timestamp_ms":1787157101000,"timestamp_seconds":1787157101,"priority":1,"record_length":96,"hex_timestamp":"000001a01add39c8"} 
[2026-08-19 22:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:03:13] 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-08-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:03:13] 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-08-19 22: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-08-19 22:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512140800001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512140800001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:03:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512140800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":158280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:03:13] local.INFO: GPS data processed {"connection_id":158280,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:03:13] local.INFO: Acknowledgment sent {"connection_id":158280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:03:35] local.INFO: TCP Data received {"connection_id":158279,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ade4b38012d0e84c006e7f3a8000b009531..."} 
[2026-08-19 22:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ade4b38012d0e84c006e7f3a8000b009531..."} 
[2026-08-19 22:03:35] local.INFO: Processing buffer {"connection_id":158279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ade4b38012d0e84c006e7f3a8000b009531..."} 
[2026-08-19 22:03:35] local.INFO: Packet analysis {"connection_id":158279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ade"} 
[2026-08-19 22:03:35] local.INFO: Extracted packet for processing {"connection_id":158279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ade"} 
[2026-08-19 22:03:35] local.INFO: GPS Element Parsed {"raw_longitude":755926208,"raw_latitude":115864488,"longitude_deg":75.5926208,"latitude_deg":11.5864488,"altitude":11,"angle":149,"satellites":49,"speed":7,"hex_longitude":"2d0e84c0","hex_latitude":"06e7f3a8","is_valid_coordinates":true} 
[2026-08-19 22:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512235264001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386268094219157504,"note":"Value kept but may cause issues"} 
[2026-08-19 22:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1045890674373992448,"note":"Value kept but may cause issues"} 
[2026-08-19 22:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787157171000,"timestamp_ms":1787157171000,"timestamp_seconds":1787157171,"priority":1,"record_length":96,"hex_timestamp":"000001a01ade4b38"} 
[2026-08-19 22:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:03:35] 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-08-19 22:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512235264001,"66":27376,"217":206,"2":56576,"24":7,"16":386268094219157504,"45":1045890674373992448},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-08-19 22:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512235264001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:03:35] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-19 22:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386268094219157504,"km_value":386268094219157.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1045890674373992448,"description":"Unknown IO ID 45"} 
[2026-08-19 22:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512235264001,"power":27376,"unknown_217":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":1045890674373992448}} 
[2026-08-19 22:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":158279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:03:35] local.INFO: GPS data processed {"connection_id":158279,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:03:35] local.INFO: Acknowledgment sent {"connection_id":158279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:03:44] local.INFO: TCP Data received {"connection_id":158280,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:03:44] local.INFO: Processing buffer {"connection_id":158280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:03:44] local.INFO: Packet analysis {"connection_id":158280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:03:44] local.INFO: Extracted packet for processing {"connection_id":158280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:03:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512140800001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787157101000,"timestamp_ms":1787157101000,"timestamp_seconds":1787157101,"priority":1,"record_length":96,"hex_timestamp":"000001a01add39c8"} 
[2026-08-19 22:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:03:44] 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-08-19 22:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:03:44] 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-08-19 22:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512140800001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512140800001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:03:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:03:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512140800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":158280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:03:44] local.INFO: GPS data processed {"connection_id":158280,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:03:44] local.INFO: Acknowledgment sent {"connection_id":158280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:03:58] local.INFO: TCP Data received {"connection_id":157920,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:03:58] local.INFO: Processing buffer {"connection_id":157920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:03:58] local.INFO: IMEI packet received {"connection_id":157920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":157920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:04:03] local.INFO: TCP Data received {"connection_id":157920,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:04:03] local.INFO: Processing buffer {"connection_id":157920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:04:03] local.INFO: IMEI packet received {"connection_id":157920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":157920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:04:05] local.INFO: TCP Data received {"connection_id":157920,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ade4f20012d0e850006e7f308000b00a731..."} 
[2026-08-19 22:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ade4f20012d0e850006e7f308000b00a731..."} 
[2026-08-19 22:04:05] local.INFO: Processing buffer {"connection_id":157920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ade4f20012d0e850006e7f308000b00a731..."} 
[2026-08-19 22:04:05] local.INFO: Packet analysis {"connection_id":157920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ade"} 
[2026-08-19 22:04:05] local.INFO: Extracted packet for processing {"connection_id":157920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ade"} 
[2026-08-19 22:04:05] local.INFO: GPS Element Parsed {"raw_longitude":755926272,"raw_latitude":115864328,"longitude_deg":75.5926272,"latitude_deg":11.5864328,"altitude":11,"angle":167,"satellites":49,"speed":7,"hex_longitude":"2d0e8500","hex_latitude":"06e7f308","is_valid_coordinates":true} 
[2026-08-19 22:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512235776001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386268102809092096,"note":"Value kept but may cause issues"} 
[2026-08-19 22:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046172149350639616,"note":"Value kept but may cause issues"} 
[2026-08-19 22:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787157172000,"timestamp_ms":1787157172000,"timestamp_seconds":1787157172,"priority":1,"record_length":96,"hex_timestamp":"000001a01ade4f20"} 
[2026-08-19 22:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:04: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-08-19 22:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 22:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512235776001,"66":27376,"217":206,"2":56576,"24":7,"16":386268102809092096,"45":1046172149350639616},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-08-19 22:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512235776001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:04:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-19 22:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386268102809092096,"km_value":386268102809092.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046172149350639616,"description":"Unknown IO ID 45"} 
[2026-08-19 22:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512235776001,"power":27376,"unknown_217":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":1046172149350639616}} 
[2026-08-19 22:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":157920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:04:05] local.INFO: GPS data processed {"connection_id":157920,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:04:05] local.INFO: Acknowledgment sent {"connection_id":157920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:04:07] local.INFO: TCP Data received {"connection_id":157921,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:04:07] local.INFO: Processing buffer {"connection_id":157921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:04:07] local.INFO: IMEI packet received {"connection_id":157921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":157921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:04:13] local.INFO: TCP Data received {"connection_id":157921,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:04:13] local.INFO: Processing buffer {"connection_id":157921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:04:13] local.INFO: IMEI packet received {"connection_id":157921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":157921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:04:13] local.INFO: TCP Data received {"connection_id":157921,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:04:13] local.INFO: Processing buffer {"connection_id":157921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:04:13] local.INFO: Packet analysis {"connection_id":157921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:04:13] local.INFO: Extracted packet for processing {"connection_id":157921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:04:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512140800001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787157101000,"timestamp_ms":1787157101000,"timestamp_seconds":1787157101,"priority":1,"record_length":96,"hex_timestamp":"000001a01add39c8"} 
[2026-08-19 22:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:04:13] 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-08-19 22:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:04:13] 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-08-19 22:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:04:13] 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-08-19 22:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512140800001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512140800001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:04:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512140800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":157921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:04:14] local.INFO: GPS data processed {"connection_id":157921,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:04:14] local.INFO: Acknowledgment sent {"connection_id":157921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:04:36] local.INFO: TCP Data received {"connection_id":157920,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ade56f0012d0e854006e7f160000a00b831..."} 
[2026-08-19 22:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ade56f0012d0e854006e7f160000a00b831..."} 
[2026-08-19 22:04:36] local.INFO: Processing buffer {"connection_id":157920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ade56f0012d0e854006e7f160000a00b831..."} 
[2026-08-19 22:04:36] local.INFO: Packet analysis {"connection_id":157920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ade"} 
[2026-08-19 22:04:36] local.INFO: Extracted packet for processing {"connection_id":157920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ade"} 
[2026-08-19 22:04:36] local.INFO: GPS Element Parsed {"raw_longitude":755926336,"raw_latitude":115863904,"longitude_deg":75.5926336,"latitude_deg":11.5863904,"altitude":10,"angle":184,"satellites":49,"speed":9,"hex_longitude":"2d0e8540","hex_latitude":"06e7f160","is_valid_coordinates":true} 
[2026-08-19 22:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512236032001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386268124283928576,"note":"Value kept but may cause issues"} 
[2026-08-19 22:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046242518094776320,"note":"Value kept but may cause issues"} 
[2026-08-19 22:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787157174000,"timestamp_ms":1787157174000,"timestamp_seconds":1787157174,"priority":1,"record_length":96,"hex_timestamp":"000001a01ade56f0"} 
[2026-08-19 22:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:04: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-08-19 22:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 22:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512236032001,"66":27343,"217":206,"2":56576,"24":9,"16":386268124283928576,"45":1046242518094776320},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-08-19 22:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512236032001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:04:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-19 22:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386268124283928576,"km_value":386268124283928.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046242518094776320,"description":"Unknown IO ID 45"} 
[2026-08-19 22:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512236032001,"power":27343,"unknown_217":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":1046242518094776320}} 
[2026-08-19 22:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":157920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:04:36] local.INFO: GPS data processed {"connection_id":157920,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:04:36] local.INFO: Acknowledgment sent {"connection_id":157920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:04:45] local.INFO: TCP Data received {"connection_id":157921,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:04:45] local.INFO: Processing buffer {"connection_id":157921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:04:45] local.INFO: Packet analysis {"connection_id":157921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:04:45] local.INFO: Extracted packet for processing {"connection_id":157921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:04:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512140800001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787157101000,"timestamp_ms":1787157101000,"timestamp_seconds":1787157101,"priority":1,"record_length":96,"hex_timestamp":"000001a01add39c8"} 
[2026-08-19 22:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:04:45] 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-08-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:04:45] 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-08-19 22: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-08-19 22:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:04:45] 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-08-19 22:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512140800001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512140800001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:04:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:04:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512140800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":157921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:04:45] local.INFO: GPS data processed {"connection_id":157921,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:04:45] local.INFO: Acknowledgment sent {"connection_id":157921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:04:58] local.INFO: TCP Data received {"connection_id":158281,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:04:58] local.INFO: Processing buffer {"connection_id":158281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:04:58] local.INFO: IMEI packet received {"connection_id":158281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":158281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:04:59] local.INFO: TCP Data received {"connection_id":158281,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:04:59] local.INFO: Processing buffer {"connection_id":158281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:04:59] local.INFO: IMEI packet received {"connection_id":158281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":158281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:05:03] local.INFO: TCP Data received {"connection_id":158281,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:05:03] local.INFO: Processing buffer {"connection_id":158281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:05:03] local.INFO: IMEI packet received {"connection_id":158281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":158281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:05:05] local.INFO: TCP Data received {"connection_id":158281,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ade62a8012d0e85c006e7eda8000a00ab32..."} 
[2026-08-19 22:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ade62a8012d0e85c006e7eda8000a00ab32..."} 
[2026-08-19 22:05:05] local.INFO: Processing buffer {"connection_id":158281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ade62a8012d0e85c006e7eda8000a00ab32..."} 
[2026-08-19 22:05:05] local.INFO: Packet analysis {"connection_id":158281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ade"} 
[2026-08-19 22:05:05] local.INFO: Extracted packet for processing {"connection_id":158281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ade"} 
[2026-08-19 22:05:05] local.INFO: GPS Element Parsed {"raw_longitude":755926464,"raw_latitude":115862952,"longitude_deg":75.5926464,"latitude_deg":11.5862952,"altitude":10,"angle":171,"satellites":50,"speed":15,"hex_longitude":"2d0e85c0","hex_latitude":"06e7eda8","is_valid_coordinates":true} 
[2026-08-19 22:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512236544001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386268171528568832,"note":"Value kept but may cause issues"} 
[2026-08-19 22:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046312886838845440,"note":"Value kept but may cause issues"} 
[2026-08-19 22:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787157177000,"timestamp_ms":1787157177000,"timestamp_seconds":1787157177,"priority":1,"record_length":96,"hex_timestamp":"000001a01ade62a8"} 
[2026-08-19 22:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 22:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512236544001,"66":27321,"217":206,"2":56576,"24":15,"16":386268171528568832,"45":1046312886838845440},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-08-19 22:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512236544001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:05:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-19 22:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386268171528568832,"km_value":386268171528568.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046312886838845440,"description":"Unknown IO ID 45"} 
[2026-08-19 22:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512236544001,"power":27321,"unknown_217":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":1046312886838845440}} 
[2026-08-19 22:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":158281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:05:05] local.INFO: GPS data processed {"connection_id":158281,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:05:05] local.INFO: Acknowledgment sent {"connection_id":158281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:05:13] local.INFO: TCP Data received {"connection_id":159143,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:05:13] local.INFO: Processing buffer {"connection_id":159143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:05:13] local.INFO: IMEI packet received {"connection_id":159143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":159143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:05:18] local.INFO: TCP Data received {"connection_id":159143,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:05:18] local.INFO: Processing buffer {"connection_id":159143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:05:18] local.INFO: IMEI packet received {"connection_id":159143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":159143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:05:18] local.INFO: TCP Data received {"connection_id":159143,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:05:18] local.INFO: Processing buffer {"connection_id":159143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:05:18] local.INFO: Packet analysis {"connection_id":159143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:05:18] local.INFO: Extracted packet for processing {"connection_id":159143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:05:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512140800001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787157101000,"timestamp_ms":1787157101000,"timestamp_seconds":1787157101,"priority":1,"record_length":96,"hex_timestamp":"000001a01add39c8"} 
[2026-08-19 22:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:05:18] 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-08-19 22:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:05:18] 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-08-19 22:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512140800001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512140800001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:05:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:05:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512140800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":159143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:05:18] local.INFO: GPS data processed {"connection_id":159143,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:05:18] local.INFO: Acknowledgment sent {"connection_id":159143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:05:23] local.INFO: TCP Data received {"connection_id":159143,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:05:23] local.INFO: Processing buffer {"connection_id":159143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:05:23] local.INFO: Packet analysis {"connection_id":159143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:05:23] local.INFO: Extracted packet for processing {"connection_id":159143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:05:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512140800001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787157101000,"timestamp_ms":1787157101000,"timestamp_seconds":1787157101,"priority":1,"record_length":96,"hex_timestamp":"000001a01add39c8"} 
[2026-08-19 22:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:05:23] 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-08-19 22:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:05:23] 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-08-19 22:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512140800001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512140800001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:05:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:05:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512140800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":159143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:05:23] local.INFO: GPS data processed {"connection_id":159143,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:05:23] local.INFO: Acknowledgment sent {"connection_id":159143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:05:37] local.INFO: TCP Data received {"connection_id":158281,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ade9d40012d0e8f0006e7cb88000800a030..."} 
[2026-08-19 22:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ade9d40012d0e8f0006e7cb88000800a030..."} 
[2026-08-19 22:05:37] local.INFO: Processing buffer {"connection_id":158281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ade9d40012d0e8f0006e7cb88000800a030..."} 
[2026-08-19 22:05:37] local.INFO: Packet analysis {"connection_id":158281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ade"} 
[2026-08-19 22:05:37] local.INFO: Extracted packet for processing {"connection_id":158281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ade"} 
[2026-08-19 22:05:37] local.INFO: GPS Element Parsed {"raw_longitude":755928832,"raw_latitude":115854216,"longitude_deg":75.5928832,"latitude_deg":11.5854216,"altitude":8,"angle":160,"satellites":48,"speed":29,"hex_longitude":"2d0e8f00","hex_latitude":"06e7cb88","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512237312001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386268609615233024,"note":"Value kept but may cause issues"} 
[2026-08-19 22:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046453624326957056,"note":"Value kept but may cause issues"} 
[2026-08-19 22:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787157192000,"timestamp_ms":1787157192000,"timestamp_seconds":1787157192,"priority":1,"record_length":96,"hex_timestamp":"000001a01ade9d40"} 
[2026-08-19 22:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 22:05:37] 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-08-19 22: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-08-19 22:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512237312001,"66":27343,"217":206,"2":56576,"24":29,"16":386268609615233024,"45":1046453624326957056},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-08-19 22:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512237312001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:05:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-19 22:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386268609615233024,"km_value":386268609615233.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046453624326957056,"description":"Unknown IO ID 45"} 
[2026-08-19 22:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512237312001,"power":27343,"unknown_217":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":1046453624326957056}} 
[2026-08-19 22:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":158281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:05:37] local.INFO: GPS data processed {"connection_id":158281,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:05:37] local.INFO: Acknowledgment sent {"connection_id":158281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:05:58] local.INFO: TCP Data received {"connection_id":160460,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:05:58] local.INFO: Processing buffer {"connection_id":160460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:05:58] local.INFO: IMEI packet received {"connection_id":160460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":160460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:06:03] local.INFO: TCP Data received {"connection_id":160460,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:06:03] local.INFO: Processing buffer {"connection_id":160460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:06:03] local.INFO: IMEI packet received {"connection_id":160460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":160460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:06:08] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:06:08] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:06:08] local.INFO: IMEI packet received {"connection_id":160461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":160461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:06:10] local.INFO: TCP Data received {"connection_id":160460,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01adeef48012d0e978006e7b4b00006009e32..."} 
[2026-08-19 22:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01adeef48012d0e978006e7b4b00006009e32..."} 
[2026-08-19 22:06:10] local.INFO: Processing buffer {"connection_id":160460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01adeef48012d0e978006e7b4b00006009e32..."} 
[2026-08-19 22:06:10] local.INFO: Packet analysis {"connection_id":160460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ade"} 
[2026-08-19 22:06:10] local.INFO: Extracted packet for processing {"connection_id":160460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ade"} 
[2026-08-19 22:06:10] local.INFO: GPS Element Parsed {"raw_longitude":755931008,"raw_latitude":115848368,"longitude_deg":75.5931008,"latitude_deg":11.5848368,"altitude":6,"angle":158,"satellites":50,"speed":7,"hex_longitude":"2d0e9780","hex_latitude":"06e7b4b0","is_valid_coordinates":true} 
[2026-08-19 22:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512241152001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386268914557911040,"note":"Value kept but may cause issues"} 
[2026-08-19 22:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1049057267859294208,"note":"Value kept but may cause issues"} 
[2026-08-19 22:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787157213000,"timestamp_ms":1787157213000,"timestamp_seconds":1787157213,"priority":1,"record_length":96,"hex_timestamp":"000001a01adeef48"} 
[2026-08-19 22:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:06: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-08-19 22:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 22:06:10] 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-08-19 22:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512241152001,"66":27300,"217":206,"2":56576,"24":7,"16":386268914557911040,"45":1049057267859294208},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-08-19 22:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512241152001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:06:10] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-19 22:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386268914557911040,"km_value":386268914557911.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1049057267859294208,"description":"Unknown IO ID 45"} 
[2026-08-19 22:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512241152001,"power":27300,"unknown_217":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":1049057267859294208}} 
[2026-08-19 22:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":160460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:06:10] local.INFO: GPS data processed {"connection_id":160460,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:06:10] local.INFO: Acknowledgment sent {"connection_id":160460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:06:13] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:06:13] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:06:13] local.INFO: IMEI packet received {"connection_id":160461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":160461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:06:13] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:06:13] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:06:13] local.INFO: Packet analysis {"connection_id":160461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:06:13] local.INFO: Extracted packet for processing {"connection_id":160461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:06:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512140800001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787157101000,"timestamp_ms":1787157101000,"timestamp_seconds":1787157101,"priority":1,"record_length":96,"hex_timestamp":"000001a01add39c8"} 
[2026-08-19 22:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:06:13] 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-08-19 22:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:06:13] 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-08-19 22:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512140800001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512140800001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:06:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:06:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512140800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":160461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:06:13] local.INFO: GPS data processed {"connection_id":160461,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:06:13] local.INFO: Acknowledgment sent {"connection_id":160461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:06:44] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:06:44] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:06:44] local.INFO: Packet analysis {"connection_id":160461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:06:44] local.INFO: Extracted packet for processing {"connection_id":160461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512140800001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787157101000,"timestamp_ms":1787157101000,"timestamp_seconds":1787157101,"priority":1,"record_length":96,"hex_timestamp":"000001a01add39c8"} 
[2026-08-19 22:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:06:44] 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-08-19 22:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:06:44] 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-08-19 22:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512140800001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512140800001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:06:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:06:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512140800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":160461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:06:45] local.INFO: GPS data processed {"connection_id":160461,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:06:45] local.INFO: Acknowledgment sent {"connection_id":160461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:06:51] local.INFO: TCP Data received {"connection_id":160460,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae0ef00012d0fc18006e6ab980009007031..."} 
[2026-08-19 22:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae0ef00012d0fc18006e6ab980009007031..."} 
[2026-08-19 22:06:51] local.INFO: Processing buffer {"connection_id":160460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae0ef00012d0fc18006e6ab980009007031..."} 
[2026-08-19 22:06:51] local.INFO: Packet analysis {"connection_id":160460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae0"} 
[2026-08-19 22:06:51] local.INFO: Extracted packet for processing {"connection_id":160460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae0"} 
[2026-08-19 22:06:51] local.INFO: GPS Element Parsed {"raw_longitude":756007296,"raw_latitude":115780504,"longitude_deg":75.6007296,"latitude_deg":11.5780504,"altitude":9,"angle":112,"satellites":49,"speed":41,"hex_longitude":"2d0fc180","hex_latitude":"06e6ab98","is_valid_coordinates":true} 
[2026-08-19 22:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512277760001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386273905309908992,"note":"Value kept but may cause issues"} 
[2026-08-19 22:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1125548092762499072,"note":"Value kept but may cause issues"} 
[2026-08-19 22:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787157344000,"timestamp_ms":1787157344000,"timestamp_seconds":1787157344,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae0ef00"} 
[2026-08-19 22:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:06: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-08-19 22:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 22:06:51] 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-08-19 22:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512277760001,"66":27180,"149":206,"2":56576,"24":41,"16":386273905309908992,"45":1125548092762499072},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,2,24,16,45]} 
[2026-08-19 22:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512277760001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:06:51] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-19 22:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386273905309908992,"km_value":386273905309909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1125548092762499072,"description":"Unknown IO ID 45"} 
[2026-08-19 22:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512277760001,"power":27180,"unknown_149":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":1125548092762499072}} 
[2026-08-19 22:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":160460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:06:51] local.INFO: GPS data processed {"connection_id":160460,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:06:51] local.INFO: Acknowledgment sent {"connection_id":160460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:07:06] local.INFO: TCP Data received {"connection_id":158282,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:07:06] local.INFO: Processing buffer {"connection_id":158282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:07:06] local.INFO: IMEI packet received {"connection_id":158282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":158282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:07:08] local.INFO: TCP Data received {"connection_id":159144,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:07:08] local.INFO: Processing buffer {"connection_id":159144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:07:08] local.INFO: IMEI packet received {"connection_id":159144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":159144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:07:13] local.INFO: TCP Data received {"connection_id":159144,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:07:13] local.INFO: Processing buffer {"connection_id":159144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:07:13] local.INFO: IMEI packet received {"connection_id":159144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":159144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:07:13] local.INFO: TCP Data received {"connection_id":159144,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:07:13] local.INFO: Processing buffer {"connection_id":159144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01add39c8012d196500071ff1280041014629..."} 
[2026-08-19 22:07:13] local.INFO: Packet analysis {"connection_id":159144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:07:13] local.INFO: Extracted packet for processing {"connection_id":159144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01add"} 
[2026-08-19 22:07:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512140800001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787157101000,"timestamp_ms":1787157101000,"timestamp_seconds":1787157101,"priority":1,"record_length":96,"hex_timestamp":"000001a01add39c8"} 
[2026-08-19 22:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:07:13] 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-08-19 22:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:07:13] 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-08-19 22:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512140800001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512140800001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:07:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:07:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512140800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":159144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:07:13] local.INFO: GPS data processed {"connection_id":159144,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:07:13] local.INFO: Acknowledgment sent {"connection_id":159144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:07:44] local.INFO: TCP Data received {"connection_id":159144,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:07:44] local.INFO: Processing buffer {"connection_id":159144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:07:44] local.INFO: Packet analysis {"connection_id":159144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:07:44] local.INFO: Extracted packet for processing {"connection_id":159144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:07:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512217856001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787157402000,"timestamp_ms":1787157402000,"timestamp_seconds":1787157402,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae1d190"} 
[2026-08-19 22:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:07:44] 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-08-19 22:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512217856001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512217856001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:07:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:07:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512217856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":159144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:07:44] local.INFO: GPS data processed {"connection_id":159144,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:07:44] local.INFO: Acknowledgment sent {"connection_id":159144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:07:45] local.INFO: TCP Data received {"connection_id":158282,"ip":"117.224.24.81","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 22:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158282,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 22:07:45] local.INFO: Processing buffer {"connection_id":158282,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 22:07:45] local.INFO: IMEI packet received {"connection_id":158282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":158282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:07:47] local.INFO: TCP Data received {"connection_id":158282,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:07:47] local.INFO: Processing buffer {"connection_id":158282,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 22:07:47] local.INFO: IMEI packet received {"connection_id":158282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":158282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:08:13] local.INFO: TCP Data received {"connection_id":158283,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:08:13] local.INFO: Processing buffer {"connection_id":158283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:08:13] local.INFO: IMEI packet received {"connection_id":158283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":158283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:08:17] local.INFO: TCP Data received {"connection_id":158283,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:08:17] local.INFO: Processing buffer {"connection_id":158283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:08:17] local.INFO: IMEI packet received {"connection_id":158283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":158283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:08:18] local.INFO: TCP Data received {"connection_id":158283,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:08:18] local.INFO: Processing buffer {"connection_id":158283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:08:18] local.INFO: Packet analysis {"connection_id":158283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:08:18] local.INFO: Extracted packet for processing {"connection_id":158283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:08:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 22:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512217856001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787157402000,"timestamp_ms":1787157402000,"timestamp_seconds":1787157402,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae1d190"} 
[2026-08-19 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-08-19 22:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:08:18] 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-08-19 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-08-19 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-08-19 22:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512217856001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512217856001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:08:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:08:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512217856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":158283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:08:18] local.INFO: GPS data processed {"connection_id":158283,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:08:18] local.INFO: Acknowledgment sent {"connection_id":158283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:08:23] local.INFO: TCP Data received {"connection_id":158283,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:08:23] local.INFO: Processing buffer {"connection_id":158283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:08:23] local.INFO: Packet analysis {"connection_id":158283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:08:23] local.INFO: Extracted packet for processing {"connection_id":158283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:08:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512217856001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787157402000,"timestamp_ms":1787157402000,"timestamp_seconds":1787157402,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae1d190"} 
[2026-08-19 22:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:08:23] 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-08-19 22:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512217856001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512217856001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:08:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:08:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512217856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":158283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:08:23] local.INFO: GPS data processed {"connection_id":158283,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:08:23] local.INFO: Acknowledgment sent {"connection_id":158283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:09:08] local.INFO: TCP Data received {"connection_id":160462,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:09:08] local.INFO: Processing buffer {"connection_id":160462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:09:08] local.INFO: IMEI packet received {"connection_id":160462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":160462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:09:13] local.INFO: TCP Data received {"connection_id":160462,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:09:13] local.INFO: Processing buffer {"connection_id":160462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:09:13] local.INFO: IMEI packet received {"connection_id":160462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":160462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:09:13] local.INFO: TCP Data received {"connection_id":160462,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:09:13] local.INFO: Processing buffer {"connection_id":160462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:09:13] local.INFO: Packet analysis {"connection_id":160462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:09:13] local.INFO: Extracted packet for processing {"connection_id":160462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:09:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512217856001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787157402000,"timestamp_ms":1787157402000,"timestamp_seconds":1787157402,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae1d190"} 
[2026-08-19 22:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:09:13] 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-08-19 22:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:09:13] 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-08-19 22:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512217856001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512217856001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:09:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:09:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512217856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":160462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:09:13] local.INFO: GPS data processed {"connection_id":160462,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:09:13] local.INFO: Acknowledgment sent {"connection_id":160462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:09:45] local.INFO: TCP Data received {"connection_id":160462,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:09:45] local.INFO: Processing buffer {"connection_id":160462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:09:45] local.INFO: Packet analysis {"connection_id":160462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:09:45] local.INFO: Extracted packet for processing {"connection_id":160462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:09:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512217856001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787157402000,"timestamp_ms":1787157402000,"timestamp_seconds":1787157402,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae1d190"} 
[2026-08-19 22:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:09:45] 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-08-19 22: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-08-19 22:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:09:45] 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-08-19 22:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512217856001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512217856001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:09:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:09:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512217856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":160462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:09:45] local.INFO: GPS data processed {"connection_id":160462,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:09:45] local.INFO: Acknowledgment sent {"connection_id":160462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:10:08] local.INFO: TCP Data received {"connection_id":159145,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:10:08] local.INFO: Processing buffer {"connection_id":159145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:10:08] local.INFO: IMEI packet received {"connection_id":159145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":159145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:10:13] local.INFO: TCP Data received {"connection_id":159145,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:10:13] local.INFO: Processing buffer {"connection_id":159145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:10:13] local.INFO: IMEI packet received {"connection_id":159145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":159145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:10:13] local.INFO: TCP Data received {"connection_id":159145,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:10:13] local.INFO: Processing buffer {"connection_id":159145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:10:13] local.INFO: Packet analysis {"connection_id":159145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:10:13] local.INFO: Extracted packet for processing {"connection_id":159145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:10:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512217856001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787157402000,"timestamp_ms":1787157402000,"timestamp_seconds":1787157402,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae1d190"} 
[2026-08-19 22:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:10:13] 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-08-19 22:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512217856001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512217856001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:10:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:10:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512217856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":159145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:10:13] local.INFO: GPS data processed {"connection_id":159145,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:10:13] local.INFO: Acknowledgment sent {"connection_id":159145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:10:44] local.INFO: TCP Data received {"connection_id":159145,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:10:44] local.INFO: Processing buffer {"connection_id":159145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:10:44] local.INFO: Packet analysis {"connection_id":159145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:10:44] local.INFO: Extracted packet for processing {"connection_id":159145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:10:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512217856001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787157402000,"timestamp_ms":1787157402000,"timestamp_seconds":1787157402,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae1d190"} 
[2026-08-19 22:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:10:44] 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-08-19 22:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512217856001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512217856001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:10:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:10:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512217856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":159145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:10:44] local.INFO: GPS data processed {"connection_id":159145,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:10:44] local.INFO: Acknowledgment sent {"connection_id":159145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:11:08] local.INFO: TCP Data received {"connection_id":158285,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:11:08] local.INFO: Processing buffer {"connection_id":158285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:11:08] local.INFO: IMEI packet received {"connection_id":158285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":158285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:11:13] local.INFO: TCP Data received {"connection_id":158285,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:11:13] local.INFO: Processing buffer {"connection_id":158285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:11:13] local.INFO: IMEI packet received {"connection_id":158285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":158285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:11:13] local.INFO: TCP Data received {"connection_id":158285,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:11:13] local.INFO: Processing buffer {"connection_id":158285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:11:13] local.INFO: Packet analysis {"connection_id":158285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:11:13] local.INFO: Extracted packet for processing {"connection_id":158285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:11:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512217856001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787157402000,"timestamp_ms":1787157402000,"timestamp_seconds":1787157402,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae1d190"} 
[2026-08-19 22:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:11:13] 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-08-19 22: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-08-19 22:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512217856001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512217856001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:11:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:11:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512217856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":158285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:11:13] local.INFO: GPS data processed {"connection_id":158285,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:11:13] local.INFO: Acknowledgment sent {"connection_id":158285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:11:44] local.INFO: TCP Data received {"connection_id":158285,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:11:44] local.INFO: Processing buffer {"connection_id":158285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:11:44] local.INFO: Packet analysis {"connection_id":158285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:11:44] local.INFO: Extracted packet for processing {"connection_id":158285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:11:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512217856001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787157402000,"timestamp_ms":1787157402000,"timestamp_seconds":1787157402,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae1d190"} 
[2026-08-19 22:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:11:44] 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-08-19 22:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512217856001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512217856001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:11:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:11:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512217856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":158285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:11:45] local.INFO: GPS data processed {"connection_id":158285,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:11:45] local.INFO: Acknowledgment sent {"connection_id":158285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:12:07] local.INFO: TCP Data received {"connection_id":157925,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:12:07] local.INFO: Processing buffer {"connection_id":157925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:12:07] local.INFO: IMEI packet received {"connection_id":157925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":157925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:12:13] local.INFO: TCP Data received {"connection_id":157925,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:12:13] local.INFO: Processing buffer {"connection_id":157925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:12:13] local.INFO: IMEI packet received {"connection_id":157925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":157925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:12:13] local.INFO: TCP Data received {"connection_id":157925,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:12:13] local.INFO: Processing buffer {"connection_id":157925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae1d190012d196500071ff1280041014626..."} 
[2026-08-19 22:12:13] local.INFO: Packet analysis {"connection_id":157925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:12:13] local.INFO: Extracted packet for processing {"connection_id":157925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae1"} 
[2026-08-19 22:12:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512217856001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787157402000,"timestamp_ms":1787157402000,"timestamp_seconds":1787157402,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae1d190"} 
[2026-08-19 22:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:12:13] 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-08-19 22:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512217856001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512217856001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:12:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:12:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512217856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":157925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:12:13] local.INFO: GPS data processed {"connection_id":157925,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:12:13] local.INFO: Acknowledgment sent {"connection_id":157925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:12:38] local.INFO: TCP Data received {"connection_id":157924,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:12:38] local.INFO: Processing buffer {"connection_id":157924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:12:38] local.INFO: IMEI packet received {"connection_id":157924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":157924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:12:42] local.INFO: TCP Data received {"connection_id":157924,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae659b8012d11d0c006e09678000c00aa33..."} 
[2026-08-19 22:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae659b8012d11d0c006e09678000c00aa33..."} 
[2026-08-19 22:12:42] local.INFO: Processing buffer {"connection_id":157924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae659b8012d11d0c006e09678000c00aa33..."} 
[2026-08-19 22:12:42] local.INFO: Packet analysis {"connection_id":157924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:12:42] local.INFO: Extracted packet for processing {"connection_id":157924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:12:42] local.INFO: GPS Element Parsed {"raw_longitude":756142272,"raw_latitude":115381880,"longitude_deg":75.6142272,"latitude_deg":11.538188,"altitude":12,"angle":170,"satellites":51,"speed":51,"hex_longitude":"2d11d0c0","hex_latitude":"06e09678","is_valid_coordinates":true} 
[2026-08-19 22:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512369152001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386295229822533632,"note":"Value kept but may cause issues"} 
[2026-08-19 22:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1282400023434010624,"note":"Value kept but may cause issues"} 
[2026-08-19 22:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787157699000,"timestamp_ms":1787157699000,"timestamp_seconds":1787157699,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae659b8"} 
[2026-08-19 22:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 22:12:42] 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-08-19 22:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":157924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":157924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":157924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512369152001,"66":27321,"1":206,"2":56576,"24":51,"16":386295229822533632,"45":1282400023434010624},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-08-19 22:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512369152001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386295229822533632,"km_value":386295229822533.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1282400023434010624,"description":"Unknown IO ID 45"} 
[2026-08-19 22:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512369152001,"power":27321,"imei":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":1282400023434010624}} 
[2026-08-19 22:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":157924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:12:42] local.INFO: GPS data processed {"connection_id":157924,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:12:42] local.INFO: Acknowledgment sent {"connection_id":157924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:12:44] local.INFO: TCP Data received {"connection_id":157925,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:12:44] local.INFO: Processing buffer {"connection_id":157925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:12:44] local.INFO: Packet analysis {"connection_id":157925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:12:44] local.INFO: Extracted packet for processing {"connection_id":157925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:12:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512294912001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787157703000,"timestamp_ms":1787157703000,"timestamp_seconds":1787157703,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae66958"} 
[2026-08-19 22:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:12:44] 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-08-19 22:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512294912001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512294912001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:12:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:12:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512294912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":157925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:12:44] local.INFO: GPS data processed {"connection_id":157925,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:12:44] local.INFO: Acknowledgment sent {"connection_id":157925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:13:07] local.INFO: TCP Data received {"connection_id":158286,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:13:07] local.INFO: Processing buffer {"connection_id":158286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:13:07] local.INFO: IMEI packet received {"connection_id":158286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":158286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:13:07] local.INFO: TCP Data received {"connection_id":158286,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:13:07] local.INFO: Processing buffer {"connection_id":158286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:13:07] local.INFO: IMEI packet received {"connection_id":158286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":158286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:13:10] local.INFO: TCP Data received {"connection_id":158286,"ip":"117.224.24.81","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a01a..."} 
[2026-08-19 22:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158286,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a01a..."} 
[2026-08-19 22:13:10] local.INFO: Processing buffer {"connection_id":158286,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a01a..."} 
[2026-08-19 22:13:10] local.INFO: IMEI packet received {"connection_id":158286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":158286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:13:12] local.INFO: TCP Data received {"connection_id":158286,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae69068012d11e1c006e04f18000f00a333..."} 
[2026-08-19 22:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae69068012d11e1c006e04f18000f00a333..."} 
[2026-08-19 22:13:12] local.INFO: Processing buffer {"connection_id":158286,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a01ae67510012d11d74006e07390000d00a533..."} 
[2026-08-19 22:13:12] local.INFO: Packet analysis {"connection_id":158286,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:13:12] local.INFO: Extracted packet for processing {"connection_id":158286,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:13:12] local.INFO: GPS Element Parsed {"raw_longitude":756143936,"raw_latitude":115372944,"longitude_deg":75.6143936,"latitude_deg":11.5372944,"altitude":13,"angle":165,"satellites":51,"speed":53,"hex_longitude":"2d11d740","hex_latitude":"06e07390","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512370944001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386295672204165120,"note":"Value kept but may cause issues"} 
[2026-08-19 22:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1283737029570885632,"note":"Value kept but may cause issues"} 
[2026-08-19 22:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787157706000,"timestamp_ms":1787157706000,"timestamp_seconds":1787157706,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae67510"} 
[2026-08-19 22:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 22:13:12] 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-08-19 22: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-08-19 22:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512370944001,"66":27300,"1":206,"2":56576,"24":53,"16":386295672204165120,"45":1283737029570885632},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-08-19 22:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512370944001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386295672204165120,"km_value":386295672204165.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1283737029570885632,"description":"Unknown IO ID 45"} 
[2026-08-19 22:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512370944001,"power":27300,"imei":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":1283737029570885632}} 
[2026-08-19 22:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":158286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:13:12] local.INFO: GPS data processed {"connection_id":158286,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:13:12] local.INFO: Acknowledgment sent {"connection_id":158286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:13:12] local.INFO: Packet analysis {"connection_id":158286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:13:12] local.INFO: Extracted packet for processing {"connection_id":158286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:13:12] local.INFO: GPS Element Parsed {"raw_longitude":756146624,"raw_latitude":115363608,"longitude_deg":75.6146624,"latitude_deg":11.5363608,"altitude":15,"angle":163,"satellites":51,"speed":55,"hex_longitude":"2d11e1c0","hex_latitude":"06e04f18","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512372736001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386296140355600384,"note":"Value kept but may cause issues"} 
[2026-08-19 22:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1285566616917217280,"note":"Value kept but may cause issues"} 
[2026-08-19 22:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787157713000,"timestamp_ms":1787157713000,"timestamp_seconds":1787157713,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae69068"} 
[2026-08-19 22:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 22:13:12] 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-08-19 22: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-08-19 22:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512372736001,"66":27300,"1":206,"2":56576,"24":55,"16":386296140355600384,"45":1285566616917217280},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-08-19 22:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512372736001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386296140355600384,"km_value":386296140355600.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1285566616917217280,"description":"Unknown IO ID 45"} 
[2026-08-19 22:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512372736001,"power":27300,"imei":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1285566616917217280}} 
[2026-08-19 22:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":158286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:13:12] local.INFO: GPS data processed {"connection_id":158286,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:13:12] local.INFO: Acknowledgment sent {"connection_id":158286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:13:12] local.INFO: TCP Data received {"connection_id":160464,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:13:12] local.INFO: Processing buffer {"connection_id":160464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:13:12] local.INFO: IMEI packet received {"connection_id":160464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":160464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:13:13] local.INFO: TCP Data received {"connection_id":158286,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae6abc0012d11ecc006e02b10001100a333..."} 
[2026-08-19 22:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae6abc0012d11ecc006e02b10001100a333..."} 
[2026-08-19 22:13:13] local.INFO: Processing buffer {"connection_id":158286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae6abc0012d11ecc006e02b10001100a333..."} 
[2026-08-19 22:13:13] local.INFO: Packet analysis {"connection_id":158286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:13:13] local.INFO: Extracted packet for processing {"connection_id":158286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:13:13] local.INFO: GPS Element Parsed {"raw_longitude":756149440,"raw_latitude":115354384,"longitude_deg":75.614944,"latitude_deg":11.5354384,"altitude":17,"angle":163,"satellites":51,"speed":55,"hex_longitude":"2d11ecc0","hex_latitude":"06e02b10","is_valid_coordinates":true} 
[2026-08-19 22:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512374528001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386296608507035648,"note":"Value kept but may cause issues"} 
[2026-08-19 22:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1288522104170289152,"note":"Value kept but may cause issues"} 
[2026-08-19 22:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787157720000,"timestamp_ms":1787157720000,"timestamp_seconds":1787157720,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae6abc0"} 
[2026-08-19 22:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:13: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-08-19 22:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 22:13:13] 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-08-19 22:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512374528001,"66":27343,"1":206,"2":56576,"24":55,"16":386296608507035648,"45":1288522104170289152},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-08-19 22:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512374528001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386296608507035648,"km_value":386296608507035.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1288522104170289152,"description":"Unknown IO ID 45"} 
[2026-08-19 22:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512374528001,"power":27343,"imei":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1288522104170289152}} 
[2026-08-19 22:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":158286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:13:13] local.INFO: GPS data processed {"connection_id":158286,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:13:13] local.INFO: Acknowledgment sent {"connection_id":158286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:13:18] local.INFO: TCP Data received {"connection_id":160464,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:13:18] local.INFO: Processing buffer {"connection_id":160464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:13:18] local.INFO: IMEI packet received {"connection_id":160464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":160464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:13:18] local.INFO: TCP Data received {"connection_id":160464,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:13:18] local.INFO: Processing buffer {"connection_id":160464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:13:18] local.INFO: Packet analysis {"connection_id":160464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:13:18] local.INFO: Extracted packet for processing {"connection_id":160464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:13:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512294912001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787157703000,"timestamp_ms":1787157703000,"timestamp_seconds":1787157703,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae66958"} 
[2026-08-19 22:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:13:18] 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-08-19 22:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512294912001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512294912001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:13:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:13:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512294912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":160464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:13:18] local.INFO: GPS data processed {"connection_id":160464,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:13:18] local.INFO: Acknowledgment sent {"connection_id":160464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:13:23] local.INFO: TCP Data received {"connection_id":160464,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:13:23] local.INFO: Processing buffer {"connection_id":160464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:13:23] local.INFO: Packet analysis {"connection_id":160464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:13:23] local.INFO: Extracted packet for processing {"connection_id":160464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512294912001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787157703000,"timestamp_ms":1787157703000,"timestamp_seconds":1787157703,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae66958"} 
[2026-08-19 22:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:13:23] 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-08-19 22:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512294912001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512294912001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:13:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:13:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512294912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":160464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:13:23] local.INFO: GPS data processed {"connection_id":160464,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:13:23] local.INFO: Acknowledgment sent {"connection_id":160464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:13:58] local.INFO: TCP Data received {"connection_id":157926,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:13:58] local.INFO: Processing buffer {"connection_id":157926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:13:58] local.INFO: IMEI packet received {"connection_id":157926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":157926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:14:01] local.INFO: TCP Data received {"connection_id":157926,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:14:01] local.INFO: Processing buffer {"connection_id":157926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:14:01] local.INFO: IMEI packet received {"connection_id":157926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":157926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:14:04] local.INFO: TCP Data received {"connection_id":157926,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae6c330012d11f70006e00978000f00a333..."} 
[2026-08-19 22:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae6c330012d11f70006e00978000f00a333..."} 
[2026-08-19 22:14:04] local.INFO: Processing buffer {"connection_id":157926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae6c330012d11f70006e00978000f00a333..."} 
[2026-08-19 22:14:04] local.INFO: Packet analysis {"connection_id":157926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:14:04] local.INFO: Extracted packet for processing {"connection_id":157926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:14:04] local.INFO: GPS Element Parsed {"raw_longitude":756152064,"raw_latitude":115345784,"longitude_deg":75.6152064,"latitude_deg":11.5345784,"altitude":15,"angle":163,"satellites":51,"speed":62,"hex_longitude":"2d11f700","hex_latitude":"06e00978","is_valid_coordinates":true} 
[2026-08-19 22:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512376320001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386297042298732544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1291618328911745024,"note":"Value kept but may cause issues"} 
[2026-08-19 22:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787157726000,"timestamp_ms":1787157726000,"timestamp_seconds":1787157726,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae6c330"} 
[2026-08-19 22:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:14: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-08-19 22:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 22:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512376320001,"66":27332,"1":206,"2":56576,"24":62,"16":386297042298732544,"45":1291618328911745024},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-08-19 22:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512376320001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386297042298732544,"km_value":386297042298732.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1291618328911745024,"description":"Unknown IO ID 45"} 
[2026-08-19 22:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512376320001,"power":27332,"imei":206,"power_alt":56576,"ignition":62,"odometer":null,"unknown_45":1291618328911745024}} 
[2026-08-19 22:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":157926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:14:04] local.INFO: GPS data processed {"connection_id":157926,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:14:04] local.INFO: Acknowledgment sent {"connection_id":157926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:14:07] local.INFO: TCP Data received {"connection_id":157926,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae6daa0012d12008006dfe718000e00a633..."} 
[2026-08-19 22:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae6daa0012d12008006dfe718000e00a633..."} 
[2026-08-19 22:14:07] local.INFO: Processing buffer {"connection_id":157926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae6daa0012d12008006dfe718000e00a633..."} 
[2026-08-19 22:14:07] local.INFO: Packet analysis {"connection_id":157926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:14:07] local.INFO: Extracted packet for processing {"connection_id":157926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756154496,"raw_latitude":115336984,"longitude_deg":75.6154496,"latitude_deg":11.5336984,"altitude":14,"angle":166,"satellites":51,"speed":59,"hex_longitude":"2d120080","hex_latitude":"06dfe718","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512377856001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386297484680364032,"note":"Value kept but may cause issues"} 
[2026-08-19 22:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1294503447420827648,"note":"Value kept but may cause issues"} 
[2026-08-19 22:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787157732000,"timestamp_ms":1787157732000,"timestamp_seconds":1787157732,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae6daa0"} 
[2026-08-19 22:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:14: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-08-19 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 22:14:07] 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-08-19 22: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-08-19 22:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512377856001,"66":27267,"1":206,"2":56576,"24":59,"16":386297484680364032,"45":1294503447420827648},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-08-19 22:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512377856001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386297484680364032,"km_value":386297484680364.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1294503447420827648,"description":"Unknown IO ID 45"} 
[2026-08-19 22:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512377856001,"power":27267,"imei":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1294503447420827648}} 
[2026-08-19 22:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":157926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:14:07] local.INFO: GPS data processed {"connection_id":157926,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:14:07] local.INFO: Acknowledgment sent {"connection_id":157926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:14:07] local.INFO: TCP Data received {"connection_id":158287,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:14:07] local.INFO: Processing buffer {"connection_id":158287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:14:07] local.INFO: IMEI packet received {"connection_id":158287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":158287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:14:13] local.INFO: TCP Data received {"connection_id":158287,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:14:13] local.INFO: Processing buffer {"connection_id":158287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:14:13] local.INFO: IMEI packet received {"connection_id":158287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":158287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:14:13] local.INFO: TCP Data received {"connection_id":158287,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:14:13] local.INFO: Processing buffer {"connection_id":158287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:14:13] local.INFO: Packet analysis {"connection_id":158287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:14:13] local.INFO: Extracted packet for processing {"connection_id":158287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:14:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512294912001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787157703000,"timestamp_ms":1787157703000,"timestamp_seconds":1787157703,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae66958"} 
[2026-08-19 22:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:14:13] 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-08-19 22:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512294912001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512294912001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:14:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:14:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512294912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":158287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:14:13] local.INFO: GPS data processed {"connection_id":158287,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:14:13] local.INFO: Acknowledgment sent {"connection_id":158287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:14:44] local.INFO: TCP Data received {"connection_id":158287,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:14:44] local.INFO: Processing buffer {"connection_id":158287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:14:44] local.INFO: Packet analysis {"connection_id":158287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:14:44] local.INFO: Extracted packet for processing {"connection_id":158287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:14:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512294912001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787157703000,"timestamp_ms":1787157703000,"timestamp_seconds":1787157703,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae66958"} 
[2026-08-19 22:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:14:44] 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-08-19 22:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512294912001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512294912001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:14:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:14:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512294912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":158287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:14:44] local.INFO: GPS data processed {"connection_id":158287,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:14:44] local.INFO: Acknowledgment sent {"connection_id":158287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:14:51] local.INFO: TCP Data received {"connection_id":157926,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae83e18012d12510006de88c0000b00a132..."} 
[2026-08-19 22:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae83e18012d12510006de88c0000b00a132..."} 
[2026-08-19 22:14:51] local.INFO: Processing buffer {"connection_id":157926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae83e18012d12510006de88c0000b00a132..."} 
[2026-08-19 22:14:51] local.INFO: Packet analysis {"connection_id":157926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae8"} 
[2026-08-19 22:14:51] local.INFO: Extracted packet for processing {"connection_id":157926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae8"} 
[2026-08-19 22:14:51] local.INFO: GPS Element Parsed {"raw_longitude":756175104,"raw_latitude":115247296,"longitude_deg":75.6175104,"latitude_deg":11.5247296,"altitude":11,"angle":161,"satellites":50,"speed":7,"hex_longitude":"2d125100","hex_latitude":"06de88c0","is_valid_coordinates":true} 
[2026-08-19 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-08-19 22:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512397312001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386301951446351872,"note":"Value kept but may cause issues"} 
[2026-08-19 22:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1318780664137844736,"note":"Value kept but may cause issues"} 
[2026-08-19 22:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787157823000,"timestamp_ms":1787157823000,"timestamp_seconds":1787157823,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae83e18"} 
[2026-08-19 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-08-19 22:14: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-08-19 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 22:14:51] 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-08-19 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-08-19 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-08-19 22:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":157926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":157926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":157926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512397312001,"66":27300,"1":206,"2":56576,"24":7,"16":386301951446351872,"45":1318780664137844736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-08-19 22:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512397312001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386301951446351872,"km_value":386301951446351.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1318780664137844736,"description":"Unknown IO ID 45"} 
[2026-08-19 22:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512397312001,"power":27300,"imei":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":1318780664137844736}} 
[2026-08-19 22:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":157926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:14:51] local.INFO: GPS data processed {"connection_id":157926,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:14:51] local.INFO: Acknowledgment sent {"connection_id":157926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:14:58] local.INFO: TCP Data received {"connection_id":159146,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:14:58] local.INFO: Processing buffer {"connection_id":159146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:14:58] local.INFO: IMEI packet received {"connection_id":159146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":159146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:15:00] local.INFO: TCP Data received {"connection_id":159146,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:15:00] local.INFO: Processing buffer {"connection_id":159146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:15:00] local.INFO: IMEI packet received {"connection_id":159146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":159146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:15:02] local.INFO: TCP Data received {"connection_id":159146,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae85588012d12540006de82a8000d009533..."} 
[2026-08-19 22:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae85588012d12540006de82a8000d009533..."} 
[2026-08-19 22:15:02] local.INFO: Processing buffer {"connection_id":159146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae85588012d12540006de82a8000d009533..."} 
[2026-08-19 22:15:02] local.INFO: Packet analysis {"connection_id":159146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae8"} 
[2026-08-19 22:15:02] local.INFO: Extracted packet for processing {"connection_id":159146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae8"} 
[2026-08-19 22:15:02] local.INFO: GPS Element Parsed {"raw_longitude":756175872,"raw_latitude":115245736,"longitude_deg":75.6175872,"latitude_deg":11.5245736,"altitude":13,"angle":149,"satellites":51,"speed":15,"hex_longitude":"2d125400","hex_latitude":"06de82a8","is_valid_coordinates":true} 
[2026-08-19 22:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512402688001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386302037345697792,"note":"Value kept but may cause issues"} 
[2026-08-19 22:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1319836195299573760,"note":"Value kept but may cause issues"} 
[2026-08-19 22:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787157829000,"timestamp_ms":1787157829000,"timestamp_seconds":1787157829,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae85588"} 
[2026-08-19 22:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:15: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-08-19 22:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 22:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512402688001,"66":27213,"1":206,"2":56576,"24":15,"16":386302037345697792,"45":1319836195299573760},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-08-19 22:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512402688001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386302037345697792,"km_value":386302037345697.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1319836195299573760,"description":"Unknown IO ID 45"} 
[2026-08-19 22:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512402688001,"power":27213,"imei":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":1319836195299573760}} 
[2026-08-19 22:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":159146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:15:02] local.INFO: GPS data processed {"connection_id":159146,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:15:02] local.INFO: Acknowledgment sent {"connection_id":159146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:15:07] local.INFO: TCP Data received {"connection_id":160465,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:15:07] local.INFO: Processing buffer {"connection_id":160465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:15:07] local.INFO: IMEI packet received {"connection_id":160465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":160465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:15:12] local.INFO: TCP Data received {"connection_id":160465,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:15:12] local.INFO: Processing buffer {"connection_id":160465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:15:12] local.INFO: IMEI packet received {"connection_id":160465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":160465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:15:13] local.INFO: TCP Data received {"connection_id":160465,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:15:13] local.INFO: Processing buffer {"connection_id":160465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:15:13] local.INFO: Packet analysis {"connection_id":160465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:15:13] local.INFO: Extracted packet for processing {"connection_id":160465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:15:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512294912001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787157703000,"timestamp_ms":1787157703000,"timestamp_seconds":1787157703,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae66958"} 
[2026-08-19 22:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:15:13] 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-08-19 22:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512294912001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512294912001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:15:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512294912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":160465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:15:13] local.INFO: GPS data processed {"connection_id":160465,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:15:13] local.INFO: Acknowledgment sent {"connection_id":160465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:15:33] local.INFO: TCP Data received {"connection_id":159146,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae86140012d12560006de7e20000d00a433..."} 
[2026-08-19 22:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae86140012d12560006de7e20000d00a433..."} 
[2026-08-19 22:15:33] local.INFO: Processing buffer {"connection_id":159146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae86140012d12560006de7e20000d00a433..."} 
[2026-08-19 22:15:33] local.INFO: Packet analysis {"connection_id":159146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae8"} 
[2026-08-19 22:15:33] local.INFO: Extracted packet for processing {"connection_id":159146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae8"} 
[2026-08-19 22:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756176384,"raw_latitude":115244576,"longitude_deg":75.6176384,"latitude_deg":11.5244576,"altitude":13,"angle":164,"satellites":51,"speed":19,"hex_longitude":"2d125600","hex_latitude":"06de7e20","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512404224001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386302097475239936,"note":"Value kept but may cause issues"} 
[2026-08-19 22:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1320680620229306368,"note":"Value kept but may cause issues"} 
[2026-08-19 22:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787157832000,"timestamp_ms":1787157832000,"timestamp_seconds":1787157832,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae86140"} 
[2026-08-19 22:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 22:15:33] 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-08-19 22: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-08-19 22:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512404224001,"66":27300,"1":206,"2":56576,"24":19,"16":386302097475239936,"45":1320680620229306368},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-08-19 22:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512404224001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386302097475239936,"km_value":386302097475239.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1320680620229306368,"description":"Unknown IO ID 45"} 
[2026-08-19 22:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512404224001,"power":27300,"imei":206,"power_alt":56576,"ignition":19,"odometer":null,"unknown_45":1320680620229306368}} 
[2026-08-19 22:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":159146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:15:33] local.INFO: GPS data processed {"connection_id":159146,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:15:33] local.INFO: Acknowledgment sent {"connection_id":159146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:15:44] local.INFO: TCP Data received {"connection_id":160465,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:15:44] local.INFO: Processing buffer {"connection_id":160465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:15:44] local.INFO: Packet analysis {"connection_id":160465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:15:44] local.INFO: Extracted packet for processing {"connection_id":160465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:15:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512294912001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787157703000,"timestamp_ms":1787157703000,"timestamp_seconds":1787157703,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae66958"} 
[2026-08-19 22:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:15:44] 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-08-19 22:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512294912001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512294912001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:15:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:15:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512294912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":160465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:15:45] local.INFO: GPS data processed {"connection_id":160465,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:15:45] local.INFO: Acknowledgment sent {"connection_id":160465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:15:58] local.INFO: TCP Data received {"connection_id":159147,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:15:58] local.INFO: Processing buffer {"connection_id":159147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:15:58] local.INFO: IMEI packet received {"connection_id":159147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":159147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:16:00] local.INFO: TCP Data received {"connection_id":159147,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:16:00] local.INFO: Processing buffer {"connection_id":159147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:16:00] local.INFO: IMEI packet received {"connection_id":159147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":159147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:16:03] local.INFO: TCP Data received {"connection_id":159147,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:16:03] local.INFO: Processing buffer {"connection_id":159147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:16:03] local.INFO: IMEI packet received {"connection_id":159147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":159147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:16:04] local.INFO: TCP Data received {"connection_id":159147,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae89020012d125d0006de5bb0000e00a732..."} 
[2026-08-19 22:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae89020012d125d0006de5bb0000e00a732..."} 
[2026-08-19 22:16:04] local.INFO: Processing buffer {"connection_id":159147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae89020012d125d0006de5bb0000e00a732..."} 
[2026-08-19 22:16:04] local.INFO: Packet analysis {"connection_id":159147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae8"} 
[2026-08-19 22:16:04] local.INFO: Extracted packet for processing {"connection_id":159147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae8"} 
[2026-08-19 22:16:04] local.INFO: GPS Element Parsed {"raw_longitude":756178176,"raw_latitude":115235760,"longitude_deg":75.6178176,"latitude_deg":11.523576,"altitude":14,"angle":167,"satellites":50,"speed":39,"hex_longitude":"2d125d00","hex_latitude":"06de5bb0","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512404992001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386302535561904128,"note":"Value kept but may cause issues"} 
[2026-08-19 22:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1321243570182430720,"note":"Value kept but may cause issues"} 
[2026-08-19 22:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787157844000,"timestamp_ms":1787157844000,"timestamp_seconds":1787157844,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae89020"} 
[2026-08-19 22:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 22:16:04] 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-08-19 22: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-08-19 22:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512404992001,"66":27245,"1":206,"2":56576,"24":39,"16":386302535561904128,"45":1321243570182430720},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-08-19 22:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512404992001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386302535561904128,"km_value":386302535561904.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1321243570182430720,"description":"Unknown IO ID 45"} 
[2026-08-19 22:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512404992001,"power":27245,"imei":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":1321243570182430720}} 
[2026-08-19 22:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":159147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:16:04] local.INFO: GPS data processed {"connection_id":159147,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:16:04] local.INFO: Acknowledgment sent {"connection_id":159147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:16:08] local.INFO: TCP Data received {"connection_id":160466,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:16:08] local.INFO: Processing buffer {"connection_id":160466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:16:08] local.INFO: IMEI packet received {"connection_id":160466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":160466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:16:10] local.INFO: TCP Data received {"connection_id":159147,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae8b348012d12640006de3818000e00aa33..."} 
[2026-08-19 22:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae8b348012d12640006de3818000e00aa33..."} 
[2026-08-19 22:16:10] local.INFO: Processing buffer {"connection_id":159147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae8b348012d12640006de3818000e00aa33..."} 
[2026-08-19 22:16:10] local.INFO: Packet analysis {"connection_id":159147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae8"} 
[2026-08-19 22:16:10] local.INFO: Extracted packet for processing {"connection_id":159147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae8"} 
[2026-08-19 22:16:10] local.INFO: GPS Element Parsed {"raw_longitude":756179968,"raw_latitude":115226648,"longitude_deg":75.6179968,"latitude_deg":11.5226648,"altitude":14,"angle":170,"satellites":51,"speed":40,"hex_longitude":"2d126400","hex_latitude":"06de3818","is_valid_coordinates":true} 
[2026-08-19 22:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512408064001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386302986533470208,"note":"Value kept but may cause issues"} 
[2026-08-19 22:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1323213895017148416,"note":"Value kept but may cause issues"} 
[2026-08-19 22:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787157853000,"timestamp_ms":1787157853000,"timestamp_seconds":1787157853,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae8b348"} 
[2026-08-19 22:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:16: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-08-19 22:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 22:16:10] 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-08-19 22:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512408064001,"66":27234,"1":206,"2":56576,"24":40,"16":386302986533470208,"45":1323213895017148416},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-08-19 22:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512408064001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386302986533470208,"km_value":386302986533470.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1323213895017148416,"description":"Unknown IO ID 45"} 
[2026-08-19 22:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512408064001,"power":27234,"imei":206,"power_alt":56576,"ignition":40,"odometer":null,"unknown_45":1323213895017148416}} 
[2026-08-19 22:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":159147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:16:10] local.INFO: GPS data processed {"connection_id":159147,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:16:10] local.INFO: Acknowledgment sent {"connection_id":159147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:16:12] local.INFO: TCP Data received {"connection_id":160466,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:16:12] local.INFO: Processing buffer {"connection_id":160466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:16:12] local.INFO: IMEI packet received {"connection_id":160466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":160466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:16:13] local.INFO: TCP Data received {"connection_id":160466,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:16:13] local.INFO: Processing buffer {"connection_id":160466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:16:13] local.INFO: Packet analysis {"connection_id":160466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:16:13] local.INFO: Extracted packet for processing {"connection_id":160466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:16:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512294912001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787157703000,"timestamp_ms":1787157703000,"timestamp_seconds":1787157703,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae66958"} 
[2026-08-19 22:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:16:13] 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-08-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512294912001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512294912001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:16:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:16:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512294912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":160466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:16:13] local.INFO: GPS data processed {"connection_id":160466,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:16:13] local.INFO: Acknowledgment sent {"connection_id":160466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:16:41] local.INFO: TCP Data received {"connection_id":159147,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aea12d8012d12fdc006dca480000d009432..."} 
[2026-08-19 22:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aea12d8012d12fdc006dca480000d009432..."} 
[2026-08-19 22:16:41] local.INFO: Processing buffer {"connection_id":159147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aea12d8012d12fdc006dca480000d009432..."} 
[2026-08-19 22:16:41] local.INFO: Packet analysis {"connection_id":159147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aea"} 
[2026-08-19 22:16:41] local.INFO: Extracted packet for processing {"connection_id":159147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aea"} 
[2026-08-19 22:16:41] local.INFO: GPS Element Parsed {"raw_longitude":756219328,"raw_latitude":115123328,"longitude_deg":75.6219328,"latitude_deg":11.5123328,"altitude":13,"angle":148,"satellites":50,"speed":51,"hex_longitude":"2d12fdc0","hex_latitude":"06dca480","is_valid_coordinates":true} 
[2026-08-19 22:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512431872001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386308411077165056,"note":"Value kept but may cause issues"} 
[2026-08-19 22:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1363112972939014144,"note":"Value kept but may cause issues"} 
[2026-08-19 22:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787157943000,"timestamp_ms":1787157943000,"timestamp_seconds":1787157943,"priority":1,"record_length":96,"hex_timestamp":"000001a01aea12d8"} 
[2026-08-19 22:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 22:16:41] 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-08-19 22:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512431872001,"66":27300,"126":206,"2":56576,"24":51,"16":386308411077165056,"45":1363112972939014144},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,2,24,16,45]} 
[2026-08-19 22:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512431872001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:16:41] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-19 22:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386308411077165056,"km_value":386308411077165.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1363112972939014144,"description":"Unknown IO ID 45"} 
[2026-08-19 22:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512431872001,"power":27300,"unknown_126":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":1363112972939014144}} 
[2026-08-19 22:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":159147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:16:41] local.INFO: GPS data processed {"connection_id":159147,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:16:41] local.INFO: Acknowledgment sent {"connection_id":159147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:16:44] local.INFO: TCP Data received {"connection_id":160466,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:16:44] local.INFO: Processing buffer {"connection_id":160466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:16:44] local.INFO: Packet analysis {"connection_id":160466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:16:44] local.INFO: Extracted packet for processing {"connection_id":160466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:16:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512294912001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787157703000,"timestamp_ms":1787157703000,"timestamp_seconds":1787157703,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae66958"} 
[2026-08-19 22:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:16:44] 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-08-19 22:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512294912001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512294912001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:16:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:16:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512294912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":160466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:16:44] local.INFO: GPS data processed {"connection_id":160466,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:16:44] local.INFO: Acknowledgment sent {"connection_id":160466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:16:58] local.INFO: TCP Data received {"connection_id":157927,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:16:58] local.INFO: Processing buffer {"connection_id":157927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:16:58] local.INFO: IMEI packet received {"connection_id":157927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":157927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:17:01] local.INFO: TCP Data received {"connection_id":157927,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:17:01] local.INFO: Processing buffer {"connection_id":157927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:17:01] local.INFO: IMEI packet received {"connection_id":157927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":157927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:17:03] local.INFO: TCP Data received {"connection_id":157927,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:17:03] local.INFO: Processing buffer {"connection_id":157927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:17:03] local.INFO: IMEI packet received {"connection_id":157927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":157927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:17:04] local.INFO: TCP Data received {"connection_id":157927,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aea2e30012d13114006dc86a0000c009231..."} 
[2026-08-19 22:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aea2e30012d13114006dc86a0000c009231..."} 
[2026-08-19 22:17:04] local.INFO: Processing buffer {"connection_id":157927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aea2e30012d13114006dc86a0000c009231..."} 
[2026-08-19 22:17:04] local.INFO: Packet analysis {"connection_id":157927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aea"} 
[2026-08-19 22:17:04] local.INFO: Extracted packet for processing {"connection_id":157927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aea"} 
[2026-08-19 22:17:04] local.INFO: GPS Element Parsed {"raw_longitude":756224320,"raw_latitude":115115680,"longitude_deg":75.622432,"latitude_deg":11.511568,"altitude":12,"angle":146,"satellites":49,"speed":55,"hex_longitude":"2d131140","hex_latitude":"06dc86a0","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512433408001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386308849163829248,"note":"Value kept but may cause issues"} 
[2026-08-19 22:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1368460997494603776,"note":"Value kept but may cause issues"} 
[2026-08-19 22:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787157950000,"timestamp_ms":1787157950000,"timestamp_seconds":1787157950,"priority":1,"record_length":96,"hex_timestamp":"000001a01aea2e30"} 
[2026-08-19 22:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 22:17:04] 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-08-19 22: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-08-19 22:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512433408001,"66":27332,"126":206,"2":56576,"24":55,"16":386308849163829248,"45":1368460997494603776},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,2,24,16,45]} 
[2026-08-19 22:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512433408001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:17:04] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-19 22:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386308849163829248,"km_value":386308849163829.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1368460997494603776,"description":"Unknown IO ID 45"} 
[2026-08-19 22:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512433408001,"power":27332,"unknown_126":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1368460997494603776}} 
[2026-08-19 22:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":157927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:17:04] local.INFO: GPS data processed {"connection_id":157927,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:17:04] local.INFO: Acknowledgment sent {"connection_id":157927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:17:07] local.INFO: TCP Data received {"connection_id":158288,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:17:07] local.INFO: Processing buffer {"connection_id":158288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:17:07] local.INFO: IMEI packet received {"connection_id":158288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":158288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:17:09] local.INFO: TCP Data received {"connection_id":157927,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aea4988012d13264006dc63e8000c009730..."} 
[2026-08-19 22:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aea4988012d13264006dc63e8000c009730..."} 
[2026-08-19 22:17:09] local.INFO: Processing buffer {"connection_id":157927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aea4988012d13264006dc63e8000c009730..."} 
[2026-08-19 22:17:09] local.INFO: Packet analysis {"connection_id":157927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aea"} 
[2026-08-19 22:17:09] local.INFO: Extracted packet for processing {"connection_id":157927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aea"} 
[2026-08-19 22:17:09] local.INFO: GPS Element Parsed {"raw_longitude":756229696,"raw_latitude":115106792,"longitude_deg":75.6229696,"latitude_deg":11.5106792,"altitude":12,"angle":151,"satellites":48,"speed":61,"hex_longitude":"2d132640","hex_latitude":"06dc63e8","is_valid_coordinates":true} 
[2026-08-19 22:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512435200001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386309351675002880,"note":"Value kept but may cause issues"} 
[2026-08-19 22:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1373949759538503680,"note":"Value kept but may cause issues"} 
[2026-08-19 22:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787157957000,"timestamp_ms":1787157957000,"timestamp_seconds":1787157957,"priority":1,"record_length":96,"hex_timestamp":"000001a01aea4988"} 
[2026-08-19 22:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 22:17:09] 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-08-19 22: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-08-19 22:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512435200001,"66":27343,"126":206,"2":56576,"24":61,"16":386309351675002880,"45":1373949759538503680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,2,24,16,45]} 
[2026-08-19 22:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512435200001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:17:09] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-08-19 22:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386309351675002880,"km_value":386309351675002.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1373949759538503680,"description":"Unknown IO ID 45"} 
[2026-08-19 22:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512435200001,"power":27343,"unknown_126":206,"power_alt":56576,"ignition":61,"odometer":null,"unknown_45":1373949759538503680}} 
[2026-08-19 22:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":157927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:17:09] local.INFO: GPS data processed {"connection_id":157927,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:17:09] local.INFO: Acknowledgment sent {"connection_id":157927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:17:12] local.INFO: TCP Data received {"connection_id":158288,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:17:12] local.INFO: Processing buffer {"connection_id":158288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:17:12] local.INFO: IMEI packet received {"connection_id":158288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":158288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:17:13] local.INFO: TCP Data received {"connection_id":158288,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:17:13] local.INFO: Processing buffer {"connection_id":158288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01ae66958012d196500071ff1280041014629..."} 
[2026-08-19 22:17:13] local.INFO: Packet analysis {"connection_id":158288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:17:13] local.INFO: Extracted packet for processing {"connection_id":158288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01ae6"} 
[2026-08-19 22:17:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512294912001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787157703000,"timestamp_ms":1787157703000,"timestamp_seconds":1787157703,"priority":1,"record_length":96,"hex_timestamp":"000001a01ae66958"} 
[2026-08-19 22:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:17:13] 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-08-19 22: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":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512294912001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512294912001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:17:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:17:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512294912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":158288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:17:13] local.INFO: GPS data processed {"connection_id":158288,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:17:13] local.INFO: Acknowledgment sent {"connection_id":158288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:17:43] local.INFO: TCP Data received {"connection_id":157927,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aea60f8012d13368006dc4418000c009b31..."} 
[2026-08-19 22:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aea60f8012d13368006dc4418000c009b31..."} 
[2026-08-19 22:17:43] local.INFO: Processing buffer {"connection_id":157927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aea60f8012d13368006dc4418000c009b31..."} 
[2026-08-19 22:17:43] local.INFO: Packet analysis {"connection_id":157927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aea"} 
[2026-08-19 22:17:43] local.INFO: Extracted packet for processing {"connection_id":157927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aea"} 
[2026-08-19 22:17:43] local.INFO: GPS Element Parsed {"raw_longitude":756233856,"raw_latitude":115098648,"longitude_deg":75.6233856,"latitude_deg":11.5098648,"altitude":12,"angle":155,"satellites":49,"speed":59,"hex_longitude":"2d133680","hex_latitude":"06dc4418","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512436992001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386309794056634368,"note":"Value kept but may cause issues"} 
[2026-08-19 22:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1379860734047152128,"note":"Value kept but may cause issues"} 
[2026-08-19 22:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787157963000,"timestamp_ms":1787157963000,"timestamp_seconds":1787157963,"priority":1,"record_length":96,"hex_timestamp":"000001a01aea60f8"} 
[2026-08-19 22:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 22:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512436992001,"66":27267,"127":206,"2":56576,"24":59,"16":386309794056634368,"45":1379860734047152128},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-08-19 22:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512436992001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:17:43] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-19 22:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386309794056634368,"km_value":386309794056634.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1379860734047152128,"description":"Unknown IO ID 45"} 
[2026-08-19 22:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512436992001,"power":27267,"unknown_127":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1379860734047152128}} 
[2026-08-19 22:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":157927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:17:43] local.INFO: GPS data processed {"connection_id":157927,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:17:43] local.INFO: Acknowledgment sent {"connection_id":157927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:17:44] local.INFO: TCP Data received {"connection_id":158288,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:17:44] local.INFO: Processing buffer {"connection_id":158288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:17:44] local.INFO: Packet analysis {"connection_id":158288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:17:44] local.INFO: Extracted packet for processing {"connection_id":158288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:17:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512371968001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787158004000,"timestamp_ms":1787158004000,"timestamp_seconds":1787158004,"priority":1,"record_length":96,"hex_timestamp":"000001a01aeb0120"} 
[2026-08-19 22:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:17:44] 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-08-19 22:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512371968001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512371968001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:17:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:17:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512371968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":158288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:17:44] local.INFO: GPS data processed {"connection_id":158288,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:17:44] local.INFO: Acknowledgment sent {"connection_id":158288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:17:58] local.INFO: TCP Data received {"connection_id":160467,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:17:58] local.INFO: Processing buffer {"connection_id":160467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:17:58] local.INFO: IMEI packet received {"connection_id":160467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":160467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:18:00] local.INFO: TCP Data received {"connection_id":160467,"ip":"117.224.24.81","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 22:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160467,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 22:18:00] local.INFO: Processing buffer {"connection_id":160467,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 22:18:00] local.INFO: IMEI packet received {"connection_id":160467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":160467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:18:03] local.INFO: TCP Data received {"connection_id":160467,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:18:03] local.INFO: Processing buffer {"connection_id":160467,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 22:18:03] local.INFO: IMEI packet received {"connection_id":160467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":160467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:18:04] local.INFO: TCP Data received {"connection_id":160467,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aeb7650012d13ab4006dac420000f00ae32..."} 
[2026-08-19 22:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aeb7650012d13ab4006dac420000f00ae32..."} 
[2026-08-19 22:18:04] local.INFO: Processing buffer {"connection_id":160467,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a01a..."} 
[2026-08-19 22:18:04] local.INFO: IMEI packet received {"connection_id":160467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":160467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:18:06] local.INFO: TCP Data received {"connection_id":160467,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aeb8dc0012d13b2c006daa208000f00a231..."} 
[2026-08-19 22:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aeb8dc0012d13b2c006daa208000f00a231..."} 
[2026-08-19 22:18:06] local.INFO: Processing buffer {"connection_id":160467,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a01aeb7650012d13ab4006dac420000f00ae32..."} 
[2026-08-19 22:18:06] local.INFO: Packet analysis {"connection_id":160467,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:18:06] local.INFO: Extracted packet for processing {"connection_id":160467,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756263744,"raw_latitude":115000352,"longitude_deg":75.6263744,"latitude_deg":11.5000352,"altitude":15,"angle":174,"satellites":50,"speed":59,"hex_longitude":"2d13ab40","hex_latitude":"06dac420","is_valid_coordinates":true} 
[2026-08-19 22:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512455168001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386314814873403392,"note":"Value kept but may cause issues"} 
[2026-08-19 22:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1417015430948005888,"note":"Value kept but may cause issues"} 
[2026-08-19 22:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787158034000,"timestamp_ms":1787158034000,"timestamp_seconds":1787158034,"priority":1,"record_length":96,"hex_timestamp":"000001a01aeb7650"} 
[2026-08-19 22:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 22:18:06] 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-08-19 22:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512455168001,"66":27332,"192":206,"2":56576,"24":59,"16":386314814873403392,"45":1417015430948005888},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-19 22:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512455168001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:18:06] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-19 22:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386314814873403392,"km_value":386314814873403.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1417015430948005888,"description":"Unknown IO ID 45"} 
[2026-08-19 22:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512455168001,"power":27332,"unknown_192":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1417015430948005888}} 
[2026-08-19 22:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":160467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:18:06] local.INFO: GPS data processed {"connection_id":160467,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:18:06] local.INFO: Acknowledgment sent {"connection_id":160467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:18:06] local.INFO: Packet analysis {"connection_id":160467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:18:06] local.INFO: Extracted packet for processing {"connection_id":160467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756265664,"raw_latitude":114991624,"longitude_deg":75.6265664,"latitude_deg":11.4991624,"altitude":15,"angle":162,"satellites":49,"speed":59,"hex_longitude":"2d13b2c0","hex_latitude":"06daa208","is_valid_coordinates":true} 
[2026-08-19 22:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512456704001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386315248665100288,"note":"Value kept but may cause issues"} 
[2026-08-19 22:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1417296905922420736,"note":"Value kept but may cause issues"} 
[2026-08-19 22:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787158040000,"timestamp_ms":1787158040000,"timestamp_seconds":1787158040,"priority":1,"record_length":96,"hex_timestamp":"000001a01aeb8dc0"} 
[2026-08-19 22:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 22:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512456704001,"66":27234,"192":206,"2":56576,"24":59,"16":386315248665100288,"45":1417296905922420736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-19 22:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512456704001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:18:06] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-19 22:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386315248665100288,"km_value":386315248665100.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1417296905922420736,"description":"Unknown IO ID 45"} 
[2026-08-19 22:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512456704001,"power":27234,"unknown_192":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1417296905922420736}} 
[2026-08-19 22:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":160467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:18:06] local.INFO: GPS data processed {"connection_id":160467,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:18:06] local.INFO: Acknowledgment sent {"connection_id":160467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:18:07] local.INFO: TCP Data received {"connection_id":157928,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:18:07] local.INFO: Processing buffer {"connection_id":157928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:18:07] local.INFO: IMEI packet received {"connection_id":157928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":157928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:18:13] local.INFO: TCP Data received {"connection_id":157928,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:18:13] local.INFO: Processing buffer {"connection_id":157928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:18:13] local.INFO: IMEI packet received {"connection_id":157928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":157928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:18:13] local.INFO: TCP Data received {"connection_id":157928,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:18:13] local.INFO: Processing buffer {"connection_id":157928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:18:13] local.INFO: Packet analysis {"connection_id":157928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:18:13] local.INFO: Extracted packet for processing {"connection_id":157928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:18:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512371968001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158004000,"timestamp_ms":1787158004000,"timestamp_seconds":1787158004,"priority":1,"record_length":96,"hex_timestamp":"000001a01aeb0120"} 
[2026-08-19 22:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:18:13] 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-08-19 22:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512371968001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512371968001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:18:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:18:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512371968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":157928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:18:13] local.INFO: GPS data processed {"connection_id":157928,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:18:13] local.INFO: Acknowledgment sent {"connection_id":157928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:18:38] local.INFO: TCP Data received {"connection_id":160467,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aeb8dc0012d13b2c006daa208000f00a231..."} 
[2026-08-19 22:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aeb8dc0012d13b2c006daa208000f00a231..."} 
[2026-08-19 22:18:38] local.INFO: Processing buffer {"connection_id":160467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aeb8dc0012d13b2c006daa208000f00a231..."} 
[2026-08-19 22:18:38] local.INFO: Packet analysis {"connection_id":160467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:18:38] local.INFO: Extracted packet for processing {"connection_id":160467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:18:38] local.INFO: GPS Element Parsed {"raw_longitude":756265664,"raw_latitude":114991624,"longitude_deg":75.6265664,"latitude_deg":11.4991624,"altitude":15,"angle":162,"satellites":49,"speed":59,"hex_longitude":"2d13b2c0","hex_latitude":"06daa208","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512458240001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386315248665100288,"note":"Value kept but may cause issues"} 
[2026-08-19 22:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1419407968245516288,"note":"Value kept but may cause issues"} 
[2026-08-19 22:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787158040000,"timestamp_ms":1787158040000,"timestamp_seconds":1787158040,"priority":1,"record_length":96,"hex_timestamp":"000001a01aeb8dc0"} 
[2026-08-19 22:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 22:18:38] 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-08-19 22: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-08-19 22:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512458240001,"66":27234,"192":206,"2":56576,"24":59,"16":386315248665100288,"45":1419407968245516288},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-19 22:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512458240001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:18:38] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-19 22:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386315248665100288,"km_value":386315248665100.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1419407968245516288,"description":"Unknown IO ID 45"} 
[2026-08-19 22:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512458240001,"power":27234,"unknown_192":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1419407968245516288}} 
[2026-08-19 22:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":160467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:18:38] local.INFO: GPS data processed {"connection_id":160467,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:18:38] local.INFO: Acknowledgment sent {"connection_id":160467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:18:45] local.INFO: TCP Data received {"connection_id":157928,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:18:45] local.INFO: Processing buffer {"connection_id":157928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:18:45] local.INFO: Packet analysis {"connection_id":157928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:18:45] local.INFO: Extracted packet for processing {"connection_id":157928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:18:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512371968001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787158004000,"timestamp_ms":1787158004000,"timestamp_seconds":1787158004,"priority":1,"record_length":96,"hex_timestamp":"000001a01aeb0120"} 
[2026-08-19 22:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:18:45] 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-08-19 22:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512371968001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512371968001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:18:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:18:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512371968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":157928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:18:45] local.INFO: GPS data processed {"connection_id":157928,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:18:45] local.INFO: Acknowledgment sent {"connection_id":157928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:19:03] local.INFO: TCP Data received {"connection_id":157929,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:19:03] local.INFO: Processing buffer {"connection_id":157929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:19:03] local.INFO: IMEI packet received {"connection_id":157929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":157929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:19:03] local.INFO: TCP Data received {"connection_id":157929,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:19:03] local.INFO: Processing buffer {"connection_id":157929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:19:03] local.INFO: IMEI packet received {"connection_id":157929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":157929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:19:07] local.INFO: TCP Data received {"connection_id":158289,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:19:07] local.INFO: Processing buffer {"connection_id":158289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:19:07] local.INFO: IMEI packet received {"connection_id":158289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":158289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:19:08] local.INFO: TCP Data received {"connection_id":157929,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:19:08] local.INFO: Processing buffer {"connection_id":157929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:19:08] local.INFO: IMEI packet received {"connection_id":157929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":157929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:19:11] local.INFO: TCP Data received {"connection_id":157929,"ip":"117.224.24.81","data_length":1360,"data_hex":"000000000000030f8e0a000001a01aeba530012d13be8006da8138000f00a031..."} 
[2026-08-19 22:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157929,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a01aeba530012d13be8006da8138000f00a031..."} 
[2026-08-19 22:19:11] local.INFO: Processing buffer {"connection_id":157929,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a01aeba530012d13be8006da8138000f00a031..."} 
[2026-08-19 22:19:11] local.INFO: Packet analysis {"connection_id":157929,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:19:11] local.INFO: Extracted packet for processing {"connection_id":157929,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:19:11] local.INFO: GPS Element Parsed {"raw_longitude":756268672,"raw_latitude":114983224,"longitude_deg":75.6268672,"latitude_deg":11.4983224,"altitude":15,"angle":160,"satellites":49,"speed":59,"hex_longitude":"2d13be80","hex_latitude":"06da8138","is_valid_coordinates":true} 
[2026-08-19 22:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512458240001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386315682456797184,"note":"Value kept but may cause issues"} 
[2026-08-19 22:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1419407968245516288,"note":"Value kept but may cause issues"} 
[2026-08-19 22:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787158046000,"timestamp_ms":1787158046000,"timestamp_seconds":1787158046,"priority":1,"record_length":96,"hex_timestamp":"000001a01aeba530"} 
[2026-08-19 22:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:19: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-08-19 22:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 22:19:11] 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-08-19 22:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512458240001,"66":27213,"192":206,"2":56576,"24":59,"16":386315682456797184,"45":1419407968245516288},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-19 22:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512458240001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:19:11] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-19 22:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386315682456797184,"km_value":386315682456797.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1419407968245516288,"description":"Unknown IO ID 45"} 
[2026-08-19 22:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512458240001,"power":27213,"unknown_192":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1419407968245516288}} 
[2026-08-19 22:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":157929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:19:11] local.INFO: GPS data processed {"connection_id":157929,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:19:11] local.INFO: Acknowledgment sent {"connection_id":157929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:19:11] local.INFO: Packet analysis {"connection_id":157929,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:19:11] local.INFO: Incomplete packet, waiting for more data {"connection_id":157929,"needed":795,"available":565} 
[2026-08-19 22:19:13] local.INFO: TCP Data received {"connection_id":158289,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:19:13] local.INFO: Processing buffer {"connection_id":158289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:19:13] local.INFO: IMEI packet received {"connection_id":158289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":158289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:19:13] local.INFO: TCP Data received {"connection_id":157929,"ip":"117.224.24.81","data_length":1025,"data_hex":"2d13a50006db2788000f00a531003b0000000a000400ef0100715f00f0010045..."} 
[2026-08-19 22:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157929,"packet_length":1025,"packet_hex":"2d13a50006db2788000f00a531003b0000000a000400ef0100715f00f0010045..."} 
[2026-08-19 22:19:13] local.INFO: Processing buffer {"connection_id":157929,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a01aebbca0012d13c98006da6030000f00a430..."} 
[2026-08-19 22:19:13] local.INFO: Packet analysis {"connection_id":157929,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:19:13] local.INFO: Extracted packet for processing {"connection_id":157929,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:19:13] local.INFO: GPS Element Parsed {"raw_longitude":756271488,"raw_latitude":114974768,"longitude_deg":75.6271488,"latitude_deg":11.4974768,"altitude":15,"angle":164,"satellites":48,"speed":59,"hex_longitude":"2d13c980","hex_latitude":"06da6030","is_valid_coordinates":true} 
[2026-08-19 22:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512459776001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386316111953526784,"note":"Value kept but may cause issues"} 
[2026-08-19 22:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422715299219716096,"note":"Value kept but may cause issues"} 
[2026-08-19 22:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158052000,"timestamp_ms":1787158052000,"timestamp_seconds":1787158052,"priority":1,"record_length":96,"hex_timestamp":"000001a01aebbca0"} 
[2026-08-19 22:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:19: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-08-19 22:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 22:19:13] 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-08-19 22:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512459776001,"66":27267,"192":206,"2":56576,"24":59,"16":386316111953526784,"45":1422715299219716096},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-19 22:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512459776001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:19:13] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-19 22:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386316111953526784,"km_value":386316111953526.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:19:13] local.INFO: TCP Data received {"connection_id":158289,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422715299219716096,"description":"Unknown IO ID 45"} 
[2026-08-19 22:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512459776001,"power":27267,"unknown_192":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1422715299219716096}} 
[2026-08-19 22:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:19:13] local.INFO: Processing buffer {"connection_id":158289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:19:13] local.INFO: Packet analysis {"connection_id":158289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:19:13] local.INFO: Extracted packet for processing {"connection_id":158289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:19:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512371968001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158004000,"timestamp_ms":1787158004000,"timestamp_seconds":1787158004,"priority":1,"record_length":96,"hex_timestamp":"000001a01aeb0120"} 
[2026-08-19 22:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:19:13] 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-08-19 22:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512371968001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512371968001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:19:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:19:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512371968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":157929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:19:13] local.INFO: GPS data processed {"connection_id":157929,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:19:13] local.INFO: Acknowledgment sent {"connection_id":157929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:19:13] local.INFO: Packet analysis {"connection_id":157929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:19:13] local.INFO: Extracted packet for processing {"connection_id":157929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:19:13] local.INFO: GPS Element Parsed {"raw_longitude":756272960,"raw_latitude":114966112,"longitude_deg":75.627296,"latitude_deg":11.4966112,"altitude":16,"angle":177,"satellites":48,"speed":57,"hex_longitude":"2d13cf40","hex_latitude":"06da3e60","is_valid_coordinates":true} 
[2026-08-19 22:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512461312001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386316537155289088,"note":"Value kept but may cause issues"} 
[2026-08-19 22:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1425811523961368576,"note":"Value kept but may cause issues"} 
[2026-08-19 22:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158058000,"timestamp_ms":1787158058000,"timestamp_seconds":1787158058,"priority":1,"record_length":96,"hex_timestamp":"000001a01aebd410"} 
[2026-08-19 22:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:19: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-08-19 22:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:19:13] 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-08-19 22:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512461312001,"66":27332,"192":206,"2":56576,"24":57,"16":386316537155289088,"45":1425811523961368576},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-19 22:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512461312001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:19:13] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-19 22:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386316537155289088,"km_value":386316537155289.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1425811523961368576,"description":"Unknown IO ID 45"} 
[2026-08-19 22:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512461312001,"power":27332,"unknown_192":206,"power_alt":56576,"ignition":57,"odometer":null,"unknown_45":1425811523961368576}} 
[2026-08-19 22:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":157929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:19:13] local.INFO: GPS data processed {"connection_id":157929,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:19:13] local.INFO: Acknowledgment sent {"connection_id":157929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":158289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:19:13] local.INFO: GPS data processed {"connection_id":158289,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:19:13] local.INFO: Acknowledgment sent {"connection_id":158289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:19:44] local.INFO: TCP Data received {"connection_id":158289,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:19:44] local.INFO: Processing buffer {"connection_id":158289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:19:44] local.INFO: Packet analysis {"connection_id":158289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:19:44] local.INFO: Extracted packet for processing {"connection_id":158289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:19:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512371968001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787158004000,"timestamp_ms":1787158004000,"timestamp_seconds":1787158004,"priority":1,"record_length":96,"hex_timestamp":"000001a01aeb0120"} 
[2026-08-19 22:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:19:44] 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-08-19 22:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512371968001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512371968001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:19:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:19:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512371968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":158289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:19:45] local.INFO: GPS data processed {"connection_id":158289,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:19:45] local.INFO: Acknowledgment sent {"connection_id":158289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:19:47] local.INFO: TCP Data received {"connection_id":160468,"ip":"85.217.149.7","data_length":8,"data_hex":"3030303030303030..."} 
[2026-08-19 22:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160468,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-08-19 22:19:47] local.INFO: Processing buffer {"connection_id":160468,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-08-19 22:19:55] local.INFO: TCP Data received {"connection_id":159148,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:19:55] local.INFO: Processing buffer {"connection_id":159148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:19:55] local.INFO: IMEI packet received {"connection_id":159148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":159148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:19:58] local.INFO: TCP Data received {"connection_id":159148,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:19:58] local.INFO: Processing buffer {"connection_id":159148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:19:58] local.INFO: IMEI packet received {"connection_id":159148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":159148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:20:02] local.INFO: TCP Data received {"connection_id":159148,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:20:02] local.INFO: Processing buffer {"connection_id":159148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:20:02] local.INFO: IMEI packet received {"connection_id":159148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":159148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:20:04] local.INFO: TCP Data received {"connection_id":159148,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aeced50012d14218006d8c1600013009c31..."} 
[2026-08-19 22:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aeced50012d14218006d8c1600013009c31..."} 
[2026-08-19 22:20:04] local.INFO: Processing buffer {"connection_id":159148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aeced50012d14218006d8c1600013009c31..."} 
[2026-08-19 22:20:04] local.INFO: Packet analysis {"connection_id":159148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aec"} 
[2026-08-19 22:20:04] local.INFO: Extracted packet for processing {"connection_id":159148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aec"} 
[2026-08-19 22:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756294016,"raw_latitude":114868576,"longitude_deg":75.6294016,"latitude_deg":11.4868576,"altitude":19,"angle":156,"satellites":49,"speed":51,"hex_longitude":"2d142180","hex_latitude":"06d8c160","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512479488001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386321510727417856,"note":"Value kept but may cause issues"} 
[2026-08-19 22:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1446218459747825664,"note":"Value kept but may cause issues"} 
[2026-08-19 22:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787158130000,"timestamp_ms":1787158130000,"timestamp_seconds":1787158130,"priority":1,"record_length":96,"hex_timestamp":"000001a01aeced50"} 
[2026-08-19 22:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:20: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-08-19 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 22:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512479488001,"66":27365,"192":206,"2":56576,"24":51,"16":386321510727417856,"45":1446218459747825664},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-19 22:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512479488001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:20:04] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-19 22:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386321510727417856,"km_value":386321510727417.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1446218459747825664,"description":"Unknown IO ID 45"} 
[2026-08-19 22:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512479488001,"power":27365,"unknown_192":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":1446218459747825664}} 
[2026-08-19 22:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":159148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:20:04] local.INFO: GPS data processed {"connection_id":159148,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:20:04] local.INFO: Acknowledgment sent {"connection_id":159148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:20:08] local.INFO: TCP Data received {"connection_id":157930,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:20:08] local.INFO: Processing buffer {"connection_id":157930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:20:08] local.INFO: IMEI packet received {"connection_id":157930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":157930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:20:12] local.INFO: TCP Data received {"connection_id":157930,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:20:12] local.INFO: Processing buffer {"connection_id":157930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:20:12] local.INFO: IMEI packet received {"connection_id":157930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":157930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:20:13] local.INFO: TCP Data received {"connection_id":157930,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:20:13] local.INFO: Processing buffer {"connection_id":157930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:20:13] local.INFO: Packet analysis {"connection_id":157930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:20:13] local.INFO: Extracted packet for processing {"connection_id":157930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:20:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512371968001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158004000,"timestamp_ms":1787158004000,"timestamp_seconds":1787158004,"priority":1,"record_length":96,"hex_timestamp":"000001a01aeb0120"} 
[2026-08-19 22:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:20:13] 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-08-19 22:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512371968001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512371968001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:20:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:20:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512371968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":157930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:20:13] local.INFO: GPS data processed {"connection_id":157930,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:20:13] local.INFO: Acknowledgment sent {"connection_id":157930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:20:36] local.INFO: TCP Data received {"connection_id":159148,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aed08a8012d142fc006d8a1300013009d31..."} 
[2026-08-19 22:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aed08a8012d142fc006d8a1300013009d31..."} 
[2026-08-19 22:20:36] local.INFO: Processing buffer {"connection_id":159148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aed08a8012d142fc006d8a1300013009d31..."} 
[2026-08-19 22:20:36] local.INFO: Packet analysis {"connection_id":159148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aed"} 
[2026-08-19 22:20:36] local.INFO: Extracted packet for processing {"connection_id":159148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aed"} 
[2026-08-19 22:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756297664,"raw_latitude":114860336,"longitude_deg":75.6297664,"latitude_deg":11.4860336,"altitude":19,"angle":157,"satellites":49,"speed":53,"hex_longitude":"2d142fc0","hex_latitude":"06d8a130","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512481280001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386321948814082048,"note":"Value kept but may cause issues"} 
[2026-08-19 22:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1450581321884721152,"note":"Value kept but may cause issues"} 
[2026-08-19 22:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787158137000,"timestamp_ms":1787158137000,"timestamp_seconds":1787158137,"priority":1,"record_length":96,"hex_timestamp":"000001a01aed08a8"} 
[2026-08-19 22:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 22:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512481280001,"66":27343,"192":206,"2":56576,"24":53,"16":386321948814082048,"45":1450581321884721152},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-19 22:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512481280001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:20:36] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-19 22:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386321948814082048,"km_value":386321948814082.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1450581321884721152,"description":"Unknown IO ID 45"} 
[2026-08-19 22:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512481280001,"power":27343,"unknown_192":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":1450581321884721152}} 
[2026-08-19 22:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":159148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:20:36] local.INFO: GPS data processed {"connection_id":159148,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:20:36] local.INFO: Acknowledgment sent {"connection_id":159148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:20:44] local.INFO: TCP Data received {"connection_id":157930,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:20:44] local.INFO: Processing buffer {"connection_id":157930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:20:44] local.INFO: Packet analysis {"connection_id":157930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:20:44] local.INFO: Extracted packet for processing {"connection_id":157930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:20:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512371968001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787158004000,"timestamp_ms":1787158004000,"timestamp_seconds":1787158004,"priority":1,"record_length":96,"hex_timestamp":"000001a01aeb0120"} 
[2026-08-19 22:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:20:44] 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-08-19 22:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512371968001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512371968001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:20:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:20:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512371968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":157930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:20:44] local.INFO: GPS data processed {"connection_id":157930,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:20:44] local.INFO: Acknowledgment sent {"connection_id":157930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:20:58] local.INFO: TCP Data received {"connection_id":157931,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:20:58] local.INFO: Processing buffer {"connection_id":157931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:20:58] local.INFO: IMEI packet received {"connection_id":157931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":157931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:21:00] local.INFO: TCP Data received {"connection_id":157931,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:21:00] local.INFO: Processing buffer {"connection_id":157931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:21:00] local.INFO: IMEI packet received {"connection_id":157931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":157931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:21:02] local.INFO: TCP Data received {"connection_id":157931,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aee25d0012d15330006d76b280010007d32..."} 
[2026-08-19 22:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aee25d0012d15330006d76b280010007d32..."} 
[2026-08-19 22:21:02] local.INFO: Processing buffer {"connection_id":157931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aee25d0012d15330006d76b280010007d32..."} 
[2026-08-19 22:21:02] local.INFO: Packet analysis {"connection_id":157931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aee"} 
[2026-08-19 22:21:02] local.INFO: Extracted packet for processing {"connection_id":157931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aee"} 
[2026-08-19 22:21:02] local.INFO: GPS Element Parsed {"raw_longitude":756364032,"raw_latitude":114780968,"longitude_deg":75.6364032,"latitude_deg":11.4780968,"altitude":16,"angle":125,"satellites":50,"speed":38,"hex_longitude":"2d153300","hex_latitude":"06d76b28","is_valid_coordinates":true} 
[2026-08-19 22:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512500224001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386326969630851072,"note":"Value kept but may cause issues"} 
[2026-08-19 22:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1521864859715489792,"note":"Value kept but may cause issues"} 
[2026-08-19 22:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787158210000,"timestamp_ms":1787158210000,"timestamp_seconds":1787158210,"priority":1,"record_length":96,"hex_timestamp":"000001a01aee25d0"} 
[2026-08-19 22:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:21: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-08-19 22:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 22:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":157931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":157931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":157931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512500224001,"66":27397,"193":206,"2":56576,"24":38,"16":386326969630851072,"45":1521864859715489792},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-08-19 22:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512500224001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:21:02] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-19 22:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386326969630851072,"km_value":386326969630851.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1521864859715489792,"description":"Unknown IO ID 45"} 
[2026-08-19 22:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512500224001,"power":27397,"unknown_193":206,"power_alt":56576,"ignition":38,"odometer":null,"unknown_45":1521864859715489792}} 
[2026-08-19 22:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":157931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:21:02] local.INFO: GPS data processed {"connection_id":157931,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:21:02] local.INFO: Acknowledgment sent {"connection_id":157931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:21:07] local.INFO: TCP Data received {"connection_id":160469,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:21:07] local.INFO: Processing buffer {"connection_id":160469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:21:07] local.INFO: IMEI packet received {"connection_id":160469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":160469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:21:12] local.INFO: TCP Data received {"connection_id":160469,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:21:12] local.INFO: Processing buffer {"connection_id":160469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:21:12] local.INFO: IMEI packet received {"connection_id":160469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":160469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:21:13] local.INFO: TCP Data received {"connection_id":160469,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:21:13] local.INFO: Processing buffer {"connection_id":160469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:21:13] local.INFO: Packet analysis {"connection_id":160469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:21:13] local.INFO: Extracted packet for processing {"connection_id":160469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:21:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512371968001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158004000,"timestamp_ms":1787158004000,"timestamp_seconds":1787158004,"priority":1,"record_length":96,"hex_timestamp":"000001a01aeb0120"} 
[2026-08-19 22:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:21:13] 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-08-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512371968001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512371968001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:21:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:21:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512371968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":160469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:21:13] local.INFO: GPS data processed {"connection_id":160469,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:21:13] local.INFO: Acknowledgment sent {"connection_id":160469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:21:33] local.INFO: TCP Data received {"connection_id":157931,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aee3188012d153bc006d763e8000f008a31..."} 
[2026-08-19 22:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aee3188012d153bc006d763e8000f008a31..."} 
[2026-08-19 22:21:33] local.INFO: Processing buffer {"connection_id":157931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aee3188012d153bc006d763e8000f008a31..."} 
[2026-08-19 22:21:33] local.INFO: Packet analysis {"connection_id":157931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aee"} 
[2026-08-19 22:21:33] local.INFO: Extracted packet for processing {"connection_id":157931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aee"} 
[2026-08-19 22:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756366272,"raw_latitude":114779112,"longitude_deg":75.6366272,"latitude_deg":11.4779112,"altitude":15,"angle":138,"satellites":49,"speed":39,"hex_longitude":"2d153bc0","hex_latitude":"06d763e8","is_valid_coordinates":true} 
[2026-08-19 22:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512501760001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386327111364771840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1527564727992657920,"note":"Value kept but may cause issues"} 
[2026-08-19 22:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787158213000,"timestamp_ms":1787158213000,"timestamp_seconds":1787158213,"priority":1,"record_length":96,"hex_timestamp":"000001a01aee3188"} 
[2026-08-19 22:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:21: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-08-19 22:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 22:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":157931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":157931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":157931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512501760001,"66":27365,"193":206,"2":56576,"24":39,"16":386327111364771840,"45":1527564727992657920},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-08-19 22:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512501760001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:21:33] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-19 22:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386327111364771840,"km_value":386327111364771.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1527564727992657920,"description":"Unknown IO ID 45"} 
[2026-08-19 22:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512501760001,"power":27365,"unknown_193":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":1527564727992657920}} 
[2026-08-19 22:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":157931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:21:33] local.INFO: GPS data processed {"connection_id":157931,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:21:33] local.INFO: Acknowledgment sent {"connection_id":157931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:21:44] local.INFO: TCP Data received {"connection_id":160469,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:21:44] local.INFO: Processing buffer {"connection_id":160469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:21:44] local.INFO: Packet analysis {"connection_id":160469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:21:44] local.INFO: Extracted packet for processing {"connection_id":160469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:21:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512371968001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787158004000,"timestamp_ms":1787158004000,"timestamp_seconds":1787158004,"priority":1,"record_length":96,"hex_timestamp":"000001a01aeb0120"} 
[2026-08-19 22:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:21:44] 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-08-19 22:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512371968001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512371968001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:21:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:21:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512371968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":160469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:21:45] local.INFO: GPS data processed {"connection_id":160469,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:21:45] local.INFO: Acknowledgment sent {"connection_id":160469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:21:59] local.INFO: TCP Data received {"connection_id":157932,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:21:59] local.INFO: Processing buffer {"connection_id":157932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:21:59] local.INFO: IMEI packet received {"connection_id":157932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":157932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:22:03] local.INFO: TCP Data received {"connection_id":157932,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:22:03] local.INFO: Processing buffer {"connection_id":157932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:22:03] local.INFO: IMEI packet received {"connection_id":157932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":157932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:22:06] local.INFO: TCP Data received {"connection_id":157932,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aee54b0012d1554c006d74958000f008930..."} 
[2026-08-19 22:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aee54b0012d1554c006d74958000f008930..."} 
[2026-08-19 22:22:06] local.INFO: Processing buffer {"connection_id":157932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aee54b0012d1554c006d74958000f008930..."} 
[2026-08-19 22:22:06] local.INFO: Packet analysis {"connection_id":157932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aee"} 
[2026-08-19 22:22:06] local.INFO: Extracted packet for processing {"connection_id":157932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aee"} 
[2026-08-19 22:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756372672,"raw_latitude":114772312,"longitude_deg":75.6372672,"latitude_deg":11.4772312,"altitude":15,"angle":137,"satellites":48,"speed":41,"hex_longitude":"2d1554c0","hex_latitude":"06d74958","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512502528001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386327558041370624,"note":"Value kept but may cause issues"} 
[2026-08-19 22:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1530027634038401024,"note":"Value kept but may cause issues"} 
[2026-08-19 22:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787158222000,"timestamp_ms":1787158222000,"timestamp_seconds":1787158222,"priority":1,"record_length":96,"hex_timestamp":"000001a01aee54b0"} 
[2026-08-19 22:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 22:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512502528001,"66":27463,"193":206,"2":56576,"24":41,"16":386327558041370624,"45":1530027634038401024},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-08-19 22:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512502528001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:22:06] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-19 22:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386327558041370624,"km_value":386327558041370.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1530027634038401024,"description":"Unknown IO ID 45"} 
[2026-08-19 22:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512502528001,"power":27463,"unknown_193":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":1530027634038401024}} 
[2026-08-19 22:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":157932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:22:06] local.INFO: GPS data processed {"connection_id":157932,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:22:06] local.INFO: Acknowledgment sent {"connection_id":157932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:22:07] local.INFO: TCP Data received {"connection_id":157933,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:22:07] local.INFO: Processing buffer {"connection_id":157933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:22:07] local.INFO: IMEI packet received {"connection_id":157933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":157933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:22:12] local.INFO: TCP Data received {"connection_id":157933,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:22:12] local.INFO: Processing buffer {"connection_id":157933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:22:12] local.INFO: IMEI packet received {"connection_id":157933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":157933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:22:13] local.INFO: TCP Data received {"connection_id":157933,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:22:13] local.INFO: Processing buffer {"connection_id":157933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aeb0120012d196500071ff1280041014629..."} 
[2026-08-19 22:22:13] local.INFO: Packet analysis {"connection_id":157933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:22:13] local.INFO: Extracted packet for processing {"connection_id":157933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aeb"} 
[2026-08-19 22:22:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512371968001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158004000,"timestamp_ms":1787158004000,"timestamp_seconds":1787158004,"priority":1,"record_length":96,"hex_timestamp":"000001a01aeb0120"} 
[2026-08-19 22:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:22:13] 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-08-19 22:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:22:13] 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-08-19 22:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512371968001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512371968001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:22:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:22:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512371968001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":157933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:22:13] local.INFO: GPS data processed {"connection_id":157933,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:22:13] local.INFO: Acknowledgment sent {"connection_id":157933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:22:39] local.INFO: TCP Data received {"connection_id":157932,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aee7bc0012d156e8006d72dc8000f008930..."} 
[2026-08-19 22:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aee7bc0012d156e8006d72dc8000f008930..."} 
[2026-08-19 22:22:39] local.INFO: Processing buffer {"connection_id":157932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aee7bc0012d156e8006d72dc8000f008930..."} 
[2026-08-19 22:22:39] local.INFO: Packet analysis {"connection_id":157932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aee"} 
[2026-08-19 22:22:39] local.INFO: Extracted packet for processing {"connection_id":157932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aee"} 
[2026-08-19 22:22:39] local.INFO: GPS Element Parsed {"raw_longitude":756379264,"raw_latitude":114765256,"longitude_deg":75.6379264,"latitude_deg":11.4765256,"altitude":15,"angle":137,"satellites":48,"speed":37,"hex_longitude":"2d156e80","hex_latitude":"06d72dc8","is_valid_coordinates":true} 
[2026-08-19 22:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512504832001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386328021897838592,"note":"Value kept but may cause issues"} 
[2026-08-19 22:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1537064508454426624,"note":"Value kept but may cause issues"} 
[2026-08-19 22:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787158232000,"timestamp_ms":1787158232000,"timestamp_seconds":1787158232,"priority":1,"record_length":96,"hex_timestamp":"000001a01aee7bc0"} 
[2026-08-19 22:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 22:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":157932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":157932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":157932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512504832001,"66":27332,"193":206,"2":56576,"24":37,"16":386328021897838592,"45":1537064508454426624},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-08-19 22:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512504832001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:22:39] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-19 22:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386328021897838592,"km_value":386328021897838.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1537064508454426624,"description":"Unknown IO ID 45"} 
[2026-08-19 22:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512504832001,"power":27332,"unknown_193":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":1537064508454426624}} 
[2026-08-19 22:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":157932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:22:39] local.INFO: GPS data processed {"connection_id":157932,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:22:39] local.INFO: Acknowledgment sent {"connection_id":157932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:22:44] local.INFO: TCP Data received {"connection_id":157933,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:22:44] local.INFO: Processing buffer {"connection_id":157933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:22:44] local.INFO: Packet analysis {"connection_id":157933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:22:44] local.INFO: Extracted packet for processing {"connection_id":157933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:22:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512449024001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787158305000,"timestamp_ms":1787158305000,"timestamp_seconds":1787158305,"priority":1,"record_length":96,"hex_timestamp":"000001a01aef98e8"} 
[2026-08-19 22:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:22:44] 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-08-19 22:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:22:44] 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-08-19 22:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:22:44] 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-08-19 22:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512449024001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512449024001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:22:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:22:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512449024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":157933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:22:44] local.INFO: GPS data processed {"connection_id":157933,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:22:44] local.INFO: Acknowledgment sent {"connection_id":157933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:22:58] local.INFO: TCP Data received {"connection_id":159149,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:22:58] local.INFO: Processing buffer {"connection_id":159149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:22:58] local.INFO: IMEI packet received {"connection_id":159149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":159149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:23:03] local.INFO: TCP Data received {"connection_id":159149,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:23:03] local.INFO: Processing buffer {"connection_id":159149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:23:03] local.INFO: IMEI packet received {"connection_id":159149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":159149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:23:04] local.INFO: TCP Data received {"connection_id":159149,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aefe320012d15aa8006d6efc0001000b52f..."} 
[2026-08-19 22:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aefe320012d15aa8006d6efc0001000b52f..."} 
[2026-08-19 22:23:04] local.INFO: Processing buffer {"connection_id":159149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aefe320012d15aa8006d6efc0001000b52f..."} 
[2026-08-19 22:23:04] local.INFO: Packet analysis {"connection_id":159149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:23:04] local.INFO: Extracted packet for processing {"connection_id":159149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:23:04] local.INFO: GPS Element Parsed {"raw_longitude":756394624,"raw_latitude":114749376,"longitude_deg":75.6394624,"latitude_deg":11.4749376,"altitude":16,"angle":181,"satellites":47,"speed":6,"hex_longitude":"2d15aa80","hex_latitude":"06d6efc0","is_valid_coordinates":true} 
[2026-08-19 22:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512530432001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386329168654106624,"note":"Value kept but may cause issues"} 
[2026-08-19 22:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1561412093934114816,"note":"Value kept but may cause issues"} 
[2026-08-19 22:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787158324000,"timestamp_ms":1787158324000,"timestamp_seconds":1787158324,"priority":1,"record_length":96,"hex_timestamp":"000001a01aefe320"} 
[2026-08-19 22:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:23: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-08-19 22:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 22:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512530432001,"66":26984,"193":206,"2":56576,"24":6,"16":386329168654106624,"45":1561412093934114816},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-08-19 22:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512530432001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:23:04] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-19 22:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386329168654106624,"km_value":386329168654106.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1561412093934114816,"description":"Unknown IO ID 45"} 
[2026-08-19 22:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512530432001,"power":26984,"unknown_193":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":1561412093934114816}} 
[2026-08-19 22:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":159149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:23:04] local.INFO: GPS data processed {"connection_id":159149,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:23:04] local.INFO: Acknowledgment sent {"connection_id":159149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:23:07] local.INFO: TCP Data received {"connection_id":160470,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:23:07] local.INFO: Processing buffer {"connection_id":160470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:23:07] local.INFO: IMEI packet received {"connection_id":160470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":160470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:23:12] local.INFO: TCP Data received {"connection_id":160470,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:23:12] local.INFO: Processing buffer {"connection_id":160470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:23:12] local.INFO: IMEI packet received {"connection_id":160470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":160470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:23:13] local.INFO: TCP Data received {"connection_id":160470,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:23:13] local.INFO: Processing buffer {"connection_id":160470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:23:13] local.INFO: Packet analysis {"connection_id":160470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:23:13] local.INFO: Extracted packet for processing {"connection_id":160470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:23:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512449024001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158305000,"timestamp_ms":1787158305000,"timestamp_seconds":1787158305,"priority":1,"record_length":96,"hex_timestamp":"000001a01aef98e8"} 
[2026-08-19 22:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:23:13] 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-08-19 22:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:23:13] 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-08-19 22:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512449024001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512449024001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:23:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:23:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512449024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":160470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:23:13] local.INFO: GPS data processed {"connection_id":160470,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:23:13] local.INFO: Acknowledgment sent {"connection_id":160470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:23:36] local.INFO: TCP Data received {"connection_id":159149,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aefeed8012d15aa4006d6edf8000e00a52e..."} 
[2026-08-19 22:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aefeed8012d15aa4006d6edf8000e00a52e..."} 
[2026-08-19 22:23:36] local.INFO: Processing buffer {"connection_id":159149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aefeed8012d15aa4006d6edf8000e00a52e..."} 
[2026-08-19 22:23:36] local.INFO: Packet analysis {"connection_id":159149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:23:36] local.INFO: Extracted packet for processing {"connection_id":159149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756394560,"raw_latitude":114748920,"longitude_deg":75.639456,"latitude_deg":11.474892,"altitude":14,"angle":165,"satellites":46,"speed":6,"hex_longitude":"2d15aa40","hex_latitude":"06d6edf8","is_valid_coordinates":true} 
[2026-08-19 22:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512530944001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386329190128943104,"note":"Value kept but may cause issues"} 
[2026-08-19 22:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1561200987701493760,"note":"Value kept but may cause issues"} 
[2026-08-19 22:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787158327000,"timestamp_ms":1787158327000,"timestamp_seconds":1787158327,"priority":1,"record_length":96,"hex_timestamp":"000001a01aefeed8"} 
[2026-08-19 22:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 22:23:36] 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-08-19 22:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512530944001,"66":27321,"193":206,"2":56576,"24":6,"16":386329190128943104,"45":1561200987701493760},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-08-19 22:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512530944001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:23:36] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-19 22:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386329190128943104,"km_value":386329190128943.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1561200987701493760,"description":"Unknown IO ID 45"} 
[2026-08-19 22:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512530944001,"power":27321,"unknown_193":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":1561200987701493760}} 
[2026-08-19 22:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":159149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:23:36] local.INFO: GPS data processed {"connection_id":159149,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:23:36] local.INFO: Acknowledgment sent {"connection_id":159149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:23:45] local.INFO: TCP Data received {"connection_id":160470,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:23:45] local.INFO: Processing buffer {"connection_id":160470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:23:45] local.INFO: Packet analysis {"connection_id":160470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:23:45] local.INFO: Extracted packet for processing {"connection_id":160470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:23:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512449024001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787158305000,"timestamp_ms":1787158305000,"timestamp_seconds":1787158305,"priority":1,"record_length":96,"hex_timestamp":"000001a01aef98e8"} 
[2026-08-19 22:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:23: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-08-19 22:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:23:45] 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-08-19 22:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512449024001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512449024001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:23:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:23:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512449024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":160470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:23:45] local.INFO: GPS data processed {"connection_id":160470,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:23:45] local.INFO: Acknowledgment sent {"connection_id":160470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:23:58] local.INFO: TCP Data received {"connection_id":157934,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:23:58] local.INFO: Processing buffer {"connection_id":157934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:23:58] local.INFO: IMEI packet received {"connection_id":157934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":157934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:24:03] local.INFO: TCP Data received {"connection_id":157934,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:24:03] local.INFO: Processing buffer {"connection_id":157934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:24:03] local.INFO: IMEI packet received {"connection_id":157934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":157934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:24:05] local.INFO: TCP Data received {"connection_id":157934,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aeffa90012d15aa8006d6ebb8000d009631..."} 
[2026-08-19 22:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aeffa90012d15aa8006d6ebb8000d009631..."} 
[2026-08-19 22:24:05] local.INFO: Processing buffer {"connection_id":157934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aeffa90012d15aa8006d6ebb8000d009631..."} 
[2026-08-19 22:24:05] local.INFO: Packet analysis {"connection_id":157934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:24:05] local.INFO: Extracted packet for processing {"connection_id":157934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756394624,"raw_latitude":114748344,"longitude_deg":75.6394624,"latitude_deg":11.4748344,"altitude":13,"angle":150,"satellites":49,"speed":6,"hex_longitude":"2d15aa80","hex_latitude":"06d6ebb8","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512531712001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386329215898746880,"note":"Value kept but may cause issues"} 
[2026-08-19 22:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1561130618957199360,"note":"Value kept but may cause issues"} 
[2026-08-19 22:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787158330000,"timestamp_ms":1787158330000,"timestamp_seconds":1787158330,"priority":1,"record_length":96,"hex_timestamp":"000001a01aeffa90"} 
[2026-08-19 22:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:24: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-08-19 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 22:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512531712001,"66":27017,"193":206,"2":56576,"24":6,"16":386329215898746880,"45":1561130618957199360},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-08-19 22:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512531712001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:24:05] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-19 22:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386329215898746880,"km_value":386329215898746.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1561130618957199360,"description":"Unknown IO ID 45"} 
[2026-08-19 22:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512531712001,"power":27017,"unknown_193":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":1561130618957199360}} 
[2026-08-19 22:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":157934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:24:05] local.INFO: GPS data processed {"connection_id":157934,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:24:05] local.INFO: Acknowledgment sent {"connection_id":157934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:24:07] local.INFO: TCP Data received {"connection_id":157935,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:24:07] local.INFO: Processing buffer {"connection_id":157935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:24:07] local.INFO: IMEI packet received {"connection_id":157935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":157935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:24:12] local.INFO: TCP Data received {"connection_id":157935,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:24:12] local.INFO: Processing buffer {"connection_id":157935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:24:12] local.INFO: IMEI packet received {"connection_id":157935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":157935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:24:13] local.INFO: TCP Data received {"connection_id":157935,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:24:13] local.INFO: Processing buffer {"connection_id":157935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:24:13] local.INFO: Packet analysis {"connection_id":157935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:24:13] local.INFO: Extracted packet for processing {"connection_id":157935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:24:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512449024001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158305000,"timestamp_ms":1787158305000,"timestamp_seconds":1787158305,"priority":1,"record_length":96,"hex_timestamp":"000001a01aef98e8"} 
[2026-08-19 22:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:24:13] 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-08-19 22:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:24:13] 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-08-19 22:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512449024001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512449024001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:24:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:24:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512449024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":157935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:24:13] local.INFO: GPS data processed {"connection_id":157935,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:24:13] local.INFO: Acknowledgment sent {"connection_id":157935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:24:37] local.INFO: TCP Data received {"connection_id":157934,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af161f0012d163ac006d677800017007532..."} 
[2026-08-19 22:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af161f0012d163ac006d677800017007532..."} 
[2026-08-19 22:24:37] local.INFO: Processing buffer {"connection_id":157934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af161f0012d163ac006d677800017007532..."} 
[2026-08-19 22:24:37] local.INFO: Packet analysis {"connection_id":157934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af1"} 
[2026-08-19 22:24:37] local.INFO: Extracted packet for processing {"connection_id":157934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af1"} 
[2026-08-19 22:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756431552,"raw_latitude":114718592,"longitude_deg":75.6431552,"latitude_deg":11.4718592,"altitude":23,"angle":117,"satellites":50,"speed":34,"hex_longitude":"2d163ac0","hex_latitude":"06d67780","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512553984001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386331573835792384,"note":"Value kept but may cause issues"} 
[2026-08-19 22:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1596385359783342080,"note":"Value kept but may cause issues"} 
[2026-08-19 22:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787158422000,"timestamp_ms":1787158422000,"timestamp_seconds":1787158422,"priority":1,"record_length":96,"hex_timestamp":"000001a01af161f0"} 
[2026-08-19 22:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:24:37] 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-08-19 22: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-08-19 22:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512553984001,"66":27376,"191":206,"2":56576,"24":34,"16":386331573835792384,"45":1596385359783342080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-19 22:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512553984001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:24:37] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 22:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386331573835792384,"km_value":386331573835792.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1596385359783342080,"description":"Unknown IO ID 45"} 
[2026-08-19 22:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512553984001,"power":27376,"unknown_191":206,"power_alt":56576,"ignition":34,"odometer":null,"unknown_45":1596385359783342080}} 
[2026-08-19 22:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":157934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:24:37] local.INFO: GPS data processed {"connection_id":157934,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:24:37] local.INFO: Acknowledgment sent {"connection_id":157934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:24:45] local.INFO: TCP Data received {"connection_id":157935,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:24:45] local.INFO: Processing buffer {"connection_id":157935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:24:45] local.INFO: Packet analysis {"connection_id":157935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:24:45] local.INFO: Extracted packet for processing {"connection_id":157935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:24:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512449024001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787158305000,"timestamp_ms":1787158305000,"timestamp_seconds":1787158305,"priority":1,"record_length":96,"hex_timestamp":"000001a01aef98e8"} 
[2026-08-19 22:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:24: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-08-19 22:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:24:45] 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-08-19 22:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512449024001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512449024001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:24:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:24:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512449024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":157935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:24:45] local.INFO: GPS data processed {"connection_id":157935,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:24:45] local.INFO: Acknowledgment sent {"connection_id":157935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:24:58] local.INFO: TCP Data received {"connection_id":160471,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:24:58] local.INFO: Processing buffer {"connection_id":160471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:24:58] local.INFO: IMEI packet received {"connection_id":160471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":160471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:25:03] local.INFO: TCP Data received {"connection_id":160471,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:25:03] local.INFO: Processing buffer {"connection_id":160471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:25:03] local.INFO: IMEI packet received {"connection_id":160471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":160471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:25:05] local.INFO: TCP Data received {"connection_id":160471,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af17190012d16488006d672780016006631..."} 
[2026-08-19 22:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af17190012d16488006d672780016006631..."} 
[2026-08-19 22:25:05] local.INFO: Processing buffer {"connection_id":160471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af17190012d16488006d672780016006631..."} 
[2026-08-19 22:25:05] local.INFO: Packet analysis {"connection_id":160471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af1"} 
[2026-08-19 22:25:05] local.INFO: Extracted packet for processing {"connection_id":160471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af1"} 
[2026-08-19 22:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756435072,"raw_latitude":114717304,"longitude_deg":75.6435072,"latitude_deg":11.4717304,"altitude":22,"angle":102,"satellites":49,"speed":39,"hex_longitude":"2d164880","hex_latitude":"06d67278","is_valid_coordinates":true} 
[2026-08-19 22:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512556032001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386331749929451520,"note":"Value kept but may cause issues"} 
[2026-08-19 22:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601803753084125184,"note":"Value kept but may cause issues"} 
[2026-08-19 22:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787158426000,"timestamp_ms":1787158426000,"timestamp_seconds":1787158426,"priority":1,"record_length":96,"hex_timestamp":"000001a01af17190"} 
[2026-08-19 22:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:25: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-08-19 22:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 22:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512556032001,"66":27365,"191":206,"2":56576,"24":39,"16":386331749929451520,"45":1601803753084125184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-19 22:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512556032001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:25:05] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 22:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386331749929451520,"km_value":386331749929451.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601803753084125184,"description":"Unknown IO ID 45"} 
[2026-08-19 22:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512556032001,"power":27365,"unknown_191":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":1601803753084125184}} 
[2026-08-19 22:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":160471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:25:05] local.INFO: GPS data processed {"connection_id":160471,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:25:05] local.INFO: Acknowledgment sent {"connection_id":160471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:25:07] local.INFO: TCP Data received {"connection_id":157936,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:25:07] local.INFO: Processing buffer {"connection_id":157936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:25:07] local.INFO: IMEI packet received {"connection_id":157936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":157936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:25:12] local.INFO: TCP Data received {"connection_id":157936,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:25:12] local.INFO: Processing buffer {"connection_id":157936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:25:12] local.INFO: IMEI packet received {"connection_id":157936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":157936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:25:13] local.INFO: TCP Data received {"connection_id":157936,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:25:13] local.INFO: Processing buffer {"connection_id":157936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:25:13] local.INFO: Packet analysis {"connection_id":157936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:25:13] local.INFO: Extracted packet for processing {"connection_id":157936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:25:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512449024001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158305000,"timestamp_ms":1787158305000,"timestamp_seconds":1787158305,"priority":1,"record_length":96,"hex_timestamp":"000001a01aef98e8"} 
[2026-08-19 22:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:25:13] 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-08-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:25:13] 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-08-19 22: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-08-19 22:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512449024001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512449024001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:25:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:25:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512449024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":157936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:25:13] local.INFO: GPS data processed {"connection_id":157936,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:25:13] local.INFO: Acknowledgment sent {"connection_id":157936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:25:36] local.INFO: TCP Data received {"connection_id":160471,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af194b8012d166f4006d66f000012005e31..."} 
[2026-08-19 22:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af194b8012d166f4006d66f000012005e31..."} 
[2026-08-19 22:25:36] local.INFO: Processing buffer {"connection_id":160471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af194b8012d166f4006d66f000012005e31..."} 
[2026-08-19 22:25:36] local.INFO: Packet analysis {"connection_id":160471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af1"} 
[2026-08-19 22:25:36] local.INFO: Extracted packet for processing {"connection_id":160471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af1"} 
[2026-08-19 22:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756444992,"raw_latitude":114716416,"longitude_deg":75.6444992,"latitude_deg":11.4716416,"altitude":18,"angle":94,"satellites":49,"speed":45,"hex_longitude":"2d166f40","hex_latitude":"06d66f00","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512557056001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386332222375854080,"note":"Value kept but may cause issues"} 
[2026-08-19 22:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1605674034013566976,"note":"Value kept but may cause issues"} 
[2026-08-19 22:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787158435000,"timestamp_ms":1787158435000,"timestamp_seconds":1787158435,"priority":1,"record_length":96,"hex_timestamp":"000001a01af194b8"} 
[2026-08-19 22:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:25: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-08-19 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 22:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512557056001,"66":27332,"191":206,"2":56576,"24":45,"16":386332222375854080,"45":1605674034013566976},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-19 22:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512557056001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:25:36] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 22:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386332222375854080,"km_value":386332222375854.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1605674034013566976,"description":"Unknown IO ID 45"} 
[2026-08-19 22:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512557056001,"power":27332,"unknown_191":206,"power_alt":56576,"ignition":45,"odometer":null,"unknown_45":1605674034013566976}} 
[2026-08-19 22:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":160471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:25:36] local.INFO: GPS data processed {"connection_id":160471,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:25:36] local.INFO: Acknowledgment sent {"connection_id":160471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:25:44] local.INFO: TCP Data received {"connection_id":157936,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:25:44] local.INFO: Processing buffer {"connection_id":157936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:25:44] local.INFO: Packet analysis {"connection_id":157936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:25:44] local.INFO: Extracted packet for processing {"connection_id":157936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:25:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512449024001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787158305000,"timestamp_ms":1787158305000,"timestamp_seconds":1787158305,"priority":1,"record_length":96,"hex_timestamp":"000001a01aef98e8"} 
[2026-08-19 22:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:25:44] 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-08-19 22:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:25:44] 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-08-19 22:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512449024001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512449024001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:25:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:25:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512449024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":157936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:25:45] local.INFO: GPS data processed {"connection_id":157936,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:25:45] local.INFO: Acknowledgment sent {"connection_id":157936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:26:02] local.INFO: TCP Data received {"connection_id":158290,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:26:02] local.INFO: Processing buffer {"connection_id":158290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:26:02] local.INFO: IMEI packet received {"connection_id":158290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":158290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:26:03] local.INFO: TCP Data received {"connection_id":158290,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:26:03] local.INFO: Processing buffer {"connection_id":158290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:26:03] local.INFO: IMEI packet received {"connection_id":158290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":158290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:26:07] local.INFO: TCP Data received {"connection_id":160472,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:26:07] local.INFO: Processing buffer {"connection_id":160472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:26:07] local.INFO: IMEI packet received {"connection_id":160472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":160472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:26:08] local.INFO: TCP Data received {"connection_id":158290,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:26:08] local.INFO: Processing buffer {"connection_id":158290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:26:08] local.INFO: IMEI packet received {"connection_id":158290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":158290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:26:10] local.INFO: TCP Data received {"connection_id":158290,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af1b3f8012d1692c006d66c40000e005e32..."} 
[2026-08-19 22:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af1b3f8012d1692c006d66c40000e005e32..."} 
[2026-08-19 22:26:10] local.INFO: Processing buffer {"connection_id":158290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af1b3f8012d1692c006d66c40000e005e32..."} 
[2026-08-19 22:26:10] local.INFO: Packet analysis {"connection_id":158290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af1"} 
[2026-08-19 22:26:10] local.INFO: Extracted packet for processing {"connection_id":158290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af1"} 
[2026-08-19 22:26:10] local.INFO: GPS Element Parsed {"raw_longitude":756454080,"raw_latitude":114715712,"longitude_deg":75.645408,"latitude_deg":11.4715712,"altitude":14,"angle":94,"satellites":50,"speed":38,"hex_longitude":"2d1692c0","hex_latitude":"06d66c40","is_valid_coordinates":true} 
[2026-08-19 22:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512559360001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386332656167550976,"note":"Value kept but may cause issues"} 
[2026-08-19 22:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1616581189360877568,"note":"Value kept but may cause issues"} 
[2026-08-19 22:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787158443000,"timestamp_ms":1787158443000,"timestamp_seconds":1787158443,"priority":1,"record_length":96,"hex_timestamp":"000001a01af1b3f8"} 
[2026-08-19 22:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:26: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-08-19 22:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 22:26:10] 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-08-19 22:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512559360001,"66":27310,"191":206,"2":56576,"24":38,"16":386332656167550976,"45":1616581189360877568},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-19 22:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512559360001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:26:10] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 22:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386332656167550976,"km_value":386332656167551.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1616581189360877568,"description":"Unknown IO ID 45"} 
[2026-08-19 22:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512559360001,"power":27310,"unknown_191":206,"power_alt":56576,"ignition":38,"odometer":null,"unknown_45":1616581189360877568}} 
[2026-08-19 22:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":158290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:26:10] local.INFO: GPS data processed {"connection_id":158290,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:26:10] local.INFO: Acknowledgment sent {"connection_id":158290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:26:12] local.INFO: TCP Data received {"connection_id":160472,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:26:12] local.INFO: Processing buffer {"connection_id":160472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:26:12] local.INFO: IMEI packet received {"connection_id":160472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":160472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:26:13] local.INFO: TCP Data received {"connection_id":160472,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:26:13] local.INFO: Processing buffer {"connection_id":160472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:26:13] local.INFO: Packet analysis {"connection_id":160472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:26:13] local.INFO: Extracted packet for processing {"connection_id":160472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:26:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512449024001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158305000,"timestamp_ms":1787158305000,"timestamp_seconds":1787158305,"priority":1,"record_length":96,"hex_timestamp":"000001a01aef98e8"} 
[2026-08-19 22:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:26:13] 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-08-19 22:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:26:13] 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-08-19 22:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512449024001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512449024001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:26:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:26:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512449024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":160472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:26:13] local.INFO: GPS data processed {"connection_id":160472,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:26:13] local.INFO: Acknowledgment sent {"connection_id":160472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:26:42] local.INFO: TCP Data received {"connection_id":158290,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af34e20012d1821c006d614c8000e00662f..."} 
[2026-08-19 22:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af34e20012d1821c006d614c8000e00662f..."} 
[2026-08-19 22:26:42] local.INFO: Processing buffer {"connection_id":158290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af34e20012d1821c006d614c8000e00662f..."} 
[2026-08-19 22:26:42] local.INFO: Packet analysis {"connection_id":158290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af3"} 
[2026-08-19 22:26:42] local.INFO: Extracted packet for processing {"connection_id":158290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af3"} 
[2026-08-19 22:26:42] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":114693320,"longitude_deg":75.6556224,"latitude_deg":11.469332,"altitude":14,"angle":102,"satellites":47,"speed":47,"hex_longitude":"2d1821c0","hex_latitude":"06d614c8","is_valid_coordinates":true} 
[2026-08-19 22:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512586240001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386337646919548928,"note":"Value kept but may cause issues"} 
[2026-08-19 22:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728467492598069248,"note":"Value kept but may cause issues"} 
[2026-08-19 22:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787158548000,"timestamp_ms":1787158548000,"timestamp_seconds":1787158548,"priority":1,"record_length":96,"hex_timestamp":"000001a01af34e20"} 
[2026-08-19 22:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:26:42] 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-08-19 22:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512586240001,"66":27365,"191":206,"2":56576,"24":47,"16":386337646919548928,"45":1728467492598069248},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-19 22:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512586240001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:26:42] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 22:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386337646919548928,"km_value":386337646919548.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728467492598069248,"description":"Unknown IO ID 45"} 
[2026-08-19 22:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512586240001,"power":27365,"unknown_191":206,"power_alt":56576,"ignition":47,"odometer":null,"unknown_45":1728467492598069248}} 
[2026-08-19 22:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":158290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:26:42] local.INFO: GPS data processed {"connection_id":158290,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:26:42] local.INFO: Acknowledgment sent {"connection_id":158290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:26:44] local.INFO: TCP Data received {"connection_id":160472,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:26:44] local.INFO: Processing buffer {"connection_id":160472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:26:44] local.INFO: Packet analysis {"connection_id":160472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:26:44] local.INFO: Extracted packet for processing {"connection_id":160472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512449024001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787158305000,"timestamp_ms":1787158305000,"timestamp_seconds":1787158305,"priority":1,"record_length":96,"hex_timestamp":"000001a01aef98e8"} 
[2026-08-19 22:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:26:44] 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-08-19 22:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:26:44] 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-08-19 22:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512449024001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512449024001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:26:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:26:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512449024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":160472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:26:44] local.INFO: GPS data processed {"connection_id":160472,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:26:44] local.INFO: Acknowledgment sent {"connection_id":160472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:26:57] local.INFO: TCP Data received {"connection_id":157937,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:26:57] local.INFO: Processing buffer {"connection_id":157937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:26:57] local.INFO: IMEI packet received {"connection_id":157937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":157937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:26:58] local.INFO: TCP Data received {"connection_id":157937,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:26:58] local.INFO: Processing buffer {"connection_id":157937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:26:58] local.INFO: IMEI packet received {"connection_id":157937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":157937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:27:00] local.INFO: TCP Data received {"connection_id":157937,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:27:00] local.INFO: Processing buffer {"connection_id":157937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:27:00] local.INFO: IMEI packet received {"connection_id":157937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":157937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:27:03] local.INFO: TCP Data received {"connection_id":157937,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:27:03] local.INFO: Processing buffer {"connection_id":157937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:27:03] local.INFO: IMEI packet received {"connection_id":157937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":157937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:27:05] local.INFO: TCP Data received {"connection_id":157937,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af36590012d183cc006d61038000e005b30..."} 
[2026-08-19 22:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af36590012d183cc006d61038000e005b30..."} 
[2026-08-19 22:27:05] local.INFO: Processing buffer {"connection_id":157937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af36590012d183cc006d61038000e005b30..."} 
[2026-08-19 22:27:05] local.INFO: Packet analysis {"connection_id":157937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af3"} 
[2026-08-19 22:27:05] local.INFO: Extracted packet for processing {"connection_id":157937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af3"} 
[2026-08-19 22:27:05] local.INFO: GPS Element Parsed {"raw_longitude":756563136,"raw_latitude":114692152,"longitude_deg":75.6563136,"latitude_deg":11.4692152,"altitude":14,"angle":91,"satellites":48,"speed":44,"hex_longitude":"2d183cc0","hex_latitude":"06d61038","is_valid_coordinates":true} 
[2026-08-19 22:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512588288001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386337977632030720,"note":"Value kept but may cause issues"} 
[2026-08-19 22:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882066735745024,"note":"Value kept but may cause issues"} 
[2026-08-19 22:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787158554000,"timestamp_ms":1787158554000,"timestamp_seconds":1787158554,"priority":1,"record_length":96,"hex_timestamp":"000001a01af36590"} 
[2026-08-19 22:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:27: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-08-19 22:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 22:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512588288001,"66":27267,"191":206,"2":56576,"24":44,"16":386337977632030720,"45":1738882066735745024},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-19 22:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512588288001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:27:05] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 22:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386337977632030720,"km_value":386337977632030.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882066735745024,"description":"Unknown IO ID 45"} 
[2026-08-19 22:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512588288001,"power":27267,"unknown_191":206,"power_alt":56576,"ignition":44,"odometer":null,"unknown_45":1738882066735745024}} 
[2026-08-19 22:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":157937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:27:05] local.INFO: GPS data processed {"connection_id":157937,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:27:05] local.INFO: Acknowledgment sent {"connection_id":157937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:27:09] local.INFO: TCP Data received {"connection_id":157937,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af37148012d18488006d61158000e004f30..."} 
[2026-08-19 22:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af37148012d18488006d61158000e004f30..."} 
[2026-08-19 22:27:09] local.INFO: Processing buffer {"connection_id":157937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af37148012d18488006d61158000e004f30..."} 
[2026-08-19 22:27:09] local.INFO: Packet analysis {"connection_id":157937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af3"} 
[2026-08-19 22:27:09] local.INFO: Extracted packet for processing {"connection_id":157937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af3"} 
[2026-08-19 22:27:09] local.INFO: GPS Element Parsed {"raw_longitude":756566144,"raw_latitude":114692440,"longitude_deg":75.6566144,"latitude_deg":11.469244,"altitude":14,"angle":79,"satellites":48,"speed":36,"hex_longitude":"2d184880","hex_latitude":"06d61158","is_valid_coordinates":true} 
[2026-08-19 22:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512589824001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386338123660918784,"note":"Value kept but may cause issues"} 
[2026-08-19 22:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746481891106633728,"note":"Value kept but may cause issues"} 
[2026-08-19 22:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787158557000,"timestamp_ms":1787158557000,"timestamp_seconds":1787158557,"priority":1,"record_length":96,"hex_timestamp":"000001a01af37148"} 
[2026-08-19 22:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:27:09] 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-08-19 22:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512589824001,"66":27376,"191":206,"2":56576,"24":36,"16":386338123660918784,"45":1746481891106633728},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-19 22:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512589824001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:27:09] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 22:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386338123660918784,"km_value":386338123660918.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746481891106633728,"description":"Unknown IO ID 45"} 
[2026-08-19 22:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512589824001,"power":27376,"unknown_191":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":1746481891106633728}} 
[2026-08-19 22:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":157937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:27:09] local.INFO: GPS data processed {"connection_id":157937,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:27:09] local.INFO: Acknowledgment sent {"connection_id":157937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:27:12] local.INFO: TCP Data received {"connection_id":159150,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:27:12] local.INFO: Processing buffer {"connection_id":159150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:27:12] local.INFO: IMEI packet received {"connection_id":159150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":159150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:27:17] local.INFO: TCP Data received {"connection_id":159150,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:27:17] local.INFO: Processing buffer {"connection_id":159150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:27:17] local.INFO: IMEI packet received {"connection_id":159150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":159150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:27:18] local.INFO: TCP Data received {"connection_id":159150,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:27:18] local.INFO: Processing buffer {"connection_id":159150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:27:18] local.INFO: Packet analysis {"connection_id":159150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:27:18] local.INFO: Extracted packet for processing {"connection_id":159150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:27:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512449024001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787158305000,"timestamp_ms":1787158305000,"timestamp_seconds":1787158305,"priority":1,"record_length":96,"hex_timestamp":"000001a01aef98e8"} 
[2026-08-19 22:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:27:18] 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-08-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:27:18] 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-08-19 22: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-08-19 22:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512449024001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512449024001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:27:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:27:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512449024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":159150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:27:18] local.INFO: GPS data processed {"connection_id":159150,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:27:18] local.INFO: Acknowledgment sent {"connection_id":159150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:27:23] local.INFO: TCP Data received {"connection_id":159150,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:27:23] local.INFO: Processing buffer {"connection_id":159150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aef98e8012d196500071ff1280041014627..."} 
[2026-08-19 22:27:23] local.INFO: Packet analysis {"connection_id":159150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:27:23] local.INFO: Extracted packet for processing {"connection_id":159150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aef"} 
[2026-08-19 22:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512449024001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787158305000,"timestamp_ms":1787158305000,"timestamp_seconds":1787158305,"priority":1,"record_length":96,"hex_timestamp":"000001a01aef98e8"} 
[2026-08-19 22:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:27:23] 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-08-19 22:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:27:23] 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-08-19 22:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512449024001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512449024001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:27:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512449024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":159150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:27:23] local.INFO: GPS data processed {"connection_id":159150,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:27:23] local.INFO: Acknowledgment sent {"connection_id":159150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:27:41] local.INFO: TCP Data received {"connection_id":157937,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af39c40012d18648006d617e0000c004331..."} 
[2026-08-19 22:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af39c40012d18648006d617e0000c004331..."} 
[2026-08-19 22:27:41] local.INFO: Processing buffer {"connection_id":157937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af39c40012d18648006d617e0000c004331..."} 
[2026-08-19 22:27:41] local.INFO: Packet analysis {"connection_id":157937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af3"} 
[2026-08-19 22:27:41] local.INFO: Extracted packet for processing {"connection_id":157937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af3"} 
[2026-08-19 22:27:41] local.INFO: GPS Element Parsed {"raw_longitude":756573312,"raw_latitude":114694112,"longitude_deg":75.6573312,"latitude_deg":11.4694112,"altitude":12,"angle":67,"satellites":49,"speed":26,"hex_longitude":"2d186480","hex_latitude":"06d617e0","is_valid_coordinates":true} 
[2026-08-19 22:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512590592001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386338471553269760,"note":"Value kept but may cause issues"} 
[2026-08-19 22:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749789222083057664,"note":"Value kept but may cause issues"} 
[2026-08-19 22:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787158568000,"timestamp_ms":1787158568000,"timestamp_seconds":1787158568,"priority":1,"record_length":96,"hex_timestamp":"000001a01af39c40"} 
[2026-08-19 22:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:27: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-08-19 22:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 22:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":157937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":157937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":157937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512590592001,"66":27234,"191":206,"2":56576,"24":26,"16":386338471553269760,"45":1749789222083057664},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-19 22:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512590592001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:27:41] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 22:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386338471553269760,"km_value":386338471553269.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749789222083057664,"description":"Unknown IO ID 45"} 
[2026-08-19 22:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512590592001,"power":27234,"unknown_191":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":1749789222083057664}} 
[2026-08-19 22:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":157937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:27:41] local.INFO: GPS data processed {"connection_id":157937,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:27:41] local.INFO: Acknowledgment sent {"connection_id":157937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:27:58] local.INFO: TCP Data received {"connection_id":160473,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:27:58] local.INFO: Processing buffer {"connection_id":160473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:27:58] local.INFO: IMEI packet received {"connection_id":160473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":160473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:28:03] local.INFO: TCP Data received {"connection_id":160473,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:28:03] local.INFO: Processing buffer {"connection_id":160473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:28:03] local.INFO: IMEI packet received {"connection_id":160473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":160473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:28:05] local.INFO: TCP Data received {"connection_id":160473,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af3bf68012d187ec006d62130000d004f2f..."} 
[2026-08-19 22:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af3bf68012d187ec006d62130000d004f2f..."} 
[2026-08-19 22:28:05] local.INFO: Processing buffer {"connection_id":160473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af3bf68012d187ec006d62130000d004f2f..."} 
[2026-08-19 22:28:05] local.INFO: Packet analysis {"connection_id":160473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af3"} 
[2026-08-19 22:28:05] local.INFO: Extracted packet for processing {"connection_id":160473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af3"} 
[2026-08-19 22:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756580032,"raw_latitude":114696496,"longitude_deg":75.6580032,"latitude_deg":11.4696496,"altitude":13,"angle":79,"satellites":47,"speed":33,"hex_longitude":"2d187ec0","hex_latitude":"06d62130","is_valid_coordinates":true} 
[2026-08-19 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-08-19 22:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512593408001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386338815150653440,"note":"Value kept but may cause issues"} 
[2026-08-19 22:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757670521431384064,"note":"Value kept but may cause issues"} 
[2026-08-19 22:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787158577000,"timestamp_ms":1787158577000,"timestamp_seconds":1787158577,"priority":1,"record_length":96,"hex_timestamp":"000001a01af3bf68"} 
[2026-08-19 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-08-19 22:28: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-08-19 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 22:28:05] 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-08-19 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-08-19 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-08-19 22:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512593408001,"66":26832,"191":206,"2":56576,"24":33,"16":386338815150653440,"45":1757670521431384064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-19 22:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512593408001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:28:05] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 22:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386338815150653440,"km_value":386338815150653.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757670521431384064,"description":"Unknown IO ID 45"} 
[2026-08-19 22:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512593408001,"power":26832,"unknown_191":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":1757670521431384064}} 
[2026-08-19 22:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":160473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:28:05] local.INFO: GPS data processed {"connection_id":160473,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:28:05] local.INFO: Acknowledgment sent {"connection_id":160473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:28:07] local.INFO: TCP Data received {"connection_id":157938,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:28:07] local.INFO: Processing buffer {"connection_id":157938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:28:07] local.INFO: IMEI packet received {"connection_id":157938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":157938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:28:12] local.INFO: TCP Data received {"connection_id":157938,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:28:12] local.INFO: Processing buffer {"connection_id":157938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:28:12] local.INFO: IMEI packet received {"connection_id":157938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":157938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:28:13] local.INFO: TCP Data received {"connection_id":157938,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:28:13] local.INFO: Processing buffer {"connection_id":157938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:28:13] local.INFO: Packet analysis {"connection_id":157938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af4"} 
[2026-08-19 22:28:13] local.INFO: Extracted packet for processing {"connection_id":157938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af4"} 
[2026-08-19 22:28:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512526080001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158606000,"timestamp_ms":1787158606000,"timestamp_seconds":1787158606,"priority":1,"record_length":96,"hex_timestamp":"000001a01af430b0"} 
[2026-08-19 22:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512526080001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512526080001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:28:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:28:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512526080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":157938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:28:13] local.INFO: GPS data processed {"connection_id":157938,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:28:13] local.INFO: Acknowledgment sent {"connection_id":157938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:28:37] local.INFO: TCP Data received {"connection_id":160473,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af3c738012d18854006d62178000d005e2f..."} 
[2026-08-19 22:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af3c738012d18854006d62178000d005e2f..."} 
[2026-08-19 22:28:37] local.INFO: Processing buffer {"connection_id":160473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af3c738012d18854006d62178000d005e2f..."} 
[2026-08-19 22:28:37] local.INFO: Packet analysis {"connection_id":160473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af3"} 
[2026-08-19 22:28:37] local.INFO: Extracted packet for processing {"connection_id":160473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af3"} 
[2026-08-19 22:28:37] local.INFO: GPS Element Parsed {"raw_longitude":756581696,"raw_latitude":114696568,"longitude_deg":75.6581696,"latitude_deg":11.4696568,"altitude":13,"angle":94,"satellites":47,"speed":32,"hex_longitude":"2d188540","hex_latitude":"06d62178","is_valid_coordinates":true} 
[2026-08-19 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-08-19 22:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512595712001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386338892460064768,"note":"Value kept but may cause issues"} 
[2026-08-19 22:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765059239570649088,"note":"Value kept but may cause issues"} 
[2026-08-19 22:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787158579000,"timestamp_ms":1787158579000,"timestamp_seconds":1787158579,"priority":1,"record_length":96,"hex_timestamp":"000001a01af3c738"} 
[2026-08-19 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-08-19 22:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-19 22:28:37] 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-08-19 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-08-19 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-08-19 22:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512595712001,"66":27213,"191":206,"2":56576,"24":32,"16":386338892460064768,"45":1765059239570649088},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-19 22:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512595712001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:28:37] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 22:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386338892460064768,"km_value":386338892460064.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765059239570649088,"description":"Unknown IO ID 45"} 
[2026-08-19 22:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512595712001,"power":27213,"unknown_191":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":1765059239570649088}} 
[2026-08-19 22:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":160473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:28:37] local.INFO: GPS data processed {"connection_id":160473,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:28:37] local.INFO: Acknowledgment sent {"connection_id":160473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:28:44] local.INFO: TCP Data received {"connection_id":157938,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:28:44] local.INFO: Processing buffer {"connection_id":157938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:28:44] local.INFO: Packet analysis {"connection_id":157938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af4"} 
[2026-08-19 22:28:44] local.INFO: Extracted packet for processing {"connection_id":157938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af4"} 
[2026-08-19 22:28:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512526080001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787158606000,"timestamp_ms":1787158606000,"timestamp_seconds":1787158606,"priority":1,"record_length":96,"hex_timestamp":"000001a01af430b0"} 
[2026-08-19 22:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:28: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-08-19 22: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-08-19 22:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512526080001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512526080001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:28:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:28:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512526080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":157938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:28:45] local.INFO: GPS data processed {"connection_id":157938,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:28:45] local.INFO: Acknowledgment sent {"connection_id":157938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:28:58] local.INFO: TCP Data received {"connection_id":158291,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:28:58] local.INFO: Processing buffer {"connection_id":158291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:28:58] local.INFO: IMEI packet received {"connection_id":158291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":158291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:29:03] local.INFO: TCP Data received {"connection_id":158291,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:29:03] local.INFO: Processing buffer {"connection_id":158291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:29:03] local.INFO: IMEI packet received {"connection_id":158291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":158291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:29:04] local.INFO: TCP Data received {"connection_id":158291,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af55990012d19de0006d59f90000d007d30..."} 
[2026-08-19 22:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af55990012d19de0006d59f90000d007d30..."} 
[2026-08-19 22:29:04] local.INFO: Processing buffer {"connection_id":158291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af55990012d19de0006d59f90000d007d30..."} 
[2026-08-19 22:29:04] local.INFO: Packet analysis {"connection_id":158291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af5"} 
[2026-08-19 22:29:04] local.INFO: Extracted packet for processing {"connection_id":158291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af5"} 
[2026-08-19 22:29:04] local.INFO: GPS Element Parsed {"raw_longitude":756669952,"raw_latitude":114663312,"longitude_deg":75.6669952,"latitude_deg":11.4663312,"altitude":13,"angle":125,"satellites":48,"speed":23,"hex_longitude":"2d19de00","hex_latitude":"06d59f90","is_valid_coordinates":true} 
[2026-08-19 22:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512618752001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386343419355594752,"note":"Value kept but may cause issues"} 
[2026-08-19 22:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854849757134071808,"note":"Value kept but may cause issues"} 
[2026-08-19 22:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787158682000,"timestamp_ms":1787158682000,"timestamp_seconds":1787158682,"priority":1,"record_length":96,"hex_timestamp":"000001a01af55990"} 
[2026-08-19 22:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:29: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-08-19 22:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 22:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512618752001,"66":27267,"13":206,"2":56576,"24":23,"16":386343419355594752,"45":1854849757134071808},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-08-19 22:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512618752001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:29:04] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-19 22:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386343419355594752,"km_value":386343419355594.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854849757134071808,"description":"Unknown IO ID 45"} 
[2026-08-19 22:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512618752001,"power":27267,"unknown_13":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":1854849757134071808}} 
[2026-08-19 22:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":158291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:29:04] local.INFO: GPS data processed {"connection_id":158291,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:29:04] local.INFO: Acknowledgment sent {"connection_id":158291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:29:07] local.INFO: TCP Data received {"connection_id":160474,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:29:07] local.INFO: Processing buffer {"connection_id":160474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:29:07] local.INFO: IMEI packet received {"connection_id":160474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":160474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:29:12] local.INFO: TCP Data received {"connection_id":160474,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:29:12] local.INFO: Processing buffer {"connection_id":160474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:29:12] local.INFO: IMEI packet received {"connection_id":160474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":160474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:29:13] local.INFO: TCP Data received {"connection_id":160474,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:29:13] local.INFO: Processing buffer {"connection_id":160474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:29:13] local.INFO: Packet analysis {"connection_id":160474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af4"} 
[2026-08-19 22:29:13] local.INFO: Extracted packet for processing {"connection_id":160474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af4"} 
[2026-08-19 22:29:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512526080001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158606000,"timestamp_ms":1787158606000,"timestamp_seconds":1787158606,"priority":1,"record_length":96,"hex_timestamp":"000001a01af430b0"} 
[2026-08-19 22:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512526080001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512526080001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:29:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:29:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512526080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":160474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:29:13] local.INFO: GPS data processed {"connection_id":160474,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:29:13] local.INFO: Acknowledgment sent {"connection_id":160474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:29:36] local.INFO: TCP Data received {"connection_id":158291,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af58c58012d19fc0006d58808000b008332..."} 
[2026-08-19 22:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af58c58012d19fc0006d58808000b008332..."} 
[2026-08-19 22:29:36] local.INFO: Processing buffer {"connection_id":158291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af58c58012d19fc0006d58808000b008332..."} 
[2026-08-19 22:29:36] local.INFO: Packet analysis {"connection_id":158291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af5"} 
[2026-08-19 22:29:36] local.INFO: Extracted packet for processing {"connection_id":158291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af5"} 
[2026-08-19 22:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756677632,"raw_latitude":114657288,"longitude_deg":75.6677632,"latitude_deg":11.4657288,"altitude":11,"angle":131,"satellites":50,"speed":36,"hex_longitude":"2d19fc00","hex_latitude":"06d58808","is_valid_coordinates":true} 
[2026-08-19 22:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512622592001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386343891801997312,"note":"Value kept but may cause issues"} 
[2026-08-19 22:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863927325131771904,"note":"Value kept but may cause issues"} 
[2026-08-19 22:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787158695000,"timestamp_ms":1787158695000,"timestamp_seconds":1787158695,"priority":1,"record_length":96,"hex_timestamp":"000001a01af58c58"} 
[2026-08-19 22:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:29:36] 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-08-19 22:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512622592001,"66":27234,"13":206,"2":56576,"24":36,"16":386343891801997312,"45":1863927325131771904},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-08-19 22:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512622592001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:29:36] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-19 22:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386343891801997312,"km_value":386343891801997.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863927325131771904,"description":"Unknown IO ID 45"} 
[2026-08-19 22:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512622592001,"power":27234,"unknown_13":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":1863927325131771904}} 
[2026-08-19 22:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":158291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:29:36] local.INFO: GPS data processed {"connection_id":158291,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:29:36] local.INFO: Acknowledgment sent {"connection_id":158291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:29:44] local.INFO: TCP Data received {"connection_id":160474,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:29:44] local.INFO: Processing buffer {"connection_id":160474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:29:44] local.INFO: Packet analysis {"connection_id":160474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af4"} 
[2026-08-19 22:29:44] local.INFO: Extracted packet for processing {"connection_id":160474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af4"} 
[2026-08-19 22:29:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512526080001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787158606000,"timestamp_ms":1787158606000,"timestamp_seconds":1787158606,"priority":1,"record_length":96,"hex_timestamp":"000001a01af430b0"} 
[2026-08-19 22:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:29: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-08-19 22:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512526080001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512526080001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:29:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:29:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512526080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":160474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:29:45] local.INFO: GPS data processed {"connection_id":160474,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:29:45] local.INFO: Acknowledgment sent {"connection_id":160474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:29:58] local.INFO: TCP Data received {"connection_id":160475,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:29:58] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:29:58] local.INFO: IMEI packet received {"connection_id":160475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":160475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:29:58] local.INFO: TCP Data received {"connection_id":160475,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:29:58] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:29:58] local.INFO: IMEI packet received {"connection_id":160475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":160475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:30:03] local.INFO: TCP Data received {"connection_id":160475,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:30:03] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:30:03] local.INFO: IMEI packet received {"connection_id":160475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":160475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:30:05] local.INFO: TCP Data received {"connection_id":160475,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af5af80012d1a1a0006d57118000b007931..."} 
[2026-08-19 22:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af5af80012d1a1a0006d57118000b007931..."} 
[2026-08-19 22:30:05] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af5af80012d1a1a0006d57118000b007931..."} 
[2026-08-19 22:30:05] local.INFO: Packet analysis {"connection_id":160475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af5"} 
[2026-08-19 22:30:05] local.INFO: Extracted packet for processing {"connection_id":160475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af5"} 
[2026-08-19 22:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756685312,"raw_latitude":114651416,"longitude_deg":75.6685312,"latitude_deg":11.4651416,"altitude":11,"angle":121,"satellites":49,"speed":44,"hex_longitude":"2d1a1a00","hex_latitude":"06d57118","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512625920001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386344355658465280,"note":"Value kept but may cause issues"} 
[2026-08-19 22:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1872371574431549440,"note":"Value kept but may cause issues"} 
[2026-08-19 22:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787158704000,"timestamp_ms":1787158704000,"timestamp_seconds":1787158704,"priority":1,"record_length":96,"hex_timestamp":"000001a01af5af80"} 
[2026-08-19 22:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 22:30:05] 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-08-19 22: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-08-19 22:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512625920001,"66":27441,"13":206,"2":56576,"24":44,"16":386344355658465280,"45":1872371574431549440},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-08-19 22:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512625920001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:30:05] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-08-19 22:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386344355658465280,"km_value":386344355658465.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1872371574431549440,"description":"Unknown IO ID 45"} 
[2026-08-19 22:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512625920001,"power":27441,"unknown_13":206,"power_alt":56576,"ignition":44,"odometer":null,"unknown_45":1872371574431549440}} 
[2026-08-19 22:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":160475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:30:05] local.INFO: GPS data processed {"connection_id":160475,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:30:05] local.INFO: Acknowledgment sent {"connection_id":160475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:30:07] local.INFO: TCP Data received {"connection_id":159151,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:30:07] local.INFO: Processing buffer {"connection_id":159151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:30:07] local.INFO: IMEI packet received {"connection_id":159151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":159151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:30:12] local.INFO: TCP Data received {"connection_id":159151,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:30:12] local.INFO: Processing buffer {"connection_id":159151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:30:12] local.INFO: IMEI packet received {"connection_id":159151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":159151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:30:13] local.INFO: TCP Data received {"connection_id":159151,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:30:13] local.INFO: Processing buffer {"connection_id":159151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:30:13] local.INFO: Packet analysis {"connection_id":159151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af4"} 
[2026-08-19 22:30:13] local.INFO: Extracted packet for processing {"connection_id":159151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af4"} 
[2026-08-19 22:30:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512526080001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158606000,"timestamp_ms":1787158606000,"timestamp_seconds":1787158606,"priority":1,"record_length":96,"hex_timestamp":"000001a01af430b0"} 
[2026-08-19 22:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:30:13] 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-08-19 22:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512526080001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512526080001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:30:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:30:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512526080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":159151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:30:13] local.INFO: GPS data processed {"connection_id":159151,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:30:13] local.INFO: Acknowledgment sent {"connection_id":159151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:30:39] local.INFO: TCP Data received {"connection_id":160475,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af5cec0012d1a3cc006d55f78000d007430..."} 
[2026-08-19 22:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af5cec0012d1a3cc006d55f78000d007430..."} 
[2026-08-19 22:30:39] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af5cec0012d1a3cc006d55f78000d007430..."} 
[2026-08-19 22:30:39] local.INFO: Packet analysis {"connection_id":160475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af5"} 
[2026-08-19 22:30:39] local.INFO: Extracted packet for processing {"connection_id":160475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af5"} 
[2026-08-19 22:30:39] local.INFO: GPS Element Parsed {"raw_longitude":756694208,"raw_latitude":114646904,"longitude_deg":75.6694208,"latitude_deg":11.4646904,"altitude":13,"angle":116,"satellites":48,"speed":50,"hex_longitude":"2d1a3cc0","hex_latitude":"06d55f78","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512628224001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386344828104867840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1880815823731365888,"note":"Value kept but may cause issues"} 
[2026-08-19 22:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787158712000,"timestamp_ms":1787158712000,"timestamp_seconds":1787158712,"priority":1,"record_length":96,"hex_timestamp":"000001a01af5cec0"} 
[2026-08-19 22:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-08-19 22:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512628224001,"66":27376,"10":206,"2":56576,"24":50,"16":386344828104867840,"45":1880815823731365888},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-08-19 22:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512628224001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:30:39] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 22:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386344828104867840,"km_value":386344828104867.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1880815823731365888,"description":"Unknown IO ID 45"} 
[2026-08-19 22:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512628224001,"power":27376,"unknown_10":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":1880815823731365888}} 
[2026-08-19 22:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":160475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:30:39] local.INFO: GPS data processed {"connection_id":160475,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:30:39] local.INFO: Acknowledgment sent {"connection_id":160475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:30:44] local.INFO: TCP Data received {"connection_id":159151,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:30:44] local.INFO: Processing buffer {"connection_id":159151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:30:44] local.INFO: Packet analysis {"connection_id":159151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af4"} 
[2026-08-19 22:30:44] local.INFO: Extracted packet for processing {"connection_id":159151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af4"} 
[2026-08-19 22:30:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512526080001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787158606000,"timestamp_ms":1787158606000,"timestamp_seconds":1787158606,"priority":1,"record_length":96,"hex_timestamp":"000001a01af430b0"} 
[2026-08-19 22:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:30: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-08-19 22: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-08-19 22:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:30:44] 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-08-19 22:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512526080001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512526080001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:30:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:30:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512526080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":159151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:30:45] local.INFO: GPS data processed {"connection_id":159151,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:30:45] local.INFO: Acknowledgment sent {"connection_id":159151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:31:01] local.INFO: TCP Data received {"connection_id":158292,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:31:01] local.INFO: Processing buffer {"connection_id":158292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:31:01] local.INFO: IMEI packet received {"connection_id":158292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":158292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:31:03] local.INFO: TCP Data received {"connection_id":158292,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:31:03] local.INFO: Processing buffer {"connection_id":158292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:31:03] local.INFO: IMEI packet received {"connection_id":158292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":158292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:31:08] local.INFO: TCP Data received {"connection_id":158292,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:31:08] local.INFO: Processing buffer {"connection_id":158292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:31:08] local.INFO: IMEI packet received {"connection_id":158292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":158292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:31:10] local.INFO: TCP Data received {"connection_id":158292,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af5ee00012d1a5f4006d54d88000d00762f..."} 
[2026-08-19 22:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af5ee00012d1a5f4006d54d88000d00762f..."} 
[2026-08-19 22:31:10] local.INFO: Processing buffer {"connection_id":158292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af5ee00012d1a5f4006d54d88000d00762f..."} 
[2026-08-19 22:31:10] local.INFO: Packet analysis {"connection_id":158292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af5"} 
[2026-08-19 22:31:10] local.INFO: Extracted packet for processing {"connection_id":158292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af5"} 
[2026-08-19 22:31:10] local.INFO: GPS Element Parsed {"raw_longitude":756703040,"raw_latitude":114642312,"longitude_deg":75.670304,"latitude_deg":11.4642312,"altitude":13,"angle":118,"satellites":47,"speed":43,"hex_longitude":"2d1a5f40","hex_latitude":"06d54d88","is_valid_coordinates":true} 
[2026-08-19 22:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512630272001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386345304846237696,"note":"Value kept but may cause issues"} 
[2026-08-19 22:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890597079170906112,"note":"Value kept but may cause issues"} 
[2026-08-19 22:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787158720000,"timestamp_ms":1787158720000,"timestamp_seconds":1787158720,"priority":1,"record_length":96,"hex_timestamp":"000001a01af5ee00"} 
[2026-08-19 22:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:31: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-08-19 22:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 22:31:10] 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-08-19 22:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512630272001,"66":27245,"10":206,"2":56576,"24":43,"16":386345304846237696,"45":1890597079170906112},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-08-19 22:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512630272001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:31:10] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-19 22:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386345304846237696,"km_value":386345304846237.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890597079170906112,"description":"Unknown IO ID 45"} 
[2026-08-19 22:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512630272001,"power":27245,"unknown_10":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":1890597079170906112}} 
[2026-08-19 22:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":158292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:31:10] local.INFO: GPS data processed {"connection_id":158292,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:31:10] local.INFO: Acknowledgment sent {"connection_id":158292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:31:12] local.INFO: TCP Data received {"connection_id":157939,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:31:12] local.INFO: Processing buffer {"connection_id":157939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:31:12] local.INFO: IMEI packet received {"connection_id":157939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":157939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:31:17] local.INFO: TCP Data received {"connection_id":157939,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:31:17] local.INFO: Processing buffer {"connection_id":157939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:31:17] local.INFO: IMEI packet received {"connection_id":157939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":157939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:31:19] local.INFO: TCP Data received {"connection_id":157939,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:31:19] local.INFO: Processing buffer {"connection_id":157939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:31:19] local.INFO: Packet analysis {"connection_id":157939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af4"} 
[2026-08-19 22:31:19] local.INFO: Extracted packet for processing {"connection_id":157939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af4"} 
[2026-08-19 22:31:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512526080001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787158606000,"timestamp_ms":1787158606000,"timestamp_seconds":1787158606,"priority":1,"record_length":96,"hex_timestamp":"000001a01af430b0"} 
[2026-08-19 22:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":157939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":157939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":157939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512526080001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512526080001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:31:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:31:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512526080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":157939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:31:19] local.INFO: GPS data processed {"connection_id":157939,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:31:19] local.INFO: Acknowledgment sent {"connection_id":157939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:31:23] local.INFO: TCP Data received {"connection_id":157939,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:31:23] local.INFO: Processing buffer {"connection_id":157939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:31:23] local.INFO: Packet analysis {"connection_id":157939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af4"} 
[2026-08-19 22:31:23] local.INFO: Extracted packet for processing {"connection_id":157939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af4"} 
[2026-08-19 22:31:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512526080001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787158606000,"timestamp_ms":1787158606000,"timestamp_seconds":1787158606,"priority":1,"record_length":96,"hex_timestamp":"000001a01af430b0"} 
[2026-08-19 22:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":157939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":157939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":157939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512526080001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512526080001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:31:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:31:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512526080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":157939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:31:23] local.INFO: GPS data processed {"connection_id":157939,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:31:23] local.INFO: Acknowledgment sent {"connection_id":157939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:31:42] local.INFO: TCP Data received {"connection_id":158292,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af7f588012d1be88006d47aa0000e00962f..."} 
[2026-08-19 22:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af7f588012d1be88006d47aa0000e00962f..."} 
[2026-08-19 22:31:42] local.INFO: Processing buffer {"connection_id":158292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af7f588012d1be88006d47aa0000e00962f..."} 
[2026-08-19 22:31:42] local.INFO: Packet analysis {"connection_id":158292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af7"} 
[2026-08-19 22:31:42] local.INFO: Extracted packet for processing {"connection_id":158292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af7"} 
[2026-08-19 22:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756803712,"raw_latitude":114588320,"longitude_deg":75.6803712,"latitude_deg":11.458832,"altitude":14,"angle":150,"satellites":47,"speed":32,"hex_longitude":"2d1be880","hex_latitude":"06d47aa0","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512664320001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386350806699343872,"note":"Value kept but may cause issues"} 
[2026-08-19 22:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2006283294585237504,"note":"Value kept but may cause issues"} 
[2026-08-19 22:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787158853000,"timestamp_ms":1787158853000,"timestamp_seconds":1787158853,"priority":1,"record_length":96,"hex_timestamp":"000001a01af7f588"} 
[2026-08-19 22:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-19 22:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512664320001,"66":27376,"11":206,"2":56576,"24":32,"16":386350806699343872,"45":2006283294585237504},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-08-19 22:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512664320001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:31:42] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 22:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386350806699343872,"km_value":386350806699343.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2006283294585237504,"description":"Unknown IO ID 45"} 
[2026-08-19 22:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512664320001,"power":27376,"unknown_11":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":2006283294585237504}} 
[2026-08-19 22:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":158292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:31:42] local.INFO: GPS data processed {"connection_id":158292,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:31:42] local.INFO: Acknowledgment sent {"connection_id":158292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:32:03] local.INFO: TCP Data received {"connection_id":157940,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:32:03] local.INFO: Processing buffer {"connection_id":157940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:32:03] local.INFO: IMEI packet received {"connection_id":157940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":157940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:32:04] local.INFO: TCP Data received {"connection_id":157940,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:32:04] local.INFO: Processing buffer {"connection_id":157940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:32:04] local.INFO: IMEI packet received {"connection_id":157940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":157940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:32:07] local.INFO: TCP Data received {"connection_id":157941,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:32:07] local.INFO: Processing buffer {"connection_id":157941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:32:07] local.INFO: IMEI packet received {"connection_id":157941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":157941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:32:08] local.INFO: TCP Data received {"connection_id":157940,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:32:08] local.INFO: Processing buffer {"connection_id":157940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:32:08] local.INFO: IMEI packet received {"connection_id":157940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":157940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:32:10] local.INFO: TCP Data received {"connection_id":157940,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af80cf8012d1bf04006d46770001000a12c..."} 
[2026-08-19 22:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af80cf8012d1bf04006d46770001000a12c..."} 
[2026-08-19 22:32:10] local.INFO: Processing buffer {"connection_id":157940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af80cf8012d1bf04006d46770001000a12c..."} 
[2026-08-19 22:32:10] local.INFO: Packet analysis {"connection_id":157940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:32:10] local.INFO: Extracted packet for processing {"connection_id":157940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:32:10] local.INFO: GPS Element Parsed {"raw_longitude":756805696,"raw_latitude":114583408,"longitude_deg":75.6805696,"latitude_deg":11.4583408,"altitude":16,"angle":161,"satellites":44,"speed":36,"hex_longitude":"2d1bf040","hex_latitude":"06d46770","is_valid_coordinates":true} 
[2026-08-19 22:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512666368001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386351064397381632,"note":"Value kept but may cause issues"} 
[2026-08-19 22:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2010998000443891712,"note":"Value kept but may cause issues"} 
[2026-08-19 22:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787158859000,"timestamp_ms":1787158859000,"timestamp_seconds":1787158859,"priority":1,"record_length":96,"hex_timestamp":"000001a01af80cf8"} 
[2026-08-19 22:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:32: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-08-19 22:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 22:32:10] 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-08-19 22:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512666368001,"66":27376,"11":206,"2":56576,"24":36,"16":386351064397381632,"45":2010998000443891712},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-08-19 22:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512666368001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:32:10] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 22:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386351064397381632,"km_value":386351064397381.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2010998000443891712,"description":"Unknown IO ID 45"} 
[2026-08-19 22:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512666368001,"power":27376,"unknown_11":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":2010998000443891712}} 
[2026-08-19 22:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":157940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:32:10] local.INFO: GPS data processed {"connection_id":157940,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:32:10] local.INFO: Acknowledgment sent {"connection_id":157940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:32:12] local.INFO: TCP Data received {"connection_id":157941,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:32:12] local.INFO: Processing buffer {"connection_id":157941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:32:12] local.INFO: IMEI packet received {"connection_id":157941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":157941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:32:13] local.INFO: TCP Data received {"connection_id":157941,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:32:13] local.INFO: Processing buffer {"connection_id":157941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af430b0012d196500071ff1280041014624..."} 
[2026-08-19 22:32:13] local.INFO: Packet analysis {"connection_id":157941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af4"} 
[2026-08-19 22:32:13] local.INFO: Extracted packet for processing {"connection_id":157941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af4"} 
[2026-08-19 22:32:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512526080001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158606000,"timestamp_ms":1787158606000,"timestamp_seconds":1787158606,"priority":1,"record_length":96,"hex_timestamp":"000001a01af430b0"} 
[2026-08-19 22:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512526080001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512526080001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:32:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:32:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512526080001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":157941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:32:13] local.INFO: GPS data processed {"connection_id":157941,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:32:13] local.INFO: Acknowledgment sent {"connection_id":157941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:32:44] local.INFO: TCP Data received {"connection_id":157941,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:32:44] local.INFO: Processing buffer {"connection_id":157941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:32:44] local.INFO: Packet analysis {"connection_id":157941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:32:44] local.INFO: Extracted packet for processing {"connection_id":157941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:32:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512603136001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787158907000,"timestamp_ms":1787158907000,"timestamp_seconds":1787158907,"priority":1,"record_length":96,"hex_timestamp":"000001a01af8c878"} 
[2026-08-19 22:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:32: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-08-19 22:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:32:44] 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-08-19 22:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512603136001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512603136001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:32:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:32:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512603136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":157941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:32:44] local.INFO: GPS data processed {"connection_id":157941,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:32:44] local.INFO: Acknowledgment sent {"connection_id":157941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:32:44] local.INFO: TCP Data received {"connection_id":157940,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af818b0012d1bf4c006d45e18001100962f..."} 
[2026-08-19 22:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af818b0012d1bf4c006d45e18001100962f..."} 
[2026-08-19 22:32:44] local.INFO: Processing buffer {"connection_id":157940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af818b0012d1bf4c006d45e18001100962f..."} 
[2026-08-19 22:32:44] local.INFO: Packet analysis {"connection_id":157940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:32:44] local.INFO: Extracted packet for processing {"connection_id":157940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:32:44] local.INFO: GPS Element Parsed {"raw_longitude":756806848,"raw_latitude":114581016,"longitude_deg":75.6806848,"latitude_deg":11.4581016,"altitude":17,"angle":150,"satellites":47,"speed":34,"hex_longitude":"2d1bf4c0","hex_latitude":"06d45e18","is_valid_coordinates":true} 
[2026-08-19 22:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512667904001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386351193246400512,"note":"Value kept but may cause issues"} 
[2026-08-19 22:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2013179431512141824,"note":"Value kept but may cause issues"} 
[2026-08-19 22:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787158862000,"timestamp_ms":1787158862000,"timestamp_seconds":1787158862,"priority":1,"record_length":96,"hex_timestamp":"000001a01af818b0"} 
[2026-08-19 22:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:32: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-08-19 22:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 22:32:44] 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-08-19 22:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512667904001,"66":27180,"11":206,"2":56576,"24":34,"16":386351193246400512,"45":2013179431512141824},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-08-19 22:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512667904001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:32:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 22:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386351193246400512,"km_value":386351193246400.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2013179431512141824,"description":"Unknown IO ID 45"} 
[2026-08-19 22:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512667904001,"power":27180,"unknown_11":206,"power_alt":56576,"ignition":34,"odometer":null,"unknown_45":2013179431512141824}} 
[2026-08-19 22:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":157940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:32:44] local.INFO: GPS data processed {"connection_id":157940,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:32:44] local.INFO: Acknowledgment sent {"connection_id":157940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:32:59] local.INFO: TCP Data received {"connection_id":158293,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:32:59] local.INFO: Processing buffer {"connection_id":158293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:32:59] local.INFO: IMEI packet received {"connection_id":158293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":158293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:33:01] local.INFO: TCP Data received {"connection_id":158293,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:33:01] local.INFO: Processing buffer {"connection_id":158293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:33:01] local.INFO: IMEI packet received {"connection_id":158293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":158293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:33:03] local.INFO: TCP Data received {"connection_id":158293,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:33:03] local.INFO: Processing buffer {"connection_id":158293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:33:03] local.INFO: IMEI packet received {"connection_id":158293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":158293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:33:04] local.INFO: TCP Data received {"connection_id":158293,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af82850012d1bfd8006d452c0001100882e..."} 
[2026-08-19 22:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af82850012d1bfd8006d452c0001100882e..."} 
[2026-08-19 22:33:04] local.INFO: Processing buffer {"connection_id":158293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af82850012d1bfd8006d452c0001100882e..."} 
[2026-08-19 22:33:04] local.INFO: Packet analysis {"connection_id":158293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:33:04] local.INFO: Extracted packet for processing {"connection_id":158293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756809088,"raw_latitude":114578112,"longitude_deg":75.6809088,"latitude_deg":11.4578112,"altitude":17,"angle":136,"satellites":46,"speed":36,"hex_longitude":"2d1bfd80","hex_latitude":"06d452c0","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512668672001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386351369340059648,"note":"Value kept but may cause issues"} 
[2026-08-19 22:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2014446068906727424,"note":"Value kept but may cause issues"} 
[2026-08-19 22:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787158866000,"timestamp_ms":1787158866000,"timestamp_seconds":1787158866,"priority":1,"record_length":96,"hex_timestamp":"000001a01af82850"} 
[2026-08-19 22:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:33: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-08-19 22: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-19 22:33:04] 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-08-19 22: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-08-19 22:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512668672001,"66":27213,"11":206,"2":56576,"24":36,"16":386351369340059648,"45":2014446068906727424},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-08-19 22:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512668672001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:33:04] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 22:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386351369340059648,"km_value":386351369340059.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2014446068906727424,"description":"Unknown IO ID 45"} 
[2026-08-19 22:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512668672001,"power":27213,"unknown_11":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":2014446068906727424}} 
[2026-08-19 22:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":158293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:33:04] local.INFO: GPS data processed {"connection_id":158293,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:33:04] local.INFO: Acknowledgment sent {"connection_id":158293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:33:08] local.INFO: TCP Data received {"connection_id":159152,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:33:08] local.INFO: Processing buffer {"connection_id":159152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:33:08] local.INFO: IMEI packet received {"connection_id":159152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":159152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:33:12] local.INFO: TCP Data received {"connection_id":159152,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:33:12] local.INFO: Processing buffer {"connection_id":159152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:33:12] local.INFO: IMEI packet received {"connection_id":159152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":159152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:33:13] local.INFO: TCP Data received {"connection_id":159152,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:33:13] local.INFO: Processing buffer {"connection_id":159152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:33:13] local.INFO: Packet analysis {"connection_id":159152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:33:13] local.INFO: Extracted packet for processing {"connection_id":159152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:33:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512603136001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158907000,"timestamp_ms":1787158907000,"timestamp_seconds":1787158907,"priority":1,"record_length":96,"hex_timestamp":"000001a01af8c878"} 
[2026-08-19 22:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:33:13] 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-08-19 22:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:33:13] 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-08-19 22:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512603136001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512603136001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:33:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:33:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512603136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":159152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:33:14] local.INFO: GPS data processed {"connection_id":159152,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:33:14] local.INFO: Acknowledgment sent {"connection_id":159152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:33:36] local.INFO: TCP Data received {"connection_id":158293,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af83fc0012d1c0b0006d447200010007c30..."} 
[2026-08-19 22:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af83fc0012d1c0b0006d447200010007c30..."} 
[2026-08-19 22:33:36] local.INFO: Processing buffer {"connection_id":158293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af83fc0012d1c0b0006d447200010007c30..."} 
[2026-08-19 22:33:36] local.INFO: Packet analysis {"connection_id":158293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:33:36] local.INFO: Extracted packet for processing {"connection_id":158293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756812544,"raw_latitude":114575136,"longitude_deg":75.6812544,"latitude_deg":11.4575136,"altitude":16,"angle":124,"satellites":48,"speed":26,"hex_longitude":"2d1c0b00","hex_latitude":"06d44720","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512669696001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386351584088424448,"note":"Value kept but may cause issues"} 
[2026-08-19 22:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2016908974952202240,"note":"Value kept but may cause issues"} 
[2026-08-19 22:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787158872000,"timestamp_ms":1787158872000,"timestamp_seconds":1787158872,"priority":1,"record_length":96,"hex_timestamp":"000001a01af83fc0"} 
[2026-08-19 22:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:33: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-08-19 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 22:33:36] 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-08-19 22: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-08-19 22:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512669696001,"66":27376,"11":206,"2":56576,"24":26,"16":386351584088424448,"45":2016908974952202240},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-08-19 22:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512669696001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:33:36] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 22:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386351584088424448,"km_value":386351584088424.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2016908974952202240,"description":"Unknown IO ID 45"} 
[2026-08-19 22:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512669696001,"power":27376,"unknown_11":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":2016908974952202240}} 
[2026-08-19 22:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":158293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:33:36] local.INFO: GPS data processed {"connection_id":158293,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:33:36] local.INFO: Acknowledgment sent {"connection_id":158293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:33:45] local.INFO: TCP Data received {"connection_id":159152,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:33:45] local.INFO: Processing buffer {"connection_id":159152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:33:45] local.INFO: Packet analysis {"connection_id":159152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:33:45] local.INFO: Extracted packet for processing {"connection_id":159152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512603136001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787158907000,"timestamp_ms":1787158907000,"timestamp_seconds":1787158907,"priority":1,"record_length":96,"hex_timestamp":"000001a01af8c878"} 
[2026-08-19 22:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:33:45] 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-08-19 22:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:33:45] 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-08-19 22:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512603136001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512603136001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:33:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512603136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":159152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:33:45] local.INFO: GPS data processed {"connection_id":159152,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:33:45] local.INFO: Acknowledgment sent {"connection_id":159152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:34:03] local.INFO: TCP Data received {"connection_id":160476,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:34:03] local.INFO: Processing buffer {"connection_id":160476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:34:03] local.INFO: IMEI packet received {"connection_id":160476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":160476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:34:05] local.INFO: TCP Data received {"connection_id":160476,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:34:05] local.INFO: Processing buffer {"connection_id":160476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:34:05] local.INFO: IMEI packet received {"connection_id":160476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":160476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:34:07] local.INFO: TCP Data received {"connection_id":160476,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af86ea0012d1c294006d43198000f008030..."} 
[2026-08-19 22:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af86ea0012d1c294006d43198000f008030..."} 
[2026-08-19 22:34:07] local.INFO: Processing buffer {"connection_id":160476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af86ea0012d1c294006d43198000f008030..."} 
[2026-08-19 22:34:07] local.INFO: Packet analysis {"connection_id":160476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:34:07] local.INFO: Extracted packet for processing {"connection_id":160476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756820288,"raw_latitude":114569624,"longitude_deg":75.6820288,"latitude_deg":11.4569624,"altitude":15,"angle":128,"satellites":48,"speed":26,"hex_longitude":"2d1c2940","hex_latitude":"06d43198","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512671232001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386352043649925120,"note":"Value kept but may cause issues"} 
[2026-08-19 22:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2020708887137034240,"note":"Value kept but may cause issues"} 
[2026-08-19 22:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787158884000,"timestamp_ms":1787158884000,"timestamp_seconds":1787158884,"priority":1,"record_length":96,"hex_timestamp":"000001a01af86ea0"} 
[2026-08-19 22:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:34: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-08-19 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 22:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512671232001,"66":27267,"11":206,"2":56576,"24":26,"16":386352043649925120,"45":2020708887137034240},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-08-19 22:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512671232001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:34:07] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-19 22:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386352043649925120,"km_value":386352043649925.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2020708887137034240,"description":"Unknown IO ID 45"} 
[2026-08-19 22:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512671232001,"power":27267,"unknown_11":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":2020708887137034240}} 
[2026-08-19 22:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":160476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:34:07] local.INFO: GPS data processed {"connection_id":160476,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:34:07] local.INFO: Acknowledgment sent {"connection_id":160476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:34:07] local.INFO: TCP Data received {"connection_id":157942,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:34:07] local.INFO: Processing buffer {"connection_id":157942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:34:07] local.INFO: IMEI packet received {"connection_id":157942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":157942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:34:08] local.INFO: TCP Data received {"connection_id":160476,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af8c0a8012d1c438006d41bd8001000782f..."} 
[2026-08-19 22:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af8c0a8012d1c438006d41bd8001000782f..."} 
[2026-08-19 22:34:08] local.INFO: Processing buffer {"connection_id":160476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af8c0a8012d1c438006d41bd8001000782f..."} 
[2026-08-19 22:34:08] local.INFO: Packet analysis {"connection_id":160476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:34:08] local.INFO: Extracted packet for processing {"connection_id":160476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:34:08] local.INFO: GPS Element Parsed {"raw_longitude":756827008,"raw_latitude":114564056,"longitude_deg":75.6827008,"latitude_deg":11.4564056,"altitude":16,"angle":120,"satellites":47,"speed":17,"hex_longitude":"2d1c4380","hex_latitude":"06d41bd8","is_valid_coordinates":true} 
[2026-08-19 22:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512674304001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386352460261752832,"note":"Value kept but may cause issues"} 
[2026-08-19 22:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2029223505181120512,"note":"Value kept but may cause issues"} 
[2026-08-19 22:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787158905000,"timestamp_ms":1787158905000,"timestamp_seconds":1787158905,"priority":1,"record_length":96,"hex_timestamp":"000001a01af8c0a8"} 
[2026-08-19 22:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:34: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-08-19 22:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512674304001,"66":27376,"113":206,"2":56576,"24":17,"16":386352460261752832,"45":2029223505181120512},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-08-19 22:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512674304001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:34:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-19 22:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386352460261752832,"km_value":386352460261752.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2029223505181120512,"description":"Unknown IO ID 45"} 
[2026-08-19 22:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512674304001,"power":27376,"unknown_113":206,"power_alt":56576,"ignition":17,"odometer":null,"unknown_45":2029223505181120512}} 
[2026-08-19 22:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":160476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:34:08] local.INFO: GPS data processed {"connection_id":160476,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:34:08] local.INFO: Acknowledgment sent {"connection_id":160476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:34:12] local.INFO: TCP Data received {"connection_id":157942,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:34:12] local.INFO: Processing buffer {"connection_id":157942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:34:12] local.INFO: IMEI packet received {"connection_id":157942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":157942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:34:13] local.INFO: TCP Data received {"connection_id":157942,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:34:13] local.INFO: Processing buffer {"connection_id":157942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:34:13] local.INFO: Packet analysis {"connection_id":157942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:34:13] local.INFO: Extracted packet for processing {"connection_id":157942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:34:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512603136001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158907000,"timestamp_ms":1787158907000,"timestamp_seconds":1787158907,"priority":1,"record_length":96,"hex_timestamp":"000001a01af8c878"} 
[2026-08-19 22:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:34:13] 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-08-19 22:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:34:13] 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-08-19 22:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512603136001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512603136001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:34:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:34:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512603136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":157942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:34:13] local.INFO: GPS data processed {"connection_id":157942,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:34:13] local.INFO: Acknowledgment sent {"connection_id":157942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:34:40] local.INFO: TCP Data received {"connection_id":160476,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01af90ec8012d1c638006d40c20000f00712f..."} 
[2026-08-19 22:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af90ec8012d1c638006d40c20000f00712f..."} 
[2026-08-19 22:34:40] local.INFO: Processing buffer {"connection_id":160476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af90ec8012d1c638006d40c20000f00712f..."} 
[2026-08-19 22:34:40] local.INFO: Packet analysis {"connection_id":160476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af9"} 
[2026-08-19 22:34:40] local.INFO: Extracted packet for processing {"connection_id":160476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af9"} 
[2026-08-19 22:34:40] local.INFO: GPS Element Parsed {"raw_longitude":756835200,"raw_latitude":114560032,"longitude_deg":75.68352,"latitude_deg":11.4560032,"altitude":15,"angle":113,"satellites":47,"speed":22,"hex_longitude":"2d1c6380","hex_latitude":"06d40c20","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512679680001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386352898348417024,"note":"Value kept but may cause issues"} 
[2026-08-19 22:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2036612223318349824,"note":"Value kept but may cause issues"} 
[2026-08-19 22:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787158925000,"timestamp_ms":1787158925000,"timestamp_seconds":1787158925,"priority":1,"record_length":96,"hex_timestamp":"000001a01af90ec8"} 
[2026-08-19 22:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 22:34:40] 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-08-19 22: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-08-19 22:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512679680001,"66":27321,"113":206,"2":56576,"24":22,"16":386352898348417024,"45":2036612223318349824},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-08-19 22:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512679680001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:34:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-19 22:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386352898348417024,"km_value":386352898348417.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2036612223318349824,"description":"Unknown IO ID 45"} 
[2026-08-19 22:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512679680001,"power":27321,"unknown_113":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":2036612223318349824}} 
[2026-08-19 22:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":160476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:34:40] local.INFO: GPS data processed {"connection_id":160476,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:34:40] local.INFO: Acknowledgment sent {"connection_id":160476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:34:44] local.INFO: TCP Data received {"connection_id":157942,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:34:44] local.INFO: Processing buffer {"connection_id":157942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:34:44] local.INFO: Packet analysis {"connection_id":157942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:34:44] local.INFO: Extracted packet for processing {"connection_id":157942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:34:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512603136001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787158907000,"timestamp_ms":1787158907000,"timestamp_seconds":1787158907,"priority":1,"record_length":96,"hex_timestamp":"000001a01af8c878"} 
[2026-08-19 22:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:34: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-08-19 22:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:34:44] 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-08-19 22:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512603136001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512603136001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:34:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:34:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512603136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":157942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:34:45] local.INFO: GPS data processed {"connection_id":157942,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:34:45] local.INFO: Acknowledgment sent {"connection_id":157942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:34:47] local.INFO: TCP Data received {"connection_id":160477,"ip":"85.217.149.36","data_length":8,"data_hex":"3030303030303030..."} 
[2026-08-19 22:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160477,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-08-19 22:34:47] local.INFO: Processing buffer {"connection_id":160477,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-08-19 22:34:58] local.INFO: TCP Data received {"connection_id":160478,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:34:58] local.INFO: Processing buffer {"connection_id":160478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:34:58] local.INFO: IMEI packet received {"connection_id":160478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":160478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:35:03] local.INFO: TCP Data received {"connection_id":160478,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:35:03] local.INFO: Processing buffer {"connection_id":160478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:35:03] local.INFO: IMEI packet received {"connection_id":160478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":160478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:35:05] local.INFO: TCP Data received {"connection_id":160478,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01afabc78012d1d0c8006d31bf8001100932f..."} 
[2026-08-19 22:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afabc78012d1d0c8006d31bf8001100932f..."} 
[2026-08-19 22:35:05] local.INFO: Processing buffer {"connection_id":160478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afabc78012d1d0c8006d31bf8001100932f..."} 
[2026-08-19 22:35:05] local.INFO: Packet analysis {"connection_id":160478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afa"} 
[2026-08-19 22:35:05] local.INFO: Extracted packet for processing {"connection_id":160478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afa"} 
[2026-08-19 22:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756878464,"raw_latitude":114498552,"longitude_deg":75.6878464,"latitude_deg":11.4498552,"altitude":17,"angle":147,"satellites":47,"speed":23,"hex_longitude":"2d1d0c80","hex_latitude":"06d31bf8","is_valid_coordinates":true} 
[2026-08-19 22:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512709376001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386356604905193472,"note":"Value kept but may cause issues"} 
[2026-08-19 22:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2087348087855638528,"note":"Value kept but may cause issues"} 
[2026-08-19 22:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787159035000,"timestamp_ms":1787159035000,"timestamp_seconds":1787159035,"priority":1,"record_length":96,"hex_timestamp":"000001a01afabc78"} 
[2026-08-19 22:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 22:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512709376001,"66":27376,"113":206,"2":56576,"24":23,"16":386356604905193472,"45":2087348087855638528},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-08-19 22:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512709376001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:35:05] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-19 22:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386356604905193472,"km_value":386356604905193.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2087348087855638528,"description":"Unknown IO ID 45"} 
[2026-08-19 22:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512709376001,"power":27376,"unknown_113":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":2087348087855638528}} 
[2026-08-19 22:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":160478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:35:05] local.INFO: GPS data processed {"connection_id":160478,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:35:05] local.INFO: Acknowledgment sent {"connection_id":160478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:35:07] local.INFO: TCP Data received {"connection_id":157943,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:35:07] local.INFO: Processing buffer {"connection_id":157943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:35:07] local.INFO: IMEI packet received {"connection_id":157943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":157943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:35:12] local.INFO: TCP Data received {"connection_id":157943,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:35:12] local.INFO: Processing buffer {"connection_id":157943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:35:12] local.INFO: IMEI packet received {"connection_id":157943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":157943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:35:13] local.INFO: TCP Data received {"connection_id":157943,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:35:13] local.INFO: Processing buffer {"connection_id":157943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:35:13] local.INFO: Packet analysis {"connection_id":157943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:35:13] local.INFO: Extracted packet for processing {"connection_id":157943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:35:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512603136001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158907000,"timestamp_ms":1787158907000,"timestamp_seconds":1787158907,"priority":1,"record_length":96,"hex_timestamp":"000001a01af8c878"} 
[2026-08-19 22:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:35:13] 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-08-19 22:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:35:13] 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-08-19 22:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512603136001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512603136001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:35:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:35:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512603136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":157943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:35:13] local.INFO: GPS data processed {"connection_id":157943,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:35:13] local.INFO: Acknowledgment sent {"connection_id":157943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:35:37] local.INFO: TCP Data received {"connection_id":160478,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01afaf328012d1d22c006d2fe18001000912f..."} 
[2026-08-19 22:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afaf328012d1d22c006d2fe18001000912f..."} 
[2026-08-19 22:35:37] local.INFO: Processing buffer {"connection_id":160478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afaf328012d1d22c006d2fe18001000912f..."} 
[2026-08-19 22:35:37] local.INFO: Packet analysis {"connection_id":160478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afa"} 
[2026-08-19 22:35:37] local.INFO: Extracted packet for processing {"connection_id":160478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afa"} 
[2026-08-19 22:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756884160,"raw_latitude":114490904,"longitude_deg":75.688416,"latitude_deg":11.4490904,"altitude":16,"angle":145,"satellites":47,"speed":29,"hex_longitude":"2d1d22c0","hex_latitude":"06d2fe18","is_valid_coordinates":true} 
[2026-08-19 22:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512712960001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386357064466694144,"note":"Value kept but may cause issues"} 
[2026-08-19 22:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2093188693620422656,"note":"Value kept but may cause issues"} 
[2026-08-19 22:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787159049000,"timestamp_ms":1787159049000,"timestamp_seconds":1787159049,"priority":1,"record_length":96,"hex_timestamp":"000001a01afaf328"} 
[2026-08-19 22:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 22:35:37] 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-08-19 22:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512712960001,"66":27376,"113":206,"2":56576,"24":29,"16":386357064466694144,"45":2093188693620422656},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-08-19 22:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512712960001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:35:37] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-19 22:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386357064466694144,"km_value":386357064466694.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2093188693620422656,"description":"Unknown IO ID 45"} 
[2026-08-19 22:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512712960001,"power":27376,"unknown_113":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":2093188693620422656}} 
[2026-08-19 22:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":160478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:35:37] local.INFO: GPS data processed {"connection_id":160478,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:35:37] local.INFO: Acknowledgment sent {"connection_id":160478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:35:44] local.INFO: TCP Data received {"connection_id":157943,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:35:44] local.INFO: Processing buffer {"connection_id":157943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:35:44] local.INFO: Packet analysis {"connection_id":157943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:35:44] local.INFO: Extracted packet for processing {"connection_id":157943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:35:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512603136001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787158907000,"timestamp_ms":1787158907000,"timestamp_seconds":1787158907,"priority":1,"record_length":96,"hex_timestamp":"000001a01af8c878"} 
[2026-08-19 22:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:35: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-08-19 22:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:35:44] 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-08-19 22:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512603136001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512603136001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:35:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:35:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512603136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":157943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:35:44] local.INFO: GPS data processed {"connection_id":157943,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:35:44] local.INFO: Acknowledgment sent {"connection_id":157943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:35:57] local.INFO: TCP Data received {"connection_id":157944,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:35:57] local.INFO: Processing buffer {"connection_id":157944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:35:57] local.INFO: IMEI packet received {"connection_id":157944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":157944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:35:58] local.INFO: TCP Data received {"connection_id":157944,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:35:58] local.INFO: Processing buffer {"connection_id":157944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:35:58] local.INFO: IMEI packet received {"connection_id":157944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":157944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:36:03] local.INFO: TCP Data received {"connection_id":157944,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:36:03] local.INFO: Processing buffer {"connection_id":157944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:36:03] local.INFO: IMEI packet received {"connection_id":157944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":157944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:36:05] local.INFO: TCP Data received {"connection_id":157944,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01afb0e80012d1d2c8006d2ebc80010009d2e..."} 
[2026-08-19 22:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afb0e80012d1d2c8006d2ebc80010009d2e..."} 
[2026-08-19 22:36:05] local.INFO: Processing buffer {"connection_id":157944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afb0e80012d1d2c8006d2ebc80010009d2e..."} 
[2026-08-19 22:36:05] local.INFO: Packet analysis {"connection_id":157944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afb"} 
[2026-08-19 22:36:05] local.INFO: Extracted packet for processing {"connection_id":157944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afb"} 
[2026-08-19 22:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756886656,"raw_latitude":114486216,"longitude_deg":75.6886656,"latitude_deg":11.4486216,"altitude":16,"angle":157,"satellites":46,"speed":32,"hex_longitude":"2d1d2c80","hex_latitude":"06d2ebc8","is_valid_coordinates":true} 
[2026-08-19 22:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512716544001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386357322164731904,"note":"Value kept but may cause issues"} 
[2026-08-19 22:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2099451511850276864,"note":"Value kept but may cause issues"} 
[2026-08-19 22:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787159056000,"timestamp_ms":1787159056000,"timestamp_seconds":1787159056,"priority":1,"record_length":96,"hex_timestamp":"000001a01afb0e80"} 
[2026-08-19 22:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:36: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-08-19 22:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 22:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512716544001,"66":27234,"113":206,"2":56576,"24":32,"16":386357322164731904,"45":2099451511850276864},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,2,24,16,45]} 
[2026-08-19 22:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512716544001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:36:05] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-19 22:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386357322164731904,"km_value":386357322164731.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2099451511850276864,"description":"Unknown IO ID 45"} 
[2026-08-19 22:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512716544001,"power":27234,"unknown_113":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":2099451511850276864}} 
[2026-08-19 22:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":157944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:36:05] local.INFO: GPS data processed {"connection_id":157944,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:36:05] local.INFO: Acknowledgment sent {"connection_id":157944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:36:12] local.INFO: TCP Data received {"connection_id":160479,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:36:12] local.INFO: Processing buffer {"connection_id":160479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:36:12] local.INFO: IMEI packet received {"connection_id":160479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":160479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:36:17] local.INFO: TCP Data received {"connection_id":160479,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:36:17] local.INFO: Processing buffer {"connection_id":160479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:36:17] local.INFO: IMEI packet received {"connection_id":160479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":160479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:36:18] local.INFO: TCP Data received {"connection_id":160479,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:36:18] local.INFO: Processing buffer {"connection_id":160479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:36:18] local.INFO: Packet analysis {"connection_id":160479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:36:18] local.INFO: Extracted packet for processing {"connection_id":160479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:36:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512603136001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787158907000,"timestamp_ms":1787158907000,"timestamp_seconds":1787158907,"priority":1,"record_length":96,"hex_timestamp":"000001a01af8c878"} 
[2026-08-19 22:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:36:18] 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-08-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:36:18] 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-08-19 22: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-08-19 22:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512603136001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512603136001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:36:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:36:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512603136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":160479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:36:18] local.INFO: GPS data processed {"connection_id":160479,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:36:18] local.INFO: Acknowledgment sent {"connection_id":160479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:36:23] local.INFO: TCP Data received {"connection_id":160479,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:36:23] local.INFO: Processing buffer {"connection_id":160479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:36:23] local.INFO: Packet analysis {"connection_id":160479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:36:23] local.INFO: Extracted packet for processing {"connection_id":160479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512603136001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787158907000,"timestamp_ms":1787158907000,"timestamp_seconds":1787158907,"priority":1,"record_length":96,"hex_timestamp":"000001a01af8c878"} 
[2026-08-19 22:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:36:23] 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-08-19 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:36:23] 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-08-19 22: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-08-19 22:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512603136001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512603136001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:36:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512603136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":160479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:36:23] local.INFO: GPS data processed {"connection_id":160479,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:36:23] local.INFO: Acknowledgment sent {"connection_id":160479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:36:37] local.INFO: TCP Data received {"connection_id":157944,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01afb54d0012d1d384006d2ca98001300962f..."} 
[2026-08-19 22:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afb54d0012d1d384006d2ca98001300962f..."} 
[2026-08-19 22:36:37] local.INFO: Processing buffer {"connection_id":157944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afb54d0012d1d384006d2ca98001300962f..."} 
[2026-08-19 22:36:37] local.INFO: Packet analysis {"connection_id":157944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afb"} 
[2026-08-19 22:36:37] local.INFO: Extracted packet for processing {"connection_id":157944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afb"} 
[2026-08-19 22:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756889664,"raw_latitude":114477720,"longitude_deg":75.6889664,"latitude_deg":11.447772,"altitude":19,"angle":150,"satellites":47,"speed":25,"hex_longitude":"2d1d3840","hex_latitude":"06d2ca98","is_valid_coordinates":true} 
[2026-08-19 22:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512718336001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386357760251396096,"note":"Value kept but may cause issues"} 
[2026-08-19 22:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2102195892872005632,"note":"Value kept but may cause issues"} 
[2026-08-19 22:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787159074000,"timestamp_ms":1787159074000,"timestamp_seconds":1787159074,"priority":1,"record_length":96,"hex_timestamp":"000001a01afb54d0"} 
[2026-08-19 22:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 22:36:37] 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-08-19 22:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":157944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":157944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":157944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512718336001,"66":27343,"110":206,"2":56576,"24":25,"16":386357760251396096,"45":2102195892872005632},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,45]} 
[2026-08-19 22:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512718336001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:36:37] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 22:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386357760251396096,"km_value":386357760251396.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2102195892872005632,"description":"Unknown IO ID 45"} 
[2026-08-19 22:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512718336001,"power":27343,"unknown_110":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":2102195892872005632}} 
[2026-08-19 22:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":157944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:36:37] local.INFO: GPS data processed {"connection_id":157944,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:36:37] local.INFO: Acknowledgment sent {"connection_id":157944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:36:58] local.INFO: TCP Data received {"connection_id":158294,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:36:58] local.INFO: Processing buffer {"connection_id":158294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:36:58] local.INFO: IMEI packet received {"connection_id":158294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":158294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:37:03] local.INFO: TCP Data received {"connection_id":158294,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:37:03] local.INFO: Processing buffer {"connection_id":158294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:37:03] local.INFO: IMEI packet received {"connection_id":158294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":158294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:37:05] local.INFO: TCP Data received {"connection_id":158294,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01afb83b0012d1d4c4006d2aac80011009630..."} 
[2026-08-19 22:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afb83b0012d1d4c4006d2aac80011009630..."} 
[2026-08-19 22:37:05] local.INFO: Processing buffer {"connection_id":158294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afb83b0012d1d4c4006d2aac80011009630..."} 
[2026-08-19 22:37:05] local.INFO: Packet analysis {"connection_id":158294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afb"} 
[2026-08-19 22:37:05] local.INFO: Extracted packet for processing {"connection_id":158294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afb"} 
[2026-08-19 22:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756894784,"raw_latitude":114469576,"longitude_deg":75.6894784,"latitude_deg":11.4469576,"altitude":17,"angle":150,"satellites":48,"speed":39,"hex_longitude":"2d1d4c40","hex_latitude":"06d2aac8","is_valid_coordinates":true} 
[2026-08-19 22:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512722944001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386358224107864064,"note":"Value kept but may cause issues"} 
[2026-08-19 22:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2105503223846180864,"note":"Value kept but may cause issues"} 
[2026-08-19 22:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787159086000,"timestamp_ms":1787159086000,"timestamp_seconds":1787159086,"priority":1,"record_length":96,"hex_timestamp":"000001a01afb83b0"} 
[2026-08-19 22:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:37: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-08-19 22:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 22:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512722944001,"66":27484,"110":206,"2":56576,"24":39,"16":386358224107864064,"45":2105503223846180864},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,45]} 
[2026-08-19 22:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512722944001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:37:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-19 22:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386358224107864064,"km_value":386358224107864.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2105503223846180864,"description":"Unknown IO ID 45"} 
[2026-08-19 22:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512722944001,"power":27484,"unknown_110":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":2105503223846180864}} 
[2026-08-19 22:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":158294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:37:05] local.INFO: GPS data processed {"connection_id":158294,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:37:05] local.INFO: Acknowledgment sent {"connection_id":158294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:37:07] local.INFO: TCP Data received {"connection_id":160480,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:37:07] local.INFO: Processing buffer {"connection_id":160480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:37:07] local.INFO: IMEI packet received {"connection_id":160480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":160480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:37:12] local.INFO: TCP Data received {"connection_id":160480,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:37:12] local.INFO: Processing buffer {"connection_id":160480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:37:12] local.INFO: IMEI packet received {"connection_id":160480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":160480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:37:13] local.INFO: TCP Data received {"connection_id":160480,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:37:13] local.INFO: Processing buffer {"connection_id":160480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01af8c878012d196500071ff1280041014626..."} 
[2026-08-19 22:37:13] local.INFO: Packet analysis {"connection_id":160480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:37:13] local.INFO: Extracted packet for processing {"connection_id":160480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01af8"} 
[2026-08-19 22:37:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":65,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512603136001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787158907000,"timestamp_ms":1787158907000,"timestamp_seconds":1787158907,"priority":1,"record_length":96,"hex_timestamp":"000001a01af8c878"} 
[2026-08-19 22:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:37:13] 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-08-19 22:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 22:37:13] 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-08-19 22:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512603136001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512603136001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:37:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:37:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512603136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":160480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:37:13] local.INFO: GPS data processed {"connection_id":160480,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:37:13] local.INFO: Acknowledgment sent {"connection_id":160480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:37:38] local.INFO: TCP Data received {"connection_id":158294,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01afba6d8012d1d5cc006d28800000e009a2d..."} 
[2026-08-19 22:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afba6d8012d1d5cc006d28800000e009a2d..."} 
[2026-08-19 22:37:38] local.INFO: Processing buffer {"connection_id":158294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afba6d8012d1d5cc006d28800000e009a2d..."} 
[2026-08-19 22:37:38] local.INFO: Packet analysis {"connection_id":158294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afb"} 
[2026-08-19 22:37:38] local.INFO: Extracted packet for processing {"connection_id":158294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afb"} 
[2026-08-19 22:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756899008,"raw_latitude":114460672,"longitude_deg":75.6899008,"latitude_deg":11.4460672,"altitude":14,"angle":154,"satellites":45,"speed":47,"hex_longitude":"2d1d5cc0","hex_latitude":"06d28800","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512726016001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386358700849233920,"note":"Value kept but may cause issues"} 
[2026-08-19 22:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2111132723378309120,"note":"Value kept but may cause issues"} 
[2026-08-19 22:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787159095000,"timestamp_ms":1787159095000,"timestamp_seconds":1787159095,"priority":1,"record_length":96,"hex_timestamp":"000001a01afba6d8"} 
[2026-08-19 22:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:37: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-08-19 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 22:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512726016001,"66":27267,"79":206,"2":56576,"24":47,"16":386358700849233920,"45":2111132723378309120},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-08-19 22:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512726016001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:37:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-19 22:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386358700849233920,"km_value":386358700849233.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2111132723378309120,"description":"Unknown IO ID 45"} 
[2026-08-19 22:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512726016001,"power":27267,"unknown_79":206,"power_alt":56576,"ignition":47,"odometer":null,"unknown_45":2111132723378309120}} 
[2026-08-19 22:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":158294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:37:38] local.INFO: GPS data processed {"connection_id":158294,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:37:38] local.INFO: Acknowledgment sent {"connection_id":158294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:37:44] local.INFO: TCP Data received {"connection_id":160480,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:37:44] local.INFO: Processing buffer {"connection_id":160480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:37:44] local.INFO: Packet analysis {"connection_id":160480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:37:44] local.INFO: Extracted packet for processing {"connection_id":160480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:37:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512680192001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787159208000,"timestamp_ms":1787159208000,"timestamp_seconds":1787159208,"priority":1,"record_length":96,"hex_timestamp":"000001a01afd6040"} 
[2026-08-19 22:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:37: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-08-19 22:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512680192001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512680192001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:37:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:37:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512680192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":160480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:37:44] local.INFO: GPS data processed {"connection_id":160480,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:37:44] local.INFO: Acknowledgment sent {"connection_id":160480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:37:58] local.INFO: TCP Data received {"connection_id":158295,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:37:58] local.INFO: Processing buffer {"connection_id":158295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:37:58] local.INFO: IMEI packet received {"connection_id":158295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":158295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:37:58] local.INFO: TCP Data received {"connection_id":158295,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:37:58] local.INFO: Processing buffer {"connection_id":158295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:37:58] local.INFO: IMEI packet received {"connection_id":158295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":158295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:38:03] local.INFO: TCP Data received {"connection_id":158295,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:38:03] local.INFO: Processing buffer {"connection_id":158295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:38:03] local.INFO: IMEI packet received {"connection_id":158295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":158295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:38:05] local.INFO: TCP Data received {"connection_id":158295,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01afbc618012d1d6ec006d26710000e00942c..."} 
[2026-08-19 22:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afbc618012d1d6ec006d26710000e00942c..."} 
[2026-08-19 22:38:05] local.INFO: Processing buffer {"connection_id":158295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afbc618012d1d6ec006d26710000e00942c..."} 
[2026-08-19 22:38:05] local.INFO: Packet analysis {"connection_id":158295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afb"} 
[2026-08-19 22:38:05] local.INFO: Extracted packet for processing {"connection_id":158295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afb"} 
[2026-08-19 22:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756903616,"raw_latitude":114452240,"longitude_deg":75.6903616,"latitude_deg":11.445224,"altitude":14,"angle":148,"satellites":44,"speed":48,"hex_longitude":"2d1d6ec0","hex_latitude":"06d26710","is_valid_coordinates":true} 
[2026-08-19 22:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512728320001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386359164705701888,"note":"Value kept but may cause issues"} 
[2026-08-19 22:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2115777060491755520,"note":"Value kept but may cause issues"} 
[2026-08-19 22:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787159103000,"timestamp_ms":1787159103000,"timestamp_seconds":1787159103,"priority":1,"record_length":96,"hex_timestamp":"000001a01afbc618"} 
[2026-08-19 22:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:38: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-08-19 22:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:38:05] 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-08-19 22:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512728320001,"66":26539,"79":206,"2":56576,"24":48,"16":386359164705701888,"45":2115777060491755520},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-08-19 22:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512728320001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:38:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-19 22:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386359164705701888,"km_value":386359164705701.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2115777060491755520,"description":"Unknown IO ID 45"} 
[2026-08-19 22:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512728320001,"power":26539,"unknown_79":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":2115777060491755520}} 
[2026-08-19 22:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":158295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:38:05] local.INFO: GPS data processed {"connection_id":158295,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:38:05] local.INFO: Acknowledgment sent {"connection_id":158295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:38:07] local.INFO: TCP Data received {"connection_id":160481,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:38:07] local.INFO: Processing buffer {"connection_id":160481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:38:07] local.INFO: IMEI packet received {"connection_id":160481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":160481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:38:12] local.INFO: TCP Data received {"connection_id":160481,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:38:12] local.INFO: Processing buffer {"connection_id":160481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:38:12] local.INFO: IMEI packet received {"connection_id":160481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":160481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:38:13] local.INFO: TCP Data received {"connection_id":160481,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:38:13] local.INFO: Processing buffer {"connection_id":160481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:38:13] local.INFO: Packet analysis {"connection_id":160481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:38:13] local.INFO: Extracted packet for processing {"connection_id":160481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:38:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512680192001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787159208000,"timestamp_ms":1787159208000,"timestamp_seconds":1787159208,"priority":1,"record_length":96,"hex_timestamp":"000001a01afd6040"} 
[2026-08-19 22:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:38:13] 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-08-19 22:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512680192001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512680192001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:38:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:38:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512680192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":160481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:38:13] local.INFO: GPS data processed {"connection_id":160481,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:38:13] local.INFO: Acknowledgment sent {"connection_id":160481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:38:36] local.INFO: TCP Data received {"connection_id":158295,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01afe2f48012d1e270006d18b90001200a62c..."} 
[2026-08-19 22:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afe2f48012d1e270006d18b90001200a62c..."} 
[2026-08-19 22:38:36] local.INFO: Processing buffer {"connection_id":158295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afe2f48012d1e270006d18b90001200a62c..."} 
[2026-08-19 22:38:36] local.INFO: Packet analysis {"connection_id":158295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afe"} 
[2026-08-19 22:38:36] local.INFO: Extracted packet for processing {"connection_id":158295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afe"} 
[2026-08-19 22:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756950784,"raw_latitude":114396048,"longitude_deg":75.6950784,"latitude_deg":11.4396048,"altitude":18,"angle":166,"satellites":44,"speed":18,"hex_longitude":"2d1e2700","hex_latitude":"06d18b90","is_valid_coordinates":true} 
[2026-08-19 22:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512765440001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386362742413459456,"note":"Value kept but may cause issues"} 
[2026-08-19 22:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2168975831075422208,"note":"Value kept but may cause issues"} 
[2026-08-19 22:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787159261000,"timestamp_ms":1787159261000,"timestamp_seconds":1787159261,"priority":1,"record_length":96,"hex_timestamp":"000001a01afe2f48"} 
[2026-08-19 22:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 22:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512765440001,"66":27267,"77":206,"2":56576,"24":18,"16":386362742413459456,"45":2168975831075422208},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-19 22:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512765440001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:38:36] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-19 22:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386362742413459456,"km_value":386362742413459.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2168975831075422208,"description":"Unknown IO ID 45"} 
[2026-08-19 22:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512765440001,"power":27267,"unknown_77":206,"power_alt":56576,"ignition":18,"odometer":null,"unknown_45":2168975831075422208}} 
[2026-08-19 22:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":158295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:38:36] local.INFO: GPS data processed {"connection_id":158295,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:38:36] local.INFO: Acknowledgment sent {"connection_id":158295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:38:44] local.INFO: TCP Data received {"connection_id":160481,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:38:44] local.INFO: Processing buffer {"connection_id":160481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:38:44] local.INFO: Packet analysis {"connection_id":160481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:38:44] local.INFO: Extracted packet for processing {"connection_id":160481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:38:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512680192001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787159208000,"timestamp_ms":1787159208000,"timestamp_seconds":1787159208,"priority":1,"record_length":96,"hex_timestamp":"000001a01afd6040"} 
[2026-08-19 22:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:38: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-08-19 22:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512680192001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512680192001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:38:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:38:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512680192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":160481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:38:45] local.INFO: GPS data processed {"connection_id":160481,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:38:45] local.INFO: Acknowledgment sent {"connection_id":160481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:39:04] local.INFO: TCP Data received {"connection_id":159153,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:39:04] local.INFO: Processing buffer {"connection_id":159153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:39:04] local.INFO: IMEI packet received {"connection_id":159153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":159153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:39:05] local.INFO: TCP Data received {"connection_id":159153,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:39:05] local.INFO: Processing buffer {"connection_id":159153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:39:05] local.INFO: IMEI packet received {"connection_id":159153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":159153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:39:07] local.INFO: TCP Data received {"connection_id":160482,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:39:07] local.INFO: Processing buffer {"connection_id":160482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:39:07] local.INFO: IMEI packet received {"connection_id":160482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":160482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:39:08] local.INFO: TCP Data received {"connection_id":159153,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:39:08] local.INFO: Processing buffer {"connection_id":159153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:39:08] local.INFO: IMEI packet received {"connection_id":159153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":159153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:39:11] local.INFO: TCP Data received {"connection_id":159153,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01afe2f48012d1e270006d18b90001200a62c..."} 
[2026-08-19 22:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afe2f48012d1e270006d18b90001200a62c..."} 
[2026-08-19 22:39:11] local.INFO: Processing buffer {"connection_id":159153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afe2f48012d1e270006d18b90001200a62c..."} 
[2026-08-19 22:39:11] local.INFO: Packet analysis {"connection_id":159153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afe"} 
[2026-08-19 22:39:11] local.INFO: Extracted packet for processing {"connection_id":159153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afe"} 
[2026-08-19 22:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756950784,"raw_latitude":114396048,"longitude_deg":75.6950784,"latitude_deg":11.4396048,"altitude":18,"angle":166,"satellites":44,"speed":18,"hex_longitude":"2d1e2700","hex_latitude":"06d18b90","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512770816001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386362742413459456,"note":"Value kept but may cause issues"} 
[2026-08-19 22:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2172705374514941952,"note":"Value kept but may cause issues"} 
[2026-08-19 22:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787159261000,"timestamp_ms":1787159261000,"timestamp_seconds":1787159261,"priority":1,"record_length":96,"hex_timestamp":"000001a01afe2f48"} 
[2026-08-19 22:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:39: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-08-19 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:39:11] 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-08-19 22: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-08-19 22:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512770816001,"66":27267,"77":206,"2":56576,"24":18,"16":386362742413459456,"45":2172705374514941952},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-19 22:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512770816001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:39:11] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-19 22:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386362742413459456,"km_value":386362742413459.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2172705374514941952,"description":"Unknown IO ID 45"} 
[2026-08-19 22:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512770816001,"power":27267,"unknown_77":206,"power_alt":56576,"ignition":18,"odometer":null,"unknown_45":2172705374514941952}} 
[2026-08-19 22:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":159153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:39:11] local.INFO: GPS data processed {"connection_id":159153,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:39:11] local.INFO: Acknowledgment sent {"connection_id":159153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:39:12] local.INFO: TCP Data received {"connection_id":160482,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:39:12] local.INFO: Processing buffer {"connection_id":160482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:39:12] local.INFO: IMEI packet received {"connection_id":160482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":160482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:39:13] local.INFO: TCP Data received {"connection_id":160482,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:39:13] local.INFO: Processing buffer {"connection_id":160482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:39:13] local.INFO: Packet analysis {"connection_id":160482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:39:13] local.INFO: Extracted packet for processing {"connection_id":160482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:39:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512680192001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787159208000,"timestamp_ms":1787159208000,"timestamp_seconds":1787159208,"priority":1,"record_length":96,"hex_timestamp":"000001a01afd6040"} 
[2026-08-19 22:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:39:13] 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-08-19 22:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:39:13] 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-08-19 22:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512680192001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512680192001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:39:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:39:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512680192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":160482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:39:13] local.INFO: GPS data processed {"connection_id":160482,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:39:13] local.INFO: Acknowledgment sent {"connection_id":160482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:39:14] local.INFO: TCP Data received {"connection_id":159153,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01afe4e88012d1e2e0006d17a800011009a2d..."} 
[2026-08-19 22:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afe4e88012d1e2e0006d17a800011009a2d..."} 
[2026-08-19 22:39:14] local.INFO: Processing buffer {"connection_id":159153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afe4e88012d1e2e0006d17a800011009a2d..."} 
[2026-08-19 22:39:14] local.INFO: Packet analysis {"connection_id":159153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afe"} 
[2026-08-19 22:39:14] local.INFO: Extracted packet for processing {"connection_id":159153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afe"} 
[2026-08-19 22:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756952576,"raw_latitude":114391680,"longitude_deg":75.6952576,"latitude_deg":11.439168,"altitude":17,"angle":154,"satellites":45,"speed":25,"hex_longitude":"2d1e2e00","hex_latitude":"06d17a80","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512770816001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386362970046726144,"note":"Value kept but may cause issues"} 
[2026-08-19 22:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2172705374514941952,"note":"Value kept but may cause issues"} 
[2026-08-19 22:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787159269000,"timestamp_ms":1787159269000,"timestamp_seconds":1787159269,"priority":1,"record_length":96,"hex_timestamp":"000001a01afe4e88"} 
[2026-08-19 22:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:39: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-08-19 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512770816001,"66":27376,"77":206,"2":56576,"24":25,"16":386362970046726144,"45":2172705374514941952},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-19 22:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512770816001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:39:14] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-19 22:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386362970046726144,"km_value":386362970046726.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2172705374514941952,"description":"Unknown IO ID 45"} 
[2026-08-19 22:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512770816001,"power":27376,"unknown_77":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":2172705374514941952}} 
[2026-08-19 22:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":159153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:39:14] local.INFO: GPS data processed {"connection_id":159153,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:39:14] local.INFO: Acknowledgment sent {"connection_id":159153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:39:44] local.INFO: TCP Data received {"connection_id":160482,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:39:44] local.INFO: Processing buffer {"connection_id":160482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:39:44] local.INFO: Packet analysis {"connection_id":160482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:39:44] local.INFO: Extracted packet for processing {"connection_id":160482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:39:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512680192001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787159208000,"timestamp_ms":1787159208000,"timestamp_seconds":1787159208,"priority":1,"record_length":96,"hex_timestamp":"000001a01afd6040"} 
[2026-08-19 22:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:39: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-08-19 22:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:39:44] 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-08-19 22:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512680192001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512680192001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:39:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:39:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512680192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":160482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:39:45] local.INFO: GPS data processed {"connection_id":160482,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:39:45] local.INFO: Acknowledgment sent {"connection_id":160482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:39:58] local.INFO: TCP Data received {"connection_id":158296,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:39:58] local.INFO: Processing buffer {"connection_id":158296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:39:58] local.INFO: IMEI packet received {"connection_id":158296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":158296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:40:00] local.INFO: TCP Data received {"connection_id":158296,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:40:00] local.INFO: Processing buffer {"connection_id":158296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:40:00] local.INFO: IMEI packet received {"connection_id":158296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":158296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:40:02] local.INFO: TCP Data received {"connection_id":158296,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01afe90f0012d1e3ec006d15ae0001300942e..."} 
[2026-08-19 22:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afe90f0012d1e3ec006d15ae0001300942e..."} 
[2026-08-19 22:40:02] local.INFO: Processing buffer {"connection_id":158296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afe90f0012d1e3ec006d15ae0001300942e..."} 
[2026-08-19 22:40:02] local.INFO: Packet analysis {"connection_id":158296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afe"} 
[2026-08-19 22:40:02] local.INFO: Extracted packet for processing {"connection_id":158296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afe"} 
[2026-08-19 22:40:02] local.INFO: GPS Element Parsed {"raw_longitude":756956864,"raw_latitude":114383584,"longitude_deg":75.6956864,"latitude_deg":11.4383584,"altitude":19,"angle":148,"satellites":46,"speed":18,"hex_longitude":"2d1e3ec0","hex_latitude":"06d15ae0","is_valid_coordinates":true} 
[2026-08-19 22:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512772864001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386363412428357632,"note":"Value kept but may cause issues"} 
[2026-08-19 22:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2174675699350798336,"note":"Value kept but may cause issues"} 
[2026-08-19 22:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787159286000,"timestamp_ms":1787159286000,"timestamp_seconds":1787159286,"priority":1,"record_length":96,"hex_timestamp":"000001a01afe90f0"} 
[2026-08-19 22:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 22:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":158296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":158296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":158296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512772864001,"66":27300,"77":206,"2":56576,"24":18,"16":386363412428357632,"45":2174675699350798336},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-19 22:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512772864001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:40:02] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-19 22:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386363412428357632,"km_value":386363412428357.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2174675699350798336,"description":"Unknown IO ID 45"} 
[2026-08-19 22:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512772864001,"power":27300,"unknown_77":206,"power_alt":56576,"ignition":18,"odometer":null,"unknown_45":2174675699350798336}} 
[2026-08-19 22:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":158296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:40:02] local.INFO: GPS data processed {"connection_id":158296,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:40:02] local.INFO: Acknowledgment sent {"connection_id":158296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:40:12] local.INFO: TCP Data received {"connection_id":159154,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:40:12] local.INFO: Processing buffer {"connection_id":159154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:40:12] local.INFO: IMEI packet received {"connection_id":159154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":159154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:40:17] local.INFO: TCP Data received {"connection_id":159154,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:40:17] local.INFO: Processing buffer {"connection_id":159154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:40:17] local.INFO: IMEI packet received {"connection_id":159154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":159154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:40:18] local.INFO: TCP Data received {"connection_id":159154,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:40:18] local.INFO: Processing buffer {"connection_id":159154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:40:18] local.INFO: Packet analysis {"connection_id":159154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:40:18] local.INFO: Extracted packet for processing {"connection_id":159154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512680192001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787159208000,"timestamp_ms":1787159208000,"timestamp_seconds":1787159208,"priority":1,"record_length":96,"hex_timestamp":"000001a01afd6040"} 
[2026-08-19 22:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:40:18] 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-08-19 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512680192001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512680192001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:40:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:40:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512680192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":159154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:40:18] local.INFO: GPS data processed {"connection_id":159154,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:40:18] local.INFO: Acknowledgment sent {"connection_id":159154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:40:23] local.INFO: TCP Data received {"connection_id":159154,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:40:23] local.INFO: Processing buffer {"connection_id":159154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:40:23] local.INFO: Packet analysis {"connection_id":159154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:40:23] local.INFO: Extracted packet for processing {"connection_id":159154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:40:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512680192001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787159208000,"timestamp_ms":1787159208000,"timestamp_seconds":1787159208,"priority":1,"record_length":96,"hex_timestamp":"000001a01afd6040"} 
[2026-08-19 22:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:40:23] 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-08-19 22:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512680192001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512680192001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:40:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:40:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512680192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":159154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:40:23] local.INFO: GPS data processed {"connection_id":159154,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:40:23] local.INFO: Acknowledgment sent {"connection_id":159154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:40:35] local.INFO: TCP Data received {"connection_id":158296,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01afedb28012d1e540006d13c680011008f2f..."} 
[2026-08-19 22:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afedb28012d1e540006d13c680011008f2f..."} 
[2026-08-19 22:40:35] local.INFO: Processing buffer {"connection_id":158296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afedb28012d1e540006d13c680011008f2f..."} 
[2026-08-19 22:40:35] local.INFO: Packet analysis {"connection_id":158296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afe"} 
[2026-08-19 22:40:35] local.INFO: Extracted packet for processing {"connection_id":158296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afe"} 
[2026-08-19 22:40:35] local.INFO: GPS Element Parsed {"raw_longitude":756962304,"raw_latitude":114375784,"longitude_deg":75.6962304,"latitude_deg":11.4375784,"altitude":17,"angle":143,"satellites":47,"speed":31,"hex_longitude":"2d1e5400","hex_latitude":"06d13c68","is_valid_coordinates":true} 
[2026-08-19 22:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512777216001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386363871989858304,"note":"Value kept but may cause issues"} 
[2026-08-19 22:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2179390405208629248,"note":"Value kept but may cause issues"} 
[2026-08-19 22:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787159305000,"timestamp_ms":1787159305000,"timestamp_seconds":1787159305,"priority":1,"record_length":96,"hex_timestamp":"000001a01afedb28"} 
[2026-08-19 22:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 22:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512777216001,"66":27365,"77":206,"2":56576,"24":31,"16":386363871989858304,"45":2179390405208629248},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-19 22:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512777216001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:40:35] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-19 22:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386363871989858304,"km_value":386363871989858.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2179390405208629248,"description":"Unknown IO ID 45"} 
[2026-08-19 22:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512777216001,"power":27365,"unknown_77":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":2179390405208629248}} 
[2026-08-19 22:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":158296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:40:35] local.INFO: GPS data processed {"connection_id":158296,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:40:35] local.INFO: Acknowledgment sent {"connection_id":158296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:40:58] local.INFO: TCP Data received {"connection_id":157945,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:40:58] local.INFO: Processing buffer {"connection_id":157945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:40:58] local.INFO: IMEI packet received {"connection_id":157945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":157945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:40:59] local.INFO: TCP Data received {"connection_id":157945,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:40:59] local.INFO: Processing buffer {"connection_id":157945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:40:59] local.INFO: IMEI packet received {"connection_id":157945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":157945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:41:03] local.INFO: TCP Data received {"connection_id":157945,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:41:03] local.INFO: Processing buffer {"connection_id":157945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:41:03] local.INFO: IMEI packet received {"connection_id":157945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":157945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:41:05] local.INFO: TCP Data received {"connection_id":157945,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aff0620012d1e69c006d11ea00011008e2f..."} 
[2026-08-19 22:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aff0620012d1e69c006d11ea00011008e2f..."} 
[2026-08-19 22:41:05] local.INFO: Processing buffer {"connection_id":157945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aff0620012d1e69c006d11ea00011008e2f..."} 
[2026-08-19 22:41:05] local.INFO: Packet analysis {"connection_id":157945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aff"} 
[2026-08-19 22:41:05] local.INFO: Extracted packet for processing {"connection_id":157945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aff"} 
[2026-08-19 22:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756967872,"raw_latitude":114368160,"longitude_deg":75.6967872,"latitude_deg":11.436816,"altitude":17,"angle":142,"satellites":47,"speed":33,"hex_longitude":"2d1e69c0","hex_latitude":"06d11ea0","is_valid_coordinates":true} 
[2026-08-19 22:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512782080001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386364327256391680,"note":"Value kept but may cause issues"} 
[2026-08-19 22:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2185371748461733888,"note":"Value kept but may cause issues"} 
[2026-08-19 22:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787159316000,"timestamp_ms":1787159316000,"timestamp_seconds":1787159316,"priority":1,"record_length":96,"hex_timestamp":"000001a01aff0620"} 
[2026-08-19 22:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:41: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-08-19 22:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 22:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512782080001,"66":27365,"77":206,"2":56576,"24":33,"16":386364327256391680,"45":2185371748461733888},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-19 22:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512782080001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:41:05] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-19 22:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386364327256391680,"km_value":386364327256391.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2185371748461733888,"description":"Unknown IO ID 45"} 
[2026-08-19 22:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512782080001,"power":27365,"unknown_77":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":2185371748461733888}} 
[2026-08-19 22:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":157945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:41:05] local.INFO: GPS data processed {"connection_id":157945,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:41:05] local.INFO: Acknowledgment sent {"connection_id":157945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:41:07] local.INFO: TCP Data received {"connection_id":157946,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:41:07] local.INFO: Processing buffer {"connection_id":157946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:41:07] local.INFO: IMEI packet received {"connection_id":157946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":157946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:41:12] local.INFO: TCP Data received {"connection_id":157946,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:41:12] local.INFO: Processing buffer {"connection_id":157946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:41:12] local.INFO: IMEI packet received {"connection_id":157946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":157946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:41:13] local.INFO: TCP Data received {"connection_id":157946,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:41:13] local.INFO: Processing buffer {"connection_id":157946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:41:13] local.INFO: Packet analysis {"connection_id":157946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:41:13] local.INFO: Extracted packet for processing {"connection_id":157946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:41:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512680192001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787159208000,"timestamp_ms":1787159208000,"timestamp_seconds":1787159208,"priority":1,"record_length":96,"hex_timestamp":"000001a01afd6040"} 
[2026-08-19 22:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:41:13] 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-08-19 22:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512680192001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512680192001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:41:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:41:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512680192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":157946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:41:13] local.INFO: GPS data processed {"connection_id":157946,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:41:13] local.INFO: Acknowledgment sent {"connection_id":157946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:41:40] local.INFO: TCP Data received {"connection_id":157945,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01aff38e8012d1e7e8006d10298001100902e..."} 
[2026-08-19 22:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01aff38e8012d1e7e8006d10298001100902e..."} 
[2026-08-19 22:41:40] local.INFO: Processing buffer {"connection_id":157945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01aff38e8012d1e7e8006d10298001100902e..."} 
[2026-08-19 22:41:40] local.INFO: Packet analysis {"connection_id":157945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01aff"} 
[2026-08-19 22:41:40] local.INFO: Extracted packet for processing {"connection_id":157945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01aff"} 
[2026-08-19 22:41:40] local.INFO: GPS Element Parsed {"raw_longitude":756973184,"raw_latitude":114360984,"longitude_deg":75.6973184,"latitude_deg":11.4360984,"altitude":17,"angle":144,"satellites":46,"speed":26,"hex_longitude":"2d1e7e80","hex_latitude":"06d10298","is_valid_coordinates":true} 
[2026-08-19 22:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512784896001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386364756753121280,"note":"Value kept but may cause issues"} 
[2026-08-19 22:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2191493829203238912,"note":"Value kept but may cause issues"} 
[2026-08-19 22:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787159329000,"timestamp_ms":1787159329000,"timestamp_seconds":1787159329,"priority":1,"record_length":96,"hex_timestamp":"000001a01aff38e8"} 
[2026-08-19 22:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 22:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512784896001,"66":27234,"77":206,"2":56576,"24":26,"16":386364756753121280,"45":2191493829203238912},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-08-19 22:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512784896001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:41:40] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-19 22:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386364756753121280,"km_value":386364756753121.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2191493829203238912,"description":"Unknown IO ID 45"} 
[2026-08-19 22:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512784896001,"power":27234,"unknown_77":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":2191493829203238912}} 
[2026-08-19 22:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":157945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:41:40] local.INFO: GPS data processed {"connection_id":157945,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:41:40] local.INFO: Acknowledgment sent {"connection_id":157945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:41:44] local.INFO: TCP Data received {"connection_id":157946,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:41:44] local.INFO: Processing buffer {"connection_id":157946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:41:44] local.INFO: Packet analysis {"connection_id":157946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:41:44] local.INFO: Extracted packet for processing {"connection_id":157946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:41:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512680192001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787159208000,"timestamp_ms":1787159208000,"timestamp_seconds":1787159208,"priority":1,"record_length":96,"hex_timestamp":"000001a01afd6040"} 
[2026-08-19 22:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:41: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-08-19 22:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512680192001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512680192001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:41:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:41:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512680192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":157946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:41:44] local.INFO: GPS data processed {"connection_id":157946,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:41:44] local.INFO: Acknowledgment sent {"connection_id":157946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:41:58] local.INFO: TCP Data received {"connection_id":158297,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:41:58] local.INFO: Processing buffer {"connection_id":158297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:41:58] local.INFO: IMEI packet received {"connection_id":158297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":158297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:41:59] local.INFO: TCP Data received {"connection_id":158297,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:41:59] local.INFO: Processing buffer {"connection_id":158297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:41:59] local.INFO: IMEI packet received {"connection_id":158297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":158297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:42:03] local.INFO: TCP Data received {"connection_id":158297,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:42:03] local.INFO: Processing buffer {"connection_id":158297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:42:03] local.INFO: IMEI packet received {"connection_id":158297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":158297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:42:06] local.INFO: TCP Data received {"connection_id":158297,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b011960012d1f5e0006cfb2b80010008d2f..."} 
[2026-08-19 22:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b011960012d1f5e0006cfb2b80010008d2f..."} 
[2026-08-19 22:42:06] local.INFO: Processing buffer {"connection_id":158297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b011960012d1f5e0006cfb2b80010008d2f..."} 
[2026-08-19 22:42:06] local.INFO: Packet analysis {"connection_id":158297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:42:06] local.INFO: Extracted packet for processing {"connection_id":158297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:42:06] local.INFO: GPS Element Parsed {"raw_longitude":757030400,"raw_latitude":114275000,"longitude_deg":75.70304,"latitude_deg":11.4275,"altitude":16,"angle":141,"satellites":47,"speed":28,"hex_longitude":"2d1f5e00","hex_latitude":"06cfb2b8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 22:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512815872001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386369738915184640,"note":"Value kept but may cause issues"} 
[2026-08-19 22:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2254192380243599360,"note":"Value kept but may cause issues"} 
[2026-08-19 22:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787159452000,"timestamp_ms":1787159452000,"timestamp_seconds":1787159452,"priority":1,"record_length":96,"hex_timestamp":"000001a01b011960"} 
[2026-08-19 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-08-19 22:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 22:42:06] 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-08-19 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-08-19 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-08-19 22:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512815872001,"66":27343,"198":206,"2":56576,"24":28,"16":386369738915184640,"45":2254192380243599360},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-08-19 22:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512815872001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:42:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-19 22:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386369738915184640,"km_value":386369738915184.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2254192380243599360,"description":"Unknown IO ID 45"} 
[2026-08-19 22:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512815872001,"power":27343,"unknown_198":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":2254192380243599360}} 
[2026-08-19 22:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":158297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:42:06] local.INFO: GPS data processed {"connection_id":158297,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:42:06] local.INFO: Acknowledgment sent {"connection_id":158297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:42:07] local.INFO: TCP Data received {"connection_id":157947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:42:07] local.INFO: Processing buffer {"connection_id":157947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:42:07] local.INFO: IMEI packet received {"connection_id":157947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":157947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:42:13] local.INFO: TCP Data received {"connection_id":157947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:42:13] local.INFO: Processing buffer {"connection_id":157947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:42:13] local.INFO: IMEI packet received {"connection_id":157947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":157947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:42:13] local.INFO: TCP Data received {"connection_id":157947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:42:13] local.INFO: Processing buffer {"connection_id":157947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01afd6040012d196500071ff1280047014625..."} 
[2026-08-19 22:42:13] local.INFO: Packet analysis {"connection_id":157947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:42:13] local.INFO: Extracted packet for processing {"connection_id":157947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01afd"} 
[2026-08-19 22:42:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512680192001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787159208000,"timestamp_ms":1787159208000,"timestamp_seconds":1787159208,"priority":1,"record_length":96,"hex_timestamp":"000001a01afd6040"} 
[2026-08-19 22:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:42:13] 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-08-19 22:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512680192001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512680192001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:42:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:42:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512680192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":157947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:42:14] local.INFO: GPS data processed {"connection_id":157947,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:42:14] local.INFO: Acknowledgment sent {"connection_id":157947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:42:40] local.INFO: TCP Data received {"connection_id":158297,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0138a0012d1f6c0006cfa3e0000f00822e..."} 
[2026-08-19 22:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0138a0012d1f6c0006cfa3e0000f00822e..."} 
[2026-08-19 22:42:40] local.INFO: Processing buffer {"connection_id":158297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0138a0012d1f6c0006cfa3e0000f00822e..."} 
[2026-08-19 22:42:40] local.INFO: Packet analysis {"connection_id":158297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:42:40] local.INFO: Extracted packet for processing {"connection_id":158297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:42:40] local.INFO: GPS Element Parsed {"raw_longitude":757033984,"raw_latitude":114271200,"longitude_deg":75.7033984,"latitude_deg":11.42712,"altitude":15,"angle":130,"satellites":46,"speed":22,"hex_longitude":"2d1f6c00","hex_latitude":"06cfa3e0","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512819712001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386369988023287808,"note":"Value kept but may cause issues"} 
[2026-08-19 22:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2260244092240967680,"note":"Value kept but may cause issues"} 
[2026-08-19 22:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787159460000,"timestamp_ms":1787159460000,"timestamp_seconds":1787159460,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0138a0"} 
[2026-08-19 22:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 22:42:40] 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-08-19 22: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-08-19 22:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512819712001,"66":27376,"198":206,"2":56576,"24":22,"16":386369988023287808,"45":2260244092240967680},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-08-19 22:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512819712001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:42:40] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-19 22:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386369988023287808,"km_value":386369988023287.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2260244092240967680,"description":"Unknown IO ID 45"} 
[2026-08-19 22:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512819712001,"power":27376,"unknown_198":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":2260244092240967680}} 
[2026-08-19 22:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":158297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:42:40] local.INFO: GPS data processed {"connection_id":158297,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:42:40] local.INFO: Acknowledgment sent {"connection_id":158297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:42:45] local.INFO: TCP Data received {"connection_id":157947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:42:45] local.INFO: Processing buffer {"connection_id":157947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:42:45] local.INFO: Packet analysis {"connection_id":157947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:42:45] local.INFO: Extracted packet for processing {"connection_id":157947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:42:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512757248001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787159509000,"timestamp_ms":1787159509000,"timestamp_seconds":1787159509,"priority":1,"record_length":96,"hex_timestamp":"000001a01b01f808"} 
[2026-08-19 22:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:42:45] 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-08-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":157947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":157947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":157947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512757248001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512757248001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:42:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:42:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512757248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":157947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:42:45] local.INFO: GPS data processed {"connection_id":157947,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:42:45] local.INFO: Acknowledgment sent {"connection_id":157947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:42:58] local.INFO: TCP Data received {"connection_id":159155,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:42:58] local.INFO: Processing buffer {"connection_id":159155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:42:58] local.INFO: IMEI packet received {"connection_id":159155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":159155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:43:00] local.INFO: TCP Data received {"connection_id":159155,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:43:00] local.INFO: Processing buffer {"connection_id":159155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:43:00] local.INFO: IMEI packet received {"connection_id":159155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":159155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:43:03] local.INFO: TCP Data received {"connection_id":159155,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:43:03] local.INFO: Processing buffer {"connection_id":159155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:43:03] local.INFO: IMEI packet received {"connection_id":159155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":159155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:43:06] local.INFO: TCP Data received {"connection_id":159155,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b014c28012d1f754006cf9df8001000752b..."} 
[2026-08-19 22:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b014c28012d1f754006cf9df8001000752b..."} 
[2026-08-19 22:43:06] local.INFO: Processing buffer {"connection_id":159155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b014c28012d1f754006cf9df8001000752b..."} 
[2026-08-19 22:43:06] local.INFO: Packet analysis {"connection_id":159155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:43:06] local.INFO: Extracted packet for processing {"connection_id":159155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:43:06] local.INFO: GPS Element Parsed {"raw_longitude":757036352,"raw_latitude":114269688,"longitude_deg":75.7036352,"latitude_deg":11.4269688,"altitude":16,"angle":117,"satellites":43,"speed":23,"hex_longitude":"2d1f7540","hex_latitude":"06cf9df8","is_valid_coordinates":true} 
[2026-08-19 22:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512821760001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386370125462241280,"note":"Value kept but may cause issues"} 
[2026-08-19 22:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2264184741913944064,"note":"Value kept but may cause issues"} 
[2026-08-19 22:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787159465000,"timestamp_ms":1787159465000,"timestamp_seconds":1787159465,"priority":1,"record_length":96,"hex_timestamp":"000001a01b014c28"} 
[2026-08-19 22:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 22:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512821760001,"66":27234,"198":206,"2":56576,"24":23,"16":386370125462241280,"45":2264184741913944064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16,45]} 
[2026-08-19 22:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512821760001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:43:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-19 22:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386370125462241280,"km_value":386370125462241.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2264184741913944064,"description":"Unknown IO ID 45"} 
[2026-08-19 22:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512821760001,"power":27234,"unknown_198":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":2264184741913944064}} 
[2026-08-19 22:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":159155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:43:06] local.INFO: GPS data processed {"connection_id":159155,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:43:06] local.INFO: Acknowledgment sent {"connection_id":159155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:43:07] local.INFO: TCP Data received {"connection_id":157948,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:43:07] local.INFO: Processing buffer {"connection_id":157948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:43:07] local.INFO: IMEI packet received {"connection_id":157948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":157948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:43:12] local.INFO: TCP Data received {"connection_id":157948,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:43:12] local.INFO: Processing buffer {"connection_id":157948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:43:12] local.INFO: IMEI packet received {"connection_id":157948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":157948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:43:13] local.INFO: TCP Data received {"connection_id":157948,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:43:13] local.INFO: Processing buffer {"connection_id":157948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:43:13] local.INFO: Packet analysis {"connection_id":157948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:43:13] local.INFO: Extracted packet for processing {"connection_id":157948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:43:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512757248001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787159509000,"timestamp_ms":1787159509000,"timestamp_seconds":1787159509,"priority":1,"record_length":96,"hex_timestamp":"000001a01b01f808"} 
[2026-08-19 22:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:43:13] 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-08-19 22:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512757248001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512757248001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:43:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:43:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512757248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":157948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:43:13] local.INFO: GPS data processed {"connection_id":157948,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:43:13] local.INFO: Acknowledgment sent {"connection_id":157948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:43:39] local.INFO: TCP Data received {"connection_id":159155,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0182d8012d1f964006cf8d30001100732f..."} 
[2026-08-19 22:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0182d8012d1f964006cf8d30001100732f..."} 
[2026-08-19 22:43:39] local.INFO: Processing buffer {"connection_id":159155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0182d8012d1f964006cf8d30001100732f..."} 
[2026-08-19 22:43:39] local.INFO: Packet analysis {"connection_id":159155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:43:39] local.INFO: Extracted packet for processing {"connection_id":159155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:43:39] local.INFO: GPS Element Parsed {"raw_longitude":757044800,"raw_latitude":114265392,"longitude_deg":75.70448,"latitude_deg":11.4265392,"altitude":17,"angle":115,"satellites":47,"speed":29,"hex_longitude":"2d1f9640","hex_latitude":"06cf8d30","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512823040001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386370576433807360,"note":"Value kept but may cause issues"} 
[2026-08-19 22:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2266788385448130560,"note":"Value kept but may cause issues"} 
[2026-08-19 22:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787159479000,"timestamp_ms":1787159479000,"timestamp_seconds":1787159479,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0182d8"} 
[2026-08-19 22:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 22:43:39] 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-08-19 22: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-08-19 22:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512823040001,"66":27300,"197":206,"2":56576,"24":29,"16":386370576433807360,"45":2266788385448130560},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,2,24,16,45]} 
[2026-08-19 22:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512823040001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:43:39] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-19 22:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386370576433807360,"km_value":386370576433807.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2266788385448130560,"description":"Unknown IO ID 45"} 
[2026-08-19 22:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512823040001,"power":27300,"unknown_197":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":2266788385448130560}} 
[2026-08-19 22:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":159155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:43:39] local.INFO: GPS data processed {"connection_id":159155,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:43:39] local.INFO: Acknowledgment sent {"connection_id":159155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:43:44] local.INFO: TCP Data received {"connection_id":157948,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:43:44] local.INFO: Processing buffer {"connection_id":157948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:43:44] local.INFO: Packet analysis {"connection_id":157948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:43:44] local.INFO: Extracted packet for processing {"connection_id":157948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:43:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512757248001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787159509000,"timestamp_ms":1787159509000,"timestamp_seconds":1787159509,"priority":1,"record_length":96,"hex_timestamp":"000001a01b01f808"} 
[2026-08-19 22:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512757248001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512757248001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:43:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:43:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512757248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":157948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:43:45] local.INFO: GPS data processed {"connection_id":157948,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:43:45] local.INFO: Acknowledgment sent {"connection_id":157948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:44:03] local.INFO: TCP Data received {"connection_id":158298,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:44:03] local.INFO: Processing buffer {"connection_id":158298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:44:03] local.INFO: IMEI packet received {"connection_id":158298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":158298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:44:08] local.INFO: TCP Data received {"connection_id":158298,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:44:08] local.INFO: Processing buffer {"connection_id":158298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:44:08] local.INFO: IMEI packet received {"connection_id":158298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":158298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:44:10] local.INFO: TCP Data received {"connection_id":158298,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b01add0012d1fb78006cf7f880011006f2e..."} 
[2026-08-19 22:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b01add0012d1fb78006cf7f880011006f2e..."} 
[2026-08-19 22:44:10] local.INFO: Processing buffer {"connection_id":158298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b01add0012d1fb78006cf7f880011006f2e..."} 
[2026-08-19 22:44:10] local.INFO: Packet analysis {"connection_id":158298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:44:10] local.INFO: Extracted packet for processing {"connection_id":158298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:44:10] local.INFO: GPS Element Parsed {"raw_longitude":757053312,"raw_latitude":114261896,"longitude_deg":75.7053312,"latitude_deg":11.4261896,"altitude":17,"angle":111,"satellites":46,"speed":33,"hex_longitude":"2d1fb780","hex_latitude":"06cf7f88","is_valid_coordinates":true} 
[2026-08-19 22:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512826624001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386371014520471552,"note":"Value kept but may cause issues"} 
[2026-08-19 22:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2276077059678482432,"note":"Value kept but may cause issues"} 
[2026-08-19 22:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787159490000,"timestamp_ms":1787159490000,"timestamp_seconds":1787159490,"priority":1,"record_length":96,"hex_timestamp":"000001a01b01add0"} 
[2026-08-19 22:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:44: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-08-19 22:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 22:44:10] 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-08-19 22:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512826624001,"66":27343,"197":206,"2":56576,"24":33,"16":386371014520471552,"45":2276077059678482432},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,2,24,16,45]} 
[2026-08-19 22:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512826624001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:44:10] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-19 22:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386371014520471552,"km_value":386371014520471.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2276077059678482432,"description":"Unknown IO ID 45"} 
[2026-08-19 22:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512826624001,"power":27343,"unknown_197":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":2276077059678482432}} 
[2026-08-19 22:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":158298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:44:10] local.INFO: GPS data processed {"connection_id":158298,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:44:10] local.INFO: Acknowledgment sent {"connection_id":158298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:44:12] local.INFO: TCP Data received {"connection_id":160483,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:44:12] local.INFO: Processing buffer {"connection_id":160483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:44:12] local.INFO: IMEI packet received {"connection_id":160483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":160483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:44:16] local.INFO: TCP Data received {"connection_id":158298,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b01dcb0012d1fda0006cf7140001300742c..."} 
[2026-08-19 22:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b01dcb0012d1fda0006cf7140001300742c..."} 
[2026-08-19 22:44:16] local.INFO: Processing buffer {"connection_id":158298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b01dcb0012d1fda0006cf7140001300742c..."} 
[2026-08-19 22:44:16] local.INFO: Packet analysis {"connection_id":158298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:44:16] local.INFO: Extracted packet for processing {"connection_id":158298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:44:16] local.INFO: GPS Element Parsed {"raw_longitude":757062144,"raw_latitude":114258240,"longitude_deg":75.7062144,"latitude_deg":11.425824,"altitude":19,"angle":116,"satellites":44,"speed":24,"hex_longitude":"2d1fda00","hex_latitude":"06cf7140","is_valid_coordinates":true} 
[2026-08-19 22:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512829440001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386371469787004928,"note":"Value kept but may cause issues"} 
[2026-08-19 22:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2285436102653216768,"note":"Value kept but may cause issues"} 
[2026-08-19 22:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787159502000,"timestamp_ms":1787159502000,"timestamp_seconds":1787159502,"priority":1,"record_length":96,"hex_timestamp":"000001a01b01dcb0"} 
[2026-08-19 22:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:44: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-08-19 22:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 22:44:16] 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-08-19 22:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512829440001,"66":27310,"197":206,"2":56576,"24":24,"16":386371469787004928,"45":2285436102653216768},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,2,24,16,45]} 
[2026-08-19 22:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512829440001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:44:16] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-19 22:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386371469787004928,"km_value":386371469787004.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2285436102653216768,"description":"Unknown IO ID 45"} 
[2026-08-19 22:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512829440001,"power":27310,"unknown_197":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":2285436102653216768}} 
[2026-08-19 22:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":158298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:44:16] local.INFO: GPS data processed {"connection_id":158298,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:44:16] local.INFO: Acknowledgment sent {"connection_id":158298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:44:17] local.INFO: TCP Data received {"connection_id":160483,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:44:17] local.INFO: Processing buffer {"connection_id":160483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:44:17] local.INFO: IMEI packet received {"connection_id":160483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":160483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:44:18] local.INFO: TCP Data received {"connection_id":160483,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:44:18] local.INFO: Processing buffer {"connection_id":160483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:44:18] local.INFO: Packet analysis {"connection_id":160483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:44:18] local.INFO: Extracted packet for processing {"connection_id":160483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:44:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512757248001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787159509000,"timestamp_ms":1787159509000,"timestamp_seconds":1787159509,"priority":1,"record_length":96,"hex_timestamp":"000001a01b01f808"} 
[2026-08-19 22:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:44:18] 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-08-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512757248001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512757248001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:44:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:44:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512757248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":160483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:44:18] local.INFO: GPS data processed {"connection_id":160483,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:44:18] local.INFO: Acknowledgment sent {"connection_id":160483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:44:23] local.INFO: TCP Data received {"connection_id":160483,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:44:23] local.INFO: Processing buffer {"connection_id":160483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:44:23] local.INFO: Packet analysis {"connection_id":160483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:44:23] local.INFO: Extracted packet for processing {"connection_id":160483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:44:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512757248001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787159509000,"timestamp_ms":1787159509000,"timestamp_seconds":1787159509,"priority":1,"record_length":96,"hex_timestamp":"000001a01b01f808"} 
[2026-08-19 22:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:44:23] 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-08-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512757248001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512757248001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:44:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:44:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512757248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":160483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:44:23] local.INFO: GPS data processed {"connection_id":160483,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:44:23] local.INFO: Acknowledgment sent {"connection_id":160483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:44:58] local.INFO: TCP Data received {"connection_id":160484,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:44:58] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:44:58] local.INFO: IMEI packet received {"connection_id":160484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":160484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:45:01] local.INFO: TCP Data received {"connection_id":160484,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:45:01] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:45:01] local.INFO: IMEI packet received {"connection_id":160484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":160484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:45:03] local.INFO: TCP Data received {"connection_id":160484,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:45:03] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:45:03] local.INFO: IMEI packet received {"connection_id":160484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":160484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:45:05] local.INFO: TCP Data received {"connection_id":160484,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b041ed0012d20a88006cefb90000d00612a..."} 
[2026-08-19 22:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b041ed0012d20a88006cefb90000d00612a..."} 
[2026-08-19 22:45:05] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b041ed0012d20a88006cefb90000d00612a..."} 
[2026-08-19 22:45:05] local.INFO: Packet analysis {"connection_id":160484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b04"} 
[2026-08-19 22:45:05] local.INFO: Extracted packet for processing {"connection_id":160484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b04"} 
[2026-08-19 22:45:05] local.INFO: GPS Element Parsed {"raw_longitude":757115008,"raw_latitude":114228112,"longitude_deg":75.7115008,"latitude_deg":11.4228112,"altitude":13,"angle":97,"satellites":42,"speed":5,"hex_longitude":"2d20a880","hex_latitude":"06cefb90","is_valid_coordinates":true} 
[2026-08-19 22:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512869632001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386374424724504576,"note":"Value kept but may cause issues"} 
[2026-08-19 22:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2352708622078412800,"note":"Value kept but may cause issues"} 
[2026-08-19 22:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787159650000,"timestamp_ms":1787159650000,"timestamp_seconds":1787159650,"priority":1,"record_length":96,"hex_timestamp":"000001a01b041ed0"} 
[2026-08-19 22:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:45: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-08-19 22:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 22:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512869632001,"66":27180,"197":206,"2":56576,"24":5,"16":386374424724504576,"45":2352708622078412800},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,2,24,16,45]} 
[2026-08-19 22:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512869632001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:45:05] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-19 22:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386374424724504576,"km_value":386374424724504.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2352708622078412800,"description":"Unknown IO ID 45"} 
[2026-08-19 22:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512869632001,"power":27180,"unknown_197":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":2352708622078412800}} 
[2026-08-19 22:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":160484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:45:05] local.INFO: GPS data processed {"connection_id":160484,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:45:05] local.INFO: Acknowledgment sent {"connection_id":160484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:45:07] local.INFO: TCP Data received {"connection_id":159156,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:45:07] local.INFO: Processing buffer {"connection_id":159156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:45:07] local.INFO: IMEI packet received {"connection_id":159156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":159156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:45:09] local.INFO: TCP Data received {"connection_id":160484,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0426a0012d20a9c006cefb58000d00722a..."} 
[2026-08-19 22:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0426a0012d20a9c006cefb58000d00722a..."} 
[2026-08-19 22:45:09] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0426a0012d20a9c006cefb58000d00722a..."} 
[2026-08-19 22:45:09] local.INFO: Packet analysis {"connection_id":160484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b04"} 
[2026-08-19 22:45:09] local.INFO: Extracted packet for processing {"connection_id":160484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b04"} 
[2026-08-19 22:45:09] local.INFO: GPS Element Parsed {"raw_longitude":757115328,"raw_latitude":114228056,"longitude_deg":75.7115328,"latitude_deg":11.4228056,"altitude":13,"angle":114,"satellites":42,"speed":6,"hex_longitude":"2d20a9c0","hex_latitude":"06cefb58","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512870400001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386374441904373760,"note":"Value kept but may cause issues"} 
[2026-08-19 22:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2353271572031836160,"note":"Value kept but may cause issues"} 
[2026-08-19 22:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787159652000,"timestamp_ms":1787159652000,"timestamp_seconds":1787159652,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0426a0"} 
[2026-08-19 22:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:45: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-08-19 22: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-19 22:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512870400001,"66":27343,"197":206,"2":56576,"24":6,"16":386374441904373760,"45":2353271572031836160},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,2,24,16,45]} 
[2026-08-19 22:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512870400001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:45:09] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-19 22:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386374441904373760,"km_value":386374441904373.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2353271572031836160,"description":"Unknown IO ID 45"} 
[2026-08-19 22:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512870400001,"power":27343,"unknown_197":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":2353271572031836160}} 
[2026-08-19 22:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":160484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:45:09] local.INFO: GPS data processed {"connection_id":160484,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:45:09] local.INFO: Acknowledgment sent {"connection_id":160484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:45:12] local.INFO: TCP Data received {"connection_id":159156,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:45:12] local.INFO: Processing buffer {"connection_id":159156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:45:12] local.INFO: IMEI packet received {"connection_id":159156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":159156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:45:13] local.INFO: TCP Data received {"connection_id":159156,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:45:13] local.INFO: Processing buffer {"connection_id":159156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:45:13] local.INFO: Packet analysis {"connection_id":159156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:45:13] local.INFO: Extracted packet for processing {"connection_id":159156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:45:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512757248001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787159509000,"timestamp_ms":1787159509000,"timestamp_seconds":1787159509,"priority":1,"record_length":96,"hex_timestamp":"000001a01b01f808"} 
[2026-08-19 22:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:45:13] 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-08-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:45:13] 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-08-19 22:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512757248001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512757248001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:45:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:45:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512757248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":159156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:45:13] local.INFO: GPS data processed {"connection_id":159156,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:45:13] local.INFO: Acknowledgment sent {"connection_id":159156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:45:40] local.INFO: TCP Data received {"connection_id":160484,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b042e70012d20ab8006cefa98000d007e2c..."} 
[2026-08-19 22:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b042e70012d20ab8006cefa98000d007e2c..."} 
[2026-08-19 22:45:40] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b042e70012d20ab8006cefa98000d007e2c..."} 
[2026-08-19 22:45:40] local.INFO: Packet analysis {"connection_id":160484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b04"} 
[2026-08-19 22:45:40] local.INFO: Extracted packet for processing {"connection_id":160484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b04"} 
[2026-08-19 22:45:40] local.INFO: GPS Element Parsed {"raw_longitude":757115776,"raw_latitude":114227864,"longitude_deg":75.7115776,"latitude_deg":11.4227864,"altitude":13,"angle":126,"satellites":44,"speed":6,"hex_longitude":"2d20ab80","hex_latitude":"06cefa98","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512870912001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386374463379210240,"note":"Value kept but may cause issues"} 
[2026-08-19 22:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2353623415752710144,"note":"Value kept but may cause issues"} 
[2026-08-19 22:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787159654000,"timestamp_ms":1787159654000,"timestamp_seconds":1787159654,"priority":1,"record_length":96,"hex_timestamp":"000001a01b042e70"} 
[2026-08-19 22:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 22:45:40] 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-08-19 22: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-08-19 22:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512870912001,"66":27267,"197":206,"2":56576,"24":6,"16":386374463379210240,"45":2353623415752710144},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,2,24,16,45]} 
[2026-08-19 22:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512870912001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:45:40] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-19 22:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386374463379210240,"km_value":386374463379210.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2353623415752710144,"description":"Unknown IO ID 45"} 
[2026-08-19 22:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512870912001,"power":27267,"unknown_197":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":2353623415752710144}} 
[2026-08-19 22:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":160484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:45:40] local.INFO: GPS data processed {"connection_id":160484,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:45:40] local.INFO: Acknowledgment sent {"connection_id":160484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:45:45] local.INFO: TCP Data received {"connection_id":159156,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:45:45] local.INFO: Processing buffer {"connection_id":159156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:45:45] local.INFO: Packet analysis {"connection_id":159156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:45:45] local.INFO: Extracted packet for processing {"connection_id":159156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512757248001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787159509000,"timestamp_ms":1787159509000,"timestamp_seconds":1787159509,"priority":1,"record_length":96,"hex_timestamp":"000001a01b01f808"} 
[2026-08-19 22:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:45:45] 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-08-19 22: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":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:45:45] 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-08-19 22:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512757248001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512757248001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:45:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512757248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":159156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:45:45] local.INFO: GPS data processed {"connection_id":159156,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:45:45] local.INFO: Acknowledgment sent {"connection_id":159156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:45:58] local.INFO: TCP Data received {"connection_id":159157,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:45:58] local.INFO: Processing buffer {"connection_id":159157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:45:58] local.INFO: IMEI packet received {"connection_id":159157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":159157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:45:59] local.INFO: TCP Data received {"connection_id":159157,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:45:59] local.INFO: Processing buffer {"connection_id":159157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:45:59] local.INFO: IMEI packet received {"connection_id":159157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":159157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:46:06] local.INFO: TCP Data received {"connection_id":159157,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:46:06] local.INFO: Processing buffer {"connection_id":159157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:46:06] local.INFO: IMEI packet received {"connection_id":159157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":159157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:46:07] local.INFO: TCP Data received {"connection_id":159158,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:46:07] local.INFO: Processing buffer {"connection_id":159158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:46:07] local.INFO: IMEI packet received {"connection_id":159158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":159158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:46:12] local.INFO: TCP Data received {"connection_id":159158,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:46:12] local.INFO: Processing buffer {"connection_id":159158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:46:12] local.INFO: IMEI packet received {"connection_id":159158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":159158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:46:13] local.INFO: TCP Data received {"connection_id":159158,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:46:13] local.INFO: Processing buffer {"connection_id":159158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:46:13] local.INFO: Packet analysis {"connection_id":159158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:46:13] local.INFO: Extracted packet for processing {"connection_id":159158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:46:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512757248001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787159509000,"timestamp_ms":1787159509000,"timestamp_seconds":1787159509,"priority":1,"record_length":96,"hex_timestamp":"000001a01b01f808"} 
[2026-08-19 22:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:46:13] 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-08-19 22:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512757248001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512757248001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:46:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:46:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512757248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":159158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:46:13] local.INFO: GPS data processed {"connection_id":159158,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:46:13] local.INFO: Acknowledgment sent {"connection_id":159158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:46:18] local.INFO: TCP Data received {"connection_id":159157,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b043640012d20acc006cef988000d00942d..."} 
[2026-08-19 22:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b043640012d20acc006cef988000d00942d..."} 
[2026-08-19 22:46:18] local.INFO: Processing buffer {"connection_id":159157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b043640012d20acc006cef988000d00942d..."} 
[2026-08-19 22:46:18] local.INFO: Packet analysis {"connection_id":159157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b04"} 
[2026-08-19 22:46:18] local.INFO: Extracted packet for processing {"connection_id":159157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b04"} 
[2026-08-19 22:46:18] local.INFO: GPS Element Parsed {"raw_longitude":757116096,"raw_latitude":114227592,"longitude_deg":75.7116096,"latitude_deg":11.4227592,"altitude":13,"angle":148,"satellites":45,"speed":8,"hex_longitude":"2d20acc0","hex_latitude":"06cef988","is_valid_coordinates":true} 
[2026-08-19 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-08-19 22:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512871424001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386374484854046720,"note":"Value kept but may cause issues"} 
[2026-08-19 22:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2354115996961904640,"note":"Value kept but may cause issues"} 
[2026-08-19 22:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787159656000,"timestamp_ms":1787159656000,"timestamp_seconds":1787159656,"priority":1,"record_length":96,"hex_timestamp":"000001a01b043640"} 
[2026-08-19 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-08-19 22:46: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-08-19 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:46:18] 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-08-19 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-08-19 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-08-19 22:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512871424001,"66":27321,"197":206,"2":56576,"24":8,"16":386374484854046720,"45":2354115996961904640},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,2,24,16,45]} 
[2026-08-19 22:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512871424001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:46:18] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-19 22:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386374484854046720,"km_value":386374484854046.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2354115996961904640,"description":"Unknown IO ID 45"} 
[2026-08-19 22:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512871424001,"power":27321,"unknown_197":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":2354115996961904640}} 
[2026-08-19 22:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":159157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:46:18] local.INFO: GPS data processed {"connection_id":159157,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:46:18] local.INFO: Acknowledgment sent {"connection_id":159157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:46:44] local.INFO: TCP Data received {"connection_id":159158,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:46:44] local.INFO: Processing buffer {"connection_id":159158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:46:44] local.INFO: Packet analysis {"connection_id":159158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:46:44] local.INFO: Extracted packet for processing {"connection_id":159158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:46:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512757248001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787159509000,"timestamp_ms":1787159509000,"timestamp_seconds":1787159509,"priority":1,"record_length":96,"hex_timestamp":"000001a01b01f808"} 
[2026-08-19 22:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512757248001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512757248001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:46:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:46:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512757248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":159158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:46:44] local.INFO: GPS data processed {"connection_id":159158,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:46:44] local.INFO: Acknowledgment sent {"connection_id":159158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:46:58] local.INFO: TCP Data received {"connection_id":160485,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:46:58] local.INFO: Processing buffer {"connection_id":160485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:46:58] local.INFO: IMEI packet received {"connection_id":160485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":160485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:47:03] local.INFO: TCP Data received {"connection_id":160485,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:47:03] local.INFO: Processing buffer {"connection_id":160485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:47:03] local.INFO: IMEI packet received {"connection_id":160485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":160485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:47:05] local.INFO: TCP Data received {"connection_id":160485,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b043e10012d20ad8006cef810000e00a02e..."} 
[2026-08-19 22:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b043e10012d20ad8006cef810000e00a02e..."} 
[2026-08-19 22:47:05] local.INFO: Processing buffer {"connection_id":160485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b043e10012d20ad8006cef810000e00a02e..."} 
[2026-08-19 22:47:05] local.INFO: Packet analysis {"connection_id":160485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b04"} 
[2026-08-19 22:47:05] local.INFO: Extracted packet for processing {"connection_id":160485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b04"} 
[2026-08-19 22:47:05] local.INFO: GPS Element Parsed {"raw_longitude":757116288,"raw_latitude":114227216,"longitude_deg":75.7116288,"latitude_deg":11.4227216,"altitude":14,"angle":160,"satellites":46,"speed":7,"hex_longitude":"2d20ad80","hex_latitude":"06cef810","is_valid_coordinates":true} 
[2026-08-19 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-08-19 22:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512871936001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386374506328883200,"note":"Value kept but may cause issues"} 
[2026-08-19 22:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2354467840682723328,"note":"Value kept but may cause issues"} 
[2026-08-19 22:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787159658000,"timestamp_ms":1787159658000,"timestamp_seconds":1787159658,"priority":1,"record_length":96,"hex_timestamp":"000001a01b043e10"} 
[2026-08-19 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-08-19 22:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 22:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 22:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512871936001,"66":27006,"197":206,"2":56576,"24":7,"16":386374506328883200,"45":2354467840682723328},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,2,24,16,45]} 
[2026-08-19 22:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512871936001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:47:05] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-19 22:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386374506328883200,"km_value":386374506328883.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2354467840682723328,"description":"Unknown IO ID 45"} 
[2026-08-19 22:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512871936001,"power":27006,"unknown_197":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":2354467840682723328}} 
[2026-08-19 22:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":160485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:47:05] local.INFO: GPS data processed {"connection_id":160485,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:47:05] local.INFO: Acknowledgment sent {"connection_id":160485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:47:07] local.INFO: TCP Data received {"connection_id":158299,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:47:07] local.INFO: Processing buffer {"connection_id":158299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:47:07] local.INFO: IMEI packet received {"connection_id":158299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":158299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:47:12] local.INFO: TCP Data received {"connection_id":158299,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:47:12] local.INFO: Processing buffer {"connection_id":158299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:47:12] local.INFO: IMEI packet received {"connection_id":158299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":158299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:47:13] local.INFO: TCP Data received {"connection_id":158299,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:47:13] local.INFO: Processing buffer {"connection_id":158299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b01f808012d196500071ff1280047014626..."} 
[2026-08-19 22:47:13] local.INFO: Packet analysis {"connection_id":158299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:47:13] local.INFO: Extracted packet for processing {"connection_id":158299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b01"} 
[2026-08-19 22:47:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512757248001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787159509000,"timestamp_ms":1787159509000,"timestamp_seconds":1787159509,"priority":1,"record_length":96,"hex_timestamp":"000001a01b01f808"} 
[2026-08-19 22:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:47:13] 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-08-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:47:13] 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-08-19 22:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512757248001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512757248001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:47:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:47:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512757248001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":158299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:47:13] local.INFO: GPS data processed {"connection_id":158299,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:47:13] local.INFO: Acknowledgment sent {"connection_id":158299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:47:38] local.INFO: TCP Data received {"connection_id":160485,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0664d8012d2119c006cdce48000a00932e..."} 
[2026-08-19 22:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0664d8012d2119c006cdce48000a00932e..."} 
[2026-08-19 22:47:38] local.INFO: Processing buffer {"connection_id":160485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0664d8012d2119c006cdce48000a00932e..."} 
[2026-08-19 22:47:38] local.INFO: Packet analysis {"connection_id":160485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:47:38] local.INFO: Extracted packet for processing {"connection_id":160485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:47:38] local.INFO: GPS Element Parsed {"raw_longitude":757144000,"raw_latitude":114150984,"longitude_deg":75.7144,"latitude_deg":11.4150984,"altitude":10,"angle":147,"satellites":46,"speed":24,"hex_longitude":"2d2119c0","hex_latitude":"06cdce48","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512907520001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386378504943435776,"note":"Value kept but may cause issues"} 
[2026-08-19 22:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2384374556939100160,"note":"Value kept but may cause issues"} 
[2026-08-19 22:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787159799000,"timestamp_ms":1787159799000,"timestamp_seconds":1787159799,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0664d8"} 
[2026-08-19 22:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 22:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512907520001,"66":27267,"120":206,"2":56576,"24":24,"16":386378504943435776,"45":2384374556939100160},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-08-19 22:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512907520001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:47:38] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 22:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386378504943435776,"km_value":386378504943435.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2384374556939100160,"description":"Unknown IO ID 45"} 
[2026-08-19 22:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512907520001,"power":27267,"unknown_120":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":2384374556939100160}} 
[2026-08-19 22:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":160485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:47:38] local.INFO: GPS data processed {"connection_id":160485,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:47:38] local.INFO: Acknowledgment sent {"connection_id":160485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:47:44] local.INFO: TCP Data received {"connection_id":158299,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:47:44] local.INFO: Processing buffer {"connection_id":158299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:47:44] local.INFO: Packet analysis {"connection_id":158299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:47:44] local.INFO: Extracted packet for processing {"connection_id":158299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:47:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512834304001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787159810000,"timestamp_ms":1787159810000,"timestamp_seconds":1787159810,"priority":1,"record_length":96,"hex_timestamp":"000001a01b068fd0"} 
[2026-08-19 22:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:47:44] 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-08-19 22:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512834304001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512834304001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:47:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:47:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512834304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":158299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:47:44] local.INFO: GPS data processed {"connection_id":158299,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:47:44] local.INFO: Acknowledgment sent {"connection_id":158299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:48:03] local.INFO: TCP Data received {"connection_id":157949,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:48:03] local.INFO: Processing buffer {"connection_id":157949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:48:03] local.INFO: IMEI packet received {"connection_id":157949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":157949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:48:04] local.INFO: TCP Data received {"connection_id":157949,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:48:04] local.INFO: Processing buffer {"connection_id":157949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:48:04] local.INFO: IMEI packet received {"connection_id":157949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":157949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:48:07] local.INFO: TCP Data received {"connection_id":159159,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:48:07] local.INFO: Processing buffer {"connection_id":159159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:48:07] local.INFO: IMEI packet received {"connection_id":159159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":159159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:48:08] local.INFO: TCP Data received {"connection_id":157949,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:48:08] local.INFO: Processing buffer {"connection_id":157949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:48:08] local.INFO: IMEI packet received {"connection_id":157949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":157949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:48:09] local.INFO: TCP Data received {"connection_id":157949,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b067c48012d21248006cdc190000a00872e..."} 
[2026-08-19 22:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b067c48012d21248006cdc190000a00872e..."} 
[2026-08-19 22:48:09] local.INFO: Processing buffer {"connection_id":157949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b067c48012d21248006cdc190000a00872e..."} 
[2026-08-19 22:48:09] local.INFO: Packet analysis {"connection_id":157949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:48:09] local.INFO: Extracted packet for processing {"connection_id":157949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:48:09] local.INFO: GPS Element Parsed {"raw_longitude":757146752,"raw_latitude":114147728,"longitude_deg":75.7146752,"latitude_deg":11.4147728,"altitude":10,"angle":135,"satellites":46,"speed":32,"hex_longitude":"2d212480","hex_latitude":"06cdc190","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512908544001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386378711101865984,"note":"Value kept but may cause issues"} 
[2026-08-19 22:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2385148613124573184,"note":"Value kept but may cause issues"} 
[2026-08-19 22:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787159805000,"timestamp_ms":1787159805000,"timestamp_seconds":1787159805,"priority":1,"record_length":96,"hex_timestamp":"000001a01b067c48"} 
[2026-08-19 22:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:48:09] 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-08-19 22: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-08-19 22:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512908544001,"66":27332,"120":206,"2":56576,"24":32,"16":386378711101865984,"45":2385148613124573184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-08-19 22:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512908544001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:48:09] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 22:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386378711101865984,"km_value":386378711101866.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2385148613124573184,"description":"Unknown IO ID 45"} 
[2026-08-19 22:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512908544001,"power":27332,"unknown_120":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":2385148613124573184}} 
[2026-08-19 22:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":157949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:48:09] local.INFO: GPS data processed {"connection_id":157949,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:48:09] local.INFO: Acknowledgment sent {"connection_id":157949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:48:12] local.INFO: TCP Data received {"connection_id":157949,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b06a358012d21404006cda6b0000a00842e..."} 
[2026-08-19 22:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b06a358012d21404006cda6b0000a00842e..."} 
[2026-08-19 22:48:12] local.INFO: Processing buffer {"connection_id":157949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b06a358012d21404006cda6b0000a00842e..."} 
[2026-08-19 22:48:12] local.INFO: Packet analysis {"connection_id":157949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:48:12] local.INFO: Extracted packet for processing {"connection_id":157949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:48:12] local.INFO: GPS Element Parsed {"raw_longitude":757153856,"raw_latitude":114140848,"longitude_deg":75.7153856,"latitude_deg":11.4140848,"altitude":10,"angle":132,"satellites":46,"speed":43,"hex_longitude":"2d214040","hex_latitude":"06cda6b0","is_valid_coordinates":true} 
[2026-08-19 22:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512910080001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386379183548268544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2388174469123379200,"note":"Value kept but may cause issues"} 
[2026-08-19 22:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787159815000,"timestamp_ms":1787159815000,"timestamp_seconds":1787159815,"priority":1,"record_length":96,"hex_timestamp":"000001a01b06a358"} 
[2026-08-19 22:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 22:48:12] 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-08-19 22:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":157949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":157949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":157949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512910080001,"66":27267,"240":206,"2":56576,"24":43,"16":386379183548268544,"45":2388174469123379200},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-08-19 22:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512910080001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:48:12] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-08-19 22:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386379183548268544,"km_value":386379183548268.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2388174469123379200,"description":"Unknown IO ID 45"} 
[2026-08-19 22:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512910080001,"power":27267,"unknown_240":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":2388174469123379200}} 
[2026-08-19 22:48:12] local.INFO: TCP Data received {"connection_id":159159,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:48:12] local.INFO: Processing buffer {"connection_id":159159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:48:12] local.INFO: IMEI packet received {"connection_id":159159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":159159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":157949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:48:12] local.INFO: GPS data processed {"connection_id":157949,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:48:12] local.INFO: Acknowledgment sent {"connection_id":157949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:48:13] local.INFO: TCP Data received {"connection_id":159159,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:48:13] local.INFO: Processing buffer {"connection_id":159159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:48:13] local.INFO: Packet analysis {"connection_id":159159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:48:13] local.INFO: Extracted packet for processing {"connection_id":159159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:48:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512834304001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787159810000,"timestamp_ms":1787159810000,"timestamp_seconds":1787159810,"priority":1,"record_length":96,"hex_timestamp":"000001a01b068fd0"} 
[2026-08-19 22:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:48:13] 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-08-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512834304001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512834304001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:48:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:48:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512834304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":159159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:48:13] local.INFO: GPS data processed {"connection_id":159159,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:48:13] local.INFO: Acknowledgment sent {"connection_id":159159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:48:44] local.INFO: TCP Data received {"connection_id":159159,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:48:44] local.INFO: Processing buffer {"connection_id":159159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:48:44] local.INFO: Packet analysis {"connection_id":159159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:48:44] local.INFO: Extracted packet for processing {"connection_id":159159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:48:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512834304001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787159810000,"timestamp_ms":1787159810000,"timestamp_seconds":1787159810,"priority":1,"record_length":96,"hex_timestamp":"000001a01b068fd0"} 
[2026-08-19 22:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512834304001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512834304001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:48:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:48:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512834304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":159159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:48:45] local.INFO: GPS data processed {"connection_id":159159,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:48:45] local.INFO: Acknowledgment sent {"connection_id":159159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:48:55] local.INFO: TCP Data received {"connection_id":159160,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:48:55] local.INFO: Processing buffer {"connection_id":159160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:48:55] local.INFO: IMEI packet received {"connection_id":159160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":159160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:48:59] local.INFO: TCP Data received {"connection_id":159160,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:48:59] local.INFO: Processing buffer {"connection_id":159160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:48:59] local.INFO: IMEI packet received {"connection_id":159160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":159160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:49:03] local.INFO: TCP Data received {"connection_id":159160,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:49:03] local.INFO: Processing buffer {"connection_id":159160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:49:03] local.INFO: IMEI packet received {"connection_id":159160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":159160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:49:04] local.INFO: TCP Data received {"connection_id":159160,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b07c850012d21e68006cc65f8000900972e..."} 
[2026-08-19 22:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b07c850012d21e68006cc65f8000900972e..."} 
[2026-08-19 22:49:04] local.INFO: Processing buffer {"connection_id":159160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b07c850012d21e68006cc65f8000900972e..."} 
[2026-08-19 22:49:04] local.INFO: Packet analysis {"connection_id":159160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b07"} 
[2026-08-19 22:49:04] local.INFO: Extracted packet for processing {"connection_id":159160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b07"} 
[2026-08-19 22:49:04] local.INFO: GPS Element Parsed {"raw_longitude":757196416,"raw_latitude":114058744,"longitude_deg":75.7196416,"latitude_deg":11.4058744,"altitude":9,"angle":151,"satellites":46,"speed":56,"hex_longitude":"2d21e680","hex_latitude":"06cc65f8","is_valid_coordinates":true} 
[2026-08-19 22:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512930048001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386383736213602304,"note":"Value kept but may cause issues"} 
[2026-08-19 22:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2437643696259796992,"note":"Value kept but may cause issues"} 
[2026-08-19 22:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787159890000,"timestamp_ms":1787159890000,"timestamp_seconds":1787159890,"priority":1,"record_length":96,"hex_timestamp":"000001a01b07c850"} 
[2026-08-19 22:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:49: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-08-19 22:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 22:49:04] 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-08-19 22:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512930048001,"66":27321,"120":206,"2":56576,"24":56,"16":386383736213602304,"45":2437643696259796992},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-08-19 22:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512930048001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:49:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 22:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386383736213602304,"km_value":386383736213602.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2437643696259796992,"description":"Unknown IO ID 45"} 
[2026-08-19 22:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512930048001,"power":27321,"unknown_120":206,"power_alt":56576,"ignition":56,"odometer":null,"unknown_45":2437643696259796992}} 
[2026-08-19 22:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":159160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:49:04] local.INFO: GPS data processed {"connection_id":159160,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:49:04] local.INFO: Acknowledgment sent {"connection_id":159160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:49:06] local.INFO: TCP Data received {"connection_id":159160,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b07e3a8012d21f80006cc4578000900962e..."} 
[2026-08-19 22:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b07e3a8012d21f80006cc4578000900962e..."} 
[2026-08-19 22:49:06] local.INFO: Processing buffer {"connection_id":159160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b07e3a8012d21f80006cc4578000900962e..."} 
[2026-08-19 22:49:06] local.INFO: Packet analysis {"connection_id":159160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b07"} 
[2026-08-19 22:49:06] local.INFO: Extracted packet for processing {"connection_id":159160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b07"} 
[2026-08-19 22:49:06] local.INFO: GPS Element Parsed {"raw_longitude":757200896,"raw_latitude":114050424,"longitude_deg":75.7200896,"latitude_deg":11.4050424,"altitude":9,"angle":150,"satellites":46,"speed":51,"hex_longitude":"2d21f800","hex_latitude":"06cc4578","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512931840001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386384195775102976,"note":"Value kept but may cause issues"} 
[2026-08-19 22:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2442780614582466560,"note":"Value kept but may cause issues"} 
[2026-08-19 22:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787159897000,"timestamp_ms":1787159897000,"timestamp_seconds":1787159897,"priority":1,"record_length":96,"hex_timestamp":"000001a01b07e3a8"} 
[2026-08-19 22:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 22:49:06] 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-08-19 22: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-08-19 22:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512931840001,"66":26941,"120":206,"2":56576,"24":51,"16":386384195775102976,"45":2442780614582466560},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-08-19 22:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512931840001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:49:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 22:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386384195775102976,"km_value":386384195775103.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2442780614582466560,"description":"Unknown IO ID 45"} 
[2026-08-19 22:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512931840001,"power":26941,"unknown_120":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":2442780614582466560}} 
[2026-08-19 22:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":159160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:49:06] local.INFO: GPS data processed {"connection_id":159160,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:49:06] local.INFO: Acknowledgment sent {"connection_id":159160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:49:07] local.INFO: TCP Data received {"connection_id":157950,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:49:07] local.INFO: Processing buffer {"connection_id":157950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:49:07] local.INFO: IMEI packet received {"connection_id":157950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":157950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:49:12] local.INFO: TCP Data received {"connection_id":157950,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:49:12] local.INFO: Processing buffer {"connection_id":157950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:49:12] local.INFO: IMEI packet received {"connection_id":157950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":157950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:49:13] local.INFO: TCP Data received {"connection_id":157950,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:49:13] local.INFO: Processing buffer {"connection_id":157950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:49:13] local.INFO: Packet analysis {"connection_id":157950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:49:13] local.INFO: Extracted packet for processing {"connection_id":157950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:49:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512834304001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787159810000,"timestamp_ms":1787159810000,"timestamp_seconds":1787159810,"priority":1,"record_length":96,"hex_timestamp":"000001a01b068fd0"} 
[2026-08-19 22:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:49:13] 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-08-19 22:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512834304001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512834304001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:49:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:49:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512834304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":157950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:49:13] local.INFO: GPS data processed {"connection_id":157950,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:49:13] local.INFO: Acknowledgment sent {"connection_id":157950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:49:37] local.INFO: TCP Data received {"connection_id":159160,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b07ff00012d220b0006cc2688000900952e..."} 
[2026-08-19 22:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b07ff00012d220b0006cc2688000900952e..."} 
[2026-08-19 22:49:37] local.INFO: Processing buffer {"connection_id":159160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b07ff00012d220b0006cc2688000900952e..."} 
[2026-08-19 22:49:37] local.INFO: Packet analysis {"connection_id":159160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b07"} 
[2026-08-19 22:49:37] local.INFO: Extracted packet for processing {"connection_id":159160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b07"} 
[2026-08-19 22:49:37] local.INFO: GPS Element Parsed {"raw_longitude":757205760,"raw_latitude":114042504,"longitude_deg":75.720576,"latitude_deg":11.4042504,"altitude":9,"angle":149,"satellites":46,"speed":52,"hex_longitude":"2d220b00","hex_latitude":"06cc2688","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512933632001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386384642451701760,"note":"Value kept but may cause issues"} 
[2026-08-19 22:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2447706426672773120,"note":"Value kept but may cause issues"} 
[2026-08-19 22:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787159904000,"timestamp_ms":1787159904000,"timestamp_seconds":1787159904,"priority":1,"record_length":96,"hex_timestamp":"000001a01b07ff00"} 
[2026-08-19 22:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-08-19 22:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512933632001,"66":27267,"120":206,"2":56576,"24":52,"16":386384642451701760,"45":2447706426672773120},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-08-19 22:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512933632001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:49:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 22:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386384642451701760,"km_value":386384642451701.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2447706426672773120,"description":"Unknown IO ID 45"} 
[2026-08-19 22:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512933632001,"power":27267,"unknown_120":206,"power_alt":56576,"ignition":52,"odometer":null,"unknown_45":2447706426672773120}} 
[2026-08-19 22:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":159160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:49:37] local.INFO: GPS data processed {"connection_id":159160,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:49:37] local.INFO: Acknowledgment sent {"connection_id":159160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:49:44] local.INFO: TCP Data received {"connection_id":157950,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:49:44] local.INFO: Processing buffer {"connection_id":157950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:49:44] local.INFO: Packet analysis {"connection_id":157950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:49:44] local.INFO: Extracted packet for processing {"connection_id":157950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:49:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512834304001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787159810000,"timestamp_ms":1787159810000,"timestamp_seconds":1787159810,"priority":1,"record_length":96,"hex_timestamp":"000001a01b068fd0"} 
[2026-08-19 22:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512834304001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512834304001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:49:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:49:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512834304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":157950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:49:44] local.INFO: GPS data processed {"connection_id":157950,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:49:44] local.INFO: Acknowledgment sent {"connection_id":157950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:49:58] local.INFO: TCP Data received {"connection_id":158300,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:49:58] local.INFO: Processing buffer {"connection_id":158300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:49:58] local.INFO: IMEI packet received {"connection_id":158300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":158300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:50:02] local.INFO: TCP Data received {"connection_id":158300,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:50:02] local.INFO: Processing buffer {"connection_id":158300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:50:02] local.INFO: IMEI packet received {"connection_id":158300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":158300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:50:04] local.INFO: TCP Data received {"connection_id":158300,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b081a58012d221d0006cc0620000900952c..."} 
[2026-08-19 22:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b081a58012d221d0006cc0620000900952c..."} 
[2026-08-19 22:50:04] local.INFO: Processing buffer {"connection_id":158300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b081a58012d221d0006cc0620000900952c..."} 
[2026-08-19 22:50:04] local.INFO: Packet analysis {"connection_id":158300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b08"} 
[2026-08-19 22:50:04] local.INFO: Extracted packet for processing {"connection_id":158300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b08"} 
[2026-08-19 22:50:04] local.INFO: GPS Element Parsed {"raw_longitude":757210368,"raw_latitude":114034208,"longitude_deg":75.7210368,"latitude_deg":11.4034208,"altitude":9,"angle":149,"satellites":44,"speed":55,"hex_longitude":"2d221d00","hex_latitude":"06cc0620","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512935424001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386385102013202432,"note":"Value kept but may cause issues"} 
[2026-08-19 22:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2453054451228248064,"note":"Value kept but may cause issues"} 
[2026-08-19 22:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787159911000,"timestamp_ms":1787159911000,"timestamp_seconds":1787159911,"priority":1,"record_length":96,"hex_timestamp":"000001a01b081a58"} 
[2026-08-19 22:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:50: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-08-19 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512935424001,"66":27245,"120":206,"2":56576,"24":55,"16":386385102013202432,"45":2453054451228248064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-08-19 22:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512935424001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:50:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-19 22:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386385102013202432,"km_value":386385102013202.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2453054451228248064,"description":"Unknown IO ID 45"} 
[2026-08-19 22:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512935424001,"power":27245,"unknown_120":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":2453054451228248064}} 
[2026-08-19 22:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":158300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:50:04] local.INFO: GPS data processed {"connection_id":158300,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:50:04] local.INFO: Acknowledgment sent {"connection_id":158300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:50:12] local.INFO: TCP Data received {"connection_id":159161,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:50:12] local.INFO: Processing buffer {"connection_id":159161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:50:12] local.INFO: IMEI packet received {"connection_id":159161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":159161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:50:17] local.INFO: TCP Data received {"connection_id":159161,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:50:17] local.INFO: Processing buffer {"connection_id":159161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:50:17] local.INFO: IMEI packet received {"connection_id":159161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":159161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:50:18] local.INFO: TCP Data received {"connection_id":159161,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:50:18] local.INFO: Processing buffer {"connection_id":159161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:50:18] local.INFO: Packet analysis {"connection_id":159161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:50:18] local.INFO: Extracted packet for processing {"connection_id":159161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:50:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512834304001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787159810000,"timestamp_ms":1787159810000,"timestamp_seconds":1787159810,"priority":1,"record_length":96,"hex_timestamp":"000001a01b068fd0"} 
[2026-08-19 22:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:50:18] 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-08-19 22:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512834304001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512834304001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:50:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:50:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512834304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":159161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:50:18] local.INFO: GPS data processed {"connection_id":159161,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:50:18] local.INFO: Acknowledgment sent {"connection_id":159161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:50:36] local.INFO: TCP Data received {"connection_id":158300,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b093b68012d22f10006cab9f8001200992e..."} 
[2026-08-19 22:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b093b68012d22f10006cab9f8001200992e..."} 
[2026-08-19 22:50:36] local.INFO: Processing buffer {"connection_id":158300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b093b68012d22f10006cab9f8001200992e..."} 
[2026-08-19 22:50:36] local.INFO: Packet analysis {"connection_id":158300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b09"} 
[2026-08-19 22:50:36] local.INFO: Extracted packet for processing {"connection_id":158300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b09"} 
[2026-08-19 22:50:36] local.INFO: GPS Element Parsed {"raw_longitude":757264640,"raw_latitude":113949176,"longitude_deg":75.726464,"latitude_deg":11.3949176,"altitude":18,"angle":153,"satellites":46,"speed":50,"hex_longitude":"2d22f100","hex_latitude":"06cab9f8","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512954368001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386390079880298496,"note":"Value kept but may cause issues"} 
[2026-08-19 22:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2514345627385288704,"note":"Value kept but may cause issues"} 
[2026-08-19 22:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787159985000,"timestamp_ms":1787159985000,"timestamp_seconds":1787159985,"priority":1,"record_length":96,"hex_timestamp":"000001a01b093b68"} 
[2026-08-19 22:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22: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-08-19 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 22:50:36] 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-08-19 22: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-08-19 22:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512954368001,"66":27082,"118":206,"2":56576,"24":50,"16":386390079880298496,"45":2514345627385288704},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 22:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512954368001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:50:36] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 22:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386390079880298496,"km_value":386390079880298.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2514345627385288704,"description":"Unknown IO ID 45"} 
[2026-08-19 22:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512954368001,"power":27082,"unknown_118":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":2514345627385288704}} 
[2026-08-19 22:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":158300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:50:36] local.INFO: GPS data processed {"connection_id":158300,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:50:36] local.INFO: Acknowledgment sent {"connection_id":158300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:50:49] local.INFO: TCP Data received {"connection_id":159161,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:50:49] local.INFO: Processing buffer {"connection_id":159161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:50:49] local.INFO: Packet analysis {"connection_id":159161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:50:49] local.INFO: Extracted packet for processing {"connection_id":159161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:50:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512834304001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787159810000,"timestamp_ms":1787159810000,"timestamp_seconds":1787159810,"priority":1,"record_length":96,"hex_timestamp":"000001a01b068fd0"} 
[2026-08-19 22:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:50:49] 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-08-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":159161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":159161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":159161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512834304001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512834304001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:50:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:50:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512834304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":159161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:50:50] local.INFO: GPS data processed {"connection_id":159161,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:50:50] local.INFO: Acknowledgment sent {"connection_id":159161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:50:58] local.INFO: TCP Data received {"connection_id":160486,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:50:58] local.INFO: Processing buffer {"connection_id":160486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:50:58] local.INFO: IMEI packet received {"connection_id":160486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":160486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:50:59] local.INFO: TCP Data received {"connection_id":160486,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:50:59] local.INFO: Processing buffer {"connection_id":160486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:50:59] local.INFO: IMEI packet received {"connection_id":160486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":160486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:51:03] local.INFO: TCP Data received {"connection_id":160486,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:51:03] local.INFO: Processing buffer {"connection_id":160486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:51:03] local.INFO: IMEI packet received {"connection_id":160486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":160486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:51:05] local.INFO: TCP Data received {"connection_id":160486,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b093b68012d22f10006cab9f8001200992e..."} 
[2026-08-19 22:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b093b68012d22f10006cab9f8001200992e..."} 
[2026-08-19 22:51:05] local.INFO: Processing buffer {"connection_id":160486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b093b68012d22f10006cab9f8001200992e..."} 
[2026-08-19 22:51:05] local.INFO: Packet analysis {"connection_id":160486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b09"} 
[2026-08-19 22:51:05] local.INFO: Extracted packet for processing {"connection_id":160486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b09"} 
[2026-08-19 22:51:05] local.INFO: GPS Element Parsed {"raw_longitude":757264640,"raw_latitude":113949176,"longitude_deg":75.726464,"latitude_deg":11.3949176,"altitude":18,"angle":153,"satellites":46,"speed":50,"hex_longitude":"2d22f100","hex_latitude":"06cab9f8","is_valid_coordinates":true} 
[2026-08-19 22:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512956160001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386390079880298496,"note":"Value kept but may cause issues"} 
[2026-08-19 22:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2517793695847806976,"note":"Value kept but may cause issues"} 
[2026-08-19 22:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787159985000,"timestamp_ms":1787159985000,"timestamp_seconds":1787159985,"priority":1,"record_length":96,"hex_timestamp":"000001a01b093b68"} 
[2026-08-19 22:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:51: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-08-19 22:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-19 22:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512956160001,"66":27082,"118":206,"2":56576,"24":50,"16":386390079880298496,"45":2517793695847806976},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 22:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512956160001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:51:05] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 22:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386390079880298496,"km_value":386390079880298.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2517793695847806976,"description":"Unknown IO ID 45"} 
[2026-08-19 22:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512956160001,"power":27082,"unknown_118":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":2517793695847806976}} 
[2026-08-19 22:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":160486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:51:05] local.INFO: GPS data processed {"connection_id":160486,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:51:05] local.INFO: Acknowledgment sent {"connection_id":160486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:51:07] local.INFO: TCP Data received {"connection_id":160487,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:51:07] local.INFO: Processing buffer {"connection_id":160487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:51:07] local.INFO: IMEI packet received {"connection_id":160487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":160487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:51:12] local.INFO: TCP Data received {"connection_id":160487,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:51:12] local.INFO: Processing buffer {"connection_id":160487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:51:12] local.INFO: IMEI packet received {"connection_id":160487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":160487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:51:13] local.INFO: TCP Data received {"connection_id":160487,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:51:13] local.INFO: Processing buffer {"connection_id":160487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:51:13] local.INFO: Packet analysis {"connection_id":160487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:51:13] local.INFO: Extracted packet for processing {"connection_id":160487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:51:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512834304001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787159810000,"timestamp_ms":1787159810000,"timestamp_seconds":1787159810,"priority":1,"record_length":96,"hex_timestamp":"000001a01b068fd0"} 
[2026-08-19 22:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:51:13] 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-08-19 22:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512834304001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512834304001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:51:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:51:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512834304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":160487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:51:13] local.INFO: GPS data processed {"connection_id":160487,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:51:13] local.INFO: Acknowledgment sent {"connection_id":160487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:51:36] local.INFO: TCP Data received {"connection_id":160486,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0956c0012d23038006ca9b18001100902e..."} 
[2026-08-19 22:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0956c0012d23038006ca9b18001100902e..."} 
[2026-08-19 22:51:36] local.INFO: Processing buffer {"connection_id":160486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0956c0012d23038006ca9b18001100902e..."} 
[2026-08-19 22:51:36] local.INFO: Packet analysis {"connection_id":160486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b09"} 
[2026-08-19 22:51:36] local.INFO: Extracted packet for processing {"connection_id":160486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b09"} 
[2026-08-19 22:51:36] local.INFO: GPS Element Parsed {"raw_longitude":757269376,"raw_latitude":113941272,"longitude_deg":75.7269376,"latitude_deg":11.3941272,"altitude":17,"angle":144,"satellites":46,"speed":55,"hex_longitude":"2d230380","hex_latitude":"06ca9b18","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512956160001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386390522261929984,"note":"Value kept but may cause issues"} 
[2026-08-19 22:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2517793695847806976,"note":"Value kept but may cause issues"} 
[2026-08-19 22:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787159992000,"timestamp_ms":1787159992000,"timestamp_seconds":1787159992,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0956c0"} 
[2026-08-19 22:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:51: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-08-19 22: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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-19 22:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512956160001,"66":27365,"118":206,"2":56576,"24":55,"16":386390522261929984,"45":2517793695847806976},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-08-19 22:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512956160001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:51:36] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-19 22:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386390522261929984,"km_value":386390522261930.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2517793695847806976,"description":"Unknown IO ID 45"} 
[2026-08-19 22:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512956160001,"power":27365,"unknown_118":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":2517793695847806976}} 
[2026-08-19 22:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":160486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:51:36] local.INFO: GPS data processed {"connection_id":160486,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:51:36] local.INFO: Acknowledgment sent {"connection_id":160486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:51:44] local.INFO: TCP Data received {"connection_id":160487,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:51:44] local.INFO: Processing buffer {"connection_id":160487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:51:44] local.INFO: Packet analysis {"connection_id":160487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:51:44] local.INFO: Extracted packet for processing {"connection_id":160487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:51:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512834304001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787159810000,"timestamp_ms":1787159810000,"timestamp_seconds":1787159810,"priority":1,"record_length":96,"hex_timestamp":"000001a01b068fd0"} 
[2026-08-19 22:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 22:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512834304001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512834304001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:51:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:51:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512834304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":160487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:51:45] local.INFO: GPS data processed {"connection_id":160487,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:51:45] local.INFO: Acknowledgment sent {"connection_id":160487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:51:58] local.INFO: TCP Data received {"connection_id":159162,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:51:58] local.INFO: Processing buffer {"connection_id":159162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:51:58] local.INFO: IMEI packet received {"connection_id":159162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":159162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:52:03] local.INFO: TCP Data received {"connection_id":159162,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:52:03] local.INFO: Processing buffer {"connection_id":159162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:52:03] local.INFO: IMEI packet received {"connection_id":159162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":159162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:52:06] local.INFO: TCP Data received {"connection_id":159162,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0a4508012d240ec006c9e128000e009b2d..."} 
[2026-08-19 22:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0a4508012d240ec006c9e128000e009b2d..."} 
[2026-08-19 22:52:06] local.INFO: Processing buffer {"connection_id":159162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0a4508012d240ec006c9e128000e009b2d..."} 
[2026-08-19 22:52:06] local.INFO: Packet analysis {"connection_id":159162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0a"} 
[2026-08-19 22:52:06] local.INFO: Extracted packet for processing {"connection_id":159162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0a"} 
[2026-08-19 22:52:06] local.INFO: GPS Element Parsed {"raw_longitude":757337792,"raw_latitude":113893672,"longitude_deg":75.7337792,"latitude_deg":11.3893672,"altitude":14,"angle":155,"satellites":45,"speed":55,"hex_longitude":"2d240ec0","hex_latitude":"06c9e128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512972288001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386394714150010880,"note":"Value kept but may cause issues"} 
[2026-08-19 22:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2594565995732971520,"note":"Value kept but may cause issues"} 
[2026-08-19 22:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787160053000,"timestamp_ms":1787160053000,"timestamp_seconds":1787160053,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0a4508"} 
[2026-08-19 22:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:52:06] 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-08-19 22: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-08-19 22:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512972288001,"66":27321,"248":206,"2":56576,"24":55,"16":386394714150010880,"45":2594565995732971520},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-08-19 22:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512972288001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386394714150010880,"km_value":386394714150010.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2594565995732971520,"description":"Unknown IO ID 45"} 
[2026-08-19 22:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512972288001,"power":27321,"tamper_alert":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":2594565995732971520}} 
[2026-08-19 22:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":159162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:52:06] local.INFO: GPS data processed {"connection_id":159162,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:52:06] local.INFO: Acknowledgment sent {"connection_id":159162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:52:07] local.INFO: TCP Data received {"connection_id":159163,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:52:07] local.INFO: Processing buffer {"connection_id":159163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:52:07] local.INFO: IMEI packet received {"connection_id":159163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":159163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:52:12] local.INFO: TCP Data received {"connection_id":159163,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:52:12] local.INFO: Processing buffer {"connection_id":159163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:52:12] local.INFO: IMEI packet received {"connection_id":159163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":159163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:52:13] local.INFO: TCP Data received {"connection_id":159163,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:52:13] local.INFO: Processing buffer {"connection_id":159163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b068fd0012d196500071ff1280047014624..."} 
[2026-08-19 22:52:13] local.INFO: Packet analysis {"connection_id":159163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:52:13] local.INFO: Extracted packet for processing {"connection_id":159163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b06"} 
[2026-08-19 22:52:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512834304001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787159810000,"timestamp_ms":1787159810000,"timestamp_seconds":1787159810,"priority":1,"record_length":96,"hex_timestamp":"000001a01b068fd0"} 
[2026-08-19 22:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:52:13] 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-08-19 22:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512834304001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512834304001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:52:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:52:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512834304001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":159163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:52:14] local.INFO: GPS data processed {"connection_id":159163,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:52:14] local.INFO: Acknowledgment sent {"connection_id":159163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:52:38] local.INFO: TCP Data received {"connection_id":159162,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0a6060012d241c0006c9be00000e00a12e..."} 
[2026-08-19 22:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0a6060012d241c0006c9be00000e00a12e..."} 
[2026-08-19 22:52:38] local.INFO: Processing buffer {"connection_id":159162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0a6060012d241c0006c9be00000e00a12e..."} 
[2026-08-19 22:52:38] local.INFO: Packet analysis {"connection_id":159162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0a"} 
[2026-08-19 22:52:38] local.INFO: Extracted packet for processing {"connection_id":159162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0a"} 
[2026-08-19 22:52:38] local.INFO: GPS Element Parsed {"raw_longitude":757341184,"raw_latitude":113884672,"longitude_deg":75.7341184,"latitude_deg":11.3884672,"altitude":14,"angle":161,"satellites":46,"speed":47,"hex_longitude":"2d241c00","hex_latitude":"06c9be00","is_valid_coordinates":true} 
[2026-08-19 22:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512973568001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386395178006478848,"note":"Value kept but may cause issues"} 
[2026-08-19 22:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2598225170428667904,"note":"Value kept but may cause issues"} 
[2026-08-19 22:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787160060000,"timestamp_ms":1787160060000,"timestamp_seconds":1787160060,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0a6060"} 
[2026-08-19 22:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:52: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-08-19 22:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 22:52:38] 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-08-19 22:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512973568001,"66":27245,"248":206,"2":56576,"24":47,"16":386395178006478848,"45":2598225170428667904},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-08-19 22:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512973568001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386395178006478848,"km_value":386395178006478.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":2598225170428667904,"description":"Unknown IO ID 45"} 
[2026-08-19 22:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512973568001,"power":27245,"tamper_alert":206,"power_alt":56576,"ignition":47,"odometer":null,"unknown_45":2598225170428667904}} 
[2026-08-19 22:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":159162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:52:38] local.INFO: GPS data processed {"connection_id":159162,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:52:38] local.INFO: Acknowledgment sent {"connection_id":159162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:52:44] local.INFO: TCP Data received {"connection_id":159163,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:52:44] local.INFO: Processing buffer {"connection_id":159163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:52:44] local.INFO: Packet analysis {"connection_id":159163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:52:44] local.INFO: Extracted packet for processing {"connection_id":159163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:52:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512911360001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787160111000,"timestamp_ms":1787160111000,"timestamp_seconds":1787160111,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0b2798"} 
[2026-08-19 22:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:52:44] 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-08-19 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:52: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-08-19 22: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-08-19 22:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512911360001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512911360001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:52:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:52:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512911360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":159163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:52:44] local.INFO: GPS data processed {"connection_id":159163,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:52:44] local.INFO: Acknowledgment sent {"connection_id":159163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:53:01] local.INFO: TCP Data received {"connection_id":157951,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:53:01] local.INFO: Processing buffer {"connection_id":157951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:53:01] local.INFO: IMEI packet received {"connection_id":157951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":157951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:53:03] local.INFO: TCP Data received {"connection_id":157951,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:53:03] local.INFO: Processing buffer {"connection_id":157951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:53:03] local.INFO: IMEI packet received {"connection_id":157951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":157951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:53:07] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:53:07] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:53:07] local.INFO: IMEI packet received {"connection_id":160488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":160488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:53:08] local.INFO: TCP Data received {"connection_id":157951,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:53:08] local.INFO: Processing buffer {"connection_id":157951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:53:08] local.INFO: IMEI packet received {"connection_id":157951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":157951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:53:10] local.INFO: TCP Data received {"connection_id":157951,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0a7fa0012d2428c006c99c48000d00a02e..."} 
[2026-08-19 22:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0a7fa0012d2428c006c99c48000d00a02e..."} 
[2026-08-19 22:53:10] local.INFO: Processing buffer {"connection_id":157951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0a7fa0012d2428c006c99c48000d00a02e..."} 
[2026-08-19 22:53:10] local.INFO: Packet analysis {"connection_id":157951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0a"} 
[2026-08-19 22:53:10] local.INFO: Extracted packet for processing {"connection_id":157951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0a"} 
[2026-08-19 22:53:10] local.INFO: GPS Element Parsed {"raw_longitude":757344448,"raw_latitude":113876040,"longitude_deg":75.7344448,"latitude_deg":11.387604,"altitude":13,"angle":160,"satellites":46,"speed":46,"hex_longitude":"2d2428c0","hex_latitude":"06c99c48","is_valid_coordinates":true} 
[2026-08-19 22:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512975360001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386395624683077632,"note":"Value kept but may cause issues"} 
[2026-08-19 22:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2601954713867780096,"note":"Value kept but may cause issues"} 
[2026-08-19 22:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787160068000,"timestamp_ms":1787160068000,"timestamp_seconds":1787160068,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0a7fa0"} 
[2026-08-19 22:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:53: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-08-19 22:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 22:53:10] 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-08-19 22:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":157951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":157951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":157951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512975360001,"66":26658,"248":206,"2":56576,"24":46,"16":386395624683077632,"45":2601954713867780096},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-08-19 22:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512975360001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386395624683077632,"km_value":386395624683077.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2601954713867780096,"description":"Unknown IO ID 45"} 
[2026-08-19 22:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512975360001,"power":26658,"tamper_alert":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":2601954713867780096}} 
[2026-08-19 22:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":157951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:53:10] local.INFO: GPS data processed {"connection_id":157951,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:53:10] local.INFO: Acknowledgment sent {"connection_id":157951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:53:11] local.INFO: TCP Data received {"connection_id":157951,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0a9ee0012d24334006c97a20000c00a42e..."} 
[2026-08-19 22:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0a9ee0012d24334006c97a20000c00a42e..."} 
[2026-08-19 22:53:11] local.INFO: Processing buffer {"connection_id":157951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0a9ee0012d24334006c97a20000c00a42e..."} 
[2026-08-19 22:53:11] local.INFO: Packet analysis {"connection_id":157951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0a"} 
[2026-08-19 22:53:11] local.INFO: Extracted packet for processing {"connection_id":157951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0a"} 
[2026-08-19 22:53:11] local.INFO: GPS Element Parsed {"raw_longitude":757347136,"raw_latitude":113867296,"longitude_deg":75.7347136,"latitude_deg":11.3867296,"altitude":12,"angle":164,"satellites":46,"speed":42,"hex_longitude":"2d243340","hex_latitude":"06c97a20","is_valid_coordinates":true} 
[2026-08-19 22:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512977408001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386396067064709120,"note":"Value kept but may cause issues"} 
[2026-08-19 22:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2605543519818631168,"note":"Value kept but may cause issues"} 
[2026-08-19 22:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787160076000,"timestamp_ms":1787160076000,"timestamp_seconds":1787160076,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0a9ee0"} 
[2026-08-19 22:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:53: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-08-19 22:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-19 22:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":157951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":157951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":157951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512977408001,"66":27267,"248":206,"2":56576,"24":42,"16":386396067064709120,"45":2605543519818631168},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-08-19 22:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512977408001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386396067064709120,"km_value":386396067064709.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2605543519818631168,"description":"Unknown IO ID 45"} 
[2026-08-19 22:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512977408001,"power":27267,"tamper_alert":206,"power_alt":56576,"ignition":42,"odometer":null,"unknown_45":2605543519818631168}} 
[2026-08-19 22:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":157951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:53:11] local.INFO: GPS data processed {"connection_id":157951,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:53:11] local.INFO: Acknowledgment sent {"connection_id":157951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:53:12] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:53:12] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:53:12] local.INFO: IMEI packet received {"connection_id":160488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":160488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:53:13] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:53:13] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:53:13] local.INFO: Packet analysis {"connection_id":160488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:53:13] local.INFO: Extracted packet for processing {"connection_id":160488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:53:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512911360001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787160111000,"timestamp_ms":1787160111000,"timestamp_seconds":1787160111,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0b2798"} 
[2026-08-19 22:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:53:13] 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-08-19 22:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512911360001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512911360001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:53:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512911360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":160488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:53:13] local.INFO: GPS data processed {"connection_id":160488,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:53:13] local.INFO: Acknowledgment sent {"connection_id":160488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:53:43] local.INFO: TCP Data received {"connection_id":157951,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0bf6a0012d24d0c006c81e10000a00a22f..."} 
[2026-08-19 22:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0bf6a0012d24d0c006c81e10000a00a22f..."} 
[2026-08-19 22:53:43] local.INFO: Processing buffer {"connection_id":157951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0bf6a0012d24d0c006c81e10000a00a22f..."} 
[2026-08-19 22:53:43] local.INFO: Packet analysis {"connection_id":157951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:53:43] local.INFO: Extracted packet for processing {"connection_id":157951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:53:43] local.INFO: GPS Element Parsed {"raw_longitude":757387456,"raw_latitude":113778192,"longitude_deg":75.7387456,"latitude_deg":11.3778192,"altitude":10,"angle":162,"satellites":47,"speed":55,"hex_longitude":"2d24d0c0","hex_latitude":"06c81e10","is_valid_coordinates":true} 
[2026-08-19 22:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513000192001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386400868838146048,"note":"Value kept but may cause issues"} 
[2026-08-19 22:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2649594353651148800,"note":"Value kept but may cause issues"} 
[2026-08-19 22:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787160164000,"timestamp_ms":1787160164000,"timestamp_seconds":1787160164,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0bf6a0"} 
[2026-08-19 22:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:53:43] 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-08-19 22:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513000192001,"66":27234,"249":206,"2":56576,"24":55,"16":386400868838146048,"45":2649594353651148800},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-08-19 22:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513000192001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:53:43] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-19 22:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386400868838146048,"km_value":386400868838146.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2649594353651148800,"description":"Unknown IO ID 45"} 
[2026-08-19 22:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513000192001,"power":27234,"unknown_249":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":2649594353651148800}} 
[2026-08-19 22:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":157951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:53:43] local.INFO: GPS data processed {"connection_id":157951,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:53:43] local.INFO: Acknowledgment sent {"connection_id":157951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:53:44] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:53:44] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:53:44] local.INFO: Packet analysis {"connection_id":160488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:53:44] local.INFO: Extracted packet for processing {"connection_id":160488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:53:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512911360001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787160111000,"timestamp_ms":1787160111000,"timestamp_seconds":1787160111,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0b2798"} 
[2026-08-19 22:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:53:44] 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-08-19 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:53: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-08-19 22: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-08-19 22:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512911360001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512911360001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:53:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:53:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512911360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":160488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:53:44] local.INFO: GPS data processed {"connection_id":160488,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:53:44] local.INFO: Acknowledgment sent {"connection_id":160488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:53:58] local.INFO: TCP Data received {"connection_id":158301,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:53:58] local.INFO: Processing buffer {"connection_id":158301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:53:58] local.INFO: IMEI packet received {"connection_id":158301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":158301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:54:00] local.INFO: TCP Data received {"connection_id":158301,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:54:00] local.INFO: Processing buffer {"connection_id":158301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:54:00] local.INFO: IMEI packet received {"connection_id":158301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":158301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:54:01] local.INFO: TCP Data received {"connection_id":158301,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0c11f8012d24dd0006c7fa88000b00a22f..."} 
[2026-08-19 22:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0c11f8012d24dd0006c7fa88000b00a22f..."} 
[2026-08-19 22:54:01] local.INFO: Processing buffer {"connection_id":158301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0c11f8012d24dd0006c7fa88000b00a22f..."} 
[2026-08-19 22:54:01] local.INFO: Packet analysis {"connection_id":158301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0c"} 
[2026-08-19 22:54:01] local.INFO: Extracted packet for processing {"connection_id":158301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0c"} 
[2026-08-19 22:54:01] local.INFO: GPS Element Parsed {"raw_longitude":757390592,"raw_latitude":113769096,"longitude_deg":75.7390592,"latitude_deg":11.3769096,"altitude":11,"angle":162,"satellites":47,"speed":53,"hex_longitude":"2d24dd00","hex_latitude":"06c7fa88","is_valid_coordinates":true} 
[2026-08-19 22:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513001984001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386401332694614016,"note":"Value kept but may cause issues"} 
[2026-08-19 22:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2652831315880972288,"note":"Value kept but may cause issues"} 
[2026-08-19 22:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787160171000,"timestamp_ms":1787160171000,"timestamp_seconds":1787160171,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0c11f8"} 
[2026-08-19 22:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:54: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-08-19 22:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 22:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":158301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":158301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":158301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513001984001,"66":27267,"249":206,"2":56576,"24":53,"16":386401332694614016,"45":2652831315880972288},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-08-19 22:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513001984001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:54:01] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-19 22:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386401332694614016,"km_value":386401332694614.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2652831315880972288,"description":"Unknown IO ID 45"} 
[2026-08-19 22:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513001984001,"power":27267,"unknown_249":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":2652831315880972288}} 
[2026-08-19 22:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":158301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:54:01] local.INFO: GPS data processed {"connection_id":158301,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:54:01] local.INFO: Acknowledgment sent {"connection_id":158301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:54:07] local.INFO: TCP Data received {"connection_id":157952,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:54:07] local.INFO: Processing buffer {"connection_id":157952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:54:07] local.INFO: IMEI packet received {"connection_id":157952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":157952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:54:12] local.INFO: TCP Data received {"connection_id":157952,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:54:12] local.INFO: Processing buffer {"connection_id":157952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:54:12] local.INFO: IMEI packet received {"connection_id":157952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":157952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:54:13] local.INFO: TCP Data received {"connection_id":157952,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:54:13] local.INFO: Processing buffer {"connection_id":157952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:54:13] local.INFO: Packet analysis {"connection_id":157952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:54:13] local.INFO: Extracted packet for processing {"connection_id":157952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:54:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512911360001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787160111000,"timestamp_ms":1787160111000,"timestamp_seconds":1787160111,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0b2798"} 
[2026-08-19 22:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:54:13] 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-08-19 22:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512911360001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512911360001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:54:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:54:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512911360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":157952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:54:13] local.INFO: GPS data processed {"connection_id":157952,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:54:13] local.INFO: Acknowledgment sent {"connection_id":157952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:54:33] local.INFO: TCP Data received {"connection_id":158301,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0c2d50012d24e74006c7d8a0000e00a62f..."} 
[2026-08-19 22:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0c2d50012d24e74006c7d8a0000e00a62f..."} 
[2026-08-19 22:54:33] local.INFO: Processing buffer {"connection_id":158301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0c2d50012d24e74006c7d8a0000e00a62f..."} 
[2026-08-19 22:54:33] local.INFO: Packet analysis {"connection_id":158301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0c"} 
[2026-08-19 22:54:33] local.INFO: Extracted packet for processing {"connection_id":158301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0c"} 
[2026-08-19 22:54:33] local.INFO: GPS Element Parsed {"raw_longitude":757393216,"raw_latitude":113760416,"longitude_deg":75.7393216,"latitude_deg":11.3760416,"altitude":14,"angle":166,"satellites":47,"speed":50,"hex_longitude":"2d24e740","hex_latitude":"06c7d8a0","is_valid_coordinates":true} 
[2026-08-19 22:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513003776001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386401770781278208,"note":"Value kept but may cause issues"} 
[2026-08-19 22:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2656279384343349248,"note":"Value kept but may cause issues"} 
[2026-08-19 22:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787160178000,"timestamp_ms":1787160178000,"timestamp_seconds":1787160178,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0c2d50"} 
[2026-08-19 22:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:54: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-08-19 22:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:54:33] 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-08-19 22:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513003776001,"66":27267,"249":206,"2":56576,"24":50,"16":386401770781278208,"45":2656279384343349248},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-08-19 22:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513003776001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:54:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-19 22:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386401770781278208,"km_value":386401770781278.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":2656279384343349248,"description":"Unknown IO ID 45"} 
[2026-08-19 22:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513003776001,"power":27267,"unknown_249":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":2656279384343349248}} 
[2026-08-19 22:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":158301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:54:33] local.INFO: GPS data processed {"connection_id":158301,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:54:33] local.INFO: Acknowledgment sent {"connection_id":158301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:54:44] local.INFO: TCP Data received {"connection_id":157952,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:54:44] local.INFO: Processing buffer {"connection_id":157952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:54:44] local.INFO: Packet analysis {"connection_id":157952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:54:44] local.INFO: Extracted packet for processing {"connection_id":157952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:54:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512911360001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787160111000,"timestamp_ms":1787160111000,"timestamp_seconds":1787160111,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0b2798"} 
[2026-08-19 22:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:54:44] 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-08-19 22:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:54: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-08-19 22:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512911360001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512911360001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:54:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:54:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512911360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":157952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:54:44] local.INFO: GPS data processed {"connection_id":157952,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:54:44] local.INFO: Acknowledgment sent {"connection_id":157952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:54:58] local.INFO: TCP Data received {"connection_id":160489,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:54:58] local.INFO: Processing buffer {"connection_id":160489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:54:58] local.INFO: IMEI packet received {"connection_id":160489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":160489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:54:59] local.INFO: TCP Data received {"connection_id":160489,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:54:59] local.INFO: Processing buffer {"connection_id":160489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:54:59] local.INFO: IMEI packet received {"connection_id":160489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":160489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:55:03] local.INFO: TCP Data received {"connection_id":160489,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:55:03] local.INFO: Processing buffer {"connection_id":160489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:55:03] local.INFO: IMEI packet received {"connection_id":160489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":160489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:55:05] local.INFO: TCP Data received {"connection_id":160489,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0c4c90012d24ee8006c7b308001200ac2f..."} 
[2026-08-19 22:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0c4c90012d24ee8006c7b308001200ac2f..."} 
[2026-08-19 22:55:05] local.INFO: Processing buffer {"connection_id":160489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0c4c90012d24ee8006c7b308001200ac2f..."} 
[2026-08-19 22:55:05] local.INFO: Packet analysis {"connection_id":160489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0c"} 
[2026-08-19 22:55:05] local.INFO: Extracted packet for processing {"connection_id":160489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0c"} 
[2026-08-19 22:55:05] local.INFO: GPS Element Parsed {"raw_longitude":757395072,"raw_latitude":113750792,"longitude_deg":75.7395072,"latitude_deg":11.3750792,"altitude":18,"angle":172,"satellites":47,"speed":47,"hex_longitude":"2d24ee80","hex_latitude":"06c7b308","is_valid_coordinates":true} 
[2026-08-19 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-08-19 22:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513005568001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386402247522648064,"note":"Value kept but may cause issues"} 
[2026-08-19 22:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2659164502852411392,"note":"Value kept but may cause issues"} 
[2026-08-19 22:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787160186000,"timestamp_ms":1787160186000,"timestamp_seconds":1787160186,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0c4c90"} 
[2026-08-19 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-08-19 22:55: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-08-19 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:55:05] 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-08-19 22:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 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-08-19 22:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513005568001,"66":27245,"249":206,"2":56576,"24":47,"16":386402247522648064,"45":2659164502852411392},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-08-19 22:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513005568001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:55:05] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-19 22:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386402247522648064,"km_value":386402247522648.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2659164502852411392,"description":"Unknown IO ID 45"} 
[2026-08-19 22:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513005568001,"power":27245,"unknown_249":206,"power_alt":56576,"ignition":47,"odometer":null,"unknown_45":2659164502852411392}} 
[2026-08-19 22:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":160489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:55:05] local.INFO: GPS data processed {"connection_id":160489,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:55:05] local.INFO: Acknowledgment sent {"connection_id":160489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:55:12] local.INFO: TCP Data received {"connection_id":160490,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:55:12] local.INFO: Processing buffer {"connection_id":160490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:55:12] local.INFO: IMEI packet received {"connection_id":160490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":160490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:55:17] local.INFO: TCP Data received {"connection_id":160490,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:55:17] local.INFO: Processing buffer {"connection_id":160490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:55:17] local.INFO: IMEI packet received {"connection_id":160490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":160490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:55:18] local.INFO: TCP Data received {"connection_id":160490,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:55:18] local.INFO: Processing buffer {"connection_id":160490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:55:18] local.INFO: Packet analysis {"connection_id":160490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:55:18] local.INFO: Extracted packet for processing {"connection_id":160490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:55:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512911360001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787160111000,"timestamp_ms":1787160111000,"timestamp_seconds":1787160111,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0b2798"} 
[2026-08-19 22:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:55:18] 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-08-19 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512911360001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512911360001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:55:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:55:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512911360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":160490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:55:18] local.INFO: GPS data processed {"connection_id":160490,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:55:18] local.INFO: Acknowledgment sent {"connection_id":160490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:55:23] local.INFO: TCP Data received {"connection_id":160490,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:55:23] local.INFO: Processing buffer {"connection_id":160490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:55:23] local.INFO: Packet analysis {"connection_id":160490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:55:23] local.INFO: Extracted packet for processing {"connection_id":160490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 22:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512911360001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787160111000,"timestamp_ms":1787160111000,"timestamp_seconds":1787160111,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0b2798"} 
[2026-08-19 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-08-19 22:55:23] 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-08-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 22:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512911360001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512911360001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:55:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512911360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":160490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:55:23] local.INFO: GPS data processed {"connection_id":160490,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:55:23] local.INFO: Acknowledgment sent {"connection_id":160490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:55:36] local.INFO: TCP Data received {"connection_id":160489,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0da450012d259ac006c61eb0000d00942f..."} 
[2026-08-19 22:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0da450012d259ac006c61eb0000d00942f..."} 
[2026-08-19 22:55:36] local.INFO: Processing buffer {"connection_id":160489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0da450012d259ac006c61eb0000d00942f..."} 
[2026-08-19 22:55:36] local.INFO: Packet analysis {"connection_id":160489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0d"} 
[2026-08-19 22:55:36] local.INFO: Extracted packet for processing {"connection_id":160489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0d"} 
[2026-08-19 22:55:36] local.INFO: GPS Element Parsed {"raw_longitude":757439168,"raw_latitude":113647280,"longitude_deg":75.7439168,"latitude_deg":11.364728,"altitude":13,"angle":148,"satellites":47,"speed":49,"hex_longitude":"2d259ac0","hex_latitude":"06c61eb0","is_valid_coordinates":true} 
[2026-08-19 22:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513028352001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386407753670721536,"note":"Value kept but may cause issues"} 
[2026-08-19 22:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2704693080308391936,"note":"Value kept but may cause issues"} 
[2026-08-19 22:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787160274000,"timestamp_ms":1787160274000,"timestamp_seconds":1787160274,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0da450"} 
[2026-08-19 22:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:55: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-08-19 22:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:55:36] 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-08-19 22:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513028352001,"66":27343,"191":206,"2":56576,"24":49,"16":386407753670721536,"45":2704693080308391936},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-19 22:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513028352001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:55:36] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 22:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386407753670721536,"km_value":386407753670721.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2704693080308391936,"description":"Unknown IO ID 45"} 
[2026-08-19 22:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513028352001,"power":27343,"unknown_191":206,"power_alt":56576,"ignition":49,"odometer":null,"unknown_45":2704693080308391936}} 
[2026-08-19 22:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":160489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:55:36] local.INFO: GPS data processed {"connection_id":160489,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:55:36] local.INFO: Acknowledgment sent {"connection_id":160489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:55:57] local.INFO: TCP Data received {"connection_id":158302,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:55:57] local.INFO: Processing buffer {"connection_id":158302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:55:57] local.INFO: IMEI packet received {"connection_id":158302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":158302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:55:58] local.INFO: TCP Data received {"connection_id":158302,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:55:58] local.INFO: Processing buffer {"connection_id":158302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:55:58] local.INFO: IMEI packet received {"connection_id":158302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":158302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:56:03] local.INFO: TCP Data received {"connection_id":158302,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:56:03] local.INFO: Processing buffer {"connection_id":158302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:56:03] local.INFO: IMEI packet received {"connection_id":158302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":158302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:56:05] local.INFO: TCP Data received {"connection_id":158302,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0dc778012d25ae0006c5fdb8000d00932f..."} 
[2026-08-19 22:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0dc778012d25ae0006c5fdb8000d00932f..."} 
[2026-08-19 22:56:05] local.INFO: Processing buffer {"connection_id":158302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0dc778012d25ae0006c5fdb8000d00932f..."} 
[2026-08-19 22:56:05] local.INFO: Packet analysis {"connection_id":158302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0d"} 
[2026-08-19 22:56:05] local.INFO: Extracted packet for processing {"connection_id":158302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0d"} 
[2026-08-19 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":757444096,"raw_latitude":113638840,"longitude_deg":75.7444096,"latitude_deg":11.363884,"altitude":13,"angle":147,"satellites":47,"speed":44,"hex_longitude":"2d25ae00","hex_latitude":"06c5fdb8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 22:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513030144001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386408226117124096,"note":"Value kept but may cause issues"} 
[2026-08-19 22:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2709689261143011328,"note":"Value kept but may cause issues"} 
[2026-08-19 22:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787160283000,"timestamp_ms":1787160283000,"timestamp_seconds":1787160283,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0dc778"} 
[2026-08-19 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-08-19 22:56: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-08-19 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 22:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 22:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513030144001,"66":27397,"191":206,"2":56576,"24":44,"16":386408226117124096,"45":2709689261143011328},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-19 22:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513030144001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:56:05] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 22:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386408226117124096,"km_value":386408226117124.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2709689261143011328,"description":"Unknown IO ID 45"} 
[2026-08-19 22:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513030144001,"power":27397,"unknown_191":206,"power_alt":56576,"ignition":44,"odometer":null,"unknown_45":2709689261143011328}} 
[2026-08-19 22:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":158302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:56:05] local.INFO: GPS data processed {"connection_id":158302,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:56:05] local.INFO: Acknowledgment sent {"connection_id":158302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:56:07] local.INFO: TCP Data received {"connection_id":159164,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:56:07] local.INFO: Processing buffer {"connection_id":159164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:56:07] local.INFO: IMEI packet received {"connection_id":159164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":159164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:56:12] local.INFO: TCP Data received {"connection_id":159164,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:56:12] local.INFO: Processing buffer {"connection_id":159164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:56:12] local.INFO: IMEI packet received {"connection_id":159164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":159164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:56:13] local.INFO: TCP Data received {"connection_id":159164,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:56:13] local.INFO: Processing buffer {"connection_id":159164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:56:13] local.INFO: Packet analysis {"connection_id":159164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:56:13] local.INFO: Extracted packet for processing {"connection_id":159164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:56:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512911360001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787160111000,"timestamp_ms":1787160111000,"timestamp_seconds":1787160111,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0b2798"} 
[2026-08-19 22:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:56:13] 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-08-19 22:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512911360001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512911360001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:56:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:56:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512911360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":159164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:56:13] local.INFO: GPS data processed {"connection_id":159164,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:56:13] local.INFO: Acknowledgment sent {"connection_id":159164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:56:18] local.INFO: TCP Data received {"connection_id":159164,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:56:18] local.INFO: Processing buffer {"connection_id":159164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:56:18] local.INFO: Packet analysis {"connection_id":159164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:56:18] local.INFO: Extracted packet for processing {"connection_id":159164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:56:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 22:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512911360001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787160111000,"timestamp_ms":1787160111000,"timestamp_seconds":1787160111,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0b2798"} 
[2026-08-19 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-08-19 22:56:18] 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-08-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 22:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512911360001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512911360001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:56:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:56:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512911360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":159164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:56:18] local.INFO: GPS data processed {"connection_id":159164,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:56:18] local.INFO: Acknowledgment sent {"connection_id":159164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:56:36] local.INFO: TCP Data received {"connection_id":158302,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0de6b8012d25c38006c5de78000c00902f..."} 
[2026-08-19 22:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0de6b8012d25c38006c5de78000c00902f..."} 
[2026-08-19 22:56:36] local.INFO: Processing buffer {"connection_id":158302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0de6b8012d25c38006c5de78000c00902f..."} 
[2026-08-19 22:56:36] local.INFO: Packet analysis {"connection_id":158302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0d"} 
[2026-08-19 22:56:36] local.INFO: Extracted packet for processing {"connection_id":158302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0d"} 
[2026-08-19 22:56:36] local.INFO: GPS Element Parsed {"raw_longitude":757449600,"raw_latitude":113630840,"longitude_deg":75.74496,"latitude_deg":11.363084,"altitude":12,"angle":144,"satellites":47,"speed":51,"hex_longitude":"2d25c380","hex_latitude":"06c5de78","is_valid_coordinates":true} 
[2026-08-19 22:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513032448001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386408689973592064,"note":"Value kept but may cause issues"} 
[2026-08-19 22:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2715107654442530816,"note":"Value kept but may cause issues"} 
[2026-08-19 22:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787160291000,"timestamp_ms":1787160291000,"timestamp_seconds":1787160291,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0de6b8"} 
[2026-08-19 22:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 22:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513032448001,"66":26930,"191":206,"2":56576,"24":51,"16":386408689973592064,"45":2715107654442530816},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-19 22:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513032448001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:56:36] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 22:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386408689973592064,"km_value":386408689973592.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2715107654442530816,"description":"Unknown IO ID 45"} 
[2026-08-19 22:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513032448001,"power":26930,"unknown_191":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":2715107654442530816}} 
[2026-08-19 22:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":158302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:56:36] local.INFO: GPS data processed {"connection_id":158302,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:56:36] local.INFO: Acknowledgment sent {"connection_id":158302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:56:49] local.INFO: TCP Data received {"connection_id":159164,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:56:49] local.INFO: Processing buffer {"connection_id":159164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:56:49] local.INFO: Packet analysis {"connection_id":159164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:56:49] local.INFO: Extracted packet for processing {"connection_id":159164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:56:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512911360001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787160111000,"timestamp_ms":1787160111000,"timestamp_seconds":1787160111,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0b2798"} 
[2026-08-19 22:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:56:49] 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-08-19 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":159164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":159164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":159164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512911360001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512911360001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:56:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:56:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512911360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":159164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:56:49] local.INFO: GPS data processed {"connection_id":159164,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:56:49] local.INFO: Acknowledgment sent {"connection_id":159164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:56:58] local.INFO: TCP Data received {"connection_id":158303,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:56:58] local.INFO: Processing buffer {"connection_id":158303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:56:58] local.INFO: IMEI packet received {"connection_id":158303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":158303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:57:02] local.INFO: TCP Data received {"connection_id":158303,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:57:02] local.INFO: Processing buffer {"connection_id":158303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:57:02] local.INFO: IMEI packet received {"connection_id":158303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":158303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:57:03] local.INFO: TCP Data received {"connection_id":158303,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:57:03] local.INFO: Processing buffer {"connection_id":158303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:57:03] local.INFO: IMEI packet received {"connection_id":158303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":158303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:57:04] local.INFO: TCP Data received {"connection_id":158303,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0e0210012d25d84006c5c190000c00952d..."} 
[2026-08-19 22:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0e0210012d25d84006c5c190000c00952d..."} 
[2026-08-19 22:57:04] local.INFO: Processing buffer {"connection_id":158303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0e0210012d25d84006c5c190000c00952d..."} 
[2026-08-19 22:57:04] local.INFO: Packet analysis {"connection_id":158303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0e"} 
[2026-08-19 22:57:04] local.INFO: Extracted packet for processing {"connection_id":158303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0e"} 
[2026-08-19 22:57:04] local.INFO: GPS Element Parsed {"raw_longitude":757454912,"raw_latitude":113623440,"longitude_deg":75.7454912,"latitude_deg":11.362344,"altitude":12,"angle":149,"satellites":45,"speed":50,"hex_longitude":"2d25d840","hex_latitude":"06c5c190","is_valid_coordinates":true} 
[2026-08-19 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-08-19 22:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513034496001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386409132355223552,"note":"Value kept but may cause issues"} 
[2026-08-19 22:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2721159366439761920,"note":"Value kept but may cause issues"} 
[2026-08-19 22:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787160298000,"timestamp_ms":1787160298000,"timestamp_seconds":1787160298,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0e0210"} 
[2026-08-19 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-08-19 22:57: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-08-19 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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-19 22:57:04] 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-08-19 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-08-19 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-08-19 22:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513034496001,"66":27267,"191":206,"2":56576,"24":50,"16":386409132355223552,"45":2721159366439761920},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-19 22:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513034496001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:57:04] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 22:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386409132355223552,"km_value":386409132355223.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2721159366439761920,"description":"Unknown IO ID 45"} 
[2026-08-19 22:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513034496001,"power":27267,"unknown_191":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":2721159366439761920}} 
[2026-08-19 22:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":158303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:57:04] local.INFO: GPS data processed {"connection_id":158303,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:57:04] local.INFO: Acknowledgment sent {"connection_id":158303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:57:07] local.INFO: TCP Data received {"connection_id":157953,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:57:07] local.INFO: Processing buffer {"connection_id":157953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:57:07] local.INFO: IMEI packet received {"connection_id":157953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":157953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:57:09] local.INFO: TCP Data received {"connection_id":158303,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0e2150012d25edc006c5a430000f008b30..."} 
[2026-08-19 22:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0e2150012d25edc006c5a430000f008b30..."} 
[2026-08-19 22:57:09] local.INFO: Processing buffer {"connection_id":158303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0e2150012d25edc006c5a430000f008b30..."} 
[2026-08-19 22:57:09] local.INFO: Packet analysis {"connection_id":158303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0e"} 
[2026-08-19 22:57:09] local.INFO: Extracted packet for processing {"connection_id":158303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0e"} 
[2026-08-19 22:57:09] local.INFO: GPS Element Parsed {"raw_longitude":757460416,"raw_latitude":113615920,"longitude_deg":75.7460416,"latitude_deg":11.361592,"altitude":15,"angle":139,"satellites":48,"speed":40,"hex_longitude":"2d25edc0","hex_latitude":"06c5a430","is_valid_coordinates":true} 
[2026-08-19 22:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513036288001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386409579031822336,"note":"Value kept but may cause issues"} 
[2026-08-19 22:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2726999972204613632,"note":"Value kept but may cause issues"} 
[2026-08-19 22:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787160306000,"timestamp_ms":1787160306000,"timestamp_seconds":1787160306,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0e2150"} 
[2026-08-19 22:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:57:09] 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-08-19 22:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":158303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":158303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":158303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513036288001,"66":27321,"191":206,"2":56576,"24":40,"16":386409579031822336,"45":2726999972204613632},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-19 22:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513036288001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:57:09] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 22:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386409579031822336,"km_value":386409579031822.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2726999972204613632,"description":"Unknown IO ID 45"} 
[2026-08-19 22:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513036288001,"power":27321,"unknown_191":206,"power_alt":56576,"ignition":40,"odometer":null,"unknown_45":2726999972204613632}} 
[2026-08-19 22:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":158303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:57:09] local.INFO: GPS data processed {"connection_id":158303,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:57:09] local.INFO: Acknowledgment sent {"connection_id":158303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:57:12] local.INFO: TCP Data received {"connection_id":157953,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:57:12] local.INFO: Processing buffer {"connection_id":157953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:57:12] local.INFO: IMEI packet received {"connection_id":157953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":157953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:57:13] local.INFO: TCP Data received {"connection_id":157953,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:57:13] local.INFO: Processing buffer {"connection_id":157953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0b2798012d196500071ff1280047014628..."} 
[2026-08-19 22:57:13] local.INFO: Packet analysis {"connection_id":157953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:57:13] local.INFO: Extracted packet for processing {"connection_id":157953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0b"} 
[2026-08-19 22:57:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512911360001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787160111000,"timestamp_ms":1787160111000,"timestamp_seconds":1787160111,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0b2798"} 
[2026-08-19 22:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:57:13] 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-08-19 22:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 22:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512911360001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512911360001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:57:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:57:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512911360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":157953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:57:13] local.INFO: GPS data processed {"connection_id":157953,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:57:13] local.INFO: Acknowledgment sent {"connection_id":157953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:57:44] local.INFO: TCP Data received {"connection_id":157953,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 22:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 22:57:44] local.INFO: Processing buffer {"connection_id":157953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 22:57:44] local.INFO: Packet analysis {"connection_id":157953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 22:57:44] local.INFO: Extracted packet for processing {"connection_id":157953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 22:57:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512988416001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787160412000,"timestamp_ms":1787160412000,"timestamp_seconds":1787160412,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0fbf60"} 
[2026-08-19 22:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:57:44] 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-08-19 22:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512988416001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512988416001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:57:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:57:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512988416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":157953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:57:44] local.INFO: GPS data processed {"connection_id":157953,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:57:44] local.INFO: Acknowledgment sent {"connection_id":157953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:57:47] local.INFO: TCP Data received {"connection_id":158303,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0e5418012d26054006c588c80013008b2f..."} 
[2026-08-19 22:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0e5418012d26054006c588c80013008b2f..."} 
[2026-08-19 22:57:47] local.INFO: Processing buffer {"connection_id":158303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0e5418012d26054006c588c80013008b2f..."} 
[2026-08-19 22:57:47] local.INFO: Packet analysis {"connection_id":158303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0e"} 
[2026-08-19 22:57:47] local.INFO: Extracted packet for processing {"connection_id":158303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0e"} 
[2026-08-19 22:57:47] local.INFO: GPS Element Parsed {"raw_longitude":757466432,"raw_latitude":113608904,"longitude_deg":75.7466432,"latitude_deg":11.3608904,"altitude":19,"angle":139,"satellites":47,"speed":21,"hex_longitude":"2d260540","hex_latitude":"06c588c8","is_valid_coordinates":true} 
[2026-08-19 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-08-19 22:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513038336001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386410025708421120,"note":"Value kept but may cause issues"} 
[2026-08-19 22:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2733051684201967616,"note":"Value kept but may cause issues"} 
[2026-08-19 22:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787160319000,"timestamp_ms":1787160319000,"timestamp_seconds":1787160319,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0e5418"} 
[2026-08-19 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-08-19 22:57: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-08-19 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 22:57:47] 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-08-19 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-08-19 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-08-19 22:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513038336001,"66":27343,"191":206,"2":56576,"24":21,"16":386410025708421120,"45":2733051684201967616},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-19 22:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513038336001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:57:47] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 22:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386410025708421120,"km_value":386410025708421.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2733051684201967616,"description":"Unknown IO ID 45"} 
[2026-08-19 22:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513038336001,"power":27343,"unknown_191":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":2733051684201967616}} 
[2026-08-19 22:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":158303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:57:47] local.INFO: GPS data processed {"connection_id":158303,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:57:47] local.INFO: Acknowledgment sent {"connection_id":158303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:58:08] local.INFO: TCP Data received {"connection_id":159165,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:58:08] local.INFO: Processing buffer {"connection_id":159165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:58:08] local.INFO: IMEI packet received {"connection_id":159165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":159165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:58:12] local.INFO: TCP Data received {"connection_id":159165,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:58:12] local.INFO: Processing buffer {"connection_id":159165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:58:12] local.INFO: IMEI packet received {"connection_id":159165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":159165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:58:13] local.INFO: TCP Data received {"connection_id":159165,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 22:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 22:58:13] local.INFO: Processing buffer {"connection_id":159165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 22:58:13] local.INFO: Packet analysis {"connection_id":159165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 22:58:13] local.INFO: Extracted packet for processing {"connection_id":159165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 22:58:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512988416001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787160412000,"timestamp_ms":1787160412000,"timestamp_seconds":1787160412,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0fbf60"} 
[2026-08-19 22:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:58:13] 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-08-19 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22: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-08-19 22:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512988416001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512988416001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:58:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512988416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":159165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:58:13] local.INFO: GPS data processed {"connection_id":159165,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:58:13] local.INFO: Acknowledgment sent {"connection_id":159165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:58:33] local.INFO: TCP Data received {"connection_id":158304,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:58:33] local.INFO: Processing buffer {"connection_id":158304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:58:33] local.INFO: IMEI packet received {"connection_id":158304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":158304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:58:38] local.INFO: TCP Data received {"connection_id":158304,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:58:38] local.INFO: Processing buffer {"connection_id":158304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:58:38] local.INFO: IMEI packet received {"connection_id":158304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":158304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:58:39] local.INFO: TCP Data received {"connection_id":158304,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b100998012d26f70006c44e28000c009b2f..."} 
[2026-08-19 22:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b100998012d26f70006c44e28000c009b2f..."} 
[2026-08-19 22:58:39] local.INFO: Processing buffer {"connection_id":158304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b100998012d26f70006c44e28000c009b2f..."} 
[2026-08-19 22:58:39] local.INFO: Packet analysis {"connection_id":158304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b10"} 
[2026-08-19 22:58:39] local.INFO: Extracted packet for processing {"connection_id":158304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b10"} 
[2026-08-19 22:58:39] local.INFO: GPS Element Parsed {"raw_longitude":757528320,"raw_latitude":113528360,"longitude_deg":75.752832,"latitude_deg":11.352836,"altitude":12,"angle":155,"satellites":47,"speed":60,"hex_longitude":"2d26f700","hex_latitude":"06c44e28","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513068800001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386414947740942336,"note":"Value kept but may cause issues"} 
[2026-08-19 22:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2803490797103454208,"note":"Value kept but may cause issues"} 
[2026-08-19 22:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787160431000,"timestamp_ms":1787160431000,"timestamp_seconds":1787160431,"priority":1,"record_length":96,"hex_timestamp":"000001a01b100998"} 
[2026-08-19 22:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 22:58:39] 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-08-19 22:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513068800001,"66":27300,"191":206,"2":56576,"24":60,"16":386414947740942336,"45":2803490797103454208},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-08-19 22:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513068800001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:58:39] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 22:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386414947740942336,"km_value":386414947740942.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2803490797103454208,"description":"Unknown IO ID 45"} 
[2026-08-19 22:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513068800001,"power":27300,"unknown_191":206,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":2803490797103454208}} 
[2026-08-19 22:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":158304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:58:39] local.INFO: GPS data processed {"connection_id":158304,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:58:39] local.INFO: Acknowledgment sent {"connection_id":158304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:58:44] local.INFO: TCP Data received {"connection_id":159165,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 22:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 22:58:44] local.INFO: Processing buffer {"connection_id":159165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 22:58:44] local.INFO: Packet analysis {"connection_id":159165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 22:58:44] local.INFO: Extracted packet for processing {"connection_id":159165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 22:58:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512988416001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787160412000,"timestamp_ms":1787160412000,"timestamp_seconds":1787160412,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0fbf60"} 
[2026-08-19 22:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:58:44] 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-08-19 22:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512988416001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512988416001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:58:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:58:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512988416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":159165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:58:44] local.INFO: GPS data processed {"connection_id":159165,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:58:44] local.INFO: Acknowledgment sent {"connection_id":159165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:59:07] local.INFO: TCP Data received {"connection_id":157954,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:59:07] local.INFO: Processing buffer {"connection_id":157954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:59:07] local.INFO: IMEI packet received {"connection_id":157954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 22:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":157954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:59:12] local.INFO: TCP Data received {"connection_id":157954,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:59:12] local.INFO: Processing buffer {"connection_id":157954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 22:59:12] local.INFO: IMEI packet received {"connection_id":157954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 22:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":157954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:59:13] local.INFO: TCP Data received {"connection_id":157954,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 22:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 22:59:13] local.INFO: Processing buffer {"connection_id":157954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 22:59:13] local.INFO: Packet analysis {"connection_id":157954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 22:59:13] local.INFO: Extracted packet for processing {"connection_id":157954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 22:59:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512988416001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787160412000,"timestamp_ms":1787160412000,"timestamp_seconds":1787160412,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0fbf60"} 
[2026-08-19 22:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:59:13] 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-08-19 22:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 22:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512988416001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512988416001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:59:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:59:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512988416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":157954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:59:13] local.INFO: GPS data processed {"connection_id":157954,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:59:13] local.INFO: Acknowledgment sent {"connection_id":157954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:59:20] local.INFO: TCP Data received {"connection_id":158305,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:59:20] local.INFO: Processing buffer {"connection_id":158305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:59:20] local.INFO: IMEI packet received {"connection_id":158305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 22:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":158305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 22:59:21] local.INFO: TCP Data received {"connection_id":158305,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:59:21] local.INFO: Processing buffer {"connection_id":158305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:59:21] local.INFO: IMEI packet received {"connection_id":158305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":158305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:59:23] local.INFO: TCP Data received {"connection_id":158305,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:59:23] local.INFO: Processing buffer {"connection_id":158305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 22:59:23] local.INFO: IMEI packet received {"connection_id":158305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 22:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":158305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 22:59:24] local.INFO: TCP Data received {"connection_id":158305,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b112aa8012d27a68006c2d768000e009b2f..."} 
[2026-08-19 22:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b112aa8012d27a68006c2d768000e009b2f..."} 
[2026-08-19 22:59:24] local.INFO: Processing buffer {"connection_id":158305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b112aa8012d27a68006c2d768000e009b2f..."} 
[2026-08-19 22:59:24] local.INFO: Packet analysis {"connection_id":158305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b11"} 
[2026-08-19 22:59:24] local.INFO: Extracted packet for processing {"connection_id":158305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b11"} 
[2026-08-19 22:59:24] local.INFO: GPS Element Parsed {"raw_longitude":757573248,"raw_latitude":113432424,"longitude_deg":75.7573248,"latitude_deg":11.3432424,"altitude":14,"angle":155,"satellites":47,"speed":56,"hex_longitude":"2d27a680","hex_latitude":"06c2d768","is_valid_coordinates":true} 
[2026-08-19 22: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-08-19 22:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513087488001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386420063046991872,"note":"Value kept but may cause issues"} 
[2026-08-19 22:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2852326705538502656,"note":"Value kept but may cause issues"} 
[2026-08-19 22:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787160505000,"timestamp_ms":1787160505000,"timestamp_seconds":1787160505,"priority":1,"record_length":96,"hex_timestamp":"000001a01b112aa8"} 
[2026-08-19 22:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:59: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-08-19 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 22:59:24] 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-08-19 22: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-08-19 22:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513087488001,"66":27310,"143":206,"27":54528,"24":56,"16":386420063046991872,"45":2852326705538502656},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,27,24,16,45]} 
[2026-08-19 22:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513087488001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:59:24] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-19 22:59:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-08-19 22:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386420063046991872,"km_value":386420063046991.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2852326705538502656,"description":"Unknown IO ID 45"} 
[2026-08-19 22:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513087488001,"power":27310,"unknown_143":206,"unknown_27":54528,"ignition":56,"odometer":null,"unknown_45":2852326705538502656}} 
[2026-08-19 22:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":158305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:59:24] local.INFO: GPS data processed {"connection_id":158305,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:59:24] local.INFO: Acknowledgment sent {"connection_id":158305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:59:26] local.INFO: TCP Data received {"connection_id":158305,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b114600012d27b68006c2b4c8000e009a31..."} 
[2026-08-19 22:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b114600012d27b68006c2b4c8000e009a31..."} 
[2026-08-19 22:59:26] local.INFO: Processing buffer {"connection_id":158305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b114600012d27b68006c2b4c8000e009a31..."} 
[2026-08-19 22:59:26] local.INFO: Packet analysis {"connection_id":158305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b11"} 
[2026-08-19 22:59:26] local.INFO: Extracted packet for processing {"connection_id":158305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b11"} 
[2026-08-19 22:59:26] local.INFO: GPS Element Parsed {"raw_longitude":757577344,"raw_latitude":113423560,"longitude_deg":75.7577344,"latitude_deg":11.342356,"altitude":14,"angle":154,"satellites":49,"speed":54,"hex_longitude":"2d27b680","hex_latitude":"06c2b4c8","is_valid_coordinates":true} 
[2026-08-19 22:59: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-08-19 22:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513089280001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386420535493394432,"note":"Value kept but may cause issues"} 
[2026-08-19 22:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2857111780140214272,"note":"Value kept but may cause issues"} 
[2026-08-19 22:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787160512000,"timestamp_ms":1787160512000,"timestamp_seconds":1787160512,"priority":1,"record_length":96,"hex_timestamp":"000001a01b114600"} 
[2026-08-19 22:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:59: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-08-19 22:59: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":174,"data_length":795,"current_offset":136} 
[2026-08-19 22:59:26] 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-08-19 22:59: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-08-19 22:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 22:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 22:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 22:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513089280001,"66":27343,"143":206,"27":54528,"24":54,"16":386420535493394432,"45":2857111780140214272},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,27,24,16,45]} 
[2026-08-19 22:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 22:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 22:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513089280001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:59:26] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-19 22:59:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-08-19 22:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386420535493394432,"km_value":386420535493394.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2857111780140214272,"description":"Unknown IO ID 45"} 
[2026-08-19 22:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513089280001,"power":27343,"unknown_143":206,"unknown_27":54528,"ignition":54,"odometer":null,"unknown_45":2857111780140214272}} 
[2026-08-19 22:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":158305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:59:26] local.INFO: GPS data processed {"connection_id":158305,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:59:26] local.INFO: Acknowledgment sent {"connection_id":158305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 22:59:43] local.INFO: TCP Data received {"connection_id":157954,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 22:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 22:59:43] local.INFO: Processing buffer {"connection_id":157954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 22:59:43] local.INFO: Packet analysis {"connection_id":157954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 22:59:43] local.INFO: Extracted packet for processing {"connection_id":157954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 22:59:43] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 22:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 22:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512988416001,"note":"Value kept but may cause issues"} 
[2026-08-19 22:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 22:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 22:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 22:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787160412000,"timestamp_ms":1787160412000,"timestamp_seconds":1787160412,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0fbf60"} 
[2026-08-19 22:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 22:59:43] 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-08-19 22:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 22:59: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-08-19 22:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 22:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 22:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 22:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":157954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 22:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":157954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":157954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 22:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 22:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 22:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 22:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512988416001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 22:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 22:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 22:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512988416001,"description":"Unknown IO ID 0"} 
[2026-08-19 22:59:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 22:59:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 22:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 22:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 22:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512988416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 22:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":157954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 22:59:44] local.INFO: GPS data processed {"connection_id":157954,"processed":1,"errors":0,"total":1} 
[2026-08-19 22:59:44] local.INFO: Acknowledgment sent {"connection_id":157954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:00:07] local.INFO: TCP Data received {"connection_id":158306,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:00:07] local.INFO: Processing buffer {"connection_id":158306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:00:07] local.INFO: IMEI packet received {"connection_id":158306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":158306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:00:12] local.INFO: TCP Data received {"connection_id":158306,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:00:12] local.INFO: Processing buffer {"connection_id":158306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:00:12] local.INFO: IMEI packet received {"connection_id":158306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":158306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:00:13] local.INFO: TCP Data received {"connection_id":158306,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 23:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 23:00:13] local.INFO: Processing buffer {"connection_id":158306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 23:00:13] local.INFO: Packet analysis {"connection_id":158306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 23:00:13] local.INFO: Extracted packet for processing {"connection_id":158306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 23:00:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512988416001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787160412000,"timestamp_ms":1787160412000,"timestamp_seconds":1787160412,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0fbf60"} 
[2026-08-19 23:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:00:13] 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-08-19 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512988416001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512988416001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:00:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:00:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512988416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":158306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:00:13] local.INFO: GPS data processed {"connection_id":158306,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:00:13] local.INFO: Acknowledgment sent {"connection_id":158306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:00:18] local.INFO: TCP Data received {"connection_id":158306,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 23:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 23:00:18] local.INFO: Processing buffer {"connection_id":158306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 23:00:18] local.INFO: Packet analysis {"connection_id":158306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 23:00:18] local.INFO: Extracted packet for processing {"connection_id":158306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 23:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:00: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-08-19 23:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512988416001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787160412000,"timestamp_ms":1787160412000,"timestamp_seconds":1787160412,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0fbf60"} 
[2026-08-19 23:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:00:18] 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-08-19 23:00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:00: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-08-19 23:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512988416001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512988416001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:00:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512988416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":158306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:00:18] local.INFO: GPS data processed {"connection_id":158306,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:00:18] local.INFO: Acknowledgment sent {"connection_id":158306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:00:22] local.INFO: TCP Data received {"connection_id":160491,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:00:22] local.INFO: Processing buffer {"connection_id":160491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:00:22] local.INFO: IMEI packet received {"connection_id":160491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":160491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:00:24] local.INFO: TCP Data received {"connection_id":160491,"ip":"117.224.24.81","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 23:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160491,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 23:00:24] local.INFO: Processing buffer {"connection_id":160491,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 23:00:24] local.INFO: IMEI packet received {"connection_id":160491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":160491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:00:26] local.INFO: TCP Data received {"connection_id":160491,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b116158012d27c54006c29518000d009e2e..."} 
[2026-08-19 23:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b116158012d27c54006c29518000d009e2e..."} 
[2026-08-19 23:00:26] local.INFO: Processing buffer {"connection_id":160491,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a01b..."} 
[2026-08-19 23:00:26] local.INFO: IMEI packet received {"connection_id":160491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":160491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:00:27] local.INFO: TCP Data received {"connection_id":160491,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b118098012d27d24006c27480000d009a2e..."} 
[2026-08-19 23:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b118098012d27d24006c27480000d009a2e..."} 
[2026-08-19 23:00:27] local.INFO: Processing buffer {"connection_id":160491,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a01b116158012d27c54006c29518000d009e2e..."} 
[2026-08-19 23:00:27] local.INFO: Packet analysis {"connection_id":160491,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a01b11"} 
[2026-08-19 23:00:27] local.INFO: Extracted packet for processing {"connection_id":160491,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b11"} 
[2026-08-19 23:00:27] local.INFO: GPS Element Parsed {"raw_longitude":757581120,"raw_latitude":113415448,"longitude_deg":75.758112,"latitude_deg":11.3415448,"altitude":13,"angle":158,"satellites":46,"speed":45,"hex_longitude":"2d27c540","hex_latitude":"06c29518","is_valid_coordinates":true} 
[2026-08-19 23:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513091072001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386420969285091328,"note":"Value kept but may cause issues"} 
[2026-08-19 23:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2861615379765315584,"note":"Value kept but may cause issues"} 
[2026-08-19 23:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787160519000,"timestamp_ms":1787160519000,"timestamp_seconds":1787160519,"priority":1,"record_length":96,"hex_timestamp":"000001a01b116158"} 
[2026-08-19 23:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 23:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513091072001,"66":27321,"212":206,"27":54528,"24":45,"16":386420969285091328,"45":2861615379765315584},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,27,24,16,45]} 
[2026-08-19 23:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513091072001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:00:27] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-19 23:00:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-08-19 23:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386420969285091328,"km_value":386420969285091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2861615379765315584,"description":"Unknown IO ID 45"} 
[2026-08-19 23:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513091072001,"power":27321,"unknown_212":206,"unknown_27":54528,"ignition":45,"odometer":null,"unknown_45":2861615379765315584}} 
[2026-08-19 23:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":160491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:00:27] local.INFO: GPS data processed {"connection_id":160491,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:00:27] local.INFO: Acknowledgment sent {"connection_id":160491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:00:27] local.INFO: Packet analysis {"connection_id":160491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b11"} 
[2026-08-19 23:00:27] local.INFO: Extracted packet for processing {"connection_id":160491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b11"} 
[2026-08-19 23:00:27] local.INFO: GPS Element Parsed {"raw_longitude":757584448,"raw_latitude":113407104,"longitude_deg":75.7584448,"latitude_deg":11.3407104,"altitude":13,"angle":154,"satellites":46,"speed":43,"hex_longitude":"2d27d240","hex_latitude":"06c27480","is_valid_coordinates":true} 
[2026-08-19 23:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513092864001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386421403076788224,"note":"Value kept but may cause issues"} 
[2026-08-19 23:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2865767135669721088,"note":"Value kept but may cause issues"} 
[2026-08-19 23:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787160527000,"timestamp_ms":1787160527000,"timestamp_seconds":1787160527,"priority":1,"record_length":96,"hex_timestamp":"000001a01b118098"} 
[2026-08-19 23:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 23:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513092864001,"66":27245,"212":206,"27":54528,"24":43,"16":386421403076788224,"45":2865767135669721088},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,27,24,16,45]} 
[2026-08-19 23:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513092864001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:00:27] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-19 23:00:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-08-19 23:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386421403076788224,"km_value":386421403076788.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2865767135669721088,"description":"Unknown IO ID 45"} 
[2026-08-19 23:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513092864001,"power":27245,"unknown_212":206,"unknown_27":54528,"ignition":43,"odometer":null,"unknown_45":2865767135669721088}} 
[2026-08-19 23:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":160491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:00:27] local.INFO: GPS data processed {"connection_id":160491,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:00:27] local.INFO: Acknowledgment sent {"connection_id":160491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:00:28] local.INFO: TCP Data received {"connection_id":160491,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b119fd8012d27e20006c253c0000d009a2f..."} 
[2026-08-19 23:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b119fd8012d27e20006c253c0000d009a2f..."} 
[2026-08-19 23:00:28] local.INFO: Processing buffer {"connection_id":160491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b119fd8012d27e20006c253c0000d009a2f..."} 
[2026-08-19 23:00:28] local.INFO: Packet analysis {"connection_id":160491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b11"} 
[2026-08-19 23:00:28] local.INFO: Extracted packet for processing {"connection_id":160491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b11"} 
[2026-08-19 23:00:28] local.INFO: GPS Element Parsed {"raw_longitude":757588480,"raw_latitude":113398720,"longitude_deg":75.758848,"latitude_deg":11.339872,"altitude":13,"angle":154,"satellites":47,"speed":48,"hex_longitude":"2d27e200","hex_latitude":"06c253c0","is_valid_coordinates":true} 
[2026-08-19 23:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513094912001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386421854048354304,"note":"Value kept but may cause issues"} 
[2026-08-19 23:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2869426310364823552,"note":"Value kept but may cause issues"} 
[2026-08-19 23:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787160535000,"timestamp_ms":1787160535000,"timestamp_seconds":1787160535,"priority":1,"record_length":96,"hex_timestamp":"000001a01b119fd8"} 
[2026-08-19 23:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 23:00:28] 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-08-19 23:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513094912001,"66":27267,"212":206,"27":54528,"24":48,"16":386421854048354304,"45":2869426310364823552},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,27,24,16,45]} 
[2026-08-19 23:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513094912001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:00:28] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-19 23:00:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-08-19 23:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386421854048354304,"km_value":386421854048354.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2869426310364823552,"description":"Unknown IO ID 45"} 
[2026-08-19 23:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513094912001,"power":27267,"unknown_212":206,"unknown_27":54528,"ignition":48,"odometer":null,"unknown_45":2869426310364823552}} 
[2026-08-19 23:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":160491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:00:28] local.INFO: GPS data processed {"connection_id":160491,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:00:28] local.INFO: Acknowledgment sent {"connection_id":160491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:00:48] local.INFO: TCP Data received {"connection_id":158306,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 23:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 23:00:48] local.INFO: Processing buffer {"connection_id":158306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 23:00:48] local.INFO: Packet analysis {"connection_id":158306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 23:00:48] local.INFO: Extracted packet for processing {"connection_id":158306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 23:00:48] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 23:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512988416001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787160412000,"timestamp_ms":1787160412000,"timestamp_seconds":1787160412,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0fbf60"} 
[2026-08-19 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-08-19 23:00:48] 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-08-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 23:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":158306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":158306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":158306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512988416001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512988416001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:00:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:00:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512988416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":158306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:00:49] local.INFO: GPS data processed {"connection_id":158306,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:00:49] local.INFO: Acknowledgment sent {"connection_id":158306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:00:58] local.INFO: TCP Data received {"connection_id":157955,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:00:58] local.INFO: Processing buffer {"connection_id":157955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:00:58] local.INFO: IMEI packet received {"connection_id":157955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":157955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:00:59] local.INFO: TCP Data received {"connection_id":157955,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:00:59] local.INFO: Processing buffer {"connection_id":157955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:00:59] local.INFO: IMEI packet received {"connection_id":157955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":157955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:01:03] local.INFO: TCP Data received {"connection_id":157955,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:01:03] local.INFO: Processing buffer {"connection_id":157955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:01:03] local.INFO: IMEI packet received {"connection_id":157955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":157955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:01:05] local.INFO: TCP Data received {"connection_id":157955,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b11bf18012d27f24006c23260000c00982f..."} 
[2026-08-19 23:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b11bf18012d27f24006c23260000c00982f..."} 
[2026-08-19 23:01:05] local.INFO: Processing buffer {"connection_id":157955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b11bf18012d27f24006c23260000c00982f..."} 
[2026-08-19 23:01:05] local.INFO: Packet analysis {"connection_id":157955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b11"} 
[2026-08-19 23:01:05] local.INFO: Extracted packet for processing {"connection_id":157955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b11"} 
[2026-08-19 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":757592640,"raw_latitude":113390176,"longitude_deg":75.759264,"latitude_deg":11.3390176,"altitude":12,"angle":152,"satellites":47,"speed":45,"hex_longitude":"2d27f240","hex_latitude":"06c23260","is_valid_coordinates":true} 
[2026-08-19 23:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513096960001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386422313609854976,"note":"Value kept but may cause issues"} 
[2026-08-19 23:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2873859541245870080,"note":"Value kept but may cause issues"} 
[2026-08-19 23:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787160543000,"timestamp_ms":1787160543000,"timestamp_seconds":1787160543,"priority":1,"record_length":96,"hex_timestamp":"000001a01b11bf18"} 
[2026-08-19 23:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 23:01:05] 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-08-19 23:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513096960001,"66":27321,"212":206,"27":54528,"24":45,"16":386422313609854976,"45":2873859541245870080},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,27,24,16,45]} 
[2026-08-19 23:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513096960001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:01:05] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-19 23:01:05] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-08-19 23:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386422313609854976,"km_value":386422313609855.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2873859541245870080,"description":"Unknown IO ID 45"} 
[2026-08-19 23:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513096960001,"power":27321,"unknown_212":206,"unknown_27":54528,"ignition":45,"odometer":null,"unknown_45":2873859541245870080}} 
[2026-08-19 23:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":157955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:01:05] local.INFO: GPS data processed {"connection_id":157955,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:01:05] local.INFO: Acknowledgment sent {"connection_id":157955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:01:06] local.INFO: TCP Data received {"connection_id":157955,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b11d2a0012d27fe0006c21f88000c008b30..."} 
[2026-08-19 23:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b11d2a0012d27fe0006c21f88000c008b30..."} 
[2026-08-19 23:01:06] local.INFO: Processing buffer {"connection_id":157955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b11d2a0012d27fe0006c21f88000c008b30..."} 
[2026-08-19 23:01:06] local.INFO: Packet analysis {"connection_id":157955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b11"} 
[2026-08-19 23:01:06] local.INFO: Extracted packet for processing {"connection_id":157955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b11"} 
[2026-08-19 23:01:06] local.INFO: GPS Element Parsed {"raw_longitude":757595648,"raw_latitude":113385352,"longitude_deg":75.7595648,"latitude_deg":11.3385352,"altitude":12,"angle":139,"satellites":48,"speed":46,"hex_longitude":"2d27fe00","hex_latitude":"06c21f88","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513099008001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386422588487761920,"note":"Value kept but may cause issues"} 
[2026-08-19 23:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2878433509615230976,"note":"Value kept but may cause issues"} 
[2026-08-19 23:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787160548000,"timestamp_ms":1787160548000,"timestamp_seconds":1787160548,"priority":1,"record_length":96,"hex_timestamp":"000001a01b11d2a0"} 
[2026-08-19 23:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 23:01:06] 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-08-19 23: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-08-19 23:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":157955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":157955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":157955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513099008001,"66":27310,"212":206,"27":54528,"24":46,"16":386422588487761920,"45":2878433509615230976},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,27,24,16,45]} 
[2026-08-19 23:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513099008001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:01:06] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-19 23:01:06] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-08-19 23:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386422588487761920,"km_value":386422588487761.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2878433509615230976,"description":"Unknown IO ID 45"} 
[2026-08-19 23:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513099008001,"power":27310,"unknown_212":206,"unknown_27":54528,"ignition":46,"odometer":null,"unknown_45":2878433509615230976}} 
[2026-08-19 23:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":157955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:01:06] local.INFO: GPS data processed {"connection_id":157955,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:01:06] local.INFO: Acknowledgment sent {"connection_id":157955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:01:07] local.INFO: TCP Data received {"connection_id":159166,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:01:07] local.INFO: Processing buffer {"connection_id":159166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:01:07] local.INFO: IMEI packet received {"connection_id":159166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":159166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:01:08] local.INFO: TCP Data received {"connection_id":157955,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b11f1e0012d2814c006c201d8000d008e30..."} 
[2026-08-19 23:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b11f1e0012d2814c006c201d8000d008e30..."} 
[2026-08-19 23:01:08] local.INFO: Processing buffer {"connection_id":157955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b11f1e0012d2814c006c201d8000d008e30..."} 
[2026-08-19 23:01:08] local.INFO: Packet analysis {"connection_id":157955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b11"} 
[2026-08-19 23:01:08] local.INFO: Extracted packet for processing {"connection_id":157955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b11"} 
[2026-08-19 23:01:08] local.INFO: GPS Element Parsed {"raw_longitude":757601472,"raw_latitude":113377752,"longitude_deg":75.7601472,"latitude_deg":11.3377752,"altitude":13,"angle":142,"satellites":48,"speed":47,"hex_longitude":"2d2814c0","hex_latitude":"06c201d8","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513100288001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386423048049262592,"note":"Value kept but may cause issues"} 
[2026-08-19 23:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2881740840590346240,"note":"Value kept but may cause issues"} 
[2026-08-19 23:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787160556000,"timestamp_ms":1787160556000,"timestamp_seconds":1787160556,"priority":1,"record_length":96,"hex_timestamp":"000001a01b11f1e0"} 
[2026-08-19 23:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:01: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-08-19 23: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 23:01:08] 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-08-19 23: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-08-19 23:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":157955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":157955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":157955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513100288001,"66":27213,"212":206,"27":54528,"24":47,"16":386423048049262592,"45":2881740840590346240},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,27,24,16,45]} 
[2026-08-19 23:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513100288001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:01:08] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-19 23:01:08] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-08-19 23:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386423048049262592,"km_value":386423048049262.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2881740840590346240,"description":"Unknown IO ID 45"} 
[2026-08-19 23:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513100288001,"power":27213,"unknown_212":206,"unknown_27":54528,"ignition":47,"odometer":null,"unknown_45":2881740840590346240}} 
[2026-08-19 23:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":157955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:01:08] local.INFO: GPS data processed {"connection_id":157955,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:01:08] local.INFO: Acknowledgment sent {"connection_id":157955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:01:12] local.INFO: TCP Data received {"connection_id":159166,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:01:12] local.INFO: Processing buffer {"connection_id":159166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:01:12] local.INFO: IMEI packet received {"connection_id":159166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":159166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:01:13] local.INFO: TCP Data received {"connection_id":159166,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 23:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 23:01:13] local.INFO: Processing buffer {"connection_id":159166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 23:01:13] local.INFO: Packet analysis {"connection_id":159166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 23:01:13] local.INFO: Extracted packet for processing {"connection_id":159166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 23:01:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512988416001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787160412000,"timestamp_ms":1787160412000,"timestamp_seconds":1787160412,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0fbf60"} 
[2026-08-19 23:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:01:13] 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-08-19 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:01:13] 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-08-19 23:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512988416001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512988416001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:01:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:01:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512988416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":159166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:01:13] local.INFO: GPS data processed {"connection_id":159166,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:01:13] local.INFO: Acknowledgment sent {"connection_id":159166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:01:40] local.INFO: TCP Data received {"connection_id":157955,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b133de8012d29368006c0d7c0000d00872f..."} 
[2026-08-19 23:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b133de8012d29368006c0d7c0000d00872f..."} 
[2026-08-19 23:01:40] local.INFO: Processing buffer {"connection_id":157955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b133de8012d29368006c0d7c0000d00872f..."} 
[2026-08-19 23:01:40] local.INFO: Packet analysis {"connection_id":157955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b13"} 
[2026-08-19 23:01:40] local.INFO: Extracted packet for processing {"connection_id":157955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b13"} 
[2026-08-19 23:01:40] local.INFO: GPS Element Parsed {"raw_longitude":757675648,"raw_latitude":113301440,"longitude_deg":75.7675648,"latitude_deg":11.330144,"altitude":13,"angle":135,"satellites":47,"speed":54,"hex_longitude":"2d293680","hex_latitude":"06c0d7c0","is_valid_coordinates":true} 
[2026-08-19 23:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513122304001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386428159060344832,"note":"Value kept but may cause issues"} 
[2026-08-19 23:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2962242683909869568,"note":"Value kept but may cause issues"} 
[2026-08-19 23:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787160641000,"timestamp_ms":1787160641000,"timestamp_seconds":1787160641,"priority":1,"record_length":96,"hex_timestamp":"000001a01b133de8"} 
[2026-08-19 23:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 23:01:40] 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-08-19 23:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":157955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":157955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":157955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513122304001,"66":27365,"76":206,"2":57088,"24":54,"16":386428159060344832,"45":2962242683909869568},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-08-19 23:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513122304001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:01:40] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-19 23:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386428159060344832,"km_value":386428159060344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2962242683909869568,"description":"Unknown IO ID 45"} 
[2026-08-19 23:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513122304001,"power":27365,"unknown_76":206,"power_alt":57088,"ignition":54,"odometer":null,"unknown_45":2962242683909869568}} 
[2026-08-19 23:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":157955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:01:40] local.INFO: GPS data processed {"connection_id":157955,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:01:40] local.INFO: Acknowledgment sent {"connection_id":157955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:01:44] local.INFO: TCP Data received {"connection_id":159166,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 23:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 23:01:44] local.INFO: Processing buffer {"connection_id":159166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 23:01:44] local.INFO: Packet analysis {"connection_id":159166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 23:01:44] local.INFO: Extracted packet for processing {"connection_id":159166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 23:01:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512988416001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787160412000,"timestamp_ms":1787160412000,"timestamp_seconds":1787160412,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0fbf60"} 
[2026-08-19 23:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:01:44] 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-08-19 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:01:44] 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-08-19 23:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512988416001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512988416001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:01:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:01:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512988416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":159166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:01:44] local.INFO: GPS data processed {"connection_id":159166,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:01:44] local.INFO: Acknowledgment sent {"connection_id":159166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:02:07] local.INFO: TCP Data received {"connection_id":158307,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:02:07] local.INFO: Processing buffer {"connection_id":158307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:02:07] local.INFO: IMEI packet received {"connection_id":158307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":158307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:02:12] local.INFO: TCP Data received {"connection_id":158307,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:02:12] local.INFO: Processing buffer {"connection_id":158307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:02:12] local.INFO: IMEI packet received {"connection_id":158307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":158307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:02:13] local.INFO: TCP Data received {"connection_id":158308,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:02:13] local.INFO: Processing buffer {"connection_id":158308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:02:13] local.INFO: IMEI packet received {"connection_id":158308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":158308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:02:13] local.INFO: TCP Data received {"connection_id":158307,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 23:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 23:02:13] local.INFO: Processing buffer {"connection_id":158307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b0fbf60012d196500071ff1280047014627..."} 
[2026-08-19 23:02:13] local.INFO: Packet analysis {"connection_id":158307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 23:02:13] local.INFO: Extracted packet for processing {"connection_id":158307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b0f"} 
[2026-08-19 23:02:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457512988416001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787160412000,"timestamp_ms":1787160412000,"timestamp_seconds":1787160412,"priority":1,"record_length":96,"hex_timestamp":"000001a01b0fbf60"} 
[2026-08-19 23:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:02:13] 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-08-19 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457512988416001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457512988416001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:02:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:02:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457512988416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":158307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:02:13] local.INFO: GPS data processed {"connection_id":158307,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:02:13] local.INFO: Acknowledgment sent {"connection_id":158307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:02:13] local.INFO: TCP Data received {"connection_id":158308,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:02:13] local.INFO: Processing buffer {"connection_id":158308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:02:13] local.INFO: IMEI packet received {"connection_id":158308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":158308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:02:18] local.INFO: TCP Data received {"connection_id":158308,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:02:18] local.INFO: Processing buffer {"connection_id":158308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:02:18] local.INFO: IMEI packet received {"connection_id":158308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":158308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:02:20] local.INFO: TCP Data received {"connection_id":158308,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b135940012d2950c006c0bcc0000b00862f..."} 
[2026-08-19 23:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b135940012d2950c006c0bcc0000b00862f..."} 
[2026-08-19 23:02:20] local.INFO: Processing buffer {"connection_id":158308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b135940012d2950c006c0bcc0000b00862f..."} 
[2026-08-19 23:02:20] local.INFO: Packet analysis {"connection_id":158308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b13"} 
[2026-08-19 23:02:20] local.INFO: Extracted packet for processing {"connection_id":158308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b13"} 
[2026-08-19 23:02:20] local.INFO: GPS Element Parsed {"raw_longitude":757682368,"raw_latitude":113294528,"longitude_deg":75.7682368,"latitude_deg":11.3294528,"altitude":11,"angle":134,"satellites":47,"speed":54,"hex_longitude":"2d2950c0","hex_latitude":"06c0bcc0","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513124096001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386428622916812800,"note":"Value kept but may cause issues"} 
[2026-08-19 23:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2969701770790944768,"note":"Value kept but may cause issues"} 
[2026-08-19 23:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787160648000,"timestamp_ms":1787160648000,"timestamp_seconds":1787160648,"priority":1,"record_length":96,"hex_timestamp":"000001a01b135940"} 
[2026-08-19 23:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:02: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-08-19 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 23:02:20] 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-08-19 23: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-08-19 23:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513124096001,"66":27343,"76":206,"2":57088,"24":54,"16":386428622916812800,"45":2969701770790944768},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-08-19 23:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513124096001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:02:20] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-19 23:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386428622916812800,"km_value":386428622916812.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2969701770790944768,"description":"Unknown IO ID 45"} 
[2026-08-19 23:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513124096001,"power":27343,"unknown_76":206,"power_alt":57088,"ignition":54,"odometer":null,"unknown_45":2969701770790944768}} 
[2026-08-19 23:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":158308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:02:20] local.INFO: GPS data processed {"connection_id":158308,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:02:20] local.INFO: Acknowledgment sent {"connection_id":158308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:02:44] local.INFO: TCP Data received {"connection_id":158307,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:02:44] local.INFO: Processing buffer {"connection_id":158307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:02:44] local.INFO: Packet analysis {"connection_id":158307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:02:44] local.INFO: Extracted packet for processing {"connection_id":158307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:02:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513065472001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787160713000,"timestamp_ms":1787160713000,"timestamp_seconds":1787160713,"priority":1,"record_length":96,"hex_timestamp":"000001a01b145728"} 
[2026-08-19 23:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:02:44] 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-08-19 23:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513065472001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513065472001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:02:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:02:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513065472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":158307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:02:44] local.INFO: GPS data processed {"connection_id":158307,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:02:44] local.INFO: Acknowledgment sent {"connection_id":158307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:02:58] local.INFO: TCP Data received {"connection_id":160492,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:02:58] local.INFO: Processing buffer {"connection_id":160492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:02:58] local.INFO: IMEI packet received {"connection_id":160492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":160492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:02:58] local.INFO: TCP Data received {"connection_id":160492,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:02:58] local.INFO: Processing buffer {"connection_id":160492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:02:58] local.INFO: IMEI packet received {"connection_id":160492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":160492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:03:03] local.INFO: TCP Data received {"connection_id":160492,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:03:03] local.INFO: Processing buffer {"connection_id":160492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:03:03] local.INFO: IMEI packet received {"connection_id":160492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":160492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:03:06] local.INFO: TCP Data received {"connection_id":160492,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b137498012d296bc006c0a3d8000a00832e..."} 
[2026-08-19 23:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b137498012d296bc006c0a3d8000a00832e..."} 
[2026-08-19 23:03:06] local.INFO: Processing buffer {"connection_id":160492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b137498012d296bc006c0a3d8000a00832e..."} 
[2026-08-19 23:03:06] local.INFO: Packet analysis {"connection_id":160492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b13"} 
[2026-08-19 23:03:06] local.INFO: Extracted packet for processing {"connection_id":160492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b13"} 
[2026-08-19 23:03:06] local.INFO: GPS Element Parsed {"raw_longitude":757689280,"raw_latitude":113288152,"longitude_deg":75.768928,"latitude_deg":11.3288152,"altitude":10,"angle":131,"satellites":46,"speed":51,"hex_longitude":"2d296bc0","hex_latitude":"06c0a3d8","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513125888001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386429073888378880,"note":"Value kept but may cause issues"} 
[2026-08-19 23:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2977090488927830016,"note":"Value kept but may cause issues"} 
[2026-08-19 23:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787160655000,"timestamp_ms":1787160655000,"timestamp_seconds":1787160655,"priority":1,"record_length":96,"hex_timestamp":"000001a01b137498"} 
[2026-08-19 23:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 23:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513125888001,"66":27300,"76":206,"2":57088,"24":51,"16":386429073888378880,"45":2977090488927830016},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-08-19 23:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513125888001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:03:06] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-19 23:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386429073888378880,"km_value":386429073888378.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2977090488927830016,"description":"Unknown IO ID 45"} 
[2026-08-19 23:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513125888001,"power":27300,"unknown_76":206,"power_alt":57088,"ignition":51,"odometer":null,"unknown_45":2977090488927830016}} 
[2026-08-19 23:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":160492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:03:06] local.INFO: GPS data processed {"connection_id":160492,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:03:06] local.INFO: Acknowledgment sent {"connection_id":160492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:03:07] local.INFO: TCP Data received {"connection_id":159167,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:03:07] local.INFO: Processing buffer {"connection_id":159167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:03:07] local.INFO: IMEI packet received {"connection_id":159167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":159167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:03:12] local.INFO: TCP Data received {"connection_id":159167,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:03:12] local.INFO: Processing buffer {"connection_id":159167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:03:12] local.INFO: IMEI packet received {"connection_id":159167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":159167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:03:13] local.INFO: TCP Data received {"connection_id":159167,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:03:13] local.INFO: Processing buffer {"connection_id":159167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:03:13] local.INFO: Packet analysis {"connection_id":159167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:03:13] local.INFO: Extracted packet for processing {"connection_id":159167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:03:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513065472001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787160713000,"timestamp_ms":1787160713000,"timestamp_seconds":1787160713,"priority":1,"record_length":96,"hex_timestamp":"000001a01b145728"} 
[2026-08-19 23:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:03:13] 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-08-19 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513065472001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513065472001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:03:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513065472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":159167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:03:13] local.INFO: GPS data processed {"connection_id":159167,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:03:13] local.INFO: Acknowledgment sent {"connection_id":159167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:03:37] local.INFO: TCP Data received {"connection_id":160492,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1506f0012d2ab20006bf08a8000c008c31..."} 
[2026-08-19 23:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1506f0012d2ab20006bf08a8000c008c31..."} 
[2026-08-19 23:03:37] local.INFO: Processing buffer {"connection_id":160492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1506f0012d2ab20006bf08a8000c008c31..."} 
[2026-08-19 23:03:37] local.INFO: Packet analysis {"connection_id":160492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b15"} 
[2026-08-19 23:03:37] local.INFO: Extracted packet for processing {"connection_id":160492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b15"} 
[2026-08-19 23:03:37] local.INFO: GPS Element Parsed {"raw_longitude":757772800,"raw_latitude":113182888,"longitude_deg":75.77728,"latitude_deg":11.3182888,"altitude":12,"angle":140,"satellites":49,"speed":59,"hex_longitude":"2d2ab200","hex_latitude":"06bf08a8","is_valid_coordinates":true} 
[2026-08-19 23:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513152512001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386435559288995840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3070117968703901696,"note":"Value kept but may cause issues"} 
[2026-08-19 23:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787160758000,"timestamp_ms":1787160758000,"timestamp_seconds":1787160758,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1506f0"} 
[2026-08-19 23:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-19 23:03:37] 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-08-19 23:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513152512001,"66":27365,"242":206,"2":57088,"24":59,"16":386435559288995840,"45":3070117968703901696},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-08-19 23:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513152512001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:03:37] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-19 23:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386435559288995840,"km_value":386435559288995.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3070117968703901696,"description":"Unknown IO ID 45"} 
[2026-08-19 23:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513152512001,"power":27365,"unknown_242":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":3070117968703901696}} 
[2026-08-19 23:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":160492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:03:37] local.INFO: GPS data processed {"connection_id":160492,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:03:37] local.INFO: Acknowledgment sent {"connection_id":160492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:03:44] local.INFO: TCP Data received {"connection_id":159167,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:03:44] local.INFO: Processing buffer {"connection_id":159167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:03:44] local.INFO: Packet analysis {"connection_id":159167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:03:44] local.INFO: Extracted packet for processing {"connection_id":159167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:03:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513065472001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787160713000,"timestamp_ms":1787160713000,"timestamp_seconds":1787160713,"priority":1,"record_length":96,"hex_timestamp":"000001a01b145728"} 
[2026-08-19 23:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:03:44] 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-08-19 23:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513065472001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513065472001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:03:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:03:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513065472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":159167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:03:44] local.INFO: GPS data processed {"connection_id":159167,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:03:44] local.INFO: Acknowledgment sent {"connection_id":159167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:03:58] local.INFO: TCP Data received {"connection_id":157956,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:03:58] local.INFO: Processing buffer {"connection_id":157956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:03:58] local.INFO: IMEI packet received {"connection_id":157956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":157956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:04:03] local.INFO: TCP Data received {"connection_id":157956,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:04:03] local.INFO: Processing buffer {"connection_id":157956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:04:03] local.INFO: IMEI packet received {"connection_id":157956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":157956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:04:05] local.INFO: TCP Data received {"connection_id":157956,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b152248012d2acb8006beea90000c008b2f..."} 
[2026-08-19 23:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b152248012d2acb8006beea90000c008b2f..."} 
[2026-08-19 23:04:05] local.INFO: Processing buffer {"connection_id":157956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b152248012d2acb8006beea90000c008b2f..."} 
[2026-08-19 23:04:05] local.INFO: Packet analysis {"connection_id":157956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b15"} 
[2026-08-19 23:04:05] local.INFO: Extracted packet for processing {"connection_id":157956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b15"} 
[2026-08-19 23:04:05] local.INFO: GPS Element Parsed {"raw_longitude":757779328,"raw_latitude":113175184,"longitude_deg":75.7779328,"latitude_deg":11.3175184,"altitude":12,"angle":139,"satellites":47,"speed":55,"hex_longitude":"2d2acb80","hex_latitude":"06beea90","is_valid_coordinates":true} 
[2026-08-19 23:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513154048001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386436044620300288,"note":"Value kept but may cause issues"} 
[2026-08-19 23:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3076521524422289408,"note":"Value kept but may cause issues"} 
[2026-08-19 23:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787160765000,"timestamp_ms":1787160765000,"timestamp_seconds":1787160765,"priority":1,"record_length":96,"hex_timestamp":"000001a01b152248"} 
[2026-08-19 23:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:04: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-08-19 23:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 23:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513154048001,"66":27484,"242":206,"2":57088,"24":55,"16":386436044620300288,"45":3076521524422289408},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-08-19 23:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513154048001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:04:05] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-19 23:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386436044620300288,"km_value":386436044620300.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3076521524422289408,"description":"Unknown IO ID 45"} 
[2026-08-19 23:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513154048001,"power":27484,"unknown_242":206,"power_alt":57088,"ignition":55,"odometer":null,"unknown_45":3076521524422289408}} 
[2026-08-19 23:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":157956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:04:05] local.INFO: GPS data processed {"connection_id":157956,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:04:05] local.INFO: Acknowledgment sent {"connection_id":157956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:04:12] local.INFO: TCP Data received {"connection_id":159168,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:04:12] local.INFO: Processing buffer {"connection_id":159168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:04:12] local.INFO: IMEI packet received {"connection_id":159168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":159168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:04:17] local.INFO: TCP Data received {"connection_id":159168,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:04:17] local.INFO: Processing buffer {"connection_id":159168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:04:17] local.INFO: IMEI packet received {"connection_id":159168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":159168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:04:18] local.INFO: TCP Data received {"connection_id":159168,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:04:18] local.INFO: Processing buffer {"connection_id":159168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:04:18] local.INFO: Packet analysis {"connection_id":159168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:04:18] local.INFO: Extracted packet for processing {"connection_id":159168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:04:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 23:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513065472001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787160713000,"timestamp_ms":1787160713000,"timestamp_seconds":1787160713,"priority":1,"record_length":96,"hex_timestamp":"000001a01b145728"} 
[2026-08-19 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-08-19 23:04:18] 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-08-19 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 23:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513065472001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513065472001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:04:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:04:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513065472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":159168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:04:18] local.INFO: GPS data processed {"connection_id":159168,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:04:18] local.INFO: Acknowledgment sent {"connection_id":159168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:04:23] local.INFO: TCP Data received {"connection_id":159168,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:04:23] local.INFO: Processing buffer {"connection_id":159168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:04:23] local.INFO: Packet analysis {"connection_id":159168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:04:23] local.INFO: Extracted packet for processing {"connection_id":159168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513065472001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787160713000,"timestamp_ms":1787160713000,"timestamp_seconds":1787160713,"priority":1,"record_length":96,"hex_timestamp":"000001a01b145728"} 
[2026-08-19 23:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:04:23] 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-08-19 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513065472001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513065472001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:04:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513065472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":159168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:04:23] local.INFO: GPS data processed {"connection_id":159168,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:04:23] local.INFO: Acknowledgment sent {"connection_id":159168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:04:36] local.INFO: TCP Data received {"connection_id":157956,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b153da0012d2ae38006bece98000b008b2f..."} 
[2026-08-19 23:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b153da0012d2ae38006bece98000b008b2f..."} 
[2026-08-19 23:04:36] local.INFO: Processing buffer {"connection_id":157956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b153da0012d2ae38006bece98000b008b2f..."} 
[2026-08-19 23:04:36] local.INFO: Packet analysis {"connection_id":157956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b15"} 
[2026-08-19 23:04:36] local.INFO: Extracted packet for processing {"connection_id":157956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b15"} 
[2026-08-19 23:04:36] local.INFO: GPS Element Parsed {"raw_longitude":757785472,"raw_latitude":113168024,"longitude_deg":75.7785472,"latitude_deg":11.3168024,"altitude":11,"angle":139,"satellites":47,"speed":52,"hex_longitude":"2d2ae380","hex_latitude":"06bece98","is_valid_coordinates":true} 
[2026-08-19 23:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513155840001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386436499886833664,"note":"Value kept but may cause issues"} 
[2026-08-19 23:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3083699136326438912,"note":"Value kept but may cause issues"} 
[2026-08-19 23:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787160772000,"timestamp_ms":1787160772000,"timestamp_seconds":1787160772,"priority":1,"record_length":96,"hex_timestamp":"000001a01b153da0"} 
[2026-08-19 23:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:04: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-08-19 23:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-19 23:04:36] 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-08-19 23:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513155840001,"66":27234,"242":206,"2":57088,"24":52,"16":386436499886833664,"45":3083699136326438912},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-08-19 23:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513155840001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:04:36] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-19 23:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386436499886833664,"km_value":386436499886833.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3083699136326438912,"description":"Unknown IO ID 45"} 
[2026-08-19 23:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513155840001,"power":27234,"unknown_242":206,"power_alt":57088,"ignition":52,"odometer":null,"unknown_45":3083699136326438912}} 
[2026-08-19 23:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":157956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:04:36] local.INFO: GPS data processed {"connection_id":157956,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:04:36] local.INFO: Acknowledgment sent {"connection_id":157956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:04:58] local.INFO: TCP Data received {"connection_id":160493,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:04:58] local.INFO: Processing buffer {"connection_id":160493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:04:58] local.INFO: IMEI packet received {"connection_id":160493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":160493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:04:59] local.INFO: TCP Data received {"connection_id":160493,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:04:59] local.INFO: Processing buffer {"connection_id":160493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:04:59] local.INFO: IMEI packet received {"connection_id":160493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":160493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:05:03] local.INFO: TCP Data received {"connection_id":160493,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:05:03] local.INFO: Processing buffer {"connection_id":160493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:05:03] local.INFO: IMEI packet received {"connection_id":160493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":160493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:05:04] local.INFO: TCP Data received {"connection_id":160493,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b166298012d2beac006bd9418000f008f32..."} 
[2026-08-19 23:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b166298012d2beac006bd9418000f008f32..."} 
[2026-08-19 23:05:04] local.INFO: Processing buffer {"connection_id":160493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b166298012d2beac006bd9418000f008f32..."} 
[2026-08-19 23:05:04] local.INFO: Packet analysis {"connection_id":160493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b16"} 
[2026-08-19 23:05:04] local.INFO: Extracted packet for processing {"connection_id":160493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b16"} 
[2026-08-19 23:05:04] local.INFO: GPS Element Parsed {"raw_longitude":757852864,"raw_latitude":113087512,"longitude_deg":75.7852864,"latitude_deg":11.3087512,"altitude":15,"angle":143,"satellites":50,"speed":57,"hex_longitude":"2d2beac0","hex_latitude":"06bd9418","is_valid_coordinates":true} 
[2026-08-19 23:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513175040001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386441555063341056,"note":"Value kept but may cause issues"} 
[2026-08-19 23:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3158008530157651968,"note":"Value kept but may cause issues"} 
[2026-08-19 23:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787160847000,"timestamp_ms":1787160847000,"timestamp_seconds":1787160847,"priority":1,"record_length":96,"hex_timestamp":"000001a01b166298"} 
[2026-08-19 23:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:05: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-08-19 23:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 23:05:04] 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-08-19 23:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513175040001,"66":27213,"243":206,"2":57088,"24":57,"16":386441555063341056,"45":3158008530157651968},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,2,24,16,45]} 
[2026-08-19 23:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513175040001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:05:04] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-19 23:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386441555063341056,"km_value":386441555063341.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3158008530157651968,"description":"Unknown IO ID 45"} 
[2026-08-19 23:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513175040001,"power":27213,"unknown_243":206,"power_alt":57088,"ignition":57,"odometer":null,"unknown_45":3158008530157651968}} 
[2026-08-19 23:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":160493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:05:04] local.INFO: GPS data processed {"connection_id":160493,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:05:04] local.INFO: Acknowledgment sent {"connection_id":160493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:05:07] local.INFO: TCP Data received {"connection_id":160494,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:05:07] local.INFO: Processing buffer {"connection_id":160494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:05:07] local.INFO: IMEI packet received {"connection_id":160494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":160494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:05:12] local.INFO: TCP Data received {"connection_id":160494,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:05:12] local.INFO: Processing buffer {"connection_id":160494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:05:12] local.INFO: IMEI packet received {"connection_id":160494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":160494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:05:13] local.INFO: TCP Data received {"connection_id":160494,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:05:13] local.INFO: Processing buffer {"connection_id":160494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:05:13] local.INFO: Packet analysis {"connection_id":160494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:05:13] local.INFO: Extracted packet for processing {"connection_id":160494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:05:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513065472001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787160713000,"timestamp_ms":1787160713000,"timestamp_seconds":1787160713,"priority":1,"record_length":96,"hex_timestamp":"000001a01b145728"} 
[2026-08-19 23:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:05:13] 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-08-19 23:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513065472001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513065472001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:05:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:05:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513065472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":160494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:05:13] local.INFO: GPS data processed {"connection_id":160494,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:05:13] local.INFO: Acknowledgment sent {"connection_id":160494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:05:36] local.INFO: TCP Data received {"connection_id":160493,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b167df0012d2c02c006bd76100012008732..."} 
[2026-08-19 23:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b167df0012d2c02c006bd76100012008732..."} 
[2026-08-19 23:05:36] local.INFO: Processing buffer {"connection_id":160493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b167df0012d2c02c006bd76100012008732..."} 
[2026-08-19 23:05:36] local.INFO: Packet analysis {"connection_id":160493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b16"} 
[2026-08-19 23:05:36] local.INFO: Extracted packet for processing {"connection_id":160493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b16"} 
[2026-08-19 23:05:36] local.INFO: GPS Element Parsed {"raw_longitude":757859008,"raw_latitude":113079824,"longitude_deg":75.7859008,"latitude_deg":11.3079824,"altitude":18,"angle":135,"satellites":50,"speed":55,"hex_longitude":"2d2c02c0","hex_latitude":"06bd7610","is_valid_coordinates":true} 
[2026-08-19 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-08-19 23:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513176832001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386442031804710912,"note":"Value kept but may cause issues"} 
[2026-08-19 23:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3164552823364130816,"note":"Value kept but may cause issues"} 
[2026-08-19 23:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787160854000,"timestamp_ms":1787160854000,"timestamp_seconds":1787160854,"priority":1,"record_length":96,"hex_timestamp":"000001a01b167df0"} 
[2026-08-19 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-08-19 23:05: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-08-19 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 23:05:36] 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-08-19 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-08-19 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-08-19 23:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513176832001,"66":27213,"243":206,"2":57088,"24":55,"16":386442031804710912,"45":3164552823364130816},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,2,24,16,45]} 
[2026-08-19 23:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513176832001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:05:36] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-19 23:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386442031804710912,"km_value":386442031804710.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3164552823364130816,"description":"Unknown IO ID 45"} 
[2026-08-19 23:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513176832001,"power":27213,"unknown_243":206,"power_alt":57088,"ignition":55,"odometer":null,"unknown_45":3164552823364130816}} 
[2026-08-19 23:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":160493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:05:36] local.INFO: GPS data processed {"connection_id":160493,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:05:36] local.INFO: Acknowledgment sent {"connection_id":160493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:05:44] local.INFO: TCP Data received {"connection_id":160494,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:05:44] local.INFO: Processing buffer {"connection_id":160494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:05:44] local.INFO: Packet analysis {"connection_id":160494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:05:44] local.INFO: Extracted packet for processing {"connection_id":160494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:05:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513065472001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787160713000,"timestamp_ms":1787160713000,"timestamp_seconds":1787160713,"priority":1,"record_length":96,"hex_timestamp":"000001a01b145728"} 
[2026-08-19 23:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:05:44] 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-08-19 23:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513065472001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513065472001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:05:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:05:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513065472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":160494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:05:44] local.INFO: GPS data processed {"connection_id":160494,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:05:44] local.INFO: Acknowledgment sent {"connection_id":160494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:06:00] local.INFO: TCP Data received {"connection_id":158309,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:06:00] local.INFO: Processing buffer {"connection_id":158309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:06:00] local.INFO: IMEI packet received {"connection_id":158309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":158309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:06:03] local.INFO: TCP Data received {"connection_id":158309,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:06:03] local.INFO: Processing buffer {"connection_id":158309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:06:03] local.INFO: IMEI packet received {"connection_id":158309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":158309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:06:07] local.INFO: TCP Data received {"connection_id":158309,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:06:07] local.INFO: TCP Data received {"connection_id":159169,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:06:07] local.INFO: Processing buffer {"connection_id":158309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:06:07] local.INFO: IMEI packet received {"connection_id":158309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":158309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:06:07] local.INFO: Processing buffer {"connection_id":159169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:06:07] local.INFO: IMEI packet received {"connection_id":159169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":159169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:06:08] local.INFO: TCP Data received {"connection_id":158309,"ip":"117.224.24.81","data_length":93,"data_hex":"00000000000000518e01000001a01b169948012d2c1f8006bd5e600013007d31..."} 
[2026-08-19 23:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158309,"packet_length":93,"packet_hex":"00000000000000518e01000001a01b169948012d2c1f8006bd5e600013007d31..."} 
[2026-08-19 23:06:08] local.INFO: Processing buffer {"connection_id":158309,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a01b169948012d2c1f8006bd5e600013007d31..."} 
[2026-08-19 23:06:08] local.INFO: Packet analysis {"connection_id":158309,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a01b16"} 
[2026-08-19 23:06:08] local.INFO: Extracted packet for processing {"connection_id":158309,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a01b16"} 
[2026-08-19 23:06:08] local.INFO: GPS Element Parsed {"raw_longitude":757866368,"raw_latitude":113073760,"longitude_deg":75.7866368,"latitude_deg":11.307376,"altitude":19,"angle":125,"satellites":49,"speed":53,"hex_longitude":"2d2c1f80","hex_latitude":"06bd5e60","is_valid_coordinates":true} 
[2026-08-19 23: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":93,"current_offset":40} 
[2026-08-19 23:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:06:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:06:08] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-19 23:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":158309,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-19 23:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":158309,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-19 23:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":158309,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-19 23:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-19 23:06:08] local.WARNING: DEBUG: No valid data to process  
[2026-08-19 23:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":158309,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-19 23:06:08] local.ERROR: GPS data processing failed {"connection_id":158309,"error":"No valid data to process"} 
[2026-08-19 23:06:08] local.INFO: Acknowledgment sent {"connection_id":158309,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-19 23:06:12] local.INFO: TCP Data received {"connection_id":159169,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:06:12] local.INFO: Processing buffer {"connection_id":159169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:06:12] local.INFO: IMEI packet received {"connection_id":159169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":159169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:06:13] local.INFO: TCP Data received {"connection_id":159169,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:06:13] local.INFO: Processing buffer {"connection_id":159169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:06:13] local.INFO: Packet analysis {"connection_id":159169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:06:13] local.INFO: Extracted packet for processing {"connection_id":159169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:06:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513065472001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787160713000,"timestamp_ms":1787160713000,"timestamp_seconds":1787160713,"priority":1,"record_length":96,"hex_timestamp":"000001a01b145728"} 
[2026-08-19 23:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:06:13] 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-08-19 23:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513065472001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513065472001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:06:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:06:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513065472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":159169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:06:13] local.INFO: GPS data processed {"connection_id":159169,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:06:13] local.INFO: Acknowledgment sent {"connection_id":159169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:06:40] local.INFO: TCP Data received {"connection_id":158309,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b17d998012d2d528006bc0fa00014008c30..."} 
[2026-08-19 23:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b17d998012d2d528006bc0fa00014008c30..."} 
[2026-08-19 23:06:40] local.INFO: Processing buffer {"connection_id":158309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b17d998012d2d528006bc0fa00014008c30..."} 
[2026-08-19 23:06:40] local.INFO: Packet analysis {"connection_id":158309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b17"} 
[2026-08-19 23:06:40] local.INFO: Extracted packet for processing {"connection_id":158309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b17"} 
[2026-08-19 23:06:40] local.INFO: GPS Element Parsed {"raw_longitude":757944960,"raw_latitude":112988064,"longitude_deg":75.794496,"latitude_deg":11.2988064,"altitude":20,"angle":140,"satellites":48,"speed":58,"hex_longitude":"2d2d5280","hex_latitude":"06bc0fa0","is_valid_coordinates":true} 
[2026-08-19 23:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513199616001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386448087708598272,"note":"Value kept but may cause issues"} 
[2026-08-19 23:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3258846940538736640,"note":"Value kept but may cause issues"} 
[2026-08-19 23:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787160943000,"timestamp_ms":1787160943000,"timestamp_seconds":1787160943,"priority":1,"record_length":96,"hex_timestamp":"000001a01b17d998"} 
[2026-08-19 23:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 23:06:40] 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-08-19 23:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513199616001,"66":27463,"192":206,"2":57088,"24":58,"16":386448087708598272,"45":3258846940538736640},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-19 23:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513199616001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:06:40] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-19 23:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386448087708598272,"km_value":386448087708598.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3258846940538736640,"description":"Unknown IO ID 45"} 
[2026-08-19 23:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513199616001,"power":27463,"unknown_192":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3258846940538736640}} 
[2026-08-19 23:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":158309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:06:40] local.INFO: GPS data processed {"connection_id":158309,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:06:40] local.INFO: Acknowledgment sent {"connection_id":158309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:06:44] local.INFO: TCP Data received {"connection_id":159169,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:06:44] local.INFO: Processing buffer {"connection_id":159169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:06:44] local.INFO: Packet analysis {"connection_id":159169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:06:44] local.INFO: Extracted packet for processing {"connection_id":159169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513065472001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787160713000,"timestamp_ms":1787160713000,"timestamp_seconds":1787160713,"priority":1,"record_length":96,"hex_timestamp":"000001a01b145728"} 
[2026-08-19 23:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:06:44] 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-08-19 23:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513065472001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513065472001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:06:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:06:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513065472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":159169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:06:44] local.INFO: GPS data processed {"connection_id":159169,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:06:44] local.INFO: Acknowledgment sent {"connection_id":159169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:06:58] local.INFO: TCP Data received {"connection_id":160495,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:06:58] local.INFO: Processing buffer {"connection_id":160495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:06:58] local.INFO: IMEI packet received {"connection_id":160495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":160495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:06:59] local.INFO: TCP Data received {"connection_id":160495,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:06:59] local.INFO: Processing buffer {"connection_id":160495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:06:59] local.INFO: IMEI packet received {"connection_id":160495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":160495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:07:06] local.INFO: TCP Data received {"connection_id":160495,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:07:06] local.INFO: Processing buffer {"connection_id":160495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:07:06] local.INFO: IMEI packet received {"connection_id":160495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":160495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:07:07] local.INFO: TCP Data received {"connection_id":160495,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b17f108012d2d698006bbf5400015008a32..."} 
[2026-08-19 23:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b17f108012d2d698006bbf5400015008a32..."} 
[2026-08-19 23:07:07] local.INFO: Processing buffer {"connection_id":160495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b17f108012d2d698006bbf5400015008a32..."} 
[2026-08-19 23:07:07] local.INFO: Packet analysis {"connection_id":160495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b17"} 
[2026-08-19 23:07:07] local.INFO: Extracted packet for processing {"connection_id":160495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b17"} 
[2026-08-19 23:07:07] local.INFO: GPS Element Parsed {"raw_longitude":757950848,"raw_latitude":112981312,"longitude_deg":75.7950848,"latitude_deg":11.2981312,"altitude":21,"angle":138,"satellites":50,"speed":59,"hex_longitude":"2d2d6980","hex_latitude":"06bbf540","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513201408001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386448517205327872,"note":"Value kept but may cause issues"} 
[2026-08-19 23:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3265813446210330624,"note":"Value kept but may cause issues"} 
[2026-08-19 23:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787160949000,"timestamp_ms":1787160949000,"timestamp_seconds":1787160949,"priority":1,"record_length":96,"hex_timestamp":"000001a01b17f108"} 
[2026-08-19 23:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:07: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-08-19 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 23:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513201408001,"66":27463,"192":206,"2":57088,"24":59,"16":386448517205327872,"45":3265813446210330624},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-19 23:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513201408001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:07:07] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-19 23:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386448517205327872,"km_value":386448517205327.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3265813446210330624,"description":"Unknown IO ID 45"} 
[2026-08-19 23:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513201408001,"power":27463,"unknown_192":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":3265813446210330624}} 
[2026-08-19 23:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":160495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:07:07] local.INFO: GPS data processed {"connection_id":160495,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:07:07] local.INFO: Acknowledgment sent {"connection_id":160495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:07:07] local.INFO: TCP Data received {"connection_id":159170,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:07:07] local.INFO: Processing buffer {"connection_id":159170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:07:07] local.INFO: IMEI packet received {"connection_id":159170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":159170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:07:08] local.INFO: TCP Data received {"connection_id":160495,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b180878012d2d814006bbdb400016008a31..."} 
[2026-08-19 23:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b180878012d2d814006bbdb400016008a31..."} 
[2026-08-19 23:07:08] local.INFO: Processing buffer {"connection_id":160495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b180878012d2d814006bbdb400016008a31..."} 
[2026-08-19 23:07:08] local.INFO: Packet analysis {"connection_id":160495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:07:08] local.INFO: Extracted packet for processing {"connection_id":160495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:07:08] local.INFO: GPS Element Parsed {"raw_longitude":757956928,"raw_latitude":112974656,"longitude_deg":75.7956928,"latitude_deg":11.2974656,"altitude":22,"angle":138,"satellites":49,"speed":58,"hex_longitude":"2d2d8140","hex_latitude":"06bbdb40","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513202944001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386448950997024768,"note":"Value kept but may cause issues"} 
[2026-08-19 23:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3272287370672947200,"note":"Value kept but may cause issues"} 
[2026-08-19 23:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787160955000,"timestamp_ms":1787160955000,"timestamp_seconds":1787160955,"priority":1,"record_length":96,"hex_timestamp":"000001a01b180878"} 
[2026-08-19 23:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:07: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-08-19 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 23:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513202944001,"66":27300,"192":206,"2":57088,"24":58,"16":386448950997024768,"45":3272287370672947200},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-19 23:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513202944001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:07:08] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-19 23:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386448950997024768,"km_value":386448950997024.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3272287370672947200,"description":"Unknown IO ID 45"} 
[2026-08-19 23:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513202944001,"power":27300,"unknown_192":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3272287370672947200}} 
[2026-08-19 23:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":160495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:07:08] local.INFO: GPS data processed {"connection_id":160495,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:07:08] local.INFO: Acknowledgment sent {"connection_id":160495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:07:12] local.INFO: TCP Data received {"connection_id":159170,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:07:12] local.INFO: Processing buffer {"connection_id":159170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:07:12] local.INFO: IMEI packet received {"connection_id":159170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":159170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:07:13] local.INFO: TCP Data received {"connection_id":159170,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:07:13] local.INFO: Processing buffer {"connection_id":159170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b145728012d196500071ff1280047014627..."} 
[2026-08-19 23:07:13] local.INFO: Packet analysis {"connection_id":159170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:07:13] local.INFO: Extracted packet for processing {"connection_id":159170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b14"} 
[2026-08-19 23:07:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513065472001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787160713000,"timestamp_ms":1787160713000,"timestamp_seconds":1787160713,"priority":1,"record_length":96,"hex_timestamp":"000001a01b145728"} 
[2026-08-19 23:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:07:13] 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-08-19 23:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513065472001,"66":2155,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513065472001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:07:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:07:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513065472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":159170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:07:13] local.INFO: GPS data processed {"connection_id":159170,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:07:13] local.INFO: Acknowledgment sent {"connection_id":159170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:07:42] local.INFO: TCP Data received {"connection_id":160495,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1823d0012d2d9ac006bbbdd80016008c31..."} 
[2026-08-19 23:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1823d0012d2d9ac006bbbdd80016008c31..."} 
[2026-08-19 23:07:42] local.INFO: Processing buffer {"connection_id":160495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1823d0012d2d9ac006bbbdd80016008c31..."} 
[2026-08-19 23:07:42] local.INFO: Packet analysis {"connection_id":160495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:07:42] local.INFO: Extracted packet for processing {"connection_id":160495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:07:42] local.INFO: GPS Element Parsed {"raw_longitude":757963456,"raw_latitude":112967128,"longitude_deg":75.7963456,"latitude_deg":11.2967128,"altitude":22,"angle":140,"satellites":49,"speed":55,"hex_longitude":"2d2d9ac0","hex_latitude":"06bbbdd8","is_valid_coordinates":true} 
[2026-08-19 23:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513204480001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386449432033361920,"note":"Value kept but may cause issues"} 
[2026-08-19 23:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3278972401368121344,"note":"Value kept but may cause issues"} 
[2026-08-19 23:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787160962000,"timestamp_ms":1787160962000,"timestamp_seconds":1787160962,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1823d0"} 
[2026-08-19 23:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-19 23:07:42] 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-08-19 23:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513204480001,"66":27365,"192":206,"2":57088,"24":55,"16":386449432033361920,"45":3278972401368121344},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-08-19 23:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513204480001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:07:42] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-19 23:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386449432033361920,"km_value":386449432033361.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3278972401368121344,"description":"Unknown IO ID 45"} 
[2026-08-19 23:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513204480001,"power":27365,"unknown_192":206,"power_alt":57088,"ignition":55,"odometer":null,"unknown_45":3278972401368121344}} 
[2026-08-19 23:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":160495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:07:42] local.INFO: GPS data processed {"connection_id":160495,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:07:42] local.INFO: Acknowledgment sent {"connection_id":160495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:07:44] local.INFO: TCP Data received {"connection_id":159170,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:07:44] local.INFO: Processing buffer {"connection_id":159170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:07:44] local.INFO: Packet analysis {"connection_id":159170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:07:44] local.INFO: Extracted packet for processing {"connection_id":159170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:07:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513142528001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787161014000,"timestamp_ms":1787161014000,"timestamp_seconds":1787161014,"priority":1,"record_length":96,"hex_timestamp":"000001a01b18eef0"} 
[2026-08-19 23:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 23:07: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-08-19 23:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513142528001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513142528001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:07:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:07:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513142528001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":159170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:07:44] local.INFO: GPS data processed {"connection_id":159170,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:07:44] local.INFO: Acknowledgment sent {"connection_id":159170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:07:59] local.INFO: TCP Data received {"connection_id":158310,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:07:59] local.INFO: Processing buffer {"connection_id":158310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:07:59] local.INFO: IMEI packet received {"connection_id":158310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":158310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:08:06] local.INFO: TCP Data received {"connection_id":158310,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:08:06] local.INFO: Processing buffer {"connection_id":158310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:08:06] local.INFO: IMEI packet received {"connection_id":158310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":158310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:08:07] local.INFO: TCP Data received {"connection_id":158310,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b183b40012d2dad4006bba2a00016009732..."} 
[2026-08-19 23:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b183b40012d2dad4006bba2a00016009732..."} 
[2026-08-19 23:08:07] local.INFO: Processing buffer {"connection_id":158310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b183b40012d2dad4006bba2a00016009732..."} 
[2026-08-19 23:08:07] local.INFO: Packet analysis {"connection_id":158310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:08:07] local.INFO: Extracted packet for processing {"connection_id":158310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:08:07] local.INFO: GPS Element Parsed {"raw_longitude":757968192,"raw_latitude":112960160,"longitude_deg":75.7968192,"latitude_deg":11.296016,"altitude":22,"angle":151,"satellites":50,"speed":57,"hex_longitude":"2d2dad40","hex_latitude":"06bba2a0","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513206272001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386449835760287744,"note":"Value kept but may cause issues"} 
[2026-08-19 23:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3286150013272315904,"note":"Value kept but may cause issues"} 
[2026-08-19 23:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787160968000,"timestamp_ms":1787160968000,"timestamp_seconds":1787160968,"priority":1,"record_length":96,"hex_timestamp":"000001a01b183b40"} 
[2026-08-19 23:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:08: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-08-19 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 23:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513206272001,"66":27267,"105":206,"2":57088,"24":57,"16":386449835760287744,"45":3286150013272315904},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,45]} 
[2026-08-19 23:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513206272001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:08:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-19 23:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386449835760287744,"km_value":386449835760287.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3286150013272315904,"description":"Unknown IO ID 45"} 
[2026-08-19 23:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513206272001,"power":27267,"unknown_105":206,"power_alt":57088,"ignition":57,"odometer":null,"unknown_45":3286150013272315904}} 
[2026-08-19 23:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":158310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:08:07] local.INFO: GPS data processed {"connection_id":158310,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:08:07] local.INFO: Acknowledgment sent {"connection_id":158310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:08:07] local.INFO: TCP Data received {"connection_id":160496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:08:07] local.INFO: Processing buffer {"connection_id":160496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:08:07] local.INFO: IMEI packet received {"connection_id":160496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":160496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:08:12] local.INFO: TCP Data received {"connection_id":160496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:08:12] local.INFO: Processing buffer {"connection_id":160496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:08:12] local.INFO: IMEI packet received {"connection_id":160496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":160496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:08:13] local.INFO: TCP Data received {"connection_id":160496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:08:13] local.INFO: Processing buffer {"connection_id":160496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:08:13] local.INFO: Packet analysis {"connection_id":160496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:08:13] local.INFO: Extracted packet for processing {"connection_id":160496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:08:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513142528001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787161014000,"timestamp_ms":1787161014000,"timestamp_seconds":1787161014,"priority":1,"record_length":96,"hex_timestamp":"000001a01b18eef0"} 
[2026-08-19 23:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 23:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513142528001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513142528001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:08:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:08:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513142528001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":160496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:08:13] local.INFO: GPS data processed {"connection_id":160496,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:08:13] local.INFO: Acknowledgment sent {"connection_id":160496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:08:38] local.INFO: TCP Data received {"connection_id":158310,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b19ba10012d2e848006b9c920001c00982d..."} 
[2026-08-19 23:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b19ba10012d2e848006b9c920001c00982d..."} 
[2026-08-19 23:08:38] local.INFO: Processing buffer {"connection_id":158310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b19ba10012d2e848006b9c920001c00982d..."} 
[2026-08-19 23:08:38] local.INFO: Packet analysis {"connection_id":158310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b19"} 
[2026-08-19 23:08:38] local.INFO: Extracted packet for processing {"connection_id":158310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b19"} 
[2026-08-19 23:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758023296,"raw_latitude":112838944,"longitude_deg":75.8023296,"latitude_deg":11.2838944,"altitude":28,"angle":152,"satellites":45,"speed":60,"hex_longitude":"2d2e8480","hex_latitude":"06b9c920","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513231360001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386456273916264448,"note":"Value kept but may cause issues"} 
[2026-08-19 23:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3347511558164453376,"note":"Value kept but may cause issues"} 
[2026-08-19 23:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787161066000,"timestamp_ms":1787161066000,"timestamp_seconds":1787161066,"priority":1,"record_length":96,"hex_timestamp":"000001a01b19ba10"} 
[2026-08-19 23:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:08: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-08-19 23:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 23:08:38] 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-08-19 23: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-08-19 23:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513231360001,"66":27267,"38":206,"2":57088,"24":60,"16":386456273916264448,"45":3347511558164453376},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,45]} 
[2026-08-19 23:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513231360001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:08:38] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-19 23:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386456273916264448,"km_value":386456273916264.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3347511558164453376,"description":"Unknown IO ID 45"} 
[2026-08-19 23:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513231360001,"power":27267,"unknown_38":206,"power_alt":57088,"ignition":60,"odometer":null,"unknown_45":3347511558164453376}} 
[2026-08-19 23:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":158310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:08:38] local.INFO: GPS data processed {"connection_id":158310,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:08:38] local.INFO: Acknowledgment sent {"connection_id":158310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:08:44] local.INFO: TCP Data received {"connection_id":160496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:08:44] local.INFO: Processing buffer {"connection_id":160496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:08:44] local.INFO: Packet analysis {"connection_id":160496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:08:44] local.INFO: Extracted packet for processing {"connection_id":160496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:08:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513142528001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787161014000,"timestamp_ms":1787161014000,"timestamp_seconds":1787161014,"priority":1,"record_length":96,"hex_timestamp":"000001a01b18eef0"} 
[2026-08-19 23:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 23:08: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-08-19 23:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513142528001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513142528001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:08:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:08:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513142528001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":160496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:08:44] local.INFO: GPS data processed {"connection_id":160496,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:08:44] local.INFO: Acknowledgment sent {"connection_id":160496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:08:58] local.INFO: TCP Data received {"connection_id":159171,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:08:58] local.INFO: Processing buffer {"connection_id":159171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:08:58] local.INFO: IMEI packet received {"connection_id":159171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":159171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:09:00] local.INFO: TCP Data received {"connection_id":159171,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:09:00] local.INFO: Processing buffer {"connection_id":159171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:09:00] local.INFO: IMEI packet received {"connection_id":159171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":159171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:09:04] local.INFO: TCP Data received {"connection_id":159171,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:09:04] local.INFO: Processing buffer {"connection_id":159171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:09:04] local.INFO: IMEI packet received {"connection_id":159171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":159171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:09:05] local.INFO: TCP Data received {"connection_id":159171,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b19d180012d2e970006b9a910001900962d..."} 
[2026-08-19 23:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b19d180012d2e970006b9a910001900962d..."} 
[2026-08-19 23:09:05] local.INFO: Processing buffer {"connection_id":159171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b19d180012d2e970006b9a910001900962d..."} 
[2026-08-19 23:09:05] local.INFO: Packet analysis {"connection_id":159171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b19"} 
[2026-08-19 23:09:05] local.INFO: Extracted packet for processing {"connection_id":159171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b19"} 
[2026-08-19 23:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758028032,"raw_latitude":112830736,"longitude_deg":75.8028032,"latitude_deg":11.2830736,"altitude":25,"angle":150,"satellites":45,"speed":63,"hex_longitude":"2d2e9700","hex_latitude":"06b9a910","is_valid_coordinates":true} 
[2026-08-19 23:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513232896001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386456729182797824,"note":"Value kept but may cause issues"} 
[2026-08-19 23:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3351944789045616640,"note":"Value kept but may cause issues"} 
[2026-08-19 23:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787161072000,"timestamp_ms":1787161072000,"timestamp_seconds":1787161072,"priority":1,"record_length":96,"hex_timestamp":"000001a01b19d180"} 
[2026-08-19 23:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:09: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-08-19 23:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 23:09:05] 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-08-19 23:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513232896001,"66":27332,"38":206,"2":57088,"24":63,"16":386456729182797824,"45":3351944789045616640},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,45]} 
[2026-08-19 23:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513232896001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:09:05] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-19 23:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386456729182797824,"km_value":386456729182797.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3351944789045616640,"description":"Unknown IO ID 45"} 
[2026-08-19 23:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513232896001,"power":27332,"unknown_38":206,"power_alt":57088,"ignition":63,"odometer":null,"unknown_45":3351944789045616640}} 
[2026-08-19 23:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":159171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:09:05] local.INFO: GPS data processed {"connection_id":159171,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:09:05] local.INFO: Acknowledgment sent {"connection_id":159171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:09:12] local.INFO: TCP Data received {"connection_id":158311,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:09:12] local.INFO: Processing buffer {"connection_id":158311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:09:12] local.INFO: IMEI packet received {"connection_id":158311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":158311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:09:17] local.INFO: TCP Data received {"connection_id":158311,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:09:17] local.INFO: Processing buffer {"connection_id":158311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:09:17] local.INFO: IMEI packet received {"connection_id":158311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":158311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:09:18] local.INFO: TCP Data received {"connection_id":158311,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:09:18] local.INFO: Processing buffer {"connection_id":158311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:09:18] local.INFO: Packet analysis {"connection_id":158311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:09:18] local.INFO: Extracted packet for processing {"connection_id":158311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 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-08-19 23:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513142528001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787161014000,"timestamp_ms":1787161014000,"timestamp_seconds":1787161014,"priority":1,"record_length":96,"hex_timestamp":"000001a01b18eef0"} 
[2026-08-19 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-08-19 23:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 23:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 23:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:09:18] 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-08-19 23:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513142528001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513142528001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:09:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:09:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513142528001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":158311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:09:18] local.INFO: GPS data processed {"connection_id":158311,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:09:18] local.INFO: Acknowledgment sent {"connection_id":158311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:09:23] local.INFO: TCP Data received {"connection_id":158311,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:09:23] local.INFO: Processing buffer {"connection_id":158311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:09:23] local.INFO: Packet analysis {"connection_id":158311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:09:23] local.INFO: Extracted packet for processing {"connection_id":158311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:09:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513142528001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787161014000,"timestamp_ms":1787161014000,"timestamp_seconds":1787161014,"priority":1,"record_length":96,"hex_timestamp":"000001a01b18eef0"} 
[2026-08-19 23:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 23:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:09:23] 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-08-19 23:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513142528001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513142528001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:09:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:09:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513142528001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":158311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:09:23] local.INFO: GPS data processed {"connection_id":158311,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:09:23] local.INFO: Acknowledgment sent {"connection_id":158311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:09:36] local.INFO: TCP Data received {"connection_id":159171,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b19e8f0012d2ea80006b986d00016009b2f..."} 
[2026-08-19 23:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b19e8f0012d2ea80006b986d00016009b2f..."} 
[2026-08-19 23:09:36] local.INFO: Processing buffer {"connection_id":159171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b19e8f0012d2ea80006b986d00016009b2f..."} 
[2026-08-19 23:09:36] local.INFO: Packet analysis {"connection_id":159171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b19"} 
[2026-08-19 23:09:36] local.INFO: Extracted packet for processing {"connection_id":159171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b19"} 
[2026-08-19 23:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758032384,"raw_latitude":112821968,"longitude_deg":75.8032384,"latitude_deg":11.2821968,"altitude":22,"angle":155,"satellites":47,"speed":65,"hex_longitude":"2d2ea800","hex_latitude":"06b986d0","is_valid_coordinates":true} 
[2026-08-19 23:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513234432001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386457201629200384,"note":"Value kept but may cause issues"} 
[2026-08-19 23:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3357152076112662528,"note":"Value kept but may cause issues"} 
[2026-08-19 23:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787161078000,"timestamp_ms":1787161078000,"timestamp_seconds":1787161078,"priority":1,"record_length":96,"hex_timestamp":"000001a01b19e8f0"} 
[2026-08-19 23:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:09: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-08-19 23:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 23:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513234432001,"66":27267,"38":206,"2":57088,"24":65,"16":386457201629200384,"45":3357152076112662528},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,45]} 
[2026-08-19 23:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513234432001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:09:36] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-19 23:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386457201629200384,"km_value":386457201629200.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3357152076112662528,"description":"Unknown IO ID 45"} 
[2026-08-19 23:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513234432001,"power":27267,"unknown_38":206,"power_alt":57088,"ignition":65,"odometer":null,"unknown_45":3357152076112662528}} 
[2026-08-19 23:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":159171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:09:36] local.INFO: GPS data processed {"connection_id":159171,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:09:36] local.INFO: Acknowledgment sent {"connection_id":159171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:10:05] local.INFO: TCP Data received {"connection_id":160497,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:10:05] local.INFO: Processing buffer {"connection_id":160497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:10:05] local.INFO: IMEI packet received {"connection_id":160497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":160497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:10:06] local.INFO: TCP Data received {"connection_id":160497,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:10:06] local.INFO: Processing buffer {"connection_id":160497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:10:06] local.INFO: IMEI packet received {"connection_id":160497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":160497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:10:07] local.INFO: TCP Data received {"connection_id":160498,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:10:07] local.INFO: Processing buffer {"connection_id":160498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:10:07] local.INFO: IMEI packet received {"connection_id":160498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":160498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:10:08] local.INFO: TCP Data received {"connection_id":160497,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:10:08] local.INFO: Processing buffer {"connection_id":160497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:10:08] local.INFO: IMEI packet received {"connection_id":160497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":160497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:10:10] local.INFO: TCP Data received {"connection_id":160497,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:10:10] local.INFO: Processing buffer {"connection_id":160497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:10:10] local.INFO: IMEI packet received {"connection_id":160497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":160497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:10:11] local.INFO: TCP Data received {"connection_id":160497,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1afa60012d2f76c006b811e8000a009a33..."} 
[2026-08-19 23:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1afa60012d2f76c006b811e8000a009a33..."} 
[2026-08-19 23:10:11] local.INFO: Processing buffer {"connection_id":160497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1afa60012d2f76c006b811e8000a009a33..."} 
[2026-08-19 23:10:11] local.INFO: Packet analysis {"connection_id":160497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1a"} 
[2026-08-19 23:10:11] local.INFO: Extracted packet for processing {"connection_id":160497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1a"} 
[2026-08-19 23:10:11] local.INFO: GPS Element Parsed {"raw_longitude":758085312,"raw_latitude":112726504,"longitude_deg":75.8085312,"latitude_deg":11.2726504,"altitude":10,"angle":154,"satellites":51,"speed":58,"hex_longitude":"2d2f76c0","hex_latitude":"06b811e8","is_valid_coordinates":true} 
[2026-08-19 23:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513252096001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386462475849039872,"note":"Value kept but may cause issues"} 
[2026-08-19 23:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3415558133755797504,"note":"Value kept but may cause issues"} 
[2026-08-19 23:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787161148000,"timestamp_ms":1787161148000,"timestamp_seconds":1787161148,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1afa60"} 
[2026-08-19 23:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:10: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-08-19 23:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 23:10:11] 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-08-19 23:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513252096001,"66":27332,"84":206,"28":21760,"24":58,"16":386462475849039872,"45":3415558133755797504},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,28,24,16,45]} 
[2026-08-19 23:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513252096001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:10:11] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-08-19 23:10:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386462475849039872,"km_value":386462475849039.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3415558133755797504,"description":"Unknown IO ID 45"} 
[2026-08-19 23:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513252096001,"power":27332,"unknown_84":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3415558133755797504}} 
[2026-08-19 23:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":160497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:10:11] local.INFO: GPS data processed {"connection_id":160497,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:10:11] local.INFO: Acknowledgment sent {"connection_id":160497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:10:12] local.INFO: TCP Data received {"connection_id":160498,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:10:12] local.INFO: Processing buffer {"connection_id":160498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:10:12] local.INFO: IMEI packet received {"connection_id":160498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":160498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:10:13] local.INFO: TCP Data received {"connection_id":160498,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:10:13] local.INFO: Processing buffer {"connection_id":160498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:10:13] local.INFO: Packet analysis {"connection_id":160498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:10:13] local.INFO: Extracted packet for processing {"connection_id":160498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:10:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513142528001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787161014000,"timestamp_ms":1787161014000,"timestamp_seconds":1787161014,"priority":1,"record_length":96,"hex_timestamp":"000001a01b18eef0"} 
[2026-08-19 23:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 23:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513142528001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513142528001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:10:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:10:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513142528001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":160498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:10:13] local.INFO: GPS data processed {"connection_id":160498,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:10:13] local.INFO: Acknowledgment sent {"connection_id":160498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:10:43] local.INFO: TCP Data received {"connection_id":160497,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1b11d0012d2f85c006b7f1800009009b33..."} 
[2026-08-19 23:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1b11d0012d2f85c006b7f1800009009b33..."} 
[2026-08-19 23:10:43] local.INFO: Processing buffer {"connection_id":160497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1b11d0012d2f85c006b7f1800009009b33..."} 
[2026-08-19 23:10:43] local.INFO: Packet analysis {"connection_id":160497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1b"} 
[2026-08-19 23:10:43] local.INFO: Extracted packet for processing {"connection_id":160497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1b"} 
[2026-08-19 23:10:43] local.INFO: GPS Element Parsed {"raw_longitude":758089152,"raw_latitude":112718208,"longitude_deg":75.8089152,"latitude_deg":11.2718208,"altitude":9,"angle":155,"satellites":51,"speed":60,"hex_longitude":"2d2f85c0","hex_latitude":"06b7f180","is_valid_coordinates":true} 
[2026-08-19 23:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513253888001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386462918230671360,"note":"Value kept but may cause issues"} 
[2026-08-19 23:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3420132102124988416,"note":"Value kept but may cause issues"} 
[2026-08-19 23:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787161154000,"timestamp_ms":1787161154000,"timestamp_seconds":1787161154,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1b11d0"} 
[2026-08-19 23:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 23:10:43] 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-08-19 23:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513253888001,"66":27365,"84":206,"28":21760,"24":60,"16":386462918230671360,"45":3420132102124988416},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,28,24,16,45]} 
[2026-08-19 23:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513253888001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:10:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-08-19 23:10:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386462918230671360,"km_value":386462918230671.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3420132102124988416,"description":"Unknown IO ID 45"} 
[2026-08-19 23:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513253888001,"power":27365,"unknown_84":206,"unknown_28":21760,"ignition":60,"odometer":null,"unknown_45":3420132102124988416}} 
[2026-08-19 23:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":160497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:10:43] local.INFO: GPS data processed {"connection_id":160497,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:10:43] local.INFO: Acknowledgment sent {"connection_id":160497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:10:44] local.INFO: TCP Data received {"connection_id":160498,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:10:44] local.INFO: Processing buffer {"connection_id":160498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:10:44] local.INFO: Packet analysis {"connection_id":160498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:10:44] local.INFO: Extracted packet for processing {"connection_id":160498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:10:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513142528001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787161014000,"timestamp_ms":1787161014000,"timestamp_seconds":1787161014,"priority":1,"record_length":96,"hex_timestamp":"000001a01b18eef0"} 
[2026-08-19 23:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 23:10: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-08-19 23:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513142528001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513142528001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:10:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:10:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513142528001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":160498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:10:44] local.INFO: GPS data processed {"connection_id":160498,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:10:44] local.INFO: Acknowledgment sent {"connection_id":160498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:10:59] local.INFO: TCP Data received {"connection_id":159172,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:10:59] local.INFO: Processing buffer {"connection_id":159172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:10:59] local.INFO: IMEI packet received {"connection_id":159172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":159172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:10:59] local.INFO: TCP Data received {"connection_id":159172,"ip":"117.224.24.81","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 23:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159172,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 23:10:59] local.INFO: Processing buffer {"connection_id":159172,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 23:10:59] local.INFO: IMEI packet received {"connection_id":159172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":159172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:11:04] local.INFO: TCP Data received {"connection_id":159172,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:11:04] local.INFO: Processing buffer {"connection_id":159172,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 23:11:04] local.INFO: IMEI packet received {"connection_id":159172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":159172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:11:05] local.INFO: TCP Data received {"connection_id":159172,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1b2940012d2f944006b7d140000b009d31..."} 
[2026-08-19 23:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1b2940012d2f944006b7d140000b009d31..."} 
[2026-08-19 23:11:05] local.INFO: Processing buffer {"connection_id":159172,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a01b..."} 
[2026-08-19 23:11:05] local.INFO: IMEI packet received {"connection_id":159172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":159172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:11:07] local.INFO: TCP Data received {"connection_id":159172,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1b40b0012d2fa14006b7b0e8000b00a032..."} 
[2026-08-19 23:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1b40b0012d2fa14006b7b0e8000b00a032..."} 
[2026-08-19 23:11:07] local.INFO: Processing buffer {"connection_id":159172,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a01b1b2940012d2f944006b7d140000b009d31..."} 
[2026-08-19 23:11:07] local.INFO: Packet analysis {"connection_id":159172,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a01b1b"} 
[2026-08-19 23:11:07] local.INFO: Extracted packet for processing {"connection_id":159172,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1b"} 
[2026-08-19 23:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758092864,"raw_latitude":112709952,"longitude_deg":75.8092864,"latitude_deg":11.2709952,"altitude":11,"angle":157,"satellites":49,"speed":59,"hex_longitude":"2d2f9440","hex_latitude":"06b7d140","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513255424001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386463356317335552,"note":"Value kept but may cause issues"} 
[2026-08-19 23:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3424354226773524480,"note":"Value kept but may cause issues"} 
[2026-08-19 23:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787161160000,"timestamp_ms":1787161160000,"timestamp_seconds":1787161160,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1b2940"} 
[2026-08-19 23:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 23:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513255424001,"66":27397,"84":206,"28":21760,"24":59,"16":386463356317335552,"45":3424354226773524480},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,28,24,16,45]} 
[2026-08-19 23:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513255424001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:11:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-08-19 23:11:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386463356317335552,"km_value":386463356317335.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3424354226773524480,"description":"Unknown IO ID 45"} 
[2026-08-19 23:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513255424001,"power":27397,"unknown_84":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3424354226773524480}} 
[2026-08-19 23:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":159172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:11:07] local.INFO: GPS data processed {"connection_id":159172,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:11:07] local.INFO: Acknowledgment sent {"connection_id":159172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:11:07] local.INFO: Packet analysis {"connection_id":159172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1b"} 
[2026-08-19 23:11:07] local.INFO: Extracted packet for processing {"connection_id":159172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1b"} 
[2026-08-19 23:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758096192,"raw_latitude":112701672,"longitude_deg":75.8096192,"latitude_deg":11.2701672,"altitude":11,"angle":160,"satellites":50,"speed":59,"hex_longitude":"2d2fa140","hex_latitude":"06b7b0e8","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513256960001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386463785814065152,"note":"Value kept but may cause issues"} 
[2026-08-19 23:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3428435613933715456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787161166000,"timestamp_ms":1787161166000,"timestamp_seconds":1787161166,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1b40b0"} 
[2026-08-19 23:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 23:11:07] 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-08-19 23: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-08-19 23:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513256960001,"66":27343,"84":206,"28":21760,"24":59,"16":386463785814065152,"45":3428435613933715456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,28,24,16,45]} 
[2026-08-19 23:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513256960001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:11:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-08-19 23:11:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386463785814065152,"km_value":386463785814065.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3428435613933715456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513256960001,"power":27343,"unknown_84":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3428435613933715456}} 
[2026-08-19 23:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":159172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:11:07] local.INFO: GPS data processed {"connection_id":159172,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:11:07] local.INFO: Acknowledgment sent {"connection_id":159172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:11:07] local.INFO: TCP Data received {"connection_id":157957,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:11:07] local.INFO: Processing buffer {"connection_id":157957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:11:07] local.INFO: IMEI packet received {"connection_id":157957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":157957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:11:08] local.INFO: TCP Data received {"connection_id":159172,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1b5820012d2fac4006b78fe0000b00a231..."} 
[2026-08-19 23:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1b5820012d2fac4006b78fe0000b00a231..."} 
[2026-08-19 23:11:08] local.INFO: Processing buffer {"connection_id":159172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1b5820012d2fac4006b78fe0000b00a231..."} 
[2026-08-19 23:11:08] local.INFO: Packet analysis {"connection_id":159172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1b"} 
[2026-08-19 23:11:08] local.INFO: Extracted packet for processing {"connection_id":159172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1b"} 
[2026-08-19 23:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758099008,"raw_latitude":112693216,"longitude_deg":75.8099008,"latitude_deg":11.2693216,"altitude":11,"angle":162,"satellites":49,"speed":58,"hex_longitude":"2d2fac40","hex_latitude":"06b78fe0","is_valid_coordinates":true} 
[2026-08-19 23:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513258496001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386464219605762048,"note":"Value kept but may cause issues"} 
[2026-08-19 23:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3432094788628834304,"note":"Value kept but may cause issues"} 
[2026-08-19 23:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787161172000,"timestamp_ms":1787161172000,"timestamp_seconds":1787161172,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1b5820"} 
[2026-08-19 23:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:11: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-08-19 23:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 23:11:08] 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-08-19 23:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513258496001,"66":27343,"84":206,"28":21760,"24":58,"16":386464219605762048,"45":3432094788628834304},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,28,24,16,45]} 
[2026-08-19 23:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513258496001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:11:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-08-19 23:11:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386464219605762048,"km_value":386464219605762.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3432094788628834304,"description":"Unknown IO ID 45"} 
[2026-08-19 23:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513258496001,"power":27343,"unknown_84":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3432094788628834304}} 
[2026-08-19 23:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":159172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:11:08] local.INFO: GPS data processed {"connection_id":159172,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:11:08] local.INFO: Acknowledgment sent {"connection_id":159172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:11:12] local.INFO: TCP Data received {"connection_id":157957,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:11:12] local.INFO: Processing buffer {"connection_id":157957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:11:12] local.INFO: IMEI packet received {"connection_id":157957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":157957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:11:13] local.INFO: TCP Data received {"connection_id":157957,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:11:13] local.INFO: Processing buffer {"connection_id":157957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:11:13] local.INFO: Packet analysis {"connection_id":157957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:11:13] local.INFO: Extracted packet for processing {"connection_id":157957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:11:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513142528001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787161014000,"timestamp_ms":1787161014000,"timestamp_seconds":1787161014,"priority":1,"record_length":96,"hex_timestamp":"000001a01b18eef0"} 
[2026-08-19 23:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 23:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513142528001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513142528001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:11:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:11:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513142528001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":157957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:11:13] local.INFO: GPS data processed {"connection_id":157957,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:11:13] local.INFO: Acknowledgment sent {"connection_id":157957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:11:44] local.INFO: TCP Data received {"connection_id":159172,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1c90a0012d30f10006b68f200013007130..."} 
[2026-08-19 23:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1c90a0012d30f10006b68f200013007130..."} 
[2026-08-19 23:11:44] local.INFO: Processing buffer {"connection_id":159172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1c90a0012d30f10006b68f200013007130..."} 
[2026-08-19 23:11:44] local.INFO: Packet analysis {"connection_id":159172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1c"} 
[2026-08-19 23:11:44] local.INFO: Extracted packet for processing {"connection_id":159172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1c"} 
[2026-08-19 23:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758182144,"raw_latitude":112627488,"longitude_deg":75.8182144,"latitude_deg":11.2627488,"altitude":19,"angle":113,"satellites":48,"speed":58,"hex_longitude":"2d30f100","hex_latitude":"06b68f20","is_valid_coordinates":true} 
[2026-08-19 23:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513278720001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386469931912265728,"note":"Value kept but may cause issues"} 
[2026-08-19 23:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3515692856693706752,"note":"Value kept but may cause issues"} 
[2026-08-19 23:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787161252000,"timestamp_ms":1787161252000,"timestamp_seconds":1787161252,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1c90a0"} 
[2026-08-19 23:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:11: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-08-19 23:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 23:11:44] 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-08-19 23:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513278720001,"66":27397,"146":206,"28":21760,"24":58,"16":386469931912265728,"45":3515692856693706752},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,28,24,16,45]} 
[2026-08-19 23:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513278720001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:11:44] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-19 23:11:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386469931912265728,"km_value":386469931912265.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3515692856693706752,"description":"Unknown IO ID 45"} 
[2026-08-19 23:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513278720001,"power":27397,"unknown_146":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3515692856693706752}} 
[2026-08-19 23:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":159172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:11:44] local.INFO: GPS data processed {"connection_id":159172,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:11:44] local.INFO: Acknowledgment sent {"connection_id":159172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:11:44] local.INFO: TCP Data received {"connection_id":157957,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:11:44] local.INFO: Processing buffer {"connection_id":157957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:11:44] local.INFO: Packet analysis {"connection_id":157957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:11:44] local.INFO: Extracted packet for processing {"connection_id":157957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:11:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513142528001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787161014000,"timestamp_ms":1787161014000,"timestamp_seconds":1787161014,"priority":1,"record_length":96,"hex_timestamp":"000001a01b18eef0"} 
[2026-08-19 23:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 23:11: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-08-19 23:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513142528001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513142528001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:11:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:11:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513142528001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":157957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:11:45] local.INFO: GPS data processed {"connection_id":157957,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:11:45] local.INFO: Acknowledgment sent {"connection_id":157957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:11:59] local.INFO: TCP Data received {"connection_id":160499,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:11:59] local.INFO: Processing buffer {"connection_id":160499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:11:59] local.INFO: IMEI packet received {"connection_id":160499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":160499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:11:59] local.INFO: TCP Data received {"connection_id":160499,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:11:59] local.INFO: Processing buffer {"connection_id":160499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:11:59] local.INFO: IMEI packet received {"connection_id":160499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":160499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:12:04] local.INFO: TCP Data received {"connection_id":160499,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:12:04] local.INFO: Processing buffer {"connection_id":160499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:12:04] local.INFO: IMEI packet received {"connection_id":160499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":160499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:12:05] local.INFO: TCP Data received {"connection_id":160499,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1c90a0012d30f10006b68f200013007130..."} 
[2026-08-19 23:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1c90a0012d30f10006b68f200013007130..."} 
[2026-08-19 23:12:05] local.INFO: Processing buffer {"connection_id":160499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1c90a0012d30f10006b68f200013007130..."} 
[2026-08-19 23:12:05] local.INFO: Packet analysis {"connection_id":160499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1c"} 
[2026-08-19 23:12:05] local.INFO: Extracted packet for processing {"connection_id":160499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1c"} 
[2026-08-19 23:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758182144,"raw_latitude":112627488,"longitude_deg":75.8182144,"latitude_deg":11.2627488,"altitude":19,"angle":113,"satellites":48,"speed":58,"hex_longitude":"2d30f100","hex_latitude":"06b68f20","is_valid_coordinates":true} 
[2026-08-19 23:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513280512001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386469931912265728,"note":"Value kept but may cause issues"} 
[2026-08-19 23:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3526600012040445952,"note":"Value kept but may cause issues"} 
[2026-08-19 23:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787161252000,"timestamp_ms":1787161252000,"timestamp_seconds":1787161252,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1c90a0"} 
[2026-08-19 23:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:12: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-08-19 23:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 23:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513280512001,"66":27397,"146":206,"28":21760,"24":58,"16":386469931912265728,"45":3526600012040445952},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,28,24,16,45]} 
[2026-08-19 23:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513280512001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:12:05] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-19 23:12:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386469931912265728,"km_value":386469931912265.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3526600012040445952,"description":"Unknown IO ID 45"} 
[2026-08-19 23:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513280512001,"power":27397,"unknown_146":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3526600012040445952}} 
[2026-08-19 23:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":160499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:12:05] local.INFO: GPS data processed {"connection_id":160499,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:12:05] local.INFO: Acknowledgment sent {"connection_id":160499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:12:08] local.INFO: TCP Data received {"connection_id":157958,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:12:08] local.INFO: Processing buffer {"connection_id":157958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:12:08] local.INFO: IMEI packet received {"connection_id":157958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":157958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:12:12] local.INFO: TCP Data received {"connection_id":157958,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:12:12] local.INFO: Processing buffer {"connection_id":157958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:12:12] local.INFO: IMEI packet received {"connection_id":157958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":157958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:12:13] local.INFO: TCP Data received {"connection_id":157958,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:12:13] local.INFO: Processing buffer {"connection_id":157958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b18eef0012d196500071ff1280047014626..."} 
[2026-08-19 23:12:13] local.INFO: Packet analysis {"connection_id":157958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:12:13] local.INFO: Extracted packet for processing {"connection_id":157958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b18"} 
[2026-08-19 23:12:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513142528001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787161014000,"timestamp_ms":1787161014000,"timestamp_seconds":1787161014,"priority":1,"record_length":96,"hex_timestamp":"000001a01b18eef0"} 
[2026-08-19 23:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-19 23:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513142528001,"66":2144,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513142528001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:12:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:12:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513142528001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":157958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:12:13] local.INFO: GPS data processed {"connection_id":157958,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:12:13] local.INFO: Acknowledgment sent {"connection_id":157958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:12:38] local.INFO: TCP Data received {"connection_id":160499,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1cabf8012d31134006b67c400016007c2f..."} 
[2026-08-19 23:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1cabf8012d31134006b67c400016007c2f..."} 
[2026-08-19 23:12:38] local.INFO: Processing buffer {"connection_id":160499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1cabf8012d31134006b67c400016007c2f..."} 
[2026-08-19 23:12:38] local.INFO: Packet analysis {"connection_id":160499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1c"} 
[2026-08-19 23:12:38] local.INFO: Extracted packet for processing {"connection_id":160499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1c"} 
[2026-08-19 23:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758190912,"raw_latitude":112622656,"longitude_deg":75.8190912,"latitude_deg":11.2622656,"altitude":22,"angle":124,"satellites":47,"speed":54,"hex_longitude":"2d311340","hex_latitude":"06b67c40","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513280512001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386470412948602880,"note":"Value kept but may cause issues"} 
[2026-08-19 23:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3526600012040445952,"note":"Value kept but may cause issues"} 
[2026-08-19 23:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787161259000,"timestamp_ms":1787161259000,"timestamp_seconds":1787161259,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1cabf8"} 
[2026-08-19 23:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:12: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-08-19 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 23:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513280512001,"66":27484,"146":206,"28":21760,"24":54,"16":386470412948602880,"45":3526600012040445952},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,28,24,16,45]} 
[2026-08-19 23:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513280512001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:12:38] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-19 23:12:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386470412948602880,"km_value":386470412948602.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3526600012040445952,"description":"Unknown IO ID 45"} 
[2026-08-19 23:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513280512001,"power":27484,"unknown_146":206,"unknown_28":21760,"ignition":54,"odometer":null,"unknown_45":3526600012040445952}} 
[2026-08-19 23:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":160499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:12:38] local.INFO: GPS data processed {"connection_id":160499,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:12:38] local.INFO: Acknowledgment sent {"connection_id":160499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:12:44] local.INFO: TCP Data received {"connection_id":157958,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:12:44] local.INFO: Processing buffer {"connection_id":157958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:12:44] local.INFO: Packet analysis {"connection_id":157958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:12:44] local.INFO: Extracted packet for processing {"connection_id":157958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:12:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513219584001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787161315000,"timestamp_ms":1787161315000,"timestamp_seconds":1787161315,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1d86b8"} 
[2026-08-19 23:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:12:44] 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-08-19 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 23:12:44] 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-08-19 23: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-08-19 23:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513219584001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513219584001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:12:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:12:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513219584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":157958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:12:45] local.INFO: GPS data processed {"connection_id":157958,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:12:45] local.INFO: Acknowledgment sent {"connection_id":157958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:12:59] local.INFO: TCP Data received {"connection_id":159173,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:12:59] local.INFO: Processing buffer {"connection_id":159173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:12:59] local.INFO: IMEI packet received {"connection_id":159173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":159173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:13:01] local.INFO: TCP Data received {"connection_id":159173,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:13:01] local.INFO: Processing buffer {"connection_id":159173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:13:01] local.INFO: IMEI packet received {"connection_id":159173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":159173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:13:02] local.INFO: TCP Data received {"connection_id":159173,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1da5f8012d31ec8006b55850000c00852d..."} 
[2026-08-19 23:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1da5f8012d31ec8006b55850000c00852d..."} 
[2026-08-19 23:13:02] local.INFO: Processing buffer {"connection_id":159173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1da5f8012d31ec8006b55850000c00852d..."} 
[2026-08-19 23:13:02] local.INFO: Packet analysis {"connection_id":159173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:13:02] local.INFO: Extracted packet for processing {"connection_id":159173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:13:02] local.INFO: GPS Element Parsed {"raw_longitude":758246528,"raw_latitude":112547920,"longitude_deg":75.8246528,"latitude_deg":11.254792,"altitude":12,"angle":133,"satellites":45,"speed":60,"hex_longitude":"2d31ec80","hex_latitude":"06b55850","is_valid_coordinates":true} 
[2026-08-19 23:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513297152001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386474926959230976,"note":"Value kept but may cause issues"} 
[2026-08-19 23:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3590072619270025216,"note":"Value kept but may cause issues"} 
[2026-08-19 23:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787161323000,"timestamp_ms":1787161323000,"timestamp_seconds":1787161323,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1da5f8"} 
[2026-08-19 23:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:13: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-08-19 23:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 23:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513297152001,"66":27213,"78":206,"28":21760,"24":60,"16":386474926959230976,"45":3590072619270025216},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,28,24,16,45]} 
[2026-08-19 23:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513297152001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:13:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-19 23:13:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386474926959230976,"km_value":386474926959231.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3590072619270025216,"description":"Unknown IO ID 45"} 
[2026-08-19 23:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513297152001,"power":27213,"unknown_78":206,"unknown_28":21760,"ignition":60,"odometer":null,"unknown_45":3590072619270025216}} 
[2026-08-19 23:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":159173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:13:02] local.INFO: GPS data processed {"connection_id":159173,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:13:02] local.INFO: Acknowledgment sent {"connection_id":159173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:13:12] local.INFO: TCP Data received {"connection_id":159174,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:13:12] local.INFO: Processing buffer {"connection_id":159174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:13:12] local.INFO: IMEI packet received {"connection_id":159174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":159174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:13:17] local.INFO: TCP Data received {"connection_id":159174,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:13:17] local.INFO: Processing buffer {"connection_id":159174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:13:17] local.INFO: IMEI packet received {"connection_id":159174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":159174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:13:18] local.INFO: TCP Data received {"connection_id":159174,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:13:18] local.INFO: Processing buffer {"connection_id":159174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:13:18] local.INFO: Packet analysis {"connection_id":159174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:13:18] local.INFO: Extracted packet for processing {"connection_id":159174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:13:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513219584001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787161315000,"timestamp_ms":1787161315000,"timestamp_seconds":1787161315,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1d86b8"} 
[2026-08-19 23:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:13:18] 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-08-19 23:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 23:13:18] 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-08-19 23:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:13:18] 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-08-19 23:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513219584001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513219584001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:13:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:13:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513219584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":159174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:13:18] local.INFO: GPS data processed {"connection_id":159174,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:13:18] local.INFO: Acknowledgment sent {"connection_id":159174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:13:23] local.INFO: TCP Data received {"connection_id":159174,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:13:23] local.INFO: Processing buffer {"connection_id":159174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:13:23] local.INFO: Packet analysis {"connection_id":159174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:13:23] local.INFO: Extracted packet for processing {"connection_id":159174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513219584001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787161315000,"timestamp_ms":1787161315000,"timestamp_seconds":1787161315,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1d86b8"} 
[2026-08-19 23:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:13:23] 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-08-19 23:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 23:13:23] 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-08-19 23:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:13:23] 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-08-19 23:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513219584001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513219584001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:13:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:13:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513219584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":159174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:13:23] local.INFO: GPS data processed {"connection_id":159174,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:13:23] local.INFO: Acknowledgment sent {"connection_id":159174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:13:33] local.INFO: TCP Data received {"connection_id":159173,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1dbd68012d32070006b54138000b00802b..."} 
[2026-08-19 23:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1dbd68012d32070006b54138000b00802b..."} 
[2026-08-19 23:13:33] local.INFO: Processing buffer {"connection_id":159173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1dbd68012d32070006b54138000b00802b..."} 
[2026-08-19 23:13:33] local.INFO: Packet analysis {"connection_id":159173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:13:33] local.INFO: Extracted packet for processing {"connection_id":159173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:13:33] local.INFO: GPS Element Parsed {"raw_longitude":758253312,"raw_latitude":112542008,"longitude_deg":75.8253312,"latitude_deg":11.2542008,"altitude":11,"angle":128,"satellites":43,"speed":58,"hex_longitude":"2d320700","hex_latitude":"06b54138","is_valid_coordinates":true} 
[2026-08-19 23:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513298688001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386475356455960576,"note":"Value kept but may cause issues"} 
[2026-08-19 23:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3597390968662806528,"note":"Value kept but may cause issues"} 
[2026-08-19 23:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787161329000,"timestamp_ms":1787161329000,"timestamp_seconds":1787161329,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1dbd68"} 
[2026-08-19 23:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 23:13:33] 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-08-19 23:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513298688001,"66":27321,"212":206,"28":21760,"24":58,"16":386475356455960576,"45":3597390968662806528},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,28,24,16,45]} 
[2026-08-19 23:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513298688001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:13:33] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-19 23:13:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386475356455960576,"km_value":386475356455960.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3597390968662806528,"description":"Unknown IO ID 45"} 
[2026-08-19 23:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513298688001,"power":27321,"unknown_212":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3597390968662806528}} 
[2026-08-19 23:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":159173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:13:33] local.INFO: GPS data processed {"connection_id":159173,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:13:33] local.INFO: Acknowledgment sent {"connection_id":159173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:13:58] local.INFO: TCP Data received {"connection_id":157959,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:13:58] local.INFO: Processing buffer {"connection_id":157959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:13:58] local.INFO: IMEI packet received {"connection_id":157959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":157959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:13:58] local.INFO: TCP Data received {"connection_id":157959,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:13:58] local.INFO: Processing buffer {"connection_id":157959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:13:58] local.INFO: IMEI packet received {"connection_id":157959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":157959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:14:03] local.INFO: TCP Data received {"connection_id":157959,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:14:03] local.INFO: Processing buffer {"connection_id":157959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:14:03] local.INFO: IMEI packet received {"connection_id":157959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":157959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:14:04] local.INFO: TCP Data received {"connection_id":157959,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1dd8c0012d32270006b529f8000b007c2e..."} 
[2026-08-19 23:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1dd8c0012d32270006b529f8000b007c2e..."} 
[2026-08-19 23:14:04] local.INFO: Processing buffer {"connection_id":157959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1dd8c0012d32270006b529f8000b007c2e..."} 
[2026-08-19 23:14:04] local.INFO: Packet analysis {"connection_id":157959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:14:04] local.INFO: Extracted packet for processing {"connection_id":157959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:14:04] local.INFO: GPS Element Parsed {"raw_longitude":758261504,"raw_latitude":112536056,"longitude_deg":75.8261504,"latitude_deg":11.2536056,"altitude":11,"angle":124,"satellites":46,"speed":55,"hex_longitude":"2d322700","hex_latitude":"06b529f8","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513300224001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386475841787265024,"note":"Value kept but may cause issues"} 
[2026-08-19 23:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3604850055544125440,"note":"Value kept but may cause issues"} 
[2026-08-19 23:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787161336000,"timestamp_ms":1787161336000,"timestamp_seconds":1787161336,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1dd8c0"} 
[2026-08-19 23:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:14: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-08-19 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 23:14:04] 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-08-19 23: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-08-19 23:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513300224001,"66":27365,"212":206,"28":21760,"24":55,"16":386475841787265024,"45":3604850055544125440},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,28,24,16,45]} 
[2026-08-19 23:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513300224001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:14:04] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-19 23:14:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386475841787265024,"km_value":386475841787265.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3604850055544125440,"description":"Unknown IO ID 45"} 
[2026-08-19 23:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513300224001,"power":27365,"unknown_212":206,"unknown_28":21760,"ignition":55,"odometer":null,"unknown_45":3604850055544125440}} 
[2026-08-19 23:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":157959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:14:04] local.INFO: GPS data processed {"connection_id":157959,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:14:04] local.INFO: Acknowledgment sent {"connection_id":157959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:14:07] local.INFO: TCP Data received {"connection_id":159175,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:14:07] local.INFO: Processing buffer {"connection_id":159175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:14:07] local.INFO: IMEI packet received {"connection_id":159175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":159175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:14:12] local.INFO: TCP Data received {"connection_id":159175,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:14:12] local.INFO: Processing buffer {"connection_id":159175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:14:12] local.INFO: IMEI packet received {"connection_id":159175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":159175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:14:13] local.INFO: TCP Data received {"connection_id":159175,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:14:13] local.INFO: Processing buffer {"connection_id":159175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:14:13] local.INFO: Packet analysis {"connection_id":159175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:14:13] local.INFO: Extracted packet for processing {"connection_id":159175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:14:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513219584001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787161315000,"timestamp_ms":1787161315000,"timestamp_seconds":1787161315,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1d86b8"} 
[2026-08-19 23:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:14:13] 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-08-19 23:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 23:14:13] 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-08-19 23:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513219584001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513219584001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:14:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:14:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513219584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":159175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:14:13] local.INFO: GPS data processed {"connection_id":159175,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:14:13] local.INFO: Acknowledgment sent {"connection_id":159175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:14:36] local.INFO: TCP Data received {"connection_id":157959,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1f24c8012d33a00006b44e88001000962f..."} 
[2026-08-19 23:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1f24c8012d33a00006b44e88001000962f..."} 
[2026-08-19 23:14:36] local.INFO: Processing buffer {"connection_id":157959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1f24c8012d33a00006b44e88001000962f..."} 
[2026-08-19 23:14:36] local.INFO: Packet analysis {"connection_id":157959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1f"} 
[2026-08-19 23:14:36] local.INFO: Extracted packet for processing {"connection_id":157959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1f"} 
[2026-08-19 23:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758358016,"raw_latitude":112479880,"longitude_deg":75.8358016,"latitude_deg":11.247988,"altitude":16,"angle":150,"satellites":47,"speed":53,"hex_longitude":"2d33a000","hex_latitude":"06b44e88","is_valid_coordinates":true} 
[2026-08-19 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-08-19 23:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513323776001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386481244856123392,"note":"Value kept but may cause issues"} 
[2026-08-19 23:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3719973321002878976,"note":"Value kept but may cause issues"} 
[2026-08-19 23:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787161421000,"timestamp_ms":1787161421000,"timestamp_seconds":1787161421,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1f24c8"} 
[2026-08-19 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-08-19 23:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 23:14:36] 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-08-19 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-08-19 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-08-19 23:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513323776001,"66":27234,"211":206,"28":21760,"24":53,"16":386481244856123392,"45":3719973321002878976},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-08-19 23:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513323776001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:14:36] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-19 23:14:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386481244856123392,"km_value":386481244856123.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3719973321002878976,"description":"Unknown IO ID 45"} 
[2026-08-19 23:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513323776001,"power":27234,"unknown_211":206,"unknown_28":21760,"ignition":53,"odometer":null,"unknown_45":3719973321002878976}} 
[2026-08-19 23:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":157959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:14:37] local.INFO: GPS data processed {"connection_id":157959,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:14:37] local.INFO: Acknowledgment sent {"connection_id":157959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:14:44] local.INFO: TCP Data received {"connection_id":159175,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:14:44] local.INFO: Processing buffer {"connection_id":159175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:14:44] local.INFO: Packet analysis {"connection_id":159175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:14:44] local.INFO: Extracted packet for processing {"connection_id":159175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:14:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513219584001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787161315000,"timestamp_ms":1787161315000,"timestamp_seconds":1787161315,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1d86b8"} 
[2026-08-19 23:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:14:44] 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-08-19 23:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 23:14:44] 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-08-19 23:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513219584001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513219584001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:14:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:14:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513219584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":159175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:14:44] local.INFO: GPS data processed {"connection_id":159175,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:14:44] local.INFO: Acknowledgment sent {"connection_id":159175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:14:58] local.INFO: TCP Data received {"connection_id":158312,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:14:58] local.INFO: Processing buffer {"connection_id":158312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:14:58] local.INFO: IMEI packet received {"connection_id":158312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":158312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:15:03] local.INFO: TCP Data received {"connection_id":158312,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:15:03] local.INFO: Processing buffer {"connection_id":158312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:15:03] local.INFO: IMEI packet received {"connection_id":158312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":158312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:15:06] local.INFO: TCP Data received {"connection_id":158312,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1f4020012d33b14006b42ec00012009a2e..."} 
[2026-08-19 23:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1f4020012d33b14006b42ec00012009a2e..."} 
[2026-08-19 23:15:06] local.INFO: Processing buffer {"connection_id":158312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1f4020012d33b14006b42ec00012009a2e..."} 
[2026-08-19 23:15:06] local.INFO: Packet analysis {"connection_id":158312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1f"} 
[2026-08-19 23:15:06] local.INFO: Extracted packet for processing {"connection_id":158312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1f"} 
[2026-08-19 23:15:06] local.INFO: GPS Element Parsed {"raw_longitude":758362432,"raw_latitude":112471744,"longitude_deg":75.8362432,"latitude_deg":11.2471744,"altitude":18,"angle":154,"satellites":46,"speed":50,"hex_longitude":"2d33b140","hex_latitude":"06b42ec0","is_valid_coordinates":true} 
[2026-08-19 23:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513323776001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386481691532722176,"note":"Value kept but may cause issues"} 
[2026-08-19 23:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3719973321002878976,"note":"Value kept but may cause issues"} 
[2026-08-19 23:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787161428000,"timestamp_ms":1787161428000,"timestamp_seconds":1787161428,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1f4020"} 
[2026-08-19 23:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-19 23:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513323776001,"66":27343,"211":206,"28":21760,"24":50,"16":386481691532722176,"45":3719973321002878976},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-08-19 23:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513323776001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:15:06] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-19 23:15:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386481691532722176,"km_value":386481691532722.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3719973321002878976,"description":"Unknown IO ID 45"} 
[2026-08-19 23:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513323776001,"power":27343,"unknown_211":206,"unknown_28":21760,"ignition":50,"odometer":null,"unknown_45":3719973321002878976}} 
[2026-08-19 23:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":158312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:15:06] local.INFO: GPS data processed {"connection_id":158312,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:15:06] local.INFO: Acknowledgment sent {"connection_id":158312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:15:07] local.INFO: TCP Data received {"connection_id":158313,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:15:07] local.INFO: Processing buffer {"connection_id":158313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:15:07] local.INFO: IMEI packet received {"connection_id":158313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":158313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:15:12] local.INFO: TCP Data received {"connection_id":158313,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:15:12] local.INFO: Processing buffer {"connection_id":158313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:15:12] local.INFO: IMEI packet received {"connection_id":158313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":158313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:15:13] local.INFO: TCP Data received {"connection_id":158313,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:15:13] local.INFO: Processing buffer {"connection_id":158313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:15:13] local.INFO: Packet analysis {"connection_id":158313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:15:13] local.INFO: Extracted packet for processing {"connection_id":158313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:15:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513219584001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787161315000,"timestamp_ms":1787161315000,"timestamp_seconds":1787161315,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1d86b8"} 
[2026-08-19 23:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:15:13] 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-08-19 23:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 23:15:13] 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-08-19 23:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513219584001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513219584001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:15:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513219584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":158313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:15:13] local.INFO: GPS data processed {"connection_id":158313,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:15:13] local.INFO: Acknowledgment sent {"connection_id":158313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:15:38] local.INFO: TCP Data received {"connection_id":158312,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1f53a8012d33b94006b417c0001300a52f..."} 
[2026-08-19 23:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1f53a8012d33b94006b417c0001300a52f..."} 
[2026-08-19 23:15:38] local.INFO: Processing buffer {"connection_id":158312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1f53a8012d33b94006b417c0001300a52f..."} 
[2026-08-19 23:15:38] local.INFO: Packet analysis {"connection_id":158312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1f"} 
[2026-08-19 23:15:38] local.INFO: Extracted packet for processing {"connection_id":158312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1f"} 
[2026-08-19 23:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758364480,"raw_latitude":112465856,"longitude_deg":75.836448,"latitude_deg":11.2465856,"altitude":19,"angle":165,"satellites":47,"speed":49,"hex_longitude":"2d33b940","hex_latitude":"06b417c0","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513325568001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386481996475400192,"note":"Value kept but may cause issues"} 
[2026-08-19 23:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724828764349054976,"note":"Value kept but may cause issues"} 
[2026-08-19 23:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787161433000,"timestamp_ms":1787161433000,"timestamp_seconds":1787161433,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1f53a8"} 
[2026-08-19 23:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:15: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-08-19 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 23:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513325568001,"66":26321,"211":206,"28":21760,"24":49,"16":386481996475400192,"45":3724828764349054976},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-08-19 23:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513325568001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:15:38] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-19 23:15:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386481996475400192,"km_value":386481996475400.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724828764349054976,"description":"Unknown IO ID 45"} 
[2026-08-19 23:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513325568001,"power":26321,"unknown_211":206,"unknown_28":21760,"ignition":49,"odometer":null,"unknown_45":3724828764349054976}} 
[2026-08-19 23:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":158312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:15:38] local.INFO: GPS data processed {"connection_id":158312,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:15:38] local.INFO: Acknowledgment sent {"connection_id":158312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:15:44] local.INFO: TCP Data received {"connection_id":158313,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:15:44] local.INFO: Processing buffer {"connection_id":158313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:15:44] local.INFO: Packet analysis {"connection_id":158313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:15:44] local.INFO: Extracted packet for processing {"connection_id":158313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:15:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513219584001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787161315000,"timestamp_ms":1787161315000,"timestamp_seconds":1787161315,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1d86b8"} 
[2026-08-19 23:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:15:44] 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-08-19 23:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 23:15:44] 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-08-19 23:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513219584001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513219584001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:15:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:15:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513219584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":158313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:15:44] local.INFO: GPS data processed {"connection_id":158313,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:15:44] local.INFO: Acknowledgment sent {"connection_id":158313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:16:03] local.INFO: TCP Data received {"connection_id":159176,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:16:03] local.INFO: Processing buffer {"connection_id":159176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:16:03] local.INFO: IMEI packet received {"connection_id":159176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":159176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:16:07] local.INFO: TCP Data received {"connection_id":159176,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:16:07] local.INFO: Processing buffer {"connection_id":159176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:16:07] local.INFO: IMEI packet received {"connection_id":159176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":159176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:16:08] local.INFO: TCP Data received {"connection_id":157960,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:16:08] local.INFO: Processing buffer {"connection_id":157960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:16:08] local.INFO: IMEI packet received {"connection_id":157960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":157960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:16:08] local.INFO: TCP Data received {"connection_id":159176,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1f6730012d33bc0006b3ffa0001400b32e..."} 
[2026-08-19 23:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1f6730012d33bc0006b3ffa0001400b32e..."} 
[2026-08-19 23:16:08] local.INFO: Processing buffer {"connection_id":159176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1f6730012d33bc0006b3ffa0001400b32e..."} 
[2026-08-19 23:16:08] local.INFO: Packet analysis {"connection_id":159176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1f"} 
[2026-08-19 23:16:08] local.INFO: Extracted packet for processing {"connection_id":159176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1f"} 
[2026-08-19 23:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758365184,"raw_latitude":112459680,"longitude_deg":75.8365184,"latitude_deg":11.245968,"altitude":20,"angle":179,"satellites":46,"speed":49,"hex_longitude":"2d33bc00","hex_latitude":"06b3ffa0","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513326848001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386482297123110912,"note":"Value kept but may cause issues"} 
[2026-08-19 23:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3727080564161232896,"note":"Value kept but may cause issues"} 
[2026-08-19 23:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787161438000,"timestamp_ms":1787161438000,"timestamp_seconds":1787161438,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1f6730"} 
[2026-08-19 23:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:16: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-08-19 23: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-19 23:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513326848001,"66":27234,"144":206,"28":21760,"24":49,"16":386482297123110912,"45":3727080564161232896},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,28,24,16,45]} 
[2026-08-19 23:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513326848001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:16:08] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-19 23:16:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386482297123110912,"km_value":386482297123110.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3727080564161232896,"description":"Unknown IO ID 45"} 
[2026-08-19 23:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513326848001,"power":27234,"unknown_144":206,"unknown_28":21760,"ignition":49,"odometer":null,"unknown_45":3727080564161232896}} 
[2026-08-19 23:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":159176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:16:08] local.INFO: GPS data processed {"connection_id":159176,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:16:08] local.INFO: Acknowledgment sent {"connection_id":159176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:16:12] local.INFO: TCP Data received {"connection_id":157960,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:16:12] local.INFO: Processing buffer {"connection_id":157960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:16:12] local.INFO: IMEI packet received {"connection_id":157960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":157960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:16:13] local.INFO: TCP Data received {"connection_id":157960,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:16:13] local.INFO: Processing buffer {"connection_id":157960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:16:13] local.INFO: Packet analysis {"connection_id":157960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:16:13] local.INFO: Extracted packet for processing {"connection_id":157960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:16:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513219584001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787161315000,"timestamp_ms":1787161315000,"timestamp_seconds":1787161315,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1d86b8"} 
[2026-08-19 23:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:16:13] 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-08-19 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 23:16:13] 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-08-19 23: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-08-19 23:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513219584001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513219584001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:16:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:16:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513219584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":157960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:16:13] local.INFO: GPS data processed {"connection_id":157960,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:16:13] local.INFO: Acknowledgment sent {"connection_id":157960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:16:40] local.INFO: TCP Data received {"connection_id":159176,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b20edd0012d34638006b2da78000d007a30..."} 
[2026-08-19 23:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b20edd0012d34638006b2da78000d007a30..."} 
[2026-08-19 23:16:40] local.INFO: Processing buffer {"connection_id":159176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b20edd0012d34638006b2da78000d007a30..."} 
[2026-08-19 23:16:40] local.INFO: Packet analysis {"connection_id":159176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b20"} 
[2026-08-19 23:16:40] local.INFO: Extracted packet for processing {"connection_id":159176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b20"} 
[2026-08-19 23:16:40] local.INFO: GPS Element Parsed {"raw_longitude":758408064,"raw_latitude":112384632,"longitude_deg":75.8408064,"latitude_deg":11.2384632,"altitude":13,"angle":122,"satellites":48,"speed":44,"hex_longitude":"2d346380","hex_latitude":"06b2da78","is_valid_coordinates":true} 
[2026-08-19 23:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513351424001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386486875558248448,"note":"Value kept but may cause issues"} 
[2026-08-19 23:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3766064848416231424,"note":"Value kept but may cause issues"} 
[2026-08-19 23:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787161538000,"timestamp_ms":1787161538000,"timestamp_seconds":1787161538,"priority":1,"record_length":96,"hex_timestamp":"000001a01b20edd0"} 
[2026-08-19 23:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 23:16:40] 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-08-19 23:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513351424001,"66":27376,"182":206,"28":21760,"24":44,"16":386486875558248448,"45":3766064848416231424},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-19 23:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513351424001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:16:40] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-19 23:16:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386486875558248448,"km_value":386486875558248.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3766064848416231424,"description":"Unknown IO ID 45"} 
[2026-08-19 23:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513351424001,"power":27376,"unknown_182":206,"unknown_28":21760,"ignition":44,"odometer":null,"unknown_45":3766064848416231424}} 
[2026-08-19 23:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":159176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:16:40] local.INFO: GPS data processed {"connection_id":159176,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:16:40] local.INFO: Acknowledgment sent {"connection_id":159176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:16:44] local.INFO: TCP Data received {"connection_id":157960,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:16:44] local.INFO: Processing buffer {"connection_id":157960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:16:44] local.INFO: Packet analysis {"connection_id":157960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:16:44] local.INFO: Extracted packet for processing {"connection_id":157960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:16:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513219584001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787161315000,"timestamp_ms":1787161315000,"timestamp_seconds":1787161315,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1d86b8"} 
[2026-08-19 23:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:16:44] 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-08-19 23:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-19 23:16:44] 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-08-19 23:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513219584001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513219584001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:16:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:16:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513219584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":157960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:16:45] local.INFO: GPS data processed {"connection_id":157960,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:16:45] local.INFO: Acknowledgment sent {"connection_id":157960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:16:58] local.INFO: TCP Data received {"connection_id":159177,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:16:58] local.INFO: Processing buffer {"connection_id":159177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:16:58] local.INFO: IMEI packet received {"connection_id":159177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":159177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:17:00] local.INFO: TCP Data received {"connection_id":159177,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:17:00] local.INFO: Processing buffer {"connection_id":159177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:17:00] local.INFO: IMEI packet received {"connection_id":159177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":159177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:17:04] local.INFO: TCP Data received {"connection_id":159177,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:17:04] local.INFO: Processing buffer {"connection_id":159177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:17:04] local.INFO: IMEI packet received {"connection_id":159177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":159177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:17:07] local.INFO: TCP Data received {"connection_id":159177,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b210d10012d3485c006b2c5a0000b007a2f..."} 
[2026-08-19 23:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b210d10012d3485c006b2c5a0000b007a2f..."} 
[2026-08-19 23:17:07] local.INFO: Processing buffer {"connection_id":159177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b210d10012d3485c006b2c5a0000b007a2f..."} 
[2026-08-19 23:17:07] local.INFO: Packet analysis {"connection_id":159177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b21"} 
[2026-08-19 23:17:07] local.INFO: Extracted packet for processing {"connection_id":159177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b21"} 
[2026-08-19 23:17:07] local.INFO: GPS Element Parsed {"raw_longitude":758416832,"raw_latitude":112379296,"longitude_deg":75.8416832,"latitude_deg":11.2379296,"altitude":11,"angle":122,"satellites":47,"speed":55,"hex_longitude":"2d3485c0","hex_latitude":"06b2c5a0","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513353728001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386487365184520192,"note":"Value kept but may cause issues"} 
[2026-08-19 23:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3775001678925428736,"note":"Value kept but may cause issues"} 
[2026-08-19 23:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787161546000,"timestamp_ms":1787161546000,"timestamp_seconds":1787161546,"priority":1,"record_length":96,"hex_timestamp":"000001a01b210d10"} 
[2026-08-19 23:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:17: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-08-19 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 23:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513353728001,"66":27332,"182":206,"28":21760,"24":55,"16":386487365184520192,"45":3775001678925428736},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-19 23:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513353728001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:17:07] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-19 23:17:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386487365184520192,"km_value":386487365184520.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3775001678925428736,"description":"Unknown IO ID 45"} 
[2026-08-19 23:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513353728001,"power":27332,"unknown_182":206,"unknown_28":21760,"ignition":55,"odometer":null,"unknown_45":3775001678925428736}} 
[2026-08-19 23:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":159177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:17:07] local.INFO: GPS data processed {"connection_id":159177,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:17:07] local.INFO: Acknowledgment sent {"connection_id":159177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:17:07] local.INFO: TCP Data received {"connection_id":159178,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:17:07] local.INFO: Processing buffer {"connection_id":159178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:17:07] local.INFO: IMEI packet received {"connection_id":159178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":159178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:17:08] local.INFO: TCP Data received {"connection_id":159177,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b212868012d34a34006b2b090000a008031..."} 
[2026-08-19 23:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b212868012d34a34006b2b090000a008031..."} 
[2026-08-19 23:17:08] local.INFO: Processing buffer {"connection_id":159177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b212868012d34a34006b2b090000a008031..."} 
[2026-08-19 23:17:08] local.INFO: Packet analysis {"connection_id":159177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b21"} 
[2026-08-19 23:17:08] local.INFO: Extracted packet for processing {"connection_id":159177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b21"} 
[2026-08-19 23:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758424384,"raw_latitude":112373904,"longitude_deg":75.8424384,"latitude_deg":11.2373904,"altitude":10,"angle":128,"satellites":49,"speed":46,"hex_longitude":"2d34a340","hex_latitude":"06b2b090","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513355776001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386487811861118976,"note":"Value kept but may cause issues"} 
[2026-08-19 23:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3784642196876402688,"note":"Value kept but may cause issues"} 
[2026-08-19 23:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787161553000,"timestamp_ms":1787161553000,"timestamp_seconds":1787161553,"priority":1,"record_length":96,"hex_timestamp":"000001a01b212868"} 
[2026-08-19 23:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:17: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-08-19 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 23:17:08] 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-08-19 23: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-08-19 23:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513355776001,"66":27365,"182":206,"28":21760,"24":46,"16":386487811861118976,"45":3784642196876402688},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-19 23:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513355776001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:17:08] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-19 23:17:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386487811861118976,"km_value":386487811861119.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3784642196876402688,"description":"Unknown IO ID 45"} 
[2026-08-19 23:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513355776001,"power":27365,"unknown_182":206,"unknown_28":21760,"ignition":46,"odometer":null,"unknown_45":3784642196876402688}} 
[2026-08-19 23:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":159177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:17:08] local.INFO: GPS data processed {"connection_id":159177,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:17:08] local.INFO: Acknowledgment sent {"connection_id":159177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:17:12] local.INFO: TCP Data received {"connection_id":159178,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:17:12] local.INFO: Processing buffer {"connection_id":159178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:17:12] local.INFO: IMEI packet received {"connection_id":159178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":159178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:17:13] local.INFO: TCP Data received {"connection_id":159178,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:17:13] local.INFO: Processing buffer {"connection_id":159178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b1d86b8012d196500071ff1280047014623..."} 
[2026-08-19 23:17:13] local.INFO: Packet analysis {"connection_id":159178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:17:13] local.INFO: Extracted packet for processing {"connection_id":159178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b1d"} 
[2026-08-19 23:17:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513219584001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787161315000,"timestamp_ms":1787161315000,"timestamp_seconds":1787161315,"priority":1,"record_length":96,"hex_timestamp":"000001a01b1d86b8"} 
[2026-08-19 23:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:17:13] 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-08-19 23: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":96,"data_length":795,"current_offset":136} 
[2026-08-19 23:17:13] 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-08-19 23: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-08-19 23:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513219584001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513219584001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:17:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:17:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513219584001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":159178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:17:13] local.INFO: GPS data processed {"connection_id":159178,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:17:13] local.INFO: Acknowledgment sent {"connection_id":159178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:17:40] local.INFO: TCP Data received {"connection_id":159177,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b214b90012d34c08006b29900000a008731..."} 
[2026-08-19 23:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b214b90012d34c08006b29900000a008731..."} 
[2026-08-19 23:17:40] local.INFO: Processing buffer {"connection_id":159177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b214b90012d34c08006b29900000a008731..."} 
[2026-08-19 23:17:40] local.INFO: Packet analysis {"connection_id":159177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b21"} 
[2026-08-19 23:17:40] local.INFO: Extracted packet for processing {"connection_id":159177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b21"} 
[2026-08-19 23:17:40] local.INFO: GPS Element Parsed {"raw_longitude":758431872,"raw_latitude":112367872,"longitude_deg":75.8431872,"latitude_deg":11.2367872,"altitude":10,"angle":135,"satellites":49,"speed":38,"hex_longitude":"2d34c080","hex_latitude":"06b29900","is_valid_coordinates":true} 
[2026-08-19 23:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513357568001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386488271422619648,"note":"Value kept but may cause issues"} 
[2026-08-19 23:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3792945708687986688,"note":"Value kept but may cause issues"} 
[2026-08-19 23:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787161562000,"timestamp_ms":1787161562000,"timestamp_seconds":1787161562,"priority":1,"record_length":96,"hex_timestamp":"000001a01b214b90"} 
[2026-08-19 23:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 23:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513357568001,"66":27397,"182":206,"28":21760,"24":38,"16":386488271422619648,"45":3792945708687986688},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-08-19 23:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513357568001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:17:40] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-19 23:17:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386488271422619648,"km_value":386488271422619.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3792945708687986688,"description":"Unknown IO ID 45"} 
[2026-08-19 23:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513357568001,"power":27397,"unknown_182":206,"unknown_28":21760,"ignition":38,"odometer":null,"unknown_45":3792945708687986688}} 
[2026-08-19 23:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":159177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:17:40] local.INFO: GPS data processed {"connection_id":159177,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:17:40] local.INFO: Acknowledgment sent {"connection_id":159177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:17:44] local.INFO: TCP Data received {"connection_id":159178,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b221e80012d196500071ff1280047014621..."} 
[2026-08-19 23:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b221e80012d196500071ff1280047014621..."} 
[2026-08-19 23:17:44] local.INFO: Processing buffer {"connection_id":159178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b221e80012d196500071ff1280047014621..."} 
[2026-08-19 23:17:44] local.INFO: Packet analysis {"connection_id":159178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:17:44] local.INFO: Extracted packet for processing {"connection_id":159178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:17:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513296640001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787161616000,"timestamp_ms":1787161616000,"timestamp_seconds":1787161616,"priority":1,"record_length":96,"hex_timestamp":"000001a01b221e80"} 
[2026-08-19 23:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513296640001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513296640001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:17:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:17:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513296640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":159178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:17:44] local.INFO: GPS data processed {"connection_id":159178,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:17:44] local.INFO: Acknowledgment sent {"connection_id":159178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:18:07] local.INFO: TCP Data received {"connection_id":158314,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:18:07] local.INFO: Processing buffer {"connection_id":158314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:18:07] local.INFO: IMEI packet received {"connection_id":158314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":158314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:18:11] local.INFO: TCP Data received {"connection_id":160500,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:18:11] local.INFO: Processing buffer {"connection_id":160500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:18:11] local.INFO: IMEI packet received {"connection_id":160500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":160500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:18:12] local.INFO: TCP Data received {"connection_id":158314,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:18:12] local.INFO: Processing buffer {"connection_id":158314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:18:12] local.INFO: IMEI packet received {"connection_id":158314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":158314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:18:13] local.INFO: TCP Data received {"connection_id":158314,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b221e80012d196500071ff1280047014621..."} 
[2026-08-19 23:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b221e80012d196500071ff1280047014621..."} 
[2026-08-19 23:18:13] local.INFO: Processing buffer {"connection_id":158314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b221e80012d196500071ff1280047014621..."} 
[2026-08-19 23:18:13] local.INFO: Packet analysis {"connection_id":158314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:18:13] local.INFO: Extracted packet for processing {"connection_id":158314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:18:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513296640001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787161616000,"timestamp_ms":1787161616000,"timestamp_seconds":1787161616,"priority":1,"record_length":96,"hex_timestamp":"000001a01b221e80"} 
[2026-08-19 23:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513296640001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513296640001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:18:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:18:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513296640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":158314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:18:13] local.INFO: GPS data processed {"connection_id":158314,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:18:13] local.INFO: Acknowledgment sent {"connection_id":158314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:18:13] local.INFO: TCP Data received {"connection_id":160500,"ip":"117.224.24.81","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 23:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160500,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 23:18:13] local.INFO: Processing buffer {"connection_id":160500,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 23:18:13] local.INFO: IMEI packet received {"connection_id":160500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":160500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:18:15] local.INFO: TCP Data received {"connection_id":160500,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b226ca0012d35e10006b1e1100011007e2f..."} 
[2026-08-19 23:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b226ca0012d35e10006b1e1100011007e2f..."} 
[2026-08-19 23:18:15] local.INFO: Processing buffer {"connection_id":160500,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 23:18:15] local.INFO: IMEI packet received {"connection_id":160500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":160500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:18:15] local.INFO: TCP Data received {"connection_id":160500,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b2287f8012d35fc0006b1c9500013008b31..."} 
[2026-08-19 23:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b2287f8012d35fc0006b1c9500013008b31..."} 
[2026-08-19 23:18:15] local.INFO: Processing buffer {"connection_id":160500,"buffer_length":1607,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a01b..."} 
[2026-08-19 23:18:15] local.INFO: IMEI packet received {"connection_id":160500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":160500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:18:16] local.INFO: TCP Data received {"connection_id":160500,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b2287f8012d35fc0006b1c9500013008b31..."} 
[2026-08-19 23:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b2287f8012d35fc0006b1c9500013008b31..."} 
[2026-08-19 23:18:16] local.INFO: Processing buffer {"connection_id":160500,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a01b226ca0012d35e10006b1e1100011007e2f..."} 
[2026-08-19 23:18:16] local.INFO: Packet analysis {"connection_id":160500,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:18:16] local.INFO: Extracted packet for processing {"connection_id":160500,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758505728,"raw_latitude":112320784,"longitude_deg":75.8505728,"latitude_deg":11.2320784,"altitude":17,"angle":126,"satellites":47,"speed":54,"hex_longitude":"2d35e100","hex_latitude":"06b1e110","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513377024001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386492463310700544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3873377183270846464,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787161636000,"timestamp_ms":1787161636000,"timestamp_seconds":1787161636,"priority":1,"record_length":96,"hex_timestamp":"000001a01b226ca0"} 
[2026-08-19 23:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:18: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-08-19 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 23:18:16] 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-08-19 23: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-08-19 23:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513377024001,"66":27213,"181":206,"28":21760,"24":54,"16":386492463310700544,"45":3873377183270846464},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,28,24,16,45]} 
[2026-08-19 23:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513377024001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:18:16] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-19 23:18:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386492463310700544,"km_value":386492463310700.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3873377183270846464,"description":"Unknown IO ID 45"} 
[2026-08-19 23:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513377024001,"power":27213,"unknown_181":206,"unknown_28":21760,"ignition":54,"odometer":null,"unknown_45":3873377183270846464}} 
[2026-08-19 23:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":160500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:18:16] local.INFO: GPS data processed {"connection_id":160500,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:18:16] local.INFO: Acknowledgment sent {"connection_id":160500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:18:16] local.INFO: Packet analysis {"connection_id":160500,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:18:16] local.INFO: Extracted packet for processing {"connection_id":160500,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758512640,"raw_latitude":112314704,"longitude_deg":75.851264,"latitude_deg":11.2314704,"altitude":19,"angle":139,"satellites":49,"speed":50,"hex_longitude":"2d35fc00","hex_latitude":"06b1c950","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513378816001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386492909987299328,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3882384382524198912,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787161643000,"timestamp_ms":1787161643000,"timestamp_seconds":1787161643,"priority":1,"record_length":96,"hex_timestamp":"000001a01b2287f8"} 
[2026-08-19 23:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:18: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-08-19 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 23:18:16] 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-08-19 23: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-08-19 23:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513378816001,"66":27310,"181":206,"28":21760,"24":50,"16":386492909987299328,"45":3882384382524198912},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,28,24,16,45]} 
[2026-08-19 23:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513378816001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:18:16] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-19 23:18:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386492909987299328,"km_value":386492909987299.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3882384382524198912,"description":"Unknown IO ID 45"} 
[2026-08-19 23:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513378816001,"power":27310,"unknown_181":206,"unknown_28":21760,"ignition":50,"odometer":null,"unknown_45":3882384382524198912}} 
[2026-08-19 23:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":160500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:18:16] local.INFO: GPS data processed {"connection_id":160500,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:18:16] local.INFO: Acknowledgment sent {"connection_id":160500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:18:16] local.INFO: Packet analysis {"connection_id":160500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:18:16] local.INFO: Extracted packet for processing {"connection_id":160500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758512640,"raw_latitude":112314704,"longitude_deg":75.851264,"latitude_deg":11.2314704,"altitude":19,"angle":139,"satellites":49,"speed":50,"hex_longitude":"2d35fc00","hex_latitude":"06b1c950","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513380608001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386492909987299328,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3889984206893830144,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787161643000,"timestamp_ms":1787161643000,"timestamp_seconds":1787161643,"priority":1,"record_length":96,"hex_timestamp":"000001a01b2287f8"} 
[2026-08-19 23:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:18: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-08-19 23: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 23:18:16] 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-08-19 23: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-08-19 23:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513380608001,"66":27310,"181":206,"28":21760,"24":50,"16":386492909987299328,"45":3889984206893830144},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,28,24,16,45]} 
[2026-08-19 23:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513380608001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:18:16] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-19 23:18:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386492909987299328,"km_value":386492909987299.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3889984206893830144,"description":"Unknown IO ID 45"} 
[2026-08-19 23:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513380608001,"power":27310,"unknown_181":206,"unknown_28":21760,"ignition":50,"odometer":null,"unknown_45":3889984206893830144}} 
[2026-08-19 23:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":160500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:18:16] local.INFO: GPS data processed {"connection_id":160500,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:18:16] local.INFO: Acknowledgment sent {"connection_id":160500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:18:17] local.INFO: TCP Data received {"connection_id":160500,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b229f68012d360d0006b1b0f80014009731..."} 
[2026-08-19 23:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b229f68012d360d0006b1b0f80014009731..."} 
[2026-08-19 23:18:17] local.INFO: Processing buffer {"connection_id":160500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b229f68012d360d0006b1b0f80014009731..."} 
[2026-08-19 23:18:17] local.INFO: Packet analysis {"connection_id":160500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:18:17] local.INFO: Extracted packet for processing {"connection_id":160500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758516992,"raw_latitude":112308472,"longitude_deg":75.8516992,"latitude_deg":11.2308472,"altitude":20,"angle":151,"satellites":49,"speed":50,"hex_longitude":"2d360d00","hex_latitude":"06b1b0f8","is_valid_coordinates":true} 
[2026-08-19 23:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513380608001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386493275059519488,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3889984206893830144,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787161649000,"timestamp_ms":1787161649000,"timestamp_seconds":1787161649,"priority":1,"record_length":96,"hex_timestamp":"000001a01b229f68"} 
[2026-08-19 23:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:18: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-08-19 23:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 23:18:17] 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-08-19 23:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513380608001,"66":27310,"181":206,"28":21760,"24":50,"16":386493275059519488,"45":3889984206893830144},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,28,24,16,45]} 
[2026-08-19 23:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513380608001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:18:17] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-19 23:18:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386493275059519488,"km_value":386493275059519.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3889984206893830144,"description":"Unknown IO ID 45"} 
[2026-08-19 23:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513380608001,"power":27310,"unknown_181":206,"unknown_28":21760,"ignition":50,"odometer":null,"unknown_45":3889984206893830144}} 
[2026-08-19 23:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":160500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:18:17] local.INFO: GPS data processed {"connection_id":160500,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:18:17] local.INFO: Acknowledgment sent {"connection_id":160500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:18:18] local.INFO: TCP Data received {"connection_id":158314,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b221e80012d196500071ff1280047014621..."} 
[2026-08-19 23:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b221e80012d196500071ff1280047014621..."} 
[2026-08-19 23:18:18] local.INFO: Processing buffer {"connection_id":158314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b221e80012d196500071ff1280047014621..."} 
[2026-08-19 23:18:18] local.INFO: Packet analysis {"connection_id":158314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:18:18] local.INFO: Extracted packet for processing {"connection_id":158314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:18:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513296640001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787161616000,"timestamp_ms":1787161616000,"timestamp_seconds":1787161616,"priority":1,"record_length":96,"hex_timestamp":"000001a01b221e80"} 
[2026-08-19 23:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513296640001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513296640001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:18:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:18:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513296640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":158314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:18:18] local.INFO: GPS data processed {"connection_id":158314,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:18:18] local.INFO: Acknowledgment sent {"connection_id":158314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:18:18] local.INFO: TCP Data received {"connection_id":160500,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b22bac0012d361b4006b190a00013009e31..."} 
[2026-08-19 23:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b22bac0012d361b4006b190a00013009e31..."} 
[2026-08-19 23:18:18] local.INFO: Processing buffer {"connection_id":160500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b22bac0012d361b4006b190a00013009e31..."} 
[2026-08-19 23:18:18] local.INFO: Packet analysis {"connection_id":160500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:18:18] local.INFO: Extracted packet for processing {"connection_id":160500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:18:18] local.INFO: GPS Element Parsed {"raw_longitude":758520640,"raw_latitude":112300192,"longitude_deg":75.852064,"latitude_deg":11.2300192,"altitude":19,"angle":158,"satellites":49,"speed":52,"hex_longitude":"2d361b40","hex_latitude":"06b190a0","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513382144001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386493713146183680,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3894769281496315904,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787161656000,"timestamp_ms":1787161656000,"timestamp_seconds":1787161656,"priority":1,"record_length":96,"hex_timestamp":"000001a01b22bac0"} 
[2026-08-19 23:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:18: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-08-19 23: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-19 23:18:18] 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-08-19 23: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-08-19 23:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513382144001,"66":27321,"181":206,"28":21760,"24":52,"16":386493713146183680,"45":3894769281496315904},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,28,24,16,45]} 
[2026-08-19 23:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513382144001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:18:18] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-19 23:18:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386493713146183680,"km_value":386493713146183.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3894769281496315904,"description":"Unknown IO ID 45"} 
[2026-08-19 23:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513382144001,"power":27321,"unknown_181":206,"unknown_28":21760,"ignition":52,"odometer":null,"unknown_45":3894769281496315904}} 
[2026-08-19 23:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":160500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:18:18] local.INFO: GPS data processed {"connection_id":160500,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:18:18] local.INFO: Acknowledgment sent {"connection_id":160500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:18:49] local.INFO: TCP Data received {"connection_id":158314,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a01b221e80012d196500071ff1280047014621..."} 
[2026-08-19 23:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b221e80012d196500071ff1280047014621..."} 
[2026-08-19 23:18:49] local.INFO: Processing buffer {"connection_id":158314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b221e80012d196500071ff1280047014621..."} 
[2026-08-19 23:18:49] local.INFO: Packet analysis {"connection_id":158314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:18:49] local.INFO: Extracted packet for processing {"connection_id":158314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513296640001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787161616000,"timestamp_ms":1787161616000,"timestamp_seconds":1787161616,"priority":1,"record_length":96,"hex_timestamp":"000001a01b221e80"} 
[2026-08-19 23:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":158314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":158314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":158314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513296640001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513296640001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:18:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:18:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513296640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":158314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:18:49] local.INFO: GPS data processed {"connection_id":158314,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:18:49] local.INFO: Acknowledgment sent {"connection_id":158314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:19:07] local.INFO: TCP Data received {"connection_id":157961,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:19:07] local.INFO: Processing buffer {"connection_id":157961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:19:07] local.INFO: IMEI packet received {"connection_id":157961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-19 23:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":157961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:19:12] local.INFO: TCP Data received {"connection_id":157961,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:19:12] local.INFO: Processing buffer {"connection_id":157961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-19 23:19:12] local.INFO: IMEI packet received {"connection_id":157961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-19 23:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":157961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:19:13] local.INFO: TCP Data received {"connection_id":157961,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a01b221e80012d196500071ff1280047014621..."} 
[2026-08-19 23:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b221e80012d196500071ff1280047014621..."} 
[2026-08-19 23:19:13] local.INFO: Processing buffer {"connection_id":157961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b221e80012d196500071ff1280047014621..."} 
[2026-08-19 23:19:13] local.INFO: Packet analysis {"connection_id":157961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:19:13] local.INFO: Extracted packet for processing {"connection_id":157961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:19:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":71,"angle":326,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-19 23:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513296640001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":13996929050476544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787161616000,"timestamp_ms":1787161616000,"timestamp_seconds":1787161616,"priority":1,"record_length":96,"hex_timestamp":"000001a01b221e80"} 
[2026-08-19 23:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-19 23:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":157961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":157961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":157961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-19 23:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-19 23:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-19 23:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513296640001,"66":2166,"102":206,"83":41984,"24":0,"16":13996929050476544,"45":1829868854196643840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-19 23:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-19 23:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-19 23:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513296640001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:19:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-19 23:19:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-19 23:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":13996929050476544,"km_value":13996929050476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-19 23:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513296640001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-19 23:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":157961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:19:13] local.INFO: GPS data processed {"connection_id":157961,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:19:13] local.INFO: Acknowledgment sent {"connection_id":157961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:19:28] local.INFO: TCP Data received {"connection_id":158315,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:19:28] local.INFO: Processing buffer {"connection_id":158315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:19:28] local.INFO: IMEI packet received {"connection_id":158315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":158315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:19:29] local.INFO: TCP Data received {"connection_id":158315,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:19:29] local.INFO: Processing buffer {"connection_id":158315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:19:29] local.INFO: IMEI packet received {"connection_id":158315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":158315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:19:34] local.INFO: TCP Data received {"connection_id":158315,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:19:34] local.INFO: Processing buffer {"connection_id":158315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:19:34] local.INFO: IMEI packet received {"connection_id":158315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":158315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:19:35] local.INFO: TCP Data received {"connection_id":158315,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b22d618012d36290006b16e000010009e31..."} 
[2026-08-19 23:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b22d618012d36290006b16e000010009e31..."} 
[2026-08-19 23:19:35] local.INFO: Processing buffer {"connection_id":158315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b22d618012d36290006b16e000010009e31..."} 
[2026-08-19 23:19:35] local.INFO: Packet analysis {"connection_id":158315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:19:35] local.INFO: Extracted packet for processing {"connection_id":158315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b22"} 
[2026-08-19 23:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758524160,"raw_latitude":112291328,"longitude_deg":75.852416,"latitude_deg":11.2291328,"altitude":16,"angle":158,"satellites":49,"speed":55,"hex_longitude":"2d362900","hex_latitude":"06b16e00","is_valid_coordinates":true} 
[2026-08-19 23:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513383936001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386494172707684352,"note":"Value kept but may cause issues"} 
[2026-08-19 23:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3898780299912323072,"note":"Value kept but may cause issues"} 
[2026-08-19 23:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787161663000,"timestamp_ms":1787161663000,"timestamp_seconds":1787161663,"priority":1,"record_length":96,"hex_timestamp":"000001a01b22d618"} 
[2026-08-19 23:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 23:19:35] 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-08-19 23:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513383936001,"66":27463,"180":206,"28":21760,"24":55,"16":386494172707684352,"45":3898780299912323072},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,28,24,16,45]} 
[2026-08-19 23:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513383936001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:19:35] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-19 23:19:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386494172707684352,"km_value":386494172707684.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3898780299912323072,"description":"Unknown IO ID 45"} 
[2026-08-19 23:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513383936001,"power":27463,"unknown_180":206,"unknown_28":21760,"ignition":55,"odometer":null,"unknown_45":3898780299912323072}} 
[2026-08-19 23:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":158315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:19:35] local.INFO: GPS data processed {"connection_id":158315,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:19:35] local.INFO: Acknowledgment sent {"connection_id":158315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:19:58] local.INFO: TCP Data received {"connection_id":159179,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:19:58] local.INFO: Processing buffer {"connection_id":159179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:19:58] local.INFO: IMEI packet received {"connection_id":159179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":159179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:20:03] local.INFO: TCP Data received {"connection_id":159179,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:20:03] local.INFO: Processing buffer {"connection_id":159179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:20:03] local.INFO: IMEI packet received {"connection_id":159179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":159179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:20:03] local.INFO: TCP Data received {"connection_id":159179,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:20:03] local.INFO: Processing buffer {"connection_id":159179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:20:03] local.INFO: IMEI packet received {"connection_id":159179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":159179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:20:05] local.INFO: TCP Data received {"connection_id":159179,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b23fb10012d36ce8006aff168000e009b2e..."} 
[2026-08-19 23:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b23fb10012d36ce8006aff168000e009b2e..."} 
[2026-08-19 23:20:05] local.INFO: Processing buffer {"connection_id":159179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b23fb10012d36ce8006aff168000e009b2e..."} 
[2026-08-19 23:20:05] local.INFO: Packet analysis {"connection_id":159179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b23"} 
[2026-08-19 23:20:05] local.INFO: Extracted packet for processing {"connection_id":159179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b23"} 
[2026-08-19 23:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758566528,"raw_latitude":112193896,"longitude_deg":75.8566528,"latitude_deg":11.2193896,"altitude":14,"angle":155,"satellites":46,"speed":56,"hex_longitude":"2d36ce80","hex_latitude":"06aff168","is_valid_coordinates":true} 
[2026-08-19 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-08-19 23:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513403136001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386499309488570368,"note":"Value kept but may cause issues"} 
[2026-08-19 23:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3944660721091233792,"note":"Value kept but may cause issues"} 
[2026-08-19 23:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787161738000,"timestamp_ms":1787161738000,"timestamp_seconds":1787161738,"priority":1,"record_length":96,"hex_timestamp":"000001a01b23fb10"} 
[2026-08-19 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-08-19 23:20: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-08-19 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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-19 23:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 23:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513403136001,"66":27321,"191":206,"19":48128,"24":56,"16":386499309488570368,"45":3944660721091233792},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,19,24,16,45]} 
[2026-08-19 23:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513403136001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:20:05] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 23:20:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-19 23:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386499309488570368,"km_value":386499309488570.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3944660721091233792,"description":"Unknown IO ID 45"} 
[2026-08-19 23:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513403136001,"power":27321,"unknown_191":206,"unknown_19":48128,"ignition":56,"odometer":null,"unknown_45":3944660721091233792}} 
[2026-08-19 23:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":159179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:20:05] local.INFO: GPS data processed {"connection_id":159179,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:20:05] local.INFO: Acknowledgment sent {"connection_id":159179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:20:09] local.INFO: TCP Data received {"connection_id":159179,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b241668012d36e00006afcd980011009b2d..."} 
[2026-08-19 23:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b241668012d36e00006afcd980011009b2d..."} 
[2026-08-19 23:20:09] local.INFO: Processing buffer {"connection_id":159179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b241668012d36e00006afcd980011009b2d..."} 
[2026-08-19 23:20:09] local.INFO: Packet analysis {"connection_id":159179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b24"} 
[2026-08-19 23:20:09] local.INFO: Extracted packet for processing {"connection_id":159179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b24"} 
[2026-08-19 23:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758571008,"raw_latitude":112184728,"longitude_deg":75.8571008,"latitude_deg":11.2184728,"altitude":17,"angle":155,"satellites":45,"speed":58,"hex_longitude":"2d36e000","hex_latitude":"06afcd98","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513404928001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386499803409809408,"note":"Value kept but may cause issues"} 
[2026-08-19 23:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3949234689460496384,"note":"Value kept but may cause issues"} 
[2026-08-19 23:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787161745000,"timestamp_ms":1787161745000,"timestamp_seconds":1787161745,"priority":1,"record_length":96,"hex_timestamp":"000001a01b241668"} 
[2026-08-19 23:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 23:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513404928001,"66":27397,"191":206,"19":48128,"24":58,"16":386499803409809408,"45":3949234689460496384},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,19,24,16,45]} 
[2026-08-19 23:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513404928001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:20:09] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 23:20:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-19 23:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386499803409809408,"km_value":386499803409809.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3949234689460496384,"description":"Unknown IO ID 45"} 
[2026-08-19 23:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513404928001,"power":27397,"unknown_191":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":3949234689460496384}} 
[2026-08-19 23:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":159179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:20:09] local.INFO: GPS data processed {"connection_id":159179,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:20:09] local.INFO: Acknowledgment sent {"connection_id":159179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:20:40] local.INFO: TCP Data received {"connection_id":159179,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b242dd8012d36ed4006afad680012009d30..."} 
[2026-08-19 23:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b242dd8012d36ed4006afad680012009d30..."} 
[2026-08-19 23:20:40] local.INFO: Processing buffer {"connection_id":159179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b242dd8012d36ed4006afad680012009d30..."} 
[2026-08-19 23:20:40] local.INFO: Packet analysis {"connection_id":159179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b24"} 
[2026-08-19 23:20:40] local.INFO: Extracted packet for processing {"connection_id":159179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b24"} 
[2026-08-19 23:20:40] local.INFO: GPS Element Parsed {"raw_longitude":758574400,"raw_latitude":112176488,"longitude_deg":75.85744,"latitude_deg":11.2176488,"altitude":18,"angle":157,"satellites":48,"speed":59,"hex_longitude":"2d36ed40","hex_latitude":"06afad68","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513406720001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386500232906539008,"note":"Value kept but may cause issues"} 
[2026-08-19 23:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3954160501550585856,"note":"Value kept but may cause issues"} 
[2026-08-19 23:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787161751000,"timestamp_ms":1787161751000,"timestamp_seconds":1787161751,"priority":1,"record_length":96,"hex_timestamp":"000001a01b242dd8"} 
[2026-08-19 23:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 23:20:40] 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-08-19 23: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-08-19 23:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513406720001,"66":27267,"191":206,"19":48128,"24":59,"16":386500232906539008,"45":3954160501550585856},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,19,24,16,45]} 
[2026-08-19 23:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513406720001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:20:40] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 23:20:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-19 23:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386500232906539008,"km_value":386500232906539.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3954160501550585856,"description":"Unknown IO ID 45"} 
[2026-08-19 23:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513406720001,"power":27267,"unknown_191":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":3954160501550585856}} 
[2026-08-19 23:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":159179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:20:40] local.INFO: GPS data processed {"connection_id":159179,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:20:40] local.INFO: Acknowledgment sent {"connection_id":159179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:21:13] local.INFO: TCP Data received {"connection_id":157962,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:21:13] local.INFO: Processing buffer {"connection_id":157962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:21:13] local.INFO: IMEI packet received {"connection_id":157962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":157962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:21:43] local.INFO: TCP Data received {"connection_id":157962,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:21:43] local.INFO: Processing buffer {"connection_id":157962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:21:43] local.INFO: IMEI packet received {"connection_id":157962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":157962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:21:44] local.INFO: TCP Data received {"connection_id":157962,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b244548012d36fa8006af8d380012009e2e..."} 
[2026-08-19 23:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b244548012d36fa8006af8d380012009e2e..."} 
[2026-08-19 23:21:44] local.INFO: Processing buffer {"connection_id":157962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b244548012d36fa8006af8d380012009e2e..."} 
[2026-08-19 23:21:44] local.INFO: Packet analysis {"connection_id":157962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b24"} 
[2026-08-19 23:21:44] local.INFO: Extracted packet for processing {"connection_id":157962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b24"} 
[2026-08-19 23:21:44] local.INFO: GPS Element Parsed {"raw_longitude":758577792,"raw_latitude":112168248,"longitude_deg":75.8577792,"latitude_deg":11.2168248,"altitude":18,"angle":158,"satellites":46,"speed":59,"hex_longitude":"2d36fa80","hex_latitude":"06af8d38","is_valid_coordinates":true} 
[2026-08-19 23:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513408256001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386500666698235904,"note":"Value kept but may cause issues"} 
[2026-08-19 23:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3957890044989892608,"note":"Value kept but may cause issues"} 
[2026-08-19 23:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787161757000,"timestamp_ms":1787161757000,"timestamp_seconds":1787161757,"priority":1,"record_length":96,"hex_timestamp":"000001a01b244548"} 
[2026-08-19 23:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:21: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-08-19 23:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 23:21:44] 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-08-19 23:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":157962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":157962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":157962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513408256001,"66":27310,"191":206,"19":48128,"24":59,"16":386500666698235904,"45":3957890044989892608},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,19,24,16,45]} 
[2026-08-19 23:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513408256001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:21:44] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-19 23:21:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-19 23:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386500666698235904,"km_value":386500666698235.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3957890044989892608,"description":"Unknown IO ID 45"} 
[2026-08-19 23:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513408256001,"power":27310,"unknown_191":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":3957890044989892608}} 
[2026-08-19 23:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":157962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:21:44] local.INFO: GPS data processed {"connection_id":157962,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:21:44] local.INFO: Acknowledgment sent {"connection_id":157962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:21:58] local.INFO: TCP Data received {"connection_id":159180,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:21:58] local.INFO: Processing buffer {"connection_id":159180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:21:58] local.INFO: IMEI packet received {"connection_id":159180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":159180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:22:02] local.INFO: TCP Data received {"connection_id":159180,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:22:02] local.INFO: Processing buffer {"connection_id":159180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:22:02] local.INFO: IMEI packet received {"connection_id":159180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":159180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:22:03] local.INFO: TCP Data received {"connection_id":159180,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b25a4d8012d37d98006ae0cc8000e009e30..."} 
[2026-08-19 23:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b25a4d8012d37d98006ae0cc8000e009e30..."} 
[2026-08-19 23:22:03] local.INFO: Processing buffer {"connection_id":159180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b25a4d8012d37d98006ae0cc8000e009e30..."} 
[2026-08-19 23:22:03] local.INFO: Packet analysis {"connection_id":159180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b25"} 
[2026-08-19 23:22:03] local.INFO: Extracted packet for processing {"connection_id":159180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b25"} 
[2026-08-19 23:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758634880,"raw_latitude":112069832,"longitude_deg":75.863488,"latitude_deg":11.2069832,"altitude":14,"angle":158,"satellites":48,"speed":28,"hex_longitude":"2d37d980","hex_latitude":"06ae0cc8","is_valid_coordinates":true} 
[2026-08-19 23:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513430784001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386506164256374784,"note":"Value kept but may cause issues"} 
[2026-08-19 23:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4020025646073176064,"note":"Value kept but may cause issues"} 
[2026-08-19 23:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787161847000,"timestamp_ms":1787161847000,"timestamp_seconds":1787161847,"priority":1,"record_length":96,"hex_timestamp":"000001a01b25a4d8"} 
[2026-08-19 23:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-19 23:22:03] 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-08-19 23:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513430784001,"66":27397,"54":206,"19":48128,"24":28,"16":386506164256374784,"45":4020025646073176064},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,19,24,16,45]} 
[2026-08-19 23:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513430784001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:22:03] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-19 23:22:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-19 23:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386506164256374784,"km_value":386506164256374.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4020025646073176064,"description":"Unknown IO ID 45"} 
[2026-08-19 23:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513430784001,"power":27397,"unknown_54":206,"unknown_19":48128,"ignition":28,"odometer":null,"unknown_45":4020025646073176064}} 
[2026-08-19 23:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":159180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:22:04] local.INFO: GPS data processed {"connection_id":159180,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:22:04] local.INFO: Acknowledgment sent {"connection_id":159180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:22:35] local.INFO: TCP Data received {"connection_id":159180,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b25b860012d37e04006ae0058000e009230..."} 
[2026-08-19 23:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b25b860012d37e04006ae0058000e009230..."} 
[2026-08-19 23:22:35] local.INFO: Processing buffer {"connection_id":159180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b25b860012d37e04006ae0058000e009230..."} 
[2026-08-19 23:22:35] local.INFO: Packet analysis {"connection_id":159180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b25"} 
[2026-08-19 23:22:35] local.INFO: Extracted packet for processing {"connection_id":159180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b25"} 
[2026-08-19 23:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758636608,"raw_latitude":112066648,"longitude_deg":75.8636608,"latitude_deg":11.2066648,"altitude":14,"angle":146,"satellites":48,"speed":29,"hex_longitude":"2d37e040","hex_latitude":"06ae0058","is_valid_coordinates":true} 
[2026-08-19 23:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513432832001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386506340350033920,"note":"Value kept but may cause issues"} 
[2026-08-19 23:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4024388508210481152,"note":"Value kept but may cause issues"} 
[2026-08-19 23:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787161852000,"timestamp_ms":1787161852000,"timestamp_seconds":1787161852,"priority":1,"record_length":96,"hex_timestamp":"000001a01b25b860"} 
[2026-08-19 23:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:22: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-08-19 23:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 23:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513432832001,"66":27397,"54":206,"19":48128,"24":29,"16":386506340350033920,"45":4024388508210481152},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,19,24,16,45]} 
[2026-08-19 23:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513432832001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:22:35] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-19 23:22:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-08-19 23:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386506340350033920,"km_value":386506340350033.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4024388508210481152,"description":"Unknown IO ID 45"} 
[2026-08-19 23:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513432832001,"power":27397,"unknown_54":206,"unknown_19":48128,"ignition":29,"odometer":null,"unknown_45":4024388508210481152}} 
[2026-08-19 23:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":159180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:22:35] local.INFO: GPS data processed {"connection_id":159180,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:22:35] local.INFO: Acknowledgment sent {"connection_id":159180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:22:58] local.INFO: TCP Data received {"connection_id":160501,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:22:58] local.INFO: Processing buffer {"connection_id":160501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:22:58] local.INFO: IMEI packet received {"connection_id":160501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":160501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:22:58] local.INFO: TCP Data received {"connection_id":160501,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:22:58] local.INFO: Processing buffer {"connection_id":160501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:22:58] local.INFO: IMEI packet received {"connection_id":160501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":160501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:23:03] local.INFO: TCP Data received {"connection_id":160501,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:23:03] local.INFO: Processing buffer {"connection_id":160501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:23:03] local.INFO: IMEI packet received {"connection_id":160501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":160501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:23:05] local.INFO: TCP Data received {"connection_id":160501,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b25e358012d37f38006ade290000e009330..."} 
[2026-08-19 23:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b25e358012d37f38006ade290000e009330..."} 
[2026-08-19 23:23:05] local.INFO: Processing buffer {"connection_id":160501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b25e358012d37f38006ade290000e009330..."} 
[2026-08-19 23:23:05] local.INFO: Packet analysis {"connection_id":160501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b25"} 
[2026-08-19 23:23:05] local.INFO: Extracted packet for processing {"connection_id":160501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b25"} 
[2026-08-19 23:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758641536,"raw_latitude":112059024,"longitude_deg":75.8641536,"latitude_deg":11.2059024,"altitude":14,"angle":147,"satellites":48,"speed":34,"hex_longitude":"2d37f380","hex_latitude":"06ade290","is_valid_coordinates":true} 
[2026-08-19 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-08-19 23:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513434112001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386506778436698112,"note":"Value kept but may cause issues"} 
[2026-08-19 23:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4026288464302462976,"note":"Value kept but may cause issues"} 
[2026-08-19 23:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787161863000,"timestamp_ms":1787161863000,"timestamp_seconds":1787161863,"priority":1,"record_length":96,"hex_timestamp":"000001a01b25e358"} 
[2026-08-19 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-08-19 23:23: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-08-19 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-19 23:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 23:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513434112001,"66":27365,"194":206,"28":21760,"24":34,"16":386506778436698112,"45":4026288464302462976},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,28,24,16,45]} 
[2026-08-19 23:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513434112001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:23:05] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-19 23:23:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386506778436698112,"km_value":386506778436698.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4026288464302462976,"description":"Unknown IO ID 45"} 
[2026-08-19 23:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513434112001,"power":27365,"unknown_194":206,"unknown_28":21760,"ignition":34,"odometer":null,"unknown_45":4026288464302462976}} 
[2026-08-19 23:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":160501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:23:05] local.INFO: GPS data processed {"connection_id":160501,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:23:05] local.INFO: Acknowledgment sent {"connection_id":160501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:23:37] local.INFO: TCP Data received {"connection_id":160501,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b276610012d388c0006ac68b0000b00a531..."} 
[2026-08-19 23:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b276610012d388c0006ac68b0000b00a531..."} 
[2026-08-19 23:23:37] local.INFO: Processing buffer {"connection_id":160501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b276610012d388c0006ac68b0000b00a531..."} 
[2026-08-19 23:23:37] local.INFO: Packet analysis {"connection_id":160501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b27"} 
[2026-08-19 23:23:37] local.INFO: Extracted packet for processing {"connection_id":160501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b27"} 
[2026-08-19 23:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758680576,"raw_latitude":111962288,"longitude_deg":75.8680576,"latitude_deg":11.1962288,"altitude":11,"angle":165,"satellites":49,"speed":58,"hex_longitude":"2d388c00","hex_latitude":"06ac68b0","is_valid_coordinates":true} 
[2026-08-19 23:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513460480001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386511876562878464,"note":"Value kept but may cause issues"} 
[2026-08-19 23:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4071676304272869376,"note":"Value kept but may cause issues"} 
[2026-08-19 23:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787161962000,"timestamp_ms":1787161962000,"timestamp_seconds":1787161962,"priority":1,"record_length":96,"hex_timestamp":"000001a01b276610"} 
[2026-08-19 23:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 23:23:37] 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-08-19 23:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513460480001,"66":27430,"186":206,"28":21760,"24":58,"16":386511876562878464,"45":4071676304272869376},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,28,24,16,45]} 
[2026-08-19 23:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513460480001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:23:37] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-19 23:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386511876562878464,"km_value":386511876562878.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4071676304272869376,"description":"Unknown IO ID 45"} 
[2026-08-19 23:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513460480001,"power":27430,"unknown_186":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":4071676304272869376}} 
[2026-08-19 23:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":160501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:23:37] local.INFO: GPS data processed {"connection_id":160501,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:23:37] local.INFO: Acknowledgment sent {"connection_id":160501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:23:58] local.INFO: TCP Data received {"connection_id":157963,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:23:58] local.INFO: Processing buffer {"connection_id":157963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:23:58] local.INFO: IMEI packet received {"connection_id":157963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":157963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:24:02] local.INFO: TCP Data received {"connection_id":157963,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:24:02] local.INFO: Processing buffer {"connection_id":157963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:24:02] local.INFO: IMEI packet received {"connection_id":157963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":157963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:24:03] local.INFO: TCP Data received {"connection_id":157963,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:24:03] local.INFO: Processing buffer {"connection_id":157963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:24:03] local.INFO: IMEI packet received {"connection_id":157963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":157963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:24:05] local.INFO: TCP Data received {"connection_id":157963,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b278168012d38960006ac4210000a00a531..."} 
[2026-08-19 23:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b278168012d38960006ac4210000a00a531..."} 
[2026-08-19 23:24:05] local.INFO: Processing buffer {"connection_id":157963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b278168012d38960006ac4210000a00a531..."} 
[2026-08-19 23:24:05] local.INFO: Packet analysis {"connection_id":157963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b27"} 
[2026-08-19 23:24:05] local.INFO: Extracted packet for processing {"connection_id":157963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b27"} 
[2026-08-19 23:24:05] local.INFO: GPS Element Parsed {"raw_longitude":758683136,"raw_latitude":111952400,"longitude_deg":75.8683136,"latitude_deg":11.19524,"altitude":10,"angle":165,"satellites":49,"speed":58,"hex_longitude":"2d389600","hex_latitude":"06ac4210","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513462272001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386512374779084800,"note":"Value kept but may cause issues"} 
[2026-08-19 23:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4074631791525801984,"note":"Value kept but may cause issues"} 
[2026-08-19 23:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787161969000,"timestamp_ms":1787161969000,"timestamp_seconds":1787161969,"priority":1,"record_length":96,"hex_timestamp":"000001a01b278168"} 
[2026-08-19 23:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:24: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-08-19 23: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":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-19 23:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":157963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":157963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":157963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513462272001,"66":27126,"186":206,"28":21760,"24":58,"16":386512374779084800,"45":4074631791525801984},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,28,24,16,45]} 
[2026-08-19 23:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513462272001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:24:05] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-19 23:24:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386512374779084800,"km_value":386512374779084.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4074631791525801984,"description":"Unknown IO ID 45"} 
[2026-08-19 23:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513462272001,"power":27126,"unknown_186":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":4074631791525801984}} 
[2026-08-19 23:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":157963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:24:05] local.INFO: GPS data processed {"connection_id":157963,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:24:05] local.INFO: Acknowledgment sent {"connection_id":157963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:24:07] local.INFO: TCP Data received {"connection_id":157963,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b279cc0012d38a04006ac1b10000b00a431..."} 
[2026-08-19 23:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b279cc0012d38a04006ac1b10000b00a431..."} 
[2026-08-19 23:24:07] local.INFO: Processing buffer {"connection_id":157963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b279cc0012d38a04006ac1b10000b00a431..."} 
[2026-08-19 23:24:07] local.INFO: Packet analysis {"connection_id":157963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b27"} 
[2026-08-19 23:24:07] local.INFO: Extracted packet for processing {"connection_id":157963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b27"} 
[2026-08-19 23:24:07] local.INFO: GPS Element Parsed {"raw_longitude":758685760,"raw_latitude":111942416,"longitude_deg":75.868576,"latitude_deg":11.1942416,"altitude":11,"angle":164,"satellites":49,"speed":57,"hex_longitude":"2d38a040","hex_latitude":"06ac1b10","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513464064001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386512872995291136,"note":"Value kept but may cause issues"} 
[2026-08-19 23:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4077446541290377216,"note":"Value kept but may cause issues"} 
[2026-08-19 23:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787161976000,"timestamp_ms":1787161976000,"timestamp_seconds":1787161976,"priority":1,"record_length":96,"hex_timestamp":"000001a01b279cc0"} 
[2026-08-19 23:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23: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":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-19 23:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":157963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":157963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":157963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513464064001,"66":27376,"186":206,"28":21760,"24":57,"16":386512872995291136,"45":4077446541290377216},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,28,24,16,45]} 
[2026-08-19 23:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513464064001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:24:07] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-19 23:24:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386512872995291136,"km_value":386512872995291.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4077446541290377216,"description":"Unknown IO ID 45"} 
[2026-08-19 23:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513464064001,"power":27376,"unknown_186":206,"unknown_28":21760,"ignition":57,"odometer":null,"unknown_45":4077446541290377216}} 
[2026-08-19 23:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":157963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:24:07] local.INFO: GPS data processed {"connection_id":157963,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:24:07] local.INFO: Acknowledgment sent {"connection_id":157963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:24:38] local.INFO: TCP Data received {"connection_id":157963,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b27b818012d38ab0006abf478000b00a430..."} 
[2026-08-19 23:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b27b818012d38ab0006abf478000b00a430..."} 
[2026-08-19 23:24:38] local.INFO: Processing buffer {"connection_id":157963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b27b818012d38ab0006abf478000b00a430..."} 
[2026-08-19 23:24:38] local.INFO: Packet analysis {"connection_id":157963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b27"} 
[2026-08-19 23:24:38] local.INFO: Extracted packet for processing {"connection_id":157963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b27"} 
[2026-08-19 23:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758688512,"raw_latitude":111932536,"longitude_deg":75.8688512,"latitude_deg":11.1932536,"altitude":11,"angle":164,"satellites":48,"speed":58,"hex_longitude":"2d38ab00","hex_latitude":"06abf478","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513465856001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386513371211497472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4080331659799105536,"note":"Value kept but may cause issues"} 
[2026-08-19 23:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787161983000,"timestamp_ms":1787161983000,"timestamp_seconds":1787161983,"priority":1,"record_length":96,"hex_timestamp":"000001a01b27b818"} 
[2026-08-19 23:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:24: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-08-19 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 23:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":157963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":157963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":157963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513465856001,"66":27332,"186":206,"28":21760,"24":58,"16":386513371211497472,"45":4080331659799105536},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,28,24,16,45]} 
[2026-08-19 23:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513465856001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:24:38] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-19 23:24:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386513371211497472,"km_value":386513371211497.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4080331659799105536,"description":"Unknown IO ID 45"} 
[2026-08-19 23:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513465856001,"power":27332,"unknown_186":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":4080331659799105536}} 
[2026-08-19 23:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":157963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:24:38] local.INFO: GPS data processed {"connection_id":157963,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:24:38] local.INFO: Acknowledgment sent {"connection_id":157963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:24:58] local.INFO: TCP Data received {"connection_id":159181,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:24:58] local.INFO: Processing buffer {"connection_id":159181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:24:58] local.INFO: IMEI packet received {"connection_id":159181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":159181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:25:03] local.INFO: TCP Data received {"connection_id":159181,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:25:03] local.INFO: Processing buffer {"connection_id":159181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:25:03] local.INFO: IMEI packet received {"connection_id":159181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":159181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:25:05] local.INFO: TCP Data received {"connection_id":159181,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b27d370012d38b5c006abcda8000b00a52e..."} 
[2026-08-19 23:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b27d370012d38b5c006abcda8000b00a52e..."} 
[2026-08-19 23:25:05] local.INFO: Processing buffer {"connection_id":159181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b27d370012d38b5c006abcda8000b00a52e..."} 
[2026-08-19 23:25:05] local.INFO: Packet analysis {"connection_id":159181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b27"} 
[2026-08-19 23:25:05] local.INFO: Extracted packet for processing {"connection_id":159181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b27"} 
[2026-08-19 23:25:05] local.INFO: GPS Element Parsed {"raw_longitude":758691264,"raw_latitude":111922600,"longitude_deg":75.8691264,"latitude_deg":11.19226,"altitude":11,"angle":165,"satellites":46,"speed":58,"hex_longitude":"2d38b5c0","hex_latitude":"06abcda8","is_valid_coordinates":true} 
[2026-08-19 23:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513467648001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386513869427703808,"note":"Value kept but may cause issues"} 
[2026-08-19 23:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4083357515796215808,"note":"Value kept but may cause issues"} 
[2026-08-19 23:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-19 23:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787161990000,"timestamp_ms":1787161990000,"timestamp_seconds":1787161990,"priority":1,"record_length":96,"hex_timestamp":"000001a01b27d370"} 
[2026-08-19 23:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:25: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-08-19 23:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-19 23:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513467648001,"66":27343,"186":206,"28":21760,"24":58,"16":386513869427703808,"45":4083357515796215808},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,28,24,16,45]} 
[2026-08-19 23:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513467648001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:25:05] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-19 23:25:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386513869427703808,"km_value":386513869427703.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4083357515796215808,"description":"Unknown IO ID 45"} 
[2026-08-19 23:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513467648001,"power":27343,"unknown_186":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":4083357515796215808}} 
[2026-08-19 23:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":159181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:25:05] local.INFO: GPS data processed {"connection_id":159181,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:25:05] local.INFO: Acknowledgment sent {"connection_id":159181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:25:36] local.INFO: TCP Data received {"connection_id":159181,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b293300012d39374006a9f2a0000b00992e..."} 
[2026-08-19 23:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b293300012d39374006a9f2a0000b00992e..."} 
[2026-08-19 23:25:36] local.INFO: Processing buffer {"connection_id":159181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b293300012d39374006a9f2a0000b00992e..."} 
[2026-08-19 23:25:36] local.INFO: Packet analysis {"connection_id":159181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b29"} 
[2026-08-19 23:25:36] local.INFO: Extracted packet for processing {"connection_id":159181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b29"} 
[2026-08-19 23:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758724416,"raw_latitude":111800992,"longitude_deg":75.8724416,"latitude_deg":11.1800992,"altitude":11,"angle":153,"satellites":46,"speed":24,"hex_longitude":"2d393740","hex_latitude":"06a9f2a0","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513490688001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386519972576231424,"note":"Value kept but may cause issues"} 
[2026-08-19 23:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4120652950178084864,"note":"Value kept but may cause issues"} 
[2026-08-19 23:25:36] 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-08-19 23:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787162080000,"timestamp_ms":1787162080000,"timestamp_seconds":1787162080,"priority":1,"record_length":96,"hex_timestamp":"000001a01b293300"} 
[2026-08-19 23:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:25: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-08-19 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 23:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513490688001,"66":27376,"250":206,"28":21760,"24":24,"16":386519972576231424,"45":4120652950178084864},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-08-19 23:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513490688001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:25:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-19 23:25:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386519972576231424,"km_value":386519972576231.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4120652950178084864,"description":"Unknown IO ID 45"} 
[2026-08-19 23:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513490688001,"power":27376,"unknown_250":206,"unknown_28":21760,"ignition":24,"odometer":null,"unknown_45":4120652950178084864}} 
[2026-08-19 23:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":159181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:25:36] local.INFO: GPS data processed {"connection_id":159181,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:25:36] local.INFO: Acknowledgment sent {"connection_id":159181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:26:03] local.INFO: TCP Data received {"connection_id":160502,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:26:03] local.INFO: Processing buffer {"connection_id":160502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:26:03] local.INFO: IMEI packet received {"connection_id":160502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":160502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:26:05] local.INFO: TCP Data received {"connection_id":160502,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:26:05] local.INFO: Processing buffer {"connection_id":160502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:26:05] local.INFO: IMEI packet received {"connection_id":160502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":160502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:26:07] local.INFO: TCP Data received {"connection_id":160502,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:26:07] local.INFO: Processing buffer {"connection_id":160502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:26:07] local.INFO: IMEI packet received {"connection_id":160502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":160502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:26:09] local.INFO: TCP Data received {"connection_id":160502,"ip":"117.224.24.81","data_length":1360,"data_hex":"000000000000030f8e0a000001a01b2942a0012d393ac006a9ea10000a00a72e..."} 
[2026-08-19 23:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160502,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a01b2942a0012d393ac006a9ea10000a00a72e..."} 
[2026-08-19 23:26:09] local.INFO: Processing buffer {"connection_id":160502,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a01b2942a0012d393ac006a9ea10000a00a72e..."} 
[2026-08-19 23:26:09] local.INFO: Packet analysis {"connection_id":160502,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a01b29"} 
[2026-08-19 23:26:09] local.INFO: Extracted packet for processing {"connection_id":160502,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a01b29"} 
[2026-08-19 23:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758725312,"raw_latitude":111798800,"longitude_deg":75.8725312,"latitude_deg":11.17988,"altitude":10,"angle":167,"satellites":46,"speed":23,"hex_longitude":"2d393ac0","hex_latitude":"06a9ea10","is_valid_coordinates":true} 
[2026-08-19 23:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513492480001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386520088540348416,"note":"Value kept but may cause issues"} 
[2026-08-19 23:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4122834381246210048,"note":"Value kept but may cause issues"} 
[2026-08-19 23:26:09] 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-08-19 23:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787162084000,"timestamp_ms":1787162084000,"timestamp_seconds":1787162084,"priority":1,"record_length":96,"hex_timestamp":"000001a01b2942a0"} 
[2026-08-19 23:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 23:26:09] 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-08-19 23:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513492480001,"66":27213,"250":206,"28":21760,"24":23,"16":386520088540348416,"45":4122834381246210048},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-08-19 23:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513492480001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:26:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-19 23:26:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386520088540348416,"km_value":386520088540348.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4122834381246210048,"description":"Unknown IO ID 45"} 
[2026-08-19 23:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513492480001,"power":27213,"unknown_250":206,"unknown_28":21760,"ignition":23,"odometer":null,"unknown_45":4122834381246210048}} 
[2026-08-19 23:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":160502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:26:09] local.INFO: GPS data processed {"connection_id":160502,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:26:09] local.INFO: Acknowledgment sent {"connection_id":160502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:26:09] local.INFO: Packet analysis {"connection_id":160502,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a01b29"} 
[2026-08-19 23:26:09] local.INFO: Incomplete packet, waiting for more data {"connection_id":160502,"needed":795,"available":565} 
[2026-08-19 23:26:09] local.INFO: TCP Data received {"connection_id":160502,"ip":"117.224.24.81","data_length":230,"data_hex":"2d3908c006aa9880000a00a42d003b0000000a000400ef0100715f00f0010045..."} 
[2026-08-19 23:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160502,"packet_length":230,"packet_hex":"2d3908c006aa9880000a00a42d003b0000000a000400ef0100715f00f0010045..."} 
[2026-08-19 23:26:09] local.INFO: Processing buffer {"connection_id":160502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b297568012d39444006a9c6e8000a00a530..."} 
[2026-08-19 23:26:09] local.INFO: Packet analysis {"connection_id":160502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b29"} 
[2026-08-19 23:26:09] local.INFO: Extracted packet for processing {"connection_id":160502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b29"} 
[2026-08-19 23:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758727744,"raw_latitude":111789800,"longitude_deg":75.8727744,"latitude_deg":11.17898,"altitude":10,"angle":165,"satellites":48,"speed":37,"hex_longitude":"2d394440","hex_latitude":"06a9c6e8","is_valid_coordinates":true} 
[2026-08-19 23:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513493504001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386520539511914496,"note":"Value kept but may cause issues"} 
[2026-08-19 23:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4123819543664136192,"note":"Value kept but may cause issues"} 
[2026-08-19 23:26:09] 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-08-19 23:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787162097000,"timestamp_ms":1787162097000,"timestamp_seconds":1787162097,"priority":1,"record_length":96,"hex_timestamp":"000001a01b297568"} 
[2026-08-19 23:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-19 23:26:09] 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-08-19 23:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513493504001,"66":27321,"250":206,"28":21760,"24":37,"16":386520539511914496,"45":4123819543664136192},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-08-19 23:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513493504001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:26:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-19 23:26:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386520539511914496,"km_value":386520539511914.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4123819543664136192,"description":"Unknown IO ID 45"} 
[2026-08-19 23:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513493504001,"power":27321,"unknown_250":206,"unknown_28":21760,"ignition":37,"odometer":null,"unknown_45":4123819543664136192}} 
[2026-08-19 23:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":160502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:26:09] local.INFO: GPS data processed {"connection_id":160502,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:26:09] local.INFO: Acknowledgment sent {"connection_id":160502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:26:13] local.INFO: TCP Data received {"connection_id":160502,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b299890012d394e0006a9a3c8000a00a52f..."} 
[2026-08-19 23:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b299890012d394e0006a9a3c8000a00a52f..."} 
[2026-08-19 23:26:13] local.INFO: Processing buffer {"connection_id":160502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b299890012d394e0006a9a3c8000a00a52f..."} 
[2026-08-19 23:26:13] local.INFO: Packet analysis {"connection_id":160502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b29"} 
[2026-08-19 23:26:13] local.INFO: Extracted packet for processing {"connection_id":160502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b29"} 
[2026-08-19 23:26:13] local.INFO: GPS Element Parsed {"raw_longitude":758730240,"raw_latitude":111780808,"longitude_deg":75.873024,"latitude_deg":11.1780808,"altitude":10,"angle":165,"satellites":47,"speed":42,"hex_longitude":"2d394e00","hex_latitude":"06a9a3c8","is_valid_coordinates":true} 
[2026-08-19 23:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513496832001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386520990483480576,"note":"Value kept but may cause issues"} 
[2026-08-19 23:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4126493555940583424,"note":"Value kept but may cause issues"} 
[2026-08-19 23:26:13] 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-08-19 23:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787162106000,"timestamp_ms":1787162106000,"timestamp_seconds":1787162106,"priority":1,"record_length":96,"hex_timestamp":"000001a01b299890"} 
[2026-08-19 23:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:26: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-08-19 23:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 23:26:13] 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-08-19 23:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513496832001,"66":27234,"250":206,"28":21760,"24":42,"16":386520990483480576,"45":4126493555940583424},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-08-19 23:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513496832001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:26:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-19 23:26:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386520990483480576,"km_value":386520990483480.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4126493555940583424,"description":"Unknown IO ID 45"} 
[2026-08-19 23:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513496832001,"power":27234,"unknown_250":206,"unknown_28":21760,"ignition":42,"odometer":null,"unknown_45":4126493555940583424}} 
[2026-08-19 23:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":160502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:26:13] local.INFO: GPS data processed {"connection_id":160502,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:26:13] local.INFO: Acknowledgment sent {"connection_id":160502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:26:58] local.INFO: TCP Data received {"connection_id":159182,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:26:58] local.INFO: Processing buffer {"connection_id":159182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:26:58] local.INFO: IMEI packet received {"connection_id":159182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":159182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:27:01] local.INFO: TCP Data received {"connection_id":159182,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:27:01] local.INFO: Processing buffer {"connection_id":159182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:27:01] local.INFO: IMEI packet received {"connection_id":159182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":159182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:27:03] local.INFO: TCP Data received {"connection_id":159182,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:27:03] local.INFO: Processing buffer {"connection_id":159182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:27:03] local.INFO: IMEI packet received {"connection_id":159182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":159182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:27:04] local.INFO: TCP Data received {"connection_id":159182,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b2a34d0012d39560006a954e00008012029..."} 
[2026-08-19 23:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b2a34d0012d39560006a954e00008012029..."} 
[2026-08-19 23:27:04] local.INFO: Processing buffer {"connection_id":159182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b2a34d0012d39560006a954e00008012029..."} 
[2026-08-19 23:27:04] local.INFO: Packet analysis {"connection_id":159182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b2a"} 
[2026-08-19 23:27:04] local.INFO: Extracted packet for processing {"connection_id":159182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b2a"} 
[2026-08-19 23:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758732288,"raw_latitude":111760608,"longitude_deg":75.8732288,"latitude_deg":11.1760608,"altitude":8,"angle":288,"satellites":41,"speed":17,"hex_longitude":"2d395600","hex_latitude":"06a954e0","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513508352001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386522240318963712,"note":"Value kept but may cause issues"} 
[2026-08-19 23:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4133319324118124544,"note":"Value kept but may cause issues"} 
[2026-08-19 23:27:04] 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-08-19 23:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787162146000,"timestamp_ms":1787162146000,"timestamp_seconds":1787162146,"priority":1,"record_length":96,"hex_timestamp":"000001a01b2a34d0"} 
[2026-08-19 23:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:27: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-08-19 23: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-19 23:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513508352001,"66":27376,"90":206,"28":21760,"24":17,"16":386522240318963712,"45":4133319324118124544},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-08-19 23:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513508352001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:27:04] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-19 23:27:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386522240318963712,"km_value":386522240318963.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4133319324118124544,"description":"Unknown IO ID 45"} 
[2026-08-19 23:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513508352001,"power":27376,"unknown_90":206,"unknown_28":21760,"ignition":17,"odometer":null,"unknown_45":4133319324118124544}} 
[2026-08-19 23:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":159182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:27:04] local.INFO: GPS data processed {"connection_id":159182,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:27:04] local.INFO: Acknowledgment sent {"connection_id":159182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:27:09] local.INFO: TCP Data received {"connection_id":159182,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b2a6f68012d39344006a95fb0000a011d28..."} 
[2026-08-19 23:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b2a6f68012d39344006a95fb0000a011d28..."} 
[2026-08-19 23:27:09] local.INFO: Processing buffer {"connection_id":159182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b2a6f68012d39344006a95fb0000a011d28..."} 
[2026-08-19 23:27:09] local.INFO: Packet analysis {"connection_id":159182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b2a"} 
[2026-08-19 23:27:09] local.INFO: Extracted packet for processing {"connection_id":159182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b2a"} 
[2026-08-19 23:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758723648,"raw_latitude":111763376,"longitude_deg":75.8723648,"latitude_deg":11.1763376,"altitude":10,"angle":285,"satellites":40,"speed":32,"hex_longitude":"2d393440","hex_latitude":"06a95fb0","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513509376001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386522669815693312,"note":"Value kept but may cause issues"} 
[2026-08-19 23:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4131489736769724416,"note":"Value kept but may cause issues"} 
[2026-08-19 23:27:09] 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-08-19 23:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787162161000,"timestamp_ms":1787162161000,"timestamp_seconds":1787162161,"priority":1,"record_length":96,"hex_timestamp":"000001a01b2a6f68"} 
[2026-08-19 23:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 23:27:09] 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-08-19 23: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-08-19 23:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513509376001,"66":27376,"90":206,"28":21760,"24":32,"16":386522669815693312,"45":4131489736769724416},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-08-19 23:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513509376001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:27:09] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-19 23:27:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386522669815693312,"km_value":386522669815693.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4131489736769724416,"description":"Unknown IO ID 45"} 
[2026-08-19 23:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513509376001,"power":27376,"unknown_90":206,"unknown_28":21760,"ignition":32,"odometer":null,"unknown_45":4131489736769724416}} 
[2026-08-19 23:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":159182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:27:09] local.INFO: GPS data processed {"connection_id":159182,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:27:09] local.INFO: Acknowledgment sent {"connection_id":159182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:27:40] local.INFO: TCP Data received {"connection_id":159182,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b2a9a60012d3911c006a96700000a01152c..."} 
[2026-08-19 23:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b2a9a60012d3911c006a96700000a01152c..."} 
[2026-08-19 23:27:40] local.INFO: Processing buffer {"connection_id":159182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b2a9a60012d3911c006a96700000a01152c..."} 
[2026-08-19 23:27:40] local.INFO: Packet analysis {"connection_id":159182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b2a"} 
[2026-08-19 23:27:40] local.INFO: Extracted packet for processing {"connection_id":159182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b2a"} 
[2026-08-19 23:27:40] local.INFO: GPS Element Parsed {"raw_longitude":758714816,"raw_latitude":111765248,"longitude_deg":75.8714816,"latitude_deg":11.1765248,"altitude":10,"angle":277,"satellites":44,"speed":28,"hex_longitude":"2d3911c0","hex_latitude":"06a96700","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513513216001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386523103607390208,"note":"Value kept but may cause issues"} 
[2026-08-19 23:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4121989956306448384,"note":"Value kept but may cause issues"} 
[2026-08-19 23:27:40] 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-08-19 23:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787162172000,"timestamp_ms":1787162172000,"timestamp_seconds":1787162172,"priority":1,"record_length":96,"hex_timestamp":"000001a01b2a9a60"} 
[2026-08-19 23:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 23:27:40] 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-08-19 23:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513513216001,"66":27365,"90":206,"28":21760,"24":28,"16":386523103607390208,"45":4121989956306448384},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-08-19 23:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513513216001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:27:40] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-19 23:27:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386523103607390208,"km_value":386523103607390.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4121989956306448384,"description":"Unknown IO ID 45"} 
[2026-08-19 23:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513513216001,"power":27365,"unknown_90":206,"unknown_28":21760,"ignition":28,"odometer":null,"unknown_45":4121989956306448384}} 
[2026-08-19 23:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":159182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:27:40] local.INFO: GPS data processed {"connection_id":159182,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:27:40] local.INFO: Acknowledgment sent {"connection_id":159182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:27:58] local.INFO: TCP Data received {"connection_id":158316,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:27:58] local.INFO: Processing buffer {"connection_id":158316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:27:58] local.INFO: IMEI packet received {"connection_id":158316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":158316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:28:03] local.INFO: TCP Data received {"connection_id":158316,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:28:03] local.INFO: Processing buffer {"connection_id":158316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:28:03] local.INFO: IMEI packet received {"connection_id":158316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":158316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:28:05] local.INFO: TCP Data received {"connection_id":158316,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b2ac558012d38ee4006a96cc0000b01192b..."} 
[2026-08-19 23:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b2ac558012d38ee4006a96cc0000b01192b..."} 
[2026-08-19 23:28:05] local.INFO: Processing buffer {"connection_id":158316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b2ac558012d38ee4006a96cc0000b01192b..."} 
[2026-08-19 23:28:05] local.INFO: Packet analysis {"connection_id":158316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b2a"} 
[2026-08-19 23:28:05] local.INFO: Extracted packet for processing {"connection_id":158316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b2a"} 
[2026-08-19 23:28:05] local.INFO: GPS Element Parsed {"raw_longitude":758705728,"raw_latitude":111766720,"longitude_deg":75.8705728,"latitude_deg":11.176672,"altitude":11,"angle":281,"satellites":43,"speed":37,"hex_longitude":"2d38ee40","hex_latitude":"06a96cc0","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513516032001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386523541694054400,"note":"Value kept but may cause issues"} 
[2026-08-19 23:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4112279069610409984,"note":"Value kept but may cause issues"} 
[2026-08-19 23:28:05] 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-08-19 23:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787162183000,"timestamp_ms":1787162183000,"timestamp_seconds":1787162183,"priority":1,"record_length":96,"hex_timestamp":"000001a01b2ac558"} 
[2026-08-19 23:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:28: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-08-19 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-19 23:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513516032001,"66":27321,"90":206,"28":21760,"24":37,"16":386523541694054400,"45":4112279069610409984},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-08-19 23:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513516032001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:28:05] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-08-19 23:28:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386523541694054400,"km_value":386523541694054.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4112279069610409984,"description":"Unknown IO ID 45"} 
[2026-08-19 23:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513516032001,"power":27321,"unknown_90":206,"unknown_28":21760,"ignition":37,"odometer":null,"unknown_45":4112279069610409984}} 
[2026-08-19 23:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":158316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:28:05] local.INFO: GPS data processed {"connection_id":158316,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:28:05] local.INFO: Acknowledgment sent {"connection_id":158316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:28:37] local.INFO: TCP Data received {"connection_id":158316,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b2ae880012d38cac006a975d00009011b29..."} 
[2026-08-19 23:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b2ae880012d38cac006a975d00009011b29..."} 
[2026-08-19 23:28:37] local.INFO: Processing buffer {"connection_id":158316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b2ae880012d38cac006a975d00009011b29..."} 
[2026-08-19 23:28:37] local.INFO: Packet analysis {"connection_id":158316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b2a"} 
[2026-08-19 23:28:37] local.INFO: Extracted packet for processing {"connection_id":158316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b2a"} 
[2026-08-19 23:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758696640,"raw_latitude":111769040,"longitude_deg":75.869664,"latitude_deg":11.176904,"altitude":9,"angle":283,"satellites":41,"speed":42,"hex_longitude":"2d38cac0","hex_latitude":"06a975d0","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513518848001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386523988370653184,"note":"Value kept but may cause issues"} 
[2026-08-19 23:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4102286707937558528,"note":"Value kept but may cause issues"} 
[2026-08-19 23:28:37] 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-08-19 23:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787162192000,"timestamp_ms":1787162192000,"timestamp_seconds":1787162192,"priority":1,"record_length":96,"hex_timestamp":"000001a01b2ae880"} 
[2026-08-19 23:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 23:28:37] 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-08-19 23: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-08-19 23:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513518848001,"66":26636,"91":206,"28":21760,"24":42,"16":386523988370653184,"45":4102286707937558528},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-19 23:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513518848001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:28:37] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-19 23:28:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386523988370653184,"km_value":386523988370653.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4102286707937558528,"description":"Unknown IO ID 45"} 
[2026-08-19 23:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513518848001,"power":26636,"unknown_91":206,"unknown_28":21760,"ignition":42,"odometer":null,"unknown_45":4102286707937558528}} 
[2026-08-19 23:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":158316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:28:37] local.INFO: GPS data processed {"connection_id":158316,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:28:37] local.INFO: Acknowledgment sent {"connection_id":158316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:29:19] local.INFO: TCP Data received {"connection_id":160503,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:29:19] local.INFO: Processing buffer {"connection_id":160503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:29:19] local.INFO: IMEI packet received {"connection_id":160503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":160503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:29:23] local.INFO: TCP Data received {"connection_id":160503,"ip":"117.224.24.81","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 23:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160503,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 23:29:23] local.INFO: Processing buffer {"connection_id":160503,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-19 23:29:23] local.INFO: IMEI packet received {"connection_id":160503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":160503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:29:25] local.INFO: TCP Data received {"connection_id":160503,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b2c57b0012d3757c006a98aa0000a01142d..."} 
[2026-08-19 23:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b2c57b0012d3757c006a98aa0000a01142d..."} 
[2026-08-19 23:29:25] local.INFO: Processing buffer {"connection_id":160503,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a01b..."} 
[2026-08-19 23:29:25] local.INFO: IMEI packet received {"connection_id":160503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":160503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:29:26] local.INFO: TCP Data received {"connection_id":160503,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b2c76f0012d37344006a990c0000901182d..."} 
[2026-08-19 23:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b2c76f0012d37344006a990c0000901182d..."} 
[2026-08-19 23:29:26] local.INFO: Processing buffer {"connection_id":160503,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a01b2c57b0012d3757c006a98aa0000a01142d..."} 
[2026-08-19 23:29:26] local.INFO: Packet analysis {"connection_id":160503,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a01b2c"} 
[2026-08-19 23:29:26] local.INFO: Extracted packet for processing {"connection_id":160503,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b2c"} 
[2026-08-19 23:29:26] local.INFO: GPS Element Parsed {"raw_longitude":758601664,"raw_latitude":111774368,"longitude_deg":75.8601664,"latitude_deg":11.1774368,"altitude":10,"angle":276,"satellites":45,"speed":51,"hex_longitude":"2d3757c0","hex_latitude":"06a98aa0","is_valid_coordinates":true} 
[2026-08-19 23:29: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-08-19 23:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513545216001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386528562510823424,"note":"Value kept but may cause issues"} 
[2026-08-19 23:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3987867129906634752,"note":"Value kept but may cause issues"} 
[2026-08-19 23:29:26] 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-08-19 23:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787162286000,"timestamp_ms":1787162286000,"timestamp_seconds":1787162286,"priority":1,"record_length":96,"hex_timestamp":"000001a01b2c57b0"} 
[2026-08-19 23:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:29: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-08-19 23:29: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":109,"data_length":795,"current_offset":136} 
[2026-08-19 23:29:26] 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-08-19 23:29: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-08-19 23:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513545216001,"66":27245,"91":206,"28":21760,"24":51,"16":386528562510823424,"45":3987867129906634752},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-19 23:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513545216001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:29:26] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-19 23:29:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386528562510823424,"km_value":386528562510823.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3987867129906634752,"description":"Unknown IO ID 45"} 
[2026-08-19 23:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513545216001,"power":27245,"unknown_91":206,"unknown_28":21760,"ignition":51,"odometer":null,"unknown_45":3987867129906634752}} 
[2026-08-19 23:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":160503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:29:26] local.INFO: GPS data processed {"connection_id":160503,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:29:26] local.INFO: Acknowledgment sent {"connection_id":160503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:29:26] local.INFO: Packet analysis {"connection_id":160503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b2c"} 
[2026-08-19 23:29:26] local.INFO: Extracted packet for processing {"connection_id":160503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b2c"} 
[2026-08-19 23:29:26] local.INFO: GPS Element Parsed {"raw_longitude":758592576,"raw_latitude":111775936,"longitude_deg":75.8592576,"latitude_deg":11.1775936,"altitude":9,"angle":280,"satellites":45,"speed":35,"hex_longitude":"2d373440","hex_latitude":"06a990c0","is_valid_coordinates":true} 
[2026-08-19 23:29: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-08-19 23:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513545216001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386529000597487616,"note":"Value kept but may cause issues"} 
[2026-08-19 23:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3987867129906634752,"note":"Value kept but may cause issues"} 
[2026-08-19 23:29:26] 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-08-19 23:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787162294000,"timestamp_ms":1787162294000,"timestamp_seconds":1787162294,"priority":1,"record_length":96,"hex_timestamp":"000001a01b2c76f0"} 
[2026-08-19 23:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:29: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-08-19 23:29: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":109,"data_length":795,"current_offset":136} 
[2026-08-19 23:29:26] 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-08-19 23:29: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-08-19 23:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513545216001,"66":27267,"91":206,"28":21760,"24":35,"16":386529000597487616,"45":3987867129906634752},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-19 23:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513545216001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:29:26] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-19 23:29:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386529000597487616,"km_value":386529000597487.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3987867129906634752,"description":"Unknown IO ID 45"} 
[2026-08-19 23:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513545216001,"power":27267,"unknown_91":206,"unknown_28":21760,"ignition":35,"odometer":null,"unknown_45":3987867129906634752}} 
[2026-08-19 23:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":160503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:29:26] local.INFO: GPS data processed {"connection_id":160503,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:29:26] local.INFO: Acknowledgment sent {"connection_id":160503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:29:27] local.INFO: TCP Data received {"connection_id":160503,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b2ca1e8012d37114006a99710000801182c..."} 
[2026-08-19 23:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b2ca1e8012d37114006a99710000801182c..."} 
[2026-08-19 23:29:27] local.INFO: Processing buffer {"connection_id":160503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b2ca1e8012d37114006a99710000801182c..."} 
[2026-08-19 23:29:27] local.INFO: Packet analysis {"connection_id":160503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b2c"} 
[2026-08-19 23:29:27] local.INFO: Extracted packet for processing {"connection_id":160503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b2c"} 
[2026-08-19 23:29:27] local.INFO: GPS Element Parsed {"raw_longitude":758583616,"raw_latitude":111777552,"longitude_deg":75.8583616,"latitude_deg":11.1777552,"altitude":8,"angle":280,"satellites":44,"speed":33,"hex_longitude":"2d371140","hex_latitude":"06a99710","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513547264001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386529434389184512,"note":"Value kept but may cause issues"} 
[2026-08-19 23:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3977874768233807872,"note":"Value kept but may cause issues"} 
[2026-08-19 23:29:27] 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-08-19 23:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787162305000,"timestamp_ms":1787162305000,"timestamp_seconds":1787162305,"priority":1,"record_length":96,"hex_timestamp":"000001a01b2ca1e8"} 
[2026-08-19 23:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:29: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-08-19 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-19 23:29:27] 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-08-19 23: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-08-19 23:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513547264001,"66":27245,"91":206,"28":21760,"24":33,"16":386529434389184512,"45":3977874768233807872},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-08-19 23:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513547264001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:29:27] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-19 23:29:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386529434389184512,"km_value":386529434389184.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3977874768233807872,"description":"Unknown IO ID 45"} 
[2026-08-19 23:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513547264001,"power":27245,"unknown_91":206,"unknown_28":21760,"ignition":33,"odometer":null,"unknown_45":3977874768233807872}} 
[2026-08-19 23:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":160503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:29:27] local.INFO: GPS data processed {"connection_id":160503,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:29:27] local.INFO: Acknowledgment sent {"connection_id":160503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:29:57] local.INFO: TCP Data received {"connection_id":160504,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:29:57] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:29:57] local.INFO: IMEI packet received {"connection_id":160504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":160504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:29:58] local.INFO: TCP Data received {"connection_id":160504,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:29:58] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:29:58] local.INFO: IMEI packet received {"connection_id":160504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":160504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:30:03] local.INFO: TCP Data received {"connection_id":160504,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:30:03] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:30:03] local.INFO: IMEI packet received {"connection_id":160504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":160504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:30:04] local.INFO: TCP Data received {"connection_id":160504,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b2cc8f8012d36edc006a99e100009011b2e..."} 
[2026-08-19 23:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b2cc8f8012d36edc006a99e100009011b2e..."} 
[2026-08-19 23:30:04] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b2cc8f8012d36edc006a99e100009011b2e..."} 
[2026-08-19 23:30:04] local.INFO: Packet analysis {"connection_id":160504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b2c"} 
[2026-08-19 23:30:04] local.INFO: Extracted packet for processing {"connection_id":160504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b2c"} 
[2026-08-19 23:30:04] local.INFO: GPS Element Parsed {"raw_longitude":758574528,"raw_latitude":111779344,"longitude_deg":75.8574528,"latitude_deg":11.1779344,"altitude":9,"angle":283,"satellites":46,"speed":38,"hex_longitude":"2d36edc0","hex_latitude":"06a99e10","is_valid_coordinates":true} 
[2026-08-19 23:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513550080001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386529876770816000,"note":"Value kept but may cause issues"} 
[2026-08-19 23:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3968023144049348608,"note":"Value kept but may cause issues"} 
[2026-08-19 23:30:04] 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-08-19 23:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787162315000,"timestamp_ms":1787162315000,"timestamp_seconds":1787162315,"priority":1,"record_length":96,"hex_timestamp":"000001a01b2cc8f8"} 
[2026-08-19 23:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:30: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-08-19 23:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-19 23:30:04] 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-08-19 23:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513550080001,"66":27321,"154":206,"28":21760,"24":38,"16":386529876770816000,"45":3968023144049348608},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,28,24,16,45]} 
[2026-08-19 23:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513550080001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:30:04] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 23:30:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386529876770816000,"km_value":386529876770816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3968023144049348608,"description":"Unknown IO ID 45"} 
[2026-08-19 23:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513550080001,"power":27321,"unknown_154":206,"unknown_28":21760,"ignition":38,"odometer":null,"unknown_45":3968023144049348608}} 
[2026-08-19 23:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":160504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:30:04] local.INFO: GPS data processed {"connection_id":160504,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:30:04] local.INFO: Acknowledgment sent {"connection_id":160504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:30:36] local.INFO: TCP Data received {"connection_id":160504,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b2cec20012d36d00006a9a838000b012630..."} 
[2026-08-19 23:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b2cec20012d36d00006a9a838000b012630..."} 
[2026-08-19 23:30:36] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b2cec20012d36d00006a9a838000b012630..."} 
[2026-08-19 23:30:36] local.INFO: Packet analysis {"connection_id":160504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b2c"} 
[2026-08-19 23:30:36] local.INFO: Extracted packet for processing {"connection_id":160504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b2c"} 
[2026-08-19 23:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758566912,"raw_latitude":111781944,"longitude_deg":75.8566912,"latitude_deg":11.1781944,"altitude":11,"angle":294,"satellites":48,"speed":36,"hex_longitude":"2d36d000","hex_latitude":"06a9a838","is_valid_coordinates":true} 
[2026-08-19 23:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513552640001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386530259022905344,"note":"Value kept but may cause issues"} 
[2026-08-19 23:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3958030782376579072,"note":"Value kept but may cause issues"} 
[2026-08-19 23:30:36] 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-08-19 23:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787162324000,"timestamp_ms":1787162324000,"timestamp_seconds":1787162324,"priority":1,"record_length":96,"hex_timestamp":"000001a01b2cec20"} 
[2026-08-19 23:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:30: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-08-19 23:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-19 23:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513552640001,"66":27267,"154":206,"28":21760,"24":36,"16":386530259022905344,"45":3958030782376579072},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,28,24,16,45]} 
[2026-08-19 23:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513552640001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:30:36] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-19 23:30:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386530259022905344,"km_value":386530259022905.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3958030782376579072,"description":"Unknown IO ID 45"} 
[2026-08-19 23:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513552640001,"power":27267,"unknown_154":206,"unknown_28":21760,"ignition":36,"odometer":null,"unknown_45":3958030782376579072}} 
[2026-08-19 23:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":160504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:30:36] local.INFO: GPS data processed {"connection_id":160504,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:30:36] local.INFO: Acknowledgment sent {"connection_id":160504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:31:02] local.INFO: TCP Data received {"connection_id":159183,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:31:02] local.INFO: Processing buffer {"connection_id":159183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:31:02] local.INFO: IMEI packet received {"connection_id":159183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":159183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:31:03] local.INFO: TCP Data received {"connection_id":159183,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:31:03] local.INFO: Processing buffer {"connection_id":159183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:31:03] local.INFO: IMEI packet received {"connection_id":159183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":159183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:31:04] local.INFO: TCP Data received {"connection_id":159183,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:31:04] local.INFO: Processing buffer {"connection_id":159183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:31:04] local.INFO: IMEI packet received {"connection_id":159183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":159183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:31:05] local.INFO: TCP Data received {"connection_id":159183,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b2e43e0012d3576c006aa3bb0000901242e..."} 
[2026-08-19 23:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b2e43e0012d3576c006aa3bb0000901242e..."} 
[2026-08-19 23:31:05] local.INFO: Processing buffer {"connection_id":159183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b2e43e0012d3576c006aa3bb0000901242e..."} 
[2026-08-19 23:31:05] local.INFO: Packet analysis {"connection_id":159183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b2e"} 
[2026-08-19 23:31:05] local.INFO: Extracted packet for processing {"connection_id":159183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b2e"} 
[2026-08-19 23:31:05] local.INFO: GPS Element Parsed {"raw_longitude":758478528,"raw_latitude":111819696,"longitude_deg":75.8478528,"latitude_deg":11.1819696,"altitude":9,"angle":292,"satellites":46,"speed":30,"hex_longitude":"2d3576c0","hex_latitude":"06aa3bb0","is_valid_coordinates":true} 
[2026-08-19 23:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513574400001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386534880407715840,"note":"Value kept but may cause issues"} 
[2026-08-19 23:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3862258921560137728,"note":"Value kept but may cause issues"} 
[2026-08-19 23:31:05] 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-08-19 23:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787162412000,"timestamp_ms":1787162412000,"timestamp_seconds":1787162412,"priority":1,"record_length":96,"hex_timestamp":"000001a01b2e43e0"} 
[2026-08-19 23:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:31: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-08-19 23:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-19 23:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513574400001,"66":27376,"104":206,"28":21760,"24":30,"16":386534880407715840,"45":3862258921560137728},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-08-19 23:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513574400001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:31:05] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-19 23:31:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386534880407715840,"km_value":386534880407715.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3862258921560137728,"description":"Unknown IO ID 45"} 
[2026-08-19 23:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513574400001,"power":27376,"unknown_104":206,"unknown_28":21760,"ignition":30,"odometer":null,"unknown_45":3862258921560137728}} 
[2026-08-19 23:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":159183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:31:05] local.INFO: GPS data processed {"connection_id":159183,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:31:05] local.INFO: Acknowledgment sent {"connection_id":159183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:31:10] local.INFO: TCP Data received {"connection_id":159183,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b2e6ed8012d35554006aa49d8000b01252d..."} 
[2026-08-19 23:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b2e6ed8012d35554006aa49d8000b01252d..."} 
[2026-08-19 23:31:10] local.INFO: Processing buffer {"connection_id":159183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b2e6ed8012d35554006aa49d8000b01252d..."} 
[2026-08-19 23:31:10] local.INFO: Packet analysis {"connection_id":159183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b2e"} 
[2026-08-19 23:31:10] local.INFO: Extracted packet for processing {"connection_id":159183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b2e"} 
[2026-08-19 23:31:10] local.INFO: GPS Element Parsed {"raw_longitude":758469952,"raw_latitude":111823320,"longitude_deg":75.8469952,"latitude_deg":11.182332,"altitude":11,"angle":293,"satellites":45,"speed":32,"hex_longitude":"2d355540","hex_latitude":"06aa49d8","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513577472001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386535327084314624,"note":"Value kept but may cause issues"} 
[2026-08-19 23:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3852477666120413184,"note":"Value kept but may cause issues"} 
[2026-08-19 23:31:10] 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-08-19 23:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787162423000,"timestamp_ms":1787162423000,"timestamp_seconds":1787162423,"priority":1,"record_length":96,"hex_timestamp":"000001a01b2e6ed8"} 
[2026-08-19 23:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:31: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-08-19 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-19 23:31:10] 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-08-19 23: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-08-19 23:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513577472001,"66":27767,"104":206,"28":21760,"24":32,"16":386535327084314624,"45":3852477666120413184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-08-19 23:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513577472001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:31:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-19 23:31:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386535327084314624,"km_value":386535327084314.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3852477666120413184,"description":"Unknown IO ID 45"} 
[2026-08-19 23:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513577472001,"power":27767,"unknown_104":206,"unknown_28":21760,"ignition":32,"odometer":null,"unknown_45":3852477666120413184}} 
[2026-08-19 23:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":159183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:31:10] local.INFO: GPS data processed {"connection_id":159183,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:31:10] local.INFO: Acknowledgment sent {"connection_id":159183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:31:42] local.INFO: TCP Data received {"connection_id":159183,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b2e7a90012d354c8006aa4d58000b01232d..."} 
[2026-08-19 23:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b2e7a90012d354c8006aa4d58000b01232d..."} 
[2026-08-19 23:31:42] local.INFO: Processing buffer {"connection_id":159183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b2e7a90012d354c8006aa4d58000b01232d..."} 
[2026-08-19 23:31:42] local.INFO: Packet analysis {"connection_id":159183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b2e"} 
[2026-08-19 23:31:42] local.INFO: Extracted packet for processing {"connection_id":159183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b2e"} 
[2026-08-19 23:31:42] local.INFO: GPS Element Parsed {"raw_longitude":758467712,"raw_latitude":111824216,"longitude_deg":75.8467712,"latitude_deg":11.1824216,"altitude":11,"angle":291,"satellites":45,"speed":29,"hex_longitude":"2d354c80","hex_latitude":"06aa4d58","is_valid_coordinates":true} 
[2026-08-19 23:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513580288001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386535438753464320,"note":"Value kept but may cause issues"} 
[2026-08-19 23:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3843048254401533952,"note":"Value kept but may cause issues"} 
[2026-08-19 23:31:42] 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-08-19 23:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787162426000,"timestamp_ms":1787162426000,"timestamp_seconds":1787162426,"priority":1,"record_length":96,"hex_timestamp":"000001a01b2e7a90"} 
[2026-08-19 23:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 23:31:42] 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-08-19 23: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-08-19 23:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513580288001,"66":27908,"106":206,"28":21760,"24":29,"16":386535438753464320,"45":3843048254401533952},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513580288001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:31:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:31:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386535438753464320,"km_value":386535438753464.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3843048254401533952,"description":"Unknown IO ID 45"} 
[2026-08-19 23:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513580288001,"power":27908,"unknown_106":206,"unknown_28":21760,"ignition":29,"odometer":null,"unknown_45":3843048254401533952}} 
[2026-08-19 23:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":159183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:31:42] local.INFO: GPS data processed {"connection_id":159183,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:31:42] local.INFO: Acknowledgment sent {"connection_id":159183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:31:58] local.INFO: TCP Data received {"connection_id":159184,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:31:58] local.INFO: Processing buffer {"connection_id":159184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:31:58] local.INFO: IMEI packet received {"connection_id":159184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":159184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:32:03] local.INFO: TCP Data received {"connection_id":159184,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:32:03] local.INFO: Processing buffer {"connection_id":159184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:32:03] local.INFO: IMEI packet received {"connection_id":159184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":159184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:32:04] local.INFO: TCP Data received {"connection_id":159184,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b2e7a90012d354c8006aa4d58000b01232d..."} 
[2026-08-19 23:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b2e7a90012d354c8006aa4d58000b01232d..."} 
[2026-08-19 23:32:04] local.INFO: Processing buffer {"connection_id":159184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b2e7a90012d354c8006aa4d58000b01232d..."} 
[2026-08-19 23:32:04] local.INFO: Packet analysis {"connection_id":159184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b2e"} 
[2026-08-19 23:32:04] local.INFO: Extracted packet for processing {"connection_id":159184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b2e"} 
[2026-08-19 23:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758467712,"raw_latitude":111824216,"longitude_deg":75.8467712,"latitude_deg":11.1824216,"altitude":11,"angle":291,"satellites":45,"speed":29,"hex_longitude":"2d354c80","hex_latitude":"06aa4d58","is_valid_coordinates":true} 
[2026-08-19 23:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513580288001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386535438753464320,"note":"Value kept but may cause issues"} 
[2026-08-19 23:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3843048254401533952,"note":"Value kept but may cause issues"} 
[2026-08-19 23:32:04] 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-08-19 23:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787162426000,"timestamp_ms":1787162426000,"timestamp_seconds":1787162426,"priority":1,"record_length":96,"hex_timestamp":"000001a01b2e7a90"} 
[2026-08-19 23:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:32: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-08-19 23: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":119,"data_length":795,"current_offset":136} 
[2026-08-19 23:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513580288001,"66":27908,"106":206,"28":21760,"24":29,"16":386535438753464320,"45":3843048254401533952},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513580288001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:32:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386535438753464320,"km_value":386535438753464.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3843048254401533952,"description":"Unknown IO ID 45"} 
[2026-08-19 23:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513580288001,"power":27908,"unknown_106":206,"unknown_28":21760,"ignition":29,"odometer":null,"unknown_45":3843048254401533952}} 
[2026-08-19 23:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":159184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:32:04] local.INFO: GPS data processed {"connection_id":159184,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:32:04] local.INFO: Acknowledgment sent {"connection_id":159184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:32:36] local.INFO: TCP Data received {"connection_id":159184,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b2e7a90012d354c8006aa4d58000b01232d..."} 
[2026-08-19 23:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b2e7a90012d354c8006aa4d58000b01232d..."} 
[2026-08-19 23:32:36] local.INFO: Processing buffer {"connection_id":159184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b2e7a90012d354c8006aa4d58000b01232d..."} 
[2026-08-19 23:32:36] local.INFO: Packet analysis {"connection_id":159184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b2e"} 
[2026-08-19 23:32:36] local.INFO: Extracted packet for processing {"connection_id":159184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b2e"} 
[2026-08-19 23:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758467712,"raw_latitude":111824216,"longitude_deg":75.8467712,"latitude_deg":11.1824216,"altitude":11,"angle":291,"satellites":45,"speed":29,"hex_longitude":"2d354c80","hex_latitude":"06aa4d58","is_valid_coordinates":true} 
[2026-08-19 23:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513580288001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386535438753464320,"note":"Value kept but may cause issues"} 
[2026-08-19 23:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3843048254401533952,"note":"Value kept but may cause issues"} 
[2026-08-19 23:32:36] 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-08-19 23:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787162426000,"timestamp_ms":1787162426000,"timestamp_seconds":1787162426,"priority":1,"record_length":96,"hex_timestamp":"000001a01b2e7a90"} 
[2026-08-19 23:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-19 23:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513580288001,"66":27908,"106":206,"28":21760,"24":29,"16":386535438753464320,"45":3843048254401533952},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513580288001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:32:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:32:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386535438753464320,"km_value":386535438753464.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3843048254401533952,"description":"Unknown IO ID 45"} 
[2026-08-19 23:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513580288001,"power":27908,"unknown_106":206,"unknown_28":21760,"ignition":29,"odometer":null,"unknown_45":3843048254401533952}} 
[2026-08-19 23:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":159184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:32:36] local.INFO: GPS data processed {"connection_id":159184,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:32:36] local.INFO: Acknowledgment sent {"connection_id":159184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:32:58] local.INFO: TCP Data received {"connection_id":158317,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:32:58] local.INFO: Processing buffer {"connection_id":158317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:32:58] local.INFO: IMEI packet received {"connection_id":158317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":158317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:33:03] local.INFO: TCP Data received {"connection_id":158317,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:33:03] local.INFO: Processing buffer {"connection_id":158317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:33:03] local.INFO: IMEI packet received {"connection_id":158317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":158317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:33:04] local.INFO: TCP Data received {"connection_id":158317,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b3014b8012d35284006aa5ae8000c012331..."} 
[2026-08-19 23:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b3014b8012d35284006aa5ae8000c012331..."} 
[2026-08-19 23:33:04] local.INFO: Processing buffer {"connection_id":158317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b3014b8012d35284006aa5ae8000c012331..."} 
[2026-08-19 23:33:04] local.INFO: Packet analysis {"connection_id":158317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b30"} 
[2026-08-19 23:33:04] local.INFO: Extracted packet for processing {"connection_id":158317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b30"} 
[2026-08-19 23:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758458432,"raw_latitude":111827688,"longitude_deg":75.8458432,"latitude_deg":11.1827688,"altitude":12,"angle":291,"satellites":49,"speed":0,"hex_longitude":"2d352840","hex_latitude":"06aa5ae8","is_valid_coordinates":true} 
[2026-08-19 23:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513581056001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386535438753464320,"note":"Value kept but may cause issues"} 
[2026-08-19 23:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3840585348355545088,"note":"Value kept but may cause issues"} 
[2026-08-19 23:33:04] 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-08-19 23:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787162531000,"timestamp_ms":1787162531000,"timestamp_seconds":1787162531,"priority":1,"record_length":96,"hex_timestamp":"000001a01b3014b8"} 
[2026-08-19 23:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-19 23:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513581056001,"66":26115,"106":206,"28":21760,"24":0,"16":386535438753464320,"45":3840585348355545088},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513581056001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:33:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386535438753464320,"km_value":386535438753464.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3840585348355545088,"description":"Unknown IO ID 45"} 
[2026-08-19 23:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513581056001,"power":26115,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3840585348355545088}} 
[2026-08-19 23:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":158317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:33:04] local.INFO: GPS data processed {"connection_id":158317,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:33:04] local.INFO: Acknowledgment sent {"connection_id":158317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:33:35] local.INFO: TCP Data received {"connection_id":158317,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b307660012d35260006aa5c38000c011c31..."} 
[2026-08-19 23:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b307660012d35260006aa5c38000c011c31..."} 
[2026-08-19 23:33:35] local.INFO: Processing buffer {"connection_id":158317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b307660012d35260006aa5c38000c011c31..."} 
[2026-08-19 23:33:35] local.INFO: Packet analysis {"connection_id":158317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b30"} 
[2026-08-19 23:33:35] local.INFO: Extracted packet for processing {"connection_id":158317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b30"} 
[2026-08-19 23:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758457856,"raw_latitude":111828024,"longitude_deg":75.8457856,"latitude_deg":11.1828024,"altitude":12,"angle":284,"satellites":49,"speed":0,"hex_longitude":"2d352600","hex_latitude":"06aa5c38","is_valid_coordinates":true} 
[2026-08-19 23:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513607936001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386535438753464320,"note":"Value kept but may cause issues"} 
[2026-08-19 23:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3830381880450672640,"note":"Value kept but may cause issues"} 
[2026-08-19 23:33:35] 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-08-19 23:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787162556000,"timestamp_ms":1787162556000,"timestamp_seconds":1787162556,"priority":1,"record_length":96,"hex_timestamp":"000001a01b307660"} 
[2026-08-19 23:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-19 23:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513607936001,"66":27245,"106":206,"28":21760,"24":0,"16":386535438753464320,"45":3830381880450672640},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513607936001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:33:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:33:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386535438753464320,"km_value":386535438753464.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3830381880450672640,"description":"Unknown IO ID 45"} 
[2026-08-19 23:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513607936001,"power":27245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3830381880450672640}} 
[2026-08-19 23:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":158317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:33:35] local.INFO: GPS data processed {"connection_id":158317,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:33:35] local.INFO: Acknowledgment sent {"connection_id":158317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:33:57] local.INFO: TCP Data received {"connection_id":157964,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:33:57] local.INFO: Processing buffer {"connection_id":157964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:33:57] local.INFO: IMEI packet received {"connection_id":157964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":157964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:33:58] local.INFO: TCP Data received {"connection_id":157964,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:33:58] local.INFO: Processing buffer {"connection_id":157964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:33:58] local.INFO: IMEI packet received {"connection_id":157964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":157964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:33:58] local.INFO: TCP Data received {"connection_id":157964,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:33:58] local.INFO: Processing buffer {"connection_id":157964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:33:58] local.INFO: IMEI packet received {"connection_id":157964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":157964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:33:59] local.INFO: TCP Data received {"connection_id":157964,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:33:59] local.INFO: Processing buffer {"connection_id":157964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:33:59] local.INFO: IMEI packet received {"connection_id":157964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":157964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:39:03] local.INFO: TCP Data received {"connection_id":158319,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:39:03] local.INFO: Processing buffer {"connection_id":158319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:39:03] local.INFO: IMEI packet received {"connection_id":158319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":158319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:39:04] local.INFO: TCP Data received {"connection_id":158319,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b327de8012d34c68006aa41c0000c00c82d..."} 
[2026-08-19 23:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b327de8012d34c68006aa41c0000c00c82d..."} 
[2026-08-19 23:39:04] local.INFO: Processing buffer {"connection_id":158319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b327de8012d34c68006aa41c0000c00c82d..."} 
[2026-08-19 23:39:04] local.INFO: Packet analysis {"connection_id":158319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b32"} 
[2026-08-19 23:39:04] local.INFO: Extracted packet for processing {"connection_id":158319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b32"} 
[2026-08-19 23:39:04] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111821248,"longitude_deg":75.8433408,"latitude_deg":11.1821248,"altitude":12,"angle":200,"satellites":45,"speed":6,"hex_longitude":"2d34c680","hex_latitude":"06aa41c0","is_valid_coordinates":true} 
[2026-08-19 23:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513647616001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536933402083328,"note":"Value kept but may cause issues"} 
[2026-08-19 23:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964037632,"note":"Value kept but may cause issues"} 
[2026-08-19 23:39:04] 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-08-19 23:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787162689000,"timestamp_ms":1787162689000,"timestamp_seconds":1787162689,"priority":1,"record_length":96,"hex_timestamp":"000001a01b327de8"} 
[2026-08-19 23:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:39: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-08-19 23:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-19 23:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513647616001,"66":27974,"106":206,"28":21760,"24":6,"16":386536933402083328,"45":3803008438964037632},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513647616001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:39:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:39:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536933402083328,"km_value":386536933402083.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964037632,"description":"Unknown IO ID 45"} 
[2026-08-19 23:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513647616001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3803008438964037632}} 
[2026-08-19 23:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":158319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:39:04] local.INFO: GPS data processed {"connection_id":158319,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:39:04] local.INFO: Acknowledgment sent {"connection_id":158319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:39:36] local.INFO: TCP Data received {"connection_id":158319,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b3281d0012d34c60006aa4130000c00d72f..."} 
[2026-08-19 23:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b3281d0012d34c60006aa4130000c00d72f..."} 
[2026-08-19 23:39:36] local.INFO: Processing buffer {"connection_id":158319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b3281d0012d34c60006aa4130000c00d72f..."} 
[2026-08-19 23:39:36] local.INFO: Packet analysis {"connection_id":158319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b32"} 
[2026-08-19 23:39:36] local.INFO: Extracted packet for processing {"connection_id":158319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b32"} 
[2026-08-19 23:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111821104,"longitude_deg":75.843328,"latitude_deg":11.1821104,"altitude":12,"angle":215,"satellites":47,"speed":7,"hex_longitude":"2d34c600","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513648384001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536941992017920,"note":"Value kept but may cause issues"} 
[2026-08-19 23:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475557376,"note":"Value kept but may cause issues"} 
[2026-08-19 23:39:36] 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-08-19 23:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787162690000,"timestamp_ms":1787162690000,"timestamp_seconds":1787162690,"priority":1,"record_length":96,"hex_timestamp":"000001a01b3281d0"} 
[2026-08-19 23:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:39: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-08-19 23: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 23:39:36] 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-08-19 23: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-08-19 23:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513648384001,"66":27974,"106":206,"28":21760,"24":7,"16":386536941992017920,"45":3802867701475557376},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513648384001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:39:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:39:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536941992017920,"km_value":386536941992017.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475557376,"description":"Unknown IO ID 45"} 
[2026-08-19 23:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513648384001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":7,"odometer":null,"unknown_45":3802867701475557376}} 
[2026-08-19 23:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":158319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:39:36] local.INFO: GPS data processed {"connection_id":158319,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:39:36] local.INFO: Acknowledgment sent {"connection_id":158319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:39:58] local.INFO: TCP Data received {"connection_id":159185,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:39:58] local.INFO: Processing buffer {"connection_id":159185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:39:58] local.INFO: IMEI packet received {"connection_id":159185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":159185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:40:03] local.INFO: TCP Data received {"connection_id":159185,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:40:03] local.INFO: Processing buffer {"connection_id":159185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:40:03] local.INFO: IMEI packet received {"connection_id":159185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":159185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:40:04] local.INFO: TCP Data received {"connection_id":159185,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b3285b8012d34c58006aa40b0000c00e72f..."} 
[2026-08-19 23:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b3285b8012d34c58006aa40b0000c00e72f..."} 
[2026-08-19 23:40:04] local.INFO: Processing buffer {"connection_id":159185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b3285b8012d34c58006aa40b0000c00e72f..."} 
[2026-08-19 23:40:04] local.INFO: Packet analysis {"connection_id":159185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b32"} 
[2026-08-19 23:40:04] local.INFO: Extracted packet for processing {"connection_id":159185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b32"} 
[2026-08-19 23:40:04] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820976,"longitude_deg":75.8433152,"latitude_deg":11.1820976,"altitude":12,"angle":231,"satellites":47,"speed":8,"hex_longitude":"2d34c580","hex_latitude":"06aa40b0","is_valid_coordinates":true} 
[2026-08-19 23:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513648640001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536950581952512,"note":"Value kept but may cause issues"} 
[2026-08-19 23:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963987165184,"note":"Value kept but may cause issues"} 
[2026-08-19 23:40:04] 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-08-19 23:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787162691000,"timestamp_ms":1787162691000,"timestamp_seconds":1787162691,"priority":1,"record_length":96,"hex_timestamp":"000001a01b3285b8"} 
[2026-08-19 23:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:40: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-08-19 23:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-19 23:40:04] 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-08-19 23:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513648640001,"66":27821,"106":206,"28":21760,"24":8,"16":386536950581952512,"45":3802726963987165184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513648640001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:40:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:40:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536950581952512,"km_value":386536950581952.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963987165184,"description":"Unknown IO ID 45"} 
[2026-08-19 23:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513648640001,"power":27821,"unknown_106":206,"unknown_28":21760,"ignition":8,"odometer":null,"unknown_45":3802726963987165184}} 
[2026-08-19 23:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":159185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:40:04] local.INFO: GPS data processed {"connection_id":159185,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:40:04] local.INFO: Acknowledgment sent {"connection_id":159185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:40:36] local.INFO: TCP Data received {"connection_id":159185,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b3289a0012d34c50006aa4050000c00f42e..."} 
[2026-08-19 23:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b3289a0012d34c50006aa4050000c00f42e..."} 
[2026-08-19 23:40:36] local.INFO: Processing buffer {"connection_id":159185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b3289a0012d34c50006aa4050000c00f42e..."} 
[2026-08-19 23:40:36] local.INFO: Packet analysis {"connection_id":159185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b32"} 
[2026-08-19 23:40:36] local.INFO: Extracted packet for processing {"connection_id":159185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b32"} 
[2026-08-19 23:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820880,"longitude_deg":75.8433024,"latitude_deg":11.182088,"altitude":12,"angle":244,"satellites":46,"speed":7,"hex_longitude":"2d34c500","hex_latitude":"06aa4050","is_valid_coordinates":true} 
[2026-08-19 23:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513648896001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536959171887104,"note":"Value kept but may cause issues"} 
[2026-08-19 23:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498777088,"note":"Value kept but may cause issues"} 
[2026-08-19 23:40:36] 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-08-19 23:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787162692000,"timestamp_ms":1787162692000,"timestamp_seconds":1787162692,"priority":1,"record_length":96,"hex_timestamp":"000001a01b3289a0"} 
[2026-08-19 23:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:40: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-08-19 23:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 23:40:36] 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-08-19 23:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513648896001,"66":27821,"106":206,"28":21760,"24":7,"16":386536959171887104,"45":3802586226498777088},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513648896001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:40:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:40:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536959171887104,"km_value":386536959171887.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498777088,"description":"Unknown IO ID 45"} 
[2026-08-19 23:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513648896001,"power":27821,"unknown_106":206,"unknown_28":21760,"ignition":7,"odometer":null,"unknown_45":3802586226498777088}} 
[2026-08-19 23:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":159185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:40:36] local.INFO: GPS data processed {"connection_id":159185,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:40:36] local.INFO: Acknowledgment sent {"connection_id":159185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:40:58] local.INFO: TCP Data received {"connection_id":158320,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:40:58] local.INFO: Processing buffer {"connection_id":158320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:40:58] local.INFO: IMEI packet received {"connection_id":158320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":158320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:41:03] local.INFO: TCP Data received {"connection_id":158320,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:41:03] local.INFO: Processing buffer {"connection_id":158320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:41:03] local.INFO: IMEI packet received {"connection_id":158320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":158320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:41:04] local.INFO: TCP Data received {"connection_id":158320,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b328d88012d34c44006aa4028000b01082f..."} 
[2026-08-19 23:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b328d88012d34c44006aa4028000b01082f..."} 
[2026-08-19 23:41:04] local.INFO: Processing buffer {"connection_id":158320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b328d88012d34c44006aa4028000b01082f..."} 
[2026-08-19 23:41:04] local.INFO: Packet analysis {"connection_id":158320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b32"} 
[2026-08-19 23:41:04] local.INFO: Extracted packet for processing {"connection_id":158320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b32"} 
[2026-08-19 23:41:04] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820840,"longitude_deg":75.8432832,"latitude_deg":11.182084,"altitude":11,"angle":264,"satellites":47,"speed":6,"hex_longitude":"2d34c440","hex_latitude":"06aa4028","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513649152001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536967761821696,"note":"Value kept but may cause issues"} 
[2026-08-19 23:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010397184,"note":"Value kept but may cause issues"} 
[2026-08-19 23:41:04] 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-08-19 23:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787162693000,"timestamp_ms":1787162693000,"timestamp_seconds":1787162693,"priority":1,"record_length":96,"hex_timestamp":"000001a01b328d88"} 
[2026-08-19 23:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:41: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-08-19 23: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-19 23:41:04] 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-08-19 23: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-08-19 23:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513649152001,"66":27658,"106":206,"28":21760,"24":6,"16":386536967761821696,"45":3802445489010397184},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513649152001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:41:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:41:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536967761821696,"km_value":386536967761821.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010397184,"description":"Unknown IO ID 45"} 
[2026-08-19 23:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513649152001,"power":27658,"unknown_106":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3802445489010397184}} 
[2026-08-19 23:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":158320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:41:04] local.INFO: GPS data processed {"connection_id":158320,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:41:04] local.INFO: Acknowledgment sent {"connection_id":158320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:41:36] local.INFO: TCP Data received {"connection_id":158320,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b329170012d34c3c006aa4030000b01152f..."} 
[2026-08-19 23:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b329170012d34c3c006aa4030000b01152f..."} 
[2026-08-19 23:41:36] local.INFO: Processing buffer {"connection_id":158320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b329170012d34c3c006aa4030000b01152f..."} 
[2026-08-19 23:41:36] local.INFO: Packet analysis {"connection_id":158320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b32"} 
[2026-08-19 23:41:36] local.INFO: Extracted packet for processing {"connection_id":158320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b32"} 
[2026-08-19 23:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820848,"longitude_deg":75.8432704,"latitude_deg":11.1820848,"altitude":11,"angle":277,"satellites":47,"speed":7,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4030","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513649408001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536972056788992,"note":"Value kept but may cause issues"} 
[2026-08-19 23:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777853952,"note":"Value kept but may cause issues"} 
[2026-08-19 23:41:36] 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-08-19 23:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787162694000,"timestamp_ms":1787162694000,"timestamp_seconds":1787162694,"priority":1,"record_length":96,"hex_timestamp":"000001a01b329170"} 
[2026-08-19 23:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-19 23:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513649408001,"66":27658,"106":206,"28":21760,"24":7,"16":386536972056788992,"45":3802234382777853952},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513649408001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:41:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:41:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536972056788992,"km_value":386536972056789.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777853952,"description":"Unknown IO ID 45"} 
[2026-08-19 23:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513649408001,"power":27658,"unknown_106":206,"unknown_28":21760,"ignition":7,"odometer":null,"unknown_45":3802234382777853952}} 
[2026-08-19 23:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":158320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:41:36] local.INFO: GPS data processed {"connection_id":158320,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:41:36] local.INFO: Acknowledgment sent {"connection_id":158320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:42:03] local.INFO: TCP Data received {"connection_id":160506,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:42:03] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:42:03] local.INFO: IMEI packet received {"connection_id":160506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":160506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:42:08] local.INFO: TCP Data received {"connection_id":160506,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:42:08] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:42:08] local.INFO: IMEI packet received {"connection_id":160506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":160506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:42:09] local.INFO: TCP Data received {"connection_id":160506,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b32acc8012d34c24006aa40a8000b01152e..."} 
[2026-08-19 23:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b32acc8012d34c24006aa40a8000b01152e..."} 
[2026-08-19 23:42:09] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b32acc8012d34c24006aa40a8000b01152e..."} 
[2026-08-19 23:42:09] local.INFO: Packet analysis {"connection_id":160506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b32"} 
[2026-08-19 23:42:09] local.INFO: Extracted packet for processing {"connection_id":160506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b32"} 
[2026-08-19 23:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758432320,"raw_latitude":111820968,"longitude_deg":75.843232,"latitude_deg":11.1820968,"altitude":11,"angle":277,"satellites":46,"speed":0,"hex_longitude":"2d34c240","hex_latitude":"06aa40a8","is_valid_coordinates":true} 
[2026-08-19 23:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513649664001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289500672,"note":"Value kept but may cause issues"} 
[2026-08-19 23:42:09] 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-08-19 23:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787162701000,"timestamp_ms":1787162701000,"timestamp_seconds":1787162701,"priority":1,"record_length":96,"hex_timestamp":"000001a01b32acc8"} 
[2026-08-19 23:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-19 23:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-19 23:42:09] 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-08-19 23:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513649664001,"66":27800,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289500672},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513649664001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:42:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:42:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289500672,"description":"Unknown IO ID 45"} 
[2026-08-19 23:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513649664001,"power":27800,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289500672}} 
[2026-08-19 23:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":160506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:42:09] local.INFO: GPS data processed {"connection_id":160506,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:42:09] local.INFO: Acknowledgment sent {"connection_id":160506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:42:14] local.INFO: TCP Data received {"connection_id":160506,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:42:14] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:42:14] local.INFO: Packet analysis {"connection_id":160506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b37"} 
[2026-08-19 23:42:14] local.INFO: Extracted packet for processing {"connection_id":160506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b37"} 
[2026-08-19 23:42:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":13,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513651456001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824465408,"note":"Value kept but may cause issues"} 
[2026-08-19 23:42:14] 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-08-19 23:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787163006000,"timestamp_ms":1787163006000,"timestamp_seconds":1787163006,"priority":1,"record_length":96,"hex_timestamp":"000001a01b375430"} 
[2026-08-19 23:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 23:42:14] 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-08-19 23: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-08-19 23:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513651456001,"66":26430,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3801671432824465408},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513651456001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:42:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:42:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824465408,"description":"Unknown IO ID 45"} 
[2026-08-19 23:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513651456001,"power":26430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801671432824465408}} 
[2026-08-19 23:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":160506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:42:14] local.INFO: GPS data processed {"connection_id":160506,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:42:14] local.INFO: Acknowledgment sent {"connection_id":160506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:42:58] local.INFO: TCP Data received {"connection_id":159186,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:42:58] local.INFO: Processing buffer {"connection_id":159186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:42:58] local.INFO: IMEI packet received {"connection_id":159186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":159186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:43:03] local.INFO: TCP Data received {"connection_id":159186,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:43:03] local.INFO: Processing buffer {"connection_id":159186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:43:03] local.INFO: IMEI packet received {"connection_id":159186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":159186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:43:04] local.INFO: TCP Data received {"connection_id":159186,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:43:04] local.INFO: Processing buffer {"connection_id":159186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:43:04] local.INFO: Packet analysis {"connection_id":159186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b37"} 
[2026-08-19 23:43:04] local.INFO: Extracted packet for processing {"connection_id":159186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b37"} 
[2026-08-19 23:43:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":13,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513651456001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824465408,"note":"Value kept but may cause issues"} 
[2026-08-19 23:43:04] 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-08-19 23:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787163006000,"timestamp_ms":1787163006000,"timestamp_seconds":1787163006,"priority":1,"record_length":96,"hex_timestamp":"000001a01b375430"} 
[2026-08-19 23:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:43: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-08-19 23:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 23:43: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-08-19 23:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513651456001,"66":26430,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3801671432824465408},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513651456001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:43:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:43:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824465408,"description":"Unknown IO ID 45"} 
[2026-08-19 23:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513651456001,"power":26430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801671432824465408}} 
[2026-08-19 23:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":159186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:43:04] local.INFO: GPS data processed {"connection_id":159186,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:43:04] local.INFO: Acknowledgment sent {"connection_id":159186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:43:36] local.INFO: TCP Data received {"connection_id":159186,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:43:36] local.INFO: Processing buffer {"connection_id":159186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:43:36] local.INFO: Packet analysis {"connection_id":159186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b37"} 
[2026-08-19 23:43:36] local.INFO: Extracted packet for processing {"connection_id":159186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b37"} 
[2026-08-19 23:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":13,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513651456001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824465408,"note":"Value kept but may cause issues"} 
[2026-08-19 23:43:36] 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-08-19 23:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787163006000,"timestamp_ms":1787163006000,"timestamp_seconds":1787163006,"priority":1,"record_length":96,"hex_timestamp":"000001a01b375430"} 
[2026-08-19 23:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 23:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513651456001,"66":26430,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3801671432824465408},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513651456001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:43:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:43:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824465408,"description":"Unknown IO ID 45"} 
[2026-08-19 23:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513651456001,"power":26430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801671432824465408}} 
[2026-08-19 23:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":159186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:43:36] local.INFO: GPS data processed {"connection_id":159186,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:43:36] local.INFO: Acknowledgment sent {"connection_id":159186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:43:58] local.INFO: TCP Data received {"connection_id":158321,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:43:58] local.INFO: Processing buffer {"connection_id":158321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:43:58] local.INFO: IMEI packet received {"connection_id":158321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":158321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:44:03] local.INFO: TCP Data received {"connection_id":158321,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:44:03] local.INFO: Processing buffer {"connection_id":158321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:44:03] local.INFO: IMEI packet received {"connection_id":158321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":158321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:44:04] local.INFO: TCP Data received {"connection_id":158321,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:44:04] local.INFO: Processing buffer {"connection_id":158321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:44:04] local.INFO: Packet analysis {"connection_id":158321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b37"} 
[2026-08-19 23:44:04] local.INFO: Extracted packet for processing {"connection_id":158321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b37"} 
[2026-08-19 23:44:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":13,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513651456001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824465408,"note":"Value kept but may cause issues"} 
[2026-08-19 23:44:04] 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-08-19 23:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787163006000,"timestamp_ms":1787163006000,"timestamp_seconds":1787163006,"priority":1,"record_length":96,"hex_timestamp":"000001a01b375430"} 
[2026-08-19 23:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:44: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-08-19 23: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 23:44: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-08-19 23: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-08-19 23:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513651456001,"66":26430,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3801671432824465408},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513651456001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:44:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:44:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824465408,"description":"Unknown IO ID 45"} 
[2026-08-19 23:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513651456001,"power":26430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801671432824465408}} 
[2026-08-19 23:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":158321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:44:04] local.INFO: GPS data processed {"connection_id":158321,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:44:04] local.INFO: Acknowledgment sent {"connection_id":158321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:44:40] local.INFO: TCP Data received {"connection_id":158321,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:44:40] local.INFO: Processing buffer {"connection_id":158321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:44:40] local.INFO: Packet analysis {"connection_id":158321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b37"} 
[2026-08-19 23:44:40] local.INFO: Extracted packet for processing {"connection_id":158321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b37"} 
[2026-08-19 23:44:40] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":13,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513651456001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824465408,"note":"Value kept but may cause issues"} 
[2026-08-19 23:44:40] 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-08-19 23:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787163006000,"timestamp_ms":1787163006000,"timestamp_seconds":1787163006,"priority":1,"record_length":96,"hex_timestamp":"000001a01b375430"} 
[2026-08-19 23:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 23:44:40] 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-08-19 23: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-08-19 23:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513651456001,"66":26430,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3801671432824465408},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513651456001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:44:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:44:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824465408,"description":"Unknown IO ID 45"} 
[2026-08-19 23:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513651456001,"power":26430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801671432824465408}} 
[2026-08-19 23:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":158321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:44:40] local.INFO: GPS data processed {"connection_id":158321,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:44:40] local.INFO: Acknowledgment sent {"connection_id":158321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:44:58] local.INFO: TCP Data received {"connection_id":157967,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:44:58] local.INFO: Processing buffer {"connection_id":157967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:44:58] local.INFO: IMEI packet received {"connection_id":157967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":157967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:45:03] local.INFO: TCP Data received {"connection_id":157967,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:45:03] local.INFO: Processing buffer {"connection_id":157967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:45:03] local.INFO: IMEI packet received {"connection_id":157967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":157967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:45:04] local.INFO: TCP Data received {"connection_id":157967,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:45:04] local.INFO: Processing buffer {"connection_id":157967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:45:04] local.INFO: Packet analysis {"connection_id":157967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b37"} 
[2026-08-19 23:45:04] local.INFO: Extracted packet for processing {"connection_id":157967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b37"} 
[2026-08-19 23:45:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":13,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513651456001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824465408,"note":"Value kept but may cause issues"} 
[2026-08-19 23:45:04] 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-08-19 23:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787163006000,"timestamp_ms":1787163006000,"timestamp_seconds":1787163006,"priority":1,"record_length":96,"hex_timestamp":"000001a01b375430"} 
[2026-08-19 23:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:45: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-08-19 23: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 23:45: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-08-19 23: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-08-19 23:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513651456001,"66":26430,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3801671432824465408},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513651456001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:45:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:45:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824465408,"description":"Unknown IO ID 45"} 
[2026-08-19 23:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513651456001,"power":26430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801671432824465408}} 
[2026-08-19 23:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":157967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:45:04] local.INFO: GPS data processed {"connection_id":157967,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:45:04] local.INFO: Acknowledgment sent {"connection_id":157967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:45:36] local.INFO: TCP Data received {"connection_id":157967,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:45:36] local.INFO: Processing buffer {"connection_id":157967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b375430012d34c3c006aa4200000d011529..."} 
[2026-08-19 23:45:36] local.INFO: Packet analysis {"connection_id":157967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b37"} 
[2026-08-19 23:45:36] local.INFO: Extracted packet for processing {"connection_id":157967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b37"} 
[2026-08-19 23:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":13,"angle":277,"satellites":41,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513651456001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801671432824465408,"note":"Value kept but may cause issues"} 
[2026-08-19 23:45:36] 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-08-19 23:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787163006000,"timestamp_ms":1787163006000,"timestamp_seconds":1787163006,"priority":1,"record_length":96,"hex_timestamp":"000001a01b375430"} 
[2026-08-19 23:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-19 23:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513651456001,"66":26430,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3801671432824465408},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513651456001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:45:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:45:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801671432824465408,"description":"Unknown IO ID 45"} 
[2026-08-19 23:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513651456001,"power":26430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801671432824465408}} 
[2026-08-19 23:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":157967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:45:36] local.INFO: GPS data processed {"connection_id":157967,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:45:36] local.INFO: Acknowledgment sent {"connection_id":157967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:45:58] local.INFO: TCP Data received {"connection_id":159187,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:45:58] local.INFO: Processing buffer {"connection_id":159187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:45:58] local.INFO: IMEI packet received {"connection_id":159187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":159187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:46:03] local.INFO: TCP Data received {"connection_id":159187,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:46:03] local.INFO: Processing buffer {"connection_id":159187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:46:03] local.INFO: IMEI packet received {"connection_id":159187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":159187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:46:04] local.INFO: TCP Data received {"connection_id":159187,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:46:04] local.INFO: Processing buffer {"connection_id":159187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:46:04] local.INFO: Packet analysis {"connection_id":159187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:46:04] local.INFO: Extracted packet for processing {"connection_id":159187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513729536001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:46:04] 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-08-19 23:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787163307000,"timestamp_ms":1787163307000,"timestamp_seconds":1787163307,"priority":1,"record_length":96,"hex_timestamp":"000001a01b3bebf8"} 
[2026-08-19 23:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:46: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-08-19 23:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 23:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513729536001,"66":26039,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513729536001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:46:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:46:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513729536001,"power":26039,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":159187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:46:04] local.INFO: GPS data processed {"connection_id":159187,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:46:04] local.INFO: Acknowledgment sent {"connection_id":159187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:46:36] local.INFO: TCP Data received {"connection_id":159187,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:46:36] local.INFO: Processing buffer {"connection_id":159187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:46:36] local.INFO: Packet analysis {"connection_id":159187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:46:36] local.INFO: Extracted packet for processing {"connection_id":159187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513729536001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:46:36] 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-08-19 23:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787163307000,"timestamp_ms":1787163307000,"timestamp_seconds":1787163307,"priority":1,"record_length":96,"hex_timestamp":"000001a01b3bebf8"} 
[2026-08-19 23:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 23:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513729536001,"66":26039,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513729536001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:46:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:46:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513729536001,"power":26039,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":159187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:46:36] local.INFO: GPS data processed {"connection_id":159187,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:46:36] local.INFO: Acknowledgment sent {"connection_id":159187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:47:03] local.INFO: TCP Data received {"connection_id":157968,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:47:03] local.INFO: Processing buffer {"connection_id":157968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:47:03] local.INFO: IMEI packet received {"connection_id":157968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":157968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:47:08] local.INFO: TCP Data received {"connection_id":157968,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:47:08] local.INFO: Processing buffer {"connection_id":157968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:47:08] local.INFO: IMEI packet received {"connection_id":157968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":157968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:47:09] local.INFO: TCP Data received {"connection_id":157968,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:47:09] local.INFO: Processing buffer {"connection_id":157968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:47:09] local.INFO: Packet analysis {"connection_id":157968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:47:09] local.INFO: Extracted packet for processing {"connection_id":157968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513729536001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:47:09] 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-08-19 23:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787163307000,"timestamp_ms":1787163307000,"timestamp_seconds":1787163307,"priority":1,"record_length":96,"hex_timestamp":"000001a01b3bebf8"} 
[2026-08-19 23:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 23:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":157968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":157968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":157968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513729536001,"66":26039,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513729536001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:47:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:47:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513729536001,"power":26039,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":157968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:47:09] local.INFO: GPS data processed {"connection_id":157968,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:47:09] local.INFO: Acknowledgment sent {"connection_id":157968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:47:14] local.INFO: TCP Data received {"connection_id":157968,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:47:14] local.INFO: Processing buffer {"connection_id":157968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:47:14] local.INFO: Packet analysis {"connection_id":157968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:47:14] local.INFO: Extracted packet for processing {"connection_id":157968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513729536001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:47:14] 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-08-19 23:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787163307000,"timestamp_ms":1787163307000,"timestamp_seconds":1787163307,"priority":1,"record_length":96,"hex_timestamp":"000001a01b3bebf8"} 
[2026-08-19 23:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 23:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":157968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":157968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":157968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513729536001,"66":26039,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513729536001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:47:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:47:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513729536001,"power":26039,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":157968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:47:14] local.INFO: GPS data processed {"connection_id":157968,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:47:14] local.INFO: Acknowledgment sent {"connection_id":157968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:47:58] local.INFO: TCP Data received {"connection_id":158322,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:47:58] local.INFO: Processing buffer {"connection_id":158322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:47:58] local.INFO: IMEI packet received {"connection_id":158322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":158322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:48:03] local.INFO: TCP Data received {"connection_id":158322,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:48:03] local.INFO: Processing buffer {"connection_id":158322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:48:03] local.INFO: IMEI packet received {"connection_id":158322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":158322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:48:04] local.INFO: TCP Data received {"connection_id":158322,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:48:04] local.INFO: Processing buffer {"connection_id":158322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:48:04] local.INFO: Packet analysis {"connection_id":158322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:48:04] local.INFO: Extracted packet for processing {"connection_id":158322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513729536001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:48:04] 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-08-19 23:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787163307000,"timestamp_ms":1787163307000,"timestamp_seconds":1787163307,"priority":1,"record_length":96,"hex_timestamp":"000001a01b3bebf8"} 
[2026-08-19 23:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:48: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-08-19 23:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 23:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513729536001,"66":26039,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513729536001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:48:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:48:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513729536001,"power":26039,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":158322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:48:04] local.INFO: GPS data processed {"connection_id":158322,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:48:04] local.INFO: Acknowledgment sent {"connection_id":158322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:48:36] local.INFO: TCP Data received {"connection_id":158322,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:48:36] local.INFO: Processing buffer {"connection_id":158322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:48:36] local.INFO: Packet analysis {"connection_id":158322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:48:36] local.INFO: Extracted packet for processing {"connection_id":158322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:48:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513729536001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:48:36] 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-08-19 23:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787163307000,"timestamp_ms":1787163307000,"timestamp_seconds":1787163307,"priority":1,"record_length":96,"hex_timestamp":"000001a01b3bebf8"} 
[2026-08-19 23:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 23:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513729536001,"66":26039,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513729536001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:48:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:48:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513729536001,"power":26039,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":158322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:48:36] local.INFO: GPS data processed {"connection_id":158322,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:48:36] local.INFO: Acknowledgment sent {"connection_id":158322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:48:58] local.INFO: TCP Data received {"connection_id":160507,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:48:58] local.INFO: Processing buffer {"connection_id":160507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:48:58] local.INFO: IMEI packet received {"connection_id":160507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":160507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:49:03] local.INFO: TCP Data received {"connection_id":160507,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:49:03] local.INFO: Processing buffer {"connection_id":160507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:49:03] local.INFO: IMEI packet received {"connection_id":160507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":160507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:49:04] local.INFO: TCP Data received {"connection_id":160507,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:49:04] local.INFO: Processing buffer {"connection_id":160507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:49:04] local.INFO: Packet analysis {"connection_id":160507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:49:04] local.INFO: Extracted packet for processing {"connection_id":160507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513729536001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:49:04] 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-08-19 23:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787163307000,"timestamp_ms":1787163307000,"timestamp_seconds":1787163307,"priority":1,"record_length":96,"hex_timestamp":"000001a01b3bebf8"} 
[2026-08-19 23:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:49: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-08-19 23:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 23:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513729536001,"66":26039,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513729536001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:49:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:49:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513729536001,"power":26039,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":160507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:49:04] local.INFO: GPS data processed {"connection_id":160507,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:49:04] local.INFO: Acknowledgment sent {"connection_id":160507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:49:36] local.INFO: TCP Data received {"connection_id":160507,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:49:36] local.INFO: Processing buffer {"connection_id":160507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:49:36] local.INFO: Packet analysis {"connection_id":160507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:49:36] local.INFO: Extracted packet for processing {"connection_id":160507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513729536001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:49:36] 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-08-19 23:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787163307000,"timestamp_ms":1787163307000,"timestamp_seconds":1787163307,"priority":1,"record_length":96,"hex_timestamp":"000001a01b3bebf8"} 
[2026-08-19 23:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 23:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513729536001,"66":26039,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513729536001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:49:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:49:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513729536001,"power":26039,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":160507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:49:36] local.INFO: GPS data processed {"connection_id":160507,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:49:36] local.INFO: Acknowledgment sent {"connection_id":160507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:49:58] local.INFO: TCP Data received {"connection_id":157969,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:49:58] local.INFO: Processing buffer {"connection_id":157969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:49:58] local.INFO: IMEI packet received {"connection_id":157969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":157969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:50:03] local.INFO: TCP Data received {"connection_id":157969,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:50:03] local.INFO: Processing buffer {"connection_id":157969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:50:03] local.INFO: IMEI packet received {"connection_id":157969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":157969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:50:04] local.INFO: TCP Data received {"connection_id":157969,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:50:04] local.INFO: Processing buffer {"connection_id":157969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:50:04] local.INFO: Packet analysis {"connection_id":157969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:50:04] local.INFO: Extracted packet for processing {"connection_id":157969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:50:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513729536001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:50:04] 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-08-19 23:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787163307000,"timestamp_ms":1787163307000,"timestamp_seconds":1787163307,"priority":1,"record_length":96,"hex_timestamp":"000001a01b3bebf8"} 
[2026-08-19 23:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 23:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513729536001,"66":26039,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513729536001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:50:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:50:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513729536001,"power":26039,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":157969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:50:04] local.INFO: GPS data processed {"connection_id":157969,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:50:04] local.INFO: Acknowledgment sent {"connection_id":157969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:50:35] local.INFO: TCP Data received {"connection_id":157969,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:50:35] local.INFO: Processing buffer {"connection_id":157969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b3bebf8012d34c3c006aa42000014011524..."} 
[2026-08-19 23:50:35] local.INFO: Packet analysis {"connection_id":157969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:50:35] local.INFO: Extracted packet for processing {"connection_id":157969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b3b"} 
[2026-08-19 23:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":36,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513729536001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:50:35] 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-08-19 23:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787163307000,"timestamp_ms":1787163307000,"timestamp_seconds":1787163307,"priority":1,"record_length":96,"hex_timestamp":"000001a01b3bebf8"} 
[2026-08-19 23:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-19 23:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":157969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":157969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":157969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513729536001,"66":26039,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513729536001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:50:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:50:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513729536001,"power":26039,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":157969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:50:35] local.INFO: GPS data processed {"connection_id":157969,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:50:35] local.INFO: Acknowledgment sent {"connection_id":157969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:50:58] local.INFO: TCP Data received {"connection_id":158323,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:50:58] local.INFO: Processing buffer {"connection_id":158323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:50:58] local.INFO: IMEI packet received {"connection_id":158323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":158323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:51:03] local.INFO: TCP Data received {"connection_id":158323,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:51:03] local.INFO: Processing buffer {"connection_id":158323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:51:03] local.INFO: IMEI packet received {"connection_id":158323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":158323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:51:04] local.INFO: TCP Data received {"connection_id":158323,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:51:04] local.INFO: Processing buffer {"connection_id":158323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:51:04] local.INFO: Packet analysis {"connection_id":158323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:51:04] local.INFO: Extracted packet for processing {"connection_id":158323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:51:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513806592001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:51:04] 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-08-19 23:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787163608000,"timestamp_ms":1787163608000,"timestamp_seconds":1787163608,"priority":1,"record_length":96,"hex_timestamp":"000001a01b4083c0"} 
[2026-08-19 23:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:51: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-08-19 23: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 23:51:04] 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-08-19 23: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-08-19 23:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513806592001,"66":24745,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513806592001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:51:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:51:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513806592001,"power":24745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":158323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:51:04] local.INFO: GPS data processed {"connection_id":158323,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:51:04] local.INFO: Acknowledgment sent {"connection_id":158323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:51:35] local.INFO: TCP Data received {"connection_id":158323,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:51:35] local.INFO: Processing buffer {"connection_id":158323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:51:35] local.INFO: Packet analysis {"connection_id":158323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:51:35] local.INFO: Extracted packet for processing {"connection_id":158323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513806592001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:51:35] 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-08-19 23:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787163608000,"timestamp_ms":1787163608000,"timestamp_seconds":1787163608,"priority":1,"record_length":96,"hex_timestamp":"000001a01b4083c0"} 
[2026-08-19 23:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 23:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513806592001,"66":24745,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513806592001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:51:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:51:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513806592001,"power":24745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":158323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:51:35] local.INFO: GPS data processed {"connection_id":158323,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:51:35] local.INFO: Acknowledgment sent {"connection_id":158323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:51:58] local.INFO: TCP Data received {"connection_id":159188,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:51:58] local.INFO: Processing buffer {"connection_id":159188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:51:58] local.INFO: IMEI packet received {"connection_id":159188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":159188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:52:03] local.INFO: TCP Data received {"connection_id":159188,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:52:03] local.INFO: Processing buffer {"connection_id":159188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:52:03] local.INFO: IMEI packet received {"connection_id":159188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":159188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:52:04] local.INFO: TCP Data received {"connection_id":159188,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:52:04] local.INFO: Processing buffer {"connection_id":159188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:52:04] local.INFO: Packet analysis {"connection_id":159188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:52:04] local.INFO: Extracted packet for processing {"connection_id":159188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:52:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513806592001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:52:04] 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-08-19 23:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787163608000,"timestamp_ms":1787163608000,"timestamp_seconds":1787163608,"priority":1,"record_length":96,"hex_timestamp":"000001a01b4083c0"} 
[2026-08-19 23:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:52: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-08-19 23: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 23:52:04] 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-08-19 23: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-08-19 23:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513806592001,"66":24745,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513806592001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:52:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:52:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513806592001,"power":24745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":159188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:52:04] local.INFO: GPS data processed {"connection_id":159188,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:52:04] local.INFO: Acknowledgment sent {"connection_id":159188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:52:36] local.INFO: TCP Data received {"connection_id":159188,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:52:36] local.INFO: Processing buffer {"connection_id":159188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:52:36] local.INFO: Packet analysis {"connection_id":159188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:52:36] local.INFO: Extracted packet for processing {"connection_id":159188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513806592001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:52:36] 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-08-19 23:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787163608000,"timestamp_ms":1787163608000,"timestamp_seconds":1787163608,"priority":1,"record_length":96,"hex_timestamp":"000001a01b4083c0"} 
[2026-08-19 23:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 23:52:36] 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-08-19 23:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513806592001,"66":24745,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513806592001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:52:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:52:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513806592001,"power":24745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":159188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:52:36] local.INFO: GPS data processed {"connection_id":159188,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:52:36] local.INFO: Acknowledgment sent {"connection_id":159188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:52:58] local.INFO: TCP Data received {"connection_id":158324,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:52:58] local.INFO: Processing buffer {"connection_id":158324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:52:58] local.INFO: IMEI packet received {"connection_id":158324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":158324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:53:03] local.INFO: TCP Data received {"connection_id":158324,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:53:03] local.INFO: Processing buffer {"connection_id":158324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:53:03] local.INFO: IMEI packet received {"connection_id":158324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":158324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:53:04] local.INFO: TCP Data received {"connection_id":158324,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:53:04] local.INFO: Processing buffer {"connection_id":158324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:53:04] local.INFO: Packet analysis {"connection_id":158324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:53:04] local.INFO: Extracted packet for processing {"connection_id":158324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:53:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513806592001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:53:04] 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-08-19 23:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787163608000,"timestamp_ms":1787163608000,"timestamp_seconds":1787163608,"priority":1,"record_length":96,"hex_timestamp":"000001a01b4083c0"} 
[2026-08-19 23:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 23:53:04] 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-08-19 23:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513806592001,"66":24745,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513806592001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:53:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:53:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513806592001,"power":24745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":158324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:53:04] local.INFO: GPS data processed {"connection_id":158324,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:53:04] local.INFO: Acknowledgment sent {"connection_id":158324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:53:36] local.INFO: TCP Data received {"connection_id":158324,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:53:36] local.INFO: Processing buffer {"connection_id":158324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:53:36] local.INFO: Packet analysis {"connection_id":158324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:53:36] local.INFO: Extracted packet for processing {"connection_id":158324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 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-08-19 23:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513806592001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:53:36] 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-08-19 23:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787163608000,"timestamp_ms":1787163608000,"timestamp_seconds":1787163608,"priority":1,"record_length":96,"hex_timestamp":"000001a01b4083c0"} 
[2026-08-19 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-08-19 23:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 23:53:36] 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-08-19 23:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 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-08-19 23:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513806592001,"66":24745,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513806592001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:53:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:53:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513806592001,"power":24745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":158324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:53:36] local.INFO: GPS data processed {"connection_id":158324,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:53:36] local.INFO: Acknowledgment sent {"connection_id":158324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:53:58] local.INFO: TCP Data received {"connection_id":160508,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:53:58] local.INFO: Processing buffer {"connection_id":160508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:53:58] local.INFO: IMEI packet received {"connection_id":160508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":160508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:54:03] local.INFO: TCP Data received {"connection_id":160508,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:54:03] local.INFO: Processing buffer {"connection_id":160508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:54:03] local.INFO: IMEI packet received {"connection_id":160508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":160508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:54:05] local.INFO: TCP Data received {"connection_id":160508,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:54:05] local.INFO: Processing buffer {"connection_id":160508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:54:05] local.INFO: Packet analysis {"connection_id":160508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:54:05] local.INFO: Extracted packet for processing {"connection_id":160508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:54:05] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513806592001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:54:05] 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-08-19 23:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787163608000,"timestamp_ms":1787163608000,"timestamp_seconds":1787163608,"priority":1,"record_length":96,"hex_timestamp":"000001a01b4083c0"} 
[2026-08-19 23:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 23:54:05] 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-08-19 23:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513806592001,"66":24745,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513806592001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:54:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:54:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513806592001,"power":24745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":160508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:54:05] local.INFO: GPS data processed {"connection_id":160508,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:54:05] local.INFO: Acknowledgment sent {"connection_id":160508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:54:36] local.INFO: TCP Data received {"connection_id":160508,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:54:36] local.INFO: Processing buffer {"connection_id":160508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:54:36] local.INFO: Packet analysis {"connection_id":160508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:54:36] local.INFO: Extracted packet for processing {"connection_id":160508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513806592001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:54:36] 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-08-19 23:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787163608000,"timestamp_ms":1787163608000,"timestamp_seconds":1787163608,"priority":1,"record_length":96,"hex_timestamp":"000001a01b4083c0"} 
[2026-08-19 23:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 23:54:36] 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-08-19 23:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513806592001,"66":24745,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513806592001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:54:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513806592001,"power":24745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":160508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:54:36] local.INFO: GPS data processed {"connection_id":160508,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:54:36] local.INFO: Acknowledgment sent {"connection_id":160508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:54:58] local.INFO: TCP Data received {"connection_id":157970,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:54:58] local.INFO: Processing buffer {"connection_id":157970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:54:58] local.INFO: IMEI packet received {"connection_id":157970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":157970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:55:03] local.INFO: TCP Data received {"connection_id":157970,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:55:03] local.INFO: Processing buffer {"connection_id":157970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:55:03] local.INFO: IMEI packet received {"connection_id":157970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":157970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:55:04] local.INFO: TCP Data received {"connection_id":157970,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:55:04] local.INFO: Processing buffer {"connection_id":157970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:55:04] local.INFO: Packet analysis {"connection_id":157970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:55:04] local.INFO: Extracted packet for processing {"connection_id":157970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513806592001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:55:04] 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-08-19 23:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787163608000,"timestamp_ms":1787163608000,"timestamp_seconds":1787163608,"priority":1,"record_length":96,"hex_timestamp":"000001a01b4083c0"} 
[2026-08-19 23:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:55: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-08-19 23:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 23:55:04] 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-08-19 23:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513806592001,"66":24745,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513806592001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:55:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:55:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513806592001,"power":24745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":157970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:55:04] local.INFO: GPS data processed {"connection_id":157970,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:55:04] local.INFO: Acknowledgment sent {"connection_id":157970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:55:36] local.INFO: TCP Data received {"connection_id":157970,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:55:36] local.INFO: Processing buffer {"connection_id":157970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b4083c0012d34c3c006aa42000014011526..."} 
[2026-08-19 23:55:36] local.INFO: Packet analysis {"connection_id":157970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:55:36] local.INFO: Extracted packet for processing {"connection_id":157970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b40"} 
[2026-08-19 23:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":38,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513806592001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:55:36] 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-08-19 23:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787163608000,"timestamp_ms":1787163608000,"timestamp_seconds":1787163608,"priority":1,"record_length":96,"hex_timestamp":"000001a01b4083c0"} 
[2026-08-19 23:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-19 23:55:36] 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-08-19 23:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513806592001,"66":24745,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513806592001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:55:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:55:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513806592001,"power":24745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":157970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:55:36] local.INFO: GPS data processed {"connection_id":157970,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:55:36] local.INFO: Acknowledgment sent {"connection_id":157970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:55:58] local.INFO: TCP Data received {"connection_id":157971,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:55:58] local.INFO: Processing buffer {"connection_id":157971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:55:58] local.INFO: IMEI packet received {"connection_id":157971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":157971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:56:03] local.INFO: TCP Data received {"connection_id":157971,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:56:03] local.INFO: Processing buffer {"connection_id":157971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:56:03] local.INFO: IMEI packet received {"connection_id":157971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":157971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:56:04] local.INFO: TCP Data received {"connection_id":157971,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:56:04] local.INFO: Processing buffer {"connection_id":157971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:56:04] local.INFO: Packet analysis {"connection_id":157971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b45"} 
[2026-08-19 23:56:04] local.INFO: Extracted packet for processing {"connection_id":157971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b45"} 
[2026-08-19 23:56:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513883648001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:56:04] 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-08-19 23:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787163909000,"timestamp_ms":1787163909000,"timestamp_seconds":1787163909,"priority":1,"record_length":96,"hex_timestamp":"000001a01b451b88"} 
[2026-08-19 23:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:56: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-08-19 23:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 23:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513883648001,"66":25897,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513883648001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:56:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:56:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513883648001,"power":25897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":157971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:56:04] local.INFO: GPS data processed {"connection_id":157971,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:56:04] local.INFO: Acknowledgment sent {"connection_id":157971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:56:35] local.INFO: TCP Data received {"connection_id":157971,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:56:35] local.INFO: Processing buffer {"connection_id":157971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:56:35] local.INFO: Packet analysis {"connection_id":157971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b45"} 
[2026-08-19 23:56:35] local.INFO: Extracted packet for processing {"connection_id":157971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b45"} 
[2026-08-19 23:56:35] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513883648001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:56:35] 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-08-19 23:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787163909000,"timestamp_ms":1787163909000,"timestamp_seconds":1787163909,"priority":1,"record_length":96,"hex_timestamp":"000001a01b451b88"} 
[2026-08-19 23:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 23:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":157971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":157971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":157971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513883648001,"66":25897,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513883648001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:56:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:56:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513883648001,"power":25897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":157971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:56:35] local.INFO: GPS data processed {"connection_id":157971,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:56:35] local.INFO: Acknowledgment sent {"connection_id":157971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:56:58] local.INFO: TCP Data received {"connection_id":160509,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:56:58] local.INFO: Processing buffer {"connection_id":160509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:56:58] local.INFO: IMEI packet received {"connection_id":160509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":160509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:57:03] local.INFO: TCP Data received {"connection_id":160509,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:57:03] local.INFO: Processing buffer {"connection_id":160509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:57:03] local.INFO: IMEI packet received {"connection_id":160509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":160509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:57:04] local.INFO: TCP Data received {"connection_id":160509,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:57:04] local.INFO: Processing buffer {"connection_id":160509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:57:04] local.INFO: Packet analysis {"connection_id":160509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b45"} 
[2026-08-19 23:57:04] local.INFO: Extracted packet for processing {"connection_id":160509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b45"} 
[2026-08-19 23:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513883648001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:57:04] 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-08-19 23:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787163909000,"timestamp_ms":1787163909000,"timestamp_seconds":1787163909,"priority":1,"record_length":96,"hex_timestamp":"000001a01b451b88"} 
[2026-08-19 23:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:57: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-08-19 23: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 23:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513883648001,"66":25897,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513883648001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:57:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:57:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513883648001,"power":25897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":160509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:57:04] local.INFO: GPS data processed {"connection_id":160509,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:57:04] local.INFO: Acknowledgment sent {"connection_id":160509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:57:36] local.INFO: TCP Data received {"connection_id":160509,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:57:36] local.INFO: Processing buffer {"connection_id":160509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:57:36] local.INFO: Packet analysis {"connection_id":160509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b45"} 
[2026-08-19 23:57:36] local.INFO: Extracted packet for processing {"connection_id":160509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b45"} 
[2026-08-19 23:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-19 23:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513883648001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:57:36] 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-08-19 23:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787163909000,"timestamp_ms":1787163909000,"timestamp_seconds":1787163909,"priority":1,"record_length":96,"hex_timestamp":"000001a01b451b88"} 
[2026-08-19 23:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 23:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-19 23:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513883648001,"66":25897,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513883648001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:57:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513883648001,"power":25897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":160509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:57:36] local.INFO: GPS data processed {"connection_id":160509,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:57:36] local.INFO: Acknowledgment sent {"connection_id":160509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:57:58] local.INFO: TCP Data received {"connection_id":158325,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:57:58] local.INFO: Processing buffer {"connection_id":158325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:57:58] local.INFO: IMEI packet received {"connection_id":158325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":158325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:58:03] local.INFO: TCP Data received {"connection_id":158325,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:58:03] local.INFO: Processing buffer {"connection_id":158325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:58:03] local.INFO: IMEI packet received {"connection_id":158325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":158325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:58:04] local.INFO: TCP Data received {"connection_id":158325,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:58:04] local.INFO: Processing buffer {"connection_id":158325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:58:04] local.INFO: Packet analysis {"connection_id":158325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b45"} 
[2026-08-19 23:58:04] local.INFO: Extracted packet for processing {"connection_id":158325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b45"} 
[2026-08-19 23:58:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513883648001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:58:04] 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-08-19 23:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787163909000,"timestamp_ms":1787163909000,"timestamp_seconds":1787163909,"priority":1,"record_length":96,"hex_timestamp":"000001a01b451b88"} 
[2026-08-19 23:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:58: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-08-19 23: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 23:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513883648001,"66":25897,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513883648001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:58:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:58:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513883648001,"power":25897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":158325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:58:04] local.INFO: GPS data processed {"connection_id":158325,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:58:04] local.INFO: Acknowledgment sent {"connection_id":158325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:58:36] local.INFO: TCP Data received {"connection_id":158325,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:58:36] local.INFO: Processing buffer {"connection_id":158325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:58:36] local.INFO: Packet analysis {"connection_id":158325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b45"} 
[2026-08-19 23:58:36] local.INFO: Extracted packet for processing {"connection_id":158325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b45"} 
[2026-08-19 23:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513883648001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:58:36] 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-08-19 23:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787163909000,"timestamp_ms":1787163909000,"timestamp_seconds":1787163909,"priority":1,"record_length":96,"hex_timestamp":"000001a01b451b88"} 
[2026-08-19 23:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 23: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 23:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513883648001,"66":25897,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513883648001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:58:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:58:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513883648001,"power":25897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":158325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:58:36] local.INFO: GPS data processed {"connection_id":158325,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:58:36] local.INFO: Acknowledgment sent {"connection_id":158325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:58:58] local.INFO: TCP Data received {"connection_id":157972,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:58:58] local.INFO: Processing buffer {"connection_id":157972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:58:58] local.INFO: IMEI packet received {"connection_id":157972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":157972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-19 23:59:03] local.INFO: TCP Data received {"connection_id":157972,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:59:03] local.INFO: Processing buffer {"connection_id":157972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:59:03] local.INFO: IMEI packet received {"connection_id":157972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-19 23:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":157972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-19 23:59:04] local.INFO: TCP Data received {"connection_id":157972,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:59:04] local.INFO: Processing buffer {"connection_id":157972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:59:04] local.INFO: Packet analysis {"connection_id":157972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b45"} 
[2026-08-19 23:59:04] local.INFO: Extracted packet for processing {"connection_id":157972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b45"} 
[2026-08-19 23:59:04] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 23: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-08-19 23:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513883648001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:59:04] 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-08-19 23:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787163909000,"timestamp_ms":1787163909000,"timestamp_seconds":1787163909,"priority":1,"record_length":96,"hex_timestamp":"000001a01b451b88"} 
[2026-08-19 23:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-19 23:59: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-08-19 23: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 23:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 23: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-08-19 23:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-19 23:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":157972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":157972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":157972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513883648001,"66":25897,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513883648001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:59:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:59:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513883648001,"power":25897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":157972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:59:04] local.INFO: GPS data processed {"connection_id":157972,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:59:04] local.INFO: Acknowledgment sent {"connection_id":157972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:59:36] local.INFO: TCP Data received {"connection_id":157972,"ip":"117.224.24.81","data_length":795,"data_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":157972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:59:36] local.INFO: Processing buffer {"connection_id":157972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a01b451b88012d34c3c006aa4200001401152a..."} 
[2026-08-19 23:59:36] local.INFO: Packet analysis {"connection_id":157972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a01b45"} 
[2026-08-19 23:59:36] local.INFO: Extracted packet for processing {"connection_id":157972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a01b45"} 
[2026-08-19 23:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111821312,"longitude_deg":75.8432704,"latitude_deg":11.1821312,"altitude":20,"angle":277,"satellites":42,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-19 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-08-19 23:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457513883648001,"note":"Value kept but may cause issues"} 
[2026-08-19 23:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":386536993531625472,"note":"Value kept but may cause issues"} 
[2026-08-19 23:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289619456,"note":"Value kept but may cause issues"} 
[2026-08-19 23:59:36] 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-08-19 23:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787163909000,"timestamp_ms":1787163909000,"timestamp_seconds":1787163909,"priority":1,"record_length":96,"hex_timestamp":"000001a01b451b88"} 
[2026-08-19 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-08-19 23:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-19 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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-19 23:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-19 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-08-19 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-08-19 23:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-19 23:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":157972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-19 23:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":157972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":157972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-19 23:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.24.81","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-19 23:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-19 23:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-19 23:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457513883648001,"66":25897,"106":206,"28":21760,"24":0,"16":386536993531625472,"45":3802093645289619456},"client_ip":"117.224.24.81","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-19 23:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-19 23:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-19 23:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457513883648001,"description":"Unknown IO ID 0"} 
[2026-08-19 23:59:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-19 23:59:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-19 23:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":386536993531625472,"km_value":386536993531625.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-19 23:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289619456,"description":"Unknown IO ID 45"} 
[2026-08-19 23:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457513883648001,"power":25897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645289619456}} 
[2026-08-19 23:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":157972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":667674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-19 23:59:36] local.INFO: GPS data processed {"connection_id":157972,"processed":1,"errors":0,"total":1} 
[2026-08-19 23:59:36] local.INFO: Acknowledgment sent {"connection_id":157972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-19 23:59:58] local.INFO: TCP Data received {"connection_id":160510,"ip":"117.224.24.81","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:59:58] local.INFO: Processing buffer {"connection_id":160510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-19 23:59:58] local.INFO: IMEI packet received {"connection_id":160510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-19 23:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":160510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
